@univerjs-pro/docs-table 1.0.0-alpha.8 → 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/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/types/facade/f-document-table-cell.d.ts +1 -1
- package/lib/types/facade/f-document-table.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
|
@@ -78,7 +78,7 @@ export declare class FDocumentTableCell {
|
|
|
78
78
|
*/
|
|
79
79
|
getContentRange(): IDocsTableCellContentRange | null;
|
|
80
80
|
/**
|
|
81
|
-
* Returns the offset before this cell's final section break.
|
|
81
|
+
* Returns the offset before this cell's final paragraph and section break.
|
|
82
82
|
* @returns {number | null} The insertion offset, or `null` if the cell does not exist.
|
|
83
83
|
* @example
|
|
84
84
|
* ```ts
|
|
@@ -218,7 +218,7 @@ export declare class FDocumentTable {
|
|
|
218
218
|
*/
|
|
219
219
|
getCellContentRange(row: number, column: number): IDocsTableCellContentRange | null;
|
|
220
220
|
/**
|
|
221
|
-
* Returns the offset before the cell's final section break.
|
|
221
|
+
* Returns the offset before the cell's final paragraph and section break.
|
|
222
222
|
* Use this offset to insert an empty callout, quote, code block, or paragraph in the cell.
|
|
223
223
|
* @param {number} row The zero-based row index.
|
|
224
224
|
* @param {number} column The zero-based column index.
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3966(){const _0x28a206=['getTableActionBodyPath','FDocument','buildSetTableCellTextMutationActions','_tableContainsText','_row','startOffset','getStableTableSelection','getColumnCount','constructor','Left','getDocumentDataModel','buildDeleteTableMutationActions','setTableBorder','_tableId','slice','endOffset','_createFDocumentTable','some','Column','Cell','selectRows','actions','DEFAULT_DOCS_TABLE_CELL_MARGIN','setText','unmerge','dataStream','moveColumns','DocsTableBorderPreset','rows','getRowIndex','Row','getColumnsRange','setCellBackground','buildSetTableBorderMutationActions','buildInsertTableTitleRowMutationActions','filter','_column','tableRows','_getTableDocumentData','Below','insertTable','type','buildMergeCellsMutationActions','deleteColumn','preset','_document','getSnapshot','setCellText','map','selectRow','getTableRangeById','buildMoveTableRowsMutationActions','selectColumns','DocsTableInsertTableCommand','color','DocsTableColumnType','sortByColumn','headerText','getCellMarginOverride','findTables','max','getCellRange','setBorder','_mutateActions','setHeaderRowCount','hasTitleRow','tableColumns','AT_LEAST','buildDeleteTableColumnsMutationActions','insertColumnAfter','getCellInsertOffset','getCell','2099840TRcTvk','insertTableFromData','getHeaderRowCount','ICommandService','unmergeCells','getColumnIndex','setTitleRow','getTable','exports','setBackgroundColor','getRowRange','42hbEiRW','setCellMargin','getSource','DocsTableModel','_getDocumentData','prototype','text','extend','3219480BVBBtI','getContentRange','getId','getRowsRange','amd','Tools','function','buildDeleteTableRowsMutationActions','_getBodyPath','DocsTableSelectionKind','DashStyleType','_table','selectRange','getTableAtSelection','replace','getRange','moveColumn','getInfo','cells','UniverCore','getMetadata','buildInsertTableRowsMutationActions','_getTables','deepClone','body','moveRow','_segmentId','segmentId','getMargin','margin','backgroundColor','getColumnRange','getText','string','toStringTag','getTableMetadata','tableId','moveTableBy','selectTable','includes','@univerjs/core/facade','generateRandomId','get','_unitId','Above','DocsTableSortDirection','getTables','1829247gALRpe','buildResizeTableColumnActionsFromWidth','DocsTableRowInsertPosition','getRowCount','buildResizeTableRowActionsFromHeight','selectCell','titleRow','insertRowsBefore','insertRowBefore','getRowHeight','_serializeModel','moveTableToOffset','DocsTableInsertTablePosition','width','SOLID','deleteColumns','headerRowCount','setDefaultCellMargin','getTableAt','from','insertRowsAfter','mergeCells','68948myMbLa','DocsTableInsertPosition','FDocumentTableCell','clearMarginOverride','758409FCLoUH','titleText','distributeRows','distributeColumns','29349232HfbpJD','setTableBackground','syncExecuteCommand','defineProperty','describe','symbol','insertColumnsBefore','moveRows','getTableRange','buildSetTableHeaderRowCountMutationActions','default','length','#1f1f1f','border','2282285xjdneQ','getInsertOffset','buildInsertTableColumnsMutationActions','getDefaultCellMarginOverride','findTableByText','trHeight','pinHeaderRows','getDefaultCellMargin','DocsTableSelectionService','insertColumnsAfter','tableCells','appendRow','_injector','object','setTableStyle','UniverDocsFacade','getCellText','cellMargin','tableSource','buildMoveFloatingTableMutationActions','appendColumn','serialize','setColumnType','DocsTableColumnInsertPosition','getCellMargin','documentStyle','_rowContainsText','FEnum','deleteRows','call','FDocumentTable'];_0x3966=function(){return _0x28a206;};return _0x3966();}function _0x376e(_0x4a850f,_0x2aeb06){_0x4a850f=_0x4a850f-0x13f;const _0x396663=_0x3966();let _0x376ec3=_0x396663[_0x4a850f];return _0x376ec3;}(function(_0x1a80df,_0xd52040){const _0x10ed13=_0x376e,_0x424cdc=_0x1a80df();while(!![]){try{const _0x4022b0=-parseInt(_0x10ed13(0x1ae))/0x1+-parseInt(_0x10ed13(0x152))/0x2+parseInt(_0x10ed13(0x15d))/0x3*(-parseInt(_0x10ed13(0x1aa))/0x4)+-parseInt(_0x10ed13(0x1c0))/0x5+-parseInt(_0x10ed13(0x165))/0x6+parseInt(_0x10ed13(0x194))/0x7+parseInt(_0x10ed13(0x1b2))/0x8;if(_0x4022b0===_0xd52040)break;else _0x424cdc['push'](_0x424cdc['shift']());}catch(_0x4f8eac){_0x424cdc['push'](_0x424cdc['shift']());}}}(_0x3966,0xd89fb),function(_0x4fc545,_0x45a013){const _0x3d052e=_0x376e;typeof exports==_0x3d052e(0x1cd)&&typeof module<'u'?_0x45a013(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x3d052e(0x16b)&&define[_0x3d052e(0x169)]?define([_0x3d052e(0x15a),'@univerjs-pro/docs-table','@univerjs/core',_0x3d052e(0x18d),'@univerjs/docs/facade'],_0x45a013):(_0x4fc545=typeof globalThis<'u'?globalThis:_0x4fc545||self,_0x45a013(_0x4fc545['UniverProDocsTableFacade']={},_0x4fc545['UniverProDocsTable'],_0x4fc545[_0x3d052e(0x178)],_0x4fc545['UniverCoreFacade'],_0x4fc545[_0x3d052e(0x1cf)]));}(this,function(_0x56e2c7,_0x25c7cd,_0x45a3c4,_0x2a8ab5,_0xab3855){const _0x36f66f=_0x376e;Object[_0x36f66f(0x1b5)](_0x56e2c7,Symbol[_0x36f66f(0x187)],{'value':'Module'});var _0x29aeb7=class extends _0x2a8ab5[_0x36f66f(0x1db)]{get[_0x36f66f(0x1a0)](){const _0x63c2e7=_0x36f66f;return _0x25c7cd[_0x63c2e7(0x1a0)];}get[_0x36f66f(0x141)](){const _0x970f12=_0x36f66f;return _0x25c7cd[_0x970f12(0x141)];}get[_0x36f66f(0x16e)](){const _0xf192b9=_0x36f66f;return _0x25c7cd[_0xf192b9(0x16e)];}get[_0x36f66f(0x196)](){const _0x37e1e8=_0x36f66f;return _0x25c7cd[_0x37e1e8(0x196)];}get[_0x36f66f(0x1d7)](){const _0x39c02e=_0x36f66f;return _0x25c7cd[_0x39c02e(0x1d7)];}get['DocsTableBorderPreset'](){const _0x336cf6=_0x36f66f;return _0x25c7cd[_0x336cf6(0x1fa)];}get[_0x36f66f(0x192)](){const _0x21e8a9=_0x36f66f;return _0x25c7cd[_0x21e8a9(0x192)];}get[_0x36f66f(0x16f)](){const _0x2ba6c2=_0x36f66f;return _0x45a3c4[_0x2ba6c2(0x16f)];}};_0x2a8ab5['FEnum'][_0x36f66f(0x164)](_0x29aeb7);var _0x2a6666=class{constructor(_0x971aa9,_0xd6001d,_0x3b7f02){const _0x32598c=_0x36f66f;this[_0x32598c(0x170)]=_0x971aa9,this[_0x32598c(0x1e3)]=_0xd6001d,this[_0x32598c(0x203)]=_0x3b7f02;}['getTable'](){const _0x22f154=_0x36f66f;return this[_0x22f154(0x170)];}[_0x36f66f(0x1fc)](){return this['_row'];}[_0x36f66f(0x157)](){const _0x3fa94a=_0x36f66f;return this[_0x3fa94a(0x203)];}[_0x36f66f(0x185)](){const _0xf182a2=_0x36f66f;return this[_0xf182a2(0x170)][_0xf182a2(0x1d0)](this[_0xf182a2(0x1e3)],this[_0xf182a2(0x203)]);}[_0x36f66f(0x166)](){const _0x3043e7=_0x36f66f;return this['_table']['getCellContentRange'](this[_0x3043e7(0x1e3)],this[_0x3043e7(0x203)]);}[_0x36f66f(0x1c1)](){const _0x4dfc3f=_0x36f66f;return this[_0x4dfc3f(0x170)][_0x4dfc3f(0x150)](this[_0x4dfc3f(0x1e3)],this[_0x4dfc3f(0x203)]);}[_0x36f66f(0x181)](){const _0x3319f0=_0x36f66f;return this[_0x3319f0(0x170)][_0x3319f0(0x1d8)](this['_row'],this[_0x3319f0(0x203)]);}['getMarginOverride'](){const _0x464f6c=_0x36f66f;return this[_0x464f6c(0x170)][_0x464f6c(0x144)](this['_row'],this[_0x464f6c(0x203)]);}['setMargin'](_0x362e1c){const _0x7d29dc=_0x36f66f;return this[_0x7d29dc(0x170)][_0x7d29dc(0x15e)](this[_0x7d29dc(0x170)]['getCellRange'](this['_row'],this[_0x7d29dc(0x203)]),_0x362e1c);}[_0x36f66f(0x1ad)](){const _0x1a9876=_0x36f66f;return this[_0x1a9876(0x170)][_0x1a9876(0x15e)](this['_table'][_0x1a9876(0x147)](this['_row'],this[_0x1a9876(0x203)]),null);}[_0x36f66f(0x1f6)](_0x315432){const _0x1506c7=_0x36f66f;return this[_0x1506c7(0x170)][_0x1506c7(0x20e)](this[_0x1506c7(0x1e3)],this['_column'],_0x315432);}[_0x36f66f(0x15b)](_0x47058b){const _0x4d7610=_0x36f66f;return this[_0x4d7610(0x170)][_0x4d7610(0x1ff)](this[_0x4d7610(0x170)][_0x4d7610(0x147)](this[_0x4d7610(0x1e3)],this['_column']),_0x47058b);}[_0x36f66f(0x148)](_0x1680e9){const _0x5e813e=_0x36f66f;return this[_0x5e813e(0x170)]['setBorder'](this['_table']['getCellRange'](this[_0x5e813e(0x1e3)],this['_column']),_0x1680e9);}['mergeTo'](_0x4ba054,_0x5e087d){const _0x269fbe=_0x36f66f;return this[_0x269fbe(0x170)]['mergeCells']({'startRow':this[_0x269fbe(0x1e3)],'startColumn':this[_0x269fbe(0x203)],'endRow':this[_0x269fbe(0x1e3)]+_0x4ba054-0x1,'endColumn':this[_0x269fbe(0x203)]+_0x5e087d-0x1});}[_0x36f66f(0x1f7)](){const _0xad1b92=_0x36f66f;return this[_0xad1b92(0x170)][_0xad1b92(0x156)](this[_0xad1b92(0x170)][_0xad1b92(0x147)](this[_0xad1b92(0x1e3)],this[_0xad1b92(0x203)]));}};function _0x21cf0a(_0xfcdd62){'@babel/helpers - typeof';const _0x36b09c=_0x36f66f;return _0x21cf0a=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x36b09c(0x1b7)?function(_0x49b2c3){return typeof _0x49b2c3;}:function(_0x2f3391){const _0x23dd98=_0x36b09c;return _0x2f3391&&typeof Symbol==_0x23dd98(0x16b)&&_0x2f3391[_0x23dd98(0x1e7)]===Symbol&&_0x2f3391!==Symbol[_0x23dd98(0x162)]?_0x23dd98(0x1b7):typeof _0x2f3391;},_0x21cf0a(_0xfcdd62);}function _0x921d77(_0xacd7d,_0x749e7a){const _0x3ce7ee=_0x36f66f;if(_0x21cf0a(_0xacd7d)!='object'||!_0xacd7d)return _0xacd7d;var _0x21c6b3=_0xacd7d[Symbol['toPrimitive']];if(_0x21c6b3!==void 0x0){var _0x5a5684=_0x21c6b3[_0x3ce7ee(0x1dd)](_0xacd7d,_0x749e7a||_0x3ce7ee(0x1bc));if(_0x21cf0a(_0x5a5684)!='object')return _0x5a5684;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x749e7a==='string'?String:Number)(_0xacd7d);}function _0x5a7e23(_0x78a4b6){const _0xd3a4c=_0x36f66f;var _0x1b3c85=_0x921d77(_0x78a4b6,_0xd3a4c(0x186));return _0x21cf0a(_0x1b3c85)=='symbol'?_0x1b3c85:_0x1b3c85+'';}function _0x44a815(_0x396259,_0xd54350,_0x3b8ac1){const _0xf1862c=_0x36f66f;return(_0xd54350=_0x5a7e23(_0xd54350))in _0x396259?Object[_0xf1862c(0x1b5)](_0x396259,_0xd54350,{'value':_0x3b8ac1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x396259[_0xd54350]=_0x3b8ac1,_0x396259;}var _0x1bf518=class{constructor(_0x44623d,_0x5ad5c6,_0x4474fb='',_0x3c5156){const _0xfef37e=_0x36f66f;this[_0xfef37e(0x20c)]=_0x44623d,this[_0xfef37e(0x1ec)]=_0x5ad5c6,this['_segmentId']=_0x4474fb,this[_0xfef37e(0x1cc)]=_0x3c5156,_0x44a815(this,_0xfef37e(0x190),void 0x0),this[_0xfef37e(0x190)]=this['_document'][_0xfef37e(0x167)]();}[_0x36f66f(0x167)](){const _0x1af3e8=_0x36f66f;return this[_0x1af3e8(0x1ec)];}['getSegmentId'](){return this['_segmentId'];}[_0x36f66f(0x176)](){const _0x1b4dd1=_0x36f66f;return{'id':this[_0x1b4dd1(0x1ec)],'rowCount':this[_0x1b4dd1(0x197)](),'columnCount':this[_0x1b4dd1(0x1e6)](),'metadata':this[_0x1b4dd1(0x179)](),'source':this['getSource']()};}[_0x36f66f(0x1b6)](){const _0x233a77=_0x36f66f;var _0x2f8f0b,_0x36a7cc;let _0x40e99e=this[_0x233a77(0x179)](),_0x586c3c=this[_0x233a77(0x15f)](),_0x3cb26c=this[_0x233a77(0x1e6)]();return{'id':this['_tableId'],'rowCount':this[_0x233a77(0x197)](),'columnCount':_0x3cb26c,'headerRowCount':(_0x2f8f0b=_0x40e99e==null?void 0x0:_0x40e99e[_0x233a77(0x1a4)])==null?0x0:_0x2f8f0b,'titleRow':(_0x36a7cc=_0x40e99e==null?void 0x0:_0x40e99e[_0x233a77(0x19a)])!=null&&_0x36a7cc,'columns':Array['from']({'length':_0x3cb26c},(_0x2b295a,_0x22bec7)=>{const _0x36c8d8=_0x233a77;var _0x58149b,_0xfce1e1;return{'index':_0x22bec7,'type':_0x40e99e==null||(_0x58149b=_0x40e99e['columnTypes'])==null||(_0x58149b=_0x58149b[_0x22bec7])==null?void 0x0:_0x58149b[_0x36c8d8(0x208)],'width':_0x586c3c==null||(_0xfce1e1=_0x586c3c[_0x36c8d8(0x14c)][_0x22bec7])==null?void 0x0:_0xfce1e1['size'][_0x36c8d8(0x1a1)]['v']};}),'sampleRows':Array['from']({'length':this[_0x233a77(0x197)]()},(_0x4e48be,_0x44fb54)=>Array['from']({'length':_0x3cb26c},(_0x574a3a,_0x2b4245)=>this[_0x233a77(0x1d0)](_0x44fb54,_0x2b4245)))['filter'](_0x48eced=>_0x48eced['some'](_0xd29357=>_0xd29357[_0x233a77(0x1bd)]>0x0))[_0x233a77(0x1ed)](0x0,0x5)};}[_0x36f66f(0x197)](){const _0x36e51f=_0x36f66f;var _0x3fc03d,_0x3cd2fa;return(_0x3fc03d=(_0x3cd2fa=this[_0x36e51f(0x15f)]())==null?void 0x0:_0x3cd2fa['tableRows'][_0x36e51f(0x1bd)])==null?0x0:_0x3fc03d;}[_0x36f66f(0x1e6)](){const _0x29c853=_0x36f66f;var _0x435dcb,_0x3d0ab1;return(_0x435dcb=(_0x3d0ab1=this[_0x29c853(0x15f)]())==null?void 0x0:_0x3d0ab1[_0x29c853(0x14c)]['length'])==null?0x0:_0x435dcb;}[_0x36f66f(0x151)](_0x452052,_0x2a76b7){const _0x529c9d=_0x36f66f;var _0x5f6f80;return(_0x5f6f80=this['getSource']())!=null&&(_0x5f6f80=_0x5f6f80[_0x529c9d(0x204)][_0x452052])!=null&&_0x5f6f80[_0x529c9d(0x1ca)][_0x2a76b7]?this[_0x529c9d(0x1cc)]['createInstance'](_0x2a6666,this,_0x452052,_0x2a76b7):null;}[_0x36f66f(0x1d0)](_0x5b08b9,_0x13644a){const _0x542973=_0x36f66f;var _0x13c7e8,_0x5d6af4,_0x5d40a8;let _0x1d9bfc=(_0x13c7e8=(0x0,_0x25c7cd[_0x542973(0x211)])(this[_0x542973(0x161)](),this[_0x542973(0x1ec)]))==null||(_0x13c7e8=_0x13c7e8[_0x542973(0x1fb)][_0x5b08b9])==null?void 0x0:_0x13c7e8[_0x542973(0x177)][_0x13644a];return _0x1d9bfc?(_0x5d6af4=(_0x5d40a8=this['_getDocumentData']()[_0x542973(0x17d)])==null?void 0x0:_0x5d40a8[_0x542973(0x1f8)][_0x542973(0x1ed)](_0x1d9bfc[_0x542973(0x1e4)]+0x1,_0x1d9bfc[_0x542973(0x1ee)])[_0x542973(0x173)](/\r\n$/,''))==null?'':_0x5d6af4:'';}['getCellMargin'](_0x129efb,_0x1211be){const _0x2d274e=_0x36f66f;var _0x1bcf9e,_0x1738d8,_0x1c68de;let _0x9d112c=this['getSource'](),_0x212d06=_0x9d112c==null||(_0x1bcf9e=_0x9d112c[_0x2d274e(0x204)][_0x129efb])==null?void 0x0:_0x1bcf9e['tableCells'][_0x1211be];return _0x212d06?_0x45a3c4[_0x2d274e(0x16a)][_0x2d274e(0x17c)]((_0x1738d8=(_0x1c68de=_0x212d06[_0x2d274e(0x182)])==null?_0x9d112c[_0x2d274e(0x1d1)]:_0x1c68de)==null?_0x25c7cd[_0x2d274e(0x1f5)]:_0x1738d8):null;}[_0x36f66f(0x144)](_0x4bf0e6,_0x405fd1){const _0x3d763a=_0x36f66f;var _0x1f78b0;let _0x251547=(_0x1f78b0=this['getSource']())==null||(_0x1f78b0=_0x1f78b0[_0x3d763a(0x204)][_0x4bf0e6])==null?void 0x0:_0x1f78b0[_0x3d763a(0x1ca)][_0x405fd1];return _0x251547!=null&&_0x251547['margin']?_0x45a3c4[_0x3d763a(0x16a)][_0x3d763a(0x17c)](_0x251547['margin']):null;}[_0x36f66f(0x1c7)](){const _0x34ac3c=_0x36f66f;var _0x477f56,_0x214404;return _0x45a3c4['Tools'][_0x34ac3c(0x17c)]((_0x477f56=(_0x214404=this[_0x34ac3c(0x15f)]())==null?void 0x0:_0x214404[_0x34ac3c(0x1d1)])==null?_0x25c7cd[_0x34ac3c(0x1f5)]:_0x477f56);}[_0x36f66f(0x1c3)](){const _0x190117=_0x36f66f;var _0x22e2b0;let _0x17fc86=(_0x22e2b0=this[_0x190117(0x15f)]())==null?void 0x0:_0x22e2b0[_0x190117(0x1d1)];return _0x17fc86?_0x45a3c4[_0x190117(0x16a)][_0x190117(0x17c)](_0x17fc86):null;}[_0x36f66f(0x179)](){const _0x51a65b=_0x36f66f;return this[_0x51a65b(0x1cc)][_0x51a65b(0x18f)](_0x25c7cd[_0x51a65b(0x160)])[_0x51a65b(0x188)](this['_unitId'],this[_0x51a65b(0x1ec)]);}[_0x36f66f(0x15f)](){const _0x233bf2=_0x36f66f;var _0x50bfd4;return(_0x50bfd4=this[_0x233bf2(0x161)]()[_0x233bf2(0x1d2)])==null?void 0x0:_0x50bfd4[this[_0x233bf2(0x1ec)]];}[_0x36f66f(0x174)](){const _0x1b6ad4=_0x36f66f;return(0x0,_0x25c7cd[_0x1b6ad4(0x211)])(this[_0x1b6ad4(0x161)](),this['_tableId']);}[_0x36f66f(0x1ba)](){const _0x4e022f=_0x36f66f;return{'startRow':0x0,'endRow':Math[_0x4e022f(0x146)](0x0,this[_0x4e022f(0x197)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x4e022f(0x146)](0x0,this[_0x4e022f(0x1e6)]()-0x1)};}['getCellRange'](_0x109cd8,_0x48170a){return{'startRow':_0x109cd8,'endRow':_0x109cd8,'startColumn':_0x48170a,'endColumn':_0x48170a};}['getCellContentRange'](_0x334c17,_0x47746b){const _0x43384d=_0x36f66f;var _0x46160f;let _0xe755d7=(_0x46160f=(0x0,_0x25c7cd[_0x43384d(0x211)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x46160f=_0x46160f[_0x43384d(0x1fb)][_0x334c17])==null?void 0x0:_0x46160f['cells'][_0x47746b];if(!_0xe755d7)return null;let _0x239abd=_0xe755d7[_0x43384d(0x1e4)]+0x1;return{'startOffset':_0x239abd,'endOffset':Math[_0x43384d(0x146)](_0x239abd,_0xe755d7[_0x43384d(0x1ee)]-0x1),'segmentId':this[_0x43384d(0x17f)]};}[_0x36f66f(0x150)](_0x4bb2f3,_0xb2c067){const _0x1826c3=_0x36f66f;var _0x2851e7,_0x14b37e;return(_0x2851e7=(_0x14b37e=this['getCellContentRange'](_0x4bb2f3,_0xb2c067))==null?void 0x0:_0x14b37e[_0x1826c3(0x1ee)])==null?null:_0x2851e7;}[_0x36f66f(0x15c)](_0x3c7732){return this['getRowsRange'](_0x3c7732,0x1);}[_0x36f66f(0x168)](_0x2dc311,_0x9db998=0x1){const _0x37aa5c=_0x36f66f;return{'startRow':_0x2dc311,'endRow':_0x2dc311+_0x9db998-0x1,'startColumn':0x0,'endColumn':Math[_0x37aa5c(0x146)](0x0,this['getColumnCount']()-0x1)};}[_0x36f66f(0x184)](_0x26ef2e){const _0x4a04c0=_0x36f66f;return this[_0x4a04c0(0x1fe)](_0x26ef2e,0x1);}[_0x36f66f(0x1fe)](_0x5c727e,_0x37c3c6=0x1){const _0x38b49c=_0x36f66f;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x38b49c(0x197)]()-0x1),'startColumn':_0x5c727e,'endColumn':_0x5c727e+_0x37c3c6-0x1};}[_0x36f66f(0x18b)](){const _0x14fe7d=_0x36f66f;return this[_0x14fe7d(0x171)](this[_0x14fe7d(0x1ba)](),_0x25c7cd[_0x14fe7d(0x16e)]['Table']);}[_0x36f66f(0x210)](_0x23ddb2){const _0x3c6cbc=_0x36f66f;return this[_0x3c6cbc(0x1f3)](_0x23ddb2,0x1);}[_0x36f66f(0x1f3)](_0x340186,_0x29c0dc=0x1){const _0x4c8928=_0x36f66f;return this['selectRange'](this['getRowsRange'](_0x340186,_0x29c0dc),_0x25c7cd[_0x4c8928(0x16e)][_0x4c8928(0x1fd)]);}['selectColumn'](_0x15a31d){const _0x14e7ec=_0x36f66f;return this[_0x14e7ec(0x213)](_0x15a31d,0x1);}[_0x36f66f(0x213)](_0x1eaf72,_0x2337d9=0x1){const _0x5b73ae=_0x36f66f;return this[_0x5b73ae(0x171)](this[_0x5b73ae(0x1fe)](_0x1eaf72,_0x2337d9),_0x25c7cd[_0x5b73ae(0x16e)][_0x5b73ae(0x1f1)]);}[_0x36f66f(0x199)](_0x1a0006,_0x371e63){const _0x47b848=_0x36f66f;return this[_0x47b848(0x171)](this['getCellRange'](_0x1a0006,_0x371e63),_0x25c7cd['DocsTableSelectionKind'][_0x47b848(0x1f2)]);}[_0x36f66f(0x171)](_0x47d401,_0x492588=_0x25c7cd[_0x36f66f(0x16e)]['Range']){const _0x5c0a46=_0x36f66f;return this[_0x5c0a46(0x1cc)][_0x5c0a46(0x18f)](_0x25c7cd[_0x5c0a46(0x1c8)])['setStructuralSelection']({..._0x47d401,'kind':_0x492588,'segmentId':this[_0x5c0a46(0x17f)],'tableId':this[_0x5c0a46(0x1ec)]}),!0x0;}[_0x36f66f(0x19c)](_0x37a372){return this['insertRowsBefore'](_0x37a372,0x1);}['insertRowAfter'](_0x4d1ec7){return this['insertRowsAfter'](_0x4d1ec7,0x1);}[_0x36f66f(0x19b)](_0x184b8f,_0x9d970f){const _0x2bf303=_0x36f66f;let _0x5a3f85=this[_0x2bf303(0x161)](),_0x1e438d=(0x0,_0x25c7cd[_0x2bf303(0x17a)])(_0x5a3f85,this[_0x2bf303(0x1ec)],_0x184b8f,_0x9d970f,_0x25c7cd[_0x2bf303(0x1ab)][_0x2bf303(0x191)],this[_0x2bf303(0x16d)]());return _0x1e438d?this['_mutateActions'](_0x5a3f85,_0x1e438d['actions']):!0x1;}[_0x36f66f(0x1a8)](_0x5e13ca,_0xa7e18f){const _0x16e7f1=_0x36f66f;let _0x52c98a=this[_0x16e7f1(0x161)](),_0x312a10=(0x0,_0x25c7cd[_0x16e7f1(0x17a)])(_0x52c98a,this[_0x16e7f1(0x1ec)],_0x5e13ca,_0xa7e18f,_0x25c7cd[_0x16e7f1(0x1ab)][_0x16e7f1(0x206)],this[_0x16e7f1(0x16d)]());return _0x312a10?this[_0x16e7f1(0x149)](_0x52c98a,_0x312a10['actions']):!0x1;}[_0x36f66f(0x1cb)](){const _0x1878ed=_0x36f66f;return this[_0x1878ed(0x1a8)](Math['max'](0x0,this[_0x1878ed(0x197)]()-0x1),0x1);}['insertColumnBefore'](_0x45d080){const _0xf5aaa2=_0x36f66f;return this[_0xf5aaa2(0x1b8)](_0x45d080,0x1);}[_0x36f66f(0x14f)](_0x432ac7){const _0x93646f=_0x36f66f;return this[_0x93646f(0x1c9)](_0x432ac7,0x1);}[_0x36f66f(0x1b8)](_0x59bc21,_0xf3152d){const _0x5ec46e=_0x36f66f;let _0x51d2b3=this[_0x5ec46e(0x161)](),_0x4514f0=(0x0,_0x25c7cd[_0x5ec46e(0x1c2)])(_0x51d2b3,this['_tableId'],_0x59bc21,_0xf3152d,_0x25c7cd[_0x5ec46e(0x1ab)]['Left'],{'bodyPath':this[_0x5ec46e(0x16d)]()});return _0x4514f0?this[_0x5ec46e(0x149)](_0x51d2b3,_0x4514f0[_0x5ec46e(0x1f4)]):!0x1;}[_0x36f66f(0x1c9)](_0x5be0bc,_0x4f7e48){const _0x313b90=_0x36f66f;let _0x2607ef=this[_0x313b90(0x161)](),_0x1c2aad=(0x0,_0x25c7cd[_0x313b90(0x1c2)])(_0x2607ef,this['_tableId'],_0x5be0bc,_0x4f7e48,_0x25c7cd[_0x313b90(0x1ab)]['Right'],{'bodyPath':this[_0x313b90(0x16d)]()});return _0x1c2aad?this[_0x313b90(0x149)](_0x2607ef,_0x1c2aad['actions']):!0x1;}[_0x36f66f(0x1d4)](){const _0x27ceeb=_0x36f66f;return this[_0x27ceeb(0x1c9)](Math[_0x27ceeb(0x146)](0x0,this['getColumnCount']()-0x1),0x1);}['deleteRow'](_0x146032){const _0x2a7e8d=_0x36f66f;return this[_0x2a7e8d(0x1dc)](_0x146032,0x1);}[_0x36f66f(0x1dc)](_0x1e30fd,_0x2c48bd=0x1){const _0x1a5c61=_0x36f66f;let _0x51ce0d=this['_getDocumentData'](),_0x37ffa3=(0x0,_0x25c7cd[_0x1a5c61(0x16c)])(_0x51ce0d,this['_tableId'],_0x1e30fd,_0x1e30fd+_0x2c48bd-0x1,this[_0x1a5c61(0x16d)]());return _0x37ffa3?this[_0x1a5c61(0x149)](_0x51ce0d,_0x37ffa3[_0x1a5c61(0x1f4)]):!0x1;}[_0x36f66f(0x20a)](_0x198d64){const _0x3769cf=_0x36f66f;return this[_0x3769cf(0x1a3)](_0x198d64,0x1);}[_0x36f66f(0x1a3)](_0x2cc839,_0x2096fb=0x1){const _0x2bca5e=_0x36f66f;let _0x3ac33a=this['_getDocumentData'](),_0x26bf77=(0x0,_0x25c7cd[_0x2bca5e(0x14e)])(_0x3ac33a,this[_0x2bca5e(0x1ec)],_0x2cc839,_0x2cc839+_0x2096fb-0x1,this[_0x2bca5e(0x16d)]());return _0x26bf77?this[_0x2bca5e(0x149)](_0x3ac33a,_0x26bf77[_0x2bca5e(0x1f4)]):!0x1;}['deleteTable'](){const _0x85b93=_0x36f66f;let _0x42f78d=this[_0x85b93(0x161)](),_0x3d8637=(0x0,_0x25c7cd[_0x85b93(0x1ea)])(_0x42f78d,this[_0x85b93(0x1ec)],this[_0x85b93(0x16d)]());return _0x3d8637?this['_mutateActions'](_0x42f78d,_0x3d8637['actions']):!0x1;}[_0x36f66f(0x18a)](_0x1fe174,_0x512ca0){const _0x3a035b=_0x36f66f;let _0xd7f246=this[_0x3a035b(0x161)]();return this[_0x3a035b(0x149)](_0xd7f246,(0x0,_0x25c7cd[_0x3a035b(0x1d3)])(_0xd7f246,this['_tableId'],_0x1fe174,_0x512ca0));}[_0x36f66f(0x19f)](_0x30c571){const _0x17f337=_0x36f66f;let _0x81e935=this[_0x17f337(0x161)]();return this[_0x17f337(0x149)](_0x81e935,(0x0,_0x25c7cd['buildMoveTableToOffsetMutationActions'])(_0x81e935,this[_0x17f337(0x1ec)],_0x30c571,this[_0x17f337(0x16d)]()));}[_0x36f66f(0x17e)](_0x3b7646,_0x524fc8,_0xa0e337=_0x25c7cd[_0x36f66f(0x1ab)]['Above']){const _0x236769=_0x36f66f;return this[_0x236769(0x1b9)](_0x3b7646,0x1,_0x524fc8,_0xa0e337);}[_0x36f66f(0x1b9)](_0x530e9c,_0x121c8e,_0x14f613,_0x5c6d59=_0x25c7cd['DocsTableInsertPosition'][_0x36f66f(0x191)]){const _0x45fcb3=_0x36f66f;let _0x3ea5db=this['_getDocumentData'](),_0x3e7989=(0x0,_0x25c7cd[_0x45fcb3(0x212)])(_0x3ea5db,this['_tableId'],_0x530e9c,_0x14f613,_0x121c8e,_0x5c6d59,this[_0x45fcb3(0x16d)]());return _0x3e7989?this[_0x45fcb3(0x149)](_0x3ea5db,_0x3e7989[_0x45fcb3(0x1f4)]):!0x1;}[_0x36f66f(0x175)](_0x545a3d,_0x20f717,_0x1426ab=_0x25c7cd['DocsTableInsertPosition'][_0x36f66f(0x1e8)]){const _0x27bdfc=_0x36f66f;return this[_0x27bdfc(0x1f9)](_0x545a3d,0x1,_0x20f717,_0x1426ab);}[_0x36f66f(0x1f9)](_0x5e945a,_0xbdde4c,_0x56abe7,_0xe8ebbe=_0x25c7cd[_0x36f66f(0x1ab)][_0x36f66f(0x1e8)]){const _0x3a751e=_0x36f66f;let _0x43b6c3=this[_0x3a751e(0x161)](),_0xd4916d=(0x0,_0x25c7cd['buildMoveTableColumnsMutationActions'])(_0x43b6c3,this[_0x3a751e(0x1ec)],_0x5e945a,_0x56abe7,_0xbdde4c,_0xe8ebbe,this['_getBodyPath']());return _0xd4916d?this['_mutateActions'](_0x43b6c3,_0xd4916d[_0x3a751e(0x1f4)]):!0x1;}[_0x36f66f(0x1a9)](_0x31cde5){const _0x410948=_0x36f66f;try{let _0x40ac8e=this[_0x410948(0x161)](),_0x61df89=(0x0,_0x25c7cd[_0x410948(0x209)])({'documentData':_0x40ac8e,'tableId':this['_tableId'],..._0x31cde5});return _0x61df89?this[_0x410948(0x149)](_0x40ac8e,_0x61df89[_0x410948(0x1f4)],_0x31cde5):!0x1;}catch{return!0x1;}}[_0x36f66f(0x156)](_0x52ad54){const _0x5247a1=_0x36f66f;try{let _0x3853c8=this[_0x5247a1(0x161)](),_0xa5d322=(0x0,_0x25c7cd['buildUnmergeCellsMutationActions'])({'documentData':_0x3853c8,'tableId':this[_0x5247a1(0x1ec)],..._0x52ad54});return _0xa5d322?this[_0x5247a1(0x149)](_0x3853c8,_0xa5d322['actions'],_0x52ad54):!0x1;}catch{return!0x1;}}[_0x36f66f(0x20e)](_0x57288d,_0x411270,_0x2e6418){const _0x586ab6=_0x36f66f;let _0x188cfb=this[_0x586ab6(0x161)](),_0x5332d1=(0x0,_0x25c7cd[_0x586ab6(0x1df)])(this[_0x586ab6(0x20c)][_0x586ab6(0x1e9)]()[_0x586ab6(0x20d)](),this['_segmentId']);return this['_mutateActions'](_0x188cfb,(0x0,_0x25c7cd[_0x586ab6(0x1e1)])({'documentData':_0x188cfb,'tableId':this[_0x586ab6(0x1ec)],'row':_0x57288d,'column':_0x411270,'text':_0x2e6418},_0x5332d1),this[_0x586ab6(0x147)](_0x57288d,_0x411270));}['setCellBackground'](_0x272279,_0x1e82ea){const _0x1eb29f=_0x36f66f;let _0x42beb0=this[_0x1eb29f(0x161)]();return this[_0x1eb29f(0x149)](_0x42beb0,(0x0,_0x25c7cd['buildSetTableBackgroundMutationActions'])(_0x42beb0,{'tableId':this[_0x1eb29f(0x1ec)],..._0x272279,'value':_0x1e82ea}),_0x272279);}[_0x36f66f(0x15e)](_0x45af48,_0x5e7e9f){const _0x9a410e=_0x36f66f;let _0x12d962=this[_0x9a410e(0x161)]();return this[_0x9a410e(0x149)](_0x12d962,(0x0,_0x25c7cd['buildSetTableCellMarginMutationActions'])({'documentData':_0x12d962,'tableId':this[_0x9a410e(0x1ec)],..._0x45af48,'margin':_0x5e7e9f}),_0x45af48);}[_0x36f66f(0x1a5)](_0x40c94f){const _0x17d774=_0x36f66f;let _0x4fa6fe=this[_0x17d774(0x161)]();return this[_0x17d774(0x149)](_0x4fa6fe,(0x0,_0x25c7cd['buildSetTableDefaultCellMarginMutationActions'])(_0x4fa6fe,this[_0x17d774(0x1ec)],_0x40c94f));}[_0x36f66f(0x148)](_0x1d024b,_0x46f199){const _0x4ce2d9=_0x36f66f;var _0x58af70,_0x110c41,_0x316b10,_0x240be1;let _0x2230f2=this[_0x4ce2d9(0x161)]();return this[_0x4ce2d9(0x149)](_0x2230f2,(0x0,_0x25c7cd[_0x4ce2d9(0x200)])({'documentData':_0x2230f2,'tableId':this['_tableId'],..._0x1d024b,'preset':(_0x58af70=_0x46f199[_0x4ce2d9(0x20b)])==null?_0x25c7cd[_0x4ce2d9(0x1fa)]['All']:_0x58af70,'border':(_0x110c41=_0x46f199[_0x4ce2d9(0x1bf)])==null?{'color':{'rgb':(_0x316b10=_0x46f199[_0x4ce2d9(0x140)])==null?_0x4ce2d9(0x1be):_0x316b10},'width':{'v':(_0x240be1=_0x46f199[_0x4ce2d9(0x1a1)])==null?0x1:_0x240be1},'dashStyle':_0x45a3c4[_0x4ce2d9(0x16f)][_0x4ce2d9(0x1a2)]}:_0x110c41}),_0x1d024b);}[_0x36f66f(0x1b3)](_0x4f37bf){const _0x20248f=_0x36f66f;return this[_0x20248f(0x1ff)](this[_0x20248f(0x1ba)](),_0x4f37bf);}[_0x36f66f(0x1eb)](_0x4d0c28){return this['setBorder'](this['getTableRange'](),_0x4d0c28);}[_0x36f66f(0x1ce)](_0x3072b0){const _0x4c1a7e=_0x36f66f;let _0x56a777=!_0x3072b0[_0x4c1a7e(0x183)]||this[_0x4c1a7e(0x1b3)](_0x3072b0[_0x4c1a7e(0x183)]),_0x80ac4=!_0x3072b0[_0x4c1a7e(0x1bf)]||this[_0x4c1a7e(0x1eb)](_0x3072b0[_0x4c1a7e(0x1bf)]);return _0x56a777&&_0x80ac4;}['setRowHeight'](_0x136864,_0x542c4c,_0x366af5=_0x45a3c4['TableRowHeightRule'][_0x36f66f(0x14d)]){const _0x11a956=_0x36f66f;var _0x48e0c0;let _0x9b9967=this['_getDocumentData']();return(_0x48e0c0=_0x9b9967[_0x11a956(0x1d2)])!=null&&(_0x48e0c0=_0x48e0c0[this[_0x11a956(0x1ec)]])!=null&&_0x48e0c0[_0x11a956(0x204)][_0x136864]?this[_0x11a956(0x149)](_0x9b9967,(0x0,_0x25c7cd[_0x11a956(0x198)])(_0x9b9967,this['_tableId'],_0x136864,_0x542c4c,_0x366af5)):!0x1;}[_0x36f66f(0x19d)](_0x228108){const _0x297497=_0x36f66f;var _0x2ec5ad;let _0x396655=(_0x2ec5ad=this[_0x297497(0x15f)]())==null||(_0x2ec5ad=_0x2ec5ad[_0x297497(0x204)][_0x228108])==null?void 0x0:_0x2ec5ad[_0x297497(0x1c5)];return _0x396655?_0x45a3c4[_0x297497(0x16a)][_0x297497(0x17c)](_0x396655):null;}['setColumnWidth'](_0xe82b18,_0x1079d6){const _0x59adce=_0x36f66f;var _0x3d188d;let _0x4a43fd=this[_0x59adce(0x161)]();return(_0x3d188d=_0x4a43fd[_0x59adce(0x1d2)])!=null&&(_0x3d188d=_0x3d188d[this[_0x59adce(0x1ec)]])!=null&&_0x3d188d[_0x59adce(0x14c)][_0xe82b18]?this[_0x59adce(0x149)](_0x4a43fd,(0x0,_0x25c7cd[_0x59adce(0x195)])(_0x4a43fd,this['_tableId'],_0xe82b18,_0x1079d6)):!0x1;}[_0x36f66f(0x1b0)](_0x43c360=0x0,_0x234d2f=this[_0x36f66f(0x197)]()){const _0x471976=_0x36f66f;let _0x2b8a06=this[_0x471976(0x161)]();return this[_0x471976(0x149)](_0x2b8a06,(0x0,_0x25c7cd['buildDistributeTableRowsMutationActions'])(_0x2b8a06,this[_0x471976(0x1ec)],_0x43c360,_0x43c360+_0x234d2f-0x1));}[_0x36f66f(0x1b1)](_0x1b2d97=0x0,_0x572646=this[_0x36f66f(0x1e6)]()){const _0x57f03f=_0x36f66f;let _0x49a8f6=this[_0x57f03f(0x161)]();return this[_0x57f03f(0x149)](_0x49a8f6,(0x0,_0x25c7cd['buildDistributeTableColumnsMutationActions'])(_0x49a8f6,this[_0x57f03f(0x1ec)],_0x1b2d97,_0x1b2d97+_0x572646-0x1));}[_0x36f66f(0x154)](){const _0x1b0d59=_0x36f66f;var _0x2fa618,_0x1bd452;return(_0x2fa618=(_0x1bd452=this[_0x1b0d59(0x179)]())==null?void 0x0:_0x1bd452[_0x1b0d59(0x1a4)])==null?0x0:_0x2fa618;}['setHeaderRowCount'](_0x5b8400){const _0xe8c57f=_0x36f66f;let _0x5248b9=this['_injector'][_0xe8c57f(0x18f)](_0x25c7cd[_0xe8c57f(0x160)]),_0x5eacb5=this[_0xe8c57f(0x161)](),_0x5046ff=(0x0,_0x25c7cd[_0xe8c57f(0x1bb)])(_0x5eacb5,this['_tableId'],_0x5b8400);if(!_0x5046ff)return!0x1;let _0x264bf0=this[_0xe8c57f(0x149)](_0x5eacb5,_0x5046ff[_0xe8c57f(0x1f4)]);return _0x264bf0&&_0x5248b9[_0xe8c57f(0x14a)](this[_0xe8c57f(0x190)],this[_0xe8c57f(0x1ec)],_0x5046ff[_0xe8c57f(0x1a4)]),_0x264bf0;}[_0x36f66f(0x1c6)](_0x388ef0){const _0x57f84a=_0x36f66f;return this[_0x57f84a(0x14a)](_0x388ef0);}[_0x36f66f(0x14b)](){const _0x1084dd=_0x36f66f;var _0x1e6c32,_0x1c12b5;return(_0x1e6c32=(_0x1c12b5=this['getMetadata']())==null?void 0x0:_0x1c12b5[_0x1084dd(0x19a)])!=null&&_0x1e6c32;}['insertTitleRow'](){const _0x3a079f=_0x36f66f;let _0x1e1d47=this[_0x3a079f(0x1cc)][_0x3a079f(0x18f)](_0x25c7cd[_0x3a079f(0x160)]),_0x39e97e=this['_getDocumentData'](),_0x492f06=(0x0,_0x25c7cd[_0x3a079f(0x201)])(_0x39e97e,this[_0x3a079f(0x1ec)],this[_0x3a079f(0x16d)]());if(!_0x492f06)return!0x1;let _0x1937e6=this[_0x3a079f(0x149)](_0x39e97e,_0x492f06['actions']);return _0x1937e6&&_0x1e1d47[_0x3a079f(0x158)](this[_0x3a079f(0x190)],this[_0x3a079f(0x1ec)],!0x0),_0x1937e6;}[_0x36f66f(0x1d6)](_0xfafa14,_0x3f3486){const _0x367a46=_0x36f66f;return this['_injector'][_0x367a46(0x18f)](_0x25c7cd[_0x367a46(0x160)])[_0x367a46(0x1d6)](this['_unitId'],this[_0x367a46(0x1ec)],_0xfafa14,_0x3f3486),!0x0;}[_0x36f66f(0x142)](_0x4fe26e,_0x370d21){const _0x4776cb=_0x36f66f;let _0x18a5a0=this[_0x4776cb(0x161)]();return this[_0x4776cb(0x149)](_0x18a5a0,(0x0,_0x25c7cd['buildSortTableMutationActions'])(_0x18a5a0,this[_0x4776cb(0x19e)](),this[_0x4776cb(0x1ec)],_0x4fe26e,_0x370d21,this[_0x4776cb(0x16d)]()));}[_0x36f66f(0x161)](){const _0x211cc7=_0x36f66f;let _0x544349=this[_0x211cc7(0x20c)]['getDocumentDataModel']()[_0x211cc7(0x20d)]();return this['_segmentId']?{...this['_document'][_0x211cc7(0x1e9)](this['_segmentId'])[_0x211cc7(0x20d)](),'documentStyle':_0x544349[_0x211cc7(0x1d9)],'tableSource':_0x544349[_0x211cc7(0x1d2)]}:_0x544349;}[_0x36f66f(0x19e)](){const _0x4fa0aa=_0x36f66f;return this[_0x4fa0aa(0x1cc)]['get'](_0x25c7cd[_0x4fa0aa(0x160)])[_0x4fa0aa(0x1d5)](this[_0x4fa0aa(0x190)]);}[_0x36f66f(0x16d)](){const _0x30c2be=_0x36f66f;return(0x0,_0x25c7cd['getTableActionBodyPath'])(this[_0x30c2be(0x20c)][_0x30c2be(0x1e9)]()[_0x30c2be(0x20d)](),this[_0x30c2be(0x17f)]);}[_0x36f66f(0x149)](_0x5c6306,_0x23b806,_0x2cc9bc){const _0x1a2164=_0x36f66f;return(0x0,_0x25c7cd['executeRichTextTableActions'])(this[_0x1a2164(0x1cc)][_0x1a2164(0x18f)](_0x45a3c4['ICommandService']),this[_0x1a2164(0x190)],_0x5c6306,_0x23b806,_0x2cc9bc?{'tableId':this['_tableId'],'segmentId':this['_segmentId'],..._0x2cc9bc}:void 0x0);}},_0x58d304=class extends _0xab3855['FDocument']{['getTables'](_0x416e2e=''){const _0xddfce1=_0x36f66f;return this[_0xddfce1(0x17b)](_0x416e2e)[_0xddfce1(0x20f)](_0x368ac9=>this[_0xddfce1(0x1ef)](_0x368ac9[_0xddfce1(0x189)],_0x416e2e));}[_0x36f66f(0x159)](_0x189b2f,_0x48329e=''){const _0x51bee5=_0x36f66f;return this[_0x51bee5(0x17b)](_0x48329e)[_0x51bee5(0x1f0)](_0x1fa8ce=>_0x1fa8ce[_0x51bee5(0x189)]===_0x189b2f)?this['_createFDocumentTable'](_0x189b2f,_0x48329e):null;}[_0x36f66f(0x1a6)](_0x3a8749,_0xedd5f5=''){const _0x22dd98=_0x36f66f;var _0x5d646a;let _0x25a08b=(_0x5d646a=this[_0x22dd98(0x17b)](_0xedd5f5)[_0x3a8749])==null?void 0x0:_0x5d646a['tableId'];return _0x25a08b?this[_0x22dd98(0x1ef)](_0x25a08b,_0xedd5f5):null;}[_0x36f66f(0x172)](){const _0x4d5ced=_0x36f66f;let _0x37ad47=this[_0x4d5ced(0x1cc)]['get'](_0x25c7cd['DocsTableSelectionService'])[_0x4d5ced(0x1e5)]();return _0x37ad47!=null&&_0x37ad47['tableId']?this[_0x4d5ced(0x1ef)](_0x37ad47[_0x4d5ced(0x189)],_0x37ad47[_0x4d5ced(0x180)]):null;}[_0x36f66f(0x1c4)](_0x79f4af,_0xa7d227=''){const _0x1da220=_0x36f66f;var _0x30ce1d;return(_0x30ce1d=this[_0x1da220(0x145)](_0x79f4af,_0xa7d227)[0x0])==null?null:_0x30ce1d;}[_0x36f66f(0x145)](_0x3d0ffd,_0x31b425=''){const _0xa02116=_0x36f66f;let _0x138383=this['_getTableDocumentData'](_0x31b425),_0x261c2b=typeof _0x3d0ffd==_0xa02116(0x186)?{'text':_0x3d0ffd}:_0x3d0ffd;return this[_0xa02116(0x193)](_0x31b425)[_0xa02116(0x202)](_0x4ebe8a=>{const _0x3bb2fb=_0xa02116;let _0x4e437a=_0x4ebe8a[_0x3bb2fb(0x167)]();return!(_0x261c2b[_0x3bb2fb(0x189)]&&_0x4e437a!==_0x261c2b[_0x3bb2fb(0x189)]||_0x261c2b['text']&&!this['_tableContainsText'](_0x138383,_0x4e437a,_0x261c2b[_0x3bb2fb(0x163)])||_0x261c2b[_0x3bb2fb(0x143)]&&!this[_0x3bb2fb(0x1da)](_0x4ebe8a,0x0,_0x261c2b[_0x3bb2fb(0x143)])||_0x261c2b[_0x3bb2fb(0x1af)]&&!this[_0x3bb2fb(0x1da)](_0x4ebe8a,0x0,_0x261c2b['titleText']));});}[_0x36f66f(0x207)](_0x49b8f8,_0x31115f,_0x2a70e7={}){const _0x28a663=_0x36f66f;var _0x52bf6a,_0x150a87;let _0x391e35=this[_0x28a663(0x1cc)][_0x28a663(0x18f)](_0x45a3c4[_0x28a663(0x155)]),_0x2abeff=(_0x52bf6a=_0x2a70e7['tableId'])==null?(0x0,_0x45a3c4['generateRandomId'])(0x6):_0x52bf6a;return _0x391e35['syncExecuteCommand'](_0x25c7cd[_0x28a663(0x13f)]['id'],{..._0x2a70e7,'unitId':this[_0x28a663(0x167)](),'rows':_0x49b8f8,'columns':_0x31115f,'tableId':_0x2abeff})?this[_0x28a663(0x1ef)](_0x2abeff,(_0x150a87=_0x2a70e7['segmentId'])==null?'':_0x150a87):null;}[_0x36f66f(0x153)](_0x3d3078,_0x4bb550={}){const _0x3e2b3d=_0x36f66f;var _0x1572ac,_0x2b1e50;let _0x2f6971=this[_0x3e2b3d(0x1cc)][_0x3e2b3d(0x18f)](_0x45a3c4[_0x3e2b3d(0x155)]),_0x427b5e=(_0x1572ac=_0x4bb550[_0x3e2b3d(0x189)])==null?(0x0,_0x45a3c4[_0x3e2b3d(0x18e)])(0x6):_0x1572ac;return _0x2f6971[_0x3e2b3d(0x1b4)](_0x25c7cd[_0x3e2b3d(0x13f)]['id'],{..._0x4bb550,'unitId':this[_0x3e2b3d(0x167)](),'values':_0x3d3078,'tableId':_0x427b5e})?this[_0x3e2b3d(0x1ef)](_0x427b5e,(_0x2b1e50=_0x4bb550[_0x3e2b3d(0x180)])==null?'':_0x2b1e50):null;}[_0x36f66f(0x17b)](_0x1593f5=''){let {tables:_0x7085f0=[]}=this['getBody'](_0x1593f5);return _0x7085f0;}[_0x36f66f(0x205)](_0x43432d=''){const _0x122afa=_0x36f66f;let _0x2ea69b=this[_0x122afa(0x1e9)]()[_0x122afa(0x20d)]();return _0x43432d?{...this[_0x122afa(0x1e9)](_0x43432d)[_0x122afa(0x20d)](),'documentStyle':_0x2ea69b[_0x122afa(0x1d9)],'tableSource':_0x2ea69b[_0x122afa(0x1d2)]}:_0x2ea69b;}[_0x36f66f(0x1ef)](_0x12ee46,_0x4c2f68=''){const _0x77e916=_0x36f66f;return this['_injector']['createInstance'](_0x1bf518,this,_0x12ee46,_0x4c2f68,this[_0x77e916(0x1cc)]);}[_0x36f66f(0x1e2)](_0x1865ba,_0x5d0a06,_0x730588){const _0x153985=_0x36f66f;var _0x28f301;let _0x518194=(0x0,_0x25c7cd['getTableRangeById'])(_0x1865ba,_0x5d0a06);if(!_0x518194)return!0x1;let _0x94d86b=(_0x28f301=_0x1865ba[_0x153985(0x17d)])==null?void 0x0:_0x28f301[_0x153985(0x1f8)];return _0x94d86b?_0x94d86b[_0x153985(0x1ed)](_0x518194[_0x153985(0x1e4)],_0x518194[_0x153985(0x1ee)])[_0x153985(0x18c)](_0x730588):!0x1;}['_rowContainsText'](_0x12ffc8,_0x2ba671,_0x4da61f){const _0xa5b0ce=_0x36f66f;return Array[_0xa5b0ce(0x1a7)]({'length':_0x12ffc8[_0xa5b0ce(0x1e6)]()},(_0x32e522,_0x544d22)=>_0x12ffc8[_0xa5b0ce(0x1d0)](_0x2ba671,_0x544d22))['some'](_0x370e5d=>_0x370e5d[_0xa5b0ce(0x18c)](_0x4da61f));}};_0xab3855[_0x36f66f(0x1e0)]['extend'](_0x58d304),_0x56e2c7[_0x36f66f(0x1de)]=_0x1bf518,_0x56e2c7[_0x36f66f(0x1ac)]=_0x2a6666;}));
|
|
1
|
+
(function(_0x13532d,_0x4d1907){const _0x4a7977=_0x23c7,_0x51032b=_0x13532d();while(!![]){try{const _0x30bfee=parseInt(_0x4a7977(0xe1))/0x1*(-parseInt(_0x4a7977(0x100))/0x2)+parseInt(_0x4a7977(0xdc))/0x3+-parseInt(_0x4a7977(0xa3))/0x4*(-parseInt(_0x4a7977(0x88))/0x5)+-parseInt(_0x4a7977(0x89))/0x6*(parseInt(_0x4a7977(0x159))/0x7)+parseInt(_0x4a7977(0x15c))/0x8*(-parseInt(_0x4a7977(0x11b))/0x9)+parseInt(_0x4a7977(0xba))/0xa*(-parseInt(_0x4a7977(0xcf))/0xb)+-parseInt(_0x4a7977(0xc4))/0xc*(-parseInt(_0x4a7977(0x124))/0xd);if(_0x30bfee===_0x4d1907)break;else _0x51032b['push'](_0x51032b['shift']());}catch(_0x2e2ae3){_0x51032b['push'](_0x51032b['shift']());}}}(_0x2f9a,0x4b699),function(_0x4b57be,_0x4baf84){const _0x3c0561=_0x23c7;typeof exports=='object'&&typeof module<'u'?_0x4baf84(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x3c0561(0xe3)&&define[_0x3c0561(0x151)]?define([_0x3c0561(0x112),_0x3c0561(0xb8),_0x3c0561(0x15d),_0x3c0561(0xda),_0x3c0561(0x155)],_0x4baf84):(_0x4b57be=typeof globalThis<'u'?globalThis:_0x4b57be||self,_0x4baf84(_0x4b57be[_0x3c0561(0xbc)]={},_0x4b57be['UniverProDocsTable'],_0x4b57be['UniverCore'],_0x4b57be[_0x3c0561(0x149)],_0x4b57be[_0x3c0561(0xc0)]));}(this,function(_0x485777,_0x4fcea3,_0x1de5da,_0x4e00eb,_0x461350){const _0x35ec16=_0x23c7;Object[_0x35ec16(0xe8)](_0x485777,Symbol['toStringTag'],{'value':_0x35ec16(0x8d)});var _0x3efbfd=class extends _0x4e00eb[_0x35ec16(0x118)]{get[_0x35ec16(0xf6)](){const _0x5a3b9f=_0x35ec16;return _0x4fcea3[_0x5a3b9f(0xf6)];}get[_0x35ec16(0xc9)](){const _0x3744ce=_0x35ec16;return _0x4fcea3[_0x3744ce(0xc9)];}get[_0x35ec16(0x9e)](){const _0x354655=_0x35ec16;return _0x4fcea3[_0x354655(0x9e)];}get[_0x35ec16(0x107)](){return _0x4fcea3['DocsTableRowInsertPosition'];}get[_0x35ec16(0x127)](){const _0x1df8ce=_0x35ec16;return _0x4fcea3[_0x1df8ce(0x127)];}get[_0x35ec16(0xc2)](){const _0x597559=_0x35ec16;return _0x4fcea3[_0x597559(0xc2)];}get['DocsTableSortDirection'](){const _0x44be06=_0x35ec16;return _0x4fcea3[_0x44be06(0x143)];}get[_0x35ec16(0x158)](){const _0x26c55b=_0x35ec16;return _0x1de5da[_0x26c55b(0x158)];}};_0x4e00eb[_0x35ec16(0x118)][_0x35ec16(0x113)](_0x3efbfd);var _0x37036d=class{constructor(_0x84ad15,_0x3b80b1,_0x293f75){const _0x201b77=_0x35ec16;this['_table']=_0x84ad15,this[_0x201b77(0x10a)]=_0x3b80b1,this[_0x201b77(0x12b)]=_0x293f75;}[_0x35ec16(0xd4)](){const _0x1d8bf3=_0x35ec16;return this[_0x1d8bf3(0xcb)];}['getRowIndex'](){const _0x295929=_0x35ec16;return this[_0x295929(0x10a)];}[_0x35ec16(0xc3)](){const _0x3ff9e6=_0x35ec16;return this[_0x3ff9e6(0x12b)];}[_0x35ec16(0x129)](){const _0x57cbdb=_0x35ec16;return this[_0x57cbdb(0xcb)]['getCellText'](this['_row'],this['_column']);}[_0x35ec16(0xe7)](){const _0x47b95f=_0x35ec16;return this[_0x47b95f(0xcb)][_0x47b95f(0xaf)](this[_0x47b95f(0x10a)],this[_0x47b95f(0x12b)]);}[_0x35ec16(0x99)](){const _0xb097b5=_0x35ec16;return this['_table'][_0xb097b5(0xb1)](this[_0xb097b5(0x10a)],this[_0xb097b5(0x12b)]);}[_0x35ec16(0x121)](){const _0x25bc08=_0x35ec16;return this[_0x25bc08(0xcb)][_0x25bc08(0xd7)](this['_row'],this[_0x25bc08(0x12b)]);}[_0x35ec16(0xad)](){const _0x193852=_0x35ec16;return this[_0x193852(0xcb)]['getCellMarginOverride'](this[_0x193852(0x10a)],this[_0x193852(0x12b)]);}['setMargin'](_0xfb8d07){const _0x19c10d=_0x35ec16;return this['_table'][_0x19c10d(0xeb)](this['_table']['getCellRange'](this[_0x19c10d(0x10a)],this[_0x19c10d(0x12b)]),_0xfb8d07);}[_0x35ec16(0x9b)](){const _0x34480c=_0x35ec16;return this[_0x34480c(0xcb)][_0x34480c(0xeb)](this[_0x34480c(0xcb)][_0x34480c(0x12a)](this[_0x34480c(0x10a)],this[_0x34480c(0x12b)]),null);}[_0x35ec16(0xdd)](_0x56fab7){const _0x23339d=_0x35ec16;return this['_table'][_0x23339d(0x144)](this[_0x23339d(0x10a)],this[_0x23339d(0x12b)],_0x56fab7);}[_0x35ec16(0x157)](_0x778770){const _0x3cadee=_0x35ec16;return this[_0x3cadee(0xcb)][_0x3cadee(0x136)](this[_0x3cadee(0xcb)]['getCellRange'](this[_0x3cadee(0x10a)],this[_0x3cadee(0x12b)]),_0x778770);}[_0x35ec16(0xf3)](_0x3064cf){const _0x112a29=_0x35ec16;return this[_0x112a29(0xcb)][_0x112a29(0xf3)](this[_0x112a29(0xcb)][_0x112a29(0x12a)](this['_row'],this[_0x112a29(0x12b)]),_0x3064cf);}['mergeTo'](_0x3d8a2d,_0x4d7e2e){const _0x350a33=_0x35ec16;return this[_0x350a33(0xcb)][_0x350a33(0x94)]({'startRow':this[_0x350a33(0x10a)],'startColumn':this[_0x350a33(0x12b)],'endRow':this[_0x350a33(0x10a)]+_0x3d8a2d-0x1,'endColumn':this['_column']+_0x4d7e2e-0x1});}[_0x35ec16(0x125)](){const _0x4bc508=_0x35ec16;return this['_table'][_0x4bc508(0xb7)](this[_0x4bc508(0xcb)]['getCellRange'](this['_row'],this['_column']));}};function _0x23667d(_0x4aa22b){'@babel/helpers - typeof';const _0x2d1da4=_0x35ec16;return _0x23667d=typeof Symbol==_0x2d1da4(0xe3)&&typeof Symbol['iterator']==_0x2d1da4(0x11d)?function(_0x4ad6fe){return typeof _0x4ad6fe;}:function(_0x107c88){const _0x136ab2=_0x2d1da4;return _0x107c88&&typeof Symbol==_0x136ab2(0xe3)&&_0x107c88[_0x136ab2(0x82)]===Symbol&&_0x107c88!==Symbol[_0x136ab2(0xc8)]?_0x136ab2(0x11d):typeof _0x107c88;},_0x23667d(_0x4aa22b);}function _0x5685bd(_0x14391d,_0x23777a){const _0x5192f2=_0x35ec16;if(_0x23667d(_0x14391d)!=_0x5192f2(0xbf)||!_0x14391d)return _0x14391d;var _0x332852=_0x14391d[Symbol['toPrimitive']];if(_0x332852!==void 0x0){var _0x1906ae=_0x332852[_0x5192f2(0x131)](_0x14391d,_0x23777a||'default');if(_0x23667d(_0x1906ae)!='object')return _0x1906ae;throw TypeError(_0x5192f2(0x8f));}return(_0x23777a===_0x5192f2(0xde)?String:Number)(_0x14391d);}function _0x1acee6(_0x3a0d8e){const _0x28ad27=_0x35ec16;var _0x27655a=_0x5685bd(_0x3a0d8e,_0x28ad27(0xde));return _0x23667d(_0x27655a)==_0x28ad27(0x11d)?_0x27655a:_0x27655a+'';}function _0x30ca2b(_0x12dc3a,_0x5efead,_0x3f397b){return(_0x5efead=_0x1acee6(_0x5efead))in _0x12dc3a?Object['defineProperty'](_0x12dc3a,_0x5efead,{'value':_0x3f397b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x12dc3a[_0x5efead]=_0x3f397b,_0x12dc3a;}var _0x39f630=class{constructor(_0x5f3f77,_0x391ab2,_0x2a27c8='',_0x2142ae){const _0x858b3=_0x35ec16;this[_0x858b3(0xec)]=_0x5f3f77,this[_0x858b3(0xfa)]=_0x391ab2,this['_segmentId']=_0x2a27c8,this['_injector']=_0x2142ae,_0x30ca2b(this,_0x858b3(0x11f),void 0x0),this[_0x858b3(0x11f)]=this['_document'][_0x858b3(0x13e)]();}['getId'](){const _0x330501=_0x35ec16;return this[_0x330501(0xfa)];}[_0x35ec16(0x96)](){const _0x48fe79=_0x35ec16;return this[_0x48fe79(0xb4)];}['getInfo'](){const _0x48514c=_0x35ec16;return{'id':this['_tableId'],'rowCount':this[_0x48514c(0x134)](),'columnCount':this[_0x48514c(0xb5)](),'metadata':this[_0x48514c(0xae)](),'source':this[_0x48514c(0x148)]()};}[_0x35ec16(0x101)](){const _0xe44d9d=_0x35ec16;let _0x53f74f=this[_0xe44d9d(0xae)](),_0x397e34=this[_0xe44d9d(0x148)](),_0xfcb563=this[_0xe44d9d(0xb5)]();return{'id':this[_0xe44d9d(0xfa)],'rowCount':this['getRowCount'](),'columnCount':_0xfcb563,'headerRowCount':(_0x53f74f==null?void 0x0:_0x53f74f[_0xe44d9d(0x150)])??0x0,'titleRow':(_0x53f74f==null?void 0x0:_0x53f74f[_0xe44d9d(0x119)])??!0x1,'columns':Array[_0xe44d9d(0x13a)]({'length':_0xfcb563},(_0x3a7046,_0x1ed7d3)=>{const _0x5f472c=_0xe44d9d;var _0x26293f,_0x55b0a9;return{'index':_0x1ed7d3,'type':_0x53f74f==null||(_0x26293f=_0x53f74f[_0x5f472c(0x102)])==null||(_0x26293f=_0x26293f[_0x1ed7d3])==null?void 0x0:_0x26293f[_0x5f472c(0xd2)],'width':_0x397e34==null||(_0x55b0a9=_0x397e34['tableColumns'][_0x1ed7d3])==null?void 0x0:_0x55b0a9['size']['width']['v']};}),'sampleRows':Array[_0xe44d9d(0x13a)]({'length':this['getRowCount']()},(_0x4e279b,_0x49a7f3)=>Array[_0xe44d9d(0x13a)]({'length':_0xfcb563},(_0x371a75,_0x24fa05)=>this[_0xe44d9d(0x11c)](_0x49a7f3,_0x24fa05)))[_0xe44d9d(0x145)](_0x3fcc07=>_0x3fcc07[_0xe44d9d(0x116)](_0xe385e8=>_0xe385e8[_0xe44d9d(0x87)]>0x0))[_0xe44d9d(0xfc)](0x0,0x5)};}[_0x35ec16(0x134)](){const _0x502466=_0x35ec16;var _0x15bdd4;return((_0x15bdd4=this['getSource']())==null?void 0x0:_0x15bdd4[_0x502466(0x10f)][_0x502466(0x87)])??0x0;}['getColumnCount'](){const _0x2368dd=_0x35ec16;var _0x229b26;return((_0x229b26=this[_0x2368dd(0x148)]())==null?void 0x0:_0x229b26[_0x2368dd(0x84)][_0x2368dd(0x87)])??0x0;}[_0x35ec16(0xf4)](_0x4a4160,_0x2a4014){const _0x2f257a=_0x35ec16;var _0x566883;return(_0x566883=this[_0x2f257a(0x148)]())!=null&&(_0x566883=_0x566883[_0x2f257a(0x10f)][_0x4a4160])!=null&&_0x566883[_0x2f257a(0x97)][_0x2a4014]?this['_injector'][_0x2f257a(0x12d)](_0x37036d,this,_0x4a4160,_0x2a4014):null;}[_0x35ec16(0x11c)](_0x2e2057,_0x18bef2){const _0x57bfff=_0x35ec16;var _0x19993f,_0xd4c91e;let _0x2a2328=(_0x19993f=(0x0,_0x4fcea3[_0x57bfff(0xf9)])(this[_0x57bfff(0xbd)](),this['_tableId']))==null||(_0x19993f=_0x19993f[_0x57bfff(0xa2)][_0x2e2057])==null?void 0x0:_0x19993f[_0x57bfff(0x142)][_0x18bef2];return _0x2a2328?((_0xd4c91e=this['_getDocumentData']()[_0x57bfff(0x105)])==null?void 0x0:_0xd4c91e[_0x57bfff(0x13f)]['slice'](_0x2a2328[_0x57bfff(0x12f)]+0x1,_0x2a2328[_0x57bfff(0x14e)])['replace'](/\r\n$/,''))??'':'';}[_0x35ec16(0xd7)](_0x4f6093,_0x205b9c){const _0x138b54=_0x35ec16;var _0x4649f4;let _0x2fba35=this['getSource'](),_0x136691=_0x2fba35==null||(_0x4649f4=_0x2fba35[_0x138b54(0x10f)][_0x4f6093])==null?void 0x0:_0x4649f4[_0x138b54(0x97)][_0x205b9c];return _0x136691?_0x1de5da['Tools'][_0x138b54(0x8a)](_0x136691[_0x138b54(0xe4)]??_0x2fba35[_0x138b54(0x9a)]??_0x4fcea3['DEFAULT_DOCS_TABLE_CELL_MARGIN']):null;}[_0x35ec16(0xb3)](_0xaa3e58,_0x183907){const _0x49e663=_0x35ec16;var _0x316768;let _0x255c5f=(_0x316768=this[_0x49e663(0x148)]())==null||(_0x316768=_0x316768[_0x49e663(0x10f)][_0xaa3e58])==null?void 0x0:_0x316768[_0x49e663(0x97)][_0x183907];return _0x255c5f!=null&&_0x255c5f[_0x49e663(0xe4)]?_0x1de5da[_0x49e663(0x156)][_0x49e663(0x8a)](_0x255c5f[_0x49e663(0xe4)]):null;}[_0x35ec16(0x152)](){const _0x6c6822=_0x35ec16;var _0x422eda;return _0x1de5da[_0x6c6822(0x156)][_0x6c6822(0x8a)](((_0x422eda=this['getSource']())==null?void 0x0:_0x422eda['cellMargin'])??_0x4fcea3[_0x6c6822(0xb2)]);}[_0x35ec16(0x10d)](){const _0x1cc365=_0x35ec16;var _0x47f413;let _0x1b76f4=(_0x47f413=this[_0x1cc365(0x148)]())==null?void 0x0:_0x47f413['cellMargin'];return _0x1b76f4?_0x1de5da[_0x1cc365(0x156)][_0x1cc365(0x8a)](_0x1b76f4):null;}['getMetadata'](){const _0x1dff68=_0x35ec16;return this['_injector']['get'](_0x4fcea3[_0x1dff68(0x12e)])[_0x1dff68(0xc5)](this[_0x1dff68(0x11f)],this[_0x1dff68(0xfa)]);}[_0x35ec16(0x148)](){const _0x2ea99d=_0x35ec16;var _0x5278da;return(_0x5278da=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0x5278da[this[_0x2ea99d(0xfa)]];}['getRange'](){const _0x1cfed9=_0x35ec16;return(0x0,_0x4fcea3[_0x1cfed9(0xf9)])(this[_0x1cfed9(0xbd)](),this[_0x1cfed9(0xfa)]);}[_0x35ec16(0xa0)](){const _0x578f85=_0x35ec16;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x578f85(0x134)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x578f85(0xc1)](0x0,this['getColumnCount']()-0x1)};}[_0x35ec16(0x12a)](_0x3af197,_0x4d2933){return{'startRow':_0x3af197,'endRow':_0x3af197,'startColumn':_0x4d2933,'endColumn':_0x4d2933};}[_0x35ec16(0xaf)](_0x3d58df,_0x27fb43){const _0xa20e78=_0x35ec16;var _0x409a58;let _0x50658f=(_0x409a58=(0x0,_0x4fcea3[_0xa20e78(0xf9)])(this[_0xa20e78(0xbd)](),this[_0xa20e78(0xfa)]))==null||(_0x409a58=_0x409a58[_0xa20e78(0xa2)][_0x3d58df])==null?void 0x0:_0x409a58['cells'][_0x27fb43];if(!_0x50658f)return null;let _0x19c783=_0x50658f[_0xa20e78(0x12f)]+0x1;return{'startOffset':_0x19c783,'endOffset':Math[_0xa20e78(0xc1)](_0x19c783,_0x50658f[_0xa20e78(0x14e)]-0x1),'segmentId':this['_segmentId']};}[_0x35ec16(0xb1)](_0x31e842,_0x2245f1){const _0x21227b=_0x35ec16;let _0x221b67=this[_0x21227b(0xaf)](_0x31e842,_0x2245f1);return _0x221b67?Math['max'](_0x221b67[_0x21227b(0x12f)],_0x221b67['endOffset']-0x1):null;}['getRowRange'](_0x1851b4){const _0x1e5aba=_0x35ec16;return this[_0x1e5aba(0x103)](_0x1851b4,0x1);}['getRowsRange'](_0x3dc2ed,_0x3a48ae=0x1){return{'startRow':_0x3dc2ed,'endRow':_0x3dc2ed+_0x3a48ae-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this['getColumnCount']()-0x1)};}['getColumnRange'](_0x49edb7){const _0x2b7cf5=_0x35ec16;return this[_0x2b7cf5(0x12c)](_0x49edb7,0x1);}[_0x35ec16(0x12c)](_0x55d4a0,_0x34d1ff=0x1){const _0x58aa3d=_0x35ec16;return{'startRow':0x0,'endRow':Math[_0x58aa3d(0xc1)](0x0,this[_0x58aa3d(0x134)]()-0x1),'startColumn':_0x55d4a0,'endColumn':_0x55d4a0+_0x34d1ff-0x1};}[_0x35ec16(0xbb)](){const _0x438741=_0x35ec16;return this[_0x438741(0x133)](this['getTableRange'](),_0x4fcea3[_0x438741(0x9e)][_0x438741(0xcc)]);}['selectRow'](_0x48b437){const _0x31cc0a=_0x35ec16;return this[_0x31cc0a(0xfe)](_0x48b437,0x1);}[_0x35ec16(0xfe)](_0x456a71,_0x3f9413=0x1){const _0x588c4d=_0x35ec16;return this[_0x588c4d(0x133)](this[_0x588c4d(0x103)](_0x456a71,_0x3f9413),_0x4fcea3[_0x588c4d(0x9e)][_0x588c4d(0xd5)]);}[_0x35ec16(0x14f)](_0x10ee00){return this['selectColumns'](_0x10ee00,0x1);}[_0x35ec16(0x95)](_0x52d42b,_0x1078cc=0x1){const _0x22441a=_0x35ec16;return this[_0x22441a(0x133)](this[_0x22441a(0x12c)](_0x52d42b,_0x1078cc),_0x4fcea3[_0x22441a(0x9e)]['Column']);}[_0x35ec16(0xd0)](_0x2955a5,_0x315243){const _0x3fb17a=_0x35ec16;return this[_0x3fb17a(0x133)](this[_0x3fb17a(0x12a)](_0x2955a5,_0x315243),_0x4fcea3[_0x3fb17a(0x9e)][_0x3fb17a(0xa1)]);}[_0x35ec16(0x133)](_0x3feda3,_0x1d645f=_0x4fcea3[_0x35ec16(0x9e)][_0x35ec16(0x126)]){const _0x466ff9=_0x35ec16;return this[_0x466ff9(0xe5)][_0x466ff9(0xf8)](_0x4fcea3['DocsTableSelectionService'])[_0x466ff9(0xa7)]({..._0x3feda3,'kind':_0x1d645f,'segmentId':this[_0x466ff9(0xb4)],'tableId':this[_0x466ff9(0xfa)]}),!0x0;}[_0x35ec16(0x8c)](_0x2b125a){return this['insertRowsBefore'](_0x2b125a,0x1);}[_0x35ec16(0x9f)](_0xa9d36d){const _0x3ddb3f=_0x35ec16;return this[_0x3ddb3f(0x15f)](_0xa9d36d,0x1);}[_0x35ec16(0xfd)](_0x4466a4,_0xfd80e1){const _0x4214cc=_0x35ec16;let _0x8c8910=this[_0x4214cc(0xbd)](),_0x3b3c97=(0x0,_0x4fcea3[_0x4214cc(0xc7)])(_0x8c8910,this[_0x4214cc(0xfa)],_0x4466a4,_0xfd80e1,_0x4fcea3[_0x4214cc(0x9c)][_0x4214cc(0xa6)],this[_0x4214cc(0x106)]());return _0x3b3c97?this['_mutateActions'](_0x8c8910,_0x3b3c97['actions']):!0x1;}[_0x35ec16(0x15f)](_0x3ba10d,_0x3f76d8){const _0x118bb0=_0x35ec16;let _0x2bf76d=this[_0x118bb0(0xbd)](),_0x1230d5=(0x0,_0x4fcea3['buildInsertTableRowsMutationActions'])(_0x2bf76d,this[_0x118bb0(0xfa)],_0x3ba10d,_0x3f76d8,_0x4fcea3[_0x118bb0(0x9c)][_0x118bb0(0xbe)],this[_0x118bb0(0x106)]());return _0x1230d5?this[_0x118bb0(0x110)](_0x2bf76d,_0x1230d5[_0x118bb0(0x138)]):!0x1;}[_0x35ec16(0x92)](){const _0x3021e2=_0x35ec16;return this['insertRowsAfter'](Math[_0x3021e2(0xc1)](0x0,this[_0x3021e2(0x134)]()-0x1),0x1);}[_0x35ec16(0x83)](_0x94892){const _0x24cceb=_0x35ec16;return this[_0x24cceb(0xf7)](_0x94892,0x1);}['insertColumnAfter'](_0x240400){const _0x4c9a80=_0x35ec16;return this[_0x4c9a80(0x122)](_0x240400,0x1);}['insertColumnsBefore'](_0x83b6fb,_0x557fa6){const _0x27547e=_0x35ec16;let _0x1e48b=this[_0x27547e(0xbd)](),_0x20f8f4=(0x0,_0x4fcea3[_0x27547e(0x111)])(_0x1e48b,this[_0x27547e(0xfa)],_0x83b6fb,_0x557fa6,_0x4fcea3[_0x27547e(0x9c)][_0x27547e(0x90)],{'bodyPath':this[_0x27547e(0x106)]()});return _0x20f8f4?this[_0x27547e(0x110)](_0x1e48b,_0x20f8f4['actions']):!0x1;}['insertColumnsAfter'](_0x20a2fd,_0x75c87a){const _0x59e54b=_0x35ec16;let _0xdca956=this[_0x59e54b(0xbd)](),_0x23133b=(0x0,_0x4fcea3[_0x59e54b(0x111)])(_0xdca956,this[_0x59e54b(0xfa)],_0x20a2fd,_0x75c87a,_0x4fcea3[_0x59e54b(0x9c)][_0x59e54b(0xed)],{'bodyPath':this[_0x59e54b(0x106)]()});return _0x23133b?this[_0x59e54b(0x110)](_0xdca956,_0x23133b[_0x59e54b(0x138)]):!0x1;}[_0x35ec16(0xe6)](){const _0x36f25e=_0x35ec16;return this[_0x36f25e(0x122)](Math[_0x36f25e(0xc1)](0x0,this[_0x36f25e(0xb5)]()-0x1),0x1);}[_0x35ec16(0xb9)](_0xda79b2){const _0x1c635a=_0x35ec16;return this[_0x1c635a(0xc6)](_0xda79b2,0x1);}[_0x35ec16(0xc6)](_0xccb82c,_0x3ede4a=0x1){const _0x598433=_0x35ec16;let _0x4167e2=this['_getDocumentData'](),_0x689925=(0x0,_0x4fcea3[_0x598433(0xd1)])(_0x4167e2,this[_0x598433(0xfa)],_0xccb82c,_0xccb82c+_0x3ede4a-0x1,this[_0x598433(0x106)]());return _0x689925?this[_0x598433(0x110)](_0x4167e2,_0x689925['actions']):!0x1;}[_0x35ec16(0x108)](_0x150104){return this['deleteColumns'](_0x150104,0x1);}[_0x35ec16(0xf1)](_0x1e9748,_0x526325=0x1){const _0x3f9c41=_0x35ec16;let _0x5bc6a0=this['_getDocumentData'](),_0x10d8df=(0x0,_0x4fcea3[_0x3f9c41(0xa8)])(_0x5bc6a0,this['_tableId'],_0x1e9748,_0x1e9748+_0x526325-0x1,this[_0x3f9c41(0x106)]());return _0x10d8df?this[_0x3f9c41(0x110)](_0x5bc6a0,_0x10d8df[_0x3f9c41(0x138)]):!0x1;}[_0x35ec16(0x8b)](){const _0x26894e=_0x35ec16;let _0x4d2091=this[_0x26894e(0xbd)](),_0x23b823=(0x0,_0x4fcea3[_0x26894e(0x8e)])(_0x4d2091,this[_0x26894e(0xfa)],this[_0x26894e(0x106)]());return _0x23b823?this[_0x26894e(0x110)](_0x4d2091,_0x23b823[_0x26894e(0x138)]):!0x1;}['moveTableBy'](_0x3924ea,_0x491707){const _0x4fa668=_0x35ec16;let _0x53e2fb=this[_0x4fa668(0xbd)]();return this[_0x4fa668(0x110)](_0x53e2fb,(0x0,_0x4fcea3[_0x4fa668(0x120)])(_0x53e2fb,this['_tableId'],_0x3924ea,_0x491707));}[_0x35ec16(0x10e)](_0x1d3caa){const _0x3c6b4d=_0x35ec16;let _0x4e2d34=this[_0x3c6b4d(0xbd)]();return this[_0x3c6b4d(0x110)](_0x4e2d34,(0x0,_0x4fcea3[_0x3c6b4d(0xab)])(_0x4e2d34,this[_0x3c6b4d(0xfa)],_0x1d3caa,this[_0x3c6b4d(0x106)]()));}[_0x35ec16(0x141)](_0x321065,_0x3b0871,_0xb17f19=_0x4fcea3['DocsTableInsertPosition'][_0x35ec16(0xa6)]){return this['moveRows'](_0x321065,0x1,_0x3b0871,_0xb17f19);}[_0x35ec16(0xca)](_0x174280,_0x3ea3bc,_0x1705c9,_0x32ab67=_0x4fcea3[_0x35ec16(0x9c)][_0x35ec16(0xa6)]){const _0x5e1150=_0x35ec16;let _0x753b59=this[_0x5e1150(0xbd)](),_0x291990=(0x0,_0x4fcea3['buildMoveTableRowsMutationActions'])(_0x753b59,this[_0x5e1150(0xfa)],_0x174280,_0x1705c9,_0x3ea3bc,_0x32ab67,this[_0x5e1150(0x106)]());return _0x291990?this[_0x5e1150(0x110)](_0x753b59,_0x291990['actions']):!0x1;}[_0x35ec16(0x140)](_0x141d52,_0x5c0501,_0x808a04=_0x4fcea3[_0x35ec16(0x9c)][_0x35ec16(0x90)]){const _0x5bfd28=_0x35ec16;return this[_0x5bfd28(0x93)](_0x141d52,0x1,_0x5c0501,_0x808a04);}[_0x35ec16(0x93)](_0x1164a0,_0xb54fa2,_0x5e7884,_0x4c2b59=_0x4fcea3[_0x35ec16(0x9c)]['Left']){const _0x3886a4=_0x35ec16;let _0x13da21=this[_0x3886a4(0xbd)](),_0x4c3fb0=(0x0,_0x4fcea3['buildMoveTableColumnsMutationActions'])(_0x13da21,this['_tableId'],_0x1164a0,_0x5e7884,_0xb54fa2,_0x4c2b59,this['_getBodyPath']());return _0x4c3fb0?this[_0x3886a4(0x110)](_0x13da21,_0x4c3fb0[_0x3886a4(0x138)]):!0x1;}[_0x35ec16(0x94)](_0x454337){const _0x5a3c3c=_0x35ec16;try{let _0x4cd0a1=this['_getDocumentData'](),_0x307182=(0x0,_0x4fcea3[_0x5a3c3c(0x98)])({'documentData':_0x4cd0a1,'tableId':this[_0x5a3c3c(0xfa)],..._0x454337});return _0x307182?this[_0x5a3c3c(0x110)](_0x4cd0a1,_0x307182['actions'],_0x454337):!0x1;}catch{return!0x1;}}[_0x35ec16(0xb7)](_0x8d5ac9){const _0x31a352=_0x35ec16;try{let _0xcbe3f0=this[_0x31a352(0xbd)](),_0x2a3677=(0x0,_0x4fcea3[_0x31a352(0xb0)])({'documentData':_0xcbe3f0,'tableId':this[_0x31a352(0xfa)],..._0x8d5ac9});return _0x2a3677?this[_0x31a352(0x110)](_0xcbe3f0,_0x2a3677['actions'],_0x8d5ac9):!0x1;}catch{return!0x1;}}[_0x35ec16(0x144)](_0x45f4d7,_0x5d155a,_0x57d251){const _0x16e0d6=_0x35ec16;let _0x5cc827=this[_0x16e0d6(0xbd)](),_0x251924=(0x0,_0x4fcea3['getTableActionBodyPath'])(this['_document'][_0x16e0d6(0x13c)]()[_0x16e0d6(0x123)](),this[_0x16e0d6(0xb4)]);return this[_0x16e0d6(0x110)](_0x5cc827,(0x0,_0x4fcea3[_0x16e0d6(0x14b)])({'documentData':_0x5cc827,'tableId':this[_0x16e0d6(0xfa)],'row':_0x45f4d7,'column':_0x5d155a,'text':_0x57d251},_0x251924),this[_0x16e0d6(0x12a)](_0x45f4d7,_0x5d155a));}[_0x35ec16(0x136)](_0x35bf3a,_0x456582){const _0x59dca5=_0x35ec16;let _0x4ed6ac=this['_getDocumentData']();return this[_0x59dca5(0x110)](_0x4ed6ac,(0x0,_0x4fcea3[_0x59dca5(0xac)])(_0x4ed6ac,{'tableId':this[_0x59dca5(0xfa)],..._0x35bf3a,'value':_0x456582}),_0x35bf3a);}[_0x35ec16(0xeb)](_0x311989,_0x4ac669){const _0x37f207=_0x35ec16;let _0x29389a=this['_getDocumentData']();return this['_mutateActions'](_0x29389a,(0x0,_0x4fcea3[_0x37f207(0xe9)])({'documentData':_0x29389a,'tableId':this[_0x37f207(0xfa)],..._0x311989,'margin':_0x4ac669}),_0x311989);}[_0x35ec16(0xaa)](_0x2f4689){const _0x107a86=_0x35ec16;let _0x4ac482=this['_getDocumentData']();return this[_0x107a86(0x110)](_0x4ac482,(0x0,_0x4fcea3['buildSetTableDefaultCellMarginMutationActions'])(_0x4ac482,this[_0x107a86(0xfa)],_0x2f4689));}[_0x35ec16(0xf3)](_0x552ea4,_0x1aeb70){const _0x418722=_0x35ec16;let _0xb91b7e=this[_0x418722(0xbd)]();return this[_0x418722(0x110)](_0xb91b7e,(0x0,_0x4fcea3[_0x418722(0x10c)])({'documentData':_0xb91b7e,'tableId':this[_0x418722(0xfa)],..._0x552ea4,'preset':_0x1aeb70[_0x418722(0xea)]??_0x4fcea3[_0x418722(0xc2)][_0x418722(0x104)],'border':_0x1aeb70[_0x418722(0x14d)]??{'color':{'rgb':_0x1aeb70[_0x418722(0x13b)]??_0x418722(0x137)},'width':{'v':_0x1aeb70[_0x418722(0x86)]??0x1},'dashStyle':_0x1de5da['DashStyleType'][_0x418722(0xd9)]}}),_0x552ea4);}['setTableBackground'](_0x1ea3f5){const _0x57383f=_0x35ec16;return this['setCellBackground'](this[_0x57383f(0xa0)](),_0x1ea3f5);}['setTableBorder'](_0x482d4a){const _0xf65955=_0x35ec16;return this[_0xf65955(0xf3)](this[_0xf65955(0xa0)](),_0x482d4a);}[_0x35ec16(0xcd)](_0x5c855f){const _0x393f2e=_0x35ec16;let _0x58dd83=!_0x5c855f['backgroundColor']||this[_0x393f2e(0x153)](_0x5c855f[_0x393f2e(0x117)]),_0x4094e1=!_0x5c855f[_0x393f2e(0x14d)]||this[_0x393f2e(0x13d)](_0x5c855f[_0x393f2e(0x14d)]);return _0x58dd83&&_0x4094e1;}[_0x35ec16(0x9d)](_0x563674,_0x2ccc38,_0x559a39=_0x1de5da[_0x35ec16(0x135)][_0x35ec16(0x15a)]){const _0xfb1d72=_0x35ec16;var _0x22f445;let _0x3bfbfa=this[_0xfb1d72(0xbd)]();return(_0x22f445=_0x3bfbfa['tableSource'])!=null&&(_0x22f445=_0x22f445[this[_0xfb1d72(0xfa)]])!=null&&_0x22f445[_0xfb1d72(0x10f)][_0x563674]?this[_0xfb1d72(0x110)](_0x3bfbfa,(0x0,_0x4fcea3['buildResizeTableRowActionsFromHeight'])(_0x3bfbfa,this[_0xfb1d72(0xfa)],_0x563674,_0x2ccc38,_0x559a39)):!0x1;}[_0x35ec16(0xff)](_0x44ddf0){const _0x4ae771=_0x35ec16;var _0x4e5ece;let _0x25df1a=(_0x4e5ece=this[_0x4ae771(0x148)]())==null||(_0x4e5ece=_0x4e5ece[_0x4ae771(0x10f)][_0x44ddf0])==null?void 0x0:_0x4e5ece['trHeight'];return _0x25df1a?_0x1de5da[_0x4ae771(0x156)][_0x4ae771(0x8a)](_0x25df1a):null;}['setColumnWidth'](_0x4e52a3,_0x6bfa5a){const _0xa54717=_0x35ec16;var _0x5bfe02;let _0x4f1c9d=this['_getDocumentData']();return(_0x5bfe02=_0x4f1c9d[_0xa54717(0xe2)])!=null&&(_0x5bfe02=_0x5bfe02[this[_0xa54717(0xfa)]])!=null&&_0x5bfe02[_0xa54717(0x84)][_0x4e52a3]?this[_0xa54717(0x110)](_0x4f1c9d,(0x0,_0x4fcea3['buildResizeTableColumnActionsFromWidth'])(_0x4f1c9d,this[_0xa54717(0xfa)],_0x4e52a3,_0x6bfa5a)):!0x1;}['distributeRows'](_0x3056be=0x0,_0x1ce603=this[_0x35ec16(0x134)]()){const _0x161b27=_0x35ec16;let _0x5b9b3c=this[_0x161b27(0xbd)]();return this[_0x161b27(0x110)](_0x5b9b3c,(0x0,_0x4fcea3[_0x161b27(0x154)])(_0x5b9b3c,this['_tableId'],_0x3056be,_0x3056be+_0x1ce603-0x1));}[_0x35ec16(0x11a)](_0x1219b3=0x0,_0x1f3690=this[_0x35ec16(0xb5)]()){const _0x191d5d=_0x35ec16;let _0x56513f=this['_getDocumentData']();return this[_0x191d5d(0x110)](_0x56513f,(0x0,_0x4fcea3[_0x191d5d(0x10b)])(_0x56513f,this[_0x191d5d(0xfa)],_0x1219b3,_0x1219b3+_0x1f3690-0x1));}[_0x35ec16(0x132)](){const _0x4bd054=_0x35ec16;var _0x1de917;return((_0x1de917=this[_0x4bd054(0xae)]())==null?void 0x0:_0x1de917[_0x4bd054(0x150)])??0x0;}[_0x35ec16(0x146)](_0x4a052a){const _0x1fcd85=_0x35ec16;let _0x4e38f4=this['_injector'][_0x1fcd85(0xf8)](_0x4fcea3['DocsTableModel']),_0x323df6=this[_0x1fcd85(0xbd)](),_0x2072b3=(0x0,_0x4fcea3[_0x1fcd85(0x15b)])(_0x323df6,this[_0x1fcd85(0xfa)],_0x4a052a);if(!_0x2072b3)return!0x1;let _0x3210b6=this[_0x1fcd85(0x110)](_0x323df6,_0x2072b3['actions']);return _0x3210b6&&_0x4e38f4['setHeaderRowCount'](this['_unitId'],this[_0x1fcd85(0xfa)],_0x2072b3['headerRowCount']),_0x3210b6;}['pinHeaderRows'](_0x38bf26){return this['setHeaderRowCount'](_0x38bf26);}[_0x35ec16(0xce)](){const _0x3e5f91=_0x35ec16;var _0x3c3940;return((_0x3c3940=this[_0x3e5f91(0xae)]())==null?void 0x0:_0x3c3940[_0x3e5f91(0x119)])??!0x1;}['insertTitleRow'](){const _0x42ebdc=_0x35ec16;let _0x20fd4b=this[_0x42ebdc(0xe5)][_0x42ebdc(0xf8)](_0x4fcea3[_0x42ebdc(0x12e)]),_0x50585e=this[_0x42ebdc(0xbd)](),_0x7c1c97=(0x0,_0x4fcea3[_0x42ebdc(0x91)])(_0x50585e,this[_0x42ebdc(0xfa)],this[_0x42ebdc(0x106)]());if(!_0x7c1c97)return!0x1;let _0x2c0a1a=this[_0x42ebdc(0x110)](_0x50585e,_0x7c1c97['actions']);return _0x2c0a1a&&_0x20fd4b[_0x42ebdc(0x14a)](this[_0x42ebdc(0x11f)],this[_0x42ebdc(0xfa)],!0x0),_0x2c0a1a;}[_0x35ec16(0xe0)](_0x3863bf,_0x465744){const _0x3eab75=_0x35ec16;return this[_0x3eab75(0xe5)][_0x3eab75(0xf8)](_0x4fcea3[_0x3eab75(0x12e)])[_0x3eab75(0xe0)](this['_unitId'],this['_tableId'],_0x3863bf,_0x465744),!0x0;}[_0x35ec16(0x115)](_0x160614,_0x5c9ae9){const _0x4349a1=_0x35ec16;let _0x2b56e2=this[_0x4349a1(0xbd)]();return this[_0x4349a1(0x110)](_0x2b56e2,(0x0,_0x4fcea3['buildSortTableMutationActions'])(_0x2b56e2,this[_0x4349a1(0x14c)](),this[_0x4349a1(0xfa)],_0x160614,_0x5c9ae9,this[_0x4349a1(0x106)]()));}[_0x35ec16(0xbd)](){const _0x45d941=_0x35ec16;let _0x24cc33=this[_0x45d941(0xec)][_0x45d941(0x13c)]()['getSnapshot']();return this['_segmentId']?{...this[_0x45d941(0xec)][_0x45d941(0x13c)](this[_0x45d941(0xb4)])['getSnapshot'](),'documentStyle':_0x24cc33[_0x45d941(0x147)],'tableSource':_0x24cc33[_0x45d941(0xe2)]}:_0x24cc33;}[_0x35ec16(0x14c)](){const _0x1bbe3b=_0x35ec16;return this['_injector']['get'](_0x4fcea3[_0x1bbe3b(0x12e)])['serialize'](this[_0x1bbe3b(0x11f)]);}['_getBodyPath'](){const _0x5d9d26=_0x35ec16;return(0x0,_0x4fcea3[_0x5d9d26(0xb6)])(this[_0x5d9d26(0xec)][_0x5d9d26(0x13c)]()[_0x5d9d26(0x123)](),this['_segmentId']);}[_0x35ec16(0x110)](_0x556736,_0x452f85,_0x42ed9){const _0x4b9556=_0x35ec16;return(0x0,_0x4fcea3[_0x4b9556(0xf0)])(this[_0x4b9556(0xe5)][_0x4b9556(0xf8)](_0x1de5da[_0x4b9556(0x11e)]),this['_unitId'],_0x556736,_0x452f85,_0x42ed9?{'tableId':this[_0x4b9556(0xfa)],'segmentId':this[_0x4b9556(0xb4)],..._0x42ed9}:void 0x0);}},_0x419589=class extends _0x461350[_0x35ec16(0xdf)]{[_0x35ec16(0x139)](_0x49136a=''){const _0x8cab36=_0x35ec16;return this[_0x8cab36(0x109)](_0x49136a)[_0x8cab36(0xd6)](_0x495bba=>this[_0x8cab36(0xf2)](_0x495bba[_0x8cab36(0x81)],_0x49136a));}['getTable'](_0x472cc4,_0x1dac17=''){const _0x2768bc=_0x35ec16;return this[_0x2768bc(0x109)](_0x1dac17)[_0x2768bc(0x116)](_0x5c879a=>_0x5c879a[_0x2768bc(0x81)]===_0x472cc4)?this['_createFDocumentTable'](_0x472cc4,_0x1dac17):null;}['getTableAt'](_0x2d0f8b,_0x24b2dc=''){const _0x271d0d=_0x35ec16;var _0x44a91b;let _0x523fc5=(_0x44a91b=this['_getTables'](_0x24b2dc)[_0x2d0f8b])==null?void 0x0:_0x44a91b[_0x271d0d(0x81)];return _0x523fc5?this[_0x271d0d(0xf2)](_0x523fc5,_0x24b2dc):null;}['getTableAtSelection'](){const _0x464c5c=_0x35ec16;let _0x413d56=this[_0x464c5c(0xe5)][_0x464c5c(0xf8)](_0x4fcea3['DocsTableSelectionService'])[_0x464c5c(0xdb)]();return _0x413d56!=null&&_0x413d56[_0x464c5c(0x81)]?this[_0x464c5c(0xf2)](_0x413d56[_0x464c5c(0x81)],_0x413d56[_0x464c5c(0xd8)]):null;}['findTableByText'](_0x23cae9,_0x238b44=''){const _0x487deb=_0x35ec16;return this[_0x487deb(0x114)](_0x23cae9,_0x238b44)[0x0]??null;}[_0x35ec16(0x114)](_0x485a7b,_0x182c1e=''){const _0x72ad59=_0x35ec16;let _0x42f0c6=this['_getTableDocumentData'](_0x182c1e),_0x2a6cbf=typeof _0x485a7b==_0x72ad59(0xde)?{'text':_0x485a7b}:_0x485a7b;return this['getTables'](_0x182c1e)['filter'](_0x56c8be=>{const _0x21f18a=_0x72ad59;let _0x31572b=_0x56c8be[_0x21f18a(0x13e)]();return!(_0x2a6cbf[_0x21f18a(0x81)]&&_0x31572b!==_0x2a6cbf[_0x21f18a(0x81)]||_0x2a6cbf[_0x21f18a(0x85)]&&!this[_0x21f18a(0xef)](_0x42f0c6,_0x31572b,_0x2a6cbf[_0x21f18a(0x85)])||_0x2a6cbf[_0x21f18a(0x15e)]&&!this['_rowContainsText'](_0x56c8be,0x0,_0x2a6cbf[_0x21f18a(0x15e)])||_0x2a6cbf[_0x21f18a(0xa4)]&&!this[_0x21f18a(0xa9)](_0x56c8be,0x0,_0x2a6cbf[_0x21f18a(0xa4)]));});}[_0x35ec16(0xf5)](_0x21c1be,_0x417321,_0x30b411={}){const _0xf48517=_0x35ec16;let _0x5bbf9e=this[_0xf48517(0xe5)][_0xf48517(0xf8)](_0x1de5da[_0xf48517(0x11e)]),_0x12c6e3=_0x30b411[_0xf48517(0x81)]??(0x0,_0x1de5da[_0xf48517(0x128)])(0x6);return _0x5bbf9e[_0xf48517(0xa5)](_0x4fcea3[_0xf48517(0x130)]['id'],{..._0x30b411,'unitId':this[_0xf48517(0x13e)](),'rows':_0x21c1be,'columns':_0x417321,'tableId':_0x12c6e3})?this[_0xf48517(0xf2)](_0x12c6e3,_0x30b411[_0xf48517(0xd8)]??''):null;}['insertTableFromData'](_0x3ef0e0,_0x4c2d67={}){const _0x481ed4=_0x35ec16;let _0x68cdd7=this[_0x481ed4(0xe5)][_0x481ed4(0xf8)](_0x1de5da[_0x481ed4(0x11e)]),_0x162cf9=_0x4c2d67[_0x481ed4(0x81)]??(0x0,_0x1de5da[_0x481ed4(0x128)])(0x6);return _0x68cdd7[_0x481ed4(0xa5)](_0x4fcea3[_0x481ed4(0x130)]['id'],{..._0x4c2d67,'unitId':this['getId'](),'values':_0x3ef0e0,'tableId':_0x162cf9})?this['_createFDocumentTable'](_0x162cf9,_0x4c2d67['segmentId']??''):null;}[_0x35ec16(0x109)](_0x5b7638=''){let {tables:_0x5d8239=[]}=this['getBody'](_0x5b7638);return _0x5d8239;}[_0x35ec16(0xee)](_0x59f209=''){const _0x2365ed=_0x35ec16;let _0x2721b9=this['getDocumentDataModel']()[_0x2365ed(0x123)]();return _0x59f209?{...this[_0x2365ed(0x13c)](_0x59f209)[_0x2365ed(0x123)](),'documentStyle':_0x2721b9[_0x2365ed(0x147)],'tableSource':_0x2721b9[_0x2365ed(0xe2)]}:_0x2721b9;}[_0x35ec16(0xf2)](_0x250cde,_0xa5f926=''){const _0x39c91f=_0x35ec16;return this['_injector'][_0x39c91f(0x12d)](_0x39f630,this,_0x250cde,_0xa5f926,this[_0x39c91f(0xe5)]);}[_0x35ec16(0xef)](_0x58ae3f,_0x4fbc8b,_0x3c7390){const _0x29995d=_0x35ec16;var _0x263dd4;let _0x518a6e=(0x0,_0x4fcea3[_0x29995d(0xf9)])(_0x58ae3f,_0x4fbc8b);if(!_0x518a6e)return!0x1;let _0x3492f2=(_0x263dd4=_0x58ae3f[_0x29995d(0x105)])==null?void 0x0:_0x263dd4[_0x29995d(0x13f)];return _0x3492f2?_0x3492f2[_0x29995d(0xfc)](_0x518a6e[_0x29995d(0x12f)],_0x518a6e[_0x29995d(0x14e)])[_0x29995d(0xfb)](_0x3c7390):!0x1;}['_rowContainsText'](_0x509558,_0x18e81e,_0x5f5a15){const _0x216771=_0x35ec16;return Array[_0x216771(0x13a)]({'length':_0x509558[_0x216771(0xb5)]()},(_0x28be44,_0x23be4d)=>_0x509558['getCellText'](_0x18e81e,_0x23be4d))[_0x216771(0x116)](_0x32cc5f=>_0x32cc5f[_0x216771(0xfb)](_0x5f5a15));}};_0x461350[_0x35ec16(0xdf)][_0x35ec16(0x113)](_0x419589),_0x485777[_0x35ec16(0xd3)]=_0x39f630,_0x485777['FDocumentTableCell']=_0x37036d;}));function _0x23c7(_0x32c934,_0x2cc98b){_0x32c934=_0x32c934-0x81;const _0x2f9af4=_0x2f9a();let _0x23c7c4=_0x2f9af4[_0x32c934];return _0x23c7c4;}function _0x2f9a(){const _0x446e74=['unmergeCells','@univerjs-pro/docs-table','deleteRow','2400190wueBJy','selectTable','UniverProDocsTableFacade','_getDocumentData','Below','object','UniverDocsFacade','max','DocsTableBorderPreset','getColumnIndex','4188372nbvAcH','getTableMetadata','deleteRows','buildInsertTableRowsMutationActions','prototype','DocsTableColumnType','moveRows','_table','Table','setTableStyle','hasTitleRow','22cVRaEW','selectCell','buildDeleteTableRowsMutationActions','type','FDocumentTable','getTable','Row','map','getCellMargin','segmentId','SOLID','@univerjs/core/facade','getStableTableSelection','632805rKXSSL','setText','string','FDocument','setColumnType','2657StzLLs','tableSource','function','margin','_injector','appendColumn','getContentRange','defineProperty','buildSetTableCellMarginMutationActions','preset','setCellMargin','_document','Right','_getTableDocumentData','_tableContainsText','executeRichTextTableActions','deleteColumns','_createFDocumentTable','setBorder','getCell','insertTable','DocsTableInsertTablePosition','insertColumnsBefore','get','getTableRangeById','_tableId','includes','slice','insertRowsBefore','selectRows','getRowHeight','182iVaGEz','describe','columnTypes','getRowsRange','All','body','_getBodyPath','DocsTableRowInsertPosition','deleteColumn','_getTables','_row','buildDistributeTableColumnsMutationActions','buildSetTableBorderMutationActions','getDefaultCellMarginOverride','moveTableToOffset','tableRows','_mutateActions','buildInsertTableColumnsMutationActions','exports','extend','findTables','sortByColumn','some','backgroundColor','FEnum','titleRow','distributeColumns','2135682laCnsx','getCellText','symbol','ICommandService','_unitId','buildMoveFloatingTableMutationActions','getMargin','insertColumnsAfter','getSnapshot','26imFrVa','unmerge','Range','DocsTableColumnInsertPosition','generateRandomId','getText','getCellRange','_column','getColumnsRange','createInstance','DocsTableModel','startOffset','DocsTableInsertTableCommand','call','getHeaderRowCount','selectRange','getRowCount','TableRowHeightRule','setCellBackground','#1f1f1f','actions','getTables','from','color','getDocumentDataModel','setTableBorder','getId','dataStream','moveColumn','moveRow','cells','DocsTableSortDirection','setCellText','filter','setHeaderRowCount','documentStyle','getSource','UniverCoreFacade','setTitleRow','buildSetTableCellTextMutationActions','_serializeModel','border','endOffset','selectColumn','headerRowCount','amd','getDefaultCellMargin','setTableBackground','buildDistributeTableRowsMutationActions','@univerjs/docs/facade','Tools','setBackgroundColor','DashStyleType','2212xiZQXx','AT_LEAST','buildSetTableHeaderRowCountMutationActions','8edpydB','@univerjs/core','headerText','insertRowsAfter','tableId','constructor','insertColumnBefore','tableColumns','text','width','length','5RgGtcz','1878pwiLxZ','deepClone','deleteTable','insertRowBefore','Module','buildDeleteTableMutationActions','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Left','buildInsertTableTitleRowMutationActions','appendRow','moveColumns','mergeCells','selectColumns','getSegmentId','tableCells','buildMergeCellsMutationActions','getInsertOffset','cellMargin','clearMarginOverride','DocsTableInsertPosition','setRowHeight','DocsTableSelectionKind','insertRowAfter','getTableRange','Cell','rows','1831692lnnzHF','titleText','syncExecuteCommand','Above','setStructuralSelection','buildDeleteTableColumnsMutationActions','_rowContainsText','setDefaultCellMargin','buildMoveTableToOffsetMutationActions','buildSetTableBackgroundMutationActions','getMarginOverride','getMetadata','getCellContentRange','buildUnmergeCellsMutationActions','getCellInsertOffset','DEFAULT_DOCS_TABLE_CELL_MARGIN','getCellMarginOverride','_segmentId','getColumnCount','getTableActionBodyPath'];_0x2f9a=function(){return _0x446e74;};return _0x2f9a();}
|