@univerjs-pro/docs-table 1.0.0-beta.0 → 1.0.0-beta.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.
@@ -17,6 +17,7 @@ export declare class DocsTableSelectionService extends Disposable {
17
17
  private readonly _docSelectionManagerService;
18
18
  private readonly _selectionChange$;
19
19
  private _structuralSelection;
20
+ private _structuralSelectionTableShape;
20
21
  private _nativeSelectionSuppressed;
21
22
  private _preserveStructuralSelectionOnNextTextSelection;
22
23
  readonly selectionChange$: import("rxjs").Observable<Nullable<IDocsTableSelection>>;
@@ -36,5 +37,7 @@ export declare class DocsTableSelectionService extends Disposable {
36
37
  private _getSelectionFromActiveTextRange;
37
38
  private _getSelectionFromRectRanges;
38
39
  private _canCombineRectRanges;
40
+ private _getValidStructuralSelection;
41
+ private _clearStructuralSelectionState;
39
42
  }
40
43
  export {};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x13532d,_0x4d1907){const _0x4a7977=_0x23c7,_0x51032b=_0x13532d();while(!![]){try{const _0x30bfee=parseInt(_0x4a7977(0xe1))/0x1*(-parseInt(_0x4a7977(0x100))/0x2)+parseInt(_0x4a7977(0xdc))/0x3+-parseInt(_0x4a7977(0xa3))/0x4*(-parseInt(_0x4a7977(0x88))/0x5)+-parseInt(_0x4a7977(0x89))/0x6*(parseInt(_0x4a7977(0x159))/0x7)+parseInt(_0x4a7977(0x15c))/0x8*(-parseInt(_0x4a7977(0x11b))/0x9)+parseInt(_0x4a7977(0xba))/0xa*(-parseInt(_0x4a7977(0xcf))/0xb)+-parseInt(_0x4a7977(0xc4))/0xc*(-parseInt(_0x4a7977(0x124))/0xd);if(_0x30bfee===_0x4d1907)break;else _0x51032b['push'](_0x51032b['shift']());}catch(_0x2e2ae3){_0x51032b['push'](_0x51032b['shift']());}}}(_0x2f9a,0x4b699),function(_0x4b57be,_0x4baf84){const _0x3c0561=_0x23c7;typeof exports=='object'&&typeof module<'u'?_0x4baf84(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x3c0561(0xe3)&&define[_0x3c0561(0x151)]?define([_0x3c0561(0x112),_0x3c0561(0xb8),_0x3c0561(0x15d),_0x3c0561(0xda),_0x3c0561(0x155)],_0x4baf84):(_0x4b57be=typeof globalThis<'u'?globalThis:_0x4b57be||self,_0x4baf84(_0x4b57be[_0x3c0561(0xbc)]={},_0x4b57be['UniverProDocsTable'],_0x4b57be['UniverCore'],_0x4b57be[_0x3c0561(0x149)],_0x4b57be[_0x3c0561(0xc0)]));}(this,function(_0x485777,_0x4fcea3,_0x1de5da,_0x4e00eb,_0x461350){const _0x35ec16=_0x23c7;Object[_0x35ec16(0xe8)](_0x485777,Symbol['toStringTag'],{'value':_0x35ec16(0x8d)});var _0x3efbfd=class extends _0x4e00eb[_0x35ec16(0x118)]{get[_0x35ec16(0xf6)](){const _0x5a3b9f=_0x35ec16;return _0x4fcea3[_0x5a3b9f(0xf6)];}get[_0x35ec16(0xc9)](){const _0x3744ce=_0x35ec16;return _0x4fcea3[_0x3744ce(0xc9)];}get[_0x35ec16(0x9e)](){const _0x354655=_0x35ec16;return _0x4fcea3[_0x354655(0x9e)];}get[_0x35ec16(0x107)](){return _0x4fcea3['DocsTableRowInsertPosition'];}get[_0x35ec16(0x127)](){const _0x1df8ce=_0x35ec16;return _0x4fcea3[_0x1df8ce(0x127)];}get[_0x35ec16(0xc2)](){const _0x597559=_0x35ec16;return _0x4fcea3[_0x597559(0xc2)];}get['DocsTableSortDirection'](){const _0x44be06=_0x35ec16;return _0x4fcea3[_0x44be06(0x143)];}get[_0x35ec16(0x158)](){const _0x26c55b=_0x35ec16;return _0x1de5da[_0x26c55b(0x158)];}};_0x4e00eb[_0x35ec16(0x118)][_0x35ec16(0x113)](_0x3efbfd);var _0x37036d=class{constructor(_0x84ad15,_0x3b80b1,_0x293f75){const _0x201b77=_0x35ec16;this['_table']=_0x84ad15,this[_0x201b77(0x10a)]=_0x3b80b1,this[_0x201b77(0x12b)]=_0x293f75;}[_0x35ec16(0xd4)](){const _0x1d8bf3=_0x35ec16;return this[_0x1d8bf3(0xcb)];}['getRowIndex'](){const _0x295929=_0x35ec16;return this[_0x295929(0x10a)];}[_0x35ec16(0xc3)](){const _0x3ff9e6=_0x35ec16;return this[_0x3ff9e6(0x12b)];}[_0x35ec16(0x129)](){const _0x57cbdb=_0x35ec16;return this[_0x57cbdb(0xcb)]['getCellText'](this['_row'],this['_column']);}[_0x35ec16(0xe7)](){const _0x47b95f=_0x35ec16;return this[_0x47b95f(0xcb)][_0x47b95f(0xaf)](this[_0x47b95f(0x10a)],this[_0x47b95f(0x12b)]);}[_0x35ec16(0x99)](){const _0xb097b5=_0x35ec16;return this['_table'][_0xb097b5(0xb1)](this[_0xb097b5(0x10a)],this[_0xb097b5(0x12b)]);}[_0x35ec16(0x121)](){const _0x25bc08=_0x35ec16;return this[_0x25bc08(0xcb)][_0x25bc08(0xd7)](this['_row'],this[_0x25bc08(0x12b)]);}[_0x35ec16(0xad)](){const _0x193852=_0x35ec16;return this[_0x193852(0xcb)]['getCellMarginOverride'](this[_0x193852(0x10a)],this[_0x193852(0x12b)]);}['setMargin'](_0xfb8d07){const _0x19c10d=_0x35ec16;return this['_table'][_0x19c10d(0xeb)](this['_table']['getCellRange'](this[_0x19c10d(0x10a)],this[_0x19c10d(0x12b)]),_0xfb8d07);}[_0x35ec16(0x9b)](){const _0x34480c=_0x35ec16;return this[_0x34480c(0xcb)][_0x34480c(0xeb)](this[_0x34480c(0xcb)][_0x34480c(0x12a)](this[_0x34480c(0x10a)],this[_0x34480c(0x12b)]),null);}[_0x35ec16(0xdd)](_0x56fab7){const _0x23339d=_0x35ec16;return this['_table'][_0x23339d(0x144)](this[_0x23339d(0x10a)],this[_0x23339d(0x12b)],_0x56fab7);}[_0x35ec16(0x157)](_0x778770){const _0x3cadee=_0x35ec16;return this[_0x3cadee(0xcb)][_0x3cadee(0x136)](this[_0x3cadee(0xcb)]['getCellRange'](this[_0x3cadee(0x10a)],this[_0x3cadee(0x12b)]),_0x778770);}[_0x35ec16(0xf3)](_0x3064cf){const _0x112a29=_0x35ec16;return this[_0x112a29(0xcb)][_0x112a29(0xf3)](this[_0x112a29(0xcb)][_0x112a29(0x12a)](this['_row'],this[_0x112a29(0x12b)]),_0x3064cf);}['mergeTo'](_0x3d8a2d,_0x4d7e2e){const _0x350a33=_0x35ec16;return this[_0x350a33(0xcb)][_0x350a33(0x94)]({'startRow':this[_0x350a33(0x10a)],'startColumn':this[_0x350a33(0x12b)],'endRow':this[_0x350a33(0x10a)]+_0x3d8a2d-0x1,'endColumn':this['_column']+_0x4d7e2e-0x1});}[_0x35ec16(0x125)](){const _0x4bc508=_0x35ec16;return this['_table'][_0x4bc508(0xb7)](this[_0x4bc508(0xcb)]['getCellRange'](this['_row'],this['_column']));}};function _0x23667d(_0x4aa22b){'@babel/helpers - typeof';const _0x2d1da4=_0x35ec16;return _0x23667d=typeof Symbol==_0x2d1da4(0xe3)&&typeof Symbol['iterator']==_0x2d1da4(0x11d)?function(_0x4ad6fe){return typeof _0x4ad6fe;}:function(_0x107c88){const _0x136ab2=_0x2d1da4;return _0x107c88&&typeof Symbol==_0x136ab2(0xe3)&&_0x107c88[_0x136ab2(0x82)]===Symbol&&_0x107c88!==Symbol[_0x136ab2(0xc8)]?_0x136ab2(0x11d):typeof _0x107c88;},_0x23667d(_0x4aa22b);}function _0x5685bd(_0x14391d,_0x23777a){const _0x5192f2=_0x35ec16;if(_0x23667d(_0x14391d)!=_0x5192f2(0xbf)||!_0x14391d)return _0x14391d;var _0x332852=_0x14391d[Symbol['toPrimitive']];if(_0x332852!==void 0x0){var _0x1906ae=_0x332852[_0x5192f2(0x131)](_0x14391d,_0x23777a||'default');if(_0x23667d(_0x1906ae)!='object')return _0x1906ae;throw TypeError(_0x5192f2(0x8f));}return(_0x23777a===_0x5192f2(0xde)?String:Number)(_0x14391d);}function _0x1acee6(_0x3a0d8e){const _0x28ad27=_0x35ec16;var _0x27655a=_0x5685bd(_0x3a0d8e,_0x28ad27(0xde));return _0x23667d(_0x27655a)==_0x28ad27(0x11d)?_0x27655a:_0x27655a+'';}function _0x30ca2b(_0x12dc3a,_0x5efead,_0x3f397b){return(_0x5efead=_0x1acee6(_0x5efead))in _0x12dc3a?Object['defineProperty'](_0x12dc3a,_0x5efead,{'value':_0x3f397b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x12dc3a[_0x5efead]=_0x3f397b,_0x12dc3a;}var _0x39f630=class{constructor(_0x5f3f77,_0x391ab2,_0x2a27c8='',_0x2142ae){const _0x858b3=_0x35ec16;this[_0x858b3(0xec)]=_0x5f3f77,this[_0x858b3(0xfa)]=_0x391ab2,this['_segmentId']=_0x2a27c8,this['_injector']=_0x2142ae,_0x30ca2b(this,_0x858b3(0x11f),void 0x0),this[_0x858b3(0x11f)]=this['_document'][_0x858b3(0x13e)]();}['getId'](){const _0x330501=_0x35ec16;return this[_0x330501(0xfa)];}[_0x35ec16(0x96)](){const _0x48fe79=_0x35ec16;return this[_0x48fe79(0xb4)];}['getInfo'](){const _0x48514c=_0x35ec16;return{'id':this['_tableId'],'rowCount':this[_0x48514c(0x134)](),'columnCount':this[_0x48514c(0xb5)](),'metadata':this[_0x48514c(0xae)](),'source':this[_0x48514c(0x148)]()};}[_0x35ec16(0x101)](){const _0xe44d9d=_0x35ec16;let _0x53f74f=this[_0xe44d9d(0xae)](),_0x397e34=this[_0xe44d9d(0x148)](),_0xfcb563=this[_0xe44d9d(0xb5)]();return{'id':this[_0xe44d9d(0xfa)],'rowCount':this['getRowCount'](),'columnCount':_0xfcb563,'headerRowCount':(_0x53f74f==null?void 0x0:_0x53f74f[_0xe44d9d(0x150)])??0x0,'titleRow':(_0x53f74f==null?void 0x0:_0x53f74f[_0xe44d9d(0x119)])??!0x1,'columns':Array[_0xe44d9d(0x13a)]({'length':_0xfcb563},(_0x3a7046,_0x1ed7d3)=>{const _0x5f472c=_0xe44d9d;var _0x26293f,_0x55b0a9;return{'index':_0x1ed7d3,'type':_0x53f74f==null||(_0x26293f=_0x53f74f[_0x5f472c(0x102)])==null||(_0x26293f=_0x26293f[_0x1ed7d3])==null?void 0x0:_0x26293f[_0x5f472c(0xd2)],'width':_0x397e34==null||(_0x55b0a9=_0x397e34['tableColumns'][_0x1ed7d3])==null?void 0x0:_0x55b0a9['size']['width']['v']};}),'sampleRows':Array[_0xe44d9d(0x13a)]({'length':this['getRowCount']()},(_0x4e279b,_0x49a7f3)=>Array[_0xe44d9d(0x13a)]({'length':_0xfcb563},(_0x371a75,_0x24fa05)=>this[_0xe44d9d(0x11c)](_0x49a7f3,_0x24fa05)))[_0xe44d9d(0x145)](_0x3fcc07=>_0x3fcc07[_0xe44d9d(0x116)](_0xe385e8=>_0xe385e8[_0xe44d9d(0x87)]>0x0))[_0xe44d9d(0xfc)](0x0,0x5)};}[_0x35ec16(0x134)](){const _0x502466=_0x35ec16;var _0x15bdd4;return((_0x15bdd4=this['getSource']())==null?void 0x0:_0x15bdd4[_0x502466(0x10f)][_0x502466(0x87)])??0x0;}['getColumnCount'](){const _0x2368dd=_0x35ec16;var _0x229b26;return((_0x229b26=this[_0x2368dd(0x148)]())==null?void 0x0:_0x229b26[_0x2368dd(0x84)][_0x2368dd(0x87)])??0x0;}[_0x35ec16(0xf4)](_0x4a4160,_0x2a4014){const _0x2f257a=_0x35ec16;var _0x566883;return(_0x566883=this[_0x2f257a(0x148)]())!=null&&(_0x566883=_0x566883[_0x2f257a(0x10f)][_0x4a4160])!=null&&_0x566883[_0x2f257a(0x97)][_0x2a4014]?this['_injector'][_0x2f257a(0x12d)](_0x37036d,this,_0x4a4160,_0x2a4014):null;}[_0x35ec16(0x11c)](_0x2e2057,_0x18bef2){const _0x57bfff=_0x35ec16;var _0x19993f,_0xd4c91e;let _0x2a2328=(_0x19993f=(0x0,_0x4fcea3[_0x57bfff(0xf9)])(this[_0x57bfff(0xbd)](),this['_tableId']))==null||(_0x19993f=_0x19993f[_0x57bfff(0xa2)][_0x2e2057])==null?void 0x0:_0x19993f[_0x57bfff(0x142)][_0x18bef2];return _0x2a2328?((_0xd4c91e=this['_getDocumentData']()[_0x57bfff(0x105)])==null?void 0x0:_0xd4c91e[_0x57bfff(0x13f)]['slice'](_0x2a2328[_0x57bfff(0x12f)]+0x1,_0x2a2328[_0x57bfff(0x14e)])['replace'](/\r\n$/,''))??'':'';}[_0x35ec16(0xd7)](_0x4f6093,_0x205b9c){const _0x138b54=_0x35ec16;var _0x4649f4;let _0x2fba35=this['getSource'](),_0x136691=_0x2fba35==null||(_0x4649f4=_0x2fba35[_0x138b54(0x10f)][_0x4f6093])==null?void 0x0:_0x4649f4[_0x138b54(0x97)][_0x205b9c];return _0x136691?_0x1de5da['Tools'][_0x138b54(0x8a)](_0x136691[_0x138b54(0xe4)]??_0x2fba35[_0x138b54(0x9a)]??_0x4fcea3['DEFAULT_DOCS_TABLE_CELL_MARGIN']):null;}[_0x35ec16(0xb3)](_0xaa3e58,_0x183907){const _0x49e663=_0x35ec16;var _0x316768;let _0x255c5f=(_0x316768=this[_0x49e663(0x148)]())==null||(_0x316768=_0x316768[_0x49e663(0x10f)][_0xaa3e58])==null?void 0x0:_0x316768[_0x49e663(0x97)][_0x183907];return _0x255c5f!=null&&_0x255c5f[_0x49e663(0xe4)]?_0x1de5da[_0x49e663(0x156)][_0x49e663(0x8a)](_0x255c5f[_0x49e663(0xe4)]):null;}[_0x35ec16(0x152)](){const _0x6c6822=_0x35ec16;var _0x422eda;return _0x1de5da[_0x6c6822(0x156)][_0x6c6822(0x8a)](((_0x422eda=this['getSource']())==null?void 0x0:_0x422eda['cellMargin'])??_0x4fcea3[_0x6c6822(0xb2)]);}[_0x35ec16(0x10d)](){const _0x1cc365=_0x35ec16;var _0x47f413;let _0x1b76f4=(_0x47f413=this[_0x1cc365(0x148)]())==null?void 0x0:_0x47f413['cellMargin'];return _0x1b76f4?_0x1de5da[_0x1cc365(0x156)][_0x1cc365(0x8a)](_0x1b76f4):null;}['getMetadata'](){const _0x1dff68=_0x35ec16;return this['_injector']['get'](_0x4fcea3[_0x1dff68(0x12e)])[_0x1dff68(0xc5)](this[_0x1dff68(0x11f)],this[_0x1dff68(0xfa)]);}[_0x35ec16(0x148)](){const _0x2ea99d=_0x35ec16;var _0x5278da;return(_0x5278da=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0x5278da[this[_0x2ea99d(0xfa)]];}['getRange'](){const _0x1cfed9=_0x35ec16;return(0x0,_0x4fcea3[_0x1cfed9(0xf9)])(this[_0x1cfed9(0xbd)](),this[_0x1cfed9(0xfa)]);}[_0x35ec16(0xa0)](){const _0x578f85=_0x35ec16;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x578f85(0x134)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x578f85(0xc1)](0x0,this['getColumnCount']()-0x1)};}[_0x35ec16(0x12a)](_0x3af197,_0x4d2933){return{'startRow':_0x3af197,'endRow':_0x3af197,'startColumn':_0x4d2933,'endColumn':_0x4d2933};}[_0x35ec16(0xaf)](_0x3d58df,_0x27fb43){const _0xa20e78=_0x35ec16;var _0x409a58;let _0x50658f=(_0x409a58=(0x0,_0x4fcea3[_0xa20e78(0xf9)])(this[_0xa20e78(0xbd)](),this[_0xa20e78(0xfa)]))==null||(_0x409a58=_0x409a58[_0xa20e78(0xa2)][_0x3d58df])==null?void 0x0:_0x409a58['cells'][_0x27fb43];if(!_0x50658f)return null;let _0x19c783=_0x50658f[_0xa20e78(0x12f)]+0x1;return{'startOffset':_0x19c783,'endOffset':Math[_0xa20e78(0xc1)](_0x19c783,_0x50658f[_0xa20e78(0x14e)]-0x1),'segmentId':this['_segmentId']};}[_0x35ec16(0xb1)](_0x31e842,_0x2245f1){const _0x21227b=_0x35ec16;let _0x221b67=this[_0x21227b(0xaf)](_0x31e842,_0x2245f1);return _0x221b67?Math['max'](_0x221b67[_0x21227b(0x12f)],_0x221b67['endOffset']-0x1):null;}['getRowRange'](_0x1851b4){const _0x1e5aba=_0x35ec16;return this[_0x1e5aba(0x103)](_0x1851b4,0x1);}['getRowsRange'](_0x3dc2ed,_0x3a48ae=0x1){return{'startRow':_0x3dc2ed,'endRow':_0x3dc2ed+_0x3a48ae-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this['getColumnCount']()-0x1)};}['getColumnRange'](_0x49edb7){const _0x2b7cf5=_0x35ec16;return this[_0x2b7cf5(0x12c)](_0x49edb7,0x1);}[_0x35ec16(0x12c)](_0x55d4a0,_0x34d1ff=0x1){const _0x58aa3d=_0x35ec16;return{'startRow':0x0,'endRow':Math[_0x58aa3d(0xc1)](0x0,this[_0x58aa3d(0x134)]()-0x1),'startColumn':_0x55d4a0,'endColumn':_0x55d4a0+_0x34d1ff-0x1};}[_0x35ec16(0xbb)](){const _0x438741=_0x35ec16;return this[_0x438741(0x133)](this['getTableRange'](),_0x4fcea3[_0x438741(0x9e)][_0x438741(0xcc)]);}['selectRow'](_0x48b437){const _0x31cc0a=_0x35ec16;return this[_0x31cc0a(0xfe)](_0x48b437,0x1);}[_0x35ec16(0xfe)](_0x456a71,_0x3f9413=0x1){const _0x588c4d=_0x35ec16;return this[_0x588c4d(0x133)](this[_0x588c4d(0x103)](_0x456a71,_0x3f9413),_0x4fcea3[_0x588c4d(0x9e)][_0x588c4d(0xd5)]);}[_0x35ec16(0x14f)](_0x10ee00){return this['selectColumns'](_0x10ee00,0x1);}[_0x35ec16(0x95)](_0x52d42b,_0x1078cc=0x1){const _0x22441a=_0x35ec16;return this[_0x22441a(0x133)](this[_0x22441a(0x12c)](_0x52d42b,_0x1078cc),_0x4fcea3[_0x22441a(0x9e)]['Column']);}[_0x35ec16(0xd0)](_0x2955a5,_0x315243){const _0x3fb17a=_0x35ec16;return this[_0x3fb17a(0x133)](this[_0x3fb17a(0x12a)](_0x2955a5,_0x315243),_0x4fcea3[_0x3fb17a(0x9e)][_0x3fb17a(0xa1)]);}[_0x35ec16(0x133)](_0x3feda3,_0x1d645f=_0x4fcea3[_0x35ec16(0x9e)][_0x35ec16(0x126)]){const _0x466ff9=_0x35ec16;return this[_0x466ff9(0xe5)][_0x466ff9(0xf8)](_0x4fcea3['DocsTableSelectionService'])[_0x466ff9(0xa7)]({..._0x3feda3,'kind':_0x1d645f,'segmentId':this[_0x466ff9(0xb4)],'tableId':this[_0x466ff9(0xfa)]}),!0x0;}[_0x35ec16(0x8c)](_0x2b125a){return this['insertRowsBefore'](_0x2b125a,0x1);}[_0x35ec16(0x9f)](_0xa9d36d){const _0x3ddb3f=_0x35ec16;return this[_0x3ddb3f(0x15f)](_0xa9d36d,0x1);}[_0x35ec16(0xfd)](_0x4466a4,_0xfd80e1){const _0x4214cc=_0x35ec16;let _0x8c8910=this[_0x4214cc(0xbd)](),_0x3b3c97=(0x0,_0x4fcea3[_0x4214cc(0xc7)])(_0x8c8910,this[_0x4214cc(0xfa)],_0x4466a4,_0xfd80e1,_0x4fcea3[_0x4214cc(0x9c)][_0x4214cc(0xa6)],this[_0x4214cc(0x106)]());return _0x3b3c97?this['_mutateActions'](_0x8c8910,_0x3b3c97['actions']):!0x1;}[_0x35ec16(0x15f)](_0x3ba10d,_0x3f76d8){const _0x118bb0=_0x35ec16;let _0x2bf76d=this[_0x118bb0(0xbd)](),_0x1230d5=(0x0,_0x4fcea3['buildInsertTableRowsMutationActions'])(_0x2bf76d,this[_0x118bb0(0xfa)],_0x3ba10d,_0x3f76d8,_0x4fcea3[_0x118bb0(0x9c)][_0x118bb0(0xbe)],this[_0x118bb0(0x106)]());return _0x1230d5?this[_0x118bb0(0x110)](_0x2bf76d,_0x1230d5[_0x118bb0(0x138)]):!0x1;}[_0x35ec16(0x92)](){const _0x3021e2=_0x35ec16;return this['insertRowsAfter'](Math[_0x3021e2(0xc1)](0x0,this[_0x3021e2(0x134)]()-0x1),0x1);}[_0x35ec16(0x83)](_0x94892){const _0x24cceb=_0x35ec16;return this[_0x24cceb(0xf7)](_0x94892,0x1);}['insertColumnAfter'](_0x240400){const _0x4c9a80=_0x35ec16;return this[_0x4c9a80(0x122)](_0x240400,0x1);}['insertColumnsBefore'](_0x83b6fb,_0x557fa6){const _0x27547e=_0x35ec16;let _0x1e48b=this[_0x27547e(0xbd)](),_0x20f8f4=(0x0,_0x4fcea3[_0x27547e(0x111)])(_0x1e48b,this[_0x27547e(0xfa)],_0x83b6fb,_0x557fa6,_0x4fcea3[_0x27547e(0x9c)][_0x27547e(0x90)],{'bodyPath':this[_0x27547e(0x106)]()});return _0x20f8f4?this[_0x27547e(0x110)](_0x1e48b,_0x20f8f4['actions']):!0x1;}['insertColumnsAfter'](_0x20a2fd,_0x75c87a){const _0x59e54b=_0x35ec16;let _0xdca956=this[_0x59e54b(0xbd)](),_0x23133b=(0x0,_0x4fcea3[_0x59e54b(0x111)])(_0xdca956,this[_0x59e54b(0xfa)],_0x20a2fd,_0x75c87a,_0x4fcea3[_0x59e54b(0x9c)][_0x59e54b(0xed)],{'bodyPath':this[_0x59e54b(0x106)]()});return _0x23133b?this[_0x59e54b(0x110)](_0xdca956,_0x23133b[_0x59e54b(0x138)]):!0x1;}[_0x35ec16(0xe6)](){const _0x36f25e=_0x35ec16;return this[_0x36f25e(0x122)](Math[_0x36f25e(0xc1)](0x0,this[_0x36f25e(0xb5)]()-0x1),0x1);}[_0x35ec16(0xb9)](_0xda79b2){const _0x1c635a=_0x35ec16;return this[_0x1c635a(0xc6)](_0xda79b2,0x1);}[_0x35ec16(0xc6)](_0xccb82c,_0x3ede4a=0x1){const _0x598433=_0x35ec16;let _0x4167e2=this['_getDocumentData'](),_0x689925=(0x0,_0x4fcea3[_0x598433(0xd1)])(_0x4167e2,this[_0x598433(0xfa)],_0xccb82c,_0xccb82c+_0x3ede4a-0x1,this[_0x598433(0x106)]());return _0x689925?this[_0x598433(0x110)](_0x4167e2,_0x689925['actions']):!0x1;}[_0x35ec16(0x108)](_0x150104){return this['deleteColumns'](_0x150104,0x1);}[_0x35ec16(0xf1)](_0x1e9748,_0x526325=0x1){const _0x3f9c41=_0x35ec16;let _0x5bc6a0=this['_getDocumentData'](),_0x10d8df=(0x0,_0x4fcea3[_0x3f9c41(0xa8)])(_0x5bc6a0,this['_tableId'],_0x1e9748,_0x1e9748+_0x526325-0x1,this[_0x3f9c41(0x106)]());return _0x10d8df?this[_0x3f9c41(0x110)](_0x5bc6a0,_0x10d8df[_0x3f9c41(0x138)]):!0x1;}[_0x35ec16(0x8b)](){const _0x26894e=_0x35ec16;let _0x4d2091=this[_0x26894e(0xbd)](),_0x23b823=(0x0,_0x4fcea3[_0x26894e(0x8e)])(_0x4d2091,this[_0x26894e(0xfa)],this[_0x26894e(0x106)]());return _0x23b823?this[_0x26894e(0x110)](_0x4d2091,_0x23b823[_0x26894e(0x138)]):!0x1;}['moveTableBy'](_0x3924ea,_0x491707){const _0x4fa668=_0x35ec16;let _0x53e2fb=this[_0x4fa668(0xbd)]();return this[_0x4fa668(0x110)](_0x53e2fb,(0x0,_0x4fcea3[_0x4fa668(0x120)])(_0x53e2fb,this['_tableId'],_0x3924ea,_0x491707));}[_0x35ec16(0x10e)](_0x1d3caa){const _0x3c6b4d=_0x35ec16;let _0x4e2d34=this[_0x3c6b4d(0xbd)]();return this[_0x3c6b4d(0x110)](_0x4e2d34,(0x0,_0x4fcea3[_0x3c6b4d(0xab)])(_0x4e2d34,this[_0x3c6b4d(0xfa)],_0x1d3caa,this[_0x3c6b4d(0x106)]()));}[_0x35ec16(0x141)](_0x321065,_0x3b0871,_0xb17f19=_0x4fcea3['DocsTableInsertPosition'][_0x35ec16(0xa6)]){return this['moveRows'](_0x321065,0x1,_0x3b0871,_0xb17f19);}[_0x35ec16(0xca)](_0x174280,_0x3ea3bc,_0x1705c9,_0x32ab67=_0x4fcea3[_0x35ec16(0x9c)][_0x35ec16(0xa6)]){const _0x5e1150=_0x35ec16;let _0x753b59=this[_0x5e1150(0xbd)](),_0x291990=(0x0,_0x4fcea3['buildMoveTableRowsMutationActions'])(_0x753b59,this[_0x5e1150(0xfa)],_0x174280,_0x1705c9,_0x3ea3bc,_0x32ab67,this[_0x5e1150(0x106)]());return _0x291990?this[_0x5e1150(0x110)](_0x753b59,_0x291990['actions']):!0x1;}[_0x35ec16(0x140)](_0x141d52,_0x5c0501,_0x808a04=_0x4fcea3[_0x35ec16(0x9c)][_0x35ec16(0x90)]){const _0x5bfd28=_0x35ec16;return this[_0x5bfd28(0x93)](_0x141d52,0x1,_0x5c0501,_0x808a04);}[_0x35ec16(0x93)](_0x1164a0,_0xb54fa2,_0x5e7884,_0x4c2b59=_0x4fcea3[_0x35ec16(0x9c)]['Left']){const _0x3886a4=_0x35ec16;let _0x13da21=this[_0x3886a4(0xbd)](),_0x4c3fb0=(0x0,_0x4fcea3['buildMoveTableColumnsMutationActions'])(_0x13da21,this['_tableId'],_0x1164a0,_0x5e7884,_0xb54fa2,_0x4c2b59,this['_getBodyPath']());return _0x4c3fb0?this[_0x3886a4(0x110)](_0x13da21,_0x4c3fb0[_0x3886a4(0x138)]):!0x1;}[_0x35ec16(0x94)](_0x454337){const _0x5a3c3c=_0x35ec16;try{let _0x4cd0a1=this['_getDocumentData'](),_0x307182=(0x0,_0x4fcea3[_0x5a3c3c(0x98)])({'documentData':_0x4cd0a1,'tableId':this[_0x5a3c3c(0xfa)],..._0x454337});return _0x307182?this[_0x5a3c3c(0x110)](_0x4cd0a1,_0x307182['actions'],_0x454337):!0x1;}catch{return!0x1;}}[_0x35ec16(0xb7)](_0x8d5ac9){const _0x31a352=_0x35ec16;try{let _0xcbe3f0=this[_0x31a352(0xbd)](),_0x2a3677=(0x0,_0x4fcea3[_0x31a352(0xb0)])({'documentData':_0xcbe3f0,'tableId':this[_0x31a352(0xfa)],..._0x8d5ac9});return _0x2a3677?this[_0x31a352(0x110)](_0xcbe3f0,_0x2a3677['actions'],_0x8d5ac9):!0x1;}catch{return!0x1;}}[_0x35ec16(0x144)](_0x45f4d7,_0x5d155a,_0x57d251){const _0x16e0d6=_0x35ec16;let _0x5cc827=this[_0x16e0d6(0xbd)](),_0x251924=(0x0,_0x4fcea3['getTableActionBodyPath'])(this['_document'][_0x16e0d6(0x13c)]()[_0x16e0d6(0x123)](),this[_0x16e0d6(0xb4)]);return this[_0x16e0d6(0x110)](_0x5cc827,(0x0,_0x4fcea3[_0x16e0d6(0x14b)])({'documentData':_0x5cc827,'tableId':this[_0x16e0d6(0xfa)],'row':_0x45f4d7,'column':_0x5d155a,'text':_0x57d251},_0x251924),this[_0x16e0d6(0x12a)](_0x45f4d7,_0x5d155a));}[_0x35ec16(0x136)](_0x35bf3a,_0x456582){const _0x59dca5=_0x35ec16;let _0x4ed6ac=this['_getDocumentData']();return this[_0x59dca5(0x110)](_0x4ed6ac,(0x0,_0x4fcea3[_0x59dca5(0xac)])(_0x4ed6ac,{'tableId':this[_0x59dca5(0xfa)],..._0x35bf3a,'value':_0x456582}),_0x35bf3a);}[_0x35ec16(0xeb)](_0x311989,_0x4ac669){const _0x37f207=_0x35ec16;let _0x29389a=this['_getDocumentData']();return this['_mutateActions'](_0x29389a,(0x0,_0x4fcea3[_0x37f207(0xe9)])({'documentData':_0x29389a,'tableId':this[_0x37f207(0xfa)],..._0x311989,'margin':_0x4ac669}),_0x311989);}[_0x35ec16(0xaa)](_0x2f4689){const _0x107a86=_0x35ec16;let _0x4ac482=this['_getDocumentData']();return this[_0x107a86(0x110)](_0x4ac482,(0x0,_0x4fcea3['buildSetTableDefaultCellMarginMutationActions'])(_0x4ac482,this[_0x107a86(0xfa)],_0x2f4689));}[_0x35ec16(0xf3)](_0x552ea4,_0x1aeb70){const _0x418722=_0x35ec16;let _0xb91b7e=this[_0x418722(0xbd)]();return this[_0x418722(0x110)](_0xb91b7e,(0x0,_0x4fcea3[_0x418722(0x10c)])({'documentData':_0xb91b7e,'tableId':this[_0x418722(0xfa)],..._0x552ea4,'preset':_0x1aeb70[_0x418722(0xea)]??_0x4fcea3[_0x418722(0xc2)][_0x418722(0x104)],'border':_0x1aeb70[_0x418722(0x14d)]??{'color':{'rgb':_0x1aeb70[_0x418722(0x13b)]??_0x418722(0x137)},'width':{'v':_0x1aeb70[_0x418722(0x86)]??0x1},'dashStyle':_0x1de5da['DashStyleType'][_0x418722(0xd9)]}}),_0x552ea4);}['setTableBackground'](_0x1ea3f5){const _0x57383f=_0x35ec16;return this['setCellBackground'](this[_0x57383f(0xa0)](),_0x1ea3f5);}['setTableBorder'](_0x482d4a){const _0xf65955=_0x35ec16;return this[_0xf65955(0xf3)](this[_0xf65955(0xa0)](),_0x482d4a);}[_0x35ec16(0xcd)](_0x5c855f){const _0x393f2e=_0x35ec16;let _0x58dd83=!_0x5c855f['backgroundColor']||this[_0x393f2e(0x153)](_0x5c855f[_0x393f2e(0x117)]),_0x4094e1=!_0x5c855f[_0x393f2e(0x14d)]||this[_0x393f2e(0x13d)](_0x5c855f[_0x393f2e(0x14d)]);return _0x58dd83&&_0x4094e1;}[_0x35ec16(0x9d)](_0x563674,_0x2ccc38,_0x559a39=_0x1de5da[_0x35ec16(0x135)][_0x35ec16(0x15a)]){const _0xfb1d72=_0x35ec16;var _0x22f445;let _0x3bfbfa=this[_0xfb1d72(0xbd)]();return(_0x22f445=_0x3bfbfa['tableSource'])!=null&&(_0x22f445=_0x22f445[this[_0xfb1d72(0xfa)]])!=null&&_0x22f445[_0xfb1d72(0x10f)][_0x563674]?this[_0xfb1d72(0x110)](_0x3bfbfa,(0x0,_0x4fcea3['buildResizeTableRowActionsFromHeight'])(_0x3bfbfa,this[_0xfb1d72(0xfa)],_0x563674,_0x2ccc38,_0x559a39)):!0x1;}[_0x35ec16(0xff)](_0x44ddf0){const _0x4ae771=_0x35ec16;var _0x4e5ece;let _0x25df1a=(_0x4e5ece=this[_0x4ae771(0x148)]())==null||(_0x4e5ece=_0x4e5ece[_0x4ae771(0x10f)][_0x44ddf0])==null?void 0x0:_0x4e5ece['trHeight'];return _0x25df1a?_0x1de5da[_0x4ae771(0x156)][_0x4ae771(0x8a)](_0x25df1a):null;}['setColumnWidth'](_0x4e52a3,_0x6bfa5a){const _0xa54717=_0x35ec16;var _0x5bfe02;let _0x4f1c9d=this['_getDocumentData']();return(_0x5bfe02=_0x4f1c9d[_0xa54717(0xe2)])!=null&&(_0x5bfe02=_0x5bfe02[this[_0xa54717(0xfa)]])!=null&&_0x5bfe02[_0xa54717(0x84)][_0x4e52a3]?this[_0xa54717(0x110)](_0x4f1c9d,(0x0,_0x4fcea3['buildResizeTableColumnActionsFromWidth'])(_0x4f1c9d,this[_0xa54717(0xfa)],_0x4e52a3,_0x6bfa5a)):!0x1;}['distributeRows'](_0x3056be=0x0,_0x1ce603=this[_0x35ec16(0x134)]()){const _0x161b27=_0x35ec16;let _0x5b9b3c=this[_0x161b27(0xbd)]();return this[_0x161b27(0x110)](_0x5b9b3c,(0x0,_0x4fcea3[_0x161b27(0x154)])(_0x5b9b3c,this['_tableId'],_0x3056be,_0x3056be+_0x1ce603-0x1));}[_0x35ec16(0x11a)](_0x1219b3=0x0,_0x1f3690=this[_0x35ec16(0xb5)]()){const _0x191d5d=_0x35ec16;let _0x56513f=this['_getDocumentData']();return this[_0x191d5d(0x110)](_0x56513f,(0x0,_0x4fcea3[_0x191d5d(0x10b)])(_0x56513f,this[_0x191d5d(0xfa)],_0x1219b3,_0x1219b3+_0x1f3690-0x1));}[_0x35ec16(0x132)](){const _0x4bd054=_0x35ec16;var _0x1de917;return((_0x1de917=this[_0x4bd054(0xae)]())==null?void 0x0:_0x1de917[_0x4bd054(0x150)])??0x0;}[_0x35ec16(0x146)](_0x4a052a){const _0x1fcd85=_0x35ec16;let _0x4e38f4=this['_injector'][_0x1fcd85(0xf8)](_0x4fcea3['DocsTableModel']),_0x323df6=this[_0x1fcd85(0xbd)](),_0x2072b3=(0x0,_0x4fcea3[_0x1fcd85(0x15b)])(_0x323df6,this[_0x1fcd85(0xfa)],_0x4a052a);if(!_0x2072b3)return!0x1;let _0x3210b6=this[_0x1fcd85(0x110)](_0x323df6,_0x2072b3['actions']);return _0x3210b6&&_0x4e38f4['setHeaderRowCount'](this['_unitId'],this[_0x1fcd85(0xfa)],_0x2072b3['headerRowCount']),_0x3210b6;}['pinHeaderRows'](_0x38bf26){return this['setHeaderRowCount'](_0x38bf26);}[_0x35ec16(0xce)](){const _0x3e5f91=_0x35ec16;var _0x3c3940;return((_0x3c3940=this[_0x3e5f91(0xae)]())==null?void 0x0:_0x3c3940[_0x3e5f91(0x119)])??!0x1;}['insertTitleRow'](){const _0x42ebdc=_0x35ec16;let _0x20fd4b=this[_0x42ebdc(0xe5)][_0x42ebdc(0xf8)](_0x4fcea3[_0x42ebdc(0x12e)]),_0x50585e=this[_0x42ebdc(0xbd)](),_0x7c1c97=(0x0,_0x4fcea3[_0x42ebdc(0x91)])(_0x50585e,this[_0x42ebdc(0xfa)],this[_0x42ebdc(0x106)]());if(!_0x7c1c97)return!0x1;let _0x2c0a1a=this[_0x42ebdc(0x110)](_0x50585e,_0x7c1c97['actions']);return _0x2c0a1a&&_0x20fd4b[_0x42ebdc(0x14a)](this[_0x42ebdc(0x11f)],this[_0x42ebdc(0xfa)],!0x0),_0x2c0a1a;}[_0x35ec16(0xe0)](_0x3863bf,_0x465744){const _0x3eab75=_0x35ec16;return this[_0x3eab75(0xe5)][_0x3eab75(0xf8)](_0x4fcea3[_0x3eab75(0x12e)])[_0x3eab75(0xe0)](this['_unitId'],this['_tableId'],_0x3863bf,_0x465744),!0x0;}[_0x35ec16(0x115)](_0x160614,_0x5c9ae9){const _0x4349a1=_0x35ec16;let _0x2b56e2=this[_0x4349a1(0xbd)]();return this[_0x4349a1(0x110)](_0x2b56e2,(0x0,_0x4fcea3['buildSortTableMutationActions'])(_0x2b56e2,this[_0x4349a1(0x14c)](),this[_0x4349a1(0xfa)],_0x160614,_0x5c9ae9,this[_0x4349a1(0x106)]()));}[_0x35ec16(0xbd)](){const _0x45d941=_0x35ec16;let _0x24cc33=this[_0x45d941(0xec)][_0x45d941(0x13c)]()['getSnapshot']();return this['_segmentId']?{...this[_0x45d941(0xec)][_0x45d941(0x13c)](this[_0x45d941(0xb4)])['getSnapshot'](),'documentStyle':_0x24cc33[_0x45d941(0x147)],'tableSource':_0x24cc33[_0x45d941(0xe2)]}:_0x24cc33;}[_0x35ec16(0x14c)](){const _0x1bbe3b=_0x35ec16;return this['_injector']['get'](_0x4fcea3[_0x1bbe3b(0x12e)])['serialize'](this[_0x1bbe3b(0x11f)]);}['_getBodyPath'](){const _0x5d9d26=_0x35ec16;return(0x0,_0x4fcea3[_0x5d9d26(0xb6)])(this[_0x5d9d26(0xec)][_0x5d9d26(0x13c)]()[_0x5d9d26(0x123)](),this['_segmentId']);}[_0x35ec16(0x110)](_0x556736,_0x452f85,_0x42ed9){const _0x4b9556=_0x35ec16;return(0x0,_0x4fcea3[_0x4b9556(0xf0)])(this[_0x4b9556(0xe5)][_0x4b9556(0xf8)](_0x1de5da[_0x4b9556(0x11e)]),this['_unitId'],_0x556736,_0x452f85,_0x42ed9?{'tableId':this[_0x4b9556(0xfa)],'segmentId':this[_0x4b9556(0xb4)],..._0x42ed9}:void 0x0);}},_0x419589=class extends _0x461350[_0x35ec16(0xdf)]{[_0x35ec16(0x139)](_0x49136a=''){const _0x8cab36=_0x35ec16;return this[_0x8cab36(0x109)](_0x49136a)[_0x8cab36(0xd6)](_0x495bba=>this[_0x8cab36(0xf2)](_0x495bba[_0x8cab36(0x81)],_0x49136a));}['getTable'](_0x472cc4,_0x1dac17=''){const _0x2768bc=_0x35ec16;return this[_0x2768bc(0x109)](_0x1dac17)[_0x2768bc(0x116)](_0x5c879a=>_0x5c879a[_0x2768bc(0x81)]===_0x472cc4)?this['_createFDocumentTable'](_0x472cc4,_0x1dac17):null;}['getTableAt'](_0x2d0f8b,_0x24b2dc=''){const _0x271d0d=_0x35ec16;var _0x44a91b;let _0x523fc5=(_0x44a91b=this['_getTables'](_0x24b2dc)[_0x2d0f8b])==null?void 0x0:_0x44a91b[_0x271d0d(0x81)];return _0x523fc5?this[_0x271d0d(0xf2)](_0x523fc5,_0x24b2dc):null;}['getTableAtSelection'](){const _0x464c5c=_0x35ec16;let _0x413d56=this[_0x464c5c(0xe5)][_0x464c5c(0xf8)](_0x4fcea3['DocsTableSelectionService'])[_0x464c5c(0xdb)]();return _0x413d56!=null&&_0x413d56[_0x464c5c(0x81)]?this[_0x464c5c(0xf2)](_0x413d56[_0x464c5c(0x81)],_0x413d56[_0x464c5c(0xd8)]):null;}['findTableByText'](_0x23cae9,_0x238b44=''){const _0x487deb=_0x35ec16;return this[_0x487deb(0x114)](_0x23cae9,_0x238b44)[0x0]??null;}[_0x35ec16(0x114)](_0x485a7b,_0x182c1e=''){const _0x72ad59=_0x35ec16;let _0x42f0c6=this['_getTableDocumentData'](_0x182c1e),_0x2a6cbf=typeof _0x485a7b==_0x72ad59(0xde)?{'text':_0x485a7b}:_0x485a7b;return this['getTables'](_0x182c1e)['filter'](_0x56c8be=>{const _0x21f18a=_0x72ad59;let _0x31572b=_0x56c8be[_0x21f18a(0x13e)]();return!(_0x2a6cbf[_0x21f18a(0x81)]&&_0x31572b!==_0x2a6cbf[_0x21f18a(0x81)]||_0x2a6cbf[_0x21f18a(0x85)]&&!this[_0x21f18a(0xef)](_0x42f0c6,_0x31572b,_0x2a6cbf[_0x21f18a(0x85)])||_0x2a6cbf[_0x21f18a(0x15e)]&&!this['_rowContainsText'](_0x56c8be,0x0,_0x2a6cbf[_0x21f18a(0x15e)])||_0x2a6cbf[_0x21f18a(0xa4)]&&!this[_0x21f18a(0xa9)](_0x56c8be,0x0,_0x2a6cbf[_0x21f18a(0xa4)]));});}[_0x35ec16(0xf5)](_0x21c1be,_0x417321,_0x30b411={}){const _0xf48517=_0x35ec16;let _0x5bbf9e=this[_0xf48517(0xe5)][_0xf48517(0xf8)](_0x1de5da[_0xf48517(0x11e)]),_0x12c6e3=_0x30b411[_0xf48517(0x81)]??(0x0,_0x1de5da[_0xf48517(0x128)])(0x6);return _0x5bbf9e[_0xf48517(0xa5)](_0x4fcea3[_0xf48517(0x130)]['id'],{..._0x30b411,'unitId':this[_0xf48517(0x13e)](),'rows':_0x21c1be,'columns':_0x417321,'tableId':_0x12c6e3})?this[_0xf48517(0xf2)](_0x12c6e3,_0x30b411[_0xf48517(0xd8)]??''):null;}['insertTableFromData'](_0x3ef0e0,_0x4c2d67={}){const _0x481ed4=_0x35ec16;let _0x68cdd7=this[_0x481ed4(0xe5)][_0x481ed4(0xf8)](_0x1de5da[_0x481ed4(0x11e)]),_0x162cf9=_0x4c2d67[_0x481ed4(0x81)]??(0x0,_0x1de5da[_0x481ed4(0x128)])(0x6);return _0x68cdd7[_0x481ed4(0xa5)](_0x4fcea3[_0x481ed4(0x130)]['id'],{..._0x4c2d67,'unitId':this['getId'](),'values':_0x3ef0e0,'tableId':_0x162cf9})?this['_createFDocumentTable'](_0x162cf9,_0x4c2d67['segmentId']??''):null;}[_0x35ec16(0x109)](_0x5b7638=''){let {tables:_0x5d8239=[]}=this['getBody'](_0x5b7638);return _0x5d8239;}[_0x35ec16(0xee)](_0x59f209=''){const _0x2365ed=_0x35ec16;let _0x2721b9=this['getDocumentDataModel']()[_0x2365ed(0x123)]();return _0x59f209?{...this[_0x2365ed(0x13c)](_0x59f209)[_0x2365ed(0x123)](),'documentStyle':_0x2721b9[_0x2365ed(0x147)],'tableSource':_0x2721b9[_0x2365ed(0xe2)]}:_0x2721b9;}[_0x35ec16(0xf2)](_0x250cde,_0xa5f926=''){const _0x39c91f=_0x35ec16;return this['_injector'][_0x39c91f(0x12d)](_0x39f630,this,_0x250cde,_0xa5f926,this[_0x39c91f(0xe5)]);}[_0x35ec16(0xef)](_0x58ae3f,_0x4fbc8b,_0x3c7390){const _0x29995d=_0x35ec16;var _0x263dd4;let _0x518a6e=(0x0,_0x4fcea3[_0x29995d(0xf9)])(_0x58ae3f,_0x4fbc8b);if(!_0x518a6e)return!0x1;let _0x3492f2=(_0x263dd4=_0x58ae3f[_0x29995d(0x105)])==null?void 0x0:_0x263dd4[_0x29995d(0x13f)];return _0x3492f2?_0x3492f2[_0x29995d(0xfc)](_0x518a6e[_0x29995d(0x12f)],_0x518a6e[_0x29995d(0x14e)])[_0x29995d(0xfb)](_0x3c7390):!0x1;}['_rowContainsText'](_0x509558,_0x18e81e,_0x5f5a15){const _0x216771=_0x35ec16;return Array[_0x216771(0x13a)]({'length':_0x509558[_0x216771(0xb5)]()},(_0x28be44,_0x23be4d)=>_0x509558['getCellText'](_0x18e81e,_0x23be4d))[_0x216771(0x116)](_0x32cc5f=>_0x32cc5f[_0x216771(0xfb)](_0x5f5a15));}};_0x461350[_0x35ec16(0xdf)][_0x35ec16(0x113)](_0x419589),_0x485777[_0x35ec16(0xd3)]=_0x39f630,_0x485777['FDocumentTableCell']=_0x37036d;}));function _0x23c7(_0x32c934,_0x2cc98b){_0x32c934=_0x32c934-0x81;const _0x2f9af4=_0x2f9a();let _0x23c7c4=_0x2f9af4[_0x32c934];return _0x23c7c4;}function _0x2f9a(){const _0x446e74=['unmergeCells','@univerjs-pro/docs-table','deleteRow','2400190wueBJy','selectTable','UniverProDocsTableFacade','_getDocumentData','Below','object','UniverDocsFacade','max','DocsTableBorderPreset','getColumnIndex','4188372nbvAcH','getTableMetadata','deleteRows','buildInsertTableRowsMutationActions','prototype','DocsTableColumnType','moveRows','_table','Table','setTableStyle','hasTitleRow','22cVRaEW','selectCell','buildDeleteTableRowsMutationActions','type','FDocumentTable','getTable','Row','map','getCellMargin','segmentId','SOLID','@univerjs/core/facade','getStableTableSelection','632805rKXSSL','setText','string','FDocument','setColumnType','2657StzLLs','tableSource','function','margin','_injector','appendColumn','getContentRange','defineProperty','buildSetTableCellMarginMutationActions','preset','setCellMargin','_document','Right','_getTableDocumentData','_tableContainsText','executeRichTextTableActions','deleteColumns','_createFDocumentTable','setBorder','getCell','insertTable','DocsTableInsertTablePosition','insertColumnsBefore','get','getTableRangeById','_tableId','includes','slice','insertRowsBefore','selectRows','getRowHeight','182iVaGEz','describe','columnTypes','getRowsRange','All','body','_getBodyPath','DocsTableRowInsertPosition','deleteColumn','_getTables','_row','buildDistributeTableColumnsMutationActions','buildSetTableBorderMutationActions','getDefaultCellMarginOverride','moveTableToOffset','tableRows','_mutateActions','buildInsertTableColumnsMutationActions','exports','extend','findTables','sortByColumn','some','backgroundColor','FEnum','titleRow','distributeColumns','2135682laCnsx','getCellText','symbol','ICommandService','_unitId','buildMoveFloatingTableMutationActions','getMargin','insertColumnsAfter','getSnapshot','26imFrVa','unmerge','Range','DocsTableColumnInsertPosition','generateRandomId','getText','getCellRange','_column','getColumnsRange','createInstance','DocsTableModel','startOffset','DocsTableInsertTableCommand','call','getHeaderRowCount','selectRange','getRowCount','TableRowHeightRule','setCellBackground','#1f1f1f','actions','getTables','from','color','getDocumentDataModel','setTableBorder','getId','dataStream','moveColumn','moveRow','cells','DocsTableSortDirection','setCellText','filter','setHeaderRowCount','documentStyle','getSource','UniverCoreFacade','setTitleRow','buildSetTableCellTextMutationActions','_serializeModel','border','endOffset','selectColumn','headerRowCount','amd','getDefaultCellMargin','setTableBackground','buildDistributeTableRowsMutationActions','@univerjs/docs/facade','Tools','setBackgroundColor','DashStyleType','2212xiZQXx','AT_LEAST','buildSetTableHeaderRowCountMutationActions','8edpydB','@univerjs/core','headerText','insertRowsAfter','tableId','constructor','insertColumnBefore','tableColumns','text','width','length','5RgGtcz','1878pwiLxZ','deepClone','deleteTable','insertRowBefore','Module','buildDeleteTableMutationActions','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Left','buildInsertTableTitleRowMutationActions','appendRow','moveColumns','mergeCells','selectColumns','getSegmentId','tableCells','buildMergeCellsMutationActions','getInsertOffset','cellMargin','clearMarginOverride','DocsTableInsertPosition','setRowHeight','DocsTableSelectionKind','insertRowAfter','getTableRange','Cell','rows','1831692lnnzHF','titleText','syncExecuteCommand','Above','setStructuralSelection','buildDeleteTableColumnsMutationActions','_rowContainsText','setDefaultCellMargin','buildMoveTableToOffsetMutationActions','buildSetTableBackgroundMutationActions','getMarginOverride','getMetadata','getCellContentRange','buildUnmergeCellsMutationActions','getCellInsertOffset','DEFAULT_DOCS_TABLE_CELL_MARGIN','getCellMarginOverride','_segmentId','getColumnCount','getTableActionBodyPath'];_0x2f9a=function(){return _0x446e74;};return _0x2f9a();}
