@univerjs-pro/docs-table 1.0.0-alpha.4 → 1.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4eb6(_0x5db617,_0x402b11){_0x5db617=_0x5db617-0x7d;const _0x525cf5=_0x525c();let _0x4eb621=_0x525cf5[_0x5db617];return _0x4eb621;}function _0x525c(){const _0xcc77cd=['replace','_unitId','DocsTableBorderPreset','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','6LTcWRH','selectCell','includes','headerText','findTableByText','getCellRange','constructor','getTableAt','UniverCore','4186570fdFVck','getBody','width','_tableId','from','insertColumnsAfter','setCellBackground','getCellInsertOffset','buildSetTableCellTextMutationActions','deleteColumn','@univerjs/core/facade','DocsTableInsertTableCommand','selectRange','_document','DashStyleType','setColumnType','setColumnWidth','Cell','titleText','FDocumentTableCell','_tableContainsText','setBackgroundColor','getTables','moveColumns','unmergeCells','buildResizeTableColumnActionsFromWidth','_createFDocumentTable','filter','getInsertOffset','setHeaderRowCount','buildMoveFloatingTableMutationActions','findTables','getSegmentId','columnTypes','_table','3948910dkBUrp','getColumnsRange','getRowsRange','_row','_getBodyPath','cells','buildInsertTableColumnsMutationActions','setBorder','symbol','SOLID','length','unmerge','startOffset','_rowContainsText','setTableBackground','getMetadata','_segmentId','tableColumns','setDefaultCellMargin','selectColumns','documentStyle','DocsTableModel','4158522EOzsRg','AT_LEAST','setStructuralSelection','getRowCount','moveTableBy','getStableTableSelection','buildDeleteTableRowsMutationActions','tableId','Module','selectRow','deepClone','string','getMargin','setCellText','9194EbnDzG','getDocumentDataModel','buildMoveTableRowsMutationActions','buildMoveTableColumnsMutationActions','generateRandomId','ICommandService','setCellMargin','insertColumnsBefore','_column','_injector','_mutateActions','Above','getRowRange','getTable','buildSetTableBackgroundMutationActions','@univerjs-pro/docs-table','setText','buildUnmergeCellsMutationActions','distributeRows','border','UniverProDocsTable','slice','getTableAtSelection','buildSetTableHeaderRowCountMutationActions','margin','iterator','color','UniverDocsFacade','pinHeaderRows','createInstance','getCellContentRange','actions','default','cellMargin','dataStream','segmentId','getInfo','All','DocsTableColumnInsertPosition','buildMergeCellsMutationActions','exports','@univerjs/docs/facade','mergeCells','tableSource','getCell','deleteTable','insertRowsBefore','getDefaultCellMargin','appendRow','getTableActionBodyPath','deleteRow','187WRYipy','headerRowCount','selectColumn','getRowHeight','DocsTableColumnType','setMargin','body','tableRows','buildSetTableCellMarginMutationActions','clearMarginOverride','DocsTableSelectionKind','getHeaderRowCount','insertRowsAfter','buildDeleteTableMutationActions','getCellMargin','selectRows','DocsTableSortDirection','_serializeModel','DocsTableInsertTablePosition','sortByColumn','Row','280VCeqZu','getMarginOverride','DocsTableInsertPosition','FDocument','moveRow','titleRow','deleteColumns','buildResizeTableRowActionsFromHeight','trHeight','getColumnIndex','executeRichTextTableActions','endOffset','TableRowHeightRule','text','buildMoveTableToOffsetMutationActions','selectTable','_getDocumentData','getTableRangeById','buildInsertTableRowsMutationActions','max','buildDistributeTableColumnsMutationActions','getText','getTableRange','some','getColumnRange','getSnapshot','Left','getSource','Tools','describe','type','get','insertColumnAfter','rows','getContentRange','function','getCellMarginOverride','insertColumnBefore','_getTableDocumentData','getId','tableCells','478264qdoODX','setTableBorder','DEFAULT_DOCS_TABLE_CELL_MARGIN','buildDistributeTableRowsMutationActions','extend','FEnum','setTableStyle','syncExecuteCommand','FDocumentTable','getDefaultCellMarginOverride','16639065CyUYSD','size','moveRows','Right','distributeColumns','DocsTableSelectionService','defineProperty','backgroundColor','getCellText','preset','Range','_getTables','object','insertTable','toStringTag','getColumnCount','176584PjELTX','buildDeleteTableColumnsMutationActions','insertTitleRow'];_0x525c=function(){return _0xcc77cd;};return _0x525c();}(function(_0x4e40b1,_0x204878){const _0x4dd953=_0x4eb6,_0x44b735=_0x4e40b1();while(!![]){try{const _0x129b2f=parseInt(_0x4dd953(0x144))/0x1*(-parseInt(_0x4dd953(0x111))/0x2)+parseInt(_0x4dd953(0xc1))/0x3*(-parseInt(_0x4dd953(0xa0))/0x4)+parseInt(_0x4dd953(0xed))/0x5+parseInt(_0x4dd953(0x103))/0x6+parseInt(_0x4dd953(0x159))/0x7*(-parseInt(_0x4dd953(0xba))/0x8)+parseInt(_0x4dd953(0xaa))/0x9+-parseInt(_0x4dd953(0xca))/0xa;if(_0x129b2f===_0x204878)break;else _0x44b735['push'](_0x44b735['shift']());}catch(_0x172137){_0x44b735['push'](_0x44b735['shift']());}}}(_0x525c,0xe35ea),function(_0xadb2f3,_0x2b08ae){const _0x511d18=_0x4eb6;typeof exports==_0x511d18(0xb6)&&typeof module<'u'?_0x2b08ae(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x511d18(0x9a)&&define['amd']?define([_0x511d18(0x139),_0x511d18(0x120),'@univerjs/core',_0x511d18(0xd4),_0x511d18(0x13a)],_0x2b08ae):(_0xadb2f3=typeof globalThis<'u'?globalThis:_0xadb2f3||self,_0x2b08ae(_0xadb2f3['UniverProDocsTableFacade']={},_0xadb2f3[_0x511d18(0x125)],_0xadb2f3[_0x511d18(0xc9)],_0xadb2f3['UniverCoreFacade'],_0xadb2f3[_0x511d18(0x12c)]));}(this,function(_0x1d1e12,_0x3bace7,_0x42c1ff,_0x30bf38,_0x18775f){const _0x1f5fb2=_0x4eb6;Object[_0x1f5fb2(0xb0)](_0x1d1e12,Symbol[_0x1f5fb2(0xb8)],{'value':_0x1f5fb2(0x10b)});var _0x77e7d0=class extends _0x30bf38[_0x1f5fb2(0xa5)]{get[_0x1f5fb2(0x156)](){const _0x428ec8=_0x1f5fb2;return _0x3bace7[_0x428ec8(0x156)];}get[_0x1f5fb2(0x148)](){const _0x2e6448=_0x1f5fb2;return _0x3bace7[_0x2e6448(0x148)];}get['DocsTableSelectionKind'](){return _0x3bace7['DocsTableSelectionKind'];}get['DocsTableRowInsertPosition'](){return _0x3bace7['DocsTableRowInsertPosition'];}get[_0x1f5fb2(0x137)](){const _0x4e24c1=_0x1f5fb2;return _0x3bace7[_0x4e24c1(0x137)];}get[_0x1f5fb2(0xbf)](){const _0x2a2bfd=_0x1f5fb2;return _0x3bace7[_0x2a2bfd(0xbf)];}get[_0x1f5fb2(0x154)](){const _0x1aae9e=_0x1f5fb2;return _0x3bace7[_0x1aae9e(0x154)];}get['DashStyleType'](){const _0x582ead=_0x1f5fb2;return _0x42c1ff[_0x582ead(0xd8)];}};_0x30bf38[_0x1f5fb2(0xa5)]['extend'](_0x77e7d0);var _0x29cc3a=class{constructor(_0x308b25,_0x29d921,_0x599487){const _0x33f3c4=_0x1f5fb2;this[_0x33f3c4(0xec)]=_0x308b25,this[_0x33f3c4(0xf0)]=_0x29d921,this['_column']=_0x599487;}[_0x1f5fb2(0x11e)](){const _0x121439=_0x1f5fb2;return this[_0x121439(0xec)];}['getRowIndex'](){const _0x399451=_0x1f5fb2;return this[_0x399451(0xf0)];}[_0x1f5fb2(0x80)](){const _0x15218f=_0x1f5fb2;return this[_0x15218f(0x119)];}[_0x1f5fb2(0x8c)](){const _0x2bc9ae=_0x1f5fb2;return this['_table'][_0x2bc9ae(0xb2)](this[_0x2bc9ae(0xf0)],this[_0x2bc9ae(0x119)]);}[_0x1f5fb2(0x99)](){const _0x2b642d=_0x1f5fb2;return this['_table'][_0x2b642d(0x12f)](this[_0x2b642d(0xf0)],this['_column']);}[_0x1f5fb2(0xe6)](){const _0x4e4064=_0x1f5fb2;return this['_table']['getCellInsertOffset'](this['_row'],this[_0x4e4064(0x119)]);}[_0x1f5fb2(0x10f)](){const _0xf67224=_0x1f5fb2;return this['_table'][_0xf67224(0x152)](this['_row'],this['_column']);}[_0x1f5fb2(0x15a)](){const _0x4392bf=_0x1f5fb2;return this[_0x4392bf(0xec)]['getCellMarginOverride'](this[_0x4392bf(0xf0)],this['_column']);}[_0x1f5fb2(0x149)](_0x165294){const _0x430933=_0x1f5fb2;return this[_0x430933(0xec)][_0x430933(0x117)](this[_0x430933(0xec)][_0x430933(0xc6)](this[_0x430933(0xf0)],this[_0x430933(0x119)]),_0x165294);}[_0x1f5fb2(0x14d)](){const _0x3df40f=_0x1f5fb2;return this[_0x3df40f(0xec)][_0x3df40f(0x117)](this['_table'][_0x3df40f(0xc6)](this['_row'],this[_0x3df40f(0x119)]),null);}[_0x1f5fb2(0x121)](_0x542aeb){const _0xb5c845=_0x1f5fb2;return this[_0xb5c845(0xec)][_0xb5c845(0x110)](this[_0xb5c845(0xf0)],this[_0xb5c845(0x119)],_0x542aeb);}[_0x1f5fb2(0xdf)](_0x649d50){const _0x2b1586=_0x1f5fb2;return this['_table'][_0x2b1586(0xd0)](this[_0x2b1586(0xec)][_0x2b1586(0xc6)](this[_0x2b1586(0xf0)],this[_0x2b1586(0x119)]),_0x649d50);}[_0x1f5fb2(0xf4)](_0x337e45){const _0xec7124=_0x1f5fb2;return this[_0xec7124(0xec)]['setBorder'](this[_0xec7124(0xec)][_0xec7124(0xc6)](this[_0xec7124(0xf0)],this[_0xec7124(0x119)]),_0x337e45);}['mergeTo'](_0x337164,_0x5e41ef){const _0x5980c4=_0x1f5fb2;return this[_0x5980c4(0xec)]['mergeCells']({'startRow':this[_0x5980c4(0xf0)],'startColumn':this[_0x5980c4(0x119)],'endRow':this[_0x5980c4(0xf0)]+_0x337164-0x1,'endColumn':this[_0x5980c4(0x119)]+_0x5e41ef-0x1});}[_0x1f5fb2(0xf8)](){const _0x30d098=_0x1f5fb2;return this[_0x30d098(0xec)][_0x30d098(0xe2)](this[_0x30d098(0xec)][_0x30d098(0xc6)](this[_0x30d098(0xf0)],this['_column']));}};function _0x26098b(_0x43968d){'@babel/helpers - typeof';const _0x17f156=_0x1f5fb2;return _0x26098b=typeof Symbol==_0x17f156(0x9a)&&typeof Symbol[_0x17f156(0x12a)]==_0x17f156(0xf5)?function(_0x44a673){return typeof _0x44a673;}:function(_0x4e60a5){const _0x27c2fa=_0x17f156;return _0x4e60a5&&typeof Symbol==_0x27c2fa(0x9a)&&_0x4e60a5[_0x27c2fa(0xc7)]===Symbol&&_0x4e60a5!==Symbol['prototype']?_0x27c2fa(0xf5):typeof _0x4e60a5;},_0x26098b(_0x43968d);}function _0x48605c(_0x43e90a,_0x2255bd){const _0x4e4796=_0x1f5fb2;if(_0x26098b(_0x43e90a)!=_0x4e4796(0xb6)||!_0x43e90a)return _0x43e90a;var _0x95b742=_0x43e90a[Symbol['toPrimitive']];if(_0x95b742!==void 0x0){var _0x436550=_0x95b742['call'](_0x43e90a,_0x2255bd||_0x4e4796(0x131));if(_0x26098b(_0x436550)!='object')return _0x436550;throw TypeError(_0x4e4796(0xc0));}return(_0x2255bd===_0x4e4796(0x10e)?String:Number)(_0x43e90a);}function _0x3be9ed(_0x242bca){const _0x14ca05=_0x1f5fb2;var _0x592c27=_0x48605c(_0x242bca,_0x14ca05(0x10e));return _0x26098b(_0x592c27)=='symbol'?_0x592c27:_0x592c27+'';}function _0xd96fe4(_0xb3cc74,_0x428e3d,_0x5d8fea){return(_0x428e3d=_0x3be9ed(_0x428e3d))in _0xb3cc74?Object['defineProperty'](_0xb3cc74,_0x428e3d,{'value':_0x5d8fea,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xb3cc74[_0x428e3d]=_0x5d8fea,_0xb3cc74;}var _0x1cdb12=class{constructor(_0x5903d9,_0x52b6cd,_0x5d0cd4='',_0xf7b12c){const _0x336848=_0x1f5fb2;this[_0x336848(0xd7)]=_0x5903d9,this[_0x336848(0xcd)]=_0x52b6cd,this[_0x336848(0xfd)]=_0x5d0cd4,this[_0x336848(0x11a)]=_0xf7b12c,_0xd96fe4(this,_0x336848(0xbe),void 0x0),this[_0x336848(0xbe)]=this['_document'][_0x336848(0x9e)]();}[_0x1f5fb2(0x9e)](){return this['_tableId'];}[_0x1f5fb2(0xea)](){return this['_segmentId'];}[_0x1f5fb2(0x135)](){const _0x1a294e=_0x1f5fb2;return{'id':this[_0x1a294e(0xcd)],'rowCount':this[_0x1a294e(0x106)](),'columnCount':this[_0x1a294e(0xb9)](),'metadata':this[_0x1a294e(0xfc)](),'source':this[_0x1a294e(0x92)]()};}[_0x1f5fb2(0x94)](){const _0x2104ee=_0x1f5fb2;var _0x4eb761,_0x437901;let _0x36a1e7=this[_0x2104ee(0xfc)](),_0x438aa8=this[_0x2104ee(0x92)](),_0x1826eb=this[_0x2104ee(0xb9)]();return{'id':this['_tableId'],'rowCount':this[_0x2104ee(0x106)](),'columnCount':_0x1826eb,'headerRowCount':(_0x4eb761=_0x36a1e7==null?void 0x0:_0x36a1e7['headerRowCount'])==null?0x0:_0x4eb761,'titleRow':(_0x437901=_0x36a1e7==null?void 0x0:_0x36a1e7[_0x2104ee(0x15e)])==null?!0x1:_0x437901,'columns':Array[_0x2104ee(0xce)]({'length':_0x1826eb},(_0x110764,_0x1686cf)=>{const _0x31dc3d=_0x2104ee;var _0x1406c0,_0x1fffbb;return{'index':_0x1686cf,'type':_0x36a1e7==null||(_0x1406c0=_0x36a1e7[_0x31dc3d(0xeb)])==null||(_0x1406c0=_0x1406c0[_0x1686cf])==null?void 0x0:_0x1406c0[_0x31dc3d(0x95)],'width':_0x438aa8==null||(_0x1fffbb=_0x438aa8[_0x31dc3d(0xfe)][_0x1686cf])==null?void 0x0:_0x1fffbb[_0x31dc3d(0xab)][_0x31dc3d(0xcc)]['v']};}),'sampleRows':Array['from']({'length':this[_0x2104ee(0x106)]()},(_0x28533f,_0x2a3a88)=>Array[_0x2104ee(0xce)]({'length':_0x1826eb},(_0x2a66a7,_0x122c02)=>this['getCellText'](_0x2a3a88,_0x122c02)))[_0x2104ee(0xe5)](_0x1951f2=>_0x1951f2[_0x2104ee(0x8e)](_0x3b5c02=>_0x3b5c02[_0x2104ee(0xf7)]>0x0))[_0x2104ee(0x126)](0x0,0x5)};}['getRowCount'](){const _0x43eae5=_0x1f5fb2;var _0x439695,_0x485629;return(_0x439695=(_0x485629=this[_0x43eae5(0x92)]())==null?void 0x0:_0x485629[_0x43eae5(0x14b)][_0x43eae5(0xf7)])==null?0x0:_0x439695;}[_0x1f5fb2(0xb9)](){const _0x408fe0=_0x1f5fb2;var _0x3ae756,_0x4e9371;return(_0x3ae756=(_0x4e9371=this[_0x408fe0(0x92)]())==null?void 0x0:_0x4e9371[_0x408fe0(0xfe)][_0x408fe0(0xf7)])==null?0x0:_0x3ae756;}[_0x1f5fb2(0x13d)](_0xa6857a,_0x5e44d2){const _0x1f4bda=_0x1f5fb2;var _0x2aba10;return!((_0x2aba10=this[_0x1f4bda(0x92)]())==null||(_0x2aba10=_0x2aba10[_0x1f4bda(0x14b)][_0xa6857a])==null)&&_0x2aba10[_0x1f4bda(0x9f)][_0x5e44d2]?this['_injector']['createInstance'](_0x29cc3a,this,_0xa6857a,_0x5e44d2):null;}[_0x1f5fb2(0xb2)](_0x4e9705,_0xf868d){const _0x467a3f=_0x1f5fb2;var _0x44f034,_0x40bf1a,_0x128137;let _0x7b318d=(_0x44f034=(0x0,_0x3bace7[_0x467a3f(0x88)])(this[_0x467a3f(0x87)](),this['_tableId']))==null||(_0x44f034=_0x44f034[_0x467a3f(0x98)][_0x4e9705])==null?void 0x0:_0x44f034[_0x467a3f(0xf2)][_0xf868d];return _0x7b318d?(_0x40bf1a=(_0x128137=this[_0x467a3f(0x87)]()[_0x467a3f(0x14a)])==null?void 0x0:_0x128137[_0x467a3f(0x133)][_0x467a3f(0x126)](_0x7b318d[_0x467a3f(0xf9)]+0x1,_0x7b318d[_0x467a3f(0x82)])[_0x467a3f(0xbd)](/\r\n$/,''))==null?'':_0x40bf1a:'';}[_0x1f5fb2(0x152)](_0x7fba7c,_0x3249e8){const _0x5e7897=_0x1f5fb2;var _0x672571,_0x810983,_0x4a6986;let _0xbdd876=this['getSource'](),_0x4d9379=_0xbdd876==null||(_0x672571=_0xbdd876[_0x5e7897(0x14b)][_0x7fba7c])==null?void 0x0:_0x672571[_0x5e7897(0x9f)][_0x3249e8];return _0x4d9379?_0x42c1ff[_0x5e7897(0x93)][_0x5e7897(0x10d)]((_0x810983=(_0x4a6986=_0x4d9379[_0x5e7897(0x129)])==null?_0xbdd876[_0x5e7897(0x132)]:_0x4a6986)==null?_0x3bace7[_0x5e7897(0xa2)]:_0x810983):null;}[_0x1f5fb2(0x9b)](_0x5b65de,_0x58823f){const _0x20ea0c=_0x1f5fb2;var _0x3eb9b8;let _0x5f42a2=(_0x3eb9b8=this[_0x20ea0c(0x92)]())==null||(_0x3eb9b8=_0x3eb9b8[_0x20ea0c(0x14b)][_0x5b65de])==null?void 0x0:_0x3eb9b8[_0x20ea0c(0x9f)][_0x58823f];return _0x5f42a2!=null&&_0x5f42a2[_0x20ea0c(0x129)]?_0x42c1ff[_0x20ea0c(0x93)][_0x20ea0c(0x10d)](_0x5f42a2['margin']):null;}[_0x1f5fb2(0x140)](){const _0x406283=_0x1f5fb2;var _0x20e59b,_0x273e87;return _0x42c1ff[_0x406283(0x93)]['deepClone']((_0x20e59b=(_0x273e87=this[_0x406283(0x92)]())==null?void 0x0:_0x273e87[_0x406283(0x132)])==null?_0x3bace7[_0x406283(0xa2)]:_0x20e59b);}[_0x1f5fb2(0xa9)](){const _0x1eb8d6=_0x1f5fb2;var _0x1974ce;let _0x191e93=(_0x1974ce=this['getSource']())==null?void 0x0:_0x1974ce[_0x1eb8d6(0x132)];return _0x191e93?_0x42c1ff['Tools'][_0x1eb8d6(0x10d)](_0x191e93):null;}[_0x1f5fb2(0xfc)](){const _0x25a13d=_0x1f5fb2;return this[_0x25a13d(0x11a)][_0x25a13d(0x96)](_0x3bace7[_0x25a13d(0x102)])['getTableMetadata'](this['_unitId'],this['_tableId']);}[_0x1f5fb2(0x92)](){const _0x5b2697=_0x1f5fb2;var _0x484ec4;return(_0x484ec4=this[_0x5b2697(0x87)]()[_0x5b2697(0x13c)])==null?void 0x0:_0x484ec4[this[_0x5b2697(0xcd)]];}['getRange'](){const _0x30080e=_0x1f5fb2;return(0x0,_0x3bace7[_0x30080e(0x88)])(this['_getDocumentData'](),this[_0x30080e(0xcd)]);}['getTableRange'](){const _0x367e9e=_0x1f5fb2;return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x367e9e(0x8a)](0x0,this[_0x367e9e(0xb9)]()-0x1)};}['getCellRange'](_0x5863ba,_0x2d65ee){return{'startRow':_0x5863ba,'endRow':_0x5863ba,'startColumn':_0x2d65ee,'endColumn':_0x2d65ee};}[_0x1f5fb2(0x12f)](_0x538357,_0x265262){const _0x59d041=_0x1f5fb2;var _0x246e2c;let _0x579b6d=(_0x246e2c=(0x0,_0x3bace7[_0x59d041(0x88)])(this['_getDocumentData'](),this[_0x59d041(0xcd)]))==null||(_0x246e2c=_0x246e2c[_0x59d041(0x98)][_0x538357])==null?void 0x0:_0x246e2c[_0x59d041(0xf2)][_0x265262];if(!_0x579b6d)return null;let _0x13f75a=_0x579b6d['startOffset']+0x1;return{'startOffset':_0x13f75a,'endOffset':Math['max'](_0x13f75a,_0x579b6d[_0x59d041(0x82)]-0x1),'segmentId':this['_segmentId']};}[_0x1f5fb2(0xd1)](_0x463281,_0x184591){const _0x3ac2d7=_0x1f5fb2;var _0x553071,_0x2bcb0a;return(_0x553071=(_0x2bcb0a=this[_0x3ac2d7(0x12f)](_0x463281,_0x184591))==null?void 0x0:_0x2bcb0a['endOffset'])==null?null:_0x553071;}[_0x1f5fb2(0x11d)](_0x5c00a2){return this['getRowsRange'](_0x5c00a2,0x1);}[_0x1f5fb2(0xef)](_0x52654c,_0xaee0f9=0x1){const _0x456e02=_0x1f5fb2;return{'startRow':_0x52654c,'endRow':_0x52654c+_0xaee0f9-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x456e02(0xb9)]()-0x1)};}[_0x1f5fb2(0x8f)](_0x1d4012){const _0x5c6012=_0x1f5fb2;return this[_0x5c6012(0xee)](_0x1d4012,0x1);}['getColumnsRange'](_0x5d8967,_0x289517=0x1){const _0x13daef=_0x1f5fb2;return{'startRow':0x0,'endRow':Math[_0x13daef(0x8a)](0x0,this[_0x13daef(0x106)]()-0x1),'startColumn':_0x5d8967,'endColumn':_0x5d8967+_0x289517-0x1};}[_0x1f5fb2(0x86)](){const _0x50fcb7=_0x1f5fb2;return this['selectRange'](this[_0x50fcb7(0x8d)](),_0x3bace7['DocsTableSelectionKind']['Table']);}[_0x1f5fb2(0x10c)](_0x2df020){const _0x397bbf=_0x1f5fb2;return this[_0x397bbf(0x153)](_0x2df020,0x1);}[_0x1f5fb2(0x153)](_0x3ca80c,_0x583621=0x1){const _0x2fd8c8=_0x1f5fb2;return this[_0x2fd8c8(0xd6)](this[_0x2fd8c8(0xef)](_0x3ca80c,_0x583621),_0x3bace7[_0x2fd8c8(0x14e)][_0x2fd8c8(0x158)]);}[_0x1f5fb2(0x146)](_0x18313b){return this['selectColumns'](_0x18313b,0x1);}[_0x1f5fb2(0x100)](_0x3f99fe,_0x311817=0x1){const _0x2f4af7=_0x1f5fb2;return this[_0x2f4af7(0xd6)](this['getColumnsRange'](_0x3f99fe,_0x311817),_0x3bace7['DocsTableSelectionKind']['Column']);}[_0x1f5fb2(0xc2)](_0x12938a,_0xd792a1){const _0x449682=_0x1f5fb2;return this[_0x449682(0xd6)](this['getCellRange'](_0x12938a,_0xd792a1),_0x3bace7[_0x449682(0x14e)][_0x449682(0xdb)]);}[_0x1f5fb2(0xd6)](_0x5cbe4e,_0x1373b8=_0x3bace7['DocsTableSelectionKind'][_0x1f5fb2(0xb4)]){const _0x183cd7=_0x1f5fb2;return this[_0x183cd7(0x11a)][_0x183cd7(0x96)](_0x3bace7[_0x183cd7(0xaf)])[_0x183cd7(0x105)]({..._0x5cbe4e,'kind':_0x1373b8,'segmentId':this[_0x183cd7(0xfd)],'tableId':this['_tableId']}),!0x0;}['insertRowBefore'](_0x13e460){const _0x56f8cf=_0x1f5fb2;return this[_0x56f8cf(0x13f)](_0x13e460,0x1);}['insertRowAfter'](_0x1b5d07){const _0x53ca78=_0x1f5fb2;return this[_0x53ca78(0x150)](_0x1b5d07,0x1);}[_0x1f5fb2(0x13f)](_0x29c00a,_0x3bffe4){const _0x384dd5=_0x1f5fb2;let _0x406051=this[_0x384dd5(0x87)](),_0x48dc52=(0x0,_0x3bace7['buildInsertTableRowsMutationActions'])(_0x406051,this['_tableId'],_0x29c00a,_0x3bffe4,_0x3bace7[_0x384dd5(0x15b)]['Above'],this['_getBodyPath']());return _0x48dc52?this[_0x384dd5(0x11b)](_0x406051,_0x48dc52['actions']):!0x1;}[_0x1f5fb2(0x150)](_0x11d851,_0x204606){const _0x13d59c=_0x1f5fb2;let _0x3afca5=this[_0x13d59c(0x87)](),_0x1c2e56=(0x0,_0x3bace7[_0x13d59c(0x89)])(_0x3afca5,this['_tableId'],_0x11d851,_0x204606,_0x3bace7[_0x13d59c(0x15b)]['Below'],this[_0x13d59c(0xf1)]());return _0x1c2e56?this[_0x13d59c(0x11b)](_0x3afca5,_0x1c2e56[_0x13d59c(0x130)]):!0x1;}[_0x1f5fb2(0x141)](){const _0x4af95c=_0x1f5fb2;return this[_0x4af95c(0x150)](Math[_0x4af95c(0x8a)](0x0,this[_0x4af95c(0x106)]()-0x1),0x1);}[_0x1f5fb2(0x9c)](_0x464bfb){return this['insertColumnsBefore'](_0x464bfb,0x1);}[_0x1f5fb2(0x97)](_0x47c26d){const _0x268737=_0x1f5fb2;return this[_0x268737(0xcf)](_0x47c26d,0x1);}[_0x1f5fb2(0x118)](_0x1d378b,_0x156ee7){const _0x4f85cd=_0x1f5fb2;let _0x1598f4=this[_0x4f85cd(0x87)](),_0x3cfabe=(0x0,_0x3bace7[_0x4f85cd(0xf3)])(_0x1598f4,this[_0x4f85cd(0xcd)],_0x1d378b,_0x156ee7,_0x3bace7[_0x4f85cd(0x15b)][_0x4f85cd(0x91)],{'bodyPath':this['_getBodyPath']()});return _0x3cfabe?this[_0x4f85cd(0x11b)](_0x1598f4,_0x3cfabe['actions']):!0x1;}[_0x1f5fb2(0xcf)](_0x492345,_0x411d21){const _0x10cf62=_0x1f5fb2;let _0x39bad2=this[_0x10cf62(0x87)](),_0x92ed97=(0x0,_0x3bace7[_0x10cf62(0xf3)])(_0x39bad2,this[_0x10cf62(0xcd)],_0x492345,_0x411d21,_0x3bace7[_0x10cf62(0x15b)][_0x10cf62(0xad)],{'bodyPath':this[_0x10cf62(0xf1)]()});return _0x92ed97?this[_0x10cf62(0x11b)](_0x39bad2,_0x92ed97[_0x10cf62(0x130)]):!0x1;}['appendColumn'](){const _0x486baf=_0x1f5fb2;return this[_0x486baf(0xcf)](Math[_0x486baf(0x8a)](0x0,this['getColumnCount']()-0x1),0x1);}[_0x1f5fb2(0x143)](_0x27f76e){return this['deleteRows'](_0x27f76e,0x1);}['deleteRows'](_0x23408c,_0x4c3bd2=0x1){const _0x7af4df=_0x1f5fb2;let _0x149255=this[_0x7af4df(0x87)](),_0x1c8881=(0x0,_0x3bace7[_0x7af4df(0x109)])(_0x149255,this[_0x7af4df(0xcd)],_0x23408c,_0x23408c+_0x4c3bd2-0x1,this['_getBodyPath']());return _0x1c8881?this[_0x7af4df(0x11b)](_0x149255,_0x1c8881[_0x7af4df(0x130)]):!0x1;}[_0x1f5fb2(0xd3)](_0x18a588){const _0x38c215=_0x1f5fb2;return this[_0x38c215(0x7d)](_0x18a588,0x1);}['deleteColumns'](_0x2df80f,_0x2e5171=0x1){const _0x564eb4=_0x1f5fb2;let _0x517b09=this[_0x564eb4(0x87)](),_0x3f083d=(0x0,_0x3bace7[_0x564eb4(0xbb)])(_0x517b09,this['_tableId'],_0x2df80f,_0x2df80f+_0x2e5171-0x1,this['_getBodyPath']());return _0x3f083d?this[_0x564eb4(0x11b)](_0x517b09,_0x3f083d[_0x564eb4(0x130)]):!0x1;}[_0x1f5fb2(0x13e)](){const _0x73ebc=_0x1f5fb2;let _0x110707=this['_getDocumentData'](),_0x2e05eb=(0x0,_0x3bace7[_0x73ebc(0x151)])(_0x110707,this[_0x73ebc(0xcd)],this['_getBodyPath']());return _0x2e05eb?this[_0x73ebc(0x11b)](_0x110707,_0x2e05eb[_0x73ebc(0x130)]):!0x1;}[_0x1f5fb2(0x107)](_0x265fd0,_0x35ff8b){const _0x2ca46e=_0x1f5fb2;let _0x54263c=this[_0x2ca46e(0x87)]();return this[_0x2ca46e(0x11b)](_0x54263c,(0x0,_0x3bace7[_0x2ca46e(0xe8)])(_0x54263c,this[_0x2ca46e(0xcd)],_0x265fd0,_0x35ff8b));}['moveTableToOffset'](_0x4b7d1e){const _0x3e6e34=_0x1f5fb2;let _0x4deea2=this['_getDocumentData']();return this[_0x3e6e34(0x11b)](_0x4deea2,(0x0,_0x3bace7[_0x3e6e34(0x85)])(_0x4deea2,this[_0x3e6e34(0xcd)],_0x4b7d1e,this[_0x3e6e34(0xf1)]()));}[_0x1f5fb2(0x15d)](_0x25c7ee,_0x1872d6,_0xb1a138=_0x3bace7[_0x1f5fb2(0x15b)]['Above']){const _0x9703cd=_0x1f5fb2;return this[_0x9703cd(0xac)](_0x25c7ee,0x1,_0x1872d6,_0xb1a138);}[_0x1f5fb2(0xac)](_0x2ccba4,_0x3a2154,_0x2f465e,_0x6a2841=_0x3bace7[_0x1f5fb2(0x15b)][_0x1f5fb2(0x11c)]){const _0x3732ea=_0x1f5fb2;let _0x2b96df=this[_0x3732ea(0x87)](),_0x5eb8fe=(0x0,_0x3bace7[_0x3732ea(0x113)])(_0x2b96df,this[_0x3732ea(0xcd)],_0x2ccba4,_0x2f465e,_0x3a2154,_0x6a2841,this[_0x3732ea(0xf1)]());return _0x5eb8fe?this['_mutateActions'](_0x2b96df,_0x5eb8fe[_0x3732ea(0x130)]):!0x1;}['moveColumn'](_0x61a504,_0x791154,_0x22784c=_0x3bace7[_0x1f5fb2(0x15b)][_0x1f5fb2(0x91)]){const _0x54540e=_0x1f5fb2;return this[_0x54540e(0xe1)](_0x61a504,0x1,_0x791154,_0x22784c);}[_0x1f5fb2(0xe1)](_0x95e27f,_0x40d664,_0x2cbecd,_0xc0e0dd=_0x3bace7[_0x1f5fb2(0x15b)][_0x1f5fb2(0x91)]){const _0x31429f=_0x1f5fb2;let _0x721f6f=this['_getDocumentData'](),_0x38d32a=(0x0,_0x3bace7[_0x31429f(0x114)])(_0x721f6f,this[_0x31429f(0xcd)],_0x95e27f,_0x2cbecd,_0x40d664,_0xc0e0dd,this[_0x31429f(0xf1)]());return _0x38d32a?this[_0x31429f(0x11b)](_0x721f6f,_0x38d32a[_0x31429f(0x130)]):!0x1;}[_0x1f5fb2(0x13b)](_0x34fbe0){const _0x545dfd=_0x1f5fb2;try{let _0x4b5ce2=this[_0x545dfd(0x87)](),_0x2257b6=(0x0,_0x3bace7[_0x545dfd(0x138)])({'documentData':_0x4b5ce2,'tableId':this[_0x545dfd(0xcd)],..._0x34fbe0});return _0x2257b6?this[_0x545dfd(0x11b)](_0x4b5ce2,_0x2257b6['actions'],_0x34fbe0):!0x1;}catch{return!0x1;}}[_0x1f5fb2(0xe2)](_0x13be3a){const _0x223831=_0x1f5fb2;try{let _0x44799b=this[_0x223831(0x87)](),_0x269964=(0x0,_0x3bace7[_0x223831(0x122)])({'documentData':_0x44799b,'tableId':this[_0x223831(0xcd)],..._0x13be3a});return _0x269964?this['_mutateActions'](_0x44799b,_0x269964[_0x223831(0x130)],_0x13be3a):!0x1;}catch{return!0x1;}}[_0x1f5fb2(0x110)](_0x5ae018,_0x5e861e,_0x1f7b28){const _0x171020=_0x1f5fb2;let _0x36d3e4=this[_0x171020(0x87)](),_0x41adef=(0x0,_0x3bace7[_0x171020(0x142)])(this[_0x171020(0xd7)][_0x171020(0x112)]()[_0x171020(0x90)](),this['_segmentId']);return this[_0x171020(0x11b)](_0x36d3e4,(0x0,_0x3bace7[_0x171020(0xd2)])({'documentData':_0x36d3e4,'tableId':this['_tableId'],'row':_0x5ae018,'column':_0x5e861e,'text':_0x1f7b28},_0x41adef),this[_0x171020(0xc6)](_0x5ae018,_0x5e861e));}[_0x1f5fb2(0xd0)](_0xece3da,_0x28b569){const _0x530568=_0x1f5fb2;let _0x1c3ed2=this['_getDocumentData']();return this[_0x530568(0x11b)](_0x1c3ed2,(0x0,_0x3bace7[_0x530568(0x11f)])(_0x1c3ed2,{'tableId':this[_0x530568(0xcd)],..._0xece3da,'value':_0x28b569}),_0xece3da);}[_0x1f5fb2(0x117)](_0x58b4fb,_0x4dc6fe){const _0x1de131=_0x1f5fb2;let _0x45abc3=this[_0x1de131(0x87)]();return this['_mutateActions'](_0x45abc3,(0x0,_0x3bace7[_0x1de131(0x14c)])({'documentData':_0x45abc3,'tableId':this[_0x1de131(0xcd)],..._0x58b4fb,'margin':_0x4dc6fe}),_0x58b4fb);}[_0x1f5fb2(0xff)](_0x13c492){const _0x442871=_0x1f5fb2;let _0x101f7f=this['_getDocumentData']();return this[_0x442871(0x11b)](_0x101f7f,(0x0,_0x3bace7['buildSetTableDefaultCellMarginMutationActions'])(_0x101f7f,this[_0x442871(0xcd)],_0x13c492));}[_0x1f5fb2(0xf4)](_0x4f0f5c,_0x288858){const _0x14f67b=_0x1f5fb2;var _0x3c548e,_0x24eef1,_0x313e5e,_0x1eca39;let _0x148617=this[_0x14f67b(0x87)]();return this[_0x14f67b(0x11b)](_0x148617,(0x0,_0x3bace7['buildSetTableBorderMutationActions'])({'documentData':_0x148617,'tableId':this[_0x14f67b(0xcd)],..._0x4f0f5c,'preset':(_0x3c548e=_0x288858[_0x14f67b(0xb3)])==null?_0x3bace7[_0x14f67b(0xbf)][_0x14f67b(0x136)]:_0x3c548e,'border':(_0x24eef1=_0x288858['border'])==null?{'color':{'rgb':(_0x313e5e=_0x288858[_0x14f67b(0x12b)])==null?'#1f1f1f':_0x313e5e},'width':{'v':(_0x1eca39=_0x288858[_0x14f67b(0xcc)])==null?0x1:_0x1eca39},'dashStyle':_0x42c1ff[_0x14f67b(0xd8)][_0x14f67b(0xf6)]}:_0x24eef1}),_0x4f0f5c);}['setTableBackground'](_0x2cfc33){const _0x4961d0=_0x1f5fb2;return this[_0x4961d0(0xd0)](this[_0x4961d0(0x8d)](),_0x2cfc33);}[_0x1f5fb2(0xa1)](_0x1b5013){const _0x5a9660=_0x1f5fb2;return this[_0x5a9660(0xf4)](this[_0x5a9660(0x8d)](),_0x1b5013);}[_0x1f5fb2(0xa6)](_0x302b3f){const _0x1cc718=_0x1f5fb2;let _0x485bc6=_0x302b3f[_0x1cc718(0xb1)]?this[_0x1cc718(0xfb)](_0x302b3f[_0x1cc718(0xb1)]):!0x0,_0x2043a9=_0x302b3f[_0x1cc718(0x124)]?this[_0x1cc718(0xa1)](_0x302b3f[_0x1cc718(0x124)]):!0x0;return _0x485bc6&&_0x2043a9;}['setRowHeight'](_0x20c8a4,_0x1a8f86,_0x190c3a=_0x42c1ff[_0x1f5fb2(0x83)][_0x1f5fb2(0x104)]){const _0x28944b=_0x1f5fb2;var _0x595403;let _0x1113e7=this[_0x28944b(0x87)]();return!((_0x595403=_0x1113e7[_0x28944b(0x13c)])==null||(_0x595403=_0x595403[this['_tableId']])==null)&&_0x595403[_0x28944b(0x14b)][_0x20c8a4]?this[_0x28944b(0x11b)](_0x1113e7,(0x0,_0x3bace7[_0x28944b(0x7e)])(_0x1113e7,this[_0x28944b(0xcd)],_0x20c8a4,_0x1a8f86,_0x190c3a)):!0x1;}[_0x1f5fb2(0x147)](_0xb2ab91){const _0x1f2332=_0x1f5fb2;var _0x575d04;let _0x54c43b=(_0x575d04=this['getSource']())==null||(_0x575d04=_0x575d04[_0x1f2332(0x14b)][_0xb2ab91])==null?void 0x0:_0x575d04[_0x1f2332(0x7f)];return _0x54c43b?_0x42c1ff[_0x1f2332(0x93)][_0x1f2332(0x10d)](_0x54c43b):null;}[_0x1f5fb2(0xda)](_0x36721f,_0x33f90e){const _0x1c7b26=_0x1f5fb2;var _0x677a99;let _0x4dfbb6=this['_getDocumentData']();return!((_0x677a99=_0x4dfbb6['tableSource'])==null||(_0x677a99=_0x677a99[this[_0x1c7b26(0xcd)]])==null)&&_0x677a99[_0x1c7b26(0xfe)][_0x36721f]?this[_0x1c7b26(0x11b)](_0x4dfbb6,(0x0,_0x3bace7[_0x1c7b26(0xe3)])(_0x4dfbb6,this[_0x1c7b26(0xcd)],_0x36721f,_0x33f90e)):!0x1;}[_0x1f5fb2(0x123)](_0x2b4b57=0x0,_0x2f822c=this[_0x1f5fb2(0x106)]()){const _0x337455=_0x1f5fb2;let _0xce7b0e=this[_0x337455(0x87)]();return this[_0x337455(0x11b)](_0xce7b0e,(0x0,_0x3bace7[_0x337455(0xa3)])(_0xce7b0e,this['_tableId'],_0x2b4b57,_0x2b4b57+_0x2f822c-0x1));}[_0x1f5fb2(0xae)](_0xe6f7f2=0x0,_0x22f0a4=this[_0x1f5fb2(0xb9)]()){const _0x2f3cbf=_0x1f5fb2;let _0x1d2d84=this['_getDocumentData']();return this[_0x2f3cbf(0x11b)](_0x1d2d84,(0x0,_0x3bace7[_0x2f3cbf(0x8b)])(_0x1d2d84,this['_tableId'],_0xe6f7f2,_0xe6f7f2+_0x22f0a4-0x1));}[_0x1f5fb2(0x14f)](){const _0x1f63cd=_0x1f5fb2;var _0x30bb1e,_0x454c9b;return(_0x30bb1e=(_0x454c9b=this['getMetadata']())==null?void 0x0:_0x454c9b[_0x1f63cd(0x145)])==null?0x0:_0x30bb1e;}[_0x1f5fb2(0xe7)](_0x4ba4fb){const _0x4329d4=_0x1f5fb2;let _0x59014d=this[_0x4329d4(0x11a)][_0x4329d4(0x96)](_0x3bace7['DocsTableModel']),_0x40984c=this[_0x4329d4(0x87)](),_0x4979ba=(0x0,_0x3bace7[_0x4329d4(0x128)])(_0x40984c,this[_0x4329d4(0xcd)],_0x4ba4fb);if(!_0x4979ba)return!0x1;let _0x5ce446=this[_0x4329d4(0x11b)](_0x40984c,_0x4979ba[_0x4329d4(0x130)]);return _0x5ce446&&_0x59014d[_0x4329d4(0xe7)](this[_0x4329d4(0xbe)],this[_0x4329d4(0xcd)],_0x4979ba[_0x4329d4(0x145)]),_0x5ce446;}[_0x1f5fb2(0x12d)](_0x34a0a6){const _0x119fa4=_0x1f5fb2;return this[_0x119fa4(0xe7)](_0x34a0a6);}['hasTitleRow'](){const _0x222c40=_0x1f5fb2;var _0x3d3620,_0x380f9c;return(_0x3d3620=(_0x380f9c=this[_0x222c40(0xfc)]())==null?void 0x0:_0x380f9c[_0x222c40(0x15e)])==null?!0x1:_0x3d3620;}[_0x1f5fb2(0xbc)](){const _0x631c54=_0x1f5fb2;let _0x8461c0=this[_0x631c54(0x11a)][_0x631c54(0x96)](_0x3bace7[_0x631c54(0x102)]),_0x4eabb6=this[_0x631c54(0x87)](),_0x3db111=(0x0,_0x3bace7['buildInsertTableTitleRowMutationActions'])(_0x4eabb6,this[_0x631c54(0xcd)],this[_0x631c54(0xf1)]());if(!_0x3db111)return!0x1;let _0x56c669=this[_0x631c54(0x11b)](_0x4eabb6,_0x3db111[_0x631c54(0x130)]);return _0x56c669&&_0x8461c0['setTitleRow'](this[_0x631c54(0xbe)],this['_tableId'],!0x0),_0x56c669;}[_0x1f5fb2(0xd9)](_0x1e0542,_0x11ce40){const _0x1c057e=_0x1f5fb2;return this['_injector'][_0x1c057e(0x96)](_0x3bace7[_0x1c057e(0x102)])[_0x1c057e(0xd9)](this[_0x1c057e(0xbe)],this[_0x1c057e(0xcd)],_0x1e0542,_0x11ce40),!0x0;}[_0x1f5fb2(0x157)](_0x237b47,_0xbaa13){const _0xd9482a=_0x1f5fb2;let _0x2fedfe=this[_0xd9482a(0x87)]();return this['_mutateActions'](_0x2fedfe,(0x0,_0x3bace7['buildSortTableMutationActions'])(_0x2fedfe,this[_0xd9482a(0x155)](),this[_0xd9482a(0xcd)],_0x237b47,_0xbaa13,this[_0xd9482a(0xf1)]()));}[_0x1f5fb2(0x87)](){const _0x110c55=_0x1f5fb2;let _0x2769ae=this[_0x110c55(0xd7)][_0x110c55(0x112)]()[_0x110c55(0x90)]();return this[_0x110c55(0xfd)]?{...this[_0x110c55(0xd7)][_0x110c55(0x112)](this[_0x110c55(0xfd)])[_0x110c55(0x90)](),'documentStyle':_0x2769ae[_0x110c55(0x101)],'tableSource':_0x2769ae[_0x110c55(0x13c)]}:_0x2769ae;}[_0x1f5fb2(0x155)](){const _0x13de11=_0x1f5fb2;return this[_0x13de11(0x11a)][_0x13de11(0x96)](_0x3bace7[_0x13de11(0x102)])['serialize'](this[_0x13de11(0xbe)]);}[_0x1f5fb2(0xf1)](){const _0x530744=_0x1f5fb2;return(0x0,_0x3bace7[_0x530744(0x142)])(this[_0x530744(0xd7)][_0x530744(0x112)]()['getSnapshot'](),this[_0x530744(0xfd)]);}['_mutateActions'](_0x31538f,_0x5d4b9d,_0x34aa62){const _0x4c5d9e=_0x1f5fb2;return(0x0,_0x3bace7[_0x4c5d9e(0x81)])(this[_0x4c5d9e(0x11a)][_0x4c5d9e(0x96)](_0x42c1ff[_0x4c5d9e(0x116)]),this[_0x4c5d9e(0xbe)],_0x31538f,_0x5d4b9d,_0x34aa62?{'tableId':this[_0x4c5d9e(0xcd)],'segmentId':this[_0x4c5d9e(0xfd)],..._0x34aa62}:void 0x0);}},_0x3f02b5=class extends _0x18775f['FDocument']{[_0x1f5fb2(0xe0)](_0x1ba7ea=''){const _0x2d4578=_0x1f5fb2;return this['_getTables'](_0x1ba7ea)['map'](_0x411b64=>this['_createFDocumentTable'](_0x411b64[_0x2d4578(0x10a)],_0x1ba7ea));}['getTable'](_0xe1f40c,_0x25d6c5=''){const _0x25c8ca=_0x1f5fb2;return this[_0x25c8ca(0xb5)](_0x25d6c5)[_0x25c8ca(0x8e)](_0x1b7965=>_0x1b7965[_0x25c8ca(0x10a)]===_0xe1f40c)?this[_0x25c8ca(0xe4)](_0xe1f40c,_0x25d6c5):null;}[_0x1f5fb2(0xc8)](_0x932f6d,_0x1ab57e=''){const _0x1f854f=_0x1f5fb2;var _0xe4e8a4;let _0x48dbda=(_0xe4e8a4=this[_0x1f854f(0xb5)](_0x1ab57e)[_0x932f6d])==null?void 0x0:_0xe4e8a4[_0x1f854f(0x10a)];return _0x48dbda?this[_0x1f854f(0xe4)](_0x48dbda,_0x1ab57e):null;}[_0x1f5fb2(0x127)](){const _0x5c0bee=_0x1f5fb2;let _0x38e074=this[_0x5c0bee(0x11a)]['get'](_0x3bace7[_0x5c0bee(0xaf)])[_0x5c0bee(0x108)]();return _0x38e074!=null&&_0x38e074[_0x5c0bee(0x10a)]?this[_0x5c0bee(0xe4)](_0x38e074[_0x5c0bee(0x10a)],_0x38e074[_0x5c0bee(0x134)]):null;}[_0x1f5fb2(0xc5)](_0x4d2cba,_0x110f62=''){const _0x2f5ea0=_0x1f5fb2;var _0x815bd1;return(_0x815bd1=this[_0x2f5ea0(0xe9)](_0x4d2cba,_0x110f62)[0x0])==null?null:_0x815bd1;}['findTables'](_0xc7e6db,_0x54c951=''){const _0x3a3431=_0x1f5fb2;let _0xdb2096=this['_getTableDocumentData'](_0x54c951),_0x432236=typeof _0xc7e6db=='string'?{'text':_0xc7e6db}:_0xc7e6db;return this[_0x3a3431(0xe0)](_0x54c951)[_0x3a3431(0xe5)](_0x5d7a00=>{const _0x4b5c6e=_0x3a3431;let _0x210c3b=_0x5d7a00['getId']();return!(_0x432236[_0x4b5c6e(0x10a)]&&_0x210c3b!==_0x432236[_0x4b5c6e(0x10a)]||_0x432236[_0x4b5c6e(0x84)]&&!this[_0x4b5c6e(0xde)](_0xdb2096,_0x210c3b,_0x432236[_0x4b5c6e(0x84)])||_0x432236[_0x4b5c6e(0xc4)]&&!this[_0x4b5c6e(0xfa)](_0x5d7a00,0x0,_0x432236[_0x4b5c6e(0xc4)])||_0x432236['titleText']&&!this[_0x4b5c6e(0xfa)](_0x5d7a00,0x0,_0x432236[_0x4b5c6e(0xdc)]));});}[_0x1f5fb2(0xb7)](_0x525781,_0x4a4e45,_0x4ece85={}){const _0x3fa22a=_0x1f5fb2;var _0x1e2267,_0x4794dd;let _0xfa7949=this[_0x3fa22a(0x11a)][_0x3fa22a(0x96)](_0x42c1ff['ICommandService']),_0x40a6ae=(_0x1e2267=_0x4ece85[_0x3fa22a(0x10a)])==null?(0x0,_0x42c1ff[_0x3fa22a(0x115)])(0x6):_0x1e2267;return _0xfa7949[_0x3fa22a(0xa7)](_0x3bace7[_0x3fa22a(0xd5)]['id'],{..._0x4ece85,'unitId':this[_0x3fa22a(0x9e)](),'rows':_0x525781,'columns':_0x4a4e45,'tableId':_0x40a6ae})?this[_0x3fa22a(0xe4)](_0x40a6ae,(_0x4794dd=_0x4ece85[_0x3fa22a(0x134)])==null?'':_0x4794dd):null;}['insertTableFromData'](_0x13b415,_0x17b85b={}){const _0x28d77a=_0x1f5fb2;var _0x49d612,_0x58fb21;let _0x2f3d67=this[_0x28d77a(0x11a)][_0x28d77a(0x96)](_0x42c1ff['ICommandService']),_0x14d2c0=(_0x49d612=_0x17b85b['tableId'])==null?(0x0,_0x42c1ff[_0x28d77a(0x115)])(0x6):_0x49d612;return _0x2f3d67[_0x28d77a(0xa7)](_0x3bace7[_0x28d77a(0xd5)]['id'],{..._0x17b85b,'unitId':this[_0x28d77a(0x9e)](),'values':_0x13b415,'tableId':_0x14d2c0})?this[_0x28d77a(0xe4)](_0x14d2c0,(_0x58fb21=_0x17b85b[_0x28d77a(0x134)])==null?'':_0x58fb21):null;}[_0x1f5fb2(0xb5)](_0xc8df80=''){const _0x51de16=_0x1f5fb2;let {tables:_0x50a56f=[]}=this[_0x51de16(0xcb)](_0xc8df80);return _0x50a56f;}[_0x1f5fb2(0x9d)](_0xf51865=''){const _0x3eca5b=_0x1f5fb2;let _0x29fb90=this[_0x3eca5b(0x112)]()[_0x3eca5b(0x90)]();return _0xf51865?{...this[_0x3eca5b(0x112)](_0xf51865)[_0x3eca5b(0x90)](),'documentStyle':_0x29fb90[_0x3eca5b(0x101)],'tableSource':_0x29fb90[_0x3eca5b(0x13c)]}:_0x29fb90;}[_0x1f5fb2(0xe4)](_0x3067f3,_0x2d0d86=''){const _0x1f45e7=_0x1f5fb2;return this[_0x1f45e7(0x11a)][_0x1f45e7(0x12e)](_0x1cdb12,this,_0x3067f3,_0x2d0d86,this['_injector']);}[_0x1f5fb2(0xde)](_0x250a7d,_0x2e1ba0,_0x2d547c){const _0x2c8c19=_0x1f5fb2;var _0x12ced6;let _0x2539d3=(0x0,_0x3bace7['getTableRangeById'])(_0x250a7d,_0x2e1ba0);if(!_0x2539d3)return!0x1;let _0x34a297=(_0x12ced6=_0x250a7d['body'])==null?void 0x0:_0x12ced6[_0x2c8c19(0x133)];return _0x34a297?_0x34a297[_0x2c8c19(0x126)](_0x2539d3[_0x2c8c19(0xf9)],_0x2539d3['endOffset'])[_0x2c8c19(0xc3)](_0x2d547c):!0x1;}[_0x1f5fb2(0xfa)](_0x4a98bb,_0x3f18aa,_0x5de99b){const _0x4394e2=_0x1f5fb2;return Array['from']({'length':_0x4a98bb['getColumnCount']()},(_0x70e0e3,_0x177d1d)=>_0x4a98bb[_0x4394e2(0xb2)](_0x3f18aa,_0x177d1d))[_0x4394e2(0x8e)](_0x1e6e6d=>_0x1e6e6d[_0x4394e2(0xc3)](_0x5de99b));}};_0x18775f[_0x1f5fb2(0x15c)][_0x1f5fb2(0xa4)](_0x3f02b5),_0x1d1e12[_0x1f5fb2(0xa8)]=_0x1cdb12,_0x1d1e12[_0x1f5fb2(0xdd)]=_0x29cc3a;}));
|
|
1
|
+
function _0xe2cc(_0x25adf2,_0x38083b){_0x25adf2=_0x25adf2-0xe9;const _0xd64c68=_0xd64c();let _0xe2cce6=_0xd64c68[_0x25adf2];return _0xe2cce6;}(function(_0x4bc363,_0x4a825e){const _0x13b9a9=_0xe2cc,_0x16dbb2=_0x4bc363();while(!![]){try{const _0xa1251c=parseInt(_0x13b9a9(0x176))/0x1+-parseInt(_0x13b9a9(0x165))/0x2+-parseInt(_0x13b9a9(0x1b7))/0x3+-parseInt(_0x13b9a9(0x13f))/0x4*(-parseInt(_0x13b9a9(0x174))/0x5)+parseInt(_0x13b9a9(0xeb))/0x6*(parseInt(_0x13b9a9(0x167))/0x7)+parseInt(_0x13b9a9(0x10a))/0x8+-parseInt(_0x13b9a9(0x18e))/0x9;if(_0xa1251c===_0x4a825e)break;else _0x16dbb2['push'](_0x16dbb2['shift']());}catch(_0x574f82){_0x16dbb2['push'](_0x16dbb2['shift']());}}}(_0xd64c,0xe9a30),function(_0x25bca3,_0x39b916){const _0x624131=_0xe2cc;typeof exports=='object'&&typeof module<'u'?_0x39b916(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x624131(0x111)&&define[_0x624131(0x19d)]?define([_0x624131(0x1b9),_0x624131(0x163),_0x624131(0x16a),_0x624131(0x1ae),'@univerjs/docs/facade'],_0x39b916):(_0x25bca3=typeof globalThis<'u'?globalThis:_0x25bca3||self,_0x39b916(_0x25bca3['UniverProDocsTableFacade']={},_0x25bca3[_0x624131(0x153)],_0x25bca3[_0x624131(0x134)],_0x25bca3['UniverCoreFacade'],_0x25bca3['UniverDocsFacade']));}(this,function(_0x1d1d72,_0x2d445f,_0x172e84,_0x3256d2,_0x44bc52){const _0x3136c6=_0xe2cc;Object['defineProperty'](_0x1d1d72,Symbol[_0x3136c6(0x13a)],{'value':_0x3136c6(0x1a2)});var _0x506fdb=class extends _0x3256d2['FEnum']{get[_0x3136c6(0xef)](){const _0x3fda12=_0x3136c6;return _0x2d445f[_0x3fda12(0xef)];}get[_0x3136c6(0x168)](){const _0x4a053d=_0x3136c6;return _0x2d445f[_0x4a053d(0x168)];}get[_0x3136c6(0x170)](){return _0x2d445f['DocsTableSelectionKind'];}get[_0x3136c6(0x118)](){const _0x28c610=_0x3136c6;return _0x2d445f[_0x28c610(0x118)];}get[_0x3136c6(0x116)](){const _0xf16d6b=_0x3136c6;return _0x2d445f[_0xf16d6b(0x116)];}get['DocsTableBorderPreset'](){const _0x5c33ca=_0x3136c6;return _0x2d445f[_0x5c33ca(0x12a)];}get['DocsTableSortDirection'](){return _0x2d445f['DocsTableSortDirection'];}get[_0x3136c6(0x19f)](){return _0x172e84['DashStyleType'];}};_0x3256d2['FEnum'][_0x3136c6(0x114)](_0x506fdb);var _0xedc215=class{constructor(_0x33018a,_0x317275,_0x782660){const _0x315bc9=_0x3136c6;this['_table']=_0x33018a,this[_0x315bc9(0x12d)]=_0x317275,this[_0x315bc9(0x11e)]=_0x782660;}[_0x3136c6(0x19e)](){const _0x39d213=_0x3136c6;return this[_0x39d213(0x119)];}[_0x3136c6(0x15e)](){const _0x31bbd4=_0x3136c6;return this[_0x31bbd4(0x12d)];}[_0x3136c6(0xf9)](){const _0x5bb3e7=_0x3136c6;return this[_0x5bb3e7(0x11e)];}[_0x3136c6(0x195)](){const _0x340690=_0x3136c6;return this[_0x340690(0x119)]['getCellText'](this[_0x340690(0x12d)],this[_0x340690(0x11e)]);}[_0x3136c6(0xfd)](){const _0x267987=_0x3136c6;return this[_0x267987(0x119)][_0x267987(0x169)](this['_row'],this[_0x267987(0x11e)]);}[_0x3136c6(0x1aa)](){const _0x2e39b5=_0x3136c6;return this[_0x2e39b5(0x119)]['getCellInsertOffset'](this[_0x2e39b5(0x12d)],this[_0x2e39b5(0x11e)]);}['getMargin'](){const _0x112ce=_0x3136c6;return this[_0x112ce(0x119)][_0x112ce(0x190)](this[_0x112ce(0x12d)],this[_0x112ce(0x11e)]);}[_0x3136c6(0xf7)](){const _0x3710c9=_0x3136c6;return this[_0x3710c9(0x119)]['getCellMarginOverride'](this['_row'],this[_0x3710c9(0x11e)]);}[_0x3136c6(0xf6)](_0x5ae462){const _0x4a68ce=_0x3136c6;return this[_0x4a68ce(0x119)][_0x4a68ce(0x10f)](this[_0x4a68ce(0x119)][_0x4a68ce(0x141)](this[_0x4a68ce(0x12d)],this[_0x4a68ce(0x11e)]),_0x5ae462);}['clearMarginOverride'](){const _0x46d779=_0x3136c6;return this['_table']['setCellMargin'](this[_0x46d779(0x119)][_0x46d779(0x141)](this[_0x46d779(0x12d)],this[_0x46d779(0x11e)]),null);}[_0x3136c6(0x18d)](_0x54c5c8){const _0x29c54d=_0x3136c6;return this[_0x29c54d(0x119)][_0x29c54d(0x12f)](this[_0x29c54d(0x12d)],this[_0x29c54d(0x11e)],_0x54c5c8);}['setBackgroundColor'](_0x573e4a){const _0x17c981=_0x3136c6;return this[_0x17c981(0x119)][_0x17c981(0x135)](this[_0x17c981(0x119)][_0x17c981(0x141)](this[_0x17c981(0x12d)],this[_0x17c981(0x11e)]),_0x573e4a);}[_0x3136c6(0xed)](_0x278a19){const _0x56795b=_0x3136c6;return this[_0x56795b(0x119)][_0x56795b(0xed)](this[_0x56795b(0x119)]['getCellRange'](this[_0x56795b(0x12d)],this[_0x56795b(0x11e)]),_0x278a19);}[_0x3136c6(0x187)](_0x27ddae,_0x25f530){const _0x1eb09f=_0x3136c6;return this[_0x1eb09f(0x119)][_0x1eb09f(0xfc)]({'startRow':this['_row'],'startColumn':this[_0x1eb09f(0x11e)],'endRow':this[_0x1eb09f(0x12d)]+_0x27ddae-0x1,'endColumn':this[_0x1eb09f(0x11e)]+_0x25f530-0x1});}[_0x3136c6(0x136)](){const _0x5cd02c=_0x3136c6;return this['_table'][_0x5cd02c(0x166)](this[_0x5cd02c(0x119)][_0x5cd02c(0x141)](this[_0x5cd02c(0x12d)],this[_0x5cd02c(0x11e)]));}};function _0x410c81(_0x44891e){'@babel/helpers - typeof';const _0x17f501=_0x3136c6;return _0x410c81=typeof Symbol=='function'&&typeof Symbol[_0x17f501(0x1a6)]=='symbol'?function(_0x5ba798){return typeof _0x5ba798;}:function(_0x3d8e00){const _0xd2a8f6=_0x17f501;return _0x3d8e00&&typeof Symbol=='function'&&_0x3d8e00[_0xd2a8f6(0x172)]===Symbol&&_0x3d8e00!==Symbol['prototype']?'symbol':typeof _0x3d8e00;},_0x410c81(_0x44891e);}function _0x207f18(_0x25d2aa,_0x3c4532){const _0x2c71dd=_0x3136c6;if(_0x410c81(_0x25d2aa)!=_0x2c71dd(0x105)||!_0x25d2aa)return _0x25d2aa;var _0x23e8b5=_0x25d2aa[Symbol['toPrimitive']];if(_0x23e8b5!==void 0x0){var _0x30cbc0=_0x23e8b5[_0x2c71dd(0x14d)](_0x25d2aa,_0x3c4532||_0x2c71dd(0x179));if(_0x410c81(_0x30cbc0)!=_0x2c71dd(0x105))return _0x30cbc0;throw TypeError(_0x2c71dd(0x15b));}return(_0x3c4532===_0x2c71dd(0x130)?String:Number)(_0x25d2aa);}function _0x2a3682(_0x4bb447){const _0x480657=_0x3136c6;var _0x29be4b=_0x207f18(_0x4bb447,_0x480657(0x130));return _0x410c81(_0x29be4b)==_0x480657(0x19a)?_0x29be4b:_0x29be4b+'';}function _0x2e8d99(_0x17c225,_0x2b4f8d,_0x456976){return(_0x2b4f8d=_0x2a3682(_0x2b4f8d))in _0x17c225?Object['defineProperty'](_0x17c225,_0x2b4f8d,{'value':_0x456976,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x17c225[_0x2b4f8d]=_0x456976,_0x17c225;}var _0x2b931c=class{constructor(_0x4e44c8,_0x1cc85e,_0x1093be='',_0x1501dd){const _0x48d1f0=_0x3136c6;this[_0x48d1f0(0x126)]=_0x4e44c8,this[_0x48d1f0(0x101)]=_0x1cc85e,this['_segmentId']=_0x1093be,this['_injector']=_0x1501dd,_0x2e8d99(this,_0x48d1f0(0x140),void 0x0),this['_unitId']=this[_0x48d1f0(0x126)]['getId']();}[_0x3136c6(0x120)](){const _0x507f28=_0x3136c6;return this[_0x507f28(0x101)];}[_0x3136c6(0x15c)](){const _0x51f1c7=_0x3136c6;return this[_0x51f1c7(0x143)];}['getInfo'](){const _0x4c071c=_0x3136c6;return{'id':this[_0x4c071c(0x101)],'rowCount':this[_0x4c071c(0x175)](),'columnCount':this[_0x4c071c(0x154)](),'metadata':this[_0x4c071c(0x109)](),'source':this[_0x4c071c(0x1bf)]()};}['describe'](){const _0x5461c5=_0x3136c6;var _0x1a2259,_0x35eac9;let _0x4907e8=this[_0x5461c5(0x109)](),_0xf03309=this['getSource'](),_0x2fe6e8=this['getColumnCount']();return{'id':this[_0x5461c5(0x101)],'rowCount':this[_0x5461c5(0x175)](),'columnCount':_0x2fe6e8,'headerRowCount':(_0x1a2259=_0x4907e8==null?void 0x0:_0x4907e8[_0x5461c5(0x14f)])==null?0x0:_0x1a2259,'titleRow':(_0x35eac9=_0x4907e8==null?void 0x0:_0x4907e8[_0x5461c5(0x16d)])==null?!0x1:_0x35eac9,'columns':Array[_0x5461c5(0xff)]({'length':_0x2fe6e8},(_0x104188,_0x39376f)=>{const _0x21815a=_0x5461c5;var _0x3fe779,_0x58f56f;return{'index':_0x39376f,'type':_0x4907e8==null||(_0x3fe779=_0x4907e8[_0x21815a(0xec)])==null||(_0x3fe779=_0x3fe779[_0x39376f])==null?void 0x0:_0x3fe779[_0x21815a(0x11d)],'width':_0xf03309==null||(_0x58f56f=_0xf03309[_0x21815a(0x1b2)][_0x39376f])==null?void 0x0:_0x58f56f[_0x21815a(0x158)][_0x21815a(0x189)]['v']};}),'sampleRows':Array['from']({'length':this[_0x5461c5(0x175)]()},(_0x925cfd,_0x50295f)=>Array['from']({'length':_0x2fe6e8},(_0x343e7f,_0x10b848)=>this[_0x5461c5(0x1af)](_0x50295f,_0x10b848)))[_0x5461c5(0x1c0)](_0x1ba195=>_0x1ba195[_0x5461c5(0x128)](_0x4be51b=>_0x4be51b[_0x5461c5(0x196)]>0x0))[_0x5461c5(0x149)](0x0,0x5)};}[_0x3136c6(0x175)](){const _0x1381be=_0x3136c6;var _0x28fc21,_0x3d6286;return(_0x28fc21=(_0x3d6286=this[_0x1381be(0x1bf)]())==null?void 0x0:_0x3d6286[_0x1381be(0x16c)]['length'])==null?0x0:_0x28fc21;}[_0x3136c6(0x154)](){const _0x32653e=_0x3136c6;var _0x2cae4a,_0x57b3fc;return(_0x2cae4a=(_0x57b3fc=this[_0x32653e(0x1bf)]())==null?void 0x0:_0x57b3fc[_0x32653e(0x1b2)][_0x32653e(0x196)])==null?0x0:_0x2cae4a;}['getCell'](_0x114e93,_0x593c99){const _0x333a14=_0x3136c6;var _0x68dc4b;return!((_0x68dc4b=this['getSource']())==null||(_0x68dc4b=_0x68dc4b[_0x333a14(0x16c)][_0x114e93])==null)&&_0x68dc4b[_0x333a14(0xfa)][_0x593c99]?this[_0x333a14(0x192)][_0x333a14(0x14b)](_0xedc215,this,_0x114e93,_0x593c99):null;}[_0x3136c6(0x1af)](_0x41a795,_0x17369e){const _0x3adb0f=_0x3136c6;var _0x163f2b,_0x20436b,_0x2551e3;let _0x4d5407=(_0x163f2b=(0x0,_0x2d445f[_0x3adb0f(0x13d)])(this[_0x3adb0f(0x188)](),this[_0x3adb0f(0x101)]))==null||(_0x163f2b=_0x163f2b[_0x3adb0f(0x14c)][_0x41a795])==null?void 0x0:_0x163f2b[_0x3adb0f(0x1bd)][_0x17369e];return _0x4d5407?(_0x20436b=(_0x2551e3=this[_0x3adb0f(0x188)]()[_0x3adb0f(0x159)])==null?void 0x0:_0x2551e3[_0x3adb0f(0x125)][_0x3adb0f(0x149)](_0x4d5407[_0x3adb0f(0x16f)]+0x1,_0x4d5407[_0x3adb0f(0xf4)])[_0x3adb0f(0x194)](/\r\n$/,''))==null?'':_0x20436b:'';}[_0x3136c6(0x190)](_0x413d4a,_0x134375){const _0xc651c8=_0x3136c6;var _0x3d3534,_0x536b7d,_0x371b13;let _0x1b75c2=this[_0xc651c8(0x1bf)](),_0x2275ae=_0x1b75c2==null||(_0x3d3534=_0x1b75c2[_0xc651c8(0x16c)][_0x413d4a])==null?void 0x0:_0x3d3534['tableCells'][_0x134375];return _0x2275ae?_0x172e84['Tools']['deepClone']((_0x536b7d=(_0x371b13=_0x2275ae['margin'])==null?_0x1b75c2[_0xc651c8(0x183)]:_0x371b13)==null?_0x2d445f[_0xc651c8(0x186)]:_0x536b7d):null;}[_0x3136c6(0x13e)](_0x2e3981,_0x3f3d28){const _0x4c3148=_0x3136c6;var _0x2e0784;let _0x1552e8=(_0x2e0784=this[_0x4c3148(0x1bf)]())==null||(_0x2e0784=_0x2e0784[_0x4c3148(0x16c)][_0x2e3981])==null?void 0x0:_0x2e0784[_0x4c3148(0xfa)][_0x3f3d28];return _0x1552e8!=null&&_0x1552e8[_0x4c3148(0x161)]?_0x172e84[_0x4c3148(0x162)][_0x4c3148(0x1b3)](_0x1552e8[_0x4c3148(0x161)]):null;}['getDefaultCellMargin'](){const _0x2e3e8d=_0x3136c6;var _0x168c17,_0x130e6d;return _0x172e84['Tools']['deepClone']((_0x168c17=(_0x130e6d=this[_0x2e3e8d(0x1bf)]())==null?void 0x0:_0x130e6d[_0x2e3e8d(0x183)])==null?_0x2d445f[_0x2e3e8d(0x186)]:_0x168c17);}['getDefaultCellMarginOverride'](){const _0x115c28=_0x3136c6;var _0x54fc5f;let _0x1b4ca8=(_0x54fc5f=this[_0x115c28(0x1bf)]())==null?void 0x0:_0x54fc5f[_0x115c28(0x183)];return _0x1b4ca8?_0x172e84[_0x115c28(0x162)][_0x115c28(0x1b3)](_0x1b4ca8):null;}['getMetadata'](){const _0x4ab163=_0x3136c6;return this[_0x4ab163(0x192)][_0x4ab163(0x1ab)](_0x2d445f[_0x4ab163(0x11b)])[_0x4ab163(0x10b)](this[_0x4ab163(0x140)],this[_0x4ab163(0x101)]);}[_0x3136c6(0x1bf)](){const _0x14c6a4=_0x3136c6;var _0x10eb1b;return(_0x10eb1b=this['_getDocumentData']()[_0x14c6a4(0x199)])==null?void 0x0:_0x10eb1b[this[_0x14c6a4(0x101)]];}[_0x3136c6(0x181)](){const _0x4a9118=_0x3136c6;return(0x0,_0x2d445f[_0x4a9118(0x13d)])(this[_0x4a9118(0x188)](),this[_0x4a9118(0x101)]);}[_0x3136c6(0xee)](){const _0x17f49a=_0x3136c6;return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x17f49a(0x154)]()-0x1)};}[_0x3136c6(0x141)](_0x480e7e,_0x19020a){return{'startRow':_0x480e7e,'endRow':_0x480e7e,'startColumn':_0x19020a,'endColumn':_0x19020a};}['getCellContentRange'](_0x5f2825,_0x571884){const _0x52068d=_0x3136c6;var _0x1b9345;let _0x1444d7=(_0x1b9345=(0x0,_0x2d445f[_0x52068d(0x13d)])(this['_getDocumentData'](),this[_0x52068d(0x101)]))==null||(_0x1b9345=_0x1b9345[_0x52068d(0x14c)][_0x5f2825])==null?void 0x0:_0x1b9345[_0x52068d(0x1bd)][_0x571884];if(!_0x1444d7)return null;let _0x352d32=_0x1444d7['startOffset']+0x1;return{'startOffset':_0x352d32,'endOffset':Math['max'](_0x352d32,_0x1444d7[_0x52068d(0xf4)]-0x1),'segmentId':this['_segmentId']};}[_0x3136c6(0x17e)](_0x503f67,_0x1cf1cd){const _0x296af3=_0x3136c6;var _0x2cbe47,_0x401d55;return(_0x2cbe47=(_0x401d55=this['getCellContentRange'](_0x503f67,_0x1cf1cd))==null?void 0x0:_0x401d55[_0x296af3(0xf4)])==null?null:_0x2cbe47;}['getRowRange'](_0x459cf9){return this['getRowsRange'](_0x459cf9,0x1);}[_0x3136c6(0x13b)](_0x1bd34c,_0x11017b=0x1){const _0x475bf9=_0x3136c6;return{'startRow':_0x1bd34c,'endRow':_0x1bd34c+_0x11017b-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x475bf9(0x154)]()-0x1)};}[_0x3136c6(0x1b8)](_0x531c65){const _0x1a61fd=_0x3136c6;return this[_0x1a61fd(0x18b)](_0x531c65,0x1);}['getColumnsRange'](_0x1b71bb,_0x224f4e=0x1){const _0x56b22a=_0x3136c6;return{'startRow':0x0,'endRow':Math[_0x56b22a(0x123)](0x0,this[_0x56b22a(0x175)]()-0x1),'startColumn':_0x1b71bb,'endColumn':_0x1b71bb+_0x224f4e-0x1};}[_0x3136c6(0x1ad)](){const _0xc4097b=_0x3136c6;return this[_0xc4097b(0x193)](this[_0xc4097b(0xee)](),_0x2d445f['DocsTableSelectionKind'][_0xc4097b(0x11a)]);}[_0x3136c6(0x106)](_0x4cba0b){return this['selectRows'](_0x4cba0b,0x1);}[_0x3136c6(0x110)](_0x441de5,_0x396785=0x1){const _0x35b0a0=_0x3136c6;return this[_0x35b0a0(0x193)](this[_0x35b0a0(0x13b)](_0x441de5,_0x396785),_0x2d445f[_0x35b0a0(0x170)]['Row']);}[_0x3136c6(0x1ba)](_0x47fb11){return this['selectColumns'](_0x47fb11,0x1);}['selectColumns'](_0x44e9d1,_0x87c0bd=0x1){const _0xfc921b=_0x3136c6;return this['selectRange'](this['getColumnsRange'](_0x44e9d1,_0x87c0bd),_0x2d445f[_0xfc921b(0x170)][_0xfc921b(0xf2)]);}[_0x3136c6(0x198)](_0x23ef2b,_0x361348){const _0x21961c=_0x3136c6;return this[_0x21961c(0x193)](this[_0x21961c(0x141)](_0x23ef2b,_0x361348),_0x2d445f[_0x21961c(0x170)][_0x21961c(0x17d)]);}[_0x3136c6(0x193)](_0x25d184,_0x49eff5=_0x2d445f[_0x3136c6(0x170)][_0x3136c6(0xf0)]){const _0x4e2de6=_0x3136c6;return this[_0x4e2de6(0x192)][_0x4e2de6(0x1ab)](_0x2d445f['DocsTableSelectionService'])[_0x4e2de6(0x107)]({..._0x25d184,'kind':_0x49eff5,'segmentId':this[_0x4e2de6(0x143)],'tableId':this['_tableId']}),!0x0;}[_0x3136c6(0x19c)](_0x45f5a6){const _0x509e60=_0x3136c6;return this[_0x509e60(0x122)](_0x45f5a6,0x1);}[_0x3136c6(0x108)](_0x1a71b2){const _0x3b8a6c=_0x3136c6;return this[_0x3b8a6c(0x146)](_0x1a71b2,0x1);}[_0x3136c6(0x122)](_0x17d692,_0x4a3f44){const _0x13a41a=_0x3136c6;let _0x42cbce=this[_0x13a41a(0x188)](),_0x5070a5=(0x0,_0x2d445f[_0x13a41a(0x13c)])(_0x42cbce,this[_0x13a41a(0x101)],_0x17d692,_0x4a3f44,_0x2d445f[_0x13a41a(0x137)][_0x13a41a(0x152)],this[_0x13a41a(0x133)]());return _0x5070a5?this[_0x13a41a(0x1b6)](_0x42cbce,_0x5070a5[_0x13a41a(0xfb)]):!0x1;}[_0x3136c6(0x146)](_0x58e45e,_0x5c3875){const _0x2a840e=_0x3136c6;let _0x35c920=this[_0x2a840e(0x188)](),_0x58f5f5=(0x0,_0x2d445f['buildInsertTableRowsMutationActions'])(_0x35c920,this['_tableId'],_0x58e45e,_0x5c3875,_0x2d445f[_0x2a840e(0x137)][_0x2a840e(0x155)],this['_getBodyPath']());return _0x58f5f5?this[_0x2a840e(0x1b6)](_0x35c920,_0x58f5f5[_0x2a840e(0xfb)]):!0x1;}['appendRow'](){const _0x2b974e=_0x3136c6;return this[_0x2b974e(0x146)](Math[_0x2b974e(0x123)](0x0,this['getRowCount']()-0x1),0x1);}[_0x3136c6(0x14e)](_0x3f7ad9){const _0xe6d1ae=_0x3136c6;return this[_0xe6d1ae(0x185)](_0x3f7ad9,0x1);}[_0x3136c6(0xf5)](_0x30c7d2){const _0x5566d2=_0x3136c6;return this[_0x5566d2(0x173)](_0x30c7d2,0x1);}['insertColumnsBefore'](_0x4de3be,_0xd2a3df){const _0x3888be=_0x3136c6;let _0x1c8b75=this[_0x3888be(0x188)](),_0x3884d6=(0x0,_0x2d445f['buildInsertTableColumnsMutationActions'])(_0x1c8b75,this[_0x3888be(0x101)],_0x4de3be,_0xd2a3df,_0x2d445f[_0x3888be(0x137)][_0x3888be(0x157)],{'bodyPath':this[_0x3888be(0x133)]()});return _0x3884d6?this[_0x3888be(0x1b6)](_0x1c8b75,_0x3884d6[_0x3888be(0xfb)]):!0x1;}[_0x3136c6(0x173)](_0x7f893c,_0x2091f0){const _0x2b08d9=_0x3136c6;let _0x1051c5=this[_0x2b08d9(0x188)](),_0xf695b4=(0x0,_0x2d445f[_0x2b08d9(0x1a5)])(_0x1051c5,this[_0x2b08d9(0x101)],_0x7f893c,_0x2091f0,_0x2d445f['DocsTableInsertPosition'][_0x2b08d9(0xea)],{'bodyPath':this[_0x2b08d9(0x133)]()});return _0xf695b4?this[_0x2b08d9(0x1b6)](_0x1051c5,_0xf695b4[_0x2b08d9(0xfb)]):!0x1;}[_0x3136c6(0x121)](){const _0x38adc7=_0x3136c6;return this['insertColumnsAfter'](Math[_0x38adc7(0x123)](0x0,this['getColumnCount']()-0x1),0x1);}['deleteRow'](_0x464795){const _0x3f4324=_0x3136c6;return this[_0x3f4324(0x1a4)](_0x464795,0x1);}[_0x3136c6(0x1a4)](_0x529e95,_0x50577b=0x1){const _0x249727=_0x3136c6;let _0x36d395=this[_0x249727(0x188)](),_0xc0ea6d=(0x0,_0x2d445f[_0x249727(0x15a)])(_0x36d395,this['_tableId'],_0x529e95,_0x529e95+_0x50577b-0x1,this['_getBodyPath']());return _0xc0ea6d?this[_0x249727(0x1b6)](_0x36d395,_0xc0ea6d[_0x249727(0xfb)]):!0x1;}[_0x3136c6(0x10c)](_0x43e395){return this['deleteColumns'](_0x43e395,0x1);}['deleteColumns'](_0x151ea8,_0x48d2a8=0x1){const _0x341f7d=_0x3136c6;let _0x567ce4=this[_0x341f7d(0x188)](),_0x5084c8=(0x0,_0x2d445f['buildDeleteTableColumnsMutationActions'])(_0x567ce4,this[_0x341f7d(0x101)],_0x151ea8,_0x151ea8+_0x48d2a8-0x1,this[_0x341f7d(0x133)]());return _0x5084c8?this[_0x341f7d(0x1b6)](_0x567ce4,_0x5084c8[_0x341f7d(0xfb)]):!0x1;}[_0x3136c6(0x150)](){const _0x23da8e=_0x3136c6;let _0x58aeaf=this['_getDocumentData'](),_0x199f08=(0x0,_0x2d445f[_0x23da8e(0x1a3)])(_0x58aeaf,this[_0x23da8e(0x101)],this[_0x23da8e(0x133)]());return _0x199f08?this[_0x23da8e(0x1b6)](_0x58aeaf,_0x199f08['actions']):!0x1;}['moveTableBy'](_0x3fb0e2,_0xdb7331){const _0x342562=_0x3136c6;let _0x2c86b5=this['_getDocumentData']();return this[_0x342562(0x1b6)](_0x2c86b5,(0x0,_0x2d445f[_0x342562(0x14a)])(_0x2c86b5,this['_tableId'],_0x3fb0e2,_0xdb7331));}['moveTableToOffset'](_0x37aef3){const _0x53b8ae=_0x3136c6;let _0x38dbf5=this[_0x53b8ae(0x188)]();return this[_0x53b8ae(0x1b6)](_0x38dbf5,(0x0,_0x2d445f['buildMoveTableToOffsetMutationActions'])(_0x38dbf5,this[_0x53b8ae(0x101)],_0x37aef3,this[_0x53b8ae(0x133)]()));}[_0x3136c6(0x11c)](_0x2e0820,_0x4f7aac,_0x3d79b7=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x152)]){const _0x5a4a9b=_0x3136c6;return this[_0x5a4a9b(0x151)](_0x2e0820,0x1,_0x4f7aac,_0x3d79b7);}[_0x3136c6(0x151)](_0x1944f2,_0x4a096b,_0x4c07bf,_0x38e977=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x152)]){const _0x54dd17=_0x3136c6;let _0x52075b=this[_0x54dd17(0x188)](),_0x2352cb=(0x0,_0x2d445f[_0x54dd17(0x1b0)])(_0x52075b,this[_0x54dd17(0x101)],_0x1944f2,_0x4c07bf,_0x4a096b,_0x38e977,this[_0x54dd17(0x133)]());return _0x2352cb?this[_0x54dd17(0x1b6)](_0x52075b,_0x2352cb[_0x54dd17(0xfb)]):!0x1;}['moveColumn'](_0x116b68,_0x49937e,_0x379832=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x157)]){const _0x3ba714=_0x3136c6;return this[_0x3ba714(0x1a0)](_0x116b68,0x1,_0x49937e,_0x379832);}[_0x3136c6(0x1a0)](_0x469988,_0x4885c2,_0x4d6c0d,_0x21f0e2=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x157)]){const _0x3b08dd=_0x3136c6;let _0x45e517=this['_getDocumentData'](),_0x178a14=(0x0,_0x2d445f[_0x3b08dd(0x18c)])(_0x45e517,this[_0x3b08dd(0x101)],_0x469988,_0x4d6c0d,_0x4885c2,_0x21f0e2,this[_0x3b08dd(0x133)]());return _0x178a14?this['_mutateActions'](_0x45e517,_0x178a14[_0x3b08dd(0xfb)]):!0x1;}[_0x3136c6(0xfc)](_0x1e5652){const _0x5ddaee=_0x3136c6;try{let _0x20e2dd=this[_0x5ddaee(0x188)](),_0x263d80=(0x0,_0x2d445f[_0x5ddaee(0x180)])({'documentData':_0x20e2dd,'tableId':this[_0x5ddaee(0x101)],..._0x1e5652});return _0x263d80?this[_0x5ddaee(0x1b6)](_0x20e2dd,_0x263d80['actions'],_0x1e5652):!0x1;}catch{return!0x1;}}[_0x3136c6(0x166)](_0x57bc28){const _0x5977b6=_0x3136c6;try{let _0xd4e8aa=this['_getDocumentData'](),_0xa42ccd=(0x0,_0x2d445f['buildUnmergeCellsMutationActions'])({'documentData':_0xd4e8aa,'tableId':this[_0x5977b6(0x101)],..._0x57bc28});return _0xa42ccd?this[_0x5977b6(0x1b6)](_0xd4e8aa,_0xa42ccd[_0x5977b6(0xfb)],_0x57bc28):!0x1;}catch{return!0x1;}}[_0x3136c6(0x12f)](_0x2b1c4f,_0x1c017b,_0x3824a6){const _0xae5f9=_0x3136c6;let _0x36962b=this[_0xae5f9(0x188)](),_0x1d8d6c=(0x0,_0x2d445f['getTableActionBodyPath'])(this['_document'][_0xae5f9(0x127)]()[_0xae5f9(0x144)](),this['_segmentId']);return this['_mutateActions'](_0x36962b,(0x0,_0x2d445f['buildSetTableCellTextMutationActions'])({'documentData':_0x36962b,'tableId':this[_0xae5f9(0x101)],'row':_0x2b1c4f,'column':_0x1c017b,'text':_0x3824a6},_0x1d8d6c),this['getCellRange'](_0x2b1c4f,_0x1c017b));}[_0x3136c6(0x135)](_0x25fbcb,_0x32359f){const _0x167046=_0x3136c6;let _0x38701a=this[_0x167046(0x188)]();return this[_0x167046(0x1b6)](_0x38701a,(0x0,_0x2d445f['buildSetTableBackgroundMutationActions'])(_0x38701a,{'tableId':this[_0x167046(0x101)],..._0x25fbcb,'value':_0x32359f}),_0x25fbcb);}[_0x3136c6(0x10f)](_0x389d5e,_0x23ac4e){const _0x3d78d0=_0x3136c6;let _0x3be32c=this[_0x3d78d0(0x188)]();return this[_0x3d78d0(0x1b6)](_0x3be32c,(0x0,_0x2d445f['buildSetTableCellMarginMutationActions'])({'documentData':_0x3be32c,'tableId':this['_tableId'],..._0x389d5e,'margin':_0x23ac4e}),_0x389d5e);}[_0x3136c6(0x10e)](_0x38680c){const _0x384d7c=_0x3136c6;let _0xa9c4e2=this[_0x384d7c(0x188)]();return this[_0x384d7c(0x1b6)](_0xa9c4e2,(0x0,_0x2d445f[_0x384d7c(0x1b1)])(_0xa9c4e2,this['_tableId'],_0x38680c));}[_0x3136c6(0xed)](_0x576b70,_0x3f5335){const _0x3772e5=_0x3136c6;var _0x5123e0,_0x262f5f,_0x3677e3,_0x5c8b78;let _0x63f196=this['_getDocumentData']();return this[_0x3772e5(0x1b6)](_0x63f196,(0x0,_0x2d445f[_0x3772e5(0x18f)])({'documentData':_0x63f196,'tableId':this[_0x3772e5(0x101)],..._0x576b70,'preset':(_0x5123e0=_0x3f5335[_0x3772e5(0x19b)])==null?_0x2d445f[_0x3772e5(0x12a)][_0x3772e5(0x197)]:_0x5123e0,'border':(_0x262f5f=_0x3f5335[_0x3772e5(0x191)])==null?{'color':{'rgb':(_0x3677e3=_0x3f5335[_0x3772e5(0x113)])==null?'#1f1f1f':_0x3677e3},'width':{'v':(_0x5c8b78=_0x3f5335[_0x3772e5(0x189)])==null?0x1:_0x5c8b78},'dashStyle':_0x172e84[_0x3772e5(0x19f)][_0x3772e5(0x103)]}:_0x262f5f}),_0x576b70);}[_0x3136c6(0x171)](_0x3fe12a){return this['setCellBackground'](this['getTableRange'](),_0x3fe12a);}['setTableBorder'](_0x391ef4){const _0xf90d5=_0x3136c6;return this['setBorder'](this[_0xf90d5(0xee)](),_0x391ef4);}[_0x3136c6(0x17a)](_0x24edbc){const _0x42eec8=_0x3136c6;let _0xcacfb8=_0x24edbc['backgroundColor']?this[_0x42eec8(0x171)](_0x24edbc[_0x42eec8(0xfe)]):!0x0,_0x4c99c2=_0x24edbc[_0x42eec8(0x191)]?this['setTableBorder'](_0x24edbc[_0x42eec8(0x191)]):!0x0;return _0xcacfb8&&_0x4c99c2;}[_0x3136c6(0x17b)](_0x1ab7f6,_0x33edda,_0x3ad789=_0x172e84[_0x3136c6(0x138)][_0x3136c6(0x112)]){const _0x5a6f93=_0x3136c6;var _0x5dae95;let _0x37a03f=this[_0x5a6f93(0x188)]();return!((_0x5dae95=_0x37a03f[_0x5a6f93(0x199)])==null||(_0x5dae95=_0x5dae95[this[_0x5a6f93(0x101)]])==null)&&_0x5dae95['tableRows'][_0x1ab7f6]?this['_mutateActions'](_0x37a03f,(0x0,_0x2d445f[_0x5a6f93(0x117)])(_0x37a03f,this[_0x5a6f93(0x101)],_0x1ab7f6,_0x33edda,_0x3ad789)):!0x1;}[_0x3136c6(0x156)](_0x332c15){const _0x353f27=_0x3136c6;var _0x125749;let _0x5d60c6=(_0x125749=this[_0x353f27(0x1bf)]())==null||(_0x125749=_0x125749[_0x353f27(0x16c)][_0x332c15])==null?void 0x0:_0x125749[_0x353f27(0x129)];return _0x5d60c6?_0x172e84[_0x353f27(0x162)][_0x353f27(0x1b3)](_0x5d60c6):null;}[_0x3136c6(0x145)](_0x5a42c7,_0x575b09){const _0x4b584c=_0x3136c6;var _0x4a968e;let _0x168b4b=this[_0x4b584c(0x188)]();return!((_0x4a968e=_0x168b4b['tableSource'])==null||(_0x4a968e=_0x4a968e[this['_tableId']])==null)&&_0x4a968e[_0x4b584c(0x1b2)][_0x5a42c7]?this[_0x4b584c(0x1b6)](_0x168b4b,(0x0,_0x2d445f['buildResizeTableColumnActionsFromWidth'])(_0x168b4b,this['_tableId'],_0x5a42c7,_0x575b09)):!0x1;}[_0x3136c6(0x17c)](_0x2588f8=0x0,_0x4ae029=this[_0x3136c6(0x175)]()){const _0x30215f=_0x3136c6;let _0x1eb9de=this[_0x30215f(0x188)]();return this[_0x30215f(0x1b6)](_0x1eb9de,(0x0,_0x2d445f['buildDistributeTableRowsMutationActions'])(_0x1eb9de,this[_0x30215f(0x101)],_0x2588f8,_0x2588f8+_0x4ae029-0x1));}[_0x3136c6(0x16b)](_0x4030d9=0x0,_0x5b093a=this['getColumnCount']()){const _0x34275e=_0x3136c6;let _0x49f1ae=this[_0x34275e(0x188)]();return this[_0x34275e(0x1b6)](_0x49f1ae,(0x0,_0x2d445f[_0x34275e(0x132)])(_0x49f1ae,this[_0x34275e(0x101)],_0x4030d9,_0x4030d9+_0x5b093a-0x1));}[_0x3136c6(0x17f)](){const _0x2ce18f=_0x3136c6;var _0x544053,_0xeb4b25;return(_0x544053=(_0xeb4b25=this[_0x2ce18f(0x109)]())==null?void 0x0:_0xeb4b25[_0x2ce18f(0x14f)])==null?0x0:_0x544053;}[_0x3136c6(0x178)](_0x210dd1){const _0x5c6617=_0x3136c6;let _0x7170a9=this[_0x5c6617(0x192)]['get'](_0x2d445f[_0x5c6617(0x11b)]),_0x3b89e0=this[_0x5c6617(0x188)](),_0x3748d0=(0x0,_0x2d445f[_0x5c6617(0x147)])(_0x3b89e0,this[_0x5c6617(0x101)],_0x210dd1);if(!_0x3748d0)return!0x1;let _0x1a3f7d=this[_0x5c6617(0x1b6)](_0x3b89e0,_0x3748d0[_0x5c6617(0xfb)]);return _0x1a3f7d&&_0x7170a9['setHeaderRowCount'](this[_0x5c6617(0x140)],this[_0x5c6617(0x101)],_0x3748d0['headerRowCount']),_0x1a3f7d;}[_0x3136c6(0x1be)](_0x1ce927){const _0x32b6fa=_0x3136c6;return this[_0x32b6fa(0x178)](_0x1ce927);}['hasTitleRow'](){const _0x126c39=_0x3136c6;var _0x344f6e,_0x5c1968;return(_0x344f6e=(_0x5c1968=this[_0x126c39(0x109)]())==null?void 0x0:_0x5c1968[_0x126c39(0x16d)])==null?!0x1:_0x344f6e;}[_0x3136c6(0x15f)](){const _0x23995d=_0x3136c6;let _0x119edd=this[_0x23995d(0x192)][_0x23995d(0x1ab)](_0x2d445f[_0x23995d(0x11b)]),_0x144a1d=this[_0x23995d(0x188)](),_0x191885=(0x0,_0x2d445f['buildInsertTableTitleRowMutationActions'])(_0x144a1d,this[_0x23995d(0x101)],this['_getBodyPath']());if(!_0x191885)return!0x1;let _0x2b047b=this[_0x23995d(0x1b6)](_0x144a1d,_0x191885[_0x23995d(0xfb)]);return _0x2b047b&&_0x119edd[_0x23995d(0x164)](this[_0x23995d(0x140)],this[_0x23995d(0x101)],!0x0),_0x2b047b;}[_0x3136c6(0x1a8)](_0x198bad,_0x2209a8){const _0x92796b=_0x3136c6;return this[_0x92796b(0x192)][_0x92796b(0x1ab)](_0x2d445f[_0x92796b(0x11b)])[_0x92796b(0x1a8)](this[_0x92796b(0x140)],this[_0x92796b(0x101)],_0x198bad,_0x2209a8),!0x0;}[_0x3136c6(0x10d)](_0xab8923,_0x44feea){const _0x2f2195=_0x3136c6;let _0x1e6cbe=this[_0x2f2195(0x188)]();return this['_mutateActions'](_0x1e6cbe,(0x0,_0x2d445f[_0x2f2195(0x139)])(_0x1e6cbe,this[_0x2f2195(0x184)](),this[_0x2f2195(0x101)],_0xab8923,_0x44feea,this['_getBodyPath']()));}[_0x3136c6(0x188)](){const _0x4a1080=_0x3136c6;let _0x51bde4=this[_0x4a1080(0x126)][_0x4a1080(0x127)]()['getSnapshot']();return this[_0x4a1080(0x143)]?{...this[_0x4a1080(0x126)]['getDocumentDataModel'](this[_0x4a1080(0x143)])[_0x4a1080(0x144)](),'documentStyle':_0x51bde4[_0x4a1080(0xe9)],'tableSource':_0x51bde4[_0x4a1080(0x199)]}:_0x51bde4;}['_serializeModel'](){const _0xfe76df=_0x3136c6;return this['_injector'][_0xfe76df(0x1ab)](_0x2d445f['DocsTableModel'])[_0xfe76df(0x12e)](this[_0xfe76df(0x140)]);}[_0x3136c6(0x133)](){const _0x5b5ab5=_0x3136c6;return(0x0,_0x2d445f[_0x5b5ab5(0x100)])(this[_0x5b5ab5(0x126)]['getDocumentDataModel']()[_0x5b5ab5(0x144)](),this[_0x5b5ab5(0x143)]);}[_0x3136c6(0x1b6)](_0x5bd689,_0x9cad80,_0x1b6501){const _0x5d779e=_0x3136c6;return(0x0,_0x2d445f[_0x5d779e(0x182)])(this['_injector'][_0x5d779e(0x1ab)](_0x172e84[_0x5d779e(0x102)]),this[_0x5d779e(0x140)],_0x5bd689,_0x9cad80,_0x1b6501?{'tableId':this[_0x5d779e(0x101)],'segmentId':this[_0x5d779e(0x143)],..._0x1b6501}:void 0x0);}},_0x2575a8=class extends _0x44bc52[_0x3136c6(0x12b)]{[_0x3136c6(0x1bc)](_0x2731e7=''){const _0x136dc4=_0x3136c6;return this[_0x136dc4(0x148)](_0x2731e7)[_0x136dc4(0x18a)](_0x90ea6c=>this[_0x136dc4(0x142)](_0x90ea6c[_0x136dc4(0x1bb)],_0x2731e7));}[_0x3136c6(0x19e)](_0x5365c1,_0x54a393=''){const _0x3749f5=_0x3136c6;return this[_0x3749f5(0x148)](_0x54a393)[_0x3749f5(0x128)](_0x381d62=>_0x381d62['tableId']===_0x5365c1)?this[_0x3749f5(0x142)](_0x5365c1,_0x54a393):null;}['getTableAt'](_0x2c4199,_0x164928=''){const _0x262524=_0x3136c6;var _0x421e2a;let _0x34e641=(_0x421e2a=this[_0x262524(0x148)](_0x164928)[_0x2c4199])==null?void 0x0:_0x421e2a[_0x262524(0x1bb)];return _0x34e641?this['_createFDocumentTable'](_0x34e641,_0x164928):null;}['getTableAtSelection'](){const _0x3bc220=_0x3136c6;let _0x3df340=this[_0x3bc220(0x192)][_0x3bc220(0x1ab)](_0x2d445f[_0x3bc220(0x1a9)])[_0x3bc220(0x1a1)]();return _0x3df340!=null&&_0x3df340[_0x3bc220(0x1bb)]?this[_0x3bc220(0x142)](_0x3df340['tableId'],_0x3df340[_0x3bc220(0xf8)]):null;}[_0x3136c6(0x177)](_0x248cc0,_0x3ad744=''){const _0x5d4c30=_0x3136c6;var _0x4f60d0;return(_0x4f60d0=this[_0x5d4c30(0x124)](_0x248cc0,_0x3ad744)[0x0])==null?null:_0x4f60d0;}[_0x3136c6(0x124)](_0x5edfff,_0x6da558=''){const _0x4d7fc5=_0x3136c6;let _0x1d702d=this[_0x4d7fc5(0x1b4)](_0x6da558),_0x2a0f06=typeof _0x5edfff=='string'?{'text':_0x5edfff}:_0x5edfff;return this[_0x4d7fc5(0x1bc)](_0x6da558)['filter'](_0x416ae5=>{const _0x3360c7=_0x4d7fc5;let _0x2096fd=_0x416ae5[_0x3360c7(0x120)]();return!(_0x2a0f06[_0x3360c7(0x1bb)]&&_0x2096fd!==_0x2a0f06[_0x3360c7(0x1bb)]||_0x2a0f06['text']&&!this[_0x3360c7(0x131)](_0x1d702d,_0x2096fd,_0x2a0f06[_0x3360c7(0x104)])||_0x2a0f06[_0x3360c7(0xf3)]&&!this['_rowContainsText'](_0x416ae5,0x0,_0x2a0f06['headerText'])||_0x2a0f06[_0x3360c7(0x11f)]&&!this['_rowContainsText'](_0x416ae5,0x0,_0x2a0f06[_0x3360c7(0x11f)]));});}[_0x3136c6(0x1a7)](_0x3d0464,_0x4cd1b5,_0x12f78a={}){const _0x509ee7=_0x3136c6;var _0x1a08a5,_0x12be3a;let _0x30ee42=this['_injector'][_0x509ee7(0x1ab)](_0x172e84['ICommandService']),_0x88b60f=(_0x1a08a5=_0x12f78a['tableId'])==null?(0x0,_0x172e84['generateRandomId'])(0x6):_0x1a08a5;return _0x30ee42[_0x509ee7(0x1ac)](_0x2d445f['DocsTableInsertTableCommand']['id'],{..._0x12f78a,'unitId':this[_0x509ee7(0x120)](),'rows':_0x3d0464,'columns':_0x4cd1b5,'tableId':_0x88b60f})?this[_0x509ee7(0x142)](_0x88b60f,(_0x12be3a=_0x12f78a[_0x509ee7(0xf8)])==null?'':_0x12be3a):null;}[_0x3136c6(0x12c)](_0x376dcc,_0x587c3d={}){const _0x51de57=_0x3136c6;var _0x173017,_0x121d24;let _0x246f46=this[_0x51de57(0x192)]['get'](_0x172e84[_0x51de57(0x102)]),_0x580598=(_0x173017=_0x587c3d['tableId'])==null?(0x0,_0x172e84[_0x51de57(0xf1)])(0x6):_0x173017;return _0x246f46[_0x51de57(0x1ac)](_0x2d445f[_0x51de57(0x16e)]['id'],{..._0x587c3d,'unitId':this['getId'](),'values':_0x376dcc,'tableId':_0x580598})?this[_0x51de57(0x142)](_0x580598,(_0x121d24=_0x587c3d['segmentId'])==null?'':_0x121d24):null;}[_0x3136c6(0x148)](_0x5948b9=''){const _0x38227a=_0x3136c6;let {tables:_0xb47d9b=[]}=this[_0x38227a(0x15d)](_0x5948b9);return _0xb47d9b;}[_0x3136c6(0x1b4)](_0x2c4a20=''){const _0x531daa=_0x3136c6;let _0x17eead=this[_0x531daa(0x127)]()['getSnapshot']();return _0x2c4a20?{...this[_0x531daa(0x127)](_0x2c4a20)[_0x531daa(0x144)](),'documentStyle':_0x17eead[_0x531daa(0xe9)],'tableSource':_0x17eead[_0x531daa(0x199)]}:_0x17eead;}['_createFDocumentTable'](_0x296613,_0x4b2b8a=''){const _0x1a606e=_0x3136c6;return this[_0x1a606e(0x192)]['createInstance'](_0x2b931c,this,_0x296613,_0x4b2b8a,this[_0x1a606e(0x192)]);}[_0x3136c6(0x131)](_0x4a1ff7,_0x648add,_0x343271){const _0x1ad064=_0x3136c6;var _0x5661e6;let _0x2b7b2e=(0x0,_0x2d445f[_0x1ad064(0x13d)])(_0x4a1ff7,_0x648add);if(!_0x2b7b2e)return!0x1;let _0x3d9afd=(_0x5661e6=_0x4a1ff7[_0x1ad064(0x159)])==null?void 0x0:_0x5661e6['dataStream'];return _0x3d9afd?_0x3d9afd[_0x1ad064(0x149)](_0x2b7b2e[_0x1ad064(0x16f)],_0x2b7b2e[_0x1ad064(0xf4)])[_0x1ad064(0x160)](_0x343271):!0x1;}[_0x3136c6(0x115)](_0x4db8a5,_0x21c0e3,_0x1cc9b8){const _0x2319f7=_0x3136c6;return Array[_0x2319f7(0xff)]({'length':_0x4db8a5['getColumnCount']()},(_0x106112,_0x2c58ec)=>_0x4db8a5[_0x2319f7(0x1af)](_0x21c0e3,_0x2c58ec))['some'](_0x2c15a7=>_0x2c15a7['includes'](_0x1cc9b8));}};_0x44bc52['FDocument'][_0x3136c6(0x114)](_0x2575a8),_0x1d1d72['FDocumentTable']=_0x2b931c,_0x1d1d72[_0x3136c6(0x1b5)]=_0xedc215;}));function _0xd64c(){const _0x9528c3=['_getDocumentData','width','map','getColumnsRange','buildMoveTableColumnsMutationActions','setText','8228574rhYCCP','buildSetTableBorderMutationActions','getCellMargin','border','_injector','selectRange','replace','getText','length','All','selectCell','tableSource','symbol','preset','insertRowBefore','amd','getTable','DashStyleType','moveColumns','getStableTableSelection','Module','buildDeleteTableMutationActions','deleteRows','buildInsertTableColumnsMutationActions','iterator','insertTable','setColumnType','DocsTableSelectionService','getInsertOffset','get','syncExecuteCommand','selectTable','@univerjs/core/facade','getCellText','buildMoveTableRowsMutationActions','buildSetTableDefaultCellMarginMutationActions','tableColumns','deepClone','_getTableDocumentData','FDocumentTableCell','_mutateActions','292347nBKMgT','getColumnRange','exports','selectColumn','tableId','getTables','cells','pinHeaderRows','getSource','filter','documentStyle','Right','708dUYbdX','columnTypes','setBorder','getTableRange','DocsTableInsertTablePosition','Range','generateRandomId','Column','headerText','endOffset','insertColumnAfter','setMargin','getMarginOverride','segmentId','getColumnIndex','tableCells','actions','mergeCells','getContentRange','backgroundColor','from','getTableActionBodyPath','_tableId','ICommandService','SOLID','text','object','selectRow','setStructuralSelection','insertRowAfter','getMetadata','7607352CmNpkM','getTableMetadata','deleteColumn','sortByColumn','setDefaultCellMargin','setCellMargin','selectRows','function','AT_LEAST','color','extend','_rowContainsText','DocsTableColumnInsertPosition','buildResizeTableRowActionsFromHeight','DocsTableRowInsertPosition','_table','Table','DocsTableModel','moveRow','type','_column','titleText','getId','appendColumn','insertRowsBefore','max','findTables','dataStream','_document','getDocumentDataModel','some','trHeight','DocsTableBorderPreset','FDocument','insertTableFromData','_row','serialize','setCellText','string','_tableContainsText','buildDistributeTableColumnsMutationActions','_getBodyPath','UniverCore','setCellBackground','unmerge','DocsTableInsertPosition','TableRowHeightRule','buildSortTableMutationActions','toStringTag','getRowsRange','buildInsertTableRowsMutationActions','getTableRangeById','getCellMarginOverride','24RzZyzn','_unitId','getCellRange','_createFDocumentTable','_segmentId','getSnapshot','setColumnWidth','insertRowsAfter','buildSetTableHeaderRowCountMutationActions','_getTables','slice','buildMoveFloatingTableMutationActions','createInstance','rows','call','insertColumnBefore','headerRowCount','deleteTable','moveRows','Above','UniverProDocsTable','getColumnCount','Below','getRowHeight','Left','size','body','buildDeleteTableRowsMutationActions','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getSegmentId','getBody','getRowIndex','insertTitleRow','includes','margin','Tools','@univerjs-pro/docs-table','setTitleRow','3225488bTkXaC','unmergeCells','40061TdpuJn','DocsTableColumnType','getCellContentRange','@univerjs/core','distributeColumns','tableRows','titleRow','DocsTableInsertTableCommand','startOffset','DocsTableSelectionKind','setTableBackground','constructor','insertColumnsAfter','1489505ewpiyb','getRowCount','167816TavIWe','findTableByText','setHeaderRowCount','default','setTableStyle','setRowHeight','distributeRows','Cell','getCellInsertOffset','getHeaderRowCount','buildMergeCellsMutationActions','getRange','executeRichTextTableActions','cellMargin','_serializeModel','insertColumnsBefore','DEFAULT_DOCS_TABLE_CELL_MARGIN','mergeTo'];_0xd64c=function(){return _0x9528c3;};return _0xd64c();}
|