@univerjs-pro/docs-table 1.0.0-beta.0 → 1.0.0-beta.2
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/commands/delete-columns.command.d.ts +4 -3
- package/lib/types/commands/delete-rows.command.d.ts +4 -3
- package/lib/types/commands/delete-table.command.d.ts +2 -1
- package/lib/types/facade/f-document-table.d.ts +4 -3
- 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 +7 -7
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4be2ba=_0x45d7;(function(_0x2f40a4,_0x20a4f3){const _0x5df94f=_0x45d7,_0x1deb22=_0x2f40a4();while(!![]){try{const _0x1dd3cd=-parseInt(_0x5df94f(0x1fd))/0x1+parseInt(_0x5df94f(0x1f4))/0x2*(parseInt(_0x5df94f(0x249))/0x3)+-parseInt(_0x5df94f(0x256))/0x4+parseInt(_0x5df94f(0x24d))/0x5*(-parseInt(_0x5df94f(0x1ef))/0x6)+-parseInt(_0x5df94f(0x227))/0x7+parseInt(_0x5df94f(0x26b))/0x8+parseInt(_0x5df94f(0x1d4))/0x9;if(_0x1dd3cd===_0x20a4f3)break;else _0x1deb22['push'](_0x1deb22['shift']());}catch(_0x2661cc){_0x1deb22['push'](_0x1deb22['shift']());}}}(_0xed0b,0xd1aac));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x128c72,DocsTableBorderPreset as _0x586c50,DocsTableColumnInsertPosition as _0x5d1b09,DocsTableColumnType as _0x168d91,DocsTableInsertPosition as _0x1a77ca,DocsTableInsertTableCommand as _0x1a8727,DocsTableInsertTablePosition as _0x24d10c,DocsTableModel as _0x327ad5,DocsTableRowInsertPosition as _0x1cc6c3,DocsTableSelectionKind as _0x2e7991,DocsTableSelectionService as _0x4faa51,DocsTableSortDirection as _0x3df64f,buildDeleteTableColumnsMutationActions as _0x18e7bc,buildDeleteTableMutationActions as _0x58547b,buildDeleteTableRowsMutationActions as _0x24d29a,buildDistributeTableColumnsMutationActions as _0x8489c6,buildDistributeTableRowsMutationActions as _0x2ec348,buildInsertTableColumnsMutationActions as _0x28c1c8,buildInsertTableRowsMutationActions as _0x5a0282,buildInsertTableTitleRowMutationActions as _0x10e7d2,buildMergeCellsMutationActions as _0x38ecaf,buildMoveFloatingTableMutationActions as _0x1cff2d,buildMoveTableColumnsMutationActions as _0x4934cb,buildMoveTableRowsMutationActions as _0x21e560,buildMoveTableToOffsetMutationActions as _0x34e03c,buildResizeTableColumnActionsFromWidth as _0x483a45,buildResizeTableRowActionsFromHeight as _0x256a53,buildSetTableBackgroundMutationActions as _0x4d126b,buildSetTableBorderMutationActions as _0x5ee826,buildSetTableCellMarginMutationActions as _0x4a5ca6,buildSetTableCellTextMutationActions as _0x11bcea,buildSetTableDefaultCellMarginMutationActions as _0x571f78,buildSetTableHeaderRowCountMutationActions as _0x3e5107,buildSortTableMutationActions as _0x545c73,buildUnmergeCellsMutationActions as _0x240436,executeRichTextTableActions as _0x518639,getTableActionBodyPath as _0x39cf3e,getTableRangeById as _0xfdef28}from'@univerjs-pro/docs-table';import{DashStyleType as _0x3638cc,ICommandService as _0x3986b4,TableRowHeightRule as _0x4c55db,Tools as _0x17fac4,generateRandomId as _0x50ccad}from'@univerjs/core';import{FEnum as _0x39707c}from'@univerjs/core/facade';import{FDocument as _0x2e94be}from'@univerjs/docs/facade';var G=class extends _0x39707c{get[_0x4be2ba(0x1f8)](){return _0x24d10c;}get[_0x4be2ba(0x245)](){return _0x168d91;}get[_0x4be2ba(0x1d3)](){return _0x2e7991;}get[_0x4be2ba(0x262)](){return _0x1cc6c3;}get[_0x4be2ba(0x203)](){return _0x5d1b09;}get[_0x4be2ba(0x1e6)](){return _0x586c50;}get['DocsTableSortDirection'](){return _0x3df64f;}get['DashStyleType'](){return _0x3638cc;}};function _0x45d7(_0x3488a0,_0x430beb){_0x3488a0=_0x3488a0-0x1c5;const _0xed0b95=_0xed0b();let _0x45d731=_0xed0b95[_0x3488a0];return _0x45d731;}_0x39707c['extend'](G);function _0xed0b(){const _0x14b3b6=['body','headerRowCount','_getTableDocumentData','_tableContainsText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Below','mergeCells','_createFDocumentTable','string','_getDocumentData','type','defineProperty','DocsTableSelectionKind','22920336RvnBQe','hasTitleRow','mergeTo','getCellInsertOffset','selectRow','getCell','SOLID','toPrimitive','setStructuralSelection','setBorder','documentStyle','tableId','titleText','preset','slice','actions','selectColumns','getSource','DocsTableBorderPreset','Cell','syncExecuteCommand','clearMarginOverride','_document','getMargin','filter','getHeaderRowCount','distributeColumns','5918466rkZUBX','insertRowsAfter','includes','segmentId','deleteRows','990442YTgLWO','tableCells','setTableBorder','_tableId','DocsTableInsertTablePosition','getTable','getTableRange','length','cells','912471LHONFx','map','from','getDefaultCellMarginOverride','getBody','insertTableFromData','DocsTableColumnInsertPosition','getDocumentDataModel','backgroundColor','setTableBackground','getInfo','_getBodyPath','getCellContentRange','get','border','dataStream','setCellMargin','selectRows','unmerge','deleteTable','deleteRow','getDefaultCellMargin','pinHeaderRows','width','function','_getTables','getTables','setRowHeight','createInstance','endOffset','_unitId','rows','call','getCellRange','getInsertOffset','getRowsRange','insertColumnsAfter','insertColumnBefore','getCellMarginOverride','insertColumnAfter','getId','_column','10966543GROaWz','getCellText','_table','appendColumn','selectColumn','findTables','columnTypes','getColumnsRange','tableRows','setCellText','_serializeModel','cellMargin','selectTable','findTableByText','color','some','_row','titleRow','Left','insertTitleRow','text','_injector','Table','setBackgroundColor','setColumnType','_mutateActions','_rowContainsText','setText','getRowIndex','setDefaultCellMargin','DocsTableColumnType','Above','tableColumns','insertTable','6PrVgRX','getRowRange','headerText','getContentRange','5BwkxWX','insertRowAfter','deepClone','AT_LEAST','moveColumns','getSnapshot','symbol','setTableStyle','getRowHeight','3573612EVhsST','tableSource','setColumnWidth','moveRows','getColumnIndex','getRowCount','object','getColumnCount','#1f1f1f','constructor','insertRowsBefore','margin','DocsTableRowInsertPosition','setHeaderRowCount','setCellBackground','unmergeCells','_segmentId','moveRow','selectRange','getCellMargin','getText','13444672yOvjDV','default','getTableMetadata','getMetadata','getColumnRange','insertRowBefore','getTableAtSelection','max','All','deleteColumns','insertColumnsBefore','size','startOffset'];_0xed0b=function(){return _0x14b3b6;};return _0xed0b();}var K=class{constructor(_0x3525f1,_0xae4afe,_0x56386e){const _0x1fcf0d=_0x4be2ba;this[_0x1fcf0d(0x229)]=_0x3525f1,this['_row']=_0xae4afe,this['_column']=_0x56386e;}['getTable'](){const _0x49563c=_0x4be2ba;return this[_0x49563c(0x229)];}[_0x4be2ba(0x243)](){const _0x281fc1=_0x4be2ba;return this[_0x281fc1(0x237)];}[_0x4be2ba(0x25a)](){const _0x3cdd34=_0x4be2ba;return this[_0x3cdd34(0x226)];}[_0x4be2ba(0x26a)](){const _0x353fe0=_0x4be2ba;return this[_0x353fe0(0x229)][_0x353fe0(0x228)](this[_0x353fe0(0x237)],this[_0x353fe0(0x226)]);}[_0x4be2ba(0x24c)](){const _0x51f00a=_0x4be2ba;return this[_0x51f00a(0x229)]['getCellContentRange'](this[_0x51f00a(0x237)],this['_column']);}[_0x4be2ba(0x21f)](){const _0x231740=_0x4be2ba;return this[_0x231740(0x229)][_0x231740(0x1d7)](this[_0x231740(0x237)],this['_column']);}[_0x4be2ba(0x1eb)](){const _0x30948f=_0x4be2ba;return this[_0x30948f(0x229)][_0x30948f(0x269)](this[_0x30948f(0x237)],this['_column']);}['getMarginOverride'](){const _0x167c63=_0x4be2ba;return this[_0x167c63(0x229)][_0x167c63(0x223)](this[_0x167c63(0x237)],this[_0x167c63(0x226)]);}['setMargin'](_0x260bc9){const _0x595085=_0x4be2ba;return this[_0x595085(0x229)][_0x595085(0x20d)](this['_table'][_0x595085(0x21e)](this['_row'],this[_0x595085(0x226)]),_0x260bc9);}[_0x4be2ba(0x1e9)](){const _0x43e370=_0x4be2ba;return this[_0x43e370(0x229)][_0x43e370(0x20d)](this[_0x43e370(0x229)]['getCellRange'](this['_row'],this['_column']),null);}[_0x4be2ba(0x242)](_0x278d6a){const _0x3c5028=_0x4be2ba;return this[_0x3c5028(0x229)][_0x3c5028(0x230)](this['_row'],this['_column'],_0x278d6a);}[_0x4be2ba(0x23e)](_0x28afc8){const _0x210d94=_0x4be2ba;return this[_0x210d94(0x229)][_0x210d94(0x264)](this[_0x210d94(0x229)][_0x210d94(0x21e)](this[_0x210d94(0x237)],this[_0x210d94(0x226)]),_0x28afc8);}['setBorder'](_0x2dd97a){const _0x918acc=_0x4be2ba;return this[_0x918acc(0x229)]['setBorder'](this[_0x918acc(0x229)][_0x918acc(0x21e)](this[_0x918acc(0x237)],this[_0x918acc(0x226)]),_0x2dd97a);}[_0x4be2ba(0x1d6)](_0x54ead7,_0x41f998){const _0xcb2f88=_0x4be2ba;return this[_0xcb2f88(0x229)][_0xcb2f88(0x1cd)]({'startRow':this[_0xcb2f88(0x237)],'startColumn':this[_0xcb2f88(0x226)],'endRow':this[_0xcb2f88(0x237)]+_0x54ead7-0x1,'endColumn':this['_column']+_0x41f998-0x1});}[_0x4be2ba(0x20f)](){const _0x35a078=_0x4be2ba;return this['_table'][_0x35a078(0x265)](this['_table'][_0x35a078(0x21e)](this['_row'],this[_0x35a078(0x226)]));}};function q(_0xfab2e9){'@babel/helpers - typeof';const _0x484b21=_0x4be2ba;return q=typeof Symbol==_0x484b21(0x215)&&typeof Symbol['iterator']==_0x484b21(0x253)?function(_0x433cf0){return typeof _0x433cf0;}:function(_0x422614){const _0x2f7daa=_0x484b21;return _0x422614&&typeof Symbol=='function'&&_0x422614[_0x2f7daa(0x25f)]===Symbol&&_0x422614!==Symbol['prototype']?_0x2f7daa(0x253):typeof _0x422614;},q(_0xfab2e9);}function J(_0x15f115,_0x122734){const _0x4589d4=_0x4be2ba;if(q(_0x15f115)!=_0x4589d4(0x25c)||!_0x15f115)return _0x15f115;var _0x27c58b=_0x15f115[Symbol[_0x4589d4(0x1db)]];if(_0x27c58b!==void 0x0){var _0x246b20=_0x27c58b[_0x4589d4(0x21d)](_0x15f115,_0x122734||_0x4589d4(0x26c));if(q(_0x246b20)!=_0x4589d4(0x25c))return _0x246b20;throw TypeError(_0x4589d4(0x1cb));}return(_0x122734===_0x4589d4(0x1cf)?String:Number)(_0x15f115);}function Y(_0x3797fe){const _0x2dbeac=_0x4be2ba;var _0x5de97e=J(_0x3797fe,_0x2dbeac(0x1cf));return q(_0x5de97e)==_0x2dbeac(0x253)?_0x5de97e:_0x5de97e+'';}function X(_0x1ae4f1,_0x5e9260,_0x506a12){const _0x325aa5=_0x4be2ba;return(_0x5e9260=Y(_0x5e9260))in _0x1ae4f1?Object[_0x325aa5(0x1d2)](_0x1ae4f1,_0x5e9260,{'value':_0x506a12,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ae4f1[_0x5e9260]=_0x506a12,_0x1ae4f1;}var Z=class{constructor(_0x281f04,_0x3b8d45,_0x306805='',_0x18bb95){const _0x19bf4a=_0x4be2ba;this[_0x19bf4a(0x1ea)]=_0x281f04,this[_0x19bf4a(0x1f7)]=_0x3b8d45,this[_0x19bf4a(0x266)]=_0x306805,this[_0x19bf4a(0x23c)]=_0x18bb95,X(this,_0x19bf4a(0x21b),void 0x0),this[_0x19bf4a(0x21b)]=this['_document'][_0x19bf4a(0x225)]();}[_0x4be2ba(0x225)](){const _0x2d4e73=_0x4be2ba;return this[_0x2d4e73(0x1f7)];}['getSegmentId'](){const _0x4b0a1d=_0x4be2ba;return this[_0x4b0a1d(0x266)];}[_0x4be2ba(0x207)](){const _0x42705e=_0x4be2ba;return{'id':this[_0x42705e(0x1f7)],'rowCount':this[_0x42705e(0x25b)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x42705e(0x26e)](),'source':this[_0x42705e(0x1e5)]()};}['describe'](){const _0x243f79=_0x4be2ba;let _0x32dc32=this['getMetadata'](),_0x5936d3=this[_0x243f79(0x1e5)](),_0x2833d9=this[_0x243f79(0x25d)]();return{'id':this[_0x243f79(0x1f7)],'rowCount':this['getRowCount'](),'columnCount':_0x2833d9,'headerRowCount':(_0x32dc32==null?void 0x0:_0x32dc32['headerRowCount'])??0x0,'titleRow':(_0x32dc32==null?void 0x0:_0x32dc32['titleRow'])??!0x1,'columns':Array[_0x243f79(0x1ff)]({'length':_0x2833d9},(_0x4cbdef,_0x201264)=>{const _0x436173=_0x243f79;var _0xf9c36d,_0x3a55b3;return{'index':_0x201264,'type':_0x32dc32==null||(_0xf9c36d=_0x32dc32[_0x436173(0x22d)])==null||(_0xf9c36d=_0xf9c36d[_0x201264])==null?void 0x0:_0xf9c36d[_0x436173(0x1d1)],'width':_0x5936d3==null||(_0x3a55b3=_0x5936d3[_0x436173(0x247)][_0x201264])==null?void 0x0:_0x3a55b3[_0x436173(0x1c5)][_0x436173(0x214)]['v']};}),'sampleRows':Array[_0x243f79(0x1ff)]({'length':this[_0x243f79(0x25b)]()},(_0x1f8d32,_0x53e0f4)=>Array[_0x243f79(0x1ff)]({'length':_0x2833d9},(_0x4790f2,_0x488122)=>this[_0x243f79(0x228)](_0x53e0f4,_0x488122)))[_0x243f79(0x1ec)](_0x1e4091=>_0x1e4091[_0x243f79(0x236)](_0x2c30c3=>_0x2c30c3[_0x243f79(0x1fb)]>0x0))[_0x243f79(0x1e2)](0x0,0x5)};}[_0x4be2ba(0x25b)](){const _0x4b2ea7=_0x4be2ba;var _0x5c1e4c;return((_0x5c1e4c=this[_0x4b2ea7(0x1e5)]())==null?void 0x0:_0x5c1e4c[_0x4b2ea7(0x22f)][_0x4b2ea7(0x1fb)])??0x0;}['getColumnCount'](){const _0x180f04=_0x4be2ba;var _0x59aa98;return((_0x59aa98=this[_0x180f04(0x1e5)]())==null?void 0x0:_0x59aa98[_0x180f04(0x247)][_0x180f04(0x1fb)])??0x0;}[_0x4be2ba(0x1d9)](_0x547449,_0x252eb1){const _0x26501b=_0x4be2ba;var _0x31a726;return(_0x31a726=this[_0x26501b(0x1e5)]())!=null&&(_0x31a726=_0x31a726['tableRows'][_0x547449])!=null&&_0x31a726[_0x26501b(0x1f5)][_0x252eb1]?this[_0x26501b(0x23c)]['createInstance'](K,this,_0x547449,_0x252eb1):null;}[_0x4be2ba(0x228)](_0x1955ea,_0x59e7ed){const _0x2b1247=_0x4be2ba;var _0x18a792,_0x182b74;let _0x18895c=(_0x18a792=_0xfdef28(this[_0x2b1247(0x1d0)](),this[_0x2b1247(0x1f7)]))==null||(_0x18a792=_0x18a792[_0x2b1247(0x21c)][_0x1955ea])==null?void 0x0:_0x18a792[_0x2b1247(0x1fc)][_0x59e7ed];return _0x18895c?((_0x182b74=this['_getDocumentData']()[_0x2b1247(0x1c7)])==null?void 0x0:_0x182b74[_0x2b1247(0x20c)]['slice'](_0x18895c[_0x2b1247(0x1c6)]+0x1,_0x18895c[_0x2b1247(0x21a)])['replace'](/\r\n$/,''))??'':'';}[_0x4be2ba(0x269)](_0x4bf593,_0x4bb085){const _0x1fd848=_0x4be2ba;var _0x3ba71f;let _0xc8a49a=this[_0x1fd848(0x1e5)](),_0x39671a=_0xc8a49a==null||(_0x3ba71f=_0xc8a49a[_0x1fd848(0x22f)][_0x4bf593])==null?void 0x0:_0x3ba71f['tableCells'][_0x4bb085];return _0x39671a?_0x17fac4[_0x1fd848(0x24f)](_0x39671a[_0x1fd848(0x261)]??_0xc8a49a[_0x1fd848(0x232)]??_0x128c72):null;}['getCellMarginOverride'](_0x1acdec,_0x5a7606){const _0x5cf9ea=_0x4be2ba;var _0x30d1ae;let _0x14f6f8=(_0x30d1ae=this['getSource']())==null||(_0x30d1ae=_0x30d1ae['tableRows'][_0x1acdec])==null?void 0x0:_0x30d1ae['tableCells'][_0x5a7606];return _0x14f6f8!=null&&_0x14f6f8['margin']?_0x17fac4[_0x5cf9ea(0x24f)](_0x14f6f8[_0x5cf9ea(0x261)]):null;}[_0x4be2ba(0x212)](){const _0x17a756=_0x4be2ba;var _0x1ddf15;return _0x17fac4[_0x17a756(0x24f)](((_0x1ddf15=this[_0x17a756(0x1e5)]())==null?void 0x0:_0x1ddf15[_0x17a756(0x232)])??_0x128c72);}[_0x4be2ba(0x200)](){const _0x486517=_0x4be2ba;var _0x40c56e;let _0xc5ad0=(_0x40c56e=this['getSource']())==null?void 0x0:_0x40c56e[_0x486517(0x232)];return _0xc5ad0?_0x17fac4[_0x486517(0x24f)](_0xc5ad0):null;}[_0x4be2ba(0x26e)](){const _0x5e08a3=_0x4be2ba;return this[_0x5e08a3(0x23c)][_0x5e08a3(0x20a)](_0x327ad5)[_0x5e08a3(0x26d)](this['_unitId'],this[_0x5e08a3(0x1f7)]);}[_0x4be2ba(0x1e5)](){const _0x2372af=_0x4be2ba;var _0x1e8d45;return(_0x1e8d45=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0x1e8d45[this[_0x2372af(0x1f7)]];}['getRange'](){const _0xb49b64=_0x4be2ba;return _0xfdef28(this['_getDocumentData'](),this[_0xb49b64(0x1f7)]);}[_0x4be2ba(0x1fa)](){const _0x383345=_0x4be2ba;return{'startRow':0x0,'endRow':Math[_0x383345(0x272)](0x0,this[_0x383345(0x25b)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x383345(0x272)](0x0,this['getColumnCount']()-0x1)};}[_0x4be2ba(0x21e)](_0xc3a080,_0x5594d8){return{'startRow':_0xc3a080,'endRow':_0xc3a080,'startColumn':_0x5594d8,'endColumn':_0x5594d8};}[_0x4be2ba(0x209)](_0x122edd,_0x7467cb){const _0x31a18a=_0x4be2ba;var _0x2c42a4;let _0x2e0dbd=(_0x2c42a4=_0xfdef28(this[_0x31a18a(0x1d0)](),this[_0x31a18a(0x1f7)]))==null||(_0x2c42a4=_0x2c42a4['rows'][_0x122edd])==null?void 0x0:_0x2c42a4[_0x31a18a(0x1fc)][_0x7467cb];if(!_0x2e0dbd)return null;let _0x23fc13=_0x2e0dbd['startOffset']+0x1;return{'startOffset':_0x23fc13,'endOffset':Math[_0x31a18a(0x272)](_0x23fc13,_0x2e0dbd['endOffset']-0x1),'segmentId':this[_0x31a18a(0x266)]};}[_0x4be2ba(0x1d7)](_0x4447d9,_0x55234a){const _0x51ea74=_0x4be2ba;let _0x1776ca=this[_0x51ea74(0x209)](_0x4447d9,_0x55234a);return _0x1776ca?Math[_0x51ea74(0x272)](_0x1776ca[_0x51ea74(0x1c6)],_0x1776ca['endOffset']-0x1):null;}[_0x4be2ba(0x24a)](_0x280b68){const _0x456e16=_0x4be2ba;return this[_0x456e16(0x220)](_0x280b68,0x1);}[_0x4be2ba(0x220)](_0x2b4e0a,_0x3d7da5=0x1){const _0x1d9cc5=_0x4be2ba;return{'startRow':_0x2b4e0a,'endRow':_0x2b4e0a+_0x3d7da5-0x1,'startColumn':0x0,'endColumn':Math[_0x1d9cc5(0x272)](0x0,this[_0x1d9cc5(0x25d)]()-0x1)};}[_0x4be2ba(0x26f)](_0xcaa0ba){return this['getColumnsRange'](_0xcaa0ba,0x1);}[_0x4be2ba(0x22e)](_0x408f32,_0x5054f8=0x1){const _0x48e0d9=_0x4be2ba;return{'startRow':0x0,'endRow':Math[_0x48e0d9(0x272)](0x0,this['getRowCount']()-0x1),'startColumn':_0x408f32,'endColumn':_0x408f32+_0x5054f8-0x1};}[_0x4be2ba(0x233)](){const _0x3dbbd5=_0x4be2ba;return this[_0x3dbbd5(0x268)](this[_0x3dbbd5(0x1fa)](),_0x2e7991[_0x3dbbd5(0x23d)]);}[_0x4be2ba(0x1d8)](_0xa7f1a5){const _0x4073de=_0x4be2ba;return this[_0x4073de(0x20e)](_0xa7f1a5,0x1);}[_0x4be2ba(0x20e)](_0x3177c7,_0x492323=0x1){const _0x35d2ab=_0x4be2ba;return this[_0x35d2ab(0x268)](this[_0x35d2ab(0x220)](_0x3177c7,_0x492323),_0x2e7991['Row']);}[_0x4be2ba(0x22b)](_0x171ac2){const _0x198cc0=_0x4be2ba;return this[_0x198cc0(0x1e4)](_0x171ac2,0x1);}[_0x4be2ba(0x1e4)](_0x104190,_0x567558=0x1){const _0xf3c674=_0x4be2ba;return this[_0xf3c674(0x268)](this[_0xf3c674(0x22e)](_0x104190,_0x567558),_0x2e7991['Column']);}['selectCell'](_0x2880ca,_0x4ed289){const _0x48e7d8=_0x4be2ba;return this[_0x48e7d8(0x268)](this[_0x48e7d8(0x21e)](_0x2880ca,_0x4ed289),_0x2e7991[_0x48e7d8(0x1e7)]);}['selectRange'](_0x4f5956,_0x40e494=_0x2e7991['Range']){const _0x599f92=_0x4be2ba;return this[_0x599f92(0x23c)][_0x599f92(0x20a)](_0x4faa51)[_0x599f92(0x1dc)]({..._0x4f5956,'kind':_0x40e494,'segmentId':this[_0x599f92(0x266)],'tableId':this['_tableId']}),!0x0;}[_0x4be2ba(0x270)](_0x3d681c){const _0xa65c74=_0x4be2ba;return this[_0xa65c74(0x260)](_0x3d681c,0x1);}[_0x4be2ba(0x24e)](_0x5d6879){const _0x5bc146=_0x4be2ba;return this[_0x5bc146(0x1f0)](_0x5d6879,0x1);}[_0x4be2ba(0x260)](_0x52330f,_0x3d987f){const _0xe0b7c=_0x4be2ba;let _0x195c23=this[_0xe0b7c(0x1d0)](),_0xac8142=_0x5a0282(_0x195c23,this[_0xe0b7c(0x1f7)],_0x52330f,_0x3d987f,_0x1a77ca['Above'],this[_0xe0b7c(0x208)]());return _0xac8142?this[_0xe0b7c(0x240)](_0x195c23,_0xac8142[_0xe0b7c(0x1e3)]):!0x1;}[_0x4be2ba(0x1f0)](_0xa9830,_0x368592){const _0x4c1f8b=_0x4be2ba;let _0x3dda0a=this[_0x4c1f8b(0x1d0)](),_0x20a5e1=_0x5a0282(_0x3dda0a,this['_tableId'],_0xa9830,_0x368592,_0x1a77ca[_0x4c1f8b(0x1cc)],this[_0x4c1f8b(0x208)]());return _0x20a5e1?this[_0x4c1f8b(0x240)](_0x3dda0a,_0x20a5e1['actions']):!0x1;}['appendRow'](){const _0x544e45=_0x4be2ba;return this[_0x544e45(0x1f0)](Math[_0x544e45(0x272)](0x0,this['getRowCount']()-0x1),0x1);}[_0x4be2ba(0x222)](_0x3033dc){const _0xba873f=_0x4be2ba;return this[_0xba873f(0x275)](_0x3033dc,0x1);}[_0x4be2ba(0x224)](_0x53793d){return this['insertColumnsAfter'](_0x53793d,0x1);}[_0x4be2ba(0x275)](_0x5b09a2,_0x318f65){const _0x3c317a=_0x4be2ba;let _0x42945e=this[_0x3c317a(0x1d0)](),_0x38a658=_0x28c1c8(_0x42945e,this[_0x3c317a(0x1f7)],_0x5b09a2,_0x318f65,_0x1a77ca[_0x3c317a(0x239)],{'bodyPath':this[_0x3c317a(0x208)]()});return _0x38a658?this[_0x3c317a(0x240)](_0x42945e,_0x38a658[_0x3c317a(0x1e3)]):!0x1;}[_0x4be2ba(0x221)](_0x27b5bd,_0x254a0a){const _0x3b91be=_0x4be2ba;let _0x4914f9=this[_0x3b91be(0x1d0)](),_0x5164cc=_0x28c1c8(_0x4914f9,this['_tableId'],_0x27b5bd,_0x254a0a,_0x1a77ca['Right'],{'bodyPath':this[_0x3b91be(0x208)]()});return _0x5164cc?this[_0x3b91be(0x240)](_0x4914f9,_0x5164cc[_0x3b91be(0x1e3)]):!0x1;}[_0x4be2ba(0x22a)](){const _0x316598=_0x4be2ba;return this[_0x316598(0x221)](Math[_0x316598(0x272)](0x0,this[_0x316598(0x25d)]()-0x1),0x1);}[_0x4be2ba(0x211)](_0x14cc6d){const _0x1e6b0b=_0x4be2ba;return this[_0x1e6b0b(0x1f3)](_0x14cc6d,0x1);}[_0x4be2ba(0x1f3)](_0x530ab9,_0x41f0d0=0x1){const _0x1280f8=_0x4be2ba;let _0x3b6a1f=this['_getDocumentData'](),_0x172a61=_0x24d29a(_0x3b6a1f,this[_0x1280f8(0x1f7)],_0x530ab9,_0x530ab9+_0x41f0d0-0x1,this[_0x1280f8(0x208)]());return _0x172a61?this[_0x1280f8(0x240)](_0x3b6a1f,_0x172a61['actions']):!0x1;}['deleteColumn'](_0x13770a){const _0x2dbe9a=_0x4be2ba;return this[_0x2dbe9a(0x274)](_0x13770a,0x1);}[_0x4be2ba(0x274)](_0x4ca8ab,_0x99d850=0x1){const _0x44b84a=_0x4be2ba;let _0x2cd1df=this[_0x44b84a(0x1d0)](),_0x26d240=_0x18e7bc(_0x2cd1df,this[_0x44b84a(0x1f7)],_0x4ca8ab,_0x4ca8ab+_0x99d850-0x1,this[_0x44b84a(0x208)]());return _0x26d240?this[_0x44b84a(0x240)](_0x2cd1df,_0x26d240[_0x44b84a(0x1e3)]):!0x1;}[_0x4be2ba(0x210)](){const _0xa10612=_0x4be2ba;let _0x2a5ca1=this[_0xa10612(0x1d0)](),_0x1b0860=_0x58547b(_0x2a5ca1,this[_0xa10612(0x1f7)],this[_0xa10612(0x208)]());return _0x1b0860?this[_0xa10612(0x240)](_0x2a5ca1,_0x1b0860[_0xa10612(0x1e3)]):!0x1;}['moveTableBy'](_0x3bff1f,_0x4f13f9){const _0x4468e1=_0x4be2ba;let _0x1a6a9c=this[_0x4468e1(0x1d0)]();return this[_0x4468e1(0x240)](_0x1a6a9c,_0x1cff2d(_0x1a6a9c,this[_0x4468e1(0x1f7)],_0x3bff1f,_0x4f13f9));}['moveTableToOffset'](_0x24bd98){const _0x5541ee=_0x4be2ba;let _0x68fe9e=this['_getDocumentData']();return this[_0x5541ee(0x240)](_0x68fe9e,_0x34e03c(_0x68fe9e,this[_0x5541ee(0x1f7)],_0x24bd98,this[_0x5541ee(0x208)]()));}[_0x4be2ba(0x267)](_0x5a1ac3,_0x508409,_0xc80aa0=_0x1a77ca[_0x4be2ba(0x246)]){const _0x206c9c=_0x4be2ba;return this[_0x206c9c(0x259)](_0x5a1ac3,0x1,_0x508409,_0xc80aa0);}['moveRows'](_0x4df97e,_0x1a5efa,_0x36f915,_0x8ccdac=_0x1a77ca[_0x4be2ba(0x246)]){const _0x8e386e=_0x4be2ba;let _0x438cc3=this[_0x8e386e(0x1d0)](),_0x2814f5=_0x21e560(_0x438cc3,this[_0x8e386e(0x1f7)],_0x4df97e,_0x36f915,_0x1a5efa,_0x8ccdac,this[_0x8e386e(0x208)]());return _0x2814f5?this['_mutateActions'](_0x438cc3,_0x2814f5[_0x8e386e(0x1e3)]):!0x1;}['moveColumn'](_0x43c602,_0x2efe08,_0x1e00be=_0x1a77ca[_0x4be2ba(0x239)]){const _0xe9a85d=_0x4be2ba;return this[_0xe9a85d(0x251)](_0x43c602,0x1,_0x2efe08,_0x1e00be);}[_0x4be2ba(0x251)](_0x22497c,_0x2551a9,_0x1bfc2b,_0x2de792=_0x1a77ca[_0x4be2ba(0x239)]){const _0x42ee20=_0x4be2ba;let _0x487f53=this['_getDocumentData'](),_0x27847=_0x4934cb(_0x487f53,this[_0x42ee20(0x1f7)],_0x22497c,_0x1bfc2b,_0x2551a9,_0x2de792,this[_0x42ee20(0x208)]());return _0x27847?this[_0x42ee20(0x240)](_0x487f53,_0x27847[_0x42ee20(0x1e3)]):!0x1;}[_0x4be2ba(0x1cd)](_0x2e4f4e){const _0x56e4f7=_0x4be2ba;try{let _0x19bdff=this['_getDocumentData'](),_0x145945=_0x38ecaf({'documentData':_0x19bdff,'tableId':this[_0x56e4f7(0x1f7)],..._0x2e4f4e});return _0x145945?this['_mutateActions'](_0x19bdff,_0x145945[_0x56e4f7(0x1e3)],_0x2e4f4e):!0x1;}catch{return!0x1;}}[_0x4be2ba(0x265)](_0x29b2fe){const _0x453549=_0x4be2ba;try{let _0x479622=this[_0x453549(0x1d0)](),_0x4e67d6=_0x240436({'documentData':_0x479622,'tableId':this[_0x453549(0x1f7)],..._0x29b2fe});return _0x4e67d6?this[_0x453549(0x240)](_0x479622,_0x4e67d6['actions'],_0x29b2fe):!0x1;}catch{return!0x1;}}['setCellText'](_0xc5baf8,_0x399985,_0x43c52e){const _0x4b0f68=_0x4be2ba;let _0x509c7f=this[_0x4b0f68(0x1d0)](),_0x3fc7a5=_0x39cf3e(this[_0x4b0f68(0x1ea)]['getDocumentDataModel']()[_0x4b0f68(0x252)](),this[_0x4b0f68(0x266)]);return this[_0x4b0f68(0x240)](_0x509c7f,_0x11bcea({'documentData':_0x509c7f,'tableId':this[_0x4b0f68(0x1f7)],'row':_0xc5baf8,'column':_0x399985,'text':_0x43c52e},_0x3fc7a5),this[_0x4b0f68(0x21e)](_0xc5baf8,_0x399985));}[_0x4be2ba(0x264)](_0x3c5e85,_0x558d7f){const _0x2775a9=_0x4be2ba;let _0x5aa9c6=this[_0x2775a9(0x1d0)]();return this[_0x2775a9(0x240)](_0x5aa9c6,_0x4d126b(_0x5aa9c6,{'tableId':this['_tableId'],..._0x3c5e85,'value':_0x558d7f}),_0x3c5e85);}[_0x4be2ba(0x20d)](_0x17b407,_0xd2400c){const _0x45d0a4=_0x4be2ba;let _0x2ed539=this[_0x45d0a4(0x1d0)]();return this[_0x45d0a4(0x240)](_0x2ed539,_0x4a5ca6({'documentData':_0x2ed539,'tableId':this[_0x45d0a4(0x1f7)],..._0x17b407,'margin':_0xd2400c}),_0x17b407);}[_0x4be2ba(0x244)](_0x531d11){const _0x5787cb=_0x4be2ba;let _0x341907=this['_getDocumentData']();return this[_0x5787cb(0x240)](_0x341907,_0x571f78(_0x341907,this['_tableId'],_0x531d11));}['setBorder'](_0x51b5d9,_0x276a4b){const _0xefdd88=_0x4be2ba;let _0x4a3c47=this[_0xefdd88(0x1d0)]();return this[_0xefdd88(0x240)](_0x4a3c47,_0x5ee826({'documentData':_0x4a3c47,'tableId':this[_0xefdd88(0x1f7)],..._0x51b5d9,'preset':_0x276a4b[_0xefdd88(0x1e1)]??_0x586c50[_0xefdd88(0x273)],'border':_0x276a4b[_0xefdd88(0x20b)]??{'color':{'rgb':_0x276a4b[_0xefdd88(0x235)]??_0xefdd88(0x25e)},'width':{'v':_0x276a4b[_0xefdd88(0x214)]??0x1},'dashStyle':_0x3638cc[_0xefdd88(0x1da)]}}),_0x51b5d9);}[_0x4be2ba(0x206)](_0x4aeb7e){const _0x335c7e=_0x4be2ba;return this[_0x335c7e(0x264)](this[_0x335c7e(0x1fa)](),_0x4aeb7e);}[_0x4be2ba(0x1f6)](_0xb35630){const _0x529377=_0x4be2ba;return this[_0x529377(0x1dd)](this[_0x529377(0x1fa)](),_0xb35630);}[_0x4be2ba(0x254)](_0x138639){const _0x3373e4=_0x4be2ba;let _0x24f449=!_0x138639[_0x3373e4(0x205)]||this[_0x3373e4(0x206)](_0x138639[_0x3373e4(0x205)]),_0x318f3f=!_0x138639[_0x3373e4(0x20b)]||this['setTableBorder'](_0x138639[_0x3373e4(0x20b)]);return _0x24f449&&_0x318f3f;}[_0x4be2ba(0x218)](_0x534670,_0x2fd4bf,_0x4cfd43=_0x4c55db[_0x4be2ba(0x250)]){const _0x235ae7=_0x4be2ba;var _0x45e2f7;let _0x3c0a49=this[_0x235ae7(0x1d0)]();return(_0x45e2f7=_0x3c0a49['tableSource'])!=null&&(_0x45e2f7=_0x45e2f7[this[_0x235ae7(0x1f7)]])!=null&&_0x45e2f7['tableRows'][_0x534670]?this['_mutateActions'](_0x3c0a49,_0x256a53(_0x3c0a49,this[_0x235ae7(0x1f7)],_0x534670,_0x2fd4bf,_0x4cfd43)):!0x1;}[_0x4be2ba(0x255)](_0x464c8e){const _0x2e32d0=_0x4be2ba;var _0x197ef9;let _0x4f1af=(_0x197ef9=this[_0x2e32d0(0x1e5)]())==null||(_0x197ef9=_0x197ef9[_0x2e32d0(0x22f)][_0x464c8e])==null?void 0x0:_0x197ef9['trHeight'];return _0x4f1af?_0x17fac4[_0x2e32d0(0x24f)](_0x4f1af):null;}[_0x4be2ba(0x258)](_0x28f7ff,_0xf40b17){const _0x382107=_0x4be2ba;var _0x2f936a;let _0x22cf89=this[_0x382107(0x1d0)]();return(_0x2f936a=_0x22cf89[_0x382107(0x257)])!=null&&(_0x2f936a=_0x2f936a[this['_tableId']])!=null&&_0x2f936a[_0x382107(0x247)][_0x28f7ff]?this[_0x382107(0x240)](_0x22cf89,_0x483a45(_0x22cf89,this[_0x382107(0x1f7)],_0x28f7ff,_0xf40b17)):!0x1;}['distributeRows'](_0x473e49=0x0,_0x30e7d0=this[_0x4be2ba(0x25b)]()){const _0x26119f=_0x4be2ba;let _0xde63d4=this[_0x26119f(0x1d0)]();return this[_0x26119f(0x240)](_0xde63d4,_0x2ec348(_0xde63d4,this[_0x26119f(0x1f7)],_0x473e49,_0x473e49+_0x30e7d0-0x1));}[_0x4be2ba(0x1ee)](_0x57b020=0x0,_0x5870af=this['getColumnCount']()){const _0x7923ac=_0x4be2ba;let _0x290c42=this[_0x7923ac(0x1d0)]();return this[_0x7923ac(0x240)](_0x290c42,_0x8489c6(_0x290c42,this[_0x7923ac(0x1f7)],_0x57b020,_0x57b020+_0x5870af-0x1));}[_0x4be2ba(0x1ed)](){const _0x1713c7=_0x4be2ba;var _0x22150e;return((_0x22150e=this[_0x1713c7(0x26e)]())==null?void 0x0:_0x22150e['headerRowCount'])??0x0;}[_0x4be2ba(0x263)](_0x25503a){const _0x5d1cfa=_0x4be2ba;let _0x2d4d30=this[_0x5d1cfa(0x23c)][_0x5d1cfa(0x20a)](_0x327ad5),_0x1e108c=this[_0x5d1cfa(0x1d0)](),_0x5c7009=_0x3e5107(_0x1e108c,this[_0x5d1cfa(0x1f7)],_0x25503a);if(!_0x5c7009)return!0x1;let _0x43fd8b=this['_mutateActions'](_0x1e108c,_0x5c7009['actions']);return _0x43fd8b&&_0x2d4d30['setHeaderRowCount'](this['_unitId'],this[_0x5d1cfa(0x1f7)],_0x5c7009[_0x5d1cfa(0x1c8)]),_0x43fd8b;}[_0x4be2ba(0x213)](_0x34f1f0){const _0x239bef=_0x4be2ba;return this[_0x239bef(0x263)](_0x34f1f0);}[_0x4be2ba(0x1d5)](){const _0x358d45=_0x4be2ba;var _0x3abcb8;return((_0x3abcb8=this[_0x358d45(0x26e)]())==null?void 0x0:_0x3abcb8[_0x358d45(0x238)])??!0x1;}[_0x4be2ba(0x23a)](){const _0x4bb36a=_0x4be2ba;let _0x584d7d=this[_0x4bb36a(0x23c)][_0x4bb36a(0x20a)](_0x327ad5),_0x4f1993=this['_getDocumentData'](),_0x218b0a=_0x10e7d2(_0x4f1993,this['_tableId'],this[_0x4bb36a(0x208)]());if(!_0x218b0a)return!0x1;let _0x5a6ef9=this[_0x4bb36a(0x240)](_0x4f1993,_0x218b0a[_0x4bb36a(0x1e3)]);return _0x5a6ef9&&_0x584d7d['setTitleRow'](this[_0x4bb36a(0x21b)],this[_0x4bb36a(0x1f7)],!0x0),_0x5a6ef9;}[_0x4be2ba(0x23f)](_0x522f11,_0x299875){const _0x54dd1d=_0x4be2ba;return this[_0x54dd1d(0x23c)][_0x54dd1d(0x20a)](_0x327ad5)[_0x54dd1d(0x23f)](this[_0x54dd1d(0x21b)],this[_0x54dd1d(0x1f7)],_0x522f11,_0x299875),!0x0;}['sortByColumn'](_0x63f4f,_0x3922f2){const _0x386ad7=_0x4be2ba;let _0x306593=this[_0x386ad7(0x1d0)]();return this[_0x386ad7(0x240)](_0x306593,_0x545c73(_0x306593,this[_0x386ad7(0x231)](),this[_0x386ad7(0x1f7)],_0x63f4f,_0x3922f2,this[_0x386ad7(0x208)]()));}[_0x4be2ba(0x1d0)](){const _0x5a2e2b=_0x4be2ba;let _0x478f17=this[_0x5a2e2b(0x1ea)][_0x5a2e2b(0x204)]()['getSnapshot']();return this[_0x5a2e2b(0x266)]?{...this['_document'][_0x5a2e2b(0x204)](this[_0x5a2e2b(0x266)])[_0x5a2e2b(0x252)](),'documentStyle':_0x478f17[_0x5a2e2b(0x1de)],'tableSource':_0x478f17['tableSource']}:_0x478f17;}[_0x4be2ba(0x231)](){const _0x2cbbce=_0x4be2ba;return this[_0x2cbbce(0x23c)]['get'](_0x327ad5)['serialize'](this[_0x2cbbce(0x21b)]);}['_getBodyPath'](){const _0x1e39a4=_0x4be2ba;return _0x39cf3e(this[_0x1e39a4(0x1ea)][_0x1e39a4(0x204)]()[_0x1e39a4(0x252)](),this[_0x1e39a4(0x266)]);}['_mutateActions'](_0x597def,_0x19aec2,_0x2c0438){const _0x2af390=_0x4be2ba;return _0x518639(this[_0x2af390(0x23c)]['get'](_0x3986b4),this[_0x2af390(0x21b)],_0x597def,_0x19aec2,_0x2c0438?{'tableId':this[_0x2af390(0x1f7)],'segmentId':this['_segmentId'],..._0x2c0438}:void 0x0);}},Q=class extends _0x2e94be{[_0x4be2ba(0x217)](_0x387457=''){const _0x5c7415=_0x4be2ba;return this['_getTables'](_0x387457)[_0x5c7415(0x1fe)](_0x45d5fd=>this[_0x5c7415(0x1ce)](_0x45d5fd[_0x5c7415(0x1df)],_0x387457));}[_0x4be2ba(0x1f9)](_0x60d591,_0x4c89ee=''){const _0x407ec9=_0x4be2ba;return this[_0x407ec9(0x216)](_0x4c89ee)[_0x407ec9(0x236)](_0x2e33cc=>_0x2e33cc['tableId']===_0x60d591)?this['_createFDocumentTable'](_0x60d591,_0x4c89ee):null;}['getTableAt'](_0x14343d,_0x5c0037=''){const _0x5ddcc9=_0x4be2ba;var _0x5a185e;let _0x497e39=(_0x5a185e=this['_getTables'](_0x5c0037)[_0x14343d])==null?void 0x0:_0x5a185e['tableId'];return _0x497e39?this[_0x5ddcc9(0x1ce)](_0x497e39,_0x5c0037):null;}[_0x4be2ba(0x271)](){const _0x1891af=_0x4be2ba;let _0x460267=this[_0x1891af(0x23c)]['get'](_0x4faa51)['getStableTableSelection']();return _0x460267!=null&&_0x460267[_0x1891af(0x1df)]?this['_createFDocumentTable'](_0x460267[_0x1891af(0x1df)],_0x460267[_0x1891af(0x1f2)]):null;}[_0x4be2ba(0x234)](_0x593b6f,_0xeb3e6e=''){const _0x4a0267=_0x4be2ba;return this[_0x4a0267(0x22c)](_0x593b6f,_0xeb3e6e)[0x0]??null;}[_0x4be2ba(0x22c)](_0x24187b,_0x2daeac=''){const _0x319b08=_0x4be2ba;let _0x3d4cec=this[_0x319b08(0x1c9)](_0x2daeac),_0x2e51bd=typeof _0x24187b=='string'?{'text':_0x24187b}:_0x24187b;return this[_0x319b08(0x217)](_0x2daeac)['filter'](_0x181c67=>{const _0x4c3f10=_0x319b08;let _0x10e662=_0x181c67[_0x4c3f10(0x225)]();return!(_0x2e51bd[_0x4c3f10(0x1df)]&&_0x10e662!==_0x2e51bd[_0x4c3f10(0x1df)]||_0x2e51bd[_0x4c3f10(0x23b)]&&!this[_0x4c3f10(0x1ca)](_0x3d4cec,_0x10e662,_0x2e51bd[_0x4c3f10(0x23b)])||_0x2e51bd[_0x4c3f10(0x24b)]&&!this[_0x4c3f10(0x241)](_0x181c67,0x0,_0x2e51bd[_0x4c3f10(0x24b)])||_0x2e51bd[_0x4c3f10(0x1e0)]&&!this[_0x4c3f10(0x241)](_0x181c67,0x0,_0x2e51bd['titleText']));});}[_0x4be2ba(0x248)](_0x22769f,_0x4ebca7,_0x259fdb={}){const _0x592bff=_0x4be2ba;let _0x440488=this[_0x592bff(0x23c)][_0x592bff(0x20a)](_0x3986b4),_0x2cc47c=_0x259fdb[_0x592bff(0x1df)]??_0x50ccad(0x6);return _0x440488[_0x592bff(0x1e8)](_0x1a8727['id'],{..._0x259fdb,'unitId':this['getId'](),'rows':_0x22769f,'columns':_0x4ebca7,'tableId':_0x2cc47c})?this['_createFDocumentTable'](_0x2cc47c,_0x259fdb[_0x592bff(0x1f2)]??''):null;}[_0x4be2ba(0x202)](_0x30e672,_0x2ddc3e={}){const _0x3d4270=_0x4be2ba;let _0x303778=this[_0x3d4270(0x23c)][_0x3d4270(0x20a)](_0x3986b4),_0x350e5b=_0x2ddc3e[_0x3d4270(0x1df)]??_0x50ccad(0x6);return _0x303778['syncExecuteCommand'](_0x1a8727['id'],{..._0x2ddc3e,'unitId':this[_0x3d4270(0x225)](),'values':_0x30e672,'tableId':_0x350e5b})?this['_createFDocumentTable'](_0x350e5b,_0x2ddc3e['segmentId']??''):null;}[_0x4be2ba(0x216)](_0x5dc6ee=''){const _0x501419=_0x4be2ba;let {tables:_0x3de6ba=[]}=this[_0x501419(0x201)](_0x5dc6ee);return _0x3de6ba;}[_0x4be2ba(0x1c9)](_0x20cc6e=''){const _0x3739b1=_0x4be2ba;let _0x20f4bb=this[_0x3739b1(0x204)]()[_0x3739b1(0x252)]();return _0x20cc6e?{...this[_0x3739b1(0x204)](_0x20cc6e)[_0x3739b1(0x252)](),'documentStyle':_0x20f4bb['documentStyle'],'tableSource':_0x20f4bb[_0x3739b1(0x257)]}:_0x20f4bb;}[_0x4be2ba(0x1ce)](_0x1030f8,_0x455644=''){const _0x762197=_0x4be2ba;return this[_0x762197(0x23c)][_0x762197(0x219)](Z,this,_0x1030f8,_0x455644,this['_injector']);}[_0x4be2ba(0x1ca)](_0x3489cb,_0x2f40e7,_0x3e48e7){const _0x59ee08=_0x4be2ba;var _0x312fb1;let _0x3d2a6d=_0xfdef28(_0x3489cb,_0x2f40e7);if(!_0x3d2a6d)return!0x1;let _0x181e72=(_0x312fb1=_0x3489cb['body'])==null?void 0x0:_0x312fb1['dataStream'];return _0x181e72?_0x181e72[_0x59ee08(0x1e2)](_0x3d2a6d[_0x59ee08(0x1c6)],_0x3d2a6d['endOffset'])[_0x59ee08(0x1f1)](_0x3e48e7):!0x1;}['_rowContainsText'](_0x21ddb5,_0x276b7d,_0x3f7723){const _0x2e0ab6=_0x4be2ba;return Array[_0x2e0ab6(0x1ff)]({'length':_0x21ddb5[_0x2e0ab6(0x25d)]()},(_0x22ee6b,_0x6ed694)=>_0x21ddb5['getCellText'](_0x276b7d,_0x6ed694))[_0x2e0ab6(0x236)](_0x2db493=>_0x2db493[_0x2e0ab6(0x1f1)](_0x3f7723));}};_0x2e94be['extend'](Q);export{Z as FDocumentTable,K as FDocumentTableCell};
|
|
1
|
+
const _0x21d204=_0x1da9;(function(_0x183207,_0x54d0c8){const _0x32a733=_0x1da9,_0xd0f116=_0x183207();while(!![]){try{const _0x198494=parseInt(_0x32a733(0xca))/0x1*(parseInt(_0x32a733(0xe1))/0x2)+parseInt(_0x32a733(0x11b))/0x3*(parseInt(_0x32a733(0xa4))/0x4)+parseInt(_0x32a733(0x103))/0x5+-parseInt(_0x32a733(0x113))/0x6*(-parseInt(_0x32a733(0x12e))/0x7)+parseInt(_0x32a733(0xdc))/0x8+parseInt(_0x32a733(0x133))/0x9+parseInt(_0x32a733(0x10b))/0xa*(-parseInt(_0x32a733(0xd5))/0xb);if(_0x198494===_0x54d0c8)break;else _0xd0f116['push'](_0xd0f116['shift']());}catch(_0x3c7480){_0xd0f116['push'](_0xd0f116['shift']());}}}(_0x5c85,0xd561b));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x5490f9,DocsTableBorderPreset as _0x3e0b7c,DocsTableColumnInsertPosition as _0x244fe6,DocsTableColumnType as _0x504e1c,DocsTableDeleteColumnsCommand as _0x23fe77,DocsTableDeleteRowsCommand as _0x3ea44a,DocsTableDeleteTableCommand as _0x5acc8f,DocsTableInsertPosition as _0x233685,DocsTableInsertTableCommand as _0x2bc2b1,DocsTableInsertTablePosition as _0xd9e477,DocsTableModel as _0x29e810,DocsTableRowInsertPosition as _0xbefe8e,DocsTableSelectionKind as _0x52c1e6,DocsTableSelectionService as _0x1b6edc,DocsTableSortDirection as _0x24dbd7,buildDistributeTableColumnsMutationActions as _0xe80b36,buildDistributeTableRowsMutationActions as _0x51f85c,buildInsertTableColumnsMutationActions as _0x52c060,buildInsertTableRowsMutationActions as _0x36bc46,buildInsertTableTitleRowMutationActions as _0x54a3b8,buildMergeCellsMutationActions as _0xbbfa56,buildMoveFloatingTableMutationActions as _0x5f3ec8,buildMoveTableColumnsMutationActions as _0x472b15,buildMoveTableRowsMutationActions as _0xba199c,buildMoveTableToOffsetMutationActions as _0x574f82,buildResizeTableColumnActionsFromWidth as _0x33ac02,buildResizeTableRowActionsFromHeight as _0x5be49a,buildSetTableBackgroundMutationActions as _0x190ba8,buildSetTableBorderMutationActions as _0xcae3b2,buildSetTableCellMarginMutationActions as _0x53b262,buildSetTableCellTextMutationActions as _0x539484,buildSetTableDefaultCellMarginMutationActions as _0xc60814,buildSetTableHeaderRowCountMutationActions as _0x48d74b,buildSortTableMutationActions as _0x2634f8,buildUnmergeCellsMutationActions as _0x367e06,executeRichTextTableActions as _0x166423,getTableActionBodyPath as _0x358900,getTableRangeById as _0x212629}from'@univerjs-pro/docs-table';import{DashStyleType as _0x5a4d22,ICommandService as _0x276e4e,Inject as _0x49e0d4,Injector as _0x172761,TableRowHeightRule as _0x5e8b38,Tools as _0x108dfb,generateRandomId as _0xe28609}from'@univerjs/core';import{FEnum as _0x498688}from'@univerjs/core/facade';import{FDocument as _0x25037a}from'@univerjs/docs/facade';function _0x5c85(){const _0x131496=['DocsTableColumnInsertPosition','insertColumnsBefore','setTitleRow','getHeaderRowCount','findTableByText','DocsTableSortDirection','object','_document','1441NswaHT','border','deleteTable','_createFDocumentTable','deepClone','getCellText','extend','9886600OSdhwS','_serializeModel','selectRange','unmerge','insertTable','898IXlwuG','body','decorate','DocsTableSelectionKind','max','iterator','getCellMargin','_unitId','getRange','setText','getRowRange','_injector','trHeight','getBody','appendColumn','replace','setTableBackground','moveTableBy','getInsertOffset','width','setRowHeight','getTables','mergeTo','headerText','size','getSnapshot','unmergeCells','_table','slice','selectColumn','getStableTableSelection','selectColumns','_rowContainsText','setTableBorder','6568985xnjKVm','appendRow','getColumnCount','_commandService','_getDocumentData','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','moveColumns','getCell','276910rokgvI','function','_tableContainsText','includes','selectRow','findTables','_column','getId','1161438zOdRNz','getColumnRange','setHeaderRowCount','clearMarginOverride','headerRowCount','Right','getTableMetadata','SOLID','1075047MzSCWh','insertRowsAfter','setBorder','_segmentId','segmentId','insertColumnAfter','_row','setStructuralSelection','tableColumns','setCellBackground','AT_LEAST','deleteRow','#1f1f1f','rows','getMarginOverride','getSegmentId','moveColumn','insertColumnBefore','_mutateActions','28rWIaNz','distributeColumns','getTableAtSelection','createInstance','preset','6698574CTNMvt','Range','getDefaultCellMarginOverride','color','_getTableDocumentData','tableRows','syncExecuteCommand','setBackgroundColor','setMargin','insertColumnsAfter','Cell','Left','getColumnsRange','getRowsRange','Below','actions','insertRowBefore','_getTables','moveRow','selectCell','getColumnIndex','backgroundColor','getDefaultCellMargin','pinHeaderRows','documentStyle','setCellMargin','tableCells','getDocumentDataModel','moveTableToOffset','deleteColumn','getInfo','setColumnType','hasTitleRow','selectRows','serialize','setColumnWidth','startOffset','symbol','insertTableFromData','length','Row','4uvLZXf','Column','tableId','cellMargin','defineProperty','titleText','getCellRange','getCellContentRange','getMetadata','default','mergeCells','titleRow','getCellInsertOffset','insertRowsBefore','selectTable','DocsTableColumnType','_tableId','setCellText','getText','describe','setDefaultCellMargin','getOwnPropertyDescriptor','cells','getTableAt','_getBodyPath','getTableRange','deleteRows','tableSource','moveRows','from','get','dataStream','some','string','endOffset','getSource','getRowCount','getCellMarginOverride','167aroNTs','deleteColumns','getTable'];_0x5c85=function(){return _0x131496;};return _0x5c85();}function _0x1da9(_0x2e1ea9,_0x1c89d3){_0x2e1ea9=_0x2e1ea9-0xa2;const _0x5c85ed=_0x5c85();let _0x1da936=_0x5c85ed[_0x2e1ea9];return _0x1da936;}var K=class extends _0x498688{get['DocsTableInsertTablePosition'](){return _0xd9e477;}get[_0x21d204(0xb3)](){return _0x504e1c;}get[_0x21d204(0xe4)](){return _0x52c1e6;}get['DocsTableRowInsertPosition'](){return _0xbefe8e;}get[_0x21d204(0xcd)](){return _0x244fe6;}get['DocsTableBorderPreset'](){return _0x3e0b7c;}get[_0x21d204(0xd2)](){return _0x24dbd7;}get['DashStyleType'](){return _0x5a4d22;}};_0x498688[_0x21d204(0xdb)](K);var q=class{constructor(_0x5d339c,_0x3394ed,_0x3973ef){const _0x2fcffb=_0x21d204;this[_0x2fcffb(0xfc)]=_0x5d339c,this[_0x2fcffb(0x121)]=_0x3394ed,this['_column']=_0x3973ef;}[_0x21d204(0xcc)](){return this['_table'];}['getRowIndex'](){const _0x3cc7a0=_0x21d204;return this[_0x3cc7a0(0x121)];}[_0x21d204(0x147)](){const _0x945801=_0x21d204;return this[_0x945801(0x111)];}[_0x21d204(0xb6)](){const _0x5c5eb1=_0x21d204;return this[_0x5c5eb1(0xfc)][_0x5c5eb1(0xda)](this['_row'],this['_column']);}['getContentRange'](){const _0x32e8cf=_0x21d204;return this[_0x32e8cf(0xfc)][_0x32e8cf(0xab)](this[_0x32e8cf(0x121)],this[_0x32e8cf(0x111)]);}[_0x21d204(0xf3)](){const _0x3e2023=_0x21d204;return this['_table'][_0x3e2023(0xb0)](this[_0x3e2023(0x121)],this[_0x3e2023(0x111)]);}['getMargin'](){const _0x28e894=_0x21d204;return this[_0x28e894(0xfc)][_0x28e894(0xe7)](this[_0x28e894(0x121)],this[_0x28e894(0x111)]);}[_0x21d204(0x129)](){const _0x444fcd=_0x21d204;return this[_0x444fcd(0xfc)][_0x444fcd(0xc9)](this[_0x444fcd(0x121)],this[_0x444fcd(0x111)]);}[_0x21d204(0x13b)](_0x192788){const _0x53b24d=_0x21d204;return this[_0x53b24d(0xfc)][_0x53b24d(0x14c)](this[_0x53b24d(0xfc)][_0x53b24d(0xaa)](this['_row'],this[_0x53b24d(0x111)]),_0x192788);}[_0x21d204(0x116)](){const _0x168805=_0x21d204;return this[_0x168805(0xfc)][_0x168805(0x14c)](this[_0x168805(0xfc)][_0x168805(0xaa)](this[_0x168805(0x121)],this[_0x168805(0x111)]),null);}[_0x21d204(0xea)](_0x2d7f54){const _0x491772=_0x21d204;return this['_table'][_0x491772(0xb5)](this[_0x491772(0x121)],this['_column'],_0x2d7f54);}[_0x21d204(0x13a)](_0x4bc7c0){const _0x23cc57=_0x21d204;return this[_0x23cc57(0xfc)][_0x23cc57(0x124)](this[_0x23cc57(0xfc)][_0x23cc57(0xaa)](this['_row'],this[_0x23cc57(0x111)]),_0x4bc7c0);}[_0x21d204(0x11d)](_0x8661e8){const _0x333ba0=_0x21d204;return this[_0x333ba0(0xfc)][_0x333ba0(0x11d)](this[_0x333ba0(0xfc)][_0x333ba0(0xaa)](this[_0x333ba0(0x121)],this[_0x333ba0(0x111)]),_0x8661e8);}[_0x21d204(0xf7)](_0x54d7a4,_0x1c250b){const _0x303969=_0x21d204;return this[_0x303969(0xfc)][_0x303969(0xae)]({'startRow':this[_0x303969(0x121)],'startColumn':this[_0x303969(0x111)],'endRow':this[_0x303969(0x121)]+_0x54d7a4-0x1,'endColumn':this[_0x303969(0x111)]+_0x1c250b-0x1});}[_0x21d204(0xdf)](){const _0x3d6994=_0x21d204;return this['_table'][_0x3d6994(0xfb)](this[_0x3d6994(0xfc)][_0x3d6994(0xaa)](this[_0x3d6994(0x121)],this['_column']));}};function J(_0x4974c5){'@babel/helpers - typeof';const _0x5675fe=_0x21d204;return J=typeof Symbol=='function'&&typeof Symbol[_0x5675fe(0xe6)]==_0x5675fe(0x158)?function(_0x105c3d){return typeof _0x105c3d;}:function(_0x57841e){const _0x4a3928=_0x5675fe;return _0x57841e&&typeof Symbol==_0x4a3928(0x10c)&&_0x57841e['constructor']===Symbol&&_0x57841e!==Symbol['prototype']?_0x4a3928(0x158):typeof _0x57841e;},J(_0x4974c5);}function Y(_0x3da4d2,_0x5ab716){const _0x4c1081=_0x21d204;if(J(_0x3da4d2)!=_0x4c1081(0xd3)||!_0x3da4d2)return _0x3da4d2;var _0x4aa172=_0x3da4d2[Symbol['toPrimitive']];if(_0x4aa172!==void 0x0){var _0x2c9b74=_0x4aa172['call'](_0x3da4d2,_0x5ab716||_0x4c1081(0xad));if(J(_0x2c9b74)!=_0x4c1081(0xd3))return _0x2c9b74;throw TypeError(_0x4c1081(0x108));}return(_0x5ab716==='string'?String:Number)(_0x3da4d2);}function X(_0x94484b){const _0x31bc8f=_0x21d204;var _0x2afdef=Y(_0x94484b,'string');return J(_0x2afdef)==_0x31bc8f(0x158)?_0x2afdef:_0x2afdef+'';}function Z(_0x4bb087,_0x403a4d,_0x8dac20){const _0x19ea6a=_0x21d204;return(_0x403a4d=X(_0x403a4d))in _0x4bb087?Object[_0x19ea6a(0xa8)](_0x4bb087,_0x403a4d,{'value':_0x8dac20,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4bb087[_0x403a4d]=_0x8dac20,_0x4bb087;}function Q(_0x1dd454,_0x44c862){return function(_0x32c760,_0x1a3a55){_0x44c862(_0x32c760,_0x1a3a55,_0x1dd454);};}function te(_0x1c2b84,_0x583dd4,_0x565182,_0xb8a91c){const _0x16401f=_0x21d204;var _0x3e886a=arguments[_0x16401f(0xa2)],_0x1992d7=_0x3e886a<0x3?_0x583dd4:_0xb8a91c===null?_0xb8a91c=Object[_0x16401f(0xb9)](_0x583dd4,_0x565182):_0xb8a91c,_0x102897;if(typeof Reflect==_0x16401f(0xd3)&&typeof Reflect[_0x16401f(0xe3)]=='function')_0x1992d7=Reflect['decorate'](_0x1c2b84,_0x583dd4,_0x565182,_0xb8a91c);else{for(var _0x215330=_0x1c2b84['length']-0x1;_0x215330>=0x0;_0x215330--)(_0x102897=_0x1c2b84[_0x215330])&&(_0x1992d7=(_0x3e886a<0x3?_0x102897(_0x1992d7):_0x3e886a>0x3?_0x102897(_0x583dd4,_0x565182,_0x1992d7):_0x102897(_0x583dd4,_0x565182))||_0x1992d7);}return _0x3e886a>0x3&&_0x1992d7&&Object[_0x16401f(0xa8)](_0x583dd4,_0x565182,_0x1992d7),_0x1992d7;}let $=class{constructor(_0x2715dc,_0x3167df,_0x568d19,_0x237ac0,_0x34189a){const _0x808ed=_0x21d204;this[_0x808ed(0xd4)]=_0x2715dc,this[_0x808ed(0xb4)]=_0x3167df,this['_segmentId']=_0x568d19,this[_0x808ed(0x106)]=_0x237ac0,this['_injector']=_0x34189a,Z(this,_0x808ed(0xe8),void 0x0),this[_0x808ed(0xe8)]=this[_0x808ed(0xd4)][_0x808ed(0x112)]();}[_0x21d204(0x112)](){return this['_tableId'];}[_0x21d204(0x12a)](){const _0x261441=_0x21d204;return this[_0x261441(0x11e)];}[_0x21d204(0x151)](){const _0x34023b=_0x21d204;return{'id':this[_0x34023b(0xb4)],'rowCount':this[_0x34023b(0xc8)](),'columnCount':this[_0x34023b(0x105)](),'metadata':this[_0x34023b(0xac)](),'source':this[_0x34023b(0xc7)]()};}[_0x21d204(0xb7)](){const _0x3b17b2=_0x21d204;let _0x30724e=this[_0x3b17b2(0xac)](),_0x510bdc=this[_0x3b17b2(0xc7)](),_0x5f90b9=this[_0x3b17b2(0x105)]();return{'id':this[_0x3b17b2(0xb4)],'rowCount':this[_0x3b17b2(0xc8)](),'columnCount':_0x5f90b9,'headerRowCount':(_0x30724e==null?void 0x0:_0x30724e[_0x3b17b2(0x117)])??0x0,'titleRow':(_0x30724e==null?void 0x0:_0x30724e[_0x3b17b2(0xaf)])??!0x1,'columns':Array[_0x3b17b2(0xc1)]({'length':_0x5f90b9},(_0xc01131,_0x1731fa)=>{const _0x3baa8d=_0x3b17b2;var _0x48d01e,_0x5e4fef;return{'index':_0x1731fa,'type':_0x30724e==null||(_0x48d01e=_0x30724e['columnTypes'])==null||(_0x48d01e=_0x48d01e[_0x1731fa])==null?void 0x0:_0x48d01e['type'],'width':_0x510bdc==null||(_0x5e4fef=_0x510bdc[_0x3baa8d(0x123)][_0x1731fa])==null?void 0x0:_0x5e4fef[_0x3baa8d(0xf9)]['width']['v']};}),'sampleRows':Array[_0x3b17b2(0xc1)]({'length':this[_0x3b17b2(0xc8)]()},(_0x5bba6b,_0x35b725)=>Array[_0x3b17b2(0xc1)]({'length':_0x5f90b9},(_0x229227,_0x46bcd4)=>this['getCellText'](_0x35b725,_0x46bcd4)))['filter'](_0x116320=>_0x116320[_0x3b17b2(0xc4)](_0x30e5a9=>_0x30e5a9[_0x3b17b2(0xa2)]>0x0))['slice'](0x0,0x5)};}[_0x21d204(0xc8)](){const _0x2b1fd7=_0x21d204;var _0x789ee5;return((_0x789ee5=this[_0x2b1fd7(0xc7)]())==null?void 0x0:_0x789ee5[_0x2b1fd7(0x138)][_0x2b1fd7(0xa2)])??0x0;}[_0x21d204(0x105)](){const _0x1ff2b2=_0x21d204;var _0x2330a1;return((_0x2330a1=this[_0x1ff2b2(0xc7)]())==null?void 0x0:_0x2330a1[_0x1ff2b2(0x123)][_0x1ff2b2(0xa2)])??0x0;}[_0x21d204(0x10a)](_0x241c90,_0x3992de){const _0x4d40b1=_0x21d204;var _0x5e9749;return(_0x5e9749=this[_0x4d40b1(0xc7)]())!=null&&(_0x5e9749=_0x5e9749[_0x4d40b1(0x138)][_0x241c90])!=null&&_0x5e9749['tableCells'][_0x3992de]?this[_0x4d40b1(0xec)][_0x4d40b1(0x131)](q,this,_0x241c90,_0x3992de):null;}[_0x21d204(0xda)](_0x157aad,_0x397de5){const _0x66bd65=_0x21d204;var _0x3ffb8d,_0x2ff252;let _0xe80196=(_0x3ffb8d=_0x212629(this[_0x66bd65(0x107)](),this['_tableId']))==null||(_0x3ffb8d=_0x3ffb8d[_0x66bd65(0x128)][_0x157aad])==null?void 0x0:_0x3ffb8d[_0x66bd65(0xba)][_0x397de5];return _0xe80196?((_0x2ff252=this[_0x66bd65(0x107)]()[_0x66bd65(0xe2)])==null?void 0x0:_0x2ff252['dataStream']['slice'](_0xe80196['startOffset']+0x1,_0xe80196[_0x66bd65(0xc6)])[_0x66bd65(0xf0)](/\r\n$/,''))??'':'';}[_0x21d204(0xe7)](_0x4b3855,_0xfcdbf6){const _0x244b54=_0x21d204;var _0x3bad88;let _0x1d4457=this[_0x244b54(0xc7)](),_0x89adee=_0x1d4457==null||(_0x3bad88=_0x1d4457[_0x244b54(0x138)][_0x4b3855])==null?void 0x0:_0x3bad88[_0x244b54(0x14d)][_0xfcdbf6];return _0x89adee?_0x108dfb[_0x244b54(0xd9)](_0x89adee['margin']??_0x1d4457[_0x244b54(0xa7)]??_0x5490f9):null;}['getCellMarginOverride'](_0x580917,_0x51b8d9){const _0x208ac2=_0x21d204;var _0x53439f;let _0x3e11cf=(_0x53439f=this[_0x208ac2(0xc7)]())==null||(_0x53439f=_0x53439f['tableRows'][_0x580917])==null?void 0x0:_0x53439f[_0x208ac2(0x14d)][_0x51b8d9];return _0x3e11cf!=null&&_0x3e11cf['margin']?_0x108dfb['deepClone'](_0x3e11cf['margin']):null;}[_0x21d204(0x149)](){const _0x4ca877=_0x21d204;var _0x40004a;return _0x108dfb['deepClone'](((_0x40004a=this[_0x4ca877(0xc7)]())==null?void 0x0:_0x40004a[_0x4ca877(0xa7)])??_0x5490f9);}[_0x21d204(0x135)](){const _0x578a49=_0x21d204;var _0xe59396;let _0x3251bf=(_0xe59396=this[_0x578a49(0xc7)]())==null?void 0x0:_0xe59396[_0x578a49(0xa7)];return _0x3251bf?_0x108dfb[_0x578a49(0xd9)](_0x3251bf):null;}[_0x21d204(0xac)](){const _0x1a98ca=_0x21d204;return this[_0x1a98ca(0xec)]['get'](_0x29e810)[_0x1a98ca(0x119)](this[_0x1a98ca(0xe8)],this[_0x1a98ca(0xb4)]);}[_0x21d204(0xc7)](){const _0x22fd10=_0x21d204;var _0x7ec334;return(_0x7ec334=this['_getDocumentData']()[_0x22fd10(0xbf)])==null?void 0x0:_0x7ec334[this[_0x22fd10(0xb4)]];}[_0x21d204(0xe9)](){const _0x4a2ca8=_0x21d204;return _0x212629(this[_0x4a2ca8(0x107)](),this[_0x4a2ca8(0xb4)]);}[_0x21d204(0xbd)](){const _0x42dcc1=_0x21d204;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x42dcc1(0xc8)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x42dcc1(0xe5)](0x0,this[_0x42dcc1(0x105)]()-0x1)};}[_0x21d204(0xaa)](_0x1e1c56,_0x15989a){return{'startRow':_0x1e1c56,'endRow':_0x1e1c56,'startColumn':_0x15989a,'endColumn':_0x15989a};}[_0x21d204(0xab)](_0x1990fd,_0x5a3983){const _0x20e124=_0x21d204;var _0x24db3c;let _0x4b3f12=(_0x24db3c=_0x212629(this[_0x20e124(0x107)](),this[_0x20e124(0xb4)]))==null||(_0x24db3c=_0x24db3c[_0x20e124(0x128)][_0x1990fd])==null?void 0x0:_0x24db3c[_0x20e124(0xba)][_0x5a3983];if(!_0x4b3f12)return null;let _0x4d472e=_0x4b3f12[_0x20e124(0x157)]+0x1;return{'startOffset':_0x4d472e,'endOffset':Math[_0x20e124(0xe5)](_0x4d472e,_0x4b3f12[_0x20e124(0xc6)]-0x1),'segmentId':this[_0x20e124(0x11e)]};}[_0x21d204(0xb0)](_0x4269ef,_0x16cad9){const _0x21089d=_0x21d204;let _0x1f34f6=this[_0x21089d(0xab)](_0x4269ef,_0x16cad9);return _0x1f34f6?Math[_0x21089d(0xe5)](_0x1f34f6['startOffset'],_0x1f34f6[_0x21089d(0xc6)]-0x1):null;}[_0x21d204(0xeb)](_0x322d20){const _0x152f0b=_0x21d204;return this[_0x152f0b(0x140)](_0x322d20,0x1);}[_0x21d204(0x140)](_0x4bfa16,_0x543f4b=0x1){const _0x16f606=_0x21d204;return{'startRow':_0x4bfa16,'endRow':_0x4bfa16+_0x543f4b-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x16f606(0x105)]()-0x1)};}[_0x21d204(0x114)](_0x5aad94){const _0x188b2b=_0x21d204;return this[_0x188b2b(0x13f)](_0x5aad94,0x1);}[_0x21d204(0x13f)](_0x1cacd4,_0x225a82=0x1){const _0x48293f=_0x21d204;return{'startRow':0x0,'endRow':Math[_0x48293f(0xe5)](0x0,this[_0x48293f(0xc8)]()-0x1),'startColumn':_0x1cacd4,'endColumn':_0x1cacd4+_0x225a82-0x1};}[_0x21d204(0xb2)](){const _0xaf8a46=_0x21d204;return this[_0xaf8a46(0xde)](this[_0xaf8a46(0xbd)](),_0x52c1e6['Table']);}[_0x21d204(0x10f)](_0x1d13d5){const _0x3864e2=_0x21d204;return this[_0x3864e2(0x154)](_0x1d13d5,0x1);}[_0x21d204(0x154)](_0x214899,_0x51e48c=0x1){const _0x572419=_0x21d204;return this[_0x572419(0xde)](this[_0x572419(0x140)](_0x214899,_0x51e48c),_0x52c1e6[_0x572419(0xa3)]);}[_0x21d204(0xfe)](_0x21847a){const _0x54898f=_0x21d204;return this[_0x54898f(0x100)](_0x21847a,0x1);}[_0x21d204(0x100)](_0x186cae,_0x5f5d29=0x1){const _0x4cb3cf=_0x21d204;return this['selectRange'](this[_0x4cb3cf(0x13f)](_0x186cae,_0x5f5d29),_0x52c1e6[_0x4cb3cf(0xa5)]);}[_0x21d204(0x146)](_0x5f324a,_0x3e470a){const _0x3b4549=_0x21d204;return this[_0x3b4549(0xde)](this[_0x3b4549(0xaa)](_0x5f324a,_0x3e470a),_0x52c1e6[_0x3b4549(0x13d)]);}[_0x21d204(0xde)](_0x2f40c8,_0x3f5647=_0x52c1e6[_0x21d204(0x134)]){const _0x33e5c4=_0x21d204;return this[_0x33e5c4(0xec)][_0x33e5c4(0xc2)](_0x1b6edc)[_0x33e5c4(0x122)]({..._0x2f40c8,'kind':_0x3f5647,'segmentId':this[_0x33e5c4(0x11e)],'tableId':this[_0x33e5c4(0xb4)]}),!0x0;}[_0x21d204(0x143)](_0x105552){const _0x155b05=_0x21d204;return this[_0x155b05(0xb1)](_0x105552,0x1);}['insertRowAfter'](_0x25000b){const _0x22758f=_0x21d204;return this[_0x22758f(0x11c)](_0x25000b,0x1);}[_0x21d204(0xb1)](_0x180d85,_0x8bc2ed){const _0x46195e=_0x21d204;let _0x1af538=this[_0x46195e(0x107)](),_0x5c3667=_0x36bc46(_0x1af538,this['_tableId'],_0x180d85,_0x8bc2ed,_0x233685['Above'],this[_0x46195e(0xbc)]());return _0x5c3667?this['_mutateActions'](_0x1af538,_0x5c3667[_0x46195e(0x142)]):!0x1;}['insertRowsAfter'](_0x5c9586,_0x158566){const _0x974cff=_0x21d204;let _0x411736=this['_getDocumentData'](),_0x1072c0=_0x36bc46(_0x411736,this[_0x974cff(0xb4)],_0x5c9586,_0x158566,_0x233685[_0x974cff(0x141)],this[_0x974cff(0xbc)]());return _0x1072c0?this[_0x974cff(0x12d)](_0x411736,_0x1072c0[_0x974cff(0x142)]):!0x1;}[_0x21d204(0x104)](){const _0x5b60cf=_0x21d204;return this['insertRowsAfter'](Math[_0x5b60cf(0xe5)](0x0,this[_0x5b60cf(0xc8)]()-0x1),0x1);}[_0x21d204(0x12c)](_0x56cc4b){const _0x106b20=_0x21d204;return this[_0x106b20(0xce)](_0x56cc4b,0x1);}[_0x21d204(0x120)](_0x2b3a88){return this['insertColumnsAfter'](_0x2b3a88,0x1);}[_0x21d204(0xce)](_0x34d22b,_0x56ee70){const _0x1cccf8=_0x21d204;let _0x3b2401=this[_0x1cccf8(0x107)](),_0x1bfa0f=_0x52c060(_0x3b2401,this[_0x1cccf8(0xb4)],_0x34d22b,_0x56ee70,_0x233685['Left'],{'bodyPath':this[_0x1cccf8(0xbc)]()});return _0x1bfa0f?this['_mutateActions'](_0x3b2401,_0x1bfa0f['actions']):!0x1;}[_0x21d204(0x13c)](_0x4189b2,_0x62fdff){const _0x12acce=_0x21d204;let _0x4ae288=this[_0x12acce(0x107)](),_0x4f1621=_0x52c060(_0x4ae288,this[_0x12acce(0xb4)],_0x4189b2,_0x62fdff,_0x233685[_0x12acce(0x118)],{'bodyPath':this[_0x12acce(0xbc)]()});return _0x4f1621?this['_mutateActions'](_0x4ae288,_0x4f1621[_0x12acce(0x142)]):!0x1;}[_0x21d204(0xef)](){const _0xb5d564=_0x21d204;return this['insertColumnsAfter'](Math[_0xb5d564(0xe5)](0x0,this['getColumnCount']()-0x1),0x1);}[_0x21d204(0x126)](_0x52de50){const _0x96568a=_0x21d204;return this[_0x96568a(0xbe)](_0x52de50,0x1);}[_0x21d204(0xbe)](_0x5a64e3,_0x31d3d8=0x1){const _0x35a650=_0x21d204;return!!this['_commandService'][_0x35a650(0x139)](_0x3ea44a['id'],{'endRow':_0x5a64e3+_0x31d3d8-0x1,'segmentId':this[_0x35a650(0x11e)],'startRow':_0x5a64e3,'tableId':this[_0x35a650(0xb4)],'unitId':this[_0x35a650(0xe8)]});}[_0x21d204(0x150)](_0x299e58){return this['deleteColumns'](_0x299e58,0x1);}[_0x21d204(0xcb)](_0x328132,_0x1c41fe=0x1){const _0x2abd9a=_0x21d204;return!!this[_0x2abd9a(0x106)][_0x2abd9a(0x139)](_0x23fe77['id'],{'endColumn':_0x328132+_0x1c41fe-0x1,'segmentId':this[_0x2abd9a(0x11e)],'startColumn':_0x328132,'tableId':this[_0x2abd9a(0xb4)],'unitId':this['_unitId']});}[_0x21d204(0xd7)](){const _0x1cef46=_0x21d204;return!!this[_0x1cef46(0x106)][_0x1cef46(0x139)](_0x5acc8f['id'],{'segmentId':this[_0x1cef46(0x11e)],'tableId':this['_tableId'],'unitId':this[_0x1cef46(0xe8)]});}[_0x21d204(0xf2)](_0x286393,_0x530215){const _0x19c7d1=_0x21d204;let _0x1415be=this[_0x19c7d1(0x107)]();return this[_0x19c7d1(0x12d)](_0x1415be,_0x5f3ec8(_0x1415be,this[_0x19c7d1(0xb4)],_0x286393,_0x530215));}[_0x21d204(0x14f)](_0x2198c9){const _0x5ee69a=_0x21d204;let _0x476325=this['_getDocumentData']();return this[_0x5ee69a(0x12d)](_0x476325,_0x574f82(_0x476325,this['_tableId'],_0x2198c9,this[_0x5ee69a(0xbc)]()));}[_0x21d204(0x145)](_0xa2bdd3,_0x5277a7,_0x25c087=_0x233685['Above']){const _0x3822b6=_0x21d204;return this[_0x3822b6(0xc0)](_0xa2bdd3,0x1,_0x5277a7,_0x25c087);}[_0x21d204(0xc0)](_0x4cbe42,_0x39a75f,_0x353ea5,_0x6c3375=_0x233685['Above']){const _0xd1631=_0x21d204;let _0x5ad50f=this[_0xd1631(0x107)](),_0x3915d1=_0xba199c(_0x5ad50f,this[_0xd1631(0xb4)],_0x4cbe42,_0x353ea5,_0x39a75f,_0x6c3375,this[_0xd1631(0xbc)]());return _0x3915d1?this[_0xd1631(0x12d)](_0x5ad50f,_0x3915d1[_0xd1631(0x142)]):!0x1;}[_0x21d204(0x12b)](_0x5f56da,_0x53d84d,_0x2539a2=_0x233685[_0x21d204(0x13e)]){return this['moveColumns'](_0x5f56da,0x1,_0x53d84d,_0x2539a2);}[_0x21d204(0x109)](_0x27b95f,_0x1c6232,_0x4077a4,_0x4b7ff3=_0x233685['Left']){const _0x4b2e74=_0x21d204;let _0x19ba0c=this[_0x4b2e74(0x107)](),_0x452a6f=_0x472b15(_0x19ba0c,this[_0x4b2e74(0xb4)],_0x27b95f,_0x4077a4,_0x1c6232,_0x4b7ff3,this[_0x4b2e74(0xbc)]());return _0x452a6f?this[_0x4b2e74(0x12d)](_0x19ba0c,_0x452a6f[_0x4b2e74(0x142)]):!0x1;}[_0x21d204(0xae)](_0x49775c){const _0x1baab8=_0x21d204;try{let _0x3ffd03=this[_0x1baab8(0x107)](),_0x4e8e50=_0xbbfa56({'documentData':_0x3ffd03,'tableId':this[_0x1baab8(0xb4)],..._0x49775c});return _0x4e8e50?this['_mutateActions'](_0x3ffd03,_0x4e8e50[_0x1baab8(0x142)],_0x49775c):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x32ff0e){const _0x508879=_0x21d204;try{let _0x3e6db3=this[_0x508879(0x107)](),_0x77ad87=_0x367e06({'documentData':_0x3e6db3,'tableId':this['_tableId'],..._0x32ff0e});return _0x77ad87?this[_0x508879(0x12d)](_0x3e6db3,_0x77ad87['actions'],_0x32ff0e):!0x1;}catch{return!0x1;}}[_0x21d204(0xb5)](_0x4dec94,_0x1a1e31,_0x479ce6){const _0x2a9621=_0x21d204;let _0x3ba95d=this[_0x2a9621(0x107)](),_0x2d5076=_0x358900(this['_document'][_0x2a9621(0x14e)]()[_0x2a9621(0xfa)](),this[_0x2a9621(0x11e)]);return this['_mutateActions'](_0x3ba95d,_0x539484({'documentData':_0x3ba95d,'tableId':this['_tableId'],'row':_0x4dec94,'column':_0x1a1e31,'text':_0x479ce6},_0x2d5076),this[_0x2a9621(0xaa)](_0x4dec94,_0x1a1e31));}[_0x21d204(0x124)](_0x3c822f,_0x3dbf91){const _0x300ae9=_0x21d204;let _0x5b53e0=this['_getDocumentData']();return this[_0x300ae9(0x12d)](_0x5b53e0,_0x190ba8(_0x5b53e0,{'tableId':this[_0x300ae9(0xb4)],..._0x3c822f,'value':_0x3dbf91}),_0x3c822f);}[_0x21d204(0x14c)](_0x1d7b21,_0x275804){const _0x5694f6=_0x21d204;let _0x519794=this[_0x5694f6(0x107)]();return this['_mutateActions'](_0x519794,_0x53b262({'documentData':_0x519794,'tableId':this[_0x5694f6(0xb4)],..._0x1d7b21,'margin':_0x275804}),_0x1d7b21);}[_0x21d204(0xb8)](_0x50bf2b){const _0xcd2611=_0x21d204;let _0x53c5ad=this[_0xcd2611(0x107)]();return this[_0xcd2611(0x12d)](_0x53c5ad,_0xc60814(_0x53c5ad,this[_0xcd2611(0xb4)],_0x50bf2b));}[_0x21d204(0x11d)](_0x48da0b,_0x2a1cfc){const _0x2b980f=_0x21d204;let _0x5d13a8=this[_0x2b980f(0x107)]();return this['_mutateActions'](_0x5d13a8,_0xcae3b2({'documentData':_0x5d13a8,'tableId':this[_0x2b980f(0xb4)],..._0x48da0b,'preset':_0x2a1cfc[_0x2b980f(0x132)]??_0x3e0b7c['All'],'border':_0x2a1cfc[_0x2b980f(0xd6)]??{'color':{'rgb':_0x2a1cfc[_0x2b980f(0x136)]??_0x2b980f(0x127)},'width':{'v':_0x2a1cfc[_0x2b980f(0xf4)]??0x1},'dashStyle':_0x5a4d22[_0x2b980f(0x11a)]}}),_0x48da0b);}[_0x21d204(0xf1)](_0x1f927f){const _0x348f5f=_0x21d204;return this['setCellBackground'](this[_0x348f5f(0xbd)](),_0x1f927f);}[_0x21d204(0x102)](_0x14a97c){const _0x2a59c1=_0x21d204;return this[_0x2a59c1(0x11d)](this['getTableRange'](),_0x14a97c);}['setTableStyle'](_0x3b8224){const _0xead339=_0x21d204;let _0x2e7601=!_0x3b8224['backgroundColor']||this[_0xead339(0xf1)](_0x3b8224[_0xead339(0x148)]),_0x482022=!_0x3b8224[_0xead339(0xd6)]||this[_0xead339(0x102)](_0x3b8224['border']);return _0x2e7601&&_0x482022;}[_0x21d204(0xf5)](_0x2761ca,_0x1c3472,_0x519f5d=_0x5e8b38[_0x21d204(0x125)]){const _0x2fe8f5=_0x21d204;var _0x25aeb9;let _0x726dff=this['_getDocumentData']();return(_0x25aeb9=_0x726dff['tableSource'])!=null&&(_0x25aeb9=_0x25aeb9[this[_0x2fe8f5(0xb4)]])!=null&&_0x25aeb9['tableRows'][_0x2761ca]?this[_0x2fe8f5(0x12d)](_0x726dff,_0x5be49a(_0x726dff,this[_0x2fe8f5(0xb4)],_0x2761ca,_0x1c3472,_0x519f5d)):!0x1;}['getRowHeight'](_0x28514e){const _0x1f3133=_0x21d204;var _0x563e96;let _0x3cab87=(_0x563e96=this[_0x1f3133(0xc7)]())==null||(_0x563e96=_0x563e96[_0x1f3133(0x138)][_0x28514e])==null?void 0x0:_0x563e96[_0x1f3133(0xed)];return _0x3cab87?_0x108dfb['deepClone'](_0x3cab87):null;}[_0x21d204(0x156)](_0x2e2bfc,_0x1c802d){const _0x73cb27=_0x21d204;var _0xc6f82c;let _0x496f90=this['_getDocumentData']();return(_0xc6f82c=_0x496f90[_0x73cb27(0xbf)])!=null&&(_0xc6f82c=_0xc6f82c[this[_0x73cb27(0xb4)]])!=null&&_0xc6f82c['tableColumns'][_0x2e2bfc]?this[_0x73cb27(0x12d)](_0x496f90,_0x33ac02(_0x496f90,this[_0x73cb27(0xb4)],_0x2e2bfc,_0x1c802d)):!0x1;}['distributeRows'](_0x3b16d5=0x0,_0x506ca7=this[_0x21d204(0xc8)]()){const _0x4824ac=_0x21d204;let _0x448760=this[_0x4824ac(0x107)]();return this[_0x4824ac(0x12d)](_0x448760,_0x51f85c(_0x448760,this[_0x4824ac(0xb4)],_0x3b16d5,_0x3b16d5+_0x506ca7-0x1));}[_0x21d204(0x12f)](_0x416d5b=0x0,_0x54370c=this['getColumnCount']()){const _0x57e35d=_0x21d204;let _0x154e53=this[_0x57e35d(0x107)]();return this[_0x57e35d(0x12d)](_0x154e53,_0xe80b36(_0x154e53,this[_0x57e35d(0xb4)],_0x416d5b,_0x416d5b+_0x54370c-0x1));}[_0x21d204(0xd0)](){const _0x582a4e=_0x21d204;var _0x4b4ca8;return((_0x4b4ca8=this[_0x582a4e(0xac)]())==null?void 0x0:_0x4b4ca8[_0x582a4e(0x117)])??0x0;}['setHeaderRowCount'](_0x43d88c){const _0x166362=_0x21d204;let _0x4adee5=this[_0x166362(0xec)][_0x166362(0xc2)](_0x29e810),_0x1a5ead=this[_0x166362(0x107)](),_0x5c71d7=_0x48d74b(_0x1a5ead,this[_0x166362(0xb4)],_0x43d88c);if(!_0x5c71d7)return!0x1;let _0x29f7f4=this[_0x166362(0x12d)](_0x1a5ead,_0x5c71d7[_0x166362(0x142)]);return _0x29f7f4&&_0x4adee5[_0x166362(0x115)](this[_0x166362(0xe8)],this[_0x166362(0xb4)],_0x5c71d7['headerRowCount']),_0x29f7f4;}[_0x21d204(0x14a)](_0x96ba60){return this['setHeaderRowCount'](_0x96ba60);}[_0x21d204(0x153)](){const _0x1e49d4=_0x21d204;var _0x2498e6;return((_0x2498e6=this[_0x1e49d4(0xac)]())==null?void 0x0:_0x2498e6[_0x1e49d4(0xaf)])??!0x1;}['insertTitleRow'](){const _0x2df6b4=_0x21d204;let _0x59fb18=this[_0x2df6b4(0xec)][_0x2df6b4(0xc2)](_0x29e810),_0x55e00f=this[_0x2df6b4(0x107)](),_0x5c7bf6=_0x54a3b8(_0x55e00f,this[_0x2df6b4(0xb4)],this[_0x2df6b4(0xbc)]());if(!_0x5c7bf6)return!0x1;let _0x1e5ab5=this[_0x2df6b4(0x12d)](_0x55e00f,_0x5c7bf6[_0x2df6b4(0x142)]);return _0x1e5ab5&&_0x59fb18[_0x2df6b4(0xcf)](this['_unitId'],this[_0x2df6b4(0xb4)],!0x0),_0x1e5ab5;}[_0x21d204(0x152)](_0x256dae,_0x4962ea){const _0x21536a=_0x21d204;return this['_injector'][_0x21536a(0xc2)](_0x29e810)[_0x21536a(0x152)](this[_0x21536a(0xe8)],this[_0x21536a(0xb4)],_0x256dae,_0x4962ea),!0x0;}['sortByColumn'](_0x511971,_0x1c76af){const _0x1bcac7=_0x21d204;let _0x3d34ad=this['_getDocumentData']();return this[_0x1bcac7(0x12d)](_0x3d34ad,_0x2634f8(_0x3d34ad,this['_serializeModel'](),this['_tableId'],_0x511971,_0x1c76af,this[_0x1bcac7(0xbc)]()));}[_0x21d204(0x107)](){const _0x3c831f=_0x21d204;let _0x43ebfa=this[_0x3c831f(0xd4)][_0x3c831f(0x14e)]()['getSnapshot']();return this['_segmentId']?{...this['_document'][_0x3c831f(0x14e)](this[_0x3c831f(0x11e)])[_0x3c831f(0xfa)](),'documentStyle':_0x43ebfa[_0x3c831f(0x14b)],'tableSource':_0x43ebfa[_0x3c831f(0xbf)]}:_0x43ebfa;}[_0x21d204(0xdd)](){const _0x26fc8c=_0x21d204;return this['_injector'][_0x26fc8c(0xc2)](_0x29e810)[_0x26fc8c(0x155)](this['_unitId']);}[_0x21d204(0xbc)](){const _0x48fb2f=_0x21d204;return _0x358900(this[_0x48fb2f(0xd4)][_0x48fb2f(0x14e)]()[_0x48fb2f(0xfa)](),this[_0x48fb2f(0x11e)]);}[_0x21d204(0x12d)](_0x4d77fd,_0x23775b,_0x17f5b1){const _0x5b145c=_0x21d204;return _0x166423(this[_0x5b145c(0x106)],this[_0x5b145c(0xe8)],_0x4d77fd,_0x23775b,_0x17f5b1?{'tableId':this['_tableId'],'segmentId':this[_0x5b145c(0x11e)],..._0x17f5b1}:void 0x0);}};$=te([Q(0x3,_0x276e4e),Q(0x4,_0x49e0d4(_0x172761))],$);var ne=class extends _0x25037a{[_0x21d204(0xf6)](_0x242b7f=''){const _0x279b5d=_0x21d204;return this[_0x279b5d(0x144)](_0x242b7f)['map'](_0x34c83a=>this['_createFDocumentTable'](_0x34c83a['tableId'],_0x242b7f));}[_0x21d204(0xcc)](_0x5b134a,_0x1efee8=''){const _0x26d6fc=_0x21d204;return this[_0x26d6fc(0x144)](_0x1efee8)[_0x26d6fc(0xc4)](_0x5573e1=>_0x5573e1['tableId']===_0x5b134a)?this[_0x26d6fc(0xd8)](_0x5b134a,_0x1efee8):null;}[_0x21d204(0xbb)](_0x1d0d1d,_0x331f1d=''){const _0x6802a1=_0x21d204;var _0x1300de;let _0x1fdaf2=(_0x1300de=this[_0x6802a1(0x144)](_0x331f1d)[_0x1d0d1d])==null?void 0x0:_0x1300de[_0x6802a1(0xa6)];return _0x1fdaf2?this[_0x6802a1(0xd8)](_0x1fdaf2,_0x331f1d):null;}[_0x21d204(0x130)](){const _0x4c68bd=_0x21d204;let _0x3b7264=this[_0x4c68bd(0xec)][_0x4c68bd(0xc2)](_0x1b6edc)[_0x4c68bd(0xff)]();return _0x3b7264!=null&&_0x3b7264['tableId']?this[_0x4c68bd(0xd8)](_0x3b7264[_0x4c68bd(0xa6)],_0x3b7264[_0x4c68bd(0x11f)]):null;}[_0x21d204(0xd1)](_0xcaecc4,_0x26d460=''){const _0x58f6a2=_0x21d204;return this[_0x58f6a2(0x110)](_0xcaecc4,_0x26d460)[0x0]??null;}[_0x21d204(0x110)](_0x1d50cd,_0x5989f3=''){const _0x26b51a=_0x21d204;let _0x2a8ca4=this['_getTableDocumentData'](_0x5989f3),_0x5490cd=typeof _0x1d50cd==_0x26b51a(0xc5)?{'text':_0x1d50cd}:_0x1d50cd;return this[_0x26b51a(0xf6)](_0x5989f3)['filter'](_0x311129=>{const _0x34a1ab=_0x26b51a;let _0x463c2b=_0x311129['getId']();return!(_0x5490cd['tableId']&&_0x463c2b!==_0x5490cd[_0x34a1ab(0xa6)]||_0x5490cd['text']&&!this[_0x34a1ab(0x10d)](_0x2a8ca4,_0x463c2b,_0x5490cd['text'])||_0x5490cd['headerText']&&!this[_0x34a1ab(0x101)](_0x311129,0x0,_0x5490cd[_0x34a1ab(0xf8)])||_0x5490cd['titleText']&&!this['_rowContainsText'](_0x311129,0x0,_0x5490cd[_0x34a1ab(0xa9)]));});}[_0x21d204(0xe0)](_0x49b402,_0x3fbdae,_0x22ba75={}){const _0x376726=_0x21d204;let _0x1450bf=this[_0x376726(0xec)][_0x376726(0xc2)](_0x276e4e),_0xf301ac=_0x22ba75[_0x376726(0xa6)]??_0xe28609(0x6);return _0x1450bf['syncExecuteCommand'](_0x2bc2b1['id'],{..._0x22ba75,'unitId':this[_0x376726(0x112)](),'rows':_0x49b402,'columns':_0x3fbdae,'tableId':_0xf301ac})?this['_createFDocumentTable'](_0xf301ac,_0x22ba75[_0x376726(0x11f)]??''):null;}[_0x21d204(0x159)](_0x3112cb,_0x5a56b5={}){const _0x39ddd1=_0x21d204;let _0x33b420=this[_0x39ddd1(0xec)]['get'](_0x276e4e),_0x20a00=_0x5a56b5[_0x39ddd1(0xa6)]??_0xe28609(0x6);return _0x33b420[_0x39ddd1(0x139)](_0x2bc2b1['id'],{..._0x5a56b5,'unitId':this[_0x39ddd1(0x112)](),'values':_0x3112cb,'tableId':_0x20a00})?this[_0x39ddd1(0xd8)](_0x20a00,_0x5a56b5[_0x39ddd1(0x11f)]??''):null;}[_0x21d204(0x144)](_0x57dbbb=''){const _0x148b49=_0x21d204;let {tables:_0x5ccdfd=[]}=this[_0x148b49(0xee)](_0x57dbbb);return _0x5ccdfd;}[_0x21d204(0x137)](_0x282207=''){const _0x4b0446=_0x21d204;let _0x375047=this[_0x4b0446(0x14e)]()[_0x4b0446(0xfa)]();return _0x282207?{...this[_0x4b0446(0x14e)](_0x282207)['getSnapshot'](),'documentStyle':_0x375047[_0x4b0446(0x14b)],'tableSource':_0x375047[_0x4b0446(0xbf)]}:_0x375047;}[_0x21d204(0xd8)](_0x3ca6bb,_0x4ae91e=''){const _0x377369=_0x21d204;return this[_0x377369(0xec)][_0x377369(0x131)]($,this,_0x3ca6bb,_0x4ae91e);}[_0x21d204(0x10d)](_0x4ef6ec,_0x397c72,_0x3e6336){const _0x4408b0=_0x21d204;var _0x1e7e31;let _0x2d1b66=_0x212629(_0x4ef6ec,_0x397c72);if(!_0x2d1b66)return!0x1;let _0x58554e=(_0x1e7e31=_0x4ef6ec[_0x4408b0(0xe2)])==null?void 0x0:_0x1e7e31[_0x4408b0(0xc3)];return _0x58554e?_0x58554e[_0x4408b0(0xfd)](_0x2d1b66[_0x4408b0(0x157)],_0x2d1b66[_0x4408b0(0xc6)])[_0x4408b0(0x10e)](_0x3e6336):!0x1;}[_0x21d204(0x101)](_0x4cbfc8,_0x43141a,_0x44a75e){const _0x4cf830=_0x21d204;return Array['from']({'length':_0x4cbfc8[_0x4cf830(0x105)]()},(_0x22898b,_0x94e69e)=>_0x4cbfc8[_0x4cf830(0xda)](_0x43141a,_0x94e69e))[_0x4cf830(0xc4)](_0x4a3006=>_0x4a3006[_0x4cf830(0x10e)](_0x44a75e));}};_0x25037a[_0x21d204(0xdb)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
|