@univerjs-pro/docs-table 1.0.0-alpha.7 → 1.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x55d6(_0x58c76f,_0x2a6888){_0x58c76f=_0x58c76f-0x17d;const _0x37255b=_0x3725();let _0x55d6ad=_0x37255b[_0x58c76f];return _0x55d6ad;}const _0x1765da=_0x55d6;(function(_0x1182e1,_0x57cdd0){const _0x4689d5=_0x55d6,_0x3199b9=_0x1182e1();while(!![]){try{const _0x55dadc=parseInt(_0x4689d5(0x1d3))/0x1*(parseInt(_0x4689d5(0x239))/0x2)+-parseInt(_0x4689d5(0x244))/0x3+-parseInt(_0x4689d5(0x21a))/0x4+parseInt(_0x4689d5(0x23a))/0x5+parseInt(_0x4689d5(0x19d))/0x6+-parseInt(_0x4689d5(0x1d6))/0x7*(parseInt(_0x4689d5(0x1ad))/0x8)+parseInt(_0x4689d5(0x238))/0x9;if(_0x55dadc===_0x57cdd0)break;else _0x3199b9['push'](_0x3199b9['shift']());}catch(_0x12b3ef){_0x3199b9['push'](_0x3199b9['shift']());}}}(_0x3725,0x9b2b9),Object['defineProperty'](exports,Symbol[_0x1765da(0x1b4)],{'value':'Module'}));let e=require('@univerjs-pro/docs-table'),t=require('@univerjs/core'),n=require('@univerjs/core/facade'),r=require('@univerjs/docs/facade');function _0x3725(){const _0x7d5460=['_injector','_serializeModel','Right','FEnum','ICommandService','FDocumentTableCell','getRowIndex','getTableRange','mergeTo','startOffset','getTables','segmentId','getSegmentId','getMarginOverride','getStableTableSelection','getTable','object','endOffset','insertRowBefore','rows','setCellMargin','_table','getSnapshot','insertTable','getCellText','buildMoveTableToOffsetMutationActions','function','type','getColumnIndex','FDocument','getId','_rowContainsText','buildSetTableBackgroundMutationActions','setColumnWidth','buildDistributeTableColumnsMutationActions','trHeight','getRowRange','getRange','DocsTableBorderPreset','setRowHeight','buildSetTableCellMarginMutationActions','4054196oywGDJ','headerText','selectColumns','getCellMarginOverride','get','toPrimitive','#1f1f1f','setCellBackground','Left','Above','hasTitleRow','max','tableId','setText','border','appendRow','findTables','DocsTableInsertPosition','DocsTableColumnType','buildDeleteTableColumnsMutationActions','tableRows','getBody','findTableByText','buildDeleteTableMutationActions','width','margin','text','symbol','deleteRow','_tableId','8106615LFIIuJ','11054FRvhCZ','5477250RRSAum','setTableBackground','setTableStyle','defineProperty','serialize','map','deleteColumn','selectTable','Range','Table','2029023UgjCxe','buildDistributeTableRowsMutationActions','titleText','getColumnsRange','getTableRangeById','filter','DocsTableColumnInsertPosition','buildInsertTableRowsMutationActions','moveColumn','deleteTable','insertRowsAfter','getDefaultCellMargin','extend','actions','getColumnRange','getMetadata','Cell','insertTitleRow','moveColumns','DocsTableInsertTableCommand','setTableBorder','DEFAULT_DOCS_TABLE_CELL_MARGIN','includes','selectColumn','Row','string','getTableAtSelection','deepClone','distributeRows','dataStream','DocsTableModel','getCellInsertOffset','buildSetTableHeaderRowCountMutationActions','length','insertColumnsBefore','_segmentId','insertColumnBefore','tableSource','preset','DocsTableSelectionKind','deleteColumns','iterator','getCellContentRange','buildMergeCellsMutationActions','setBorder','moveRow','sortByColumn','_createFDocumentTable','call','buildSetTableDefaultCellMarginMutationActions','prototype','4113102AsapJz','tableCells','cells','setTitleRow','getColumnCount','generateRandomId','constructor','TableRowHeightRule','backgroundColor','getTableAt','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getTableMetadata','buildUnmergeCellsMutationActions','_tableContainsText','moveTableToOffset','tableColumns','1208OaPkIz','unmergeCells','describe','insertColumnAfter','_unitId','_getTables','_mutateActions','toStringTag','pinHeaderRows','DocsTableInsertTablePosition','_getDocumentData','selectRows','DocsTableSortDirection','_row','moveTableBy','DashStyleType','buildSetTableBorderMutationActions','body','titleRow','Tools','slice','buildMoveFloatingTableMutationActions','getCell','selectRange','cellMargin','setCellText','getSource','setColumnType','getRowsRange','DocsTableSelectionService','syncExecuteCommand','selectRow','setHeaderRowCount','insertRowsBefore','getCellMargin','createInstance','columnTypes','getContentRange','86bIVtxs','getRowCount','getDefaultCellMarginOverride','38549LtyDIB','clearMarginOverride','setStructuralSelection','moveRows','buildInsertTableColumnsMutationActions','some','_document','buildInsertTableTitleRowMutationActions','_column','getDocumentDataModel','replace','SOLID','distributeColumns','insertColumnsAfter','_getBodyPath','from','getTableActionBodyPath','appendColumn','deleteRows','setBackgroundColor','color','getCellRange','headerRowCount','mergeCells','All','buildMoveTableRowsMutationActions','getRowHeight'];_0x3725=function(){return _0x7d5460;};return _0x3725();}var i=class extends n[_0x1765da(0x1f4)]{get[_0x1765da(0x1b6)](){const _0x1eb1fe=_0x1765da;return e[_0x1eb1fe(0x1b6)];}get[_0x1765da(0x22c)](){return e['DocsTableColumnType'];}get[_0x1765da(0x191)](){const _0x57bad2=_0x1765da;return e[_0x57bad2(0x191)];}get['DocsTableRowInsertPosition'](){return e['DocsTableRowInsertPosition'];}get[_0x1765da(0x24a)](){return e['DocsTableColumnInsertPosition'];}get[_0x1765da(0x217)](){const _0x4f633c=_0x1765da;return e[_0x4f633c(0x217)];}get[_0x1765da(0x1b9)](){const _0x523842=_0x1765da;return e[_0x523842(0x1b9)];}get[_0x1765da(0x1bc)](){return t['DashStyleType'];}};n[_0x1765da(0x1f4)]['extend'](i);var a=class{constructor(_0x2c99bb,_0x13cd3a,_0x129cfb){const _0x217253=_0x1765da;this[_0x217253(0x206)]=_0x2c99bb,this[_0x217253(0x1ba)]=_0x13cd3a,this[_0x217253(0x1de)]=_0x129cfb;}['getTable'](){const _0x23158c=_0x1765da;return this[_0x23158c(0x206)];}[_0x1765da(0x1f7)](){const _0x2ed6fd=_0x1765da;return this[_0x2ed6fd(0x1ba)];}[_0x1765da(0x20d)](){const _0x219753=_0x1765da;return this[_0x219753(0x1de)];}['getText'](){const _0x831f71=_0x1765da;return this[_0x831f71(0x206)]['getCellText'](this['_row'],this['_column']);}[_0x1765da(0x1d2)](){const _0x359a82=_0x1765da;return this[_0x359a82(0x206)]['getCellContentRange'](this[_0x359a82(0x1ba)],this[_0x359a82(0x1de)]);}['getInsertOffset'](){const _0x58fbd0=_0x1765da;return this[_0x58fbd0(0x206)][_0x58fbd0(0x189)](this[_0x58fbd0(0x1ba)],this[_0x58fbd0(0x1de)]);}['getMargin'](){const _0x2e70e6=_0x1765da;return this[_0x2e70e6(0x206)][_0x2e70e6(0x1cf)](this['_row'],this[_0x2e70e6(0x1de)]);}[_0x1765da(0x1fe)](){const _0x5bd8ff=_0x1765da;return this[_0x5bd8ff(0x206)]['getCellMarginOverride'](this[_0x5bd8ff(0x1ba)],this[_0x5bd8ff(0x1de)]);}['setMargin'](_0x14ff75){const _0x9778fd=_0x1765da;return this[_0x9778fd(0x206)][_0x9778fd(0x205)](this[_0x9778fd(0x206)][_0x9778fd(0x1eb)](this['_row'],this[_0x9778fd(0x1de)]),_0x14ff75);}[_0x1765da(0x1d7)](){const _0x546f43=_0x1765da;return this[_0x546f43(0x206)][_0x546f43(0x205)](this[_0x546f43(0x206)][_0x546f43(0x1eb)](this['_row'],this[_0x546f43(0x1de)]),null);}[_0x1765da(0x227)](_0x179df9){const _0x1fd6cb=_0x1765da;return this[_0x1fd6cb(0x206)][_0x1fd6cb(0x1c6)](this[_0x1fd6cb(0x1ba)],this[_0x1fd6cb(0x1de)],_0x179df9);}[_0x1765da(0x1e9)](_0x1b8873){const _0x262f2d=_0x1765da;return this['_table'][_0x262f2d(0x221)](this['_table'][_0x262f2d(0x1eb)](this[_0x262f2d(0x1ba)],this[_0x262f2d(0x1de)]),_0x1b8873);}[_0x1765da(0x196)](_0x2b9d94){const _0x140713=_0x1765da;return this[_0x140713(0x206)][_0x140713(0x196)](this[_0x140713(0x206)][_0x140713(0x1eb)](this[_0x140713(0x1ba)],this['_column']),_0x2b9d94);}[_0x1765da(0x1f9)](_0x51189f,_0x4ed765){const _0x4fbb52=_0x1765da;return this['_table'][_0x4fbb52(0x1ed)]({'startRow':this['_row'],'startColumn':this[_0x4fbb52(0x1de)],'endRow':this[_0x4fbb52(0x1ba)]+_0x51189f-0x1,'endColumn':this[_0x4fbb52(0x1de)]+_0x4ed765-0x1});}['unmerge'](){const _0xcda774=_0x1765da;return this[_0xcda774(0x206)][_0xcda774(0x1ae)](this['_table']['getCellRange'](this['_row'],this[_0xcda774(0x1de)]));}};function o(_0x21b1b5){'@babel/helpers - typeof';const _0x59efe4=_0x1765da;return o=typeof Symbol==_0x59efe4(0x20b)&&typeof Symbol[_0x59efe4(0x193)]=='symbol'?function(_0x1717fd){return typeof _0x1717fd;}:function(_0x4879ac){const _0x51827c=_0x59efe4;return _0x4879ac&&typeof Symbol==_0x51827c(0x20b)&&_0x4879ac[_0x51827c(0x1a3)]===Symbol&&_0x4879ac!==Symbol[_0x51827c(0x19c)]?_0x51827c(0x235):typeof _0x4879ac;},o(_0x21b1b5);}function s(_0x29bfb4,_0x8aea10){const _0x4bf043=_0x1765da;if(o(_0x29bfb4)!='object'||!_0x29bfb4)return _0x29bfb4;var _0x2546d3=_0x29bfb4[Symbol[_0x4bf043(0x21f)]];if(_0x2546d3!==void 0x0){var _0x277f49=_0x2546d3[_0x4bf043(0x19a)](_0x29bfb4,_0x8aea10||'default');if(o(_0x277f49)!=_0x4bf043(0x201))return _0x277f49;throw TypeError(_0x4bf043(0x1a7));}return(_0x8aea10===_0x4bf043(0x183)?String:Number)(_0x29bfb4);}function c(_0x20b1bd){const _0x2e9710=_0x1765da;var _0x2f1b8a=s(_0x20b1bd,_0x2e9710(0x183));return o(_0x2f1b8a)==_0x2e9710(0x235)?_0x2f1b8a:_0x2f1b8a+'';}function l(_0x327671,_0x237c0,_0x1ee7b5){const _0x3072ce=_0x1765da;return(_0x237c0=c(_0x237c0))in _0x327671?Object[_0x3072ce(0x23d)](_0x327671,_0x237c0,{'value':_0x1ee7b5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x327671[_0x237c0]=_0x1ee7b5,_0x327671;}var u=class{constructor(_0x4f23b0,_0x41dbcb,_0x32b515='',_0x5897a2){const _0x5d667b=_0x1765da;this[_0x5d667b(0x1dc)]=_0x4f23b0,this[_0x5d667b(0x237)]=_0x41dbcb,this[_0x5d667b(0x18d)]=_0x32b515,this[_0x5d667b(0x1f1)]=_0x5897a2,l(this,'_unitId',void 0x0),this['_unitId']=this[_0x5d667b(0x1dc)][_0x5d667b(0x20f)]();}[_0x1765da(0x20f)](){const _0x1285c0=_0x1765da;return this[_0x1285c0(0x237)];}[_0x1765da(0x1fd)](){const _0x1be034=_0x1765da;return this[_0x1be034(0x18d)];}['getInfo'](){const _0x18fe85=_0x1765da;return{'id':this[_0x18fe85(0x237)],'rowCount':this[_0x18fe85(0x1d4)](),'columnCount':this[_0x18fe85(0x1a1)](),'metadata':this['getMetadata'](),'source':this[_0x18fe85(0x1c7)]()};}[_0x1765da(0x1af)](){const _0x55109d=_0x1765da;var _0x210633,_0x2d879a;let _0x45f590=this['getMetadata'](),_0x5da3bc=this[_0x55109d(0x1c7)](),_0xbf5b7c=this['getColumnCount']();return{'id':this[_0x55109d(0x237)],'rowCount':this['getRowCount'](),'columnCount':_0xbf5b7c,'headerRowCount':(_0x210633=_0x45f590==null?void 0x0:_0x45f590[_0x55109d(0x1ec)])==null?0x0:_0x210633,'titleRow':(_0x2d879a=_0x45f590==null?void 0x0:_0x45f590['titleRow'])==null?!0x1:_0x2d879a,'columns':Array['from']({'length':_0xbf5b7c},(_0x2a980c,_0x41bec8)=>{const _0x4c609f=_0x55109d;var _0x3d04ea,_0x15f74d;return{'index':_0x41bec8,'type':_0x45f590==null||(_0x3d04ea=_0x45f590[_0x4c609f(0x1d1)])==null||(_0x3d04ea=_0x3d04ea[_0x41bec8])==null?void 0x0:_0x3d04ea[_0x4c609f(0x20c)],'width':_0x5da3bc==null||(_0x15f74d=_0x5da3bc['tableColumns'][_0x41bec8])==null?void 0x0:_0x15f74d['size'][_0x4c609f(0x232)]['v']};}),'sampleRows':Array[_0x55109d(0x1e5)]({'length':this[_0x55109d(0x1d4)]()},(_0x57292c,_0x88d100)=>Array[_0x55109d(0x1e5)]({'length':_0xbf5b7c},(_0x3d6106,_0x15743e)=>this['getCellText'](_0x88d100,_0x15743e)))['filter'](_0x4bf95e=>_0x4bf95e[_0x55109d(0x1db)](_0x3cdbad=>_0x3cdbad[_0x55109d(0x18b)]>0x0))[_0x55109d(0x1c1)](0x0,0x5)};}[_0x1765da(0x1d4)](){const _0xd37b04=_0x1765da;var _0x37829a,_0x516a24;return(_0x37829a=(_0x516a24=this[_0xd37b04(0x1c7)]())==null?void 0x0:_0x516a24[_0xd37b04(0x22e)]['length'])==null?0x0:_0x37829a;}[_0x1765da(0x1a1)](){const _0x3e317e=_0x1765da;var _0x5c0be3,_0x434bd3;return(_0x5c0be3=(_0x434bd3=this[_0x3e317e(0x1c7)]())==null?void 0x0:_0x434bd3[_0x3e317e(0x1ac)][_0x3e317e(0x18b)])==null?0x0:_0x5c0be3;}[_0x1765da(0x1c3)](_0x3a5235,_0x405fee){const _0x31a55a=_0x1765da;var _0x2a1017;return!((_0x2a1017=this[_0x31a55a(0x1c7)]())==null||(_0x2a1017=_0x2a1017[_0x31a55a(0x22e)][_0x3a5235])==null)&&_0x2a1017[_0x31a55a(0x19e)][_0x405fee]?this[_0x31a55a(0x1f1)][_0x31a55a(0x1d0)](a,this,_0x3a5235,_0x405fee):null;}[_0x1765da(0x209)](_0x148536,_0x28e21c){const _0x12a35b=_0x1765da;var _0x202be3,_0x36a2aa,_0x15d9ab;let _0x17a861=(_0x202be3=(0x0,e[_0x12a35b(0x248)])(this[_0x12a35b(0x1b7)](),this['_tableId']))==null||(_0x202be3=_0x202be3[_0x12a35b(0x204)][_0x148536])==null?void 0x0:_0x202be3['cells'][_0x28e21c];return _0x17a861?(_0x36a2aa=(_0x15d9ab=this[_0x12a35b(0x1b7)]()[_0x12a35b(0x1be)])==null?void 0x0:_0x15d9ab[_0x12a35b(0x187)][_0x12a35b(0x1c1)](_0x17a861[_0x12a35b(0x1fa)]+0x1,_0x17a861[_0x12a35b(0x202)])[_0x12a35b(0x1e0)](/\r\n$/,''))==null?'':_0x36a2aa:'';}[_0x1765da(0x1cf)](_0x41779c,_0x336436){const _0x2ebe70=_0x1765da;var _0x4412c1,_0x154e89,_0x5eb9c9;let _0x5b8a25=this['getSource'](),_0x281046=_0x5b8a25==null||(_0x4412c1=_0x5b8a25['tableRows'][_0x41779c])==null?void 0x0:_0x4412c1[_0x2ebe70(0x19e)][_0x336436];return _0x281046?t[_0x2ebe70(0x1c0)][_0x2ebe70(0x185)]((_0x154e89=(_0x5eb9c9=_0x281046['margin'])==null?_0x5b8a25[_0x2ebe70(0x1c5)]:_0x5eb9c9)==null?e['DEFAULT_DOCS_TABLE_CELL_MARGIN']:_0x154e89):null;}[_0x1765da(0x21d)](_0x146d65,_0x374880){const _0x3f6ea9=_0x1765da;var _0x5606b6;let _0x10f6d5=(_0x5606b6=this[_0x3f6ea9(0x1c7)]())==null||(_0x5606b6=_0x5606b6[_0x3f6ea9(0x22e)][_0x146d65])==null?void 0x0:_0x5606b6[_0x3f6ea9(0x19e)][_0x374880];return _0x10f6d5!=null&&_0x10f6d5[_0x3f6ea9(0x233)]?t[_0x3f6ea9(0x1c0)]['deepClone'](_0x10f6d5[_0x3f6ea9(0x233)]):null;}[_0x1765da(0x24f)](){const _0x371fb8=_0x1765da;var _0x54d9a1,_0x2e4e41;return t[_0x371fb8(0x1c0)]['deepClone']((_0x54d9a1=(_0x2e4e41=this['getSource']())==null?void 0x0:_0x2e4e41[_0x371fb8(0x1c5)])==null?e[_0x371fb8(0x17f)]:_0x54d9a1);}[_0x1765da(0x1d5)](){const _0xb2f750=_0x1765da;var _0x52b77f;let _0x4862d5=(_0x52b77f=this[_0xb2f750(0x1c7)]())==null?void 0x0:_0x52b77f[_0xb2f750(0x1c5)];return _0x4862d5?t[_0xb2f750(0x1c0)][_0xb2f750(0x185)](_0x4862d5):null;}['getMetadata'](){const _0x132110=_0x1765da;return this[_0x132110(0x1f1)][_0x132110(0x21e)](e[_0x132110(0x188)])[_0x132110(0x1a8)](this['_unitId'],this[_0x132110(0x237)]);}['getSource'](){const _0x50e835=_0x1765da;var _0x443093;return(_0x443093=this[_0x50e835(0x1b7)]()[_0x50e835(0x18f)])==null?void 0x0:_0x443093[this[_0x50e835(0x237)]];}[_0x1765da(0x216)](){const _0x5c8fb3=_0x1765da;return(0x0,e[_0x5c8fb3(0x248)])(this[_0x5c8fb3(0x1b7)](),this['_tableId']);}[_0x1765da(0x1f8)](){const _0x2174a0=_0x1765da;return{'startRow':0x0,'endRow':Math[_0x2174a0(0x225)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x2174a0(0x225)](0x0,this[_0x2174a0(0x1a1)]()-0x1)};}[_0x1765da(0x1eb)](_0xca008f,_0x54ee72){return{'startRow':_0xca008f,'endRow':_0xca008f,'startColumn':_0x54ee72,'endColumn':_0x54ee72};}['getCellContentRange'](_0x286408,_0x4b2d38){const _0x5b4454=_0x1765da;var _0x47fb57;let _0x357588=(_0x47fb57=(0x0,e[_0x5b4454(0x248)])(this[_0x5b4454(0x1b7)](),this['_tableId']))==null||(_0x47fb57=_0x47fb57['rows'][_0x286408])==null?void 0x0:_0x47fb57[_0x5b4454(0x19f)][_0x4b2d38];if(!_0x357588)return null;let _0x2fc62a=_0x357588[_0x5b4454(0x1fa)]+0x1;return{'startOffset':_0x2fc62a,'endOffset':Math[_0x5b4454(0x225)](_0x2fc62a,_0x357588[_0x5b4454(0x202)]-0x1),'segmentId':this['_segmentId']};}[_0x1765da(0x189)](_0x65affa,_0x342b06){const _0x446184=_0x1765da;var _0x3f81de,_0x4c647b;return(_0x3f81de=(_0x4c647b=this[_0x446184(0x194)](_0x65affa,_0x342b06))==null?void 0x0:_0x4c647b[_0x446184(0x202)])==null?null:_0x3f81de;}[_0x1765da(0x215)](_0x54e851){const _0x5b06e7=_0x1765da;return this[_0x5b06e7(0x1c9)](_0x54e851,0x1);}[_0x1765da(0x1c9)](_0x305735,_0x5f48bc=0x1){const _0x18cb03=_0x1765da;return{'startRow':_0x305735,'endRow':_0x305735+_0x5f48bc-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x18cb03(0x1a1)]()-0x1)};}[_0x1765da(0x252)](_0x5d17eb){const _0x471006=_0x1765da;return this[_0x471006(0x247)](_0x5d17eb,0x1);}[_0x1765da(0x247)](_0x1dd7fa,_0x1c63aa=0x1){const _0x30131d=_0x1765da;return{'startRow':0x0,'endRow':Math[_0x30131d(0x225)](0x0,this[_0x30131d(0x1d4)]()-0x1),'startColumn':_0x1dd7fa,'endColumn':_0x1dd7fa+_0x1c63aa-0x1};}[_0x1765da(0x241)](){const _0x516afb=_0x1765da;return this['selectRange'](this[_0x516afb(0x1f8)](),e[_0x516afb(0x191)][_0x516afb(0x243)]);}[_0x1765da(0x1cc)](_0x4c0c09){return this['selectRows'](_0x4c0c09,0x1);}[_0x1765da(0x1b8)](_0x2d8d4c,_0xd2d255=0x1){const _0x47fe4c=_0x1765da;return this[_0x47fe4c(0x1c4)](this[_0x47fe4c(0x1c9)](_0x2d8d4c,_0xd2d255),e[_0x47fe4c(0x191)][_0x47fe4c(0x182)]);}[_0x1765da(0x181)](_0x546197){const _0x16ac96=_0x1765da;return this[_0x16ac96(0x21c)](_0x546197,0x1);}[_0x1765da(0x21c)](_0x53944c,_0x56fef4=0x1){const _0x4e508e=_0x1765da;return this[_0x4e508e(0x1c4)](this[_0x4e508e(0x247)](_0x53944c,_0x56fef4),e['DocsTableSelectionKind']['Column']);}['selectCell'](_0x5f22ce,_0x19e65b){const _0xd547dd=_0x1765da;return this[_0xd547dd(0x1c4)](this[_0xd547dd(0x1eb)](_0x5f22ce,_0x19e65b),e[_0xd547dd(0x191)][_0xd547dd(0x254)]);}[_0x1765da(0x1c4)](_0x2a26bf,_0x369974=e[_0x1765da(0x191)][_0x1765da(0x242)]){const _0x2769bd=_0x1765da;return this[_0x2769bd(0x1f1)][_0x2769bd(0x21e)](e[_0x2769bd(0x1ca)])[_0x2769bd(0x1d8)]({..._0x2a26bf,'kind':_0x369974,'segmentId':this[_0x2769bd(0x18d)],'tableId':this[_0x2769bd(0x237)]}),!0x0;}[_0x1765da(0x203)](_0x1961fc){const _0x41bf2d=_0x1765da;return this[_0x41bf2d(0x1ce)](_0x1961fc,0x1);}['insertRowAfter'](_0x177054){const _0x55dada=_0x1765da;return this[_0x55dada(0x24e)](_0x177054,0x1);}[_0x1765da(0x1ce)](_0x1992b2,_0x3c80bf){const _0x1c7836=_0x1765da;let _0x5ac7de=this['_getDocumentData'](),_0x4b3774=(0x0,e['buildInsertTableRowsMutationActions'])(_0x5ac7de,this['_tableId'],_0x1992b2,_0x3c80bf,e['DocsTableInsertPosition'][_0x1c7836(0x223)],this[_0x1c7836(0x1e4)]());return _0x4b3774?this[_0x1c7836(0x1b3)](_0x5ac7de,_0x4b3774['actions']):!0x1;}['insertRowsAfter'](_0x3b3d34,_0x26952d){const _0x5049d4=_0x1765da;let _0x2193f1=this[_0x5049d4(0x1b7)](),_0xaeba10=(0x0,e[_0x5049d4(0x24b)])(_0x2193f1,this[_0x5049d4(0x237)],_0x3b3d34,_0x26952d,e['DocsTableInsertPosition']['Below'],this[_0x5049d4(0x1e4)]());return _0xaeba10?this[_0x5049d4(0x1b3)](_0x2193f1,_0xaeba10[_0x5049d4(0x251)]):!0x1;}[_0x1765da(0x229)](){const _0x4c45da=_0x1765da;return this[_0x4c45da(0x24e)](Math[_0x4c45da(0x225)](0x0,this[_0x4c45da(0x1d4)]()-0x1),0x1);}[_0x1765da(0x18e)](_0x1fdb85){const _0x5f39c0=_0x1765da;return this[_0x5f39c0(0x18c)](_0x1fdb85,0x1);}[_0x1765da(0x1b0)](_0x5a25f7){return this['insertColumnsAfter'](_0x5a25f7,0x1);}['insertColumnsBefore'](_0x4714df,_0x55995a){const _0x2561f4=_0x1765da;let _0x365198=this[_0x2561f4(0x1b7)](),_0x1d3e95=(0x0,e[_0x2561f4(0x1da)])(_0x365198,this[_0x2561f4(0x237)],_0x4714df,_0x55995a,e[_0x2561f4(0x22b)][_0x2561f4(0x222)],{'bodyPath':this[_0x2561f4(0x1e4)]()});return _0x1d3e95?this['_mutateActions'](_0x365198,_0x1d3e95[_0x2561f4(0x251)]):!0x1;}['insertColumnsAfter'](_0x4fa428,_0x9cf518){const _0x3948cf=_0x1765da;let _0x128406=this[_0x3948cf(0x1b7)](),_0x1eb9f2=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x128406,this[_0x3948cf(0x237)],_0x4fa428,_0x9cf518,e[_0x3948cf(0x22b)][_0x3948cf(0x1f3)],{'bodyPath':this[_0x3948cf(0x1e4)]()});return _0x1eb9f2?this['_mutateActions'](_0x128406,_0x1eb9f2[_0x3948cf(0x251)]):!0x1;}[_0x1765da(0x1e7)](){const _0x453e16=_0x1765da;return this[_0x453e16(0x1e3)](Math[_0x453e16(0x225)](0x0,this[_0x453e16(0x1a1)]()-0x1),0x1);}[_0x1765da(0x236)](_0x5ac51a){return this['deleteRows'](_0x5ac51a,0x1);}[_0x1765da(0x1e8)](_0x22dd1a,_0x111c7d=0x1){const _0xddac8c=_0x1765da;let _0x5ab3a4=this['_getDocumentData'](),_0x2ef5c5=(0x0,e['buildDeleteTableRowsMutationActions'])(_0x5ab3a4,this[_0xddac8c(0x237)],_0x22dd1a,_0x22dd1a+_0x111c7d-0x1,this['_getBodyPath']());return _0x2ef5c5?this['_mutateActions'](_0x5ab3a4,_0x2ef5c5[_0xddac8c(0x251)]):!0x1;}[_0x1765da(0x240)](_0x5d8864){const _0x2822bd=_0x1765da;return this[_0x2822bd(0x192)](_0x5d8864,0x1);}[_0x1765da(0x192)](_0x51fab9,_0x4e08ce=0x1){const _0x136e6a=_0x1765da;let _0x31ec3d=this[_0x136e6a(0x1b7)](),_0x53c8e5=(0x0,e[_0x136e6a(0x22d)])(_0x31ec3d,this[_0x136e6a(0x237)],_0x51fab9,_0x51fab9+_0x4e08ce-0x1,this[_0x136e6a(0x1e4)]());return _0x53c8e5?this[_0x136e6a(0x1b3)](_0x31ec3d,_0x53c8e5[_0x136e6a(0x251)]):!0x1;}[_0x1765da(0x24d)](){const _0x21d0dd=_0x1765da;let _0x519898=this[_0x21d0dd(0x1b7)](),_0x4c6347=(0x0,e[_0x21d0dd(0x231)])(_0x519898,this['_tableId'],this[_0x21d0dd(0x1e4)]());return _0x4c6347?this[_0x21d0dd(0x1b3)](_0x519898,_0x4c6347[_0x21d0dd(0x251)]):!0x1;}[_0x1765da(0x1bb)](_0x105e14,_0x27f54b){const _0x339503=_0x1765da;let _0x560832=this['_getDocumentData']();return this[_0x339503(0x1b3)](_0x560832,(0x0,e[_0x339503(0x1c2)])(_0x560832,this[_0x339503(0x237)],_0x105e14,_0x27f54b));}[_0x1765da(0x1ab)](_0x2ad33b){const _0x546872=_0x1765da;let _0x618669=this[_0x546872(0x1b7)]();return this['_mutateActions'](_0x618669,(0x0,e[_0x546872(0x20a)])(_0x618669,this['_tableId'],_0x2ad33b,this['_getBodyPath']()));}[_0x1765da(0x197)](_0x3d1dfa,_0x1d1c0c,_0xb01c37=e['DocsTableInsertPosition']['Above']){const _0x526201=_0x1765da;return this[_0x526201(0x1d9)](_0x3d1dfa,0x1,_0x1d1c0c,_0xb01c37);}['moveRows'](_0x4d9b41,_0x3a9623,_0x40aafa,_0x5a05ce=e[_0x1765da(0x22b)]['Above']){const _0x257acb=_0x1765da;let _0x59a8db=this[_0x257acb(0x1b7)](),_0x3b0325=(0x0,e[_0x257acb(0x1ef)])(_0x59a8db,this[_0x257acb(0x237)],_0x4d9b41,_0x40aafa,_0x3a9623,_0x5a05ce,this[_0x257acb(0x1e4)]());return _0x3b0325?this[_0x257acb(0x1b3)](_0x59a8db,_0x3b0325[_0x257acb(0x251)]):!0x1;}[_0x1765da(0x24c)](_0x2f1fb6,_0x2fb5a2,_0x5e1f04=e[_0x1765da(0x22b)][_0x1765da(0x222)]){const _0x4a410c=_0x1765da;return this[_0x4a410c(0x256)](_0x2f1fb6,0x1,_0x2fb5a2,_0x5e1f04);}[_0x1765da(0x256)](_0x9d55b0,_0x5d8a7e,_0x54a515,_0x4b9e4e=e[_0x1765da(0x22b)][_0x1765da(0x222)]){const _0x47c529=_0x1765da;let _0x462250=this['_getDocumentData'](),_0x5da461=(0x0,e['buildMoveTableColumnsMutationActions'])(_0x462250,this[_0x47c529(0x237)],_0x9d55b0,_0x54a515,_0x5d8a7e,_0x4b9e4e,this[_0x47c529(0x1e4)]());return _0x5da461?this[_0x47c529(0x1b3)](_0x462250,_0x5da461[_0x47c529(0x251)]):!0x1;}[_0x1765da(0x1ed)](_0x5ae081){const _0x12abe5=_0x1765da;try{let _0x3ac1a2=this['_getDocumentData'](),_0x540171=(0x0,e[_0x12abe5(0x195)])({'documentData':_0x3ac1a2,'tableId':this[_0x12abe5(0x237)],..._0x5ae081});return _0x540171?this['_mutateActions'](_0x3ac1a2,_0x540171[_0x12abe5(0x251)],_0x5ae081):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x24ff94){const _0x468373=_0x1765da;try{let _0x1a3d10=this['_getDocumentData'](),_0x3417e9=(0x0,e[_0x468373(0x1a9)])({'documentData':_0x1a3d10,'tableId':this[_0x468373(0x237)],..._0x24ff94});return _0x3417e9?this[_0x468373(0x1b3)](_0x1a3d10,_0x3417e9[_0x468373(0x251)],_0x24ff94):!0x1;}catch{return!0x1;}}['setCellText'](_0x45b330,_0x577572,_0x25101d){const _0x3092fc=_0x1765da;let _0x27ced3=this[_0x3092fc(0x1b7)](),_0x251d84=(0x0,e['getTableActionBodyPath'])(this[_0x3092fc(0x1dc)]['getDocumentDataModel']()[_0x3092fc(0x207)](),this['_segmentId']);return this[_0x3092fc(0x1b3)](_0x27ced3,(0x0,e['buildSetTableCellTextMutationActions'])({'documentData':_0x27ced3,'tableId':this[_0x3092fc(0x237)],'row':_0x45b330,'column':_0x577572,'text':_0x25101d},_0x251d84),this[_0x3092fc(0x1eb)](_0x45b330,_0x577572));}['setCellBackground'](_0x5f0681,_0x32f50e){const _0x1c84af=_0x1765da;let _0x10b30d=this['_getDocumentData']();return this[_0x1c84af(0x1b3)](_0x10b30d,(0x0,e[_0x1c84af(0x211)])(_0x10b30d,{'tableId':this[_0x1c84af(0x237)],..._0x5f0681,'value':_0x32f50e}),_0x5f0681);}[_0x1765da(0x205)](_0x56e3c5,_0x4231c6){const _0x5a177b=_0x1765da;let _0x1589dc=this['_getDocumentData']();return this['_mutateActions'](_0x1589dc,(0x0,e[_0x5a177b(0x219)])({'documentData':_0x1589dc,'tableId':this['_tableId'],..._0x56e3c5,'margin':_0x4231c6}),_0x56e3c5);}['setDefaultCellMargin'](_0xa29c24){const _0x7b95a=_0x1765da;let _0x276db0=this[_0x7b95a(0x1b7)]();return this[_0x7b95a(0x1b3)](_0x276db0,(0x0,e[_0x7b95a(0x19b)])(_0x276db0,this[_0x7b95a(0x237)],_0xa29c24));}[_0x1765da(0x196)](_0x12cdb8,_0x2f18a2){const _0x586ff9=_0x1765da;var _0x17b82e,_0x530d46,_0x16f1cb,_0x4d4979;let _0x160fee=this[_0x586ff9(0x1b7)]();return this['_mutateActions'](_0x160fee,(0x0,e[_0x586ff9(0x1bd)])({'documentData':_0x160fee,'tableId':this['_tableId'],..._0x12cdb8,'preset':(_0x17b82e=_0x2f18a2[_0x586ff9(0x190)])==null?e[_0x586ff9(0x217)][_0x586ff9(0x1ee)]:_0x17b82e,'border':(_0x530d46=_0x2f18a2['border'])==null?{'color':{'rgb':(_0x16f1cb=_0x2f18a2[_0x586ff9(0x1ea)])==null?_0x586ff9(0x220):_0x16f1cb},'width':{'v':(_0x4d4979=_0x2f18a2[_0x586ff9(0x232)])==null?0x1:_0x4d4979},'dashStyle':t[_0x586ff9(0x1bc)][_0x586ff9(0x1e1)]}:_0x530d46}),_0x12cdb8);}[_0x1765da(0x23b)](_0xd58728){const _0x2ddc0b=_0x1765da;return this[_0x2ddc0b(0x221)](this[_0x2ddc0b(0x1f8)](),_0xd58728);}[_0x1765da(0x17e)](_0x5ca1f0){const _0x125067=_0x1765da;return this['setBorder'](this[_0x125067(0x1f8)](),_0x5ca1f0);}[_0x1765da(0x23c)](_0x4580e0){const _0x23719f=_0x1765da;let _0x20b6a4=_0x4580e0[_0x23719f(0x1a5)]?this['setTableBackground'](_0x4580e0[_0x23719f(0x1a5)]):!0x0,_0x5cf21c=_0x4580e0[_0x23719f(0x228)]?this['setTableBorder'](_0x4580e0[_0x23719f(0x228)]):!0x0;return _0x20b6a4&&_0x5cf21c;}[_0x1765da(0x218)](_0x4a6af2,_0x335ac7,_0x3c2a64=t[_0x1765da(0x1a4)]['AT_LEAST']){const _0x31056e=_0x1765da;var _0xabbaa4;let _0x13d109=this['_getDocumentData']();return!((_0xabbaa4=_0x13d109[_0x31056e(0x18f)])==null||(_0xabbaa4=_0xabbaa4[this[_0x31056e(0x237)]])==null)&&_0xabbaa4['tableRows'][_0x4a6af2]?this['_mutateActions'](_0x13d109,(0x0,e['buildResizeTableRowActionsFromHeight'])(_0x13d109,this[_0x31056e(0x237)],_0x4a6af2,_0x335ac7,_0x3c2a64)):!0x1;}[_0x1765da(0x1f0)](_0x423cbd){const _0x55f842=_0x1765da;var _0xf94592;let _0x2a308c=(_0xf94592=this[_0x55f842(0x1c7)]())==null||(_0xf94592=_0xf94592[_0x55f842(0x22e)][_0x423cbd])==null?void 0x0:_0xf94592[_0x55f842(0x214)];return _0x2a308c?t['Tools'][_0x55f842(0x185)](_0x2a308c):null;}[_0x1765da(0x212)](_0x276f18,_0x37168c){const _0x1f022a=_0x1765da;var _0x225b53;let _0x1a477b=this[_0x1f022a(0x1b7)]();return!((_0x225b53=_0x1a477b['tableSource'])==null||(_0x225b53=_0x225b53[this['_tableId']])==null)&&_0x225b53[_0x1f022a(0x1ac)][_0x276f18]?this[_0x1f022a(0x1b3)](_0x1a477b,(0x0,e['buildResizeTableColumnActionsFromWidth'])(_0x1a477b,this[_0x1f022a(0x237)],_0x276f18,_0x37168c)):!0x1;}[_0x1765da(0x186)](_0x33db7a=0x0,_0x216572=this[_0x1765da(0x1d4)]()){const _0x17b606=_0x1765da;let _0x4320b5=this['_getDocumentData']();return this[_0x17b606(0x1b3)](_0x4320b5,(0x0,e[_0x17b606(0x245)])(_0x4320b5,this[_0x17b606(0x237)],_0x33db7a,_0x33db7a+_0x216572-0x1));}[_0x1765da(0x1e2)](_0x4cae2c=0x0,_0x440b80=this['getColumnCount']()){const _0x200724=_0x1765da;let _0x674ba4=this[_0x200724(0x1b7)]();return this['_mutateActions'](_0x674ba4,(0x0,e[_0x200724(0x213)])(_0x674ba4,this[_0x200724(0x237)],_0x4cae2c,_0x4cae2c+_0x440b80-0x1));}['getHeaderRowCount'](){const _0x4acd7d=_0x1765da;var _0x33f080,_0x395937;return(_0x33f080=(_0x395937=this[_0x4acd7d(0x253)]())==null?void 0x0:_0x395937[_0x4acd7d(0x1ec)])==null?0x0:_0x33f080;}[_0x1765da(0x1cd)](_0x11dae3){const _0x204798=_0x1765da;let _0x21f86c=this['_injector'][_0x204798(0x21e)](e['DocsTableModel']),_0x31780c=this['_getDocumentData'](),_0x4ec834=(0x0,e[_0x204798(0x18a)])(_0x31780c,this[_0x204798(0x237)],_0x11dae3);if(!_0x4ec834)return!0x1;let _0x67f9dd=this[_0x204798(0x1b3)](_0x31780c,_0x4ec834[_0x204798(0x251)]);return _0x67f9dd&&_0x21f86c['setHeaderRowCount'](this[_0x204798(0x1b1)],this[_0x204798(0x237)],_0x4ec834[_0x204798(0x1ec)]),_0x67f9dd;}[_0x1765da(0x1b5)](_0x29473d){const _0x2b1db3=_0x1765da;return this[_0x2b1db3(0x1cd)](_0x29473d);}[_0x1765da(0x224)](){const _0x39be98=_0x1765da;var _0x5282c8,_0x3d4f9d;return(_0x5282c8=(_0x3d4f9d=this['getMetadata']())==null?void 0x0:_0x3d4f9d[_0x39be98(0x1bf)])==null?!0x1:_0x5282c8;}[_0x1765da(0x255)](){const _0x400736=_0x1765da;let _0x3ad48b=this[_0x400736(0x1f1)][_0x400736(0x21e)](e[_0x400736(0x188)]),_0x4544df=this['_getDocumentData'](),_0x14a49f=(0x0,e[_0x400736(0x1dd)])(_0x4544df,this[_0x400736(0x237)],this[_0x400736(0x1e4)]());if(!_0x14a49f)return!0x1;let _0x48572b=this['_mutateActions'](_0x4544df,_0x14a49f['actions']);return _0x48572b&&_0x3ad48b[_0x400736(0x1a0)](this[_0x400736(0x1b1)],this[_0x400736(0x237)],!0x0),_0x48572b;}[_0x1765da(0x1c8)](_0x2faa4c,_0x3625bb){const _0x3ae568=_0x1765da;return this[_0x3ae568(0x1f1)][_0x3ae568(0x21e)](e[_0x3ae568(0x188)])['setColumnType'](this[_0x3ae568(0x1b1)],this[_0x3ae568(0x237)],_0x2faa4c,_0x3625bb),!0x0;}[_0x1765da(0x198)](_0x266fbf,_0x5dce44){const _0x4486bb=_0x1765da;let _0x19a36d=this[_0x4486bb(0x1b7)]();return this['_mutateActions'](_0x19a36d,(0x0,e['buildSortTableMutationActions'])(_0x19a36d,this[_0x4486bb(0x1f2)](),this['_tableId'],_0x266fbf,_0x5dce44,this[_0x4486bb(0x1e4)]()));}[_0x1765da(0x1b7)](){const _0x581e00=_0x1765da;let _0x106c73=this['_document'][_0x581e00(0x1df)]()[_0x581e00(0x207)]();return this[_0x581e00(0x18d)]?{...this[_0x581e00(0x1dc)][_0x581e00(0x1df)](this[_0x581e00(0x18d)])[_0x581e00(0x207)](),'documentStyle':_0x106c73['documentStyle'],'tableSource':_0x106c73[_0x581e00(0x18f)]}:_0x106c73;}[_0x1765da(0x1f2)](){const _0x4112ac=_0x1765da;return this[_0x4112ac(0x1f1)][_0x4112ac(0x21e)](e[_0x4112ac(0x188)])[_0x4112ac(0x23e)](this[_0x4112ac(0x1b1)]);}[_0x1765da(0x1e4)](){const _0x590c7b=_0x1765da;return(0x0,e[_0x590c7b(0x1e6)])(this[_0x590c7b(0x1dc)][_0x590c7b(0x1df)]()[_0x590c7b(0x207)](),this['_segmentId']);}[_0x1765da(0x1b3)](_0x42f609,_0x2d6527,_0x104990){const _0x5648b7=_0x1765da;return(0x0,e['executeRichTextTableActions'])(this[_0x5648b7(0x1f1)][_0x5648b7(0x21e)](t['ICommandService']),this[_0x5648b7(0x1b1)],_0x42f609,_0x2d6527,_0x104990?{'tableId':this[_0x5648b7(0x237)],'segmentId':this[_0x5648b7(0x18d)],..._0x104990}:void 0x0);}},d=class extends r[_0x1765da(0x20e)]{[_0x1765da(0x1fb)](_0x3a66a1=''){const _0x171f0f=_0x1765da;return this[_0x171f0f(0x1b2)](_0x3a66a1)[_0x171f0f(0x23f)](_0x268dda=>this[_0x171f0f(0x199)](_0x268dda[_0x171f0f(0x226)],_0x3a66a1));}[_0x1765da(0x200)](_0x245595,_0x42e4b0=''){const _0x5e8025=_0x1765da;return this[_0x5e8025(0x1b2)](_0x42e4b0)[_0x5e8025(0x1db)](_0x64676e=>_0x64676e['tableId']===_0x245595)?this[_0x5e8025(0x199)](_0x245595,_0x42e4b0):null;}[_0x1765da(0x1a6)](_0x39e0db,_0xe8b59f=''){const _0x1cb36c=_0x1765da;var _0x268b02;let _0x2c26cf=(_0x268b02=this['_getTables'](_0xe8b59f)[_0x39e0db])==null?void 0x0:_0x268b02['tableId'];return _0x2c26cf?this[_0x1cb36c(0x199)](_0x2c26cf,_0xe8b59f):null;}[_0x1765da(0x184)](){const _0x15cd58=_0x1765da;let _0x4f9ca3=this[_0x15cd58(0x1f1)][_0x15cd58(0x21e)](e['DocsTableSelectionService'])[_0x15cd58(0x1ff)]();return _0x4f9ca3!=null&&_0x4f9ca3[_0x15cd58(0x226)]?this[_0x15cd58(0x199)](_0x4f9ca3['tableId'],_0x4f9ca3[_0x15cd58(0x1fc)]):null;}[_0x1765da(0x230)](_0x145080,_0x439832=''){var _0x5d6481;return(_0x5d6481=this['findTables'](_0x145080,_0x439832)[0x0])==null?null:_0x5d6481;}[_0x1765da(0x22a)](_0x381ed0,_0x26ba14=''){const _0x4126f8=_0x1765da;let _0x2fdb80=this['_getTableDocumentData'](_0x26ba14),_0x21d044=typeof _0x381ed0==_0x4126f8(0x183)?{'text':_0x381ed0}:_0x381ed0;return this[_0x4126f8(0x1fb)](_0x26ba14)[_0x4126f8(0x249)](_0x4b132e=>{const _0x26202b=_0x4126f8;let _0x379983=_0x4b132e['getId']();return!(_0x21d044[_0x26202b(0x226)]&&_0x379983!==_0x21d044[_0x26202b(0x226)]||_0x21d044[_0x26202b(0x234)]&&!this[_0x26202b(0x1aa)](_0x2fdb80,_0x379983,_0x21d044[_0x26202b(0x234)])||_0x21d044[_0x26202b(0x21b)]&&!this[_0x26202b(0x210)](_0x4b132e,0x0,_0x21d044[_0x26202b(0x21b)])||_0x21d044['titleText']&&!this['_rowContainsText'](_0x4b132e,0x0,_0x21d044[_0x26202b(0x246)]));});}[_0x1765da(0x208)](_0x397fe8,_0x276eec,_0x433bf2={}){const _0x2f5704=_0x1765da;var _0x2d5215,_0x2116ad;let _0x59e118=this[_0x2f5704(0x1f1)][_0x2f5704(0x21e)](t['ICommandService']),_0x305074=(_0x2d5215=_0x433bf2[_0x2f5704(0x226)])==null?(0x0,t[_0x2f5704(0x1a2)])(0x6):_0x2d5215;return _0x59e118[_0x2f5704(0x1cb)](e[_0x2f5704(0x17d)]['id'],{..._0x433bf2,'unitId':this[_0x2f5704(0x20f)](),'rows':_0x397fe8,'columns':_0x276eec,'tableId':_0x305074})?this[_0x2f5704(0x199)](_0x305074,(_0x2116ad=_0x433bf2[_0x2f5704(0x1fc)])==null?'':_0x2116ad):null;}['insertTableFromData'](_0x4e3418,_0x456ed0={}){const _0x42f6a3=_0x1765da;var _0x3dd8ce,_0x37a789;let _0x21df4f=this[_0x42f6a3(0x1f1)][_0x42f6a3(0x21e)](t[_0x42f6a3(0x1f5)]),_0x2ff935=(_0x3dd8ce=_0x456ed0[_0x42f6a3(0x226)])==null?(0x0,t[_0x42f6a3(0x1a2)])(0x6):_0x3dd8ce;return _0x21df4f[_0x42f6a3(0x1cb)](e[_0x42f6a3(0x17d)]['id'],{..._0x456ed0,'unitId':this['getId'](),'values':_0x4e3418,'tableId':_0x2ff935})?this[_0x42f6a3(0x199)](_0x2ff935,(_0x37a789=_0x456ed0[_0x42f6a3(0x1fc)])==null?'':_0x37a789):null;}[_0x1765da(0x1b2)](_0xc7af78=''){const _0x18cd84=_0x1765da;let {tables:_0x56be7d=[]}=this[_0x18cd84(0x22f)](_0xc7af78);return _0x56be7d;}['_getTableDocumentData'](_0x441062=''){const _0x48f230=_0x1765da;let _0x21528b=this[_0x48f230(0x1df)]()[_0x48f230(0x207)]();return _0x441062?{...this['getDocumentDataModel'](_0x441062)['getSnapshot'](),'documentStyle':_0x21528b['documentStyle'],'tableSource':_0x21528b[_0x48f230(0x18f)]}:_0x21528b;}[_0x1765da(0x199)](_0x2b29c1,_0x2e7841=''){const _0x37c4e7=_0x1765da;return this[_0x37c4e7(0x1f1)]['createInstance'](u,this,_0x2b29c1,_0x2e7841,this[_0x37c4e7(0x1f1)]);}[_0x1765da(0x1aa)](_0x41fab8,_0x122ffe,_0x53445c){const _0x215636=_0x1765da;var _0x33b774;let _0x5aa3c8=(0x0,e[_0x215636(0x248)])(_0x41fab8,_0x122ffe);if(!_0x5aa3c8)return!0x1;let _0xe940f0=(_0x33b774=_0x41fab8[_0x215636(0x1be)])==null?void 0x0:_0x33b774[_0x215636(0x187)];return _0xe940f0?_0xe940f0[_0x215636(0x1c1)](_0x5aa3c8['startOffset'],_0x5aa3c8[_0x215636(0x202)])[_0x215636(0x180)](_0x53445c):!0x1;}[_0x1765da(0x210)](_0x153011,_0x152234,_0x33e508){const _0x5dfb22=_0x1765da;return Array[_0x5dfb22(0x1e5)]({'length':_0x153011[_0x5dfb22(0x1a1)]()},(_0x43b783,_0x5a96ad)=>_0x153011[_0x5dfb22(0x209)](_0x152234,_0x5a96ad))[_0x5dfb22(0x1db)](_0x1b8d01=>_0x1b8d01[_0x5dfb22(0x180)](_0x33e508));}};r[_0x1765da(0x20e)][_0x1765da(0x250)](d),exports['FDocumentTable']=u,exports[_0x1765da(0x1f6)]=a;
1
+ const _0x236a81=_0x420f;(function(_0x3ed4b6,_0x46eeb3){const _0x30a93b=_0x420f,_0x5ec9ba=_0x3ed4b6();while(!![]){try{const _0x329bc7=parseInt(_0x30a93b(0x294))/0x1+-parseInt(_0x30a93b(0x222))/0x2*(-parseInt(_0x30a93b(0x288))/0x3)+parseInt(_0x30a93b(0x26c))/0x4+-parseInt(_0x30a93b(0x218))/0x5+parseInt(_0x30a93b(0x287))/0x6+-parseInt(_0x30a93b(0x21c))/0x7*(-parseInt(_0x30a93b(0x25f))/0x8)+-parseInt(_0x30a93b(0x268))/0x9;if(_0x329bc7===_0x46eeb3)break;else _0x5ec9ba['push'](_0x5ec9ba['shift']());}catch(_0x195e71){_0x5ec9ba['push'](_0x5ec9ba['shift']());}}}(_0x1c10,0xc42eb),Object['defineProperty'](exports,Symbol[_0x236a81(0x297)],{'value':_0x236a81(0x277)}));let e=require('@univerjs-pro/docs-table'),t=require('@univerjs/core'),n=require('@univerjs/core/facade'),r=require('@univerjs/docs/facade');var i=class extends n['FEnum']{get[_0x236a81(0x257)](){const _0x4a2ea6=_0x236a81;return e[_0x4a2ea6(0x257)];}get[_0x236a81(0x229)](){return e['DocsTableColumnType'];}get[_0x236a81(0x213)](){const _0x5628ff=_0x236a81;return e[_0x5628ff(0x213)];}get[_0x236a81(0x216)](){const _0x4581ea=_0x236a81;return e[_0x4581ea(0x216)];}get['DocsTableColumnInsertPosition'](){return e['DocsTableColumnInsertPosition'];}get['DocsTableBorderPreset'](){return e['DocsTableBorderPreset'];}get[_0x236a81(0x1f2)](){return e['DocsTableSortDirection'];}get['DashStyleType'](){const _0x27c12f=_0x236a81;return t[_0x27c12f(0x23b)];}};function _0x1c10(){const _0x427a42=['selectColumns','2191084hHUFcN','Tools','deleteTable','Below','getDocumentDataModel','buildUnmergeCellsMutationActions','getDefaultCellMargin','default','_document','border','getBody','Module','Left','function','getTable','getCellMarginOverride','length','Row','toPrimitive','distributeRows','_column','sortByColumn','_table','setCellMargin','filter','getRowHeight','insertRowsBefore','3861468oTOPkn','3yuJFaO','getSnapshot','getStableTableSelection','setCellText','getTableAt','unmerge','dataStream','_serializeModel','serialize','unmergeCells','some','setTableBackground','467736SEEixT','getCellRange','_tableContainsText','toStringTag','_getTables','titleRow','getRange','getTableRange','buildInsertTableRowsMutationActions','getTableActionBodyPath','DocsTableSelectionService','Above','#1f1f1f','cellMargin','mergeTo','ICommandService','FDocumentTable','deleteRows','setText','Table','describe','_unitId','buildMoveTableToOffsetMutationActions','_injector','getTables','setTableBorder','DocsTableInsertPosition','setColumnType','backgroundColor','getTableAtSelection','Right','getTableMetadata','buildInsertTableTitleRowMutationActions','getSegmentId','insertColumnsBefore','setCellBackground','slice','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','trHeight','tableCells','deleteRow','max','FEnum','syncExecuteCommand','appendColumn','setDefaultCellMargin','Column','_tableId','startOffset','getText','setHeaderRowCount','symbol','DocsTableInsertTableCommand','DocsTableSortDirection','appendRow','deleteColumn','AT_LEAST','getInfo','moveRow','insertTableFromData','getCellText','insertTitleRow','Cell','margin','_segmentId','_mutateActions','moveTableBy','buildSetTableCellTextMutationActions','mergeCells','FDocument','deleteColumns','getId','getColumnRange','insertRowAfter','moveColumn','buildDistributeTableRowsMutationActions','from','width','buildMergeCellsMutationActions','getSource','buildSetTableBorderMutationActions','object','moveTableToOffset','getMargin','getInsertOffset','buildSortTableMutationActions','DocsTableSelectionKind','DEFAULT_DOCS_TABLE_CELL_MARGIN','includes','DocsTableRowInsertPosition','generateRandomId','1195kcyMjE','moveRows','body','selectRange','21AVmYgv','_getDocumentData','All','endOffset','segmentId','pinHeaderRows','133706gOAFkY','DocsTableModel','moveColumns','getCellContentRange','buildDeleteTableRowsMutationActions','get','getRowCount','DocsTableColumnType','getMetadata','cells','size','getCell','buildResizeTableRowActionsFromHeight','tableRows','getCellInsertOffset','tableId','findTables','getRowIndex','FDocumentTableCell','TableRowHeightRule','titleText','buildMoveFloatingTableMutationActions','SOLID','findTableByText','setStructuralSelection','DashStyleType','tableColumns','buildResizeTableColumnActionsFromWidth','defineProperty','text','getRowsRange','tableSource','getColumnIndex','getColumnCount','deepClone','setRowHeight','getTableRangeById','Range','setTableStyle','setBackgroundColor','preset','prototype','selectRows','headerText','string','_getTableDocumentData','buildMoveTableColumnsMutationActions','_rowContainsText','setBorder','replace','rows','headerRowCount','columnTypes','DocsTableInsertTablePosition','_getBodyPath','getRowRange','createInstance','insertRowsAfter','documentStyle','insertColumnAfter','setMargin','527448UqWccF','getColumnsRange','actions','call','insertColumnsAfter','buildInsertTableColumnsMutationActions','DocsTableBorderPreset','_row','buildSetTableCellMarginMutationActions','10079361SxuisC','_createFDocumentTable','extend'];_0x1c10=function(){return _0x427a42;};return _0x1c10();}n[_0x236a81(0x1e7)][_0x236a81(0x26a)](i);function _0x420f(_0x4ca232,_0x3c36b7){_0x4ca232=_0x4ca232-0x1c1;const _0x1c1006=_0x1c10();let _0x420f71=_0x1c1006[_0x4ca232];return _0x420f71;}var a=class{constructor(_0x31ec40,_0x1b4114,_0x8f42c){const _0x47feb7=_0x236a81;this['_table']=_0x31ec40,this[_0x47feb7(0x266)]=_0x1b4114,this[_0x47feb7(0x280)]=_0x8f42c;}[_0x236a81(0x27a)](){return this['_table'];}[_0x236a81(0x233)](){const _0x250d91=_0x236a81;return this[_0x250d91(0x266)];}[_0x236a81(0x242)](){const _0x124055=_0x236a81;return this[_0x124055(0x280)];}[_0x236a81(0x1ee)](){const _0x41757f=_0x236a81;return this[_0x41757f(0x282)][_0x41757f(0x1f9)](this[_0x41757f(0x266)],this[_0x41757f(0x280)]);}['getContentRange'](){const _0x4e3919=_0x236a81;return this[_0x4e3919(0x282)][_0x4e3919(0x225)](this['_row'],this['_column']);}[_0x236a81(0x211)](){const _0x1887cc=_0x236a81;return this['_table'][_0x1887cc(0x230)](this[_0x1887cc(0x266)],this[_0x1887cc(0x280)]);}[_0x236a81(0x210)](){const _0x549811=_0x236a81;return this['_table']['getCellMargin'](this[_0x549811(0x266)],this['_column']);}['getMarginOverride'](){const _0xe5d440=_0x236a81;return this[_0xe5d440(0x282)][_0xe5d440(0x27b)](this[_0xe5d440(0x266)],this[_0xe5d440(0x280)]);}[_0x236a81(0x25e)](_0x1ae256){const _0x278e30=_0x236a81;return this[_0x278e30(0x282)][_0x278e30(0x283)](this[_0x278e30(0x282)]['getCellRange'](this[_0x278e30(0x266)],this[_0x278e30(0x280)]),_0x1ae256);}['clearMarginOverride'](){const _0x23aa43=_0x236a81;return this['_table'][_0x23aa43(0x283)](this[_0x23aa43(0x282)]['getCellRange'](this[_0x23aa43(0x266)],this[_0x23aa43(0x280)]),null);}[_0x236a81(0x1cf)](_0x420998){const _0x573800=_0x236a81;return this[_0x573800(0x282)][_0x573800(0x28b)](this[_0x573800(0x266)],this[_0x573800(0x280)],_0x420998);}[_0x236a81(0x249)](_0x36e08f){const _0x266024=_0x236a81;return this[_0x266024(0x282)][_0x266024(0x1e0)](this[_0x266024(0x282)]['getCellRange'](this[_0x266024(0x266)],this[_0x266024(0x280)]),_0x36e08f);}['setBorder'](_0x5de410){const _0x518156=_0x236a81;return this[_0x518156(0x282)]['setBorder'](this[_0x518156(0x282)][_0x518156(0x295)](this[_0x518156(0x266)],this['_column']),_0x5de410);}[_0x236a81(0x1cb)](_0x3d6e4c,_0x3f9a5a){const _0x24920d=_0x236a81;return this[_0x24920d(0x282)]['mergeCells']({'startRow':this[_0x24920d(0x266)],'startColumn':this[_0x24920d(0x280)],'endRow':this[_0x24920d(0x266)]+_0x3d6e4c-0x1,'endColumn':this[_0x24920d(0x280)]+_0x3f9a5a-0x1});}[_0x236a81(0x28d)](){const _0x36e2cd=_0x236a81;return this[_0x36e2cd(0x282)][_0x36e2cd(0x291)](this[_0x36e2cd(0x282)][_0x36e2cd(0x295)](this[_0x36e2cd(0x266)],this['_column']));}};function o(_0x43fb66){'@babel/helpers - typeof';const _0x4a1f20=_0x236a81;return o=typeof Symbol==_0x4a1f20(0x279)&&typeof Symbol['iterator']==_0x4a1f20(0x1f0)?function(_0x536f39){return typeof _0x536f39;}:function(_0x4fa6e7){const _0x5af586=_0x4a1f20;return _0x4fa6e7&&typeof Symbol==_0x5af586(0x279)&&_0x4fa6e7['constructor']===Symbol&&_0x4fa6e7!==Symbol[_0x5af586(0x24b)]?'symbol':typeof _0x4fa6e7;},o(_0x43fb66);}function s(_0x10741f,_0x3c6563){const _0x3b551d=_0x236a81;if(o(_0x10741f)!=_0x3b551d(0x20e)||!_0x10741f)return _0x10741f;var _0x185e1a=_0x10741f[Symbol[_0x3b551d(0x27e)]];if(_0x185e1a!==void 0x0){var _0x3a255a=_0x185e1a[_0x3b551d(0x262)](_0x10741f,_0x3c6563||_0x3b551d(0x273));if(o(_0x3a255a)!=_0x3b551d(0x20e))return _0x3a255a;throw TypeError(_0x3b551d(0x1e2));}return(_0x3c6563===_0x3b551d(0x24e)?String:Number)(_0x10741f);}function c(_0x3effec){const _0x3b3a18=_0x236a81;var _0x31f8cf=s(_0x3effec,'string');return o(_0x31f8cf)==_0x3b3a18(0x1f0)?_0x31f8cf:_0x31f8cf+'';}function l(_0x18b4fb,_0x495ca4,_0x2b9d80){const _0x38f2f8=_0x236a81;return(_0x495ca4=c(_0x495ca4))in _0x18b4fb?Object[_0x38f2f8(0x23e)](_0x18b4fb,_0x495ca4,{'value':_0x2b9d80,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x18b4fb[_0x495ca4]=_0x2b9d80,_0x18b4fb;}var u=class{constructor(_0x1c4144,_0x3454d6,_0x7be1bf='',_0x334044){const _0x2ccfbf=_0x236a81;this[_0x2ccfbf(0x274)]=_0x1c4144,this[_0x2ccfbf(0x1ec)]=_0x3454d6,this[_0x2ccfbf(0x1fd)]=_0x7be1bf,this[_0x2ccfbf(0x1d4)]=_0x334044,l(this,_0x2ccfbf(0x1d2),void 0x0),this[_0x2ccfbf(0x1d2)]=this[_0x2ccfbf(0x274)][_0x2ccfbf(0x204)]();}[_0x236a81(0x204)](){return this['_tableId'];}[_0x236a81(0x1de)](){const _0x278f8a=_0x236a81;return this[_0x278f8a(0x1fd)];}[_0x236a81(0x1f6)](){const _0x3ea87b=_0x236a81;return{'id':this['_tableId'],'rowCount':this['getRowCount'](),'columnCount':this[_0x3ea87b(0x243)](),'metadata':this[_0x3ea87b(0x22a)](),'source':this[_0x3ea87b(0x20c)]()};}[_0x236a81(0x1d1)](){const _0x2e4350=_0x236a81;let _0x4655f6=this[_0x2e4350(0x22a)](),_0x5a020b=this['getSource'](),_0x1fb92d=this[_0x2e4350(0x243)]();return{'id':this[_0x2e4350(0x1ec)],'rowCount':this[_0x2e4350(0x228)](),'columnCount':_0x1fb92d,'headerRowCount':(_0x4655f6==null?void 0x0:_0x4655f6['headerRowCount'])??0x0,'titleRow':(_0x4655f6==null?void 0x0:_0x4655f6['titleRow'])??!0x1,'columns':Array[_0x2e4350(0x209)]({'length':_0x1fb92d},(_0x24abf0,_0x280c4a)=>{const _0x38a1ec=_0x2e4350;var _0x4ea925,_0x3b1139;return{'index':_0x280c4a,'type':_0x4655f6==null||(_0x4ea925=_0x4655f6[_0x38a1ec(0x256)])==null||(_0x4ea925=_0x4ea925[_0x280c4a])==null?void 0x0:_0x4ea925['type'],'width':_0x5a020b==null||(_0x3b1139=_0x5a020b['tableColumns'][_0x280c4a])==null?void 0x0:_0x3b1139[_0x38a1ec(0x22c)]['width']['v']};}),'sampleRows':Array['from']({'length':this[_0x2e4350(0x228)]()},(_0x34a487,_0x534e7c)=>Array[_0x2e4350(0x209)]({'length':_0x1fb92d},(_0x4cf15f,_0x3fc143)=>this['getCellText'](_0x534e7c,_0x3fc143)))['filter'](_0xa8feea=>_0xa8feea[_0x2e4350(0x292)](_0x168b53=>_0x168b53[_0x2e4350(0x27c)]>0x0))[_0x2e4350(0x1e1)](0x0,0x5)};}[_0x236a81(0x228)](){const _0x3f8480=_0x236a81;var _0x2a89d6;return((_0x2a89d6=this[_0x3f8480(0x20c)]())==null?void 0x0:_0x2a89d6[_0x3f8480(0x22f)]['length'])??0x0;}[_0x236a81(0x243)](){const _0x4bc0f6=_0x236a81;var _0x7b776;return((_0x7b776=this[_0x4bc0f6(0x20c)]())==null?void 0x0:_0x7b776[_0x4bc0f6(0x23c)][_0x4bc0f6(0x27c)])??0x0;}[_0x236a81(0x22d)](_0x1490cf,_0x344be2){const _0x42ebf7=_0x236a81;var _0x543454;return(_0x543454=this[_0x42ebf7(0x20c)]())!=null&&(_0x543454=_0x543454[_0x42ebf7(0x22f)][_0x1490cf])!=null&&_0x543454[_0x42ebf7(0x1e4)][_0x344be2]?this[_0x42ebf7(0x1d4)][_0x42ebf7(0x25a)](a,this,_0x1490cf,_0x344be2):null;}[_0x236a81(0x1f9)](_0x557b3c,_0x818fb3){const _0x37a34b=_0x236a81;var _0x2dde4a,_0xebc888;let _0xf3727d=(_0x2dde4a=(0x0,e[_0x37a34b(0x246)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x2dde4a=_0x2dde4a[_0x37a34b(0x254)][_0x557b3c])==null?void 0x0:_0x2dde4a['cells'][_0x818fb3];return _0xf3727d?((_0xebc888=this[_0x37a34b(0x21d)]()[_0x37a34b(0x21a)])==null?void 0x0:_0xebc888['dataStream'][_0x37a34b(0x1e1)](_0xf3727d[_0x37a34b(0x1ed)]+0x1,_0xf3727d[_0x37a34b(0x21f)])[_0x37a34b(0x253)](/\r\n$/,''))??'':'';}['getCellMargin'](_0xaab71a,_0x34df20){const _0x5e43b7=_0x236a81;var _0x4dd6fe;let _0x36b6ae=this[_0x5e43b7(0x20c)](),_0xb0f66b=_0x36b6ae==null||(_0x4dd6fe=_0x36b6ae[_0x5e43b7(0x22f)][_0xaab71a])==null?void 0x0:_0x4dd6fe['tableCells'][_0x34df20];return _0xb0f66b?t[_0x5e43b7(0x26d)][_0x5e43b7(0x244)](_0xb0f66b[_0x5e43b7(0x1fc)]??_0x36b6ae[_0x5e43b7(0x1ca)]??e[_0x5e43b7(0x214)]):null;}[_0x236a81(0x27b)](_0x2b24c6,_0xc06106){const _0x39dedd=_0x236a81;var _0x4c015c;let _0x3f978c=(_0x4c015c=this[_0x39dedd(0x20c)]())==null||(_0x4c015c=_0x4c015c[_0x39dedd(0x22f)][_0x2b24c6])==null?void 0x0:_0x4c015c[_0x39dedd(0x1e4)][_0xc06106];return _0x3f978c!=null&&_0x3f978c[_0x39dedd(0x1fc)]?t[_0x39dedd(0x26d)][_0x39dedd(0x244)](_0x3f978c['margin']):null;}[_0x236a81(0x272)](){const _0x110101=_0x236a81;var _0x4bdb7f;return t['Tools'][_0x110101(0x244)](((_0x4bdb7f=this['getSource']())==null?void 0x0:_0x4bdb7f[_0x110101(0x1ca)])??e[_0x110101(0x214)]);}['getDefaultCellMarginOverride'](){const _0x2db1fd=_0x236a81;var _0x1dad39;let _0x41a3b9=(_0x1dad39=this[_0x2db1fd(0x20c)]())==null?void 0x0:_0x1dad39[_0x2db1fd(0x1ca)];return _0x41a3b9?t[_0x2db1fd(0x26d)]['deepClone'](_0x41a3b9):null;}['getMetadata'](){const _0x22d549=_0x236a81;return this[_0x22d549(0x1d4)][_0x22d549(0x227)](e[_0x22d549(0x223)])[_0x22d549(0x1dc)](this['_unitId'],this[_0x22d549(0x1ec)]);}[_0x236a81(0x20c)](){const _0x1ec8a5=_0x236a81;var _0x518c4c;return(_0x518c4c=this['_getDocumentData']()[_0x1ec8a5(0x241)])==null?void 0x0:_0x518c4c[this['_tableId']];}[_0x236a81(0x1c3)](){return(0x0,e['getTableRangeById'])(this['_getDocumentData'](),this['_tableId']);}[_0x236a81(0x1c4)](){const _0x204a96=_0x236a81;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x204a96(0x228)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x204a96(0x1e6)](0x0,this[_0x204a96(0x243)]()-0x1)};}[_0x236a81(0x295)](_0x2ee496,_0xdc046d){return{'startRow':_0x2ee496,'endRow':_0x2ee496,'startColumn':_0xdc046d,'endColumn':_0xdc046d};}['getCellContentRange'](_0x4cbf5e,_0x33f348){const _0x9f900c=_0x236a81;var _0x17fd4a;let _0x375f74=(_0x17fd4a=(0x0,e[_0x9f900c(0x246)])(this[_0x9f900c(0x21d)](),this[_0x9f900c(0x1ec)]))==null||(_0x17fd4a=_0x17fd4a[_0x9f900c(0x254)][_0x4cbf5e])==null?void 0x0:_0x17fd4a[_0x9f900c(0x22b)][_0x33f348];if(!_0x375f74)return null;let _0xdf5c65=_0x375f74[_0x9f900c(0x1ed)]+0x1;return{'startOffset':_0xdf5c65,'endOffset':Math[_0x9f900c(0x1e6)](_0xdf5c65,_0x375f74[_0x9f900c(0x21f)]-0x1),'segmentId':this[_0x9f900c(0x1fd)]};}['getCellInsertOffset'](_0x2b1470,_0x54b364){const _0x14839f=_0x236a81;let _0xef8e10=this[_0x14839f(0x225)](_0x2b1470,_0x54b364);return _0xef8e10?Math['max'](_0xef8e10[_0x14839f(0x1ed)],_0xef8e10[_0x14839f(0x21f)]-0x1):null;}[_0x236a81(0x259)](_0x179015){const _0x422edc=_0x236a81;return this[_0x422edc(0x240)](_0x179015,0x1);}[_0x236a81(0x240)](_0x443b7e,_0xd5c5dc=0x1){const _0x116a59=_0x236a81;return{'startRow':_0x443b7e,'endRow':_0x443b7e+_0xd5c5dc-0x1,'startColumn':0x0,'endColumn':Math[_0x116a59(0x1e6)](0x0,this[_0x116a59(0x243)]()-0x1)};}[_0x236a81(0x205)](_0x32c5c2){const _0x1d78de=_0x236a81;return this[_0x1d78de(0x260)](_0x32c5c2,0x1);}[_0x236a81(0x260)](_0x47beb4,_0x32f9ae=0x1){const _0x4b0116=_0x236a81;return{'startRow':0x0,'endRow':Math[_0x4b0116(0x1e6)](0x0,this[_0x4b0116(0x228)]()-0x1),'startColumn':_0x47beb4,'endColumn':_0x47beb4+_0x32f9ae-0x1};}['selectTable'](){const _0x4c9bc1=_0x236a81;return this['selectRange'](this['getTableRange'](),e[_0x4c9bc1(0x213)][_0x4c9bc1(0x1d0)]);}['selectRow'](_0x481443){const _0x1b42e9=_0x236a81;return this[_0x1b42e9(0x24c)](_0x481443,0x1);}[_0x236a81(0x24c)](_0x25d6fc,_0x30fcda=0x1){const _0x3e1db9=_0x236a81;return this[_0x3e1db9(0x21b)](this['getRowsRange'](_0x25d6fc,_0x30fcda),e['DocsTableSelectionKind'][_0x3e1db9(0x27d)]);}['selectColumn'](_0x335e3d){return this['selectColumns'](_0x335e3d,0x1);}[_0x236a81(0x26b)](_0x49d65d,_0x5f03da=0x1){const _0x5b82cd=_0x236a81;return this[_0x5b82cd(0x21b)](this['getColumnsRange'](_0x49d65d,_0x5f03da),e['DocsTableSelectionKind'][_0x5b82cd(0x1eb)]);}['selectCell'](_0x368368,_0xcae9f8){const _0x3f9184=_0x236a81;return this[_0x3f9184(0x21b)](this[_0x3f9184(0x295)](_0x368368,_0xcae9f8),e[_0x3f9184(0x213)][_0x3f9184(0x1fb)]);}['selectRange'](_0x338436,_0x1f1643=e[_0x236a81(0x213)][_0x236a81(0x247)]){const _0x3e7d8e=_0x236a81;return this[_0x3e7d8e(0x1d4)][_0x3e7d8e(0x227)](e[_0x3e7d8e(0x1c7)])[_0x3e7d8e(0x23a)]({..._0x338436,'kind':_0x1f1643,'segmentId':this['_segmentId'],'tableId':this[_0x3e7d8e(0x1ec)]}),!0x0;}['insertRowBefore'](_0x2b880d){const _0x3b94cd=_0x236a81;return this[_0x3b94cd(0x286)](_0x2b880d,0x1);}[_0x236a81(0x206)](_0x94d7d9){const _0x261ba7=_0x236a81;return this[_0x261ba7(0x25b)](_0x94d7d9,0x1);}[_0x236a81(0x286)](_0x5f1e30,_0x5daa4b){const _0x49aac0=_0x236a81;let _0x5c4b07=this[_0x49aac0(0x21d)](),_0x4887b2=(0x0,e[_0x49aac0(0x1c5)])(_0x5c4b07,this['_tableId'],_0x5f1e30,_0x5daa4b,e[_0x49aac0(0x1d7)]['Above'],this['_getBodyPath']());return _0x4887b2?this[_0x49aac0(0x1fe)](_0x5c4b07,_0x4887b2[_0x49aac0(0x261)]):!0x1;}[_0x236a81(0x25b)](_0x10f9cd,_0x529f14){const _0x23bb86=_0x236a81;let _0x515202=this['_getDocumentData'](),_0x149d6a=(0x0,e['buildInsertTableRowsMutationActions'])(_0x515202,this['_tableId'],_0x10f9cd,_0x529f14,e[_0x23bb86(0x1d7)][_0x23bb86(0x26f)],this[_0x23bb86(0x258)]());return _0x149d6a?this['_mutateActions'](_0x515202,_0x149d6a[_0x23bb86(0x261)]):!0x1;}[_0x236a81(0x1f3)](){const _0x4c6767=_0x236a81;return this[_0x4c6767(0x25b)](Math['max'](0x0,this[_0x4c6767(0x228)]()-0x1),0x1);}['insertColumnBefore'](_0x1cc73b){return this['insertColumnsBefore'](_0x1cc73b,0x1);}[_0x236a81(0x25d)](_0x499d54){return this['insertColumnsAfter'](_0x499d54,0x1);}[_0x236a81(0x1df)](_0x49c702,_0x5dc7be){const _0x14936d=_0x236a81;let _0x2e483c=this[_0x14936d(0x21d)](),_0x5eee25=(0x0,e[_0x14936d(0x264)])(_0x2e483c,this[_0x14936d(0x1ec)],_0x49c702,_0x5dc7be,e[_0x14936d(0x1d7)][_0x14936d(0x278)],{'bodyPath':this[_0x14936d(0x258)]()});return _0x5eee25?this[_0x14936d(0x1fe)](_0x2e483c,_0x5eee25[_0x14936d(0x261)]):!0x1;}[_0x236a81(0x263)](_0x598649,_0x444b58){const _0x43ae92=_0x236a81;let _0x10b3c7=this['_getDocumentData'](),_0x1d49aa=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x10b3c7,this[_0x43ae92(0x1ec)],_0x598649,_0x444b58,e['DocsTableInsertPosition'][_0x43ae92(0x1db)],{'bodyPath':this['_getBodyPath']()});return _0x1d49aa?this['_mutateActions'](_0x10b3c7,_0x1d49aa[_0x43ae92(0x261)]):!0x1;}[_0x236a81(0x1e9)](){const _0x513ba1=_0x236a81;return this[_0x513ba1(0x263)](Math[_0x513ba1(0x1e6)](0x0,this[_0x513ba1(0x243)]()-0x1),0x1);}[_0x236a81(0x1e5)](_0x1bc5e9){return this['deleteRows'](_0x1bc5e9,0x1);}[_0x236a81(0x1ce)](_0x4479d7,_0x1351e4=0x1){const _0x2df5ac=_0x236a81;let _0x7e36ce=this['_getDocumentData'](),_0x4adbc9=(0x0,e[_0x2df5ac(0x226)])(_0x7e36ce,this[_0x2df5ac(0x1ec)],_0x4479d7,_0x4479d7+_0x1351e4-0x1,this[_0x2df5ac(0x258)]());return _0x4adbc9?this[_0x2df5ac(0x1fe)](_0x7e36ce,_0x4adbc9[_0x2df5ac(0x261)]):!0x1;}[_0x236a81(0x1f4)](_0x240698){const _0x323984=_0x236a81;return this[_0x323984(0x203)](_0x240698,0x1);}['deleteColumns'](_0x3f057f,_0x5bd9d6=0x1){const _0x4c88cd=_0x236a81;let _0x531596=this[_0x4c88cd(0x21d)](),_0x325c44=(0x0,e['buildDeleteTableColumnsMutationActions'])(_0x531596,this[_0x4c88cd(0x1ec)],_0x3f057f,_0x3f057f+_0x5bd9d6-0x1,this[_0x4c88cd(0x258)]());return _0x325c44?this[_0x4c88cd(0x1fe)](_0x531596,_0x325c44[_0x4c88cd(0x261)]):!0x1;}[_0x236a81(0x26e)](){const _0x1a8aa1=_0x236a81;let _0x5a1d1d=this[_0x1a8aa1(0x21d)](),_0x1b9af3=(0x0,e['buildDeleteTableMutationActions'])(_0x5a1d1d,this[_0x1a8aa1(0x1ec)],this[_0x1a8aa1(0x258)]());return _0x1b9af3?this['_mutateActions'](_0x5a1d1d,_0x1b9af3[_0x1a8aa1(0x261)]):!0x1;}[_0x236a81(0x1ff)](_0x4bbc71,_0x50af13){const _0x29c537=_0x236a81;let _0x3f0345=this[_0x29c537(0x21d)]();return this[_0x29c537(0x1fe)](_0x3f0345,(0x0,e[_0x29c537(0x237)])(_0x3f0345,this[_0x29c537(0x1ec)],_0x4bbc71,_0x50af13));}[_0x236a81(0x20f)](_0x1eb8b5){const _0x1e1f79=_0x236a81;let _0x115197=this[_0x1e1f79(0x21d)]();return this[_0x1e1f79(0x1fe)](_0x115197,(0x0,e[_0x1e1f79(0x1d3)])(_0x115197,this[_0x1e1f79(0x1ec)],_0x1eb8b5,this[_0x1e1f79(0x258)]()));}[_0x236a81(0x1f7)](_0x1e7706,_0x37827b,_0x12a5fd=e[_0x236a81(0x1d7)][_0x236a81(0x1c8)]){const _0x143ce7=_0x236a81;return this[_0x143ce7(0x219)](_0x1e7706,0x1,_0x37827b,_0x12a5fd);}['moveRows'](_0x117868,_0x20f51e,_0x1c1c6d,_0x5d7c59=e[_0x236a81(0x1d7)][_0x236a81(0x1c8)]){const _0x391b74=_0x236a81;let _0x282671=this[_0x391b74(0x21d)](),_0x3d18c4=(0x0,e['buildMoveTableRowsMutationActions'])(_0x282671,this[_0x391b74(0x1ec)],_0x117868,_0x1c1c6d,_0x20f51e,_0x5d7c59,this['_getBodyPath']());return _0x3d18c4?this[_0x391b74(0x1fe)](_0x282671,_0x3d18c4['actions']):!0x1;}[_0x236a81(0x207)](_0x2ad71c,_0x2648c1,_0x2d5357=e[_0x236a81(0x1d7)]['Left']){return this['moveColumns'](_0x2ad71c,0x1,_0x2648c1,_0x2d5357);}[_0x236a81(0x224)](_0x51f44f,_0x23acfc,_0x16e200,_0x5c844e=e['DocsTableInsertPosition']['Left']){const _0x54870a=_0x236a81;let _0x49485c=this[_0x54870a(0x21d)](),_0x947600=(0x0,e[_0x54870a(0x250)])(_0x49485c,this['_tableId'],_0x51f44f,_0x16e200,_0x23acfc,_0x5c844e,this[_0x54870a(0x258)]());return _0x947600?this[_0x54870a(0x1fe)](_0x49485c,_0x947600['actions']):!0x1;}[_0x236a81(0x201)](_0x51fddd){const _0x4bff5f=_0x236a81;try{let _0x357448=this[_0x4bff5f(0x21d)](),_0x50f809=(0x0,e[_0x4bff5f(0x20b)])({'documentData':_0x357448,'tableId':this[_0x4bff5f(0x1ec)],..._0x51fddd});return _0x50f809?this[_0x4bff5f(0x1fe)](_0x357448,_0x50f809[_0x4bff5f(0x261)],_0x51fddd):!0x1;}catch{return!0x1;}}[_0x236a81(0x291)](_0xe70b35){const _0x74ff06=_0x236a81;try{let _0xde1dec=this['_getDocumentData'](),_0x25076f=(0x0,e[_0x74ff06(0x271)])({'documentData':_0xde1dec,'tableId':this[_0x74ff06(0x1ec)],..._0xe70b35});return _0x25076f?this[_0x74ff06(0x1fe)](_0xde1dec,_0x25076f['actions'],_0xe70b35):!0x1;}catch{return!0x1;}}[_0x236a81(0x28b)](_0x576352,_0x1b9e1,_0x59f812){const _0x51056e=_0x236a81;let _0x2075a2=this[_0x51056e(0x21d)](),_0x51670=(0x0,e[_0x51056e(0x1c6)])(this[_0x51056e(0x274)][_0x51056e(0x270)]()[_0x51056e(0x289)](),this[_0x51056e(0x1fd)]);return this[_0x51056e(0x1fe)](_0x2075a2,(0x0,e[_0x51056e(0x200)])({'documentData':_0x2075a2,'tableId':this[_0x51056e(0x1ec)],'row':_0x576352,'column':_0x1b9e1,'text':_0x59f812},_0x51670),this[_0x51056e(0x295)](_0x576352,_0x1b9e1));}[_0x236a81(0x1e0)](_0xcc36d3,_0x686bee){const _0x30a1ff=_0x236a81;let _0x5053b9=this['_getDocumentData']();return this[_0x30a1ff(0x1fe)](_0x5053b9,(0x0,e['buildSetTableBackgroundMutationActions'])(_0x5053b9,{'tableId':this[_0x30a1ff(0x1ec)],..._0xcc36d3,'value':_0x686bee}),_0xcc36d3);}['setCellMargin'](_0x137380,_0x59d615){const _0x205e6f=_0x236a81;let _0x3c3864=this[_0x205e6f(0x21d)]();return this[_0x205e6f(0x1fe)](_0x3c3864,(0x0,e[_0x205e6f(0x267)])({'documentData':_0x3c3864,'tableId':this[_0x205e6f(0x1ec)],..._0x137380,'margin':_0x59d615}),_0x137380);}[_0x236a81(0x1ea)](_0x1634c2){const _0xf83e27=_0x236a81;let _0x55ec91=this[_0xf83e27(0x21d)]();return this[_0xf83e27(0x1fe)](_0x55ec91,(0x0,e['buildSetTableDefaultCellMarginMutationActions'])(_0x55ec91,this[_0xf83e27(0x1ec)],_0x1634c2));}[_0x236a81(0x252)](_0x4e0430,_0x5029d5){const _0x2c296a=_0x236a81;let _0x574c03=this[_0x2c296a(0x21d)]();return this[_0x2c296a(0x1fe)](_0x574c03,(0x0,e[_0x2c296a(0x20d)])({'documentData':_0x574c03,'tableId':this['_tableId'],..._0x4e0430,'preset':_0x5029d5[_0x2c296a(0x24a)]??e[_0x2c296a(0x265)][_0x2c296a(0x21e)],'border':_0x5029d5[_0x2c296a(0x275)]??{'color':{'rgb':_0x5029d5['color']??_0x2c296a(0x1c9)},'width':{'v':_0x5029d5[_0x2c296a(0x20a)]??0x1},'dashStyle':t['DashStyleType'][_0x2c296a(0x238)]}}),_0x4e0430);}[_0x236a81(0x293)](_0x513d3e){const _0x4817cb=_0x236a81;return this['setCellBackground'](this[_0x4817cb(0x1c4)](),_0x513d3e);}[_0x236a81(0x1d6)](_0x4edb0f){const _0x464b46=_0x236a81;return this[_0x464b46(0x252)](this[_0x464b46(0x1c4)](),_0x4edb0f);}[_0x236a81(0x248)](_0x2b0557){const _0x4d7261=_0x236a81;let _0x47cc67=!_0x2b0557[_0x4d7261(0x1d9)]||this[_0x4d7261(0x293)](_0x2b0557['backgroundColor']),_0x26d2a0=!_0x2b0557[_0x4d7261(0x275)]||this[_0x4d7261(0x1d6)](_0x2b0557[_0x4d7261(0x275)]);return _0x47cc67&&_0x26d2a0;}[_0x236a81(0x245)](_0x4ebc37,_0x6dc8a,_0x53086e=t[_0x236a81(0x235)][_0x236a81(0x1f5)]){const _0x416504=_0x236a81;var _0x2d04ae;let _0x1cc688=this[_0x416504(0x21d)]();return(_0x2d04ae=_0x1cc688[_0x416504(0x241)])!=null&&(_0x2d04ae=_0x2d04ae[this[_0x416504(0x1ec)]])!=null&&_0x2d04ae[_0x416504(0x22f)][_0x4ebc37]?this['_mutateActions'](_0x1cc688,(0x0,e[_0x416504(0x22e)])(_0x1cc688,this[_0x416504(0x1ec)],_0x4ebc37,_0x6dc8a,_0x53086e)):!0x1;}[_0x236a81(0x285)](_0x14c936){const _0x384f6e=_0x236a81;var _0x2846e2;let _0x3ac4af=(_0x2846e2=this[_0x384f6e(0x20c)]())==null||(_0x2846e2=_0x2846e2[_0x384f6e(0x22f)][_0x14c936])==null?void 0x0:_0x2846e2[_0x384f6e(0x1e3)];return _0x3ac4af?t['Tools'][_0x384f6e(0x244)](_0x3ac4af):null;}['setColumnWidth'](_0x15ab7f,_0x410623){const _0x2ff67d=_0x236a81;var _0x2eced6;let _0x5e3b83=this[_0x2ff67d(0x21d)]();return(_0x2eced6=_0x5e3b83['tableSource'])!=null&&(_0x2eced6=_0x2eced6[this[_0x2ff67d(0x1ec)]])!=null&&_0x2eced6[_0x2ff67d(0x23c)][_0x15ab7f]?this['_mutateActions'](_0x5e3b83,(0x0,e[_0x2ff67d(0x23d)])(_0x5e3b83,this['_tableId'],_0x15ab7f,_0x410623)):!0x1;}[_0x236a81(0x27f)](_0x525dd3=0x0,_0x1edf15=this[_0x236a81(0x228)]()){const _0x302dd5=_0x236a81;let _0x578b88=this['_getDocumentData']();return this[_0x302dd5(0x1fe)](_0x578b88,(0x0,e[_0x302dd5(0x208)])(_0x578b88,this[_0x302dd5(0x1ec)],_0x525dd3,_0x525dd3+_0x1edf15-0x1));}['distributeColumns'](_0x1e70c7=0x0,_0x197826=this[_0x236a81(0x243)]()){const _0x521c71=_0x236a81;let _0x3a64e3=this[_0x521c71(0x21d)]();return this[_0x521c71(0x1fe)](_0x3a64e3,(0x0,e['buildDistributeTableColumnsMutationActions'])(_0x3a64e3,this[_0x521c71(0x1ec)],_0x1e70c7,_0x1e70c7+_0x197826-0x1));}['getHeaderRowCount'](){var _0x2811d4;return((_0x2811d4=this['getMetadata']())==null?void 0x0:_0x2811d4['headerRowCount'])??0x0;}['setHeaderRowCount'](_0x7d7452){const _0x31610b=_0x236a81;let _0x5f3fb7=this[_0x31610b(0x1d4)][_0x31610b(0x227)](e[_0x31610b(0x223)]),_0x30dea7=this[_0x31610b(0x21d)](),_0x236de8=(0x0,e['buildSetTableHeaderRowCountMutationActions'])(_0x30dea7,this[_0x31610b(0x1ec)],_0x7d7452);if(!_0x236de8)return!0x1;let _0x5c6532=this[_0x31610b(0x1fe)](_0x30dea7,_0x236de8[_0x31610b(0x261)]);return _0x5c6532&&_0x5f3fb7[_0x31610b(0x1ef)](this['_unitId'],this[_0x31610b(0x1ec)],_0x236de8[_0x31610b(0x255)]),_0x5c6532;}[_0x236a81(0x221)](_0x550def){return this['setHeaderRowCount'](_0x550def);}['hasTitleRow'](){const _0x1bc3ba=_0x236a81;var _0x3ebf0e;return((_0x3ebf0e=this[_0x1bc3ba(0x22a)]())==null?void 0x0:_0x3ebf0e[_0x1bc3ba(0x1c2)])??!0x1;}[_0x236a81(0x1fa)](){const _0x3baea3=_0x236a81;let _0x496f20=this['_injector']['get'](e[_0x3baea3(0x223)]),_0x391e25=this[_0x3baea3(0x21d)](),_0x35086a=(0x0,e[_0x3baea3(0x1dd)])(_0x391e25,this['_tableId'],this[_0x3baea3(0x258)]());if(!_0x35086a)return!0x1;let _0x38390b=this['_mutateActions'](_0x391e25,_0x35086a[_0x3baea3(0x261)]);return _0x38390b&&_0x496f20['setTitleRow'](this[_0x3baea3(0x1d2)],this[_0x3baea3(0x1ec)],!0x0),_0x38390b;}[_0x236a81(0x1d8)](_0x206143,_0x3af881){const _0x483c3c=_0x236a81;return this[_0x483c3c(0x1d4)][_0x483c3c(0x227)](e[_0x483c3c(0x223)])['setColumnType'](this[_0x483c3c(0x1d2)],this['_tableId'],_0x206143,_0x3af881),!0x0;}[_0x236a81(0x281)](_0x4f242c,_0x32b611){const _0x32a07e=_0x236a81;let _0x8c4b06=this[_0x32a07e(0x21d)]();return this['_mutateActions'](_0x8c4b06,(0x0,e[_0x32a07e(0x212)])(_0x8c4b06,this['_serializeModel'](),this['_tableId'],_0x4f242c,_0x32b611,this[_0x32a07e(0x258)]()));}[_0x236a81(0x21d)](){const _0xe1412c=_0x236a81;let _0x10ef1e=this[_0xe1412c(0x274)][_0xe1412c(0x270)]()[_0xe1412c(0x289)]();return this[_0xe1412c(0x1fd)]?{...this[_0xe1412c(0x274)][_0xe1412c(0x270)](this[_0xe1412c(0x1fd)])[_0xe1412c(0x289)](),'documentStyle':_0x10ef1e['documentStyle'],'tableSource':_0x10ef1e[_0xe1412c(0x241)]}:_0x10ef1e;}[_0x236a81(0x28f)](){const _0x542fa6=_0x236a81;return this['_injector']['get'](e[_0x542fa6(0x223)])[_0x542fa6(0x290)](this['_unitId']);}['_getBodyPath'](){const _0x553531=_0x236a81;return(0x0,e[_0x553531(0x1c6)])(this['_document'][_0x553531(0x270)]()['getSnapshot'](),this[_0x553531(0x1fd)]);}[_0x236a81(0x1fe)](_0x14a2b9,_0x15f01f,_0x4c0eb0){const _0x475e6a=_0x236a81;return(0x0,e['executeRichTextTableActions'])(this[_0x475e6a(0x1d4)][_0x475e6a(0x227)](t[_0x475e6a(0x1cc)]),this[_0x475e6a(0x1d2)],_0x14a2b9,_0x15f01f,_0x4c0eb0?{'tableId':this[_0x475e6a(0x1ec)],'segmentId':this[_0x475e6a(0x1fd)],..._0x4c0eb0}:void 0x0);}},d=class extends r[_0x236a81(0x202)]{[_0x236a81(0x1d5)](_0x46ffaa=''){const _0x1165f2=_0x236a81;return this[_0x1165f2(0x1c1)](_0x46ffaa)['map'](_0x850470=>this[_0x1165f2(0x269)](_0x850470[_0x1165f2(0x231)],_0x46ffaa));}[_0x236a81(0x27a)](_0x321278,_0xb7a991=''){const _0x51f835=_0x236a81;return this[_0x51f835(0x1c1)](_0xb7a991)[_0x51f835(0x292)](_0x273365=>_0x273365['tableId']===_0x321278)?this['_createFDocumentTable'](_0x321278,_0xb7a991):null;}[_0x236a81(0x28c)](_0x50bdae,_0x30eaee=''){const _0x474dc9=_0x236a81;var _0xf859b4;let _0x4994a9=(_0xf859b4=this[_0x474dc9(0x1c1)](_0x30eaee)[_0x50bdae])==null?void 0x0:_0xf859b4[_0x474dc9(0x231)];return _0x4994a9?this[_0x474dc9(0x269)](_0x4994a9,_0x30eaee):null;}[_0x236a81(0x1da)](){const _0xcca9ac=_0x236a81;let _0x5b267f=this['_injector'][_0xcca9ac(0x227)](e['DocsTableSelectionService'])[_0xcca9ac(0x28a)]();return _0x5b267f!=null&&_0x5b267f[_0xcca9ac(0x231)]?this[_0xcca9ac(0x269)](_0x5b267f[_0xcca9ac(0x231)],_0x5b267f[_0xcca9ac(0x220)]):null;}[_0x236a81(0x239)](_0x18b1d8,_0x22925f=''){const _0x159493=_0x236a81;return this[_0x159493(0x232)](_0x18b1d8,_0x22925f)[0x0]??null;}[_0x236a81(0x232)](_0x597ba2,_0x2a1c42=''){const _0x510bda=_0x236a81;let _0x5c7dcd=this[_0x510bda(0x24f)](_0x2a1c42),_0x5407dc=typeof _0x597ba2==_0x510bda(0x24e)?{'text':_0x597ba2}:_0x597ba2;return this[_0x510bda(0x1d5)](_0x2a1c42)[_0x510bda(0x284)](_0x304689=>{const _0x37c85a=_0x510bda;let _0x5a3c1c=_0x304689[_0x37c85a(0x204)]();return!(_0x5407dc[_0x37c85a(0x231)]&&_0x5a3c1c!==_0x5407dc[_0x37c85a(0x231)]||_0x5407dc[_0x37c85a(0x23f)]&&!this[_0x37c85a(0x296)](_0x5c7dcd,_0x5a3c1c,_0x5407dc[_0x37c85a(0x23f)])||_0x5407dc[_0x37c85a(0x24d)]&&!this['_rowContainsText'](_0x304689,0x0,_0x5407dc[_0x37c85a(0x24d)])||_0x5407dc['titleText']&&!this[_0x37c85a(0x251)](_0x304689,0x0,_0x5407dc[_0x37c85a(0x236)]));});}['insertTable'](_0x430b47,_0x4cfb32,_0x2856d5={}){const _0x1ea987=_0x236a81;let _0x5ed370=this['_injector']['get'](t[_0x1ea987(0x1cc)]),_0x79ccea=_0x2856d5[_0x1ea987(0x231)]??(0x0,t[_0x1ea987(0x217)])(0x6);return _0x5ed370[_0x1ea987(0x1e8)](e[_0x1ea987(0x1f1)]['id'],{..._0x2856d5,'unitId':this[_0x1ea987(0x204)](),'rows':_0x430b47,'columns':_0x4cfb32,'tableId':_0x79ccea})?this[_0x1ea987(0x269)](_0x79ccea,_0x2856d5[_0x1ea987(0x220)]??''):null;}[_0x236a81(0x1f8)](_0x3cf629,_0x15de9c={}){const _0x1543c5=_0x236a81;let _0x94e104=this[_0x1543c5(0x1d4)][_0x1543c5(0x227)](t['ICommandService']),_0x27c011=_0x15de9c[_0x1543c5(0x231)]??(0x0,t[_0x1543c5(0x217)])(0x6);return _0x94e104['syncExecuteCommand'](e[_0x1543c5(0x1f1)]['id'],{..._0x15de9c,'unitId':this[_0x1543c5(0x204)](),'values':_0x3cf629,'tableId':_0x27c011})?this[_0x1543c5(0x269)](_0x27c011,_0x15de9c[_0x1543c5(0x220)]??''):null;}[_0x236a81(0x1c1)](_0x2c21ca=''){const _0x58bb85=_0x236a81;let {tables:_0x3105e7=[]}=this[_0x58bb85(0x276)](_0x2c21ca);return _0x3105e7;}[_0x236a81(0x24f)](_0x386e0f=''){const _0x3bd499=_0x236a81;let _0x31a4ba=this[_0x3bd499(0x270)]()['getSnapshot']();return _0x386e0f?{...this[_0x3bd499(0x270)](_0x386e0f)[_0x3bd499(0x289)](),'documentStyle':_0x31a4ba[_0x3bd499(0x25c)],'tableSource':_0x31a4ba[_0x3bd499(0x241)]}:_0x31a4ba;}['_createFDocumentTable'](_0x1b76f2,_0xff238f=''){const _0xb1a4e7=_0x236a81;return this[_0xb1a4e7(0x1d4)][_0xb1a4e7(0x25a)](u,this,_0x1b76f2,_0xff238f,this[_0xb1a4e7(0x1d4)]);}['_tableContainsText'](_0x20e160,_0x214d0c,_0x2a7fa7){const _0x383d45=_0x236a81;var _0x2272ef;let _0x3ee298=(0x0,e['getTableRangeById'])(_0x20e160,_0x214d0c);if(!_0x3ee298)return!0x1;let _0x5ca410=(_0x2272ef=_0x20e160[_0x383d45(0x21a)])==null?void 0x0:_0x2272ef[_0x383d45(0x28e)];return _0x5ca410?_0x5ca410[_0x383d45(0x1e1)](_0x3ee298[_0x383d45(0x1ed)],_0x3ee298[_0x383d45(0x21f)])[_0x383d45(0x215)](_0x2a7fa7):!0x1;}[_0x236a81(0x251)](_0x235628,_0xd57dbe,_0x246065){const _0x2c6c20=_0x236a81;return Array['from']({'length':_0x235628[_0x2c6c20(0x243)]()},(_0x2de825,_0x15e902)=>_0x235628['getCellText'](_0xd57dbe,_0x15e902))[_0x2c6c20(0x292)](_0xa9b2d0=>_0xa9b2d0[_0x2c6c20(0x215)](_0x246065));}};r[_0x236a81(0x202)][_0x236a81(0x26a)](d),exports[_0x236a81(0x1cd)]=u,exports[_0x236a81(0x234)]=a;