@univerjs-pro/docs-table 1.0.3 → 1.0.4
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
|
-
const _0x18610f=_0x1d5f;function _0x1d5f(_0x1ac73a,_0x4aae7d){_0x1ac73a=_0x1ac73a-0x171;const _0x2dcf9a=_0x2dcf();let _0x1d5f5b=_0x2dcf9a[_0x1ac73a];return _0x1d5f5b;}(function(_0x54872d,_0x4728a2){const _0x6c4d09=_0x1d5f,_0x354d4c=_0x54872d();while(!![]){try{const _0xf3c99f=parseInt(_0x6c4d09(0x17e))/0x1*(-parseInt(_0x6c4d09(0x177))/0x2)+parseInt(_0x6c4d09(0x1a6))/0x3*(-parseInt(_0x6c4d09(0x224))/0x4)+parseInt(_0x6c4d09(0x226))/0x5+-parseInt(_0x6c4d09(0x1cb))/0x6*(-parseInt(_0x6c4d09(0x221))/0x7)+parseInt(_0x6c4d09(0x1c5))/0x8+-parseInt(_0x6c4d09(0x1d0))/0x9*(parseInt(_0x6c4d09(0x233))/0xa)+-parseInt(_0x6c4d09(0x1f3))/0xb*(-parseInt(_0x6c4d09(0x1a4))/0xc);if(_0xf3c99f===_0x4728a2)break;else _0x354d4c['push'](_0x354d4c['shift']());}catch(_0x50cae2){_0x354d4c['push'](_0x354d4c['shift']());}}}(_0x2dcf,0xe203a),Object['defineProperty'](exports,Symbol[_0x18610f(0x21b)],{'value':'Module'}));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[_0x18610f(0x1be)]{get[_0x18610f(0x171)](){const _0xf0b7ca=_0x18610f;return e[_0xf0b7ca(0x171)];}get[_0x18610f(0x1a9)](){const _0x4a1a17=_0x18610f;return e[_0x4a1a17(0x1a9)];}get[_0x18610f(0x20b)](){const _0x3c6017=_0x18610f;return e[_0x3c6017(0x20b)];}get['DocsTableRowInsertPosition'](){const _0x1e5dfd=_0x18610f;return e[_0x1e5dfd(0x247)];}get[_0x18610f(0x174)](){const _0x1fd951=_0x18610f;return e[_0x1fd951(0x174)];}get[_0x18610f(0x1dd)](){return e['DocsTableBorderPreset'];}get[_0x18610f(0x209)](){const _0x544a8e=_0x18610f;return e[_0x544a8e(0x209)];}get[_0x18610f(0x182)](){const _0x30a8e5=_0x18610f;return t[_0x30a8e5(0x182)];}};n[_0x18610f(0x1be)]['extend'](i);var a=class{constructor(_0x58f47e,_0x4ae1fc,_0x57ef82){const _0x515f6d=_0x18610f;this[_0x515f6d(0x1bd)]=_0x58f47e,this['_row']=_0x4ae1fc,this[_0x515f6d(0x18c)]=_0x57ef82;}[_0x18610f(0x24b)](){const _0x5031af=_0x18610f;return this[_0x5031af(0x1bd)];}[_0x18610f(0x1e1)](){const _0x392130=_0x18610f;return this[_0x392130(0x202)];}[_0x18610f(0x199)](){const _0x44b892=_0x18610f;return this[_0x44b892(0x18c)];}[_0x18610f(0x239)](){const _0x301e52=_0x18610f;return this[_0x301e52(0x1bd)][_0x301e52(0x1c9)](this[_0x301e52(0x202)],this[_0x301e52(0x18c)]);}['getContentRange'](){const _0x40f2dc=_0x18610f;return this['_table'][_0x40f2dc(0x21e)](this[_0x40f2dc(0x202)],this[_0x40f2dc(0x18c)]);}[_0x18610f(0x197)](){const _0x318cc4=_0x18610f;return this['_table'][_0x318cc4(0x21f)](this[_0x318cc4(0x202)],this['_column']);}[_0x18610f(0x218)](){const _0x12a43b=_0x18610f;return this[_0x12a43b(0x1bd)]['getCellMargin'](this['_row'],this['_column']);}[_0x18610f(0x23b)](){const _0x4a8f5a=_0x18610f;return this[_0x4a8f5a(0x1bd)][_0x4a8f5a(0x230)](this['_row'],this[_0x4a8f5a(0x18c)]);}[_0x18610f(0x1d8)](_0x32b4a8){const _0x52c8f7=_0x18610f;return this[_0x52c8f7(0x1bd)][_0x52c8f7(0x1f8)](this['_table'][_0x52c8f7(0x1c1)](this[_0x52c8f7(0x202)],this[_0x52c8f7(0x18c)]),_0x32b4a8);}[_0x18610f(0x1d4)](){const _0x41c662=_0x18610f;return this[_0x41c662(0x1bd)]['setCellMargin'](this['_table'][_0x41c662(0x1c1)](this[_0x41c662(0x202)],this[_0x41c662(0x18c)]),null);}[_0x18610f(0x1c4)](_0x31b9ca){const _0x56040c=_0x18610f;return this[_0x56040c(0x1bd)][_0x56040c(0x1e2)](this[_0x56040c(0x202)],this[_0x56040c(0x18c)],_0x31b9ca);}[_0x18610f(0x23e)](_0x1af1c2){const _0x315e4d=_0x18610f;return this[_0x315e4d(0x1bd)][_0x315e4d(0x1b9)](this['_table'][_0x315e4d(0x1c1)](this['_row'],this[_0x315e4d(0x18c)]),_0x1af1c2);}['setBorder'](_0x53d600){const _0x538573=_0x18610f;return this[_0x538573(0x1bd)][_0x538573(0x1e0)](this['_table'][_0x538573(0x1c1)](this[_0x538573(0x202)],this[_0x538573(0x18c)]),_0x53d600);}[_0x18610f(0x1c3)](_0x1791bc,_0x3e6bad){const _0x5bcb3b=_0x18610f;return this[_0x5bcb3b(0x1bd)][_0x5bcb3b(0x227)]({'startRow':this[_0x5bcb3b(0x202)],'startColumn':this[_0x5bcb3b(0x18c)],'endRow':this[_0x5bcb3b(0x202)]+_0x1791bc-0x1,'endColumn':this[_0x5bcb3b(0x18c)]+_0x3e6bad-0x1});}['unmerge'](){const _0x106f54=_0x18610f;return this['_table']['unmergeCells'](this[_0x106f54(0x1bd)][_0x106f54(0x1c1)](this[_0x106f54(0x202)],this['_column']));}};function o(_0x1e4ecf){'@babel/helpers - typeof';const _0x3a32c2=_0x18610f;return o=typeof Symbol==_0x3a32c2(0x190)&&typeof Symbol[_0x3a32c2(0x19e)]=='symbol'?function(_0x552a6d){return typeof _0x552a6d;}:function(_0x4baa31){const _0x29ac6f=_0x3a32c2;return _0x4baa31&&typeof Symbol=='function'&&_0x4baa31[_0x29ac6f(0x193)]===Symbol&&_0x4baa31!==Symbol[_0x29ac6f(0x1aa)]?_0x29ac6f(0x1e8):typeof _0x4baa31;},o(_0x1e4ecf);}function s(_0x542dff,_0x3ad517){const _0xcbd990=_0x18610f;if(o(_0x542dff)!='object'||!_0x542dff)return _0x542dff;var _0x521cd9=_0x542dff[Symbol['toPrimitive']];if(_0x521cd9!==void 0x0){var _0x58908e=_0x521cd9[_0xcbd990(0x187)](_0x542dff,_0x3ad517||'default');if(o(_0x58908e)!=_0xcbd990(0x22e))return _0x58908e;throw TypeError(_0xcbd990(0x219));}return(_0x3ad517==='string'?String:Number)(_0x542dff);}function c(_0x2431a7){const _0x31640a=_0x18610f;var _0x5bfa0b=s(_0x2431a7,_0x31640a(0x1a0));return o(_0x5bfa0b)==_0x31640a(0x1e8)?_0x5bfa0b:_0x5bfa0b+'';}function l(_0x3660fa,_0x578bd4,_0x343785){return(_0x578bd4=c(_0x578bd4))in _0x3660fa?Object['defineProperty'](_0x3660fa,_0x578bd4,{'value':_0x343785,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3660fa[_0x578bd4]=_0x343785,_0x3660fa;}function u(_0x51e859,_0x506b58){return function(_0x3a2bef,_0x317a79){_0x506b58(_0x3a2bef,_0x317a79,_0x51e859);};}function d(_0x5e2acc,_0x181e22,_0x5e8862,_0x592ad4){const _0x183f4e=_0x18610f;var _0x37c251=arguments[_0x183f4e(0x20d)],_0x23976b=_0x37c251<0x3?_0x181e22:_0x592ad4===null?_0x592ad4=Object[_0x183f4e(0x1cc)](_0x181e22,_0x5e8862):_0x592ad4,_0x3d5d50;if(typeof Reflect=='object'&&typeof Reflect[_0x183f4e(0x236)]==_0x183f4e(0x190))_0x23976b=Reflect[_0x183f4e(0x236)](_0x5e2acc,_0x181e22,_0x5e8862,_0x592ad4);else{for(var _0x4c5842=_0x5e2acc['length']-0x1;_0x4c5842>=0x0;_0x4c5842--)(_0x3d5d50=_0x5e2acc[_0x4c5842])&&(_0x23976b=(_0x37c251<0x3?_0x3d5d50(_0x23976b):_0x37c251>0x3?_0x3d5d50(_0x181e22,_0x5e8862,_0x23976b):_0x3d5d50(_0x181e22,_0x5e8862))||_0x23976b);}return _0x37c251>0x3&&_0x23976b&&Object[_0x183f4e(0x183)](_0x181e22,_0x5e8862,_0x23976b),_0x23976b;}function _0x2dcf(){const _0xfd55cc=['getText','buildSetTableBackgroundMutationActions','getMarginOverride','_getBodyPath','preset','setBackgroundColor','getTables','buildMergeCellsMutationActions','_getTables','getMetadata','text','getSource','getRange','get','DocsTableRowInsertPosition','getSnapshot','deepClone','buildSetTableCellTextMutationActions','getTable','getColumnCount','DocsTableInsertTablePosition','buildMoveTableColumnsMutationActions','Tools','DocsTableColumnInsertPosition','max','deleteRows','8DnKthd','DocsTableDeleteTableCommand','backgroundColor','deleteColumns','setTitleRow','getRowCount','findTableByText','31996KrQZCp','setDefaultCellMargin','getDocumentDataModel','startOffset','DashStyleType','defineProperty','_serializeModel','documentStyle','getDefaultCellMarginOverride','call','getTableRange','setRowHeight','getId','_createFDocumentTable','_column','distributeColumns','from','actions','function','some','hasTitleRow','constructor','endOffset','_rowContainsText','_tableContainsText','getInsertOffset','tableColumns','getColumnIndex','getInfo','DocsTableInsertTableCommand','DocsTableDeleteRowsCommand','setColumnType','iterator','getRowHeight','string','_injector','titleText','insertRowsBefore','24IsblBu','DocsTableSelectionService','3CSGtFU','buildInsertTableColumnsMutationActions','insertRowBefore','DocsTableColumnType','prototype','selectRow','getHeaderRowCount','selectColumns','buildMoveTableRowsMutationActions','buildInsertTableTitleRowMutationActions','tableCells','executeRichTextTableActions','width','insertColumnAfter','body','serialize','dataStream','AT_LEAST','buildMoveFloatingTableMutationActions','setCellBackground','selectRows','appendColumn','buildInsertTableRowsMutationActions','_table','FEnum','margin','FDocument','getCellRange','DocsTableModel','mergeTo','setText','5917200oGVqDI','generateRandomId','getColumnRange','selectRange','getCellText','Left','1251294uJNpLI','getOwnPropertyDescriptor','pinHeaderRows','ICommandService','buildSetTableBorderMutationActions','99vmNNFo','setTableBackground','_getDocumentData','All','clearMarginOverride','type','getColumnsRange','buildSetTableDefaultCellMarginMutationActions','setMargin','getDefaultCellMargin','setColumnWidth','moveRows','Range','DocsTableBorderPreset','insertColumnsAfter','headerRowCount','setBorder','getRowIndex','setCellText','Column','createInstance','_document','selectColumn','getTableAtSelection','symbol','FDocumentTableCell','_mutateActions','insertTitleRow','_getTableDocumentData','tableSource','Above','moveColumn','tableId','setStructuralSelection','Table','5545122WlUExp','moveRow','setTableBorder','describe','trHeight','setCellMargin','#1f1f1f','setHeaderRowCount','buildSortTableMutationActions','getCell','buildResizeTableColumnActionsFromWidth','getSegmentId','columnTypes','segmentId','unmergeCells','_row','getTableActionBodyPath','replace','getTableAt','slice','includes','getTableMetadata','DocsTableSortDirection','insertTableFromData','DocsTableSelectionKind','DEFAULT_DOCS_TABLE_CELL_MARGIN','length','findTables','getRowRange','filter','syncExecuteCommand','buildResizeTableRowActionsFromHeight','deleteColumn','_commandService','_segmentId','getRowsRange','DocsTableInsertPosition','getMargin','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','buildSetTableCellMarginMutationActions','toStringTag','_unitId','titleRow','getCellContentRange','getCellInsertOffset','getTableRangeById','35neBgCR','Inject','insertColumnBefore','3358552gCTljd','rows','1930350CPRaQG','mergeCells','Cell','insertRowAfter','cells','tableRows','border','cellMargin','object','selectTable','getCellMarginOverride','color','insertRowsAfter','1166630wJEfep','TableRowHeightRule','insertColumnsBefore','decorate','_tableId','appendRow'];_0x2dcf=function(){return _0xfd55cc;};return _0x2dcf();}let f=class{constructor(_0x34cc5c,_0x2d8106,_0x3ee438,_0x586c02,_0x12cec4){const _0x4d50eb=_0x18610f;this[_0x4d50eb(0x1e5)]=_0x34cc5c,this[_0x4d50eb(0x237)]=_0x2d8106,this[_0x4d50eb(0x215)]=_0x3ee438,this['_commandService']=_0x586c02,this[_0x4d50eb(0x1a1)]=_0x12cec4,l(this,_0x4d50eb(0x21c),void 0x0),this[_0x4d50eb(0x21c)]=this[_0x4d50eb(0x1e5)][_0x4d50eb(0x18a)]();}[_0x18610f(0x18a)](){const _0x4f634d=_0x18610f;return this[_0x4f634d(0x237)];}[_0x18610f(0x1fe)](){const _0x44f639=_0x18610f;return this[_0x44f639(0x215)];}[_0x18610f(0x19a)](){const _0x445e50=_0x18610f;return{'id':this[_0x445e50(0x237)],'rowCount':this[_0x445e50(0x17c)](),'columnCount':this[_0x445e50(0x24c)](),'metadata':this[_0x445e50(0x242)](),'source':this[_0x445e50(0x244)]()};}[_0x18610f(0x1f6)](){const _0x59ce85=_0x18610f;let _0x4282f5=this[_0x59ce85(0x242)](),_0x5374c3=this[_0x59ce85(0x244)](),_0x57e5a2=this['getColumnCount']();return{'id':this[_0x59ce85(0x237)],'rowCount':this[_0x59ce85(0x17c)](),'columnCount':_0x57e5a2,'headerRowCount':(_0x4282f5==null?void 0x0:_0x4282f5[_0x59ce85(0x1df)])??0x0,'titleRow':(_0x4282f5==null?void 0x0:_0x4282f5[_0x59ce85(0x21d)])??!0x1,'columns':Array['from']({'length':_0x57e5a2},(_0x4d4edd,_0x519b3b)=>{const _0x9a3e81=_0x59ce85;var _0x276db0,_0xcb75f7;return{'index':_0x519b3b,'type':_0x4282f5==null||(_0x276db0=_0x4282f5[_0x9a3e81(0x1ff)])==null||(_0x276db0=_0x276db0[_0x519b3b])==null?void 0x0:_0x276db0[_0x9a3e81(0x1d5)],'width':_0x5374c3==null||(_0xcb75f7=_0x5374c3['tableColumns'][_0x519b3b])==null?void 0x0:_0xcb75f7['size'][_0x9a3e81(0x1b2)]['v']};}),'sampleRows':Array[_0x59ce85(0x18e)]({'length':this[_0x59ce85(0x17c)]()},(_0x2fe94d,_0x1f9cb8)=>Array['from']({'length':_0x57e5a2},(_0x2013a8,_0x2d7ddc)=>this[_0x59ce85(0x1c9)](_0x1f9cb8,_0x2d7ddc)))['filter'](_0x41c5e5=>_0x41c5e5['some'](_0x3b820a=>_0x3b820a[_0x59ce85(0x20d)]>0x0))[_0x59ce85(0x206)](0x0,0x5)};}[_0x18610f(0x17c)](){const _0x51a92d=_0x18610f;var _0xf00e31;return((_0xf00e31=this['getSource']())==null?void 0x0:_0xf00e31[_0x51a92d(0x22b)]['length'])??0x0;}[_0x18610f(0x24c)](){const _0x3b222c=_0x18610f;var _0x364b3d;return((_0x364b3d=this[_0x3b222c(0x244)]())==null?void 0x0:_0x364b3d[_0x3b222c(0x198)]['length'])??0x0;}[_0x18610f(0x1fc)](_0x3a36dd,_0xdc180f){const _0x2bc096=_0x18610f;var _0x35aace;return(_0x35aace=this[_0x2bc096(0x244)]())!=null&&(_0x35aace=_0x35aace[_0x2bc096(0x22b)][_0x3a36dd])!=null&&_0x35aace[_0x2bc096(0x1b0)][_0xdc180f]?this[_0x2bc096(0x1a1)]['createInstance'](a,this,_0x3a36dd,_0xdc180f):null;}[_0x18610f(0x1c9)](_0x385b00,_0x11d539){const _0x5cc3d6=_0x18610f;var _0x236e76,_0x1396e2;let _0x5aaaf0=(_0x236e76=(0x0,e[_0x5cc3d6(0x220)])(this[_0x5cc3d6(0x1d2)](),this['_tableId']))==null||(_0x236e76=_0x236e76[_0x5cc3d6(0x225)][_0x385b00])==null?void 0x0:_0x236e76['cells'][_0x11d539];return _0x5aaaf0?((_0x1396e2=this[_0x5cc3d6(0x1d2)]()[_0x5cc3d6(0x1b4)])==null?void 0x0:_0x1396e2[_0x5cc3d6(0x1b6)][_0x5cc3d6(0x206)](_0x5aaaf0[_0x5cc3d6(0x181)]+0x1,_0x5aaaf0[_0x5cc3d6(0x194)])[_0x5cc3d6(0x204)](/\r\n$/,''))??'':'';}['getCellMargin'](_0x2231b7,_0x34f8bd){const _0x3a54a8=_0x18610f;var _0x5b9e1b;let _0x49b87f=this[_0x3a54a8(0x244)](),_0x449502=_0x49b87f==null||(_0x5b9e1b=_0x49b87f[_0x3a54a8(0x22b)][_0x2231b7])==null?void 0x0:_0x5b9e1b[_0x3a54a8(0x1b0)][_0x34f8bd];return _0x449502?t['Tools'][_0x3a54a8(0x249)](_0x449502[_0x3a54a8(0x1bf)]??_0x49b87f[_0x3a54a8(0x22d)]??e[_0x3a54a8(0x20c)]):null;}[_0x18610f(0x230)](_0x257e81,_0x10a77b){const _0x1ada23=_0x18610f;var _0xba71f9;let _0x3498b0=(_0xba71f9=this[_0x1ada23(0x244)]())==null||(_0xba71f9=_0xba71f9[_0x1ada23(0x22b)][_0x257e81])==null?void 0x0:_0xba71f9[_0x1ada23(0x1b0)][_0x10a77b];return _0x3498b0!=null&&_0x3498b0[_0x1ada23(0x1bf)]?t['Tools'][_0x1ada23(0x249)](_0x3498b0[_0x1ada23(0x1bf)]):null;}[_0x18610f(0x1d9)](){const _0x4354a5=_0x18610f;var _0x32be52;return t[_0x4354a5(0x173)][_0x4354a5(0x249)](((_0x32be52=this[_0x4354a5(0x244)]())==null?void 0x0:_0x32be52[_0x4354a5(0x22d)])??e[_0x4354a5(0x20c)]);}[_0x18610f(0x186)](){const _0x139a18=_0x18610f;var _0x4066c2;let _0x39964b=(_0x4066c2=this['getSource']())==null?void 0x0:_0x4066c2[_0x139a18(0x22d)];return _0x39964b?t[_0x139a18(0x173)][_0x139a18(0x249)](_0x39964b):null;}[_0x18610f(0x242)](){const _0x30c609=_0x18610f;return this[_0x30c609(0x1a1)]['get'](e['DocsTableModel'])[_0x30c609(0x208)](this[_0x30c609(0x21c)],this['_tableId']);}[_0x18610f(0x244)](){const _0x450912=_0x18610f;var _0x1cbcb6;return(_0x1cbcb6=this[_0x450912(0x1d2)]()[_0x450912(0x1ed)])==null?void 0x0:_0x1cbcb6[this[_0x450912(0x237)]];}[_0x18610f(0x245)](){const _0x153982=_0x18610f;return(0x0,e[_0x153982(0x220)])(this[_0x153982(0x1d2)](),this['_tableId']);}[_0x18610f(0x188)](){const _0x251cc0=_0x18610f;return{'startRow':0x0,'endRow':Math[_0x251cc0(0x175)](0x0,this[_0x251cc0(0x17c)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x251cc0(0x175)](0x0,this[_0x251cc0(0x24c)]()-0x1)};}[_0x18610f(0x1c1)](_0x41991d,_0x59a187){return{'startRow':_0x41991d,'endRow':_0x41991d,'startColumn':_0x59a187,'endColumn':_0x59a187};}['getCellContentRange'](_0x3102f7,_0x5ec018){const _0x1beccb=_0x18610f;var _0x305918;let _0x5d54ce=(_0x305918=(0x0,e[_0x1beccb(0x220)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x305918=_0x305918[_0x1beccb(0x225)][_0x3102f7])==null?void 0x0:_0x305918[_0x1beccb(0x22a)][_0x5ec018];if(!_0x5d54ce)return null;let _0x5ed4be=_0x5d54ce[_0x1beccb(0x181)]+0x1;return{'startOffset':_0x5ed4be,'endOffset':Math[_0x1beccb(0x175)](_0x5ed4be,_0x5d54ce[_0x1beccb(0x194)]-0x1),'segmentId':this[_0x1beccb(0x215)]};}[_0x18610f(0x21f)](_0x7ee094,_0x46ea6a){const _0x126778=_0x18610f;let _0x45a830=this[_0x126778(0x21e)](_0x7ee094,_0x46ea6a);return _0x45a830?Math[_0x126778(0x175)](_0x45a830[_0x126778(0x181)],_0x45a830[_0x126778(0x194)]-0x1):null;}[_0x18610f(0x20f)](_0x29b19a){return this['getRowsRange'](_0x29b19a,0x1);}[_0x18610f(0x216)](_0x3e7d74,_0x35c7fa=0x1){const _0x1b0848=_0x18610f;return{'startRow':_0x3e7d74,'endRow':_0x3e7d74+_0x35c7fa-0x1,'startColumn':0x0,'endColumn':Math[_0x1b0848(0x175)](0x0,this['getColumnCount']()-0x1)};}[_0x18610f(0x1c7)](_0x4b0aa9){const _0x5c0bd9=_0x18610f;return this[_0x5c0bd9(0x1d6)](_0x4b0aa9,0x1);}[_0x18610f(0x1d6)](_0x6d47bf,_0xdfcc6f=0x1){const _0x17a054=_0x18610f;return{'startRow':0x0,'endRow':Math[_0x17a054(0x175)](0x0,this['getRowCount']()-0x1),'startColumn':_0x6d47bf,'endColumn':_0x6d47bf+_0xdfcc6f-0x1};}[_0x18610f(0x22f)](){const _0x5e1657=_0x18610f;return this[_0x5e1657(0x1c8)](this[_0x5e1657(0x188)](),e['DocsTableSelectionKind'][_0x5e1657(0x1f2)]);}[_0x18610f(0x1ab)](_0x3c0ae2){const _0x16b2d9=_0x18610f;return this[_0x16b2d9(0x1ba)](_0x3c0ae2,0x1);}[_0x18610f(0x1ba)](_0x397bec,_0x3fa0a0=0x1){const _0xb5420c=_0x18610f;return this[_0xb5420c(0x1c8)](this[_0xb5420c(0x216)](_0x397bec,_0x3fa0a0),e['DocsTableSelectionKind']['Row']);}[_0x18610f(0x1e6)](_0x5142a4){const _0x3723ba=_0x18610f;return this[_0x3723ba(0x1ad)](_0x5142a4,0x1);}[_0x18610f(0x1ad)](_0x1e32d4,_0x4b802a=0x1){const _0x25990b=_0x18610f;return this[_0x25990b(0x1c8)](this[_0x25990b(0x1d6)](_0x1e32d4,_0x4b802a),e[_0x25990b(0x20b)][_0x25990b(0x1e3)]);}['selectCell'](_0x299ec7,_0x4c5c6a){const _0x4c6c7f=_0x18610f;return this[_0x4c6c7f(0x1c8)](this[_0x4c6c7f(0x1c1)](_0x299ec7,_0x4c5c6a),e['DocsTableSelectionKind'][_0x4c6c7f(0x228)]);}[_0x18610f(0x1c8)](_0x1c1569,_0x56dc23=e[_0x18610f(0x20b)][_0x18610f(0x1dc)]){const _0x1036aa=_0x18610f;return this[_0x1036aa(0x1a1)][_0x1036aa(0x246)](e[_0x1036aa(0x1a5)])[_0x1036aa(0x1f1)]({..._0x1c1569,'kind':_0x56dc23,'segmentId':this[_0x1036aa(0x215)],'tableId':this[_0x1036aa(0x237)]}),!0x0;}[_0x18610f(0x1a8)](_0x1718b1){const _0x4aac97=_0x18610f;return this[_0x4aac97(0x1a3)](_0x1718b1,0x1);}[_0x18610f(0x229)](_0x2084e6){return this['insertRowsAfter'](_0x2084e6,0x1);}['insertRowsBefore'](_0x4ff8e0,_0x443ceb){const _0x3f3a3b=_0x18610f;let _0x4e6146=this[_0x3f3a3b(0x1d2)](),_0x4240c3=(0x0,e[_0x3f3a3b(0x1bc)])(_0x4e6146,this[_0x3f3a3b(0x237)],_0x4ff8e0,_0x443ceb,e['DocsTableInsertPosition']['Above'],this[_0x3f3a3b(0x23c)]());return _0x4240c3?this[_0x3f3a3b(0x1ea)](_0x4e6146,_0x4240c3[_0x3f3a3b(0x18f)]):!0x1;}[_0x18610f(0x232)](_0x30f66e,_0x11c6ee){const _0x9cff93=_0x18610f;let _0x520b98=this['_getDocumentData'](),_0x415f6e=(0x0,e[_0x9cff93(0x1bc)])(_0x520b98,this['_tableId'],_0x30f66e,_0x11c6ee,e[_0x9cff93(0x217)]['Below'],this[_0x9cff93(0x23c)]());return _0x415f6e?this[_0x9cff93(0x1ea)](_0x520b98,_0x415f6e[_0x9cff93(0x18f)]):!0x1;}[_0x18610f(0x238)](){const _0x414d32=_0x18610f;return this['insertRowsAfter'](Math[_0x414d32(0x175)](0x0,this[_0x414d32(0x17c)]()-0x1),0x1);}[_0x18610f(0x223)](_0x396aba){const _0x7af2ab=_0x18610f;return this[_0x7af2ab(0x235)](_0x396aba,0x1);}[_0x18610f(0x1b3)](_0x25fd9f){const _0x1394ba=_0x18610f;return this[_0x1394ba(0x1de)](_0x25fd9f,0x1);}[_0x18610f(0x235)](_0x2deba7,_0x44ac47){const _0x3da80d=_0x18610f;let _0x233c62=this['_getDocumentData'](),_0x4258be=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x233c62,this[_0x3da80d(0x237)],_0x2deba7,_0x44ac47,e['DocsTableInsertPosition']['Left'],{'bodyPath':this['_getBodyPath']()});return _0x4258be?this[_0x3da80d(0x1ea)](_0x233c62,_0x4258be['actions']):!0x1;}[_0x18610f(0x1de)](_0x89e2d7,_0x575183){const _0x473ae0=_0x18610f;let _0x1b16ee=this['_getDocumentData'](),_0xe5d194=(0x0,e[_0x473ae0(0x1a7)])(_0x1b16ee,this['_tableId'],_0x89e2d7,_0x575183,e[_0x473ae0(0x217)]['Right'],{'bodyPath':this['_getBodyPath']()});return _0xe5d194?this[_0x473ae0(0x1ea)](_0x1b16ee,_0xe5d194[_0x473ae0(0x18f)]):!0x1;}[_0x18610f(0x1bb)](){const _0x54fca5=_0x18610f;return this[_0x54fca5(0x1de)](Math[_0x54fca5(0x175)](0x0,this[_0x54fca5(0x24c)]()-0x1),0x1);}['deleteRow'](_0xbcc4d2){const _0x2e6283=_0x18610f;return this[_0x2e6283(0x176)](_0xbcc4d2,0x1);}['deleteRows'](_0x50562b,_0x273388=0x1){const _0x48888b=_0x18610f;return!!this[_0x48888b(0x214)][_0x48888b(0x211)](e[_0x48888b(0x19c)]['id'],{'endRow':_0x50562b+_0x273388-0x1,'segmentId':this[_0x48888b(0x215)],'startRow':_0x50562b,'tableId':this[_0x48888b(0x237)],'unitId':this['_unitId']});}[_0x18610f(0x213)](_0x56f287){const _0x5a6d13=_0x18610f;return this[_0x5a6d13(0x17a)](_0x56f287,0x1);}[_0x18610f(0x17a)](_0x3e3cc9,_0x2eb396=0x1){const _0x55b39f=_0x18610f;return!!this['_commandService'][_0x55b39f(0x211)](e['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x3e3cc9+_0x2eb396-0x1,'segmentId':this[_0x55b39f(0x215)],'startColumn':_0x3e3cc9,'tableId':this[_0x55b39f(0x237)],'unitId':this[_0x55b39f(0x21c)]});}['deleteTable'](){const _0x5b485e=_0x18610f;return!!this[_0x5b485e(0x214)]['syncExecuteCommand'](e[_0x5b485e(0x178)]['id'],{'segmentId':this[_0x5b485e(0x215)],'tableId':this[_0x5b485e(0x237)],'unitId':this[_0x5b485e(0x21c)]});}['moveTableBy'](_0x9ff092,_0x335036){const _0x32f6d4=_0x18610f;let _0x1e4a68=this['_getDocumentData']();return this['_mutateActions'](_0x1e4a68,(0x0,e[_0x32f6d4(0x1b8)])(_0x1e4a68,this[_0x32f6d4(0x237)],_0x9ff092,_0x335036));}['moveTableToOffset'](_0x407c11){const _0x1f5239=_0x18610f;let _0x5ebc91=this[_0x1f5239(0x1d2)]();return this[_0x1f5239(0x1ea)](_0x5ebc91,(0x0,e['buildMoveTableToOffsetMutationActions'])(_0x5ebc91,this['_tableId'],_0x407c11,this['_getBodyPath']()));}[_0x18610f(0x1f4)](_0x3c17d0,_0x597267,_0x3b174c=e['DocsTableInsertPosition'][_0x18610f(0x1ee)]){const _0x22c3c8=_0x18610f;return this[_0x22c3c8(0x1db)](_0x3c17d0,0x1,_0x597267,_0x3b174c);}[_0x18610f(0x1db)](_0x5c9444,_0x51a4b8,_0x5b9a7b,_0x5990ce=e['DocsTableInsertPosition'][_0x18610f(0x1ee)]){const _0x363a96=_0x18610f;let _0x28d1ce=this[_0x363a96(0x1d2)](),_0x37743e=(0x0,e[_0x363a96(0x1ae)])(_0x28d1ce,this[_0x363a96(0x237)],_0x5c9444,_0x5b9a7b,_0x51a4b8,_0x5990ce,this['_getBodyPath']());return _0x37743e?this[_0x363a96(0x1ea)](_0x28d1ce,_0x37743e[_0x363a96(0x18f)]):!0x1;}[_0x18610f(0x1ef)](_0x423816,_0x2600ff,_0x5b8168=e[_0x18610f(0x217)]['Left']){return this['moveColumns'](_0x423816,0x1,_0x2600ff,_0x5b8168);}['moveColumns'](_0x533665,_0x5e547e,_0x10af4f,_0x9e525=e['DocsTableInsertPosition'][_0x18610f(0x1ca)]){const _0xdce2df=_0x18610f;let _0x13643f=this[_0xdce2df(0x1d2)](),_0xc4d349=(0x0,e[_0xdce2df(0x172)])(_0x13643f,this[_0xdce2df(0x237)],_0x533665,_0x10af4f,_0x5e547e,_0x9e525,this[_0xdce2df(0x23c)]());return _0xc4d349?this[_0xdce2df(0x1ea)](_0x13643f,_0xc4d349[_0xdce2df(0x18f)]):!0x1;}['mergeCells'](_0x4a1b4d){const _0x1cad8b=_0x18610f;try{let _0x1b1c54=this['_getDocumentData'](),_0x522ac4=(0x0,e[_0x1cad8b(0x240)])({'documentData':_0x1b1c54,'tableId':this[_0x1cad8b(0x237)],..._0x4a1b4d});return _0x522ac4?this[_0x1cad8b(0x1ea)](_0x1b1c54,_0x522ac4[_0x1cad8b(0x18f)],_0x4a1b4d):!0x1;}catch{return!0x1;}}[_0x18610f(0x201)](_0x10cdd9){const _0x351614=_0x18610f;try{let _0x3d3ee0=this['_getDocumentData'](),_0x138239=(0x0,e['buildUnmergeCellsMutationActions'])({'documentData':_0x3d3ee0,'tableId':this[_0x351614(0x237)],..._0x10cdd9});return _0x138239?this[_0x351614(0x1ea)](_0x3d3ee0,_0x138239['actions'],_0x10cdd9):!0x1;}catch{return!0x1;}}[_0x18610f(0x1e2)](_0x1fd3d7,_0x58df73,_0x44843a){const _0x5e42ce=_0x18610f;let _0x36bd64=this[_0x5e42ce(0x1d2)](),_0x3831d3=(0x0,e[_0x5e42ce(0x203)])(this[_0x5e42ce(0x1e5)][_0x5e42ce(0x180)]()[_0x5e42ce(0x248)](),this[_0x5e42ce(0x215)]);return this[_0x5e42ce(0x1ea)](_0x36bd64,(0x0,e[_0x5e42ce(0x24a)])({'documentData':_0x36bd64,'tableId':this[_0x5e42ce(0x237)],'row':_0x1fd3d7,'column':_0x58df73,'text':_0x44843a},_0x3831d3),this['getCellRange'](_0x1fd3d7,_0x58df73));}[_0x18610f(0x1b9)](_0x57d3e9,_0x126824){const _0x41f198=_0x18610f;let _0x3c3409=this[_0x41f198(0x1d2)]();return this[_0x41f198(0x1ea)](_0x3c3409,(0x0,e[_0x41f198(0x23a)])(_0x3c3409,{'tableId':this[_0x41f198(0x237)],..._0x57d3e9,'value':_0x126824}),_0x57d3e9);}[_0x18610f(0x1f8)](_0x108e52,_0x53d3e3){const _0x28b9a0=_0x18610f;let _0xe5c25a=this[_0x28b9a0(0x1d2)]();return this['_mutateActions'](_0xe5c25a,(0x0,e[_0x28b9a0(0x21a)])({'documentData':_0xe5c25a,'tableId':this[_0x28b9a0(0x237)],..._0x108e52,'margin':_0x53d3e3}),_0x108e52);}[_0x18610f(0x17f)](_0x4c3625){const _0x35b84c=_0x18610f;let _0x4eea15=this['_getDocumentData']();return this['_mutateActions'](_0x4eea15,(0x0,e[_0x35b84c(0x1d7)])(_0x4eea15,this[_0x35b84c(0x237)],_0x4c3625));}[_0x18610f(0x1e0)](_0x4f2059,_0x6622f){const _0x37e367=_0x18610f;let _0x20ca6d=this['_getDocumentData']();return this[_0x37e367(0x1ea)](_0x20ca6d,(0x0,e[_0x37e367(0x1cf)])({'documentData':_0x20ca6d,'tableId':this[_0x37e367(0x237)],..._0x4f2059,'preset':_0x6622f[_0x37e367(0x23d)]??e[_0x37e367(0x1dd)][_0x37e367(0x1d3)],'border':_0x6622f['border']??{'color':{'rgb':_0x6622f[_0x37e367(0x231)]??_0x37e367(0x1f9)},'width':{'v':_0x6622f[_0x37e367(0x1b2)]??0x1},'dashStyle':t[_0x37e367(0x182)]['SOLID']}}),_0x4f2059);}[_0x18610f(0x1d1)](_0x18a67f){const _0x3e9c2b=_0x18610f;return this[_0x3e9c2b(0x1b9)](this['getTableRange'](),_0x18a67f);}[_0x18610f(0x1f5)](_0x1990ae){const _0x7a723b=_0x18610f;return this[_0x7a723b(0x1e0)](this[_0x7a723b(0x188)](),_0x1990ae);}['setTableStyle'](_0x308274){const _0xa9d482=_0x18610f;let _0x38df5e=!_0x308274['backgroundColor']||this[_0xa9d482(0x1d1)](_0x308274[_0xa9d482(0x179)]),_0x5e5511=!_0x308274[_0xa9d482(0x22c)]||this[_0xa9d482(0x1f5)](_0x308274[_0xa9d482(0x22c)]);return _0x38df5e&&_0x5e5511;}[_0x18610f(0x189)](_0x2c40b5,_0xb650f3,_0xe4249c=t[_0x18610f(0x234)][_0x18610f(0x1b7)]){const _0x441936=_0x18610f;var _0x4b3f85;let _0x313368=this[_0x441936(0x1d2)]();return(_0x4b3f85=_0x313368[_0x441936(0x1ed)])!=null&&(_0x4b3f85=_0x4b3f85[this[_0x441936(0x237)]])!=null&&_0x4b3f85[_0x441936(0x22b)][_0x2c40b5]?this[_0x441936(0x1ea)](_0x313368,(0x0,e[_0x441936(0x212)])(_0x313368,this[_0x441936(0x237)],_0x2c40b5,_0xb650f3,_0xe4249c)):!0x1;}[_0x18610f(0x19f)](_0x57205a){const _0x53b9c0=_0x18610f;var _0x4aa2f2;let _0x327a9c=(_0x4aa2f2=this[_0x53b9c0(0x244)]())==null||(_0x4aa2f2=_0x4aa2f2[_0x53b9c0(0x22b)][_0x57205a])==null?void 0x0:_0x4aa2f2[_0x53b9c0(0x1f7)];return _0x327a9c?t['Tools'][_0x53b9c0(0x249)](_0x327a9c):null;}[_0x18610f(0x1da)](_0x2f2f95,_0x1b49df){const _0x2f7109=_0x18610f;var _0x148a30;let _0x3ed17a=this[_0x2f7109(0x1d2)]();return(_0x148a30=_0x3ed17a[_0x2f7109(0x1ed)])!=null&&(_0x148a30=_0x148a30[this[_0x2f7109(0x237)]])!=null&&_0x148a30[_0x2f7109(0x198)][_0x2f2f95]?this[_0x2f7109(0x1ea)](_0x3ed17a,(0x0,e[_0x2f7109(0x1fd)])(_0x3ed17a,this['_tableId'],_0x2f2f95,_0x1b49df)):!0x1;}['distributeRows'](_0x4fd610=0x0,_0x190999=this['getRowCount']()){const _0x385b4c=_0x18610f;let _0x248d17=this[_0x385b4c(0x1d2)]();return this[_0x385b4c(0x1ea)](_0x248d17,(0x0,e['buildDistributeTableRowsMutationActions'])(_0x248d17,this[_0x385b4c(0x237)],_0x4fd610,_0x4fd610+_0x190999-0x1));}[_0x18610f(0x18d)](_0x4d2967=0x0,_0x3fa1e2=this[_0x18610f(0x24c)]()){const _0x9f7f0a=_0x18610f;let _0x5ca51e=this[_0x9f7f0a(0x1d2)]();return this[_0x9f7f0a(0x1ea)](_0x5ca51e,(0x0,e['buildDistributeTableColumnsMutationActions'])(_0x5ca51e,this[_0x9f7f0a(0x237)],_0x4d2967,_0x4d2967+_0x3fa1e2-0x1));}[_0x18610f(0x1ac)](){const _0x3707f1=_0x18610f;var _0x1ea80a;return((_0x1ea80a=this['getMetadata']())==null?void 0x0:_0x1ea80a[_0x3707f1(0x1df)])??0x0;}['setHeaderRowCount'](_0x1933e0){const _0x466917=_0x18610f;let _0xb98caa=this[_0x466917(0x1a1)][_0x466917(0x246)](e['DocsTableModel']),_0x51656c=this[_0x466917(0x1d2)](),_0xb6dc3b=(0x0,e['buildSetTableHeaderRowCountMutationActions'])(_0x51656c,this[_0x466917(0x237)],_0x1933e0);if(!_0xb6dc3b)return!0x1;let _0x158086=this[_0x466917(0x1ea)](_0x51656c,_0xb6dc3b['actions']);return _0x158086&&_0xb98caa['setHeaderRowCount'](this['_unitId'],this[_0x466917(0x237)],_0xb6dc3b[_0x466917(0x1df)]),_0x158086;}[_0x18610f(0x1cd)](_0x4b69ac){const _0x1f5829=_0x18610f;return this[_0x1f5829(0x1fa)](_0x4b69ac);}[_0x18610f(0x192)](){const _0x1d91b0=_0x18610f;var _0x382906;return((_0x382906=this[_0x1d91b0(0x242)]())==null?void 0x0:_0x382906[_0x1d91b0(0x21d)])??!0x1;}[_0x18610f(0x1eb)](){const _0x548069=_0x18610f;let _0x3b21e7=this['_injector'][_0x548069(0x246)](e['DocsTableModel']),_0x21692d=this[_0x548069(0x1d2)](),_0x29bba5=(0x0,e[_0x548069(0x1af)])(_0x21692d,this[_0x548069(0x237)],this['_getBodyPath']());if(!_0x29bba5)return!0x1;let _0x48e85f=this['_mutateActions'](_0x21692d,_0x29bba5['actions']);return _0x48e85f&&_0x3b21e7[_0x548069(0x17b)](this[_0x548069(0x21c)],this[_0x548069(0x237)],!0x0),_0x48e85f;}[_0x18610f(0x19d)](_0x142c6c,_0x47453e){const _0x2ee92e=_0x18610f;return this[_0x2ee92e(0x1a1)][_0x2ee92e(0x246)](e['DocsTableModel'])[_0x2ee92e(0x19d)](this[_0x2ee92e(0x21c)],this[_0x2ee92e(0x237)],_0x142c6c,_0x47453e),!0x0;}['sortByColumn'](_0x16ba46,_0x4f73cb){const _0x2b90f7=_0x18610f;let _0x4869d4=this['_getDocumentData']();return this[_0x2b90f7(0x1ea)](_0x4869d4,(0x0,e[_0x2b90f7(0x1fb)])(_0x4869d4,this[_0x2b90f7(0x184)](),this[_0x2b90f7(0x237)],_0x16ba46,_0x4f73cb,this['_getBodyPath']()));}[_0x18610f(0x1d2)](){const _0xcb170=_0x18610f;let _0xdb0eea=this[_0xcb170(0x1e5)][_0xcb170(0x180)]()[_0xcb170(0x248)]();return this[_0xcb170(0x215)]?{...this[_0xcb170(0x1e5)]['getDocumentDataModel'](this['_segmentId'])[_0xcb170(0x248)](),'documentStyle':_0xdb0eea[_0xcb170(0x185)],'tableSource':_0xdb0eea['tableSource']}:_0xdb0eea;}[_0x18610f(0x184)](){const _0x3d5726=_0x18610f;return this['_injector'][_0x3d5726(0x246)](e[_0x3d5726(0x1c2)])[_0x3d5726(0x1b5)](this['_unitId']);}[_0x18610f(0x23c)](){const _0x264e40=_0x18610f;return(0x0,e['getTableActionBodyPath'])(this[_0x264e40(0x1e5)]['getDocumentDataModel']()['getSnapshot'](),this[_0x264e40(0x215)]);}[_0x18610f(0x1ea)](_0x516434,_0x532377,_0xd9587c){const _0x4ce604=_0x18610f;return(0x0,e[_0x4ce604(0x1b1)])(this['_commandService'],this['_unitId'],_0x516434,_0x532377,_0xd9587c?{'tableId':this[_0x4ce604(0x237)],'segmentId':this[_0x4ce604(0x215)],..._0xd9587c}:void 0x0);}};f=d([u(0x3,t[_0x18610f(0x1ce)]),u(0x4,(0x0,t[_0x18610f(0x222)])(t['Injector']))],f);var p=class extends r[_0x18610f(0x1c0)]{[_0x18610f(0x23f)](_0x471a31=''){const _0xec6f45=_0x18610f;return this['_getTables'](_0x471a31)['map'](_0x408dd1=>this['_createFDocumentTable'](_0x408dd1[_0xec6f45(0x1f0)],_0x471a31));}['getTable'](_0x4f78b1,_0x1f7681=''){const _0x5d87a7=_0x18610f;return this['_getTables'](_0x1f7681)[_0x5d87a7(0x191)](_0x5c024c=>_0x5c024c[_0x5d87a7(0x1f0)]===_0x4f78b1)?this[_0x5d87a7(0x18b)](_0x4f78b1,_0x1f7681):null;}[_0x18610f(0x205)](_0x3017e1,_0xc1e1ef=''){const _0x15b9a3=_0x18610f;var _0x121275;let _0x5572b6=(_0x121275=this[_0x15b9a3(0x241)](_0xc1e1ef)[_0x3017e1])==null?void 0x0:_0x121275[_0x15b9a3(0x1f0)];return _0x5572b6?this[_0x15b9a3(0x18b)](_0x5572b6,_0xc1e1ef):null;}[_0x18610f(0x1e7)](){const _0x59a474=_0x18610f;let _0x558c9c=this['_injector'][_0x59a474(0x246)](e[_0x59a474(0x1a5)])['getStableTableSelection']();return _0x558c9c!=null&&_0x558c9c[_0x59a474(0x1f0)]?this[_0x59a474(0x18b)](_0x558c9c['tableId'],_0x558c9c[_0x59a474(0x200)]):null;}[_0x18610f(0x17d)](_0x3c9ad3,_0xde88ea=''){const _0x876dbd=_0x18610f;return this[_0x876dbd(0x20e)](_0x3c9ad3,_0xde88ea)[0x0]??null;}[_0x18610f(0x20e)](_0x499b9f,_0x3116e9=''){const _0x21ec7f=_0x18610f;let _0x407339=this[_0x21ec7f(0x1ec)](_0x3116e9),_0x1a33ae=typeof _0x499b9f==_0x21ec7f(0x1a0)?{'text':_0x499b9f}:_0x499b9f;return this[_0x21ec7f(0x23f)](_0x3116e9)[_0x21ec7f(0x210)](_0x5e15e3=>{const _0x37eefb=_0x21ec7f;let _0x4d1cfd=_0x5e15e3[_0x37eefb(0x18a)]();return!(_0x1a33ae[_0x37eefb(0x1f0)]&&_0x4d1cfd!==_0x1a33ae[_0x37eefb(0x1f0)]||_0x1a33ae['text']&&!this['_tableContainsText'](_0x407339,_0x4d1cfd,_0x1a33ae[_0x37eefb(0x243)])||_0x1a33ae['headerText']&&!this[_0x37eefb(0x195)](_0x5e15e3,0x0,_0x1a33ae['headerText'])||_0x1a33ae[_0x37eefb(0x1a2)]&&!this[_0x37eefb(0x195)](_0x5e15e3,0x0,_0x1a33ae['titleText']));});}['insertTable'](_0x6b5f4,_0x503076,_0x1d0afd={}){const _0x34c597=_0x18610f;let _0x518bab=this['_injector'][_0x34c597(0x246)](t[_0x34c597(0x1ce)]),_0x5ea770=_0x1d0afd[_0x34c597(0x1f0)]??(0x0,t[_0x34c597(0x1c6)])(0x6);return _0x518bab[_0x34c597(0x211)](e[_0x34c597(0x19b)]['id'],{..._0x1d0afd,'unitId':this[_0x34c597(0x18a)](),'rows':_0x6b5f4,'columns':_0x503076,'tableId':_0x5ea770})?this[_0x34c597(0x18b)](_0x5ea770,_0x1d0afd[_0x34c597(0x200)]??''):null;}[_0x18610f(0x20a)](_0x169fef,_0x2e521e={}){const _0x1424ed=_0x18610f;let _0x218559=this['_injector']['get'](t[_0x1424ed(0x1ce)]),_0x264bea=_0x2e521e['tableId']??(0x0,t[_0x1424ed(0x1c6)])(0x6);return _0x218559[_0x1424ed(0x211)](e[_0x1424ed(0x19b)]['id'],{..._0x2e521e,'unitId':this[_0x1424ed(0x18a)](),'values':_0x169fef,'tableId':_0x264bea})?this['_createFDocumentTable'](_0x264bea,_0x2e521e[_0x1424ed(0x200)]??''):null;}[_0x18610f(0x241)](_0x2e3115=''){let {tables:_0x2a68d0=[]}=this['getBody'](_0x2e3115);return _0x2a68d0;}['_getTableDocumentData'](_0x585c85=''){const _0x5d6236=_0x18610f;let _0x5409d1=this[_0x5d6236(0x180)]()[_0x5d6236(0x248)]();return _0x585c85?{...this[_0x5d6236(0x180)](_0x585c85)['getSnapshot'](),'documentStyle':_0x5409d1[_0x5d6236(0x185)],'tableSource':_0x5409d1['tableSource']}:_0x5409d1;}[_0x18610f(0x18b)](_0x10d150,_0x497f01=''){const _0x517e5a=_0x18610f;return this['_injector'][_0x517e5a(0x1e4)](f,this,_0x10d150,_0x497f01);}[_0x18610f(0x196)](_0x44f33d,_0x32c424,_0x56db33){const _0x1157d2=_0x18610f;var _0x12f298;let _0x3e6f11=(0x0,e[_0x1157d2(0x220)])(_0x44f33d,_0x32c424);if(!_0x3e6f11)return!0x1;let _0x2b7023=(_0x12f298=_0x44f33d['body'])==null?void 0x0:_0x12f298[_0x1157d2(0x1b6)];return _0x2b7023?_0x2b7023[_0x1157d2(0x206)](_0x3e6f11['startOffset'],_0x3e6f11[_0x1157d2(0x194)])[_0x1157d2(0x207)](_0x56db33):!0x1;}[_0x18610f(0x195)](_0x579e5f,_0x23e6f4,_0x3ec879){const _0x11f53d=_0x18610f;return Array['from']({'length':_0x579e5f['getColumnCount']()},(_0x4d1c91,_0x30faad)=>_0x579e5f['getCellText'](_0x23e6f4,_0x30faad))[_0x11f53d(0x191)](_0x26de79=>_0x26de79[_0x11f53d(0x207)](_0x3ec879));}};r[_0x18610f(0x1c0)]['extend'](p),Object[_0x18610f(0x183)](exports,'FDocumentTable',{'enumerable':!0x0,'get':function(){return f;}}),exports[_0x18610f(0x1e9)]=a;
|
|
1
|
+
function _0x536f(){const _0x3e5d8f=['setBackgroundColor','Inject','getCellMargin','getContentRange','startOffset','trHeight','iterator','FDocumentTable','buildDistributeTableColumnsMutationActions','width','_mutateActions','FDocumentTableCell','insertColumnsAfter','titleRow','selectColumns','DocsTableModel','insertRowsBefore','getColumnIndex','insertTable','_serializeModel','slice','moveRows','headerText','mergeCells','toStringTag','Above','symbol','6029580FQcBgx','getCellRange','moveColumn','getDocumentDataModel','getMargin','body','setText','appendColumn','distributeColumns','insertColumnBefore','toPrimitive','6304823BdlbQt','setTitleRow','endOffset','getSegmentId','_unitId','tableSource','titleText','deepClone','generateRandomId','findTables','buildInsertTableRowsMutationActions','buildInsertTableTitleRowMutationActions','setCellText','getRowCount','backgroundColor','function','from','Right','setHeaderRowCount','getHeaderRowCount','margin','getMetadata','call','_commandService','selectColumn','getRowsRange','Injector','getTableMetadata','DocsTableSortDirection','defineProperty','buildResizeTableRowActionsFromHeight','getBody','size','FDocument','moveTableBy','setStructuralSelection','Column','tableColumns','text','DocsTableBorderPreset','actions','_table','FEnum','_row','appendRow','getRowHeight','getTableRange','setColumnType','_rowContainsText','getSnapshot','getInfo','getRowRange','Tools','Left','selectCell','_tableId','All','DocsTableColumnType','setTableBorder','insertRowsAfter','setTableStyle','setTableBackground','deleteColumn','color','Row','_getTableDocumentData','setCellMargin','tableRows','tableCells','_createFDocumentTable','getDefaultCellMarginOverride','buildDistributeTableRowsMutationActions','_tableContainsText','decorate','getStableTableSelection','length','buildMoveTableToOffsetMutationActions','insertTableFromData','replace','DocsTableSelectionKind','dataStream','getSource','default','headerRowCount','setColumnWidth','getTable','includes','DocsTableInsertPosition','setMargin','tableId','getCell','rows','_document','getDefaultCellMargin','Range','get','_injector','pinHeaderRows','TableRowHeightRule','insertColumnAfter','_column','createInstance','extend','some','23172872BTtiTz','executeRichTextTableActions','buildMergeCellsMutationActions','buildMoveFloatingTableMutationActions','deleteRow','DashStyleType','getId','border','getTableRangeById','getColumnsRange','DocsTableInsertTableCommand','sortByColumn','getCellText','filter','deleteColumns','Cell','139932MEJKId','cells','preset','_getBodyPath','getCellContentRange','segmentId','selectRange','310224ysKQPR','_getTables','distributeRows','DocsTableDeleteRowsCommand','cellMargin','deleteRows','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','buildMoveTableColumnsMutationActions','getColumnRange','DocsTableInsertTablePosition','3dkboDV','getCellInsertOffset','_segmentId','clearMarginOverride','object','DEFAULT_DOCS_TABLE_CELL_MARGIN','getText','setBorder','syncExecuteCommand','getTables','buildSetTableBackgroundMutationActions','ICommandService','getColumnCount','describe','#1f1f1f','DocsTableRowInsertPosition','setCellBackground','AT_LEAST','2483354whzCHw','max','_getDocumentData','moveColumns','getRowIndex','DocsTableColumnInsertPosition','string','2083724InSTzs','buildMoveTableRowsMutationActions','getRange','SOLID','getTableActionBodyPath','buildInsertTableColumnsMutationActions'];_0x536f=function(){return _0x3e5d8f;};return _0x536f();}const _0x56a267=_0x4b51;(function(_0x2aab71,_0x10d78b){const _0x43c85a=_0x4b51,_0x13f19c=_0x2aab71();while(!![]){try{const _0x2cfabc=-parseInt(_0x43c85a(0x143))/0x1+-parseInt(_0x43c85a(0x98))/0x2+-parseInt(_0x43c85a(0x154))/0x3*(parseInt(_0x43c85a(0x9f))/0x4)+-parseInt(_0x43c85a(0xc0))/0x5+-parseInt(_0x43c85a(0x14a))/0x6+parseInt(_0x43c85a(0xcb))/0x7+parseInt(_0x43c85a(0x133))/0x8;if(_0x2cfabc===_0x10d78b)break;else _0x13f19c['push'](_0x13f19c['shift']());}catch(_0x49d970){_0x13f19c['push'](_0x13f19c['shift']());}}}(_0x536f,0x9b8d2),Object[_0x56a267(0xe8)](exports,Symbol[_0x56a267(0xbd)],{'value':'Module'}));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[_0x56a267(0xf5)]{get[_0x56a267(0x153)](){const _0x42c545=_0x56a267;return e[_0x42c545(0x153)];}get['DocsTableColumnType'](){const _0x1b81f8=_0x56a267;return e[_0x1b81f8(0x104)];}get['DocsTableSelectionKind'](){return e['DocsTableSelectionKind'];}get[_0x56a267(0x95)](){const _0x4efcc9=_0x56a267;return e[_0x4efcc9(0x95)];}get[_0x56a267(0x9d)](){const _0xd283b1=_0x56a267;return e[_0xd283b1(0x9d)];}get['DocsTableBorderPreset'](){return e['DocsTableBorderPreset'];}get[_0x56a267(0xe7)](){return e['DocsTableSortDirection'];}get[_0x56a267(0x138)](){const _0x399a33=_0x56a267;return t[_0x399a33(0x138)];}};n[_0x56a267(0xf5)]['extend'](i);var a=class{constructor(_0x5f332a,_0x13d95f,_0x4b5d40){const _0x4abe19=_0x56a267;this['_table']=_0x5f332a,this['_row']=_0x13d95f,this[_0x4abe19(0x12f)]=_0x4b5d40;}['getTable'](){const _0x13c573=_0x56a267;return this[_0x13c573(0xf4)];}[_0x56a267(0x9c)](){const _0x4155b0=_0x56a267;return this[_0x4155b0(0xf6)];}[_0x56a267(0xb6)](){return this['_column'];}[_0x56a267(0x15a)](){const _0x18c59b=_0x56a267;return this[_0x18c59b(0xf4)][_0x18c59b(0x13f)](this['_row'],this['_column']);}[_0x56a267(0xa8)](){const _0x337865=_0x56a267;return this['_table'][_0x337865(0x147)](this[_0x337865(0xf6)],this[_0x337865(0x12f)]);}['getInsertOffset'](){const _0x26eb5c=_0x56a267;return this[_0x26eb5c(0xf4)]['getCellInsertOffset'](this[_0x26eb5c(0xf6)],this[_0x26eb5c(0x12f)]);}[_0x56a267(0xc4)](){const _0x2f5568=_0x56a267;return this[_0x2f5568(0xf4)][_0x2f5568(0xa7)](this['_row'],this[_0x2f5568(0x12f)]);}['getMarginOverride'](){const _0x5d47cb=_0x56a267;return this[_0x5d47cb(0xf4)]['getCellMarginOverride'](this[_0x5d47cb(0xf6)],this[_0x5d47cb(0x12f)]);}[_0x56a267(0x123)](_0x15601e){const _0x15e35f=_0x56a267;return this[_0x15e35f(0xf4)][_0x15e35f(0x10d)](this[_0x15e35f(0xf4)]['getCellRange'](this[_0x15e35f(0xf6)],this[_0x15e35f(0x12f)]),_0x15601e);}[_0x56a267(0x157)](){const _0x102a18=_0x56a267;return this['_table']['setCellMargin'](this['_table'][_0x102a18(0xc1)](this[_0x102a18(0xf6)],this[_0x102a18(0x12f)]),null);}[_0x56a267(0xc6)](_0x1b41cf){const _0x3c86f4=_0x56a267;return this['_table']['setCellText'](this['_row'],this[_0x3c86f4(0x12f)],_0x1b41cf);}[_0x56a267(0xa5)](_0x2591e9){const _0x544d41=_0x56a267;return this['_table'][_0x544d41(0x96)](this[_0x544d41(0xf4)]['getCellRange'](this[_0x544d41(0xf6)],this[_0x544d41(0x12f)]),_0x2591e9);}[_0x56a267(0x8d)](_0x4f9b70){const _0x2110a3=_0x56a267;return this[_0x2110a3(0xf4)][_0x2110a3(0x8d)](this['_table'][_0x2110a3(0xc1)](this[_0x2110a3(0xf6)],this[_0x2110a3(0x12f)]),_0x4f9b70);}['mergeTo'](_0x164474,_0x7c0530){const _0x21177a=_0x56a267;return this[_0x21177a(0xf4)][_0x21177a(0xbc)]({'startRow':this[_0x21177a(0xf6)],'startColumn':this[_0x21177a(0x12f)],'endRow':this[_0x21177a(0xf6)]+_0x164474-0x1,'endColumn':this['_column']+_0x7c0530-0x1});}['unmerge'](){const _0x32dfd8=_0x56a267;return this[_0x32dfd8(0xf4)]['unmergeCells'](this['_table']['getCellRange'](this[_0x32dfd8(0xf6)],this['_column']));}};function o(_0x6d80c8){'@babel/helpers - typeof';const _0x438ac0=_0x56a267;return o=typeof Symbol==_0x438ac0(0xda)&&typeof Symbol[_0x438ac0(0xab)]==_0x438ac0(0xbf)?function(_0x1f5012){return typeof _0x1f5012;}:function(_0x235fe6){const _0x1324f7=_0x438ac0;return _0x235fe6&&typeof Symbol==_0x1324f7(0xda)&&_0x235fe6['constructor']===Symbol&&_0x235fe6!==Symbol['prototype']?'symbol':typeof _0x235fe6;},o(_0x6d80c8);}function s(_0x237433,_0x1eb25a){const _0x2557c9=_0x56a267;if(o(_0x237433)!=_0x2557c9(0x158)||!_0x237433)return _0x237433;var _0x4c153f=_0x237433[Symbol[_0x2557c9(0xca)]];if(_0x4c153f!==void 0x0){var _0x2c4cea=_0x4c153f[_0x2557c9(0xe1)](_0x237433,_0x1eb25a||_0x2557c9(0x11d));if(o(_0x2c4cea)!=_0x2557c9(0x158))return _0x2c4cea;throw TypeError(_0x2557c9(0x150));}return(_0x1eb25a===_0x2557c9(0x9e)?String:Number)(_0x237433);}function c(_0x37656f){const _0x26bd0d=_0x56a267;var _0x256cc6=s(_0x37656f,_0x26bd0d(0x9e));return o(_0x256cc6)==_0x26bd0d(0xbf)?_0x256cc6:_0x256cc6+'';}function l(_0x574882,_0x5cc8de,_0x5ba8b1){const _0x51a3a7=_0x56a267;return(_0x5cc8de=c(_0x5cc8de))in _0x574882?Object[_0x51a3a7(0xe8)](_0x574882,_0x5cc8de,{'value':_0x5ba8b1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x574882[_0x5cc8de]=_0x5ba8b1,_0x574882;}function u(_0x219fd5,_0x2a41fa){return function(_0x2390ad,_0x10f13f){_0x2a41fa(_0x2390ad,_0x10f13f,_0x219fd5);};}function d(_0x238591,_0x3c26a5,_0x4aeaec,_0xf95748){const _0x336362=_0x56a267;var _0x51df4b=arguments['length'],_0x21e66a=_0x51df4b<0x3?_0x3c26a5:_0xf95748===null?_0xf95748=Object['getOwnPropertyDescriptor'](_0x3c26a5,_0x4aeaec):_0xf95748,_0x327c74;if(typeof Reflect=='object'&&typeof Reflect[_0x336362(0x114)]=='function')_0x21e66a=Reflect['decorate'](_0x238591,_0x3c26a5,_0x4aeaec,_0xf95748);else{for(var _0x1d8958=_0x238591[_0x336362(0x116)]-0x1;_0x1d8958>=0x0;_0x1d8958--)(_0x327c74=_0x238591[_0x1d8958])&&(_0x21e66a=(_0x51df4b<0x3?_0x327c74(_0x21e66a):_0x51df4b>0x3?_0x327c74(_0x3c26a5,_0x4aeaec,_0x21e66a):_0x327c74(_0x3c26a5,_0x4aeaec))||_0x21e66a);}return _0x51df4b>0x3&&_0x21e66a&&Object['defineProperty'](_0x3c26a5,_0x4aeaec,_0x21e66a),_0x21e66a;}let f=class{constructor(_0x332305,_0x1f9ff0,_0x1f913d,_0x447b02,_0x276548){const _0x4ec882=_0x56a267;this['_document']=_0x332305,this[_0x4ec882(0x102)]=_0x1f9ff0,this['_segmentId']=_0x1f913d,this[_0x4ec882(0xe2)]=_0x447b02,this[_0x4ec882(0x12b)]=_0x276548,l(this,_0x4ec882(0xcf),void 0x0),this[_0x4ec882(0xcf)]=this['_document']['getId']();}[_0x56a267(0x139)](){return this['_tableId'];}[_0x56a267(0xce)](){const _0x3c27ba=_0x56a267;return this[_0x3c27ba(0x156)];}[_0x56a267(0xfd)](){const _0x493246=_0x56a267;return{'id':this['_tableId'],'rowCount':this[_0x493246(0xd8)](),'columnCount':this[_0x493246(0x92)](),'metadata':this[_0x493246(0xe0)](),'source':this[_0x493246(0x11c)]()};}[_0x56a267(0x93)](){const _0x3828db=_0x56a267;let _0x4c1c8=this['getMetadata'](),_0x3d181a=this[_0x3828db(0x11c)](),_0x42cd49=this[_0x3828db(0x92)]();return{'id':this['_tableId'],'rowCount':this[_0x3828db(0xd8)](),'columnCount':_0x42cd49,'headerRowCount':(_0x4c1c8==null?void 0x0:_0x4c1c8[_0x3828db(0x11e)])??0x0,'titleRow':(_0x4c1c8==null?void 0x0:_0x4c1c8[_0x3828db(0xb2)])??!0x1,'columns':Array[_0x3828db(0xdb)]({'length':_0x42cd49},(_0x4f2e1a,_0x48690f)=>{const _0xf6d465=_0x3828db;var _0x516f3,_0x1b5efd;return{'index':_0x48690f,'type':_0x4c1c8==null||(_0x516f3=_0x4c1c8['columnTypes'])==null||(_0x516f3=_0x516f3[_0x48690f])==null?void 0x0:_0x516f3['type'],'width':_0x3d181a==null||(_0x1b5efd=_0x3d181a[_0xf6d465(0xf0)][_0x48690f])==null?void 0x0:_0x1b5efd[_0xf6d465(0xeb)][_0xf6d465(0xae)]['v']};}),'sampleRows':Array[_0x3828db(0xdb)]({'length':this[_0x3828db(0xd8)]()},(_0x1de01b,_0x395574)=>Array[_0x3828db(0xdb)]({'length':_0x42cd49},(_0x8e485f,_0x50038e)=>this['getCellText'](_0x395574,_0x50038e)))[_0x3828db(0x140)](_0x343c36=>_0x343c36[_0x3828db(0x132)](_0x47e2fe=>_0x47e2fe[_0x3828db(0x116)]>0x0))['slice'](0x0,0x5)};}[_0x56a267(0xd8)](){const _0x569db0=_0x56a267;var _0x2f3320;return((_0x2f3320=this[_0x569db0(0x11c)]())==null?void 0x0:_0x2f3320[_0x569db0(0x10e)][_0x569db0(0x116)])??0x0;}[_0x56a267(0x92)](){const _0x482a05=_0x56a267;var _0x1985a2;return((_0x1985a2=this[_0x482a05(0x11c)]())==null?void 0x0:_0x1985a2[_0x482a05(0xf0)][_0x482a05(0x116)])??0x0;}[_0x56a267(0x125)](_0x541ca0,_0x307f8f){const _0x515f5c=_0x56a267;var _0x75fa19;return(_0x75fa19=this[_0x515f5c(0x11c)]())!=null&&(_0x75fa19=_0x75fa19[_0x515f5c(0x10e)][_0x541ca0])!=null&&_0x75fa19[_0x515f5c(0x10f)][_0x307f8f]?this[_0x515f5c(0x12b)][_0x515f5c(0x130)](a,this,_0x541ca0,_0x307f8f):null;}['getCellText'](_0x166302,_0x10fdde){const _0x2ccb97=_0x56a267;var _0x3d2d21,_0x2ded2c;let _0x1df3b0=(_0x3d2d21=(0x0,e['getTableRangeById'])(this['_getDocumentData'](),this[_0x2ccb97(0x102)]))==null||(_0x3d2d21=_0x3d2d21[_0x2ccb97(0x126)][_0x166302])==null?void 0x0:_0x3d2d21[_0x2ccb97(0x144)][_0x10fdde];return _0x1df3b0?((_0x2ded2c=this[_0x2ccb97(0x9a)]()[_0x2ccb97(0xc5)])==null?void 0x0:_0x2ded2c[_0x2ccb97(0x11b)][_0x2ccb97(0xb9)](_0x1df3b0[_0x2ccb97(0xa9)]+0x1,_0x1df3b0[_0x2ccb97(0xcd)])[_0x2ccb97(0x119)](/\r\n$/,''))??'':'';}[_0x56a267(0xa7)](_0x42a46b,_0x1a3baa){const _0x3fdabc=_0x56a267;var _0x119ec;let _0x3fa7a4=this[_0x3fdabc(0x11c)](),_0x575da4=_0x3fa7a4==null||(_0x119ec=_0x3fa7a4['tableRows'][_0x42a46b])==null?void 0x0:_0x119ec['tableCells'][_0x1a3baa];return _0x575da4?t[_0x3fdabc(0xff)]['deepClone'](_0x575da4['margin']??_0x3fa7a4[_0x3fdabc(0x14e)]??e[_0x3fdabc(0x159)]):null;}['getCellMarginOverride'](_0x4d774a,_0x1a91a4){const _0x1949fd=_0x56a267;var _0x21c075;let _0x4635ac=(_0x21c075=this[_0x1949fd(0x11c)]())==null||(_0x21c075=_0x21c075[_0x1949fd(0x10e)][_0x4d774a])==null?void 0x0:_0x21c075[_0x1949fd(0x10f)][_0x1a91a4];return _0x4635ac!=null&&_0x4635ac[_0x1949fd(0xdf)]?t[_0x1949fd(0xff)]['deepClone'](_0x4635ac[_0x1949fd(0xdf)]):null;}[_0x56a267(0x128)](){const _0x5ce2a9=_0x56a267;var _0x2ec40e;return t[_0x5ce2a9(0xff)][_0x5ce2a9(0xd2)](((_0x2ec40e=this[_0x5ce2a9(0x11c)]())==null?void 0x0:_0x2ec40e[_0x5ce2a9(0x14e)])??e[_0x5ce2a9(0x159)]);}[_0x56a267(0x111)](){const _0x27a6e5=_0x56a267;var _0x126f87;let _0x1a4032=(_0x126f87=this[_0x27a6e5(0x11c)]())==null?void 0x0:_0x126f87[_0x27a6e5(0x14e)];return _0x1a4032?t['Tools'][_0x27a6e5(0xd2)](_0x1a4032):null;}[_0x56a267(0xe0)](){const _0x3139c1=_0x56a267;return this['_injector'][_0x3139c1(0x12a)](e['DocsTableModel'])[_0x3139c1(0xe6)](this[_0x3139c1(0xcf)],this[_0x3139c1(0x102)]);}['getSource'](){const _0x32dee0=_0x56a267;var _0x556ed7;return(_0x556ed7=this[_0x32dee0(0x9a)]()[_0x32dee0(0xd0)])==null?void 0x0:_0x556ed7[this['_tableId']];}[_0x56a267(0xa1)](){const _0x143eee=_0x56a267;return(0x0,e[_0x143eee(0x13b)])(this[_0x143eee(0x9a)](),this['_tableId']);}[_0x56a267(0xf9)](){const _0x1358ad=_0x56a267;return{'startRow':0x0,'endRow':Math[_0x1358ad(0x99)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x1358ad(0x99)](0x0,this[_0x1358ad(0x92)]()-0x1)};}[_0x56a267(0xc1)](_0x4ba0fc,_0x4451d9){return{'startRow':_0x4ba0fc,'endRow':_0x4ba0fc,'startColumn':_0x4451d9,'endColumn':_0x4451d9};}['getCellContentRange'](_0x8a5c5f,_0x3fc09f){const _0x4895d8=_0x56a267;var _0x23c348;let _0x54a415=(_0x23c348=(0x0,e[_0x4895d8(0x13b)])(this[_0x4895d8(0x9a)](),this[_0x4895d8(0x102)]))==null||(_0x23c348=_0x23c348[_0x4895d8(0x126)][_0x8a5c5f])==null?void 0x0:_0x23c348[_0x4895d8(0x144)][_0x3fc09f];if(!_0x54a415)return null;let _0x96a961=_0x54a415[_0x4895d8(0xa9)]+0x1;return{'startOffset':_0x96a961,'endOffset':Math['max'](_0x96a961,_0x54a415[_0x4895d8(0xcd)]-0x1),'segmentId':this['_segmentId']};}[_0x56a267(0x155)](_0x593501,_0xa4bb4){const _0x484ef1=_0x56a267;let _0xe3f7d5=this[_0x484ef1(0x147)](_0x593501,_0xa4bb4);return _0xe3f7d5?Math[_0x484ef1(0x99)](_0xe3f7d5[_0x484ef1(0xa9)],_0xe3f7d5[_0x484ef1(0xcd)]-0x1):null;}[_0x56a267(0xfe)](_0x78452c){const _0x16c307=_0x56a267;return this[_0x16c307(0xe4)](_0x78452c,0x1);}[_0x56a267(0xe4)](_0xe5aa88,_0x5cc6f7=0x1){const _0x267caf=_0x56a267;return{'startRow':_0xe5aa88,'endRow':_0xe5aa88+_0x5cc6f7-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x267caf(0x92)]()-0x1)};}[_0x56a267(0x152)](_0x42df19){const _0x427ae2=_0x56a267;return this[_0x427ae2(0x13c)](_0x42df19,0x1);}[_0x56a267(0x13c)](_0x1f4482,_0x4c04f1=0x1){const _0x5af657=_0x56a267;return{'startRow':0x0,'endRow':Math[_0x5af657(0x99)](0x0,this[_0x5af657(0xd8)]()-0x1),'startColumn':_0x1f4482,'endColumn':_0x1f4482+_0x4c04f1-0x1};}['selectTable'](){const _0x71280d=_0x56a267;return this[_0x71280d(0x149)](this[_0x71280d(0xf9)](),e['DocsTableSelectionKind']['Table']);}['selectRow'](_0x503500){return this['selectRows'](_0x503500,0x1);}['selectRows'](_0x284831,_0x2fb542=0x1){const _0x21040a=_0x56a267;return this['selectRange'](this[_0x21040a(0xe4)](_0x284831,_0x2fb542),e[_0x21040a(0x11a)][_0x21040a(0x10b)]);}[_0x56a267(0xe3)](_0x513dd1){const _0x3ce6de=_0x56a267;return this[_0x3ce6de(0xb3)](_0x513dd1,0x1);}[_0x56a267(0xb3)](_0x4cd105,_0x47d2ba=0x1){const _0x24c464=_0x56a267;return this[_0x24c464(0x149)](this[_0x24c464(0x13c)](_0x4cd105,_0x47d2ba),e[_0x24c464(0x11a)][_0x24c464(0xef)]);}[_0x56a267(0x101)](_0x1abfc6,_0x4d44ad){const _0x510c34=_0x56a267;return this[_0x510c34(0x149)](this[_0x510c34(0xc1)](_0x1abfc6,_0x4d44ad),e[_0x510c34(0x11a)][_0x510c34(0x142)]);}[_0x56a267(0x149)](_0x20ddfa,_0x3ee7d4=e[_0x56a267(0x11a)][_0x56a267(0x129)]){const _0x421a12=_0x56a267;return this[_0x421a12(0x12b)][_0x421a12(0x12a)](e['DocsTableSelectionService'])[_0x421a12(0xee)]({..._0x20ddfa,'kind':_0x3ee7d4,'segmentId':this[_0x421a12(0x156)],'tableId':this[_0x421a12(0x102)]}),!0x0;}['insertRowBefore'](_0x2d8038){const _0x1fbce1=_0x56a267;return this[_0x1fbce1(0xb5)](_0x2d8038,0x1);}['insertRowAfter'](_0x3e8ca3){return this['insertRowsAfter'](_0x3e8ca3,0x1);}['insertRowsBefore'](_0x4060ff,_0x4f85c9){const _0x36cf32=_0x56a267;let _0x420749=this[_0x36cf32(0x9a)](),_0x10ea80=(0x0,e[_0x36cf32(0xd5)])(_0x420749,this[_0x36cf32(0x102)],_0x4060ff,_0x4f85c9,e[_0x36cf32(0x122)][_0x36cf32(0xbe)],this[_0x36cf32(0x146)]());return _0x10ea80?this[_0x36cf32(0xaf)](_0x420749,_0x10ea80[_0x36cf32(0xf3)]):!0x1;}['insertRowsAfter'](_0x453e6e,_0x3f8017){const _0x9b8f5d=_0x56a267;let _0x1b7044=this[_0x9b8f5d(0x9a)](),_0xd57c2e=(0x0,e['buildInsertTableRowsMutationActions'])(_0x1b7044,this[_0x9b8f5d(0x102)],_0x453e6e,_0x3f8017,e['DocsTableInsertPosition']['Below'],this[_0x9b8f5d(0x146)]());return _0xd57c2e?this['_mutateActions'](_0x1b7044,_0xd57c2e[_0x9b8f5d(0xf3)]):!0x1;}[_0x56a267(0xf7)](){const _0x4a09dd=_0x56a267;return this[_0x4a09dd(0x106)](Math[_0x4a09dd(0x99)](0x0,this[_0x4a09dd(0xd8)]()-0x1),0x1);}[_0x56a267(0xc9)](_0x4d37c1){return this['insertColumnsBefore'](_0x4d37c1,0x1);}[_0x56a267(0x12e)](_0x33a092){return this['insertColumnsAfter'](_0x33a092,0x1);}['insertColumnsBefore'](_0x315383,_0x46aa0e){const _0x356059=_0x56a267;let _0xb422d7=this[_0x356059(0x9a)](),_0x287790=(0x0,e[_0x356059(0xa4)])(_0xb422d7,this[_0x356059(0x102)],_0x315383,_0x46aa0e,e[_0x356059(0x122)][_0x356059(0x100)],{'bodyPath':this[_0x356059(0x146)]()});return _0x287790?this['_mutateActions'](_0xb422d7,_0x287790[_0x356059(0xf3)]):!0x1;}['insertColumnsAfter'](_0x2fee2b,_0x1a8ae1){const _0xdf0abc=_0x56a267;let _0x54070c=this[_0xdf0abc(0x9a)](),_0x694438=(0x0,e[_0xdf0abc(0xa4)])(_0x54070c,this[_0xdf0abc(0x102)],_0x2fee2b,_0x1a8ae1,e['DocsTableInsertPosition'][_0xdf0abc(0xdc)],{'bodyPath':this[_0xdf0abc(0x146)]()});return _0x694438?this[_0xdf0abc(0xaf)](_0x54070c,_0x694438[_0xdf0abc(0xf3)]):!0x1;}[_0x56a267(0xc7)](){const _0x4c5402=_0x56a267;return this[_0x4c5402(0xb1)](Math[_0x4c5402(0x99)](0x0,this[_0x4c5402(0x92)]()-0x1),0x1);}[_0x56a267(0x137)](_0x4023a4){const _0x4767b5=_0x56a267;return this[_0x4767b5(0x14f)](_0x4023a4,0x1);}['deleteRows'](_0x4b1808,_0x1fa862=0x1){const _0xd5e70d=_0x56a267;return!!this[_0xd5e70d(0xe2)][_0xd5e70d(0x8e)](e[_0xd5e70d(0x14d)]['id'],{'endRow':_0x4b1808+_0x1fa862-0x1,'segmentId':this[_0xd5e70d(0x156)],'startRow':_0x4b1808,'tableId':this[_0xd5e70d(0x102)],'unitId':this[_0xd5e70d(0xcf)]});}[_0x56a267(0x109)](_0xf9941){const _0x405513=_0x56a267;return this[_0x405513(0x141)](_0xf9941,0x1);}['deleteColumns'](_0x195007,_0x4ab900=0x1){const _0x48c155=_0x56a267;return!!this[_0x48c155(0xe2)][_0x48c155(0x8e)](e['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x195007+_0x4ab900-0x1,'segmentId':this[_0x48c155(0x156)],'startColumn':_0x195007,'tableId':this['_tableId'],'unitId':this['_unitId']});}['deleteTable'](){const _0x32e954=_0x56a267;return!!this[_0x32e954(0xe2)][_0x32e954(0x8e)](e['DocsTableDeleteTableCommand']['id'],{'segmentId':this[_0x32e954(0x156)],'tableId':this[_0x32e954(0x102)],'unitId':this[_0x32e954(0xcf)]});}[_0x56a267(0xed)](_0xd03be5,_0x434b73){const _0x4cf141=_0x56a267;let _0xeb82d4=this[_0x4cf141(0x9a)]();return this[_0x4cf141(0xaf)](_0xeb82d4,(0x0,e[_0x4cf141(0x136)])(_0xeb82d4,this[_0x4cf141(0x102)],_0xd03be5,_0x434b73));}['moveTableToOffset'](_0x588058){const _0x22c8f2=_0x56a267;let _0x1209dd=this['_getDocumentData']();return this[_0x22c8f2(0xaf)](_0x1209dd,(0x0,e[_0x22c8f2(0x117)])(_0x1209dd,this[_0x22c8f2(0x102)],_0x588058,this[_0x22c8f2(0x146)]()));}['moveRow'](_0x5e4f1a,_0x4614e0,_0x303b24=e[_0x56a267(0x122)][_0x56a267(0xbe)]){const _0x12b467=_0x56a267;return this[_0x12b467(0xba)](_0x5e4f1a,0x1,_0x4614e0,_0x303b24);}[_0x56a267(0xba)](_0x2b34cb,_0x13e19e,_0x3f7b8,_0x3c4aa5=e['DocsTableInsertPosition'][_0x56a267(0xbe)]){const _0x333682=_0x56a267;let _0x446835=this['_getDocumentData'](),_0x4b549c=(0x0,e[_0x333682(0xa0)])(_0x446835,this[_0x333682(0x102)],_0x2b34cb,_0x3f7b8,_0x13e19e,_0x3c4aa5,this[_0x333682(0x146)]());return _0x4b549c?this[_0x333682(0xaf)](_0x446835,_0x4b549c['actions']):!0x1;}[_0x56a267(0xc2)](_0x3feaab,_0x3589c7,_0x47bf72=e[_0x56a267(0x122)][_0x56a267(0x100)]){return this['moveColumns'](_0x3feaab,0x1,_0x3589c7,_0x47bf72);}[_0x56a267(0x9b)](_0x3c0c36,_0x1a8ec3,_0x1e67ff,_0x1bf05a=e[_0x56a267(0x122)]['Left']){const _0x5ce144=_0x56a267;let _0x5109c2=this[_0x5ce144(0x9a)](),_0x4b6b44=(0x0,e[_0x5ce144(0x151)])(_0x5109c2,this[_0x5ce144(0x102)],_0x3c0c36,_0x1e67ff,_0x1a8ec3,_0x1bf05a,this[_0x5ce144(0x146)]());return _0x4b6b44?this[_0x5ce144(0xaf)](_0x5109c2,_0x4b6b44[_0x5ce144(0xf3)]):!0x1;}[_0x56a267(0xbc)](_0x2005c4){const _0x1aa01a=_0x56a267;try{let _0x51e33c=this['_getDocumentData'](),_0x1b2d2c=(0x0,e[_0x1aa01a(0x135)])({'documentData':_0x51e33c,'tableId':this[_0x1aa01a(0x102)],..._0x2005c4});return _0x1b2d2c?this[_0x1aa01a(0xaf)](_0x51e33c,_0x1b2d2c[_0x1aa01a(0xf3)],_0x2005c4):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x46b54c){const _0x9a3da3=_0x56a267;try{let _0x43f0e7=this[_0x9a3da3(0x9a)](),_0x4f1090=(0x0,e['buildUnmergeCellsMutationActions'])({'documentData':_0x43f0e7,'tableId':this['_tableId'],..._0x46b54c});return _0x4f1090?this[_0x9a3da3(0xaf)](_0x43f0e7,_0x4f1090['actions'],_0x46b54c):!0x1;}catch{return!0x1;}}[_0x56a267(0xd7)](_0x1b5322,_0x351b4d,_0x26c89c){const _0x28463b=_0x56a267;let _0x4046d2=this[_0x28463b(0x9a)](),_0xc6f4ff=(0x0,e['getTableActionBodyPath'])(this['_document'][_0x28463b(0xc3)]()[_0x28463b(0xfc)](),this[_0x28463b(0x156)]);return this[_0x28463b(0xaf)](_0x4046d2,(0x0,e['buildSetTableCellTextMutationActions'])({'documentData':_0x4046d2,'tableId':this[_0x28463b(0x102)],'row':_0x1b5322,'column':_0x351b4d,'text':_0x26c89c},_0xc6f4ff),this[_0x28463b(0xc1)](_0x1b5322,_0x351b4d));}[_0x56a267(0x96)](_0x30cebd,_0x199161){const _0x4049fc=_0x56a267;let _0x2b73f3=this['_getDocumentData']();return this[_0x4049fc(0xaf)](_0x2b73f3,(0x0,e[_0x4049fc(0x90)])(_0x2b73f3,{'tableId':this[_0x4049fc(0x102)],..._0x30cebd,'value':_0x199161}),_0x30cebd);}[_0x56a267(0x10d)](_0x554bea,_0x15482b){const _0x1527c2=_0x56a267;let _0x532087=this[_0x1527c2(0x9a)]();return this[_0x1527c2(0xaf)](_0x532087,(0x0,e['buildSetTableCellMarginMutationActions'])({'documentData':_0x532087,'tableId':this[_0x1527c2(0x102)],..._0x554bea,'margin':_0x15482b}),_0x554bea);}['setDefaultCellMargin'](_0x20710b){const _0x5754f9=_0x56a267;let _0x2b1840=this[_0x5754f9(0x9a)]();return this[_0x5754f9(0xaf)](_0x2b1840,(0x0,e['buildSetTableDefaultCellMarginMutationActions'])(_0x2b1840,this['_tableId'],_0x20710b));}[_0x56a267(0x8d)](_0x8b00e3,_0x1b481b){const _0x1587fe=_0x56a267;let _0x46c370=this[_0x1587fe(0x9a)]();return this[_0x1587fe(0xaf)](_0x46c370,(0x0,e['buildSetTableBorderMutationActions'])({'documentData':_0x46c370,'tableId':this[_0x1587fe(0x102)],..._0x8b00e3,'preset':_0x1b481b[_0x1587fe(0x145)]??e[_0x1587fe(0xf2)][_0x1587fe(0x103)],'border':_0x1b481b[_0x1587fe(0x13a)]??{'color':{'rgb':_0x1b481b[_0x1587fe(0x10a)]??_0x1587fe(0x94)},'width':{'v':_0x1b481b[_0x1587fe(0xae)]??0x1},'dashStyle':t[_0x1587fe(0x138)][_0x1587fe(0xa2)]}}),_0x8b00e3);}[_0x56a267(0x108)](_0x118ea5){const _0x237e78=_0x56a267;return this[_0x237e78(0x96)](this['getTableRange'](),_0x118ea5);}['setTableBorder'](_0x157c20){const _0x57380d=_0x56a267;return this[_0x57380d(0x8d)](this[_0x57380d(0xf9)](),_0x157c20);}[_0x56a267(0x107)](_0x2a37e0){const _0x7cc540=_0x56a267;let _0x5b7472=!_0x2a37e0[_0x7cc540(0xd9)]||this['setTableBackground'](_0x2a37e0[_0x7cc540(0xd9)]),_0x246a28=!_0x2a37e0[_0x7cc540(0x13a)]||this[_0x7cc540(0x105)](_0x2a37e0[_0x7cc540(0x13a)]);return _0x5b7472&&_0x246a28;}['setRowHeight'](_0x5a1802,_0x26b289,_0x3d2431=t[_0x56a267(0x12d)][_0x56a267(0x97)]){const _0x3128ab=_0x56a267;var _0x5a3f22;let _0x5a8ace=this['_getDocumentData']();return(_0x5a3f22=_0x5a8ace['tableSource'])!=null&&(_0x5a3f22=_0x5a3f22[this[_0x3128ab(0x102)]])!=null&&_0x5a3f22[_0x3128ab(0x10e)][_0x5a1802]?this[_0x3128ab(0xaf)](_0x5a8ace,(0x0,e[_0x3128ab(0xe9)])(_0x5a8ace,this[_0x3128ab(0x102)],_0x5a1802,_0x26b289,_0x3d2431)):!0x1;}[_0x56a267(0xf8)](_0x2043bd){const _0x140c57=_0x56a267;var _0x548b83;let _0x26add0=(_0x548b83=this[_0x140c57(0x11c)]())==null||(_0x548b83=_0x548b83[_0x140c57(0x10e)][_0x2043bd])==null?void 0x0:_0x548b83[_0x140c57(0xaa)];return _0x26add0?t['Tools'][_0x140c57(0xd2)](_0x26add0):null;}[_0x56a267(0x11f)](_0x30dfc5,_0x24e1f9){const _0x5aaf35=_0x56a267;var _0xb57b37;let _0x55cad7=this[_0x5aaf35(0x9a)]();return(_0xb57b37=_0x55cad7['tableSource'])!=null&&(_0xb57b37=_0xb57b37[this[_0x5aaf35(0x102)]])!=null&&_0xb57b37[_0x5aaf35(0xf0)][_0x30dfc5]?this[_0x5aaf35(0xaf)](_0x55cad7,(0x0,e['buildResizeTableColumnActionsFromWidth'])(_0x55cad7,this[_0x5aaf35(0x102)],_0x30dfc5,_0x24e1f9)):!0x1;}[_0x56a267(0x14c)](_0x5e33a3=0x0,_0x3f6f8f=this[_0x56a267(0xd8)]()){const _0xb633f5=_0x56a267;let _0x40073b=this[_0xb633f5(0x9a)]();return this[_0xb633f5(0xaf)](_0x40073b,(0x0,e[_0xb633f5(0x112)])(_0x40073b,this[_0xb633f5(0x102)],_0x5e33a3,_0x5e33a3+_0x3f6f8f-0x1));}[_0x56a267(0xc8)](_0x28895e=0x0,_0x420aff=this[_0x56a267(0x92)]()){const _0x1f947a=_0x56a267;let _0x20b7a7=this['_getDocumentData']();return this['_mutateActions'](_0x20b7a7,(0x0,e[_0x1f947a(0xad)])(_0x20b7a7,this[_0x1f947a(0x102)],_0x28895e,_0x28895e+_0x420aff-0x1));}[_0x56a267(0xde)](){const _0xc3c67f=_0x56a267;var _0x2d84a2;return((_0x2d84a2=this['getMetadata']())==null?void 0x0:_0x2d84a2[_0xc3c67f(0x11e)])??0x0;}[_0x56a267(0xdd)](_0x458c6f){const _0x4226df=_0x56a267;let _0x1f45b0=this[_0x4226df(0x12b)][_0x4226df(0x12a)](e[_0x4226df(0xb4)]),_0x5515a7=this[_0x4226df(0x9a)](),_0x18d03d=(0x0,e['buildSetTableHeaderRowCountMutationActions'])(_0x5515a7,this[_0x4226df(0x102)],_0x458c6f);if(!_0x18d03d)return!0x1;let _0x411f01=this[_0x4226df(0xaf)](_0x5515a7,_0x18d03d[_0x4226df(0xf3)]);return _0x411f01&&_0x1f45b0[_0x4226df(0xdd)](this[_0x4226df(0xcf)],this[_0x4226df(0x102)],_0x18d03d[_0x4226df(0x11e)]),_0x411f01;}[_0x56a267(0x12c)](_0x4b70c0){const _0x4044b0=_0x56a267;return this[_0x4044b0(0xdd)](_0x4b70c0);}['hasTitleRow'](){const _0xc3ed68=_0x56a267;var _0xd3a116;return((_0xd3a116=this['getMetadata']())==null?void 0x0:_0xd3a116[_0xc3ed68(0xb2)])??!0x1;}['insertTitleRow'](){const _0x1a294e=_0x56a267;let _0x54785b=this[_0x1a294e(0x12b)][_0x1a294e(0x12a)](e[_0x1a294e(0xb4)]),_0x345d2a=this[_0x1a294e(0x9a)](),_0x579489=(0x0,e[_0x1a294e(0xd6)])(_0x345d2a,this[_0x1a294e(0x102)],this[_0x1a294e(0x146)]());if(!_0x579489)return!0x1;let _0x39ef88=this[_0x1a294e(0xaf)](_0x345d2a,_0x579489[_0x1a294e(0xf3)]);return _0x39ef88&&_0x54785b[_0x1a294e(0xcc)](this[_0x1a294e(0xcf)],this['_tableId'],!0x0),_0x39ef88;}[_0x56a267(0xfa)](_0x24fc6b,_0x95a7ca){const _0x3a075d=_0x56a267;return this['_injector'][_0x3a075d(0x12a)](e['DocsTableModel'])[_0x3a075d(0xfa)](this[_0x3a075d(0xcf)],this['_tableId'],_0x24fc6b,_0x95a7ca),!0x0;}[_0x56a267(0x13e)](_0x4da83e,_0x2f7160){const _0x582ab8=_0x56a267;let _0x49fe99=this['_getDocumentData']();return this[_0x582ab8(0xaf)](_0x49fe99,(0x0,e['buildSortTableMutationActions'])(_0x49fe99,this[_0x582ab8(0xb8)](),this[_0x582ab8(0x102)],_0x4da83e,_0x2f7160,this['_getBodyPath']()));}[_0x56a267(0x9a)](){const _0x5cb991=_0x56a267;let _0x4192a3=this[_0x5cb991(0x127)][_0x5cb991(0xc3)]()[_0x5cb991(0xfc)]();return this[_0x5cb991(0x156)]?{...this['_document'][_0x5cb991(0xc3)](this['_segmentId'])[_0x5cb991(0xfc)](),'documentStyle':_0x4192a3['documentStyle'],'tableSource':_0x4192a3[_0x5cb991(0xd0)]}:_0x4192a3;}[_0x56a267(0xb8)](){const _0x4dc053=_0x56a267;return this[_0x4dc053(0x12b)][_0x4dc053(0x12a)](e[_0x4dc053(0xb4)])['serialize'](this['_unitId']);}[_0x56a267(0x146)](){const _0x1c9443=_0x56a267;return(0x0,e[_0x1c9443(0xa3)])(this[_0x1c9443(0x127)][_0x1c9443(0xc3)]()[_0x1c9443(0xfc)](),this[_0x1c9443(0x156)]);}[_0x56a267(0xaf)](_0x248ecb,_0x2dcfb3,_0xef12ca){const _0x498831=_0x56a267;return(0x0,e[_0x498831(0x134)])(this[_0x498831(0xe2)],this[_0x498831(0xcf)],_0x248ecb,_0x2dcfb3,_0xef12ca?{'tableId':this[_0x498831(0x102)],'segmentId':this[_0x498831(0x156)],..._0xef12ca}:void 0x0);}};function _0x4b51(_0x1f6e57,_0x224106){_0x1f6e57=_0x1f6e57-0x8d;const _0x536f4c=_0x536f();let _0x4b515f=_0x536f4c[_0x1f6e57];return _0x4b515f;}f=d([u(0x3,t['ICommandService']),u(0x4,(0x0,t[_0x56a267(0xa6)])(t[_0x56a267(0xe5)]))],f);var p=class extends r[_0x56a267(0xec)]{[_0x56a267(0x8f)](_0x1f5152=''){const _0x238da7=_0x56a267;return this[_0x238da7(0x14b)](_0x1f5152)['map'](_0xa1adcf=>this[_0x238da7(0x110)](_0xa1adcf['tableId'],_0x1f5152));}[_0x56a267(0x120)](_0x218caf,_0x4e3e1a=''){const _0x5734f6=_0x56a267;return this[_0x5734f6(0x14b)](_0x4e3e1a)[_0x5734f6(0x132)](_0x39796f=>_0x39796f[_0x5734f6(0x124)]===_0x218caf)?this['_createFDocumentTable'](_0x218caf,_0x4e3e1a):null;}['getTableAt'](_0x2351d3,_0x192735=''){const _0x4748b7=_0x56a267;var _0x3826c6;let _0x285c22=(_0x3826c6=this[_0x4748b7(0x14b)](_0x192735)[_0x2351d3])==null?void 0x0:_0x3826c6[_0x4748b7(0x124)];return _0x285c22?this[_0x4748b7(0x110)](_0x285c22,_0x192735):null;}['getTableAtSelection'](){const _0x400e8a=_0x56a267;let _0x2178ed=this[_0x400e8a(0x12b)][_0x400e8a(0x12a)](e['DocsTableSelectionService'])[_0x400e8a(0x115)]();return _0x2178ed!=null&&_0x2178ed[_0x400e8a(0x124)]?this['_createFDocumentTable'](_0x2178ed[_0x400e8a(0x124)],_0x2178ed[_0x400e8a(0x148)]):null;}['findTableByText'](_0x209528,_0x44e416=''){const _0x150526=_0x56a267;return this[_0x150526(0xd4)](_0x209528,_0x44e416)[0x0]??null;}[_0x56a267(0xd4)](_0x56dc56,_0x59b690=''){const _0x26bd1a=_0x56a267;let _0x10cc28=this[_0x26bd1a(0x10c)](_0x59b690),_0xf9d17d=typeof _0x56dc56==_0x26bd1a(0x9e)?{'text':_0x56dc56}:_0x56dc56;return this[_0x26bd1a(0x8f)](_0x59b690)[_0x26bd1a(0x140)](_0x168fce=>{const _0x283361=_0x26bd1a;let _0x28e7b0=_0x168fce[_0x283361(0x139)]();return!(_0xf9d17d[_0x283361(0x124)]&&_0x28e7b0!==_0xf9d17d[_0x283361(0x124)]||_0xf9d17d['text']&&!this['_tableContainsText'](_0x10cc28,_0x28e7b0,_0xf9d17d[_0x283361(0xf1)])||_0xf9d17d[_0x283361(0xbb)]&&!this[_0x283361(0xfb)](_0x168fce,0x0,_0xf9d17d[_0x283361(0xbb)])||_0xf9d17d[_0x283361(0xd1)]&&!this['_rowContainsText'](_0x168fce,0x0,_0xf9d17d['titleText']));});}[_0x56a267(0xb7)](_0x3b26b2,_0x141ff3,_0x50600f={}){const _0x4b42d5=_0x56a267;let _0x4b600=this[_0x4b42d5(0x12b)]['get'](t[_0x4b42d5(0x91)]),_0x43fdcc=_0x50600f['tableId']??(0x0,t[_0x4b42d5(0xd3)])(0x6);return _0x4b600[_0x4b42d5(0x8e)](e[_0x4b42d5(0x13d)]['id'],{..._0x50600f,'unitId':this['getId'](),'rows':_0x3b26b2,'columns':_0x141ff3,'tableId':_0x43fdcc})?this[_0x4b42d5(0x110)](_0x43fdcc,_0x50600f[_0x4b42d5(0x148)]??''):null;}[_0x56a267(0x118)](_0x9d01d0,_0x292e62={}){const _0x3d9a8b=_0x56a267;let _0x22e6d1=this[_0x3d9a8b(0x12b)][_0x3d9a8b(0x12a)](t[_0x3d9a8b(0x91)]),_0x289783=_0x292e62[_0x3d9a8b(0x124)]??(0x0,t['generateRandomId'])(0x6);return _0x22e6d1[_0x3d9a8b(0x8e)](e[_0x3d9a8b(0x13d)]['id'],{..._0x292e62,'unitId':this[_0x3d9a8b(0x139)](),'values':_0x9d01d0,'tableId':_0x289783})?this['_createFDocumentTable'](_0x289783,_0x292e62[_0x3d9a8b(0x148)]??''):null;}[_0x56a267(0x14b)](_0x4a6f3f=''){const _0x2aaf4e=_0x56a267;let {tables:_0x4f3e79=[]}=this[_0x2aaf4e(0xea)](_0x4a6f3f);return _0x4f3e79;}[_0x56a267(0x10c)](_0x4b842d=''){const _0x18c492=_0x56a267;let _0x47702a=this[_0x18c492(0xc3)]()[_0x18c492(0xfc)]();return _0x4b842d?{...this[_0x18c492(0xc3)](_0x4b842d)[_0x18c492(0xfc)](),'documentStyle':_0x47702a['documentStyle'],'tableSource':_0x47702a['tableSource']}:_0x47702a;}['_createFDocumentTable'](_0x13e450,_0x5956d8=''){const _0x15483a=_0x56a267;return this[_0x15483a(0x12b)][_0x15483a(0x130)](f,this,_0x13e450,_0x5956d8);}[_0x56a267(0x113)](_0x19e6d5,_0x5137c1,_0x3ccb8c){const _0x13c234=_0x56a267;var _0xb70b28;let _0x5a6ebe=(0x0,e[_0x13c234(0x13b)])(_0x19e6d5,_0x5137c1);if(!_0x5a6ebe)return!0x1;let _0x2b33d6=(_0xb70b28=_0x19e6d5[_0x13c234(0xc5)])==null?void 0x0:_0xb70b28[_0x13c234(0x11b)];return _0x2b33d6?_0x2b33d6[_0x13c234(0xb9)](_0x5a6ebe[_0x13c234(0xa9)],_0x5a6ebe[_0x13c234(0xcd)])[_0x13c234(0x121)](_0x3ccb8c):!0x1;}[_0x56a267(0xfb)](_0x4ee200,_0x542657,_0x1f03ee){const _0x4e5e6e=_0x56a267;return Array[_0x4e5e6e(0xdb)]({'length':_0x4ee200[_0x4e5e6e(0x92)]()},(_0x146c29,_0xe266b2)=>_0x4ee200[_0x4e5e6e(0x13f)](_0x542657,_0xe266b2))[_0x4e5e6e(0x132)](_0x3447f2=>_0x3447f2[_0x4e5e6e(0x121)](_0x1f03ee));}};r[_0x56a267(0xec)][_0x56a267(0x131)](p),Object[_0x56a267(0xe8)](exports,_0x56a267(0xac),{'enumerable':!0x0,'get':function(){return f;}}),exports[_0x56a267(0xb0)]=a;
|