@univerjs-pro/docs-table 1.3.1 → 1.4.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.
@@ -1,9 +1,9 @@
1
1
  import type { IDocumentBody } from '@univerjs/core';
2
2
  export declare const DocsTableColumnDataStreamTreeTokenType: {
3
- readonly COLUMN_GROUP_START: "\u0012";
4
- readonly COLUMN_START: "\u0013";
5
- readonly COLUMN_END: "\u0014";
6
- readonly COLUMN_GROUP_END: "\u0015";
3
+ readonly COLUMN_GROUP_START: '\u0012';
4
+ readonly COLUMN_START: '\u0013';
5
+ readonly COLUMN_END: '\u0014';
6
+ readonly COLUMN_GROUP_END: '\u0015';
7
7
  };
8
8
  export interface IDocsTableColumnGroupRange {
9
9
  columnGroupId: string;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x549e(_0x137e25,_0x2c130a){_0x137e25=_0x137e25-0xea;const _0x8c8ed8=_0x8c8e();let _0x549e5f=_0x8c8ed8[_0x137e25];return _0x549e5f;}function _0x8c8e(){const _0x408cb6=['filter','ICommandService','Range','deleteColumn','getColumnsRange','Table','setTableStyle','_column','getCell','gray.900','8501710qgkLoe','endOffset','_commandService','tableCells','2026550gUqIgu','prototype','rows','Tools','mergeTo','Inject','_table','insertColumnAfter','_segmentId','DocsTableInsertPosition','body','pinHeaderRows','setHeaderRowCount','buildUnmergeCellsMutationActions','selectColumn','buildMoveFloatingTableMutationActions','buildSortTableMutationActions','DEFAULT_DOCS_TABLE_CELL_MARGIN','default','9NXWOGO','sortByColumn','6345504cBRCNb','length','Column','describe','insertTable','DocsTableSortDirection','getTableActionBodyPath','_createFDocumentTable','buildDistributeTableRowsMutationActions','replace','setCellMargin','setDefaultCellMargin','actions','DocsTableSelectionService','getDefaultCellMarginOverride','headerText','_mutateActions','cellMargin','max','appendColumn','All','Cell','hasTitleRow','Module','moveTableToOffset','DocsTableSetColumnTypeCommand','size','insertRowBefore','_tableContainsText','DocsTableSelectionKind','generateRandomId','Right','getTableRangeById','string','tableColumns','buildResizeTableRowActionsFromHeight','includes','executeRichTextTableActions','border','3092430qgwGNl','setStructuralSelection','1WbWkTD','DocsTableColumnType','getDocumentDataModel','deepClone','from','tableRows','getTables','getCellInsertOffset','slice','_buildBorderActions','getBody','distributeColumns','getCellRange','findTableByText','buildInsertTableRowsMutationActions','documentStyle','setBorder','DocsTableColumnInsertPosition','mergeCells','_unitId','6501600EgYlnf','some','buildSetTableCellTextMutationActions','setText','selectCell','getTableAt','getStableTableSelection','tableId','getCellMargin','Row','setBackgroundColor','insertRowAfter','getTable','getHeaderRowCount','iterator','_row','dataStream','getMetadata','buildResizeTableColumnActionsFromWidth','getRowCount','SOLID','UniverCoreFacade','@univerjs/core/facade','createInstance','titleText','insertTableFromData','DocsTableInsertTablePosition','getSource','text','DocsTableDeleteTableCommand','_getDocumentData','amd','393562GXCbaR','setCellBackground','insertRowsAfter','deleteColumns','cells','buildInsertTableColumnsMutationActions','_serializeModel','moveRow','Injector','appendRow','extend','insertRowsBefore','setTableBorder','clearMarginOverride','DocsTableBorderPreset','segmentId','buildSetTableBackgroundMutationActions','margin','getCellContentRange','_injector','DocsTableRowInsertPosition','insertColumnsAfter','moveColumns','UniverProDocsTable','ThemeService','findTables','_rowContainsText','serializeDocument','getInsertOffset','getText','moveTableBy','248924DNtuKY','titleRow','insertColumnBefore','insertTitleRow','_getTableDocumentData','getSnapshot','7MJDqTv','setColumnType','setRowHeight','UniverProDocsTableFacade','UniverDocsFacade','deleteRows','getDefaultCellMargin','insertColumnsBefore','get','getId','object','unmergeCells','deleteRow','getColumnIndex','getOwnPropertyDescriptor','getCellText','Above','getRowRange','deleteTable','tableSource','_getBodyPath','getTableRange','Left','getCellMarginOverride','getTableAtSelection','getRowsRange','DocsTableDeleteRowsCommand','UniverCore','resolveTableMetadata','preset','toStringTag','DashStyleType','symbol','unmerge','9upOcrq','_getTables','DocsTableInsertTableCommand','_document','getColumnRange','function','selectColumns','FDocument','distributeRows','setCellText','selectRow','syncExecuteCommand','buildMoveTableRowsMutationActions','headerRowCount','buildSetTableDefaultCellMarginMutationActions','width','buildSetTableHeaderRowCountMutationActions','startOffset','getMargin','_tableId','getColorFromTheme','moveRows','getColumnCount','getContentRange','selectRange','backgroundColor','defineProperty','AT_LEAST'];_0x8c8e=function(){return _0x408cb6;};return _0x8c8e();}(function(_0x2b34ea,_0x962fcc){const _0x5032d2=_0x549e,_0x2e6bbd=_0x2b34ea();while(!![]){try{const _0x27c7c2=parseInt(_0x5032d2(0x139))/0x1*(parseInt(_0x5032d2(0x16d))/0x2)+parseInt(_0x5032d2(0x10e))/0x3*(parseInt(_0x5032d2(0x18c))/0x4)+-parseInt(_0x5032d2(0xfb))/0x5+-parseInt(_0x5032d2(0x137))/0x6*(parseInt(_0x5032d2(0x192))/0x7)+parseInt(_0x5032d2(0x14d))/0x8+-parseInt(_0x5032d2(0x1b4))/0x9*(-parseInt(_0x5032d2(0xf7))/0xa)+-parseInt(_0x5032d2(0x110))/0xb;if(_0x27c7c2===_0x962fcc)break;else _0x2e6bbd['push'](_0x2e6bbd['shift']());}catch(_0x426d9a){_0x2e6bbd['push'](_0x2e6bbd['shift']());}}}(_0x8c8e,0x85f9e),function(_0x4bd05b,_0x1d4301){const _0x4bf561=_0x549e;typeof exports=='object'&&typeof module<'u'?_0x1d4301(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x4bf561(0x1b9)&&define[_0x4bf561(0x16c)]?define(['exports','@univerjs-pro/docs-table','@univerjs/core',_0x4bf561(0x163),'@univerjs/docs/facade'],_0x1d4301):(_0x4bd05b=typeof globalThis<'u'?globalThis:_0x4bd05b||self,_0x1d4301(_0x4bd05b[_0x4bf561(0x195)]={},_0x4bd05b[_0x4bf561(0x184)],_0x4bd05b[_0x4bf561(0x1ad)],_0x4bd05b[_0x4bf561(0x162)],_0x4bd05b[_0x4bf561(0x196)]));}(this,function(_0x242d79,_0x19f39c,_0x2e8565,_0x11fe8a,_0x127995){const _0x1620aa=_0x549e;Object[_0x1620aa(0xeb)](_0x242d79,Symbol[_0x1620aa(0x1b0)],{'value':_0x1620aa(0x127)});var _0x46742e=class extends _0x11fe8a['FEnum']{get[_0x1620aa(0x167)](){return _0x19f39c['DocsTableInsertTablePosition'];}get[_0x1620aa(0x13a)](){const _0x5f0e14=_0x1620aa;return _0x19f39c[_0x5f0e14(0x13a)];}get[_0x1620aa(0x12d)](){const _0x1d6371=_0x1620aa;return _0x19f39c[_0x1d6371(0x12d)];}get[_0x1620aa(0x181)](){const _0x216443=_0x1620aa;return _0x19f39c[_0x216443(0x181)];}get[_0x1620aa(0x14a)](){const _0x5c42a0=_0x1620aa;return _0x19f39c[_0x5c42a0(0x14a)];}get[_0x1620aa(0x17b)](){return _0x19f39c['DocsTableBorderPreset'];}get[_0x1620aa(0x115)](){const _0x452155=_0x1620aa;return _0x19f39c[_0x452155(0x115)];}get[_0x1620aa(0x1b1)](){const _0x115d59=_0x1620aa;return _0x2e8565[_0x115d59(0x1b1)];}};_0x11fe8a['FEnum'][_0x1620aa(0x177)](_0x46742e);var _0x46d816=class{constructor(_0x1f091e,_0x41791f,_0x417ff8){const _0x62bf81=_0x1620aa;this[_0x62bf81(0x101)]=_0x1f091e,this['_row']=_0x41791f,this[_0x62bf81(0xf4)]=_0x417ff8;}[_0x1620aa(0x159)](){const _0x13cf10=_0x1620aa;return this[_0x13cf10(0x101)];}['getRowIndex'](){const _0x7d6efc=_0x1620aa;return this[_0x7d6efc(0x15c)];}[_0x1620aa(0x19f)](){return this['_column'];}[_0x1620aa(0x18a)](){const _0x161dc6=_0x1620aa;return this[_0x161dc6(0x101)][_0x161dc6(0x1a1)](this['_row'],this['_column']);}[_0x1620aa(0x1cb)](){const _0x494217=_0x1620aa;return this['_table'][_0x494217(0x17f)](this[_0x494217(0x15c)],this[_0x494217(0xf4)]);}[_0x1620aa(0x189)](){const _0x549d34=_0x1620aa;return this[_0x549d34(0x101)][_0x549d34(0x140)](this[_0x549d34(0x15c)],this[_0x549d34(0xf4)]);}[_0x1620aa(0x1c6)](){const _0x4e314f=_0x1620aa;return this[_0x4e314f(0x101)]['getCellMargin'](this['_row'],this[_0x4e314f(0xf4)]);}['getMarginOverride'](){const _0x15a9df=_0x1620aa;return this[_0x15a9df(0x101)][_0x15a9df(0x1a9)](this[_0x15a9df(0x15c)],this['_column']);}['setMargin'](_0x138836){const _0x10bcd8=_0x1620aa;return this[_0x10bcd8(0x101)]['setCellMargin'](this[_0x10bcd8(0x101)]['getCellRange'](this[_0x10bcd8(0x15c)],this[_0x10bcd8(0xf4)]),_0x138836);}[_0x1620aa(0x17a)](){const _0x4967cd=_0x1620aa;return this[_0x4967cd(0x101)][_0x4967cd(0x11a)](this[_0x4967cd(0x101)]['getCellRange'](this[_0x4967cd(0x15c)],this[_0x4967cd(0xf4)]),null);}[_0x1620aa(0x150)](_0x20500f){const _0x24898e=_0x1620aa;return this[_0x24898e(0x101)][_0x24898e(0x1bd)](this[_0x24898e(0x15c)],this[_0x24898e(0xf4)],_0x20500f);}[_0x1620aa(0x157)](_0x37d8ff){const _0xd9d438=_0x1620aa;return this[_0xd9d438(0x101)][_0xd9d438(0x16e)](this['_table'][_0xd9d438(0x145)](this[_0xd9d438(0x15c)],this[_0xd9d438(0xf4)]),_0x37d8ff);}['setBorder'](_0xa3a861){const _0x4f8d82=_0x1620aa;return this[_0x4f8d82(0x101)][_0x4f8d82(0x149)](this[_0x4f8d82(0x101)][_0x4f8d82(0x145)](this[_0x4f8d82(0x15c)],this[_0x4f8d82(0xf4)]),_0xa3a861);}[_0x1620aa(0xff)](_0x5a5f3d,_0x554715){const _0x593760=_0x1620aa;return this[_0x593760(0x101)][_0x593760(0x14b)]({'startRow':this[_0x593760(0x15c)],'startColumn':this[_0x593760(0xf4)],'endRow':this[_0x593760(0x15c)]+_0x5a5f3d-0x1,'endColumn':this[_0x593760(0xf4)]+_0x554715-0x1});}[_0x1620aa(0x1b3)](){const _0x2bcff2=_0x1620aa;return this[_0x2bcff2(0x101)]['unmergeCells'](this[_0x2bcff2(0x101)][_0x2bcff2(0x145)](this[_0x2bcff2(0x15c)],this[_0x2bcff2(0xf4)]));}};function _0x409d26(_0x9d8320){'@babel/helpers - typeof';const _0x15e2b6=_0x1620aa;return _0x409d26=typeof Symbol==_0x15e2b6(0x1b9)&&typeof Symbol[_0x15e2b6(0x15b)]==_0x15e2b6(0x1b2)?function(_0x291568){return typeof _0x291568;}:function(_0x487bf4){const _0x461c45=_0x15e2b6;return _0x487bf4&&typeof Symbol==_0x461c45(0x1b9)&&_0x487bf4['constructor']===Symbol&&_0x487bf4!==Symbol[_0x461c45(0xfc)]?_0x461c45(0x1b2):typeof _0x487bf4;},_0x409d26(_0x9d8320);}function _0x22a46b(_0x55febd,_0x33cb5){const _0x42c29a=_0x1620aa;if(_0x409d26(_0x55febd)!=_0x42c29a(0x19c)||!_0x55febd)return _0x55febd;var _0x3e50c0=_0x55febd[Symbol['toPrimitive']];if(_0x3e50c0!==void 0x0){var _0x27162e=_0x3e50c0['call'](_0x55febd,_0x33cb5||_0x42c29a(0x10d));if(_0x409d26(_0x27162e)!=_0x42c29a(0x19c))return _0x27162e;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x33cb5===_0x42c29a(0x131)?String:Number)(_0x55febd);}function _0x15c87c(_0x31d26f){const _0x3d447c=_0x1620aa;var _0x17a9d5=_0x22a46b(_0x31d26f,_0x3d447c(0x131));return _0x409d26(_0x17a9d5)==_0x3d447c(0x1b2)?_0x17a9d5:_0x17a9d5+'';}function _0x3e9f0f(_0x3fac13,_0x452cfc,_0x21600c){const _0xdc9dc4=_0x1620aa;return(_0x452cfc=_0x15c87c(_0x452cfc))in _0x3fac13?Object[_0xdc9dc4(0xeb)](_0x3fac13,_0x452cfc,{'value':_0x21600c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3fac13[_0x452cfc]=_0x21600c,_0x3fac13;}function _0x5bedc2(_0x459dcb,_0x22fd2c){return function(_0x537863,_0x3fc1c5){_0x22fd2c(_0x537863,_0x3fc1c5,_0x459dcb);};}function _0x4f5b6f(_0x1176f9,_0xa44b7b,_0x11b47b,_0x54ce6f){const _0xd26b2e=_0x1620aa;var _0x194250=arguments['length'],_0x55cf07=_0x194250<0x3?_0xa44b7b:_0x54ce6f===null?_0x54ce6f=Object[_0xd26b2e(0x1a0)](_0xa44b7b,_0x11b47b):_0x54ce6f,_0x13e5d6;if(typeof Reflect==_0xd26b2e(0x19c)&&typeof Reflect['decorate']=='function')_0x55cf07=Reflect['decorate'](_0x1176f9,_0xa44b7b,_0x11b47b,_0x54ce6f);else{for(var _0x4f14fb=_0x1176f9['length']-0x1;_0x4f14fb>=0x0;_0x4f14fb--)(_0x13e5d6=_0x1176f9[_0x4f14fb])&&(_0x55cf07=(_0x194250<0x3?_0x13e5d6(_0x55cf07):_0x194250>0x3?_0x13e5d6(_0xa44b7b,_0x11b47b,_0x55cf07):_0x13e5d6(_0xa44b7b,_0x11b47b))||_0x55cf07);}return _0x194250>0x3&&_0x55cf07&&Object[_0xd26b2e(0xeb)](_0xa44b7b,_0x11b47b,_0x55cf07),_0x55cf07;}let _0x14dc85=class{constructor(_0x278494,_0x10031c,_0x5eb55c,_0x8efdbb,_0x1b47d6){const _0x95efb0=_0x1620aa;this[_0x95efb0(0x1b7)]=_0x278494,this[_0x95efb0(0x1c7)]=_0x10031c,this[_0x95efb0(0x103)]=_0x5eb55c,this[_0x95efb0(0xf9)]=_0x8efdbb,this[_0x95efb0(0x180)]=_0x1b47d6,_0x3e9f0f(this,_0x95efb0(0x14c),void 0x0),this[_0x95efb0(0x14c)]=this[_0x95efb0(0x1b7)][_0x95efb0(0x19b)]();}[_0x1620aa(0x19b)](){const _0x1b0247=_0x1620aa;return this[_0x1b0247(0x1c7)];}['getSegmentId'](){const _0x14a229=_0x1620aa;return this[_0x14a229(0x103)];}['getInfo'](){const _0x2682a2=_0x1620aa;return{'id':this[_0x2682a2(0x1c7)],'rowCount':this[_0x2682a2(0x160)](),'columnCount':this[_0x2682a2(0x1ca)](),'metadata':this[_0x2682a2(0x15e)](),'source':this[_0x2682a2(0x168)]()};}[_0x1620aa(0x113)](){const _0x40be07=_0x1620aa;let _0x400feb=this[_0x40be07(0x15e)](),_0x334432=this[_0x40be07(0x168)](),_0x9b2a9=this['getColumnCount']();return{'id':this[_0x40be07(0x1c7)],'rowCount':this['getRowCount'](),'columnCount':_0x9b2a9,'headerRowCount':(_0x400feb==null?void 0x0:_0x400feb[_0x40be07(0x1c1)])??0x0,'titleRow':(_0x400feb==null?void 0x0:_0x400feb[_0x40be07(0x18d)])??!0x1,'columns':Array[_0x40be07(0x13d)]({'length':_0x9b2a9},(_0x11741c,_0x28b1f4)=>{const _0xfd9853=_0x40be07;var _0x8ae3c0,_0x41f025;return{'index':_0x28b1f4,'type':_0x400feb==null||(_0x8ae3c0=_0x400feb['columnTypes'])==null||(_0x8ae3c0=_0x8ae3c0[_0x28b1f4])==null?void 0x0:_0x8ae3c0['type'],'width':_0x334432==null||(_0x41f025=_0x334432[_0xfd9853(0x132)][_0x28b1f4])==null?void 0x0:_0x41f025[_0xfd9853(0x12a)][_0xfd9853(0x1c3)]['v']};}),'sampleRows':Array[_0x40be07(0x13d)]({'length':this[_0x40be07(0x160)]()},(_0x437e4a,_0x21adc9)=>Array[_0x40be07(0x13d)]({'length':_0x9b2a9},(_0x2a72a5,_0x2e8036)=>this['getCellText'](_0x21adc9,_0x2e8036)))[_0x40be07(0xed)](_0x14ae3b=>_0x14ae3b[_0x40be07(0x14e)](_0x28d13b=>_0x28d13b[_0x40be07(0x111)]>0x0))['slice'](0x0,0x5)};}[_0x1620aa(0x160)](){const _0x12750e=_0x1620aa;var _0x168dd2;return((_0x168dd2=this[_0x12750e(0x168)]())==null?void 0x0:_0x168dd2[_0x12750e(0x13e)][_0x12750e(0x111)])??0x0;}['getColumnCount'](){const _0x360786=_0x1620aa;var _0x250286;return((_0x250286=this[_0x360786(0x168)]())==null?void 0x0:_0x250286[_0x360786(0x132)]['length'])??0x0;}[_0x1620aa(0xf5)](_0x36b60a,_0x4f40f0){const _0x36841f=_0x1620aa;var _0x70a3a0;return(_0x70a3a0=this[_0x36841f(0x168)]())!=null&&(_0x70a3a0=_0x70a3a0[_0x36841f(0x13e)][_0x36b60a])!=null&&_0x70a3a0['tableCells'][_0x4f40f0]?this[_0x36841f(0x180)][_0x36841f(0x164)](_0x46d816,this,_0x36b60a,_0x4f40f0):null;}['getCellText'](_0x5a9211,_0x502c8b){const _0xe5b852=_0x1620aa;var _0x381d29,_0xff46cd;let _0x47b401=(_0x381d29=(0x0,_0x19f39c['getTableRangeById'])(this[_0xe5b852(0x16b)](),this[_0xe5b852(0x1c7)]))==null||(_0x381d29=_0x381d29[_0xe5b852(0xfd)][_0x5a9211])==null?void 0x0:_0x381d29[_0xe5b852(0x171)][_0x502c8b];return _0x47b401?((_0xff46cd=this[_0xe5b852(0x16b)]()[_0xe5b852(0x105)])==null?void 0x0:_0xff46cd['dataStream'][_0xe5b852(0x141)](_0x47b401[_0xe5b852(0x1c5)]+0x1,_0x47b401[_0xe5b852(0xf8)])[_0xe5b852(0x119)](/\r\n$/,''))??'':'';}[_0x1620aa(0x155)](_0x285930,_0x3339e1){const _0x327bf0=_0x1620aa;var _0x562ac1;let _0xbb314d=this[_0x327bf0(0x168)](),_0x1f7a09=_0xbb314d==null||(_0x562ac1=_0xbb314d[_0x327bf0(0x13e)][_0x285930])==null?void 0x0:_0x562ac1[_0x327bf0(0xfa)][_0x3339e1];return _0x1f7a09?_0x2e8565[_0x327bf0(0xfe)][_0x327bf0(0x13c)](_0x1f7a09[_0x327bf0(0x17e)]??_0xbb314d['cellMargin']??_0x19f39c[_0x327bf0(0x10c)]):null;}[_0x1620aa(0x1a9)](_0x5b846c,_0x10cb86){const _0x408325=_0x1620aa;var _0x4bd438;let _0x5d53a5=(_0x4bd438=this[_0x408325(0x168)]())==null||(_0x4bd438=_0x4bd438[_0x408325(0x13e)][_0x5b846c])==null?void 0x0:_0x4bd438[_0x408325(0xfa)][_0x10cb86];return _0x5d53a5!=null&&_0x5d53a5[_0x408325(0x17e)]?_0x2e8565[_0x408325(0xfe)][_0x408325(0x13c)](_0x5d53a5[_0x408325(0x17e)]):null;}[_0x1620aa(0x198)](){const _0x22ba3e=_0x1620aa;var _0x1118ba;return _0x2e8565[_0x22ba3e(0xfe)][_0x22ba3e(0x13c)](((_0x1118ba=this[_0x22ba3e(0x168)]())==null?void 0x0:_0x1118ba[_0x22ba3e(0x121)])??_0x19f39c[_0x22ba3e(0x10c)]);}[_0x1620aa(0x11e)](){const _0x30fe60=_0x1620aa;var _0x1a2daa;let _0x405abc=(_0x1a2daa=this[_0x30fe60(0x168)]())==null?void 0x0:_0x1a2daa[_0x30fe60(0x121)];return _0x405abc?_0x2e8565[_0x30fe60(0xfe)][_0x30fe60(0x13c)](_0x405abc):null;}['getMetadata'](){const _0x5aaffd=_0x1620aa;let _0x59fc6f=this[_0x5aaffd(0x180)]['get'](_0x19f39c['DocsTableModel']),_0x37f237=this['getSource']();return _0x37f237?_0x59fc6f[_0x5aaffd(0x1ae)](this[_0x5aaffd(0x14c)],_0x37f237):void 0x0;}['getSource'](){const _0x5e5a17=_0x1620aa;var _0x434cc1;return(_0x434cc1=this[_0x5e5a17(0x16b)]()[_0x5e5a17(0x1a5)])==null?void 0x0:_0x434cc1[this[_0x5e5a17(0x1c7)]];}['getRange'](){const _0x20f0b5=_0x1620aa;return(0x0,_0x19f39c[_0x20f0b5(0x130)])(this['_getDocumentData'](),this['_tableId']);}['getTableRange'](){const _0x3c99a4=_0x1620aa;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x3c99a4(0x160)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x3c99a4(0x122)](0x0,this['getColumnCount']()-0x1)};}[_0x1620aa(0x145)](_0x293b99,_0x25c2c3){return{'startRow':_0x293b99,'endRow':_0x293b99,'startColumn':_0x25c2c3,'endColumn':_0x25c2c3};}[_0x1620aa(0x17f)](_0x5996de,_0x1674bd){const _0x168548=_0x1620aa;var _0x5a9fa2;let _0x178476=(_0x5a9fa2=(0x0,_0x19f39c[_0x168548(0x130)])(this[_0x168548(0x16b)](),this[_0x168548(0x1c7)]))==null||(_0x5a9fa2=_0x5a9fa2[_0x168548(0xfd)][_0x5996de])==null?void 0x0:_0x5a9fa2[_0x168548(0x171)][_0x1674bd];if(!_0x178476)return null;let _0x1e7f56=_0x178476[_0x168548(0x1c5)]+0x1;return{'startOffset':_0x1e7f56,'endOffset':Math[_0x168548(0x122)](_0x1e7f56,_0x178476[_0x168548(0xf8)]-0x1),'segmentId':this[_0x168548(0x103)]};}['getCellInsertOffset'](_0x4c810d,_0x47326e){const _0x5a51a6=_0x1620aa;let _0x40e877=this[_0x5a51a6(0x17f)](_0x4c810d,_0x47326e);return _0x40e877?Math[_0x5a51a6(0x122)](_0x40e877['startOffset'],_0x40e877['endOffset']-0x1):null;}[_0x1620aa(0x1a3)](_0x7df6f4){return this['getRowsRange'](_0x7df6f4,0x1);}[_0x1620aa(0x1ab)](_0x85d69e,_0x56d3c7=0x1){const _0x2aa674=_0x1620aa;return{'startRow':_0x85d69e,'endRow':_0x85d69e+_0x56d3c7-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x2aa674(0x1ca)]()-0x1)};}[_0x1620aa(0x1b8)](_0x2b0e51){return this['getColumnsRange'](_0x2b0e51,0x1);}[_0x1620aa(0xf1)](_0x599d13,_0x44cf7d=0x1){const _0x21e11b=_0x1620aa;return{'startRow':0x0,'endRow':Math[_0x21e11b(0x122)](0x0,this[_0x21e11b(0x160)]()-0x1),'startColumn':_0x599d13,'endColumn':_0x599d13+_0x44cf7d-0x1};}['selectTable'](){const _0x19ddf3=_0x1620aa;return this['selectRange'](this[_0x19ddf3(0x1a7)](),_0x19f39c['DocsTableSelectionKind'][_0x19ddf3(0xf2)]);}[_0x1620aa(0x1be)](_0x8bcea7){return this['selectRows'](_0x8bcea7,0x1);}['selectRows'](_0x4635e9,_0x518779=0x1){const _0x48b3ed=_0x1620aa;return this[_0x48b3ed(0x1cc)](this[_0x48b3ed(0x1ab)](_0x4635e9,_0x518779),_0x19f39c['DocsTableSelectionKind'][_0x48b3ed(0x156)]);}[_0x1620aa(0x109)](_0x234a69){const _0x319bd8=_0x1620aa;return this[_0x319bd8(0x1ba)](_0x234a69,0x1);}[_0x1620aa(0x1ba)](_0x464f47,_0x587746=0x1){const _0x3deb77=_0x1620aa;return this[_0x3deb77(0x1cc)](this[_0x3deb77(0xf1)](_0x464f47,_0x587746),_0x19f39c[_0x3deb77(0x12d)][_0x3deb77(0x112)]);}[_0x1620aa(0x151)](_0x497dd3,_0x2e0643){const _0x3cbf0a=_0x1620aa;return this[_0x3cbf0a(0x1cc)](this[_0x3cbf0a(0x145)](_0x497dd3,_0x2e0643),_0x19f39c['DocsTableSelectionKind'][_0x3cbf0a(0x125)]);}['selectRange'](_0x11d5c3,_0x258e09=_0x19f39c[_0x1620aa(0x12d)][_0x1620aa(0xef)]){const _0x2ad0e9=_0x1620aa;return this[_0x2ad0e9(0x180)][_0x2ad0e9(0x19a)](_0x19f39c[_0x2ad0e9(0x11d)])[_0x2ad0e9(0x138)]({..._0x11d5c3,'kind':_0x258e09,'segmentId':this['_segmentId'],'tableId':this[_0x2ad0e9(0x1c7)]}),!0x0;}[_0x1620aa(0x12b)](_0x570013){const _0x5e5e7a=_0x1620aa;return this[_0x5e5e7a(0x178)](_0x570013,0x1);}[_0x1620aa(0x158)](_0x1702c7){const _0x4ee932=_0x1620aa;return this[_0x4ee932(0x16f)](_0x1702c7,0x1);}['insertRowsBefore'](_0x34e5e1,_0x42caf5){const _0x120e99=_0x1620aa;let _0x333828=this[_0x120e99(0x16b)](),_0x34a292=(0x0,_0x19f39c[_0x120e99(0x147)])(_0x333828,this[_0x120e99(0x1c7)],_0x34e5e1,_0x42caf5,_0x19f39c['DocsTableInsertPosition'][_0x120e99(0x1a2)],this[_0x120e99(0x1a6)]());return _0x34a292?this[_0x120e99(0x120)](_0x333828,_0x34a292[_0x120e99(0x11c)]):!0x1;}[_0x1620aa(0x16f)](_0x540d2c,_0x1e54b3){const _0x51edf3=_0x1620aa;let _0x1adab7=this[_0x51edf3(0x16b)](),_0x18a4c6=(0x0,_0x19f39c['buildInsertTableRowsMutationActions'])(_0x1adab7,this[_0x51edf3(0x1c7)],_0x540d2c,_0x1e54b3,_0x19f39c['DocsTableInsertPosition']['Below'],this[_0x51edf3(0x1a6)]());return _0x18a4c6?this[_0x51edf3(0x120)](_0x1adab7,_0x18a4c6['actions']):!0x1;}[_0x1620aa(0x176)](){const _0xcfe4b5=_0x1620aa;return this[_0xcfe4b5(0x16f)](Math['max'](0x0,this[_0xcfe4b5(0x160)]()-0x1),0x1);}[_0x1620aa(0x18e)](_0x8f03d4){const _0x1b31c0=_0x1620aa;return this[_0x1b31c0(0x199)](_0x8f03d4,0x1);}[_0x1620aa(0x102)](_0x1b8547){const _0x4e177e=_0x1620aa;return this[_0x4e177e(0x182)](_0x1b8547,0x1);}[_0x1620aa(0x199)](_0x2137a5,_0x14e91f){const _0x9f0f2a=_0x1620aa;let _0x30a871=this[_0x9f0f2a(0x16b)](),_0x117989=(0x0,_0x19f39c['buildInsertTableColumnsMutationActions'])(_0x30a871,this['_tableId'],_0x2137a5,_0x14e91f,_0x19f39c[_0x9f0f2a(0x104)][_0x9f0f2a(0x1a8)],{'bodyPath':this[_0x9f0f2a(0x1a6)]()});return _0x117989?this[_0x9f0f2a(0x120)](_0x30a871,_0x117989[_0x9f0f2a(0x11c)]):!0x1;}['insertColumnsAfter'](_0x1a765f,_0x133319){const _0x1086a9=_0x1620aa;let _0x732c4c=this['_getDocumentData'](),_0x19501e=(0x0,_0x19f39c[_0x1086a9(0x172)])(_0x732c4c,this[_0x1086a9(0x1c7)],_0x1a765f,_0x133319,_0x19f39c[_0x1086a9(0x104)][_0x1086a9(0x12f)],{'bodyPath':this[_0x1086a9(0x1a6)]()});return _0x19501e?this[_0x1086a9(0x120)](_0x732c4c,_0x19501e[_0x1086a9(0x11c)]):!0x1;}[_0x1620aa(0x123)](){const _0x92e6ba=_0x1620aa;return this['insertColumnsAfter'](Math[_0x92e6ba(0x122)](0x0,this[_0x92e6ba(0x1ca)]()-0x1),0x1);}[_0x1620aa(0x19e)](_0x37a9e5){const _0x17f0a4=_0x1620aa;return this[_0x17f0a4(0x197)](_0x37a9e5,0x1);}[_0x1620aa(0x197)](_0x5b1146,_0xef6d37=0x1){const _0x4849e0=_0x1620aa;return!!this[_0x4849e0(0xf9)][_0x4849e0(0x1bf)](_0x19f39c[_0x4849e0(0x1ac)]['id'],{'endRow':_0x5b1146+_0xef6d37-0x1,'segmentId':this[_0x4849e0(0x103)],'startRow':_0x5b1146,'tableId':this[_0x4849e0(0x1c7)],'unitId':this['_unitId']});}[_0x1620aa(0xf0)](_0x4b7048){const _0x4652cb=_0x1620aa;return this[_0x4652cb(0x170)](_0x4b7048,0x1);}['deleteColumns'](_0x5efb73,_0x25e383=0x1){const _0x1e59f0=_0x1620aa;return!!this[_0x1e59f0(0xf9)]['syncExecuteCommand'](_0x19f39c['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x5efb73+_0x25e383-0x1,'segmentId':this['_segmentId'],'startColumn':_0x5efb73,'tableId':this['_tableId'],'unitId':this[_0x1e59f0(0x14c)]});}[_0x1620aa(0x1a4)](){const _0xbd6a9c=_0x1620aa;return!!this[_0xbd6a9c(0xf9)][_0xbd6a9c(0x1bf)](_0x19f39c[_0xbd6a9c(0x16a)]['id'],{'segmentId':this['_segmentId'],'tableId':this['_tableId'],'unitId':this[_0xbd6a9c(0x14c)]});}[_0x1620aa(0x18b)](_0x442e43,_0x3d11bf){const _0x2cd1c7=_0x1620aa;let _0x20beaf=this[_0x2cd1c7(0x16b)]();return this[_0x2cd1c7(0x120)](_0x20beaf,(0x0,_0x19f39c[_0x2cd1c7(0x10a)])(_0x20beaf,this[_0x2cd1c7(0x1c7)],_0x442e43,_0x3d11bf));}[_0x1620aa(0x128)](_0x329766){const _0x26890f=_0x1620aa;let _0x2060e9=this[_0x26890f(0x16b)]();return this[_0x26890f(0x120)](_0x2060e9,(0x0,_0x19f39c['buildMoveTableToOffsetMutationActions'])(_0x2060e9,this['_tableId'],_0x329766,this[_0x26890f(0x1a6)]()));}[_0x1620aa(0x174)](_0x1eb362,_0x44b97e,_0x754a41=_0x19f39c[_0x1620aa(0x104)]['Above']){const _0x546289=_0x1620aa;return this[_0x546289(0x1c9)](_0x1eb362,0x1,_0x44b97e,_0x754a41);}[_0x1620aa(0x1c9)](_0x1d4ad7,_0x2726a0,_0x7c85f4,_0x5ebfa2=_0x19f39c['DocsTableInsertPosition'][_0x1620aa(0x1a2)]){const _0x42bdba=_0x1620aa;let _0x37a630=this[_0x42bdba(0x16b)](),_0x530967=(0x0,_0x19f39c[_0x42bdba(0x1c0)])(_0x37a630,this[_0x42bdba(0x1c7)],_0x1d4ad7,_0x7c85f4,_0x2726a0,_0x5ebfa2,this[_0x42bdba(0x1a6)]());return _0x530967?this[_0x42bdba(0x120)](_0x37a630,_0x530967['actions']):!0x1;}['moveColumn'](_0x23e8cc,_0x576388,_0x11b2e0=_0x19f39c[_0x1620aa(0x104)]['Left']){return this['moveColumns'](_0x23e8cc,0x1,_0x576388,_0x11b2e0);}[_0x1620aa(0x183)](_0x50f8a9,_0x38bb92,_0x148f8b,_0x1121a5=_0x19f39c['DocsTableInsertPosition'][_0x1620aa(0x1a8)]){const _0x18a6f1=_0x1620aa;let _0x2b5a1b=this[_0x18a6f1(0x16b)](),_0x5a47de=(0x0,_0x19f39c['buildMoveTableColumnsMutationActions'])(_0x2b5a1b,this[_0x18a6f1(0x1c7)],_0x50f8a9,_0x148f8b,_0x38bb92,_0x1121a5,this['_getBodyPath']());return _0x5a47de?this[_0x18a6f1(0x120)](_0x2b5a1b,_0x5a47de[_0x18a6f1(0x11c)]):!0x1;}[_0x1620aa(0x14b)](_0x130535){const _0x1bcabd=_0x1620aa;try{let _0x30f41f=this[_0x1bcabd(0x16b)](),_0x4b94f4=(0x0,_0x19f39c['buildMergeCellsMutationActions'])({'documentData':_0x30f41f,'tableId':this[_0x1bcabd(0x1c7)],..._0x130535});return _0x4b94f4?this[_0x1bcabd(0x120)](_0x30f41f,_0x4b94f4['actions'],_0x130535):!0x1;}catch{return!0x1;}}[_0x1620aa(0x19d)](_0x360a11){const _0x265fb2=_0x1620aa;try{let _0x864865=this[_0x265fb2(0x16b)](),_0x42cdd9=(0x0,_0x19f39c[_0x265fb2(0x108)])({'documentData':_0x864865,'tableId':this[_0x265fb2(0x1c7)],..._0x360a11});return _0x42cdd9?this['_mutateActions'](_0x864865,_0x42cdd9[_0x265fb2(0x11c)],_0x360a11):!0x1;}catch{return!0x1;}}[_0x1620aa(0x1bd)](_0x4351ee,_0x158b7a,_0x4219b5){const _0x418270=_0x1620aa;let _0x43cbf5=this[_0x418270(0x16b)](),_0x2be960=(0x0,_0x19f39c[_0x418270(0x116)])(this['_document'][_0x418270(0x13b)]()[_0x418270(0x191)](),this[_0x418270(0x103)]);return this[_0x418270(0x120)](_0x43cbf5,(0x0,_0x19f39c[_0x418270(0x14f)])({'documentData':_0x43cbf5,'tableId':this[_0x418270(0x1c7)],'row':_0x4351ee,'column':_0x158b7a,'text':_0x4219b5},_0x2be960),this[_0x418270(0x145)](_0x4351ee,_0x158b7a));}[_0x1620aa(0x16e)](_0x516f39,_0x4bbc7e){const _0x20f275=_0x1620aa;let _0x7d7fe2=this[_0x20f275(0x16b)]();return this[_0x20f275(0x120)](_0x7d7fe2,(0x0,_0x19f39c[_0x20f275(0x17d)])(_0x7d7fe2,{'tableId':this[_0x20f275(0x1c7)],..._0x516f39,'value':_0x4bbc7e}),_0x516f39);}[_0x1620aa(0x11a)](_0x3ffd4b,_0x38ea0c){const _0x328ea1=_0x1620aa;let _0xd2523=this[_0x328ea1(0x16b)]();return this[_0x328ea1(0x120)](_0xd2523,(0x0,_0x19f39c['buildSetTableCellMarginMutationActions'])({'documentData':_0xd2523,'tableId':this[_0x328ea1(0x1c7)],..._0x3ffd4b,'margin':_0x38ea0c}),_0x3ffd4b);}[_0x1620aa(0x11b)](_0x39f408){const _0x49cbd4=_0x1620aa;let _0x170327=this[_0x49cbd4(0x16b)]();return this[_0x49cbd4(0x120)](_0x170327,(0x0,_0x19f39c[_0x49cbd4(0x1c2)])(_0x170327,this[_0x49cbd4(0x1c7)],_0x39f408));}['setBorder'](_0x35f285,_0x32ec5a){const _0x43eb0b=_0x1620aa;let _0x58509f=this[_0x43eb0b(0x16b)]();return this[_0x43eb0b(0x120)](_0x58509f,this[_0x43eb0b(0x142)](_0x58509f,_0x35f285,_0x32ec5a),_0x35f285);}['setTableBackground'](_0x3e56d2){const _0x6bd9e6=_0x1620aa;return this[_0x6bd9e6(0x16e)](this['getTableRange'](),_0x3e56d2);}[_0x1620aa(0x179)](_0x2f0d46){const _0x3c7e70=_0x1620aa;return this[_0x3c7e70(0x149)](this[_0x3c7e70(0x1a7)](),_0x2f0d46);}[_0x1620aa(0xf3)](_0x2c8eb3){const _0x1e7f46=_0x1620aa;let _0x24bfa8=this['_getDocumentData'](),_0x376b30=this[_0x1e7f46(0x1a7)](),_0x3b92a1=_0x2c8eb3[_0x1e7f46(0xea)]?(0x0,_0x19f39c[_0x1e7f46(0x17d)])(_0x24bfa8,{'tableId':this[_0x1e7f46(0x1c7)],..._0x376b30,'value':_0x2c8eb3[_0x1e7f46(0xea)]}):null,_0x4d1db7=_0x2c8eb3['border']?this[_0x1e7f46(0x142)](_0x24bfa8,_0x376b30,_0x2c8eb3[_0x1e7f46(0x136)]):null;return this[_0x1e7f46(0x120)](_0x24bfa8,_0x2e8565['JSONX']['compose'](_0x3b92a1,_0x4d1db7),_0x376b30);}[_0x1620aa(0x194)](_0x599104,_0x50d66a,_0x32614a=_0x2e8565['TableRowHeightRule'][_0x1620aa(0xec)]){const _0x56efad=_0x1620aa;var _0x11beb9;let _0xbf28a9=this[_0x56efad(0x16b)]();return(_0x11beb9=_0xbf28a9['tableSource'])!=null&&(_0x11beb9=_0x11beb9[this[_0x56efad(0x1c7)]])!=null&&_0x11beb9[_0x56efad(0x13e)][_0x599104]?this[_0x56efad(0x120)](_0xbf28a9,(0x0,_0x19f39c[_0x56efad(0x133)])(_0xbf28a9,this[_0x56efad(0x1c7)],_0x599104,_0x50d66a,_0x32614a)):!0x1;}['getRowHeight'](_0x1479e4){const _0x22b0d2=_0x1620aa;var _0x45168b;let _0x3faafc=(_0x45168b=this['getSource']())==null||(_0x45168b=_0x45168b[_0x22b0d2(0x13e)][_0x1479e4])==null?void 0x0:_0x45168b['trHeight'];return _0x3faafc?_0x2e8565['Tools'][_0x22b0d2(0x13c)](_0x3faafc):null;}['setColumnWidth'](_0x909ed9,_0x42a2b3){const _0x5aa190=_0x1620aa;var _0x22db5a;let _0x4f5b62=this['_getDocumentData']();return(_0x22db5a=_0x4f5b62[_0x5aa190(0x1a5)])!=null&&(_0x22db5a=_0x22db5a[this[_0x5aa190(0x1c7)]])!=null&&_0x22db5a[_0x5aa190(0x132)][_0x909ed9]?this['_mutateActions'](_0x4f5b62,(0x0,_0x19f39c[_0x5aa190(0x15f)])(_0x4f5b62,this[_0x5aa190(0x1c7)],_0x909ed9,_0x42a2b3)):!0x1;}[_0x1620aa(0x1bc)](_0x4d2d8f=0x0,_0x36ab7a=this['getRowCount']()){const _0x17bc12=_0x1620aa;let _0x531fed=this[_0x17bc12(0x16b)]();return this[_0x17bc12(0x120)](_0x531fed,(0x0,_0x19f39c[_0x17bc12(0x118)])(_0x531fed,this[_0x17bc12(0x1c7)],_0x4d2d8f,_0x4d2d8f+_0x36ab7a-0x1));}[_0x1620aa(0x144)](_0x5f41d7=0x0,_0x579e4a=this['getColumnCount']()){const _0x4dab90=_0x1620aa;let _0x57c3dd=this[_0x4dab90(0x16b)]();return this[_0x4dab90(0x120)](_0x57c3dd,(0x0,_0x19f39c['buildDistributeTableColumnsMutationActions'])(_0x57c3dd,this[_0x4dab90(0x1c7)],_0x5f41d7,_0x5f41d7+_0x579e4a-0x1));}[_0x1620aa(0x15a)](){const _0x17d0c7=_0x1620aa;var _0x39c48e;return((_0x39c48e=this[_0x17d0c7(0x15e)]())==null?void 0x0:_0x39c48e[_0x17d0c7(0x1c1)])??0x0;}[_0x1620aa(0x107)](_0x3bfc08){const _0x349c45=_0x1620aa;let _0x3e3558=this[_0x349c45(0x16b)](),_0x5f59f9=(0x0,_0x19f39c[_0x349c45(0x1c4)])(_0x3e3558,this['_tableId'],_0x3bfc08);return _0x5f59f9?this[_0x349c45(0x120)](_0x3e3558,_0x5f59f9[_0x349c45(0x11c)]):!0x1;}[_0x1620aa(0x106)](_0x4acbfd){const _0x1bc9b9=_0x1620aa;return this[_0x1bc9b9(0x107)](_0x4acbfd);}[_0x1620aa(0x126)](){const _0x31cfb2=_0x1620aa;var _0x30f767;return((_0x30f767=this[_0x31cfb2(0x15e)]())==null?void 0x0:_0x30f767[_0x31cfb2(0x18d)])??!0x1;}[_0x1620aa(0x18f)](){const _0x4b3a50=_0x1620aa;let _0x1a3961=this[_0x4b3a50(0x16b)](),_0x411eba=(0x0,_0x19f39c['buildInsertTableTitleRowMutationActions'])(_0x1a3961,this[_0x4b3a50(0x1c7)],this['_getBodyPath']());return _0x411eba?this[_0x4b3a50(0x120)](_0x1a3961,_0x411eba[_0x4b3a50(0x11c)]):!0x1;}[_0x1620aa(0x193)](_0x3a0042,_0x38c758){const _0x2da4e7=_0x1620aa;return!!this[_0x2da4e7(0xf9)][_0x2da4e7(0x1bf)](_0x19f39c[_0x2da4e7(0x129)]['id'],{'unitId':this[_0x2da4e7(0x14c)],'tableId':this[_0x2da4e7(0x1c7)],'segmentId':this[_0x2da4e7(0x103)],'column':_0x3a0042,'config':_0x38c758});}[_0x1620aa(0x10f)](_0x985eb4,_0x24e46c){const _0x390db9=_0x1620aa;let _0x2ac4e7=this[_0x390db9(0x16b)]();return this['_mutateActions'](_0x2ac4e7,(0x0,_0x19f39c[_0x390db9(0x10b)])(_0x2ac4e7,this[_0x390db9(0x173)](),this['_tableId'],_0x985eb4,_0x24e46c,this[_0x390db9(0x1a6)]()));}[_0x1620aa(0x142)](_0x19177a,_0x2a6c42,_0x3cb447){const _0x5cccb6=_0x1620aa;return(0x0,_0x19f39c['buildSetTableBorderMutationActions'])({'documentData':_0x19177a,'tableId':this['_tableId'],..._0x2a6c42,'preset':_0x3cb447[_0x5cccb6(0x1af)]??_0x19f39c[_0x5cccb6(0x17b)][_0x5cccb6(0x124)],'border':_0x3cb447[_0x5cccb6(0x136)]??{'color':{'rgb':_0x3cb447['color']??this[_0x5cccb6(0x180)][_0x5cccb6(0x19a)](_0x2e8565[_0x5cccb6(0x185)])[_0x5cccb6(0x1c8)](_0x5cccb6(0xf6))},'width':{'v':_0x3cb447[_0x5cccb6(0x1c3)]??0x1},'dashStyle':_0x2e8565[_0x5cccb6(0x1b1)][_0x5cccb6(0x161)]}});}[_0x1620aa(0x16b)](){const _0x108d1a=_0x1620aa;let _0xb7df44=this['_document']['getDocumentDataModel']()[_0x108d1a(0x191)]();return this[_0x108d1a(0x103)]?{...this[_0x108d1a(0x1b7)]['getDocumentDataModel'](this[_0x108d1a(0x103)])[_0x108d1a(0x191)](),'documentStyle':_0xb7df44[_0x108d1a(0x148)],'tableSource':_0xb7df44[_0x108d1a(0x1a5)]}:_0xb7df44;}[_0x1620aa(0x173)](){const _0x167e8f=_0x1620aa;return this['_injector']['get'](_0x19f39c['DocsTableModel'])[_0x167e8f(0x188)](this[_0x167e8f(0x14c)],this['_document'][_0x167e8f(0x13b)]()[_0x167e8f(0x191)]());}[_0x1620aa(0x1a6)](){const _0x1f56ac=_0x1620aa;return(0x0,_0x19f39c[_0x1f56ac(0x116)])(this[_0x1f56ac(0x1b7)][_0x1f56ac(0x13b)]()[_0x1f56ac(0x191)](),this[_0x1f56ac(0x103)]);}[_0x1620aa(0x120)](_0x4c344a,_0x9c6553,_0x368fe8){const _0x5cee1a=_0x1620aa;return(0x0,_0x19f39c[_0x5cee1a(0x135)])(this[_0x5cee1a(0xf9)],this[_0x5cee1a(0x14c)],_0x4c344a,_0x9c6553,_0x368fe8?{'tableId':this[_0x5cee1a(0x1c7)],'segmentId':this[_0x5cee1a(0x103)],..._0x368fe8}:void 0x0);}};_0x14dc85=_0x4f5b6f([_0x5bedc2(0x3,_0x2e8565['ICommandService']),_0x5bedc2(0x4,(0x0,_0x2e8565[_0x1620aa(0x100)])(_0x2e8565[_0x1620aa(0x175)]))],_0x14dc85);var _0x11dde3=class extends _0x127995['FDocument']{[_0x1620aa(0x13f)](_0x4b0257=''){const _0x56fbef=_0x1620aa;return this['_getTables'](_0x4b0257)['map'](_0xf113af=>this[_0x56fbef(0x117)](_0xf113af['tableId'],_0x4b0257));}['getTable'](_0xcc30e1,_0x510275=''){const _0x54c820=_0x1620aa;return this[_0x54c820(0x1b5)](_0x510275)[_0x54c820(0x14e)](_0x3879c1=>_0x3879c1['tableId']===_0xcc30e1)?this['_createFDocumentTable'](_0xcc30e1,_0x510275):null;}[_0x1620aa(0x152)](_0x3cb448,_0x25e4ca=''){const _0x43323f=_0x1620aa;var _0x5b99c6;let _0xfdd494=(_0x5b99c6=this[_0x43323f(0x1b5)](_0x25e4ca)[_0x3cb448])==null?void 0x0:_0x5b99c6[_0x43323f(0x154)];return _0xfdd494?this[_0x43323f(0x117)](_0xfdd494,_0x25e4ca):null;}[_0x1620aa(0x1aa)](){const _0x1ad1e3=_0x1620aa;let _0x547391=this[_0x1ad1e3(0x180)][_0x1ad1e3(0x19a)](_0x19f39c[_0x1ad1e3(0x11d)])[_0x1ad1e3(0x153)]();return _0x547391!=null&&_0x547391['tableId']?this[_0x1ad1e3(0x117)](_0x547391[_0x1ad1e3(0x154)],_0x547391[_0x1ad1e3(0x17c)]):null;}[_0x1620aa(0x146)](_0x151a4f,_0x26eeda=''){const _0x72f436=_0x1620aa;return this[_0x72f436(0x186)](_0x151a4f,_0x26eeda)[0x0]??null;}[_0x1620aa(0x186)](_0x55a4e5,_0x4feb59=''){const _0xfc6144=_0x1620aa;let _0x19e400=this['_getTableDocumentData'](_0x4feb59),_0x40666f=typeof _0x55a4e5==_0xfc6144(0x131)?{'text':_0x55a4e5}:_0x55a4e5;return this[_0xfc6144(0x13f)](_0x4feb59)[_0xfc6144(0xed)](_0x2b0b8c=>{const _0x41cd72=_0xfc6144;let _0x287f3c=_0x2b0b8c[_0x41cd72(0x19b)]();return!(_0x40666f[_0x41cd72(0x154)]&&_0x287f3c!==_0x40666f[_0x41cd72(0x154)]||_0x40666f[_0x41cd72(0x169)]&&!this[_0x41cd72(0x12c)](_0x19e400,_0x287f3c,_0x40666f[_0x41cd72(0x169)])||_0x40666f[_0x41cd72(0x11f)]&&!this[_0x41cd72(0x187)](_0x2b0b8c,0x0,_0x40666f[_0x41cd72(0x11f)])||_0x40666f['titleText']&&!this[_0x41cd72(0x187)](_0x2b0b8c,0x0,_0x40666f[_0x41cd72(0x165)]));});}[_0x1620aa(0x114)](_0x2e8424,_0x108534,_0x26cd76={}){const _0x28c47c=_0x1620aa;let _0x1ba618=this[_0x28c47c(0x180)][_0x28c47c(0x19a)](_0x2e8565[_0x28c47c(0xee)]),_0x12b947=_0x26cd76['tableId']??(0x0,_0x2e8565[_0x28c47c(0x12e)])(0x6);return _0x1ba618['syncExecuteCommand'](_0x19f39c[_0x28c47c(0x1b6)]['id'],{..._0x26cd76,'unitId':this[_0x28c47c(0x19b)](),'rows':_0x2e8424,'columns':_0x108534,'tableId':_0x12b947})?this['_createFDocumentTable'](_0x12b947,_0x26cd76[_0x28c47c(0x17c)]??''):null;}[_0x1620aa(0x166)](_0x56550d,_0x18ce13={}){const _0x34615e=_0x1620aa;let _0x4be2ef=this[_0x34615e(0x180)][_0x34615e(0x19a)](_0x2e8565[_0x34615e(0xee)]),_0x20b82a=_0x18ce13[_0x34615e(0x154)]??(0x0,_0x2e8565[_0x34615e(0x12e)])(0x6);return _0x4be2ef[_0x34615e(0x1bf)](_0x19f39c[_0x34615e(0x1b6)]['id'],{..._0x18ce13,'unitId':this[_0x34615e(0x19b)](),'values':_0x56550d,'tableId':_0x20b82a})?this[_0x34615e(0x117)](_0x20b82a,_0x18ce13['segmentId']??''):null;}[_0x1620aa(0x1b5)](_0x3914a3=''){const _0x4a30bf=_0x1620aa;let {tables:_0x4ce60c=[]}=this[_0x4a30bf(0x143)](_0x3914a3);return _0x4ce60c;}[_0x1620aa(0x190)](_0x3259f3=''){const _0x17735e=_0x1620aa;let _0x4c4dd1=this['getDocumentDataModel']()['getSnapshot']();return _0x3259f3?{...this[_0x17735e(0x13b)](_0x3259f3)['getSnapshot'](),'documentStyle':_0x4c4dd1[_0x17735e(0x148)],'tableSource':_0x4c4dd1[_0x17735e(0x1a5)]}:_0x4c4dd1;}['_createFDocumentTable'](_0x2b230c,_0x2f6e63=''){const _0x2dee96=_0x1620aa;return this[_0x2dee96(0x180)][_0x2dee96(0x164)](_0x14dc85,this,_0x2b230c,_0x2f6e63);}[_0x1620aa(0x12c)](_0x558f0e,_0x76c90d,_0x1bdcda){const _0x149cd1=_0x1620aa;var _0x3d0dcb;let _0x4743c9=(0x0,_0x19f39c[_0x149cd1(0x130)])(_0x558f0e,_0x76c90d);if(!_0x4743c9)return!0x1;let _0x44a5b0=(_0x3d0dcb=_0x558f0e[_0x149cd1(0x105)])==null?void 0x0:_0x3d0dcb[_0x149cd1(0x15d)];return _0x44a5b0?_0x44a5b0[_0x149cd1(0x141)](_0x4743c9[_0x149cd1(0x1c5)],_0x4743c9[_0x149cd1(0xf8)])[_0x149cd1(0x134)](_0x1bdcda):!0x1;}[_0x1620aa(0x187)](_0x13fce9,_0x133b47,_0x12e60c){const _0x58bae6=_0x1620aa;return Array[_0x58bae6(0x13d)]({'length':_0x13fce9[_0x58bae6(0x1ca)]()},(_0x3521a1,_0x2f5155)=>_0x13fce9['getCellText'](_0x133b47,_0x2f5155))[_0x58bae6(0x14e)](_0x2fea15=>_0x2fea15[_0x58bae6(0x134)](_0x12e60c));}};_0x127995[_0x1620aa(0x1bb)][_0x1620aa(0x177)](_0x11dde3),Object[_0x1620aa(0xeb)](_0x242d79,'FDocumentTable',{'enumerable':!0x0,'get':function(){return _0x14dc85;}}),_0x242d79['FDocumentTableCell']=_0x46d816;}));
1
+ function _0x350c(){const _0x1aa57f=['buildInsertTableRowsMutationActions','deleteColumns','getTableRange','setHeaderRowCount','_tableContainsText','selectColumns','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','color','setRowHeight','Tools','getTableRangeById','getRange','_buildBorderActions','getCellContentRange','Row','getColorFromTheme','setDefaultCellMargin','map','DocsTableRowInsertPosition','getMetadata','_unitId','deleteRows','buildMoveTableColumnsMutationActions','size','moveColumns','deleteRow','_segmentId','body','_column','SOLID','buildInsertTableColumnsMutationActions','setCellText','cellMargin','getDocumentDataModel','backgroundColor','setBorder','UniverProDocsTable','setTableBackground','Inject','sortByColumn','insertColumnsAfter','some','Cell','UniverCoreFacade','getCellMarginOverride','insertTable','insertRowsAfter','length','DocsTableColumnType','preset','border','distributeColumns','buildMoveTableRowsMutationActions','findTables','Range','selectRange','serializeDocument','toStringTag','compose','UniverProDocsTableFacade','669LlFYIp','getMargin','getContentRange','deepClone','Left','801636iDrtGG','max','trHeight','getTableAtSelection','ThemeService','columnTypes','Right','DocsTableInsertPosition','text','setColumnWidth','_row','margin','moveRows','843543KayibC','Above','from','appendRow','FDocument','dataStream','DocsTableDeleteTableCommand','getCellText','endOffset','buildInsertTableTitleRowMutationActions','setTableBorder','pinHeaderRows','insertRowsBefore','generateRandomId','getColumnRange','FEnum','string','actions','moveRow','buildMoveTableToOffsetMutationActions','insertColumnAfter','width','Module','deleteColumn','setText','getCellRange','getTables','_getTableDocumentData','_commandService','tableId','DocsTableColumnInsertPosition','documentStyle','tableCells','TableRowHeightRule','getColumnsRange','rows','_document','72EMptcR','appendColumn','@univerjs/core/facade','UniverDocsFacade','findTableByText','DocsTableSelectionKind','type','_table','buildMergeCellsMutationActions','getRowsRange','buildUnmergeCellsMutationActions','getSnapshot','get','FDocumentTable','getCell','ICommandService','_getTables','startOffset','symbol','moveColumn','@univerjs-pro/docs-table','buildResizeTableColumnActionsFromWidth','function','buildSetTableDefaultCellMarginMutationActions','getTableAt','tableColumns','selectRows','DocsTableBorderPreset','headerText','buildSetTableHeaderRowCountMutationActions','DocsTableInsertTablePosition','buildMoveFloatingTableMutationActions','createInstance','selectCell','unmerge','includes','mergeTo','buildDistributeTableRowsMutationActions','_createFDocumentTable','buildSortTableMutationActions','insertColumnBefore','DocsTableInsertTableCommand','titleRow','getCellInsertOffset','All','cells','default','AT_LEAST','filter','2324dBueEv','tableSource','distributeRows','insertColumnsBefore','_getBodyPath','setStructuralSelection','call','buildResizeTableRowActionsFromHeight','replace','Below','segmentId','syncExecuteCommand','844327UGQaXC','6631674wSXwLN','DEFAULT_DOCS_TABLE_CELL_MARGIN','getRowCount','selectTable','gray.900','setCellBackground','getCellMargin','getTable','insertTitleRow','slice','buildSetTableBackgroundMutationActions','moveTableToOffset','insertRowAfter','extend','moveTableBy','buildDistributeTableColumnsMutationActions','unmergeCells','_tableId','getSource','mergeCells','setTableStyle','headerRowCount','DocsTableModel','getInsertOffset','setCellMargin','_rowContainsText','_getDocumentData','getColumnCount','_mutateActions','buildSetTableCellMarginMutationActions','6597480fWncEy','Table','defineProperty','tableRows','_injector','getId','DashStyleType','titleText','selectColumn','getColumnIndex','clearMarginOverride','_serializeModel','getRowRange','iterator','7042926krfohs','object'];_0x350c=function(){return _0x1aa57f;};return _0x350c();}function _0x2ba0(_0x3c2cd7,_0x5ac329){_0x3c2cd7=_0x3c2cd7-0x1a5;const _0x350cc0=_0x350c();let _0x2ba0c0=_0x350cc0[_0x3c2cd7];return _0x2ba0c0;}(function(_0x551cf2,_0x47162e){const _0x123b7d=_0x2ba0,_0x281040=_0x551cf2();while(!![]){try{const _0x18f643=-parseInt(_0x123b7d(0x21a))/0x1+-parseInt(_0x123b7d(0x1ab))/0x2+parseInt(_0x123b7d(0x1a6))/0x3*(parseInt(_0x123b7d(0x20e))/0x4)+parseInt(_0x123b7d(0x239))/0x5+-parseInt(_0x123b7d(0x247))/0x6+parseInt(_0x123b7d(0x21b))/0x7+-parseInt(_0x123b7d(0x1dd))/0x8*(-parseInt(_0x123b7d(0x1b8))/0x9);if(_0x18f643===_0x47162e)break;else _0x281040['push'](_0x281040['shift']());}catch(_0x254558){_0x281040['push'](_0x281040['shift']());}}}(_0x350c,0xc871a),function(_0x228ef8,_0x31e494){const _0x2a90e9=_0x2ba0;typeof exports==_0x2a90e9(0x248)&&typeof module<'u'?_0x31e494(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x2a90e9(0x1f3)&&define['amd']?define(['exports',_0x2a90e9(0x1f1),'@univerjs/core',_0x2a90e9(0x1df),'@univerjs/docs/facade'],_0x31e494):(_0x228ef8=typeof globalThis<'u'?globalThis:_0x228ef8||self,_0x31e494(_0x228ef8[_0x2a90e9(0x1a5)]={},_0x228ef8[_0x2a90e9(0x26d)],_0x228ef8['UniverCore'],_0x228ef8[_0x2a90e9(0x274)],_0x228ef8[_0x2a90e9(0x1e0)]));}(this,function(_0x5e4f39,_0x2de058,_0x3cc9fb,_0x5214b1,_0x319cfb){const _0x2a6225=_0x2ba0;Object[_0x2a6225(0x23b)](_0x5e4f39,Symbol[_0x2a6225(0x282)],{'value':_0x2a6225(0x1ce)});var _0x1b3d71=class extends _0x5214b1['FEnum']{get[_0x2a6225(0x1fb)](){const _0x3c7aac=_0x2a6225;return _0x2de058[_0x3c7aac(0x1fb)];}get[_0x2a6225(0x279)](){const _0x4f0bb4=_0x2a6225;return _0x2de058[_0x4f0bb4(0x279)];}get[_0x2a6225(0x1e2)](){return _0x2de058['DocsTableSelectionKind'];}get[_0x2a6225(0x25b)](){return _0x2de058['DocsTableRowInsertPosition'];}get[_0x2a6225(0x1d6)](){const _0x2198a0=_0x2a6225;return _0x2de058[_0x2198a0(0x1d6)];}get[_0x2a6225(0x1f8)](){return _0x2de058['DocsTableBorderPreset'];}get['DocsTableSortDirection'](){return _0x2de058['DocsTableSortDirection'];}get['DashStyleType'](){return _0x3cc9fb['DashStyleType'];}};_0x5214b1[_0x2a6225(0x1c7)][_0x2a6225(0x228)](_0x1b3d71);var _0x444506=class{constructor(_0x27c914,_0x3143d2,_0x10ea80){const _0x384925=_0x2a6225;this['_table']=_0x27c914,this[_0x384925(0x1b5)]=_0x3143d2,this['_column']=_0x10ea80;}[_0x2a6225(0x222)](){const _0x36a2c4=_0x2a6225;return this[_0x36a2c4(0x1e4)];}['getRowIndex'](){return this['_row'];}[_0x2a6225(0x242)](){const _0x5dfa4e=_0x2a6225;return this[_0x5dfa4e(0x265)];}['getText'](){const _0x38d61c=_0x2a6225;return this['_table'][_0x38d61c(0x1bf)](this[_0x38d61c(0x1b5)],this['_column']);}[_0x2a6225(0x1a8)](){const _0x121742=_0x2a6225;return this[_0x121742(0x1e4)][_0x121742(0x256)](this[_0x121742(0x1b5)],this[_0x121742(0x265)]);}[_0x2a6225(0x232)](){const _0x4afd7c=_0x2a6225;return this[_0x4afd7c(0x1e4)]['getCellInsertOffset'](this[_0x4afd7c(0x1b5)],this[_0x4afd7c(0x265)]);}[_0x2a6225(0x1a7)](){const _0x16cd51=_0x2a6225;return this[_0x16cd51(0x1e4)][_0x16cd51(0x221)](this[_0x16cd51(0x1b5)],this[_0x16cd51(0x265)]);}['getMarginOverride'](){const _0x5a95fb=_0x2a6225;return this[_0x5a95fb(0x1e4)]['getCellMarginOverride'](this[_0x5a95fb(0x1b5)],this[_0x5a95fb(0x265)]);}['setMargin'](_0x194fbc){const _0x1bd11a=_0x2a6225;return this[_0x1bd11a(0x1e4)][_0x1bd11a(0x233)](this[_0x1bd11a(0x1e4)][_0x1bd11a(0x1d1)](this[_0x1bd11a(0x1b5)],this['_column']),_0x194fbc);}[_0x2a6225(0x243)](){const _0x42f9ce=_0x2a6225;return this[_0x42f9ce(0x1e4)][_0x42f9ce(0x233)](this[_0x42f9ce(0x1e4)][_0x42f9ce(0x1d1)](this[_0x42f9ce(0x1b5)],this[_0x42f9ce(0x265)]),null);}[_0x2a6225(0x1d0)](_0x31e4c5){const _0x24d8e9=_0x2a6225;return this[_0x24d8e9(0x1e4)][_0x24d8e9(0x268)](this['_row'],this[_0x24d8e9(0x265)],_0x31e4c5);}['setBackgroundColor'](_0x5a23d9){const _0x5db0f3=_0x2a6225;return this[_0x5db0f3(0x1e4)][_0x5db0f3(0x220)](this['_table'][_0x5db0f3(0x1d1)](this['_row'],this[_0x5db0f3(0x265)]),_0x5a23d9);}[_0x2a6225(0x26c)](_0x1d2dad){const _0x2db867=_0x2a6225;return this[_0x2db867(0x1e4)][_0x2db867(0x26c)](this[_0x2db867(0x1e4)][_0x2db867(0x1d1)](this['_row'],this['_column']),_0x1d2dad);}[_0x2a6225(0x201)](_0x5341d3,_0x3f09fe){const _0x576f80=_0x2a6225;return this[_0x576f80(0x1e4)][_0x576f80(0x22e)]({'startRow':this[_0x576f80(0x1b5)],'startColumn':this[_0x576f80(0x265)],'endRow':this[_0x576f80(0x1b5)]+_0x5341d3-0x1,'endColumn':this[_0x576f80(0x265)]+_0x3f09fe-0x1});}[_0x2a6225(0x1ff)](){const _0x4063b2=_0x2a6225;return this[_0x4063b2(0x1e4)][_0x4063b2(0x22b)](this[_0x4063b2(0x1e4)][_0x4063b2(0x1d1)](this['_row'],this['_column']));}};function _0xe1179a(_0xd36dab){'@babel/helpers - typeof';const _0x3e41af=_0x2a6225;return _0xe1179a=typeof Symbol==_0x3e41af(0x1f3)&&typeof Symbol[_0x3e41af(0x246)]==_0x3e41af(0x1ef)?function(_0xa55377){return typeof _0xa55377;}:function(_0x537117){const _0x4fb23a=_0x3e41af;return _0x537117&&typeof Symbol==_0x4fb23a(0x1f3)&&_0x537117['constructor']===Symbol&&_0x537117!==Symbol['prototype']?_0x4fb23a(0x1ef):typeof _0x537117;},_0xe1179a(_0xd36dab);}function _0x72c231(_0x19e337,_0x392237){const _0x2ccca1=_0x2a6225;if(_0xe1179a(_0x19e337)!=_0x2ccca1(0x248)||!_0x19e337)return _0x19e337;var _0x4ba34a=_0x19e337[Symbol['toPrimitive']];if(_0x4ba34a!==void 0x0){var _0x423f50=_0x4ba34a[_0x2ccca1(0x214)](_0x19e337,_0x392237||_0x2ccca1(0x20b));if(_0xe1179a(_0x423f50)!=_0x2ccca1(0x248))return _0x423f50;throw TypeError(_0x2ccca1(0x24f));}return(_0x392237===_0x2ccca1(0x1c8)?String:Number)(_0x19e337);}function _0x3e795a(_0x1a45c4){const _0x4b15f0=_0x2a6225;var _0x5b1dcd=_0x72c231(_0x1a45c4,_0x4b15f0(0x1c8));return _0xe1179a(_0x5b1dcd)==_0x4b15f0(0x1ef)?_0x5b1dcd:_0x5b1dcd+'';}function _0x2ffd79(_0x4f429c,_0x40d6d9,_0x2f6fb4){const _0x11db53=_0x2a6225;return(_0x40d6d9=_0x3e795a(_0x40d6d9))in _0x4f429c?Object[_0x11db53(0x23b)](_0x4f429c,_0x40d6d9,{'value':_0x2f6fb4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f429c[_0x40d6d9]=_0x2f6fb4,_0x4f429c;}function _0x32136e(_0x188362,_0x1df889){return function(_0x5e169c,_0xaf8c29){_0x1df889(_0x5e169c,_0xaf8c29,_0x188362);};}function _0x358732(_0x20e7f4,_0x235e1d,_0x480f04,_0x32ce79){const _0x521d8c=_0x2a6225;var _0x374e4e=arguments[_0x521d8c(0x278)],_0x1a0d6b=_0x374e4e<0x3?_0x235e1d:_0x32ce79===null?_0x32ce79=Object['getOwnPropertyDescriptor'](_0x235e1d,_0x480f04):_0x32ce79,_0x5d9a79;if(typeof Reflect==_0x521d8c(0x248)&&typeof Reflect['decorate']==_0x521d8c(0x1f3))_0x1a0d6b=Reflect['decorate'](_0x20e7f4,_0x235e1d,_0x480f04,_0x32ce79);else{for(var _0x390116=_0x20e7f4[_0x521d8c(0x278)]-0x1;_0x390116>=0x0;_0x390116--)(_0x5d9a79=_0x20e7f4[_0x390116])&&(_0x1a0d6b=(_0x374e4e<0x3?_0x5d9a79(_0x1a0d6b):_0x374e4e>0x3?_0x5d9a79(_0x235e1d,_0x480f04,_0x1a0d6b):_0x5d9a79(_0x235e1d,_0x480f04))||_0x1a0d6b);}return _0x374e4e>0x3&&_0x1a0d6b&&Object[_0x521d8c(0x23b)](_0x235e1d,_0x480f04,_0x1a0d6b),_0x1a0d6b;}let _0x4e5482=class{constructor(_0x2add4b,_0x3d0511,_0x11adc1,_0x3ffb3a,_0x536993){const _0x33df69=_0x2a6225;this[_0x33df69(0x1dc)]=_0x2add4b,this[_0x33df69(0x22c)]=_0x3d0511,this[_0x33df69(0x263)]=_0x11adc1,this[_0x33df69(0x1d4)]=_0x3ffb3a,this[_0x33df69(0x23d)]=_0x536993,_0x2ffd79(this,'_unitId',void 0x0),this['_unitId']=this[_0x33df69(0x1dc)]['getId']();}[_0x2a6225(0x23e)](){const _0x1a2d9b=_0x2a6225;return this[_0x1a2d9b(0x22c)];}['getSegmentId'](){const _0x42f2d8=_0x2a6225;return this[_0x42f2d8(0x263)];}['getInfo'](){const _0x27b144=_0x2a6225;return{'id':this[_0x27b144(0x22c)],'rowCount':this[_0x27b144(0x21d)](),'columnCount':this[_0x27b144(0x236)](),'metadata':this[_0x27b144(0x25c)](),'source':this[_0x27b144(0x22d)]()};}['describe'](){const _0x1b62ff=_0x2a6225;let _0x5e3f9f=this[_0x1b62ff(0x25c)](),_0x43ceff=this[_0x1b62ff(0x22d)](),_0x396eaf=this[_0x1b62ff(0x236)]();return{'id':this[_0x1b62ff(0x22c)],'rowCount':this[_0x1b62ff(0x21d)](),'columnCount':_0x396eaf,'headerRowCount':(_0x5e3f9f==null?void 0x0:_0x5e3f9f[_0x1b62ff(0x230)])??0x0,'titleRow':(_0x5e3f9f==null?void 0x0:_0x5e3f9f[_0x1b62ff(0x207)])??!0x1,'columns':Array[_0x1b62ff(0x1ba)]({'length':_0x396eaf},(_0x288584,_0xe5551f)=>{const _0x2e636a=_0x1b62ff;var _0x234fa6,_0x39e8ca;return{'index':_0xe5551f,'type':_0x5e3f9f==null||(_0x234fa6=_0x5e3f9f[_0x2e636a(0x1b0)])==null||(_0x234fa6=_0x234fa6[_0xe5551f])==null?void 0x0:_0x234fa6[_0x2e636a(0x1e3)],'width':_0x43ceff==null||(_0x39e8ca=_0x43ceff[_0x2e636a(0x1f6)][_0xe5551f])==null?void 0x0:_0x39e8ca[_0x2e636a(0x260)][_0x2e636a(0x1cd)]['v']};}),'sampleRows':Array['from']({'length':this['getRowCount']()},(_0x14571c,_0x265265)=>Array['from']({'length':_0x396eaf},(_0x66816,_0x4e1206)=>this[_0x1b62ff(0x1bf)](_0x265265,_0x4e1206)))['filter'](_0x32375d=>_0x32375d[_0x1b62ff(0x272)](_0x3175cd=>_0x3175cd[_0x1b62ff(0x278)]>0x0))[_0x1b62ff(0x224)](0x0,0x5)};}['getRowCount'](){const _0x5f395c=_0x2a6225;var _0x3b681d;return((_0x3b681d=this[_0x5f395c(0x22d)]())==null?void 0x0:_0x3b681d['tableRows'][_0x5f395c(0x278)])??0x0;}[_0x2a6225(0x236)](){const _0x157ba9=_0x2a6225;var _0x54bee1;return((_0x54bee1=this['getSource']())==null?void 0x0:_0x54bee1['tableColumns'][_0x157ba9(0x278)])??0x0;}[_0x2a6225(0x1eb)](_0x162f35,_0x2c0eff){const _0x502ec2=_0x2a6225;var _0xbaf146;return(_0xbaf146=this['getSource']())!=null&&(_0xbaf146=_0xbaf146[_0x502ec2(0x23c)][_0x162f35])!=null&&_0xbaf146[_0x502ec2(0x1d8)][_0x2c0eff]?this[_0x502ec2(0x23d)][_0x502ec2(0x1fd)](_0x444506,this,_0x162f35,_0x2c0eff):null;}[_0x2a6225(0x1bf)](_0x5a2213,_0x391016){const _0xa06a38=_0x2a6225;var _0x2027b6,_0x5f12f6;let _0x1c1534=(_0x2027b6=(0x0,_0x2de058[_0xa06a38(0x253)])(this[_0xa06a38(0x235)](),this[_0xa06a38(0x22c)]))==null||(_0x2027b6=_0x2027b6[_0xa06a38(0x1db)][_0x5a2213])==null?void 0x0:_0x2027b6[_0xa06a38(0x20a)][_0x391016];return _0x1c1534?((_0x5f12f6=this[_0xa06a38(0x235)]()[_0xa06a38(0x264)])==null?void 0x0:_0x5f12f6[_0xa06a38(0x1bd)]['slice'](_0x1c1534['startOffset']+0x1,_0x1c1534[_0xa06a38(0x1c0)])[_0xa06a38(0x216)](/\r\n$/,''))??'':'';}[_0x2a6225(0x221)](_0xff7292,_0x3626ec){const _0x5787a0=_0x2a6225;var _0xb58224;let _0x22af07=this['getSource'](),_0x41642d=_0x22af07==null||(_0xb58224=_0x22af07[_0x5787a0(0x23c)][_0xff7292])==null?void 0x0:_0xb58224[_0x5787a0(0x1d8)][_0x3626ec];return _0x41642d?_0x3cc9fb[_0x5787a0(0x252)][_0x5787a0(0x1a9)](_0x41642d[_0x5787a0(0x1b6)]??_0x22af07[_0x5787a0(0x269)]??_0x2de058[_0x5787a0(0x21c)]):null;}[_0x2a6225(0x275)](_0x34040d,_0x26fd6a){const _0x466d65=_0x2a6225;var _0x4c549;let _0x2e0ee2=(_0x4c549=this[_0x466d65(0x22d)]())==null||(_0x4c549=_0x4c549[_0x466d65(0x23c)][_0x34040d])==null?void 0x0:_0x4c549[_0x466d65(0x1d8)][_0x26fd6a];return _0x2e0ee2!=null&&_0x2e0ee2['margin']?_0x3cc9fb[_0x466d65(0x252)][_0x466d65(0x1a9)](_0x2e0ee2[_0x466d65(0x1b6)]):null;}['getDefaultCellMargin'](){const _0x2573df=_0x2a6225;var _0x4136db;return _0x3cc9fb[_0x2573df(0x252)]['deepClone'](((_0x4136db=this[_0x2573df(0x22d)]())==null?void 0x0:_0x4136db['cellMargin'])??_0x2de058[_0x2573df(0x21c)]);}['getDefaultCellMarginOverride'](){const _0x5373b5=_0x2a6225;var _0xdb4284;let _0xdc5748=(_0xdb4284=this[_0x5373b5(0x22d)]())==null?void 0x0:_0xdb4284[_0x5373b5(0x269)];return _0xdc5748?_0x3cc9fb[_0x5373b5(0x252)][_0x5373b5(0x1a9)](_0xdc5748):null;}[_0x2a6225(0x25c)](){const _0x403735=_0x2a6225;let _0x2edf9e=this[_0x403735(0x23d)][_0x403735(0x1e9)](_0x2de058[_0x403735(0x231)]),_0x5e332e=this[_0x403735(0x22d)]();return _0x5e332e?_0x2edf9e['resolveTableMetadata'](this[_0x403735(0x25d)],_0x5e332e):void 0x0;}['getSource'](){const _0xc4fe4e=_0x2a6225;var _0x35b3f2;return(_0x35b3f2=this[_0xc4fe4e(0x235)]()[_0xc4fe4e(0x20f)])==null?void 0x0:_0x35b3f2[this[_0xc4fe4e(0x22c)]];}[_0x2a6225(0x254)](){const _0x5a07ee=_0x2a6225;return(0x0,_0x2de058[_0x5a07ee(0x253)])(this[_0x5a07ee(0x235)](),this[_0x5a07ee(0x22c)]);}[_0x2a6225(0x24b)](){const _0x53331d=_0x2a6225;return{'startRow':0x0,'endRow':Math[_0x53331d(0x1ac)](0x0,this[_0x53331d(0x21d)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x53331d(0x1ac)](0x0,this[_0x53331d(0x236)]()-0x1)};}[_0x2a6225(0x1d1)](_0x194a66,_0x385caa){return{'startRow':_0x194a66,'endRow':_0x194a66,'startColumn':_0x385caa,'endColumn':_0x385caa};}[_0x2a6225(0x256)](_0x1b9a3c,_0x391cf8){const _0x2c31e2=_0x2a6225;var _0x111baf;let _0x167bb0=(_0x111baf=(0x0,_0x2de058[_0x2c31e2(0x253)])(this['_getDocumentData'](),this[_0x2c31e2(0x22c)]))==null||(_0x111baf=_0x111baf['rows'][_0x1b9a3c])==null?void 0x0:_0x111baf['cells'][_0x391cf8];if(!_0x167bb0)return null;let _0x2981ff=_0x167bb0[_0x2c31e2(0x1ee)]+0x1;return{'startOffset':_0x2981ff,'endOffset':Math[_0x2c31e2(0x1ac)](_0x2981ff,_0x167bb0['endOffset']-0x1),'segmentId':this['_segmentId']};}[_0x2a6225(0x208)](_0x162ad2,_0x104f8a){const _0x367ea3=_0x2a6225;let _0xc9ba35=this[_0x367ea3(0x256)](_0x162ad2,_0x104f8a);return _0xc9ba35?Math[_0x367ea3(0x1ac)](_0xc9ba35[_0x367ea3(0x1ee)],_0xc9ba35[_0x367ea3(0x1c0)]-0x1):null;}[_0x2a6225(0x245)](_0x1922fb){const _0x475c5b=_0x2a6225;return this[_0x475c5b(0x1e6)](_0x1922fb,0x1);}[_0x2a6225(0x1e6)](_0x578a36,_0x415057=0x1){const _0x387805=_0x2a6225;return{'startRow':_0x578a36,'endRow':_0x578a36+_0x415057-0x1,'startColumn':0x0,'endColumn':Math[_0x387805(0x1ac)](0x0,this[_0x387805(0x236)]()-0x1)};}[_0x2a6225(0x1c6)](_0x41f6b5){const _0x5b23f9=_0x2a6225;return this[_0x5b23f9(0x1da)](_0x41f6b5,0x1);}['getColumnsRange'](_0x719ed6,_0x3bccf7=0x1){const _0x1b2fa3=_0x2a6225;return{'startRow':0x0,'endRow':Math[_0x1b2fa3(0x1ac)](0x0,this[_0x1b2fa3(0x21d)]()-0x1),'startColumn':_0x719ed6,'endColumn':_0x719ed6+_0x3bccf7-0x1};}[_0x2a6225(0x21e)](){const _0x4405d3=_0x2a6225;return this['selectRange'](this[_0x4405d3(0x24b)](),_0x2de058[_0x4405d3(0x1e2)][_0x4405d3(0x23a)]);}['selectRow'](_0x2713c2){return this['selectRows'](_0x2713c2,0x1);}[_0x2a6225(0x1f7)](_0x163c26,_0x1c422a=0x1){const _0xb5565=_0x2a6225;return this[_0xb5565(0x280)](this[_0xb5565(0x1e6)](_0x163c26,_0x1c422a),_0x2de058[_0xb5565(0x1e2)][_0xb5565(0x257)]);}[_0x2a6225(0x241)](_0x11cc5e){const _0x362f81=_0x2a6225;return this[_0x362f81(0x24e)](_0x11cc5e,0x1);}['selectColumns'](_0x54cb39,_0x5e389d=0x1){const _0xd0af35=_0x2a6225;return this['selectRange'](this['getColumnsRange'](_0x54cb39,_0x5e389d),_0x2de058[_0xd0af35(0x1e2)]['Column']);}[_0x2a6225(0x1fe)](_0x1e5219,_0x3f5385){const _0x2d825a=_0x2a6225;return this[_0x2d825a(0x280)](this[_0x2d825a(0x1d1)](_0x1e5219,_0x3f5385),_0x2de058[_0x2d825a(0x1e2)][_0x2d825a(0x273)]);}[_0x2a6225(0x280)](_0x228b2e,_0x2526b8=_0x2de058[_0x2a6225(0x1e2)][_0x2a6225(0x27f)]){const _0x34cb31=_0x2a6225;return this['_injector'][_0x34cb31(0x1e9)](_0x2de058['DocsTableSelectionService'])[_0x34cb31(0x213)]({..._0x228b2e,'kind':_0x2526b8,'segmentId':this[_0x34cb31(0x263)],'tableId':this[_0x34cb31(0x22c)]}),!0x0;}['insertRowBefore'](_0x36e9f0){return this['insertRowsBefore'](_0x36e9f0,0x1);}[_0x2a6225(0x227)](_0x2c751e){return this['insertRowsAfter'](_0x2c751e,0x1);}[_0x2a6225(0x1c4)](_0x57f993,_0x3779f6){const _0x2267bf=_0x2a6225;let _0x41ed1b=this['_getDocumentData'](),_0x4283df=(0x0,_0x2de058['buildInsertTableRowsMutationActions'])(_0x41ed1b,this[_0x2267bf(0x22c)],_0x57f993,_0x3779f6,_0x2de058[_0x2267bf(0x1b2)][_0x2267bf(0x1b9)],this[_0x2267bf(0x212)]());return _0x4283df?this[_0x2267bf(0x237)](_0x41ed1b,_0x4283df[_0x2267bf(0x1c9)]):!0x1;}['insertRowsAfter'](_0x2ce3f4,_0x30898d){const _0xb4a999=_0x2a6225;let _0xcf6098=this[_0xb4a999(0x235)](),_0xbf719e=(0x0,_0x2de058[_0xb4a999(0x249)])(_0xcf6098,this[_0xb4a999(0x22c)],_0x2ce3f4,_0x30898d,_0x2de058[_0xb4a999(0x1b2)][_0xb4a999(0x217)],this[_0xb4a999(0x212)]());return _0xbf719e?this[_0xb4a999(0x237)](_0xcf6098,_0xbf719e[_0xb4a999(0x1c9)]):!0x1;}[_0x2a6225(0x1bb)](){const _0x143f0d=_0x2a6225;return this[_0x143f0d(0x277)](Math[_0x143f0d(0x1ac)](0x0,this[_0x143f0d(0x21d)]()-0x1),0x1);}[_0x2a6225(0x205)](_0x36f6e2){const _0x47fdc0=_0x2a6225;return this[_0x47fdc0(0x211)](_0x36f6e2,0x1);}[_0x2a6225(0x1cc)](_0x531b6f){const _0x5e750f=_0x2a6225;return this[_0x5e750f(0x271)](_0x531b6f,0x1);}['insertColumnsBefore'](_0xd5769c,_0x3dbfeb){const _0x1c29cf=_0x2a6225;let _0x1f3f9a=this[_0x1c29cf(0x235)](),_0x545792=(0x0,_0x2de058[_0x1c29cf(0x267)])(_0x1f3f9a,this['_tableId'],_0xd5769c,_0x3dbfeb,_0x2de058[_0x1c29cf(0x1b2)][_0x1c29cf(0x1aa)],{'bodyPath':this['_getBodyPath']()});return _0x545792?this[_0x1c29cf(0x237)](_0x1f3f9a,_0x545792[_0x1c29cf(0x1c9)]):!0x1;}[_0x2a6225(0x271)](_0x516345,_0x4a357b){const _0x458092=_0x2a6225;let _0x5509d9=this[_0x458092(0x235)](),_0x4db154=(0x0,_0x2de058['buildInsertTableColumnsMutationActions'])(_0x5509d9,this[_0x458092(0x22c)],_0x516345,_0x4a357b,_0x2de058[_0x458092(0x1b2)][_0x458092(0x1b1)],{'bodyPath':this[_0x458092(0x212)]()});return _0x4db154?this[_0x458092(0x237)](_0x5509d9,_0x4db154[_0x458092(0x1c9)]):!0x1;}[_0x2a6225(0x1de)](){const _0x49a889=_0x2a6225;return this[_0x49a889(0x271)](Math[_0x49a889(0x1ac)](0x0,this[_0x49a889(0x236)]()-0x1),0x1);}[_0x2a6225(0x262)](_0x47dd85){const _0xd595a2=_0x2a6225;return this[_0xd595a2(0x25e)](_0x47dd85,0x1);}[_0x2a6225(0x25e)](_0x2698ce,_0x4e77ce=0x1){const _0xcd06ee=_0x2a6225;return!!this[_0xcd06ee(0x1d4)][_0xcd06ee(0x219)](_0x2de058['DocsTableDeleteRowsCommand']['id'],{'endRow':_0x2698ce+_0x4e77ce-0x1,'segmentId':this['_segmentId'],'startRow':_0x2698ce,'tableId':this['_tableId'],'unitId':this['_unitId']});}[_0x2a6225(0x1cf)](_0x2e5397){const _0x32f421=_0x2a6225;return this[_0x32f421(0x24a)](_0x2e5397,0x1);}[_0x2a6225(0x24a)](_0x356805,_0x2f181e=0x1){const _0xa92a3e=_0x2a6225;return!!this[_0xa92a3e(0x1d4)][_0xa92a3e(0x219)](_0x2de058['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x356805+_0x2f181e-0x1,'segmentId':this[_0xa92a3e(0x263)],'startColumn':_0x356805,'tableId':this[_0xa92a3e(0x22c)],'unitId':this[_0xa92a3e(0x25d)]});}['deleteTable'](){const _0x3e2d4f=_0x2a6225;return!!this[_0x3e2d4f(0x1d4)][_0x3e2d4f(0x219)](_0x2de058[_0x3e2d4f(0x1be)]['id'],{'segmentId':this[_0x3e2d4f(0x263)],'tableId':this[_0x3e2d4f(0x22c)],'unitId':this[_0x3e2d4f(0x25d)]});}[_0x2a6225(0x229)](_0x227471,_0x4474de){const _0x19f219=_0x2a6225;let _0x4c9fd8=this[_0x19f219(0x235)]();return this[_0x19f219(0x237)](_0x4c9fd8,(0x0,_0x2de058[_0x19f219(0x1fc)])(_0x4c9fd8,this[_0x19f219(0x22c)],_0x227471,_0x4474de));}[_0x2a6225(0x226)](_0x47454d){const _0x4f2618=_0x2a6225;let _0x3babe2=this[_0x4f2618(0x235)]();return this[_0x4f2618(0x237)](_0x3babe2,(0x0,_0x2de058[_0x4f2618(0x1cb)])(_0x3babe2,this[_0x4f2618(0x22c)],_0x47454d,this[_0x4f2618(0x212)]()));}[_0x2a6225(0x1ca)](_0x45eea0,_0x5f1be6,_0x370de6=_0x2de058[_0x2a6225(0x1b2)][_0x2a6225(0x1b9)]){const _0x314bcb=_0x2a6225;return this[_0x314bcb(0x1b7)](_0x45eea0,0x1,_0x5f1be6,_0x370de6);}[_0x2a6225(0x1b7)](_0x31ee2b,_0x4054aa,_0x3d6cda,_0x295c87=_0x2de058[_0x2a6225(0x1b2)][_0x2a6225(0x1b9)]){const _0x234a1b=_0x2a6225;let _0x4b615d=this[_0x234a1b(0x235)](),_0x49168d=(0x0,_0x2de058[_0x234a1b(0x27d)])(_0x4b615d,this[_0x234a1b(0x22c)],_0x31ee2b,_0x3d6cda,_0x4054aa,_0x295c87,this['_getBodyPath']());return _0x49168d?this['_mutateActions'](_0x4b615d,_0x49168d[_0x234a1b(0x1c9)]):!0x1;}[_0x2a6225(0x1f0)](_0x233ee5,_0x4a2ea4,_0x196d08=_0x2de058[_0x2a6225(0x1b2)][_0x2a6225(0x1aa)]){const _0x28c5e9=_0x2a6225;return this[_0x28c5e9(0x261)](_0x233ee5,0x1,_0x4a2ea4,_0x196d08);}[_0x2a6225(0x261)](_0x39ad0f,_0x18a995,_0x372db9,_0x47d6d1=_0x2de058[_0x2a6225(0x1b2)]['Left']){const _0x4ffe93=_0x2a6225;let _0x506f25=this[_0x4ffe93(0x235)](),_0xa614b7=(0x0,_0x2de058[_0x4ffe93(0x25f)])(_0x506f25,this[_0x4ffe93(0x22c)],_0x39ad0f,_0x372db9,_0x18a995,_0x47d6d1,this[_0x4ffe93(0x212)]());return _0xa614b7?this[_0x4ffe93(0x237)](_0x506f25,_0xa614b7[_0x4ffe93(0x1c9)]):!0x1;}[_0x2a6225(0x22e)](_0x48eb37){const _0x2c9ea0=_0x2a6225;try{let _0x458077=this[_0x2c9ea0(0x235)](),_0x4fb463=(0x0,_0x2de058[_0x2c9ea0(0x1e5)])({'documentData':_0x458077,'tableId':this['_tableId'],..._0x48eb37});return _0x4fb463?this[_0x2c9ea0(0x237)](_0x458077,_0x4fb463[_0x2c9ea0(0x1c9)],_0x48eb37):!0x1;}catch{return!0x1;}}[_0x2a6225(0x22b)](_0x364a1e){const _0x3fc2a1=_0x2a6225;try{let _0x14399d=this[_0x3fc2a1(0x235)](),_0x54db82=(0x0,_0x2de058[_0x3fc2a1(0x1e7)])({'documentData':_0x14399d,'tableId':this['_tableId'],..._0x364a1e});return _0x54db82?this['_mutateActions'](_0x14399d,_0x54db82[_0x3fc2a1(0x1c9)],_0x364a1e):!0x1;}catch{return!0x1;}}[_0x2a6225(0x268)](_0x221971,_0x1dfb3a,_0x512d6b){const _0x33cc0d=_0x2a6225;let _0x402faf=this[_0x33cc0d(0x235)](),_0x5ec32b=(0x0,_0x2de058['getTableActionBodyPath'])(this['_document'][_0x33cc0d(0x26a)]()[_0x33cc0d(0x1e8)](),this[_0x33cc0d(0x263)]);return this[_0x33cc0d(0x237)](_0x402faf,(0x0,_0x2de058['buildSetTableCellTextMutationActions'])({'documentData':_0x402faf,'tableId':this['_tableId'],'row':_0x221971,'column':_0x1dfb3a,'text':_0x512d6b},_0x5ec32b),this[_0x33cc0d(0x1d1)](_0x221971,_0x1dfb3a));}['setCellBackground'](_0x6d3250,_0x58e737){const _0x379ca3=_0x2a6225;let _0xb0b68=this[_0x379ca3(0x235)]();return this[_0x379ca3(0x237)](_0xb0b68,(0x0,_0x2de058[_0x379ca3(0x225)])(_0xb0b68,{'tableId':this[_0x379ca3(0x22c)],..._0x6d3250,'value':_0x58e737}),_0x6d3250);}[_0x2a6225(0x233)](_0x21b60b,_0x1955f2){const _0xbcaadd=_0x2a6225;let _0x22db32=this[_0xbcaadd(0x235)]();return this['_mutateActions'](_0x22db32,(0x0,_0x2de058[_0xbcaadd(0x238)])({'documentData':_0x22db32,'tableId':this['_tableId'],..._0x21b60b,'margin':_0x1955f2}),_0x21b60b);}[_0x2a6225(0x259)](_0x3bb1fe){const _0xeb8e94=_0x2a6225;let _0x38888a=this[_0xeb8e94(0x235)]();return this[_0xeb8e94(0x237)](_0x38888a,(0x0,_0x2de058[_0xeb8e94(0x1f4)])(_0x38888a,this['_tableId'],_0x3bb1fe));}['setBorder'](_0x1cbb81,_0x5474d1){const _0x3fea54=_0x2a6225;let _0x547b54=this[_0x3fea54(0x235)]();return this[_0x3fea54(0x237)](_0x547b54,this['_buildBorderActions'](_0x547b54,_0x1cbb81,_0x5474d1),_0x1cbb81);}[_0x2a6225(0x26e)](_0x1ca577){const _0x12c6ba=_0x2a6225;return this[_0x12c6ba(0x220)](this[_0x12c6ba(0x24b)](),_0x1ca577);}[_0x2a6225(0x1c2)](_0x2e1091){const _0xefb8d0=_0x2a6225;return this[_0xefb8d0(0x26c)](this[_0xefb8d0(0x24b)](),_0x2e1091);}[_0x2a6225(0x22f)](_0x28f3a2){const _0x5746ff=_0x2a6225;let _0x5eb19b=this[_0x5746ff(0x235)](),_0x279511=this[_0x5746ff(0x24b)](),_0x421a46=_0x28f3a2[_0x5746ff(0x26b)]?(0x0,_0x2de058[_0x5746ff(0x225)])(_0x5eb19b,{'tableId':this[_0x5746ff(0x22c)],..._0x279511,'value':_0x28f3a2[_0x5746ff(0x26b)]}):null,_0x1ab7b6=_0x28f3a2[_0x5746ff(0x27b)]?this[_0x5746ff(0x255)](_0x5eb19b,_0x279511,_0x28f3a2[_0x5746ff(0x27b)]):null;return this['_mutateActions'](_0x5eb19b,_0x3cc9fb['JSONX'][_0x5746ff(0x283)](_0x421a46,_0x1ab7b6),_0x279511);}[_0x2a6225(0x251)](_0x1b78c9,_0x3bfafc,_0x4cbb70=_0x3cc9fb[_0x2a6225(0x1d9)][_0x2a6225(0x20c)]){const _0x2f1949=_0x2a6225;var _0x472930;let _0x323fce=this[_0x2f1949(0x235)]();return(_0x472930=_0x323fce[_0x2f1949(0x20f)])!=null&&(_0x472930=_0x472930[this[_0x2f1949(0x22c)]])!=null&&_0x472930['tableRows'][_0x1b78c9]?this['_mutateActions'](_0x323fce,(0x0,_0x2de058[_0x2f1949(0x215)])(_0x323fce,this[_0x2f1949(0x22c)],_0x1b78c9,_0x3bfafc,_0x4cbb70)):!0x1;}['getRowHeight'](_0x11645c){const _0x4533af=_0x2a6225;var _0x14e0fb;let _0x435d1f=(_0x14e0fb=this[_0x4533af(0x22d)]())==null||(_0x14e0fb=_0x14e0fb[_0x4533af(0x23c)][_0x11645c])==null?void 0x0:_0x14e0fb[_0x4533af(0x1ad)];return _0x435d1f?_0x3cc9fb[_0x4533af(0x252)][_0x4533af(0x1a9)](_0x435d1f):null;}[_0x2a6225(0x1b4)](_0x4c0aba,_0x1ae96a){const _0x298071=_0x2a6225;var _0x34db46;let _0x3c5ae9=this[_0x298071(0x235)]();return(_0x34db46=_0x3c5ae9[_0x298071(0x20f)])!=null&&(_0x34db46=_0x34db46[this[_0x298071(0x22c)]])!=null&&_0x34db46[_0x298071(0x1f6)][_0x4c0aba]?this[_0x298071(0x237)](_0x3c5ae9,(0x0,_0x2de058[_0x298071(0x1f2)])(_0x3c5ae9,this[_0x298071(0x22c)],_0x4c0aba,_0x1ae96a)):!0x1;}[_0x2a6225(0x210)](_0x5dd8cd=0x0,_0x55e617=this['getRowCount']()){const _0x1273c5=_0x2a6225;let _0x22a560=this[_0x1273c5(0x235)]();return this[_0x1273c5(0x237)](_0x22a560,(0x0,_0x2de058[_0x1273c5(0x202)])(_0x22a560,this['_tableId'],_0x5dd8cd,_0x5dd8cd+_0x55e617-0x1));}[_0x2a6225(0x27c)](_0x260631=0x0,_0x26cf87=this[_0x2a6225(0x236)]()){const _0x518b9a=_0x2a6225;let _0x57dd0d=this[_0x518b9a(0x235)]();return this['_mutateActions'](_0x57dd0d,(0x0,_0x2de058[_0x518b9a(0x22a)])(_0x57dd0d,this[_0x518b9a(0x22c)],_0x260631,_0x260631+_0x26cf87-0x1));}['getHeaderRowCount'](){var _0x5aa6b1;return((_0x5aa6b1=this['getMetadata']())==null?void 0x0:_0x5aa6b1['headerRowCount'])??0x0;}[_0x2a6225(0x24c)](_0x58c142){const _0xe089bd=_0x2a6225;let _0x138451=this[_0xe089bd(0x235)](),_0x2005ed=(0x0,_0x2de058[_0xe089bd(0x1fa)])(_0x138451,this[_0xe089bd(0x22c)],_0x58c142);return _0x2005ed?this[_0xe089bd(0x237)](_0x138451,_0x2005ed[_0xe089bd(0x1c9)]):!0x1;}[_0x2a6225(0x1c3)](_0x174051){const _0x3751cd=_0x2a6225;return this[_0x3751cd(0x24c)](_0x174051);}['hasTitleRow'](){const _0x56b7ab=_0x2a6225;var _0xf2cc40;return((_0xf2cc40=this[_0x56b7ab(0x25c)]())==null?void 0x0:_0xf2cc40[_0x56b7ab(0x207)])??!0x1;}[_0x2a6225(0x223)](){const _0x2ec083=_0x2a6225;let _0x45ab19=this[_0x2ec083(0x235)](),_0x14d2dd=(0x0,_0x2de058[_0x2ec083(0x1c1)])(_0x45ab19,this[_0x2ec083(0x22c)],this[_0x2ec083(0x212)]());return _0x14d2dd?this[_0x2ec083(0x237)](_0x45ab19,_0x14d2dd[_0x2ec083(0x1c9)]):!0x1;}['setColumnType'](_0x5381eb,_0xb491f4){const _0x429ceb=_0x2a6225;return!!this[_0x429ceb(0x1d4)]['syncExecuteCommand'](_0x2de058['DocsTableSetColumnTypeCommand']['id'],{'unitId':this[_0x429ceb(0x25d)],'tableId':this[_0x429ceb(0x22c)],'segmentId':this[_0x429ceb(0x263)],'column':_0x5381eb,'config':_0xb491f4});}[_0x2a6225(0x270)](_0x221c50,_0x1aa998){const _0x46929a=_0x2a6225;let _0x173f3c=this[_0x46929a(0x235)]();return this[_0x46929a(0x237)](_0x173f3c,(0x0,_0x2de058[_0x46929a(0x204)])(_0x173f3c,this[_0x46929a(0x244)](),this[_0x46929a(0x22c)],_0x221c50,_0x1aa998,this[_0x46929a(0x212)]()));}[_0x2a6225(0x255)](_0xd8ef75,_0x2a5427,_0x29ba4b){const _0x34cec5=_0x2a6225;return(0x0,_0x2de058['buildSetTableBorderMutationActions'])({'documentData':_0xd8ef75,'tableId':this[_0x34cec5(0x22c)],..._0x2a5427,'preset':_0x29ba4b[_0x34cec5(0x27a)]??_0x2de058[_0x34cec5(0x1f8)][_0x34cec5(0x209)],'border':_0x29ba4b[_0x34cec5(0x27b)]??{'color':{'rgb':_0x29ba4b[_0x34cec5(0x250)]??this[_0x34cec5(0x23d)][_0x34cec5(0x1e9)](_0x3cc9fb[_0x34cec5(0x1af)])[_0x34cec5(0x258)](_0x34cec5(0x21f))},'width':{'v':_0x29ba4b[_0x34cec5(0x1cd)]??0x1},'dashStyle':_0x3cc9fb[_0x34cec5(0x23f)][_0x34cec5(0x266)]}});}[_0x2a6225(0x235)](){const _0x33dd2d=_0x2a6225;let _0x1c7a3e=this[_0x33dd2d(0x1dc)][_0x33dd2d(0x26a)]()[_0x33dd2d(0x1e8)]();return this[_0x33dd2d(0x263)]?{...this[_0x33dd2d(0x1dc)][_0x33dd2d(0x26a)](this['_segmentId'])[_0x33dd2d(0x1e8)](),'documentStyle':_0x1c7a3e['documentStyle'],'tableSource':_0x1c7a3e['tableSource']}:_0x1c7a3e;}[_0x2a6225(0x244)](){const _0x158650=_0x2a6225;return this[_0x158650(0x23d)][_0x158650(0x1e9)](_0x2de058['DocsTableModel'])[_0x158650(0x281)](this[_0x158650(0x25d)],this[_0x158650(0x1dc)][_0x158650(0x26a)]()[_0x158650(0x1e8)]());}[_0x2a6225(0x212)](){const _0x2dc3c0=_0x2a6225;return(0x0,_0x2de058['getTableActionBodyPath'])(this[_0x2dc3c0(0x1dc)][_0x2dc3c0(0x26a)]()[_0x2dc3c0(0x1e8)](),this[_0x2dc3c0(0x263)]);}[_0x2a6225(0x237)](_0x5f3317,_0xa9d1cd,_0x4374c6){const _0x409455=_0x2a6225;return(0x0,_0x2de058['executeRichTextTableActions'])(this[_0x409455(0x1d4)],this[_0x409455(0x25d)],_0x5f3317,_0xa9d1cd,_0x4374c6?{'tableId':this['_tableId'],'segmentId':this['_segmentId'],..._0x4374c6}:void 0x0);}};_0x4e5482=_0x358732([_0x32136e(0x3,_0x3cc9fb[_0x2a6225(0x1ec)]),_0x32136e(0x4,(0x0,_0x3cc9fb[_0x2a6225(0x26f)])(_0x3cc9fb['Injector']))],_0x4e5482);var _0x4e1010=class extends _0x319cfb[_0x2a6225(0x1bc)]{['getTables'](_0xd425cf=''){const _0x7ab3fa=_0x2a6225;return this[_0x7ab3fa(0x1ed)](_0xd425cf)[_0x7ab3fa(0x25a)](_0x23c417=>this[_0x7ab3fa(0x203)](_0x23c417[_0x7ab3fa(0x1d5)],_0xd425cf));}[_0x2a6225(0x222)](_0x1581fd,_0x222d94=''){const _0x5ce6aa=_0x2a6225;return this[_0x5ce6aa(0x1ed)](_0x222d94)[_0x5ce6aa(0x272)](_0x308e18=>_0x308e18[_0x5ce6aa(0x1d5)]===_0x1581fd)?this['_createFDocumentTable'](_0x1581fd,_0x222d94):null;}[_0x2a6225(0x1f5)](_0xcc3411,_0x5898d3=''){const _0x32ea55=_0x2a6225;var _0x4a0e6e;let _0x10f4e6=(_0x4a0e6e=this[_0x32ea55(0x1ed)](_0x5898d3)[_0xcc3411])==null?void 0x0:_0x4a0e6e[_0x32ea55(0x1d5)];return _0x10f4e6?this[_0x32ea55(0x203)](_0x10f4e6,_0x5898d3):null;}[_0x2a6225(0x1ae)](){const _0x581f0a=_0x2a6225;let _0x2a3578=this[_0x581f0a(0x23d)][_0x581f0a(0x1e9)](_0x2de058['DocsTableSelectionService'])['getStableTableSelection']();return _0x2a3578!=null&&_0x2a3578[_0x581f0a(0x1d5)]?this[_0x581f0a(0x203)](_0x2a3578[_0x581f0a(0x1d5)],_0x2a3578['segmentId']):null;}[_0x2a6225(0x1e1)](_0x4c7575,_0x21324b=''){const _0x9f055d=_0x2a6225;return this[_0x9f055d(0x27e)](_0x4c7575,_0x21324b)[0x0]??null;}[_0x2a6225(0x27e)](_0x2a8dc1,_0x44efb8=''){const _0x5838c1=_0x2a6225;let _0x1a162e=this[_0x5838c1(0x1d3)](_0x44efb8),_0x51ab94=typeof _0x2a8dc1==_0x5838c1(0x1c8)?{'text':_0x2a8dc1}:_0x2a8dc1;return this[_0x5838c1(0x1d2)](_0x44efb8)[_0x5838c1(0x20d)](_0x1598dc=>{const _0x15f924=_0x5838c1;let _0x4525bc=_0x1598dc[_0x15f924(0x23e)]();return!(_0x51ab94[_0x15f924(0x1d5)]&&_0x4525bc!==_0x51ab94[_0x15f924(0x1d5)]||_0x51ab94['text']&&!this['_tableContainsText'](_0x1a162e,_0x4525bc,_0x51ab94[_0x15f924(0x1b3)])||_0x51ab94[_0x15f924(0x1f9)]&&!this[_0x15f924(0x234)](_0x1598dc,0x0,_0x51ab94['headerText'])||_0x51ab94[_0x15f924(0x240)]&&!this[_0x15f924(0x234)](_0x1598dc,0x0,_0x51ab94['titleText']));});}[_0x2a6225(0x276)](_0x3ed60a,_0x247065,_0x2fcc89={}){const _0xb799e4=_0x2a6225;let _0xe02509=this[_0xb799e4(0x23d)][_0xb799e4(0x1e9)](_0x3cc9fb[_0xb799e4(0x1ec)]),_0x139ab2=_0x2fcc89[_0xb799e4(0x1d5)]??(0x0,_0x3cc9fb[_0xb799e4(0x1c5)])(0x6);return _0xe02509[_0xb799e4(0x219)](_0x2de058['DocsTableInsertTableCommand']['id'],{..._0x2fcc89,'unitId':this[_0xb799e4(0x23e)](),'rows':_0x3ed60a,'columns':_0x247065,'tableId':_0x139ab2})?this['_createFDocumentTable'](_0x139ab2,_0x2fcc89[_0xb799e4(0x218)]??''):null;}['insertTableFromData'](_0x261d20,_0x288553={}){const _0x382252=_0x2a6225;let _0x12b4f3=this[_0x382252(0x23d)]['get'](_0x3cc9fb[_0x382252(0x1ec)]),_0x2e54a4=_0x288553[_0x382252(0x1d5)]??(0x0,_0x3cc9fb[_0x382252(0x1c5)])(0x6);return _0x12b4f3[_0x382252(0x219)](_0x2de058[_0x382252(0x206)]['id'],{..._0x288553,'unitId':this['getId'](),'values':_0x261d20,'tableId':_0x2e54a4})?this[_0x382252(0x203)](_0x2e54a4,_0x288553[_0x382252(0x218)]??''):null;}['_getTables'](_0x2c4acd=''){let {tables:_0x58f0e0=[]}=this['getBody'](_0x2c4acd);return _0x58f0e0;}[_0x2a6225(0x1d3)](_0x4d5179=''){const _0x2f696b=_0x2a6225;let _0x132cca=this['getDocumentDataModel']()[_0x2f696b(0x1e8)]();return _0x4d5179?{...this[_0x2f696b(0x26a)](_0x4d5179)[_0x2f696b(0x1e8)](),'documentStyle':_0x132cca[_0x2f696b(0x1d7)],'tableSource':_0x132cca[_0x2f696b(0x20f)]}:_0x132cca;}['_createFDocumentTable'](_0x4241ba,_0x33bece=''){const _0x2f0dfc=_0x2a6225;return this[_0x2f0dfc(0x23d)][_0x2f0dfc(0x1fd)](_0x4e5482,this,_0x4241ba,_0x33bece);}[_0x2a6225(0x24d)](_0x5be3cc,_0x44d994,_0x3770b1){const _0xe0d1b8=_0x2a6225;var _0x112ab8;let _0x224ad8=(0x0,_0x2de058['getTableRangeById'])(_0x5be3cc,_0x44d994);if(!_0x224ad8)return!0x1;let _0x25f3a1=(_0x112ab8=_0x5be3cc[_0xe0d1b8(0x264)])==null?void 0x0:_0x112ab8[_0xe0d1b8(0x1bd)];return _0x25f3a1?_0x25f3a1[_0xe0d1b8(0x224)](_0x224ad8[_0xe0d1b8(0x1ee)],_0x224ad8[_0xe0d1b8(0x1c0)])[_0xe0d1b8(0x200)](_0x3770b1):!0x1;}[_0x2a6225(0x234)](_0x50f1d8,_0x424337,_0x33884c){const _0x5911db=_0x2a6225;return Array[_0x5911db(0x1ba)]({'length':_0x50f1d8[_0x5911db(0x236)]()},(_0x4a2abd,_0xcbc42e)=>_0x50f1d8['getCellText'](_0x424337,_0xcbc42e))[_0x5911db(0x272)](_0x59d53a=>_0x59d53a[_0x5911db(0x200)](_0x33884c));}};_0x319cfb[_0x2a6225(0x1bc)]['extend'](_0x4e1010),Object[_0x2a6225(0x23b)](_0x5e4f39,_0x2a6225(0x1ea),{'enumerable':!0x0,'get':function(){return _0x4e5482;}}),_0x5e4f39['FDocumentTableCell']=_0x444506;}));