@univerjs-pro/docs-table 1.0.0-alpha.8 → 1.0.0-beta.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/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x5a7309=_0x54ce;(function(_0xf884af,_0x53837a){const _0x46c265=_0x54ce,_0x5abec6=_0xf884af();while(!![]){try{const _0x3362a0=parseInt(_0x46c265(0x97))/0x1*(parseInt(_0x46c265(0xc7))/0x2)+-parseInt(_0x46c265(0xf1))/0x3+-parseInt(_0x46c265(0x12e))/0x4*(parseInt(_0x46c265(0xe7))/0x5)+parseInt(_0x46c265(0x10e))/0x6*(-parseInt(_0x46c265(0xdf))/0x7)+parseInt(_0x46c265(0xdd))/0x8*(-parseInt(_0x46c265(0x120))/0x9)+-parseInt(_0x46c265(0x98))/0xa*(-parseInt(_0x46c265(0x109))/0xb)+-parseInt(_0x46c265(0xb4))/0xc*(-parseInt(_0x46c265(0x141))/0xd);if(_0x3362a0===_0x53837a)break;else _0x5abec6['push'](_0x5abec6['shift']());}catch(_0x5d2344){_0x5abec6['push'](_0x5abec6['shift']());}}}(_0x39d1,0x9894f));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x539dac,DocsTableBorderPreset as _0x58b008,DocsTableColumnInsertPosition as _0x4caeb6,DocsTableColumnType as _0x271f18,DocsTableInsertPosition as _0x10ee64,DocsTableInsertTableCommand as _0x4cf4da,DocsTableInsertTablePosition as _0x37e5ca,DocsTableModel as _0x4c03e2,DocsTableRowInsertPosition as _0x57a5f1,DocsTableSelectionKind as _0x19aa6f,DocsTableSelectionService as _0x53db45,DocsTableSortDirection as _0xca8c2e,buildDeleteTableColumnsMutationActions as _0x297117,buildDeleteTableMutationActions as _0x5e09d2,buildDeleteTableRowsMutationActions as _0x32f3f3,buildDistributeTableColumnsMutationActions as _0x511149,buildDistributeTableRowsMutationActions as _0x2c19e6,buildInsertTableColumnsMutationActions as _0x22dfdd,buildInsertTableRowsMutationActions as _0x4db340,buildInsertTableTitleRowMutationActions as _0x27a573,buildMergeCellsMutationActions as _0xeb4e23,buildMoveFloatingTableMutationActions as _0x258064,buildMoveTableColumnsMutationActions as _0x1d92cf,buildMoveTableRowsMutationActions as _0x562547,buildMoveTableToOffsetMutationActions as _0x5652de,buildResizeTableColumnActionsFromWidth as _0x586d9c,buildResizeTableRowActionsFromHeight as _0x147439,buildSetTableBackgroundMutationActions as _0x1f74fd,buildSetTableBorderMutationActions as _0x440761,buildSetTableCellMarginMutationActions as _0x48ab03,buildSetTableCellTextMutationActions as _0x12f912,buildSetTableDefaultCellMarginMutationActions as _0x30db38,buildSetTableHeaderRowCountMutationActions as _0x1cf2f0,buildSortTableMutationActions as _0xf5bd7f,buildUnmergeCellsMutationActions as _0x47ddf9,executeRichTextTableActions as _0x5765fa,getTableActionBodyPath as _0x3d50a8,getTableRangeById as _0x1dcfbf}from'@univerjs-pro/docs-table';import{DashStyleType as _0x54a3a9,ICommandService as _0x20a6d6,TableRowHeightRule as _0xfc2443,Tools as _0x768e38,generateRandomId as _0x4e304f}from'@univerjs/core';import{FEnum as _0x652f29}from'@univerjs/core/facade';import{FDocument as _0x3eed05}from'@univerjs/docs/facade';var G=class extends _0x652f29{get['DocsTableInsertTablePosition'](){return _0x37e5ca;}get[_0x5a7309(0x114)](){return _0x271f18;}get[_0x5a7309(0x112)](){return _0x19aa6f;}get[_0x5a7309(0xe3)](){return _0x57a5f1;}get[_0x5a7309(0x128)](){return _0x4caeb6;}get[_0x5a7309(0xda)](){return _0x58b008;}get[_0x5a7309(0x13c)](){return _0xca8c2e;}get[_0x5a7309(0x12c)](){return _0x54a3a9;}};_0x652f29[_0x5a7309(0x135)](G);var K=class{constructor(_0x3e068d,_0x33bb11,_0x460555){const _0x525461=_0x5a7309;this['_table']=_0x3e068d,this[_0x525461(0xe4)]=_0x33bb11,this[_0x525461(0x10a)]=_0x460555;}[_0x5a7309(0xb2)](){const _0x20fb27=_0x5a7309;return this[_0x20fb27(0xb7)];}[_0x5a7309(0xed)](){const _0x5187a4=_0x5a7309;return this[_0x5187a4(0xe4)];}['getColumnIndex'](){const _0x270f57=_0x5a7309;return this[_0x270f57(0x10a)];}[_0x5a7309(0x9d)](){const _0x6c3734=_0x5a7309;return this[_0x6c3734(0xb7)]['getCellText'](this[_0x6c3734(0xe4)],this[_0x6c3734(0x10a)]);}['getContentRange'](){const _0x317458=_0x5a7309;return this['_table'][_0x317458(0x122)](this[_0x317458(0xe4)],this[_0x317458(0x10a)]);}['getInsertOffset'](){const _0x6dee41=_0x5a7309;return this[_0x6dee41(0xb7)][_0x6dee41(0x121)](this[_0x6dee41(0xe4)],this[_0x6dee41(0x10a)]);}['getMargin'](){const _0x3c6681=_0x5a7309;return this[_0x3c6681(0xb7)][_0x3c6681(0xfd)](this[_0x3c6681(0xe4)],this[_0x3c6681(0x10a)]);}[_0x5a7309(0x139)](){const _0x3d2a97=_0x5a7309;return this['_table'][_0x3d2a97(0xd8)](this[_0x3d2a97(0xe4)],this[_0x3d2a97(0x10a)]);}[_0x5a7309(0xcc)](_0x112431){const _0x5a1a2b=_0x5a7309;return this[_0x5a1a2b(0xb7)][_0x5a1a2b(0xae)](this['_table'][_0x5a1a2b(0xa1)](this[_0x5a1a2b(0xe4)],this['_column']),_0x112431);}['clearMarginOverride'](){const _0x3cabe2=_0x5a7309;return this[_0x3cabe2(0xb7)][_0x3cabe2(0xae)](this['_table'][_0x3cabe2(0xa1)](this[_0x3cabe2(0xe4)],this['_column']),null);}[_0x5a7309(0xe0)](_0x171083){const _0x2476d2=_0x5a7309;return this[_0x2476d2(0xb7)][_0x2476d2(0x118)](this[_0x2476d2(0xe4)],this[_0x2476d2(0x10a)],_0x171083);}[_0x5a7309(0x104)](_0x40742e){const _0x404aa6=_0x5a7309;return this[_0x404aa6(0xb7)][_0x404aa6(0x131)](this['_table']['getCellRange'](this[_0x404aa6(0xe4)],this['_column']),_0x40742e);}['setBorder'](_0x534ed7){const _0x88cbf0=_0x5a7309;return this[_0x88cbf0(0xb7)]['setBorder'](this[_0x88cbf0(0xb7)][_0x88cbf0(0xa1)](this[_0x88cbf0(0xe4)],this[_0x88cbf0(0x10a)]),_0x534ed7);}[_0x5a7309(0x11e)](_0x5b45cb,_0x29d909){const _0x5abbce=_0x5a7309;return this[_0x5abbce(0xb7)]['mergeCells']({'startRow':this['_row'],'startColumn':this['_column'],'endRow':this['_row']+_0x5b45cb-0x1,'endColumn':this['_column']+_0x29d909-0x1});}[_0x5a7309(0xbd)](){const _0x246d27=_0x5a7309;return this['_table'][_0x246d27(0xce)](this[_0x246d27(0xb7)][_0x246d27(0xa1)](this[_0x246d27(0xe4)],this[_0x246d27(0x10a)]));}};function q(_0x212e03){'@babel/helpers - typeof';const _0x805196=_0x5a7309;return q=typeof Symbol==_0x805196(0xd1)&&typeof Symbol[_0x805196(0x101)]==_0x805196(0x11b)?function(_0x5357cd){return typeof _0x5357cd;}:function(_0x62ce7){const _0x498bbe=_0x805196;return _0x62ce7&&typeof Symbol=='function'&&_0x62ce7[_0x498bbe(0xa0)]===Symbol&&_0x62ce7!==Symbol['prototype']?'symbol':typeof _0x62ce7;},q(_0x212e03);}function J(_0x227650,_0x258bbf){const _0x522647=_0x5a7309;if(q(_0x227650)!=_0x522647(0xea)||!_0x227650)return _0x227650;var _0x1d41d2=_0x227650[Symbol[_0x522647(0xdb)]];if(_0x1d41d2!==void 0x0){var _0x5144c7=_0x1d41d2[_0x522647(0x9a)](_0x227650,_0x258bbf||_0x522647(0x115));if(q(_0x5144c7)!='object')return _0x5144c7;throw TypeError(_0x522647(0x11c));}return(_0x258bbf===_0x522647(0xbb)?String:Number)(_0x227650);}function Y(_0x55dcbe){const _0x3334b1=_0x5a7309;var _0x31d199=J(_0x55dcbe,_0x3334b1(0xbb));return q(_0x31d199)==_0x3334b1(0x11b)?_0x31d199:_0x31d199+'';}function X(_0x54c9b3,_0xdd9926,_0x5e7270){const _0x7393a3=_0x5a7309;return(_0xdd9926=Y(_0xdd9926))in _0x54c9b3?Object[_0x7393a3(0x13d)](_0x54c9b3,_0xdd9926,{'value':_0x5e7270,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x54c9b3[_0xdd9926]=_0x5e7270,_0x54c9b3;}var Z=class{constructor(_0x43b438,_0x202b5c,_0x439781='',_0x13795c){const _0x2392e6=_0x5a7309;this[_0x2392e6(0xef)]=_0x43b438,this[_0x2392e6(0xe5)]=_0x202b5c,this[_0x2392e6(0xc2)]=_0x439781,this['_injector']=_0x13795c,X(this,'_unitId',void 0x0),this[_0x2392e6(0xfa)]=this['_document'][_0x2392e6(0x125)]();}[_0x5a7309(0x125)](){return this['_tableId'];}[_0x5a7309(0xc8)](){const _0x1d0d30=_0x5a7309;return this[_0x1d0d30(0xc2)];}['getInfo'](){const _0x215e4e=_0x5a7309;return{'id':this[_0x215e4e(0xe5)],'rowCount':this[_0x215e4e(0x111)](),'columnCount':this[_0x215e4e(0x12d)](),'metadata':this[_0x215e4e(0xd9)](),'source':this[_0x215e4e(0x140)]()};}['describe'](){const _0x4eff52=_0x5a7309;var _0x1f666d,_0x2dc758;let _0x2be852=this[_0x4eff52(0xd9)](),_0x5d2400=this[_0x4eff52(0x140)](),_0x39ba81=this[_0x4eff52(0x12d)]();return{'id':this['_tableId'],'rowCount':this['getRowCount'](),'columnCount':_0x39ba81,'headerRowCount':(_0x1f666d=_0x2be852==null?void 0x0:_0x2be852[_0x4eff52(0xfc)])==null?0x0:_0x1f666d,'titleRow':(_0x2dc758=_0x2be852==null?void 0x0:_0x2be852[_0x4eff52(0xe2)])!=null&&_0x2dc758,'columns':Array['from']({'length':_0x39ba81},(_0xd40529,_0x2070ff)=>{const _0x5d1d43=_0x4eff52;var _0x6585d6,_0x4030f9;return{'index':_0x2070ff,'type':_0x2be852==null||(_0x6585d6=_0x2be852['columnTypes'])==null||(_0x6585d6=_0x6585d6[_0x2070ff])==null?void 0x0:_0x6585d6['type'],'width':_0x5d2400==null||(_0x4030f9=_0x5d2400['tableColumns'][_0x2070ff])==null?void 0x0:_0x4030f9[_0x5d1d43(0x126)][_0x5d1d43(0xee)]['v']};}),'sampleRows':Array[_0x4eff52(0x102)]({'length':this[_0x4eff52(0x111)]()},(_0x20c19a,_0x2d8a79)=>Array[_0x4eff52(0x102)]({'length':_0x39ba81},(_0x57077f,_0x28876e)=>this[_0x4eff52(0xb8)](_0x2d8a79,_0x28876e)))[_0x4eff52(0x12b)](_0x46c4e9=>_0x46c4e9[_0x4eff52(0x107)](_0xcf713c=>_0xcf713c[_0x4eff52(0x93)]>0x0))[_0x4eff52(0xff)](0x0,0x5)};}[_0x5a7309(0x111)](){const _0x367b1e=_0x5a7309;var _0x2d906c,_0x61210b;return(_0x2d906c=(_0x61210b=this['getSource']())==null?void 0x0:_0x61210b[_0x367b1e(0xd7)][_0x367b1e(0x93)])==null?0x0:_0x2d906c;}[_0x5a7309(0x12d)](){const _0x58a6d9=_0x5a7309;var _0x36d41e,_0x4b99ae;return(_0x36d41e=(_0x4b99ae=this[_0x58a6d9(0x140)]())==null?void 0x0:_0x4b99ae[_0x58a6d9(0x129)][_0x58a6d9(0x93)])==null?0x0:_0x36d41e;}[_0x5a7309(0x10c)](_0x4e98c,_0x29eead){const _0x2a507a=_0x5a7309;var _0x4df07d;return(_0x4df07d=this['getSource']())!=null&&(_0x4df07d=_0x4df07d['tableRows'][_0x4e98c])!=null&&_0x4df07d[_0x2a507a(0x137)][_0x29eead]?this[_0x2a507a(0xd4)][_0x2a507a(0xb9)](K,this,_0x4e98c,_0x29eead):null;}['getCellText'](_0x1005ae,_0x420ed8){const _0x2b4bcb=_0x5a7309;var _0x32d57c,_0x2dd999,_0x196176;let _0x55518a=(_0x32d57c=_0x1dcfbf(this[_0x2b4bcb(0xb3)](),this[_0x2b4bcb(0xe5)]))==null||(_0x32d57c=_0x32d57c[_0x2b4bcb(0x11f)][_0x1005ae])==null?void 0x0:_0x32d57c[_0x2b4bcb(0x116)][_0x420ed8];return _0x55518a?(_0x2dd999=(_0x196176=this[_0x2b4bcb(0xb3)]()[_0x2b4bcb(0xad)])==null?void 0x0:_0x196176[_0x2b4bcb(0xc1)][_0x2b4bcb(0xff)](_0x55518a['startOffset']+0x1,_0x55518a[_0x2b4bcb(0x11a)])['replace'](/\r\n$/,''))==null?'':_0x2dd999:'';}['getCellMargin'](_0x127c2f,_0x44fafa){const _0x3a6f42=_0x5a7309;var _0x12a9d7,_0x3f6505,_0x5b61a1;let _0x3417b4=this[_0x3a6f42(0x140)](),_0x85d533=_0x3417b4==null||(_0x12a9d7=_0x3417b4['tableRows'][_0x127c2f])==null?void 0x0:_0x12a9d7[_0x3a6f42(0x137)][_0x44fafa];return _0x85d533?_0x768e38[_0x3a6f42(0xc3)]((_0x3f6505=(_0x5b61a1=_0x85d533['margin'])==null?_0x3417b4[_0x3a6f42(0xdc)]:_0x5b61a1)==null?_0x539dac:_0x3f6505):null;}[_0x5a7309(0xd8)](_0x446574,_0x2fb377){const _0x508360=_0x5a7309;var _0x454ce8;let _0x12fdf5=(_0x454ce8=this[_0x508360(0x140)]())==null||(_0x454ce8=_0x454ce8[_0x508360(0xd7)][_0x446574])==null?void 0x0:_0x454ce8[_0x508360(0x137)][_0x2fb377];return _0x12fdf5!=null&&_0x12fdf5['margin']?_0x768e38[_0x508360(0xc3)](_0x12fdf5[_0x508360(0x99)]):null;}[_0x5a7309(0xba)](){const _0x768196=_0x5a7309;var _0x7ecc47,_0x1af02a;return _0x768e38['deepClone']((_0x7ecc47=(_0x1af02a=this[_0x768196(0x140)]())==null?void 0x0:_0x1af02a['cellMargin'])==null?_0x539dac:_0x7ecc47);}[_0x5a7309(0xcb)](){const _0x5c4074=_0x5a7309;var _0x29b9c7;let _0x20abc8=(_0x29b9c7=this[_0x5c4074(0x140)]())==null?void 0x0:_0x29b9c7['cellMargin'];return _0x20abc8?_0x768e38[_0x5c4074(0xc3)](_0x20abc8):null;}[_0x5a7309(0xd9)](){const _0x424dad=_0x5a7309;return this[_0x424dad(0xd4)][_0x424dad(0xd0)](_0x4c03e2)['getTableMetadata'](this[_0x424dad(0xfa)],this[_0x424dad(0xe5)]);}['getSource'](){const _0xba013f=_0x5a7309;var _0x45d63b;return(_0x45d63b=this[_0xba013f(0xb3)]()['tableSource'])==null?void 0x0:_0x45d63b[this[_0xba013f(0xe5)]];}[_0x5a7309(0xa4)](){const _0x5536d4=_0x5a7309;return _0x1dcfbf(this['_getDocumentData'](),this[_0x5536d4(0xe5)]);}[_0x5a7309(0xac)](){const _0xd8b784=_0x5a7309;return{'startRow':0x0,'endRow':Math[_0xd8b784(0xaf)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0xd8b784(0x12d)]()-0x1)};}['getCellRange'](_0x5693de,_0x37b7aa){return{'startRow':_0x5693de,'endRow':_0x5693de,'startColumn':_0x37b7aa,'endColumn':_0x37b7aa};}['getCellContentRange'](_0x9a9aee,_0x52095e){const _0x245e3d=_0x5a7309;var _0x289b41;let _0x5a3d5c=(_0x289b41=_0x1dcfbf(this[_0x245e3d(0xb3)](),this[_0x245e3d(0xe5)]))==null||(_0x289b41=_0x289b41[_0x245e3d(0x11f)][_0x9a9aee])==null?void 0x0:_0x289b41[_0x245e3d(0x116)][_0x52095e];if(!_0x5a3d5c)return null;let _0x4c4750=_0x5a3d5c[_0x245e3d(0xa8)]+0x1;return{'startOffset':_0x4c4750,'endOffset':Math[_0x245e3d(0xaf)](_0x4c4750,_0x5a3d5c[_0x245e3d(0x11a)]-0x1),'segmentId':this[_0x245e3d(0xc2)]};}[_0x5a7309(0x121)](_0x57fff8,_0x278690){const _0x9ddb89=_0x5a7309;var _0x4c0f7c,_0x2b0cd3;return(_0x4c0f7c=(_0x2b0cd3=this[_0x9ddb89(0x122)](_0x57fff8,_0x278690))==null?void 0x0:_0x2b0cd3['endOffset'])==null?null:_0x4c0f7c;}[_0x5a7309(0x110)](_0x5a218f){const _0x350d0a=_0x5a7309;return this[_0x350d0a(0x94)](_0x5a218f,0x1);}['getRowsRange'](_0x3f5649,_0x1f2478=0x1){const _0x315e9a=_0x5a7309;return{'startRow':_0x3f5649,'endRow':_0x3f5649+_0x1f2478-0x1,'startColumn':0x0,'endColumn':Math[_0x315e9a(0xaf)](0x0,this['getColumnCount']()-0x1)};}[_0x5a7309(0x119)](_0x341250){const _0x2c7347=_0x5a7309;return this[_0x2c7347(0xe1)](_0x341250,0x1);}[_0x5a7309(0xe1)](_0x1d3f1a,_0x3f807a=0x1){const _0x2c498f=_0x5a7309;return{'startRow':0x0,'endRow':Math[_0x2c498f(0xaf)](0x0,this['getRowCount']()-0x1),'startColumn':_0x1d3f1a,'endColumn':_0x1d3f1a+_0x3f807a-0x1};}[_0x5a7309(0xe9)](){const _0x2a726e=_0x5a7309;return this['selectRange'](this[_0x2a726e(0xac)](),_0x19aa6f[_0x2a726e(0xec)]);}['selectRow'](_0x4ce7b4){const _0x4ea275=_0x5a7309;return this[_0x4ea275(0x123)](_0x4ce7b4,0x1);}['selectRows'](_0x5027ec,_0x43e419=0x1){const _0x468450=_0x5a7309;return this[_0x468450(0xf6)](this['getRowsRange'](_0x5027ec,_0x43e419),_0x19aa6f[_0x468450(0x138)]);}[_0x5a7309(0xcd)](_0x110b9b){const _0x8aa63b=_0x5a7309;return this[_0x8aa63b(0xd5)](_0x110b9b,0x1);}['selectColumns'](_0x53016a,_0x57b4cd=0x1){const _0x3e2987=_0x5a7309;return this[_0x3e2987(0xf6)](this[_0x3e2987(0xe1)](_0x53016a,_0x57b4cd),_0x19aa6f[_0x3e2987(0x9b)]);}['selectCell'](_0x5d28b8,_0x4f9e08){const _0x1040dd=_0x5a7309;return this['selectRange'](this[_0x1040dd(0xa1)](_0x5d28b8,_0x4f9e08),_0x19aa6f['Cell']);}['selectRange'](_0xc8bf2f,_0x59f20e=_0x19aa6f[_0x5a7309(0x106)]){const _0x759fb7=_0x5a7309;return this[_0x759fb7(0xd4)]['get'](_0x53db45)[_0x759fb7(0x113)]({..._0xc8bf2f,'kind':_0x59f20e,'segmentId':this[_0x759fb7(0xc2)],'tableId':this[_0x759fb7(0xe5)]}),!0x0;}[_0x5a7309(0xaa)](_0x8e9602){return this['insertRowsBefore'](_0x8e9602,0x1);}[_0x5a7309(0xcf)](_0x4ce89c){return this['insertRowsAfter'](_0x4ce89c,0x1);}[_0x5a7309(0x127)](_0x473399,_0x85c5b8){const _0x21719b=_0x5a7309;let _0x4000ea=this[_0x21719b(0xb3)](),_0xcad13e=_0x4db340(_0x4000ea,this[_0x21719b(0xe5)],_0x473399,_0x85c5b8,_0x10ee64[_0x21719b(0x108)],this[_0x21719b(0x91)]());return _0xcad13e?this[_0x21719b(0xca)](_0x4000ea,_0xcad13e['actions']):!0x1;}[_0x5a7309(0xb5)](_0x5d99aa,_0x36dae0){const _0x35b9fb=_0x5a7309;let _0x3f3232=this[_0x35b9fb(0xb3)](),_0x52a28f=_0x4db340(_0x3f3232,this['_tableId'],_0x5d99aa,_0x36dae0,_0x10ee64[_0x35b9fb(0xa2)],this[_0x35b9fb(0x91)]());return _0x52a28f?this['_mutateActions'](_0x3f3232,_0x52a28f[_0x35b9fb(0xeb)]):!0x1;}[_0x5a7309(0xf4)](){const _0x2f9623=_0x5a7309;return this[_0x2f9623(0xb5)](Math[_0x2f9623(0xaf)](0x0,this[_0x2f9623(0x111)]()-0x1),0x1);}[_0x5a7309(0xbf)](_0x4b8ece){const _0x1f553e=_0x5a7309;return this[_0x1f553e(0xe8)](_0x4b8ece,0x1);}['insertColumnAfter'](_0x2ba8d8){return this['insertColumnsAfter'](_0x2ba8d8,0x1);}[_0x5a7309(0xe8)](_0x2fc87c,_0x2405e6){const _0x4ba9e2=_0x5a7309;let _0x16de0f=this['_getDocumentData'](),_0x59595e=_0x22dfdd(_0x16de0f,this[_0x4ba9e2(0xe5)],_0x2fc87c,_0x2405e6,_0x10ee64['Left'],{'bodyPath':this[_0x4ba9e2(0x91)]()});return _0x59595e?this['_mutateActions'](_0x16de0f,_0x59595e[_0x4ba9e2(0xeb)]):!0x1;}[_0x5a7309(0x10d)](_0x93313,_0x402af1){const _0x3b18c7=_0x5a7309;let _0xa1772b=this['_getDocumentData'](),_0x41c95e=_0x22dfdd(_0xa1772b,this[_0x3b18c7(0xe5)],_0x93313,_0x402af1,_0x10ee64[_0x3b18c7(0xf5)],{'bodyPath':this[_0x3b18c7(0x91)]()});return _0x41c95e?this['_mutateActions'](_0xa1772b,_0x41c95e['actions']):!0x1;}[_0x5a7309(0x13e)](){const _0x5ddc3a=_0x5a7309;return this[_0x5ddc3a(0x10d)](Math['max'](0x0,this[_0x5ddc3a(0x12d)]()-0x1),0x1);}[_0x5a7309(0x103)](_0x13920a){const _0x390678=_0x5a7309;return this[_0x390678(0xc9)](_0x13920a,0x1);}[_0x5a7309(0xc9)](_0x3d7aee,_0x1994cd=0x1){const _0x5dc06d=_0x5a7309;let _0x3d5b74=this['_getDocumentData'](),_0x4dd441=_0x32f3f3(_0x3d5b74,this[_0x5dc06d(0xe5)],_0x3d7aee,_0x3d7aee+_0x1994cd-0x1,this[_0x5dc06d(0x91)]());return _0x4dd441?this[_0x5dc06d(0xca)](_0x3d5b74,_0x4dd441['actions']):!0x1;}['deleteColumn'](_0x582e17){return this['deleteColumns'](_0x582e17,0x1);}['deleteColumns'](_0x3f701f,_0x1c0a19=0x1){const _0x863c53=_0x5a7309;let _0x5a3dce=this[_0x863c53(0xb3)](),_0x26c296=_0x297117(_0x5a3dce,this[_0x863c53(0xe5)],_0x3f701f,_0x3f701f+_0x1c0a19-0x1,this['_getBodyPath']());return _0x26c296?this[_0x863c53(0xca)](_0x5a3dce,_0x26c296[_0x863c53(0xeb)]):!0x1;}['deleteTable'](){const _0x100900=_0x5a7309;let _0x57840a=this[_0x100900(0xb3)](),_0x54b711=_0x5e09d2(_0x57840a,this[_0x100900(0xe5)],this[_0x100900(0x91)]());return _0x54b711?this[_0x100900(0xca)](_0x57840a,_0x54b711[_0x100900(0xeb)]):!0x1;}[_0x5a7309(0x13b)](_0x207e2e,_0xd56322){const _0x357535=_0x5a7309;let _0x534d3a=this['_getDocumentData']();return this['_mutateActions'](_0x534d3a,_0x258064(_0x534d3a,this[_0x357535(0xe5)],_0x207e2e,_0xd56322));}[_0x5a7309(0xc4)](_0x50aa23){const _0x2e9b9e=_0x5a7309;let _0x531a8c=this[_0x2e9b9e(0xb3)]();return this[_0x2e9b9e(0xca)](_0x531a8c,_0x5652de(_0x531a8c,this[_0x2e9b9e(0xe5)],_0x50aa23,this[_0x2e9b9e(0x91)]()));}[_0x5a7309(0xf3)](_0x39e8a6,_0x1820ee,_0x284a1c=_0x10ee64[_0x5a7309(0x108)]){const _0x223921=_0x5a7309;return this[_0x223921(0xd3)](_0x39e8a6,0x1,_0x1820ee,_0x284a1c);}['moveRows'](_0x14517f,_0x1103ad,_0x2c1053,_0x311001=_0x10ee64[_0x5a7309(0x108)]){const _0x27e497=_0x5a7309;let _0x282dad=this['_getDocumentData'](),_0x192667=_0x562547(_0x282dad,this[_0x27e497(0xe5)],_0x14517f,_0x2c1053,_0x1103ad,_0x311001,this[_0x27e497(0x91)]());return _0x192667?this['_mutateActions'](_0x282dad,_0x192667[_0x27e497(0xeb)]):!0x1;}[_0x5a7309(0x8e)](_0x46793c,_0x4cd306,_0x55b356=_0x10ee64[_0x5a7309(0xf8)]){const _0x336dd7=_0x5a7309;return this[_0x336dd7(0x117)](_0x46793c,0x1,_0x4cd306,_0x55b356);}[_0x5a7309(0x117)](_0x280885,_0x604b70,_0x539813,_0x2ad672=_0x10ee64[_0x5a7309(0xf8)]){const _0x26722a=_0x5a7309;let _0x429b6e=this[_0x26722a(0xb3)](),_0x22360f=_0x1d92cf(_0x429b6e,this[_0x26722a(0xe5)],_0x280885,_0x539813,_0x604b70,_0x2ad672,this[_0x26722a(0x91)]());return _0x22360f?this[_0x26722a(0xca)](_0x429b6e,_0x22360f['actions']):!0x1;}[_0x5a7309(0xfe)](_0x3b9aee){const _0x13aa0e=_0x5a7309;try{let _0x334fc3=this[_0x13aa0e(0xb3)](),_0x469bba=_0xeb4e23({'documentData':_0x334fc3,'tableId':this[_0x13aa0e(0xe5)],..._0x3b9aee});return _0x469bba?this['_mutateActions'](_0x334fc3,_0x469bba[_0x13aa0e(0xeb)],_0x3b9aee):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x55d629){const _0x53d930=_0x5a7309;try{let _0x3178a8=this[_0x53d930(0xb3)](),_0x14fd47=_0x47ddf9({'documentData':_0x3178a8,'tableId':this[_0x53d930(0xe5)],..._0x55d629});return _0x14fd47?this['_mutateActions'](_0x3178a8,_0x14fd47[_0x53d930(0xeb)],_0x55d629):!0x1;}catch{return!0x1;}}[_0x5a7309(0x118)](_0x26bf05,_0x3b1be1,_0x199a27){const _0x3d0c66=_0x5a7309;let _0x3b83bc=this['_getDocumentData'](),_0x25a25b=_0x3d50a8(this[_0x3d0c66(0xef)][_0x3d0c66(0x11d)]()['getSnapshot'](),this[_0x3d0c66(0xc2)]);return this[_0x3d0c66(0xca)](_0x3b83bc,_0x12f912({'documentData':_0x3b83bc,'tableId':this['_tableId'],'row':_0x26bf05,'column':_0x3b1be1,'text':_0x199a27},_0x25a25b),this['getCellRange'](_0x26bf05,_0x3b1be1));}[_0x5a7309(0x131)](_0xcd9b68,_0x290ef8){const _0xb59ddf=_0x5a7309;let _0x129403=this[_0xb59ddf(0xb3)]();return this[_0xb59ddf(0xca)](_0x129403,_0x1f74fd(_0x129403,{'tableId':this[_0xb59ddf(0xe5)],..._0xcd9b68,'value':_0x290ef8}),_0xcd9b68);}[_0x5a7309(0xae)](_0x2ed71f,_0x4aef70){const _0x4a9f88=_0x5a7309;let _0x4f7e90=this[_0x4a9f88(0xb3)]();return this['_mutateActions'](_0x4f7e90,_0x48ab03({'documentData':_0x4f7e90,'tableId':this[_0x4a9f88(0xe5)],..._0x2ed71f,'margin':_0x4aef70}),_0x2ed71f);}[_0x5a7309(0x133)](_0x1484b4){const _0x1dca7a=_0x5a7309;let _0x18ef70=this[_0x1dca7a(0xb3)]();return this[_0x1dca7a(0xca)](_0x18ef70,_0x30db38(_0x18ef70,this['_tableId'],_0x1484b4));}[_0x5a7309(0xbc)](_0x3f7ac6,_0x3fb8ac){const _0x17b16f=_0x5a7309;var _0x4b87bb,_0x1f37dc,_0x348d32,_0x4b0b3f;let _0x5d75f4=this[_0x17b16f(0xb3)]();return this['_mutateActions'](_0x5d75f4,_0x440761({'documentData':_0x5d75f4,'tableId':this[_0x17b16f(0xe5)],..._0x3f7ac6,'preset':(_0x4b87bb=_0x3fb8ac['preset'])==null?_0x58b008[_0x17b16f(0x12f)]:_0x4b87bb,'border':(_0x1f37dc=_0x3fb8ac['border'])==null?{'color':{'rgb':(_0x348d32=_0x3fb8ac[_0x17b16f(0xe6)])==null?_0x17b16f(0x9c):_0x348d32},'width':{'v':(_0x4b0b3f=_0x3fb8ac[_0x17b16f(0xee)])==null?0x1:_0x4b0b3f},'dashStyle':_0x54a3a9['SOLID']}:_0x1f37dc}),_0x3f7ac6);}[_0x5a7309(0x13a)](_0x3db7c8){const _0x3d5a94=_0x5a7309;return this[_0x3d5a94(0x131)](this[_0x3d5a94(0xac)](),_0x3db7c8);}[_0x5a7309(0xb1)](_0x18ffca){const _0x54ec4f=_0x5a7309;return this[_0x54ec4f(0xbc)](this[_0x54ec4f(0xac)](),_0x18ffca);}[_0x5a7309(0xde)](_0x3b89f8){const _0x422c06=_0x5a7309;let _0x117ccf=!_0x3b89f8[_0x422c06(0xf9)]||this[_0x422c06(0x13a)](_0x3b89f8[_0x422c06(0xf9)]),_0x4e754c=!_0x3b89f8[_0x422c06(0xd6)]||this[_0x422c06(0xb1)](_0x3b89f8[_0x422c06(0xd6)]);return _0x117ccf&&_0x4e754c;}[_0x5a7309(0x142)](_0x4e8cd3,_0x54d987,_0x224b36=_0xfc2443[_0x5a7309(0xa9)]){const _0x4deacd=_0x5a7309;var _0x2a0b7e;let _0x2fad26=this[_0x4deacd(0xb3)]();return(_0x2a0b7e=_0x2fad26[_0x4deacd(0xf2)])!=null&&(_0x2a0b7e=_0x2a0b7e[this[_0x4deacd(0xe5)]])!=null&&_0x2a0b7e['tableRows'][_0x4e8cd3]?this[_0x4deacd(0xca)](_0x2fad26,_0x147439(_0x2fad26,this[_0x4deacd(0xe5)],_0x4e8cd3,_0x54d987,_0x224b36)):!0x1;}['getRowHeight'](_0x4bd5cf){const _0x4e3ccd=_0x5a7309;var _0x53cb57;let _0x39abc5=(_0x53cb57=this[_0x4e3ccd(0x140)]())==null||(_0x53cb57=_0x53cb57[_0x4e3ccd(0xd7)][_0x4bd5cf])==null?void 0x0:_0x53cb57[_0x4e3ccd(0x10b)];return _0x39abc5?_0x768e38['deepClone'](_0x39abc5):null;}['setColumnWidth'](_0x3a6fa2,_0x56f053){const _0x41e508=_0x5a7309;var _0x5bbbd3;let _0x4ce98d=this[_0x41e508(0xb3)]();return(_0x5bbbd3=_0x4ce98d[_0x41e508(0xf2)])!=null&&(_0x5bbbd3=_0x5bbbd3[this['_tableId']])!=null&&_0x5bbbd3['tableColumns'][_0x3a6fa2]?this['_mutateActions'](_0x4ce98d,_0x586d9c(_0x4ce98d,this[_0x41e508(0xe5)],_0x3a6fa2,_0x56f053)):!0x1;}[_0x5a7309(0xb6)](_0x3ee6d2=0x0,_0x2ffb2b=this[_0x5a7309(0x111)]()){const _0x1fad22=_0x5a7309;let _0x211ee0=this[_0x1fad22(0xb3)]();return this['_mutateActions'](_0x211ee0,_0x2c19e6(_0x211ee0,this[_0x1fad22(0xe5)],_0x3ee6d2,_0x3ee6d2+_0x2ffb2b-0x1));}[_0x5a7309(0xc0)](_0x39d56d=0x0,_0x4577b4=this[_0x5a7309(0x12d)]()){const _0x27ac93=_0x5a7309;let _0x4b2393=this[_0x27ac93(0xb3)]();return this[_0x27ac93(0xca)](_0x4b2393,_0x511149(_0x4b2393,this['_tableId'],_0x39d56d,_0x39d56d+_0x4577b4-0x1));}['getHeaderRowCount'](){const _0x48ac84=_0x5a7309;var _0x46870e,_0x657407;return(_0x46870e=(_0x657407=this[_0x48ac84(0xd9)]())==null?void 0x0:_0x657407[_0x48ac84(0xfc)])==null?0x0:_0x46870e;}[_0x5a7309(0x8f)](_0x450c2d){const _0x2ff97e=_0x5a7309;let _0x397c6d=this[_0x2ff97e(0xd4)][_0x2ff97e(0xd0)](_0x4c03e2),_0x368868=this['_getDocumentData'](),_0x356b82=_0x1cf2f0(_0x368868,this[_0x2ff97e(0xe5)],_0x450c2d);if(!_0x356b82)return!0x1;let _0x61b68b=this[_0x2ff97e(0xca)](_0x368868,_0x356b82[_0x2ff97e(0xeb)]);return _0x61b68b&&_0x397c6d[_0x2ff97e(0x8f)](this[_0x2ff97e(0xfa)],this[_0x2ff97e(0xe5)],_0x356b82[_0x2ff97e(0xfc)]),_0x61b68b;}[_0x5a7309(0x100)](_0x24dd90){return this['setHeaderRowCount'](_0x24dd90);}[_0x5a7309(0xf7)](){const _0x4ab7f3=_0x5a7309;var _0x725421,_0x592b89;return(_0x725421=(_0x592b89=this[_0x4ab7f3(0xd9)]())==null?void 0x0:_0x592b89[_0x4ab7f3(0xe2)])!=null&&_0x725421;}[_0x5a7309(0xa3)](){const _0x55a084=_0x5a7309;let _0x45309c=this[_0x55a084(0xd4)][_0x55a084(0xd0)](_0x4c03e2),_0x40358b=this[_0x55a084(0xb3)](),_0x47f804=_0x27a573(_0x40358b,this[_0x55a084(0xe5)],this[_0x55a084(0x91)]());if(!_0x47f804)return!0x1;let _0x16b558=this[_0x55a084(0xca)](_0x40358b,_0x47f804[_0x55a084(0xeb)]);return _0x16b558&&_0x45309c[_0x55a084(0x130)](this[_0x55a084(0xfa)],this[_0x55a084(0xe5)],!0x0),_0x16b558;}[_0x5a7309(0x92)](_0x46187e,_0x29f6c4){const _0xb32938=_0x5a7309;return this[_0xb32938(0xd4)][_0xb32938(0xd0)](_0x4c03e2)['setColumnType'](this[_0xb32938(0xfa)],this[_0xb32938(0xe5)],_0x46187e,_0x29f6c4),!0x0;}[_0x5a7309(0x95)](_0x186ce6,_0x4d0cc6){const _0x23a1a1=_0x5a7309;let _0x2383fb=this[_0x23a1a1(0xb3)]();return this['_mutateActions'](_0x2383fb,_0xf5bd7f(_0x2383fb,this[_0x23a1a1(0x9e)](),this['_tableId'],_0x186ce6,_0x4d0cc6,this['_getBodyPath']()));}[_0x5a7309(0xb3)](){const _0x357789=_0x5a7309;let _0x334d4d=this['_document'][_0x357789(0x11d)]()[_0x357789(0x9f)]();return this[_0x357789(0xc2)]?{...this[_0x357789(0xef)][_0x357789(0x11d)](this[_0x357789(0xc2)])[_0x357789(0x9f)](),'documentStyle':_0x334d4d[_0x357789(0xfb)],'tableSource':_0x334d4d['tableSource']}:_0x334d4d;}['_serializeModel'](){const _0x39fb4e=_0x5a7309;return this[_0x39fb4e(0xd4)]['get'](_0x4c03e2)['serialize'](this[_0x39fb4e(0xfa)]);}[_0x5a7309(0x91)](){const _0x12f4ef=_0x5a7309;return _0x3d50a8(this[_0x12f4ef(0xef)][_0x12f4ef(0x11d)]()[_0x12f4ef(0x9f)](),this[_0x12f4ef(0xc2)]);}[_0x5a7309(0xca)](_0x1a9832,_0x77e4f,_0x1c20ba){const _0x1fefa9=_0x5a7309;return _0x5765fa(this[_0x1fefa9(0xd4)][_0x1fefa9(0xd0)](_0x20a6d6),this[_0x1fefa9(0xfa)],_0x1a9832,_0x77e4f,_0x1c20ba?{'tableId':this['_tableId'],'segmentId':this['_segmentId'],..._0x1c20ba}:void 0x0);}},Q=class extends _0x3eed05{[_0x5a7309(0xc6)](_0x2eb2f8=''){const _0x12bfe0=_0x5a7309;return this[_0x12bfe0(0xd2)](_0x2eb2f8)['map'](_0x385361=>this[_0x12bfe0(0xa5)](_0x385361[_0x12bfe0(0x132)],_0x2eb2f8));}[_0x5a7309(0xb2)](_0x958f58,_0x2f3aa5=''){const _0x34c189=_0x5a7309;return this[_0x34c189(0xd2)](_0x2f3aa5)[_0x34c189(0x107)](_0x212eeb=>_0x212eeb['tableId']===_0x958f58)?this[_0x34c189(0xa5)](_0x958f58,_0x2f3aa5):null;}[_0x5a7309(0xa6)](_0x24c57c,_0x3bd767=''){const _0x563960=_0x5a7309;var _0x1d3a0d;let _0x1cccbe=(_0x1d3a0d=this['_getTables'](_0x3bd767)[_0x24c57c])==null?void 0x0:_0x1d3a0d[_0x563960(0x132)];return _0x1cccbe?this[_0x563960(0xa5)](_0x1cccbe,_0x3bd767):null;}[_0x5a7309(0xb0)](){const _0xc4bed8=_0x5a7309;let _0x395974=this[_0xc4bed8(0xd4)][_0xc4bed8(0xd0)](_0x53db45)[_0xc4bed8(0xf0)]();return _0x395974!=null&&_0x395974[_0xc4bed8(0x132)]?this[_0xc4bed8(0xa5)](_0x395974[_0xc4bed8(0x132)],_0x395974[_0xc4bed8(0x134)]):null;}[_0x5a7309(0x10f)](_0x5c5c75,_0x964ff2=''){const _0x52d9bf=_0x5a7309;var _0x182815;return(_0x182815=this[_0x52d9bf(0x136)](_0x5c5c75,_0x964ff2)[0x0])==null?null:_0x182815;}[_0x5a7309(0x136)](_0x553e85,_0x14f696=''){const _0x2c7fe8=_0x5a7309;let _0x8348c7=this[_0x2c7fe8(0x90)](_0x14f696),_0x1390c8=typeof _0x553e85==_0x2c7fe8(0xbb)?{'text':_0x553e85}:_0x553e85;return this[_0x2c7fe8(0xc6)](_0x14f696)[_0x2c7fe8(0x12b)](_0x1991c4=>{const _0x306057=_0x2c7fe8;let _0x362d84=_0x1991c4[_0x306057(0x125)]();return!(_0x1390c8[_0x306057(0x132)]&&_0x362d84!==_0x1390c8['tableId']||_0x1390c8[_0x306057(0x96)]&&!this['_tableContainsText'](_0x8348c7,_0x362d84,_0x1390c8[_0x306057(0x96)])||_0x1390c8[_0x306057(0xa7)]&&!this['_rowContainsText'](_0x1991c4,0x0,_0x1390c8[_0x306057(0xa7)])||_0x1390c8[_0x306057(0x105)]&&!this['_rowContainsText'](_0x1991c4,0x0,_0x1390c8[_0x306057(0x105)]));});}[_0x5a7309(0xc5)](_0x37f10e,_0x1e432e,_0x4d8839={}){const _0x569fc3=_0x5a7309;var _0x35129b,_0x409f6e;let _0x331035=this[_0x569fc3(0xd4)][_0x569fc3(0xd0)](_0x20a6d6),_0x1d568e=(_0x35129b=_0x4d8839['tableId'])==null?_0x4e304f(0x6):_0x35129b;return _0x331035[_0x569fc3(0xab)](_0x4cf4da['id'],{..._0x4d8839,'unitId':this[_0x569fc3(0x125)](),'rows':_0x37f10e,'columns':_0x1e432e,'tableId':_0x1d568e})?this['_createFDocumentTable'](_0x1d568e,(_0x409f6e=_0x4d8839['segmentId'])==null?'':_0x409f6e):null;}[_0x5a7309(0x12a)](_0x299ed5,_0x1a8c23={}){const _0x2e1611=_0x5a7309;var _0x29ba44,_0x548bfe;let _0x21ade1=this[_0x2e1611(0xd4)]['get'](_0x20a6d6),_0x17c55b=(_0x29ba44=_0x1a8c23[_0x2e1611(0x132)])==null?_0x4e304f(0x6):_0x29ba44;return _0x21ade1[_0x2e1611(0xab)](_0x4cf4da['id'],{..._0x1a8c23,'unitId':this['getId'](),'values':_0x299ed5,'tableId':_0x17c55b})?this['_createFDocumentTable'](_0x17c55b,(_0x548bfe=_0x1a8c23[_0x2e1611(0x134)])==null?'':_0x548bfe):null;}[_0x5a7309(0xd2)](_0x2c3a97=''){let {tables:_0x33be7d=[]}=this['getBody'](_0x2c3a97);return _0x33be7d;}[_0x5a7309(0x90)](_0x2d6520=''){const _0x433951=_0x5a7309;let _0x766311=this['getDocumentDataModel']()[_0x433951(0x9f)]();return _0x2d6520?{...this['getDocumentDataModel'](_0x2d6520)[_0x433951(0x9f)](),'documentStyle':_0x766311[_0x433951(0xfb)],'tableSource':_0x766311[_0x433951(0xf2)]}:_0x766311;}[_0x5a7309(0xa5)](_0x321a1c,_0x86b3ae=''){const _0x35e5ac=_0x5a7309;return this[_0x35e5ac(0xd4)][_0x35e5ac(0xb9)](Z,this,_0x321a1c,_0x86b3ae,this[_0x35e5ac(0xd4)]);}[_0x5a7309(0x13f)](_0x5a5959,_0x23ab54,_0x59562f){const _0x2b2c25=_0x5a7309;var _0x2a4ca0;let _0x14811b=_0x1dcfbf(_0x5a5959,_0x23ab54);if(!_0x14811b)return!0x1;let _0x4349ba=(_0x2a4ca0=_0x5a5959[_0x2b2c25(0xad)])==null?void 0x0:_0x2a4ca0[_0x2b2c25(0xc1)];return _0x4349ba?_0x4349ba[_0x2b2c25(0xff)](_0x14811b['startOffset'],_0x14811b[_0x2b2c25(0x11a)])['includes'](_0x59562f):!0x1;}[_0x5a7309(0xbe)](_0x48ce36,_0x34e1fb,_0x5ee99e){const _0x144876=_0x5a7309;return Array['from']({'length':_0x48ce36[_0x144876(0x12d)]()},(_0x1c4075,_0x110106)=>_0x48ce36['getCellText'](_0x34e1fb,_0x110106))[_0x144876(0x107)](_0x559012=>_0x559012[_0x144876(0x124)](_0x5ee99e));}};_0x3eed05[_0x5a7309(0x135)](Q);function _0x54ce(_0xb5c362,_0x5afedd){_0xb5c362=_0xb5c362-0x8e;const _0x39d1f0=_0x39d1();let _0x54ce4c=_0x39d1f0[_0xb5c362];return _0x54ce4c;}function _0x39d1(){const _0x4f98b1=['moveRows','_injector','selectColumns','border','tableRows','getCellMarginOverride','getMetadata','DocsTableBorderPreset','toPrimitive','cellMargin','1424504QHTHnE','setTableStyle','21VSNhHt','setText','getColumnsRange','titleRow','DocsTableRowInsertPosition','_row','_tableId','color','229345xRXtbp','insertColumnsBefore','selectTable','object','actions','Table','getRowIndex','width','_document','getStableTableSelection','589791xjtRgi','tableSource','moveRow','appendRow','Right','selectRange','hasTitleRow','Left','backgroundColor','_unitId','documentStyle','headerRowCount','getCellMargin','mergeCells','slice','pinHeaderRows','iterator','from','deleteRow','setBackgroundColor','titleText','Range','some','Above','11uOtbfF','_column','trHeight','getCell','insertColumnsAfter','850626vnIJeq','findTableByText','getRowRange','getRowCount','DocsTableSelectionKind','setStructuralSelection','DocsTableColumnType','default','cells','moveColumns','setCellText','getColumnRange','endOffset','symbol','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getDocumentDataModel','mergeTo','rows','36ZkjoLO','getCellInsertOffset','getCellContentRange','selectRows','includes','getId','size','insertRowsBefore','DocsTableColumnInsertPosition','tableColumns','insertTableFromData','filter','DashStyleType','getColumnCount','108QoyNPm','All','setTitleRow','setCellBackground','tableId','setDefaultCellMargin','segmentId','extend','findTables','tableCells','Row','getMarginOverride','setTableBackground','moveTableBy','DocsTableSortDirection','defineProperty','appendColumn','_tableContainsText','getSource','916916uxPOsE','setRowHeight','moveColumn','setHeaderRowCount','_getTableDocumentData','_getBodyPath','setColumnType','length','getRowsRange','sortByColumn','text','622510whMvvC','2475340uLghep','margin','call','Column','#1f1f1f','getText','_serializeModel','getSnapshot','constructor','getCellRange','Below','insertTitleRow','getRange','_createFDocumentTable','getTableAt','headerText','startOffset','AT_LEAST','insertRowBefore','syncExecuteCommand','getTableRange','body','setCellMargin','max','getTableAtSelection','setTableBorder','getTable','_getDocumentData','396zAXBYd','insertRowsAfter','distributeRows','_table','getCellText','createInstance','getDefaultCellMargin','string','setBorder','unmerge','_rowContainsText','insertColumnBefore','distributeColumns','dataStream','_segmentId','deepClone','moveTableToOffset','insertTable','getTables','2AeVqMl','getSegmentId','deleteRows','_mutateActions','getDefaultCellMarginOverride','setMargin','selectColumn','unmergeCells','insertRowAfter','get','function','_getTables'];_0x39d1=function(){return _0x4f98b1;};return _0x39d1();}export{Z as FDocumentTable,K as FDocumentTableCell};
1
+ const _0x4be2ba=_0x45d7;(function(_0x2f40a4,_0x20a4f3){const _0x5df94f=_0x45d7,_0x1deb22=_0x2f40a4();while(!![]){try{const _0x1dd3cd=-parseInt(_0x5df94f(0x1fd))/0x1+parseInt(_0x5df94f(0x1f4))/0x2*(parseInt(_0x5df94f(0x249))/0x3)+-parseInt(_0x5df94f(0x256))/0x4+parseInt(_0x5df94f(0x24d))/0x5*(-parseInt(_0x5df94f(0x1ef))/0x6)+-parseInt(_0x5df94f(0x227))/0x7+parseInt(_0x5df94f(0x26b))/0x8+parseInt(_0x5df94f(0x1d4))/0x9;if(_0x1dd3cd===_0x20a4f3)break;else _0x1deb22['push'](_0x1deb22['shift']());}catch(_0x2661cc){_0x1deb22['push'](_0x1deb22['shift']());}}}(_0xed0b,0xd1aac));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x128c72,DocsTableBorderPreset as _0x586c50,DocsTableColumnInsertPosition as _0x5d1b09,DocsTableColumnType as _0x168d91,DocsTableInsertPosition as _0x1a77ca,DocsTableInsertTableCommand as _0x1a8727,DocsTableInsertTablePosition as _0x24d10c,DocsTableModel as _0x327ad5,DocsTableRowInsertPosition as _0x1cc6c3,DocsTableSelectionKind as _0x2e7991,DocsTableSelectionService as _0x4faa51,DocsTableSortDirection as _0x3df64f,buildDeleteTableColumnsMutationActions as _0x18e7bc,buildDeleteTableMutationActions as _0x58547b,buildDeleteTableRowsMutationActions as _0x24d29a,buildDistributeTableColumnsMutationActions as _0x8489c6,buildDistributeTableRowsMutationActions as _0x2ec348,buildInsertTableColumnsMutationActions as _0x28c1c8,buildInsertTableRowsMutationActions as _0x5a0282,buildInsertTableTitleRowMutationActions as _0x10e7d2,buildMergeCellsMutationActions as _0x38ecaf,buildMoveFloatingTableMutationActions as _0x1cff2d,buildMoveTableColumnsMutationActions as _0x4934cb,buildMoveTableRowsMutationActions as _0x21e560,buildMoveTableToOffsetMutationActions as _0x34e03c,buildResizeTableColumnActionsFromWidth as _0x483a45,buildResizeTableRowActionsFromHeight as _0x256a53,buildSetTableBackgroundMutationActions as _0x4d126b,buildSetTableBorderMutationActions as _0x5ee826,buildSetTableCellMarginMutationActions as _0x4a5ca6,buildSetTableCellTextMutationActions as _0x11bcea,buildSetTableDefaultCellMarginMutationActions as _0x571f78,buildSetTableHeaderRowCountMutationActions as _0x3e5107,buildSortTableMutationActions as _0x545c73,buildUnmergeCellsMutationActions as _0x240436,executeRichTextTableActions as _0x518639,getTableActionBodyPath as _0x39cf3e,getTableRangeById as _0xfdef28}from'@univerjs-pro/docs-table';import{DashStyleType as _0x3638cc,ICommandService as _0x3986b4,TableRowHeightRule as _0x4c55db,Tools as _0x17fac4,generateRandomId as _0x50ccad}from'@univerjs/core';import{FEnum as _0x39707c}from'@univerjs/core/facade';import{FDocument as _0x2e94be}from'@univerjs/docs/facade';var G=class extends _0x39707c{get[_0x4be2ba(0x1f8)](){return _0x24d10c;}get[_0x4be2ba(0x245)](){return _0x168d91;}get[_0x4be2ba(0x1d3)](){return _0x2e7991;}get[_0x4be2ba(0x262)](){return _0x1cc6c3;}get[_0x4be2ba(0x203)](){return _0x5d1b09;}get[_0x4be2ba(0x1e6)](){return _0x586c50;}get['DocsTableSortDirection'](){return _0x3df64f;}get['DashStyleType'](){return _0x3638cc;}};function _0x45d7(_0x3488a0,_0x430beb){_0x3488a0=_0x3488a0-0x1c5;const _0xed0b95=_0xed0b();let _0x45d731=_0xed0b95[_0x3488a0];return _0x45d731;}_0x39707c['extend'](G);function _0xed0b(){const _0x14b3b6=['body','headerRowCount','_getTableDocumentData','_tableContainsText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Below','mergeCells','_createFDocumentTable','string','_getDocumentData','type','defineProperty','DocsTableSelectionKind','22920336RvnBQe','hasTitleRow','mergeTo','getCellInsertOffset','selectRow','getCell','SOLID','toPrimitive','setStructuralSelection','setBorder','documentStyle','tableId','titleText','preset','slice','actions','selectColumns','getSource','DocsTableBorderPreset','Cell','syncExecuteCommand','clearMarginOverride','_document','getMargin','filter','getHeaderRowCount','distributeColumns','5918466rkZUBX','insertRowsAfter','includes','segmentId','deleteRows','990442YTgLWO','tableCells','setTableBorder','_tableId','DocsTableInsertTablePosition','getTable','getTableRange','length','cells','912471LHONFx','map','from','getDefaultCellMarginOverride','getBody','insertTableFromData','DocsTableColumnInsertPosition','getDocumentDataModel','backgroundColor','setTableBackground','getInfo','_getBodyPath','getCellContentRange','get','border','dataStream','setCellMargin','selectRows','unmerge','deleteTable','deleteRow','getDefaultCellMargin','pinHeaderRows','width','function','_getTables','getTables','setRowHeight','createInstance','endOffset','_unitId','rows','call','getCellRange','getInsertOffset','getRowsRange','insertColumnsAfter','insertColumnBefore','getCellMarginOverride','insertColumnAfter','getId','_column','10966543GROaWz','getCellText','_table','appendColumn','selectColumn','findTables','columnTypes','getColumnsRange','tableRows','setCellText','_serializeModel','cellMargin','selectTable','findTableByText','color','some','_row','titleRow','Left','insertTitleRow','text','_injector','Table','setBackgroundColor','setColumnType','_mutateActions','_rowContainsText','setText','getRowIndex','setDefaultCellMargin','DocsTableColumnType','Above','tableColumns','insertTable','6PrVgRX','getRowRange','headerText','getContentRange','5BwkxWX','insertRowAfter','deepClone','AT_LEAST','moveColumns','getSnapshot','symbol','setTableStyle','getRowHeight','3573612EVhsST','tableSource','setColumnWidth','moveRows','getColumnIndex','getRowCount','object','getColumnCount','#1f1f1f','constructor','insertRowsBefore','margin','DocsTableRowInsertPosition','setHeaderRowCount','setCellBackground','unmergeCells','_segmentId','moveRow','selectRange','getCellMargin','getText','13444672yOvjDV','default','getTableMetadata','getMetadata','getColumnRange','insertRowBefore','getTableAtSelection','max','All','deleteColumns','insertColumnsBefore','size','startOffset'];_0xed0b=function(){return _0x14b3b6;};return _0xed0b();}var K=class{constructor(_0x3525f1,_0xae4afe,_0x56386e){const _0x1fcf0d=_0x4be2ba;this[_0x1fcf0d(0x229)]=_0x3525f1,this['_row']=_0xae4afe,this['_column']=_0x56386e;}['getTable'](){const _0x49563c=_0x4be2ba;return this[_0x49563c(0x229)];}[_0x4be2ba(0x243)](){const _0x281fc1=_0x4be2ba;return this[_0x281fc1(0x237)];}[_0x4be2ba(0x25a)](){const _0x3cdd34=_0x4be2ba;return this[_0x3cdd34(0x226)];}[_0x4be2ba(0x26a)](){const _0x353fe0=_0x4be2ba;return this[_0x353fe0(0x229)][_0x353fe0(0x228)](this[_0x353fe0(0x237)],this[_0x353fe0(0x226)]);}[_0x4be2ba(0x24c)](){const _0x51f00a=_0x4be2ba;return this[_0x51f00a(0x229)]['getCellContentRange'](this[_0x51f00a(0x237)],this['_column']);}[_0x4be2ba(0x21f)](){const _0x231740=_0x4be2ba;return this[_0x231740(0x229)][_0x231740(0x1d7)](this[_0x231740(0x237)],this['_column']);}[_0x4be2ba(0x1eb)](){const _0x30948f=_0x4be2ba;return this[_0x30948f(0x229)][_0x30948f(0x269)](this[_0x30948f(0x237)],this['_column']);}['getMarginOverride'](){const _0x167c63=_0x4be2ba;return this[_0x167c63(0x229)][_0x167c63(0x223)](this[_0x167c63(0x237)],this[_0x167c63(0x226)]);}['setMargin'](_0x260bc9){const _0x595085=_0x4be2ba;return this[_0x595085(0x229)][_0x595085(0x20d)](this['_table'][_0x595085(0x21e)](this['_row'],this[_0x595085(0x226)]),_0x260bc9);}[_0x4be2ba(0x1e9)](){const _0x43e370=_0x4be2ba;return this[_0x43e370(0x229)][_0x43e370(0x20d)](this[_0x43e370(0x229)]['getCellRange'](this['_row'],this['_column']),null);}[_0x4be2ba(0x242)](_0x278d6a){const _0x3c5028=_0x4be2ba;return this[_0x3c5028(0x229)][_0x3c5028(0x230)](this['_row'],this['_column'],_0x278d6a);}[_0x4be2ba(0x23e)](_0x28afc8){const _0x210d94=_0x4be2ba;return this[_0x210d94(0x229)][_0x210d94(0x264)](this[_0x210d94(0x229)][_0x210d94(0x21e)](this[_0x210d94(0x237)],this[_0x210d94(0x226)]),_0x28afc8);}['setBorder'](_0x2dd97a){const _0x918acc=_0x4be2ba;return this[_0x918acc(0x229)]['setBorder'](this[_0x918acc(0x229)][_0x918acc(0x21e)](this[_0x918acc(0x237)],this[_0x918acc(0x226)]),_0x2dd97a);}[_0x4be2ba(0x1d6)](_0x54ead7,_0x41f998){const _0xcb2f88=_0x4be2ba;return this[_0xcb2f88(0x229)][_0xcb2f88(0x1cd)]({'startRow':this[_0xcb2f88(0x237)],'startColumn':this[_0xcb2f88(0x226)],'endRow':this[_0xcb2f88(0x237)]+_0x54ead7-0x1,'endColumn':this['_column']+_0x41f998-0x1});}[_0x4be2ba(0x20f)](){const _0x35a078=_0x4be2ba;return this['_table'][_0x35a078(0x265)](this['_table'][_0x35a078(0x21e)](this['_row'],this[_0x35a078(0x226)]));}};function q(_0xfab2e9){'@babel/helpers - typeof';const _0x484b21=_0x4be2ba;return q=typeof Symbol==_0x484b21(0x215)&&typeof Symbol['iterator']==_0x484b21(0x253)?function(_0x433cf0){return typeof _0x433cf0;}:function(_0x422614){const _0x2f7daa=_0x484b21;return _0x422614&&typeof Symbol=='function'&&_0x422614[_0x2f7daa(0x25f)]===Symbol&&_0x422614!==Symbol['prototype']?_0x2f7daa(0x253):typeof _0x422614;},q(_0xfab2e9);}function J(_0x15f115,_0x122734){const _0x4589d4=_0x4be2ba;if(q(_0x15f115)!=_0x4589d4(0x25c)||!_0x15f115)return _0x15f115;var _0x27c58b=_0x15f115[Symbol[_0x4589d4(0x1db)]];if(_0x27c58b!==void 0x0){var _0x246b20=_0x27c58b[_0x4589d4(0x21d)](_0x15f115,_0x122734||_0x4589d4(0x26c));if(q(_0x246b20)!=_0x4589d4(0x25c))return _0x246b20;throw TypeError(_0x4589d4(0x1cb));}return(_0x122734===_0x4589d4(0x1cf)?String:Number)(_0x15f115);}function Y(_0x3797fe){const _0x2dbeac=_0x4be2ba;var _0x5de97e=J(_0x3797fe,_0x2dbeac(0x1cf));return q(_0x5de97e)==_0x2dbeac(0x253)?_0x5de97e:_0x5de97e+'';}function X(_0x1ae4f1,_0x5e9260,_0x506a12){const _0x325aa5=_0x4be2ba;return(_0x5e9260=Y(_0x5e9260))in _0x1ae4f1?Object[_0x325aa5(0x1d2)](_0x1ae4f1,_0x5e9260,{'value':_0x506a12,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ae4f1[_0x5e9260]=_0x506a12,_0x1ae4f1;}var Z=class{constructor(_0x281f04,_0x3b8d45,_0x306805='',_0x18bb95){const _0x19bf4a=_0x4be2ba;this[_0x19bf4a(0x1ea)]=_0x281f04,this[_0x19bf4a(0x1f7)]=_0x3b8d45,this[_0x19bf4a(0x266)]=_0x306805,this[_0x19bf4a(0x23c)]=_0x18bb95,X(this,_0x19bf4a(0x21b),void 0x0),this[_0x19bf4a(0x21b)]=this['_document'][_0x19bf4a(0x225)]();}[_0x4be2ba(0x225)](){const _0x2d4e73=_0x4be2ba;return this[_0x2d4e73(0x1f7)];}['getSegmentId'](){const _0x4b0a1d=_0x4be2ba;return this[_0x4b0a1d(0x266)];}[_0x4be2ba(0x207)](){const _0x42705e=_0x4be2ba;return{'id':this[_0x42705e(0x1f7)],'rowCount':this[_0x42705e(0x25b)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x42705e(0x26e)](),'source':this[_0x42705e(0x1e5)]()};}['describe'](){const _0x243f79=_0x4be2ba;let _0x32dc32=this['getMetadata'](),_0x5936d3=this[_0x243f79(0x1e5)](),_0x2833d9=this[_0x243f79(0x25d)]();return{'id':this[_0x243f79(0x1f7)],'rowCount':this['getRowCount'](),'columnCount':_0x2833d9,'headerRowCount':(_0x32dc32==null?void 0x0:_0x32dc32['headerRowCount'])??0x0,'titleRow':(_0x32dc32==null?void 0x0:_0x32dc32['titleRow'])??!0x1,'columns':Array[_0x243f79(0x1ff)]({'length':_0x2833d9},(_0x4cbdef,_0x201264)=>{const _0x436173=_0x243f79;var _0xf9c36d,_0x3a55b3;return{'index':_0x201264,'type':_0x32dc32==null||(_0xf9c36d=_0x32dc32[_0x436173(0x22d)])==null||(_0xf9c36d=_0xf9c36d[_0x201264])==null?void 0x0:_0xf9c36d[_0x436173(0x1d1)],'width':_0x5936d3==null||(_0x3a55b3=_0x5936d3[_0x436173(0x247)][_0x201264])==null?void 0x0:_0x3a55b3[_0x436173(0x1c5)][_0x436173(0x214)]['v']};}),'sampleRows':Array[_0x243f79(0x1ff)]({'length':this[_0x243f79(0x25b)]()},(_0x1f8d32,_0x53e0f4)=>Array[_0x243f79(0x1ff)]({'length':_0x2833d9},(_0x4790f2,_0x488122)=>this[_0x243f79(0x228)](_0x53e0f4,_0x488122)))[_0x243f79(0x1ec)](_0x1e4091=>_0x1e4091[_0x243f79(0x236)](_0x2c30c3=>_0x2c30c3[_0x243f79(0x1fb)]>0x0))[_0x243f79(0x1e2)](0x0,0x5)};}[_0x4be2ba(0x25b)](){const _0x4b2ea7=_0x4be2ba;var _0x5c1e4c;return((_0x5c1e4c=this[_0x4b2ea7(0x1e5)]())==null?void 0x0:_0x5c1e4c[_0x4b2ea7(0x22f)][_0x4b2ea7(0x1fb)])??0x0;}['getColumnCount'](){const _0x180f04=_0x4be2ba;var _0x59aa98;return((_0x59aa98=this[_0x180f04(0x1e5)]())==null?void 0x0:_0x59aa98[_0x180f04(0x247)][_0x180f04(0x1fb)])??0x0;}[_0x4be2ba(0x1d9)](_0x547449,_0x252eb1){const _0x26501b=_0x4be2ba;var _0x31a726;return(_0x31a726=this[_0x26501b(0x1e5)]())!=null&&(_0x31a726=_0x31a726['tableRows'][_0x547449])!=null&&_0x31a726[_0x26501b(0x1f5)][_0x252eb1]?this[_0x26501b(0x23c)]['createInstance'](K,this,_0x547449,_0x252eb1):null;}[_0x4be2ba(0x228)](_0x1955ea,_0x59e7ed){const _0x2b1247=_0x4be2ba;var _0x18a792,_0x182b74;let _0x18895c=(_0x18a792=_0xfdef28(this[_0x2b1247(0x1d0)](),this[_0x2b1247(0x1f7)]))==null||(_0x18a792=_0x18a792[_0x2b1247(0x21c)][_0x1955ea])==null?void 0x0:_0x18a792[_0x2b1247(0x1fc)][_0x59e7ed];return _0x18895c?((_0x182b74=this['_getDocumentData']()[_0x2b1247(0x1c7)])==null?void 0x0:_0x182b74[_0x2b1247(0x20c)]['slice'](_0x18895c[_0x2b1247(0x1c6)]+0x1,_0x18895c[_0x2b1247(0x21a)])['replace'](/\r\n$/,''))??'':'';}[_0x4be2ba(0x269)](_0x4bf593,_0x4bb085){const _0x1fd848=_0x4be2ba;var _0x3ba71f;let _0xc8a49a=this[_0x1fd848(0x1e5)](),_0x39671a=_0xc8a49a==null||(_0x3ba71f=_0xc8a49a[_0x1fd848(0x22f)][_0x4bf593])==null?void 0x0:_0x3ba71f['tableCells'][_0x4bb085];return _0x39671a?_0x17fac4[_0x1fd848(0x24f)](_0x39671a[_0x1fd848(0x261)]??_0xc8a49a[_0x1fd848(0x232)]??_0x128c72):null;}['getCellMarginOverride'](_0x1acdec,_0x5a7606){const _0x5cf9ea=_0x4be2ba;var _0x30d1ae;let _0x14f6f8=(_0x30d1ae=this['getSource']())==null||(_0x30d1ae=_0x30d1ae['tableRows'][_0x1acdec])==null?void 0x0:_0x30d1ae['tableCells'][_0x5a7606];return _0x14f6f8!=null&&_0x14f6f8['margin']?_0x17fac4[_0x5cf9ea(0x24f)](_0x14f6f8[_0x5cf9ea(0x261)]):null;}[_0x4be2ba(0x212)](){const _0x17a756=_0x4be2ba;var _0x1ddf15;return _0x17fac4[_0x17a756(0x24f)](((_0x1ddf15=this[_0x17a756(0x1e5)]())==null?void 0x0:_0x1ddf15[_0x17a756(0x232)])??_0x128c72);}[_0x4be2ba(0x200)](){const _0x486517=_0x4be2ba;var _0x40c56e;let _0xc5ad0=(_0x40c56e=this['getSource']())==null?void 0x0:_0x40c56e[_0x486517(0x232)];return _0xc5ad0?_0x17fac4[_0x486517(0x24f)](_0xc5ad0):null;}[_0x4be2ba(0x26e)](){const _0x5e08a3=_0x4be2ba;return this[_0x5e08a3(0x23c)][_0x5e08a3(0x20a)](_0x327ad5)[_0x5e08a3(0x26d)](this['_unitId'],this[_0x5e08a3(0x1f7)]);}[_0x4be2ba(0x1e5)](){const _0x2372af=_0x4be2ba;var _0x1e8d45;return(_0x1e8d45=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0x1e8d45[this[_0x2372af(0x1f7)]];}['getRange'](){const _0xb49b64=_0x4be2ba;return _0xfdef28(this['_getDocumentData'](),this[_0xb49b64(0x1f7)]);}[_0x4be2ba(0x1fa)](){const _0x383345=_0x4be2ba;return{'startRow':0x0,'endRow':Math[_0x383345(0x272)](0x0,this[_0x383345(0x25b)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x383345(0x272)](0x0,this['getColumnCount']()-0x1)};}[_0x4be2ba(0x21e)](_0xc3a080,_0x5594d8){return{'startRow':_0xc3a080,'endRow':_0xc3a080,'startColumn':_0x5594d8,'endColumn':_0x5594d8};}[_0x4be2ba(0x209)](_0x122edd,_0x7467cb){const _0x31a18a=_0x4be2ba;var _0x2c42a4;let _0x2e0dbd=(_0x2c42a4=_0xfdef28(this[_0x31a18a(0x1d0)](),this[_0x31a18a(0x1f7)]))==null||(_0x2c42a4=_0x2c42a4['rows'][_0x122edd])==null?void 0x0:_0x2c42a4[_0x31a18a(0x1fc)][_0x7467cb];if(!_0x2e0dbd)return null;let _0x23fc13=_0x2e0dbd['startOffset']+0x1;return{'startOffset':_0x23fc13,'endOffset':Math[_0x31a18a(0x272)](_0x23fc13,_0x2e0dbd['endOffset']-0x1),'segmentId':this[_0x31a18a(0x266)]};}[_0x4be2ba(0x1d7)](_0x4447d9,_0x55234a){const _0x51ea74=_0x4be2ba;let _0x1776ca=this[_0x51ea74(0x209)](_0x4447d9,_0x55234a);return _0x1776ca?Math[_0x51ea74(0x272)](_0x1776ca[_0x51ea74(0x1c6)],_0x1776ca['endOffset']-0x1):null;}[_0x4be2ba(0x24a)](_0x280b68){const _0x456e16=_0x4be2ba;return this[_0x456e16(0x220)](_0x280b68,0x1);}[_0x4be2ba(0x220)](_0x2b4e0a,_0x3d7da5=0x1){const _0x1d9cc5=_0x4be2ba;return{'startRow':_0x2b4e0a,'endRow':_0x2b4e0a+_0x3d7da5-0x1,'startColumn':0x0,'endColumn':Math[_0x1d9cc5(0x272)](0x0,this[_0x1d9cc5(0x25d)]()-0x1)};}[_0x4be2ba(0x26f)](_0xcaa0ba){return this['getColumnsRange'](_0xcaa0ba,0x1);}[_0x4be2ba(0x22e)](_0x408f32,_0x5054f8=0x1){const _0x48e0d9=_0x4be2ba;return{'startRow':0x0,'endRow':Math[_0x48e0d9(0x272)](0x0,this['getRowCount']()-0x1),'startColumn':_0x408f32,'endColumn':_0x408f32+_0x5054f8-0x1};}[_0x4be2ba(0x233)](){const _0x3dbbd5=_0x4be2ba;return this[_0x3dbbd5(0x268)](this[_0x3dbbd5(0x1fa)](),_0x2e7991[_0x3dbbd5(0x23d)]);}[_0x4be2ba(0x1d8)](_0xa7f1a5){const _0x4073de=_0x4be2ba;return this[_0x4073de(0x20e)](_0xa7f1a5,0x1);}[_0x4be2ba(0x20e)](_0x3177c7,_0x492323=0x1){const _0x35d2ab=_0x4be2ba;return this[_0x35d2ab(0x268)](this[_0x35d2ab(0x220)](_0x3177c7,_0x492323),_0x2e7991['Row']);}[_0x4be2ba(0x22b)](_0x171ac2){const _0x198cc0=_0x4be2ba;return this[_0x198cc0(0x1e4)](_0x171ac2,0x1);}[_0x4be2ba(0x1e4)](_0x104190,_0x567558=0x1){const _0xf3c674=_0x4be2ba;return this[_0xf3c674(0x268)](this[_0xf3c674(0x22e)](_0x104190,_0x567558),_0x2e7991['Column']);}['selectCell'](_0x2880ca,_0x4ed289){const _0x48e7d8=_0x4be2ba;return this[_0x48e7d8(0x268)](this[_0x48e7d8(0x21e)](_0x2880ca,_0x4ed289),_0x2e7991[_0x48e7d8(0x1e7)]);}['selectRange'](_0x4f5956,_0x40e494=_0x2e7991['Range']){const _0x599f92=_0x4be2ba;return this[_0x599f92(0x23c)][_0x599f92(0x20a)](_0x4faa51)[_0x599f92(0x1dc)]({..._0x4f5956,'kind':_0x40e494,'segmentId':this[_0x599f92(0x266)],'tableId':this['_tableId']}),!0x0;}[_0x4be2ba(0x270)](_0x3d681c){const _0xa65c74=_0x4be2ba;return this[_0xa65c74(0x260)](_0x3d681c,0x1);}[_0x4be2ba(0x24e)](_0x5d6879){const _0x5bc146=_0x4be2ba;return this[_0x5bc146(0x1f0)](_0x5d6879,0x1);}[_0x4be2ba(0x260)](_0x52330f,_0x3d987f){const _0xe0b7c=_0x4be2ba;let _0x195c23=this[_0xe0b7c(0x1d0)](),_0xac8142=_0x5a0282(_0x195c23,this[_0xe0b7c(0x1f7)],_0x52330f,_0x3d987f,_0x1a77ca['Above'],this[_0xe0b7c(0x208)]());return _0xac8142?this[_0xe0b7c(0x240)](_0x195c23,_0xac8142[_0xe0b7c(0x1e3)]):!0x1;}[_0x4be2ba(0x1f0)](_0xa9830,_0x368592){const _0x4c1f8b=_0x4be2ba;let _0x3dda0a=this[_0x4c1f8b(0x1d0)](),_0x20a5e1=_0x5a0282(_0x3dda0a,this['_tableId'],_0xa9830,_0x368592,_0x1a77ca[_0x4c1f8b(0x1cc)],this[_0x4c1f8b(0x208)]());return _0x20a5e1?this[_0x4c1f8b(0x240)](_0x3dda0a,_0x20a5e1['actions']):!0x1;}['appendRow'](){const _0x544e45=_0x4be2ba;return this[_0x544e45(0x1f0)](Math[_0x544e45(0x272)](0x0,this['getRowCount']()-0x1),0x1);}[_0x4be2ba(0x222)](_0x3033dc){const _0xba873f=_0x4be2ba;return this[_0xba873f(0x275)](_0x3033dc,0x1);}[_0x4be2ba(0x224)](_0x53793d){return this['insertColumnsAfter'](_0x53793d,0x1);}[_0x4be2ba(0x275)](_0x5b09a2,_0x318f65){const _0x3c317a=_0x4be2ba;let _0x42945e=this[_0x3c317a(0x1d0)](),_0x38a658=_0x28c1c8(_0x42945e,this[_0x3c317a(0x1f7)],_0x5b09a2,_0x318f65,_0x1a77ca[_0x3c317a(0x239)],{'bodyPath':this[_0x3c317a(0x208)]()});return _0x38a658?this[_0x3c317a(0x240)](_0x42945e,_0x38a658[_0x3c317a(0x1e3)]):!0x1;}[_0x4be2ba(0x221)](_0x27b5bd,_0x254a0a){const _0x3b91be=_0x4be2ba;let _0x4914f9=this[_0x3b91be(0x1d0)](),_0x5164cc=_0x28c1c8(_0x4914f9,this['_tableId'],_0x27b5bd,_0x254a0a,_0x1a77ca['Right'],{'bodyPath':this[_0x3b91be(0x208)]()});return _0x5164cc?this[_0x3b91be(0x240)](_0x4914f9,_0x5164cc[_0x3b91be(0x1e3)]):!0x1;}[_0x4be2ba(0x22a)](){const _0x316598=_0x4be2ba;return this[_0x316598(0x221)](Math[_0x316598(0x272)](0x0,this[_0x316598(0x25d)]()-0x1),0x1);}[_0x4be2ba(0x211)](_0x14cc6d){const _0x1e6b0b=_0x4be2ba;return this[_0x1e6b0b(0x1f3)](_0x14cc6d,0x1);}[_0x4be2ba(0x1f3)](_0x530ab9,_0x41f0d0=0x1){const _0x1280f8=_0x4be2ba;let _0x3b6a1f=this['_getDocumentData'](),_0x172a61=_0x24d29a(_0x3b6a1f,this[_0x1280f8(0x1f7)],_0x530ab9,_0x530ab9+_0x41f0d0-0x1,this[_0x1280f8(0x208)]());return _0x172a61?this[_0x1280f8(0x240)](_0x3b6a1f,_0x172a61['actions']):!0x1;}['deleteColumn'](_0x13770a){const _0x2dbe9a=_0x4be2ba;return this[_0x2dbe9a(0x274)](_0x13770a,0x1);}[_0x4be2ba(0x274)](_0x4ca8ab,_0x99d850=0x1){const _0x44b84a=_0x4be2ba;let _0x2cd1df=this[_0x44b84a(0x1d0)](),_0x26d240=_0x18e7bc(_0x2cd1df,this[_0x44b84a(0x1f7)],_0x4ca8ab,_0x4ca8ab+_0x99d850-0x1,this[_0x44b84a(0x208)]());return _0x26d240?this[_0x44b84a(0x240)](_0x2cd1df,_0x26d240[_0x44b84a(0x1e3)]):!0x1;}[_0x4be2ba(0x210)](){const _0xa10612=_0x4be2ba;let _0x2a5ca1=this[_0xa10612(0x1d0)](),_0x1b0860=_0x58547b(_0x2a5ca1,this[_0xa10612(0x1f7)],this[_0xa10612(0x208)]());return _0x1b0860?this[_0xa10612(0x240)](_0x2a5ca1,_0x1b0860[_0xa10612(0x1e3)]):!0x1;}['moveTableBy'](_0x3bff1f,_0x4f13f9){const _0x4468e1=_0x4be2ba;let _0x1a6a9c=this[_0x4468e1(0x1d0)]();return this[_0x4468e1(0x240)](_0x1a6a9c,_0x1cff2d(_0x1a6a9c,this[_0x4468e1(0x1f7)],_0x3bff1f,_0x4f13f9));}['moveTableToOffset'](_0x24bd98){const _0x5541ee=_0x4be2ba;let _0x68fe9e=this['_getDocumentData']();return this[_0x5541ee(0x240)](_0x68fe9e,_0x34e03c(_0x68fe9e,this[_0x5541ee(0x1f7)],_0x24bd98,this[_0x5541ee(0x208)]()));}[_0x4be2ba(0x267)](_0x5a1ac3,_0x508409,_0xc80aa0=_0x1a77ca[_0x4be2ba(0x246)]){const _0x206c9c=_0x4be2ba;return this[_0x206c9c(0x259)](_0x5a1ac3,0x1,_0x508409,_0xc80aa0);}['moveRows'](_0x4df97e,_0x1a5efa,_0x36f915,_0x8ccdac=_0x1a77ca[_0x4be2ba(0x246)]){const _0x8e386e=_0x4be2ba;let _0x438cc3=this[_0x8e386e(0x1d0)](),_0x2814f5=_0x21e560(_0x438cc3,this[_0x8e386e(0x1f7)],_0x4df97e,_0x36f915,_0x1a5efa,_0x8ccdac,this[_0x8e386e(0x208)]());return _0x2814f5?this['_mutateActions'](_0x438cc3,_0x2814f5[_0x8e386e(0x1e3)]):!0x1;}['moveColumn'](_0x43c602,_0x2efe08,_0x1e00be=_0x1a77ca[_0x4be2ba(0x239)]){const _0xe9a85d=_0x4be2ba;return this[_0xe9a85d(0x251)](_0x43c602,0x1,_0x2efe08,_0x1e00be);}[_0x4be2ba(0x251)](_0x22497c,_0x2551a9,_0x1bfc2b,_0x2de792=_0x1a77ca[_0x4be2ba(0x239)]){const _0x42ee20=_0x4be2ba;let _0x487f53=this['_getDocumentData'](),_0x27847=_0x4934cb(_0x487f53,this[_0x42ee20(0x1f7)],_0x22497c,_0x1bfc2b,_0x2551a9,_0x2de792,this[_0x42ee20(0x208)]());return _0x27847?this[_0x42ee20(0x240)](_0x487f53,_0x27847[_0x42ee20(0x1e3)]):!0x1;}[_0x4be2ba(0x1cd)](_0x2e4f4e){const _0x56e4f7=_0x4be2ba;try{let _0x19bdff=this['_getDocumentData'](),_0x145945=_0x38ecaf({'documentData':_0x19bdff,'tableId':this[_0x56e4f7(0x1f7)],..._0x2e4f4e});return _0x145945?this['_mutateActions'](_0x19bdff,_0x145945[_0x56e4f7(0x1e3)],_0x2e4f4e):!0x1;}catch{return!0x1;}}[_0x4be2ba(0x265)](_0x29b2fe){const _0x453549=_0x4be2ba;try{let _0x479622=this[_0x453549(0x1d0)](),_0x4e67d6=_0x240436({'documentData':_0x479622,'tableId':this[_0x453549(0x1f7)],..._0x29b2fe});return _0x4e67d6?this[_0x453549(0x240)](_0x479622,_0x4e67d6['actions'],_0x29b2fe):!0x1;}catch{return!0x1;}}['setCellText'](_0xc5baf8,_0x399985,_0x43c52e){const _0x4b0f68=_0x4be2ba;let _0x509c7f=this[_0x4b0f68(0x1d0)](),_0x3fc7a5=_0x39cf3e(this[_0x4b0f68(0x1ea)]['getDocumentDataModel']()[_0x4b0f68(0x252)](),this[_0x4b0f68(0x266)]);return this[_0x4b0f68(0x240)](_0x509c7f,_0x11bcea({'documentData':_0x509c7f,'tableId':this[_0x4b0f68(0x1f7)],'row':_0xc5baf8,'column':_0x399985,'text':_0x43c52e},_0x3fc7a5),this[_0x4b0f68(0x21e)](_0xc5baf8,_0x399985));}[_0x4be2ba(0x264)](_0x3c5e85,_0x558d7f){const _0x2775a9=_0x4be2ba;let _0x5aa9c6=this[_0x2775a9(0x1d0)]();return this[_0x2775a9(0x240)](_0x5aa9c6,_0x4d126b(_0x5aa9c6,{'tableId':this['_tableId'],..._0x3c5e85,'value':_0x558d7f}),_0x3c5e85);}[_0x4be2ba(0x20d)](_0x17b407,_0xd2400c){const _0x45d0a4=_0x4be2ba;let _0x2ed539=this[_0x45d0a4(0x1d0)]();return this[_0x45d0a4(0x240)](_0x2ed539,_0x4a5ca6({'documentData':_0x2ed539,'tableId':this[_0x45d0a4(0x1f7)],..._0x17b407,'margin':_0xd2400c}),_0x17b407);}[_0x4be2ba(0x244)](_0x531d11){const _0x5787cb=_0x4be2ba;let _0x341907=this['_getDocumentData']();return this[_0x5787cb(0x240)](_0x341907,_0x571f78(_0x341907,this['_tableId'],_0x531d11));}['setBorder'](_0x51b5d9,_0x276a4b){const _0xefdd88=_0x4be2ba;let _0x4a3c47=this[_0xefdd88(0x1d0)]();return this[_0xefdd88(0x240)](_0x4a3c47,_0x5ee826({'documentData':_0x4a3c47,'tableId':this[_0xefdd88(0x1f7)],..._0x51b5d9,'preset':_0x276a4b[_0xefdd88(0x1e1)]??_0x586c50[_0xefdd88(0x273)],'border':_0x276a4b[_0xefdd88(0x20b)]??{'color':{'rgb':_0x276a4b[_0xefdd88(0x235)]??_0xefdd88(0x25e)},'width':{'v':_0x276a4b[_0xefdd88(0x214)]??0x1},'dashStyle':_0x3638cc[_0xefdd88(0x1da)]}}),_0x51b5d9);}[_0x4be2ba(0x206)](_0x4aeb7e){const _0x335c7e=_0x4be2ba;return this[_0x335c7e(0x264)](this[_0x335c7e(0x1fa)](),_0x4aeb7e);}[_0x4be2ba(0x1f6)](_0xb35630){const _0x529377=_0x4be2ba;return this[_0x529377(0x1dd)](this[_0x529377(0x1fa)](),_0xb35630);}[_0x4be2ba(0x254)](_0x138639){const _0x3373e4=_0x4be2ba;let _0x24f449=!_0x138639[_0x3373e4(0x205)]||this[_0x3373e4(0x206)](_0x138639[_0x3373e4(0x205)]),_0x318f3f=!_0x138639[_0x3373e4(0x20b)]||this['setTableBorder'](_0x138639[_0x3373e4(0x20b)]);return _0x24f449&&_0x318f3f;}[_0x4be2ba(0x218)](_0x534670,_0x2fd4bf,_0x4cfd43=_0x4c55db[_0x4be2ba(0x250)]){const _0x235ae7=_0x4be2ba;var _0x45e2f7;let _0x3c0a49=this[_0x235ae7(0x1d0)]();return(_0x45e2f7=_0x3c0a49['tableSource'])!=null&&(_0x45e2f7=_0x45e2f7[this[_0x235ae7(0x1f7)]])!=null&&_0x45e2f7['tableRows'][_0x534670]?this['_mutateActions'](_0x3c0a49,_0x256a53(_0x3c0a49,this[_0x235ae7(0x1f7)],_0x534670,_0x2fd4bf,_0x4cfd43)):!0x1;}[_0x4be2ba(0x255)](_0x464c8e){const _0x2e32d0=_0x4be2ba;var _0x197ef9;let _0x4f1af=(_0x197ef9=this[_0x2e32d0(0x1e5)]())==null||(_0x197ef9=_0x197ef9[_0x2e32d0(0x22f)][_0x464c8e])==null?void 0x0:_0x197ef9['trHeight'];return _0x4f1af?_0x17fac4[_0x2e32d0(0x24f)](_0x4f1af):null;}[_0x4be2ba(0x258)](_0x28f7ff,_0xf40b17){const _0x382107=_0x4be2ba;var _0x2f936a;let _0x22cf89=this[_0x382107(0x1d0)]();return(_0x2f936a=_0x22cf89[_0x382107(0x257)])!=null&&(_0x2f936a=_0x2f936a[this['_tableId']])!=null&&_0x2f936a[_0x382107(0x247)][_0x28f7ff]?this[_0x382107(0x240)](_0x22cf89,_0x483a45(_0x22cf89,this[_0x382107(0x1f7)],_0x28f7ff,_0xf40b17)):!0x1;}['distributeRows'](_0x473e49=0x0,_0x30e7d0=this[_0x4be2ba(0x25b)]()){const _0x26119f=_0x4be2ba;let _0xde63d4=this[_0x26119f(0x1d0)]();return this[_0x26119f(0x240)](_0xde63d4,_0x2ec348(_0xde63d4,this[_0x26119f(0x1f7)],_0x473e49,_0x473e49+_0x30e7d0-0x1));}[_0x4be2ba(0x1ee)](_0x57b020=0x0,_0x5870af=this['getColumnCount']()){const _0x7923ac=_0x4be2ba;let _0x290c42=this[_0x7923ac(0x1d0)]();return this[_0x7923ac(0x240)](_0x290c42,_0x8489c6(_0x290c42,this[_0x7923ac(0x1f7)],_0x57b020,_0x57b020+_0x5870af-0x1));}[_0x4be2ba(0x1ed)](){const _0x1713c7=_0x4be2ba;var _0x22150e;return((_0x22150e=this[_0x1713c7(0x26e)]())==null?void 0x0:_0x22150e['headerRowCount'])??0x0;}[_0x4be2ba(0x263)](_0x25503a){const _0x5d1cfa=_0x4be2ba;let _0x2d4d30=this[_0x5d1cfa(0x23c)][_0x5d1cfa(0x20a)](_0x327ad5),_0x1e108c=this[_0x5d1cfa(0x1d0)](),_0x5c7009=_0x3e5107(_0x1e108c,this[_0x5d1cfa(0x1f7)],_0x25503a);if(!_0x5c7009)return!0x1;let _0x43fd8b=this['_mutateActions'](_0x1e108c,_0x5c7009['actions']);return _0x43fd8b&&_0x2d4d30['setHeaderRowCount'](this['_unitId'],this[_0x5d1cfa(0x1f7)],_0x5c7009[_0x5d1cfa(0x1c8)]),_0x43fd8b;}[_0x4be2ba(0x213)](_0x34f1f0){const _0x239bef=_0x4be2ba;return this[_0x239bef(0x263)](_0x34f1f0);}[_0x4be2ba(0x1d5)](){const _0x358d45=_0x4be2ba;var _0x3abcb8;return((_0x3abcb8=this[_0x358d45(0x26e)]())==null?void 0x0:_0x3abcb8[_0x358d45(0x238)])??!0x1;}[_0x4be2ba(0x23a)](){const _0x4bb36a=_0x4be2ba;let _0x584d7d=this[_0x4bb36a(0x23c)][_0x4bb36a(0x20a)](_0x327ad5),_0x4f1993=this['_getDocumentData'](),_0x218b0a=_0x10e7d2(_0x4f1993,this['_tableId'],this[_0x4bb36a(0x208)]());if(!_0x218b0a)return!0x1;let _0x5a6ef9=this[_0x4bb36a(0x240)](_0x4f1993,_0x218b0a[_0x4bb36a(0x1e3)]);return _0x5a6ef9&&_0x584d7d['setTitleRow'](this[_0x4bb36a(0x21b)],this[_0x4bb36a(0x1f7)],!0x0),_0x5a6ef9;}[_0x4be2ba(0x23f)](_0x522f11,_0x299875){const _0x54dd1d=_0x4be2ba;return this[_0x54dd1d(0x23c)][_0x54dd1d(0x20a)](_0x327ad5)[_0x54dd1d(0x23f)](this[_0x54dd1d(0x21b)],this[_0x54dd1d(0x1f7)],_0x522f11,_0x299875),!0x0;}['sortByColumn'](_0x63f4f,_0x3922f2){const _0x386ad7=_0x4be2ba;let _0x306593=this[_0x386ad7(0x1d0)]();return this[_0x386ad7(0x240)](_0x306593,_0x545c73(_0x306593,this[_0x386ad7(0x231)](),this[_0x386ad7(0x1f7)],_0x63f4f,_0x3922f2,this[_0x386ad7(0x208)]()));}[_0x4be2ba(0x1d0)](){const _0x5a2e2b=_0x4be2ba;let _0x478f17=this[_0x5a2e2b(0x1ea)][_0x5a2e2b(0x204)]()['getSnapshot']();return this[_0x5a2e2b(0x266)]?{...this['_document'][_0x5a2e2b(0x204)](this[_0x5a2e2b(0x266)])[_0x5a2e2b(0x252)](),'documentStyle':_0x478f17[_0x5a2e2b(0x1de)],'tableSource':_0x478f17['tableSource']}:_0x478f17;}[_0x4be2ba(0x231)](){const _0x2cbbce=_0x4be2ba;return this[_0x2cbbce(0x23c)]['get'](_0x327ad5)['serialize'](this[_0x2cbbce(0x21b)]);}['_getBodyPath'](){const _0x1e39a4=_0x4be2ba;return _0x39cf3e(this[_0x1e39a4(0x1ea)][_0x1e39a4(0x204)]()[_0x1e39a4(0x252)](),this[_0x1e39a4(0x266)]);}['_mutateActions'](_0x597def,_0x19aec2,_0x2c0438){const _0x2af390=_0x4be2ba;return _0x518639(this[_0x2af390(0x23c)]['get'](_0x3986b4),this[_0x2af390(0x21b)],_0x597def,_0x19aec2,_0x2c0438?{'tableId':this[_0x2af390(0x1f7)],'segmentId':this['_segmentId'],..._0x2c0438}:void 0x0);}},Q=class extends _0x2e94be{[_0x4be2ba(0x217)](_0x387457=''){const _0x5c7415=_0x4be2ba;return this['_getTables'](_0x387457)[_0x5c7415(0x1fe)](_0x45d5fd=>this[_0x5c7415(0x1ce)](_0x45d5fd[_0x5c7415(0x1df)],_0x387457));}[_0x4be2ba(0x1f9)](_0x60d591,_0x4c89ee=''){const _0x407ec9=_0x4be2ba;return this[_0x407ec9(0x216)](_0x4c89ee)[_0x407ec9(0x236)](_0x2e33cc=>_0x2e33cc['tableId']===_0x60d591)?this['_createFDocumentTable'](_0x60d591,_0x4c89ee):null;}['getTableAt'](_0x14343d,_0x5c0037=''){const _0x5ddcc9=_0x4be2ba;var _0x5a185e;let _0x497e39=(_0x5a185e=this['_getTables'](_0x5c0037)[_0x14343d])==null?void 0x0:_0x5a185e['tableId'];return _0x497e39?this[_0x5ddcc9(0x1ce)](_0x497e39,_0x5c0037):null;}[_0x4be2ba(0x271)](){const _0x1891af=_0x4be2ba;let _0x460267=this[_0x1891af(0x23c)]['get'](_0x4faa51)['getStableTableSelection']();return _0x460267!=null&&_0x460267[_0x1891af(0x1df)]?this['_createFDocumentTable'](_0x460267[_0x1891af(0x1df)],_0x460267[_0x1891af(0x1f2)]):null;}[_0x4be2ba(0x234)](_0x593b6f,_0xeb3e6e=''){const _0x4a0267=_0x4be2ba;return this[_0x4a0267(0x22c)](_0x593b6f,_0xeb3e6e)[0x0]??null;}[_0x4be2ba(0x22c)](_0x24187b,_0x2daeac=''){const _0x319b08=_0x4be2ba;let _0x3d4cec=this[_0x319b08(0x1c9)](_0x2daeac),_0x2e51bd=typeof _0x24187b=='string'?{'text':_0x24187b}:_0x24187b;return this[_0x319b08(0x217)](_0x2daeac)['filter'](_0x181c67=>{const _0x4c3f10=_0x319b08;let _0x10e662=_0x181c67[_0x4c3f10(0x225)]();return!(_0x2e51bd[_0x4c3f10(0x1df)]&&_0x10e662!==_0x2e51bd[_0x4c3f10(0x1df)]||_0x2e51bd[_0x4c3f10(0x23b)]&&!this[_0x4c3f10(0x1ca)](_0x3d4cec,_0x10e662,_0x2e51bd[_0x4c3f10(0x23b)])||_0x2e51bd[_0x4c3f10(0x24b)]&&!this[_0x4c3f10(0x241)](_0x181c67,0x0,_0x2e51bd[_0x4c3f10(0x24b)])||_0x2e51bd[_0x4c3f10(0x1e0)]&&!this[_0x4c3f10(0x241)](_0x181c67,0x0,_0x2e51bd['titleText']));});}[_0x4be2ba(0x248)](_0x22769f,_0x4ebca7,_0x259fdb={}){const _0x592bff=_0x4be2ba;let _0x440488=this[_0x592bff(0x23c)][_0x592bff(0x20a)](_0x3986b4),_0x2cc47c=_0x259fdb[_0x592bff(0x1df)]??_0x50ccad(0x6);return _0x440488[_0x592bff(0x1e8)](_0x1a8727['id'],{..._0x259fdb,'unitId':this['getId'](),'rows':_0x22769f,'columns':_0x4ebca7,'tableId':_0x2cc47c})?this['_createFDocumentTable'](_0x2cc47c,_0x259fdb[_0x592bff(0x1f2)]??''):null;}[_0x4be2ba(0x202)](_0x30e672,_0x2ddc3e={}){const _0x3d4270=_0x4be2ba;let _0x303778=this[_0x3d4270(0x23c)][_0x3d4270(0x20a)](_0x3986b4),_0x350e5b=_0x2ddc3e[_0x3d4270(0x1df)]??_0x50ccad(0x6);return _0x303778['syncExecuteCommand'](_0x1a8727['id'],{..._0x2ddc3e,'unitId':this[_0x3d4270(0x225)](),'values':_0x30e672,'tableId':_0x350e5b})?this['_createFDocumentTable'](_0x350e5b,_0x2ddc3e['segmentId']??''):null;}[_0x4be2ba(0x216)](_0x5dc6ee=''){const _0x501419=_0x4be2ba;let {tables:_0x3de6ba=[]}=this[_0x501419(0x201)](_0x5dc6ee);return _0x3de6ba;}[_0x4be2ba(0x1c9)](_0x20cc6e=''){const _0x3739b1=_0x4be2ba;let _0x20f4bb=this[_0x3739b1(0x204)]()[_0x3739b1(0x252)]();return _0x20cc6e?{...this[_0x3739b1(0x204)](_0x20cc6e)[_0x3739b1(0x252)](),'documentStyle':_0x20f4bb['documentStyle'],'tableSource':_0x20f4bb[_0x3739b1(0x257)]}:_0x20f4bb;}[_0x4be2ba(0x1ce)](_0x1030f8,_0x455644=''){const _0x762197=_0x4be2ba;return this[_0x762197(0x23c)][_0x762197(0x219)](Z,this,_0x1030f8,_0x455644,this['_injector']);}[_0x4be2ba(0x1ca)](_0x3489cb,_0x2f40e7,_0x3e48e7){const _0x59ee08=_0x4be2ba;var _0x312fb1;let _0x3d2a6d=_0xfdef28(_0x3489cb,_0x2f40e7);if(!_0x3d2a6d)return!0x1;let _0x181e72=(_0x312fb1=_0x3489cb['body'])==null?void 0x0:_0x312fb1['dataStream'];return _0x181e72?_0x181e72[_0x59ee08(0x1e2)](_0x3d2a6d[_0x59ee08(0x1c6)],_0x3d2a6d['endOffset'])[_0x59ee08(0x1f1)](_0x3e48e7):!0x1;}['_rowContainsText'](_0x21ddb5,_0x276b7d,_0x3f7723){const _0x2e0ab6=_0x4be2ba;return Array[_0x2e0ab6(0x1ff)]({'length':_0x21ddb5[_0x2e0ab6(0x25d)]()},(_0x22ee6b,_0x6ed694)=>_0x21ddb5['getCellText'](_0x276b7d,_0x6ed694))[_0x2e0ab6(0x236)](_0x2db493=>_0x2db493[_0x2e0ab6(0x1f1)](_0x3f7723));}};_0x2e94be['extend'](Q);export{Z as FDocumentTable,K as FDocumentTableCell};