1
+ function _0x4383(){const _0x158172=['_column','_table','dataStream','buildInsertTableRowsMutationActions','distributeColumns','@univerjs-pro/docs-table','1eGOCun','Table','33wXAqHY','getCellMarginOverride','_tableId','deleteColumn','_serializeModel','defineProperty','DocsTableSelectionService','DocsTableInsertTableCommand','SOLID','default','UniverCoreFacade','getTableRange','insertRowsBefore','_rowContainsText','getCell','iterator','getCellText','getRowsRange','toStringTag','setColumnType','getInsertOffset','buildMergeCellsMutationActions','Row','setHeaderRowCount','headerRowCount','#1f1f1f','4336392mwlyFn','4cuPfrs','actions','UniverProDocsTable','tableRows','moveTableToOffset','buildResizeTableColumnActionsFromWidth','buildMoveTableColumnsMutationActions','insertColumnBefore','getCellContentRange','getStableTableSelection','getTables','mergeCells','getTable','moveRows','tableId','getColumnIndex','DocsTableBorderPreset','appendRow','setTableBackground','getRowCount','_unitId','_getDocumentData','getMetadata','selectRows','slice','moveTableBy','selectTable','buildMoveTableToOffsetMutationActions','text','getSegmentId','getInfo','replace','map','width','buildSetTableDefaultCellMarginMutationActions','6990155zQgyXw','insertTableFromData','buildSetTableHeaderRowCountMutationActions','sortByColumn','3596194yCGjFC','AT_LEAST','object','insertColumnsAfter','buildInsertTableColumnsMutationActions','Below','Cell','deleteRows','selectRow','mergeTo','string','getCellMargin','DocsTableColumnInsertPosition','buildDeleteTableMutationActions','_injector','some','rows','clearMarginOverride','UniverCore','_segmentId','size','function','margin','buildInsertTableTitleRowMutationActions','from','syncExecuteCommand','DocsTableSortDirection','_row','getSnapshot','color','tableColumns','titleRow','_getTables','UniverProDocsTableFacade','getTableActionBodyPath','setBorder','unmerge','setTitleRow','_mutateActions','DEFAULT_DOCS_TABLE_CELL_MARGIN','endOffset','buildDistributeTableRowsMutationActions','buildDeleteTableRowsMutationActions','toPrimitive','705816puLlAy','titleText','moveColumn','@univerjs/core/facade','insertRowBefore','startOffset','filter','generateRandomId','getBody','moveColumns','@univerjs/core','backgroundColor','segmentId','documentStyle','@univerjs/docs/facade','max','DocsTableInsertPosition','getText','Tools','getCellInsertOffset','buildUnmergeCellsMutationActions','_getBodyPath','get','14489310fSFxCe','getRowIndex','unmergeCells','insertTitleRow','includes','getDocumentDataModel','tableCells','DocsTableModel','getContentRange','length','5168736ihddxu','DashStyleType','cells','body','getSource','All','_getTableDocumentData','getColumnsRange','setTableBorder','14609joHMRP','setColumnWidth','getCellRange','setCellBackground','buildDistributeTableColumnsMutationActions','selectRange','moveRow','Right','FDocument','_tableContainsText','columnTypes','FEnum','getId','DocsTableInsertTablePosition','insertColumnsBefore','symbol','setCellText','insertRowsAfter','exports','getColumnCount','getTableRangeById','selectColumns','deleteColumns','deleteRow','findTableByText','Range','border','call','deepClone','_document','setStructuralSelection','getTableMetadata','constructor','buildMoveFloatingTableMutationActions','Column','setCellMargin','cellMargin','getRange','getMargin','1794LLsBPi','ICommandService','setMargin','getTableAt','_createFDocumentTable','amd','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','FDocumentTable','Left','setBackgroundColor','prototype','hasTitleRow','buildSetTableBorderMutationActions','describe','Above','setText','buildSetTableBackgroundMutationActions','insertTable','distributeRows','extend','buildResizeTableRowActionsFromHeight','trHeight','findTables','FDocumentTableCell','tableSource','DocsTableSelectionKind','selectCell'];_0x4383=function(){return _0x158172;};return _0x4383();}function _0x3ddf(_0x998dd1,_0x51487a){_0x998dd1=_0x998dd1-0x14b;const _0x43839d=_0x4383();let _0x3ddfe6=_0x43839d[_0x998dd1];return _0x3ddfe6;}(function(_0x46ae4a,_0x853408){const _0x599722=_0x3ddf,_0x17b420=_0x46ae4a();while(!![]){try{const _0x4a5a65=-parseInt(_0x599722(0x21a))/0x1*(parseInt(_0x599722(0x17c))/0x2)+-parseInt(_0x599722(0x1c9))/0x3+parseInt(_0x599722(0x155))/0x4*(parseInt(_0x599722(0x178))/0x5)+parseInt(_0x599722(0x1f9))/0x6*(-parseInt(_0x599722(0x1d2))/0x7)+-parseInt(_0x599722(0x154))/0x8+-parseInt(_0x599722(0x1a8))/0x9+-parseInt(_0x599722(0x1bf))/0xa*(-parseInt(_0x599722(0x21c))/0xb);if(_0x4a5a65===_0x853408)break;else _0x17b420['push'](_0x17b420['shift']());}catch(_0x37d16d){_0x17b420['push'](_0x17b420['shift']());}}}(_0x4383,0xef181),function(_0x53502e,_0x25718f){const _0x41739f=_0x3ddf;typeof exports==_0x41739f(0x17e)&&typeof module<'u'?_0x25718f(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x41739f(0x191)&&define[_0x41739f(0x1fe)]?define([_0x41739f(0x1e4),_0x41739f(0x219),_0x41739f(0x1b2),_0x41739f(0x1ab),_0x41739f(0x1b6)],_0x25718f):(_0x53502e=typeof globalThis<'u'?globalThis:_0x53502e||self,_0x25718f(_0x53502e[_0x41739f(0x19d)]={},_0x53502e[_0x41739f(0x157)],_0x53502e[_0x41739f(0x18e)],_0x53502e[_0x41739f(0x226)],_0x53502e['UniverDocsFacade']));}(this,function(_0x53987e,_0x4351dd,_0x500470,_0x557e5a,_0x1f8921){const _0x2e5aff=_0x3ddf;Object[_0x2e5aff(0x221)](_0x53987e,Symbol[_0x2e5aff(0x14c)],{'value':'Module'});var _0x3a0586=class extends _0x557e5a[_0x2e5aff(0x1dd)]{get[_0x2e5aff(0x1df)](){const _0x2a3b00=_0x2e5aff;return _0x4351dd[_0x2a3b00(0x1df)];}get['DocsTableColumnType'](){return _0x4351dd['DocsTableColumnType'];}get['DocsTableSelectionKind'](){return _0x4351dd['DocsTableSelectionKind'];}get['DocsTableRowInsertPosition'](){return _0x4351dd['DocsTableRowInsertPosition'];}get['DocsTableColumnInsertPosition'](){const _0x1e2adf=_0x2e5aff;return _0x4351dd[_0x1e2adf(0x188)];}get[_0x2e5aff(0x165)](){const _0x1e179a=_0x2e5aff;return _0x4351dd[_0x1e179a(0x165)];}get['DocsTableSortDirection'](){const _0x34c990=_0x2e5aff;return _0x4351dd[_0x34c990(0x196)];}get[_0x2e5aff(0x1ca)](){const _0x565134=_0x2e5aff;return _0x500470[_0x565134(0x1ca)];}};_0x557e5a[_0x2e5aff(0x1dd)][_0x2e5aff(0x20c)](_0x3a0586);var _0x11660d=class{constructor(_0x37ae68,_0x3254a8,_0x5e0eb1){const _0x555711=_0x2e5aff;this[_0x555711(0x215)]=_0x37ae68,this[_0x555711(0x197)]=_0x3254a8,this[_0x555711(0x214)]=_0x5e0eb1;}['getTable'](){const _0x2d351e=_0x2e5aff;return this[_0x2d351e(0x215)];}[_0x2e5aff(0x1c0)](){const _0x12e16b=_0x2e5aff;return this[_0x12e16b(0x197)];}[_0x2e5aff(0x164)](){const _0x33d4a3=_0x2e5aff;return this[_0x33d4a3(0x214)];}[_0x2e5aff(0x1b9)](){const _0x443ec3=_0x2e5aff;return this[_0x443ec3(0x215)]['getCellText'](this[_0x443ec3(0x197)],this[_0x443ec3(0x214)]);}[_0x2e5aff(0x1c7)](){const _0x43749d=_0x2e5aff;return this[_0x43749d(0x215)][_0x43749d(0x15d)](this[_0x43749d(0x197)],this['_column']);}[_0x2e5aff(0x14e)](){const _0xe7589b=_0x2e5aff;return this[_0xe7589b(0x215)][_0xe7589b(0x1bb)](this[_0xe7589b(0x197)],this[_0xe7589b(0x214)]);}[_0x2e5aff(0x1f8)](){const _0x369eda=_0x2e5aff;return this['_table'][_0x369eda(0x187)](this[_0x369eda(0x197)],this[_0x369eda(0x214)]);}['getMarginOverride'](){const _0x1554c6=_0x2e5aff;return this[_0x1554c6(0x215)][_0x1554c6(0x21d)](this[_0x1554c6(0x197)],this[_0x1554c6(0x214)]);}[_0x2e5aff(0x1fb)](_0x56b1eb){const _0x42547b=_0x2e5aff;return this['_table']['setCellMargin'](this[_0x42547b(0x215)][_0x42547b(0x1d4)](this['_row'],this['_column']),_0x56b1eb);}[_0x2e5aff(0x18d)](){const _0x19d9a0=_0x2e5aff;return this[_0x19d9a0(0x215)][_0x19d9a0(0x1f5)](this[_0x19d9a0(0x215)][_0x19d9a0(0x1d4)](this['_row'],this[_0x19d9a0(0x214)]),null);}[_0x2e5aff(0x208)](_0x40e097){const _0x5531a6=_0x2e5aff;return this[_0x5531a6(0x215)][_0x5531a6(0x1e2)](this[_0x5531a6(0x197)],this['_column'],_0x40e097);}[_0x2e5aff(0x202)](_0x442092){const _0x207820=_0x2e5aff;return this['_table'][_0x207820(0x1d5)](this[_0x207820(0x215)][_0x207820(0x1d4)](this[_0x207820(0x197)],this['_column']),_0x442092);}[_0x2e5aff(0x19f)](_0x369347){const _0x5a5c2a=_0x2e5aff;return this[_0x5a5c2a(0x215)]['setBorder'](this[_0x5a5c2a(0x215)][_0x5a5c2a(0x1d4)](this['_row'],this['_column']),_0x369347);}[_0x2e5aff(0x185)](_0x3ef9f4,_0x3e71f7){const _0x37551c=_0x2e5aff;return this[_0x37551c(0x215)][_0x37551c(0x160)]({'startRow':this[_0x37551c(0x197)],'startColumn':this['_column'],'endRow':this[_0x37551c(0x197)]+_0x3ef9f4-0x1,'endColumn':this['_column']+_0x3e71f7-0x1});}[_0x2e5aff(0x1a0)](){const _0x4db691=_0x2e5aff;return this['_table'][_0x4db691(0x1c1)](this[_0x4db691(0x215)]['getCellRange'](this[_0x4db691(0x197)],this[_0x4db691(0x214)]));}};function _0x21a7a2(_0x42443a){'@babel/helpers - typeof';const _0x4e1bc9=_0x2e5aff;return _0x21a7a2=typeof Symbol==_0x4e1bc9(0x191)&&typeof Symbol[_0x4e1bc9(0x22b)]==_0x4e1bc9(0x1e1)?function(_0x249833){return typeof _0x249833;}:function(_0x37afc0){const _0x493ae6=_0x4e1bc9;return _0x37afc0&&typeof Symbol==_0x493ae6(0x191)&&_0x37afc0[_0x493ae6(0x1f2)]===Symbol&&_0x37afc0!==Symbol[_0x493ae6(0x203)]?_0x493ae6(0x1e1):typeof _0x37afc0;},_0x21a7a2(_0x42443a);}function _0x18e745(_0x25f394,_0x256024){const _0xd408c6=_0x2e5aff;if(_0x21a7a2(_0x25f394)!=_0xd408c6(0x17e)||!_0x25f394)return _0x25f394;var _0x41d788=_0x25f394[Symbol[_0xd408c6(0x1a7)]];if(_0x41d788!==void 0x0){var _0x74d08b=_0x41d788[_0xd408c6(0x1ed)](_0x25f394,_0x256024||_0xd408c6(0x225));if(_0x21a7a2(_0x74d08b)!=_0xd408c6(0x17e))return _0x74d08b;throw TypeError(_0xd408c6(0x1ff));}return(_0x256024==='string'?String:Number)(_0x25f394);}function _0xb9b2f1(_0x317a9d){const _0x1f9d77=_0x2e5aff;var _0x12983f=_0x18e745(_0x317a9d,_0x1f9d77(0x186));return _0x21a7a2(_0x12983f)=='symbol'?_0x12983f:_0x12983f+'';}function _0x2877d4(_0x5ade30,_0x142e60,_0x370183){return(_0x142e60=_0xb9b2f1(_0x142e60))in _0x5ade30?Object['defineProperty'](_0x5ade30,_0x142e60,{'value':_0x370183,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5ade30[_0x142e60]=_0x370183,_0x5ade30;}var _0x29c538=class{constructor(_0x9ce7a9,_0x7ac21,_0xf01269='',_0x1b467f){const _0x46251d=_0x2e5aff;this[_0x46251d(0x1ef)]=_0x9ce7a9,this[_0x46251d(0x21e)]=_0x7ac21,this['_segmentId']=_0xf01269,this['_injector']=_0x1b467f,_0x2877d4(this,_0x46251d(0x169),void 0x0),this[_0x46251d(0x169)]=this[_0x46251d(0x1ef)][_0x46251d(0x1de)]();}['getId'](){const _0x1f5049=_0x2e5aff;return this[_0x1f5049(0x21e)];}[_0x2e5aff(0x172)](){const _0x5389a4=_0x2e5aff;return this[_0x5389a4(0x18f)];}[_0x2e5aff(0x173)](){const _0xcb0e6b=_0x2e5aff;return{'id':this[_0xcb0e6b(0x21e)],'rowCount':this[_0xcb0e6b(0x168)](),'columnCount':this[_0xcb0e6b(0x1e5)](),'metadata':this[_0xcb0e6b(0x16b)](),'source':this[_0xcb0e6b(0x1cd)]()};}[_0x2e5aff(0x206)](){const _0x28d6ce=_0x2e5aff;let _0x38350f=this[_0x28d6ce(0x16b)](),_0x542f5c=this[_0x28d6ce(0x1cd)](),_0x925417=this['getColumnCount']();return{'id':this['_tableId'],'rowCount':this[_0x28d6ce(0x168)](),'columnCount':_0x925417,'headerRowCount':(_0x38350f==null?void 0x0:_0x38350f[_0x28d6ce(0x152)])??0x0,'titleRow':(_0x38350f==null?void 0x0:_0x38350f[_0x28d6ce(0x19b)])??!0x1,'columns':Array['from']({'length':_0x925417},(_0x389e5c,_0x3da096)=>{const _0x15c335=_0x28d6ce;var _0x4f9ffd,_0x1f6529;return{'index':_0x3da096,'type':_0x38350f==null||(_0x4f9ffd=_0x38350f[_0x15c335(0x1dc)])==null||(_0x4f9ffd=_0x4f9ffd[_0x3da096])==null?void 0x0:_0x4f9ffd['type'],'width':_0x542f5c==null||(_0x1f6529=_0x542f5c[_0x15c335(0x19a)][_0x3da096])==null?void 0x0:_0x1f6529[_0x15c335(0x190)]['width']['v']};}),'sampleRows':Array[_0x28d6ce(0x194)]({'length':this['getRowCount']()},(_0xe7a476,_0x285bb1)=>Array[_0x28d6ce(0x194)]({'length':_0x925417},(_0x462640,_0x220d9e)=>this[_0x28d6ce(0x22c)](_0x285bb1,_0x220d9e)))[_0x28d6ce(0x1ae)](_0x15dc34=>_0x15dc34[_0x28d6ce(0x18b)](_0x4dfa2a=>_0x4dfa2a[_0x28d6ce(0x1c8)]>0x0))[_0x28d6ce(0x16d)](0x0,0x5)};}[_0x2e5aff(0x168)](){const _0x480963=_0x2e5aff;var _0x4d7085;return((_0x4d7085=this['getSource']())==null?void 0x0:_0x4d7085['tableRows'][_0x480963(0x1c8)])??0x0;}[_0x2e5aff(0x1e5)](){const _0x1fcb11=_0x2e5aff;var _0x366cd0;return((_0x366cd0=this['getSource']())==null?void 0x0:_0x366cd0['tableColumns'][_0x1fcb11(0x1c8)])??0x0;}[_0x2e5aff(0x22a)](_0x5a5a3c,_0x48a868){const _0x5a18ed=_0x2e5aff;var _0x105016;return(_0x105016=this[_0x5a18ed(0x1cd)]())!=null&&(_0x105016=_0x105016[_0x5a18ed(0x158)][_0x5a5a3c])!=null&&_0x105016['tableCells'][_0x48a868]?this['_injector']['createInstance'](_0x11660d,this,_0x5a5a3c,_0x48a868):null;}[_0x2e5aff(0x22c)](_0x3ceaf8,_0x439fdb){const _0x10611e=_0x2e5aff;var _0x2228a4,_0x4e05ea;let _0x365621=(_0x2228a4=(0x0,_0x4351dd[_0x10611e(0x1e6)])(this['_getDocumentData'](),this[_0x10611e(0x21e)]))==null||(_0x2228a4=_0x2228a4[_0x10611e(0x18c)][_0x3ceaf8])==null?void 0x0:_0x2228a4[_0x10611e(0x1cb)][_0x439fdb];return _0x365621?((_0x4e05ea=this['_getDocumentData']()[_0x10611e(0x1cc)])==null?void 0x0:_0x4e05ea[_0x10611e(0x216)]['slice'](_0x365621[_0x10611e(0x1ad)]+0x1,_0x365621[_0x10611e(0x1a4)])[_0x10611e(0x174)](/\r\n$/,''))??'':'';}[_0x2e5aff(0x187)](_0x214c34,_0x522c64){const _0x41c4cf=_0x2e5aff;var _0x34a2e6;let _0x306628=this[_0x41c4cf(0x1cd)](),_0x3c7a7b=_0x306628==null||(_0x34a2e6=_0x306628['tableRows'][_0x214c34])==null?void 0x0:_0x34a2e6['tableCells'][_0x522c64];return _0x3c7a7b?_0x500470[_0x41c4cf(0x1ba)][_0x41c4cf(0x1ee)](_0x3c7a7b[_0x41c4cf(0x192)]??_0x306628[_0x41c4cf(0x1f6)]??_0x4351dd[_0x41c4cf(0x1a3)]):null;}[_0x2e5aff(0x21d)](_0x21429d,_0x4d23c5){const _0x2a5fe3=_0x2e5aff;var _0x163690;let _0x390e18=(_0x163690=this['getSource']())==null||(_0x163690=_0x163690['tableRows'][_0x21429d])==null?void 0x0:_0x163690[_0x2a5fe3(0x1c5)][_0x4d23c5];return _0x390e18!=null&&_0x390e18[_0x2a5fe3(0x192)]?_0x500470[_0x2a5fe3(0x1ba)]['deepClone'](_0x390e18['margin']):null;}['getDefaultCellMargin'](){const _0x57aa79=_0x2e5aff;var _0x4a104d;return _0x500470[_0x57aa79(0x1ba)][_0x57aa79(0x1ee)](((_0x4a104d=this[_0x57aa79(0x1cd)]())==null?void 0x0:_0x4a104d[_0x57aa79(0x1f6)])??_0x4351dd[_0x57aa79(0x1a3)]);}['getDefaultCellMarginOverride'](){const _0x49dbf7=_0x2e5aff;var _0x243b61;let _0x20bfa9=(_0x243b61=this[_0x49dbf7(0x1cd)]())==null?void 0x0:_0x243b61['cellMargin'];return _0x20bfa9?_0x500470[_0x49dbf7(0x1ba)][_0x49dbf7(0x1ee)](_0x20bfa9):null;}[_0x2e5aff(0x16b)](){const _0x43f143=_0x2e5aff;return this[_0x43f143(0x18a)]['get'](_0x4351dd[_0x43f143(0x1c6)])[_0x43f143(0x1f1)](this['_unitId'],this[_0x43f143(0x21e)]);}[_0x2e5aff(0x1cd)](){const _0x42c8a1=_0x2e5aff;var _0x38d0a9;return(_0x38d0a9=this[_0x42c8a1(0x16a)]()[_0x42c8a1(0x211)])==null?void 0x0:_0x38d0a9[this[_0x42c8a1(0x21e)]];}[_0x2e5aff(0x1f7)](){const _0x3d0388=_0x2e5aff;return(0x0,_0x4351dd[_0x3d0388(0x1e6)])(this[_0x3d0388(0x16a)](),this['_tableId']);}[_0x2e5aff(0x227)](){const _0x1232e1=_0x2e5aff;return{'startRow':0x0,'endRow':Math[_0x1232e1(0x1b7)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x1232e1(0x1e5)]()-0x1)};}[_0x2e5aff(0x1d4)](_0x11ca8d,_0xfdc073){return{'startRow':_0x11ca8d,'endRow':_0x11ca8d,'startColumn':_0xfdc073,'endColumn':_0xfdc073};}['getCellContentRange'](_0x2a4890,_0x53b126){const _0x356074=_0x2e5aff;var _0x68c889;let _0x458542=(_0x68c889=(0x0,_0x4351dd['getTableRangeById'])(this['_getDocumentData'](),this[_0x356074(0x21e)]))==null||(_0x68c889=_0x68c889[_0x356074(0x18c)][_0x2a4890])==null?void 0x0:_0x68c889['cells'][_0x53b126];if(!_0x458542)return null;let _0x3438d1=_0x458542['startOffset']+0x1;return{'startOffset':_0x3438d1,'endOffset':Math[_0x356074(0x1b7)](_0x3438d1,_0x458542[_0x356074(0x1a4)]-0x1),'segmentId':this[_0x356074(0x18f)]};}['getCellInsertOffset'](_0x2b927d,_0x1d694a){const _0x1c31f1=_0x2e5aff;let _0x126bea=this['getCellContentRange'](_0x2b927d,_0x1d694a);return _0x126bea?Math[_0x1c31f1(0x1b7)](_0x126bea['startOffset'],_0x126bea['endOffset']-0x1):null;}['getRowRange'](_0x4b3334){const _0x32e6ff=_0x2e5aff;return this[_0x32e6ff(0x14b)](_0x4b3334,0x1);}['getRowsRange'](_0x3d2bb6,_0x5038e5=0x1){const _0x1bb028=_0x2e5aff;return{'startRow':_0x3d2bb6,'endRow':_0x3d2bb6+_0x5038e5-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x1bb028(0x1e5)]()-0x1)};}['getColumnRange'](_0x4b6385){const _0x273d7f=_0x2e5aff;return this[_0x273d7f(0x1d0)](_0x4b6385,0x1);}['getColumnsRange'](_0x4c11e0,_0x51c7f8=0x1){const _0x5db868=_0x2e5aff;return{'startRow':0x0,'endRow':Math[_0x5db868(0x1b7)](0x0,this[_0x5db868(0x168)]()-0x1),'startColumn':_0x4c11e0,'endColumn':_0x4c11e0+_0x51c7f8-0x1};}[_0x2e5aff(0x16f)](){const _0x2d2c9c=_0x2e5aff;return this[_0x2d2c9c(0x1d7)](this[_0x2d2c9c(0x227)](),_0x4351dd['DocsTableSelectionKind'][_0x2d2c9c(0x21b)]);}[_0x2e5aff(0x184)](_0x438a55){const _0x3b6eea=_0x2e5aff;return this[_0x3b6eea(0x16c)](_0x438a55,0x1);}[_0x2e5aff(0x16c)](_0x5c15e1,_0x56f320=0x1){const _0xce430e=_0x2e5aff;return this[_0xce430e(0x1d7)](this[_0xce430e(0x14b)](_0x5c15e1,_0x56f320),_0x4351dd[_0xce430e(0x212)][_0xce430e(0x150)]);}['selectColumn'](_0x5cb521){const _0x20689f=_0x2e5aff;return this[_0x20689f(0x1e7)](_0x5cb521,0x1);}[_0x2e5aff(0x1e7)](_0x2aeecb,_0x4dec87=0x1){const _0x37bbfe=_0x2e5aff;return this[_0x37bbfe(0x1d7)](this[_0x37bbfe(0x1d0)](_0x2aeecb,_0x4dec87),_0x4351dd[_0x37bbfe(0x212)][_0x37bbfe(0x1f4)]);}[_0x2e5aff(0x213)](_0x299465,_0x46f11c){const _0x43bea3=_0x2e5aff;return this[_0x43bea3(0x1d7)](this[_0x43bea3(0x1d4)](_0x299465,_0x46f11c),_0x4351dd[_0x43bea3(0x212)][_0x43bea3(0x182)]);}[_0x2e5aff(0x1d7)](_0x4af4a5,_0x4dbd0a=_0x4351dd['DocsTableSelectionKind'][_0x2e5aff(0x1eb)]){const _0x2883ca=_0x2e5aff;return this[_0x2883ca(0x18a)][_0x2883ca(0x1be)](_0x4351dd[_0x2883ca(0x222)])[_0x2883ca(0x1f0)]({..._0x4af4a5,'kind':_0x4dbd0a,'segmentId':this[_0x2883ca(0x18f)],'tableId':this[_0x2883ca(0x21e)]}),!0x0;}[_0x2e5aff(0x1ac)](_0x3f2c84){const _0x101c57=_0x2e5aff;return this[_0x101c57(0x228)](_0x3f2c84,0x1);}['insertRowAfter'](_0x1dea3c){const _0x4a1aa0=_0x2e5aff;return this[_0x4a1aa0(0x1e3)](_0x1dea3c,0x1);}[_0x2e5aff(0x228)](_0xd6104f,_0xa54425){const _0x439b7a=_0x2e5aff;let _0x52a173=this[_0x439b7a(0x16a)](),_0x4478de=(0x0,_0x4351dd[_0x439b7a(0x217)])(_0x52a173,this[_0x439b7a(0x21e)],_0xd6104f,_0xa54425,_0x4351dd[_0x439b7a(0x1b8)][_0x439b7a(0x207)],this[_0x439b7a(0x1bd)]());return _0x4478de?this[_0x439b7a(0x1a2)](_0x52a173,_0x4478de[_0x439b7a(0x156)]):!0x1;}[_0x2e5aff(0x1e3)](_0x5714c2,_0x1bdee2){const _0x1dba34=_0x2e5aff;let _0x12286f=this['_getDocumentData'](),_0x3a3847=(0x0,_0x4351dd[_0x1dba34(0x217)])(_0x12286f,this[_0x1dba34(0x21e)],_0x5714c2,_0x1bdee2,_0x4351dd[_0x1dba34(0x1b8)][_0x1dba34(0x181)],this[_0x1dba34(0x1bd)]());return _0x3a3847?this[_0x1dba34(0x1a2)](_0x12286f,_0x3a3847[_0x1dba34(0x156)]):!0x1;}[_0x2e5aff(0x166)](){const _0x2f2f4e=_0x2e5aff;return this['insertRowsAfter'](Math[_0x2f2f4e(0x1b7)](0x0,this[_0x2f2f4e(0x168)]()-0x1),0x1);}[_0x2e5aff(0x15c)](_0x24f5ae){const _0x5d2d43=_0x2e5aff;return this[_0x5d2d43(0x1e0)](_0x24f5ae,0x1);}['insertColumnAfter'](_0x1af26a){const _0xc873f=_0x2e5aff;return this[_0xc873f(0x17f)](_0x1af26a,0x1);}[_0x2e5aff(0x1e0)](_0x1a1ae1,_0x1501d0){const _0x575e71=_0x2e5aff;let _0x59eecf=this[_0x575e71(0x16a)](),_0x756db5=(0x0,_0x4351dd[_0x575e71(0x180)])(_0x59eecf,this['_tableId'],_0x1a1ae1,_0x1501d0,_0x4351dd['DocsTableInsertPosition']['Left'],{'bodyPath':this[_0x575e71(0x1bd)]()});return _0x756db5?this[_0x575e71(0x1a2)](_0x59eecf,_0x756db5[_0x575e71(0x156)]):!0x1;}[_0x2e5aff(0x17f)](_0x3e5edb,_0x3c3c3d){const _0x54891b=_0x2e5aff;let _0x2402f6=this[_0x54891b(0x16a)](),_0x551880=(0x0,_0x4351dd[_0x54891b(0x180)])(_0x2402f6,this['_tableId'],_0x3e5edb,_0x3c3c3d,_0x4351dd[_0x54891b(0x1b8)][_0x54891b(0x1d9)],{'bodyPath':this[_0x54891b(0x1bd)]()});return _0x551880?this['_mutateActions'](_0x2402f6,_0x551880[_0x54891b(0x156)]):!0x1;}['appendColumn'](){const _0x4da1a8=_0x2e5aff;return this[_0x4da1a8(0x17f)](Math['max'](0x0,this[_0x4da1a8(0x1e5)]()-0x1),0x1);}[_0x2e5aff(0x1e9)](_0x3634ec){const _0x232bd1=_0x2e5aff;return this[_0x232bd1(0x183)](_0x3634ec,0x1);}[_0x2e5aff(0x183)](_0x2bafbb,_0x1eb23d=0x1){const _0x1d5dec=_0x2e5aff;let _0x1f833a=this[_0x1d5dec(0x16a)](),_0x1845ee=(0x0,_0x4351dd[_0x1d5dec(0x1a6)])(_0x1f833a,this[_0x1d5dec(0x21e)],_0x2bafbb,_0x2bafbb+_0x1eb23d-0x1,this['_getBodyPath']());return _0x1845ee?this[_0x1d5dec(0x1a2)](_0x1f833a,_0x1845ee[_0x1d5dec(0x156)]):!0x1;}[_0x2e5aff(0x21f)](_0x4e9d4b){const _0x1921a4=_0x2e5aff;return this[_0x1921a4(0x1e8)](_0x4e9d4b,0x1);}[_0x2e5aff(0x1e8)](_0x45704a,_0x445314=0x1){const _0x4d9e85=_0x2e5aff;let _0x3e05b6=this[_0x4d9e85(0x16a)](),_0x1271b8=(0x0,_0x4351dd['buildDeleteTableColumnsMutationActions'])(_0x3e05b6,this['_tableId'],_0x45704a,_0x45704a+_0x445314-0x1,this[_0x4d9e85(0x1bd)]());return _0x1271b8?this['_mutateActions'](_0x3e05b6,_0x1271b8['actions']):!0x1;}['deleteTable'](){const _0x1e3a7a=_0x2e5aff;let _0x2ee90e=this[_0x1e3a7a(0x16a)](),_0x236ce8=(0x0,_0x4351dd[_0x1e3a7a(0x189)])(_0x2ee90e,this[_0x1e3a7a(0x21e)],this[_0x1e3a7a(0x1bd)]());return _0x236ce8?this['_mutateActions'](_0x2ee90e,_0x236ce8[_0x1e3a7a(0x156)]):!0x1;}[_0x2e5aff(0x16e)](_0x3d431a,_0x341047){const _0x34587c=_0x2e5aff;let _0x34e110=this[_0x34587c(0x16a)]();return this[_0x34587c(0x1a2)](_0x34e110,(0x0,_0x4351dd[_0x34587c(0x1f3)])(_0x34e110,this[_0x34587c(0x21e)],_0x3d431a,_0x341047));}[_0x2e5aff(0x159)](_0x265a98){const _0x5066ff=_0x2e5aff;let _0xaa6672=this[_0x5066ff(0x16a)]();return this['_mutateActions'](_0xaa6672,(0x0,_0x4351dd[_0x5066ff(0x170)])(_0xaa6672,this['_tableId'],_0x265a98,this[_0x5066ff(0x1bd)]()));}[_0x2e5aff(0x1d8)](_0x246228,_0x458f9b,_0x4ce127=_0x4351dd[_0x2e5aff(0x1b8)]['Above']){const _0x93e6d2=_0x2e5aff;return this[_0x93e6d2(0x162)](_0x246228,0x1,_0x458f9b,_0x4ce127);}['moveRows'](_0x5648c1,_0x30334,_0x4422fc,_0x553aa4=_0x4351dd['DocsTableInsertPosition'][_0x2e5aff(0x207)]){const _0xb5c3d1=_0x2e5aff;let _0x11e539=this[_0xb5c3d1(0x16a)](),_0x2b3f87=(0x0,_0x4351dd['buildMoveTableRowsMutationActions'])(_0x11e539,this[_0xb5c3d1(0x21e)],_0x5648c1,_0x4422fc,_0x30334,_0x553aa4,this[_0xb5c3d1(0x1bd)]());return _0x2b3f87?this[_0xb5c3d1(0x1a2)](_0x11e539,_0x2b3f87[_0xb5c3d1(0x156)]):!0x1;}[_0x2e5aff(0x1aa)](_0x1f66cd,_0x4c413d,_0x1b74b8=_0x4351dd[_0x2e5aff(0x1b8)][_0x2e5aff(0x201)]){const _0x288de6=_0x2e5aff;return this[_0x288de6(0x1b1)](_0x1f66cd,0x1,_0x4c413d,_0x1b74b8);}[_0x2e5aff(0x1b1)](_0x450588,_0x4f80a0,_0x146daa,_0x42663f=_0x4351dd[_0x2e5aff(0x1b8)]['Left']){const _0x4c0555=_0x2e5aff;let _0x4ab7ed=this[_0x4c0555(0x16a)](),_0x2a2904=(0x0,_0x4351dd[_0x4c0555(0x15b)])(_0x4ab7ed,this['_tableId'],_0x450588,_0x146daa,_0x4f80a0,_0x42663f,this[_0x4c0555(0x1bd)]());return _0x2a2904?this['_mutateActions'](_0x4ab7ed,_0x2a2904[_0x4c0555(0x156)]):!0x1;}[_0x2e5aff(0x160)](_0x3d8392){const _0x3de8cc=_0x2e5aff;try{let _0x2f7c93=this['_getDocumentData'](),_0x17148a=(0x0,_0x4351dd[_0x3de8cc(0x14f)])({'documentData':_0x2f7c93,'tableId':this[_0x3de8cc(0x21e)],..._0x3d8392});return _0x17148a?this['_mutateActions'](_0x2f7c93,_0x17148a[_0x3de8cc(0x156)],_0x3d8392):!0x1;}catch{return!0x1;}}[_0x2e5aff(0x1c1)](_0x28377e){const _0xc06778=_0x2e5aff;try{let _0x38aca4=this[_0xc06778(0x16a)](),_0x262c3a=(0x0,_0x4351dd[_0xc06778(0x1bc)])({'documentData':_0x38aca4,'tableId':this[_0xc06778(0x21e)],..._0x28377e});return _0x262c3a?this[_0xc06778(0x1a2)](_0x38aca4,_0x262c3a[_0xc06778(0x156)],_0x28377e):!0x1;}catch{return!0x1;}}[_0x2e5aff(0x1e2)](_0x4e1686,_0x2b5105,_0x34b19c){const _0x38e0c9=_0x2e5aff;let _0x1a9bbc=this[_0x38e0c9(0x16a)](),_0x3a7179=(0x0,_0x4351dd['getTableActionBodyPath'])(this[_0x38e0c9(0x1ef)][_0x38e0c9(0x1c4)]()[_0x38e0c9(0x198)](),this['_segmentId']);return this[_0x38e0c9(0x1a2)](_0x1a9bbc,(0x0,_0x4351dd['buildSetTableCellTextMutationActions'])({'documentData':_0x1a9bbc,'tableId':this[_0x38e0c9(0x21e)],'row':_0x4e1686,'column':_0x2b5105,'text':_0x34b19c},_0x3a7179),this[_0x38e0c9(0x1d4)](_0x4e1686,_0x2b5105));}[_0x2e5aff(0x1d5)](_0x2b27e0,_0x2ea1ba){const _0x3ff3e7=_0x2e5aff;let _0x4cc1f1=this['_getDocumentData']();return this[_0x3ff3e7(0x1a2)](_0x4cc1f1,(0x0,_0x4351dd[_0x3ff3e7(0x209)])(_0x4cc1f1,{'tableId':this[_0x3ff3e7(0x21e)],..._0x2b27e0,'value':_0x2ea1ba}),_0x2b27e0);}[_0x2e5aff(0x1f5)](_0x1f76d2,_0x2346e2){const _0x12b01a=_0x2e5aff;let _0x33d2f9=this[_0x12b01a(0x16a)]();return this[_0x12b01a(0x1a2)](_0x33d2f9,(0x0,_0x4351dd['buildSetTableCellMarginMutationActions'])({'documentData':_0x33d2f9,'tableId':this[_0x12b01a(0x21e)],..._0x1f76d2,'margin':_0x2346e2}),_0x1f76d2);}['setDefaultCellMargin'](_0x4c23f7){const _0xc3c6cc=_0x2e5aff;let _0x63f462=this['_getDocumentData']();return this[_0xc3c6cc(0x1a2)](_0x63f462,(0x0,_0x4351dd[_0xc3c6cc(0x177)])(_0x63f462,this['_tableId'],_0x4c23f7));}[_0x2e5aff(0x19f)](_0x2a716b,_0x4b251e){const _0x37823a=_0x2e5aff;let _0x9513be=this[_0x37823a(0x16a)]();return this['_mutateActions'](_0x9513be,(0x0,_0x4351dd[_0x37823a(0x205)])({'documentData':_0x9513be,'tableId':this[_0x37823a(0x21e)],..._0x2a716b,'preset':_0x4b251e['preset']??_0x4351dd['DocsTableBorderPreset'][_0x37823a(0x1ce)],'border':_0x4b251e['border']??{'color':{'rgb':_0x4b251e[_0x37823a(0x199)]??_0x37823a(0x153)},'width':{'v':_0x4b251e[_0x37823a(0x176)]??0x1},'dashStyle':_0x500470[_0x37823a(0x1ca)][_0x37823a(0x224)]}}),_0x2a716b);}[_0x2e5aff(0x167)](_0x5d1ac3){const _0x4a1576=_0x2e5aff;return this[_0x4a1576(0x1d5)](this[_0x4a1576(0x227)](),_0x5d1ac3);}[_0x2e5aff(0x1d1)](_0x1de702){const _0x392d16=_0x2e5aff;return this[_0x392d16(0x19f)](this[_0x392d16(0x227)](),_0x1de702);}['setTableStyle'](_0xda1252){const _0x22d34=_0x2e5aff;let _0x4cbd17=!_0xda1252[_0x22d34(0x1b3)]||this[_0x22d34(0x167)](_0xda1252[_0x22d34(0x1b3)]),_0x4c19e0=!_0xda1252[_0x22d34(0x1ec)]||this[_0x22d34(0x1d1)](_0xda1252[_0x22d34(0x1ec)]);return _0x4cbd17&&_0x4c19e0;}['setRowHeight'](_0x20ef1b,_0x33397b,_0x57e92b=_0x500470['TableRowHeightRule'][_0x2e5aff(0x17d)]){const _0x4c6cc5=_0x2e5aff;var _0x18a119;let _0x249de0=this[_0x4c6cc5(0x16a)]();return(_0x18a119=_0x249de0[_0x4c6cc5(0x211)])!=null&&(_0x18a119=_0x18a119[this[_0x4c6cc5(0x21e)]])!=null&&_0x18a119[_0x4c6cc5(0x158)][_0x20ef1b]?this[_0x4c6cc5(0x1a2)](_0x249de0,(0x0,_0x4351dd[_0x4c6cc5(0x20d)])(_0x249de0,this[_0x4c6cc5(0x21e)],_0x20ef1b,_0x33397b,_0x57e92b)):!0x1;}['getRowHeight'](_0x59179f){const _0x59f75a=_0x2e5aff;var _0x594a08;let _0x105a15=(_0x594a08=this[_0x59f75a(0x1cd)]())==null||(_0x594a08=_0x594a08[_0x59f75a(0x158)][_0x59179f])==null?void 0x0:_0x594a08[_0x59f75a(0x20e)];return _0x105a15?_0x500470[_0x59f75a(0x1ba)]['deepClone'](_0x105a15):null;}[_0x2e5aff(0x1d3)](_0x1cdd4f,_0x5bcc36){const _0x510dc1=_0x2e5aff;var _0x45044b;let _0x25d835=this[_0x510dc1(0x16a)]();return(_0x45044b=_0x25d835[_0x510dc1(0x211)])!=null&&(_0x45044b=_0x45044b[this['_tableId']])!=null&&_0x45044b['tableColumns'][_0x1cdd4f]?this[_0x510dc1(0x1a2)](_0x25d835,(0x0,_0x4351dd[_0x510dc1(0x15a)])(_0x25d835,this[_0x510dc1(0x21e)],_0x1cdd4f,_0x5bcc36)):!0x1;}[_0x2e5aff(0x20b)](_0x427322=0x0,_0x14050e=this[_0x2e5aff(0x168)]()){const _0x8c83b=_0x2e5aff;let _0x512b3c=this[_0x8c83b(0x16a)]();return this[_0x8c83b(0x1a2)](_0x512b3c,(0x0,_0x4351dd[_0x8c83b(0x1a5)])(_0x512b3c,this[_0x8c83b(0x21e)],_0x427322,_0x427322+_0x14050e-0x1));}[_0x2e5aff(0x218)](_0x29a90c=0x0,_0x52ffc7=this[_0x2e5aff(0x1e5)]()){const _0x56171b=_0x2e5aff;let _0x496175=this[_0x56171b(0x16a)]();return this['_mutateActions'](_0x496175,(0x0,_0x4351dd[_0x56171b(0x1d6)])(_0x496175,this['_tableId'],_0x29a90c,_0x29a90c+_0x52ffc7-0x1));}['getHeaderRowCount'](){const _0x119c8d=_0x2e5aff;var _0xb8a6a4;return((_0xb8a6a4=this[_0x119c8d(0x16b)]())==null?void 0x0:_0xb8a6a4[_0x119c8d(0x152)])??0x0;}[_0x2e5aff(0x151)](_0x305317){const _0xf186d4=_0x2e5aff;let _0x17b6f7=this['_injector'][_0xf186d4(0x1be)](_0x4351dd[_0xf186d4(0x1c6)]),_0x303b93=this[_0xf186d4(0x16a)](),_0x4115e7=(0x0,_0x4351dd[_0xf186d4(0x17a)])(_0x303b93,this['_tableId'],_0x305317);if(!_0x4115e7)return!0x1;let _0x2b4381=this[_0xf186d4(0x1a2)](_0x303b93,_0x4115e7['actions']);return _0x2b4381&&_0x17b6f7['setHeaderRowCount'](this[_0xf186d4(0x169)],this[_0xf186d4(0x21e)],_0x4115e7[_0xf186d4(0x152)]),_0x2b4381;}['pinHeaderRows'](_0x588bcb){const _0x363ec1=_0x2e5aff;return this[_0x363ec1(0x151)](_0x588bcb);}[_0x2e5aff(0x204)](){const _0x113d2c=_0x2e5aff;var _0x3ed690;return((_0x3ed690=this[_0x113d2c(0x16b)]())==null?void 0x0:_0x3ed690[_0x113d2c(0x19b)])??!0x1;}[_0x2e5aff(0x1c2)](){const _0x23441a=_0x2e5aff;let _0x312ac0=this['_injector'][_0x23441a(0x1be)](_0x4351dd[_0x23441a(0x1c6)]),_0x1e2170=this[_0x23441a(0x16a)](),_0x5d1d13=(0x0,_0x4351dd[_0x23441a(0x193)])(_0x1e2170,this['_tableId'],this[_0x23441a(0x1bd)]());if(!_0x5d1d13)return!0x1;let _0x5e1bdf=this[_0x23441a(0x1a2)](_0x1e2170,_0x5d1d13[_0x23441a(0x156)]);return _0x5e1bdf&&_0x312ac0[_0x23441a(0x1a1)](this['_unitId'],this[_0x23441a(0x21e)],!0x0),_0x5e1bdf;}[_0x2e5aff(0x14d)](_0x522ed7,_0x455201){const _0x5efba8=_0x2e5aff;return this[_0x5efba8(0x18a)]['get'](_0x4351dd['DocsTableModel'])[_0x5efba8(0x14d)](this[_0x5efba8(0x169)],this[_0x5efba8(0x21e)],_0x522ed7,_0x455201),!0x0;}[_0x2e5aff(0x17b)](_0x1dbedb,_0x5307a1){const _0x2ccfee=_0x2e5aff;let _0x513b21=this['_getDocumentData']();return this[_0x2ccfee(0x1a2)](_0x513b21,(0x0,_0x4351dd['buildSortTableMutationActions'])(_0x513b21,this['_serializeModel'](),this[_0x2ccfee(0x21e)],_0x1dbedb,_0x5307a1,this['_getBodyPath']()));}[_0x2e5aff(0x16a)](){const _0x5f274e=_0x2e5aff;let _0x3c211e=this[_0x5f274e(0x1ef)]['getDocumentDataModel']()[_0x5f274e(0x198)]();return this[_0x5f274e(0x18f)]?{...this[_0x5f274e(0x1ef)][_0x5f274e(0x1c4)](this['_segmentId'])[_0x5f274e(0x198)](),'documentStyle':_0x3c211e[_0x5f274e(0x1b5)],'tableSource':_0x3c211e[_0x5f274e(0x211)]}:_0x3c211e;}[_0x2e5aff(0x220)](){const _0x35cb86=_0x2e5aff;return this[_0x35cb86(0x18a)][_0x35cb86(0x1be)](_0x4351dd[_0x35cb86(0x1c6)])['serialize'](this[_0x35cb86(0x169)]);}[_0x2e5aff(0x1bd)](){const _0x3b198c=_0x2e5aff;return(0x0,_0x4351dd[_0x3b198c(0x19e)])(this[_0x3b198c(0x1ef)][_0x3b198c(0x1c4)]()[_0x3b198c(0x198)](),this[_0x3b198c(0x18f)]);}[_0x2e5aff(0x1a2)](_0x3ced4b,_0x41089f,_0x402626){const _0x40b6be=_0x2e5aff;return(0x0,_0x4351dd['executeRichTextTableActions'])(this[_0x40b6be(0x18a)][_0x40b6be(0x1be)](_0x500470[_0x40b6be(0x1fa)]),this['_unitId'],_0x3ced4b,_0x41089f,_0x402626?{'tableId':this[_0x40b6be(0x21e)],'segmentId':this[_0x40b6be(0x18f)],..._0x402626}:void 0x0);}},_0xfaef3f=class extends _0x1f8921['FDocument']{[_0x2e5aff(0x15f)](_0x5c3a22=''){const _0x10fea4=_0x2e5aff;return this['_getTables'](_0x5c3a22)[_0x10fea4(0x175)](_0x5351f9=>this[_0x10fea4(0x1fd)](_0x5351f9[_0x10fea4(0x163)],_0x5c3a22));}[_0x2e5aff(0x161)](_0x177310,_0x5839fc=''){const _0x594c15=_0x2e5aff;return this[_0x594c15(0x19c)](_0x5839fc)[_0x594c15(0x18b)](_0x3e3bbc=>_0x3e3bbc[_0x594c15(0x163)]===_0x177310)?this[_0x594c15(0x1fd)](_0x177310,_0x5839fc):null;}[_0x2e5aff(0x1fc)](_0x393fc4,_0x332c42=''){const _0xe2862a=_0x2e5aff;var _0x23bbb5;let _0x31500c=(_0x23bbb5=this['_getTables'](_0x332c42)[_0x393fc4])==null?void 0x0:_0x23bbb5[_0xe2862a(0x163)];return _0x31500c?this[_0xe2862a(0x1fd)](_0x31500c,_0x332c42):null;}['getTableAtSelection'](){const _0x494287=_0x2e5aff;let _0xcb1154=this['_injector'][_0x494287(0x1be)](_0x4351dd[_0x494287(0x222)])[_0x494287(0x15e)]();return _0xcb1154!=null&&_0xcb1154[_0x494287(0x163)]?this[_0x494287(0x1fd)](_0xcb1154[_0x494287(0x163)],_0xcb1154[_0x494287(0x1b4)]):null;}[_0x2e5aff(0x1ea)](_0x2b76c2,_0x122796=''){const _0x23ac1b=_0x2e5aff;return this[_0x23ac1b(0x20f)](_0x2b76c2,_0x122796)[0x0]??null;}[_0x2e5aff(0x20f)](_0x10e2e2,_0x304868=''){const _0x2ab534=_0x2e5aff;let _0x1f89a0=this['_getTableDocumentData'](_0x304868),_0x5a9804=typeof _0x10e2e2==_0x2ab534(0x186)?{'text':_0x10e2e2}:_0x10e2e2;return this[_0x2ab534(0x15f)](_0x304868)[_0x2ab534(0x1ae)](_0x58ceac=>{const _0x58c153=_0x2ab534;let _0x439df1=_0x58ceac[_0x58c153(0x1de)]();return!(_0x5a9804[_0x58c153(0x163)]&&_0x439df1!==_0x5a9804[_0x58c153(0x163)]||_0x5a9804[_0x58c153(0x171)]&&!this[_0x58c153(0x1db)](_0x1f89a0,_0x439df1,_0x5a9804[_0x58c153(0x171)])||_0x5a9804['headerText']&&!this[_0x58c153(0x229)](_0x58ceac,0x0,_0x5a9804['headerText'])||_0x5a9804['titleText']&&!this[_0x58c153(0x229)](_0x58ceac,0x0,_0x5a9804[_0x58c153(0x1a9)]));});}[_0x2e5aff(0x20a)](_0x5a2ae4,_0x7f5698,_0x5a8bd5={}){const _0x28364d=_0x2e5aff;let _0x2bed9b=this['_injector'][_0x28364d(0x1be)](_0x500470['ICommandService']),_0x10063d=_0x5a8bd5['tableId']??(0x0,_0x500470[_0x28364d(0x1af)])(0x6);return _0x2bed9b[_0x28364d(0x195)](_0x4351dd[_0x28364d(0x223)]['id'],{..._0x5a8bd5,'unitId':this[_0x28364d(0x1de)](),'rows':_0x5a2ae4,'columns':_0x7f5698,'tableId':_0x10063d})?this[_0x28364d(0x1fd)](_0x10063d,_0x5a8bd5[_0x28364d(0x1b4)]??''):null;}[_0x2e5aff(0x179)](_0x8864e4,_0x2d5cd6={}){const _0x5662ac=_0x2e5aff;let _0xc20a40=this[_0x5662ac(0x18a)][_0x5662ac(0x1be)](_0x500470[_0x5662ac(0x1fa)]),_0x35709f=_0x2d5cd6[_0x5662ac(0x163)]??(0x0,_0x500470[_0x5662ac(0x1af)])(0x6);return _0xc20a40[_0x5662ac(0x195)](_0x4351dd[_0x5662ac(0x223)]['id'],{..._0x2d5cd6,'unitId':this[_0x5662ac(0x1de)](),'values':_0x8864e4,'tableId':_0x35709f})?this[_0x5662ac(0x1fd)](_0x35709f,_0x2d5cd6['segmentId']??''):null;}[_0x2e5aff(0x19c)](_0x3e0106=''){const _0x28bc31=_0x2e5aff;let {tables:_0x2b3cf8=[]}=this[_0x28bc31(0x1b0)](_0x3e0106);return _0x2b3cf8;}[_0x2e5aff(0x1cf)](_0x395e24=''){const _0x3dd85b=_0x2e5aff;let _0x57053b=this['getDocumentDataModel']()['getSnapshot']();return _0x395e24?{...this['getDocumentDataModel'](_0x395e24)[_0x3dd85b(0x198)](),'documentStyle':_0x57053b[_0x3dd85b(0x1b5)],'tableSource':_0x57053b[_0x3dd85b(0x211)]}:_0x57053b;}[_0x2e5aff(0x1fd)](_0xa86138,_0x43f28d=''){const _0x573348=_0x2e5aff;return this[_0x573348(0x18a)]['createInstance'](_0x29c538,this,_0xa86138,_0x43f28d,this[_0x573348(0x18a)]);}[_0x2e5aff(0x1db)](_0x58bc4d,_0x5706f3,_0x3d30b8){const _0x3a825c=_0x2e5aff;var _0x5e448d;let _0xa58ae1=(0x0,_0x4351dd[_0x3a825c(0x1e6)])(_0x58bc4d,_0x5706f3);if(!_0xa58ae1)return!0x1;let _0x37f27d=(_0x5e448d=_0x58bc4d[_0x3a825c(0x1cc)])==null?void 0x0:_0x5e448d[_0x3a825c(0x216)];return _0x37f27d?_0x37f27d[_0x3a825c(0x16d)](_0xa58ae1['startOffset'],_0xa58ae1[_0x3a825c(0x1a4)])[_0x3a825c(0x1c3)](_0x3d30b8):!0x1;}['_rowContainsText'](_0x3200e3,_0x16b781,_0x18d06d){const _0x516a19=_0x2e5aff;return Array[_0x516a19(0x194)]({'length':_0x3200e3[_0x516a19(0x1e5)]()},(_0x3fa9a5,_0x41759a)=>_0x3200e3[_0x516a19(0x22c)](_0x16b781,_0x41759a))[_0x516a19(0x18b)](_0x4e96c2=>_0x4e96c2['includes'](_0x18d06d));}};_0x1f8921[_0x2e5aff(0x1da)][_0x2e5aff(0x20c)](_0xfaef3f),_0x53987e[_0x2e5aff(0x200)]=_0x29c538,_0x53987e[_0x2e5aff(0x210)]=_0x11660d;}));