@univerjs-pro/docs-table 1.0.0-alpha.4 → 1.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x36b7(_0xa4257b,_0x1a3ce2){_0xa4257b=_0xa4257b-0xea;const _0x44d3c6=_0x44d3();let _0x36b7d0=_0x44d3c6[_0xa4257b];return _0x36b7d0;}const _0x55ceb7=_0x36b7;(function(_0x4461e0,_0x378ca6){const _0xf6db03=_0x36b7,_0x1dcde6=_0x4461e0();while(!![]){try{const _0x2f50dd=parseInt(_0xf6db03(0x15c))/0x1+-parseInt(_0xf6db03(0x10f))/0x2+parseInt(_0xf6db03(0x178))/0x3*(parseInt(_0xf6db03(0x18c))/0x4)+-parseInt(_0xf6db03(0x104))/0x5+-parseInt(_0xf6db03(0xec))/0x6+parseInt(_0xf6db03(0x10b))/0x7+-parseInt(_0xf6db03(0x121))/0x8;if(_0x2f50dd===_0x378ca6)break;else _0x1dcde6['push'](_0x1dcde6['shift']());}catch(_0x54d2ad){_0x1dcde6['push'](_0x1dcde6['shift']());}}}(_0x44d3,0xc67a6),Object[_0x55ceb7(0x161)](exports,Symbol['toStringTag'],{'value':'Module'}));let e=require('@univerjs-pro/docs-table'),t=require('@univerjs/core'),n=require('@univerjs/core/facade'),r=require('@univerjs/docs/facade');function _0x44d3(){const _0x27247b=['extend','segmentId','DocsTableRowInsertPosition','getDefaultCellMarginOverride','FDocumentTableCell','createInstance','executeRichTextTableActions','tableCells','FEnum','_document','_table','_getBodyPath','color','max','setBackgroundColor','getCell','some','constructor','width','getTables','setStructuralSelection','map','DocsTableInsertTablePosition','Tools','setCellMargin','setColumnType','1501563cJVKsw','tableColumns','buildSortTableMutationActions','deleteRow','DashStyleType','defineProperty','findTableByText','deleteColumns','insertRowsAfter','iterator','columnTypes','tableSource','border','distributeRows','setDefaultCellMargin','cellMargin','_getTables','setTableBackground','mergeCells','getColumnsRange','moveRows','insertColumnsAfter','from','dataStream','getCellText','_getDocumentData','selectRow','actions','4453206wYtmCy','insertRowBefore','getCellRange','buildDistributeTableRowsMutationActions','DocsTableSortDirection','deepClone','Cell','setHeaderRowCount','titleRow','insertColumnBefore','setCellText','getDefaultCellMargin','getInsertOffset','length','buildMoveTableColumnsMutationActions','getRowCount','buildDistributeTableColumnsMutationActions','string','buildMoveTableToOffsetMutationActions','_mutateActions','4vTdqna','body','endOffset','getContentRange','toPrimitive','buildDeleteTableMutationActions','slice','filter','preset','getCellInsertOffset','buildInsertTableTitleRowMutationActions','Right','buildDeleteTableColumnsMutationActions','unmergeCells','getColumnIndex','selectColumns','getSnapshot','includes','insertTable','backgroundColor','AT_LEAST','getMetadata','selectRows','getDocumentDataModel','selectTable','DEFAULT_DOCS_TABLE_CELL_MARGIN','_getTableDocumentData','get','Column','appendColumn','getTableRangeById','sortByColumn','getColumnRange','getStableTableSelection','cells','findTables','getCellMarginOverride','getMarginOverride','getSource','Range','moveColumn','appendRow','insertRowsBefore','getTableRange','clearMarginOverride','getRowIndex','_unitId','moveColumns','buildResizeTableColumnActionsFromWidth','getRange','distributeColumns','moveRow','_rowContainsText','tableId','symbol','pinHeaderRows','6823428MzKcQd','DocsTableColumnType','getRowRange','Left','DocsTableSelectionKind','insertColumnsBefore','text','getRowsRange','size','DocsTableInsertPosition','buildSetTableBorderMutationActions','Below','describe','margin','moveTableToOffset','_tableId','DocsTableModel','documentStyle','buildMoveFloatingTableMutationActions','selectRange','_createFDocumentTable','getMargin','FDocument','buildSetTableHeaderRowCountMutationActions','103410QdvFRN','prototype','getHeaderRowCount','Row','Table','DocsTableBorderPreset','_injector','2648681RFdGup','_column','buildUnmergeCellsMutationActions','setTableBorder','609816kVYGZK','getText','buildSetTableDefaultCellMarginMutationActions','moveTableBy','default','setColumnWidth','startOffset','DocsTableInsertTableCommand','headerRowCount','deleteRows','object','deleteColumn','_serializeModel','getColumnCount','unmerge','rows','SOLID','getInfo','8708432xwATpi','getBody','buildSetTableCellTextMutationActions','_segmentId','ICommandService','buildSetTableCellMarginMutationActions','call','serialize','selectColumn','buildInsertTableColumnsMutationActions','#1f1f1f','buildDeleteTableRowsMutationActions','buildMergeCellsMutationActions','trHeight','_row','Above','buildInsertTableRowsMutationActions','getId','type','headerText','DocsTableSelectionService','getTableActionBodyPath','getCellMargin','deleteTable','setCellBackground','setTitleRow','DocsTableColumnInsertPosition','setBorder','titleText','insertTableFromData','getTableAtSelection','tableRows','getTableAt'];_0x44d3=function(){return _0x27247b;};return _0x44d3();}var i=class extends n[_0x55ceb7(0x14a)]{get[_0x55ceb7(0x158)](){const _0x4169f8=_0x55ceb7;return e[_0x4169f8(0x158)];}get[_0x55ceb7(0xed)](){const _0x707ede=_0x55ceb7;return e[_0x707ede(0xed)];}get[_0x55ceb7(0xf0)](){const _0x3f90f2=_0x55ceb7;return e[_0x3f90f2(0xf0)];}get[_0x55ceb7(0x144)](){const _0x58b633=_0x55ceb7;return e[_0x58b633(0x144)];}get[_0x55ceb7(0x13b)](){const _0x21a862=_0x55ceb7;return e[_0x21a862(0x13b)];}get[_0x55ceb7(0x109)](){const _0x5150de=_0x55ceb7;return e[_0x5150de(0x109)];}get[_0x55ceb7(0x17c)](){const _0x2b0431=_0x55ceb7;return e[_0x2b0431(0x17c)];}get['DashStyleType'](){const _0x34249=_0x55ceb7;return t[_0x34249(0x160)];}};n[_0x55ceb7(0x14a)]['extend'](i);var a=class{constructor(_0x5b54a2,_0x180713,_0x12f4ca){const _0x9e4930=_0x55ceb7;this['_table']=_0x5b54a2,this['_row']=_0x180713,this[_0x9e4930(0x10c)]=_0x12f4ca;}['getTable'](){const _0x28b9bb=_0x55ceb7;return this[_0x28b9bb(0x14c)];}[_0x55ceb7(0x1b9)](){const _0x6e3041=_0x55ceb7;return this[_0x6e3041(0x12f)];}[_0x55ceb7(0x19a)](){const _0x33cbc9=_0x55ceb7;return this[_0x33cbc9(0x10c)];}[_0x55ceb7(0x110)](){const _0x5b6e44=_0x55ceb7;return this[_0x5b6e44(0x14c)][_0x5b6e44(0x174)](this[_0x5b6e44(0x12f)],this[_0x5b6e44(0x10c)]);}[_0x55ceb7(0x18f)](){const _0x1aa06f=_0x55ceb7;return this[_0x1aa06f(0x14c)]['getCellContentRange'](this[_0x1aa06f(0x12f)],this[_0x1aa06f(0x10c)]);}[_0x55ceb7(0x184)](){const _0x5b0975=_0x55ceb7;return this['_table'][_0x5b0975(0x195)](this['_row'],this[_0x5b0975(0x10c)]);}[_0x55ceb7(0x101)](){const _0x2468e5=_0x55ceb7;return this[_0x2468e5(0x14c)][_0x2468e5(0x137)](this[_0x2468e5(0x12f)],this[_0x2468e5(0x10c)]);}[_0x55ceb7(0x1b1)](){const _0x4492cd=_0x55ceb7;return this[_0x4492cd(0x14c)][_0x4492cd(0x1b0)](this['_row'],this['_column']);}['setMargin'](_0x5f20b7){const _0x136590=_0x55ceb7;return this[_0x136590(0x14c)][_0x136590(0x15a)](this[_0x136590(0x14c)]['getCellRange'](this['_row'],this[_0x136590(0x10c)]),_0x5f20b7);}[_0x55ceb7(0x1b8)](){const _0x4ca742=_0x55ceb7;return this['_table'][_0x4ca742(0x15a)](this[_0x4ca742(0x14c)][_0x4ca742(0x17a)](this[_0x4ca742(0x12f)],this['_column']),null);}['setText'](_0x255179){const _0x3a92b0=_0x55ceb7;return this[_0x3a92b0(0x14c)][_0x3a92b0(0x182)](this[_0x3a92b0(0x12f)],this['_column'],_0x255179);}[_0x55ceb7(0x150)](_0x5b098c){const _0x2eef8f=_0x55ceb7;return this[_0x2eef8f(0x14c)][_0x2eef8f(0x139)](this['_table'][_0x2eef8f(0x17a)](this[_0x2eef8f(0x12f)],this[_0x2eef8f(0x10c)]),_0x5b098c);}[_0x55ceb7(0x13c)](_0x2ab3e9){const _0x28be26=_0x55ceb7;return this[_0x28be26(0x14c)][_0x28be26(0x13c)](this[_0x28be26(0x14c)][_0x28be26(0x17a)](this[_0x28be26(0x12f)],this['_column']),_0x2ab3e9);}['mergeTo'](_0x236179,_0x9751d2){const _0x122df1=_0x55ceb7;return this[_0x122df1(0x14c)][_0x122df1(0x16e)]({'startRow':this[_0x122df1(0x12f)],'startColumn':this['_column'],'endRow':this['_row']+_0x236179-0x1,'endColumn':this[_0x122df1(0x10c)]+_0x9751d2-0x1});}[_0x55ceb7(0x11d)](){const _0x5ba23f=_0x55ceb7;return this['_table']['unmergeCells'](this['_table']['getCellRange'](this[_0x5ba23f(0x12f)],this[_0x5ba23f(0x10c)]));}};function o(_0x203e61){'@babel/helpers - typeof';const _0x5c9a7b=_0x55ceb7;return o=typeof Symbol=='function'&&typeof Symbol[_0x5c9a7b(0x165)]==_0x5c9a7b(0xea)?function(_0x540904){return typeof _0x540904;}:function(_0x1f7f2b){const _0x369f8f=_0x5c9a7b;return _0x1f7f2b&&typeof Symbol=='function'&&_0x1f7f2b[_0x369f8f(0x153)]===Symbol&&_0x1f7f2b!==Symbol[_0x369f8f(0x105)]?'symbol':typeof _0x1f7f2b;},o(_0x203e61);}function s(_0x403b57,_0x24c01a){const _0x436119=_0x55ceb7;if(o(_0x403b57)!=_0x436119(0x119)||!_0x403b57)return _0x403b57;var _0x465fc1=_0x403b57[Symbol[_0x436119(0x190)]];if(_0x465fc1!==void 0x0){var _0x474da6=_0x465fc1[_0x436119(0x127)](_0x403b57,_0x24c01a||_0x436119(0x113));if(o(_0x474da6)!=_0x436119(0x119))return _0x474da6;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x24c01a===_0x436119(0x189)?String:Number)(_0x403b57);}function c(_0x57715f){const _0x30b498=_0x55ceb7;var _0x3d9050=s(_0x57715f,'string');return o(_0x3d9050)==_0x30b498(0xea)?_0x3d9050:_0x3d9050+'';}function l(_0x330f67,_0x2007f2,_0x44a59a){const _0x35f753=_0x55ceb7;return(_0x2007f2=c(_0x2007f2))in _0x330f67?Object[_0x35f753(0x161)](_0x330f67,_0x2007f2,{'value':_0x44a59a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x330f67[_0x2007f2]=_0x44a59a,_0x330f67;}var u=class{constructor(_0x8e1fe7,_0x5e3176,_0x320ba3='',_0x219e9d){const _0x3db583=_0x55ceb7;this['_document']=_0x8e1fe7,this[_0x3db583(0xfb)]=_0x5e3176,this[_0x3db583(0x124)]=_0x320ba3,this['_injector']=_0x219e9d,l(this,_0x3db583(0x1ba),void 0x0),this[_0x3db583(0x1ba)]=this[_0x3db583(0x14b)][_0x3db583(0x132)]();}[_0x55ceb7(0x132)](){const _0x1f66af=_0x55ceb7;return this[_0x1f66af(0xfb)];}['getSegmentId'](){const _0x4d6edc=_0x55ceb7;return this[_0x4d6edc(0x124)];}[_0x55ceb7(0x120)](){const _0x57d08f=_0x55ceb7;return{'id':this[_0x57d08f(0xfb)],'rowCount':this[_0x57d08f(0x187)](),'columnCount':this[_0x57d08f(0x11c)](),'metadata':this[_0x57d08f(0x1a1)](),'source':this[_0x57d08f(0x1b2)]()};}[_0x55ceb7(0xf8)](){const _0x5b582b=_0x55ceb7;var _0x2df8df,_0x588cbb;let _0x457646=this[_0x5b582b(0x1a1)](),_0x433d43=this[_0x5b582b(0x1b2)](),_0x5c9dc1=this[_0x5b582b(0x11c)]();return{'id':this[_0x5b582b(0xfb)],'rowCount':this[_0x5b582b(0x187)](),'columnCount':_0x5c9dc1,'headerRowCount':(_0x2df8df=_0x457646==null?void 0x0:_0x457646['headerRowCount'])==null?0x0:_0x2df8df,'titleRow':(_0x588cbb=_0x457646==null?void 0x0:_0x457646[_0x5b582b(0x180)])==null?!0x1:_0x588cbb,'columns':Array[_0x5b582b(0x172)]({'length':_0x5c9dc1},(_0x1adbd,_0x54d632)=>{const _0xe9e989=_0x5b582b;var _0x15ebb7,_0x284722;return{'index':_0x54d632,'type':_0x457646==null||(_0x15ebb7=_0x457646[_0xe9e989(0x166)])==null||(_0x15ebb7=_0x15ebb7[_0x54d632])==null?void 0x0:_0x15ebb7[_0xe9e989(0x133)],'width':_0x433d43==null||(_0x284722=_0x433d43[_0xe9e989(0x15d)][_0x54d632])==null?void 0x0:_0x284722[_0xe9e989(0xf4)][_0xe9e989(0x154)]['v']};}),'sampleRows':Array[_0x5b582b(0x172)]({'length':this[_0x5b582b(0x187)]()},(_0x316af7,_0x43b57c)=>Array[_0x5b582b(0x172)]({'length':_0x5c9dc1},(_0x50b2c9,_0x69aed9)=>this['getCellText'](_0x43b57c,_0x69aed9)))[_0x5b582b(0x193)](_0x394092=>_0x394092[_0x5b582b(0x152)](_0x3d77df=>_0x3d77df[_0x5b582b(0x185)]>0x0))[_0x5b582b(0x192)](0x0,0x5)};}['getRowCount'](){const _0x271b7f=_0x55ceb7;var _0x2cba9a,_0x2ab933;return(_0x2cba9a=(_0x2ab933=this[_0x271b7f(0x1b2)]())==null?void 0x0:_0x2ab933[_0x271b7f(0x140)][_0x271b7f(0x185)])==null?0x0:_0x2cba9a;}[_0x55ceb7(0x11c)](){const _0x2c79b7=_0x55ceb7;var _0x46a066,_0x1ea090;return(_0x46a066=(_0x1ea090=this['getSource']())==null?void 0x0:_0x1ea090[_0x2c79b7(0x15d)][_0x2c79b7(0x185)])==null?0x0:_0x46a066;}[_0x55ceb7(0x151)](_0x4ff4e2,_0x5c211a){const _0x409833=_0x55ceb7;var _0x5a45ee;return!((_0x5a45ee=this[_0x409833(0x1b2)]())==null||(_0x5a45ee=_0x5a45ee['tableRows'][_0x4ff4e2])==null)&&_0x5a45ee[_0x409833(0x149)][_0x5c211a]?this[_0x409833(0x10a)][_0x409833(0x147)](a,this,_0x4ff4e2,_0x5c211a):null;}[_0x55ceb7(0x174)](_0x296e90,_0x220a37){const _0x4fb0b6=_0x55ceb7;var _0x2025f4,_0x2337c5,_0x2285b6;let _0x35a7b4=(_0x2025f4=(0x0,e[_0x4fb0b6(0x1aa)])(this[_0x4fb0b6(0x175)](),this[_0x4fb0b6(0xfb)]))==null||(_0x2025f4=_0x2025f4[_0x4fb0b6(0x11e)][_0x296e90])==null?void 0x0:_0x2025f4[_0x4fb0b6(0x1ae)][_0x220a37];return _0x35a7b4?(_0x2337c5=(_0x2285b6=this[_0x4fb0b6(0x175)]()[_0x4fb0b6(0x18d)])==null?void 0x0:_0x2285b6[_0x4fb0b6(0x173)][_0x4fb0b6(0x192)](_0x35a7b4['startOffset']+0x1,_0x35a7b4[_0x4fb0b6(0x18e)])['replace'](/\r\n$/,''))==null?'':_0x2337c5:'';}[_0x55ceb7(0x137)](_0x25cc1b,_0xb6597){const _0x59f91c=_0x55ceb7;var _0x572628,_0xe3561e,_0x405ed4;let _0x454919=this[_0x59f91c(0x1b2)](),_0x17cee8=_0x454919==null||(_0x572628=_0x454919[_0x59f91c(0x140)][_0x25cc1b])==null?void 0x0:_0x572628[_0x59f91c(0x149)][_0xb6597];return _0x17cee8?t[_0x59f91c(0x159)][_0x59f91c(0x17d)]((_0xe3561e=(_0x405ed4=_0x17cee8['margin'])==null?_0x454919[_0x59f91c(0x16b)]:_0x405ed4)==null?e[_0x59f91c(0x1a5)]:_0xe3561e):null;}[_0x55ceb7(0x1b0)](_0x43512e,_0x208154){const _0x3616a1=_0x55ceb7;var _0x4f8acf;let _0x355c42=(_0x4f8acf=this[_0x3616a1(0x1b2)]())==null||(_0x4f8acf=_0x4f8acf[_0x3616a1(0x140)][_0x43512e])==null?void 0x0:_0x4f8acf['tableCells'][_0x208154];return _0x355c42!=null&&_0x355c42[_0x3616a1(0xf9)]?t[_0x3616a1(0x159)][_0x3616a1(0x17d)](_0x355c42[_0x3616a1(0xf9)]):null;}[_0x55ceb7(0x183)](){const _0x2492ac=_0x55ceb7;var _0x22c737,_0x4c8fe1;return t[_0x2492ac(0x159)][_0x2492ac(0x17d)]((_0x22c737=(_0x4c8fe1=this[_0x2492ac(0x1b2)]())==null?void 0x0:_0x4c8fe1[_0x2492ac(0x16b)])==null?e[_0x2492ac(0x1a5)]:_0x22c737);}[_0x55ceb7(0x145)](){const _0xbce412=_0x55ceb7;var _0x24763c;let _0x54064a=(_0x24763c=this[_0xbce412(0x1b2)]())==null?void 0x0:_0x24763c[_0xbce412(0x16b)];return _0x54064a?t[_0xbce412(0x159)][_0xbce412(0x17d)](_0x54064a):null;}[_0x55ceb7(0x1a1)](){const _0x35d09a=_0x55ceb7;return this['_injector']['get'](e[_0x35d09a(0xfc)])['getTableMetadata'](this[_0x35d09a(0x1ba)],this[_0x35d09a(0xfb)]);}['getSource'](){const _0x3d60db=_0x55ceb7;var _0x1331d4;return(_0x1331d4=this[_0x3d60db(0x175)]()[_0x3d60db(0x167)])==null?void 0x0:_0x1331d4[this[_0x3d60db(0xfb)]];}[_0x55ceb7(0x1bd)](){const _0x13f839=_0x55ceb7;return(0x0,e['getTableRangeById'])(this[_0x13f839(0x175)](),this[_0x13f839(0xfb)]);}[_0x55ceb7(0x1b7)](){const _0x176716=_0x55ceb7;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x176716(0x187)]()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x176716(0x11c)]()-0x1)};}[_0x55ceb7(0x17a)](_0x1fab61,_0x32d5cb){return{'startRow':_0x1fab61,'endRow':_0x1fab61,'startColumn':_0x32d5cb,'endColumn':_0x32d5cb};}['getCellContentRange'](_0x5d2fdc,_0x188f58){const _0x3f5aaf=_0x55ceb7;var _0x8e258e;let _0x39efcc=(_0x8e258e=(0x0,e[_0x3f5aaf(0x1aa)])(this['_getDocumentData'](),this[_0x3f5aaf(0xfb)]))==null||(_0x8e258e=_0x8e258e['rows'][_0x5d2fdc])==null?void 0x0:_0x8e258e['cells'][_0x188f58];if(!_0x39efcc)return null;let _0x498170=_0x39efcc[_0x3f5aaf(0x115)]+0x1;return{'startOffset':_0x498170,'endOffset':Math[_0x3f5aaf(0x14f)](_0x498170,_0x39efcc[_0x3f5aaf(0x18e)]-0x1),'segmentId':this[_0x3f5aaf(0x124)]};}[_0x55ceb7(0x195)](_0x3d3b06,_0x2e8b62){const _0x3a99ee=_0x55ceb7;var _0x548105,_0x2c0b75;return(_0x548105=(_0x2c0b75=this['getCellContentRange'](_0x3d3b06,_0x2e8b62))==null?void 0x0:_0x2c0b75[_0x3a99ee(0x18e)])==null?null:_0x548105;}[_0x55ceb7(0xee)](_0x3af980){const _0x18be1d=_0x55ceb7;return this[_0x18be1d(0xf3)](_0x3af980,0x1);}[_0x55ceb7(0xf3)](_0x536279,_0x4b87f5=0x1){const _0x1fcdac=_0x55ceb7;return{'startRow':_0x536279,'endRow':_0x536279+_0x4b87f5-0x1,'startColumn':0x0,'endColumn':Math[_0x1fcdac(0x14f)](0x0,this[_0x1fcdac(0x11c)]()-0x1)};}[_0x55ceb7(0x1ac)](_0x11cd33){const _0x856e5b=_0x55ceb7;return this[_0x856e5b(0x16f)](_0x11cd33,0x1);}[_0x55ceb7(0x16f)](_0x9f7078,_0x52204e=0x1){return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':_0x9f7078,'endColumn':_0x9f7078+_0x52204e-0x1};}[_0x55ceb7(0x1a4)](){const _0x5940dc=_0x55ceb7;return this[_0x5940dc(0xff)](this['getTableRange'](),e[_0x5940dc(0xf0)][_0x5940dc(0x108)]);}[_0x55ceb7(0x176)](_0x2fada9){const _0x3f5598=_0x55ceb7;return this[_0x3f5598(0x1a2)](_0x2fada9,0x1);}[_0x55ceb7(0x1a2)](_0x4c38c6,_0x1770ea=0x1){const _0xe5ae5b=_0x55ceb7;return this[_0xe5ae5b(0xff)](this[_0xe5ae5b(0xf3)](_0x4c38c6,_0x1770ea),e['DocsTableSelectionKind'][_0xe5ae5b(0x107)]);}[_0x55ceb7(0x129)](_0x4e4e2d){return this['selectColumns'](_0x4e4e2d,0x1);}[_0x55ceb7(0x19b)](_0x4bae58,_0x529e3c=0x1){const _0x547477=_0x55ceb7;return this[_0x547477(0xff)](this[_0x547477(0x16f)](_0x4bae58,_0x529e3c),e['DocsTableSelectionKind'][_0x547477(0x1a8)]);}['selectCell'](_0x40506d,_0x589568){const _0x5361dc=_0x55ceb7;return this[_0x5361dc(0xff)](this[_0x5361dc(0x17a)](_0x40506d,_0x589568),e[_0x5361dc(0xf0)][_0x5361dc(0x17e)]);}[_0x55ceb7(0xff)](_0x32a93a,_0x398381=e[_0x55ceb7(0xf0)][_0x55ceb7(0x1b3)]){const _0x5e0cdc=_0x55ceb7;return this[_0x5e0cdc(0x10a)][_0x5e0cdc(0x1a7)](e[_0x5e0cdc(0x135)])[_0x5e0cdc(0x156)]({..._0x32a93a,'kind':_0x398381,'segmentId':this[_0x5e0cdc(0x124)],'tableId':this[_0x5e0cdc(0xfb)]}),!0x0;}[_0x55ceb7(0x179)](_0x2bc79d){const _0x4ca5bf=_0x55ceb7;return this[_0x4ca5bf(0x1b6)](_0x2bc79d,0x1);}['insertRowAfter'](_0x3dff4a){return this['insertRowsAfter'](_0x3dff4a,0x1);}[_0x55ceb7(0x1b6)](_0x54cc25,_0x55851e){const _0x24f98b=_0x55ceb7;let _0x435c91=this['_getDocumentData'](),_0x1ad82f=(0x0,e['buildInsertTableRowsMutationActions'])(_0x435c91,this[_0x24f98b(0xfb)],_0x54cc25,_0x55851e,e[_0x24f98b(0xf5)][_0x24f98b(0x130)],this[_0x24f98b(0x14d)]());return _0x1ad82f?this['_mutateActions'](_0x435c91,_0x1ad82f[_0x24f98b(0x177)]):!0x1;}[_0x55ceb7(0x164)](_0x485c79,_0xbe09e8){const _0x1be6af=_0x55ceb7;let _0x39d049=this[_0x1be6af(0x175)](),_0x3292b=(0x0,e[_0x1be6af(0x131)])(_0x39d049,this['_tableId'],_0x485c79,_0xbe09e8,e[_0x1be6af(0xf5)][_0x1be6af(0xf7)],this['_getBodyPath']());return _0x3292b?this[_0x1be6af(0x18b)](_0x39d049,_0x3292b[_0x1be6af(0x177)]):!0x1;}[_0x55ceb7(0x1b5)](){const _0x2d1702=_0x55ceb7;return this['insertRowsAfter'](Math[_0x2d1702(0x14f)](0x0,this[_0x2d1702(0x187)]()-0x1),0x1);}[_0x55ceb7(0x181)](_0xc71f51){return this['insertColumnsBefore'](_0xc71f51,0x1);}['insertColumnAfter'](_0x344108){const _0x286389=_0x55ceb7;return this[_0x286389(0x171)](_0x344108,0x1);}[_0x55ceb7(0xf1)](_0x138789,_0x529328){const _0x284c15=_0x55ceb7;let _0x28e4de=this['_getDocumentData'](),_0x4cb08e=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x28e4de,this[_0x284c15(0xfb)],_0x138789,_0x529328,e[_0x284c15(0xf5)]['Left'],{'bodyPath':this[_0x284c15(0x14d)]()});return _0x4cb08e?this['_mutateActions'](_0x28e4de,_0x4cb08e[_0x284c15(0x177)]):!0x1;}[_0x55ceb7(0x171)](_0x4f43ec,_0x1075ea){const _0x6be6f1=_0x55ceb7;let _0x444d69=this[_0x6be6f1(0x175)](),_0x445d95=(0x0,e[_0x6be6f1(0x12a)])(_0x444d69,this[_0x6be6f1(0xfb)],_0x4f43ec,_0x1075ea,e['DocsTableInsertPosition'][_0x6be6f1(0x197)],{'bodyPath':this['_getBodyPath']()});return _0x445d95?this[_0x6be6f1(0x18b)](_0x444d69,_0x445d95[_0x6be6f1(0x177)]):!0x1;}[_0x55ceb7(0x1a9)](){const _0x48aac3=_0x55ceb7;return this[_0x48aac3(0x171)](Math[_0x48aac3(0x14f)](0x0,this[_0x48aac3(0x11c)]()-0x1),0x1);}[_0x55ceb7(0x15f)](_0x557147){const _0x1d6df3=_0x55ceb7;return this[_0x1d6df3(0x118)](_0x557147,0x1);}[_0x55ceb7(0x118)](_0x5440ce,_0x246eda=0x1){const _0x42f78b=_0x55ceb7;let _0x3cc04d=this[_0x42f78b(0x175)](),_0x34d2cc=(0x0,e[_0x42f78b(0x12c)])(_0x3cc04d,this[_0x42f78b(0xfb)],_0x5440ce,_0x5440ce+_0x246eda-0x1,this['_getBodyPath']());return _0x34d2cc?this['_mutateActions'](_0x3cc04d,_0x34d2cc[_0x42f78b(0x177)]):!0x1;}[_0x55ceb7(0x11a)](_0x5f4423){const _0x178efb=_0x55ceb7;return this[_0x178efb(0x163)](_0x5f4423,0x1);}[_0x55ceb7(0x163)](_0x34fd78,_0x672c67=0x1){const _0x2ac25c=_0x55ceb7;let _0x5cdf35=this[_0x2ac25c(0x175)](),_0x2552ee=(0x0,e[_0x2ac25c(0x198)])(_0x5cdf35,this[_0x2ac25c(0xfb)],_0x34fd78,_0x34fd78+_0x672c67-0x1,this[_0x2ac25c(0x14d)]());return _0x2552ee?this[_0x2ac25c(0x18b)](_0x5cdf35,_0x2552ee[_0x2ac25c(0x177)]):!0x1;}[_0x55ceb7(0x138)](){const _0x109842=_0x55ceb7;let _0x67bb35=this['_getDocumentData'](),_0x27201a=(0x0,e[_0x109842(0x191)])(_0x67bb35,this[_0x109842(0xfb)],this[_0x109842(0x14d)]());return _0x27201a?this[_0x109842(0x18b)](_0x67bb35,_0x27201a[_0x109842(0x177)]):!0x1;}[_0x55ceb7(0x112)](_0x35108b,_0x2486d3){const _0x410b79=_0x55ceb7;let _0x579f63=this['_getDocumentData']();return this['_mutateActions'](_0x579f63,(0x0,e[_0x410b79(0xfe)])(_0x579f63,this[_0x410b79(0xfb)],_0x35108b,_0x2486d3));}[_0x55ceb7(0xfa)](_0x11f30d){const _0x570422=_0x55ceb7;let _0x11d159=this[_0x570422(0x175)]();return this[_0x570422(0x18b)](_0x11d159,(0x0,e[_0x570422(0x18a)])(_0x11d159,this[_0x570422(0xfb)],_0x11f30d,this[_0x570422(0x14d)]()));}[_0x55ceb7(0x1bf)](_0x37c8e6,_0x3ec7ac,_0x381aec=e[_0x55ceb7(0xf5)]['Above']){const _0x51dba3=_0x55ceb7;return this[_0x51dba3(0x170)](_0x37c8e6,0x1,_0x3ec7ac,_0x381aec);}['moveRows'](_0x1c24d0,_0x5b0950,_0x86f081,_0x390b61=e['DocsTableInsertPosition'][_0x55ceb7(0x130)]){const _0x167277=_0x55ceb7;let _0x3dbecf=this['_getDocumentData'](),_0xc2828f=(0x0,e['buildMoveTableRowsMutationActions'])(_0x3dbecf,this[_0x167277(0xfb)],_0x1c24d0,_0x86f081,_0x5b0950,_0x390b61,this['_getBodyPath']());return _0xc2828f?this[_0x167277(0x18b)](_0x3dbecf,_0xc2828f[_0x167277(0x177)]):!0x1;}[_0x55ceb7(0x1b4)](_0x5a251a,_0x5f960a,_0x2f596c=e[_0x55ceb7(0xf5)][_0x55ceb7(0xef)]){return this['moveColumns'](_0x5a251a,0x1,_0x5f960a,_0x2f596c);}[_0x55ceb7(0x1bb)](_0x17831b,_0x473ab8,_0x6f4eab,_0x56b648=e['DocsTableInsertPosition'][_0x55ceb7(0xef)]){const _0x59c502=_0x55ceb7;let _0x55476e=this[_0x59c502(0x175)](),_0x4d06b8=(0x0,e[_0x59c502(0x186)])(_0x55476e,this[_0x59c502(0xfb)],_0x17831b,_0x6f4eab,_0x473ab8,_0x56b648,this[_0x59c502(0x14d)]());return _0x4d06b8?this[_0x59c502(0x18b)](_0x55476e,_0x4d06b8[_0x59c502(0x177)]):!0x1;}[_0x55ceb7(0x16e)](_0x41da11){const _0x56aa60=_0x55ceb7;try{let _0x5d05de=this[_0x56aa60(0x175)](),_0x10634d=(0x0,e[_0x56aa60(0x12d)])({'documentData':_0x5d05de,'tableId':this['_tableId'],..._0x41da11});return _0x10634d?this[_0x56aa60(0x18b)](_0x5d05de,_0x10634d['actions'],_0x41da11):!0x1;}catch{return!0x1;}}[_0x55ceb7(0x199)](_0x19b243){const _0x274aa1=_0x55ceb7;try{let _0x54eedd=this['_getDocumentData'](),_0x69a7c5=(0x0,e[_0x274aa1(0x10d)])({'documentData':_0x54eedd,'tableId':this['_tableId'],..._0x19b243});return _0x69a7c5?this['_mutateActions'](_0x54eedd,_0x69a7c5[_0x274aa1(0x177)],_0x19b243):!0x1;}catch{return!0x1;}}[_0x55ceb7(0x182)](_0x1ef0f6,_0x34571d,_0x1db62f){const _0x4db131=_0x55ceb7;let _0x140f03=this[_0x4db131(0x175)](),_0x20eac0=(0x0,e[_0x4db131(0x136)])(this[_0x4db131(0x14b)][_0x4db131(0x1a3)]()[_0x4db131(0x19c)](),this[_0x4db131(0x124)]);return this['_mutateActions'](_0x140f03,(0x0,e[_0x4db131(0x123)])({'documentData':_0x140f03,'tableId':this['_tableId'],'row':_0x1ef0f6,'column':_0x34571d,'text':_0x1db62f},_0x20eac0),this['getCellRange'](_0x1ef0f6,_0x34571d));}[_0x55ceb7(0x139)](_0x4bdf8b,_0x4e6e91){const _0x38c1d7=_0x55ceb7;let _0x369ff0=this['_getDocumentData']();return this[_0x38c1d7(0x18b)](_0x369ff0,(0x0,e['buildSetTableBackgroundMutationActions'])(_0x369ff0,{'tableId':this['_tableId'],..._0x4bdf8b,'value':_0x4e6e91}),_0x4bdf8b);}['setCellMargin'](_0x548174,_0x30eca1){const _0x4e46e6=_0x55ceb7;let _0x1d215c=this['_getDocumentData']();return this[_0x4e46e6(0x18b)](_0x1d215c,(0x0,e[_0x4e46e6(0x126)])({'documentData':_0x1d215c,'tableId':this[_0x4e46e6(0xfb)],..._0x548174,'margin':_0x30eca1}),_0x548174);}[_0x55ceb7(0x16a)](_0x324301){const _0x38b79e=_0x55ceb7;let _0x1702a8=this[_0x38b79e(0x175)]();return this['_mutateActions'](_0x1702a8,(0x0,e[_0x38b79e(0x111)])(_0x1702a8,this['_tableId'],_0x324301));}['setBorder'](_0x39fa65,_0x2bb78f){const _0x5e360b=_0x55ceb7;var _0x1bebdd,_0x1bd67d,_0x37122a,_0x3aabca;let _0x5078db=this['_getDocumentData']();return this['_mutateActions'](_0x5078db,(0x0,e[_0x5e360b(0xf6)])({'documentData':_0x5078db,'tableId':this['_tableId'],..._0x39fa65,'preset':(_0x1bebdd=_0x2bb78f[_0x5e360b(0x194)])==null?e[_0x5e360b(0x109)]['All']:_0x1bebdd,'border':(_0x1bd67d=_0x2bb78f[_0x5e360b(0x168)])==null?{'color':{'rgb':(_0x37122a=_0x2bb78f[_0x5e360b(0x14e)])==null?_0x5e360b(0x12b):_0x37122a},'width':{'v':(_0x3aabca=_0x2bb78f['width'])==null?0x1:_0x3aabca},'dashStyle':t[_0x5e360b(0x160)][_0x5e360b(0x11f)]}:_0x1bd67d}),_0x39fa65);}[_0x55ceb7(0x16d)](_0x226116){const _0xf87a9f=_0x55ceb7;return this[_0xf87a9f(0x139)](this['getTableRange'](),_0x226116);}[_0x55ceb7(0x10e)](_0x3fa7dd){const _0x580009=_0x55ceb7;return this['setBorder'](this[_0x580009(0x1b7)](),_0x3fa7dd);}['setTableStyle'](_0x327d50){const _0x43c4f0=_0x55ceb7;let _0x58d3e4=_0x327d50[_0x43c4f0(0x19f)]?this[_0x43c4f0(0x16d)](_0x327d50[_0x43c4f0(0x19f)]):!0x0,_0xb9f98c=_0x327d50[_0x43c4f0(0x168)]?this[_0x43c4f0(0x10e)](_0x327d50[_0x43c4f0(0x168)]):!0x0;return _0x58d3e4&&_0xb9f98c;}['setRowHeight'](_0x3c79f1,_0x3b17d4,_0xad20ed=t['TableRowHeightRule'][_0x55ceb7(0x1a0)]){const _0x476f7d=_0x55ceb7;var _0x2adb83;let _0x13dcd=this[_0x476f7d(0x175)]();return!((_0x2adb83=_0x13dcd[_0x476f7d(0x167)])==null||(_0x2adb83=_0x2adb83[this[_0x476f7d(0xfb)]])==null)&&_0x2adb83[_0x476f7d(0x140)][_0x3c79f1]?this[_0x476f7d(0x18b)](_0x13dcd,(0x0,e['buildResizeTableRowActionsFromHeight'])(_0x13dcd,this[_0x476f7d(0xfb)],_0x3c79f1,_0x3b17d4,_0xad20ed)):!0x1;}['getRowHeight'](_0x5ce400){const _0x2721f0=_0x55ceb7;var _0x4d784c;let _0x1397c9=(_0x4d784c=this[_0x2721f0(0x1b2)]())==null||(_0x4d784c=_0x4d784c[_0x2721f0(0x140)][_0x5ce400])==null?void 0x0:_0x4d784c[_0x2721f0(0x12e)];return _0x1397c9?t['Tools'][_0x2721f0(0x17d)](_0x1397c9):null;}[_0x55ceb7(0x114)](_0x248251,_0x230665){const _0x5c2b0a=_0x55ceb7;var _0x5a4f57;let _0x4882c0=this['_getDocumentData']();return!((_0x5a4f57=_0x4882c0[_0x5c2b0a(0x167)])==null||(_0x5a4f57=_0x5a4f57[this[_0x5c2b0a(0xfb)]])==null)&&_0x5a4f57[_0x5c2b0a(0x15d)][_0x248251]?this[_0x5c2b0a(0x18b)](_0x4882c0,(0x0,e[_0x5c2b0a(0x1bc)])(_0x4882c0,this[_0x5c2b0a(0xfb)],_0x248251,_0x230665)):!0x1;}[_0x55ceb7(0x169)](_0x32f35f=0x0,_0x5f148c=this['getRowCount']()){const _0x5ae7a9=_0x55ceb7;let _0x56df2b=this[_0x5ae7a9(0x175)]();return this['_mutateActions'](_0x56df2b,(0x0,e[_0x5ae7a9(0x17b)])(_0x56df2b,this[_0x5ae7a9(0xfb)],_0x32f35f,_0x32f35f+_0x5f148c-0x1));}[_0x55ceb7(0x1be)](_0x467e8d=0x0,_0x362ec3=this[_0x55ceb7(0x11c)]()){const _0x135af3=_0x55ceb7;let _0x3ac3a1=this[_0x135af3(0x175)]();return this[_0x135af3(0x18b)](_0x3ac3a1,(0x0,e[_0x135af3(0x188)])(_0x3ac3a1,this[_0x135af3(0xfb)],_0x467e8d,_0x467e8d+_0x362ec3-0x1));}[_0x55ceb7(0x106)](){const _0x3d637e=_0x55ceb7;var _0x24a15a,_0xbce2a9;return(_0x24a15a=(_0xbce2a9=this[_0x3d637e(0x1a1)]())==null?void 0x0:_0xbce2a9[_0x3d637e(0x117)])==null?0x0:_0x24a15a;}[_0x55ceb7(0x17f)](_0x1093e1){const _0xf9b7c4=_0x55ceb7;let _0x5cc90f=this[_0xf9b7c4(0x10a)][_0xf9b7c4(0x1a7)](e['DocsTableModel']),_0x2fe9dc=this['_getDocumentData'](),_0x25f520=(0x0,e[_0xf9b7c4(0x103)])(_0x2fe9dc,this[_0xf9b7c4(0xfb)],_0x1093e1);if(!_0x25f520)return!0x1;let _0x5b2a9b=this['_mutateActions'](_0x2fe9dc,_0x25f520[_0xf9b7c4(0x177)]);return _0x5b2a9b&&_0x5cc90f['setHeaderRowCount'](this['_unitId'],this[_0xf9b7c4(0xfb)],_0x25f520[_0xf9b7c4(0x117)]),_0x5b2a9b;}[_0x55ceb7(0xeb)](_0x3b6bb2){return this['setHeaderRowCount'](_0x3b6bb2);}['hasTitleRow'](){const _0x16bf81=_0x55ceb7;var _0x18b32f,_0x2ea1a0;return(_0x18b32f=(_0x2ea1a0=this['getMetadata']())==null?void 0x0:_0x2ea1a0[_0x16bf81(0x180)])==null?!0x1:_0x18b32f;}['insertTitleRow'](){const _0x936966=_0x55ceb7;let _0x2dbd4e=this['_injector']['get'](e[_0x936966(0xfc)]),_0x3ad3b9=this[_0x936966(0x175)](),_0x130346=(0x0,e[_0x936966(0x196)])(_0x3ad3b9,this['_tableId'],this['_getBodyPath']());if(!_0x130346)return!0x1;let _0x4d1a5e=this['_mutateActions'](_0x3ad3b9,_0x130346[_0x936966(0x177)]);return _0x4d1a5e&&_0x2dbd4e[_0x936966(0x13a)](this[_0x936966(0x1ba)],this['_tableId'],!0x0),_0x4d1a5e;}[_0x55ceb7(0x15b)](_0x24ce6c,_0x3603e9){const _0x507382=_0x55ceb7;return this[_0x507382(0x10a)][_0x507382(0x1a7)](e['DocsTableModel'])[_0x507382(0x15b)](this[_0x507382(0x1ba)],this['_tableId'],_0x24ce6c,_0x3603e9),!0x0;}[_0x55ceb7(0x1ab)](_0x40e72d,_0x2d4dd2){const _0x2a61de=_0x55ceb7;let _0x24f4a3=this[_0x2a61de(0x175)]();return this[_0x2a61de(0x18b)](_0x24f4a3,(0x0,e[_0x2a61de(0x15e)])(_0x24f4a3,this['_serializeModel'](),this[_0x2a61de(0xfb)],_0x40e72d,_0x2d4dd2,this[_0x2a61de(0x14d)]()));}[_0x55ceb7(0x175)](){const _0x4778e9=_0x55ceb7;let _0x51c886=this[_0x4778e9(0x14b)][_0x4778e9(0x1a3)]()['getSnapshot']();return this[_0x4778e9(0x124)]?{...this['_document'][_0x4778e9(0x1a3)](this['_segmentId'])['getSnapshot'](),'documentStyle':_0x51c886[_0x4778e9(0xfd)],'tableSource':_0x51c886[_0x4778e9(0x167)]}:_0x51c886;}[_0x55ceb7(0x11b)](){const _0x208d64=_0x55ceb7;return this['_injector'][_0x208d64(0x1a7)](e[_0x208d64(0xfc)])[_0x208d64(0x128)](this[_0x208d64(0x1ba)]);}[_0x55ceb7(0x14d)](){const _0x2af906=_0x55ceb7;return(0x0,e[_0x2af906(0x136)])(this['_document'][_0x2af906(0x1a3)]()[_0x2af906(0x19c)](),this[_0x2af906(0x124)]);}[_0x55ceb7(0x18b)](_0x23d37e,_0x2c44e4,_0x38850f){const _0x414b53=_0x55ceb7;return(0x0,e[_0x414b53(0x148)])(this[_0x414b53(0x10a)][_0x414b53(0x1a7)](t[_0x414b53(0x125)]),this[_0x414b53(0x1ba)],_0x23d37e,_0x2c44e4,_0x38850f?{'tableId':this[_0x414b53(0xfb)],'segmentId':this['_segmentId'],..._0x38850f}:void 0x0);}},d=class extends r[_0x55ceb7(0x102)]{[_0x55ceb7(0x155)](_0x2108d9=''){const _0x3fb7e9=_0x55ceb7;return this['_getTables'](_0x2108d9)[_0x3fb7e9(0x157)](_0x364135=>this[_0x3fb7e9(0x100)](_0x364135['tableId'],_0x2108d9));}['getTable'](_0x51724e,_0x5b2b02=''){const _0x144e38=_0x55ceb7;return this['_getTables'](_0x5b2b02)[_0x144e38(0x152)](_0x227f8a=>_0x227f8a[_0x144e38(0x1c1)]===_0x51724e)?this[_0x144e38(0x100)](_0x51724e,_0x5b2b02):null;}[_0x55ceb7(0x141)](_0x5a876e,_0x347fc9=''){const _0x31ec1a=_0x55ceb7;var _0x342ac5;let _0x51dd2d=(_0x342ac5=this[_0x31ec1a(0x16c)](_0x347fc9)[_0x5a876e])==null?void 0x0:_0x342ac5[_0x31ec1a(0x1c1)];return _0x51dd2d?this[_0x31ec1a(0x100)](_0x51dd2d,_0x347fc9):null;}[_0x55ceb7(0x13f)](){const _0x1e2aaf=_0x55ceb7;let _0xeccda2=this[_0x1e2aaf(0x10a)][_0x1e2aaf(0x1a7)](e[_0x1e2aaf(0x135)])[_0x1e2aaf(0x1ad)]();return _0xeccda2!=null&&_0xeccda2['tableId']?this[_0x1e2aaf(0x100)](_0xeccda2[_0x1e2aaf(0x1c1)],_0xeccda2['segmentId']):null;}[_0x55ceb7(0x162)](_0x40b179,_0x87f6ab=''){const _0x30b6c5=_0x55ceb7;var _0x16be08;return(_0x16be08=this[_0x30b6c5(0x1af)](_0x40b179,_0x87f6ab)[0x0])==null?null:_0x16be08;}['findTables'](_0x4c316c,_0x18628f=''){const _0x15264a=_0x55ceb7;let _0x1853d2=this[_0x15264a(0x1a6)](_0x18628f),_0x16a045=typeof _0x4c316c==_0x15264a(0x189)?{'text':_0x4c316c}:_0x4c316c;return this[_0x15264a(0x155)](_0x18628f)[_0x15264a(0x193)](_0x468677=>{const _0x5a581e=_0x15264a;let _0x369f2=_0x468677['getId']();return!(_0x16a045[_0x5a581e(0x1c1)]&&_0x369f2!==_0x16a045['tableId']||_0x16a045[_0x5a581e(0xf2)]&&!this['_tableContainsText'](_0x1853d2,_0x369f2,_0x16a045[_0x5a581e(0xf2)])||_0x16a045['headerText']&&!this[_0x5a581e(0x1c0)](_0x468677,0x0,_0x16a045[_0x5a581e(0x134)])||_0x16a045[_0x5a581e(0x13d)]&&!this[_0x5a581e(0x1c0)](_0x468677,0x0,_0x16a045[_0x5a581e(0x13d)]));});}[_0x55ceb7(0x19e)](_0x411fb8,_0x32b3ed,_0x244bfa={}){const _0x59c1ca=_0x55ceb7;var _0xaa97d4,_0x5aaf32;let _0x1e7369=this[_0x59c1ca(0x10a)][_0x59c1ca(0x1a7)](t[_0x59c1ca(0x125)]),_0x1ea13a=(_0xaa97d4=_0x244bfa['tableId'])==null?(0x0,t['generateRandomId'])(0x6):_0xaa97d4;return _0x1e7369['syncExecuteCommand'](e[_0x59c1ca(0x116)]['id'],{..._0x244bfa,'unitId':this['getId'](),'rows':_0x411fb8,'columns':_0x32b3ed,'tableId':_0x1ea13a})?this[_0x59c1ca(0x100)](_0x1ea13a,(_0x5aaf32=_0x244bfa[_0x59c1ca(0x143)])==null?'':_0x5aaf32):null;}[_0x55ceb7(0x13e)](_0x56c19c,_0x490068={}){const _0x37c8ab=_0x55ceb7;var _0x4174a3,_0x4ccda7;let _0x3a47c6=this['_injector'][_0x37c8ab(0x1a7)](t[_0x37c8ab(0x125)]),_0x21d43d=(_0x4174a3=_0x490068[_0x37c8ab(0x1c1)])==null?(0x0,t['generateRandomId'])(0x6):_0x4174a3;return _0x3a47c6['syncExecuteCommand'](e[_0x37c8ab(0x116)]['id'],{..._0x490068,'unitId':this['getId'](),'values':_0x56c19c,'tableId':_0x21d43d})?this['_createFDocumentTable'](_0x21d43d,(_0x4ccda7=_0x490068[_0x37c8ab(0x143)])==null?'':_0x4ccda7):null;}['_getTables'](_0x5b39a7=''){const _0x1934aa=_0x55ceb7;let {tables:_0x435f9f=[]}=this[_0x1934aa(0x122)](_0x5b39a7);return _0x435f9f;}['_getTableDocumentData'](_0x38fb59=''){const _0x516e37=_0x55ceb7;let _0x3726e7=this[_0x516e37(0x1a3)]()[_0x516e37(0x19c)]();return _0x38fb59?{...this[_0x516e37(0x1a3)](_0x38fb59)[_0x516e37(0x19c)](),'documentStyle':_0x3726e7['documentStyle'],'tableSource':_0x3726e7[_0x516e37(0x167)]}:_0x3726e7;}[_0x55ceb7(0x100)](_0x42d0b8,_0x38c76b=''){const _0x169003=_0x55ceb7;return this[_0x169003(0x10a)]['createInstance'](u,this,_0x42d0b8,_0x38c76b,this[_0x169003(0x10a)]);}['_tableContainsText'](_0x1916a2,_0x4c406e,_0x246541){const _0x2f0ce4=_0x55ceb7;var _0x107367;let _0x3106c6=(0x0,e[_0x2f0ce4(0x1aa)])(_0x1916a2,_0x4c406e);if(!_0x3106c6)return!0x1;let _0x2541c9=(_0x107367=_0x1916a2[_0x2f0ce4(0x18d)])==null?void 0x0:_0x107367['dataStream'];return _0x2541c9?_0x2541c9[_0x2f0ce4(0x192)](_0x3106c6[_0x2f0ce4(0x115)],_0x3106c6[_0x2f0ce4(0x18e)])[_0x2f0ce4(0x19d)](_0x246541):!0x1;}[_0x55ceb7(0x1c0)](_0x3269f8,_0x3e9fd9,_0x52b47c){const _0x428ffc=_0x55ceb7;return Array['from']({'length':_0x3269f8['getColumnCount']()},(_0x41aa4f,_0x5b5f4f)=>_0x3269f8['getCellText'](_0x3e9fd9,_0x5b5f4f))[_0x428ffc(0x152)](_0x5a4f06=>_0x5a4f06[_0x428ffc(0x19d)](_0x52b47c));}};r['FDocument'][_0x55ceb7(0x142)](d),exports['FDocumentTable']=u,exports[_0x55ceb7(0x146)]=a;
|
|
1
|
+
const _0x122325=_0x544e;(function(_0x2a20f8,_0x2a1271){const _0x4c491d=_0x544e,_0x1eccb5=_0x2a20f8();while(!![]){try{const _0x2c7107=-parseInt(_0x4c491d(0x1a6))/0x1+-parseInt(_0x4c491d(0x173))/0x2*(parseInt(_0x4c491d(0x224))/0x3)+parseInt(_0x4c491d(0x1f1))/0x4*(-parseInt(_0x4c491d(0x19e))/0x5)+-parseInt(_0x4c491d(0x226))/0x6*(-parseInt(_0x4c491d(0x23b))/0x7)+parseInt(_0x4c491d(0x169))/0x8+parseInt(_0x4c491d(0x1a2))/0x9*(parseInt(_0x4c491d(0x18a))/0xa)+parseInt(_0x4c491d(0x184))/0xb;if(_0x2c7107===_0x2a1271)break;else _0x1eccb5['push'](_0x1eccb5['shift']());}catch(_0x10c9be){_0x1eccb5['push'](_0x1eccb5['shift']());}}}(_0x1df6,0x1dbb9),Object[_0x122325(0x216)](exports,Symbol[_0x122325(0x1c9)],{'value':_0x122325(0x174)}));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['FEnum']{get['DocsTableInsertTablePosition'](){const _0x47521a=_0x122325;return e[_0x47521a(0x167)];}get[_0x122325(0x233)](){const _0x318c90=_0x122325;return e[_0x318c90(0x233)];}get[_0x122325(0x17f)](){const _0x2d6700=_0x122325;return e[_0x2d6700(0x17f)];}get['DocsTableRowInsertPosition'](){const _0x3e4a54=_0x122325;return e[_0x3e4a54(0x219)];}get[_0x122325(0x1b2)](){const _0x107c7f=_0x122325;return e[_0x107c7f(0x1b2)];}get[_0x122325(0x1e0)](){const _0x567370=_0x122325;return e[_0x567370(0x1e0)];}get[_0x122325(0x1f5)](){const _0x3fb110=_0x122325;return e[_0x3fb110(0x1f5)];}get[_0x122325(0x221)](){const _0x35eb22=_0x122325;return t[_0x35eb22(0x221)];}};n[_0x122325(0x21f)][_0x122325(0x1fd)](i);function _0x544e(_0x30e8f2,_0x505cb4){_0x30e8f2=_0x30e8f2-0x166;const _0x1df6be=_0x1df6();let _0x544e2f=_0x1df6be[_0x30e8f2];return _0x544e2f;}function _0x1df6(){const _0xd97633=['_getDocumentData','insertRowsAfter','some','dataStream','serialize','titleRow','size','setTableBorder','selectTable','_getBodyPath','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Range','toStringTag','getMarginOverride','DocsTableInsertTableCommand','_unitId','setColumnType','object','DocsTableModel','_document','buildSetTableBackgroundMutationActions','_getTableDocumentData','_createFDocumentTable','Cell','executeRichTextTableActions','buildMoveTableColumnsMutationActions','cellMargin','get','setDefaultCellMargin','tableColumns','DEFAULT_DOCS_TABLE_CELL_MARGIN','tableCells','setText','mergeCells','appendColumn','DocsTableBorderPreset','_table','selectRange','getRange','insertColumnBefore','segmentId','insertTitleRow','setMargin','buildInsertTableRowsMutationActions','selectColumn','tableSource','getText','color','setTitleRow','sortByColumn','setCellText','rows','44188fPaHkZ','filter','moveTableBy','endOffset','DocsTableSortDirection','getCell','call','TableRowHeightRule','getColumnIndex','mergeTo','DocsTableSelectionService','buildUnmergeCellsMutationActions','extend','_tableContainsText','backgroundColor','getTableAtSelection','getRowCount','distributeColumns','insertRowsBefore','setBorder','getColumnsRange','getSource','getCellMargin','border','includes','FDocument','getCellRange','setStructuralSelection','FDocumentTable','toPrimitive','setTableBackground','titleText','getTableRange','text','setCellMargin','buildDeleteTableRowsMutationActions','moveColumn','defineProperty','width','buildDistributeTableColumnsMutationActions','DocsTableRowInsertPosition','getColumnRange','setHeaderRowCount','syncExecuteCommand','deleteColumn','getBody','FEnum','tableRows','DashStyleType','symbol','generateRandomId','3HoIiUl','buildMoveTableRowsMutationActions','2760TCumkg','getSnapshot','DocsTableInsertPosition','getCellInsertOffset','deepClone','slice','getInfo','getStableTableSelection','_injector','margin','getInsertOffset','type','documentStyle','DocsTableColumnType','moveRows','Left','getTableMetadata','_serializeModel','insertColumnAfter','insertRowAfter','from','3255xfQzEf','_row','deleteRow','DocsTableInsertTablePosition','createInstance','1807368kNEaFk','deleteRows','selectRow','Below','buildDistributeTableRowsMutationActions','insertTable','distributeRows','describe','getDocumentDataModel','getTableActionBodyPath','468138QSKmoJ','Module','getTable','moveTableToOffset','_segmentId','_column','getRowIndex','max','getRowRange','moveColumns','getId','moveRow','DocsTableSelectionKind','insertTableFromData','getSegmentId','getDefaultCellMarginOverride','findTables','1212112EjYcmm','_mutateActions','getTables','getCellText','map','getCellMarginOverride','20RaMjwG','buildInsertTableColumnsMutationActions','setRowHeight','getRowHeight','clearMarginOverride','#1f1f1f','Table','buildSetTableCellMarginMutationActions','_rowContainsText','getColumnCount','insertColumnsBefore','cells','length','Tools','_getTables','getMargin','headerRowCount','buildSetTableCellTextMutationActions','insertColumnsAfter','selectCell','5VLFUim','ICommandService','FDocumentTableCell','columnTypes','252594TsVRvx','deleteColumns','buildSetTableDefaultCellMarginMutationActions','getMetadata','239244XTkgUH','insertRowBefore','getRowsRange','setBackgroundColor','selectColumns','tableId','buildDeleteTableColumnsMutationActions','SOLID','getCellContentRange','function','actions','Right','DocsTableColumnInsertPosition','startOffset','setCellBackground','headerText','Above','constructor','_tableId','body','iterator','deleteTable','getTableRangeById'];_0x1df6=function(){return _0xd97633;};return _0x1df6();}var a=class{constructor(_0xf0990d,_0x302fd4,_0x7d99a6){const _0x105a84=_0x122325;this[_0x105a84(0x1e1)]=_0xf0990d,this['_row']=_0x302fd4,this['_column']=_0x7d99a6;}[_0x122325(0x175)](){const _0x174000=_0x122325;return this[_0x174000(0x1e1)];}[_0x122325(0x179)](){const _0x2c2184=_0x122325;return this[_0x2c2184(0x23c)];}[_0x122325(0x1f9)](){return this['_column'];}[_0x122325(0x1eb)](){const _0x5ae4a2=_0x122325;return this['_table'][_0x5ae4a2(0x187)](this[_0x5ae4a2(0x23c)],this[_0x5ae4a2(0x178)]);}['getContentRange'](){const _0x19b6dc=_0x122325;return this[_0x19b6dc(0x1e1)][_0x19b6dc(0x1ae)](this[_0x19b6dc(0x23c)],this['_column']);}[_0x122325(0x230)](){const _0x2b775e=_0x122325;return this[_0x2b775e(0x1e1)]['getCellInsertOffset'](this['_row'],this['_column']);}[_0x122325(0x199)](){const _0x256626=_0x122325;return this[_0x256626(0x1e1)][_0x256626(0x207)](this[_0x256626(0x23c)],this[_0x256626(0x178)]);}[_0x122325(0x1ca)](){const _0x27a756=_0x122325;return this['_table'][_0x27a756(0x189)](this[_0x27a756(0x23c)],this[_0x27a756(0x178)]);}[_0x122325(0x1e7)](_0x430cbc){const _0x47a89e=_0x122325;return this[_0x47a89e(0x1e1)][_0x47a89e(0x213)](this['_table'][_0x47a89e(0x20b)](this[_0x47a89e(0x23c)],this['_column']),_0x430cbc);}[_0x122325(0x18e)](){const _0x4a4475=_0x122325;return this[_0x4a4475(0x1e1)]['setCellMargin'](this[_0x4a4475(0x1e1)][_0x4a4475(0x20b)](this[_0x4a4475(0x23c)],this[_0x4a4475(0x178)]),null);}[_0x122325(0x1dd)](_0x42643d){const _0x17e72e=_0x122325;return this[_0x17e72e(0x1e1)][_0x17e72e(0x1ef)](this[_0x17e72e(0x23c)],this[_0x17e72e(0x178)],_0x42643d);}[_0x122325(0x1a9)](_0x1ff309){const _0x577797=_0x122325;return this['_table']['setCellBackground'](this[_0x577797(0x1e1)][_0x577797(0x20b)](this['_row'],this['_column']),_0x1ff309);}[_0x122325(0x204)](_0x2b1bcc){const _0x41006e=_0x122325;return this['_table']['setBorder'](this[_0x41006e(0x1e1)][_0x41006e(0x20b)](this[_0x41006e(0x23c)],this[_0x41006e(0x178)]),_0x2b1bcc);}[_0x122325(0x1fa)](_0x261a9b,_0x28c129){const _0x373004=_0x122325;return this[_0x373004(0x1e1)][_0x373004(0x1de)]({'startRow':this[_0x373004(0x23c)],'startColumn':this[_0x373004(0x178)],'endRow':this['_row']+_0x261a9b-0x1,'endColumn':this[_0x373004(0x178)]+_0x28c129-0x1});}['unmerge'](){const _0x35a867=_0x122325;return this[_0x35a867(0x1e1)]['unmergeCells'](this[_0x35a867(0x1e1)][_0x35a867(0x20b)](this[_0x35a867(0x23c)],this[_0x35a867(0x178)]));}};function o(_0xdd21e3){'@babel/helpers - typeof';const _0x1bf48e=_0x122325;return o=typeof Symbol=='function'&&typeof Symbol[_0x1bf48e(0x1ba)]==_0x1bf48e(0x222)?function(_0x36f0e4){return typeof _0x36f0e4;}:function(_0x3b8be2){const _0xcf3c04=_0x1bf48e;return _0x3b8be2&&typeof Symbol==_0xcf3c04(0x1af)&&_0x3b8be2[_0xcf3c04(0x1b7)]===Symbol&&_0x3b8be2!==Symbol['prototype']?_0xcf3c04(0x222):typeof _0x3b8be2;},o(_0xdd21e3);}function s(_0x5108a6,_0x143a37){const _0x955844=_0x122325;if(o(_0x5108a6)!='object'||!_0x5108a6)return _0x5108a6;var _0x534bed=_0x5108a6[Symbol[_0x955844(0x20e)]];if(_0x534bed!==void 0x0){var _0x1d93cf=_0x534bed[_0x955844(0x1f7)](_0x5108a6,_0x143a37||'default');if(o(_0x1d93cf)!=_0x955844(0x1ce))return _0x1d93cf;throw TypeError(_0x955844(0x1c7));}return(_0x143a37==='string'?String:Number)(_0x5108a6);}function c(_0x451e0b){const _0x1b3eee=_0x122325;var _0x6c6d7f=s(_0x451e0b,'string');return o(_0x6c6d7f)==_0x1b3eee(0x222)?_0x6c6d7f:_0x6c6d7f+'';}function l(_0x39d98c,_0x341b02,_0x3f0e90){return(_0x341b02=c(_0x341b02))in _0x39d98c?Object['defineProperty'](_0x39d98c,_0x341b02,{'value':_0x3f0e90,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x39d98c[_0x341b02]=_0x3f0e90,_0x39d98c;}var u=class{constructor(_0x3a4c50,_0x3f3a71,_0x11405d='',_0x46123c){const _0x2e3fec=_0x122325;this[_0x2e3fec(0x1d0)]=_0x3a4c50,this[_0x2e3fec(0x1b8)]=_0x3f3a71,this[_0x2e3fec(0x177)]=_0x11405d,this['_injector']=_0x46123c,l(this,_0x2e3fec(0x1cc),void 0x0),this[_0x2e3fec(0x1cc)]=this[_0x2e3fec(0x1d0)]['getId']();}[_0x122325(0x17d)](){const _0x2f9198=_0x122325;return this[_0x2f9198(0x1b8)];}[_0x122325(0x181)](){const _0x32b7a0=_0x122325;return this[_0x32b7a0(0x177)];}[_0x122325(0x22c)](){const _0xf4e862=_0x122325;return{'id':this[_0xf4e862(0x1b8)],'rowCount':this['getRowCount'](),'columnCount':this[_0xf4e862(0x193)](),'metadata':this[_0xf4e862(0x1a5)](),'source':this[_0xf4e862(0x206)]()};}[_0x122325(0x170)](){const _0x2827f9=_0x122325;var _0x3b4321,_0x2eaf10;let _0x251841=this[_0x2827f9(0x1a5)](),_0x1f1232=this[_0x2827f9(0x206)](),_0x258d48=this[_0x2827f9(0x193)]();return{'id':this[_0x2827f9(0x1b8)],'rowCount':this['getRowCount'](),'columnCount':_0x258d48,'headerRowCount':(_0x3b4321=_0x251841==null?void 0x0:_0x251841[_0x2827f9(0x19a)])==null?0x0:_0x3b4321,'titleRow':(_0x2eaf10=_0x251841==null?void 0x0:_0x251841[_0x2827f9(0x1c2)])==null?!0x1:_0x2eaf10,'columns':Array[_0x2827f9(0x23a)]({'length':_0x258d48},(_0x137664,_0x10583f)=>{const _0x140589=_0x2827f9;var _0x304120,_0x38a8d9;return{'index':_0x10583f,'type':_0x251841==null||(_0x304120=_0x251841[_0x140589(0x1a1)])==null||(_0x304120=_0x304120[_0x10583f])==null?void 0x0:_0x304120[_0x140589(0x231)],'width':_0x1f1232==null||(_0x38a8d9=_0x1f1232[_0x140589(0x1da)][_0x10583f])==null?void 0x0:_0x38a8d9[_0x140589(0x1c3)][_0x140589(0x217)]['v']};}),'sampleRows':Array[_0x2827f9(0x23a)]({'length':this[_0x2827f9(0x201)]()},(_0x454dd1,_0x2db9ca)=>Array[_0x2827f9(0x23a)]({'length':_0x258d48},(_0x98bb58,_0x4690d9)=>this[_0x2827f9(0x187)](_0x2db9ca,_0x4690d9)))[_0x2827f9(0x1f2)](_0x5d4d27=>_0x5d4d27[_0x2827f9(0x1bf)](_0x51aafd=>_0x51aafd[_0x2827f9(0x196)]>0x0))[_0x2827f9(0x22b)](0x0,0x5)};}['getRowCount'](){const _0x9fcb81=_0x122325;var _0x9390ea,_0x326c35;return(_0x9390ea=(_0x326c35=this['getSource']())==null?void 0x0:_0x326c35[_0x9fcb81(0x220)][_0x9fcb81(0x196)])==null?0x0:_0x9390ea;}[_0x122325(0x193)](){const _0x2e7a94=_0x122325;var _0x208018,_0xd82703;return(_0x208018=(_0xd82703=this[_0x2e7a94(0x206)]())==null?void 0x0:_0xd82703[_0x2e7a94(0x1da)][_0x2e7a94(0x196)])==null?0x0:_0x208018;}[_0x122325(0x1f6)](_0x35d9c1,_0x1bea5b){const _0x5ab077=_0x122325;var _0x37c990;return!((_0x37c990=this[_0x5ab077(0x206)]())==null||(_0x37c990=_0x37c990[_0x5ab077(0x220)][_0x35d9c1])==null)&&_0x37c990[_0x5ab077(0x1dc)][_0x1bea5b]?this['_injector']['createInstance'](a,this,_0x35d9c1,_0x1bea5b):null;}[_0x122325(0x187)](_0x25c055,_0xb77848){const _0x552673=_0x122325;var _0x5099dd,_0x4284e6,_0x5bfd03;let _0x4ed178=(_0x5099dd=(0x0,e[_0x552673(0x1bc)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x5099dd=_0x5099dd[_0x552673(0x1f0)][_0x25c055])==null?void 0x0:_0x5099dd[_0x552673(0x195)][_0xb77848];return _0x4ed178?(_0x4284e6=(_0x5bfd03=this[_0x552673(0x1bd)]()[_0x552673(0x1b9)])==null?void 0x0:_0x5bfd03[_0x552673(0x1c0)]['slice'](_0x4ed178[_0x552673(0x1b3)]+0x1,_0x4ed178[_0x552673(0x1f4)])['replace'](/\r\n$/,''))==null?'':_0x4284e6:'';}['getCellMargin'](_0x2f12ec,_0x253434){const _0x1430e0=_0x122325;var _0x44caaa,_0x10c352,_0xe81dd7;let _0xa2a29b=this[_0x1430e0(0x206)](),_0x4d9e18=_0xa2a29b==null||(_0x44caaa=_0xa2a29b[_0x1430e0(0x220)][_0x2f12ec])==null?void 0x0:_0x44caaa[_0x1430e0(0x1dc)][_0x253434];return _0x4d9e18?t['Tools'][_0x1430e0(0x22a)]((_0x10c352=(_0xe81dd7=_0x4d9e18[_0x1430e0(0x22f)])==null?_0xa2a29b['cellMargin']:_0xe81dd7)==null?e[_0x1430e0(0x1db)]:_0x10c352):null;}[_0x122325(0x189)](_0x4c7b9d,_0x9a32a9){const _0x3308c2=_0x122325;var _0x17c261;let _0x4afd21=(_0x17c261=this[_0x3308c2(0x206)]())==null||(_0x17c261=_0x17c261[_0x3308c2(0x220)][_0x4c7b9d])==null?void 0x0:_0x17c261['tableCells'][_0x9a32a9];return _0x4afd21!=null&&_0x4afd21[_0x3308c2(0x22f)]?t[_0x3308c2(0x197)]['deepClone'](_0x4afd21[_0x3308c2(0x22f)]):null;}['getDefaultCellMargin'](){const _0x27ef84=_0x122325;var _0x3416fb,_0x2c5173;return t[_0x27ef84(0x197)][_0x27ef84(0x22a)]((_0x3416fb=(_0x2c5173=this[_0x27ef84(0x206)]())==null?void 0x0:_0x2c5173[_0x27ef84(0x1d7)])==null?e[_0x27ef84(0x1db)]:_0x3416fb);}[_0x122325(0x182)](){const _0xd3e3cf=_0x122325;var _0x321ba5;let _0x51a3bf=(_0x321ba5=this[_0xd3e3cf(0x206)]())==null?void 0x0:_0x321ba5['cellMargin'];return _0x51a3bf?t[_0xd3e3cf(0x197)][_0xd3e3cf(0x22a)](_0x51a3bf):null;}[_0x122325(0x1a5)](){const _0x181d2f=_0x122325;return this[_0x181d2f(0x22e)]['get'](e[_0x181d2f(0x1cf)])[_0x181d2f(0x236)](this[_0x181d2f(0x1cc)],this[_0x181d2f(0x1b8)]);}[_0x122325(0x206)](){const _0x42bd10=_0x122325;var _0x1ef191;return(_0x1ef191=this['_getDocumentData']()[_0x42bd10(0x1ea)])==null?void 0x0:_0x1ef191[this['_tableId']];}[_0x122325(0x1e3)](){const _0x4c3084=_0x122325;return(0x0,e[_0x4c3084(0x1bc)])(this[_0x4c3084(0x1bd)](),this[_0x4c3084(0x1b8)]);}[_0x122325(0x211)](){const _0x5c4803=_0x122325;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x5c4803(0x201)]()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this['getColumnCount']()-0x1)};}['getCellRange'](_0x4eeb4d,_0x43af6c){return{'startRow':_0x4eeb4d,'endRow':_0x4eeb4d,'startColumn':_0x43af6c,'endColumn':_0x43af6c};}[_0x122325(0x1ae)](_0x129e3b,_0x10032e){const _0x2e75b6=_0x122325;var _0x240b49;let _0x4ba385=(_0x240b49=(0x0,e['getTableRangeById'])(this[_0x2e75b6(0x1bd)](),this[_0x2e75b6(0x1b8)]))==null||(_0x240b49=_0x240b49[_0x2e75b6(0x1f0)][_0x129e3b])==null?void 0x0:_0x240b49['cells'][_0x10032e];if(!_0x4ba385)return null;let _0x4aecaf=_0x4ba385[_0x2e75b6(0x1b3)]+0x1;return{'startOffset':_0x4aecaf,'endOffset':Math[_0x2e75b6(0x17a)](_0x4aecaf,_0x4ba385['endOffset']-0x1),'segmentId':this[_0x2e75b6(0x177)]};}[_0x122325(0x229)](_0x2949d4,_0x4d645a){const _0x2f6fc8=_0x122325;var _0x5ad220,_0x451e09;return(_0x5ad220=(_0x451e09=this['getCellContentRange'](_0x2949d4,_0x4d645a))==null?void 0x0:_0x451e09[_0x2f6fc8(0x1f4)])==null?null:_0x5ad220;}[_0x122325(0x17b)](_0xe061d3){const _0x1ac221=_0x122325;return this[_0x1ac221(0x1a8)](_0xe061d3,0x1);}[_0x122325(0x1a8)](_0x5298c8,_0x58514b=0x1){const _0x4205a9=_0x122325;return{'startRow':_0x5298c8,'endRow':_0x5298c8+_0x58514b-0x1,'startColumn':0x0,'endColumn':Math[_0x4205a9(0x17a)](0x0,this[_0x4205a9(0x193)]()-0x1)};}[_0x122325(0x21a)](_0x2b96bc){const _0x13c435=_0x122325;return this[_0x13c435(0x205)](_0x2b96bc,0x1);}[_0x122325(0x205)](_0x436158,_0x18ed9b=0x1){return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':_0x436158,'endColumn':_0x436158+_0x18ed9b-0x1};}[_0x122325(0x1c5)](){const _0x2bcc25=_0x122325;return this[_0x2bcc25(0x1e2)](this[_0x2bcc25(0x211)](),e[_0x2bcc25(0x17f)][_0x2bcc25(0x190)]);}[_0x122325(0x16b)](_0xd50192){return this['selectRows'](_0xd50192,0x1);}['selectRows'](_0x3b1677,_0x164297=0x1){const _0x1728e4=_0x122325;return this[_0x1728e4(0x1e2)](this[_0x1728e4(0x1a8)](_0x3b1677,_0x164297),e[_0x1728e4(0x17f)]['Row']);}[_0x122325(0x1e9)](_0x2028ec){return this['selectColumns'](_0x2028ec,0x1);}[_0x122325(0x1aa)](_0x4e2c43,_0x18de88=0x1){const _0x15f3e6=_0x122325;return this[_0x15f3e6(0x1e2)](this[_0x15f3e6(0x205)](_0x4e2c43,_0x18de88),e['DocsTableSelectionKind']['Column']);}[_0x122325(0x19d)](_0x109452,_0x4bd8d9){const _0x283650=_0x122325;return this['selectRange'](this[_0x283650(0x20b)](_0x109452,_0x4bd8d9),e['DocsTableSelectionKind'][_0x283650(0x1d4)]);}[_0x122325(0x1e2)](_0xedd353,_0x3f4fe7=e[_0x122325(0x17f)][_0x122325(0x1c8)]){const _0xb5374d=_0x122325;return this[_0xb5374d(0x22e)]['get'](e[_0xb5374d(0x1fb)])[_0xb5374d(0x20c)]({..._0xedd353,'kind':_0x3f4fe7,'segmentId':this[_0xb5374d(0x177)],'tableId':this[_0xb5374d(0x1b8)]}),!0x0;}[_0x122325(0x1a7)](_0x32d452){const _0x54b6c5=_0x122325;return this[_0x54b6c5(0x203)](_0x32d452,0x1);}[_0x122325(0x239)](_0xe50648){return this['insertRowsAfter'](_0xe50648,0x1);}['insertRowsBefore'](_0x3c37ab,_0x4132c1){const _0x3502c2=_0x122325;let _0x2641fd=this[_0x3502c2(0x1bd)](),_0xf62034=(0x0,e['buildInsertTableRowsMutationActions'])(_0x2641fd,this[_0x3502c2(0x1b8)],_0x3c37ab,_0x4132c1,e[_0x3502c2(0x228)][_0x3502c2(0x1b6)],this['_getBodyPath']());return _0xf62034?this[_0x3502c2(0x185)](_0x2641fd,_0xf62034[_0x3502c2(0x1b0)]):!0x1;}[_0x122325(0x1be)](_0x289429,_0x46d66d){const _0xecf430=_0x122325;let _0x3a2978=this[_0xecf430(0x1bd)](),_0x1afa0a=(0x0,e[_0xecf430(0x1e8)])(_0x3a2978,this[_0xecf430(0x1b8)],_0x289429,_0x46d66d,e[_0xecf430(0x228)][_0xecf430(0x16c)],this['_getBodyPath']());return _0x1afa0a?this[_0xecf430(0x185)](_0x3a2978,_0x1afa0a[_0xecf430(0x1b0)]):!0x1;}['appendRow'](){const _0x554dd3=_0x122325;return this[_0x554dd3(0x1be)](Math[_0x554dd3(0x17a)](0x0,this[_0x554dd3(0x201)]()-0x1),0x1);}[_0x122325(0x1e4)](_0x586619){return this['insertColumnsBefore'](_0x586619,0x1);}[_0x122325(0x238)](_0x428fbc){const _0x495c2a=_0x122325;return this[_0x495c2a(0x19c)](_0x428fbc,0x1);}[_0x122325(0x194)](_0x588f59,_0x16648c){const _0x1e21d9=_0x122325;let _0x5286b8=this[_0x1e21d9(0x1bd)](),_0x37eeb0=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x5286b8,this[_0x1e21d9(0x1b8)],_0x588f59,_0x16648c,e['DocsTableInsertPosition'][_0x1e21d9(0x235)],{'bodyPath':this[_0x1e21d9(0x1c6)]()});return _0x37eeb0?this[_0x1e21d9(0x185)](_0x5286b8,_0x37eeb0[_0x1e21d9(0x1b0)]):!0x1;}['insertColumnsAfter'](_0x4f7855,_0x3b86b2){const _0x2d51b9=_0x122325;let _0xead828=this[_0x2d51b9(0x1bd)](),_0x14eb91=(0x0,e[_0x2d51b9(0x18b)])(_0xead828,this[_0x2d51b9(0x1b8)],_0x4f7855,_0x3b86b2,e['DocsTableInsertPosition'][_0x2d51b9(0x1b1)],{'bodyPath':this[_0x2d51b9(0x1c6)]()});return _0x14eb91?this['_mutateActions'](_0xead828,_0x14eb91[_0x2d51b9(0x1b0)]):!0x1;}[_0x122325(0x1df)](){const _0x263420=_0x122325;return this[_0x263420(0x19c)](Math['max'](0x0,this[_0x263420(0x193)]()-0x1),0x1);}[_0x122325(0x166)](_0x12962c){const _0x196acd=_0x122325;return this[_0x196acd(0x16a)](_0x12962c,0x1);}[_0x122325(0x16a)](_0x35700c,_0x4fb77b=0x1){const _0x5e82b5=_0x122325;let _0x4fc2c5=this['_getDocumentData'](),_0x526147=(0x0,e[_0x5e82b5(0x214)])(_0x4fc2c5,this['_tableId'],_0x35700c,_0x35700c+_0x4fb77b-0x1,this['_getBodyPath']());return _0x526147?this[_0x5e82b5(0x185)](_0x4fc2c5,_0x526147[_0x5e82b5(0x1b0)]):!0x1;}[_0x122325(0x21d)](_0x134230){return this['deleteColumns'](_0x134230,0x1);}[_0x122325(0x1a3)](_0x579d49,_0x4037f0=0x1){const _0x3e46f6=_0x122325;let _0x2f9029=this['_getDocumentData'](),_0x50a9f6=(0x0,e[_0x3e46f6(0x1ac)])(_0x2f9029,this[_0x3e46f6(0x1b8)],_0x579d49,_0x579d49+_0x4037f0-0x1,this[_0x3e46f6(0x1c6)]());return _0x50a9f6?this[_0x3e46f6(0x185)](_0x2f9029,_0x50a9f6['actions']):!0x1;}[_0x122325(0x1bb)](){const _0x1a405f=_0x122325;let _0x2b353d=this[_0x1a405f(0x1bd)](),_0x504c1b=(0x0,e['buildDeleteTableMutationActions'])(_0x2b353d,this['_tableId'],this[_0x1a405f(0x1c6)]());return _0x504c1b?this[_0x1a405f(0x185)](_0x2b353d,_0x504c1b[_0x1a405f(0x1b0)]):!0x1;}[_0x122325(0x1f3)](_0x2903c6,_0x9df32a){const _0xd60ae7=_0x122325;let _0x1624f3=this['_getDocumentData']();return this[_0xd60ae7(0x185)](_0x1624f3,(0x0,e['buildMoveFloatingTableMutationActions'])(_0x1624f3,this[_0xd60ae7(0x1b8)],_0x2903c6,_0x9df32a));}[_0x122325(0x176)](_0x14bdd2){const _0x3ced2d=_0x122325;let _0x1b7d18=this[_0x3ced2d(0x1bd)]();return this[_0x3ced2d(0x185)](_0x1b7d18,(0x0,e['buildMoveTableToOffsetMutationActions'])(_0x1b7d18,this[_0x3ced2d(0x1b8)],_0x14bdd2,this[_0x3ced2d(0x1c6)]()));}[_0x122325(0x17e)](_0x255717,_0x53e84c,_0x1ed21c=e[_0x122325(0x228)][_0x122325(0x1b6)]){const _0x9057d7=_0x122325;return this[_0x9057d7(0x234)](_0x255717,0x1,_0x53e84c,_0x1ed21c);}[_0x122325(0x234)](_0x1e38ec,_0x3221db,_0x2c3207,_0x32c8cb=e['DocsTableInsertPosition']['Above']){const _0x5a58f8=_0x122325;let _0x5e5c98=this['_getDocumentData'](),_0x5e6eeb=(0x0,e[_0x5a58f8(0x225)])(_0x5e5c98,this[_0x5a58f8(0x1b8)],_0x1e38ec,_0x2c3207,_0x3221db,_0x32c8cb,this[_0x5a58f8(0x1c6)]());return _0x5e6eeb?this[_0x5a58f8(0x185)](_0x5e5c98,_0x5e6eeb[_0x5a58f8(0x1b0)]):!0x1;}[_0x122325(0x215)](_0x38fdd4,_0x2205eb,_0x3f5684=e[_0x122325(0x228)][_0x122325(0x235)]){const _0x50bcff=_0x122325;return this[_0x50bcff(0x17c)](_0x38fdd4,0x1,_0x2205eb,_0x3f5684);}[_0x122325(0x17c)](_0x2535c6,_0x3ecad2,_0x1cc509,_0x4decc8=e[_0x122325(0x228)][_0x122325(0x235)]){const _0xd59dc0=_0x122325;let _0x7143da=this[_0xd59dc0(0x1bd)](),_0x3e9011=(0x0,e[_0xd59dc0(0x1d6)])(_0x7143da,this['_tableId'],_0x2535c6,_0x1cc509,_0x3ecad2,_0x4decc8,this['_getBodyPath']());return _0x3e9011?this[_0xd59dc0(0x185)](_0x7143da,_0x3e9011[_0xd59dc0(0x1b0)]):!0x1;}['mergeCells'](_0x23d290){const _0x4fc235=_0x122325;try{let _0x1fb1d8=this['_getDocumentData'](),_0x2bda9c=(0x0,e['buildMergeCellsMutationActions'])({'documentData':_0x1fb1d8,'tableId':this['_tableId'],..._0x23d290});return _0x2bda9c?this[_0x4fc235(0x185)](_0x1fb1d8,_0x2bda9c['actions'],_0x23d290):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x3c9f7c){const _0x34511e=_0x122325;try{let _0x14e231=this[_0x34511e(0x1bd)](),_0x3647f0=(0x0,e[_0x34511e(0x1fc)])({'documentData':_0x14e231,'tableId':this[_0x34511e(0x1b8)],..._0x3c9f7c});return _0x3647f0?this['_mutateActions'](_0x14e231,_0x3647f0[_0x34511e(0x1b0)],_0x3c9f7c):!0x1;}catch{return!0x1;}}[_0x122325(0x1ef)](_0x38ae71,_0x37fb3b,_0xaddc5d){const _0x4aa52c=_0x122325;let _0x36b8c9=this[_0x4aa52c(0x1bd)](),_0x32968c=(0x0,e[_0x4aa52c(0x172)])(this[_0x4aa52c(0x1d0)]['getDocumentDataModel']()[_0x4aa52c(0x227)](),this[_0x4aa52c(0x177)]);return this['_mutateActions'](_0x36b8c9,(0x0,e[_0x4aa52c(0x19b)])({'documentData':_0x36b8c9,'tableId':this[_0x4aa52c(0x1b8)],'row':_0x38ae71,'column':_0x37fb3b,'text':_0xaddc5d},_0x32968c),this['getCellRange'](_0x38ae71,_0x37fb3b));}[_0x122325(0x1b4)](_0x5992d8,_0x4f3912){const _0x394426=_0x122325;let _0x4980c6=this['_getDocumentData']();return this[_0x394426(0x185)](_0x4980c6,(0x0,e[_0x394426(0x1d1)])(_0x4980c6,{'tableId':this[_0x394426(0x1b8)],..._0x5992d8,'value':_0x4f3912}),_0x5992d8);}[_0x122325(0x213)](_0xb34fda,_0x12cb0e){const _0x195563=_0x122325;let _0x36461f=this[_0x195563(0x1bd)]();return this[_0x195563(0x185)](_0x36461f,(0x0,e[_0x195563(0x191)])({'documentData':_0x36461f,'tableId':this['_tableId'],..._0xb34fda,'margin':_0x12cb0e}),_0xb34fda);}[_0x122325(0x1d9)](_0x502803){const _0x13f952=_0x122325;let _0x4946c7=this['_getDocumentData']();return this['_mutateActions'](_0x4946c7,(0x0,e[_0x13f952(0x1a4)])(_0x4946c7,this[_0x13f952(0x1b8)],_0x502803));}[_0x122325(0x204)](_0xde469b,_0x5529dd){const _0x159e17=_0x122325;var _0x2a5fa1,_0x574195,_0x2ec1f4,_0x2d53b2;let _0x5b9435=this[_0x159e17(0x1bd)]();return this[_0x159e17(0x185)](_0x5b9435,(0x0,e['buildSetTableBorderMutationActions'])({'documentData':_0x5b9435,'tableId':this['_tableId'],..._0xde469b,'preset':(_0x2a5fa1=_0x5529dd['preset'])==null?e[_0x159e17(0x1e0)]['All']:_0x2a5fa1,'border':(_0x574195=_0x5529dd[_0x159e17(0x208)])==null?{'color':{'rgb':(_0x2ec1f4=_0x5529dd[_0x159e17(0x1ec)])==null?_0x159e17(0x18f):_0x2ec1f4},'width':{'v':(_0x2d53b2=_0x5529dd['width'])==null?0x1:_0x2d53b2},'dashStyle':t[_0x159e17(0x221)][_0x159e17(0x1ad)]}:_0x574195}),_0xde469b);}[_0x122325(0x20f)](_0x4fc9d7){const _0x59921c=_0x122325;return this[_0x59921c(0x1b4)](this[_0x59921c(0x211)](),_0x4fc9d7);}['setTableBorder'](_0x5d6fff){const _0x2eda3f=_0x122325;return this[_0x2eda3f(0x204)](this['getTableRange'](),_0x5d6fff);}['setTableStyle'](_0x4d0ce6){const _0x3d0601=_0x122325;let _0x4c2e08=_0x4d0ce6[_0x3d0601(0x1ff)]?this[_0x3d0601(0x20f)](_0x4d0ce6['backgroundColor']):!0x0,_0x40f856=_0x4d0ce6[_0x3d0601(0x208)]?this[_0x3d0601(0x1c4)](_0x4d0ce6['border']):!0x0;return _0x4c2e08&&_0x40f856;}[_0x122325(0x18c)](_0x16d186,_0x263d89,_0x5bedd5=t[_0x122325(0x1f8)]['AT_LEAST']){const _0x5dc085=_0x122325;var _0x12b6f4;let _0x962ac=this[_0x5dc085(0x1bd)]();return!((_0x12b6f4=_0x962ac[_0x5dc085(0x1ea)])==null||(_0x12b6f4=_0x12b6f4[this[_0x5dc085(0x1b8)]])==null)&&_0x12b6f4[_0x5dc085(0x220)][_0x16d186]?this[_0x5dc085(0x185)](_0x962ac,(0x0,e['buildResizeTableRowActionsFromHeight'])(_0x962ac,this[_0x5dc085(0x1b8)],_0x16d186,_0x263d89,_0x5bedd5)):!0x1;}[_0x122325(0x18d)](_0x5107d2){const _0x518ded=_0x122325;var _0x4b99df;let _0x87334=(_0x4b99df=this[_0x518ded(0x206)]())==null||(_0x4b99df=_0x4b99df[_0x518ded(0x220)][_0x5107d2])==null?void 0x0:_0x4b99df['trHeight'];return _0x87334?t[_0x518ded(0x197)][_0x518ded(0x22a)](_0x87334):null;}['setColumnWidth'](_0x292d83,_0x3f66e3){const _0x4b952f=_0x122325;var _0x45515d;let _0x3b2f4e=this[_0x4b952f(0x1bd)]();return!((_0x45515d=_0x3b2f4e[_0x4b952f(0x1ea)])==null||(_0x45515d=_0x45515d[this['_tableId']])==null)&&_0x45515d[_0x4b952f(0x1da)][_0x292d83]?this[_0x4b952f(0x185)](_0x3b2f4e,(0x0,e['buildResizeTableColumnActionsFromWidth'])(_0x3b2f4e,this[_0x4b952f(0x1b8)],_0x292d83,_0x3f66e3)):!0x1;}[_0x122325(0x16f)](_0x56bfbf=0x0,_0xcff9e8=this[_0x122325(0x201)]()){const _0x514fea=_0x122325;let _0x50068c=this['_getDocumentData']();return this[_0x514fea(0x185)](_0x50068c,(0x0,e[_0x514fea(0x16d)])(_0x50068c,this[_0x514fea(0x1b8)],_0x56bfbf,_0x56bfbf+_0xcff9e8-0x1));}[_0x122325(0x202)](_0x177703=0x0,_0x2aefdb=this[_0x122325(0x193)]()){const _0x72406=_0x122325;let _0x24c829=this[_0x72406(0x1bd)]();return this['_mutateActions'](_0x24c829,(0x0,e[_0x72406(0x218)])(_0x24c829,this[_0x72406(0x1b8)],_0x177703,_0x177703+_0x2aefdb-0x1));}['getHeaderRowCount'](){const _0x2a8f42=_0x122325;var _0x42bed3,_0x6af8b0;return(_0x42bed3=(_0x6af8b0=this[_0x2a8f42(0x1a5)]())==null?void 0x0:_0x6af8b0[_0x2a8f42(0x19a)])==null?0x0:_0x42bed3;}['setHeaderRowCount'](_0x37fe3c){const _0x5348d6=_0x122325;let _0x5bd187=this[_0x5348d6(0x22e)][_0x5348d6(0x1d8)](e[_0x5348d6(0x1cf)]),_0x8c5d5e=this['_getDocumentData'](),_0x4016f1=(0x0,e['buildSetTableHeaderRowCountMutationActions'])(_0x8c5d5e,this[_0x5348d6(0x1b8)],_0x37fe3c);if(!_0x4016f1)return!0x1;let _0x2685d0=this['_mutateActions'](_0x8c5d5e,_0x4016f1[_0x5348d6(0x1b0)]);return _0x2685d0&&_0x5bd187['setHeaderRowCount'](this[_0x5348d6(0x1cc)],this[_0x5348d6(0x1b8)],_0x4016f1[_0x5348d6(0x19a)]),_0x2685d0;}['pinHeaderRows'](_0x1df9f4){const _0x2c82af=_0x122325;return this[_0x2c82af(0x21b)](_0x1df9f4);}['hasTitleRow'](){const _0x241c39=_0x122325;var _0x42f3da,_0x26ad4d;return(_0x42f3da=(_0x26ad4d=this[_0x241c39(0x1a5)]())==null?void 0x0:_0x26ad4d[_0x241c39(0x1c2)])==null?!0x1:_0x42f3da;}[_0x122325(0x1e6)](){const _0x104933=_0x122325;let _0x52f33b=this[_0x104933(0x22e)][_0x104933(0x1d8)](e[_0x104933(0x1cf)]),_0x587021=this[_0x104933(0x1bd)](),_0x345a2a=(0x0,e['buildInsertTableTitleRowMutationActions'])(_0x587021,this[_0x104933(0x1b8)],this[_0x104933(0x1c6)]());if(!_0x345a2a)return!0x1;let _0x17686a=this[_0x104933(0x185)](_0x587021,_0x345a2a['actions']);return _0x17686a&&_0x52f33b[_0x104933(0x1ed)](this[_0x104933(0x1cc)],this[_0x104933(0x1b8)],!0x0),_0x17686a;}[_0x122325(0x1cd)](_0x22c89f,_0x1892be){const _0x25f137=_0x122325;return this[_0x25f137(0x22e)][_0x25f137(0x1d8)](e[_0x25f137(0x1cf)])[_0x25f137(0x1cd)](this[_0x25f137(0x1cc)],this[_0x25f137(0x1b8)],_0x22c89f,_0x1892be),!0x0;}[_0x122325(0x1ee)](_0x5c3c53,_0x233165){const _0x1d8d0c=_0x122325;let _0x112c54=this['_getDocumentData']();return this[_0x1d8d0c(0x185)](_0x112c54,(0x0,e['buildSortTableMutationActions'])(_0x112c54,this['_serializeModel'](),this[_0x1d8d0c(0x1b8)],_0x5c3c53,_0x233165,this[_0x1d8d0c(0x1c6)]()));}[_0x122325(0x1bd)](){const _0x1e8bbe=_0x122325;let _0x413c01=this[_0x1e8bbe(0x1d0)]['getDocumentDataModel']()[_0x1e8bbe(0x227)]();return this[_0x1e8bbe(0x177)]?{...this[_0x1e8bbe(0x1d0)][_0x1e8bbe(0x171)](this[_0x1e8bbe(0x177)])[_0x1e8bbe(0x227)](),'documentStyle':_0x413c01[_0x1e8bbe(0x232)],'tableSource':_0x413c01[_0x1e8bbe(0x1ea)]}:_0x413c01;}[_0x122325(0x237)](){const _0x380ac4=_0x122325;return this[_0x380ac4(0x22e)][_0x380ac4(0x1d8)](e[_0x380ac4(0x1cf)])[_0x380ac4(0x1c1)](this[_0x380ac4(0x1cc)]);}[_0x122325(0x1c6)](){const _0x26b9a8=_0x122325;return(0x0,e[_0x26b9a8(0x172)])(this[_0x26b9a8(0x1d0)]['getDocumentDataModel']()[_0x26b9a8(0x227)](),this['_segmentId']);}[_0x122325(0x185)](_0x54be34,_0x5c9cd3,_0x5079bd){const _0x44f107=_0x122325;return(0x0,e[_0x44f107(0x1d5)])(this['_injector'][_0x44f107(0x1d8)](t[_0x44f107(0x19f)]),this[_0x44f107(0x1cc)],_0x54be34,_0x5c9cd3,_0x5079bd?{'tableId':this[_0x44f107(0x1b8)],'segmentId':this[_0x44f107(0x177)],..._0x5079bd}:void 0x0);}},d=class extends r['FDocument']{[_0x122325(0x186)](_0x508aea=''){const _0x3e824b=_0x122325;return this[_0x3e824b(0x198)](_0x508aea)[_0x3e824b(0x188)](_0x696350=>this['_createFDocumentTable'](_0x696350[_0x3e824b(0x1ab)],_0x508aea));}[_0x122325(0x175)](_0x53b9da,_0x110045=''){const _0x337189=_0x122325;return this[_0x337189(0x198)](_0x110045)[_0x337189(0x1bf)](_0x48ff2c=>_0x48ff2c[_0x337189(0x1ab)]===_0x53b9da)?this[_0x337189(0x1d3)](_0x53b9da,_0x110045):null;}['getTableAt'](_0x2a10de,_0x116326=''){const _0x4dcaaa=_0x122325;var _0x358229;let _0x5d8bdc=(_0x358229=this[_0x4dcaaa(0x198)](_0x116326)[_0x2a10de])==null?void 0x0:_0x358229[_0x4dcaaa(0x1ab)];return _0x5d8bdc?this[_0x4dcaaa(0x1d3)](_0x5d8bdc,_0x116326):null;}[_0x122325(0x200)](){const _0x3465ac=_0x122325;let _0x1f8717=this[_0x3465ac(0x22e)][_0x3465ac(0x1d8)](e[_0x3465ac(0x1fb)])[_0x3465ac(0x22d)]();return _0x1f8717!=null&&_0x1f8717[_0x3465ac(0x1ab)]?this['_createFDocumentTable'](_0x1f8717[_0x3465ac(0x1ab)],_0x1f8717[_0x3465ac(0x1e5)]):null;}['findTableByText'](_0x21e92d,_0x3f032e=''){var _0x1763f6;return(_0x1763f6=this['findTables'](_0x21e92d,_0x3f032e)[0x0])==null?null:_0x1763f6;}[_0x122325(0x183)](_0x31f5bc,_0x373bcb=''){const _0x31bf38=_0x122325;let _0xfa3f99=this[_0x31bf38(0x1d2)](_0x373bcb),_0x2c9a96=typeof _0x31f5bc=='string'?{'text':_0x31f5bc}:_0x31f5bc;return this[_0x31bf38(0x186)](_0x373bcb)['filter'](_0x408520=>{const _0x4b7734=_0x31bf38;let _0x264f2c=_0x408520[_0x4b7734(0x17d)]();return!(_0x2c9a96[_0x4b7734(0x1ab)]&&_0x264f2c!==_0x2c9a96[_0x4b7734(0x1ab)]||_0x2c9a96[_0x4b7734(0x212)]&&!this[_0x4b7734(0x1fe)](_0xfa3f99,_0x264f2c,_0x2c9a96[_0x4b7734(0x212)])||_0x2c9a96['headerText']&&!this['_rowContainsText'](_0x408520,0x0,_0x2c9a96[_0x4b7734(0x1b5)])||_0x2c9a96[_0x4b7734(0x210)]&&!this['_rowContainsText'](_0x408520,0x0,_0x2c9a96[_0x4b7734(0x210)]));});}[_0x122325(0x16e)](_0x24fcf2,_0x1f95a6,_0x57d68a={}){const _0x5f415e=_0x122325;var _0x5c698a,_0x185acf;let _0x1baa53=this[_0x5f415e(0x22e)][_0x5f415e(0x1d8)](t[_0x5f415e(0x19f)]),_0x16eb5d=(_0x5c698a=_0x57d68a[_0x5f415e(0x1ab)])==null?(0x0,t['generateRandomId'])(0x6):_0x5c698a;return _0x1baa53['syncExecuteCommand'](e[_0x5f415e(0x1cb)]['id'],{..._0x57d68a,'unitId':this[_0x5f415e(0x17d)](),'rows':_0x24fcf2,'columns':_0x1f95a6,'tableId':_0x16eb5d})?this[_0x5f415e(0x1d3)](_0x16eb5d,(_0x185acf=_0x57d68a['segmentId'])==null?'':_0x185acf):null;}[_0x122325(0x180)](_0x4cb14d,_0x43bdf6={}){const _0x22f6b2=_0x122325;var _0x29361c,_0x431c9b;let _0x2f6d87=this[_0x22f6b2(0x22e)][_0x22f6b2(0x1d8)](t[_0x22f6b2(0x19f)]),_0x15ff65=(_0x29361c=_0x43bdf6[_0x22f6b2(0x1ab)])==null?(0x0,t[_0x22f6b2(0x223)])(0x6):_0x29361c;return _0x2f6d87[_0x22f6b2(0x21c)](e[_0x22f6b2(0x1cb)]['id'],{..._0x43bdf6,'unitId':this[_0x22f6b2(0x17d)](),'values':_0x4cb14d,'tableId':_0x15ff65})?this[_0x22f6b2(0x1d3)](_0x15ff65,(_0x431c9b=_0x43bdf6[_0x22f6b2(0x1e5)])==null?'':_0x431c9b):null;}['_getTables'](_0x5b4e32=''){const _0x12645d=_0x122325;let {tables:_0x23425d=[]}=this[_0x12645d(0x21e)](_0x5b4e32);return _0x23425d;}[_0x122325(0x1d2)](_0x46411c=''){const _0x2fa760=_0x122325;let _0x42b4b7=this[_0x2fa760(0x171)]()['getSnapshot']();return _0x46411c?{...this[_0x2fa760(0x171)](_0x46411c)['getSnapshot'](),'documentStyle':_0x42b4b7[_0x2fa760(0x232)],'tableSource':_0x42b4b7['tableSource']}:_0x42b4b7;}[_0x122325(0x1d3)](_0x2a94dc,_0x5ca6bb=''){const _0x3c6d50=_0x122325;return this[_0x3c6d50(0x22e)][_0x3c6d50(0x168)](u,this,_0x2a94dc,_0x5ca6bb,this['_injector']);}['_tableContainsText'](_0x175c1f,_0x24e66b,_0x4f03f6){const _0x4faaee=_0x122325;var _0x20c011;let _0x11c4fb=(0x0,e[_0x4faaee(0x1bc)])(_0x175c1f,_0x24e66b);if(!_0x11c4fb)return!0x1;let _0x5348a3=(_0x20c011=_0x175c1f[_0x4faaee(0x1b9)])==null?void 0x0:_0x20c011[_0x4faaee(0x1c0)];return _0x5348a3?_0x5348a3[_0x4faaee(0x22b)](_0x11c4fb['startOffset'],_0x11c4fb[_0x4faaee(0x1f4)])[_0x4faaee(0x209)](_0x4f03f6):!0x1;}[_0x122325(0x192)](_0x33c67b,_0x46f8af,_0xcd678a){const _0xb4de8b=_0x122325;return Array[_0xb4de8b(0x23a)]({'length':_0x33c67b['getColumnCount']()},(_0x4c010c,_0x2660d1)=>_0x33c67b[_0xb4de8b(0x187)](_0x46f8af,_0x2660d1))[_0xb4de8b(0x1bf)](_0x3a5a16=>_0x3a5a16[_0xb4de8b(0x209)](_0xcd678a));}};r[_0x122325(0x20a)][_0x122325(0x1fd)](d),exports[_0x122325(0x20d)]=u,exports[_0x122325(0x1a0)]=a;
|