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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x98e77b=_0x171b;(function(_0x3a11d7,_0x3fcedb){const _0x14018b=_0x171b,_0x550f78=_0x3a11d7();while(!![]){try{const _0x5e69fe=-parseInt(_0x14018b(0x1d8))/0x1+-parseInt(_0x14018b(0x144))/0x2*(-parseInt(_0x14018b(0x1c4))/0x3)+-parseInt(_0x14018b(0x1bf))/0x4*(-parseInt(_0x14018b(0x194))/0x5)+parseInt(_0x14018b(0x145))/0x6*(parseInt(_0x14018b(0x19b))/0x7)+-parseInt(_0x14018b(0x142))/0x8*(parseInt(_0x14018b(0x159))/0x9)+-parseInt(_0x14018b(0x1ae))/0xa+-parseInt(_0x14018b(0x193))/0xb;if(_0x5e69fe===_0x3fcedb)break;else _0x550f78['push'](_0x550f78['shift']());}catch(_0x346755){_0x550f78['push'](_0x550f78['shift']());}}}(_0x4abd,0x4fb4e));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x5daad3,DocsTableBorderPreset as _0xee5d7,DocsTableColumnInsertPosition as _0x161c67,DocsTableColumnType as _0x2cdb3e,DocsTableInsertPosition as _0x1e3538,DocsTableInsertTableCommand as _0x564fad,DocsTableInsertTablePosition as _0x370041,DocsTableModel as _0x221d1b,DocsTableRowInsertPosition as _0x5e8c25,DocsTableSelectionKind as _0x15b168,DocsTableSelectionService as _0x910f0,DocsTableSortDirection as _0x4c4df2,buildDeleteTableColumnsMutationActions as _0x37b18d,buildDeleteTableMutationActions as _0x596a46,buildDeleteTableRowsMutationActions as _0x1235fc,buildDistributeTableColumnsMutationActions as _0x2a358e,buildDistributeTableRowsMutationActions as _0x462a0e,buildInsertTableColumnsMutationActions as _0x4ee274,buildInsertTableRowsMutationActions as _0x55aac5,buildInsertTableTitleRowMutationActions as _0xdb4f13,buildMergeCellsMutationActions as _0x5cc68b,buildMoveFloatingTableMutationActions as _0x5b633b,buildMoveTableColumnsMutationActions as _0x30c0d3,buildMoveTableRowsMutationActions as _0x4a2d62,buildMoveTableToOffsetMutationActions as _0x5e47b0,buildResizeTableColumnActionsFromWidth as _0x15050b,buildResizeTableRowActionsFromHeight as _0x4369cd,buildSetTableBackgroundMutationActions as _0x40ea58,buildSetTableBorderMutationActions as _0x7cd31b,buildSetTableCellMarginMutationActions as _0x4102f4,buildSetTableCellTextMutationActions as _0x40ceae,buildSetTableDefaultCellMarginMutationActions as _0x521317,buildSetTableHeaderRowCountMutationActions as _0x19cc13,buildSortTableMutationActions as _0x3a97d5,buildUnmergeCellsMutationActions as _0x14ba5d,executeRichTextTableActions as _0x46c38e,getTableActionBodyPath as _0x1b8832,getTableRangeById as _0x50bcbd}from'@univerjs-pro/docs-table';import{DashStyleType as _0x399693,ICommandService as _0x3377a4,TableRowHeightRule as _0x76fe98,Tools as _0x10f198,generateRandomId as _0x535cfa}from'@univerjs/core';import{FEnum as _0xce6358}from'@univerjs/core/facade';function _0x171b(_0x2818e5,_0x37390e){_0x2818e5=_0x2818e5-0x139;const _0x4abdd4=_0x4abd();let _0x171b00=_0x4abdd4[_0x2818e5];return _0x171b00;}import{FDocument as _0x2b36a9}from'@univerjs/docs/facade';var G=class extends _0xce6358{get['DocsTableInsertTablePosition'](){return _0x370041;}get[_0x98e77b(0x1c5)](){return _0x2cdb3e;}get['DocsTableSelectionKind'](){return _0x15b168;}get[_0x98e77b(0x14e)](){return _0x5e8c25;}get[_0x98e77b(0x156)](){return _0x161c67;}get[_0x98e77b(0x197)](){return _0xee5d7;}get['DocsTableSortDirection'](){return _0x4c4df2;}get[_0x98e77b(0x1b5)](){return _0x399693;}};_0xce6358[_0x98e77b(0x162)](G);var K=class{constructor(_0x20a373,_0x26a72d,_0x3158ab){const _0x4aa00c=_0x98e77b;this[_0x4aa00c(0x1b6)]=_0x20a373,this[_0x4aa00c(0x1c8)]=_0x26a72d,this[_0x4aa00c(0x13b)]=_0x3158ab;}[_0x98e77b(0x1da)](){const _0x5394f7=_0x98e77b;return this[_0x5394f7(0x1b6)];}['getRowIndex'](){return this['_row'];}['getColumnIndex'](){return this['_column'];}['getText'](){const _0xb2bae3=_0x98e77b;return this[_0xb2bae3(0x1b6)][_0xb2bae3(0x147)](this[_0xb2bae3(0x1c8)],this['_column']);}['getContentRange'](){const _0x9c7d99=_0x98e77b;return this[_0x9c7d99(0x1b6)][_0x9c7d99(0x1af)](this[_0x9c7d99(0x1c8)],this[_0x9c7d99(0x13b)]);}['getInsertOffset'](){const _0x57a9a9=_0x98e77b;return this[_0x57a9a9(0x1b6)][_0x57a9a9(0x1bb)](this[_0x57a9a9(0x1c8)],this[_0x57a9a9(0x13b)]);}[_0x98e77b(0x1e7)](){const _0xb91b70=_0x98e77b;return this['_table'][_0xb91b70(0x1d0)](this[_0xb91b70(0x1c8)],this[_0xb91b70(0x13b)]);}[_0x98e77b(0x1d3)](){const _0x48dbe3=_0x98e77b;return this[_0x48dbe3(0x1b6)][_0x48dbe3(0x13e)](this['_row'],this[_0x48dbe3(0x13b)]);}[_0x98e77b(0x155)](_0x1e4f57){const _0xedb81=_0x98e77b;return this[_0xedb81(0x1b6)][_0xedb81(0x173)](this[_0xedb81(0x1b6)]['getCellRange'](this[_0xedb81(0x1c8)],this[_0xedb81(0x13b)]),_0x1e4f57);}[_0x98e77b(0x1d6)](){const _0x51c865=_0x98e77b;return this[_0x51c865(0x1b6)][_0x51c865(0x173)](this['_table'][_0x51c865(0x19f)](this[_0x51c865(0x1c8)],this[_0x51c865(0x13b)]),null);}[_0x98e77b(0x164)](_0x1ab698){const _0x5628b7=_0x98e77b;return this['_table']['setCellText'](this[_0x5628b7(0x1c8)],this[_0x5628b7(0x13b)],_0x1ab698);}[_0x98e77b(0x13c)](_0x1797fb){const _0x20dcf4=_0x98e77b;return this[_0x20dcf4(0x1b6)]['setCellBackground'](this[_0x20dcf4(0x1b6)][_0x20dcf4(0x19f)](this['_row'],this['_column']),_0x1797fb);}[_0x98e77b(0x17f)](_0xfdf63d){const _0x3c144f=_0x98e77b;return this[_0x3c144f(0x1b6)]['setBorder'](this[_0x3c144f(0x1b6)][_0x3c144f(0x19f)](this[_0x3c144f(0x1c8)],this[_0x3c144f(0x13b)]),_0xfdf63d);}[_0x98e77b(0x1b1)](_0x2ae90f,_0x52ea5b){const _0x5415e5=_0x98e77b;return this[_0x5415e5(0x1b6)][_0x5415e5(0x17a)]({'startRow':this[_0x5415e5(0x1c8)],'startColumn':this['_column'],'endRow':this[_0x5415e5(0x1c8)]+_0x2ae90f-0x1,'endColumn':this['_column']+_0x52ea5b-0x1});}[_0x98e77b(0x1a3)](){const _0x558fc1=_0x98e77b;return this[_0x558fc1(0x1b6)][_0x558fc1(0x188)](this['_table'][_0x558fc1(0x19f)](this['_row'],this[_0x558fc1(0x13b)]));}};function q(_0x4f5cb9){'@babel/helpers - typeof';const _0x1abd09=_0x98e77b;return q=typeof Symbol=='function'&&typeof Symbol[_0x1abd09(0x189)]==_0x1abd09(0x1db)?function(_0x45def3){return typeof _0x45def3;}:function(_0x55eef6){const _0x314abd=_0x1abd09;return _0x55eef6&&typeof Symbol==_0x314abd(0x1a9)&&_0x55eef6[_0x314abd(0x1bc)]===Symbol&&_0x55eef6!==Symbol[_0x314abd(0x152)]?_0x314abd(0x1db):typeof _0x55eef6;},q(_0x4f5cb9);}function J(_0x1e808f,_0x2fd5a3){const _0x3bdd04=_0x98e77b;if(q(_0x1e808f)!=_0x3bdd04(0x1b3)||!_0x1e808f)return _0x1e808f;var _0x46703d=_0x1e808f[Symbol[_0x3bdd04(0x1d5)]];if(_0x46703d!==void 0x0){var _0x438947=_0x46703d[_0x3bdd04(0x1aa)](_0x1e808f,_0x2fd5a3||_0x3bdd04(0x13a));if(q(_0x438947)!=_0x3bdd04(0x1b3))return _0x438947;throw TypeError(_0x3bdd04(0x184));}return(_0x2fd5a3===_0x3bdd04(0x157)?String:Number)(_0x1e808f);}function Y(_0x25544f){const _0x5f3c07=_0x98e77b;var _0x15999d=J(_0x25544f,'string');return q(_0x15999d)==_0x5f3c07(0x1db)?_0x15999d:_0x15999d+'';}function X(_0x1da40a,_0x590eb0,_0x5b14a1){const _0x815f6f=_0x98e77b;return(_0x590eb0=Y(_0x590eb0))in _0x1da40a?Object[_0x815f6f(0x16b)](_0x1da40a,_0x590eb0,{'value':_0x5b14a1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1da40a[_0x590eb0]=_0x5b14a1,_0x1da40a;}var Z=class{constructor(_0x246b8a,_0x588199,_0x4fea34='',_0x31383b){const _0x1a2456=_0x98e77b;this[_0x1a2456(0x1a6)]=_0x246b8a,this['_tableId']=_0x588199,this[_0x1a2456(0x1ca)]=_0x4fea34,this[_0x1a2456(0x1cd)]=_0x31383b,X(this,_0x1a2456(0x180),void 0x0),this[_0x1a2456(0x180)]=this[_0x1a2456(0x1a6)]['getId']();}['getId'](){const _0x351da0=_0x98e77b;return this[_0x351da0(0x171)];}[_0x98e77b(0x18c)](){const _0x22d4fe=_0x98e77b;return this[_0x22d4fe(0x1ca)];}[_0x98e77b(0x18e)](){const _0x3f7628=_0x98e77b;return{'id':this['_tableId'],'rowCount':this[_0x3f7628(0x161)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x3f7628(0x1b2)](),'source':this[_0x3f7628(0x1e8)]()};}[_0x98e77b(0x151)](){const _0x1dce79=_0x98e77b;var _0x5500da,_0x5967a2;let _0x16fa85=this['getMetadata'](),_0x52526d=this[_0x1dce79(0x1e8)](),_0x3e38de=this['getColumnCount']();return{'id':this[_0x1dce79(0x171)],'rowCount':this[_0x1dce79(0x161)](),'columnCount':_0x3e38de,'headerRowCount':(_0x5500da=_0x16fa85==null?void 0x0:_0x16fa85['headerRowCount'])==null?0x0:_0x5500da,'titleRow':(_0x5967a2=_0x16fa85==null?void 0x0:_0x16fa85[_0x1dce79(0x18d)])==null?!0x1:_0x5967a2,'columns':Array[_0x1dce79(0x1b7)]({'length':_0x3e38de},(_0x115a36,_0x11c2f0)=>{const _0x5a9899=_0x1dce79;var _0xb4f5c,_0x539bae;return{'index':_0x11c2f0,'type':_0x16fa85==null||(_0xb4f5c=_0x16fa85[_0x5a9899(0x1cc)])==null||(_0xb4f5c=_0xb4f5c[_0x11c2f0])==null?void 0x0:_0xb4f5c[_0x5a9899(0x1d4)],'width':_0x52526d==null||(_0x539bae=_0x52526d[_0x5a9899(0x15e)][_0x11c2f0])==null?void 0x0:_0x539bae[_0x5a9899(0x1df)]['width']['v']};}),'sampleRows':Array[_0x1dce79(0x1b7)]({'length':this[_0x1dce79(0x161)]()},(_0x31f7ca,_0x59ecba)=>Array[_0x1dce79(0x1b7)]({'length':_0x3e38de},(_0x49022f,_0x5f12cf)=>this[_0x1dce79(0x147)](_0x59ecba,_0x5f12cf)))['filter'](_0x3a3a2=>_0x3a3a2[_0x1dce79(0x16d)](_0x9651f9=>_0x9651f9['length']>0x0))['slice'](0x0,0x5)};}[_0x98e77b(0x161)](){const _0x207a9c=_0x98e77b;var _0x576612,_0x4a9e85;return(_0x576612=(_0x4a9e85=this[_0x207a9c(0x1e8)]())==null?void 0x0:_0x4a9e85['tableRows'][_0x207a9c(0x14f)])==null?0x0:_0x576612;}[_0x98e77b(0x1c3)](){const _0x4550ec=_0x98e77b;var _0x3de7a8,_0x244706;return(_0x3de7a8=(_0x244706=this[_0x4550ec(0x1e8)]())==null?void 0x0:_0x244706[_0x4550ec(0x15e)]['length'])==null?0x0:_0x3de7a8;}['getCell'](_0x697046,_0x45c9e9){const _0x5e496b=_0x98e77b;var _0x44319a;return!((_0x44319a=this[_0x5e496b(0x1e8)]())==null||(_0x44319a=_0x44319a[_0x5e496b(0x14a)][_0x697046])==null)&&_0x44319a[_0x5e496b(0x1d1)][_0x45c9e9]?this[_0x5e496b(0x1cd)][_0x5e496b(0x1b4)](K,this,_0x697046,_0x45c9e9):null;}[_0x98e77b(0x147)](_0x35dd8f,_0x4f23cf){const _0x4f471e=_0x98e77b;var _0x10e26d,_0x274590,_0x51ea02;let _0xdabffd=(_0x10e26d=_0x50bcbd(this['_getDocumentData'](),this['_tableId']))==null||(_0x10e26d=_0x10e26d['rows'][_0x35dd8f])==null?void 0x0:_0x10e26d['cells'][_0x4f23cf];return _0xdabffd?(_0x274590=(_0x51ea02=this[_0x4f471e(0x196)]()[_0x4f471e(0x14b)])==null?void 0x0:_0x51ea02[_0x4f471e(0x1c2)][_0x4f471e(0x18b)](_0xdabffd[_0x4f471e(0x140)]+0x1,_0xdabffd['endOffset'])['replace'](/\r\n$/,''))==null?'':_0x274590:'';}['getCellMargin'](_0x536593,_0x3c6c30){const _0x24771d=_0x98e77b;var _0xd30eac,_0x21ca98,_0x1c7b7a;let _0x2e8627=this[_0x24771d(0x1e8)](),_0x476e0d=_0x2e8627==null||(_0xd30eac=_0x2e8627[_0x24771d(0x14a)][_0x536593])==null?void 0x0:_0xd30eac[_0x24771d(0x1d1)][_0x3c6c30];return _0x476e0d?_0x10f198['deepClone']((_0x21ca98=(_0x1c7b7a=_0x476e0d[_0x24771d(0x17d)])==null?_0x2e8627[_0x24771d(0x158)]:_0x1c7b7a)==null?_0x5daad3:_0x21ca98):null;}[_0x98e77b(0x13e)](_0x13a43a,_0x169b73){const _0x4714eb=_0x98e77b;var _0x1773f3;let _0x39251a=(_0x1773f3=this[_0x4714eb(0x1e8)]())==null||(_0x1773f3=_0x1773f3[_0x4714eb(0x14a)][_0x13a43a])==null?void 0x0:_0x1773f3['tableCells'][_0x169b73];return _0x39251a!=null&&_0x39251a[_0x4714eb(0x17d)]?_0x10f198[_0x4714eb(0x165)](_0x39251a[_0x4714eb(0x17d)]):null;}[_0x98e77b(0x14c)](){const _0x31ff54=_0x98e77b;var _0x417379,_0x2c2524;return _0x10f198['deepClone']((_0x417379=(_0x2c2524=this['getSource']())==null?void 0x0:_0x2c2524[_0x31ff54(0x158)])==null?_0x5daad3:_0x417379);}[_0x98e77b(0x1a7)](){const _0x56eeb0=_0x98e77b;var _0x4a6c22;let _0x111851=(_0x4a6c22=this[_0x56eeb0(0x1e8)]())==null?void 0x0:_0x4a6c22['cellMargin'];return _0x111851?_0x10f198[_0x56eeb0(0x165)](_0x111851):null;}[_0x98e77b(0x1b2)](){const _0x32c2ca=_0x98e77b;return this['_injector']['get'](_0x221d1b)['getTableMetadata'](this[_0x32c2ca(0x180)],this[_0x32c2ca(0x171)]);}[_0x98e77b(0x1e8)](){const _0xee5a4c=_0x98e77b;var _0xb7ffb8;return(_0xb7ffb8=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0xb7ffb8[this[_0xee5a4c(0x171)]];}['getRange'](){const _0x272cc7=_0x98e77b;return _0x50bcbd(this[_0x272cc7(0x196)](),this[_0x272cc7(0x171)]);}['getTableRange'](){const _0x506a8d=_0x98e77b;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x506a8d(0x161)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x506a8d(0x1a8)](0x0,this[_0x506a8d(0x1c3)]()-0x1)};}[_0x98e77b(0x19f)](_0x30fbaf,_0x493b21){return{'startRow':_0x30fbaf,'endRow':_0x30fbaf,'startColumn':_0x493b21,'endColumn':_0x493b21};}['getCellContentRange'](_0x379b44,_0x6c826d){const _0x822263=_0x98e77b;var _0x35eea0;let _0x2bbffc=(_0x35eea0=_0x50bcbd(this['_getDocumentData'](),this[_0x822263(0x171)]))==null||(_0x35eea0=_0x35eea0[_0x822263(0x16a)][_0x379b44])==null?void 0x0:_0x35eea0['cells'][_0x6c826d];if(!_0x2bbffc)return null;let _0x31ddc8=_0x2bbffc[_0x822263(0x140)]+0x1;return{'startOffset':_0x31ddc8,'endOffset':Math[_0x822263(0x1a8)](_0x31ddc8,_0x2bbffc[_0x822263(0x1ad)]-0x1),'segmentId':this['_segmentId']};}[_0x98e77b(0x1bb)](_0x2f6e51,_0x1e28a1){const _0x5f26b0=_0x98e77b;var _0xe33a5b,_0x5aca5f;return(_0xe33a5b=(_0x5aca5f=this[_0x5f26b0(0x1af)](_0x2f6e51,_0x1e28a1))==null?void 0x0:_0x5aca5f['endOffset'])==null?null:_0xe33a5b;}[_0x98e77b(0x170)](_0x477323){const _0x3cc908=_0x98e77b;return this[_0x3cc908(0x1b0)](_0x477323,0x1);}[_0x98e77b(0x1b0)](_0x4143c4,_0x9fb5cc=0x1){const _0x5c39d9=_0x98e77b;return{'startRow':_0x4143c4,'endRow':_0x4143c4+_0x9fb5cc-0x1,'startColumn':0x0,'endColumn':Math[_0x5c39d9(0x1a8)](0x0,this[_0x5c39d9(0x1c3)]()-0x1)};}[_0x98e77b(0x1d7)](_0x4f4246){const _0x39ab2d=_0x98e77b;return this[_0x39ab2d(0x182)](_0x4f4246,0x1);}['getColumnsRange'](_0x170da8,_0x1e401d=0x1){return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':_0x170da8,'endColumn':_0x170da8+_0x1e401d-0x1};}[_0x98e77b(0x192)](){const _0x460c3f=_0x98e77b;return this[_0x460c3f(0x1bd)](this[_0x460c3f(0x1e0)](),_0x15b168['Table']);}[_0x98e77b(0x1b8)](_0x2a8583){const _0x344afe=_0x98e77b;return this[_0x344afe(0x16c)](_0x2a8583,0x1);}[_0x98e77b(0x16c)](_0x21ba5d,_0x48aba7=0x1){const _0x4883c9=_0x98e77b;return this[_0x4883c9(0x1bd)](this['getRowsRange'](_0x21ba5d,_0x48aba7),_0x15b168['Row']);}[_0x98e77b(0x169)](_0x53854c){return this['selectColumns'](_0x53854c,0x1);}[_0x98e77b(0x141)](_0x351af3,_0x52a51a=0x1){const _0x186c97=_0x98e77b;return this[_0x186c97(0x1bd)](this[_0x186c97(0x182)](_0x351af3,_0x52a51a),_0x15b168[_0x186c97(0x17b)]);}[_0x98e77b(0x1a1)](_0x3251a7,_0x537c60){const _0x2acc9a=_0x98e77b;return this[_0x2acc9a(0x1bd)](this[_0x2acc9a(0x19f)](_0x3251a7,_0x537c60),_0x15b168[_0x2acc9a(0x1ba)]);}[_0x98e77b(0x1bd)](_0x4daacc,_0x5853f3=_0x15b168['Range']){const _0x12ea8a=_0x98e77b;return this[_0x12ea8a(0x1cd)]['get'](_0x910f0)[_0x12ea8a(0x179)]({..._0x4daacc,'kind':_0x5853f3,'segmentId':this[_0x12ea8a(0x1ca)],'tableId':this[_0x12ea8a(0x171)]}),!0x0;}[_0x98e77b(0x1c9)](_0x2d2f75){const _0x45e22e=_0x98e77b;return this[_0x45e22e(0x154)](_0x2d2f75,0x1);}[_0x98e77b(0x1a5)](_0x40cff8){return this['insertRowsAfter'](_0x40cff8,0x1);}[_0x98e77b(0x154)](_0x2cdae9,_0x48b69b){const _0x1879ee=_0x98e77b;let _0x48dde3=this['_getDocumentData'](),_0x4391b5=_0x55aac5(_0x48dde3,this['_tableId'],_0x2cdae9,_0x48b69b,_0x1e3538[_0x1879ee(0x13d)],this[_0x1879ee(0x178)]());return _0x4391b5?this[_0x1879ee(0x15f)](_0x48dde3,_0x4391b5[_0x1879ee(0x167)]):!0x1;}[_0x98e77b(0x1c7)](_0x449d8a,_0x3f6346){const _0x186a2f=_0x98e77b;let _0x380256=this['_getDocumentData'](),_0x2ed9e4=_0x55aac5(_0x380256,this[_0x186a2f(0x171)],_0x449d8a,_0x3f6346,_0x1e3538['Below'],this['_getBodyPath']());return _0x2ed9e4?this[_0x186a2f(0x15f)](_0x380256,_0x2ed9e4[_0x186a2f(0x167)]):!0x1;}[_0x98e77b(0x143)](){const _0x5f2adf=_0x98e77b;return this[_0x5f2adf(0x1c7)](Math['max'](0x0,this['getRowCount']()-0x1),0x1);}[_0x98e77b(0x17c)](_0x21601a){const _0x286e8c=_0x98e77b;return this[_0x286e8c(0x1d2)](_0x21601a,0x1);}['insertColumnAfter'](_0x435c71){const _0x2853fc=_0x98e77b;return this[_0x2853fc(0x1ce)](_0x435c71,0x1);}[_0x98e77b(0x1d2)](_0x2aa21f,_0x353234){const _0x96914e=_0x98e77b;let _0x3d13df=this['_getDocumentData'](),_0x1cb6bb=_0x4ee274(_0x3d13df,this['_tableId'],_0x2aa21f,_0x353234,_0x1e3538['Left'],{'bodyPath':this[_0x96914e(0x178)]()});return _0x1cb6bb?this[_0x96914e(0x15f)](_0x3d13df,_0x1cb6bb['actions']):!0x1;}['insertColumnsAfter'](_0x122adf,_0x391420){const _0x366dd6=_0x98e77b;let _0x2e7a68=this[_0x366dd6(0x196)](),_0x302bc0=_0x4ee274(_0x2e7a68,this[_0x366dd6(0x171)],_0x122adf,_0x391420,_0x1e3538[_0x366dd6(0x1c0)],{'bodyPath':this[_0x366dd6(0x178)]()});return _0x302bc0?this['_mutateActions'](_0x2e7a68,_0x302bc0[_0x366dd6(0x167)]):!0x1;}['appendColumn'](){const _0x14fbed=_0x98e77b;return this['insertColumnsAfter'](Math[_0x14fbed(0x1a8)](0x0,this['getColumnCount']()-0x1),0x1);}[_0x98e77b(0x16e)](_0x2acd8e){const _0x3418d1=_0x98e77b;return this[_0x3418d1(0x1ac)](_0x2acd8e,0x1);}[_0x98e77b(0x1ac)](_0x105602,_0x52a775=0x1){const _0xa3741d=_0x98e77b;let _0x2c3b36=this[_0xa3741d(0x196)](),_0x188049=_0x1235fc(_0x2c3b36,this[_0xa3741d(0x171)],_0x105602,_0x105602+_0x52a775-0x1,this[_0xa3741d(0x178)]());return _0x188049?this[_0xa3741d(0x15f)](_0x2c3b36,_0x188049['actions']):!0x1;}[_0x98e77b(0x186)](_0x4dd7af){const _0x2e2bd6=_0x98e77b;return this[_0x2e2bd6(0x191)](_0x4dd7af,0x1);}[_0x98e77b(0x191)](_0x446be2,_0x43abfe=0x1){const _0x1a05a8=_0x98e77b;let _0x235e7f=this[_0x1a05a8(0x196)](),_0x32231f=_0x37b18d(_0x235e7f,this[_0x1a05a8(0x171)],_0x446be2,_0x446be2+_0x43abfe-0x1,this[_0x1a05a8(0x178)]());return _0x32231f?this[_0x1a05a8(0x15f)](_0x235e7f,_0x32231f[_0x1a05a8(0x167)]):!0x1;}[_0x98e77b(0x175)](){const _0x25b0ce=_0x98e77b;let _0x51e53f=this[_0x25b0ce(0x196)](),_0x20bb43=_0x596a46(_0x51e53f,this['_tableId'],this[_0x25b0ce(0x178)]());return _0x20bb43?this[_0x25b0ce(0x15f)](_0x51e53f,_0x20bb43[_0x25b0ce(0x167)]):!0x1;}[_0x98e77b(0x1a2)](_0x2869a6,_0x2e59f6){const _0x144643=_0x98e77b;let _0x36bba2=this[_0x144643(0x196)]();return this['_mutateActions'](_0x36bba2,_0x5b633b(_0x36bba2,this[_0x144643(0x171)],_0x2869a6,_0x2e59f6));}[_0x98e77b(0x15d)](_0x2a3535){const _0x1a8ae3=_0x98e77b;let _0x5b45d1=this['_getDocumentData']();return this[_0x1a8ae3(0x15f)](_0x5b45d1,_0x5e47b0(_0x5b45d1,this[_0x1a8ae3(0x171)],_0x2a3535,this['_getBodyPath']()));}[_0x98e77b(0x19d)](_0x2be5fa,_0x12abcd,_0x4e98d2=_0x1e3538[_0x98e77b(0x13d)]){const _0x41ce0e=_0x98e77b;return this[_0x41ce0e(0x19c)](_0x2be5fa,0x1,_0x12abcd,_0x4e98d2);}['moveRows'](_0xf023b0,_0x397c8e,_0x44261a,_0x4c7ad5=_0x1e3538[_0x98e77b(0x13d)]){const _0x17a593=_0x98e77b;let _0x209861=this[_0x17a593(0x196)](),_0x259de6=_0x4a2d62(_0x209861,this[_0x17a593(0x171)],_0xf023b0,_0x44261a,_0x397c8e,_0x4c7ad5,this[_0x17a593(0x178)]());return _0x259de6?this[_0x17a593(0x15f)](_0x209861,_0x259de6['actions']):!0x1;}[_0x98e77b(0x1d9)](_0x3ca72e,_0x1f9188,_0x53537f=_0x1e3538[_0x98e77b(0x1dd)]){const _0x238ad9=_0x98e77b;return this[_0x238ad9(0x1e2)](_0x3ca72e,0x1,_0x1f9188,_0x53537f);}[_0x98e77b(0x1e2)](_0x449ac0,_0x4ab535,_0x4126a2,_0x289395=_0x1e3538[_0x98e77b(0x1dd)]){const _0x57d16d=_0x98e77b;let _0x6bafac=this[_0x57d16d(0x196)](),_0x475180=_0x30c0d3(_0x6bafac,this[_0x57d16d(0x171)],_0x449ac0,_0x4126a2,_0x4ab535,_0x289395,this[_0x57d16d(0x178)]());return _0x475180?this[_0x57d16d(0x15f)](_0x6bafac,_0x475180[_0x57d16d(0x167)]):!0x1;}['mergeCells'](_0x5cc3e0){const _0x890308=_0x98e77b;try{let _0x53c235=this['_getDocumentData'](),_0x5b2379=_0x5cc68b({'documentData':_0x53c235,'tableId':this[_0x890308(0x171)],..._0x5cc3e0});return _0x5b2379?this['_mutateActions'](_0x53c235,_0x5b2379['actions'],_0x5cc3e0):!0x1;}catch{return!0x1;}}[_0x98e77b(0x188)](_0x39a7f6){const _0x2f0ed4=_0x98e77b;try{let _0x30e549=this[_0x2f0ed4(0x196)](),_0x39b849=_0x14ba5d({'documentData':_0x30e549,'tableId':this['_tableId'],..._0x39a7f6});return _0x39b849?this['_mutateActions'](_0x30e549,_0x39b849[_0x2f0ed4(0x167)],_0x39a7f6):!0x1;}catch{return!0x1;}}[_0x98e77b(0x187)](_0x3ef431,_0x2eb148,_0x40fbb2){const _0x57cdfc=_0x98e77b;let _0x31daf4=this[_0x57cdfc(0x196)](),_0xd389ce=_0x1b8832(this['_document'][_0x57cdfc(0x168)]()[_0x57cdfc(0x149)](),this[_0x57cdfc(0x1ca)]);return this[_0x57cdfc(0x15f)](_0x31daf4,_0x40ceae({'documentData':_0x31daf4,'tableId':this[_0x57cdfc(0x171)],'row':_0x3ef431,'column':_0x2eb148,'text':_0x40fbb2},_0xd389ce),this['getCellRange'](_0x3ef431,_0x2eb148));}[_0x98e77b(0x174)](_0x302e07,_0x10f383){const _0x2e1835=_0x98e77b;let _0x432f17=this[_0x2e1835(0x196)]();return this[_0x2e1835(0x15f)](_0x432f17,_0x40ea58(_0x432f17,{'tableId':this[_0x2e1835(0x171)],..._0x302e07,'value':_0x10f383}),_0x302e07);}[_0x98e77b(0x173)](_0x3ce2d3,_0x12c199){const _0x4ffe33=_0x98e77b;let _0x155ca5=this[_0x4ffe33(0x196)]();return this[_0x4ffe33(0x15f)](_0x155ca5,_0x4102f4({'documentData':_0x155ca5,'tableId':this[_0x4ffe33(0x171)],..._0x3ce2d3,'margin':_0x12c199}),_0x3ce2d3);}['setDefaultCellMargin'](_0x5129fa){const _0x24e7c3=_0x98e77b;let _0x2b1cbb=this['_getDocumentData']();return this[_0x24e7c3(0x15f)](_0x2b1cbb,_0x521317(_0x2b1cbb,this['_tableId'],_0x5129fa));}[_0x98e77b(0x17f)](_0x51b4a6,_0x4f7fc9){const _0x3abd70=_0x98e77b;var _0x1ac524,_0x1896a8,_0x2560f8,_0x1725c2;let _0x1450a3=this[_0x3abd70(0x196)]();return this[_0x3abd70(0x15f)](_0x1450a3,_0x7cd31b({'documentData':_0x1450a3,'tableId':this[_0x3abd70(0x171)],..._0x51b4a6,'preset':(_0x1ac524=_0x4f7fc9['preset'])==null?_0xee5d7[_0x3abd70(0x163)]:_0x1ac524,'border':(_0x1896a8=_0x4f7fc9['border'])==null?{'color':{'rgb':(_0x2560f8=_0x4f7fc9[_0x3abd70(0x1a0)])==null?_0x3abd70(0x195):_0x2560f8},'width':{'v':(_0x1725c2=_0x4f7fc9[_0x3abd70(0x1e5)])==null?0x1:_0x1725c2},'dashStyle':_0x399693[_0x3abd70(0x1b9)]}:_0x1896a8}),_0x51b4a6);}[_0x98e77b(0x153)](_0x4dc229){const _0x1ae153=_0x98e77b;return this[_0x1ae153(0x174)](this[_0x1ae153(0x1e0)](),_0x4dc229);}[_0x98e77b(0x19a)](_0x2c63cf){const _0x3c5c4c=_0x98e77b;return this[_0x3c5c4c(0x17f)](this[_0x3c5c4c(0x1e0)](),_0x2c63cf);}[_0x98e77b(0x19e)](_0x2aab6){const _0x577ebd=_0x98e77b;let _0x223a4b=_0x2aab6['backgroundColor']?this['setTableBackground'](_0x2aab6[_0x577ebd(0x166)]):!0x0,_0x5b61aa=_0x2aab6[_0x577ebd(0x1cf)]?this['setTableBorder'](_0x2aab6[_0x577ebd(0x1cf)]):!0x0;return _0x223a4b&&_0x5b61aa;}[_0x98e77b(0x160)](_0x3bf255,_0x3e4e31,_0x7209be=_0x76fe98[_0x98e77b(0x1dc)]){const _0x39381d=_0x98e77b;var _0x2fe140;let _0x23371c=this[_0x39381d(0x196)]();return!((_0x2fe140=_0x23371c[_0x39381d(0x172)])==null||(_0x2fe140=_0x2fe140[this[_0x39381d(0x171)]])==null)&&_0x2fe140[_0x39381d(0x14a)][_0x3bf255]?this[_0x39381d(0x15f)](_0x23371c,_0x4369cd(_0x23371c,this[_0x39381d(0x171)],_0x3bf255,_0x3e4e31,_0x7209be)):!0x1;}['getRowHeight'](_0x4c4f54){const _0x3f4730=_0x98e77b;var _0x56a951;let _0x26d5ad=(_0x56a951=this[_0x3f4730(0x1e8)]())==null||(_0x56a951=_0x56a951[_0x3f4730(0x14a)][_0x4c4f54])==null?void 0x0:_0x56a951[_0x3f4730(0x1cb)];return _0x26d5ad?_0x10f198[_0x3f4730(0x165)](_0x26d5ad):null;}['setColumnWidth'](_0x3c7e64,_0x316603){const _0x183a93=_0x98e77b;var _0x26b9ce;let _0x5deb41=this[_0x183a93(0x196)]();return!((_0x26b9ce=_0x5deb41[_0x183a93(0x172)])==null||(_0x26b9ce=_0x26b9ce[this[_0x183a93(0x171)]])==null)&&_0x26b9ce['tableColumns'][_0x3c7e64]?this[_0x183a93(0x15f)](_0x5deb41,_0x15050b(_0x5deb41,this['_tableId'],_0x3c7e64,_0x316603)):!0x1;}['distributeRows'](_0x1c82fa=0x0,_0x27ea97=this[_0x98e77b(0x161)]()){const _0x4d6212=_0x98e77b;let _0x408a2c=this[_0x4d6212(0x196)]();return this[_0x4d6212(0x15f)](_0x408a2c,_0x462a0e(_0x408a2c,this[_0x4d6212(0x171)],_0x1c82fa,_0x1c82fa+_0x27ea97-0x1));}[_0x98e77b(0x13f)](_0x21c6fb=0x0,_0x8f4ec6=this['getColumnCount']()){const _0x127398=_0x98e77b;let _0x516ce4=this[_0x127398(0x196)]();return this[_0x127398(0x15f)](_0x516ce4,_0x2a358e(_0x516ce4,this['_tableId'],_0x21c6fb,_0x21c6fb+_0x8f4ec6-0x1));}[_0x98e77b(0x1ab)](){const _0x4adc8a=_0x98e77b;var _0x1e02ab,_0x40164f;return(_0x1e02ab=(_0x40164f=this['getMetadata']())==null?void 0x0:_0x40164f[_0x4adc8a(0x146)])==null?0x0:_0x1e02ab;}['setHeaderRowCount'](_0x333a47){const _0x3da5a3=_0x98e77b;let _0x32ccd5=this[_0x3da5a3(0x1cd)]['get'](_0x221d1b),_0x2ec6ee=this[_0x3da5a3(0x196)](),_0x1189b1=_0x19cc13(_0x2ec6ee,this[_0x3da5a3(0x171)],_0x333a47);if(!_0x1189b1)return!0x1;let _0x34a4ca=this[_0x3da5a3(0x15f)](_0x2ec6ee,_0x1189b1[_0x3da5a3(0x167)]);return _0x34a4ca&&_0x32ccd5[_0x3da5a3(0x181)](this[_0x3da5a3(0x180)],this[_0x3da5a3(0x171)],_0x1189b1[_0x3da5a3(0x146)]),_0x34a4ca;}[_0x98e77b(0x199)](_0x418b70){const _0x1d990e=_0x98e77b;return this[_0x1d990e(0x181)](_0x418b70);}[_0x98e77b(0x1e4)](){const _0x2b9c09=_0x98e77b;var _0x516a8f,_0x1fb81b;return(_0x516a8f=(_0x1fb81b=this[_0x2b9c09(0x1b2)]())==null?void 0x0:_0x1fb81b[_0x2b9c09(0x18d)])==null?!0x1:_0x516a8f;}['insertTitleRow'](){const _0x39b800=_0x98e77b;let _0x1c371e=this[_0x39b800(0x1cd)][_0x39b800(0x150)](_0x221d1b),_0x3d2154=this[_0x39b800(0x196)](),_0x5d9f4c=_0xdb4f13(_0x3d2154,this[_0x39b800(0x171)],this[_0x39b800(0x178)]());if(!_0x5d9f4c)return!0x1;let _0x5797f7=this['_mutateActions'](_0x3d2154,_0x5d9f4c['actions']);return _0x5797f7&&_0x1c371e[_0x39b800(0x1e3)](this[_0x39b800(0x180)],this['_tableId'],!0x0),_0x5797f7;}[_0x98e77b(0x139)](_0x5ddbc4,_0x11d063){const _0x6bc7ce=_0x98e77b;return this['_injector']['get'](_0x221d1b)[_0x6bc7ce(0x139)](this[_0x6bc7ce(0x180)],this[_0x6bc7ce(0x171)],_0x5ddbc4,_0x11d063),!0x0;}[_0x98e77b(0x14d)](_0x5168cd,_0x1b81bd){const _0x32c73a=_0x98e77b;let _0x205609=this[_0x32c73a(0x196)]();return this['_mutateActions'](_0x205609,_0x3a97d5(_0x205609,this[_0x32c73a(0x185)](),this[_0x32c73a(0x171)],_0x5168cd,_0x1b81bd,this[_0x32c73a(0x178)]()));}[_0x98e77b(0x196)](){const _0x2e10da=_0x98e77b;let _0x546290=this[_0x2e10da(0x1a6)]['getDocumentDataModel']()[_0x2e10da(0x149)]();return this[_0x2e10da(0x1ca)]?{...this[_0x2e10da(0x1a6)][_0x2e10da(0x168)](this['_segmentId'])['getSnapshot'](),'documentStyle':_0x546290[_0x2e10da(0x1de)],'tableSource':_0x546290[_0x2e10da(0x172)]}:_0x546290;}[_0x98e77b(0x185)](){const _0x24fc71=_0x98e77b;return this[_0x24fc71(0x1cd)][_0x24fc71(0x150)](_0x221d1b)['serialize'](this[_0x24fc71(0x180)]);}[_0x98e77b(0x178)](){const _0x3674f1=_0x98e77b;return _0x1b8832(this['_document'][_0x3674f1(0x168)]()['getSnapshot'](),this[_0x3674f1(0x1ca)]);}[_0x98e77b(0x15f)](_0x4e7de7,_0x1aa6ca,_0x15b0a5){const _0x497a93=_0x98e77b;return _0x46c38e(this[_0x497a93(0x1cd)]['get'](_0x3377a4),this[_0x497a93(0x180)],_0x4e7de7,_0x1aa6ca,_0x15b0a5?{'tableId':this['_tableId'],'segmentId':this[_0x497a93(0x1ca)],..._0x15b0a5}:void 0x0);}},Q=class extends _0x2b36a9{[_0x98e77b(0x183)](_0x5daa84=''){const _0x4f5568=_0x98e77b;return this[_0x4f5568(0x176)](_0x5daa84)['map'](_0x1a78b7=>this[_0x4f5568(0x1e6)](_0x1a78b7[_0x4f5568(0x16f)],_0x5daa84));}['getTable'](_0x56ddbe,_0x4ee7aa=''){const _0x19b337=_0x98e77b;return this[_0x19b337(0x176)](_0x4ee7aa)['some'](_0x3ff72b=>_0x3ff72b[_0x19b337(0x16f)]===_0x56ddbe)?this[_0x19b337(0x1e6)](_0x56ddbe,_0x4ee7aa):null;}[_0x98e77b(0x1c6)](_0x193247,_0xdacc8e=''){const _0x1757a5=_0x98e77b;var _0x369a32;let _0x3ed9ce=(_0x369a32=this[_0x1757a5(0x176)](_0xdacc8e)[_0x193247])==null?void 0x0:_0x369a32['tableId'];return _0x3ed9ce?this[_0x1757a5(0x1e6)](_0x3ed9ce,_0xdacc8e):null;}['getTableAtSelection'](){const _0x357025=_0x98e77b;let _0x3521bb=this['_injector']['get'](_0x910f0)[_0x357025(0x1be)]();return _0x3521bb!=null&&_0x3521bb['tableId']?this[_0x357025(0x1e6)](_0x3521bb[_0x357025(0x16f)],_0x3521bb[_0x357025(0x177)]):null;}['findTableByText'](_0x21791b,_0x357ef7=''){const _0x35dbbd=_0x98e77b;var _0x370336;return(_0x370336=this[_0x35dbbd(0x198)](_0x21791b,_0x357ef7)[0x0])==null?null:_0x370336;}[_0x98e77b(0x198)](_0x2b7012,_0x27517a=''){const _0x2fe1f3=_0x98e77b;let _0x2a6489=this[_0x2fe1f3(0x15c)](_0x27517a),_0x4d8452=typeof _0x2b7012==_0x2fe1f3(0x157)?{'text':_0x2b7012}:_0x2b7012;return this[_0x2fe1f3(0x183)](_0x27517a)[_0x2fe1f3(0x15b)](_0x30c85d=>{const _0x6c074=_0x2fe1f3;let _0x5cd934=_0x30c85d[_0x6c074(0x18a)]();return!(_0x4d8452[_0x6c074(0x16f)]&&_0x5cd934!==_0x4d8452['tableId']||_0x4d8452[_0x6c074(0x18f)]&&!this[_0x6c074(0x148)](_0x2a6489,_0x5cd934,_0x4d8452[_0x6c074(0x18f)])||_0x4d8452['headerText']&&!this['_rowContainsText'](_0x30c85d,0x0,_0x4d8452['headerText'])||_0x4d8452[_0x6c074(0x17e)]&&!this[_0x6c074(0x15a)](_0x30c85d,0x0,_0x4d8452['titleText']));});}[_0x98e77b(0x1c1)](_0x593e20,_0x33f49b,_0x1b8033={}){const _0x9f8466=_0x98e77b;var _0x3177f9,_0x591805;let _0x25d3c6=this[_0x9f8466(0x1cd)][_0x9f8466(0x150)](_0x3377a4),_0x5488e4=(_0x3177f9=_0x1b8033[_0x9f8466(0x16f)])==null?_0x535cfa(0x6):_0x3177f9;return _0x25d3c6[_0x9f8466(0x190)](_0x564fad['id'],{..._0x1b8033,'unitId':this[_0x9f8466(0x18a)](),'rows':_0x593e20,'columns':_0x33f49b,'tableId':_0x5488e4})?this['_createFDocumentTable'](_0x5488e4,(_0x591805=_0x1b8033[_0x9f8466(0x177)])==null?'':_0x591805):null;}['insertTableFromData'](_0x40968a,_0x1f7507={}){const _0x243a97=_0x98e77b;var _0x4701e5,_0x24310f;let _0x20f2d0=this[_0x243a97(0x1cd)]['get'](_0x3377a4),_0x2c8741=(_0x4701e5=_0x1f7507[_0x243a97(0x16f)])==null?_0x535cfa(0x6):_0x4701e5;return _0x20f2d0['syncExecuteCommand'](_0x564fad['id'],{..._0x1f7507,'unitId':this[_0x243a97(0x18a)](),'values':_0x40968a,'tableId':_0x2c8741})?this[_0x243a97(0x1e6)](_0x2c8741,(_0x24310f=_0x1f7507[_0x243a97(0x177)])==null?'':_0x24310f):null;}[_0x98e77b(0x176)](_0x3228cd=''){const _0x233b64=_0x98e77b;let {tables:_0x29f933=[]}=this[_0x233b64(0x1e1)](_0x3228cd);return _0x29f933;}[_0x98e77b(0x15c)](_0x436c27=''){const _0x19cea3=_0x98e77b;let _0x1c4573=this[_0x19cea3(0x168)]()[_0x19cea3(0x149)]();return _0x436c27?{...this[_0x19cea3(0x168)](_0x436c27)[_0x19cea3(0x149)](),'documentStyle':_0x1c4573[_0x19cea3(0x1de)],'tableSource':_0x1c4573['tableSource']}:_0x1c4573;}['_createFDocumentTable'](_0x474933,_0x269d9b=''){const _0x10a62a=_0x98e77b;return this['_injector'][_0x10a62a(0x1b4)](Z,this,_0x474933,_0x269d9b,this[_0x10a62a(0x1cd)]);}[_0x98e77b(0x148)](_0x5ee167,_0x11e546,_0x1f05c4){const _0x5e2835=_0x98e77b;var _0x3f8a79;let _0x55bc8d=_0x50bcbd(_0x5ee167,_0x11e546);if(!_0x55bc8d)return!0x1;let _0x4d94d6=(_0x3f8a79=_0x5ee167[_0x5e2835(0x14b)])==null?void 0x0:_0x3f8a79[_0x5e2835(0x1c2)];return _0x4d94d6?_0x4d94d6['slice'](_0x55bc8d['startOffset'],_0x55bc8d['endOffset'])['includes'](_0x1f05c4):!0x1;}[_0x98e77b(0x15a)](_0x35b614,_0x1b494f,_0x1a2c14){const _0x2bfb10=_0x98e77b;return Array[_0x2bfb10(0x1b7)]({'length':_0x35b614['getColumnCount']()},(_0x4a3888,_0x2ca429)=>_0x35b614['getCellText'](_0x1b494f,_0x2ca429))['some'](_0x5c1806=>_0x5c1806[_0x2bfb10(0x1a4)](_0x1a2c14));}};_0x2b36a9[_0x98e77b(0x162)](Q);export{Z as FDocumentTable,K as FDocumentTableCell};function _0x4abd(){const _0xd61005=['#1f1f1f','_getDocumentData','DocsTableBorderPreset','findTables','pinHeaderRows','setTableBorder','14nHJcBp','moveRows','moveRow','setTableStyle','getCellRange','color','selectCell','moveTableBy','unmerge','includes','insertRowAfter','_document','getDefaultCellMarginOverride','max','function','call','getHeaderRowCount','deleteRows','endOffset','5542410XOVtYf','getCellContentRange','getRowsRange','mergeTo','getMetadata','object','createInstance','DashStyleType','_table','from','selectRow','SOLID','Cell','getCellInsertOffset','constructor','selectRange','getStableTableSelection','392WJdsEM','Right','insertTable','dataStream','getColumnCount','3PMwHYF','DocsTableColumnType','getTableAt','insertRowsAfter','_row','insertRowBefore','_segmentId','trHeight','columnTypes','_injector','insertColumnsAfter','border','getCellMargin','tableCells','insertColumnsBefore','getMarginOverride','type','toPrimitive','clearMarginOverride','getColumnRange','35387BSXDbu','moveColumn','getTable','symbol','AT_LEAST','Left','documentStyle','size','getTableRange','getBody','moveColumns','setTitleRow','hasTitleRow','width','_createFDocumentTable','getMargin','getSource','setColumnType','default','_column','setBackgroundColor','Above','getCellMarginOverride','distributeColumns','startOffset','selectColumns','262760fNlYOo','appendRow','1262446RhpSrY','1215816wZiTgl','headerRowCount','getCellText','_tableContainsText','getSnapshot','tableRows','body','getDefaultCellMargin','sortByColumn','DocsTableRowInsertPosition','length','get','describe','prototype','setTableBackground','insertRowsBefore','setMargin','DocsTableColumnInsertPosition','string','cellMargin','126UPiieh','_rowContainsText','filter','_getTableDocumentData','moveTableToOffset','tableColumns','_mutateActions','setRowHeight','getRowCount','extend','All','setText','deepClone','backgroundColor','actions','getDocumentDataModel','selectColumn','rows','defineProperty','selectRows','some','deleteRow','tableId','getRowRange','_tableId','tableSource','setCellMargin','setCellBackground','deleteTable','_getTables','segmentId','_getBodyPath','setStructuralSelection','mergeCells','Column','insertColumnBefore','margin','titleText','setBorder','_unitId','setHeaderRowCount','getColumnsRange','getTables','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_serializeModel','deleteColumn','setCellText','unmergeCells','iterator','getId','slice','getSegmentId','titleRow','getInfo','text','syncExecuteCommand','deleteColumns','selectTable','359315fOZykE','18985NVekbS'];_0x4abd=function(){return _0xd61005;};return _0x4abd();}
1
+ const _0x4be2ba=_0x45d7;(function(_0x2f40a4,_0x20a4f3){const _0x5df94f=_0x45d7,_0x1deb22=_0x2f40a4();while(!![]){try{const _0x1dd3cd=-parseInt(_0x5df94f(0x1fd))/0x1+parseInt(_0x5df94f(0x1f4))/0x2*(parseInt(_0x5df94f(0x249))/0x3)+-parseInt(_0x5df94f(0x256))/0x4+parseInt(_0x5df94f(0x24d))/0x5*(-parseInt(_0x5df94f(0x1ef))/0x6)+-parseInt(_0x5df94f(0x227))/0x7+parseInt(_0x5df94f(0x26b))/0x8+parseInt(_0x5df94f(0x1d4))/0x9;if(_0x1dd3cd===_0x20a4f3)break;else _0x1deb22['push'](_0x1deb22['shift']());}catch(_0x2661cc){_0x1deb22['push'](_0x1deb22['shift']());}}}(_0xed0b,0xd1aac));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x128c72,DocsTableBorderPreset as _0x586c50,DocsTableColumnInsertPosition as _0x5d1b09,DocsTableColumnType as _0x168d91,DocsTableInsertPosition as _0x1a77ca,DocsTableInsertTableCommand as _0x1a8727,DocsTableInsertTablePosition as _0x24d10c,DocsTableModel as _0x327ad5,DocsTableRowInsertPosition as _0x1cc6c3,DocsTableSelectionKind as _0x2e7991,DocsTableSelectionService as _0x4faa51,DocsTableSortDirection as _0x3df64f,buildDeleteTableColumnsMutationActions as _0x18e7bc,buildDeleteTableMutationActions as _0x58547b,buildDeleteTableRowsMutationActions as _0x24d29a,buildDistributeTableColumnsMutationActions as _0x8489c6,buildDistributeTableRowsMutationActions as _0x2ec348,buildInsertTableColumnsMutationActions as _0x28c1c8,buildInsertTableRowsMutationActions as _0x5a0282,buildInsertTableTitleRowMutationActions as _0x10e7d2,buildMergeCellsMutationActions as _0x38ecaf,buildMoveFloatingTableMutationActions as _0x1cff2d,buildMoveTableColumnsMutationActions as _0x4934cb,buildMoveTableRowsMutationActions as _0x21e560,buildMoveTableToOffsetMutationActions as _0x34e03c,buildResizeTableColumnActionsFromWidth as _0x483a45,buildResizeTableRowActionsFromHeight as _0x256a53,buildSetTableBackgroundMutationActions as _0x4d126b,buildSetTableBorderMutationActions as _0x5ee826,buildSetTableCellMarginMutationActions as _0x4a5ca6,buildSetTableCellTextMutationActions as _0x11bcea,buildSetTableDefaultCellMarginMutationActions as _0x571f78,buildSetTableHeaderRowCountMutationActions as _0x3e5107,buildSortTableMutationActions as _0x545c73,buildUnmergeCellsMutationActions as _0x240436,executeRichTextTableActions as _0x518639,getTableActionBodyPath as _0x39cf3e,getTableRangeById as _0xfdef28}from'@univerjs-pro/docs-table';import{DashStyleType as _0x3638cc,ICommandService as _0x3986b4,TableRowHeightRule as _0x4c55db,Tools as _0x17fac4,generateRandomId as _0x50ccad}from'@univerjs/core';import{FEnum as _0x39707c}from'@univerjs/core/facade';import{FDocument as _0x2e94be}from'@univerjs/docs/facade';var G=class extends _0x39707c{get[_0x4be2ba(0x1f8)](){return _0x24d10c;}get[_0x4be2ba(0x245)](){return _0x168d91;}get[_0x4be2ba(0x1d3)](){return _0x2e7991;}get[_0x4be2ba(0x262)](){return _0x1cc6c3;}get[_0x4be2ba(0x203)](){return _0x5d1b09;}get[_0x4be2ba(0x1e6)](){return _0x586c50;}get['DocsTableSortDirection'](){return _0x3df64f;}get['DashStyleType'](){return _0x3638cc;}};function _0x45d7(_0x3488a0,_0x430beb){_0x3488a0=_0x3488a0-0x1c5;const _0xed0b95=_0xed0b();let _0x45d731=_0xed0b95[_0x3488a0];return _0x45d731;}_0x39707c['extend'](G);function _0xed0b(){const _0x14b3b6=['body','headerRowCount','_getTableDocumentData','_tableContainsText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Below','mergeCells','_createFDocumentTable','string','_getDocumentData','type','defineProperty','DocsTableSelectionKind','22920336RvnBQe','hasTitleRow','mergeTo','getCellInsertOffset','selectRow','getCell','SOLID','toPrimitive','setStructuralSelection','setBorder','documentStyle','tableId','titleText','preset','slice','actions','selectColumns','getSource','DocsTableBorderPreset','Cell','syncExecuteCommand','clearMarginOverride','_document','getMargin','filter','getHeaderRowCount','distributeColumns','5918466rkZUBX','insertRowsAfter','includes','segmentId','deleteRows','990442YTgLWO','tableCells','setTableBorder','_tableId','DocsTableInsertTablePosition','getTable','getTableRange','length','cells','912471LHONFx','map','from','getDefaultCellMarginOverride','getBody','insertTableFromData','DocsTableColumnInsertPosition','getDocumentDataModel','backgroundColor','setTableBackground','getInfo','_getBodyPath','getCellContentRange','get','border','dataStream','setCellMargin','selectRows','unmerge','deleteTable','deleteRow','getDefaultCellMargin','pinHeaderRows','width','function','_getTables','getTables','setRowHeight','createInstance','endOffset','_unitId','rows','call','getCellRange','getInsertOffset','getRowsRange','insertColumnsAfter','insertColumnBefore','getCellMarginOverride','insertColumnAfter','getId','_column','10966543GROaWz','getCellText','_table','appendColumn','selectColumn','findTables','columnTypes','getColumnsRange','tableRows','setCellText','_serializeModel','cellMargin','selectTable','findTableByText','color','some','_row','titleRow','Left','insertTitleRow','text','_injector','Table','setBackgroundColor','setColumnType','_mutateActions','_rowContainsText','setText','getRowIndex','setDefaultCellMargin','DocsTableColumnType','Above','tableColumns','insertTable','6PrVgRX','getRowRange','headerText','getContentRange','5BwkxWX','insertRowAfter','deepClone','AT_LEAST','moveColumns','getSnapshot','symbol','setTableStyle','getRowHeight','3573612EVhsST','tableSource','setColumnWidth','moveRows','getColumnIndex','getRowCount','object','getColumnCount','#1f1f1f','constructor','insertRowsBefore','margin','DocsTableRowInsertPosition','setHeaderRowCount','setCellBackground','unmergeCells','_segmentId','moveRow','selectRange','getCellMargin','getText','13444672yOvjDV','default','getTableMetadata','getMetadata','getColumnRange','insertRowBefore','getTableAtSelection','max','All','deleteColumns','insertColumnsBefore','size','startOffset'];_0xed0b=function(){return _0x14b3b6;};return _0xed0b();}var K=class{constructor(_0x3525f1,_0xae4afe,_0x56386e){const _0x1fcf0d=_0x4be2ba;this[_0x1fcf0d(0x229)]=_0x3525f1,this['_row']=_0xae4afe,this['_column']=_0x56386e;}['getTable'](){const _0x49563c=_0x4be2ba;return this[_0x49563c(0x229)];}[_0x4be2ba(0x243)](){const _0x281fc1=_0x4be2ba;return this[_0x281fc1(0x237)];}[_0x4be2ba(0x25a)](){const _0x3cdd34=_0x4be2ba;return this[_0x3cdd34(0x226)];}[_0x4be2ba(0x26a)](){const _0x353fe0=_0x4be2ba;return this[_0x353fe0(0x229)][_0x353fe0(0x228)](this[_0x353fe0(0x237)],this[_0x353fe0(0x226)]);}[_0x4be2ba(0x24c)](){const _0x51f00a=_0x4be2ba;return this[_0x51f00a(0x229)]['getCellContentRange'](this[_0x51f00a(0x237)],this['_column']);}[_0x4be2ba(0x21f)](){const _0x231740=_0x4be2ba;return this[_0x231740(0x229)][_0x231740(0x1d7)](this[_0x231740(0x237)],this['_column']);}[_0x4be2ba(0x1eb)](){const _0x30948f=_0x4be2ba;return this[_0x30948f(0x229)][_0x30948f(0x269)](this[_0x30948f(0x237)],this['_column']);}['getMarginOverride'](){const _0x167c63=_0x4be2ba;return this[_0x167c63(0x229)][_0x167c63(0x223)](this[_0x167c63(0x237)],this[_0x167c63(0x226)]);}['setMargin'](_0x260bc9){const _0x595085=_0x4be2ba;return this[_0x595085(0x229)][_0x595085(0x20d)](this['_table'][_0x595085(0x21e)](this['_row'],this[_0x595085(0x226)]),_0x260bc9);}[_0x4be2ba(0x1e9)](){const _0x43e370=_0x4be2ba;return this[_0x43e370(0x229)][_0x43e370(0x20d)](this[_0x43e370(0x229)]['getCellRange'](this['_row'],this['_column']),null);}[_0x4be2ba(0x242)](_0x278d6a){const _0x3c5028=_0x4be2ba;return this[_0x3c5028(0x229)][_0x3c5028(0x230)](this['_row'],this['_column'],_0x278d6a);}[_0x4be2ba(0x23e)](_0x28afc8){const _0x210d94=_0x4be2ba;return this[_0x210d94(0x229)][_0x210d94(0x264)](this[_0x210d94(0x229)][_0x210d94(0x21e)](this[_0x210d94(0x237)],this[_0x210d94(0x226)]),_0x28afc8);}['setBorder'](_0x2dd97a){const _0x918acc=_0x4be2ba;return this[_0x918acc(0x229)]['setBorder'](this[_0x918acc(0x229)][_0x918acc(0x21e)](this[_0x918acc(0x237)],this[_0x918acc(0x226)]),_0x2dd97a);}[_0x4be2ba(0x1d6)](_0x54ead7,_0x41f998){const _0xcb2f88=_0x4be2ba;return this[_0xcb2f88(0x229)][_0xcb2f88(0x1cd)]({'startRow':this[_0xcb2f88(0x237)],'startColumn':this[_0xcb2f88(0x226)],'endRow':this[_0xcb2f88(0x237)]+_0x54ead7-0x1,'endColumn':this['_column']+_0x41f998-0x1});}[_0x4be2ba(0x20f)](){const _0x35a078=_0x4be2ba;return this['_table'][_0x35a078(0x265)](this['_table'][_0x35a078(0x21e)](this['_row'],this[_0x35a078(0x226)]));}};function q(_0xfab2e9){'@babel/helpers - typeof';const _0x484b21=_0x4be2ba;return q=typeof Symbol==_0x484b21(0x215)&&typeof Symbol['iterator']==_0x484b21(0x253)?function(_0x433cf0){return typeof _0x433cf0;}:function(_0x422614){const _0x2f7daa=_0x484b21;return _0x422614&&typeof Symbol=='function'&&_0x422614[_0x2f7daa(0x25f)]===Symbol&&_0x422614!==Symbol['prototype']?_0x2f7daa(0x253):typeof _0x422614;},q(_0xfab2e9);}function J(_0x15f115,_0x122734){const _0x4589d4=_0x4be2ba;if(q(_0x15f115)!=_0x4589d4(0x25c)||!_0x15f115)return _0x15f115;var _0x27c58b=_0x15f115[Symbol[_0x4589d4(0x1db)]];if(_0x27c58b!==void 0x0){var _0x246b20=_0x27c58b[_0x4589d4(0x21d)](_0x15f115,_0x122734||_0x4589d4(0x26c));if(q(_0x246b20)!=_0x4589d4(0x25c))return _0x246b20;throw TypeError(_0x4589d4(0x1cb));}return(_0x122734===_0x4589d4(0x1cf)?String:Number)(_0x15f115);}function Y(_0x3797fe){const _0x2dbeac=_0x4be2ba;var _0x5de97e=J(_0x3797fe,_0x2dbeac(0x1cf));return q(_0x5de97e)==_0x2dbeac(0x253)?_0x5de97e:_0x5de97e+'';}function X(_0x1ae4f1,_0x5e9260,_0x506a12){const _0x325aa5=_0x4be2ba;return(_0x5e9260=Y(_0x5e9260))in _0x1ae4f1?Object[_0x325aa5(0x1d2)](_0x1ae4f1,_0x5e9260,{'value':_0x506a12,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ae4f1[_0x5e9260]=_0x506a12,_0x1ae4f1;}var Z=class{constructor(_0x281f04,_0x3b8d45,_0x306805='',_0x18bb95){const _0x19bf4a=_0x4be2ba;this[_0x19bf4a(0x1ea)]=_0x281f04,this[_0x19bf4a(0x1f7)]=_0x3b8d45,this[_0x19bf4a(0x266)]=_0x306805,this[_0x19bf4a(0x23c)]=_0x18bb95,X(this,_0x19bf4a(0x21b),void 0x0),this[_0x19bf4a(0x21b)]=this['_document'][_0x19bf4a(0x225)]();}[_0x4be2ba(0x225)](){const _0x2d4e73=_0x4be2ba;return this[_0x2d4e73(0x1f7)];}['getSegmentId'](){const _0x4b0a1d=_0x4be2ba;return this[_0x4b0a1d(0x266)];}[_0x4be2ba(0x207)](){const _0x42705e=_0x4be2ba;return{'id':this[_0x42705e(0x1f7)],'rowCount':this[_0x42705e(0x25b)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x42705e(0x26e)](),'source':this[_0x42705e(0x1e5)]()};}['describe'](){const _0x243f79=_0x4be2ba;let _0x32dc32=this['getMetadata'](),_0x5936d3=this[_0x243f79(0x1e5)](),_0x2833d9=this[_0x243f79(0x25d)]();return{'id':this[_0x243f79(0x1f7)],'rowCount':this['getRowCount'](),'columnCount':_0x2833d9,'headerRowCount':(_0x32dc32==null?void 0x0:_0x32dc32['headerRowCount'])??0x0,'titleRow':(_0x32dc32==null?void 0x0:_0x32dc32['titleRow'])??!0x1,'columns':Array[_0x243f79(0x1ff)]({'length':_0x2833d9},(_0x4cbdef,_0x201264)=>{const _0x436173=_0x243f79;var _0xf9c36d,_0x3a55b3;return{'index':_0x201264,'type':_0x32dc32==null||(_0xf9c36d=_0x32dc32[_0x436173(0x22d)])==null||(_0xf9c36d=_0xf9c36d[_0x201264])==null?void 0x0:_0xf9c36d[_0x436173(0x1d1)],'width':_0x5936d3==null||(_0x3a55b3=_0x5936d3[_0x436173(0x247)][_0x201264])==null?void 0x0:_0x3a55b3[_0x436173(0x1c5)][_0x436173(0x214)]['v']};}),'sampleRows':Array[_0x243f79(0x1ff)]({'length':this[_0x243f79(0x25b)]()},(_0x1f8d32,_0x53e0f4)=>Array[_0x243f79(0x1ff)]({'length':_0x2833d9},(_0x4790f2,_0x488122)=>this[_0x243f79(0x228)](_0x53e0f4,_0x488122)))[_0x243f79(0x1ec)](_0x1e4091=>_0x1e4091[_0x243f79(0x236)](_0x2c30c3=>_0x2c30c3[_0x243f79(0x1fb)]>0x0))[_0x243f79(0x1e2)](0x0,0x5)};}[_0x4be2ba(0x25b)](){const _0x4b2ea7=_0x4be2ba;var _0x5c1e4c;return((_0x5c1e4c=this[_0x4b2ea7(0x1e5)]())==null?void 0x0:_0x5c1e4c[_0x4b2ea7(0x22f)][_0x4b2ea7(0x1fb)])??0x0;}['getColumnCount'](){const _0x180f04=_0x4be2ba;var _0x59aa98;return((_0x59aa98=this[_0x180f04(0x1e5)]())==null?void 0x0:_0x59aa98[_0x180f04(0x247)][_0x180f04(0x1fb)])??0x0;}[_0x4be2ba(0x1d9)](_0x547449,_0x252eb1){const _0x26501b=_0x4be2ba;var _0x31a726;return(_0x31a726=this[_0x26501b(0x1e5)]())!=null&&(_0x31a726=_0x31a726['tableRows'][_0x547449])!=null&&_0x31a726[_0x26501b(0x1f5)][_0x252eb1]?this[_0x26501b(0x23c)]['createInstance'](K,this,_0x547449,_0x252eb1):null;}[_0x4be2ba(0x228)](_0x1955ea,_0x59e7ed){const _0x2b1247=_0x4be2ba;var _0x18a792,_0x182b74;let _0x18895c=(_0x18a792=_0xfdef28(this[_0x2b1247(0x1d0)](),this[_0x2b1247(0x1f7)]))==null||(_0x18a792=_0x18a792[_0x2b1247(0x21c)][_0x1955ea])==null?void 0x0:_0x18a792[_0x2b1247(0x1fc)][_0x59e7ed];return _0x18895c?((_0x182b74=this['_getDocumentData']()[_0x2b1247(0x1c7)])==null?void 0x0:_0x182b74[_0x2b1247(0x20c)]['slice'](_0x18895c[_0x2b1247(0x1c6)]+0x1,_0x18895c[_0x2b1247(0x21a)])['replace'](/\r\n$/,''))??'':'';}[_0x4be2ba(0x269)](_0x4bf593,_0x4bb085){const _0x1fd848=_0x4be2ba;var _0x3ba71f;let _0xc8a49a=this[_0x1fd848(0x1e5)](),_0x39671a=_0xc8a49a==null||(_0x3ba71f=_0xc8a49a[_0x1fd848(0x22f)][_0x4bf593])==null?void 0x0:_0x3ba71f['tableCells'][_0x4bb085];return _0x39671a?_0x17fac4[_0x1fd848(0x24f)](_0x39671a[_0x1fd848(0x261)]??_0xc8a49a[_0x1fd848(0x232)]??_0x128c72):null;}['getCellMarginOverride'](_0x1acdec,_0x5a7606){const _0x5cf9ea=_0x4be2ba;var _0x30d1ae;let _0x14f6f8=(_0x30d1ae=this['getSource']())==null||(_0x30d1ae=_0x30d1ae['tableRows'][_0x1acdec])==null?void 0x0:_0x30d1ae['tableCells'][_0x5a7606];return _0x14f6f8!=null&&_0x14f6f8['margin']?_0x17fac4[_0x5cf9ea(0x24f)](_0x14f6f8[_0x5cf9ea(0x261)]):null;}[_0x4be2ba(0x212)](){const _0x17a756=_0x4be2ba;var _0x1ddf15;return _0x17fac4[_0x17a756(0x24f)](((_0x1ddf15=this[_0x17a756(0x1e5)]())==null?void 0x0:_0x1ddf15[_0x17a756(0x232)])??_0x128c72);}[_0x4be2ba(0x200)](){const _0x486517=_0x4be2ba;var _0x40c56e;let _0xc5ad0=(_0x40c56e=this['getSource']())==null?void 0x0:_0x40c56e[_0x486517(0x232)];return _0xc5ad0?_0x17fac4[_0x486517(0x24f)](_0xc5ad0):null;}[_0x4be2ba(0x26e)](){const _0x5e08a3=_0x4be2ba;return this[_0x5e08a3(0x23c)][_0x5e08a3(0x20a)](_0x327ad5)[_0x5e08a3(0x26d)](this['_unitId'],this[_0x5e08a3(0x1f7)]);}[_0x4be2ba(0x1e5)](){const _0x2372af=_0x4be2ba;var _0x1e8d45;return(_0x1e8d45=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0x1e8d45[this[_0x2372af(0x1f7)]];}['getRange'](){const _0xb49b64=_0x4be2ba;return _0xfdef28(this['_getDocumentData'](),this[_0xb49b64(0x1f7)]);}[_0x4be2ba(0x1fa)](){const _0x383345=_0x4be2ba;return{'startRow':0x0,'endRow':Math[_0x383345(0x272)](0x0,this[_0x383345(0x25b)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x383345(0x272)](0x0,this['getColumnCount']()-0x1)};}[_0x4be2ba(0x21e)](_0xc3a080,_0x5594d8){return{'startRow':_0xc3a080,'endRow':_0xc3a080,'startColumn':_0x5594d8,'endColumn':_0x5594d8};}[_0x4be2ba(0x209)](_0x122edd,_0x7467cb){const _0x31a18a=_0x4be2ba;var _0x2c42a4;let _0x2e0dbd=(_0x2c42a4=_0xfdef28(this[_0x31a18a(0x1d0)](),this[_0x31a18a(0x1f7)]))==null||(_0x2c42a4=_0x2c42a4['rows'][_0x122edd])==null?void 0x0:_0x2c42a4[_0x31a18a(0x1fc)][_0x7467cb];if(!_0x2e0dbd)return null;let _0x23fc13=_0x2e0dbd['startOffset']+0x1;return{'startOffset':_0x23fc13,'endOffset':Math[_0x31a18a(0x272)](_0x23fc13,_0x2e0dbd['endOffset']-0x1),'segmentId':this[_0x31a18a(0x266)]};}[_0x4be2ba(0x1d7)](_0x4447d9,_0x55234a){const _0x51ea74=_0x4be2ba;let _0x1776ca=this[_0x51ea74(0x209)](_0x4447d9,_0x55234a);return _0x1776ca?Math[_0x51ea74(0x272)](_0x1776ca[_0x51ea74(0x1c6)],_0x1776ca['endOffset']-0x1):null;}[_0x4be2ba(0x24a)](_0x280b68){const _0x456e16=_0x4be2ba;return this[_0x456e16(0x220)](_0x280b68,0x1);}[_0x4be2ba(0x220)](_0x2b4e0a,_0x3d7da5=0x1){const _0x1d9cc5=_0x4be2ba;return{'startRow':_0x2b4e0a,'endRow':_0x2b4e0a+_0x3d7da5-0x1,'startColumn':0x0,'endColumn':Math[_0x1d9cc5(0x272)](0x0,this[_0x1d9cc5(0x25d)]()-0x1)};}[_0x4be2ba(0x26f)](_0xcaa0ba){return this['getColumnsRange'](_0xcaa0ba,0x1);}[_0x4be2ba(0x22e)](_0x408f32,_0x5054f8=0x1){const _0x48e0d9=_0x4be2ba;return{'startRow':0x0,'endRow':Math[_0x48e0d9(0x272)](0x0,this['getRowCount']()-0x1),'startColumn':_0x408f32,'endColumn':_0x408f32+_0x5054f8-0x1};}[_0x4be2ba(0x233)](){const _0x3dbbd5=_0x4be2ba;return this[_0x3dbbd5(0x268)](this[_0x3dbbd5(0x1fa)](),_0x2e7991[_0x3dbbd5(0x23d)]);}[_0x4be2ba(0x1d8)](_0xa7f1a5){const _0x4073de=_0x4be2ba;return this[_0x4073de(0x20e)](_0xa7f1a5,0x1);}[_0x4be2ba(0x20e)](_0x3177c7,_0x492323=0x1){const _0x35d2ab=_0x4be2ba;return this[_0x35d2ab(0x268)](this[_0x35d2ab(0x220)](_0x3177c7,_0x492323),_0x2e7991['Row']);}[_0x4be2ba(0x22b)](_0x171ac2){const _0x198cc0=_0x4be2ba;return this[_0x198cc0(0x1e4)](_0x171ac2,0x1);}[_0x4be2ba(0x1e4)](_0x104190,_0x567558=0x1){const _0xf3c674=_0x4be2ba;return this[_0xf3c674(0x268)](this[_0xf3c674(0x22e)](_0x104190,_0x567558),_0x2e7991['Column']);}['selectCell'](_0x2880ca,_0x4ed289){const _0x48e7d8=_0x4be2ba;return this[_0x48e7d8(0x268)](this[_0x48e7d8(0x21e)](_0x2880ca,_0x4ed289),_0x2e7991[_0x48e7d8(0x1e7)]);}['selectRange'](_0x4f5956,_0x40e494=_0x2e7991['Range']){const _0x599f92=_0x4be2ba;return this[_0x599f92(0x23c)][_0x599f92(0x20a)](_0x4faa51)[_0x599f92(0x1dc)]({..._0x4f5956,'kind':_0x40e494,'segmentId':this[_0x599f92(0x266)],'tableId':this['_tableId']}),!0x0;}[_0x4be2ba(0x270)](_0x3d681c){const _0xa65c74=_0x4be2ba;return this[_0xa65c74(0x260)](_0x3d681c,0x1);}[_0x4be2ba(0x24e)](_0x5d6879){const _0x5bc146=_0x4be2ba;return this[_0x5bc146(0x1f0)](_0x5d6879,0x1);}[_0x4be2ba(0x260)](_0x52330f,_0x3d987f){const _0xe0b7c=_0x4be2ba;let _0x195c23=this[_0xe0b7c(0x1d0)](),_0xac8142=_0x5a0282(_0x195c23,this[_0xe0b7c(0x1f7)],_0x52330f,_0x3d987f,_0x1a77ca['Above'],this[_0xe0b7c(0x208)]());return _0xac8142?this[_0xe0b7c(0x240)](_0x195c23,_0xac8142[_0xe0b7c(0x1e3)]):!0x1;}[_0x4be2ba(0x1f0)](_0xa9830,_0x368592){const _0x4c1f8b=_0x4be2ba;let _0x3dda0a=this[_0x4c1f8b(0x1d0)](),_0x20a5e1=_0x5a0282(_0x3dda0a,this['_tableId'],_0xa9830,_0x368592,_0x1a77ca[_0x4c1f8b(0x1cc)],this[_0x4c1f8b(0x208)]());return _0x20a5e1?this[_0x4c1f8b(0x240)](_0x3dda0a,_0x20a5e1['actions']):!0x1;}['appendRow'](){const _0x544e45=_0x4be2ba;return this[_0x544e45(0x1f0)](Math[_0x544e45(0x272)](0x0,this['getRowCount']()-0x1),0x1);}[_0x4be2ba(0x222)](_0x3033dc){const _0xba873f=_0x4be2ba;return this[_0xba873f(0x275)](_0x3033dc,0x1);}[_0x4be2ba(0x224)](_0x53793d){return this['insertColumnsAfter'](_0x53793d,0x1);}[_0x4be2ba(0x275)](_0x5b09a2,_0x318f65){const _0x3c317a=_0x4be2ba;let _0x42945e=this[_0x3c317a(0x1d0)](),_0x38a658=_0x28c1c8(_0x42945e,this[_0x3c317a(0x1f7)],_0x5b09a2,_0x318f65,_0x1a77ca[_0x3c317a(0x239)],{'bodyPath':this[_0x3c317a(0x208)]()});return _0x38a658?this[_0x3c317a(0x240)](_0x42945e,_0x38a658[_0x3c317a(0x1e3)]):!0x1;}[_0x4be2ba(0x221)](_0x27b5bd,_0x254a0a){const _0x3b91be=_0x4be2ba;let _0x4914f9=this[_0x3b91be(0x1d0)](),_0x5164cc=_0x28c1c8(_0x4914f9,this['_tableId'],_0x27b5bd,_0x254a0a,_0x1a77ca['Right'],{'bodyPath':this[_0x3b91be(0x208)]()});return _0x5164cc?this[_0x3b91be(0x240)](_0x4914f9,_0x5164cc[_0x3b91be(0x1e3)]):!0x1;}[_0x4be2ba(0x22a)](){const _0x316598=_0x4be2ba;return this[_0x316598(0x221)](Math[_0x316598(0x272)](0x0,this[_0x316598(0x25d)]()-0x1),0x1);}[_0x4be2ba(0x211)](_0x14cc6d){const _0x1e6b0b=_0x4be2ba;return this[_0x1e6b0b(0x1f3)](_0x14cc6d,0x1);}[_0x4be2ba(0x1f3)](_0x530ab9,_0x41f0d0=0x1){const _0x1280f8=_0x4be2ba;let _0x3b6a1f=this['_getDocumentData'](),_0x172a61=_0x24d29a(_0x3b6a1f,this[_0x1280f8(0x1f7)],_0x530ab9,_0x530ab9+_0x41f0d0-0x1,this[_0x1280f8(0x208)]());return _0x172a61?this[_0x1280f8(0x240)](_0x3b6a1f,_0x172a61['actions']):!0x1;}['deleteColumn'](_0x13770a){const _0x2dbe9a=_0x4be2ba;return this[_0x2dbe9a(0x274)](_0x13770a,0x1);}[_0x4be2ba(0x274)](_0x4ca8ab,_0x99d850=0x1){const _0x44b84a=_0x4be2ba;let _0x2cd1df=this[_0x44b84a(0x1d0)](),_0x26d240=_0x18e7bc(_0x2cd1df,this[_0x44b84a(0x1f7)],_0x4ca8ab,_0x4ca8ab+_0x99d850-0x1,this[_0x44b84a(0x208)]());return _0x26d240?this[_0x44b84a(0x240)](_0x2cd1df,_0x26d240[_0x44b84a(0x1e3)]):!0x1;}[_0x4be2ba(0x210)](){const _0xa10612=_0x4be2ba;let _0x2a5ca1=this[_0xa10612(0x1d0)](),_0x1b0860=_0x58547b(_0x2a5ca1,this[_0xa10612(0x1f7)],this[_0xa10612(0x208)]());return _0x1b0860?this[_0xa10612(0x240)](_0x2a5ca1,_0x1b0860[_0xa10612(0x1e3)]):!0x1;}['moveTableBy'](_0x3bff1f,_0x4f13f9){const _0x4468e1=_0x4be2ba;let _0x1a6a9c=this[_0x4468e1(0x1d0)]();return this[_0x4468e1(0x240)](_0x1a6a9c,_0x1cff2d(_0x1a6a9c,this[_0x4468e1(0x1f7)],_0x3bff1f,_0x4f13f9));}['moveTableToOffset'](_0x24bd98){const _0x5541ee=_0x4be2ba;let _0x68fe9e=this['_getDocumentData']();return this[_0x5541ee(0x240)](_0x68fe9e,_0x34e03c(_0x68fe9e,this[_0x5541ee(0x1f7)],_0x24bd98,this[_0x5541ee(0x208)]()));}[_0x4be2ba(0x267)](_0x5a1ac3,_0x508409,_0xc80aa0=_0x1a77ca[_0x4be2ba(0x246)]){const _0x206c9c=_0x4be2ba;return this[_0x206c9c(0x259)](_0x5a1ac3,0x1,_0x508409,_0xc80aa0);}['moveRows'](_0x4df97e,_0x1a5efa,_0x36f915,_0x8ccdac=_0x1a77ca[_0x4be2ba(0x246)]){const _0x8e386e=_0x4be2ba;let _0x438cc3=this[_0x8e386e(0x1d0)](),_0x2814f5=_0x21e560(_0x438cc3,this[_0x8e386e(0x1f7)],_0x4df97e,_0x36f915,_0x1a5efa,_0x8ccdac,this[_0x8e386e(0x208)]());return _0x2814f5?this['_mutateActions'](_0x438cc3,_0x2814f5[_0x8e386e(0x1e3)]):!0x1;}['moveColumn'](_0x43c602,_0x2efe08,_0x1e00be=_0x1a77ca[_0x4be2ba(0x239)]){const _0xe9a85d=_0x4be2ba;return this[_0xe9a85d(0x251)](_0x43c602,0x1,_0x2efe08,_0x1e00be);}[_0x4be2ba(0x251)](_0x22497c,_0x2551a9,_0x1bfc2b,_0x2de792=_0x1a77ca[_0x4be2ba(0x239)]){const _0x42ee20=_0x4be2ba;let _0x487f53=this['_getDocumentData'](),_0x27847=_0x4934cb(_0x487f53,this[_0x42ee20(0x1f7)],_0x22497c,_0x1bfc2b,_0x2551a9,_0x2de792,this[_0x42ee20(0x208)]());return _0x27847?this[_0x42ee20(0x240)](_0x487f53,_0x27847[_0x42ee20(0x1e3)]):!0x1;}[_0x4be2ba(0x1cd)](_0x2e4f4e){const _0x56e4f7=_0x4be2ba;try{let _0x19bdff=this['_getDocumentData'](),_0x145945=_0x38ecaf({'documentData':_0x19bdff,'tableId':this[_0x56e4f7(0x1f7)],..._0x2e4f4e});return _0x145945?this['_mutateActions'](_0x19bdff,_0x145945[_0x56e4f7(0x1e3)],_0x2e4f4e):!0x1;}catch{return!0x1;}}[_0x4be2ba(0x265)](_0x29b2fe){const _0x453549=_0x4be2ba;try{let _0x479622=this[_0x453549(0x1d0)](),_0x4e67d6=_0x240436({'documentData':_0x479622,'tableId':this[_0x453549(0x1f7)],..._0x29b2fe});return _0x4e67d6?this[_0x453549(0x240)](_0x479622,_0x4e67d6['actions'],_0x29b2fe):!0x1;}catch{return!0x1;}}['setCellText'](_0xc5baf8,_0x399985,_0x43c52e){const _0x4b0f68=_0x4be2ba;let _0x509c7f=this[_0x4b0f68(0x1d0)](),_0x3fc7a5=_0x39cf3e(this[_0x4b0f68(0x1ea)]['getDocumentDataModel']()[_0x4b0f68(0x252)](),this[_0x4b0f68(0x266)]);return this[_0x4b0f68(0x240)](_0x509c7f,_0x11bcea({'documentData':_0x509c7f,'tableId':this[_0x4b0f68(0x1f7)],'row':_0xc5baf8,'column':_0x399985,'text':_0x43c52e},_0x3fc7a5),this[_0x4b0f68(0x21e)](_0xc5baf8,_0x399985));}[_0x4be2ba(0x264)](_0x3c5e85,_0x558d7f){const _0x2775a9=_0x4be2ba;let _0x5aa9c6=this[_0x2775a9(0x1d0)]();return this[_0x2775a9(0x240)](_0x5aa9c6,_0x4d126b(_0x5aa9c6,{'tableId':this['_tableId'],..._0x3c5e85,'value':_0x558d7f}),_0x3c5e85);}[_0x4be2ba(0x20d)](_0x17b407,_0xd2400c){const _0x45d0a4=_0x4be2ba;let _0x2ed539=this[_0x45d0a4(0x1d0)]();return this[_0x45d0a4(0x240)](_0x2ed539,_0x4a5ca6({'documentData':_0x2ed539,'tableId':this[_0x45d0a4(0x1f7)],..._0x17b407,'margin':_0xd2400c}),_0x17b407);}[_0x4be2ba(0x244)](_0x531d11){const _0x5787cb=_0x4be2ba;let _0x341907=this['_getDocumentData']();return this[_0x5787cb(0x240)](_0x341907,_0x571f78(_0x341907,this['_tableId'],_0x531d11));}['setBorder'](_0x51b5d9,_0x276a4b){const _0xefdd88=_0x4be2ba;let _0x4a3c47=this[_0xefdd88(0x1d0)]();return this[_0xefdd88(0x240)](_0x4a3c47,_0x5ee826({'documentData':_0x4a3c47,'tableId':this[_0xefdd88(0x1f7)],..._0x51b5d9,'preset':_0x276a4b[_0xefdd88(0x1e1)]??_0x586c50[_0xefdd88(0x273)],'border':_0x276a4b[_0xefdd88(0x20b)]??{'color':{'rgb':_0x276a4b[_0xefdd88(0x235)]??_0xefdd88(0x25e)},'width':{'v':_0x276a4b[_0xefdd88(0x214)]??0x1},'dashStyle':_0x3638cc[_0xefdd88(0x1da)]}}),_0x51b5d9);}[_0x4be2ba(0x206)](_0x4aeb7e){const _0x335c7e=_0x4be2ba;return this[_0x335c7e(0x264)](this[_0x335c7e(0x1fa)](),_0x4aeb7e);}[_0x4be2ba(0x1f6)](_0xb35630){const _0x529377=_0x4be2ba;return this[_0x529377(0x1dd)](this[_0x529377(0x1fa)](),_0xb35630);}[_0x4be2ba(0x254)](_0x138639){const _0x3373e4=_0x4be2ba;let _0x24f449=!_0x138639[_0x3373e4(0x205)]||this[_0x3373e4(0x206)](_0x138639[_0x3373e4(0x205)]),_0x318f3f=!_0x138639[_0x3373e4(0x20b)]||this['setTableBorder'](_0x138639[_0x3373e4(0x20b)]);return _0x24f449&&_0x318f3f;}[_0x4be2ba(0x218)](_0x534670,_0x2fd4bf,_0x4cfd43=_0x4c55db[_0x4be2ba(0x250)]){const _0x235ae7=_0x4be2ba;var _0x45e2f7;let _0x3c0a49=this[_0x235ae7(0x1d0)]();return(_0x45e2f7=_0x3c0a49['tableSource'])!=null&&(_0x45e2f7=_0x45e2f7[this[_0x235ae7(0x1f7)]])!=null&&_0x45e2f7['tableRows'][_0x534670]?this['_mutateActions'](_0x3c0a49,_0x256a53(_0x3c0a49,this[_0x235ae7(0x1f7)],_0x534670,_0x2fd4bf,_0x4cfd43)):!0x1;}[_0x4be2ba(0x255)](_0x464c8e){const _0x2e32d0=_0x4be2ba;var _0x197ef9;let _0x4f1af=(_0x197ef9=this[_0x2e32d0(0x1e5)]())==null||(_0x197ef9=_0x197ef9[_0x2e32d0(0x22f)][_0x464c8e])==null?void 0x0:_0x197ef9['trHeight'];return _0x4f1af?_0x17fac4[_0x2e32d0(0x24f)](_0x4f1af):null;}[_0x4be2ba(0x258)](_0x28f7ff,_0xf40b17){const _0x382107=_0x4be2ba;var _0x2f936a;let _0x22cf89=this[_0x382107(0x1d0)]();return(_0x2f936a=_0x22cf89[_0x382107(0x257)])!=null&&(_0x2f936a=_0x2f936a[this['_tableId']])!=null&&_0x2f936a[_0x382107(0x247)][_0x28f7ff]?this[_0x382107(0x240)](_0x22cf89,_0x483a45(_0x22cf89,this[_0x382107(0x1f7)],_0x28f7ff,_0xf40b17)):!0x1;}['distributeRows'](_0x473e49=0x0,_0x30e7d0=this[_0x4be2ba(0x25b)]()){const _0x26119f=_0x4be2ba;let _0xde63d4=this[_0x26119f(0x1d0)]();return this[_0x26119f(0x240)](_0xde63d4,_0x2ec348(_0xde63d4,this[_0x26119f(0x1f7)],_0x473e49,_0x473e49+_0x30e7d0-0x1));}[_0x4be2ba(0x1ee)](_0x57b020=0x0,_0x5870af=this['getColumnCount']()){const _0x7923ac=_0x4be2ba;let _0x290c42=this[_0x7923ac(0x1d0)]();return this[_0x7923ac(0x240)](_0x290c42,_0x8489c6(_0x290c42,this[_0x7923ac(0x1f7)],_0x57b020,_0x57b020+_0x5870af-0x1));}[_0x4be2ba(0x1ed)](){const _0x1713c7=_0x4be2ba;var _0x22150e;return((_0x22150e=this[_0x1713c7(0x26e)]())==null?void 0x0:_0x22150e['headerRowCount'])??0x0;}[_0x4be2ba(0x263)](_0x25503a){const _0x5d1cfa=_0x4be2ba;let _0x2d4d30=this[_0x5d1cfa(0x23c)][_0x5d1cfa(0x20a)](_0x327ad5),_0x1e108c=this[_0x5d1cfa(0x1d0)](),_0x5c7009=_0x3e5107(_0x1e108c,this[_0x5d1cfa(0x1f7)],_0x25503a);if(!_0x5c7009)return!0x1;let _0x43fd8b=this['_mutateActions'](_0x1e108c,_0x5c7009['actions']);return _0x43fd8b&&_0x2d4d30['setHeaderRowCount'](this['_unitId'],this[_0x5d1cfa(0x1f7)],_0x5c7009[_0x5d1cfa(0x1c8)]),_0x43fd8b;}[_0x4be2ba(0x213)](_0x34f1f0){const _0x239bef=_0x4be2ba;return this[_0x239bef(0x263)](_0x34f1f0);}[_0x4be2ba(0x1d5)](){const _0x358d45=_0x4be2ba;var _0x3abcb8;return((_0x3abcb8=this[_0x358d45(0x26e)]())==null?void 0x0:_0x3abcb8[_0x358d45(0x238)])??!0x1;}[_0x4be2ba(0x23a)](){const _0x4bb36a=_0x4be2ba;let _0x584d7d=this[_0x4bb36a(0x23c)][_0x4bb36a(0x20a)](_0x327ad5),_0x4f1993=this['_getDocumentData'](),_0x218b0a=_0x10e7d2(_0x4f1993,this['_tableId'],this[_0x4bb36a(0x208)]());if(!_0x218b0a)return!0x1;let _0x5a6ef9=this[_0x4bb36a(0x240)](_0x4f1993,_0x218b0a[_0x4bb36a(0x1e3)]);return _0x5a6ef9&&_0x584d7d['setTitleRow'](this[_0x4bb36a(0x21b)],this[_0x4bb36a(0x1f7)],!0x0),_0x5a6ef9;}[_0x4be2ba(0x23f)](_0x522f11,_0x299875){const _0x54dd1d=_0x4be2ba;return this[_0x54dd1d(0x23c)][_0x54dd1d(0x20a)](_0x327ad5)[_0x54dd1d(0x23f)](this[_0x54dd1d(0x21b)],this[_0x54dd1d(0x1f7)],_0x522f11,_0x299875),!0x0;}['sortByColumn'](_0x63f4f,_0x3922f2){const _0x386ad7=_0x4be2ba;let _0x306593=this[_0x386ad7(0x1d0)]();return this[_0x386ad7(0x240)](_0x306593,_0x545c73(_0x306593,this[_0x386ad7(0x231)](),this[_0x386ad7(0x1f7)],_0x63f4f,_0x3922f2,this[_0x386ad7(0x208)]()));}[_0x4be2ba(0x1d0)](){const _0x5a2e2b=_0x4be2ba;let _0x478f17=this[_0x5a2e2b(0x1ea)][_0x5a2e2b(0x204)]()['getSnapshot']();return this[_0x5a2e2b(0x266)]?{...this['_document'][_0x5a2e2b(0x204)](this[_0x5a2e2b(0x266)])[_0x5a2e2b(0x252)](),'documentStyle':_0x478f17[_0x5a2e2b(0x1de)],'tableSource':_0x478f17['tableSource']}:_0x478f17;}[_0x4be2ba(0x231)](){const _0x2cbbce=_0x4be2ba;return this[_0x2cbbce(0x23c)]['get'](_0x327ad5)['serialize'](this[_0x2cbbce(0x21b)]);}['_getBodyPath'](){const _0x1e39a4=_0x4be2ba;return _0x39cf3e(this[_0x1e39a4(0x1ea)][_0x1e39a4(0x204)]()[_0x1e39a4(0x252)](),this[_0x1e39a4(0x266)]);}['_mutateActions'](_0x597def,_0x19aec2,_0x2c0438){const _0x2af390=_0x4be2ba;return _0x518639(this[_0x2af390(0x23c)]['get'](_0x3986b4),this[_0x2af390(0x21b)],_0x597def,_0x19aec2,_0x2c0438?{'tableId':this[_0x2af390(0x1f7)],'segmentId':this['_segmentId'],..._0x2c0438}:void 0x0);}},Q=class extends _0x2e94be{[_0x4be2ba(0x217)](_0x387457=''){const _0x5c7415=_0x4be2ba;return this['_getTables'](_0x387457)[_0x5c7415(0x1fe)](_0x45d5fd=>this[_0x5c7415(0x1ce)](_0x45d5fd[_0x5c7415(0x1df)],_0x387457));}[_0x4be2ba(0x1f9)](_0x60d591,_0x4c89ee=''){const _0x407ec9=_0x4be2ba;return this[_0x407ec9(0x216)](_0x4c89ee)[_0x407ec9(0x236)](_0x2e33cc=>_0x2e33cc['tableId']===_0x60d591)?this['_createFDocumentTable'](_0x60d591,_0x4c89ee):null;}['getTableAt'](_0x14343d,_0x5c0037=''){const _0x5ddcc9=_0x4be2ba;var _0x5a185e;let _0x497e39=(_0x5a185e=this['_getTables'](_0x5c0037)[_0x14343d])==null?void 0x0:_0x5a185e['tableId'];return _0x497e39?this[_0x5ddcc9(0x1ce)](_0x497e39,_0x5c0037):null;}[_0x4be2ba(0x271)](){const _0x1891af=_0x4be2ba;let _0x460267=this[_0x1891af(0x23c)]['get'](_0x4faa51)['getStableTableSelection']();return _0x460267!=null&&_0x460267[_0x1891af(0x1df)]?this['_createFDocumentTable'](_0x460267[_0x1891af(0x1df)],_0x460267[_0x1891af(0x1f2)]):null;}[_0x4be2ba(0x234)](_0x593b6f,_0xeb3e6e=''){const _0x4a0267=_0x4be2ba;return this[_0x4a0267(0x22c)](_0x593b6f,_0xeb3e6e)[0x0]??null;}[_0x4be2ba(0x22c)](_0x24187b,_0x2daeac=''){const _0x319b08=_0x4be2ba;let _0x3d4cec=this[_0x319b08(0x1c9)](_0x2daeac),_0x2e51bd=typeof _0x24187b=='string'?{'text':_0x24187b}:_0x24187b;return this[_0x319b08(0x217)](_0x2daeac)['filter'](_0x181c67=>{const _0x4c3f10=_0x319b08;let _0x10e662=_0x181c67[_0x4c3f10(0x225)]();return!(_0x2e51bd[_0x4c3f10(0x1df)]&&_0x10e662!==_0x2e51bd[_0x4c3f10(0x1df)]||_0x2e51bd[_0x4c3f10(0x23b)]&&!this[_0x4c3f10(0x1ca)](_0x3d4cec,_0x10e662,_0x2e51bd[_0x4c3f10(0x23b)])||_0x2e51bd[_0x4c3f10(0x24b)]&&!this[_0x4c3f10(0x241)](_0x181c67,0x0,_0x2e51bd[_0x4c3f10(0x24b)])||_0x2e51bd[_0x4c3f10(0x1e0)]&&!this[_0x4c3f10(0x241)](_0x181c67,0x0,_0x2e51bd['titleText']));});}[_0x4be2ba(0x248)](_0x22769f,_0x4ebca7,_0x259fdb={}){const _0x592bff=_0x4be2ba;let _0x440488=this[_0x592bff(0x23c)][_0x592bff(0x20a)](_0x3986b4),_0x2cc47c=_0x259fdb[_0x592bff(0x1df)]??_0x50ccad(0x6);return _0x440488[_0x592bff(0x1e8)](_0x1a8727['id'],{..._0x259fdb,'unitId':this['getId'](),'rows':_0x22769f,'columns':_0x4ebca7,'tableId':_0x2cc47c})?this['_createFDocumentTable'](_0x2cc47c,_0x259fdb[_0x592bff(0x1f2)]??''):null;}[_0x4be2ba(0x202)](_0x30e672,_0x2ddc3e={}){const _0x3d4270=_0x4be2ba;let _0x303778=this[_0x3d4270(0x23c)][_0x3d4270(0x20a)](_0x3986b4),_0x350e5b=_0x2ddc3e[_0x3d4270(0x1df)]??_0x50ccad(0x6);return _0x303778['syncExecuteCommand'](_0x1a8727['id'],{..._0x2ddc3e,'unitId':this[_0x3d4270(0x225)](),'values':_0x30e672,'tableId':_0x350e5b})?this['_createFDocumentTable'](_0x350e5b,_0x2ddc3e['segmentId']??''):null;}[_0x4be2ba(0x216)](_0x5dc6ee=''){const _0x501419=_0x4be2ba;let {tables:_0x3de6ba=[]}=this[_0x501419(0x201)](_0x5dc6ee);return _0x3de6ba;}[_0x4be2ba(0x1c9)](_0x20cc6e=''){const _0x3739b1=_0x4be2ba;let _0x20f4bb=this[_0x3739b1(0x204)]()[_0x3739b1(0x252)]();return _0x20cc6e?{...this[_0x3739b1(0x204)](_0x20cc6e)[_0x3739b1(0x252)](),'documentStyle':_0x20f4bb['documentStyle'],'tableSource':_0x20f4bb[_0x3739b1(0x257)]}:_0x20f4bb;}[_0x4be2ba(0x1ce)](_0x1030f8,_0x455644=''){const _0x762197=_0x4be2ba;return this[_0x762197(0x23c)][_0x762197(0x219)](Z,this,_0x1030f8,_0x455644,this['_injector']);}[_0x4be2ba(0x1ca)](_0x3489cb,_0x2f40e7,_0x3e48e7){const _0x59ee08=_0x4be2ba;var _0x312fb1;let _0x3d2a6d=_0xfdef28(_0x3489cb,_0x2f40e7);if(!_0x3d2a6d)return!0x1;let _0x181e72=(_0x312fb1=_0x3489cb['body'])==null?void 0x0:_0x312fb1['dataStream'];return _0x181e72?_0x181e72[_0x59ee08(0x1e2)](_0x3d2a6d[_0x59ee08(0x1c6)],_0x3d2a6d['endOffset'])[_0x59ee08(0x1f1)](_0x3e48e7):!0x1;}['_rowContainsText'](_0x21ddb5,_0x276b7d,_0x3f7723){const _0x2e0ab6=_0x4be2ba;return Array[_0x2e0ab6(0x1ff)]({'length':_0x21ddb5[_0x2e0ab6(0x25d)]()},(_0x22ee6b,_0x6ed694)=>_0x21ddb5['getCellText'](_0x276b7d,_0x6ed694))[_0x2e0ab6(0x236)](_0x2db493=>_0x2db493[_0x2e0ab6(0x1f1)](_0x3f7723));}};_0x2e94be['extend'](Q);export{Z as FDocumentTable,K as FDocumentTableCell};