@univerjs-pro/docs-table 1.3.0 → 1.4.0

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/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2b19(_0x168b58,_0x23a0a1){_0x168b58=_0x168b58-0x15d;const _0x402a70=_0x402a();let _0x2b19e6=_0x402a70[_0x168b58];return _0x2b19e6;}(function(_0x22a5ca,_0x248689){const _0x4ed25b=_0x2b19,_0x384bd7=_0x22a5ca();while(!![]){try{const _0x3f6fc4=parseInt(_0x4ed25b(0x322))/0x1+parseInt(_0x4ed25b(0x1a7))/0x2*(parseInt(_0x4ed25b(0x2d1))/0x3)+parseInt(_0x4ed25b(0x312))/0x4*(parseInt(_0x4ed25b(0x258))/0x5)+-parseInt(_0x4ed25b(0x307))/0x6*(parseInt(_0x4ed25b(0x160))/0x7)+-parseInt(_0x4ed25b(0x37c))/0x8+parseInt(_0x4ed25b(0x30d))/0x9+-parseInt(_0x4ed25b(0x1b5))/0xa*(parseInt(_0x4ed25b(0x23a))/0xb);if(_0x3f6fc4===_0x248689)break;else _0x384bd7['push'](_0x384bd7['shift']());}catch(_0x544101){_0x384bd7['push'](_0x384bd7['shift']());}}}(_0x402a,0x66d78),function(_0x4385ad,_0x4f29b5){const _0x2b7475=_0x2b19;typeof exports==_0x2b7475(0x185)&&typeof module<'u'?_0x4f29b5(exports,require('@univerjs/core'),require('@univerjs/docs'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x2b7475(0x206)]?define(['exports',_0x2b7475(0x1c4),'@univerjs/docs',_0x2b7475(0x1b8),_0x2b7475(0x2cd)],_0x4f29b5):(_0x4385ad=typeof globalThis<'u'?globalThis:_0x4385ad||self,_0x4f29b5(_0x4385ad[_0x2b7475(0x199)]={},_0x4385ad['UniverCore'],_0x4385ad[_0x2b7475(0x2e8)],_0x4385ad['rxjs'],_0x4385ad[_0x2b7475(0x308)]));}(this,function(_0x36edba,_0x2e794e,_0x3df5e7,_0x48509a,_0x4f3fd2){const _0x2122c9=_0x2b19;Object[_0x2122c9(0x335)](_0x36edba,Symbol[_0x2122c9(0x2a8)],{'value':_0x2122c9(0x16a)});function _0x16cada(_0x4b850b,_0x516b07){const _0x479331=_0x2122c9;var _0x3f6ec2,_0x5927e1,_0x3abfc0;let _0x2b9cdb=(_0x3f6ec2=_0x4b850b[_0x479331(0x181)])==null||(_0x3f6ec2=_0x3f6ec2[_0x479331(0x1a3)])==null?void 0x0:_0x3f6ec2[_0x479331(0x2d7)](_0x92c8f7=>_0x92c8f7[_0x479331(0x350)]===_0x516b07),_0x1c9092=(_0x5927e1=_0x4b850b[_0x479331(0x1f4)])==null?void 0x0:_0x5927e1[_0x516b07],_0x48ca4a=(_0x3abfc0=_0x4b850b[_0x479331(0x181)])==null?void 0x0:_0x3abfc0[_0x479331(0x245)];if(!_0x2b9cdb||!_0x1c9092||!_0x48ca4a)return null;let _0x581b26=(0x0,_0x2e794e[_0x479331(0x32d)])(_0x2b9cdb);return _0x48ca4a[_0x581b26[_0x479331(0x1d4)]]!==_0x2e794e['DataStreamTreeTokenType'][_0x479331(0x2eb)]||_0x48ca4a[_0x581b26['endOffset']-0x1]!==_0x2e794e[_0x479331(0x273)][_0x479331(0x2c8)]?null:_0x157eae(_0x48ca4a,_0x581b26[_0x479331(0x1d4)],_0x581b26[_0x479331(0x29b)],_0x516b07,_0x1c9092);}function _0x4d0cfe(_0x3c2308,_0x403e9b){const _0x2e7dcb=_0x2122c9;let _0xc106af=_0x3c2308[_0x2e7dcb(0x21b)][_0x403e9b];if(!_0xc106af)throw Error(_0x2e7dcb(0x1c2)+_0x403e9b+_0x2e7dcb(0x1c6));return _0xc106af;}function _0x56abf4(_0x498232,_0x22e631){const _0x127d66=_0x2122c9;let _0x3d8aa1=_0x498232[_0x127d66(0x21b)][_0x127d66(0x37a)](_0x4413a3=>_0x4413a3[_0x127d66(0x2bc)][_0x22e631])[_0x127d66(0x24e)](Boolean);if(_0x3d8aa1['length']===0x0)throw Error(_0x127d66(0x1f8)+_0x22e631+'\x20is\x20out\x20of\x20range.');return{'column':_0x22e631,'startOffset':_0x3d8aa1[0x0]['startOffset'],'endOffset':_0x3d8aa1[_0x3d8aa1['length']-0x1][_0x127d66(0x29b)],'cells':_0x3d8aa1};}function _0x157eae(_0x2ed988,_0xa35b5a,_0x597f3e,_0xd578ca,_0x3b209f){const _0x271b10=_0x2122c9;var _0x4737e9;let _0x536a3a=[];for(let _0x4461ff=_0xa35b5a+0x1;_0x4461ff<_0x597f3e-0x1;){let _0x756a51=(0x0,_0x2e794e[_0x271b10(0x1f1)])(_0x2ed988,_0x4461ff);if(!_0x756a51||_0x756a51['endOffset']>_0x597f3e)return null;let _0x52c3db={'row':_0x536a3a[_0x271b10(0x1d0)],'startOffset':_0x756a51[_0x271b10(0x1d4)],'endOffset':_0x756a51[_0x271b10(0x29b)]-0x1,'cells':[]};for(let _0x2d0194=_0x756a51['startOffset']+0x1;_0x2d0194<_0x756a51[_0x271b10(0x29b)]-0x1;){let _0x2e421b=(0x0,_0x2e794e['getTableCellTokenInterval'])(_0x2ed988,_0x2d0194);if(!_0x2e421b||_0x2e421b['endOffset']>_0x756a51[_0x271b10(0x29b)])return null;_0x52c3db[_0x271b10(0x2bc)]['push']({'row':_0x52c3db[_0x271b10(0x341)],'column':_0x52c3db[_0x271b10(0x2bc)][_0x271b10(0x1d0)],'startOffset':_0x2e421b[_0x271b10(0x1d4)],'endOffset':_0x2e421b[_0x271b10(0x29b)]-0x1}),_0x2d0194=_0x2e421b[_0x271b10(0x29b)];}_0x536a3a[_0x271b10(0x2f9)](_0x52c3db),_0x4461ff=_0x756a51['endOffset'];}return _0x536a3a[_0x271b10(0x1d0)]!==_0x3b209f[_0x271b10(0x184)][_0x271b10(0x1d0)]||_0x536a3a['some']((_0x45d0ba,_0x1ca439)=>{const _0x496546=_0x271b10;var _0x2f5247;return _0x45d0ba['cells']['length']!==((_0x2f5247=_0x3b209f[_0x496546(0x184)][_0x1ca439])==null?void 0x0:_0x2f5247[_0x496546(0x217)][_0x496546(0x1d0)]);})?null:{'tableId':_0xd578ca,'startOffset':_0xa35b5a,'endOffset':_0x597f3e,'rowCount':_0x536a3a[_0x271b10(0x1d0)],'columnCount':((_0x4737e9=_0x536a3a[0x0])==null?void 0x0:_0x4737e9[_0x271b10(0x2bc)][_0x271b10(0x1d0)])??0x0,'tableSource':_0x3b209f,'rows':_0x536a3a};}function _0x46a76c(_0x4fcd37,_0xa1a599,_0x526a3b){const _0x5c1ba0=_0x2122c9;if(!_0x4fcd37||_0x4fcd37['tableId']!==_0x526a3b[_0x5c1ba0(0x350)])return _0x4fcd37;if(_0x526a3b[_0x5c1ba0(0x2ab)]===_0x5c1ba0(0x19b))return null;let _0x339a70=_0x16cada(_0xa1a599,_0x4fcd37[_0x5c1ba0(0x350)]);if(!_0x339a70)return null;let _0x48e4be={..._0x4fcd37};if(_0x526a3b[_0x5c1ba0(0x2ab)]==='insert-rows')_0x48e4be[_0x5c1ba0(0x18a)]=_0x216084(_0x48e4be[_0x5c1ba0(0x18a)],_0x526a3b[_0x5c1ba0(0x2a1)],_0x526a3b[_0x5c1ba0(0x2b1)]),_0x48e4be['endRow']=_0x216084(_0x48e4be[_0x5c1ba0(0x25a)],_0x526a3b[_0x5c1ba0(0x2a1)],_0x526a3b[_0x5c1ba0(0x2b1)]);else{if(_0x526a3b[_0x5c1ba0(0x2ab)]==='insert-columns')_0x48e4be['startColumn']=_0x216084(_0x48e4be[_0x5c1ba0(0x320)],_0x526a3b[_0x5c1ba0(0x2a1)],_0x526a3b[_0x5c1ba0(0x2b1)]),_0x48e4be[_0x5c1ba0(0x30e)]=_0x216084(_0x48e4be[_0x5c1ba0(0x30e)],_0x526a3b[_0x5c1ba0(0x2a1)],_0x526a3b[_0x5c1ba0(0x2b1)]);else{if(_0x526a3b['kind']===_0x5c1ba0(0x204)){let [_0x5a2741,_0x9adf9c]=_0x381bde(_0x48e4be[_0x5c1ba0(0x18a)],_0x48e4be[_0x5c1ba0(0x25a)],_0x526a3b[_0x5c1ba0(0x2a1)],_0x526a3b[_0x5c1ba0(0x2b1)]);_0x48e4be['startRow']=_0x5a2741,_0x48e4be[_0x5c1ba0(0x25a)]=_0x9adf9c;}else{if(_0x526a3b['kind']===_0x5c1ba0(0x379)){let [_0x3c3b7f,_0x3858cf]=_0x381bde(_0x48e4be['startColumn'],_0x48e4be['endColumn'],_0x526a3b[_0x5c1ba0(0x2a1)],_0x526a3b[_0x5c1ba0(0x2b1)]);_0x48e4be[_0x5c1ba0(0x320)]=_0x3c3b7f,_0x48e4be['endColumn']=_0x3858cf;}}}}let _0x45b2c1=_0x526a3b[_0x5c1ba0(0x2ab)]===_0x5c1ba0(0x218)?_0x339a70[_0x5c1ba0(0x2f0)]+_0x526a3b[_0x5c1ba0(0x2b1)]:Math[_0x5c1ba0(0x186)](0x1,_0x339a70[_0x5c1ba0(0x2f0)]-(_0x526a3b[_0x5c1ba0(0x2ab)]===_0x5c1ba0(0x204)?_0x526a3b[_0x5c1ba0(0x2b1)]:0x0)),_0x4903e9=_0x526a3b[_0x5c1ba0(0x2ab)]==='insert-columns'?_0x339a70[_0x5c1ba0(0x233)]+_0x526a3b[_0x5c1ba0(0x2b1)]:Math[_0x5c1ba0(0x186)](0x1,_0x339a70[_0x5c1ba0(0x233)]-(_0x526a3b[_0x5c1ba0(0x2ab)]===_0x5c1ba0(0x379)?_0x526a3b['count']:0x0));return _0x48e4be[_0x5c1ba0(0x18a)]=_0x246125(_0x48e4be[_0x5c1ba0(0x18a)],0x0,_0x45b2c1-0x1),_0x48e4be['endRow']=_0x246125(_0x48e4be[_0x5c1ba0(0x25a)],0x0,_0x45b2c1-0x1),_0x48e4be[_0x5c1ba0(0x320)]=_0x246125(_0x48e4be[_0x5c1ba0(0x320)],0x0,_0x4903e9-0x1),_0x48e4be[_0x5c1ba0(0x30e)]=_0x246125(_0x48e4be['endColumn'],0x0,_0x4903e9-0x1),_0x48e4be[_0x5c1ba0(0x18a)]>_0x48e4be['endRow']&&(_0x48e4be['endRow']=_0x48e4be[_0x5c1ba0(0x18a)]),_0x48e4be[_0x5c1ba0(0x320)]>_0x48e4be[_0x5c1ba0(0x30e)]&&(_0x48e4be[_0x5c1ba0(0x30e)]=_0x48e4be[_0x5c1ba0(0x320)]),_0x48e4be;}function _0x216084(_0x1e84da,_0xcca633,_0x49fd9e){return _0x1e84da>=_0xcca633?_0x1e84da+_0x49fd9e:_0x1e84da;}function _0x381bde(_0x1d2116,_0x3f9dcc,_0x3746b0,_0x4a9284){const _0x361905=_0x2122c9;let _0x270858=_0x3746b0+_0x4a9284-0x1;if(_0x3f9dcc<_0x3746b0)return[_0x1d2116,_0x3f9dcc];if(_0x1d2116>_0x270858)return[_0x1d2116-_0x4a9284,_0x3f9dcc-_0x4a9284];let _0x96172a=_0x1d2116<_0x3746b0?_0x1d2116:_0x3746b0,_0x4399ec=Math['min'](_0x3f9dcc,_0x270858)-_0x3746b0+0x1;return[_0x96172a,Math[_0x361905(0x186)](_0x96172a,_0x3f9dcc-_0x4399ec)];}function _0x246125(_0x2b3422,_0x266f16,_0x20e9ab){const _0x7a4e50=_0x2122c9;return Math[_0x7a4e50(0x183)](Math[_0x7a4e50(0x186)](_0x2b3422,_0x266f16),_0x20e9ab);}function _0x4c3c57(_0x59cd4c){return _0x59cd4c;}function _0x27cc88(_0x328ed5,_0x2d72de={}){const _0x2a07f3=_0x2122c9;var _0x3777f5;let _0x1fac33={..._0x328ed5,'body':_0x2d72de[_0x2a07f3(0x22b)]===!0x1?_0x328ed5[_0x2a07f3(0x181)]:_0x328ed5[_0x2a07f3(0x181)]?_0x4d3de3(_0x328ed5['body']):_0x328ed5[_0x2a07f3(0x181)]};return(_0x3777f5=_0x2d72de[_0x2a07f3(0x28b)])!=null&&_0x3777f5[_0x2a07f3(0x1d0)]&&_0x328ed5[_0x2a07f3(0x1f4)]&&(_0x1fac33[_0x2a07f3(0x1f4)]={..._0x328ed5[_0x2a07f3(0x1f4)]},_0x2d72de[_0x2a07f3(0x28b)][_0x2a07f3(0x20d)](_0xeb89c9=>{const _0x1bc1d8=_0x2a07f3;var _0x43ad06;let _0x356259=(_0x43ad06=_0x328ed5[_0x1bc1d8(0x1f4)])==null?void 0x0:_0x43ad06[_0xeb89c9];_0x356259&&(_0x1fac33[_0x1bc1d8(0x1f4)][_0xeb89c9]=_0x41a346(_0x356259));})),_0x1fac33;}function _0x4d3de3(_0x44b595){const _0x2e5ff9=_0x2122c9;var _0x25eca4,_0x3b3585,_0x3d4991,_0x29a7f7,_0x9d8248,_0x2d4ed2,_0x42f3cb,_0x4af1ad,_0x505299;return{..._0x44b595,'paragraphs':(_0x25eca4=_0x44b595['paragraphs'])==null?void 0x0:_0x25eca4[_0x2e5ff9(0x37a)](_0x587419=>({..._0x587419,'bullet':_0x4d00c3(_0x587419[_0x2e5ff9(0x19c)]),'paragraphStyle':_0x4d00c3(_0x587419[_0x2e5ff9(0x1ad)])})),'sectionBreaks':(_0x3b3585=_0x44b595[_0x2e5ff9(0x196)])==null?void 0x0:_0x3b3585[_0x2e5ff9(0x37a)](_0x575f35=>({..._0x575f35})),'textRuns':(_0x3d4991=_0x44b595[_0x2e5ff9(0x2a3)])==null?void 0x0:_0x3d4991[_0x2e5ff9(0x37a)](_0xf1c8a8=>({..._0xf1c8a8})),'tables':(_0x29a7f7=_0x44b595['tables'])==null?void 0x0:_0x29a7f7[_0x2e5ff9(0x37a)](_0x3bd593=>({..._0x3bd593})),'columnGroups':(_0x9d8248=_0x44b595[_0x2e5ff9(0x240)])==null?void 0x0:_0x9d8248['map'](_0xcf205c=>{const _0x28ece6=_0x2e5ff9;var _0x3085b8;return{..._0xcf205c,'columns':(_0x3085b8=_0xcf205c[_0x28ece6(0x35a)])==null?void 0x0:_0x3085b8[_0x28ece6(0x37a)](_0x4b5563=>_0x4d00c3(_0x4b5563))};}),'blockRanges':(_0x2d4ed2=_0x44b595[_0x2e5ff9(0x1b9)])==null?void 0x0:_0x2d4ed2['map'](_0x274b9c=>({..._0x274b9c})),'customRanges':(_0x42f3cb=_0x44b595[_0x2e5ff9(0x18c)])==null?void 0x0:_0x42f3cb[_0x2e5ff9(0x37a)](_0x121da0=>({..._0x121da0})),'customDecorations':(_0x4af1ad=_0x44b595[_0x2e5ff9(0x19e)])==null?void 0x0:_0x4af1ad[_0x2e5ff9(0x37a)](_0x3fe8c4=>({..._0x3fe8c4})),'customBlocks':(_0x505299=_0x44b595[_0x2e5ff9(0x1c9)])==null?void 0x0:_0x505299[_0x2e5ff9(0x37a)](_0x9f8c20=>({..._0x9f8c20}))};}function _0x41a346(_0x213ad5){const _0x8f39d2=_0x2122c9;return{..._0x213ad5,'dist':_0x4d00c3(_0x213ad5[_0x8f39d2(0x173)]),'position':_0x4d00c3(_0x213ad5[_0x8f39d2(0x21f)]),'size':_0x4d00c3(_0x213ad5[_0x8f39d2(0x364)]),'tableColumns':_0x213ad5[_0x8f39d2(0x355)]['map'](_0x948335),'tableRows':_0x213ad5[_0x8f39d2(0x184)][_0x8f39d2(0x37a)](_0x15a17f)};}function _0x948335(_0x48b1da){const _0x21835f=_0x2122c9;return{..._0x48b1da,'size':_0x4d00c3(_0x48b1da[_0x21835f(0x364)])};}function _0x15a17f(_0x499b13){const _0xb169a9=_0x2122c9;return{..._0x499b13,'trHeight':_0x4d00c3(_0x499b13[_0xb169a9(0x210)]),'tableCells':_0x499b13[_0xb169a9(0x217)][_0xb169a9(0x37a)](_0x4640fd=>({..._0x4640fd,'backgroundColor':_0x4d00c3(_0x4640fd[_0xb169a9(0x36f)]),'borderBottom':_0x4d00c3(_0x4640fd[_0xb169a9(0x2f7)]),'borderLeft':_0x4d00c3(_0x4640fd['borderLeft']),'borderRight':_0x4d00c3(_0x4640fd[_0xb169a9(0x255)]),'borderTop':_0x4d00c3(_0x4640fd[_0xb169a9(0x265)]),'margin':_0x4d00c3(_0x4640fd['margin'])}))};}function _0x4d00c3(_0x596190){const _0x3ad2db=_0x2122c9;return Array['isArray'](_0x596190)?_0x596190[_0x3ad2db(0x37a)](_0x29118f=>_0x4d00c3(_0x29118f)):!_0x596190||typeof _0x596190!='object'?_0x596190:Object[_0x3ad2db(0x2bb)](Object['entries'](_0x596190)['map'](([_0x1885a3,_0x384830])=>[_0x1885a3,_0x4d00c3(_0x384830)]));}function _0x29eaa9(_0x5f5030,_0xae6242,_0x583454){const _0x4b4595=_0x2122c9;var _0x4e7bd1;let _0x16bd44=(_0x4e7bd1=_0x5f5030[_0x4b4595(0x1f4)])==null?void 0x0:_0x4e7bd1[_0xae6242];if(!_0x16bd44||!_0x4421ba(_0x583454))return!0x1;try{return _0x5de28d(_0x16bd44,_0x583454)[_0x4b4595(0x2bd)](_0x38d355=>_0x196fc1(_0x38d355)===0x1&&_0x18685c(_0x38d355)===0x1);}catch{return!0x1;}}function _0x29dba7(_0x57e144,_0x5ee18c,_0x1eaa0e){const _0x46f41b=_0x2122c9;var _0x1d8737;let _0x50dc50=(_0x1d8737=_0x57e144[_0x46f41b(0x1f4)])==null?void 0x0:_0x1d8737[_0x5ee18c];if(!_0x50dc50)return!0x1;let _0xc64c18=null;try{let _0xe6c16f=_0x171b12(_0x1eaa0e);_0xc64c18=_0x2f56dd(_0x50dc50,_0xe6c16f[_0x46f41b(0x18a)],_0xe6c16f[_0x46f41b(0x320)]);}catch{return!0x1;}return!!_0xc64c18&&_0x4421ba(_0xc64c18);}function _0xce3102(_0x2dddb4){const _0xa8e1e4=_0x2122c9;let _0x43a5a5=_0x171b12(_0x2dddb4);if(!_0x29eaa9(_0x2dddb4['documentData'],_0x2dddb4[_0xa8e1e4(0x350)],_0x43a5a5))throw Error(_0xa8e1e4(0x274));let _0x735539=_0x27cc88(_0x2dddb4[_0xa8e1e4(0x207)],{'cloneBody':!0x1,'tableIds':[_0x2dddb4[_0xa8e1e4(0x350)]]}),_0x3fe61f=_0x5295f3(_0x735539,_0x2dddb4['tableId']),_0x434a78=_0x3fe61f[_0xa8e1e4(0x184)][_0x43a5a5['startRow']][_0xa8e1e4(0x217)][_0x43a5a5['startColumn']];return _0x434a78[_0xa8e1e4(0x288)]=_0x43a5a5[_0xa8e1e4(0x25a)]-_0x43a5a5[_0xa8e1e4(0x18a)]+0x1,_0x434a78[_0xa8e1e4(0x20a)]=_0x43a5a5['endColumn']-_0x43a5a5[_0xa8e1e4(0x320)]+0x1,_0x4b171b(_0x3fe61f,_0x43a5a5,(_0x2c2f90,_0x567e3e,_0x3cb2c0)=>{const _0x5a56c8=_0xa8e1e4;(_0x567e3e!==_0x43a5a5[_0x5a56c8(0x18a)]||_0x3cb2c0!==_0x43a5a5[_0x5a56c8(0x320)])&&(_0x2c2f90[_0x5a56c8(0x288)]=0x0,_0x2c2f90['columnSpan']=0x0);}),{'nextDocumentData':_0x735539,'range':_0x43a5a5};}function _0x508bf7(_0x578a67){const _0x5c5fbe=_0x2122c9;var _0x2f8f58;let _0x3f641c=_0x171b12(_0x578a67),_0x33095c=(_0x2f8f58=_0x578a67[_0x5c5fbe(0x207)][_0x5c5fbe(0x1f4)])==null?void 0x0:_0x2f8f58[_0x578a67['tableId']];if(!_0x33095c||!_0x29eaa9(_0x578a67[_0x5c5fbe(0x207)],_0x578a67[_0x5c5fbe(0x350)],_0x3f641c))return null;let _0x48d8cd=[];return _0x4b171b(_0x33095c,_0x3f641c,(_0x39ec00,_0x28e0e6,_0x1bfdd6)=>{const _0x38f4e4=_0x5c5fbe;let _0x3c2be6=_0x28e0e6===_0x3f641c[_0x38f4e4(0x18a)]&&_0x1bfdd6===_0x3f641c['startColumn'];_0x281406(_0x48d8cd,_0x578a67[_0x38f4e4(0x350)],_0x28e0e6,_0x1bfdd6,_0x38f4e4(0x288),_0x39ec00['rowSpan'],_0x3c2be6?_0x3f641c[_0x38f4e4(0x25a)]-_0x3f641c[_0x38f4e4(0x18a)]+0x1:0x0),_0x281406(_0x48d8cd,_0x578a67[_0x38f4e4(0x350)],_0x28e0e6,_0x1bfdd6,_0x38f4e4(0x20a),_0x39ec00[_0x38f4e4(0x20a)],_0x3c2be6?_0x3f641c[_0x38f4e4(0x30e)]-_0x3f641c[_0x38f4e4(0x320)]+0x1:0x0);}),{'actions':_0x33bcb5(_0x48d8cd),'range':_0x3f641c};}function _0x30e69e(_0x40a0e2){const _0x397caf=_0x2122c9;let _0x400af7=_0x27cc88(_0x40a0e2[_0x397caf(0x207)],{'cloneBody':!0x1,'tableIds':[_0x40a0e2['tableId']]}),_0x4d61e2=_0x5295f3(_0x400af7,_0x40a0e2[_0x397caf(0x350)]),_0x3b1a5c=_0x171b12(_0x40a0e2),_0x31864c=_0x2f56dd(_0x4d61e2,_0x3b1a5c[_0x397caf(0x18a)],_0x3b1a5c[_0x397caf(0x320)]);if(!_0x29dba7(_0x40a0e2[_0x397caf(0x207)],_0x40a0e2[_0x397caf(0x350)],_0x3b1a5c)||!_0x31864c)throw Error('[DocsTable]:\x20Cannot\x20unmerge\x20an\x20unmerged\x20cell.');return _0x4b171b(_0x4d61e2,_0x31864c,_0x4014db=>{const _0x25e533=_0x397caf;delete _0x4014db[_0x25e533(0x288)],delete _0x4014db[_0x25e533(0x20a)];}),{'nextDocumentData':_0x400af7,'range':_0x31864c};}function _0x555504(_0x3ea5a7){const _0x15cdbc=_0x2122c9;var _0x5e7fe9;let _0x20ed6b=(_0x5e7fe9=_0x3ea5a7[_0x15cdbc(0x207)]['tableSource'])==null?void 0x0:_0x5e7fe9[_0x3ea5a7[_0x15cdbc(0x350)]],_0x2ec3ec=_0x171b12(_0x3ea5a7),_0x5521a7=_0x20ed6b?_0x2f56dd(_0x20ed6b,_0x2ec3ec[_0x15cdbc(0x18a)],_0x2ec3ec['startColumn']):null;if(!_0x20ed6b||!_0x5521a7||!_0x29dba7(_0x3ea5a7[_0x15cdbc(0x207)],_0x3ea5a7[_0x15cdbc(0x350)],_0x2ec3ec))return null;let _0x4df896=[];return _0x4b171b(_0x20ed6b,_0x5521a7,(_0x31559f,_0x48afbd,_0x386241)=>{const _0x546762=_0x15cdbc;_0x281406(_0x4df896,_0x3ea5a7[_0x546762(0x350)],_0x48afbd,_0x386241,_0x546762(0x288),_0x31559f[_0x546762(0x288)],void 0x0),_0x281406(_0x4df896,_0x3ea5a7[_0x546762(0x350)],_0x48afbd,_0x386241,_0x546762(0x20a),_0x31559f[_0x546762(0x20a)],void 0x0);}),{'actions':_0x33bcb5(_0x4df896),'range':_0x5521a7};}function _0x281406(_0x3a4af5,_0x5cc8d2,_0x168ba5,_0x444d44,_0x428fb8,_0x5932ad,_0x1fbce0){const _0x14dbdd=_0x2122c9;if(_0x5932ad===_0x1fbce0)return;let _0x4df4d5=_0x2e794e['JSONX'][_0x14dbdd(0x170)](),_0x4c5b6b=[_0x14dbdd(0x1f4),_0x5cc8d2,_0x14dbdd(0x184),_0x168ba5,_0x14dbdd(0x217),_0x444d44,_0x428fb8];_0x3a4af5[_0x14dbdd(0x2f9)](_0x5932ad===void 0x0?_0x4df4d5[_0x14dbdd(0x30c)](_0x4c5b6b,_0x1fbce0):_0x1fbce0===void 0x0?_0x4df4d5[_0x14dbdd(0x371)](_0x4c5b6b,_0x5932ad):_0x4df4d5[_0x14dbdd(0x1d5)](_0x4c5b6b,_0x5932ad,_0x1fbce0));}function _0x33bcb5(_0x5af430){const _0x1859fb=_0x2122c9;return _0x5af430[_0x1859fb(0x2fc)]((_0x51ef4f,_0x18d691)=>_0x2e794e[_0x1859fb(0x2fe)][_0x1859fb(0x319)](_0x51ef4f,_0x18d691),null);}function _0x2f56dd(_0x1fdeae,_0x2d3ee8,_0x1980bc){const _0x10e130=_0x2122c9;var _0x26df01;let _0x4bf87e=(_0x26df01=_0x1fdeae[_0x10e130(0x184)][_0x2d3ee8])==null?void 0x0:_0x26df01[_0x10e130(0x217)][_0x1980bc];if(!_0x4bf87e)return null;if(_0x196fc1(_0x4bf87e)>0x1||_0x18685c(_0x4bf87e)>0x1)return{'startRow':_0x2d3ee8,'endRow':_0x2d3ee8+_0x196fc1(_0x4bf87e)-0x1,'startColumn':_0x1980bc,'endColumn':_0x1980bc+_0x18685c(_0x4bf87e)-0x1};if(_0x4bf87e[_0x10e130(0x288)]!==0x0&&_0x4bf87e[_0x10e130(0x20a)]!==0x0)return{'startRow':_0x2d3ee8,'endRow':_0x2d3ee8,'startColumn':_0x1980bc,'endColumn':_0x1980bc};for(let _0x8041be=0x0;_0x8041be<_0x1fdeae[_0x10e130(0x184)][_0x10e130(0x1d0)];_0x8041be++){let _0x2ac0bb=_0x1fdeae[_0x10e130(0x184)][_0x8041be];for(let _0x403b76=0x0;_0x403b76<_0x2ac0bb[_0x10e130(0x217)]['length'];_0x403b76++){let _0x4b91fb=_0x2ac0bb['tableCells'][_0x403b76],_0x3d7507=_0x196fc1(_0x4b91fb),_0x174219=_0x18685c(_0x4b91fb);if(_0x3d7507<=0x1&&_0x174219<=0x1)continue;let _0x13db20={'startRow':_0x8041be,'endRow':_0x8041be+_0x3d7507-0x1,'startColumn':_0x403b76,'endColumn':_0x403b76+_0x174219-0x1};if(_0x2d3ee8>=_0x13db20[_0x10e130(0x18a)]&&_0x2d3ee8<=_0x13db20[_0x10e130(0x25a)]&&_0x1980bc>=_0x13db20['startColumn']&&_0x1980bc<=_0x13db20[_0x10e130(0x30e)])return _0x13db20;}}return null;}function _0x2e6794(_0x2d96fb,_0x42e91c){const _0x4b015a=_0x2122c9;let _0x436cb1=_0x171b12(_0x42e91c),_0xc672b8=!0x0;for(;_0xc672b8;){_0xc672b8=!0x1;for(let _0x52e6d3=0x0;_0x52e6d3<_0x2d96fb[_0x4b015a(0x184)][_0x4b015a(0x1d0)];_0x52e6d3++){let _0x4a8654=_0x2d96fb[_0x4b015a(0x184)][_0x52e6d3];for(let _0x40b09d=0x0;_0x40b09d<_0x4a8654['tableCells']['length'];_0x40b09d++){let _0x1e7d23=_0x4a8654['tableCells'][_0x40b09d],_0x217c57=_0x196fc1(_0x1e7d23),_0x41684c=_0x18685c(_0x1e7d23);if(_0x217c57<=0x1&&_0x41684c<=0x1)continue;let _0x400e88={'startRow':_0x52e6d3,'endRow':_0x52e6d3+_0x217c57-0x1,'startColumn':_0x40b09d,'endColumn':_0x40b09d+_0x41684c-0x1};if(!_0x411be6(_0x436cb1,_0x400e88))continue;let _0xdebfd0={'startRow':Math[_0x4b015a(0x183)](_0x436cb1[_0x4b015a(0x18a)],_0x400e88['startRow']),'endRow':Math[_0x4b015a(0x186)](_0x436cb1[_0x4b015a(0x25a)],_0x400e88[_0x4b015a(0x25a)]),'startColumn':Math[_0x4b015a(0x183)](_0x436cb1[_0x4b015a(0x320)],_0x400e88[_0x4b015a(0x320)]),'endColumn':Math[_0x4b015a(0x186)](_0x436cb1[_0x4b015a(0x30e)],_0x400e88[_0x4b015a(0x30e)])};_0x22da0d(_0xdebfd0,_0x436cb1)||(_0x436cb1=_0xdebfd0,_0xc672b8=!0x0);}}}return _0x436cb1;}function _0x2766a3(_0x458aa7,_0x1b068e,_0x55581e,_0x21227d=_0x8b8406(_0x458aa7)){const _0x4653fa=_0x2122c9;_0x1de090(_0x458aa7,_0x21227d,_0x3ffc9e=>_0x1b068e<=_0x3ffc9e['startRow']?{..._0x3ffc9e,'startRow':_0x3ffc9e[_0x4653fa(0x18a)]+_0x55581e,'endRow':_0x3ffc9e[_0x4653fa(0x25a)]+_0x55581e}:_0x1b068e<=_0x3ffc9e['endRow']?{..._0x3ffc9e,'endRow':_0x3ffc9e[_0x4653fa(0x25a)]+_0x55581e}:_0x3ffc9e);}function _0x493883(_0x12e72b,_0x56b8fb,_0x21ad75,_0x23fa69=_0x8b8406(_0x12e72b)){const _0x462d3b=_0x2122c9;_0x1de090(_0x12e72b,_0x23fa69,_0x121c04=>_0x56b8fb<=_0x121c04[_0x462d3b(0x320)]?{..._0x121c04,'startColumn':_0x121c04[_0x462d3b(0x320)]+_0x21ad75,'endColumn':_0x121c04[_0x462d3b(0x30e)]+_0x21ad75}:_0x56b8fb<=_0x121c04[_0x462d3b(0x30e)]?{..._0x121c04,'endColumn':_0x121c04['endColumn']+_0x21ad75}:_0x121c04);}function _0x2c4306(_0x5ed576,_0x1895bf,_0x2fce3b,_0x16c123=_0x8b8406(_0x5ed576)){_0x1de090(_0x5ed576,_0x16c123,_0x546640=>{const _0x287210=_0x2b19;let _0x2f18e4=[];for(let _0x46eb33=_0x546640['startRow'];_0x46eb33<=_0x546640['endRow'];_0x46eb33++){let _0x2dab62=_0x23bac4(_0x46eb33,_0x1895bf,_0x2fce3b);_0x2dab62!=null&&_0x2f18e4[_0x287210(0x2f9)](_0x2dab62);}return _0x2f18e4['length']?{..._0x546640,'startRow':Math[_0x287210(0x183)](..._0x2f18e4),'endRow':Math[_0x287210(0x186)](..._0x2f18e4)}:null;});}function _0x151ebb(_0x4d1aaf,_0x3c281c,_0x3b0d1b,_0x488ade=_0x8b8406(_0x4d1aaf)){_0x1de090(_0x4d1aaf,_0x488ade,_0x3ff8f7=>{const _0x582311=_0x2b19;let _0x3bf56a=[];for(let _0x13859f=_0x3ff8f7['startColumn'];_0x13859f<=_0x3ff8f7['endColumn'];_0x13859f++){let _0x415928=_0x23bac4(_0x13859f,_0x3c281c,_0x3b0d1b);_0x415928!=null&&_0x3bf56a[_0x582311(0x2f9)](_0x415928);}return _0x3bf56a[_0x582311(0x1d0)]?{..._0x3ff8f7,'startColumn':Math[_0x582311(0x183)](..._0x3bf56a),'endColumn':Math[_0x582311(0x186)](..._0x3bf56a)}:null;});}function _0x171b12(_0x3cf946){const _0x3f98c0=_0x2122c9;return{'startRow':Math['min'](_0x3cf946[_0x3f98c0(0x18a)],_0x3cf946['endRow']),'endRow':Math[_0x3f98c0(0x186)](_0x3cf946[_0x3f98c0(0x18a)],_0x3cf946[_0x3f98c0(0x25a)]),'startColumn':Math[_0x3f98c0(0x183)](_0x3cf946[_0x3f98c0(0x320)],_0x3cf946['endColumn']),'endColumn':Math[_0x3f98c0(0x186)](_0x3cf946[_0x3f98c0(0x320)],_0x3cf946[_0x3f98c0(0x30e)])};}function _0x1de090(_0x19e2af,_0x4f1d4a,_0x1995a2){const _0x1882c3=_0x2122c9;_0x4fb095(_0x19e2af),_0x4f1d4a[_0x1882c3(0x20d)](_0x1dd739=>{let _0x4a8799=_0x1995a2(_0x1dd739);_0x4a8799&&_0x1ed3f0(_0x19e2af,_0x4a8799);});}function _0x8b8406(_0x239409){const _0x4b1dbb=_0x2122c9;let _0x396d6a=[];return _0x239409[_0x4b1dbb(0x184)][_0x4b1dbb(0x20d)]((_0x5043fb,_0x5c4856)=>{const _0x5dd182=_0x4b1dbb;_0x5043fb[_0x5dd182(0x217)]['forEach']((_0x80dc8d,_0x41446e)=>{const _0x2b949c=_0x5dd182;let _0x2c2884=_0x196fc1(_0x80dc8d),_0x3c1015=_0x18685c(_0x80dc8d);_0x2c2884<=0x1&&_0x3c1015<=0x1||_0x396d6a[_0x2b949c(0x2f9)]({'startRow':_0x5c4856,'endRow':_0x5c4856+_0x2c2884-0x1,'startColumn':_0x41446e,'endColumn':_0x41446e+_0x3c1015-0x1});});}),_0x396d6a;}function _0x4fb095(_0x38df46){const _0xfedb38=_0x2122c9;_0x38df46[_0xfedb38(0x184)][_0xfedb38(0x20d)](_0x1ae264=>{const _0x43e050=_0xfedb38;_0x1ae264[_0x43e050(0x217)][_0x43e050(0x20d)](_0x2d19de=>{const _0x326670=_0x43e050;delete _0x2d19de[_0x326670(0x288)],delete _0x2d19de[_0x326670(0x20a)];});});}function _0x1ed3f0(_0x1636e7,_0x2c163a){const _0x19d9c1=_0x2122c9;var _0x232714;let _0x3189d7=_0x171b12(_0x2c163a),_0x1678ad=_0x3189d7[_0x19d9c1(0x25a)]-_0x3189d7['startRow']+0x1,_0x589515=_0x3189d7[_0x19d9c1(0x30e)]-_0x3189d7[_0x19d9c1(0x320)]+0x1;if(_0x1678ad<=0x0||_0x589515<=0x0||_0x1678ad===0x1&&_0x589515===0x1)return;let _0x532bfb=(_0x232714=_0x1636e7[_0x19d9c1(0x184)][_0x3189d7[_0x19d9c1(0x18a)]])==null?void 0x0:_0x232714[_0x19d9c1(0x217)][_0x3189d7[_0x19d9c1(0x320)]];_0x532bfb&&(_0x532bfb['rowSpan']=_0x1678ad,_0x532bfb[_0x19d9c1(0x20a)]=_0x589515,_0x4b171b(_0x1636e7,_0x3189d7,(_0x1db0ac,_0x2cc330,_0x3f63a5)=>{const _0x27d587=_0x19d9c1;(_0x2cc330!==_0x3189d7[_0x27d587(0x18a)]||_0x3f63a5!==_0x3189d7[_0x27d587(0x320)])&&(_0x1db0ac['rowSpan']=0x0,_0x1db0ac['columnSpan']=0x0);}));}function _0x23bac4(_0x141bb4,_0x133a72,_0x50f1e0){return _0x141bb4<_0x133a72?_0x141bb4:_0x141bb4>_0x50f1e0?_0x141bb4-(_0x50f1e0-_0x133a72+0x1):null;}function _0x4421ba(_0x257133){const _0x51bef2=_0x2122c9;return _0x257133[_0x51bef2(0x18a)]!==_0x257133[_0x51bef2(0x25a)]||_0x257133[_0x51bef2(0x320)]!==_0x257133[_0x51bef2(0x30e)];}function _0x5295f3(_0x456bf4,_0x2c9e51){const _0x2749da=_0x2122c9;var _0x14d254;let _0x1ee45b=(_0x14d254=_0x456bf4[_0x2749da(0x1f4)])==null?void 0x0:_0x14d254[_0x2c9e51];if(!_0x1ee45b)throw Error(_0x2749da(0x36e)+_0x2c9e51+_0x2749da(0x376));return _0x1ee45b;}function _0x5de28d(_0x2da75d,_0x580b2a){let _0x1b8c72=[];return _0x4b171b(_0x2da75d,_0x580b2a,_0x90be89=>_0x1b8c72['push'](_0x90be89)),_0x1b8c72;}function _0x4b171b(_0x108f15,_0x9d800f,_0xcae64b){const _0x3679ac=_0x2122c9;for(let _0x71351c=_0x9d800f[_0x3679ac(0x18a)];_0x71351c<=_0x9d800f[_0x3679ac(0x25a)];_0x71351c++)for(let _0x495980=_0x9d800f[_0x3679ac(0x320)];_0x495980<=_0x9d800f[_0x3679ac(0x30e)];_0x495980++){var _0x3205ed;let _0x983b21=(_0x3205ed=_0x108f15['tableRows'][_0x71351c])==null?void 0x0:_0x3205ed[_0x3679ac(0x217)][_0x495980];if(!_0x983b21)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0xcae64b(_0x983b21,_0x71351c,_0x495980);}}function _0x196fc1(_0x4d4e54){const _0x18cb80=_0x2122c9;return _0x4d4e54[_0x18cb80(0x288)]==null?0x1:_0x4d4e54['rowSpan'];}function _0x18685c(_0x232a2c){const _0x2a1397=_0x2122c9;return _0x232a2c[_0x2a1397(0x20a)]==null?0x1:_0x232a2c[_0x2a1397(0x20a)];}function _0x411be6(_0x28f70a,_0x4d3b19){const _0x357e11=_0x2122c9;return _0x28f70a['startRow']<=_0x4d3b19[_0x357e11(0x25a)]&&_0x28f70a[_0x357e11(0x25a)]>=_0x4d3b19[_0x357e11(0x18a)]&&_0x28f70a['startColumn']<=_0x4d3b19[_0x357e11(0x30e)]&&_0x28f70a['endColumn']>=_0x4d3b19[_0x357e11(0x320)];}function _0x22da0d(_0x15ddf5,_0x3d7976){const _0x22063c=_0x2122c9;return _0x15ddf5['startRow']===_0x3d7976[_0x22063c(0x18a)]&&_0x15ddf5[_0x22063c(0x25a)]===_0x3d7976[_0x22063c(0x25a)]&&_0x15ddf5[_0x22063c(0x320)]===_0x3d7976[_0x22063c(0x320)]&&_0x15ddf5[_0x22063c(0x30e)]===_0x3d7976[_0x22063c(0x30e)];}function _0x3c2021(_0x30ab23){const _0x13d632=_0x2122c9;return{..._0x30ab23,'columnTypes':_0x30ab23[_0x13d632(0x1de)]?{..._0x30ab23[_0x13d632(0x1de)]}:void 0x0};}function _0x42a72e(_0xf1f71b){const _0x488f52=_0x2122c9;let _0x4939d3={};return Object['entries']((_0xf1f71b==null?void 0x0:_0xf1f71b['tables'])??{})[_0x488f52(0x20d)](([_0x5420bd,_0x47aa42])=>{_0x4939d3[_0x5420bd]=_0x3c2021(_0x47aa42);}),{'tables':_0x4939d3};}function _0x55d79a(_0x42dd51,_0x542dce,_0x46e572){let _0xaf7cc1=_0x42a72e(_0x42dd51);return{'tables':{..._0xaf7cc1['tables'],[_0x542dce]:{..._0xaf7cc1['tables'][_0x542dce]??{},'headerRowCount':Math['max'](0x0,_0x46e572)}}};}function _0x178920(_0x5815b2,_0x5f3bd6,_0x1d27e2){let _0x3a457c=_0x42a72e(_0x5815b2);return{'tables':{..._0x3a457c['tables'],[_0x5f3bd6]:{..._0x3a457c['tables'][_0x5f3bd6]??{},'titleRow':_0x1d27e2}}};}function _0x10215e(_0x14e317,_0x147e55,_0x4004ea,_0x109bef){const _0x38802b=_0x2122c9;let _0x2b57db=_0x42a72e(_0x14e317),_0x5b2858=_0x2b57db['tables'][_0x147e55]??{};return{'tables':{..._0x2b57db['tables'],[_0x147e55]:{..._0x5b2858,'columnTypes':{..._0x5b2858[_0x38802b(0x1de)]??{},[_0x4004ea]:_0x109bef}}}};}function _0x87e863(_0x1c7a4b,_0x3fcb2f){const _0x102935=_0x2122c9;var _0xf26123,_0x104b44,_0x52f2c6;let _0x112911=_0x1c7a4b['tableColumns'],_0x1442f7=_0x1c7a4b[_0x102935(0x1ed)]===0x1||_0x112911[_0x102935(0x17b)](_0x2b1de9=>_0x2b1de9['docsTableType']!==void 0x0),_0x1926de={};_0x112911[_0x102935(0x20d)]((_0x3f68c1,_0x5c329d)=>{const _0xd77d72=_0x102935;var _0x44b2d3;let _0x40b56d=_0x1442f7?_0x3f68c1[_0xd77d72(0x285)]??_0x3f68c1[_0xd77d72(0x1ca)]:_0x3fcb2f==null||(_0x44b2d3=_0x3fcb2f[_0xd77d72(0x1de)])==null?void 0x0:_0x44b2d3[_0x5c329d];_0x40b56d&&(_0x1926de[_0x5c329d]=_0x2e794e['Tools']['deepClone'](_0x40b56d));});let _0x32eccc=_0x1c7a4b[_0x102935(0x184)],_0x234a2c=0x0;for(let _0x19445c of _0x32eccc){if((_0x19445c[_0x102935(0x23e)]??_0x19445c[_0x102935(0x27b)])!==_0x2e794e['BooleanNumber'][_0x102935(0x2e1)])break;_0x234a2c++;}let _0x4966f3=_0x1c7a4b[_0x102935(0x1ed)]===0x1,_0x43f339=((_0xf26123=_0x32eccc[0x0])==null?void 0x0:_0xf26123[_0x102935(0x24c)])??((_0x104b44=_0x32eccc[0x0])==null?void 0x0:_0x104b44['docsTableLegacyTitleRow'])??(!_0x4966f3&&(_0x3fcb2f==null?void 0x0:_0x3fcb2f[_0x102935(0x35e)]))??!0x1;return{'headerRowCount':_0x4966f3||_0x32eccc[_0x102935(0x17b)](_0x556dec=>_0x556dec[_0x102935(0x23e)]!==void 0x0)?_0x234a2c:(_0x3fcb2f==null?void 0x0:_0x3fcb2f[_0x102935(0x310)])??0x0,'titleRow':_0x43f339&&((_0x52f2c6=_0x1c7a4b['tableRows'][0x0])==null||(_0x52f2c6=_0x52f2c6[_0x102935(0x217)][0x0])==null?void 0x0:_0x52f2c6[_0x102935(0x20a)])===_0x112911[_0x102935(0x1d0)],...Object[_0x102935(0x27d)](_0x1926de)[_0x102935(0x1d0)]?{'columnTypes':_0x1926de}:{}};}function _0x2001a8(_0x3e575b,_0x209f22){const _0x3e321e=_0x2122c9;let _0x569404={};for(let [_0x1662a8,_0x3c3002]of Object['entries'](_0x3e575b[_0x3e321e(0x1f4)]??{}))_0x569404[_0x1662a8]=_0x87e863(_0x3c3002,_0x209f22['tables'][_0x1662a8]);return{'tables':_0x569404};}function _0x30ab40(_0xd50275,_0x5b816f){const _0x9bd0a2=_0x2122c9;if(_0xd50275[_0x9bd0a2(0x1ed)]===0x1)return null;let _0x185bf4=_0x2e794e[_0x9bd0a2(0x2fe)]['getInstance'](),_0x2e928d=_0xd50275['tableColumns'][_0x9bd0a2(0x2fc)]((_0x1cc989,_0x252330,_0x4d30a6)=>{const _0x383351=_0x9bd0a2;var _0xee3b9f;return _0x2e794e[_0x383351(0x2fe)][_0x383351(0x319)](_0x1cc989,_0x185bf4[_0x383351(0x30c)]([_0x383351(0x1f4),_0xd50275[_0x383351(0x350)],_0x383351(0x355),_0x4d30a6,_0x383351(0x1ca)],_0x2e794e['Tools']['deepClone']((_0x5b816f==null||(_0xee3b9f=_0x5b816f[_0x383351(0x1de)])==null?void 0x0:_0xee3b9f[_0x4d30a6])??null)));},null);return _0xd50275[_0x9bd0a2(0x184)]['forEach']((_0x53f70d,_0x4a0fb)=>{const _0x3766dd=_0x9bd0a2;_0x53f70d['tableCells'][_0x3766dd(0x20d)]((_0x3381ab,_0x35bc19)=>{const _0x39a09d=_0x3766dd;_0x3381ab[_0x39a09d(0x197)]||(_0x2e928d=_0x2e794e[_0x39a09d(0x2fe)][_0x39a09d(0x319)](_0x2e928d,_0x185bf4[_0x39a09d(0x30c)](['tableSource',_0xd50275[_0x39a09d(0x350)],_0x39a09d(0x184),_0x4a0fb,_0x39a09d(0x217),_0x35bc19,_0x39a09d(0x197)],_0x39a09d(0x15d)+_0x4a0fb+':'+_0x35bc19)));}),_0x2e928d=_0x2e794e[_0x3766dd(0x2fe)][_0x3766dd(0x319)](_0x2e928d,_0x185bf4[_0x3766dd(0x30c)](['tableSource',_0xd50275[_0x3766dd(0x350)],'tableRows',_0x4a0fb,'docsTableLegacyHeaderRow'],_0x4a0fb<((_0x5b816f==null?void 0x0:_0x5b816f[_0x3766dd(0x310)])??0x0)?_0x2e794e[_0x3766dd(0x297)][_0x3766dd(0x2e1)]:_0x2e794e['BooleanNumber']['FALSE']));}),_0xd50275[_0x9bd0a2(0x184)]['length']&&(_0x2e928d=_0x2e794e[_0x9bd0a2(0x2fe)][_0x9bd0a2(0x319)](_0x2e928d,_0x185bf4[_0x9bd0a2(0x30c)]([_0x9bd0a2(0x1f4),_0xd50275[_0x9bd0a2(0x350)],'tableRows',0x0,_0x9bd0a2(0x29c)],(_0x5b816f==null?void 0x0:_0x5b816f[_0x9bd0a2(0x35e)])??!0x1))),_0x2e794e[_0x9bd0a2(0x2fe)]['compose'](_0x2e928d,_0x185bf4[_0x9bd0a2(0x30c)](['tableSource',_0xd50275[_0x9bd0a2(0x350)],_0x9bd0a2(0x1ed)],0x1));}function _0x111567(_0x3ef6db,_0x57286d,_0x5d0511,_0x25720f){const _0x13aa7f=_0x2122c9;var _0x163a0f;let _0xedb58b=_0x3ef6db[_0x13aa7f(0x355)][_0x57286d][_0x13aa7f(0x285)],_0x344ad6=(_0x163a0f=_0x87e863(_0x3ef6db,_0x25720f)[_0x13aa7f(0x1de)])==null?void 0x0:_0x163a0f[_0x57286d];if(JSON[_0x13aa7f(0x19d)](_0x344ad6)===JSON['stringify'](_0x5d0511))return null;let _0x5129df=[_0x13aa7f(0x1f4),_0x3ef6db[_0x13aa7f(0x350)],_0x13aa7f(0x355),_0x57286d,_0x13aa7f(0x285)],_0x47e995=_0x2e794e[_0x13aa7f(0x249)]['deepClone'](_0x5d0511);return _0xedb58b===void 0x0?_0x2e794e[_0x13aa7f(0x2fe)]['getInstance']()[_0x13aa7f(0x30c)](_0x5129df,_0x47e995):_0x2e794e['JSONX'][_0x13aa7f(0x170)]()[_0x13aa7f(0x1d5)](_0x5129df,_0xedb58b,_0x47e995);}let _0x245c93=function(_0x1e819c){const _0x138703=_0x2122c9;return _0x1e819c['Above']='above',_0x1e819c[_0x138703(0x328)]=_0x138703(0x242),_0x1e819c[_0x138703(0x354)]='left',_0x1e819c[_0x138703(0x2b5)]=_0x138703(0x378),_0x1e819c;}({}),_0x1e5065={'Above':_0x2122c9(0x2da),'Below':_0x2122c9(0x242)},_0x422d2e={'Left':'left','Right':_0x2122c9(0x378)};function _0xf56230(_0x4ecb50){const _0xf82269=_0x2122c9;let {documentData:_0x2b0f5c,tableId:_0x523535,row:_0x58bc6b,count:_0x45220f,position:_0xc4e624}=_0x4ecb50,_0x58c235=_0x27cc88(_0x2b0f5c,{'tableIds':[_0x523535]}),_0x41f266=_0x413597(_0x58c235,_0x523535),_0x3c0346=_0x1beec8(_0x58c235,_0x523535),_0x14df83=_0xc4e624===_0xf82269(0x2da)?_0x58bc6b:_0x58bc6b+0x1,_0x3c5828=_0x41f266[_0xf82269(0x184)][Math['min'](_0x58bc6b,_0x41f266[_0xf82269(0x184)][_0xf82269(0x1d0)]-0x1)],_0x36314f=Array['from']({'length':_0x45220f},()=>_0x1109a8(_0x3c5828)),_0x59949b=_0x8b8406(_0x41f266),_0x2b6170=_0xc4e624==='above'?_0x4d0cfe(_0x3c0346,_0x58bc6b)[_0xf82269(0x1d4)]:_0x4d0cfe(_0x3c0346,_0x58bc6b)[_0xf82269(0x29b)]+0x1,_0xb9ce3c=_0x571b0b(_0xb839b(_0x41f266['tableColumns'][_0xf82269(0x1d0)]),_0x45220f);return _0x41f266[_0xf82269(0x184)]['splice'](_0x14df83,0x0,..._0x36314f),_0x2766a3(_0x41f266,_0x14df83,_0x45220f,_0x59949b),_0x3dd443(_0x58c235,_0x523535,_0x2b6170,_0xb9ce3c),{'nextDocumentData':_0x58c235,'nextMetadata':_0x4ecb50[_0xf82269(0x1b2)]?_0x42a72e(_0x4ecb50['metadata']):void 0x0,'cursor':{'row':_0x14df83,'column':0x0}};}function _0x2132ae(_0x27b41b){const _0x360d8e=_0x2122c9;var _0x272bab;let {documentData:_0x59de95,tableId:_0x2e4a4b,column:_0x34b376,count:_0xf91caa,position:_0x2e6e0b}=_0x27b41b,_0x4eaa6c=_0x27cc88(_0x59de95,{'tableIds':[_0x2e4a4b]}),_0x5131eb=_0x413597(_0x4eaa6c,_0x2e4a4b),_0x414890=_0x1beec8(_0x4eaa6c,_0x2e4a4b),_0x3b8e7e=_0x2e6e0b===_0x360d8e(0x334)?_0x34b376:_0x34b376+0x1,_0x23edc8=_0x5131eb[_0x360d8e(0x355)][Math[_0x360d8e(0x183)](_0x34b376,_0x5131eb[_0x360d8e(0x355)][_0x360d8e(0x1d0)]-0x1)],_0x1d1339=_0x27b41b[_0x360d8e(0x2e9)]??_0x23edc8[_0x360d8e(0x364)][_0x360d8e(0x192)]['v'],_0x5233a0=Array[_0x360d8e(0x20c)]({'length':_0xf91caa},()=>{const _0x4a6886=_0x360d8e;let _0x33aca5=_0x2e794e[_0x4a6886(0x249)][_0x4a6886(0x2c1)](_0x23edc8);return _0x33aca5[_0x4a6886(0x364)]['width']['v']=_0x1d1339,_0x33aca5;}),_0x32f1b1=_0x8b8406(_0x5131eb);return _0x5131eb[_0x360d8e(0x355)][_0x360d8e(0x2c9)](_0x3b8e7e,0x0,..._0x5233a0),_0x5131eb['tableRows'][_0x360d8e(0x20d)](_0x2af967=>{const _0x4aaffc=_0x360d8e;let _0x510b4f=_0x2af967[_0x4aaffc(0x217)][Math[_0x4aaffc(0x183)](_0x34b376,_0x2af967[_0x4aaffc(0x217)][_0x4aaffc(0x1d0)]-0x1)],_0x349282=Array['from']({'length':_0xf91caa},()=>_0x108d9d(_0x510b4f));_0x2af967[_0x4aaffc(0x217)][_0x4aaffc(0x2c9)](_0x3b8e7e,0x0,..._0x349282);}),_0x493883(_0x5131eb,_0x3b8e7e,_0xf91caa,_0x32f1b1),_0x556d9b(_0x4eaa6c,_0x2e4a4b,_0x414890,_0x34b376,_0xf91caa,_0x2e6e0b),_0x27b41b[_0x360d8e(0x1fe)]??!0x0?_0x1d9c20(_0x5131eb,_0x1d1339*_0xf91caa):(_0x272bab=_0x5131eb[_0x360d8e(0x364)])!=null&&_0x272bab[_0x360d8e(0x192)]&&(_0x5131eb[_0x360d8e(0x364)][_0x360d8e(0x192)]['v']=_0x5131eb[_0x360d8e(0x355)]['reduce']((_0x2cba8c,_0x562ea8)=>_0x2cba8c+_0x562ea8[_0x360d8e(0x364)][_0x360d8e(0x192)]['v'],0x0)),{'nextDocumentData':_0x4eaa6c,'nextMetadata':_0x27b41b['metadata']?_0x42a72e(_0x27b41b[_0x360d8e(0x1b2)]):void 0x0,'cursor':{'row':0x0,'column':_0x3b8e7e}};}function _0x408c63(_0x54e2d4){const _0x214ae9=_0x2122c9;let {documentData:_0x36fbf0,metadata:_0x2df0a4,tableId:_0x251056}=_0x54e2d4,_0x52dbc7=_0x27cc88(_0x36fbf0,{'tableIds':[_0x251056]}),_0x50a1db=_0x413597(_0x52dbc7,_0x251056),_0x3e31d3=Math[_0x214ae9(0x183)](_0x54e2d4[_0x214ae9(0x18a)],_0x54e2d4[_0x214ae9(0x25a)]),_0x2ddff6=Math[_0x214ae9(0x186)](_0x54e2d4['startRow'],_0x54e2d4[_0x214ae9(0x25a)]),_0x2ecff7=_0x2ddff6-_0x3e31d3+0x1,_0xb35f6=_0x8b8406(_0x50a1db);return _0x2ecff7>=_0x50a1db[_0x214ae9(0x184)][_0x214ae9(0x1d0)]?{..._0x562a35({'documentData':_0x36fbf0,'metadata':_0x2df0a4,'tableId':_0x251056}),'deleteTable':!0x0}:(_0x4ceb2f(_0x52dbc7,_0x251056,_0x3e31d3,_0x2ddff6),_0x50a1db[_0x214ae9(0x184)][_0x214ae9(0x2c9)](_0x3e31d3,_0x2ecff7),_0x2c4306(_0x50a1db,_0x3e31d3,_0x2ddff6,_0xb35f6),{'nextDocumentData':_0x52dbc7,'nextMetadata':_0x418c47(_0x2df0a4,_0x251056,_0x3e31d3,_0x2ddff6),'cursor':{'row':Math['min'](_0x3e31d3,_0x50a1db[_0x214ae9(0x184)]['length']-0x1),'column':0x0}});}function _0x7f4873(_0xc57140){const _0x3f688a=_0x2122c9;let {documentData:_0x2e54d5,metadata:_0x4071a5,tableId:_0x2589dc}=_0xc57140,_0xaf78a0=_0x27cc88(_0x2e54d5,{'tableIds':[_0x2589dc]}),_0x667b5d=_0x413597(_0xaf78a0,_0x2589dc),_0x23b068=Math[_0x3f688a(0x183)](_0xc57140['startColumn'],_0xc57140[_0x3f688a(0x30e)]),_0x2637b8=Math['max'](_0xc57140[_0x3f688a(0x320)],_0xc57140[_0x3f688a(0x30e)]),_0x5894ef=_0x2637b8-_0x23b068+0x1,_0x1fd7dc=_0x8b8406(_0x667b5d);return _0x5894ef>=_0x667b5d[_0x3f688a(0x355)]['length']?{..._0x562a35({'documentData':_0x2e54d5,'metadata':_0x4071a5,'tableId':_0x2589dc}),'deleteTable':!0x0}:(_0x235e07(_0xaf78a0,_0x2589dc,_0x23b068,_0x2637b8),_0x667b5d[_0x3f688a(0x355)][_0x3f688a(0x2c9)](_0x23b068,_0x5894ef),_0x667b5d['tableRows']['forEach'](_0x5eed1a=>_0x5eed1a['tableCells']['splice'](_0x23b068,_0x5894ef)),_0x151ebb(_0x667b5d,_0x23b068,_0x2637b8,_0x1fd7dc),{'nextDocumentData':_0xaf78a0,'nextMetadata':_0x4071a5?_0x42a72e(_0x4071a5):void 0x0,'cursor':{'row':0x0,'column':Math[_0x3f688a(0x183)](_0x23b068,_0x667b5d['tableColumns'][_0x3f688a(0x1d0)]-0x1)}});}function _0x562a35(_0x4f54b8){const _0x4e64bc=_0x2122c9;let {documentData:_0x59f91e,tableId:_0x2b7f84}=_0x4f54b8,_0x53ef6a=_0x27cc88(_0x59f91e),_0x59f371={..._0x53ef6a[_0x4e64bc(0x1f4)]??{}},_0x52c77e=_0x4f54b8['metadata']?_0x42a72e(_0x4f54b8[_0x4e64bc(0x1b2)]):void 0x0;return _0xb6f93e(_0x53ef6a,_0x2b7f84),delete _0x59f371[_0x2b7f84],_0x53ef6a['tableSource']=_0x59f371,_0x52c77e&&delete _0x52c77e[_0x4e64bc(0x1a3)][_0x2b7f84],{'nextDocumentData':_0x53ef6a,'nextMetadata':_0x52c77e,'cursor':{'row':0x0,'column':0x0},'deleteTable':!0x0};}function _0x1949f5(_0x3d78c8){const _0x536e9d=_0x2122c9;let _0x3fc183=_0x27cc88(_0x3d78c8[_0x536e9d(0x207)],{'tableIds':[_0x3d78c8['tableId']]}),_0x1568fc=_0x413597(_0x3fc183,_0x3d78c8[_0x536e9d(0x350)]),_0x6ac45e=_0x1beec8(_0x3fc183,_0x3d78c8[_0x536e9d(0x350)]),_0x281a7b=_0x3d78c8['count']??0x1,_0x19181a=_0x1aabbc(_0x3d78c8[_0x536e9d(0x1fa)],_0x1568fc[_0x536e9d(0x184)][_0x536e9d(0x1d0)]-0x1),_0x31e62d=_0x1aabbc(_0x3d78c8[_0x536e9d(0x370)],_0x1568fc[_0x536e9d(0x184)][_0x536e9d(0x1d0)]-0x1),_0x1d5cb7=Math[_0x536e9d(0x183)](_0x1568fc[_0x536e9d(0x184)][_0x536e9d(0x1d0)]-0x1,_0x19181a+_0x281a7b-0x1),_0x4fce4d=_0x1d5cb7-_0x19181a+0x1,_0x10123b=_0x3d78c8[_0x536e9d(0x21f)]===_0x536e9d(0x2da)?_0x31e62d:_0x31e62d+0x1;if(_0x4fce4d<=0x0||_0x10123b>=_0x19181a&&_0x10123b<=_0x1d5cb7+0x1)return{'nextDocumentData':_0x3fc183,'nextMetadata':_0x3d78c8[_0x536e9d(0x1b2)]?_0x42a72e(_0x3d78c8['metadata']):void 0x0,'cursor':{'row':_0x19181a,'column':0x0}};let _0x1638bf=_0x1568fc[_0x536e9d(0x184)][_0x536e9d(0x2c9)](_0x19181a,_0x4fce4d),_0xcc173f=_0x10123b>_0x1d5cb7?_0x10123b-_0x4fce4d:_0x10123b;_0x1568fc[_0x536e9d(0x184)][_0x536e9d(0x2c9)](_0xcc173f,0x0,..._0x1638bf);let _0x2d6452=_0x4d0cfe(_0x6ac45e,_0x19181a)[_0x536e9d(0x1d4)],_0x251ccd=_0x4d0cfe(_0x6ac45e,_0x1d5cb7)[_0x536e9d(0x29b)]+0x1,_0x484134=_0x10123b>_0x1d5cb7?_0x4d0cfe(_0x6ac45e,Math[_0x536e9d(0x183)](_0x31e62d,_0x6ac45e['rowCount']-0x1))[_0x536e9d(0x29b)]+0x1:_0x4d0cfe(_0x6ac45e,_0x31e62d)[_0x536e9d(0x1d4)];return _0x30aee0(_0x3fc183['body'],_0x2d6452,_0x251ccd,_0x484134),{'nextDocumentData':_0x3fc183,'nextMetadata':_0x3d78c8['metadata']?_0x42a72e(_0x3d78c8[_0x536e9d(0x1b2)]):void 0x0,'cursor':{'row':_0xcc173f,'column':0x0}};}function _0x3bf035(_0x1d40ee){const _0x276443=_0x2122c9;let _0x3b92e5=_0x27cc88(_0x1d40ee[_0x276443(0x207)],{'tableIds':[_0x1d40ee[_0x276443(0x350)]]}),_0x2411aa=_0x413597(_0x3b92e5,_0x1d40ee['tableId']),_0x4d4f3b=_0x1beec8(_0x3b92e5,_0x1d40ee[_0x276443(0x350)]),_0x387c86=_0x1d40ee[_0x276443(0x2b1)]??0x1,_0x54d54f=_0x1aabbc(_0x1d40ee[_0x276443(0x37d)],_0x2411aa[_0x276443(0x355)]['length']-0x1),_0x32b448=_0x1aabbc(_0x1d40ee[_0x276443(0x1e9)],_0x2411aa[_0x276443(0x355)][_0x276443(0x1d0)]-0x1),_0x5da61d=Math[_0x276443(0x183)](_0x2411aa[_0x276443(0x355)][_0x276443(0x1d0)]-0x1,_0x54d54f+_0x387c86-0x1),_0xeabe31=_0x5da61d-_0x54d54f+0x1,_0x36d1c5=_0x1d40ee[_0x276443(0x21f)]==='left'?_0x32b448:_0x32b448+0x1;if(_0xeabe31<=0x0||_0x36d1c5>=_0x54d54f&&_0x36d1c5<=_0x5da61d+0x1)return{'nextDocumentData':_0x3b92e5,'nextMetadata':_0x1d40ee[_0x276443(0x1b2)]?_0x42a72e(_0x1d40ee[_0x276443(0x1b2)]):void 0x0,'cursor':{'row':0x0,'column':_0x54d54f}};let _0x5af491=_0x2411aa[_0x276443(0x355)][_0x276443(0x2c9)](_0x54d54f,_0xeabe31),_0x85825e=_0x36d1c5>_0x5da61d?_0x36d1c5-_0xeabe31:_0x36d1c5;return _0x2411aa[_0x276443(0x355)][_0x276443(0x2c9)](_0x85825e,0x0,..._0x5af491),_0x2411aa[_0x276443(0x184)][_0x276443(0x20d)](_0x283c0e=>{const _0x1bab34=_0x276443;let _0xde0a8e=_0x283c0e[_0x1bab34(0x217)][_0x1bab34(0x2c9)](_0x54d54f,_0xeabe31);_0x283c0e[_0x1bab34(0x217)]['splice'](_0x85825e,0x0,..._0xde0a8e);}),_0x4d4f3b[_0x276443(0x21b)][_0x276443(0x20d)](_0x5c8dec=>{const _0x1e1030=_0x276443;let _0x237583=_0x5c8dec[_0x1e1030(0x2bc)][_0x54d54f][_0x1e1030(0x1d4)],_0x47a338=_0x5c8dec[_0x1e1030(0x2bc)][_0x5da61d][_0x1e1030(0x29b)]+0x1,_0x4f1d3b=_0x36d1c5>_0x5da61d?_0x5c8dec['cells'][Math[_0x1e1030(0x183)](_0x32b448,_0x5c8dec[_0x1e1030(0x2bc)][_0x1e1030(0x1d0)]-0x1)][_0x1e1030(0x29b)]+0x1:_0x5c8dec['cells'][_0x32b448][_0x1e1030(0x1d4)];_0x30aee0(_0x3b92e5[_0x1e1030(0x181)],_0x237583,_0x47a338,_0x4f1d3b);}),{'nextDocumentData':_0x3b92e5,'nextMetadata':_0x1d40ee['metadata']?_0x42a72e(_0x1d40ee[_0x276443(0x1b2)]):void 0x0,'cursor':{'row':0x0,'column':_0x85825e}};}function _0x413597(_0x4bb507,_0x1d41ba){const _0xd3bb82=_0x2122c9;var _0x2c6731;let _0x3c6e2a=(_0x2c6731=_0x4bb507[_0xd3bb82(0x1f4)])==null?void 0x0:_0x2c6731[_0x1d41ba];if(!_0x3c6e2a)throw Error('[DocsTable]:\x20Table\x20'+_0x1d41ba+_0xd3bb82(0x376));return _0x3c6e2a;}function _0x1beec8(_0x1521ea,_0x4c72f1){const _0x58a427=_0x2122c9;let _0x55d9ae=_0x16cada(_0x1521ea,_0x4c72f1);if(!_0x55d9ae)throw Error(_0x58a427(0x36e)+_0x4c72f1+_0x58a427(0x30a));return _0x55d9ae;}function _0x1109a8(_0x1e54ac){const _0x40283a=_0x2122c9;let _0x1df3d3=_0x2e794e[_0x40283a(0x249)][_0x40283a(0x2c1)](_0x1e54ac);return _0x1df3d3['tableCells']=_0x1e54ac['tableCells'][_0x40283a(0x37a)](_0x37cc27=>_0x108d9d(_0x37cc27)),_0x1df3d3;}function _0x108d9d(_0x54c688){const _0x17101d=_0x2122c9;return _0x2e794e[_0x17101d(0x249)][_0x17101d(0x2c1)]({..._0x54c688});}function _0xb839b(_0x3465ab){const _0x20f464=_0x2122c9;return''+_0x2e794e['DataStreamTreeTokenType'][_0x20f464(0x326)]+_0x571b0b(_0x1693ef(),_0x3465ab)+_0x2e794e['DataStreamTreeTokenType'][_0x20f464(0x175)];}function _0x1693ef(){const _0x2f3013=_0x2122c9;return _0x2e794e[_0x2f3013(0x273)][_0x2f3013(0x21a)]+'\x0d\x0a'+_0x2e794e[_0x2f3013(0x273)][_0x2f3013(0x1a5)];}function _0x571b0b(_0x15c5a4,_0x2037c4){const _0x1d8ccf=_0x2122c9;return Array[_0x1d8ccf(0x20c)]({'length':_0x2037c4},()=>_0x15c5a4)['join']('');}function _0x556d9b(_0x40e961,_0x3c865a,_0x3875a6,_0x4bb8df,_0x2fff26,_0x2b9f15){const _0xe9dfb5=_0x2122c9;let _0x8db8d=_0x571b0b(_0x1693ef(),_0x2fff26),_0x325566=_0x3875a6['rows'][_0xe9dfb5(0x37a)](_0x14e769=>{const _0x10c49b=_0xe9dfb5;let _0x31c0ad=_0x14e769[_0x10c49b(0x2bc)][_0x4bb8df];return _0x2b9f15==='left'?_0x31c0ad[_0x10c49b(0x1d4)]:_0x31c0ad[_0x10c49b(0x29b)]+0x1;})[_0xe9dfb5(0x179)]((_0x1f71cd,_0x445842)=>_0x445842-_0x1f71cd);for(let _0x36c99e of _0x325566)_0x91ee42(_0x40e961[_0xe9dfb5(0x181)],_0x36c99e,_0x8db8d),_0x40e961[_0xe9dfb5(0x181)]&&(_0x4072d9(_0x40e961[_0xe9dfb5(0x181)],_0x36c99e,_0x8db8d[_0xe9dfb5(0x1d0)]),_0xe6dd18(_0x40e961[_0xe9dfb5(0x181)],_0x36c99e,_0x8db8d));_0x4e22d9(_0x40e961,_0x3c865a,_0x3875a6['endOffset'],_0x8db8d[_0xe9dfb5(0x1d0)]*_0x325566[_0xe9dfb5(0x1d0)]);}function _0x4ceb2f(_0x505ead,_0x1bd4de,_0x4b3393,_0x269df7){const _0x1d35a0=_0x2122c9;let _0x2118b3=_0x1beec8(_0x505ead,_0x1bd4de),_0x4fd42b=_0x4d0cfe(_0x2118b3,_0x4b3393)[_0x1d35a0(0x1d4)];_0x3d1a8f(_0x505ead,_0x1bd4de,_0x4fd42b,_0x4d0cfe(_0x2118b3,_0x269df7)[_0x1d35a0(0x29b)]+0x1);}function _0x235e07(_0x1e13f1,_0xf66899,_0x56e630,_0x3a0493){const _0x3167d8=_0x2122c9;let _0x43811a=_0x1beec8(_0x1e13f1,_0xf66899),_0x5322e3=[];for(let _0x57dd7e=_0x56e630;_0x57dd7e<=_0x3a0493;_0x57dd7e++)_0x5322e3[_0x3167d8(0x2f9)](..._0x56abf4(_0x43811a,_0x57dd7e)[_0x3167d8(0x2bc)][_0x3167d8(0x37a)](_0x3251d6=>({'startOffset':_0x3251d6[_0x3167d8(0x1d4)],'endOffset':_0x3251d6[_0x3167d8(0x29b)]+0x1})));_0x5322e3['sort']((_0x979827,_0x41b3a3)=>_0x41b3a3['startOffset']-_0x979827[_0x3167d8(0x1d4)]);let _0x46ae2b=0x0;for(let _0x232323 of _0x5322e3){let _0x22e19d=_0x232323[_0x3167d8(0x1d4)]-_0x232323[_0x3167d8(0x29b)];_0x46ae2b-=_0x22e19d,_0x485bcf(_0x1e13f1[_0x3167d8(0x181)],_0x232323[_0x3167d8(0x1d4)],_0x232323[_0x3167d8(0x29b)]),_0x1e13f1[_0x3167d8(0x181)]&&_0x4072d9(_0x1e13f1['body'],_0x232323[_0x3167d8(0x1d4)],_0x22e19d);}_0x4e22d9(_0x1e13f1,_0xf66899,_0x43811a[_0x3167d8(0x29b)],-_0x46ae2b);}function _0xb6f93e(_0x10e2be,_0x4bf3e2){const _0x36f97f=_0x2122c9;var _0x24e038;let _0x56e370=_0x1beec8(_0x10e2be,_0x4bf3e2);_0x3d1a8f(_0x10e2be,_0x4bf3e2,_0x56e370['startOffset'],_0x56e370[_0x36f97f(0x29b)]),(_0x24e038=_0x10e2be[_0x36f97f(0x181)])!=null&&_0x24e038['tables']&&(_0x10e2be[_0x36f97f(0x181)][_0x36f97f(0x1a3)]=_0x10e2be[_0x36f97f(0x181)][_0x36f97f(0x1a3)][_0x36f97f(0x24e)](_0x210b8a=>_0x210b8a['tableId']!==_0x4bf3e2));}function _0x3dd443(_0x5d2e81,_0x38cd75,_0x35478e,_0x10e20c){const _0x103046=_0x2122c9;_0x91ee42(_0x5d2e81[_0x103046(0x181)],_0x35478e,_0x10e20c),_0x213be8(_0x5d2e81,_0x38cd75,_0x35478e,_0x10e20c[_0x103046(0x1d0)]),_0x5d2e81['body']&&_0xe6dd18(_0x5d2e81[_0x103046(0x181)],_0x35478e,_0x10e20c);}function _0x3d1a8f(_0x19dd42,_0x17351a,_0x59e408,_0x276671){const _0x1ec937=_0x2122c9;_0x485bcf(_0x19dd42[_0x1ec937(0x181)],_0x59e408,_0x276671),_0x213be8(_0x19dd42,_0x17351a,_0x59e408,_0x59e408-_0x276671);}function _0x91ee42(_0x143107,_0xdba734,_0x1ba403){const _0x25ad3a=_0x2122c9;_0x143107!=null&&_0x143107[_0x25ad3a(0x245)]&&(_0x143107[_0x25ad3a(0x245)]=''+_0x143107['dataStream'][_0x25ad3a(0x344)](0x0,_0xdba734)+_0x1ba403+_0x143107['dataStream'][_0x25ad3a(0x344)](_0xdba734));}function _0x485bcf(_0x15d1d7,_0x18e995,_0x56a208){const _0x29fe32=_0x2122c9;_0x15d1d7!=null&&_0x15d1d7['dataStream']&&(_0x15d1d7[_0x29fe32(0x245)]=''+_0x15d1d7[_0x29fe32(0x245)][_0x29fe32(0x344)](0x0,_0x18e995)+_0x15d1d7['dataStream']['slice'](_0x56a208));}function _0x30aee0(_0x39d414,_0x4eba0b,_0x4630d,_0x4e782b){const _0x521288=_0x2122c9;if(!(_0x39d414!=null&&_0x39d414[_0x521288(0x245)])||_0x4e782b>=_0x4eba0b&&_0x4e782b<=_0x4630d)return;let _0x3a8775=_0x39d414[_0x521288(0x245)]['slice'](_0x4eba0b,_0x4630d),_0x516647=''+_0x39d414[_0x521288(0x245)][_0x521288(0x344)](0x0,_0x4eba0b)+_0x39d414[_0x521288(0x245)][_0x521288(0x344)](_0x4630d),_0x3e9e8d=_0x4e782b>_0x4630d?_0x4e782b-_0x3a8775['length']:_0x4e782b;_0x39d414[_0x521288(0x245)]=''+_0x516647[_0x521288(0x344)](0x0,_0x3e9e8d)+_0x3a8775+_0x516647[_0x521288(0x344)](_0x3e9e8d);}function _0x1aabbc(_0x4480a0,_0xdbfcaf){const _0x322848=_0x2122c9;return Math[_0x322848(0x183)](Math['max'](0x0,_0x4480a0),Math[_0x322848(0x186)](0x0,_0xdbfcaf));}function _0x213be8(_0xcc2bf3,_0x662939,_0x138448,_0x4c6ca0){const _0x4cd9d9=_0x2122c9;let _0x19d98a=_0xcc2bf3[_0x4cd9d9(0x181)];_0x19d98a&&_0x4c6ca0!==0x0&&(_0x4e22d9(_0xcc2bf3,_0x662939,_0x138448,_0x4c6ca0),_0x4072d9(_0x19d98a,_0x138448,_0x4c6ca0));}function _0x4e22d9(_0x5a971c,_0x1bc05d,_0x43a845,_0x59e600){const _0x4b9800=_0x2122c9;let _0x279d31=_0x5a971c[_0x4b9800(0x181)];_0x279d31!=null&&_0x279d31[_0x4b9800(0x1a3)]&&_0x59e600!==0x0&&(_0x279d31[_0x4b9800(0x1a3)]&&=_0x279d31['tables'][_0x4b9800(0x37a)](_0x26c867=>_0x26c867[_0x4b9800(0x350)]===_0x1bc05d?{..._0x26c867,'endIndex':_0x26c867[_0x4b9800(0x19f)]+_0x59e600}:_0x26c867[_0x4b9800(0x1d1)]>=_0x43a845?{..._0x26c867,'startIndex':_0x26c867[_0x4b9800(0x1d1)]+_0x59e600,'endIndex':_0x26c867['endIndex']+_0x59e600}:_0x26c867));}function _0x4072d9(_0x9b597,_0x39aa73,_0x1293e1){const _0x5e6c32=_0x2122c9;var _0x560bdd,_0x4949f8,_0x3eb783,_0x35007c,_0xb47cbc,_0x2477fa,_0x55f69a,_0x58d465;let _0x1f0191=_0x4c3c57(_0x9b597);_0x9b597[_0x5e6c32(0x1cf)]=(_0x560bdd=_0x9b597[_0x5e6c32(0x1cf)])==null?void 0x0:_0x560bdd[_0x5e6c32(0x37a)](_0x36c9b7=>{const _0x12744c=_0x5e6c32;let _0x12bf17=_0x47c566(_0x36c9b7[_0x12744c(0x1d1)],_0x39aa73,_0x1293e1);return _0x12bf17==null?null:{..._0x36c9b7,'startIndex':_0x12bf17};})['filter'](_0x357925=>_0x357925!=null),_0x9b597[_0x5e6c32(0x196)]=(_0x4949f8=_0x9b597[_0x5e6c32(0x196)])==null?void 0x0:_0x4949f8[_0x5e6c32(0x37a)](_0x45e935=>{const _0x296817=_0x5e6c32;let _0x158d19=_0x47c566(_0x45e935[_0x296817(0x1d1)],_0x39aa73,_0x1293e1);return _0x158d19==null?null:{..._0x45e935,'startIndex':_0x158d19};})['filter'](_0x3c6121=>_0x3c6121!=null),_0x9b597[_0x5e6c32(0x1c9)]=(_0x3eb783=_0x9b597['customBlocks'])==null?void 0x0:_0x3eb783['map'](_0x5a8fb5=>{let _0x58a5a0=_0x47c566(_0x5a8fb5['startIndex'],_0x39aa73,_0x1293e1);return _0x58a5a0==null?null:{..._0x5a8fb5,'startIndex':_0x58a5a0};})[_0x5e6c32(0x24e)](_0xab5672=>_0xab5672!=null),_0x9b597[_0x5e6c32(0x1b9)]=(_0x35007c=_0x9b597['blockRanges'])==null?void 0x0:_0x35007c[_0x5e6c32(0x37a)](_0x11d411=>{const _0x4e33f7=_0x5e6c32;let _0x576455=_0x443fd0(_0x11d411['startIndex'],_0x11d411[_0x4e33f7(0x19f)],_0x39aa73,_0x1293e1);return _0x576455==null?null:{..._0x11d411,'startIndex':_0x576455[_0x4e33f7(0x18b)],'endIndex':_0x576455[_0x4e33f7(0x33d)]};})[_0x5e6c32(0x24e)](_0xf78d4e=>_0xf78d4e!=null),_0x9b597[_0x5e6c32(0x2a3)]=(_0xb47cbc=_0x9b597[_0x5e6c32(0x2a3)])==null?void 0x0:_0xb47cbc[_0x5e6c32(0x37a)](_0xbc8832=>{const _0x3fef43=_0x5e6c32;let _0x2af24d=_0x443fd0(_0xbc8832['st'],_0xbc8832['ed'],_0x39aa73,_0x1293e1);return _0x2af24d==null?null:{..._0xbc8832,'st':_0x2af24d[_0x3fef43(0x18b)],'ed':_0x2af24d[_0x3fef43(0x33d)]};})[_0x5e6c32(0x24e)](_0x275817=>_0x275817!=null),_0x9b597[_0x5e6c32(0x18c)]=(_0x2477fa=_0x9b597['customRanges'])==null?void 0x0:_0x2477fa[_0x5e6c32(0x37a)](_0x5df1ca=>{const _0x545613=_0x5e6c32;let _0x42ef3c=_0x443fd0(_0x5df1ca[_0x545613(0x1d1)],_0x5df1ca['endIndex'],_0x39aa73,_0x1293e1);return _0x42ef3c==null?null:{..._0x5df1ca,'startIndex':_0x42ef3c[_0x545613(0x18b)],'endIndex':_0x42ef3c['end']};})[_0x5e6c32(0x24e)](_0x38fd42=>_0x38fd42!=null),_0x9b597[_0x5e6c32(0x19e)]=(_0x55f69a=_0x9b597[_0x5e6c32(0x19e)])==null?void 0x0:_0x55f69a['map'](_0x32788b=>{const _0x30f2c4=_0x5e6c32;let _0x50da0e=_0x443fd0(_0x32788b[_0x30f2c4(0x1d1)],_0x32788b[_0x30f2c4(0x19f)],_0x39aa73,_0x1293e1);return _0x50da0e==null?null:{..._0x32788b,'startIndex':_0x50da0e[_0x30f2c4(0x18b)],'endIndex':_0x50da0e[_0x30f2c4(0x33d)]};})[_0x5e6c32(0x24e)](_0x165e83=>_0x165e83!=null),_0x1f0191['columnGroups']=(_0x58d465=_0x1f0191[_0x5e6c32(0x240)])==null?void 0x0:_0x58d465[_0x5e6c32(0x37a)](_0x64130f=>{const _0x341186=_0x5e6c32;let _0x552d8f=_0x443fd0(_0x64130f['startIndex'],_0x64130f[_0x341186(0x19f)],_0x39aa73,_0x1293e1);return _0x552d8f==null?null:{..._0x64130f,'startIndex':_0x552d8f[_0x341186(0x18b)],'endIndex':_0x552d8f[_0x341186(0x33d)]};})[_0x5e6c32(0x24e)](_0x3079bb=>_0x3079bb!=null);}function _0xe6dd18(_0x225db0,_0xb2fef1,_0x2ba21e){const _0xb14020=_0x2122c9;let _0x33c1d2=_0x5e0fe4(_0x225db0),_0x3f1746=new Set((_0x225db0[_0xb14020(0x196)]??[])[_0xb14020(0x37a)](_0x16d7c5=>_0x16d7c5[_0xb14020(0x189)])),_0x2a9301=_0x17519a(_0x2ba21e,'\x0d')[_0xb14020(0x37a)](_0x52b8d6=>({'startIndex':_0xb2fef1+_0x52b8d6,'paragraphId':(0x0,_0x2e794e['createParagraphId'])(_0x33c1d2)})),_0x5bd3c0=_0x17519a(_0x2ba21e,'\x0a')[_0xb14020(0x37a)](_0x8cebed=>({'startIndex':_0xb2fef1+_0x8cebed,'sectionId':(0x0,_0x2e794e[_0xb14020(0x28a)])(_0x3f1746)}));_0x2a9301[_0xb14020(0x1d0)]&&(_0x225db0[_0xb14020(0x1cf)]=[..._0x225db0[_0xb14020(0x1cf)]??[],..._0x2a9301]['sort']((_0x11cf10,_0x355728)=>_0x11cf10[_0xb14020(0x1d1)]-_0x355728[_0xb14020(0x1d1)])),_0x5bd3c0[_0xb14020(0x1d0)]&&(_0x225db0[_0xb14020(0x196)]=[..._0x225db0[_0xb14020(0x196)]??[],..._0x5bd3c0]['sort']((_0x89c0b7,_0x3f9af6)=>_0x89c0b7[_0xb14020(0x1d1)]-_0x3f9af6['startIndex']));}function _0x5e0fe4(_0x3eef30){const _0xd7bbfd=_0x2122c9;return new Set((_0x3eef30[_0xd7bbfd(0x1cf)]??[])[_0xd7bbfd(0x37a)](_0xec392e=>_0xec392e[_0xd7bbfd(0x1ec)]));}function _0x17519a(_0x38c996,_0x2c0d61){const _0x5edf10=_0x2122c9;let _0xd7fa5e=[];for(let _0x508935=0x0;_0x508935<_0x38c996[_0x5edf10(0x1d0)];_0x508935++)_0x38c996[_0x508935]===_0x2c0d61&&_0xd7fa5e[_0x5edf10(0x2f9)](_0x508935);return _0xd7fa5e;}function _0x47c566(_0x59767c,_0x5a5765,_0x489ed2){if(_0x489ed2>=0x0)return _0x59767c>=_0x5a5765?_0x59767c+_0x489ed2:_0x59767c;let _0x12758d=_0x5a5765-_0x489ed2;return _0x59767c>=_0x5a5765&&_0x59767c<_0x12758d?null:_0x59767c>=_0x12758d?_0x59767c+_0x489ed2:_0x59767c;}function _0x443fd0(_0x1e70f1,_0x445030,_0x1a210b,_0x41ccb5){if(_0x41ccb5>=0x0)return{'end':_0x445030>=_0x1a210b?_0x445030+_0x41ccb5:_0x445030,'start':_0x1e70f1>=_0x1a210b?_0x1e70f1+_0x41ccb5:_0x1e70f1};let _0x35652e=_0x1a210b-_0x41ccb5;if(_0x445030<_0x1a210b)return{'start':_0x1e70f1,'end':_0x445030};if(_0x1e70f1>=_0x35652e)return{'start':_0x1e70f1+_0x41ccb5,'end':_0x445030+_0x41ccb5};let _0x5db7e6=_0x1e70f1<_0x1a210b?_0x1e70f1:_0x1a210b,_0x36f642=_0x445030>=_0x35652e?_0x445030+_0x41ccb5:_0x1a210b;return _0x36f642<_0x5db7e6?null:{'start':_0x5db7e6,'end':_0x36f642};}function _0x1d9c20(_0x57d10a,_0x2303da){const _0x3112aa=_0x2122c9;let _0x1a5908=_0x57d10a[_0x3112aa(0x355)][_0x3112aa(0x2fc)]((_0x499b84,_0x1c497f)=>_0x499b84+_0x1c497f[_0x3112aa(0x364)][_0x3112aa(0x192)]['v'],0x0)-_0x2303da,_0x32e64d=_0x57d10a[_0x3112aa(0x355)][_0x3112aa(0x2fc)]((_0x32d057,_0x312668)=>_0x32d057+_0x312668[_0x3112aa(0x364)][_0x3112aa(0x192)]['v'],0x0);_0x1a5908<=0x0||_0x32e64d<=0x0||_0x57d10a[_0x3112aa(0x355)][_0x3112aa(0x20d)](_0x57319e=>{const _0x572c00=_0x3112aa;_0x57319e[_0x572c00(0x364)][_0x572c00(0x192)]['v']=_0x57319e[_0x572c00(0x364)][_0x572c00(0x192)]['v']/_0x32e64d*_0x1a5908;});}function _0x418c47(_0x226129,_0x5f7a8d,_0x3e4545,_0x1f218d){const _0x13e8a6=_0x2122c9;var _0x4a5b43;if(!_0x226129)return;let _0x122cc9=_0x42a72e(_0x226129),_0x241682=((_0x4a5b43=_0x122cc9[_0x13e8a6(0x1a3)][_0x5f7a8d])==null?void 0x0:_0x4a5b43[_0x13e8a6(0x310)])??0x0;if(_0x241682<=0x0)return _0x122cc9;let _0x4c5454=Math[_0x13e8a6(0x186)](0x0,Math[_0x13e8a6(0x183)](_0x1f218d,_0x241682-0x1)-Math['max'](_0x3e4545,0x0)+0x1);return _0x55d79a(_0x122cc9,_0x5f7a8d,Math['max'](0x0,_0x241682-_0x4c5454));}function _0x4ea66d(_0x263915,_0x431f31=[_0x2122c9(0x181)]){const _0x3f049f=_0x2122c9;var _0x214624,_0x5acac3,_0x461720,_0x4d6976;let _0x56d1ba=_0x16cada(_0x263915[_0x3f049f(0x207)],_0x263915['tableId']),_0x194e92=_0x56d1ba==null||(_0x214624=_0x56d1ba[_0x3f049f(0x21b)][_0x263915[_0x3f049f(0x341)]])==null?void 0x0:_0x214624[_0x3f049f(0x2bc)][_0x263915['column']];if(!((_0x5acac3=_0x263915[_0x3f049f(0x207)]['body'])!=null&&_0x5acac3[_0x3f049f(0x245)])||!_0x56d1ba||!_0x194e92)throw Error(_0x3f049f(0x1f2)+_0x263915['row']+':'+_0x263915[_0x3f049f(0x1b4)]+'\x20is\x20not\x20found.');let _0x3c283e=_0x824517(_0x263915[_0x3f049f(0x329)]),_0xd750c6=_0x194e92[_0x3f049f(0x1d4)]+0x1,_0x3cb1ba=_0x263915[_0x3f049f(0x207)][_0x3f049f(0x181)][_0x3f049f(0x245)][_0x3f049f(0x344)](_0x194e92['endOffset']-0x2,_0x194e92[_0x3f049f(0x29b)])==='\x0d\x0a',_0x14daf5=(_0x461720=_0x263915['documentData'][_0x3f049f(0x181)][_0x3f049f(0x1cf)])==null?void 0x0:_0x461720['find'](_0x4bf6e3=>_0x4bf6e3[_0x3f049f(0x1d1)]===_0x194e92[_0x3f049f(0x29b)]-0x2),_0x184e68=(_0x4d6976=_0x263915['documentData'][_0x3f049f(0x1f4)])==null||(_0x4d6976=_0x4d6976[_0x263915['tableId']])==null||(_0x4d6976=_0x4d6976[_0x3f049f(0x184)][_0x263915[_0x3f049f(0x341)]])==null?void 0x0:_0x4d6976[_0x3f049f(0x217)][_0x263915['column']],_0x45e031=(_0x14daf5==null?void 0x0:_0x14daf5[_0x3f049f(0x1ec)])??(_0x184e68==null?void 0x0:_0x184e68['docsTableCellId'])??'legacy:'+_0x263915[_0x3f049f(0x341)]+':'+_0x263915[_0x3f049f(0x1b4)];return _0x5cc27b(_0x263915['documentData'],[{'valueRangeId':'docs-table-cell:'+_0x263915['tableId']+':'+_0x45e031,'startOffset':_0xd750c6,'endOffset':_0x3cb1ba?_0x194e92[_0x3f049f(0x29b)]-0x2:_0x194e92[_0x3f049f(0x29b)],'text':_0x3cb1ba?_0x3c283e['slice'](0x0,-0x2):_0x3c283e}],_0x431f31);}function _0x5cc27b(_0x570ddc,_0x12d1b9,_0x2b1cd8=['body']){const _0x436cd1=_0x2122c9;let _0x3e4ae2=_0x570ddc[_0x436cd1(0x181)];if(!(_0x3e4ae2!=null&&_0x3e4ae2[_0x436cd1(0x245)]))return null;let _0x2457ef=_0x12d1b9[_0x436cd1(0x24e)](_0xa32bd7=>_0x3e4ae2[_0x436cd1(0x245)][_0x436cd1(0x344)](_0xa32bd7['startOffset'],_0xa32bd7[_0x436cd1(0x29b)])!==_0xa32bd7[_0x436cd1(0x329)])[_0x436cd1(0x179)]((_0x2f5d42,_0x57c20e)=>_0x2f5d42[_0x436cd1(0x1d4)]-_0x57c20e[_0x436cd1(0x1d4)]);if(!_0x2457ef[_0x436cd1(0x1d0)])return null;let _0x48973f=_0x13fef4(_0x3e4ae2),_0x5e582a=new Set((_0x3e4ae2['sectionBreaks']??[])[_0x436cd1(0x37a)](_0x587ea7=>_0x587ea7[_0x436cd1(0x189)])),_0x10409d=new _0x2e794e[(_0x436cd1(0x282))](),_0x454bdd=0x0;for(let _0x182f14 of _0x2457ef){if(_0x182f14['startOffset']<_0x454bdd||_0x182f14[_0x436cd1(0x1d4)]<0x0||_0x182f14['endOffset']<_0x182f14[_0x436cd1(0x1d4)]||_0x182f14[_0x436cd1(0x29b)]>_0x3e4ae2['dataStream']['length'])throw Error(_0x436cd1(0x1ea));let _0x5b4ef4=_0x182f14[_0x436cd1(0x1d4)]-_0x454bdd;_0x5b4ef4>0x0&&_0x10409d[_0x436cd1(0x31a)](_0x5b4ef4),_0x182f14[_0x436cd1(0x329)][_0x436cd1(0x1d0)]>0x0&&_0x10409d[_0x436cd1(0x2f9)]({'t':_0x2e794e[_0x436cd1(0x336)][_0x436cd1(0x35b)],'len':_0x182f14[_0x436cd1(0x329)][_0x436cd1(0x1d0)],'body':_0x47037d(_0x182f14[_0x436cd1(0x329)],_0x48973f,_0x5e582a),..._0x182f14[_0x436cd1(0x1d3)]?{'valueRangeId':_0x182f14['valueRangeId']}:{}});let _0x20a04b=_0x182f14[_0x436cd1(0x29b)]-_0x182f14[_0x436cd1(0x1d4)];_0x20a04b>0x0&&_0x10409d['push']({'t':_0x2e794e[_0x436cd1(0x336)][_0x436cd1(0x375)],'len':_0x20a04b,..._0x182f14['valueRangeId']?{'valueRangeId':_0x182f14[_0x436cd1(0x1d3)]}:{}}),_0x454bdd=_0x182f14[_0x436cd1(0x29b)];}return _0x2e794e[_0x436cd1(0x2fe)][_0x436cd1(0x170)]()['editOp'](_0x10409d['serialize'](),_0x2b1cd8);}function _0x2f3ec1(_0xd0961b){const _0x497c26=_0x2122c9;var _0x4c4659;let _0xe52fe3=_0x27cc88(_0xd0961b[_0x497c26(0x207)]),_0x30d794=_0xe52fe3[_0x497c26(0x181)],_0x511013=_0x16cada(_0xe52fe3,_0xd0961b[_0x497c26(0x350)]),_0x19505f=_0x511013==null||(_0x4c4659=_0x511013[_0x497c26(0x21b)][_0xd0961b['row']])==null?void 0x0:_0x4c4659[_0x497c26(0x2bc)][_0xd0961b[_0x497c26(0x1b4)]];if(!(_0x30d794!=null&&_0x30d794[_0x497c26(0x245)])||!_0x511013||!_0x19505f)throw Error(_0x497c26(0x1f2)+_0xd0961b[_0x497c26(0x341)]+':'+_0xd0961b[_0x497c26(0x1b4)]+_0x497c26(0x376));let _0x35f2e6=_0x19505f['startOffset']+0x1,_0x45be2a=_0x19505f[_0x497c26(0x29b)],_0x37d407=_0x824517(_0xd0961b[_0x497c26(0x329)]),_0x2b4aef=_0x37d407[_0x497c26(0x1d0)]-(_0x45be2a-_0x35f2e6);return _0x30d794[_0x497c26(0x245)]=''+_0x30d794[_0x497c26(0x245)][_0x497c26(0x344)](0x0,_0x35f2e6)+_0x37d407+_0x30d794[_0x497c26(0x245)][_0x497c26(0x344)](_0x45be2a),_0x126cb8(_0x30d794,_0x35f2e6,_0x45be2a,_0x37d407,_0x2b4aef),_0x1228a1(_0xe52fe3,_0xd0961b[_0x497c26(0x350)],_0x45be2a,_0x2b4aef),{'nextDocumentData':_0xe52fe3};}function _0x824517(_0xbff4f5){const _0x57c573=_0x2122c9;return _0xbff4f5[_0x57c573(0x26e)](/\r\n/g,'\x0a')[_0x57c573(0x26e)](/\r/g,'\x0a')[_0x57c573(0x244)]('\x0a')[_0x57c573(0x220)]('\x0d\x0a')+'\x0d\x0a';}function _0x126cb8(_0x377a91,_0x5e06b3,_0x311673,_0x3c9bbc,_0x44e873){const _0x23dd8d=_0x2122c9;var _0xf65e7f,_0x4a5a68,_0x146efe,_0x9ea550;let _0x3a8fb7=_0x13fef4(_0x377a91),_0x48b97c=new Set((_0x377a91[_0x23dd8d(0x196)]??[])[_0x23dd8d(0x37a)](_0x5b02c9=>_0x5b02c9[_0x23dd8d(0x189)])),_0x4c4c52=_0x4c3c57(_0x377a91);_0x377a91['paragraphs']=[..._0x4b5039(_0x377a91[_0x23dd8d(0x1cf)]??[],_0x5e06b3,_0x311673,_0x44e873),..._0xd03158(_0x3c9bbc,'\x0d')[_0x23dd8d(0x37a)](_0x49a5ab=>({'startIndex':_0x5e06b3+_0x49a5ab,'paragraphId':(0x0,_0x2e794e[_0x23dd8d(0x352)])(_0x3a8fb7)}))][_0x23dd8d(0x179)]((_0x1192c6,_0x5555a5)=>_0x1192c6[_0x23dd8d(0x1d1)]-_0x5555a5['startIndex']),_0x377a91[_0x23dd8d(0x196)]=[..._0x4b5039(_0x377a91[_0x23dd8d(0x196)]??[],_0x5e06b3,_0x311673,_0x44e873),..._0xd03158(_0x3c9bbc,'\x0a')[_0x23dd8d(0x37a)](_0x3edfb2=>({'startIndex':_0x5e06b3+_0x3edfb2,'sectionId':(0x0,_0x2e794e[_0x23dd8d(0x28a)])(_0x48b97c)}))]['sort']((_0x1b3db7,_0x5e29b9)=>_0x1b3db7[_0x23dd8d(0x1d1)]-_0x5e29b9[_0x23dd8d(0x1d1)]),_0x377a91[_0x23dd8d(0x1c9)]=_0x377a91[_0x23dd8d(0x1c9)]?_0x4b5039(_0x377a91[_0x23dd8d(0x1c9)],_0x5e06b3,_0x311673,_0x44e873):void 0x0,_0x377a91[_0x23dd8d(0x2a3)]=(_0xf65e7f=_0x377a91[_0x23dd8d(0x2a3)])==null?void 0x0:_0xf65e7f[_0x23dd8d(0x37a)](_0x2bae36=>{const _0x34206c=_0x23dd8d;let _0x527cc5=_0x1eb885(_0x2bae36['st'],_0x2bae36['ed'],_0x5e06b3,_0x311673,_0x44e873);return _0x527cc5==null?null:{..._0x2bae36,'st':_0x527cc5['start'],'ed':_0x527cc5[_0x34206c(0x33d)]};})['filter'](_0x1d5904=>_0x1d5904!=null),_0x377a91[_0x23dd8d(0x18c)]=(_0x4a5a68=_0x377a91[_0x23dd8d(0x18c)])==null?void 0x0:_0x4a5a68[_0x23dd8d(0x37a)](_0x3a3cde=>{const _0x18a02e=_0x23dd8d;let _0x235275=_0x1eb885(_0x3a3cde[_0x18a02e(0x1d1)],_0x3a3cde[_0x18a02e(0x19f)],_0x5e06b3,_0x311673,_0x44e873);return _0x235275==null?null:{..._0x3a3cde,'startIndex':_0x235275[_0x18a02e(0x18b)],'endIndex':_0x235275[_0x18a02e(0x33d)]};})['filter'](_0x50b6ab=>_0x50b6ab!=null),_0x377a91[_0x23dd8d(0x19e)]=(_0x146efe=_0x377a91[_0x23dd8d(0x19e)])==null?void 0x0:_0x146efe[_0x23dd8d(0x37a)](_0x425758=>{const _0x26d2ea=_0x23dd8d;let _0x24a932=_0x1eb885(_0x425758['startIndex'],_0x425758['endIndex'],_0x5e06b3,_0x311673,_0x44e873);return _0x24a932==null?null:{..._0x425758,'startIndex':_0x24a932[_0x26d2ea(0x18b)],'endIndex':_0x24a932[_0x26d2ea(0x33d)]};})[_0x23dd8d(0x24e)](_0xe06420=>_0xe06420!=null),_0x4c4c52[_0x23dd8d(0x240)]=(_0x9ea550=_0x4c4c52[_0x23dd8d(0x240)])==null?void 0x0:_0x9ea550[_0x23dd8d(0x37a)](_0x53122b=>{const _0x24ca89=_0x23dd8d;let _0x4d0b23=_0x1eb885(_0x53122b['startIndex'],_0x53122b['endIndex'],_0x5e06b3,_0x311673,_0x44e873);return _0x4d0b23==null?null:{..._0x53122b,'startIndex':_0x4d0b23[_0x24ca89(0x18b)],'endIndex':_0x4d0b23[_0x24ca89(0x33d)]};})['filter'](_0x8f6c63=>_0x8f6c63!=null);}function _0x13fef4(_0x1189f3){const _0x2ec095=_0x2122c9;return new Set((_0x1189f3[_0x2ec095(0x1cf)]??[])[_0x2ec095(0x37a)](_0x282f96=>_0x282f96[_0x2ec095(0x1ec)]));}function _0x47037d(_0x2d471c,_0x4437ed,_0x4b9622){const _0xe6221e=_0x2122c9;return{'dataStream':_0x2d471c,'paragraphs':_0xd03158(_0x2d471c,'\x0d')[_0xe6221e(0x37a)](_0x581bd4=>({'startIndex':_0x581bd4,'paragraphId':(0x0,_0x2e794e[_0xe6221e(0x352)])(_0x4437ed)})),'sectionBreaks':_0xd03158(_0x2d471c,'\x0a')[_0xe6221e(0x37a)](_0x3747ca=>({'startIndex':_0x3747ca,'sectionId':(0x0,_0x2e794e[_0xe6221e(0x28a)])(_0x4b9622)}))};}function _0x4b5039(_0x5b42ab,_0x46a19b,_0x372e02,_0xe90ebe){const _0x459975=_0x2122c9;return _0x5b42ab[_0x459975(0x37a)](_0x17c717=>_0x17c717[_0x459975(0x1d1)]>=_0x46a19b&&_0x17c717[_0x459975(0x1d1)]<_0x372e02?null:_0x17c717[_0x459975(0x1d1)]>=_0x372e02?{..._0x17c717,'startIndex':_0x17c717['startIndex']+_0xe90ebe}:_0x17c717)[_0x459975(0x24e)](_0x44a48c=>_0x44a48c!=null);}function _0xd03158(_0x1524be,_0x4c2459){const _0x200cac=_0x2122c9;let _0x218558=[];for(let _0x3eb18d=0x0;_0x3eb18d<_0x1524be[_0x200cac(0x1d0)];_0x3eb18d++)_0x1524be[_0x3eb18d]===_0x4c2459&&_0x218558[_0x200cac(0x2f9)](_0x3eb18d);return _0x218558;}function _0x1eb885(_0x4f4d17,_0x3a37a9,_0x495c10,_0x137b30,_0x1cb0ad){if(_0x3a37a9<_0x495c10)return{'start':_0x4f4d17,'end':_0x3a37a9};if(_0x4f4d17>=_0x137b30)return{'start':_0x4f4d17+_0x1cb0ad,'end':_0x3a37a9+_0x1cb0ad};let _0x31bf16=_0x4f4d17<_0x495c10?_0x4f4d17:_0x495c10,_0x1df9fb=_0x3a37a9>=_0x137b30?_0x3a37a9+_0x1cb0ad:_0x495c10;return _0x1df9fb<_0x31bf16?null:{'start':_0x31bf16,'end':_0x1df9fb};}function _0x1228a1(_0x247e7e,_0x2df968,_0x5a82c3,_0x1f8d7d){const _0x3a0ad1=_0x2122c9;var _0x51871f;(_0x51871f=_0x247e7e['body'])!=null&&_0x51871f[_0x3a0ad1(0x1a3)]&&_0x1f8d7d!==0x0&&(_0x247e7e[_0x3a0ad1(0x181)][_0x3a0ad1(0x1a3)]=_0x247e7e[_0x3a0ad1(0x181)][_0x3a0ad1(0x1a3)][_0x3a0ad1(0x37a)](_0x15d951=>_0x15d951['tableId']===_0x2df968?{..._0x15d951,'endIndex':_0x15d951[_0x3a0ad1(0x19f)]+_0x1f8d7d}:_0x15d951[_0x3a0ad1(0x1d1)]>=_0x5a82c3?{..._0x15d951,'startIndex':_0x15d951[_0x3a0ad1(0x1d1)]+_0x1f8d7d,'endIndex':_0x15d951[_0x3a0ad1(0x19f)]+_0x1f8d7d}:_0x15d951));}function _0x4bb2da(_0x30f479){const _0x31dcc5=_0x2122c9;var _0x3f854e;let _0x599387=_0xf56230({'documentData':_0x30f479[_0x31dcc5(0x207)],'metadata':_0x30f479[_0x31dcc5(0x1b2)],'tableId':_0x30f479[_0x31dcc5(0x350)],'row':0x0,'count':0x1,'position':_0x31dcc5(0x2da)}),_0x21a87f=(_0x3f854e=_0x599387['nextDocumentData'][_0x31dcc5(0x1f4)])==null?void 0x0:_0x3f854e[_0x30f479[_0x31dcc5(0x350)]];if(!_0x21a87f)throw Error('[DocsTable]:\x20Table\x20'+_0x30f479[_0x31dcc5(0x350)]+_0x31dcc5(0x376));let _0x5da70a=_0x21a87f[_0x31dcc5(0x355)][_0x31dcc5(0x1d0)];return _0x21a87f[_0x31dcc5(0x184)][0x0]['tableCells']['forEach']((_0x284bbc,_0x45c98a)=>{const _0x5c56ee=_0x31dcc5;_0x45c98a===0x0?(_0x284bbc[_0x5c56ee(0x20a)]=_0x5da70a,delete _0x284bbc['rowSpan']):(_0x284bbc[_0x5c56ee(0x288)]=0x0,_0x284bbc['columnSpan']=0x0);}),{'nextDocumentData':_0x599387[_0x31dcc5(0x225)],'nextMetadata':_0x178920(_0x599387['nextMetadata'],_0x30f479[_0x31dcc5(0x350)],!0x0)};}function _0xe8cfaf(_0x4e81cb){const _0x3cbe41=_0x2122c9;var _0x3a87c5;let _0x2ce3f4=_0x27cc88(_0x4e81cb[_0x3cbe41(0x207)],{'cloneBody':!0x1,'tableIds':[_0x4e81cb[_0x3cbe41(0x350)]]}),_0x269132=(_0x3a87c5=_0x2ce3f4[_0x3cbe41(0x1f4)])==null?void 0x0:_0x3a87c5[_0x4e81cb[_0x3cbe41(0x350)]];if(!_0x269132)throw Error(_0x3cbe41(0x36e)+_0x4e81cb[_0x3cbe41(0x350)]+'\x20is\x20not\x20found.');let _0x544626=Math['min'](Math[_0x3cbe41(0x186)](0x0,_0x4e81cb[_0x3cbe41(0x310)]),_0x269132[_0x3cbe41(0x184)][_0x3cbe41(0x1d0)]);return _0x269132['tableRows'][_0x3cbe41(0x20d)]((_0x5961c5,_0x507041)=>{const _0x6ead2=_0x3cbe41;_0x5961c5[_0x6ead2(0x23e)]=_0x507041<_0x544626?_0x2e794e['BooleanNumber'][_0x6ead2(0x2e1)]:_0x2e794e[_0x6ead2(0x297)][_0x6ead2(0x281)],_0x507041<_0x544626?_0x5961c5[_0x6ead2(0x287)]=_0x2e794e[_0x6ead2(0x297)][_0x6ead2(0x2e1)]:delete _0x5961c5[_0x6ead2(0x287)];}),{'nextDocumentData':_0x2ce3f4,'nextMetadata':_0x55d79a(_0x4e81cb[_0x3cbe41(0x1b2)],_0x4e81cb['tableId'],_0x544626)};}function _0x4bc2c5(_0x174a0a){const _0x9edfd0=_0x2122c9;var _0x28ff75;let _0x15c68a=_0x27cc88(_0x174a0a[_0x9edfd0(0x207)],{'cloneBody':!0x1,'tableIds':[_0x174a0a[_0x9edfd0(0x350)]]}),_0x28a377=(_0x28ff75=_0x15c68a[_0x9edfd0(0x1f4)])==null?void 0x0:_0x28ff75[_0x174a0a[_0x9edfd0(0x350)]];if(!_0x28a377)throw Error('[DocsTable]:\x20Table\x20'+_0x174a0a[_0x9edfd0(0x350)]+_0x9edfd0(0x376));let _0x329d35=Math[_0x9edfd0(0x183)](_0x174a0a[_0x9edfd0(0x18a)],_0x174a0a['endRow']),_0x26186b=Math[_0x9edfd0(0x186)](_0x174a0a[_0x9edfd0(0x18a)],_0x174a0a[_0x9edfd0(0x25a)]),_0x537009=_0x28a377[_0x9edfd0(0x184)]['slice'](_0x329d35,_0x26186b+0x1),_0x138764=_0x537009[_0x9edfd0(0x2fc)]((_0x488185,_0x5ccc84)=>_0x488185+_0x2749ed(_0x5ccc84),0x0)/_0x537009['length'];return _0x537009[_0x9edfd0(0x20d)](_0x260b63=>{const _0x5c6419=_0x9edfd0;_0x260b63[_0x5c6419(0x210)]={'hRule':_0x2e794e[_0x5c6419(0x2ee)][_0x5c6419(0x250)],'val':{'v':_0x138764}};}),{'nextDocumentData':_0x15c68a};}function _0x16a7f8(_0xf56ccd){const _0x58f142=_0x2122c9;var _0x484882;let _0x32139e=_0x27cc88(_0xf56ccd[_0x58f142(0x207)],{'cloneBody':!0x1,'tableIds':[_0xf56ccd['tableId']]}),_0x201180=(_0x484882=_0x32139e[_0x58f142(0x1f4)])==null?void 0x0:_0x484882[_0xf56ccd[_0x58f142(0x350)]];if(!_0x201180)throw Error(_0x58f142(0x36e)+_0xf56ccd[_0x58f142(0x350)]+_0x58f142(0x376));let _0x231aa3=Math['min'](_0xf56ccd['startColumn'],_0xf56ccd[_0x58f142(0x30e)]),_0x3baf64=Math[_0x58f142(0x186)](_0xf56ccd[_0x58f142(0x320)],_0xf56ccd[_0x58f142(0x30e)]),_0x1c53dc=_0x201180[_0x58f142(0x355)][_0x58f142(0x344)](_0x231aa3,_0x3baf64+0x1),_0x4a722c=_0x1c53dc[_0x58f142(0x2fc)]((_0x957321,_0x4a0ccd)=>_0x957321+_0x4a0ccd[_0x58f142(0x364)][_0x58f142(0x192)]['v'],0x0)/_0x1c53dc['length'];return _0x1c53dc[_0x58f142(0x20d)](_0x41c541=>{const _0x439b10=_0x58f142;_0x41c541[_0x439b10(0x364)][_0x439b10(0x192)]['v']=_0x4a722c;}),{'nextDocumentData':_0x32139e};}function _0x39be86(_0x7628e5){const _0x5a97fc=_0x2122c9;var _0x2fccab;let _0x5e8822=_0x27cc88(_0x7628e5[_0x5a97fc(0x207)],{'cloneBody':!0x1,'tableIds':[_0x7628e5[_0x5a97fc(0x350)]]}),_0x499f06=(_0x2fccab=_0x5e8822['tableSource'])==null||(_0x2fccab=_0x2fccab[_0x7628e5[_0x5a97fc(0x350)]])==null?void 0x0:_0x2fccab[_0x5a97fc(0x184)][_0x7628e5['row']];if(!_0x499f06)throw Error('[DocsTable]:\x20Row\x20'+_0x7628e5[_0x5a97fc(0x341)]+_0x5a97fc(0x376));return _0x499f06[_0x5a97fc(0x210)]={'hRule':_0x2e794e['TableRowHeightRule'][_0x5a97fc(0x250)],'val':{'v':Math['max'](0x1,_0x7628e5[_0x5a97fc(0x24d)])}},{'nextDocumentData':_0x5e8822};}function _0x5f4a99(_0x49eb79){const _0x57dd7f=_0x2122c9;var _0x2980c3;let _0x36942=_0x27cc88(_0x49eb79[_0x57dd7f(0x207)],{'cloneBody':!0x1,'tableIds':[_0x49eb79[_0x57dd7f(0x350)]]}),_0x328825=(_0x2980c3=_0x36942[_0x57dd7f(0x1f4)])==null||(_0x2980c3=_0x2980c3[_0x49eb79[_0x57dd7f(0x350)]])==null?void 0x0:_0x2980c3[_0x57dd7f(0x355)][_0x49eb79[_0x57dd7f(0x1b4)]];if(!_0x328825)throw Error(_0x57dd7f(0x1f8)+_0x49eb79[_0x57dd7f(0x1b4)]+_0x57dd7f(0x376));return _0x328825[_0x57dd7f(0x364)][_0x57dd7f(0x192)]['v']=Math[_0x57dd7f(0x186)](0x1,_0x49eb79['width']),{'nextDocumentData':_0x36942};}function _0x309e13(_0xb04f0d){const _0x2c0478=_0x2122c9;var _0x50e53f;if(_0xb04f0d[_0x2c0478(0x1df)]!=null)return _0x54f082(_0xb04f0d);let _0x51ecd7=_0x27cc88(_0xb04f0d[_0x2c0478(0x207)],{'cloneBody':!0x1,'tableIds':[_0xb04f0d[_0x2c0478(0x350)]]}),_0x1a9d72=(_0x50e53f=_0x51ecd7[_0x2c0478(0x1f4)])==null?void 0x0:_0x50e53f[_0xb04f0d[_0x2c0478(0x350)]];if(!_0x1a9d72)throw Error('[DocsTable]:\x20Table\x20'+_0xb04f0d['tableId']+_0x2c0478(0x376));return _0x1a9d72['textWrap']=_0x2e794e['TableTextWrapType'][_0x2c0478(0x256)],_0x1a9d72[_0x2c0478(0x21f)][_0x2c0478(0x30b)][_0x2c0478(0x32e)]=(_0x1a9d72[_0x2c0478(0x21f)][_0x2c0478(0x30b)][_0x2c0478(0x32e)]??0x0)+(_0xb04f0d[_0x2c0478(0x1dd)]??0x0),_0x1a9d72[_0x2c0478(0x21f)][_0x2c0478(0x377)][_0x2c0478(0x32e)]=(_0x1a9d72['position']['positionV']['posOffset']??0x0)+(_0xb04f0d[_0x2c0478(0x1e6)]??0x0),{'nextDocumentData':_0x51ecd7};}function _0x54f082(_0x5cb766){const _0x5c0fa9=_0x2122c9;var _0x348671;let _0x6e5f18=_0x27cc88(_0x5cb766[_0x5c0fa9(0x207)],{'tableIds':[_0x5cb766[_0x5c0fa9(0x350)]]}),_0x5dd547=_0x6e5f18[_0x5c0fa9(0x181)],_0x2e0ead=(_0x348671=_0x6e5f18[_0x5c0fa9(0x1f4)])==null?void 0x0:_0x348671[_0x5cb766[_0x5c0fa9(0x350)]],_0x4c4e95=_0x16cada(_0x6e5f18,_0x5cb766[_0x5c0fa9(0x350)]);if(!(_0x5dd547!=null&&_0x5dd547[_0x5c0fa9(0x245)])||!_0x5dd547[_0x5c0fa9(0x1a3)]||!_0x2e0ead||!_0x4c4e95||_0x5cb766['targetOffset']==null)throw Error(_0x5c0fa9(0x36e)+_0x5cb766[_0x5c0fa9(0x350)]+_0x5c0fa9(0x30a));let _0x48d959=_0x4c4e95[_0x5c0fa9(0x1d4)],_0x2a2c32=_0x4c4e95[_0x5c0fa9(0x29b)],_0x2946f4=_0x5dd547[_0x5c0fa9(0x245)][_0x5c0fa9(0x344)](_0x48d959,_0x2a2c32),_0x4faee4=_0x2946f4[_0x5c0fa9(0x1d0)],_0x221fc2=_0x7adc8(_0x5cb766[_0x5c0fa9(0x1df)],0x0,_0x5dd547[_0x5c0fa9(0x245)][_0x5c0fa9(0x1d0)]);if(_0x221fc2>=_0x48d959&&_0x221fc2<=_0x2a2c32||!_0x247dc4(_0x5dd547,_0x5cb766[_0x5c0fa9(0x350)],_0x221fc2))return{'nextDocumentData':_0x6e5f18};let _0x25618c=_0x221fc2>_0x2a2c32?_0x221fc2-_0x4faee4:_0x221fc2,_0x4b6421=_0x5dd547[_0x5c0fa9(0x245)][_0x5c0fa9(0x344)](0x0,_0x48d959)+_0x5dd547[_0x5c0fa9(0x245)][_0x5c0fa9(0x344)](_0x2a2c32);return _0x5dd547[_0x5c0fa9(0x245)]=_0x4b6421[_0x5c0fa9(0x344)](0x0,_0x25618c)+_0x2946f4+_0x4b6421[_0x5c0fa9(0x344)](_0x25618c),_0x5dd547[_0x5c0fa9(0x1a3)]=_0x5dd547[_0x5c0fa9(0x1a3)][_0x5c0fa9(0x37a)](_0x30732e=>_0x30732e[_0x5c0fa9(0x350)]===_0x5cb766['tableId']?{..._0x30732e,'startIndex':_0x25618c,'endIndex':_0x25618c+_0x4faee4}:{..._0x30732e,'startIndex':_0x20d153(_0x30732e['startIndex'],_0x48d959,_0x2a2c32,_0x221fc2,_0x25618c,_0x4faee4),'endIndex':_0x20d153(_0x30732e[_0x5c0fa9(0x19f)],_0x48d959,_0x2a2c32,_0x221fc2,_0x25618c,_0x4faee4)})['sort']((_0x50d12b,_0x3e19f6)=>_0x50d12b['startIndex']-_0x3e19f6[_0x5c0fa9(0x1d1)]),_0x4b515a(_0x5dd547,_0x48d959,_0x2a2c32,_0x221fc2,_0x25618c,_0x4faee4),_0x2e0ead[_0x5c0fa9(0x1db)]=_0x2e794e[_0x5c0fa9(0x17c)]['NONE'],_0x2e0ead['position'][_0x5c0fa9(0x30b)][_0x5c0fa9(0x32e)]=0x0,_0x2e0ead[_0x5c0fa9(0x21f)][_0x5c0fa9(0x377)]['posOffset']=0x0,{'nextDocumentData':_0x6e5f18};}function _0x247dc4(_0x2ea9b2,_0xf7de9d,_0x2afd23){const _0x757edb=_0x2122c9;return!(_0x3ec309(_0x2ea9b2['tables'],_0xf7de9d,_0x2afd23)||_0x287de8(_0x2ea9b2[_0x757edb(0x1b9)],_0x2afd23)||_0x2714ff(_0x2ea9b2['customBlocks'],_0x2afd23));}function _0x3ec309(_0x43a1f2,_0x2a24ba,_0x4e2008){const _0xc28e81=_0x2122c9;return!!(_0x43a1f2!=null&&_0x43a1f2[_0xc28e81(0x17b)](_0xbba353=>_0xbba353['tableId']!==_0x2a24ba&&_0xbba353[_0xc28e81(0x1d1)]<=_0x4e2008&&_0x4e2008<_0xbba353[_0xc28e81(0x19f)]));}function _0x287de8(_0x11e0f7,_0x34dc61){const _0x1536ab=_0x2122c9;return!!(_0x11e0f7!=null&&_0x11e0f7['some'](_0x8f6a80=>_0x8f6a80[_0x1536ab(0x1d1)]<=_0x34dc61&&_0x34dc61<=_0x8f6a80[_0x1536ab(0x19f)]));}function _0x2714ff(_0x393c5c,_0x7dfea5){const _0x1d199e=_0x2122c9;return!!(_0x393c5c!=null&&_0x393c5c[_0x1d199e(0x17b)](_0x4b71ef=>_0x4b71ef['startIndex']===_0x7dfea5));}function _0x4b515a(_0x15a029,_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114){const _0x407f24=_0x2122c9;var _0x1e2db9,_0x44c730,_0x541ed4,_0x46f4a8,_0x1cabb8,_0x4fff75,_0x423847,_0x56a958;let _0x3388a6=_0x4c3c57(_0x15a029);_0x15a029[_0x407f24(0x1cf)]=(_0x1e2db9=_0x15a029['paragraphs'])==null?void 0x0:_0x1e2db9[_0x407f24(0x37a)](_0x5bdb34=>({..._0x5bdb34,'startIndex':_0x20d153(_0x5bdb34[_0x407f24(0x1d1)],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114)}))[_0x407f24(0x179)]((_0x511614,_0x57c60d)=>_0x511614[_0x407f24(0x1d1)]-_0x57c60d[_0x407f24(0x1d1)]),_0x15a029[_0x407f24(0x196)]=(_0x44c730=_0x15a029[_0x407f24(0x196)])==null?void 0x0:_0x44c730[_0x407f24(0x37a)](_0x122516=>({..._0x122516,'startIndex':_0x20d153(_0x122516[_0x407f24(0x1d1)],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114)}))[_0x407f24(0x179)]((_0x31604c,_0x511cef)=>_0x31604c['startIndex']-_0x511cef[_0x407f24(0x1d1)]),_0x15a029[_0x407f24(0x1c9)]=(_0x541ed4=_0x15a029[_0x407f24(0x1c9)])==null?void 0x0:_0x541ed4['map'](_0x194370=>({..._0x194370,'startIndex':_0x20d153(_0x194370['startIndex'],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114)}))[_0x407f24(0x179)]((_0x41a632,_0x3d8f85)=>_0x41a632[_0x407f24(0x1d1)]-_0x3d8f85[_0x407f24(0x1d1)]),_0x15a029[_0x407f24(0x1b9)]=(_0x46f4a8=_0x15a029[_0x407f24(0x1b9)])==null?void 0x0:_0x46f4a8[_0x407f24(0x37a)](_0x125e25=>({..._0x125e25,'startIndex':_0x20d153(_0x125e25['startIndex'],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114),'endIndex':_0x20d153(_0x125e25[_0x407f24(0x19f)],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114)}))[_0x407f24(0x179)]((_0x3d9b92,_0x59d03e)=>_0x3d9b92[_0x407f24(0x1d1)]-_0x59d03e[_0x407f24(0x1d1)]),_0x15a029['textRuns']=(_0x1cabb8=_0x15a029[_0x407f24(0x2a3)])==null?void 0x0:_0x1cabb8['map'](_0x3fea38=>({..._0x3fea38,'st':_0x20d153(_0x3fea38['st'],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114),'ed':_0x20d153(_0x3fea38['ed'],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114)}))[_0x407f24(0x179)]((_0x4c2306,_0x2754ad)=>_0x4c2306['st']-_0x2754ad['st']),_0x15a029[_0x407f24(0x18c)]=(_0x4fff75=_0x15a029[_0x407f24(0x18c)])==null?void 0x0:_0x4fff75['map'](_0x2062ef=>({..._0x2062ef,'startIndex':_0x20d153(_0x2062ef[_0x407f24(0x1d1)],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114),'endIndex':_0x20d153(_0x2062ef[_0x407f24(0x19f)],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114)}))[_0x407f24(0x179)]((_0x12c31b,_0x3df825)=>_0x12c31b[_0x407f24(0x1d1)]-_0x3df825['startIndex']),_0x15a029[_0x407f24(0x19e)]=(_0x423847=_0x15a029[_0x407f24(0x19e)])==null?void 0x0:_0x423847[_0x407f24(0x37a)](_0x4ac215=>({..._0x4ac215,'startIndex':_0x20d153(_0x4ac215['startIndex'],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114),'endIndex':_0x20d153(_0x4ac215[_0x407f24(0x19f)],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114)}))[_0x407f24(0x179)]((_0x55acff,_0x488341)=>_0x55acff['startIndex']-_0x488341[_0x407f24(0x1d1)]),_0x3388a6[_0x407f24(0x240)]=(_0x56a958=_0x3388a6['columnGroups'])==null?void 0x0:_0x56a958[_0x407f24(0x37a)](_0xf2cb6d=>({..._0xf2cb6d,'startIndex':_0x20d153(_0xf2cb6d['startIndex'],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114),'endIndex':_0x20d153(_0xf2cb6d[_0x407f24(0x19f)],_0x4dae68,_0x1e6b3e,_0x3e81ff,_0x35ca7a,_0x302114)}))[_0x407f24(0x179)]((_0x5c508b,_0x12e772)=>_0x5c508b[_0x407f24(0x1d1)]-_0x12e772[_0x407f24(0x1d1)]);}function _0x20d153(_0x389fa4,_0x206729,_0x15ae06,_0x1240e1,_0x3c87e7,_0x56f8e5){return _0x389fa4>=_0x206729&&_0x389fa4<_0x15ae06?_0x3c87e7+_0x389fa4-_0x206729:_0x1240e1<_0x206729&&_0x389fa4>=_0x1240e1&&_0x389fa4<_0x206729?_0x389fa4+_0x56f8e5:_0x1240e1>_0x15ae06&&_0x389fa4>=_0x15ae06&&_0x389fa4<_0x1240e1?_0x389fa4-_0x56f8e5:_0x389fa4;}function _0x7adc8(_0x56fd78,_0x2db3b2,_0x5049ec){const _0x2fc6e9=_0x2122c9;return Math[_0x2fc6e9(0x183)](Math[_0x2fc6e9(0x186)](_0x56fd78,_0x2db3b2),_0x5049ec);}function _0x52fad1(_0x59fa3e,_0x6f8d83){var _0x11fe40;return((_0x11fe40=_0x42a72e(_0x59fa3e)['tables'][_0x6f8d83])==null?void 0x0:_0x11fe40['headerRowCount'])??0x0;}function _0x2749ed(_0x5eec07){const _0x39210c=_0x2122c9;var _0x3d2f38;return((_0x3d2f38=_0x5eec07['trHeight'])==null||(_0x3d2f38=_0x3d2f38[_0x39210c(0x23f)])==null?void 0x0:_0x3d2f38['v'])??0x0;}let _0x5120a8=function(_0x2c14f9){const _0x1fe8ed=_0x2122c9;return _0x2c14f9[_0x1fe8ed(0x224)]=_0x1fe8ed(0x329),_0x2c14f9[_0x1fe8ed(0x29e)]=_0x1fe8ed(0x1b0),_0x2c14f9[_0x1fe8ed(0x1b1)]=_0x1fe8ed(0x21e),_0x2c14f9[_0x1fe8ed(0x30f)]=_0x1fe8ed(0x316),_0x2c14f9[_0x1fe8ed(0x216)]=_0x1fe8ed(0x20b),_0x2c14f9;}({}),_0x1e0adf=function(_0xbc96ba){const _0x5e63e7=_0x2122c9;return _0xbc96ba[_0x5e63e7(0x2b4)]=_0x5e63e7(0x1aa),_0xbc96ba['Text']='text',_0xbc96ba[_0x5e63e7(0x305)]=_0x5e63e7(0x359),_0xbc96ba[_0x5e63e7(0x1d6)]='range',_0xbc96ba[_0x5e63e7(0x21c)]=_0x5e63e7(0x341),_0xbc96ba[_0x5e63e7(0x2c3)]=_0x5e63e7(0x1b4),_0xbc96ba['Table']=_0x5e63e7(0x340),_0xbc96ba;}({}),_0x2e6ac9=function(_0x2b8ee4){const _0x541d21=_0x2122c9;return _0x2b8ee4[_0x541d21(0x293)]=_0x541d21(0x1eb),_0x2b8ee4[_0x541d21(0x263)]=_0x541d21(0x294),_0x2b8ee4['Text']='text',_0x2b8ee4;}({}),_0x53ec0c=function(_0x1b16e9){const _0x5e6813=_0x2122c9;return _0x1b16e9[_0x5e6813(0x32c)]='asc',_0x1b16e9[_0x5e6813(0x339)]=_0x5e6813(0x1af),_0x1b16e9;}({});function _0x102a74(_0x459191){const _0x1f6d54=_0x2122c9;var _0x1dc9bd,_0x55c5be;let _0x1d69b5=_0x53e882(_0x459191),_0x89373c=_0x27cc88(_0x459191['documentData'],{'tableIds':[_0x459191['tableId']]}),_0x5098e4=(_0x1dc9bd=_0x89373c['tableSource'])==null?void 0x0:_0x1dc9bd[_0x459191['tableId']],_0x5b8011=_0x16cada(_0x89373c,_0x459191[_0x1f6d54(0x350)]);if(!_0x5098e4||!_0x5b8011||!((_0x55c5be=_0x89373c['body'])!=null&&_0x55c5be['dataStream']))throw Error('[DocsTable]:\x20Table\x20'+_0x459191[_0x1f6d54(0x350)]+_0x1f6d54(0x376));let _0x14f45b=_0x1d69b5['sortedRowIndexes'][_0x1f6d54(0x37a)](_0x437cac=>_0x5098e4[_0x1f6d54(0x184)][_0x437cac]);_0x5098e4[_0x1f6d54(0x184)]['splice'](_0x1d69b5[_0x1f6d54(0x2ae)],_0x14f45b[_0x1f6d54(0x1d0)],..._0x14f45b);let _0x250a7e=_0x89373c[_0x1f6d54(0x181)][_0x1f6d54(0x245)][_0x1f6d54(0x344)](_0x5b8011[_0x1f6d54(0x1d4)],_0x5b8011[_0x1f6d54(0x29b)]),_0x3e9bd9=_0x5b8011[_0x1f6d54(0x21b)][_0x1f6d54(0x344)](0x0,_0x1d69b5[_0x1f6d54(0x2ae)])['map'](_0x3edb48=>_0x89373c[_0x1f6d54(0x181)]['dataStream'][_0x1f6d54(0x344)](_0x3edb48['startOffset'],_0x3edb48['endOffset']+0x1))[_0x1f6d54(0x220)](''),_0x4401dc=_0x1d69b5[_0x1f6d54(0x2fd)][_0x1f6d54(0x37a)](_0x370303=>{const _0x2b6434=_0x1f6d54;let _0x43d038=_0x5b8011[_0x2b6434(0x21b)][_0x370303];return _0x89373c[_0x2b6434(0x181)]['dataStream'][_0x2b6434(0x344)](_0x43d038[_0x2b6434(0x1d4)],_0x43d038['endOffset']+0x1);})[_0x1f6d54(0x220)](''),_0x7f8046=''+_0x250a7e[0x0]+_0x3e9bd9+_0x4401dc+_0x250a7e[_0x250a7e[_0x1f6d54(0x1d0)]-0x1];return _0x89373c[_0x1f6d54(0x181)][_0x1f6d54(0x245)]=''+_0x89373c['body'][_0x1f6d54(0x245)][_0x1f6d54(0x344)](0x0,_0x5b8011['startOffset'])+_0x7f8046+_0x89373c[_0x1f6d54(0x181)][_0x1f6d54(0x245)][_0x1f6d54(0x344)](_0x5b8011[_0x1f6d54(0x29b)]),{'nextDocumentData':_0x89373c};}function _0x53e882(_0x4095cf){const _0x48af84=_0x2122c9;var _0x3acaeb,_0x5975a5,_0x11a1ee;let _0x30fae0=(_0x3acaeb=_0x4095cf[_0x48af84(0x207)][_0x48af84(0x1f4)])==null?void 0x0:_0x3acaeb[_0x4095cf['tableId']],_0x2922bb=_0x16cada(_0x4095cf[_0x48af84(0x207)],_0x4095cf['tableId']),_0x522415=(_0x5975a5=_0x4095cf['documentData'][_0x48af84(0x181)])==null?void 0x0:_0x5975a5[_0x48af84(0x245)];if(!_0x30fae0||!_0x2922bb||!_0x522415)throw Error('[DocsTable]:\x20Table\x20is\x20not\x20found.');_0x3251c7(_0x30fae0[_0x48af84(0x184)]);let _0x2f7c66=_0x42a72e(_0x4095cf['metadata'])['tables'][_0x4095cf[_0x48af84(0x350)]],_0x4ffea7=(_0x2f7c66!=null&&_0x2f7c66[_0x48af84(0x35e)]?0x1:0x0)+_0x52fad1(_0x4095cf['metadata'],_0x4095cf['tableId']),_0xe5520f=Math['min'](_0x4ffea7,_0x30fae0[_0x48af84(0x184)][_0x48af84(0x1d0)]),_0x13284a=(_0x2f7c66==null||(_0x11a1ee=_0x2f7c66['columnTypes'])==null||(_0x11a1ee=_0x11a1ee[_0x4095cf[_0x48af84(0x1b4)]])==null?void 0x0:_0x11a1ee['type'])??'text',_0x298f33=_0x2922bb[_0x48af84(0x21b)]['slice'](_0xe5520f)[_0x48af84(0x37a)]((_0x26eec4,_0x3ffde2)=>{const _0x496161=_0x48af84;let _0x3c984d=_0x26eec4['cells'][_0x4095cf[_0x496161(0x1b4)]];return{'index':_0xe5520f+_0x3ffde2,'value':_0x3c984d?_0x522415[_0x496161(0x344)](_0x3c984d[_0x496161(0x1d4)]+0x1,_0x3c984d[_0x496161(0x29b)])['trim']():''};});return _0x298f33[_0x48af84(0x179)]((_0x5720cc,_0x484f1f)=>_0x3eb0d2(_0x5720cc,_0x484f1f,_0x13284a,_0x4095cf[_0x48af84(0x252)])),{'sortStartRow':_0xe5520f,'sortedRowIndexes':_0x298f33[_0x48af84(0x37a)](_0x344416=>_0x344416[_0x48af84(0x2a1)])};}function _0x3251c7(_0x2d1e43){const _0x1a546c=_0x2122c9;if(_0x2d1e43[_0x1a546c(0x17b)](_0x55f0db=>_0x55f0db[_0x1a546c(0x217)]['some'](_0x48897a=>_0xaed98f(_0x48897a))))throw Error(_0x1a546c(0x24b));}function _0xaed98f(_0x19ed28){const _0x48c67d=_0x2122c9;return(_0x19ed28[_0x48c67d(0x288)]??0x1)>0x1||_0x19ed28[_0x48c67d(0x288)]===0x0;}function _0x3eb0d2(_0x156746,_0x5245bf,_0x45feef,_0x811583){const _0x42694e=_0x2122c9;let _0x52d905=_0x811583===_0x42694e(0x300)?0x1:-0x1,_0x4c413e=_0xfbe44e(_0x156746['value'],_0x5245bf['value'],_0x45feef);return _0x4c413e===0x0?_0x156746[_0x42694e(0x2a1)]-_0x5245bf[_0x42694e(0x2a1)]:_0x4c413e*_0x52d905;}function _0xfbe44e(_0x55df66,_0x36ddfd,_0x319991){const _0x34af4d=_0x2122c9;return _0x319991==='number'?_0x5aa543(_0x55df66)-_0x5aa543(_0x36ddfd):_0x319991===_0x34af4d(0x21e)?_0x320403(_0x55df66)-_0x320403(_0x36ddfd):_0x319991==='checkbox'?_0x2662bc(_0x55df66)-_0x2662bc(_0x36ddfd):_0x55df66['localeCompare'](_0x36ddfd);}function _0x5aa543(_0x50eb15){const _0x5b4357=_0x2122c9;let _0x346fc3=Number(_0x50eb15);return Number[_0x5b4357(0x2c7)](_0x346fc3)?_0x346fc3:0x1/0x0;}function _0x320403(_0x31e732){const _0x2593c2=_0x2122c9;let _0x5b0a62=Date[_0x2593c2(0x24f)](_0x31e732);return Number['isNaN'](_0x5b0a62)?0x1/0x0:_0x5b0a62;}function _0x2662bc(_0x2f22a4){const _0x4ceb77=_0x2122c9;return+!![_0x4ceb77(0x332),'1',_0x4ceb77(0x372),_0x4ceb77(0x292)]['includes'](_0x2f22a4[_0x4ceb77(0x270)]());}function _0x41d530(_0x2a3c0e){'@babel/helpers - typeof';const _0x386f0b=_0x2122c9;return _0x41d530=typeof Symbol==_0x386f0b(0x1e3)&&typeof Symbol['iterator']==_0x386f0b(0x357)?function(_0x3072d3){return typeof _0x3072d3;}:function(_0x5f3767){const _0x4b8ee1=_0x386f0b;return _0x5f3767&&typeof Symbol==_0x4b8ee1(0x1e3)&&_0x5f3767[_0x4b8ee1(0x1ee)]===Symbol&&_0x5f3767!==Symbol[_0x4b8ee1(0x16b)]?_0x4b8ee1(0x357):typeof _0x5f3767;},_0x41d530(_0x2a3c0e);}function _0x532f6e(_0x5dcd51,_0x3ef9a2){const _0x3df57b=_0x2122c9;if(_0x41d530(_0x5dcd51)!=_0x3df57b(0x185)||!_0x5dcd51)return _0x5dcd51;var _0x16b85b=_0x5dcd51[Symbol[_0x3df57b(0x311)]];if(_0x16b85b!==void 0x0){var _0x24c0a7=_0x16b85b[_0x3df57b(0x34e)](_0x5dcd51,_0x3ef9a2||_0x3df57b(0x32a));if(_0x41d530(_0x24c0a7)!=_0x3df57b(0x185))return _0x24c0a7;throw TypeError(_0x3df57b(0x195));}return(_0x3ef9a2==='string'?String:Number)(_0x5dcd51);}function _0x10a9be(_0x44957f){const _0xf4bb51=_0x2122c9;var _0x380ef2=_0x532f6e(_0x44957f,_0xf4bb51(0x182));return _0x41d530(_0x380ef2)==_0xf4bb51(0x357)?_0x380ef2:_0x380ef2+'';}function _0x45bb96(_0x97f3ce,_0x32dd45,_0x49952b){const _0x498c6e=_0x2122c9;return(_0x32dd45=_0x10a9be(_0x32dd45))in _0x97f3ce?Object[_0x498c6e(0x335)](_0x97f3ce,_0x32dd45,{'value':_0x49952b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x97f3ce[_0x32dd45]=_0x49952b,_0x97f3ce;}var _0x4e0e05=class extends _0x2e794e[_0x2122c9(0x314)]{constructor(..._0x393419){const _0x56e801=_0x2122c9;super(..._0x393419),_0x45bb96(this,_0x56e801(0x1ba),new Map()),_0x45bb96(this,_0x56e801(0x208),new _0x48509a[(_0x56e801(0x32b))]()),_0x45bb96(this,_0x56e801(0x27e),this['_change$']['asObservable']());}[_0x2122c9(0x36c)](_0x306892,_0x4a8e03){const _0x10cc1c=_0x2122c9;var _0x556e0f;let _0x91fc3d=(_0x556e0f=this['_resources']['get'](_0x306892))==null?void 0x0:_0x556e0f[_0x10cc1c(0x1a3)][_0x4a8e03];if(_0x91fc3d)return _0x42a72e({'tables':{[_0x4a8e03]:_0x91fc3d}})['tables'][_0x4a8e03];}[_0x2122c9(0x33c)](_0x365345,_0x468fdc){const _0x28fff8=_0x2122c9;return _0x87e863(_0x468fdc,this[_0x28fff8(0x36c)](_0x365345,_0x468fdc[_0x28fff8(0x350)]));}[_0x2122c9(0x313)](_0x5abcf9,_0x356ef1){const _0x1b6b94=_0x2122c9;return _0x2001a8(_0x356ef1,this[_0x1b6b94(0x2d0)](_0x5abcf9));}['setHeaderRowCount'](_0xdd0e3e,_0x28c8c4,_0x45c6aa){const _0x5378e6=_0x2122c9;this[_0x5378e6(0x230)](_0xdd0e3e,_0x28c8c4,_0x55d79a(this[_0x5378e6(0x1ba)]['get'](_0xdd0e3e),_0x28c8c4,_0x45c6aa));}[_0x2122c9(0x29f)](_0x29d380,_0x2fafb4,_0x4766fc){const _0x36c42c=_0x2122c9;this[_0x36c42c(0x230)](_0x29d380,_0x2fafb4,_0x178920(this['_resources'][_0x36c42c(0x1ac)](_0x29d380),_0x2fafb4,_0x4766fc));}[_0x2122c9(0x2ff)](_0x425b4,_0x20a3a4,_0x58876b,_0x3d4f41){const _0x3d5b39=_0x2122c9;this[_0x3d5b39(0x230)](_0x425b4,_0x20a3a4,_0x10215e(this[_0x3d5b39(0x1ba)][_0x3d5b39(0x1ac)](_0x425b4),_0x20a3a4,_0x58876b,_0x3d4f41));}[_0x2122c9(0x2d0)](_0x140d04){const _0xb455ff=_0x2122c9;return _0x42a72e(this[_0xb455ff(0x1ba)][_0xb455ff(0x1ac)](_0x140d04));}[_0x2122c9(0x2c0)](_0x4bb1a2,_0x4f67d5){const _0xf2826c=_0x2122c9;this['_resources']['set'](_0x4bb1a2,_0x42a72e(_0x4f67d5)),this[_0xf2826c(0x208)][_0xf2826c(0x1e2)]({'unitId':_0x4bb1a2});}['removeUnit'](_0x553aaf){const _0x9a239a=_0x2122c9;this[_0x9a239a(0x1ba)]['delete'](_0x553aaf),this[_0x9a239a(0x208)][_0x9a239a(0x1e2)]({'unitId':_0x553aaf});}[_0x2122c9(0x362)](){const _0x59a1ca=_0x2122c9;super[_0x59a1ca(0x362)](),this[_0x59a1ca(0x1ba)][_0x59a1ca(0x2ac)](),this['_change$'][_0x59a1ca(0x214)]();}['_setResource'](_0x21268f,_0x4f6bcb,_0x1b2cab){const _0x519664=_0x2122c9;this['_resources']['set'](_0x21268f,_0x1b2cab),this[_0x519664(0x208)][_0x519664(0x1e2)]({'unitId':_0x21268f,'tableId':_0x4f6bcb});}};let _0x8defbd={'id':_0x2122c9(0x2b3),'type':_0x2e794e['CommandType'][_0x2122c9(0x295)],'handler':(_0x122b96,_0x2b7d98)=>{const _0x6e338b=_0x2122c9;let _0x80b5ea=_0x2b7d98&&_0x122b96[_0x6e338b(0x1ac)](_0x2e794e['IUniverInstanceService'])[_0x6e338b(0x24a)](_0x2b7d98['unitId'],_0x2e794e[_0x6e338b(0x262)][_0x6e338b(0x2dc)]);if(!_0x80b5ea||_0x80b5ea[_0x6e338b(0x1ff)]()||!_0x80b5ea[_0x6e338b(0x1fd)]())return!0x1;let _0x32795a=_0x80b5ea[_0x6e338b(0x2e5)]()['tableSource']??{},_0x43c43f=_0x122b96[_0x6e338b(0x1ac)](_0x4e0e05),_0x464674=Object[_0x6e338b(0x2a2)](_0x32795a)[_0x6e338b(0x2fc)]((_0x9e79a7,_0x19703c)=>_0x2e794e['JSONX'][_0x6e338b(0x319)](_0x9e79a7,_0x30ab40(_0x19703c,_0x43c43f['getTableMetadata'](_0x2b7d98[_0x6e338b(0x1a6)],_0x19703c['tableId']))),null),_0x5da82f=_0x122b96['get'](_0x2e794e[_0x6e338b(0x1c5)]);if(!_0x2e794e[_0x6e338b(0x2fe)][_0x6e338b(0x1d7)](_0x464674)){let _0x485867={'unitId':_0x2b7d98[_0x6e338b(0x1a6)],'actions':_0x464674,'textRanges':null,'noNeedSetTextRange':!0x0,'trigger':void 0x0},_0x36131f=_0x5da82f[_0x6e338b(0x2d4)](_0x336bc1=>{const _0x2ff126=_0x6e338b;_0x336bc1['id']===_0x3df5e7[_0x2ff126(0x2e3)]['id']&&_0x336bc1[_0x2ff126(0x1d8)]===_0x485867&&(_0x485867['trigger']=void 0x0);});try{if(!_0x5da82f[_0x6e338b(0x22f)](_0x3df5e7[_0x6e338b(0x2e3)]['id'],_0x485867))return!0x1;}finally{_0x36131f[_0x6e338b(0x362)]();}}let _0x20d8bd=_0x5da82f[_0x6e338b(0x22f)](_0x3df5e7[_0x6e338b(0x2e3)]['id'],{..._0x2b7d98,'actions':_0x2b7d98['actions'],'trigger':_0x8defbd['id']});return _0x20d8bd!==!0x1&&_0x20d8bd[_0x6e338b(0x22a)]!=null&&_0x20d8bd['actions'][_0x6e338b(0x1d0)]>0x0;}};function _0x42335f(_0x5966a8,_0x1a1827){const _0x250b4b=_0x2122c9;return(_0x5966a8==null?void 0x0:_0x5966a8[_0x250b4b(0x366)])??(_0x1a1827==null?void 0x0:_0x1a1827[_0x250b4b(0x366)])??'';}function _0x282710(_0x224e37,_0x3daf86){const _0x2c9992=_0x2122c9;let _0x274265=(_0x224e37==null?void 0x0:_0x224e37[_0x2c9992(0x18a)])??(_0x3daf86==null?void 0x0:_0x3daf86['startRow']),_0x378365=(_0x224e37==null?void 0x0:_0x224e37[_0x2c9992(0x25a)])??(_0x3daf86==null?void 0x0:_0x3daf86[_0x2c9992(0x25a)]),_0x25ce6a=(_0x224e37==null?void 0x0:_0x224e37[_0x2c9992(0x320)])??(_0x3daf86==null?void 0x0:_0x3daf86[_0x2c9992(0x320)]),_0x53db41=(_0x224e37==null?void 0x0:_0x224e37[_0x2c9992(0x30e)])??(_0x3daf86==null?void 0x0:_0x3daf86[_0x2c9992(0x30e)]);return _0x274265==null||_0x378365==null||_0x25ce6a==null||_0x53db41==null?null:{'endColumn':_0x53db41,'endRow':_0x378365,'startColumn':_0x25ce6a,'startRow':_0x274265};}function _0x150440(_0x464a02,_0x5d64d0=''){const _0x722af4=_0x2122c9;var _0x21a2ed,_0x25211f;let _0x3d7482=_0x464a02[_0x722af4(0x2e5)]();if(!_0x5d64d0||(_0x21a2ed=_0x3d7482[_0x722af4(0x181)])!=null&&(_0x21a2ed=_0x21a2ed[_0x722af4(0x1a3)])!=null&&_0x21a2ed[_0x722af4(0x17b)](_0x31f701=>_0x31f701['tableId']===_0x5d64d0))return _0x3d7482;let _0x5f74c8=(_0x25211f=_0x464a02['getSelfOrHeaderFooterModel'](_0x5d64d0))==null?void 0x0:_0x25211f[_0x722af4(0x2e5)]();return _0x5f74c8?{..._0x5f74c8,'documentStyle':_0x3d7482[_0x722af4(0x2cf)],'drawings':_0x3d7482['drawings'],'drawingsOrder':_0x3d7482[_0x722af4(0x32f)],'tableSource':_0x3d7482['tableSource']}:null;}function _0x84adb6(_0x4ce987,_0x287619,_0x5e1ea0,_0x542747){const _0x3970f6=_0x2122c9;return _0x1a6510(_0x5e1ea0,_0x542747)?null:_0x5e1ea0===void 0x0?_0x4ce987['insertOp'](_0x287619,_0x542747):_0x542747===void 0x0?_0x4ce987[_0x3970f6(0x371)](_0x287619,_0x5e1ea0):_0x4ce987[_0x3970f6(0x1d5)](_0x287619,_0x5e1ea0,_0x542747);}function _0x526a9d(_0x48d7a1,_0x1f1840,_0x555f86,_0xdbff95,_0x49b8d8){const _0x20bec2=_0x2122c9;var _0x3881d1,_0x20017e;let _0x1037e2=(_0x3881d1=_0x48d7a1[_0x20bec2(0x1f4)])==null?void 0x0:_0x3881d1[_0x1f1840];if(!(_0x1037e2!=null&&_0x1037e2[_0x20bec2(0x355)][_0x555f86]))return null;let _0x535e8a=_0x1037e2['tableColumns'][_0x20bec2(0x37a)]((_0x31c300,_0x1122ba)=>{let _0xbb7373=_0x1122ba===_0x555f86?_0xdbff95:_0x49b8d8==null?void 0x0:_0x49b8d8[_0x1122ba];return _0xbb7373==null?null:_0x10d5ca(_0x48d7a1,_0x1f1840,_0x1122ba,_0xbb7373);})[_0x20bec2(0x24e)](Boolean)[_0x20bec2(0x2fc)]((_0x51d24f,_0x4459c7)=>_0x2e794e[_0x20bec2(0x2fe)]['compose'](_0x51d24f,_0x4459c7),null);if(((_0x20017e=_0x1037e2[_0x20bec2(0x364)])==null?void 0x0:_0x20017e['type'])!==_0x2e794e[_0x20bec2(0x235)][_0x20bec2(0x22c)])return _0x535e8a;let _0xf8ca1f=_0x1037e2[_0x20bec2(0x355)][_0x20bec2(0x2fc)]((_0x819dfe,_0x4c945d,_0x15153a)=>{const _0x4a4249=_0x20bec2;var _0x1b4199;return _0x819dfe+(_0x15153a===_0x555f86?Math[_0x4a4249(0x186)](0x1,_0xdbff95):(_0x49b8d8==null?void 0x0:_0x49b8d8[_0x15153a])??((_0x1b4199=_0x4c945d['size'])==null||(_0x1b4199=_0x1b4199['width'])==null?void 0x0:_0x1b4199['v'])??0x0);},0x0),_0x3af4e4=_0x84adb6(_0x2e794e[_0x20bec2(0x2fe)][_0x20bec2(0x170)](),['tableSource',_0x1f1840,'size',_0x20bec2(0x192)],_0x1037e2['size'][_0x20bec2(0x192)],{'v':_0xf8ca1f});return _0x2e794e[_0x20bec2(0x2fe)]['compose'](_0x535e8a,_0x3af4e4);}function _0x10d5ca(_0x384aec,_0x2ec7a2,_0x5bfc11,_0xf5b96){const _0x5e0a44=_0x2122c9;var _0x23c1b7,_0x54e13c,_0x1e1f1f;let _0x5b43e6=(_0x23c1b7=_0x384aec[_0x5e0a44(0x1f4)])==null||(_0x23c1b7=_0x23c1b7[_0x2ec7a2])==null?void 0x0:_0x23c1b7[_0x5e0a44(0x355)][_0x5bfc11];if(!_0x5b43e6)return null;let _0x41e06c=Math[_0x5e0a44(0x186)](0x1,_0xf5b96);if(((_0x54e13c=_0x5b43e6[_0x5e0a44(0x364)])==null||(_0x54e13c=_0x54e13c[_0x5e0a44(0x192)])==null?void 0x0:_0x54e13c['v'])===_0x41e06c)return null;let _0x30c71f=_0x2e794e[_0x5e0a44(0x2fe)][_0x5e0a44(0x170)]();return _0x5b43e6[_0x5e0a44(0x364)]?_0x5b43e6[_0x5e0a44(0x364)][_0x5e0a44(0x192)]?_0x30c71f[_0x5e0a44(0x1d5)]([_0x5e0a44(0x1f4),_0x2ec7a2,_0x5e0a44(0x355),_0x5bfc11,_0x5e0a44(0x364),_0x5e0a44(0x192),'v'],(_0x1e1f1f=_0x5b43e6['size'])==null||(_0x1e1f1f=_0x1e1f1f[_0x5e0a44(0x192)])==null?void 0x0:_0x1e1f1f['v'],_0x41e06c):_0x30c71f[_0x5e0a44(0x30c)]([_0x5e0a44(0x1f4),_0x2ec7a2,_0x5e0a44(0x355),_0x5bfc11,_0x5e0a44(0x364),_0x5e0a44(0x192)],{'v':_0x41e06c}):_0x30c71f[_0x5e0a44(0x30c)](['tableSource',_0x2ec7a2,_0x5e0a44(0x355),_0x5bfc11,_0x5e0a44(0x364)],{'type':_0x2e794e[_0x5e0a44(0x235)]['SPECIFIED'],'width':{'v':_0x41e06c}});}function _0x4d9e48(_0x4963a2,_0x263340,_0x421e6d,_0x267ccc){const _0x11a5c8=_0x2122c9;var _0x3366d3,_0x323473,_0x5798de,_0x5cf1a0,_0x52f510;let _0x203a87=(_0x3366d3=_0x4963a2[_0x11a5c8(0x1f4)])==null?void 0x0:_0x3366d3[_0x263340];if(!_0x203a87)return null;let _0x5954c2=_0x2e794e[_0x11a5c8(0x2fe)][_0x11a5c8(0x170)]();return _0x45a977([_0x84adb6(_0x5954c2,[_0x11a5c8(0x1f4),_0x263340,'textWrap'],_0x203a87[_0x11a5c8(0x1db)],_0x2e794e[_0x11a5c8(0x17c)][_0x11a5c8(0x256)]),_0x84adb6(_0x5954c2,['tableSource',_0x263340,_0x11a5c8(0x21f),_0x11a5c8(0x30b),_0x11a5c8(0x32e)],(_0x323473=_0x203a87[_0x11a5c8(0x21f)])==null||(_0x323473=_0x323473[_0x11a5c8(0x30b)])==null?void 0x0:_0x323473[_0x11a5c8(0x32e)],(((_0x5798de=_0x203a87[_0x11a5c8(0x21f)])==null||(_0x5798de=_0x5798de['positionH'])==null?void 0x0:_0x5798de[_0x11a5c8(0x32e)])??0x0)+_0x421e6d),_0x84adb6(_0x5954c2,[_0x11a5c8(0x1f4),_0x263340,_0x11a5c8(0x21f),_0x11a5c8(0x377),_0x11a5c8(0x32e)],(_0x5cf1a0=_0x203a87[_0x11a5c8(0x21f)])==null||(_0x5cf1a0=_0x5cf1a0[_0x11a5c8(0x377)])==null?void 0x0:_0x5cf1a0[_0x11a5c8(0x32e)],(((_0x52f510=_0x203a87[_0x11a5c8(0x21f)])==null||(_0x52f510=_0x52f510[_0x11a5c8(0x377)])==null?void 0x0:_0x52f510[_0x11a5c8(0x32e)])??0x0)+_0x267ccc)][_0x11a5c8(0x24e)](Boolean));}function _0x3eb5f5(_0x4d73eb,_0x1b3c6f,_0x52eeb6,_0x5037a8=[_0x2122c9(0x181)]){const _0x30b0a6=_0x2122c9;var _0x446e71,_0x5181fa,_0x3f3860;let _0x2beac9=_0x4d73eb[_0x30b0a6(0x181)],_0x48779c=(_0x446e71=_0x4d73eb['tableSource'])==null?void 0x0:_0x446e71[_0x1b3c6f],_0x281bd2=_0x16cada(_0x4d73eb,_0x1b3c6f);if(!(_0x2beac9!=null&&_0x2beac9[_0x30b0a6(0x245)])||!_0x48779c||!_0x281bd2)return null;let _0xd9c558=Math[_0x30b0a6(0x183)](Math[_0x30b0a6(0x186)](_0x52eeb6,0x0),_0x2beac9[_0x30b0a6(0x245)][_0x30b0a6(0x1d0)]);if(_0xd9c558>=_0x281bd2['startOffset']&&_0xd9c558<=_0x281bd2[_0x30b0a6(0x29b)]||!_0x20ef84(_0x2beac9,_0x1b3c6f,_0xd9c558))return null;let _0x12ea5a=_0x599a09(_0x2beac9,_0x281bd2['startOffset'],_0x281bd2['endOffset'],_0xd9c558,_0x5037a8);if(!_0x12ea5a)return null;let _0x4f7139=_0x2e794e[_0x30b0a6(0x2fe)]['getInstance']();return _0x45a977([_0x12ea5a,_0x84adb6(_0x4f7139,[_0x30b0a6(0x1f4),_0x1b3c6f,'textWrap'],_0x48779c[_0x30b0a6(0x1db)],_0x2e794e['TableTextWrapType'][_0x30b0a6(0x1dc)]),_0x84adb6(_0x4f7139,[_0x30b0a6(0x1f4),_0x1b3c6f,'position',_0x30b0a6(0x30b),_0x30b0a6(0x32e)],(_0x5181fa=_0x48779c[_0x30b0a6(0x21f)])==null||(_0x5181fa=_0x5181fa[_0x30b0a6(0x30b)])==null?void 0x0:_0x5181fa[_0x30b0a6(0x32e)],0x0),_0x84adb6(_0x4f7139,[_0x30b0a6(0x1f4),_0x1b3c6f,_0x30b0a6(0x21f),'positionV',_0x30b0a6(0x32e)],(_0x3f3860=_0x48779c[_0x30b0a6(0x21f)])==null||(_0x3f3860=_0x3f3860[_0x30b0a6(0x377)])==null?void 0x0:_0x3f3860[_0x30b0a6(0x32e)],0x0)][_0x30b0a6(0x24e)](Boolean));}function _0x20ef84(_0x3a1ef0,_0x93e5e9,_0x5465c4){const _0x327ef4=_0x2122c9;var _0x4d499e,_0x2acee6,_0x2e3f2c;return!((_0x4d499e=_0x3a1ef0[_0x327ef4(0x1a3)])!=null&&_0x4d499e[_0x327ef4(0x17b)](_0x5e6ef5=>_0x5e6ef5[_0x327ef4(0x350)]!==_0x93e5e9&&_0x5e6ef5['startIndex']<=_0x5465c4&&_0x5465c4<_0x5e6ef5[_0x327ef4(0x19f)])||(_0x2acee6=_0x3a1ef0[_0x327ef4(0x1b9)])!=null&&_0x2acee6[_0x327ef4(0x17b)](_0x145b9f=>_0x145b9f[_0x327ef4(0x1d1)]<=_0x5465c4&&_0x5465c4<=_0x145b9f[_0x327ef4(0x19f)])||(_0x2e3f2c=_0x3a1ef0[_0x327ef4(0x1c9)])!=null&&_0x2e3f2c[_0x327ef4(0x17b)](_0xd2c0e0=>_0xd2c0e0[_0x327ef4(0x1d1)]===_0x5465c4));}function _0xaf2958(_0x24198d,_0x32306d,_0x2d8a3b,_0x307187,_0x27b068=_0x2e794e[_0x2122c9(0x2ee)][_0x2122c9(0x250)]){const _0x3c02ee=_0x2122c9;var _0x54784c,_0x619e46,_0xcb6126;let _0x12910b=(_0x54784c=_0x24198d['tableSource'])==null||(_0x54784c=_0x54784c[_0x32306d])==null?void 0x0:_0x54784c[_0x3c02ee(0x184)][_0x2d8a3b];if(!_0x12910b)return null;let _0xe69c01={'hRule':_0x27b068,'val':{'v':Math['max'](0x1,_0x307187)}};return _0x12910b[_0x3c02ee(0x210)]?[_0x84adb6(_0x2e794e[_0x3c02ee(0x2fe)][_0x3c02ee(0x170)](),[_0x3c02ee(0x1f4),_0x32306d,_0x3c02ee(0x184),_0x2d8a3b,_0x3c02ee(0x210),_0x3c02ee(0x2cb)],(_0x619e46=_0x12910b[_0x3c02ee(0x210)])==null?void 0x0:_0x619e46[_0x3c02ee(0x2cb)],_0xe69c01[_0x3c02ee(0x2cb)]),_0x84adb6(_0x2e794e[_0x3c02ee(0x2fe)][_0x3c02ee(0x170)](),['tableSource',_0x32306d,'tableRows',_0x2d8a3b,_0x3c02ee(0x210),'val','v'],(_0xcb6126=_0x12910b[_0x3c02ee(0x210)])==null||(_0xcb6126=_0xcb6126['val'])==null?void 0x0:_0xcb6126['v'],_0xe69c01[_0x3c02ee(0x23f)]['v'])][_0x3c02ee(0x24e)](Boolean)[_0x3c02ee(0x2fc)]((_0x52607a,_0xbc6695)=>_0x2e794e[_0x3c02ee(0x2fe)][_0x3c02ee(0x319)](_0x52607a,_0xbc6695),null):_0x2e794e[_0x3c02ee(0x2fe)][_0x3c02ee(0x170)]()[_0x3c02ee(0x30c)]([_0x3c02ee(0x1f4),_0x32306d,'tableRows',_0x2d8a3b,_0x3c02ee(0x210)],_0xe69c01);}function _0x37a7e3(_0x1798e6,_0x4f9cac,_0xbea111,_0x90e54c){const _0x42ac46=_0x2122c9;var _0x3540f5;let _0x33e560=(_0x3540f5=_0x1798e6['tableSource'])==null?void 0x0:_0x3540f5[_0x4f9cac];if(!_0x33e560)return null;let _0x16b2a8=Math[_0x42ac46(0x183)](_0xbea111,_0x90e54c),_0x1f974c=Math[_0x42ac46(0x186)](_0xbea111,_0x90e54c),_0x57c5a6=_0x33e560[_0x42ac46(0x184)][_0x42ac46(0x344)](_0x16b2a8,_0x1f974c+0x1);if(!_0x57c5a6['length'])return null;let _0x5d0747=_0x57c5a6['reduce']((_0x4aef85,_0x45791f)=>{const _0x23d1f1=_0x42ac46;var _0x3b0314;return _0x4aef85+(((_0x3b0314=_0x45791f['trHeight'])==null||(_0x3b0314=_0x3b0314[_0x23d1f1(0x23f)])==null?void 0x0:_0x3b0314['v'])??0x0);},0x0)/_0x57c5a6[_0x42ac46(0x1d0)];return _0x57c5a6[_0x42ac46(0x37a)]((_0x392001,_0x58b1ff)=>_0xaf2958(_0x1798e6,_0x4f9cac,_0x16b2a8+_0x58b1ff,_0x5d0747))[_0x42ac46(0x24e)](Boolean)[_0x42ac46(0x2fc)]((_0x50a1d4,_0x32b1c7)=>_0x2e794e['JSONX'][_0x42ac46(0x319)](_0x50a1d4,_0x32b1c7),null);}function _0x2fbc3a(_0xd7cb83,_0x15403c,_0x5488e4,_0x16b7b9){const _0x390acc=_0x2122c9;var _0x47fb8d;let _0x2e4a79=(_0x47fb8d=_0xd7cb83[_0x390acc(0x1f4)])==null?void 0x0:_0x47fb8d[_0x15403c];if(!_0x2e4a79)return null;let _0xbb4b3c=Math[_0x390acc(0x183)](_0x5488e4,_0x16b7b9),_0x131a9d=Math['max'](_0x5488e4,_0x16b7b9),_0x3959ea=_0x2e4a79[_0x390acc(0x355)]['slice'](_0xbb4b3c,_0x131a9d+0x1);if(!_0x3959ea[_0x390acc(0x1d0)])return null;let _0x2d92a7=_0x3959ea[_0x390acc(0x2fc)]((_0x2db271,_0x4376e4)=>{const _0x1d5692=_0x390acc;var _0x24aafe;return _0x2db271+(((_0x24aafe=_0x4376e4[_0x1d5692(0x364)])==null||(_0x24aafe=_0x24aafe[_0x1d5692(0x192)])==null?void 0x0:_0x24aafe['v'])??0x0);},0x0)/_0x3959ea['length'];return _0x3959ea['map']((_0x370601,_0x35dc2f)=>_0x10d5ca(_0xd7cb83,_0x15403c,_0xbb4b3c+_0x35dc2f,_0x2d92a7))['filter'](Boolean)['reduce']((_0x3e43dc,_0x5595ad)=>_0x2e794e['JSONX'][_0x390acc(0x319)](_0x3e43dc,_0x5595ad),null);}function _0x4b3b39(_0x26a4f7,_0x5ab09c,_0x182187){const _0x2497e=_0x2122c9;var _0x191f3a;let _0xaa9d2f=(_0x191f3a=_0x26a4f7[_0x2497e(0x1f4)])==null?void 0x0:_0x191f3a[_0x5ab09c];if(!_0xaa9d2f)return null;let _0x3ff993=Math['min'](Math[_0x2497e(0x186)](0x0,_0x182187),_0xaa9d2f[_0x2497e(0x184)][_0x2497e(0x1d0)]),_0x165df7=_0x2e794e[_0x2497e(0x2fe)][_0x2497e(0x170)](),_0x1a5585=[];return _0xaa9d2f[_0x2497e(0x184)]['forEach']((_0x10aabc,_0x365a01)=>{const _0x23428a=_0x2497e;let _0x262550=_0x365a01<_0x3ff993?_0x2e794e['BooleanNumber']['TRUE']:_0x2e794e[_0x23428a(0x297)][_0x23428a(0x281)],_0x48450a=_0x365a01<_0x3ff993?_0x2e794e[_0x23428a(0x297)]['TRUE']:void 0x0,_0x5a56fa=_0x84adb6(_0x165df7,[_0x23428a(0x1f4),_0x5ab09c,'tableRows',_0x365a01,_0x23428a(0x23e)],_0x10aabc[_0x23428a(0x23e)],_0x262550),_0x2c0b8d=_0x84adb6(_0x165df7,[_0x23428a(0x1f4),_0x5ab09c,_0x23428a(0x184),_0x365a01,_0x23428a(0x287)],_0x10aabc[_0x23428a(0x287)],_0x48450a);_0x5a56fa&&_0x1a5585[_0x23428a(0x2f9)](_0x5a56fa),_0x2c0b8d&&_0x1a5585['push'](_0x2c0b8d);}),{'actions':_0x45a977(_0x1a5585),'headerRowCount':_0x3ff993};}function _0x3827e4(_0x9ff4c7,_0x33cc4f,_0x1ff6c8,_0x32b96f,_0x189dfe,_0x1fe23f={}){const _0x43a8b6=_0x2122c9;var _0x111948;let _0x3e265e=(_0x111948=_0x9ff4c7[_0x43a8b6(0x1f4)])==null?void 0x0:_0x111948[_0x33cc4f],_0x1c4f60=_0x16cada(_0x9ff4c7,_0x33cc4f);if(!_0x3e265e||!_0x1c4f60||_0x32b96f<=0x0||_0x1ff6c8<0x0||_0x1ff6c8>=_0x3e265e[_0x43a8b6(0x355)][_0x43a8b6(0x1d0)])return null;let _0xc5d0b7=_0x189dfe===_0x43a8b6(0x334)?_0x1ff6c8:_0x1ff6c8+0x1,_0x504d22=_0x3e265e[_0x43a8b6(0x355)][_0x1ff6c8],_0x4add33=_0x1fe23f['insertedColumnWidth']??_0x504d22['size'][_0x43a8b6(0x192)]['v'],_0x49f415=_0x1fe23f[_0x43a8b6(0x1fe)]??!0x0,_0x2d4ec3=_0x3e265e[_0x43a8b6(0x355)][_0x43a8b6(0x2fc)]((_0xf9d1e6,_0x200cf4)=>_0xf9d1e6+_0x200cf4['size'][_0x43a8b6(0x192)]['v'],0x0),_0x55045c=_0x49f415&&_0x2d4ec3>0x0?_0x2d4ec3/(_0x2d4ec3+_0x4add33*_0x32b96f):0x1;if(_0x3e6591(_0x3e265e))return _0x3152f4(_0x9ff4c7,_0x3e265e,_0x1c4f60,_0x33cc4f,_0x1ff6c8,_0xc5d0b7,_0x32b96f,_0x4add33,_0x55045c,_0x49f415,_0x2d4ec3,_0x1fe23f[_0x43a8b6(0x260)]??['body']);let _0x15eb91=_0xe069f2(_0x3e265e,_0xc5d0b7,_0x32b96f),_0xe6972=_0x227aa4(_0x3e265e,_0x15eb91,_0x716576=>_0x716576>=_0xc5d0b7?_0x716576+_0x32b96f:_0x716576);_0x1e8809(_0xe6972,_0x3e265e,_0x33cc4f,_0x49f415,_0x2d4ec3,_0x4add33,_0x32b96f,_0x55045c),_0x599cd7(_0xe6972,_0x3e265e,_0x33cc4f,_0x1ff6c8,_0xc5d0b7,_0x32b96f,_0x4add33,_0x55045c,_0x15eb91);let _0x15038c=_0x5cc27b(_0x9ff4c7,_0x1a7f8d(_0x1c4f60,_0x1ff6c8,_0x32b96f,_0x189dfe),_0x1fe23f['bodyPath']??['body']);return _0x15038c?(_0xe6972[_0x43a8b6(0x2f9)](_0x15038c),{'actions':_0x45a977(_0xe6972),'cursorColumn':_0xc5d0b7}):null;}function _0x3e6591(_0x1ac54c){const _0x4a7794=_0x2122c9;return _0x1ac54c[_0x4a7794(0x184)][_0x4a7794(0x17b)](_0x13e1dc=>_0x13e1dc[_0x4a7794(0x217)][_0x4a7794(0x1d0)]!==_0x1ac54c[_0x4a7794(0x355)][_0x4a7794(0x1d0)]);}function _0x316a21(_0x263e07){const _0x58c69f=_0x2122c9;let _0x45ac1c=_0x263e07['gridBefore']??0x0;return _0x263e07[_0x58c69f(0x217)][_0x58c69f(0x37a)]((_0x2eb539,_0x1b7107)=>{const _0x312ebf=_0x58c69f;let _0xf84297=Math['max'](0x1,_0x2eb539[_0x312ebf(0x20a)]??0x1),_0x50e660={'cell':_0x2eb539,'physicalIndex':_0x1b7107,'startColumn':_0x45ac1c,'endColumn':_0x45ac1c+_0xf84297-0x1};return _0x45ac1c+=_0xf84297,_0x50e660;});}function _0x3152f4(_0x2ebd18,_0x474dea,_0x477bf2,_0x482616,_0xa40d7c,_0x3cd305,_0x3f20f8,_0x2e996a,_0x1cd9b0,_0x5cc2a1,_0xf5d20e,_0x2f1b67){const _0x2c86fb=_0x2122c9;let _0x233895=[];_0x1e8809(_0x233895,_0x474dea,_0x482616,_0x5cc2a1,_0xf5d20e,_0x2e996a,_0x3f20f8,_0x1cd9b0);let _0x123d4c=_0x2e794e['JSONX'][_0x2c86fb(0x170)](),_0x227a91=_0x474dea['tableColumns'][_0xa40d7c];for(let _0x4d80b4=0x0;_0x4d80b4<_0x3f20f8;_0x4d80b4++){let _0x5e7ef5=_0x4252b7(_0x227a91);_0x5e7ef5[_0x2c86fb(0x364)][_0x2c86fb(0x192)]['v']=_0x2e996a*_0x1cd9b0,_0x233895[_0x2c86fb(0x2f9)](_0x123d4c[_0x2c86fb(0x30c)]([_0x2c86fb(0x1f4),_0x482616,_0x2c86fb(0x355),_0x3cd305+_0x4d80b4],_0x5e7ef5));}let _0x1c2dfe=[];if(_0x474dea[_0x2c86fb(0x184)][_0x2c86fb(0x20d)]((_0x287efb,_0x32d2e2)=>{const _0x564f15=_0x2c86fb;let _0x388235=_0x316a21(_0x287efb),_0x28a599=_0x388235['find'](_0x116920=>_0x116920[_0x564f15(0x320)]<_0x3cd305&&_0x3cd305<=_0x116920['endColumn']);if(_0x28a599){let _0x437ff9=_0x28a599[_0x564f15(0x359)]['columnSpan']??0x1;_0x233895['push'](_0x84adb6(_0x123d4c,['tableSource',_0x482616,_0x564f15(0x184),_0x32d2e2,'tableCells',_0x28a599[_0x564f15(0x1f3)],_0x564f15(0x20a)],_0x28a599[_0x564f15(0x359)][_0x564f15(0x20a)],_0x437ff9+_0x3f20f8));return;}let _0x7bff74=_0x388235['findIndex'](_0xc47fa5=>_0xc47fa5[_0x564f15(0x320)]>=_0x3cd305),_0xe218a4=_0x7bff74<0x0?_0x287efb[_0x564f15(0x217)][_0x564f15(0x1d0)]:_0x7bff74,_0xad669=_0x388235[_0x564f15(0x2d7)](_0x214a93=>_0xa40d7c>=_0x214a93[_0x564f15(0x320)]&&_0xa40d7c<=_0x214a93[_0x564f15(0x30e)])??_0x388235[Math[_0x564f15(0x183)](_0xe218a4,_0x388235['length']-0x1)];if(!_0xad669)return;for(let _0x21bc27=0x0;_0x21bc27<_0x3f20f8;_0x21bc27++){let _0xf88349=_0x4252b7(_0xad669[_0x564f15(0x359)]);delete _0xf88349[_0x564f15(0x288)],delete _0xf88349[_0x564f15(0x20a)],_0x233895['push'](_0x123d4c[_0x564f15(0x30c)]([_0x564f15(0x1f4),_0x482616,'tableRows',_0x32d2e2,_0x564f15(0x217),_0xe218a4+_0x21bc27],_0xf88349));}let _0x162e77=_0x477bf2[_0x564f15(0x21b)][_0x32d2e2],_0x169996=_0xe218a4<_0x162e77[_0x564f15(0x2bc)][_0x564f15(0x1d0)]?_0x162e77[_0x564f15(0x2bc)][_0xe218a4][_0x564f15(0x1d4)]:_0x162e77[_0x564f15(0x29b)];_0x1c2dfe[_0x564f15(0x2f9)]({'startOffset':_0x169996,'endOffset':_0x169996,'text':_0x1e9505(_0x570f2a(),_0x3f20f8)});}),_0x1c2dfe[_0x2c86fb(0x1d0)]){let _0x538c41=_0x5cc27b(_0x2ebd18,_0x1c2dfe,_0x2f1b67);if(!_0x538c41)return null;_0x233895[_0x2c86fb(0x2f9)](_0x538c41);}return{'actions':_0x45a977(_0x233895),'cursorColumn':_0x3cd305};}function _0xe069f2(_0x1957bd,_0x4f1f9d,_0x1610d7){const _0x571260=_0x2122c9;return _0x476f22(_0x8b8406(_0x1957bd)[_0x571260(0x37a)](_0x5929f1=>_0x4f1f9d<=_0x5929f1[_0x571260(0x320)]?{..._0x5929f1,'startColumn':_0x5929f1['startColumn']+_0x1610d7,'endColumn':_0x5929f1[_0x571260(0x30e)]+_0x1610d7}:_0x4f1f9d<=_0x5929f1['endColumn']?{..._0x5929f1,'endColumn':_0x5929f1['endColumn']+_0x1610d7}:_0x5929f1));}function _0x1e8809(_0x55a5f9,_0xf1b3aa,_0x426e51,_0x3d4778,_0x4249c3,_0x19ac69,_0x551b72,_0x34288c){const _0x255b9d=_0x2122c9;var _0x45edda;let _0x4905d1=_0x2e794e[_0x255b9d(0x2fe)][_0x255b9d(0x170)]();if(_0x3d4778)_0xf1b3aa['tableColumns']['forEach']((_0x210e0f,_0x39ca19)=>{const _0x371df9=_0x255b9d;let _0x272bd2=_0x84adb6(_0x4905d1,['tableSource',_0x426e51,_0x371df9(0x355),_0x39ca19,_0x371df9(0x364),_0x371df9(0x192),'v'],_0x210e0f[_0x371df9(0x364)][_0x371df9(0x192)]['v'],_0x210e0f[_0x371df9(0x364)]['width']['v']*_0x34288c);_0x272bd2&&_0x55a5f9[_0x371df9(0x2f9)](_0x272bd2);});else{if((_0x45edda=_0xf1b3aa[_0x255b9d(0x364)])!=null&&_0x45edda[_0x255b9d(0x192)]){let _0x446d91=_0x84adb6(_0x4905d1,[_0x255b9d(0x1f4),_0x426e51,_0x255b9d(0x364),_0x255b9d(0x192),'v'],_0xf1b3aa[_0x255b9d(0x364)]['width']['v'],_0x4249c3+_0x19ac69*_0x551b72);_0x446d91&&_0x55a5f9['push'](_0x446d91);}}}function _0x599cd7(_0x3a1795,_0x2a2267,_0x2fed5b,_0x2d3e49,_0x245398,_0x413a08,_0xda87ab,_0x5585de,_0x1ca8b9){const _0x4dec4=_0x2122c9;let _0x486e58=_0x2e794e[_0x4dec4(0x2fe)]['getInstance'](),_0x518950=_0x2a2267[_0x4dec4(0x355)][_0x2d3e49];for(let _0x328a7c=0x0;_0x328a7c<_0x413a08;_0x328a7c++){let _0x2f889c=_0x4252b7(_0x518950);_0x2f889c[_0x4dec4(0x364)][_0x4dec4(0x192)]['v']=_0xda87ab*_0x5585de,_0x3a1795[_0x4dec4(0x2f9)](_0x486e58[_0x4dec4(0x30c)]([_0x4dec4(0x1f4),_0x2fed5b,'tableColumns',_0x245398+_0x328a7c],_0x2f889c));}_0x2a2267['tableRows'][_0x4dec4(0x20d)]((_0x36b3d0,_0x448a17)=>{const _0xa664c3=_0x4dec4;for(let _0x53d1ac=0x0;_0x53d1ac<_0x413a08;_0x53d1ac++){let _0x113286=_0x4252b7(_0x36b3d0[_0xa664c3(0x217)][_0x2d3e49]);_0x272197(_0x113286,_0x448a17,_0x245398+_0x53d1ac,_0x1ca8b9),_0x3a1795[_0xa664c3(0x2f9)](_0x486e58[_0xa664c3(0x30c)]([_0xa664c3(0x1f4),_0x2fed5b,_0xa664c3(0x184),_0x448a17,_0xa664c3(0x217),_0x245398+_0x53d1ac],_0x113286));}});}function _0x1a7f8d(_0x20254b,_0x273283,_0x337296,_0x47a26a){const _0x34004e=_0x2122c9;let _0x304eb9=_0x1e9505(_0x570f2a(),_0x337296);return _0x20254b[_0x34004e(0x21b)][_0x34004e(0x37a)](_0x1815e5=>{const _0x14fc00=_0x34004e;let _0xe35fe2=_0x1815e5['cells'][_0x273283],_0x2ad61b=_0x47a26a===_0x14fc00(0x334)?_0xe35fe2[_0x14fc00(0x1d4)]:_0xe35fe2[_0x14fc00(0x29b)]+0x1;return{'startOffset':_0x2ad61b,'endOffset':_0x2ad61b,'text':_0x304eb9};});}function _0x3a003b(_0x5e58b5,_0x63ed6e,_0x12171d,_0x86c306,_0x49c60c=[_0x2122c9(0x181)]){const _0x114072=_0x2122c9;var _0x15314f;let _0x3e46a1=(_0x15314f=_0x5e58b5['tableSource'])==null?void 0x0:_0x15314f[_0x63ed6e],_0x774842=_0x16cada(_0x5e58b5,_0x63ed6e);if(!_0x3e46a1||!_0x774842)return null;let _0x18ff81=Math[_0x114072(0x183)](_0x12171d,_0x86c306),_0x37bb23=Math[_0x114072(0x186)](_0x12171d,_0x86c306);if(_0x18ff81<0x0||_0x18ff81>=_0x3e46a1[_0x114072(0x355)]['length']||_0x37bb23<_0x18ff81)return null;let _0x4b1856=Math['min'](_0x37bb23,_0x3e46a1[_0x114072(0x355)][_0x114072(0x1d0)]-0x1),_0x28b2f8=_0x4b1856-_0x18ff81+0x1;if(_0x28b2f8>=_0x3e46a1[_0x114072(0x355)][_0x114072(0x1d0)]){let _0xef5d6d=_0x21505a(_0x5e58b5,_0x63ed6e,_0x49c60c);return _0xef5d6d?{'actions':_0xef5d6d[_0x114072(0x22a)],'cursorColumn':0x0,'deleteTable':!0x0}:null;}if(_0x3e6591(_0x3e46a1))return _0x1e86e7(_0x5e58b5,_0x3e46a1,_0x774842,_0x63ed6e,_0x18ff81,_0x4b1856,_0x49c60c);let _0x13c240=_0x227aa4(_0x3e46a1,_0x476f22(_0x8b8406(_0x3e46a1)[_0x114072(0x37a)](_0x3cbd9f=>_0x8551fa(_0x3cbd9f,_0x18ff81,_0x4b1856))['filter'](_0x288a39=>_0x288a39!=null)),_0x22f2be=>_0x22f2be<_0x18ff81?_0x22f2be:_0x22f2be>_0x4b1856?_0x22f2be-_0x28b2f8:null);_0x14c4bb(_0x13c240,_0x3e46a1,_0x63ed6e,_0x18ff81,_0x4b1856);let _0x33ba49=_0x774842[_0x114072(0x21b)][_0x114072(0x37a)](_0x253766=>({'startOffset':_0x253766['cells'][_0x18ff81][_0x114072(0x1d4)],'endOffset':_0x253766[_0x114072(0x2bc)][_0x4b1856]['endOffset']+0x1,'text':''})),_0xcbd5ec=_0x5cc27b(_0x5e58b5,_0x33ba49,_0x49c60c);return _0xcbd5ec?(_0x13c240[_0x114072(0x2f9)](..._0x3341e4(_0x5e58b5,_0x33ba49['map'](({startOffset:_0x32f7c2,endOffset:_0x173fb4})=>({'startOffset':_0x32f7c2,'endOffset':_0x173fb4,'collapsed':!0x1})))),_0x13c240['push'](_0xcbd5ec),{'actions':_0x45a977(_0x13c240),'cursorColumn':Math[_0x114072(0x183)](_0x18ff81,_0x3e46a1['tableColumns'][_0x114072(0x1d0)]-_0x28b2f8-0x1)}):null;}function _0x1e86e7(_0x1f21a0,_0x36e644,_0x1dd15d,_0x2050a2,_0x196747,_0x3b9585,_0x45468e){const _0x353000=_0x2122c9;let _0x49603a=_0x2e794e[_0x353000(0x2fe)][_0x353000(0x170)](),_0x1b5599=[],_0x30b0e6=[],_0x594ac5=[];for(let _0x4801f6=_0x3b9585;_0x4801f6>=_0x196747;_0x4801f6--)_0x1b5599[_0x353000(0x2f9)](_0x49603a['removeOp']([_0x353000(0x1f4),_0x2050a2,_0x353000(0x355),_0x4801f6],_0x4252b7(_0x36e644['tableColumns'][_0x4801f6])));if(_0x36e644[_0x353000(0x184)][_0x353000(0x20d)]((_0x4da318,_0x4d29ab)=>{const _0xe14824=_0x353000;_0x316a21(_0x4da318)['slice']()['reverse']()[_0xe14824(0x20d)](_0x529886=>{const _0x40713f=_0xe14824;var _0x5c3036;let _0x335354=Math[_0x40713f(0x186)](0x0,Math[_0x40713f(0x183)](_0x529886[_0x40713f(0x30e)],_0x3b9585)-Math[_0x40713f(0x186)](_0x529886[_0x40713f(0x320)],_0x196747)+0x1);if(_0x335354===0x0)return;let _0x30f49d=_0x529886[_0x40713f(0x30e)]-_0x529886[_0x40713f(0x320)]+0x1-_0x335354;if(_0x30f49d>0x0){let _0x458045=_0x84adb6(_0x49603a,[_0x40713f(0x1f4),_0x2050a2,_0x40713f(0x184),_0x4d29ab,_0x40713f(0x217),_0x529886[_0x40713f(0x1f3)],_0x40713f(0x20a)],_0x529886[_0x40713f(0x359)][_0x40713f(0x20a)],_0x30f49d===0x1?void 0x0:_0x30f49d);_0x458045&&_0x1b5599['push'](_0x458045);return;}_0x1b5599[_0x40713f(0x2f9)](_0x49603a[_0x40713f(0x371)]([_0x40713f(0x1f4),_0x2050a2,_0x40713f(0x184),_0x4d29ab,_0x40713f(0x217),_0x529886[_0x40713f(0x1f3)]],_0x4252b7(_0x529886[_0x40713f(0x359)])));let _0x235021=(_0x5c3036=_0x1dd15d[_0x40713f(0x21b)][_0x4d29ab])==null?void 0x0:_0x5c3036[_0x40713f(0x2bc)][_0x529886['physicalIndex']];if(_0x235021){let _0x28de6f={'startOffset':_0x235021['startOffset'],'endOffset':_0x235021['endOffset']+0x1,'text':''};_0x30b0e6[_0x40713f(0x2f9)](_0x28de6f),_0x594ac5[_0x40713f(0x2f9)]({'startOffset':_0x28de6f[_0x40713f(0x1d4)],'endOffset':_0x28de6f[_0x40713f(0x29b)],'collapsed':!0x1});}});}),_0x30b0e6[_0x353000(0x1d0)]){let _0x3e92d6=_0x5cc27b(_0x1f21a0,_0x30b0e6,_0x45468e);if(!_0x3e92d6)return null;_0x1b5599[_0x353000(0x2f9)](..._0x3341e4(_0x1f21a0,_0x594ac5)),_0x1b5599[_0x353000(0x2f9)](_0x3e92d6);}return{'actions':_0x45a977(_0x1b5599),'cursorColumn':Math[_0x353000(0x183)](_0x196747,_0x36e644[_0x353000(0x355)][_0x353000(0x1d0)]-(_0x3b9585-_0x196747+0x1)-0x1)};}function _0xc49b8d(_0x30adf5,_0x55c0bf,_0x585868,_0x14ee2f,_0x46c3f9,_0xe8a534,_0x5d5f48=[_0x2122c9(0x181)]){const _0x2ab1ef=_0x2122c9;var _0xc0f8e1;let _0x564ac7=(_0xc0f8e1=_0x30adf5[_0x2ab1ef(0x1f4)])==null?void 0x0:_0xc0f8e1[_0x55c0bf],_0x112127=_0x16cada(_0x30adf5,_0x55c0bf);if(!_0x564ac7||!_0x112127||_0x46c3f9<=0x0)return null;let _0x139953=_0x44c406(_0x585868,_0x564ac7['tableRows'][_0x2ab1ef(0x1d0)]-0x1),_0x159cfc=_0x44c406(_0x14ee2f,_0x564ac7[_0x2ab1ef(0x184)][_0x2ab1ef(0x1d0)]-0x1),_0x1a5dc7=Math['min'](_0x564ac7[_0x2ab1ef(0x184)][_0x2ab1ef(0x1d0)]-0x1,_0x139953+_0x46c3f9-0x1),_0x3bec8e=_0x1a5dc7-_0x139953+0x1,_0x11e8b5=_0xe8a534===_0x2ab1ef(0x2da)?_0x159cfc:_0x159cfc+0x1;if(_0x11e8b5>=_0x139953&&_0x11e8b5<=_0x1a5dc7+0x1)return{'actions':null,'cursorRow':_0x139953};let _0x2b128b=_0x11e8b5>_0x1a5dc7?_0x11e8b5-_0x3bec8e:_0x11e8b5,_0x5bbc10=[];_0x2d1f72(_0x5bbc10,[_0x2ab1ef(0x1f4),_0x55c0bf,_0x2ab1ef(0x184)],_0x139953,_0x3bec8e,_0x2b128b);let _0x2317ad=_0x4d0cfe(_0x112127,_0x139953)[_0x2ab1ef(0x1d4)],_0x46e62d=_0x4d0cfe(_0x112127,_0x1a5dc7)[_0x2ab1ef(0x29b)]+0x1,_0x4c2803=_0x11e8b5>_0x1a5dc7?_0x4d0cfe(_0x112127,_0x159cfc)[_0x2ab1ef(0x29b)]+0x1:_0x4d0cfe(_0x112127,_0x159cfc)[_0x2ab1ef(0x1d4)],_0x8b985e=_0x599a09(_0x30adf5[_0x2ab1ef(0x181)],_0x2317ad,_0x46e62d,_0x4c2803,_0x5d5f48);return _0x8b985e?(_0x5bbc10['push'](_0x8b985e),{'actions':_0x45a977(_0x5bbc10),'cursorRow':_0x2b128b}):null;}function _0x566752(_0x1d7e46,_0x56017f,_0x538552,_0x392037,_0x35c499,_0xf9a42e,_0x219672=[_0x2122c9(0x181)]){const _0x49c3c2=_0x2122c9;var _0x3984ee;let _0x3b832f=(_0x3984ee=_0x1d7e46[_0x49c3c2(0x1f4)])==null?void 0x0:_0x3984ee[_0x56017f],_0x123f23=_0x16cada(_0x1d7e46,_0x56017f);if(!_0x3b832f||!_0x123f23||_0x35c499<=0x0)return null;let _0x53f1cd=_0x44c406(_0x538552,_0x3b832f[_0x49c3c2(0x355)][_0x49c3c2(0x1d0)]-0x1),_0x333524=_0x44c406(_0x392037,_0x3b832f[_0x49c3c2(0x355)][_0x49c3c2(0x1d0)]-0x1),_0xcb34a4=Math[_0x49c3c2(0x183)](_0x3b832f['tableColumns']['length']-0x1,_0x53f1cd+_0x35c499-0x1),_0x13f8db=_0xcb34a4-_0x53f1cd+0x1,_0x5b9f8b=_0xf9a42e===_0x49c3c2(0x334)?_0x333524:_0x333524+0x1;if(_0x5b9f8b>=_0x53f1cd&&_0x5b9f8b<=_0xcb34a4+0x1)return{'actions':null,'cursorColumn':_0x53f1cd};if(_0x3e6591(_0x3b832f))return _0x23b96e(_0x1d7e46,_0x3b832f,_0x123f23,_0x56017f,_0x53f1cd,_0xcb34a4,_0x5b9f8b,_0x219672);let _0x2d6bc0=_0x5b9f8b>_0xcb34a4?_0x5b9f8b-_0x13f8db:_0x5b9f8b,_0xc92133=[];return _0x2d1f72(_0xc92133,[_0x49c3c2(0x1f4),_0x56017f,_0x49c3c2(0x355)],_0x53f1cd,_0x13f8db,_0x2d6bc0),_0x3b832f[_0x49c3c2(0x184)]['forEach']((_0x401085,_0x4b0db2)=>_0x2d1f72(_0xc92133,[_0x49c3c2(0x1f4),_0x56017f,_0x49c3c2(0x184),_0x4b0db2,_0x49c3c2(0x217)],_0x53f1cd,_0x13f8db,_0x2d6bc0)),_0x123f23[_0x49c3c2(0x21b)][_0x49c3c2(0x20d)](_0x5cd5c2=>{const _0x2deb24=_0x49c3c2;let _0x5d77e2=_0x5cd5c2[_0x2deb24(0x2bc)][_0x53f1cd][_0x2deb24(0x1d4)],_0x519f61=_0x5cd5c2[_0x2deb24(0x2bc)][_0xcb34a4]['endOffset']+0x1,_0xaedc42=_0x5b9f8b>_0xcb34a4?_0x5cd5c2['cells'][_0x333524]['endOffset']+0x1:_0x5cd5c2['cells'][_0x333524][_0x2deb24(0x1d4)],_0x4dc7f2=_0x599a09(_0x1d7e46[_0x2deb24(0x181)],_0x5d77e2,_0x519f61,_0xaedc42,_0x219672);_0x4dc7f2&&_0xc92133[_0x2deb24(0x2f9)](_0x4dc7f2);}),{'actions':_0x45a977(_0xc92133),'cursorColumn':_0x2d6bc0};}function _0x23b96e(_0x573b7a,_0x1a60ee,_0x4ca413,_0x5b6be5,_0x21a3b5,_0x18c7c4,_0xd18401,_0x355644){const _0xf1a8b7=_0x2122c9;let _0x4b1f30=_0x18c7c4-_0x21a3b5+0x1,_0x1336ef=_0xd18401>_0x18c7c4?_0xd18401-_0x4b1f30:_0xd18401,_0x580362=_0x1a60ee[_0xf1a8b7(0x184)][_0xf1a8b7(0x37a)]((_0x56423b,_0x252433)=>{const _0x57319b=_0xf1a8b7;let _0x400f0a=_0x316a21(_0x56423b),_0xd31d2b=_0x400f0a[_0x57319b(0x24e)](_0x315184=>_0x315184[_0x57319b(0x320)]>=_0x21a3b5&&_0x315184[_0x57319b(0x30e)]<=_0x18c7c4);if(!_0xd31d2b[_0x57319b(0x1d0)]||_0xd31d2b[0x0][_0x57319b(0x320)]!==_0x21a3b5||_0xd31d2b[_0xd31d2b[_0x57319b(0x1d0)]-0x1][_0x57319b(0x30e)]!==_0x18c7c4)return null;let _0xfe29a5=_0x55e802(_0x400f0a,_0xd18401);if(_0xfe29a5==null)return null;let _0x2f22c0=_0xd31d2b[0x0][_0x57319b(0x1f3)],_0x321e32=_0xd31d2b[_0x57319b(0x1d0)],_0x351fab=_0xfe29a5>_0x2f22c0?_0xfe29a5-_0x321e32:_0xfe29a5,_0x20afa6=_0x4ca413[_0x57319b(0x21b)][_0x252433],_0x450336=_0xfe29a5<_0x20afa6['cells'][_0x57319b(0x1d0)]?_0x20afa6[_0x57319b(0x2bc)][_0xfe29a5][_0x57319b(0x1d4)]:_0x20afa6[_0x57319b(0x29b)];return{'physicalFrom':_0x2f22c0,'physicalCount':_0x321e32,'physicalInsertIndex':_0x351fab,'startOffset':_0x20afa6[_0x57319b(0x2bc)][_0x2f22c0][_0x57319b(0x1d4)],'endOffset':_0x20afa6[_0x57319b(0x2bc)][_0x2f22c0+_0x321e32-0x1][_0x57319b(0x29b)]+0x1,'targetOffset':_0x450336};});if(_0x580362['some'](_0x217f37=>_0x217f37==null))return null;let _0xbcd0f1=[];return _0x2d1f72(_0xbcd0f1,[_0xf1a8b7(0x1f4),_0x5b6be5,_0xf1a8b7(0x355)],_0x21a3b5,_0x4b1f30,_0x1336ef),_0x580362[_0xf1a8b7(0x20d)]((_0x439a89,_0x7815ad)=>{const _0x240588=_0xf1a8b7;if(!_0x439a89)return;_0x2d1f72(_0xbcd0f1,[_0x240588(0x1f4),_0x5b6be5,_0x240588(0x184),_0x7815ad,_0x240588(0x217)],_0x439a89['physicalFrom'],_0x439a89['physicalCount'],_0x439a89['physicalInsertIndex']);let _0x543953=_0x599a09(_0x573b7a[_0x240588(0x181)],_0x439a89[_0x240588(0x1d4)],_0x439a89[_0x240588(0x29b)],_0x439a89['targetOffset'],_0x355644);_0x543953&&_0xbcd0f1[_0x240588(0x2f9)](_0x543953);}),{'actions':_0x45a977(_0xbcd0f1),'cursorColumn':_0x1336ef};}function _0x55e802(_0x3dabd7,_0xae322e){const _0x473e4d=_0x2122c9;let _0x4f68e6=_0x3dabd7['findIndex'](_0x5be30d=>_0x5be30d[_0x473e4d(0x320)]===_0xae322e);return _0x4f68e6>=0x0?_0x4f68e6:_0x3dabd7[_0x473e4d(0x1d0)]>0x0&&_0x3dabd7[_0x3dabd7[_0x473e4d(0x1d0)]-0x1][_0x473e4d(0x30e)]+0x1===_0xae322e?_0x3dabd7[_0x473e4d(0x1d0)]:null;}function _0x44cc4d(_0x59ccc2,_0x35d6e9,_0x382513,_0x45d962,_0x55282e,_0x4328b6=[_0x2122c9(0x181)]){const _0x4eb70c=_0x2122c9;var _0x205cd4;let _0x4ea128=(_0x205cd4=_0x59ccc2['tableSource'])==null?void 0x0:_0x205cd4[_0x382513],_0x192c5e=_0x16cada(_0x59ccc2,_0x382513),_0x493bed=_0x59ccc2[_0x4eb70c(0x181)];if(!_0x4ea128||!_0x192c5e||!_0x493bed||!_0x192c5e['rows']['length'])return null;let _0x5204d4=_0x53e882({'documentData':_0x59ccc2,'metadata':_0x35d6e9,'tableId':_0x382513,'column':_0x45d962,'direction':_0x55282e}),_0x5a7b71=_0x192c5e[_0x4eb70c(0x21b)][_0x4eb70c(0x37a)]((_0x1e6140,_0x59c218)=>({'body':_0x2b2d12(_0x4252b7((0x0,_0x2e794e['getBodySliceForTextXAction'])(_0x493bed,_0x1e6140[_0x4eb70c(0x1d4)],_0x1e6140[_0x4eb70c(0x29b)]+0x1,!0x1))),'length':_0x1e6140[_0x4eb70c(0x29b)]+0x1-_0x1e6140['startOffset'],'sourceIndex':_0x59c218})),_0x18b184=_0x192c5e['rows'][0x0][_0x4eb70c(0x1d4)],_0x3a410e=[];return _0x5204d4[_0x4eb70c(0x2fd)][_0x4eb70c(0x20d)]((_0x49b64f,_0x1a40b0)=>{const _0x56e9ab=_0x4eb70c;let _0x1f66e8=_0x5204d4[_0x56e9ab(0x2ae)]+_0x1a40b0,_0x4e35b7=_0x5a7b71['findIndex'](_0x22cd67=>_0x22cd67[_0x56e9ab(0x2f4)]===_0x49b64f);if(_0x4e35b7===_0x1f66e8)return;let _0x3cc5fa=_0x18b184+_0x4faed9(_0x5a7b71,_0x4e35b7),_0x2274b6=_0x18b184+_0x4faed9(_0x5a7b71,_0x1f66e8),_0x2843eb=_0x5a7b71[_0x4e35b7],_0xf8bffb=_0x55d06d(_0x3cc5fa,_0x3cc5fa+_0x2843eb['length'],_0x2274b6,_0x2843eb['body'],_0x4328b6);_0xf8bffb&&(_0x3a410e['push'](_0x2e794e[_0x56e9ab(0x2fe)]['getInstance']()['moveOp']([_0x56e9ab(0x1f4),_0x382513,_0x56e9ab(0x184),_0x4e35b7],[_0x56e9ab(0x1f4),_0x382513,_0x56e9ab(0x184),_0x1f66e8])),_0x3a410e['push'](_0xf8bffb)),_0x5a7b71[_0x56e9ab(0x2c9)](_0x1f66e8,0x0,_0x5a7b71[_0x56e9ab(0x2c9)](_0x4e35b7,0x1)[0x0]);}),_0x45a977(_0x3a410e);}function _0x4faed9(_0x38d512,_0x40a55a){const _0x9e93bd=_0x2122c9;let _0x780f16=0x0;for(let _0xdaafd7=0x0;_0xdaafd7<_0x40a55a;_0xdaafd7++)_0x780f16+=_0x38d512[_0xdaafd7][_0x9e93bd(0x1d0)];return _0x780f16;}function _0x2d1f72(_0x151075,_0x261f95,_0x17e3a5,_0x35b363,_0x41d8b4){const _0x240d3f=_0x2122c9;let _0x5d7e8e=_0x2e794e[_0x240d3f(0x2fe)][_0x240d3f(0x170)]();if(_0x41d8b4<_0x17e3a5){for(let _0x231e88=0x0;_0x231e88<_0x35b363;_0x231e88++)_0x151075[_0x240d3f(0x2f9)](_0x5d7e8e[_0x240d3f(0x323)]([..._0x261f95,_0x17e3a5+_0x231e88],[..._0x261f95,_0x41d8b4+_0x231e88]));}else{for(let _0x32b5bc=_0x35b363-0x1;_0x32b5bc>=0x0;_0x32b5bc--)_0x151075[_0x240d3f(0x2f9)](_0x5d7e8e[_0x240d3f(0x323)]([..._0x261f95,_0x17e3a5+_0x32b5bc],[..._0x261f95,_0x41d8b4+_0x32b5bc]));}}function _0x44c406(_0x4a362b,_0x3c5d08){const _0x3f02d8=_0x2122c9;return Math[_0x3f02d8(0x183)](Math[_0x3f02d8(0x186)](0x0,_0x4a362b),Math[_0x3f02d8(0x186)](0x0,_0x3c5d08));}function _0x599a09(_0x408a02,_0x493558,_0x5c4bee,_0x25cb48,_0x548128){return!_0x408a02||_0x5c4bee<=_0x493558||_0x25cb48>=_0x493558&&_0x25cb48<=_0x5c4bee?null:_0x55d06d(_0x493558,_0x5c4bee,_0x25cb48,_0x2b2d12(_0x4252b7((0x0,_0x2e794e['getBodySliceForTextXAction'])(_0x408a02,_0x493558,_0x5c4bee,!0x1))),_0x548128);}function _0x55d06d(_0x1d387c,_0xc21e7c,_0x5ce062,_0x533a41,_0x5158d7){const _0x2346eb=_0x2122c9;let _0x4724a4=_0xc21e7c-_0x1d387c;if(_0x4724a4<=0x0||_0x5ce062>=_0x1d387c&&_0x5ce062<=_0xc21e7c)return null;let _0xa51666=new _0x2e794e['TextX']();return _0x5ce062<_0x1d387c?(_0xa51666[_0x2346eb(0x31a)](_0x5ce062),_0xa51666[_0x2346eb(0x20e)](_0x4724a4,_0x533a41),_0xa51666['retain'](_0x1d387c-_0x5ce062),_0xa51666['delete'](_0x4724a4)):(_0xa51666[_0x2346eb(0x31a)](_0x1d387c),_0xa51666[_0x2346eb(0x331)](_0x4724a4),_0xa51666[_0x2346eb(0x31a)](_0x5ce062-_0xc21e7c),_0xa51666[_0x2346eb(0x20e)](_0x4724a4,_0x533a41)),_0x2e794e[_0x2346eb(0x2fe)][_0x2346eb(0x170)]()[_0x2346eb(0x275)](_0xa51666[_0x2346eb(0x2d0)](),_0x5158d7);}function _0x2b2d12(_0x5e408a){const _0x3837c0=_0x2122c9;let _0x12e97f=_0x5e408a;return Object['keys'](_0x12e97f)[_0x3837c0(0x20d)](_0x1d5392=>{const _0x3831d1=_0x3837c0;let _0x38c531=_0x12e97f[_0x1d5392];Array[_0x3831d1(0x36b)](_0x38c531)&&_0x38c531[_0x3831d1(0x1d0)]===0x0&&delete _0x12e97f[_0x1d5392];}),_0x5e408a;}function _0x14c4bb(_0x2f1514,_0x354639,_0x47bc35,_0x1945c7,_0x517e04){const _0x1db6d0=_0x2122c9;let _0x1999a9=_0x2e794e[_0x1db6d0(0x2fe)][_0x1db6d0(0x170)]();for(let _0x3387f9=_0x517e04;_0x3387f9>=_0x1945c7;_0x3387f9--)_0x2f1514[_0x1db6d0(0x2f9)](_0x1999a9[_0x1db6d0(0x371)]([_0x1db6d0(0x1f4),_0x47bc35,_0x1db6d0(0x355),_0x3387f9],_0x4252b7(_0x354639[_0x1db6d0(0x355)][_0x3387f9])));_0x354639['tableRows'][_0x1db6d0(0x20d)]((_0x31f4b,_0x4674f9)=>{const _0x45fa9c=_0x1db6d0;for(let _0x768976=_0x517e04;_0x768976>=_0x1945c7;_0x768976--)_0x2f1514[_0x45fa9c(0x2f9)](_0x1999a9[_0x45fa9c(0x371)]([_0x45fa9c(0x1f4),_0x47bc35,_0x45fa9c(0x184),_0x4674f9,_0x45fa9c(0x217),_0x768976],_0x4252b7(_0x31f4b[_0x45fa9c(0x217)][_0x768976])));});}function _0x389808(_0x3037b9,_0x4fd00d,_0x155f8d,_0x37bd74,_0x547429,_0x5288bd=['body'],_0x1e99e0){const _0x27e688=_0x2122c9;var _0x2bb32a;let _0x5eb32f=(_0x2bb32a=_0x3037b9[_0x27e688(0x1f4)])==null?void 0x0:_0x2bb32a[_0x4fd00d],_0xb6c3d0=_0x16cada(_0x3037b9,_0x4fd00d);if(!_0x5eb32f||!_0xb6c3d0||_0x37bd74<=0x0||_0x155f8d<0x0||_0x155f8d>=_0x5eb32f[_0x27e688(0x184)][_0x27e688(0x1d0)])return null;if(_0x3e6591(_0x5eb32f))return _0x31d6f3(_0x3037b9,_0x5eb32f,_0xb6c3d0,_0x4fd00d,_0x155f8d,_0x37bd74,_0x547429,_0x5288bd,_0x1e99e0);let _0x524a36=_0x547429==='above'?_0x155f8d:_0x155f8d+0x1,_0x3fe9fd=_0x547429==='above'?_0x4d0cfe(_0xb6c3d0,_0x155f8d)[_0x27e688(0x1d4)]:_0x4d0cfe(_0xb6c3d0,_0x155f8d)['endOffset']+0x1,_0x2c4edf=_0x476f22(_0x8b8406(_0x5eb32f)[_0x27e688(0x37a)](_0x5f241a=>_0x524a36<=_0x5f241a[_0x27e688(0x18a)]?{..._0x5f241a,'startRow':_0x5f241a[_0x27e688(0x18a)]+_0x37bd74,'endRow':_0x5f241a[_0x27e688(0x25a)]+_0x37bd74}:_0x524a36<=_0x5f241a[_0x27e688(0x25a)]?{..._0x5f241a,'endRow':_0x5f241a[_0x27e688(0x25a)]+_0x37bd74}:_0x5f241a)),_0x31260e=_0x5eb32f[_0x27e688(0x184)][_0x155f8d],_0x4315be=Array[_0x27e688(0x20c)]({'length':_0x37bd74},(_0x5211fe,_0x5d2d65)=>{let _0x419ca3=_0x4252b7(_0x31260e);return _0x2802ca(_0x419ca3,_0x524a36+_0x5d2d65,_0x2c4edf),_0x1e99e0==null||_0x1e99e0(_0x419ca3,_0x5d2d65),_0x419ca3;}),_0x3e7ef8=_0x3ee53f(_0x5eb32f,_0x2c4edf,_0x3e45ea=>_0x3e45ea>=_0x524a36?_0x3e45ea+_0x37bd74:_0x3e45ea),_0x252f47=_0x2e794e[_0x27e688(0x2fe)]['getInstance']();_0x4315be[_0x27e688(0x20d)]((_0x5b299d,_0x420c7e)=>{const _0x28b346=_0x27e688;_0x3e7ef8[_0x28b346(0x2f9)](_0x252f47[_0x28b346(0x30c)](['tableSource',_0x4fd00d,_0x28b346(0x184),_0x524a36+_0x420c7e],_0x5b299d));});let _0x1a307d=_0x5cc27b(_0x3037b9,[{'startOffset':_0x3fe9fd,'endOffset':_0x3fe9fd,'text':_0x1e9505(_0x4c49a6(_0x5eb32f['tableColumns']['length']),_0x37bd74)}],_0x5288bd);return _0x1a307d?(_0x3e7ef8[_0x27e688(0x2f9)](_0x1a307d),{'actions':_0x45a977(_0x3e7ef8),'cursorRow':_0x524a36}):null;}function _0x31d6f3(_0x806019,_0x41a341,_0x154dc4,_0x903b86,_0x884a0b,_0x4f6c2b,_0x499847,_0x2bdeca,_0x3b473a){const _0x90938d=_0x2122c9;let _0x218b4b=_0x499847==='above'?_0x884a0b:_0x884a0b+0x1,_0x360daa=_0x4d0cfe(_0x154dc4,_0x884a0b),_0x307e07=_0x499847==='above'?_0x360daa[_0x90938d(0x1d4)]:_0x360daa[_0x90938d(0x29b)]+0x1,_0x4e050e=_0x41a341[_0x90938d(0x184)][_0x884a0b],_0x8a2d76=Array[_0x90938d(0x20c)]({'length':_0x4f6c2b},(_0xde6156,_0x18a7b8)=>{const _0x10c509=_0x90938d;let _0x56c3df=_0x4252b7(_0x4e050e);return _0x56c3df['tableCells'][_0x10c509(0x20d)](_0x25233a=>{const _0x7e24e7=_0x10c509;delete _0x25233a[_0x7e24e7(0x288)],_0x25233a['columnSpan']===0x0&&delete _0x25233a[_0x7e24e7(0x20a)];}),_0x3b473a==null||_0x3b473a(_0x56c3df,_0x18a7b8),_0x56c3df;}),_0x44cfbd=_0x2e794e['JSONX'][_0x90938d(0x170)](),_0x3eadfb=_0x8a2d76[_0x90938d(0x37a)]((_0x46a285,_0xdc0a53)=>_0x44cfbd[_0x90938d(0x30c)](['tableSource',_0x903b86,_0x90938d(0x184),_0x218b4b+_0xdc0a53],_0x46a285)),_0x3fd9ee=_0x5cc27b(_0x806019,[{'startOffset':_0x307e07,'endOffset':_0x307e07,'text':_0x8a2d76['map'](_0x10fbc4=>_0x4c49a6(_0x10fbc4['tableCells'][_0x90938d(0x1d0)]))[_0x90938d(0x220)]('')}],_0x2bdeca);return _0x3fd9ee?(_0x3eadfb['push'](_0x3fd9ee),{'actions':_0x45a977(_0x3eadfb),'cursorRow':_0x218b4b}):null;}function _0x57d525(_0x537806,_0x283113,_0x1ed0b4=[_0x2122c9(0x181)]){const _0x48b721=_0x2122c9;var _0x5d5770;let _0x1fae32=(_0x5d5770=_0x537806[_0x48b721(0x1f4)])==null||(_0x5d5770=_0x5d5770[_0x283113])==null?void 0x0:_0x5d5770[_0x48b721(0x355)][_0x48b721(0x1d0)];return _0x1fae32?_0x389808(_0x537806,_0x283113,0x0,0x1,_0x48b721(0x2da),_0x1ed0b4,_0x973b67=>{const _0x40eaa2=_0x48b721;_0x973b67[_0x40eaa2(0x24c)]=!0x0,_0x973b67['tableCells'][_0x40eaa2(0x20d)]((_0x1e5e76,_0x620ae)=>{const _0x31ff8a=_0x40eaa2;_0x620ae===0x0?(_0x1e5e76[_0x31ff8a(0x20a)]=_0x1fae32,delete _0x1e5e76[_0x31ff8a(0x288)]):(_0x1e5e76[_0x31ff8a(0x288)]=0x0,_0x1e5e76[_0x31ff8a(0x20a)]=0x0);});}):null;}function _0x5aa919(_0x5e09f0,_0x57e54f,_0x1f454c,_0x15c1f6,_0x3a8d08=[_0x2122c9(0x181)]){const _0x567f1d=_0x2122c9;var _0x201abe;let _0x5483b2=(_0x201abe=_0x5e09f0[_0x567f1d(0x1f4)])==null?void 0x0:_0x201abe[_0x57e54f],_0x3a2d5f=_0x16cada(_0x5e09f0,_0x57e54f);if(!_0x5483b2||!_0x3a2d5f)return null;let _0x1418b6=Math[_0x567f1d(0x183)](_0x1f454c,_0x15c1f6),_0x1f280f=Math[_0x567f1d(0x186)](_0x1f454c,_0x15c1f6);if(_0x1418b6<0x0||_0x1418b6>=_0x5483b2['tableRows']['length']||_0x1f280f<_0x1418b6)return null;let _0x50f8a0=Math['min'](_0x1f280f,_0x5483b2[_0x567f1d(0x184)]['length']-0x1),_0x485b61=_0x50f8a0-_0x1418b6+0x1;if(_0x485b61>=_0x5483b2[_0x567f1d(0x184)][_0x567f1d(0x1d0)])return _0x21505a(_0x5e09f0,_0x57e54f,_0x3a8d08);let _0x4b9648=_0x3ee53f(_0x5483b2,_0x476f22(_0x8b8406(_0x5483b2)[_0x567f1d(0x37a)](_0x68824e=>_0x564fc1(_0x68824e,_0x1418b6,_0x50f8a0))[_0x567f1d(0x24e)](_0x25e643=>_0x25e643!=null)),_0x2fc6ad=>_0x2fc6ad<_0x1418b6?_0x2fc6ad:_0x2fc6ad>_0x50f8a0?_0x2fc6ad-_0x485b61:null),_0x19108e=_0x2e794e[_0x567f1d(0x2fe)][_0x567f1d(0x170)]();for(let _0x1e77b4=_0x50f8a0;_0x1e77b4>=_0x1418b6;_0x1e77b4--)_0x4b9648['push'](_0x19108e[_0x567f1d(0x371)]([_0x567f1d(0x1f4),_0x57e54f,'tableRows',_0x1e77b4],_0x4252b7(_0x5483b2[_0x567f1d(0x184)][_0x1e77b4])));let _0x3fe61d=_0x4d0cfe(_0x3a2d5f,_0x1418b6)['startOffset'],_0x466276=_0x4d0cfe(_0x3a2d5f,_0x50f8a0)[_0x567f1d(0x29b)]+0x1,_0x4157db=_0x5cc27b(_0x5e09f0,[{'startOffset':_0x3fe61d,'endOffset':_0x466276,'text':''}],_0x3a8d08);return _0x4157db?(_0x4b9648[_0x567f1d(0x2f9)](..._0x3341e4(_0x5e09f0,[{'startOffset':_0x3fe61d,'endOffset':_0x466276,'collapsed':!0x1}])),_0x4b9648[_0x567f1d(0x2f9)](_0x4157db),{'actions':_0x45a977(_0x4b9648),'cursorRow':Math[_0x567f1d(0x183)](_0x1418b6,_0x5483b2['tableRows'][_0x567f1d(0x1d0)]-_0x485b61-0x1)}):null;}function _0x21505a(_0x4f762c,_0x29288f,_0x497e22){const _0x13fada=_0x2122c9;var _0x21edd3;let _0x2166af=(_0x21edd3=_0x4f762c[_0x13fada(0x1f4)])==null?void 0x0:_0x21edd3[_0x29288f],_0x4f8eb6=_0x16cada(_0x4f762c,_0x29288f);if(!_0x2166af||!_0x4f8eb6)return null;let _0x170e03=_0x5cc27b(_0x4f762c,[{'startOffset':_0x4f8eb6[_0x13fada(0x1d4)],'endOffset':_0x4f8eb6[_0x13fada(0x29b)],'text':''}],_0x497e22);if(!_0x170e03)return null;let _0xfebb72=_0x3341e4(_0x4f762c,[{'startOffset':_0x4f8eb6[_0x13fada(0x1d4)],'endOffset':_0x4f8eb6[_0x13fada(0x29b)],'collapsed':!0x1}]);return{'actions':_0x45a977([_0x2e794e[_0x13fada(0x2fe)]['getInstance']()[_0x13fada(0x371)]([_0x13fada(0x1f4),_0x29288f],_0x4252b7(_0x2166af)),..._0xfebb72,_0x170e03]),'cursorRow':0x0,'deleteTable':!0x0};}function _0x3341e4(_0x12fc81,_0x5d23db){const _0x40cdfa=_0x2122c9;let _0xd6494=_0x12fc81['body'];if(!_0xd6494)return[];let _0x33c0b9=_0x12fc81['drawings']??{},_0x4f2a84=_0x12fc81['drawingsOrder']??[],_0xe898cb=[...new Set((0x0,_0x2e794e[_0x40cdfa(0x174)])(_0xd6494,_0x5d23db))][_0x40cdfa(0x179)]((_0x31db13,_0x99a9f0)=>_0x4f2a84['indexOf'](_0x99a9f0)-_0x4f2a84[_0x40cdfa(0x198)](_0x31db13)),_0x5eb5fd=_0x2e794e['JSONX'][_0x40cdfa(0x170)](),_0x507337=[];for(let _0x44b96d of _0xe898cb){let _0x431342=_0x33c0b9[_0x44b96d];if(_0x431342){let _0x84af0f=_0x5eb5fd['removeOp']([_0x40cdfa(0x1c7),_0x44b96d],_0x431342);_0x84af0f&&_0x507337[_0x40cdfa(0x2f9)](_0x84af0f);}let _0xc7157c=_0x4f2a84['indexOf'](_0x44b96d);if(_0xc7157c>=0x0){let _0x165c80=_0x5eb5fd[_0x40cdfa(0x371)]([_0x40cdfa(0x32f),_0xc7157c],_0x44b96d);_0x165c80&&_0x507337[_0x40cdfa(0x2f9)](_0x165c80);}}return _0x507337;}function _0x564fc1(_0x136649,_0x149008,_0x2947f9){const _0x400f6f=_0x2122c9;let _0x3efea2=[],_0x45fc5d=_0x2947f9-_0x149008+0x1;for(let _0x2a427e=_0x136649['startRow'];_0x2a427e<=_0x136649[_0x400f6f(0x25a)];_0x2a427e++)_0x2a427e<_0x149008?_0x3efea2[_0x400f6f(0x2f9)](_0x2a427e):_0x2a427e>_0x2947f9&&_0x3efea2[_0x400f6f(0x2f9)](_0x2a427e-_0x45fc5d);return _0x3efea2[_0x400f6f(0x1d0)]?{..._0x136649,'startRow':Math[_0x400f6f(0x183)](..._0x3efea2),'endRow':Math['max'](..._0x3efea2)}:null;}function _0x8551fa(_0x55f3ac,_0x155d03,_0x10dbc1){const _0x5a8313=_0x2122c9;let _0x459fcd=[],_0x38adbc=_0x10dbc1-_0x155d03+0x1;for(let _0x3bf696=_0x55f3ac[_0x5a8313(0x320)];_0x3bf696<=_0x55f3ac['endColumn'];_0x3bf696++)_0x3bf696<_0x155d03?_0x459fcd[_0x5a8313(0x2f9)](_0x3bf696):_0x3bf696>_0x10dbc1&&_0x459fcd[_0x5a8313(0x2f9)](_0x3bf696-_0x38adbc);return _0x459fcd[_0x5a8313(0x1d0)]?{..._0x55f3ac,'startColumn':Math['min'](..._0x459fcd),'endColumn':Math[_0x5a8313(0x186)](..._0x459fcd)}:null;}function _0x476f22(_0x422565){const _0x1e2249=_0x2122c9;let _0x27276b=new Map();for(let _0x27409f of _0x422565){let _0x5735d0=_0x27409f['endRow']-_0x27409f[_0x1e2249(0x18a)]+0x1,_0x3e42b9=_0x27409f['endColumn']-_0x27409f[_0x1e2249(0x320)]+0x1;for(let _0x52db5b=_0x27409f[_0x1e2249(0x18a)];_0x52db5b<=_0x27409f[_0x1e2249(0x25a)];_0x52db5b++)for(let _0x2171ff=_0x27409f['startColumn'];_0x2171ff<=_0x27409f[_0x1e2249(0x30e)];_0x2171ff++)_0x27276b[_0x1e2249(0x1f0)](_0x52b6b3(_0x52db5b,_0x2171ff),_0x52db5b===_0x27409f['startRow']&&_0x2171ff===_0x27409f[_0x1e2249(0x320)]?{'rowSpan':_0x5735d0,'columnSpan':_0x3e42b9}:{'rowSpan':0x0,'columnSpan':0x0});}return _0x27276b;}function _0x3ee53f(_0x427d20,_0x2ce043,_0x323db0){const _0x1fa1d0=_0x2122c9;let _0x38f94b=[],_0x405f1c=_0x2e794e[_0x1fa1d0(0x2fe)][_0x1fa1d0(0x170)]();return _0x427d20['tableRows'][_0x1fa1d0(0x20d)]((_0x4db6fa,_0x4aa788)=>{const _0x12699e=_0x1fa1d0;let _0x5e0bd6=_0x323db0(_0x4aa788);_0x5e0bd6!=null&&_0x4db6fa[_0x12699e(0x217)][_0x12699e(0x20d)]((_0x4493a8,_0x49af83)=>{const _0x1daf0b=_0x12699e;let _0x214199=_0x2ce043[_0x1daf0b(0x1ac)](_0x52b6b3(_0x5e0bd6,_0x49af83)),_0x34aadd=[_0x1daf0b(0x1f4),_0x427d20[_0x1daf0b(0x350)],_0x1daf0b(0x184),_0x4aa788,_0x1daf0b(0x217),_0x49af83],_0x3721df=_0x84adb6(_0x405f1c,[..._0x34aadd,_0x1daf0b(0x288)],_0x4493a8[_0x1daf0b(0x288)],_0x214199==null?void 0x0:_0x214199[_0x1daf0b(0x288)]),_0x268d7a=_0x84adb6(_0x405f1c,[..._0x34aadd,_0x1daf0b(0x20a)],_0x4493a8[_0x1daf0b(0x20a)],_0x214199==null?void 0x0:_0x214199['columnSpan']);_0x3721df&&_0x38f94b[_0x1daf0b(0x2f9)](_0x3721df),_0x268d7a&&_0x38f94b[_0x1daf0b(0x2f9)](_0x268d7a);});}),_0x38f94b;}function _0x227aa4(_0xf2ccd6,_0x526b81,_0x3db0e1){const _0x10f839=_0x2122c9;let _0x49de37=[],_0x50f01b=_0x2e794e[_0x10f839(0x2fe)][_0x10f839(0x170)]();return _0xf2ccd6[_0x10f839(0x184)][_0x10f839(0x20d)]((_0x134f3d,_0x4392a5)=>{const _0x55e0b9=_0x10f839;_0x134f3d['tableCells'][_0x55e0b9(0x20d)]((_0xb90e9a,_0x5d8c03)=>{const _0x115415=_0x55e0b9;let _0x5c003f=_0x3db0e1(_0x5d8c03);if(_0x5c003f==null)return;let _0x1d42a7=_0x526b81['get'](_0x52b6b3(_0x4392a5,_0x5c003f)),_0xdf5fd5=[_0x115415(0x1f4),_0xf2ccd6['tableId'],'tableRows',_0x4392a5,'tableCells',_0x5d8c03],_0x222b85=_0x84adb6(_0x50f01b,[..._0xdf5fd5,'rowSpan'],_0xb90e9a['rowSpan'],_0x1d42a7==null?void 0x0:_0x1d42a7['rowSpan']),_0x7e9a0=_0x84adb6(_0x50f01b,[..._0xdf5fd5,'columnSpan'],_0xb90e9a[_0x115415(0x20a)],_0x1d42a7==null?void 0x0:_0x1d42a7[_0x115415(0x20a)]);_0x222b85&&_0x49de37['push'](_0x222b85),_0x7e9a0&&_0x49de37[_0x115415(0x2f9)](_0x7e9a0);});}),_0x49de37;}function _0x2802ca(_0x57e640,_0x13b969,_0x49d662){const _0x1aeffc=_0x2122c9;_0x57e640['tableCells'][_0x1aeffc(0x20d)]((_0x20400d,_0x9bfad6)=>{const _0x3e5d40=_0x1aeffc;let _0x2b7f56=_0x49d662[_0x3e5d40(0x1ac)](_0x52b6b3(_0x13b969,_0x9bfad6));_0x3897e0(_0x20400d,_0x3e5d40(0x288),_0x2b7f56==null?void 0x0:_0x2b7f56[_0x3e5d40(0x288)]),_0x3897e0(_0x20400d,_0x3e5d40(0x20a),_0x2b7f56==null?void 0x0:_0x2b7f56[_0x3e5d40(0x20a)]);});}function _0x272197(_0x34783d,_0x580371,_0x37977a,_0x53d096){const _0xadcc4f=_0x2122c9;let _0x41ee0f=_0x53d096[_0xadcc4f(0x1ac)](_0x52b6b3(_0x580371,_0x37977a));_0x3897e0(_0x34783d,_0xadcc4f(0x288),_0x41ee0f==null?void 0x0:_0x41ee0f['rowSpan']),_0x3897e0(_0x34783d,_0xadcc4f(0x20a),_0x41ee0f==null?void 0x0:_0x41ee0f[_0xadcc4f(0x20a)]);}function _0x3897e0(_0x3f1068,_0x1f45a2,_0x30d863){_0x30d863===void 0x0?delete _0x3f1068[_0x1f45a2]:_0x3f1068[_0x1f45a2]=_0x30d863;}function _0x52b6b3(_0x5777bf,_0x2a5f00){return[_0x5777bf,_0x2a5f00]['join'](':');}function _0x4c49a6(_0x1eaa90){const _0x571457=_0x2122c9;return[_0x2e794e[_0x571457(0x273)][_0x571457(0x326)],_0x1e9505(_0x570f2a(),_0x1eaa90),_0x2e794e[_0x571457(0x273)]['TABLE_ROW_END']][_0x571457(0x220)]('');}function _0x570f2a(){const _0x4c0b06=_0x2122c9;return[_0x2e794e[_0x4c0b06(0x273)][_0x4c0b06(0x21a)],'\x0d\x0a',_0x2e794e[_0x4c0b06(0x273)][_0x4c0b06(0x1a5)]][_0x4c0b06(0x220)]('');}function _0x1e9505(_0x3d2ee7,_0x1bdda8){const _0x40e3f9=_0x2122c9;return Array['from']({'length':_0x1bdda8},()=>_0x3d2ee7)[_0x40e3f9(0x220)]('');}function _0x4252b7(_0x214dfa){const _0xdcf33a=_0x2122c9;return Array[_0xdcf33a(0x36b)](_0x214dfa)?_0x214dfa[_0xdcf33a(0x37a)](_0x5411e2=>_0x4252b7(_0x5411e2)):!_0x214dfa||typeof _0x214dfa!='object'?_0x214dfa:Object[_0xdcf33a(0x2bb)](Object['entries'](_0x214dfa)[_0xdcf33a(0x37a)](([_0x406111,_0x5476a6])=>[_0x406111,_0x4252b7(_0x5476a6)]));}function _0x45a977(_0xea0f6){const _0x561415=_0x2122c9;return _0xea0f6['reduce']((_0x34aa46,_0x143edb)=>_0x2e794e[_0x561415(0x2fe)][_0x561415(0x319)](_0x34aa46,_0x143edb),null);}function _0x4b81c6(_0x310447,_0x46013b,_0x33d7bc,_0x451725,_0x27ec6f,_0x571f39,_0x1993a3,_0x1c36fe){const _0x54d0e3=_0x2122c9;if(!_0x451725)return!0x0;let _0xacb65b=[];return _0x27ec6f?_0xacb65b=_0x561d7d(_0x33d7bc,_0x27ec6f):_0x571f39!=null&&(_0xacb65b=[{'startOffset':_0x571f39,'endOffset':_0x571f39,'collapsed':!0x0}]),!!_0x310447[_0x54d0e3(0x22f)](_0x8defbd['id'],{'unitId':_0x46013b,'historyAction':_0x1c36fe,'actions':_0x451725,'textRanges':_0xacb65b,'trigger':_0x1993a3});}function _0x35dd41(_0x562ef0,_0x3544fa=''){const _0x33a41f=_0x2122c9;var _0x2f70dc,_0x443572;return _0x3544fa?(_0x2f70dc=_0x562ef0[_0x33a41f(0x1bf)])!=null&&_0x2f70dc[_0x3544fa]?[_0x33a41f(0x1bf),_0x3544fa,_0x33a41f(0x181)]:(_0x443572=_0x562ef0[_0x33a41f(0x301)])!=null&&_0x443572[_0x3544fa]?[_0x33a41f(0x301),_0x3544fa,'body']:['body']:[_0x33a41f(0x181)];}function _0x1a6510(_0x3c3a4f,_0x1c37bd){const _0xdbf7ac=_0x2122c9;return JSON['stringify'](_0x3c3a4f)===JSON[_0xdbf7ac(0x19d)](_0x1c37bd);}function _0x561d7d(_0x11fccb,_0x35d4df){const _0x1086d2=_0x2122c9;var _0x614bff,_0x13f0e3,_0x5209cb;let _0x54b84d=_0x16cada(_0x11fccb,_0x35d4df['tableId']);if(!_0x54b84d)return[];let _0x53e17f=Math[_0x1086d2(0x183)](_0x35d4df['startRow'],_0x35d4df['endRow']),_0x57ee3d=Math['max'](_0x35d4df['startRow'],_0x35d4df[_0x1086d2(0x25a)]),_0x4367d0=Math['min'](_0x35d4df[_0x1086d2(0x320)],_0x35d4df['endColumn']),_0x543a87=Math[_0x1086d2(0x186)](_0x35d4df[_0x1086d2(0x320)],_0x35d4df['endColumn']),_0x2e5c34=(_0x614bff=_0x54b84d[_0x1086d2(0x21b)][_0x53e17f])==null?void 0x0:_0x614bff[_0x1086d2(0x2bc)][_0x4367d0],_0x3747e7=(_0x13f0e3=_0x54b84d[_0x1086d2(0x21b)][_0x57ee3d])==null?void 0x0:_0x13f0e3[_0x1086d2(0x2bc)][_0x543a87];if(!_0x2e5c34||!_0x3747e7)return[];let _0x4dc93d=(_0x5209cb=_0x54b84d['tableSource'][_0x1086d2(0x184)][_0x53e17f])==null?void 0x0:_0x5209cb[_0x1086d2(0x217)][_0x4367d0],_0x6c26bb=(_0x4dc93d==null?void 0x0:_0x4dc93d['rowSpan'])??0x1,_0x2acc9a=(_0x4dc93d==null?void 0x0:_0x4dc93d[_0x1086d2(0x20a)])??0x1,_0x2be366=(_0x6c26bb>0x1||_0x2acc9a>0x1)&&_0x53e17f+_0x6c26bb-0x1>=_0x57ee3d&&_0x4367d0+_0x2acc9a-0x1>=_0x543a87?_0x2e5c34:_0x3747e7,_0x5b9548=_0x4367d0===0x0&&_0x543a87===_0x54b84d['columnCount']-0x1,_0x285a9b=_0x53e17f===0x0&&_0x57ee3d===_0x54b84d[_0x1086d2(0x2f0)]-0x1,_0x5946f3=_0x2e5c34[_0x1086d2(0x1d4)]+0x1;return[{'startOffset':_0x5946f3,'endOffset':Math[_0x1086d2(0x186)](_0x5946f3,_0x2be366['endOffset']-0x1),'collapsed':!0x1,'rangeType':_0x2e794e[_0x1086d2(0x232)][_0x1086d2(0x28f)],'segmentId':_0x35d4df[_0x1086d2(0x366)]??'','tableId':_0x35d4df[_0x1086d2(0x350)],'startRow':_0x53e17f,'endRow':_0x57ee3d,'startColumn':_0x4367d0,'endColumn':_0x543a87,'spanEntireRow':_0x5b9548,'spanEntireColumn':_0x285a9b,'spanEntireTable':_0x5b9548&&_0x285a9b,'isActive':!0x0}];}function _0x3da01e(_0xa19b79,_0xe1690e){return function(_0x56619e,_0x4c2e3f){_0xe1690e(_0x56619e,_0x4c2e3f,_0xa19b79);};}function _0x35db5f(_0x4a0727,_0xaaf6e0,_0x5d0410,_0x3ade0a){const _0x3088ba=_0x2122c9;var _0x259dbf=arguments[_0x3088ba(0x1d0)],_0x4b2e3c=_0x259dbf<0x3?_0xaaf6e0:_0x3ade0a===null?_0x3ade0a=Object[_0x3088ba(0x20f)](_0xaaf6e0,_0x5d0410):_0x3ade0a,_0x32135a;if(typeof Reflect==_0x3088ba(0x185)&&typeof Reflect[_0x3088ba(0x2d3)]==_0x3088ba(0x1e3))_0x4b2e3c=Reflect[_0x3088ba(0x2d3)](_0x4a0727,_0xaaf6e0,_0x5d0410,_0x3ade0a);else{for(var _0x2c4479=_0x4a0727[_0x3088ba(0x1d0)]-0x1;_0x2c4479>=0x0;_0x2c4479--)(_0x32135a=_0x4a0727[_0x2c4479])&&(_0x4b2e3c=(_0x259dbf<0x3?_0x32135a(_0x4b2e3c):_0x259dbf>0x3?_0x32135a(_0xaaf6e0,_0x5d0410,_0x4b2e3c):_0x32135a(_0xaaf6e0,_0x5d0410))||_0x4b2e3c);}return _0x259dbf>0x3&&_0x4b2e3c&&Object[_0x3088ba(0x335)](_0xaaf6e0,_0x5d0410,_0x4b2e3c),_0x4b2e3c;}let _0x2cb1d3=class extends _0x2e794e['Disposable']{constructor(_0x2be93f,_0x40a0c3){const _0x28f2d7=_0x2122c9;var _0x236cf0;super(),this[_0x28f2d7(0x1e7)]=_0x2be93f,this['_docSelectionManagerService']=_0x40a0c3,_0x45bb96(this,'_selectionChange$',new _0x48509a[(_0x28f2d7(0x32b))]()),_0x45bb96(this,'_structuralSelection',null),_0x45bb96(this,_0x28f2d7(0x2f6),null),_0x45bb96(this,_0x28f2d7(0x2b0),!0x1),_0x45bb96(this,'_preserveStructuralSelectionOnNextTextSelection',!0x1),_0x45bb96(this,'_structuralSelectionScopeDepth',0x0),_0x45bb96(this,_0x28f2d7(0x16e),this[_0x28f2d7(0x35d)][_0x28f2d7(0x1e4)]()),this[_0x28f2d7(0x248)](((_0x236cf0=this[_0x28f2d7(0x223)]['textSelection$'])==null?void 0x0:_0x236cf0[_0x28f2d7(0x177)](()=>{const _0x1f9c09=_0x28f2d7;this['_restoreNativeSelectionForTextFocus'](),this[_0x1f9c09(0x309)]();}))??(()=>void 0x0));}[_0x2122c9(0x15f)](){const _0x329d26=_0x2122c9;if(this[_0x329d26(0x31c)]>0x0)return this[_0x329d26(0x180)]();let _0xd22a8c=this[_0x329d26(0x324)]();if(!_0xd22a8c)return null;if(!this['_nativeSelectionSuppressed']){var _0x211810,_0x29009e,_0x1188d5,_0x58e1b3;let _0x5ae4bd=(_0x211810=(_0x29009e=this[_0x329d26(0x223)])[_0x329d26(0x1d2)])==null?void 0x0:_0x211810[_0x329d26(0x34e)](_0x29009e);if(_0x5ae4bd&&_0x5ae4bd[_0x329d26(0x1d0)]>0x0)return this[_0x329d26(0x231)](_0xd22a8c,_0x5ae4bd);let _0x31467f=(_0x1188d5=(_0x58e1b3=this[_0x329d26(0x223)])[_0x329d26(0x222)])==null?void 0x0:_0x1188d5['call'](_0x58e1b3);if(_0x31467f)return this[_0x329d26(0x1be)](_0xd22a8c,_0x31467f)||{'kind':_0x329d26(0x329),'unitId':_0xd22a8c['getUnitId'](),'segmentId':_0x31467f[_0x329d26(0x366)]??'','tableId':'','startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1,'startOffset':_0x31467f[_0x329d26(0x1d4)]??0x0,'endOffset':_0x31467f[_0x329d26(0x29b)]??_0x31467f[_0x329d26(0x1d4)]??0x0,'source':_0x329d26(0x329)};}let _0x4404c7=this[_0x329d26(0x296)](_0xd22a8c);return _0x4404c7?{..._0x4404c7,'unitId':_0xd22a8c[_0x329d26(0x168)]()}:null;}['getStructuralSelection'](){const _0x59697b=_0x2122c9;let _0x52db58=this[_0x59697b(0x324)]();if(!_0x52db58)return null;let _0x21b7fa=this[_0x59697b(0x296)](_0x52db58);return _0x21b7fa?{..._0x21b7fa,'unitId':_0x52db58[_0x59697b(0x168)]()}:null;}async[_0x2122c9(0x205)](_0x41b14d){const _0x1b95e0=_0x2122c9;if(!this[_0x1b95e0(0x180)]())return _0x41b14d();this[_0x1b95e0(0x31c)]++;try{return await _0x41b14d();}finally{this[_0x1b95e0(0x31c)]--,this[_0x1b95e0(0x309)]();}}[_0x2122c9(0x1f5)](){const _0x164fcc=_0x2122c9;let _0x54778b=this[_0x164fcc(0x15f)]();return _0xcb2c1e(_0x54778b)?_0x54778b:null;}[_0x2122c9(0x309)](){const _0x25d70d=_0x2122c9;let _0x14e7b6=this['_getCurrentDoc']();_0x14e7b6&&this['_getValidStructuralSelection'](_0x14e7b6),this[_0x25d70d(0x35d)][_0x25d70d(0x1e2)](this[_0x25d70d(0x15f)]());}[_0x2122c9(0x1e8)](_0x12ad24,_0x4734c3={}){const _0x1a4961=_0x2122c9;var _0xfa5be9;let _0x2c911e=this[_0x1a4961(0x324)](),_0x3027ec=_0x2c911e==null||(_0xfa5be9=_0x2c911e['getSnapshot']()['tableSource'])==null?void 0x0:_0xfa5be9[_0x12ad24[_0x1a4961(0x350)]],_0x5ac5f2=_0x3027ec?_0x21ec78(_0x3027ec,_0x12ad24):null;if(!_0x3027ec||!_0x5ac5f2)this['_clearStructuralSelectionState'](!0x0),this[_0x1a4961(0x309)]();else{if(this[_0x1a4961(0x27f)]={'kind':_0x293754(_0x12ad24[_0x1a4961(0x2ab)],_0x5ac5f2,_0x3027ec),'unitId':(_0x2c911e==null?void 0x0:_0x2c911e['getUnitId']())??'','segmentId':_0x12ad24[_0x1a4961(0x366)]??'','tableId':_0x12ad24['tableId'],'startRow':_0x5ac5f2['startRow'],'endRow':_0x5ac5f2[_0x1a4961(0x25a)],'startColumn':_0x5ac5f2[_0x1a4961(0x320)],'endColumn':_0x5ac5f2[_0x1a4961(0x30e)],'startOffset':_0x12ad24[_0x1a4961(0x1d4)]??0x0,'endOffset':_0x12ad24[_0x1a4961(0x29b)]??_0x12ad24[_0x1a4961(0x1d4)]??0x0,'source':_0x1a4961(0x294)},this[_0x1a4961(0x2f6)]=_0x5c6ab6(_0x3027ec),this[_0x1a4961(0x31d)]=!!_0x4734c3[_0x1a4961(0x36d)],_0x4734c3['clearNativeSelection']!==!0x1){var _0x36f836,_0x4ca6e5;(_0x36f836=(_0x4ca6e5=this[_0x1a4961(0x223)])[_0x1a4961(0x1a4)])==null||_0x36f836[_0x1a4961(0x34e)](_0x4ca6e5,[],void 0x0,!0x1);}this[_0x1a4961(0x309)]();}}[_0x2122c9(0x241)](_0x51a035,_0x556441,_0xace8d6,_0x4be247,_0x140e8d={}){const _0x5e15a7=_0x2122c9;var _0x343ab9;let _0x33de30=this[_0x5e15a7(0x324)](),_0x399b8e=_0x33de30==null||(_0x343ab9=_0x33de30[_0x5e15a7(0x2e5)]()[_0x5e15a7(0x1f4)])==null?void 0x0:_0x343ab9[_0x51a035];if(!_0x399b8e)return;let _0x49c80d=_0x399b8e[_0x5e15a7(0x184)][_0x5e15a7(0x1d0)],_0x3efd36=_0x399b8e[_0x5e15a7(0x355)]['length'],_0x9f33d5=Math['min'](_0xace8d6,_0x4be247),_0x54be79=Math['max'](_0xace8d6,_0x4be247);_0x556441==='row'?this[_0x5e15a7(0x166)]({'kind':_0x5e15a7(0x341),'segmentId':_0x140e8d[_0x5e15a7(0x366)],'tableId':_0x51a035,'startRow':_0x9f33d5,'endRow':_0x54be79,'startColumn':0x0,'endColumn':Math[_0x5e15a7(0x186)](_0x3efd36-0x1,0x0)},_0x140e8d):this[_0x5e15a7(0x166)]({'kind':_0x5e15a7(0x1b4),'segmentId':_0x140e8d[_0x5e15a7(0x366)],'tableId':_0x51a035,'startRow':0x0,'endRow':Math['max'](_0x49c80d-0x1,0x0),'startColumn':_0x9f33d5,'endColumn':_0x54be79},_0x140e8d);}[_0x2122c9(0x259)](_0x4cfd60={}){const _0x579569=_0x2122c9;if(this[_0x579569(0x257)](),_0x4cfd60[_0x579569(0x361)]!==!0x1){var _0x26c9b9,_0x3361fd;(_0x26c9b9=(_0x3361fd=this[_0x579569(0x223)])[_0x579569(0x1a4)])==null||_0x26c9b9['call'](_0x3361fd,[],void 0x0,!0x1);}this[_0x579569(0x309)]();}[_0x2122c9(0x373)](_0x58cfcc){const _0x35b0c4=_0x2122c9;if(this['_nativeSelectionSuppressed']!==_0x58cfcc){if(this[_0x35b0c4(0x2b0)]=_0x58cfcc,_0x58cfcc||(this[_0x35b0c4(0x31d)]=!0x1),_0x58cfcc){var _0x566f67,_0x6788df;(_0x566f67=(_0x6788df=this[_0x35b0c4(0x223)])[_0x35b0c4(0x1a4)])==null||_0x566f67[_0x35b0c4(0x34e)](_0x6788df,[],void 0x0,!0x1);}this['emitCurrentSelection']();}}[_0x2122c9(0x362)](){const _0x7f79b4=_0x2122c9;super[_0x7f79b4(0x362)](),this['_selectionChange$'][_0x7f79b4(0x214)]();}[_0x2122c9(0x324)](){const _0x2ff9bc=_0x2122c9;var _0x3ccd1f,_0x633db3;return((_0x3ccd1f=(_0x633db3=this['_univerInstanceService'])['getCurrentUnitOfType'])==null?void 0x0:_0x3ccd1f['call'](_0x633db3,_0x2e794e[_0x2ff9bc(0x262)]['UNIVER_DOC']))??null;}[_0x2122c9(0x25b)](){const _0x2b7923=_0x2122c9;var _0x295176,_0x175cb6;if(this[_0x2b7923(0x31c)]>0x0)return;let _0x25b07=(_0x295176=(_0x175cb6=this[_0x2b7923(0x223)])[_0x2b7923(0x222)])==null?void 0x0:_0x295176['call'](_0x175cb6);(_0x25b07==null?void 0x0:_0x25b07['startOffset'])!=null&&(this[_0x2b7923(0x31d)]?this[_0x2b7923(0x31d)]=!0x1:(this[_0x2b7923(0x2b0)]=!0x1,this[_0x2b7923(0x257)]()));}[_0x2122c9(0x166)](_0x35e00f,_0x233f79={}){const _0x56abc4=_0x2122c9;var _0x208367;let _0x2071c7=this[_0x56abc4(0x324)](),_0x5d7b4d=_0x2071c7==null||(_0x208367=_0x2071c7['getSnapshot']()[_0x56abc4(0x1f4)])==null?void 0x0:_0x208367[_0x35e00f[_0x56abc4(0x350)]],_0x4b1006=_0x5d7b4d?_0x21ec78(_0x5d7b4d,_0x35e00f):null;if(!_0x5d7b4d||!_0x4b1006)this[_0x56abc4(0x257)](!0x0),this[_0x56abc4(0x309)]();else{if(this[_0x56abc4(0x27f)]={'kind':_0x35e00f[_0x56abc4(0x2ab)],'unitId':(_0x2071c7==null?void 0x0:_0x2071c7[_0x56abc4(0x168)]())??'','segmentId':_0x35e00f[_0x56abc4(0x366)]??'','tableId':_0x35e00f[_0x56abc4(0x350)],'startRow':_0x4b1006[_0x56abc4(0x18a)],'endRow':_0x4b1006['endRow'],'startColumn':_0x4b1006[_0x56abc4(0x320)],'endColumn':_0x4b1006[_0x56abc4(0x30e)],'startOffset':_0x35e00f[_0x56abc4(0x1d4)]??0x0,'endOffset':_0x35e00f[_0x56abc4(0x29b)]??_0x35e00f[_0x56abc4(0x1d4)]??0x0,'source':_0x56abc4(0x294)},this[_0x56abc4(0x2f6)]=_0x5c6ab6(_0x5d7b4d),this[_0x56abc4(0x31d)]=!!_0x233f79[_0x56abc4(0x36d)],_0x233f79['clearNativeSelection']!==!0x1){var _0x1d4e6d,_0x1eef43;(_0x1d4e6d=(_0x1eef43=this[_0x56abc4(0x223)])[_0x56abc4(0x1a4)])==null||_0x1d4e6d[_0x56abc4(0x34e)](_0x1eef43,[],void 0x0,!0x1);}this[_0x56abc4(0x309)]();}}['_getSelectionFromActiveTextRange'](_0x299b5e,_0x5ec381){const _0x5e2ecb=_0x2122c9;var _0x323113;let _0xfd7eea=_0x5ec381[_0x5e2ecb(0x1d4)];if(_0xfd7eea==null)return null;let _0x23faff=_0x150440(_0x299b5e,_0x5ec381[_0x5e2ecb(0x366)])??_0x299b5e[_0x5e2ecb(0x2e5)](),_0x10b632=(_0x323113=_0x23faff[_0x5e2ecb(0x181)])==null||(_0x323113=_0x323113['tables'])==null?void 0x0:_0x323113[_0x5e2ecb(0x24e)](_0x12cb47=>_0xfd7eea>_0x12cb47[_0x5e2ecb(0x1d1)]&&_0xfd7eea<_0x12cb47[_0x5e2ecb(0x19f)])[_0x5e2ecb(0x2fc)]((_0x5be8e8,_0xd213be)=>_0x5be8e8?_0xd213be[_0x5e2ecb(0x19f)]-_0xd213be[_0x5e2ecb(0x1d1)]<_0x5be8e8['endIndex']-_0x5be8e8['startIndex']?_0xd213be:_0x5be8e8:_0xd213be,void 0x0);if(!(_0x10b632!=null&&_0x10b632['tableId']))return null;let _0xb90e8e=_0x16cada(_0x23faff,_0x10b632['tableId']),_0x2829e4=_0xb90e8e==null?void 0x0:_0xb90e8e[_0x5e2ecb(0x21b)][_0x5e2ecb(0x321)](_0x5e7057=>_0x5e7057['cells'])['find'](_0x5d3d82=>_0xfd7eea>=_0x5d3d82[_0x5e2ecb(0x1d4)]&&_0xfd7eea<=_0x5d3d82['endOffset']);if(!_0xb90e8e||!_0x2829e4)return null;let _0x3eea86=_0x44f292(_0xb90e8e['tableSource'],_0x2829e4[_0x5e2ecb(0x341)],_0x2829e4[_0x5e2ecb(0x1b4)]);if(!_0x3eea86)return null;let _0x1afbcb=_0x26335e(_0xb90e8e[_0x5e2ecb(0x1f4)],{'startRow':_0x2829e4['row'],'endRow':_0x2829e4[_0x5e2ecb(0x341)],'startColumn':_0x3eea86[_0x5e2ecb(0x320)],'endColumn':_0x3eea86[_0x5e2ecb(0x30e)]});return{'kind':_0x293754(_0x5e2ecb(0x359),_0x1afbcb,_0xb90e8e[_0x5e2ecb(0x1f4)]),'unitId':_0x299b5e['getUnitId'](),'segmentId':_0x5ec381[_0x5e2ecb(0x366)]??'','tableId':_0x10b632[_0x5e2ecb(0x350)],'startRow':_0x1afbcb['startRow'],'endRow':_0x1afbcb['endRow'],'startColumn':_0x1afbcb[_0x5e2ecb(0x320)],'endColumn':_0x1afbcb[_0x5e2ecb(0x30e)],'startOffset':_0x2829e4['startOffset'],'endOffset':_0x2829e4[_0x5e2ecb(0x29b)],'source':_0x5e2ecb(0x329)};}[_0x2122c9(0x231)](_0x5ec77e,_0xc3175a){const _0xbf9fac=_0x2122c9;var _0x36d856;let _0x1aa26c=_0xc3175a[_0xbf9fac(0x2d7)](_0x29f8ef=>!!_0x29f8ef['tableId']);if(!(_0x1aa26c!=null&&_0x1aa26c[_0xbf9fac(0x350)]))return null;let _0x2e8478=_0x1aa26c[_0xbf9fac(0x350)],_0xe781f=(_0x36d856=_0x5ec77e['getSnapshot']()[_0xbf9fac(0x1f4)])==null?void 0x0:_0x36d856[_0x2e8478];if(!_0xe781f)return null;let _0x100284=_0xc3175a[_0xbf9fac(0x24e)](_0x263097=>_0x263097[_0xbf9fac(0x350)]===_0x2e8478)[_0xbf9fac(0x37a)](_0x5da39d=>{let _0x23d0fc=_0x34cba1(_0xe781f,_0x5da39d);return _0x23d0fc?{..._0x5da39d,..._0x23d0fc}:null;});if(_0x100284[_0xbf9fac(0x17b)](_0x45b237=>_0x45b237==null))return null;let _0x47c663=_0x100284[_0xbf9fac(0x24e)](_0x1228df=>_0x1228df!=null),_0x164bfd=this['_canCombineRectRanges'](_0x47c663)?_0x47c663:[_0x47c663[0x0]??_0x1aa26c],_0x163cae=_0x2e6794(_0xe781f,{'startRow':Math['min'](..._0x164bfd['map'](_0x535adb=>Math[_0xbf9fac(0x183)](_0x535adb[_0xbf9fac(0x18a)],_0x535adb[_0xbf9fac(0x25a)]))),'endRow':Math[_0xbf9fac(0x186)](..._0x164bfd[_0xbf9fac(0x37a)](_0x31a7ec=>Math[_0xbf9fac(0x186)](_0x31a7ec[_0xbf9fac(0x18a)],_0x31a7ec[_0xbf9fac(0x25a)]))),'startColumn':Math[_0xbf9fac(0x183)](..._0x164bfd[_0xbf9fac(0x37a)](_0x273132=>Math[_0xbf9fac(0x183)](_0x273132['startColumn'],_0x273132[_0xbf9fac(0x30e)]))),'endColumn':Math['max'](..._0x164bfd['map'](_0x568aee=>Math['max'](_0x568aee['startColumn'],_0x568aee[_0xbf9fac(0x30e)])))}),_0x27b641=_0x293754(_0xbf9fac(0x338),_0x163cae,_0xe781f),_0x506c5e=_0x164bfd[_0xbf9fac(0x37a)](_0x13d5e4=>_0x13d5e4[_0xbf9fac(0x1d4)])[_0xbf9fac(0x24e)](_0x59ed07=>typeof _0x59ed07==_0xbf9fac(0x1b0)),_0x556c68=_0x164bfd[_0xbf9fac(0x37a)](_0x133cbf=>_0x133cbf[_0xbf9fac(0x29b)])[_0xbf9fac(0x24e)](_0x29c71c=>typeof _0x29c71c==_0xbf9fac(0x1b0));return{'kind':_0x27b641,'unitId':_0x5ec77e[_0xbf9fac(0x168)](),'segmentId':_0x1aa26c[_0xbf9fac(0x366)]??'','tableId':_0x2e8478,'startRow':_0x163cae['startRow'],'endRow':_0x163cae[_0xbf9fac(0x25a)],'startColumn':_0x163cae[_0xbf9fac(0x320)],'endColumn':_0x163cae[_0xbf9fac(0x30e)],'startOffset':_0x506c5e[_0xbf9fac(0x1d0)]?Math[_0xbf9fac(0x183)](..._0x506c5e):0x0,'endOffset':_0x556c68[_0xbf9fac(0x1d0)]?Math[_0xbf9fac(0x186)](..._0x556c68):_0x506c5e[0x0]??0x0,'source':_0xbf9fac(0x1eb)};}[_0x2122c9(0x212)](_0x3a281b){const _0x3cd4e0=_0x2122c9;if(_0x3a281b['length']<=0x1)return!0x0;let _0x26a176=Math[_0x3cd4e0(0x183)](..._0x3a281b[_0x3cd4e0(0x37a)](_0x576eb3=>Math[_0x3cd4e0(0x183)](_0x576eb3[_0x3cd4e0(0x18a)],_0x576eb3['endRow']))),_0x25c946=Math[_0x3cd4e0(0x186)](..._0x3a281b[_0x3cd4e0(0x37a)](_0x391ee6=>Math[_0x3cd4e0(0x186)](_0x391ee6[_0x3cd4e0(0x18a)],_0x391ee6[_0x3cd4e0(0x25a)]))),_0x2a3cbf=Math[_0x3cd4e0(0x183)](..._0x3a281b[_0x3cd4e0(0x37a)](_0x43947f=>Math[_0x3cd4e0(0x183)](_0x43947f[_0x3cd4e0(0x320)],_0x43947f[_0x3cd4e0(0x30e)]))),_0x10f270=Math[_0x3cd4e0(0x186)](..._0x3a281b[_0x3cd4e0(0x37a)](_0x1d9dc2=>Math[_0x3cd4e0(0x186)](_0x1d9dc2[_0x3cd4e0(0x320)],_0x1d9dc2[_0x3cd4e0(0x30e)]))),_0x1e14af=new Set();return _0x3a281b[_0x3cd4e0(0x20d)](_0x12d711=>{const _0x340032=_0x3cd4e0;let _0x2a8149=Math['min'](_0x12d711['startRow'],_0x12d711[_0x340032(0x25a)]),_0x2b96ef=Math[_0x340032(0x186)](_0x12d711[_0x340032(0x18a)],_0x12d711[_0x340032(0x25a)]),_0x403c3a=Math[_0x340032(0x183)](_0x12d711[_0x340032(0x320)],_0x12d711[_0x340032(0x30e)]),_0x502147=Math[_0x340032(0x186)](_0x12d711[_0x340032(0x320)],_0x12d711['endColumn']);for(let _0xf85aaa=_0x2a8149;_0xf85aaa<=_0x2b96ef;_0xf85aaa++)for(let _0x164e90=_0x403c3a;_0x164e90<=_0x502147;_0x164e90++)_0x1e14af['add'](_0xf85aaa+':'+_0x164e90);}),_0x1e14af[_0x3cd4e0(0x364)]===(_0x25c946-_0x26a176+0x1)*(_0x10f270-_0x2a3cbf+0x1);}['_getValidStructuralSelection'](_0x311698){const _0x5e5e4a=_0x2122c9;var _0x335775;let _0x4348a1=this[_0x5e5e4a(0x27f)];if(!_0x4348a1)return null;let _0x25ca5e=(_0x335775=_0x311698[_0x5e5e4a(0x2e5)]()[_0x5e5e4a(0x1f4)])==null?void 0x0:_0x335775[_0x4348a1[_0x5e5e4a(0x350)]],_0x4703e4=_0x25ca5e?_0x21ec78(_0x25ca5e,_0x4348a1):null;return!_0x25ca5e||!_0x4703e4||this[_0x5e5e4a(0x2f6)]!==_0x5c6ab6(_0x25ca5e)?(this[_0x5e5e4a(0x257)](!0x0),null):(this[_0x5e5e4a(0x27f)]={..._0x4348a1,'kind':_0x293754(_0x4348a1[_0x5e5e4a(0x2ab)],_0x4703e4,_0x25ca5e),..._0x4703e4},this[_0x5e5e4a(0x27f)]);}[_0x2122c9(0x257)](_0x2bc256=!0x1){const _0x55dd29=_0x2122c9;this['_structuralSelection']=null,this['_structuralSelectionTableShape']=null,_0x2bc256&&(this[_0x55dd29(0x2b0)]=!0x1),this[_0x55dd29(0x31d)]=!0x1;}};_0x2cb1d3=_0x35db5f([_0x3da01e(0x0,_0x2e794e['IUniverInstanceService']),_0x3da01e(0x1,(0x0,_0x2e794e['Inject'])(_0x3df5e7[_0x2122c9(0x277)]))],_0x2cb1d3);function _0xcb2c1e(_0x1bdf6c){const _0x19e264=_0x2122c9;return!!(_0x1bdf6c!=null&&_0x1bdf6c['tableId'])&&_0x1bdf6c[_0x19e264(0x18a)]>=0x0&&_0x1bdf6c['startColumn']>=0x0;}function _0x1af48e(_0x67bf43){const _0x36f29c=_0x2122c9;return{'startRow':Math[_0x36f29c(0x183)](_0x67bf43[_0x36f29c(0x18a)],_0x67bf43[_0x36f29c(0x25a)]),'endRow':Math[_0x36f29c(0x186)](_0x67bf43['startRow'],_0x67bf43[_0x36f29c(0x25a)]),'startColumn':Math[_0x36f29c(0x183)](_0x67bf43[_0x36f29c(0x320)],_0x67bf43['endColumn']),'endColumn':Math[_0x36f29c(0x186)](_0x67bf43[_0x36f29c(0x320)],_0x67bf43[_0x36f29c(0x30e)])};}function _0xc2a99e(_0x549412,_0x2daf22){let _0x48dab8=_0x1cf048(_0x549412,_0x2daf22);return _0x48dab8?_0x26335e(_0x549412,_0x48dab8):null;}function _0x34cba1(_0x440adc,_0x380051){const _0x4e8d42=_0x2122c9;if(!_0x38a6df(_0x440adc))return _0xc2a99e(_0x440adc,_0x380051);let _0x367fed=_0x1af48e(_0x380051),_0x43d450=_0x44f292(_0x440adc,_0x367fed['startRow'],_0x367fed[_0x4e8d42(0x320)]),_0x22b5e8=_0x44f292(_0x440adc,_0x367fed[_0x4e8d42(0x25a)],_0x367fed[_0x4e8d42(0x30e)]);return!_0x43d450||!_0x22b5e8?null:_0x26335e(_0x440adc,{'startRow':_0x367fed[_0x4e8d42(0x18a)],'endRow':_0x367fed[_0x4e8d42(0x25a)],'startColumn':_0x43d450[_0x4e8d42(0x320)],'endColumn':_0x22b5e8[_0x4e8d42(0x30e)]});}function _0x21ec78(_0xa178f4,_0x599098){const _0x422522=_0x2122c9;let _0x3488ee=_0x1cf048(_0xa178f4,_0x599098);return _0x3488ee?_0x599098[_0x422522(0x2ab)]==='row'||_0x599098[_0x422522(0x2ab)]===_0x422522(0x1b4)?_0x3488ee:_0x26335e(_0xa178f4,_0x3488ee):null;}function _0x1cf048(_0x1aae6b,_0x380c80){const _0x21874a=_0x2122c9;let _0x3ce84a=_0x1af48e(_0x380c80),_0x428419=_0x1aae6b['tableRows'][_0x21874a(0x1d0)],_0x3c9881=_0x1aae6b['tableColumns'][_0x21874a(0x1d0)];return _0x428419===0x0||_0x3c9881===0x0||_0x3ce84a[_0x21874a(0x18a)]<0x0||_0x3ce84a[_0x21874a(0x25a)]>=_0x428419||_0x3ce84a[_0x21874a(0x320)]<0x0||_0x3ce84a['endColumn']>=_0x3c9881?null:_0x3ce84a;}function _0x5c6ab6(_0x4f5bd0){const _0x506c0b=_0x2122c9;return _0x4f5bd0['tableRows'][_0x506c0b(0x1d0)]+':'+_0x4f5bd0[_0x506c0b(0x355)][_0x506c0b(0x1d0)]+':'+_0x4f5bd0['tableRows'][_0x506c0b(0x37a)](_0x45efec=>_0x45efec[_0x506c0b(0x217)]['map'](_0x45966b=>(_0x45966b[_0x506c0b(0x288)]??0x1)+'x'+(_0x45966b[_0x506c0b(0x20a)]??0x1))[_0x506c0b(0x220)](','))[_0x506c0b(0x220)](';');}function _0x293754(_0x393db4,_0x2e24cb,_0x7d0403){const _0x34927d=_0x2122c9;let _0x3dee97=_0x2e24cb[_0x34927d(0x18a)]===_0x2e24cb[_0x34927d(0x25a)]&&_0x2e24cb['startColumn']===_0x2e24cb[_0x34927d(0x30e)];if(_0x393db4===_0x34927d(0x359)&&(_0x3dee97||_0x2df90e(_0x7d0403,_0x2e24cb)))return _0x34927d(0x359);let {spansEntireRow:_0xd8ea6a,spansEntireColumn:_0x161968}=_0x265ba4(_0x2e24cb,_0x7d0403);return _0x393db4===_0x34927d(0x341)&&_0xd8ea6a?_0x34927d(0x341):_0x393db4==='column'&&_0x161968?_0x34927d(0x1b4):_0xd8ea6a&&_0x161968?_0x34927d(0x340):_0x3dee97?'cell':_0x34927d(0x338);}function _0x265ba4(_0x1df7cf,_0x179d4e){const _0x43b0ed=_0x2122c9;let _0x3990d4=(_0x179d4e==null?void 0x0:_0x179d4e[_0x43b0ed(0x184)][_0x43b0ed(0x1d0)])??0x0,_0x5f085c=(_0x179d4e==null?void 0x0:_0x179d4e[_0x43b0ed(0x355)]['length'])??0x0;return{'spansEntireRow':_0x5f085c>0x0&&_0x1df7cf[_0x43b0ed(0x320)]===0x0&&_0x1df7cf[_0x43b0ed(0x30e)]===_0x5f085c-0x1,'spansEntireColumn':_0x3990d4>0x0&&_0x1df7cf[_0x43b0ed(0x18a)]===0x0&&_0x1df7cf[_0x43b0ed(0x25a)]===_0x3990d4-0x1};}function _0x2df90e(_0x310a2c,_0x1a304e){const _0x3e7c95=_0x2122c9;return(_0x310a2c==null?void 0x0:_0x310a2c[_0x3e7c95(0x184)][_0x3e7c95(0x17b)]((_0x13f33f,_0x3c6790)=>_0x13f33f['tableCells'][_0x3e7c95(0x17b)]((_0x377b07,_0x3bc828)=>{const _0x5b30fe=_0x3e7c95;let _0x1bceae=_0x377b07[_0x5b30fe(0x288)]??0x1,_0x57d7f2=_0x377b07[_0x5b30fe(0x20a)]??0x1;if(_0x1bceae<=0x0||_0x57d7f2<=0x0||_0x1bceae===0x1&&_0x57d7f2===0x1)return!0x1;let _0x3959f1=_0x44f292(_0x310a2c,_0x3c6790,_0x3bc828);return _0x3959f1?_0x1a304e['startRow']===_0x3c6790&&_0x1a304e[_0x5b30fe(0x25a)]===_0x3c6790+_0x1bceae-0x1&&_0x1a304e[_0x5b30fe(0x320)]===_0x3959f1[_0x5b30fe(0x320)]&&_0x1a304e[_0x5b30fe(0x30e)]===_0x3959f1['endColumn']:!0x1;})))??!0x1;}function _0x38a6df(_0xdcbcc0){const _0x3c061f=_0x2122c9;return _0xdcbcc0['tableRows'][_0x3c061f(0x17b)](_0x2c10ad=>_0x2c10ad['tableCells']['length']!==_0xdcbcc0[_0x3c061f(0x355)][_0x3c061f(0x1d0)]);}function _0x5e6520(_0x5ca90a,_0x1385cb){const _0x5b52da=_0x2122c9;let _0x823416=_0x5ca90a[_0x5b52da(0x184)][_0x1385cb];if(!_0x823416)return[];let _0x5ae088=_0x823416['gridBefore']??0x0;return _0x823416[_0x5b52da(0x217)][_0x5b52da(0x37a)]((_0x363b3d,_0xf34d26)=>{const _0x26ffac=_0x5b52da;let _0x554c66=Math[_0x26ffac(0x186)](0x1,_0x363b3d[_0x26ffac(0x20a)]??0x1),_0x40cfd2={'physicalColumn':_0xf34d26,'startColumn':_0x5ae088,'endColumn':_0x5ae088+_0x554c66-0x1};return _0x5ae088+=_0x554c66,_0x40cfd2;});}function _0x44f292(_0x348311,_0x3f2b1e,_0x4b1e4f){return _0x5e6520(_0x348311,_0x3f2b1e)[_0x4b1e4f]??null;}function _0x26335e(_0x430c09,_0x38e25a){const _0x38a656=_0x2122c9;if(!_0x38a6df(_0x430c09))return _0x2e6794(_0x430c09,_0x38e25a);let _0x58c267=_0x1af48e(_0x38e25a),_0x4099d0=!0x0;for(;_0x4099d0;)_0x4099d0=!0x1,_0x430c09['tableRows'][_0x38a656(0x20d)]((_0x588883,_0x489b0e)=>_0x588883['tableCells'][_0x38a656(0x20d)]((_0x31f957,_0x1f3952)=>{const _0x12ed0c=_0x38a656;let _0x1d766f=_0x44f292(_0x430c09,_0x489b0e,_0x1f3952);if(!_0x1d766f)return;let _0x46e2c6={'startRow':_0x489b0e,'endRow':_0x489b0e+Math[_0x12ed0c(0x186)](0x1,_0x31f957[_0x12ed0c(0x288)]??0x1)-0x1,'startColumn':_0x1d766f[_0x12ed0c(0x320)],'endColumn':_0x1d766f['endColumn']};if(!(_0x58c267[_0x12ed0c(0x18a)]<=_0x46e2c6[_0x12ed0c(0x25a)]&&_0x58c267[_0x12ed0c(0x25a)]>=_0x46e2c6[_0x12ed0c(0x18a)]&&_0x58c267[_0x12ed0c(0x320)]<=_0x46e2c6['endColumn']&&_0x58c267['endColumn']>=_0x46e2c6[_0x12ed0c(0x320)]))return;let _0xfee74b={'startRow':Math[_0x12ed0c(0x183)](_0x58c267[_0x12ed0c(0x18a)],_0x46e2c6['startRow']),'endRow':Math['max'](_0x58c267['endRow'],_0x46e2c6[_0x12ed0c(0x25a)]),'startColumn':Math['min'](_0x58c267[_0x12ed0c(0x320)],_0x46e2c6[_0x12ed0c(0x320)]),'endColumn':Math[_0x12ed0c(0x186)](_0x58c267[_0x12ed0c(0x30e)],_0x46e2c6[_0x12ed0c(0x30e)])};(_0xfee74b[_0x12ed0c(0x18a)]!==_0x58c267[_0x12ed0c(0x18a)]||_0xfee74b['endRow']!==_0x58c267[_0x12ed0c(0x25a)]||_0xfee74b['startColumn']!==_0x58c267[_0x12ed0c(0x320)]||_0xfee74b[_0x12ed0c(0x30e)]!==_0x58c267[_0x12ed0c(0x30e)])&&(_0x58c267=_0xfee74b,_0x4099d0=!0x0);}));return _0x58c267;}let _0xbaede7={'id':_0x2122c9(0x1da),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':(_0x1cf149,_0xd793bc)=>{const _0x1a1cd7=_0x2122c9;if(!_0xd793bc)return!0x1;let _0x4aad2e=_0x1cf149[_0x1a1cd7(0x1ac)](_0x2e794e[_0x1a1cd7(0x325)]),_0x7070ff=_0x1cf149[_0x1a1cd7(0x1ac)](_0x2e794e['ICommandService']),_0x57e817=_0x1cf149[_0x1a1cd7(0x1ac)](_0x2cb1d3),_0x152fac=_0x4aad2e[_0x1a1cd7(0x24a)](_0xd793bc['unitId'],_0x2e794e[_0x1a1cd7(0x262)][_0x1a1cd7(0x2dc)]);if(!_0x152fac)return!0x1;let _0x210b1b=_0x57e817[_0x1a1cd7(0x15f)](),_0x5ab02b=(_0x210b1b==null?void 0x0:_0x210b1b[_0x1a1cd7(0x1a6)])===_0x152fac[_0x1a1cd7(0x168)]()?_0x210b1b:null,{endColumn:_0x84c108,startColumn:_0x585738,tableId:_0x452eab}=_0xd793bc,_0x2d0229=_0x152fac['getSnapshot'](),_0x10a0f2=_0xd793bc[_0x1a1cd7(0x366)]??'',_0x2717eb=_0x150440(_0x152fac,_0x10a0f2);if(!_0x2717eb)return!0x1;let _0xd13c61=_0x3a003b(_0x2717eb,_0x452eab,_0x585738,_0x84c108,_0x35dd41(_0x2d0229,_0x10a0f2));if(!_0xd13c61)return!0x1;let _0x3ccf9e=_0x4b81c6(_0x7070ff,_0x152fac[_0x1a1cd7(0x168)](),_0x2717eb,_0xd13c61[_0x1a1cd7(0x22a)],void 0x0,void 0x0,_0xbaede7['id']);if(_0x3ccf9e&&_0x5ab02b){let _0x181228=_0x46a76c(_0x5ab02b,_0x2717eb,_0xd13c61[_0x1a1cd7(0x333)]?{'kind':_0x1a1cd7(0x19b),'tableId':_0x452eab}:{'kind':_0x1a1cd7(0x379),'tableId':_0x452eab,'index':Math['min'](_0x585738,_0x84c108),'count':Math[_0x1a1cd7(0x353)](_0x84c108-_0x585738)+0x1});_0x181228?_0x57e817[_0x1a1cd7(0x1e8)](_0x181228):_0x57e817[_0x1a1cd7(0x259)]();}return _0x3ccf9e;}},_0x78d7ed={'id':_0x2122c9(0x238),'type':_0x2e794e[_0x2122c9(0x22d)]['COMMAND'],'handler':(_0xdba65e,_0x1354cf)=>{const _0x1af4b9=_0x2122c9;if(!_0x1354cf)return!0x1;let _0x433b41=_0xdba65e[_0x1af4b9(0x1ac)](_0x2e794e[_0x1af4b9(0x325)]),_0x3863c7=_0xdba65e['get'](_0x2e794e[_0x1af4b9(0x1c5)]),_0x5a433d=_0xdba65e[_0x1af4b9(0x1ac)](_0x2cb1d3),_0x28e970=_0x433b41[_0x1af4b9(0x24a)](_0x1354cf[_0x1af4b9(0x1a6)],_0x2e794e[_0x1af4b9(0x262)][_0x1af4b9(0x2dc)]);if(!_0x28e970)return!0x1;let _0x4e3a3f=_0x5a433d[_0x1af4b9(0x15f)](),_0x17515d=(_0x4e3a3f==null?void 0x0:_0x4e3a3f[_0x1af4b9(0x1a6)])===_0x28e970[_0x1af4b9(0x168)]()?_0x4e3a3f:null,{endRow:_0x36486c,startRow:_0x394a5a,tableId:_0x1c687e}=_0x1354cf,_0x1af58c=_0x28e970[_0x1af4b9(0x2e5)](),_0x32c388=_0x1354cf['segmentId']??'',_0x49666d=_0x150440(_0x28e970,_0x32c388);if(!_0x49666d)return!0x1;let _0x58257f=_0x5aa919(_0x49666d,_0x1c687e,_0x394a5a,_0x36486c,_0x35dd41(_0x1af58c,_0x32c388));if(!_0x58257f)return!0x1;let _0x176731=_0x4b81c6(_0x3863c7,_0x28e970[_0x1af4b9(0x168)](),_0x49666d,_0x58257f[_0x1af4b9(0x22a)],void 0x0,void 0x0,_0x78d7ed['id']);if(_0x176731&&_0x17515d){let _0x5cd8a2=_0x46a76c(_0x17515d,_0x49666d,_0x58257f[_0x1af4b9(0x333)]?{'kind':_0x1af4b9(0x19b),'tableId':_0x1c687e}:{'kind':_0x1af4b9(0x204),'tableId':_0x1c687e,'index':Math[_0x1af4b9(0x183)](_0x394a5a,_0x36486c),'count':Math[_0x1af4b9(0x353)](_0x36486c-_0x394a5a)+0x1});_0x5cd8a2?_0x5a433d[_0x1af4b9(0x1e8)](_0x5cd8a2):_0x5a433d[_0x1af4b9(0x259)]();}return _0x176731;}},_0x3a6a1a={'id':_0x2122c9(0x1c3),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':(_0x24364b,_0x42e350)=>{const _0x184265=_0x2122c9;if(!_0x42e350)return!0x1;let _0x1fadc0=_0x24364b['get'](_0x2e794e[_0x184265(0x325)]),_0x2d4842=_0x24364b[_0x184265(0x1ac)](_0x2e794e[_0x184265(0x1c5)]),_0x51b246=_0x24364b[_0x184265(0x1ac)](_0x2cb1d3),_0x470a6d=_0x1fadc0['getUnit'](_0x42e350[_0x184265(0x1a6)],_0x2e794e[_0x184265(0x262)][_0x184265(0x2dc)]),_0x1251a4=_0x51b246['getCurrentSelection'](),_0x3d5a0d=(_0x1251a4==null?void 0x0:_0x1251a4['unitId'])===(_0x470a6d==null?void 0x0:_0x470a6d['getUnitId']())?_0x1251a4:null;if(!_0x470a6d)return!0x1;let {tableId:_0x5f5582}=_0x42e350,_0x472bcf=_0x470a6d[_0x184265(0x2e5)](),_0x24dbb6=_0x42e350[_0x184265(0x366)]??'',_0x457f8e=_0x150440(_0x470a6d,_0x24dbb6);if(!_0x457f8e)return!0x1;let _0x37c61e=_0x21505a(_0x457f8e,_0x5f5582,_0x35dd41(_0x472bcf,_0x24dbb6));if(!_0x37c61e)return!0x1;let _0x177bdb=_0x4b81c6(_0x2d4842,_0x470a6d[_0x184265(0x168)](),_0x457f8e,_0x37c61e[_0x184265(0x22a)],void 0x0,void 0x0,_0x3a6a1a['id']);if(_0x177bdb&&_0x3d5a0d){let _0x409b7b=_0x46a76c(_0x3d5a0d,_0x457f8e,{'kind':'delete-table','tableId':_0x5f5582});_0x409b7b?_0x51b246[_0x184265(0x1e8)](_0x409b7b):_0x51b246['clearStructuralSelection']();}return _0x177bdb;}},_0x4e2599={'id':_0x2122c9(0x28e),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x246ada,_0x2a5d30)=>{const _0x2b53ef=_0x2122c9;let _0x427a38=_0x246ada[_0x2b53ef(0x1ac)](_0x2e794e[_0x2b53ef(0x325)]),_0x1e485a=_0x246ada['get'](_0x2e794e[_0x2b53ef(0x1c5)]),_0x5a3284=_0x246ada['get'](_0x2cb1d3),_0x52c3fa=_0x427a38[_0x2b53ef(0x286)](_0x2e794e[_0x2b53ef(0x262)][_0x2b53ef(0x2dc)]),_0x12298b=_0x5a3284['getCurrentSelection'](),_0x560e25=(_0x2a5d30==null?void 0x0:_0x2a5d30[_0x2b53ef(0x350)])??(_0x12298b==null?void 0x0:_0x12298b[_0x2b53ef(0x350)]),_0x4a1c0a=(_0x2a5d30==null?void 0x0:_0x2a5d30['startColumn'])??(_0x12298b==null?void 0x0:_0x12298b[_0x2b53ef(0x320)]),_0x233e40=(_0x2a5d30==null?void 0x0:_0x2a5d30[_0x2b53ef(0x30e)])??(_0x12298b==null?void 0x0:_0x12298b[_0x2b53ef(0x30e)]);if(!_0x52c3fa||!_0x560e25||_0x4a1c0a==null||_0x233e40==null)return!0x1;let _0x5624c2=_0x150440(_0x52c3fa,_0x42335f(_0x2a5d30,_0x12298b));if(!_0x5624c2)return!0x1;let _0x14fd48=_0x2fbc3a(_0x5624c2,_0x560e25,_0x4a1c0a,_0x233e40);return _0x4b81c6(_0x1e485a,_0x52c3fa[_0x2b53ef(0x168)](),_0x5624c2,_0x14fd48);}},_0xb407d7={'id':'docs-table.command.distribute-rows','type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x288967,_0x33c599)=>{const _0x6f33dd=_0x2122c9;let _0x21deb7=_0x288967[_0x6f33dd(0x1ac)](_0x2e794e[_0x6f33dd(0x325)]),_0x1258eb=_0x288967[_0x6f33dd(0x1ac)](_0x2e794e[_0x6f33dd(0x1c5)]),_0x2fa1b3=_0x288967[_0x6f33dd(0x1ac)](_0x2cb1d3),_0x1d132b=_0x21deb7[_0x6f33dd(0x286)](_0x2e794e[_0x6f33dd(0x262)][_0x6f33dd(0x2dc)]),_0x5e9789=_0x2fa1b3[_0x6f33dd(0x15f)](),_0x69c56e=(_0x33c599==null?void 0x0:_0x33c599['tableId'])??(_0x5e9789==null?void 0x0:_0x5e9789[_0x6f33dd(0x350)]),_0xb8a7ad=(_0x33c599==null?void 0x0:_0x33c599[_0x6f33dd(0x18a)])??(_0x5e9789==null?void 0x0:_0x5e9789[_0x6f33dd(0x18a)]),_0x175bbc=(_0x33c599==null?void 0x0:_0x33c599[_0x6f33dd(0x25a)])??(_0x5e9789==null?void 0x0:_0x5e9789['endRow']);if(!_0x1d132b||!_0x69c56e||_0xb8a7ad==null||_0x175bbc==null)return!0x1;let _0x20c4dd=_0x150440(_0x1d132b,_0x42335f(_0x33c599,_0x5e9789));if(!_0x20c4dd)return!0x1;let _0x359cde=_0x37a7e3(_0x20c4dd,_0x69c56e,_0xb8a7ad,_0x175bbc);return _0x4b81c6(_0x1258eb,_0x1d132b[_0x6f33dd(0x168)](),_0x20c4dd,_0x359cde);}},_0x4eee84={'id':_0x2122c9(0x272),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0xe04bae,_0x5966c9)=>{const _0x3e440a=_0x2122c9;var _0x3970d0;if(!_0x5966c9)return!0x1;let _0x21fe40=_0xe04bae[_0x3e440a(0x1ac)](_0x2e794e[_0x3e440a(0x325)]),_0x5c8125=_0xe04bae[_0x3e440a(0x1ac)](_0x2e794e[_0x3e440a(0x1c5)]),_0x218584=_0xe04bae[_0x3e440a(0x1ac)](_0x2cb1d3),_0x13e66e=_0x21fe40[_0x3e440a(0x286)](_0x2e794e[_0x3e440a(0x262)][_0x3e440a(0x2dc)]),_0x528ef1=_0x218584[_0x3e440a(0x15f)](),_0x4babfd=_0x5966c9[_0x3e440a(0x350)]??(_0x528ef1==null?void 0x0:_0x528ef1[_0x3e440a(0x350)]),_0x3a9d82=_0x5966c9['column']??(_0x5966c9[_0x3e440a(0x21f)]===_0x3e440a(0x334)?_0x528ef1==null?void 0x0:_0x528ef1[_0x3e440a(0x320)]:_0x528ef1==null?void 0x0:_0x528ef1['endColumn']);if(!_0x13e66e||_0x4babfd==null||_0x3a9d82==null)return!0x1;let _0x405b68=_0x13e66e['getSnapshot'](),_0x1bf6fb=_0x42335f(_0x5966c9,_0x528ef1),_0x34a8b8=_0x150440(_0x13e66e,_0x1bf6fb);if(!_0x34a8b8)return!0x1;let _0x576aef=_0x5966c9[_0x3e440a(0x2b1)]??(_0x528ef1?Math['max'](0x1,_0x528ef1[_0x3e440a(0x30e)]-_0x528ef1['startColumn']+0x1):0x1),_0x37d3f3=((_0x3970d0=_0x405b68[_0x3e440a(0x2cf)])==null?void 0x0:_0x3970d0[_0x3e440a(0x2ec)])===_0x2e794e['DocumentFlavor'][_0x3e440a(0x18e)],_0x3f8751=_0x3827e4(_0x34a8b8,_0x4babfd,_0x3a9d82,_0x576aef,_0x5966c9[_0x3e440a(0x21f)],{'bodyPath':_0x35dd41(_0x405b68,_0x1bf6fb),'insertedColumnWidth':_0x37d3f3?_0x4903dd(_0x405b68,_0x4babfd,_0x3a9d82,_0x5966c9[_0x3e440a(0x21f)]):void 0x0,'preserveTotalWidth':!_0x37d3f3});if(!_0x3f8751)return!0x1;let _0x31a549=_0x4b81c6(_0x5c8125,_0x13e66e[_0x3e440a(0x168)](),_0x34a8b8,_0x3f8751[_0x3e440a(0x22a)]);if(_0x31a549&&_0x528ef1){let _0x1fa9b2=_0x46a76c(_0x528ef1,_0x34a8b8,{'kind':_0x3e440a(0x164),'tableId':_0x4babfd,'index':_0x3f8751[_0x3e440a(0x2d2)],'count':_0x576aef});_0x1fa9b2&&_0x218584[_0x3e440a(0x1e8)](_0x1fa9b2);}return _0x31a549;}};function _0x4903dd(_0x13a299,_0x28cef0,_0x1c06b7,_0x25f958){const _0xf7b695=_0x2122c9;var _0x197692,_0x3111b0;let _0x358128=(_0x3111b0=(((_0x197692=_0x13a299[_0xf7b695(0x1f4)])==null||(_0x197692=_0x197692[_0x28cef0])==null?void 0x0:_0x197692[_0xf7b695(0x355)])??[])[(_0x25f958===_0xf7b695(0x334)?_0x1c06b7:_0x1c06b7+0x1)-0x1])==null||(_0x3111b0=_0x3111b0[_0xf7b695(0x364)])==null||(_0x3111b0=_0x3111b0[_0xf7b695(0x192)])==null?void 0x0:_0x3111b0['v'];return _0x358128&&_0x358128>0x0?_0x358128:0x64;}let _0x138581={'id':_0x2122c9(0x2ef),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x1e4575,_0x57f546)=>{const _0x5b9ec9=_0x2122c9;if(!_0x57f546)return!0x1;let _0x3df629=_0x1e4575[_0x5b9ec9(0x1ac)](_0x2e794e[_0x5b9ec9(0x325)]),_0x154925=_0x1e4575[_0x5b9ec9(0x1ac)](_0x2e794e['ICommandService']),_0x19ea5d=_0x1e4575['get'](_0x2cb1d3),_0xde5196=_0x3df629[_0x5b9ec9(0x286)](_0x2e794e[_0x5b9ec9(0x262)][_0x5b9ec9(0x2dc)]),_0x3f1532=_0x19ea5d[_0x5b9ec9(0x15f)](),_0x3cea14=_0x57f546[_0x5b9ec9(0x350)]??(_0x3f1532==null?void 0x0:_0x3f1532[_0x5b9ec9(0x350)]),_0x52f7c1=_0x57f546['row']??(_0x57f546[_0x5b9ec9(0x21f)]===_0x5b9ec9(0x2da)?_0x3f1532==null?void 0x0:_0x3f1532[_0x5b9ec9(0x18a)]:_0x3f1532==null?void 0x0:_0x3f1532['endRow']);if(!_0xde5196||_0x3cea14==null||_0x52f7c1==null)return!0x1;let _0x387d3d=_0xde5196[_0x5b9ec9(0x2e5)](),_0x582ddb=_0x42335f(_0x57f546,_0x3f1532),_0x4439b5=_0x150440(_0xde5196,_0x582ddb);if(!_0x4439b5)return!0x1;let _0x2ae9d7=_0x57f546[_0x5b9ec9(0x2b1)]??(_0x3f1532?Math['max'](0x1,_0x3f1532['endRow']-_0x3f1532[_0x5b9ec9(0x18a)]+0x1):0x1),_0x48f7b9=_0x389808(_0x4439b5,_0x3cea14,_0x52f7c1,_0x2ae9d7,_0x57f546[_0x5b9ec9(0x21f)],_0x35dd41(_0x387d3d,_0x582ddb));if(!_0x48f7b9)return!0x1;let _0x402394=_0x4b81c6(_0x154925,_0xde5196[_0x5b9ec9(0x168)](),_0x4439b5,_0x48f7b9['actions']);if(_0x402394&&_0x3f1532){let _0x21bb64=_0x46a76c(_0x3f1532,_0x4439b5,{'kind':'insert-rows','tableId':_0x3cea14,'index':_0x48f7b9['cursorRow'],'count':_0x2ae9d7});_0x21bb64&&_0x19ea5d[_0x5b9ec9(0x1e8)](_0x21bb64);}return _0x402394;}},_0x20d23b={'start':{'v':0xa},'end':{'v':0xa},'top':{'v':0x5},'bottom':{'v':0x5}};function _0x445366(_0x1f08f4){const _0x2d83d5=_0x2122c9;var _0x281e4e;let _0x2fabb3=(_0x281e4e=_0x1f08f4[_0x2d83d5(0x207)][_0x2d83d5(0x1f4)])==null?void 0x0:_0x281e4e[_0x1f08f4[_0x2d83d5(0x350)]];if(!_0x2fabb3)return null;let _0x5223ad=_0x267a3c(_0x1f08f4),_0x21f059=[],_0x493c5d=_0x2e794e[_0x2d83d5(0x2fe)]['getInstance']();for(let _0xe0ff1=_0x5223ad[_0x2d83d5(0x18a)];_0xe0ff1<=_0x5223ad[_0x2d83d5(0x25a)];_0xe0ff1++)for(let _0x54779e=_0x5223ad[_0x2d83d5(0x320)];_0x54779e<=_0x5223ad[_0x2d83d5(0x30e)];_0x54779e++){var _0x27e76c;let _0xd25d1a=(_0x27e76c=_0x2fabb3[_0x2d83d5(0x184)][_0xe0ff1])==null?void 0x0:_0x27e76c[_0x2d83d5(0x217)][_0x54779e];if(!_0xd25d1a)return null;_0x31383a(_0x21f059,[_0x2d83d5(0x1f4),_0x1f08f4[_0x2d83d5(0x350)],_0x2d83d5(0x184),_0xe0ff1,_0x2d83d5(0x217),_0x54779e,'margin'],_0xd25d1a[_0x2d83d5(0x2c2)],_0x1f08f4[_0x2d83d5(0x2c2)]??void 0x0,_0x493c5d);}return _0x25322f(_0x21f059);}function _0x1af039(_0x165b66,_0x49957e,_0x58823c){const _0x2523ad=_0x2122c9;var _0x38e864;let _0x109e67=(_0x38e864=_0x165b66[_0x2523ad(0x1f4)])==null?void 0x0:_0x38e864[_0x49957e];if(!_0x109e67)return null;let _0x3a5d1e=[];return _0x31383a(_0x3a5d1e,['tableSource',_0x49957e,_0x2523ad(0x194)],_0x109e67[_0x2523ad(0x194)],_0x58823c??void 0x0,_0x2e794e[_0x2523ad(0x2fe)]['getInstance']()),_0x25322f(_0x3a5d1e);}function _0x31383a(_0x230996,_0x4560c9,_0x190b18,_0x550ad6,_0x305891){const _0xcbca88=_0x2122c9;JSON[_0xcbca88(0x19d)](_0x190b18)!==JSON[_0xcbca88(0x19d)](_0x550ad6)&&(_0x190b18===void 0x0?_0x230996[_0xcbca88(0x2f9)](_0x305891['insertOp'](_0x4560c9,_0x2e794e[_0xcbca88(0x249)][_0xcbca88(0x2c1)](_0x550ad6))):_0x550ad6===void 0x0?_0x230996['push'](_0x305891['removeOp'](_0x4560c9,_0x190b18)):_0x230996['push'](_0x305891[_0xcbca88(0x1d5)](_0x4560c9,_0x190b18,_0x2e794e[_0xcbca88(0x249)]['deepClone'](_0x550ad6))));}function _0x25322f(_0x1ba936){const _0x413548=_0x2122c9;return _0x1ba936[_0x413548(0x2fc)]((_0x2ee384,_0x5c92aa)=>_0x2e794e[_0x413548(0x2fe)][_0x413548(0x319)](_0x2ee384,_0x5c92aa),null);}function _0x267a3c(_0x2af4a7){const _0x4948ac=_0x2122c9;return{'startRow':Math[_0x4948ac(0x183)](_0x2af4a7[_0x4948ac(0x18a)],_0x2af4a7[_0x4948ac(0x25a)]),'endRow':Math['max'](_0x2af4a7['startRow'],_0x2af4a7[_0x4948ac(0x25a)]),'startColumn':Math['min'](_0x2af4a7[_0x4948ac(0x320)],_0x2af4a7[_0x4948ac(0x30e)]),'endColumn':Math[_0x4948ac(0x186)](_0x2af4a7[_0x4948ac(0x320)],_0x2af4a7[_0x4948ac(0x30e)])};}let _0x52fdc1=function(_0x2d182f){const _0x27b66e=_0x2122c9;return _0x2d182f[_0x27b66e(0x2b7)]=_0x27b66e(0x1a1),_0x2d182f[_0x27b66e(0x2df)]='documentEnd',_0x2d182f[_0x27b66e(0x2ba)]=_0x27b66e(0x2a7),_0x2d182f;}({});var _0xa45ceb=class extends Error{constructor(){super('Table\x20can\x20only\x20be\x20inserted\x20in\x20a\x20normal\x20paragraph\x20area');}};function _0x14f2ea(_0x523097,_0x40d00f=[_0x2122c9(0x181)]){const _0x40b1f6=_0x2122c9;var _0x5b2704,_0x1b1d44;let _0x35bf74=_0x523097[_0x40b1f6(0x207)][_0x40b1f6(0x181)]??_0x5e7f57(),_0x54e50c=_0x40b3e9(_0x523097),_0x3c08e4=_0x54e50c['length'],_0x111d14=((_0x5b2704=_0x54e50c[0x0])==null?void 0x0:_0x5b2704['length'])??0x1,_0x477617=_0x46cc5c(_0x35bf74,_0x523097);_0x3be7aa(_0x35bf74,_0x477617);let _0x438973=_0x46e2d4(_0x35bf74,_0x523097,_0x54e50c,_0x477617),_0x45d72a=_0x523097['documentData']['body']?_0x1d620c(_0x438973,_0x477617,_0x40d00f):_0x2e794e[_0x40b1f6(0x2fe)][_0x40b1f6(0x170)]()[_0x40b1f6(0x30c)](_0x40d00f,_0x17a8f6(_0x438973)),_0x3c6a9e=_0x54b61d(_0x523097,_0x3c08e4,_0x111d14),_0xecffc4=_0x2e794e['JSONX'][_0x40b1f6(0x170)]()[_0x40b1f6(0x30c)]([_0x40b1f6(0x1f4),_0x523097['tableId']],_0x3c6a9e),_0x31b52d=_0x42a72e(_0x523097['metadata']),_0x27d20b=_0x1b42c8(_0x523097);return _0x27d20b&&(_0x31b52d[_0x40b1f6(0x1a3)][_0x523097[_0x40b1f6(0x350)]]=_0x27d20b),{'actions':_0x2e794e[_0x40b1f6(0x2fe)][_0x40b1f6(0x319)](_0x45d72a,_0xecffc4),'cursorOffset':_0x477617+(((_0x1b1d44=_0x438973['tables'])==null||(_0x1b1d44=_0x1b1d44[_0x40b1f6(0x2d7)](_0x52c25f=>_0x52c25f[_0x40b1f6(0x350)]===_0x523097[_0x40b1f6(0x350)]))==null?void 0x0:_0x1b1d44[_0x40b1f6(0x1d1)])??0x0)+0x3,'nextMetadata':_0x31b52d,'tableId':_0x523097[_0x40b1f6(0x350)]};}function _0x46e2d4(_0x172d92,_0x39cbc5,_0x9bfba6,_0x301015){const _0x448fa0=_0x2122c9;let _0x4a67ea=_0x12dc41(_0x172d92),_0x1ec85d=_0x5c8bbc(_0x9bfba6,_0x4a67ea,_0x31d3a1(_0x172d92)),_0x31d293=_0x3b79e1(_0x172d92,_0x301015)?_0x2e794e[_0x448fa0(0x273)][_0x448fa0(0x15e)]:'',_0x4a1c1b=_0x31d293?_0x12041e(_0x172d92,_0x301015):void 0x0,_0xf3b5d8=_0x45a0df(_0x172d92,_0x301015)?_0x2e794e[_0x448fa0(0x273)][_0x448fa0(0x15e)]:'',_0x3c674d=_0x31d293[_0x448fa0(0x1d0)],_0x7976fa=_0x3c674d+_0x1ec85d[_0x448fa0(0x245)][_0x448fa0(0x1d0)];return{'dataStream':[_0x31d293,_0x1ec85d[_0x448fa0(0x245)],_0xf3b5d8]['join'](''),'paragraphs':[..._0x372984(0x0,_0x31d293,_0x4a67ea,_0x4a1c1b),..._0x1ec85d[_0x448fa0(0x1cf)][_0x448fa0(0x37a)](_0x139443=>({..._0x139443,'startIndex':_0x139443[_0x448fa0(0x1d1)]+_0x3c674d})),..._0x452aa2(_0x7976fa,_0xf3b5d8,_0x4a67ea)],'sectionBreaks':_0x1ec85d[_0x448fa0(0x196)][_0x448fa0(0x37a)](_0xc1e11f=>({..._0xc1e11f,'startIndex':_0xc1e11f[_0x448fa0(0x1d1)]+_0x3c674d})),'tables':[{'startIndex':_0x3c674d,'endIndex':_0x7976fa,'tableId':_0x39cbc5[_0x448fa0(0x350)]}]};}function _0x1d620c(_0x492ffe,_0x572fff,_0x2ea17c){const _0x1f934a=_0x2122c9;let _0x2fa728=new _0x2e794e['TextX']();return _0x572fff>0x0&&_0x2fa728[_0x1f934a(0x31a)](_0x572fff),_0x2fa728['insert'](_0x492ffe[_0x1f934a(0x245)][_0x1f934a(0x1d0)],_0x492ffe),_0x2e794e[_0x1f934a(0x2fe)][_0x1f934a(0x170)]()[_0x1f934a(0x275)](_0x2fa728[_0x1f934a(0x2d0)](),_0x2ea17c);}function _0x5e7f57(){const _0x54559a=_0x2122c9;return{'dataStream':_0x2e794e[_0x54559a(0x273)][_0x54559a(0x2a5)],'paragraphs':[],'sectionBreaks':[{'sectionId':(0x0,_0x2e794e['createSectionId'])(new Set()),'startIndex':0x0}],'tables':[]};}function _0x17a8f6(_0x40111f){const _0x35cc0d=_0x2122c9;var _0x28f6c0;let _0x1112b0=_0x40111f['dataStream'][_0x35cc0d(0x1d0)];return{..._0x40111f,'dataStream':_0x40111f[_0x35cc0d(0x245)]+_0x2e794e[_0x35cc0d(0x273)][_0x35cc0d(0x2a5)],'sectionBreaks':[..._0x40111f[_0x35cc0d(0x196)]??[],{'sectionId':(0x0,_0x2e794e[_0x35cc0d(0x28a)])(new Set((_0x28f6c0=_0x40111f[_0x35cc0d(0x196)])==null?void 0x0:_0x28f6c0[_0x35cc0d(0x37a)](_0x56efc0=>_0x56efc0[_0x35cc0d(0x189)]))),'startIndex':_0x1112b0}]};}function _0x40b3e9(_0x17599f){const _0x2984d5=_0x2122c9;var _0x40bcbc;let _0x4ae0a2=Math[_0x2984d5(0x186)](0x1,_0x17599f[_0x2984d5(0x21b)]??((_0x40bcbc=_0x17599f['values'])==null?void 0x0:_0x40bcbc['length'])??0x1),_0x3f071b=0x0;for(let _0x11745f of _0x17599f[_0x2984d5(0x2a2)]??[])_0x3f071b=Math[_0x2984d5(0x186)](_0x3f071b,_0x11745f[_0x2984d5(0x1d0)]);let _0x24bd38=Math[_0x2984d5(0x186)](0x1,_0x17599f[_0x2984d5(0x35a)]??(_0x3f071b||0x1));return Array['from']({'length':_0x4ae0a2},(_0x6ff6a2,_0xdb1fb6)=>Array[_0x2984d5(0x20c)]({'length':_0x24bd38},(_0x33f4c8,_0x28ab12)=>{const _0x907d82=_0x2984d5;var _0x1daea8;return((_0x1daea8=_0x17599f[_0x907d82(0x2a2)])==null||(_0x1daea8=_0x1daea8[_0xdb1fb6])==null?void 0x0:_0x1daea8[_0x28ab12])??'';}));}function _0x46cc5c(_0x510c03,_0x3e9fda){const _0xfaa94b=_0x2122c9;return typeof _0x3e9fda['offset']==_0xfaa94b(0x1b0)?Math['max'](0x0,Math['min'](_0x3e9fda[_0xfaa94b(0x2a7)],_0x510c03['dataStream']['length'])):_0x510c03[_0xfaa94b(0x245)][_0xfaa94b(0x2ea)](_0x2e794e[_0xfaa94b(0x273)][_0xfaa94b(0x2a5)])?_0x510c03['dataStream'][_0xfaa94b(0x1d0)]-0x1:_0x510c03[_0xfaa94b(0x245)][_0xfaa94b(0x1d0)];}function _0x3be7aa(_0x1a3be4,_0x3c818a){const _0x4f5a26=_0x2122c9;if(_0x5bc508(_0x1a3be4['tables'],_0x3c818a)||_0x2f82f3(_0x1a3be4[_0x4f5a26(0x1b9)],_0x3c818a)||_0x579547(_0x1a3be4[_0x4f5a26(0x1c9)],_0x3c818a))throw new _0xa45ceb();}function _0x5bc508(_0x5d1546,_0x250bed){const _0x58e21c=_0x2122c9;return!!(_0x5d1546!=null&&_0x5d1546[_0x58e21c(0x17b)](_0x36a88d=>(0x0,_0x2e794e[_0x58e21c(0x290)])((0x0,_0x2e794e[_0x58e21c(0x32d)])(_0x36a88d),_0x250bed)));}function _0x2f82f3(_0x404260,_0x6546e5){const _0x47f638=_0x2122c9;return!!(_0x404260!=null&&_0x404260[_0x47f638(0x17b)](_0x24caaf=>(0x0,_0x2e794e[_0x47f638(0x290)])((0x0,_0x2e794e[_0x47f638(0x18f)])(_0x24caaf),_0x6546e5)));}function _0x579547(_0x159883,_0x142e02){const _0xc27c3a=_0x2122c9;return!!(_0x159883!=null&&_0x159883[_0xc27c3a(0x17b)](_0xd032fa=>_0xd032fa['startIndex']===_0x142e02));}function _0x3b79e1(_0xaff5b0,_0x319250){const _0x4f30ea=_0x2122c9;return _0x319250<=0x0||_0xaff5b0[_0x4f30ea(0x245)][_0x319250-0x1]!==_0x2e794e['DataStreamTreeTokenType'][_0x4f30ea(0x15e)];}function _0x45a0df(_0x616a2f,_0x401236){const _0x5d00f5=_0x2122c9;return _0x616a2f[_0x5d00f5(0x245)][_0x401236]!==_0x2e794e[_0x5d00f5(0x273)][_0x5d00f5(0x15e)];}function _0x12041e(_0x48c79b,_0x30b401){const _0x3d049d=_0x2122c9;var _0x3a283f;return(_0x3a283f=_0x48c79b[_0x3d049d(0x1cf)])==null?void 0x0:_0x3a283f[_0x3d049d(0x2d7)](_0x8241c8=>(0x0,_0x2e794e['getParagraphContentStartOffset'])(_0x48c79b,_0x8241c8)<_0x30b401&&_0x30b401<=_0x8241c8[_0x3d049d(0x1d1)]);}function _0x372984(_0x24d2bd,_0x353c08,_0x66c50a,_0x1c3f70){const _0x282ce1=_0x2122c9;if(!_0x353c08)return[];let _0x41162e={'startIndex':_0x24d2bd,'paragraphId':(0x0,_0x2e794e['createParagraphId'])(_0x66c50a)};return _0x1c3f70!=null&&_0x1c3f70['bullet']&&(_0x41162e[_0x282ce1(0x19c)]=_0x2e794e[_0x282ce1(0x249)][_0x282ce1(0x2c1)](_0x1c3f70['bullet'])),_0x1c3f70!=null&&_0x1c3f70[_0x282ce1(0x1ad)]&&(_0x41162e[_0x282ce1(0x1ad)]=_0x2e794e['Tools'][_0x282ce1(0x2c1)](_0x1c3f70[_0x282ce1(0x1ad)]),delete _0x41162e[_0x282ce1(0x1ad)][_0x282ce1(0x2f7)],_0x1c3f70[_0x282ce1(0x1ad)]['headingId']&&(_0x41162e[_0x282ce1(0x1ad)][_0x282ce1(0x349)]=(0x0,_0x2e794e['generateRandomId'])(0x6))),[_0x41162e];}function _0x452aa2(_0x1cffe6,_0x2b27c4,_0x46e268){const _0x409b73=_0x2122c9;return _0x2b27c4?[{'startIndex':_0x1cffe6,'paragraphId':(0x0,_0x2e794e[_0x409b73(0x352)])(_0x46e268)}]:[];}function _0x5c8bbc(_0x5ab2bb,_0x594387,_0x17a056){const _0x5a82f5=_0x2122c9;let _0x5e320a=_0x2e794e[_0x5a82f5(0x273)]['TABLE_START'],_0x132586=[],_0x16fe05=[];return _0x5ab2bb['forEach'](_0x14bbb0=>{const _0x523794=_0x5a82f5;_0x5e320a+=_0x2e794e[_0x523794(0x273)][_0x523794(0x326)],_0x14bbb0['forEach'](_0x9aee06=>{const _0x1f560c=_0x523794;_0x5e320a+=''+_0x2e794e['DataStreamTreeTokenType']['TABLE_CELL_START']+_0x9aee06+_0x2e794e[_0x1f560c(0x273)][_0x1f560c(0x15e)]+_0x2e794e[_0x1f560c(0x273)][_0x1f560c(0x2a5)]+_0x2e794e[_0x1f560c(0x273)][_0x1f560c(0x1a5)],_0x132586['push']({'startIndex':_0x5e320a[_0x1f560c(0x1d0)]-0x3,'paragraphId':(0x0,_0x2e794e[_0x1f560c(0x352)])(_0x594387)}),_0x16fe05[_0x1f560c(0x2f9)]({'sectionId':(0x0,_0x2e794e[_0x1f560c(0x28a)])(_0x17a056),'startIndex':_0x5e320a[_0x1f560c(0x1d0)]-0x2});}),_0x5e320a+=_0x2e794e['DataStreamTreeTokenType']['TABLE_ROW_END'];}),_0x5e320a+=_0x2e794e['DataStreamTreeTokenType'][_0x5a82f5(0x2c8)],{'dataStream':_0x5e320a,'paragraphs':_0x132586,'sectionBreaks':_0x16fe05};}function _0x12dc41(_0x23aedb){const _0x842598=_0x2122c9;return new Set((_0x23aedb['paragraphs']??[])[_0x842598(0x37a)](_0x161707=>_0x161707[_0x842598(0x1ec)]));}function _0x31d3a1(_0x1a7d65){const _0xdc2e86=_0x2122c9;return new Set((_0x1a7d65[_0xdc2e86(0x196)]??[])['map'](_0x34836d=>_0x34836d[_0xdc2e86(0x189)]));}function _0x54b61d(_0x21c37d,_0xff6aac,_0x1cd562){const _0x55cae0=_0x2122c9;let _0x107dec=_0x2a33c5(_0x21c37d,_0x1cd562);return{'tableRows':Array[_0x55cae0(0x20c)]({'length':_0xff6aac},(_0x121023,_0xace09c)=>_0x55bbf5(_0x21c37d,_0xace09c,_0x1cd562)),'tableColumns':_0x107dec[_0x55cae0(0x37a)]((_0x3eb0ff,_0x50cae8)=>({..._0x396975(_0x3eb0ff),..._0x21c37d[_0x55cae0(0x1de)]?{'docsTableType':_0x2e794e['Tools'][_0x55cae0(0x2c1)](_0x21c37d[_0x55cae0(0x1de)][_0x50cae8]??null)}:{}})),'docsTableMetadataVersion':0x1,'tableId':_0x21c37d[_0x55cae0(0x350)],'align':_0x2e794e['TableAlignmentType'][_0x55cae0(0x215)],'indent':{'v':0x0},'textWrap':_0x2e794e[_0x55cae0(0x17c)][_0x55cae0(0x1dc)],'position':{'positionH':{'relativeFrom':_0x2e794e[_0x55cae0(0x16c)][_0x55cae0(0x1cd)],'posOffset':0x0},'positionV':{'relativeFrom':_0x2e794e[_0x55cae0(0x251)]['PAGE'],'posOffset':0x0}},'dist':{'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0},'size':{'type':_0x2e794e['TableSizeType'][_0x55cae0(0x22c)],'width':{'v':_0x21c37d[_0x55cae0(0x192)]??_0x107dec[_0x55cae0(0x2fc)]((_0x4806db,_0x54cc3b)=>_0x4806db+_0x54cc3b,0x0)}},..._0x21c37d['cellMargin']==null?{}:{'cellMargin':_0x2e794e[_0x55cae0(0x249)][_0x55cae0(0x2c1)](_0x21c37d[_0x55cae0(0x194)])}};}function _0x55bbf5(_0x269088,_0x1acd25,_0x3a33ef){const _0x17d26f=_0x2122c9;var _0x1776f8;return{'tableCells':Array[_0x17d26f(0x20c)]({'length':_0x3a33ef},(_0x44a44f,_0x49051f)=>_0x34527c(_0x269088,_0x1acd25,_0x49051f,_0x3a33ef)),'trHeight':{'val':{'v':((_0x1776f8=_0x269088[_0x17d26f(0x202)])==null?void 0x0:_0x1776f8[_0x1acd25])??0x1e},'hRule':_0x2e794e[_0x17d26f(0x2ee)][_0x17d26f(0x250)]},..._0x269088['titleRow']&&_0x1acd25===0x0?{'docsTableTitleRow':!0x0}:{},'repeatHeaderRow':_0x1acd25<(_0x269088[_0x17d26f(0x310)]??0x0)?_0x2e794e['BooleanNumber']['TRUE']:_0x2e794e[_0x17d26f(0x297)]['FALSE']};}function _0x34527c(_0x1b9d9b,_0xa68e0d,_0x5706f8,_0x9f2f75){const _0x558f58=_0x2122c9;let _0x2134a5=_0x1b9d9b[_0x558f58(0x35e)]&&_0xa68e0d===0x0;return{..._0x1b9d9b['cellMargin']==null?{'margin':_0x2e794e[_0x558f58(0x249)][_0x558f58(0x2c1)](_0x20d23b)}:{},..._0x2134a5&&_0x5706f8===0x0?{'columnSpan':_0x9f2f75}:{},..._0x2134a5&&_0x5706f8>0x0?{'rowSpan':0x0,'columnSpan':0x0}:{}};}function _0x396975(_0x2384cc){const _0x4e3504=_0x2122c9;return{'size':{'type':_0x2e794e[_0x4e3504(0x235)][_0x4e3504(0x22c)],'width':{'v':_0x2384cc}}};}function _0x2a33c5(_0x196346,_0x52ee6f){const _0x3cf87f=_0x2122c9;let _0x2b95e4=_0x196346[_0x3cf87f(0x192)]?_0x196346[_0x3cf87f(0x192)]/_0x52ee6f:0x64;return Array[_0x3cf87f(0x20c)]({'length':_0x52ee6f},(_0xfea682,_0x39c463)=>{const _0x4537f4=_0x3cf87f;var _0x4fdd01;return((_0x4fdd01=_0x196346[_0x4537f4(0x31e)])==null?void 0x0:_0x4fdd01[_0x39c463])??_0x2b95e4;});}function _0x1b42c8(_0x26402d){const _0x15c322=_0x2122c9;if(_0x26402d['titleRow']!=null||_0x26402d[_0x15c322(0x310)]!=null||_0x26402d[_0x15c322(0x1de)]!=null)return{..._0x26402d[_0x15c322(0x35e)]==null?{}:{'titleRow':_0x26402d[_0x15c322(0x35e)]},..._0x26402d['headerRowCount']==null?{}:{'headerRowCount':_0x26402d[_0x15c322(0x310)]},..._0x26402d[_0x15c322(0x1de)]==null?{}:{'columnTypes':_0x26402d[_0x15c322(0x1de)]}};}let _0x501433={'id':_0x2122c9(0x276),'type':_0x2e794e['CommandType'][_0x2122c9(0x295)],'handler':(_0x4f85a2,_0x1a78c6)=>{const _0x230e14=_0x2122c9;let _0x516f22=_0x4f85a2[_0x230e14(0x1ac)](_0x2e794e['IUniverInstanceService']),_0x29b20e=_0x4f85a2[_0x230e14(0x1ac)](_0x2e794e[_0x230e14(0x1c5)]),_0x71185=_0x4f85a2[_0x230e14(0x1ac)](_0x4e0e05),_0x9a7f4d=_0x1a78c6!=null&&_0x1a78c6['unitId']?_0x516f22[_0x230e14(0x24a)](_0x1a78c6[_0x230e14(0x1a6)],_0x2e794e[_0x230e14(0x262)][_0x230e14(0x2dc)]):_0x516f22['getCurrentUnitOfType'](_0x2e794e[_0x230e14(0x262)][_0x230e14(0x2dc)]);if(!_0x9a7f4d)return!0x1;let _0x4c0814=_0x9a7f4d['getSnapshot'](),_0x83808=(_0x1a78c6==null?void 0x0:_0x1a78c6['tableId'])??(0x0,_0x2e794e['generateRandomId'])(0x6),_0x5f4ea1=_0x23603c(_0x4f85a2,_0x9a7f4d[_0x230e14(0x168)](),_0x1a78c6);if(!_0x5f4ea1)return!0x1;let _0x15fdd3;try{let _0x4c15e7=_0x150440(_0x9a7f4d,_0x5f4ea1[_0x230e14(0x366)]);if(!_0x4c15e7)return!0x1;_0x15fdd3=_0x14f2ea({..._0x1a78c6,..._0x5f4ea1,'documentData':_0x4c15e7,'metadata':_0x71185[_0x230e14(0x2d0)](_0x9a7f4d[_0x230e14(0x168)]()),'tableId':_0x83808},_0x35dd41(_0x4c0814,_0x5f4ea1[_0x230e14(0x366)]));}catch(_0x5bdc14){if(_0x5bdc14 instanceof _0xa45ceb)return!0x1;throw _0x5bdc14;}let _0x501bd0=_0x150440(_0x9a7f4d,_0x5f4ea1[_0x230e14(0x366)]);return _0x501bd0?_0x4b81c6(_0x29b20e,_0x9a7f4d[_0x230e14(0x168)](),_0x501bd0,_0x15fdd3[_0x230e14(0x22a)],void 0x0,_0x15fdd3[_0x230e14(0x2f3)],_0x501433['id']):!0x1;}};function _0x23603c(_0x198210,_0x3dc745,_0x5704f3){const _0xfa0210=_0x2122c9;let {offset:_0x20bcb5,position:_0x188487,segmentId:_0x1b3d1d}=_0x5704f3??{};if(typeof _0x20bcb5==_0xfa0210(0x1b0)){let _0x3d4b7a=_0x92f90b(_0x198210);return{'offset':_0x20bcb5,'position':_0xfa0210(0x2a7),'segmentId':_0x1b3d1d??(_0x3d4b7a==null?void 0x0:_0x3d4b7a[_0xfa0210(0x366)])};}if(_0x188487===_0xfa0210(0x1a1)){let _0x38b32a=(0x0,_0x3df5e7[_0xfa0210(0x2ce)])(_0x198210,_0x3dc745),_0x23f276=_0x92f90b(_0x198210),_0x14df8b=_0x23f276!=null&&_0x23f276[_0xfa0210(0x366)]?_0x23f276:_0x38b32a??_0x23f276;if((_0x14df8b==null?void 0x0:_0x14df8b[_0xfa0210(0x1d4)])!=null)return{'offset':_0x14df8b['startOffset'],'position':_0xfa0210(0x2a7),'segmentId':_0x1b3d1d??_0x14df8b[_0xfa0210(0x366)]};}if(_0x188487===_0xfa0210(0x2a7)){let _0x551710=(0x0,_0x3df5e7['getContentInsertRange'])(_0x198210,_0x3dc745),_0x5cb369=_0x92f90b(_0x198210),_0x388227=_0x551710??_0x5cb369;if((_0x388227==null?void 0x0:_0x388227[_0xfa0210(0x1d4)])!=null)return{'offset':_0x388227[_0xfa0210(0x1d4)],'position':_0xfa0210(0x2a7),'segmentId':_0x1b3d1d??_0x388227[_0xfa0210(0x366)]};}return{'position':'documentEnd','segmentId':_0x1b3d1d};}function _0x92f90b(_0xd15f74){const _0x4eadfb=_0x2122c9;try{var _0xb3e158,_0x2f071a;let _0x510458=(_0xb3e158=(_0x2f071a=_0xd15f74[_0x4eadfb(0x1ac)](_0x3df5e7[_0x4eadfb(0x277)]))[_0x4eadfb(0x222)])==null?void 0x0:_0xb3e158[_0x4eadfb(0x34e)](_0x2f071a);return _0x510458?{'startOffset':_0x510458[_0x4eadfb(0x1d4)],'segmentId':_0x510458[_0x4eadfb(0x366)]}:null;}catch{return null;}}let _0x104991={'id':_0x2122c9(0x1a2),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x28a562,_0xa693d5)=>{const _0x610a6d=_0x2122c9;let _0x1c9c7a=_0x28a562[_0x610a6d(0x1ac)](_0x2e794e[_0x610a6d(0x325)]),_0x13eb6b=_0x28a562[_0x610a6d(0x1ac)](_0x2e794e[_0x610a6d(0x1c5)]),_0x4b7754=_0x28a562['get'](_0x2cb1d3),_0x48d683=_0x1c9c7a[_0x610a6d(0x286)](_0x2e794e[_0x610a6d(0x262)][_0x610a6d(0x2dc)]),_0x281e83=_0x4b7754['getCurrentSelection'](),_0x6f3dc0=(_0xa693d5==null?void 0x0:_0xa693d5[_0x610a6d(0x350)])??(_0x281e83==null?void 0x0:_0x281e83[_0x610a6d(0x350)]);if(!_0x48d683||!_0x6f3dc0)return!0x1;let _0x3c68b2=_0x48d683[_0x610a6d(0x2e5)](),_0x5037e4=_0x42335f(_0xa693d5,_0x281e83),_0x1a6f2e=_0x150440(_0x48d683,_0x5037e4);if(!_0x1a6f2e)return!0x1;let _0x19494a=_0x57d525(_0x1a6f2e,_0x6f3dc0,_0x35dd41(_0x3c68b2,_0x5037e4));return _0x19494a?_0x4b81c6(_0x13eb6b,_0x48d683[_0x610a6d(0x168)](),_0x1a6f2e,_0x19494a[_0x610a6d(0x22a)]):!0x1;}},_0x2b636a={'id':_0x2122c9(0x171),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x49fed1,_0x142257)=>{const _0x8886aa=_0x2122c9;let _0x5c5e46=_0x49fed1['get'](_0x2e794e[_0x8886aa(0x325)]),_0x337e89=_0x49fed1['get'](_0x2e794e['ICommandService']),_0x224e76=_0x49fed1[_0x8886aa(0x1ac)](_0x2cb1d3),_0x585682=_0x5c5e46[_0x8886aa(0x286)](_0x2e794e[_0x8886aa(0x262)][_0x8886aa(0x2dc)]),_0x3cd12a=_0x224e76[_0x8886aa(0x1f5)](),_0x3ae658=(_0x142257==null?void 0x0:_0x142257[_0x8886aa(0x350)])??(_0x3cd12a==null?void 0x0:_0x3cd12a[_0x8886aa(0x350)]),_0x5406ae=_0x282710(_0x142257,_0x3cd12a);if(!_0x585682||!_0x3ae658||!_0x5406ae)return!0x1;let _0x36d849=_0x42335f(_0x142257,_0x3cd12a),_0x29c234=_0x150440(_0x585682,_0x36d849);if(!_0x29c234||!_0x29eaa9(_0x29c234,_0x3ae658,_0x5406ae))return!0x1;let _0x2708fd=_0x508bf7({'documentData':_0x29c234,'tableId':_0x3ae658,..._0x5406ae});if(!_0x2708fd)return!0x1;let _0x363aaf=_0x4b81c6(_0x337e89,_0x585682[_0x8886aa(0x168)](),_0x29c234,_0x2708fd['actions'],{'tableId':_0x3ae658,'segmentId':_0x36d849,..._0x2708fd[_0x8886aa(0x338)]});return _0x363aaf&&_0x224e76['setStructuralSelection']({'kind':'cell','tableId':_0x3ae658,'segmentId':_0x36d849,..._0x2708fd[_0x8886aa(0x338)]}),_0x363aaf;}},_0x385dde={'id':_0x2122c9(0x358),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x1f3c23,_0x196564)=>{const _0x377f85=_0x2122c9;if(!_0x196564)return!0x1;let _0xa7cd2c=_0x1f3c23[_0x377f85(0x1ac)](_0x2e794e[_0x377f85(0x325)]),_0x2f7fe5=_0x1f3c23[_0x377f85(0x1ac)](_0x2e794e[_0x377f85(0x1c5)]),_0x31578b=_0x1f3c23['get'](_0x2cb1d3),_0x166ae8=_0xa7cd2c[_0x377f85(0x286)](_0x2e794e[_0x377f85(0x262)][_0x377f85(0x2dc)]),_0x4fb373=_0x31578b['getCurrentSelection'](),_0x3e706f=_0x196564[_0x377f85(0x350)]??(_0x4fb373==null?void 0x0:_0x4fb373['tableId']),_0x16dd2f=_0x196564[_0x377f85(0x37d)]??(_0x4fb373==null?void 0x0:_0x4fb373[_0x377f85(0x320)]);if(!_0x166ae8||_0x3e706f==null||_0x16dd2f==null)return!0x1;let _0x1a5bcc=_0x166ae8[_0x377f85(0x2e5)](),_0x3e3149=_0x42335f(_0x196564,_0x4fb373),_0x3c11ef=_0x150440(_0x166ae8,_0x3e3149);if(!_0x3c11ef)return!0x1;let _0x386aae=_0x196564['count']??(_0x4fb373?Math[_0x377f85(0x186)](0x1,_0x4fb373['endColumn']-_0x4fb373[_0x377f85(0x320)]+0x1):0x1),_0x243a82=_0x566752(_0x3c11ef,_0x3e706f,_0x16dd2f,_0x196564[_0x377f85(0x1e9)],_0x386aae,_0x196564[_0x377f85(0x21f)],_0x35dd41(_0x1a5bcc,_0x3e3149));if(!_0x243a82)return!0x1;let _0x168b30=_0x4b81c6(_0x2f7fe5,_0x166ae8[_0x377f85(0x168)](),_0x3c11ef,_0x243a82[_0x377f85(0x22a)]);return _0x168b30&&_0x4fb373&&_0x31578b[_0x377f85(0x1e8)]({..._0x4fb373,'tableId':_0x3e706f,'startColumn':_0x243a82[_0x377f85(0x2d2)],'endColumn':_0x243a82[_0x377f85(0x2d2)]+_0x386aae-0x1}),_0x168b30;}},_0x17ea50={'id':_0x2122c9(0x330),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x4fdbfa,_0x5b3827)=>{const _0x2c30ef=_0x2122c9;if(!_0x5b3827)return!0x1;let _0x550bfb=_0x4fdbfa['get'](_0x2e794e[_0x2c30ef(0x325)]),_0x7f96f9=_0x4fdbfa[_0x2c30ef(0x1ac)](_0x2e794e[_0x2c30ef(0x1c5)]),_0x71a773=_0x4fdbfa[_0x2c30ef(0x1ac)](_0x2cb1d3),_0x402b69=_0x550bfb['getCurrentUnitOfType'](_0x2e794e[_0x2c30ef(0x262)]['UNIVER_DOC']),_0x4cc333=_0x71a773['getCurrentSelection'](),_0x5648a8=_0x5b3827['tableId']??(_0x4cc333==null?void 0x0:_0x4cc333[_0x2c30ef(0x350)]),_0x3affcb=_0x5b3827[_0x2c30ef(0x1fa)]??(_0x4cc333==null?void 0x0:_0x4cc333[_0x2c30ef(0x18a)]);if(!_0x402b69||_0x5648a8==null||_0x3affcb==null)return!0x1;let _0x3493b5=_0x402b69[_0x2c30ef(0x2e5)](),_0x279a7e=_0x42335f(_0x5b3827,_0x4cc333),_0x2ea08e=_0x150440(_0x402b69,_0x279a7e);if(!_0x2ea08e)return!0x1;let _0x67bf5b=_0x5b3827['count']??(_0x4cc333?Math[_0x2c30ef(0x186)](0x1,_0x4cc333[_0x2c30ef(0x25a)]-_0x4cc333[_0x2c30ef(0x18a)]+0x1):0x1),_0x253b7b=_0xc49b8d(_0x2ea08e,_0x5648a8,_0x3affcb,_0x5b3827[_0x2c30ef(0x370)],_0x67bf5b,_0x5b3827['position'],_0x35dd41(_0x3493b5,_0x279a7e));if(!_0x253b7b)return!0x1;let _0x4dda45=_0x4b81c6(_0x7f96f9,_0x402b69[_0x2c30ef(0x168)](),_0x2ea08e,_0x253b7b[_0x2c30ef(0x22a)]);return _0x4dda45&&_0x4cc333&&_0x71a773[_0x2c30ef(0x1e8)]({..._0x4cc333,'tableId':_0x5648a8,'startRow':_0x253b7b[_0x2c30ef(0x172)],'endRow':_0x253b7b[_0x2c30ef(0x172)]+_0x67bf5b-0x1}),_0x4dda45;}},_0x36cb06={'id':_0x2122c9(0x226),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x48de67,_0x27a7f6)=>{const _0xd39627=_0x2122c9;if(!_0x27a7f6)return!0x1;let _0x51123f=_0x48de67['get'](_0x2e794e[_0xd39627(0x325)]),_0x5430df=_0x48de67['get'](_0x2e794e[_0xd39627(0x1c5)]),_0x534296=_0x48de67[_0xd39627(0x1ac)](_0x2cb1d3),_0x19b907=_0x51123f[_0xd39627(0x286)](_0x2e794e[_0xd39627(0x262)][_0xd39627(0x2dc)]),_0x3dec22=_0x534296['getCurrentSelection'](),_0xd74a5=_0x27a7f6[_0xd39627(0x350)]??(_0x3dec22==null?void 0x0:_0x3dec22['tableId']);if(!_0x19b907||!_0xd74a5)return!0x1;let _0x2085a6=_0x19b907['getSnapshot'](),_0x1e16be=_0x42335f(_0x27a7f6,_0x3dec22),_0x36ecbf=_0x150440(_0x19b907,_0x1e16be);if(!_0x36ecbf)return!0x1;if(_0x27a7f6[_0xd39627(0x1df)]==null){let _0x50f883=_0x4d9e48(_0x36ecbf,_0xd74a5,_0x27a7f6[_0xd39627(0x1dd)]??0x0,_0x27a7f6['deltaY']??0x0);return _0x4b81c6(_0x5430df,_0x19b907[_0xd39627(0x168)](),_0x36ecbf,_0x50f883);}let _0x3584d9=_0x3eb5f5(_0x36ecbf,_0xd74a5,_0x27a7f6[_0xd39627(0x1df)],_0x35dd41(_0x2085a6,_0x1e16be));return _0x4b81c6(_0x5430df,_0x19b907[_0xd39627(0x168)](),_0x36ecbf,_0x3584d9);}},_0x1d42cb={'id':_0x2122c9(0x36a),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x23db7f,_0x3bc925)=>{const _0x4980a4=_0x2122c9;var _0x17db0b;if(!_0x3bc925)return!0x1;let _0x587b9c=_0x23db7f[_0x4980a4(0x1ac)](_0x2e794e[_0x4980a4(0x325)]),_0x3a1afc=_0x23db7f[_0x4980a4(0x1ac)](_0x2e794e[_0x4980a4(0x1c5)]),_0x569a09=_0x23db7f[_0x4980a4(0x1ac)](_0x2cb1d3),_0x54c482=_0x587b9c['getCurrentUnitOfType'](_0x2e794e[_0x4980a4(0x262)]['UNIVER_DOC']),_0xd5bc27=_0x569a09['getCurrentSelection'](),_0x3c8953=_0x3bc925[_0x4980a4(0x350)]??(_0xd5bc27==null?void 0x0:_0xd5bc27['tableId']),_0x546e3b=_0x3bc925[_0x4980a4(0x1b4)]??(_0xd5bc27==null?void 0x0:_0xd5bc27[_0x4980a4(0x320)]);if(!_0x54c482||_0x3c8953==null||_0x546e3b==null)return!0x1;let _0x4fd282=_0x150440(_0x54c482,_0x42335f(_0x3bc925,_0xd5bc27));return!_0x4fd282||!((_0x17db0b=_0x4fd282['tableSource'])!=null&&(_0x17db0b=_0x17db0b[_0x3c8953])!=null&&_0x17db0b[_0x4980a4(0x355)][_0x546e3b])?!0x1:_0x4b81c6(_0x3a1afc,_0x54c482[_0x4980a4(0x168)](),_0x4fd282,_0x526a9d(_0x4fd282,_0x3c8953,_0x546e3b,_0x3bc925['width'],_0x3bc925[_0x4980a4(0x31e)]));}},_0xbba43b={'id':_0x2122c9(0x169),'type':_0x2e794e[_0x2122c9(0x22d)]['COMMAND'],'handler':async(_0x3ba143,_0x3b3369)=>{const _0x433327=_0x2122c9;var _0x35e2ac;if(!_0x3b3369)return!0x1;let _0x7df070=_0x3ba143[_0x433327(0x1ac)](_0x2e794e[_0x433327(0x325)]),_0x35b4d0=_0x3ba143[_0x433327(0x1ac)](_0x2e794e[_0x433327(0x1c5)]),_0x1a617c=_0x3ba143[_0x433327(0x1ac)](_0x2cb1d3),_0x4b15e7=_0x7df070[_0x433327(0x286)](_0x2e794e[_0x433327(0x262)][_0x433327(0x2dc)]),_0x455879=_0x1a617c[_0x433327(0x15f)](),_0x1640b8=_0x3b3369[_0x433327(0x350)]??(_0x455879==null?void 0x0:_0x455879['tableId']),_0x448b2b=_0x3b3369['row']??(_0x455879==null?void 0x0:_0x455879['startRow']);if(!_0x4b15e7||_0x1640b8==null||_0x448b2b==null)return!0x1;let _0x254d10=_0x150440(_0x4b15e7,_0x42335f(_0x3b3369,_0x455879));return!_0x254d10||!((_0x35e2ac=_0x254d10[_0x433327(0x1f4)])!=null&&(_0x35e2ac=_0x35e2ac[_0x1640b8])!=null&&_0x35e2ac['tableRows'][_0x448b2b])?!0x1:_0x4b81c6(_0x35b4d0,_0x4b15e7[_0x433327(0x168)](),_0x254d10,_0xaf2958(_0x254d10,_0x1640b8,_0x448b2b,_0x3b3369[_0x433327(0x24d)],_0x3b3369[_0x433327(0x2cb)]));}},_0x2e1809={'id':'docs-table.command.set-column-type','type':_0x2e794e['CommandType'][_0x2122c9(0x295)],'handler':(_0x22d048,_0x1a69b7)=>{const _0x1e8360=_0x2122c9;var _0x635e38;if(!(_0x1a69b7!=null&&_0x1a69b7[_0x1e8360(0x26b)])||!Object['values'](_0x5120a8)['includes'](_0x1a69b7[_0x1e8360(0x26b)]['type']))return!0x1;let _0x380796=_0x22d048['get'](_0x2e794e[_0x1e8360(0x325)]),_0x505c50=_0x1a69b7['unitId']?_0x380796['getUnit'](_0x1a69b7[_0x1e8360(0x1a6)],_0x2e794e[_0x1e8360(0x262)][_0x1e8360(0x2dc)]):_0x380796[_0x1e8360(0x286)](_0x2e794e['UniverInstanceType']['UNIVER_DOC']),_0x543c8c=_0x22d048[_0x1e8360(0x1ac)](_0x2cb1d3)[_0x1e8360(0x15f)](),_0x1dd7a9=_0x1a69b7[_0x1e8360(0x350)]??(_0x543c8c==null?void 0x0:_0x543c8c[_0x1e8360(0x350)]),_0x4992b2=_0x1a69b7[_0x1e8360(0x1b4)]??(_0x543c8c==null?void 0x0:_0x543c8c[_0x1e8360(0x320)]),_0x44b4d7=_0x1dd7a9&&(_0x505c50==null||(_0x635e38=_0x505c50[_0x1e8360(0x2e5)]()[_0x1e8360(0x1f4)])==null?void 0x0:_0x635e38[_0x1dd7a9]);if(!_0x505c50||_0x505c50[_0x1e8360(0x1ff)]()||!_0x44b4d7||_0x4992b2==null||!Number['isInteger'](_0x4992b2)||!_0x44b4d7[_0x1e8360(0x355)][_0x4992b2])return!0x1;let _0x1c5737=_0x111567(_0x44b4d7,_0x4992b2,_0x1a69b7[_0x1e8360(0x26b)],_0x22d048['get'](_0x4e0e05)[_0x1e8360(0x36c)](_0x505c50[_0x1e8360(0x168)](),_0x44b4d7['tableId']));return _0x4b81c6(_0x22d048[_0x1e8360(0x1ac)](_0x2e794e[_0x1e8360(0x1c5)]),_0x505c50[_0x1e8360(0x168)](),_0x505c50['getSnapshot'](),_0x1c5737);}},_0x3d9b29={'id':'docs-table.command.set-header-row-count','type':_0x2e794e['CommandType'][_0x2122c9(0x295)],'handler':async(_0x9bdb86,_0x49c89f)=>{const _0x2df496=_0x2122c9;let _0x356180=_0x9bdb86[_0x2df496(0x1ac)](_0x2e794e[_0x2df496(0x325)]),_0x22af23=_0x9bdb86[_0x2df496(0x1ac)](_0x2e794e[_0x2df496(0x1c5)]),_0x1425e8=_0x9bdb86[_0x2df496(0x1ac)](_0x2cb1d3),_0x210323=_0x356180[_0x2df496(0x286)](_0x2e794e['UniverInstanceType'][_0x2df496(0x2dc)]),_0x536427=_0x1425e8['getCurrentSelection']();if(!_0x210323)return!0x1;let _0x32389e=(_0x49c89f==null?void 0x0:_0x49c89f[_0x2df496(0x350)])??(_0x536427==null?void 0x0:_0x536427['tableId']),_0x1fca06=(_0x49c89f==null?void 0x0:_0x49c89f['row'])??(_0x536427==null?void 0x0:_0x536427[_0x2df496(0x25a)]);if(_0x32389e==null||(_0x49c89f==null?void 0x0:_0x49c89f[_0x2df496(0x310)])==null&&_0x1fca06==null)return!0x1;let _0x427df3=(_0x49c89f==null?void 0x0:_0x49c89f[_0x2df496(0x310)])??_0x1fca06+0x1,_0x3eb0c2=_0x150440(_0x210323,_0x42335f(_0x49c89f,_0x536427));if(!_0x3eb0c2)return!0x1;let _0x169ca4=_0x4b3b39(_0x3eb0c2,_0x32389e,_0x427df3);return _0x169ca4?_0x4b81c6(_0x22af23,_0x210323[_0x2df496(0x168)](),_0x3eb0c2,_0x169ca4[_0x2df496(0x22a)]):!0x1;}},_0x3ae1f2={'id':_0x2122c9(0x26f),'type':_0x2e794e[_0x2122c9(0x22d)]['COMMAND'],'handler':(_0x3d74fe,_0x3d397f)=>{const _0x3dcaa3=_0x2122c9;var _0x587993,_0x2480b2;if(!(_0x3d397f!=null&&_0x3d397f[_0x3dcaa3(0x1a6)])||!_0x3d397f['tableId']||![_0x2e794e[_0x3dcaa3(0x2bf)]['START'],_0x2e794e['TableAlignmentType']['CENTER'],_0x2e794e[_0x3dcaa3(0x2bf)][_0x3dcaa3(0x37b)]][_0x3dcaa3(0x211)](_0x3d397f[_0x3dcaa3(0x2d5)]))return!0x1;let _0x24ba46=_0x3d74fe['get'](_0x2e794e[_0x3dcaa3(0x325)])['getUnit'](_0x3d397f[_0x3dcaa3(0x1a6)],_0x2e794e[_0x3dcaa3(0x262)][_0x3dcaa3(0x2dc)]),_0x181c5a=_0x24ba46==null?void 0x0:_0x24ba46[_0x3dcaa3(0x2e5)](),_0x400f90=_0x181c5a==null||(_0x587993=_0x181c5a['tableSource'])==null?void 0x0:_0x587993[_0x3d397f[_0x3dcaa3(0x350)]];if(!_0x24ba46||_0x24ba46['getDisabled']()||(_0x181c5a==null||(_0x2480b2=_0x181c5a['documentStyle'])==null?void 0x0:_0x2480b2[_0x3dcaa3(0x2ec)])!==_0x2e794e[_0x3dcaa3(0x303)][_0x3dcaa3(0x23b)]||!_0x400f90)return!0x1;if(_0x400f90[_0x3dcaa3(0x237)]===_0x3d397f['value'])return!0x0;let _0x4f82ba=_0x2e794e['JSONX'][_0x3dcaa3(0x170)](),_0x465b8e=['tableSource',_0x400f90[_0x3dcaa3(0x350)],_0x3dcaa3(0x237)],_0xaaef5c=_0x400f90['align']===void 0x0?_0x4f82ba[_0x3dcaa3(0x30c)](_0x465b8e,_0x3d397f[_0x3dcaa3(0x2d5)]):_0x4f82ba['replaceOp'](_0x465b8e,_0x400f90[_0x3dcaa3(0x237)],_0x3d397f[_0x3dcaa3(0x2d5)]);return _0x4b81c6(_0x3d74fe['get'](_0x2e794e['ICommandService']),_0x24ba46['getUnitId'](),_0x181c5a,_0xaaef5c);}},_0x210fdd={'id':_0x2122c9(0x2d9),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x1c17ff,_0x448c4e)=>{const _0xf8283d=_0x2122c9;let _0x4e14fc=(_0x448c4e==null?void 0x0:_0x448c4e[_0xf8283d(0x34f)])??(_0x448c4e==null?void 0x0:_0x448c4e[_0xf8283d(0x2d5)]);if(_0x4e14fc===void 0x0)return!0x1;let _0x4cd15c=_0x1c17ff[_0xf8283d(0x1ac)](_0x2e794e[_0xf8283d(0x325)]),_0x15ba44=_0x1c17ff[_0xf8283d(0x1ac)](_0x2e794e[_0xf8283d(0x1c5)]),_0xe387c6=_0x1c17ff['get'](_0x2cb1d3),_0x2a65b7=_0x4cd15c[_0xf8283d(0x286)](_0x2e794e[_0xf8283d(0x262)][_0xf8283d(0x2dc)]),_0x192314=_0x41723e(_0xe387c6),_0x236763=(_0x448c4e==null?void 0x0:_0x448c4e[_0xf8283d(0x350)])??(_0x192314==null?void 0x0:_0x192314[_0xf8283d(0x350)]),_0x387c37=_0x282710(_0x448c4e,_0x192314);if(!_0x2a65b7||!_0x236763||!_0x387c37)return!0x1;let _0x4f7d37=_0x42335f(_0x448c4e,_0x192314),_0x444121=_0x150440(_0x2a65b7,_0x4f7d37);if(!_0x444121||!_0x39b4cd(_0x444121,_0x236763,_0x387c37))return!0x1;let _0xb94d21=_0xbf7e87(_0x444121,{'tableId':_0x236763,..._0x387c37,'value':_0x4e14fc}),_0x4fa32f=_0x4b81c6(_0x15ba44,_0x2a65b7[_0xf8283d(0x168)](),_0x444121,_0xb94d21,{'tableId':_0x236763,'segmentId':_0x4f7d37,..._0x387c37});return _0x4fa32f&&_0xe387c6[_0xf8283d(0x1e8)]({'kind':(_0x192314==null?void 0x0:_0x192314[_0xf8283d(0x2ab)])??_0xf8283d(0x338),'tableId':_0x236763,'segmentId':_0x4f7d37,..._0x387c37}),_0x4fa32f;}};function _0x41723e(_0x21472b){const _0x3d976d=_0x2122c9;var _0x4bc8b2;return((_0x4bc8b2=_0x21472b[_0x3d976d(0x1f5)])==null?void 0x0:_0x4bc8b2[_0x3d976d(0x34e)](_0x21472b))??_0x21472b['getCurrentSelection']();}function _0xbf7e87(_0x4a0330,_0x106eea){const _0x7a5d32=_0x2122c9;var _0x4056e5;let _0x35d7ff=(_0x4056e5=_0x4a0330[_0x7a5d32(0x1f4)])==null?void 0x0:_0x4056e5[_0x106eea['tableId']],_0x4cb3a5=_0x282710(_0x106eea);if(!_0x35d7ff||!_0x4cb3a5)return null;let _0x478a46=_0x2e794e[_0x7a5d32(0x2fe)][_0x7a5d32(0x170)](),_0x2a0c8e=[],_0x582366=_0x2bbca7(_0x4cb3a5);for(let _0x4f2aaa=_0x582366[_0x7a5d32(0x18a)];_0x4f2aaa<=_0x582366[_0x7a5d32(0x25a)];_0x4f2aaa++)for(let _0x50e75b=_0x582366['startColumn'];_0x50e75b<=_0x582366[_0x7a5d32(0x30e)];_0x50e75b++){var _0x11c14a;let _0x2d1a6c=(_0x11c14a=_0x35d7ff[_0x7a5d32(0x184)][_0x4f2aaa])==null?void 0x0:_0x11c14a[_0x7a5d32(0x217)][_0x50e75b];if(!_0x2d1a6c)return null;let _0x4844d5=[_0x7a5d32(0x1f4),_0x106eea[_0x7a5d32(0x350)],_0x7a5d32(0x184),_0x4f2aaa,_0x7a5d32(0x217),_0x50e75b,_0x7a5d32(0x36f)],_0x5c8f49=_0x106eea[_0x7a5d32(0x2d5)]==null?void 0x0:{'rgb':_0x106eea['value']};JSON[_0x7a5d32(0x19d)](_0x2d1a6c[_0x7a5d32(0x36f)])!==JSON[_0x7a5d32(0x19d)](_0x5c8f49)&&(_0x2d1a6c[_0x7a5d32(0x36f)]===void 0x0&&_0x5c8f49!==void 0x0?_0x2a0c8e[_0x7a5d32(0x2f9)](_0x478a46[_0x7a5d32(0x30c)]([..._0x4844d5],_0x5c8f49)):_0x5c8f49===void 0x0?_0x2a0c8e[_0x7a5d32(0x2f9)](_0x478a46[_0x7a5d32(0x371)]([..._0x4844d5],_0x2d1a6c[_0x7a5d32(0x36f)])):_0x2a0c8e['push'](_0x478a46[_0x7a5d32(0x1d5)]([..._0x4844d5],_0x2d1a6c[_0x7a5d32(0x36f)],_0x5c8f49)));}return _0x2a0c8e[_0x7a5d32(0x2fc)]((_0x489f4c,_0x2de77d)=>_0x2e794e[_0x7a5d32(0x2fe)][_0x7a5d32(0x319)](_0x489f4c,_0x2de77d),null);}function _0x39b4cd(_0x1a391d,_0x431d79,_0x52f229){const _0x938ef8=_0x2122c9;var _0x551142;let _0x122405=(_0x551142=_0x1a391d[_0x938ef8(0x1f4)])==null?void 0x0:_0x551142[_0x431d79];if(!_0x122405)return!0x1;let _0x450ef9=_0x2bbca7(_0x52f229);for(let _0x2a2006=_0x450ef9[_0x938ef8(0x18a)];_0x2a2006<=_0x450ef9[_0x938ef8(0x25a)];_0x2a2006++)for(let _0x45c695=_0x450ef9[_0x938ef8(0x320)];_0x45c695<=_0x450ef9[_0x938ef8(0x30e)];_0x45c695++){var _0x5c4c77;if(!((_0x5c4c77=_0x122405[_0x938ef8(0x184)][_0x2a2006])!=null&&_0x5c4c77[_0x938ef8(0x217)][_0x45c695]))return!0x1;}return!0x0;}function _0x2bbca7(_0x256fee){const _0x27ee06=_0x2122c9;return{'startRow':Math[_0x27ee06(0x183)](_0x256fee[_0x27ee06(0x18a)],_0x256fee[_0x27ee06(0x25a)]),'endRow':Math['max'](_0x256fee[_0x27ee06(0x18a)],_0x256fee[_0x27ee06(0x25a)]),'startColumn':Math[_0x27ee06(0x183)](_0x256fee[_0x27ee06(0x320)],_0x256fee[_0x27ee06(0x30e)]),'endColumn':Math[_0x27ee06(0x186)](_0x256fee['startColumn'],_0x256fee[_0x27ee06(0x30e)])};}let _0x361831=function(_0x3f6e49){const _0xe1215c=_0x2122c9;return _0x3f6e49['All']=_0xe1215c(0x266),_0x3f6e49[_0xe1215c(0x1cb)]='inner',_0x3f6e49[_0xe1215c(0x267)]=_0xe1215c(0x34c),_0x3f6e49[_0xe1215c(0x34a)]=_0xe1215c(0x2e4),_0x3f6e49[_0xe1215c(0x2c6)]=_0xe1215c(0x2d8),_0x3f6e49[_0xe1215c(0x354)]='left',_0x3f6e49[_0xe1215c(0x2b5)]='right',_0x3f6e49[_0xe1215c(0x2b4)]=_0xe1215c(0x1aa),_0x3f6e49[_0xe1215c(0x318)]=_0xe1215c(0x2a0),_0x3f6e49[_0xe1215c(0x1b7)]=_0xe1215c(0x178),_0x3f6e49;}({}),_0x1e1ffd={'color':{'rgb':_0x2122c9(0x1c1)},'width':{'v':0x1}},_0x2c9431={'color':{'rgb':'transparent'},'width':{'v':0x0}};function _0x1dd68e(_0x16b288){const _0x348907=_0x2122c9;var _0x23f1d7;let _0x1da04f=_0x27cc88(_0x16b288[_0x348907(0x207)],{'cloneBody':!0x1,'tableIds':[_0x16b288['tableId']]}),_0x53a08d=(_0x23f1d7=_0x1da04f[_0x348907(0x1f4)])==null?void 0x0:_0x23f1d7[_0x16b288[_0x348907(0x350)]];if(!_0x53a08d)throw Error(_0x348907(0x36e)+_0x16b288[_0x348907(0x350)]+'\x20is\x20not\x20found.');let _0x32287f=_0x6c7feb(_0x16b288),_0x1799f2=_0x16b288[_0x348907(0x2af)]??_0x1e1ffd;for(let _0x112015=_0x32287f['startRow'];_0x112015<=_0x32287f[_0x348907(0x25a)];_0x112015++)for(let _0x258186=_0x32287f[_0x348907(0x320)];_0x258186<=_0x32287f[_0x348907(0x30e)];_0x258186++){var _0x37202b;let _0x827b4f=(_0x37202b=_0x53a08d['tableRows'][_0x112015])==null?void 0x0:_0x37202b[_0x348907(0x217)][_0x258186];if(!_0x827b4f)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x827b4f[_0x348907(0x265)]=_0x5adc1a(_0x16b288[_0x348907(0x239)],_0x112015,_0x32287f)?_0x1799f2:_0x2c9431,_0x827b4f[_0x348907(0x2f7)]=_0x2ca3a3(_0x16b288[_0x348907(0x239)],_0x112015,_0x32287f)?_0x1799f2:_0x2c9431,_0x827b4f[_0x348907(0x2fb)]=_0x2eb8ec(_0x16b288['preset'],_0x258186,_0x32287f)?_0x1799f2:_0x2c9431,_0x827b4f['borderRight']=_0xeba4f6(_0x16b288[_0x348907(0x239)],_0x258186,_0x32287f)?_0x1799f2:_0x2c9431;}return _0x1b7dcd(_0x53a08d,_0x32287f,{'top':_0x5adc1a(_0x16b288[_0x348907(0x239)],_0x32287f['startRow'],_0x32287f)?_0x1799f2:_0x2c9431,'left':_0x2eb8ec(_0x16b288[_0x348907(0x239)],_0x32287f['startColumn'],_0x32287f)?_0x1799f2:_0x2c9431}),{'nextDocumentData':_0x1da04f};}function _0xbf599a(_0xa95dcd){const _0x5dc3ea=_0x2122c9;var _0x364cc7;let _0x5c27ab=(_0x364cc7=_0xa95dcd['documentData'][_0x5dc3ea(0x1f4)])==null?void 0x0:_0x364cc7[_0xa95dcd[_0x5dc3ea(0x350)]];if(!_0x5c27ab)throw Error(_0x5dc3ea(0x36e)+_0xa95dcd[_0x5dc3ea(0x350)]+_0x5dc3ea(0x376));let _0xbec20e=_0x6c7feb(_0xa95dcd),_0x5d6cf3=_0xa95dcd['border']??_0x1e1ffd,_0x440015=[];for(let _0x1f905d=_0xbec20e[_0x5dc3ea(0x18a)];_0x1f905d<=_0xbec20e[_0x5dc3ea(0x25a)];_0x1f905d++)for(let _0x547777=_0xbec20e[_0x5dc3ea(0x320)];_0x547777<=_0xbec20e['endColumn'];_0x547777++){var _0x20c408;let _0x306b93=(_0x20c408=_0x5c27ab[_0x5dc3ea(0x184)][_0x1f905d])==null?void 0x0:_0x20c408['tableCells'][_0x547777];if(!_0x306b93)throw Error(_0x5dc3ea(0x33f));_0x2297aa(_0x440015,_0x9f4571(_0xa95dcd[_0x5dc3ea(0x350)],_0x1f905d,_0x547777,'borderTop'),_0x306b93['borderTop'],_0x5adc1a(_0xa95dcd[_0x5dc3ea(0x239)],_0x1f905d,_0xbec20e)?_0x5d6cf3:_0x2c9431),_0x2297aa(_0x440015,_0x9f4571(_0xa95dcd[_0x5dc3ea(0x350)],_0x1f905d,_0x547777,_0x5dc3ea(0x2f7)),_0x306b93[_0x5dc3ea(0x2f7)],_0x2ca3a3(_0xa95dcd['preset'],_0x1f905d,_0xbec20e)?_0x5d6cf3:_0x2c9431),_0x2297aa(_0x440015,_0x9f4571(_0xa95dcd['tableId'],_0x1f905d,_0x547777,'borderLeft'),_0x306b93['borderLeft'],_0x2eb8ec(_0xa95dcd[_0x5dc3ea(0x239)],_0x547777,_0xbec20e)?_0x5d6cf3:_0x2c9431),_0x2297aa(_0x440015,_0x9f4571(_0xa95dcd[_0x5dc3ea(0x350)],_0x1f905d,_0x547777,_0x5dc3ea(0x255)),_0x306b93[_0x5dc3ea(0x255)],_0xeba4f6(_0xa95dcd[_0x5dc3ea(0x239)],_0x547777,_0xbec20e)?_0x5d6cf3:_0x2c9431);}return _0x59993a(_0x440015,_0x5c27ab,_0xa95dcd[_0x5dc3ea(0x350)],_0xbec20e,{'top':_0x5adc1a(_0xa95dcd[_0x5dc3ea(0x239)],_0xbec20e[_0x5dc3ea(0x18a)],_0xbec20e)?_0x5d6cf3:_0x2c9431,'left':_0x2eb8ec(_0xa95dcd[_0x5dc3ea(0x239)],_0xbec20e[_0x5dc3ea(0x320)],_0xbec20e)?_0x5d6cf3:_0x2c9431}),_0x25e611(_0x440015);}function _0x4a1359(_0x423abe){const _0x1ede4e=_0x2122c9;var _0xf889b1;let _0x48e82a=_0x27cc88(_0x423abe[_0x1ede4e(0x207)],{'cloneBody':!0x1,'tableIds':[_0x423abe[_0x1ede4e(0x350)]]}),_0x31f979=(_0xf889b1=_0x48e82a[_0x1ede4e(0x1f4)])==null?void 0x0:_0xf889b1[_0x423abe[_0x1ede4e(0x350)]];if(!_0x31f979)throw Error(_0x1ede4e(0x36e)+_0x423abe['tableId']+_0x1ede4e(0x376));return _0x4d9592(_0x423abe,(_0x294446,_0x381bda)=>{const _0x19fc23=_0x1ede4e;var _0xfe16ea;let _0x52bd95=(_0xfe16ea=_0x31f979['tableRows'][_0x294446])==null?void 0x0:_0xfe16ea['tableCells'][_0x381bda];if(!_0x52bd95)throw Error(_0x19fc23(0x33f));_0x423abe[_0x19fc23(0x34f)]==null?delete _0x52bd95[_0x19fc23(0x36f)]:_0x52bd95[_0x19fc23(0x36f)]={'rgb':_0x423abe[_0x19fc23(0x34f)]};}),{'nextDocumentData':_0x48e82a};}function _0x17d39c(_0x588249){const _0x4b897b=_0x2122c9;var _0x54b934;let _0x1c3dc8=(_0x54b934=_0x588249[_0x4b897b(0x207)]['tableSource'])==null?void 0x0:_0x54b934[_0x588249[_0x4b897b(0x350)]];if(!_0x1c3dc8)throw Error(_0x4b897b(0x36e)+_0x588249['tableId']+_0x4b897b(0x376));let _0x3bf7be=[];return _0x4d9592(_0x588249,(_0x25a76d,_0x48cee3)=>{const _0x15a30b=_0x4b897b;var _0x4821a9;let _0x2ed568=(_0x4821a9=_0x1c3dc8[_0x15a30b(0x184)][_0x25a76d])==null?void 0x0:_0x4821a9[_0x15a30b(0x217)][_0x48cee3];if(!_0x2ed568)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x2297aa(_0x3bf7be,_0x9f4571(_0x588249[_0x15a30b(0x350)],_0x25a76d,_0x48cee3,_0x15a30b(0x265)),_0x2ed568[_0x15a30b(0x265)],_0x45cf1b(_0x2ed568[_0x15a30b(0x265)],_0x588249[_0x15a30b(0x2af)])),_0x2297aa(_0x3bf7be,_0x9f4571(_0x588249['tableId'],_0x25a76d,_0x48cee3,'borderBottom'),_0x2ed568[_0x15a30b(0x2f7)],_0x45cf1b(_0x2ed568[_0x15a30b(0x2f7)],_0x588249[_0x15a30b(0x2af)])),_0x2297aa(_0x3bf7be,_0x9f4571(_0x588249[_0x15a30b(0x350)],_0x25a76d,_0x48cee3,'borderLeft'),_0x2ed568['borderLeft'],_0x45cf1b(_0x2ed568[_0x15a30b(0x2fb)],_0x588249[_0x15a30b(0x2af)])),_0x2297aa(_0x3bf7be,_0x9f4571(_0x588249[_0x15a30b(0x350)],_0x25a76d,_0x48cee3,_0x15a30b(0x255)),_0x2ed568['borderRight'],_0x45cf1b(_0x2ed568[_0x15a30b(0x255)],_0x588249[_0x15a30b(0x2af)]));}),_0x59993a(_0x3bf7be,_0x1c3dc8,_0x588249[_0x4b897b(0x350)],_0x6c7feb(_0x588249),{'top':_0x588249[_0x4b897b(0x2af)],'left':_0x588249[_0x4b897b(0x2af)],'merge':!0x0}),_0x25e611(_0x3bf7be);}function _0x59993a(_0x1db9b8,_0x22d4e7,_0x41a976,_0xb1c55d,_0x4ba15c){const _0x355991=_0x2122c9;if(_0xb1c55d[_0x355991(0x18a)]>0x0){let _0x281cfc=_0x22d4e7[_0x355991(0x184)][_0xb1c55d[_0x355991(0x18a)]-0x1];for(let _0x5b780f=_0xb1c55d[_0x355991(0x320)];_0x5b780f<=_0xb1c55d[_0x355991(0x30e)];_0x5b780f++){let _0x49011d=_0x281cfc==null?void 0x0:_0x281cfc[_0x355991(0x217)][_0x5b780f];if(!_0x49011d)throw Error(_0x355991(0x33f));_0x2297aa(_0x1db9b8,_0x9f4571(_0x41a976,_0xb1c55d[_0x355991(0x18a)]-0x1,_0x5b780f,_0x355991(0x2f7)),_0x49011d[_0x355991(0x2f7)],_0x4ba15c['merge']?_0x45cf1b(_0x49011d[_0x355991(0x2f7)],_0x4ba15c[_0x355991(0x2e4)]):_0x4ba15c[_0x355991(0x2e4)]);}}if(_0xb1c55d[_0x355991(0x320)]>0x0)for(let _0x3468cc=_0xb1c55d[_0x355991(0x18a)];_0x3468cc<=_0xb1c55d[_0x355991(0x25a)];_0x3468cc++){var _0x249f50;let _0x23ee85=(_0x249f50=_0x22d4e7[_0x355991(0x184)][_0x3468cc])==null?void 0x0:_0x249f50[_0x355991(0x217)][_0xb1c55d['startColumn']-0x1];if(!_0x23ee85)throw Error(_0x355991(0x33f));_0x2297aa(_0x1db9b8,_0x9f4571(_0x41a976,_0x3468cc,_0xb1c55d[_0x355991(0x320)]-0x1,'borderRight'),_0x23ee85[_0x355991(0x255)],_0x4ba15c[_0x355991(0x27c)]?_0x45cf1b(_0x23ee85[_0x355991(0x255)],_0x4ba15c['left']):_0x4ba15c[_0x355991(0x334)]);}}function _0x9f4571(_0x91e657,_0x2d2cae,_0x575166,_0x3a9e40){const _0x347829=_0x2122c9;return[_0x347829(0x1f4),_0x91e657,_0x347829(0x184),_0x2d2cae,'tableCells',_0x575166,_0x3a9e40];}function _0x2297aa(_0x363d1c,_0x18866e,_0x2124f9,_0x2c5dc4){const _0xa0816e=_0x2122c9;if(JSON[_0xa0816e(0x19d)](_0x2124f9)===JSON[_0xa0816e(0x19d)](_0x2c5dc4))return;let _0x2d5154=_0x2e794e['JSONX'][_0xa0816e(0x170)]();_0x2124f9===void 0x0?_0x363d1c[_0xa0816e(0x2f9)](_0x2d5154[_0xa0816e(0x30c)](_0x18866e,_0x44e888(_0x2c5dc4))):_0x2c5dc4===void 0x0?_0x363d1c[_0xa0816e(0x2f9)](_0x2d5154['removeOp'](_0x18866e,_0x2124f9)):_0x363d1c['push'](_0x2d5154[_0xa0816e(0x1d5)](_0x18866e,_0x2124f9,_0x44e888(_0x2c5dc4)));}function _0x25e611(_0x4139e0){const _0x2a263e=_0x2122c9;return _0x4139e0['reduce']((_0x4cec3e,_0x54bc36)=>_0x2e794e[_0x2a263e(0x2fe)]['compose'](_0x4cec3e,_0x54bc36),null);}function _0x44e888(_0x4d9cb4){const _0x2b5b1f=_0x2122c9;return Array['isArray'](_0x4d9cb4)?_0x4d9cb4[_0x2b5b1f(0x37a)](_0x31357d=>_0x44e888(_0x31357d)):!_0x4d9cb4||typeof _0x4d9cb4!=_0x2b5b1f(0x185)?_0x4d9cb4:Object[_0x2b5b1f(0x2bb)](Object[_0x2b5b1f(0x29d)](_0x4d9cb4)['map'](([_0x21094b,_0x1c31a3])=>[_0x21094b,_0x44e888(_0x1c31a3)]));}function _0x5adc1a(_0x487a70,_0x525ce5,_0x8cd0c2){const _0x2078e7=_0x2122c9;return _0x487a70==='all'||_0x487a70===_0x2078e7(0x2e4)||_0x487a70===_0x2078e7(0x34c)&&_0x525ce5===_0x8cd0c2[_0x2078e7(0x18a)]||_0x487a70==='innerHorizontal'&&_0x525ce5>_0x8cd0c2['startRow']||_0x487a70===_0x2078e7(0x27a)&&_0x525ce5>_0x8cd0c2[_0x2078e7(0x18a)];}function _0x2ca3a3(_0x47f863,_0x44ac43,_0x4b9c91){const _0x3973ae=_0x2122c9;return _0x47f863===_0x3973ae(0x266)||_0x47f863===_0x3973ae(0x2d8)||_0x47f863===_0x3973ae(0x34c)&&_0x44ac43===_0x4b9c91[_0x3973ae(0x25a)];}function _0x2eb8ec(_0x38cf6f,_0x3c1138,_0x54bcb3){const _0x3c34a5=_0x2122c9;return _0x38cf6f==='all'||_0x38cf6f===_0x3c34a5(0x334)||_0x38cf6f==='outer'&&_0x3c1138===_0x54bcb3[_0x3c34a5(0x320)]||_0x38cf6f===_0x3c34a5(0x178)&&_0x3c1138>_0x54bcb3[_0x3c34a5(0x320)]||_0x38cf6f===_0x3c34a5(0x27a)&&_0x3c1138>_0x54bcb3[_0x3c34a5(0x320)];}function _0xeba4f6(_0xf4e779,_0x5dfc36,_0x161346){const _0x2295f9=_0x2122c9;return _0xf4e779===_0x2295f9(0x266)||_0xf4e779===_0x2295f9(0x378)||_0xf4e779==='outer'&&_0x5dfc36===_0x161346[_0x2295f9(0x30e)];}function _0x6c7feb(_0x3b1a){const _0x53b2cf=_0x2122c9;return{'startRow':Math[_0x53b2cf(0x183)](_0x3b1a['startRow'],_0x3b1a[_0x53b2cf(0x25a)]),'endRow':Math[_0x53b2cf(0x186)](_0x3b1a[_0x53b2cf(0x18a)],_0x3b1a[_0x53b2cf(0x25a)]),'startColumn':Math['min'](_0x3b1a[_0x53b2cf(0x320)],_0x3b1a[_0x53b2cf(0x30e)]),'endColumn':Math[_0x53b2cf(0x186)](_0x3b1a[_0x53b2cf(0x320)],_0x3b1a[_0x53b2cf(0x30e)])};}function _0x4d9592(_0x40799d,_0x425813){const _0x6d2337=_0x2122c9;let _0x8178e6=_0x6c7feb(_0x40799d);for(let _0x177ab9=_0x8178e6[_0x6d2337(0x18a)];_0x177ab9<=_0x8178e6[_0x6d2337(0x25a)];_0x177ab9++)for(let _0x46045f=_0x8178e6[_0x6d2337(0x320)];_0x46045f<=_0x8178e6['endColumn'];_0x46045f++)_0x425813(_0x177ab9,_0x46045f);}function _0x45cf1b(_0x15def2,_0x40efff){const _0xff1e91=_0x2122c9;let _0x23b127={'color':Object[_0xff1e91(0x16b)][_0xff1e91(0x201)][_0xff1e91(0x34e)](_0x40efff,'color')?_0x40efff[_0xff1e91(0x34f)]:(_0x15def2==null?void 0x0:_0x15def2[_0xff1e91(0x34f)])??_0x1e1ffd[_0xff1e91(0x34f)],'width':_0x40efff['width']??(_0x15def2==null?void 0x0:_0x15def2[_0xff1e91(0x192)])??_0x1e1ffd['width'],'dashStyle':_0x40efff['dashStyle']??(_0x15def2==null?void 0x0:_0x15def2['dashStyle'])};return _0x40efff['clearColor']&&delete _0x23b127[_0xff1e91(0x34f)],_0x23b127;}function _0x1b7dcd(_0x188752,_0x51ee51,_0x270e5e){const _0x5750d3=_0x2122c9;if(_0x51ee51[_0x5750d3(0x18a)]>0x0){let _0x143dff=_0x188752['tableRows'][_0x51ee51[_0x5750d3(0x18a)]-0x1];for(let _0x36c4a2=_0x51ee51[_0x5750d3(0x320)];_0x36c4a2<=_0x51ee51[_0x5750d3(0x30e)];_0x36c4a2++){let _0xa726e8=_0x143dff==null?void 0x0:_0x143dff[_0x5750d3(0x217)][_0x36c4a2];if(!_0xa726e8)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0xa726e8[_0x5750d3(0x2f7)]=_0x270e5e['merge']?_0x45cf1b(_0xa726e8[_0x5750d3(0x2f7)],_0x270e5e[_0x5750d3(0x2e4)]):_0x270e5e['top'];}}if(_0x51ee51[_0x5750d3(0x320)]>0x0)for(let _0x447be4=_0x51ee51[_0x5750d3(0x18a)];_0x447be4<=_0x51ee51[_0x5750d3(0x25a)];_0x447be4++){var _0x5353a2;let _0x5c25f8=(_0x5353a2=_0x188752['tableRows'][_0x447be4])==null?void 0x0:_0x5353a2[_0x5750d3(0x217)][_0x51ee51[_0x5750d3(0x320)]-0x1];if(!_0x5c25f8)throw Error(_0x5750d3(0x33f));_0x5c25f8['borderRight']=_0x270e5e[_0x5750d3(0x27c)]?_0x45cf1b(_0x5c25f8[_0x5750d3(0x255)],_0x270e5e['left']):_0x270e5e[_0x5750d3(0x334)];}}let _0x36c456={'id':_0x2122c9(0x17e),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x1c9c6b,_0xd95511)=>{const _0x5c1fcb=_0x2122c9;let _0x1f674d=(_0xd95511==null?void 0x0:_0xd95511[_0x5c1fcb(0x34f)])??(_0xd95511==null?void 0x0:_0xd95511[_0x5c1fcb(0x2d5)]);return _0x1f674d!==void 0x0&&_0x668e42(_0x1c9c6b,_0xd95511,_0x1f674d==null?{'clearColor':!0x0}:{'color':{'rgb':_0x1f674d}});}};async function _0x668e42(_0x4a2444,_0x40e499,_0x5c5b5c){const _0x4556aa=_0x2122c9;let _0x2588f3=_0x4a2444[_0x4556aa(0x1ac)](_0x2e794e['IUniverInstanceService']),_0x77aa03=_0x4a2444[_0x4556aa(0x1ac)](_0x2e794e[_0x4556aa(0x1c5)]),_0x41985b=_0x4a2444[_0x4556aa(0x1ac)](_0x2cb1d3),_0x37e44e=_0x2588f3[_0x4556aa(0x286)](_0x2e794e[_0x4556aa(0x262)][_0x4556aa(0x2dc)]),_0x1941fa=_0x41723e(_0x41985b),_0x1616c5=(_0x40e499==null?void 0x0:_0x40e499[_0x4556aa(0x350)])??(_0x1941fa==null?void 0x0:_0x1941fa[_0x4556aa(0x350)]),_0x1df9ad=_0x282710(_0x40e499,_0x1941fa);if(!_0x37e44e||!_0x1616c5||!_0x1df9ad)return!0x1;let _0x3508fa=_0x42335f(_0x40e499,_0x1941fa),_0x35dda5=_0x150440(_0x37e44e,_0x3508fa);if(!_0x35dda5)return!0x1;let _0x29615e=_0x17d39c({'documentData':_0x35dda5,'tableId':_0x1616c5,..._0x1df9ad,'border':_0x5c5b5c}),_0x1fd071=_0x4b81c6(_0x77aa03,_0x37e44e[_0x4556aa(0x168)](),_0x35dda5,_0x29615e,{'tableId':_0x1616c5,'segmentId':_0x3508fa,..._0x1df9ad});return _0x1fd071&&_0x41985b[_0x4556aa(0x1e8)]({'kind':(_0x1941fa==null?void 0x0:_0x1941fa[_0x4556aa(0x2ab)])??_0x4556aa(0x338),'tableId':_0x1616c5,'segmentId':_0x3508fa,..._0x1df9ad}),_0x1fd071;}let _0x47e525={'id':_0x2122c9(0x191),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x4f45bb,_0x14955e)=>{const _0x3a1261=_0x2122c9;let _0x292b72=(_0x14955e==null?void 0x0:_0x14955e[_0x3a1261(0x2d6)])??(_0x14955e==null?void 0x0:_0x14955e[_0x3a1261(0x2d5)]);return _0x292b72!=null&&_0x668e42(_0x4f45bb,_0x14955e,{'dashStyle':_0x4049a9(_0x292b72)});}};function _0x4049a9(_0x3cb344){const _0x480329=_0x2122c9;return typeof _0x3cb344==_0x480329(0x1b0)?_0x3cb344:_0x3cb344===_0x480329(0x360)?_0x2e794e[_0x480329(0x1bd)][_0x480329(0x23c)]:_0x3cb344===_0x480329(0x26a)?_0x2e794e['DashStyleType']['DASH']:_0x2e794e[_0x480329(0x1bd)][_0x480329(0x1ae)];}let _0x3859bb={'id':'docs-table.command.set-table-border-width','type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0x5a78d1,_0x587037)=>{const _0x5707af=_0x2122c9;let _0x3ca2aa=(_0x587037==null?void 0x0:_0x587037[_0x5707af(0x192)])??(_0x587037==null?void 0x0:_0x587037[_0x5707af(0x2d5)]);return _0x3ca2aa!=null&&_0x668e42(_0x5a78d1,_0x587037,{'width':{'v':_0x3ca2aa}});}},_0x17156b={'id':_0x2122c9(0x1e5),'type':_0x2e794e[_0x2122c9(0x22d)]['COMMAND'],'handler':async(_0x24253f,_0x524e95)=>{const _0x4efeae=_0x2122c9;if(!_0x524e95)return!0x1;let _0x3717d2=_0x24253f[_0x4efeae(0x1ac)](_0x2e794e['IUniverInstanceService']),_0xbf2ed4=_0x24253f[_0x4efeae(0x1ac)](_0x2e794e[_0x4efeae(0x1c5)]),_0x111d82=_0x24253f[_0x4efeae(0x1ac)](_0x2cb1d3),_0x58d83f=_0x3717d2['getCurrentUnitOfType'](_0x2e794e[_0x4efeae(0x262)][_0x4efeae(0x2dc)]),_0x48e0fa=_0x41723e(_0x111d82),_0x555cd2=_0x524e95[_0x4efeae(0x350)]??(_0x48e0fa==null?void 0x0:_0x48e0fa[_0x4efeae(0x350)]),_0xc9ed90=_0x282710(_0x524e95,_0x48e0fa);if(!_0x58d83f||!_0x555cd2||!_0xc9ed90)return!0x1;let _0x3ea9a6=_0x42335f(_0x524e95,_0x48e0fa),_0x1ba43a=_0x150440(_0x58d83f,_0x3ea9a6);if(!_0x1ba43a)return!0x1;let _0x3d722d=_0xbf599a({'documentData':_0x1ba43a,'tableId':_0x555cd2,..._0xc9ed90,'preset':_0x524e95[_0x4efeae(0x239)],'border':_0x524e95[_0x4efeae(0x2af)]}),_0x55dab2=_0x4b81c6(_0xbf2ed4,_0x58d83f[_0x4efeae(0x168)](),_0x1ba43a,_0x3d722d,{'tableId':_0x555cd2,'segmentId':_0x3ea9a6,..._0xc9ed90});return _0x55dab2&&_0x111d82[_0x4efeae(0x1e8)]({'kind':(_0x48e0fa==null?void 0x0:_0x48e0fa[_0x4efeae(0x2ab)])??'range','tableId':_0x555cd2,'segmentId':_0x3ea9a6,..._0xc9ed90}),_0x55dab2;}},_0x4d0ee0={'id':_0x2122c9(0x1ab),'type':_0x2e794e[_0x2122c9(0x22d)]['COMMAND'],'handler':async(_0xf4c00c,_0x40a635)=>{const _0x22965b=_0x2122c9;let _0x25d942=_0x40a635==null?void 0x0:_0x40a635[_0x22965b(0x2d5)];if(_0x25d942==null)return!0x1;let _0x116cbf=_0xf4c00c[_0x22965b(0x1ac)](_0x2e794e[_0x22965b(0x325)]),_0x526128=_0xf4c00c['get'](_0x2e794e[_0x22965b(0x1c5)]),_0x4b28a4=_0xf4c00c[_0x22965b(0x1ac)](_0x2cb1d3),_0x42ae71=_0x116cbf[_0x22965b(0x286)](_0x2e794e[_0x22965b(0x262)][_0x22965b(0x2dc)]),_0x42d0d5=_0x297b34(_0x4b28a4),_0x2f4ca4=(_0x40a635==null?void 0x0:_0x40a635[_0x22965b(0x350)])??(_0x42d0d5==null?void 0x0:_0x42d0d5['tableId']),_0x238920=_0x282710(_0x40a635,_0x42d0d5);if(!_0x42ae71||!_0x2f4ca4||!_0x238920)return!0x1;let _0x260332=_0x42335f(_0x40a635,_0x42d0d5),_0x23100a=_0x150440(_0x42ae71,_0x260332);if(!_0x23100a||!_0x3623a4(_0x23100a,_0x2f4ca4,_0x238920))return!0x1;let _0x187698=_0x6c97a1(_0x23100a,{'tableId':_0x2f4ca4,..._0x238920,'value':_0x25d942}),_0x16ae85=_0x4b81c6(_0x526128,_0x42ae71['getUnitId'](),_0x23100a,_0x187698,{'tableId':_0x2f4ca4,'segmentId':_0x260332,..._0x238920});return _0x16ae85&&_0x4b28a4['setStructuralSelection']({'kind':(_0x42d0d5==null?void 0x0:_0x42d0d5[_0x22965b(0x2ab)])??_0x22965b(0x338),'tableId':_0x2f4ca4,'segmentId':_0x260332,..._0x238920}),_0x16ae85;}};function _0x297b34(_0x1a2b0b){const _0x54fb0f=_0x2122c9;var _0x5ea094;return((_0x5ea094=_0x1a2b0b['getStableTableSelection'])==null?void 0x0:_0x5ea094[_0x54fb0f(0x34e)](_0x1a2b0b))??_0x1a2b0b[_0x54fb0f(0x15f)]();}function _0x3623a4(_0x3589c7,_0x56e25a,_0x107c63){const _0x3a02e4=_0x2122c9;var _0x2c6234;let _0x15dc26=(_0x2c6234=_0x3589c7['tableSource'])==null?void 0x0:_0x2c6234[_0x56e25a];if(!_0x15dc26)return!0x1;let _0x4c1d6c=_0x3bf609(_0x107c63);for(let _0x288b87=_0x4c1d6c[_0x3a02e4(0x18a)];_0x288b87<=_0x4c1d6c[_0x3a02e4(0x25a)];_0x288b87++)for(let _0x5f1837=_0x4c1d6c[_0x3a02e4(0x320)];_0x5f1837<=_0x4c1d6c[_0x3a02e4(0x30e)];_0x5f1837++){var _0x59dd59;if(!((_0x59dd59=_0x15dc26[_0x3a02e4(0x184)][_0x288b87])!=null&&_0x59dd59[_0x3a02e4(0x217)][_0x5f1837]))return!0x1;}return!0x0;}function _0x6c97a1(_0x361680,_0x4c0b58){const _0x427dd4=_0x2122c9;var _0xd796d4;let _0x1d507f=(_0xd796d4=_0x361680['tableSource'])==null?void 0x0:_0xd796d4[_0x4c0b58[_0x427dd4(0x350)]];if(!_0x1d507f)return null;let _0x73ac06=_0x2e794e[_0x427dd4(0x2fe)]['getInstance'](),_0x52dd04=_0x3bf609(_0x4c0b58),_0x4e5b00=[];for(let _0x3dc8be=_0x52dd04[_0x427dd4(0x18a)];_0x3dc8be<=_0x52dd04[_0x427dd4(0x25a)];_0x3dc8be++)for(let _0x3533dd=_0x52dd04[_0x427dd4(0x320)];_0x3533dd<=_0x52dd04[_0x427dd4(0x30e)];_0x3533dd++){var _0x5bde3b;let _0x2c5e3d=(_0x5bde3b=_0x1d507f['tableRows'][_0x3dc8be])==null?void 0x0:_0x5bde3b[_0x427dd4(0x217)][_0x3533dd];if(!_0x2c5e3d)return null;_0x2c5e3d[_0x427dd4(0x162)]!==_0x4c0b58[_0x427dd4(0x2d5)]&&_0x4e5b00[_0x427dd4(0x2f9)](_0x2c5e3d[_0x427dd4(0x162)]===void 0x0?_0x73ac06['insertOp'](['tableSource',_0x4c0b58['tableId'],_0x427dd4(0x184),_0x3dc8be,_0x427dd4(0x217),_0x3533dd,_0x427dd4(0x162)],_0x4c0b58['value']):_0x73ac06[_0x427dd4(0x1d5)]([_0x427dd4(0x1f4),_0x4c0b58[_0x427dd4(0x350)],_0x427dd4(0x184),_0x3dc8be,'tableCells',_0x3533dd,_0x427dd4(0x162)],_0x2c5e3d[_0x427dd4(0x162)],_0x4c0b58[_0x427dd4(0x2d5)]));}return _0x4e5b00[_0x427dd4(0x2fc)]((_0x3327ff,_0x703fb2)=>_0x2e794e[_0x427dd4(0x2fe)][_0x427dd4(0x319)](_0x3327ff,_0x703fb2),null);}function _0x3bf609(_0x3121b5){const _0x1453f9=_0x2122c9;return{'startRow':Math['min'](_0x3121b5[_0x1453f9(0x18a)],_0x3121b5[_0x1453f9(0x25a)]),'endRow':Math[_0x1453f9(0x186)](_0x3121b5[_0x1453f9(0x18a)],_0x3121b5[_0x1453f9(0x25a)]),'startColumn':Math[_0x1453f9(0x183)](_0x3121b5['startColumn'],_0x3121b5[_0x1453f9(0x30e)]),'endColumn':Math[_0x1453f9(0x186)](_0x3121b5[_0x1453f9(0x320)],_0x3121b5[_0x1453f9(0x30e)])};}let _0x861b1b={'id':_0x2122c9(0x2e2),'type':_0x2e794e['CommandType']['COMMAND'],'handler':async(_0x2e0572,_0x498426)=>{const _0x493cff=_0x2122c9;if(!_0x498426)return!0x1;let _0x269f36=_0x2e0572['get'](_0x2e794e['IUniverInstanceService']),_0x10f87e=_0x2e0572[_0x493cff(0x1ac)](_0x2e794e[_0x493cff(0x1c5)]),_0x537f74=_0x2e0572[_0x493cff(0x1ac)](_0x2cb1d3),_0x4b8f5d=_0x2e0572[_0x493cff(0x1ac)](_0x4e0e05),_0x37e246=_0x269f36[_0x493cff(0x286)](_0x2e794e['UniverInstanceType']['UNIVER_DOC']),_0x14cf9c=_0x537f74[_0x493cff(0x15f)](),_0x4a43fe=_0x498426[_0x493cff(0x350)]??(_0x14cf9c==null?void 0x0:_0x14cf9c[_0x493cff(0x350)]),_0x49da3c=_0x498426[_0x493cff(0x1b4)]??(_0x14cf9c==null?void 0x0:_0x14cf9c[_0x493cff(0x320)]);if(!_0x37e246||!_0x4a43fe||_0x49da3c==null)return!0x1;let _0x2b1cf4=_0x37e246['getSnapshot'](),_0xc28b23=_0x42335f(_0x498426,_0x14cf9c),_0x42892d=_0x150440(_0x37e246,_0xc28b23);if(!_0x42892d)return!0x1;let _0x4598a8=_0x44cc4d(_0x42892d,_0x2001a8(_0x37e246[_0x493cff(0x2e5)](),_0x4b8f5d[_0x493cff(0x2d0)](_0x37e246[_0x493cff(0x168)]())),_0x4a43fe,_0x49da3c,_0x498426[_0x493cff(0x252)],_0x35dd41(_0x2b1cf4,_0xc28b23));return _0x4b81c6(_0x10f87e,_0x37e246['getUnitId'](),_0x42892d,_0x4598a8);}},_0x47ed02={'id':_0x2122c9(0x176),'type':_0x2e794e[_0x2122c9(0x22d)][_0x2122c9(0x295)],'handler':async(_0xbd00b,_0x2dd7e5)=>{const _0x44124a=_0x2122c9;let _0x25d498=_0xbd00b['get'](_0x2e794e['IUniverInstanceService']),_0x4dc1ea=_0xbd00b[_0x44124a(0x1ac)](_0x2e794e[_0x44124a(0x1c5)]),_0x5a1e40=_0xbd00b[_0x44124a(0x1ac)](_0x2cb1d3),_0x100c46=_0x25d498[_0x44124a(0x286)](_0x2e794e[_0x44124a(0x262)][_0x44124a(0x2dc)]),_0x417b90=_0x5a1e40['getStableTableSelection'](),_0x10a12d=(_0x2dd7e5==null?void 0x0:_0x2dd7e5[_0x44124a(0x350)])??(_0x417b90==null?void 0x0:_0x417b90[_0x44124a(0x350)]),_0x28b6b1=_0x282710(_0x2dd7e5,_0x417b90);if(!_0x100c46||!_0x10a12d||!_0x28b6b1)return!0x1;let _0xf1ebe3=_0x42335f(_0x2dd7e5,_0x417b90),_0x5bd33d=_0x150440(_0x100c46,_0xf1ebe3);if(!_0x5bd33d||!_0x29dba7(_0x5bd33d,_0x10a12d,_0x28b6b1))return!0x1;let _0x1926a1=_0x555504({'documentData':_0x5bd33d,'tableId':_0x10a12d,..._0x28b6b1});if(!_0x1926a1)return!0x1;let _0x2ed667=_0x4b81c6(_0x4dc1ea,_0x100c46['getUnitId'](),_0x5bd33d,_0x1926a1[_0x44124a(0x22a)],{'tableId':_0x10a12d,'segmentId':_0xf1ebe3,..._0x1926a1[_0x44124a(0x338)]});return _0x2ed667&&_0x5a1e40[_0x44124a(0x1e8)]({'kind':_0x44124a(0x338),'tableId':_0x10a12d,'segmentId':_0xf1ebe3,..._0x1926a1['range']}),_0x2ed667;}};function _0x560c1e(_0x5419bc){const _0xeda603=_0x2122c9;let _0x472583=new DOMParser()['parseFromString'](_0x5419bc,_0xeda603(0x1fb));return Array[_0xeda603(0x20c)](_0x472583[_0xeda603(0x348)](_0xeda603(0x340)))[_0xeda603(0x37a)](_0x4d5ebc=>_0x47ab13(_0x4d5ebc));}function _0x258144(_0x20b255){const _0x2e1523=_0x2122c9;if(!_0x20b255['includes']('\x09'))return null;let _0x179c6b=_0x20b255['split'](/\r\n|\r|\n/);return _0x179c6b[_0x179c6b[_0x2e1523(0x1d0)]-0x1]===''&&_0x179c6b[_0x2e1523(0x35c)](),_0x179c6b[_0x2e1523(0x1d0)]===0x0?null:_0x2e1523(0x2dd)+_0x179c6b[_0x2e1523(0x37a)](_0x196ee8=>_0x2e1523(0x31b)+_0x196ee8['split']('\x09')[_0x2e1523(0x37a)](_0x28314b=>_0x2e1523(0x16f)+_0xc7b132(_0x28314b)+_0x2e1523(0x347))[_0x2e1523(0x220)]('')+_0x2e1523(0x1a0))[_0x2e1523(0x220)]('')+'</tbody></table>';}function _0xe4a053(_0x138d7f){const _0x1612f6=_0x2122c9;var _0x4d986d,_0x33586f;let _0x4b0d8c=(_0x4d986d=_0x138d7f[_0x1612f6(0x207)][_0x1612f6(0x1f4)])==null?void 0x0:_0x4d986d[_0x138d7f[_0x1612f6(0x350)]];if(!_0x4b0d8c)throw Error(_0x1612f6(0x36e)+_0x138d7f[_0x1612f6(0x350)]+_0x1612f6(0x376));let _0x1c9d89=_0x515b3f(_0x138d7f),_0x8c6203=_0x138d7f[_0x1612f6(0x207)],_0x3ce235=_0x138d7f['tableId'];_0x1c9d89['endRow']<_0x4b0d8c['tableRows']['length']-0x1&&(_0x8c6203=_0x408c63({'documentData':_0x8c6203,'tableId':_0x3ce235,'startRow':_0x1c9d89[_0x1612f6(0x25a)]+0x1,'endRow':_0x4b0d8c['tableRows']['length']-0x1})[_0x1612f6(0x225)]),_0x1c9d89[_0x1612f6(0x18a)]>0x0&&(_0x8c6203=_0x408c63({'documentData':_0x8c6203,'tableId':_0x3ce235,'startRow':0x0,'endRow':_0x1c9d89[_0x1612f6(0x18a)]-0x1})[_0x1612f6(0x225)]),_0x1c9d89['endColumn']<_0x4b0d8c['tableColumns']['length']-0x1&&(_0x8c6203=_0x7f4873({'documentData':_0x8c6203,'tableId':_0x3ce235,'startColumn':_0x1c9d89['endColumn']+0x1,'endColumn':_0x4b0d8c[_0x1612f6(0x355)][_0x1612f6(0x1d0)]-0x1})[_0x1612f6(0x225)]),_0x1c9d89[_0x1612f6(0x320)]>0x0&&(_0x8c6203=_0x7f4873({'documentData':_0x8c6203,'tableId':_0x3ce235,'startColumn':0x0,'endColumn':_0x1c9d89[_0x1612f6(0x320)]-0x1})[_0x1612f6(0x225)]);let _0x35290b=(_0x33586f=_0x8c6203[_0x1612f6(0x181)])==null||(_0x33586f=_0x33586f[_0x1612f6(0x1a3)])==null?void 0x0:_0x33586f['find'](_0x54f98f=>_0x54f98f[_0x1612f6(0x350)]===_0x3ce235);if(!_0x35290b||!_0x8c6203[_0x1612f6(0x181)])throw Error(_0x1612f6(0x36e)+_0x3ce235+_0x1612f6(0x228));let _0x23150c=(0x0,_0x2e794e[_0x1612f6(0x243)])(_0x8c6203['body'],_0x35290b[_0x1612f6(0x1d1)],_0x35290b[_0x1612f6(0x19f)],!0x1,_0x2e794e['SliceBodyType'][_0x1612f6(0x2f1)]);return{..._0x8c6203,'body':_0x23150c,'tableSource':Object[_0x1612f6(0x2bb)]((_0x23150c[_0x1612f6(0x1a3)]??[])[_0x1612f6(0x37a)](_0x4fdbcc=>[_0x4fdbcc[_0x1612f6(0x350)],_0x8c6203[_0x1612f6(0x1f4)][_0x4fdbcc[_0x1612f6(0x350)]]]))};}function _0x481d67(_0x57071a){const _0x5c9c2a=_0x2122c9;var _0x10513e;let _0x402707=_0x16cada(_0x57071a[_0x5c9c2a(0x207)],_0x57071a[_0x5c9c2a(0x350)]),_0x2f8cf3=(_0x10513e=_0x57071a[_0x5c9c2a(0x207)][_0x5c9c2a(0x181)])==null?void 0x0:_0x10513e['dataStream'];if(!_0x402707||!_0x2f8cf3)throw Error(_0x5c9c2a(0x36e)+_0x57071a[_0x5c9c2a(0x350)]+_0x5c9c2a(0x376));let _0x5a0918=_0x515b3f(_0x57071a),_0x5ab02f=[];for(let _0x1dc65e=_0x5a0918[_0x5c9c2a(0x18a)];_0x1dc65e<=_0x5a0918[_0x5c9c2a(0x25a)];_0x1dc65e++){let _0x3cd451=[];for(let _0x202ecb=_0x5a0918[_0x5c9c2a(0x320)];_0x202ecb<=_0x5a0918['endColumn'];_0x202ecb++){var _0x19938b;let _0x1a5301=(_0x19938b=_0x402707[_0x5c9c2a(0x21b)][_0x1dc65e])==null?void 0x0:_0x19938b[_0x5c9c2a(0x2bc)][_0x202ecb];_0x3cd451[_0x5c9c2a(0x2f9)](_0x1a5301?_0x2ba2ce(_0x2f8cf3,_0x1a5301['startOffset'],_0x1a5301['endOffset']):'');}_0x5ab02f[_0x5c9c2a(0x2f9)](_0x3cd451);}return _0x5ab02f[_0x5c9c2a(0x37a)](_0x186382=>_0x186382[_0x5c9c2a(0x220)]('\x09'))[_0x5c9c2a(0x220)]('\x0a');}function _0x139940(_0x2bcbda,_0x4f33b1=[_0x2122c9(0x181)]){const _0x531db7=_0x2122c9;var _0x2c2e27;let _0x36b150=_0x16cada(_0x2bcbda[_0x531db7(0x207)],_0x2bcbda['tableId']);if(!_0x36b150||!((_0x2c2e27=_0x2bcbda['documentData'][_0x531db7(0x181)])!=null&&_0x2c2e27[_0x531db7(0x245)]))throw Error(_0x531db7(0x36e)+_0x2bcbda[_0x531db7(0x350)]+_0x531db7(0x376));let _0x843915=_0x2bcbda[_0x531db7(0x329)]['split'](/\r\n|\r|\n/)[_0x531db7(0x37a)](_0x5bb5e6=>_0x5bb5e6[_0x531db7(0x244)]('\x09')),_0x1ff8b8=[];for(let _0x73dd9=0x0;_0x73dd9<_0x843915[_0x531db7(0x1d0)];_0x73dd9++)for(let _0x302b02=0x0;_0x302b02<_0x843915[_0x73dd9]['length'];_0x302b02++){var _0x2ed8ee;let _0x5bd7a3=(_0x2ed8ee=_0x36b150['rows'][_0x2bcbda[_0x531db7(0x18a)]+_0x73dd9])==null?void 0x0:_0x2ed8ee[_0x531db7(0x2bc)][_0x2bcbda[_0x531db7(0x320)]+_0x302b02];_0x5bd7a3&&_0x1ff8b8['push']({'startOffset':_0x5bd7a3['startOffset']+0x1,'endOffset':_0x5bd7a3[_0x531db7(0x29b)],'text':_0x843915[_0x73dd9][_0x302b02]+'\x0d\x0a'});}return _0x5cc27b(_0x2bcbda[_0x531db7(0x207)],_0x1ff8b8,_0x4f33b1);}function _0x20d0f4(_0x511c10){const _0x52c229=_0x2122c9;let _0x5bae1f=new DOMParser()['parseFromString'](_0x511c10,_0x52c229(0x1fb))['querySelector'](_0x52c229(0x340));return _0x5bae1f?_0x47ab13(_0x5bae1f):{'rows':[],'columnWidths':[]};}function _0x47ab13(_0x1ea178){const _0x457599=_0x2122c9;let _0x9ca5ed=Array[_0x457599(0x20c)](_0x1ea178[_0x457599(0x348)](_0x457599(0x2b8)))[_0x457599(0x37a)](_0x5ab5d1=>_0x13b886(_0x5ab5d1['getAttribute'](_0x457599(0x192)),_0x5ab5d1['getAttribute'](_0x457599(0x2e6)),_0x457599(0x192))),_0x1380aa=[],_0x170116=new Map();Array[_0x457599(0x20c)](_0x1ea178[_0x457599(0x348)]('tr'))[_0x457599(0x20d)]((_0x53b779,_0x39dbe5)=>{const _0x806eca=_0x457599;let _0x2e249c={'cells':[],'height':_0x13b886(_0x53b779[_0x806eca(0x236)](_0x806eca(0x24d)),_0x53b779[_0x806eca(0x236)](_0x806eca(0x2e6)),_0x806eca(0x24d))},_0x250715=0x0;for(Array['from'](_0x53b779[_0x806eca(0x37e)])[_0x806eca(0x24e)](_0x35fd67=>_0x35fd67[_0x806eca(0x2c5)][_0x806eca(0x270)]()==='td'||_0x35fd67[_0x806eca(0x2c5)]['toLowerCase']()==='th')[_0x806eca(0x20d)](_0x237667=>{const _0x1e35f2=_0x806eca;for(;_0x170116['has'](_0x39dbe5+':'+_0x250715);)_0x2e249c['cells'][_0x250715]=null,_0x250715++;let _0x251bf4=Math['max'](0x1,Number(_0x237667[_0x1e35f2(0x236)](_0x1e35f2(0x356))??0x1)),_0x57ccb0=Math[_0x1e35f2(0x186)](0x1,Number(_0x237667[_0x1e35f2(0x236)]('colspan')??0x1)),_0x2a6927=_0x237667[_0x1e35f2(0x236)](_0x1e35f2(0x2e6))??'';_0x2e249c[_0x1e35f2(0x2bc)][_0x250715]={'html':_0x237667['innerHTML'],'text':_0x199d48(_0x237667[_0x1e35f2(0x1c8)]??''),'rowSpan':_0x251bf4,'colSpan':_0x57ccb0,'backgroundColor':_0x323d3a(_0x2a6927,_0x1e35f2(0x28c))??_0x323d3a(_0x2a6927,_0x1e35f2(0x227)),'borderColor':_0x59aa90(_0x2a6927),'borderWidth':_0x1a6b35(_0x2a6927)};let _0x11b7bc=_0x13b886(_0x237667[_0x1e35f2(0x236)]('width'),_0x2a6927,_0x1e35f2(0x192));_0x11b7bc!=null&&_0x9ca5ed[_0x250715]==null&&(_0x9ca5ed[_0x250715]=_0x11b7bc);for(let _0x14ce10=0x0;_0x14ce10<_0x251bf4;_0x14ce10++)for(let _0x575a39=0x0;_0x575a39<_0x57ccb0;_0x575a39++)(_0x14ce10!==0x0||_0x575a39!==0x0)&&_0x170116['set'](_0x39dbe5+_0x14ce10+':'+(_0x250715+_0x575a39),!0x0);for(let _0x51697a=0x1;_0x51697a<_0x57ccb0;_0x51697a++)_0x2e249c['cells'][_0x250715+_0x51697a]=null;_0x250715+=_0x57ccb0;});_0x2e249c[_0x806eca(0x2bc)][_0x806eca(0x1d0)]<_0x9ca5ed[_0x806eca(0x1d0)];)_0x2e249c[_0x806eca(0x2bc)]['push'](null);_0x1380aa[_0x806eca(0x2f9)](_0x2e249c);});let _0x114314=Math[_0x457599(0x186)](_0x9ca5ed[_0x457599(0x1d0)],..._0x1380aa[_0x457599(0x37a)](_0x551c00=>_0x551c00[_0x457599(0x2bc)][_0x457599(0x1d0)]));for(;_0x9ca5ed[_0x457599(0x1d0)]<_0x114314;)_0x9ca5ed[_0x457599(0x2f9)](void 0x0);return _0x1380aa[_0x457599(0x20d)](_0x38950c=>{const _0x10bbc5=_0x457599;for(;_0x38950c[_0x10bbc5(0x2bc)]['length']<_0x114314;)_0x38950c['cells']['push'](null);}),{'columnWidths':_0x9ca5ed,'rows':_0x1380aa};}function _0x515b3f(_0x1e1c5f){const _0x2a87db=_0x2122c9;return{'startRow':Math['min'](_0x1e1c5f[_0x2a87db(0x18a)],_0x1e1c5f[_0x2a87db(0x25a)]),'endRow':Math['max'](_0x1e1c5f[_0x2a87db(0x18a)],_0x1e1c5f[_0x2a87db(0x25a)]),'startColumn':Math[_0x2a87db(0x183)](_0x1e1c5f['startColumn'],_0x1e1c5f[_0x2a87db(0x30e)]),'endColumn':Math[_0x2a87db(0x186)](_0x1e1c5f['startColumn'],_0x1e1c5f['endColumn'])};}function _0x2ba2ce(_0x32180c,_0xbd410b,_0x3fb4df){const _0x3a2e3d=_0x2122c9;return _0x32180c[_0x3a2e3d(0x344)](_0xbd410b+0x1,_0x3fb4df)['replace'](/\r/g,'\x0a')[_0x3a2e3d(0x26e)](/[\x00-\x08\v\f\x0E-\x1F]/g,'')[_0x3a2e3d(0x26e)](/\n+$/,'');}function _0x199d48(_0xe9a64){const _0x2359e4=_0x2122c9;return _0xe9a64[_0x2359e4(0x26e)](/\u00A0/g,'\x20')[_0x2359e4(0x26e)](/\s+/g,'\x20')[_0x2359e4(0x327)]();}function _0x13b886(_0x33d0b6,_0x230591,_0x4244db){const _0x42f6ae=_0x2122c9;let _0x286d2a=_0x230591==null?void 0x0:_0x230591['match'](RegExp(_0x4244db+_0x42f6ae(0x345),'i'));if(_0x286d2a)return _0xc551e5(Number(_0x286d2a[0x1]),_0x286d2a[0x2]);if(!_0x33d0b6)return;let _0x5e2faf=_0x33d0b6[_0x42f6ae(0x18d)](/([0-9.]+)\s*(px|pt|in|cm|mm)?/i);return _0x5e2faf?_0xc551e5(Number(_0x5e2faf[0x1]),_0x5e2faf[0x2]):void 0x0;}function _0x323d3a(_0x555bd1,_0x310ef7){const _0x5bc5ec=_0x2122c9;var _0x50d9c4;let _0x140953=_0x555bd1[_0x5bc5ec(0x18d)](RegExp(_0x310ef7+_0x5bc5ec(0x2b6),'i'));return _0x140953==null||(_0x50d9c4=_0x140953[0x1])==null?void 0x0:_0x50d9c4[_0x5bc5ec(0x327)]();}function _0x256372(_0x3f2790){const _0x26f2fa=_0x2122c9;var _0x3c169d;return(_0x3c169d=_0x3f2790[_0x26f2fa(0x244)](';')[_0x26f2fa(0x37a)](_0x367248=>_0x367248[_0x26f2fa(0x327)]())['find'](_0x4fadad=>/^border(?:-[a-z]+)?\s*:/i[_0x26f2fa(0x17a)](_0x4fadad)))==null?void 0x0:_0x3c169d[_0x26f2fa(0x26e)](/^border(?:-[a-z]+)?\s*:\s*/i,'')[_0x26f2fa(0x327)]();}function _0x59aa90(_0x275327){const _0x582c35=_0x2122c9;var _0x14c572;let _0x54bb12=_0x323d3a(_0x275327,_0x582c35(0x1e0));if(_0x54bb12)return _0x54bb12;let _0x3b4476=_0x256372(_0x275327);return(_0x3b4476==null||(_0x14c572=_0x3b4476[_0x582c35(0x18d)](/#[0-9a-f]{3,8}|rgb\([^)]+\)/i))==null?void 0x0:_0x14c572[0x0])||(_0x3b4476==null?void 0x0:_0x3b4476[_0x582c35(0x244)](/\s+/)[_0x582c35(0x2d7)](_0x5b74c9=>/^[a-z]+$/i[_0x582c35(0x17a)](_0x5b74c9)&&![_0x582c35(0x188),_0x582c35(0x17d),'dotted','double',_0x582c35(0x1aa)][_0x582c35(0x211)](_0x5b74c9[_0x582c35(0x270)]())));}function _0x1a6b35(_0x14ac0d){const _0x109715=_0x2122c9;var _0x5a9d7b;let _0x40d942=_0x13b886(null,_0x323d3a(_0x14ac0d,_0x109715(0x306))??null,_0x109715(0x192));if(_0x40d942!=null)return _0x40d942;let _0x2fed15=(_0x5a9d7b=_0x256372(_0x14ac0d))==null?void 0x0:_0x5a9d7b[_0x109715(0x18d)](/([0-9.]+)\s*(px|pt|in|cm|mm)/i);return _0x2fed15?_0xc551e5(Number(_0x2fed15[0x1]),_0x2fed15[0x2]):void 0x0;}function _0xc551e5(_0x7e5412,_0xe10c49){const _0x4cb724=_0x2122c9;switch(_0xe10c49==null?void 0x0:_0xe10c49[_0x4cb724(0x270)]()){case'pt':return _0x10caeb(_0x7e5412*0x4/0x3);case'in':return _0x10caeb(_0x7e5412*0x60);case'cm':return _0x10caeb(_0x7e5412*0x60/2.54);case'mm':return _0x10caeb(_0x7e5412*0x60/25.4);default:return _0x10caeb(_0x7e5412);}}function _0x10caeb(_0x383e96){const _0x23c342=_0x2122c9;return Math[_0x23c342(0x302)](_0x383e96*0x64)/0x64;}function _0xc7b132(_0x23ef9){const _0x23450c=_0x2122c9;return _0x23ef9['replace'](/&/g,_0x23450c(0x374))[_0x23450c(0x26e)](/</g,_0x23450c(0x1f6))['replace'](/>/g,_0x23450c(0x2ad))['replace'](/\r?\n/g,_0x23450c(0x22e));}let _0x178494=_0x2122c9(0x25f);var _0x4efb4a=_0x2122c9(0x234),_0x1e7c9b='1.3.0';let _0x487ace={'id':'docs-table.command.copy-selection','type':_0x2e794e[_0x2122c9(0x22d)]['COMMAND'],'handler':async(_0x5e51b9,_0x48644d)=>{const _0x37572c=_0x2122c9;let _0x37d5f2=_0x5e51b9[_0x37572c(0x1ac)](_0x2e794e[_0x37572c(0x325)]),_0x4ced74=_0x5e51b9['get'](_0x2cb1d3),_0x448c2c=_0x37d5f2[_0x37572c(0x286)](_0x2e794e[_0x37572c(0x262)][_0x37572c(0x2dc)]),_0x248e68=_0x4ced74[_0x37572c(0x15f)](),_0x13b93e=(_0x48644d==null?void 0x0:_0x48644d['tableId'])??(_0x248e68==null?void 0x0:_0x248e68[_0x37572c(0x350)]),_0x1cfb94=_0x282710(_0x48644d,_0x248e68);if(!_0x448c2c||!_0x13b93e||!_0x1cfb94)return!0x1;let _0x20d230=_0x150440(_0x448c2c,_0x42335f(_0x48644d,_0x248e68));return _0x20d230?_0x481d67({'documentData':_0x20d230,'tableId':_0x13b93e,..._0x1cfb94}):!0x1;}},_0x34716b={'id':_0x2122c9(0x25d),'type':_0x2e794e['CommandType'][_0x2122c9(0x295)],'handler':async(_0x33a63a,_0x487096)=>{const _0x59b133=_0x2122c9;if(!_0x487096)return!0x1;let _0x55e3f3=_0x33a63a[_0x59b133(0x1ac)](_0x2e794e[_0x59b133(0x325)]),_0x2a4e83=_0x33a63a[_0x59b133(0x1ac)](_0x2e794e[_0x59b133(0x1c5)]),_0x42b377=_0x33a63a[_0x59b133(0x1ac)](_0x2cb1d3),_0xc6ed34=_0x55e3f3[_0x59b133(0x286)](_0x2e794e['UniverInstanceType'][_0x59b133(0x2dc)]),_0x364653=_0x42b377['getCurrentSelection'](),_0x2a32be=_0x487096[_0x59b133(0x350)]??(_0x364653==null?void 0x0:_0x364653['tableId']),_0x1bffe2=_0x282710(_0x487096,_0x364653);if(!_0xc6ed34||!_0x2a32be||!_0x1bffe2)return!0x1;let _0x5df160=_0xc6ed34['getSnapshot'](),_0x5665a7=_0x42335f(_0x487096,_0x364653),_0x4648e3=_0x150440(_0xc6ed34,_0x5665a7);if(!_0x4648e3)return!0x1;let _0x3c93a8=_0x139940({'documentData':_0x4648e3,'tableId':_0x2a32be,..._0x1bffe2,'text':_0x487096[_0x59b133(0x329)]},_0x35dd41(_0x5df160,_0x5665a7));return _0x4b81c6(_0x2a4e83,_0xc6ed34[_0x59b133(0x168)](),_0x4648e3,_0x3c93a8,void 0x0,void 0x0,void 0x0,_0x3df5e7[_0x59b133(0x365)][_0x59b133(0x2ed)]);}},_0x55c0f4={},_0x27e022=class extends _0x2e794e['Disposable']{constructor(_0x4ecb45,_0x18fc61,_0x1ea90d){const _0x5ceec1=_0x2122c9;super(),this[_0x5ceec1(0x2f8)]=_0x4ecb45,this['_docsTableModel']=_0x18fc61,this[_0x5ceec1(0x1e7)]=_0x1ea90d,this[_0x5ceec1(0x1ce)]();}[_0x2122c9(0x1ce)](){const _0x3e8233=_0x2122c9;this[_0x3e8233(0x248)](this[_0x3e8233(0x2f8)][_0x3e8233(0x16d)]({'pluginName':_0x178494,'businesses':[_0x2e794e['UniverInstanceType'][_0x3e8233(0x2dc)]],'toJson':_0x22e25e=>{const _0x247d1f=_0x3e8233;let _0x313715=this[_0x247d1f(0x221)][_0x247d1f(0x2d0)](_0x22e25e),_0xf9419f=this[_0x247d1f(0x1e7)][_0x247d1f(0x24a)](_0x22e25e,_0x2e794e[_0x247d1f(0x262)][_0x247d1f(0x2dc)]);return JSON[_0x247d1f(0x19d)](_0xf9419f?_0x2001a8(_0xf9419f[_0x247d1f(0x2e5)](),_0x313715):_0x313715);},'parseJson':_0x4d8025=>_0x42a72e(JSON[_0x3e8233(0x24f)](_0x4d8025)),'onLoad':(_0x4a1744,_0x42da8d)=>this[_0x3e8233(0x221)][_0x3e8233(0x2c0)](_0x4a1744,_0x42da8d),'onUnLoad':_0x2a4084=>this[_0x3e8233(0x221)][_0x3e8233(0x33e)](_0x2a4084)}));}};_0x27e022=_0x35db5f([_0x3da01e(0x0,_0x2e794e[_0x2122c9(0x261)]),_0x3da01e(0x1,(0x0,_0x2e794e[_0x2122c9(0x317)])(_0x4e0e05)),_0x3da01e(0x2,_0x2e794e[_0x2122c9(0x325)])],_0x27e022);let _0x292c48=class extends _0x2e794e[_0x2122c9(0x351)]{constructor(_0x2d5ae3=_0x55c0f4,_0x5276fb,_0x185be8,_0x29b5b7){const _0x26a905=_0x2122c9;super(),this['_config']=_0x2d5ae3,this[_0x26a905(0x2b9)]=_0x5276fb,this['_commandService']=_0x185be8,this['_configService']=_0x29b5b7;let {..._0x4183d4}=(0x0,_0x2e794e[_0x26a905(0x27c)])({},_0x55c0f4,this[_0x26a905(0x269)]);this['_configService'][_0x26a905(0x268)](_0x26a905(0x1f7),_0x4183d4);}[_0x2122c9(0x337)](){const _0x36f970=_0x2122c9;this['_injector'][_0x36f970(0x203)]([_0x4e0e05]),this[_0x36f970(0x2b9)][_0x36f970(0x203)]([_0x27e022]),this[_0x36f970(0x2b9)]['add']([_0x2cb1d3]),this[_0x36f970(0x2b9)][_0x36f970(0x1ac)](_0x4e0e05),this[_0x36f970(0x2b9)][_0x36f970(0x1ac)](_0x27e022),this[_0x36f970(0x2b9)][_0x36f970(0x1ac)](_0x2cb1d3),this[_0x36f970(0x2de)]();}['_initCommands'](){const _0x56c936=_0x2122c9;[_0x8defbd,_0x487ace,_0xbaede7,_0x78d7ed,_0x3a6a1a,_0x4e2599,_0xb407d7,_0x4eee84,_0x138581,_0x501433,_0x104991,_0x2b636a,_0x385dde,_0x17ea50,_0x36cb06,_0x34716b,_0x1d42cb,_0xbba43b,_0x2e1809,_0x3d9b29,_0x3ae1f2,_0x210fdd,_0x17156b,_0x36c456,_0x47e525,_0x3859bb,_0x4d0ee0,_0x861b1b,_0x47ed02][_0x56c936(0x20d)](_0x1314cc=>this[_0x56c936(0x248)](this[_0x56c936(0x298)][_0x56c936(0x1a9)](_0x1314cc)));}};_0x45bb96(_0x292c48,_0x2122c9(0x2aa),_0x178494),_0x45bb96(_0x292c48,_0x2122c9(0x246),_0x4efb4a),_0x45bb96(_0x292c48,_0x2122c9(0x219),_0x1e7c9b),_0x45bb96(_0x292c48,_0x2122c9(0x26d),_0x2e794e[_0x2122c9(0x262)][_0x2122c9(0x2dc)]),_0x292c48=_0x35db5f([(0x0,_0x2e794e['DependentOn'])(_0x4f3fd2[_0x2122c9(0x2c4)],_0x3df5e7[_0x2122c9(0x29a)]),_0x3da01e(0x1,(0x0,_0x2e794e[_0x2122c9(0x317)])(_0x2e794e[_0x2122c9(0x17f)])),_0x3da01e(0x2,_0x2e794e[_0x2122c9(0x1c5)]),_0x3da01e(0x3,_0x2e794e['IConfigService'])],_0x292c48),_0x36edba[_0x2122c9(0x342)]=_0x20d23b,_0x36edba[_0x2122c9(0x304)]=_0x178494,_0x36edba[_0x2122c9(0x2a4)]=_0x361831,_0x36edba[_0x2122c9(0x2ca)]=_0x422d2e,_0x36edba[_0x2122c9(0x2a6)]=_0x5120a8,_0x36edba[_0x2122c9(0x200)]=_0xbaede7,_0x36edba[_0x2122c9(0x1fc)]=_0x78d7ed,_0x36edba[_0x2122c9(0x213)]=_0x3a6a1a,_0x36edba[_0x2122c9(0x299)]=_0x4e2599,_0x36edba[_0x2122c9(0x193)]=_0xb407d7,_0x36edba[_0x2122c9(0x2be)]=_0x4eee84,_0x36edba['DocsTableInsertPosition']=_0x245c93,_0x36edba[_0x2122c9(0x33b)]=_0x138581,_0x36edba['DocsTableInsertTableCommand']=_0x501433,_0x36edba[_0x2122c9(0x21d)]=_0x52fdc1,_0x36edba[_0x2122c9(0x369)]=_0x104991,_0x36edba['DocsTableMergeCellsCommand']=_0x2b636a,_0x36edba['DocsTableModel']=_0x4e0e05,_0x36edba[_0x2122c9(0x315)]=_0x385dde,_0x36edba[_0x2122c9(0x2f2)]=_0x17ea50,_0x36edba[_0x2122c9(0x34b)]=_0x36cb06,_0x36edba['DocsTableResizeColumnCommand']=_0x1d42cb,_0x36edba[_0x2122c9(0x283)]=_0xbba43b,_0x36edba[_0x2122c9(0x2db)]=_0x1e5065,_0x36edba['DocsTableSelectionKind']=_0x1e0adf,Object[_0x2122c9(0x335)](_0x36edba,_0x2122c9(0x346),{'enumerable':!0x0,'get':function(){return _0x2cb1d3;}}),_0x36edba[_0x2122c9(0x264)]=_0x2e6ac9,_0x36edba['DocsTableSetColumnTypeCommand']=_0x2e1809,_0x36edba[_0x2122c9(0x26c)]=_0x3d9b29,_0x36edba[_0x2122c9(0x1a8)]=_0x3ae1f2,_0x36edba[_0x2122c9(0x1c0)]=_0x210fdd,_0x36edba[_0x2122c9(0x284)]=_0x36c456,_0x36edba[_0x2122c9(0x161)]=_0x17156b,_0x36edba[_0x2122c9(0x31f)]=_0x47e525,_0x36edba[_0x2122c9(0x23d)]=_0x3859bb,_0x36edba['DocsTableSetTableVerticalAlignCommand']=_0x4d0ee0,_0x36edba['DocsTableSortDirection']=_0x53ec0c,_0x36edba[_0x2122c9(0x271)]=_0x861b1b,_0x36edba[_0x2122c9(0x2e0)]=_0x47ed02,Object[_0x2122c9(0x335)](_0x36edba,'UniverDocsTablePlugin',{'enumerable':!0x0,'get':function(){return _0x292c48;}}),_0x36edba[_0x2122c9(0x247)]=_0x7f4873,_0x36edba[_0x2122c9(0x291)]=_0x408c63,_0x36edba[_0x2122c9(0x165)]=_0x562a35,_0x36edba[_0x2122c9(0x1b6)]=_0x3a003b,_0x36edba['buildDeleteTableMutationActions']=_0x21505a,_0x36edba['buildDeleteTableRowsMutationActions']=_0x5aa919,_0x36edba[_0x2122c9(0x278)]=_0x16a7f8,_0x36edba[_0x2122c9(0x25e)]=_0x4bc2c5,_0x36edba[_0x2122c9(0x163)]=_0x2fbc3a,_0x36edba[_0x2122c9(0x363)]=_0x37a7e3,_0x36edba['buildInsertColumnsActions']=_0x2132ae,_0x36edba[_0x2122c9(0x229)]=_0xf56230,_0x36edba[_0x2122c9(0x1cc)]=_0x3827e4,_0x36edba[_0x2122c9(0x343)]=_0x389808,_0x36edba[_0x2122c9(0x1f9)]=_0x57d525,_0x36edba[_0x2122c9(0x167)]=_0x4bb2da,_0x36edba[_0x2122c9(0x1b3)]=_0xce3102,_0x36edba[_0x2122c9(0x190)]=_0x508bf7,_0x36edba['buildMoveColumnsActions']=_0x3bf035,_0x36edba[_0x2122c9(0x279)]=_0x4d9e48,_0x36edba[_0x2122c9(0x2cc)]=_0x1949f5,_0x36edba['buildMoveTableActions']=_0x309e13,_0x36edba['buildMoveTableColumnsMutationActions']=_0x566752,_0x36edba[_0x2122c9(0x1d9)]=_0xc49b8d,_0x36edba[_0x2122c9(0x2f5)]=_0x3eb5f5,_0x36edba['buildPastePlainTextTableMutationActions']=_0x139940,_0x36edba[_0x2122c9(0x368)]=_0x5f4a99,_0x36edba['buildResizeRowActions']=_0x39be86,_0x36edba['buildResizeTableColumnActionsFromWidth']=_0x526a9d,_0x36edba[_0x2122c9(0x25c)]=_0xaf2958,_0x36edba[_0x2122c9(0x2a9)]=_0xe8cfaf,_0x36edba[_0x2122c9(0x209)]=_0xbf7e87,_0x36edba[_0x2122c9(0x2e7)]=_0x1dd68e,_0x36edba[_0x2122c9(0x1bc)]=_0xbf599a,_0x36edba['buildSetTableCellBackgroundActions']=_0x4a1359,_0x36edba[_0x2122c9(0x254)]=_0x445366,_0x36edba[_0x2122c9(0x2b2)]=_0x2f3ec1,_0x36edba[_0x2122c9(0x19a)]=_0x4ea66d,_0x36edba[_0x2122c9(0x1bb)]=_0x1af039,_0x36edba['buildSetTableHeaderRowCountMutationActions']=_0x4b3b39,_0x36edba[_0x2122c9(0x34d)]=_0x102a74,_0x36edba['buildSortTableMutationActions']=_0x44cc4d,_0x36edba[_0x2122c9(0x35f)]=_0x30e69e,_0x36edba[_0x2122c9(0x33a)]=_0x555504,_0x36edba[_0x2122c9(0x289)]=_0x29eaa9,_0x36edba[_0x2122c9(0x28d)]=_0x29dba7,_0x36edba[_0x2122c9(0x187)]=_0x258144,_0x36edba['executeRichTextTableActions']=_0x4b81c6,_0x36edba[_0x2122c9(0x2fa)]=_0x35dd41,_0x36edba[_0x2122c9(0x1ef)]=_0x16cada,_0x36edba[_0x2122c9(0x1e1)]=_0x20d0f4,_0x36edba[_0x2122c9(0x280)]=_0x560c1e,_0x36edba[_0x2122c9(0x367)]=_0xe4a053,_0x36edba[_0x2122c9(0x253)]=_0x481d67;}));function _0x402a(){const _0x1a4474=['packageName','buildDeleteColumnsActions','disposeWithMe','Tools','getUnit','[DocsTable]:\x20Cannot\x20sort\x20a\x20table\x20with\x20row-spanning\x20merged\x20cells.','docsTableTitleRow','height','filter','parse','AT_LEAST','ObjectRelativeFromV','direction','serializeTableSelectionAsPlainText','buildSetTableCellMarginMutationActions','borderRight','WRAP','_clearStructuralSelectionState','58495vXMZFi','clearStructuralSelection','endRow','_restoreNativeSelectionForTextFocus','buildResizeTableRowActionsFromHeight','docs-table.command.paste-without-formatting','buildDistributeRowsActions','DOC_TABLE_PLUGIN','bodyPath','IResourceManagerService','UniverInstanceType','Structural','DocsTableSelectionSource','borderTop','all','Outer','setConfig','_config','dash','config','DocsTableSetHeaderRowCountCommand','type','replace','docs-table.command.set-table-align','toLowerCase','DocsTableSortTableCommand','docs-table.command.insert-columns','DataStreamTreeTokenType','[DocsTable]:\x20Cannot\x20merge\x20a\x20non-rectangular\x20or\x20already\x20merged\x20selection.','editOp','docs-table.command.insert-table','DocSelectionManagerService','buildDistributeColumnsActions','buildMoveFloatingTableMutationActions','inner','docsTableLegacyHeaderRow','merge','keys','change$','_structuralSelection','parseHtmlTablesClipboard','FALSE','TextX','DocsTableResizeRowCommand','DocsTableSetTableBorderColorCommand','docsTableType','getCurrentUnitOfType','isFirstRow','rowSpan','canMergeCells','createSectionId','tableIds','background-color','canUnmergeCells','docs-table.command.distribute-columns','RECT','containsInteriorInsertionOffset','buildDeleteRowsActions','checked','Rect','structural','COMMAND','_getValidStructuralSelection','BooleanNumber','_commandService','DocsTableDistributeColumnsCommand','UniverDocsPlugin','endOffset','docsTableLegacyTitleRow','entries','Number','setTitleRow','innerHorizontal','index','values','textRuns','DocsTableBorderPreset','SECTION_BREAK','DocsTableColumnType','offset','toStringTag','buildSetHeaderRowCountActions','pluginName','kind','clear','&gt;','sortStartRow','border','_nativeSelectionSuppressed','count','buildSetTableCellTextActions','docs-table.command.apply-table-actions','None','Right','\x5cs*:\x5cs*([^;]+)','Selection','col','_injector','Offset','fromEntries','cells','every','DocsTableInsertColumnsCommand','TableAlignmentType','deserialize','deepClone','margin','Column','UniverLicensePlugin','tagName','Bottom','isFinite','TABLE_END','splice','DocsTableColumnInsertPosition','hRule','buildMoveRowsActions','@univerjs-pro/license','getContentInsertRange','documentStyle','serialize','10911AcMlea','cursorColumn','decorate','beforeCommandExecuted','value','dashStyle','find','bottom','docs-table.command.set-table-background','above','DocsTableRowInsertPosition','UNIVER_DOC','<table><tbody>','_initCommands','DocumentEnd','DocsTableUnmergeCellsCommand','TRUE','docs-table.command.sort-table','RichTextEditingMutation','top','getSnapshot','style','buildSetTableBorderActions','UniverDocs','insertedColumnWidth','endsWith','TABLE_START','documentFlavor','EditTableCell','TableRowHeightRule','docs-table.command.insert-rows','rowCount','copy','DocsTableMoveRowsCommand','cursorOffset','sourceIndex','buildMoveTableToOffsetMutationActions','_structuralSelectionTableShape','borderBottom','_resourceManagerService','push','getTableActionBodyPath','borderLeft','reduce','sortedRowIndexes','JSONX','setColumnType','asc','footers','round','DocumentFlavor','DOCS_TABLE_PLUGIN','Cell','border-width','510WGxniZ','UniverProLicense','emitCurrentSelection','\x20range\x20is\x20not\x20found.','positionH','insertOp','6209676mqJwKI','endColumn','Checkbox','headerRowCount','toPrimitive','8jEvTDD','serializeDocument','Disposable','DocsTableMoveColumnsCommand','checkbox','Inject','InnerHorizontal','compose','retain','<tr>','_structuralSelectionScopeDepth','_preserveStructuralSelectionOnNextTextSelection','columnWidths','DocsTableSetTableBorderStyleCommand','startColumn','flatMap','367364tnjjeR','moveOp','_getCurrentDoc','IUniverInstanceService','TABLE_ROW_START','trim','Below','text','default','Subject','Asc','getTableRangeInterval','posOffset','drawingsOrder','docs-table.command.move-rows','delete','true','deleteTable','left','defineProperty','TextXActionType','onStarting','range','Desc','buildUnmergeCellsMutationActions','DocsTableInsertRowsCommand','resolveTableMetadata','end','removeUnit','[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.','table','row','DEFAULT_DOCS_TABLE_CELL_MARGIN','buildInsertTableRowsMutationActions','slice','\x5cs*:\x5cs*([0-9.]+)\x5cs*(px|pt|in|cm|mm)?','DocsTableSelectionService','</td>','querySelectorAll','headingId','Top','DocsTableMoveTableCommand','outer','buildSortTableActions','call','color','tableId','Plugin','createParagraphId','abs','Left','tableColumns','rowspan','symbol','docs-table.command.move-columns','cell','columns','INSERT','pop','_selectionChange$','titleRow','buildUnmergeCellsActions','dot','clearNativeSelection','dispose','buildDistributeTableRowsMutationActions','size','DocHistoryAction','segmentId','serializeTableSelectionAsDocument','buildResizeColumnActions','DocsTableInsertTitleRowCommand','docs-table.command.resize-column','isArray','getTableMetadata','preserveOnTextSelection','[DocsTable]:\x20Table\x20','backgroundColor','toRow','removeOp','yes','setNativeSelectionSuppressed','&amp;','DELETE','\x20is\x20not\x20found.','positionV','right','delete-columns','map','END','3809688GemMDg','fromColumn','children','legacy:','PARAGRAPH','getCurrentSelection','6069iLrozz','DocsTableSetTableBorderCommand','vAlign','buildDistributeTableColumnsMutationActions','insert-columns','buildDeleteTableActions','_setDirectStructuralSelection','buildInsertTitleRowActions','getUnitId','docs-table.command.resize-row','Module','prototype','ObjectRelativeFromH','registerPluginResource','selectionChange$','<td>','getInstance','docs-table.command.merge-cells','cursorRow','dist','getCustomBlockIdsInSelections','TABLE_ROW_END','docs-table.command.unmerge-cells','subscribe','innerVertical','sort','test','some','TableTextWrapType','dashed','docs-table.command.set-table-border-color','Injector','getStructuralSelection','body','string','min','tableRows','object','max','convertPlainTextTableToHtml','solid','sectionId','startRow','start','customRanges','match','MODERN','getBlockRangeInterval','buildMergeCellsMutationActions','docs-table.command.set-table-border-style','width','DocsTableDistributeRowsCommand','cellMargin','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','sectionBreaks','docsTableCellId','indexOf','UniverProDocsTable','buildSetTableCellTextMutationActions','delete-table','bullet','stringify','customDecorations','endIndex','</tr>','selection','docs-table.command.insert-title-row','tables','replaceDocRanges','TABLE_CELL_END','unitId','328qaFXiS','DocsTableSetTableAlignCommand','registerCommand','none','docs-table.command.set-table-vertical-align','get','paragraphStyle','SOLID','desc','number','Date','metadata','buildMergeCellsActions','column','5120NXbWkL','buildDeleteTableColumnsMutationActions','InnerVertical','rxjs','blockRanges','_resources','buildSetTableDefaultCellMarginMutationActions','buildSetTableBorderMutationActions','DashStyleType','_getSelectionFromActiveTextRange','headers','DocsTableSetTableBackgroundCommand','#1f1f1f','[DocsTable]:\x20Row\x20','docs-table.command.delete-table','@univerjs/core','ICommandService','\x20is\x20out\x20of\x20range.','drawings','textContent','customBlocks','docsTableLegacyType','Inner','buildInsertTableColumnsMutationActions','PAGE','_initResource','paragraphs','length','startIndex','getRectRanges','valueRangeId','startOffset','replaceOp','Range','isNoop','params','buildMoveTableRowsMutationActions','docs-table.command.delete-columns','textWrap','NONE','deltaX','columnTypes','targetOffset','border-color','parseHtmlTableClipboard','next','function','asObservable','docs-table.command.set-table-border','deltaY','_univerInstanceService','setStructuralSelection','toColumn','[DocsTable]:\x20Cell\x20text\x20replacements\x20must\x20be\x20ordered,\x20non-overlapping,\x20and\x20inside\x20the\x20document\x20body.','rect','paragraphId','docsTableMetadataVersion','constructor','getTableRangeById','set','getTableRowTokenInterval','[DocsTable]:\x20Cell\x20','physicalIndex','tableSource','getStableTableSelection','&lt;','docs-table.config','[DocsTable]:\x20Column\x20','buildInsertTableTitleRowMutationActions','fromRow','text/html','DocsTableDeleteRowsCommand','getBody','preserveTotalWidth','getDisabled','DocsTableDeleteColumnsCommand','hasOwnProperty','rowHeights','add','delete-rows','withStructuralSelection','amd','documentData','_change$','buildSetTableBackgroundMutationActions','columnSpan','dropdown','from','forEach','insert','getOwnPropertyDescriptor','trHeight','includes','_canCombineRectRanges','DocsTableDeleteTableCommand','complete','START','Dropdown','tableCells','insert-rows','version','TABLE_CELL_START','rows','Row','DocsTableInsertTablePosition','date','position','join','_docsTableModel','getActiveTextRange','_docSelectionManagerService','Text','nextDocumentData','docs-table.command.move-table','background','\x20has\x20no\x20body\x20range.','buildInsertRowsActions','actions','cloneBody','SPECIFIED','CommandType','<br>','syncExecuteCommand','_setResource','_getSelectionFromRectRanges','DOC_RANGE_TYPE','columnCount','@univerjs-pro/docs-table','TableSizeType','getAttribute','align','docs-table.command.delete-rows','preset','15169OEVrgu','TRADITIONAL','DOT','DocsTableSetTableBorderWidthCommand','repeatHeaderRow','val','columnGroups','setStructuralHeaderSelection','below','getBodySlice','split','dataStream'];_0x402a=function(){return _0x1a4474;};return _0x402a();}
1
+ function _0x2ee4(_0x3309f4,_0x2fb48b){_0x3309f4=_0x3309f4-0x133;const _0x89a564=_0x89a5();let _0x2ee48d=_0x89a564[_0x3309f4];return _0x2ee48d;}(function(_0x434828,_0x5e1607){const _0x46a32b=_0x2ee4,_0x23c716=_0x434828();while(!![]){try{const _0x128b35=-parseInt(_0x46a32b(0x280))/0x1+-parseInt(_0x46a32b(0x138))/0x2+parseInt(_0x46a32b(0x235))/0x3*(parseInt(_0x46a32b(0x2ce))/0x4)+-parseInt(_0x46a32b(0x21d))/0x5+-parseInt(_0x46a32b(0x189))/0x6+parseInt(_0x46a32b(0x147))/0x7+parseInt(_0x46a32b(0x13f))/0x8;if(_0x128b35===_0x5e1607)break;else _0x23c716['push'](_0x23c716['shift']());}catch(_0x60bf3f){_0x23c716['push'](_0x23c716['shift']());}}}(_0x89a5,0xf3db2),function(_0x40be7b,_0x3cb166){const _0x533511=_0x2ee4;typeof exports==_0x533511(0x181)&&typeof module<'u'?_0x3cb166(exports,require('@univerjs/core'),require('@univerjs/docs'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x533511(0x354)&&define['amd']?define([_0x533511(0x267),'@univerjs/core',_0x533511(0x133),_0x533511(0x31d),_0x533511(0x197)],_0x3cb166):(_0x40be7b=typeof globalThis<'u'?globalThis:_0x40be7b||self,_0x3cb166(_0x40be7b[_0x533511(0x179)]={},_0x40be7b[_0x533511(0x184)],_0x40be7b[_0x533511(0x1ec)],_0x40be7b[_0x533511(0x31d)],_0x40be7b[_0x533511(0x1c4)]));}(this,function(_0x5dfd18,_0x2752e6,_0x43be57,_0x14dbb2,_0x8c849c){const _0x5241b3=_0x2ee4;Object[_0x5241b3(0x156)](_0x5dfd18,Symbol[_0x5241b3(0x309)],{'value':'Module'});function _0x48bd87(_0x30b4ec,_0x3b7272){const _0x54e774=_0x5241b3;var _0x4dafe3,_0x416013,_0x66d7b5;let _0x4d2d5d=(_0x4dafe3=_0x30b4ec[_0x54e774(0x347)])==null||(_0x4dafe3=_0x4dafe3['tables'])==null?void 0x0:_0x4dafe3['find'](_0x47fcde=>_0x47fcde['tableId']===_0x3b7272),_0x2836f6=(_0x416013=_0x30b4ec[_0x54e774(0x16e)])==null?void 0x0:_0x416013[_0x3b7272],_0x551c83=(_0x66d7b5=_0x30b4ec[_0x54e774(0x347)])==null?void 0x0:_0x66d7b5[_0x54e774(0x227)];if(!_0x4d2d5d||!_0x2836f6||!_0x551c83)return null;let _0x2dabaa=(0x0,_0x2752e6[_0x54e774(0x194)])(_0x4d2d5d);return _0x551c83[_0x2dabaa[_0x54e774(0x1fe)]]!==_0x2752e6[_0x54e774(0x260)][_0x54e774(0x2c4)]||_0x551c83[_0x2dabaa[_0x54e774(0x2a0)]-0x1]!==_0x2752e6[_0x54e774(0x260)][_0x54e774(0x223)]?null:_0x53d807(_0x551c83,_0x2dabaa[_0x54e774(0x1fe)],_0x2dabaa[_0x54e774(0x2a0)],_0x3b7272,_0x2836f6);}function _0x2c94b9(_0x3ba2ec,_0x20be25){const _0x29e0f4=_0x5241b3;let _0x3a4388=_0x3ba2ec['rows'][_0x20be25];if(!_0x3a4388)throw Error(_0x29e0f4(0x152)+_0x20be25+_0x29e0f4(0x30e));return _0x3a4388;}function _0x14e318(_0x3085d3,_0x1ef55a){const _0x535241=_0x5241b3;let _0x995686=_0x3085d3[_0x535241(0x167)][_0x535241(0x211)](_0x44f770=>_0x44f770[_0x535241(0x31b)][_0x1ef55a])[_0x535241(0x165)](Boolean);if(_0x995686[_0x535241(0x252)]===0x0)throw Error(_0x535241(0x175)+_0x1ef55a+_0x535241(0x30e));return{'column':_0x1ef55a,'startOffset':_0x995686[0x0][_0x535241(0x1fe)],'endOffset':_0x995686[_0x995686[_0x535241(0x252)]-0x1][_0x535241(0x2a0)],'cells':_0x995686};}function _0x53d807(_0xd340be,_0x49db0d,_0x2759b0,_0x8ef303,_0x5a387c){const _0x55bc9a=_0x5241b3;var _0x47cf7c;let _0x538934=[];for(let _0x42331f=_0x49db0d+0x1;_0x42331f<_0x2759b0-0x1;){let _0x1d2134=(0x0,_0x2752e6[_0x55bc9a(0x1b7)])(_0xd340be,_0x42331f);if(!_0x1d2134||_0x1d2134['endOffset']>_0x2759b0)return null;let _0x1cecb1={'row':_0x538934['length'],'startOffset':_0x1d2134[_0x55bc9a(0x1fe)],'endOffset':_0x1d2134[_0x55bc9a(0x2a0)]-0x1,'cells':[]};for(let _0x8f2d73=_0x1d2134[_0x55bc9a(0x1fe)]+0x1;_0x8f2d73<_0x1d2134['endOffset']-0x1;){let _0x4c9a6d=(0x0,_0x2752e6[_0x55bc9a(0x1f0)])(_0xd340be,_0x8f2d73);if(!_0x4c9a6d||_0x4c9a6d[_0x55bc9a(0x2a0)]>_0x1d2134[_0x55bc9a(0x2a0)])return null;_0x1cecb1['cells'][_0x55bc9a(0x190)]({'row':_0x1cecb1['row'],'column':_0x1cecb1['cells'][_0x55bc9a(0x252)],'startOffset':_0x4c9a6d[_0x55bc9a(0x1fe)],'endOffset':_0x4c9a6d[_0x55bc9a(0x2a0)]-0x1}),_0x8f2d73=_0x4c9a6d[_0x55bc9a(0x2a0)];}_0x538934[_0x55bc9a(0x190)](_0x1cecb1),_0x42331f=_0x1d2134[_0x55bc9a(0x2a0)];}return _0x538934[_0x55bc9a(0x252)]!==_0x5a387c[_0x55bc9a(0x163)][_0x55bc9a(0x252)]||_0x538934['some']((_0x3fb785,_0x3cd1a8)=>{const _0x27604b=_0x55bc9a;var _0x54d71e;return _0x3fb785[_0x27604b(0x31b)]['length']!==((_0x54d71e=_0x5a387c[_0x27604b(0x163)][_0x3cd1a8])==null?void 0x0:_0x54d71e[_0x27604b(0x1a6)][_0x27604b(0x252)]);})?null:{'tableId':_0x8ef303,'startOffset':_0x49db0d,'endOffset':_0x2759b0,'rowCount':_0x538934[_0x55bc9a(0x252)],'columnCount':((_0x47cf7c=_0x538934[0x0])==null?void 0x0:_0x47cf7c[_0x55bc9a(0x31b)][_0x55bc9a(0x252)])??0x0,'tableSource':_0x5a387c,'rows':_0x538934};}function _0x49dbb2(_0x1689de,_0x46e20c,_0x510e8d){const _0x472a4e=_0x5241b3;if(!_0x1689de||_0x1689de['tableId']!==_0x510e8d[_0x472a4e(0x135)])return _0x1689de;if(_0x510e8d[_0x472a4e(0x17e)]==='delete-table')return null;let _0x457a90=_0x48bd87(_0x46e20c,_0x1689de[_0x472a4e(0x135)]);if(!_0x457a90)return null;let _0x11bbaa={..._0x1689de};if(_0x510e8d[_0x472a4e(0x17e)]==='insert-rows')_0x11bbaa['startRow']=_0xc1ce2c(_0x11bbaa['startRow'],_0x510e8d['index'],_0x510e8d[_0x472a4e(0x320)]),_0x11bbaa['endRow']=_0xc1ce2c(_0x11bbaa[_0x472a4e(0x324)],_0x510e8d[_0x472a4e(0x322)],_0x510e8d[_0x472a4e(0x320)]);else{if(_0x510e8d['kind']===_0x472a4e(0x173))_0x11bbaa[_0x472a4e(0x2a1)]=_0xc1ce2c(_0x11bbaa[_0x472a4e(0x2a1)],_0x510e8d['index'],_0x510e8d[_0x472a4e(0x320)]),_0x11bbaa[_0x472a4e(0x1bd)]=_0xc1ce2c(_0x11bbaa[_0x472a4e(0x1bd)],_0x510e8d[_0x472a4e(0x322)],_0x510e8d[_0x472a4e(0x320)]);else{if(_0x510e8d[_0x472a4e(0x17e)]==='delete-rows'){let [_0x3073af,_0x18a3b4]=_0x18cfa6(_0x11bbaa[_0x472a4e(0x172)],_0x11bbaa['endRow'],_0x510e8d[_0x472a4e(0x322)],_0x510e8d[_0x472a4e(0x320)]);_0x11bbaa[_0x472a4e(0x172)]=_0x3073af,_0x11bbaa[_0x472a4e(0x324)]=_0x18a3b4;}else{if(_0x510e8d[_0x472a4e(0x17e)]===_0x472a4e(0x2fa)){let [_0x2e2416,_0x383864]=_0x18cfa6(_0x11bbaa[_0x472a4e(0x2a1)],_0x11bbaa[_0x472a4e(0x1bd)],_0x510e8d[_0x472a4e(0x322)],_0x510e8d[_0x472a4e(0x320)]);_0x11bbaa[_0x472a4e(0x2a1)]=_0x2e2416,_0x11bbaa[_0x472a4e(0x1bd)]=_0x383864;}}}}let _0x3eb0b6=_0x510e8d[_0x472a4e(0x17e)]===_0x472a4e(0x24f)?_0x457a90[_0x472a4e(0x191)]+_0x510e8d[_0x472a4e(0x320)]:Math[_0x472a4e(0x356)](0x1,_0x457a90[_0x472a4e(0x191)]-(_0x510e8d[_0x472a4e(0x17e)]===_0x472a4e(0x1cb)?_0x510e8d[_0x472a4e(0x320)]:0x0)),_0x4b4580=_0x510e8d[_0x472a4e(0x17e)]===_0x472a4e(0x173)?_0x457a90[_0x472a4e(0x1c7)]+_0x510e8d['count']:Math[_0x472a4e(0x356)](0x1,_0x457a90[_0x472a4e(0x1c7)]-(_0x510e8d['kind']===_0x472a4e(0x2fa)?_0x510e8d[_0x472a4e(0x320)]:0x0));return _0x11bbaa[_0x472a4e(0x172)]=_0x1deefb(_0x11bbaa[_0x472a4e(0x172)],0x0,_0x3eb0b6-0x1),_0x11bbaa[_0x472a4e(0x324)]=_0x1deefb(_0x11bbaa['endRow'],0x0,_0x3eb0b6-0x1),_0x11bbaa['startColumn']=_0x1deefb(_0x11bbaa[_0x472a4e(0x2a1)],0x0,_0x4b4580-0x1),_0x11bbaa[_0x472a4e(0x1bd)]=_0x1deefb(_0x11bbaa['endColumn'],0x0,_0x4b4580-0x1),_0x11bbaa[_0x472a4e(0x172)]>_0x11bbaa[_0x472a4e(0x324)]&&(_0x11bbaa[_0x472a4e(0x324)]=_0x11bbaa[_0x472a4e(0x172)]),_0x11bbaa[_0x472a4e(0x2a1)]>_0x11bbaa['endColumn']&&(_0x11bbaa['endColumn']=_0x11bbaa['startColumn']),_0x11bbaa;}function _0xc1ce2c(_0x11b38d,_0x1f576a,_0x4da693){return _0x11b38d>=_0x1f576a?_0x11b38d+_0x4da693:_0x11b38d;}function _0x18cfa6(_0x59d0dd,_0x2a1cb7,_0x30e8f7,_0x442d80){const _0xeae2f8=_0x5241b3;let _0x11d77c=_0x30e8f7+_0x442d80-0x1;if(_0x2a1cb7<_0x30e8f7)return[_0x59d0dd,_0x2a1cb7];if(_0x59d0dd>_0x11d77c)return[_0x59d0dd-_0x442d80,_0x2a1cb7-_0x442d80];let _0x24be9d=_0x59d0dd<_0x30e8f7?_0x59d0dd:_0x30e8f7,_0x1c896d=Math[_0xeae2f8(0x355)](_0x2a1cb7,_0x11d77c)-_0x30e8f7+0x1;return[_0x24be9d,Math['max'](_0x24be9d,_0x2a1cb7-_0x1c896d)];}function _0x1deefb(_0x13ff31,_0x203cc3,_0x206c52){const _0x4d48a1=_0x5241b3;return Math['min'](Math[_0x4d48a1(0x356)](_0x13ff31,_0x203cc3),_0x206c52);}function _0x3c6382(_0x325c03){return _0x325c03;}function _0x5ffbbb(_0x599e44,_0x36e03b={}){const _0xe357a9=_0x5241b3;var _0x1076bb;let _0x35aa75={..._0x599e44,'body':_0x36e03b['cloneBody']===!0x1?_0x599e44[_0xe357a9(0x347)]:_0x599e44[_0xe357a9(0x347)]?_0x3e1ef2(_0x599e44['body']):_0x599e44[_0xe357a9(0x347)]};return(_0x1076bb=_0x36e03b[_0xe357a9(0x220)])!=null&&_0x1076bb['length']&&_0x599e44['tableSource']&&(_0x35aa75['tableSource']={..._0x599e44['tableSource']},_0x36e03b[_0xe357a9(0x220)]['forEach'](_0x716f00=>{const _0x5ae911=_0xe357a9;var _0x402fcc;let _0x359b07=(_0x402fcc=_0x599e44[_0x5ae911(0x16e)])==null?void 0x0:_0x402fcc[_0x716f00];_0x359b07&&(_0x35aa75[_0x5ae911(0x16e)][_0x716f00]=_0x4345e1(_0x359b07));})),_0x35aa75;}function _0x3e1ef2(_0x412d77){const _0x25187b=_0x5241b3;var _0x6e62f3,_0x261336,_0x430973,_0x2e6974,_0x522eda,_0x3dc76d,_0x367efc,_0x3653fd,_0x38921b;return{..._0x412d77,'paragraphs':(_0x6e62f3=_0x412d77[_0x25187b(0x2b5)])==null?void 0x0:_0x6e62f3[_0x25187b(0x211)](_0x18bb41=>({..._0x18bb41,'bullet':_0x34305f(_0x18bb41[_0x25187b(0x22b)]),'paragraphStyle':_0x34305f(_0x18bb41[_0x25187b(0x33f)])})),'sectionBreaks':(_0x261336=_0x412d77[_0x25187b(0x27c)])==null?void 0x0:_0x261336[_0x25187b(0x211)](_0x499866=>({..._0x499866})),'textRuns':(_0x430973=_0x412d77[_0x25187b(0x17f)])==null?void 0x0:_0x430973[_0x25187b(0x211)](_0x3ca991=>({..._0x3ca991})),'tables':(_0x2e6974=_0x412d77[_0x25187b(0x1ad)])==null?void 0x0:_0x2e6974[_0x25187b(0x211)](_0x5c5f39=>({..._0x5c5f39})),'columnGroups':(_0x522eda=_0x412d77[_0x25187b(0x336)])==null?void 0x0:_0x522eda[_0x25187b(0x211)](_0x1ffd04=>{const _0x372d4d=_0x25187b;var _0x5f1df3;return{..._0x1ffd04,'columns':(_0x5f1df3=_0x1ffd04[_0x372d4d(0x1b9)])==null?void 0x0:_0x5f1df3['map'](_0x49adc0=>_0x34305f(_0x49adc0))};}),'blockRanges':(_0x3dc76d=_0x412d77[_0x25187b(0x2aa)])==null?void 0x0:_0x3dc76d[_0x25187b(0x211)](_0x520af2=>({..._0x520af2})),'customRanges':(_0x367efc=_0x412d77[_0x25187b(0x2e3)])==null?void 0x0:_0x367efc[_0x25187b(0x211)](_0x1e3c44=>({..._0x1e3c44})),'customDecorations':(_0x3653fd=_0x412d77[_0x25187b(0x1f2)])==null?void 0x0:_0x3653fd[_0x25187b(0x211)](_0x1cdd63=>({..._0x1cdd63})),'customBlocks':(_0x38921b=_0x412d77[_0x25187b(0x350)])==null?void 0x0:_0x38921b[_0x25187b(0x211)](_0x18818c=>({..._0x18818c}))};}function _0x4345e1(_0x37299d){const _0x311a88=_0x5241b3;return{..._0x37299d,'dist':_0x34305f(_0x37299d[_0x311a88(0x201)]),'position':_0x34305f(_0x37299d[_0x311a88(0x27a)]),'size':_0x34305f(_0x37299d[_0x311a88(0x145)]),'tableColumns':_0x37299d[_0x311a88(0x25c)][_0x311a88(0x211)](_0x3cc669),'tableRows':_0x37299d[_0x311a88(0x163)][_0x311a88(0x211)](_0x37685c)};}function _0x3cc669(_0x32ab3b){const _0x2967bd=_0x5241b3;return{..._0x32ab3b,'size':_0x34305f(_0x32ab3b[_0x2967bd(0x145)])};}function _0x37685c(_0x437e1b){const _0x4d1d7b=_0x5241b3;return{..._0x437e1b,'trHeight':_0x34305f(_0x437e1b[_0x4d1d7b(0x28c)]),'tableCells':_0x437e1b['tableCells']['map'](_0x49e4f5=>({..._0x49e4f5,'backgroundColor':_0x34305f(_0x49e4f5[_0x4d1d7b(0x26e)]),'borderBottom':_0x34305f(_0x49e4f5[_0x4d1d7b(0x26f)]),'borderLeft':_0x34305f(_0x49e4f5[_0x4d1d7b(0x2a6)]),'borderRight':_0x34305f(_0x49e4f5[_0x4d1d7b(0x168)]),'borderTop':_0x34305f(_0x49e4f5['borderTop']),'margin':_0x34305f(_0x49e4f5[_0x4d1d7b(0x2ae)])}))};}function _0x34305f(_0x4d1763){const _0xa9c28c=_0x5241b3;return Array[_0xa9c28c(0x2af)](_0x4d1763)?_0x4d1763[_0xa9c28c(0x211)](_0xd33401=>_0x34305f(_0xd33401)):!_0x4d1763||typeof _0x4d1763!='object'?_0x4d1763:Object[_0xa9c28c(0x2f9)](Object['entries'](_0x4d1763)[_0xa9c28c(0x211)](([_0x159653,_0x4a4c43])=>[_0x159653,_0x34305f(_0x4a4c43)]));}function _0x4e34a2(_0x189354,_0x39a281,_0x61fc05){const _0x1a0447=_0x5241b3;var _0x200e02;let _0x5d7757=(_0x200e02=_0x189354[_0x1a0447(0x16e)])==null?void 0x0:_0x200e02[_0x39a281];if(!_0x5d7757||!_0x253015(_0x61fc05))return!0x1;try{return _0xaa498c(_0x5d7757,_0x61fc05)[_0x1a0447(0x2f5)](_0x198b39=>_0x1d9464(_0x198b39)===0x1&&_0x3692e3(_0x198b39)===0x1);}catch{return!0x1;}}function _0x47296b(_0x15e768,_0x46b50e,_0x27d5b3){const _0x43e0fd=_0x5241b3;var _0x3eeb44;let _0x382c14=(_0x3eeb44=_0x15e768[_0x43e0fd(0x16e)])==null?void 0x0:_0x3eeb44[_0x46b50e];if(!_0x382c14)return!0x1;let _0x2df320=null;try{let _0x496d7d=_0x91d24e(_0x27d5b3);_0x2df320=_0x3e91ba(_0x382c14,_0x496d7d[_0x43e0fd(0x172)],_0x496d7d[_0x43e0fd(0x2a1)]);}catch{return!0x1;}return!!_0x2df320&&_0x253015(_0x2df320);}function _0x2c1568(_0x1bde94){const _0x368df7=_0x5241b3;let _0x2542bf=_0x91d24e(_0x1bde94);if(!_0x4e34a2(_0x1bde94[_0x368df7(0x2a3)],_0x1bde94[_0x368df7(0x135)],_0x2542bf))throw Error(_0x368df7(0x2e4));let _0x2f84ad=_0x5ffbbb(_0x1bde94[_0x368df7(0x2a3)],{'cloneBody':!0x1,'tableIds':[_0x1bde94[_0x368df7(0x135)]]}),_0x5e783b=_0x37b142(_0x2f84ad,_0x1bde94[_0x368df7(0x135)]),_0x204448=_0x5e783b[_0x368df7(0x163)][_0x2542bf[_0x368df7(0x172)]]['tableCells'][_0x2542bf['startColumn']];return _0x204448[_0x368df7(0x359)]=_0x2542bf[_0x368df7(0x324)]-_0x2542bf[_0x368df7(0x172)]+0x1,_0x204448[_0x368df7(0x141)]=_0x2542bf[_0x368df7(0x1bd)]-_0x2542bf[_0x368df7(0x2a1)]+0x1,_0x174c71(_0x5e783b,_0x2542bf,(_0x371281,_0x4b31d0,_0x308618)=>{const _0x3ad745=_0x368df7;(_0x4b31d0!==_0x2542bf[_0x3ad745(0x172)]||_0x308618!==_0x2542bf[_0x3ad745(0x2a1)])&&(_0x371281[_0x3ad745(0x359)]=0x0,_0x371281[_0x3ad745(0x141)]=0x0);}),{'nextDocumentData':_0x2f84ad,'range':_0x2542bf};}function _0x2f58dc(_0x31cef5){const _0x3aac98=_0x5241b3;var _0x267724;let _0x10e672=_0x91d24e(_0x31cef5),_0x139c87=(_0x267724=_0x31cef5[_0x3aac98(0x2a3)]['tableSource'])==null?void 0x0:_0x267724[_0x31cef5[_0x3aac98(0x135)]];if(!_0x139c87||!_0x4e34a2(_0x31cef5[_0x3aac98(0x2a3)],_0x31cef5[_0x3aac98(0x135)],_0x10e672))return null;let _0x1fd428=[];return _0x174c71(_0x139c87,_0x10e672,(_0x372bb1,_0x38e8bc,_0x5bc8c5)=>{const _0xd56493=_0x3aac98;let _0x5b24bd=_0x38e8bc===_0x10e672[_0xd56493(0x172)]&&_0x5bc8c5===_0x10e672[_0xd56493(0x2a1)];_0x1a194d(_0x1fd428,_0x31cef5[_0xd56493(0x135)],_0x38e8bc,_0x5bc8c5,_0xd56493(0x359),_0x372bb1['rowSpan'],_0x5b24bd?_0x10e672['endRow']-_0x10e672[_0xd56493(0x172)]+0x1:0x0),_0x1a194d(_0x1fd428,_0x31cef5[_0xd56493(0x135)],_0x38e8bc,_0x5bc8c5,_0xd56493(0x141),_0x372bb1[_0xd56493(0x141)],_0x5b24bd?_0x10e672[_0xd56493(0x1bd)]-_0x10e672[_0xd56493(0x2a1)]+0x1:0x0);}),{'actions':_0x394a42(_0x1fd428),'range':_0x10e672};}function _0x1c97f3(_0x311330){const _0x488b98=_0x5241b3;let _0x3ed5be=_0x5ffbbb(_0x311330[_0x488b98(0x2a3)],{'cloneBody':!0x1,'tableIds':[_0x311330[_0x488b98(0x135)]]}),_0x3e6cca=_0x37b142(_0x3ed5be,_0x311330['tableId']),_0x31cd68=_0x91d24e(_0x311330),_0x558a21=_0x3e91ba(_0x3e6cca,_0x31cd68['startRow'],_0x31cd68[_0x488b98(0x2a1)]);if(!_0x47296b(_0x311330['documentData'],_0x311330['tableId'],_0x31cd68)||!_0x558a21)throw Error('[DocsTable]:\x20Cannot\x20unmerge\x20an\x20unmerged\x20cell.');return _0x174c71(_0x3e6cca,_0x558a21,_0x542f66=>{const _0x2229ee=_0x488b98;delete _0x542f66[_0x2229ee(0x359)],delete _0x542f66[_0x2229ee(0x141)];}),{'nextDocumentData':_0x3ed5be,'range':_0x558a21};}function _0x3cadb9(_0x1e579c){const _0x25ba38=_0x5241b3;var _0x385ef0;let _0x24178d=(_0x385ef0=_0x1e579c[_0x25ba38(0x2a3)][_0x25ba38(0x16e)])==null?void 0x0:_0x385ef0[_0x1e579c[_0x25ba38(0x135)]],_0xea8c0f=_0x91d24e(_0x1e579c),_0x262914=_0x24178d?_0x3e91ba(_0x24178d,_0xea8c0f['startRow'],_0xea8c0f[_0x25ba38(0x2a1)]):null;if(!_0x24178d||!_0x262914||!_0x47296b(_0x1e579c[_0x25ba38(0x2a3)],_0x1e579c[_0x25ba38(0x135)],_0xea8c0f))return null;let _0x23f005=[];return _0x174c71(_0x24178d,_0x262914,(_0x5422eb,_0x4ef907,_0x308bc6)=>{const _0x118f63=_0x25ba38;_0x1a194d(_0x23f005,_0x1e579c[_0x118f63(0x135)],_0x4ef907,_0x308bc6,'rowSpan',_0x5422eb[_0x118f63(0x359)],void 0x0),_0x1a194d(_0x23f005,_0x1e579c[_0x118f63(0x135)],_0x4ef907,_0x308bc6,_0x118f63(0x141),_0x5422eb[_0x118f63(0x141)],void 0x0);}),{'actions':_0x394a42(_0x23f005),'range':_0x262914};}function _0x1a194d(_0x3bd14f,_0x5a990b,_0x4b1c04,_0x3b88e1,_0x14e5f2,_0x14f5d0,_0x43afbf){const _0x2b0d00=_0x5241b3;if(_0x14f5d0===_0x43afbf)return;let _0x258fc0=_0x2752e6['JSONX']['getInstance'](),_0x34570b=['tableSource',_0x5a990b,'tableRows',_0x4b1c04,_0x2b0d00(0x1a6),_0x3b88e1,_0x14e5f2];_0x3bd14f['push'](_0x14f5d0===void 0x0?_0x258fc0[_0x2b0d00(0x2ea)](_0x34570b,_0x43afbf):_0x43afbf===void 0x0?_0x258fc0[_0x2b0d00(0x2b3)](_0x34570b,_0x14f5d0):_0x258fc0['replaceOp'](_0x34570b,_0x14f5d0,_0x43afbf));}function _0x394a42(_0x2e8a4d){const _0x104822=_0x5241b3;return _0x2e8a4d[_0x104822(0x1b5)]((_0x53668f,_0x24bbd4)=>_0x2752e6[_0x104822(0x305)][_0x104822(0x34a)](_0x53668f,_0x24bbd4),null);}function _0x3e91ba(_0x238bda,_0x42de9b,_0x1918f6){const _0x5eb77f=_0x5241b3;var _0x30778e;let _0x1b5881=(_0x30778e=_0x238bda[_0x5eb77f(0x163)][_0x42de9b])==null?void 0x0:_0x30778e[_0x5eb77f(0x1a6)][_0x1918f6];if(!_0x1b5881)return null;if(_0x1d9464(_0x1b5881)>0x1||_0x3692e3(_0x1b5881)>0x1)return{'startRow':_0x42de9b,'endRow':_0x42de9b+_0x1d9464(_0x1b5881)-0x1,'startColumn':_0x1918f6,'endColumn':_0x1918f6+_0x3692e3(_0x1b5881)-0x1};if(_0x1b5881[_0x5eb77f(0x359)]!==0x0&&_0x1b5881[_0x5eb77f(0x141)]!==0x0)return{'startRow':_0x42de9b,'endRow':_0x42de9b,'startColumn':_0x1918f6,'endColumn':_0x1918f6};for(let _0x2f4885=0x0;_0x2f4885<_0x238bda[_0x5eb77f(0x163)][_0x5eb77f(0x252)];_0x2f4885++){let _0x1e9eaa=_0x238bda[_0x5eb77f(0x163)][_0x2f4885];for(let _0x37ec73=0x0;_0x37ec73<_0x1e9eaa[_0x5eb77f(0x1a6)][_0x5eb77f(0x252)];_0x37ec73++){let _0xc7c92d=_0x1e9eaa['tableCells'][_0x37ec73],_0x3e8431=_0x1d9464(_0xc7c92d),_0x3e7888=_0x3692e3(_0xc7c92d);if(_0x3e8431<=0x1&&_0x3e7888<=0x1)continue;let _0x263125={'startRow':_0x2f4885,'endRow':_0x2f4885+_0x3e8431-0x1,'startColumn':_0x37ec73,'endColumn':_0x37ec73+_0x3e7888-0x1};if(_0x42de9b>=_0x263125[_0x5eb77f(0x172)]&&_0x42de9b<=_0x263125[_0x5eb77f(0x324)]&&_0x1918f6>=_0x263125[_0x5eb77f(0x2a1)]&&_0x1918f6<=_0x263125[_0x5eb77f(0x1bd)])return _0x263125;}}return null;}function _0x4896c3(_0x397064,_0x2f8da7){const _0x276ddc=_0x5241b3;let _0x1c01ff=_0x91d24e(_0x2f8da7),_0x2c6f92=!0x0;for(;_0x2c6f92;){_0x2c6f92=!0x1;for(let _0x163643=0x0;_0x163643<_0x397064[_0x276ddc(0x163)][_0x276ddc(0x252)];_0x163643++){let _0x164651=_0x397064[_0x276ddc(0x163)][_0x163643];for(let _0x3c13dc=0x0;_0x3c13dc<_0x164651[_0x276ddc(0x1a6)]['length'];_0x3c13dc++){let _0x4855c4=_0x164651[_0x276ddc(0x1a6)][_0x3c13dc],_0x1d28c7=_0x1d9464(_0x4855c4),_0x2f8e8a=_0x3692e3(_0x4855c4);if(_0x1d28c7<=0x1&&_0x2f8e8a<=0x1)continue;let _0xd7e02d={'startRow':_0x163643,'endRow':_0x163643+_0x1d28c7-0x1,'startColumn':_0x3c13dc,'endColumn':_0x3c13dc+_0x2f8e8a-0x1};if(!_0x2d987c(_0x1c01ff,_0xd7e02d))continue;let _0x41909b={'startRow':Math['min'](_0x1c01ff[_0x276ddc(0x172)],_0xd7e02d[_0x276ddc(0x172)]),'endRow':Math['max'](_0x1c01ff[_0x276ddc(0x324)],_0xd7e02d[_0x276ddc(0x324)]),'startColumn':Math[_0x276ddc(0x355)](_0x1c01ff[_0x276ddc(0x2a1)],_0xd7e02d['startColumn']),'endColumn':Math[_0x276ddc(0x356)](_0x1c01ff[_0x276ddc(0x1bd)],_0xd7e02d[_0x276ddc(0x1bd)])};_0x4f5e4e(_0x41909b,_0x1c01ff)||(_0x1c01ff=_0x41909b,_0x2c6f92=!0x0);}}}return _0x1c01ff;}function _0x1eb17e(_0x43ab6e,_0x2a1e60,_0x164dbe,_0x287fb0=_0x31adf0(_0x43ab6e)){const _0x535ff=_0x5241b3;_0x39cb42(_0x43ab6e,_0x287fb0,_0x53aa81=>_0x2a1e60<=_0x53aa81[_0x535ff(0x172)]?{..._0x53aa81,'startRow':_0x53aa81[_0x535ff(0x172)]+_0x164dbe,'endRow':_0x53aa81[_0x535ff(0x324)]+_0x164dbe}:_0x2a1e60<=_0x53aa81[_0x535ff(0x324)]?{..._0x53aa81,'endRow':_0x53aa81[_0x535ff(0x324)]+_0x164dbe}:_0x53aa81);}function _0x409d3f(_0x18f594,_0x19b495,_0x469257,_0x32346e=_0x31adf0(_0x18f594)){const _0x608297=_0x5241b3;_0x39cb42(_0x18f594,_0x32346e,_0x16aa46=>_0x19b495<=_0x16aa46[_0x608297(0x2a1)]?{..._0x16aa46,'startColumn':_0x16aa46[_0x608297(0x2a1)]+_0x469257,'endColumn':_0x16aa46['endColumn']+_0x469257}:_0x19b495<=_0x16aa46[_0x608297(0x1bd)]?{..._0x16aa46,'endColumn':_0x16aa46[_0x608297(0x1bd)]+_0x469257}:_0x16aa46);}function _0x408df4(_0x9f6ce4,_0x62d621,_0x3cee89,_0x297e37=_0x31adf0(_0x9f6ce4)){_0x39cb42(_0x9f6ce4,_0x297e37,_0x5b439c=>{const _0xd73c93=_0x2ee4;let _0x50193f=[];for(let _0x16b7ff=_0x5b439c[_0xd73c93(0x172)];_0x16b7ff<=_0x5b439c['endRow'];_0x16b7ff++){let _0x3b7bcc=_0x284999(_0x16b7ff,_0x62d621,_0x3cee89);_0x3b7bcc!=null&&_0x50193f[_0xd73c93(0x190)](_0x3b7bcc);}return _0x50193f[_0xd73c93(0x252)]?{..._0x5b439c,'startRow':Math[_0xd73c93(0x355)](..._0x50193f),'endRow':Math[_0xd73c93(0x356)](..._0x50193f)}:null;});}function _0x27a2eb(_0x14b67f,_0x8c9d2e,_0x2aa10b,_0x5302f5=_0x31adf0(_0x14b67f)){_0x39cb42(_0x14b67f,_0x5302f5,_0x3914c3=>{const _0xcb5331=_0x2ee4;let _0x34bf05=[];for(let _0x299323=_0x3914c3[_0xcb5331(0x2a1)];_0x299323<=_0x3914c3[_0xcb5331(0x1bd)];_0x299323++){let _0x5b4139=_0x284999(_0x299323,_0x8c9d2e,_0x2aa10b);_0x5b4139!=null&&_0x34bf05['push'](_0x5b4139);}return _0x34bf05[_0xcb5331(0x252)]?{..._0x3914c3,'startColumn':Math[_0xcb5331(0x355)](..._0x34bf05),'endColumn':Math[_0xcb5331(0x356)](..._0x34bf05)}:null;});}function _0x91d24e(_0x22fed8){const _0x31aeb2=_0x5241b3;return{'startRow':Math[_0x31aeb2(0x355)](_0x22fed8[_0x31aeb2(0x172)],_0x22fed8[_0x31aeb2(0x324)]),'endRow':Math['max'](_0x22fed8['startRow'],_0x22fed8[_0x31aeb2(0x324)]),'startColumn':Math['min'](_0x22fed8[_0x31aeb2(0x2a1)],_0x22fed8[_0x31aeb2(0x1bd)]),'endColumn':Math['max'](_0x22fed8[_0x31aeb2(0x2a1)],_0x22fed8[_0x31aeb2(0x1bd)])};}function _0x39cb42(_0x5245ea,_0x13fd94,_0x2e6df0){const _0x1cf75c=_0x5241b3;_0x2e64bd(_0x5245ea),_0x13fd94[_0x1cf75c(0x20d)](_0x357906=>{let _0x3d801b=_0x2e6df0(_0x357906);_0x3d801b&&_0x26fca1(_0x5245ea,_0x3d801b);});}function _0x31adf0(_0x3aadb4){const _0x568d01=_0x5241b3;let _0x1e8014=[];return _0x3aadb4[_0x568d01(0x163)][_0x568d01(0x20d)]((_0x1bb419,_0x2bd1d0)=>{const _0x568fd0=_0x568d01;_0x1bb419[_0x568fd0(0x1a6)][_0x568fd0(0x20d)]((_0x46dded,_0x56aa54)=>{let _0x13c1f1=_0x1d9464(_0x46dded),_0x22db53=_0x3692e3(_0x46dded);_0x13c1f1<=0x1&&_0x22db53<=0x1||_0x1e8014['push']({'startRow':_0x2bd1d0,'endRow':_0x2bd1d0+_0x13c1f1-0x1,'startColumn':_0x56aa54,'endColumn':_0x56aa54+_0x22db53-0x1});});}),_0x1e8014;}function _0x2e64bd(_0x535690){const _0x20c2ac=_0x5241b3;_0x535690[_0x20c2ac(0x163)][_0x20c2ac(0x20d)](_0x5161e9=>{const _0x311d17=_0x20c2ac;_0x5161e9[_0x311d17(0x1a6)][_0x311d17(0x20d)](_0xe8a737=>{const _0x3e4431=_0x311d17;delete _0xe8a737[_0x3e4431(0x359)],delete _0xe8a737['columnSpan'];});});}function _0x26fca1(_0x39571d,_0x1396dd){const _0x3465ae=_0x5241b3;var _0xcc10bf;let _0x1fb6ed=_0x91d24e(_0x1396dd),_0x20fab3=_0x1fb6ed['endRow']-_0x1fb6ed['startRow']+0x1,_0x13c734=_0x1fb6ed[_0x3465ae(0x1bd)]-_0x1fb6ed['startColumn']+0x1;if(_0x20fab3<=0x0||_0x13c734<=0x0||_0x20fab3===0x1&&_0x13c734===0x1)return;let _0x11e562=(_0xcc10bf=_0x39571d[_0x3465ae(0x163)][_0x1fb6ed[_0x3465ae(0x172)]])==null?void 0x0:_0xcc10bf['tableCells'][_0x1fb6ed[_0x3465ae(0x2a1)]];_0x11e562&&(_0x11e562[_0x3465ae(0x359)]=_0x20fab3,_0x11e562[_0x3465ae(0x141)]=_0x13c734,_0x174c71(_0x39571d,_0x1fb6ed,(_0x4c38ea,_0xe603da,_0xfc8820)=>{const _0x17d746=_0x3465ae;(_0xe603da!==_0x1fb6ed[_0x17d746(0x172)]||_0xfc8820!==_0x1fb6ed['startColumn'])&&(_0x4c38ea[_0x17d746(0x359)]=0x0,_0x4c38ea['columnSpan']=0x0);}));}function _0x284999(_0x10ea07,_0xf5ea45,_0x4ba947){return _0x10ea07<_0xf5ea45?_0x10ea07:_0x10ea07>_0x4ba947?_0x10ea07-(_0x4ba947-_0xf5ea45+0x1):null;}function _0x253015(_0x5ea2f1){const _0x3af0ee=_0x5241b3;return _0x5ea2f1[_0x3af0ee(0x172)]!==_0x5ea2f1[_0x3af0ee(0x324)]||_0x5ea2f1[_0x3af0ee(0x2a1)]!==_0x5ea2f1[_0x3af0ee(0x1bd)];}function _0x37b142(_0x18e9c3,_0x48f510){const _0x22792e=_0x5241b3;var _0x13d491;let _0x2e7182=(_0x13d491=_0x18e9c3[_0x22792e(0x16e)])==null?void 0x0:_0x13d491[_0x48f510];if(!_0x2e7182)throw Error(_0x22792e(0x19f)+_0x48f510+_0x22792e(0x2ca));return _0x2e7182;}function _0xaa498c(_0x35b0c0,_0x3ac048){const _0x51b250=_0x5241b3;let _0x7886cd=[];return _0x174c71(_0x35b0c0,_0x3ac048,_0x217fc7=>_0x7886cd[_0x51b250(0x190)](_0x217fc7)),_0x7886cd;}function _0x174c71(_0x52d59a,_0x15d6f2,_0x20d34b){const _0x81da53=_0x5241b3;for(let _0x5216cb=_0x15d6f2['startRow'];_0x5216cb<=_0x15d6f2[_0x81da53(0x324)];_0x5216cb++)for(let _0x4c74ad=_0x15d6f2[_0x81da53(0x2a1)];_0x4c74ad<=_0x15d6f2[_0x81da53(0x1bd)];_0x4c74ad++){var _0x6d0713;let _0x19cc56=(_0x6d0713=_0x52d59a[_0x81da53(0x163)][_0x5216cb])==null?void 0x0:_0x6d0713[_0x81da53(0x1a6)][_0x4c74ad];if(!_0x19cc56)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x20d34b(_0x19cc56,_0x5216cb,_0x4c74ad);}}function _0x1d9464(_0x20088f){const _0x46d746=_0x5241b3;return _0x20088f['rowSpan']==null?0x1:_0x20088f[_0x46d746(0x359)];}function _0x3692e3(_0xa3e63b){return _0xa3e63b['columnSpan']==null?0x1:_0xa3e63b['columnSpan'];}function _0x2d987c(_0x2f56af,_0x338889){const _0x566c12=_0x5241b3;return _0x2f56af['startRow']<=_0x338889[_0x566c12(0x324)]&&_0x2f56af[_0x566c12(0x324)]>=_0x338889[_0x566c12(0x172)]&&_0x2f56af[_0x566c12(0x2a1)]<=_0x338889[_0x566c12(0x1bd)]&&_0x2f56af[_0x566c12(0x1bd)]>=_0x338889['startColumn'];}function _0x4f5e4e(_0xc1f49f,_0x10b001){const _0x2f2759=_0x5241b3;return _0xc1f49f['startRow']===_0x10b001[_0x2f2759(0x172)]&&_0xc1f49f[_0x2f2759(0x324)]===_0x10b001['endRow']&&_0xc1f49f['startColumn']===_0x10b001[_0x2f2759(0x2a1)]&&_0xc1f49f['endColumn']===_0x10b001[_0x2f2759(0x1bd)];}function _0x46dc9d(_0x484a20){const _0x1f4ec2=_0x5241b3;return{..._0x484a20,'columnTypes':_0x484a20[_0x1f4ec2(0x2c2)]?{..._0x484a20[_0x1f4ec2(0x2c2)]}:void 0x0};}function _0x5d50ee(_0x3d574a){const _0x47b87d=_0x5241b3;let _0x588497={};return Object['entries']((_0x3d574a==null?void 0x0:_0x3d574a[_0x47b87d(0x1ad)])??{})[_0x47b87d(0x20d)](([_0x5adc70,_0x149e4b])=>{_0x588497[_0x5adc70]=_0x46dc9d(_0x149e4b);}),{'tables':_0x588497};}function _0x24bd99(_0x21b064,_0x458e5f,_0x317113){const _0x2beb64=_0x5241b3;let _0x2818e1=_0x5d50ee(_0x21b064);return{'tables':{..._0x2818e1['tables'],[_0x458e5f]:{..._0x2818e1[_0x2beb64(0x1ad)][_0x458e5f]??{},'headerRowCount':Math[_0x2beb64(0x356)](0x0,_0x317113)}}};}function _0x4cad2e(_0x150732,_0x42b1de,_0x4856d1){const _0x10efbf=_0x5241b3;let _0x1bd1e4=_0x5d50ee(_0x150732);return{'tables':{..._0x1bd1e4[_0x10efbf(0x1ad)],[_0x42b1de]:{..._0x1bd1e4[_0x10efbf(0x1ad)][_0x42b1de]??{},'titleRow':_0x4856d1}}};}function _0x47c4d7(_0x19380f,_0x27a003,_0x28fb3a,_0x2b19d5){const _0x5bcef9=_0x5241b3;let _0x5493f=_0x5d50ee(_0x19380f),_0x4cc721=_0x5493f['tables'][_0x27a003]??{};return{'tables':{..._0x5493f[_0x5bcef9(0x1ad)],[_0x27a003]:{..._0x4cc721,'columnTypes':{..._0x4cc721[_0x5bcef9(0x2c2)]??{},[_0x28fb3a]:_0x2b19d5}}}};}function _0x28f9a9(_0x19c370,_0x5a66bb){const _0x2fe041=_0x5241b3;var _0x47de1f,_0x4168f9,_0x5e01d2;let _0x37a5d8=_0x19c370['tableColumns'],_0x519d38=_0x19c370['docsTableMetadataVersion']===0x1||_0x37a5d8[_0x2fe041(0x277)](_0x39c461=>_0x39c461[_0x2fe041(0x329)]!==void 0x0),_0x11f061={};_0x37a5d8[_0x2fe041(0x20d)]((_0x3af5eb,_0x36247d)=>{const _0x5ca983=_0x2fe041;var _0x1f7a78;let _0x35c6ad=_0x519d38?_0x3af5eb['docsTableType']??_0x3af5eb[_0x5ca983(0x33a)]:_0x5a66bb==null||(_0x1f7a78=_0x5a66bb[_0x5ca983(0x2c2)])==null?void 0x0:_0x1f7a78[_0x36247d];_0x35c6ad&&(_0x11f061[_0x36247d]=_0x2752e6[_0x5ca983(0x1a3)][_0x5ca983(0x2b9)](_0x35c6ad));});let _0x112a11=_0x19c370[_0x2fe041(0x163)],_0x3330e1=0x0;for(let _0x5ca107 of _0x112a11){if((_0x5ca107[_0x2fe041(0x139)]??_0x5ca107[_0x2fe041(0x149)])!==_0x2752e6[_0x2fe041(0x2a8)][_0x2fe041(0x240)])break;_0x3330e1++;}let _0x24e9da=_0x19c370[_0x2fe041(0x20f)]===0x1,_0x3743da=((_0x47de1f=_0x112a11[0x0])==null?void 0x0:_0x47de1f['docsTableTitleRow'])??((_0x4168f9=_0x112a11[0x0])==null?void 0x0:_0x4168f9['docsTableLegacyTitleRow'])??(!_0x24e9da&&(_0x5a66bb==null?void 0x0:_0x5a66bb[_0x2fe041(0x154)]))??!0x1;return{'headerRowCount':_0x24e9da||_0x112a11['some'](_0xd84ca3=>_0xd84ca3['repeatHeaderRow']!==void 0x0)?_0x3330e1:(_0x5a66bb==null?void 0x0:_0x5a66bb[_0x2fe041(0x2d4)])??0x0,'titleRow':_0x3743da&&((_0x5e01d2=_0x19c370[_0x2fe041(0x163)][0x0])==null||(_0x5e01d2=_0x5e01d2[_0x2fe041(0x1a6)][0x0])==null?void 0x0:_0x5e01d2[_0x2fe041(0x141)])===_0x37a5d8[_0x2fe041(0x252)],...Object['keys'](_0x11f061)['length']?{'columnTypes':_0x11f061}:{}};}function _0x4fa986(_0x5a219d,_0x52318b){const _0x37c12f=_0x5241b3;let _0x521a57={};for(let [_0x465a28,_0x4b84dd]of Object[_0x37c12f(0x28b)](_0x5a219d[_0x37c12f(0x16e)]??{}))_0x521a57[_0x465a28]=_0x28f9a9(_0x4b84dd,_0x52318b[_0x37c12f(0x1ad)][_0x465a28]);return{'tables':_0x521a57};}function _0x30ee9f(_0x3e41ba,_0x56fa39){const _0x350f01=_0x5241b3;if(_0x3e41ba[_0x350f01(0x20f)]===0x1)return null;let _0x2ac3d1=_0x2752e6[_0x350f01(0x305)][_0x350f01(0x24d)](),_0x7df6de=_0x3e41ba[_0x350f01(0x25c)][_0x350f01(0x1b5)]((_0x4d7675,_0x2e3993,_0x36ff9e)=>{const _0x4ebd74=_0x350f01;var _0xf88cfa;return _0x2752e6['JSONX'][_0x4ebd74(0x34a)](_0x4d7675,_0x2ac3d1['insertOp']([_0x4ebd74(0x16e),_0x3e41ba[_0x4ebd74(0x135)],'tableColumns',_0x36ff9e,_0x4ebd74(0x33a)],_0x2752e6[_0x4ebd74(0x1a3)][_0x4ebd74(0x2b9)]((_0x56fa39==null||(_0xf88cfa=_0x56fa39['columnTypes'])==null?void 0x0:_0xf88cfa[_0x36ff9e])??null)));},null);return _0x3e41ba[_0x350f01(0x163)][_0x350f01(0x20d)]((_0x21e736,_0x8052e6)=>{const _0x121d08=_0x350f01;_0x21e736[_0x121d08(0x1a6)][_0x121d08(0x20d)]((_0x398ca9,_0x2e1615)=>{const _0x4fc3da=_0x121d08;_0x398ca9[_0x4fc3da(0x1db)]||(_0x7df6de=_0x2752e6[_0x4fc3da(0x305)]['compose'](_0x7df6de,_0x2ac3d1[_0x4fc3da(0x2ea)]([_0x4fc3da(0x16e),_0x3e41ba['tableId'],_0x4fc3da(0x163),_0x8052e6,_0x4fc3da(0x1a6),_0x2e1615,'docsTableCellId'],_0x4fc3da(0x1ea)+_0x8052e6+':'+_0x2e1615)));}),_0x7df6de=_0x2752e6[_0x121d08(0x305)][_0x121d08(0x34a)](_0x7df6de,_0x2ac3d1[_0x121d08(0x2ea)](['tableSource',_0x3e41ba[_0x121d08(0x135)],_0x121d08(0x163),_0x8052e6,_0x121d08(0x149)],_0x8052e6<((_0x56fa39==null?void 0x0:_0x56fa39[_0x121d08(0x2d4)])??0x0)?_0x2752e6[_0x121d08(0x2a8)][_0x121d08(0x240)]:_0x2752e6['BooleanNumber']['FALSE']));}),_0x3e41ba['tableRows'][_0x350f01(0x252)]&&(_0x7df6de=_0x2752e6[_0x350f01(0x305)][_0x350f01(0x34a)](_0x7df6de,_0x2ac3d1[_0x350f01(0x2ea)](['tableSource',_0x3e41ba[_0x350f01(0x135)],_0x350f01(0x163),0x0,_0x350f01(0x34d)],(_0x56fa39==null?void 0x0:_0x56fa39[_0x350f01(0x154)])??!0x1))),_0x2752e6[_0x350f01(0x305)]['compose'](_0x7df6de,_0x2ac3d1[_0x350f01(0x2ea)]([_0x350f01(0x16e),_0x3e41ba['tableId'],_0x350f01(0x20f)],0x1));}function _0x3bd905(_0x693b61,_0x41dff3,_0x164825,_0x5727ef){const _0x346311=_0x5241b3;var _0x33c090;let _0x5b40d1=_0x693b61[_0x346311(0x25c)][_0x41dff3][_0x346311(0x329)],_0x5a2af2=(_0x33c090=_0x28f9a9(_0x693b61,_0x5727ef)[_0x346311(0x2c2)])==null?void 0x0:_0x33c090[_0x41dff3];if(JSON[_0x346311(0x298)](_0x5a2af2)===JSON[_0x346311(0x298)](_0x164825))return null;let _0x390a55=[_0x346311(0x16e),_0x693b61['tableId'],_0x346311(0x25c),_0x41dff3,_0x346311(0x329)],_0x121d4f=_0x2752e6['Tools'][_0x346311(0x2b9)](_0x164825);return _0x5b40d1===void 0x0?_0x2752e6[_0x346311(0x305)][_0x346311(0x24d)]()[_0x346311(0x2ea)](_0x390a55,_0x121d4f):_0x2752e6['JSONX'][_0x346311(0x24d)]()[_0x346311(0x1e7)](_0x390a55,_0x5b40d1,_0x121d4f);}let _0x36b2eb=function(_0x21f02e){const _0x2851a0=_0x5241b3;return _0x21f02e['Above']=_0x2851a0(0x142),_0x21f02e[_0x2851a0(0x30c)]='below',_0x21f02e[_0x2851a0(0x15a)]='left',_0x21f02e['Right']=_0x2851a0(0x29d),_0x21f02e;}({}),_0x21d184={'Above':_0x5241b3(0x142),'Below':'below'},_0x28af73={'Left':_0x5241b3(0x28f),'Right':_0x5241b3(0x29d)};function _0x14bc76(_0x1757be){const _0x484452=_0x5241b3;let {documentData:_0x4d91e1,tableId:_0x5e64ac,row:_0x47c428,count:_0x538576,position:_0x2765de}=_0x1757be,_0x5f2bdc=_0x5ffbbb(_0x4d91e1,{'tableIds':[_0x5e64ac]}),_0x3c0bf2=_0x575568(_0x5f2bdc,_0x5e64ac),_0x11d598=_0x2fe536(_0x5f2bdc,_0x5e64ac),_0x6fb88f=_0x2765de===_0x484452(0x142)?_0x47c428:_0x47c428+0x1,_0x1ff66e=_0x3c0bf2['tableRows'][Math['min'](_0x47c428,_0x3c0bf2[_0x484452(0x163)][_0x484452(0x252)]-0x1)],_0x528038=Array['from']({'length':_0x538576},()=>_0x1fb96a(_0x1ff66e)),_0x2806c7=_0x31adf0(_0x3c0bf2),_0x5159a5=_0x2765de===_0x484452(0x142)?_0x2c94b9(_0x11d598,_0x47c428)[_0x484452(0x1fe)]:_0x2c94b9(_0x11d598,_0x47c428)[_0x484452(0x2a0)]+0x1,_0x119c07=_0x559f3b(_0x55679d(_0x3c0bf2[_0x484452(0x25c)][_0x484452(0x252)]),_0x538576);return _0x3c0bf2[_0x484452(0x163)][_0x484452(0x29e)](_0x6fb88f,0x0,..._0x528038),_0x1eb17e(_0x3c0bf2,_0x6fb88f,_0x538576,_0x2806c7),_0x1eac75(_0x5f2bdc,_0x5e64ac,_0x5159a5,_0x119c07),{'nextDocumentData':_0x5f2bdc,'nextMetadata':_0x1757be[_0x484452(0x18a)]?_0x5d50ee(_0x1757be[_0x484452(0x18a)]):void 0x0,'cursor':{'row':_0x6fb88f,'column':0x0}};}function _0x332841(_0x47f618){const _0x1e4f9e=_0x5241b3;var _0x3cec89;let {documentData:_0x5585fe,tableId:_0x2be5d1,column:_0x291c30,count:_0x5b1e94,position:_0x2f032d}=_0x47f618,_0x248d01=_0x5ffbbb(_0x5585fe,{'tableIds':[_0x2be5d1]}),_0x4ff02b=_0x575568(_0x248d01,_0x2be5d1),_0x14fd21=_0x2fe536(_0x248d01,_0x2be5d1),_0x494448=_0x2f032d==='left'?_0x291c30:_0x291c30+0x1,_0x104ef2=_0x4ff02b['tableColumns'][Math['min'](_0x291c30,_0x4ff02b[_0x1e4f9e(0x25c)][_0x1e4f9e(0x252)]-0x1)],_0x510472=_0x47f618[_0x1e4f9e(0x346)]??_0x104ef2['size'][_0x1e4f9e(0x330)]['v'],_0x2c5d16=Array[_0x1e4f9e(0x32c)]({'length':_0x5b1e94},()=>{const _0x201649=_0x1e4f9e;let _0x2b2ff7=_0x2752e6['Tools'][_0x201649(0x2b9)](_0x104ef2);return _0x2b2ff7['size'][_0x201649(0x330)]['v']=_0x510472,_0x2b2ff7;}),_0x2697c0=_0x31adf0(_0x4ff02b);return _0x4ff02b[_0x1e4f9e(0x25c)][_0x1e4f9e(0x29e)](_0x494448,0x0,..._0x2c5d16),_0x4ff02b[_0x1e4f9e(0x163)][_0x1e4f9e(0x20d)](_0x33f39a=>{const _0x57bc07=_0x1e4f9e;let _0x48b83f=_0x33f39a[_0x57bc07(0x1a6)][Math[_0x57bc07(0x355)](_0x291c30,_0x33f39a[_0x57bc07(0x1a6)][_0x57bc07(0x252)]-0x1)],_0xa35c7=Array[_0x57bc07(0x32c)]({'length':_0x5b1e94},()=>_0x4e00f7(_0x48b83f));_0x33f39a['tableCells'][_0x57bc07(0x29e)](_0x494448,0x0,..._0xa35c7);}),_0x409d3f(_0x4ff02b,_0x494448,_0x5b1e94,_0x2697c0),_0xa97b3e(_0x248d01,_0x2be5d1,_0x14fd21,_0x291c30,_0x5b1e94,_0x2f032d),_0x47f618[_0x1e4f9e(0x326)]??!0x0?_0x4a1464(_0x4ff02b,_0x510472*_0x5b1e94):(_0x3cec89=_0x4ff02b[_0x1e4f9e(0x145)])!=null&&_0x3cec89[_0x1e4f9e(0x330)]&&(_0x4ff02b['size']['width']['v']=_0x4ff02b['tableColumns']['reduce']((_0x2c0784,_0x42892f)=>_0x2c0784+_0x42892f[_0x1e4f9e(0x145)][_0x1e4f9e(0x330)]['v'],0x0)),{'nextDocumentData':_0x248d01,'nextMetadata':_0x47f618[_0x1e4f9e(0x18a)]?_0x5d50ee(_0x47f618[_0x1e4f9e(0x18a)]):void 0x0,'cursor':{'row':0x0,'column':_0x494448}};}function _0x220a73(_0x5ae717){const _0x3e0818=_0x5241b3;let {documentData:_0x2a9174,metadata:_0x45f029,tableId:_0x5d7dde}=_0x5ae717,_0x493471=_0x5ffbbb(_0x2a9174,{'tableIds':[_0x5d7dde]}),_0x4eaf05=_0x575568(_0x493471,_0x5d7dde),_0xdaf755=Math['min'](_0x5ae717[_0x3e0818(0x172)],_0x5ae717['endRow']),_0x406cb8=Math[_0x3e0818(0x356)](_0x5ae717['startRow'],_0x5ae717['endRow']),_0x224a6d=_0x406cb8-_0xdaf755+0x1,_0x1672c8=_0x31adf0(_0x4eaf05);return _0x224a6d>=_0x4eaf05[_0x3e0818(0x163)][_0x3e0818(0x252)]?{..._0x36559d({'documentData':_0x2a9174,'metadata':_0x45f029,'tableId':_0x5d7dde}),'deleteTable':!0x0}:(_0x1a5342(_0x493471,_0x5d7dde,_0xdaf755,_0x406cb8),_0x4eaf05[_0x3e0818(0x163)][_0x3e0818(0x29e)](_0xdaf755,_0x224a6d),_0x408df4(_0x4eaf05,_0xdaf755,_0x406cb8,_0x1672c8),{'nextDocumentData':_0x493471,'nextMetadata':_0x57cd7c(_0x45f029,_0x5d7dde,_0xdaf755,_0x406cb8),'cursor':{'row':Math[_0x3e0818(0x355)](_0xdaf755,_0x4eaf05[_0x3e0818(0x163)][_0x3e0818(0x252)]-0x1),'column':0x0}});}function _0x2aa21e(_0x40e6c1){const _0x5cd3aa=_0x5241b3;let {documentData:_0x1f11c5,metadata:_0x2a539a,tableId:_0x23e466}=_0x40e6c1,_0x2af072=_0x5ffbbb(_0x1f11c5,{'tableIds':[_0x23e466]}),_0x318894=_0x575568(_0x2af072,_0x23e466),_0x1fa5c0=Math[_0x5cd3aa(0x355)](_0x40e6c1[_0x5cd3aa(0x2a1)],_0x40e6c1[_0x5cd3aa(0x1bd)]),_0x3749cc=Math[_0x5cd3aa(0x356)](_0x40e6c1[_0x5cd3aa(0x2a1)],_0x40e6c1[_0x5cd3aa(0x1bd)]),_0x1acbfe=_0x3749cc-_0x1fa5c0+0x1,_0x44bc88=_0x31adf0(_0x318894);return _0x1acbfe>=_0x318894[_0x5cd3aa(0x25c)][_0x5cd3aa(0x252)]?{..._0x36559d({'documentData':_0x1f11c5,'metadata':_0x2a539a,'tableId':_0x23e466}),'deleteTable':!0x0}:(_0x367cc5(_0x2af072,_0x23e466,_0x1fa5c0,_0x3749cc),_0x318894[_0x5cd3aa(0x25c)]['splice'](_0x1fa5c0,_0x1acbfe),_0x318894[_0x5cd3aa(0x163)]['forEach'](_0x2b44be=>_0x2b44be[_0x5cd3aa(0x1a6)][_0x5cd3aa(0x29e)](_0x1fa5c0,_0x1acbfe)),_0x27a2eb(_0x318894,_0x1fa5c0,_0x3749cc,_0x44bc88),{'nextDocumentData':_0x2af072,'nextMetadata':_0x2a539a?_0x5d50ee(_0x2a539a):void 0x0,'cursor':{'row':0x0,'column':Math[_0x5cd3aa(0x355)](_0x1fa5c0,_0x318894[_0x5cd3aa(0x25c)][_0x5cd3aa(0x252)]-0x1)}});}function _0x36559d(_0x3d35ed){const _0x163101=_0x5241b3;let {documentData:_0x29353a,tableId:_0x255131}=_0x3d35ed,_0x25e86b=_0x5ffbbb(_0x29353a),_0x2c9f5e={..._0x25e86b['tableSource']??{}},_0x47f86c=_0x3d35ed[_0x163101(0x18a)]?_0x5d50ee(_0x3d35ed[_0x163101(0x18a)]):void 0x0;return _0x1ad5ed(_0x25e86b,_0x255131),delete _0x2c9f5e[_0x255131],_0x25e86b[_0x163101(0x16e)]=_0x2c9f5e,_0x47f86c&&delete _0x47f86c[_0x163101(0x1ad)][_0x255131],{'nextDocumentData':_0x25e86b,'nextMetadata':_0x47f86c,'cursor':{'row':0x0,'column':0x0},'deleteTable':!0x0};}function _0x1eb22f(_0x1676ac){const _0x18638d=_0x5241b3;let _0x1e4ed1=_0x5ffbbb(_0x1676ac[_0x18638d(0x2a3)],{'tableIds':[_0x1676ac['tableId']]}),_0x1e6abf=_0x575568(_0x1e4ed1,_0x1676ac[_0x18638d(0x135)]),_0x29d5e5=_0x2fe536(_0x1e4ed1,_0x1676ac['tableId']),_0x3033d6=_0x1676ac['count']??0x1,_0x52d0f8=_0x1b6335(_0x1676ac[_0x18638d(0x34b)],_0x1e6abf[_0x18638d(0x163)]['length']-0x1),_0x5bf94d=_0x1b6335(_0x1676ac[_0x18638d(0x159)],_0x1e6abf[_0x18638d(0x163)][_0x18638d(0x252)]-0x1),_0x54e343=Math[_0x18638d(0x355)](_0x1e6abf[_0x18638d(0x163)][_0x18638d(0x252)]-0x1,_0x52d0f8+_0x3033d6-0x1),_0x555f4a=_0x54e343-_0x52d0f8+0x1,_0x27323e=_0x1676ac[_0x18638d(0x27a)]==='above'?_0x5bf94d:_0x5bf94d+0x1;if(_0x555f4a<=0x0||_0x27323e>=_0x52d0f8&&_0x27323e<=_0x54e343+0x1)return{'nextDocumentData':_0x1e4ed1,'nextMetadata':_0x1676ac[_0x18638d(0x18a)]?_0x5d50ee(_0x1676ac[_0x18638d(0x18a)]):void 0x0,'cursor':{'row':_0x52d0f8,'column':0x0}};let _0x2a6e81=_0x1e6abf[_0x18638d(0x163)]['splice'](_0x52d0f8,_0x555f4a),_0x16f74f=_0x27323e>_0x54e343?_0x27323e-_0x555f4a:_0x27323e;_0x1e6abf[_0x18638d(0x163)][_0x18638d(0x29e)](_0x16f74f,0x0,..._0x2a6e81);let _0x4b9109=_0x2c94b9(_0x29d5e5,_0x52d0f8)[_0x18638d(0x1fe)],_0x2d6478=_0x2c94b9(_0x29d5e5,_0x54e343)[_0x18638d(0x2a0)]+0x1,_0x540368=_0x27323e>_0x54e343?_0x2c94b9(_0x29d5e5,Math['min'](_0x5bf94d,_0x29d5e5[_0x18638d(0x191)]-0x1))['endOffset']+0x1:_0x2c94b9(_0x29d5e5,_0x5bf94d)[_0x18638d(0x1fe)];return _0x415755(_0x1e4ed1['body'],_0x4b9109,_0x2d6478,_0x540368),{'nextDocumentData':_0x1e4ed1,'nextMetadata':_0x1676ac['metadata']?_0x5d50ee(_0x1676ac[_0x18638d(0x18a)]):void 0x0,'cursor':{'row':_0x16f74f,'column':0x0}};}function _0x4c6160(_0x48e72c){const _0x13a3b8=_0x5241b3;let _0x255a8e=_0x5ffbbb(_0x48e72c[_0x13a3b8(0x2a3)],{'tableIds':[_0x48e72c['tableId']]}),_0x1bd2a2=_0x575568(_0x255a8e,_0x48e72c['tableId']),_0x1f6270=_0x2fe536(_0x255a8e,_0x48e72c[_0x13a3b8(0x135)]),_0x1a84c1=_0x48e72c[_0x13a3b8(0x320)]??0x1,_0x35f9d9=_0x1b6335(_0x48e72c[_0x13a3b8(0x29b)],_0x1bd2a2[_0x13a3b8(0x25c)][_0x13a3b8(0x252)]-0x1),_0x27cd2a=_0x1b6335(_0x48e72c['toColumn'],_0x1bd2a2[_0x13a3b8(0x25c)][_0x13a3b8(0x252)]-0x1),_0x1700a1=Math[_0x13a3b8(0x355)](_0x1bd2a2[_0x13a3b8(0x25c)][_0x13a3b8(0x252)]-0x1,_0x35f9d9+_0x1a84c1-0x1),_0x35286a=_0x1700a1-_0x35f9d9+0x1,_0x1b0d0e=_0x48e72c[_0x13a3b8(0x27a)]===_0x13a3b8(0x28f)?_0x27cd2a:_0x27cd2a+0x1;if(_0x35286a<=0x0||_0x1b0d0e>=_0x35f9d9&&_0x1b0d0e<=_0x1700a1+0x1)return{'nextDocumentData':_0x255a8e,'nextMetadata':_0x48e72c['metadata']?_0x5d50ee(_0x48e72c[_0x13a3b8(0x18a)]):void 0x0,'cursor':{'row':0x0,'column':_0x35f9d9}};let _0x15fd1e=_0x1bd2a2['tableColumns'][_0x13a3b8(0x29e)](_0x35f9d9,_0x35286a),_0x5b71b2=_0x1b0d0e>_0x1700a1?_0x1b0d0e-_0x35286a:_0x1b0d0e;return _0x1bd2a2[_0x13a3b8(0x25c)][_0x13a3b8(0x29e)](_0x5b71b2,0x0,..._0x15fd1e),_0x1bd2a2[_0x13a3b8(0x163)][_0x13a3b8(0x20d)](_0x4ddf3f=>{const _0x1e05cc=_0x13a3b8;let _0x431d24=_0x4ddf3f[_0x1e05cc(0x1a6)]['splice'](_0x35f9d9,_0x35286a);_0x4ddf3f[_0x1e05cc(0x1a6)]['splice'](_0x5b71b2,0x0,..._0x431d24);}),_0x1f6270[_0x13a3b8(0x167)][_0x13a3b8(0x20d)](_0x5190aa=>{const _0x521a24=_0x13a3b8;let _0x5d2840=_0x5190aa[_0x521a24(0x31b)][_0x35f9d9][_0x521a24(0x1fe)],_0x357a26=_0x5190aa[_0x521a24(0x31b)][_0x1700a1][_0x521a24(0x2a0)]+0x1,_0x4633c6=_0x1b0d0e>_0x1700a1?_0x5190aa[_0x521a24(0x31b)][Math[_0x521a24(0x355)](_0x27cd2a,_0x5190aa[_0x521a24(0x31b)][_0x521a24(0x252)]-0x1)]['endOffset']+0x1:_0x5190aa[_0x521a24(0x31b)][_0x27cd2a][_0x521a24(0x1fe)];_0x415755(_0x255a8e[_0x521a24(0x347)],_0x5d2840,_0x357a26,_0x4633c6);}),{'nextDocumentData':_0x255a8e,'nextMetadata':_0x48e72c['metadata']?_0x5d50ee(_0x48e72c[_0x13a3b8(0x18a)]):void 0x0,'cursor':{'row':0x0,'column':_0x5b71b2}};}function _0x575568(_0xee2334,_0x411927){const _0x1b154d=_0x5241b3;var _0x4d0db6;let _0x174fa5=(_0x4d0db6=_0xee2334[_0x1b154d(0x16e)])==null?void 0x0:_0x4d0db6[_0x411927];if(!_0x174fa5)throw Error(_0x1b154d(0x19f)+_0x411927+_0x1b154d(0x2ca));return _0x174fa5;}function _0x2fe536(_0x2409f2,_0x18d0f6){const _0x26824a=_0x5241b3;let _0x436270=_0x48bd87(_0x2409f2,_0x18d0f6);if(!_0x436270)throw Error(_0x26824a(0x19f)+_0x18d0f6+_0x26824a(0x2ed));return _0x436270;}function _0x1fb96a(_0x208358){const _0x407c71=_0x5241b3;let _0x132243=_0x2752e6['Tools'][_0x407c71(0x2b9)](_0x208358);return _0x132243[_0x407c71(0x1a6)]=_0x208358[_0x407c71(0x1a6)][_0x407c71(0x211)](_0x590adf=>_0x4e00f7(_0x590adf)),_0x132243;}function _0x4e00f7(_0xd2e856){const _0x5f081a=_0x5241b3;return _0x2752e6[_0x5f081a(0x1a3)][_0x5f081a(0x2b9)]({..._0xd2e856});}function _0x55679d(_0x1d97c2){const _0x2660e9=_0x5241b3;return''+_0x2752e6[_0x2660e9(0x260)][_0x2660e9(0x23e)]+_0x559f3b(_0x41e7a0(),_0x1d97c2)+_0x2752e6['DataStreamTreeTokenType'][_0x2660e9(0x14d)];}function _0x41e7a0(){const _0x8413a4=_0x5241b3;return _0x2752e6['DataStreamTreeTokenType'][_0x8413a4(0x13b)]+'\x0d\x0a'+_0x2752e6['DataStreamTreeTokenType']['TABLE_CELL_END'];}function _0x559f3b(_0x22aa41,_0xfdef41){const _0x12ddfe=_0x5241b3;return Array[_0x12ddfe(0x32c)]({'length':_0xfdef41},()=>_0x22aa41)['join']('');}function _0xa97b3e(_0x280a99,_0x18ba6f,_0x327483,_0x50640f,_0x3b7bd9,_0x3d0084){const _0x752d64=_0x5241b3;let _0x17d2aa=_0x559f3b(_0x41e7a0(),_0x3b7bd9),_0x29cd40=_0x327483[_0x752d64(0x167)][_0x752d64(0x211)](_0x595d1b=>{const _0x382932=_0x752d64;let _0x54d4d8=_0x595d1b[_0x382932(0x31b)][_0x50640f];return _0x3d0084===_0x382932(0x28f)?_0x54d4d8[_0x382932(0x1fe)]:_0x54d4d8['endOffset']+0x1;})[_0x752d64(0x1e8)]((_0x3afc19,_0x436184)=>_0x436184-_0x3afc19);for(let _0x4e93ba of _0x29cd40)_0x340cde(_0x280a99[_0x752d64(0x347)],_0x4e93ba,_0x17d2aa),_0x280a99[_0x752d64(0x347)]&&(_0x22968a(_0x280a99[_0x752d64(0x347)],_0x4e93ba,_0x17d2aa[_0x752d64(0x252)]),_0x24d769(_0x280a99[_0x752d64(0x347)],_0x4e93ba,_0x17d2aa));_0xc891a0(_0x280a99,_0x18ba6f,_0x327483[_0x752d64(0x2a0)],_0x17d2aa[_0x752d64(0x252)]*_0x29cd40['length']);}function _0x1a5342(_0x286f00,_0x41cbc0,_0x1813b5,_0x2d89df){const _0x2ae0dc=_0x5241b3;let _0x4386cd=_0x2fe536(_0x286f00,_0x41cbc0),_0x59664b=_0x2c94b9(_0x4386cd,_0x1813b5)['startOffset'];_0x36e7e8(_0x286f00,_0x41cbc0,_0x59664b,_0x2c94b9(_0x4386cd,_0x2d89df)[_0x2ae0dc(0x2a0)]+0x1);}function _0x367cc5(_0x5b7100,_0xd67edf,_0x62edc2,_0xf40886){const _0x21134b=_0x5241b3;let _0x339698=_0x2fe536(_0x5b7100,_0xd67edf),_0x2e7483=[];for(let _0x419a60=_0x62edc2;_0x419a60<=_0xf40886;_0x419a60++)_0x2e7483['push'](..._0x14e318(_0x339698,_0x419a60)[_0x21134b(0x31b)][_0x21134b(0x211)](_0x423c1c=>({'startOffset':_0x423c1c[_0x21134b(0x1fe)],'endOffset':_0x423c1c['endOffset']+0x1})));_0x2e7483[_0x21134b(0x1e8)]((_0x286959,_0x3bad64)=>_0x3bad64[_0x21134b(0x1fe)]-_0x286959[_0x21134b(0x1fe)]);let _0x8299da=0x0;for(let _0x2210dd of _0x2e7483){let _0x15209b=_0x2210dd[_0x21134b(0x1fe)]-_0x2210dd[_0x21134b(0x2a0)];_0x8299da-=_0x15209b,_0x2a7c56(_0x5b7100[_0x21134b(0x347)],_0x2210dd['startOffset'],_0x2210dd[_0x21134b(0x2a0)]),_0x5b7100[_0x21134b(0x347)]&&_0x22968a(_0x5b7100[_0x21134b(0x347)],_0x2210dd['startOffset'],_0x15209b);}_0xc891a0(_0x5b7100,_0xd67edf,_0x339698[_0x21134b(0x2a0)],-_0x8299da);}function _0x1ad5ed(_0x577129,_0x1d8f1d){const _0x4ee5f2=_0x5241b3;var _0x44cef2;let _0x5801ac=_0x2fe536(_0x577129,_0x1d8f1d);_0x36e7e8(_0x577129,_0x1d8f1d,_0x5801ac[_0x4ee5f2(0x1fe)],_0x5801ac[_0x4ee5f2(0x2a0)]),(_0x44cef2=_0x577129['body'])!=null&&_0x44cef2[_0x4ee5f2(0x1ad)]&&(_0x577129[_0x4ee5f2(0x347)][_0x4ee5f2(0x1ad)]=_0x577129[_0x4ee5f2(0x347)]['tables'][_0x4ee5f2(0x165)](_0x42e1db=>_0x42e1db[_0x4ee5f2(0x135)]!==_0x1d8f1d));}function _0x1eac75(_0x41eb10,_0x1220bb,_0x4f56a3,_0x15e6ce){const _0x44d8e8=_0x5241b3;_0x340cde(_0x41eb10['body'],_0x4f56a3,_0x15e6ce),_0x2f442f(_0x41eb10,_0x1220bb,_0x4f56a3,_0x15e6ce['length']),_0x41eb10['body']&&_0x24d769(_0x41eb10[_0x44d8e8(0x347)],_0x4f56a3,_0x15e6ce);}function _0x36e7e8(_0x38d506,_0x186da9,_0x5eed1d,_0x3f6003){const _0x3aa67a=_0x5241b3;_0x2a7c56(_0x38d506[_0x3aa67a(0x347)],_0x5eed1d,_0x3f6003),_0x2f442f(_0x38d506,_0x186da9,_0x5eed1d,_0x5eed1d-_0x3f6003);}function _0x340cde(_0x1d6321,_0x34c49a,_0x1f7471){const _0x2959ee=_0x5241b3;_0x1d6321!=null&&_0x1d6321['dataStream']&&(_0x1d6321[_0x2959ee(0x227)]=''+_0x1d6321[_0x2959ee(0x227)]['slice'](0x0,_0x34c49a)+_0x1f7471+_0x1d6321['dataStream']['slice'](_0x34c49a));}function _0x2a7c56(_0x3941c8,_0x53af13,_0x544907){const _0x13c879=_0x5241b3;_0x3941c8!=null&&_0x3941c8[_0x13c879(0x227)]&&(_0x3941c8['dataStream']=''+_0x3941c8[_0x13c879(0x227)][_0x13c879(0x233)](0x0,_0x53af13)+_0x3941c8['dataStream'][_0x13c879(0x233)](_0x544907));}function _0x415755(_0x8daace,_0x54742f,_0x5367bc,_0x347523){const _0x350ee8=_0x5241b3;if(!(_0x8daace!=null&&_0x8daace[_0x350ee8(0x227)])||_0x347523>=_0x54742f&&_0x347523<=_0x5367bc)return;let _0x3ebfc1=_0x8daace[_0x350ee8(0x227)][_0x350ee8(0x233)](_0x54742f,_0x5367bc),_0x1ef71c=''+_0x8daace[_0x350ee8(0x227)][_0x350ee8(0x233)](0x0,_0x54742f)+_0x8daace[_0x350ee8(0x227)][_0x350ee8(0x233)](_0x5367bc),_0x4a59a1=_0x347523>_0x5367bc?_0x347523-_0x3ebfc1[_0x350ee8(0x252)]:_0x347523;_0x8daace[_0x350ee8(0x227)]=''+_0x1ef71c[_0x350ee8(0x233)](0x0,_0x4a59a1)+_0x3ebfc1+_0x1ef71c[_0x350ee8(0x233)](_0x4a59a1);}function _0x1b6335(_0x5894d4,_0x22b94b){const _0x184c93=_0x5241b3;return Math[_0x184c93(0x355)](Math['max'](0x0,_0x5894d4),Math['max'](0x0,_0x22b94b));}function _0x2f442f(_0x37d26c,_0x2aae9c,_0x4698d9,_0x1d68a7){let _0xb0b514=_0x37d26c['body'];_0xb0b514&&_0x1d68a7!==0x0&&(_0xc891a0(_0x37d26c,_0x2aae9c,_0x4698d9,_0x1d68a7),_0x22968a(_0xb0b514,_0x4698d9,_0x1d68a7));}function _0xc891a0(_0x9d02cc,_0x4acf53,_0x465b0c,_0x59f503){const _0x41e021=_0x5241b3;let _0x4d75b6=_0x9d02cc[_0x41e021(0x347)];_0x4d75b6!=null&&_0x4d75b6['tables']&&_0x59f503!==0x0&&(_0x4d75b6['tables']&&=_0x4d75b6[_0x41e021(0x1ad)][_0x41e021(0x211)](_0x3f6fa9=>_0x3f6fa9[_0x41e021(0x135)]===_0x4acf53?{..._0x3f6fa9,'endIndex':_0x3f6fa9['endIndex']+_0x59f503}:_0x3f6fa9[_0x41e021(0x2eb)]>=_0x465b0c?{..._0x3f6fa9,'startIndex':_0x3f6fa9[_0x41e021(0x2eb)]+_0x59f503,'endIndex':_0x3f6fa9[_0x41e021(0x1fc)]+_0x59f503}:_0x3f6fa9));}function _0x22968a(_0x41ad14,_0x2cecdd,_0x34df7b){const _0x274b32=_0x5241b3;var _0x292c26,_0x13ee40,_0x8229ae,_0x532b3a,_0x3d116e,_0x57f287,_0x5691a6,_0xf7b139;let _0x4901c3=_0x3c6382(_0x41ad14);_0x41ad14[_0x274b32(0x2b5)]=(_0x292c26=_0x41ad14['paragraphs'])==null?void 0x0:_0x292c26['map'](_0x407521=>{const _0x20b106=_0x274b32;let _0x4cf10d=_0x2759d3(_0x407521[_0x20b106(0x2eb)],_0x2cecdd,_0x34df7b);return _0x4cf10d==null?null:{..._0x407521,'startIndex':_0x4cf10d};})['filter'](_0x297910=>_0x297910!=null),_0x41ad14[_0x274b32(0x27c)]=(_0x13ee40=_0x41ad14[_0x274b32(0x27c)])==null?void 0x0:_0x13ee40['map'](_0x3b9548=>{const _0x2da0ee=_0x274b32;let _0x547894=_0x2759d3(_0x3b9548[_0x2da0ee(0x2eb)],_0x2cecdd,_0x34df7b);return _0x547894==null?null:{..._0x3b9548,'startIndex':_0x547894};})[_0x274b32(0x165)](_0x1fc899=>_0x1fc899!=null),_0x41ad14[_0x274b32(0x350)]=(_0x8229ae=_0x41ad14[_0x274b32(0x350)])==null?void 0x0:_0x8229ae[_0x274b32(0x211)](_0x1bb4cb=>{let _0x4effb2=_0x2759d3(_0x1bb4cb['startIndex'],_0x2cecdd,_0x34df7b);return _0x4effb2==null?null:{..._0x1bb4cb,'startIndex':_0x4effb2};})['filter'](_0xe92c21=>_0xe92c21!=null),_0x41ad14[_0x274b32(0x2aa)]=(_0x532b3a=_0x41ad14[_0x274b32(0x2aa)])==null?void 0x0:_0x532b3a['map'](_0xccbd17=>{const _0x2bdedf=_0x274b32;let _0x32bb36=_0x5d5f5a(_0xccbd17['startIndex'],_0xccbd17['endIndex'],_0x2cecdd,_0x34df7b);return _0x32bb36==null?null:{..._0xccbd17,'startIndex':_0x32bb36['start'],'endIndex':_0x32bb36[_0x2bdedf(0x247)]};})[_0x274b32(0x165)](_0x14d947=>_0x14d947!=null),_0x41ad14[_0x274b32(0x17f)]=(_0x3d116e=_0x41ad14[_0x274b32(0x17f)])==null?void 0x0:_0x3d116e[_0x274b32(0x211)](_0x5ad28d=>{const _0xbaff16=_0x274b32;let _0x179687=_0x5d5f5a(_0x5ad28d['st'],_0x5ad28d['ed'],_0x2cecdd,_0x34df7b);return _0x179687==null?null:{..._0x5ad28d,'st':_0x179687[_0xbaff16(0x203)],'ed':_0x179687['end']};})['filter'](_0x2ec556=>_0x2ec556!=null),_0x41ad14[_0x274b32(0x2e3)]=(_0x57f287=_0x41ad14[_0x274b32(0x2e3)])==null?void 0x0:_0x57f287['map'](_0xa2df19=>{const _0x12716a=_0x274b32;let _0x3efba1=_0x5d5f5a(_0xa2df19[_0x12716a(0x2eb)],_0xa2df19[_0x12716a(0x1fc)],_0x2cecdd,_0x34df7b);return _0x3efba1==null?null:{..._0xa2df19,'startIndex':_0x3efba1['start'],'endIndex':_0x3efba1[_0x12716a(0x247)]};})[_0x274b32(0x165)](_0x16875d=>_0x16875d!=null),_0x41ad14[_0x274b32(0x1f2)]=(_0x5691a6=_0x41ad14[_0x274b32(0x1f2)])==null?void 0x0:_0x5691a6[_0x274b32(0x211)](_0x10279f=>{const _0x5bdcda=_0x274b32;let _0x4baa10=_0x5d5f5a(_0x10279f[_0x5bdcda(0x2eb)],_0x10279f[_0x5bdcda(0x1fc)],_0x2cecdd,_0x34df7b);return _0x4baa10==null?null:{..._0x10279f,'startIndex':_0x4baa10[_0x5bdcda(0x203)],'endIndex':_0x4baa10[_0x5bdcda(0x247)]};})[_0x274b32(0x165)](_0x26e9cd=>_0x26e9cd!=null),_0x4901c3['columnGroups']=(_0xf7b139=_0x4901c3[_0x274b32(0x336)])==null?void 0x0:_0xf7b139[_0x274b32(0x211)](_0x5a94ee=>{const _0x4aae3a=_0x274b32;let _0x3b6ac3=_0x5d5f5a(_0x5a94ee['startIndex'],_0x5a94ee[_0x4aae3a(0x1fc)],_0x2cecdd,_0x34df7b);return _0x3b6ac3==null?null:{..._0x5a94ee,'startIndex':_0x3b6ac3[_0x4aae3a(0x203)],'endIndex':_0x3b6ac3[_0x4aae3a(0x247)]};})[_0x274b32(0x165)](_0x5cbedb=>_0x5cbedb!=null);}function _0x24d769(_0x4e5a68,_0x2f90b4,_0x4bd6d5){const _0x16234b=_0x5241b3;let _0x2697c4=_0x3f5bcb(_0x4e5a68),_0x588466=new Set((_0x4e5a68[_0x16234b(0x27c)]??[])[_0x16234b(0x211)](_0x3fe220=>_0x3fe220[_0x16234b(0x1d7)])),_0x5b77c2=_0xdb569f(_0x4bd6d5,'\x0d')['map'](_0x4d3969=>({'startIndex':_0x2f90b4+_0x4d3969,'paragraphId':(0x0,_0x2752e6[_0x16234b(0x204)])(_0x2697c4)})),_0x168327=_0xdb569f(_0x4bd6d5,'\x0a')[_0x16234b(0x211)](_0x3c6300=>({'startIndex':_0x2f90b4+_0x3c6300,'sectionId':(0x0,_0x2752e6['createSectionId'])(_0x588466)}));_0x5b77c2[_0x16234b(0x252)]&&(_0x4e5a68[_0x16234b(0x2b5)]=[..._0x4e5a68[_0x16234b(0x2b5)]??[],..._0x5b77c2][_0x16234b(0x1e8)]((_0x2817b7,_0x555c6f)=>_0x2817b7[_0x16234b(0x2eb)]-_0x555c6f[_0x16234b(0x2eb)])),_0x168327['length']&&(_0x4e5a68[_0x16234b(0x27c)]=[..._0x4e5a68[_0x16234b(0x27c)]??[],..._0x168327][_0x16234b(0x1e8)]((_0x455795,_0x557caf)=>_0x455795[_0x16234b(0x2eb)]-_0x557caf[_0x16234b(0x2eb)]));}function _0x3f5bcb(_0x3673f5){const _0x3fcf51=_0x5241b3;return new Set((_0x3673f5[_0x3fcf51(0x2b5)]??[])['map'](_0x2eeca3=>_0x2eeca3['paragraphId']));}function _0xdb569f(_0x5758a2,_0x42ed66){const _0x59325e=_0x5241b3;let _0x36c2f8=[];for(let _0x5354de=0x0;_0x5354de<_0x5758a2[_0x59325e(0x252)];_0x5354de++)_0x5758a2[_0x5354de]===_0x42ed66&&_0x36c2f8[_0x59325e(0x190)](_0x5354de);return _0x36c2f8;}function _0x2759d3(_0x5813d1,_0x4f3837,_0x56ef56){if(_0x56ef56>=0x0)return _0x5813d1>=_0x4f3837?_0x5813d1+_0x56ef56:_0x5813d1;let _0x4f09e2=_0x4f3837-_0x56ef56;return _0x5813d1>=_0x4f3837&&_0x5813d1<_0x4f09e2?null:_0x5813d1>=_0x4f09e2?_0x5813d1+_0x56ef56:_0x5813d1;}function _0x5d5f5a(_0xf775e2,_0x3148b4,_0x1ed3d4,_0x5f3a72){if(_0x5f3a72>=0x0)return{'end':_0x3148b4>=_0x1ed3d4?_0x3148b4+_0x5f3a72:_0x3148b4,'start':_0xf775e2>=_0x1ed3d4?_0xf775e2+_0x5f3a72:_0xf775e2};let _0x5db21f=_0x1ed3d4-_0x5f3a72;if(_0x3148b4<_0x1ed3d4)return{'start':_0xf775e2,'end':_0x3148b4};if(_0xf775e2>=_0x5db21f)return{'start':_0xf775e2+_0x5f3a72,'end':_0x3148b4+_0x5f3a72};let _0x1523dd=_0xf775e2<_0x1ed3d4?_0xf775e2:_0x1ed3d4,_0x596a8a=_0x3148b4>=_0x5db21f?_0x3148b4+_0x5f3a72:_0x1ed3d4;return _0x596a8a<_0x1523dd?null:{'start':_0x1523dd,'end':_0x596a8a};}function _0x4a1464(_0x484693,_0x1945f3){const _0x26ea82=_0x5241b3;let _0x4fcf53=_0x484693[_0x26ea82(0x25c)]['reduce']((_0x5f4917,_0x5316b6)=>_0x5f4917+_0x5316b6[_0x26ea82(0x145)][_0x26ea82(0x330)]['v'],0x0)-_0x1945f3,_0x2fd2cb=_0x484693['tableColumns'][_0x26ea82(0x1b5)]((_0x1942ac,_0x10a2e7)=>_0x1942ac+_0x10a2e7[_0x26ea82(0x145)][_0x26ea82(0x330)]['v'],0x0);_0x4fcf53<=0x0||_0x2fd2cb<=0x0||_0x484693[_0x26ea82(0x25c)][_0x26ea82(0x20d)](_0x3e05c0=>{const _0x4d3139=_0x26ea82;_0x3e05c0[_0x4d3139(0x145)]['width']['v']=_0x3e05c0[_0x4d3139(0x145)][_0x4d3139(0x330)]['v']/_0x2fd2cb*_0x4fcf53;});}function _0x57cd7c(_0x59e861,_0xa03ad3,_0x20477c,_0x59af78){const _0x34d18f=_0x5241b3;var _0x5004a2;if(!_0x59e861)return;let _0x4e20e1=_0x5d50ee(_0x59e861),_0x22b6e7=((_0x5004a2=_0x4e20e1[_0x34d18f(0x1ad)][_0xa03ad3])==null?void 0x0:_0x5004a2['headerRowCount'])??0x0;if(_0x22b6e7<=0x0)return _0x4e20e1;let _0x1f879d=Math[_0x34d18f(0x356)](0x0,Math[_0x34d18f(0x355)](_0x59af78,_0x22b6e7-0x1)-Math[_0x34d18f(0x356)](_0x20477c,0x0)+0x1);return _0x24bd99(_0x4e20e1,_0xa03ad3,Math[_0x34d18f(0x356)](0x0,_0x22b6e7-_0x1f879d));}function _0x5ee5a2(_0x1581c0,_0x485bbc=[_0x5241b3(0x347)]){const _0x475559=_0x5241b3;var _0x166c3d,_0x1e4c79,_0x2b9bf7,_0xfe6d00;let _0x51efa9=_0x48bd87(_0x1581c0[_0x475559(0x2a3)],_0x1581c0[_0x475559(0x135)]),_0xc399a=_0x51efa9==null||(_0x166c3d=_0x51efa9[_0x475559(0x167)][_0x1581c0[_0x475559(0x23c)]])==null?void 0x0:_0x166c3d['cells'][_0x1581c0[_0x475559(0x2ff)]];if(!((_0x1e4c79=_0x1581c0['documentData'][_0x475559(0x347)])!=null&&_0x1e4c79[_0x475559(0x227)])||!_0x51efa9||!_0xc399a)throw Error('[DocsTable]:\x20Cell\x20'+_0x1581c0[_0x475559(0x23c)]+':'+_0x1581c0['column']+_0x475559(0x2ca));let _0x4cffcc=_0x3cfeff(_0x1581c0[_0x475559(0x2cf)]),_0x54b0c2=_0xc399a[_0x475559(0x1fe)]+0x1,_0x55f4f2=_0x1581c0['documentData']['body'][_0x475559(0x227)][_0x475559(0x233)](_0xc399a[_0x475559(0x2a0)]-0x2,_0xc399a[_0x475559(0x2a0)])==='\x0d\x0a',_0x3ded1c=(_0x2b9bf7=_0x1581c0[_0x475559(0x2a3)][_0x475559(0x347)]['paragraphs'])==null?void 0x0:_0x2b9bf7[_0x475559(0x14b)](_0x1d988f=>_0x1d988f[_0x475559(0x2eb)]===_0xc399a['endOffset']-0x2),_0x406bf8=(_0xfe6d00=_0x1581c0[_0x475559(0x2a3)]['tableSource'])==null||(_0xfe6d00=_0xfe6d00[_0x1581c0[_0x475559(0x135)]])==null||(_0xfe6d00=_0xfe6d00[_0x475559(0x163)][_0x1581c0[_0x475559(0x23c)]])==null?void 0x0:_0xfe6d00[_0x475559(0x1a6)][_0x1581c0[_0x475559(0x2ff)]],_0x532299=(_0x3ded1c==null?void 0x0:_0x3ded1c['paragraphId'])??(_0x406bf8==null?void 0x0:_0x406bf8[_0x475559(0x1db)])??_0x475559(0x1ea)+_0x1581c0[_0x475559(0x23c)]+':'+_0x1581c0['column'];return _0xaefc5e(_0x1581c0['documentData'],[{'valueRangeId':_0x475559(0x2d8)+_0x1581c0[_0x475559(0x135)]+':'+_0x532299,'startOffset':_0x54b0c2,'endOffset':_0x55f4f2?_0xc399a['endOffset']-0x2:_0xc399a[_0x475559(0x2a0)],'text':_0x55f4f2?_0x4cffcc[_0x475559(0x233)](0x0,-0x2):_0x4cffcc}],_0x485bbc);}function _0xaefc5e(_0x3fb875,_0x25eca5,_0x370c4b=[_0x5241b3(0x347)]){const _0x1f49e2=_0x5241b3;let _0x520f04=_0x3fb875[_0x1f49e2(0x347)];if(!(_0x520f04!=null&&_0x520f04['dataStream']))return null;let _0x18eb41=_0x25eca5[_0x1f49e2(0x165)](_0x5f5971=>_0x520f04[_0x1f49e2(0x227)][_0x1f49e2(0x233)](_0x5f5971[_0x1f49e2(0x1fe)],_0x5f5971[_0x1f49e2(0x2a0)])!==_0x5f5971[_0x1f49e2(0x2cf)])[_0x1f49e2(0x1e8)]((_0x4defaf,_0x1907a4)=>_0x4defaf['startOffset']-_0x1907a4[_0x1f49e2(0x1fe)]);if(!_0x18eb41[_0x1f49e2(0x252)])return null;let _0x16d848=_0x52bedc(_0x520f04),_0x554a65=new Set((_0x520f04[_0x1f49e2(0x27c)]??[])[_0x1f49e2(0x211)](_0x3c6cf6=>_0x3c6cf6['sectionId'])),_0x592464=new _0x2752e6[(_0x1f49e2(0x148))](),_0x4f8673=0x0;for(let _0x18fabb of _0x18eb41){if(_0x18fabb[_0x1f49e2(0x1fe)]<_0x4f8673||_0x18fabb['startOffset']<0x0||_0x18fabb[_0x1f49e2(0x2a0)]<_0x18fabb['startOffset']||_0x18fabb['endOffset']>_0x520f04['dataStream'][_0x1f49e2(0x252)])throw Error(_0x1f49e2(0x297));let _0xfdf14d=_0x18fabb[_0x1f49e2(0x1fe)]-_0x4f8673;_0xfdf14d>0x0&&_0x592464[_0x1f49e2(0x24c)](_0xfdf14d),_0x18fabb['text'][_0x1f49e2(0x252)]>0x0&&_0x592464['push']({'t':_0x2752e6['TextXActionType'][_0x1f49e2(0x230)],'len':_0x18fabb[_0x1f49e2(0x2cf)]['length'],'body':_0x33265e(_0x18fabb['text'],_0x16d848,_0x554a65),..._0x18fabb[_0x1f49e2(0x16d)]?{'valueRangeId':_0x18fabb[_0x1f49e2(0x16d)]}:{}});let _0xa373b0=_0x18fabb['endOffset']-_0x18fabb[_0x1f49e2(0x1fe)];_0xa373b0>0x0&&_0x592464[_0x1f49e2(0x190)]({'t':_0x2752e6[_0x1f49e2(0x137)][_0x1f49e2(0x2e2)],'len':_0xa373b0,..._0x18fabb[_0x1f49e2(0x16d)]?{'valueRangeId':_0x18fabb[_0x1f49e2(0x16d)]}:{}}),_0x4f8673=_0x18fabb[_0x1f49e2(0x2a0)];}return _0x2752e6['JSONX']['getInstance']()['editOp'](_0x592464[_0x1f49e2(0x2c9)](),_0x370c4b);}function _0x26dc69(_0xc715f7){const _0x51c6ae=_0x5241b3;var _0x51ef26;let _0x17b25e=_0x5ffbbb(_0xc715f7[_0x51c6ae(0x2a3)]),_0x382408=_0x17b25e[_0x51c6ae(0x347)],_0x4ab602=_0x48bd87(_0x17b25e,_0xc715f7[_0x51c6ae(0x135)]),_0x5bcf22=_0x4ab602==null||(_0x51ef26=_0x4ab602['rows'][_0xc715f7[_0x51c6ae(0x23c)]])==null?void 0x0:_0x51ef26['cells'][_0xc715f7[_0x51c6ae(0x2ff)]];if(!(_0x382408!=null&&_0x382408[_0x51c6ae(0x227)])||!_0x4ab602||!_0x5bcf22)throw Error(_0x51c6ae(0x33d)+_0xc715f7[_0x51c6ae(0x23c)]+':'+_0xc715f7['column']+_0x51c6ae(0x2ca));let _0x3d8bb0=_0x5bcf22[_0x51c6ae(0x1fe)]+0x1,_0x2597b2=_0x5bcf22[_0x51c6ae(0x2a0)],_0x4351f8=_0x3cfeff(_0xc715f7[_0x51c6ae(0x2cf)]),_0x3623f0=_0x4351f8[_0x51c6ae(0x252)]-(_0x2597b2-_0x3d8bb0);return _0x382408[_0x51c6ae(0x227)]=''+_0x382408[_0x51c6ae(0x227)][_0x51c6ae(0x233)](0x0,_0x3d8bb0)+_0x4351f8+_0x382408['dataStream']['slice'](_0x2597b2),_0x4abf03(_0x382408,_0x3d8bb0,_0x2597b2,_0x4351f8,_0x3623f0),_0xa8dbb7(_0x17b25e,_0xc715f7[_0x51c6ae(0x135)],_0x2597b2,_0x3623f0),{'nextDocumentData':_0x17b25e};}function _0x3cfeff(_0x4e9614){const _0x1009c1=_0x5241b3;return _0x4e9614[_0x1009c1(0x1f4)](/\r\n/g,'\x0a')[_0x1009c1(0x1f4)](/\r/g,'\x0a')['split']('\x0a')[_0x1009c1(0x253)]('\x0d\x0a')+'\x0d\x0a';}function _0x4abf03(_0x55c5c3,_0x3c9ea5,_0x1ae862,_0x1a80cb,_0x4074e4){const _0x4d40b1=_0x5241b3;var _0x2e51cb,_0x37c021,_0x30b1ca,_0x4079cc;let _0xe54c79=_0x52bedc(_0x55c5c3),_0x499780=new Set((_0x55c5c3['sectionBreaks']??[])[_0x4d40b1(0x211)](_0x32ae21=>_0x32ae21[_0x4d40b1(0x1d7)])),_0x2bcec2=_0x3c6382(_0x55c5c3);_0x55c5c3[_0x4d40b1(0x2b5)]=[..._0x21f830(_0x55c5c3['paragraphs']??[],_0x3c9ea5,_0x1ae862,_0x4074e4),..._0x2857e7(_0x1a80cb,'\x0d')[_0x4d40b1(0x211)](_0x98072=>({'startIndex':_0x3c9ea5+_0x98072,'paragraphId':(0x0,_0x2752e6[_0x4d40b1(0x204)])(_0xe54c79)}))][_0x4d40b1(0x1e8)]((_0x1e98fa,_0x4391fb)=>_0x1e98fa['startIndex']-_0x4391fb[_0x4d40b1(0x2eb)]),_0x55c5c3['sectionBreaks']=[..._0x21f830(_0x55c5c3[_0x4d40b1(0x27c)]??[],_0x3c9ea5,_0x1ae862,_0x4074e4),..._0x2857e7(_0x1a80cb,'\x0a')[_0x4d40b1(0x211)](_0x3b4862=>({'startIndex':_0x3c9ea5+_0x3b4862,'sectionId':(0x0,_0x2752e6[_0x4d40b1(0x344)])(_0x499780)}))]['sort']((_0x4f6ba3,_0x43b723)=>_0x4f6ba3[_0x4d40b1(0x2eb)]-_0x43b723['startIndex']),_0x55c5c3['customBlocks']=_0x55c5c3[_0x4d40b1(0x350)]?_0x21f830(_0x55c5c3[_0x4d40b1(0x350)],_0x3c9ea5,_0x1ae862,_0x4074e4):void 0x0,_0x55c5c3[_0x4d40b1(0x17f)]=(_0x2e51cb=_0x55c5c3['textRuns'])==null?void 0x0:_0x2e51cb['map'](_0x5a51bf=>{const _0x1bb59b=_0x4d40b1;let _0x3d384b=_0x34c4f4(_0x5a51bf['st'],_0x5a51bf['ed'],_0x3c9ea5,_0x1ae862,_0x4074e4);return _0x3d384b==null?null:{..._0x5a51bf,'st':_0x3d384b[_0x1bb59b(0x203)],'ed':_0x3d384b['end']};})[_0x4d40b1(0x165)](_0x4bfc80=>_0x4bfc80!=null),_0x55c5c3[_0x4d40b1(0x2e3)]=(_0x37c021=_0x55c5c3[_0x4d40b1(0x2e3)])==null?void 0x0:_0x37c021['map'](_0x24ffcb=>{const _0x6372fa=_0x4d40b1;let _0x4adb5d=_0x34c4f4(_0x24ffcb[_0x6372fa(0x2eb)],_0x24ffcb[_0x6372fa(0x1fc)],_0x3c9ea5,_0x1ae862,_0x4074e4);return _0x4adb5d==null?null:{..._0x24ffcb,'startIndex':_0x4adb5d[_0x6372fa(0x203)],'endIndex':_0x4adb5d[_0x6372fa(0x247)]};})['filter'](_0x5ccb60=>_0x5ccb60!=null),_0x55c5c3[_0x4d40b1(0x1f2)]=(_0x30b1ca=_0x55c5c3[_0x4d40b1(0x1f2)])==null?void 0x0:_0x30b1ca[_0x4d40b1(0x211)](_0x515b92=>{const _0x340d4b=_0x4d40b1;let _0x41b0d8=_0x34c4f4(_0x515b92['startIndex'],_0x515b92[_0x340d4b(0x1fc)],_0x3c9ea5,_0x1ae862,_0x4074e4);return _0x41b0d8==null?null:{..._0x515b92,'startIndex':_0x41b0d8[_0x340d4b(0x203)],'endIndex':_0x41b0d8['end']};})[_0x4d40b1(0x165)](_0x42bf91=>_0x42bf91!=null),_0x2bcec2['columnGroups']=(_0x4079cc=_0x2bcec2[_0x4d40b1(0x336)])==null?void 0x0:_0x4079cc[_0x4d40b1(0x211)](_0x157c83=>{const _0x579c54=_0x4d40b1;let _0x2567cb=_0x34c4f4(_0x157c83[_0x579c54(0x2eb)],_0x157c83[_0x579c54(0x1fc)],_0x3c9ea5,_0x1ae862,_0x4074e4);return _0x2567cb==null?null:{..._0x157c83,'startIndex':_0x2567cb[_0x579c54(0x203)],'endIndex':_0x2567cb[_0x579c54(0x247)]};})['filter'](_0x4cec1d=>_0x4cec1d!=null);}function _0x52bedc(_0x5aa260){const _0x142906=_0x5241b3;return new Set((_0x5aa260['paragraphs']??[])[_0x142906(0x211)](_0x491739=>_0x491739['paragraphId']));}function _0x33265e(_0x5575f2,_0x462dc8,_0x4a955c){const _0x468516=_0x5241b3;return{'dataStream':_0x5575f2,'paragraphs':_0x2857e7(_0x5575f2,'\x0d')[_0x468516(0x211)](_0x3bc0a3=>({'startIndex':_0x3bc0a3,'paragraphId':(0x0,_0x2752e6[_0x468516(0x204)])(_0x462dc8)})),'sectionBreaks':_0x2857e7(_0x5575f2,'\x0a')[_0x468516(0x211)](_0x295a09=>({'startIndex':_0x295a09,'sectionId':(0x0,_0x2752e6[_0x468516(0x344)])(_0x4a955c)}))};}function _0x21f830(_0x520079,_0x13cddf,_0x9d7ea6,_0x413d3f){const _0xd9eb1a=_0x5241b3;return _0x520079[_0xd9eb1a(0x211)](_0x28da1a=>_0x28da1a['startIndex']>=_0x13cddf&&_0x28da1a[_0xd9eb1a(0x2eb)]<_0x9d7ea6?null:_0x28da1a[_0xd9eb1a(0x2eb)]>=_0x9d7ea6?{..._0x28da1a,'startIndex':_0x28da1a['startIndex']+_0x413d3f}:_0x28da1a)['filter'](_0x5826e4=>_0x5826e4!=null);}function _0x2857e7(_0x31dd0d,_0x12cf5d){const _0x3ac80f=_0x5241b3;let _0x198595=[];for(let _0x48a472=0x0;_0x48a472<_0x31dd0d['length'];_0x48a472++)_0x31dd0d[_0x48a472]===_0x12cf5d&&_0x198595[_0x3ac80f(0x190)](_0x48a472);return _0x198595;}function _0x34c4f4(_0x507b2f,_0x22e16f,_0x5f1fc7,_0x425d14,_0x1d8ae3){if(_0x22e16f<_0x5f1fc7)return{'start':_0x507b2f,'end':_0x22e16f};if(_0x507b2f>=_0x425d14)return{'start':_0x507b2f+_0x1d8ae3,'end':_0x22e16f+_0x1d8ae3};let _0x4041b5=_0x507b2f<_0x5f1fc7?_0x507b2f:_0x5f1fc7,_0x2049a6=_0x22e16f>=_0x425d14?_0x22e16f+_0x1d8ae3:_0x5f1fc7;return _0x2049a6<_0x4041b5?null:{'start':_0x4041b5,'end':_0x2049a6};}function _0xa8dbb7(_0xd29ed7,_0x542836,_0x58dae9,_0x3573ec){const _0x4f3db7=_0x5241b3;var _0x69e1de;(_0x69e1de=_0xd29ed7['body'])!=null&&_0x69e1de[_0x4f3db7(0x1ad)]&&_0x3573ec!==0x0&&(_0xd29ed7[_0x4f3db7(0x347)][_0x4f3db7(0x1ad)]=_0xd29ed7[_0x4f3db7(0x347)][_0x4f3db7(0x1ad)][_0x4f3db7(0x211)](_0x2a9149=>_0x2a9149[_0x4f3db7(0x135)]===_0x542836?{..._0x2a9149,'endIndex':_0x2a9149[_0x4f3db7(0x1fc)]+_0x3573ec}:_0x2a9149[_0x4f3db7(0x2eb)]>=_0x58dae9?{..._0x2a9149,'startIndex':_0x2a9149[_0x4f3db7(0x2eb)]+_0x3573ec,'endIndex':_0x2a9149[_0x4f3db7(0x1fc)]+_0x3573ec}:_0x2a9149));}function _0x2f39d9(_0x9a1ca5){const _0x3b8350=_0x5241b3;var _0x4e4049;let _0x561ba8=_0x14bc76({'documentData':_0x9a1ca5[_0x3b8350(0x2a3)],'metadata':_0x9a1ca5[_0x3b8350(0x18a)],'tableId':_0x9a1ca5[_0x3b8350(0x135)],'row':0x0,'count':0x1,'position':'above'}),_0x381cca=(_0x4e4049=_0x561ba8[_0x3b8350(0x169)]['tableSource'])==null?void 0x0:_0x4e4049[_0x9a1ca5['tableId']];if(!_0x381cca)throw Error(_0x3b8350(0x19f)+_0x9a1ca5[_0x3b8350(0x135)]+_0x3b8350(0x2ca));let _0xa7ffa7=_0x381cca[_0x3b8350(0x25c)][_0x3b8350(0x252)];return _0x381cca['tableRows'][0x0][_0x3b8350(0x1a6)][_0x3b8350(0x20d)]((_0x2e316b,_0x1f1bff)=>{const _0xe99b0=_0x3b8350;_0x1f1bff===0x0?(_0x2e316b[_0xe99b0(0x141)]=_0xa7ffa7,delete _0x2e316b[_0xe99b0(0x359)]):(_0x2e316b['rowSpan']=0x0,_0x2e316b[_0xe99b0(0x141)]=0x0);}),{'nextDocumentData':_0x561ba8[_0x3b8350(0x169)],'nextMetadata':_0x4cad2e(_0x561ba8[_0x3b8350(0x272)],_0x9a1ca5[_0x3b8350(0x135)],!0x0)};}function _0x1624e9(_0x193b87){const _0xd710c9=_0x5241b3;var _0x32e6ce;let _0x24a55d=_0x5ffbbb(_0x193b87[_0xd710c9(0x2a3)],{'cloneBody':!0x1,'tableIds':[_0x193b87[_0xd710c9(0x135)]]}),_0x585294=(_0x32e6ce=_0x24a55d['tableSource'])==null?void 0x0:_0x32e6ce[_0x193b87['tableId']];if(!_0x585294)throw Error(_0xd710c9(0x19f)+_0x193b87[_0xd710c9(0x135)]+_0xd710c9(0x2ca));let _0x119416=Math['min'](Math[_0xd710c9(0x356)](0x0,_0x193b87[_0xd710c9(0x2d4)]),_0x585294[_0xd710c9(0x163)]['length']);return _0x585294[_0xd710c9(0x163)][_0xd710c9(0x20d)]((_0x1855b5,_0xa14820)=>{const _0x152bda=_0xd710c9;_0x1855b5[_0x152bda(0x139)]=_0xa14820<_0x119416?_0x2752e6[_0x152bda(0x2a8)][_0x152bda(0x240)]:_0x2752e6[_0x152bda(0x2a8)][_0x152bda(0x21c)],_0xa14820<_0x119416?_0x1855b5['isFirstRow']=_0x2752e6[_0x152bda(0x2a8)][_0x152bda(0x240)]:delete _0x1855b5[_0x152bda(0x358)];}),{'nextDocumentData':_0x24a55d,'nextMetadata':_0x24bd99(_0x193b87[_0xd710c9(0x18a)],_0x193b87[_0xd710c9(0x135)],_0x119416)};}function _0x48f6a5(_0x2ca7f6){const _0x22b3c2=_0x5241b3;var _0x4c8534;let _0x1df104=_0x5ffbbb(_0x2ca7f6['documentData'],{'cloneBody':!0x1,'tableIds':[_0x2ca7f6[_0x22b3c2(0x135)]]}),_0x5e63e0=(_0x4c8534=_0x1df104[_0x22b3c2(0x16e)])==null?void 0x0:_0x4c8534[_0x2ca7f6['tableId']];if(!_0x5e63e0)throw Error('[DocsTable]:\x20Table\x20'+_0x2ca7f6['tableId']+_0x22b3c2(0x2ca));let _0x392c7a=Math['min'](_0x2ca7f6[_0x22b3c2(0x172)],_0x2ca7f6['endRow']),_0x25f208=Math[_0x22b3c2(0x356)](_0x2ca7f6[_0x22b3c2(0x172)],_0x2ca7f6[_0x22b3c2(0x324)]),_0x266058=_0x5e63e0[_0x22b3c2(0x163)]['slice'](_0x392c7a,_0x25f208+0x1),_0x3cb753=_0x266058[_0x22b3c2(0x1b5)]((_0x37cac1,_0x14d0ed)=>_0x37cac1+_0x4a426e(_0x14d0ed),0x0)/_0x266058['length'];return _0x266058[_0x22b3c2(0x20d)](_0x3c3ca3=>{const _0x55fa79=_0x22b3c2;_0x3c3ca3[_0x55fa79(0x28c)]={'hRule':_0x2752e6[_0x55fa79(0x2ac)][_0x55fa79(0x26b)],'val':{'v':_0x3cb753}};}),{'nextDocumentData':_0x1df104};}function _0x3938d7(_0x2bdb3b){const _0x4631e9=_0x5241b3;var _0x56a6cb;let _0x5589b0=_0x5ffbbb(_0x2bdb3b[_0x4631e9(0x2a3)],{'cloneBody':!0x1,'tableIds':[_0x2bdb3b[_0x4631e9(0x135)]]}),_0x11be11=(_0x56a6cb=_0x5589b0[_0x4631e9(0x16e)])==null?void 0x0:_0x56a6cb[_0x2bdb3b[_0x4631e9(0x135)]];if(!_0x11be11)throw Error('[DocsTable]:\x20Table\x20'+_0x2bdb3b[_0x4631e9(0x135)]+_0x4631e9(0x2ca));let _0x6fc08c=Math[_0x4631e9(0x355)](_0x2bdb3b[_0x4631e9(0x2a1)],_0x2bdb3b[_0x4631e9(0x1bd)]),_0x5bea18=Math['max'](_0x2bdb3b[_0x4631e9(0x2a1)],_0x2bdb3b['endColumn']),_0x1a3e1f=_0x11be11[_0x4631e9(0x25c)][_0x4631e9(0x233)](_0x6fc08c,_0x5bea18+0x1),_0x514370=_0x1a3e1f['reduce']((_0x214ff0,_0x30e4ab)=>_0x214ff0+_0x30e4ab[_0x4631e9(0x145)][_0x4631e9(0x330)]['v'],0x0)/_0x1a3e1f['length'];return _0x1a3e1f[_0x4631e9(0x20d)](_0xe5add5=>{const _0x8f6f6a=_0x4631e9;_0xe5add5[_0x8f6f6a(0x145)][_0x8f6f6a(0x330)]['v']=_0x514370;}),{'nextDocumentData':_0x5589b0};}function _0x251342(_0xa62c44){const _0x33ff85=_0x5241b3;var _0x3bf047;let _0x4f7aa7=_0x5ffbbb(_0xa62c44[_0x33ff85(0x2a3)],{'cloneBody':!0x1,'tableIds':[_0xa62c44[_0x33ff85(0x135)]]}),_0x3d6c09=(_0x3bf047=_0x4f7aa7[_0x33ff85(0x16e)])==null||(_0x3bf047=_0x3bf047[_0xa62c44[_0x33ff85(0x135)]])==null?void 0x0:_0x3bf047[_0x33ff85(0x163)][_0xa62c44[_0x33ff85(0x23c)]];if(!_0x3d6c09)throw Error(_0x33ff85(0x152)+_0xa62c44[_0x33ff85(0x23c)]+'\x20is\x20not\x20found.');return _0x3d6c09[_0x33ff85(0x28c)]={'hRule':_0x2752e6[_0x33ff85(0x2ac)][_0x33ff85(0x26b)],'val':{'v':Math[_0x33ff85(0x356)](0x1,_0xa62c44[_0x33ff85(0x246)])}},{'nextDocumentData':_0x4f7aa7};}function _0x33d4d9(_0x374816){const _0x42be12=_0x5241b3;var _0x7ff044;let _0x3b88dc=_0x5ffbbb(_0x374816['documentData'],{'cloneBody':!0x1,'tableIds':[_0x374816[_0x42be12(0x135)]]}),_0x278e6a=(_0x7ff044=_0x3b88dc[_0x42be12(0x16e)])==null||(_0x7ff044=_0x7ff044[_0x374816[_0x42be12(0x135)]])==null?void 0x0:_0x7ff044[_0x42be12(0x25c)][_0x374816[_0x42be12(0x2ff)]];if(!_0x278e6a)throw Error('[DocsTable]:\x20Column\x20'+_0x374816['column']+'\x20is\x20not\x20found.');return _0x278e6a[_0x42be12(0x145)]['width']['v']=Math['max'](0x1,_0x374816[_0x42be12(0x330)]),{'nextDocumentData':_0x3b88dc};}function _0x25cc95(_0x3ae412){const _0x12d478=_0x5241b3;var _0xb22569;if(_0x3ae412[_0x12d478(0x2e8)]!=null)return _0xab4555(_0x3ae412);let _0x1553c2=_0x5ffbbb(_0x3ae412[_0x12d478(0x2a3)],{'cloneBody':!0x1,'tableIds':[_0x3ae412[_0x12d478(0x135)]]}),_0x489847=(_0xb22569=_0x1553c2['tableSource'])==null?void 0x0:_0xb22569[_0x3ae412[_0x12d478(0x135)]];if(!_0x489847)throw Error('[DocsTable]:\x20Table\x20'+_0x3ae412['tableId']+_0x12d478(0x2ca));return _0x489847[_0x12d478(0x158)]=_0x2752e6[_0x12d478(0x231)][_0x12d478(0x34e)],_0x489847[_0x12d478(0x27a)][_0x12d478(0x2f8)][_0x12d478(0x1f1)]=(_0x489847[_0x12d478(0x27a)]['positionH'][_0x12d478(0x1f1)]??0x0)+(_0x3ae412[_0x12d478(0x2a7)]??0x0),_0x489847[_0x12d478(0x27a)][_0x12d478(0x2fe)][_0x12d478(0x1f1)]=(_0x489847[_0x12d478(0x27a)]['positionV'][_0x12d478(0x1f1)]??0x0)+(_0x3ae412[_0x12d478(0x35b)]??0x0),{'nextDocumentData':_0x1553c2};}function _0xab4555(_0x246b61){const _0x5b4e6f=_0x5241b3;var _0x2a621a;let _0x1805e1=_0x5ffbbb(_0x246b61[_0x5b4e6f(0x2a3)],{'tableIds':[_0x246b61[_0x5b4e6f(0x135)]]}),_0x3eaea9=_0x1805e1[_0x5b4e6f(0x347)],_0x8d115a=(_0x2a621a=_0x1805e1[_0x5b4e6f(0x16e)])==null?void 0x0:_0x2a621a[_0x246b61['tableId']],_0x3480bc=_0x48bd87(_0x1805e1,_0x246b61[_0x5b4e6f(0x135)]);if(!(_0x3eaea9!=null&&_0x3eaea9[_0x5b4e6f(0x227)])||!_0x3eaea9[_0x5b4e6f(0x1ad)]||!_0x8d115a||!_0x3480bc||_0x246b61[_0x5b4e6f(0x2e8)]==null)throw Error(_0x5b4e6f(0x19f)+_0x246b61[_0x5b4e6f(0x135)]+_0x5b4e6f(0x2ed));let _0x2acf14=_0x3480bc[_0x5b4e6f(0x1fe)],_0x169d3e=_0x3480bc[_0x5b4e6f(0x2a0)],_0x264a2a=_0x3eaea9[_0x5b4e6f(0x227)][_0x5b4e6f(0x233)](_0x2acf14,_0x169d3e),_0x35a4f0=_0x264a2a[_0x5b4e6f(0x252)],_0x1362da=_0x3bdc19(_0x246b61['targetOffset'],0x0,_0x3eaea9['dataStream'][_0x5b4e6f(0x252)]);if(_0x1362da>=_0x2acf14&&_0x1362da<=_0x169d3e||!_0x59a300(_0x3eaea9,_0x246b61[_0x5b4e6f(0x135)],_0x1362da))return{'nextDocumentData':_0x1805e1};let _0x9bd7be=_0x1362da>_0x169d3e?_0x1362da-_0x35a4f0:_0x1362da,_0x1698ba=_0x3eaea9[_0x5b4e6f(0x227)][_0x5b4e6f(0x233)](0x0,_0x2acf14)+_0x3eaea9['dataStream'][_0x5b4e6f(0x233)](_0x169d3e);return _0x3eaea9[_0x5b4e6f(0x227)]=_0x1698ba[_0x5b4e6f(0x233)](0x0,_0x9bd7be)+_0x264a2a+_0x1698ba['slice'](_0x9bd7be),_0x3eaea9[_0x5b4e6f(0x1ad)]=_0x3eaea9['tables'][_0x5b4e6f(0x211)](_0x157e81=>_0x157e81[_0x5b4e6f(0x135)]===_0x246b61[_0x5b4e6f(0x135)]?{..._0x157e81,'startIndex':_0x9bd7be,'endIndex':_0x9bd7be+_0x35a4f0}:{..._0x157e81,'startIndex':_0x28bc1f(_0x157e81[_0x5b4e6f(0x2eb)],_0x2acf14,_0x169d3e,_0x1362da,_0x9bd7be,_0x35a4f0),'endIndex':_0x28bc1f(_0x157e81['endIndex'],_0x2acf14,_0x169d3e,_0x1362da,_0x9bd7be,_0x35a4f0)})['sort']((_0x3e66c4,_0x599f57)=>_0x3e66c4[_0x5b4e6f(0x2eb)]-_0x599f57[_0x5b4e6f(0x2eb)]),_0x343442(_0x3eaea9,_0x2acf14,_0x169d3e,_0x1362da,_0x9bd7be,_0x35a4f0),_0x8d115a['textWrap']=_0x2752e6[_0x5b4e6f(0x231)][_0x5b4e6f(0x2f2)],_0x8d115a['position'][_0x5b4e6f(0x2f8)][_0x5b4e6f(0x1f1)]=0x0,_0x8d115a['position']['positionV'][_0x5b4e6f(0x1f1)]=0x0,{'nextDocumentData':_0x1805e1};}function _0x59a300(_0x5e3e57,_0x1a217d,_0x27c84f){const _0x2a32b5=_0x5241b3;return!(_0x21eb42(_0x5e3e57['tables'],_0x1a217d,_0x27c84f)||_0x2baca2(_0x5e3e57[_0x2a32b5(0x2aa)],_0x27c84f)||_0x1f9272(_0x5e3e57[_0x2a32b5(0x350)],_0x27c84f));}function _0x21eb42(_0x46e44,_0x23925b,_0xa1e8fb){const _0x5c3a1a=_0x5241b3;return!!(_0x46e44!=null&&_0x46e44[_0x5c3a1a(0x277)](_0x1818cf=>_0x1818cf['tableId']!==_0x23925b&&_0x1818cf[_0x5c3a1a(0x2eb)]<=_0xa1e8fb&&_0xa1e8fb<_0x1818cf['endIndex']));}function _0x2baca2(_0x29370c,_0x4e06cb){const _0x3b23e5=_0x5241b3;return!!(_0x29370c!=null&&_0x29370c[_0x3b23e5(0x277)](_0x3572ed=>_0x3572ed[_0x3b23e5(0x2eb)]<=_0x4e06cb&&_0x4e06cb<=_0x3572ed[_0x3b23e5(0x1fc)]));}function _0x1f9272(_0x3c5cd1,_0x5f8cf){const _0x6235a0=_0x5241b3;return!!(_0x3c5cd1!=null&&_0x3c5cd1[_0x6235a0(0x277)](_0x43c1a9=>_0x43c1a9['startIndex']===_0x5f8cf));}function _0x343442(_0x1e62b9,_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82){const _0x3dab37=_0x5241b3;var _0xc8aaae,_0x32566b,_0x546f2b,_0x33e6ea,_0x1340a5,_0x2e6b44,_0x4c66cc,_0x2fb61c;let _0x1beaa1=_0x3c6382(_0x1e62b9);_0x1e62b9['paragraphs']=(_0xc8aaae=_0x1e62b9['paragraphs'])==null?void 0x0:_0xc8aaae[_0x3dab37(0x211)](_0x2ffbb5=>({..._0x2ffbb5,'startIndex':_0x28bc1f(_0x2ffbb5[_0x3dab37(0x2eb)],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82)}))[_0x3dab37(0x1e8)]((_0x571c72,_0x1ab5a9)=>_0x571c72[_0x3dab37(0x2eb)]-_0x1ab5a9[_0x3dab37(0x2eb)]),_0x1e62b9[_0x3dab37(0x27c)]=(_0x32566b=_0x1e62b9[_0x3dab37(0x27c)])==null?void 0x0:_0x32566b['map'](_0x51a88e=>({..._0x51a88e,'startIndex':_0x28bc1f(_0x51a88e['startIndex'],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82)}))['sort']((_0x41a31c,_0x4c8b7e)=>_0x41a31c[_0x3dab37(0x2eb)]-_0x4c8b7e[_0x3dab37(0x2eb)]),_0x1e62b9[_0x3dab37(0x350)]=(_0x546f2b=_0x1e62b9[_0x3dab37(0x350)])==null?void 0x0:_0x546f2b[_0x3dab37(0x211)](_0x5e0f93=>({..._0x5e0f93,'startIndex':_0x28bc1f(_0x5e0f93[_0x3dab37(0x2eb)],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82)}))[_0x3dab37(0x1e8)]((_0x10c672,_0x44c094)=>_0x10c672[_0x3dab37(0x2eb)]-_0x44c094[_0x3dab37(0x2eb)]),_0x1e62b9[_0x3dab37(0x2aa)]=(_0x33e6ea=_0x1e62b9[_0x3dab37(0x2aa)])==null?void 0x0:_0x33e6ea['map'](_0x4745fa=>({..._0x4745fa,'startIndex':_0x28bc1f(_0x4745fa[_0x3dab37(0x2eb)],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82),'endIndex':_0x28bc1f(_0x4745fa['endIndex'],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82)}))[_0x3dab37(0x1e8)]((_0x2d6b90,_0x374742)=>_0x2d6b90[_0x3dab37(0x2eb)]-_0x374742[_0x3dab37(0x2eb)]),_0x1e62b9[_0x3dab37(0x17f)]=(_0x1340a5=_0x1e62b9[_0x3dab37(0x17f)])==null?void 0x0:_0x1340a5['map'](_0x479c42=>({..._0x479c42,'st':_0x28bc1f(_0x479c42['st'],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82),'ed':_0x28bc1f(_0x479c42['ed'],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82)}))[_0x3dab37(0x1e8)]((_0x35e0e1,_0x4d2c6a)=>_0x35e0e1['st']-_0x4d2c6a['st']),_0x1e62b9[_0x3dab37(0x2e3)]=(_0x2e6b44=_0x1e62b9['customRanges'])==null?void 0x0:_0x2e6b44[_0x3dab37(0x211)](_0x33a7f6=>({..._0x33a7f6,'startIndex':_0x28bc1f(_0x33a7f6[_0x3dab37(0x2eb)],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82),'endIndex':_0x28bc1f(_0x33a7f6[_0x3dab37(0x1fc)],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82)}))['sort']((_0x582fe2,_0x1bcc75)=>_0x582fe2[_0x3dab37(0x2eb)]-_0x1bcc75[_0x3dab37(0x2eb)]),_0x1e62b9[_0x3dab37(0x1f2)]=(_0x4c66cc=_0x1e62b9['customDecorations'])==null?void 0x0:_0x4c66cc[_0x3dab37(0x211)](_0x49406e=>({..._0x49406e,'startIndex':_0x28bc1f(_0x49406e[_0x3dab37(0x2eb)],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82),'endIndex':_0x28bc1f(_0x49406e['endIndex'],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82)}))['sort']((_0x265bca,_0x50ad85)=>_0x265bca[_0x3dab37(0x2eb)]-_0x50ad85['startIndex']),_0x1beaa1[_0x3dab37(0x336)]=(_0x2fb61c=_0x1beaa1['columnGroups'])==null?void 0x0:_0x2fb61c[_0x3dab37(0x211)](_0x42a7e3=>({..._0x42a7e3,'startIndex':_0x28bc1f(_0x42a7e3[_0x3dab37(0x2eb)],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82),'endIndex':_0x28bc1f(_0x42a7e3['endIndex'],_0x126620,_0xad1596,_0x55a9f5,_0xf44ac,_0x1ecf82)}))[_0x3dab37(0x1e8)]((_0x3c55b8,_0x109ca2)=>_0x3c55b8[_0x3dab37(0x2eb)]-_0x109ca2[_0x3dab37(0x2eb)]);}function _0x28bc1f(_0x53ad14,_0x3f62cf,_0x4fcb6f,_0x7e9f24,_0x2a7290,_0x5b951b){return _0x53ad14>=_0x3f62cf&&_0x53ad14<_0x4fcb6f?_0x2a7290+_0x53ad14-_0x3f62cf:_0x7e9f24<_0x3f62cf&&_0x53ad14>=_0x7e9f24&&_0x53ad14<_0x3f62cf?_0x53ad14+_0x5b951b:_0x7e9f24>_0x4fcb6f&&_0x53ad14>=_0x4fcb6f&&_0x53ad14<_0x7e9f24?_0x53ad14-_0x5b951b:_0x53ad14;}function _0x3bdc19(_0x58100b,_0x6532cc,_0x49b96d){const _0x215be4=_0x5241b3;return Math['min'](Math[_0x215be4(0x356)](_0x58100b,_0x6532cc),_0x49b96d);}function _0x16ab56(_0x4deed2,_0x7f9aca){const _0x5a2393=_0x5241b3;var _0x70656e;return((_0x70656e=_0x5d50ee(_0x4deed2)[_0x5a2393(0x1ad)][_0x7f9aca])==null?void 0x0:_0x70656e[_0x5a2393(0x2d4)])??0x0;}function _0x4a426e(_0x28d44e){const _0x1bbf5a=_0x5241b3;var _0x371f74;return((_0x371f74=_0x28d44e[_0x1bbf5a(0x28c)])==null||(_0x371f74=_0x371f74['val'])==null?void 0x0:_0x371f74['v'])??0x0;}let _0x53ec71=function(_0x2d99ca){const _0x3280a0=_0x5241b3;return _0x2d99ca[_0x3280a0(0x1a4)]=_0x3280a0(0x2cf),_0x2d99ca[_0x3280a0(0x1ab)]=_0x3280a0(0x1d4),_0x2d99ca[_0x3280a0(0x17a)]=_0x3280a0(0x225),_0x2d99ca[_0x3280a0(0x1a0)]=_0x3280a0(0x334),_0x2d99ca[_0x3280a0(0x310)]=_0x3280a0(0x31e),_0x2d99ca;}({}),_0x2ad2e0=function(_0x3c186c){const _0x462cde=_0x5241b3;return _0x3c186c[_0x462cde(0x1e4)]=_0x462cde(0x1ff),_0x3c186c['Text']=_0x462cde(0x2cf),_0x3c186c[_0x462cde(0x338)]=_0x462cde(0x295),_0x3c186c[_0x462cde(0x288)]=_0x462cde(0x22a),_0x3c186c[_0x462cde(0x2f1)]=_0x462cde(0x23c),_0x3c186c[_0x462cde(0x268)]=_0x462cde(0x2ff),_0x3c186c[_0x462cde(0x2a4)]=_0x462cde(0x30d),_0x3c186c;}({}),_0x4a08b7=function(_0x5d492e){const _0x2ce97e=_0x5241b3;return _0x5d492e[_0x2ce97e(0x1a8)]=_0x2ce97e(0x1a9),_0x5d492e[_0x2ce97e(0x285)]=_0x2ce97e(0x243),_0x5d492e['Text']=_0x2ce97e(0x2cf),_0x5d492e;}({}),_0x30cc65=function(_0x5f5dab){const _0x33ee14=_0x5241b3;return _0x5f5dab[_0x33ee14(0x2db)]=_0x33ee14(0x2b8),_0x5f5dab[_0x33ee14(0x332)]='desc',_0x5f5dab;}({});function _0x29e258(_0x283f1a){const _0x5ac95b=_0x5241b3;var _0x5633b2,_0x49e0ec;let _0x16ad4d=_0x1b77b6(_0x283f1a),_0x52080e=_0x5ffbbb(_0x283f1a[_0x5ac95b(0x2a3)],{'tableIds':[_0x283f1a['tableId']]}),_0x5e6968=(_0x5633b2=_0x52080e[_0x5ac95b(0x16e)])==null?void 0x0:_0x5633b2[_0x283f1a[_0x5ac95b(0x135)]],_0x321910=_0x48bd87(_0x52080e,_0x283f1a['tableId']);if(!_0x5e6968||!_0x321910||!((_0x49e0ec=_0x52080e[_0x5ac95b(0x347)])!=null&&_0x49e0ec[_0x5ac95b(0x227)]))throw Error(_0x5ac95b(0x19f)+_0x283f1a['tableId']+_0x5ac95b(0x2ca));let _0x4fc2a9=_0x16ad4d[_0x5ac95b(0x283)][_0x5ac95b(0x211)](_0x1291ed=>_0x5e6968[_0x5ac95b(0x163)][_0x1291ed]);_0x5e6968['tableRows'][_0x5ac95b(0x29e)](_0x16ad4d[_0x5ac95b(0x32a)],_0x4fc2a9[_0x5ac95b(0x252)],..._0x4fc2a9);let _0x247f7a=_0x52080e[_0x5ac95b(0x347)][_0x5ac95b(0x227)][_0x5ac95b(0x233)](_0x321910['startOffset'],_0x321910[_0x5ac95b(0x2a0)]),_0x2e218e=_0x321910[_0x5ac95b(0x167)][_0x5ac95b(0x233)](0x0,_0x16ad4d[_0x5ac95b(0x32a)])[_0x5ac95b(0x211)](_0x3679c2=>_0x52080e[_0x5ac95b(0x347)][_0x5ac95b(0x227)]['slice'](_0x3679c2[_0x5ac95b(0x1fe)],_0x3679c2[_0x5ac95b(0x2a0)]+0x1))[_0x5ac95b(0x253)](''),_0x1634ed=_0x16ad4d['sortedRowIndexes']['map'](_0x9f301e=>{const _0x408b18=_0x5ac95b;let _0x8d88b6=_0x321910[_0x408b18(0x167)][_0x9f301e];return _0x52080e[_0x408b18(0x347)][_0x408b18(0x227)][_0x408b18(0x233)](_0x8d88b6[_0x408b18(0x1fe)],_0x8d88b6[_0x408b18(0x2a0)]+0x1);})[_0x5ac95b(0x253)](''),_0x8ff32b=''+_0x247f7a[0x0]+_0x2e218e+_0x1634ed+_0x247f7a[_0x247f7a[_0x5ac95b(0x252)]-0x1];return _0x52080e[_0x5ac95b(0x347)]['dataStream']=''+_0x52080e['body'][_0x5ac95b(0x227)][_0x5ac95b(0x233)](0x0,_0x321910[_0x5ac95b(0x1fe)])+_0x8ff32b+_0x52080e[_0x5ac95b(0x347)][_0x5ac95b(0x227)][_0x5ac95b(0x233)](_0x321910['endOffset']),{'nextDocumentData':_0x52080e};}function _0x1b77b6(_0x229cda){const _0x572452=_0x5241b3;var _0x29ce19,_0x17bd78,_0x52c664;let _0x3295b2=(_0x29ce19=_0x229cda['documentData'][_0x572452(0x16e)])==null?void 0x0:_0x29ce19[_0x229cda[_0x572452(0x135)]],_0x4c2c07=_0x48bd87(_0x229cda['documentData'],_0x229cda[_0x572452(0x135)]),_0x419715=(_0x17bd78=_0x229cda[_0x572452(0x2a3)][_0x572452(0x347)])==null?void 0x0:_0x17bd78['dataStream'];if(!_0x3295b2||!_0x4c2c07||!_0x419715)throw Error(_0x572452(0x35a));_0x1400b1(_0x3295b2[_0x572452(0x163)]);let _0x5f39cf=_0x5d50ee(_0x229cda['metadata'])['tables'][_0x229cda[_0x572452(0x135)]],_0xb89466=(_0x5f39cf!=null&&_0x5f39cf[_0x572452(0x154)]?0x1:0x0)+_0x16ab56(_0x229cda[_0x572452(0x18a)],_0x229cda[_0x572452(0x135)]),_0x2d9a12=Math[_0x572452(0x355)](_0xb89466,_0x3295b2[_0x572452(0x163)][_0x572452(0x252)]),_0x5da808=(_0x5f39cf==null||(_0x52c664=_0x5f39cf['columnTypes'])==null||(_0x52c664=_0x52c664[_0x229cda[_0x572452(0x2ff)]])==null?void 0x0:_0x52c664['type'])??_0x572452(0x2cf),_0x2ed7f4=_0x4c2c07[_0x572452(0x167)][_0x572452(0x233)](_0x2d9a12)['map']((_0x40cfcd,_0x42bcba)=>{const _0x3ff7b2=_0x572452;let _0x4d69db=_0x40cfcd[_0x3ff7b2(0x31b)][_0x229cda['column']];return{'index':_0x2d9a12+_0x42bcba,'value':_0x4d69db?_0x419715['slice'](_0x4d69db['startOffset']+0x1,_0x4d69db[_0x3ff7b2(0x2a0)])[_0x3ff7b2(0x1ca)]():''};});return _0x2ed7f4[_0x572452(0x1e8)]((_0x340150,_0xeaa5bb)=>_0x5b761b(_0x340150,_0xeaa5bb,_0x5da808,_0x229cda[_0x572452(0x1b8)])),{'sortStartRow':_0x2d9a12,'sortedRowIndexes':_0x2ed7f4[_0x572452(0x211)](_0x74dd91=>_0x74dd91['index'])};}function _0x1400b1(_0x42aa19){const _0x515c7d=_0x5241b3;if(_0x42aa19[_0x515c7d(0x277)](_0x24919f=>_0x24919f[_0x515c7d(0x1a6)][_0x515c7d(0x277)](_0x2c6ecc=>_0x2f02e7(_0x2c6ecc))))throw Error(_0x515c7d(0x1fa));}function _0x2f02e7(_0x2404b1){const _0x5d241e=_0x5241b3;return(_0x2404b1[_0x5d241e(0x359)]??0x1)>0x1||_0x2404b1['rowSpan']===0x0;}function _0x5b761b(_0x13044f,_0x421cb1,_0x437e3d,_0x30a656){const _0x244e2f=_0x5241b3;let _0xa87369=_0x30a656===_0x244e2f(0x2b8)?0x1:-0x1,_0x30ad3f=_0x2f774a(_0x13044f['value'],_0x421cb1[_0x244e2f(0x1d1)],_0x437e3d);return _0x30ad3f===0x0?_0x13044f[_0x244e2f(0x322)]-_0x421cb1[_0x244e2f(0x322)]:_0x30ad3f*_0xa87369;}function _0x2f774a(_0x326e6c,_0x190408,_0x36b274){const _0x5c8600=_0x5241b3;return _0x36b274===_0x5c8600(0x1d4)?_0x11f5e3(_0x326e6c)-_0x11f5e3(_0x190408):_0x36b274==='date'?_0x55a308(_0x326e6c)-_0x55a308(_0x190408):_0x36b274===_0x5c8600(0x334)?_0xb702d1(_0x326e6c)-_0xb702d1(_0x190408):_0x326e6c[_0x5c8600(0x314)](_0x190408);}function _0x11f5e3(_0x5d7932){const _0x345156=_0x5241b3;let _0x4d9cad=Number(_0x5d7932);return Number[_0x345156(0x2fb)](_0x4d9cad)?_0x4d9cad:0x1/0x0;}function _0x55a308(_0x493bce){const _0x1a4362=_0x5241b3;let _0x8d4909=Date[_0x1a4362(0x311)](_0x493bce);return Number[_0x1a4362(0x186)](_0x8d4909)?0x1/0x0:_0x8d4909;}function _0xb702d1(_0x97e316){const _0x506a2d=_0x5241b3;return+!!['true','1',_0x506a2d(0x286),'checked'][_0x506a2d(0x2cc)](_0x97e316[_0x506a2d(0x352)]());}function _0x2770cf(_0x3ff094){'@babel/helpers - typeof';const _0x2e4934=_0x5241b3;return _0x2770cf=typeof Symbol==_0x2e4934(0x354)&&typeof Symbol[_0x2e4934(0x2f4)]==_0x2e4934(0x1aa)?function(_0x56d23b){return typeof _0x56d23b;}:function(_0x5e4097){const _0x4cfa87=_0x2e4934;return _0x5e4097&&typeof Symbol==_0x4cfa87(0x354)&&_0x5e4097['constructor']===Symbol&&_0x5e4097!==Symbol[_0x4cfa87(0x21e)]?_0x4cfa87(0x1aa):typeof _0x5e4097;},_0x2770cf(_0x3ff094);}function _0x490958(_0x20205c,_0x20ec61){const _0x1cf9de=_0x5241b3;if(_0x2770cf(_0x20205c)!=_0x1cf9de(0x181)||!_0x20205c)return _0x20205c;var _0x2e7c6c=_0x20205c[Symbol[_0x1cf9de(0x312)]];if(_0x2e7c6c!==void 0x0){var _0x4631dd=_0x2e7c6c[_0x1cf9de(0x1bb)](_0x20205c,_0x20ec61||_0x1cf9de(0x303));if(_0x2770cf(_0x4631dd)!=_0x1cf9de(0x181))return _0x4631dd;throw TypeError(_0x1cf9de(0x2da));}return(_0x20ec61===_0x1cf9de(0x296)?String:Number)(_0x20205c);}function _0x1e2d65(_0x1bdb22){const _0x12a115=_0x5241b3;var _0x2b4389=_0x490958(_0x1bdb22,_0x12a115(0x296));return _0x2770cf(_0x2b4389)==_0x12a115(0x1aa)?_0x2b4389:_0x2b4389+'';}function _0x5e8e59(_0x4f7a77,_0x3df208,_0x54c549){return(_0x3df208=_0x1e2d65(_0x3df208))in _0x4f7a77?Object['defineProperty'](_0x4f7a77,_0x3df208,{'value':_0x54c549,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f7a77[_0x3df208]=_0x54c549,_0x4f7a77;}var _0x3e0d2c=class extends _0x2752e6[_0x5241b3(0x2b7)]{constructor(..._0x1067c7){const _0x43907e=_0x5241b3;super(..._0x1067c7),_0x5e8e59(this,_0x43907e(0x200),new Map()),_0x5e8e59(this,'_change$',new _0x14dbb2[(_0x43907e(0x1fd))]()),_0x5e8e59(this,_0x43907e(0x250),this['_change$'][_0x43907e(0x340)]());}['getTableMetadata'](_0x30f84d,_0x144c62){const _0x587272=_0x5241b3;var _0x6a0c61;let _0x216781=(_0x6a0c61=this['_resources']['get'](_0x30f84d))==null?void 0x0:_0x6a0c61[_0x587272(0x1ad)][_0x144c62];if(_0x216781)return _0x5d50ee({'tables':{[_0x144c62]:_0x216781}})['tables'][_0x144c62];}[_0x5241b3(0x214)](_0x56e768,_0x12d0d5){const _0x2e48f8=_0x5241b3;return _0x28f9a9(_0x12d0d5,this[_0x2e48f8(0x195)](_0x56e768,_0x12d0d5['tableId']));}[_0x5241b3(0x216)](_0x1a1fa0,_0x47ac47){const _0x1b0666=_0x5241b3;return _0x4fa986(_0x47ac47,this[_0x1b0666(0x2c9)](_0x1a1fa0));}['setHeaderRowCount'](_0x1b9f3e,_0x3a696a,_0xf9217e){const _0x11a283=_0x5241b3;this[_0x11a283(0x2c8)](_0x1b9f3e,_0x3a696a,_0x24bd99(this[_0x11a283(0x200)][_0x11a283(0x2ef)](_0x1b9f3e),_0x3a696a,_0xf9217e));}[_0x5241b3(0x328)](_0x5ba50c,_0x3d040f,_0x47d65e){const _0x2c774a=_0x5241b3;this['_setResource'](_0x5ba50c,_0x3d040f,_0x4cad2e(this[_0x2c774a(0x200)][_0x2c774a(0x2ef)](_0x5ba50c),_0x3d040f,_0x47d65e));}[_0x5241b3(0x2e1)](_0x34843e,_0x1a8429,_0x195495,_0x1d6fbf){const _0x229373=_0x5241b3;this[_0x229373(0x2c8)](_0x34843e,_0x1a8429,_0x47c4d7(this[_0x229373(0x200)][_0x229373(0x2ef)](_0x34843e),_0x1a8429,_0x195495,_0x1d6fbf));}['serialize'](_0xec551b){const _0x13ab6e=_0x5241b3;return _0x5d50ee(this[_0x13ab6e(0x200)][_0x13ab6e(0x2ef)](_0xec551b));}[_0x5241b3(0x2c0)](_0x1c4d1b,_0x349c5e){this['_resources']['set'](_0x1c4d1b,_0x5d50ee(_0x349c5e)),this['_change$']['next']({'unitId':_0x1c4d1b});}[_0x5241b3(0x19d)](_0x3287f5){const _0x25933c=_0x5241b3;this['_resources'][_0x25933c(0x196)](_0x3287f5),this[_0x25933c(0x206)]['next']({'unitId':_0x3287f5});}[_0x5241b3(0x213)](){const _0x5f0b96=_0x5241b3;super['dispose'](),this[_0x5f0b96(0x200)]['clear'](),this['_change$'][_0x5f0b96(0x1ae)]();}['_setResource'](_0x4eb472,_0x4c982d,_0x1a35b5){const _0x4aba98=_0x5241b3;this[_0x4aba98(0x200)][_0x4aba98(0x177)](_0x4eb472,_0x1a35b5),this[_0x4aba98(0x206)][_0x4aba98(0x275)]({'unitId':_0x4eb472,'tableId':_0x4c982d});}};let _0x2be8ba={'id':'docs-table.command.apply-table-actions','type':_0x2752e6[_0x5241b3(0x333)]['COMMAND'],'handler':(_0x417b77,_0x5f2756)=>{const _0x4e29de=_0x5241b3;let _0x21c37e=_0x5f2756&&_0x417b77[_0x4e29de(0x2ef)](_0x2752e6[_0x4e29de(0x17b)])['getUnit'](_0x5f2756[_0x4e29de(0x22e)],_0x2752e6['UniverInstanceType']['UNIVER_DOC']);if(!_0x21c37e||_0x21c37e[_0x4e29de(0x22c)]()||!_0x21c37e[_0x4e29de(0x17c)]())return!0x1;let _0x49e632=_0x21c37e[_0x4e29de(0x2c5)]()[_0x4e29de(0x16e)]??{},_0x5f3230=_0x417b77['get'](_0x3e0d2c),_0x332711=Object[_0x4e29de(0x1c6)](_0x49e632)[_0x4e29de(0x1b5)]((_0x41a8f9,_0x59087f)=>_0x2752e6['JSONX'][_0x4e29de(0x34a)](_0x41a8f9,_0x30ee9f(_0x59087f,_0x5f3230[_0x4e29de(0x195)](_0x5f2756[_0x4e29de(0x22e)],_0x59087f['tableId']))),null),_0x4a33c6=_0x417b77['get'](_0x2752e6[_0x4e29de(0x282)]);if(!_0x2752e6[_0x4e29de(0x305)]['isNoop'](_0x332711)){let _0x520674={'unitId':_0x5f2756[_0x4e29de(0x22e)],'actions':_0x332711,'textRanges':null,'noNeedSetTextRange':!0x0,'trigger':void 0x0},_0x27eb67=_0x4a33c6[_0x4e29de(0x15d)](_0x3dc5f1=>{const _0xb7d977=_0x4e29de;_0x3dc5f1['id']===_0x43be57[_0xb7d977(0x2ab)]['id']&&_0x3dc5f1[_0xb7d977(0x192)]===_0x520674&&(_0x520674[_0xb7d977(0x161)]=void 0x0);});try{if(!_0x4a33c6[_0x4e29de(0x266)](_0x43be57['RichTextEditingMutation']['id'],_0x520674))return!0x1;}finally{_0x27eb67[_0x4e29de(0x213)]();}}let _0x3c50c1=_0x4a33c6['syncExecuteCommand'](_0x43be57[_0x4e29de(0x2ab)]['id'],{..._0x5f2756,'actions':_0x5f2756[_0x4e29de(0x300)],'trigger':_0x2be8ba['id']});return _0x3c50c1!==!0x1&&_0x3c50c1[_0x4e29de(0x300)]!=null&&_0x3c50c1[_0x4e29de(0x300)][_0x4e29de(0x252)]>0x0;}};function _0x1eeb2b(_0x22cc0d,_0x2e1807){const _0x13c5ca=_0x5241b3;return(_0x22cc0d==null?void 0x0:_0x22cc0d[_0x13c5ca(0x23b)])??(_0x2e1807==null?void 0x0:_0x2e1807[_0x13c5ca(0x23b)])??'';}function _0xe6ca7b(_0x3b716e,_0x59045b){const _0x5db2d6=_0x5241b3;let _0x3bd1ac=(_0x3b716e==null?void 0x0:_0x3b716e[_0x5db2d6(0x172)])??(_0x59045b==null?void 0x0:_0x59045b[_0x5db2d6(0x172)]),_0x95ce6c=(_0x3b716e==null?void 0x0:_0x3b716e[_0x5db2d6(0x324)])??(_0x59045b==null?void 0x0:_0x59045b[_0x5db2d6(0x324)]),_0x2c00aa=(_0x3b716e==null?void 0x0:_0x3b716e[_0x5db2d6(0x2a1)])??(_0x59045b==null?void 0x0:_0x59045b['startColumn']),_0x2b3081=(_0x3b716e==null?void 0x0:_0x3b716e[_0x5db2d6(0x1bd)])??(_0x59045b==null?void 0x0:_0x59045b[_0x5db2d6(0x1bd)]);return _0x3bd1ac==null||_0x95ce6c==null||_0x2c00aa==null||_0x2b3081==null?null:{'endColumn':_0x2b3081,'endRow':_0x95ce6c,'startColumn':_0x2c00aa,'startRow':_0x3bd1ac};}function _0x301325(_0x441ad2,_0x82e7ac=''){const _0x230745=_0x5241b3;var _0x4aed62,_0x377ac5;let _0x433761=_0x441ad2[_0x230745(0x2c5)]();if(!_0x82e7ac||(_0x4aed62=_0x433761[_0x230745(0x347)])!=null&&(_0x4aed62=_0x4aed62[_0x230745(0x1ad)])!=null&&_0x4aed62[_0x230745(0x277)](_0x29aa74=>_0x29aa74['tableId']===_0x82e7ac))return _0x433761;let _0x387017=(_0x377ac5=_0x441ad2[_0x230745(0x13e)](_0x82e7ac))==null?void 0x0:_0x377ac5['getSnapshot']();return _0x387017?{..._0x387017,'documentStyle':_0x433761[_0x230745(0x207)],'drawings':_0x433761[_0x230745(0x18e)],'drawingsOrder':_0x433761[_0x230745(0x2df)],'tableSource':_0x433761[_0x230745(0x16e)]}:null;}function _0x755965(_0x3dc773,_0x2c7988,_0x592a80,_0x31a950){const _0x5b5437=_0x5241b3;return _0x31aac2(_0x592a80,_0x31a950)?null:_0x592a80===void 0x0?_0x3dc773[_0x5b5437(0x2ea)](_0x2c7988,_0x31a950):_0x31a950===void 0x0?_0x3dc773[_0x5b5437(0x2b3)](_0x2c7988,_0x592a80):_0x3dc773[_0x5b5437(0x1e7)](_0x2c7988,_0x592a80,_0x31a950);}function _0x742621(_0xb9de95,_0x15d9c3,_0x4e6506,_0x4b54a9,_0x49f491){const _0xdf41d8=_0x5241b3;var _0x357ee7,_0x4f306d;let _0x11e53e=(_0x357ee7=_0xb9de95[_0xdf41d8(0x16e)])==null?void 0x0:_0x357ee7[_0x15d9c3];if(!(_0x11e53e!=null&&_0x11e53e[_0xdf41d8(0x25c)][_0x4e6506]))return null;let _0x517c9e=_0x11e53e[_0xdf41d8(0x25c)][_0xdf41d8(0x211)]((_0x59e41a,_0x106e20)=>{let _0x266d7d=_0x106e20===_0x4e6506?_0x4b54a9:_0x49f491==null?void 0x0:_0x49f491[_0x106e20];return _0x266d7d==null?null:_0x52ba8c(_0xb9de95,_0x15d9c3,_0x106e20,_0x266d7d);})[_0xdf41d8(0x165)](Boolean)['reduce']((_0x484564,_0x49ca9f)=>_0x2752e6['JSONX']['compose'](_0x484564,_0x49ca9f),null);if(((_0x4f306d=_0x11e53e[_0xdf41d8(0x145)])==null?void 0x0:_0x4f306d[_0xdf41d8(0x20c)])!==_0x2752e6[_0xdf41d8(0x2ad)]['SPECIFIED'])return _0x517c9e;let _0x440258=_0x11e53e[_0xdf41d8(0x25c)][_0xdf41d8(0x1b5)]((_0x41ffde,_0x298421,_0x13bf40)=>{const _0xab4097=_0xdf41d8;var _0x2f9d48;return _0x41ffde+(_0x13bf40===_0x4e6506?Math['max'](0x1,_0x4b54a9):(_0x49f491==null?void 0x0:_0x49f491[_0x13bf40])??((_0x2f9d48=_0x298421[_0xab4097(0x145)])==null||(_0x2f9d48=_0x2f9d48['width'])==null?void 0x0:_0x2f9d48['v'])??0x0);},0x0),_0x1ea789=_0x755965(_0x2752e6[_0xdf41d8(0x305)][_0xdf41d8(0x24d)](),[_0xdf41d8(0x16e),_0x15d9c3,_0xdf41d8(0x145),_0xdf41d8(0x330)],_0x11e53e['size']['width'],{'v':_0x440258});return _0x2752e6[_0xdf41d8(0x305)][_0xdf41d8(0x34a)](_0x517c9e,_0x1ea789);}function _0x52ba8c(_0x5a67b8,_0x9aa987,_0x30734e,_0x2ebce2){const _0x22ac1e=_0x5241b3;var _0x31ffb7,_0x17cae9,_0x335da0;let _0x50e680=(_0x31ffb7=_0x5a67b8['tableSource'])==null||(_0x31ffb7=_0x31ffb7[_0x9aa987])==null?void 0x0:_0x31ffb7[_0x22ac1e(0x25c)][_0x30734e];if(!_0x50e680)return null;let _0x4e2582=Math['max'](0x1,_0x2ebce2);if(((_0x17cae9=_0x50e680['size'])==null||(_0x17cae9=_0x17cae9[_0x22ac1e(0x330)])==null?void 0x0:_0x17cae9['v'])===_0x4e2582)return null;let _0x4f9797=_0x2752e6[_0x22ac1e(0x305)][_0x22ac1e(0x24d)]();return _0x50e680['size']?_0x50e680[_0x22ac1e(0x145)]['width']?_0x4f9797[_0x22ac1e(0x1e7)](['tableSource',_0x9aa987,_0x22ac1e(0x25c),_0x30734e,'size',_0x22ac1e(0x330),'v'],(_0x335da0=_0x50e680[_0x22ac1e(0x145)])==null||(_0x335da0=_0x335da0[_0x22ac1e(0x330)])==null?void 0x0:_0x335da0['v'],_0x4e2582):_0x4f9797[_0x22ac1e(0x2ea)]([_0x22ac1e(0x16e),_0x9aa987,_0x22ac1e(0x25c),_0x30734e,_0x22ac1e(0x145),'width'],{'v':_0x4e2582}):_0x4f9797['insertOp'](['tableSource',_0x9aa987,_0x22ac1e(0x25c),_0x30734e,'size'],{'type':_0x2752e6[_0x22ac1e(0x2ad)]['SPECIFIED'],'width':{'v':_0x4e2582}});}function _0x3ea22b(_0x1ff9db,_0x50ef05,_0x2c6b7e,_0x2c0145){const _0x5ed8de=_0x5241b3;var _0x544381,_0x225a23,_0x42e11e,_0x3155ee,_0x2f3b5d;let _0x447066=(_0x544381=_0x1ff9db['tableSource'])==null?void 0x0:_0x544381[_0x50ef05];if(!_0x447066)return null;let _0x4c2e72=_0x2752e6[_0x5ed8de(0x305)]['getInstance']();return _0x39529d([_0x755965(_0x4c2e72,['tableSource',_0x50ef05,_0x5ed8de(0x158)],_0x447066[_0x5ed8de(0x158)],_0x2752e6[_0x5ed8de(0x231)][_0x5ed8de(0x34e)]),_0x755965(_0x4c2e72,[_0x5ed8de(0x16e),_0x50ef05,_0x5ed8de(0x27a),_0x5ed8de(0x2f8),'posOffset'],(_0x225a23=_0x447066[_0x5ed8de(0x27a)])==null||(_0x225a23=_0x225a23[_0x5ed8de(0x2f8)])==null?void 0x0:_0x225a23['posOffset'],(((_0x42e11e=_0x447066[_0x5ed8de(0x27a)])==null||(_0x42e11e=_0x42e11e[_0x5ed8de(0x2f8)])==null?void 0x0:_0x42e11e[_0x5ed8de(0x1f1)])??0x0)+_0x2c6b7e),_0x755965(_0x4c2e72,[_0x5ed8de(0x16e),_0x50ef05,'position',_0x5ed8de(0x2fe),'posOffset'],(_0x3155ee=_0x447066[_0x5ed8de(0x27a)])==null||(_0x3155ee=_0x3155ee[_0x5ed8de(0x2fe)])==null?void 0x0:_0x3155ee['posOffset'],(((_0x2f3b5d=_0x447066[_0x5ed8de(0x27a)])==null||(_0x2f3b5d=_0x2f3b5d[_0x5ed8de(0x2fe)])==null?void 0x0:_0x2f3b5d[_0x5ed8de(0x1f1)])??0x0)+_0x2c0145)]['filter'](Boolean));}function _0x7f8ae6(_0x4b42b0,_0x85242e,_0x35dbec,_0x366a77=[_0x5241b3(0x347)]){const _0x28939d=_0x5241b3;var _0x12e391,_0x8d4ff7,_0x39b02f;let _0x53ab47=_0x4b42b0[_0x28939d(0x347)],_0x23499c=(_0x12e391=_0x4b42b0[_0x28939d(0x16e)])==null?void 0x0:_0x12e391[_0x85242e],_0x4b15c4=_0x48bd87(_0x4b42b0,_0x85242e);if(!(_0x53ab47!=null&&_0x53ab47[_0x28939d(0x227)])||!_0x23499c||!_0x4b15c4)return null;let _0x429ec9=Math[_0x28939d(0x355)](Math[_0x28939d(0x356)](_0x35dbec,0x0),_0x53ab47['dataStream'][_0x28939d(0x252)]);if(_0x429ec9>=_0x4b15c4[_0x28939d(0x1fe)]&&_0x429ec9<=_0x4b15c4[_0x28939d(0x2a0)]||!_0x53a7f9(_0x53ab47,_0x85242e,_0x429ec9))return null;let _0x14d8ba=_0x159a9c(_0x53ab47,_0x4b15c4['startOffset'],_0x4b15c4[_0x28939d(0x2a0)],_0x429ec9,_0x366a77);if(!_0x14d8ba)return null;let _0x3a46d2=_0x2752e6['JSONX'][_0x28939d(0x24d)]();return _0x39529d([_0x14d8ba,_0x755965(_0x3a46d2,[_0x28939d(0x16e),_0x85242e,_0x28939d(0x158)],_0x23499c['textWrap'],_0x2752e6[_0x28939d(0x231)]['NONE']),_0x755965(_0x3a46d2,[_0x28939d(0x16e),_0x85242e,_0x28939d(0x27a),_0x28939d(0x2f8),_0x28939d(0x1f1)],(_0x8d4ff7=_0x23499c[_0x28939d(0x27a)])==null||(_0x8d4ff7=_0x8d4ff7[_0x28939d(0x2f8)])==null?void 0x0:_0x8d4ff7['posOffset'],0x0),_0x755965(_0x3a46d2,[_0x28939d(0x16e),_0x85242e,_0x28939d(0x27a),_0x28939d(0x2fe),'posOffset'],(_0x39b02f=_0x23499c[_0x28939d(0x27a)])==null||(_0x39b02f=_0x39b02f[_0x28939d(0x2fe)])==null?void 0x0:_0x39b02f[_0x28939d(0x1f1)],0x0)][_0x28939d(0x165)](Boolean));}function _0x53a7f9(_0x4e1445,_0x77733a,_0x580867){const _0x2edf39=_0x5241b3;var _0x486945,_0x3770f3,_0x33f7d4;return!((_0x486945=_0x4e1445[_0x2edf39(0x1ad)])!=null&&_0x486945[_0x2edf39(0x277)](_0x21363f=>_0x21363f[_0x2edf39(0x135)]!==_0x77733a&&_0x21363f[_0x2edf39(0x2eb)]<=_0x580867&&_0x580867<_0x21363f['endIndex'])||(_0x3770f3=_0x4e1445[_0x2edf39(0x2aa)])!=null&&_0x3770f3[_0x2edf39(0x277)](_0x249573=>_0x249573['startIndex']<=_0x580867&&_0x580867<=_0x249573['endIndex'])||(_0x33f7d4=_0x4e1445['customBlocks'])!=null&&_0x33f7d4[_0x2edf39(0x277)](_0x97dc4f=>_0x97dc4f[_0x2edf39(0x2eb)]===_0x580867));}function _0x133d60(_0x38f950,_0x5cf748,_0x5c7513,_0x5478be,_0x3d0394=_0x2752e6[_0x5241b3(0x2ac)]['AT_LEAST']){const _0x5bb0b2=_0x5241b3;var _0x54aafb,_0x2384d5,_0x27655d;let _0x2f5ba0=(_0x54aafb=_0x38f950['tableSource'])==null||(_0x54aafb=_0x54aafb[_0x5cf748])==null?void 0x0:_0x54aafb[_0x5bb0b2(0x163)][_0x5c7513];if(!_0x2f5ba0)return null;let _0x30efba={'hRule':_0x3d0394,'val':{'v':Math[_0x5bb0b2(0x356)](0x1,_0x5478be)}};return _0x2f5ba0['trHeight']?[_0x755965(_0x2752e6[_0x5bb0b2(0x305)][_0x5bb0b2(0x24d)](),[_0x5bb0b2(0x16e),_0x5cf748,_0x5bb0b2(0x163),_0x5c7513,_0x5bb0b2(0x28c),_0x5bb0b2(0x21b)],(_0x2384d5=_0x2f5ba0['trHeight'])==null?void 0x0:_0x2384d5[_0x5bb0b2(0x21b)],_0x30efba['hRule']),_0x755965(_0x2752e6[_0x5bb0b2(0x305)][_0x5bb0b2(0x24d)](),['tableSource',_0x5cf748,_0x5bb0b2(0x163),_0x5c7513,_0x5bb0b2(0x28c),_0x5bb0b2(0x33b),'v'],(_0x27655d=_0x2f5ba0[_0x5bb0b2(0x28c)])==null||(_0x27655d=_0x27655d[_0x5bb0b2(0x33b)])==null?void 0x0:_0x27655d['v'],_0x30efba[_0x5bb0b2(0x33b)]['v'])]['filter'](Boolean)['reduce']((_0x3cf4a5,_0x4fab75)=>_0x2752e6[_0x5bb0b2(0x305)][_0x5bb0b2(0x34a)](_0x3cf4a5,_0x4fab75),null):_0x2752e6['JSONX'][_0x5bb0b2(0x24d)]()[_0x5bb0b2(0x2ea)](['tableSource',_0x5cf748,_0x5bb0b2(0x163),_0x5c7513,_0x5bb0b2(0x28c)],_0x30efba);}function _0xa41d99(_0x41384a,_0x48d200,_0x2be0da,_0x2b442d){const _0x51e5e5=_0x5241b3;var _0x296e80;let _0xf8bcd9=(_0x296e80=_0x41384a[_0x51e5e5(0x16e)])==null?void 0x0:_0x296e80[_0x48d200];if(!_0xf8bcd9)return null;let _0x476b91=Math[_0x51e5e5(0x355)](_0x2be0da,_0x2b442d),_0x592540=Math[_0x51e5e5(0x356)](_0x2be0da,_0x2b442d),_0x4c8998=_0xf8bcd9[_0x51e5e5(0x163)][_0x51e5e5(0x233)](_0x476b91,_0x592540+0x1);if(!_0x4c8998['length'])return null;let _0x1e4017=_0x4c8998[_0x51e5e5(0x1b5)]((_0x41f60e,_0x15c54c)=>{var _0xfe69f8;return _0x41f60e+(((_0xfe69f8=_0x15c54c['trHeight'])==null||(_0xfe69f8=_0xfe69f8['val'])==null?void 0x0:_0xfe69f8['v'])??0x0);},0x0)/_0x4c8998[_0x51e5e5(0x252)];return _0x4c8998['map']((_0x523428,_0x4dff78)=>_0x133d60(_0x41384a,_0x48d200,_0x476b91+_0x4dff78,_0x1e4017))[_0x51e5e5(0x165)](Boolean)['reduce']((_0x530956,_0x37d73e)=>_0x2752e6[_0x51e5e5(0x305)][_0x51e5e5(0x34a)](_0x530956,_0x37d73e),null);}function _0x1937d3(_0x4468aa,_0x1121ef,_0x31d0d9,_0x376e65){const _0x52b653=_0x5241b3;var _0xa31afe;let _0x3a6487=(_0xa31afe=_0x4468aa[_0x52b653(0x16e)])==null?void 0x0:_0xa31afe[_0x1121ef];if(!_0x3a6487)return null;let _0x455582=Math['min'](_0x31d0d9,_0x376e65),_0x4ffce1=Math[_0x52b653(0x356)](_0x31d0d9,_0x376e65),_0x26a846=_0x3a6487[_0x52b653(0x25c)][_0x52b653(0x233)](_0x455582,_0x4ffce1+0x1);if(!_0x26a846[_0x52b653(0x252)])return null;let _0x3cff54=_0x26a846['reduce']((_0xee23e,_0xf265f4)=>{const _0x34d3e4=_0x52b653;var _0xa1260d;return _0xee23e+(((_0xa1260d=_0xf265f4[_0x34d3e4(0x145)])==null||(_0xa1260d=_0xa1260d[_0x34d3e4(0x330)])==null?void 0x0:_0xa1260d['v'])??0x0);},0x0)/_0x26a846['length'];return _0x26a846[_0x52b653(0x211)]((_0x17915a,_0x1c8e34)=>_0x52ba8c(_0x4468aa,_0x1121ef,_0x455582+_0x1c8e34,_0x3cff54))[_0x52b653(0x165)](Boolean)[_0x52b653(0x1b5)]((_0x231368,_0x2790d4)=>_0x2752e6[_0x52b653(0x305)][_0x52b653(0x34a)](_0x231368,_0x2790d4),null);}function _0x342098(_0x34d78e,_0xa93e8e,_0x5d6737){const _0x30074b=_0x5241b3;var _0x11b9dc;let _0xb88603=(_0x11b9dc=_0x34d78e[_0x30074b(0x16e)])==null?void 0x0:_0x11b9dc[_0xa93e8e];if(!_0xb88603)return null;let _0x80266c=Math[_0x30074b(0x355)](Math[_0x30074b(0x356)](0x0,_0x5d6737),_0xb88603['tableRows'][_0x30074b(0x252)]),_0x471fbf=_0x2752e6['JSONX'][_0x30074b(0x24d)](),_0x43749b=[];return _0xb88603[_0x30074b(0x163)][_0x30074b(0x20d)]((_0x491d8e,_0x3e895f)=>{const _0x277557=_0x30074b;let _0x377eca=_0x3e895f<_0x80266c?_0x2752e6[_0x277557(0x2a8)]['TRUE']:_0x2752e6[_0x277557(0x2a8)][_0x277557(0x21c)],_0x13a8b4=_0x3e895f<_0x80266c?_0x2752e6[_0x277557(0x2a8)]['TRUE']:void 0x0,_0x23905b=_0x755965(_0x471fbf,[_0x277557(0x16e),_0xa93e8e,'tableRows',_0x3e895f,_0x277557(0x139)],_0x491d8e['repeatHeaderRow'],_0x377eca),_0x4be7fa=_0x755965(_0x471fbf,[_0x277557(0x16e),_0xa93e8e,_0x277557(0x163),_0x3e895f,_0x277557(0x358)],_0x491d8e[_0x277557(0x358)],_0x13a8b4);_0x23905b&&_0x43749b['push'](_0x23905b),_0x4be7fa&&_0x43749b[_0x277557(0x190)](_0x4be7fa);}),{'actions':_0x39529d(_0x43749b),'headerRowCount':_0x80266c};}function _0x1eba0a(_0x1f439c,_0x2494a3,_0x6f5b1,_0x4aaf6a,_0x24378d,_0x2f23b6={}){const _0x3c38fd=_0x5241b3;var _0x3d382c;let _0xbd063f=(_0x3d382c=_0x1f439c['tableSource'])==null?void 0x0:_0x3d382c[_0x2494a3],_0x37c8a1=_0x48bd87(_0x1f439c,_0x2494a3);if(!_0xbd063f||!_0x37c8a1||_0x4aaf6a<=0x0||_0x6f5b1<0x0||_0x6f5b1>=_0xbd063f[_0x3c38fd(0x25c)]['length'])return null;let _0x1d7e83=_0x24378d===_0x3c38fd(0x28f)?_0x6f5b1:_0x6f5b1+0x1,_0x512673=_0xbd063f[_0x3c38fd(0x25c)][_0x6f5b1],_0x137637=_0x2f23b6[_0x3c38fd(0x346)]??_0x512673['size'][_0x3c38fd(0x330)]['v'],_0x1a365e=_0x2f23b6['preserveTotalWidth']??!0x0,_0x156994=_0xbd063f[_0x3c38fd(0x25c)][_0x3c38fd(0x1b5)]((_0x555652,_0x1f0061)=>_0x555652+_0x1f0061[_0x3c38fd(0x145)][_0x3c38fd(0x330)]['v'],0x0),_0x36e98f=_0x1a365e&&_0x156994>0x0?_0x156994/(_0x156994+_0x137637*_0x4aaf6a):0x1;if(_0x29edd9(_0xbd063f))return _0x3b8fb3(_0x1f439c,_0xbd063f,_0x37c8a1,_0x2494a3,_0x6f5b1,_0x1d7e83,_0x4aaf6a,_0x137637,_0x36e98f,_0x1a365e,_0x156994,_0x2f23b6['bodyPath']??[_0x3c38fd(0x347)]);let _0x2ca3e6=_0x560ec3(_0xbd063f,_0x1d7e83,_0x4aaf6a),_0x18e542=_0x3bde0b(_0xbd063f,_0x2ca3e6,_0x29729f=>_0x29729f>=_0x1d7e83?_0x29729f+_0x4aaf6a:_0x29729f);_0x4aa65e(_0x18e542,_0xbd063f,_0x2494a3,_0x1a365e,_0x156994,_0x137637,_0x4aaf6a,_0x36e98f),_0x5eb762(_0x18e542,_0xbd063f,_0x2494a3,_0x6f5b1,_0x1d7e83,_0x4aaf6a,_0x137637,_0x36e98f,_0x2ca3e6);let _0x52586c=_0xaefc5e(_0x1f439c,_0x1a5937(_0x37c8a1,_0x6f5b1,_0x4aaf6a,_0x24378d),_0x2f23b6[_0x3c38fd(0x1ee)]??[_0x3c38fd(0x347)]);return _0x52586c?(_0x18e542['push'](_0x52586c),{'actions':_0x39529d(_0x18e542),'cursorColumn':_0x1d7e83}):null;}function _0x29edd9(_0x46470c){const _0x2d37e9=_0x5241b3;return _0x46470c[_0x2d37e9(0x163)][_0x2d37e9(0x277)](_0x10b34f=>_0x10b34f['tableCells'][_0x2d37e9(0x252)]!==_0x46470c[_0x2d37e9(0x25c)]['length']);}function _0x1de9ea(_0x563241){const _0x2dd8a6=_0x5241b3;let _0x52743a=_0x563241[_0x2dd8a6(0x157)]??0x0;return _0x563241['tableCells'][_0x2dd8a6(0x211)]((_0x2205af,_0x1ab39d)=>{const _0x2251f0=_0x2dd8a6;let _0x505e33=Math['max'](0x1,_0x2205af[_0x2251f0(0x141)]??0x1),_0x28f4a7={'cell':_0x2205af,'physicalIndex':_0x1ab39d,'startColumn':_0x52743a,'endColumn':_0x52743a+_0x505e33-0x1};return _0x52743a+=_0x505e33,_0x28f4a7;});}function _0x3b8fb3(_0x539651,_0x5e74cc,_0x19bf34,_0x4d0995,_0x30bc41,_0x32f7a9,_0x588059,_0x4127b6,_0x343c24,_0x415acd,_0x3e14c3,_0x56ddfd){const _0x1ab09c=_0x5241b3;let _0x2fce4e=[];_0x4aa65e(_0x2fce4e,_0x5e74cc,_0x4d0995,_0x415acd,_0x3e14c3,_0x4127b6,_0x588059,_0x343c24);let _0x4ac948=_0x2752e6[_0x1ab09c(0x305)][_0x1ab09c(0x24d)](),_0x59bb8c=_0x5e74cc[_0x1ab09c(0x25c)][_0x30bc41];for(let _0x90ac70=0x0;_0x90ac70<_0x588059;_0x90ac70++){let _0x175ba7=_0x28ecab(_0x59bb8c);_0x175ba7[_0x1ab09c(0x145)]['width']['v']=_0x4127b6*_0x343c24,_0x2fce4e[_0x1ab09c(0x190)](_0x4ac948[_0x1ab09c(0x2ea)]([_0x1ab09c(0x16e),_0x4d0995,'tableColumns',_0x32f7a9+_0x90ac70],_0x175ba7));}let _0x4a2ace=[];if(_0x5e74cc['tableRows'][_0x1ab09c(0x20d)]((_0x244e0,_0x14948a)=>{const _0x586893=_0x1ab09c;let _0x4faa40=_0x1de9ea(_0x244e0),_0x5a60f9=_0x4faa40[_0x586893(0x14b)](_0x166e6e=>_0x166e6e['startColumn']<_0x32f7a9&&_0x32f7a9<=_0x166e6e['endColumn']);if(_0x5a60f9){let _0x7f7396=_0x5a60f9['cell'][_0x586893(0x141)]??0x1;_0x2fce4e[_0x586893(0x190)](_0x755965(_0x4ac948,[_0x586893(0x16e),_0x4d0995,_0x586893(0x163),_0x14948a,'tableCells',_0x5a60f9['physicalIndex'],_0x586893(0x141)],_0x5a60f9[_0x586893(0x295)][_0x586893(0x141)],_0x7f7396+_0x588059));return;}let _0x3f688e=_0x4faa40[_0x586893(0x1c9)](_0x283547=>_0x283547[_0x586893(0x2a1)]>=_0x32f7a9),_0x29f4bf=_0x3f688e<0x0?_0x244e0[_0x586893(0x1a6)][_0x586893(0x252)]:_0x3f688e,_0x1a84be=_0x4faa40[_0x586893(0x14b)](_0x271070=>_0x30bc41>=_0x271070[_0x586893(0x2a1)]&&_0x30bc41<=_0x271070['endColumn'])??_0x4faa40[Math['min'](_0x29f4bf,_0x4faa40['length']-0x1)];if(!_0x1a84be)return;for(let _0x421f74=0x0;_0x421f74<_0x588059;_0x421f74++){let _0x2bc59a=_0x28ecab(_0x1a84be['cell']);delete _0x2bc59a[_0x586893(0x359)],delete _0x2bc59a['columnSpan'],_0x2fce4e['push'](_0x4ac948[_0x586893(0x2ea)]([_0x586893(0x16e),_0x4d0995,_0x586893(0x163),_0x14948a,_0x586893(0x1a6),_0x29f4bf+_0x421f74],_0x2bc59a));}let _0x4a7b5b=_0x19bf34['rows'][_0x14948a],_0x5eb1e7=_0x29f4bf<_0x4a7b5b[_0x586893(0x31b)][_0x586893(0x252)]?_0x4a7b5b[_0x586893(0x31b)][_0x29f4bf]['startOffset']:_0x4a7b5b[_0x586893(0x2a0)];_0x4a2ace[_0x586893(0x190)]({'startOffset':_0x5eb1e7,'endOffset':_0x5eb1e7,'text':_0x1eafd8(_0x2ed5c2(),_0x588059)});}),_0x4a2ace[_0x1ab09c(0x252)]){let _0x1a7ffd=_0xaefc5e(_0x539651,_0x4a2ace,_0x56ddfd);if(!_0x1a7ffd)return null;_0x2fce4e[_0x1ab09c(0x190)](_0x1a7ffd);}return{'actions':_0x39529d(_0x2fce4e),'cursorColumn':_0x32f7a9};}function _0x560ec3(_0x19739a,_0x35246a,_0x5a3c55){const _0x324d0a=_0x5241b3;return _0x961c81(_0x31adf0(_0x19739a)[_0x324d0a(0x211)](_0x1e90a6=>_0x35246a<=_0x1e90a6[_0x324d0a(0x2a1)]?{..._0x1e90a6,'startColumn':_0x1e90a6[_0x324d0a(0x2a1)]+_0x5a3c55,'endColumn':_0x1e90a6[_0x324d0a(0x1bd)]+_0x5a3c55}:_0x35246a<=_0x1e90a6[_0x324d0a(0x1bd)]?{..._0x1e90a6,'endColumn':_0x1e90a6[_0x324d0a(0x1bd)]+_0x5a3c55}:_0x1e90a6));}function _0x4aa65e(_0x19c393,_0x4c3112,_0x462414,_0x1763c2,_0x3531d8,_0x3a8438,_0x43040e,_0x498b83){const _0x342481=_0x5241b3;var _0x243fec;let _0xa83e8c=_0x2752e6['JSONX']['getInstance']();if(_0x1763c2)_0x4c3112['tableColumns'][_0x342481(0x20d)]((_0x582da9,_0x431163)=>{const _0x3606c4=_0x342481;let _0x179bc7=_0x755965(_0xa83e8c,[_0x3606c4(0x16e),_0x462414,_0x3606c4(0x25c),_0x431163,_0x3606c4(0x145),'width','v'],_0x582da9['size'][_0x3606c4(0x330)]['v'],_0x582da9[_0x3606c4(0x145)]['width']['v']*_0x498b83);_0x179bc7&&_0x19c393[_0x3606c4(0x190)](_0x179bc7);});else{if((_0x243fec=_0x4c3112[_0x342481(0x145)])!=null&&_0x243fec[_0x342481(0x330)]){let _0x4c4802=_0x755965(_0xa83e8c,[_0x342481(0x16e),_0x462414,'size','width','v'],_0x4c3112[_0x342481(0x145)]['width']['v'],_0x3531d8+_0x3a8438*_0x43040e);_0x4c4802&&_0x19c393[_0x342481(0x190)](_0x4c4802);}}}function _0x5eb762(_0x455320,_0x4854cd,_0x450194,_0x274cfd,_0x2edc11,_0x76caa4,_0x13377f,_0x1f116b,_0x3fac88){const _0x5104ad=_0x5241b3;let _0x131650=_0x2752e6['JSONX'][_0x5104ad(0x24d)](),_0xbe361b=_0x4854cd['tableColumns'][_0x274cfd];for(let _0x3db18f=0x0;_0x3db18f<_0x76caa4;_0x3db18f++){let _0x217760=_0x28ecab(_0xbe361b);_0x217760[_0x5104ad(0x145)][_0x5104ad(0x330)]['v']=_0x13377f*_0x1f116b,_0x455320['push'](_0x131650[_0x5104ad(0x2ea)]([_0x5104ad(0x16e),_0x450194,_0x5104ad(0x25c),_0x2edc11+_0x3db18f],_0x217760));}_0x4854cd[_0x5104ad(0x163)]['forEach']((_0x3f0bb4,_0x2878a4)=>{const _0x27d444=_0x5104ad;for(let _0x250b15=0x0;_0x250b15<_0x76caa4;_0x250b15++){let _0x530334=_0x28ecab(_0x3f0bb4[_0x27d444(0x1a6)][_0x274cfd]);_0x3abdac(_0x530334,_0x2878a4,_0x2edc11+_0x250b15,_0x3fac88),_0x455320[_0x27d444(0x190)](_0x131650['insertOp'](['tableSource',_0x450194,_0x27d444(0x163),_0x2878a4,_0x27d444(0x1a6),_0x2edc11+_0x250b15],_0x530334));}});}function _0x1a5937(_0x53df49,_0x5e3e39,_0x46bc6f,_0x5e7e31){const _0x3f02cf=_0x5241b3;let _0x4e7684=_0x1eafd8(_0x2ed5c2(),_0x46bc6f);return _0x53df49['rows'][_0x3f02cf(0x211)](_0x1bd586=>{const _0x67e677=_0x3f02cf;let _0x16d628=_0x1bd586[_0x67e677(0x31b)][_0x5e3e39],_0x1671da=_0x5e7e31==='left'?_0x16d628['startOffset']:_0x16d628['endOffset']+0x1;return{'startOffset':_0x1671da,'endOffset':_0x1671da,'text':_0x4e7684};});}function _0x49d608(_0x20a93b,_0x370333,_0x5d98fa,_0x40344f,_0x53186b=[_0x5241b3(0x347)]){const _0x16be47=_0x5241b3;var _0xd0d956;let _0x5a19f6=(_0xd0d956=_0x20a93b[_0x16be47(0x16e)])==null?void 0x0:_0xd0d956[_0x370333],_0x155703=_0x48bd87(_0x20a93b,_0x370333);if(!_0x5a19f6||!_0x155703)return null;let _0x36d57b=Math[_0x16be47(0x355)](_0x5d98fa,_0x40344f),_0x17abb1=Math['max'](_0x5d98fa,_0x40344f);if(_0x36d57b<0x0||_0x36d57b>=_0x5a19f6[_0x16be47(0x25c)][_0x16be47(0x252)]||_0x17abb1<_0x36d57b)return null;let _0x5dcac2=Math[_0x16be47(0x355)](_0x17abb1,_0x5a19f6[_0x16be47(0x25c)][_0x16be47(0x252)]-0x1),_0x6b9a3=_0x5dcac2-_0x36d57b+0x1;if(_0x6b9a3>=_0x5a19f6['tableColumns'][_0x16be47(0x252)]){let _0x447df6=_0x386df4(_0x20a93b,_0x370333,_0x53186b);return _0x447df6?{'actions':_0x447df6[_0x16be47(0x300)],'cursorColumn':0x0,'deleteTable':!0x0}:null;}if(_0x29edd9(_0x5a19f6))return _0x1e0a7a(_0x20a93b,_0x5a19f6,_0x155703,_0x370333,_0x36d57b,_0x5dcac2,_0x53186b);let _0x2e3e6b=_0x3bde0b(_0x5a19f6,_0x961c81(_0x31adf0(_0x5a19f6)[_0x16be47(0x211)](_0x579e77=>_0x3d2846(_0x579e77,_0x36d57b,_0x5dcac2))[_0x16be47(0x165)](_0x33707a=>_0x33707a!=null)),_0x395e3e=>_0x395e3e<_0x36d57b?_0x395e3e:_0x395e3e>_0x5dcac2?_0x395e3e-_0x6b9a3:null);_0x2c53b8(_0x2e3e6b,_0x5a19f6,_0x370333,_0x36d57b,_0x5dcac2);let _0x209564=_0x155703[_0x16be47(0x167)][_0x16be47(0x211)](_0x58baca=>({'startOffset':_0x58baca[_0x16be47(0x31b)][_0x36d57b][_0x16be47(0x1fe)],'endOffset':_0x58baca['cells'][_0x5dcac2]['endOffset']+0x1,'text':''})),_0x19491f=_0xaefc5e(_0x20a93b,_0x209564,_0x53186b);return _0x19491f?(_0x2e3e6b[_0x16be47(0x190)](..._0x50456d(_0x20a93b,_0x209564[_0x16be47(0x211)](({startOffset:_0xf29996,endOffset:_0x3049c5})=>({'startOffset':_0xf29996,'endOffset':_0x3049c5,'collapsed':!0x1})))),_0x2e3e6b[_0x16be47(0x190)](_0x19491f),{'actions':_0x39529d(_0x2e3e6b),'cursorColumn':Math[_0x16be47(0x355)](_0x36d57b,_0x5a19f6['tableColumns']['length']-_0x6b9a3-0x1)}):null;}function _0x1e0a7a(_0x190c16,_0x1a3624,_0x47aba5,_0x330f69,_0x4d3a35,_0x3d8e47,_0x59e8cb){const _0x13d2cb=_0x5241b3;let _0x3c2a58=_0x2752e6['JSONX'][_0x13d2cb(0x24d)](),_0x1c0b67=[],_0x399535=[],_0x2051ef=[];for(let _0x2d7479=_0x3d8e47;_0x2d7479>=_0x4d3a35;_0x2d7479--)_0x1c0b67[_0x13d2cb(0x190)](_0x3c2a58[_0x13d2cb(0x2b3)]([_0x13d2cb(0x16e),_0x330f69,_0x13d2cb(0x25c),_0x2d7479],_0x28ecab(_0x1a3624[_0x13d2cb(0x25c)][_0x2d7479])));if(_0x1a3624[_0x13d2cb(0x163)]['forEach']((_0x28dba8,_0x996636)=>{const _0xa548c8=_0x13d2cb;_0x1de9ea(_0x28dba8)[_0xa548c8(0x233)]()[_0xa548c8(0x337)]()[_0xa548c8(0x20d)](_0x2a5196=>{const _0x3a0264=_0xa548c8;var _0x13559d;let _0x26a917=Math[_0x3a0264(0x356)](0x0,Math[_0x3a0264(0x355)](_0x2a5196['endColumn'],_0x3d8e47)-Math['max'](_0x2a5196[_0x3a0264(0x2a1)],_0x4d3a35)+0x1);if(_0x26a917===0x0)return;let _0x1658a6=_0x2a5196[_0x3a0264(0x1bd)]-_0x2a5196[_0x3a0264(0x2a1)]+0x1-_0x26a917;if(_0x1658a6>0x0){let _0x3538b2=_0x755965(_0x3c2a58,[_0x3a0264(0x16e),_0x330f69,_0x3a0264(0x163),_0x996636,'tableCells',_0x2a5196[_0x3a0264(0x1f9)],_0x3a0264(0x141)],_0x2a5196[_0x3a0264(0x295)][_0x3a0264(0x141)],_0x1658a6===0x1?void 0x0:_0x1658a6);_0x3538b2&&_0x1c0b67[_0x3a0264(0x190)](_0x3538b2);return;}_0x1c0b67['push'](_0x3c2a58[_0x3a0264(0x2b3)](['tableSource',_0x330f69,'tableRows',_0x996636,_0x3a0264(0x1a6),_0x2a5196[_0x3a0264(0x1f9)]],_0x28ecab(_0x2a5196[_0x3a0264(0x295)])));let _0x3410d5=(_0x13559d=_0x47aba5[_0x3a0264(0x167)][_0x996636])==null?void 0x0:_0x13559d[_0x3a0264(0x31b)][_0x2a5196[_0x3a0264(0x1f9)]];if(_0x3410d5){let _0x3daf5e={'startOffset':_0x3410d5[_0x3a0264(0x1fe)],'endOffset':_0x3410d5[_0x3a0264(0x2a0)]+0x1,'text':''};_0x399535['push'](_0x3daf5e),_0x2051ef[_0x3a0264(0x190)]({'startOffset':_0x3daf5e[_0x3a0264(0x1fe)],'endOffset':_0x3daf5e[_0x3a0264(0x2a0)],'collapsed':!0x1});}});}),_0x399535[_0x13d2cb(0x252)]){let _0x4f0adb=_0xaefc5e(_0x190c16,_0x399535,_0x59e8cb);if(!_0x4f0adb)return null;_0x1c0b67[_0x13d2cb(0x190)](..._0x50456d(_0x190c16,_0x2051ef)),_0x1c0b67[_0x13d2cb(0x190)](_0x4f0adb);}return{'actions':_0x39529d(_0x1c0b67),'cursorColumn':Math[_0x13d2cb(0x355)](_0x4d3a35,_0x1a3624[_0x13d2cb(0x25c)][_0x13d2cb(0x252)]-(_0x3d8e47-_0x4d3a35+0x1)-0x1)};}function _0x3ec91e(_0x4f7102,_0x574990,_0x3d7857,_0x48ff82,_0x5cb4a0,_0x47f895,_0x3ff9d3=[_0x5241b3(0x347)]){const _0x5d3895=_0x5241b3;var _0x47afbd;let _0x55655d=(_0x47afbd=_0x4f7102['tableSource'])==null?void 0x0:_0x47afbd[_0x574990],_0x5eccbe=_0x48bd87(_0x4f7102,_0x574990);if(!_0x55655d||!_0x5eccbe||_0x5cb4a0<=0x0)return null;let _0x47920f=_0x1f8f48(_0x3d7857,_0x55655d[_0x5d3895(0x163)][_0x5d3895(0x252)]-0x1),_0xa39e24=_0x1f8f48(_0x48ff82,_0x55655d[_0x5d3895(0x163)][_0x5d3895(0x252)]-0x1),_0x2d528b=Math['min'](_0x55655d[_0x5d3895(0x163)]['length']-0x1,_0x47920f+_0x5cb4a0-0x1),_0x3d9139=_0x2d528b-_0x47920f+0x1,_0x5a1c87=_0x47f895==='above'?_0xa39e24:_0xa39e24+0x1;if(_0x5a1c87>=_0x47920f&&_0x5a1c87<=_0x2d528b+0x1)return{'actions':null,'cursorRow':_0x47920f};let _0x2d921b=_0x5a1c87>_0x2d528b?_0x5a1c87-_0x3d9139:_0x5a1c87,_0x2b2eca=[];_0x42440a(_0x2b2eca,[_0x5d3895(0x16e),_0x574990,'tableRows'],_0x47920f,_0x3d9139,_0x2d921b);let _0x1d088a=_0x2c94b9(_0x5eccbe,_0x47920f)[_0x5d3895(0x1fe)],_0x1c045a=_0x2c94b9(_0x5eccbe,_0x2d528b)['endOffset']+0x1,_0x502ce2=_0x5a1c87>_0x2d528b?_0x2c94b9(_0x5eccbe,_0xa39e24)['endOffset']+0x1:_0x2c94b9(_0x5eccbe,_0xa39e24)['startOffset'],_0x4a0084=_0x159a9c(_0x4f7102['body'],_0x1d088a,_0x1c045a,_0x502ce2,_0x3ff9d3);return _0x4a0084?(_0x2b2eca['push'](_0x4a0084),{'actions':_0x39529d(_0x2b2eca),'cursorRow':_0x2d921b}):null;}function _0x632d2f(_0x25f92c,_0xa23651,_0x53e0be,_0x334b53,_0x2287f7,_0x35bc25,_0xe1fed2=['body']){const _0x20454b=_0x5241b3;var _0x23558d;let _0x2d0224=(_0x23558d=_0x25f92c[_0x20454b(0x16e)])==null?void 0x0:_0x23558d[_0xa23651],_0x17de95=_0x48bd87(_0x25f92c,_0xa23651);if(!_0x2d0224||!_0x17de95||_0x2287f7<=0x0)return null;let _0x54ac3e=_0x1f8f48(_0x53e0be,_0x2d0224[_0x20454b(0x25c)]['length']-0x1),_0x526fc6=_0x1f8f48(_0x334b53,_0x2d0224[_0x20454b(0x25c)]['length']-0x1),_0x4418c9=Math[_0x20454b(0x355)](_0x2d0224[_0x20454b(0x25c)]['length']-0x1,_0x54ac3e+_0x2287f7-0x1),_0x324387=_0x4418c9-_0x54ac3e+0x1,_0x506724=_0x35bc25===_0x20454b(0x28f)?_0x526fc6:_0x526fc6+0x1;if(_0x506724>=_0x54ac3e&&_0x506724<=_0x4418c9+0x1)return{'actions':null,'cursorColumn':_0x54ac3e};if(_0x29edd9(_0x2d0224))return _0x3c48d0(_0x25f92c,_0x2d0224,_0x17de95,_0xa23651,_0x54ac3e,_0x4418c9,_0x506724,_0xe1fed2);let _0x1cc0f2=_0x506724>_0x4418c9?_0x506724-_0x324387:_0x506724,_0x10d9aa=[];return _0x42440a(_0x10d9aa,[_0x20454b(0x16e),_0xa23651,_0x20454b(0x25c)],_0x54ac3e,_0x324387,_0x1cc0f2),_0x2d0224['tableRows'][_0x20454b(0x20d)]((_0x34a38f,_0x27e68)=>_0x42440a(_0x10d9aa,[_0x20454b(0x16e),_0xa23651,_0x20454b(0x163),_0x27e68,_0x20454b(0x1a6)],_0x54ac3e,_0x324387,_0x1cc0f2)),_0x17de95[_0x20454b(0x167)][_0x20454b(0x20d)](_0x91bf94=>{const _0x574c76=_0x20454b;let _0x2cb23d=_0x91bf94[_0x574c76(0x31b)][_0x54ac3e][_0x574c76(0x1fe)],_0x8220d2=_0x91bf94['cells'][_0x4418c9][_0x574c76(0x2a0)]+0x1,_0x3e92e6=_0x506724>_0x4418c9?_0x91bf94[_0x574c76(0x31b)][_0x526fc6][_0x574c76(0x2a0)]+0x1:_0x91bf94[_0x574c76(0x31b)][_0x526fc6][_0x574c76(0x1fe)],_0x29fca7=_0x159a9c(_0x25f92c[_0x574c76(0x347)],_0x2cb23d,_0x8220d2,_0x3e92e6,_0xe1fed2);_0x29fca7&&_0x10d9aa['push'](_0x29fca7);}),{'actions':_0x39529d(_0x10d9aa),'cursorColumn':_0x1cc0f2};}function _0x3c48d0(_0x3f7634,_0x275275,_0x1d7bb2,_0x47eb5d,_0x45c86f,_0x35f388,_0x1e4525,_0xfa99c9){const _0x52e575=_0x5241b3;let _0x2b4e82=_0x35f388-_0x45c86f+0x1,_0xa3547b=_0x1e4525>_0x35f388?_0x1e4525-_0x2b4e82:_0x1e4525,_0x2a9da8=_0x275275[_0x52e575(0x163)]['map']((_0x38c7a9,_0x45b305)=>{const _0x4f5cc7=_0x52e575;let _0x39a909=_0x1de9ea(_0x38c7a9),_0x4d82bf=_0x39a909[_0x4f5cc7(0x165)](_0x398c7e=>_0x398c7e[_0x4f5cc7(0x2a1)]>=_0x45c86f&&_0x398c7e[_0x4f5cc7(0x1bd)]<=_0x35f388);if(!_0x4d82bf['length']||_0x4d82bf[0x0][_0x4f5cc7(0x2a1)]!==_0x45c86f||_0x4d82bf[_0x4d82bf[_0x4f5cc7(0x252)]-0x1][_0x4f5cc7(0x1bd)]!==_0x35f388)return null;let _0x28de0d=_0x282e7e(_0x39a909,_0x1e4525);if(_0x28de0d==null)return null;let _0x227793=_0x4d82bf[0x0][_0x4f5cc7(0x1f9)],_0x136824=_0x4d82bf[_0x4f5cc7(0x252)],_0x402eac=_0x28de0d>_0x227793?_0x28de0d-_0x136824:_0x28de0d,_0x37336e=_0x1d7bb2[_0x4f5cc7(0x167)][_0x45b305],_0x268fd1=_0x28de0d<_0x37336e['cells'][_0x4f5cc7(0x252)]?_0x37336e[_0x4f5cc7(0x31b)][_0x28de0d]['startOffset']:_0x37336e[_0x4f5cc7(0x2a0)];return{'physicalFrom':_0x227793,'physicalCount':_0x136824,'physicalInsertIndex':_0x402eac,'startOffset':_0x37336e[_0x4f5cc7(0x31b)][_0x227793][_0x4f5cc7(0x1fe)],'endOffset':_0x37336e[_0x4f5cc7(0x31b)][_0x227793+_0x136824-0x1][_0x4f5cc7(0x2a0)]+0x1,'targetOffset':_0x268fd1};});if(_0x2a9da8[_0x52e575(0x277)](_0x298d02=>_0x298d02==null))return null;let _0xe87f79=[];return _0x42440a(_0xe87f79,[_0x52e575(0x16e),_0x47eb5d,_0x52e575(0x25c)],_0x45c86f,_0x2b4e82,_0xa3547b),_0x2a9da8[_0x52e575(0x20d)]((_0x1dee90,_0x145659)=>{const _0x4f003a=_0x52e575;if(!_0x1dee90)return;_0x42440a(_0xe87f79,[_0x4f003a(0x16e),_0x47eb5d,_0x4f003a(0x163),_0x145659,_0x4f003a(0x1a6)],_0x1dee90[_0x4f003a(0x32e)],_0x1dee90[_0x4f003a(0x25b)],_0x1dee90['physicalInsertIndex']);let _0x3dbe96=_0x159a9c(_0x3f7634[_0x4f003a(0x347)],_0x1dee90[_0x4f003a(0x1fe)],_0x1dee90[_0x4f003a(0x2a0)],_0x1dee90[_0x4f003a(0x2e8)],_0xfa99c9);_0x3dbe96&&_0xe87f79[_0x4f003a(0x190)](_0x3dbe96);}),{'actions':_0x39529d(_0xe87f79),'cursorColumn':_0xa3547b};}function _0x282e7e(_0x4cf624,_0x5d67c5){const _0x31e489=_0x5241b3;let _0x1984cb=_0x4cf624['findIndex'](_0x44af09=>_0x44af09[_0x31e489(0x2a1)]===_0x5d67c5);return _0x1984cb>=0x0?_0x1984cb:_0x4cf624[_0x31e489(0x252)]>0x0&&_0x4cf624[_0x4cf624[_0x31e489(0x252)]-0x1][_0x31e489(0x1bd)]+0x1===_0x5d67c5?_0x4cf624[_0x31e489(0x252)]:null;}function _0x31d1e3(_0xc90cf1,_0x5dea8d,_0x590190,_0x5b7d71,_0x48b6da,_0x3a8071=['body']){const _0x1ca9fc=_0x5241b3;var _0x439c19;let _0x4f28c8=(_0x439c19=_0xc90cf1[_0x1ca9fc(0x16e)])==null?void 0x0:_0x439c19[_0x590190],_0x220bf8=_0x48bd87(_0xc90cf1,_0x590190),_0x185902=_0xc90cf1[_0x1ca9fc(0x347)];if(!_0x4f28c8||!_0x220bf8||!_0x185902||!_0x220bf8['rows'][_0x1ca9fc(0x252)])return null;let _0x2ccc83=_0x1b77b6({'documentData':_0xc90cf1,'metadata':_0x5dea8d,'tableId':_0x590190,'column':_0x5b7d71,'direction':_0x48b6da}),_0x34282f=_0x220bf8[_0x1ca9fc(0x167)][_0x1ca9fc(0x211)]((_0x49ba81,_0x167163)=>({'body':_0xbb672f(_0x28ecab((0x0,_0x2752e6[_0x1ca9fc(0x28d)])(_0x185902,_0x49ba81[_0x1ca9fc(0x1fe)],_0x49ba81['endOffset']+0x1,!0x1))),'length':_0x49ba81[_0x1ca9fc(0x2a0)]+0x1-_0x49ba81['startOffset'],'sourceIndex':_0x167163})),_0x47fc83=_0x220bf8[_0x1ca9fc(0x167)][0x0][_0x1ca9fc(0x1fe)],_0x40db7a=[];return _0x2ccc83[_0x1ca9fc(0x283)][_0x1ca9fc(0x20d)]((_0x57f7eb,_0xd3a831)=>{const _0x5c2143=_0x1ca9fc;let _0x469e9a=_0x2ccc83[_0x5c2143(0x32a)]+_0xd3a831,_0x3417ed=_0x34282f['findIndex'](_0x56cc48=>_0x56cc48[_0x5c2143(0x2cb)]===_0x57f7eb);if(_0x3417ed===_0x469e9a)return;let _0x2ae255=_0x47fc83+_0x1b8c55(_0x34282f,_0x3417ed),_0x51c04e=_0x47fc83+_0x1b8c55(_0x34282f,_0x469e9a),_0x4d3c43=_0x34282f[_0x3417ed],_0x4e7951=_0x1d5bdb(_0x2ae255,_0x2ae255+_0x4d3c43['length'],_0x51c04e,_0x4d3c43[_0x5c2143(0x347)],_0x3a8071);_0x4e7951&&(_0x40db7a[_0x5c2143(0x190)](_0x2752e6[_0x5c2143(0x305)][_0x5c2143(0x24d)]()[_0x5c2143(0x193)]([_0x5c2143(0x16e),_0x590190,_0x5c2143(0x163),_0x3417ed],[_0x5c2143(0x16e),_0x590190,_0x5c2143(0x163),_0x469e9a])),_0x40db7a[_0x5c2143(0x190)](_0x4e7951)),_0x34282f[_0x5c2143(0x29e)](_0x469e9a,0x0,_0x34282f[_0x5c2143(0x29e)](_0x3417ed,0x1)[0x0]);}),_0x39529d(_0x40db7a);}function _0x1b8c55(_0x77a83d,_0x2db394){let _0xbf971d=0x0;for(let _0x341776=0x0;_0x341776<_0x2db394;_0x341776++)_0xbf971d+=_0x77a83d[_0x341776]['length'];return _0xbf971d;}function _0x42440a(_0x5cf5e2,_0x4024b6,_0x46bf74,_0x24ac6f,_0x333f32){const _0x3e047c=_0x5241b3;let _0x354d8a=_0x2752e6[_0x3e047c(0x305)]['getInstance']();if(_0x333f32<_0x46bf74){for(let _0x51e0f3=0x0;_0x51e0f3<_0x24ac6f;_0x51e0f3++)_0x5cf5e2['push'](_0x354d8a['moveOp']([..._0x4024b6,_0x46bf74+_0x51e0f3],[..._0x4024b6,_0x333f32+_0x51e0f3]));}else{for(let _0x54bd5e=_0x24ac6f-0x1;_0x54bd5e>=0x0;_0x54bd5e--)_0x5cf5e2['push'](_0x354d8a[_0x3e047c(0x193)]([..._0x4024b6,_0x46bf74+_0x54bd5e],[..._0x4024b6,_0x333f32+_0x54bd5e]));}}function _0x1f8f48(_0x1403bc,_0x6768ce){const _0x62719c=_0x5241b3;return Math[_0x62719c(0x355)](Math[_0x62719c(0x356)](0x0,_0x1403bc),Math[_0x62719c(0x356)](0x0,_0x6768ce));}function _0x159a9c(_0x386278,_0x2cded3,_0x42737c,_0x5e89b8,_0x40a26c){const _0x431440=_0x5241b3;return!_0x386278||_0x42737c<=_0x2cded3||_0x5e89b8>=_0x2cded3&&_0x5e89b8<=_0x42737c?null:_0x1d5bdb(_0x2cded3,_0x42737c,_0x5e89b8,_0xbb672f(_0x28ecab((0x0,_0x2752e6[_0x431440(0x28d)])(_0x386278,_0x2cded3,_0x42737c,!0x1))),_0x40a26c);}function _0x1d5bdb(_0x2fa0a3,_0x8e9e96,_0x4fd7ba,_0x1c748a,_0x1b27ff){const _0x4dec21=_0x5241b3;let _0x744004=_0x8e9e96-_0x2fa0a3;if(_0x744004<=0x0||_0x4fd7ba>=_0x2fa0a3&&_0x4fd7ba<=_0x8e9e96)return null;let _0x38a751=new _0x2752e6[(_0x4dec21(0x148))]();return _0x4fd7ba<_0x2fa0a3?(_0x38a751[_0x4dec21(0x24c)](_0x4fd7ba),_0x38a751[_0x4dec21(0x301)](_0x744004,_0x1c748a),_0x38a751[_0x4dec21(0x24c)](_0x2fa0a3-_0x4fd7ba),_0x38a751[_0x4dec21(0x196)](_0x744004)):(_0x38a751[_0x4dec21(0x24c)](_0x2fa0a3),_0x38a751[_0x4dec21(0x196)](_0x744004),_0x38a751['retain'](_0x4fd7ba-_0x8e9e96),_0x38a751[_0x4dec21(0x301)](_0x744004,_0x1c748a)),_0x2752e6[_0x4dec21(0x305)][_0x4dec21(0x24d)]()['editOp'](_0x38a751[_0x4dec21(0x2c9)](),_0x1b27ff);}function _0xbb672f(_0xfb8183){const _0x184353=_0x5241b3;let _0x116de8=_0xfb8183;return Object[_0x184353(0x263)](_0x116de8)[_0x184353(0x20d)](_0x3d11de=>{const _0x5c4d33=_0x184353;let _0xb880ab=_0x116de8[_0x3d11de];Array[_0x5c4d33(0x2af)](_0xb880ab)&&_0xb880ab[_0x5c4d33(0x252)]===0x0&&delete _0x116de8[_0x3d11de];}),_0xfb8183;}function _0x2c53b8(_0x5d4722,_0x477a83,_0x26ad5a,_0x5577b5,_0x30a300){const _0x40fa5c=_0x5241b3;let _0x2450ac=_0x2752e6[_0x40fa5c(0x305)]['getInstance']();for(let _0x5dd8d8=_0x30a300;_0x5dd8d8>=_0x5577b5;_0x5dd8d8--)_0x5d4722[_0x40fa5c(0x190)](_0x2450ac[_0x40fa5c(0x2b3)]([_0x40fa5c(0x16e),_0x26ad5a,_0x40fa5c(0x25c),_0x5dd8d8],_0x28ecab(_0x477a83[_0x40fa5c(0x25c)][_0x5dd8d8])));_0x477a83[_0x40fa5c(0x163)][_0x40fa5c(0x20d)]((_0x208932,_0x5e025b)=>{const _0x37a723=_0x40fa5c;for(let _0x3a0538=_0x30a300;_0x3a0538>=_0x5577b5;_0x3a0538--)_0x5d4722[_0x37a723(0x190)](_0x2450ac[_0x37a723(0x2b3)](['tableSource',_0x26ad5a,_0x37a723(0x163),_0x5e025b,'tableCells',_0x3a0538],_0x28ecab(_0x208932[_0x37a723(0x1a6)][_0x3a0538])));});}function _0x56714c(_0x1f122b,_0x1cffa0,_0x16c6cf,_0x3eac4b,_0x10b417,_0x516f01=[_0x5241b3(0x347)],_0x3bbb8e){const _0x1e911e=_0x5241b3;var _0x1240c9;let _0x3947c7=(_0x1240c9=_0x1f122b[_0x1e911e(0x16e)])==null?void 0x0:_0x1240c9[_0x1cffa0],_0x5cdc62=_0x48bd87(_0x1f122b,_0x1cffa0);if(!_0x3947c7||!_0x5cdc62||_0x3eac4b<=0x0||_0x16c6cf<0x0||_0x16c6cf>=_0x3947c7[_0x1e911e(0x163)][_0x1e911e(0x252)])return null;if(_0x29edd9(_0x3947c7))return _0x3ac039(_0x1f122b,_0x3947c7,_0x5cdc62,_0x1cffa0,_0x16c6cf,_0x3eac4b,_0x10b417,_0x516f01,_0x3bbb8e);let _0x12735f=_0x10b417===_0x1e911e(0x142)?_0x16c6cf:_0x16c6cf+0x1,_0x4b527e=_0x10b417===_0x1e911e(0x142)?_0x2c94b9(_0x5cdc62,_0x16c6cf)[_0x1e911e(0x1fe)]:_0x2c94b9(_0x5cdc62,_0x16c6cf)['endOffset']+0x1,_0xf098aa=_0x961c81(_0x31adf0(_0x3947c7)[_0x1e911e(0x211)](_0xa30ef6=>_0x12735f<=_0xa30ef6[_0x1e911e(0x172)]?{..._0xa30ef6,'startRow':_0xa30ef6[_0x1e911e(0x172)]+_0x3eac4b,'endRow':_0xa30ef6[_0x1e911e(0x324)]+_0x3eac4b}:_0x12735f<=_0xa30ef6[_0x1e911e(0x324)]?{..._0xa30ef6,'endRow':_0xa30ef6[_0x1e911e(0x324)]+_0x3eac4b}:_0xa30ef6)),_0x20bf4c=_0x3947c7[_0x1e911e(0x163)][_0x16c6cf],_0x2238a7=Array['from']({'length':_0x3eac4b},(_0x40896a,_0x5eb37d)=>{let _0x46f00c=_0x28ecab(_0x20bf4c);return _0x483190(_0x46f00c,_0x12735f+_0x5eb37d,_0xf098aa),_0x3bbb8e==null||_0x3bbb8e(_0x46f00c,_0x5eb37d),_0x46f00c;}),_0x444e3b=_0x582cbf(_0x3947c7,_0xf098aa,_0x19607b=>_0x19607b>=_0x12735f?_0x19607b+_0x3eac4b:_0x19607b),_0x30a27b=_0x2752e6[_0x1e911e(0x305)][_0x1e911e(0x24d)]();_0x2238a7[_0x1e911e(0x20d)]((_0x2898fd,_0x3fb822)=>{const _0x182510=_0x1e911e;_0x444e3b[_0x182510(0x190)](_0x30a27b['insertOp']([_0x182510(0x16e),_0x1cffa0,_0x182510(0x163),_0x12735f+_0x3fb822],_0x2898fd));});let _0xc6a48e=_0xaefc5e(_0x1f122b,[{'startOffset':_0x4b527e,'endOffset':_0x4b527e,'text':_0x1eafd8(_0x126a5c(_0x3947c7[_0x1e911e(0x25c)]['length']),_0x3eac4b)}],_0x516f01);return _0xc6a48e?(_0x444e3b['push'](_0xc6a48e),{'actions':_0x39529d(_0x444e3b),'cursorRow':_0x12735f}):null;}function _0x3ac039(_0x21db04,_0x2d00e5,_0x29b326,_0x48b368,_0x11dac9,_0x262a7c,_0x14daac,_0x284635,_0x2a6015){const _0x2b5607=_0x5241b3;let _0x2d6415=_0x14daac===_0x2b5607(0x142)?_0x11dac9:_0x11dac9+0x1,_0x16e9b6=_0x2c94b9(_0x29b326,_0x11dac9),_0x4e25c7=_0x14daac==='above'?_0x16e9b6[_0x2b5607(0x1fe)]:_0x16e9b6[_0x2b5607(0x2a0)]+0x1,_0x598b8b=_0x2d00e5['tableRows'][_0x11dac9],_0x6a8a8=Array[_0x2b5607(0x32c)]({'length':_0x262a7c},(_0x261844,_0x52bbde)=>{const _0x5cf13a=_0x2b5607;let _0x53a2cb=_0x28ecab(_0x598b8b);return _0x53a2cb[_0x5cf13a(0x1a6)][_0x5cf13a(0x20d)](_0x365243=>{const _0x4a56d3=_0x5cf13a;delete _0x365243[_0x4a56d3(0x359)],_0x365243[_0x4a56d3(0x141)]===0x0&&delete _0x365243[_0x4a56d3(0x141)];}),_0x2a6015==null||_0x2a6015(_0x53a2cb,_0x52bbde),_0x53a2cb;}),_0x2c2a3d=_0x2752e6[_0x2b5607(0x305)][_0x2b5607(0x24d)](),_0x229488=_0x6a8a8['map']((_0x52df6e,_0x2c9fa7)=>_0x2c2a3d[_0x2b5607(0x2ea)]([_0x2b5607(0x16e),_0x48b368,_0x2b5607(0x163),_0x2d6415+_0x2c9fa7],_0x52df6e)),_0x3d4867=_0xaefc5e(_0x21db04,[{'startOffset':_0x4e25c7,'endOffset':_0x4e25c7,'text':_0x6a8a8[_0x2b5607(0x211)](_0x18e4eb=>_0x126a5c(_0x18e4eb[_0x2b5607(0x1a6)][_0x2b5607(0x252)]))[_0x2b5607(0x253)]('')}],_0x284635);return _0x3d4867?(_0x229488[_0x2b5607(0x190)](_0x3d4867),{'actions':_0x39529d(_0x229488),'cursorRow':_0x2d6415}):null;}function _0x324092(_0x54eae3,_0xd06f32,_0x534692=[_0x5241b3(0x347)]){const _0x3df919=_0x5241b3;var _0x8e2a86;let _0x32d723=(_0x8e2a86=_0x54eae3[_0x3df919(0x16e)])==null||(_0x8e2a86=_0x8e2a86[_0xd06f32])==null?void 0x0:_0x8e2a86['tableColumns'][_0x3df919(0x252)];return _0x32d723?_0x56714c(_0x54eae3,_0xd06f32,0x0,0x1,_0x3df919(0x142),_0x534692,_0x27abde=>{const _0x3c5a4a=_0x3df919;_0x27abde[_0x3c5a4a(0x29f)]=!0x0,_0x27abde[_0x3c5a4a(0x1a6)]['forEach']((_0x4cc3a6,_0x27a800)=>{const _0x54e57a=_0x3c5a4a;_0x27a800===0x0?(_0x4cc3a6[_0x54e57a(0x141)]=_0x32d723,delete _0x4cc3a6[_0x54e57a(0x359)]):(_0x4cc3a6['rowSpan']=0x0,_0x4cc3a6['columnSpan']=0x0);});}):null;}function _0x150444(_0x321583,_0x5c401e,_0x5ac744,_0x3c73e7,_0x3137f6=['body']){const _0x1b3ccd=_0x5241b3;var _0xe6be21;let _0x23cc7a=(_0xe6be21=_0x321583[_0x1b3ccd(0x16e)])==null?void 0x0:_0xe6be21[_0x5c401e],_0xa6dcd7=_0x48bd87(_0x321583,_0x5c401e);if(!_0x23cc7a||!_0xa6dcd7)return null;let _0x3c8750=Math[_0x1b3ccd(0x355)](_0x5ac744,_0x3c73e7),_0x285959=Math[_0x1b3ccd(0x356)](_0x5ac744,_0x3c73e7);if(_0x3c8750<0x0||_0x3c8750>=_0x23cc7a[_0x1b3ccd(0x163)][_0x1b3ccd(0x252)]||_0x285959<_0x3c8750)return null;let _0x4e60cf=Math['min'](_0x285959,_0x23cc7a['tableRows'][_0x1b3ccd(0x252)]-0x1),_0x2e6426=_0x4e60cf-_0x3c8750+0x1;if(_0x2e6426>=_0x23cc7a[_0x1b3ccd(0x163)]['length'])return _0x386df4(_0x321583,_0x5c401e,_0x3137f6);let _0x105d2b=_0x582cbf(_0x23cc7a,_0x961c81(_0x31adf0(_0x23cc7a)[_0x1b3ccd(0x211)](_0x4ff60c=>_0x169a4d(_0x4ff60c,_0x3c8750,_0x4e60cf))[_0x1b3ccd(0x165)](_0x4523a0=>_0x4523a0!=null)),_0x50baba=>_0x50baba<_0x3c8750?_0x50baba:_0x50baba>_0x4e60cf?_0x50baba-_0x2e6426:null),_0x177ed4=_0x2752e6['JSONX'][_0x1b3ccd(0x24d)]();for(let _0x305eef=_0x4e60cf;_0x305eef>=_0x3c8750;_0x305eef--)_0x105d2b[_0x1b3ccd(0x190)](_0x177ed4['removeOp']([_0x1b3ccd(0x16e),_0x5c401e,_0x1b3ccd(0x163),_0x305eef],_0x28ecab(_0x23cc7a[_0x1b3ccd(0x163)][_0x305eef])));let _0x1f1c39=_0x2c94b9(_0xa6dcd7,_0x3c8750)[_0x1b3ccd(0x1fe)],_0xa00e1e=_0x2c94b9(_0xa6dcd7,_0x4e60cf)['endOffset']+0x1,_0x9ed85e=_0xaefc5e(_0x321583,[{'startOffset':_0x1f1c39,'endOffset':_0xa00e1e,'text':''}],_0x3137f6);return _0x9ed85e?(_0x105d2b[_0x1b3ccd(0x190)](..._0x50456d(_0x321583,[{'startOffset':_0x1f1c39,'endOffset':_0xa00e1e,'collapsed':!0x1}])),_0x105d2b[_0x1b3ccd(0x190)](_0x9ed85e),{'actions':_0x39529d(_0x105d2b),'cursorRow':Math[_0x1b3ccd(0x355)](_0x3c8750,_0x23cc7a[_0x1b3ccd(0x163)][_0x1b3ccd(0x252)]-_0x2e6426-0x1)}):null;}function _0x386df4(_0x3a0437,_0x59f148,_0x50c814){const _0x13b88b=_0x5241b3;var _0x3f44fb;let _0x5b66d7=(_0x3f44fb=_0x3a0437[_0x13b88b(0x16e)])==null?void 0x0:_0x3f44fb[_0x59f148],_0x2296d7=_0x48bd87(_0x3a0437,_0x59f148);if(!_0x5b66d7||!_0x2296d7)return null;let _0xe2360b=_0xaefc5e(_0x3a0437,[{'startOffset':_0x2296d7['startOffset'],'endOffset':_0x2296d7[_0x13b88b(0x2a0)],'text':''}],_0x50c814);if(!_0xe2360b)return null;let _0x4c8784=_0x50456d(_0x3a0437,[{'startOffset':_0x2296d7[_0x13b88b(0x1fe)],'endOffset':_0x2296d7[_0x13b88b(0x2a0)],'collapsed':!0x1}]);return{'actions':_0x39529d([_0x2752e6[_0x13b88b(0x305)][_0x13b88b(0x24d)]()[_0x13b88b(0x2b3)]([_0x13b88b(0x16e),_0x59f148],_0x28ecab(_0x5b66d7)),..._0x4c8784,_0xe2360b]),'cursorRow':0x0,'deleteTable':!0x0};}function _0x50456d(_0xb74201,_0x4d2044){const _0x185840=_0x5241b3;let _0x12d98a=_0xb74201['body'];if(!_0x12d98a)return[];let _0x1184db=_0xb74201['drawings']??{},_0x916c56=_0xb74201[_0x185840(0x2df)]??[],_0x3e0e94=[...new Set((0x0,_0x2752e6[_0x185840(0x244)])(_0x12d98a,_0x4d2044))][_0x185840(0x1e8)]((_0x4168bf,_0x34255b)=>_0x916c56[_0x185840(0x1eb)](_0x34255b)-_0x916c56[_0x185840(0x1eb)](_0x4168bf)),_0xef79da=_0x2752e6['JSONX']['getInstance'](),_0x166e89=[];for(let _0x2289de of _0x3e0e94){let _0x27df7c=_0x1184db[_0x2289de];if(_0x27df7c){let _0x531013=_0xef79da[_0x185840(0x2b3)]([_0x185840(0x18e),_0x2289de],_0x27df7c);_0x531013&&_0x166e89['push'](_0x531013);}let _0x2d46df=_0x916c56['indexOf'](_0x2289de);if(_0x2d46df>=0x0){let _0x51415a=_0xef79da[_0x185840(0x2b3)]([_0x185840(0x2df),_0x2d46df],_0x2289de);_0x51415a&&_0x166e89['push'](_0x51415a);}}return _0x166e89;}function _0x169a4d(_0x15e7c7,_0x5cafc0,_0x31d99e){const _0x52ecec=_0x5241b3;let _0x4589b3=[],_0xb62193=_0x31d99e-_0x5cafc0+0x1;for(let _0x331681=_0x15e7c7[_0x52ecec(0x172)];_0x331681<=_0x15e7c7[_0x52ecec(0x324)];_0x331681++)_0x331681<_0x5cafc0?_0x4589b3[_0x52ecec(0x190)](_0x331681):_0x331681>_0x31d99e&&_0x4589b3['push'](_0x331681-_0xb62193);return _0x4589b3['length']?{..._0x15e7c7,'startRow':Math[_0x52ecec(0x355)](..._0x4589b3),'endRow':Math[_0x52ecec(0x356)](..._0x4589b3)}:null;}function _0x3d2846(_0x35b040,_0x4f7fb1,_0x347efa){const _0xc8a637=_0x5241b3;let _0x1dc7b6=[],_0x41697c=_0x347efa-_0x4f7fb1+0x1;for(let _0x338f14=_0x35b040['startColumn'];_0x338f14<=_0x35b040[_0xc8a637(0x1bd)];_0x338f14++)_0x338f14<_0x4f7fb1?_0x1dc7b6[_0xc8a637(0x190)](_0x338f14):_0x338f14>_0x347efa&&_0x1dc7b6['push'](_0x338f14-_0x41697c);return _0x1dc7b6[_0xc8a637(0x252)]?{..._0x35b040,'startColumn':Math['min'](..._0x1dc7b6),'endColumn':Math[_0xc8a637(0x356)](..._0x1dc7b6)}:null;}function _0x961c81(_0x47153f){const _0x39076f=_0x5241b3;let _0x1ff755=new Map();for(let _0x26a0f9 of _0x47153f){let _0x46ea3f=_0x26a0f9['endRow']-_0x26a0f9[_0x39076f(0x172)]+0x1,_0x37a4b7=_0x26a0f9[_0x39076f(0x1bd)]-_0x26a0f9['startColumn']+0x1;for(let _0x47a572=_0x26a0f9[_0x39076f(0x172)];_0x47a572<=_0x26a0f9[_0x39076f(0x324)];_0x47a572++)for(let _0x23a239=_0x26a0f9[_0x39076f(0x2a1)];_0x23a239<=_0x26a0f9[_0x39076f(0x1bd)];_0x23a239++)_0x1ff755[_0x39076f(0x177)](_0x2755e7(_0x47a572,_0x23a239),_0x47a572===_0x26a0f9[_0x39076f(0x172)]&&_0x23a239===_0x26a0f9[_0x39076f(0x2a1)]?{'rowSpan':_0x46ea3f,'columnSpan':_0x37a4b7}:{'rowSpan':0x0,'columnSpan':0x0});}return _0x1ff755;}function _0x582cbf(_0x5ab765,_0x4979a0,_0x562cbe){const _0x395e6d=_0x5241b3;let _0x175fe8=[],_0x49ed0c=_0x2752e6[_0x395e6d(0x305)][_0x395e6d(0x24d)]();return _0x5ab765[_0x395e6d(0x163)][_0x395e6d(0x20d)]((_0xd69c1c,_0x23e349)=>{const _0x290eeb=_0x395e6d;let _0x14126b=_0x562cbe(_0x23e349);_0x14126b!=null&&_0xd69c1c[_0x290eeb(0x1a6)][_0x290eeb(0x20d)]((_0x5137a7,_0x33e3bf)=>{const _0x5f3c09=_0x290eeb;let _0x57560c=_0x4979a0['get'](_0x2755e7(_0x14126b,_0x33e3bf)),_0x2f5281=[_0x5f3c09(0x16e),_0x5ab765[_0x5f3c09(0x135)],'tableRows',_0x23e349,'tableCells',_0x33e3bf],_0x4d0573=_0x755965(_0x49ed0c,[..._0x2f5281,_0x5f3c09(0x359)],_0x5137a7[_0x5f3c09(0x359)],_0x57560c==null?void 0x0:_0x57560c[_0x5f3c09(0x359)]),_0x197c30=_0x755965(_0x49ed0c,[..._0x2f5281,_0x5f3c09(0x141)],_0x5137a7['columnSpan'],_0x57560c==null?void 0x0:_0x57560c['columnSpan']);_0x4d0573&&_0x175fe8[_0x5f3c09(0x190)](_0x4d0573),_0x197c30&&_0x175fe8[_0x5f3c09(0x190)](_0x197c30);});}),_0x175fe8;}function _0x3bde0b(_0x160148,_0x165730,_0x1a197f){const _0x3efd1a=_0x5241b3;let _0x3faa44=[],_0x228191=_0x2752e6['JSONX'][_0x3efd1a(0x24d)]();return _0x160148[_0x3efd1a(0x163)][_0x3efd1a(0x20d)]((_0x2a9642,_0x9df5de)=>{const _0x1dfa14=_0x3efd1a;_0x2a9642[_0x1dfa14(0x1a6)]['forEach']((_0x3d4268,_0x22819d)=>{const _0x579362=_0x1dfa14;let _0x5effa4=_0x1a197f(_0x22819d);if(_0x5effa4==null)return;let _0x2513af=_0x165730[_0x579362(0x2ef)](_0x2755e7(_0x9df5de,_0x5effa4)),_0x461b3b=[_0x579362(0x16e),_0x160148[_0x579362(0x135)],_0x579362(0x163),_0x9df5de,_0x579362(0x1a6),_0x22819d],_0x5d3fd0=_0x755965(_0x228191,[..._0x461b3b,_0x579362(0x359)],_0x3d4268[_0x579362(0x359)],_0x2513af==null?void 0x0:_0x2513af['rowSpan']),_0x1dd221=_0x755965(_0x228191,[..._0x461b3b,_0x579362(0x141)],_0x3d4268['columnSpan'],_0x2513af==null?void 0x0:_0x2513af[_0x579362(0x141)]);_0x5d3fd0&&_0x3faa44[_0x579362(0x190)](_0x5d3fd0),_0x1dd221&&_0x3faa44['push'](_0x1dd221);});}),_0x3faa44;}function _0x483190(_0x543e77,_0x62dd41,_0x4011e3){const _0x2953d4=_0x5241b3;_0x543e77[_0x2953d4(0x1a6)][_0x2953d4(0x20d)]((_0x5cac8d,_0x5e7475)=>{const _0x5b3d9f=_0x2953d4;let _0x503f72=_0x4011e3[_0x5b3d9f(0x2ef)](_0x2755e7(_0x62dd41,_0x5e7475));_0x5449c4(_0x5cac8d,_0x5b3d9f(0x359),_0x503f72==null?void 0x0:_0x503f72[_0x5b3d9f(0x359)]),_0x5449c4(_0x5cac8d,'columnSpan',_0x503f72==null?void 0x0:_0x503f72[_0x5b3d9f(0x141)]);});}function _0x3abdac(_0x3705cb,_0x569563,_0x41a633,_0x49b1cf){const _0x78ca5f=_0x5241b3;let _0x2ce4ab=_0x49b1cf['get'](_0x2755e7(_0x569563,_0x41a633));_0x5449c4(_0x3705cb,_0x78ca5f(0x359),_0x2ce4ab==null?void 0x0:_0x2ce4ab[_0x78ca5f(0x359)]),_0x5449c4(_0x3705cb,_0x78ca5f(0x141),_0x2ce4ab==null?void 0x0:_0x2ce4ab[_0x78ca5f(0x141)]);}function _0x5449c4(_0x36817c,_0x55df02,_0x463467){_0x463467===void 0x0?delete _0x36817c[_0x55df02]:_0x36817c[_0x55df02]=_0x463467;}function _0x2755e7(_0x17c5ac,_0x5cc472){return[_0x17c5ac,_0x5cc472]['join'](':');}function _0x126a5c(_0x546efd){const _0x45df10=_0x5241b3;return[_0x2752e6[_0x45df10(0x260)]['TABLE_ROW_START'],_0x1eafd8(_0x2ed5c2(),_0x546efd),_0x2752e6['DataStreamTreeTokenType'][_0x45df10(0x14d)]][_0x45df10(0x253)]('');}function _0x2ed5c2(){const _0x5add35=_0x5241b3;return[_0x2752e6[_0x5add35(0x260)][_0x5add35(0x13b)],'\x0d\x0a',_0x2752e6['DataStreamTreeTokenType'][_0x5add35(0x222)]][_0x5add35(0x253)]('');}function _0x1eafd8(_0xb6b54f,_0x10eb6c){const _0x6a9eb9=_0x5241b3;return Array[_0x6a9eb9(0x32c)]({'length':_0x10eb6c},()=>_0xb6b54f)[_0x6a9eb9(0x253)]('');}function _0x28ecab(_0x29b07e){const _0x5ca621=_0x5241b3;return Array[_0x5ca621(0x2af)](_0x29b07e)?_0x29b07e['map'](_0x59ab2a=>_0x28ecab(_0x59ab2a)):!_0x29b07e||typeof _0x29b07e!=_0x5ca621(0x181)?_0x29b07e:Object[_0x5ca621(0x2f9)](Object['entries'](_0x29b07e)[_0x5ca621(0x211)](([_0x3ec58a,_0x2b6c61])=>[_0x3ec58a,_0x28ecab(_0x2b6c61)]));}function _0x39529d(_0x578c64){const _0x575b21=_0x5241b3;return _0x578c64[_0x575b21(0x1b5)]((_0x407353,_0x4bfabb)=>_0x2752e6['JSONX'][_0x575b21(0x34a)](_0x407353,_0x4bfabb),null);}function _0x118e54(_0x23201f,_0x11fb12,_0x54d0e5,_0x4c1fd9,_0x5ae27f,_0x3d656a,_0x2575a7,_0x59b176){if(!_0x4c1fd9)return!0x0;let _0x145a6c=[];return _0x5ae27f?_0x145a6c=_0x3abd29(_0x54d0e5,_0x5ae27f):_0x3d656a!=null&&(_0x145a6c=[{'startOffset':_0x3d656a,'endOffset':_0x3d656a,'collapsed':!0x0}]),!!_0x23201f['syncExecuteCommand'](_0x2be8ba['id'],{'unitId':_0x11fb12,'historyAction':_0x59b176,'actions':_0x4c1fd9,'textRanges':_0x145a6c,'trigger':_0x2575a7});}function _0x55a2a1(_0x38e782,_0x56bc2c=''){const _0x58b5c0=_0x5241b3;var _0x159e1a,_0xae9257;return _0x56bc2c?(_0x159e1a=_0x38e782[_0x58b5c0(0x1b2)])!=null&&_0x159e1a[_0x56bc2c]?[_0x58b5c0(0x1b2),_0x56bc2c,'body']:(_0xae9257=_0x38e782[_0x58b5c0(0x30a)])!=null&&_0xae9257[_0x56bc2c]?['footers',_0x56bc2c,'body']:[_0x58b5c0(0x347)]:['body'];}function _0x31aac2(_0x26f48f,_0x54e8e7){const _0x37307c=_0x5241b3;return JSON[_0x37307c(0x298)](_0x26f48f)===JSON[_0x37307c(0x298)](_0x54e8e7);}function _0x3abd29(_0x15e128,_0x48046e){const _0x1d8149=_0x5241b3;var _0x4921fd,_0x17c4dd,_0x324313;let _0x23ae97=_0x48bd87(_0x15e128,_0x48046e[_0x1d8149(0x135)]);if(!_0x23ae97)return[];let _0x2502da=Math['min'](_0x48046e[_0x1d8149(0x172)],_0x48046e[_0x1d8149(0x324)]),_0x4aeb83=Math[_0x1d8149(0x356)](_0x48046e[_0x1d8149(0x172)],_0x48046e[_0x1d8149(0x324)]),_0x226803=Math[_0x1d8149(0x355)](_0x48046e[_0x1d8149(0x2a1)],_0x48046e[_0x1d8149(0x1bd)]),_0x5e5469=Math[_0x1d8149(0x356)](_0x48046e[_0x1d8149(0x2a1)],_0x48046e[_0x1d8149(0x1bd)]),_0x555bec=(_0x4921fd=_0x23ae97[_0x1d8149(0x167)][_0x2502da])==null?void 0x0:_0x4921fd[_0x1d8149(0x31b)][_0x226803],_0x2b06bd=(_0x17c4dd=_0x23ae97[_0x1d8149(0x167)][_0x4aeb83])==null?void 0x0:_0x17c4dd[_0x1d8149(0x31b)][_0x5e5469];if(!_0x555bec||!_0x2b06bd)return[];let _0x379ca2=(_0x324313=_0x23ae97['tableSource'][_0x1d8149(0x163)][_0x2502da])==null?void 0x0:_0x324313[_0x1d8149(0x1a6)][_0x226803],_0x3153bc=(_0x379ca2==null?void 0x0:_0x379ca2[_0x1d8149(0x359)])??0x1,_0x163732=(_0x379ca2==null?void 0x0:_0x379ca2['columnSpan'])??0x1,_0x4da49f=(_0x3153bc>0x1||_0x163732>0x1)&&_0x2502da+_0x3153bc-0x1>=_0x4aeb83&&_0x226803+_0x163732-0x1>=_0x5e5469?_0x555bec:_0x2b06bd,_0x1c6617=_0x226803===0x0&&_0x5e5469===_0x23ae97[_0x1d8149(0x1c7)]-0x1,_0x44ded5=_0x2502da===0x0&&_0x4aeb83===_0x23ae97[_0x1d8149(0x191)]-0x1,_0x46c95e=_0x555bec[_0x1d8149(0x1fe)]+0x1;return[{'startOffset':_0x46c95e,'endOffset':Math['max'](_0x46c95e,_0x4da49f[_0x1d8149(0x2a0)]-0x1),'collapsed':!0x1,'rangeType':_0x2752e6[_0x1d8149(0x33e)][_0x1d8149(0x13d)],'segmentId':_0x48046e[_0x1d8149(0x23b)]??'','tableId':_0x48046e[_0x1d8149(0x135)],'startRow':_0x2502da,'endRow':_0x4aeb83,'startColumn':_0x226803,'endColumn':_0x5e5469,'spanEntireRow':_0x1c6617,'spanEntireColumn':_0x44ded5,'spanEntireTable':_0x1c6617&&_0x44ded5,'isActive':!0x0}];}function _0x548e54(_0x326085,_0x446614){return function(_0x1c0764,_0x2b9eb6){_0x446614(_0x1c0764,_0x2b9eb6,_0x326085);};}function _0x51b4d5(_0x4fca07,_0x3491d0,_0x37dd57,_0x22c73b){const _0x492df4=_0x5241b3;var _0x4dcf83=arguments[_0x492df4(0x252)],_0x6e73c=_0x4dcf83<0x3?_0x3491d0:_0x22c73b===null?_0x22c73b=Object[_0x492df4(0x16b)](_0x3491d0,_0x37dd57):_0x22c73b,_0x475ef1;if(typeof Reflect==_0x492df4(0x181)&&typeof Reflect[_0x492df4(0x23a)]==_0x492df4(0x354))_0x6e73c=Reflect[_0x492df4(0x23a)](_0x4fca07,_0x3491d0,_0x37dd57,_0x22c73b);else{for(var _0x4c97ec=_0x4fca07[_0x492df4(0x252)]-0x1;_0x4c97ec>=0x0;_0x4c97ec--)(_0x475ef1=_0x4fca07[_0x4c97ec])&&(_0x6e73c=(_0x4dcf83<0x3?_0x475ef1(_0x6e73c):_0x4dcf83>0x3?_0x475ef1(_0x3491d0,_0x37dd57,_0x6e73c):_0x475ef1(_0x3491d0,_0x37dd57))||_0x6e73c);}return _0x4dcf83>0x3&&_0x6e73c&&Object[_0x492df4(0x156)](_0x3491d0,_0x37dd57,_0x6e73c),_0x6e73c;}let _0xc8625f=class extends _0x2752e6[_0x5241b3(0x2b7)]{constructor(_0x5e75c3,_0x32631d){const _0x33d00b=_0x5241b3;var _0x4f3ea0;super(),this[_0x33d00b(0x176)]=_0x5e75c3,this[_0x33d00b(0x14c)]=_0x32631d,_0x5e8e59(this,_0x33d00b(0x188),new _0x14dbb2[(_0x33d00b(0x1fd))]()),_0x5e8e59(this,'_structuralSelection',null),_0x5e8e59(this,_0x33d00b(0x199),null),_0x5e8e59(this,_0x33d00b(0x251),!0x1),_0x5e8e59(this,_0x33d00b(0x323),!0x1),_0x5e8e59(this,_0x33d00b(0x25e),0x0),_0x5e8e59(this,_0x33d00b(0x1dd),this['_selectionChange$'][_0x33d00b(0x340)]()),this[_0x33d00b(0x2d3)](((_0x4f3ea0=this[_0x33d00b(0x14c)][_0x33d00b(0x28e)])==null?void 0x0:_0x4f3ea0[_0x33d00b(0x281)](()=>{const _0x162ba2=_0x33d00b;this[_0x162ba2(0x31c)](),this['emitCurrentSelection']();}))??(()=>void 0x0));}[_0x5241b3(0x212)](){const _0x3e9a54=_0x5241b3;if(this[_0x3e9a54(0x25e)]>0x0)return this['getStructuralSelection']();let _0x376b1c=this[_0x3e9a54(0x257)]();if(!_0x376b1c)return null;if(!this['_nativeSelectionSuppressed']){var _0xa77f52,_0x1e1f73,_0x90ba54,_0x2b2c63;let _0x45add4=(_0xa77f52=(_0x1e1f73=this[_0x3e9a54(0x14c)])['getRectRanges'])==null?void 0x0:_0xa77f52[_0x3e9a54(0x1bb)](_0x1e1f73);if(_0x45add4&&_0x45add4['length']>0x0)return this[_0x3e9a54(0x1e9)](_0x376b1c,_0x45add4);let _0x300f08=(_0x90ba54=(_0x2b2c63=this[_0x3e9a54(0x14c)])[_0x3e9a54(0x2de)])==null?void 0x0:_0x90ba54[_0x3e9a54(0x1bb)](_0x2b2c63);if(_0x300f08)return this[_0x3e9a54(0x351)](_0x376b1c,_0x300f08)||{'kind':_0x3e9a54(0x2cf),'unitId':_0x376b1c[_0x3e9a54(0x1d0)](),'segmentId':_0x300f08[_0x3e9a54(0x23b)]??'','tableId':'','startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1,'startOffset':_0x300f08[_0x3e9a54(0x1fe)]??0x0,'endOffset':_0x300f08[_0x3e9a54(0x2a0)]??_0x300f08[_0x3e9a54(0x1fe)]??0x0,'source':'text'};}let _0xab40ec=this[_0x3e9a54(0x221)](_0x376b1c);return _0xab40ec?{..._0xab40ec,'unitId':_0x376b1c[_0x3e9a54(0x1d0)]()}:null;}[_0x5241b3(0x1d3)](){const _0x3d6cd1=_0x5241b3;let _0x141e06=this['_getCurrentDoc']();if(!_0x141e06)return null;let _0xca2725=this['_getValidStructuralSelection'](_0x141e06);return _0xca2725?{..._0xca2725,'unitId':_0x141e06[_0x3d6cd1(0x1d0)]()}:null;}async['withStructuralSelection'](_0x3f29d1){const _0x33dc96=_0x5241b3;if(!this[_0x33dc96(0x1d3)]())return _0x3f29d1();this['_structuralSelectionScopeDepth']++;try{return await _0x3f29d1();}finally{this[_0x33dc96(0x25e)]--,this[_0x33dc96(0x343)]();}}[_0x5241b3(0x30f)](){const _0x1668d3=_0x5241b3;let _0x102871=this[_0x1668d3(0x212)]();return _0x54a15c(_0x102871)?_0x102871:null;}['emitCurrentSelection'](){const _0x1a8820=_0x5241b3;let _0x6dcf80=this[_0x1a8820(0x257)]();_0x6dcf80&&this[_0x1a8820(0x221)](_0x6dcf80),this[_0x1a8820(0x188)][_0x1a8820(0x275)](this[_0x1a8820(0x212)]());}[_0x5241b3(0x242)](_0x34afe1,_0x31877b={}){const _0x51bd0b=_0x5241b3;var _0xefa813;let _0xa5f2f4=this[_0x51bd0b(0x257)](),_0x20f76a=_0xa5f2f4==null||(_0xefa813=_0xa5f2f4['getSnapshot']()[_0x51bd0b(0x16e)])==null?void 0x0:_0xefa813[_0x34afe1[_0x51bd0b(0x135)]],_0x54b625=_0x20f76a?_0x3d4e96(_0x20f76a,_0x34afe1):null;if(!_0x20f76a||!_0x54b625)this[_0x51bd0b(0x2e6)](!0x0),this[_0x51bd0b(0x343)]();else{if(this[_0x51bd0b(0x308)]={'kind':_0x4fc6da(_0x34afe1['kind'],_0x54b625,_0x20f76a),'unitId':(_0xa5f2f4==null?void 0x0:_0xa5f2f4['getUnitId']())??'','segmentId':_0x34afe1[_0x51bd0b(0x23b)]??'','tableId':_0x34afe1[_0x51bd0b(0x135)],'startRow':_0x54b625['startRow'],'endRow':_0x54b625['endRow'],'startColumn':_0x54b625[_0x51bd0b(0x2a1)],'endColumn':_0x54b625[_0x51bd0b(0x1bd)],'startOffset':_0x34afe1[_0x51bd0b(0x1fe)]??0x0,'endOffset':_0x34afe1['endOffset']??_0x34afe1[_0x51bd0b(0x1fe)]??0x0,'source':'structural'},this[_0x51bd0b(0x199)]=_0x2d0f5a(_0x20f76a),this['_preserveStructuralSelectionOnNextTextSelection']=!!_0x31877b[_0x51bd0b(0x1fb)],_0x31877b[_0x51bd0b(0x23d)]!==!0x1){var _0x50f9e9,_0x1253f9;(_0x50f9e9=(_0x1253f9=this['_docSelectionManagerService'])[_0x51bd0b(0x27f)])==null||_0x50f9e9[_0x51bd0b(0x1bb)](_0x1253f9,[],void 0x0,!0x1);}this['emitCurrentSelection']();}}[_0x5241b3(0x217)](_0x1beb80,_0x5cdfa3,_0x58371a,_0x33c5dd,_0x8aace6={}){const _0xc6e277=_0x5241b3;var _0x131412;let _0x4a78c2=this[_0xc6e277(0x257)](),_0x152007=_0x4a78c2==null||(_0x131412=_0x4a78c2[_0xc6e277(0x2c5)]()['tableSource'])==null?void 0x0:_0x131412[_0x1beb80];if(!_0x152007)return;let _0x58c5ce=_0x152007[_0xc6e277(0x163)][_0xc6e277(0x252)],_0x388ad5=_0x152007[_0xc6e277(0x25c)][_0xc6e277(0x252)],_0x401f68=Math[_0xc6e277(0x355)](_0x58371a,_0x33c5dd),_0x5ad8e8=Math[_0xc6e277(0x356)](_0x58371a,_0x33c5dd);_0x5cdfa3===_0xc6e277(0x23c)?this[_0xc6e277(0x248)]({'kind':_0xc6e277(0x23c),'segmentId':_0x8aace6['segmentId'],'tableId':_0x1beb80,'startRow':_0x401f68,'endRow':_0x5ad8e8,'startColumn':0x0,'endColumn':Math['max'](_0x388ad5-0x1,0x0)},_0x8aace6):this['_setDirectStructuralSelection']({'kind':'column','segmentId':_0x8aace6[_0xc6e277(0x23b)],'tableId':_0x1beb80,'startRow':0x0,'endRow':Math[_0xc6e277(0x356)](_0x58c5ce-0x1,0x0),'startColumn':_0x401f68,'endColumn':_0x5ad8e8},_0x8aace6);}[_0x5241b3(0x31a)](_0x4d4637={}){const _0x2829c2=_0x5241b3;if(this[_0x2829c2(0x2e6)](),_0x4d4637[_0x2829c2(0x23d)]!==!0x1){var _0x5afaea,_0x151189;(_0x5afaea=(_0x151189=this['_docSelectionManagerService'])[_0x2829c2(0x27f)])==null||_0x5afaea[_0x2829c2(0x1bb)](_0x151189,[],void 0x0,!0x1);}this['emitCurrentSelection']();}['setNativeSelectionSuppressed'](_0xa01e42){const _0x464351=_0x5241b3;if(this[_0x464351(0x251)]!==_0xa01e42){if(this[_0x464351(0x251)]=_0xa01e42,_0xa01e42||(this['_preserveStructuralSelectionOnNextTextSelection']=!0x1),_0xa01e42){var _0x1e23ad,_0x299674;(_0x1e23ad=(_0x299674=this['_docSelectionManagerService'])['replaceDocRanges'])==null||_0x1e23ad[_0x464351(0x1bb)](_0x299674,[],void 0x0,!0x1);}this[_0x464351(0x343)]();}}['dispose'](){const _0x1b0775=_0x5241b3;super[_0x1b0775(0x213)](),this[_0x1b0775(0x188)][_0x1b0775(0x1ae)]();}['_getCurrentDoc'](){const _0x24879e=_0x5241b3;var _0x27e8d5,_0x512d93;return((_0x27e8d5=(_0x512d93=this[_0x24879e(0x176)])[_0x24879e(0x29c)])==null?void 0x0:_0x27e8d5[_0x24879e(0x1bb)](_0x512d93,_0x2752e6['UniverInstanceType'][_0x24879e(0x1d8)]))??null;}['_restoreNativeSelectionForTextFocus'](){const _0x35bd5e=_0x5241b3;var _0xb69c9a,_0x3a498a;if(this[_0x35bd5e(0x25e)]>0x0)return;let _0x3c6fe3=(_0xb69c9a=(_0x3a498a=this[_0x35bd5e(0x14c)])[_0x35bd5e(0x2de)])==null?void 0x0:_0xb69c9a[_0x35bd5e(0x1bb)](_0x3a498a);(_0x3c6fe3==null?void 0x0:_0x3c6fe3[_0x35bd5e(0x1fe)])!=null&&(this[_0x35bd5e(0x323)]?this[_0x35bd5e(0x323)]=!0x1:(this[_0x35bd5e(0x251)]=!0x1,this[_0x35bd5e(0x2e6)]()));}[_0x5241b3(0x248)](_0x1ef285,_0x2b8778={}){const _0x26adbd=_0x5241b3;var _0x43b03c;let _0x14f5c2=this[_0x26adbd(0x257)](),_0x501f7d=_0x14f5c2==null||(_0x43b03c=_0x14f5c2['getSnapshot']()['tableSource'])==null?void 0x0:_0x43b03c[_0x1ef285['tableId']],_0x142e87=_0x501f7d?_0x3d4e96(_0x501f7d,_0x1ef285):null;if(!_0x501f7d||!_0x142e87)this['_clearStructuralSelectionState'](!0x0),this[_0x26adbd(0x343)]();else{if(this['_structuralSelection']={'kind':_0x1ef285['kind'],'unitId':(_0x14f5c2==null?void 0x0:_0x14f5c2['getUnitId']())??'','segmentId':_0x1ef285[_0x26adbd(0x23b)]??'','tableId':_0x1ef285[_0x26adbd(0x135)],'startRow':_0x142e87[_0x26adbd(0x172)],'endRow':_0x142e87[_0x26adbd(0x324)],'startColumn':_0x142e87[_0x26adbd(0x2a1)],'endColumn':_0x142e87[_0x26adbd(0x1bd)],'startOffset':_0x1ef285[_0x26adbd(0x1fe)]??0x0,'endOffset':_0x1ef285[_0x26adbd(0x2a0)]??_0x1ef285[_0x26adbd(0x1fe)]??0x0,'source':_0x26adbd(0x243)},this['_structuralSelectionTableShape']=_0x2d0f5a(_0x501f7d),this[_0x26adbd(0x323)]=!!_0x2b8778[_0x26adbd(0x1fb)],_0x2b8778[_0x26adbd(0x23d)]!==!0x1){var _0x563986,_0x41d82a;(_0x563986=(_0x41d82a=this[_0x26adbd(0x14c)])['replaceDocRanges'])==null||_0x563986[_0x26adbd(0x1bb)](_0x41d82a,[],void 0x0,!0x1);}this['emitCurrentSelection']();}}[_0x5241b3(0x351)](_0x1e7fcc,_0x4472ad){const _0x3ecab6=_0x5241b3;var _0x52da09;let _0x3508aa=_0x4472ad[_0x3ecab6(0x1fe)];if(_0x3508aa==null)return null;let _0x4ac434=_0x301325(_0x1e7fcc,_0x4472ad[_0x3ecab6(0x23b)])??_0x1e7fcc[_0x3ecab6(0x2c5)](),_0x3f83c8=(_0x52da09=_0x4ac434[_0x3ecab6(0x347)])==null||(_0x52da09=_0x52da09[_0x3ecab6(0x1ad)])==null?void 0x0:_0x52da09[_0x3ecab6(0x165)](_0x32a483=>_0x3508aa>_0x32a483['startIndex']&&_0x3508aa<_0x32a483[_0x3ecab6(0x1fc)])[_0x3ecab6(0x1b5)]((_0x3204d4,_0x595497)=>_0x3204d4?_0x595497['endIndex']-_0x595497[_0x3ecab6(0x2eb)]<_0x3204d4[_0x3ecab6(0x1fc)]-_0x3204d4[_0x3ecab6(0x2eb)]?_0x595497:_0x3204d4:_0x595497,void 0x0);if(!(_0x3f83c8!=null&&_0x3f83c8[_0x3ecab6(0x135)]))return null;let _0x120730=_0x48bd87(_0x4ac434,_0x3f83c8[_0x3ecab6(0x135)]),_0x37dbd1=_0x120730==null?void 0x0:_0x120730['rows'][_0x3ecab6(0x15b)](_0x1540f9=>_0x1540f9[_0x3ecab6(0x31b)])[_0x3ecab6(0x14b)](_0x20af75=>_0x3508aa>=_0x20af75['startOffset']&&_0x3508aa<=_0x20af75[_0x3ecab6(0x2a0)]);if(!_0x120730||!_0x37dbd1)return null;let _0x3a89af=_0x124ee0(_0x120730[_0x3ecab6(0x16e)],_0x37dbd1[_0x3ecab6(0x23c)],_0x37dbd1['column']);if(!_0x3a89af)return null;let _0x4ca3bc=_0x4796c1(_0x120730['tableSource'],{'startRow':_0x37dbd1[_0x3ecab6(0x23c)],'endRow':_0x37dbd1['row'],'startColumn':_0x3a89af[_0x3ecab6(0x2a1)],'endColumn':_0x3a89af['endColumn']});return{'kind':_0x4fc6da(_0x3ecab6(0x295),_0x4ca3bc,_0x120730[_0x3ecab6(0x16e)]),'unitId':_0x1e7fcc[_0x3ecab6(0x1d0)](),'segmentId':_0x4472ad[_0x3ecab6(0x23b)]??'','tableId':_0x3f83c8[_0x3ecab6(0x135)],'startRow':_0x4ca3bc[_0x3ecab6(0x172)],'endRow':_0x4ca3bc['endRow'],'startColumn':_0x4ca3bc[_0x3ecab6(0x2a1)],'endColumn':_0x4ca3bc[_0x3ecab6(0x1bd)],'startOffset':_0x37dbd1[_0x3ecab6(0x1fe)],'endOffset':_0x37dbd1[_0x3ecab6(0x2a0)],'source':_0x3ecab6(0x2cf)};}['_getSelectionFromRectRanges'](_0x4ff45e,_0x4d5d52){const _0x46e7b8=_0x5241b3;var _0x339800;let _0xea083d=_0x4d5d52[_0x46e7b8(0x14b)](_0x16a2e3=>!!_0x16a2e3[_0x46e7b8(0x135)]);if(!(_0xea083d!=null&&_0xea083d[_0x46e7b8(0x135)]))return null;let _0x1e2d6e=_0xea083d[_0x46e7b8(0x135)],_0x23fdcc=(_0x339800=_0x4ff45e['getSnapshot']()[_0x46e7b8(0x16e)])==null?void 0x0:_0x339800[_0x1e2d6e];if(!_0x23fdcc)return null;let _0x53fbfe=_0x4d5d52['filter'](_0x3443b8=>_0x3443b8['tableId']===_0x1e2d6e)[_0x46e7b8(0x211)](_0x1f38fb=>{let _0x452165=_0x33b119(_0x23fdcc,_0x1f38fb);return _0x452165?{..._0x1f38fb,..._0x452165}:null;});if(_0x53fbfe['some'](_0x72062b=>_0x72062b==null))return null;let _0x46c672=_0x53fbfe['filter'](_0x396fa3=>_0x396fa3!=null),_0x16d325=this[_0x46e7b8(0x1a1)](_0x46c672)?_0x46c672:[_0x46c672[0x0]??_0xea083d],_0x1aa705=_0x4896c3(_0x23fdcc,{'startRow':Math[_0x46e7b8(0x355)](..._0x16d325['map'](_0x4a4edb=>Math['min'](_0x4a4edb[_0x46e7b8(0x172)],_0x4a4edb[_0x46e7b8(0x324)]))),'endRow':Math[_0x46e7b8(0x356)](..._0x16d325[_0x46e7b8(0x211)](_0x38af91=>Math[_0x46e7b8(0x356)](_0x38af91['startRow'],_0x38af91[_0x46e7b8(0x324)]))),'startColumn':Math[_0x46e7b8(0x355)](..._0x16d325['map'](_0x3e584f=>Math[_0x46e7b8(0x355)](_0x3e584f['startColumn'],_0x3e584f[_0x46e7b8(0x1bd)]))),'endColumn':Math[_0x46e7b8(0x356)](..._0x16d325[_0x46e7b8(0x211)](_0x4ace7c=>Math[_0x46e7b8(0x356)](_0x4ace7c[_0x46e7b8(0x2a1)],_0x4ace7c[_0x46e7b8(0x1bd)])))}),_0x4b2872=_0x4fc6da(_0x46e7b8(0x22a),_0x1aa705,_0x23fdcc),_0x2c65e7=_0x16d325['map'](_0x4523db=>_0x4523db[_0x46e7b8(0x1fe)])[_0x46e7b8(0x165)](_0x2fa261=>typeof _0x2fa261=='number'),_0x54732d=_0x16d325[_0x46e7b8(0x211)](_0x5db671=>_0x5db671[_0x46e7b8(0x2a0)])[_0x46e7b8(0x165)](_0x464a2b=>typeof _0x464a2b==_0x46e7b8(0x1d4));return{'kind':_0x4b2872,'unitId':_0x4ff45e['getUnitId'](),'segmentId':_0xea083d[_0x46e7b8(0x23b)]??'','tableId':_0x1e2d6e,'startRow':_0x1aa705[_0x46e7b8(0x172)],'endRow':_0x1aa705['endRow'],'startColumn':_0x1aa705[_0x46e7b8(0x2a1)],'endColumn':_0x1aa705['endColumn'],'startOffset':_0x2c65e7[_0x46e7b8(0x252)]?Math[_0x46e7b8(0x355)](..._0x2c65e7):0x0,'endOffset':_0x54732d[_0x46e7b8(0x252)]?Math[_0x46e7b8(0x356)](..._0x54732d):_0x2c65e7[0x0]??0x0,'source':'rect'};}[_0x5241b3(0x1a1)](_0x479ab1){const _0x1044cc=_0x5241b3;if(_0x479ab1[_0x1044cc(0x252)]<=0x1)return!0x0;let _0x3b736b=Math[_0x1044cc(0x355)](..._0x479ab1[_0x1044cc(0x211)](_0x4d9abf=>Math[_0x1044cc(0x355)](_0x4d9abf[_0x1044cc(0x172)],_0x4d9abf['endRow']))),_0x35b6fb=Math[_0x1044cc(0x356)](..._0x479ab1[_0x1044cc(0x211)](_0x6cee0d=>Math[_0x1044cc(0x356)](_0x6cee0d[_0x1044cc(0x172)],_0x6cee0d[_0x1044cc(0x324)]))),_0x4215c0=Math[_0x1044cc(0x355)](..._0x479ab1[_0x1044cc(0x211)](_0x4754e8=>Math['min'](_0x4754e8[_0x1044cc(0x2a1)],_0x4754e8[_0x1044cc(0x1bd)]))),_0x1dfded=Math['max'](..._0x479ab1[_0x1044cc(0x211)](_0xeea37b=>Math[_0x1044cc(0x356)](_0xeea37b[_0x1044cc(0x2a1)],_0xeea37b[_0x1044cc(0x1bd)]))),_0x4886ce=new Set();return _0x479ab1[_0x1044cc(0x20d)](_0x13540c=>{const _0x42fabe=_0x1044cc;let _0x274ce6=Math[_0x42fabe(0x355)](_0x13540c[_0x42fabe(0x172)],_0x13540c[_0x42fabe(0x324)]),_0x37855a=Math[_0x42fabe(0x356)](_0x13540c[_0x42fabe(0x172)],_0x13540c['endRow']),_0x102d78=Math[_0x42fabe(0x355)](_0x13540c[_0x42fabe(0x2a1)],_0x13540c['endColumn']),_0xc93a52=Math[_0x42fabe(0x356)](_0x13540c[_0x42fabe(0x2a1)],_0x13540c['endColumn']);for(let _0x4785b9=_0x274ce6;_0x4785b9<=_0x37855a;_0x4785b9++)for(let _0x31ef60=_0x102d78;_0x31ef60<=_0xc93a52;_0x31ef60++)_0x4886ce[_0x42fabe(0x304)](_0x4785b9+':'+_0x31ef60);}),_0x4886ce['size']===(_0x35b6fb-_0x3b736b+0x1)*(_0x1dfded-_0x4215c0+0x1);}[_0x5241b3(0x221)](_0x998fd6){const _0x2cdfa2=_0x5241b3;var _0x17c26f;let _0x56d93a=this[_0x2cdfa2(0x308)];if(!_0x56d93a)return null;let _0x3f7f2d=(_0x17c26f=_0x998fd6['getSnapshot']()['tableSource'])==null?void 0x0:_0x17c26f[_0x56d93a['tableId']],_0x85c36f=_0x3f7f2d?_0x3d4e96(_0x3f7f2d,_0x56d93a):null;return!_0x3f7f2d||!_0x85c36f||this[_0x2cdfa2(0x199)]!==_0x2d0f5a(_0x3f7f2d)?(this[_0x2cdfa2(0x2e6)](!0x0),null):(this[_0x2cdfa2(0x308)]={..._0x56d93a,'kind':_0x4fc6da(_0x56d93a[_0x2cdfa2(0x17e)],_0x85c36f,_0x3f7f2d),..._0x85c36f},this[_0x2cdfa2(0x308)]);}[_0x5241b3(0x2e6)](_0x2bc31e=!0x1){const _0x59ef8f=_0x5241b3;this[_0x59ef8f(0x308)]=null,this[_0x59ef8f(0x199)]=null,_0x2bc31e&&(this[_0x59ef8f(0x251)]=!0x1),this[_0x59ef8f(0x323)]=!0x1;}};_0xc8625f=_0x51b4d5([_0x548e54(0x0,_0x2752e6['IUniverInstanceService']),_0x548e54(0x1,(0x0,_0x2752e6[_0x5241b3(0x140)])(_0x43be57[_0x5241b3(0x182)]))],_0xc8625f);function _0x54a15c(_0x4af834){const _0x4e5c48=_0x5241b3;return!!(_0x4af834!=null&&_0x4af834[_0x4e5c48(0x135)])&&_0x4af834[_0x4e5c48(0x172)]>=0x0&&_0x4af834[_0x4e5c48(0x2a1)]>=0x0;}function _0x4fa301(_0x2fd8bc){const _0x516186=_0x5241b3;return{'startRow':Math[_0x516186(0x355)](_0x2fd8bc[_0x516186(0x172)],_0x2fd8bc['endRow']),'endRow':Math[_0x516186(0x356)](_0x2fd8bc[_0x516186(0x172)],_0x2fd8bc[_0x516186(0x324)]),'startColumn':Math['min'](_0x2fd8bc[_0x516186(0x2a1)],_0x2fd8bc[_0x516186(0x1bd)]),'endColumn':Math[_0x516186(0x356)](_0x2fd8bc[_0x516186(0x2a1)],_0x2fd8bc[_0x516186(0x1bd)])};}function _0x593ac8(_0x5ca81b,_0x495953){let _0x3e58cb=_0x4c3db0(_0x5ca81b,_0x495953);return _0x3e58cb?_0x4796c1(_0x5ca81b,_0x3e58cb):null;}function _0x33b119(_0x102c1a,_0x4b8c4b){const _0x1118e4=_0x5241b3;if(!_0x15720f(_0x102c1a))return _0x593ac8(_0x102c1a,_0x4b8c4b);let _0x5e73c0=_0x4fa301(_0x4b8c4b),_0x39fdb9=_0x124ee0(_0x102c1a,_0x5e73c0['startRow'],_0x5e73c0[_0x1118e4(0x2a1)]),_0x3fa6c5=_0x124ee0(_0x102c1a,_0x5e73c0[_0x1118e4(0x324)],_0x5e73c0[_0x1118e4(0x1bd)]);return!_0x39fdb9||!_0x3fa6c5?null:_0x4796c1(_0x102c1a,{'startRow':_0x5e73c0[_0x1118e4(0x172)],'endRow':_0x5e73c0[_0x1118e4(0x324)],'startColumn':_0x39fdb9[_0x1118e4(0x2a1)],'endColumn':_0x3fa6c5[_0x1118e4(0x1bd)]});}function _0x3d4e96(_0x1bc687,_0x463d47){const _0x4089d8=_0x5241b3;let _0x224c45=_0x4c3db0(_0x1bc687,_0x463d47);return _0x224c45?_0x463d47['kind']===_0x4089d8(0x23c)||_0x463d47[_0x4089d8(0x17e)]===_0x4089d8(0x2ff)?_0x224c45:_0x4796c1(_0x1bc687,_0x224c45):null;}function _0x4c3db0(_0x231ccd,_0x844404){const _0x55f8b1=_0x5241b3;let _0x53ad55=_0x4fa301(_0x844404),_0xf95e8a=_0x231ccd[_0x55f8b1(0x163)]['length'],_0x40a7ec=_0x231ccd[_0x55f8b1(0x25c)]['length'];return _0xf95e8a===0x0||_0x40a7ec===0x0||_0x53ad55['startRow']<0x0||_0x53ad55[_0x55f8b1(0x324)]>=_0xf95e8a||_0x53ad55['startColumn']<0x0||_0x53ad55[_0x55f8b1(0x1bd)]>=_0x40a7ec?null:_0x53ad55;}function _0x2d0f5a(_0x2ba080){const _0x4b6b44=_0x5241b3;return _0x2ba080[_0x4b6b44(0x163)][_0x4b6b44(0x252)]+':'+_0x2ba080[_0x4b6b44(0x25c)][_0x4b6b44(0x252)]+':'+_0x2ba080['tableRows'][_0x4b6b44(0x211)](_0x34f462=>_0x34f462[_0x4b6b44(0x1a6)][_0x4b6b44(0x211)](_0x329d75=>(_0x329d75[_0x4b6b44(0x359)]??0x1)+'x'+(_0x329d75[_0x4b6b44(0x141)]??0x1))[_0x4b6b44(0x253)](','))[_0x4b6b44(0x253)](';');}function _0x4fc6da(_0x155ac1,_0x218ff0,_0x477301){const _0x3a3eba=_0x5241b3;let _0x34a14b=_0x218ff0['startRow']===_0x218ff0['endRow']&&_0x218ff0['startColumn']===_0x218ff0[_0x3a3eba(0x1bd)];if(_0x155ac1===_0x3a3eba(0x295)&&(_0x34a14b||_0x276878(_0x477301,_0x218ff0)))return _0x3a3eba(0x295);let {spansEntireRow:_0x5e1605,spansEntireColumn:_0xd29e6f}=_0x21d024(_0x218ff0,_0x477301);return _0x155ac1===_0x3a3eba(0x23c)&&_0x5e1605?_0x3a3eba(0x23c):_0x155ac1===_0x3a3eba(0x2ff)&&_0xd29e6f?'column':_0x5e1605&&_0xd29e6f?'table':_0x34a14b?'cell':'range';}function _0x21d024(_0xfd50a,_0x33e93c){const _0x1007f0=_0x5241b3;let _0x2072f9=(_0x33e93c==null?void 0x0:_0x33e93c[_0x1007f0(0x163)][_0x1007f0(0x252)])??0x0,_0x2bc1fe=(_0x33e93c==null?void 0x0:_0x33e93c[_0x1007f0(0x25c)][_0x1007f0(0x252)])??0x0;return{'spansEntireRow':_0x2bc1fe>0x0&&_0xfd50a['startColumn']===0x0&&_0xfd50a[_0x1007f0(0x1bd)]===_0x2bc1fe-0x1,'spansEntireColumn':_0x2072f9>0x0&&_0xfd50a['startRow']===0x0&&_0xfd50a[_0x1007f0(0x324)]===_0x2072f9-0x1};}function _0x276878(_0x1a904b,_0x103866){const _0x2f05e5=_0x5241b3;return(_0x1a904b==null?void 0x0:_0x1a904b[_0x2f05e5(0x163)][_0x2f05e5(0x277)]((_0x511fa7,_0x390200)=>_0x511fa7['tableCells'][_0x2f05e5(0x277)]((_0x2c303f,_0x3a8439)=>{const _0x28383a=_0x2f05e5;let _0x4bf349=_0x2c303f[_0x28383a(0x359)]??0x1,_0x14d6af=_0x2c303f[_0x28383a(0x141)]??0x1;if(_0x4bf349<=0x0||_0x14d6af<=0x0||_0x4bf349===0x1&&_0x14d6af===0x1)return!0x1;let _0x249e86=_0x124ee0(_0x1a904b,_0x390200,_0x3a8439);return _0x249e86?_0x103866['startRow']===_0x390200&&_0x103866['endRow']===_0x390200+_0x4bf349-0x1&&_0x103866['startColumn']===_0x249e86[_0x28383a(0x2a1)]&&_0x103866['endColumn']===_0x249e86['endColumn']:!0x1;})))??!0x1;}function _0x15720f(_0x3518f6){const _0x3427eb=_0x5241b3;return _0x3518f6[_0x3427eb(0x163)][_0x3427eb(0x277)](_0x55c130=>_0x55c130[_0x3427eb(0x1a6)][_0x3427eb(0x252)]!==_0x3518f6['tableColumns'][_0x3427eb(0x252)]);}function _0x31f9e8(_0x541418,_0x5113ec){const _0x58218d=_0x5241b3;let _0x5de42c=_0x541418[_0x58218d(0x163)][_0x5113ec];if(!_0x5de42c)return[];let _0x2a1538=_0x5de42c[_0x58218d(0x157)]??0x0;return _0x5de42c[_0x58218d(0x1a6)][_0x58218d(0x211)]((_0x87ba67,_0x7ada2b)=>{const _0x33d129=_0x58218d;let _0x5a526a=Math[_0x33d129(0x356)](0x1,_0x87ba67[_0x33d129(0x141)]??0x1),_0x22f4c6={'physicalColumn':_0x7ada2b,'startColumn':_0x2a1538,'endColumn':_0x2a1538+_0x5a526a-0x1};return _0x2a1538+=_0x5a526a,_0x22f4c6;});}function _0x124ee0(_0x196235,_0x398665,_0xb2ca57){return _0x31f9e8(_0x196235,_0x398665)[_0xb2ca57]??null;}function _0x4796c1(_0x3aee26,_0x318b97){const _0x52187a=_0x5241b3;if(!_0x15720f(_0x3aee26))return _0x4896c3(_0x3aee26,_0x318b97);let _0xa2bde5=_0x4fa301(_0x318b97),_0x11378e=!0x0;for(;_0x11378e;)_0x11378e=!0x1,_0x3aee26[_0x52187a(0x163)][_0x52187a(0x20d)]((_0x263477,_0x4aa038)=>_0x263477[_0x52187a(0x1a6)][_0x52187a(0x20d)]((_0x5e3136,_0x16ae92)=>{const _0x49d785=_0x52187a;let _0x34f745=_0x124ee0(_0x3aee26,_0x4aa038,_0x16ae92);if(!_0x34f745)return;let _0x4f6b70={'startRow':_0x4aa038,'endRow':_0x4aa038+Math[_0x49d785(0x356)](0x1,_0x5e3136[_0x49d785(0x359)]??0x1)-0x1,'startColumn':_0x34f745['startColumn'],'endColumn':_0x34f745['endColumn']};if(!(_0xa2bde5[_0x49d785(0x172)]<=_0x4f6b70[_0x49d785(0x324)]&&_0xa2bde5[_0x49d785(0x324)]>=_0x4f6b70['startRow']&&_0xa2bde5[_0x49d785(0x2a1)]<=_0x4f6b70['endColumn']&&_0xa2bde5[_0x49d785(0x1bd)]>=_0x4f6b70[_0x49d785(0x2a1)]))return;let _0x21994d={'startRow':Math['min'](_0xa2bde5[_0x49d785(0x172)],_0x4f6b70['startRow']),'endRow':Math[_0x49d785(0x356)](_0xa2bde5[_0x49d785(0x324)],_0x4f6b70[_0x49d785(0x324)]),'startColumn':Math[_0x49d785(0x355)](_0xa2bde5[_0x49d785(0x2a1)],_0x4f6b70['startColumn']),'endColumn':Math[_0x49d785(0x356)](_0xa2bde5[_0x49d785(0x1bd)],_0x4f6b70[_0x49d785(0x1bd)])};(_0x21994d[_0x49d785(0x172)]!==_0xa2bde5[_0x49d785(0x172)]||_0x21994d[_0x49d785(0x324)]!==_0xa2bde5[_0x49d785(0x324)]||_0x21994d[_0x49d785(0x2a1)]!==_0xa2bde5[_0x49d785(0x2a1)]||_0x21994d['endColumn']!==_0xa2bde5[_0x49d785(0x1bd)])&&(_0xa2bde5=_0x21994d,_0x11378e=!0x0);}));return _0xa2bde5;}let _0x2c1d05={'id':'docs-table.command.delete-columns','type':_0x2752e6['CommandType'][_0x5241b3(0x1e1)],'handler':(_0x1b8dba,_0x205558)=>{const _0x200ec8=_0x5241b3;if(!_0x205558)return!0x1;let _0x3780cf=_0x1b8dba[_0x200ec8(0x2ef)](_0x2752e6[_0x200ec8(0x17b)]),_0x5c01fc=_0x1b8dba[_0x200ec8(0x2ef)](_0x2752e6[_0x200ec8(0x282)]),_0x49d92e=_0x1b8dba[_0x200ec8(0x2ef)](_0xc8625f),_0x3d1dd5=_0x3780cf[_0x200ec8(0x2dc)](_0x205558[_0x200ec8(0x22e)],_0x2752e6[_0x200ec8(0x33c)][_0x200ec8(0x1d8)]);if(!_0x3d1dd5)return!0x1;let _0x3c0d95=_0x49d92e[_0x200ec8(0x212)](),_0xc71486=(_0x3c0d95==null?void 0x0:_0x3c0d95[_0x200ec8(0x22e)])===_0x3d1dd5[_0x200ec8(0x1d0)]()?_0x3c0d95:null,{endColumn:_0x21fde3,startColumn:_0x2ccfe7,tableId:_0x2e9187}=_0x205558,_0x2bb34d=_0x3d1dd5[_0x200ec8(0x2c5)](),_0x49e147=_0x205558['segmentId']??'',_0x440691=_0x301325(_0x3d1dd5,_0x49e147);if(!_0x440691)return!0x1;let _0x4854f4=_0x49d608(_0x440691,_0x2e9187,_0x2ccfe7,_0x21fde3,_0x55a2a1(_0x2bb34d,_0x49e147));if(!_0x4854f4)return!0x1;let _0x3179f9=_0x118e54(_0x5c01fc,_0x3d1dd5[_0x200ec8(0x1d0)](),_0x440691,_0x4854f4[_0x200ec8(0x300)],void 0x0,void 0x0,_0x2c1d05['id']);if(_0x3179f9&&_0xc71486){let _0x494a30=_0x49dbb2(_0xc71486,_0x440691,_0x4854f4[_0x200ec8(0x1ce)]?{'kind':'delete-table','tableId':_0x2e9187}:{'kind':'delete-columns','tableId':_0x2e9187,'index':Math['min'](_0x2ccfe7,_0x21fde3),'count':Math[_0x200ec8(0x238)](_0x21fde3-_0x2ccfe7)+0x1});_0x494a30?_0x49d92e[_0x200ec8(0x242)](_0x494a30):_0x49d92e[_0x200ec8(0x31a)]();}return _0x3179f9;}},_0x3d4419={'id':_0x5241b3(0x319),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':(_0x5e08e9,_0x1632da)=>{const _0x2173b8=_0x5241b3;if(!_0x1632da)return!0x1;let _0x667d6b=_0x5e08e9[_0x2173b8(0x2ef)](_0x2752e6[_0x2173b8(0x17b)]),_0x3dc08a=_0x5e08e9[_0x2173b8(0x2ef)](_0x2752e6['ICommandService']),_0x150596=_0x5e08e9['get'](_0xc8625f),_0x4d484a=_0x667d6b[_0x2173b8(0x2dc)](_0x1632da[_0x2173b8(0x22e)],_0x2752e6['UniverInstanceType'][_0x2173b8(0x1d8)]);if(!_0x4d484a)return!0x1;let _0x4b9905=_0x150596['getCurrentSelection'](),_0x3d6e27=(_0x4b9905==null?void 0x0:_0x4b9905['unitId'])===_0x4d484a['getUnitId']()?_0x4b9905:null,{endRow:_0x51ff48,startRow:_0x3e0b8f,tableId:_0x5501cf}=_0x1632da,_0x535092=_0x4d484a[_0x2173b8(0x2c5)](),_0x5420cd=_0x1632da[_0x2173b8(0x23b)]??'',_0x2a8fc8=_0x301325(_0x4d484a,_0x5420cd);if(!_0x2a8fc8)return!0x1;let _0x1fd06d=_0x150444(_0x2a8fc8,_0x5501cf,_0x3e0b8f,_0x51ff48,_0x55a2a1(_0x535092,_0x5420cd));if(!_0x1fd06d)return!0x1;let _0xbd9f7b=_0x118e54(_0x3dc08a,_0x4d484a[_0x2173b8(0x1d0)](),_0x2a8fc8,_0x1fd06d[_0x2173b8(0x300)],void 0x0,void 0x0,_0x3d4419['id']);if(_0xbd9f7b&&_0x3d6e27){let _0x374041=_0x49dbb2(_0x3d6e27,_0x2a8fc8,_0x1fd06d[_0x2173b8(0x1ce)]?{'kind':_0x2173b8(0x2d2),'tableId':_0x5501cf}:{'kind':_0x2173b8(0x1cb),'tableId':_0x5501cf,'index':Math[_0x2173b8(0x355)](_0x3e0b8f,_0x51ff48),'count':Math[_0x2173b8(0x238)](_0x51ff48-_0x3e0b8f)+0x1});_0x374041?_0x150596['setStructuralSelection'](_0x374041):_0x150596['clearStructuralSelection']();}return _0xbd9f7b;}},_0x28ca0a={'id':_0x5241b3(0x318),'type':_0x2752e6[_0x5241b3(0x333)]['COMMAND'],'handler':(_0x5e70ab,_0x112c3e)=>{const _0x23dc52=_0x5241b3;if(!_0x112c3e)return!0x1;let _0x528dc2=_0x5e70ab[_0x23dc52(0x2ef)](_0x2752e6[_0x23dc52(0x17b)]),_0x142d98=_0x5e70ab[_0x23dc52(0x2ef)](_0x2752e6[_0x23dc52(0x282)]),_0x112607=_0x5e70ab[_0x23dc52(0x2ef)](_0xc8625f),_0x46e4ed=_0x528dc2[_0x23dc52(0x2dc)](_0x112c3e[_0x23dc52(0x22e)],_0x2752e6[_0x23dc52(0x33c)]['UNIVER_DOC']),_0x5e4068=_0x112607[_0x23dc52(0x212)](),_0x380be8=(_0x5e4068==null?void 0x0:_0x5e4068[_0x23dc52(0x22e)])===(_0x46e4ed==null?void 0x0:_0x46e4ed['getUnitId']())?_0x5e4068:null;if(!_0x46e4ed)return!0x1;let {tableId:_0x11e97e}=_0x112c3e,_0x3530af=_0x46e4ed['getSnapshot'](),_0x3c4f2a=_0x112c3e[_0x23dc52(0x23b)]??'',_0x54cee4=_0x301325(_0x46e4ed,_0x3c4f2a);if(!_0x54cee4)return!0x1;let _0x1e67d3=_0x386df4(_0x54cee4,_0x11e97e,_0x55a2a1(_0x3530af,_0x3c4f2a));if(!_0x1e67d3)return!0x1;let _0x286f5e=_0x118e54(_0x142d98,_0x46e4ed[_0x23dc52(0x1d0)](),_0x54cee4,_0x1e67d3['actions'],void 0x0,void 0x0,_0x28ca0a['id']);if(_0x286f5e&&_0x380be8){let _0x498ddc=_0x49dbb2(_0x380be8,_0x54cee4,{'kind':_0x23dc52(0x2d2),'tableId':_0x11e97e});_0x498ddc?_0x112607[_0x23dc52(0x242)](_0x498ddc):_0x112607[_0x23dc52(0x31a)]();}return _0x286f5e;}},_0x527990={'id':_0x5241b3(0x1f7),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x4655f5,_0x4351a4)=>{const _0x3d6c14=_0x5241b3;let _0x6cce88=_0x4655f5[_0x3d6c14(0x2ef)](_0x2752e6[_0x3d6c14(0x17b)]),_0x4fb1a8=_0x4655f5[_0x3d6c14(0x2ef)](_0x2752e6[_0x3d6c14(0x282)]),_0x308bbb=_0x4655f5['get'](_0xc8625f),_0xf993b3=_0x6cce88[_0x3d6c14(0x29c)](_0x2752e6['UniverInstanceType']['UNIVER_DOC']),_0x871e6b=_0x308bbb[_0x3d6c14(0x212)](),_0x1670cd=(_0x4351a4==null?void 0x0:_0x4351a4[_0x3d6c14(0x135)])??(_0x871e6b==null?void 0x0:_0x871e6b[_0x3d6c14(0x135)]),_0x35cdf0=(_0x4351a4==null?void 0x0:_0x4351a4[_0x3d6c14(0x2a1)])??(_0x871e6b==null?void 0x0:_0x871e6b[_0x3d6c14(0x2a1)]),_0x127a9d=(_0x4351a4==null?void 0x0:_0x4351a4[_0x3d6c14(0x1bd)])??(_0x871e6b==null?void 0x0:_0x871e6b[_0x3d6c14(0x1bd)]);if(!_0xf993b3||!_0x1670cd||_0x35cdf0==null||_0x127a9d==null)return!0x1;let _0xbaebe3=_0x301325(_0xf993b3,_0x1eeb2b(_0x4351a4,_0x871e6b));if(!_0xbaebe3)return!0x1;let _0x477b42=_0x1937d3(_0xbaebe3,_0x1670cd,_0x35cdf0,_0x127a9d);return _0x118e54(_0x4fb1a8,_0xf993b3[_0x3d6c14(0x1d0)](),_0xbaebe3,_0x477b42);}},_0x2706d1={'id':_0x5241b3(0x18b),'type':_0x2752e6[_0x5241b3(0x333)]['COMMAND'],'handler':async(_0x16b8f3,_0x4be3e9)=>{const _0x5024c3=_0x5241b3;let _0x54b77b=_0x16b8f3[_0x5024c3(0x2ef)](_0x2752e6[_0x5024c3(0x17b)]),_0xffbfb3=_0x16b8f3[_0x5024c3(0x2ef)](_0x2752e6[_0x5024c3(0x282)]),_0x1d3682=_0x16b8f3[_0x5024c3(0x2ef)](_0xc8625f),_0xb41941=_0x54b77b[_0x5024c3(0x29c)](_0x2752e6[_0x5024c3(0x33c)][_0x5024c3(0x1d8)]),_0x3a0121=_0x1d3682[_0x5024c3(0x212)](),_0x31cafe=(_0x4be3e9==null?void 0x0:_0x4be3e9[_0x5024c3(0x135)])??(_0x3a0121==null?void 0x0:_0x3a0121[_0x5024c3(0x135)]),_0x3a0b28=(_0x4be3e9==null?void 0x0:_0x4be3e9[_0x5024c3(0x172)])??(_0x3a0121==null?void 0x0:_0x3a0121[_0x5024c3(0x172)]),_0x4181f0=(_0x4be3e9==null?void 0x0:_0x4be3e9[_0x5024c3(0x324)])??(_0x3a0121==null?void 0x0:_0x3a0121[_0x5024c3(0x324)]);if(!_0xb41941||!_0x31cafe||_0x3a0b28==null||_0x4181f0==null)return!0x1;let _0xd5780b=_0x301325(_0xb41941,_0x1eeb2b(_0x4be3e9,_0x3a0121));if(!_0xd5780b)return!0x1;let _0x48db6f=_0xa41d99(_0xd5780b,_0x31cafe,_0x3a0b28,_0x4181f0);return _0x118e54(_0xffbfb3,_0xb41941[_0x5024c3(0x1d0)](),_0xd5780b,_0x48db6f);}},_0x57caba={'id':_0x5241b3(0x27b),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x2e6f21,_0x634282)=>{const _0xf7d0da=_0x5241b3;var _0xc29cac;if(!_0x634282)return!0x1;let _0x1c46f3=_0x2e6f21[_0xf7d0da(0x2ef)](_0x2752e6[_0xf7d0da(0x17b)]),_0x174c8b=_0x2e6f21[_0xf7d0da(0x2ef)](_0x2752e6['ICommandService']),_0x2d1813=_0x2e6f21['get'](_0xc8625f),_0x26954b=_0x1c46f3['getCurrentUnitOfType'](_0x2752e6['UniverInstanceType'][_0xf7d0da(0x1d8)]),_0x45b033=_0x2d1813[_0xf7d0da(0x212)](),_0x12a5fe=_0x634282[_0xf7d0da(0x135)]??(_0x45b033==null?void 0x0:_0x45b033['tableId']),_0x82a203=_0x634282[_0xf7d0da(0x2ff)]??(_0x634282[_0xf7d0da(0x27a)]==='left'?_0x45b033==null?void 0x0:_0x45b033[_0xf7d0da(0x2a1)]:_0x45b033==null?void 0x0:_0x45b033[_0xf7d0da(0x1bd)]);if(!_0x26954b||_0x12a5fe==null||_0x82a203==null)return!0x1;let _0x5a83c2=_0x26954b[_0xf7d0da(0x2c5)](),_0x32c6e4=_0x1eeb2b(_0x634282,_0x45b033),_0x348dc4=_0x301325(_0x26954b,_0x32c6e4);if(!_0x348dc4)return!0x1;let _0x3bda60=_0x634282[_0xf7d0da(0x320)]??(_0x45b033?Math[_0xf7d0da(0x356)](0x1,_0x45b033[_0xf7d0da(0x1bd)]-_0x45b033[_0xf7d0da(0x2a1)]+0x1):0x1),_0x3cd4b8=((_0xc29cac=_0x5a83c2['documentStyle'])==null?void 0x0:_0xc29cac['documentFlavor'])===_0x2752e6['DocumentFlavor'][_0xf7d0da(0x1b3)],_0x44d11e=_0x1eba0a(_0x348dc4,_0x12a5fe,_0x82a203,_0x3bda60,_0x634282[_0xf7d0da(0x27a)],{'bodyPath':_0x55a2a1(_0x5a83c2,_0x32c6e4),'insertedColumnWidth':_0x3cd4b8?_0xcc97c8(_0x5a83c2,_0x12a5fe,_0x82a203,_0x634282[_0xf7d0da(0x27a)]):void 0x0,'preserveTotalWidth':!_0x3cd4b8});if(!_0x44d11e)return!0x1;let _0x309d25=_0x118e54(_0x174c8b,_0x26954b[_0xf7d0da(0x1d0)](),_0x348dc4,_0x44d11e[_0xf7d0da(0x300)]);if(_0x309d25&&_0x45b033){let _0x5a0a96=_0x49dbb2(_0x45b033,_0x348dc4,{'kind':_0xf7d0da(0x173),'tableId':_0x12a5fe,'index':_0x44d11e['cursorColumn'],'count':_0x3bda60});_0x5a0a96&&_0x2d1813[_0xf7d0da(0x242)](_0x5a0a96);}return _0x309d25;}};function _0xcc97c8(_0x47fef3,_0x4f0f58,_0x3362f0,_0x56a61c){const _0x2f5485=_0x5241b3;var _0x17f255,_0x5f3f60;let _0x96c6d6=(_0x5f3f60=(((_0x17f255=_0x47fef3[_0x2f5485(0x16e)])==null||(_0x17f255=_0x17f255[_0x4f0f58])==null?void 0x0:_0x17f255[_0x2f5485(0x25c)])??[])[(_0x56a61c===_0x2f5485(0x28f)?_0x3362f0:_0x3362f0+0x1)-0x1])==null||(_0x5f3f60=_0x5f3f60[_0x2f5485(0x145)])==null||(_0x5f3f60=_0x5f3f60['width'])==null?void 0x0:_0x5f3f60['v'];return _0x96c6d6&&_0x96c6d6>0x0?_0x96c6d6:0x64;}let _0x1bdb06={'id':'docs-table.command.insert-rows','type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x1226c7,_0x347f93)=>{const _0x742e4=_0x5241b3;if(!_0x347f93)return!0x1;let _0x305beb=_0x1226c7['get'](_0x2752e6[_0x742e4(0x17b)]),_0x1ad977=_0x1226c7[_0x742e4(0x2ef)](_0x2752e6[_0x742e4(0x282)]),_0x455faa=_0x1226c7[_0x742e4(0x2ef)](_0xc8625f),_0x41ffbb=_0x305beb[_0x742e4(0x29c)](_0x2752e6[_0x742e4(0x33c)][_0x742e4(0x1d8)]),_0x5656fa=_0x455faa['getCurrentSelection'](),_0xb15641=_0x347f93[_0x742e4(0x135)]??(_0x5656fa==null?void 0x0:_0x5656fa[_0x742e4(0x135)]),_0x49f665=_0x347f93[_0x742e4(0x23c)]??(_0x347f93[_0x742e4(0x27a)]===_0x742e4(0x142)?_0x5656fa==null?void 0x0:_0x5656fa['startRow']:_0x5656fa==null?void 0x0:_0x5656fa['endRow']);if(!_0x41ffbb||_0xb15641==null||_0x49f665==null)return!0x1;let _0x36ec12=_0x41ffbb[_0x742e4(0x2c5)](),_0xe02258=_0x1eeb2b(_0x347f93,_0x5656fa),_0x495b65=_0x301325(_0x41ffbb,_0xe02258);if(!_0x495b65)return!0x1;let _0x2318dd=_0x347f93[_0x742e4(0x320)]??(_0x5656fa?Math['max'](0x1,_0x5656fa[_0x742e4(0x324)]-_0x5656fa[_0x742e4(0x172)]+0x1):0x1),_0x41c542=_0x56714c(_0x495b65,_0xb15641,_0x49f665,_0x2318dd,_0x347f93[_0x742e4(0x27a)],_0x55a2a1(_0x36ec12,_0xe02258));if(!_0x41c542)return!0x1;let _0x5ccb78=_0x118e54(_0x1ad977,_0x41ffbb[_0x742e4(0x1d0)](),_0x495b65,_0x41c542[_0x742e4(0x300)]);if(_0x5ccb78&&_0x5656fa){let _0x58127f=_0x49dbb2(_0x5656fa,_0x495b65,{'kind':'insert-rows','tableId':_0xb15641,'index':_0x41c542[_0x742e4(0x164)],'count':_0x2318dd});_0x58127f&&_0x455faa[_0x742e4(0x242)](_0x58127f);}return _0x5ccb78;}},_0x1b1bb2={'start':{'v':0xa},'end':{'v':0xa},'top':{'v':0x5},'bottom':{'v':0x5}};function _0x2a2c90(_0x11cac0){const _0x57d99e=_0x5241b3;var _0x4a8ae2;let _0x507f57=(_0x4a8ae2=_0x11cac0['documentData'][_0x57d99e(0x16e)])==null?void 0x0:_0x4a8ae2[_0x11cac0[_0x57d99e(0x135)]];if(!_0x507f57)return null;let _0x4ca121=_0x31a635(_0x11cac0),_0x5b875d=[],_0x10d0c3=_0x2752e6['JSONX'][_0x57d99e(0x24d)]();for(let _0x59b979=_0x4ca121[_0x57d99e(0x172)];_0x59b979<=_0x4ca121[_0x57d99e(0x324)];_0x59b979++)for(let _0x50b6c1=_0x4ca121[_0x57d99e(0x2a1)];_0x50b6c1<=_0x4ca121[_0x57d99e(0x1bd)];_0x50b6c1++){var _0x57ddd5;let _0x4ae591=(_0x57ddd5=_0x507f57[_0x57d99e(0x163)][_0x59b979])==null?void 0x0:_0x57ddd5[_0x57d99e(0x1a6)][_0x50b6c1];if(!_0x4ae591)return null;_0x5371c8(_0x5b875d,[_0x57d99e(0x16e),_0x11cac0[_0x57d99e(0x135)],_0x57d99e(0x163),_0x59b979,_0x57d99e(0x1a6),_0x50b6c1,_0x57d99e(0x2ae)],_0x4ae591[_0x57d99e(0x2ae)],_0x11cac0[_0x57d99e(0x2ae)]??void 0x0,_0x10d0c3);}return _0x2226b8(_0x5b875d);}function _0x986b06(_0xa0c4b3,_0x4b79dd,_0x56552b){const _0x577122=_0x5241b3;var _0x2e1fef;let _0x45272a=(_0x2e1fef=_0xa0c4b3['tableSource'])==null?void 0x0:_0x2e1fef[_0x4b79dd];if(!_0x45272a)return null;let _0x32d361=[];return _0x5371c8(_0x32d361,['tableSource',_0x4b79dd,_0x577122(0x1b4)],_0x45272a['cellMargin'],_0x56552b??void 0x0,_0x2752e6['JSONX'][_0x577122(0x24d)]()),_0x2226b8(_0x32d361);}function _0x5371c8(_0x3d2b3e,_0x64b796,_0x5c7088,_0x3bcfc7,_0x25c78a){const _0x17301e=_0x5241b3;JSON[_0x17301e(0x298)](_0x5c7088)!==JSON[_0x17301e(0x298)](_0x3bcfc7)&&(_0x5c7088===void 0x0?_0x3d2b3e['push'](_0x25c78a[_0x17301e(0x2ea)](_0x64b796,_0x2752e6[_0x17301e(0x1a3)][_0x17301e(0x2b9)](_0x3bcfc7))):_0x3bcfc7===void 0x0?_0x3d2b3e[_0x17301e(0x190)](_0x25c78a[_0x17301e(0x2b3)](_0x64b796,_0x5c7088)):_0x3d2b3e[_0x17301e(0x190)](_0x25c78a[_0x17301e(0x1e7)](_0x64b796,_0x5c7088,_0x2752e6[_0x17301e(0x1a3)][_0x17301e(0x2b9)](_0x3bcfc7))));}function _0x2226b8(_0x44ad50){const _0x115d97=_0x5241b3;return _0x44ad50['reduce']((_0x3b4642,_0x1b6326)=>_0x2752e6[_0x115d97(0x305)]['compose'](_0x3b4642,_0x1b6326),null);}function _0x31a635(_0x225a81){const _0xb7d800=_0x5241b3;return{'startRow':Math[_0xb7d800(0x355)](_0x225a81[_0xb7d800(0x172)],_0x225a81['endRow']),'endRow':Math[_0xb7d800(0x356)](_0x225a81[_0xb7d800(0x172)],_0x225a81[_0xb7d800(0x324)]),'startColumn':Math[_0xb7d800(0x355)](_0x225a81['startColumn'],_0x225a81['endColumn']),'endColumn':Math[_0xb7d800(0x356)](_0x225a81['startColumn'],_0x225a81[_0xb7d800(0x1bd)])};}let _0xd9fb17=function(_0x3ac11c){const _0x1abf0b=_0x5241b3;return _0x3ac11c[_0x1abf0b(0x2b4)]=_0x1abf0b(0x2d9),_0x3ac11c[_0x1abf0b(0x237)]=_0x1abf0b(0x14f),_0x3ac11c['Offset']='offset',_0x3ac11c;}({});var _0x13ca2c=class extends Error{constructor(){const _0x3d58c5=_0x5241b3;super(_0x3d58c5(0x13c));}};function _0x3bcbcd(_0x820fe,_0x4227f9=[_0x5241b3(0x347)]){const _0x5c660a=_0x5241b3;var _0x2dc087,_0x415daf;let _0x539425=_0x820fe['documentData'][_0x5c660a(0x347)]??_0x128fa7(),_0x349584=_0xccbddc(_0x820fe),_0xed3e30=_0x349584[_0x5c660a(0x252)],_0xd703ef=((_0x2dc087=_0x349584[0x0])==null?void 0x0:_0x2dc087[_0x5c660a(0x252)])??0x1,_0x4eb5fc=_0x2e9990(_0x539425,_0x820fe);_0x597ee7(_0x539425,_0x4eb5fc);let _0x3a9526=_0x3c1bac(_0x539425,_0x820fe,_0x349584,_0x4eb5fc),_0x34db96=_0x820fe[_0x5c660a(0x2a3)]['body']?_0x5dd1af(_0x3a9526,_0x4eb5fc,_0x4227f9):_0x2752e6[_0x5c660a(0x305)]['getInstance']()['insertOp'](_0x4227f9,_0x1a2837(_0x3a9526)),_0x54f195=_0x1067c3(_0x820fe,_0xed3e30,_0xd703ef),_0x5c8f8d=_0x2752e6[_0x5c660a(0x305)][_0x5c660a(0x24d)]()[_0x5c660a(0x2ea)]([_0x5c660a(0x16e),_0x820fe[_0x5c660a(0x135)]],_0x54f195),_0x437978=_0x5d50ee(_0x820fe[_0x5c660a(0x18a)]),_0x44e8f4=_0x1d0bf3(_0x820fe);return _0x44e8f4&&(_0x437978[_0x5c660a(0x1ad)][_0x820fe[_0x5c660a(0x135)]]=_0x44e8f4),{'actions':_0x2752e6[_0x5c660a(0x305)]['compose'](_0x34db96,_0x5c8f8d),'cursorOffset':_0x4eb5fc+(((_0x415daf=_0x3a9526[_0x5c660a(0x1ad)])==null||(_0x415daf=_0x415daf[_0x5c660a(0x14b)](_0x15888f=>_0x15888f['tableId']===_0x820fe[_0x5c660a(0x135)]))==null?void 0x0:_0x415daf[_0x5c660a(0x2eb)])??0x0)+0x3,'nextMetadata':_0x437978,'tableId':_0x820fe[_0x5c660a(0x135)]};}function _0x3c1bac(_0x2a10ac,_0x5e0a3b,_0xa2f07a,_0x2c6b15){const _0x17690f=_0x5241b3;let _0x1f9dba=_0x5096a8(_0x2a10ac),_0x4fc14f=_0x3df5f8(_0xa2f07a,_0x1f9dba,_0x2c1278(_0x2a10ac)),_0x3d6f14=_0x47f89a(_0x2a10ac,_0x2c6b15)?_0x2752e6[_0x17690f(0x260)][_0x17690f(0x16a)]:'',_0x1b8aa0=_0x3d6f14?_0x3b9459(_0x2a10ac,_0x2c6b15):void 0x0,_0x2e1131=_0x359452(_0x2a10ac,_0x2c6b15)?_0x2752e6[_0x17690f(0x260)][_0x17690f(0x16a)]:'',_0x4abce9=_0x3d6f14['length'],_0x578166=_0x4abce9+_0x4fc14f['dataStream'][_0x17690f(0x252)];return{'dataStream':[_0x3d6f14,_0x4fc14f[_0x17690f(0x227)],_0x2e1131][_0x17690f(0x253)](''),'paragraphs':[..._0x29132e(0x0,_0x3d6f14,_0x1f9dba,_0x1b8aa0),..._0x4fc14f[_0x17690f(0x2b5)]['map'](_0xdb8c21=>({..._0xdb8c21,'startIndex':_0xdb8c21[_0x17690f(0x2eb)]+_0x4abce9})),..._0x17dc6d(_0x578166,_0x2e1131,_0x1f9dba)],'sectionBreaks':_0x4fc14f[_0x17690f(0x27c)]['map'](_0x3e1644=>({..._0x3e1644,'startIndex':_0x3e1644[_0x17690f(0x2eb)]+_0x4abce9})),'tables':[{'startIndex':_0x4abce9,'endIndex':_0x578166,'tableId':_0x5e0a3b[_0x17690f(0x135)]}]};}function _0x5dd1af(_0x228656,_0x156839,_0x3723be){const _0x2a0370=_0x5241b3;let _0x48752b=new _0x2752e6[(_0x2a0370(0x148))]();return _0x156839>0x0&&_0x48752b[_0x2a0370(0x24c)](_0x156839),_0x48752b[_0x2a0370(0x301)](_0x228656[_0x2a0370(0x227)][_0x2a0370(0x252)],_0x228656),_0x2752e6[_0x2a0370(0x305)]['getInstance']()[_0x2a0370(0x315)](_0x48752b[_0x2a0370(0x2c9)](),_0x3723be);}function _0x128fa7(){const _0x38d5f8=_0x5241b3;return{'dataStream':_0x2752e6[_0x38d5f8(0x260)][_0x38d5f8(0x348)],'paragraphs':[],'sectionBreaks':[{'sectionId':(0x0,_0x2752e6[_0x38d5f8(0x344)])(new Set()),'startIndex':0x0}],'tables':[]};}function _0x1a2837(_0x26b978){const _0x503b91=_0x5241b3;var _0x159930;let _0x18271d=_0x26b978['dataStream'][_0x503b91(0x252)];return{..._0x26b978,'dataStream':_0x26b978[_0x503b91(0x227)]+_0x2752e6['DataStreamTreeTokenType']['SECTION_BREAK'],'sectionBreaks':[..._0x26b978['sectionBreaks']??[],{'sectionId':(0x0,_0x2752e6['createSectionId'])(new Set((_0x159930=_0x26b978[_0x503b91(0x27c)])==null?void 0x0:_0x159930['map'](_0x1110db=>_0x1110db['sectionId']))),'startIndex':_0x18271d}]};}function _0xccbddc(_0x1d3fd1){const _0x1033ae=_0x5241b3;var _0x516b79;let _0x9b93b=Math[_0x1033ae(0x356)](0x1,_0x1d3fd1[_0x1033ae(0x167)]??((_0x516b79=_0x1d3fd1[_0x1033ae(0x1c6)])==null?void 0x0:_0x516b79[_0x1033ae(0x252)])??0x1),_0x342269=0x0;for(let _0x5b4ef2 of _0x1d3fd1[_0x1033ae(0x1c6)]??[])_0x342269=Math[_0x1033ae(0x356)](_0x342269,_0x5b4ef2[_0x1033ae(0x252)]);let _0x1fc7c1=Math[_0x1033ae(0x356)](0x1,_0x1d3fd1[_0x1033ae(0x1b9)]??(_0x342269||0x1));return Array[_0x1033ae(0x32c)]({'length':_0x9b93b},(_0x22fec6,_0x516b08)=>Array[_0x1033ae(0x32c)]({'length':_0x1fc7c1},(_0x15d609,_0xb3a398)=>{const _0x45349b=_0x1033ae;var _0x3693cd;return((_0x3693cd=_0x1d3fd1[_0x45349b(0x1c6)])==null||(_0x3693cd=_0x3693cd[_0x516b08])==null?void 0x0:_0x3693cd[_0xb3a398])??'';}));}function _0x2e9990(_0x241197,_0x4abe31){const _0x3d8416=_0x5241b3;return typeof _0x4abe31[_0x3d8416(0x25d)]==_0x3d8416(0x1d4)?Math[_0x3d8416(0x356)](0x0,Math['min'](_0x4abe31[_0x3d8416(0x25d)],_0x241197[_0x3d8416(0x227)][_0x3d8416(0x252)])):_0x241197[_0x3d8416(0x227)][_0x3d8416(0x18f)](_0x2752e6['DataStreamTreeTokenType'][_0x3d8416(0x348)])?_0x241197[_0x3d8416(0x227)][_0x3d8416(0x252)]-0x1:_0x241197[_0x3d8416(0x227)][_0x3d8416(0x252)];}function _0x597ee7(_0x301f82,_0x2698bd){const _0x376b9f=_0x5241b3;if(_0x41e3e0(_0x301f82['tables'],_0x2698bd)||_0x3990cc(_0x301f82[_0x376b9f(0x2aa)],_0x2698bd)||_0x9e143c(_0x301f82[_0x376b9f(0x350)],_0x2698bd))throw new _0x13ca2c();}function _0x41e3e0(_0x10a7b0,_0x2d413e){const _0x12880d=_0x5241b3;return!!(_0x10a7b0!=null&&_0x10a7b0[_0x12880d(0x277)](_0x2b2143=>(0x0,_0x2752e6['containsInteriorInsertionOffset'])((0x0,_0x2752e6['getTableRangeInterval'])(_0x2b2143),_0x2d413e)));}function _0x3990cc(_0x286bd5,_0x43c0c4){const _0x1ed2f7=_0x5241b3;return!!(_0x286bd5!=null&&_0x286bd5[_0x1ed2f7(0x277)](_0x325ead=>(0x0,_0x2752e6[_0x1ed2f7(0x273)])((0x0,_0x2752e6['getBlockRangeInterval'])(_0x325ead),_0x43c0c4)));}function _0x9e143c(_0x56132c,_0x94427d){return!!(_0x56132c!=null&&_0x56132c['some'](_0x530b9e=>_0x530b9e['startIndex']===_0x94427d));}function _0x47f89a(_0x19fcde,_0x4983f4){const _0x34b947=_0x5241b3;return _0x4983f4<=0x0||_0x19fcde[_0x34b947(0x227)][_0x4983f4-0x1]!==_0x2752e6[_0x34b947(0x260)][_0x34b947(0x16a)];}function _0x359452(_0x327e10,_0x4afde6){const _0x5831f0=_0x5241b3;return _0x327e10[_0x5831f0(0x227)][_0x4afde6]!==_0x2752e6[_0x5831f0(0x260)]['PARAGRAPH'];}function _0x3b9459(_0x471496,_0x3a5b3a){const _0x29c143=_0x5241b3;var _0x5305c1;return(_0x5305c1=_0x471496['paragraphs'])==null?void 0x0:_0x5305c1[_0x29c143(0x14b)](_0x16a054=>(0x0,_0x2752e6['getParagraphContentStartOffset'])(_0x471496,_0x16a054)<_0x3a5b3a&&_0x3a5b3a<=_0x16a054[_0x29c143(0x2eb)]);}function _0x29132e(_0x39ff2c,_0x72e799,_0x4ea215,_0x34c4bf){const _0x568ca1=_0x5241b3;if(!_0x72e799)return[];let _0x5993c9={'startIndex':_0x39ff2c,'paragraphId':(0x0,_0x2752e6[_0x568ca1(0x204)])(_0x4ea215)};return _0x34c4bf!=null&&_0x34c4bf['bullet']&&(_0x5993c9[_0x568ca1(0x22b)]=_0x2752e6['Tools'][_0x568ca1(0x2b9)](_0x34c4bf[_0x568ca1(0x22b)])),_0x34c4bf!=null&&_0x34c4bf[_0x568ca1(0x33f)]&&(_0x5993c9['paragraphStyle']=_0x2752e6[_0x568ca1(0x1a3)][_0x568ca1(0x2b9)](_0x34c4bf[_0x568ca1(0x33f)]),delete _0x5993c9[_0x568ca1(0x33f)][_0x568ca1(0x26f)],_0x34c4bf['paragraphStyle']['headingId']&&(_0x5993c9[_0x568ca1(0x33f)][_0x568ca1(0x236)]=(0x0,_0x2752e6[_0x568ca1(0x2d7)])(0x6))),[_0x5993c9];}function _0x17dc6d(_0xf0ba56,_0x5474a0,_0x189747){const _0x214b1d=_0x5241b3;return _0x5474a0?[{'startIndex':_0xf0ba56,'paragraphId':(0x0,_0x2752e6[_0x214b1d(0x204)])(_0x189747)}]:[];}function _0x3df5f8(_0x29a6c0,_0x3e0a73,_0x1e004e){const _0x867db7=_0x5241b3;let _0x329ec0=_0x2752e6[_0x867db7(0x260)][_0x867db7(0x2c4)],_0x124714=[],_0x10e7dd=[];return _0x29a6c0[_0x867db7(0x20d)](_0x4e5c9e=>{const _0x409055=_0x867db7;_0x329ec0+=_0x2752e6['DataStreamTreeTokenType'][_0x409055(0x23e)],_0x4e5c9e[_0x409055(0x20d)](_0x3cdab2=>{const _0x373060=_0x409055;_0x329ec0+=''+_0x2752e6[_0x373060(0x260)]['TABLE_CELL_START']+_0x3cdab2+_0x2752e6[_0x373060(0x260)][_0x373060(0x16a)]+_0x2752e6[_0x373060(0x260)][_0x373060(0x348)]+_0x2752e6['DataStreamTreeTokenType'][_0x373060(0x222)],_0x124714['push']({'startIndex':_0x329ec0[_0x373060(0x252)]-0x3,'paragraphId':(0x0,_0x2752e6[_0x373060(0x204)])(_0x3e0a73)}),_0x10e7dd[_0x373060(0x190)]({'sectionId':(0x0,_0x2752e6['createSectionId'])(_0x1e004e),'startIndex':_0x329ec0[_0x373060(0x252)]-0x2});}),_0x329ec0+=_0x2752e6[_0x409055(0x260)][_0x409055(0x14d)];}),_0x329ec0+=_0x2752e6['DataStreamTreeTokenType'][_0x867db7(0x223)],{'dataStream':_0x329ec0,'paragraphs':_0x124714,'sectionBreaks':_0x10e7dd};}function _0x5096a8(_0x58c41d){const _0x51d5aa=_0x5241b3;return new Set((_0x58c41d[_0x51d5aa(0x2b5)]??[])[_0x51d5aa(0x211)](_0x2f7972=>_0x2f7972[_0x51d5aa(0x241)]));}function _0x2c1278(_0x37eb24){const _0x423e47=_0x5241b3;return new Set((_0x37eb24[_0x423e47(0x27c)]??[])[_0x423e47(0x211)](_0x101a18=>_0x101a18[_0x423e47(0x1d7)]));}function _0x1067c3(_0x20635f,_0x5016fe,_0x15bc6b){const _0x3da4db=_0x5241b3;let _0x1cc7c9=_0x4ea724(_0x20635f,_0x15bc6b);return{'tableRows':Array[_0x3da4db(0x32c)]({'length':_0x5016fe},(_0x4b8daa,_0x19b467)=>_0x40ffa8(_0x20635f,_0x19b467,_0x15bc6b)),'tableColumns':_0x1cc7c9[_0x3da4db(0x211)]((_0x56694b,_0x4ce03c)=>({..._0x320c2d(_0x56694b),..._0x20635f[_0x3da4db(0x2c2)]?{'docsTableType':_0x2752e6[_0x3da4db(0x1a3)][_0x3da4db(0x2b9)](_0x20635f[_0x3da4db(0x2c2)][_0x4ce03c]??null)}:{}})),'docsTableMetadataVersion':0x1,'tableId':_0x20635f[_0x3da4db(0x135)],'align':_0x2752e6[_0x3da4db(0x26d)][_0x3da4db(0x209)],'indent':{'v':0x0},'textWrap':_0x2752e6[_0x3da4db(0x231)][_0x3da4db(0x2f2)],'position':{'positionH':{'relativeFrom':_0x2752e6[_0x3da4db(0x2c6)][_0x3da4db(0x2c3)],'posOffset':0x0},'positionV':{'relativeFrom':_0x2752e6[_0x3da4db(0x1df)][_0x3da4db(0x2c3)],'posOffset':0x0}},'dist':{'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0},'size':{'type':_0x2752e6['TableSizeType'][_0x3da4db(0x215)],'width':{'v':_0x20635f[_0x3da4db(0x330)]??_0x1cc7c9[_0x3da4db(0x1b5)]((_0x3d4338,_0x1f0378)=>_0x3d4338+_0x1f0378,0x0)}},..._0x20635f[_0x3da4db(0x1b4)]==null?{}:{'cellMargin':_0x2752e6[_0x3da4db(0x1a3)][_0x3da4db(0x2b9)](_0x20635f[_0x3da4db(0x1b4)])}};}function _0x40ffa8(_0x40923b,_0x2b7ca1,_0x1d1682){const _0x5ead05=_0x5241b3;var _0x42ffa4;return{'tableCells':Array[_0x5ead05(0x32c)]({'length':_0x1d1682},(_0x2ad516,_0x45953f)=>_0xdcfad(_0x40923b,_0x2b7ca1,_0x45953f,_0x1d1682)),'trHeight':{'val':{'v':((_0x42ffa4=_0x40923b['rowHeights'])==null?void 0x0:_0x42ffa4[_0x2b7ca1])??0x1e},'hRule':_0x2752e6[_0x5ead05(0x2ac)]['AT_LEAST']},..._0x40923b[_0x5ead05(0x154)]&&_0x2b7ca1===0x0?{'docsTableTitleRow':!0x0}:{},'repeatHeaderRow':_0x2b7ca1<(_0x40923b['headerRowCount']??0x0)?_0x2752e6[_0x5ead05(0x2a8)][_0x5ead05(0x240)]:_0x2752e6[_0x5ead05(0x2a8)][_0x5ead05(0x21c)]};}function _0xdcfad(_0x311ecd,_0x554c66,_0x2fbd9f,_0x38255f){const _0x4a847c=_0x5241b3;let _0x24656e=_0x311ecd[_0x4a847c(0x154)]&&_0x554c66===0x0;return{..._0x311ecd[_0x4a847c(0x1b4)]==null?{'margin':_0x2752e6['Tools'][_0x4a847c(0x2b9)](_0x1b1bb2)}:{},..._0x24656e&&_0x2fbd9f===0x0?{'columnSpan':_0x38255f}:{},..._0x24656e&&_0x2fbd9f>0x0?{'rowSpan':0x0,'columnSpan':0x0}:{}};}function _0x320c2d(_0x419f1b){const _0x3e6ebe=_0x5241b3;return{'size':{'type':_0x2752e6['TableSizeType'][_0x3e6ebe(0x215)],'width':{'v':_0x419f1b}}};}function _0x4ea724(_0x7bf64a,_0x154b7a){const _0xe0c8f7=_0x5241b3;let _0x2af426=_0x7bf64a[_0xe0c8f7(0x330)]?_0x7bf64a[_0xe0c8f7(0x330)]/_0x154b7a:0x64;return Array[_0xe0c8f7(0x32c)]({'length':_0x154b7a},(_0x5029f6,_0x39bedb)=>{const _0x17e3ff=_0xe0c8f7;var _0x4b4826;return((_0x4b4826=_0x7bf64a[_0x17e3ff(0x1f5)])==null?void 0x0:_0x4b4826[_0x39bedb])??_0x2af426;});}function _0x1d0bf3(_0x547d8e){const _0x36b298=_0x5241b3;if(_0x547d8e[_0x36b298(0x154)]!=null||_0x547d8e['headerRowCount']!=null||_0x547d8e[_0x36b298(0x2c2)]!=null)return{..._0x547d8e[_0x36b298(0x154)]==null?{}:{'titleRow':_0x547d8e['titleRow']},..._0x547d8e['headerRowCount']==null?{}:{'headerRowCount':_0x547d8e[_0x36b298(0x2d4)]},..._0x547d8e[_0x36b298(0x2c2)]==null?{}:{'columnTypes':_0x547d8e[_0x36b298(0x2c2)]}};}let _0x53f89c={'id':'docs-table.command.insert-table','type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':(_0x53094b,_0x45d425)=>{const _0x1c5cd6=_0x5241b3;let _0x236b3d=_0x53094b[_0x1c5cd6(0x2ef)](_0x2752e6[_0x1c5cd6(0x17b)]),_0x8ece1=_0x53094b[_0x1c5cd6(0x2ef)](_0x2752e6['ICommandService']),_0x8fea13=_0x53094b[_0x1c5cd6(0x2ef)](_0x3e0d2c),_0x4881fc=_0x45d425!=null&&_0x45d425[_0x1c5cd6(0x22e)]?_0x236b3d['getUnit'](_0x45d425[_0x1c5cd6(0x22e)],_0x2752e6['UniverInstanceType'][_0x1c5cd6(0x1d8)]):_0x236b3d[_0x1c5cd6(0x29c)](_0x2752e6[_0x1c5cd6(0x33c)][_0x1c5cd6(0x1d8)]);if(!_0x4881fc)return!0x1;let _0x1300ee=_0x4881fc['getSnapshot'](),_0x23a172=(_0x45d425==null?void 0x0:_0x45d425[_0x1c5cd6(0x135)])??(0x0,_0x2752e6[_0x1c5cd6(0x2d7)])(0x6),_0x1cf916=_0x4f8a60(_0x53094b,_0x4881fc[_0x1c5cd6(0x1d0)](),_0x45d425);if(!_0x1cf916)return!0x1;let _0x1414b1;try{let _0x3422f3=_0x301325(_0x4881fc,_0x1cf916[_0x1c5cd6(0x23b)]);if(!_0x3422f3)return!0x1;_0x1414b1=_0x3bcbcd({..._0x45d425,..._0x1cf916,'documentData':_0x3422f3,'metadata':_0x8fea13[_0x1c5cd6(0x2c9)](_0x4881fc[_0x1c5cd6(0x1d0)]()),'tableId':_0x23a172},_0x55a2a1(_0x1300ee,_0x1cf916['segmentId']));}catch(_0x62eff4){if(_0x62eff4 instanceof _0x13ca2c)return!0x1;throw _0x62eff4;}let _0x47b160=_0x301325(_0x4881fc,_0x1cf916['segmentId']);return _0x47b160?_0x118e54(_0x8ece1,_0x4881fc[_0x1c5cd6(0x1d0)](),_0x47b160,_0x1414b1[_0x1c5cd6(0x300)],void 0x0,_0x1414b1[_0x1c5cd6(0x27d)],_0x53f89c['id']):!0x1;}};function _0x4f8a60(_0x460fbb,_0x1f0db4,_0x19b1fc){const _0x423890=_0x5241b3;let {offset:_0xc190df,position:_0x4a1efd,segmentId:_0x599fd9}=_0x19b1fc??{};if(typeof _0xc190df=='number'){let _0xc745b9=_0x15d5d2(_0x460fbb);return{'offset':_0xc190df,'position':_0x423890(0x25d),'segmentId':_0x599fd9??(_0xc745b9==null?void 0x0:_0xc745b9[_0x423890(0x23b)])};}if(_0x4a1efd==='selection'){let _0x1c9ef7=(0x0,_0x43be57[_0x423890(0x279)])(_0x460fbb,_0x1f0db4),_0x40a453=_0x15d5d2(_0x460fbb),_0x473a1e=_0x40a453!=null&&_0x40a453[_0x423890(0x23b)]?_0x40a453:_0x1c9ef7??_0x40a453;if((_0x473a1e==null?void 0x0:_0x473a1e[_0x423890(0x1fe)])!=null)return{'offset':_0x473a1e[_0x423890(0x1fe)],'position':_0x423890(0x25d),'segmentId':_0x599fd9??_0x473a1e[_0x423890(0x23b)]};}if(_0x4a1efd===_0x423890(0x25d)){let _0x1dc731=(0x0,_0x43be57[_0x423890(0x279)])(_0x460fbb,_0x1f0db4),_0x1ec074=_0x15d5d2(_0x460fbb),_0x298535=_0x1dc731??_0x1ec074;if((_0x298535==null?void 0x0:_0x298535['startOffset'])!=null)return{'offset':_0x298535[_0x423890(0x1fe)],'position':_0x423890(0x25d),'segmentId':_0x599fd9??_0x298535[_0x423890(0x23b)]};}return{'position':'documentEnd','segmentId':_0x599fd9};}function _0x15d5d2(_0x3a3508){const _0x322ad1=_0x5241b3;try{var _0x25c484,_0x1bfed0;let _0x4af4f4=(_0x25c484=(_0x1bfed0=_0x3a3508[_0x322ad1(0x2ef)](_0x43be57[_0x322ad1(0x182)]))[_0x322ad1(0x2de)])==null?void 0x0:_0x25c484[_0x322ad1(0x1bb)](_0x1bfed0);return _0x4af4f4?{'startOffset':_0x4af4f4[_0x322ad1(0x1fe)],'segmentId':_0x4af4f4[_0x322ad1(0x23b)]}:null;}catch{return null;}}let _0xfa16c6={'id':_0x5241b3(0x342),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x21b55f,_0x40eb02)=>{const _0x43b144=_0x5241b3;let _0x1d9022=_0x21b55f[_0x43b144(0x2ef)](_0x2752e6['IUniverInstanceService']),_0x3d411e=_0x21b55f[_0x43b144(0x2ef)](_0x2752e6[_0x43b144(0x282)]),_0x12d8f3=_0x21b55f[_0x43b144(0x2ef)](_0xc8625f),_0x274740=_0x1d9022[_0x43b144(0x29c)](_0x2752e6[_0x43b144(0x33c)]['UNIVER_DOC']),_0x2123ae=_0x12d8f3[_0x43b144(0x212)](),_0x305d62=(_0x40eb02==null?void 0x0:_0x40eb02[_0x43b144(0x135)])??(_0x2123ae==null?void 0x0:_0x2123ae[_0x43b144(0x135)]);if(!_0x274740||!_0x305d62)return!0x1;let _0xa4e5a0=_0x274740[_0x43b144(0x2c5)](),_0x155fae=_0x1eeb2b(_0x40eb02,_0x2123ae),_0x90408=_0x301325(_0x274740,_0x155fae);if(!_0x90408)return!0x1;let _0xb35959=_0x324092(_0x90408,_0x305d62,_0x55a2a1(_0xa4e5a0,_0x155fae));return _0xb35959?_0x118e54(_0x3d411e,_0x274740['getUnitId'](),_0x90408,_0xb35959[_0x43b144(0x300)]):!0x1;}},_0x56f2d7={'id':_0x5241b3(0x1de),'type':_0x2752e6['CommandType']['COMMAND'],'handler':async(_0x495278,_0x2d90c7)=>{const _0x1b23e7=_0x5241b3;let _0x519ec0=_0x495278[_0x1b23e7(0x2ef)](_0x2752e6['IUniverInstanceService']),_0x282551=_0x495278[_0x1b23e7(0x2ef)](_0x2752e6[_0x1b23e7(0x282)]),_0x48c444=_0x495278[_0x1b23e7(0x2ef)](_0xc8625f),_0xe71e44=_0x519ec0['getCurrentUnitOfType'](_0x2752e6[_0x1b23e7(0x33c)][_0x1b23e7(0x1d8)]),_0x4f2b13=_0x48c444['getStableTableSelection'](),_0x3ab36f=(_0x2d90c7==null?void 0x0:_0x2d90c7[_0x1b23e7(0x135)])??(_0x4f2b13==null?void 0x0:_0x4f2b13['tableId']),_0x917dfc=_0xe6ca7b(_0x2d90c7,_0x4f2b13);if(!_0xe71e44||!_0x3ab36f||!_0x917dfc)return!0x1;let _0x348a3d=_0x1eeb2b(_0x2d90c7,_0x4f2b13),_0x5b9dd8=_0x301325(_0xe71e44,_0x348a3d);if(!_0x5b9dd8||!_0x4e34a2(_0x5b9dd8,_0x3ab36f,_0x917dfc))return!0x1;let _0x2a0ab0=_0x2f58dc({'documentData':_0x5b9dd8,'tableId':_0x3ab36f,..._0x917dfc});if(!_0x2a0ab0)return!0x1;let _0x5b6112=_0x118e54(_0x282551,_0xe71e44[_0x1b23e7(0x1d0)](),_0x5b9dd8,_0x2a0ab0[_0x1b23e7(0x300)],{'tableId':_0x3ab36f,'segmentId':_0x348a3d,..._0x2a0ab0['range']});return _0x5b6112&&_0x48c444[_0x1b23e7(0x242)]({'kind':_0x1b23e7(0x295),'tableId':_0x3ab36f,'segmentId':_0x348a3d,..._0x2a0ab0[_0x1b23e7(0x22a)]}),_0x5b6112;}},_0x2a5882={'id':_0x5241b3(0x262),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x53fd07,_0x3fd252)=>{const _0x301de5=_0x5241b3;if(!_0x3fd252)return!0x1;let _0x426f70=_0x53fd07[_0x301de5(0x2ef)](_0x2752e6['IUniverInstanceService']),_0x3c5a7f=_0x53fd07['get'](_0x2752e6[_0x301de5(0x282)]),_0x3c4516=_0x53fd07[_0x301de5(0x2ef)](_0xc8625f),_0x188dbc=_0x426f70[_0x301de5(0x29c)](_0x2752e6[_0x301de5(0x33c)][_0x301de5(0x1d8)]),_0x58a316=_0x3c4516['getCurrentSelection'](),_0x4c35af=_0x3fd252[_0x301de5(0x135)]??(_0x58a316==null?void 0x0:_0x58a316[_0x301de5(0x135)]),_0x19e52d=_0x3fd252[_0x301de5(0x29b)]??(_0x58a316==null?void 0x0:_0x58a316[_0x301de5(0x2a1)]);if(!_0x188dbc||_0x4c35af==null||_0x19e52d==null)return!0x1;let _0x3c45a0=_0x188dbc[_0x301de5(0x2c5)](),_0x5a1fdc=_0x1eeb2b(_0x3fd252,_0x58a316),_0xdab212=_0x301325(_0x188dbc,_0x5a1fdc);if(!_0xdab212)return!0x1;let _0x22bfb3=_0x3fd252[_0x301de5(0x320)]??(_0x58a316?Math['max'](0x1,_0x58a316[_0x301de5(0x1bd)]-_0x58a316['startColumn']+0x1):0x1),_0x32fff9=_0x632d2f(_0xdab212,_0x4c35af,_0x19e52d,_0x3fd252[_0x301de5(0x219)],_0x22bfb3,_0x3fd252[_0x301de5(0x27a)],_0x55a2a1(_0x3c45a0,_0x5a1fdc));if(!_0x32fff9)return!0x1;let _0x486bd0=_0x118e54(_0x3c5a7f,_0x188dbc[_0x301de5(0x1d0)](),_0xdab212,_0x32fff9[_0x301de5(0x300)]);return _0x486bd0&&_0x58a316&&_0x3c4516[_0x301de5(0x242)]({..._0x58a316,'tableId':_0x4c35af,'startColumn':_0x32fff9['cursorColumn'],'endColumn':_0x32fff9[_0x301de5(0x18d)]+_0x22bfb3-0x1}),_0x486bd0;}},_0x4e68a3={'id':_0x5241b3(0x15e),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x47bfa6,_0x1c773b)=>{const _0x235e3d=_0x5241b3;if(!_0x1c773b)return!0x1;let _0x3d7b77=_0x47bfa6[_0x235e3d(0x2ef)](_0x2752e6['IUniverInstanceService']),_0x54c21e=_0x47bfa6['get'](_0x2752e6[_0x235e3d(0x282)]),_0x2745e4=_0x47bfa6[_0x235e3d(0x2ef)](_0xc8625f),_0x1807d7=_0x3d7b77[_0x235e3d(0x29c)](_0x2752e6['UniverInstanceType'][_0x235e3d(0x1d8)]),_0x1ef57c=_0x2745e4[_0x235e3d(0x212)](),_0x2456dd=_0x1c773b[_0x235e3d(0x135)]??(_0x1ef57c==null?void 0x0:_0x1ef57c['tableId']),_0x1b1ad0=_0x1c773b['fromRow']??(_0x1ef57c==null?void 0x0:_0x1ef57c['startRow']);if(!_0x1807d7||_0x2456dd==null||_0x1b1ad0==null)return!0x1;let _0x134df4=_0x1807d7[_0x235e3d(0x2c5)](),_0x483d20=_0x1eeb2b(_0x1c773b,_0x1ef57c),_0x2f540e=_0x301325(_0x1807d7,_0x483d20);if(!_0x2f540e)return!0x1;let _0x16f58e=_0x1c773b['count']??(_0x1ef57c?Math[_0x235e3d(0x356)](0x1,_0x1ef57c[_0x235e3d(0x324)]-_0x1ef57c[_0x235e3d(0x172)]+0x1):0x1),_0x2d21c1=_0x3ec91e(_0x2f540e,_0x2456dd,_0x1b1ad0,_0x1c773b[_0x235e3d(0x159)],_0x16f58e,_0x1c773b[_0x235e3d(0x27a)],_0x55a2a1(_0x134df4,_0x483d20));if(!_0x2d21c1)return!0x1;let _0x1eaf52=_0x118e54(_0x54c21e,_0x1807d7[_0x235e3d(0x1d0)](),_0x2f540e,_0x2d21c1[_0x235e3d(0x300)]);return _0x1eaf52&&_0x1ef57c&&_0x2745e4[_0x235e3d(0x242)]({..._0x1ef57c,'tableId':_0x2456dd,'startRow':_0x2d21c1['cursorRow'],'endRow':_0x2d21c1[_0x235e3d(0x164)]+_0x16f58e-0x1}),_0x1eaf52;}},_0x2718c0={'id':'docs-table.command.move-table','type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x2d7d31,_0x327188)=>{const _0x124ebc=_0x5241b3;if(!_0x327188)return!0x1;let _0xbe092a=_0x2d7d31[_0x124ebc(0x2ef)](_0x2752e6['IUniverInstanceService']),_0x3f9262=_0x2d7d31[_0x124ebc(0x2ef)](_0x2752e6[_0x124ebc(0x282)]),_0x44c5db=_0x2d7d31[_0x124ebc(0x2ef)](_0xc8625f),_0x7dc551=_0xbe092a['getCurrentUnitOfType'](_0x2752e6[_0x124ebc(0x33c)][_0x124ebc(0x1d8)]),_0x4ef003=_0x44c5db[_0x124ebc(0x212)](),_0x494ce0=_0x327188['tableId']??(_0x4ef003==null?void 0x0:_0x4ef003[_0x124ebc(0x135)]);if(!_0x7dc551||!_0x494ce0)return!0x1;let _0x18cb45=_0x7dc551[_0x124ebc(0x2c5)](),_0x2b132d=_0x1eeb2b(_0x327188,_0x4ef003),_0x155883=_0x301325(_0x7dc551,_0x2b132d);if(!_0x155883)return!0x1;if(_0x327188[_0x124ebc(0x2e8)]==null){let _0x5985bb=_0x3ea22b(_0x155883,_0x494ce0,_0x327188['deltaX']??0x0,_0x327188['deltaY']??0x0);return _0x118e54(_0x3f9262,_0x7dc551[_0x124ebc(0x1d0)](),_0x155883,_0x5985bb);}let _0x39cae7=_0x7f8ae6(_0x155883,_0x494ce0,_0x327188['targetOffset'],_0x55a2a1(_0x18cb45,_0x2b132d));return _0x118e54(_0x3f9262,_0x7dc551[_0x124ebc(0x1d0)](),_0x155883,_0x39cae7);}},_0x1f3e48={'id':'docs-table.command.resize-column','type':_0x2752e6[_0x5241b3(0x333)]['COMMAND'],'handler':async(_0x28bac7,_0x1601b6)=>{const _0x324021=_0x5241b3;var _0x58cf8c;if(!_0x1601b6)return!0x1;let _0x146c14=_0x28bac7[_0x324021(0x2ef)](_0x2752e6[_0x324021(0x17b)]),_0x21cc8d=_0x28bac7['get'](_0x2752e6[_0x324021(0x282)]),_0x45f5b1=_0x28bac7[_0x324021(0x2ef)](_0xc8625f),_0x292b7e=_0x146c14[_0x324021(0x29c)](_0x2752e6[_0x324021(0x33c)][_0x324021(0x1d8)]),_0x1e413a=_0x45f5b1[_0x324021(0x212)](),_0x59d2ea=_0x1601b6['tableId']??(_0x1e413a==null?void 0x0:_0x1e413a[_0x324021(0x135)]),_0x2f3ea1=_0x1601b6['column']??(_0x1e413a==null?void 0x0:_0x1e413a[_0x324021(0x2a1)]);if(!_0x292b7e||_0x59d2ea==null||_0x2f3ea1==null)return!0x1;let _0x28b24a=_0x301325(_0x292b7e,_0x1eeb2b(_0x1601b6,_0x1e413a));return!_0x28b24a||!((_0x58cf8c=_0x28b24a[_0x324021(0x16e)])!=null&&(_0x58cf8c=_0x58cf8c[_0x59d2ea])!=null&&_0x58cf8c[_0x324021(0x25c)][_0x2f3ea1])?!0x1:_0x118e54(_0x21cc8d,_0x292b7e[_0x324021(0x1d0)](),_0x28b24a,_0x742621(_0x28b24a,_0x59d2ea,_0x2f3ea1,_0x1601b6[_0x324021(0x330)],_0x1601b6[_0x324021(0x1f5)]));}},_0x2b3a5e={'id':_0x5241b3(0x1d9),'type':_0x2752e6['CommandType'][_0x5241b3(0x1e1)],'handler':async(_0x21dc38,_0x21d2f1)=>{const _0x1b3546=_0x5241b3;var _0x353f1a;if(!_0x21d2f1)return!0x1;let _0x8ce19d=_0x21dc38['get'](_0x2752e6['IUniverInstanceService']),_0x208b6c=_0x21dc38[_0x1b3546(0x2ef)](_0x2752e6[_0x1b3546(0x282)]),_0x45dca2=_0x21dc38[_0x1b3546(0x2ef)](_0xc8625f),_0x4f7c89=_0x8ce19d[_0x1b3546(0x29c)](_0x2752e6[_0x1b3546(0x33c)][_0x1b3546(0x1d8)]),_0x1a8ddf=_0x45dca2[_0x1b3546(0x212)](),_0x384077=_0x21d2f1[_0x1b3546(0x135)]??(_0x1a8ddf==null?void 0x0:_0x1a8ddf[_0x1b3546(0x135)]),_0x524f4e=_0x21d2f1[_0x1b3546(0x23c)]??(_0x1a8ddf==null?void 0x0:_0x1a8ddf[_0x1b3546(0x172)]);if(!_0x4f7c89||_0x384077==null||_0x524f4e==null)return!0x1;let _0x1f1caf=_0x301325(_0x4f7c89,_0x1eeb2b(_0x21d2f1,_0x1a8ddf));return!_0x1f1caf||!((_0x353f1a=_0x1f1caf[_0x1b3546(0x16e)])!=null&&(_0x353f1a=_0x353f1a[_0x384077])!=null&&_0x353f1a['tableRows'][_0x524f4e])?!0x1:_0x118e54(_0x208b6c,_0x4f7c89['getUnitId'](),_0x1f1caf,_0x133d60(_0x1f1caf,_0x384077,_0x524f4e,_0x21d2f1[_0x1b3546(0x246)],_0x21d2f1[_0x1b3546(0x21b)]));}},_0x57c12d={'id':_0x5241b3(0x31f),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':(_0x270e47,_0x3d1342)=>{const _0x561e8a=_0x5241b3;var _0x3ed72f;if(!(_0x3d1342!=null&&_0x3d1342[_0x561e8a(0x2bb)])||!Object['values'](_0x53ec71)[_0x561e8a(0x2cc)](_0x3d1342[_0x561e8a(0x2bb)][_0x561e8a(0x20c)]))return!0x1;let _0x5b30d2=_0x270e47[_0x561e8a(0x2ef)](_0x2752e6['IUniverInstanceService']),_0x125864=_0x3d1342['unitId']?_0x5b30d2[_0x561e8a(0x2dc)](_0x3d1342[_0x561e8a(0x22e)],_0x2752e6['UniverInstanceType'][_0x561e8a(0x1d8)]):_0x5b30d2[_0x561e8a(0x29c)](_0x2752e6[_0x561e8a(0x33c)][_0x561e8a(0x1d8)]),_0x34df4e=_0x270e47[_0x561e8a(0x2ef)](_0xc8625f)[_0x561e8a(0x212)](),_0x4cf4df=_0x3d1342[_0x561e8a(0x135)]??(_0x34df4e==null?void 0x0:_0x34df4e[_0x561e8a(0x135)]),_0x1a7047=_0x3d1342[_0x561e8a(0x2ff)]??(_0x34df4e==null?void 0x0:_0x34df4e[_0x561e8a(0x2a1)]),_0x11a205=_0x4cf4df&&(_0x125864==null||(_0x3ed72f=_0x125864['getSnapshot']()[_0x561e8a(0x16e)])==null?void 0x0:_0x3ed72f[_0x4cf4df]);if(!_0x125864||_0x125864['getDisabled']()||!_0x11a205||_0x1a7047==null||!Number[_0x561e8a(0x2b6)](_0x1a7047)||!_0x11a205['tableColumns'][_0x1a7047])return!0x1;let _0x52bd1b=_0x3bd905(_0x11a205,_0x1a7047,_0x3d1342['config'],_0x270e47['get'](_0x3e0d2c)[_0x561e8a(0x195)](_0x125864[_0x561e8a(0x1d0)](),_0x11a205[_0x561e8a(0x135)]));return _0x118e54(_0x270e47[_0x561e8a(0x2ef)](_0x2752e6[_0x561e8a(0x282)]),_0x125864['getUnitId'](),_0x125864['getSnapshot'](),_0x52bd1b);}},_0x59b8f1={'id':'docs-table.command.set-header-row-count','type':_0x2752e6['CommandType']['COMMAND'],'handler':async(_0x4bb5f1,_0x5026a9)=>{const _0x2cc287=_0x5241b3;let _0x1c0a9f=_0x4bb5f1[_0x2cc287(0x2ef)](_0x2752e6[_0x2cc287(0x17b)]),_0x1b5ff7=_0x4bb5f1[_0x2cc287(0x2ef)](_0x2752e6[_0x2cc287(0x282)]),_0x3bf318=_0x4bb5f1['get'](_0xc8625f),_0x46a1dd=_0x1c0a9f[_0x2cc287(0x29c)](_0x2752e6[_0x2cc287(0x33c)][_0x2cc287(0x1d8)]),_0x188826=_0x3bf318[_0x2cc287(0x212)]();if(!_0x46a1dd)return!0x1;let _0x37dc3f=(_0x5026a9==null?void 0x0:_0x5026a9[_0x2cc287(0x135)])??(_0x188826==null?void 0x0:_0x188826[_0x2cc287(0x135)]),_0x3a4c80=(_0x5026a9==null?void 0x0:_0x5026a9[_0x2cc287(0x23c)])??(_0x188826==null?void 0x0:_0x188826[_0x2cc287(0x324)]);if(_0x37dc3f==null||(_0x5026a9==null?void 0x0:_0x5026a9[_0x2cc287(0x2d4)])==null&&_0x3a4c80==null)return!0x1;let _0x109f69=(_0x5026a9==null?void 0x0:_0x5026a9[_0x2cc287(0x2d4)])??_0x3a4c80+0x1,_0x3c1d53=_0x301325(_0x46a1dd,_0x1eeb2b(_0x5026a9,_0x188826));if(!_0x3c1d53)return!0x1;let _0x4bd718=_0x342098(_0x3c1d53,_0x37dc3f,_0x109f69);return _0x4bd718?_0x118e54(_0x1b5ff7,_0x46a1dd[_0x2cc287(0x1d0)](),_0x3c1d53,_0x4bd718[_0x2cc287(0x300)]):!0x1;}},_0x778a09={'id':'docs-table.command.set-table-align','type':_0x2752e6[_0x5241b3(0x333)]['COMMAND'],'handler':(_0x51ab6a,_0x460cb8)=>{const _0x14dff1=_0x5241b3;var _0x221873,_0x30b14f;if(!(_0x460cb8!=null&&_0x460cb8[_0x14dff1(0x22e)])||!_0x460cb8[_0x14dff1(0x135)]||![_0x2752e6[_0x14dff1(0x26d)]['START'],_0x2752e6[_0x14dff1(0x26d)]['CENTER'],_0x2752e6['TableAlignmentType'][_0x14dff1(0x2b0)]][_0x14dff1(0x2cc)](_0x460cb8[_0x14dff1(0x1d1)]))return!0x1;let _0x33a9ac=_0x51ab6a[_0x14dff1(0x2ef)](_0x2752e6[_0x14dff1(0x17b)])['getUnit'](_0x460cb8[_0x14dff1(0x22e)],_0x2752e6['UniverInstanceType']['UNIVER_DOC']),_0x2ec023=_0x33a9ac==null?void 0x0:_0x33a9ac[_0x14dff1(0x2c5)](),_0x96a01=_0x2ec023==null||(_0x221873=_0x2ec023[_0x14dff1(0x16e)])==null?void 0x0:_0x221873[_0x460cb8[_0x14dff1(0x135)]];if(!_0x33a9ac||_0x33a9ac[_0x14dff1(0x22c)]()||(_0x2ec023==null||(_0x30b14f=_0x2ec023[_0x14dff1(0x207)])==null?void 0x0:_0x30b14f['documentFlavor'])!==_0x2752e6[_0x14dff1(0x1be)][_0x14dff1(0x1da)]||!_0x96a01)return!0x1;if(_0x96a01[_0x14dff1(0x2e7)]===_0x460cb8[_0x14dff1(0x1d1)])return!0x0;let _0x4f20eb=_0x2752e6[_0x14dff1(0x305)][_0x14dff1(0x24d)](),_0x56d4b4=[_0x14dff1(0x16e),_0x96a01[_0x14dff1(0x135)],_0x14dff1(0x2e7)],_0x444c78=_0x96a01[_0x14dff1(0x2e7)]===void 0x0?_0x4f20eb[_0x14dff1(0x2ea)](_0x56d4b4,_0x460cb8['value']):_0x4f20eb['replaceOp'](_0x56d4b4,_0x96a01[_0x14dff1(0x2e7)],_0x460cb8[_0x14dff1(0x1d1)]);return _0x118e54(_0x51ab6a['get'](_0x2752e6['ICommandService']),_0x33a9ac[_0x14dff1(0x1d0)](),_0x2ec023,_0x444c78);}},_0x408f4b={'id':_0x5241b3(0x2d5),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x1c4e9f,_0x27d4f9)=>{const _0xec1a1f=_0x5241b3;let _0x1cf725=(_0x27d4f9==null?void 0x0:_0x27d4f9[_0xec1a1f(0x294)])??(_0x27d4f9==null?void 0x0:_0x27d4f9[_0xec1a1f(0x1d1)]);if(_0x1cf725===void 0x0)return!0x1;let _0x593f91=_0x1c4e9f[_0xec1a1f(0x2ef)](_0x2752e6[_0xec1a1f(0x17b)]),_0x3e1e86=_0x1c4e9f[_0xec1a1f(0x2ef)](_0x2752e6['ICommandService']),_0x55186e=_0x1c4e9f['get'](_0xc8625f),_0x334c39=_0x593f91[_0xec1a1f(0x29c)](_0x2752e6[_0xec1a1f(0x33c)][_0xec1a1f(0x1d8)]),_0x4daa92=_0x472bb4(_0x55186e),_0x3992e1=(_0x27d4f9==null?void 0x0:_0x27d4f9['tableId'])??(_0x4daa92==null?void 0x0:_0x4daa92[_0xec1a1f(0x135)]),_0x171be9=_0xe6ca7b(_0x27d4f9,_0x4daa92);if(!_0x334c39||!_0x3992e1||!_0x171be9)return!0x1;let _0x86bb27=_0x1eeb2b(_0x27d4f9,_0x4daa92),_0x24f8e4=_0x301325(_0x334c39,_0x86bb27);if(!_0x24f8e4||!_0x4402ca(_0x24f8e4,_0x3992e1,_0x171be9))return!0x1;let _0x4c9ec0=_0x55b3c8(_0x24f8e4,{'tableId':_0x3992e1,..._0x171be9,'value':_0x1cf725}),_0xca2312=_0x118e54(_0x3e1e86,_0x334c39[_0xec1a1f(0x1d0)](),_0x24f8e4,_0x4c9ec0,{'tableId':_0x3992e1,'segmentId':_0x86bb27,..._0x171be9});return _0xca2312&&_0x55186e[_0xec1a1f(0x242)]({'kind':(_0x4daa92==null?void 0x0:_0x4daa92[_0xec1a1f(0x17e)])??_0xec1a1f(0x22a),'tableId':_0x3992e1,'segmentId':_0x86bb27,..._0x171be9}),_0xca2312;}};function _0x472bb4(_0xda77c7){const _0x4c5a82=_0x5241b3;var _0xdbfd01;return((_0xdbfd01=_0xda77c7['getStableTableSelection'])==null?void 0x0:_0xdbfd01[_0x4c5a82(0x1bb)](_0xda77c7))??_0xda77c7[_0x4c5a82(0x212)]();}function _0x55b3c8(_0x3c9c89,_0x495c4a){const _0x2fc932=_0x5241b3;var _0x2f334a;let _0x554bde=(_0x2f334a=_0x3c9c89[_0x2fc932(0x16e)])==null?void 0x0:_0x2f334a[_0x495c4a[_0x2fc932(0x135)]],_0x54f003=_0xe6ca7b(_0x495c4a);if(!_0x554bde||!_0x54f003)return null;let _0x2bd991=_0x2752e6['JSONX'][_0x2fc932(0x24d)](),_0x71e9ed=[],_0x403c8e=_0x379092(_0x54f003);for(let _0x27de78=_0x403c8e[_0x2fc932(0x172)];_0x27de78<=_0x403c8e[_0x2fc932(0x324)];_0x27de78++)for(let _0x14b559=_0x403c8e['startColumn'];_0x14b559<=_0x403c8e['endColumn'];_0x14b559++){var _0x3e87c8;let _0x3837e1=(_0x3e87c8=_0x554bde[_0x2fc932(0x163)][_0x27de78])==null?void 0x0:_0x3e87c8['tableCells'][_0x14b559];if(!_0x3837e1)return null;let _0x5e418c=[_0x2fc932(0x16e),_0x495c4a[_0x2fc932(0x135)],_0x2fc932(0x163),_0x27de78,_0x2fc932(0x1a6),_0x14b559,_0x2fc932(0x26e)],_0xd1eb69=_0x495c4a[_0x2fc932(0x1d1)]==null?void 0x0:{'rgb':_0x495c4a[_0x2fc932(0x1d1)]};JSON['stringify'](_0x3837e1['backgroundColor'])!==JSON[_0x2fc932(0x298)](_0xd1eb69)&&(_0x3837e1[_0x2fc932(0x26e)]===void 0x0&&_0xd1eb69!==void 0x0?_0x71e9ed[_0x2fc932(0x190)](_0x2bd991[_0x2fc932(0x2ea)]([..._0x5e418c],_0xd1eb69)):_0xd1eb69===void 0x0?_0x71e9ed['push'](_0x2bd991[_0x2fc932(0x2b3)]([..._0x5e418c],_0x3837e1[_0x2fc932(0x26e)])):_0x71e9ed[_0x2fc932(0x190)](_0x2bd991['replaceOp']([..._0x5e418c],_0x3837e1[_0x2fc932(0x26e)],_0xd1eb69)));}return _0x71e9ed[_0x2fc932(0x1b5)]((_0x4366e6,_0xc107d6)=>_0x2752e6[_0x2fc932(0x305)][_0x2fc932(0x34a)](_0x4366e6,_0xc107d6),null);}function _0x4402ca(_0x1f6950,_0x4b7fa8,_0x465a77){const _0x1ff7cd=_0x5241b3;var _0x21c153;let _0x584378=(_0x21c153=_0x1f6950[_0x1ff7cd(0x16e)])==null?void 0x0:_0x21c153[_0x4b7fa8];if(!_0x584378)return!0x1;let _0x2391d3=_0x379092(_0x465a77);for(let _0x1d747f=_0x2391d3['startRow'];_0x1d747f<=_0x2391d3['endRow'];_0x1d747f++)for(let _0xb2c6a6=_0x2391d3['startColumn'];_0xb2c6a6<=_0x2391d3['endColumn'];_0xb2c6a6++){var _0x12b61a;if(!((_0x12b61a=_0x584378['tableRows'][_0x1d747f])!=null&&_0x12b61a['tableCells'][_0xb2c6a6]))return!0x1;}return!0x0;}function _0x379092(_0x2df0c4){const _0x3fa5db=_0x5241b3;return{'startRow':Math['min'](_0x2df0c4['startRow'],_0x2df0c4[_0x3fa5db(0x324)]),'endRow':Math[_0x3fa5db(0x356)](_0x2df0c4[_0x3fa5db(0x172)],_0x2df0c4[_0x3fa5db(0x324)]),'startColumn':Math[_0x3fa5db(0x355)](_0x2df0c4['startColumn'],_0x2df0c4[_0x3fa5db(0x1bd)]),'endColumn':Math[_0x3fa5db(0x356)](_0x2df0c4[_0x3fa5db(0x2a1)],_0x2df0c4[_0x3fa5db(0x1bd)])};}let _0x5490d6=function(_0x80589b){const _0x2d5eb9=_0x5241b3;return _0x80589b[_0x2d5eb9(0x185)]=_0x2d5eb9(0x180),_0x80589b[_0x2d5eb9(0x1f8)]=_0x2d5eb9(0x278),_0x80589b[_0x2d5eb9(0x2ec)]='outer',_0x80589b[_0x2d5eb9(0x289)]=_0x2d5eb9(0x269),_0x80589b[_0x2d5eb9(0x153)]=_0x2d5eb9(0x335),_0x80589b[_0x2d5eb9(0x15a)]=_0x2d5eb9(0x28f),_0x80589b[_0x2d5eb9(0x256)]=_0x2d5eb9(0x29d),_0x80589b['None']=_0x2d5eb9(0x1ff),_0x80589b[_0x2d5eb9(0x34c)]='innerHorizontal',_0x80589b['InnerVertical']=_0x2d5eb9(0x271),_0x80589b;}({}),_0x34f5a4={'color':{'rgb':_0x5241b3(0x174)},'width':{'v':0x1}},_0x3ebe98={'color':{'rgb':'transparent'},'width':{'v':0x0}};function _0x35d739(_0x2250f2){const _0x28d366=_0x5241b3;var _0x21f4d2;let _0x263d24=_0x5ffbbb(_0x2250f2[_0x28d366(0x2a3)],{'cloneBody':!0x1,'tableIds':[_0x2250f2[_0x28d366(0x135)]]}),_0xfd91cc=(_0x21f4d2=_0x263d24[_0x28d366(0x16e)])==null?void 0x0:_0x21f4d2[_0x2250f2[_0x28d366(0x135)]];if(!_0xfd91cc)throw Error(_0x28d366(0x19f)+_0x2250f2[_0x28d366(0x135)]+_0x28d366(0x2ca));let _0x387b44=_0x4459c8(_0x2250f2),_0x1dc1c5=_0x2250f2['border']??_0x34f5a4;for(let _0x55cb9c=_0x387b44['startRow'];_0x55cb9c<=_0x387b44[_0x28d366(0x324)];_0x55cb9c++)for(let _0x19b0fc=_0x387b44[_0x28d366(0x2a1)];_0x19b0fc<=_0x387b44[_0x28d366(0x1bd)];_0x19b0fc++){var _0x488728;let _0x3d44c5=(_0x488728=_0xfd91cc[_0x28d366(0x163)][_0x55cb9c])==null?void 0x0:_0x488728[_0x28d366(0x1a6)][_0x19b0fc];if(!_0x3d44c5)throw Error(_0x28d366(0x1c0));_0x3d44c5[_0x28d366(0x17d)]=_0x1b4bec(_0x2250f2[_0x28d366(0x2f0)],_0x55cb9c,_0x387b44)?_0x1dc1c5:_0x3ebe98,_0x3d44c5['borderBottom']=_0x1c372c(_0x2250f2[_0x28d366(0x2f0)],_0x55cb9c,_0x387b44)?_0x1dc1c5:_0x3ebe98,_0x3d44c5[_0x28d366(0x2a6)]=_0x3cf139(_0x2250f2[_0x28d366(0x2f0)],_0x19b0fc,_0x387b44)?_0x1dc1c5:_0x3ebe98,_0x3d44c5[_0x28d366(0x168)]=_0xa26db5(_0x2250f2[_0x28d366(0x2f0)],_0x19b0fc,_0x387b44)?_0x1dc1c5:_0x3ebe98;}return _0xa86313(_0xfd91cc,_0x387b44,{'top':_0x1b4bec(_0x2250f2[_0x28d366(0x2f0)],_0x387b44[_0x28d366(0x172)],_0x387b44)?_0x1dc1c5:_0x3ebe98,'left':_0x3cf139(_0x2250f2['preset'],_0x387b44[_0x28d366(0x2a1)],_0x387b44)?_0x1dc1c5:_0x3ebe98}),{'nextDocumentData':_0x263d24};}function _0x115c77(_0x22d850){const _0x39260d=_0x5241b3;var _0x23800;let _0x6ebf5e=(_0x23800=_0x22d850[_0x39260d(0x2a3)][_0x39260d(0x16e)])==null?void 0x0:_0x23800[_0x22d850[_0x39260d(0x135)]];if(!_0x6ebf5e)throw Error(_0x39260d(0x19f)+_0x22d850[_0x39260d(0x135)]+_0x39260d(0x2ca));let _0x4af91a=_0x4459c8(_0x22d850),_0x4040ab=_0x22d850[_0x39260d(0x162)]??_0x34f5a4,_0x4730d4=[];for(let _0x3bb0b0=_0x4af91a[_0x39260d(0x172)];_0x3bb0b0<=_0x4af91a[_0x39260d(0x324)];_0x3bb0b0++)for(let _0x371f59=_0x4af91a[_0x39260d(0x2a1)];_0x371f59<=_0x4af91a[_0x39260d(0x1bd)];_0x371f59++){var _0x1c954f;let _0xdcf91f=(_0x1c954f=_0x6ebf5e[_0x39260d(0x163)][_0x3bb0b0])==null?void 0x0:_0x1c954f[_0x39260d(0x1a6)][_0x371f59];if(!_0xdcf91f)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x4765d2(_0x4730d4,_0x46d4b1(_0x22d850[_0x39260d(0x135)],_0x3bb0b0,_0x371f59,_0x39260d(0x17d)),_0xdcf91f[_0x39260d(0x17d)],_0x1b4bec(_0x22d850[_0x39260d(0x2f0)],_0x3bb0b0,_0x4af91a)?_0x4040ab:_0x3ebe98),_0x4765d2(_0x4730d4,_0x46d4b1(_0x22d850['tableId'],_0x3bb0b0,_0x371f59,_0x39260d(0x26f)),_0xdcf91f['borderBottom'],_0x1c372c(_0x22d850[_0x39260d(0x2f0)],_0x3bb0b0,_0x4af91a)?_0x4040ab:_0x3ebe98),_0x4765d2(_0x4730d4,_0x46d4b1(_0x22d850[_0x39260d(0x135)],_0x3bb0b0,_0x371f59,_0x39260d(0x2a6)),_0xdcf91f[_0x39260d(0x2a6)],_0x3cf139(_0x22d850[_0x39260d(0x2f0)],_0x371f59,_0x4af91a)?_0x4040ab:_0x3ebe98),_0x4765d2(_0x4730d4,_0x46d4b1(_0x22d850[_0x39260d(0x135)],_0x3bb0b0,_0x371f59,_0x39260d(0x168)),_0xdcf91f[_0x39260d(0x168)],_0xa26db5(_0x22d850[_0x39260d(0x2f0)],_0x371f59,_0x4af91a)?_0x4040ab:_0x3ebe98);}return _0x53815c(_0x4730d4,_0x6ebf5e,_0x22d850['tableId'],_0x4af91a,{'top':_0x1b4bec(_0x22d850['preset'],_0x4af91a[_0x39260d(0x172)],_0x4af91a)?_0x4040ab:_0x3ebe98,'left':_0x3cf139(_0x22d850[_0x39260d(0x2f0)],_0x4af91a['startColumn'],_0x4af91a)?_0x4040ab:_0x3ebe98}),_0x161b92(_0x4730d4);}function _0x367959(_0x23da3d){const _0x1251f4=_0x5241b3;var _0xedff08;let _0x4383b4=_0x5ffbbb(_0x23da3d['documentData'],{'cloneBody':!0x1,'tableIds':[_0x23da3d[_0x1251f4(0x135)]]}),_0x4e2262=(_0xedff08=_0x4383b4[_0x1251f4(0x16e)])==null?void 0x0:_0xedff08[_0x23da3d['tableId']];if(!_0x4e2262)throw Error('[DocsTable]:\x20Table\x20'+_0x23da3d[_0x1251f4(0x135)]+_0x1251f4(0x2ca));return _0x5f3369(_0x23da3d,(_0x3ee08b,_0x3be3b5)=>{const _0x153805=_0x1251f4;var _0x21802c;let _0x57cac0=(_0x21802c=_0x4e2262[_0x153805(0x163)][_0x3ee08b])==null?void 0x0:_0x21802c[_0x153805(0x1a6)][_0x3be3b5];if(!_0x57cac0)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x23da3d[_0x153805(0x294)]==null?delete _0x57cac0[_0x153805(0x26e)]:_0x57cac0[_0x153805(0x26e)]={'rgb':_0x23da3d[_0x153805(0x294)]};}),{'nextDocumentData':_0x4383b4};}function _0xdc8e8e(_0x34869c){const _0x410c46=_0x5241b3;var _0x3bdd62;let _0xd7dfed=(_0x3bdd62=_0x34869c[_0x410c46(0x2a3)][_0x410c46(0x16e)])==null?void 0x0:_0x3bdd62[_0x34869c[_0x410c46(0x135)]];if(!_0xd7dfed)throw Error('[DocsTable]:\x20Table\x20'+_0x34869c[_0x410c46(0x135)]+_0x410c46(0x2ca));let _0x39bb2c=[];return _0x5f3369(_0x34869c,(_0x3baab8,_0x1a423b)=>{const _0x45c947=_0x410c46;var _0x395e6c;let _0x284edb=(_0x395e6c=_0xd7dfed[_0x45c947(0x163)][_0x3baab8])==null?void 0x0:_0x395e6c[_0x45c947(0x1a6)][_0x1a423b];if(!_0x284edb)throw Error(_0x45c947(0x1c0));_0x4765d2(_0x39bb2c,_0x46d4b1(_0x34869c[_0x45c947(0x135)],_0x3baab8,_0x1a423b,_0x45c947(0x17d)),_0x284edb[_0x45c947(0x17d)],_0x263aff(_0x284edb[_0x45c947(0x17d)],_0x34869c['border'])),_0x4765d2(_0x39bb2c,_0x46d4b1(_0x34869c[_0x45c947(0x135)],_0x3baab8,_0x1a423b,_0x45c947(0x26f)),_0x284edb[_0x45c947(0x26f)],_0x263aff(_0x284edb['borderBottom'],_0x34869c[_0x45c947(0x162)])),_0x4765d2(_0x39bb2c,_0x46d4b1(_0x34869c[_0x45c947(0x135)],_0x3baab8,_0x1a423b,_0x45c947(0x2a6)),_0x284edb['borderLeft'],_0x263aff(_0x284edb[_0x45c947(0x2a6)],_0x34869c[_0x45c947(0x162)])),_0x4765d2(_0x39bb2c,_0x46d4b1(_0x34869c[_0x45c947(0x135)],_0x3baab8,_0x1a423b,_0x45c947(0x168)),_0x284edb[_0x45c947(0x168)],_0x263aff(_0x284edb[_0x45c947(0x168)],_0x34869c['border']));}),_0x53815c(_0x39bb2c,_0xd7dfed,_0x34869c[_0x410c46(0x135)],_0x4459c8(_0x34869c),{'top':_0x34869c['border'],'left':_0x34869c['border'],'merge':!0x0}),_0x161b92(_0x39bb2c);}function _0x53815c(_0x24a2cc,_0x58a4b5,_0x178dc4,_0x34d81f,_0xae79d1){const _0x559722=_0x5241b3;if(_0x34d81f[_0x559722(0x172)]>0x0){let _0x2b8335=_0x58a4b5[_0x559722(0x163)][_0x34d81f[_0x559722(0x172)]-0x1];for(let _0x223415=_0x34d81f[_0x559722(0x2a1)];_0x223415<=_0x34d81f['endColumn'];_0x223415++){let _0x42358a=_0x2b8335==null?void 0x0:_0x2b8335['tableCells'][_0x223415];if(!_0x42358a)throw Error(_0x559722(0x1c0));_0x4765d2(_0x24a2cc,_0x46d4b1(_0x178dc4,_0x34d81f[_0x559722(0x172)]-0x1,_0x223415,'borderBottom'),_0x42358a[_0x559722(0x26f)],_0xae79d1[_0x559722(0x276)]?_0x263aff(_0x42358a['borderBottom'],_0xae79d1['top']):_0xae79d1[_0x559722(0x269)]);}}if(_0x34d81f[_0x559722(0x2a1)]>0x0)for(let _0x4e763b=_0x34d81f[_0x559722(0x172)];_0x4e763b<=_0x34d81f[_0x559722(0x324)];_0x4e763b++){var _0x125404;let _0x744177=(_0x125404=_0x58a4b5['tableRows'][_0x4e763b])==null?void 0x0:_0x125404[_0x559722(0x1a6)][_0x34d81f[_0x559722(0x2a1)]-0x1];if(!_0x744177)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x4765d2(_0x24a2cc,_0x46d4b1(_0x178dc4,_0x4e763b,_0x34d81f['startColumn']-0x1,'borderRight'),_0x744177[_0x559722(0x168)],_0xae79d1[_0x559722(0x276)]?_0x263aff(_0x744177[_0x559722(0x168)],_0xae79d1[_0x559722(0x28f)]):_0xae79d1[_0x559722(0x28f)]);}}function _0x46d4b1(_0x2c97d4,_0x4d32c3,_0x21b146,_0x1ca3a9){const _0x3493ab=_0x5241b3;return[_0x3493ab(0x16e),_0x2c97d4,'tableRows',_0x4d32c3,_0x3493ab(0x1a6),_0x21b146,_0x1ca3a9];}function _0x4765d2(_0x5bbac2,_0x4ac63a,_0x355f0e,_0x5e9669){const _0x705aca=_0x5241b3;if(JSON['stringify'](_0x355f0e)===JSON['stringify'](_0x5e9669))return;let _0x226d88=_0x2752e6[_0x705aca(0x305)][_0x705aca(0x24d)]();_0x355f0e===void 0x0?_0x5bbac2[_0x705aca(0x190)](_0x226d88['insertOp'](_0x4ac63a,_0x59164f(_0x5e9669))):_0x5e9669===void 0x0?_0x5bbac2[_0x705aca(0x190)](_0x226d88[_0x705aca(0x2b3)](_0x4ac63a,_0x355f0e)):_0x5bbac2['push'](_0x226d88[_0x705aca(0x1e7)](_0x4ac63a,_0x355f0e,_0x59164f(_0x5e9669)));}function _0x161b92(_0x3f7c24){const _0x401693=_0x5241b3;return _0x3f7c24[_0x401693(0x1b5)]((_0x2b4b60,_0x30f2fd)=>_0x2752e6['JSONX'][_0x401693(0x34a)](_0x2b4b60,_0x30f2fd),null);}function _0x59164f(_0x50db19){const _0xeda4bf=_0x5241b3;return Array[_0xeda4bf(0x2af)](_0x50db19)?_0x50db19['map'](_0x31045a=>_0x59164f(_0x31045a)):!_0x50db19||typeof _0x50db19!=_0xeda4bf(0x181)?_0x50db19:Object['fromEntries'](Object[_0xeda4bf(0x28b)](_0x50db19)[_0xeda4bf(0x211)](([_0x5610d0,_0x2aee95])=>[_0x5610d0,_0x59164f(_0x2aee95)]));}function _0x1b4bec(_0x2dab98,_0xe08ae8,_0x54b43a){const _0x3e458b=_0x5241b3;return _0x2dab98===_0x3e458b(0x180)||_0x2dab98===_0x3e458b(0x269)||_0x2dab98===_0x3e458b(0x2d0)&&_0xe08ae8===_0x54b43a[_0x3e458b(0x172)]||_0x2dab98==='innerHorizontal'&&_0xe08ae8>_0x54b43a[_0x3e458b(0x172)]||_0x2dab98===_0x3e458b(0x278)&&_0xe08ae8>_0x54b43a[_0x3e458b(0x172)];}function _0x1c372c(_0x5eab4f,_0x75ac5e,_0x551197){const _0x5886f7=_0x5241b3;return _0x5eab4f==='all'||_0x5eab4f==='bottom'||_0x5eab4f==='outer'&&_0x75ac5e===_0x551197[_0x5886f7(0x324)];}function _0x3cf139(_0x5b2f4a,_0x15b90c,_0x22d4f5){const _0x309886=_0x5241b3;return _0x5b2f4a===_0x309886(0x180)||_0x5b2f4a===_0x309886(0x28f)||_0x5b2f4a===_0x309886(0x2d0)&&_0x15b90c===_0x22d4f5[_0x309886(0x2a1)]||_0x5b2f4a===_0x309886(0x271)&&_0x15b90c>_0x22d4f5[_0x309886(0x2a1)]||_0x5b2f4a===_0x309886(0x278)&&_0x15b90c>_0x22d4f5['startColumn'];}function _0xa26db5(_0x492031,_0x91f17,_0x2c462b){const _0x10f928=_0x5241b3;return _0x492031===_0x10f928(0x180)||_0x492031==='right'||_0x492031===_0x10f928(0x2d0)&&_0x91f17===_0x2c462b[_0x10f928(0x1bd)];}function _0x4459c8(_0x21aede){const _0x228d29=_0x5241b3;return{'startRow':Math[_0x228d29(0x355)](_0x21aede[_0x228d29(0x172)],_0x21aede[_0x228d29(0x324)]),'endRow':Math[_0x228d29(0x356)](_0x21aede[_0x228d29(0x172)],_0x21aede[_0x228d29(0x324)]),'startColumn':Math['min'](_0x21aede['startColumn'],_0x21aede[_0x228d29(0x1bd)]),'endColumn':Math[_0x228d29(0x356)](_0x21aede['startColumn'],_0x21aede['endColumn'])};}function _0x5f3369(_0xb076b,_0x4097a0){const _0x5c5ef7=_0x5241b3;let _0x224f6f=_0x4459c8(_0xb076b);for(let _0x9236a7=_0x224f6f[_0x5c5ef7(0x172)];_0x9236a7<=_0x224f6f[_0x5c5ef7(0x324)];_0x9236a7++)for(let _0x877b45=_0x224f6f[_0x5c5ef7(0x2a1)];_0x877b45<=_0x224f6f[_0x5c5ef7(0x1bd)];_0x877b45++)_0x4097a0(_0x9236a7,_0x877b45);}function _0x263aff(_0x54fb0a,_0x23f993){const _0x22e8bb=_0x5241b3;let _0x1cc1ca={'color':Object[_0x22e8bb(0x21e)][_0x22e8bb(0x205)]['call'](_0x23f993,_0x22e8bb(0x294))?_0x23f993[_0x22e8bb(0x294)]:(_0x54fb0a==null?void 0x0:_0x54fb0a[_0x22e8bb(0x294)])??_0x34f5a4[_0x22e8bb(0x294)],'width':_0x23f993[_0x22e8bb(0x330)]??(_0x54fb0a==null?void 0x0:_0x54fb0a[_0x22e8bb(0x330)])??_0x34f5a4['width'],'dashStyle':_0x23f993['dashStyle']??(_0x54fb0a==null?void 0x0:_0x54fb0a['dashStyle'])};return _0x23f993[_0x22e8bb(0x291)]&&delete _0x1cc1ca[_0x22e8bb(0x294)],_0x1cc1ca;}function _0xa86313(_0x47437d,_0x1c99ca,_0x478b3e){const _0x30aef4=_0x5241b3;if(_0x1c99ca['startRow']>0x0){let _0x10bd53=_0x47437d[_0x30aef4(0x163)][_0x1c99ca['startRow']-0x1];for(let _0x2a3892=_0x1c99ca[_0x30aef4(0x2a1)];_0x2a3892<=_0x1c99ca[_0x30aef4(0x1bd)];_0x2a3892++){let _0x5133d0=_0x10bd53==null?void 0x0:_0x10bd53[_0x30aef4(0x1a6)][_0x2a3892];if(!_0x5133d0)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x5133d0['borderBottom']=_0x478b3e['merge']?_0x263aff(_0x5133d0['borderBottom'],_0x478b3e[_0x30aef4(0x269)]):_0x478b3e[_0x30aef4(0x269)];}}if(_0x1c99ca[_0x30aef4(0x2a1)]>0x0)for(let _0x2adcc5=_0x1c99ca[_0x30aef4(0x172)];_0x2adcc5<=_0x1c99ca['endRow'];_0x2adcc5++){var _0x4f6206;let _0x5e6a66=(_0x4f6206=_0x47437d[_0x30aef4(0x163)][_0x2adcc5])==null?void 0x0:_0x4f6206[_0x30aef4(0x1a6)][_0x1c99ca[_0x30aef4(0x2a1)]-0x1];if(!_0x5e6a66)throw Error(_0x30aef4(0x1c0));_0x5e6a66['borderRight']=_0x478b3e[_0x30aef4(0x276)]?_0x263aff(_0x5e6a66[_0x30aef4(0x168)],_0x478b3e[_0x30aef4(0x28f)]):_0x478b3e[_0x30aef4(0x28f)];}}let _0x480c9d={'id':_0x5241b3(0x16f),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x168ad5,_0x3d8148)=>{const _0x3ecf03=_0x5241b3;let _0x34ff97=(_0x3d8148==null?void 0x0:_0x3d8148[_0x3ecf03(0x294)])??(_0x3d8148==null?void 0x0:_0x3d8148[_0x3ecf03(0x1d1)]);return _0x34ff97!==void 0x0&&_0x5ef40c(_0x168ad5,_0x3d8148,_0x34ff97==null?{'clearColor':!0x0}:{'color':{'rgb':_0x34ff97}});}};async function _0x5ef40c(_0x40b7b5,_0x2359e8,_0x24660b){const _0x350d10=_0x5241b3;let _0x2c1ae0=_0x40b7b5[_0x350d10(0x2ef)](_0x2752e6[_0x350d10(0x17b)]),_0x2f5e0e=_0x40b7b5['get'](_0x2752e6[_0x350d10(0x282)]),_0x1416c3=_0x40b7b5[_0x350d10(0x2ef)](_0xc8625f),_0x2fb4e8=_0x2c1ae0[_0x350d10(0x29c)](_0x2752e6['UniverInstanceType']['UNIVER_DOC']),_0x32db48=_0x472bb4(_0x1416c3),_0x1aa2f1=(_0x2359e8==null?void 0x0:_0x2359e8[_0x350d10(0x135)])??(_0x32db48==null?void 0x0:_0x32db48['tableId']),_0x4f4703=_0xe6ca7b(_0x2359e8,_0x32db48);if(!_0x2fb4e8||!_0x1aa2f1||!_0x4f4703)return!0x1;let _0x3cbd99=_0x1eeb2b(_0x2359e8,_0x32db48),_0x3afcf7=_0x301325(_0x2fb4e8,_0x3cbd99);if(!_0x3afcf7)return!0x1;let _0x26de39=_0xdc8e8e({'documentData':_0x3afcf7,'tableId':_0x1aa2f1,..._0x4f4703,'border':_0x24660b}),_0x480b42=_0x118e54(_0x2f5e0e,_0x2fb4e8['getUnitId'](),_0x3afcf7,_0x26de39,{'tableId':_0x1aa2f1,'segmentId':_0x3cbd99,..._0x4f4703});return _0x480b42&&_0x1416c3[_0x350d10(0x242)]({'kind':(_0x32db48==null?void 0x0:_0x32db48[_0x350d10(0x17e)])??_0x350d10(0x22a),'tableId':_0x1aa2f1,'segmentId':_0x3cbd99,..._0x4f4703}),_0x480b42;}let _0x33cd03={'id':_0x5241b3(0x1af),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x2ab6ae,_0x47fe06)=>{const _0x24225a=_0x5241b3;let _0x58e43b=(_0x47fe06==null?void 0x0:_0x47fe06[_0x24225a(0x150)])??(_0x47fe06==null?void 0x0:_0x47fe06[_0x24225a(0x1d1)]);return _0x58e43b!=null&&_0x5ef40c(_0x2ab6ae,_0x47fe06,{'dashStyle':_0x54c15a(_0x58e43b)});}};function _0x54c15a(_0x1898e4){const _0x3ecca4=_0x5241b3;return typeof _0x1898e4=='number'?_0x1898e4:_0x1898e4===_0x3ecca4(0x1ba)?_0x2752e6['DashStyleType'][_0x3ecca4(0x32f)]:_0x1898e4===_0x3ecca4(0x1c8)?_0x2752e6[_0x3ecca4(0x245)][_0x3ecca4(0x136)]:_0x2752e6[_0x3ecca4(0x245)]['SOLID'];}let _0x55aa1a={'id':_0x5241b3(0x1e5),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x41ca44,_0x155fcf)=>{const _0x385d80=_0x5241b3;let _0x3a8314=(_0x155fcf==null?void 0x0:_0x155fcf[_0x385d80(0x330)])??(_0x155fcf==null?void 0x0:_0x155fcf[_0x385d80(0x1d1)]);return _0x3a8314!=null&&_0x5ef40c(_0x41ca44,_0x155fcf,{'width':{'v':_0x3a8314}});}},_0x5e21cb={'id':_0x5241b3(0x1e6),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x27dbad,_0x7d1a60)=>{const _0x3bb46f=_0x5241b3;if(!_0x7d1a60)return!0x1;let _0x362b9b=_0x27dbad[_0x3bb46f(0x2ef)](_0x2752e6[_0x3bb46f(0x17b)]),_0x59aebb=_0x27dbad[_0x3bb46f(0x2ef)](_0x2752e6[_0x3bb46f(0x282)]),_0x39a9a8=_0x27dbad[_0x3bb46f(0x2ef)](_0xc8625f),_0x3c0e8b=_0x362b9b[_0x3bb46f(0x29c)](_0x2752e6[_0x3bb46f(0x33c)]['UNIVER_DOC']),_0x3963f7=_0x472bb4(_0x39a9a8),_0x5803f8=_0x7d1a60[_0x3bb46f(0x135)]??(_0x3963f7==null?void 0x0:_0x3963f7['tableId']),_0x2a0795=_0xe6ca7b(_0x7d1a60,_0x3963f7);if(!_0x3c0e8b||!_0x5803f8||!_0x2a0795)return!0x1;let _0x499e4d=_0x1eeb2b(_0x7d1a60,_0x3963f7),_0x52e318=_0x301325(_0x3c0e8b,_0x499e4d);if(!_0x52e318)return!0x1;let _0x318f4c=_0x115c77({'documentData':_0x52e318,'tableId':_0x5803f8,..._0x2a0795,'preset':_0x7d1a60[_0x3bb46f(0x2f0)],'border':_0x7d1a60['border']}),_0x281667=_0x118e54(_0x59aebb,_0x3c0e8b['getUnitId'](),_0x52e318,_0x318f4c,{'tableId':_0x5803f8,'segmentId':_0x499e4d,..._0x2a0795});return _0x281667&&_0x39a9a8[_0x3bb46f(0x242)]({'kind':(_0x3963f7==null?void 0x0:_0x3963f7[_0x3bb46f(0x17e)])??'range','tableId':_0x5803f8,'segmentId':_0x499e4d,..._0x2a0795}),_0x281667;}},_0x1ac646={'id':_0x5241b3(0x155),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x30c0ed,_0x434aec)=>{const _0x46d57c=_0x5241b3;let _0x5c950f=_0x434aec==null?void 0x0:_0x434aec[_0x46d57c(0x1d1)];if(_0x5c950f==null)return!0x1;let _0x531bc1=_0x30c0ed[_0x46d57c(0x2ef)](_0x2752e6[_0x46d57c(0x17b)]),_0xde9761=_0x30c0ed['get'](_0x2752e6[_0x46d57c(0x282)]),_0x1091f7=_0x30c0ed[_0x46d57c(0x2ef)](_0xc8625f),_0x13a6bd=_0x531bc1['getCurrentUnitOfType'](_0x2752e6[_0x46d57c(0x33c)][_0x46d57c(0x1d8)]),_0x11fab9=_0x176664(_0x1091f7),_0x46e22b=(_0x434aec==null?void 0x0:_0x434aec[_0x46d57c(0x135)])??(_0x11fab9==null?void 0x0:_0x11fab9[_0x46d57c(0x135)]),_0x307262=_0xe6ca7b(_0x434aec,_0x11fab9);if(!_0x13a6bd||!_0x46e22b||!_0x307262)return!0x1;let _0x2ae866=_0x1eeb2b(_0x434aec,_0x11fab9),_0x3ed8c3=_0x301325(_0x13a6bd,_0x2ae866);if(!_0x3ed8c3||!_0x138854(_0x3ed8c3,_0x46e22b,_0x307262))return!0x1;let _0x28fce5=_0x598291(_0x3ed8c3,{'tableId':_0x46e22b,..._0x307262,'value':_0x5c950f}),_0x4ef2a8=_0x118e54(_0xde9761,_0x13a6bd[_0x46d57c(0x1d0)](),_0x3ed8c3,_0x28fce5,{'tableId':_0x46e22b,'segmentId':_0x2ae866,..._0x307262});return _0x4ef2a8&&_0x1091f7[_0x46d57c(0x242)]({'kind':(_0x11fab9==null?void 0x0:_0x11fab9[_0x46d57c(0x17e)])??_0x46d57c(0x22a),'tableId':_0x46e22b,'segmentId':_0x2ae866,..._0x307262}),_0x4ef2a8;}};function _0x176664(_0x4b732c){const _0x555ad0=_0x5241b3;var _0x4fb350;return((_0x4fb350=_0x4b732c[_0x555ad0(0x30f)])==null?void 0x0:_0x4fb350[_0x555ad0(0x1bb)](_0x4b732c))??_0x4b732c[_0x555ad0(0x212)]();}function _0x138854(_0x11e750,_0x3a1b3c,_0x2b4b19){const _0x14fe11=_0x5241b3;var _0x2ac6ff;let _0x5de3da=(_0x2ac6ff=_0x11e750[_0x14fe11(0x16e)])==null?void 0x0:_0x2ac6ff[_0x3a1b3c];if(!_0x5de3da)return!0x1;let _0x5d3bd6=_0x1d12ee(_0x2b4b19);for(let _0xcb471d=_0x5d3bd6[_0x14fe11(0x172)];_0xcb471d<=_0x5d3bd6[_0x14fe11(0x324)];_0xcb471d++)for(let _0x51a860=_0x5d3bd6[_0x14fe11(0x2a1)];_0x51a860<=_0x5d3bd6[_0x14fe11(0x1bd)];_0x51a860++){var _0x1ea7b1;if(!((_0x1ea7b1=_0x5de3da[_0x14fe11(0x163)][_0xcb471d])!=null&&_0x1ea7b1[_0x14fe11(0x1a6)][_0x51a860]))return!0x1;}return!0x0;}function _0x598291(_0x58323c,_0x1ed551){const _0x145bcc=_0x5241b3;var _0x375355;let _0x29f4e9=(_0x375355=_0x58323c[_0x145bcc(0x16e)])==null?void 0x0:_0x375355[_0x1ed551[_0x145bcc(0x135)]];if(!_0x29f4e9)return null;let _0x1db9e1=_0x2752e6[_0x145bcc(0x305)]['getInstance'](),_0x1272a4=_0x1d12ee(_0x1ed551),_0x1bdd55=[];for(let _0x4f5901=_0x1272a4[_0x145bcc(0x172)];_0x4f5901<=_0x1272a4['endRow'];_0x4f5901++)for(let _0x363ec7=_0x1272a4[_0x145bcc(0x2a1)];_0x363ec7<=_0x1272a4[_0x145bcc(0x1bd)];_0x363ec7++){var _0x491c24;let _0x43f7f9=(_0x491c24=_0x29f4e9[_0x145bcc(0x163)][_0x4f5901])==null?void 0x0:_0x491c24[_0x145bcc(0x1a6)][_0x363ec7];if(!_0x43f7f9)return null;_0x43f7f9['vAlign']!==_0x1ed551[_0x145bcc(0x1d1)]&&_0x1bdd55[_0x145bcc(0x190)](_0x43f7f9[_0x145bcc(0x353)]===void 0x0?_0x1db9e1[_0x145bcc(0x2ea)]([_0x145bcc(0x16e),_0x1ed551['tableId'],_0x145bcc(0x163),_0x4f5901,'tableCells',_0x363ec7,_0x145bcc(0x353)],_0x1ed551[_0x145bcc(0x1d1)]):_0x1db9e1[_0x145bcc(0x1e7)]([_0x145bcc(0x16e),_0x1ed551[_0x145bcc(0x135)],'tableRows',_0x4f5901,_0x145bcc(0x1a6),_0x363ec7,'vAlign'],_0x43f7f9[_0x145bcc(0x353)],_0x1ed551[_0x145bcc(0x1d1)]));}return _0x1bdd55[_0x145bcc(0x1b5)]((_0x5c6971,_0x452d47)=>_0x2752e6[_0x145bcc(0x305)][_0x145bcc(0x34a)](_0x5c6971,_0x452d47),null);}function _0x1d12ee(_0x579065){const _0x38da4e=_0x5241b3;return{'startRow':Math['min'](_0x579065[_0x38da4e(0x172)],_0x579065[_0x38da4e(0x324)]),'endRow':Math['max'](_0x579065[_0x38da4e(0x172)],_0x579065[_0x38da4e(0x324)]),'startColumn':Math[_0x38da4e(0x355)](_0x579065['startColumn'],_0x579065['endColumn']),'endColumn':Math[_0x38da4e(0x356)](_0x579065[_0x38da4e(0x2a1)],_0x579065[_0x38da4e(0x1bd)])};}let _0x5c8d8c={'id':_0x5241b3(0x160),'type':_0x2752e6['CommandType'][_0x5241b3(0x1e1)],'handler':async(_0x7833e8,_0x108057)=>{const _0x21a0e4=_0x5241b3;if(!_0x108057)return!0x1;let _0x5d910c=_0x7833e8[_0x21a0e4(0x2ef)](_0x2752e6[_0x21a0e4(0x17b)]),_0x1116f3=_0x7833e8['get'](_0x2752e6['ICommandService']),_0x25ed71=_0x7833e8[_0x21a0e4(0x2ef)](_0xc8625f),_0x321c56=_0x7833e8['get'](_0x3e0d2c),_0x2d7508=_0x5d910c[_0x21a0e4(0x29c)](_0x2752e6[_0x21a0e4(0x33c)][_0x21a0e4(0x1d8)]),_0x17741b=_0x25ed71[_0x21a0e4(0x212)](),_0x39e212=_0x108057[_0x21a0e4(0x135)]??(_0x17741b==null?void 0x0:_0x17741b[_0x21a0e4(0x135)]),_0x2af2e4=_0x108057[_0x21a0e4(0x2ff)]??(_0x17741b==null?void 0x0:_0x17741b[_0x21a0e4(0x2a1)]);if(!_0x2d7508||!_0x39e212||_0x2af2e4==null)return!0x1;let _0x3985aa=_0x2d7508[_0x21a0e4(0x2c5)](),_0x4b71c7=_0x1eeb2b(_0x108057,_0x17741b),_0x54b485=_0x301325(_0x2d7508,_0x4b71c7);if(!_0x54b485)return!0x1;let _0x4304c4=_0x31d1e3(_0x54b485,_0x4fa986(_0x2d7508[_0x21a0e4(0x2c5)](),_0x321c56[_0x21a0e4(0x2c9)](_0x2d7508['getUnitId']())),_0x39e212,_0x2af2e4,_0x108057[_0x21a0e4(0x1b8)],_0x55a2a1(_0x3985aa,_0x4b71c7));return _0x118e54(_0x1116f3,_0x2d7508[_0x21a0e4(0x1d0)](),_0x54b485,_0x4304c4);}},_0x3a60f9={'id':_0x5241b3(0x1d2),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x598cbf,_0x1c258f)=>{const _0x348a5e=_0x5241b3;let _0xa48b31=_0x598cbf[_0x348a5e(0x2ef)](_0x2752e6['IUniverInstanceService']),_0x6448c1=_0x598cbf[_0x348a5e(0x2ef)](_0x2752e6[_0x348a5e(0x282)]),_0x2d48e2=_0x598cbf[_0x348a5e(0x2ef)](_0xc8625f),_0x10cdde=_0xa48b31[_0x348a5e(0x29c)](_0x2752e6[_0x348a5e(0x33c)][_0x348a5e(0x1d8)]),_0x22b22f=_0x2d48e2[_0x348a5e(0x30f)](),_0xaee0f3=(_0x1c258f==null?void 0x0:_0x1c258f['tableId'])??(_0x22b22f==null?void 0x0:_0x22b22f['tableId']),_0x55f9a8=_0xe6ca7b(_0x1c258f,_0x22b22f);if(!_0x10cdde||!_0xaee0f3||!_0x55f9a8)return!0x1;let _0x1bc87f=_0x1eeb2b(_0x1c258f,_0x22b22f),_0x46af51=_0x301325(_0x10cdde,_0x1bc87f);if(!_0x46af51||!_0x47296b(_0x46af51,_0xaee0f3,_0x55f9a8))return!0x1;let _0x3180a0=_0x3cadb9({'documentData':_0x46af51,'tableId':_0xaee0f3,..._0x55f9a8});if(!_0x3180a0)return!0x1;let _0x4ecdd0=_0x118e54(_0x6448c1,_0x10cdde[_0x348a5e(0x1d0)](),_0x46af51,_0x3180a0[_0x348a5e(0x300)],{'tableId':_0xaee0f3,'segmentId':_0x1bc87f,..._0x3180a0[_0x348a5e(0x22a)]});return _0x4ecdd0&&_0x2d48e2[_0x348a5e(0x242)]({'kind':_0x348a5e(0x22a),'tableId':_0xaee0f3,'segmentId':_0x1bc87f,..._0x3180a0[_0x348a5e(0x22a)]}),_0x4ecdd0;}};function _0x38f9ff(_0x451128){const _0x21b8fc=_0x5241b3;let _0x6b914d=new DOMParser()[_0x21b8fc(0x229)](_0x451128,'text/html');return Array[_0x21b8fc(0x32c)](_0x6b914d[_0x21b8fc(0x2e5)](_0x21b8fc(0x30d)))[_0x21b8fc(0x211)](_0x310fae=>_0x2f1f92(_0x310fae));}function _0x2d4c80(_0xbd7efb){const _0x3d49cf=_0x5241b3;if(!_0xbd7efb[_0x3d49cf(0x2cc)]('\x09'))return null;let _0x37ff2a=_0xbd7efb['split'](/\r\n|\r|\n/);return _0x37ff2a[_0x37ff2a[_0x3d49cf(0x252)]-0x1]===''&&_0x37ff2a[_0x3d49cf(0x22d)](),_0x37ff2a[_0x3d49cf(0x252)]===0x0?null:_0x3d49cf(0x313)+_0x37ff2a[_0x3d49cf(0x211)](_0x193dd6=>'<tr>'+_0x193dd6[_0x3d49cf(0x1a5)]('\x09')[_0x3d49cf(0x211)](_0x43a016=>_0x3d49cf(0x2cd)+_0x526d7e(_0x43a016)+'</td>')['join']('')+_0x3d49cf(0x20a))['join']('')+_0x3d49cf(0x19b);}function _0x53bd19(_0x56a37e){const _0x27b205=_0x5241b3;var _0x36f3eb,_0x4b1ecb;let _0x5b3b55=(_0x36f3eb=_0x56a37e[_0x27b205(0x2a3)][_0x27b205(0x16e)])==null?void 0x0:_0x36f3eb[_0x56a37e[_0x27b205(0x135)]];if(!_0x5b3b55)throw Error(_0x27b205(0x19f)+_0x56a37e[_0x27b205(0x135)]+_0x27b205(0x2ca));let _0x73df5f=_0x1845bc(_0x56a37e),_0x47f66a=_0x56a37e[_0x27b205(0x2a3)],_0x1d1632=_0x56a37e[_0x27b205(0x135)];_0x73df5f[_0x27b205(0x324)]<_0x5b3b55['tableRows'][_0x27b205(0x252)]-0x1&&(_0x47f66a=_0x220a73({'documentData':_0x47f66a,'tableId':_0x1d1632,'startRow':_0x73df5f[_0x27b205(0x324)]+0x1,'endRow':_0x5b3b55[_0x27b205(0x163)][_0x27b205(0x252)]-0x1})[_0x27b205(0x169)]),_0x73df5f[_0x27b205(0x172)]>0x0&&(_0x47f66a=_0x220a73({'documentData':_0x47f66a,'tableId':_0x1d1632,'startRow':0x0,'endRow':_0x73df5f['startRow']-0x1})[_0x27b205(0x169)]),_0x73df5f['endColumn']<_0x5b3b55['tableColumns']['length']-0x1&&(_0x47f66a=_0x2aa21e({'documentData':_0x47f66a,'tableId':_0x1d1632,'startColumn':_0x73df5f['endColumn']+0x1,'endColumn':_0x5b3b55[_0x27b205(0x25c)]['length']-0x1})[_0x27b205(0x169)]),_0x73df5f[_0x27b205(0x2a1)]>0x0&&(_0x47f66a=_0x2aa21e({'documentData':_0x47f66a,'tableId':_0x1d1632,'startColumn':0x0,'endColumn':_0x73df5f[_0x27b205(0x2a1)]-0x1})[_0x27b205(0x169)]);let _0x4f43f4=(_0x4b1ecb=_0x47f66a[_0x27b205(0x347)])==null||(_0x4b1ecb=_0x4b1ecb['tables'])==null?void 0x0:_0x4b1ecb['find'](_0x356ca5=>_0x356ca5[_0x27b205(0x135)]===_0x1d1632);if(!_0x4f43f4||!_0x47f66a[_0x27b205(0x347)])throw Error(_0x27b205(0x19f)+_0x1d1632+_0x27b205(0x307));let _0x43d90d=(0x0,_0x2752e6[_0x27b205(0x24e)])(_0x47f66a[_0x27b205(0x347)],_0x4f43f4[_0x27b205(0x2eb)],_0x4f43f4[_0x27b205(0x1fc)],!0x1,_0x2752e6[_0x27b205(0x21a)][_0x27b205(0x20b)]);return{..._0x47f66a,'body':_0x43d90d,'tableSource':Object['fromEntries']((_0x43d90d[_0x27b205(0x1ad)]??[])[_0x27b205(0x211)](_0x588361=>[_0x588361[_0x27b205(0x135)],_0x47f66a[_0x27b205(0x16e)][_0x588361[_0x27b205(0x135)]]]))};}function _0x5e1f3d(_0x32ccfa){const _0x434f64=_0x5241b3;var _0x535754;let _0x18db00=_0x48bd87(_0x32ccfa[_0x434f64(0x2a3)],_0x32ccfa['tableId']),_0x53b8b9=(_0x535754=_0x32ccfa[_0x434f64(0x2a3)][_0x434f64(0x347)])==null?void 0x0:_0x535754[_0x434f64(0x227)];if(!_0x18db00||!_0x53b8b9)throw Error(_0x434f64(0x19f)+_0x32ccfa[_0x434f64(0x135)]+_0x434f64(0x2ca));let _0x484288=_0x1845bc(_0x32ccfa),_0x11dd4d=[];for(let _0x33f1c2=_0x484288['startRow'];_0x33f1c2<=_0x484288[_0x434f64(0x324)];_0x33f1c2++){let _0x22aec1=[];for(let _0x13d31e=_0x484288[_0x434f64(0x2a1)];_0x13d31e<=_0x484288[_0x434f64(0x1bd)];_0x13d31e++){var _0x5e02a7;let _0x2a6f65=(_0x5e02a7=_0x18db00['rows'][_0x33f1c2])==null?void 0x0:_0x5e02a7[_0x434f64(0x31b)][_0x13d31e];_0x22aec1[_0x434f64(0x190)](_0x2a6f65?_0x2007cd(_0x53b8b9,_0x2a6f65['startOffset'],_0x2a6f65['endOffset']):'');}_0x11dd4d[_0x434f64(0x190)](_0x22aec1);}return _0x11dd4d[_0x434f64(0x211)](_0x2796a1=>_0x2796a1[_0x434f64(0x253)]('\x09'))[_0x434f64(0x253)]('\x0a');}function _0x4bf7ba(_0x404070,_0x1c81bf=[_0x5241b3(0x347)]){const _0x86f3ab=_0x5241b3;var _0xcdbe4a;let _0x124784=_0x48bd87(_0x404070[_0x86f3ab(0x2a3)],_0x404070[_0x86f3ab(0x135)]);if(!_0x124784||!((_0xcdbe4a=_0x404070['documentData'][_0x86f3ab(0x347)])!=null&&_0xcdbe4a[_0x86f3ab(0x227)]))throw Error(_0x86f3ab(0x19f)+_0x404070['tableId']+_0x86f3ab(0x2ca));let _0x5afe1b=_0x404070[_0x86f3ab(0x2cf)][_0x86f3ab(0x1a5)](/\r\n|\r|\n/)[_0x86f3ab(0x211)](_0x338576=>_0x338576[_0x86f3ab(0x1a5)]('\x09')),_0x591359=[];for(let _0x5e73f6=0x0;_0x5e73f6<_0x5afe1b[_0x86f3ab(0x252)];_0x5e73f6++)for(let _0x3de022=0x0;_0x3de022<_0x5afe1b[_0x5e73f6]['length'];_0x3de022++){var _0x1bba47;let _0x29c35a=(_0x1bba47=_0x124784[_0x86f3ab(0x167)][_0x404070['startRow']+_0x5e73f6])==null?void 0x0:_0x1bba47[_0x86f3ab(0x31b)][_0x404070[_0x86f3ab(0x2a1)]+_0x3de022];_0x29c35a&&_0x591359['push']({'startOffset':_0x29c35a['startOffset']+0x1,'endOffset':_0x29c35a[_0x86f3ab(0x2a0)],'text':_0x5afe1b[_0x5e73f6][_0x3de022]+'\x0d\x0a'});}return _0xaefc5e(_0x404070[_0x86f3ab(0x2a3)],_0x591359,_0x1c81bf);}function _0x224660(_0x248097){const _0x193988=_0x5241b3;let _0x5e2590=new DOMParser()[_0x193988(0x229)](_0x248097,_0x193988(0x2f6))[_0x193988(0x2a9)]('table');return _0x5e2590?_0x2f1f92(_0x5e2590):{'rows':[],'columnWidths':[]};}function _0x2f1f92(_0x400ce7){const _0x9c1625=_0x5241b3;let _0x54e081=Array[_0x9c1625(0x32c)](_0x400ce7[_0x9c1625(0x2e5)](_0x9c1625(0x1b1)))['map'](_0x556260=>_0x495e95(_0x556260[_0x9c1625(0x29a)](_0x9c1625(0x330)),_0x556260[_0x9c1625(0x29a)](_0x9c1625(0x1f3)),_0x9c1625(0x330))),_0x57ad58=[],_0x5b2976=new Map();Array[_0x9c1625(0x32c)](_0x400ce7[_0x9c1625(0x2e5)]('tr'))[_0x9c1625(0x20d)]((_0x258725,_0x5b627a)=>{const _0x1f5fb5=_0x9c1625;let _0x44b443={'cells':[],'height':_0x495e95(_0x258725[_0x1f5fb5(0x29a)]('height'),_0x258725['getAttribute']('style'),_0x1f5fb5(0x246))},_0x1277d3=0x0;for(Array[_0x1f5fb5(0x32c)](_0x258725[_0x1f5fb5(0x22f)])['filter'](_0x194ecb=>_0x194ecb[_0x1f5fb5(0x292)]['toLowerCase']()==='td'||_0x194ecb[_0x1f5fb5(0x292)][_0x1f5fb5(0x352)]()==='th')[_0x1f5fb5(0x20d)](_0x47b0f2=>{const _0x3d6c1a=_0x1f5fb5;for(;_0x5b2976[_0x3d6c1a(0x2a5)](_0x5b627a+':'+_0x1277d3);)_0x44b443[_0x3d6c1a(0x31b)][_0x1277d3]=null,_0x1277d3++;let _0x4e6057=Math[_0x3d6c1a(0x356)](0x1,Number(_0x47b0f2[_0x3d6c1a(0x29a)]('rowspan')??0x1)),_0x38fab0=Math[_0x3d6c1a(0x356)](0x1,Number(_0x47b0f2[_0x3d6c1a(0x29a)]('colspan')??0x1)),_0x5e4db1=_0x47b0f2['getAttribute']('style')??'';_0x44b443[_0x3d6c1a(0x31b)][_0x1277d3]={'html':_0x47b0f2[_0x3d6c1a(0x143)],'text':_0x1f99c6(_0x47b0f2[_0x3d6c1a(0x202)]??''),'rowSpan':_0x4e6057,'colSpan':_0x38fab0,'backgroundColor':_0x446212(_0x5e4db1,'background-color')??_0x446212(_0x5e4db1,'background'),'borderColor':_0x556c91(_0x5e4db1),'borderWidth':_0x2db622(_0x5e4db1)};let _0x4a81bd=_0x495e95(_0x47b0f2['getAttribute'](_0x3d6c1a(0x330)),_0x5e4db1,_0x3d6c1a(0x330));_0x4a81bd!=null&&_0x54e081[_0x1277d3]==null&&(_0x54e081[_0x1277d3]=_0x4a81bd);for(let _0x10f74=0x0;_0x10f74<_0x4e6057;_0x10f74++)for(let _0x38ad02=0x0;_0x38ad02<_0x38fab0;_0x38ad02++)(_0x10f74!==0x0||_0x38ad02!==0x0)&&_0x5b2976[_0x3d6c1a(0x177)](_0x5b627a+_0x10f74+':'+(_0x1277d3+_0x38ad02),!0x0);for(let _0xcff05b=0x1;_0xcff05b<_0x38fab0;_0xcff05b++)_0x44b443[_0x3d6c1a(0x31b)][_0x1277d3+_0xcff05b]=null;_0x1277d3+=_0x38fab0;});_0x44b443[_0x1f5fb5(0x31b)]['length']<_0x54e081[_0x1f5fb5(0x252)];)_0x44b443['cells']['push'](null);_0x57ad58['push'](_0x44b443);});let _0x5ee174=Math[_0x9c1625(0x356)](_0x54e081['length'],..._0x57ad58[_0x9c1625(0x211)](_0x5aa25f=>_0x5aa25f[_0x9c1625(0x31b)][_0x9c1625(0x252)]));for(;_0x54e081[_0x9c1625(0x252)]<_0x5ee174;)_0x54e081['push'](void 0x0);return _0x57ad58['forEach'](_0x390c9c=>{const _0x570429=_0x9c1625;for(;_0x390c9c[_0x570429(0x31b)][_0x570429(0x252)]<_0x5ee174;)_0x390c9c[_0x570429(0x31b)]['push'](null);}),{'columnWidths':_0x54e081,'rows':_0x57ad58};}function _0x1845bc(_0x1aa996){const _0x1aeb8f=_0x5241b3;return{'startRow':Math['min'](_0x1aa996[_0x1aeb8f(0x172)],_0x1aa996[_0x1aeb8f(0x324)]),'endRow':Math[_0x1aeb8f(0x356)](_0x1aa996[_0x1aeb8f(0x172)],_0x1aa996['endRow']),'startColumn':Math[_0x1aeb8f(0x355)](_0x1aa996[_0x1aeb8f(0x2a1)],_0x1aa996[_0x1aeb8f(0x1bd)]),'endColumn':Math['max'](_0x1aa996[_0x1aeb8f(0x2a1)],_0x1aa996['endColumn'])};}function _0x2007cd(_0x333817,_0x3dcf0b,_0x205ab0){const _0x4bbe95=_0x5241b3;return _0x333817[_0x4bbe95(0x233)](_0x3dcf0b+0x1,_0x205ab0)[_0x4bbe95(0x1f4)](/\r/g,'\x0a')['replace'](/[\x00-\x08\v\f\x0E-\x1F]/g,'')[_0x4bbe95(0x1f4)](/\n+$/,'');}function _0x1f99c6(_0x3bae04){const _0x30689f=_0x5241b3;return _0x3bae04['replace'](/\u00A0/g,'\x20')[_0x30689f(0x1f4)](/\s+/g,'\x20')[_0x30689f(0x1ca)]();}function _0x495e95(_0x5e80b6,_0x5e8b50,_0x49daad){const _0x31432d=_0x5241b3;let _0xd2521c=_0x5e8b50==null?void 0x0:_0x5e8b50[_0x31432d(0x2fd)](RegExp(_0x49daad+_0x31432d(0x1d5),'i'));if(_0xd2521c)return _0x449030(Number(_0xd2521c[0x1]),_0xd2521c[0x2]);if(!_0x5e80b6)return;let _0x6f6d9e=_0x5e80b6[_0x31432d(0x2fd)](/([0-9.]+)\s*(px|pt|in|cm|mm)?/i);return _0x6f6d9e?_0x449030(Number(_0x6f6d9e[0x1]),_0x6f6d9e[0x2]):void 0x0;}function _0x446212(_0x2132bd,_0x24294a){const _0x52566b=_0x5241b3;var _0x4f157f;let _0x21ad04=_0x2132bd[_0x52566b(0x2fd)](RegExp(_0x24294a+'\x5cs*:\x5cs*([^;]+)','i'));return _0x21ad04==null||(_0x4f157f=_0x21ad04[0x1])==null?void 0x0:_0x4f157f[_0x52566b(0x1ca)]();}function _0x503bc8(_0x2f0dbf){const _0x336994=_0x5241b3;var _0x41247d;return(_0x41247d=_0x2f0dbf[_0x336994(0x1a5)](';')['map'](_0x127d18=>_0x127d18['trim']())[_0x336994(0x14b)](_0x2bca54=>/^border(?:-[a-z]+)?\s*:/i['test'](_0x2bca54)))==null?void 0x0:_0x41247d['replace'](/^border(?:-[a-z]+)?\s*:\s*/i,'')[_0x336994(0x1ca)]();}function _0x556c91(_0xf47fae){const _0x20f097=_0x5241b3;var _0x5cf74d;let _0x36ef71=_0x446212(_0xf47fae,_0x20f097(0x24b));if(_0x36ef71)return _0x36ef71;let _0x141a40=_0x503bc8(_0xf47fae);return(_0x141a40==null||(_0x5cf74d=_0x141a40['match'](/#[0-9a-f]{3,8}|rgb\([^)]+\)/i))==null?void 0x0:_0x5cf74d[0x0])||(_0x141a40==null?void 0x0:_0x141a40[_0x20f097(0x1a5)](/\s+/)[_0x20f097(0x14b)](_0x1a0785=>/^[a-z]+$/i[_0x20f097(0x28a)](_0x1a0785)&&!['solid',_0x20f097(0x2bd),'dotted',_0x20f097(0x15f),_0x20f097(0x1ff)]['includes'](_0x1a0785[_0x20f097(0x352)]())));}function _0x2db622(_0x51a8c5){const _0x4d81c1=_0x5241b3;var _0x3bd9c2;let _0xa96430=_0x495e95(null,_0x446212(_0x51a8c5,'border-width')??null,_0x4d81c1(0x330));if(_0xa96430!=null)return _0xa96430;let _0x30556c=(_0x3bd9c2=_0x503bc8(_0x51a8c5))==null?void 0x0:_0x3bd9c2[_0x4d81c1(0x2fd)](/([0-9.]+)\s*(px|pt|in|cm|mm)/i);return _0x30556c?_0x449030(Number(_0x30556c[0x1]),_0x30556c[0x2]):void 0x0;}function _0x449030(_0x2eedd4,_0x21c1f3){const _0x391b11=_0x5241b3;switch(_0x21c1f3==null?void 0x0:_0x21c1f3[_0x391b11(0x352)]()){case'pt':return _0x4d834a(_0x2eedd4*0x4/0x3);case'in':return _0x4d834a(_0x2eedd4*0x60);case'cm':return _0x4d834a(_0x2eedd4*0x60/2.54);case'mm':return _0x4d834a(_0x2eedd4*0x60/25.4);default:return _0x4d834a(_0x2eedd4);}}function _0x4d834a(_0x42930b){const _0x30cab1=_0x5241b3;return Math[_0x30cab1(0x234)](_0x42930b*0x64)/0x64;}function _0x526d7e(_0x59dc19){const _0x215a0a=_0x5241b3;return _0x59dc19[_0x215a0a(0x1f4)](/&/g,_0x215a0a(0x178))[_0x215a0a(0x1f4)](/</g,_0x215a0a(0x1a2))[_0x215a0a(0x1f4)](/>/g,_0x215a0a(0x1bf))['replace'](/\r?\n/g,_0x215a0a(0x2d1));}let _0x1f321b=_0x5241b3(0x345);var _0xa524d9='@univerjs-pro/docs-table',_0x2429ea='1.4.0';let _0x2c7f61={'id':_0x5241b3(0x341),'type':_0x2752e6['CommandType'][_0x5241b3(0x1e1)],'handler':async(_0x2df044,_0x80d4fe)=>{const _0x2199f5=_0x5241b3;let _0xa8ed5e=_0x2df044['get'](_0x2752e6[_0x2199f5(0x17b)]),_0x3eb710=_0x2df044['get'](_0xc8625f),_0x504744=_0xa8ed5e[_0x2199f5(0x29c)](_0x2752e6[_0x2199f5(0x33c)][_0x2199f5(0x1d8)]),_0x59724f=_0x3eb710[_0x2199f5(0x212)](),_0x4d5948=(_0x80d4fe==null?void 0x0:_0x80d4fe[_0x2199f5(0x135)])??(_0x59724f==null?void 0x0:_0x59724f[_0x2199f5(0x135)]),_0x2d939a=_0xe6ca7b(_0x80d4fe,_0x59724f);if(!_0x504744||!_0x4d5948||!_0x2d939a)return!0x1;let _0x16424d=_0x301325(_0x504744,_0x1eeb2b(_0x80d4fe,_0x59724f));return _0x16424d?_0x5e1f3d({'documentData':_0x16424d,'tableId':_0x4d5948,..._0x2d939a}):!0x1;}},_0x232bba={'id':_0x5241b3(0x264),'type':_0x2752e6[_0x5241b3(0x333)][_0x5241b3(0x1e1)],'handler':async(_0x4d9da2,_0x7fe98d)=>{const _0x1d5dae=_0x5241b3;if(!_0x7fe98d)return!0x1;let _0x2174f9=_0x4d9da2[_0x1d5dae(0x2ef)](_0x2752e6[_0x1d5dae(0x17b)]),_0x228499=_0x4d9da2[_0x1d5dae(0x2ef)](_0x2752e6['ICommandService']),_0xe3858d=_0x4d9da2[_0x1d5dae(0x2ef)](_0xc8625f),_0x3d8e50=_0x2174f9[_0x1d5dae(0x29c)](_0x2752e6[_0x1d5dae(0x33c)][_0x1d5dae(0x1d8)]),_0x41fbb3=_0xe3858d[_0x1d5dae(0x212)](),_0x13e9f4=_0x7fe98d['tableId']??(_0x41fbb3==null?void 0x0:_0x41fbb3[_0x1d5dae(0x135)]),_0x16eaf1=_0xe6ca7b(_0x7fe98d,_0x41fbb3);if(!_0x3d8e50||!_0x13e9f4||!_0x16eaf1)return!0x1;let _0x312993=_0x3d8e50['getSnapshot'](),_0x1b10ec=_0x1eeb2b(_0x7fe98d,_0x41fbb3),_0x5d1ce1=_0x301325(_0x3d8e50,_0x1b10ec);if(!_0x5d1ce1)return!0x1;let _0x5f0fde=_0x4bf7ba({'documentData':_0x5d1ce1,'tableId':_0x13e9f4,..._0x16eaf1,'text':_0x7fe98d[_0x1d5dae(0x2cf)]},_0x55a2a1(_0x312993,_0x1b10ec));return _0x118e54(_0x228499,_0x3d8e50['getUnitId'](),_0x5d1ce1,_0x5f0fde,void 0x0,void 0x0,void 0x0,_0x43be57[_0x1d5dae(0x232)][_0x1d5dae(0x19c)]);}},_0x5044c0={},_0x3c97fb=class extends _0x2752e6[_0x5241b3(0x2b7)]{constructor(_0x15c78c,_0x1d5f5c,_0x5cabdd){const _0x529b58=_0x5241b3;super(),this[_0x529b58(0x331)]=_0x15c78c,this[_0x529b58(0x187)]=_0x1d5f5c,this[_0x529b58(0x176)]=_0x5cabdd,this[_0x529b58(0x290)]();}[_0x5241b3(0x290)](){const _0x2f67e8=_0x5241b3;this[_0x2f67e8(0x2d3)](this[_0x2f67e8(0x331)][_0x2f67e8(0x2c1)]({'pluginName':_0x1f321b,'businesses':[_0x2752e6['UniverInstanceType'][_0x2f67e8(0x1d8)]],'toJson':_0x2dc5b4=>{const _0x2e5a13=_0x2f67e8;let _0x370d8a=this[_0x2e5a13(0x187)][_0x2e5a13(0x2c9)](_0x2dc5b4),_0x292b90=this['_univerInstanceService'][_0x2e5a13(0x2dc)](_0x2dc5b4,_0x2752e6['UniverInstanceType'][_0x2e5a13(0x1d8)]);return JSON[_0x2e5a13(0x298)](_0x292b90?_0x4fa986(_0x292b90[_0x2e5a13(0x2c5)](),_0x370d8a):_0x370d8a);},'parseJson':_0x56ab48=>_0x5d50ee(JSON[_0x2f67e8(0x311)](_0x56ab48)),'onLoad':(_0x1008b9,_0x350c63)=>this[_0x2f67e8(0x187)]['deserialize'](_0x1008b9,_0x350c63),'onUnLoad':_0x5a617a=>this[_0x2f67e8(0x187)][_0x2f67e8(0x19d)](_0x5a617a)}));}};_0x3c97fb=_0x51b4d5([_0x548e54(0x0,_0x2752e6[_0x5241b3(0x198)]),_0x548e54(0x1,(0x0,_0x2752e6['Inject'])(_0x3e0d2c)),_0x548e54(0x2,_0x2752e6[_0x5241b3(0x17b)])],_0x3c97fb);let _0x441477=class extends _0x2752e6[_0x5241b3(0x1e0)]{constructor(_0x356f16=_0x5044c0,_0x2d81be,_0x4c8f59,_0x5a1cf3){const _0xa5335e=_0x5241b3;super(),this[_0xa5335e(0x1bc)]=_0x356f16,this[_0xa5335e(0x34f)]=_0x2d81be,this['_commandService']=_0x4c8f59,this['_configService']=_0x5a1cf3;let {..._0x1f2ddc}=(0x0,_0x2752e6[_0xa5335e(0x276)])({},_0x5044c0,this[_0xa5335e(0x1bc)]);this[_0xa5335e(0x1e2)][_0xa5335e(0x1d6)](_0xa5335e(0x2ba),_0x1f2ddc);}[_0x5241b3(0x2bf)](){const _0xaf0bbc=_0x5241b3;this[_0xaf0bbc(0x34f)][_0xaf0bbc(0x304)]([_0x3e0d2c]),this[_0xaf0bbc(0x34f)][_0xaf0bbc(0x304)]([_0x3c97fb]),this[_0xaf0bbc(0x34f)][_0xaf0bbc(0x304)]([_0xc8625f]),this[_0xaf0bbc(0x34f)][_0xaf0bbc(0x2ef)](_0x3e0d2c),this['_injector'][_0xaf0bbc(0x2ef)](_0x3c97fb),this['_injector'][_0xaf0bbc(0x2ef)](_0xc8625f),this[_0xaf0bbc(0x1f6)]();}[_0x5241b3(0x1f6)](){const _0x1054cf=_0x5241b3;[_0x2be8ba,_0x2c7f61,_0x2c1d05,_0x3d4419,_0x28ca0a,_0x527990,_0x2706d1,_0x57caba,_0x1bdb06,_0x53f89c,_0xfa16c6,_0x56f2d7,_0x2a5882,_0x4e68a3,_0x2718c0,_0x232bba,_0x1f3e48,_0x2b3a5e,_0x57c12d,_0x59b8f1,_0x778a09,_0x408f4b,_0x5e21cb,_0x480c9d,_0x33cd03,_0x55aa1a,_0x1ac646,_0x5c8d8c,_0x3a60f9][_0x1054cf(0x20d)](_0x1cfa12=>this[_0x1054cf(0x2d3)](this[_0x1054cf(0x2be)][_0x1054cf(0x357)](_0x1cfa12)));}};_0x5e8e59(_0x441477,_0x5241b3(0x1c2),_0x1f321b),_0x5e8e59(_0x441477,_0x5241b3(0x2bc),_0xa524d9),_0x5e8e59(_0x441477,_0x5241b3(0x325),_0x2429ea),_0x5e8e59(_0x441477,_0x5241b3(0x20c),_0x2752e6[_0x5241b3(0x33c)][_0x5241b3(0x1d8)]),_0x441477=_0x51b4d5([(0x0,_0x2752e6[_0x5241b3(0x1b6)])(_0x8c849c['UniverLicensePlugin'],_0x43be57['UniverDocsPlugin']),_0x548e54(0x1,(0x0,_0x2752e6[_0x5241b3(0x140)])(_0x2752e6[_0x5241b3(0x2b1)])),_0x548e54(0x2,_0x2752e6[_0x5241b3(0x282)]),_0x548e54(0x3,_0x2752e6['IConfigService'])],_0x441477),_0x5dfd18[_0x5241b3(0x15c)]=_0x1b1bb2,_0x5dfd18[_0x5241b3(0x327)]=_0x1f321b,_0x5dfd18[_0x5241b3(0x30b)]=_0x5490d6,_0x5dfd18[_0x5241b3(0x218)]=_0x28af73,_0x5dfd18[_0x5241b3(0x339)]=_0x53ec71,_0x5dfd18[_0x5241b3(0x25f)]=_0x2c1d05,_0x5dfd18[_0x5241b3(0x316)]=_0x3d4419,_0x5dfd18[_0x5241b3(0x1e3)]=_0x28ca0a,_0x5dfd18['DocsTableDistributeColumnsCommand']=_0x527990,_0x5dfd18[_0x5241b3(0x274)]=_0x2706d1,_0x5dfd18['DocsTableInsertColumnsCommand']=_0x57caba,_0x5dfd18[_0x5241b3(0x146)]=_0x36b2eb,_0x5dfd18['DocsTableInsertRowsCommand']=_0x1bdb06,_0x5dfd18[_0x5241b3(0x2e9)]=_0x53f89c,_0x5dfd18[_0x5241b3(0x183)]=_0xd9fb17,_0x5dfd18[_0x5241b3(0x170)]=_0xfa16c6,_0x5dfd18[_0x5241b3(0x259)]=_0x56f2d7,_0x5dfd18[_0x5241b3(0x299)]=_0x3e0d2c,_0x5dfd18[_0x5241b3(0x171)]=_0x2a5882,_0x5dfd18[_0x5241b3(0x1c3)]=_0x4e68a3,_0x5dfd18['DocsTableMoveTableCommand']=_0x2718c0,_0x5dfd18[_0x5241b3(0x226)]=_0x1f3e48,_0x5dfd18[_0x5241b3(0x26c)]=_0x2b3a5e,_0x5dfd18[_0x5241b3(0x239)]=_0x21d184,_0x5dfd18[_0x5241b3(0x2c7)]=_0x2ad2e0,Object[_0x5241b3(0x156)](_0x5dfd18,_0x5241b3(0x349),{'enumerable':!0x0,'get':function(){return _0xc8625f;}}),_0x5dfd18[_0x5241b3(0x2fc)]=_0x4a08b7,_0x5dfd18[_0x5241b3(0x32d)]=_0x57c12d,_0x5dfd18[_0x5241b3(0x306)]=_0x59b8f1,_0x5dfd18[_0x5241b3(0x24a)]=_0x778a09,_0x5dfd18[_0x5241b3(0x14e)]=_0x408f4b,_0x5dfd18[_0x5241b3(0x134)]=_0x480c9d,_0x5dfd18[_0x5241b3(0x287)]=_0x5e21cb,_0x5dfd18[_0x5241b3(0x1ed)]=_0x33cd03,_0x5dfd18[_0x5241b3(0x1c1)]=_0x55aa1a,_0x5dfd18[_0x5241b3(0x270)]=_0x1ac646,_0x5dfd18[_0x5241b3(0x1ef)]=_0x30cc65,_0x5dfd18[_0x5241b3(0x210)]=_0x5c8d8c,_0x5dfd18[_0x5241b3(0x1dc)]=_0x3a60f9,Object[_0x5241b3(0x156)](_0x5dfd18,_0x5241b3(0x2ee),{'enumerable':!0x0,'get':function(){return _0x441477;}}),_0x5dfd18[_0x5241b3(0x25a)]=_0x2aa21e,_0x5dfd18[_0x5241b3(0x26a)]=_0x220a73,_0x5dfd18[_0x5241b3(0x228)]=_0x36559d,_0x5dfd18[_0x5241b3(0x254)]=_0x49d608,_0x5dfd18['buildDeleteTableMutationActions']=_0x386df4,_0x5dfd18[_0x5241b3(0x2d6)]=_0x150444,_0x5dfd18[_0x5241b3(0x18c)]=_0x3938d7,_0x5dfd18[_0x5241b3(0x249)]=_0x48f6a5,_0x5dfd18[_0x5241b3(0x208)]=_0x1937d3,_0x5dfd18[_0x5241b3(0x1cf)]=_0xa41d99,_0x5dfd18[_0x5241b3(0x19a)]=_0x332841,_0x5dfd18[_0x5241b3(0x1b0)]=_0x14bc76,_0x5dfd18[_0x5241b3(0x19e)]=_0x1eba0a,_0x5dfd18['buildInsertTableRowsMutationActions']=_0x56714c,_0x5dfd18['buildInsertTableTitleRowMutationActions']=_0x324092,_0x5dfd18[_0x5241b3(0x166)]=_0x2f39d9,_0x5dfd18[_0x5241b3(0x13a)]=_0x2c1568,_0x5dfd18['buildMergeCellsMutationActions']=_0x2f58dc,_0x5dfd18['buildMoveColumnsActions']=_0x4c6160,_0x5dfd18[_0x5241b3(0x1a7)]=_0x3ea22b,_0x5dfd18[_0x5241b3(0x321)]=_0x1eb22f,_0x5dfd18[_0x5241b3(0x2f3)]=_0x25cc95,_0x5dfd18['buildMoveTableColumnsMutationActions']=_0x632d2f,_0x5dfd18['buildMoveTableRowsMutationActions']=_0x3ec91e,_0x5dfd18[_0x5241b3(0x261)]=_0x7f8ae6,_0x5dfd18[_0x5241b3(0x1cc)]=_0x4bf7ba,_0x5dfd18[_0x5241b3(0x20e)]=_0x33d4d9,_0x5dfd18[_0x5241b3(0x1cd)]=_0x251342,_0x5dfd18[_0x5241b3(0x151)]=_0x742621,_0x5dfd18[_0x5241b3(0x284)]=_0x133d60,_0x5dfd18[_0x5241b3(0x1ac)]=_0x1624e9,_0x5dfd18[_0x5241b3(0x2e0)]=_0x55b3c8,_0x5dfd18[_0x5241b3(0x265)]=_0x35d739,_0x5dfd18[_0x5241b3(0x2f7)]=_0x115c77,_0x5dfd18[_0x5241b3(0x2b2)]=_0x367959,_0x5dfd18['buildSetTableCellMarginMutationActions']=_0x2a2c90,_0x5dfd18[_0x5241b3(0x2dd)]=_0x26dc69,_0x5dfd18[_0x5241b3(0x1c5)]=_0x5ee5a2,_0x5dfd18[_0x5241b3(0x258)]=_0x986b06,_0x5dfd18[_0x5241b3(0x23f)]=_0x342098,_0x5dfd18['buildSortTableActions']=_0x29e258,_0x5dfd18[_0x5241b3(0x144)]=_0x31d1e3,_0x5dfd18['buildUnmergeCellsActions']=_0x1c97f3,_0x5dfd18[_0x5241b3(0x255)]=_0x3cadb9,_0x5dfd18[_0x5241b3(0x224)]=_0x4e34a2,_0x5dfd18[_0x5241b3(0x317)]=_0x47296b,_0x5dfd18[_0x5241b3(0x14a)]=_0x2d4c80,_0x5dfd18[_0x5241b3(0x16c)]=_0x118e54,_0x5dfd18[_0x5241b3(0x27e)]=_0x55a2a1,_0x5dfd18[_0x5241b3(0x32b)]=_0x48bd87,_0x5dfd18[_0x5241b3(0x21f)]=_0x224660,_0x5dfd18[_0x5241b3(0x293)]=_0x38f9ff,_0x5dfd18[_0x5241b3(0x302)]=_0x53bd19,_0x5dfd18[_0x5241b3(0x2a2)]=_0x5e1f3d;}));function _0x89a5(){const _0x290aeb=['columnTypes','PAGE','TABLE_START','getSnapshot','ObjectRelativeFromH','DocsTableSelectionKind','_setResource','serialize','\x20is\x20not\x20found.','sourceIndex','includes','<td>','1547984KTJwEx','text','outer','<br>','delete-table','disposeWithMe','headerRowCount','docs-table.command.set-table-background','buildDeleteTableRowsMutationActions','generateRandomId','docs-table-cell:','selection','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Asc','getUnit','buildSetTableCellTextActions','getActiveTextRange','drawingsOrder','buildSetTableBackgroundMutationActions','setColumnType','DELETE','customRanges','[DocsTable]:\x20Cannot\x20merge\x20a\x20non-rectangular\x20or\x20already\x20merged\x20selection.','querySelectorAll','_clearStructuralSelectionState','align','targetOffset','DocsTableInsertTableCommand','insertOp','startIndex','Outer','\x20range\x20is\x20not\x20found.','UniverDocsTablePlugin','get','preset','Row','NONE','buildMoveTableActions','iterator','every','text/html','buildSetTableBorderMutationActions','positionH','fromEntries','delete-columns','isFinite','DocsTableSelectionSource','match','positionV','column','actions','insert','serializeTableSelectionAsDocument','default','add','JSONX','DocsTableSetHeaderRowCountCommand','\x20has\x20no\x20body\x20range.','_structuralSelection','toStringTag','footers','DocsTableBorderPreset','Below','table','\x20is\x20out\x20of\x20range.','getStableTableSelection','Dropdown','parse','toPrimitive','<table><tbody>','localeCompare','editOp','DocsTableDeleteRowsCommand','canUnmergeCells','docs-table.command.delete-table','docs-table.command.delete-rows','clearStructuralSelection','cells','_restoreNativeSelectionForTextFocus','rxjs','dropdown','docs-table.command.set-column-type','count','buildMoveRowsActions','index','_preserveStructuralSelectionOnNextTextSelection','endRow','version','preserveTotalWidth','DOCS_TABLE_PLUGIN','setTitleRow','docsTableType','sortStartRow','getTableRangeById','from','DocsTableSetColumnTypeCommand','physicalFrom','DOT','width','_resourceManagerService','Desc','CommandType','checkbox','bottom','columnGroups','reverse','Cell','DocsTableColumnType','docsTableLegacyType','val','UniverInstanceType','[DocsTable]:\x20Cell\x20','DOC_RANGE_TYPE','paragraphStyle','asObservable','docs-table.command.copy-selection','docs-table.command.insert-title-row','emitCurrentSelection','createSectionId','DOC_TABLE_PLUGIN','insertedColumnWidth','body','SECTION_BREAK','DocsTableSelectionService','compose','fromRow','InnerHorizontal','docsTableLegacyTitleRow','WRAP','_injector','customBlocks','_getSelectionFromActiveTextRange','toLowerCase','vAlign','function','min','max','registerCommand','isFirstRow','rowSpan','[DocsTable]:\x20Table\x20is\x20not\x20found.','deltaY','@univerjs/docs','DocsTableSetTableBorderColorCommand','tableId','DASH','TextXActionType','3296756NcWYvE','repeatHeaderRow','buildMergeCellsActions','TABLE_CELL_START','Table\x20can\x20only\x20be\x20inserted\x20in\x20a\x20normal\x20paragraph\x20area','RECT','getSelfOrHeaderFooterModel','9071600ecIUpE','Inject','columnSpan','above','innerHTML','buildSortTableMutationActions','size','DocsTableInsertPosition','13974828npFRIS','TextX','docsTableLegacyHeaderRow','convertPlainTextTableToHtml','find','_docSelectionManagerService','TABLE_ROW_END','DocsTableSetTableBackgroundCommand','documentEnd','dashStyle','buildResizeTableColumnActionsFromWidth','[DocsTable]:\x20Row\x20','Bottom','titleRow','docs-table.command.set-table-vertical-align','defineProperty','gridBefore','textWrap','toRow','Left','flatMap','DEFAULT_DOCS_TABLE_CELL_MARGIN','beforeCommandExecuted','docs-table.command.move-rows','double','docs-table.command.sort-table','trigger','border','tableRows','cursorRow','filter','buildInsertTitleRowActions','rows','borderRight','nextDocumentData','PARAGRAPH','getOwnPropertyDescriptor','executeRichTextTableActions','valueRangeId','tableSource','docs-table.command.set-table-border-color','DocsTableInsertTitleRowCommand','DocsTableMoveColumnsCommand','startRow','insert-columns','#1f1f1f','[DocsTable]:\x20Column\x20','_univerInstanceService','set','&amp;','UniverProDocsTable','Date','IUniverInstanceService','getBody','borderTop','kind','textRuns','all','object','DocSelectionManagerService','DocsTableInsertTablePosition','UniverCore','All','isNaN','_docsTableModel','_selectionChange$','581520ibLWDe','metadata','docs-table.command.distribute-rows','buildDistributeColumnsActions','cursorColumn','drawings','endsWith','push','rowCount','params','moveOp','getTableRangeInterval','getTableMetadata','delete','@univerjs-pro/license','IResourceManagerService','_structuralSelectionTableShape','buildInsertColumnsActions','</tbody></table>','EditTableCell','removeUnit','buildInsertTableColumnsMutationActions','[DocsTable]:\x20Table\x20','Checkbox','_canCombineRectRanges','&lt;','Tools','Text','split','tableCells','buildMoveFloatingTableMutationActions','Rect','rect','symbol','Number','buildSetHeaderRowCountActions','tables','complete','docs-table.command.set-table-border-style','buildInsertRowsActions','col','headers','MODERN','cellMargin','reduce','DependentOn','getTableRowTokenInterval','direction','columns','dot','call','_config','endColumn','DocumentFlavor','&gt;','[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.','DocsTableSetTableBorderWidthCommand','pluginName','DocsTableMoveRowsCommand','UniverProLicense','buildSetTableCellTextMutationActions','values','columnCount','dash','findIndex','trim','delete-rows','buildPastePlainTextTableMutationActions','buildResizeRowActions','deleteTable','buildDistributeTableRowsMutationActions','getUnitId','value','docs-table.command.unmerge-cells','getStructuralSelection','number','\x5cs*:\x5cs*([0-9.]+)\x5cs*(px|pt|in|cm|mm)?','setConfig','sectionId','UNIVER_DOC','docs-table.command.resize-row','TRADITIONAL','docsTableCellId','DocsTableUnmergeCellsCommand','selectionChange$','docs-table.command.merge-cells','ObjectRelativeFromV','Plugin','COMMAND','_configService','DocsTableDeleteTableCommand','None','docs-table.command.set-table-border-width','docs-table.command.set-table-border','replaceOp','sort','_getSelectionFromRectRanges','legacy:','indexOf','UniverDocs','DocsTableSetTableBorderStyleCommand','bodyPath','DocsTableSortDirection','getTableCellTokenInterval','posOffset','customDecorations','style','replace','columnWidths','_initCommands','docs-table.command.distribute-columns','Inner','physicalIndex','[DocsTable]:\x20Cannot\x20sort\x20a\x20table\x20with\x20row-spanning\x20merged\x20cells.','preserveOnTextSelection','endIndex','Subject','startOffset','none','_resources','dist','textContent','start','createParagraphId','hasOwnProperty','_change$','documentStyle','buildDistributeTableColumnsMutationActions','START','</tr>','copy','type','forEach','buildResizeColumnActions','docsTableMetadataVersion','DocsTableSortTableCommand','map','getCurrentSelection','dispose','resolveTableMetadata','SPECIFIED','serializeDocument','setStructuralHeaderSelection','DocsTableColumnInsertPosition','toColumn','SliceBodyType','hRule','FALSE','1257450FHcTBA','prototype','parseHtmlTableClipboard','tableIds','_getValidStructuralSelection','TABLE_CELL_END','TABLE_END','canMergeCells','date','DocsTableResizeColumnCommand','dataStream','buildDeleteTableActions','parseFromString','range','bullet','getDisabled','pop','unitId','children','INSERT','TableTextWrapType','DocHistoryAction','slice','round','12hnALRv','headingId','DocumentEnd','abs','DocsTableRowInsertPosition','decorate','segmentId','row','clearNativeSelection','TABLE_ROW_START','buildSetTableHeaderRowCountMutationActions','TRUE','paragraphId','setStructuralSelection','structural','getCustomBlockIdsInSelections','DashStyleType','height','end','_setDirectStructuralSelection','buildDistributeRowsActions','DocsTableSetTableAlignCommand','border-color','retain','getInstance','getBodySlice','insert-rows','change$','_nativeSelectionSuppressed','length','join','buildDeleteTableColumnsMutationActions','buildUnmergeCellsMutationActions','Right','_getCurrentDoc','buildSetTableDefaultCellMarginMutationActions','DocsTableMergeCellsCommand','buildDeleteColumnsActions','physicalCount','tableColumns','offset','_structuralSelectionScopeDepth','DocsTableDeleteColumnsCommand','DataStreamTreeTokenType','buildMoveTableToOffsetMutationActions','docs-table.command.move-columns','keys','docs-table.command.paste-without-formatting','buildSetTableBorderActions','syncExecuteCommand','exports','Column','top','buildDeleteRowsActions','AT_LEAST','DocsTableResizeRowCommand','TableAlignmentType','backgroundColor','borderBottom','DocsTableSetTableVerticalAlignCommand','innerVertical','nextMetadata','containsInteriorInsertionOffset','DocsTableDistributeRowsCommand','next','merge','some','inner','getContentInsertRange','position','docs-table.command.insert-columns','sectionBreaks','cursorOffset','getTableActionBodyPath','replaceDocRanges','1682716uiWooz','subscribe','ICommandService','sortedRowIndexes','buildResizeTableRowActionsFromHeight','Structural','yes','DocsTableSetTableBorderCommand','Range','Top','test','entries','trHeight','getBodySliceForTextXAction','textSelection$','left','_initResource','clearColor','tagName','parseHtmlTablesClipboard','color','cell','string','[DocsTable]:\x20Cell\x20text\x20replacements\x20must\x20be\x20ordered,\x20non-overlapping,\x20and\x20inside\x20the\x20document\x20body.','stringify','DocsTableModel','getAttribute','fromColumn','getCurrentUnitOfType','right','splice','docsTableTitleRow','endOffset','startColumn','serializeTableSelectionAsPlainText','documentData','Table','has','borderLeft','deltaX','BooleanNumber','querySelector','blockRanges','RichTextEditingMutation','TableRowHeightRule','TableSizeType','margin','isArray','END','Injector','buildSetTableCellBackgroundActions','removeOp','Selection','paragraphs','isInteger','Disposable','asc','deepClone','docs-table.config','config','packageName','dashed','_commandService','onStarting','deserialize','registerPluginResource'];_0x89a5=function(){return _0x290aeb;};return _0x89a5();}