@univerjs-pro/docs-table 1.0.0-alpha.8 → 1.0.0-beta.1
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/types/services/docs-table-selection.service.d.ts +3 -0
- 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.
|
|
@@ -17,6 +17,7 @@ export declare class DocsTableSelectionService extends Disposable {
|
|
|
17
17
|
private readonly _docSelectionManagerService;
|
|
18
18
|
private readonly _selectionChange$;
|
|
19
19
|
private _structuralSelection;
|
|
20
|
+
private _structuralSelectionTableShape;
|
|
20
21
|
private _nativeSelectionSuppressed;
|
|
21
22
|
private _preserveStructuralSelectionOnNextTextSelection;
|
|
22
23
|
readonly selectionChange$: import("rxjs").Observable<Nullable<IDocsTableSelection>>;
|
|
@@ -36,5 +37,7 @@ export declare class DocsTableSelectionService extends Disposable {
|
|
|
36
37
|
private _getSelectionFromActiveTextRange;
|
|
37
38
|
private _getSelectionFromRectRanges;
|
|
38
39
|
private _canCombineRectRanges;
|
|
40
|
+
private _getValidStructuralSelection;
|
|
41
|
+
private _clearStructuralSelectionState;
|
|
39
42
|
}
|
|
40
43
|
export {};
|
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 _0x4383(){const _0x158172=['_column','_table','dataStream','buildInsertTableRowsMutationActions','distributeColumns','@univerjs-pro/docs-table','1eGOCun','Table','33wXAqHY','getCellMarginOverride','_tableId','deleteColumn','_serializeModel','defineProperty','DocsTableSelectionService','DocsTableInsertTableCommand','SOLID','default','UniverCoreFacade','getTableRange','insertRowsBefore','_rowContainsText','getCell','iterator','getCellText','getRowsRange','toStringTag','setColumnType','getInsertOffset','buildMergeCellsMutationActions','Row','setHeaderRowCount','headerRowCount','#1f1f1f','4336392mwlyFn','4cuPfrs','actions','UniverProDocsTable','tableRows','moveTableToOffset','buildResizeTableColumnActionsFromWidth','buildMoveTableColumnsMutationActions','insertColumnBefore','getCellContentRange','getStableTableSelection','getTables','mergeCells','getTable','moveRows','tableId','getColumnIndex','DocsTableBorderPreset','appendRow','setTableBackground','getRowCount','_unitId','_getDocumentData','getMetadata','selectRows','slice','moveTableBy','selectTable','buildMoveTableToOffsetMutationActions','text','getSegmentId','getInfo','replace','map','width','buildSetTableDefaultCellMarginMutationActions','6990155zQgyXw','insertTableFromData','buildSetTableHeaderRowCountMutationActions','sortByColumn','3596194yCGjFC','AT_LEAST','object','insertColumnsAfter','buildInsertTableColumnsMutationActions','Below','Cell','deleteRows','selectRow','mergeTo','string','getCellMargin','DocsTableColumnInsertPosition','buildDeleteTableMutationActions','_injector','some','rows','clearMarginOverride','UniverCore','_segmentId','size','function','margin','buildInsertTableTitleRowMutationActions','from','syncExecuteCommand','DocsTableSortDirection','_row','getSnapshot','color','tableColumns','titleRow','_getTables','UniverProDocsTableFacade','getTableActionBodyPath','setBorder','unmerge','setTitleRow','_mutateActions','DEFAULT_DOCS_TABLE_CELL_MARGIN','endOffset','buildDistributeTableRowsMutationActions','buildDeleteTableRowsMutationActions','toPrimitive','705816puLlAy','titleText','moveColumn','@univerjs/core/facade','insertRowBefore','startOffset','filter','generateRandomId','getBody','moveColumns','@univerjs/core','backgroundColor','segmentId','documentStyle','@univerjs/docs/facade','max','DocsTableInsertPosition','getText','Tools','getCellInsertOffset','buildUnmergeCellsMutationActions','_getBodyPath','get','14489310fSFxCe','getRowIndex','unmergeCells','insertTitleRow','includes','getDocumentDataModel','tableCells','DocsTableModel','getContentRange','length','5168736ihddxu','DashStyleType','cells','body','getSource','All','_getTableDocumentData','getColumnsRange','setTableBorder','14609joHMRP','setColumnWidth','getCellRange','setCellBackground','buildDistributeTableColumnsMutationActions','selectRange','moveRow','Right','FDocument','_tableContainsText','columnTypes','FEnum','getId','DocsTableInsertTablePosition','insertColumnsBefore','symbol','setCellText','insertRowsAfter','exports','getColumnCount','getTableRangeById','selectColumns','deleteColumns','deleteRow','findTableByText','Range','border','call','deepClone','_document','setStructuralSelection','getTableMetadata','constructor','buildMoveFloatingTableMutationActions','Column','setCellMargin','cellMargin','getRange','getMargin','1794LLsBPi','ICommandService','setMargin','getTableAt','_createFDocumentTable','amd','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','FDocumentTable','Left','setBackgroundColor','prototype','hasTitleRow','buildSetTableBorderMutationActions','describe','Above','setText','buildSetTableBackgroundMutationActions','insertTable','distributeRows','extend','buildResizeTableRowActionsFromHeight','trHeight','findTables','FDocumentTableCell','tableSource','DocsTableSelectionKind','selectCell'];_0x4383=function(){return _0x158172;};return _0x4383();}function _0x3ddf(_0x998dd1,_0x51487a){_0x998dd1=_0x998dd1-0x14b;const _0x43839d=_0x4383();let _0x3ddfe6=_0x43839d[_0x998dd1];return _0x3ddfe6;}(function(_0x46ae4a,_0x853408){const _0x599722=_0x3ddf,_0x17b420=_0x46ae4a();while(!![]){try{const _0x4a5a65=-parseInt(_0x599722(0x21a))/0x1*(parseInt(_0x599722(0x17c))/0x2)+-parseInt(_0x599722(0x1c9))/0x3+parseInt(_0x599722(0x155))/0x4*(parseInt(_0x599722(0x178))/0x5)+parseInt(_0x599722(0x1f9))/0x6*(-parseInt(_0x599722(0x1d2))/0x7)+-parseInt(_0x599722(0x154))/0x8+-parseInt(_0x599722(0x1a8))/0x9+-parseInt(_0x599722(0x1bf))/0xa*(-parseInt(_0x599722(0x21c))/0xb);if(_0x4a5a65===_0x853408)break;else _0x17b420['push'](_0x17b420['shift']());}catch(_0x37d16d){_0x17b420['push'](_0x17b420['shift']());}}}(_0x4383,0xef181),function(_0x53502e,_0x25718f){const _0x41739f=_0x3ddf;typeof exports==_0x41739f(0x17e)&&typeof module<'u'?_0x25718f(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x41739f(0x191)&&define[_0x41739f(0x1fe)]?define([_0x41739f(0x1e4),_0x41739f(0x219),_0x41739f(0x1b2),_0x41739f(0x1ab),_0x41739f(0x1b6)],_0x25718f):(_0x53502e=typeof globalThis<'u'?globalThis:_0x53502e||self,_0x25718f(_0x53502e[_0x41739f(0x19d)]={},_0x53502e[_0x41739f(0x157)],_0x53502e[_0x41739f(0x18e)],_0x53502e[_0x41739f(0x226)],_0x53502e['UniverDocsFacade']));}(this,function(_0x53987e,_0x4351dd,_0x500470,_0x557e5a,_0x1f8921){const _0x2e5aff=_0x3ddf;Object[_0x2e5aff(0x221)](_0x53987e,Symbol[_0x2e5aff(0x14c)],{'value':'Module'});var _0x3a0586=class extends _0x557e5a[_0x2e5aff(0x1dd)]{get[_0x2e5aff(0x1df)](){const _0x2a3b00=_0x2e5aff;return _0x4351dd[_0x2a3b00(0x1df)];}get['DocsTableColumnType'](){return _0x4351dd['DocsTableColumnType'];}get['DocsTableSelectionKind'](){return _0x4351dd['DocsTableSelectionKind'];}get['DocsTableRowInsertPosition'](){return _0x4351dd['DocsTableRowInsertPosition'];}get['DocsTableColumnInsertPosition'](){const _0x1e2adf=_0x2e5aff;return _0x4351dd[_0x1e2adf(0x188)];}get[_0x2e5aff(0x165)](){const _0x1e179a=_0x2e5aff;return _0x4351dd[_0x1e179a(0x165)];}get['DocsTableSortDirection'](){const _0x34c990=_0x2e5aff;return _0x4351dd[_0x34c990(0x196)];}get[_0x2e5aff(0x1ca)](){const _0x565134=_0x2e5aff;return _0x500470[_0x565134(0x1ca)];}};_0x557e5a[_0x2e5aff(0x1dd)][_0x2e5aff(0x20c)](_0x3a0586);var _0x11660d=class{constructor(_0x37ae68,_0x3254a8,_0x5e0eb1){const _0x555711=_0x2e5aff;this[_0x555711(0x215)]=_0x37ae68,this[_0x555711(0x197)]=_0x3254a8,this[_0x555711(0x214)]=_0x5e0eb1;}['getTable'](){const _0x2d351e=_0x2e5aff;return this[_0x2d351e(0x215)];}[_0x2e5aff(0x1c0)](){const _0x12e16b=_0x2e5aff;return this[_0x12e16b(0x197)];}[_0x2e5aff(0x164)](){const _0x33d4a3=_0x2e5aff;return this[_0x33d4a3(0x214)];}[_0x2e5aff(0x1b9)](){const _0x443ec3=_0x2e5aff;return this[_0x443ec3(0x215)]['getCellText'](this[_0x443ec3(0x197)],this[_0x443ec3(0x214)]);}[_0x2e5aff(0x1c7)](){const _0x43749d=_0x2e5aff;return this[_0x43749d(0x215)][_0x43749d(0x15d)](this[_0x43749d(0x197)],this['_column']);}[_0x2e5aff(0x14e)](){const _0xe7589b=_0x2e5aff;return this[_0xe7589b(0x215)][_0xe7589b(0x1bb)](this[_0xe7589b(0x197)],this[_0xe7589b(0x214)]);}[_0x2e5aff(0x1f8)](){const _0x369eda=_0x2e5aff;return this['_table'][_0x369eda(0x187)](this[_0x369eda(0x197)],this[_0x369eda(0x214)]);}['getMarginOverride'](){const _0x1554c6=_0x2e5aff;return this[_0x1554c6(0x215)][_0x1554c6(0x21d)](this[_0x1554c6(0x197)],this[_0x1554c6(0x214)]);}[_0x2e5aff(0x1fb)](_0x56b1eb){const _0x42547b=_0x2e5aff;return this['_table']['setCellMargin'](this[_0x42547b(0x215)][_0x42547b(0x1d4)](this['_row'],this['_column']),_0x56b1eb);}[_0x2e5aff(0x18d)](){const _0x19d9a0=_0x2e5aff;return this[_0x19d9a0(0x215)][_0x19d9a0(0x1f5)](this[_0x19d9a0(0x215)][_0x19d9a0(0x1d4)](this['_row'],this[_0x19d9a0(0x214)]),null);}[_0x2e5aff(0x208)](_0x40e097){const _0x5531a6=_0x2e5aff;return this[_0x5531a6(0x215)][_0x5531a6(0x1e2)](this[_0x5531a6(0x197)],this['_column'],_0x40e097);}[_0x2e5aff(0x202)](_0x442092){const _0x207820=_0x2e5aff;return this['_table'][_0x207820(0x1d5)](this[_0x207820(0x215)][_0x207820(0x1d4)](this[_0x207820(0x197)],this['_column']),_0x442092);}[_0x2e5aff(0x19f)](_0x369347){const _0x5a5c2a=_0x2e5aff;return this[_0x5a5c2a(0x215)]['setBorder'](this[_0x5a5c2a(0x215)][_0x5a5c2a(0x1d4)](this['_row'],this['_column']),_0x369347);}[_0x2e5aff(0x185)](_0x3ef9f4,_0x3e71f7){const _0x37551c=_0x2e5aff;return this[_0x37551c(0x215)][_0x37551c(0x160)]({'startRow':this[_0x37551c(0x197)],'startColumn':this['_column'],'endRow':this[_0x37551c(0x197)]+_0x3ef9f4-0x1,'endColumn':this['_column']+_0x3e71f7-0x1});}[_0x2e5aff(0x1a0)](){const _0x4db691=_0x2e5aff;return this['_table'][_0x4db691(0x1c1)](this[_0x4db691(0x215)]['getCellRange'](this[_0x4db691(0x197)],this[_0x4db691(0x214)]));}};function _0x21a7a2(_0x42443a){'@babel/helpers - typeof';const _0x4e1bc9=_0x2e5aff;return _0x21a7a2=typeof Symbol==_0x4e1bc9(0x191)&&typeof Symbol[_0x4e1bc9(0x22b)]==_0x4e1bc9(0x1e1)?function(_0x249833){return typeof _0x249833;}:function(_0x37afc0){const _0x493ae6=_0x4e1bc9;return _0x37afc0&&typeof Symbol==_0x493ae6(0x191)&&_0x37afc0[_0x493ae6(0x1f2)]===Symbol&&_0x37afc0!==Symbol[_0x493ae6(0x203)]?_0x493ae6(0x1e1):typeof _0x37afc0;},_0x21a7a2(_0x42443a);}function _0x18e745(_0x25f394,_0x256024){const _0xd408c6=_0x2e5aff;if(_0x21a7a2(_0x25f394)!=_0xd408c6(0x17e)||!_0x25f394)return _0x25f394;var _0x41d788=_0x25f394[Symbol[_0xd408c6(0x1a7)]];if(_0x41d788!==void 0x0){var _0x74d08b=_0x41d788[_0xd408c6(0x1ed)](_0x25f394,_0x256024||_0xd408c6(0x225));if(_0x21a7a2(_0x74d08b)!=_0xd408c6(0x17e))return _0x74d08b;throw TypeError(_0xd408c6(0x1ff));}return(_0x256024==='string'?String:Number)(_0x25f394);}function _0xb9b2f1(_0x317a9d){const _0x1f9d77=_0x2e5aff;var _0x12983f=_0x18e745(_0x317a9d,_0x1f9d77(0x186));return _0x21a7a2(_0x12983f)=='symbol'?_0x12983f:_0x12983f+'';}function _0x2877d4(_0x5ade30,_0x142e60,_0x370183){return(_0x142e60=_0xb9b2f1(_0x142e60))in _0x5ade30?Object['defineProperty'](_0x5ade30,_0x142e60,{'value':_0x370183,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5ade30[_0x142e60]=_0x370183,_0x5ade30;}var _0x29c538=class{constructor(_0x9ce7a9,_0x7ac21,_0xf01269='',_0x1b467f){const _0x46251d=_0x2e5aff;this[_0x46251d(0x1ef)]=_0x9ce7a9,this[_0x46251d(0x21e)]=_0x7ac21,this['_segmentId']=_0xf01269,this['_injector']=_0x1b467f,_0x2877d4(this,_0x46251d(0x169),void 0x0),this[_0x46251d(0x169)]=this[_0x46251d(0x1ef)][_0x46251d(0x1de)]();}['getId'](){const _0x1f5049=_0x2e5aff;return this[_0x1f5049(0x21e)];}[_0x2e5aff(0x172)](){const _0x5389a4=_0x2e5aff;return this[_0x5389a4(0x18f)];}[_0x2e5aff(0x173)](){const _0xcb0e6b=_0x2e5aff;return{'id':this[_0xcb0e6b(0x21e)],'rowCount':this[_0xcb0e6b(0x168)](),'columnCount':this[_0xcb0e6b(0x1e5)](),'metadata':this[_0xcb0e6b(0x16b)](),'source':this[_0xcb0e6b(0x1cd)]()};}[_0x2e5aff(0x206)](){const _0x28d6ce=_0x2e5aff;let _0x38350f=this[_0x28d6ce(0x16b)](),_0x542f5c=this[_0x28d6ce(0x1cd)](),_0x925417=this['getColumnCount']();return{'id':this['_tableId'],'rowCount':this[_0x28d6ce(0x168)](),'columnCount':_0x925417,'headerRowCount':(_0x38350f==null?void 0x0:_0x38350f[_0x28d6ce(0x152)])??0x0,'titleRow':(_0x38350f==null?void 0x0:_0x38350f[_0x28d6ce(0x19b)])??!0x1,'columns':Array['from']({'length':_0x925417},(_0x389e5c,_0x3da096)=>{const _0x15c335=_0x28d6ce;var _0x4f9ffd,_0x1f6529;return{'index':_0x3da096,'type':_0x38350f==null||(_0x4f9ffd=_0x38350f[_0x15c335(0x1dc)])==null||(_0x4f9ffd=_0x4f9ffd[_0x3da096])==null?void 0x0:_0x4f9ffd['type'],'width':_0x542f5c==null||(_0x1f6529=_0x542f5c[_0x15c335(0x19a)][_0x3da096])==null?void 0x0:_0x1f6529[_0x15c335(0x190)]['width']['v']};}),'sampleRows':Array[_0x28d6ce(0x194)]({'length':this['getRowCount']()},(_0xe7a476,_0x285bb1)=>Array[_0x28d6ce(0x194)]({'length':_0x925417},(_0x462640,_0x220d9e)=>this[_0x28d6ce(0x22c)](_0x285bb1,_0x220d9e)))[_0x28d6ce(0x1ae)](_0x15dc34=>_0x15dc34[_0x28d6ce(0x18b)](_0x4dfa2a=>_0x4dfa2a[_0x28d6ce(0x1c8)]>0x0))[_0x28d6ce(0x16d)](0x0,0x5)};}[_0x2e5aff(0x168)](){const _0x480963=_0x2e5aff;var _0x4d7085;return((_0x4d7085=this['getSource']())==null?void 0x0:_0x4d7085['tableRows'][_0x480963(0x1c8)])??0x0;}[_0x2e5aff(0x1e5)](){const _0x1fcb11=_0x2e5aff;var _0x366cd0;return((_0x366cd0=this['getSource']())==null?void 0x0:_0x366cd0['tableColumns'][_0x1fcb11(0x1c8)])??0x0;}[_0x2e5aff(0x22a)](_0x5a5a3c,_0x48a868){const _0x5a18ed=_0x2e5aff;var _0x105016;return(_0x105016=this[_0x5a18ed(0x1cd)]())!=null&&(_0x105016=_0x105016[_0x5a18ed(0x158)][_0x5a5a3c])!=null&&_0x105016['tableCells'][_0x48a868]?this['_injector']['createInstance'](_0x11660d,this,_0x5a5a3c,_0x48a868):null;}[_0x2e5aff(0x22c)](_0x3ceaf8,_0x439fdb){const _0x10611e=_0x2e5aff;var _0x2228a4,_0x4e05ea;let _0x365621=(_0x2228a4=(0x0,_0x4351dd[_0x10611e(0x1e6)])(this['_getDocumentData'](),this[_0x10611e(0x21e)]))==null||(_0x2228a4=_0x2228a4[_0x10611e(0x18c)][_0x3ceaf8])==null?void 0x0:_0x2228a4[_0x10611e(0x1cb)][_0x439fdb];return _0x365621?((_0x4e05ea=this['_getDocumentData']()[_0x10611e(0x1cc)])==null?void 0x0:_0x4e05ea[_0x10611e(0x216)]['slice'](_0x365621[_0x10611e(0x1ad)]+0x1,_0x365621[_0x10611e(0x1a4)])[_0x10611e(0x174)](/\r\n$/,''))??'':'';}[_0x2e5aff(0x187)](_0x214c34,_0x522c64){const _0x41c4cf=_0x2e5aff;var _0x34a2e6;let _0x306628=this[_0x41c4cf(0x1cd)](),_0x3c7a7b=_0x306628==null||(_0x34a2e6=_0x306628['tableRows'][_0x214c34])==null?void 0x0:_0x34a2e6['tableCells'][_0x522c64];return _0x3c7a7b?_0x500470[_0x41c4cf(0x1ba)][_0x41c4cf(0x1ee)](_0x3c7a7b[_0x41c4cf(0x192)]??_0x306628[_0x41c4cf(0x1f6)]??_0x4351dd[_0x41c4cf(0x1a3)]):null;}[_0x2e5aff(0x21d)](_0x21429d,_0x4d23c5){const _0x2a5fe3=_0x2e5aff;var _0x163690;let _0x390e18=(_0x163690=this['getSource']())==null||(_0x163690=_0x163690['tableRows'][_0x21429d])==null?void 0x0:_0x163690[_0x2a5fe3(0x1c5)][_0x4d23c5];return _0x390e18!=null&&_0x390e18[_0x2a5fe3(0x192)]?_0x500470[_0x2a5fe3(0x1ba)]['deepClone'](_0x390e18['margin']):null;}['getDefaultCellMargin'](){const _0x57aa79=_0x2e5aff;var _0x4a104d;return _0x500470[_0x57aa79(0x1ba)][_0x57aa79(0x1ee)](((_0x4a104d=this[_0x57aa79(0x1cd)]())==null?void 0x0:_0x4a104d[_0x57aa79(0x1f6)])??_0x4351dd[_0x57aa79(0x1a3)]);}['getDefaultCellMarginOverride'](){const _0x49dbf7=_0x2e5aff;var _0x243b61;let _0x20bfa9=(_0x243b61=this[_0x49dbf7(0x1cd)]())==null?void 0x0:_0x243b61['cellMargin'];return _0x20bfa9?_0x500470[_0x49dbf7(0x1ba)][_0x49dbf7(0x1ee)](_0x20bfa9):null;}[_0x2e5aff(0x16b)](){const _0x43f143=_0x2e5aff;return this[_0x43f143(0x18a)]['get'](_0x4351dd[_0x43f143(0x1c6)])[_0x43f143(0x1f1)](this['_unitId'],this[_0x43f143(0x21e)]);}[_0x2e5aff(0x1cd)](){const _0x42c8a1=_0x2e5aff;var _0x38d0a9;return(_0x38d0a9=this[_0x42c8a1(0x16a)]()[_0x42c8a1(0x211)])==null?void 0x0:_0x38d0a9[this[_0x42c8a1(0x21e)]];}[_0x2e5aff(0x1f7)](){const _0x3d0388=_0x2e5aff;return(0x0,_0x4351dd[_0x3d0388(0x1e6)])(this[_0x3d0388(0x16a)](),this['_tableId']);}[_0x2e5aff(0x227)](){const _0x1232e1=_0x2e5aff;return{'startRow':0x0,'endRow':Math[_0x1232e1(0x1b7)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x1232e1(0x1e5)]()-0x1)};}[_0x2e5aff(0x1d4)](_0x11ca8d,_0xfdc073){return{'startRow':_0x11ca8d,'endRow':_0x11ca8d,'startColumn':_0xfdc073,'endColumn':_0xfdc073};}['getCellContentRange'](_0x2a4890,_0x53b126){const _0x356074=_0x2e5aff;var _0x68c889;let _0x458542=(_0x68c889=(0x0,_0x4351dd['getTableRangeById'])(this['_getDocumentData'](),this[_0x356074(0x21e)]))==null||(_0x68c889=_0x68c889[_0x356074(0x18c)][_0x2a4890])==null?void 0x0:_0x68c889['cells'][_0x53b126];if(!_0x458542)return null;let _0x3438d1=_0x458542['startOffset']+0x1;return{'startOffset':_0x3438d1,'endOffset':Math[_0x356074(0x1b7)](_0x3438d1,_0x458542[_0x356074(0x1a4)]-0x1),'segmentId':this[_0x356074(0x18f)]};}['getCellInsertOffset'](_0x2b927d,_0x1d694a){const _0x1c31f1=_0x2e5aff;let _0x126bea=this['getCellContentRange'](_0x2b927d,_0x1d694a);return _0x126bea?Math[_0x1c31f1(0x1b7)](_0x126bea['startOffset'],_0x126bea['endOffset']-0x1):null;}['getRowRange'](_0x4b3334){const _0x32e6ff=_0x2e5aff;return this[_0x32e6ff(0x14b)](_0x4b3334,0x1);}['getRowsRange'](_0x3d2bb6,_0x5038e5=0x1){const _0x1bb028=_0x2e5aff;return{'startRow':_0x3d2bb6,'endRow':_0x3d2bb6+_0x5038e5-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x1bb028(0x1e5)]()-0x1)};}['getColumnRange'](_0x4b6385){const _0x273d7f=_0x2e5aff;return this[_0x273d7f(0x1d0)](_0x4b6385,0x1);}['getColumnsRange'](_0x4c11e0,_0x51c7f8=0x1){const _0x5db868=_0x2e5aff;return{'startRow':0x0,'endRow':Math[_0x5db868(0x1b7)](0x0,this[_0x5db868(0x168)]()-0x1),'startColumn':_0x4c11e0,'endColumn':_0x4c11e0+_0x51c7f8-0x1};}[_0x2e5aff(0x16f)](){const _0x2d2c9c=_0x2e5aff;return this[_0x2d2c9c(0x1d7)](this[_0x2d2c9c(0x227)](),_0x4351dd['DocsTableSelectionKind'][_0x2d2c9c(0x21b)]);}[_0x2e5aff(0x184)](_0x438a55){const _0x3b6eea=_0x2e5aff;return this[_0x3b6eea(0x16c)](_0x438a55,0x1);}[_0x2e5aff(0x16c)](_0x5c15e1,_0x56f320=0x1){const _0xce430e=_0x2e5aff;return this[_0xce430e(0x1d7)](this[_0xce430e(0x14b)](_0x5c15e1,_0x56f320),_0x4351dd[_0xce430e(0x212)][_0xce430e(0x150)]);}['selectColumn'](_0x5cb521){const _0x20689f=_0x2e5aff;return this[_0x20689f(0x1e7)](_0x5cb521,0x1);}[_0x2e5aff(0x1e7)](_0x2aeecb,_0x4dec87=0x1){const _0x37bbfe=_0x2e5aff;return this[_0x37bbfe(0x1d7)](this[_0x37bbfe(0x1d0)](_0x2aeecb,_0x4dec87),_0x4351dd[_0x37bbfe(0x212)][_0x37bbfe(0x1f4)]);}[_0x2e5aff(0x213)](_0x299465,_0x46f11c){const _0x43bea3=_0x2e5aff;return this[_0x43bea3(0x1d7)](this[_0x43bea3(0x1d4)](_0x299465,_0x46f11c),_0x4351dd[_0x43bea3(0x212)][_0x43bea3(0x182)]);}[_0x2e5aff(0x1d7)](_0x4af4a5,_0x4dbd0a=_0x4351dd['DocsTableSelectionKind'][_0x2e5aff(0x1eb)]){const _0x2883ca=_0x2e5aff;return this[_0x2883ca(0x18a)][_0x2883ca(0x1be)](_0x4351dd[_0x2883ca(0x222)])[_0x2883ca(0x1f0)]({..._0x4af4a5,'kind':_0x4dbd0a,'segmentId':this[_0x2883ca(0x18f)],'tableId':this[_0x2883ca(0x21e)]}),!0x0;}[_0x2e5aff(0x1ac)](_0x3f2c84){const _0x101c57=_0x2e5aff;return this[_0x101c57(0x228)](_0x3f2c84,0x1);}['insertRowAfter'](_0x1dea3c){const _0x4a1aa0=_0x2e5aff;return this[_0x4a1aa0(0x1e3)](_0x1dea3c,0x1);}[_0x2e5aff(0x228)](_0xd6104f,_0xa54425){const _0x439b7a=_0x2e5aff;let _0x52a173=this[_0x439b7a(0x16a)](),_0x4478de=(0x0,_0x4351dd[_0x439b7a(0x217)])(_0x52a173,this[_0x439b7a(0x21e)],_0xd6104f,_0xa54425,_0x4351dd[_0x439b7a(0x1b8)][_0x439b7a(0x207)],this[_0x439b7a(0x1bd)]());return _0x4478de?this[_0x439b7a(0x1a2)](_0x52a173,_0x4478de[_0x439b7a(0x156)]):!0x1;}[_0x2e5aff(0x1e3)](_0x5714c2,_0x1bdee2){const _0x1dba34=_0x2e5aff;let _0x12286f=this['_getDocumentData'](),_0x3a3847=(0x0,_0x4351dd[_0x1dba34(0x217)])(_0x12286f,this[_0x1dba34(0x21e)],_0x5714c2,_0x1bdee2,_0x4351dd[_0x1dba34(0x1b8)][_0x1dba34(0x181)],this[_0x1dba34(0x1bd)]());return _0x3a3847?this[_0x1dba34(0x1a2)](_0x12286f,_0x3a3847[_0x1dba34(0x156)]):!0x1;}[_0x2e5aff(0x166)](){const _0x2f2f4e=_0x2e5aff;return this['insertRowsAfter'](Math[_0x2f2f4e(0x1b7)](0x0,this[_0x2f2f4e(0x168)]()-0x1),0x1);}[_0x2e5aff(0x15c)](_0x24f5ae){const _0x5d2d43=_0x2e5aff;return this[_0x5d2d43(0x1e0)](_0x24f5ae,0x1);}['insertColumnAfter'](_0x1af26a){const _0xc873f=_0x2e5aff;return this[_0xc873f(0x17f)](_0x1af26a,0x1);}[_0x2e5aff(0x1e0)](_0x1a1ae1,_0x1501d0){const _0x575e71=_0x2e5aff;let _0x59eecf=this[_0x575e71(0x16a)](),_0x756db5=(0x0,_0x4351dd[_0x575e71(0x180)])(_0x59eecf,this['_tableId'],_0x1a1ae1,_0x1501d0,_0x4351dd['DocsTableInsertPosition']['Left'],{'bodyPath':this[_0x575e71(0x1bd)]()});return _0x756db5?this[_0x575e71(0x1a2)](_0x59eecf,_0x756db5[_0x575e71(0x156)]):!0x1;}[_0x2e5aff(0x17f)](_0x3e5edb,_0x3c3c3d){const _0x54891b=_0x2e5aff;let _0x2402f6=this[_0x54891b(0x16a)](),_0x551880=(0x0,_0x4351dd[_0x54891b(0x180)])(_0x2402f6,this['_tableId'],_0x3e5edb,_0x3c3c3d,_0x4351dd[_0x54891b(0x1b8)][_0x54891b(0x1d9)],{'bodyPath':this[_0x54891b(0x1bd)]()});return _0x551880?this['_mutateActions'](_0x2402f6,_0x551880[_0x54891b(0x156)]):!0x1;}['appendColumn'](){const _0x4da1a8=_0x2e5aff;return this[_0x4da1a8(0x17f)](Math['max'](0x0,this[_0x4da1a8(0x1e5)]()-0x1),0x1);}[_0x2e5aff(0x1e9)](_0x3634ec){const _0x232bd1=_0x2e5aff;return this[_0x232bd1(0x183)](_0x3634ec,0x1);}[_0x2e5aff(0x183)](_0x2bafbb,_0x1eb23d=0x1){const _0x1d5dec=_0x2e5aff;let _0x1f833a=this[_0x1d5dec(0x16a)](),_0x1845ee=(0x0,_0x4351dd[_0x1d5dec(0x1a6)])(_0x1f833a,this[_0x1d5dec(0x21e)],_0x2bafbb,_0x2bafbb+_0x1eb23d-0x1,this['_getBodyPath']());return _0x1845ee?this[_0x1d5dec(0x1a2)](_0x1f833a,_0x1845ee[_0x1d5dec(0x156)]):!0x1;}[_0x2e5aff(0x21f)](_0x4e9d4b){const _0x1921a4=_0x2e5aff;return this[_0x1921a4(0x1e8)](_0x4e9d4b,0x1);}[_0x2e5aff(0x1e8)](_0x45704a,_0x445314=0x1){const _0x4d9e85=_0x2e5aff;let _0x3e05b6=this[_0x4d9e85(0x16a)](),_0x1271b8=(0x0,_0x4351dd['buildDeleteTableColumnsMutationActions'])(_0x3e05b6,this['_tableId'],_0x45704a,_0x45704a+_0x445314-0x1,this[_0x4d9e85(0x1bd)]());return _0x1271b8?this['_mutateActions'](_0x3e05b6,_0x1271b8['actions']):!0x1;}['deleteTable'](){const _0x1e3a7a=_0x2e5aff;let _0x2ee90e=this[_0x1e3a7a(0x16a)](),_0x236ce8=(0x0,_0x4351dd[_0x1e3a7a(0x189)])(_0x2ee90e,this[_0x1e3a7a(0x21e)],this[_0x1e3a7a(0x1bd)]());return _0x236ce8?this['_mutateActions'](_0x2ee90e,_0x236ce8[_0x1e3a7a(0x156)]):!0x1;}[_0x2e5aff(0x16e)](_0x3d431a,_0x341047){const _0x34587c=_0x2e5aff;let _0x34e110=this[_0x34587c(0x16a)]();return this[_0x34587c(0x1a2)](_0x34e110,(0x0,_0x4351dd[_0x34587c(0x1f3)])(_0x34e110,this[_0x34587c(0x21e)],_0x3d431a,_0x341047));}[_0x2e5aff(0x159)](_0x265a98){const _0x5066ff=_0x2e5aff;let _0xaa6672=this[_0x5066ff(0x16a)]();return this['_mutateActions'](_0xaa6672,(0x0,_0x4351dd[_0x5066ff(0x170)])(_0xaa6672,this['_tableId'],_0x265a98,this[_0x5066ff(0x1bd)]()));}[_0x2e5aff(0x1d8)](_0x246228,_0x458f9b,_0x4ce127=_0x4351dd[_0x2e5aff(0x1b8)]['Above']){const _0x93e6d2=_0x2e5aff;return this[_0x93e6d2(0x162)](_0x246228,0x1,_0x458f9b,_0x4ce127);}['moveRows'](_0x5648c1,_0x30334,_0x4422fc,_0x553aa4=_0x4351dd['DocsTableInsertPosition'][_0x2e5aff(0x207)]){const _0xb5c3d1=_0x2e5aff;let _0x11e539=this[_0xb5c3d1(0x16a)](),_0x2b3f87=(0x0,_0x4351dd['buildMoveTableRowsMutationActions'])(_0x11e539,this[_0xb5c3d1(0x21e)],_0x5648c1,_0x4422fc,_0x30334,_0x553aa4,this[_0xb5c3d1(0x1bd)]());return _0x2b3f87?this[_0xb5c3d1(0x1a2)](_0x11e539,_0x2b3f87[_0xb5c3d1(0x156)]):!0x1;}[_0x2e5aff(0x1aa)](_0x1f66cd,_0x4c413d,_0x1b74b8=_0x4351dd[_0x2e5aff(0x1b8)][_0x2e5aff(0x201)]){const _0x288de6=_0x2e5aff;return this[_0x288de6(0x1b1)](_0x1f66cd,0x1,_0x4c413d,_0x1b74b8);}[_0x2e5aff(0x1b1)](_0x450588,_0x4f80a0,_0x146daa,_0x42663f=_0x4351dd[_0x2e5aff(0x1b8)]['Left']){const _0x4c0555=_0x2e5aff;let _0x4ab7ed=this[_0x4c0555(0x16a)](),_0x2a2904=(0x0,_0x4351dd[_0x4c0555(0x15b)])(_0x4ab7ed,this['_tableId'],_0x450588,_0x146daa,_0x4f80a0,_0x42663f,this[_0x4c0555(0x1bd)]());return _0x2a2904?this['_mutateActions'](_0x4ab7ed,_0x2a2904[_0x4c0555(0x156)]):!0x1;}[_0x2e5aff(0x160)](_0x3d8392){const _0x3de8cc=_0x2e5aff;try{let _0x2f7c93=this['_getDocumentData'](),_0x17148a=(0x0,_0x4351dd[_0x3de8cc(0x14f)])({'documentData':_0x2f7c93,'tableId':this[_0x3de8cc(0x21e)],..._0x3d8392});return _0x17148a?this['_mutateActions'](_0x2f7c93,_0x17148a[_0x3de8cc(0x156)],_0x3d8392):!0x1;}catch{return!0x1;}}[_0x2e5aff(0x1c1)](_0x28377e){const _0xc06778=_0x2e5aff;try{let _0x38aca4=this[_0xc06778(0x16a)](),_0x262c3a=(0x0,_0x4351dd[_0xc06778(0x1bc)])({'documentData':_0x38aca4,'tableId':this[_0xc06778(0x21e)],..._0x28377e});return _0x262c3a?this[_0xc06778(0x1a2)](_0x38aca4,_0x262c3a[_0xc06778(0x156)],_0x28377e):!0x1;}catch{return!0x1;}}[_0x2e5aff(0x1e2)](_0x4e1686,_0x2b5105,_0x34b19c){const _0x38e0c9=_0x2e5aff;let _0x1a9bbc=this[_0x38e0c9(0x16a)](),_0x3a7179=(0x0,_0x4351dd['getTableActionBodyPath'])(this[_0x38e0c9(0x1ef)][_0x38e0c9(0x1c4)]()[_0x38e0c9(0x198)](),this['_segmentId']);return this[_0x38e0c9(0x1a2)](_0x1a9bbc,(0x0,_0x4351dd['buildSetTableCellTextMutationActions'])({'documentData':_0x1a9bbc,'tableId':this[_0x38e0c9(0x21e)],'row':_0x4e1686,'column':_0x2b5105,'text':_0x34b19c},_0x3a7179),this[_0x38e0c9(0x1d4)](_0x4e1686,_0x2b5105));}[_0x2e5aff(0x1d5)](_0x2b27e0,_0x2ea1ba){const _0x3ff3e7=_0x2e5aff;let _0x4cc1f1=this['_getDocumentData']();return this[_0x3ff3e7(0x1a2)](_0x4cc1f1,(0x0,_0x4351dd[_0x3ff3e7(0x209)])(_0x4cc1f1,{'tableId':this[_0x3ff3e7(0x21e)],..._0x2b27e0,'value':_0x2ea1ba}),_0x2b27e0);}[_0x2e5aff(0x1f5)](_0x1f76d2,_0x2346e2){const _0x12b01a=_0x2e5aff;let _0x33d2f9=this[_0x12b01a(0x16a)]();return this[_0x12b01a(0x1a2)](_0x33d2f9,(0x0,_0x4351dd['buildSetTableCellMarginMutationActions'])({'documentData':_0x33d2f9,'tableId':this[_0x12b01a(0x21e)],..._0x1f76d2,'margin':_0x2346e2}),_0x1f76d2);}['setDefaultCellMargin'](_0x4c23f7){const _0xc3c6cc=_0x2e5aff;let _0x63f462=this['_getDocumentData']();return this[_0xc3c6cc(0x1a2)](_0x63f462,(0x0,_0x4351dd[_0xc3c6cc(0x177)])(_0x63f462,this['_tableId'],_0x4c23f7));}[_0x2e5aff(0x19f)](_0x2a716b,_0x4b251e){const _0x37823a=_0x2e5aff;let _0x9513be=this[_0x37823a(0x16a)]();return this['_mutateActions'](_0x9513be,(0x0,_0x4351dd[_0x37823a(0x205)])({'documentData':_0x9513be,'tableId':this[_0x37823a(0x21e)],..._0x2a716b,'preset':_0x4b251e['preset']??_0x4351dd['DocsTableBorderPreset'][_0x37823a(0x1ce)],'border':_0x4b251e['border']??{'color':{'rgb':_0x4b251e[_0x37823a(0x199)]??_0x37823a(0x153)},'width':{'v':_0x4b251e[_0x37823a(0x176)]??0x1},'dashStyle':_0x500470[_0x37823a(0x1ca)][_0x37823a(0x224)]}}),_0x2a716b);}[_0x2e5aff(0x167)](_0x5d1ac3){const _0x4a1576=_0x2e5aff;return this[_0x4a1576(0x1d5)](this[_0x4a1576(0x227)](),_0x5d1ac3);}[_0x2e5aff(0x1d1)](_0x1de702){const _0x392d16=_0x2e5aff;return this[_0x392d16(0x19f)](this[_0x392d16(0x227)](),_0x1de702);}['setTableStyle'](_0xda1252){const _0x22d34=_0x2e5aff;let _0x4cbd17=!_0xda1252[_0x22d34(0x1b3)]||this[_0x22d34(0x167)](_0xda1252[_0x22d34(0x1b3)]),_0x4c19e0=!_0xda1252[_0x22d34(0x1ec)]||this[_0x22d34(0x1d1)](_0xda1252[_0x22d34(0x1ec)]);return _0x4cbd17&&_0x4c19e0;}['setRowHeight'](_0x20ef1b,_0x33397b,_0x57e92b=_0x500470['TableRowHeightRule'][_0x2e5aff(0x17d)]){const _0x4c6cc5=_0x2e5aff;var _0x18a119;let _0x249de0=this[_0x4c6cc5(0x16a)]();return(_0x18a119=_0x249de0[_0x4c6cc5(0x211)])!=null&&(_0x18a119=_0x18a119[this[_0x4c6cc5(0x21e)]])!=null&&_0x18a119[_0x4c6cc5(0x158)][_0x20ef1b]?this[_0x4c6cc5(0x1a2)](_0x249de0,(0x0,_0x4351dd[_0x4c6cc5(0x20d)])(_0x249de0,this[_0x4c6cc5(0x21e)],_0x20ef1b,_0x33397b,_0x57e92b)):!0x1;}['getRowHeight'](_0x59179f){const _0x59f75a=_0x2e5aff;var _0x594a08;let _0x105a15=(_0x594a08=this[_0x59f75a(0x1cd)]())==null||(_0x594a08=_0x594a08[_0x59f75a(0x158)][_0x59179f])==null?void 0x0:_0x594a08[_0x59f75a(0x20e)];return _0x105a15?_0x500470[_0x59f75a(0x1ba)]['deepClone'](_0x105a15):null;}[_0x2e5aff(0x1d3)](_0x1cdd4f,_0x5bcc36){const _0x510dc1=_0x2e5aff;var _0x45044b;let _0x25d835=this[_0x510dc1(0x16a)]();return(_0x45044b=_0x25d835[_0x510dc1(0x211)])!=null&&(_0x45044b=_0x45044b[this['_tableId']])!=null&&_0x45044b['tableColumns'][_0x1cdd4f]?this[_0x510dc1(0x1a2)](_0x25d835,(0x0,_0x4351dd[_0x510dc1(0x15a)])(_0x25d835,this[_0x510dc1(0x21e)],_0x1cdd4f,_0x5bcc36)):!0x1;}[_0x2e5aff(0x20b)](_0x427322=0x0,_0x14050e=this[_0x2e5aff(0x168)]()){const _0x8c83b=_0x2e5aff;let _0x512b3c=this[_0x8c83b(0x16a)]();return this[_0x8c83b(0x1a2)](_0x512b3c,(0x0,_0x4351dd[_0x8c83b(0x1a5)])(_0x512b3c,this[_0x8c83b(0x21e)],_0x427322,_0x427322+_0x14050e-0x1));}[_0x2e5aff(0x218)](_0x29a90c=0x0,_0x52ffc7=this[_0x2e5aff(0x1e5)]()){const _0x56171b=_0x2e5aff;let _0x496175=this[_0x56171b(0x16a)]();return this['_mutateActions'](_0x496175,(0x0,_0x4351dd[_0x56171b(0x1d6)])(_0x496175,this['_tableId'],_0x29a90c,_0x29a90c+_0x52ffc7-0x1));}['getHeaderRowCount'](){const _0x119c8d=_0x2e5aff;var _0xb8a6a4;return((_0xb8a6a4=this[_0x119c8d(0x16b)]())==null?void 0x0:_0xb8a6a4[_0x119c8d(0x152)])??0x0;}[_0x2e5aff(0x151)](_0x305317){const _0xf186d4=_0x2e5aff;let _0x17b6f7=this['_injector'][_0xf186d4(0x1be)](_0x4351dd[_0xf186d4(0x1c6)]),_0x303b93=this[_0xf186d4(0x16a)](),_0x4115e7=(0x0,_0x4351dd[_0xf186d4(0x17a)])(_0x303b93,this['_tableId'],_0x305317);if(!_0x4115e7)return!0x1;let _0x2b4381=this[_0xf186d4(0x1a2)](_0x303b93,_0x4115e7['actions']);return _0x2b4381&&_0x17b6f7['setHeaderRowCount'](this[_0xf186d4(0x169)],this[_0xf186d4(0x21e)],_0x4115e7[_0xf186d4(0x152)]),_0x2b4381;}['pinHeaderRows'](_0x588bcb){const _0x363ec1=_0x2e5aff;return this[_0x363ec1(0x151)](_0x588bcb);}[_0x2e5aff(0x204)](){const _0x113d2c=_0x2e5aff;var _0x3ed690;return((_0x3ed690=this[_0x113d2c(0x16b)]())==null?void 0x0:_0x3ed690[_0x113d2c(0x19b)])??!0x1;}[_0x2e5aff(0x1c2)](){const _0x23441a=_0x2e5aff;let _0x312ac0=this['_injector'][_0x23441a(0x1be)](_0x4351dd[_0x23441a(0x1c6)]),_0x1e2170=this[_0x23441a(0x16a)](),_0x5d1d13=(0x0,_0x4351dd[_0x23441a(0x193)])(_0x1e2170,this['_tableId'],this[_0x23441a(0x1bd)]());if(!_0x5d1d13)return!0x1;let _0x5e1bdf=this[_0x23441a(0x1a2)](_0x1e2170,_0x5d1d13[_0x23441a(0x156)]);return _0x5e1bdf&&_0x312ac0[_0x23441a(0x1a1)](this['_unitId'],this[_0x23441a(0x21e)],!0x0),_0x5e1bdf;}[_0x2e5aff(0x14d)](_0x522ed7,_0x455201){const _0x5efba8=_0x2e5aff;return this[_0x5efba8(0x18a)]['get'](_0x4351dd['DocsTableModel'])[_0x5efba8(0x14d)](this[_0x5efba8(0x169)],this[_0x5efba8(0x21e)],_0x522ed7,_0x455201),!0x0;}[_0x2e5aff(0x17b)](_0x1dbedb,_0x5307a1){const _0x2ccfee=_0x2e5aff;let _0x513b21=this['_getDocumentData']();return this[_0x2ccfee(0x1a2)](_0x513b21,(0x0,_0x4351dd['buildSortTableMutationActions'])(_0x513b21,this['_serializeModel'](),this[_0x2ccfee(0x21e)],_0x1dbedb,_0x5307a1,this['_getBodyPath']()));}[_0x2e5aff(0x16a)](){const _0x5f274e=_0x2e5aff;let _0x3c211e=this[_0x5f274e(0x1ef)]['getDocumentDataModel']()[_0x5f274e(0x198)]();return this[_0x5f274e(0x18f)]?{...this[_0x5f274e(0x1ef)][_0x5f274e(0x1c4)](this['_segmentId'])[_0x5f274e(0x198)](),'documentStyle':_0x3c211e[_0x5f274e(0x1b5)],'tableSource':_0x3c211e[_0x5f274e(0x211)]}:_0x3c211e;}[_0x2e5aff(0x220)](){const _0x35cb86=_0x2e5aff;return this[_0x35cb86(0x18a)][_0x35cb86(0x1be)](_0x4351dd[_0x35cb86(0x1c6)])['serialize'](this[_0x35cb86(0x169)]);}[_0x2e5aff(0x1bd)](){const _0x3b198c=_0x2e5aff;return(0x0,_0x4351dd[_0x3b198c(0x19e)])(this[_0x3b198c(0x1ef)][_0x3b198c(0x1c4)]()[_0x3b198c(0x198)](),this[_0x3b198c(0x18f)]);}[_0x2e5aff(0x1a2)](_0x3ced4b,_0x41089f,_0x402626){const _0x40b6be=_0x2e5aff;return(0x0,_0x4351dd['executeRichTextTableActions'])(this[_0x40b6be(0x18a)][_0x40b6be(0x1be)](_0x500470[_0x40b6be(0x1fa)]),this['_unitId'],_0x3ced4b,_0x41089f,_0x402626?{'tableId':this[_0x40b6be(0x21e)],'segmentId':this[_0x40b6be(0x18f)],..._0x402626}:void 0x0);}},_0xfaef3f=class extends _0x1f8921['FDocument']{[_0x2e5aff(0x15f)](_0x5c3a22=''){const _0x10fea4=_0x2e5aff;return this['_getTables'](_0x5c3a22)[_0x10fea4(0x175)](_0x5351f9=>this[_0x10fea4(0x1fd)](_0x5351f9[_0x10fea4(0x163)],_0x5c3a22));}[_0x2e5aff(0x161)](_0x177310,_0x5839fc=''){const _0x594c15=_0x2e5aff;return this[_0x594c15(0x19c)](_0x5839fc)[_0x594c15(0x18b)](_0x3e3bbc=>_0x3e3bbc[_0x594c15(0x163)]===_0x177310)?this[_0x594c15(0x1fd)](_0x177310,_0x5839fc):null;}[_0x2e5aff(0x1fc)](_0x393fc4,_0x332c42=''){const _0xe2862a=_0x2e5aff;var _0x23bbb5;let _0x31500c=(_0x23bbb5=this['_getTables'](_0x332c42)[_0x393fc4])==null?void 0x0:_0x23bbb5[_0xe2862a(0x163)];return _0x31500c?this[_0xe2862a(0x1fd)](_0x31500c,_0x332c42):null;}['getTableAtSelection'](){const _0x494287=_0x2e5aff;let _0xcb1154=this['_injector'][_0x494287(0x1be)](_0x4351dd[_0x494287(0x222)])[_0x494287(0x15e)]();return _0xcb1154!=null&&_0xcb1154[_0x494287(0x163)]?this[_0x494287(0x1fd)](_0xcb1154[_0x494287(0x163)],_0xcb1154[_0x494287(0x1b4)]):null;}[_0x2e5aff(0x1ea)](_0x2b76c2,_0x122796=''){const _0x23ac1b=_0x2e5aff;return this[_0x23ac1b(0x20f)](_0x2b76c2,_0x122796)[0x0]??null;}[_0x2e5aff(0x20f)](_0x10e2e2,_0x304868=''){const _0x2ab534=_0x2e5aff;let _0x1f89a0=this['_getTableDocumentData'](_0x304868),_0x5a9804=typeof _0x10e2e2==_0x2ab534(0x186)?{'text':_0x10e2e2}:_0x10e2e2;return this[_0x2ab534(0x15f)](_0x304868)[_0x2ab534(0x1ae)](_0x58ceac=>{const _0x58c153=_0x2ab534;let _0x439df1=_0x58ceac[_0x58c153(0x1de)]();return!(_0x5a9804[_0x58c153(0x163)]&&_0x439df1!==_0x5a9804[_0x58c153(0x163)]||_0x5a9804[_0x58c153(0x171)]&&!this[_0x58c153(0x1db)](_0x1f89a0,_0x439df1,_0x5a9804[_0x58c153(0x171)])||_0x5a9804['headerText']&&!this[_0x58c153(0x229)](_0x58ceac,0x0,_0x5a9804['headerText'])||_0x5a9804['titleText']&&!this[_0x58c153(0x229)](_0x58ceac,0x0,_0x5a9804[_0x58c153(0x1a9)]));});}[_0x2e5aff(0x20a)](_0x5a2ae4,_0x7f5698,_0x5a8bd5={}){const _0x28364d=_0x2e5aff;let _0x2bed9b=this['_injector'][_0x28364d(0x1be)](_0x500470['ICommandService']),_0x10063d=_0x5a8bd5['tableId']??(0x0,_0x500470[_0x28364d(0x1af)])(0x6);return _0x2bed9b[_0x28364d(0x195)](_0x4351dd[_0x28364d(0x223)]['id'],{..._0x5a8bd5,'unitId':this[_0x28364d(0x1de)](),'rows':_0x5a2ae4,'columns':_0x7f5698,'tableId':_0x10063d})?this[_0x28364d(0x1fd)](_0x10063d,_0x5a8bd5[_0x28364d(0x1b4)]??''):null;}[_0x2e5aff(0x179)](_0x8864e4,_0x2d5cd6={}){const _0x5662ac=_0x2e5aff;let _0xc20a40=this[_0x5662ac(0x18a)][_0x5662ac(0x1be)](_0x500470[_0x5662ac(0x1fa)]),_0x35709f=_0x2d5cd6[_0x5662ac(0x163)]??(0x0,_0x500470[_0x5662ac(0x1af)])(0x6);return _0xc20a40[_0x5662ac(0x195)](_0x4351dd[_0x5662ac(0x223)]['id'],{..._0x2d5cd6,'unitId':this[_0x5662ac(0x1de)](),'values':_0x8864e4,'tableId':_0x35709f})?this[_0x5662ac(0x1fd)](_0x35709f,_0x2d5cd6['segmentId']??''):null;}[_0x2e5aff(0x19c)](_0x3e0106=''){const _0x28bc31=_0x2e5aff;let {tables:_0x2b3cf8=[]}=this[_0x28bc31(0x1b0)](_0x3e0106);return _0x2b3cf8;}[_0x2e5aff(0x1cf)](_0x395e24=''){const _0x3dd85b=_0x2e5aff;let _0x57053b=this['getDocumentDataModel']()['getSnapshot']();return _0x395e24?{...this['getDocumentDataModel'](_0x395e24)[_0x3dd85b(0x198)](),'documentStyle':_0x57053b[_0x3dd85b(0x1b5)],'tableSource':_0x57053b[_0x3dd85b(0x211)]}:_0x57053b;}[_0x2e5aff(0x1fd)](_0xa86138,_0x43f28d=''){const _0x573348=_0x2e5aff;return this[_0x573348(0x18a)]['createInstance'](_0x29c538,this,_0xa86138,_0x43f28d,this[_0x573348(0x18a)]);}[_0x2e5aff(0x1db)](_0x58bc4d,_0x5706f3,_0x3d30b8){const _0x3a825c=_0x2e5aff;var _0x5e448d;let _0xa58ae1=(0x0,_0x4351dd[_0x3a825c(0x1e6)])(_0x58bc4d,_0x5706f3);if(!_0xa58ae1)return!0x1;let _0x37f27d=(_0x5e448d=_0x58bc4d[_0x3a825c(0x1cc)])==null?void 0x0:_0x5e448d[_0x3a825c(0x216)];return _0x37f27d?_0x37f27d[_0x3a825c(0x16d)](_0xa58ae1['startOffset'],_0xa58ae1[_0x3a825c(0x1a4)])[_0x3a825c(0x1c3)](_0x3d30b8):!0x1;}['_rowContainsText'](_0x3200e3,_0x16b781,_0x18d06d){const _0x516a19=_0x2e5aff;return Array[_0x516a19(0x194)]({'length':_0x3200e3[_0x516a19(0x1e5)]()},(_0x3fa9a5,_0x41759a)=>_0x3200e3[_0x516a19(0x22c)](_0x16b781,_0x41759a))[_0x516a19(0x18b)](_0x4e96c2=>_0x4e96c2['includes'](_0x18d06d));}};_0x1f8921[_0x2e5aff(0x1da)][_0x2e5aff(0x20c)](_0xfaef3f),_0x53987e[_0x2e5aff(0x200)]=_0x29c538,_0x53987e[_0x2e5aff(0x210)]=_0x11660d;}));
|