@univerjs-pro/docs-table 1.0.0-alpha.5 → 1.0.0-alpha.7

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/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x3f31bc=_0x2683;function _0x2683(_0x137c22,_0x1f6a0a){_0x137c22=_0x137c22-0x124;const _0x23790d=_0x2379();let _0x2683c6=_0x23790d[_0x137c22];return _0x2683c6;}(function(_0x2cfb1a,_0x4b87fe){const _0x56f94a=_0x2683,_0x160b32=_0x2cfb1a();while(!![]){try{const _0x502983=-parseInt(_0x56f94a(0x166))/0x1*(parseInt(_0x56f94a(0x1b6))/0x2)+parseInt(_0x56f94a(0x1d0))/0x3*(-parseInt(_0x56f94a(0x179))/0x4)+-parseInt(_0x56f94a(0x184))/0x5*(-parseInt(_0x56f94a(0x161))/0x6)+parseInt(_0x56f94a(0x1a0))/0x7*(parseInt(_0x56f94a(0x196))/0x8)+parseInt(_0x56f94a(0x141))/0x9*(-parseInt(_0x56f94a(0x1cd))/0xa)+parseInt(_0x56f94a(0x194))/0xb+parseInt(_0x56f94a(0x16b))/0xc;if(_0x502983===_0x4b87fe)break;else _0x160b32['push'](_0x160b32['shift']());}catch(_0x2a6ea6){_0x160b32['push'](_0x160b32['shift']());}}}(_0x2379,0x2f7a2));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x2306cd,DocsTableBorderPreset as _0x287f75,DocsTableColumnInsertPosition as _0x2e1c73,DocsTableColumnType as _0x233f4a,DocsTableInsertPosition as _0x2f8453,DocsTableInsertTableCommand as _0x445ccc,DocsTableInsertTablePosition as _0x2054fd,DocsTableModel as _0x406e37,DocsTableRowInsertPosition as _0x5c8c39,DocsTableSelectionKind as _0xf480d2,DocsTableSelectionService as _0x447a3e,DocsTableSortDirection as _0x433ac9,buildDeleteTableColumnsMutationActions as _0x50fa06,buildDeleteTableMutationActions as _0x194cdc,buildDeleteTableRowsMutationActions as _0x14b38b,buildDistributeTableColumnsMutationActions as _0xb50dc3,buildDistributeTableRowsMutationActions as _0x518b54,buildInsertTableColumnsMutationActions as _0xfa72da,buildInsertTableRowsMutationActions as _0xb22ead,buildInsertTableTitleRowMutationActions as _0x51f313,buildMergeCellsMutationActions as _0x84ec24,buildMoveFloatingTableMutationActions as _0x2a4c83,buildMoveTableColumnsMutationActions as _0x1d4028,buildMoveTableRowsMutationActions as _0x3248d5,buildMoveTableToOffsetMutationActions as _0x3793d5,buildResizeTableColumnActionsFromWidth as _0x1382b4,buildResizeTableRowActionsFromHeight as _0x168e38,buildSetTableBackgroundMutationActions as _0x18e4a9,buildSetTableBorderMutationActions as _0x116e32,buildSetTableCellMarginMutationActions as _0x4b0ae5,buildSetTableCellTextMutationActions as _0x4fee67,buildSetTableDefaultCellMarginMutationActions as _0x28a9cb,buildSetTableHeaderRowCountMutationActions as _0x2a0587,buildSortTableMutationActions as _0x32d715,buildUnmergeCellsMutationActions as _0x5c83f9,executeRichTextTableActions as _0x3a1e37,getTableActionBodyPath as _0x3e8b5d,getTableRangeById as _0x80ff26}from'@univerjs-pro/docs-table';import{DashStyleType as _0x111eac,ICommandService as _0x3bc718,TableRowHeightRule as _0x3efeba,Tools as _0x3ab0db,generateRandomId as _0x4ff5d3}from'@univerjs/core';function _0x2379(){const _0x16ea65=['DocsTableInsertTablePosition','SOLID','insertRowsBefore','from','_table','tableColumns','headerText','body','getTableAt','width','constructor','rows','_rowContainsText','setMargin','findTables','insertRowAfter','getId','moveRow','deepClone','createInstance','1311654riCNnJ','setBorder','appendRow','deleteRow','deleteTable','19bFtyaY','distributeColumns','get','moveTableToOffset','dataStream','2608296AnFZwL','hasTitleRow','All','actions','default','replace','getTables','moveRows','DocsTableColumnType','getColumnIndex','tableId','setCellBackground','Left','object','1483336dzadxZ','DocsTableSelectionKind','headerRowCount','setCellMargin','function','segmentId','DocsTableRowInsertPosition','setColumnType','insertTitleRow','getSegmentId','string','5RRYCku','insertColumnAfter','insertTable','getContentRange','getCell','backgroundColor','getSnapshot','_tableContainsText','getInsertOffset','getMetadata','selectColumns','getCellRange','insertColumnBefore','Below','length','unmergeCells','3014517wjnaYa','insertRowsAfter','56432iQkTAm','insertTableFromData','pinHeaderRows','cells','setHeaderRowCount','_mutateActions','includes','Row','extend','setTableStyle','49jXXTxi','tableCells','prototype','deleteColumn','getSource','titleText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_getTables','setTableBackground','setDefaultCellMargin','getColumnRange','getCellMarginOverride','Cell','moveColumns','setText','DashStyleType','getRowRange','toPrimitive','selectTable','getTable','filter','getCellContentRange','20310TFchyz','Above','getRowsRange','getMargin','getDocumentDataModel','_row','getColumnCount','_unitId','deleteRows','color','setStructuralSelection','selectRow','selectRows','moveColumn','slice','selectRange','text','size','startOffset','getCellText','getDefaultCellMargin','_getTableDocumentData','getRowCount','10mWiTox','insertColumnsAfter','getColumnsRange','3uTwXyE','max','setColumnWidth','Range','tableSource','unmerge','endOffset','cellMargin','appendColumn','_segmentId','Table','insertColumnsBefore','DocsTableColumnInsertPosition','call','setCellText','_getBodyPath','_tableId','type','map','_createFDocumentTable','syncExecuteCommand','titleRow','getTableRange','trHeight','selectColumn','deleteColumns','selectCell','_injector','moveTableBy','serialize','DocsTableBorderPreset','border','#1f1f1f','getBody','10323vYUsUA','_column','_getDocumentData','describe','mergeCells','symbol','some','_document','setTitleRow','tableRows','margin','documentStyle'];_0x2379=function(){return _0x16ea65;};return _0x2379();}import{FEnum as _0x3d9607}from'@univerjs/core/facade';import{FDocument as _0x58852c}from'@univerjs/docs/facade';var G=class extends _0x3d9607{get[_0x3f31bc(0x14d)](){return _0x2054fd;}get[_0x3f31bc(0x173)](){return _0x233f4a;}get[_0x3f31bc(0x17a)](){return _0xf480d2;}get[_0x3f31bc(0x17f)](){return _0x5c8c39;}get[_0x3f31bc(0x12b)](){return _0x2e1c73;}get[_0x3f31bc(0x13d)](){return _0x287f75;}get['DocsTableSortDirection'](){return _0x433ac9;}get[_0x3f31bc(0x1af)](){return _0x111eac;}};_0x3d9607[_0x3f31bc(0x19e)](G);var K=class{constructor(_0x2af5f5,_0x3920f2,_0x11f3a8){const _0x1023e7=_0x3f31bc;this[_0x1023e7(0x151)]=_0x2af5f5,this[_0x1023e7(0x1bb)]=_0x3920f2,this[_0x1023e7(0x142)]=_0x11f3a8;}[_0x3f31bc(0x1b3)](){return this['_table'];}['getRowIndex'](){return this['_row'];}[_0x3f31bc(0x174)](){return this['_column'];}['getText'](){const _0x2673ce=_0x3f31bc;return this[_0x2673ce(0x151)][_0x2673ce(0x1c9)](this[_0x2673ce(0x1bb)],this[_0x2673ce(0x142)]);}[_0x3f31bc(0x187)](){const _0x573a71=_0x3f31bc;return this[_0x573a71(0x151)][_0x573a71(0x1b5)](this[_0x573a71(0x1bb)],this[_0x573a71(0x142)]);}[_0x3f31bc(0x18c)](){const _0x49046b=_0x3f31bc;return this[_0x49046b(0x151)]['getCellInsertOffset'](this[_0x49046b(0x1bb)],this[_0x49046b(0x142)]);}[_0x3f31bc(0x1b9)](){const _0x16367f=_0x3f31bc;return this[_0x16367f(0x151)]['getCellMargin'](this[_0x16367f(0x1bb)],this[_0x16367f(0x142)]);}['getMarginOverride'](){const _0x12690f=_0x3f31bc;return this[_0x12690f(0x151)]['getCellMarginOverride'](this[_0x12690f(0x1bb)],this['_column']);}[_0x3f31bc(0x15a)](_0x16034f){const _0x5ad67a=_0x3f31bc;return this[_0x5ad67a(0x151)][_0x5ad67a(0x17c)](this[_0x5ad67a(0x151)][_0x5ad67a(0x18f)](this['_row'],this[_0x5ad67a(0x142)]),_0x16034f);}['clearMarginOverride'](){const _0x4a2ebd=_0x3f31bc;return this[_0x4a2ebd(0x151)][_0x4a2ebd(0x17c)](this[_0x4a2ebd(0x151)][_0x4a2ebd(0x18f)](this[_0x4a2ebd(0x1bb)],this['_column']),null);}[_0x3f31bc(0x1ae)](_0x5af9d2){const _0x2ab013=_0x3f31bc;return this[_0x2ab013(0x151)][_0x2ab013(0x12d)](this['_row'],this[_0x2ab013(0x142)],_0x5af9d2);}['setBackgroundColor'](_0x14b389){const _0x2865c6=_0x3f31bc;return this['_table'][_0x2865c6(0x176)](this[_0x2865c6(0x151)][_0x2865c6(0x18f)](this['_row'],this[_0x2865c6(0x142)]),_0x14b389);}[_0x3f31bc(0x162)](_0x5e1b1d){const _0x52c177=_0x3f31bc;return this[_0x52c177(0x151)][_0x52c177(0x162)](this['_table']['getCellRange'](this[_0x52c177(0x1bb)],this['_column']),_0x5e1b1d);}['mergeTo'](_0x3fdf4e,_0x1d0913){const _0x23a275=_0x3f31bc;return this[_0x23a275(0x151)]['mergeCells']({'startRow':this[_0x23a275(0x1bb)],'startColumn':this['_column'],'endRow':this[_0x23a275(0x1bb)]+_0x3fdf4e-0x1,'endColumn':this[_0x23a275(0x142)]+_0x1d0913-0x1});}[_0x3f31bc(0x124)](){const _0x4fa8a0=_0x3f31bc;return this['_table'][_0x4fa8a0(0x193)](this[_0x4fa8a0(0x151)]['getCellRange'](this[_0x4fa8a0(0x1bb)],this[_0x4fa8a0(0x142)]));}};function q(_0x51f9da){'@babel/helpers - typeof';const _0x5e1c48=_0x3f31bc;return q=typeof Symbol==_0x5e1c48(0x17d)&&typeof Symbol['iterator']==_0x5e1c48(0x146)?function(_0x459d3e){return typeof _0x459d3e;}:function(_0x27505b){const _0x254da3=_0x5e1c48;return _0x27505b&&typeof Symbol==_0x254da3(0x17d)&&_0x27505b[_0x254da3(0x157)]===Symbol&&_0x27505b!==Symbol[_0x254da3(0x1a2)]?'symbol':typeof _0x27505b;},q(_0x51f9da);}function J(_0x3ca163,_0x518228){const _0x425497=_0x3f31bc;if(q(_0x3ca163)!=_0x425497(0x178)||!_0x3ca163)return _0x3ca163;var _0x2c1f9d=_0x3ca163[Symbol[_0x425497(0x1b1)]];if(_0x2c1f9d!==void 0x0){var _0x2d74a2=_0x2c1f9d[_0x425497(0x12c)](_0x3ca163,_0x518228||_0x425497(0x16f));if(q(_0x2d74a2)!=_0x425497(0x178))return _0x2d74a2;throw TypeError(_0x425497(0x1a6));}return(_0x518228===_0x425497(0x183)?String:Number)(_0x3ca163);}function Y(_0x4d3508){const _0x2340c8=_0x3f31bc;var _0x34a9b2=J(_0x4d3508,_0x2340c8(0x183));return q(_0x34a9b2)==_0x2340c8(0x146)?_0x34a9b2:_0x34a9b2+'';}function X(_0x1021d3,_0x590dee,_0x12c7ba){return(_0x590dee=Y(_0x590dee))in _0x1021d3?Object['defineProperty'](_0x1021d3,_0x590dee,{'value':_0x12c7ba,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1021d3[_0x590dee]=_0x12c7ba,_0x1021d3;}var Z=class{constructor(_0x5cf3f0,_0x30642c,_0x5d23e5='',_0x293825){const _0x988dff=_0x3f31bc;this['_document']=_0x5cf3f0,this['_tableId']=_0x30642c,this[_0x988dff(0x128)]=_0x5d23e5,this[_0x988dff(0x13a)]=_0x293825,X(this,'_unitId',void 0x0),this[_0x988dff(0x1bd)]=this[_0x988dff(0x148)][_0x988dff(0x15d)]();}[_0x3f31bc(0x15d)](){const _0x4832a7=_0x3f31bc;return this[_0x4832a7(0x12f)];}[_0x3f31bc(0x182)](){const _0xc5f704=_0x3f31bc;return this[_0xc5f704(0x128)];}['getInfo'](){const _0x25a89f=_0x3f31bc;return{'id':this[_0x25a89f(0x12f)],'rowCount':this[_0x25a89f(0x1cc)](),'columnCount':this[_0x25a89f(0x1bc)](),'metadata':this[_0x25a89f(0x18d)](),'source':this[_0x25a89f(0x1a4)]()};}[_0x3f31bc(0x144)](){const _0x4a03d2=_0x3f31bc;var _0x1ea160,_0x4952ee;let _0x3eccb1=this['getMetadata'](),_0x23b249=this[_0x4a03d2(0x1a4)](),_0x4e7871=this[_0x4a03d2(0x1bc)]();return{'id':this['_tableId'],'rowCount':this[_0x4a03d2(0x1cc)](),'columnCount':_0x4e7871,'headerRowCount':(_0x1ea160=_0x3eccb1==null?void 0x0:_0x3eccb1['headerRowCount'])==null?0x0:_0x1ea160,'titleRow':(_0x4952ee=_0x3eccb1==null?void 0x0:_0x3eccb1[_0x4a03d2(0x134)])==null?!0x1:_0x4952ee,'columns':Array[_0x4a03d2(0x150)]({'length':_0x4e7871},(_0x27a931,_0x54cbbf)=>{const _0x2881a4=_0x4a03d2;var _0x9dcb7b,_0x49f046;return{'index':_0x54cbbf,'type':_0x3eccb1==null||(_0x9dcb7b=_0x3eccb1['columnTypes'])==null||(_0x9dcb7b=_0x9dcb7b[_0x54cbbf])==null?void 0x0:_0x9dcb7b[_0x2881a4(0x130)],'width':_0x23b249==null||(_0x49f046=_0x23b249[_0x2881a4(0x152)][_0x54cbbf])==null?void 0x0:_0x49f046[_0x2881a4(0x1c7)]['width']['v']};}),'sampleRows':Array[_0x4a03d2(0x150)]({'length':this[_0x4a03d2(0x1cc)]()},(_0x5aecb5,_0x4a35f5)=>Array[_0x4a03d2(0x150)]({'length':_0x4e7871},(_0x1e3746,_0x469306)=>this[_0x4a03d2(0x1c9)](_0x4a35f5,_0x469306)))[_0x4a03d2(0x1b4)](_0x12dde6=>_0x12dde6[_0x4a03d2(0x147)](_0x1af6a1=>_0x1af6a1['length']>0x0))[_0x4a03d2(0x1c4)](0x0,0x5)};}[_0x3f31bc(0x1cc)](){const _0x5a01f0=_0x3f31bc;var _0x6dd949,_0x2cda7b;return(_0x6dd949=(_0x2cda7b=this[_0x5a01f0(0x1a4)]())==null?void 0x0:_0x2cda7b[_0x5a01f0(0x14a)][_0x5a01f0(0x192)])==null?0x0:_0x6dd949;}['getColumnCount'](){const _0x1ffb5e=_0x3f31bc;var _0x47bb6f,_0x22bee4;return(_0x47bb6f=(_0x22bee4=this['getSource']())==null?void 0x0:_0x22bee4[_0x1ffb5e(0x152)][_0x1ffb5e(0x192)])==null?0x0:_0x47bb6f;}[_0x3f31bc(0x188)](_0x109312,_0x435f0b){const _0xf9f10=_0x3f31bc;var _0x172a22;return!((_0x172a22=this['getSource']())==null||(_0x172a22=_0x172a22[_0xf9f10(0x14a)][_0x109312])==null)&&_0x172a22[_0xf9f10(0x1a1)][_0x435f0b]?this[_0xf9f10(0x13a)][_0xf9f10(0x160)](K,this,_0x109312,_0x435f0b):null;}[_0x3f31bc(0x1c9)](_0x19ea6b,_0x1f805b){const _0x250912=_0x3f31bc;var _0x294178,_0x5be5ba,_0x526779;let _0x2b440f=(_0x294178=_0x80ff26(this[_0x250912(0x143)](),this['_tableId']))==null||(_0x294178=_0x294178[_0x250912(0x158)][_0x19ea6b])==null?void 0x0:_0x294178[_0x250912(0x199)][_0x1f805b];return _0x2b440f?(_0x5be5ba=(_0x526779=this[_0x250912(0x143)]()[_0x250912(0x154)])==null?void 0x0:_0x526779[_0x250912(0x16a)][_0x250912(0x1c4)](_0x2b440f[_0x250912(0x1c8)]+0x1,_0x2b440f[_0x250912(0x125)])[_0x250912(0x170)](/\r\n$/,''))==null?'':_0x5be5ba:'';}['getCellMargin'](_0x3b12e4,_0x1332d1){const _0x47f79e=_0x3f31bc;var _0x1accf2,_0x4f64a0,_0x3837ca;let _0x20c4be=this[_0x47f79e(0x1a4)](),_0x3741a9=_0x20c4be==null||(_0x1accf2=_0x20c4be[_0x47f79e(0x14a)][_0x3b12e4])==null?void 0x0:_0x1accf2[_0x47f79e(0x1a1)][_0x1332d1];return _0x3741a9?_0x3ab0db[_0x47f79e(0x15f)]((_0x4f64a0=(_0x3837ca=_0x3741a9[_0x47f79e(0x14b)])==null?_0x20c4be[_0x47f79e(0x126)]:_0x3837ca)==null?_0x2306cd:_0x4f64a0):null;}[_0x3f31bc(0x1ab)](_0x38b292,_0x1848af){const _0x4fbccc=_0x3f31bc;var _0x1480b9;let _0x4e7032=(_0x1480b9=this['getSource']())==null||(_0x1480b9=_0x1480b9[_0x4fbccc(0x14a)][_0x38b292])==null?void 0x0:_0x1480b9['tableCells'][_0x1848af];return _0x4e7032!=null&&_0x4e7032[_0x4fbccc(0x14b)]?_0x3ab0db[_0x4fbccc(0x15f)](_0x4e7032[_0x4fbccc(0x14b)]):null;}[_0x3f31bc(0x1ca)](){const _0x555e40=_0x3f31bc;var _0x32b2fd,_0x1f1a99;return _0x3ab0db[_0x555e40(0x15f)]((_0x32b2fd=(_0x1f1a99=this[_0x555e40(0x1a4)]())==null?void 0x0:_0x1f1a99[_0x555e40(0x126)])==null?_0x2306cd:_0x32b2fd);}['getDefaultCellMarginOverride'](){const _0x1fd075=_0x3f31bc;var _0x4b10ba;let _0x25c234=(_0x4b10ba=this['getSource']())==null?void 0x0:_0x4b10ba[_0x1fd075(0x126)];return _0x25c234?_0x3ab0db[_0x1fd075(0x15f)](_0x25c234):null;}[_0x3f31bc(0x18d)](){const _0x58b3cf=_0x3f31bc;return this['_injector'][_0x58b3cf(0x168)](_0x406e37)['getTableMetadata'](this[_0x58b3cf(0x1bd)],this[_0x58b3cf(0x12f)]);}['getSource'](){const _0x30fa4b=_0x3f31bc;var _0xebad94;return(_0xebad94=this[_0x30fa4b(0x143)]()[_0x30fa4b(0x1d4)])==null?void 0x0:_0xebad94[this[_0x30fa4b(0x12f)]];}['getRange'](){const _0x535133=_0x3f31bc;return _0x80ff26(this[_0x535133(0x143)](),this['_tableId']);}[_0x3f31bc(0x135)](){const _0x225dd1=_0x3f31bc;return{'startRow':0x0,'endRow':Math[_0x225dd1(0x1d1)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x225dd1(0x1d1)](0x0,this[_0x225dd1(0x1bc)]()-0x1)};}[_0x3f31bc(0x18f)](_0x512ba2,_0x5a05bd){return{'startRow':_0x512ba2,'endRow':_0x512ba2,'startColumn':_0x5a05bd,'endColumn':_0x5a05bd};}['getCellContentRange'](_0xcea85c,_0x3ce356){const _0x1ac603=_0x3f31bc;var _0x5214dd;let _0x28d339=(_0x5214dd=_0x80ff26(this['_getDocumentData'](),this['_tableId']))==null||(_0x5214dd=_0x5214dd[_0x1ac603(0x158)][_0xcea85c])==null?void 0x0:_0x5214dd['cells'][_0x3ce356];if(!_0x28d339)return null;let _0x403e88=_0x28d339['startOffset']+0x1;return{'startOffset':_0x403e88,'endOffset':Math[_0x1ac603(0x1d1)](_0x403e88,_0x28d339[_0x1ac603(0x125)]-0x1),'segmentId':this[_0x1ac603(0x128)]};}['getCellInsertOffset'](_0x2e7808,_0x46ee83){const _0x41de82=_0x3f31bc;var _0x5ac568,_0x5dc6fe;return(_0x5ac568=(_0x5dc6fe=this[_0x41de82(0x1b5)](_0x2e7808,_0x46ee83))==null?void 0x0:_0x5dc6fe[_0x41de82(0x125)])==null?null:_0x5ac568;}[_0x3f31bc(0x1b0)](_0x27062c){const _0x4390b4=_0x3f31bc;return this[_0x4390b4(0x1b8)](_0x27062c,0x1);}['getRowsRange'](_0x25c1b2,_0x195d54=0x1){const _0x39a2ef=_0x3f31bc;return{'startRow':_0x25c1b2,'endRow':_0x25c1b2+_0x195d54-0x1,'startColumn':0x0,'endColumn':Math[_0x39a2ef(0x1d1)](0x0,this[_0x39a2ef(0x1bc)]()-0x1)};}[_0x3f31bc(0x1aa)](_0x14306b){const _0xf9baa2=_0x3f31bc;return this[_0xf9baa2(0x1cf)](_0x14306b,0x1);}['getColumnsRange'](_0x252e92,_0x3056ec=0x1){const _0x1f7fd6=_0x3f31bc;return{'startRow':0x0,'endRow':Math[_0x1f7fd6(0x1d1)](0x0,this[_0x1f7fd6(0x1cc)]()-0x1),'startColumn':_0x252e92,'endColumn':_0x252e92+_0x3056ec-0x1};}[_0x3f31bc(0x1b2)](){const _0x44185f=_0x3f31bc;return this[_0x44185f(0x1c5)](this['getTableRange'](),_0xf480d2[_0x44185f(0x129)]);}[_0x3f31bc(0x1c1)](_0x587a0c){const _0x3e5be2=_0x3f31bc;return this[_0x3e5be2(0x1c2)](_0x587a0c,0x1);}['selectRows'](_0xb5bf4c,_0x44857c=0x1){const _0x3155dd=_0x3f31bc;return this[_0x3155dd(0x1c5)](this[_0x3155dd(0x1b8)](_0xb5bf4c,_0x44857c),_0xf480d2[_0x3155dd(0x19d)]);}[_0x3f31bc(0x137)](_0x472da5){const _0x232885=_0x3f31bc;return this[_0x232885(0x18e)](_0x472da5,0x1);}[_0x3f31bc(0x18e)](_0x333067,_0x3a5b85=0x1){return this['selectRange'](this['getColumnsRange'](_0x333067,_0x3a5b85),_0xf480d2['Column']);}[_0x3f31bc(0x139)](_0x177913,_0x16b511){const _0x1930a0=_0x3f31bc;return this['selectRange'](this[_0x1930a0(0x18f)](_0x177913,_0x16b511),_0xf480d2[_0x1930a0(0x1ac)]);}[_0x3f31bc(0x1c5)](_0x4e881a,_0x3ebc1b=_0xf480d2[_0x3f31bc(0x1d3)]){const _0x1c60fa=_0x3f31bc;return this[_0x1c60fa(0x13a)][_0x1c60fa(0x168)](_0x447a3e)[_0x1c60fa(0x1c0)]({..._0x4e881a,'kind':_0x3ebc1b,'segmentId':this[_0x1c60fa(0x128)],'tableId':this[_0x1c60fa(0x12f)]}),!0x0;}['insertRowBefore'](_0x5c9825){const _0x764bc8=_0x3f31bc;return this[_0x764bc8(0x14f)](_0x5c9825,0x1);}[_0x3f31bc(0x15c)](_0x2daf1c){const _0x4f9093=_0x3f31bc;return this[_0x4f9093(0x195)](_0x2daf1c,0x1);}[_0x3f31bc(0x14f)](_0x180b4e,_0x2395cf){const _0x140397=_0x3f31bc;let _0x1aac3c=this[_0x140397(0x143)](),_0x29a721=_0xb22ead(_0x1aac3c,this[_0x140397(0x12f)],_0x180b4e,_0x2395cf,_0x2f8453[_0x140397(0x1b7)],this[_0x140397(0x12e)]());return _0x29a721?this[_0x140397(0x19b)](_0x1aac3c,_0x29a721[_0x140397(0x16e)]):!0x1;}[_0x3f31bc(0x195)](_0x2b6493,_0x1da393){const _0x438b2b=_0x3f31bc;let _0x3b4a64=this[_0x438b2b(0x143)](),_0x36fa72=_0xb22ead(_0x3b4a64,this['_tableId'],_0x2b6493,_0x1da393,_0x2f8453[_0x438b2b(0x191)],this[_0x438b2b(0x12e)]());return _0x36fa72?this[_0x438b2b(0x19b)](_0x3b4a64,_0x36fa72['actions']):!0x1;}[_0x3f31bc(0x163)](){const _0x1f3674=_0x3f31bc;return this[_0x1f3674(0x195)](Math[_0x1f3674(0x1d1)](0x0,this[_0x1f3674(0x1cc)]()-0x1),0x1);}[_0x3f31bc(0x190)](_0xf71899){const _0x2ff982=_0x3f31bc;return this[_0x2ff982(0x12a)](_0xf71899,0x1);}[_0x3f31bc(0x185)](_0x56ac99){const _0x47a48e=_0x3f31bc;return this[_0x47a48e(0x1ce)](_0x56ac99,0x1);}[_0x3f31bc(0x12a)](_0xa24ffa,_0x610d9e){const _0x219bb3=_0x3f31bc;let _0x171902=this['_getDocumentData'](),_0x4181a1=_0xfa72da(_0x171902,this['_tableId'],_0xa24ffa,_0x610d9e,_0x2f8453['Left'],{'bodyPath':this['_getBodyPath']()});return _0x4181a1?this[_0x219bb3(0x19b)](_0x171902,_0x4181a1[_0x219bb3(0x16e)]):!0x1;}[_0x3f31bc(0x1ce)](_0x409199,_0x20e74e){const _0x2a77c7=_0x3f31bc;let _0x5bd673=this[_0x2a77c7(0x143)](),_0x1d5c58=_0xfa72da(_0x5bd673,this[_0x2a77c7(0x12f)],_0x409199,_0x20e74e,_0x2f8453['Right'],{'bodyPath':this['_getBodyPath']()});return _0x1d5c58?this[_0x2a77c7(0x19b)](_0x5bd673,_0x1d5c58['actions']):!0x1;}[_0x3f31bc(0x127)](){const _0xfaf2b3=_0x3f31bc;return this['insertColumnsAfter'](Math['max'](0x0,this[_0xfaf2b3(0x1bc)]()-0x1),0x1);}[_0x3f31bc(0x164)](_0x591edc){const _0x554f53=_0x3f31bc;return this[_0x554f53(0x1be)](_0x591edc,0x1);}[_0x3f31bc(0x1be)](_0x581fa1,_0x40c3d9=0x1){const _0x10912e=_0x3f31bc;let _0x109413=this['_getDocumentData'](),_0x1c1e4e=_0x14b38b(_0x109413,this[_0x10912e(0x12f)],_0x581fa1,_0x581fa1+_0x40c3d9-0x1,this[_0x10912e(0x12e)]());return _0x1c1e4e?this[_0x10912e(0x19b)](_0x109413,_0x1c1e4e[_0x10912e(0x16e)]):!0x1;}[_0x3f31bc(0x1a3)](_0x4a3a70){const _0x1f4d21=_0x3f31bc;return this[_0x1f4d21(0x138)](_0x4a3a70,0x1);}['deleteColumns'](_0x313731,_0x43eac2=0x1){const _0x113bb3=_0x3f31bc;let _0x32f435=this[_0x113bb3(0x143)](),_0x297da6=_0x50fa06(_0x32f435,this[_0x113bb3(0x12f)],_0x313731,_0x313731+_0x43eac2-0x1,this[_0x113bb3(0x12e)]());return _0x297da6?this[_0x113bb3(0x19b)](_0x32f435,_0x297da6[_0x113bb3(0x16e)]):!0x1;}[_0x3f31bc(0x165)](){const _0x46bca4=_0x3f31bc;let _0x149d79=this[_0x46bca4(0x143)](),_0x380f1e=_0x194cdc(_0x149d79,this['_tableId'],this['_getBodyPath']());return _0x380f1e?this[_0x46bca4(0x19b)](_0x149d79,_0x380f1e[_0x46bca4(0x16e)]):!0x1;}[_0x3f31bc(0x13b)](_0x113b1a,_0x353f88){const _0x569741=_0x3f31bc;let _0x91868d=this['_getDocumentData']();return this[_0x569741(0x19b)](_0x91868d,_0x2a4c83(_0x91868d,this[_0x569741(0x12f)],_0x113b1a,_0x353f88));}[_0x3f31bc(0x169)](_0x496116){const _0x33c139=_0x3f31bc;let _0x111fcd=this[_0x33c139(0x143)]();return this[_0x33c139(0x19b)](_0x111fcd,_0x3793d5(_0x111fcd,this[_0x33c139(0x12f)],_0x496116,this[_0x33c139(0x12e)]()));}[_0x3f31bc(0x15e)](_0x4181dc,_0x5588a0,_0x2afe49=_0x2f8453['Above']){const _0x2d66c7=_0x3f31bc;return this[_0x2d66c7(0x172)](_0x4181dc,0x1,_0x5588a0,_0x2afe49);}[_0x3f31bc(0x172)](_0x549605,_0x168037,_0x98a17c,_0x144be5=_0x2f8453[_0x3f31bc(0x1b7)]){const _0x185780=_0x3f31bc;let _0x531b2f=this[_0x185780(0x143)](),_0x354d17=_0x3248d5(_0x531b2f,this[_0x185780(0x12f)],_0x549605,_0x98a17c,_0x168037,_0x144be5,this[_0x185780(0x12e)]());return _0x354d17?this[_0x185780(0x19b)](_0x531b2f,_0x354d17[_0x185780(0x16e)]):!0x1;}[_0x3f31bc(0x1c3)](_0x23a4d9,_0x398685,_0x202199=_0x2f8453[_0x3f31bc(0x177)]){return this['moveColumns'](_0x23a4d9,0x1,_0x398685,_0x202199);}[_0x3f31bc(0x1ad)](_0x10b6aa,_0x24350d,_0x3be506,_0x2c3123=_0x2f8453[_0x3f31bc(0x177)]){const _0x396ed8=_0x3f31bc;let _0x365105=this[_0x396ed8(0x143)](),_0x25c25e=_0x1d4028(_0x365105,this['_tableId'],_0x10b6aa,_0x3be506,_0x24350d,_0x2c3123,this[_0x396ed8(0x12e)]());return _0x25c25e?this[_0x396ed8(0x19b)](_0x365105,_0x25c25e['actions']):!0x1;}[_0x3f31bc(0x145)](_0x121c47){const _0x1ffe7a=_0x3f31bc;try{let _0x3aac35=this[_0x1ffe7a(0x143)](),_0x332ada=_0x84ec24({'documentData':_0x3aac35,'tableId':this[_0x1ffe7a(0x12f)],..._0x121c47});return _0x332ada?this[_0x1ffe7a(0x19b)](_0x3aac35,_0x332ada[_0x1ffe7a(0x16e)],_0x121c47):!0x1;}catch{return!0x1;}}[_0x3f31bc(0x193)](_0x3badae){const _0x188fdc=_0x3f31bc;try{let _0x33b4b4=this[_0x188fdc(0x143)](),_0x66545c=_0x5c83f9({'documentData':_0x33b4b4,'tableId':this[_0x188fdc(0x12f)],..._0x3badae});return _0x66545c?this[_0x188fdc(0x19b)](_0x33b4b4,_0x66545c[_0x188fdc(0x16e)],_0x3badae):!0x1;}catch{return!0x1;}}[_0x3f31bc(0x12d)](_0x4ec46c,_0xcef331,_0x1a9221){const _0x5d5159=_0x3f31bc;let _0x12bc62=this['_getDocumentData'](),_0x1fdb3b=_0x3e8b5d(this['_document'][_0x5d5159(0x1ba)]()[_0x5d5159(0x18a)](),this[_0x5d5159(0x128)]);return this[_0x5d5159(0x19b)](_0x12bc62,_0x4fee67({'documentData':_0x12bc62,'tableId':this[_0x5d5159(0x12f)],'row':_0x4ec46c,'column':_0xcef331,'text':_0x1a9221},_0x1fdb3b),this[_0x5d5159(0x18f)](_0x4ec46c,_0xcef331));}['setCellBackground'](_0x4c535a,_0xe537d){const _0x297dd5=_0x3f31bc;let _0x188b09=this[_0x297dd5(0x143)]();return this[_0x297dd5(0x19b)](_0x188b09,_0x18e4a9(_0x188b09,{'tableId':this[_0x297dd5(0x12f)],..._0x4c535a,'value':_0xe537d}),_0x4c535a);}[_0x3f31bc(0x17c)](_0x2b570f,_0x2420d0){const _0x23b48d=_0x3f31bc;let _0x36289d=this[_0x23b48d(0x143)]();return this[_0x23b48d(0x19b)](_0x36289d,_0x4b0ae5({'documentData':_0x36289d,'tableId':this[_0x23b48d(0x12f)],..._0x2b570f,'margin':_0x2420d0}),_0x2b570f);}[_0x3f31bc(0x1a9)](_0x4d4929){const _0x5a5232=_0x3f31bc;let _0x45274e=this['_getDocumentData']();return this[_0x5a5232(0x19b)](_0x45274e,_0x28a9cb(_0x45274e,this['_tableId'],_0x4d4929));}[_0x3f31bc(0x162)](_0x2d18e5,_0x150f92){const _0x3b3620=_0x3f31bc;var _0x3707e2,_0x30b883,_0xed3d4a,_0x81bb35;let _0x5ec179=this['_getDocumentData']();return this[_0x3b3620(0x19b)](_0x5ec179,_0x116e32({'documentData':_0x5ec179,'tableId':this[_0x3b3620(0x12f)],..._0x2d18e5,'preset':(_0x3707e2=_0x150f92['preset'])==null?_0x287f75[_0x3b3620(0x16d)]:_0x3707e2,'border':(_0x30b883=_0x150f92[_0x3b3620(0x13e)])==null?{'color':{'rgb':(_0xed3d4a=_0x150f92[_0x3b3620(0x1bf)])==null?_0x3b3620(0x13f):_0xed3d4a},'width':{'v':(_0x81bb35=_0x150f92[_0x3b3620(0x156)])==null?0x1:_0x81bb35},'dashStyle':_0x111eac[_0x3b3620(0x14e)]}:_0x30b883}),_0x2d18e5);}[_0x3f31bc(0x1a8)](_0x3c3127){const _0x36351b=_0x3f31bc;return this[_0x36351b(0x176)](this['getTableRange'](),_0x3c3127);}['setTableBorder'](_0x27657){const _0x2d2da5=_0x3f31bc;return this[_0x2d2da5(0x162)](this[_0x2d2da5(0x135)](),_0x27657);}[_0x3f31bc(0x19f)](_0x47b788){const _0x209761=_0x3f31bc;let _0x17a037=_0x47b788[_0x209761(0x189)]?this[_0x209761(0x1a8)](_0x47b788[_0x209761(0x189)]):!0x0,_0x201b8c=_0x47b788['border']?this['setTableBorder'](_0x47b788[_0x209761(0x13e)]):!0x0;return _0x17a037&&_0x201b8c;}['setRowHeight'](_0x51c3dd,_0x39f06e,_0x55e4ce=_0x3efeba['AT_LEAST']){const _0x1cb35d=_0x3f31bc;var _0x505434;let _0x434ed4=this[_0x1cb35d(0x143)]();return!((_0x505434=_0x434ed4['tableSource'])==null||(_0x505434=_0x505434[this[_0x1cb35d(0x12f)]])==null)&&_0x505434[_0x1cb35d(0x14a)][_0x51c3dd]?this[_0x1cb35d(0x19b)](_0x434ed4,_0x168e38(_0x434ed4,this[_0x1cb35d(0x12f)],_0x51c3dd,_0x39f06e,_0x55e4ce)):!0x1;}['getRowHeight'](_0x5511d5){const _0x145917=_0x3f31bc;var _0x578a60;let _0x123b81=(_0x578a60=this[_0x145917(0x1a4)]())==null||(_0x578a60=_0x578a60[_0x145917(0x14a)][_0x5511d5])==null?void 0x0:_0x578a60[_0x145917(0x136)];return _0x123b81?_0x3ab0db[_0x145917(0x15f)](_0x123b81):null;}[_0x3f31bc(0x1d2)](_0x281a5c,_0x1617b2){const _0x2e0b2c=_0x3f31bc;var _0x8da12a;let _0x5f15ad=this[_0x2e0b2c(0x143)]();return!((_0x8da12a=_0x5f15ad[_0x2e0b2c(0x1d4)])==null||(_0x8da12a=_0x8da12a[this['_tableId']])==null)&&_0x8da12a[_0x2e0b2c(0x152)][_0x281a5c]?this[_0x2e0b2c(0x19b)](_0x5f15ad,_0x1382b4(_0x5f15ad,this[_0x2e0b2c(0x12f)],_0x281a5c,_0x1617b2)):!0x1;}['distributeRows'](_0x2d8f2f=0x0,_0x3202b4=this[_0x3f31bc(0x1cc)]()){const _0x424688=_0x3f31bc;let _0xb1910f=this['_getDocumentData']();return this[_0x424688(0x19b)](_0xb1910f,_0x518b54(_0xb1910f,this[_0x424688(0x12f)],_0x2d8f2f,_0x2d8f2f+_0x3202b4-0x1));}[_0x3f31bc(0x167)](_0x12bb77=0x0,_0x429c70=this[_0x3f31bc(0x1bc)]()){const _0x491cc2=_0x3f31bc;let _0x52f441=this[_0x491cc2(0x143)]();return this[_0x491cc2(0x19b)](_0x52f441,_0xb50dc3(_0x52f441,this['_tableId'],_0x12bb77,_0x12bb77+_0x429c70-0x1));}['getHeaderRowCount'](){const _0x335346=_0x3f31bc;var _0x37bc40,_0x12d1f2;return(_0x37bc40=(_0x12d1f2=this[_0x335346(0x18d)]())==null?void 0x0:_0x12d1f2['headerRowCount'])==null?0x0:_0x37bc40;}[_0x3f31bc(0x19a)](_0x4434b6){const _0x17ec1e=_0x3f31bc;let _0xfd182f=this[_0x17ec1e(0x13a)][_0x17ec1e(0x168)](_0x406e37),_0xcdc7c7=this[_0x17ec1e(0x143)](),_0x58a0ed=_0x2a0587(_0xcdc7c7,this['_tableId'],_0x4434b6);if(!_0x58a0ed)return!0x1;let _0x47eb2b=this[_0x17ec1e(0x19b)](_0xcdc7c7,_0x58a0ed[_0x17ec1e(0x16e)]);return _0x47eb2b&&_0xfd182f[_0x17ec1e(0x19a)](this[_0x17ec1e(0x1bd)],this[_0x17ec1e(0x12f)],_0x58a0ed[_0x17ec1e(0x17b)]),_0x47eb2b;}[_0x3f31bc(0x198)](_0x1d1fd6){const _0x5bc0ab=_0x3f31bc;return this[_0x5bc0ab(0x19a)](_0x1d1fd6);}[_0x3f31bc(0x16c)](){const _0x478ee2=_0x3f31bc;var _0x182a3b,_0x24ed32;return(_0x182a3b=(_0x24ed32=this['getMetadata']())==null?void 0x0:_0x24ed32[_0x478ee2(0x134)])==null?!0x1:_0x182a3b;}[_0x3f31bc(0x181)](){const _0x491b17=_0x3f31bc;let _0x432342=this[_0x491b17(0x13a)]['get'](_0x406e37),_0x1c998b=this[_0x491b17(0x143)](),_0xb3a5d7=_0x51f313(_0x1c998b,this[_0x491b17(0x12f)],this[_0x491b17(0x12e)]());if(!_0xb3a5d7)return!0x1;let _0xdc7f1d=this[_0x491b17(0x19b)](_0x1c998b,_0xb3a5d7[_0x491b17(0x16e)]);return _0xdc7f1d&&_0x432342[_0x491b17(0x149)](this[_0x491b17(0x1bd)],this[_0x491b17(0x12f)],!0x0),_0xdc7f1d;}[_0x3f31bc(0x180)](_0x387395,_0x222e6f){const _0x52a10b=_0x3f31bc;return this['_injector'][_0x52a10b(0x168)](_0x406e37)[_0x52a10b(0x180)](this[_0x52a10b(0x1bd)],this[_0x52a10b(0x12f)],_0x387395,_0x222e6f),!0x0;}['sortByColumn'](_0x5a1c88,_0xc8ce75){const _0xe587b1=_0x3f31bc;let _0x523e38=this[_0xe587b1(0x143)]();return this[_0xe587b1(0x19b)](_0x523e38,_0x32d715(_0x523e38,this['_serializeModel'](),this[_0xe587b1(0x12f)],_0x5a1c88,_0xc8ce75,this['_getBodyPath']()));}['_getDocumentData'](){const _0x31324c=_0x3f31bc;let _0x2972d3=this[_0x31324c(0x148)]['getDocumentDataModel']()[_0x31324c(0x18a)]();return this['_segmentId']?{...this[_0x31324c(0x148)][_0x31324c(0x1ba)](this[_0x31324c(0x128)])[_0x31324c(0x18a)](),'documentStyle':_0x2972d3[_0x31324c(0x14c)],'tableSource':_0x2972d3['tableSource']}:_0x2972d3;}['_serializeModel'](){const _0x52b12a=_0x3f31bc;return this[_0x52b12a(0x13a)][_0x52b12a(0x168)](_0x406e37)[_0x52b12a(0x13c)](this['_unitId']);}[_0x3f31bc(0x12e)](){const _0x2c2483=_0x3f31bc;return _0x3e8b5d(this[_0x2c2483(0x148)][_0x2c2483(0x1ba)]()[_0x2c2483(0x18a)](),this[_0x2c2483(0x128)]);}[_0x3f31bc(0x19b)](_0x40862f,_0x45d896,_0x2a8713){const _0x5e30c7=_0x3f31bc;return _0x3a1e37(this[_0x5e30c7(0x13a)][_0x5e30c7(0x168)](_0x3bc718),this[_0x5e30c7(0x1bd)],_0x40862f,_0x45d896,_0x2a8713?{'tableId':this[_0x5e30c7(0x12f)],'segmentId':this[_0x5e30c7(0x128)],..._0x2a8713}:void 0x0);}},Q=class extends _0x58852c{[_0x3f31bc(0x171)](_0x365cee=''){const _0x15044e=_0x3f31bc;return this[_0x15044e(0x1a7)](_0x365cee)[_0x15044e(0x131)](_0x3c7ca4=>this[_0x15044e(0x132)](_0x3c7ca4[_0x15044e(0x175)],_0x365cee));}[_0x3f31bc(0x1b3)](_0x436f1a,_0x2d08a1=''){const _0x56d758=_0x3f31bc;return this[_0x56d758(0x1a7)](_0x2d08a1)['some'](_0x18266a=>_0x18266a['tableId']===_0x436f1a)?this['_createFDocumentTable'](_0x436f1a,_0x2d08a1):null;}[_0x3f31bc(0x155)](_0x451144,_0x483261=''){const _0x13fcd4=_0x3f31bc;var _0x41d8e2;let _0x510d7f=(_0x41d8e2=this['_getTables'](_0x483261)[_0x451144])==null?void 0x0:_0x41d8e2[_0x13fcd4(0x175)];return _0x510d7f?this[_0x13fcd4(0x132)](_0x510d7f,_0x483261):null;}['getTableAtSelection'](){const _0x29f521=_0x3f31bc;let _0x24080c=this[_0x29f521(0x13a)][_0x29f521(0x168)](_0x447a3e)['getStableTableSelection']();return _0x24080c!=null&&_0x24080c['tableId']?this[_0x29f521(0x132)](_0x24080c[_0x29f521(0x175)],_0x24080c['segmentId']):null;}['findTableByText'](_0x41c78b,_0x32781c=''){const _0x257eb2=_0x3f31bc;var _0x9d5f4a;return(_0x9d5f4a=this[_0x257eb2(0x15b)](_0x41c78b,_0x32781c)[0x0])==null?null:_0x9d5f4a;}['findTables'](_0x2e7c70,_0x482f9f=''){const _0x216517=_0x3f31bc;let _0x5c0cad=this[_0x216517(0x1cb)](_0x482f9f),_0x20683f=typeof _0x2e7c70==_0x216517(0x183)?{'text':_0x2e7c70}:_0x2e7c70;return this[_0x216517(0x171)](_0x482f9f)[_0x216517(0x1b4)](_0x392645=>{const _0x5a3098=_0x216517;let _0x25155d=_0x392645['getId']();return!(_0x20683f['tableId']&&_0x25155d!==_0x20683f[_0x5a3098(0x175)]||_0x20683f[_0x5a3098(0x1c6)]&&!this[_0x5a3098(0x18b)](_0x5c0cad,_0x25155d,_0x20683f['text'])||_0x20683f[_0x5a3098(0x153)]&&!this[_0x5a3098(0x159)](_0x392645,0x0,_0x20683f['headerText'])||_0x20683f[_0x5a3098(0x1a5)]&&!this[_0x5a3098(0x159)](_0x392645,0x0,_0x20683f[_0x5a3098(0x1a5)]));});}[_0x3f31bc(0x186)](_0xd0fa4d,_0x4b9de7,_0x598a7d={}){const _0x146a97=_0x3f31bc;var _0xf99409,_0x1f7cb1;let _0x151946=this[_0x146a97(0x13a)][_0x146a97(0x168)](_0x3bc718),_0x5979c1=(_0xf99409=_0x598a7d['tableId'])==null?_0x4ff5d3(0x6):_0xf99409;return _0x151946[_0x146a97(0x133)](_0x445ccc['id'],{..._0x598a7d,'unitId':this[_0x146a97(0x15d)](),'rows':_0xd0fa4d,'columns':_0x4b9de7,'tableId':_0x5979c1})?this[_0x146a97(0x132)](_0x5979c1,(_0x1f7cb1=_0x598a7d[_0x146a97(0x17e)])==null?'':_0x1f7cb1):null;}[_0x3f31bc(0x197)](_0x5ae88d,_0x2d04db={}){const _0x334ced=_0x3f31bc;var _0x46ca34,_0x2d4dc5;let _0x12b352=this[_0x334ced(0x13a)][_0x334ced(0x168)](_0x3bc718),_0x36cd9a=(_0x46ca34=_0x2d04db['tableId'])==null?_0x4ff5d3(0x6):_0x46ca34;return _0x12b352[_0x334ced(0x133)](_0x445ccc['id'],{..._0x2d04db,'unitId':this[_0x334ced(0x15d)](),'values':_0x5ae88d,'tableId':_0x36cd9a})?this['_createFDocumentTable'](_0x36cd9a,(_0x2d4dc5=_0x2d04db['segmentId'])==null?'':_0x2d4dc5):null;}['_getTables'](_0x419997=''){const _0x4588d8=_0x3f31bc;let {tables:_0x3aa795=[]}=this[_0x4588d8(0x140)](_0x419997);return _0x3aa795;}['_getTableDocumentData'](_0x330165=''){const _0x38c1fc=_0x3f31bc;let _0x52d0d5=this['getDocumentDataModel']()[_0x38c1fc(0x18a)]();return _0x330165?{...this[_0x38c1fc(0x1ba)](_0x330165)[_0x38c1fc(0x18a)](),'documentStyle':_0x52d0d5[_0x38c1fc(0x14c)],'tableSource':_0x52d0d5['tableSource']}:_0x52d0d5;}[_0x3f31bc(0x132)](_0x24bc9b,_0x5537a6=''){const _0x121c43=_0x3f31bc;return this[_0x121c43(0x13a)][_0x121c43(0x160)](Z,this,_0x24bc9b,_0x5537a6,this[_0x121c43(0x13a)]);}[_0x3f31bc(0x18b)](_0x3a8b0f,_0x2ee45f,_0x3f889){const _0x1857d9=_0x3f31bc;var _0x3d4027;let _0x1acba7=_0x80ff26(_0x3a8b0f,_0x2ee45f);if(!_0x1acba7)return!0x1;let _0x3f434e=(_0x3d4027=_0x3a8b0f[_0x1857d9(0x154)])==null?void 0x0:_0x3d4027[_0x1857d9(0x16a)];return _0x3f434e?_0x3f434e[_0x1857d9(0x1c4)](_0x1acba7[_0x1857d9(0x1c8)],_0x1acba7['endOffset'])[_0x1857d9(0x19c)](_0x3f889):!0x1;}[_0x3f31bc(0x159)](_0x52bef7,_0x273066,_0x2a1dcf){const _0x2ca09c=_0x3f31bc;return Array[_0x2ca09c(0x150)]({'length':_0x52bef7[_0x2ca09c(0x1bc)]()},(_0xb1756e,_0x4ba3ec)=>_0x52bef7['getCellText'](_0x273066,_0x4ba3ec))[_0x2ca09c(0x147)](_0x4ba57d=>_0x4ba57d[_0x2ca09c(0x19c)](_0x2a1dcf));}};_0x58852c[_0x3f31bc(0x19e)](Q);export{Z as FDocumentTable,K as FDocumentTableCell};
1
+ const _0x98e77b=_0x171b;(function(_0x3a11d7,_0x3fcedb){const _0x14018b=_0x171b,_0x550f78=_0x3a11d7();while(!![]){try{const _0x5e69fe=-parseInt(_0x14018b(0x1d8))/0x1+-parseInt(_0x14018b(0x144))/0x2*(-parseInt(_0x14018b(0x1c4))/0x3)+-parseInt(_0x14018b(0x1bf))/0x4*(-parseInt(_0x14018b(0x194))/0x5)+parseInt(_0x14018b(0x145))/0x6*(parseInt(_0x14018b(0x19b))/0x7)+-parseInt(_0x14018b(0x142))/0x8*(parseInt(_0x14018b(0x159))/0x9)+-parseInt(_0x14018b(0x1ae))/0xa+-parseInt(_0x14018b(0x193))/0xb;if(_0x5e69fe===_0x3fcedb)break;else _0x550f78['push'](_0x550f78['shift']());}catch(_0x346755){_0x550f78['push'](_0x550f78['shift']());}}}(_0x4abd,0x4fb4e));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x5daad3,DocsTableBorderPreset as _0xee5d7,DocsTableColumnInsertPosition as _0x161c67,DocsTableColumnType as _0x2cdb3e,DocsTableInsertPosition as _0x1e3538,DocsTableInsertTableCommand as _0x564fad,DocsTableInsertTablePosition as _0x370041,DocsTableModel as _0x221d1b,DocsTableRowInsertPosition as _0x5e8c25,DocsTableSelectionKind as _0x15b168,DocsTableSelectionService as _0x910f0,DocsTableSortDirection as _0x4c4df2,buildDeleteTableColumnsMutationActions as _0x37b18d,buildDeleteTableMutationActions as _0x596a46,buildDeleteTableRowsMutationActions as _0x1235fc,buildDistributeTableColumnsMutationActions as _0x2a358e,buildDistributeTableRowsMutationActions as _0x462a0e,buildInsertTableColumnsMutationActions as _0x4ee274,buildInsertTableRowsMutationActions as _0x55aac5,buildInsertTableTitleRowMutationActions as _0xdb4f13,buildMergeCellsMutationActions as _0x5cc68b,buildMoveFloatingTableMutationActions as _0x5b633b,buildMoveTableColumnsMutationActions as _0x30c0d3,buildMoveTableRowsMutationActions as _0x4a2d62,buildMoveTableToOffsetMutationActions as _0x5e47b0,buildResizeTableColumnActionsFromWidth as _0x15050b,buildResizeTableRowActionsFromHeight as _0x4369cd,buildSetTableBackgroundMutationActions as _0x40ea58,buildSetTableBorderMutationActions as _0x7cd31b,buildSetTableCellMarginMutationActions as _0x4102f4,buildSetTableCellTextMutationActions as _0x40ceae,buildSetTableDefaultCellMarginMutationActions as _0x521317,buildSetTableHeaderRowCountMutationActions as _0x19cc13,buildSortTableMutationActions as _0x3a97d5,buildUnmergeCellsMutationActions as _0x14ba5d,executeRichTextTableActions as _0x46c38e,getTableActionBodyPath as _0x1b8832,getTableRangeById as _0x50bcbd}from'@univerjs-pro/docs-table';import{DashStyleType as _0x399693,ICommandService as _0x3377a4,TableRowHeightRule as _0x76fe98,Tools as _0x10f198,generateRandomId as _0x535cfa}from'@univerjs/core';import{FEnum as _0xce6358}from'@univerjs/core/facade';function _0x171b(_0x2818e5,_0x37390e){_0x2818e5=_0x2818e5-0x139;const _0x4abdd4=_0x4abd();let _0x171b00=_0x4abdd4[_0x2818e5];return _0x171b00;}import{FDocument as _0x2b36a9}from'@univerjs/docs/facade';var G=class extends _0xce6358{get['DocsTableInsertTablePosition'](){return _0x370041;}get[_0x98e77b(0x1c5)](){return _0x2cdb3e;}get['DocsTableSelectionKind'](){return _0x15b168;}get[_0x98e77b(0x14e)](){return _0x5e8c25;}get[_0x98e77b(0x156)](){return _0x161c67;}get[_0x98e77b(0x197)](){return _0xee5d7;}get['DocsTableSortDirection'](){return _0x4c4df2;}get[_0x98e77b(0x1b5)](){return _0x399693;}};_0xce6358[_0x98e77b(0x162)](G);var K=class{constructor(_0x20a373,_0x26a72d,_0x3158ab){const _0x4aa00c=_0x98e77b;this[_0x4aa00c(0x1b6)]=_0x20a373,this[_0x4aa00c(0x1c8)]=_0x26a72d,this[_0x4aa00c(0x13b)]=_0x3158ab;}[_0x98e77b(0x1da)](){const _0x5394f7=_0x98e77b;return this[_0x5394f7(0x1b6)];}['getRowIndex'](){return this['_row'];}['getColumnIndex'](){return this['_column'];}['getText'](){const _0xb2bae3=_0x98e77b;return this[_0xb2bae3(0x1b6)][_0xb2bae3(0x147)](this[_0xb2bae3(0x1c8)],this['_column']);}['getContentRange'](){const _0x9c7d99=_0x98e77b;return this[_0x9c7d99(0x1b6)][_0x9c7d99(0x1af)](this[_0x9c7d99(0x1c8)],this[_0x9c7d99(0x13b)]);}['getInsertOffset'](){const _0x57a9a9=_0x98e77b;return this[_0x57a9a9(0x1b6)][_0x57a9a9(0x1bb)](this[_0x57a9a9(0x1c8)],this[_0x57a9a9(0x13b)]);}[_0x98e77b(0x1e7)](){const _0xb91b70=_0x98e77b;return this['_table'][_0xb91b70(0x1d0)](this[_0xb91b70(0x1c8)],this[_0xb91b70(0x13b)]);}[_0x98e77b(0x1d3)](){const _0x48dbe3=_0x98e77b;return this[_0x48dbe3(0x1b6)][_0x48dbe3(0x13e)](this['_row'],this[_0x48dbe3(0x13b)]);}[_0x98e77b(0x155)](_0x1e4f57){const _0xedb81=_0x98e77b;return this[_0xedb81(0x1b6)][_0xedb81(0x173)](this[_0xedb81(0x1b6)]['getCellRange'](this[_0xedb81(0x1c8)],this[_0xedb81(0x13b)]),_0x1e4f57);}[_0x98e77b(0x1d6)](){const _0x51c865=_0x98e77b;return this[_0x51c865(0x1b6)][_0x51c865(0x173)](this['_table'][_0x51c865(0x19f)](this[_0x51c865(0x1c8)],this[_0x51c865(0x13b)]),null);}[_0x98e77b(0x164)](_0x1ab698){const _0x5628b7=_0x98e77b;return this['_table']['setCellText'](this[_0x5628b7(0x1c8)],this[_0x5628b7(0x13b)],_0x1ab698);}[_0x98e77b(0x13c)](_0x1797fb){const _0x20dcf4=_0x98e77b;return this[_0x20dcf4(0x1b6)]['setCellBackground'](this[_0x20dcf4(0x1b6)][_0x20dcf4(0x19f)](this['_row'],this['_column']),_0x1797fb);}[_0x98e77b(0x17f)](_0xfdf63d){const _0x3c144f=_0x98e77b;return this[_0x3c144f(0x1b6)]['setBorder'](this[_0x3c144f(0x1b6)][_0x3c144f(0x19f)](this[_0x3c144f(0x1c8)],this[_0x3c144f(0x13b)]),_0xfdf63d);}[_0x98e77b(0x1b1)](_0x2ae90f,_0x52ea5b){const _0x5415e5=_0x98e77b;return this[_0x5415e5(0x1b6)][_0x5415e5(0x17a)]({'startRow':this[_0x5415e5(0x1c8)],'startColumn':this['_column'],'endRow':this[_0x5415e5(0x1c8)]+_0x2ae90f-0x1,'endColumn':this['_column']+_0x52ea5b-0x1});}[_0x98e77b(0x1a3)](){const _0x558fc1=_0x98e77b;return this[_0x558fc1(0x1b6)][_0x558fc1(0x188)](this['_table'][_0x558fc1(0x19f)](this['_row'],this[_0x558fc1(0x13b)]));}};function q(_0x4f5cb9){'@babel/helpers - typeof';const _0x1abd09=_0x98e77b;return q=typeof Symbol=='function'&&typeof Symbol[_0x1abd09(0x189)]==_0x1abd09(0x1db)?function(_0x45def3){return typeof _0x45def3;}:function(_0x55eef6){const _0x314abd=_0x1abd09;return _0x55eef6&&typeof Symbol==_0x314abd(0x1a9)&&_0x55eef6[_0x314abd(0x1bc)]===Symbol&&_0x55eef6!==Symbol[_0x314abd(0x152)]?_0x314abd(0x1db):typeof _0x55eef6;},q(_0x4f5cb9);}function J(_0x1e808f,_0x2fd5a3){const _0x3bdd04=_0x98e77b;if(q(_0x1e808f)!=_0x3bdd04(0x1b3)||!_0x1e808f)return _0x1e808f;var _0x46703d=_0x1e808f[Symbol[_0x3bdd04(0x1d5)]];if(_0x46703d!==void 0x0){var _0x438947=_0x46703d[_0x3bdd04(0x1aa)](_0x1e808f,_0x2fd5a3||_0x3bdd04(0x13a));if(q(_0x438947)!=_0x3bdd04(0x1b3))return _0x438947;throw TypeError(_0x3bdd04(0x184));}return(_0x2fd5a3===_0x3bdd04(0x157)?String:Number)(_0x1e808f);}function Y(_0x25544f){const _0x5f3c07=_0x98e77b;var _0x15999d=J(_0x25544f,'string');return q(_0x15999d)==_0x5f3c07(0x1db)?_0x15999d:_0x15999d+'';}function X(_0x1da40a,_0x590eb0,_0x5b14a1){const _0x815f6f=_0x98e77b;return(_0x590eb0=Y(_0x590eb0))in _0x1da40a?Object[_0x815f6f(0x16b)](_0x1da40a,_0x590eb0,{'value':_0x5b14a1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1da40a[_0x590eb0]=_0x5b14a1,_0x1da40a;}var Z=class{constructor(_0x246b8a,_0x588199,_0x4fea34='',_0x31383b){const _0x1a2456=_0x98e77b;this[_0x1a2456(0x1a6)]=_0x246b8a,this['_tableId']=_0x588199,this[_0x1a2456(0x1ca)]=_0x4fea34,this[_0x1a2456(0x1cd)]=_0x31383b,X(this,_0x1a2456(0x180),void 0x0),this[_0x1a2456(0x180)]=this[_0x1a2456(0x1a6)]['getId']();}['getId'](){const _0x351da0=_0x98e77b;return this[_0x351da0(0x171)];}[_0x98e77b(0x18c)](){const _0x22d4fe=_0x98e77b;return this[_0x22d4fe(0x1ca)];}[_0x98e77b(0x18e)](){const _0x3f7628=_0x98e77b;return{'id':this['_tableId'],'rowCount':this[_0x3f7628(0x161)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x3f7628(0x1b2)](),'source':this[_0x3f7628(0x1e8)]()};}[_0x98e77b(0x151)](){const _0x1dce79=_0x98e77b;var _0x5500da,_0x5967a2;let _0x16fa85=this['getMetadata'](),_0x52526d=this[_0x1dce79(0x1e8)](),_0x3e38de=this['getColumnCount']();return{'id':this[_0x1dce79(0x171)],'rowCount':this[_0x1dce79(0x161)](),'columnCount':_0x3e38de,'headerRowCount':(_0x5500da=_0x16fa85==null?void 0x0:_0x16fa85['headerRowCount'])==null?0x0:_0x5500da,'titleRow':(_0x5967a2=_0x16fa85==null?void 0x0:_0x16fa85[_0x1dce79(0x18d)])==null?!0x1:_0x5967a2,'columns':Array[_0x1dce79(0x1b7)]({'length':_0x3e38de},(_0x115a36,_0x11c2f0)=>{const _0x5a9899=_0x1dce79;var _0xb4f5c,_0x539bae;return{'index':_0x11c2f0,'type':_0x16fa85==null||(_0xb4f5c=_0x16fa85[_0x5a9899(0x1cc)])==null||(_0xb4f5c=_0xb4f5c[_0x11c2f0])==null?void 0x0:_0xb4f5c[_0x5a9899(0x1d4)],'width':_0x52526d==null||(_0x539bae=_0x52526d[_0x5a9899(0x15e)][_0x11c2f0])==null?void 0x0:_0x539bae[_0x5a9899(0x1df)]['width']['v']};}),'sampleRows':Array[_0x1dce79(0x1b7)]({'length':this[_0x1dce79(0x161)]()},(_0x31f7ca,_0x59ecba)=>Array[_0x1dce79(0x1b7)]({'length':_0x3e38de},(_0x49022f,_0x5f12cf)=>this[_0x1dce79(0x147)](_0x59ecba,_0x5f12cf)))['filter'](_0x3a3a2=>_0x3a3a2[_0x1dce79(0x16d)](_0x9651f9=>_0x9651f9['length']>0x0))['slice'](0x0,0x5)};}[_0x98e77b(0x161)](){const _0x207a9c=_0x98e77b;var _0x576612,_0x4a9e85;return(_0x576612=(_0x4a9e85=this[_0x207a9c(0x1e8)]())==null?void 0x0:_0x4a9e85['tableRows'][_0x207a9c(0x14f)])==null?0x0:_0x576612;}[_0x98e77b(0x1c3)](){const _0x4550ec=_0x98e77b;var _0x3de7a8,_0x244706;return(_0x3de7a8=(_0x244706=this[_0x4550ec(0x1e8)]())==null?void 0x0:_0x244706[_0x4550ec(0x15e)]['length'])==null?0x0:_0x3de7a8;}['getCell'](_0x697046,_0x45c9e9){const _0x5e496b=_0x98e77b;var _0x44319a;return!((_0x44319a=this[_0x5e496b(0x1e8)]())==null||(_0x44319a=_0x44319a[_0x5e496b(0x14a)][_0x697046])==null)&&_0x44319a[_0x5e496b(0x1d1)][_0x45c9e9]?this[_0x5e496b(0x1cd)][_0x5e496b(0x1b4)](K,this,_0x697046,_0x45c9e9):null;}[_0x98e77b(0x147)](_0x35dd8f,_0x4f23cf){const _0x4f471e=_0x98e77b;var _0x10e26d,_0x274590,_0x51ea02;let _0xdabffd=(_0x10e26d=_0x50bcbd(this['_getDocumentData'](),this['_tableId']))==null||(_0x10e26d=_0x10e26d['rows'][_0x35dd8f])==null?void 0x0:_0x10e26d['cells'][_0x4f23cf];return _0xdabffd?(_0x274590=(_0x51ea02=this[_0x4f471e(0x196)]()[_0x4f471e(0x14b)])==null?void 0x0:_0x51ea02[_0x4f471e(0x1c2)][_0x4f471e(0x18b)](_0xdabffd[_0x4f471e(0x140)]+0x1,_0xdabffd['endOffset'])['replace'](/\r\n$/,''))==null?'':_0x274590:'';}['getCellMargin'](_0x536593,_0x3c6c30){const _0x24771d=_0x98e77b;var _0xd30eac,_0x21ca98,_0x1c7b7a;let _0x2e8627=this[_0x24771d(0x1e8)](),_0x476e0d=_0x2e8627==null||(_0xd30eac=_0x2e8627[_0x24771d(0x14a)][_0x536593])==null?void 0x0:_0xd30eac[_0x24771d(0x1d1)][_0x3c6c30];return _0x476e0d?_0x10f198['deepClone']((_0x21ca98=(_0x1c7b7a=_0x476e0d[_0x24771d(0x17d)])==null?_0x2e8627[_0x24771d(0x158)]:_0x1c7b7a)==null?_0x5daad3:_0x21ca98):null;}[_0x98e77b(0x13e)](_0x13a43a,_0x169b73){const _0x4714eb=_0x98e77b;var _0x1773f3;let _0x39251a=(_0x1773f3=this[_0x4714eb(0x1e8)]())==null||(_0x1773f3=_0x1773f3[_0x4714eb(0x14a)][_0x13a43a])==null?void 0x0:_0x1773f3['tableCells'][_0x169b73];return _0x39251a!=null&&_0x39251a[_0x4714eb(0x17d)]?_0x10f198[_0x4714eb(0x165)](_0x39251a[_0x4714eb(0x17d)]):null;}[_0x98e77b(0x14c)](){const _0x31ff54=_0x98e77b;var _0x417379,_0x2c2524;return _0x10f198['deepClone']((_0x417379=(_0x2c2524=this['getSource']())==null?void 0x0:_0x2c2524[_0x31ff54(0x158)])==null?_0x5daad3:_0x417379);}[_0x98e77b(0x1a7)](){const _0x56eeb0=_0x98e77b;var _0x4a6c22;let _0x111851=(_0x4a6c22=this[_0x56eeb0(0x1e8)]())==null?void 0x0:_0x4a6c22['cellMargin'];return _0x111851?_0x10f198[_0x56eeb0(0x165)](_0x111851):null;}[_0x98e77b(0x1b2)](){const _0x32c2ca=_0x98e77b;return this['_injector']['get'](_0x221d1b)['getTableMetadata'](this[_0x32c2ca(0x180)],this[_0x32c2ca(0x171)]);}[_0x98e77b(0x1e8)](){const _0xee5a4c=_0x98e77b;var _0xb7ffb8;return(_0xb7ffb8=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0xb7ffb8[this[_0xee5a4c(0x171)]];}['getRange'](){const _0x272cc7=_0x98e77b;return _0x50bcbd(this[_0x272cc7(0x196)](),this[_0x272cc7(0x171)]);}['getTableRange'](){const _0x506a8d=_0x98e77b;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x506a8d(0x161)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x506a8d(0x1a8)](0x0,this[_0x506a8d(0x1c3)]()-0x1)};}[_0x98e77b(0x19f)](_0x30fbaf,_0x493b21){return{'startRow':_0x30fbaf,'endRow':_0x30fbaf,'startColumn':_0x493b21,'endColumn':_0x493b21};}['getCellContentRange'](_0x379b44,_0x6c826d){const _0x822263=_0x98e77b;var _0x35eea0;let _0x2bbffc=(_0x35eea0=_0x50bcbd(this['_getDocumentData'](),this[_0x822263(0x171)]))==null||(_0x35eea0=_0x35eea0[_0x822263(0x16a)][_0x379b44])==null?void 0x0:_0x35eea0['cells'][_0x6c826d];if(!_0x2bbffc)return null;let _0x31ddc8=_0x2bbffc[_0x822263(0x140)]+0x1;return{'startOffset':_0x31ddc8,'endOffset':Math[_0x822263(0x1a8)](_0x31ddc8,_0x2bbffc[_0x822263(0x1ad)]-0x1),'segmentId':this['_segmentId']};}[_0x98e77b(0x1bb)](_0x2f6e51,_0x1e28a1){const _0x5f26b0=_0x98e77b;var _0xe33a5b,_0x5aca5f;return(_0xe33a5b=(_0x5aca5f=this[_0x5f26b0(0x1af)](_0x2f6e51,_0x1e28a1))==null?void 0x0:_0x5aca5f['endOffset'])==null?null:_0xe33a5b;}[_0x98e77b(0x170)](_0x477323){const _0x3cc908=_0x98e77b;return this[_0x3cc908(0x1b0)](_0x477323,0x1);}[_0x98e77b(0x1b0)](_0x4143c4,_0x9fb5cc=0x1){const _0x5c39d9=_0x98e77b;return{'startRow':_0x4143c4,'endRow':_0x4143c4+_0x9fb5cc-0x1,'startColumn':0x0,'endColumn':Math[_0x5c39d9(0x1a8)](0x0,this[_0x5c39d9(0x1c3)]()-0x1)};}[_0x98e77b(0x1d7)](_0x4f4246){const _0x39ab2d=_0x98e77b;return this[_0x39ab2d(0x182)](_0x4f4246,0x1);}['getColumnsRange'](_0x170da8,_0x1e401d=0x1){return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':_0x170da8,'endColumn':_0x170da8+_0x1e401d-0x1};}[_0x98e77b(0x192)](){const _0x460c3f=_0x98e77b;return this[_0x460c3f(0x1bd)](this[_0x460c3f(0x1e0)](),_0x15b168['Table']);}[_0x98e77b(0x1b8)](_0x2a8583){const _0x344afe=_0x98e77b;return this[_0x344afe(0x16c)](_0x2a8583,0x1);}[_0x98e77b(0x16c)](_0x21ba5d,_0x48aba7=0x1){const _0x4883c9=_0x98e77b;return this[_0x4883c9(0x1bd)](this['getRowsRange'](_0x21ba5d,_0x48aba7),_0x15b168['Row']);}[_0x98e77b(0x169)](_0x53854c){return this['selectColumns'](_0x53854c,0x1);}[_0x98e77b(0x141)](_0x351af3,_0x52a51a=0x1){const _0x186c97=_0x98e77b;return this[_0x186c97(0x1bd)](this[_0x186c97(0x182)](_0x351af3,_0x52a51a),_0x15b168[_0x186c97(0x17b)]);}[_0x98e77b(0x1a1)](_0x3251a7,_0x537c60){const _0x2acc9a=_0x98e77b;return this[_0x2acc9a(0x1bd)](this[_0x2acc9a(0x19f)](_0x3251a7,_0x537c60),_0x15b168[_0x2acc9a(0x1ba)]);}[_0x98e77b(0x1bd)](_0x4daacc,_0x5853f3=_0x15b168['Range']){const _0x12ea8a=_0x98e77b;return this[_0x12ea8a(0x1cd)]['get'](_0x910f0)[_0x12ea8a(0x179)]({..._0x4daacc,'kind':_0x5853f3,'segmentId':this[_0x12ea8a(0x1ca)],'tableId':this[_0x12ea8a(0x171)]}),!0x0;}[_0x98e77b(0x1c9)](_0x2d2f75){const _0x45e22e=_0x98e77b;return this[_0x45e22e(0x154)](_0x2d2f75,0x1);}[_0x98e77b(0x1a5)](_0x40cff8){return this['insertRowsAfter'](_0x40cff8,0x1);}[_0x98e77b(0x154)](_0x2cdae9,_0x48b69b){const _0x1879ee=_0x98e77b;let _0x48dde3=this['_getDocumentData'](),_0x4391b5=_0x55aac5(_0x48dde3,this['_tableId'],_0x2cdae9,_0x48b69b,_0x1e3538[_0x1879ee(0x13d)],this[_0x1879ee(0x178)]());return _0x4391b5?this[_0x1879ee(0x15f)](_0x48dde3,_0x4391b5[_0x1879ee(0x167)]):!0x1;}[_0x98e77b(0x1c7)](_0x449d8a,_0x3f6346){const _0x186a2f=_0x98e77b;let _0x380256=this['_getDocumentData'](),_0x2ed9e4=_0x55aac5(_0x380256,this[_0x186a2f(0x171)],_0x449d8a,_0x3f6346,_0x1e3538['Below'],this['_getBodyPath']());return _0x2ed9e4?this[_0x186a2f(0x15f)](_0x380256,_0x2ed9e4[_0x186a2f(0x167)]):!0x1;}[_0x98e77b(0x143)](){const _0x5f2adf=_0x98e77b;return this[_0x5f2adf(0x1c7)](Math['max'](0x0,this['getRowCount']()-0x1),0x1);}[_0x98e77b(0x17c)](_0x21601a){const _0x286e8c=_0x98e77b;return this[_0x286e8c(0x1d2)](_0x21601a,0x1);}['insertColumnAfter'](_0x435c71){const _0x2853fc=_0x98e77b;return this[_0x2853fc(0x1ce)](_0x435c71,0x1);}[_0x98e77b(0x1d2)](_0x2aa21f,_0x353234){const _0x96914e=_0x98e77b;let _0x3d13df=this['_getDocumentData'](),_0x1cb6bb=_0x4ee274(_0x3d13df,this['_tableId'],_0x2aa21f,_0x353234,_0x1e3538['Left'],{'bodyPath':this[_0x96914e(0x178)]()});return _0x1cb6bb?this[_0x96914e(0x15f)](_0x3d13df,_0x1cb6bb['actions']):!0x1;}['insertColumnsAfter'](_0x122adf,_0x391420){const _0x366dd6=_0x98e77b;let _0x2e7a68=this[_0x366dd6(0x196)](),_0x302bc0=_0x4ee274(_0x2e7a68,this[_0x366dd6(0x171)],_0x122adf,_0x391420,_0x1e3538[_0x366dd6(0x1c0)],{'bodyPath':this[_0x366dd6(0x178)]()});return _0x302bc0?this['_mutateActions'](_0x2e7a68,_0x302bc0[_0x366dd6(0x167)]):!0x1;}['appendColumn'](){const _0x14fbed=_0x98e77b;return this['insertColumnsAfter'](Math[_0x14fbed(0x1a8)](0x0,this['getColumnCount']()-0x1),0x1);}[_0x98e77b(0x16e)](_0x2acd8e){const _0x3418d1=_0x98e77b;return this[_0x3418d1(0x1ac)](_0x2acd8e,0x1);}[_0x98e77b(0x1ac)](_0x105602,_0x52a775=0x1){const _0xa3741d=_0x98e77b;let _0x2c3b36=this[_0xa3741d(0x196)](),_0x188049=_0x1235fc(_0x2c3b36,this[_0xa3741d(0x171)],_0x105602,_0x105602+_0x52a775-0x1,this[_0xa3741d(0x178)]());return _0x188049?this[_0xa3741d(0x15f)](_0x2c3b36,_0x188049['actions']):!0x1;}[_0x98e77b(0x186)](_0x4dd7af){const _0x2e2bd6=_0x98e77b;return this[_0x2e2bd6(0x191)](_0x4dd7af,0x1);}[_0x98e77b(0x191)](_0x446be2,_0x43abfe=0x1){const _0x1a05a8=_0x98e77b;let _0x235e7f=this[_0x1a05a8(0x196)](),_0x32231f=_0x37b18d(_0x235e7f,this[_0x1a05a8(0x171)],_0x446be2,_0x446be2+_0x43abfe-0x1,this[_0x1a05a8(0x178)]());return _0x32231f?this[_0x1a05a8(0x15f)](_0x235e7f,_0x32231f[_0x1a05a8(0x167)]):!0x1;}[_0x98e77b(0x175)](){const _0x25b0ce=_0x98e77b;let _0x51e53f=this[_0x25b0ce(0x196)](),_0x20bb43=_0x596a46(_0x51e53f,this['_tableId'],this[_0x25b0ce(0x178)]());return _0x20bb43?this[_0x25b0ce(0x15f)](_0x51e53f,_0x20bb43[_0x25b0ce(0x167)]):!0x1;}[_0x98e77b(0x1a2)](_0x2869a6,_0x2e59f6){const _0x144643=_0x98e77b;let _0x36bba2=this[_0x144643(0x196)]();return this['_mutateActions'](_0x36bba2,_0x5b633b(_0x36bba2,this[_0x144643(0x171)],_0x2869a6,_0x2e59f6));}[_0x98e77b(0x15d)](_0x2a3535){const _0x1a8ae3=_0x98e77b;let _0x5b45d1=this['_getDocumentData']();return this[_0x1a8ae3(0x15f)](_0x5b45d1,_0x5e47b0(_0x5b45d1,this[_0x1a8ae3(0x171)],_0x2a3535,this['_getBodyPath']()));}[_0x98e77b(0x19d)](_0x2be5fa,_0x12abcd,_0x4e98d2=_0x1e3538[_0x98e77b(0x13d)]){const _0x41ce0e=_0x98e77b;return this[_0x41ce0e(0x19c)](_0x2be5fa,0x1,_0x12abcd,_0x4e98d2);}['moveRows'](_0xf023b0,_0x397c8e,_0x44261a,_0x4c7ad5=_0x1e3538[_0x98e77b(0x13d)]){const _0x17a593=_0x98e77b;let _0x209861=this[_0x17a593(0x196)](),_0x259de6=_0x4a2d62(_0x209861,this[_0x17a593(0x171)],_0xf023b0,_0x44261a,_0x397c8e,_0x4c7ad5,this[_0x17a593(0x178)]());return _0x259de6?this[_0x17a593(0x15f)](_0x209861,_0x259de6['actions']):!0x1;}[_0x98e77b(0x1d9)](_0x3ca72e,_0x1f9188,_0x53537f=_0x1e3538[_0x98e77b(0x1dd)]){const _0x238ad9=_0x98e77b;return this[_0x238ad9(0x1e2)](_0x3ca72e,0x1,_0x1f9188,_0x53537f);}[_0x98e77b(0x1e2)](_0x449ac0,_0x4ab535,_0x4126a2,_0x289395=_0x1e3538[_0x98e77b(0x1dd)]){const _0x57d16d=_0x98e77b;let _0x6bafac=this[_0x57d16d(0x196)](),_0x475180=_0x30c0d3(_0x6bafac,this[_0x57d16d(0x171)],_0x449ac0,_0x4126a2,_0x4ab535,_0x289395,this[_0x57d16d(0x178)]());return _0x475180?this[_0x57d16d(0x15f)](_0x6bafac,_0x475180[_0x57d16d(0x167)]):!0x1;}['mergeCells'](_0x5cc3e0){const _0x890308=_0x98e77b;try{let _0x53c235=this['_getDocumentData'](),_0x5b2379=_0x5cc68b({'documentData':_0x53c235,'tableId':this[_0x890308(0x171)],..._0x5cc3e0});return _0x5b2379?this['_mutateActions'](_0x53c235,_0x5b2379['actions'],_0x5cc3e0):!0x1;}catch{return!0x1;}}[_0x98e77b(0x188)](_0x39a7f6){const _0x2f0ed4=_0x98e77b;try{let _0x30e549=this[_0x2f0ed4(0x196)](),_0x39b849=_0x14ba5d({'documentData':_0x30e549,'tableId':this['_tableId'],..._0x39a7f6});return _0x39b849?this['_mutateActions'](_0x30e549,_0x39b849[_0x2f0ed4(0x167)],_0x39a7f6):!0x1;}catch{return!0x1;}}[_0x98e77b(0x187)](_0x3ef431,_0x2eb148,_0x40fbb2){const _0x57cdfc=_0x98e77b;let _0x31daf4=this[_0x57cdfc(0x196)](),_0xd389ce=_0x1b8832(this['_document'][_0x57cdfc(0x168)]()[_0x57cdfc(0x149)](),this[_0x57cdfc(0x1ca)]);return this[_0x57cdfc(0x15f)](_0x31daf4,_0x40ceae({'documentData':_0x31daf4,'tableId':this[_0x57cdfc(0x171)],'row':_0x3ef431,'column':_0x2eb148,'text':_0x40fbb2},_0xd389ce),this['getCellRange'](_0x3ef431,_0x2eb148));}[_0x98e77b(0x174)](_0x302e07,_0x10f383){const _0x2e1835=_0x98e77b;let _0x432f17=this[_0x2e1835(0x196)]();return this[_0x2e1835(0x15f)](_0x432f17,_0x40ea58(_0x432f17,{'tableId':this[_0x2e1835(0x171)],..._0x302e07,'value':_0x10f383}),_0x302e07);}[_0x98e77b(0x173)](_0x3ce2d3,_0x12c199){const _0x4ffe33=_0x98e77b;let _0x155ca5=this[_0x4ffe33(0x196)]();return this[_0x4ffe33(0x15f)](_0x155ca5,_0x4102f4({'documentData':_0x155ca5,'tableId':this[_0x4ffe33(0x171)],..._0x3ce2d3,'margin':_0x12c199}),_0x3ce2d3);}['setDefaultCellMargin'](_0x5129fa){const _0x24e7c3=_0x98e77b;let _0x2b1cbb=this['_getDocumentData']();return this[_0x24e7c3(0x15f)](_0x2b1cbb,_0x521317(_0x2b1cbb,this['_tableId'],_0x5129fa));}[_0x98e77b(0x17f)](_0x51b4a6,_0x4f7fc9){const _0x3abd70=_0x98e77b;var _0x1ac524,_0x1896a8,_0x2560f8,_0x1725c2;let _0x1450a3=this[_0x3abd70(0x196)]();return this[_0x3abd70(0x15f)](_0x1450a3,_0x7cd31b({'documentData':_0x1450a3,'tableId':this[_0x3abd70(0x171)],..._0x51b4a6,'preset':(_0x1ac524=_0x4f7fc9['preset'])==null?_0xee5d7[_0x3abd70(0x163)]:_0x1ac524,'border':(_0x1896a8=_0x4f7fc9['border'])==null?{'color':{'rgb':(_0x2560f8=_0x4f7fc9[_0x3abd70(0x1a0)])==null?_0x3abd70(0x195):_0x2560f8},'width':{'v':(_0x1725c2=_0x4f7fc9[_0x3abd70(0x1e5)])==null?0x1:_0x1725c2},'dashStyle':_0x399693[_0x3abd70(0x1b9)]}:_0x1896a8}),_0x51b4a6);}[_0x98e77b(0x153)](_0x4dc229){const _0x1ae153=_0x98e77b;return this[_0x1ae153(0x174)](this[_0x1ae153(0x1e0)](),_0x4dc229);}[_0x98e77b(0x19a)](_0x2c63cf){const _0x3c5c4c=_0x98e77b;return this[_0x3c5c4c(0x17f)](this[_0x3c5c4c(0x1e0)](),_0x2c63cf);}[_0x98e77b(0x19e)](_0x2aab6){const _0x577ebd=_0x98e77b;let _0x223a4b=_0x2aab6['backgroundColor']?this['setTableBackground'](_0x2aab6[_0x577ebd(0x166)]):!0x0,_0x5b61aa=_0x2aab6[_0x577ebd(0x1cf)]?this['setTableBorder'](_0x2aab6[_0x577ebd(0x1cf)]):!0x0;return _0x223a4b&&_0x5b61aa;}[_0x98e77b(0x160)](_0x3bf255,_0x3e4e31,_0x7209be=_0x76fe98[_0x98e77b(0x1dc)]){const _0x39381d=_0x98e77b;var _0x2fe140;let _0x23371c=this[_0x39381d(0x196)]();return!((_0x2fe140=_0x23371c[_0x39381d(0x172)])==null||(_0x2fe140=_0x2fe140[this[_0x39381d(0x171)]])==null)&&_0x2fe140[_0x39381d(0x14a)][_0x3bf255]?this[_0x39381d(0x15f)](_0x23371c,_0x4369cd(_0x23371c,this[_0x39381d(0x171)],_0x3bf255,_0x3e4e31,_0x7209be)):!0x1;}['getRowHeight'](_0x4c4f54){const _0x3f4730=_0x98e77b;var _0x56a951;let _0x26d5ad=(_0x56a951=this[_0x3f4730(0x1e8)]())==null||(_0x56a951=_0x56a951[_0x3f4730(0x14a)][_0x4c4f54])==null?void 0x0:_0x56a951[_0x3f4730(0x1cb)];return _0x26d5ad?_0x10f198[_0x3f4730(0x165)](_0x26d5ad):null;}['setColumnWidth'](_0x3c7e64,_0x316603){const _0x183a93=_0x98e77b;var _0x26b9ce;let _0x5deb41=this[_0x183a93(0x196)]();return!((_0x26b9ce=_0x5deb41[_0x183a93(0x172)])==null||(_0x26b9ce=_0x26b9ce[this[_0x183a93(0x171)]])==null)&&_0x26b9ce['tableColumns'][_0x3c7e64]?this[_0x183a93(0x15f)](_0x5deb41,_0x15050b(_0x5deb41,this['_tableId'],_0x3c7e64,_0x316603)):!0x1;}['distributeRows'](_0x1c82fa=0x0,_0x27ea97=this[_0x98e77b(0x161)]()){const _0x4d6212=_0x98e77b;let _0x408a2c=this[_0x4d6212(0x196)]();return this[_0x4d6212(0x15f)](_0x408a2c,_0x462a0e(_0x408a2c,this[_0x4d6212(0x171)],_0x1c82fa,_0x1c82fa+_0x27ea97-0x1));}[_0x98e77b(0x13f)](_0x21c6fb=0x0,_0x8f4ec6=this['getColumnCount']()){const _0x127398=_0x98e77b;let _0x516ce4=this[_0x127398(0x196)]();return this[_0x127398(0x15f)](_0x516ce4,_0x2a358e(_0x516ce4,this['_tableId'],_0x21c6fb,_0x21c6fb+_0x8f4ec6-0x1));}[_0x98e77b(0x1ab)](){const _0x4adc8a=_0x98e77b;var _0x1e02ab,_0x40164f;return(_0x1e02ab=(_0x40164f=this['getMetadata']())==null?void 0x0:_0x40164f[_0x4adc8a(0x146)])==null?0x0:_0x1e02ab;}['setHeaderRowCount'](_0x333a47){const _0x3da5a3=_0x98e77b;let _0x32ccd5=this[_0x3da5a3(0x1cd)]['get'](_0x221d1b),_0x2ec6ee=this[_0x3da5a3(0x196)](),_0x1189b1=_0x19cc13(_0x2ec6ee,this[_0x3da5a3(0x171)],_0x333a47);if(!_0x1189b1)return!0x1;let _0x34a4ca=this[_0x3da5a3(0x15f)](_0x2ec6ee,_0x1189b1[_0x3da5a3(0x167)]);return _0x34a4ca&&_0x32ccd5[_0x3da5a3(0x181)](this[_0x3da5a3(0x180)],this[_0x3da5a3(0x171)],_0x1189b1[_0x3da5a3(0x146)]),_0x34a4ca;}[_0x98e77b(0x199)](_0x418b70){const _0x1d990e=_0x98e77b;return this[_0x1d990e(0x181)](_0x418b70);}[_0x98e77b(0x1e4)](){const _0x2b9c09=_0x98e77b;var _0x516a8f,_0x1fb81b;return(_0x516a8f=(_0x1fb81b=this[_0x2b9c09(0x1b2)]())==null?void 0x0:_0x1fb81b[_0x2b9c09(0x18d)])==null?!0x1:_0x516a8f;}['insertTitleRow'](){const _0x39b800=_0x98e77b;let _0x1c371e=this[_0x39b800(0x1cd)][_0x39b800(0x150)](_0x221d1b),_0x3d2154=this[_0x39b800(0x196)](),_0x5d9f4c=_0xdb4f13(_0x3d2154,this[_0x39b800(0x171)],this[_0x39b800(0x178)]());if(!_0x5d9f4c)return!0x1;let _0x5797f7=this['_mutateActions'](_0x3d2154,_0x5d9f4c['actions']);return _0x5797f7&&_0x1c371e[_0x39b800(0x1e3)](this[_0x39b800(0x180)],this['_tableId'],!0x0),_0x5797f7;}[_0x98e77b(0x139)](_0x5ddbc4,_0x11d063){const _0x6bc7ce=_0x98e77b;return this['_injector']['get'](_0x221d1b)[_0x6bc7ce(0x139)](this[_0x6bc7ce(0x180)],this[_0x6bc7ce(0x171)],_0x5ddbc4,_0x11d063),!0x0;}[_0x98e77b(0x14d)](_0x5168cd,_0x1b81bd){const _0x32c73a=_0x98e77b;let _0x205609=this[_0x32c73a(0x196)]();return this['_mutateActions'](_0x205609,_0x3a97d5(_0x205609,this[_0x32c73a(0x185)](),this[_0x32c73a(0x171)],_0x5168cd,_0x1b81bd,this[_0x32c73a(0x178)]()));}[_0x98e77b(0x196)](){const _0x2e10da=_0x98e77b;let _0x546290=this[_0x2e10da(0x1a6)]['getDocumentDataModel']()[_0x2e10da(0x149)]();return this[_0x2e10da(0x1ca)]?{...this[_0x2e10da(0x1a6)][_0x2e10da(0x168)](this['_segmentId'])['getSnapshot'](),'documentStyle':_0x546290[_0x2e10da(0x1de)],'tableSource':_0x546290[_0x2e10da(0x172)]}:_0x546290;}[_0x98e77b(0x185)](){const _0x24fc71=_0x98e77b;return this[_0x24fc71(0x1cd)][_0x24fc71(0x150)](_0x221d1b)['serialize'](this[_0x24fc71(0x180)]);}[_0x98e77b(0x178)](){const _0x3674f1=_0x98e77b;return _0x1b8832(this['_document'][_0x3674f1(0x168)]()['getSnapshot'](),this[_0x3674f1(0x1ca)]);}[_0x98e77b(0x15f)](_0x4e7de7,_0x1aa6ca,_0x15b0a5){const _0x497a93=_0x98e77b;return _0x46c38e(this[_0x497a93(0x1cd)]['get'](_0x3377a4),this[_0x497a93(0x180)],_0x4e7de7,_0x1aa6ca,_0x15b0a5?{'tableId':this['_tableId'],'segmentId':this[_0x497a93(0x1ca)],..._0x15b0a5}:void 0x0);}},Q=class extends _0x2b36a9{[_0x98e77b(0x183)](_0x5daa84=''){const _0x4f5568=_0x98e77b;return this[_0x4f5568(0x176)](_0x5daa84)['map'](_0x1a78b7=>this[_0x4f5568(0x1e6)](_0x1a78b7[_0x4f5568(0x16f)],_0x5daa84));}['getTable'](_0x56ddbe,_0x4ee7aa=''){const _0x19b337=_0x98e77b;return this[_0x19b337(0x176)](_0x4ee7aa)['some'](_0x3ff72b=>_0x3ff72b[_0x19b337(0x16f)]===_0x56ddbe)?this[_0x19b337(0x1e6)](_0x56ddbe,_0x4ee7aa):null;}[_0x98e77b(0x1c6)](_0x193247,_0xdacc8e=''){const _0x1757a5=_0x98e77b;var _0x369a32;let _0x3ed9ce=(_0x369a32=this[_0x1757a5(0x176)](_0xdacc8e)[_0x193247])==null?void 0x0:_0x369a32['tableId'];return _0x3ed9ce?this[_0x1757a5(0x1e6)](_0x3ed9ce,_0xdacc8e):null;}['getTableAtSelection'](){const _0x357025=_0x98e77b;let _0x3521bb=this['_injector']['get'](_0x910f0)[_0x357025(0x1be)]();return _0x3521bb!=null&&_0x3521bb['tableId']?this[_0x357025(0x1e6)](_0x3521bb[_0x357025(0x16f)],_0x3521bb[_0x357025(0x177)]):null;}['findTableByText'](_0x21791b,_0x357ef7=''){const _0x35dbbd=_0x98e77b;var _0x370336;return(_0x370336=this[_0x35dbbd(0x198)](_0x21791b,_0x357ef7)[0x0])==null?null:_0x370336;}[_0x98e77b(0x198)](_0x2b7012,_0x27517a=''){const _0x2fe1f3=_0x98e77b;let _0x2a6489=this[_0x2fe1f3(0x15c)](_0x27517a),_0x4d8452=typeof _0x2b7012==_0x2fe1f3(0x157)?{'text':_0x2b7012}:_0x2b7012;return this[_0x2fe1f3(0x183)](_0x27517a)[_0x2fe1f3(0x15b)](_0x30c85d=>{const _0x6c074=_0x2fe1f3;let _0x5cd934=_0x30c85d[_0x6c074(0x18a)]();return!(_0x4d8452[_0x6c074(0x16f)]&&_0x5cd934!==_0x4d8452['tableId']||_0x4d8452[_0x6c074(0x18f)]&&!this[_0x6c074(0x148)](_0x2a6489,_0x5cd934,_0x4d8452[_0x6c074(0x18f)])||_0x4d8452['headerText']&&!this['_rowContainsText'](_0x30c85d,0x0,_0x4d8452['headerText'])||_0x4d8452[_0x6c074(0x17e)]&&!this[_0x6c074(0x15a)](_0x30c85d,0x0,_0x4d8452['titleText']));});}[_0x98e77b(0x1c1)](_0x593e20,_0x33f49b,_0x1b8033={}){const _0x9f8466=_0x98e77b;var _0x3177f9,_0x591805;let _0x25d3c6=this[_0x9f8466(0x1cd)][_0x9f8466(0x150)](_0x3377a4),_0x5488e4=(_0x3177f9=_0x1b8033[_0x9f8466(0x16f)])==null?_0x535cfa(0x6):_0x3177f9;return _0x25d3c6[_0x9f8466(0x190)](_0x564fad['id'],{..._0x1b8033,'unitId':this[_0x9f8466(0x18a)](),'rows':_0x593e20,'columns':_0x33f49b,'tableId':_0x5488e4})?this['_createFDocumentTable'](_0x5488e4,(_0x591805=_0x1b8033[_0x9f8466(0x177)])==null?'':_0x591805):null;}['insertTableFromData'](_0x40968a,_0x1f7507={}){const _0x243a97=_0x98e77b;var _0x4701e5,_0x24310f;let _0x20f2d0=this[_0x243a97(0x1cd)]['get'](_0x3377a4),_0x2c8741=(_0x4701e5=_0x1f7507[_0x243a97(0x16f)])==null?_0x535cfa(0x6):_0x4701e5;return _0x20f2d0['syncExecuteCommand'](_0x564fad['id'],{..._0x1f7507,'unitId':this[_0x243a97(0x18a)](),'values':_0x40968a,'tableId':_0x2c8741})?this[_0x243a97(0x1e6)](_0x2c8741,(_0x24310f=_0x1f7507[_0x243a97(0x177)])==null?'':_0x24310f):null;}[_0x98e77b(0x176)](_0x3228cd=''){const _0x233b64=_0x98e77b;let {tables:_0x29f933=[]}=this[_0x233b64(0x1e1)](_0x3228cd);return _0x29f933;}[_0x98e77b(0x15c)](_0x436c27=''){const _0x19cea3=_0x98e77b;let _0x1c4573=this[_0x19cea3(0x168)]()[_0x19cea3(0x149)]();return _0x436c27?{...this[_0x19cea3(0x168)](_0x436c27)[_0x19cea3(0x149)](),'documentStyle':_0x1c4573[_0x19cea3(0x1de)],'tableSource':_0x1c4573['tableSource']}:_0x1c4573;}['_createFDocumentTable'](_0x474933,_0x269d9b=''){const _0x10a62a=_0x98e77b;return this['_injector'][_0x10a62a(0x1b4)](Z,this,_0x474933,_0x269d9b,this[_0x10a62a(0x1cd)]);}[_0x98e77b(0x148)](_0x5ee167,_0x11e546,_0x1f05c4){const _0x5e2835=_0x98e77b;var _0x3f8a79;let _0x55bc8d=_0x50bcbd(_0x5ee167,_0x11e546);if(!_0x55bc8d)return!0x1;let _0x4d94d6=(_0x3f8a79=_0x5ee167[_0x5e2835(0x14b)])==null?void 0x0:_0x3f8a79[_0x5e2835(0x1c2)];return _0x4d94d6?_0x4d94d6['slice'](_0x55bc8d['startOffset'],_0x55bc8d['endOffset'])['includes'](_0x1f05c4):!0x1;}[_0x98e77b(0x15a)](_0x35b614,_0x1b494f,_0x1a2c14){const _0x2bfb10=_0x98e77b;return Array[_0x2bfb10(0x1b7)]({'length':_0x35b614['getColumnCount']()},(_0x4a3888,_0x2ca429)=>_0x35b614['getCellText'](_0x1b494f,_0x2ca429))['some'](_0x5c1806=>_0x5c1806[_0x2bfb10(0x1a4)](_0x1a2c14));}};_0x2b36a9[_0x98e77b(0x162)](Q);export{Z as FDocumentTable,K as FDocumentTableCell};function _0x4abd(){const _0xd61005=['#1f1f1f','_getDocumentData','DocsTableBorderPreset','findTables','pinHeaderRows','setTableBorder','14nHJcBp','moveRows','moveRow','setTableStyle','getCellRange','color','selectCell','moveTableBy','unmerge','includes','insertRowAfter','_document','getDefaultCellMarginOverride','max','function','call','getHeaderRowCount','deleteRows','endOffset','5542410XOVtYf','getCellContentRange','getRowsRange','mergeTo','getMetadata','object','createInstance','DashStyleType','_table','from','selectRow','SOLID','Cell','getCellInsertOffset','constructor','selectRange','getStableTableSelection','392WJdsEM','Right','insertTable','dataStream','getColumnCount','3PMwHYF','DocsTableColumnType','getTableAt','insertRowsAfter','_row','insertRowBefore','_segmentId','trHeight','columnTypes','_injector','insertColumnsAfter','border','getCellMargin','tableCells','insertColumnsBefore','getMarginOverride','type','toPrimitive','clearMarginOverride','getColumnRange','35387BSXDbu','moveColumn','getTable','symbol','AT_LEAST','Left','documentStyle','size','getTableRange','getBody','moveColumns','setTitleRow','hasTitleRow','width','_createFDocumentTable','getMargin','getSource','setColumnType','default','_column','setBackgroundColor','Above','getCellMarginOverride','distributeColumns','startOffset','selectColumns','262760fNlYOo','appendRow','1262446RhpSrY','1215816wZiTgl','headerRowCount','getCellText','_tableContainsText','getSnapshot','tableRows','body','getDefaultCellMargin','sortByColumn','DocsTableRowInsertPosition','length','get','describe','prototype','setTableBackground','insertRowsBefore','setMargin','DocsTableColumnInsertPosition','string','cellMargin','126UPiieh','_rowContainsText','filter','_getTableDocumentData','moveTableToOffset','tableColumns','_mutateActions','setRowHeight','getRowCount','extend','All','setText','deepClone','backgroundColor','actions','getDocumentDataModel','selectColumn','rows','defineProperty','selectRows','some','deleteRow','tableId','getRowRange','_tableId','tableSource','setCellMargin','setCellBackground','deleteTable','_getTables','segmentId','_getBodyPath','setStructuralSelection','mergeCells','Column','insertColumnBefore','margin','titleText','setBorder','_unitId','setHeaderRowCount','getColumnsRange','getTables','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_serializeModel','deleteColumn','setCellText','unmergeCells','iterator','getId','slice','getSegmentId','titleRow','getInfo','text','syncExecuteCommand','deleteColumns','selectTable','359315fOZykE','18985NVekbS'];_0x4abd=function(){return _0xd61005;};return _0x4abd();}