@univerjs-pro/docs-table 1.0.0-alpha.7 → 1.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/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 _0x5a7309=_0x54ce;(function(_0xf884af,_0x53837a){const _0x46c265=_0x54ce,_0x5abec6=_0xf884af();while(!![]){try{const _0x3362a0=parseInt(_0x46c265(0x97))/0x1*(parseInt(_0x46c265(0xc7))/0x2)+-parseInt(_0x46c265(0xf1))/0x3+-parseInt(_0x46c265(0x12e))/0x4*(parseInt(_0x46c265(0xe7))/0x5)+parseInt(_0x46c265(0x10e))/0x6*(-parseInt(_0x46c265(0xdf))/0x7)+parseInt(_0x46c265(0xdd))/0x8*(-parseInt(_0x46c265(0x120))/0x9)+-parseInt(_0x46c265(0x98))/0xa*(-parseInt(_0x46c265(0x109))/0xb)+-parseInt(_0x46c265(0xb4))/0xc*(-parseInt(_0x46c265(0x141))/0xd);if(_0x3362a0===_0x53837a)break;else _0x5abec6['push'](_0x5abec6['shift']());}catch(_0x5d2344){_0x5abec6['push'](_0x5abec6['shift']());}}}(_0x39d1,0x9894f));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x539dac,DocsTableBorderPreset as _0x58b008,DocsTableColumnInsertPosition as _0x4caeb6,DocsTableColumnType as _0x271f18,DocsTableInsertPosition as _0x10ee64,DocsTableInsertTableCommand as _0x4cf4da,DocsTableInsertTablePosition as _0x37e5ca,DocsTableModel as _0x4c03e2,DocsTableRowInsertPosition as _0x57a5f1,DocsTableSelectionKind as _0x19aa6f,DocsTableSelectionService as _0x53db45,DocsTableSortDirection as _0xca8c2e,buildDeleteTableColumnsMutationActions as _0x297117,buildDeleteTableMutationActions as _0x5e09d2,buildDeleteTableRowsMutationActions as _0x32f3f3,buildDistributeTableColumnsMutationActions as _0x511149,buildDistributeTableRowsMutationActions as _0x2c19e6,buildInsertTableColumnsMutationActions as _0x22dfdd,buildInsertTableRowsMutationActions as _0x4db340,buildInsertTableTitleRowMutationActions as _0x27a573,buildMergeCellsMutationActions as _0xeb4e23,buildMoveFloatingTableMutationActions as _0x258064,buildMoveTableColumnsMutationActions as _0x1d92cf,buildMoveTableRowsMutationActions as _0x562547,buildMoveTableToOffsetMutationActions as _0x5652de,buildResizeTableColumnActionsFromWidth as _0x586d9c,buildResizeTableRowActionsFromHeight as _0x147439,buildSetTableBackgroundMutationActions as _0x1f74fd,buildSetTableBorderMutationActions as _0x440761,buildSetTableCellMarginMutationActions as _0x48ab03,buildSetTableCellTextMutationActions as _0x12f912,buildSetTableDefaultCellMarginMutationActions as _0x30db38,buildSetTableHeaderRowCountMutationActions as _0x1cf2f0,buildSortTableMutationActions as _0xf5bd7f,buildUnmergeCellsMutationActions as _0x47ddf9,executeRichTextTableActions as _0x5765fa,getTableActionBodyPath as _0x3d50a8,getTableRangeById as _0x1dcfbf}from'@univerjs-pro/docs-table';import{DashStyleType as _0x54a3a9,ICommandService as _0x20a6d6,TableRowHeightRule as _0xfc2443,Tools as _0x768e38,generateRandomId as _0x4e304f}from'@univerjs/core';import{FEnum as _0x652f29}from'@univerjs/core/facade';import{FDocument as _0x3eed05}from'@univerjs/docs/facade';var G=class extends _0x652f29{get['DocsTableInsertTablePosition'](){return _0x37e5ca;}get[_0x5a7309(0x114)](){return _0x271f18;}get[_0x5a7309(0x112)](){return _0x19aa6f;}get[_0x5a7309(0xe3)](){return _0x57a5f1;}get[_0x5a7309(0x128)](){return _0x4caeb6;}get[_0x5a7309(0xda)](){return _0x58b008;}get[_0x5a7309(0x13c)](){return _0xca8c2e;}get[_0x5a7309(0x12c)](){return _0x54a3a9;}};_0x652f29[_0x5a7309(0x135)](G);var K=class{constructor(_0x3e068d,_0x33bb11,_0x460555){const _0x525461=_0x5a7309;this['_table']=_0x3e068d,this[_0x525461(0xe4)]=_0x33bb11,this[_0x525461(0x10a)]=_0x460555;}[_0x5a7309(0xb2)](){const _0x20fb27=_0x5a7309;return this[_0x20fb27(0xb7)];}[_0x5a7309(0xed)](){const _0x5187a4=_0x5a7309;return this[_0x5187a4(0xe4)];}['getColumnIndex'](){const _0x270f57=_0x5a7309;return this[_0x270f57(0x10a)];}[_0x5a7309(0x9d)](){const _0x6c3734=_0x5a7309;return this[_0x6c3734(0xb7)]['getCellText'](this[_0x6c3734(0xe4)],this[_0x6c3734(0x10a)]);}['getContentRange'](){const _0x317458=_0x5a7309;return this['_table'][_0x317458(0x122)](this[_0x317458(0xe4)],this[_0x317458(0x10a)]);}['getInsertOffset'](){const _0x6dee41=_0x5a7309;return this[_0x6dee41(0xb7)][_0x6dee41(0x121)](this[_0x6dee41(0xe4)],this[_0x6dee41(0x10a)]);}['getMargin'](){const _0x3c6681=_0x5a7309;return this[_0x3c6681(0xb7)][_0x3c6681(0xfd)](this[_0x3c6681(0xe4)],this[_0x3c6681(0x10a)]);}[_0x5a7309(0x139)](){const _0x3d2a97=_0x5a7309;return this['_table'][_0x3d2a97(0xd8)](this[_0x3d2a97(0xe4)],this[_0x3d2a97(0x10a)]);}[_0x5a7309(0xcc)](_0x112431){const _0x5a1a2b=_0x5a7309;return this[_0x5a1a2b(0xb7)][_0x5a1a2b(0xae)](this['_table'][_0x5a1a2b(0xa1)](this[_0x5a1a2b(0xe4)],this['_column']),_0x112431);}['clearMarginOverride'](){const _0x3cabe2=_0x5a7309;return this[_0x3cabe2(0xb7)][_0x3cabe2(0xae)](this['_table'][_0x3cabe2(0xa1)](this[_0x3cabe2(0xe4)],this['_column']),null);}[_0x5a7309(0xe0)](_0x171083){const _0x2476d2=_0x5a7309;return this[_0x2476d2(0xb7)][_0x2476d2(0x118)](this[_0x2476d2(0xe4)],this[_0x2476d2(0x10a)],_0x171083);}[_0x5a7309(0x104)](_0x40742e){const _0x404aa6=_0x5a7309;return this[_0x404aa6(0xb7)][_0x404aa6(0x131)](this['_table']['getCellRange'](this[_0x404aa6(0xe4)],this['_column']),_0x40742e);}['setBorder'](_0x534ed7){const _0x88cbf0=_0x5a7309;return this[_0x88cbf0(0xb7)]['setBorder'](this[_0x88cbf0(0xb7)][_0x88cbf0(0xa1)](this[_0x88cbf0(0xe4)],this[_0x88cbf0(0x10a)]),_0x534ed7);}[_0x5a7309(0x11e)](_0x5b45cb,_0x29d909){const _0x5abbce=_0x5a7309;return this[_0x5abbce(0xb7)]['mergeCells']({'startRow':this['_row'],'startColumn':this['_column'],'endRow':this['_row']+_0x5b45cb-0x1,'endColumn':this['_column']+_0x29d909-0x1});}[_0x5a7309(0xbd)](){const _0x246d27=_0x5a7309;return this['_table'][_0x246d27(0xce)](this[_0x246d27(0xb7)][_0x246d27(0xa1)](this[_0x246d27(0xe4)],this[_0x246d27(0x10a)]));}};function q(_0x212e03){'@babel/helpers - typeof';const _0x805196=_0x5a7309;return q=typeof Symbol==_0x805196(0xd1)&&typeof Symbol[_0x805196(0x101)]==_0x805196(0x11b)?function(_0x5357cd){return typeof _0x5357cd;}:function(_0x62ce7){const _0x498bbe=_0x805196;return _0x62ce7&&typeof Symbol=='function'&&_0x62ce7[_0x498bbe(0xa0)]===Symbol&&_0x62ce7!==Symbol['prototype']?'symbol':typeof _0x62ce7;},q(_0x212e03);}function J(_0x227650,_0x258bbf){const _0x522647=_0x5a7309;if(q(_0x227650)!=_0x522647(0xea)||!_0x227650)return _0x227650;var _0x1d41d2=_0x227650[Symbol[_0x522647(0xdb)]];if(_0x1d41d2!==void 0x0){var _0x5144c7=_0x1d41d2[_0x522647(0x9a)](_0x227650,_0x258bbf||_0x522647(0x115));if(q(_0x5144c7)!='object')return _0x5144c7;throw TypeError(_0x522647(0x11c));}return(_0x258bbf===_0x522647(0xbb)?String:Number)(_0x227650);}function Y(_0x55dcbe){const _0x3334b1=_0x5a7309;var _0x31d199=J(_0x55dcbe,_0x3334b1(0xbb));return q(_0x31d199)==_0x3334b1(0x11b)?_0x31d199:_0x31d199+'';}function X(_0x54c9b3,_0xdd9926,_0x5e7270){const _0x7393a3=_0x5a7309;return(_0xdd9926=Y(_0xdd9926))in _0x54c9b3?Object[_0x7393a3(0x13d)](_0x54c9b3,_0xdd9926,{'value':_0x5e7270,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x54c9b3[_0xdd9926]=_0x5e7270,_0x54c9b3;}var Z=class{constructor(_0x43b438,_0x202b5c,_0x439781='',_0x13795c){const _0x2392e6=_0x5a7309;this[_0x2392e6(0xef)]=_0x43b438,this[_0x2392e6(0xe5)]=_0x202b5c,this[_0x2392e6(0xc2)]=_0x439781,this['_injector']=_0x13795c,X(this,'_unitId',void 0x0),this[_0x2392e6(0xfa)]=this['_document'][_0x2392e6(0x125)]();}[_0x5a7309(0x125)](){return this['_tableId'];}[_0x5a7309(0xc8)](){const _0x1d0d30=_0x5a7309;return this[_0x1d0d30(0xc2)];}['getInfo'](){const _0x215e4e=_0x5a7309;return{'id':this[_0x215e4e(0xe5)],'rowCount':this[_0x215e4e(0x111)](),'columnCount':this[_0x215e4e(0x12d)](),'metadata':this[_0x215e4e(0xd9)](),'source':this[_0x215e4e(0x140)]()};}['describe'](){const _0x4eff52=_0x5a7309;var _0x1f666d,_0x2dc758;let _0x2be852=this[_0x4eff52(0xd9)](),_0x5d2400=this[_0x4eff52(0x140)](),_0x39ba81=this[_0x4eff52(0x12d)]();return{'id':this['_tableId'],'rowCount':this['getRowCount'](),'columnCount':_0x39ba81,'headerRowCount':(_0x1f666d=_0x2be852==null?void 0x0:_0x2be852[_0x4eff52(0xfc)])==null?0x0:_0x1f666d,'titleRow':(_0x2dc758=_0x2be852==null?void 0x0:_0x2be852[_0x4eff52(0xe2)])!=null&&_0x2dc758,'columns':Array['from']({'length':_0x39ba81},(_0xd40529,_0x2070ff)=>{const _0x5d1d43=_0x4eff52;var _0x6585d6,_0x4030f9;return{'index':_0x2070ff,'type':_0x2be852==null||(_0x6585d6=_0x2be852['columnTypes'])==null||(_0x6585d6=_0x6585d6[_0x2070ff])==null?void 0x0:_0x6585d6['type'],'width':_0x5d2400==null||(_0x4030f9=_0x5d2400['tableColumns'][_0x2070ff])==null?void 0x0:_0x4030f9[_0x5d1d43(0x126)][_0x5d1d43(0xee)]['v']};}),'sampleRows':Array[_0x4eff52(0x102)]({'length':this[_0x4eff52(0x111)]()},(_0x20c19a,_0x2d8a79)=>Array[_0x4eff52(0x102)]({'length':_0x39ba81},(_0x57077f,_0x28876e)=>this[_0x4eff52(0xb8)](_0x2d8a79,_0x28876e)))[_0x4eff52(0x12b)](_0x46c4e9=>_0x46c4e9[_0x4eff52(0x107)](_0xcf713c=>_0xcf713c[_0x4eff52(0x93)]>0x0))[_0x4eff52(0xff)](0x0,0x5)};}[_0x5a7309(0x111)](){const _0x367b1e=_0x5a7309;var _0x2d906c,_0x61210b;return(_0x2d906c=(_0x61210b=this['getSource']())==null?void 0x0:_0x61210b[_0x367b1e(0xd7)][_0x367b1e(0x93)])==null?0x0:_0x2d906c;}[_0x5a7309(0x12d)](){const _0x58a6d9=_0x5a7309;var _0x36d41e,_0x4b99ae;return(_0x36d41e=(_0x4b99ae=this[_0x58a6d9(0x140)]())==null?void 0x0:_0x4b99ae[_0x58a6d9(0x129)][_0x58a6d9(0x93)])==null?0x0:_0x36d41e;}[_0x5a7309(0x10c)](_0x4e98c,_0x29eead){const _0x2a507a=_0x5a7309;var _0x4df07d;return(_0x4df07d=this['getSource']())!=null&&(_0x4df07d=_0x4df07d['tableRows'][_0x4e98c])!=null&&_0x4df07d[_0x2a507a(0x137)][_0x29eead]?this[_0x2a507a(0xd4)][_0x2a507a(0xb9)](K,this,_0x4e98c,_0x29eead):null;}['getCellText'](_0x1005ae,_0x420ed8){const _0x2b4bcb=_0x5a7309;var _0x32d57c,_0x2dd999,_0x196176;let _0x55518a=(_0x32d57c=_0x1dcfbf(this[_0x2b4bcb(0xb3)](),this[_0x2b4bcb(0xe5)]))==null||(_0x32d57c=_0x32d57c[_0x2b4bcb(0x11f)][_0x1005ae])==null?void 0x0:_0x32d57c[_0x2b4bcb(0x116)][_0x420ed8];return _0x55518a?(_0x2dd999=(_0x196176=this[_0x2b4bcb(0xb3)]()[_0x2b4bcb(0xad)])==null?void 0x0:_0x196176[_0x2b4bcb(0xc1)][_0x2b4bcb(0xff)](_0x55518a['startOffset']+0x1,_0x55518a[_0x2b4bcb(0x11a)])['replace'](/\r\n$/,''))==null?'':_0x2dd999:'';}['getCellMargin'](_0x127c2f,_0x44fafa){const _0x3a6f42=_0x5a7309;var _0x12a9d7,_0x3f6505,_0x5b61a1;let _0x3417b4=this[_0x3a6f42(0x140)](),_0x85d533=_0x3417b4==null||(_0x12a9d7=_0x3417b4['tableRows'][_0x127c2f])==null?void 0x0:_0x12a9d7[_0x3a6f42(0x137)][_0x44fafa];return _0x85d533?_0x768e38[_0x3a6f42(0xc3)]((_0x3f6505=(_0x5b61a1=_0x85d533['margin'])==null?_0x3417b4[_0x3a6f42(0xdc)]:_0x5b61a1)==null?_0x539dac:_0x3f6505):null;}[_0x5a7309(0xd8)](_0x446574,_0x2fb377){const _0x508360=_0x5a7309;var _0x454ce8;let _0x12fdf5=(_0x454ce8=this[_0x508360(0x140)]())==null||(_0x454ce8=_0x454ce8[_0x508360(0xd7)][_0x446574])==null?void 0x0:_0x454ce8[_0x508360(0x137)][_0x2fb377];return _0x12fdf5!=null&&_0x12fdf5['margin']?_0x768e38[_0x508360(0xc3)](_0x12fdf5[_0x508360(0x99)]):null;}[_0x5a7309(0xba)](){const _0x768196=_0x5a7309;var _0x7ecc47,_0x1af02a;return _0x768e38['deepClone']((_0x7ecc47=(_0x1af02a=this[_0x768196(0x140)]())==null?void 0x0:_0x1af02a['cellMargin'])==null?_0x539dac:_0x7ecc47);}[_0x5a7309(0xcb)](){const _0x5c4074=_0x5a7309;var _0x29b9c7;let _0x20abc8=(_0x29b9c7=this[_0x5c4074(0x140)]())==null?void 0x0:_0x29b9c7['cellMargin'];return _0x20abc8?_0x768e38[_0x5c4074(0xc3)](_0x20abc8):null;}[_0x5a7309(0xd9)](){const _0x424dad=_0x5a7309;return this[_0x424dad(0xd4)][_0x424dad(0xd0)](_0x4c03e2)['getTableMetadata'](this[_0x424dad(0xfa)],this[_0x424dad(0xe5)]);}['getSource'](){const _0xba013f=_0x5a7309;var _0x45d63b;return(_0x45d63b=this[_0xba013f(0xb3)]()['tableSource'])==null?void 0x0:_0x45d63b[this[_0xba013f(0xe5)]];}[_0x5a7309(0xa4)](){const _0x5536d4=_0x5a7309;return _0x1dcfbf(this['_getDocumentData'](),this[_0x5536d4(0xe5)]);}[_0x5a7309(0xac)](){const _0xd8b784=_0x5a7309;return{'startRow':0x0,'endRow':Math[_0xd8b784(0xaf)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0xd8b784(0x12d)]()-0x1)};}['getCellRange'](_0x5693de,_0x37b7aa){return{'startRow':_0x5693de,'endRow':_0x5693de,'startColumn':_0x37b7aa,'endColumn':_0x37b7aa};}['getCellContentRange'](_0x9a9aee,_0x52095e){const _0x245e3d=_0x5a7309;var _0x289b41;let _0x5a3d5c=(_0x289b41=_0x1dcfbf(this[_0x245e3d(0xb3)](),this[_0x245e3d(0xe5)]))==null||(_0x289b41=_0x289b41[_0x245e3d(0x11f)][_0x9a9aee])==null?void 0x0:_0x289b41[_0x245e3d(0x116)][_0x52095e];if(!_0x5a3d5c)return null;let _0x4c4750=_0x5a3d5c[_0x245e3d(0xa8)]+0x1;return{'startOffset':_0x4c4750,'endOffset':Math[_0x245e3d(0xaf)](_0x4c4750,_0x5a3d5c[_0x245e3d(0x11a)]-0x1),'segmentId':this[_0x245e3d(0xc2)]};}[_0x5a7309(0x121)](_0x57fff8,_0x278690){const _0x9ddb89=_0x5a7309;var _0x4c0f7c,_0x2b0cd3;return(_0x4c0f7c=(_0x2b0cd3=this[_0x9ddb89(0x122)](_0x57fff8,_0x278690))==null?void 0x0:_0x2b0cd3['endOffset'])==null?null:_0x4c0f7c;}[_0x5a7309(0x110)](_0x5a218f){const _0x350d0a=_0x5a7309;return this[_0x350d0a(0x94)](_0x5a218f,0x1);}['getRowsRange'](_0x3f5649,_0x1f2478=0x1){const _0x315e9a=_0x5a7309;return{'startRow':_0x3f5649,'endRow':_0x3f5649+_0x1f2478-0x1,'startColumn':0x0,'endColumn':Math[_0x315e9a(0xaf)](0x0,this['getColumnCount']()-0x1)};}[_0x5a7309(0x119)](_0x341250){const _0x2c7347=_0x5a7309;return this[_0x2c7347(0xe1)](_0x341250,0x1);}[_0x5a7309(0xe1)](_0x1d3f1a,_0x3f807a=0x1){const _0x2c498f=_0x5a7309;return{'startRow':0x0,'endRow':Math[_0x2c498f(0xaf)](0x0,this['getRowCount']()-0x1),'startColumn':_0x1d3f1a,'endColumn':_0x1d3f1a+_0x3f807a-0x1};}[_0x5a7309(0xe9)](){const _0x2a726e=_0x5a7309;return this['selectRange'](this[_0x2a726e(0xac)](),_0x19aa6f[_0x2a726e(0xec)]);}['selectRow'](_0x4ce7b4){const _0x4ea275=_0x5a7309;return this[_0x4ea275(0x123)](_0x4ce7b4,0x1);}['selectRows'](_0x5027ec,_0x43e419=0x1){const _0x468450=_0x5a7309;return this[_0x468450(0xf6)](this['getRowsRange'](_0x5027ec,_0x43e419),_0x19aa6f[_0x468450(0x138)]);}[_0x5a7309(0xcd)](_0x110b9b){const _0x8aa63b=_0x5a7309;return this[_0x8aa63b(0xd5)](_0x110b9b,0x1);}['selectColumns'](_0x53016a,_0x57b4cd=0x1){const _0x3e2987=_0x5a7309;return this[_0x3e2987(0xf6)](this[_0x3e2987(0xe1)](_0x53016a,_0x57b4cd),_0x19aa6f[_0x3e2987(0x9b)]);}['selectCell'](_0x5d28b8,_0x4f9e08){const _0x1040dd=_0x5a7309;return this['selectRange'](this[_0x1040dd(0xa1)](_0x5d28b8,_0x4f9e08),_0x19aa6f['Cell']);}['selectRange'](_0xc8bf2f,_0x59f20e=_0x19aa6f[_0x5a7309(0x106)]){const _0x759fb7=_0x5a7309;return this[_0x759fb7(0xd4)]['get'](_0x53db45)[_0x759fb7(0x113)]({..._0xc8bf2f,'kind':_0x59f20e,'segmentId':this[_0x759fb7(0xc2)],'tableId':this[_0x759fb7(0xe5)]}),!0x0;}[_0x5a7309(0xaa)](_0x8e9602){return this['insertRowsBefore'](_0x8e9602,0x1);}[_0x5a7309(0xcf)](_0x4ce89c){return this['insertRowsAfter'](_0x4ce89c,0x1);}[_0x5a7309(0x127)](_0x473399,_0x85c5b8){const _0x21719b=_0x5a7309;let _0x4000ea=this[_0x21719b(0xb3)](),_0xcad13e=_0x4db340(_0x4000ea,this[_0x21719b(0xe5)],_0x473399,_0x85c5b8,_0x10ee64[_0x21719b(0x108)],this[_0x21719b(0x91)]());return _0xcad13e?this[_0x21719b(0xca)](_0x4000ea,_0xcad13e['actions']):!0x1;}[_0x5a7309(0xb5)](_0x5d99aa,_0x36dae0){const _0x35b9fb=_0x5a7309;let _0x3f3232=this[_0x35b9fb(0xb3)](),_0x52a28f=_0x4db340(_0x3f3232,this['_tableId'],_0x5d99aa,_0x36dae0,_0x10ee64[_0x35b9fb(0xa2)],this[_0x35b9fb(0x91)]());return _0x52a28f?this['_mutateActions'](_0x3f3232,_0x52a28f[_0x35b9fb(0xeb)]):!0x1;}[_0x5a7309(0xf4)](){const _0x2f9623=_0x5a7309;return this[_0x2f9623(0xb5)](Math[_0x2f9623(0xaf)](0x0,this[_0x2f9623(0x111)]()-0x1),0x1);}[_0x5a7309(0xbf)](_0x4b8ece){const _0x1f553e=_0x5a7309;return this[_0x1f553e(0xe8)](_0x4b8ece,0x1);}['insertColumnAfter'](_0x2ba8d8){return this['insertColumnsAfter'](_0x2ba8d8,0x1);}[_0x5a7309(0xe8)](_0x2fc87c,_0x2405e6){const _0x4ba9e2=_0x5a7309;let _0x16de0f=this['_getDocumentData'](),_0x59595e=_0x22dfdd(_0x16de0f,this[_0x4ba9e2(0xe5)],_0x2fc87c,_0x2405e6,_0x10ee64['Left'],{'bodyPath':this[_0x4ba9e2(0x91)]()});return _0x59595e?this['_mutateActions'](_0x16de0f,_0x59595e[_0x4ba9e2(0xeb)]):!0x1;}[_0x5a7309(0x10d)](_0x93313,_0x402af1){const _0x3b18c7=_0x5a7309;let _0xa1772b=this['_getDocumentData'](),_0x41c95e=_0x22dfdd(_0xa1772b,this[_0x3b18c7(0xe5)],_0x93313,_0x402af1,_0x10ee64[_0x3b18c7(0xf5)],{'bodyPath':this[_0x3b18c7(0x91)]()});return _0x41c95e?this['_mutateActions'](_0xa1772b,_0x41c95e['actions']):!0x1;}[_0x5a7309(0x13e)](){const _0x5ddc3a=_0x5a7309;return this[_0x5ddc3a(0x10d)](Math['max'](0x0,this[_0x5ddc3a(0x12d)]()-0x1),0x1);}[_0x5a7309(0x103)](_0x13920a){const _0x390678=_0x5a7309;return this[_0x390678(0xc9)](_0x13920a,0x1);}[_0x5a7309(0xc9)](_0x3d7aee,_0x1994cd=0x1){const _0x5dc06d=_0x5a7309;let _0x3d5b74=this['_getDocumentData'](),_0x4dd441=_0x32f3f3(_0x3d5b74,this[_0x5dc06d(0xe5)],_0x3d7aee,_0x3d7aee+_0x1994cd-0x1,this[_0x5dc06d(0x91)]());return _0x4dd441?this[_0x5dc06d(0xca)](_0x3d5b74,_0x4dd441['actions']):!0x1;}['deleteColumn'](_0x582e17){return this['deleteColumns'](_0x582e17,0x1);}['deleteColumns'](_0x3f701f,_0x1c0a19=0x1){const _0x863c53=_0x5a7309;let _0x5a3dce=this[_0x863c53(0xb3)](),_0x26c296=_0x297117(_0x5a3dce,this[_0x863c53(0xe5)],_0x3f701f,_0x3f701f+_0x1c0a19-0x1,this['_getBodyPath']());return _0x26c296?this[_0x863c53(0xca)](_0x5a3dce,_0x26c296[_0x863c53(0xeb)]):!0x1;}['deleteTable'](){const _0x100900=_0x5a7309;let _0x57840a=this[_0x100900(0xb3)](),_0x54b711=_0x5e09d2(_0x57840a,this[_0x100900(0xe5)],this[_0x100900(0x91)]());return _0x54b711?this[_0x100900(0xca)](_0x57840a,_0x54b711[_0x100900(0xeb)]):!0x1;}[_0x5a7309(0x13b)](_0x207e2e,_0xd56322){const _0x357535=_0x5a7309;let _0x534d3a=this['_getDocumentData']();return this['_mutateActions'](_0x534d3a,_0x258064(_0x534d3a,this[_0x357535(0xe5)],_0x207e2e,_0xd56322));}[_0x5a7309(0xc4)](_0x50aa23){const _0x2e9b9e=_0x5a7309;let _0x531a8c=this[_0x2e9b9e(0xb3)]();return this[_0x2e9b9e(0xca)](_0x531a8c,_0x5652de(_0x531a8c,this[_0x2e9b9e(0xe5)],_0x50aa23,this[_0x2e9b9e(0x91)]()));}[_0x5a7309(0xf3)](_0x39e8a6,_0x1820ee,_0x284a1c=_0x10ee64[_0x5a7309(0x108)]){const _0x223921=_0x5a7309;return this[_0x223921(0xd3)](_0x39e8a6,0x1,_0x1820ee,_0x284a1c);}['moveRows'](_0x14517f,_0x1103ad,_0x2c1053,_0x311001=_0x10ee64[_0x5a7309(0x108)]){const _0x27e497=_0x5a7309;let _0x282dad=this['_getDocumentData'](),_0x192667=_0x562547(_0x282dad,this[_0x27e497(0xe5)],_0x14517f,_0x2c1053,_0x1103ad,_0x311001,this[_0x27e497(0x91)]());return _0x192667?this['_mutateActions'](_0x282dad,_0x192667[_0x27e497(0xeb)]):!0x1;}[_0x5a7309(0x8e)](_0x46793c,_0x4cd306,_0x55b356=_0x10ee64[_0x5a7309(0xf8)]){const _0x336dd7=_0x5a7309;return this[_0x336dd7(0x117)](_0x46793c,0x1,_0x4cd306,_0x55b356);}[_0x5a7309(0x117)](_0x280885,_0x604b70,_0x539813,_0x2ad672=_0x10ee64[_0x5a7309(0xf8)]){const _0x26722a=_0x5a7309;let _0x429b6e=this[_0x26722a(0xb3)](),_0x22360f=_0x1d92cf(_0x429b6e,this[_0x26722a(0xe5)],_0x280885,_0x539813,_0x604b70,_0x2ad672,this[_0x26722a(0x91)]());return _0x22360f?this[_0x26722a(0xca)](_0x429b6e,_0x22360f['actions']):!0x1;}[_0x5a7309(0xfe)](_0x3b9aee){const _0x13aa0e=_0x5a7309;try{let _0x334fc3=this[_0x13aa0e(0xb3)](),_0x469bba=_0xeb4e23({'documentData':_0x334fc3,'tableId':this[_0x13aa0e(0xe5)],..._0x3b9aee});return _0x469bba?this['_mutateActions'](_0x334fc3,_0x469bba[_0x13aa0e(0xeb)],_0x3b9aee):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x55d629){const _0x53d930=_0x5a7309;try{let _0x3178a8=this[_0x53d930(0xb3)](),_0x14fd47=_0x47ddf9({'documentData':_0x3178a8,'tableId':this[_0x53d930(0xe5)],..._0x55d629});return _0x14fd47?this['_mutateActions'](_0x3178a8,_0x14fd47[_0x53d930(0xeb)],_0x55d629):!0x1;}catch{return!0x1;}}[_0x5a7309(0x118)](_0x26bf05,_0x3b1be1,_0x199a27){const _0x3d0c66=_0x5a7309;let _0x3b83bc=this['_getDocumentData'](),_0x25a25b=_0x3d50a8(this[_0x3d0c66(0xef)][_0x3d0c66(0x11d)]()['getSnapshot'](),this[_0x3d0c66(0xc2)]);return this[_0x3d0c66(0xca)](_0x3b83bc,_0x12f912({'documentData':_0x3b83bc,'tableId':this['_tableId'],'row':_0x26bf05,'column':_0x3b1be1,'text':_0x199a27},_0x25a25b),this['getCellRange'](_0x26bf05,_0x3b1be1));}[_0x5a7309(0x131)](_0xcd9b68,_0x290ef8){const _0xb59ddf=_0x5a7309;let _0x129403=this[_0xb59ddf(0xb3)]();return this[_0xb59ddf(0xca)](_0x129403,_0x1f74fd(_0x129403,{'tableId':this[_0xb59ddf(0xe5)],..._0xcd9b68,'value':_0x290ef8}),_0xcd9b68);}[_0x5a7309(0xae)](_0x2ed71f,_0x4aef70){const _0x4a9f88=_0x5a7309;let _0x4f7e90=this[_0x4a9f88(0xb3)]();return this['_mutateActions'](_0x4f7e90,_0x48ab03({'documentData':_0x4f7e90,'tableId':this[_0x4a9f88(0xe5)],..._0x2ed71f,'margin':_0x4aef70}),_0x2ed71f);}[_0x5a7309(0x133)](_0x1484b4){const _0x1dca7a=_0x5a7309;let _0x18ef70=this[_0x1dca7a(0xb3)]();return this[_0x1dca7a(0xca)](_0x18ef70,_0x30db38(_0x18ef70,this['_tableId'],_0x1484b4));}[_0x5a7309(0xbc)](_0x3f7ac6,_0x3fb8ac){const _0x17b16f=_0x5a7309;var _0x4b87bb,_0x1f37dc,_0x348d32,_0x4b0b3f;let _0x5d75f4=this[_0x17b16f(0xb3)]();return this['_mutateActions'](_0x5d75f4,_0x440761({'documentData':_0x5d75f4,'tableId':this[_0x17b16f(0xe5)],..._0x3f7ac6,'preset':(_0x4b87bb=_0x3fb8ac['preset'])==null?_0x58b008[_0x17b16f(0x12f)]:_0x4b87bb,'border':(_0x1f37dc=_0x3fb8ac['border'])==null?{'color':{'rgb':(_0x348d32=_0x3fb8ac[_0x17b16f(0xe6)])==null?_0x17b16f(0x9c):_0x348d32},'width':{'v':(_0x4b0b3f=_0x3fb8ac[_0x17b16f(0xee)])==null?0x1:_0x4b0b3f},'dashStyle':_0x54a3a9['SOLID']}:_0x1f37dc}),_0x3f7ac6);}[_0x5a7309(0x13a)](_0x3db7c8){const _0x3d5a94=_0x5a7309;return this[_0x3d5a94(0x131)](this[_0x3d5a94(0xac)](),_0x3db7c8);}[_0x5a7309(0xb1)](_0x18ffca){const _0x54ec4f=_0x5a7309;return this[_0x54ec4f(0xbc)](this[_0x54ec4f(0xac)](),_0x18ffca);}[_0x5a7309(0xde)](_0x3b89f8){const _0x422c06=_0x5a7309;let _0x117ccf=!_0x3b89f8[_0x422c06(0xf9)]||this[_0x422c06(0x13a)](_0x3b89f8[_0x422c06(0xf9)]),_0x4e754c=!_0x3b89f8[_0x422c06(0xd6)]||this[_0x422c06(0xb1)](_0x3b89f8[_0x422c06(0xd6)]);return _0x117ccf&&_0x4e754c;}[_0x5a7309(0x142)](_0x4e8cd3,_0x54d987,_0x224b36=_0xfc2443[_0x5a7309(0xa9)]){const _0x4deacd=_0x5a7309;var _0x2a0b7e;let _0x2fad26=this[_0x4deacd(0xb3)]();return(_0x2a0b7e=_0x2fad26[_0x4deacd(0xf2)])!=null&&(_0x2a0b7e=_0x2a0b7e[this[_0x4deacd(0xe5)]])!=null&&_0x2a0b7e['tableRows'][_0x4e8cd3]?this[_0x4deacd(0xca)](_0x2fad26,_0x147439(_0x2fad26,this[_0x4deacd(0xe5)],_0x4e8cd3,_0x54d987,_0x224b36)):!0x1;}['getRowHeight'](_0x4bd5cf){const _0x4e3ccd=_0x5a7309;var _0x53cb57;let _0x39abc5=(_0x53cb57=this[_0x4e3ccd(0x140)]())==null||(_0x53cb57=_0x53cb57[_0x4e3ccd(0xd7)][_0x4bd5cf])==null?void 0x0:_0x53cb57[_0x4e3ccd(0x10b)];return _0x39abc5?_0x768e38['deepClone'](_0x39abc5):null;}['setColumnWidth'](_0x3a6fa2,_0x56f053){const _0x41e508=_0x5a7309;var _0x5bbbd3;let _0x4ce98d=this[_0x41e508(0xb3)]();return(_0x5bbbd3=_0x4ce98d[_0x41e508(0xf2)])!=null&&(_0x5bbbd3=_0x5bbbd3[this['_tableId']])!=null&&_0x5bbbd3['tableColumns'][_0x3a6fa2]?this['_mutateActions'](_0x4ce98d,_0x586d9c(_0x4ce98d,this[_0x41e508(0xe5)],_0x3a6fa2,_0x56f053)):!0x1;}[_0x5a7309(0xb6)](_0x3ee6d2=0x0,_0x2ffb2b=this[_0x5a7309(0x111)]()){const _0x1fad22=_0x5a7309;let _0x211ee0=this[_0x1fad22(0xb3)]();return this['_mutateActions'](_0x211ee0,_0x2c19e6(_0x211ee0,this[_0x1fad22(0xe5)],_0x3ee6d2,_0x3ee6d2+_0x2ffb2b-0x1));}[_0x5a7309(0xc0)](_0x39d56d=0x0,_0x4577b4=this[_0x5a7309(0x12d)]()){const _0x27ac93=_0x5a7309;let _0x4b2393=this[_0x27ac93(0xb3)]();return this[_0x27ac93(0xca)](_0x4b2393,_0x511149(_0x4b2393,this['_tableId'],_0x39d56d,_0x39d56d+_0x4577b4-0x1));}['getHeaderRowCount'](){const _0x48ac84=_0x5a7309;var _0x46870e,_0x657407;return(_0x46870e=(_0x657407=this[_0x48ac84(0xd9)]())==null?void 0x0:_0x657407[_0x48ac84(0xfc)])==null?0x0:_0x46870e;}[_0x5a7309(0x8f)](_0x450c2d){const _0x2ff97e=_0x5a7309;let _0x397c6d=this[_0x2ff97e(0xd4)][_0x2ff97e(0xd0)](_0x4c03e2),_0x368868=this['_getDocumentData'](),_0x356b82=_0x1cf2f0(_0x368868,this[_0x2ff97e(0xe5)],_0x450c2d);if(!_0x356b82)return!0x1;let _0x61b68b=this[_0x2ff97e(0xca)](_0x368868,_0x356b82[_0x2ff97e(0xeb)]);return _0x61b68b&&_0x397c6d[_0x2ff97e(0x8f)](this[_0x2ff97e(0xfa)],this[_0x2ff97e(0xe5)],_0x356b82[_0x2ff97e(0xfc)]),_0x61b68b;}[_0x5a7309(0x100)](_0x24dd90){return this['setHeaderRowCount'](_0x24dd90);}[_0x5a7309(0xf7)](){const _0x4ab7f3=_0x5a7309;var _0x725421,_0x592b89;return(_0x725421=(_0x592b89=this[_0x4ab7f3(0xd9)]())==null?void 0x0:_0x592b89[_0x4ab7f3(0xe2)])!=null&&_0x725421;}[_0x5a7309(0xa3)](){const _0x55a084=_0x5a7309;let _0x45309c=this[_0x55a084(0xd4)][_0x55a084(0xd0)](_0x4c03e2),_0x40358b=this[_0x55a084(0xb3)](),_0x47f804=_0x27a573(_0x40358b,this[_0x55a084(0xe5)],this[_0x55a084(0x91)]());if(!_0x47f804)return!0x1;let _0x16b558=this[_0x55a084(0xca)](_0x40358b,_0x47f804[_0x55a084(0xeb)]);return _0x16b558&&_0x45309c[_0x55a084(0x130)](this[_0x55a084(0xfa)],this[_0x55a084(0xe5)],!0x0),_0x16b558;}[_0x5a7309(0x92)](_0x46187e,_0x29f6c4){const _0xb32938=_0x5a7309;return this[_0xb32938(0xd4)][_0xb32938(0xd0)](_0x4c03e2)['setColumnType'](this[_0xb32938(0xfa)],this[_0xb32938(0xe5)],_0x46187e,_0x29f6c4),!0x0;}[_0x5a7309(0x95)](_0x186ce6,_0x4d0cc6){const _0x23a1a1=_0x5a7309;let _0x2383fb=this[_0x23a1a1(0xb3)]();return this['_mutateActions'](_0x2383fb,_0xf5bd7f(_0x2383fb,this[_0x23a1a1(0x9e)](),this['_tableId'],_0x186ce6,_0x4d0cc6,this['_getBodyPath']()));}[_0x5a7309(0xb3)](){const _0x357789=_0x5a7309;let _0x334d4d=this['_document'][_0x357789(0x11d)]()[_0x357789(0x9f)]();return this[_0x357789(0xc2)]?{...this[_0x357789(0xef)][_0x357789(0x11d)](this[_0x357789(0xc2)])[_0x357789(0x9f)](),'documentStyle':_0x334d4d[_0x357789(0xfb)],'tableSource':_0x334d4d['tableSource']}:_0x334d4d;}['_serializeModel'](){const _0x39fb4e=_0x5a7309;return this[_0x39fb4e(0xd4)]['get'](_0x4c03e2)['serialize'](this[_0x39fb4e(0xfa)]);}[_0x5a7309(0x91)](){const _0x12f4ef=_0x5a7309;return _0x3d50a8(this[_0x12f4ef(0xef)][_0x12f4ef(0x11d)]()[_0x12f4ef(0x9f)](),this[_0x12f4ef(0xc2)]);}[_0x5a7309(0xca)](_0x1a9832,_0x77e4f,_0x1c20ba){const _0x1fefa9=_0x5a7309;return _0x5765fa(this[_0x1fefa9(0xd4)][_0x1fefa9(0xd0)](_0x20a6d6),this[_0x1fefa9(0xfa)],_0x1a9832,_0x77e4f,_0x1c20ba?{'tableId':this['_tableId'],'segmentId':this['_segmentId'],..._0x1c20ba}:void 0x0);}},Q=class extends _0x3eed05{[_0x5a7309(0xc6)](_0x2eb2f8=''){const _0x12bfe0=_0x5a7309;return this[_0x12bfe0(0xd2)](_0x2eb2f8)['map'](_0x385361=>this[_0x12bfe0(0xa5)](_0x385361[_0x12bfe0(0x132)],_0x2eb2f8));}[_0x5a7309(0xb2)](_0x958f58,_0x2f3aa5=''){const _0x34c189=_0x5a7309;return this[_0x34c189(0xd2)](_0x2f3aa5)[_0x34c189(0x107)](_0x212eeb=>_0x212eeb['tableId']===_0x958f58)?this[_0x34c189(0xa5)](_0x958f58,_0x2f3aa5):null;}[_0x5a7309(0xa6)](_0x24c57c,_0x3bd767=''){const _0x563960=_0x5a7309;var _0x1d3a0d;let _0x1cccbe=(_0x1d3a0d=this['_getTables'](_0x3bd767)[_0x24c57c])==null?void 0x0:_0x1d3a0d[_0x563960(0x132)];return _0x1cccbe?this[_0x563960(0xa5)](_0x1cccbe,_0x3bd767):null;}[_0x5a7309(0xb0)](){const _0xc4bed8=_0x5a7309;let _0x395974=this[_0xc4bed8(0xd4)][_0xc4bed8(0xd0)](_0x53db45)[_0xc4bed8(0xf0)]();return _0x395974!=null&&_0x395974[_0xc4bed8(0x132)]?this[_0xc4bed8(0xa5)](_0x395974[_0xc4bed8(0x132)],_0x395974[_0xc4bed8(0x134)]):null;}[_0x5a7309(0x10f)](_0x5c5c75,_0x964ff2=''){const _0x52d9bf=_0x5a7309;var _0x182815;return(_0x182815=this[_0x52d9bf(0x136)](_0x5c5c75,_0x964ff2)[0x0])==null?null:_0x182815;}[_0x5a7309(0x136)](_0x553e85,_0x14f696=''){const _0x2c7fe8=_0x5a7309;let _0x8348c7=this[_0x2c7fe8(0x90)](_0x14f696),_0x1390c8=typeof _0x553e85==_0x2c7fe8(0xbb)?{'text':_0x553e85}:_0x553e85;return this[_0x2c7fe8(0xc6)](_0x14f696)[_0x2c7fe8(0x12b)](_0x1991c4=>{const _0x306057=_0x2c7fe8;let _0x362d84=_0x1991c4[_0x306057(0x125)]();return!(_0x1390c8[_0x306057(0x132)]&&_0x362d84!==_0x1390c8['tableId']||_0x1390c8[_0x306057(0x96)]&&!this['_tableContainsText'](_0x8348c7,_0x362d84,_0x1390c8[_0x306057(0x96)])||_0x1390c8[_0x306057(0xa7)]&&!this['_rowContainsText'](_0x1991c4,0x0,_0x1390c8[_0x306057(0xa7)])||_0x1390c8[_0x306057(0x105)]&&!this['_rowContainsText'](_0x1991c4,0x0,_0x1390c8[_0x306057(0x105)]));});}[_0x5a7309(0xc5)](_0x37f10e,_0x1e432e,_0x4d8839={}){const _0x569fc3=_0x5a7309;var _0x35129b,_0x409f6e;let _0x331035=this[_0x569fc3(0xd4)][_0x569fc3(0xd0)](_0x20a6d6),_0x1d568e=(_0x35129b=_0x4d8839['tableId'])==null?_0x4e304f(0x6):_0x35129b;return _0x331035[_0x569fc3(0xab)](_0x4cf4da['id'],{..._0x4d8839,'unitId':this[_0x569fc3(0x125)](),'rows':_0x37f10e,'columns':_0x1e432e,'tableId':_0x1d568e})?this['_createFDocumentTable'](_0x1d568e,(_0x409f6e=_0x4d8839['segmentId'])==null?'':_0x409f6e):null;}[_0x5a7309(0x12a)](_0x299ed5,_0x1a8c23={}){const _0x2e1611=_0x5a7309;var _0x29ba44,_0x548bfe;let _0x21ade1=this[_0x2e1611(0xd4)]['get'](_0x20a6d6),_0x17c55b=(_0x29ba44=_0x1a8c23[_0x2e1611(0x132)])==null?_0x4e304f(0x6):_0x29ba44;return _0x21ade1[_0x2e1611(0xab)](_0x4cf4da['id'],{..._0x1a8c23,'unitId':this['getId'](),'values':_0x299ed5,'tableId':_0x17c55b})?this['_createFDocumentTable'](_0x17c55b,(_0x548bfe=_0x1a8c23[_0x2e1611(0x134)])==null?'':_0x548bfe):null;}[_0x5a7309(0xd2)](_0x2c3a97=''){let {tables:_0x33be7d=[]}=this['getBody'](_0x2c3a97);return _0x33be7d;}[_0x5a7309(0x90)](_0x2d6520=''){const _0x433951=_0x5a7309;let _0x766311=this['getDocumentDataModel']()[_0x433951(0x9f)]();return _0x2d6520?{...this['getDocumentDataModel'](_0x2d6520)[_0x433951(0x9f)](),'documentStyle':_0x766311[_0x433951(0xfb)],'tableSource':_0x766311[_0x433951(0xf2)]}:_0x766311;}[_0x5a7309(0xa5)](_0x321a1c,_0x86b3ae=''){const _0x35e5ac=_0x5a7309;return this[_0x35e5ac(0xd4)][_0x35e5ac(0xb9)](Z,this,_0x321a1c,_0x86b3ae,this[_0x35e5ac(0xd4)]);}[_0x5a7309(0x13f)](_0x5a5959,_0x23ab54,_0x59562f){const _0x2b2c25=_0x5a7309;var _0x2a4ca0;let _0x14811b=_0x1dcfbf(_0x5a5959,_0x23ab54);if(!_0x14811b)return!0x1;let _0x4349ba=(_0x2a4ca0=_0x5a5959[_0x2b2c25(0xad)])==null?void 0x0:_0x2a4ca0[_0x2b2c25(0xc1)];return _0x4349ba?_0x4349ba[_0x2b2c25(0xff)](_0x14811b['startOffset'],_0x14811b[_0x2b2c25(0x11a)])['includes'](_0x59562f):!0x1;}[_0x5a7309(0xbe)](_0x48ce36,_0x34e1fb,_0x5ee99e){const _0x144876=_0x5a7309;return Array['from']({'length':_0x48ce36[_0x144876(0x12d)]()},(_0x1c4075,_0x110106)=>_0x48ce36['getCellText'](_0x34e1fb,_0x110106))[_0x144876(0x107)](_0x559012=>_0x559012[_0x144876(0x124)](_0x5ee99e));}};_0x3eed05[_0x5a7309(0x135)](Q);function _0x54ce(_0xb5c362,_0x5afedd){_0xb5c362=_0xb5c362-0x8e;const _0x39d1f0=_0x39d1();let _0x54ce4c=_0x39d1f0[_0xb5c362];return _0x54ce4c;}function _0x39d1(){const _0x4f98b1=['moveRows','_injector','selectColumns','border','tableRows','getCellMarginOverride','getMetadata','DocsTableBorderPreset','toPrimitive','cellMargin','1424504QHTHnE','setTableStyle','21VSNhHt','setText','getColumnsRange','titleRow','DocsTableRowInsertPosition','_row','_tableId','color','229345xRXtbp','insertColumnsBefore','selectTable','object','actions','Table','getRowIndex','width','_document','getStableTableSelection','589791xjtRgi','tableSource','moveRow','appendRow','Right','selectRange','hasTitleRow','Left','backgroundColor','_unitId','documentStyle','headerRowCount','getCellMargin','mergeCells','slice','pinHeaderRows','iterator','from','deleteRow','setBackgroundColor','titleText','Range','some','Above','11uOtbfF','_column','trHeight','getCell','insertColumnsAfter','850626vnIJeq','findTableByText','getRowRange','getRowCount','DocsTableSelectionKind','setStructuralSelection','DocsTableColumnType','default','cells','moveColumns','setCellText','getColumnRange','endOffset','symbol','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getDocumentDataModel','mergeTo','rows','36ZkjoLO','getCellInsertOffset','getCellContentRange','selectRows','includes','getId','size','insertRowsBefore','DocsTableColumnInsertPosition','tableColumns','insertTableFromData','filter','DashStyleType','getColumnCount','108QoyNPm','All','setTitleRow','setCellBackground','tableId','setDefaultCellMargin','segmentId','extend','findTables','tableCells','Row','getMarginOverride','setTableBackground','moveTableBy','DocsTableSortDirection','defineProperty','appendColumn','_tableContainsText','getSource','916916uxPOsE','setRowHeight','moveColumn','setHeaderRowCount','_getTableDocumentData','_getBodyPath','setColumnType','length','getRowsRange','sortByColumn','text','622510whMvvC','2475340uLghep','margin','call','Column','#1f1f1f','getText','_serializeModel','getSnapshot','constructor','getCellRange','Below','insertTitleRow','getRange','_createFDocumentTable','getTableAt','headerText','startOffset','AT_LEAST','insertRowBefore','syncExecuteCommand','getTableRange','body','setCellMargin','max','getTableAtSelection','setTableBorder','getTable','_getDocumentData','396zAXBYd','insertRowsAfter','distributeRows','_table','getCellText','createInstance','getDefaultCellMargin','string','setBorder','unmerge','_rowContainsText','insertColumnBefore','distributeColumns','dataStream','_segmentId','deepClone','moveTableToOffset','insertTable','getTables','2AeVqMl','getSegmentId','deleteRows','_mutateActions','getDefaultCellMarginOverride','setMargin','selectColumn','unmergeCells','insertRowAfter','get','function','_getTables'];_0x39d1=function(){return _0x4f98b1;};return _0x39d1();}export{Z as FDocumentTable,K as FDocumentTableCell};
|