@univerjs-pro/docs-table 1.0.0-alpha.3 → 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/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5e04d6=_0x5dd4;(function(_0x5b498f,_0x4f9aeb){const _0x26cac1=_0x5dd4,_0x3f62ec=_0x5b498f();while(!![]){try{const _0xad9514=-parseInt(_0x26cac1(0x236))/0x1+parseInt(_0x26cac1(0x1f1))/0x2*(parseInt(_0x26cac1(0x24a))/0x3)+-parseInt(_0x26cac1(0x1d9))/0x4+parseInt(_0x26cac1(0x1bb))/0x5*(parseInt(_0x26cac1(0x1c6))/0x6)+-parseInt(_0x26cac1(0x210))/0x7+-parseInt(_0x26cac1(0x23b))/0x8*(parseInt(_0x26cac1(0x1c7))/0x9)+-parseInt(_0x26cac1(0x1c1))/0xa*(-parseInt(_0x26cac1(0x243))/0xb);if(_0xad9514===_0x4f9aeb)break;else _0x3f62ec['push'](_0x3f62ec['shift']());}catch(_0x3ae84f){_0x3f62ec['push'](_0x3f62ec['shift']());}}}(_0x471a,0xe5672));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x5299ba,DocsTableBorderPreset as _0x239d8d,DocsTableColumnInsertPosition as _0x4706c3,DocsTableColumnType as _0x262491,DocsTableInsertPosition as _0x45bb2e,DocsTableInsertTableCommand as _0x6cb5b8,DocsTableInsertTablePosition as _0x34a455,DocsTableModel as _0x3a7427,DocsTableRowInsertPosition as _0x6725f1,DocsTableSelectionKind as _0x55e820,DocsTableSelectionService as _0x1980c9,DocsTableSortDirection as _0x27b584,buildDeleteTableColumnsMutationActions as _0x346322,buildDeleteTableMutationActions as _0x18f67d,buildDeleteTableRowsMutationActions as _0x31f4d9,buildDistributeTableColumnsMutationActions as _0x58abd4,buildDistributeTableRowsMutationActions as _0x14b9a2,buildInsertTableColumnsMutationActions as _0x25234d,buildInsertTableRowsMutationActions as _0x97ec35,buildInsertTableTitleRowMutationActions as _0x1977e4,buildMergeCellsMutationActions as _0x186ba1,buildMoveFloatingTableMutationActions as _0x54b1f5,buildMoveTableColumnsMutationActions as _0x4c9432,buildMoveTableRowsMutationActions as _0x551817,buildMoveTableToOffsetMutationActions as _0x47c59a,buildResizeTableColumnActionsFromWidth as _0x2b9a59,buildResizeTableRowActionsFromHeight as _0x17213e,buildSetTableBackgroundMutationActions as _0x2238c7,buildSetTableBorderMutationActions as _0x2ce9f9,buildSetTableCellMarginMutationActions as _0x3cb4a5,buildSetTableCellTextMutationActions as _0x4fc152,buildSetTableDefaultCellMarginMutationActions as _0x305e09,buildSetTableHeaderRowCountMutationActions as _0x394e30,buildSortTableMutationActions as _0x303e68,buildUnmergeCellsMutationActions as _0x38a307,executeRichTextTableActions as _0x52655a,getTableActionBodyPath as _0x2c6acd,getTableRangeById as _0x1cb38a}from'@univerjs-pro/docs-table';function _0x471a(){const _0x427a9c=['2228UbPGpv','findTables','insertColumnsAfter','Range','_segmentId','object','tableRows','getCellRange','getColumnsRange','DocsTableInsertTablePosition','deepClone','Column','selectColumn','moveTableBy','setRowHeight','extend','getCellMargin','endOffset','setBorder','headerRowCount','serialize','selectRows','text','documentStyle','getSource','get','_getDocumentData','_rowContainsText','findTableByText','getMetadata','tableColumns','8195026ELyGbu','selectRange','symbol','_mutateActions','moveRows','_injector','DocsTableBorderPreset','getCellContentRange','setDefaultCellMargin','from','backgroundColor','dataStream','getTables','function','syncExecuteCommand','insertTitleRow','Below','insertTableFromData','getMarginOverride','AT_LEAST','getSnapshot','getId','deleteRows','Row','pinHeaderRows','deleteColumns','SOLID','border','tableId','_tableId','getRowsRange','getHeaderRowCount','toPrimitive','setTableBorder','getRowCount','string','_serializeModel','default','1072764CIaaOd','insertRowsAfter','setTableBackground','getBody','setCellMargin','9284024pYDULZ','width','getStableTableSelection','selectRow','insertColumnAfter','_createFDocumentTable','DocsTableColumnType','cells','38005649hfnOFd','_column','insertRowsBefore','getTableMetadata','moveColumns','_table','getTableRange','1017bAJoEE','cellMargin','setColumnType','createInstance','setTitleRow','getMargin','getRowHeight','distributeRows','insertColumnsBefore','getDocumentDataModel','_getBodyPath','getColumnCount','startOffset','some','getTableAtSelection','appendColumn','tableSource','setCellText','getCellText','Above','length','rows','setText','getSegmentId','selectColumns','getCellMarginOverride','DocsTableRowInsertPosition','body','setColumnWidth','deleteRow','getInfo','map','actions','color','9263270JFaAAw','segmentId','getTable','setTableStyle','Table','getTableAt','10JFahKO','max','getCellInsertOffset','getRowRange','margin','6spajCx','9KtmhIm','_getTables','describe','slice','Cell','setStructuralSelection','_document','DocsTableSelectionKind','titleRow','_getTableDocumentData','_unitId','#1f1f1f','size','headerText','trHeight','_row','selectCell','distributeColumns','5366960hReUAp','sortByColumn','Left','insertColumnBefore','deleteTable','insertRowAfter','DocsTableSortDirection','prototype','getRowIndex','setCellBackground','includes','iterator','All','unmergeCells','setHeaderRowCount','_tableContainsText','call','titleText','mergeCells','hasTitleRow','selectTable','constructor','moveColumn','tableCells'];_0x471a=function(){return _0x427a9c;};return _0x471a();}import{DashStyleType as _0x5f24d1,ICommandService as _0x3449e4,TableRowHeightRule as _0x666109,Tools as _0x3e2c48,generateRandomId as _0x51e71c}from'@univerjs/core';function _0x5dd4(_0x18adb3,_0xc1bc1c){_0x18adb3=_0x18adb3-0x1b7;const _0x471a24=_0x471a();let _0x5dd453=_0x471a24[_0x18adb3];return _0x5dd453;}import{FEnum as _0x1d0092}from'@univerjs/core/facade';import{FDocument as _0x4bba2d}from'@univerjs/docs/facade';var G=class extends _0x1d0092{get[_0x5e04d6(0x1fa)](){return _0x34a455;}get[_0x5e04d6(0x241)](){return _0x262491;}get[_0x5e04d6(0x1ce)](){return _0x55e820;}get[_0x5e04d6(0x264)](){return _0x6725f1;}get['DocsTableColumnInsertPosition'](){return _0x4706c3;}get[_0x5e04d6(0x216)](){return _0x239d8d;}get[_0x5e04d6(0x1df)](){return _0x27b584;}get['DashStyleType'](){return _0x5f24d1;}};_0x1d0092[_0x5e04d6(0x200)](G);var K=class{constructor(_0x1ef3d9,_0x1ce8d3,_0x4d0ef9){const _0x33381c=_0x5e04d6;this['_table']=_0x1ef3d9,this[_0x33381c(0x1d6)]=_0x1ce8d3,this[_0x33381c(0x244)]=_0x4d0ef9;}[_0x5e04d6(0x1bd)](){const _0x2ffa29=_0x5e04d6;return this[_0x2ffa29(0x248)];}[_0x5e04d6(0x1e1)](){const _0x83a980=_0x5e04d6;return this[_0x83a980(0x1d6)];}['getColumnIndex'](){return this['_column'];}['getText'](){const _0x265af2=_0x5e04d6;return this[_0x265af2(0x248)][_0x265af2(0x25c)](this['_row'],this[_0x265af2(0x244)]);}['getContentRange'](){const _0x283e64=_0x5e04d6;return this[_0x283e64(0x248)][_0x283e64(0x217)](this[_0x283e64(0x1d6)],this[_0x283e64(0x244)]);}['getInsertOffset'](){const _0x3c1b2e=_0x5e04d6;return this[_0x3c1b2e(0x248)][_0x3c1b2e(0x1c3)](this['_row'],this[_0x3c1b2e(0x244)]);}[_0x5e04d6(0x24f)](){const _0x367921=_0x5e04d6;return this[_0x367921(0x248)][_0x367921(0x201)](this[_0x367921(0x1d6)],this[_0x367921(0x244)]);}[_0x5e04d6(0x222)](){const _0x403ea6=_0x5e04d6;return this[_0x403ea6(0x248)]['getCellMarginOverride'](this[_0x403ea6(0x1d6)],this[_0x403ea6(0x244)]);}['setMargin'](_0x35251c){const _0x435306=_0x5e04d6;return this['_table'][_0x435306(0x23a)](this['_table'][_0x435306(0x1f8)](this[_0x435306(0x1d6)],this['_column']),_0x35251c);}['clearMarginOverride'](){const _0x304bcb=_0x5e04d6;return this[_0x304bcb(0x248)][_0x304bcb(0x23a)](this[_0x304bcb(0x248)][_0x304bcb(0x1f8)](this[_0x304bcb(0x1d6)],this[_0x304bcb(0x244)]),null);}[_0x5e04d6(0x260)](_0x46ca61){const _0x2dd361=_0x5e04d6;return this['_table'][_0x2dd361(0x25b)](this['_row'],this['_column'],_0x46ca61);}['setBackgroundColor'](_0x518aac){const _0x1e628b=_0x5e04d6;return this['_table'][_0x1e628b(0x1e2)](this[_0x1e628b(0x248)][_0x1e628b(0x1f8)](this[_0x1e628b(0x1d6)],this[_0x1e628b(0x244)]),_0x518aac);}['setBorder'](_0x52494e){const _0xa41086=_0x5e04d6;return this[_0xa41086(0x248)][_0xa41086(0x203)](this[_0xa41086(0x248)][_0xa41086(0x1f8)](this[_0xa41086(0x1d6)],this[_0xa41086(0x244)]),_0x52494e);}['mergeTo'](_0x378107,_0x247e13){const _0x31279f=_0x5e04d6;return this[_0x31279f(0x248)][_0x31279f(0x1eb)]({'startRow':this[_0x31279f(0x1d6)],'startColumn':this['_column'],'endRow':this[_0x31279f(0x1d6)]+_0x378107-0x1,'endColumn':this['_column']+_0x247e13-0x1});}['unmerge'](){const _0x19e4fa=_0x5e04d6;return this[_0x19e4fa(0x248)][_0x19e4fa(0x1e6)](this['_table'][_0x19e4fa(0x1f8)](this[_0x19e4fa(0x1d6)],this['_column']));}};function q(_0x133e1b){'@babel/helpers - typeof';const _0x5ce664=_0x5e04d6;return q=typeof Symbol==_0x5ce664(0x21d)&&typeof Symbol[_0x5ce664(0x1e4)]==_0x5ce664(0x212)?function(_0x359066){return typeof _0x359066;}:function(_0x3927e3){const _0x2377d1=_0x5ce664;return _0x3927e3&&typeof Symbol=='function'&&_0x3927e3[_0x2377d1(0x1ee)]===Symbol&&_0x3927e3!==Symbol[_0x2377d1(0x1e0)]?_0x2377d1(0x212):typeof _0x3927e3;},q(_0x133e1b);}function J(_0x10221f,_0x51c190){const _0x46c9a0=_0x5e04d6;if(q(_0x10221f)!=_0x46c9a0(0x1f6)||!_0x10221f)return _0x10221f;var _0xb97ab0=_0x10221f[Symbol[_0x46c9a0(0x230)]];if(_0xb97ab0!==void 0x0){var _0xbc087d=_0xb97ab0[_0x46c9a0(0x1e9)](_0x10221f,_0x51c190||_0x46c9a0(0x235));if(q(_0xbc087d)!=_0x46c9a0(0x1f6))return _0xbc087d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x51c190===_0x46c9a0(0x233)?String:Number)(_0x10221f);}function Y(_0x529e66){const _0x512455=_0x5e04d6;var _0x9568c9=J(_0x529e66,_0x512455(0x233));return q(_0x9568c9)==_0x512455(0x212)?_0x9568c9:_0x9568c9+'';}function X(_0x825a36,_0x576747,_0x439d52){return(_0x576747=Y(_0x576747))in _0x825a36?Object['defineProperty'](_0x825a36,_0x576747,{'value':_0x439d52,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x825a36[_0x576747]=_0x439d52,_0x825a36;}var Z=class{constructor(_0x64bc7e,_0x422e5b,_0x193802='',_0x179397){const _0x25f142=_0x5e04d6;this['_document']=_0x64bc7e,this[_0x25f142(0x22d)]=_0x422e5b,this[_0x25f142(0x1f5)]=_0x193802,this[_0x25f142(0x215)]=_0x179397,X(this,'_unitId',void 0x0),this[_0x25f142(0x1d1)]=this[_0x25f142(0x1cd)]['getId']();}[_0x5e04d6(0x225)](){return this['_tableId'];}[_0x5e04d6(0x261)](){const _0x25fccf=_0x5e04d6;return this[_0x25fccf(0x1f5)];}[_0x5e04d6(0x1b7)](){const _0x1e3e32=_0x5e04d6;return{'id':this[_0x1e3e32(0x22d)],'rowCount':this[_0x1e3e32(0x232)](),'columnCount':this[_0x1e3e32(0x255)](),'metadata':this[_0x1e3e32(0x20e)](),'source':this[_0x1e3e32(0x209)]()};}[_0x5e04d6(0x1c9)](){const _0x75a4f6=_0x5e04d6;var _0x398596,_0x4cd1e5;let _0x2e6320=this['getMetadata'](),_0x593e04=this['getSource'](),_0x5acd7a=this[_0x75a4f6(0x255)]();return{'id':this[_0x75a4f6(0x22d)],'rowCount':this['getRowCount'](),'columnCount':_0x5acd7a,'headerRowCount':(_0x398596=_0x2e6320==null?void 0x0:_0x2e6320['headerRowCount'])==null?0x0:_0x398596,'titleRow':(_0x4cd1e5=_0x2e6320==null?void 0x0:_0x2e6320['titleRow'])==null?!0x1:_0x4cd1e5,'columns':Array[_0x75a4f6(0x219)]({'length':_0x5acd7a},(_0x42cd39,_0x32d999)=>{const _0x241211=_0x75a4f6;var _0xc1c93b,_0x2f28e2;return{'index':_0x32d999,'type':_0x2e6320==null||(_0xc1c93b=_0x2e6320['columnTypes'])==null||(_0xc1c93b=_0xc1c93b[_0x32d999])==null?void 0x0:_0xc1c93b['type'],'width':_0x593e04==null||(_0x2f28e2=_0x593e04[_0x241211(0x20f)][_0x32d999])==null?void 0x0:_0x2f28e2[_0x241211(0x1d3)][_0x241211(0x23c)]['v']};}),'sampleRows':Array[_0x75a4f6(0x219)]({'length':this[_0x75a4f6(0x232)]()},(_0x244459,_0x29e400)=>Array['from']({'length':_0x5acd7a},(_0x46cc11,_0x3d8bc6)=>this['getCellText'](_0x29e400,_0x3d8bc6)))['filter'](_0x5c08b4=>_0x5c08b4[_0x75a4f6(0x257)](_0x2e571e=>_0x2e571e['length']>0x0))[_0x75a4f6(0x1ca)](0x0,0x5)};}[_0x5e04d6(0x232)](){const _0x4d8c87=_0x5e04d6;var _0x27e828,_0x385a73;return(_0x27e828=(_0x385a73=this[_0x4d8c87(0x209)]())==null?void 0x0:_0x385a73[_0x4d8c87(0x1f7)]['length'])==null?0x0:_0x27e828;}['getColumnCount'](){const _0xdd2b40=_0x5e04d6;var _0x4a8e44,_0x3ebe46;return(_0x4a8e44=(_0x3ebe46=this['getSource']())==null?void 0x0:_0x3ebe46[_0xdd2b40(0x20f)][_0xdd2b40(0x25e)])==null?0x0:_0x4a8e44;}['getCell'](_0x207506,_0x25904e){const _0x131c13=_0x5e04d6;var _0x5a9922;return!((_0x5a9922=this['getSource']())==null||(_0x5a9922=_0x5a9922[_0x131c13(0x1f7)][_0x207506])==null)&&_0x5a9922[_0x131c13(0x1f0)][_0x25904e]?this[_0x131c13(0x215)][_0x131c13(0x24d)](K,this,_0x207506,_0x25904e):null;}[_0x5e04d6(0x25c)](_0x4b64d6,_0x4a4a43){const _0x4f6069=_0x5e04d6;var _0xd6d04c,_0x553a50,_0x291a29;let _0x449dec=(_0xd6d04c=_0x1cb38a(this[_0x4f6069(0x20b)](),this['_tableId']))==null||(_0xd6d04c=_0xd6d04c[_0x4f6069(0x25f)][_0x4b64d6])==null?void 0x0:_0xd6d04c['cells'][_0x4a4a43];return _0x449dec?(_0x553a50=(_0x291a29=this[_0x4f6069(0x20b)]()[_0x4f6069(0x265)])==null?void 0x0:_0x291a29[_0x4f6069(0x21b)]['slice'](_0x449dec[_0x4f6069(0x256)]+0x1,_0x449dec[_0x4f6069(0x202)])['replace'](/\r\n$/,''))==null?'':_0x553a50:'';}[_0x5e04d6(0x201)](_0x39d041,_0x5b649d){const _0x19fc4a=_0x5e04d6;var _0x5b0155,_0x3932fa,_0x39f949;let _0x52690b=this[_0x19fc4a(0x209)](),_0x327379=_0x52690b==null||(_0x5b0155=_0x52690b['tableRows'][_0x39d041])==null?void 0x0:_0x5b0155[_0x19fc4a(0x1f0)][_0x5b649d];return _0x327379?_0x3e2c48[_0x19fc4a(0x1fb)]((_0x3932fa=(_0x39f949=_0x327379[_0x19fc4a(0x1c5)])==null?_0x52690b[_0x19fc4a(0x24b)]:_0x39f949)==null?_0x5299ba:_0x3932fa):null;}[_0x5e04d6(0x263)](_0x39edeb,_0x4c5222){const _0x59f042=_0x5e04d6;var _0x91aa60;let _0x2b0cb8=(_0x91aa60=this[_0x59f042(0x209)]())==null||(_0x91aa60=_0x91aa60['tableRows'][_0x39edeb])==null?void 0x0:_0x91aa60['tableCells'][_0x4c5222];return _0x2b0cb8!=null&&_0x2b0cb8['margin']?_0x3e2c48[_0x59f042(0x1fb)](_0x2b0cb8[_0x59f042(0x1c5)]):null;}['getDefaultCellMargin'](){const _0x2043f7=_0x5e04d6;var _0x46eae9,_0x1c1e92;return _0x3e2c48[_0x2043f7(0x1fb)]((_0x46eae9=(_0x1c1e92=this['getSource']())==null?void 0x0:_0x1c1e92['cellMargin'])==null?_0x5299ba:_0x46eae9);}['getDefaultCellMarginOverride'](){const _0x473d7f=_0x5e04d6;var _0x2f401f;let _0x57531f=(_0x2f401f=this[_0x473d7f(0x209)]())==null?void 0x0:_0x2f401f[_0x473d7f(0x24b)];return _0x57531f?_0x3e2c48['deepClone'](_0x57531f):null;}[_0x5e04d6(0x20e)](){const _0x2ba7fd=_0x5e04d6;return this['_injector'][_0x2ba7fd(0x20a)](_0x3a7427)[_0x2ba7fd(0x246)](this[_0x2ba7fd(0x1d1)],this[_0x2ba7fd(0x22d)]);}['getSource'](){const _0x25bea6=_0x5e04d6;var _0x3327fa;return(_0x3327fa=this[_0x25bea6(0x20b)]()[_0x25bea6(0x25a)])==null?void 0x0:_0x3327fa[this[_0x25bea6(0x22d)]];}['getRange'](){const _0xe379f5=_0x5e04d6;return _0x1cb38a(this['_getDocumentData'](),this[_0xe379f5(0x22d)]);}[_0x5e04d6(0x249)](){const _0x225d97=_0x5e04d6;return{'startRow':0x0,'endRow':Math[_0x225d97(0x1c2)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x225d97(0x255)]()-0x1)};}['getCellRange'](_0x15346f,_0x161ee2){return{'startRow':_0x15346f,'endRow':_0x15346f,'startColumn':_0x161ee2,'endColumn':_0x161ee2};}[_0x5e04d6(0x217)](_0x774c89,_0x2d4e59){const _0x54d48d=_0x5e04d6;var _0x3fe2b8;let _0x33e36e=(_0x3fe2b8=_0x1cb38a(this[_0x54d48d(0x20b)](),this[_0x54d48d(0x22d)]))==null||(_0x3fe2b8=_0x3fe2b8[_0x54d48d(0x25f)][_0x774c89])==null?void 0x0:_0x3fe2b8[_0x54d48d(0x242)][_0x2d4e59];if(!_0x33e36e)return null;let _0x2e76d8=_0x33e36e[_0x54d48d(0x256)]+0x1;return{'startOffset':_0x2e76d8,'endOffset':Math[_0x54d48d(0x1c2)](_0x2e76d8,_0x33e36e[_0x54d48d(0x202)]-0x1),'segmentId':this['_segmentId']};}['getCellInsertOffset'](_0x29f077,_0x45e7f9){const _0x927574=_0x5e04d6;var _0x43c071,_0x2b1d9b;return(_0x43c071=(_0x2b1d9b=this[_0x927574(0x217)](_0x29f077,_0x45e7f9))==null?void 0x0:_0x2b1d9b[_0x927574(0x202)])==null?null:_0x43c071;}[_0x5e04d6(0x1c4)](_0x3d0bce){const _0x39183c=_0x5e04d6;return this[_0x39183c(0x22e)](_0x3d0bce,0x1);}[_0x5e04d6(0x22e)](_0xf03c18,_0x2e40f0=0x1){const _0x43e05b=_0x5e04d6;return{'startRow':_0xf03c18,'endRow':_0xf03c18+_0x2e40f0-0x1,'startColumn':0x0,'endColumn':Math[_0x43e05b(0x1c2)](0x0,this[_0x43e05b(0x255)]()-0x1)};}['getColumnRange'](_0x161e1b){const _0xdf505a=_0x5e04d6;return this[_0xdf505a(0x1f9)](_0x161e1b,0x1);}[_0x5e04d6(0x1f9)](_0x1d2c79,_0x62e3c1=0x1){const _0xa47433=_0x5e04d6;return{'startRow':0x0,'endRow':Math[_0xa47433(0x1c2)](0x0,this[_0xa47433(0x232)]()-0x1),'startColumn':_0x1d2c79,'endColumn':_0x1d2c79+_0x62e3c1-0x1};}[_0x5e04d6(0x1ed)](){const _0x2403b6=_0x5e04d6;return this['selectRange'](this[_0x2403b6(0x249)](),_0x55e820[_0x2403b6(0x1bf)]);}[_0x5e04d6(0x23e)](_0x27f1a1){const _0xc5b081=_0x5e04d6;return this[_0xc5b081(0x206)](_0x27f1a1,0x1);}[_0x5e04d6(0x206)](_0x144ac9,_0x9a8438=0x1){const _0x4e33ed=_0x5e04d6;return this[_0x4e33ed(0x211)](this[_0x4e33ed(0x22e)](_0x144ac9,_0x9a8438),_0x55e820[_0x4e33ed(0x227)]);}[_0x5e04d6(0x1fd)](_0x1dd926){const _0x414665=_0x5e04d6;return this[_0x414665(0x262)](_0x1dd926,0x1);}[_0x5e04d6(0x262)](_0x15662f,_0x24353b=0x1){const _0x11a176=_0x5e04d6;return this[_0x11a176(0x211)](this[_0x11a176(0x1f9)](_0x15662f,_0x24353b),_0x55e820[_0x11a176(0x1fc)]);}[_0x5e04d6(0x1d7)](_0x32f699,_0x3dd760){const _0x313007=_0x5e04d6;return this[_0x313007(0x211)](this[_0x313007(0x1f8)](_0x32f699,_0x3dd760),_0x55e820[_0x313007(0x1cb)]);}[_0x5e04d6(0x211)](_0x577b7c,_0x115853=_0x55e820[_0x5e04d6(0x1f4)]){const _0x7a4d5b=_0x5e04d6;return this['_injector'][_0x7a4d5b(0x20a)](_0x1980c9)[_0x7a4d5b(0x1cc)]({..._0x577b7c,'kind':_0x115853,'segmentId':this['_segmentId'],'tableId':this[_0x7a4d5b(0x22d)]}),!0x0;}['insertRowBefore'](_0x1968e6){const _0x5ef394=_0x5e04d6;return this[_0x5ef394(0x245)](_0x1968e6,0x1);}[_0x5e04d6(0x1de)](_0x3f162a){const _0x59fff5=_0x5e04d6;return this[_0x59fff5(0x237)](_0x3f162a,0x1);}[_0x5e04d6(0x245)](_0x47fcfd,_0x21d982){const _0x312350=_0x5e04d6;let _0x304134=this[_0x312350(0x20b)](),_0x3b353c=_0x97ec35(_0x304134,this['_tableId'],_0x47fcfd,_0x21d982,_0x45bb2e[_0x312350(0x25d)],this['_getBodyPath']());return _0x3b353c?this['_mutateActions'](_0x304134,_0x3b353c[_0x312350(0x1b9)]):!0x1;}[_0x5e04d6(0x237)](_0x1eddeb,_0x8cd4b1){const _0x2f79a2=_0x5e04d6;let _0x135303=this[_0x2f79a2(0x20b)](),_0x5c2055=_0x97ec35(_0x135303,this[_0x2f79a2(0x22d)],_0x1eddeb,_0x8cd4b1,_0x45bb2e[_0x2f79a2(0x220)],this[_0x2f79a2(0x254)]());return _0x5c2055?this[_0x2f79a2(0x213)](_0x135303,_0x5c2055['actions']):!0x1;}['appendRow'](){const _0x458d03=_0x5e04d6;return this['insertRowsAfter'](Math[_0x458d03(0x1c2)](0x0,this[_0x458d03(0x232)]()-0x1),0x1);}[_0x5e04d6(0x1dc)](_0x38fb5b){const _0x516221=_0x5e04d6;return this[_0x516221(0x252)](_0x38fb5b,0x1);}[_0x5e04d6(0x23f)](_0x450cb2){const _0x41d073=_0x5e04d6;return this[_0x41d073(0x1f3)](_0x450cb2,0x1);}[_0x5e04d6(0x252)](_0x297368,_0x46e4d3){const _0x3353b0=_0x5e04d6;let _0xf423b6=this['_getDocumentData'](),_0x5f8093=_0x25234d(_0xf423b6,this[_0x3353b0(0x22d)],_0x297368,_0x46e4d3,_0x45bb2e[_0x3353b0(0x1db)],{'bodyPath':this[_0x3353b0(0x254)]()});return _0x5f8093?this['_mutateActions'](_0xf423b6,_0x5f8093[_0x3353b0(0x1b9)]):!0x1;}[_0x5e04d6(0x1f3)](_0xac2e0d,_0xefd86a){const _0x55e688=_0x5e04d6;let _0x500f96=this['_getDocumentData'](),_0x3f449f=_0x25234d(_0x500f96,this['_tableId'],_0xac2e0d,_0xefd86a,_0x45bb2e['Right'],{'bodyPath':this[_0x55e688(0x254)]()});return _0x3f449f?this[_0x55e688(0x213)](_0x500f96,_0x3f449f['actions']):!0x1;}[_0x5e04d6(0x259)](){const _0x4988e6=_0x5e04d6;return this[_0x4988e6(0x1f3)](Math[_0x4988e6(0x1c2)](0x0,this[_0x4988e6(0x255)]()-0x1),0x1);}[_0x5e04d6(0x267)](_0x4abe21){const _0x4a2d68=_0x5e04d6;return this[_0x4a2d68(0x226)](_0x4abe21,0x1);}['deleteRows'](_0x14a7cf,_0x500487=0x1){const _0x24e3ee=_0x5e04d6;let _0x3f168b=this[_0x24e3ee(0x20b)](),_0x2a9359=_0x31f4d9(_0x3f168b,this[_0x24e3ee(0x22d)],_0x14a7cf,_0x14a7cf+_0x500487-0x1,this[_0x24e3ee(0x254)]());return _0x2a9359?this[_0x24e3ee(0x213)](_0x3f168b,_0x2a9359[_0x24e3ee(0x1b9)]):!0x1;}['deleteColumn'](_0x3643fb){return this['deleteColumns'](_0x3643fb,0x1);}[_0x5e04d6(0x229)](_0x628c3f,_0x24e6ea=0x1){const _0x21f46e=_0x5e04d6;let _0xe5bd17=this[_0x21f46e(0x20b)](),_0x17b8bf=_0x346322(_0xe5bd17,this['_tableId'],_0x628c3f,_0x628c3f+_0x24e6ea-0x1,this[_0x21f46e(0x254)]());return _0x17b8bf?this[_0x21f46e(0x213)](_0xe5bd17,_0x17b8bf[_0x21f46e(0x1b9)]):!0x1;}[_0x5e04d6(0x1dd)](){const _0x2a496a=_0x5e04d6;let _0x3b8292=this['_getDocumentData'](),_0x4c4f65=_0x18f67d(_0x3b8292,this[_0x2a496a(0x22d)],this[_0x2a496a(0x254)]());return _0x4c4f65?this[_0x2a496a(0x213)](_0x3b8292,_0x4c4f65[_0x2a496a(0x1b9)]):!0x1;}[_0x5e04d6(0x1fe)](_0x2fba9e,_0x12de32){const _0x15c8da=_0x5e04d6;let _0x3f0ec6=this[_0x15c8da(0x20b)]();return this[_0x15c8da(0x213)](_0x3f0ec6,_0x54b1f5(_0x3f0ec6,this[_0x15c8da(0x22d)],_0x2fba9e,_0x12de32));}['moveTableToOffset'](_0x1a2ad2){const _0x294c5d=_0x5e04d6;let _0x527677=this[_0x294c5d(0x20b)]();return this['_mutateActions'](_0x527677,_0x47c59a(_0x527677,this['_tableId'],_0x1a2ad2,this[_0x294c5d(0x254)]()));}['moveRow'](_0x3dd84a,_0x585585,_0x2274ad=_0x45bb2e['Above']){const _0x4ec649=_0x5e04d6;return this[_0x4ec649(0x214)](_0x3dd84a,0x1,_0x585585,_0x2274ad);}[_0x5e04d6(0x214)](_0x15f428,_0x1b00be,_0xb6331e,_0x508ea9=_0x45bb2e[_0x5e04d6(0x25d)]){const _0x52b7cc=_0x5e04d6;let _0x3da628=this[_0x52b7cc(0x20b)](),_0x3b36c4=_0x551817(_0x3da628,this[_0x52b7cc(0x22d)],_0x15f428,_0xb6331e,_0x1b00be,_0x508ea9,this[_0x52b7cc(0x254)]());return _0x3b36c4?this['_mutateActions'](_0x3da628,_0x3b36c4[_0x52b7cc(0x1b9)]):!0x1;}[_0x5e04d6(0x1ef)](_0x116e4e,_0x1429f0,_0x2914b0=_0x45bb2e[_0x5e04d6(0x1db)]){return this['moveColumns'](_0x116e4e,0x1,_0x1429f0,_0x2914b0);}[_0x5e04d6(0x247)](_0x210c2a,_0x50eadf,_0x5938b7,_0x1699c8=_0x45bb2e[_0x5e04d6(0x1db)]){const _0x16d0be=_0x5e04d6;let _0x357c33=this['_getDocumentData'](),_0x2c6e56=_0x4c9432(_0x357c33,this[_0x16d0be(0x22d)],_0x210c2a,_0x5938b7,_0x50eadf,_0x1699c8,this[_0x16d0be(0x254)]());return _0x2c6e56?this[_0x16d0be(0x213)](_0x357c33,_0x2c6e56[_0x16d0be(0x1b9)]):!0x1;}[_0x5e04d6(0x1eb)](_0x47d779){const _0x56e09a=_0x5e04d6;try{let _0x573c3a=this[_0x56e09a(0x20b)](),_0x1f3484=_0x186ba1({'documentData':_0x573c3a,'tableId':this[_0x56e09a(0x22d)],..._0x47d779});return _0x1f3484?this[_0x56e09a(0x213)](_0x573c3a,_0x1f3484[_0x56e09a(0x1b9)],_0x47d779):!0x1;}catch{return!0x1;}}[_0x5e04d6(0x1e6)](_0x544284){const _0x3f8b12=_0x5e04d6;try{let _0x355756=this[_0x3f8b12(0x20b)](),_0x575f6d=_0x38a307({'documentData':_0x355756,'tableId':this[_0x3f8b12(0x22d)],..._0x544284});return _0x575f6d?this[_0x3f8b12(0x213)](_0x355756,_0x575f6d[_0x3f8b12(0x1b9)],_0x544284):!0x1;}catch{return!0x1;}}['setCellText'](_0x2ae94a,_0x20daec,_0x49cf41){const _0x2b6823=_0x5e04d6;let _0x3606be=this[_0x2b6823(0x20b)](),_0x559a04=_0x2c6acd(this['_document'][_0x2b6823(0x253)]()[_0x2b6823(0x224)](),this[_0x2b6823(0x1f5)]);return this[_0x2b6823(0x213)](_0x3606be,_0x4fc152({'documentData':_0x3606be,'tableId':this[_0x2b6823(0x22d)],'row':_0x2ae94a,'column':_0x20daec,'text':_0x49cf41},_0x559a04),this['getCellRange'](_0x2ae94a,_0x20daec));}[_0x5e04d6(0x1e2)](_0x351909,_0x5d5ee5){const _0x29529f=_0x5e04d6;let _0x1692a7=this[_0x29529f(0x20b)]();return this[_0x29529f(0x213)](_0x1692a7,_0x2238c7(_0x1692a7,{'tableId':this[_0x29529f(0x22d)],..._0x351909,'value':_0x5d5ee5}),_0x351909);}[_0x5e04d6(0x23a)](_0x6ee174,_0x1cfc0e){const _0x334dfd=_0x5e04d6;let _0x6d2e85=this['_getDocumentData']();return this[_0x334dfd(0x213)](_0x6d2e85,_0x3cb4a5({'documentData':_0x6d2e85,'tableId':this[_0x334dfd(0x22d)],..._0x6ee174,'margin':_0x1cfc0e}),_0x6ee174);}[_0x5e04d6(0x218)](_0x39f57c){const _0x43c38c=_0x5e04d6;let _0x3e39cd=this[_0x43c38c(0x20b)]();return this['_mutateActions'](_0x3e39cd,_0x305e09(_0x3e39cd,this[_0x43c38c(0x22d)],_0x39f57c));}[_0x5e04d6(0x203)](_0x8a0566,_0x1b5ab6){const _0x336ddf=_0x5e04d6;var _0xa6b454,_0x16c018,_0x1bbd8f,_0x73a192;let _0x39bf7b=this['_getDocumentData']();return this[_0x336ddf(0x213)](_0x39bf7b,_0x2ce9f9({'documentData':_0x39bf7b,'tableId':this[_0x336ddf(0x22d)],..._0x8a0566,'preset':(_0xa6b454=_0x1b5ab6['preset'])==null?_0x239d8d[_0x336ddf(0x1e5)]:_0xa6b454,'border':(_0x16c018=_0x1b5ab6['border'])==null?{'color':{'rgb':(_0x1bbd8f=_0x1b5ab6[_0x336ddf(0x1ba)])==null?_0x336ddf(0x1d2):_0x1bbd8f},'width':{'v':(_0x73a192=_0x1b5ab6['width'])==null?0x1:_0x73a192},'dashStyle':_0x5f24d1[_0x336ddf(0x22a)]}:_0x16c018}),_0x8a0566);}[_0x5e04d6(0x238)](_0x551382){const _0x360343=_0x5e04d6;return this[_0x360343(0x1e2)](this[_0x360343(0x249)](),_0x551382);}[_0x5e04d6(0x231)](_0x4f1e7b){const _0x31d2b7=_0x5e04d6;return this['setBorder'](this[_0x31d2b7(0x249)](),_0x4f1e7b);}[_0x5e04d6(0x1be)](_0x33b04e){const _0x23b9f4=_0x5e04d6;let _0x18b80f=_0x33b04e[_0x23b9f4(0x21a)]?this[_0x23b9f4(0x238)](_0x33b04e[_0x23b9f4(0x21a)]):!0x0,_0x331554=_0x33b04e[_0x23b9f4(0x22b)]?this[_0x23b9f4(0x231)](_0x33b04e['border']):!0x0;return _0x18b80f&&_0x331554;}[_0x5e04d6(0x1ff)](_0x19a519,_0x358fd4,_0x4fa675=_0x666109[_0x5e04d6(0x223)]){const _0x4d43e4=_0x5e04d6;var _0xc7e26;let _0x2d8862=this[_0x4d43e4(0x20b)]();return!((_0xc7e26=_0x2d8862[_0x4d43e4(0x25a)])==null||(_0xc7e26=_0xc7e26[this[_0x4d43e4(0x22d)]])==null)&&_0xc7e26[_0x4d43e4(0x1f7)][_0x19a519]?this[_0x4d43e4(0x213)](_0x2d8862,_0x17213e(_0x2d8862,this[_0x4d43e4(0x22d)],_0x19a519,_0x358fd4,_0x4fa675)):!0x1;}[_0x5e04d6(0x250)](_0x569297){const _0x21b832=_0x5e04d6;var _0x203822;let _0x23f5ce=(_0x203822=this['getSource']())==null||(_0x203822=_0x203822[_0x21b832(0x1f7)][_0x569297])==null?void 0x0:_0x203822[_0x21b832(0x1d5)];return _0x23f5ce?_0x3e2c48['deepClone'](_0x23f5ce):null;}[_0x5e04d6(0x266)](_0x1e2e72,_0x42021f){const _0x10cb7d=_0x5e04d6;var _0x5c011f;let _0x4c828f=this[_0x10cb7d(0x20b)]();return!((_0x5c011f=_0x4c828f[_0x10cb7d(0x25a)])==null||(_0x5c011f=_0x5c011f[this['_tableId']])==null)&&_0x5c011f[_0x10cb7d(0x20f)][_0x1e2e72]?this[_0x10cb7d(0x213)](_0x4c828f,_0x2b9a59(_0x4c828f,this[_0x10cb7d(0x22d)],_0x1e2e72,_0x42021f)):!0x1;}[_0x5e04d6(0x251)](_0x2b9e38=0x0,_0x207d35=this['getRowCount']()){const _0x1f1673=_0x5e04d6;let _0x1c823c=this[_0x1f1673(0x20b)]();return this[_0x1f1673(0x213)](_0x1c823c,_0x14b9a2(_0x1c823c,this['_tableId'],_0x2b9e38,_0x2b9e38+_0x207d35-0x1));}[_0x5e04d6(0x1d8)](_0x2a0b12=0x0,_0x430684=this[_0x5e04d6(0x255)]()){const _0x5c3afd=_0x5e04d6;let _0x43f2db=this[_0x5c3afd(0x20b)]();return this[_0x5c3afd(0x213)](_0x43f2db,_0x58abd4(_0x43f2db,this[_0x5c3afd(0x22d)],_0x2a0b12,_0x2a0b12+_0x430684-0x1));}[_0x5e04d6(0x22f)](){const _0x1c946e=_0x5e04d6;var _0x5d2ffc,_0xcdc0ed;return(_0x5d2ffc=(_0xcdc0ed=this[_0x1c946e(0x20e)]())==null?void 0x0:_0xcdc0ed['headerRowCount'])==null?0x0:_0x5d2ffc;}['setHeaderRowCount'](_0x374f1f){const _0xcf6d33=_0x5e04d6;let _0x4e7e17=this[_0xcf6d33(0x215)]['get'](_0x3a7427),_0x2a5d47=this['_getDocumentData'](),_0x408e69=_0x394e30(_0x2a5d47,this['_tableId'],_0x374f1f);if(!_0x408e69)return!0x1;let _0x3374e9=this[_0xcf6d33(0x213)](_0x2a5d47,_0x408e69[_0xcf6d33(0x1b9)]);return _0x3374e9&&_0x4e7e17['setHeaderRowCount'](this[_0xcf6d33(0x1d1)],this[_0xcf6d33(0x22d)],_0x408e69[_0xcf6d33(0x204)]),_0x3374e9;}[_0x5e04d6(0x228)](_0x5087cc){const _0x4500fa=_0x5e04d6;return this[_0x4500fa(0x1e7)](_0x5087cc);}[_0x5e04d6(0x1ec)](){const _0x52942=_0x5e04d6;var _0x11a0b2,_0x3c0f2e;return(_0x11a0b2=(_0x3c0f2e=this['getMetadata']())==null?void 0x0:_0x3c0f2e[_0x52942(0x1cf)])==null?!0x1:_0x11a0b2;}[_0x5e04d6(0x21f)](){const _0xf6ea3d=_0x5e04d6;let _0x2b21f1=this[_0xf6ea3d(0x215)][_0xf6ea3d(0x20a)](_0x3a7427),_0x16d3a9=this['_getDocumentData'](),_0x154367=_0x1977e4(_0x16d3a9,this['_tableId'],this[_0xf6ea3d(0x254)]());if(!_0x154367)return!0x1;let _0x24da03=this['_mutateActions'](_0x16d3a9,_0x154367[_0xf6ea3d(0x1b9)]);return _0x24da03&&_0x2b21f1[_0xf6ea3d(0x24e)](this[_0xf6ea3d(0x1d1)],this[_0xf6ea3d(0x22d)],!0x0),_0x24da03;}[_0x5e04d6(0x24c)](_0x20df03,_0x10140f){const _0x1728f5=_0x5e04d6;return this[_0x1728f5(0x215)][_0x1728f5(0x20a)](_0x3a7427)[_0x1728f5(0x24c)](this['_unitId'],this[_0x1728f5(0x22d)],_0x20df03,_0x10140f),!0x0;}[_0x5e04d6(0x1da)](_0x5b60ad,_0x290647){const _0x39ef58=_0x5e04d6;let _0x24d197=this[_0x39ef58(0x20b)]();return this[_0x39ef58(0x213)](_0x24d197,_0x303e68(_0x24d197,this[_0x39ef58(0x234)](),this[_0x39ef58(0x22d)],_0x5b60ad,_0x290647,this[_0x39ef58(0x254)]()));}[_0x5e04d6(0x20b)](){const _0x406137=_0x5e04d6;let _0x296166=this['_document'][_0x406137(0x253)]()[_0x406137(0x224)]();return this[_0x406137(0x1f5)]?{...this[_0x406137(0x1cd)][_0x406137(0x253)](this[_0x406137(0x1f5)])[_0x406137(0x224)](),'documentStyle':_0x296166[_0x406137(0x208)],'tableSource':_0x296166['tableSource']}:_0x296166;}[_0x5e04d6(0x234)](){const _0x218cfc=_0x5e04d6;return this[_0x218cfc(0x215)][_0x218cfc(0x20a)](_0x3a7427)[_0x218cfc(0x205)](this[_0x218cfc(0x1d1)]);}[_0x5e04d6(0x254)](){const _0x32c0b7=_0x5e04d6;return _0x2c6acd(this[_0x32c0b7(0x1cd)][_0x32c0b7(0x253)]()[_0x32c0b7(0x224)](),this[_0x32c0b7(0x1f5)]);}[_0x5e04d6(0x213)](_0x78f2a2,_0x14017f,_0x227c5f){const _0x596574=_0x5e04d6;return _0x52655a(this[_0x596574(0x215)][_0x596574(0x20a)](_0x3449e4),this[_0x596574(0x1d1)],_0x78f2a2,_0x14017f,_0x227c5f?{'tableId':this[_0x596574(0x22d)],'segmentId':this[_0x596574(0x1f5)],..._0x227c5f}:void 0x0);}},Q=class extends _0x4bba2d{[_0x5e04d6(0x21c)](_0x5ed4ec=''){const _0x1e3666=_0x5e04d6;return this['_getTables'](_0x5ed4ec)[_0x1e3666(0x1b8)](_0x46a30c=>this['_createFDocumentTable'](_0x46a30c[_0x1e3666(0x22c)],_0x5ed4ec));}[_0x5e04d6(0x1bd)](_0x51e24a,_0x5eddfb=''){const _0x34f9a3=_0x5e04d6;return this[_0x34f9a3(0x1c8)](_0x5eddfb)[_0x34f9a3(0x257)](_0x34e609=>_0x34e609[_0x34f9a3(0x22c)]===_0x51e24a)?this[_0x34f9a3(0x240)](_0x51e24a,_0x5eddfb):null;}[_0x5e04d6(0x1c0)](_0x35f366,_0x46320a=''){const _0x53ef2c=_0x5e04d6;var _0x419565;let _0x4aa667=(_0x419565=this['_getTables'](_0x46320a)[_0x35f366])==null?void 0x0:_0x419565[_0x53ef2c(0x22c)];return _0x4aa667?this[_0x53ef2c(0x240)](_0x4aa667,_0x46320a):null;}[_0x5e04d6(0x258)](){const _0x30e95f=_0x5e04d6;let _0x197667=this[_0x30e95f(0x215)][_0x30e95f(0x20a)](_0x1980c9)[_0x30e95f(0x23d)]();return _0x197667!=null&&_0x197667['tableId']?this[_0x30e95f(0x240)](_0x197667[_0x30e95f(0x22c)],_0x197667[_0x30e95f(0x1bc)]):null;}[_0x5e04d6(0x20d)](_0x2c6650,_0x45c9a5=''){const _0x218f01=_0x5e04d6;var _0x12426d;return(_0x12426d=this[_0x218f01(0x1f2)](_0x2c6650,_0x45c9a5)[0x0])==null?null:_0x12426d;}[_0x5e04d6(0x1f2)](_0x4c4ab0,_0x362701=''){const _0x5eda8e=_0x5e04d6;let _0x55131f=this[_0x5eda8e(0x1d0)](_0x362701),_0x2bfacf=typeof _0x4c4ab0==_0x5eda8e(0x233)?{'text':_0x4c4ab0}:_0x4c4ab0;return this[_0x5eda8e(0x21c)](_0x362701)['filter'](_0x502cec=>{const _0x1750dd=_0x5eda8e;let _0x24b9fc=_0x502cec[_0x1750dd(0x225)]();return!(_0x2bfacf['tableId']&&_0x24b9fc!==_0x2bfacf[_0x1750dd(0x22c)]||_0x2bfacf[_0x1750dd(0x207)]&&!this['_tableContainsText'](_0x55131f,_0x24b9fc,_0x2bfacf[_0x1750dd(0x207)])||_0x2bfacf['headerText']&&!this['_rowContainsText'](_0x502cec,0x0,_0x2bfacf[_0x1750dd(0x1d4)])||_0x2bfacf['titleText']&&!this[_0x1750dd(0x20c)](_0x502cec,0x0,_0x2bfacf[_0x1750dd(0x1ea)]));});}['insertTable'](_0x50e36a,_0x2be531,_0x271657={}){const _0x5991d1=_0x5e04d6;var _0x195428,_0x3ae74a;let _0x32d032=this[_0x5991d1(0x215)][_0x5991d1(0x20a)](_0x3449e4),_0x5110dc=(_0x195428=_0x271657[_0x5991d1(0x22c)])==null?_0x51e71c(0x6):_0x195428;return _0x32d032[_0x5991d1(0x21e)](_0x6cb5b8['id'],{..._0x271657,'unitId':this[_0x5991d1(0x225)](),'rows':_0x50e36a,'columns':_0x2be531,'tableId':_0x5110dc})?this[_0x5991d1(0x240)](_0x5110dc,(_0x3ae74a=_0x271657[_0x5991d1(0x1bc)])==null?'':_0x3ae74a):null;}[_0x5e04d6(0x221)](_0x19bf7a,_0x4fa450={}){const _0x17ee6e=_0x5e04d6;var _0x25cbcc,_0x21f74e;let _0x3f44eb=this[_0x17ee6e(0x215)][_0x17ee6e(0x20a)](_0x3449e4),_0x10de57=(_0x25cbcc=_0x4fa450['tableId'])==null?_0x51e71c(0x6):_0x25cbcc;return _0x3f44eb[_0x17ee6e(0x21e)](_0x6cb5b8['id'],{..._0x4fa450,'unitId':this[_0x17ee6e(0x225)](),'values':_0x19bf7a,'tableId':_0x10de57})?this[_0x17ee6e(0x240)](_0x10de57,(_0x21f74e=_0x4fa450[_0x17ee6e(0x1bc)])==null?'':_0x21f74e):null;}[_0x5e04d6(0x1c8)](_0x5e79e9=''){const _0x40fc4b=_0x5e04d6;let {tables:_0x41d0dd=[]}=this[_0x40fc4b(0x239)](_0x5e79e9);return _0x41d0dd;}[_0x5e04d6(0x1d0)](_0x2d7617=''){const _0x537530=_0x5e04d6;let _0x43c5f2=this[_0x537530(0x253)]()[_0x537530(0x224)]();return _0x2d7617?{...this[_0x537530(0x253)](_0x2d7617)[_0x537530(0x224)](),'documentStyle':_0x43c5f2[_0x537530(0x208)],'tableSource':_0x43c5f2[_0x537530(0x25a)]}:_0x43c5f2;}[_0x5e04d6(0x240)](_0x16ae7d,_0x1bbf0b=''){const _0x5c2a60=_0x5e04d6;return this[_0x5c2a60(0x215)]['createInstance'](Z,this,_0x16ae7d,_0x1bbf0b,this[_0x5c2a60(0x215)]);}[_0x5e04d6(0x1e8)](_0x2b677e,_0x5831b1,_0x2e1f28){const _0xec72ef=_0x5e04d6;var _0x109030;let _0x4077bc=_0x1cb38a(_0x2b677e,_0x5831b1);if(!_0x4077bc)return!0x1;let _0x5172c5=(_0x109030=_0x2b677e['body'])==null?void 0x0:_0x109030['dataStream'];return _0x5172c5?_0x5172c5[_0xec72ef(0x1ca)](_0x4077bc[_0xec72ef(0x256)],_0x4077bc[_0xec72ef(0x202)])['includes'](_0x2e1f28):!0x1;}['_rowContainsText'](_0x3e8070,_0x543bc9,_0x3bba89){const _0x170e83=_0x5e04d6;return Array['from']({'length':_0x3e8070[_0x170e83(0x255)]()},(_0x137742,_0x6f5de4)=>_0x3e8070[_0x170e83(0x25c)](_0x543bc9,_0x6f5de4))[_0x170e83(0x257)](_0xe07240=>_0xe07240[_0x170e83(0x1e3)](_0x3bba89));}};_0x4bba2d['extend'](Q);export{Z as FDocumentTable,K as FDocumentTableCell};
|
|
1
|
+
const _0x3f31bc=_0x2683;function _0x2683(_0x137c22,_0x1f6a0a){_0x137c22=_0x137c22-0x124;const _0x23790d=_0x2379();let _0x2683c6=_0x23790d[_0x137c22];return _0x2683c6;}(function(_0x2cfb1a,_0x4b87fe){const _0x56f94a=_0x2683,_0x160b32=_0x2cfb1a();while(!![]){try{const _0x502983=-parseInt(_0x56f94a(0x166))/0x1*(parseInt(_0x56f94a(0x1b6))/0x2)+parseInt(_0x56f94a(0x1d0))/0x3*(-parseInt(_0x56f94a(0x179))/0x4)+-parseInt(_0x56f94a(0x184))/0x5*(-parseInt(_0x56f94a(0x161))/0x6)+parseInt(_0x56f94a(0x1a0))/0x7*(parseInt(_0x56f94a(0x196))/0x8)+parseInt(_0x56f94a(0x141))/0x9*(-parseInt(_0x56f94a(0x1cd))/0xa)+parseInt(_0x56f94a(0x194))/0xb+parseInt(_0x56f94a(0x16b))/0xc;if(_0x502983===_0x4b87fe)break;else _0x160b32['push'](_0x160b32['shift']());}catch(_0x2a6ea6){_0x160b32['push'](_0x160b32['shift']());}}}(_0x2379,0x2f7a2));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x2306cd,DocsTableBorderPreset as _0x287f75,DocsTableColumnInsertPosition as _0x2e1c73,DocsTableColumnType as _0x233f4a,DocsTableInsertPosition as _0x2f8453,DocsTableInsertTableCommand as _0x445ccc,DocsTableInsertTablePosition as _0x2054fd,DocsTableModel as _0x406e37,DocsTableRowInsertPosition as _0x5c8c39,DocsTableSelectionKind as _0xf480d2,DocsTableSelectionService as _0x447a3e,DocsTableSortDirection as _0x433ac9,buildDeleteTableColumnsMutationActions as _0x50fa06,buildDeleteTableMutationActions as _0x194cdc,buildDeleteTableRowsMutationActions as _0x14b38b,buildDistributeTableColumnsMutationActions as _0xb50dc3,buildDistributeTableRowsMutationActions as _0x518b54,buildInsertTableColumnsMutationActions as _0xfa72da,buildInsertTableRowsMutationActions as _0xb22ead,buildInsertTableTitleRowMutationActions as _0x51f313,buildMergeCellsMutationActions as _0x84ec24,buildMoveFloatingTableMutationActions as _0x2a4c83,buildMoveTableColumnsMutationActions as _0x1d4028,buildMoveTableRowsMutationActions as _0x3248d5,buildMoveTableToOffsetMutationActions as _0x3793d5,buildResizeTableColumnActionsFromWidth as _0x1382b4,buildResizeTableRowActionsFromHeight as _0x168e38,buildSetTableBackgroundMutationActions as _0x18e4a9,buildSetTableBorderMutationActions as _0x116e32,buildSetTableCellMarginMutationActions as _0x4b0ae5,buildSetTableCellTextMutationActions as _0x4fee67,buildSetTableDefaultCellMarginMutationActions as _0x28a9cb,buildSetTableHeaderRowCountMutationActions as _0x2a0587,buildSortTableMutationActions as _0x32d715,buildUnmergeCellsMutationActions as _0x5c83f9,executeRichTextTableActions as _0x3a1e37,getTableActionBodyPath as _0x3e8b5d,getTableRangeById as _0x80ff26}from'@univerjs-pro/docs-table';import{DashStyleType as _0x111eac,ICommandService as _0x3bc718,TableRowHeightRule as _0x3efeba,Tools as _0x3ab0db,generateRandomId as _0x4ff5d3}from'@univerjs/core';function _0x2379(){const _0x16ea65=['DocsTableInsertTablePosition','SOLID','insertRowsBefore','from','_table','tableColumns','headerText','body','getTableAt','width','constructor','rows','_rowContainsText','setMargin','findTables','insertRowAfter','getId','moveRow','deepClone','createInstance','1311654riCNnJ','setBorder','appendRow','deleteRow','deleteTable','19bFtyaY','distributeColumns','get','moveTableToOffset','dataStream','2608296AnFZwL','hasTitleRow','All','actions','default','replace','getTables','moveRows','DocsTableColumnType','getColumnIndex','tableId','setCellBackground','Left','object','1483336dzadxZ','DocsTableSelectionKind','headerRowCount','setCellMargin','function','segmentId','DocsTableRowInsertPosition','setColumnType','insertTitleRow','getSegmentId','string','5RRYCku','insertColumnAfter','insertTable','getContentRange','getCell','backgroundColor','getSnapshot','_tableContainsText','getInsertOffset','getMetadata','selectColumns','getCellRange','insertColumnBefore','Below','length','unmergeCells','3014517wjnaYa','insertRowsAfter','56432iQkTAm','insertTableFromData','pinHeaderRows','cells','setHeaderRowCount','_mutateActions','includes','Row','extend','setTableStyle','49jXXTxi','tableCells','prototype','deleteColumn','getSource','titleText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_getTables','setTableBackground','setDefaultCellMargin','getColumnRange','getCellMarginOverride','Cell','moveColumns','setText','DashStyleType','getRowRange','toPrimitive','selectTable','getTable','filter','getCellContentRange','20310TFchyz','Above','getRowsRange','getMargin','getDocumentDataModel','_row','getColumnCount','_unitId','deleteRows','color','setStructuralSelection','selectRow','selectRows','moveColumn','slice','selectRange','text','size','startOffset','getCellText','getDefaultCellMargin','_getTableDocumentData','getRowCount','10mWiTox','insertColumnsAfter','getColumnsRange','3uTwXyE','max','setColumnWidth','Range','tableSource','unmerge','endOffset','cellMargin','appendColumn','_segmentId','Table','insertColumnsBefore','DocsTableColumnInsertPosition','call','setCellText','_getBodyPath','_tableId','type','map','_createFDocumentTable','syncExecuteCommand','titleRow','getTableRange','trHeight','selectColumn','deleteColumns','selectCell','_injector','moveTableBy','serialize','DocsTableBorderPreset','border','#1f1f1f','getBody','10323vYUsUA','_column','_getDocumentData','describe','mergeCells','symbol','some','_document','setTitleRow','tableRows','margin','documentStyle'];_0x2379=function(){return _0x16ea65;};return _0x2379();}import{FEnum as _0x3d9607}from'@univerjs/core/facade';import{FDocument as _0x58852c}from'@univerjs/docs/facade';var G=class extends _0x3d9607{get[_0x3f31bc(0x14d)](){return _0x2054fd;}get[_0x3f31bc(0x173)](){return _0x233f4a;}get[_0x3f31bc(0x17a)](){return _0xf480d2;}get[_0x3f31bc(0x17f)](){return _0x5c8c39;}get[_0x3f31bc(0x12b)](){return _0x2e1c73;}get[_0x3f31bc(0x13d)](){return _0x287f75;}get['DocsTableSortDirection'](){return _0x433ac9;}get[_0x3f31bc(0x1af)](){return _0x111eac;}};_0x3d9607[_0x3f31bc(0x19e)](G);var K=class{constructor(_0x2af5f5,_0x3920f2,_0x11f3a8){const _0x1023e7=_0x3f31bc;this[_0x1023e7(0x151)]=_0x2af5f5,this[_0x1023e7(0x1bb)]=_0x3920f2,this[_0x1023e7(0x142)]=_0x11f3a8;}[_0x3f31bc(0x1b3)](){return this['_table'];}['getRowIndex'](){return this['_row'];}[_0x3f31bc(0x174)](){return this['_column'];}['getText'](){const _0x2673ce=_0x3f31bc;return this[_0x2673ce(0x151)][_0x2673ce(0x1c9)](this[_0x2673ce(0x1bb)],this[_0x2673ce(0x142)]);}[_0x3f31bc(0x187)](){const _0x573a71=_0x3f31bc;return this[_0x573a71(0x151)][_0x573a71(0x1b5)](this[_0x573a71(0x1bb)],this[_0x573a71(0x142)]);}[_0x3f31bc(0x18c)](){const _0x49046b=_0x3f31bc;return this[_0x49046b(0x151)]['getCellInsertOffset'](this[_0x49046b(0x1bb)],this[_0x49046b(0x142)]);}[_0x3f31bc(0x1b9)](){const _0x16367f=_0x3f31bc;return this[_0x16367f(0x151)]['getCellMargin'](this[_0x16367f(0x1bb)],this[_0x16367f(0x142)]);}['getMarginOverride'](){const _0x12690f=_0x3f31bc;return this[_0x12690f(0x151)]['getCellMarginOverride'](this[_0x12690f(0x1bb)],this['_column']);}[_0x3f31bc(0x15a)](_0x16034f){const _0x5ad67a=_0x3f31bc;return this[_0x5ad67a(0x151)][_0x5ad67a(0x17c)](this[_0x5ad67a(0x151)][_0x5ad67a(0x18f)](this['_row'],this[_0x5ad67a(0x142)]),_0x16034f);}['clearMarginOverride'](){const _0x4a2ebd=_0x3f31bc;return this[_0x4a2ebd(0x151)][_0x4a2ebd(0x17c)](this[_0x4a2ebd(0x151)][_0x4a2ebd(0x18f)](this[_0x4a2ebd(0x1bb)],this['_column']),null);}[_0x3f31bc(0x1ae)](_0x5af9d2){const _0x2ab013=_0x3f31bc;return this[_0x2ab013(0x151)][_0x2ab013(0x12d)](this['_row'],this[_0x2ab013(0x142)],_0x5af9d2);}['setBackgroundColor'](_0x14b389){const _0x2865c6=_0x3f31bc;return this['_table'][_0x2865c6(0x176)](this[_0x2865c6(0x151)][_0x2865c6(0x18f)](this['_row'],this[_0x2865c6(0x142)]),_0x14b389);}[_0x3f31bc(0x162)](_0x5e1b1d){const _0x52c177=_0x3f31bc;return this[_0x52c177(0x151)][_0x52c177(0x162)](this['_table']['getCellRange'](this[_0x52c177(0x1bb)],this['_column']),_0x5e1b1d);}['mergeTo'](_0x3fdf4e,_0x1d0913){const _0x23a275=_0x3f31bc;return this[_0x23a275(0x151)]['mergeCells']({'startRow':this[_0x23a275(0x1bb)],'startColumn':this['_column'],'endRow':this[_0x23a275(0x1bb)]+_0x3fdf4e-0x1,'endColumn':this[_0x23a275(0x142)]+_0x1d0913-0x1});}[_0x3f31bc(0x124)](){const _0x4fa8a0=_0x3f31bc;return this['_table'][_0x4fa8a0(0x193)](this[_0x4fa8a0(0x151)]['getCellRange'](this[_0x4fa8a0(0x1bb)],this[_0x4fa8a0(0x142)]));}};function q(_0x51f9da){'@babel/helpers - typeof';const _0x5e1c48=_0x3f31bc;return q=typeof Symbol==_0x5e1c48(0x17d)&&typeof Symbol['iterator']==_0x5e1c48(0x146)?function(_0x459d3e){return typeof _0x459d3e;}:function(_0x27505b){const _0x254da3=_0x5e1c48;return _0x27505b&&typeof Symbol==_0x254da3(0x17d)&&_0x27505b[_0x254da3(0x157)]===Symbol&&_0x27505b!==Symbol[_0x254da3(0x1a2)]?'symbol':typeof _0x27505b;},q(_0x51f9da);}function J(_0x3ca163,_0x518228){const _0x425497=_0x3f31bc;if(q(_0x3ca163)!=_0x425497(0x178)||!_0x3ca163)return _0x3ca163;var _0x2c1f9d=_0x3ca163[Symbol[_0x425497(0x1b1)]];if(_0x2c1f9d!==void 0x0){var _0x2d74a2=_0x2c1f9d[_0x425497(0x12c)](_0x3ca163,_0x518228||_0x425497(0x16f));if(q(_0x2d74a2)!=_0x425497(0x178))return _0x2d74a2;throw TypeError(_0x425497(0x1a6));}return(_0x518228===_0x425497(0x183)?String:Number)(_0x3ca163);}function Y(_0x4d3508){const _0x2340c8=_0x3f31bc;var _0x34a9b2=J(_0x4d3508,_0x2340c8(0x183));return q(_0x34a9b2)==_0x2340c8(0x146)?_0x34a9b2:_0x34a9b2+'';}function X(_0x1021d3,_0x590dee,_0x12c7ba){return(_0x590dee=Y(_0x590dee))in _0x1021d3?Object['defineProperty'](_0x1021d3,_0x590dee,{'value':_0x12c7ba,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1021d3[_0x590dee]=_0x12c7ba,_0x1021d3;}var Z=class{constructor(_0x5cf3f0,_0x30642c,_0x5d23e5='',_0x293825){const _0x988dff=_0x3f31bc;this['_document']=_0x5cf3f0,this['_tableId']=_0x30642c,this[_0x988dff(0x128)]=_0x5d23e5,this[_0x988dff(0x13a)]=_0x293825,X(this,'_unitId',void 0x0),this[_0x988dff(0x1bd)]=this[_0x988dff(0x148)][_0x988dff(0x15d)]();}[_0x3f31bc(0x15d)](){const _0x4832a7=_0x3f31bc;return this[_0x4832a7(0x12f)];}[_0x3f31bc(0x182)](){const _0xc5f704=_0x3f31bc;return this[_0xc5f704(0x128)];}['getInfo'](){const _0x25a89f=_0x3f31bc;return{'id':this[_0x25a89f(0x12f)],'rowCount':this[_0x25a89f(0x1cc)](),'columnCount':this[_0x25a89f(0x1bc)](),'metadata':this[_0x25a89f(0x18d)](),'source':this[_0x25a89f(0x1a4)]()};}[_0x3f31bc(0x144)](){const _0x4a03d2=_0x3f31bc;var _0x1ea160,_0x4952ee;let _0x3eccb1=this['getMetadata'](),_0x23b249=this[_0x4a03d2(0x1a4)](),_0x4e7871=this[_0x4a03d2(0x1bc)]();return{'id':this['_tableId'],'rowCount':this[_0x4a03d2(0x1cc)](),'columnCount':_0x4e7871,'headerRowCount':(_0x1ea160=_0x3eccb1==null?void 0x0:_0x3eccb1['headerRowCount'])==null?0x0:_0x1ea160,'titleRow':(_0x4952ee=_0x3eccb1==null?void 0x0:_0x3eccb1[_0x4a03d2(0x134)])==null?!0x1:_0x4952ee,'columns':Array[_0x4a03d2(0x150)]({'length':_0x4e7871},(_0x27a931,_0x54cbbf)=>{const _0x2881a4=_0x4a03d2;var _0x9dcb7b,_0x49f046;return{'index':_0x54cbbf,'type':_0x3eccb1==null||(_0x9dcb7b=_0x3eccb1['columnTypes'])==null||(_0x9dcb7b=_0x9dcb7b[_0x54cbbf])==null?void 0x0:_0x9dcb7b[_0x2881a4(0x130)],'width':_0x23b249==null||(_0x49f046=_0x23b249[_0x2881a4(0x152)][_0x54cbbf])==null?void 0x0:_0x49f046[_0x2881a4(0x1c7)]['width']['v']};}),'sampleRows':Array[_0x4a03d2(0x150)]({'length':this[_0x4a03d2(0x1cc)]()},(_0x5aecb5,_0x4a35f5)=>Array[_0x4a03d2(0x150)]({'length':_0x4e7871},(_0x1e3746,_0x469306)=>this[_0x4a03d2(0x1c9)](_0x4a35f5,_0x469306)))[_0x4a03d2(0x1b4)](_0x12dde6=>_0x12dde6[_0x4a03d2(0x147)](_0x1af6a1=>_0x1af6a1['length']>0x0))[_0x4a03d2(0x1c4)](0x0,0x5)};}[_0x3f31bc(0x1cc)](){const _0x5a01f0=_0x3f31bc;var _0x6dd949,_0x2cda7b;return(_0x6dd949=(_0x2cda7b=this[_0x5a01f0(0x1a4)]())==null?void 0x0:_0x2cda7b[_0x5a01f0(0x14a)][_0x5a01f0(0x192)])==null?0x0:_0x6dd949;}['getColumnCount'](){const _0x1ffb5e=_0x3f31bc;var _0x47bb6f,_0x22bee4;return(_0x47bb6f=(_0x22bee4=this['getSource']())==null?void 0x0:_0x22bee4[_0x1ffb5e(0x152)][_0x1ffb5e(0x192)])==null?0x0:_0x47bb6f;}[_0x3f31bc(0x188)](_0x109312,_0x435f0b){const _0xf9f10=_0x3f31bc;var _0x172a22;return!((_0x172a22=this['getSource']())==null||(_0x172a22=_0x172a22[_0xf9f10(0x14a)][_0x109312])==null)&&_0x172a22[_0xf9f10(0x1a1)][_0x435f0b]?this[_0xf9f10(0x13a)][_0xf9f10(0x160)](K,this,_0x109312,_0x435f0b):null;}[_0x3f31bc(0x1c9)](_0x19ea6b,_0x1f805b){const _0x250912=_0x3f31bc;var _0x294178,_0x5be5ba,_0x526779;let _0x2b440f=(_0x294178=_0x80ff26(this[_0x250912(0x143)](),this['_tableId']))==null||(_0x294178=_0x294178[_0x250912(0x158)][_0x19ea6b])==null?void 0x0:_0x294178[_0x250912(0x199)][_0x1f805b];return _0x2b440f?(_0x5be5ba=(_0x526779=this[_0x250912(0x143)]()[_0x250912(0x154)])==null?void 0x0:_0x526779[_0x250912(0x16a)][_0x250912(0x1c4)](_0x2b440f[_0x250912(0x1c8)]+0x1,_0x2b440f[_0x250912(0x125)])[_0x250912(0x170)](/\r\n$/,''))==null?'':_0x5be5ba:'';}['getCellMargin'](_0x3b12e4,_0x1332d1){const _0x47f79e=_0x3f31bc;var _0x1accf2,_0x4f64a0,_0x3837ca;let _0x20c4be=this[_0x47f79e(0x1a4)](),_0x3741a9=_0x20c4be==null||(_0x1accf2=_0x20c4be[_0x47f79e(0x14a)][_0x3b12e4])==null?void 0x0:_0x1accf2[_0x47f79e(0x1a1)][_0x1332d1];return _0x3741a9?_0x3ab0db[_0x47f79e(0x15f)]((_0x4f64a0=(_0x3837ca=_0x3741a9[_0x47f79e(0x14b)])==null?_0x20c4be[_0x47f79e(0x126)]:_0x3837ca)==null?_0x2306cd:_0x4f64a0):null;}[_0x3f31bc(0x1ab)](_0x38b292,_0x1848af){const _0x4fbccc=_0x3f31bc;var _0x1480b9;let _0x4e7032=(_0x1480b9=this['getSource']())==null||(_0x1480b9=_0x1480b9[_0x4fbccc(0x14a)][_0x38b292])==null?void 0x0:_0x1480b9['tableCells'][_0x1848af];return _0x4e7032!=null&&_0x4e7032[_0x4fbccc(0x14b)]?_0x3ab0db[_0x4fbccc(0x15f)](_0x4e7032[_0x4fbccc(0x14b)]):null;}[_0x3f31bc(0x1ca)](){const _0x555e40=_0x3f31bc;var _0x32b2fd,_0x1f1a99;return _0x3ab0db[_0x555e40(0x15f)]((_0x32b2fd=(_0x1f1a99=this[_0x555e40(0x1a4)]())==null?void 0x0:_0x1f1a99[_0x555e40(0x126)])==null?_0x2306cd:_0x32b2fd);}['getDefaultCellMarginOverride'](){const _0x1fd075=_0x3f31bc;var _0x4b10ba;let _0x25c234=(_0x4b10ba=this['getSource']())==null?void 0x0:_0x4b10ba[_0x1fd075(0x126)];return _0x25c234?_0x3ab0db[_0x1fd075(0x15f)](_0x25c234):null;}[_0x3f31bc(0x18d)](){const _0x58b3cf=_0x3f31bc;return this['_injector'][_0x58b3cf(0x168)](_0x406e37)['getTableMetadata'](this[_0x58b3cf(0x1bd)],this[_0x58b3cf(0x12f)]);}['getSource'](){const _0x30fa4b=_0x3f31bc;var _0xebad94;return(_0xebad94=this[_0x30fa4b(0x143)]()[_0x30fa4b(0x1d4)])==null?void 0x0:_0xebad94[this[_0x30fa4b(0x12f)]];}['getRange'](){const _0x535133=_0x3f31bc;return _0x80ff26(this[_0x535133(0x143)](),this['_tableId']);}[_0x3f31bc(0x135)](){const _0x225dd1=_0x3f31bc;return{'startRow':0x0,'endRow':Math[_0x225dd1(0x1d1)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x225dd1(0x1d1)](0x0,this[_0x225dd1(0x1bc)]()-0x1)};}[_0x3f31bc(0x18f)](_0x512ba2,_0x5a05bd){return{'startRow':_0x512ba2,'endRow':_0x512ba2,'startColumn':_0x5a05bd,'endColumn':_0x5a05bd};}['getCellContentRange'](_0xcea85c,_0x3ce356){const _0x1ac603=_0x3f31bc;var _0x5214dd;let _0x28d339=(_0x5214dd=_0x80ff26(this['_getDocumentData'](),this['_tableId']))==null||(_0x5214dd=_0x5214dd[_0x1ac603(0x158)][_0xcea85c])==null?void 0x0:_0x5214dd['cells'][_0x3ce356];if(!_0x28d339)return null;let _0x403e88=_0x28d339['startOffset']+0x1;return{'startOffset':_0x403e88,'endOffset':Math[_0x1ac603(0x1d1)](_0x403e88,_0x28d339[_0x1ac603(0x125)]-0x1),'segmentId':this[_0x1ac603(0x128)]};}['getCellInsertOffset'](_0x2e7808,_0x46ee83){const _0x41de82=_0x3f31bc;var _0x5ac568,_0x5dc6fe;return(_0x5ac568=(_0x5dc6fe=this[_0x41de82(0x1b5)](_0x2e7808,_0x46ee83))==null?void 0x0:_0x5dc6fe[_0x41de82(0x125)])==null?null:_0x5ac568;}[_0x3f31bc(0x1b0)](_0x27062c){const _0x4390b4=_0x3f31bc;return this[_0x4390b4(0x1b8)](_0x27062c,0x1);}['getRowsRange'](_0x25c1b2,_0x195d54=0x1){const _0x39a2ef=_0x3f31bc;return{'startRow':_0x25c1b2,'endRow':_0x25c1b2+_0x195d54-0x1,'startColumn':0x0,'endColumn':Math[_0x39a2ef(0x1d1)](0x0,this[_0x39a2ef(0x1bc)]()-0x1)};}[_0x3f31bc(0x1aa)](_0x14306b){const _0xf9baa2=_0x3f31bc;return this[_0xf9baa2(0x1cf)](_0x14306b,0x1);}['getColumnsRange'](_0x252e92,_0x3056ec=0x1){const _0x1f7fd6=_0x3f31bc;return{'startRow':0x0,'endRow':Math[_0x1f7fd6(0x1d1)](0x0,this[_0x1f7fd6(0x1cc)]()-0x1),'startColumn':_0x252e92,'endColumn':_0x252e92+_0x3056ec-0x1};}[_0x3f31bc(0x1b2)](){const _0x44185f=_0x3f31bc;return this[_0x44185f(0x1c5)](this['getTableRange'](),_0xf480d2[_0x44185f(0x129)]);}[_0x3f31bc(0x1c1)](_0x587a0c){const _0x3e5be2=_0x3f31bc;return this[_0x3e5be2(0x1c2)](_0x587a0c,0x1);}['selectRows'](_0xb5bf4c,_0x44857c=0x1){const _0x3155dd=_0x3f31bc;return this[_0x3155dd(0x1c5)](this[_0x3155dd(0x1b8)](_0xb5bf4c,_0x44857c),_0xf480d2[_0x3155dd(0x19d)]);}[_0x3f31bc(0x137)](_0x472da5){const _0x232885=_0x3f31bc;return this[_0x232885(0x18e)](_0x472da5,0x1);}[_0x3f31bc(0x18e)](_0x333067,_0x3a5b85=0x1){return this['selectRange'](this['getColumnsRange'](_0x333067,_0x3a5b85),_0xf480d2['Column']);}[_0x3f31bc(0x139)](_0x177913,_0x16b511){const _0x1930a0=_0x3f31bc;return this['selectRange'](this[_0x1930a0(0x18f)](_0x177913,_0x16b511),_0xf480d2[_0x1930a0(0x1ac)]);}[_0x3f31bc(0x1c5)](_0x4e881a,_0x3ebc1b=_0xf480d2[_0x3f31bc(0x1d3)]){const _0x1c60fa=_0x3f31bc;return this[_0x1c60fa(0x13a)][_0x1c60fa(0x168)](_0x447a3e)[_0x1c60fa(0x1c0)]({..._0x4e881a,'kind':_0x3ebc1b,'segmentId':this[_0x1c60fa(0x128)],'tableId':this[_0x1c60fa(0x12f)]}),!0x0;}['insertRowBefore'](_0x5c9825){const _0x764bc8=_0x3f31bc;return this[_0x764bc8(0x14f)](_0x5c9825,0x1);}[_0x3f31bc(0x15c)](_0x2daf1c){const _0x4f9093=_0x3f31bc;return this[_0x4f9093(0x195)](_0x2daf1c,0x1);}[_0x3f31bc(0x14f)](_0x180b4e,_0x2395cf){const _0x140397=_0x3f31bc;let _0x1aac3c=this[_0x140397(0x143)](),_0x29a721=_0xb22ead(_0x1aac3c,this[_0x140397(0x12f)],_0x180b4e,_0x2395cf,_0x2f8453[_0x140397(0x1b7)],this[_0x140397(0x12e)]());return _0x29a721?this[_0x140397(0x19b)](_0x1aac3c,_0x29a721[_0x140397(0x16e)]):!0x1;}[_0x3f31bc(0x195)](_0x2b6493,_0x1da393){const _0x438b2b=_0x3f31bc;let _0x3b4a64=this[_0x438b2b(0x143)](),_0x36fa72=_0xb22ead(_0x3b4a64,this['_tableId'],_0x2b6493,_0x1da393,_0x2f8453[_0x438b2b(0x191)],this[_0x438b2b(0x12e)]());return _0x36fa72?this[_0x438b2b(0x19b)](_0x3b4a64,_0x36fa72['actions']):!0x1;}[_0x3f31bc(0x163)](){const _0x1f3674=_0x3f31bc;return this[_0x1f3674(0x195)](Math[_0x1f3674(0x1d1)](0x0,this[_0x1f3674(0x1cc)]()-0x1),0x1);}[_0x3f31bc(0x190)](_0xf71899){const _0x2ff982=_0x3f31bc;return this[_0x2ff982(0x12a)](_0xf71899,0x1);}[_0x3f31bc(0x185)](_0x56ac99){const _0x47a48e=_0x3f31bc;return this[_0x47a48e(0x1ce)](_0x56ac99,0x1);}[_0x3f31bc(0x12a)](_0xa24ffa,_0x610d9e){const _0x219bb3=_0x3f31bc;let _0x171902=this['_getDocumentData'](),_0x4181a1=_0xfa72da(_0x171902,this['_tableId'],_0xa24ffa,_0x610d9e,_0x2f8453['Left'],{'bodyPath':this['_getBodyPath']()});return _0x4181a1?this[_0x219bb3(0x19b)](_0x171902,_0x4181a1[_0x219bb3(0x16e)]):!0x1;}[_0x3f31bc(0x1ce)](_0x409199,_0x20e74e){const _0x2a77c7=_0x3f31bc;let _0x5bd673=this[_0x2a77c7(0x143)](),_0x1d5c58=_0xfa72da(_0x5bd673,this[_0x2a77c7(0x12f)],_0x409199,_0x20e74e,_0x2f8453['Right'],{'bodyPath':this['_getBodyPath']()});return _0x1d5c58?this[_0x2a77c7(0x19b)](_0x5bd673,_0x1d5c58['actions']):!0x1;}[_0x3f31bc(0x127)](){const _0xfaf2b3=_0x3f31bc;return this['insertColumnsAfter'](Math['max'](0x0,this[_0xfaf2b3(0x1bc)]()-0x1),0x1);}[_0x3f31bc(0x164)](_0x591edc){const _0x554f53=_0x3f31bc;return this[_0x554f53(0x1be)](_0x591edc,0x1);}[_0x3f31bc(0x1be)](_0x581fa1,_0x40c3d9=0x1){const _0x10912e=_0x3f31bc;let _0x109413=this['_getDocumentData'](),_0x1c1e4e=_0x14b38b(_0x109413,this[_0x10912e(0x12f)],_0x581fa1,_0x581fa1+_0x40c3d9-0x1,this[_0x10912e(0x12e)]());return _0x1c1e4e?this[_0x10912e(0x19b)](_0x109413,_0x1c1e4e[_0x10912e(0x16e)]):!0x1;}[_0x3f31bc(0x1a3)](_0x4a3a70){const _0x1f4d21=_0x3f31bc;return this[_0x1f4d21(0x138)](_0x4a3a70,0x1);}['deleteColumns'](_0x313731,_0x43eac2=0x1){const _0x113bb3=_0x3f31bc;let _0x32f435=this[_0x113bb3(0x143)](),_0x297da6=_0x50fa06(_0x32f435,this[_0x113bb3(0x12f)],_0x313731,_0x313731+_0x43eac2-0x1,this[_0x113bb3(0x12e)]());return _0x297da6?this[_0x113bb3(0x19b)](_0x32f435,_0x297da6[_0x113bb3(0x16e)]):!0x1;}[_0x3f31bc(0x165)](){const _0x46bca4=_0x3f31bc;let _0x149d79=this[_0x46bca4(0x143)](),_0x380f1e=_0x194cdc(_0x149d79,this['_tableId'],this['_getBodyPath']());return _0x380f1e?this[_0x46bca4(0x19b)](_0x149d79,_0x380f1e[_0x46bca4(0x16e)]):!0x1;}[_0x3f31bc(0x13b)](_0x113b1a,_0x353f88){const _0x569741=_0x3f31bc;let _0x91868d=this['_getDocumentData']();return this[_0x569741(0x19b)](_0x91868d,_0x2a4c83(_0x91868d,this[_0x569741(0x12f)],_0x113b1a,_0x353f88));}[_0x3f31bc(0x169)](_0x496116){const _0x33c139=_0x3f31bc;let _0x111fcd=this[_0x33c139(0x143)]();return this[_0x33c139(0x19b)](_0x111fcd,_0x3793d5(_0x111fcd,this[_0x33c139(0x12f)],_0x496116,this[_0x33c139(0x12e)]()));}[_0x3f31bc(0x15e)](_0x4181dc,_0x5588a0,_0x2afe49=_0x2f8453['Above']){const _0x2d66c7=_0x3f31bc;return this[_0x2d66c7(0x172)](_0x4181dc,0x1,_0x5588a0,_0x2afe49);}[_0x3f31bc(0x172)](_0x549605,_0x168037,_0x98a17c,_0x144be5=_0x2f8453[_0x3f31bc(0x1b7)]){const _0x185780=_0x3f31bc;let _0x531b2f=this[_0x185780(0x143)](),_0x354d17=_0x3248d5(_0x531b2f,this[_0x185780(0x12f)],_0x549605,_0x98a17c,_0x168037,_0x144be5,this[_0x185780(0x12e)]());return _0x354d17?this[_0x185780(0x19b)](_0x531b2f,_0x354d17[_0x185780(0x16e)]):!0x1;}[_0x3f31bc(0x1c3)](_0x23a4d9,_0x398685,_0x202199=_0x2f8453[_0x3f31bc(0x177)]){return this['moveColumns'](_0x23a4d9,0x1,_0x398685,_0x202199);}[_0x3f31bc(0x1ad)](_0x10b6aa,_0x24350d,_0x3be506,_0x2c3123=_0x2f8453[_0x3f31bc(0x177)]){const _0x396ed8=_0x3f31bc;let _0x365105=this[_0x396ed8(0x143)](),_0x25c25e=_0x1d4028(_0x365105,this['_tableId'],_0x10b6aa,_0x3be506,_0x24350d,_0x2c3123,this[_0x396ed8(0x12e)]());return _0x25c25e?this[_0x396ed8(0x19b)](_0x365105,_0x25c25e['actions']):!0x1;}[_0x3f31bc(0x145)](_0x121c47){const _0x1ffe7a=_0x3f31bc;try{let _0x3aac35=this[_0x1ffe7a(0x143)](),_0x332ada=_0x84ec24({'documentData':_0x3aac35,'tableId':this[_0x1ffe7a(0x12f)],..._0x121c47});return _0x332ada?this[_0x1ffe7a(0x19b)](_0x3aac35,_0x332ada[_0x1ffe7a(0x16e)],_0x121c47):!0x1;}catch{return!0x1;}}[_0x3f31bc(0x193)](_0x3badae){const _0x188fdc=_0x3f31bc;try{let _0x33b4b4=this[_0x188fdc(0x143)](),_0x66545c=_0x5c83f9({'documentData':_0x33b4b4,'tableId':this[_0x188fdc(0x12f)],..._0x3badae});return _0x66545c?this[_0x188fdc(0x19b)](_0x33b4b4,_0x66545c[_0x188fdc(0x16e)],_0x3badae):!0x1;}catch{return!0x1;}}[_0x3f31bc(0x12d)](_0x4ec46c,_0xcef331,_0x1a9221){const _0x5d5159=_0x3f31bc;let _0x12bc62=this['_getDocumentData'](),_0x1fdb3b=_0x3e8b5d(this['_document'][_0x5d5159(0x1ba)]()[_0x5d5159(0x18a)](),this[_0x5d5159(0x128)]);return this[_0x5d5159(0x19b)](_0x12bc62,_0x4fee67({'documentData':_0x12bc62,'tableId':this[_0x5d5159(0x12f)],'row':_0x4ec46c,'column':_0xcef331,'text':_0x1a9221},_0x1fdb3b),this[_0x5d5159(0x18f)](_0x4ec46c,_0xcef331));}['setCellBackground'](_0x4c535a,_0xe537d){const _0x297dd5=_0x3f31bc;let _0x188b09=this[_0x297dd5(0x143)]();return this[_0x297dd5(0x19b)](_0x188b09,_0x18e4a9(_0x188b09,{'tableId':this[_0x297dd5(0x12f)],..._0x4c535a,'value':_0xe537d}),_0x4c535a);}[_0x3f31bc(0x17c)](_0x2b570f,_0x2420d0){const _0x23b48d=_0x3f31bc;let _0x36289d=this[_0x23b48d(0x143)]();return this[_0x23b48d(0x19b)](_0x36289d,_0x4b0ae5({'documentData':_0x36289d,'tableId':this[_0x23b48d(0x12f)],..._0x2b570f,'margin':_0x2420d0}),_0x2b570f);}[_0x3f31bc(0x1a9)](_0x4d4929){const _0x5a5232=_0x3f31bc;let _0x45274e=this['_getDocumentData']();return this[_0x5a5232(0x19b)](_0x45274e,_0x28a9cb(_0x45274e,this['_tableId'],_0x4d4929));}[_0x3f31bc(0x162)](_0x2d18e5,_0x150f92){const _0x3b3620=_0x3f31bc;var _0x3707e2,_0x30b883,_0xed3d4a,_0x81bb35;let _0x5ec179=this['_getDocumentData']();return this[_0x3b3620(0x19b)](_0x5ec179,_0x116e32({'documentData':_0x5ec179,'tableId':this[_0x3b3620(0x12f)],..._0x2d18e5,'preset':(_0x3707e2=_0x150f92['preset'])==null?_0x287f75[_0x3b3620(0x16d)]:_0x3707e2,'border':(_0x30b883=_0x150f92[_0x3b3620(0x13e)])==null?{'color':{'rgb':(_0xed3d4a=_0x150f92[_0x3b3620(0x1bf)])==null?_0x3b3620(0x13f):_0xed3d4a},'width':{'v':(_0x81bb35=_0x150f92[_0x3b3620(0x156)])==null?0x1:_0x81bb35},'dashStyle':_0x111eac[_0x3b3620(0x14e)]}:_0x30b883}),_0x2d18e5);}[_0x3f31bc(0x1a8)](_0x3c3127){const _0x36351b=_0x3f31bc;return this[_0x36351b(0x176)](this['getTableRange'](),_0x3c3127);}['setTableBorder'](_0x27657){const _0x2d2da5=_0x3f31bc;return this[_0x2d2da5(0x162)](this[_0x2d2da5(0x135)](),_0x27657);}[_0x3f31bc(0x19f)](_0x47b788){const _0x209761=_0x3f31bc;let _0x17a037=_0x47b788[_0x209761(0x189)]?this[_0x209761(0x1a8)](_0x47b788[_0x209761(0x189)]):!0x0,_0x201b8c=_0x47b788['border']?this['setTableBorder'](_0x47b788[_0x209761(0x13e)]):!0x0;return _0x17a037&&_0x201b8c;}['setRowHeight'](_0x51c3dd,_0x39f06e,_0x55e4ce=_0x3efeba['AT_LEAST']){const _0x1cb35d=_0x3f31bc;var _0x505434;let _0x434ed4=this[_0x1cb35d(0x143)]();return!((_0x505434=_0x434ed4['tableSource'])==null||(_0x505434=_0x505434[this[_0x1cb35d(0x12f)]])==null)&&_0x505434[_0x1cb35d(0x14a)][_0x51c3dd]?this[_0x1cb35d(0x19b)](_0x434ed4,_0x168e38(_0x434ed4,this[_0x1cb35d(0x12f)],_0x51c3dd,_0x39f06e,_0x55e4ce)):!0x1;}['getRowHeight'](_0x5511d5){const _0x145917=_0x3f31bc;var _0x578a60;let _0x123b81=(_0x578a60=this[_0x145917(0x1a4)]())==null||(_0x578a60=_0x578a60[_0x145917(0x14a)][_0x5511d5])==null?void 0x0:_0x578a60[_0x145917(0x136)];return _0x123b81?_0x3ab0db[_0x145917(0x15f)](_0x123b81):null;}[_0x3f31bc(0x1d2)](_0x281a5c,_0x1617b2){const _0x2e0b2c=_0x3f31bc;var _0x8da12a;let _0x5f15ad=this[_0x2e0b2c(0x143)]();return!((_0x8da12a=_0x5f15ad[_0x2e0b2c(0x1d4)])==null||(_0x8da12a=_0x8da12a[this['_tableId']])==null)&&_0x8da12a[_0x2e0b2c(0x152)][_0x281a5c]?this[_0x2e0b2c(0x19b)](_0x5f15ad,_0x1382b4(_0x5f15ad,this[_0x2e0b2c(0x12f)],_0x281a5c,_0x1617b2)):!0x1;}['distributeRows'](_0x2d8f2f=0x0,_0x3202b4=this[_0x3f31bc(0x1cc)]()){const _0x424688=_0x3f31bc;let _0xb1910f=this['_getDocumentData']();return this[_0x424688(0x19b)](_0xb1910f,_0x518b54(_0xb1910f,this[_0x424688(0x12f)],_0x2d8f2f,_0x2d8f2f+_0x3202b4-0x1));}[_0x3f31bc(0x167)](_0x12bb77=0x0,_0x429c70=this[_0x3f31bc(0x1bc)]()){const _0x491cc2=_0x3f31bc;let _0x52f441=this[_0x491cc2(0x143)]();return this[_0x491cc2(0x19b)](_0x52f441,_0xb50dc3(_0x52f441,this['_tableId'],_0x12bb77,_0x12bb77+_0x429c70-0x1));}['getHeaderRowCount'](){const _0x335346=_0x3f31bc;var _0x37bc40,_0x12d1f2;return(_0x37bc40=(_0x12d1f2=this[_0x335346(0x18d)]())==null?void 0x0:_0x12d1f2['headerRowCount'])==null?0x0:_0x37bc40;}[_0x3f31bc(0x19a)](_0x4434b6){const _0x17ec1e=_0x3f31bc;let _0xfd182f=this[_0x17ec1e(0x13a)][_0x17ec1e(0x168)](_0x406e37),_0xcdc7c7=this[_0x17ec1e(0x143)](),_0x58a0ed=_0x2a0587(_0xcdc7c7,this['_tableId'],_0x4434b6);if(!_0x58a0ed)return!0x1;let _0x47eb2b=this[_0x17ec1e(0x19b)](_0xcdc7c7,_0x58a0ed[_0x17ec1e(0x16e)]);return _0x47eb2b&&_0xfd182f[_0x17ec1e(0x19a)](this[_0x17ec1e(0x1bd)],this[_0x17ec1e(0x12f)],_0x58a0ed[_0x17ec1e(0x17b)]),_0x47eb2b;}[_0x3f31bc(0x198)](_0x1d1fd6){const _0x5bc0ab=_0x3f31bc;return this[_0x5bc0ab(0x19a)](_0x1d1fd6);}[_0x3f31bc(0x16c)](){const _0x478ee2=_0x3f31bc;var _0x182a3b,_0x24ed32;return(_0x182a3b=(_0x24ed32=this['getMetadata']())==null?void 0x0:_0x24ed32[_0x478ee2(0x134)])==null?!0x1:_0x182a3b;}[_0x3f31bc(0x181)](){const _0x491b17=_0x3f31bc;let _0x432342=this[_0x491b17(0x13a)]['get'](_0x406e37),_0x1c998b=this[_0x491b17(0x143)](),_0xb3a5d7=_0x51f313(_0x1c998b,this[_0x491b17(0x12f)],this[_0x491b17(0x12e)]());if(!_0xb3a5d7)return!0x1;let _0xdc7f1d=this[_0x491b17(0x19b)](_0x1c998b,_0xb3a5d7[_0x491b17(0x16e)]);return _0xdc7f1d&&_0x432342[_0x491b17(0x149)](this[_0x491b17(0x1bd)],this[_0x491b17(0x12f)],!0x0),_0xdc7f1d;}[_0x3f31bc(0x180)](_0x387395,_0x222e6f){const _0x52a10b=_0x3f31bc;return this['_injector'][_0x52a10b(0x168)](_0x406e37)[_0x52a10b(0x180)](this[_0x52a10b(0x1bd)],this[_0x52a10b(0x12f)],_0x387395,_0x222e6f),!0x0;}['sortByColumn'](_0x5a1c88,_0xc8ce75){const _0xe587b1=_0x3f31bc;let _0x523e38=this[_0xe587b1(0x143)]();return this[_0xe587b1(0x19b)](_0x523e38,_0x32d715(_0x523e38,this['_serializeModel'](),this[_0xe587b1(0x12f)],_0x5a1c88,_0xc8ce75,this['_getBodyPath']()));}['_getDocumentData'](){const _0x31324c=_0x3f31bc;let _0x2972d3=this[_0x31324c(0x148)]['getDocumentDataModel']()[_0x31324c(0x18a)]();return this['_segmentId']?{...this[_0x31324c(0x148)][_0x31324c(0x1ba)](this[_0x31324c(0x128)])[_0x31324c(0x18a)](),'documentStyle':_0x2972d3[_0x31324c(0x14c)],'tableSource':_0x2972d3['tableSource']}:_0x2972d3;}['_serializeModel'](){const _0x52b12a=_0x3f31bc;return this[_0x52b12a(0x13a)][_0x52b12a(0x168)](_0x406e37)[_0x52b12a(0x13c)](this['_unitId']);}[_0x3f31bc(0x12e)](){const _0x2c2483=_0x3f31bc;return _0x3e8b5d(this[_0x2c2483(0x148)][_0x2c2483(0x1ba)]()[_0x2c2483(0x18a)](),this[_0x2c2483(0x128)]);}[_0x3f31bc(0x19b)](_0x40862f,_0x45d896,_0x2a8713){const _0x5e30c7=_0x3f31bc;return _0x3a1e37(this[_0x5e30c7(0x13a)][_0x5e30c7(0x168)](_0x3bc718),this[_0x5e30c7(0x1bd)],_0x40862f,_0x45d896,_0x2a8713?{'tableId':this[_0x5e30c7(0x12f)],'segmentId':this[_0x5e30c7(0x128)],..._0x2a8713}:void 0x0);}},Q=class extends _0x58852c{[_0x3f31bc(0x171)](_0x365cee=''){const _0x15044e=_0x3f31bc;return this[_0x15044e(0x1a7)](_0x365cee)[_0x15044e(0x131)](_0x3c7ca4=>this[_0x15044e(0x132)](_0x3c7ca4[_0x15044e(0x175)],_0x365cee));}[_0x3f31bc(0x1b3)](_0x436f1a,_0x2d08a1=''){const _0x56d758=_0x3f31bc;return this[_0x56d758(0x1a7)](_0x2d08a1)['some'](_0x18266a=>_0x18266a['tableId']===_0x436f1a)?this['_createFDocumentTable'](_0x436f1a,_0x2d08a1):null;}[_0x3f31bc(0x155)](_0x451144,_0x483261=''){const _0x13fcd4=_0x3f31bc;var _0x41d8e2;let _0x510d7f=(_0x41d8e2=this['_getTables'](_0x483261)[_0x451144])==null?void 0x0:_0x41d8e2[_0x13fcd4(0x175)];return _0x510d7f?this[_0x13fcd4(0x132)](_0x510d7f,_0x483261):null;}['getTableAtSelection'](){const _0x29f521=_0x3f31bc;let _0x24080c=this[_0x29f521(0x13a)][_0x29f521(0x168)](_0x447a3e)['getStableTableSelection']();return _0x24080c!=null&&_0x24080c['tableId']?this[_0x29f521(0x132)](_0x24080c[_0x29f521(0x175)],_0x24080c['segmentId']):null;}['findTableByText'](_0x41c78b,_0x32781c=''){const _0x257eb2=_0x3f31bc;var _0x9d5f4a;return(_0x9d5f4a=this[_0x257eb2(0x15b)](_0x41c78b,_0x32781c)[0x0])==null?null:_0x9d5f4a;}['findTables'](_0x2e7c70,_0x482f9f=''){const _0x216517=_0x3f31bc;let _0x5c0cad=this[_0x216517(0x1cb)](_0x482f9f),_0x20683f=typeof _0x2e7c70==_0x216517(0x183)?{'text':_0x2e7c70}:_0x2e7c70;return this[_0x216517(0x171)](_0x482f9f)[_0x216517(0x1b4)](_0x392645=>{const _0x5a3098=_0x216517;let _0x25155d=_0x392645['getId']();return!(_0x20683f['tableId']&&_0x25155d!==_0x20683f[_0x5a3098(0x175)]||_0x20683f[_0x5a3098(0x1c6)]&&!this[_0x5a3098(0x18b)](_0x5c0cad,_0x25155d,_0x20683f['text'])||_0x20683f[_0x5a3098(0x153)]&&!this[_0x5a3098(0x159)](_0x392645,0x0,_0x20683f['headerText'])||_0x20683f[_0x5a3098(0x1a5)]&&!this[_0x5a3098(0x159)](_0x392645,0x0,_0x20683f[_0x5a3098(0x1a5)]));});}[_0x3f31bc(0x186)](_0xd0fa4d,_0x4b9de7,_0x598a7d={}){const _0x146a97=_0x3f31bc;var _0xf99409,_0x1f7cb1;let _0x151946=this[_0x146a97(0x13a)][_0x146a97(0x168)](_0x3bc718),_0x5979c1=(_0xf99409=_0x598a7d['tableId'])==null?_0x4ff5d3(0x6):_0xf99409;return _0x151946[_0x146a97(0x133)](_0x445ccc['id'],{..._0x598a7d,'unitId':this[_0x146a97(0x15d)](),'rows':_0xd0fa4d,'columns':_0x4b9de7,'tableId':_0x5979c1})?this[_0x146a97(0x132)](_0x5979c1,(_0x1f7cb1=_0x598a7d[_0x146a97(0x17e)])==null?'':_0x1f7cb1):null;}[_0x3f31bc(0x197)](_0x5ae88d,_0x2d04db={}){const _0x334ced=_0x3f31bc;var _0x46ca34,_0x2d4dc5;let _0x12b352=this[_0x334ced(0x13a)][_0x334ced(0x168)](_0x3bc718),_0x36cd9a=(_0x46ca34=_0x2d04db['tableId'])==null?_0x4ff5d3(0x6):_0x46ca34;return _0x12b352[_0x334ced(0x133)](_0x445ccc['id'],{..._0x2d04db,'unitId':this[_0x334ced(0x15d)](),'values':_0x5ae88d,'tableId':_0x36cd9a})?this['_createFDocumentTable'](_0x36cd9a,(_0x2d4dc5=_0x2d04db['segmentId'])==null?'':_0x2d4dc5):null;}['_getTables'](_0x419997=''){const _0x4588d8=_0x3f31bc;let {tables:_0x3aa795=[]}=this[_0x4588d8(0x140)](_0x419997);return _0x3aa795;}['_getTableDocumentData'](_0x330165=''){const _0x38c1fc=_0x3f31bc;let _0x52d0d5=this['getDocumentDataModel']()[_0x38c1fc(0x18a)]();return _0x330165?{...this[_0x38c1fc(0x1ba)](_0x330165)[_0x38c1fc(0x18a)](),'documentStyle':_0x52d0d5[_0x38c1fc(0x14c)],'tableSource':_0x52d0d5['tableSource']}:_0x52d0d5;}[_0x3f31bc(0x132)](_0x24bc9b,_0x5537a6=''){const _0x121c43=_0x3f31bc;return this[_0x121c43(0x13a)][_0x121c43(0x160)](Z,this,_0x24bc9b,_0x5537a6,this[_0x121c43(0x13a)]);}[_0x3f31bc(0x18b)](_0x3a8b0f,_0x2ee45f,_0x3f889){const _0x1857d9=_0x3f31bc;var _0x3d4027;let _0x1acba7=_0x80ff26(_0x3a8b0f,_0x2ee45f);if(!_0x1acba7)return!0x1;let _0x3f434e=(_0x3d4027=_0x3a8b0f[_0x1857d9(0x154)])==null?void 0x0:_0x3d4027[_0x1857d9(0x16a)];return _0x3f434e?_0x3f434e[_0x1857d9(0x1c4)](_0x1acba7[_0x1857d9(0x1c8)],_0x1acba7['endOffset'])[_0x1857d9(0x19c)](_0x3f889):!0x1;}[_0x3f31bc(0x159)](_0x52bef7,_0x273066,_0x2a1dcf){const _0x2ca09c=_0x3f31bc;return Array[_0x2ca09c(0x150)]({'length':_0x52bef7[_0x2ca09c(0x1bc)]()},(_0xb1756e,_0x4ba3ec)=>_0x52bef7['getCellText'](_0x273066,_0x4ba3ec))[_0x2ca09c(0x147)](_0x4ba57d=>_0x4ba57d[_0x2ca09c(0x19c)](_0x2a1dcf));}};_0x58852c[_0x3f31bc(0x19e)](Q);export{Z as FDocumentTable,K as FDocumentTableCell};
|