@univerjs-pro/docs-table 1.0.0-insiders.20260813-7c9aa50 → 1.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/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/commands/utils.d.ts +1 -1
- package/lib/types/common/clipboard.d.ts +2 -0
- package/lib/types/facade/f-document-table.d.ts +4 -3
- package/lib/types/index.d.ts +2 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x45df34=_0x421c;(function(_0x4bbd5c,_0x1060ed){const _0x49897f=_0x421c,_0x85e9a7=_0x4bbd5c();while(!![]){try{const _0x513c4f=-parseInt(_0x49897f(0x16c))/0x1+-parseInt(_0x49897f(0x1ac))/0x2*(parseInt(_0x49897f(0x1c1))/0x3)+parseInt(_0x49897f(0x1c8))/0x4*(-parseInt(_0x49897f(0x18b))/0x5)+parseInt(_0x49897f(0x1df))/0x6+-parseInt(_0x49897f(0x219))/0x7*(-parseInt(_0x49897f(0x216))/0x8)+parseInt(_0x49897f(0x1b4))/0x9+-parseInt(_0x49897f(0x1fd))/0xa;if(_0x513c4f===_0x1060ed)break;else _0x85e9a7['push'](_0x85e9a7['shift']());}catch(_0x5e926a){_0x85e9a7['push'](_0x85e9a7['shift']());}}}(_0x5282,0x60fe3),Object['defineProperty'](exports,Symbol[_0x45df34(0x1b9)],{'value':_0x45df34(0x1e3)}));let e=require('@univerjs-pro/docs-table'),t=require('@univerjs/core'),n=require('@univerjs/core/facade'),r=require('@univerjs/docs/facade');var i=class extends n[_0x45df34(0x1f2)]{get[_0x45df34(0x1c7)](){const _0x5eea55=_0x45df34;return e[_0x5eea55(0x1c7)];}get['DocsTableColumnType'](){const _0x485451=_0x45df34;return e[_0x485451(0x1ea)];}get[_0x45df34(0x1f3)](){const _0x49db7c=_0x45df34;return e[_0x49db7c(0x1f3)];}get[_0x45df34(0x20d)](){const _0x38644f=_0x45df34;return e[_0x38644f(0x20d)];}get['DocsTableColumnInsertPosition'](){const _0x5b8255=_0x45df34;return e[_0x5b8255(0x1dd)];}get['DocsTableBorderPreset'](){return e['DocsTableBorderPreset'];}get['DocsTableSortDirection'](){const _0x5aa894=_0x45df34;return e[_0x5aa894(0x16b)];}get[_0x45df34(0x172)](){const _0x2e64c2=_0x45df34;return t[_0x2e64c2(0x172)];}};n['FEnum'][_0x45df34(0x22a)](i);var a=class{constructor(_0x9b7efe,_0x295e2c,_0x55f361){const _0x491ac5=_0x45df34;this[_0x491ac5(0x1e1)]=_0x9b7efe,this[_0x491ac5(0x1bb)]=_0x295e2c,this[_0x491ac5(0x231)]=_0x55f361;}[_0x45df34(0x1f9)](){const _0x4bcd67=_0x45df34;return this[_0x4bcd67(0x1e1)];}[_0x45df34(0x1cc)](){const _0x12a49c=_0x45df34;return this[_0x12a49c(0x1bb)];}[_0x45df34(0x1c2)](){return this['_column'];}['getText'](){const _0x40200a=_0x45df34;return this[_0x40200a(0x1e1)][_0x40200a(0x18c)](this['_row'],this[_0x40200a(0x231)]);}[_0x45df34(0x1fa)](){const _0x5b1246=_0x45df34;return this[_0x5b1246(0x1e1)][_0x5b1246(0x234)](this[_0x5b1246(0x1bb)],this['_column']);}[_0x45df34(0x211)](){const _0x10888e=_0x45df34;return this[_0x10888e(0x1e1)][_0x10888e(0x209)](this[_0x10888e(0x1bb)],this[_0x10888e(0x231)]);}['getMargin'](){const _0x5f479c=_0x45df34;return this[_0x5f479c(0x1e1)]['getCellMargin'](this['_row'],this[_0x5f479c(0x231)]);}[_0x45df34(0x1c4)](){const _0x4bb740=_0x45df34;return this[_0x4bb740(0x1e1)][_0x4bb740(0x1fc)](this[_0x4bb740(0x1bb)],this[_0x4bb740(0x231)]);}['setMargin'](_0x31d879){const _0x4efaee=_0x45df34;return this['_table'][_0x4efaee(0x1e4)](this['_table'][_0x4efaee(0x1f0)](this[_0x4efaee(0x1bb)],this[_0x4efaee(0x231)]),_0x31d879);}[_0x45df34(0x184)](){const _0x1b94fc=_0x45df34;return this[_0x1b94fc(0x1e1)][_0x1b94fc(0x1e4)](this[_0x1b94fc(0x1e1)][_0x1b94fc(0x1f0)](this[_0x1b94fc(0x1bb)],this[_0x1b94fc(0x231)]),null);}[_0x45df34(0x1f5)](_0x3a904a){const _0x1de4b8=_0x45df34;return this[_0x1de4b8(0x1e1)][_0x1de4b8(0x1bc)](this[_0x1de4b8(0x1bb)],this['_column'],_0x3a904a);}[_0x45df34(0x181)](_0x358ace){const _0x411ebe=_0x45df34;return this[_0x411ebe(0x1e1)][_0x411ebe(0x198)](this[_0x411ebe(0x1e1)][_0x411ebe(0x1f0)](this[_0x411ebe(0x1bb)],this[_0x411ebe(0x231)]),_0x358ace);}[_0x45df34(0x225)](_0x5cd14e){const _0x3758d6=_0x45df34;return this['_table'][_0x3758d6(0x225)](this[_0x3758d6(0x1e1)][_0x3758d6(0x1f0)](this['_row'],this[_0x3758d6(0x231)]),_0x5cd14e);}['mergeTo'](_0x2bd920,_0x5632e0){const _0xf62b5d=_0x45df34;return this[_0xf62b5d(0x1e1)][_0xf62b5d(0x206)]({'startRow':this[_0xf62b5d(0x1bb)],'startColumn':this['_column'],'endRow':this[_0xf62b5d(0x1bb)]+_0x2bd920-0x1,'endColumn':this[_0xf62b5d(0x231)]+_0x5632e0-0x1});}[_0x45df34(0x192)](){const _0x1eeb82=_0x45df34;return this[_0x1eeb82(0x1e1)][_0x1eeb82(0x1da)](this['_table'][_0x1eeb82(0x1f0)](this[_0x1eeb82(0x1bb)],this['_column']));}};function _0x421c(_0x4c4a99,_0x7acfad){_0x4c4a99=_0x4c4a99-0x167;const _0x528297=_0x5282();let _0x421c16=_0x528297[_0x4c4a99];return _0x421c16;}function o(_0x5319d8){'@babel/helpers - typeof';const _0x3c4ecb=_0x45df34;return o=typeof Symbol==_0x3c4ecb(0x1bf)&&typeof Symbol[_0x3c4ecb(0x189)]==_0x3c4ecb(0x1e7)?function(_0x1a6be2){return typeof _0x1a6be2;}:function(_0x2d178b){const _0x3c6f3b=_0x3c4ecb;return _0x2d178b&&typeof Symbol==_0x3c6f3b(0x1bf)&&_0x2d178b['constructor']===Symbol&&_0x2d178b!==Symbol['prototype']?_0x3c6f3b(0x1e7):typeof _0x2d178b;},o(_0x5319d8);}function s(_0x4790bb,_0x5e79d1){const _0x101855=_0x45df34;if(o(_0x4790bb)!=_0x101855(0x19e)||!_0x4790bb)return _0x4790bb;var _0x43521e=_0x4790bb[Symbol[_0x101855(0x190)]];if(_0x43521e!==void 0x0){var _0x4e69e6=_0x43521e[_0x101855(0x19c)](_0x4790bb,_0x5e79d1||_0x101855(0x183));if(o(_0x4e69e6)!=_0x101855(0x19e))return _0x4e69e6;throw TypeError(_0x101855(0x1de));}return(_0x5e79d1==='string'?String:Number)(_0x4790bb);}function c(_0x44ae68){const _0x346342=_0x45df34;var _0x44e767=s(_0x44ae68,_0x346342(0x1a4));return o(_0x44e767)==_0x346342(0x1e7)?_0x44e767:_0x44e767+'';}function _0x5282(){const _0x24daa5=['FDocumentTableCell','buildSetTableBorderMutationActions','SOLID','2uEHxOb','deleteRows','trHeight','insertColumnBefore','getSource','setHeaderRowCount','_tableContainsText','_segmentId','6871869YWzCHN','getColumnCount','border','max','buildMergeCellsMutationActions','toStringTag','cellMargin','_row','setCellText','insertColumnsAfter','buildDistributeTableColumnsMutationActions','function','getHeaderRowCount','485883ttEQTI','getColumnIndex','getTableAtSelection','getMarginOverride','getTableRangeById','insertColumnsBefore','DocsTableInsertTablePosition','167236MhuSRj','replace','buildInsertTableTitleRowMutationActions','appendRow','getRowIndex','slice','documentStyle','getStableTableSelection','FDocumentTable','insertRowsAfter','_unitId','preset','hasTitleRow','getTables','columnTypes','buildMoveFloatingTableMutationActions','tableId','tableSource','unmergeCells','moveColumns','selectCell','DocsTableColumnInsertPosition','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','2893650GRyHWr','color','_table','tableCells','Module','setCellMargin','Tools','getTableMetadata','symbol','startOffset','getTableAt','DocsTableColumnType','moveRow','setColumnType','findTables','buildDeleteTableColumnsMutationActions','buildResizeTableColumnActionsFromWidth','getCellRange','moveColumn','FEnum','DocsTableSelectionKind','Cell','setText','buildDeleteTableMutationActions','rows','selectRange','getTable','getContentRange','text','getCellMarginOverride','5811340XFvIAp','DocsTableModel','filter','setTitleRow','FDocument','getColumnsRange','headerText','ICommandService','actions','mergeCells','syncExecuteCommand','segmentId','getCellInsertOffset','from','get','buildSetTableBackgroundMutationActions','DocsTableRowInsertPosition','endOffset','DocsTableInsertTableCommand','setTableBorder','getInsertOffset','cells','_getTableDocumentData','getMetadata','buildSetTableCellTextMutationActions','1069680OqOwfD','sortByColumn','buildSetTableCellMarginMutationActions','35xTqpaN','Left','AT_LEAST','buildInsertTableColumnsMutationActions','moveTableToOffset','createInstance','titleText','setTableBackground','All','generateRandomId','_tableId','buildMoveTableRowsMutationActions','setBorder','executeRichTextTableActions','_mutateActions','getTableRange','DocsTableInsertPosition','extend','Above','headerRowCount','deleteColumns','margin','insertRowBefore','tableColumns','_column','distributeRows','insertTitleRow','getCellContentRange','getSnapshot','buildDistributeTableRowsMutationActions','buildSortTableMutationActions','pinHeaderRows','setRowHeight','_createFDocumentTable','getRowsRange','getRowCount','_serializeModel','selectRow','insertRowsBefore','Row','getRowHeight','DocsTableSortDirection','732179fVncYU','buildMoveTableToOffsetMutationActions','getTableActionBodyPath','Right','length','_getDocumentData','DashStyleType','some','describe','buildDeleteTableRowsMutationActions','Range','body','getRowRange','getDefaultCellMarginOverride','includes','_document','insertTableFromData','selectColumn','buildResizeTableRowActionsFromHeight','titleRow','setDefaultCellMargin','setBackgroundColor','getBody','default','clearMarginOverride','_getTables','dataStream','getDefaultCellMargin','deleteRow','iterator','insertTable','5PWiPHx','getCellText','getDocumentDataModel','moveRows','getCell','toPrimitive','TableRowHeightRule','unmerge','getSegmentId','selectColumns','width','_injector','map','setCellBackground','buildMoveTableColumnsMutationActions','getId','_getBodyPath','call','buildInsertTableRowsMutationActions','object','deepClone','getCellMargin','getInfo','distributeColumns','size','string','deleteTable','tableRows','buildSetTableHeaderRowCountMutationActions','serialize'];_0x5282=function(){return _0x24daa5;};return _0x5282();}function l(_0x176a95,_0x5402b1,_0x3e8e20){return(_0x5402b1=c(_0x5402b1))in _0x176a95?Object['defineProperty'](_0x176a95,_0x5402b1,{'value':_0x3e8e20,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x176a95[_0x5402b1]=_0x3e8e20,_0x176a95;}var u=class{constructor(_0x3a2576,_0x3ced0f,_0x37f085='',_0x27c242){const _0x59a933=_0x45df34;this[_0x59a933(0x17b)]=_0x3a2576,this[_0x59a933(0x223)]=_0x3ced0f,this[_0x59a933(0x1b3)]=_0x37f085,this[_0x59a933(0x196)]=_0x27c242,l(this,'_unitId',void 0x0),this[_0x59a933(0x1d2)]=this['_document'][_0x59a933(0x19a)]();}['getId'](){return this['_tableId'];}[_0x45df34(0x193)](){return this['_segmentId'];}[_0x45df34(0x1a1)](){const _0xcc509d=_0x45df34;return{'id':this[_0xcc509d(0x223)],'rowCount':this['getRowCount'](),'columnCount':this['getColumnCount'](),'metadata':this[_0xcc509d(0x214)](),'source':this[_0xcc509d(0x1b0)]()};}[_0x45df34(0x174)](){const _0x473a6f=_0x45df34;let _0x451afc=this[_0x473a6f(0x214)](),_0x2d8a22=this[_0x473a6f(0x1b0)](),_0x49a16d=this[_0x473a6f(0x1b5)]();return{'id':this[_0x473a6f(0x223)],'rowCount':this[_0x473a6f(0x23c)](),'columnCount':_0x49a16d,'headerRowCount':(_0x451afc==null?void 0x0:_0x451afc[_0x473a6f(0x22c)])??0x0,'titleRow':(_0x451afc==null?void 0x0:_0x451afc['titleRow'])??!0x1,'columns':Array[_0x473a6f(0x20a)]({'length':_0x49a16d},(_0x2fa15c,_0xcaaed9)=>{const _0x10ff5a=_0x473a6f;var _0x4deaef,_0x3de39d;return{'index':_0xcaaed9,'type':_0x451afc==null||(_0x4deaef=_0x451afc[_0x10ff5a(0x1d6)])==null||(_0x4deaef=_0x4deaef[_0xcaaed9])==null?void 0x0:_0x4deaef['type'],'width':_0x2d8a22==null||(_0x3de39d=_0x2d8a22[_0x10ff5a(0x230)][_0xcaaed9])==null?void 0x0:_0x3de39d[_0x10ff5a(0x1a3)]['width']['v']};}),'sampleRows':Array['from']({'length':this[_0x473a6f(0x23c)]()},(_0x2d93ca,_0x457df4)=>Array[_0x473a6f(0x20a)]({'length':_0x49a16d},(_0x4e447c,_0x587c07)=>this[_0x473a6f(0x18c)](_0x457df4,_0x587c07)))['filter'](_0x51f890=>_0x51f890[_0x473a6f(0x173)](_0x33f0d1=>_0x33f0d1['length']>0x0))[_0x473a6f(0x1cd)](0x0,0x5)};}[_0x45df34(0x23c)](){const _0x410d66=_0x45df34;var _0x4a0f3a;return((_0x4a0f3a=this['getSource']())==null?void 0x0:_0x4a0f3a['tableRows'][_0x410d66(0x170)])??0x0;}['getColumnCount'](){const _0x464fa9=_0x45df34;var _0x15f7f7;return((_0x15f7f7=this[_0x464fa9(0x1b0)]())==null?void 0x0:_0x15f7f7[_0x464fa9(0x230)][_0x464fa9(0x170)])??0x0;}[_0x45df34(0x18f)](_0x46cac5,_0x37ef35){const _0x14beba=_0x45df34;var _0x3fbe71;return(_0x3fbe71=this[_0x14beba(0x1b0)]())!=null&&(_0x3fbe71=_0x3fbe71['tableRows'][_0x46cac5])!=null&&_0x3fbe71[_0x14beba(0x1e2)][_0x37ef35]?this['_injector'][_0x14beba(0x21e)](a,this,_0x46cac5,_0x37ef35):null;}['getCellText'](_0x3c0d23,_0x2955b4){const _0x499dfb=_0x45df34;var _0x4ca585,_0x547861;let _0x58215c=(_0x4ca585=(0x0,e[_0x499dfb(0x1c5)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x4ca585=_0x4ca585[_0x499dfb(0x1f7)][_0x3c0d23])==null?void 0x0:_0x4ca585['cells'][_0x2955b4];return _0x58215c?((_0x547861=this['_getDocumentData']()['body'])==null?void 0x0:_0x547861[_0x499dfb(0x186)][_0x499dfb(0x1cd)](_0x58215c['startOffset']+0x1,_0x58215c[_0x499dfb(0x20e)])[_0x499dfb(0x1c9)](/\r\n$/,''))??'':'';}[_0x45df34(0x1a0)](_0x497c46,_0x2527cb){const _0xd8bc2d=_0x45df34;var _0x370a83;let _0x1d1e27=this[_0xd8bc2d(0x1b0)](),_0x4f06bc=_0x1d1e27==null||(_0x370a83=_0x1d1e27[_0xd8bc2d(0x1a6)][_0x497c46])==null?void 0x0:_0x370a83['tableCells'][_0x2527cb];return _0x4f06bc?t[_0xd8bc2d(0x1e5)][_0xd8bc2d(0x19f)](_0x4f06bc[_0xd8bc2d(0x22e)]??_0x1d1e27['cellMargin']??e['DEFAULT_DOCS_TABLE_CELL_MARGIN']):null;}['getCellMarginOverride'](_0x3a8f58,_0x56da26){const _0x54fbfb=_0x45df34;var _0x5de2aa;let _0x3579c2=(_0x5de2aa=this[_0x54fbfb(0x1b0)]())==null||(_0x5de2aa=_0x5de2aa['tableRows'][_0x3a8f58])==null?void 0x0:_0x5de2aa['tableCells'][_0x56da26];return _0x3579c2!=null&&_0x3579c2[_0x54fbfb(0x22e)]?t[_0x54fbfb(0x1e5)][_0x54fbfb(0x19f)](_0x3579c2[_0x54fbfb(0x22e)]):null;}[_0x45df34(0x187)](){const _0x3ee294=_0x45df34;var _0x76197b;return t[_0x3ee294(0x1e5)]['deepClone'](((_0x76197b=this[_0x3ee294(0x1b0)]())==null?void 0x0:_0x76197b[_0x3ee294(0x1ba)])??e['DEFAULT_DOCS_TABLE_CELL_MARGIN']);}[_0x45df34(0x179)](){const _0x3ece2c=_0x45df34;var _0x15fb48;let _0x4ef90f=(_0x15fb48=this[_0x3ece2c(0x1b0)]())==null?void 0x0:_0x15fb48[_0x3ece2c(0x1ba)];return _0x4ef90f?t[_0x3ece2c(0x1e5)][_0x3ece2c(0x19f)](_0x4ef90f):null;}[_0x45df34(0x214)](){const _0x238c81=_0x45df34;return this[_0x238c81(0x196)][_0x238c81(0x20b)](e[_0x238c81(0x1fe)])[_0x238c81(0x1e6)](this[_0x238c81(0x1d2)],this[_0x238c81(0x223)]);}[_0x45df34(0x1b0)](){const _0x76d1ff=_0x45df34;var _0xe54812;return(_0xe54812=this[_0x76d1ff(0x171)]()[_0x76d1ff(0x1d9)])==null?void 0x0:_0xe54812[this[_0x76d1ff(0x223)]];}['getRange'](){const _0xb3ad6d=_0x45df34;return(0x0,e[_0xb3ad6d(0x1c5)])(this[_0xb3ad6d(0x171)](),this[_0xb3ad6d(0x223)]);}['getTableRange'](){const _0x3314d3=_0x45df34;return{'startRow':0x0,'endRow':Math[_0x3314d3(0x1b7)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x3314d3(0x1b7)](0x0,this[_0x3314d3(0x1b5)]()-0x1)};}[_0x45df34(0x1f0)](_0x33c2fb,_0x52387b){return{'startRow':_0x33c2fb,'endRow':_0x33c2fb,'startColumn':_0x52387b,'endColumn':_0x52387b};}[_0x45df34(0x234)](_0x2b6825,_0x23de22){const _0x347b6f=_0x45df34;var _0x30390d;let _0xd2b4fc=(_0x30390d=(0x0,e[_0x347b6f(0x1c5)])(this[_0x347b6f(0x171)](),this[_0x347b6f(0x223)]))==null||(_0x30390d=_0x30390d[_0x347b6f(0x1f7)][_0x2b6825])==null?void 0x0:_0x30390d[_0x347b6f(0x212)][_0x23de22];if(!_0xd2b4fc)return null;let _0x5b8163=_0xd2b4fc[_0x347b6f(0x1e8)]+0x1;return{'startOffset':_0x5b8163,'endOffset':Math[_0x347b6f(0x1b7)](_0x5b8163,_0xd2b4fc['endOffset']-0x1),'segmentId':this[_0x347b6f(0x1b3)]};}[_0x45df34(0x209)](_0x2bf95f,_0x289857){const _0xa6c183=_0x45df34;let _0x2b7109=this[_0xa6c183(0x234)](_0x2bf95f,_0x289857);return _0x2b7109?Math[_0xa6c183(0x1b7)](_0x2b7109[_0xa6c183(0x1e8)],_0x2b7109[_0xa6c183(0x20e)]-0x1):null;}[_0x45df34(0x178)](_0x370f6c){const _0x2b7d64=_0x45df34;return this[_0x2b7d64(0x23b)](_0x370f6c,0x1);}[_0x45df34(0x23b)](_0x3799ea,_0x4975ab=0x1){const _0x280e62=_0x45df34;return{'startRow':_0x3799ea,'endRow':_0x3799ea+_0x4975ab-0x1,'startColumn':0x0,'endColumn':Math[_0x280e62(0x1b7)](0x0,this[_0x280e62(0x1b5)]()-0x1)};}['getColumnRange'](_0x265eb6){const _0x53978c=_0x45df34;return this[_0x53978c(0x202)](_0x265eb6,0x1);}[_0x45df34(0x202)](_0x4a0762,_0x3cfcbd=0x1){return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':_0x4a0762,'endColumn':_0x4a0762+_0x3cfcbd-0x1};}['selectTable'](){const _0x2f539d=_0x45df34;return this[_0x2f539d(0x1f8)](this['getTableRange'](),e[_0x2f539d(0x1f3)]['Table']);}[_0x45df34(0x167)](_0x127e2f){return this['selectRows'](_0x127e2f,0x1);}['selectRows'](_0x2d18c3,_0x25fbdd=0x1){const _0xc106f=_0x45df34;return this['selectRange'](this[_0xc106f(0x23b)](_0x2d18c3,_0x25fbdd),e[_0xc106f(0x1f3)][_0xc106f(0x169)]);}[_0x45df34(0x17d)](_0x1d42dc){const _0xc9aec0=_0x45df34;return this[_0xc9aec0(0x194)](_0x1d42dc,0x1);}[_0x45df34(0x194)](_0x7623b8,_0x4f7a0c=0x1){const _0x598204=_0x45df34;return this[_0x598204(0x1f8)](this[_0x598204(0x202)](_0x7623b8,_0x4f7a0c),e[_0x598204(0x1f3)]['Column']);}[_0x45df34(0x1dc)](_0x543285,_0x4728a6){const _0x5621e6=_0x45df34;return this[_0x5621e6(0x1f8)](this[_0x5621e6(0x1f0)](_0x543285,_0x4728a6),e[_0x5621e6(0x1f3)][_0x5621e6(0x1f4)]);}[_0x45df34(0x1f8)](_0x4b33f4,_0x468da0=e[_0x45df34(0x1f3)][_0x45df34(0x176)]){const _0x22bbbf=_0x45df34;return this[_0x22bbbf(0x196)][_0x22bbbf(0x20b)](e['DocsTableSelectionService'])['setStructuralSelection']({..._0x4b33f4,'kind':_0x468da0,'segmentId':this[_0x22bbbf(0x1b3)],'tableId':this[_0x22bbbf(0x223)]}),!0x0;}[_0x45df34(0x22f)](_0x2537e5){const _0x491417=_0x45df34;return this[_0x491417(0x168)](_0x2537e5,0x1);}['insertRowAfter'](_0x382939){const _0x57adc9=_0x45df34;return this[_0x57adc9(0x1d1)](_0x382939,0x1);}[_0x45df34(0x168)](_0x55a002,_0x23c66d){const _0x3148c=_0x45df34;let _0x13cb4e=this[_0x3148c(0x171)](),_0x3872f9=(0x0,e['buildInsertTableRowsMutationActions'])(_0x13cb4e,this['_tableId'],_0x55a002,_0x23c66d,e[_0x3148c(0x229)][_0x3148c(0x22b)],this[_0x3148c(0x19b)]());return _0x3872f9?this[_0x3148c(0x227)](_0x13cb4e,_0x3872f9[_0x3148c(0x205)]):!0x1;}[_0x45df34(0x1d1)](_0x5e5a77,_0x5a6e09){const _0x42bd08=_0x45df34;let _0xd54488=this[_0x42bd08(0x171)](),_0x4a080c=(0x0,e[_0x42bd08(0x19d)])(_0xd54488,this['_tableId'],_0x5e5a77,_0x5a6e09,e[_0x42bd08(0x229)]['Below'],this[_0x42bd08(0x19b)]());return _0x4a080c?this[_0x42bd08(0x227)](_0xd54488,_0x4a080c[_0x42bd08(0x205)]):!0x1;}[_0x45df34(0x1cb)](){const _0x3eba6b=_0x45df34;return this[_0x3eba6b(0x1d1)](Math[_0x3eba6b(0x1b7)](0x0,this[_0x3eba6b(0x23c)]()-0x1),0x1);}[_0x45df34(0x1af)](_0x3f3834){const _0x15dfc7=_0x45df34;return this[_0x15dfc7(0x1c6)](_0x3f3834,0x1);}['insertColumnAfter'](_0x4d984e){const _0x276d4b=_0x45df34;return this[_0x276d4b(0x1bd)](_0x4d984e,0x1);}['insertColumnsBefore'](_0x46f479,_0x36de79){const _0x156d63=_0x45df34;let _0x3341e6=this[_0x156d63(0x171)](),_0x1654fb=(0x0,e[_0x156d63(0x21c)])(_0x3341e6,this[_0x156d63(0x223)],_0x46f479,_0x36de79,e['DocsTableInsertPosition'][_0x156d63(0x21a)],{'bodyPath':this[_0x156d63(0x19b)]()});return _0x1654fb?this[_0x156d63(0x227)](_0x3341e6,_0x1654fb[_0x156d63(0x205)]):!0x1;}[_0x45df34(0x1bd)](_0xd6d8a0,_0x3334f9){const _0x4192bd=_0x45df34;let _0x9735db=this[_0x4192bd(0x171)](),_0x3cd2b1=(0x0,e[_0x4192bd(0x21c)])(_0x9735db,this[_0x4192bd(0x223)],_0xd6d8a0,_0x3334f9,e[_0x4192bd(0x229)][_0x4192bd(0x16f)],{'bodyPath':this[_0x4192bd(0x19b)]()});return _0x3cd2b1?this[_0x4192bd(0x227)](_0x9735db,_0x3cd2b1[_0x4192bd(0x205)]):!0x1;}['appendColumn'](){const _0x4aaa6b=_0x45df34;return this[_0x4aaa6b(0x1bd)](Math[_0x4aaa6b(0x1b7)](0x0,this[_0x4aaa6b(0x1b5)]()-0x1),0x1);}[_0x45df34(0x188)](_0x25216c){const _0x13f528=_0x45df34;return this[_0x13f528(0x1ad)](_0x25216c,0x1);}['deleteRows'](_0x2112b4,_0x22d3af=0x1){const _0x47f70c=_0x45df34;let _0x1b437a=this[_0x47f70c(0x171)](),_0x45b807=(0x0,e[_0x47f70c(0x175)])(_0x1b437a,this[_0x47f70c(0x223)],_0x2112b4,_0x2112b4+_0x22d3af-0x1,this[_0x47f70c(0x19b)]());return _0x45b807?this[_0x47f70c(0x227)](_0x1b437a,_0x45b807[_0x47f70c(0x205)]):!0x1;}['deleteColumn'](_0x3bdf30){return this['deleteColumns'](_0x3bdf30,0x1);}[_0x45df34(0x22d)](_0x5528a5,_0x581f35=0x1){const _0x843cb6=_0x45df34;let _0x3d418b=this['_getDocumentData'](),_0x2972d8=(0x0,e[_0x843cb6(0x1ee)])(_0x3d418b,this['_tableId'],_0x5528a5,_0x5528a5+_0x581f35-0x1,this[_0x843cb6(0x19b)]());return _0x2972d8?this[_0x843cb6(0x227)](_0x3d418b,_0x2972d8[_0x843cb6(0x205)]):!0x1;}[_0x45df34(0x1a5)](){const _0x12ec99=_0x45df34;let _0x35603d=this[_0x12ec99(0x171)](),_0x603560=(0x0,e[_0x12ec99(0x1f6)])(_0x35603d,this[_0x12ec99(0x223)],this['_getBodyPath']());return _0x603560?this['_mutateActions'](_0x35603d,_0x603560[_0x12ec99(0x205)]):!0x1;}['moveTableBy'](_0x1e18f1,_0x214cd2){const _0x3adfa8=_0x45df34;let _0x54bc3b=this[_0x3adfa8(0x171)]();return this[_0x3adfa8(0x227)](_0x54bc3b,(0x0,e[_0x3adfa8(0x1d7)])(_0x54bc3b,this[_0x3adfa8(0x223)],_0x1e18f1,_0x214cd2));}[_0x45df34(0x21d)](_0x1168a0){const _0x684890=_0x45df34;let _0x54e85b=this[_0x684890(0x171)]();return this['_mutateActions'](_0x54e85b,(0x0,e[_0x684890(0x16d)])(_0x54e85b,this[_0x684890(0x223)],_0x1168a0,this[_0x684890(0x19b)]()));}[_0x45df34(0x1eb)](_0x29094d,_0x4fbe72,_0x4044b1=e[_0x45df34(0x229)][_0x45df34(0x22b)]){const _0x30f77f=_0x45df34;return this[_0x30f77f(0x18e)](_0x29094d,0x1,_0x4fbe72,_0x4044b1);}[_0x45df34(0x18e)](_0x33df29,_0x43728e,_0x2ba993,_0x62bc1=e[_0x45df34(0x229)][_0x45df34(0x22b)]){const _0x24de37=_0x45df34;let _0x54a25d=this[_0x24de37(0x171)](),_0x3ef263=(0x0,e[_0x24de37(0x224)])(_0x54a25d,this[_0x24de37(0x223)],_0x33df29,_0x2ba993,_0x43728e,_0x62bc1,this[_0x24de37(0x19b)]());return _0x3ef263?this[_0x24de37(0x227)](_0x54a25d,_0x3ef263[_0x24de37(0x205)]):!0x1;}[_0x45df34(0x1f1)](_0xf227f9,_0x5dd5c2,_0x44db66=e['DocsTableInsertPosition'][_0x45df34(0x21a)]){const _0x584ec2=_0x45df34;return this[_0x584ec2(0x1db)](_0xf227f9,0x1,_0x5dd5c2,_0x44db66);}['moveColumns'](_0x4d4021,_0x23fcce,_0x597a4c,_0x36bbc0=e[_0x45df34(0x229)]['Left']){const _0x24f35d=_0x45df34;let _0x37d417=this[_0x24f35d(0x171)](),_0x1993ad=(0x0,e[_0x24f35d(0x199)])(_0x37d417,this['_tableId'],_0x4d4021,_0x597a4c,_0x23fcce,_0x36bbc0,this[_0x24f35d(0x19b)]());return _0x1993ad?this[_0x24f35d(0x227)](_0x37d417,_0x1993ad[_0x24f35d(0x205)]):!0x1;}['mergeCells'](_0x5d7a57){const _0x3ae09b=_0x45df34;try{let _0x12cee6=this[_0x3ae09b(0x171)](),_0x3ad315=(0x0,e[_0x3ae09b(0x1b8)])({'documentData':_0x12cee6,'tableId':this[_0x3ae09b(0x223)],..._0x5d7a57});return _0x3ad315?this[_0x3ae09b(0x227)](_0x12cee6,_0x3ad315[_0x3ae09b(0x205)],_0x5d7a57):!0x1;}catch{return!0x1;}}[_0x45df34(0x1da)](_0x504913){const _0x3cd1c2=_0x45df34;try{let _0x12edb5=this['_getDocumentData'](),_0x59800d=(0x0,e['buildUnmergeCellsMutationActions'])({'documentData':_0x12edb5,'tableId':this[_0x3cd1c2(0x223)],..._0x504913});return _0x59800d?this[_0x3cd1c2(0x227)](_0x12edb5,_0x59800d[_0x3cd1c2(0x205)],_0x504913):!0x1;}catch{return!0x1;}}[_0x45df34(0x1bc)](_0x280806,_0x344dff,_0x532e56){const _0x3c5110=_0x45df34;let _0x13c8de=this['_getDocumentData'](),_0x3b930e=(0x0,e['getTableActionBodyPath'])(this[_0x3c5110(0x17b)][_0x3c5110(0x18d)]()[_0x3c5110(0x235)](),this['_segmentId']);return this[_0x3c5110(0x227)](_0x13c8de,(0x0,e[_0x3c5110(0x215)])({'documentData':_0x13c8de,'tableId':this[_0x3c5110(0x223)],'row':_0x280806,'column':_0x344dff,'text':_0x532e56},_0x3b930e),this[_0x3c5110(0x1f0)](_0x280806,_0x344dff));}['setCellBackground'](_0x1a790b,_0x4285d5){const _0x1ee9a3=_0x45df34;let _0x2611aa=this[_0x1ee9a3(0x171)]();return this[_0x1ee9a3(0x227)](_0x2611aa,(0x0,e[_0x1ee9a3(0x20c)])(_0x2611aa,{'tableId':this[_0x1ee9a3(0x223)],..._0x1a790b,'value':_0x4285d5}),_0x1a790b);}[_0x45df34(0x1e4)](_0x404bf1,_0x17402c){const _0x1f7144=_0x45df34;let _0x4ea965=this[_0x1f7144(0x171)]();return this[_0x1f7144(0x227)](_0x4ea965,(0x0,e[_0x1f7144(0x218)])({'documentData':_0x4ea965,'tableId':this['_tableId'],..._0x404bf1,'margin':_0x17402c}),_0x404bf1);}[_0x45df34(0x180)](_0x38909d){const _0x5e0072=_0x45df34;let _0x2139a6=this[_0x5e0072(0x171)]();return this[_0x5e0072(0x227)](_0x2139a6,(0x0,e['buildSetTableDefaultCellMarginMutationActions'])(_0x2139a6,this[_0x5e0072(0x223)],_0x38909d));}[_0x45df34(0x225)](_0xc78201,_0x57088c){const _0x786309=_0x45df34;let _0x1e5faf=this['_getDocumentData']();return this[_0x786309(0x227)](_0x1e5faf,(0x0,e[_0x786309(0x1aa)])({'documentData':_0x1e5faf,'tableId':this[_0x786309(0x223)],..._0xc78201,'preset':_0x57088c[_0x786309(0x1d3)]??e['DocsTableBorderPreset'][_0x786309(0x221)],'border':_0x57088c['border']??{'color':{'rgb':_0x57088c[_0x786309(0x1e0)]??'#1f1f1f'},'width':{'v':_0x57088c[_0x786309(0x195)]??0x1},'dashStyle':t[_0x786309(0x172)][_0x786309(0x1ab)]}}),_0xc78201);}[_0x45df34(0x220)](_0x395aa2){const _0x56135b=_0x45df34;return this[_0x56135b(0x198)](this[_0x56135b(0x228)](),_0x395aa2);}[_0x45df34(0x210)](_0x4c06f2){const _0x29935b=_0x45df34;return this[_0x29935b(0x225)](this[_0x29935b(0x228)](),_0x4c06f2);}['setTableStyle'](_0x59cb47){const _0x5bf0d3=_0x45df34;let _0x116a47=!_0x59cb47['backgroundColor']||this['setTableBackground'](_0x59cb47['backgroundColor']),_0x59ee3f=!_0x59cb47[_0x5bf0d3(0x1b6)]||this[_0x5bf0d3(0x210)](_0x59cb47[_0x5bf0d3(0x1b6)]);return _0x116a47&&_0x59ee3f;}[_0x45df34(0x239)](_0x298c9e,_0x3d55b8,_0x77627=t[_0x45df34(0x191)][_0x45df34(0x21b)]){const _0x328ce0=_0x45df34;var _0x2e9752;let _0x778c37=this['_getDocumentData']();return(_0x2e9752=_0x778c37[_0x328ce0(0x1d9)])!=null&&(_0x2e9752=_0x2e9752[this[_0x328ce0(0x223)]])!=null&&_0x2e9752['tableRows'][_0x298c9e]?this[_0x328ce0(0x227)](_0x778c37,(0x0,e[_0x328ce0(0x17e)])(_0x778c37,this[_0x328ce0(0x223)],_0x298c9e,_0x3d55b8,_0x77627)):!0x1;}[_0x45df34(0x16a)](_0x293cf1){const _0x47d2bd=_0x45df34;var _0x628792;let _0x38a810=(_0x628792=this[_0x47d2bd(0x1b0)]())==null||(_0x628792=_0x628792[_0x47d2bd(0x1a6)][_0x293cf1])==null?void 0x0:_0x628792[_0x47d2bd(0x1ae)];return _0x38a810?t[_0x47d2bd(0x1e5)]['deepClone'](_0x38a810):null;}['setColumnWidth'](_0x214280,_0x3069b5){const _0x4f7dee=_0x45df34;var _0x1a8624;let _0x3e7af7=this[_0x4f7dee(0x171)]();return(_0x1a8624=_0x3e7af7['tableSource'])!=null&&(_0x1a8624=_0x1a8624[this['_tableId']])!=null&&_0x1a8624[_0x4f7dee(0x230)][_0x214280]?this['_mutateActions'](_0x3e7af7,(0x0,e[_0x4f7dee(0x1ef)])(_0x3e7af7,this['_tableId'],_0x214280,_0x3069b5)):!0x1;}[_0x45df34(0x232)](_0x2233c8=0x0,_0x764a12=this[_0x45df34(0x23c)]()){const _0x4d2b24=_0x45df34;let _0x3ecd14=this['_getDocumentData']();return this[_0x4d2b24(0x227)](_0x3ecd14,(0x0,e[_0x4d2b24(0x236)])(_0x3ecd14,this[_0x4d2b24(0x223)],_0x2233c8,_0x2233c8+_0x764a12-0x1));}[_0x45df34(0x1a2)](_0x2707e9=0x0,_0x2478df=this[_0x45df34(0x1b5)]()){const _0x47feff=_0x45df34;let _0x332ff0=this['_getDocumentData']();return this[_0x47feff(0x227)](_0x332ff0,(0x0,e[_0x47feff(0x1be)])(_0x332ff0,this[_0x47feff(0x223)],_0x2707e9,_0x2707e9+_0x2478df-0x1));}[_0x45df34(0x1c0)](){const _0x20803c=_0x45df34;var _0x47a7eb;return((_0x47a7eb=this[_0x20803c(0x214)]())==null?void 0x0:_0x47a7eb[_0x20803c(0x22c)])??0x0;}[_0x45df34(0x1b1)](_0x1e3397){const _0x1f5ce3=_0x45df34;let _0x6c99ca=this['_injector']['get'](e[_0x1f5ce3(0x1fe)]),_0x16f5f3=this[_0x1f5ce3(0x171)](),_0x506fda=(0x0,e[_0x1f5ce3(0x1a7)])(_0x16f5f3,this[_0x1f5ce3(0x223)],_0x1e3397);if(!_0x506fda)return!0x1;let _0x3d4411=this['_mutateActions'](_0x16f5f3,_0x506fda['actions']);return _0x3d4411&&_0x6c99ca['setHeaderRowCount'](this[_0x1f5ce3(0x1d2)],this[_0x1f5ce3(0x223)],_0x506fda['headerRowCount']),_0x3d4411;}[_0x45df34(0x238)](_0x48eebb){const _0x59afd0=_0x45df34;return this[_0x59afd0(0x1b1)](_0x48eebb);}[_0x45df34(0x1d4)](){const _0x3b7afb=_0x45df34;var _0x3d119c;return((_0x3d119c=this[_0x3b7afb(0x214)]())==null?void 0x0:_0x3d119c[_0x3b7afb(0x17f)])??!0x1;}[_0x45df34(0x233)](){const _0xd11c03=_0x45df34;let _0x48bcb6=this[_0xd11c03(0x196)][_0xd11c03(0x20b)](e[_0xd11c03(0x1fe)]),_0x26bbbc=this['_getDocumentData'](),_0x1e0beb=(0x0,e[_0xd11c03(0x1ca)])(_0x26bbbc,this[_0xd11c03(0x223)],this['_getBodyPath']());if(!_0x1e0beb)return!0x1;let _0x1dd333=this['_mutateActions'](_0x26bbbc,_0x1e0beb[_0xd11c03(0x205)]);return _0x1dd333&&_0x48bcb6[_0xd11c03(0x200)](this[_0xd11c03(0x1d2)],this['_tableId'],!0x0),_0x1dd333;}['setColumnType'](_0x28bd2f,_0x42907d){const _0x3d46b9=_0x45df34;return this[_0x3d46b9(0x196)][_0x3d46b9(0x20b)](e['DocsTableModel'])[_0x3d46b9(0x1ec)](this[_0x3d46b9(0x1d2)],this['_tableId'],_0x28bd2f,_0x42907d),!0x0;}[_0x45df34(0x217)](_0x1656d4,_0x13f606){const _0x5aeabd=_0x45df34;let _0x134e9b=this[_0x5aeabd(0x171)]();return this[_0x5aeabd(0x227)](_0x134e9b,(0x0,e[_0x5aeabd(0x237)])(_0x134e9b,this['_serializeModel'](),this[_0x5aeabd(0x223)],_0x1656d4,_0x13f606,this[_0x5aeabd(0x19b)]()));}['_getDocumentData'](){const _0x23d769=_0x45df34;let _0x41995c=this[_0x23d769(0x17b)][_0x23d769(0x18d)]()[_0x23d769(0x235)]();return this[_0x23d769(0x1b3)]?{...this[_0x23d769(0x17b)]['getDocumentDataModel'](this[_0x23d769(0x1b3)])[_0x23d769(0x235)](),'documentStyle':_0x41995c[_0x23d769(0x1ce)],'tableSource':_0x41995c[_0x23d769(0x1d9)]}:_0x41995c;}[_0x45df34(0x23d)](){const _0x1a638c=_0x45df34;return this[_0x1a638c(0x196)][_0x1a638c(0x20b)](e[_0x1a638c(0x1fe)])[_0x1a638c(0x1a8)](this[_0x1a638c(0x1d2)]);}[_0x45df34(0x19b)](){const _0xdb77dd=_0x45df34;return(0x0,e[_0xdb77dd(0x16e)])(this['_document'][_0xdb77dd(0x18d)]()['getSnapshot'](),this[_0xdb77dd(0x1b3)]);}[_0x45df34(0x227)](_0x2a7c05,_0x1cd556,_0x307a6d){const _0x287336=_0x45df34;return(0x0,e[_0x287336(0x226)])(this[_0x287336(0x196)]['get'](t[_0x287336(0x204)]),this['_unitId'],_0x2a7c05,_0x1cd556,_0x307a6d?{'tableId':this[_0x287336(0x223)],'segmentId':this[_0x287336(0x1b3)],..._0x307a6d}:void 0x0);}},d=class extends r[_0x45df34(0x201)]{[_0x45df34(0x1d5)](_0x2a3fc2=''){const _0x5ef286=_0x45df34;return this[_0x5ef286(0x185)](_0x2a3fc2)[_0x5ef286(0x197)](_0x821c9c=>this['_createFDocumentTable'](_0x821c9c['tableId'],_0x2a3fc2));}[_0x45df34(0x1f9)](_0x12e79b,_0x33521d=''){const _0x41c995=_0x45df34;return this[_0x41c995(0x185)](_0x33521d)['some'](_0x4b401e=>_0x4b401e[_0x41c995(0x1d8)]===_0x12e79b)?this[_0x41c995(0x23a)](_0x12e79b,_0x33521d):null;}[_0x45df34(0x1e9)](_0x5b6cbb,_0x388989=''){const _0x579416=_0x45df34;var _0x4efe96;let _0x41964a=(_0x4efe96=this[_0x579416(0x185)](_0x388989)[_0x5b6cbb])==null?void 0x0:_0x4efe96[_0x579416(0x1d8)];return _0x41964a?this[_0x579416(0x23a)](_0x41964a,_0x388989):null;}[_0x45df34(0x1c3)](){const _0x2db0b6=_0x45df34;let _0x2309bd=this['_injector'][_0x2db0b6(0x20b)](e['DocsTableSelectionService'])[_0x2db0b6(0x1cf)]();return _0x2309bd!=null&&_0x2309bd[_0x2db0b6(0x1d8)]?this['_createFDocumentTable'](_0x2309bd['tableId'],_0x2309bd['segmentId']):null;}['findTableByText'](_0xbd3b92,_0x37cef8=''){const _0x3fca6e=_0x45df34;return this[_0x3fca6e(0x1ed)](_0xbd3b92,_0x37cef8)[0x0]??null;}[_0x45df34(0x1ed)](_0x294e34,_0x3ec195=''){const _0x88ed76=_0x45df34;let _0x29e2db=this[_0x88ed76(0x213)](_0x3ec195),_0x55bfa7=typeof _0x294e34==_0x88ed76(0x1a4)?{'text':_0x294e34}:_0x294e34;return this[_0x88ed76(0x1d5)](_0x3ec195)[_0x88ed76(0x1ff)](_0x3206c5=>{const _0x3633f6=_0x88ed76;let _0x68d074=_0x3206c5['getId']();return!(_0x55bfa7[_0x3633f6(0x1d8)]&&_0x68d074!==_0x55bfa7[_0x3633f6(0x1d8)]||_0x55bfa7[_0x3633f6(0x1fb)]&&!this[_0x3633f6(0x1b2)](_0x29e2db,_0x68d074,_0x55bfa7['text'])||_0x55bfa7[_0x3633f6(0x203)]&&!this['_rowContainsText'](_0x3206c5,0x0,_0x55bfa7[_0x3633f6(0x203)])||_0x55bfa7['titleText']&&!this['_rowContainsText'](_0x3206c5,0x0,_0x55bfa7[_0x3633f6(0x21f)]));});}[_0x45df34(0x18a)](_0x1ee682,_0x43c5ce,_0x26070f={}){const _0x574f6e=_0x45df34;let _0x2520c3=this['_injector']['get'](t[_0x574f6e(0x204)]),_0x221dd2=_0x26070f[_0x574f6e(0x1d8)]??(0x0,t[_0x574f6e(0x222)])(0x6);return _0x2520c3[_0x574f6e(0x207)](e[_0x574f6e(0x20f)]['id'],{..._0x26070f,'unitId':this[_0x574f6e(0x19a)](),'rows':_0x1ee682,'columns':_0x43c5ce,'tableId':_0x221dd2})?this[_0x574f6e(0x23a)](_0x221dd2,_0x26070f[_0x574f6e(0x208)]??''):null;}[_0x45df34(0x17c)](_0x53c613,_0x3d6305={}){const _0x5683d3=_0x45df34;let _0x16f7ff=this[_0x5683d3(0x196)]['get'](t[_0x5683d3(0x204)]),_0x4a019a=_0x3d6305[_0x5683d3(0x1d8)]??(0x0,t[_0x5683d3(0x222)])(0x6);return _0x16f7ff[_0x5683d3(0x207)](e[_0x5683d3(0x20f)]['id'],{..._0x3d6305,'unitId':this[_0x5683d3(0x19a)](),'values':_0x53c613,'tableId':_0x4a019a})?this['_createFDocumentTable'](_0x4a019a,_0x3d6305[_0x5683d3(0x208)]??''):null;}[_0x45df34(0x185)](_0x2f5e4d=''){const _0x18ca5e=_0x45df34;let {tables:_0x3de192=[]}=this[_0x18ca5e(0x182)](_0x2f5e4d);return _0x3de192;}[_0x45df34(0x213)](_0x48d567=''){const _0x4fb86f=_0x45df34;let _0x115885=this['getDocumentDataModel']()['getSnapshot']();return _0x48d567?{...this['getDocumentDataModel'](_0x48d567)[_0x4fb86f(0x235)](),'documentStyle':_0x115885[_0x4fb86f(0x1ce)],'tableSource':_0x115885[_0x4fb86f(0x1d9)]}:_0x115885;}[_0x45df34(0x23a)](_0x3f530f,_0x27951e=''){const _0x1b3265=_0x45df34;return this[_0x1b3265(0x196)][_0x1b3265(0x21e)](u,this,_0x3f530f,_0x27951e,this['_injector']);}[_0x45df34(0x1b2)](_0x1183e5,_0x448600,_0x507ee6){const _0x2feccd=_0x45df34;var _0x2e0506;let _0x599ae3=(0x0,e[_0x2feccd(0x1c5)])(_0x1183e5,_0x448600);if(!_0x599ae3)return!0x1;let _0x42b737=(_0x2e0506=_0x1183e5[_0x2feccd(0x177)])==null?void 0x0:_0x2e0506[_0x2feccd(0x186)];return _0x42b737?_0x42b737[_0x2feccd(0x1cd)](_0x599ae3[_0x2feccd(0x1e8)],_0x599ae3['endOffset'])[_0x2feccd(0x17a)](_0x507ee6):!0x1;}['_rowContainsText'](_0x52b009,_0x42f21c,_0x1b717e){const _0x29b170=_0x45df34;return Array[_0x29b170(0x20a)]({'length':_0x52b009[_0x29b170(0x1b5)]()},(_0x5f45b9,_0x1787aa)=>_0x52b009['getCellText'](_0x42f21c,_0x1787aa))[_0x29b170(0x173)](_0x44dfbc=>_0x44dfbc[_0x29b170(0x17a)](_0x1b717e));}};r[_0x45df34(0x201)]['extend'](d),exports[_0x45df34(0x1d0)]=u,exports[_0x45df34(0x1a9)]=a;
|
|
1
|
+
const _0x274ca9=_0x4172;(function(_0x2a6df9,_0x423114){const _0x57fc41=_0x4172,_0x5743df=_0x2a6df9();while(!![]){try{const _0x102f62=-parseInt(_0x57fc41(0x182))/0x1*(-parseInt(_0x57fc41(0x139))/0x2)+-parseInt(_0x57fc41(0x11d))/0x3+-parseInt(_0x57fc41(0xff))/0x4+-parseInt(_0x57fc41(0x147))/0x5*(-parseInt(_0x57fc41(0x149))/0x6)+parseInt(_0x57fc41(0x134))/0x7*(parseInt(_0x57fc41(0x198))/0x8)+parseInt(_0x57fc41(0x10e))/0x9+parseInt(_0x57fc41(0x19a))/0xa;if(_0x102f62===_0x423114)break;else _0x5743df['push'](_0x5743df['shift']());}catch(_0x2a8a22){_0x5743df['push'](_0x5743df['shift']());}}}(_0x4417,0x7f969),Object[_0x274ca9(0x10b)](exports,Symbol[_0x274ca9(0x184)],{'value':_0x274ca9(0x18d)}));function _0x4172(_0x1b383c,_0xd0540d){_0x1b383c=_0x1b383c-0xde;const _0x441701=_0x4417();let _0x417258=_0x441701[_0x1b383c];return _0x417258;}let e=require('@univerjs-pro/docs-table'),t=require('@univerjs/core'),n=require('@univerjs/core/facade'),r=require('@univerjs/docs/facade');function _0x4417(){const _0x4462cf=['buildSetTableBackgroundMutationActions','unmerge','setMargin','DocsTableColumnInsertPosition','DocsTableBorderPreset','2716148ceYIFu','getSource','pinHeaderRows','_row','deleteRows','insertColumnsBefore','Table','getMarginOverride','DocsTableInsertTableCommand','setStructuralSelection','Right','getRowHeight','defineProperty','tableSource','hasTitleRow','4405419wBScXX','buildResizeTableColumnActionsFromWidth','from','insertRowsBefore','buildMoveFloatingTableMutationActions','DocsTableSelectionKind','extend','getContentRange','getText','buildInsertTableColumnsMutationActions','getBody','getInsertOffset','columnTypes','getDocumentDataModel','function','3125781mBktKl','insertColumnsAfter','object','_mutateActions','getHeaderRowCount','segmentId','deleteTable','iterator','_injector','get','moveColumns','DocsTableInsertPosition','body','getOwnPropertyDescriptor','setColumnWidth','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','moveColumn','DEFAULT_DOCS_TABLE_CELL_MARGIN','findTableByText','mergeTo','headerRowCount','DocsTableDeleteColumnsCommand','text','7VyCljb','_serializeModel','DocsTableDeleteTableCommand','cells','getRowsRange','2EVTUEi','clearMarginOverride','trHeight','mergeCells','_getDocumentData','setTableBackground','_unitId','All','buildInsertTableTitleRowMutationActions','type','getDefaultCellMargin','getSnapshot','Column','insertRowBefore','10JjmoCm','getCellText','2022666BvDAcZ','FDocumentTableCell','setCellBackground','buildUnmergeCellsMutationActions','rows','DocsTableColumnType','getDefaultCellMarginOverride','cellMargin','symbol','includes','Tools','slice','getInfo','ICommandService','getCellContentRange','map','distributeRows','getTableAt','buildMergeCellsMutationActions','setBackgroundColor','tableRows','setColumnType','getRowRange','moveRows','getTableActionBodyPath','buildDistributeTableColumnsMutationActions','some','getTableRangeById','setTableStyle','buildSetTableCellMarginMutationActions','selectRange','buildSetTableDefaultCellMarginMutationActions','_table','syncExecuteCommand','tableId','deleteColumn','setText','endOffset','buildSetTableHeaderRowCountMutationActions','titleText','getCellMargin','selectCell','selectColumns','backgroundColor','buildMoveTableRowsMutationActions','insertColumnBefore','Above','getCell','size','selectColumn','getColumnCount','buildMoveTableToOffsetMutationActions','DocsTableSelectionService','color','#1f1f1f','DocsTableSortDirection','distributeColumns','197293dQuPLm','Injector','toStringTag','getTable','Inject','generateRandomId','DashStyleType','insertTitleRow','DocsTableRowInsertPosition','moveTableToOffset','setCellMargin','Module','buildMoveTableColumnsMutationActions','_commandService','deleteColumns','getTables','getMetadata','DocsTableModel','Below','FDocumentTable','buildDistributeTableRowsMutationActions','setBorder','3215848GQztID','documentStyle','4805780xoTmit','_tableId','constructor','tableCells','getTableAtSelection','getCellMarginOverride','SOLID','actions','DocsTableInsertTablePosition','TableRowHeightRule','Range','buildSetTableBorderMutationActions','_rowContainsText','length','_document','getColumnsRange','getCellInsertOffset','selectRows','titleRow','getRowCount','insertRowsAfter','getRange','width','startOffset','deepClone','selectTable','border','string','Left','_getTables','getCellRange','filter','insertRowAfter','createInstance','setTableBorder','_createFDocumentTable','FDocument','executeRichTextTableActions','setCellText','_column','Row','tableColumns','default','_tableContainsText','getId','FEnum','getTableRange','setRowHeight','setHeaderRowCount','_segmentId','_getBodyPath','decorate','unmergeCells','buildSortTableMutationActions','max','_getTableDocumentData','buildInsertTableRowsMutationActions','preset','getColumnRange','margin'];_0x4417=function(){return _0x4462cf;};return _0x4417();}var i=class extends n[_0x274ca9(0xeb)]{get['DocsTableInsertTablePosition'](){const _0x453d21=_0x274ca9;return e[_0x453d21(0x1a2)];}get[_0x274ca9(0x14e)](){const _0x4397ae=_0x274ca9;return e[_0x4397ae(0x14e)];}get['DocsTableSelectionKind'](){const _0x5138a7=_0x274ca9;return e[_0x5138a7(0x113)];}get[_0x274ca9(0x18a)](){const _0x4bb4ae=_0x274ca9;return e[_0x4bb4ae(0x18a)];}get[_0x274ca9(0xfd)](){const _0x3065d1=_0x274ca9;return e[_0x3065d1(0xfd)];}get[_0x274ca9(0xfe)](){const _0x989e49=_0x274ca9;return e[_0x989e49(0xfe)];}get['DocsTableSortDirection'](){const _0x14a328=_0x274ca9;return e[_0x14a328(0x180)];}get[_0x274ca9(0x188)](){const _0x2e2c7d=_0x274ca9;return t[_0x2e2c7d(0x188)];}};n['FEnum'][_0x274ca9(0x114)](i);var a=class{constructor(_0x4b6024,_0x48e35e,_0x2e9030){const _0x4cc01b=_0x274ca9;this['_table']=_0x4b6024,this[_0x4cc01b(0x102)]=_0x48e35e,this['_column']=_0x2e9030;}[_0x274ca9(0x185)](){return this['_table'];}['getRowIndex'](){const _0x4f7119=_0x274ca9;return this[_0x4f7119(0x102)];}['getColumnIndex'](){const _0x373774=_0x274ca9;return this[_0x373774(0xe5)];}[_0x274ca9(0x116)](){const _0xfc081f=_0x274ca9;return this['_table']['getCellText'](this[_0xfc081f(0x102)],this['_column']);}[_0x274ca9(0x115)](){const _0x18e03f=_0x274ca9;return this[_0x18e03f(0x169)]['getCellContentRange'](this[_0x18e03f(0x102)],this[_0x18e03f(0xe5)]);}[_0x274ca9(0x119)](){const _0x386672=_0x274ca9;return this[_0x386672(0x169)][_0x386672(0x1aa)](this['_row'],this[_0x386672(0xe5)]);}['getMargin'](){const _0x58c38b=_0x274ca9;return this[_0x58c38b(0x169)]['getCellMargin'](this[_0x58c38b(0x102)],this[_0x58c38b(0xe5)]);}[_0x274ca9(0x106)](){const _0x1b9713=_0x274ca9;return this[_0x1b9713(0x169)][_0x1b9713(0x19f)](this[_0x1b9713(0x102)],this[_0x1b9713(0xe5)]);}[_0x274ca9(0xfc)](_0x111244){const _0xea25d6=_0x274ca9;return this[_0xea25d6(0x169)][_0xea25d6(0x18c)](this[_0xea25d6(0x169)]['getCellRange'](this['_row'],this[_0xea25d6(0xe5)]),_0x111244);}[_0x274ca9(0x13a)](){const _0xb196e0=_0x274ca9;return this['_table'][_0xb196e0(0x18c)](this[_0xb196e0(0x169)][_0xb196e0(0x1b8)](this[_0xb196e0(0x102)],this['_column']),null);}[_0x274ca9(0x16d)](_0x426039){const _0x191a63=_0x274ca9;return this[_0x191a63(0x169)][_0x191a63(0xe4)](this[_0x191a63(0x102)],this[_0x191a63(0xe5)],_0x426039);}[_0x274ca9(0x15c)](_0x27cee5){const _0x37b3b9=_0x274ca9;return this[_0x37b3b9(0x169)]['setCellBackground'](this[_0x37b3b9(0x169)][_0x37b3b9(0x1b8)](this[_0x37b3b9(0x102)],this['_column']),_0x27cee5);}[_0x274ca9(0x197)](_0x1b7a4d){const _0x1f9609=_0x274ca9;return this[_0x1f9609(0x169)]['setBorder'](this[_0x1f9609(0x169)]['getCellRange'](this[_0x1f9609(0x102)],this['_column']),_0x1b7a4d);}[_0x274ca9(0x130)](_0x49ea20,_0x17d903){const _0x188869=_0x274ca9;return this[_0x188869(0x169)][_0x188869(0x13c)]({'startRow':this['_row'],'startColumn':this[_0x188869(0xe5)],'endRow':this[_0x188869(0x102)]+_0x49ea20-0x1,'endColumn':this['_column']+_0x17d903-0x1});}[_0x274ca9(0xfb)](){const _0x192a34=_0x274ca9;return this[_0x192a34(0x169)][_0x192a34(0xf2)](this['_table']['getCellRange'](this[_0x192a34(0x102)],this[_0x192a34(0xe5)]));}};function o(_0x173750){'@babel/helpers - typeof';const _0x307052=_0x274ca9;return o=typeof Symbol==_0x307052(0x11c)&&typeof Symbol[_0x307052(0x124)]=='symbol'?function(_0x53234f){return typeof _0x53234f;}:function(_0xc02425){const _0x521028=_0x307052;return _0xc02425&&typeof Symbol==_0x521028(0x11c)&&_0xc02425[_0x521028(0x19c)]===Symbol&&_0xc02425!==Symbol['prototype']?_0x521028(0x151):typeof _0xc02425;},o(_0x173750);}function s(_0x5b7de5,_0x26e6c9){const _0x165aa2=_0x274ca9;if(o(_0x5b7de5)!=_0x165aa2(0x11f)||!_0x5b7de5)return _0x5b7de5;var _0x3549e3=_0x5b7de5[Symbol['toPrimitive']];if(_0x3549e3!==void 0x0){var _0x837029=_0x3549e3['call'](_0x5b7de5,_0x26e6c9||_0x165aa2(0xe8));if(o(_0x837029)!=_0x165aa2(0x11f))return _0x837029;throw TypeError(_0x165aa2(0x12c));}return(_0x26e6c9===_0x165aa2(0x1b5)?String:Number)(_0x5b7de5);}function c(_0xd227bb){const _0x5c1755=_0x274ca9;var _0x5615a0=s(_0xd227bb,_0x5c1755(0x1b5));return o(_0x5615a0)==_0x5c1755(0x151)?_0x5615a0:_0x5615a0+'';}function l(_0x213c3f,_0x782d3b,_0x1225df){const _0x1d73e1=_0x274ca9;return(_0x782d3b=c(_0x782d3b))in _0x213c3f?Object[_0x1d73e1(0x10b)](_0x213c3f,_0x782d3b,{'value':_0x1225df,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x213c3f[_0x782d3b]=_0x1225df,_0x213c3f;}function u(_0x26ed01,_0x279c36){return function(_0x39d161,_0x300b4f){_0x279c36(_0x39d161,_0x300b4f,_0x26ed01);};}function d(_0x19edfd,_0x598f9f,_0x7c9ca,_0x44ac4b){const _0x8c7499=_0x274ca9;var _0x4c079c=arguments[_0x8c7499(0x1a7)],_0x4b096f=_0x4c079c<0x3?_0x598f9f:_0x44ac4b===null?_0x44ac4b=Object[_0x8c7499(0x12a)](_0x598f9f,_0x7c9ca):_0x44ac4b,_0x568685;if(typeof Reflect=='object'&&typeof Reflect[_0x8c7499(0xf1)]==_0x8c7499(0x11c))_0x4b096f=Reflect[_0x8c7499(0xf1)](_0x19edfd,_0x598f9f,_0x7c9ca,_0x44ac4b);else{for(var _0x1a7248=_0x19edfd[_0x8c7499(0x1a7)]-0x1;_0x1a7248>=0x0;_0x1a7248--)(_0x568685=_0x19edfd[_0x1a7248])&&(_0x4b096f=(_0x4c079c<0x3?_0x568685(_0x4b096f):_0x4c079c>0x3?_0x568685(_0x598f9f,_0x7c9ca,_0x4b096f):_0x568685(_0x598f9f,_0x7c9ca))||_0x4b096f);}return _0x4c079c>0x3&&_0x4b096f&&Object[_0x8c7499(0x10b)](_0x598f9f,_0x7c9ca,_0x4b096f),_0x4b096f;}let f=class{constructor(_0x1fd099,_0x50f307,_0x332981,_0x2c4b76,_0x2e8028){const _0x15d9fd=_0x274ca9;this[_0x15d9fd(0x1a8)]=_0x1fd099,this['_tableId']=_0x50f307,this[_0x15d9fd(0xef)]=_0x332981,this[_0x15d9fd(0x18f)]=_0x2c4b76,this[_0x15d9fd(0x125)]=_0x2e8028,l(this,_0x15d9fd(0x13f),void 0x0),this[_0x15d9fd(0x13f)]=this[_0x15d9fd(0x1a8)][_0x15d9fd(0xea)]();}[_0x274ca9(0xea)](){const _0x35741e=_0x274ca9;return this[_0x35741e(0x19b)];}['getSegmentId'](){return this['_segmentId'];}[_0x274ca9(0x155)](){const _0x109fdc=_0x274ca9;return{'id':this['_tableId'],'rowCount':this['getRowCount'](),'columnCount':this[_0x109fdc(0x17b)](),'metadata':this[_0x109fdc(0x192)](),'source':this['getSource']()};}['describe'](){const _0x40b988=_0x274ca9;let _0x5b1ee8=this['getMetadata'](),_0x390546=this[_0x40b988(0x100)](),_0x2ab8ac=this[_0x40b988(0x17b)]();return{'id':this[_0x40b988(0x19b)],'rowCount':this[_0x40b988(0x1ad)](),'columnCount':_0x2ab8ac,'headerRowCount':(_0x5b1ee8==null?void 0x0:_0x5b1ee8[_0x40b988(0x131)])??0x0,'titleRow':(_0x5b1ee8==null?void 0x0:_0x5b1ee8['titleRow'])??!0x1,'columns':Array[_0x40b988(0x110)]({'length':_0x2ab8ac},(_0x4f9667,_0x21ee0c)=>{const _0x13bb3d=_0x40b988;var _0x4e2238,_0x28c020;return{'index':_0x21ee0c,'type':_0x5b1ee8==null||(_0x4e2238=_0x5b1ee8[_0x13bb3d(0x11a)])==null||(_0x4e2238=_0x4e2238[_0x21ee0c])==null?void 0x0:_0x4e2238[_0x13bb3d(0x142)],'width':_0x390546==null||(_0x28c020=_0x390546[_0x13bb3d(0xe7)][_0x21ee0c])==null?void 0x0:_0x28c020[_0x13bb3d(0x179)]['width']['v']};}),'sampleRows':Array[_0x40b988(0x110)]({'length':this[_0x40b988(0x1ad)]()},(_0x312b80,_0x592e48)=>Array[_0x40b988(0x110)]({'length':_0x2ab8ac},(_0x18d8af,_0x15d0c4)=>this[_0x40b988(0x148)](_0x592e48,_0x15d0c4)))[_0x40b988(0x1b9)](_0x19cf64=>_0x19cf64[_0x40b988(0x163)](_0x2117af=>_0x2117af[_0x40b988(0x1a7)]>0x0))[_0x40b988(0x154)](0x0,0x5)};}[_0x274ca9(0x1ad)](){const _0x2f625e=_0x274ca9;var _0x33698a;return((_0x33698a=this[_0x2f625e(0x100)]())==null?void 0x0:_0x33698a[_0x2f625e(0x15d)][_0x2f625e(0x1a7)])??0x0;}[_0x274ca9(0x17b)](){const _0x347347=_0x274ca9;var _0x2c3e18;return((_0x2c3e18=this['getSource']())==null?void 0x0:_0x2c3e18[_0x347347(0xe7)]['length'])??0x0;}[_0x274ca9(0x178)](_0x1439d2,_0x536883){const _0x257c79=_0x274ca9;var _0x349c32;return(_0x349c32=this[_0x257c79(0x100)]())!=null&&(_0x349c32=_0x349c32[_0x257c79(0x15d)][_0x1439d2])!=null&&_0x349c32['tableCells'][_0x536883]?this['_injector'][_0x257c79(0xdf)](a,this,_0x1439d2,_0x536883):null;}[_0x274ca9(0x148)](_0x5c7891,_0x719759){const _0x2b388b=_0x274ca9;var _0x150bdc,_0x41926f;let _0x57f1d1=(_0x150bdc=(0x0,e[_0x2b388b(0x164)])(this[_0x2b388b(0x13d)](),this['_tableId']))==null||(_0x150bdc=_0x150bdc[_0x2b388b(0x14d)][_0x5c7891])==null?void 0x0:_0x150bdc[_0x2b388b(0x137)][_0x719759];return _0x57f1d1?((_0x41926f=this['_getDocumentData']()['body'])==null?void 0x0:_0x41926f['dataStream'][_0x2b388b(0x154)](_0x57f1d1[_0x2b388b(0x1b1)]+0x1,_0x57f1d1[_0x2b388b(0x16e)])['replace'](/\r\n$/,''))??'':'';}[_0x274ca9(0x171)](_0x2f7627,_0x650a8c){const _0x1e9d87=_0x274ca9;var _0x10e337;let _0x1e3ead=this[_0x1e9d87(0x100)](),_0xc34c5a=_0x1e3ead==null||(_0x10e337=_0x1e3ead[_0x1e9d87(0x15d)][_0x2f7627])==null?void 0x0:_0x10e337[_0x1e9d87(0x19d)][_0x650a8c];return _0xc34c5a?t[_0x1e9d87(0x153)]['deepClone'](_0xc34c5a[_0x1e9d87(0xf9)]??_0x1e3ead[_0x1e9d87(0x150)]??e[_0x1e9d87(0x12e)]):null;}[_0x274ca9(0x19f)](_0x3c4044,_0x5c8927){const _0x13c3fb=_0x274ca9;var _0x595e67;let _0x5deaf1=(_0x595e67=this[_0x13c3fb(0x100)]())==null||(_0x595e67=_0x595e67['tableRows'][_0x3c4044])==null?void 0x0:_0x595e67['tableCells'][_0x5c8927];return _0x5deaf1!=null&&_0x5deaf1[_0x13c3fb(0xf9)]?t[_0x13c3fb(0x153)]['deepClone'](_0x5deaf1['margin']):null;}[_0x274ca9(0x143)](){const _0x18d768=_0x274ca9;var _0x1c0aa2;return t[_0x18d768(0x153)][_0x18d768(0x1b2)](((_0x1c0aa2=this[_0x18d768(0x100)]())==null?void 0x0:_0x1c0aa2['cellMargin'])??e[_0x18d768(0x12e)]);}[_0x274ca9(0x14f)](){const _0x162247=_0x274ca9;var _0x18d415;let _0x2b71a8=(_0x18d415=this[_0x162247(0x100)]())==null?void 0x0:_0x18d415[_0x162247(0x150)];return _0x2b71a8?t[_0x162247(0x153)][_0x162247(0x1b2)](_0x2b71a8):null;}['getMetadata'](){const _0xdc256d=_0x274ca9;return this[_0xdc256d(0x125)][_0xdc256d(0x126)](e[_0xdc256d(0x193)])['getTableMetadata'](this[_0xdc256d(0x13f)],this[_0xdc256d(0x19b)]);}['getSource'](){const _0x3afb58=_0x274ca9;var _0x7990c4;return(_0x7990c4=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0x7990c4[this[_0x3afb58(0x19b)]];}[_0x274ca9(0x1af)](){const _0x48972b=_0x274ca9;return(0x0,e[_0x48972b(0x164)])(this['_getDocumentData'](),this['_tableId']);}[_0x274ca9(0xec)](){const _0x1a6ee5=_0x274ca9;return{'startRow':0x0,'endRow':Math[_0x1a6ee5(0xf4)](0x0,this[_0x1a6ee5(0x1ad)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x1a6ee5(0xf4)](0x0,this[_0x1a6ee5(0x17b)]()-0x1)};}[_0x274ca9(0x1b8)](_0x277f43,_0x20093c){return{'startRow':_0x277f43,'endRow':_0x277f43,'startColumn':_0x20093c,'endColumn':_0x20093c};}[_0x274ca9(0x157)](_0x277799,_0xc5b232){const _0x23b246=_0x274ca9;var _0x12b083;let _0xc18943=(_0x12b083=(0x0,e['getTableRangeById'])(this[_0x23b246(0x13d)](),this[_0x23b246(0x19b)]))==null||(_0x12b083=_0x12b083[_0x23b246(0x14d)][_0x277799])==null?void 0x0:_0x12b083[_0x23b246(0x137)][_0xc5b232];if(!_0xc18943)return null;let _0x537bcc=_0xc18943[_0x23b246(0x1b1)]+0x1;return{'startOffset':_0x537bcc,'endOffset':Math[_0x23b246(0xf4)](_0x537bcc,_0xc18943[_0x23b246(0x16e)]-0x1),'segmentId':this[_0x23b246(0xef)]};}['getCellInsertOffset'](_0x1ab018,_0x5f0210){const _0x3a8ebc=_0x274ca9;let _0x405691=this['getCellContentRange'](_0x1ab018,_0x5f0210);return _0x405691?Math[_0x3a8ebc(0xf4)](_0x405691[_0x3a8ebc(0x1b1)],_0x405691[_0x3a8ebc(0x16e)]-0x1):null;}[_0x274ca9(0x15f)](_0x20ca1f){return this['getRowsRange'](_0x20ca1f,0x1);}[_0x274ca9(0x138)](_0x574cef,_0x46c3b3=0x1){const _0x4cf928=_0x274ca9;return{'startRow':_0x574cef,'endRow':_0x574cef+_0x46c3b3-0x1,'startColumn':0x0,'endColumn':Math[_0x4cf928(0xf4)](0x0,this[_0x4cf928(0x17b)]()-0x1)};}[_0x274ca9(0xf8)](_0x5e531b){const _0x229d3f=_0x274ca9;return this[_0x229d3f(0x1a9)](_0x5e531b,0x1);}['getColumnsRange'](_0xb7a65,_0x1843fa=0x1){const _0x201f09=_0x274ca9;return{'startRow':0x0,'endRow':Math[_0x201f09(0xf4)](0x0,this[_0x201f09(0x1ad)]()-0x1),'startColumn':_0xb7a65,'endColumn':_0xb7a65+_0x1843fa-0x1};}[_0x274ca9(0x1b3)](){const _0x21ea80=_0x274ca9;return this[_0x21ea80(0x167)](this['getTableRange'](),e[_0x21ea80(0x113)][_0x21ea80(0x105)]);}['selectRow'](_0x1dae01){return this['selectRows'](_0x1dae01,0x1);}[_0x274ca9(0x1ab)](_0x5d6b8b,_0x25b425=0x1){const _0x24380e=_0x274ca9;return this[_0x24380e(0x167)](this[_0x24380e(0x138)](_0x5d6b8b,_0x25b425),e[_0x24380e(0x113)][_0x24380e(0xe6)]);}[_0x274ca9(0x17a)](_0x4c9887){const _0x30944e=_0x274ca9;return this[_0x30944e(0x173)](_0x4c9887,0x1);}[_0x274ca9(0x173)](_0x26ee7f,_0xf88612=0x1){const _0x46f8a9=_0x274ca9;return this['selectRange'](this[_0x46f8a9(0x1a9)](_0x26ee7f,_0xf88612),e[_0x46f8a9(0x113)][_0x46f8a9(0x145)]);}[_0x274ca9(0x172)](_0x391d06,_0x516454){const _0x450abc=_0x274ca9;return this['selectRange'](this[_0x450abc(0x1b8)](_0x391d06,_0x516454),e['DocsTableSelectionKind']['Cell']);}[_0x274ca9(0x167)](_0x2cbaeb,_0x4396c6=e[_0x274ca9(0x113)][_0x274ca9(0x1a4)]){const _0x504d2d=_0x274ca9;return this[_0x504d2d(0x125)][_0x504d2d(0x126)](e[_0x504d2d(0x17d)])[_0x504d2d(0x108)]({..._0x2cbaeb,'kind':_0x4396c6,'segmentId':this[_0x504d2d(0xef)],'tableId':this[_0x504d2d(0x19b)]}),!0x0;}[_0x274ca9(0x146)](_0x3608a4){const _0x3d685f=_0x274ca9;return this[_0x3d685f(0x111)](_0x3608a4,0x1);}[_0x274ca9(0xde)](_0x4902f2){const _0x10ea88=_0x274ca9;return this[_0x10ea88(0x1ae)](_0x4902f2,0x1);}[_0x274ca9(0x111)](_0x4ca19a,_0x15cab8){const _0x3eda13=_0x274ca9;let _0x3891a7=this[_0x3eda13(0x13d)](),_0x5c5b88=(0x0,e[_0x3eda13(0xf6)])(_0x3891a7,this['_tableId'],_0x4ca19a,_0x15cab8,e[_0x3eda13(0x128)]['Above'],this[_0x3eda13(0xf0)]());return _0x5c5b88?this[_0x3eda13(0x120)](_0x3891a7,_0x5c5b88[_0x3eda13(0x1a1)]):!0x1;}[_0x274ca9(0x1ae)](_0x16b91e,_0x4d3cd7){const _0x541e77=_0x274ca9;let _0x2c2a2f=this['_getDocumentData'](),_0x959285=(0x0,e[_0x541e77(0xf6)])(_0x2c2a2f,this[_0x541e77(0x19b)],_0x16b91e,_0x4d3cd7,e[_0x541e77(0x128)][_0x541e77(0x194)],this[_0x541e77(0xf0)]());return _0x959285?this[_0x541e77(0x120)](_0x2c2a2f,_0x959285[_0x541e77(0x1a1)]):!0x1;}['appendRow'](){const _0x3501d7=_0x274ca9;return this[_0x3501d7(0x1ae)](Math[_0x3501d7(0xf4)](0x0,this[_0x3501d7(0x1ad)]()-0x1),0x1);}[_0x274ca9(0x176)](_0x126665){const _0x317dd6=_0x274ca9;return this[_0x317dd6(0x104)](_0x126665,0x1);}['insertColumnAfter'](_0x9e8c97){return this['insertColumnsAfter'](_0x9e8c97,0x1);}['insertColumnsBefore'](_0x5025e8,_0x2e1be6){const _0x5cd107=_0x274ca9;let _0x2598f8=this[_0x5cd107(0x13d)](),_0x4351b5=(0x0,e[_0x5cd107(0x117)])(_0x2598f8,this['_tableId'],_0x5025e8,_0x2e1be6,e[_0x5cd107(0x128)][_0x5cd107(0x1b6)],{'bodyPath':this[_0x5cd107(0xf0)]()});return _0x4351b5?this[_0x5cd107(0x120)](_0x2598f8,_0x4351b5[_0x5cd107(0x1a1)]):!0x1;}[_0x274ca9(0x11e)](_0x4096c0,_0x1ff79f){const _0x2a0c3b=_0x274ca9;let _0x385b66=this[_0x2a0c3b(0x13d)](),_0x86da63=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x385b66,this[_0x2a0c3b(0x19b)],_0x4096c0,_0x1ff79f,e[_0x2a0c3b(0x128)][_0x2a0c3b(0x109)],{'bodyPath':this[_0x2a0c3b(0xf0)]()});return _0x86da63?this[_0x2a0c3b(0x120)](_0x385b66,_0x86da63['actions']):!0x1;}['appendColumn'](){const _0x2a54cf=_0x274ca9;return this[_0x2a54cf(0x11e)](Math['max'](0x0,this[_0x2a54cf(0x17b)]()-0x1),0x1);}['deleteRow'](_0x2e393d){const _0x133936=_0x274ca9;return this[_0x133936(0x103)](_0x2e393d,0x1);}[_0x274ca9(0x103)](_0x33f555,_0x414f22=0x1){const _0x4b5d4f=_0x274ca9;return!!this[_0x4b5d4f(0x18f)][_0x4b5d4f(0x16a)](e['DocsTableDeleteRowsCommand']['id'],{'endRow':_0x33f555+_0x414f22-0x1,'segmentId':this[_0x4b5d4f(0xef)],'startRow':_0x33f555,'tableId':this['_tableId'],'unitId':this[_0x4b5d4f(0x13f)]});}[_0x274ca9(0x16c)](_0x57fb0a){const _0x554363=_0x274ca9;return this[_0x554363(0x190)](_0x57fb0a,0x1);}[_0x274ca9(0x190)](_0x4d5099,_0x3e2ce1=0x1){const _0x200f6b=_0x274ca9;return!!this[_0x200f6b(0x18f)][_0x200f6b(0x16a)](e[_0x200f6b(0x132)]['id'],{'endColumn':_0x4d5099+_0x3e2ce1-0x1,'segmentId':this[_0x200f6b(0xef)],'startColumn':_0x4d5099,'tableId':this[_0x200f6b(0x19b)],'unitId':this[_0x200f6b(0x13f)]});}[_0x274ca9(0x123)](){const _0x3dd3ff=_0x274ca9;return!!this[_0x3dd3ff(0x18f)]['syncExecuteCommand'](e[_0x3dd3ff(0x136)]['id'],{'segmentId':this[_0x3dd3ff(0xef)],'tableId':this[_0x3dd3ff(0x19b)],'unitId':this[_0x3dd3ff(0x13f)]});}['moveTableBy'](_0x5149b1,_0x5581e8){const _0x115655=_0x274ca9;let _0x399266=this[_0x115655(0x13d)]();return this[_0x115655(0x120)](_0x399266,(0x0,e[_0x115655(0x112)])(_0x399266,this[_0x115655(0x19b)],_0x5149b1,_0x5581e8));}[_0x274ca9(0x18b)](_0x577f7e){const _0x2549c5=_0x274ca9;let _0x208d7f=this[_0x2549c5(0x13d)]();return this[_0x2549c5(0x120)](_0x208d7f,(0x0,e[_0x2549c5(0x17c)])(_0x208d7f,this[_0x2549c5(0x19b)],_0x577f7e,this[_0x2549c5(0xf0)]()));}['moveRow'](_0x50a05e,_0x5ead24,_0x20cb97=e[_0x274ca9(0x128)]['Above']){return this['moveRows'](_0x50a05e,0x1,_0x5ead24,_0x20cb97);}[_0x274ca9(0x160)](_0x1e794c,_0x377159,_0xa744b2,_0x40dd58=e['DocsTableInsertPosition'][_0x274ca9(0x177)]){const _0x3b49fc=_0x274ca9;let _0x2d2d61=this['_getDocumentData'](),_0x4bae1c=(0x0,e[_0x3b49fc(0x175)])(_0x2d2d61,this['_tableId'],_0x1e794c,_0xa744b2,_0x377159,_0x40dd58,this[_0x3b49fc(0xf0)]());return _0x4bae1c?this[_0x3b49fc(0x120)](_0x2d2d61,_0x4bae1c[_0x3b49fc(0x1a1)]):!0x1;}[_0x274ca9(0x12d)](_0x3aacee,_0xc52509,_0x311d7c=e['DocsTableInsertPosition'][_0x274ca9(0x1b6)]){const _0x43425d=_0x274ca9;return this[_0x43425d(0x127)](_0x3aacee,0x1,_0xc52509,_0x311d7c);}[_0x274ca9(0x127)](_0x5002f4,_0x5479e1,_0x32d2fc,_0x31cfa6=e['DocsTableInsertPosition']['Left']){const _0x4afa06=_0x274ca9;let _0x55b447=this[_0x4afa06(0x13d)](),_0x42af9e=(0x0,e[_0x4afa06(0x18e)])(_0x55b447,this[_0x4afa06(0x19b)],_0x5002f4,_0x32d2fc,_0x5479e1,_0x31cfa6,this['_getBodyPath']());return _0x42af9e?this[_0x4afa06(0x120)](_0x55b447,_0x42af9e[_0x4afa06(0x1a1)]):!0x1;}[_0x274ca9(0x13c)](_0x221655){const _0x105f98=_0x274ca9;try{let _0x2a1b6d=this[_0x105f98(0x13d)](),_0x3000a2=(0x0,e[_0x105f98(0x15b)])({'documentData':_0x2a1b6d,'tableId':this[_0x105f98(0x19b)],..._0x221655});return _0x3000a2?this[_0x105f98(0x120)](_0x2a1b6d,_0x3000a2[_0x105f98(0x1a1)],_0x221655):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x3c81cc){const _0x2e3804=_0x274ca9;try{let _0x35d688=this['_getDocumentData'](),_0x4afc3a=(0x0,e[_0x2e3804(0x14c)])({'documentData':_0x35d688,'tableId':this['_tableId'],..._0x3c81cc});return _0x4afc3a?this[_0x2e3804(0x120)](_0x35d688,_0x4afc3a[_0x2e3804(0x1a1)],_0x3c81cc):!0x1;}catch{return!0x1;}}['setCellText'](_0x2ca49e,_0x15de1c,_0x4c0e51){const _0x1e0810=_0x274ca9;let _0x68e589=this[_0x1e0810(0x13d)](),_0x4c7367=(0x0,e[_0x1e0810(0x161)])(this[_0x1e0810(0x1a8)][_0x1e0810(0x11b)]()[_0x1e0810(0x144)](),this[_0x1e0810(0xef)]);return this[_0x1e0810(0x120)](_0x68e589,(0x0,e['buildSetTableCellTextMutationActions'])({'documentData':_0x68e589,'tableId':this[_0x1e0810(0x19b)],'row':_0x2ca49e,'column':_0x15de1c,'text':_0x4c0e51},_0x4c7367),this[_0x1e0810(0x1b8)](_0x2ca49e,_0x15de1c));}['setCellBackground'](_0x5c6ade,_0x3efa8e){const _0x5b7aee=_0x274ca9;let _0x359438=this['_getDocumentData']();return this[_0x5b7aee(0x120)](_0x359438,(0x0,e[_0x5b7aee(0xfa)])(_0x359438,{'tableId':this['_tableId'],..._0x5c6ade,'value':_0x3efa8e}),_0x5c6ade);}['setCellMargin'](_0x16206a,_0x5992c0){const _0x41313a=_0x274ca9;let _0x572a68=this['_getDocumentData']();return this['_mutateActions'](_0x572a68,(0x0,e[_0x41313a(0x166)])({'documentData':_0x572a68,'tableId':this[_0x41313a(0x19b)],..._0x16206a,'margin':_0x5992c0}),_0x16206a);}['setDefaultCellMargin'](_0x145ceb){const _0x188a67=_0x274ca9;let _0x48347f=this[_0x188a67(0x13d)]();return this[_0x188a67(0x120)](_0x48347f,(0x0,e[_0x188a67(0x168)])(_0x48347f,this[_0x188a67(0x19b)],_0x145ceb));}[_0x274ca9(0x197)](_0x57bea7,_0x2356d1){const _0x383005=_0x274ca9;let _0x44c567=this['_getDocumentData']();return this[_0x383005(0x120)](_0x44c567,(0x0,e[_0x383005(0x1a5)])({'documentData':_0x44c567,'tableId':this[_0x383005(0x19b)],..._0x57bea7,'preset':_0x2356d1[_0x383005(0xf7)]??e[_0x383005(0xfe)][_0x383005(0x140)],'border':_0x2356d1[_0x383005(0x1b4)]??{'color':{'rgb':_0x2356d1[_0x383005(0x17e)]??_0x383005(0x17f)},'width':{'v':_0x2356d1[_0x383005(0x1b0)]??0x1},'dashStyle':t[_0x383005(0x188)][_0x383005(0x1a0)]}}),_0x57bea7);}[_0x274ca9(0x13e)](_0x510c63){const _0x2f5584=_0x274ca9;return this[_0x2f5584(0x14b)](this['getTableRange'](),_0x510c63);}[_0x274ca9(0xe0)](_0x1afb19){const _0x52d315=_0x274ca9;return this[_0x52d315(0x197)](this[_0x52d315(0xec)](),_0x1afb19);}[_0x274ca9(0x165)](_0x1b4382){const _0x30f24b=_0x274ca9;let _0x1af5f7=!_0x1b4382[_0x30f24b(0x174)]||this[_0x30f24b(0x13e)](_0x1b4382[_0x30f24b(0x174)]),_0xa7aaef=!_0x1b4382[_0x30f24b(0x1b4)]||this[_0x30f24b(0xe0)](_0x1b4382[_0x30f24b(0x1b4)]);return _0x1af5f7&&_0xa7aaef;}[_0x274ca9(0xed)](_0x168a73,_0x4305e2,_0x323bdb=t[_0x274ca9(0x1a3)]['AT_LEAST']){const _0x41d3c2=_0x274ca9;var _0x523091;let _0x524915=this[_0x41d3c2(0x13d)]();return(_0x523091=_0x524915['tableSource'])!=null&&(_0x523091=_0x523091[this['_tableId']])!=null&&_0x523091['tableRows'][_0x168a73]?this[_0x41d3c2(0x120)](_0x524915,(0x0,e['buildResizeTableRowActionsFromHeight'])(_0x524915,this['_tableId'],_0x168a73,_0x4305e2,_0x323bdb)):!0x1;}[_0x274ca9(0x10a)](_0x2d597b){const _0x4e0c9b=_0x274ca9;var _0x2ee7a8;let _0x300dbd=(_0x2ee7a8=this[_0x4e0c9b(0x100)]())==null||(_0x2ee7a8=_0x2ee7a8[_0x4e0c9b(0x15d)][_0x2d597b])==null?void 0x0:_0x2ee7a8[_0x4e0c9b(0x13b)];return _0x300dbd?t[_0x4e0c9b(0x153)]['deepClone'](_0x300dbd):null;}[_0x274ca9(0x12b)](_0x3e980b,_0x475757){const _0x3345eb=_0x274ca9;var _0x3c192e;let _0x23e516=this[_0x3345eb(0x13d)]();return(_0x3c192e=_0x23e516[_0x3345eb(0x10c)])!=null&&(_0x3c192e=_0x3c192e[this['_tableId']])!=null&&_0x3c192e[_0x3345eb(0xe7)][_0x3e980b]?this[_0x3345eb(0x120)](_0x23e516,(0x0,e[_0x3345eb(0x10f)])(_0x23e516,this[_0x3345eb(0x19b)],_0x3e980b,_0x475757)):!0x1;}[_0x274ca9(0x159)](_0x402714=0x0,_0xaea6b6=this[_0x274ca9(0x1ad)]()){const _0x19242a=_0x274ca9;let _0x2f5613=this[_0x19242a(0x13d)]();return this[_0x19242a(0x120)](_0x2f5613,(0x0,e[_0x19242a(0x196)])(_0x2f5613,this[_0x19242a(0x19b)],_0x402714,_0x402714+_0xaea6b6-0x1));}[_0x274ca9(0x181)](_0x58763b=0x0,_0x5995b4=this['getColumnCount']()){const _0x3045c0=_0x274ca9;let _0x2bf363=this[_0x3045c0(0x13d)]();return this[_0x3045c0(0x120)](_0x2bf363,(0x0,e[_0x3045c0(0x162)])(_0x2bf363,this[_0x3045c0(0x19b)],_0x58763b,_0x58763b+_0x5995b4-0x1));}[_0x274ca9(0x121)](){const _0x143382=_0x274ca9;var _0x3e7d60;return((_0x3e7d60=this[_0x143382(0x192)]())==null?void 0x0:_0x3e7d60[_0x143382(0x131)])??0x0;}[_0x274ca9(0xee)](_0x1fd803){const _0x342b95=_0x274ca9;let _0x19c069=this['_injector'][_0x342b95(0x126)](e[_0x342b95(0x193)]),_0x3b4b14=this[_0x342b95(0x13d)](),_0x4be3ff=(0x0,e[_0x342b95(0x16f)])(_0x3b4b14,this[_0x342b95(0x19b)],_0x1fd803);if(!_0x4be3ff)return!0x1;let _0x34d36d=this['_mutateActions'](_0x3b4b14,_0x4be3ff[_0x342b95(0x1a1)]);return _0x34d36d&&_0x19c069['setHeaderRowCount'](this[_0x342b95(0x13f)],this[_0x342b95(0x19b)],_0x4be3ff[_0x342b95(0x131)]),_0x34d36d;}[_0x274ca9(0x101)](_0x25a69a){return this['setHeaderRowCount'](_0x25a69a);}[_0x274ca9(0x10d)](){const _0x5002a5=_0x274ca9;var _0x455081;return((_0x455081=this[_0x5002a5(0x192)]())==null?void 0x0:_0x455081[_0x5002a5(0x1ac)])??!0x1;}[_0x274ca9(0x189)](){const _0x507ee0=_0x274ca9;let _0x360df4=this[_0x507ee0(0x125)][_0x507ee0(0x126)](e[_0x507ee0(0x193)]),_0x3b6ee3=this[_0x507ee0(0x13d)](),_0x2893a5=(0x0,e[_0x507ee0(0x141)])(_0x3b6ee3,this[_0x507ee0(0x19b)],this[_0x507ee0(0xf0)]());if(!_0x2893a5)return!0x1;let _0x1beea0=this[_0x507ee0(0x120)](_0x3b6ee3,_0x2893a5[_0x507ee0(0x1a1)]);return _0x1beea0&&_0x360df4['setTitleRow'](this[_0x507ee0(0x13f)],this[_0x507ee0(0x19b)],!0x0),_0x1beea0;}[_0x274ca9(0x15e)](_0x2278e1,_0x538629){const _0x88fec5=_0x274ca9;return this[_0x88fec5(0x125)][_0x88fec5(0x126)](e[_0x88fec5(0x193)])[_0x88fec5(0x15e)](this[_0x88fec5(0x13f)],this[_0x88fec5(0x19b)],_0x2278e1,_0x538629),!0x0;}['sortByColumn'](_0x2f982e,_0x25f06f){const _0x4d5cc7=_0x274ca9;let _0x4df7b6=this[_0x4d5cc7(0x13d)]();return this[_0x4d5cc7(0x120)](_0x4df7b6,(0x0,e[_0x4d5cc7(0xf3)])(_0x4df7b6,this[_0x4d5cc7(0x135)](),this[_0x4d5cc7(0x19b)],_0x2f982e,_0x25f06f,this[_0x4d5cc7(0xf0)]()));}[_0x274ca9(0x13d)](){const _0x1adc89=_0x274ca9;let _0x55a239=this[_0x1adc89(0x1a8)][_0x1adc89(0x11b)]()[_0x1adc89(0x144)]();return this[_0x1adc89(0xef)]?{...this[_0x1adc89(0x1a8)][_0x1adc89(0x11b)](this[_0x1adc89(0xef)])['getSnapshot'](),'documentStyle':_0x55a239[_0x1adc89(0x199)],'tableSource':_0x55a239['tableSource']}:_0x55a239;}['_serializeModel'](){const _0x430742=_0x274ca9;return this[_0x430742(0x125)][_0x430742(0x126)](e['DocsTableModel'])['serialize'](this['_unitId']);}['_getBodyPath'](){const _0x5b5157=_0x274ca9;return(0x0,e[_0x5b5157(0x161)])(this[_0x5b5157(0x1a8)]['getDocumentDataModel']()['getSnapshot'](),this[_0x5b5157(0xef)]);}[_0x274ca9(0x120)](_0x4ca3d6,_0x11fb0c,_0x1ea1eb){const _0xb74b25=_0x274ca9;return(0x0,e[_0xb74b25(0xe3)])(this[_0xb74b25(0x18f)],this[_0xb74b25(0x13f)],_0x4ca3d6,_0x11fb0c,_0x1ea1eb?{'tableId':this[_0xb74b25(0x19b)],'segmentId':this[_0xb74b25(0xef)],..._0x1ea1eb}:void 0x0);}};f=d([u(0x3,t[_0x274ca9(0x156)]),u(0x4,(0x0,t[_0x274ca9(0x186)])(t[_0x274ca9(0x183)]))],f);var p=class extends r[_0x274ca9(0xe2)]{[_0x274ca9(0x191)](_0x17a991=''){const _0x197253=_0x274ca9;return this[_0x197253(0x1b7)](_0x17a991)[_0x197253(0x158)](_0x18fb6f=>this[_0x197253(0xe1)](_0x18fb6f[_0x197253(0x16b)],_0x17a991));}[_0x274ca9(0x185)](_0x1aef06,_0x32926d=''){const _0x291148=_0x274ca9;return this[_0x291148(0x1b7)](_0x32926d)[_0x291148(0x163)](_0x4e4be5=>_0x4e4be5[_0x291148(0x16b)]===_0x1aef06)?this['_createFDocumentTable'](_0x1aef06,_0x32926d):null;}[_0x274ca9(0x15a)](_0x3bc75e,_0x5e3a1c=''){const _0x16e352=_0x274ca9;var _0x30b38c;let _0x3b9b85=(_0x30b38c=this['_getTables'](_0x5e3a1c)[_0x3bc75e])==null?void 0x0:_0x30b38c[_0x16e352(0x16b)];return _0x3b9b85?this[_0x16e352(0xe1)](_0x3b9b85,_0x5e3a1c):null;}[_0x274ca9(0x19e)](){const _0x525cf9=_0x274ca9;let _0x54fadd=this[_0x525cf9(0x125)][_0x525cf9(0x126)](e['DocsTableSelectionService'])['getStableTableSelection']();return _0x54fadd!=null&&_0x54fadd[_0x525cf9(0x16b)]?this['_createFDocumentTable'](_0x54fadd[_0x525cf9(0x16b)],_0x54fadd[_0x525cf9(0x122)]):null;}[_0x274ca9(0x12f)](_0x1ac822,_0x2df566=''){return this['findTables'](_0x1ac822,_0x2df566)[0x0]??null;}['findTables'](_0x203d1d,_0x515aad=''){const _0x17cce4=_0x274ca9;let _0x3bb37=this['_getTableDocumentData'](_0x515aad),_0x54185e=typeof _0x203d1d==_0x17cce4(0x1b5)?{'text':_0x203d1d}:_0x203d1d;return this[_0x17cce4(0x191)](_0x515aad)['filter'](_0x55d59e=>{const _0x2715a9=_0x17cce4;let _0x3e072b=_0x55d59e[_0x2715a9(0xea)]();return!(_0x54185e[_0x2715a9(0x16b)]&&_0x3e072b!==_0x54185e[_0x2715a9(0x16b)]||_0x54185e[_0x2715a9(0x133)]&&!this[_0x2715a9(0xe9)](_0x3bb37,_0x3e072b,_0x54185e[_0x2715a9(0x133)])||_0x54185e['headerText']&&!this[_0x2715a9(0x1a6)](_0x55d59e,0x0,_0x54185e['headerText'])||_0x54185e[_0x2715a9(0x170)]&&!this['_rowContainsText'](_0x55d59e,0x0,_0x54185e[_0x2715a9(0x170)]));});}['insertTable'](_0x5b02a0,_0x1b35ab,_0x44780a={}){const _0xd83ea6=_0x274ca9;let _0x2a2a6a=this['_injector']['get'](t[_0xd83ea6(0x156)]),_0x5e3bad=_0x44780a[_0xd83ea6(0x16b)]??(0x0,t[_0xd83ea6(0x187)])(0x6);return _0x2a2a6a[_0xd83ea6(0x16a)](e[_0xd83ea6(0x107)]['id'],{..._0x44780a,'unitId':this[_0xd83ea6(0xea)](),'rows':_0x5b02a0,'columns':_0x1b35ab,'tableId':_0x5e3bad})?this[_0xd83ea6(0xe1)](_0x5e3bad,_0x44780a[_0xd83ea6(0x122)]??''):null;}['insertTableFromData'](_0x1bdca4,_0x210a1d={}){const _0x495f1f=_0x274ca9;let _0xefe4a=this['_injector'][_0x495f1f(0x126)](t['ICommandService']),_0x3274c8=_0x210a1d['tableId']??(0x0,t['generateRandomId'])(0x6);return _0xefe4a[_0x495f1f(0x16a)](e[_0x495f1f(0x107)]['id'],{..._0x210a1d,'unitId':this['getId'](),'values':_0x1bdca4,'tableId':_0x3274c8})?this[_0x495f1f(0xe1)](_0x3274c8,_0x210a1d[_0x495f1f(0x122)]??''):null;}[_0x274ca9(0x1b7)](_0x16e786=''){const _0x2d1f3b=_0x274ca9;let {tables:_0x170bc3=[]}=this[_0x2d1f3b(0x118)](_0x16e786);return _0x170bc3;}[_0x274ca9(0xf5)](_0x10e5bd=''){const _0x5650f1=_0x274ca9;let _0x59cd71=this['getDocumentDataModel']()[_0x5650f1(0x144)]();return _0x10e5bd?{...this[_0x5650f1(0x11b)](_0x10e5bd)[_0x5650f1(0x144)](),'documentStyle':_0x59cd71[_0x5650f1(0x199)],'tableSource':_0x59cd71['tableSource']}:_0x59cd71;}[_0x274ca9(0xe1)](_0x199a30,_0x5ad15f=''){const _0x44f0f9=_0x274ca9;return this[_0x44f0f9(0x125)]['createInstance'](f,this,_0x199a30,_0x5ad15f);}[_0x274ca9(0xe9)](_0x1418c2,_0x25fc0d,_0x3c73c6){const _0x335875=_0x274ca9;var _0xd133da;let _0x30d399=(0x0,e[_0x335875(0x164)])(_0x1418c2,_0x25fc0d);if(!_0x30d399)return!0x1;let _0x1bdf93=(_0xd133da=_0x1418c2[_0x335875(0x129)])==null?void 0x0:_0xd133da['dataStream'];return _0x1bdf93?_0x1bdf93[_0x335875(0x154)](_0x30d399['startOffset'],_0x30d399[_0x335875(0x16e)])[_0x335875(0x152)](_0x3c73c6):!0x1;}[_0x274ca9(0x1a6)](_0xaa1966,_0x152d2a,_0x4d9fb0){const _0x3b7632=_0x274ca9;return Array[_0x3b7632(0x110)]({'length':_0xaa1966[_0x3b7632(0x17b)]()},(_0x4ff3bf,_0x176690)=>_0xaa1966[_0x3b7632(0x148)](_0x152d2a,_0x176690))['some'](_0x1607b8=>_0x1607b8[_0x3b7632(0x152)](_0x4d9fb0));}};r['FDocument']['extend'](p),Object['defineProperty'](exports,_0x274ca9(0x195),{'enumerable':!0x0,'get':function(){return f;}}),exports[_0x274ca9(0x14a)]=a;
|