@univerjs-pro/docs-table 1.0.0-insiders.20260813-7c9aa50 → 1.0.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/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x4053b0=_0x431e;(function(_0x5579f0,_0x58cf18){const _0x155afc=_0x431e,_0x2e1535=_0x5579f0();while(!![]){try{const _0x5cba41=parseInt(_0x155afc(0x1dd))/0x1*(parseInt(_0x155afc(0x1f7))/0x2)+-parseInt(_0x155afc(0x215))/0x3+parseInt(_0x155afc(0x1e9))/0x4*(parseInt(_0x155afc(0x190))/0x5)+-parseInt(_0x155afc(0x1d3))/0x6+-parseInt(_0x155afc(0x209))/0x7*(parseInt(_0x155afc(0x1f3))/0x8)+-parseInt(_0x155afc(0x1bf))/0x9+parseInt(_0x155afc(0x176))/0xa;if(_0x5cba41===_0x58cf18)break;else _0x2e1535['push'](_0x2e1535['shift']());}catch(_0x1a1f64){_0x2e1535['push'](_0x2e1535['shift']());}}}(_0x329e,0xb4f0a));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x819526,DocsTableBorderPreset as _0x138a2b,DocsTableColumnInsertPosition as _0x227e5f,DocsTableColumnType as _0x45bd52,DocsTableInsertPosition as _0x562c12,DocsTableInsertTableCommand as _0x56b5c7,DocsTableInsertTablePosition as _0x4341da,DocsTableModel as _0x34e3dc,DocsTableRowInsertPosition as _0x13c454,DocsTableSelectionKind as _0x1b2cbf,DocsTableSelectionService as _0x28c1fa,DocsTableSortDirection as _0x24ec34,buildDeleteTableColumnsMutationActions as _0x99564d,buildDeleteTableMutationActions as _0x3aa9b6,buildDeleteTableRowsMutationActions as _0x2ffc50,buildDistributeTableColumnsMutationActions as _0x4e7e4b,buildDistributeTableRowsMutationActions as _0x366c25,buildInsertTableColumnsMutationActions as _0x53f993,buildInsertTableRowsMutationActions as _0x2f46d8,buildInsertTableTitleRowMutationActions as _0x3721eb,buildMergeCellsMutationActions as _0x59c141,buildMoveFloatingTableMutationActions as _0x3054c9,buildMoveTableColumnsMutationActions as _0x2e4617,buildMoveTableRowsMutationActions as _0x4d2220,buildMoveTableToOffsetMutationActions as _0x1dc262,buildResizeTableColumnActionsFromWidth as _0x500384,buildResizeTableRowActionsFromHeight as _0xc8e5c1,buildSetTableBackgroundMutationActions as _0x2649ca,buildSetTableBorderMutationActions as _0x503741,buildSetTableCellMarginMutationActions as _0x1bdc89,buildSetTableCellTextMutationActions as _0x7e6749,buildSetTableDefaultCellMarginMutationActions as _0x6ae62b,buildSetTableHeaderRowCountMutationActions as _0x4a6881,buildSortTableMutationActions as _0x1f493d,buildUnmergeCellsMutationActions as _0x1ac0de,executeRichTextTableActions as _0x1951f0,getTableActionBodyPath as _0x3c1af6,getTableRangeById as _0x38c9c0}from'@univerjs-pro/docs-table';import{DashStyleType as _0x30c260,ICommandService as _0x3d2cf7,TableRowHeightRule as _0x441848,Tools as _0x543228,generateRandomId as _0x4acfa9}from'@univerjs/core';import{FEnum as _0x4282c3}from'@univerjs/core/facade';import{FDocument as _0x3757ef}from'@univerjs/docs/facade';function _0x329e(){const _0x458556=['setColumnWidth','getMargin','232472WmqPiB','get','getTables','object','46TLMxAg','backgroundColor','serialize','startOffset','distributeRows','getCellContentRange','_getBodyPath','extend','some','moveRow','tableSource','setHeaderRowCount','getDefaultCellMargin','selectRange','insertColumnsBefore','_table','_getTables','border','308svhOJz','getStableTableSelection','moveColumn','tableColumns','headerText','_getTableDocumentData','getCellInsertOffset','rows','deleteColumns','_mutateActions','All','AT_LEAST','3888423TDuVuQ','length','_row','setMargin','endOffset','selectTable','getSnapshot','getTable','sortByColumn','toPrimitive','getCell','getTableMetadata','dataStream','SOLID','selectColumn','mergeCells','getTableRange','21270800OJnKsC','getCellRange','insertTitleRow','setText','_getDocumentData','getMetadata','getCellMarginOverride','getSource','setStructuralSelection','insertTable','body','appendColumn','moveColumns','setBackgroundColor','setCellMargin','deleteRows','Range','getCellText','segmentId','replace','tableCells','moveRows','headerRowCount','selectColumns','includes','Below','295675bKpXUa','getColumnsRange','cells','slice','getRange','getRowsRange','clearMarginOverride','setCellBackground','_segmentId','map','_tableContainsText','color','margin','Right','getHeaderRowCount','_column','mergeTo','insertColumnsAfter','findTables','defineProperty','getId','syncExecuteCommand','createInstance','#1f1f1f','insertRowBefore','DocsTableRowInsertPosition','call','hasTitleRow','selectRow','DocsTableColumnType','setColumnType','_document','titleText','_createFDocumentTable','Above','moveTableToOffset','describe','getRowCount','filter','getColumnRange','tableId','getDocumentDataModel','columnTypes','insertColumnBefore','_unitId','deleteRow','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','2569950Njzfqj','deepClone','DocsTableSelectionKind','Column','Table','selectRows','getColumnIndex','preset','_rowContainsText','max','selectCell','_serializeModel','string','_injector','appendRow','getRowHeight','deleteColumn','tableRows','setDefaultCellMargin','symbol','1474122zbPNXX','function','size','setTableBackground','prototype','setBorder','unmergeCells','iterator','_tableId','cellMargin','25933VIAKTY','getColumnCount','getBody','getCellMargin','default','Left','findTableByText','Row','text','DocsTableColumnInsertPosition','actions','from','76UgvJbE','insertRowsAfter','insertRowsBefore','type','insertRowAfter','setTableBorder','insertColumnAfter','getRowRange'];_0x329e=function(){return _0x458556;};return _0x329e();}var G=class extends _0x4282c3{get['DocsTableInsertTablePosition'](){return _0x4341da;}get[_0x4053b0(0x1ad)](){return _0x45bd52;}get[_0x4053b0(0x1c1)](){return _0x1b2cbf;}get[_0x4053b0(0x1a9)](){return _0x13c454;}get[_0x4053b0(0x1e6)](){return _0x227e5f;}get['DocsTableBorderPreset'](){return _0x138a2b;}get['DocsTableSortDirection'](){return _0x24ec34;}get['DashStyleType'](){return _0x30c260;}};function _0x431e(_0x181680,_0x4c5456){_0x181680=_0x181680-0x174;const _0x329e65=_0x329e();let _0x431eea=_0x329e65[_0x181680];return _0x431eea;}_0x4282c3[_0x4053b0(0x1fe)](G);var K=class{constructor(_0x4d900a,_0x2ba238,_0x3dd3f3){const _0x4ab117=_0x4053b0;this[_0x4ab117(0x206)]=_0x4d900a,this[_0x4ab117(0x217)]=_0x2ba238,this['_column']=_0x3dd3f3;}['getTable'](){return this['_table'];}['getRowIndex'](){const _0xc59027=_0x4053b0;return this[_0xc59027(0x217)];}[_0x4053b0(0x1c5)](){return this['_column'];}['getText'](){const _0x37043e=_0x4053b0;return this[_0x37043e(0x206)][_0x37043e(0x187)](this['_row'],this[_0x37043e(0x19f)]);}['getContentRange'](){const _0x280408=_0x4053b0;return this[_0x280408(0x206)]['getCellContentRange'](this['_row'],this[_0x280408(0x19f)]);}['getInsertOffset'](){const _0xfe3bf0=_0x4053b0;return this['_table'][_0xfe3bf0(0x20f)](this[_0xfe3bf0(0x217)],this[_0xfe3bf0(0x19f)]);}[_0x4053b0(0x1f2)](){const _0x19c50e=_0x4053b0;return this['_table'][_0x19c50e(0x1e0)](this['_row'],this[_0x19c50e(0x19f)]);}['getMarginOverride'](){const _0x839a3b=_0x4053b0;return this[_0x839a3b(0x206)]['getCellMarginOverride'](this[_0x839a3b(0x217)],this[_0x839a3b(0x19f)]);}[_0x4053b0(0x218)](_0x49b777){const _0x5bb365=_0x4053b0;return this[_0x5bb365(0x206)][_0x5bb365(0x184)](this['_table'][_0x5bb365(0x177)](this[_0x5bb365(0x217)],this[_0x5bb365(0x19f)]),_0x49b777);}[_0x4053b0(0x196)](){const _0x4748d0=_0x4053b0;return this[_0x4748d0(0x206)]['setCellMargin'](this[_0x4748d0(0x206)][_0x4748d0(0x177)](this['_row'],this['_column']),null);}[_0x4053b0(0x179)](_0xefe163){const _0x3c908e=_0x4053b0;return this[_0x3c908e(0x206)]['setCellText'](this[_0x3c908e(0x217)],this[_0x3c908e(0x19f)],_0xefe163);}[_0x4053b0(0x183)](_0x4f99b6){const _0x54e83f=_0x4053b0;return this[_0x54e83f(0x206)][_0x54e83f(0x197)](this[_0x54e83f(0x206)]['getCellRange'](this[_0x54e83f(0x217)],this[_0x54e83f(0x19f)]),_0x4f99b6);}['setBorder'](_0x23f806){const _0x3b1281=_0x4053b0;return this[_0x3b1281(0x206)][_0x3b1281(0x1d8)](this[_0x3b1281(0x206)][_0x3b1281(0x177)](this[_0x3b1281(0x217)],this[_0x3b1281(0x19f)]),_0x23f806);}[_0x4053b0(0x1a0)](_0xefc1db,_0x4fab83){const _0x1a254a=_0x4053b0;return this[_0x1a254a(0x206)][_0x1a254a(0x174)]({'startRow':this['_row'],'startColumn':this[_0x1a254a(0x19f)],'endRow':this['_row']+_0xefc1db-0x1,'endColumn':this[_0x1a254a(0x19f)]+_0x4fab83-0x1});}['unmerge'](){const _0x3f0914=_0x4053b0;return this[_0x3f0914(0x206)][_0x3f0914(0x1d9)](this[_0x3f0914(0x206)][_0x3f0914(0x177)](this[_0x3f0914(0x217)],this[_0x3f0914(0x19f)]));}};function q(_0x59a506){'@babel/helpers - typeof';const _0x1de8f4=_0x4053b0;return q=typeof Symbol==_0x1de8f4(0x1d4)&&typeof Symbol[_0x1de8f4(0x1da)]=='symbol'?function(_0x5df887){return typeof _0x5df887;}:function(_0x3fc913){const _0x4bd9aa=_0x1de8f4;return _0x3fc913&&typeof Symbol==_0x4bd9aa(0x1d4)&&_0x3fc913['constructor']===Symbol&&_0x3fc913!==Symbol[_0x4bd9aa(0x1d7)]?_0x4bd9aa(0x1d2):typeof _0x3fc913;},q(_0x59a506);}function J(_0x36b7a8,_0x55de3a){const _0x3db7e0=_0x4053b0;if(q(_0x36b7a8)!=_0x3db7e0(0x1f6)||!_0x36b7a8)return _0x36b7a8;var _0x346ae3=_0x36b7a8[Symbol[_0x3db7e0(0x21e)]];if(_0x346ae3!==void 0x0){var _0x4a8a74=_0x346ae3[_0x3db7e0(0x1aa)](_0x36b7a8,_0x55de3a||_0x3db7e0(0x1e1));if(q(_0x4a8a74)!=_0x3db7e0(0x1f6))return _0x4a8a74;throw TypeError(_0x3db7e0(0x1be));}return(_0x55de3a===_0x3db7e0(0x1cb)?String:Number)(_0x36b7a8);}function Y(_0x5ec363){const _0x94489d=_0x4053b0;var _0xb64d9=J(_0x5ec363,_0x94489d(0x1cb));return q(_0xb64d9)==_0x94489d(0x1d2)?_0xb64d9:_0xb64d9+'';}function X(_0x13b9c9,_0x554823,_0x1748dc){const _0x15a5b9=_0x4053b0;return(_0x554823=Y(_0x554823))in _0x13b9c9?Object[_0x15a5b9(0x1a3)](_0x13b9c9,_0x554823,{'value':_0x1748dc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x13b9c9[_0x554823]=_0x1748dc,_0x13b9c9;}var Z=class{constructor(_0x346893,_0x1be0d5,_0x373dc6='',_0x3e6197){const _0x193ce6=_0x4053b0;this['_document']=_0x346893,this[_0x193ce6(0x1db)]=_0x1be0d5,this[_0x193ce6(0x198)]=_0x373dc6,this[_0x193ce6(0x1cc)]=_0x3e6197,X(this,_0x193ce6(0x1bc),void 0x0),this[_0x193ce6(0x1bc)]=this['_document'][_0x193ce6(0x1a4)]();}['getId'](){const _0x5df067=_0x4053b0;return this[_0x5df067(0x1db)];}['getSegmentId'](){const _0x5f2979=_0x4053b0;return this[_0x5f2979(0x198)];}['getInfo'](){const _0x5925f4=_0x4053b0;return{'id':this[_0x5925f4(0x1db)],'rowCount':this['getRowCount'](),'columnCount':this[_0x5925f4(0x1de)](),'metadata':this[_0x5925f4(0x17b)](),'source':this[_0x5925f4(0x17d)]()};}[_0x4053b0(0x1b4)](){const _0x2d0392=_0x4053b0;let _0x22f72b=this[_0x2d0392(0x17b)](),_0x49aed3=this[_0x2d0392(0x17d)](),_0x67e2e2=this[_0x2d0392(0x1de)]();return{'id':this[_0x2d0392(0x1db)],'rowCount':this[_0x2d0392(0x1b5)](),'columnCount':_0x67e2e2,'headerRowCount':(_0x22f72b==null?void 0x0:_0x22f72b['headerRowCount'])??0x0,'titleRow':(_0x22f72b==null?void 0x0:_0x22f72b['titleRow'])??!0x1,'columns':Array[_0x2d0392(0x1e8)]({'length':_0x67e2e2},(_0x35ab44,_0xbb8079)=>{const _0x157fbe=_0x2d0392;var _0x1ce9b9,_0x5f4a1a;return{'index':_0xbb8079,'type':_0x22f72b==null||(_0x1ce9b9=_0x22f72b[_0x157fbe(0x1ba)])==null||(_0x1ce9b9=_0x1ce9b9[_0xbb8079])==null?void 0x0:_0x1ce9b9[_0x157fbe(0x1ec)],'width':_0x49aed3==null||(_0x5f4a1a=_0x49aed3[_0x157fbe(0x20c)][_0xbb8079])==null?void 0x0:_0x5f4a1a[_0x157fbe(0x1d5)]['width']['v']};}),'sampleRows':Array[_0x2d0392(0x1e8)]({'length':this[_0x2d0392(0x1b5)]()},(_0x164543,_0x311747)=>Array[_0x2d0392(0x1e8)]({'length':_0x67e2e2},(_0x559e6b,_0xec7087)=>this[_0x2d0392(0x187)](_0x311747,_0xec7087)))[_0x2d0392(0x1b6)](_0x5f2494=>_0x5f2494[_0x2d0392(0x1ff)](_0x11b1c4=>_0x11b1c4[_0x2d0392(0x216)]>0x0))['slice'](0x0,0x5)};}[_0x4053b0(0x1b5)](){const _0x253662=_0x4053b0;var _0x4fc0a1;return((_0x4fc0a1=this['getSource']())==null?void 0x0:_0x4fc0a1[_0x253662(0x1d0)][_0x253662(0x216)])??0x0;}[_0x4053b0(0x1de)](){const _0x2d7db7=_0x4053b0;var _0x9375ff;return((_0x9375ff=this[_0x2d7db7(0x17d)]())==null?void 0x0:_0x9375ff[_0x2d7db7(0x20c)][_0x2d7db7(0x216)])??0x0;}[_0x4053b0(0x21f)](_0x14dd0e,_0x15d440){const _0x34eace=_0x4053b0;var _0x32af82;return(_0x32af82=this['getSource']())!=null&&(_0x32af82=_0x32af82[_0x34eace(0x1d0)][_0x14dd0e])!=null&&_0x32af82[_0x34eace(0x18a)][_0x15d440]?this['_injector'][_0x34eace(0x1a6)](K,this,_0x14dd0e,_0x15d440):null;}[_0x4053b0(0x187)](_0x42ebc9,_0x45f4a9){const _0x407059=_0x4053b0;var _0x5d7450,_0x2b5c18;let _0x1cf890=(_0x5d7450=_0x38c9c0(this[_0x407059(0x17a)](),this[_0x407059(0x1db)]))==null||(_0x5d7450=_0x5d7450[_0x407059(0x210)][_0x42ebc9])==null?void 0x0:_0x5d7450[_0x407059(0x192)][_0x45f4a9];return _0x1cf890?((_0x2b5c18=this[_0x407059(0x17a)]()[_0x407059(0x180)])==null?void 0x0:_0x2b5c18['dataStream'][_0x407059(0x193)](_0x1cf890[_0x407059(0x1fa)]+0x1,_0x1cf890[_0x407059(0x219)])[_0x407059(0x189)](/\r\n$/,''))??'':'';}[_0x4053b0(0x1e0)](_0x38775e,_0x18c458){const _0x3217ac=_0x4053b0;var _0x4ea049;let _0x48bfc0=this[_0x3217ac(0x17d)](),_0x345bc4=_0x48bfc0==null||(_0x4ea049=_0x48bfc0['tableRows'][_0x38775e])==null?void 0x0:_0x4ea049[_0x3217ac(0x18a)][_0x18c458];return _0x345bc4?_0x543228['deepClone'](_0x345bc4[_0x3217ac(0x19c)]??_0x48bfc0[_0x3217ac(0x1dc)]??_0x819526):null;}[_0x4053b0(0x17c)](_0x4b534f,_0xb82d8f){const _0x416d61=_0x4053b0;var _0xb8c6e7;let _0x1ec336=(_0xb8c6e7=this['getSource']())==null||(_0xb8c6e7=_0xb8c6e7[_0x416d61(0x1d0)][_0x4b534f])==null?void 0x0:_0xb8c6e7[_0x416d61(0x18a)][_0xb82d8f];return _0x1ec336!=null&&_0x1ec336['margin']?_0x543228[_0x416d61(0x1c0)](_0x1ec336[_0x416d61(0x19c)]):null;}[_0x4053b0(0x203)](){const _0x1402cf=_0x4053b0;var _0x8714a8;return _0x543228[_0x1402cf(0x1c0)](((_0x8714a8=this[_0x1402cf(0x17d)]())==null?void 0x0:_0x8714a8['cellMargin'])??_0x819526);}['getDefaultCellMarginOverride'](){const _0x2ac14e=_0x4053b0;var _0xa64b95;let _0x85564=(_0xa64b95=this[_0x2ac14e(0x17d)]())==null?void 0x0:_0xa64b95['cellMargin'];return _0x85564?_0x543228[_0x2ac14e(0x1c0)](_0x85564):null;}['getMetadata'](){const _0x5d6269=_0x4053b0;return this[_0x5d6269(0x1cc)][_0x5d6269(0x1f4)](_0x34e3dc)[_0x5d6269(0x220)](this['_unitId'],this[_0x5d6269(0x1db)]);}[_0x4053b0(0x17d)](){const _0x1517e9=_0x4053b0;var _0x19947a;return(_0x19947a=this[_0x1517e9(0x17a)]()[_0x1517e9(0x201)])==null?void 0x0:_0x19947a[this[_0x1517e9(0x1db)]];}[_0x4053b0(0x194)](){const _0x3728b7=_0x4053b0;return _0x38c9c0(this[_0x3728b7(0x17a)](),this[_0x3728b7(0x1db)]);}[_0x4053b0(0x175)](){const _0x3bc81f=_0x4053b0;return{'startRow':0x0,'endRow':Math[_0x3bc81f(0x1c8)](0x0,this[_0x3bc81f(0x1b5)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x3bc81f(0x1c8)](0x0,this['getColumnCount']()-0x1)};}[_0x4053b0(0x177)](_0x3d2e3a,_0x5ad910){return{'startRow':_0x3d2e3a,'endRow':_0x3d2e3a,'startColumn':_0x5ad910,'endColumn':_0x5ad910};}[_0x4053b0(0x1fc)](_0x3b3772,_0x510ab7){const _0xccc9eb=_0x4053b0;var _0x2e04b3;let _0x291998=(_0x2e04b3=_0x38c9c0(this['_getDocumentData'](),this[_0xccc9eb(0x1db)]))==null||(_0x2e04b3=_0x2e04b3[_0xccc9eb(0x210)][_0x3b3772])==null?void 0x0:_0x2e04b3[_0xccc9eb(0x192)][_0x510ab7];if(!_0x291998)return null;let _0x91b2a9=_0x291998[_0xccc9eb(0x1fa)]+0x1;return{'startOffset':_0x91b2a9,'endOffset':Math[_0xccc9eb(0x1c8)](_0x91b2a9,_0x291998['endOffset']-0x1),'segmentId':this[_0xccc9eb(0x198)]};}['getCellInsertOffset'](_0x281463,_0x546c74){const _0x54cb96=_0x4053b0;let _0x114a5d=this[_0x54cb96(0x1fc)](_0x281463,_0x546c74);return _0x114a5d?Math[_0x54cb96(0x1c8)](_0x114a5d[_0x54cb96(0x1fa)],_0x114a5d[_0x54cb96(0x219)]-0x1):null;}[_0x4053b0(0x1f0)](_0x40fa46){const _0x496a4d=_0x4053b0;return this[_0x496a4d(0x195)](_0x40fa46,0x1);}[_0x4053b0(0x195)](_0x33a416,_0x2b8056=0x1){const _0x23809f=_0x4053b0;return{'startRow':_0x33a416,'endRow':_0x33a416+_0x2b8056-0x1,'startColumn':0x0,'endColumn':Math[_0x23809f(0x1c8)](0x0,this[_0x23809f(0x1de)]()-0x1)};}[_0x4053b0(0x1b7)](_0xc50076){const _0x5592d5=_0x4053b0;return this[_0x5592d5(0x191)](_0xc50076,0x1);}[_0x4053b0(0x191)](_0x162e08,_0x5d826e=0x1){const _0x3d3362=_0x4053b0;return{'startRow':0x0,'endRow':Math[_0x3d3362(0x1c8)](0x0,this[_0x3d3362(0x1b5)]()-0x1),'startColumn':_0x162e08,'endColumn':_0x162e08+_0x5d826e-0x1};}[_0x4053b0(0x21a)](){const _0x19bb1e=_0x4053b0;return this['selectRange'](this['getTableRange'](),_0x1b2cbf[_0x19bb1e(0x1c3)]);}[_0x4053b0(0x1ac)](_0x3bcf7f){return this['selectRows'](_0x3bcf7f,0x1);}[_0x4053b0(0x1c4)](_0x5abbba,_0xee4178=0x1){const _0x30ac2b=_0x4053b0;return this[_0x30ac2b(0x204)](this['getRowsRange'](_0x5abbba,_0xee4178),_0x1b2cbf[_0x30ac2b(0x1e4)]);}[_0x4053b0(0x223)](_0x359662){const _0x5bd94f=_0x4053b0;return this[_0x5bd94f(0x18d)](_0x359662,0x1);}[_0x4053b0(0x18d)](_0x5670f0,_0x58d44b=0x1){const _0x3f7a7e=_0x4053b0;return this[_0x3f7a7e(0x204)](this[_0x3f7a7e(0x191)](_0x5670f0,_0x58d44b),_0x1b2cbf[_0x3f7a7e(0x1c2)]);}[_0x4053b0(0x1c9)](_0x133fc4,_0x4200f8){const _0x2af81a=_0x4053b0;return this[_0x2af81a(0x204)](this[_0x2af81a(0x177)](_0x133fc4,_0x4200f8),_0x1b2cbf['Cell']);}[_0x4053b0(0x204)](_0x10c818,_0x234f7c=_0x1b2cbf[_0x4053b0(0x186)]){const _0x27e241=_0x4053b0;return this['_injector']['get'](_0x28c1fa)[_0x27e241(0x17e)]({..._0x10c818,'kind':_0x234f7c,'segmentId':this[_0x27e241(0x198)],'tableId':this[_0x27e241(0x1db)]}),!0x0;}[_0x4053b0(0x1a8)](_0x44e36b){const _0x371a57=_0x4053b0;return this[_0x371a57(0x1eb)](_0x44e36b,0x1);}[_0x4053b0(0x1ed)](_0x133a18){const _0x2889f8=_0x4053b0;return this[_0x2889f8(0x1ea)](_0x133a18,0x1);}['insertRowsBefore'](_0xa86c7b,_0x22645f){const _0x2429b9=_0x4053b0;let _0x3f6fda=this[_0x2429b9(0x17a)](),_0x353d72=_0x2f46d8(_0x3f6fda,this['_tableId'],_0xa86c7b,_0x22645f,_0x562c12[_0x2429b9(0x1b2)],this[_0x2429b9(0x1fd)]());return _0x353d72?this[_0x2429b9(0x212)](_0x3f6fda,_0x353d72[_0x2429b9(0x1e7)]):!0x1;}['insertRowsAfter'](_0x1e72e3,_0x3c3e14){const _0x5afb33=_0x4053b0;let _0x1619ba=this[_0x5afb33(0x17a)](),_0x4c55cd=_0x2f46d8(_0x1619ba,this['_tableId'],_0x1e72e3,_0x3c3e14,_0x562c12[_0x5afb33(0x18f)],this[_0x5afb33(0x1fd)]());return _0x4c55cd?this['_mutateActions'](_0x1619ba,_0x4c55cd['actions']):!0x1;}[_0x4053b0(0x1cd)](){const _0xc12453=_0x4053b0;return this[_0xc12453(0x1ea)](Math[_0xc12453(0x1c8)](0x0,this['getRowCount']()-0x1),0x1);}[_0x4053b0(0x1bb)](_0x6965a9){const _0x2dbf84=_0x4053b0;return this[_0x2dbf84(0x205)](_0x6965a9,0x1);}[_0x4053b0(0x1ef)](_0x19c4f9){const _0x476637=_0x4053b0;return this[_0x476637(0x1a1)](_0x19c4f9,0x1);}[_0x4053b0(0x205)](_0x116015,_0x2b76e8){const _0x275270=_0x4053b0;let _0x123d60=this[_0x275270(0x17a)](),_0xdda076=_0x53f993(_0x123d60,this[_0x275270(0x1db)],_0x116015,_0x2b76e8,_0x562c12[_0x275270(0x1e2)],{'bodyPath':this[_0x275270(0x1fd)]()});return _0xdda076?this[_0x275270(0x212)](_0x123d60,_0xdda076[_0x275270(0x1e7)]):!0x1;}[_0x4053b0(0x1a1)](_0x2ff485,_0x275b20){const _0x13eb78=_0x4053b0;let _0x50ad17=this[_0x13eb78(0x17a)](),_0x367fd2=_0x53f993(_0x50ad17,this[_0x13eb78(0x1db)],_0x2ff485,_0x275b20,_0x562c12[_0x13eb78(0x19d)],{'bodyPath':this[_0x13eb78(0x1fd)]()});return _0x367fd2?this[_0x13eb78(0x212)](_0x50ad17,_0x367fd2[_0x13eb78(0x1e7)]):!0x1;}[_0x4053b0(0x181)](){const _0x595819=_0x4053b0;return this[_0x595819(0x1a1)](Math[_0x595819(0x1c8)](0x0,this[_0x595819(0x1de)]()-0x1),0x1);}[_0x4053b0(0x1bd)](_0x1d5df1){const _0x3d80b3=_0x4053b0;return this[_0x3d80b3(0x185)](_0x1d5df1,0x1);}[_0x4053b0(0x185)](_0x3f1a83,_0x43d656=0x1){const _0x3db798=_0x4053b0;let _0x1d6ec2=this[_0x3db798(0x17a)](),_0x129fb4=_0x2ffc50(_0x1d6ec2,this[_0x3db798(0x1db)],_0x3f1a83,_0x3f1a83+_0x43d656-0x1,this[_0x3db798(0x1fd)]());return _0x129fb4?this['_mutateActions'](_0x1d6ec2,_0x129fb4[_0x3db798(0x1e7)]):!0x1;}[_0x4053b0(0x1cf)](_0x5b5562){const _0x85d048=_0x4053b0;return this[_0x85d048(0x211)](_0x5b5562,0x1);}[_0x4053b0(0x211)](_0x407e51,_0x119f9e=0x1){const _0x1c7e31=_0x4053b0;let _0x508930=this[_0x1c7e31(0x17a)](),_0x2ec37d=_0x99564d(_0x508930,this['_tableId'],_0x407e51,_0x407e51+_0x119f9e-0x1,this['_getBodyPath']());return _0x2ec37d?this[_0x1c7e31(0x212)](_0x508930,_0x2ec37d[_0x1c7e31(0x1e7)]):!0x1;}['deleteTable'](){const _0x2d033b=_0x4053b0;let _0x8a6b79=this[_0x2d033b(0x17a)](),_0x4ed1a3=_0x3aa9b6(_0x8a6b79,this[_0x2d033b(0x1db)],this['_getBodyPath']());return _0x4ed1a3?this[_0x2d033b(0x212)](_0x8a6b79,_0x4ed1a3[_0x2d033b(0x1e7)]):!0x1;}['moveTableBy'](_0x356c86,_0x362980){const _0x196126=_0x4053b0;let _0x4f3005=this[_0x196126(0x17a)]();return this[_0x196126(0x212)](_0x4f3005,_0x3054c9(_0x4f3005,this[_0x196126(0x1db)],_0x356c86,_0x362980));}[_0x4053b0(0x1b3)](_0x35698e){const _0x21d8f8=_0x4053b0;let _0x3fb25e=this[_0x21d8f8(0x17a)]();return this[_0x21d8f8(0x212)](_0x3fb25e,_0x1dc262(_0x3fb25e,this[_0x21d8f8(0x1db)],_0x35698e,this[_0x21d8f8(0x1fd)]()));}[_0x4053b0(0x200)](_0x174564,_0x529798,_0x59c5c0=_0x562c12['Above']){return this['moveRows'](_0x174564,0x1,_0x529798,_0x59c5c0);}[_0x4053b0(0x18b)](_0x856df2,_0x1f9e7d,_0x47dd3b,_0x473905=_0x562c12['Above']){const _0x2e3942=_0x4053b0;let _0x2d4a2f=this[_0x2e3942(0x17a)](),_0x55265b=_0x4d2220(_0x2d4a2f,this['_tableId'],_0x856df2,_0x47dd3b,_0x1f9e7d,_0x473905,this[_0x2e3942(0x1fd)]());return _0x55265b?this['_mutateActions'](_0x2d4a2f,_0x55265b[_0x2e3942(0x1e7)]):!0x1;}[_0x4053b0(0x20b)](_0x1f9211,_0x4b9863,_0x1663b4=_0x562c12[_0x4053b0(0x1e2)]){const _0x234267=_0x4053b0;return this[_0x234267(0x182)](_0x1f9211,0x1,_0x4b9863,_0x1663b4);}[_0x4053b0(0x182)](_0x46dfe6,_0xb9fac0,_0x49f778,_0xd5a439=_0x562c12[_0x4053b0(0x1e2)]){const _0x479d87=_0x4053b0;let _0x34eb42=this[_0x479d87(0x17a)](),_0x637b1f=_0x2e4617(_0x34eb42,this[_0x479d87(0x1db)],_0x46dfe6,_0x49f778,_0xb9fac0,_0xd5a439,this[_0x479d87(0x1fd)]());return _0x637b1f?this['_mutateActions'](_0x34eb42,_0x637b1f[_0x479d87(0x1e7)]):!0x1;}[_0x4053b0(0x174)](_0x389946){const _0x22822f=_0x4053b0;try{let _0x415d2f=this[_0x22822f(0x17a)](),_0x47b7a9=_0x59c141({'documentData':_0x415d2f,'tableId':this['_tableId'],..._0x389946});return _0x47b7a9?this[_0x22822f(0x212)](_0x415d2f,_0x47b7a9[_0x22822f(0x1e7)],_0x389946):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x22efb9){const _0x4a4338=_0x4053b0;try{let _0x5d92b0=this[_0x4a4338(0x17a)](),_0x254ac4=_0x1ac0de({'documentData':_0x5d92b0,'tableId':this[_0x4a4338(0x1db)],..._0x22efb9});return _0x254ac4?this[_0x4a4338(0x212)](_0x5d92b0,_0x254ac4[_0x4a4338(0x1e7)],_0x22efb9):!0x1;}catch{return!0x1;}}['setCellText'](_0x1208bf,_0x2ecc74,_0xb27720){const _0x3d72c8=_0x4053b0;let _0x468276=this[_0x3d72c8(0x17a)](),_0x301786=_0x3c1af6(this[_0x3d72c8(0x1af)]['getDocumentDataModel']()[_0x3d72c8(0x21b)](),this['_segmentId']);return this[_0x3d72c8(0x212)](_0x468276,_0x7e6749({'documentData':_0x468276,'tableId':this['_tableId'],'row':_0x1208bf,'column':_0x2ecc74,'text':_0xb27720},_0x301786),this[_0x3d72c8(0x177)](_0x1208bf,_0x2ecc74));}[_0x4053b0(0x197)](_0x2893d8,_0x173be2){const _0x5d59b4=_0x4053b0;let _0x29de9a=this[_0x5d59b4(0x17a)]();return this[_0x5d59b4(0x212)](_0x29de9a,_0x2649ca(_0x29de9a,{'tableId':this[_0x5d59b4(0x1db)],..._0x2893d8,'value':_0x173be2}),_0x2893d8);}[_0x4053b0(0x184)](_0x15a37c,_0x3a68c3){const _0xfe88f=_0x4053b0;let _0x1c73da=this[_0xfe88f(0x17a)]();return this[_0xfe88f(0x212)](_0x1c73da,_0x1bdc89({'documentData':_0x1c73da,'tableId':this[_0xfe88f(0x1db)],..._0x15a37c,'margin':_0x3a68c3}),_0x15a37c);}[_0x4053b0(0x1d1)](_0x26610a){const _0x4fdbc3=_0x4053b0;let _0x269058=this[_0x4fdbc3(0x17a)]();return this[_0x4fdbc3(0x212)](_0x269058,_0x6ae62b(_0x269058,this[_0x4fdbc3(0x1db)],_0x26610a));}[_0x4053b0(0x1d8)](_0x461172,_0x4e88d9){const _0x478667=_0x4053b0;let _0x32a640=this[_0x478667(0x17a)]();return this['_mutateActions'](_0x32a640,_0x503741({'documentData':_0x32a640,'tableId':this[_0x478667(0x1db)],..._0x461172,'preset':_0x4e88d9[_0x478667(0x1c6)]??_0x138a2b[_0x478667(0x213)],'border':_0x4e88d9[_0x478667(0x208)]??{'color':{'rgb':_0x4e88d9[_0x478667(0x19b)]??_0x478667(0x1a7)},'width':{'v':_0x4e88d9['width']??0x1},'dashStyle':_0x30c260[_0x478667(0x222)]}}),_0x461172);}[_0x4053b0(0x1d6)](_0x314783){const _0x167bf4=_0x4053b0;return this['setCellBackground'](this[_0x167bf4(0x175)](),_0x314783);}[_0x4053b0(0x1ee)](_0x4e4e71){const _0x21f26f=_0x4053b0;return this['setBorder'](this[_0x21f26f(0x175)](),_0x4e4e71);}['setTableStyle'](_0x1929fd){const _0x4788a6=_0x4053b0;let _0x17d578=!_0x1929fd[_0x4788a6(0x1f8)]||this[_0x4788a6(0x1d6)](_0x1929fd['backgroundColor']),_0x54ec1c=!_0x1929fd[_0x4788a6(0x208)]||this[_0x4788a6(0x1ee)](_0x1929fd[_0x4788a6(0x208)]);return _0x17d578&&_0x54ec1c;}['setRowHeight'](_0x2f45e6,_0x3abab1,_0xdeb78b=_0x441848[_0x4053b0(0x214)]){const _0x4601ad=_0x4053b0;var _0x252a03;let _0x4256c0=this[_0x4601ad(0x17a)]();return(_0x252a03=_0x4256c0[_0x4601ad(0x201)])!=null&&(_0x252a03=_0x252a03[this[_0x4601ad(0x1db)]])!=null&&_0x252a03[_0x4601ad(0x1d0)][_0x2f45e6]?this['_mutateActions'](_0x4256c0,_0xc8e5c1(_0x4256c0,this[_0x4601ad(0x1db)],_0x2f45e6,_0x3abab1,_0xdeb78b)):!0x1;}[_0x4053b0(0x1ce)](_0x336b97){const _0x2fd3f9=_0x4053b0;var _0x419d77;let _0x577262=(_0x419d77=this[_0x2fd3f9(0x17d)]())==null||(_0x419d77=_0x419d77[_0x2fd3f9(0x1d0)][_0x336b97])==null?void 0x0:_0x419d77['trHeight'];return _0x577262?_0x543228[_0x2fd3f9(0x1c0)](_0x577262):null;}[_0x4053b0(0x1f1)](_0x27ea76,_0x34d6f6){const _0x16dd15=_0x4053b0;var _0x381997;let _0x155d60=this[_0x16dd15(0x17a)]();return(_0x381997=_0x155d60['tableSource'])!=null&&(_0x381997=_0x381997[this[_0x16dd15(0x1db)]])!=null&&_0x381997[_0x16dd15(0x20c)][_0x27ea76]?this[_0x16dd15(0x212)](_0x155d60,_0x500384(_0x155d60,this[_0x16dd15(0x1db)],_0x27ea76,_0x34d6f6)):!0x1;}[_0x4053b0(0x1fb)](_0x402b9e=0x0,_0x46a51c=this[_0x4053b0(0x1b5)]()){const _0x5ea7e2=_0x4053b0;let _0x542a7e=this['_getDocumentData']();return this[_0x5ea7e2(0x212)](_0x542a7e,_0x366c25(_0x542a7e,this[_0x5ea7e2(0x1db)],_0x402b9e,_0x402b9e+_0x46a51c-0x1));}['distributeColumns'](_0x38bffe=0x0,_0x2b9741=this[_0x4053b0(0x1de)]()){const _0x474537=_0x4053b0;let _0x3583ec=this['_getDocumentData']();return this[_0x474537(0x212)](_0x3583ec,_0x4e7e4b(_0x3583ec,this['_tableId'],_0x38bffe,_0x38bffe+_0x2b9741-0x1));}[_0x4053b0(0x19e)](){const _0x1f885e=_0x4053b0;var _0x47f7a8;return((_0x47f7a8=this[_0x1f885e(0x17b)]())==null?void 0x0:_0x47f7a8[_0x1f885e(0x18c)])??0x0;}[_0x4053b0(0x202)](_0x52efb1){const _0x3930ba=_0x4053b0;let _0x36dccc=this[_0x3930ba(0x1cc)][_0x3930ba(0x1f4)](_0x34e3dc),_0x2afbf3=this[_0x3930ba(0x17a)](),_0x73befa=_0x4a6881(_0x2afbf3,this[_0x3930ba(0x1db)],_0x52efb1);if(!_0x73befa)return!0x1;let _0x323540=this[_0x3930ba(0x212)](_0x2afbf3,_0x73befa[_0x3930ba(0x1e7)]);return _0x323540&&_0x36dccc['setHeaderRowCount'](this['_unitId'],this[_0x3930ba(0x1db)],_0x73befa['headerRowCount']),_0x323540;}['pinHeaderRows'](_0x72b9f7){return this['setHeaderRowCount'](_0x72b9f7);}[_0x4053b0(0x1ab)](){const _0x44c88e=_0x4053b0;var _0x98b825;return((_0x98b825=this[_0x44c88e(0x17b)]())==null?void 0x0:_0x98b825['titleRow'])??!0x1;}[_0x4053b0(0x178)](){const _0x5d51c8=_0x4053b0;let _0x83aca9=this[_0x5d51c8(0x1cc)]['get'](_0x34e3dc),_0x5c950d=this[_0x5d51c8(0x17a)](),_0x204b80=_0x3721eb(_0x5c950d,this[_0x5d51c8(0x1db)],this[_0x5d51c8(0x1fd)]());if(!_0x204b80)return!0x1;let _0x1c1d2d=this[_0x5d51c8(0x212)](_0x5c950d,_0x204b80[_0x5d51c8(0x1e7)]);return _0x1c1d2d&&_0x83aca9['setTitleRow'](this[_0x5d51c8(0x1bc)],this[_0x5d51c8(0x1db)],!0x0),_0x1c1d2d;}[_0x4053b0(0x1ae)](_0x1bcce4,_0x5b5c00){const _0x2823f6=_0x4053b0;return this[_0x2823f6(0x1cc)][_0x2823f6(0x1f4)](_0x34e3dc)[_0x2823f6(0x1ae)](this[_0x2823f6(0x1bc)],this[_0x2823f6(0x1db)],_0x1bcce4,_0x5b5c00),!0x0;}[_0x4053b0(0x21d)](_0x444e69,_0xf38cf){const _0x5e1355=_0x4053b0;let _0x4efad9=this[_0x5e1355(0x17a)]();return this['_mutateActions'](_0x4efad9,_0x1f493d(_0x4efad9,this[_0x5e1355(0x1ca)](),this[_0x5e1355(0x1db)],_0x444e69,_0xf38cf,this[_0x5e1355(0x1fd)]()));}[_0x4053b0(0x17a)](){const _0x40a197=_0x4053b0;let _0x56ee2b=this[_0x40a197(0x1af)]['getDocumentDataModel']()['getSnapshot']();return this[_0x40a197(0x198)]?{...this[_0x40a197(0x1af)]['getDocumentDataModel'](this[_0x40a197(0x198)])['getSnapshot'](),'documentStyle':_0x56ee2b['documentStyle'],'tableSource':_0x56ee2b[_0x40a197(0x201)]}:_0x56ee2b;}[_0x4053b0(0x1ca)](){const _0x3fdf55=_0x4053b0;return this[_0x3fdf55(0x1cc)][_0x3fdf55(0x1f4)](_0x34e3dc)[_0x3fdf55(0x1f9)](this[_0x3fdf55(0x1bc)]);}[_0x4053b0(0x1fd)](){const _0xb5ef9a=_0x4053b0;return _0x3c1af6(this[_0xb5ef9a(0x1af)][_0xb5ef9a(0x1b9)]()['getSnapshot'](),this['_segmentId']);}[_0x4053b0(0x212)](_0x2c998d,_0x197e25,_0x44ede7){const _0xa22a9a=_0x4053b0;return _0x1951f0(this[_0xa22a9a(0x1cc)][_0xa22a9a(0x1f4)](_0x3d2cf7),this['_unitId'],_0x2c998d,_0x197e25,_0x44ede7?{'tableId':this[_0xa22a9a(0x1db)],'segmentId':this[_0xa22a9a(0x198)],..._0x44ede7}:void 0x0);}},Q=class extends _0x3757ef{['getTables'](_0x1d3f85=''){const _0x564735=_0x4053b0;return this[_0x564735(0x207)](_0x1d3f85)[_0x564735(0x199)](_0x558d02=>this[_0x564735(0x1b1)](_0x558d02[_0x564735(0x1b8)],_0x1d3f85));}[_0x4053b0(0x21c)](_0x2acc71,_0x51c0e0=''){const _0x109985=_0x4053b0;return this[_0x109985(0x207)](_0x51c0e0)['some'](_0x47c930=>_0x47c930[_0x109985(0x1b8)]===_0x2acc71)?this[_0x109985(0x1b1)](_0x2acc71,_0x51c0e0):null;}['getTableAt'](_0x3b8814,_0x459786=''){const _0x4ea110=_0x4053b0;var _0x442335;let _0x542631=(_0x442335=this[_0x4ea110(0x207)](_0x459786)[_0x3b8814])==null?void 0x0:_0x442335['tableId'];return _0x542631?this[_0x4ea110(0x1b1)](_0x542631,_0x459786):null;}['getTableAtSelection'](){const _0x541ea8=_0x4053b0;let _0x2e5c78=this[_0x541ea8(0x1cc)]['get'](_0x28c1fa)[_0x541ea8(0x20a)]();return _0x2e5c78!=null&&_0x2e5c78['tableId']?this['_createFDocumentTable'](_0x2e5c78[_0x541ea8(0x1b8)],_0x2e5c78[_0x541ea8(0x188)]):null;}[_0x4053b0(0x1e3)](_0x54c4cb,_0x331454=''){const _0x16f0f5=_0x4053b0;return this[_0x16f0f5(0x1a2)](_0x54c4cb,_0x331454)[0x0]??null;}[_0x4053b0(0x1a2)](_0x54cc60,_0x57d0b4=''){const _0x1d8dcd=_0x4053b0;let _0x732c4d=this[_0x1d8dcd(0x20e)](_0x57d0b4),_0x5901fd=typeof _0x54cc60==_0x1d8dcd(0x1cb)?{'text':_0x54cc60}:_0x54cc60;return this[_0x1d8dcd(0x1f5)](_0x57d0b4)[_0x1d8dcd(0x1b6)](_0x5cdb9c=>{const _0x1c3b07=_0x1d8dcd;let _0x2e38d4=_0x5cdb9c[_0x1c3b07(0x1a4)]();return!(_0x5901fd['tableId']&&_0x2e38d4!==_0x5901fd[_0x1c3b07(0x1b8)]||_0x5901fd[_0x1c3b07(0x1e5)]&&!this[_0x1c3b07(0x19a)](_0x732c4d,_0x2e38d4,_0x5901fd[_0x1c3b07(0x1e5)])||_0x5901fd[_0x1c3b07(0x20d)]&&!this[_0x1c3b07(0x1c7)](_0x5cdb9c,0x0,_0x5901fd[_0x1c3b07(0x20d)])||_0x5901fd[_0x1c3b07(0x1b0)]&&!this[_0x1c3b07(0x1c7)](_0x5cdb9c,0x0,_0x5901fd['titleText']));});}[_0x4053b0(0x17f)](_0x1f4b92,_0x5d47f4,_0x49791a={}){const _0x35e4ee=_0x4053b0;let _0x2857e0=this[_0x35e4ee(0x1cc)][_0x35e4ee(0x1f4)](_0x3d2cf7),_0x36f274=_0x49791a[_0x35e4ee(0x1b8)]??_0x4acfa9(0x6);return _0x2857e0[_0x35e4ee(0x1a5)](_0x56b5c7['id'],{..._0x49791a,'unitId':this[_0x35e4ee(0x1a4)](),'rows':_0x1f4b92,'columns':_0x5d47f4,'tableId':_0x36f274})?this['_createFDocumentTable'](_0x36f274,_0x49791a[_0x35e4ee(0x188)]??''):null;}['insertTableFromData'](_0x303d83,_0x53e821={}){const _0x26613e=_0x4053b0;let _0x49d2b6=this[_0x26613e(0x1cc)]['get'](_0x3d2cf7),_0xcb8d3e=_0x53e821[_0x26613e(0x1b8)]??_0x4acfa9(0x6);return _0x49d2b6[_0x26613e(0x1a5)](_0x56b5c7['id'],{..._0x53e821,'unitId':this['getId'](),'values':_0x303d83,'tableId':_0xcb8d3e})?this['_createFDocumentTable'](_0xcb8d3e,_0x53e821[_0x26613e(0x188)]??''):null;}['_getTables'](_0x711188=''){const _0x55a2e3=_0x4053b0;let {tables:_0x5f2d2f=[]}=this[_0x55a2e3(0x1df)](_0x711188);return _0x5f2d2f;}['_getTableDocumentData'](_0x8586b=''){const _0x256172=_0x4053b0;let _0x5571c0=this['getDocumentDataModel']()[_0x256172(0x21b)]();return _0x8586b?{...this[_0x256172(0x1b9)](_0x8586b)['getSnapshot'](),'documentStyle':_0x5571c0['documentStyle'],'tableSource':_0x5571c0[_0x256172(0x201)]}:_0x5571c0;}['_createFDocumentTable'](_0x9052a3,_0x1fa1cb=''){const _0x29c07b=_0x4053b0;return this[_0x29c07b(0x1cc)][_0x29c07b(0x1a6)](Z,this,_0x9052a3,_0x1fa1cb,this['_injector']);}[_0x4053b0(0x19a)](_0x3428b8,_0x347ec1,_0x541172){const _0x55fb64=_0x4053b0;var _0x104b9d;let _0x3e9cc7=_0x38c9c0(_0x3428b8,_0x347ec1);if(!_0x3e9cc7)return!0x1;let _0x83018c=(_0x104b9d=_0x3428b8['body'])==null?void 0x0:_0x104b9d[_0x55fb64(0x221)];return _0x83018c?_0x83018c[_0x55fb64(0x193)](_0x3e9cc7[_0x55fb64(0x1fa)],_0x3e9cc7[_0x55fb64(0x219)])[_0x55fb64(0x18e)](_0x541172):!0x1;}[_0x4053b0(0x1c7)](_0x634a65,_0x4583e6,_0x198b50){const _0xaa8c7f=_0x4053b0;return Array[_0xaa8c7f(0x1e8)]({'length':_0x634a65[_0xaa8c7f(0x1de)]()},(_0x220dad,_0x1aaafb)=>_0x634a65['getCellText'](_0x4583e6,_0x1aaafb))[_0xaa8c7f(0x1ff)](_0x2646c0=>_0x2646c0[_0xaa8c7f(0x18e)](_0x198b50));}};_0x3757ef[_0x4053b0(0x1fe)](Q);export{Z as FDocumentTable,K as FDocumentTableCell};
1
+ const _0x41125a=_0x57b2;(function(_0x4a9f3f,_0x7a9194){const _0x4aeb0d=_0x57b2,_0x58ba9b=_0x4a9f3f();while(!![]){try{const _0x3234aa=-parseInt(_0x4aeb0d(0x250))/0x1+-parseInt(_0x4aeb0d(0x1dd))/0x2+parseInt(_0x4aeb0d(0x1cd))/0x3*(parseInt(_0x4aeb0d(0x247))/0x4)+-parseInt(_0x4aeb0d(0x1be))/0x5*(-parseInt(_0x4aeb0d(0x1d8))/0x6)+parseInt(_0x4aeb0d(0x1f1))/0x7*(parseInt(_0x4aeb0d(0x1ce))/0x8)+parseInt(_0x4aeb0d(0x243))/0x9*(-parseInt(_0x4aeb0d(0x202))/0xa)+-parseInt(_0x4aeb0d(0x1f4))/0xb;if(_0x3234aa===_0x7a9194)break;else _0x58ba9b['push'](_0x58ba9b['shift']());}catch(_0x7ae91b){_0x58ba9b['push'](_0x58ba9b['shift']());}}}(_0x1d31,0xf1bff));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x4c8e4d,DocsTableBorderPreset as _0x5771ee,DocsTableColumnInsertPosition as _0x542303,DocsTableColumnType as _0x1e3971,DocsTableDeleteColumnsCommand as _0x653349,DocsTableDeleteRowsCommand as _0x40b009,DocsTableDeleteTableCommand as _0x5b87b5,DocsTableInsertPosition as _0x376ce1,DocsTableInsertTableCommand as _0x415eca,DocsTableInsertTablePosition as _0xeae5,DocsTableModel as _0x1ea9f7,DocsTableRowInsertPosition as _0x3038f3,DocsTableSelectionKind as _0x5e825f,DocsTableSelectionService as _0x5c6c3e,DocsTableSortDirection as _0x3c0f0f,buildDistributeTableColumnsMutationActions as _0xdd1724,buildDistributeTableRowsMutationActions as _0x6ecb9b,buildInsertTableColumnsMutationActions as _0x54ce17,buildInsertTableRowsMutationActions as _0x14491b,buildInsertTableTitleRowMutationActions as _0x18e5b3,buildMergeCellsMutationActions as _0x5e175e,buildMoveFloatingTableMutationActions as _0x28bd2c,buildMoveTableColumnsMutationActions as _0x3b6303,buildMoveTableRowsMutationActions as _0x515431,buildMoveTableToOffsetMutationActions as _0x27762e,buildResizeTableColumnActionsFromWidth as _0x41e320,buildResizeTableRowActionsFromHeight as _0x521df2,buildSetTableBackgroundMutationActions as _0x82af2d,buildSetTableBorderMutationActions as _0x231dfb,buildSetTableCellMarginMutationActions as _0x98376d,buildSetTableCellTextMutationActions as _0x14cfd6,buildSetTableDefaultCellMarginMutationActions as _0x55eec1,buildSetTableHeaderRowCountMutationActions as _0x21036a,buildSortTableMutationActions as _0x517a17,buildUnmergeCellsMutationActions as _0x16f349,executeRichTextTableActions as _0xe64ace,getTableActionBodyPath as _0x2bbc2c,getTableRangeById as _0xffe7b0}from'@univerjs-pro/docs-table';import{DashStyleType as _0x52632a,ICommandService as _0x2d69d9,Inject as _0xea0b69,Injector as _0x25de43,TableRowHeightRule as _0xbad851,Tools as _0x1d66af,generateRandomId as _0x190e8f}from'@univerjs/core';import{FEnum as _0x59f7da}from'@univerjs/core/facade';function _0x1d31(){const _0x3ab9da=['insertRowsBefore','setCellBackground','tableCells','endOffset','330806ZkoGIh','setCellMargin','getCellRange','setTableBackground','setCellText','Left','getContentRange','_getDocumentData','_getTableDocumentData','setStructuralSelection','getInsertOffset','moveRows','deleteTable','getStableTableSelection','slice','_tableContainsText','getTable','getCellText','setBorder','setRowHeight','637280ZrDwFT','selectColumns','moveColumns','25016387mUWjlG','getRowIndex','DocsTableColumnType','pinHeaderRows','replace','All','getColumnsRange','type','insertColumnBefore','border','Row','getRowHeight','cellMargin','getSnapshot','6010azCZlC','from','getSegmentId','insertRowBefore','deleteRow','cells','getText','describe','constructor','deepClone','preset','getTableAt','_segmentId','insertColumnsAfter','prototype','mergeCells','Above','getHeaderRowCount','titleRow','setColumnType','moveTableToOffset','clearMarginOverride','DocsTableRowInsertPosition','_injector','getCellContentRange','tableColumns','actions','insertColumnsBefore','_unitId','_getBodyPath','moveColumn','Column','_rowContainsText','_createFDocumentTable','some','headerRowCount','_table','createInstance','DashStyleType','_document','get','columnTypes','selectRow','DocsTableBorderPreset','text','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','titleText','syncExecuteCommand','_getTables','getColumnRange','findTables','size','decorate','max','AT_LEAST','backgroundColor','toPrimitive','distributeRows','documentStyle','appendRow','selectRange','Right','body','appendColumn','Range','12591JWrwtp','rows','selectTable','selectCell','4520GhHixl','width','#1f1f1f','unmergeCells','getDefaultCellMarginOverride','getInfo','extend','function','tableId','49082pkodXh','tableSource','_tableId','setBackgroundColor','headerText','selectColumn','getMarginOverride','setColumnWidth','defineProperty','_serializeModel','setText','segmentId','startOffset','insertTable','getDocumentDataModel','_commandService','getRowsRange','getCellMargin','Cell','insertRowsAfter','setHeaderRowCount','map','color','setTableBorder','object','setMargin','mergeTo','deleteColumns','getDefaultCellMargin','sortByColumn','getTableRange','includes','distributeColumns','getRange','deleteColumn','_mutateActions','filter','deleteRows','getRowCount','symbol','getMargin','setTitleRow','hasTitleRow','10eaSWvR','insertTitleRow','getId','getMetadata','DocsTableSelectionKind','string','getSource','getTables','SOLID','setDefaultCellMargin','tableRows','getCellInsertOffset','dataStream','getRowRange','length','3165lmiewI','120cNqbaf','margin','insertRowAfter','setTableStyle','getCell','selectRows','getColumnCount','_column','moveRow','_row','5285874OQtuLk'];_0x1d31=function(){return _0x3ab9da;};return _0x1d31();}import{FDocument as _0x5a8917}from'@univerjs/docs/facade';var K=class extends _0x59f7da{get['DocsTableInsertTablePosition'](){return _0xeae5;}get[_0x41125a(0x1f6)](){return _0x1e3971;}get[_0x41125a(0x1c2)](){return _0x5e825f;}get[_0x41125a(0x218)](){return _0x3038f3;}get['DocsTableColumnInsertPosition'](){return _0x542303;}get[_0x41125a(0x22d)](){return _0x5771ee;}get['DocsTableSortDirection'](){return _0x3c0f0f;}get[_0x41125a(0x228)](){return _0x52632a;}};_0x59f7da[_0x41125a(0x24d)](K);var q=class{constructor(_0xb239ab,_0x5c9a23,_0x11c583){const _0x352908=_0x41125a;this[_0x352908(0x226)]=_0xb239ab,this[_0x352908(0x1d7)]=_0x5c9a23,this[_0x352908(0x1d5)]=_0x11c583;}[_0x41125a(0x1ed)](){const _0x4f0d7a=_0x41125a;return this[_0x4f0d7a(0x226)];}[_0x41125a(0x1f5)](){return this['_row'];}['getColumnIndex'](){const _0x4d0ba9=_0x41125a;return this[_0x4d0ba9(0x1d5)];}[_0x41125a(0x208)](){const _0x4fd9d8=_0x41125a;return this[_0x4fd9d8(0x226)][_0x4fd9d8(0x1ee)](this[_0x4fd9d8(0x1d7)],this[_0x4fd9d8(0x1d5)]);}[_0x41125a(0x1e3)](){const _0xa60463=_0x41125a;return this[_0xa60463(0x226)][_0xa60463(0x21a)](this[_0xa60463(0x1d7)],this[_0xa60463(0x1d5)]);}[_0x41125a(0x1e7)](){const _0x26b9fd=_0x41125a;return this[_0x26b9fd(0x226)][_0x26b9fd(0x1c9)](this[_0x26b9fd(0x1d7)],this[_0x26b9fd(0x1d5)]);}[_0x41125a(0x1bb)](){const _0x355f07=_0x41125a;return this['_table'][_0x355f07(0x261)](this['_row'],this[_0x355f07(0x1d5)]);}[_0x41125a(0x256)](){const _0x3aa8cc=_0x41125a;return this[_0x3aa8cc(0x226)]['getCellMarginOverride'](this[_0x3aa8cc(0x1d7)],this['_column']);}[_0x41125a(0x1ac)](_0xd66cbf){const _0x370913=_0x41125a;return this[_0x370913(0x226)][_0x370913(0x1de)](this[_0x370913(0x226)][_0x370913(0x1df)](this['_row'],this['_column']),_0xd66cbf);}[_0x41125a(0x217)](){const _0xfa5172=_0x41125a;return this['_table'][_0xfa5172(0x1de)](this[_0xfa5172(0x226)][_0xfa5172(0x1df)](this[_0xfa5172(0x1d7)],this[_0xfa5172(0x1d5)]),null);}[_0x41125a(0x25a)](_0x313d63){const _0x5e9ad7=_0x41125a;return this[_0x5e9ad7(0x226)]['setCellText'](this[_0x5e9ad7(0x1d7)],this[_0x5e9ad7(0x1d5)],_0x313d63);}[_0x41125a(0x253)](_0x88700f){const _0x1d3397=_0x41125a;return this[_0x1d3397(0x226)]['setCellBackground'](this[_0x1d3397(0x226)][_0x1d3397(0x1df)](this[_0x1d3397(0x1d7)],this[_0x1d3397(0x1d5)]),_0x88700f);}[_0x41125a(0x1ef)](_0x186aac){const _0x2eedb9=_0x41125a;return this[_0x2eedb9(0x226)][_0x2eedb9(0x1ef)](this[_0x2eedb9(0x226)][_0x2eedb9(0x1df)](this[_0x2eedb9(0x1d7)],this[_0x2eedb9(0x1d5)]),_0x186aac);}[_0x41125a(0x1ad)](_0x4413a5,_0x516e4f){const _0x13300d=_0x41125a;return this['_table'][_0x13300d(0x211)]({'startRow':this[_0x13300d(0x1d7)],'startColumn':this[_0x13300d(0x1d5)],'endRow':this[_0x13300d(0x1d7)]+_0x4413a5-0x1,'endColumn':this[_0x13300d(0x1d5)]+_0x516e4f-0x1});}['unmerge'](){const _0x2710af=_0x41125a;return this[_0x2710af(0x226)][_0x2710af(0x24a)](this[_0x2710af(0x226)][_0x2710af(0x1df)](this[_0x2710af(0x1d7)],this[_0x2710af(0x1d5)]));}};function J(_0x238d46){'@babel/helpers - typeof';const _0x1bf70a=_0x41125a;return J=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x1bf70a(0x1ba)?function(_0x3c744f){return typeof _0x3c744f;}:function(_0x4e5cfa){const _0x206225=_0x1bf70a;return _0x4e5cfa&&typeof Symbol==_0x206225(0x24e)&&_0x4e5cfa[_0x206225(0x20a)]===Symbol&&_0x4e5cfa!==Symbol[_0x206225(0x210)]?_0x206225(0x1ba):typeof _0x4e5cfa;},J(_0x238d46);}function Y(_0x334359,_0x2e50fb){const _0x32ef7f=_0x41125a;if(J(_0x334359)!=_0x32ef7f(0x1ab)||!_0x334359)return _0x334359;var _0x361ccf=_0x334359[Symbol[_0x32ef7f(0x23a)]];if(_0x361ccf!==void 0x0){var _0x1e9b49=_0x361ccf['call'](_0x334359,_0x2e50fb||'default');if(J(_0x1e9b49)!='object')return _0x1e9b49;throw TypeError(_0x32ef7f(0x22f));}return(_0x2e50fb===_0x32ef7f(0x1c3)?String:Number)(_0x334359);}function _0x57b2(_0x16269c,_0x1f8e6d){_0x16269c=_0x16269c-0x1a7;const _0x1d31ad=_0x1d31();let _0x57b278=_0x1d31ad[_0x16269c];return _0x57b278;}function X(_0x2b84df){const _0x5ca21b=_0x41125a;var _0xa02c77=Y(_0x2b84df,_0x5ca21b(0x1c3));return J(_0xa02c77)=='symbol'?_0xa02c77:_0xa02c77+'';}function Z(_0x907966,_0x8e2c1,_0x52506c){const _0x1c7924=_0x41125a;return(_0x8e2c1=X(_0x8e2c1))in _0x907966?Object[_0x1c7924(0x258)](_0x907966,_0x8e2c1,{'value':_0x52506c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x907966[_0x8e2c1]=_0x52506c,_0x907966;}function Q(_0x50c6a8,_0x2cd276){return function(_0x19ca56,_0x50eaf2){_0x2cd276(_0x19ca56,_0x50eaf2,_0x50c6a8);};}function te(_0x3f4af4,_0x18e395,_0x53dbd7,_0x40f24c){const _0x2c28c3=_0x41125a;var _0x3ac71d=arguments[_0x2c28c3(0x1cc)],_0x5bcb3d=_0x3ac71d<0x3?_0x18e395:_0x40f24c===null?_0x40f24c=Object['getOwnPropertyDescriptor'](_0x18e395,_0x53dbd7):_0x40f24c,_0x2a2487;if(typeof Reflect==_0x2c28c3(0x1ab)&&typeof Reflect[_0x2c28c3(0x236)]==_0x2c28c3(0x24e))_0x5bcb3d=Reflect[_0x2c28c3(0x236)](_0x3f4af4,_0x18e395,_0x53dbd7,_0x40f24c);else{for(var _0xaa6c58=_0x3f4af4[_0x2c28c3(0x1cc)]-0x1;_0xaa6c58>=0x0;_0xaa6c58--)(_0x2a2487=_0x3f4af4[_0xaa6c58])&&(_0x5bcb3d=(_0x3ac71d<0x3?_0x2a2487(_0x5bcb3d):_0x3ac71d>0x3?_0x2a2487(_0x18e395,_0x53dbd7,_0x5bcb3d):_0x2a2487(_0x18e395,_0x53dbd7))||_0x5bcb3d);}return _0x3ac71d>0x3&&_0x5bcb3d&&Object['defineProperty'](_0x18e395,_0x53dbd7,_0x5bcb3d),_0x5bcb3d;}let $=class{constructor(_0x2705b2,_0x3d7206,_0x20669b,_0x54f0e1,_0x44c4d8){const _0x271c9f=_0x41125a;this[_0x271c9f(0x229)]=_0x2705b2,this['_tableId']=_0x3d7206,this['_segmentId']=_0x20669b,this['_commandService']=_0x54f0e1,this['_injector']=_0x44c4d8,Z(this,_0x271c9f(0x21e),void 0x0),this[_0x271c9f(0x21e)]=this[_0x271c9f(0x229)][_0x271c9f(0x1c0)]();}[_0x41125a(0x1c0)](){const _0x1c81a4=_0x41125a;return this[_0x1c81a4(0x252)];}[_0x41125a(0x204)](){const _0x3016b0=_0x41125a;return this[_0x3016b0(0x20e)];}[_0x41125a(0x24c)](){const _0x475520=_0x41125a;return{'id':this[_0x475520(0x252)],'rowCount':this['getRowCount'](),'columnCount':this[_0x475520(0x1d4)](),'metadata':this['getMetadata'](),'source':this[_0x475520(0x1c4)]()};}[_0x41125a(0x209)](){const _0x192c99=_0x41125a;let _0x72165b=this[_0x192c99(0x1c1)](),_0x17bfb9=this[_0x192c99(0x1c4)](),_0x1e6000=this[_0x192c99(0x1d4)]();return{'id':this['_tableId'],'rowCount':this[_0x192c99(0x1b9)](),'columnCount':_0x1e6000,'headerRowCount':(_0x72165b==null?void 0x0:_0x72165b[_0x192c99(0x225)])??0x0,'titleRow':(_0x72165b==null?void 0x0:_0x72165b[_0x192c99(0x214)])??!0x1,'columns':Array[_0x192c99(0x203)]({'length':_0x1e6000},(_0x276437,_0x3b56d1)=>{const _0x30886a=_0x192c99;var _0x34e300,_0x1380e4;return{'index':_0x3b56d1,'type':_0x72165b==null||(_0x34e300=_0x72165b[_0x30886a(0x22b)])==null||(_0x34e300=_0x34e300[_0x3b56d1])==null?void 0x0:_0x34e300[_0x30886a(0x1fb)],'width':_0x17bfb9==null||(_0x1380e4=_0x17bfb9[_0x30886a(0x21b)][_0x3b56d1])==null?void 0x0:_0x1380e4[_0x30886a(0x235)][_0x30886a(0x248)]['v']};}),'sampleRows':Array[_0x192c99(0x203)]({'length':this['getRowCount']()},(_0x3a8ff5,_0x8b211)=>Array['from']({'length':_0x1e6000},(_0x437b3f,_0x5619f9)=>this[_0x192c99(0x1ee)](_0x8b211,_0x5619f9)))[_0x192c99(0x1b7)](_0x5defe4=>_0x5defe4['some'](_0x26da9a=>_0x26da9a[_0x192c99(0x1cc)]>0x0))[_0x192c99(0x1eb)](0x0,0x5)};}['getRowCount'](){const _0x2a23fd=_0x41125a;var _0x2a972d;return((_0x2a972d=this[_0x2a23fd(0x1c4)]())==null?void 0x0:_0x2a972d[_0x2a23fd(0x1c8)]['length'])??0x0;}[_0x41125a(0x1d4)](){const _0x4c6d31=_0x41125a;var _0x40bbf6;return((_0x40bbf6=this[_0x4c6d31(0x1c4)]())==null?void 0x0:_0x40bbf6['tableColumns'][_0x4c6d31(0x1cc)])??0x0;}[_0x41125a(0x1d2)](_0x1791c7,_0x6a3d00){const _0x2e98b7=_0x41125a;var _0xa43c2e;return(_0xa43c2e=this[_0x2e98b7(0x1c4)]())!=null&&(_0xa43c2e=_0xa43c2e[_0x2e98b7(0x1c8)][_0x1791c7])!=null&&_0xa43c2e[_0x2e98b7(0x1db)][_0x6a3d00]?this['_injector'][_0x2e98b7(0x227)](q,this,_0x1791c7,_0x6a3d00):null;}[_0x41125a(0x1ee)](_0x5a6785,_0x37a6f3){const _0x5efa13=_0x41125a;var _0x594452,_0x494476;let _0x27f601=(_0x594452=_0xffe7b0(this['_getDocumentData'](),this[_0x5efa13(0x252)]))==null||(_0x594452=_0x594452[_0x5efa13(0x244)][_0x5a6785])==null?void 0x0:_0x594452[_0x5efa13(0x207)][_0x37a6f3];return _0x27f601?((_0x494476=this[_0x5efa13(0x1e4)]()[_0x5efa13(0x240)])==null?void 0x0:_0x494476[_0x5efa13(0x1ca)]['slice'](_0x27f601[_0x5efa13(0x25c)]+0x1,_0x27f601[_0x5efa13(0x1dc)])[_0x5efa13(0x1f8)](/\r\n$/,''))??'':'';}[_0x41125a(0x261)](_0x55c186,_0x3eb03a){const _0x54aef1=_0x41125a;var _0x2b3eee;let _0x547218=this[_0x54aef1(0x1c4)](),_0x35f5fa=_0x547218==null||(_0x2b3eee=_0x547218[_0x54aef1(0x1c8)][_0x55c186])==null?void 0x0:_0x2b3eee[_0x54aef1(0x1db)][_0x3eb03a];return _0x35f5fa?_0x1d66af[_0x54aef1(0x20b)](_0x35f5fa[_0x54aef1(0x1cf)]??_0x547218['cellMargin']??_0x4c8e4d):null;}['getCellMarginOverride'](_0x5e6fae,_0x547530){const _0x10ff87=_0x41125a;var _0x142550;let _0x487633=(_0x142550=this[_0x10ff87(0x1c4)]())==null||(_0x142550=_0x142550[_0x10ff87(0x1c8)][_0x5e6fae])==null?void 0x0:_0x142550['tableCells'][_0x547530];return _0x487633!=null&&_0x487633['margin']?_0x1d66af[_0x10ff87(0x20b)](_0x487633[_0x10ff87(0x1cf)]):null;}[_0x41125a(0x1af)](){const _0x2b92a1=_0x41125a;var _0x3d782c;return _0x1d66af['deepClone'](((_0x3d782c=this['getSource']())==null?void 0x0:_0x3d782c[_0x2b92a1(0x200)])??_0x4c8e4d);}[_0x41125a(0x24b)](){const _0x43ae32=_0x41125a;var _0xa3740b;let _0x2de83e=(_0xa3740b=this['getSource']())==null?void 0x0:_0xa3740b[_0x43ae32(0x200)];return _0x2de83e?_0x1d66af[_0x43ae32(0x20b)](_0x2de83e):null;}['getMetadata'](){const _0x435ae8=_0x41125a;return this['_injector'][_0x435ae8(0x22a)](_0x1ea9f7)['getTableMetadata'](this[_0x435ae8(0x21e)],this['_tableId']);}['getSource'](){const _0x9cff11=_0x41125a;var _0x54414e;return(_0x54414e=this[_0x9cff11(0x1e4)]()['tableSource'])==null?void 0x0:_0x54414e[this[_0x9cff11(0x252)]];}[_0x41125a(0x1b4)](){const _0x294c76=_0x41125a;return _0xffe7b0(this[_0x294c76(0x1e4)](),this[_0x294c76(0x252)]);}['getTableRange'](){const _0x1f4c8f=_0x41125a;return{'startRow':0x0,'endRow':Math[_0x1f4c8f(0x237)](0x0,this[_0x1f4c8f(0x1b9)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x1f4c8f(0x237)](0x0,this[_0x1f4c8f(0x1d4)]()-0x1)};}[_0x41125a(0x1df)](_0x195d66,_0x31e55f){return{'startRow':_0x195d66,'endRow':_0x195d66,'startColumn':_0x31e55f,'endColumn':_0x31e55f};}['getCellContentRange'](_0x42f96b,_0x40c1d0){const _0xf02a81=_0x41125a;var _0x284a6e;let _0x39d373=(_0x284a6e=_0xffe7b0(this['_getDocumentData'](),this[_0xf02a81(0x252)]))==null||(_0x284a6e=_0x284a6e[_0xf02a81(0x244)][_0x42f96b])==null?void 0x0:_0x284a6e[_0xf02a81(0x207)][_0x40c1d0];if(!_0x39d373)return null;let _0xecdb43=_0x39d373['startOffset']+0x1;return{'startOffset':_0xecdb43,'endOffset':Math[_0xf02a81(0x237)](_0xecdb43,_0x39d373[_0xf02a81(0x1dc)]-0x1),'segmentId':this[_0xf02a81(0x20e)]};}[_0x41125a(0x1c9)](_0x2b2803,_0x3c7baf){const _0x569337=_0x41125a;let _0x41e25d=this[_0x569337(0x21a)](_0x2b2803,_0x3c7baf);return _0x41e25d?Math['max'](_0x41e25d[_0x569337(0x25c)],_0x41e25d['endOffset']-0x1):null;}[_0x41125a(0x1cb)](_0x27a24a){const _0x5c26be=_0x41125a;return this[_0x5c26be(0x260)](_0x27a24a,0x1);}[_0x41125a(0x260)](_0x4d6718,_0x4905b2=0x1){const _0x4a9f54=_0x41125a;return{'startRow':_0x4d6718,'endRow':_0x4d6718+_0x4905b2-0x1,'startColumn':0x0,'endColumn':Math[_0x4a9f54(0x237)](0x0,this['getColumnCount']()-0x1)};}[_0x41125a(0x233)](_0x4831f1){return this['getColumnsRange'](_0x4831f1,0x1);}[_0x41125a(0x1fa)](_0x1a7b30,_0x221363=0x1){const _0x3d1881=_0x41125a;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x3d1881(0x1b9)]()-0x1),'startColumn':_0x1a7b30,'endColumn':_0x1a7b30+_0x221363-0x1};}[_0x41125a(0x245)](){return this['selectRange'](this['getTableRange'](),_0x5e825f['Table']);}[_0x41125a(0x22c)](_0x3e49d9){return this['selectRows'](_0x3e49d9,0x1);}[_0x41125a(0x1d3)](_0x23e8f0,_0x436339=0x1){const _0x33de25=_0x41125a;return this[_0x33de25(0x23e)](this[_0x33de25(0x260)](_0x23e8f0,_0x436339),_0x5e825f[_0x33de25(0x1fe)]);}[_0x41125a(0x255)](_0xbe1d5f){const _0x4b55fd=_0x41125a;return this[_0x4b55fd(0x1f2)](_0xbe1d5f,0x1);}[_0x41125a(0x1f2)](_0x5d5402,_0x331120=0x1){const _0x12c9f9=_0x41125a;return this[_0x12c9f9(0x23e)](this[_0x12c9f9(0x1fa)](_0x5d5402,_0x331120),_0x5e825f[_0x12c9f9(0x221)]);}[_0x41125a(0x246)](_0x32ff10,_0x1cd100){const _0x37f401=_0x41125a;return this[_0x37f401(0x23e)](this['getCellRange'](_0x32ff10,_0x1cd100),_0x5e825f[_0x37f401(0x262)]);}[_0x41125a(0x23e)](_0x3daebf,_0x5167a4=_0x5e825f[_0x41125a(0x242)]){const _0x3f6a71=_0x41125a;return this[_0x3f6a71(0x219)][_0x3f6a71(0x22a)](_0x5c6c3e)[_0x3f6a71(0x1e6)]({..._0x3daebf,'kind':_0x5167a4,'segmentId':this[_0x3f6a71(0x20e)],'tableId':this[_0x3f6a71(0x252)]}),!0x0;}[_0x41125a(0x205)](_0x2dd781){const _0x10b787=_0x41125a;return this[_0x10b787(0x1d9)](_0x2dd781,0x1);}[_0x41125a(0x1d0)](_0x160626){const _0x1306e8=_0x41125a;return this[_0x1306e8(0x263)](_0x160626,0x1);}['insertRowsBefore'](_0x3fee1e,_0x3ab5e4){const _0x4d0ed3=_0x41125a;let _0x2ff729=this[_0x4d0ed3(0x1e4)](),_0x5341d0=_0x14491b(_0x2ff729,this[_0x4d0ed3(0x252)],_0x3fee1e,_0x3ab5e4,_0x376ce1[_0x4d0ed3(0x212)],this[_0x4d0ed3(0x21f)]());return _0x5341d0?this['_mutateActions'](_0x2ff729,_0x5341d0['actions']):!0x1;}['insertRowsAfter'](_0x238e7a,_0xbfaabb){const _0x408578=_0x41125a;let _0x23c336=this[_0x408578(0x1e4)](),_0x72c1f1=_0x14491b(_0x23c336,this[_0x408578(0x252)],_0x238e7a,_0xbfaabb,_0x376ce1['Below'],this['_getBodyPath']());return _0x72c1f1?this[_0x408578(0x1b6)](_0x23c336,_0x72c1f1['actions']):!0x1;}[_0x41125a(0x23d)](){const _0xcbcbf=_0x41125a;return this[_0xcbcbf(0x263)](Math[_0xcbcbf(0x237)](0x0,this[_0xcbcbf(0x1b9)]()-0x1),0x1);}[_0x41125a(0x1fc)](_0x2e34ea){const _0x497405=_0x41125a;return this[_0x497405(0x21d)](_0x2e34ea,0x1);}['insertColumnAfter'](_0x5e398f){const _0x3b197f=_0x41125a;return this[_0x3b197f(0x20f)](_0x5e398f,0x1);}[_0x41125a(0x21d)](_0x4857db,_0x5df8f9){const _0x228672=_0x41125a;let _0x3063d7=this['_getDocumentData'](),_0x2a2c58=_0x54ce17(_0x3063d7,this[_0x228672(0x252)],_0x4857db,_0x5df8f9,_0x376ce1[_0x228672(0x1e2)],{'bodyPath':this[_0x228672(0x21f)]()});return _0x2a2c58?this[_0x228672(0x1b6)](_0x3063d7,_0x2a2c58[_0x228672(0x21c)]):!0x1;}[_0x41125a(0x20f)](_0xa834ad,_0x927b97){const _0x45e715=_0x41125a;let _0x1d79d9=this[_0x45e715(0x1e4)](),_0x874c87=_0x54ce17(_0x1d79d9,this[_0x45e715(0x252)],_0xa834ad,_0x927b97,_0x376ce1[_0x45e715(0x23f)],{'bodyPath':this[_0x45e715(0x21f)]()});return _0x874c87?this['_mutateActions'](_0x1d79d9,_0x874c87[_0x45e715(0x21c)]):!0x1;}[_0x41125a(0x241)](){const _0x494050=_0x41125a;return this[_0x494050(0x20f)](Math['max'](0x0,this['getColumnCount']()-0x1),0x1);}[_0x41125a(0x206)](_0x347636){return this['deleteRows'](_0x347636,0x1);}[_0x41125a(0x1b8)](_0x2359e0,_0x181259=0x1){const _0x71137b=_0x41125a;return!!this[_0x71137b(0x25f)][_0x71137b(0x231)](_0x40b009['id'],{'endRow':_0x2359e0+_0x181259-0x1,'segmentId':this[_0x71137b(0x20e)],'startRow':_0x2359e0,'tableId':this[_0x71137b(0x252)],'unitId':this[_0x71137b(0x21e)]});}[_0x41125a(0x1b5)](_0x5e8547){const _0xcacb0e=_0x41125a;return this[_0xcacb0e(0x1ae)](_0x5e8547,0x1);}[_0x41125a(0x1ae)](_0x4dca86,_0x48b8aa=0x1){const _0x2f1aad=_0x41125a;return!!this[_0x2f1aad(0x25f)][_0x2f1aad(0x231)](_0x653349['id'],{'endColumn':_0x4dca86+_0x48b8aa-0x1,'segmentId':this[_0x2f1aad(0x20e)],'startColumn':_0x4dca86,'tableId':this['_tableId'],'unitId':this['_unitId']});}[_0x41125a(0x1e9)](){const _0x4a7f7a=_0x41125a;return!!this['_commandService'][_0x4a7f7a(0x231)](_0x5b87b5['id'],{'segmentId':this['_segmentId'],'tableId':this['_tableId'],'unitId':this[_0x4a7f7a(0x21e)]});}['moveTableBy'](_0x527c17,_0x8c9e93){const _0x2c0ea4=_0x41125a;let _0x3902bd=this[_0x2c0ea4(0x1e4)]();return this[_0x2c0ea4(0x1b6)](_0x3902bd,_0x28bd2c(_0x3902bd,this[_0x2c0ea4(0x252)],_0x527c17,_0x8c9e93));}[_0x41125a(0x216)](_0x59f03a){const _0x1f9f69=_0x41125a;let _0x486b92=this['_getDocumentData']();return this[_0x1f9f69(0x1b6)](_0x486b92,_0x27762e(_0x486b92,this[_0x1f9f69(0x252)],_0x59f03a,this[_0x1f9f69(0x21f)]()));}[_0x41125a(0x1d6)](_0x4c36d2,_0x285f56,_0x7c5a76=_0x376ce1[_0x41125a(0x212)]){const _0x4a37e7=_0x41125a;return this[_0x4a37e7(0x1e8)](_0x4c36d2,0x1,_0x285f56,_0x7c5a76);}['moveRows'](_0x58e0d0,_0x4ba075,_0x32c8a5,_0x270198=_0x376ce1[_0x41125a(0x212)]){const _0x4834a0=_0x41125a;let _0x4090de=this[_0x4834a0(0x1e4)](),_0x5eced4=_0x515431(_0x4090de,this[_0x4834a0(0x252)],_0x58e0d0,_0x32c8a5,_0x4ba075,_0x270198,this[_0x4834a0(0x21f)]());return _0x5eced4?this[_0x4834a0(0x1b6)](_0x4090de,_0x5eced4[_0x4834a0(0x21c)]):!0x1;}[_0x41125a(0x220)](_0x64159a,_0x469f00,_0x26a6b2=_0x376ce1[_0x41125a(0x1e2)]){const _0x1aa3ee=_0x41125a;return this[_0x1aa3ee(0x1f3)](_0x64159a,0x1,_0x469f00,_0x26a6b2);}[_0x41125a(0x1f3)](_0x19208d,_0x42cd43,_0x25914d,_0x517fbd=_0x376ce1['Left']){const _0x2ba8f6=_0x41125a;let _0x1cb238=this['_getDocumentData'](),_0x218d30=_0x3b6303(_0x1cb238,this['_tableId'],_0x19208d,_0x25914d,_0x42cd43,_0x517fbd,this[_0x2ba8f6(0x21f)]());return _0x218d30?this[_0x2ba8f6(0x1b6)](_0x1cb238,_0x218d30[_0x2ba8f6(0x21c)]):!0x1;}[_0x41125a(0x211)](_0x19af4a){const _0x2b325e=_0x41125a;try{let _0x463771=this[_0x2b325e(0x1e4)](),_0x47098d=_0x5e175e({'documentData':_0x463771,'tableId':this[_0x2b325e(0x252)],..._0x19af4a});return _0x47098d?this[_0x2b325e(0x1b6)](_0x463771,_0x47098d['actions'],_0x19af4a):!0x1;}catch{return!0x1;}}[_0x41125a(0x24a)](_0x5dc4ce){const _0x5e7f58=_0x41125a;try{let _0x4cffab=this[_0x5e7f58(0x1e4)](),_0x400a5d=_0x16f349({'documentData':_0x4cffab,'tableId':this['_tableId'],..._0x5dc4ce});return _0x400a5d?this['_mutateActions'](_0x4cffab,_0x400a5d[_0x5e7f58(0x21c)],_0x5dc4ce):!0x1;}catch{return!0x1;}}[_0x41125a(0x1e1)](_0x18708b,_0x18b7a8,_0x134746){const _0x234199=_0x41125a;let _0x32d653=this[_0x234199(0x1e4)](),_0x56e2e8=_0x2bbc2c(this[_0x234199(0x229)][_0x234199(0x25e)]()[_0x234199(0x201)](),this[_0x234199(0x20e)]);return this[_0x234199(0x1b6)](_0x32d653,_0x14cfd6({'documentData':_0x32d653,'tableId':this[_0x234199(0x252)],'row':_0x18708b,'column':_0x18b7a8,'text':_0x134746},_0x56e2e8),this[_0x234199(0x1df)](_0x18708b,_0x18b7a8));}['setCellBackground'](_0x472f48,_0x1a424e){const _0x1c02cf=_0x41125a;let _0x462c57=this['_getDocumentData']();return this[_0x1c02cf(0x1b6)](_0x462c57,_0x82af2d(_0x462c57,{'tableId':this[_0x1c02cf(0x252)],..._0x472f48,'value':_0x1a424e}),_0x472f48);}[_0x41125a(0x1de)](_0x5b2b8f,_0x55bb28){const _0x569e65=_0x41125a;let _0x22bf7b=this['_getDocumentData']();return this[_0x569e65(0x1b6)](_0x22bf7b,_0x98376d({'documentData':_0x22bf7b,'tableId':this['_tableId'],..._0x5b2b8f,'margin':_0x55bb28}),_0x5b2b8f);}[_0x41125a(0x1c7)](_0xee4499){const _0x5c29bb=_0x41125a;let _0x49c123=this[_0x5c29bb(0x1e4)]();return this[_0x5c29bb(0x1b6)](_0x49c123,_0x55eec1(_0x49c123,this[_0x5c29bb(0x252)],_0xee4499));}[_0x41125a(0x1ef)](_0x539f34,_0x510a98){const _0x3f7af1=_0x41125a;let _0x5d2fdb=this['_getDocumentData']();return this[_0x3f7af1(0x1b6)](_0x5d2fdb,_0x231dfb({'documentData':_0x5d2fdb,'tableId':this[_0x3f7af1(0x252)],..._0x539f34,'preset':_0x510a98[_0x3f7af1(0x20c)]??_0x5771ee[_0x3f7af1(0x1f9)],'border':_0x510a98[_0x3f7af1(0x1fd)]??{'color':{'rgb':_0x510a98[_0x3f7af1(0x1a9)]??_0x3f7af1(0x249)},'width':{'v':_0x510a98[_0x3f7af1(0x248)]??0x1},'dashStyle':_0x52632a[_0x3f7af1(0x1c6)]}}),_0x539f34);}[_0x41125a(0x1e0)](_0x119bf4){const _0x1701f7=_0x41125a;return this[_0x1701f7(0x1da)](this[_0x1701f7(0x1b1)](),_0x119bf4);}[_0x41125a(0x1aa)](_0x106b06){const _0xe799f0=_0x41125a;return this[_0xe799f0(0x1ef)](this[_0xe799f0(0x1b1)](),_0x106b06);}[_0x41125a(0x1d1)](_0x5df12f){const _0x13b641=_0x41125a;let _0x4f111a=!_0x5df12f[_0x13b641(0x239)]||this[_0x13b641(0x1e0)](_0x5df12f[_0x13b641(0x239)]),_0x23b287=!_0x5df12f['border']||this[_0x13b641(0x1aa)](_0x5df12f[_0x13b641(0x1fd)]);return _0x4f111a&&_0x23b287;}[_0x41125a(0x1f0)](_0x57f6bd,_0x260fd1,_0x39745b=_0xbad851[_0x41125a(0x238)]){const _0x1e9c4f=_0x41125a;var _0x322f21;let _0x167c87=this[_0x1e9c4f(0x1e4)]();return(_0x322f21=_0x167c87[_0x1e9c4f(0x251)])!=null&&(_0x322f21=_0x322f21[this[_0x1e9c4f(0x252)]])!=null&&_0x322f21[_0x1e9c4f(0x1c8)][_0x57f6bd]?this[_0x1e9c4f(0x1b6)](_0x167c87,_0x521df2(_0x167c87,this[_0x1e9c4f(0x252)],_0x57f6bd,_0x260fd1,_0x39745b)):!0x1;}[_0x41125a(0x1ff)](_0x218914){const _0x4c1034=_0x41125a;var _0x5e7c3f;let _0xb7d05=(_0x5e7c3f=this[_0x4c1034(0x1c4)]())==null||(_0x5e7c3f=_0x5e7c3f[_0x4c1034(0x1c8)][_0x218914])==null?void 0x0:_0x5e7c3f['trHeight'];return _0xb7d05?_0x1d66af[_0x4c1034(0x20b)](_0xb7d05):null;}[_0x41125a(0x257)](_0x4d7f6e,_0x42d342){const _0x1d45ca=_0x41125a;var _0xd0cad8;let _0x23eb74=this[_0x1d45ca(0x1e4)]();return(_0xd0cad8=_0x23eb74[_0x1d45ca(0x251)])!=null&&(_0xd0cad8=_0xd0cad8[this[_0x1d45ca(0x252)]])!=null&&_0xd0cad8[_0x1d45ca(0x21b)][_0x4d7f6e]?this['_mutateActions'](_0x23eb74,_0x41e320(_0x23eb74,this[_0x1d45ca(0x252)],_0x4d7f6e,_0x42d342)):!0x1;}[_0x41125a(0x23b)](_0x3ab938=0x0,_0x9d23ab=this[_0x41125a(0x1b9)]()){const _0x3985e6=_0x41125a;let _0x46b93c=this[_0x3985e6(0x1e4)]();return this[_0x3985e6(0x1b6)](_0x46b93c,_0x6ecb9b(_0x46b93c,this['_tableId'],_0x3ab938,_0x3ab938+_0x9d23ab-0x1));}[_0x41125a(0x1b3)](_0x366259=0x0,_0x53f80e=this['getColumnCount']()){const _0x239c38=_0x41125a;let _0x14dbbf=this['_getDocumentData']();return this[_0x239c38(0x1b6)](_0x14dbbf,_0xdd1724(_0x14dbbf,this[_0x239c38(0x252)],_0x366259,_0x366259+_0x53f80e-0x1));}[_0x41125a(0x213)](){const _0x73cb8c=_0x41125a;var _0x4aff6f;return((_0x4aff6f=this['getMetadata']())==null?void 0x0:_0x4aff6f[_0x73cb8c(0x225)])??0x0;}[_0x41125a(0x1a7)](_0x37ca7c){const _0x91fa67=_0x41125a;let _0x1a7314=this[_0x91fa67(0x219)][_0x91fa67(0x22a)](_0x1ea9f7),_0x43d5ff=this[_0x91fa67(0x1e4)](),_0x12faae=_0x21036a(_0x43d5ff,this[_0x91fa67(0x252)],_0x37ca7c);if(!_0x12faae)return!0x1;let _0x185b63=this[_0x91fa67(0x1b6)](_0x43d5ff,_0x12faae[_0x91fa67(0x21c)]);return _0x185b63&&_0x1a7314['setHeaderRowCount'](this[_0x91fa67(0x21e)],this['_tableId'],_0x12faae['headerRowCount']),_0x185b63;}[_0x41125a(0x1f7)](_0x393c4b){const _0x34f5c2=_0x41125a;return this[_0x34f5c2(0x1a7)](_0x393c4b);}[_0x41125a(0x1bd)](){var _0x59e5dd;return((_0x59e5dd=this['getMetadata']())==null?void 0x0:_0x59e5dd['titleRow'])??!0x1;}[_0x41125a(0x1bf)](){const _0x1bbd04=_0x41125a;let _0x20305c=this[_0x1bbd04(0x219)][_0x1bbd04(0x22a)](_0x1ea9f7),_0x4eeeb0=this[_0x1bbd04(0x1e4)](),_0x4fc1f2=_0x18e5b3(_0x4eeeb0,this[_0x1bbd04(0x252)],this[_0x1bbd04(0x21f)]());if(!_0x4fc1f2)return!0x1;let _0x230859=this[_0x1bbd04(0x1b6)](_0x4eeeb0,_0x4fc1f2['actions']);return _0x230859&&_0x20305c[_0x1bbd04(0x1bc)](this[_0x1bbd04(0x21e)],this['_tableId'],!0x0),_0x230859;}['setColumnType'](_0x186d15,_0x4b013a){const _0x3fa676=_0x41125a;return this[_0x3fa676(0x219)][_0x3fa676(0x22a)](_0x1ea9f7)[_0x3fa676(0x215)](this[_0x3fa676(0x21e)],this[_0x3fa676(0x252)],_0x186d15,_0x4b013a),!0x0;}[_0x41125a(0x1b0)](_0x160567,_0x2188d4){const _0xf5d946=_0x41125a;let _0x5e216d=this['_getDocumentData']();return this[_0xf5d946(0x1b6)](_0x5e216d,_0x517a17(_0x5e216d,this[_0xf5d946(0x259)](),this[_0xf5d946(0x252)],_0x160567,_0x2188d4,this[_0xf5d946(0x21f)]()));}[_0x41125a(0x1e4)](){const _0xf78b3a=_0x41125a;let _0x5da1cb=this[_0xf78b3a(0x229)][_0xf78b3a(0x25e)]()['getSnapshot']();return this[_0xf78b3a(0x20e)]?{...this[_0xf78b3a(0x229)][_0xf78b3a(0x25e)](this[_0xf78b3a(0x20e)])['getSnapshot'](),'documentStyle':_0x5da1cb[_0xf78b3a(0x23c)],'tableSource':_0x5da1cb[_0xf78b3a(0x251)]}:_0x5da1cb;}['_serializeModel'](){const _0x49bea9=_0x41125a;return this[_0x49bea9(0x219)][_0x49bea9(0x22a)](_0x1ea9f7)['serialize'](this[_0x49bea9(0x21e)]);}[_0x41125a(0x21f)](){const _0x4cf94c=_0x41125a;return _0x2bbc2c(this[_0x4cf94c(0x229)][_0x4cf94c(0x25e)]()['getSnapshot'](),this[_0x4cf94c(0x20e)]);}[_0x41125a(0x1b6)](_0x13cdfc,_0x40ffd2,_0x313183){const _0x648e8f=_0x41125a;return _0xe64ace(this[_0x648e8f(0x25f)],this[_0x648e8f(0x21e)],_0x13cdfc,_0x40ffd2,_0x313183?{'tableId':this[_0x648e8f(0x252)],'segmentId':this[_0x648e8f(0x20e)],..._0x313183}:void 0x0);}};$=te([Q(0x3,_0x2d69d9),Q(0x4,_0xea0b69(_0x25de43))],$);var ne=class extends _0x5a8917{[_0x41125a(0x1c5)](_0x5410bc=''){const _0x4ae8e8=_0x41125a;return this[_0x4ae8e8(0x232)](_0x5410bc)[_0x4ae8e8(0x1a8)](_0x584d19=>this[_0x4ae8e8(0x223)](_0x584d19[_0x4ae8e8(0x24f)],_0x5410bc));}['getTable'](_0x9f5c50,_0x3e19ca=''){const _0x497329=_0x41125a;return this[_0x497329(0x232)](_0x3e19ca)[_0x497329(0x224)](_0x27267c=>_0x27267c[_0x497329(0x24f)]===_0x9f5c50)?this[_0x497329(0x223)](_0x9f5c50,_0x3e19ca):null;}[_0x41125a(0x20d)](_0x473a48,_0x4395c5=''){const _0x5e9aa4=_0x41125a;var _0x18e34d;let _0x1e9cb3=(_0x18e34d=this[_0x5e9aa4(0x232)](_0x4395c5)[_0x473a48])==null?void 0x0:_0x18e34d['tableId'];return _0x1e9cb3?this[_0x5e9aa4(0x223)](_0x1e9cb3,_0x4395c5):null;}['getTableAtSelection'](){const _0xc32b70=_0x41125a;let _0x96e24f=this['_injector'][_0xc32b70(0x22a)](_0x5c6c3e)[_0xc32b70(0x1ea)]();return _0x96e24f!=null&&_0x96e24f['tableId']?this[_0xc32b70(0x223)](_0x96e24f['tableId'],_0x96e24f['segmentId']):null;}['findTableByText'](_0x12cfa9,_0x5ac532=''){const _0x362dc7=_0x41125a;return this[_0x362dc7(0x234)](_0x12cfa9,_0x5ac532)[0x0]??null;}[_0x41125a(0x234)](_0x2d775a,_0x55776d=''){const _0x3b7bd6=_0x41125a;let _0x45ff4e=this[_0x3b7bd6(0x1e5)](_0x55776d),_0x58fed4=typeof _0x2d775a=='string'?{'text':_0x2d775a}:_0x2d775a;return this[_0x3b7bd6(0x1c5)](_0x55776d)['filter'](_0x2fe13e=>{const _0x1989a1=_0x3b7bd6;let _0xa484fd=_0x2fe13e[_0x1989a1(0x1c0)]();return!(_0x58fed4[_0x1989a1(0x24f)]&&_0xa484fd!==_0x58fed4[_0x1989a1(0x24f)]||_0x58fed4[_0x1989a1(0x22e)]&&!this[_0x1989a1(0x1ec)](_0x45ff4e,_0xa484fd,_0x58fed4['text'])||_0x58fed4[_0x1989a1(0x254)]&&!this[_0x1989a1(0x222)](_0x2fe13e,0x0,_0x58fed4[_0x1989a1(0x254)])||_0x58fed4[_0x1989a1(0x230)]&&!this['_rowContainsText'](_0x2fe13e,0x0,_0x58fed4['titleText']));});}[_0x41125a(0x25d)](_0x1b226c,_0x5351bc,_0x3ff9b4={}){const _0x4511c1=_0x41125a;let _0x1780e0=this[_0x4511c1(0x219)][_0x4511c1(0x22a)](_0x2d69d9),_0x21ed2f=_0x3ff9b4[_0x4511c1(0x24f)]??_0x190e8f(0x6);return _0x1780e0['syncExecuteCommand'](_0x415eca['id'],{..._0x3ff9b4,'unitId':this[_0x4511c1(0x1c0)](),'rows':_0x1b226c,'columns':_0x5351bc,'tableId':_0x21ed2f})?this[_0x4511c1(0x223)](_0x21ed2f,_0x3ff9b4['segmentId']??''):null;}['insertTableFromData'](_0x178c02,_0x4ee4c6={}){const _0x44dce7=_0x41125a;let _0x54fd39=this[_0x44dce7(0x219)]['get'](_0x2d69d9),_0x591df3=_0x4ee4c6[_0x44dce7(0x24f)]??_0x190e8f(0x6);return _0x54fd39[_0x44dce7(0x231)](_0x415eca['id'],{..._0x4ee4c6,'unitId':this[_0x44dce7(0x1c0)](),'values':_0x178c02,'tableId':_0x591df3})?this[_0x44dce7(0x223)](_0x591df3,_0x4ee4c6[_0x44dce7(0x25b)]??''):null;}[_0x41125a(0x232)](_0x3471d0=''){let {tables:_0x542d12=[]}=this['getBody'](_0x3471d0);return _0x542d12;}['_getTableDocumentData'](_0x137cb3=''){const _0x32d479=_0x41125a;let _0x4cc6c8=this['getDocumentDataModel']()[_0x32d479(0x201)]();return _0x137cb3?{...this[_0x32d479(0x25e)](_0x137cb3)[_0x32d479(0x201)](),'documentStyle':_0x4cc6c8['documentStyle'],'tableSource':_0x4cc6c8[_0x32d479(0x251)]}:_0x4cc6c8;}['_createFDocumentTable'](_0x1385e5,_0x916fb4=''){const _0x4cde44=_0x41125a;return this['_injector'][_0x4cde44(0x227)]($,this,_0x1385e5,_0x916fb4);}['_tableContainsText'](_0x3490f7,_0x39530b,_0x253b0a){const _0x117a11=_0x41125a;var _0x3d0f96;let _0x29ae04=_0xffe7b0(_0x3490f7,_0x39530b);if(!_0x29ae04)return!0x1;let _0x20473d=(_0x3d0f96=_0x3490f7[_0x117a11(0x240)])==null?void 0x0:_0x3d0f96[_0x117a11(0x1ca)];return _0x20473d?_0x20473d['slice'](_0x29ae04['startOffset'],_0x29ae04['endOffset'])[_0x117a11(0x1b2)](_0x253b0a):!0x1;}[_0x41125a(0x222)](_0x3e7bd8,_0x742130,_0x2c0dfc){const _0xe654b7=_0x41125a;return Array['from']({'length':_0x3e7bd8[_0xe654b7(0x1d4)]()},(_0x5f29f6,_0x5ceeb1)=>_0x3e7bd8['getCellText'](_0x742130,_0x5ceeb1))['some'](_0x243178=>_0x243178[_0xe654b7(0x1b2)](_0x2c0dfc));}};_0x5a8917[_0x41125a(0x24d)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};