@univerjs-pro/docs-table 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x78aff7,_0x4b1ebb){const _0x467ae9=_0x117e,_0x270a83=_0x78aff7();while(!![]){try{const _0x17ef36=parseInt(_0x467ae9(0x120))/0x1*(-parseInt(_0x467ae9(0x171))/0x2)+parseInt(_0x467ae9(0xd9))/0x3*(parseInt(_0x467ae9(0x156))/0x4)+-parseInt(_0x467ae9(0xee))/0x5+parseInt(_0x467ae9(0x144))/0x6+parseInt(_0x467ae9(0x12f))/0x7*(-parseInt(_0x467ae9(0xcc))/0x8)+parseInt(_0x467ae9(0x117))/0x9*(parseInt(_0x467ae9(0x125))/0xa)+-parseInt(_0x467ae9(0x12c))/0xb*(-parseInt(_0x467ae9(0xc6))/0xc);if(_0x17ef36===_0x4b1ebb)break;else _0x270a83['push'](_0x270a83['shift']());}catch(_0x515bca){_0x270a83['push'](_0x270a83['shift']());}}}(_0x3cb2,0x3e5c1),function(_0x2d50ca,_0x53146c){const _0x54d942=_0x117e;typeof exports=='object'&&typeof module<'u'?_0x53146c(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x54d942(0x162)&&define['amd']?define([_0x54d942(0xff),_0x54d942(0x150),_0x54d942(0x168),_0x54d942(0xda),_0x54d942(0xad)],_0x53146c):(_0x2d50ca=typeof globalThis<'u'?globalThis:_0x2d50ca||self,_0x53146c(_0x2d50ca[_0x54d942(0x14a)]={},_0x2d50ca[_0x54d942(0xdb)],_0x2d50ca[_0x54d942(0x18f)],_0x2d50ca[_0x54d942(0x100)],_0x2d50ca[_0x54d942(0x12b)]));}(this,function(_0x3bd557,_0x1c0c84,_0x296ee2,_0x120827,_0x25c57e){const _0x5b2c50=_0x117e;Object[_0x5b2c50(0x179)](_0x3bd557,Symbol[_0x5b2c50(0xac)],{'value':_0x5b2c50(0x106)});var _0x5cc7a8=class extends _0x120827[_0x5b2c50(0xc5)]{get[_0x5b2c50(0x173)](){const _0x3f6a37=_0x5b2c50;return _0x1c0c84[_0x3f6a37(0x173)];}get['DocsTableColumnType'](){const _0x2f8334=_0x5b2c50;return _0x1c0c84[_0x2f8334(0x12d)];}get[_0x5b2c50(0xf5)](){const _0x2ac37e=_0x5b2c50;return _0x1c0c84[_0x2ac37e(0xf5)];}get[_0x5b2c50(0x149)](){const _0x3a3aa4=_0x5b2c50;return _0x1c0c84[_0x3a3aa4(0x149)];}get[_0x5b2c50(0x155)](){const _0x49d00b=_0x5b2c50;return _0x1c0c84[_0x49d00b(0x155)];}get['DocsTableBorderPreset'](){const _0x548c91=_0x5b2c50;return _0x1c0c84[_0x548c91(0xe8)];}get['DocsTableSortDirection'](){return _0x1c0c84['DocsTableSortDirection'];}get['DashStyleType'](){const _0x536e83=_0x5b2c50;return _0x296ee2[_0x536e83(0x172)];}};_0x120827[_0x5b2c50(0xc5)][_0x5b2c50(0xf8)](_0x5cc7a8);var _0x1fda9e=class{constructor(_0x490ca3,_0x1523b2,_0x3ffb3d){const _0x5893a3=_0x5b2c50;this[_0x5893a3(0x13f)]=_0x490ca3,this[_0x5893a3(0x14f)]=_0x1523b2,this[_0x5893a3(0xc0)]=_0x3ffb3d;}[_0x5b2c50(0x194)](){return this['_table'];}[_0x5b2c50(0xca)](){return this['_row'];}[_0x5b2c50(0xc7)](){const _0x5632b2=_0x5b2c50;return this[_0x5632b2(0xc0)];}['getText'](){const _0x423183=_0x5b2c50;return this[_0x423183(0x13f)][_0x423183(0x146)](this[_0x423183(0x14f)],this[_0x423183(0xc0)]);}['getContentRange'](){const _0x36ec03=_0x5b2c50;return this[_0x36ec03(0x13f)][_0x36ec03(0x148)](this[_0x36ec03(0x14f)],this[_0x36ec03(0xc0)]);}[_0x5b2c50(0x111)](){const _0x4887a2=_0x5b2c50;return this[_0x4887a2(0x13f)][_0x4887a2(0xdd)](this[_0x4887a2(0x14f)],this['_column']);}[_0x5b2c50(0x160)](){const _0x3d6a2e=_0x5b2c50;return this[_0x3d6a2e(0x13f)][_0x3d6a2e(0x175)](this[_0x3d6a2e(0x14f)],this[_0x3d6a2e(0xc0)]);}[_0x5b2c50(0x13b)](){const _0x564395=_0x5b2c50;return this[_0x564395(0x13f)][_0x564395(0xdc)](this[_0x564395(0x14f)],this[_0x564395(0xc0)]);}['setMargin'](_0x1c26dc){const _0x411a62=_0x5b2c50;return this[_0x411a62(0x13f)][_0x411a62(0xf9)](this[_0x411a62(0x13f)][_0x411a62(0x105)](this[_0x411a62(0x14f)],this[_0x411a62(0xc0)]),_0x1c26dc);}[_0x5b2c50(0x182)](){const _0x1a4996=_0x5b2c50;return this[_0x1a4996(0x13f)][_0x1a4996(0xf9)](this['_table']['getCellRange'](this[_0x1a4996(0x14f)],this[_0x1a4996(0xc0)]),null);}[_0x5b2c50(0xc9)](_0x204af6){const _0x3cdffa=_0x5b2c50;return this[_0x3cdffa(0x13f)]['setCellText'](this[_0x3cdffa(0x14f)],this[_0x3cdffa(0xc0)],_0x204af6);}['setBackgroundColor'](_0x3be90f){const _0x296256=_0x5b2c50;return this[_0x296256(0x13f)]['setCellBackground'](this[_0x296256(0x13f)]['getCellRange'](this['_row'],this[_0x296256(0xc0)]),_0x3be90f);}['setBorder'](_0x4a17e0){const _0x274e66=_0x5b2c50;return this['_table'][_0x274e66(0x14d)](this[_0x274e66(0x13f)][_0x274e66(0x105)](this[_0x274e66(0x14f)],this[_0x274e66(0xc0)]),_0x4a17e0);}['mergeTo'](_0x29fe19,_0x1fee7c){const _0x1b9a0d=_0x5b2c50;return this[_0x1b9a0d(0x13f)][_0x1b9a0d(0xcd)]({'startRow':this[_0x1b9a0d(0x14f)],'startColumn':this['_column'],'endRow':this['_row']+_0x29fe19-0x1,'endColumn':this['_column']+_0x1fee7c-0x1});}[_0x5b2c50(0xbb)](){const _0x20cb10=_0x5b2c50;return this[_0x20cb10(0x13f)]['unmergeCells'](this[_0x20cb10(0x13f)][_0x20cb10(0x105)](this[_0x20cb10(0x14f)],this['_column']));}};function _0xc5e662(_0x13a2ad){'@babel/helpers - typeof';const _0x1e1aaa=_0x5b2c50;return _0xc5e662=typeof Symbol==_0x1e1aaa(0x162)&&typeof Symbol[_0x1e1aaa(0x113)]=='symbol'?function(_0x35e2a9){return typeof _0x35e2a9;}:function(_0x3b4c70){const _0x82a27d=_0x1e1aaa;return _0x3b4c70&&typeof Symbol=='function'&&_0x3b4c70['constructor']===Symbol&&_0x3b4c70!==Symbol[_0x82a27d(0x183)]?'symbol':typeof _0x3b4c70;},_0xc5e662(_0x13a2ad);}function _0x5735bd(_0x13c064,_0x253e80){const _0x3662e8=_0x5b2c50;if(_0xc5e662(_0x13c064)!=_0x3662e8(0x178)||!_0x13c064)return _0x13c064;var _0x310599;if(typeof Symbol<'u'&&(_0x310599=_0x13c064[Symbol['toPrimitive']])!==void 0x0){var _0x531093=_0x310599[_0x3662e8(0xaf)](_0x13c064,_0x253e80||'default');if(_0xc5e662(_0x531093)!='object')return _0x531093;throw TypeError(_0x3662e8(0x10b));}return(_0x253e80===_0x3662e8(0x116)?String:Number)(_0x13c064);}function _0x466704(_0x4fb91c){const _0x126098=_0x5b2c50;var _0x4123cb=_0x5735bd(_0x4fb91c,_0x126098(0x116));return _0xc5e662(_0x4123cb)=='symbol'?_0x4123cb:_0x4123cb+'';}function _0x5989e3(_0x5aa180,_0x389ce3,_0x51e238){const _0x5e0558=_0x5b2c50;return(_0x389ce3=_0x466704(_0x389ce3))in _0x5aa180?Object[_0x5e0558(0x179)](_0x5aa180,_0x389ce3,{'value':_0x51e238,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5aa180[_0x389ce3]=_0x51e238,_0x5aa180;}function _0x4532c9(_0x21aa1b,_0x3570b3){return function(_0x320a19,_0x2c8802){_0x3570b3(_0x320a19,_0x2c8802,_0x21aa1b);};}function _0x9bfa19(_0xfecedd,_0x1aca80,_0x787a69,_0x57c805){const _0x17e824=_0x5b2c50;var _0x2bf853=arguments[_0x17e824(0x191)],_0x33d799=_0x2bf853<0x3?_0x1aca80:_0x57c805===null?_0x57c805=Object[_0x17e824(0x16b)](_0x1aca80,_0x787a69):_0x57c805,_0x1573d1;if(typeof Reflect==_0x17e824(0x178)&&typeof Reflect[_0x17e824(0x102)]==_0x17e824(0x162))_0x33d799=Reflect['decorate'](_0xfecedd,_0x1aca80,_0x787a69,_0x57c805);else{for(var _0xda6ba4=_0xfecedd[_0x17e824(0x191)]-0x1;_0xda6ba4>=0x0;_0xda6ba4--)(_0x1573d1=_0xfecedd[_0xda6ba4])&&(_0x33d799=(_0x2bf853<0x3?_0x1573d1(_0x33d799):_0x2bf853>0x3?_0x1573d1(_0x1aca80,_0x787a69,_0x33d799):_0x1573d1(_0x1aca80,_0x787a69))||_0x33d799);}return _0x2bf853>0x3&&_0x33d799&&Object['defineProperty'](_0x1aca80,_0x787a69,_0x33d799),_0x33d799;}let _0x4dbc7e=class{constructor(_0x2f7f3b,_0x1eef94,_0x4fcb86,_0x8562ab,_0x5ddcb6){const _0x339700=_0x5b2c50;this[_0x339700(0xf0)]=_0x2f7f3b,this['_tableId']=_0x1eef94,this['_segmentId']=_0x4fcb86,this[_0x339700(0x161)]=_0x8562ab,this[_0x339700(0x169)]=_0x5ddcb6,_0x5989e3(this,_0x339700(0x16d),void 0x0),this['_unitId']=this[_0x339700(0xf0)][_0x339700(0x15f)]();}['getId'](){const _0x2f3659=_0x5b2c50;return this[_0x2f3659(0x11c)];}[_0x5b2c50(0xf1)](){const _0x40e807=_0x5b2c50;return this[_0x40e807(0x18b)];}[_0x5b2c50(0x188)](){const _0x623702=_0x5b2c50;return{'id':this[_0x623702(0x11c)],'rowCount':this[_0x623702(0x112)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x623702(0x109)](),'source':this[_0x623702(0x126)]()};}[_0x5b2c50(0x181)](){const _0x465641=_0x5b2c50;let _0x2d7251=this[_0x465641(0x109)](),_0x5da1cc=this['getSource'](),_0x525207=this[_0x465641(0xec)]();return{'id':this[_0x465641(0x11c)],'rowCount':this['getRowCount'](),'columnCount':_0x525207,'headerRowCount':(_0x2d7251==null?void 0x0:_0x2d7251[_0x465641(0xf2)])??0x0,'titleRow':(_0x2d7251==null?void 0x0:_0x2d7251[_0x465641(0x10d)])??!0x1,'columns':Array[_0x465641(0x130)]({'length':_0x525207},(_0x20233d,_0x231e8a)=>{const _0x1cd51d=_0x465641;var _0x4063d9,_0x576c8f;return{'index':_0x231e8a,'type':_0x2d7251==null||(_0x4063d9=_0x2d7251[_0x1cd51d(0x104)])==null||(_0x4063d9=_0x4063d9[_0x231e8a])==null?void 0x0:_0x4063d9[_0x1cd51d(0x151)],'width':_0x5da1cc==null||(_0x576c8f=_0x5da1cc['tableColumns'][_0x231e8a])==null?void 0x0:_0x576c8f[_0x1cd51d(0x107)][_0x1cd51d(0x11b)]['v']};}),'sampleRows':Array[_0x465641(0x130)]({'length':this[_0x465641(0x112)]()},(_0x34a204,_0x4e6121)=>Array[_0x465641(0x130)]({'length':_0x525207},(_0x85c08e,_0x39698b)=>this[_0x465641(0x146)](_0x4e6121,_0x39698b)))[_0x465641(0x13c)](_0xd3ea27=>_0xd3ea27[_0x465641(0x13d)](_0xc2fd57=>_0xc2fd57[_0x465641(0x191)]>0x0))[_0x465641(0x12a)](0x0,0x5)};}['getRowCount'](){const _0x4acb60=_0x5b2c50;var _0x4af096;return((_0x4af096=this['getSource']())==null?void 0x0:_0x4af096[_0x4acb60(0x17b)]['length'])??0x0;}[_0x5b2c50(0xec)](){const _0x88bd80=_0x5b2c50;var _0x135f75;return((_0x135f75=this['getSource']())==null?void 0x0:_0x135f75['tableColumns'][_0x88bd80(0x191)])??0x0;}[_0x5b2c50(0xa8)](_0x530d46,_0x1f6ccb){const _0x4e865c=_0x5b2c50;var _0x3edffd;return(_0x3edffd=this[_0x4e865c(0x126)]())!=null&&(_0x3edffd=_0x3edffd[_0x4e865c(0x17b)][_0x530d46])!=null&&_0x3edffd['tableCells'][_0x1f6ccb]?this[_0x4e865c(0x169)][_0x4e865c(0x11a)](_0x1fda9e,this,_0x530d46,_0x1f6ccb):null;}[_0x5b2c50(0x146)](_0x14b55c,_0x49be95){const _0x475b03=_0x5b2c50;var _0x58dc16,_0x23a664;let _0x201415=(_0x58dc16=(0x0,_0x1c0c84[_0x475b03(0x158)])(this[_0x475b03(0x187)](),this[_0x475b03(0x11c)]))==null||(_0x58dc16=_0x58dc16[_0x475b03(0x186)][_0x14b55c])==null?void 0x0:_0x58dc16[_0x475b03(0x122)][_0x49be95];return _0x201415?((_0x23a664=this[_0x475b03(0x187)]()[_0x475b03(0xb7)])==null?void 0x0:_0x23a664['dataStream'][_0x475b03(0x12a)](_0x201415['startOffset']+0x1,_0x201415[_0x475b03(0x177)])[_0x475b03(0x14c)](/\r\n$/,''))??'':'';}[_0x5b2c50(0x175)](_0x56b842,_0x49df8d){const _0x3c24dc=_0x5b2c50;var _0x2ee204;let _0x1dc047=this[_0x3c24dc(0x126)](),_0x4b58a3=_0x1dc047==null||(_0x2ee204=_0x1dc047[_0x3c24dc(0x17b)][_0x56b842])==null?void 0x0:_0x2ee204[_0x3c24dc(0x10e)][_0x49df8d];return _0x4b58a3?_0x296ee2['Tools'][_0x3c24dc(0xbc)](_0x4b58a3['margin']??_0x1dc047[_0x3c24dc(0x167)]??_0x1c0c84['DEFAULT_DOCS_TABLE_CELL_MARGIN']):null;}[_0x5b2c50(0xdc)](_0x48378f,_0x20dc81){const _0x841019=_0x5b2c50;var _0x3987e7;let _0xaa54d=(_0x3987e7=this[_0x841019(0x126)]())==null||(_0x3987e7=_0x3987e7[_0x841019(0x17b)][_0x48378f])==null?void 0x0:_0x3987e7[_0x841019(0x10e)][_0x20dc81];return _0xaa54d!=null&&_0xaa54d[_0x841019(0x16f)]?_0x296ee2[_0x841019(0xf3)][_0x841019(0xbc)](_0xaa54d[_0x841019(0x16f)]):null;}[_0x5b2c50(0xbd)](){const _0x2238e6=_0x5b2c50;var _0x49bd01;return _0x296ee2[_0x2238e6(0xf3)]['deepClone'](((_0x49bd01=this[_0x2238e6(0x126)]())==null?void 0x0:_0x49bd01[_0x2238e6(0x167)])??_0x1c0c84[_0x2238e6(0xba)]);}[_0x5b2c50(0x15a)](){const _0x5a0e62=_0x5b2c50;var _0x22937c;let _0x5459d4=(_0x22937c=this[_0x5a0e62(0x126)]())==null?void 0x0:_0x22937c[_0x5a0e62(0x167)];return _0x5459d4?_0x296ee2[_0x5a0e62(0xf3)][_0x5a0e62(0xbc)](_0x5459d4):null;}[_0x5b2c50(0x109)](){const _0x1434fe=_0x5b2c50;let _0x32681b=this[_0x1434fe(0x169)][_0x1434fe(0xfc)](_0x1c0c84[_0x1434fe(0x128)]),_0x5d2536=this[_0x1434fe(0x126)]();return _0x5d2536?_0x32681b[_0x1434fe(0x119)](this[_0x1434fe(0x16d)],_0x5d2536):void 0x0;}[_0x5b2c50(0x126)](){const _0x47a6d3=_0x5b2c50;var _0x38ac1d;return(_0x38ac1d=this[_0x47a6d3(0x187)]()[_0x47a6d3(0xe9)])==null?void 0x0:_0x38ac1d[this[_0x47a6d3(0x11c)]];}['getRange'](){const _0x225771=_0x5b2c50;return(0x0,_0x1c0c84['getTableRangeById'])(this[_0x225771(0x187)](),this[_0x225771(0x11c)]);}[_0x5b2c50(0xc8)](){const _0x10b4d3=_0x5b2c50;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x10b4d3(0x112)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x10b4d3(0xab)](0x0,this[_0x10b4d3(0xec)]()-0x1)};}[_0x5b2c50(0x105)](_0x2efe87,_0x4e3106){return{'startRow':_0x2efe87,'endRow':_0x2efe87,'startColumn':_0x4e3106,'endColumn':_0x4e3106};}[_0x5b2c50(0x148)](_0x4b7954,_0x526a1b){const _0x5b7f0e=_0x5b2c50;var _0x218f38;let _0x31c2ab=(_0x218f38=(0x0,_0x1c0c84[_0x5b7f0e(0x158)])(this['_getDocumentData'](),this[_0x5b7f0e(0x11c)]))==null||(_0x218f38=_0x218f38['rows'][_0x4b7954])==null?void 0x0:_0x218f38['cells'][_0x526a1b];if(!_0x31c2ab)return null;let _0x5ea67d=_0x31c2ab[_0x5b7f0e(0xb6)]+0x1;return{'startOffset':_0x5ea67d,'endOffset':Math[_0x5b7f0e(0xab)](_0x5ea67d,_0x31c2ab[_0x5b7f0e(0x177)]-0x1),'segmentId':this[_0x5b7f0e(0x18b)]};}[_0x5b2c50(0xdd)](_0x5a526f,_0x3d3086){const _0x52026e=_0x5b2c50;let _0x53c178=this['getCellContentRange'](_0x5a526f,_0x3d3086);return _0x53c178?Math['max'](_0x53c178[_0x52026e(0xb6)],_0x53c178[_0x52026e(0x177)]-0x1):null;}['getRowRange'](_0x651db0){const _0x47f4a2=_0x5b2c50;return this[_0x47f4a2(0xbf)](_0x651db0,0x1);}['getRowsRange'](_0x6be31b,_0x289891=0x1){const _0x1fee5f=_0x5b2c50;return{'startRow':_0x6be31b,'endRow':_0x6be31b+_0x289891-0x1,'startColumn':0x0,'endColumn':Math[_0x1fee5f(0xab)](0x0,this[_0x1fee5f(0xec)]()-0x1)};}[_0x5b2c50(0x184)](_0x184862){return this['getColumnsRange'](_0x184862,0x1);}[_0x5b2c50(0xcf)](_0x1c9ad9,_0x19b37e=0x1){const _0x38abac=_0x5b2c50;return{'startRow':0x0,'endRow':Math[_0x38abac(0xab)](0x0,this[_0x38abac(0x112)]()-0x1),'startColumn':_0x1c9ad9,'endColumn':_0x1c9ad9+_0x19b37e-0x1};}['selectTable'](){const _0x5d3d59=_0x5b2c50;return this[_0x5d3d59(0xc4)](this[_0x5d3d59(0xc8)](),_0x1c0c84[_0x5d3d59(0xf5)][_0x5d3d59(0xe7)]);}[_0x5b2c50(0x18c)](_0x132889){return this['selectRows'](_0x132889,0x1);}['selectRows'](_0x410562,_0x43db3=0x1){const _0x5b8859=_0x5b2c50;return this[_0x5b8859(0xc4)](this[_0x5b8859(0xbf)](_0x410562,_0x43db3),_0x1c0c84[_0x5b8859(0xf5)][_0x5b8859(0x16c)]);}[_0x5b2c50(0xb1)](_0x4bccf8){const _0x25dec2=_0x5b2c50;return this[_0x25dec2(0x189)](_0x4bccf8,0x1);}[_0x5b2c50(0x189)](_0x5be760,_0x34328d=0x1){const _0x17ba1a=_0x5b2c50;return this[_0x17ba1a(0xc4)](this['getColumnsRange'](_0x5be760,_0x34328d),_0x1c0c84[_0x17ba1a(0xf5)]['Column']);}['selectCell'](_0x2e20de,_0x371235){const _0x219970=_0x5b2c50;return this[_0x219970(0xc4)](this[_0x219970(0x105)](_0x2e20de,_0x371235),_0x1c0c84[_0x219970(0xf5)]['Cell']);}[_0x5b2c50(0xc4)](_0x48b9e9,_0x534089=_0x1c0c84[_0x5b2c50(0xf5)][_0x5b2c50(0x190)]){const _0x512dcc=_0x5b2c50;return this['_injector'][_0x512dcc(0xfc)](_0x1c0c84[_0x512dcc(0x17c)])[_0x512dcc(0x142)]({..._0x48b9e9,'kind':_0x534089,'segmentId':this[_0x512dcc(0x18b)],'tableId':this[_0x512dcc(0x11c)]}),!0x0;}[_0x5b2c50(0x15e)](_0x3f1c10){const _0x5266e2=_0x5b2c50;return this[_0x5266e2(0xd2)](_0x3f1c10,0x1);}[_0x5b2c50(0x17f)](_0xd7711e){return this['insertRowsAfter'](_0xd7711e,0x1);}[_0x5b2c50(0xd2)](_0x22c137,_0x245f9b){const _0x27f9e3=_0x5b2c50;let _0x23f1b4=this['_getDocumentData'](),_0x50e878=(0x0,_0x1c0c84[_0x27f9e3(0x138)])(_0x23f1b4,this['_tableId'],_0x22c137,_0x245f9b,_0x1c0c84[_0x27f9e3(0x16a)][_0x27f9e3(0xd8)],this[_0x27f9e3(0x10f)]());return _0x50e878?this[_0x27f9e3(0x163)](_0x23f1b4,_0x50e878[_0x27f9e3(0x133)]):!0x1;}[_0x5b2c50(0xb0)](_0x1b8605,_0x37891c){const _0xa7ae32=_0x5b2c50;let _0x2372e5=this[_0xa7ae32(0x187)](),_0x1ae0e5=(0x0,_0x1c0c84[_0xa7ae32(0x138)])(_0x2372e5,this[_0xa7ae32(0x11c)],_0x1b8605,_0x37891c,_0x1c0c84['DocsTableInsertPosition'][_0xa7ae32(0x115)],this[_0xa7ae32(0x10f)]());return _0x1ae0e5?this[_0xa7ae32(0x163)](_0x2372e5,_0x1ae0e5[_0xa7ae32(0x133)]):!0x1;}[_0x5b2c50(0xef)](){const _0x27877e=_0x5b2c50;return this[_0x27877e(0xb0)](Math[_0x27877e(0xab)](0x0,this['getRowCount']()-0x1),0x1);}[_0x5b2c50(0x159)](_0x45a659){const _0x5ce841=_0x5b2c50;return this[_0x5ce841(0x10c)](_0x45a659,0x1);}[_0x5b2c50(0x166)](_0xe5b979){const _0x528939=_0x5b2c50;return this[_0x528939(0xed)](_0xe5b979,0x1);}[_0x5b2c50(0x10c)](_0x1d26f5,_0x1d54e1){const _0x2cb7e5=_0x5b2c50;let _0x1e8b3f=this[_0x2cb7e5(0x187)](),_0x2f8dfe=(0x0,_0x1c0c84['buildInsertTableColumnsMutationActions'])(_0x1e8b3f,this[_0x2cb7e5(0x11c)],_0x1d26f5,_0x1d54e1,_0x1c0c84[_0x2cb7e5(0x16a)]['Left'],{'bodyPath':this[_0x2cb7e5(0x10f)]()});return _0x2f8dfe?this[_0x2cb7e5(0x163)](_0x1e8b3f,_0x2f8dfe['actions']):!0x1;}[_0x5b2c50(0xed)](_0xfbc5b2,_0x2f2e9d){const _0x3a5e01=_0x5b2c50;let _0x430179=this['_getDocumentData'](),_0x260362=(0x0,_0x1c0c84[_0x3a5e01(0x134)])(_0x430179,this['_tableId'],_0xfbc5b2,_0x2f2e9d,_0x1c0c84[_0x3a5e01(0x16a)][_0x3a5e01(0x11f)],{'bodyPath':this[_0x3a5e01(0x10f)]()});return _0x260362?this[_0x3a5e01(0x163)](_0x430179,_0x260362[_0x3a5e01(0x133)]):!0x1;}[_0x5b2c50(0xe2)](){const _0x87580b=_0x5b2c50;return this['insertColumnsAfter'](Math[_0x87580b(0xab)](0x0,this[_0x87580b(0xec)]()-0x1),0x1);}[_0x5b2c50(0x136)](_0x32ec00){const _0x68748e=_0x5b2c50;return this[_0x68748e(0x129)](_0x32ec00,0x1);}[_0x5b2c50(0x129)](_0x4efa01,_0x2bba8e=0x1){const _0x467fa4=_0x5b2c50;return!!this[_0x467fa4(0x161)][_0x467fa4(0x108)](_0x1c0c84['DocsTableDeleteRowsCommand']['id'],{'endRow':_0x4efa01+_0x2bba8e-0x1,'segmentId':this[_0x467fa4(0x18b)],'startRow':_0x4efa01,'tableId':this[_0x467fa4(0x11c)],'unitId':this[_0x467fa4(0x16d)]});}[_0x5b2c50(0xb2)](_0x1b14d){const _0x421867=_0x5b2c50;return this[_0x421867(0x123)](_0x1b14d,0x1);}[_0x5b2c50(0x123)](_0x5d3e4b,_0x15d45a=0x1){const _0x4e9a6b=_0x5b2c50;return!!this['_commandService'][_0x4e9a6b(0x108)](_0x1c0c84['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x5d3e4b+_0x15d45a-0x1,'segmentId':this[_0x4e9a6b(0x18b)],'startColumn':_0x5d3e4b,'tableId':this[_0x4e9a6b(0x11c)],'unitId':this['_unitId']});}[_0x5b2c50(0x14b)](){const _0x1121aa=_0x5b2c50;return!!this[_0x1121aa(0x161)][_0x1121aa(0x108)](_0x1c0c84[_0x1121aa(0x174)]['id'],{'segmentId':this[_0x1121aa(0x18b)],'tableId':this['_tableId'],'unitId':this[_0x1121aa(0x16d)]});}[_0x5b2c50(0xce)](_0x4eeefd,_0x372992){const _0x478e3d=_0x5b2c50;let _0x267ce2=this['_getDocumentData']();return this['_mutateActions'](_0x267ce2,(0x0,_0x1c0c84[_0x478e3d(0x17a)])(_0x267ce2,this[_0x478e3d(0x11c)],_0x4eeefd,_0x372992));}[_0x5b2c50(0x180)](_0x3d55c4){const _0x229256=_0x5b2c50;let _0x4a8859=this[_0x229256(0x187)]();return this['_mutateActions'](_0x4a8859,(0x0,_0x1c0c84[_0x229256(0xe1)])(_0x4a8859,this['_tableId'],_0x3d55c4,this[_0x229256(0x10f)]()));}[_0x5b2c50(0x16e)](_0x665d12,_0x532ed2,_0x1d3b6e=_0x1c0c84[_0x5b2c50(0x16a)]['Above']){const _0x573cc7=_0x5b2c50;return this[_0x573cc7(0x131)](_0x665d12,0x1,_0x532ed2,_0x1d3b6e);}[_0x5b2c50(0x131)](_0x83608a,_0x23b57b,_0x2fa067,_0x3a9ccd=_0x1c0c84[_0x5b2c50(0x16a)][_0x5b2c50(0xd8)]){const _0x62fa3e=_0x5b2c50;let _0x1e58c4=this[_0x62fa3e(0x187)](),_0x409fb4=(0x0,_0x1c0c84['buildMoveTableRowsMutationActions'])(_0x1e58c4,this[_0x62fa3e(0x11c)],_0x83608a,_0x2fa067,_0x23b57b,_0x3a9ccd,this[_0x62fa3e(0x10f)]());return _0x409fb4?this[_0x62fa3e(0x163)](_0x1e58c4,_0x409fb4['actions']):!0x1;}[_0x5b2c50(0x185)](_0x4eaa10,_0x2e6a5f,_0x1b19ed=_0x1c0c84[_0x5b2c50(0x16a)][_0x5b2c50(0x157)]){const _0x4a20ee=_0x5b2c50;return this[_0x4a20ee(0xc3)](_0x4eaa10,0x1,_0x2e6a5f,_0x1b19ed);}[_0x5b2c50(0xc3)](_0x308860,_0x539c58,_0x35c671,_0x150989=_0x1c0c84['DocsTableInsertPosition'][_0x5b2c50(0x157)]){const _0x1fb173=_0x5b2c50;let _0x265915=this['_getDocumentData'](),_0x5d2644=(0x0,_0x1c0c84['buildMoveTableColumnsMutationActions'])(_0x265915,this[_0x1fb173(0x11c)],_0x308860,_0x35c671,_0x539c58,_0x150989,this['_getBodyPath']());return _0x5d2644?this[_0x1fb173(0x163)](_0x265915,_0x5d2644['actions']):!0x1;}[_0x5b2c50(0xcd)](_0x25e2ff){const _0x29b086=_0x5b2c50;try{let _0x3b6d7a=this[_0x29b086(0x187)](),_0x2269cb=(0x0,_0x1c0c84['buildMergeCellsMutationActions'])({'documentData':_0x3b6d7a,'tableId':this[_0x29b086(0x11c)],..._0x25e2ff});return _0x2269cb?this[_0x29b086(0x163)](_0x3b6d7a,_0x2269cb['actions'],_0x25e2ff):!0x1;}catch{return!0x1;}}[_0x5b2c50(0xb8)](_0x127348){const _0x41e788=_0x5b2c50;try{let _0x490935=this[_0x41e788(0x187)](),_0x101595=(0x0,_0x1c0c84[_0x41e788(0xd5)])({'documentData':_0x490935,'tableId':this[_0x41e788(0x11c)],..._0x127348});return _0x101595?this[_0x41e788(0x163)](_0x490935,_0x101595['actions'],_0x127348):!0x1;}catch{return!0x1;}}[_0x5b2c50(0xde)](_0x232ddb,_0x4cad75,_0x19d88f){const _0x11745b=_0x5b2c50;let _0x4dd285=this[_0x11745b(0x187)](),_0x1f8ede=(0x0,_0x1c0c84[_0x11745b(0x13e)])(this[_0x11745b(0xf0)][_0x11745b(0x154)]()[_0x11745b(0x147)](),this[_0x11745b(0x18b)]);return this['_mutateActions'](_0x4dd285,(0x0,_0x1c0c84[_0x11745b(0xb4)])({'documentData':_0x4dd285,'tableId':this[_0x11745b(0x11c)],'row':_0x232ddb,'column':_0x4cad75,'text':_0x19d88f},_0x1f8ede),this[_0x11745b(0x105)](_0x232ddb,_0x4cad75));}[_0x5b2c50(0x10a)](_0x2f7b6c,_0x5a02a9){const _0x426c36=_0x5b2c50;let _0x391aab=this[_0x426c36(0x187)]();return this[_0x426c36(0x163)](_0x391aab,(0x0,_0x1c0c84['buildSetTableBackgroundMutationActions'])(_0x391aab,{'tableId':this[_0x426c36(0x11c)],..._0x2f7b6c,'value':_0x5a02a9}),_0x2f7b6c);}[_0x5b2c50(0xf9)](_0x43bf16,_0x15a901){const _0x55f662=_0x5b2c50;let _0x510547=this['_getDocumentData']();return this[_0x55f662(0x163)](_0x510547,(0x0,_0x1c0c84['buildSetTableCellMarginMutationActions'])({'documentData':_0x510547,'tableId':this[_0x55f662(0x11c)],..._0x43bf16,'margin':_0x15a901}),_0x43bf16);}[_0x5b2c50(0xd6)](_0x21c758){const _0x5d6334=_0x5b2c50;let _0x2087ec=this['_getDocumentData']();return this[_0x5d6334(0x163)](_0x2087ec,(0x0,_0x1c0c84['buildSetTableDefaultCellMarginMutationActions'])(_0x2087ec,this[_0x5d6334(0x11c)],_0x21c758));}[_0x5b2c50(0x14d)](_0x19b191,_0x349204){const _0x17ca1d=_0x5b2c50;let _0x269985=this[_0x17ca1d(0x187)]();return this[_0x17ca1d(0x163)](_0x269985,this[_0x17ca1d(0x114)](_0x269985,_0x19b191,_0x349204),_0x19b191);}['setTableBackground'](_0x26726d){const _0x5ece7e=_0x5b2c50;return this[_0x5ece7e(0x10a)](this['getTableRange'](),_0x26726d);}['setTableBorder'](_0x3b9c9e){const _0x11af16=_0x5b2c50;return this['setBorder'](this[_0x11af16(0xc8)](),_0x3b9c9e);}[_0x5b2c50(0xcb)](_0x4ded78){const _0x1f4a47=_0x5b2c50;let _0x4f96e9=this[_0x1f4a47(0x187)](),_0x617bc7=this['getTableRange'](),_0x27d75a=_0x4ded78['backgroundColor']?(0x0,_0x1c0c84[_0x1f4a47(0x121)])(_0x4f96e9,{'tableId':this[_0x1f4a47(0x11c)],..._0x617bc7,'value':_0x4ded78[_0x1f4a47(0xbe)]}):null,_0x4e0856=_0x4ded78[_0x1f4a47(0xb9)]?this[_0x1f4a47(0x114)](_0x4f96e9,_0x617bc7,_0x4ded78[_0x1f4a47(0xb9)]):null;return this['_mutateActions'](_0x4f96e9,_0x296ee2[_0x1f4a47(0x152)][_0x1f4a47(0x141)](_0x27d75a,_0x4e0856),_0x617bc7);}[_0x5b2c50(0x118)](_0x5049b7,_0x5d6786,_0x5402dc=_0x296ee2[_0x5b2c50(0x170)][_0x5b2c50(0xae)]){const _0x28199a=_0x5b2c50;var _0x371d53;let _0x2a218e=this[_0x28199a(0x187)]();return(_0x371d53=_0x2a218e[_0x28199a(0xe9)])!=null&&(_0x371d53=_0x371d53[this['_tableId']])!=null&&_0x371d53[_0x28199a(0x17b)][_0x5049b7]?this['_mutateActions'](_0x2a218e,(0x0,_0x1c0c84[_0x28199a(0x11e)])(_0x2a218e,this[_0x28199a(0x11c)],_0x5049b7,_0x5d6786,_0x5402dc)):!0x1;}[_0x5b2c50(0x153)](_0x804092){const _0x825a39=_0x5b2c50;var _0x353d21;let _0x27950d=(_0x353d21=this['getSource']())==null||(_0x353d21=_0x353d21[_0x825a39(0x17b)][_0x804092])==null?void 0x0:_0x353d21[_0x825a39(0xf4)];return _0x27950d?_0x296ee2['Tools'][_0x825a39(0xbc)](_0x27950d):null;}[_0x5b2c50(0x165)](_0x1a2dae,_0x48acc2){const _0x3c31f0=_0x5b2c50;var _0x5b09c1;let _0x1d772b=this[_0x3c31f0(0x187)]();return(_0x5b09c1=_0x1d772b[_0x3c31f0(0xe9)])!=null&&(_0x5b09c1=_0x5b09c1[this[_0x3c31f0(0x11c)]])!=null&&_0x5b09c1[_0x3c31f0(0xaa)][_0x1a2dae]?this[_0x3c31f0(0x163)](_0x1d772b,(0x0,_0x1c0c84[_0x3c31f0(0x15d)])(_0x1d772b,this[_0x3c31f0(0x11c)],_0x1a2dae,_0x48acc2)):!0x1;}[_0x5b2c50(0x145)](_0x531f7a=0x0,_0x56994c=this[_0x5b2c50(0x112)]()){const _0x557994=_0x5b2c50;let _0x5b2f86=this[_0x557994(0x187)]();return this['_mutateActions'](_0x5b2f86,(0x0,_0x1c0c84[_0x557994(0x143)])(_0x5b2f86,this[_0x557994(0x11c)],_0x531f7a,_0x531f7a+_0x56994c-0x1));}[_0x5b2c50(0x15c)](_0x343072=0x0,_0x57f26d=this[_0x5b2c50(0xec)]()){const _0x1ae078=_0x5b2c50;let _0x3127a7=this[_0x1ae078(0x187)]();return this[_0x1ae078(0x163)](_0x3127a7,(0x0,_0x1c0c84[_0x1ae078(0xd0)])(_0x3127a7,this[_0x1ae078(0x11c)],_0x343072,_0x343072+_0x57f26d-0x1));}[_0x5b2c50(0x12e)](){var _0x52d2ff;return((_0x52d2ff=this['getMetadata']())==null?void 0x0:_0x52d2ff['headerRowCount'])??0x0;}[_0x5b2c50(0x11d)](_0x275433){const _0x11cd72=_0x5b2c50;let _0x24857c=this['_getDocumentData'](),_0x3d21ef=(0x0,_0x1c0c84[_0x11cd72(0x101)])(_0x24857c,this[_0x11cd72(0x11c)],_0x275433);return _0x3d21ef?this['_mutateActions'](_0x24857c,_0x3d21ef[_0x11cd72(0x133)]):!0x1;}[_0x5b2c50(0xe4)](_0xa8f4d1){const _0x588670=_0x5b2c50;return this[_0x588670(0x11d)](_0xa8f4d1);}['hasTitleRow'](){const _0x24f38b=_0x5b2c50;var _0x38f77f;return((_0x38f77f=this[_0x24f38b(0x109)]())==null?void 0x0:_0x38f77f['titleRow'])??!0x1;}[_0x5b2c50(0x127)](){const _0x3259f0=_0x5b2c50;let _0x1acf47=this[_0x3259f0(0x187)](),_0x12cd7c=(0x0,_0x1c0c84[_0x3259f0(0x164)])(_0x1acf47,this[_0x3259f0(0x11c)],this[_0x3259f0(0x10f)]());return _0x12cd7c?this['_mutateActions'](_0x1acf47,_0x12cd7c[_0x3259f0(0x133)]):!0x1;}[_0x5b2c50(0x18a)](_0x4deaea,_0x4b1b09){const _0x4f5e14=_0x5b2c50;return!!this[_0x4f5e14(0x161)][_0x4f5e14(0x108)](_0x1c0c84[_0x4f5e14(0xe5)]['id'],{'unitId':this['_unitId'],'tableId':this[_0x4f5e14(0x11c)],'segmentId':this[_0x4f5e14(0x18b)],'column':_0x4deaea,'config':_0x4b1b09});}[_0x5b2c50(0xea)](_0x39d090,_0x35d08c){const _0x3cee28=_0x5b2c50;let _0x1d72d8=this['_getDocumentData']();return this[_0x3cee28(0x163)](_0x1d72d8,(0x0,_0x1c0c84['buildSortTableMutationActions'])(_0x1d72d8,this[_0x3cee28(0xe3)](),this[_0x3cee28(0x11c)],_0x39d090,_0x35d08c,this['_getBodyPath']()));}[_0x5b2c50(0x114)](_0x49ec58,_0x3e4052,_0x1a7d0c){const _0x383270=_0x5b2c50;return(0x0,_0x1c0c84[_0x383270(0xb5)])({'documentData':_0x49ec58,'tableId':this[_0x383270(0x11c)],..._0x3e4052,'preset':_0x1a7d0c[_0x383270(0x15b)]??_0x1c0c84[_0x383270(0xe8)][_0x383270(0xfb)],'border':_0x1a7d0c[_0x383270(0xb9)]??{'color':{'rgb':_0x1a7d0c[_0x383270(0x103)]??this[_0x383270(0x169)][_0x383270(0xfc)](_0x296ee2[_0x383270(0xd4)])[_0x383270(0x135)](_0x383270(0x192))},'width':{'v':_0x1a7d0c['width']??0x1},'dashStyle':_0x296ee2['DashStyleType']['SOLID']}});}['_getDocumentData'](){const _0x4e6e3d=_0x5b2c50;let _0xceab47=this[_0x4e6e3d(0xf0)][_0x4e6e3d(0x154)]()['getSnapshot']();return this[_0x4e6e3d(0x18b)]?{...this[_0x4e6e3d(0xf0)][_0x4e6e3d(0x154)](this[_0x4e6e3d(0x18b)])['getSnapshot'](),'documentStyle':_0xceab47[_0x4e6e3d(0xfe)],'tableSource':_0xceab47['tableSource']}:_0xceab47;}[_0x5b2c50(0xe3)](){const _0x55acd4=_0x5b2c50;return this[_0x55acd4(0x169)][_0x55acd4(0xfc)](_0x1c0c84[_0x55acd4(0x128)])[_0x55acd4(0x18e)](this[_0x55acd4(0x16d)],this[_0x55acd4(0xf0)][_0x55acd4(0x154)]()[_0x55acd4(0x147)]());}[_0x5b2c50(0x10f)](){const _0x13baa9=_0x5b2c50;return(0x0,_0x1c0c84['getTableActionBodyPath'])(this['_document'][_0x13baa9(0x154)]()['getSnapshot'](),this[_0x13baa9(0x18b)]);}['_mutateActions'](_0x1c2f0c,_0x271c9a,_0x4a3d52){const _0x5bb8ae=_0x5b2c50;return(0x0,_0x1c0c84['executeRichTextTableActions'])(this[_0x5bb8ae(0x161)],this[_0x5bb8ae(0x16d)],_0x1c2f0c,_0x271c9a,_0x4a3d52?{'tableId':this[_0x5bb8ae(0x11c)],'segmentId':this[_0x5bb8ae(0x18b)],..._0x4a3d52}:void 0x0);}};_0x4dbc7e=_0x9bfa19([_0x4532c9(0x3,_0x296ee2[_0x5b2c50(0x14e)]),_0x4532c9(0x4,(0x0,_0x296ee2[_0x5b2c50(0xc1)])(_0x296ee2[_0x5b2c50(0x137)]))],_0x4dbc7e);var _0x4ea214=class extends _0x25c57e[_0x5b2c50(0xf7)]{[_0x5b2c50(0xc2)](_0x50570d=''){const _0x2b5b4d=_0x5b2c50;return this[_0x2b5b4d(0xdf)](_0x50570d)[_0x2b5b4d(0xfa)](_0x43ff1e=>this[_0x2b5b4d(0x18d)](_0x43ff1e[_0x2b5b4d(0xe6)],_0x50570d));}['getTable'](_0x53e089,_0x5ad5b0=''){const _0x5b2225=_0x5b2c50;return this[_0x5b2225(0xdf)](_0x5ad5b0)[_0x5b2225(0x13d)](_0x5b879d=>_0x5b879d['tableId']===_0x53e089)?this[_0x5b2225(0x18d)](_0x53e089,_0x5ad5b0):null;}[_0x5b2c50(0xe0)](_0xd6e23e,_0xcb635e=''){const _0x4f3fa0=_0x5b2c50;var _0x30cf8e;let _0x5492eb=(_0x30cf8e=this['_getTables'](_0xcb635e)[_0xd6e23e])==null?void 0x0:_0x30cf8e[_0x4f3fa0(0xe6)];return _0x5492eb?this['_createFDocumentTable'](_0x5492eb,_0xcb635e):null;}[_0x5b2c50(0x176)](){const _0x50b746=_0x5b2c50;let _0x3f036f=this[_0x50b746(0x169)][_0x50b746(0xfc)](_0x1c0c84[_0x50b746(0x17c)])[_0x50b746(0x140)]();return _0x3f036f!=null&&_0x3f036f[_0x50b746(0xe6)]?this[_0x50b746(0x18d)](_0x3f036f[_0x50b746(0xe6)],_0x3f036f[_0x50b746(0x132)]):null;}[_0x5b2c50(0xeb)](_0x5e2a37,_0xbf2f1d=''){const _0x43eabc=_0x5b2c50;return this[_0x43eabc(0x17d)](_0x5e2a37,_0xbf2f1d)[0x0]??null;}[_0x5b2c50(0x17d)](_0x1da63a,_0x20223b=''){const _0xb508ef=_0x5b2c50;let _0x2acd46=this['_getTableDocumentData'](_0x20223b),_0x3a6d6e=typeof _0x1da63a==_0xb508ef(0x116)?{'text':_0x1da63a}:_0x1da63a;return this['getTables'](_0x20223b)[_0xb508ef(0x13c)](_0x71855e=>{const _0x1b3500=_0xb508ef;let _0x3db7cc=_0x71855e[_0x1b3500(0x15f)]();return!(_0x3a6d6e['tableId']&&_0x3db7cc!==_0x3a6d6e[_0x1b3500(0xe6)]||_0x3a6d6e['text']&&!this[_0x1b3500(0xb3)](_0x2acd46,_0x3db7cc,_0x3a6d6e[_0x1b3500(0x13a)])||_0x3a6d6e[_0x1b3500(0xfd)]&&!this[_0x1b3500(0x17e)](_0x71855e,0x0,_0x3a6d6e[_0x1b3500(0xfd)])||_0x3a6d6e[_0x1b3500(0x195)]&&!this[_0x1b3500(0x17e)](_0x71855e,0x0,_0x3a6d6e[_0x1b3500(0x195)]));});}[_0x5b2c50(0xd1)](_0x495f42,_0x186dba,_0x295508={}){const _0x10ebc1=_0x5b2c50;let _0x19e506=this[_0x10ebc1(0x169)][_0x10ebc1(0xfc)](_0x296ee2['ICommandService']),_0x16fc1f=_0x295508['tableId']??(0x0,_0x296ee2['generateRandomId'])(0x6);return _0x19e506[_0x10ebc1(0x108)](_0x1c0c84[_0x10ebc1(0x139)]['id'],{..._0x295508,'unitId':this['getId'](),'rows':_0x495f42,'columns':_0x186dba,'tableId':_0x16fc1f})?this[_0x10ebc1(0x18d)](_0x16fc1f,_0x295508['segmentId']??''):null;}['insertTableFromData'](_0x1b026b,_0x1d4c3c={}){const _0x172d6b=_0x5b2c50;let _0x4a7e7a=this[_0x172d6b(0x169)][_0x172d6b(0xfc)](_0x296ee2[_0x172d6b(0x14e)]),_0x14a249=_0x1d4c3c['tableId']??(0x0,_0x296ee2[_0x172d6b(0xd7)])(0x6);return _0x4a7e7a['syncExecuteCommand'](_0x1c0c84[_0x172d6b(0x139)]['id'],{..._0x1d4c3c,'unitId':this['getId'](),'values':_0x1b026b,'tableId':_0x14a249})?this[_0x172d6b(0x18d)](_0x14a249,_0x1d4c3c[_0x172d6b(0x132)]??''):null;}[_0x5b2c50(0xdf)](_0x45bc63=''){const _0x29cfdd=_0x5b2c50;let {tables:_0x196a87=[]}=this[_0x29cfdd(0xa9)](_0x45bc63);return _0x196a87;}[_0x5b2c50(0xf6)](_0x8f6dd6=''){const _0xe40502=_0x5b2c50;let _0x5d994e=this['getDocumentDataModel']()[_0xe40502(0x147)]();return _0x8f6dd6?{...this[_0xe40502(0x154)](_0x8f6dd6)[_0xe40502(0x147)](),'documentStyle':_0x5d994e[_0xe40502(0xfe)],'tableSource':_0x5d994e['tableSource']}:_0x5d994e;}[_0x5b2c50(0x18d)](_0x4797d1,_0x3add83=''){const _0x14f640=_0x5b2c50;return this[_0x14f640(0x169)]['createInstance'](_0x4dbc7e,this,_0x4797d1,_0x3add83);}['_tableContainsText'](_0x544d8a,_0x43fc34,_0x1bc468){const _0x2b73a0=_0x5b2c50;var _0x19b64f;let _0x32c5c6=(0x0,_0x1c0c84['getTableRangeById'])(_0x544d8a,_0x43fc34);if(!_0x32c5c6)return!0x1;let _0x3b7936=(_0x19b64f=_0x544d8a[_0x2b73a0(0xb7)])==null?void 0x0:_0x19b64f[_0x2b73a0(0x193)];return _0x3b7936?_0x3b7936[_0x2b73a0(0x12a)](_0x32c5c6[_0x2b73a0(0xb6)],_0x32c5c6[_0x2b73a0(0x177)])['includes'](_0x1bc468):!0x1;}[_0x5b2c50(0x17e)](_0x553c71,_0x467af3,_0x472355){const _0x55337e=_0x5b2c50;return Array[_0x55337e(0x130)]({'length':_0x553c71[_0x55337e(0xec)]()},(_0x280f5b,_0x25b38c)=>_0x553c71[_0x55337e(0x146)](_0x467af3,_0x25b38c))[_0x55337e(0x13d)](_0x439971=>_0x439971[_0x55337e(0x110)](_0x472355));}};_0x25c57e['FDocument'][_0x5b2c50(0xf8)](_0x4ea214),Object[_0x5b2c50(0x179)](_0x3bd557,_0x5b2c50(0xd3),{'enumerable':!0x0,'get':function(){return _0x4dbc7e;}}),_0x3bd557[_0x5b2c50(0x124)]=_0x1fda9e;}));function _0x117e(_0x14be09,_0x50dda1){_0x14be09=_0x14be09-0xa8;const _0x3cb2b7=_0x3cb2();let _0x117e8a=_0x3cb2b7[_0x14be09];return _0x117e8a;}function _0x3cb2(){const _0x3f9a65=['@univerjs/core/facade','UniverProDocsTable','getCellMarginOverride','getCellInsertOffset','setCellText','_getTables','getTableAt','buildMoveTableToOffsetMutationActions','appendColumn','_serializeModel','pinHeaderRows','DocsTableSetColumnTypeCommand','tableId','Table','DocsTableBorderPreset','tableSource','sortByColumn','findTableByText','getColumnCount','insertColumnsAfter','2166120uEZQEV','appendRow','_document','getSegmentId','headerRowCount','Tools','trHeight','DocsTableSelectionKind','_getTableDocumentData','FDocument','extend','setCellMargin','map','All','get','headerText','documentStyle','exports','UniverCoreFacade','buildSetTableHeaderRowCountMutationActions','decorate','color','columnTypes','getCellRange','Module','size','syncExecuteCommand','getMetadata','setCellBackground','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','insertColumnsBefore','titleRow','tableCells','_getBodyPath','includes','getInsertOffset','getRowCount','iterator','_buildBorderActions','Below','string','279TlpLDf','setRowHeight','resolveTableMetadata','createInstance','width','_tableId','setHeaderRowCount','buildResizeTableRowActionsFromHeight','Right','197609aXSmGF','buildSetTableBackgroundMutationActions','cells','deleteColumns','FDocumentTableCell','136510RlBHyN','getSource','insertTitleRow','DocsTableModel','deleteRows','slice','UniverDocsFacade','7004074NmzFME','DocsTableColumnType','getHeaderRowCount','57267eajiHv','from','moveRows','segmentId','actions','buildInsertTableColumnsMutationActions','getColorFromTheme','deleteRow','Injector','buildInsertTableRowsMutationActions','DocsTableInsertTableCommand','text','getMarginOverride','filter','some','getTableActionBodyPath','_table','getStableTableSelection','compose','setStructuralSelection','buildDistributeTableRowsMutationActions','983322pxzdsr','distributeRows','getCellText','getSnapshot','getCellContentRange','DocsTableRowInsertPosition','UniverProDocsTableFacade','deleteTable','replace','setBorder','ICommandService','_row','@univerjs-pro/docs-table','type','JSONX','getRowHeight','getDocumentDataModel','DocsTableColumnInsertPosition','140poaqbq','Left','getTableRangeById','insertColumnBefore','getDefaultCellMarginOverride','preset','distributeColumns','buildResizeTableColumnActionsFromWidth','insertRowBefore','getId','getMargin','_commandService','function','_mutateActions','buildInsertTableTitleRowMutationActions','setColumnWidth','insertColumnAfter','cellMargin','@univerjs/core','_injector','DocsTableInsertPosition','getOwnPropertyDescriptor','Row','_unitId','moveRow','margin','TableRowHeightRule','2pCawIL','DashStyleType','DocsTableInsertTablePosition','DocsTableDeleteTableCommand','getCellMargin','getTableAtSelection','endOffset','object','defineProperty','buildMoveFloatingTableMutationActions','tableRows','DocsTableSelectionService','findTables','_rowContainsText','insertRowAfter','moveTableToOffset','describe','clearMarginOverride','prototype','getColumnRange','moveColumn','rows','_getDocumentData','getInfo','selectColumns','setColumnType','_segmentId','selectRow','_createFDocumentTable','serializeDocument','UniverCore','Range','length','gray.900','dataStream','getTable','titleText','getCell','getBody','tableColumns','max','toStringTag','@univerjs/docs/facade','AT_LEAST','call','insertRowsAfter','selectColumn','deleteColumn','_tableContainsText','buildSetTableCellTextMutationActions','buildSetTableBorderMutationActions','startOffset','body','unmergeCells','border','DEFAULT_DOCS_TABLE_CELL_MARGIN','unmerge','deepClone','getDefaultCellMargin','backgroundColor','getRowsRange','_column','Inject','getTables','moveColumns','selectRange','FEnum','12OsLAAZ','getColumnIndex','getTableRange','setText','getRowIndex','setTableStyle','432YYEibr','mergeCells','moveTableBy','getColumnsRange','buildDistributeTableColumnsMutationActions','insertTable','insertRowsBefore','FDocumentTable','ThemeService','buildUnmergeCellsMutationActions','setDefaultCellMargin','generateRandomId','Above','8934hjDIsU'];_0x3cb2=function(){return _0x3f9a65;};return _0x3cb2();}
1
+ function _0x131a(_0x9af8f0,_0x106413){_0x9af8f0=_0x9af8f0-0x197;const _0x2468c3=_0x2468();let _0x131a5c=_0x2468c3[_0x9af8f0];return _0x131a5c;}(function(_0x379c7d,_0x1f7338){const _0x257b90=_0x131a,_0x4a618c=_0x379c7d();while(!![]){try{const _0x43724c=-parseInt(_0x257b90(0x26a))/0x1*(-parseInt(_0x257b90(0x1ff))/0x2)+parseInt(_0x257b90(0x212))/0x3+parseInt(_0x257b90(0x1d1))/0x4*(parseInt(_0x257b90(0x228))/0x5)+-parseInt(_0x257b90(0x1d6))/0x6*(-parseInt(_0x257b90(0x1ba))/0x7)+-parseInt(_0x257b90(0x1bd))/0x8+-parseInt(_0x257b90(0x1e4))/0x9*(parseInt(_0x257b90(0x1ef))/0xa)+-parseInt(_0x257b90(0x1a6))/0xb*(parseInt(_0x257b90(0x1f7))/0xc);if(_0x43724c===_0x1f7338)break;else _0x4a618c['push'](_0x4a618c['shift']());}catch(_0x38fa69){_0x4a618c['push'](_0x4a618c['shift']());}}}(_0x2468,0x891c7),function(_0x2f2500,_0x446f74){const _0x4b48d2=_0x131a;typeof exports=='object'&&typeof module<'u'?_0x446f74(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define=='function'&&define[_0x4b48d2(0x19e)]?define([_0x4b48d2(0x23a),'@univerjs-pro/docs-table',_0x4b48d2(0x1a3),'@univerjs/core/facade',_0x4b48d2(0x1fa)],_0x446f74):(_0x2f2500=typeof globalThis<'u'?globalThis:_0x2f2500||self,_0x446f74(_0x2f2500[_0x4b48d2(0x250)]={},_0x2f2500[_0x4b48d2(0x23c)],_0x2f2500[_0x4b48d2(0x1d5)],_0x2f2500[_0x4b48d2(0x1c9)],_0x2f2500[_0x4b48d2(0x25b)]));}(this,function(_0xd7978e,_0x42d762,_0x545a19,_0x47e5ac,_0x2f7ccb){const _0x42456f=_0x131a;Object[_0x42456f(0x234)](_0xd7978e,Symbol[_0x42456f(0x1aa)],{'value':_0x42456f(0x1c6)});var _0xad7c20=class extends _0x47e5ac[_0x42456f(0x232)]{get[_0x42456f(0x1af)](){const _0x443859=_0x42456f;return _0x42d762[_0x443859(0x1af)];}get['DocsTableColumnType'](){const _0x5d5f64=_0x42456f;return _0x42d762[_0x5d5f64(0x1db)];}get[_0x42456f(0x1e7)](){const _0x4a80fb=_0x42456f;return _0x42d762[_0x4a80fb(0x1e7)];}get[_0x42456f(0x1f4)](){return _0x42d762['DocsTableRowInsertPosition'];}get[_0x42456f(0x254)](){const _0xe1ac6=_0x42456f;return _0x42d762[_0xe1ac6(0x254)];}get[_0x42456f(0x262)](){const _0x3e94ee=_0x42456f;return _0x42d762[_0x3e94ee(0x262)];}get[_0x42456f(0x20f)](){return _0x42d762['DocsTableSortDirection'];}get[_0x42456f(0x1dc)](){return _0x545a19['DashStyleType'];}};_0x47e5ac[_0x42456f(0x232)][_0x42456f(0x22a)](_0xad7c20);var _0x170945=class{constructor(_0xd0f95b,_0x55bb65,_0x3b81cc){const _0x3e895d=_0x42456f;this[_0x3e895d(0x1f2)]=_0xd0f95b,this[_0x3e895d(0x1cb)]=_0x55bb65,this[_0x3e895d(0x1d3)]=_0x3b81cc;}['getTable'](){const _0x1786cf=_0x42456f;return this[_0x1786cf(0x1f2)];}[_0x42456f(0x201)](){const _0x3785d2=_0x42456f;return this[_0x3785d2(0x1cb)];}[_0x42456f(0x24f)](){const _0x3afb7b=_0x42456f;return this[_0x3afb7b(0x1d3)];}['getText'](){const _0x2fd934=_0x42456f;return this[_0x2fd934(0x1f2)][_0x2fd934(0x1f5)](this[_0x2fd934(0x1cb)],this[_0x2fd934(0x1d3)]);}[_0x42456f(0x1f0)](){const _0x2d207b=_0x42456f;return this[_0x2d207b(0x1f2)][_0x2d207b(0x25c)](this[_0x2d207b(0x1cb)],this['_column']);}[_0x42456f(0x1e1)](){const _0x4dd4a7=_0x42456f;return this[_0x4dd4a7(0x1f2)]['getCellInsertOffset'](this[_0x4dd4a7(0x1cb)],this[_0x4dd4a7(0x1d3)]);}['getMargin'](){const _0x393cc3=_0x42456f;return this['_table'][_0x393cc3(0x23d)](this['_row'],this[_0x393cc3(0x1d3)]);}['getMarginOverride'](){const _0x254d74=_0x42456f;return this[_0x254d74(0x1f2)]['getCellMarginOverride'](this[_0x254d74(0x1cb)],this[_0x254d74(0x1d3)]);}[_0x42456f(0x20c)](_0x2a0272){const _0x3ea95e=_0x42456f;return this['_table']['setCellMargin'](this[_0x3ea95e(0x1f2)][_0x3ea95e(0x20d)](this[_0x3ea95e(0x1cb)],this[_0x3ea95e(0x1d3)]),_0x2a0272);}[_0x42456f(0x22f)](){const _0x295a86=_0x42456f;return this[_0x295a86(0x1f2)][_0x295a86(0x251)](this[_0x295a86(0x1f2)][_0x295a86(0x20d)](this[_0x295a86(0x1cb)],this['_column']),null);}[_0x42456f(0x257)](_0x4e01c7){const _0x55033c=_0x42456f;return this[_0x55033c(0x1f2)][_0x55033c(0x1be)](this[_0x55033c(0x1cb)],this[_0x55033c(0x1d3)],_0x4e01c7);}[_0x42456f(0x1cf)](_0xceca69){const _0x1b13a2=_0x42456f;return this[_0x1b13a2(0x1f2)][_0x1b13a2(0x203)](this[_0x1b13a2(0x1f2)][_0x1b13a2(0x20d)](this['_row'],this['_column']),_0xceca69);}[_0x42456f(0x21d)](_0x35b51f){const _0x5c190d=_0x42456f;return this[_0x5c190d(0x1f2)][_0x5c190d(0x21d)](this[_0x5c190d(0x1f2)][_0x5c190d(0x20d)](this[_0x5c190d(0x1cb)],this[_0x5c190d(0x1d3)]),_0x35b51f);}[_0x42456f(0x1d2)](_0x8a4afe,_0x212aa9){const _0x5330cd=_0x42456f;return this[_0x5330cd(0x1f2)][_0x5330cd(0x216)]({'startRow':this[_0x5330cd(0x1cb)],'startColumn':this['_column'],'endRow':this[_0x5330cd(0x1cb)]+_0x8a4afe-0x1,'endColumn':this[_0x5330cd(0x1d3)]+_0x212aa9-0x1});}['unmerge'](){const _0x37e75c=_0x42456f;return this['_table'][_0x37e75c(0x1c1)](this[_0x37e75c(0x1f2)][_0x37e75c(0x20d)](this[_0x37e75c(0x1cb)],this[_0x37e75c(0x1d3)]));}};function _0xe4d71f(_0x2635e0){'@babel/helpers - typeof';const _0x4fa501=_0x42456f;return _0xe4d71f=typeof Symbol==_0x4fa501(0x245)&&typeof Symbol[_0x4fa501(0x1c8)]==_0x4fa501(0x1a5)?function(_0x3a01ad){return typeof _0x3a01ad;}:function(_0x193e10){const _0x56e6bd=_0x4fa501;return _0x193e10&&typeof Symbol==_0x56e6bd(0x245)&&_0x193e10['constructor']===Symbol&&_0x193e10!==Symbol['prototype']?_0x56e6bd(0x1a5):typeof _0x193e10;},_0xe4d71f(_0x2635e0);}function _0x272a87(_0x2d1133,_0xdd6977){const _0x4a3371=_0x42456f;if(_0xe4d71f(_0x2d1133)!='object'||!_0x2d1133)return _0x2d1133;var _0x119d4b;if(typeof Symbol<'u'&&(_0x119d4b=_0x2d1133[Symbol[_0x4a3371(0x22b)]])!==void 0x0){var _0x1f27a7=_0x119d4b[_0x4a3371(0x20e)](_0x2d1133,_0xdd6977||_0x4a3371(0x1f8));if(_0xe4d71f(_0x1f27a7)!=_0x4a3371(0x1fd))return _0x1f27a7;throw TypeError(_0x4a3371(0x1ab));}return(_0xdd6977===_0x4a3371(0x220)?String:Number)(_0x2d1133);}function _0x54a5d8(_0x30a269){const _0x4bbd2f=_0x42456f;var _0x2379db=_0x272a87(_0x30a269,'string');return _0xe4d71f(_0x2379db)==_0x4bbd2f(0x1a5)?_0x2379db:_0x2379db+'';}function _0x14c3cc(_0xee7f6e,_0x25a8a4,_0x230313){const _0x1b0f9c=_0x42456f;return(_0x25a8a4=_0x54a5d8(_0x25a8a4))in _0xee7f6e?Object[_0x1b0f9c(0x234)](_0xee7f6e,_0x25a8a4,{'value':_0x230313,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xee7f6e[_0x25a8a4]=_0x230313,_0xee7f6e;}function _0x593271(_0x543d72,_0x32dda7){return function(_0x1b85e5,_0x45e187){_0x32dda7(_0x1b85e5,_0x45e187,_0x543d72);};}function _0x1f8f59(_0x3e2373,_0x1a30d1,_0x244434,_0x3d91b8){const _0x411da6=_0x42456f;var _0x3b055a=arguments[_0x411da6(0x207)],_0x3462d1=_0x3b055a<0x3?_0x1a30d1:_0x3d91b8===null?_0x3d91b8=Object[_0x411da6(0x247)](_0x1a30d1,_0x244434):_0x3d91b8,_0x490127;if(typeof Reflect=='object'&&typeof Reflect[_0x411da6(0x1ea)]=='function')_0x3462d1=Reflect[_0x411da6(0x1ea)](_0x3e2373,_0x1a30d1,_0x244434,_0x3d91b8);else{for(var _0x4bb67a=_0x3e2373[_0x411da6(0x207)]-0x1;_0x4bb67a>=0x0;_0x4bb67a--)(_0x490127=_0x3e2373[_0x4bb67a])&&(_0x3462d1=(_0x3b055a<0x3?_0x490127(_0x3462d1):_0x3b055a>0x3?_0x490127(_0x1a30d1,_0x244434,_0x3462d1):_0x490127(_0x1a30d1,_0x244434))||_0x3462d1);}return _0x3b055a>0x3&&_0x3462d1&&Object[_0x411da6(0x234)](_0x1a30d1,_0x244434,_0x3462d1),_0x3462d1;}let _0x261495=class{constructor(_0x4a6a97,_0x36326d,_0x497fba,_0x136cf0,_0x37559b){const _0x526a31=_0x42456f;this[_0x526a31(0x1b7)]=_0x4a6a97,this[_0x526a31(0x258)]=_0x36326d,this[_0x526a31(0x23e)]=_0x497fba,this[_0x526a31(0x235)]=_0x136cf0,this[_0x526a31(0x1c0)]=_0x37559b,_0x14c3cc(this,_0x526a31(0x1fb),void 0x0),this['_unitId']=this[_0x526a31(0x1b7)]['getId']();}[_0x42456f(0x199)](){const _0x2a0202=_0x42456f;return this[_0x2a0202(0x258)];}['getSegmentId'](){return this['_segmentId'];}[_0x42456f(0x20b)](){const _0xf695d9=_0x42456f;return{'id':this[_0xf695d9(0x258)],'rowCount':this[_0xf695d9(0x1c2)](),'columnCount':this[_0xf695d9(0x241)](),'metadata':this[_0xf695d9(0x19a)](),'source':this[_0xf695d9(0x24d)]()};}[_0x42456f(0x259)](){const _0x3c6af6=_0x42456f;let _0x16fc27=this['getMetadata'](),_0x536a90=this['getSource'](),_0x9e5fa2=this[_0x3c6af6(0x241)]();return{'id':this['_tableId'],'rowCount':this[_0x3c6af6(0x1c2)](),'columnCount':_0x9e5fa2,'headerRowCount':(_0x16fc27==null?void 0x0:_0x16fc27[_0x3c6af6(0x1d7)])??0x0,'titleRow':(_0x16fc27==null?void 0x0:_0x16fc27['titleRow'])??!0x1,'columns':Array[_0x3c6af6(0x214)]({'length':_0x9e5fa2},(_0x20527c,_0x4a6460)=>{const _0x40107d=_0x3c6af6;var _0x312f31,_0x9e910;return{'index':_0x4a6460,'type':_0x16fc27==null||(_0x312f31=_0x16fc27[_0x40107d(0x1f1)])==null||(_0x312f31=_0x312f31[_0x4a6460])==null?void 0x0:_0x312f31[_0x40107d(0x229)],'width':_0x536a90==null||(_0x9e910=_0x536a90[_0x40107d(0x244)][_0x4a6460])==null?void 0x0:_0x9e910['size'][_0x40107d(0x269)]['v']};}),'sampleRows':Array[_0x3c6af6(0x214)]({'length':this[_0x3c6af6(0x1c2)]()},(_0x16ca46,_0xdbfb19)=>Array[_0x3c6af6(0x214)]({'length':_0x9e5fa2},(_0x44714c,_0x505240)=>this['getCellText'](_0xdbfb19,_0x505240)))[_0x3c6af6(0x264)](_0x3ea7ed=>_0x3ea7ed[_0x3c6af6(0x1ee)](_0x40162f=>_0x40162f[_0x3c6af6(0x207)]>0x0))['slice'](0x0,0x5)};}['getRowCount'](){const _0x53c766=_0x42456f;var _0x307fcc;return((_0x307fcc=this['getSource']())==null?void 0x0:_0x307fcc[_0x53c766(0x239)][_0x53c766(0x207)])??0x0;}['getColumnCount'](){const _0x444df4=_0x42456f;var _0x437126;return((_0x437126=this['getSource']())==null?void 0x0:_0x437126[_0x444df4(0x244)][_0x444df4(0x207)])??0x0;}[_0x42456f(0x267)](_0x4a0fa9,_0x12c5ac){const _0x490cec=_0x42456f;var _0x5cb347;return(_0x5cb347=this['getSource']())!=null&&(_0x5cb347=_0x5cb347[_0x490cec(0x239)][_0x4a0fa9])!=null&&_0x5cb347[_0x490cec(0x202)][_0x12c5ac]?this[_0x490cec(0x1c0)]['createInstance'](_0x170945,this,_0x4a0fa9,_0x12c5ac):null;}['getCellText'](_0x249f3b,_0x25e80b){const _0x513257=_0x42456f;var _0x2b1959,_0x3a4777;let _0x38e2df=(_0x2b1959=(0x0,_0x42d762[_0x513257(0x215)])(this['_getDocumentData'](),this[_0x513257(0x258)]))==null||(_0x2b1959=_0x2b1959['rows'][_0x249f3b])==null?void 0x0:_0x2b1959[_0x513257(0x1dd)][_0x25e80b];return _0x38e2df?((_0x3a4777=this[_0x513257(0x26d)]()[_0x513257(0x21f)])==null?void 0x0:_0x3a4777[_0x513257(0x24a)][_0x513257(0x26f)](_0x38e2df['startOffset']+0x1,_0x38e2df[_0x513257(0x263)])[_0x513257(0x1a2)](/\r\n$/,''))??'':'';}['getCellMargin'](_0x4429f1,_0x259ece){const _0x3fdb9e=_0x42456f;var _0x548876;let _0xf973da=this['getSource'](),_0x57a264=_0xf973da==null||(_0x548876=_0xf973da[_0x3fdb9e(0x239)][_0x4429f1])==null?void 0x0:_0x548876[_0x3fdb9e(0x202)][_0x259ece];return _0x57a264?_0x545a19[_0x3fdb9e(0x230)][_0x3fdb9e(0x1df)](_0x57a264[_0x3fdb9e(0x1a9)]??_0xf973da[_0x3fdb9e(0x22d)]??_0x42d762['DEFAULT_DOCS_TABLE_CELL_MARGIN']):null;}[_0x42456f(0x246)](_0x1f7c74,_0x2c2516){const _0x13bef9=_0x42456f;var _0xb79e54;let _0x4fa6c3=(_0xb79e54=this[_0x13bef9(0x24d)]())==null||(_0xb79e54=_0xb79e54[_0x13bef9(0x239)][_0x1f7c74])==null?void 0x0:_0xb79e54['tableCells'][_0x2c2516];return _0x4fa6c3!=null&&_0x4fa6c3[_0x13bef9(0x1a9)]?_0x545a19[_0x13bef9(0x230)][_0x13bef9(0x1df)](_0x4fa6c3[_0x13bef9(0x1a9)]):null;}['getDefaultCellMargin'](){const _0x366f95=_0x42456f;var _0x3a8c8b;return _0x545a19[_0x366f95(0x230)][_0x366f95(0x1df)](((_0x3a8c8b=this[_0x366f95(0x24d)]())==null?void 0x0:_0x3a8c8b['cellMargin'])??_0x42d762['DEFAULT_DOCS_TABLE_CELL_MARGIN']);}[_0x42456f(0x1b4)](){const _0x5819bb=_0x42456f;var _0x5dc199;let _0xbbc512=(_0x5dc199=this[_0x5819bb(0x24d)]())==null?void 0x0:_0x5dc199[_0x5819bb(0x22d)];return _0xbbc512?_0x545a19[_0x5819bb(0x230)]['deepClone'](_0xbbc512):null;}[_0x42456f(0x19a)](){const _0x6d6eb7=_0x42456f;let _0x58d20b=this['_injector'][_0x6d6eb7(0x237)](_0x42d762[_0x6d6eb7(0x1cd)]),_0x49f4a4=this[_0x6d6eb7(0x24d)]();return _0x49f4a4?_0x58d20b['resolveTableMetadata'](this['_unitId'],_0x49f4a4):void 0x0;}[_0x42456f(0x24d)](){const _0x3e23bc=_0x42456f;var _0x120660;return(_0x120660=this[_0x3e23bc(0x26d)]()[_0x3e23bc(0x205)])==null?void 0x0:_0x120660[this['_tableId']];}[_0x42456f(0x266)](){const _0x5ab8ec=_0x42456f;return(0x0,_0x42d762[_0x5ab8ec(0x215)])(this[_0x5ab8ec(0x26d)](),this[_0x5ab8ec(0x258)]);}[_0x42456f(0x21b)](){const _0x59e9be=_0x42456f;return{'startRow':0x0,'endRow':Math[_0x59e9be(0x25a)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x59e9be(0x25a)](0x0,this[_0x59e9be(0x241)]()-0x1)};}['getCellRange'](_0x5dab4b,_0x4dbf89){return{'startRow':_0x5dab4b,'endRow':_0x5dab4b,'startColumn':_0x4dbf89,'endColumn':_0x4dbf89};}['getCellContentRange'](_0x6c58e3,_0x13ec2e){const _0x189541=_0x42456f;var _0x3259dd;let _0x565f46=(_0x3259dd=(0x0,_0x42d762[_0x189541(0x215)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x3259dd=_0x3259dd[_0x189541(0x206)][_0x6c58e3])==null?void 0x0:_0x3259dd[_0x189541(0x1dd)][_0x13ec2e];if(!_0x565f46)return null;let _0x41b805=_0x565f46[_0x189541(0x1ce)]+0x1;return{'startOffset':_0x41b805,'endOffset':Math[_0x189541(0x25a)](_0x41b805,_0x565f46['endOffset']-0x1),'segmentId':this[_0x189541(0x23e)]};}[_0x42456f(0x1e6)](_0x2a7381,_0xc68322){const _0x5d2e16=_0x42456f;let _0x252d27=this['getCellContentRange'](_0x2a7381,_0xc68322);return _0x252d27?Math['max'](_0x252d27['startOffset'],_0x252d27[_0x5d2e16(0x263)]-0x1):null;}[_0x42456f(0x1de)](_0x5bf385){const _0x50e7d8=_0x42456f;return this[_0x50e7d8(0x208)](_0x5bf385,0x1);}['getRowsRange'](_0x1da491,_0x42ad98=0x1){const _0x261448=_0x42456f;return{'startRow':_0x1da491,'endRow':_0x1da491+_0x42ad98-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x261448(0x241)]()-0x1)};}['getColumnRange'](_0x12a491){const _0x143af8=_0x42456f;return this[_0x143af8(0x1eb)](_0x12a491,0x1);}[_0x42456f(0x1eb)](_0x4d4e3c,_0x201714=0x1){return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':_0x4d4e3c,'endColumn':_0x4d4e3c+_0x201714-0x1};}[_0x42456f(0x200)](){const _0x287bb8=_0x42456f;return this[_0x287bb8(0x21e)](this[_0x287bb8(0x21b)](),_0x42d762[_0x287bb8(0x1e7)][_0x287bb8(0x1b1)]);}['selectRow'](_0x4426e1){const _0x859a5e=_0x42456f;return this[_0x859a5e(0x256)](_0x4426e1,0x1);}['selectRows'](_0x5d59ca,_0x5ace6b=0x1){const _0x2d1895=_0x42456f;return this[_0x2d1895(0x21e)](this[_0x2d1895(0x208)](_0x5d59ca,_0x5ace6b),_0x42d762[_0x2d1895(0x1e7)][_0x2d1895(0x25f)]);}['selectColumn'](_0x2627fa){return this['selectColumns'](_0x2627fa,0x1);}['selectColumns'](_0x1ab0e1,_0x46638f=0x1){const _0xc12cd5=_0x42456f;return this[_0xc12cd5(0x21e)](this[_0xc12cd5(0x1eb)](_0x1ab0e1,_0x46638f),_0x42d762[_0xc12cd5(0x1e7)]['Column']);}['selectCell'](_0x414db4,_0xf73bd9){const _0x1297d5=_0x42456f;return this['selectRange'](this['getCellRange'](_0x414db4,_0xf73bd9),_0x42d762['DocsTableSelectionKind'][_0x1297d5(0x19c)]);}[_0x42456f(0x21e)](_0x2347ac,_0x55cd0b=_0x42d762['DocsTableSelectionKind'][_0x42456f(0x219)]){const _0x3232df=_0x42456f;return this[_0x3232df(0x1c0)][_0x3232df(0x237)](_0x42d762['DocsTableSelectionService'])['setStructuralSelection']({..._0x2347ac,'kind':_0x55cd0b,'segmentId':this[_0x3232df(0x23e)],'tableId':this[_0x3232df(0x258)]}),!0x0;}[_0x42456f(0x1da)](_0x3c75d6){return this['insertRowsBefore'](_0x3c75d6,0x1);}[_0x42456f(0x1e5)](_0x2e1594){const _0x3fdafc=_0x42456f;return this[_0x3fdafc(0x24c)](_0x2e1594,0x1);}['insertRowsBefore'](_0x25ea1a,_0x559ce4){const _0x40d546=_0x42456f;let _0x5c749f=this[_0x40d546(0x26d)](),_0x24525d=(0x0,_0x42d762[_0x40d546(0x1d8)])(_0x5c749f,this[_0x40d546(0x258)],_0x25ea1a,_0x559ce4,_0x42d762[_0x40d546(0x26b)][_0x40d546(0x209)],this[_0x40d546(0x1b6)]());return _0x24525d?this[_0x40d546(0x1ad)](_0x5c749f,_0x24525d['actions']):!0x1;}['insertRowsAfter'](_0x377f9b,_0x118193){const _0x136a9b=_0x42456f;let _0x997a43=this[_0x136a9b(0x26d)](),_0x4dfb6b=(0x0,_0x42d762[_0x136a9b(0x1d8)])(_0x997a43,this[_0x136a9b(0x258)],_0x377f9b,_0x118193,_0x42d762['DocsTableInsertPosition'][_0x136a9b(0x1b9)],this['_getBodyPath']());return _0x4dfb6b?this[_0x136a9b(0x1ad)](_0x997a43,_0x4dfb6b[_0x136a9b(0x26c)]):!0x1;}['appendRow'](){const _0x130b74=_0x42456f;return this[_0x130b74(0x24c)](Math['max'](0x0,this[_0x130b74(0x1c2)]()-0x1),0x1);}[_0x42456f(0x243)](_0x9054ca){const _0x2518ce=_0x42456f;return this[_0x2518ce(0x19b)](_0x9054ca,0x1);}['insertColumnAfter'](_0x576467){return this['insertColumnsAfter'](_0x576467,0x1);}[_0x42456f(0x19b)](_0x90bbfa,_0x362672){const _0x5e6bd6=_0x42456f;let _0x5283a1=this[_0x5e6bd6(0x26d)](),_0x422cab=(0x0,_0x42d762[_0x5e6bd6(0x221)])(_0x5283a1,this['_tableId'],_0x90bbfa,_0x362672,_0x42d762['DocsTableInsertPosition']['Left'],{'bodyPath':this[_0x5e6bd6(0x1b6)]()});return _0x422cab?this[_0x5e6bd6(0x1ad)](_0x5283a1,_0x422cab[_0x5e6bd6(0x26c)]):!0x1;}['insertColumnsAfter'](_0x2e4dbb,_0x12d3d9){const _0x5b6e5f=_0x42456f;let _0x1313d5=this[_0x5b6e5f(0x26d)](),_0x3dc864=(0x0,_0x42d762['buildInsertTableColumnsMutationActions'])(_0x1313d5,this[_0x5b6e5f(0x258)],_0x2e4dbb,_0x12d3d9,_0x42d762['DocsTableInsertPosition']['Right'],{'bodyPath':this[_0x5b6e5f(0x1b6)]()});return _0x3dc864?this['_mutateActions'](_0x1313d5,_0x3dc864[_0x5b6e5f(0x26c)]):!0x1;}[_0x42456f(0x1d0)](){const _0x7365ab=_0x42456f;return this['insertColumnsAfter'](Math[_0x7365ab(0x25a)](0x0,this[_0x7365ab(0x241)]()-0x1),0x1);}['deleteRow'](_0x383443){const _0x14f025=_0x42456f;return this[_0x14f025(0x261)](_0x383443,0x1);}[_0x42456f(0x261)](_0x2d4e31,_0x1d1b3b=0x1){const _0x498622=_0x42456f;return!!this[_0x498622(0x235)]['syncExecuteCommand'](_0x42d762[_0x498622(0x1b0)]['id'],{'endRow':_0x2d4e31+_0x1d1b3b-0x1,'segmentId':this['_segmentId'],'startRow':_0x2d4e31,'tableId':this[_0x498622(0x258)],'unitId':this[_0x498622(0x1fb)]});}[_0x42456f(0x23b)](_0x171c0c){const _0x427ef2=_0x42456f;return this[_0x427ef2(0x1c7)](_0x171c0c,0x1);}[_0x42456f(0x1c7)](_0x3f056c,_0x59a8ee=0x1){const _0x11a5d8=_0x42456f;return!!this['_commandService']['syncExecuteCommand'](_0x42d762[_0x11a5d8(0x249)]['id'],{'endColumn':_0x3f056c+_0x59a8ee-0x1,'segmentId':this[_0x11a5d8(0x23e)],'startColumn':_0x3f056c,'tableId':this['_tableId'],'unitId':this['_unitId']});}['deleteTable'](){const _0x37bb87=_0x42456f;return!!this['_commandService'][_0x37bb87(0x20a)](_0x42d762[_0x37bb87(0x24e)]['id'],{'segmentId':this[_0x37bb87(0x23e)],'tableId':this[_0x37bb87(0x258)],'unitId':this[_0x37bb87(0x1fb)]});}['moveTableBy'](_0x1cf3a4,_0x3f6025){const _0xd36ade=_0x42456f;let _0x131c40=this['_getDocumentData']();return this[_0xd36ade(0x1ad)](_0x131c40,(0x0,_0x42d762['buildMoveFloatingTableMutationActions'])(_0x131c40,this[_0xd36ade(0x258)],_0x1cf3a4,_0x3f6025));}[_0x42456f(0x226)](_0x2a9e86){const _0x1092b4=_0x42456f;let _0xc95f19=this[_0x1092b4(0x26d)]();return this[_0x1092b4(0x1ad)](_0xc95f19,(0x0,_0x42d762[_0x1092b4(0x1bf)])(_0xc95f19,this['_tableId'],_0x2a9e86,this['_getBodyPath']()));}[_0x42456f(0x1ed)](_0x1fc5c7,_0x14603b,_0x3bfd18=_0x42d762[_0x42456f(0x26b)][_0x42456f(0x209)]){const _0x359e59=_0x42456f;return this[_0x359e59(0x231)](_0x1fc5c7,0x1,_0x14603b,_0x3bfd18);}[_0x42456f(0x231)](_0x44cc30,_0x23acd7,_0x3db672,_0x395991=_0x42d762[_0x42456f(0x26b)]['Above']){const _0x229390=_0x42456f;let _0x5a27eb=this[_0x229390(0x26d)](),_0x4a7198=(0x0,_0x42d762[_0x229390(0x26e)])(_0x5a27eb,this[_0x229390(0x258)],_0x44cc30,_0x3db672,_0x23acd7,_0x395991,this[_0x229390(0x1b6)]());return _0x4a7198?this[_0x229390(0x1ad)](_0x5a27eb,_0x4a7198[_0x229390(0x26c)]):!0x1;}[_0x42456f(0x1f9)](_0x21347a,_0x56f09e,_0x573c84=_0x42d762[_0x42456f(0x26b)][_0x42456f(0x21c)]){const _0xfefb6a=_0x42456f;return this[_0xfefb6a(0x1ac)](_0x21347a,0x1,_0x56f09e,_0x573c84);}[_0x42456f(0x1ac)](_0x370c5c,_0x397b48,_0xe34b5d,_0xbdafae=_0x42d762['DocsTableInsertPosition'][_0x42456f(0x21c)]){const _0x8a4142=_0x42456f;let _0x4c623a=this['_getDocumentData'](),_0x4eff42=(0x0,_0x42d762['buildMoveTableColumnsMutationActions'])(_0x4c623a,this[_0x8a4142(0x258)],_0x370c5c,_0xe34b5d,_0x397b48,_0xbdafae,this['_getBodyPath']());return _0x4eff42?this[_0x8a4142(0x1ad)](_0x4c623a,_0x4eff42[_0x8a4142(0x26c)]):!0x1;}[_0x42456f(0x216)](_0x3a8112){const _0x1017f7=_0x42456f;try{let _0x6c638f=this['_getDocumentData'](),_0x270bfc=(0x0,_0x42d762['buildMergeCellsMutationActions'])({'documentData':_0x6c638f,'tableId':this[_0x1017f7(0x258)],..._0x3a8112});return _0x270bfc?this[_0x1017f7(0x1ad)](_0x6c638f,_0x270bfc[_0x1017f7(0x26c)],_0x3a8112):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x3f6f96){const _0x30dc61=_0x42456f;try{let _0x38295e=this['_getDocumentData'](),_0x31e3dd=(0x0,_0x42d762['buildUnmergeCellsMutationActions'])({'documentData':_0x38295e,'tableId':this[_0x30dc61(0x258)],..._0x3f6f96});return _0x31e3dd?this[_0x30dc61(0x1ad)](_0x38295e,_0x31e3dd[_0x30dc61(0x26c)],_0x3f6f96):!0x1;}catch{return!0x1;}}[_0x42456f(0x1be)](_0x8890d1,_0x4febab,_0x2e2d08){const _0x1bcf60=_0x42456f;let _0x17abaa=this[_0x1bcf60(0x26d)](),_0x3d2b58=(0x0,_0x42d762['getTableActionBodyPath'])(this[_0x1bcf60(0x1b7)][_0x1bcf60(0x252)]()['getSnapshot'](),this[_0x1bcf60(0x23e)]);return this[_0x1bcf60(0x1ad)](_0x17abaa,(0x0,_0x42d762[_0x1bcf60(0x210)])({'documentData':_0x17abaa,'tableId':this['_tableId'],'row':_0x8890d1,'column':_0x4febab,'text':_0x2e2d08},_0x3d2b58),this[_0x1bcf60(0x20d)](_0x8890d1,_0x4febab));}[_0x42456f(0x203)](_0x38296a,_0x34d485){const _0x752f98=_0x42456f;let _0x262ce8=this[_0x752f98(0x26d)]();return this[_0x752f98(0x1ad)](_0x262ce8,(0x0,_0x42d762[_0x752f98(0x223)])(_0x262ce8,{'tableId':this['_tableId'],..._0x38296a,'value':_0x34d485}),_0x38296a);}[_0x42456f(0x251)](_0x357734,_0x424b14){const _0x355fcb=_0x42456f;let _0xfa1dcc=this[_0x355fcb(0x26d)]();return this[_0x355fcb(0x1ad)](_0xfa1dcc,(0x0,_0x42d762['buildSetTableCellMarginMutationActions'])({'documentData':_0xfa1dcc,'tableId':this[_0x355fcb(0x258)],..._0x357734,'margin':_0x424b14}),_0x357734);}['setDefaultCellMargin'](_0x38d77d){const _0x20d286=_0x42456f;let _0x758bf=this[_0x20d286(0x26d)]();return this['_mutateActions'](_0x758bf,(0x0,_0x42d762['buildSetTableDefaultCellMarginMutationActions'])(_0x758bf,this[_0x20d286(0x258)],_0x38d77d));}[_0x42456f(0x21d)](_0x5b6bce,_0x3d1199){const _0x2840dc=_0x42456f;let _0x57e7f6=this[_0x2840dc(0x26d)]();return this[_0x2840dc(0x1ad)](_0x57e7f6,this[_0x2840dc(0x253)](_0x57e7f6,_0x5b6bce,_0x3d1199),_0x5b6bce);}['setTableBackground'](_0x40d387){const _0x2a22a8=_0x42456f;return this[_0x2a22a8(0x203)](this[_0x2a22a8(0x21b)](),_0x40d387);}[_0x42456f(0x22e)](_0x5e22e3){const _0x2b014e=_0x42456f;return this[_0x2b014e(0x21d)](this['getTableRange'](),_0x5e22e3);}[_0x42456f(0x1a4)](_0x4ff8a0){const _0x48443a=_0x42456f;let _0xb9ebe4=this[_0x48443a(0x26d)](),_0x54aba6=this[_0x48443a(0x21b)](),_0x50ccf7=_0x4ff8a0[_0x48443a(0x1e9)]?(0x0,_0x42d762[_0x48443a(0x223)])(_0xb9ebe4,{'tableId':this[_0x48443a(0x258)],..._0x54aba6,'value':_0x4ff8a0['backgroundColor']}):null,_0x48b9a5=_0x4ff8a0[_0x48443a(0x217)]?this[_0x48443a(0x253)](_0xb9ebe4,_0x54aba6,_0x4ff8a0['border']):null;return this['_mutateActions'](_0xb9ebe4,_0x545a19[_0x48443a(0x240)][_0x48443a(0x1a7)](_0x50ccf7,_0x48b9a5),_0x54aba6);}[_0x42456f(0x260)](_0x3fd24e,_0x5e9994,_0x3ddac8=_0x545a19[_0x42456f(0x255)][_0x42456f(0x1c3)]){const _0x3f44ad=_0x42456f;var _0x28ed4e;let _0x429cc4=this['_getDocumentData']();return(_0x28ed4e=_0x429cc4[_0x3f44ad(0x205)])!=null&&(_0x28ed4e=_0x28ed4e[this[_0x3f44ad(0x258)]])!=null&&_0x28ed4e[_0x3f44ad(0x239)][_0x3fd24e]?this[_0x3f44ad(0x1ad)](_0x429cc4,(0x0,_0x42d762[_0x3f44ad(0x1ca)])(_0x429cc4,this[_0x3f44ad(0x258)],_0x3fd24e,_0x5e9994,_0x3ddac8)):!0x1;}[_0x42456f(0x1ae)](_0x4224ae){const _0x3cfa41=_0x42456f;var _0x10f2d5;let _0x433ed6=(_0x10f2d5=this['getSource']())==null||(_0x10f2d5=_0x10f2d5[_0x3cfa41(0x239)][_0x4224ae])==null?void 0x0:_0x10f2d5['trHeight'];return _0x433ed6?_0x545a19[_0x3cfa41(0x230)][_0x3cfa41(0x1df)](_0x433ed6):null;}[_0x42456f(0x1e2)](_0x285554,_0x1639d3){const _0x161d8b=_0x42456f;var _0xc3acfa;let _0x43c037=this[_0x161d8b(0x26d)]();return(_0xc3acfa=_0x43c037['tableSource'])!=null&&(_0xc3acfa=_0xc3acfa[this[_0x161d8b(0x258)]])!=null&&_0xc3acfa[_0x161d8b(0x244)][_0x285554]?this[_0x161d8b(0x1ad)](_0x43c037,(0x0,_0x42d762['buildResizeTableColumnActionsFromWidth'])(_0x43c037,this['_tableId'],_0x285554,_0x1639d3)):!0x1;}[_0x42456f(0x1b5)](_0x334fb5=0x0,_0x3887b3=this[_0x42456f(0x1c2)]()){const _0x35ec75=_0x42456f;let _0x558e2d=this[_0x35ec75(0x26d)]();return this['_mutateActions'](_0x558e2d,(0x0,_0x42d762[_0x35ec75(0x218)])(_0x558e2d,this[_0x35ec75(0x258)],_0x334fb5,_0x334fb5+_0x3887b3-0x1));}[_0x42456f(0x1d4)](_0x1e528c=0x0,_0xbd21c6=this['getColumnCount']()){const _0x1e430b=_0x42456f;let _0x3e1aac=this['_getDocumentData']();return this[_0x1e430b(0x1ad)](_0x3e1aac,(0x0,_0x42d762['buildDistributeTableColumnsMutationActions'])(_0x3e1aac,this['_tableId'],_0x1e528c,_0x1e528c+_0xbd21c6-0x1));}[_0x42456f(0x1bc)](){const _0x3ae7d1=_0x42456f;var _0x30d8c8;return((_0x30d8c8=this[_0x3ae7d1(0x19a)]())==null?void 0x0:_0x30d8c8[_0x3ae7d1(0x1d7)])??0x0;}[_0x42456f(0x211)](_0x491c8c){const _0x487c53=_0x42456f;let _0x3fb422=this['_getDocumentData'](),_0x30101a=(0x0,_0x42d762[_0x487c53(0x238)])(_0x3fb422,this[_0x487c53(0x258)],_0x491c8c);return _0x30101a?this[_0x487c53(0x1ad)](_0x3fb422,_0x30101a[_0x487c53(0x26c)]):!0x1;}['pinHeaderRows'](_0x5f4971){const _0x3c96c9=_0x42456f;return this[_0x3c96c9(0x211)](_0x5f4971);}[_0x42456f(0x233)](){const _0x2d86d2=_0x42456f;var _0x46f8ff;return((_0x46f8ff=this[_0x2d86d2(0x19a)]())==null?void 0x0:_0x46f8ff[_0x2d86d2(0x213)])??!0x1;}['insertTitleRow'](){const _0x3a8665=_0x42456f;let _0x135012=this[_0x3a8665(0x26d)](),_0xbc863e=(0x0,_0x42d762[_0x3a8665(0x1f3)])(_0x135012,this[_0x3a8665(0x258)],this['_getBodyPath']());return _0xbc863e?this[_0x3a8665(0x1ad)](_0x135012,_0xbc863e['actions']):!0x1;}['setColumnType'](_0x3c117f,_0x33f273){const _0x3ad3b6=_0x42456f;return!!this[_0x3ad3b6(0x235)]['syncExecuteCommand'](_0x42d762[_0x3ad3b6(0x236)]['id'],{'unitId':this[_0x3ad3b6(0x1fb)],'tableId':this[_0x3ad3b6(0x258)],'segmentId':this['_segmentId'],'column':_0x3c117f,'config':_0x33f273});}[_0x42456f(0x1b8)](_0x20ebb8,_0x366ecf){const _0x445459=_0x42456f;let _0x25e08b=this['_getDocumentData']();return this[_0x445459(0x1ad)](_0x25e08b,(0x0,_0x42d762[_0x445459(0x1fc)])(_0x25e08b,this[_0x445459(0x198)](),this[_0x445459(0x258)],_0x20ebb8,_0x366ecf,this[_0x445459(0x1b6)]()));}[_0x42456f(0x253)](_0x38b8ee,_0x121993,_0x2baff2){const _0x59e761=_0x42456f;return(0x0,_0x42d762[_0x59e761(0x22c)])({'documentData':_0x38b8ee,'tableId':this[_0x59e761(0x258)],..._0x121993,'preset':_0x2baff2['preset']??_0x42d762[_0x59e761(0x262)]['All'],'border':_0x2baff2[_0x59e761(0x217)]??{'color':{'rgb':_0x2baff2['color']??this['_injector'][_0x59e761(0x237)](_0x545a19[_0x59e761(0x1b3)])[_0x59e761(0x1a8)](_0x59e761(0x1b2))},'width':{'v':_0x2baff2[_0x59e761(0x269)]??0x1},'dashStyle':_0x545a19[_0x59e761(0x1dc)][_0x59e761(0x242)]}});}[_0x42456f(0x26d)](){const _0x1e2210=_0x42456f;let _0x5560eb=this[_0x1e2210(0x1b7)][_0x1e2210(0x252)]()[_0x1e2210(0x25d)]();return this['_segmentId']?{...this['_document'][_0x1e2210(0x252)](this['_segmentId'])[_0x1e2210(0x25d)](),'documentStyle':_0x5560eb[_0x1e2210(0x21a)],'tableSource':_0x5560eb[_0x1e2210(0x205)]}:_0x5560eb;}['_serializeModel'](){const _0x223e7a=_0x42456f;return this['_injector'][_0x223e7a(0x237)](_0x42d762[_0x223e7a(0x1cd)])['serializeDocument'](this[_0x223e7a(0x1fb)],this[_0x223e7a(0x1b7)]['getDocumentDataModel']()['getSnapshot']());}[_0x42456f(0x1b6)](){const _0x3915a3=_0x42456f;return(0x0,_0x42d762['getTableActionBodyPath'])(this['_document']['getDocumentDataModel']()[_0x3915a3(0x25d)](),this[_0x3915a3(0x23e)]);}[_0x42456f(0x1ad)](_0x5345e6,_0x5e4f78,_0x28b256){const _0x20e24e=_0x42456f;return(0x0,_0x42d762[_0x20e24e(0x1cc)])(this[_0x20e24e(0x235)],this[_0x20e24e(0x1fb)],_0x5345e6,_0x5e4f78,_0x28b256?{'tableId':this[_0x20e24e(0x258)],'segmentId':this[_0x20e24e(0x23e)],..._0x28b256}:void 0x0);}};_0x261495=_0x1f8f59([_0x593271(0x3,_0x545a19[_0x42456f(0x222)]),_0x593271(0x4,(0x0,_0x545a19[_0x42456f(0x1fe)])(_0x545a19['Injector']))],_0x261495);var _0x3591f5=class extends _0x2f7ccb[_0x42456f(0x1e8)]{['getTables'](_0x90490d=''){const _0x3061e2=_0x42456f;return this[_0x3061e2(0x1d9)](_0x90490d)[_0x3061e2(0x268)](_0x110d5c=>this[_0x3061e2(0x197)](_0x110d5c['tableId'],_0x90490d));}[_0x42456f(0x1c5)](_0x32573a,_0x33ab54=''){const _0x4351be=_0x42456f;return this['_getTables'](_0x33ab54)['some'](_0x1b1f65=>_0x1b1f65[_0x4351be(0x1ec)]===_0x32573a)?this[_0x4351be(0x197)](_0x32573a,_0x33ab54):null;}[_0x42456f(0x1a1)](_0x518fc9,_0xb03bda=''){const _0x5b645f=_0x42456f;var _0x4aa1a4;let _0x372f00=(_0x4aa1a4=this['_getTables'](_0xb03bda)[_0x518fc9])==null?void 0x0:_0x4aa1a4[_0x5b645f(0x1ec)];return _0x372f00?this[_0x5b645f(0x197)](_0x372f00,_0xb03bda):null;}[_0x42456f(0x1e0)](){const _0x3aee45=_0x42456f;let _0x46827b=this['_injector']['get'](_0x42d762['DocsTableSelectionService'])[_0x3aee45(0x1bb)]();return _0x46827b!=null&&_0x46827b[_0x3aee45(0x1ec)]?this['_createFDocumentTable'](_0x46827b[_0x3aee45(0x1ec)],_0x46827b['segmentId']):null;}['findTableByText'](_0x11076e,_0x179ed9=''){const _0x485771=_0x42456f;return this[_0x485771(0x224)](_0x11076e,_0x179ed9)[0x0]??null;}[_0x42456f(0x224)](_0x27aef6,_0x579a5e=''){const _0x1e42f3=_0x42456f;let _0x5c5bc7=this[_0x1e42f3(0x1f6)](_0x579a5e),_0x353b82=typeof _0x27aef6==_0x1e42f3(0x220)?{'text':_0x27aef6}:_0x27aef6;return this[_0x1e42f3(0x248)](_0x579a5e)['filter'](_0x3c46ef=>{const _0x417d7d=_0x1e42f3;let _0x193125=_0x3c46ef[_0x417d7d(0x199)]();return!(_0x353b82[_0x417d7d(0x1ec)]&&_0x193125!==_0x353b82[_0x417d7d(0x1ec)]||_0x353b82[_0x417d7d(0x1a0)]&&!this['_tableContainsText'](_0x5c5bc7,_0x193125,_0x353b82[_0x417d7d(0x1a0)])||_0x353b82[_0x417d7d(0x19f)]&&!this['_rowContainsText'](_0x3c46ef,0x0,_0x353b82['headerText'])||_0x353b82[_0x417d7d(0x204)]&&!this[_0x417d7d(0x1c4)](_0x3c46ef,0x0,_0x353b82[_0x417d7d(0x204)]));});}['insertTable'](_0x513223,_0x4e7a02,_0x339c80={}){const _0x37b653=_0x42456f;let _0x2a23d5=this[_0x37b653(0x1c0)][_0x37b653(0x237)](_0x545a19[_0x37b653(0x222)]),_0x18dc77=_0x339c80[_0x37b653(0x1ec)]??(0x0,_0x545a19[_0x37b653(0x225)])(0x6);return _0x2a23d5[_0x37b653(0x20a)](_0x42d762[_0x37b653(0x24b)]['id'],{..._0x339c80,'unitId':this[_0x37b653(0x199)](),'rows':_0x513223,'columns':_0x4e7a02,'tableId':_0x18dc77})?this[_0x37b653(0x197)](_0x18dc77,_0x339c80[_0x37b653(0x227)]??''):null;}[_0x42456f(0x19d)](_0x43f1ae,_0x384c67={}){const _0x324764=_0x42456f;let _0xdaa002=this[_0x324764(0x1c0)][_0x324764(0x237)](_0x545a19['ICommandService']),_0x8b0a18=_0x384c67[_0x324764(0x1ec)]??(0x0,_0x545a19[_0x324764(0x225)])(0x6);return _0xdaa002['syncExecuteCommand'](_0x42d762[_0x324764(0x24b)]['id'],{..._0x384c67,'unitId':this[_0x324764(0x199)](),'values':_0x43f1ae,'tableId':_0x8b0a18})?this[_0x324764(0x197)](_0x8b0a18,_0x384c67[_0x324764(0x227)]??''):null;}['_getTables'](_0x1b91ba=''){const _0xabd1f0=_0x42456f;let {tables:_0x46dd03=[]}=this[_0xabd1f0(0x23f)](_0x1b91ba);return _0x46dd03;}[_0x42456f(0x1f6)](_0x2df689=''){const _0xd66d0d=_0x42456f;let _0x24706f=this[_0xd66d0d(0x252)]()[_0xd66d0d(0x25d)]();return _0x2df689?{...this['getDocumentDataModel'](_0x2df689)[_0xd66d0d(0x25d)](),'documentStyle':_0x24706f[_0xd66d0d(0x21a)],'tableSource':_0x24706f['tableSource']}:_0x24706f;}[_0x42456f(0x197)](_0x3b1716,_0x3ec33e=''){const _0x107f32=_0x42456f;return this[_0x107f32(0x1c0)]['createInstance'](_0x261495,this,_0x3b1716,_0x3ec33e);}[_0x42456f(0x25e)](_0x3170b1,_0x418e7d,_0x2c2e89){const _0x2f193d=_0x42456f;var _0x4bf2d7;let _0x3bd47a=(0x0,_0x42d762['getTableRangeById'])(_0x3170b1,_0x418e7d);if(!_0x3bd47a)return!0x1;let _0x1c1dd7=(_0x4bf2d7=_0x3170b1['body'])==null?void 0x0:_0x4bf2d7[_0x2f193d(0x24a)];return _0x1c1dd7?_0x1c1dd7[_0x2f193d(0x26f)](_0x3bd47a[_0x2f193d(0x1ce)],_0x3bd47a[_0x2f193d(0x263)])[_0x2f193d(0x1e3)](_0x2c2e89):!0x1;}['_rowContainsText'](_0x6fbbc3,_0x1f0f3e,_0xc4973d){const _0x29ab94=_0x42456f;return Array['from']({'length':_0x6fbbc3['getColumnCount']()},(_0x6d579d,_0x5889e9)=>_0x6fbbc3[_0x29ab94(0x1f5)](_0x1f0f3e,_0x5889e9))[_0x29ab94(0x1ee)](_0x369fd5=>_0x369fd5[_0x29ab94(0x1e3)](_0xc4973d));}};_0x2f7ccb[_0x42456f(0x1e8)]['extend'](_0x3591f5),Object[_0x42456f(0x234)](_0xd7978e,_0x42456f(0x265),{'enumerable':!0x0,'get':function(){return _0x261495;}}),_0xd7978e['FDocumentTableCell']=_0x170945;}));function _0x2468(){const _0x514234=['buildSortTableMutationActions','object','Inject','395854TQbVKx','selectTable','getRowIndex','tableCells','setCellBackground','titleText','tableSource','rows','length','getRowsRange','Above','syncExecuteCommand','getInfo','setMargin','getCellRange','call','DocsTableSortDirection','buildSetTableCellTextMutationActions','setHeaderRowCount','732297qJSCWp','titleRow','from','getTableRangeById','mergeCells','border','buildDistributeTableRowsMutationActions','Range','documentStyle','getTableRange','Left','setBorder','selectRange','body','string','buildInsertTableColumnsMutationActions','ICommandService','buildSetTableBackgroundMutationActions','findTables','generateRandomId','moveTableToOffset','segmentId','1000fBlNRq','type','extend','toPrimitive','buildSetTableBorderMutationActions','cellMargin','setTableBorder','clearMarginOverride','Tools','moveRows','FEnum','hasTitleRow','defineProperty','_commandService','DocsTableSetColumnTypeCommand','get','buildSetTableHeaderRowCountMutationActions','tableRows','exports','deleteColumn','UniverProDocsTable','getCellMargin','_segmentId','getBody','JSONX','getColumnCount','SOLID','insertColumnBefore','tableColumns','function','getCellMarginOverride','getOwnPropertyDescriptor','getTables','DocsTableDeleteColumnsCommand','dataStream','DocsTableInsertTableCommand','insertRowsAfter','getSource','DocsTableDeleteTableCommand','getColumnIndex','UniverProDocsTableFacade','setCellMargin','getDocumentDataModel','_buildBorderActions','DocsTableColumnInsertPosition','TableRowHeightRule','selectRows','setText','_tableId','describe','max','UniverDocsFacade','getCellContentRange','getSnapshot','_tableContainsText','Row','setRowHeight','deleteRows','DocsTableBorderPreset','endOffset','filter','FDocumentTable','getRange','getCell','map','width','5NSmrwM','DocsTableInsertPosition','actions','_getDocumentData','buildMoveTableRowsMutationActions','slice','_createFDocumentTable','_serializeModel','getId','getMetadata','insertColumnsBefore','Cell','insertTableFromData','amd','headerText','text','getTableAt','replace','@univerjs/core','setTableStyle','symbol','33OphSSp','compose','getColorFromTheme','margin','toStringTag','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','moveColumns','_mutateActions','getRowHeight','DocsTableInsertTablePosition','DocsTableDeleteRowsCommand','Table','gray.900','ThemeService','getDefaultCellMarginOverride','distributeRows','_getBodyPath','_document','sortByColumn','Below','952931tRTMfQ','getStableTableSelection','getHeaderRowCount','6950640YsNpNg','setCellText','buildMoveTableToOffsetMutationActions','_injector','unmergeCells','getRowCount','AT_LEAST','_rowContainsText','getTable','Module','deleteColumns','iterator','UniverCoreFacade','buildResizeTableRowActionsFromHeight','_row','executeRichTextTableActions','DocsTableModel','startOffset','setBackgroundColor','appendColumn','7352XjpwKk','mergeTo','_column','distributeColumns','UniverCore','6ZewFqw','headerRowCount','buildInsertTableRowsMutationActions','_getTables','insertRowBefore','DocsTableColumnType','DashStyleType','cells','getRowRange','deepClone','getTableAtSelection','getInsertOffset','setColumnWidth','includes','711WERdeC','insertRowAfter','getCellInsertOffset','DocsTableSelectionKind','FDocument','backgroundColor','decorate','getColumnsRange','tableId','moveRow','some','10BQOrlL','getContentRange','columnTypes','_table','buildInsertTableTitleRowMutationActions','DocsTableRowInsertPosition','getCellText','_getTableDocumentData','1227804UEFmqJ','default','moveColumn','@univerjs/docs/facade','_unitId'];_0x2468=function(){return _0x514234;};return _0x2468();}