@univerjs-pro/docs-table 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x24b012=_0x1483;(function(_0x47ae56,_0x59d349){const _0x233e6a=_0x1483,_0x431be2=_0x47ae56();while(!![]){try{const _0x5f1b78=-parseInt(_0x233e6a(0xfe))/0x1*(parseInt(_0x233e6a(0x17b))/0x2)+-parseInt(_0x233e6a(0x140))/0x3*(parseInt(_0x233e6a(0xc0))/0x4)+-parseInt(_0x233e6a(0xb8))/0x5*(parseInt(_0x233e6a(0xbe))/0x6)+parseInt(_0x233e6a(0x150))/0x7*(-parseInt(_0x233e6a(0x101))/0x8)+parseInt(_0x233e6a(0x12f))/0x9*(parseInt(_0x233e6a(0xe0))/0xa)+parseInt(_0x233e6a(0xc8))/0xb+parseInt(_0x233e6a(0x10f))/0xc;if(_0x5f1b78===_0x59d349)break;else _0x431be2['push'](_0x431be2['shift']());}catch(_0x441d72){_0x431be2['push'](_0x431be2['shift']());}}}(_0x46d7,0xb3d39),Object[_0x24b012(0x11f)](exports,Symbol[_0x24b012(0x107)],{'value':_0x24b012(0x164)}));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[_0x24b012(0x18f)]{get['DocsTableInsertTablePosition'](){const _0x290c2f=_0x24b012;return e[_0x290c2f(0x159)];}get['DocsTableColumnType'](){return e['DocsTableColumnType'];}get[_0x24b012(0x168)](){const _0x1c87b7=_0x24b012;return e[_0x1c87b7(0x168)];}get[_0x24b012(0x175)](){const _0x2337c3=_0x24b012;return e[_0x2337c3(0x175)];}get[_0x24b012(0x177)](){const _0x33a7de=_0x24b012;return e[_0x33a7de(0x177)];}get['DocsTableBorderPreset'](){const _0x3ebdd4=_0x24b012;return e[_0x3ebdd4(0x196)];}get[_0x24b012(0x16c)](){const _0x29a517=_0x24b012;return e[_0x29a517(0x16c)];}get['DashStyleType'](){const _0x1d71c8=_0x24b012;return t[_0x1d71c8(0x176)];}};n['FEnum'][_0x24b012(0xc9)](i);var a=class{constructor(_0x10d515,_0x196d38,_0x55192f){const _0x1a55f2=_0x24b012;this[_0x1a55f2(0xb6)]=_0x10d515,this[_0x1a55f2(0x171)]=_0x196d38,this[_0x1a55f2(0x17a)]=_0x55192f;}[_0x24b012(0x124)](){const _0x13b87d=_0x24b012;return this[_0x13b87d(0xb6)];}[_0x24b012(0x13b)](){const _0x3f8e26=_0x24b012;return this[_0x3f8e26(0x171)];}[_0x24b012(0x14e)](){const _0x2d2a86=_0x24b012;return this[_0x2d2a86(0x17a)];}[_0x24b012(0x115)](){const _0x2de021=_0x24b012;return this[_0x2de021(0xb6)][_0x2de021(0x122)](this[_0x2de021(0x171)],this['_column']);}[_0x24b012(0x117)](){const _0x1d6d76=_0x24b012;return this[_0x1d6d76(0xb6)][_0x1d6d76(0x111)](this['_row'],this[_0x1d6d76(0x17a)]);}[_0x24b012(0x130)](){const _0x7a8938=_0x24b012;return this[_0x7a8938(0xb6)][_0x7a8938(0xd3)](this[_0x7a8938(0x171)],this[_0x7a8938(0x17a)]);}[_0x24b012(0x146)](){const _0xb24e0e=_0x24b012;return this[_0xb24e0e(0xb6)][_0xb24e0e(0xbd)](this[_0xb24e0e(0x171)],this['_column']);}[_0x24b012(0x128)](){const _0x38095f=_0x24b012;return this[_0x38095f(0xb6)][_0x38095f(0x15a)](this[_0x38095f(0x171)],this[_0x38095f(0x17a)]);}[_0x24b012(0x170)](_0x3f589e){const _0x280d2e=_0x24b012;return this[_0x280d2e(0xb6)]['setCellMargin'](this['_table'][_0x280d2e(0xec)](this[_0x280d2e(0x171)],this[_0x280d2e(0x17a)]),_0x3f589e);}[_0x24b012(0x145)](){const _0x13eee5=_0x24b012;return this[_0x13eee5(0xb6)][_0x13eee5(0x185)](this[_0x13eee5(0xb6)]['getCellRange'](this['_row'],this['_column']),null);}[_0x24b012(0x152)](_0x462adb){const _0x5c7e2a=_0x24b012;return this[_0x5c7e2a(0xb6)][_0x5c7e2a(0x118)](this['_row'],this[_0x5c7e2a(0x17a)],_0x462adb);}[_0x24b012(0xe9)](_0x1741f1){const _0x438008=_0x24b012;return this['_table']['setCellBackground'](this[_0x438008(0xb6)][_0x438008(0xec)](this[_0x438008(0x171)],this[_0x438008(0x17a)]),_0x1741f1);}['setBorder'](_0x58f23c){const _0xf7d8b3=_0x24b012;return this['_table']['setBorder'](this[_0xf7d8b3(0xb6)][_0xf7d8b3(0xec)](this[_0xf7d8b3(0x171)],this[_0xf7d8b3(0x17a)]),_0x58f23c);}['mergeTo'](_0x45c950,_0x18a98e){const _0x45c920=_0x24b012;return this[_0x45c920(0xb6)][_0x45c920(0x100)]({'startRow':this[_0x45c920(0x171)],'startColumn':this[_0x45c920(0x17a)],'endRow':this[_0x45c920(0x171)]+_0x45c950-0x1,'endColumn':this[_0x45c920(0x17a)]+_0x18a98e-0x1});}[_0x24b012(0x148)](){const _0x25b7aa=_0x24b012;return this[_0x25b7aa(0xb6)][_0x25b7aa(0x129)](this[_0x25b7aa(0xb6)][_0x25b7aa(0xec)](this[_0x25b7aa(0x171)],this[_0x25b7aa(0x17a)]));}};function o(_0x1ba52a){'@babel/helpers - typeof';const _0x14b2c8=_0x24b012;return o=typeof Symbol=='function'&&typeof Symbol[_0x14b2c8(0xcd)]==_0x14b2c8(0x104)?function(_0x4ac07e){return typeof _0x4ac07e;}:function(_0x34e681){const _0x55d7d9=_0x14b2c8;return _0x34e681&&typeof Symbol==_0x55d7d9(0x156)&&_0x34e681[_0x55d7d9(0x142)]===Symbol&&_0x34e681!==Symbol[_0x55d7d9(0x197)]?_0x55d7d9(0x104):typeof _0x34e681;},o(_0x1ba52a);}function s(_0x9fa0da,_0x27ffb6){const _0x4f7169=_0x24b012;if(o(_0x9fa0da)!=_0x4f7169(0x102)||!_0x9fa0da)return _0x9fa0da;var _0x4494c3=_0x9fa0da[Symbol[_0x4f7169(0xe6)]];if(_0x4494c3!==void 0x0){var _0x1f143d=_0x4494c3[_0x4f7169(0xff)](_0x9fa0da,_0x27ffb6||_0x4f7169(0xb7));if(o(_0x1f143d)!=_0x4f7169(0x102))return _0x1f143d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x27ffb6===_0x4f7169(0x195)?String:Number)(_0x9fa0da);}function c(_0x167be5){var _0x3c4ad8=s(_0x167be5,'string');return o(_0x3c4ad8)=='symbol'?_0x3c4ad8:_0x3c4ad8+'';}function l(_0x43c771,_0x5bb155,_0xe97e65){return(_0x5bb155=c(_0x5bb155))in _0x43c771?Object['defineProperty'](_0x43c771,_0x5bb155,{'value':_0xe97e65,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x43c771[_0x5bb155]=_0xe97e65,_0x43c771;}function _0x46d7(){const _0x2f5e03=['setHeaderRowCount','gray.900','getTableActionBodyPath','_getTableDocumentData','getSource','insertTableFromData','buildMoveTableToOffsetMutationActions','trHeight','length','DEFAULT_DOCS_TABLE_CELL_MARGIN','Inject','91720gQTOZA','width','insertRowsAfter','border','size','selectRow','toPrimitive','_tableContainsText','getRowCount','setBackgroundColor','selectColumn','FDocument','getCellRange','insertRowsBefore','segmentId','getRange','documentStyle','moveRows','insertColumnsBefore','buildDistributeTableColumnsMutationActions','All','buildSetTableDefaultCellMarginMutationActions','titleText','ThemeService','getColumnCount','Table','DocsTableSetColumnTypeCommand','_createFDocumentTable','getSegmentId','_tableId','1qSmYGi','call','mergeCells','84024kggjnX','object','getOwnPropertyDescriptor','symbol','insertRowBefore','getTableAt','toStringTag','cells','tableSource','selectColumns','moveRow','text','getSnapshot','Tools','19193340WRRuXX','tableId','getCellContentRange','_commandService','DocsTableDeleteTableCommand','setColumnType','getText','buildMoveFloatingTableMutationActions','getContentRange','setCellText','from','getTableRangeById','_injector','tableRows','DocsTableDeleteRowsCommand','headerRowCount','defineProperty','Above','_serializeModel','getCellText','buildInsertTableTitleRowMutationActions','getTable','getColumnRange','buildMoveTableColumnsMutationActions','setBorder','getMarginOverride','unmergeCells','_rowContainsText','setColumnWidth','_getTables','getInfo','moveColumn','144ctfVoy','getInsertOffset','getColorFromTheme','buildMergeCellsMutationActions','setCellBackground','setTableStyle','getDefaultCellMarginOverride','appendColumn','buildSetTableBackgroundMutationActions','max','insertColumnAfter','findTableByText','getRowIndex','startOffset','body','getHeaderRowCount','DocsTableInsertPosition','69VeTPlu','dataStream','constructor','_getDocumentData','getDocumentDataModel','clearMarginOverride','getMargin','_unitId','unmerge','_mutateActions','DocsTableDeleteColumnsCommand','getTableRange','resolveTableMetadata','insertTitleRow','getColumnIndex','buildInsertTableRowsMutationActions','294CPBlMB','deepClone','setText','setTableBackground','FDocumentTable','setDefaultCellMargin','function','describe','decorate','DocsTableInsertTablePosition','getCellMarginOverride','compose','includes','selectCell','selectRange','_document','getRowRange','moveTableToOffset','DocsTableSelectionService','SOLID','Module','actions','buildSetTableBorderMutationActions','filter','DocsTableSelectionKind','tableCells','pinHeaderRows','Right','DocsTableSortDirection','Row','deleteRow','insertColumnBefore','setMargin','_row','buildSortTableMutationActions','deleteColumns','AT_LEAST','DocsTableRowInsertPosition','DashStyleType','DocsTableColumnInsertPosition','getColumnsRange','selectRows','_column','1776122BjLNQF','selectTable','buildResizeTableColumnActionsFromWidth','Below','findTables','distributeColumns','insertTable','buildSetTableCellTextMutationActions','tableColumns','insertRowAfter','setCellMargin','some','margin','columnTypes','backgroundColor','createInstance','DocsTableInsertTableCommand','_segmentId','hasTitleRow','syncExecuteCommand','FEnum','appendRow','deleteColumn','map','getTables','buildMoveTableRowsMutationActions','string','DocsTableBorderPreset','prototype','getRowsRange','get','Left','_table','default','145LHscUU','slice','moveColumns','cellMargin','endOffset','getCellMargin','37950PvWJqT','headerText','143596SfzUMh','getStableTableSelection','Range','executeRichTextTableActions','deleteRows','getId','Column','JSONX','14615271RvglkG','extend','_getBodyPath','generateRandomId','moveTableBy','iterator','rows','insertColumnsAfter','buildInsertTableColumnsMutationActions','distributeRows','getMetadata','getCellInsertOffset','getBody'];_0x46d7=function(){return _0x2f5e03;};return _0x46d7();}function u(_0x4c6489,_0x424956){return function(_0x5f6ffc,_0x1e499b){_0x424956(_0x5f6ffc,_0x1e499b,_0x4c6489);};}function d(_0x5b588e,_0x3f392e,_0x1c5ebb,_0x5c695e){const _0x235911=_0x24b012;var _0x45a813=arguments[_0x235911(0xdd)],_0x4077f4=_0x45a813<0x3?_0x3f392e:_0x5c695e===null?_0x5c695e=Object[_0x235911(0x103)](_0x3f392e,_0x1c5ebb):_0x5c695e,_0x1694ef;if(typeof Reflect==_0x235911(0x102)&&typeof Reflect[_0x235911(0x158)]==_0x235911(0x156))_0x4077f4=Reflect['decorate'](_0x5b588e,_0x3f392e,_0x1c5ebb,_0x5c695e);else{for(var _0x28d2b2=_0x5b588e['length']-0x1;_0x28d2b2>=0x0;_0x28d2b2--)(_0x1694ef=_0x5b588e[_0x28d2b2])&&(_0x4077f4=(_0x45a813<0x3?_0x1694ef(_0x4077f4):_0x45a813>0x3?_0x1694ef(_0x3f392e,_0x1c5ebb,_0x4077f4):_0x1694ef(_0x3f392e,_0x1c5ebb))||_0x4077f4);}return _0x45a813>0x3&&_0x4077f4&&Object[_0x235911(0x11f)](_0x3f392e,_0x1c5ebb,_0x4077f4),_0x4077f4;}let f=class{constructor(_0x293ab8,_0x48bfe9,_0x11a875,_0x205cd5,_0x295b2a){const _0x4487ee=_0x24b012;this[_0x4487ee(0x15f)]=_0x293ab8,this[_0x4487ee(0xfd)]=_0x48bfe9,this[_0x4487ee(0x18c)]=_0x11a875,this[_0x4487ee(0x112)]=_0x205cd5,this['_injector']=_0x295b2a,l(this,_0x4487ee(0x147),void 0x0),this['_unitId']=this[_0x4487ee(0x15f)][_0x4487ee(0xc5)]();}[_0x24b012(0xc5)](){const _0x37f52a=_0x24b012;return this[_0x37f52a(0xfd)];}[_0x24b012(0xfc)](){const _0x486d2e=_0x24b012;return this[_0x486d2e(0x18c)];}[_0x24b012(0x12d)](){const _0x139a9d=_0x24b012;return{'id':this[_0x139a9d(0xfd)],'rowCount':this[_0x139a9d(0xe8)](),'columnCount':this[_0x139a9d(0xf8)](),'metadata':this[_0x139a9d(0xd2)](),'source':this[_0x139a9d(0xd9)]()};}[_0x24b012(0x157)](){const _0x7c1957=_0x24b012;let _0x13c2b2=this[_0x7c1957(0xd2)](),_0x4c4d8f=this[_0x7c1957(0xd9)](),_0x256c84=this['getColumnCount']();return{'id':this['_tableId'],'rowCount':this[_0x7c1957(0xe8)](),'columnCount':_0x256c84,'headerRowCount':(_0x13c2b2==null?void 0x0:_0x13c2b2['headerRowCount'])??0x0,'titleRow':(_0x13c2b2==null?void 0x0:_0x13c2b2['titleRow'])??!0x1,'columns':Array[_0x7c1957(0x119)]({'length':_0x256c84},(_0x52f161,_0xd30e69)=>{const _0x3103fd=_0x7c1957;var _0x3d63a3,_0x40bda5;return{'index':_0xd30e69,'type':_0x13c2b2==null||(_0x3d63a3=_0x13c2b2[_0x3103fd(0x188)])==null||(_0x3d63a3=_0x3d63a3[_0xd30e69])==null?void 0x0:_0x3d63a3['type'],'width':_0x4c4d8f==null||(_0x40bda5=_0x4c4d8f[_0x3103fd(0x183)][_0xd30e69])==null?void 0x0:_0x40bda5[_0x3103fd(0xe4)]['width']['v']};}),'sampleRows':Array[_0x7c1957(0x119)]({'length':this[_0x7c1957(0xe8)]()},(_0x27019f,_0x127bb4)=>Array[_0x7c1957(0x119)]({'length':_0x256c84},(_0x374843,_0x4087bc)=>this[_0x7c1957(0x122)](_0x127bb4,_0x4087bc)))['filter'](_0xe08bc8=>_0xe08bc8[_0x7c1957(0x186)](_0x435f08=>_0x435f08[_0x7c1957(0xdd)]>0x0))[_0x7c1957(0xb9)](0x0,0x5)};}[_0x24b012(0xe8)](){const _0x26d7da=_0x24b012;var _0x5751fb;return((_0x5751fb=this[_0x26d7da(0xd9)]())==null?void 0x0:_0x5751fb['tableRows']['length'])??0x0;}['getColumnCount'](){const _0x303bd5=_0x24b012;var _0x1eba09;return((_0x1eba09=this[_0x303bd5(0xd9)]())==null?void 0x0:_0x1eba09[_0x303bd5(0x183)]['length'])??0x0;}['getCell'](_0x5bc0c9,_0x4c97f0){const _0x320a94=_0x24b012;var _0x354be;return(_0x354be=this[_0x320a94(0xd9)]())!=null&&(_0x354be=_0x354be[_0x320a94(0x11c)][_0x5bc0c9])!=null&&_0x354be[_0x320a94(0x169)][_0x4c97f0]?this['_injector']['createInstance'](a,this,_0x5bc0c9,_0x4c97f0):null;}[_0x24b012(0x122)](_0x587376,_0x505f6f){const _0x152c6f=_0x24b012;var _0x30f7a3,_0x18dadc;let _0x41cd6e=(_0x30f7a3=(0x0,e['getTableRangeById'])(this['_getDocumentData'](),this[_0x152c6f(0xfd)]))==null||(_0x30f7a3=_0x30f7a3[_0x152c6f(0xce)][_0x587376])==null?void 0x0:_0x30f7a3['cells'][_0x505f6f];return _0x41cd6e?((_0x18dadc=this[_0x152c6f(0x143)]()[_0x152c6f(0x13d)])==null?void 0x0:_0x18dadc[_0x152c6f(0x141)]['slice'](_0x41cd6e[_0x152c6f(0x13c)]+0x1,_0x41cd6e[_0x152c6f(0xbc)])['replace'](/\r\n$/,''))??'':'';}[_0x24b012(0xbd)](_0x136cfd,_0x4fa396){const _0x236cc3=_0x24b012;var _0x524dc7;let _0x55210b=this[_0x236cc3(0xd9)](),_0x5cef61=_0x55210b==null||(_0x524dc7=_0x55210b[_0x236cc3(0x11c)][_0x136cfd])==null?void 0x0:_0x524dc7[_0x236cc3(0x169)][_0x4fa396];return _0x5cef61?t[_0x236cc3(0x10e)][_0x236cc3(0x151)](_0x5cef61[_0x236cc3(0x187)]??_0x55210b[_0x236cc3(0xbb)]??e[_0x236cc3(0xde)]):null;}[_0x24b012(0x15a)](_0x19f735,_0x3e632b){const _0x59789c=_0x24b012;var _0x382436;let _0x296683=(_0x382436=this[_0x59789c(0xd9)]())==null||(_0x382436=_0x382436[_0x59789c(0x11c)][_0x19f735])==null?void 0x0:_0x382436['tableCells'][_0x3e632b];return _0x296683!=null&&_0x296683['margin']?t['Tools']['deepClone'](_0x296683[_0x59789c(0x187)]):null;}['getDefaultCellMargin'](){const _0x4ed958=_0x24b012;var _0x11e261;return t['Tools'][_0x4ed958(0x151)](((_0x11e261=this[_0x4ed958(0xd9)]())==null?void 0x0:_0x11e261[_0x4ed958(0xbb)])??e[_0x4ed958(0xde)]);}[_0x24b012(0x135)](){const _0xda548c=_0x24b012;var _0x202412;let _0x2f8716=(_0x202412=this[_0xda548c(0xd9)]())==null?void 0x0:_0x202412['cellMargin'];return _0x2f8716?t['Tools'][_0xda548c(0x151)](_0x2f8716):null;}[_0x24b012(0xd2)](){const _0x3f83e9=_0x24b012;let _0x4e6aa8=this[_0x3f83e9(0x11b)][_0x3f83e9(0x199)](e['DocsTableModel']),_0x5152eb=this[_0x3f83e9(0xd9)]();return _0x5152eb?_0x4e6aa8[_0x3f83e9(0x14c)](this[_0x3f83e9(0x147)],_0x5152eb):void 0x0;}['getSource'](){const _0x4059cd=_0x24b012;var _0xafffba;return(_0xafffba=this['_getDocumentData']()[_0x4059cd(0x109)])==null?void 0x0:_0xafffba[this[_0x4059cd(0xfd)]];}[_0x24b012(0xef)](){const _0x17999c=_0x24b012;return(0x0,e[_0x17999c(0x11a)])(this[_0x17999c(0x143)](),this[_0x17999c(0xfd)]);}['getTableRange'](){const _0x47ba41=_0x24b012;return{'startRow':0x0,'endRow':Math[_0x47ba41(0x138)](0x0,this[_0x47ba41(0xe8)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x47ba41(0x138)](0x0,this['getColumnCount']()-0x1)};}[_0x24b012(0xec)](_0xf4087a,_0x1f8507){return{'startRow':_0xf4087a,'endRow':_0xf4087a,'startColumn':_0x1f8507,'endColumn':_0x1f8507};}[_0x24b012(0x111)](_0x41472b,_0x410ce6){const _0x162467=_0x24b012;var _0x16491c;let _0x446e42=(_0x16491c=(0x0,e[_0x162467(0x11a)])(this[_0x162467(0x143)](),this[_0x162467(0xfd)]))==null||(_0x16491c=_0x16491c['rows'][_0x41472b])==null?void 0x0:_0x16491c[_0x162467(0x108)][_0x410ce6];if(!_0x446e42)return null;let _0x51d915=_0x446e42[_0x162467(0x13c)]+0x1;return{'startOffset':_0x51d915,'endOffset':Math['max'](_0x51d915,_0x446e42[_0x162467(0xbc)]-0x1),'segmentId':this['_segmentId']};}[_0x24b012(0xd3)](_0x5a6d13,_0xb63f2a){const _0x956a54=_0x24b012;let _0x254018=this[_0x956a54(0x111)](_0x5a6d13,_0xb63f2a);return _0x254018?Math['max'](_0x254018[_0x956a54(0x13c)],_0x254018[_0x956a54(0xbc)]-0x1):null;}[_0x24b012(0x160)](_0x4255eb){return this['getRowsRange'](_0x4255eb,0x1);}[_0x24b012(0x198)](_0x536738,_0xb9fb9a=0x1){const _0x501d=_0x24b012;return{'startRow':_0x536738,'endRow':_0x536738+_0xb9fb9a-0x1,'startColumn':0x0,'endColumn':Math[_0x501d(0x138)](0x0,this[_0x501d(0xf8)]()-0x1)};}[_0x24b012(0x125)](_0x3ecbb3){const _0x8f226b=_0x24b012;return this[_0x8f226b(0x178)](_0x3ecbb3,0x1);}[_0x24b012(0x178)](_0x27e4dc,_0x8ca8f1=0x1){return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':_0x27e4dc,'endColumn':_0x27e4dc+_0x8ca8f1-0x1};}[_0x24b012(0x17c)](){const _0x53ff2e=_0x24b012;return this['selectRange'](this[_0x53ff2e(0x14b)](),e[_0x53ff2e(0x168)][_0x53ff2e(0xf9)]);}[_0x24b012(0xe5)](_0x48b1f8){const _0x5bf2d1=_0x24b012;return this[_0x5bf2d1(0x179)](_0x48b1f8,0x1);}[_0x24b012(0x179)](_0x13401c,_0x2f46f3=0x1){const _0x148bfc=_0x24b012;return this[_0x148bfc(0x15e)](this['getRowsRange'](_0x13401c,_0x2f46f3),e[_0x148bfc(0x168)][_0x148bfc(0x16d)]);}[_0x24b012(0xea)](_0x4f5892){const _0x24cace=_0x24b012;return this[_0x24cace(0x10a)](_0x4f5892,0x1);}['selectColumns'](_0x1089db,_0x17ebf4=0x1){const _0x3f8a45=_0x24b012;return this['selectRange'](this['getColumnsRange'](_0x1089db,_0x17ebf4),e[_0x3f8a45(0x168)][_0x3f8a45(0xc6)]);}[_0x24b012(0x15d)](_0x396de7,_0x2c1679){const _0x86fa71=_0x24b012;return this[_0x86fa71(0x15e)](this[_0x86fa71(0xec)](_0x396de7,_0x2c1679),e[_0x86fa71(0x168)]['Cell']);}[_0x24b012(0x15e)](_0x47dafc,_0x130c5f=e[_0x24b012(0x168)][_0x24b012(0xc2)]){const _0x5387f7=_0x24b012;return this[_0x5387f7(0x11b)][_0x5387f7(0x199)](e[_0x5387f7(0x162)])['setStructuralSelection']({..._0x47dafc,'kind':_0x130c5f,'segmentId':this[_0x5387f7(0x18c)],'tableId':this[_0x5387f7(0xfd)]}),!0x0;}[_0x24b012(0x105)](_0x32c833){const _0x4c7970=_0x24b012;return this[_0x4c7970(0xed)](_0x32c833,0x1);}[_0x24b012(0x184)](_0x127775){return this['insertRowsAfter'](_0x127775,0x1);}['insertRowsBefore'](_0x3e7fb4,_0xbdeb5e){const _0x1415e3=_0x24b012;let _0x273116=this['_getDocumentData'](),_0x2b3952=(0x0,e[_0x1415e3(0x14f)])(_0x273116,this['_tableId'],_0x3e7fb4,_0xbdeb5e,e[_0x1415e3(0x13f)][_0x1415e3(0x120)],this[_0x1415e3(0xca)]());return _0x2b3952?this['_mutateActions'](_0x273116,_0x2b3952[_0x1415e3(0x165)]):!0x1;}['insertRowsAfter'](_0x14ff31,_0x35252a){const _0x9746bb=_0x24b012;let _0x147184=this['_getDocumentData'](),_0x55c1ed=(0x0,e[_0x9746bb(0x14f)])(_0x147184,this[_0x9746bb(0xfd)],_0x14ff31,_0x35252a,e[_0x9746bb(0x13f)][_0x9746bb(0x17e)],this[_0x9746bb(0xca)]());return _0x55c1ed?this[_0x9746bb(0x149)](_0x147184,_0x55c1ed[_0x9746bb(0x165)]):!0x1;}[_0x24b012(0x190)](){const _0x444c01=_0x24b012;return this[_0x444c01(0xe2)](Math[_0x444c01(0x138)](0x0,this[_0x444c01(0xe8)]()-0x1),0x1);}[_0x24b012(0x16f)](_0x229c04){const _0x351bf9=_0x24b012;return this[_0x351bf9(0xf2)](_0x229c04,0x1);}[_0x24b012(0x139)](_0x3aca6a){const _0x6e6afc=_0x24b012;return this[_0x6e6afc(0xcf)](_0x3aca6a,0x1);}['insertColumnsBefore'](_0xf0ae24,_0x1480a8){const _0x5b3fbd=_0x24b012;let _0x476ef8=this[_0x5b3fbd(0x143)](),_0x1d4123=(0x0,e[_0x5b3fbd(0xd0)])(_0x476ef8,this[_0x5b3fbd(0xfd)],_0xf0ae24,_0x1480a8,e['DocsTableInsertPosition'][_0x5b3fbd(0xb5)],{'bodyPath':this['_getBodyPath']()});return _0x1d4123?this[_0x5b3fbd(0x149)](_0x476ef8,_0x1d4123[_0x5b3fbd(0x165)]):!0x1;}[_0x24b012(0xcf)](_0x3532fe,_0x35aa5b){const _0x3ecd5d=_0x24b012;let _0x4ab623=this[_0x3ecd5d(0x143)](),_0x85beb6=(0x0,e[_0x3ecd5d(0xd0)])(_0x4ab623,this[_0x3ecd5d(0xfd)],_0x3532fe,_0x35aa5b,e['DocsTableInsertPosition'][_0x3ecd5d(0x16b)],{'bodyPath':this[_0x3ecd5d(0xca)]()});return _0x85beb6?this[_0x3ecd5d(0x149)](_0x4ab623,_0x85beb6['actions']):!0x1;}[_0x24b012(0x136)](){const _0x562015=_0x24b012;return this[_0x562015(0xcf)](Math[_0x562015(0x138)](0x0,this[_0x562015(0xf8)]()-0x1),0x1);}[_0x24b012(0x16e)](_0x56078b){const _0x5c22f5=_0x24b012;return this[_0x5c22f5(0xc4)](_0x56078b,0x1);}[_0x24b012(0xc4)](_0x5dc2fb,_0x22f811=0x1){const _0x132f2c=_0x24b012;return!!this[_0x132f2c(0x112)][_0x132f2c(0x18e)](e[_0x132f2c(0x11d)]['id'],{'endRow':_0x5dc2fb+_0x22f811-0x1,'segmentId':this['_segmentId'],'startRow':_0x5dc2fb,'tableId':this[_0x132f2c(0xfd)],'unitId':this[_0x132f2c(0x147)]});}[_0x24b012(0x191)](_0x4794e4){const _0x95a24e=_0x24b012;return this[_0x95a24e(0x173)](_0x4794e4,0x1);}[_0x24b012(0x173)](_0x51c208,_0x259832=0x1){const _0x466e1f=_0x24b012;return!!this['_commandService'][_0x466e1f(0x18e)](e[_0x466e1f(0x14a)]['id'],{'endColumn':_0x51c208+_0x259832-0x1,'segmentId':this[_0x466e1f(0x18c)],'startColumn':_0x51c208,'tableId':this[_0x466e1f(0xfd)],'unitId':this[_0x466e1f(0x147)]});}['deleteTable'](){const _0x4ff7b4=_0x24b012;return!!this[_0x4ff7b4(0x112)][_0x4ff7b4(0x18e)](e[_0x4ff7b4(0x113)]['id'],{'segmentId':this[_0x4ff7b4(0x18c)],'tableId':this[_0x4ff7b4(0xfd)],'unitId':this[_0x4ff7b4(0x147)]});}[_0x24b012(0xcc)](_0x21dde0,_0x5afe5f){const _0x148d3e=_0x24b012;let _0x2e2bca=this[_0x148d3e(0x143)]();return this[_0x148d3e(0x149)](_0x2e2bca,(0x0,e[_0x148d3e(0x116)])(_0x2e2bca,this[_0x148d3e(0xfd)],_0x21dde0,_0x5afe5f));}[_0x24b012(0x161)](_0x31ea77){const _0x5e515b=_0x24b012;let _0x558863=this[_0x5e515b(0x143)]();return this[_0x5e515b(0x149)](_0x558863,(0x0,e[_0x5e515b(0xdb)])(_0x558863,this[_0x5e515b(0xfd)],_0x31ea77,this['_getBodyPath']()));}[_0x24b012(0x10b)](_0x38650f,_0x2c037c,_0x381fcd=e[_0x24b012(0x13f)][_0x24b012(0x120)]){return this['moveRows'](_0x38650f,0x1,_0x2c037c,_0x381fcd);}[_0x24b012(0xf1)](_0x1ee9e2,_0x24f34b,_0x27fd8a,_0x4d992e=e['DocsTableInsertPosition'][_0x24b012(0x120)]){const _0x503743=_0x24b012;let _0x5e7563=this['_getDocumentData'](),_0x5f376b=(0x0,e[_0x503743(0x194)])(_0x5e7563,this[_0x503743(0xfd)],_0x1ee9e2,_0x27fd8a,_0x24f34b,_0x4d992e,this['_getBodyPath']());return _0x5f376b?this[_0x503743(0x149)](_0x5e7563,_0x5f376b[_0x503743(0x165)]):!0x1;}[_0x24b012(0x12e)](_0x45a441,_0x3927fc,_0xa410d9=e[_0x24b012(0x13f)]['Left']){const _0x3bfcdf=_0x24b012;return this[_0x3bfcdf(0xba)](_0x45a441,0x1,_0x3927fc,_0xa410d9);}[_0x24b012(0xba)](_0x19efbc,_0x4552de,_0x51df57,_0x1243f7=e[_0x24b012(0x13f)][_0x24b012(0xb5)]){const _0x3c6bf5=_0x24b012;let _0x130ed4=this[_0x3c6bf5(0x143)](),_0x4c9d22=(0x0,e[_0x3c6bf5(0x126)])(_0x130ed4,this[_0x3c6bf5(0xfd)],_0x19efbc,_0x51df57,_0x4552de,_0x1243f7,this[_0x3c6bf5(0xca)]());return _0x4c9d22?this[_0x3c6bf5(0x149)](_0x130ed4,_0x4c9d22[_0x3c6bf5(0x165)]):!0x1;}[_0x24b012(0x100)](_0x4cc3ff){const _0x589c0f=_0x24b012;try{let _0x3a8027=this[_0x589c0f(0x143)](),_0x2b001b=(0x0,e[_0x589c0f(0x132)])({'documentData':_0x3a8027,'tableId':this['_tableId'],..._0x4cc3ff});return _0x2b001b?this[_0x589c0f(0x149)](_0x3a8027,_0x2b001b['actions'],_0x4cc3ff):!0x1;}catch{return!0x1;}}[_0x24b012(0x129)](_0x42b6f1){const _0x28398a=_0x24b012;try{let _0x2b6bd9=this['_getDocumentData'](),_0xd2802a=(0x0,e['buildUnmergeCellsMutationActions'])({'documentData':_0x2b6bd9,'tableId':this[_0x28398a(0xfd)],..._0x42b6f1});return _0xd2802a?this[_0x28398a(0x149)](_0x2b6bd9,_0xd2802a[_0x28398a(0x165)],_0x42b6f1):!0x1;}catch{return!0x1;}}[_0x24b012(0x118)](_0x42a014,_0x3b059f,_0x3ea075){const _0x12a17f=_0x24b012;let _0x3f7589=this[_0x12a17f(0x143)](),_0x51fb4f=(0x0,e[_0x12a17f(0xd7)])(this[_0x12a17f(0x15f)]['getDocumentDataModel']()[_0x12a17f(0x10d)](),this[_0x12a17f(0x18c)]);return this[_0x12a17f(0x149)](_0x3f7589,(0x0,e[_0x12a17f(0x182)])({'documentData':_0x3f7589,'tableId':this[_0x12a17f(0xfd)],'row':_0x42a014,'column':_0x3b059f,'text':_0x3ea075},_0x51fb4f),this[_0x12a17f(0xec)](_0x42a014,_0x3b059f));}[_0x24b012(0x133)](_0x2d1124,_0x2bbb4a){const _0x5a700a=_0x24b012;let _0x2b3e3b=this[_0x5a700a(0x143)]();return this[_0x5a700a(0x149)](_0x2b3e3b,(0x0,e['buildSetTableBackgroundMutationActions'])(_0x2b3e3b,{'tableId':this[_0x5a700a(0xfd)],..._0x2d1124,'value':_0x2bbb4a}),_0x2d1124);}[_0x24b012(0x185)](_0xf5f371,_0x1684f3){const _0x3ca2f7=_0x24b012;let _0x5e6319=this[_0x3ca2f7(0x143)]();return this[_0x3ca2f7(0x149)](_0x5e6319,(0x0,e['buildSetTableCellMarginMutationActions'])({'documentData':_0x5e6319,'tableId':this[_0x3ca2f7(0xfd)],..._0xf5f371,'margin':_0x1684f3}),_0xf5f371);}[_0x24b012(0x155)](_0x4fec3d){const _0x52b02b=_0x24b012;let _0x569002=this[_0x52b02b(0x143)]();return this[_0x52b02b(0x149)](_0x569002,(0x0,e[_0x52b02b(0xf5)])(_0x569002,this[_0x52b02b(0xfd)],_0x4fec3d));}[_0x24b012(0x127)](_0x546310,_0x130bb1){const _0x1113c2=_0x24b012;let _0x3bb8ad=this[_0x1113c2(0x143)]();return this['_mutateActions'](_0x3bb8ad,this['_buildBorderActions'](_0x3bb8ad,_0x546310,_0x130bb1),_0x546310);}[_0x24b012(0x153)](_0x316130){const _0x30cf86=_0x24b012;return this[_0x30cf86(0x133)](this[_0x30cf86(0x14b)](),_0x316130);}['setTableBorder'](_0x21a036){const _0x3322cb=_0x24b012;return this[_0x3322cb(0x127)](this[_0x3322cb(0x14b)](),_0x21a036);}[_0x24b012(0x134)](_0x21150d){const _0x2a3090=_0x24b012;let _0x27a7a6=this[_0x2a3090(0x143)](),_0x4edaa0=this[_0x2a3090(0x14b)](),_0x277889=_0x21150d[_0x2a3090(0x189)]?(0x0,e[_0x2a3090(0x137)])(_0x27a7a6,{'tableId':this[_0x2a3090(0xfd)],..._0x4edaa0,'value':_0x21150d[_0x2a3090(0x189)]}):null,_0x139411=_0x21150d[_0x2a3090(0xe3)]?this['_buildBorderActions'](_0x27a7a6,_0x4edaa0,_0x21150d[_0x2a3090(0xe3)]):null;return this[_0x2a3090(0x149)](_0x27a7a6,t[_0x2a3090(0xc7)][_0x2a3090(0x15b)](_0x277889,_0x139411),_0x4edaa0);}['setRowHeight'](_0x3e259b,_0x4df126,_0x2d16c1=t['TableRowHeightRule'][_0x24b012(0x174)]){const _0x7cf6d0=_0x24b012;var _0x117069;let _0x5b9b6c=this[_0x7cf6d0(0x143)]();return(_0x117069=_0x5b9b6c[_0x7cf6d0(0x109)])!=null&&(_0x117069=_0x117069[this['_tableId']])!=null&&_0x117069[_0x7cf6d0(0x11c)][_0x3e259b]?this[_0x7cf6d0(0x149)](_0x5b9b6c,(0x0,e['buildResizeTableRowActionsFromHeight'])(_0x5b9b6c,this[_0x7cf6d0(0xfd)],_0x3e259b,_0x4df126,_0x2d16c1)):!0x1;}['getRowHeight'](_0x5d01ea){const _0x59e663=_0x24b012;var _0x3ae66b;let _0x352b15=(_0x3ae66b=this[_0x59e663(0xd9)]())==null||(_0x3ae66b=_0x3ae66b['tableRows'][_0x5d01ea])==null?void 0x0:_0x3ae66b[_0x59e663(0xdc)];return _0x352b15?t['Tools'][_0x59e663(0x151)](_0x352b15):null;}[_0x24b012(0x12b)](_0x22699c,_0x207e8d){const _0x20223d=_0x24b012;var _0x30ead4;let _0x36e3fa=this[_0x20223d(0x143)]();return(_0x30ead4=_0x36e3fa['tableSource'])!=null&&(_0x30ead4=_0x30ead4[this['_tableId']])!=null&&_0x30ead4[_0x20223d(0x183)][_0x22699c]?this['_mutateActions'](_0x36e3fa,(0x0,e[_0x20223d(0x17d)])(_0x36e3fa,this[_0x20223d(0xfd)],_0x22699c,_0x207e8d)):!0x1;}[_0x24b012(0xd1)](_0x5f559f=0x0,_0x11a5af=this['getRowCount']()){const _0x5b847c=_0x24b012;let _0x265e03=this[_0x5b847c(0x143)]();return this[_0x5b847c(0x149)](_0x265e03,(0x0,e['buildDistributeTableRowsMutationActions'])(_0x265e03,this['_tableId'],_0x5f559f,_0x5f559f+_0x11a5af-0x1));}[_0x24b012(0x180)](_0x5d2a4e=0x0,_0x307bfc=this['getColumnCount']()){const _0x23bb0a=_0x24b012;let _0xce6574=this['_getDocumentData']();return this['_mutateActions'](_0xce6574,(0x0,e[_0x23bb0a(0xf3)])(_0xce6574,this[_0x23bb0a(0xfd)],_0x5d2a4e,_0x5d2a4e+_0x307bfc-0x1));}[_0x24b012(0x13e)](){const _0xe03413=_0x24b012;var _0x50a286;return((_0x50a286=this[_0xe03413(0xd2)]())==null?void 0x0:_0x50a286[_0xe03413(0x11e)])??0x0;}[_0x24b012(0xd5)](_0x1dfe28){const _0x5cf670=_0x24b012;let _0x1e779c=this[_0x5cf670(0x143)](),_0x1548a3=(0x0,e['buildSetTableHeaderRowCountMutationActions'])(_0x1e779c,this[_0x5cf670(0xfd)],_0x1dfe28);return _0x1548a3?this[_0x5cf670(0x149)](_0x1e779c,_0x1548a3[_0x5cf670(0x165)]):!0x1;}[_0x24b012(0x16a)](_0x448a1e){const _0x458e41=_0x24b012;return this[_0x458e41(0xd5)](_0x448a1e);}[_0x24b012(0x18d)](){const _0x344323=_0x24b012;var _0x43657c;return((_0x43657c=this[_0x344323(0xd2)]())==null?void 0x0:_0x43657c['titleRow'])??!0x1;}[_0x24b012(0x14d)](){const _0x49c1f9=_0x24b012;let _0x34fead=this[_0x49c1f9(0x143)](),_0x31e8a9=(0x0,e[_0x49c1f9(0x123)])(_0x34fead,this[_0x49c1f9(0xfd)],this[_0x49c1f9(0xca)]());return _0x31e8a9?this[_0x49c1f9(0x149)](_0x34fead,_0x31e8a9[_0x49c1f9(0x165)]):!0x1;}[_0x24b012(0x114)](_0x181e26,_0x412030){const _0x3f239f=_0x24b012;return!!this[_0x3f239f(0x112)][_0x3f239f(0x18e)](e[_0x3f239f(0xfa)]['id'],{'unitId':this['_unitId'],'tableId':this[_0x3f239f(0xfd)],'segmentId':this[_0x3f239f(0x18c)],'column':_0x181e26,'config':_0x412030});}['sortByColumn'](_0xf37e8d,_0x28ad53){const _0xce1499=_0x24b012;let _0x1fe9d0=this[_0xce1499(0x143)]();return this[_0xce1499(0x149)](_0x1fe9d0,(0x0,e[_0xce1499(0x172)])(_0x1fe9d0,this[_0xce1499(0x121)](),this[_0xce1499(0xfd)],_0xf37e8d,_0x28ad53,this[_0xce1499(0xca)]()));}['_buildBorderActions'](_0x492aa6,_0x331758,_0x917c41){const _0x4b9748=_0x24b012;return(0x0,e[_0x4b9748(0x166)])({'documentData':_0x492aa6,'tableId':this[_0x4b9748(0xfd)],..._0x331758,'preset':_0x917c41['preset']??e[_0x4b9748(0x196)][_0x4b9748(0xf4)],'border':_0x917c41[_0x4b9748(0xe3)]??{'color':{'rgb':_0x917c41['color']??this['_injector']['get'](t[_0x4b9748(0xf7)])[_0x4b9748(0x131)](_0x4b9748(0xd6))},'width':{'v':_0x917c41[_0x4b9748(0xe1)]??0x1},'dashStyle':t[_0x4b9748(0x176)][_0x4b9748(0x163)]}});}['_getDocumentData'](){const _0xdb7a3=_0x24b012;let _0x5f206f=this[_0xdb7a3(0x15f)][_0xdb7a3(0x144)]()[_0xdb7a3(0x10d)]();return this[_0xdb7a3(0x18c)]?{...this[_0xdb7a3(0x15f)][_0xdb7a3(0x144)](this[_0xdb7a3(0x18c)])[_0xdb7a3(0x10d)](),'documentStyle':_0x5f206f[_0xdb7a3(0xf0)],'tableSource':_0x5f206f[_0xdb7a3(0x109)]}:_0x5f206f;}[_0x24b012(0x121)](){const _0x75df18=_0x24b012;return this[_0x75df18(0x11b)][_0x75df18(0x199)](e['DocsTableModel'])['serializeDocument'](this[_0x75df18(0x147)],this[_0x75df18(0x15f)]['getDocumentDataModel']()[_0x75df18(0x10d)]());}[_0x24b012(0xca)](){const _0x5f2ca8=_0x24b012;return(0x0,e[_0x5f2ca8(0xd7)])(this[_0x5f2ca8(0x15f)][_0x5f2ca8(0x144)]()[_0x5f2ca8(0x10d)](),this['_segmentId']);}[_0x24b012(0x149)](_0x93370e,_0x93f7e7,_0x11171c){const _0x55ddc1=_0x24b012;return(0x0,e[_0x55ddc1(0xc3)])(this[_0x55ddc1(0x112)],this[_0x55ddc1(0x147)],_0x93370e,_0x93f7e7,_0x11171c?{'tableId':this[_0x55ddc1(0xfd)],'segmentId':this[_0x55ddc1(0x18c)],..._0x11171c}:void 0x0);}};f=d([u(0x3,t['ICommandService']),u(0x4,(0x0,t[_0x24b012(0xdf)])(t['Injector']))],f);function _0x1483(_0x2e45fa,_0x8154a2){_0x2e45fa=_0x2e45fa-0xb5;const _0x46d74a=_0x46d7();let _0x1483ee=_0x46d74a[_0x2e45fa];return _0x1483ee;}var p=class extends r[_0x24b012(0xeb)]{[_0x24b012(0x193)](_0x1c60fd=''){const _0x5e9fc4=_0x24b012;return this[_0x5e9fc4(0x12c)](_0x1c60fd)[_0x5e9fc4(0x192)](_0x90d79a=>this['_createFDocumentTable'](_0x90d79a[_0x5e9fc4(0x110)],_0x1c60fd));}[_0x24b012(0x124)](_0x5c8f17,_0x941b62=''){const _0x215f8e=_0x24b012;return this[_0x215f8e(0x12c)](_0x941b62)[_0x215f8e(0x186)](_0x1f16bd=>_0x1f16bd['tableId']===_0x5c8f17)?this[_0x215f8e(0xfb)](_0x5c8f17,_0x941b62):null;}[_0x24b012(0x106)](_0x1e71af,_0x41b57a=''){const _0x312df5=_0x24b012;var _0x522a25;let _0x46786d=(_0x522a25=this['_getTables'](_0x41b57a)[_0x1e71af])==null?void 0x0:_0x522a25[_0x312df5(0x110)];return _0x46786d?this['_createFDocumentTable'](_0x46786d,_0x41b57a):null;}['getTableAtSelection'](){const _0x24b4ad=_0x24b012;let _0x58261b=this['_injector']['get'](e['DocsTableSelectionService'])[_0x24b4ad(0xc1)]();return _0x58261b!=null&&_0x58261b[_0x24b4ad(0x110)]?this[_0x24b4ad(0xfb)](_0x58261b['tableId'],_0x58261b[_0x24b4ad(0xee)]):null;}[_0x24b012(0x13a)](_0xd9c2ad,_0x2c64fd=''){const _0x2b774c=_0x24b012;return this[_0x2b774c(0x17f)](_0xd9c2ad,_0x2c64fd)[0x0]??null;}[_0x24b012(0x17f)](_0x6ee0d9,_0xeef241=''){const _0xead50b=_0x24b012;let _0x27b71e=this[_0xead50b(0xd8)](_0xeef241),_0x331432=typeof _0x6ee0d9==_0xead50b(0x195)?{'text':_0x6ee0d9}:_0x6ee0d9;return this['getTables'](_0xeef241)[_0xead50b(0x167)](_0x40befd=>{const _0x4cc952=_0xead50b;let _0x5795d7=_0x40befd[_0x4cc952(0xc5)]();return!(_0x331432[_0x4cc952(0x110)]&&_0x5795d7!==_0x331432[_0x4cc952(0x110)]||_0x331432[_0x4cc952(0x10c)]&&!this[_0x4cc952(0xe7)](_0x27b71e,_0x5795d7,_0x331432[_0x4cc952(0x10c)])||_0x331432[_0x4cc952(0xbf)]&&!this[_0x4cc952(0x12a)](_0x40befd,0x0,_0x331432[_0x4cc952(0xbf)])||_0x331432[_0x4cc952(0xf6)]&&!this[_0x4cc952(0x12a)](_0x40befd,0x0,_0x331432[_0x4cc952(0xf6)]));});}[_0x24b012(0x181)](_0xa436d2,_0x400c0e,_0x37c250={}){const _0x21f595=_0x24b012;let _0x33277f=this[_0x21f595(0x11b)][_0x21f595(0x199)](t['ICommandService']),_0x2e8ccb=_0x37c250[_0x21f595(0x110)]??(0x0,t[_0x21f595(0xcb)])(0x6);return _0x33277f[_0x21f595(0x18e)](e[_0x21f595(0x18b)]['id'],{..._0x37c250,'unitId':this[_0x21f595(0xc5)](),'rows':_0xa436d2,'columns':_0x400c0e,'tableId':_0x2e8ccb})?this[_0x21f595(0xfb)](_0x2e8ccb,_0x37c250['segmentId']??''):null;}[_0x24b012(0xda)](_0x1f79be,_0x15f81e={}){const _0x4fe746=_0x24b012;let _0x5ae12a=this[_0x4fe746(0x11b)][_0x4fe746(0x199)](t['ICommandService']),_0x363757=_0x15f81e[_0x4fe746(0x110)]??(0x0,t[_0x4fe746(0xcb)])(0x6);return _0x5ae12a[_0x4fe746(0x18e)](e[_0x4fe746(0x18b)]['id'],{..._0x15f81e,'unitId':this['getId'](),'values':_0x1f79be,'tableId':_0x363757})?this['_createFDocumentTable'](_0x363757,_0x15f81e[_0x4fe746(0xee)]??''):null;}[_0x24b012(0x12c)](_0x5a0de0=''){const _0x198911=_0x24b012;let {tables:_0x557068=[]}=this[_0x198911(0xd4)](_0x5a0de0);return _0x557068;}[_0x24b012(0xd8)](_0x3174aa=''){const _0x1d668a=_0x24b012;let _0x8658cb=this[_0x1d668a(0x144)]()[_0x1d668a(0x10d)]();return _0x3174aa?{...this[_0x1d668a(0x144)](_0x3174aa)['getSnapshot'](),'documentStyle':_0x8658cb[_0x1d668a(0xf0)],'tableSource':_0x8658cb['tableSource']}:_0x8658cb;}[_0x24b012(0xfb)](_0x34f8ae,_0x277730=''){const _0x249fcc=_0x24b012;return this['_injector'][_0x249fcc(0x18a)](f,this,_0x34f8ae,_0x277730);}[_0x24b012(0xe7)](_0x230bbf,_0x2d8f76,_0x4c9af6){const _0x4bae5a=_0x24b012;var _0x2c6032;let _0xb4984d=(0x0,e['getTableRangeById'])(_0x230bbf,_0x2d8f76);if(!_0xb4984d)return!0x1;let _0x1c6704=(_0x2c6032=_0x230bbf[_0x4bae5a(0x13d)])==null?void 0x0:_0x2c6032['dataStream'];return _0x1c6704?_0x1c6704[_0x4bae5a(0xb9)](_0xb4984d['startOffset'],_0xb4984d['endOffset'])[_0x4bae5a(0x15c)](_0x4c9af6):!0x1;}[_0x24b012(0x12a)](_0x46d1a3,_0x19ea07,_0x30291e){const _0x244910=_0x24b012;return Array[_0x244910(0x119)]({'length':_0x46d1a3[_0x244910(0xf8)]()},(_0x3ab53b,_0x38b94a)=>_0x46d1a3[_0x244910(0x122)](_0x19ea07,_0x38b94a))['some'](_0x438f9f=>_0x438f9f[_0x244910(0x15c)](_0x30291e));}};r[_0x24b012(0xeb)][_0x24b012(0xc9)](p),Object[_0x24b012(0x11f)](exports,_0x24b012(0x154),{'enumerable':!0x0,'get':function(){return f;}}),exports['FDocumentTableCell']=a;
|
|
1
|
+
const _0x29001b=_0x58d4;(function(_0x2af533,_0x4010a6){const _0x1e61ba=_0x58d4,_0x57ca5e=_0x2af533();while(!![]){try{const _0x28ba78=parseInt(_0x1e61ba(0x1ba))/0x1+-parseInt(_0x1e61ba(0x16d))/0x2*(-parseInt(_0x1e61ba(0x1c9))/0x3)+-parseInt(_0x1e61ba(0x1a1))/0x4+-parseInt(_0x1e61ba(0x1ce))/0x5*(-parseInt(_0x1e61ba(0x213))/0x6)+parseInt(_0x1e61ba(0x18c))/0x7+parseInt(_0x1e61ba(0x194))/0x8+-parseInt(_0x1e61ba(0x21e))/0x9;if(_0x28ba78===_0x4010a6)break;else _0x57ca5e['push'](_0x57ca5e['shift']());}catch(_0x1a0df5){_0x57ca5e['push'](_0x57ca5e['shift']());}}}(_0x3d34,0x2d33c),Object[_0x29001b(0x200)](exports,Symbol[_0x29001b(0x22a)],{'value':_0x29001b(0x173)}));function _0x3d34(){const _0x18222f=['compose','buildMoveTableToOffsetMutationActions','type','Inject','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','JSONX','body','DocsTableDeleteRowsCommand','AT_LEAST','buildMoveFloatingTableMutationActions','margin','findTables','cellMargin','moveTableToOffset','tableCells','constructor','tableSource','DocsTableDeleteTableCommand','getHeaderRowCount','1499379WeNfTO','setColumnWidth','moveColumn','rows','moveColumns','selectCell','Left','tableColumns','448800xuNSxF','distributeRows','_createFDocumentTable','string','DocsTableSelectionService','deleteRow','backgroundColor','getColumnCount','setStructuralSelection','buildSetTableHeaderRowCountMutationActions','getCellRange','SOLID','_serializeModel','282784ogyHZx','Tools','headerText','DashStyleType','Above','All','Below','color','function','buildMergeCellsMutationActions','getCell','getSource','getRowHeight','getCellInsertOffset','getInfo','insertRowsAfter','_row','distributeColumns','insertColumnsAfter','getMetadata','buildSetTableCellMarginMutationActions','getTableRange','TableRowHeightRule','buildSetTableCellTextMutationActions','DocsTableInsertTablePosition','223243GPrqQb','toPrimitive','symbol','getTableRangeById','getId','Row','selectRange','getText','ThemeService','mergeCells','_unitId','getCellContentRange','buildSetTableDefaultCellMarginMutationActions','getTableAtSelection','DocsTableRowInsertPosition','26661pLaFTA','selectColumns','insertRowsBefore','unmergeCells','getSnapshot','710UTUawp','insertTableFromData','buildDistributeTableColumnsMutationActions','getTables','getRowsRange','setCellBackground','_injector','columnTypes','border','FDocumentTable','getMarginOverride','setRowHeight','titleText','max','ICommandService','FEnum','DocsTableSelectionKind','_mutateActions','includes','get','clearMarginOverride','getTable','moveRows','width','buildResizeTableRowActionsFromHeight','getDefaultCellMargin','_buildBorderActions','getCellMarginOverride','endOffset','_column','moveTableBy','insertTable','FDocument','segmentId','getCellText','_getBodyPath','Right','deleteRows','buildSetTableBorderMutationActions','appendColumn','insertColumnAfter','DocsTableColumnType','decorate','describe','titleRow','getColumnsRange','dataStream','extend','preset','buildInsertTableRowsMutationActions','defineProperty','setDefaultCellMargin','documentStyle','selectRows','setTableStyle','setMargin','iterator','_commandService','unmerge','DocsTableModel','DocsTableBorderPreset','insertRowBefore','_getTables','mergeTo','buildDistributeTableRowsMutationActions','_getDocumentData','DocsTableInsertPosition','buildMoveTableColumnsMutationActions','some','9606dgtzew','getMargin','Column','getDocumentDataModel','DocsTableInsertTableCommand','syncExecuteCommand','insertRowAfter','findTableByText','prototype','_segmentId','FDocumentTableCell','4585257mnOCBM','setBorder','getTableActionBodyPath','size','insertColumnsBefore','deleteColumn','getSegmentId','setColumnType','deepClone','_table','map','default','toStringTag','DEFAULT_DOCS_TABLE_CELL_MARGIN','DocsTableColumnInsertPosition','buildUnmergeCellsMutationActions','getRowCount','length','Cell','deleteTable','getContentRange','buildInsertTableTitleRowMutationActions','buildMoveTableRowsMutationActions','object','DocsTableSetColumnTypeCommand','getStableTableSelection','startOffset','_document','actions','setText','getOwnPropertyDescriptor','text','selectTable','tableRows','_rowContainsText','executeRichTextTableActions','buildInsertTableColumnsMutationActions','from','selectColumn','buildSortTableMutationActions','getCellMargin','_tableId','_getTableDocumentData','10ipabHI','deleteColumns','cells','setHeaderRowCount','setCellMargin','buildSetTableBackgroundMutationActions','Module','replace','getRange','slice','_tableContainsText','tableId'];_0x3d34=function(){return _0x18222f;};return _0x3d34();}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[_0x29001b(0x1dd)]{get[_0x29001b(0x1b9)](){const _0x18b8b4=_0x29001b;return e[_0x18b8b4(0x1b9)];}get[_0x29001b(0x1f7)](){const _0x411c93=_0x29001b;return e[_0x411c93(0x1f7)];}get[_0x29001b(0x1de)](){return e['DocsTableSelectionKind'];}get[_0x29001b(0x1c8)](){const _0x49f7d4=_0x29001b;return e[_0x49f7d4(0x1c8)];}get['DocsTableColumnInsertPosition'](){const _0x1b13d5=_0x29001b;return e[_0x1b13d5(0x22c)];}get[_0x29001b(0x20a)](){const _0x4409f6=_0x29001b;return e[_0x4409f6(0x20a)];}get['DocsTableSortDirection'](){return e['DocsTableSortDirection'];}get['DashStyleType'](){const _0x474e63=_0x29001b;return t[_0x474e63(0x1a4)];}};n[_0x29001b(0x1dd)][_0x29001b(0x1fd)](i);var a=class{constructor(_0x9ad059,_0x4524f5,_0x4a0d02){const _0x43e74c=_0x29001b;this[_0x43e74c(0x227)]=_0x9ad059,this[_0x43e74c(0x1b1)]=_0x4524f5,this[_0x43e74c(0x1eb)]=_0x4a0d02;}[_0x29001b(0x1e3)](){const _0x455e37=_0x29001b;return this[_0x455e37(0x227)];}['getRowIndex'](){const _0x3f39c9=_0x29001b;return this[_0x3f39c9(0x1b1)];}['getColumnIndex'](){const _0x1ea531=_0x29001b;return this[_0x1ea531(0x1eb)];}[_0x29001b(0x1c1)](){const _0x4ee541=_0x29001b;return this[_0x4ee541(0x227)]['getCellText'](this[_0x4ee541(0x1b1)],this[_0x4ee541(0x1eb)]);}[_0x29001b(0x232)](){const _0x20a07f=_0x29001b;return this[_0x20a07f(0x227)][_0x20a07f(0x1c5)](this['_row'],this['_column']);}['getInsertOffset'](){const _0x225fd8=_0x29001b;return this[_0x225fd8(0x227)][_0x225fd8(0x1ae)](this[_0x225fd8(0x1b1)],this[_0x225fd8(0x1eb)]);}[_0x29001b(0x214)](){const _0xfc53f1=_0x29001b;return this[_0xfc53f1(0x227)]['getCellMargin'](this[_0xfc53f1(0x1b1)],this['_column']);}[_0x29001b(0x1d8)](){const _0x1bae5f=_0x29001b;return this[_0x1bae5f(0x227)][_0x1bae5f(0x1e9)](this[_0x1bae5f(0x1b1)],this[_0x1bae5f(0x1eb)]);}[_0x29001b(0x205)](_0x4da29e){const _0x34971a=_0x29001b;return this[_0x34971a(0x227)][_0x34971a(0x171)](this[_0x34971a(0x227)][_0x34971a(0x19e)](this[_0x34971a(0x1b1)],this[_0x34971a(0x1eb)]),_0x4da29e);}[_0x29001b(0x1e2)](){const _0x3e5ab8=_0x29001b;return this['_table'][_0x3e5ab8(0x171)](this[_0x3e5ab8(0x227)]['getCellRange'](this[_0x3e5ab8(0x1b1)],this[_0x3e5ab8(0x1eb)]),null);}[_0x29001b(0x23b)](_0x7cccbc){const _0x1229c7=_0x29001b;return this[_0x1229c7(0x227)]['setCellText'](this[_0x1229c7(0x1b1)],this[_0x1229c7(0x1eb)],_0x7cccbc);}['setBackgroundColor'](_0x5e9a0c){const _0x11025c=_0x29001b;return this[_0x11025c(0x227)]['setCellBackground'](this[_0x11025c(0x227)]['getCellRange'](this['_row'],this[_0x11025c(0x1eb)]),_0x5e9a0c);}[_0x29001b(0x21f)](_0x224fa0){const _0x1a9690=_0x29001b;return this[_0x1a9690(0x227)]['setBorder'](this[_0x1a9690(0x227)][_0x1a9690(0x19e)](this[_0x1a9690(0x1b1)],this[_0x1a9690(0x1eb)]),_0x224fa0);}[_0x29001b(0x20d)](_0x16cd4a,_0x10ed2a){const _0x42d0fb=_0x29001b;return this[_0x42d0fb(0x227)]['mergeCells']({'startRow':this[_0x42d0fb(0x1b1)],'startColumn':this['_column'],'endRow':this[_0x42d0fb(0x1b1)]+_0x16cd4a-0x1,'endColumn':this[_0x42d0fb(0x1eb)]+_0x10ed2a-0x1});}[_0x29001b(0x208)](){const _0x4aeb0f=_0x29001b;return this[_0x4aeb0f(0x227)][_0x4aeb0f(0x1cc)](this[_0x4aeb0f(0x227)][_0x4aeb0f(0x19e)](this[_0x4aeb0f(0x1b1)],this[_0x4aeb0f(0x1eb)]));}};function o(_0x41dc46){'@babel/helpers - typeof';const _0x1ff24f=_0x29001b;return o=typeof Symbol=='function'&&typeof Symbol[_0x1ff24f(0x206)]==_0x1ff24f(0x1bc)?function(_0x21ac46){return typeof _0x21ac46;}:function(_0xcd8147){const _0x4526e3=_0x1ff24f;return _0xcd8147&&typeof Symbol==_0x4526e3(0x1a9)&&_0xcd8147[_0x4526e3(0x188)]===Symbol&&_0xcd8147!==Symbol[_0x4526e3(0x21b)]?'symbol':typeof _0xcd8147;},o(_0x41dc46);}function _0x58d4(_0x36ac56,_0x319c4b){_0x36ac56=_0x36ac56-0x164;const _0x3d3419=_0x3d34();let _0x58d407=_0x3d3419[_0x36ac56];return _0x58d407;}function s(_0x1f986a,_0x713c2f){const _0x281a28=_0x29001b;if(o(_0x1f986a)!=_0x281a28(0x235)||!_0x1f986a)return _0x1f986a;var _0x394e16=_0x1f986a[Symbol[_0x281a28(0x1bb)]];if(_0x394e16!==void 0x0){var _0x36f6ab=_0x394e16['call'](_0x1f986a,_0x713c2f||_0x281a28(0x229));if(o(_0x36f6ab)!=_0x281a28(0x235))return _0x36f6ab;throw TypeError(_0x281a28(0x17d));}return(_0x713c2f===_0x281a28(0x197)?String:Number)(_0x1f986a);}function c(_0x295172){const _0x4e3129=_0x29001b;var _0x37cedd=s(_0x295172,_0x4e3129(0x197));return o(_0x37cedd)==_0x4e3129(0x1bc)?_0x37cedd:_0x37cedd+'';}function l(_0x2462a9,_0x3e001a,_0x15e73f){return(_0x3e001a=c(_0x3e001a))in _0x2462a9?Object['defineProperty'](_0x2462a9,_0x3e001a,{'value':_0x15e73f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2462a9[_0x3e001a]=_0x15e73f,_0x2462a9;}function u(_0x47e732,_0x4d6550){return function(_0x453b3e,_0x30ea15){_0x4d6550(_0x453b3e,_0x30ea15,_0x47e732);};}function d(_0x12b7f7,_0x204274,_0x3c0bdd,_0x3d0a95){const _0xfe1412=_0x29001b;var _0xe9f263=arguments[_0xfe1412(0x22f)],_0x3a2689=_0xe9f263<0x3?_0x204274:_0x3d0a95===null?_0x3d0a95=Object[_0xfe1412(0x23c)](_0x204274,_0x3c0bdd):_0x3d0a95,_0x3b4aeb;if(typeof Reflect==_0xfe1412(0x235)&&typeof Reflect[_0xfe1412(0x1f8)]==_0xfe1412(0x1a9))_0x3a2689=Reflect[_0xfe1412(0x1f8)](_0x12b7f7,_0x204274,_0x3c0bdd,_0x3d0a95);else{for(var _0x5a3db7=_0x12b7f7[_0xfe1412(0x22f)]-0x1;_0x5a3db7>=0x0;_0x5a3db7--)(_0x3b4aeb=_0x12b7f7[_0x5a3db7])&&(_0x3a2689=(_0xe9f263<0x3?_0x3b4aeb(_0x3a2689):_0xe9f263>0x3?_0x3b4aeb(_0x204274,_0x3c0bdd,_0x3a2689):_0x3b4aeb(_0x204274,_0x3c0bdd))||_0x3a2689);}return _0xe9f263>0x3&&_0x3a2689&&Object[_0xfe1412(0x200)](_0x204274,_0x3c0bdd,_0x3a2689),_0x3a2689;}let f=class{constructor(_0x5d40bf,_0x156112,_0x300f56,_0x13c149,_0x213c23){const _0x14d157=_0x29001b;this['_document']=_0x5d40bf,this[_0x14d157(0x16b)]=_0x156112,this[_0x14d157(0x21c)]=_0x300f56,this[_0x14d157(0x207)]=_0x13c149,this['_injector']=_0x213c23,l(this,_0x14d157(0x1c4),void 0x0),this['_unitId']=this[_0x14d157(0x239)]['getId']();}['getId'](){const _0xa3a081=_0x29001b;return this[_0xa3a081(0x16b)];}[_0x29001b(0x224)](){const _0x25ab5c=_0x29001b;return this[_0x25ab5c(0x21c)];}[_0x29001b(0x1af)](){const _0x17aeeb=_0x29001b;return{'id':this[_0x17aeeb(0x16b)],'rowCount':this[_0x17aeeb(0x22e)](),'columnCount':this[_0x17aeeb(0x19b)](),'metadata':this['getMetadata'](),'source':this[_0x17aeeb(0x1ac)]()};}[_0x29001b(0x1f9)](){const _0x2b7539=_0x29001b;let _0x41d153=this[_0x2b7539(0x1b4)](),_0x1b8df6=this['getSource'](),_0x1ee908=this['getColumnCount']();return{'id':this['_tableId'],'rowCount':this[_0x2b7539(0x22e)](),'columnCount':_0x1ee908,'headerRowCount':(_0x41d153==null?void 0x0:_0x41d153['headerRowCount'])??0x0,'titleRow':(_0x41d153==null?void 0x0:_0x41d153[_0x2b7539(0x1fa)])??!0x1,'columns':Array[_0x2b7539(0x167)]({'length':_0x1ee908},(_0x4f7cff,_0x556800)=>{const _0x2bc76e=_0x2b7539;var _0x194246,_0x3bf431;return{'index':_0x556800,'type':_0x41d153==null||(_0x194246=_0x41d153[_0x2bc76e(0x1d5)])==null||(_0x194246=_0x194246[_0x556800])==null?void 0x0:_0x194246[_0x2bc76e(0x17b)],'width':_0x1b8df6==null||(_0x3bf431=_0x1b8df6[_0x2bc76e(0x193)][_0x556800])==null?void 0x0:_0x3bf431[_0x2bc76e(0x221)][_0x2bc76e(0x1e5)]['v']};}),'sampleRows':Array[_0x2b7539(0x167)]({'length':this[_0x2b7539(0x22e)]()},(_0x54978e,_0x1736eb)=>Array[_0x2b7539(0x167)]({'length':_0x1ee908},(_0x2c42bd,_0x3b6107)=>this['getCellText'](_0x1736eb,_0x3b6107)))['filter'](_0x1d9a86=>_0x1d9a86[_0x2b7539(0x212)](_0x317874=>_0x317874['length']>0x0))[_0x2b7539(0x176)](0x0,0x5)};}[_0x29001b(0x22e)](){const _0x12bb4b=_0x29001b;var _0x59c733;return((_0x59c733=this['getSource']())==null?void 0x0:_0x59c733[_0x12bb4b(0x23f)][_0x12bb4b(0x22f)])??0x0;}[_0x29001b(0x19b)](){const _0x1e3aaf=_0x29001b;var _0x2ad720;return((_0x2ad720=this[_0x1e3aaf(0x1ac)]())==null?void 0x0:_0x2ad720[_0x1e3aaf(0x193)][_0x1e3aaf(0x22f)])??0x0;}[_0x29001b(0x1ab)](_0xd5806,_0x327836){const _0x5ebca5=_0x29001b;var _0xf9bb3b;return(_0xf9bb3b=this['getSource']())!=null&&(_0xf9bb3b=_0xf9bb3b[_0x5ebca5(0x23f)][_0xd5806])!=null&&_0xf9bb3b[_0x5ebca5(0x187)][_0x327836]?this[_0x5ebca5(0x1d4)]['createInstance'](a,this,_0xd5806,_0x327836):null;}[_0x29001b(0x1f0)](_0x39db5e,_0x5ced05){const _0x4c8bfc=_0x29001b;var _0x21b6e0,_0x1f371b;let _0x379751=(_0x21b6e0=(0x0,e['getTableRangeById'])(this[_0x4c8bfc(0x20f)](),this['_tableId']))==null||(_0x21b6e0=_0x21b6e0['rows'][_0x39db5e])==null?void 0x0:_0x21b6e0[_0x4c8bfc(0x16f)][_0x5ced05];return _0x379751?((_0x1f371b=this[_0x4c8bfc(0x20f)]()[_0x4c8bfc(0x17f)])==null?void 0x0:_0x1f371b[_0x4c8bfc(0x1fc)][_0x4c8bfc(0x176)](_0x379751['startOffset']+0x1,_0x379751[_0x4c8bfc(0x1ea)])[_0x4c8bfc(0x174)](/\r\n$/,''))??'':'';}[_0x29001b(0x16a)](_0x4469a8,_0x4d5eba){const _0x20befe=_0x29001b;var _0x78c1ef;let _0x3b1271=this[_0x20befe(0x1ac)](),_0x157855=_0x3b1271==null||(_0x78c1ef=_0x3b1271['tableRows'][_0x4469a8])==null?void 0x0:_0x78c1ef['tableCells'][_0x4d5eba];return _0x157855?t['Tools'][_0x20befe(0x226)](_0x157855[_0x20befe(0x183)]??_0x3b1271['cellMargin']??e[_0x20befe(0x22b)]):null;}['getCellMarginOverride'](_0x7d0a50,_0x5845f7){const _0x2b5da0=_0x29001b;var _0x4596e1;let _0x1f0b59=(_0x4596e1=this[_0x2b5da0(0x1ac)]())==null||(_0x4596e1=_0x4596e1[_0x2b5da0(0x23f)][_0x7d0a50])==null?void 0x0:_0x4596e1['tableCells'][_0x5845f7];return _0x1f0b59!=null&&_0x1f0b59[_0x2b5da0(0x183)]?t[_0x2b5da0(0x1a2)]['deepClone'](_0x1f0b59['margin']):null;}[_0x29001b(0x1e7)](){const _0x4ca0fd=_0x29001b;var _0x282227;return t[_0x4ca0fd(0x1a2)]['deepClone'](((_0x282227=this[_0x4ca0fd(0x1ac)]())==null?void 0x0:_0x282227[_0x4ca0fd(0x185)])??e['DEFAULT_DOCS_TABLE_CELL_MARGIN']);}['getDefaultCellMarginOverride'](){const _0x4a6327=_0x29001b;var _0x64817e;let _0x68cbd2=(_0x64817e=this[_0x4a6327(0x1ac)]())==null?void 0x0:_0x64817e[_0x4a6327(0x185)];return _0x68cbd2?t['Tools'][_0x4a6327(0x226)](_0x68cbd2):null;}[_0x29001b(0x1b4)](){const _0x2c6c93=_0x29001b;let _0x4e6a67=this[_0x2c6c93(0x1d4)][_0x2c6c93(0x1e1)](e[_0x2c6c93(0x209)]),_0x435087=this[_0x2c6c93(0x1ac)]();return _0x435087?_0x4e6a67['resolveTableMetadata'](this[_0x2c6c93(0x1c4)],_0x435087):void 0x0;}[_0x29001b(0x1ac)](){const _0x1f7de3=_0x29001b;var _0x1e012f;return(_0x1e012f=this[_0x1f7de3(0x20f)]()['tableSource'])==null?void 0x0:_0x1e012f[this['_tableId']];}[_0x29001b(0x175)](){const _0x244aa6=_0x29001b;return(0x0,e[_0x244aa6(0x1bd)])(this[_0x244aa6(0x20f)](),this[_0x244aa6(0x16b)]);}[_0x29001b(0x1b6)](){const _0x43a3f4=_0x29001b;return{'startRow':0x0,'endRow':Math[_0x43a3f4(0x1db)](0x0,this[_0x43a3f4(0x22e)]()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x43a3f4(0x19b)]()-0x1)};}[_0x29001b(0x19e)](_0x1210e0,_0x4da1e8){return{'startRow':_0x1210e0,'endRow':_0x1210e0,'startColumn':_0x4da1e8,'endColumn':_0x4da1e8};}[_0x29001b(0x1c5)](_0x39b6ea,_0x19bc9d){const _0x793066=_0x29001b;var _0x5cad4d;let _0x275afd=(_0x5cad4d=(0x0,e[_0x793066(0x1bd)])(this[_0x793066(0x20f)](),this[_0x793066(0x16b)]))==null||(_0x5cad4d=_0x5cad4d[_0x793066(0x18f)][_0x39b6ea])==null?void 0x0:_0x5cad4d['cells'][_0x19bc9d];if(!_0x275afd)return null;let _0x22f875=_0x275afd['startOffset']+0x1;return{'startOffset':_0x22f875,'endOffset':Math[_0x793066(0x1db)](_0x22f875,_0x275afd[_0x793066(0x1ea)]-0x1),'segmentId':this[_0x793066(0x21c)]};}[_0x29001b(0x1ae)](_0x431d52,_0x4341de){const _0x56067c=_0x29001b;let _0x1e6fca=this[_0x56067c(0x1c5)](_0x431d52,_0x4341de);return _0x1e6fca?Math[_0x56067c(0x1db)](_0x1e6fca[_0x56067c(0x238)],_0x1e6fca['endOffset']-0x1):null;}['getRowRange'](_0x1fc627){return this['getRowsRange'](_0x1fc627,0x1);}[_0x29001b(0x1d2)](_0x3c82d4,_0x170e79=0x1){const _0x24ef7a=_0x29001b;return{'startRow':_0x3c82d4,'endRow':_0x3c82d4+_0x170e79-0x1,'startColumn':0x0,'endColumn':Math[_0x24ef7a(0x1db)](0x0,this['getColumnCount']()-0x1)};}['getColumnRange'](_0x1c3ed4){const _0x1454f8=_0x29001b;return this[_0x1454f8(0x1fb)](_0x1c3ed4,0x1);}[_0x29001b(0x1fb)](_0x546717,_0x4b79de=0x1){const _0x5e768a=_0x29001b;return{'startRow':0x0,'endRow':Math[_0x5e768a(0x1db)](0x0,this[_0x5e768a(0x22e)]()-0x1),'startColumn':_0x546717,'endColumn':_0x546717+_0x4b79de-0x1};}[_0x29001b(0x23e)](){const _0x291efa=_0x29001b;return this[_0x291efa(0x1c0)](this['getTableRange'](),e[_0x291efa(0x1de)]['Table']);}['selectRow'](_0xec77d5){const _0x2c457b=_0x29001b;return this[_0x2c457b(0x203)](_0xec77d5,0x1);}[_0x29001b(0x203)](_0x34671a,_0x58651f=0x1){const _0x128a9c=_0x29001b;return this[_0x128a9c(0x1c0)](this[_0x128a9c(0x1d2)](_0x34671a,_0x58651f),e[_0x128a9c(0x1de)][_0x128a9c(0x1bf)]);}[_0x29001b(0x168)](_0x3d16c1){const _0x4f07c0=_0x29001b;return this[_0x4f07c0(0x1ca)](_0x3d16c1,0x1);}['selectColumns'](_0x3069d6,_0x57cdd5=0x1){const _0x543db2=_0x29001b;return this[_0x543db2(0x1c0)](this[_0x543db2(0x1fb)](_0x3069d6,_0x57cdd5),e[_0x543db2(0x1de)][_0x543db2(0x215)]);}[_0x29001b(0x191)](_0x194df2,_0x197dbc){const _0x2a0225=_0x29001b;return this[_0x2a0225(0x1c0)](this['getCellRange'](_0x194df2,_0x197dbc),e[_0x2a0225(0x1de)][_0x2a0225(0x230)]);}[_0x29001b(0x1c0)](_0x12c984,_0x5313f7=e[_0x29001b(0x1de)]['Range']){const _0x2103d5=_0x29001b;return this[_0x2103d5(0x1d4)][_0x2103d5(0x1e1)](e[_0x2103d5(0x198)])[_0x2103d5(0x19c)]({..._0x12c984,'kind':_0x5313f7,'segmentId':this[_0x2103d5(0x21c)],'tableId':this[_0x2103d5(0x16b)]}),!0x0;}[_0x29001b(0x20b)](_0x27cada){return this['insertRowsBefore'](_0x27cada,0x1);}[_0x29001b(0x219)](_0xa6d6bc){const _0x3d4a4b=_0x29001b;return this[_0x3d4a4b(0x1b0)](_0xa6d6bc,0x1);}[_0x29001b(0x1cb)](_0xe492a,_0xdcc0f8){const _0x599652=_0x29001b;let _0x1aff90=this['_getDocumentData'](),_0x15fe55=(0x0,e[_0x599652(0x1ff)])(_0x1aff90,this['_tableId'],_0xe492a,_0xdcc0f8,e[_0x599652(0x210)][_0x599652(0x1a5)],this['_getBodyPath']());return _0x15fe55?this[_0x599652(0x1df)](_0x1aff90,_0x15fe55[_0x599652(0x23a)]):!0x1;}[_0x29001b(0x1b0)](_0x108d36,_0x289837){const _0x1821bf=_0x29001b;let _0x313767=this['_getDocumentData'](),_0x1b9691=(0x0,e[_0x1821bf(0x1ff)])(_0x313767,this[_0x1821bf(0x16b)],_0x108d36,_0x289837,e[_0x1821bf(0x210)][_0x1821bf(0x1a7)],this[_0x1821bf(0x1f1)]());return _0x1b9691?this[_0x1821bf(0x1df)](_0x313767,_0x1b9691[_0x1821bf(0x23a)]):!0x1;}['appendRow'](){const _0x4ebd80=_0x29001b;return this[_0x4ebd80(0x1b0)](Math[_0x4ebd80(0x1db)](0x0,this['getRowCount']()-0x1),0x1);}['insertColumnBefore'](_0x23dee2){const _0x1514e6=_0x29001b;return this[_0x1514e6(0x222)](_0x23dee2,0x1);}[_0x29001b(0x1f6)](_0x302975){const _0x37e377=_0x29001b;return this[_0x37e377(0x1b3)](_0x302975,0x1);}[_0x29001b(0x222)](_0x1a536c,_0x409dfa){const _0xb91b7=_0x29001b;let _0xf786cd=this[_0xb91b7(0x20f)](),_0xb6f931=(0x0,e['buildInsertTableColumnsMutationActions'])(_0xf786cd,this[_0xb91b7(0x16b)],_0x1a536c,_0x409dfa,e['DocsTableInsertPosition']['Left'],{'bodyPath':this[_0xb91b7(0x1f1)]()});return _0xb6f931?this['_mutateActions'](_0xf786cd,_0xb6f931['actions']):!0x1;}[_0x29001b(0x1b3)](_0x3fc3a5,_0x583018){const _0x4ba536=_0x29001b;let _0x5e80e9=this[_0x4ba536(0x20f)](),_0x5df99a=(0x0,e[_0x4ba536(0x166)])(_0x5e80e9,this[_0x4ba536(0x16b)],_0x3fc3a5,_0x583018,e[_0x4ba536(0x210)][_0x4ba536(0x1f2)],{'bodyPath':this['_getBodyPath']()});return _0x5df99a?this['_mutateActions'](_0x5e80e9,_0x5df99a['actions']):!0x1;}[_0x29001b(0x1f5)](){const _0x3f4907=_0x29001b;return this[_0x3f4907(0x1b3)](Math[_0x3f4907(0x1db)](0x0,this['getColumnCount']()-0x1),0x1);}[_0x29001b(0x199)](_0x460fbb){return this['deleteRows'](_0x460fbb,0x1);}[_0x29001b(0x1f3)](_0x526528,_0x268cd7=0x1){const _0x453836=_0x29001b;return!!this[_0x453836(0x207)][_0x453836(0x218)](e[_0x453836(0x180)]['id'],{'endRow':_0x526528+_0x268cd7-0x1,'segmentId':this['_segmentId'],'startRow':_0x526528,'tableId':this[_0x453836(0x16b)],'unitId':this[_0x453836(0x1c4)]});}[_0x29001b(0x223)](_0x5f523c){const _0x2bb73b=_0x29001b;return this[_0x2bb73b(0x16e)](_0x5f523c,0x1);}['deleteColumns'](_0x2f0a56,_0x44215f=0x1){const _0x5852c7=_0x29001b;return!!this['_commandService'][_0x5852c7(0x218)](e['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x2f0a56+_0x44215f-0x1,'segmentId':this[_0x5852c7(0x21c)],'startColumn':_0x2f0a56,'tableId':this[_0x5852c7(0x16b)],'unitId':this[_0x5852c7(0x1c4)]});}[_0x29001b(0x231)](){const _0x358acb=_0x29001b;return!!this[_0x358acb(0x207)]['syncExecuteCommand'](e[_0x358acb(0x18a)]['id'],{'segmentId':this[_0x358acb(0x21c)],'tableId':this[_0x358acb(0x16b)],'unitId':this[_0x358acb(0x1c4)]});}[_0x29001b(0x1ec)](_0xa56820,_0x55bfd3){const _0x422aff=_0x29001b;let _0x2f4e62=this[_0x422aff(0x20f)]();return this['_mutateActions'](_0x2f4e62,(0x0,e[_0x422aff(0x182)])(_0x2f4e62,this[_0x422aff(0x16b)],_0xa56820,_0x55bfd3));}[_0x29001b(0x186)](_0x5e3822){const _0x1d7943=_0x29001b;let _0x4b2067=this['_getDocumentData']();return this[_0x1d7943(0x1df)](_0x4b2067,(0x0,e[_0x1d7943(0x17a)])(_0x4b2067,this[_0x1d7943(0x16b)],_0x5e3822,this['_getBodyPath']()));}['moveRow'](_0x2e44aa,_0x3fdfdd,_0x56b2b9=e[_0x29001b(0x210)][_0x29001b(0x1a5)]){const _0x2a22f7=_0x29001b;return this[_0x2a22f7(0x1e4)](_0x2e44aa,0x1,_0x3fdfdd,_0x56b2b9);}['moveRows'](_0x3649dd,_0xd8348b,_0xccdb5a,_0x585ba3=e[_0x29001b(0x210)]['Above']){const _0x5f1d05=_0x29001b;let _0x281f8a=this[_0x5f1d05(0x20f)](),_0x459e0d=(0x0,e[_0x5f1d05(0x234)])(_0x281f8a,this[_0x5f1d05(0x16b)],_0x3649dd,_0xccdb5a,_0xd8348b,_0x585ba3,this[_0x5f1d05(0x1f1)]());return _0x459e0d?this[_0x5f1d05(0x1df)](_0x281f8a,_0x459e0d['actions']):!0x1;}[_0x29001b(0x18e)](_0x2b0824,_0x5d9da0,_0x5f589c=e[_0x29001b(0x210)][_0x29001b(0x192)]){const _0x34d6ac=_0x29001b;return this[_0x34d6ac(0x190)](_0x2b0824,0x1,_0x5d9da0,_0x5f589c);}[_0x29001b(0x190)](_0x453e0b,_0x2b97f4,_0x4ebd9a,_0x46efa2=e[_0x29001b(0x210)][_0x29001b(0x192)]){const _0x4fe95f=_0x29001b;let _0x44b88a=this[_0x4fe95f(0x20f)](),_0x28f15e=(0x0,e[_0x4fe95f(0x211)])(_0x44b88a,this[_0x4fe95f(0x16b)],_0x453e0b,_0x4ebd9a,_0x2b97f4,_0x46efa2,this['_getBodyPath']());return _0x28f15e?this[_0x4fe95f(0x1df)](_0x44b88a,_0x28f15e[_0x4fe95f(0x23a)]):!0x1;}[_0x29001b(0x1c3)](_0x480a3e){const _0x43b4a5=_0x29001b;try{let _0x54a89a=this[_0x43b4a5(0x20f)](),_0x9daa35=(0x0,e[_0x43b4a5(0x1aa)])({'documentData':_0x54a89a,'tableId':this[_0x43b4a5(0x16b)],..._0x480a3e});return _0x9daa35?this[_0x43b4a5(0x1df)](_0x54a89a,_0x9daa35[_0x43b4a5(0x23a)],_0x480a3e):!0x1;}catch{return!0x1;}}[_0x29001b(0x1cc)](_0xb6912){const _0x3b6963=_0x29001b;try{let _0xda6417=this[_0x3b6963(0x20f)](),_0xb15620=(0x0,e[_0x3b6963(0x22d)])({'documentData':_0xda6417,'tableId':this[_0x3b6963(0x16b)],..._0xb6912});return _0xb15620?this[_0x3b6963(0x1df)](_0xda6417,_0xb15620['actions'],_0xb6912):!0x1;}catch{return!0x1;}}['setCellText'](_0xe2f180,_0x155a1b,_0x2270c4){const _0x47d21a=_0x29001b;let _0x5d3fb5=this[_0x47d21a(0x20f)](),_0x2a59ad=(0x0,e[_0x47d21a(0x220)])(this[_0x47d21a(0x239)][_0x47d21a(0x216)]()[_0x47d21a(0x1cd)](),this['_segmentId']);return this[_0x47d21a(0x1df)](_0x5d3fb5,(0x0,e[_0x47d21a(0x1b8)])({'documentData':_0x5d3fb5,'tableId':this['_tableId'],'row':_0xe2f180,'column':_0x155a1b,'text':_0x2270c4},_0x2a59ad),this[_0x47d21a(0x19e)](_0xe2f180,_0x155a1b));}[_0x29001b(0x1d3)](_0x163432,_0x2ec61b){const _0x2d9338=_0x29001b;let _0x1f470b=this['_getDocumentData']();return this['_mutateActions'](_0x1f470b,(0x0,e[_0x2d9338(0x172)])(_0x1f470b,{'tableId':this['_tableId'],..._0x163432,'value':_0x2ec61b}),_0x163432);}[_0x29001b(0x171)](_0x6ef380,_0xb1cb68){const _0xa1c2b0=_0x29001b;let _0x3a1912=this[_0xa1c2b0(0x20f)]();return this[_0xa1c2b0(0x1df)](_0x3a1912,(0x0,e[_0xa1c2b0(0x1b5)])({'documentData':_0x3a1912,'tableId':this[_0xa1c2b0(0x16b)],..._0x6ef380,'margin':_0xb1cb68}),_0x6ef380);}[_0x29001b(0x201)](_0x31b5ab){const _0x13cca9=_0x29001b;let _0x2f911e=this[_0x13cca9(0x20f)]();return this[_0x13cca9(0x1df)](_0x2f911e,(0x0,e[_0x13cca9(0x1c6)])(_0x2f911e,this[_0x13cca9(0x16b)],_0x31b5ab));}['setBorder'](_0x3fc4dc,_0x11f334){const _0x24d8dc=_0x29001b;let _0x3a2037=this[_0x24d8dc(0x20f)]();return this[_0x24d8dc(0x1df)](_0x3a2037,this[_0x24d8dc(0x1e8)](_0x3a2037,_0x3fc4dc,_0x11f334),_0x3fc4dc);}['setTableBackground'](_0x2b1b10){const _0x1164a6=_0x29001b;return this[_0x1164a6(0x1d3)](this[_0x1164a6(0x1b6)](),_0x2b1b10);}['setTableBorder'](_0x2d5e23){const _0x78898c=_0x29001b;return this[_0x78898c(0x21f)](this['getTableRange'](),_0x2d5e23);}[_0x29001b(0x204)](_0x45f64f){const _0x4cc481=_0x29001b;let _0x65bc9c=this[_0x4cc481(0x20f)](),_0x52791f=this[_0x4cc481(0x1b6)](),_0x45c0f7=_0x45f64f[_0x4cc481(0x19a)]?(0x0,e[_0x4cc481(0x172)])(_0x65bc9c,{'tableId':this[_0x4cc481(0x16b)],..._0x52791f,'value':_0x45f64f[_0x4cc481(0x19a)]}):null,_0x3aad9a=_0x45f64f[_0x4cc481(0x1d6)]?this['_buildBorderActions'](_0x65bc9c,_0x52791f,_0x45f64f['border']):null;return this[_0x4cc481(0x1df)](_0x65bc9c,t[_0x4cc481(0x17e)][_0x4cc481(0x179)](_0x45c0f7,_0x3aad9a),_0x52791f);}[_0x29001b(0x1d9)](_0x14739e,_0x5a8f86,_0x24cf49=t[_0x29001b(0x1b7)][_0x29001b(0x181)]){const _0x403aa8=_0x29001b;var _0x9dd29;let _0x444ee3=this[_0x403aa8(0x20f)]();return(_0x9dd29=_0x444ee3[_0x403aa8(0x189)])!=null&&(_0x9dd29=_0x9dd29[this[_0x403aa8(0x16b)]])!=null&&_0x9dd29[_0x403aa8(0x23f)][_0x14739e]?this[_0x403aa8(0x1df)](_0x444ee3,(0x0,e[_0x403aa8(0x1e6)])(_0x444ee3,this[_0x403aa8(0x16b)],_0x14739e,_0x5a8f86,_0x24cf49)):!0x1;}[_0x29001b(0x1ad)](_0x26dd80){const _0x28a54b=_0x29001b;var _0x28e8bc;let _0x3729d6=(_0x28e8bc=this[_0x28a54b(0x1ac)]())==null||(_0x28e8bc=_0x28e8bc['tableRows'][_0x26dd80])==null?void 0x0:_0x28e8bc['trHeight'];return _0x3729d6?t[_0x28a54b(0x1a2)][_0x28a54b(0x226)](_0x3729d6):null;}[_0x29001b(0x18d)](_0x1de02a,_0x5af1a6){const _0x338ade=_0x29001b;var _0x1e31ae;let _0x4b9fbf=this[_0x338ade(0x20f)]();return(_0x1e31ae=_0x4b9fbf['tableSource'])!=null&&(_0x1e31ae=_0x1e31ae[this['_tableId']])!=null&&_0x1e31ae[_0x338ade(0x193)][_0x1de02a]?this[_0x338ade(0x1df)](_0x4b9fbf,(0x0,e['buildResizeTableColumnActionsFromWidth'])(_0x4b9fbf,this['_tableId'],_0x1de02a,_0x5af1a6)):!0x1;}[_0x29001b(0x195)](_0x12a7d4=0x0,_0x263df2=this[_0x29001b(0x22e)]()){const _0xfe8f18=_0x29001b;let _0x495c0c=this['_getDocumentData']();return this[_0xfe8f18(0x1df)](_0x495c0c,(0x0,e[_0xfe8f18(0x20e)])(_0x495c0c,this['_tableId'],_0x12a7d4,_0x12a7d4+_0x263df2-0x1));}[_0x29001b(0x1b2)](_0x4f8e30=0x0,_0x3e66c0=this[_0x29001b(0x19b)]()){const _0x14792f=_0x29001b;let _0x49aa34=this[_0x14792f(0x20f)]();return this[_0x14792f(0x1df)](_0x49aa34,(0x0,e[_0x14792f(0x1d0)])(_0x49aa34,this[_0x14792f(0x16b)],_0x4f8e30,_0x4f8e30+_0x3e66c0-0x1));}[_0x29001b(0x18b)](){var _0x5d0b3d;return((_0x5d0b3d=this['getMetadata']())==null?void 0x0:_0x5d0b3d['headerRowCount'])??0x0;}[_0x29001b(0x170)](_0x358396){const _0x336073=_0x29001b;let _0x39d9f5=this[_0x336073(0x20f)](),_0x4e98bc=(0x0,e[_0x336073(0x19d)])(_0x39d9f5,this[_0x336073(0x16b)],_0x358396);return _0x4e98bc?this['_mutateActions'](_0x39d9f5,_0x4e98bc[_0x336073(0x23a)]):!0x1;}['pinHeaderRows'](_0x2b0773){const _0x515073=_0x29001b;return this[_0x515073(0x170)](_0x2b0773);}['hasTitleRow'](){const _0x25b6b5=_0x29001b;var _0x12888e;return((_0x12888e=this[_0x25b6b5(0x1b4)]())==null?void 0x0:_0x12888e['titleRow'])??!0x1;}['insertTitleRow'](){const _0x53c753=_0x29001b;let _0x42053c=this[_0x53c753(0x20f)](),_0x39eae0=(0x0,e[_0x53c753(0x233)])(_0x42053c,this[_0x53c753(0x16b)],this[_0x53c753(0x1f1)]());return _0x39eae0?this[_0x53c753(0x1df)](_0x42053c,_0x39eae0['actions']):!0x1;}[_0x29001b(0x225)](_0x43a391,_0x478146){const _0x569015=_0x29001b;return!!this[_0x569015(0x207)][_0x569015(0x218)](e[_0x569015(0x236)]['id'],{'unitId':this[_0x569015(0x1c4)],'tableId':this[_0x569015(0x16b)],'segmentId':this[_0x569015(0x21c)],'column':_0x43a391,'config':_0x478146});}['sortByColumn'](_0x206aca,_0x1a56d5){const _0x714534=_0x29001b;let _0x4f560a=this['_getDocumentData']();return this[_0x714534(0x1df)](_0x4f560a,(0x0,e[_0x714534(0x169)])(_0x4f560a,this['_serializeModel'](),this[_0x714534(0x16b)],_0x206aca,_0x1a56d5,this[_0x714534(0x1f1)]()));}['_buildBorderActions'](_0x55ee1e,_0xcbc4f9,_0x4ff8c5){const _0x42a77f=_0x29001b;return(0x0,e[_0x42a77f(0x1f4)])({'documentData':_0x55ee1e,'tableId':this[_0x42a77f(0x16b)],..._0xcbc4f9,'preset':_0x4ff8c5[_0x42a77f(0x1fe)]??e[_0x42a77f(0x20a)][_0x42a77f(0x1a6)],'border':_0x4ff8c5['border']??{'color':{'rgb':_0x4ff8c5[_0x42a77f(0x1a8)]??this[_0x42a77f(0x1d4)][_0x42a77f(0x1e1)](t[_0x42a77f(0x1c2)])['getColorFromTheme']('gray.900')},'width':{'v':_0x4ff8c5[_0x42a77f(0x1e5)]??0x1},'dashStyle':t['DashStyleType'][_0x42a77f(0x19f)]}});}[_0x29001b(0x20f)](){const _0x75e6cf=_0x29001b;let _0xce042f=this['_document'][_0x75e6cf(0x216)]()[_0x75e6cf(0x1cd)]();return this[_0x75e6cf(0x21c)]?{...this[_0x75e6cf(0x239)][_0x75e6cf(0x216)](this['_segmentId'])['getSnapshot'](),'documentStyle':_0xce042f[_0x75e6cf(0x202)],'tableSource':_0xce042f[_0x75e6cf(0x189)]}:_0xce042f;}[_0x29001b(0x1a0)](){const _0x4f7d51=_0x29001b;return this['_injector']['get'](e[_0x4f7d51(0x209)])['serializeDocument'](this['_unitId'],this[_0x4f7d51(0x239)][_0x4f7d51(0x216)]()[_0x4f7d51(0x1cd)]());}[_0x29001b(0x1f1)](){const _0x6ff8af=_0x29001b;return(0x0,e[_0x6ff8af(0x220)])(this[_0x6ff8af(0x239)][_0x6ff8af(0x216)]()['getSnapshot'](),this[_0x6ff8af(0x21c)]);}[_0x29001b(0x1df)](_0x159ea6,_0x2246ae,_0x1de35b){const _0x559f28=_0x29001b;return(0x0,e[_0x559f28(0x165)])(this[_0x559f28(0x207)],this[_0x559f28(0x1c4)],_0x159ea6,_0x2246ae,_0x1de35b?{'tableId':this[_0x559f28(0x16b)],'segmentId':this[_0x559f28(0x21c)],..._0x1de35b}:void 0x0);}};f=d([u(0x3,t[_0x29001b(0x1dc)]),u(0x4,(0x0,t[_0x29001b(0x17c)])(t['Injector']))],f);var p=class extends r[_0x29001b(0x1ee)]{[_0x29001b(0x1d1)](_0x1ec05f=''){const _0x129044=_0x29001b;return this[_0x129044(0x20c)](_0x1ec05f)[_0x129044(0x228)](_0x5379bf=>this[_0x129044(0x196)](_0x5379bf[_0x129044(0x178)],_0x1ec05f));}[_0x29001b(0x1e3)](_0x34ebf6,_0x3a9d3b=''){const _0x206f02=_0x29001b;return this[_0x206f02(0x20c)](_0x3a9d3b)['some'](_0x193f7d=>_0x193f7d[_0x206f02(0x178)]===_0x34ebf6)?this[_0x206f02(0x196)](_0x34ebf6,_0x3a9d3b):null;}['getTableAt'](_0x4949d7,_0x427420=''){const _0x1a966f=_0x29001b;var _0x2233cc;let _0x3d7b4d=(_0x2233cc=this[_0x1a966f(0x20c)](_0x427420)[_0x4949d7])==null?void 0x0:_0x2233cc[_0x1a966f(0x178)];return _0x3d7b4d?this[_0x1a966f(0x196)](_0x3d7b4d,_0x427420):null;}[_0x29001b(0x1c7)](){const _0x390860=_0x29001b;let _0x434eea=this[_0x390860(0x1d4)][_0x390860(0x1e1)](e['DocsTableSelectionService'])[_0x390860(0x237)]();return _0x434eea!=null&&_0x434eea[_0x390860(0x178)]?this[_0x390860(0x196)](_0x434eea[_0x390860(0x178)],_0x434eea[_0x390860(0x1ef)]):null;}[_0x29001b(0x21a)](_0x3b0605,_0x7e1ec1=''){const _0x1e583b=_0x29001b;return this[_0x1e583b(0x184)](_0x3b0605,_0x7e1ec1)[0x0]??null;}[_0x29001b(0x184)](_0xd30b11,_0x584566=''){const _0x23e753=_0x29001b;let _0x56c468=this[_0x23e753(0x16c)](_0x584566),_0x15de8a=typeof _0xd30b11=='string'?{'text':_0xd30b11}:_0xd30b11;return this[_0x23e753(0x1d1)](_0x584566)['filter'](_0x475238=>{const _0x45fcaa=_0x23e753;let _0x2b321d=_0x475238[_0x45fcaa(0x1be)]();return!(_0x15de8a['tableId']&&_0x2b321d!==_0x15de8a[_0x45fcaa(0x178)]||_0x15de8a[_0x45fcaa(0x23d)]&&!this[_0x45fcaa(0x177)](_0x56c468,_0x2b321d,_0x15de8a[_0x45fcaa(0x23d)])||_0x15de8a[_0x45fcaa(0x1a3)]&&!this[_0x45fcaa(0x164)](_0x475238,0x0,_0x15de8a[_0x45fcaa(0x1a3)])||_0x15de8a['titleText']&&!this[_0x45fcaa(0x164)](_0x475238,0x0,_0x15de8a[_0x45fcaa(0x1da)]));});}[_0x29001b(0x1ed)](_0x3d22ea,_0x2b7b02,_0x462992={}){const _0x4510c1=_0x29001b;let _0x3dd185=this[_0x4510c1(0x1d4)][_0x4510c1(0x1e1)](t[_0x4510c1(0x1dc)]),_0x16c6b8=_0x462992[_0x4510c1(0x178)]??(0x0,t['generateRandomId'])(0x6);return _0x3dd185['syncExecuteCommand'](e[_0x4510c1(0x217)]['id'],{..._0x462992,'unitId':this[_0x4510c1(0x1be)](),'rows':_0x3d22ea,'columns':_0x2b7b02,'tableId':_0x16c6b8})?this['_createFDocumentTable'](_0x16c6b8,_0x462992[_0x4510c1(0x1ef)]??''):null;}[_0x29001b(0x1cf)](_0x2daeb1,_0x1ed744={}){const _0x38bdcd=_0x29001b;let _0x30dc5c=this[_0x38bdcd(0x1d4)]['get'](t['ICommandService']),_0x54d167=_0x1ed744[_0x38bdcd(0x178)]??(0x0,t['generateRandomId'])(0x6);return _0x30dc5c['syncExecuteCommand'](e[_0x38bdcd(0x217)]['id'],{..._0x1ed744,'unitId':this[_0x38bdcd(0x1be)](),'values':_0x2daeb1,'tableId':_0x54d167})?this[_0x38bdcd(0x196)](_0x54d167,_0x1ed744['segmentId']??''):null;}['_getTables'](_0x126f90=''){let {tables:_0x5e2a0b=[]}=this['getBody'](_0x126f90);return _0x5e2a0b;}[_0x29001b(0x16c)](_0x3894ab=''){const _0x247956=_0x29001b;let _0xf00b47=this[_0x247956(0x216)]()[_0x247956(0x1cd)]();return _0x3894ab?{...this['getDocumentDataModel'](_0x3894ab)['getSnapshot'](),'documentStyle':_0xf00b47['documentStyle'],'tableSource':_0xf00b47[_0x247956(0x189)]}:_0xf00b47;}[_0x29001b(0x196)](_0x864cc6,_0x4b935b=''){const _0x1e6705=_0x29001b;return this[_0x1e6705(0x1d4)]['createInstance'](f,this,_0x864cc6,_0x4b935b);}[_0x29001b(0x177)](_0x392e00,_0x1359ff,_0x45b791){const _0x287c4f=_0x29001b;var _0x5ca83a;let _0x4da0e8=(0x0,e['getTableRangeById'])(_0x392e00,_0x1359ff);if(!_0x4da0e8)return!0x1;let _0x2cb583=(_0x5ca83a=_0x392e00[_0x287c4f(0x17f)])==null?void 0x0:_0x5ca83a[_0x287c4f(0x1fc)];return _0x2cb583?_0x2cb583[_0x287c4f(0x176)](_0x4da0e8[_0x287c4f(0x238)],_0x4da0e8[_0x287c4f(0x1ea)])['includes'](_0x45b791):!0x1;}[_0x29001b(0x164)](_0x17ca22,_0x567d3b,_0x27bc22){const _0x416266=_0x29001b;return Array[_0x416266(0x167)]({'length':_0x17ca22[_0x416266(0x19b)]()},(_0x35044d,_0x166511)=>_0x17ca22[_0x416266(0x1f0)](_0x567d3b,_0x166511))[_0x416266(0x212)](_0x312da5=>_0x312da5[_0x416266(0x1e0)](_0x27bc22));}};r[_0x29001b(0x1ee)][_0x29001b(0x1fd)](p),Object['defineProperty'](exports,_0x29001b(0x1d7),{'enumerable':!0x0,'get':function(){return f;}}),exports[_0x29001b(0x21d)]=a;
|