@univerjs-pro/docs-table 1.0.0-alpha.3 → 1.0.0-alpha.5
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/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3458(_0x274271,_0x3a89ef){_0x274271=_0x274271-0x199;const _0x5ae0e3=_0x5ae0();let _0x34587b=_0x5ae0e3[_0x274271];return _0x34587b;}(function(_0xc8db40,_0x7f888f){const _0x5c30a1=_0x3458,_0x20c429=_0xc8db40();while(!![]){try{const _0x5dc685=parseInt(_0x5c30a1(0x221))/0x1+parseInt(_0x5c30a1(0x223))/0x2+-parseInt(_0x5c30a1(0x24a))/0x3*(parseInt(_0x5c30a1(0x1f1))/0x4)+-parseInt(_0x5c30a1(0x233))/0x5+parseInt(_0x5c30a1(0x1b9))/0x6*(parseInt(_0x5c30a1(0x252))/0x7)+parseInt(_0x5c30a1(0x255))/0x8+parseInt(_0x5c30a1(0x1cb))/0x9*(-parseInt(_0x5c30a1(0x1e3))/0xa);if(_0x5dc685===_0x7f888f)break;else _0x20c429['push'](_0x20c429['shift']());}catch(_0x1ef061){_0x20c429['push'](_0x20c429['shift']());}}}(_0x5ae0,0x9a03c),function(_0x107e80,_0x1ba4a0){const _0x120a5f=_0x3458;typeof exports==_0x120a5f(0x267)&&typeof module<'u'?_0x1ba4a0(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x120a5f(0x22e)&&define[_0x120a5f(0x1df)]?define([_0x120a5f(0x216),_0x120a5f(0x1c0),_0x120a5f(0x22f),_0x120a5f(0x240),_0x120a5f(0x1b1)],_0x1ba4a0):(_0x107e80=typeof globalThis<'u'?globalThis:_0x107e80||self,_0x1ba4a0(_0x107e80[_0x120a5f(0x1ef)]={},_0x107e80[_0x120a5f(0x19b)],_0x107e80[_0x120a5f(0x1b4)],_0x107e80[_0x120a5f(0x238)],_0x107e80[_0x120a5f(0x1b2)]));}(this,function(_0x572d48,_0x523de9,_0x295219,_0x1f8d93,_0x2e9a78){const _0x4a68d1=_0x3458;Object[_0x4a68d1(0x1f3)](_0x572d48,Symbol[_0x4a68d1(0x1eb)],{'value':'Module'});var _0x33cf6b=class extends _0x1f8d93[_0x4a68d1(0x1e0)]{get['DocsTableInsertTablePosition'](){const _0x3248d1=_0x4a68d1;return _0x523de9[_0x3248d1(0x199)];}get[_0x4a68d1(0x213)](){const _0x2663b6=_0x4a68d1;return _0x523de9[_0x2663b6(0x213)];}get['DocsTableSelectionKind'](){return _0x523de9['DocsTableSelectionKind'];}get[_0x4a68d1(0x1c3)](){const _0x416aea=_0x4a68d1;return _0x523de9[_0x416aea(0x1c3)];}get['DocsTableColumnInsertPosition'](){return _0x523de9['DocsTableColumnInsertPosition'];}get[_0x4a68d1(0x19c)](){const _0x3f6cbe=_0x4a68d1;return _0x523de9[_0x3f6cbe(0x19c)];}get[_0x4a68d1(0x256)](){const _0xafcce8=_0x4a68d1;return _0x523de9[_0xafcce8(0x256)];}get[_0x4a68d1(0x21e)](){const _0x1b8c53=_0x4a68d1;return _0x295219[_0x1b8c53(0x21e)];}};_0x1f8d93['FEnum'][_0x4a68d1(0x205)](_0x33cf6b);var _0x39a5af=class{constructor(_0x120d2b,_0x1e29eb,_0x58f949){const _0x803973=_0x4a68d1;this[_0x803973(0x23d)]=_0x120d2b,this[_0x803973(0x24d)]=_0x1e29eb,this['_column']=_0x58f949;}['getTable'](){const _0x295661=_0x4a68d1;return this[_0x295661(0x23d)];}[_0x4a68d1(0x1e8)](){const _0x4b398c=_0x4a68d1;return this[_0x4b398c(0x24d)];}[_0x4a68d1(0x1d4)](){return this['_column'];}[_0x4a68d1(0x1de)](){const _0x40e5ef=_0x4a68d1;return this[_0x40e5ef(0x23d)]['getCellText'](this[_0x40e5ef(0x24d)],this['_column']);}[_0x4a68d1(0x24c)](){const _0x23063d=_0x4a68d1;return this[_0x23063d(0x23d)][_0x23063d(0x1ac)](this[_0x23063d(0x24d)],this[_0x23063d(0x1d8)]);}[_0x4a68d1(0x25b)](){const _0x174bb7=_0x4a68d1;return this[_0x174bb7(0x23d)][_0x174bb7(0x1fa)](this[_0x174bb7(0x24d)],this[_0x174bb7(0x1d8)]);}[_0x4a68d1(0x24f)](){const _0x32d023=_0x4a68d1;return this['_table'][_0x32d023(0x1bf)](this[_0x32d023(0x24d)],this[_0x32d023(0x1d8)]);}[_0x4a68d1(0x1e5)](){const _0x5aff61=_0x4a68d1;return this[_0x5aff61(0x23d)][_0x5aff61(0x1bc)](this['_row'],this['_column']);}[_0x4a68d1(0x22b)](_0x111dab){const _0xedd1d6=_0x4a68d1;return this[_0xedd1d6(0x23d)]['setCellMargin'](this['_table'][_0xedd1d6(0x1bd)](this[_0xedd1d6(0x24d)],this[_0xedd1d6(0x1d8)]),_0x111dab);}[_0x4a68d1(0x22c)](){const _0xd0d8ea=_0x4a68d1;return this['_table'][_0xd0d8ea(0x218)](this[_0xd0d8ea(0x23d)][_0xd0d8ea(0x1bd)](this[_0xd0d8ea(0x24d)],this['_column']),null);}[_0x4a68d1(0x20b)](_0x18b53a){const _0x22dc69=_0x4a68d1;return this[_0x22dc69(0x23d)][_0x22dc69(0x1c7)](this[_0x22dc69(0x24d)],this['_column'],_0x18b53a);}['setBackgroundColor'](_0x435344){const _0x61a0dc=_0x4a68d1;return this[_0x61a0dc(0x23d)][_0x61a0dc(0x1db)](this[_0x61a0dc(0x23d)][_0x61a0dc(0x1bd)](this['_row'],this[_0x61a0dc(0x1d8)]),_0x435344);}[_0x4a68d1(0x1fe)](_0x41e8ab){const _0x5db841=_0x4a68d1;return this[_0x5db841(0x23d)][_0x5db841(0x1fe)](this[_0x5db841(0x23d)][_0x5db841(0x1bd)](this[_0x5db841(0x24d)],this[_0x5db841(0x1d8)]),_0x41e8ab);}[_0x4a68d1(0x265)](_0x16e86c,_0x1d28b5){const _0x2e86bd=_0x4a68d1;return this[_0x2e86bd(0x23d)][_0x2e86bd(0x26c)]({'startRow':this[_0x2e86bd(0x24d)],'startColumn':this[_0x2e86bd(0x1d8)],'endRow':this[_0x2e86bd(0x24d)]+_0x16e86c-0x1,'endColumn':this[_0x2e86bd(0x1d8)]+_0x1d28b5-0x1});}['unmerge'](){const _0x4a3841=_0x4a68d1;return this['_table'][_0x4a3841(0x1aa)](this[_0x4a3841(0x23d)]['getCellRange'](this['_row'],this[_0x4a3841(0x1d8)]));}};function _0x1da432(_0x49c028){'@babel/helpers - typeof';const _0x4ce5e8=_0x4a68d1;return _0x1da432=typeof Symbol==_0x4ce5e8(0x22e)&&typeof Symbol['iterator']==_0x4ce5e8(0x23f)?function(_0x5bfe86){return typeof _0x5bfe86;}:function(_0x47d69d){const _0x5433a9=_0x4ce5e8;return _0x47d69d&&typeof Symbol==_0x5433a9(0x22e)&&_0x47d69d['constructor']===Symbol&&_0x47d69d!==Symbol[_0x5433a9(0x215)]?_0x5433a9(0x23f):typeof _0x47d69d;},_0x1da432(_0x49c028);}function _0x4c2cd6(_0x3f2b67,_0x11ca2c){const _0x5a9def=_0x4a68d1;if(_0x1da432(_0x3f2b67)!='object'||!_0x3f2b67)return _0x3f2b67;var _0x2c2115=_0x3f2b67[Symbol[_0x5a9def(0x260)]];if(_0x2c2115!==void 0x0){var _0x1046d8=_0x2c2115[_0x5a9def(0x1d6)](_0x3f2b67,_0x11ca2c||'default');if(_0x1da432(_0x1046d8)!=_0x5a9def(0x267))return _0x1046d8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x11ca2c===_0x5a9def(0x225)?String:Number)(_0x3f2b67);}function _0x43a533(_0x12f566){const _0x5de377=_0x4a68d1;var _0x3120c0=_0x4c2cd6(_0x12f566,_0x5de377(0x225));return _0x1da432(_0x3120c0)=='symbol'?_0x3120c0:_0x3120c0+'';}function _0x37490c(_0x5be9ee,_0x46ac5,_0x16018f){const _0x55d582=_0x4a68d1;return(_0x46ac5=_0x43a533(_0x46ac5))in _0x5be9ee?Object[_0x55d582(0x1f3)](_0x5be9ee,_0x46ac5,{'value':_0x16018f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5be9ee[_0x46ac5]=_0x16018f,_0x5be9ee;}var _0x521bab=class{constructor(_0xe2cbd2,_0x4ef076,_0x3dc998='',_0x37ffc4){const _0x38fe40=_0x4a68d1;this['_document']=_0xe2cbd2,this[_0x38fe40(0x237)]=_0x4ef076,this[_0x38fe40(0x229)]=_0x3dc998,this[_0x38fe40(0x22d)]=_0x37ffc4,_0x37490c(this,_0x38fe40(0x1a6),void 0x0),this[_0x38fe40(0x1a6)]=this['_document'][_0x38fe40(0x210)]();}[_0x4a68d1(0x210)](){return this['_tableId'];}[_0x4a68d1(0x21c)](){const _0x4e4337=_0x4a68d1;return this[_0x4e4337(0x229)];}[_0x4a68d1(0x235)](){const _0x329d24=_0x4a68d1;return{'id':this['_tableId'],'rowCount':this[_0x329d24(0x246)](),'columnCount':this[_0x329d24(0x1cf)](),'metadata':this[_0x329d24(0x222)](),'source':this[_0x329d24(0x1f4)]()};}[_0x4a68d1(0x268)](){const _0x1a9811=_0x4a68d1;var _0x2067e4,_0x286041;let _0x16f03c=this[_0x1a9811(0x222)](),_0x114c8d=this['getSource'](),_0x4dd288=this[_0x1a9811(0x1cf)]();return{'id':this[_0x1a9811(0x237)],'rowCount':this[_0x1a9811(0x246)](),'columnCount':_0x4dd288,'headerRowCount':(_0x2067e4=_0x16f03c==null?void 0x0:_0x16f03c[_0x1a9811(0x1fc)])==null?0x0:_0x2067e4,'titleRow':(_0x286041=_0x16f03c==null?void 0x0:_0x16f03c['titleRow'])==null?!0x1:_0x286041,'columns':Array[_0x1a9811(0x242)]({'length':_0x4dd288},(_0x26e2d3,_0x3e1791)=>{const _0x1c31ea=_0x1a9811;var _0x13bf0e,_0x272100;return{'index':_0x3e1791,'type':_0x16f03c==null||(_0x13bf0e=_0x16f03c[_0x1c31ea(0x1e7)])==null||(_0x13bf0e=_0x13bf0e[_0x3e1791])==null?void 0x0:_0x13bf0e['type'],'width':_0x114c8d==null||(_0x272100=_0x114c8d[_0x1c31ea(0x1b6)][_0x3e1791])==null?void 0x0:_0x272100[_0x1c31ea(0x1c1)][_0x1c31ea(0x232)]['v']};}),'sampleRows':Array['from']({'length':this[_0x1a9811(0x246)]()},(_0x25742d,_0x556133)=>Array[_0x1a9811(0x242)]({'length':_0x4dd288},(_0x1a836e,_0x3f12ce)=>this['getCellText'](_0x556133,_0x3f12ce)))[_0x1a9811(0x1f0)](_0xd80525=>_0xd80525[_0x1a9811(0x19a)](_0x4b86c4=>_0x4b86c4[_0x1a9811(0x1a4)]>0x0))['slice'](0x0,0x5)};}['getRowCount'](){const _0x50bc34=_0x4a68d1;var _0x4935cc,_0x368850;return(_0x4935cc=(_0x368850=this['getSource']())==null?void 0x0:_0x368850[_0x50bc34(0x1f6)][_0x50bc34(0x1a4)])==null?0x0:_0x4935cc;}[_0x4a68d1(0x1cf)](){const _0x40ad86=_0x4a68d1;var _0x2934a5,_0x4bb2b9;return(_0x2934a5=(_0x4bb2b9=this[_0x40ad86(0x1f4)]())==null?void 0x0:_0x4bb2b9[_0x40ad86(0x1b6)][_0x40ad86(0x1a4)])==null?0x0:_0x2934a5;}[_0x4a68d1(0x264)](_0x16c96c,_0x29824a){const _0x521fca=_0x4a68d1;var _0x5bfab7;return!((_0x5bfab7=this[_0x521fca(0x1f4)]())==null||(_0x5bfab7=_0x5bfab7[_0x521fca(0x1f6)][_0x16c96c])==null)&&_0x5bfab7[_0x521fca(0x1f2)][_0x29824a]?this[_0x521fca(0x22d)][_0x521fca(0x1f7)](_0x39a5af,this,_0x16c96c,_0x29824a):null;}[_0x4a68d1(0x25e)](_0x310e30,_0x33b4c3){const _0xd6a8=_0x4a68d1;var _0x43676b,_0x211a6a,_0x143376;let _0xd04975=(_0x43676b=(0x0,_0x523de9[_0xd6a8(0x251)])(this[_0xd6a8(0x19f)](),this[_0xd6a8(0x237)]))==null||(_0x43676b=_0x43676b[_0xd6a8(0x21f)][_0x310e30])==null?void 0x0:_0x43676b[_0xd6a8(0x1bb)][_0x33b4c3];return _0xd04975?(_0x211a6a=(_0x143376=this['_getDocumentData']()[_0xd6a8(0x1b8)])==null?void 0x0:_0x143376['dataStream'][_0xd6a8(0x1a0)](_0xd04975[_0xd6a8(0x201)]+0x1,_0xd04975[_0xd6a8(0x26b)])['replace'](/\r\n$/,''))==null?'':_0x211a6a:'';}['getCellMargin'](_0x190086,_0x38573a){const _0xbcf4bf=_0x4a68d1;var _0x3002d1,_0x3770be,_0x5be27c;let _0x1b27b1=this['getSource'](),_0x3460ca=_0x1b27b1==null||(_0x3002d1=_0x1b27b1[_0xbcf4bf(0x1f6)][_0x190086])==null?void 0x0:_0x3002d1[_0xbcf4bf(0x1f2)][_0x38573a];return _0x3460ca?_0x295219[_0xbcf4bf(0x1c8)][_0xbcf4bf(0x24b)]((_0x3770be=(_0x5be27c=_0x3460ca[_0xbcf4bf(0x1ed)])==null?_0x1b27b1['cellMargin']:_0x5be27c)==null?_0x523de9[_0xbcf4bf(0x241)]:_0x3770be):null;}[_0x4a68d1(0x1bc)](_0xa7721c,_0x4e9a4b){const _0x140f0c=_0x4a68d1;var _0x3be029;let _0x543df5=(_0x3be029=this[_0x140f0c(0x1f4)]())==null||(_0x3be029=_0x3be029[_0x140f0c(0x1f6)][_0xa7721c])==null?void 0x0:_0x3be029[_0x140f0c(0x1f2)][_0x4e9a4b];return _0x543df5!=null&&_0x543df5[_0x140f0c(0x1ed)]?_0x295219[_0x140f0c(0x1c8)]['deepClone'](_0x543df5[_0x140f0c(0x1ed)]):null;}[_0x4a68d1(0x259)](){const _0x1ddd17=_0x4a68d1;var _0x1a6b31,_0x1b507e;return _0x295219['Tools'][_0x1ddd17(0x24b)]((_0x1a6b31=(_0x1b507e=this[_0x1ddd17(0x1f4)]())==null?void 0x0:_0x1b507e[_0x1ddd17(0x1d1)])==null?_0x523de9['DEFAULT_DOCS_TABLE_CELL_MARGIN']:_0x1a6b31);}['getDefaultCellMarginOverride'](){const _0x3e48a0=_0x4a68d1;var _0x38ac6e;let _0x14cc88=(_0x38ac6e=this[_0x3e48a0(0x1f4)]())==null?void 0x0:_0x38ac6e[_0x3e48a0(0x1d1)];return _0x14cc88?_0x295219[_0x3e48a0(0x1c8)][_0x3e48a0(0x24b)](_0x14cc88):null;}[_0x4a68d1(0x222)](){const _0x29307d=_0x4a68d1;return this[_0x29307d(0x22d)][_0x29307d(0x21b)](_0x523de9[_0x29307d(0x25d)])['getTableMetadata'](this[_0x29307d(0x1a6)],this['_tableId']);}[_0x4a68d1(0x1f4)](){const _0x24da6c=_0x4a68d1;var _0x446835;return(_0x446835=this[_0x24da6c(0x19f)]()[_0x24da6c(0x1f5)])==null?void 0x0:_0x446835[this['_tableId']];}[_0x4a68d1(0x1c2)](){const _0x13c9aa=_0x4a68d1;return(0x0,_0x523de9[_0x13c9aa(0x251)])(this['_getDocumentData'](),this['_tableId']);}[_0x4a68d1(0x1a7)](){const _0x457281=_0x4a68d1;return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x457281(0x236)](0x0,this['getColumnCount']()-0x1)};}[_0x4a68d1(0x1bd)](_0x58d032,_0x2c7d7a){return{'startRow':_0x58d032,'endRow':_0x58d032,'startColumn':_0x2c7d7a,'endColumn':_0x2c7d7a};}[_0x4a68d1(0x1ac)](_0x56d750,_0x303900){const _0x6133dc=_0x4a68d1;var _0x871d24;let _0x5a87c4=(_0x871d24=(0x0,_0x523de9[_0x6133dc(0x251)])(this[_0x6133dc(0x19f)](),this[_0x6133dc(0x237)]))==null||(_0x871d24=_0x871d24[_0x6133dc(0x21f)][_0x56d750])==null?void 0x0:_0x871d24[_0x6133dc(0x1bb)][_0x303900];if(!_0x5a87c4)return null;let _0x34e9be=_0x5a87c4[_0x6133dc(0x201)]+0x1;return{'startOffset':_0x34e9be,'endOffset':Math[_0x6133dc(0x236)](_0x34e9be,_0x5a87c4[_0x6133dc(0x26b)]-0x1),'segmentId':this[_0x6133dc(0x229)]};}[_0x4a68d1(0x1fa)](_0x1d7c51,_0x13202e){const _0x472059=_0x4a68d1;var _0xadd5f0,_0x4fb75f;return(_0xadd5f0=(_0x4fb75f=this[_0x472059(0x1ac)](_0x1d7c51,_0x13202e))==null?void 0x0:_0x4fb75f[_0x472059(0x26b)])==null?null:_0xadd5f0;}[_0x4a68d1(0x1a5)](_0x54bc2d){const _0x2c526c=_0x4a68d1;return this[_0x2c526c(0x1a9)](_0x54bc2d,0x1);}[_0x4a68d1(0x1a9)](_0x2b0fc3,_0x4d96fc=0x1){const _0x166f0d=_0x4a68d1;return{'startRow':_0x2b0fc3,'endRow':_0x2b0fc3+_0x4d96fc-0x1,'startColumn':0x0,'endColumn':Math[_0x166f0d(0x236)](0x0,this[_0x166f0d(0x1cf)]()-0x1)};}[_0x4a68d1(0x249)](_0x73a2b6){return this['getColumnsRange'](_0x73a2b6,0x1);}[_0x4a68d1(0x20d)](_0x4470f5,_0x4c4f5a=0x1){const _0x20cfe1=_0x4a68d1;return{'startRow':0x0,'endRow':Math[_0x20cfe1(0x236)](0x0,this[_0x20cfe1(0x246)]()-0x1),'startColumn':_0x4470f5,'endColumn':_0x4470f5+_0x4c4f5a-0x1};}[_0x4a68d1(0x1ec)](){const _0x24abd1=_0x4a68d1;return this[_0x24abd1(0x1a2)](this['getTableRange'](),_0x523de9[_0x24abd1(0x202)][_0x24abd1(0x1b7)]);}['selectRow'](_0x1e176c){const _0x353f9a=_0x4a68d1;return this[_0x353f9a(0x224)](_0x1e176c,0x1);}[_0x4a68d1(0x224)](_0x460e67,_0x1e7b9e=0x1){const _0x2d9a5c=_0x4a68d1;return this['selectRange'](this[_0x2d9a5c(0x1a9)](_0x460e67,_0x1e7b9e),_0x523de9[_0x2d9a5c(0x202)]['Row']);}['selectColumn'](_0x4171b3){const _0x536fa7=_0x4a68d1;return this[_0x536fa7(0x204)](_0x4171b3,0x1);}['selectColumns'](_0x3fa6cb,_0xa46180=0x1){const _0x4379b4=_0x4a68d1;return this['selectRange'](this[_0x4379b4(0x20d)](_0x3fa6cb,_0xa46180),_0x523de9['DocsTableSelectionKind']['Column']);}['selectCell'](_0x56178e,_0x58796a){const _0x365c79=_0x4a68d1;return this[_0x365c79(0x1a2)](this[_0x365c79(0x1bd)](_0x56178e,_0x58796a),_0x523de9[_0x365c79(0x202)]['Cell']);}[_0x4a68d1(0x1a2)](_0x54d88d,_0x380126=_0x523de9[_0x4a68d1(0x202)][_0x4a68d1(0x1ea)]){const _0x2ab033=_0x4a68d1;return this[_0x2ab033(0x22d)][_0x2ab033(0x21b)](_0x523de9['DocsTableSelectionService'])[_0x2ab033(0x1ad)]({..._0x54d88d,'kind':_0x380126,'segmentId':this['_segmentId'],'tableId':this[_0x2ab033(0x237)]}),!0x0;}[_0x4a68d1(0x1dc)](_0x28fa6c){const _0x170d65=_0x4a68d1;return this[_0x170d65(0x26d)](_0x28fa6c,0x1);}[_0x4a68d1(0x1ff)](_0x472a52){const _0x5e2bd4=_0x4a68d1;return this[_0x5e2bd4(0x1c6)](_0x472a52,0x1);}[_0x4a68d1(0x26d)](_0x3dd23f,_0x127c8e){const _0x121ccb=_0x4a68d1;let _0x3b631d=this[_0x121ccb(0x19f)](),_0x134e6b=(0x0,_0x523de9[_0x121ccb(0x25f)])(_0x3b631d,this[_0x121ccb(0x237)],_0x3dd23f,_0x127c8e,_0x523de9[_0x121ccb(0x24e)][_0x121ccb(0x1c9)],this['_getBodyPath']());return _0x134e6b?this[_0x121ccb(0x23c)](_0x3b631d,_0x134e6b[_0x121ccb(0x200)]):!0x1;}[_0x4a68d1(0x1c6)](_0x27dbcd,_0x30856f){const _0x535632=_0x4a68d1;let _0x3b5a9a=this[_0x535632(0x19f)](),_0x1a7192=(0x0,_0x523de9[_0x535632(0x25f)])(_0x3b5a9a,this[_0x535632(0x237)],_0x27dbcd,_0x30856f,_0x523de9[_0x535632(0x24e)]['Below'],this[_0x535632(0x1d5)]());return _0x1a7192?this['_mutateActions'](_0x3b5a9a,_0x1a7192[_0x535632(0x200)]):!0x1;}[_0x4a68d1(0x1fd)](){const _0x49df2f=_0x4a68d1;return this[_0x49df2f(0x1c6)](Math[_0x49df2f(0x236)](0x0,this[_0x49df2f(0x246)]()-0x1),0x1);}[_0x4a68d1(0x206)](_0x118670){const _0x5554d9=_0x4a68d1;return this[_0x5554d9(0x1ab)](_0x118670,0x1);}['insertColumnAfter'](_0x5ba06d){const _0x121d37=_0x4a68d1;return this[_0x121d37(0x25a)](_0x5ba06d,0x1);}[_0x4a68d1(0x1ab)](_0x4a883e,_0x3614b5){const _0x39fbf9=_0x4a68d1;let _0x5996ed=this[_0x39fbf9(0x19f)](),_0x4db978=(0x0,_0x523de9[_0x39fbf9(0x1e2)])(_0x5996ed,this['_tableId'],_0x4a883e,_0x3614b5,_0x523de9['DocsTableInsertPosition'][_0x39fbf9(0x208)],{'bodyPath':this[_0x39fbf9(0x1d5)]()});return _0x4db978?this[_0x39fbf9(0x23c)](_0x5996ed,_0x4db978[_0x39fbf9(0x200)]):!0x1;}[_0x4a68d1(0x25a)](_0x33a2ea,_0x380242){const _0x78732f=_0x4a68d1;let _0x138f6c=this[_0x78732f(0x19f)](),_0x50b6a8=(0x0,_0x523de9[_0x78732f(0x1e2)])(_0x138f6c,this[_0x78732f(0x237)],_0x33a2ea,_0x380242,_0x523de9[_0x78732f(0x24e)]['Right'],{'bodyPath':this[_0x78732f(0x1d5)]()});return _0x50b6a8?this['_mutateActions'](_0x138f6c,_0x50b6a8[_0x78732f(0x200)]):!0x1;}['appendColumn'](){const _0x230f19=_0x4a68d1;return this[_0x230f19(0x25a)](Math[_0x230f19(0x236)](0x0,this[_0x230f19(0x1cf)]()-0x1),0x1);}[_0x4a68d1(0x1dd)](_0x502e84){const _0x140a16=_0x4a68d1;return this[_0x140a16(0x20c)](_0x502e84,0x1);}[_0x4a68d1(0x20c)](_0x4f3f41,_0x2b9256=0x1){const _0x455704=_0x4a68d1;let _0x45a6b3=this[_0x455704(0x19f)](),_0x243702=(0x0,_0x523de9[_0x455704(0x1a3)])(_0x45a6b3,this[_0x455704(0x237)],_0x4f3f41,_0x4f3f41+_0x2b9256-0x1,this[_0x455704(0x1d5)]());return _0x243702?this[_0x455704(0x23c)](_0x45a6b3,_0x243702[_0x455704(0x200)]):!0x1;}[_0x4a68d1(0x248)](_0x74ca86){const _0x2efea6=_0x4a68d1;return this[_0x2efea6(0x1d9)](_0x74ca86,0x1);}[_0x4a68d1(0x1d9)](_0x1f383f,_0x23c129=0x1){const _0x2c76ce=_0x4a68d1;let _0x5d4db2=this['_getDocumentData'](),_0x213485=(0x0,_0x523de9[_0x2c76ce(0x231)])(_0x5d4db2,this[_0x2c76ce(0x237)],_0x1f383f,_0x1f383f+_0x23c129-0x1,this[_0x2c76ce(0x1d5)]());return _0x213485?this[_0x2c76ce(0x23c)](_0x5d4db2,_0x213485[_0x2c76ce(0x200)]):!0x1;}[_0x4a68d1(0x211)](){const _0x338d8c=_0x4a68d1;let _0x3bf320=this[_0x338d8c(0x19f)](),_0x3a1dcc=(0x0,_0x523de9['buildDeleteTableMutationActions'])(_0x3bf320,this['_tableId'],this[_0x338d8c(0x1d5)]());return _0x3a1dcc?this['_mutateActions'](_0x3bf320,_0x3a1dcc['actions']):!0x1;}[_0x4a68d1(0x1af)](_0x476192,_0x128c22){const _0x1182c4=_0x4a68d1;let _0x1f3cb9=this[_0x1182c4(0x19f)]();return this['_mutateActions'](_0x1f3cb9,(0x0,_0x523de9[_0x1182c4(0x1b3)])(_0x1f3cb9,this[_0x1182c4(0x237)],_0x476192,_0x128c22));}['moveTableToOffset'](_0x4f853b){const _0x4b5470=_0x4a68d1;let _0x199a04=this[_0x4b5470(0x19f)]();return this['_mutateActions'](_0x199a04,(0x0,_0x523de9['buildMoveTableToOffsetMutationActions'])(_0x199a04,this['_tableId'],_0x4f853b,this[_0x4b5470(0x1d5)]()));}[_0x4a68d1(0x1e9)](_0x475069,_0xda0d46,_0x2c5d49=_0x523de9[_0x4a68d1(0x24e)][_0x4a68d1(0x1c9)]){const _0x21d9e4=_0x4a68d1;return this[_0x21d9e4(0x220)](_0x475069,0x1,_0xda0d46,_0x2c5d49);}[_0x4a68d1(0x220)](_0x3b28b2,_0x50dc12,_0x5a4ce6,_0x77ed96=_0x523de9['DocsTableInsertPosition'][_0x4a68d1(0x1c9)]){const _0x37f3f0=_0x4a68d1;let _0xb86a5=this[_0x37f3f0(0x19f)](),_0x43a60c=(0x0,_0x523de9[_0x37f3f0(0x1e4)])(_0xb86a5,this[_0x37f3f0(0x237)],_0x3b28b2,_0x5a4ce6,_0x50dc12,_0x77ed96,this[_0x37f3f0(0x1d5)]());return _0x43a60c?this[_0x37f3f0(0x23c)](_0xb86a5,_0x43a60c['actions']):!0x1;}['moveColumn'](_0x50c770,_0x133bf8,_0x407f54=_0x523de9[_0x4a68d1(0x24e)][_0x4a68d1(0x208)]){const _0x41ba49=_0x4a68d1;return this[_0x41ba49(0x262)](_0x50c770,0x1,_0x133bf8,_0x407f54);}[_0x4a68d1(0x262)](_0x483eee,_0xe45242,_0x58c535,_0x2eeeaf=_0x523de9[_0x4a68d1(0x24e)][_0x4a68d1(0x208)]){const _0xd56bbb=_0x4a68d1;let _0x45380d=this[_0xd56bbb(0x19f)](),_0x42ef4d=(0x0,_0x523de9['buildMoveTableColumnsMutationActions'])(_0x45380d,this['_tableId'],_0x483eee,_0x58c535,_0xe45242,_0x2eeeaf,this[_0xd56bbb(0x1d5)]());return _0x42ef4d?this['_mutateActions'](_0x45380d,_0x42ef4d[_0xd56bbb(0x200)]):!0x1;}[_0x4a68d1(0x26c)](_0x3d6fd2){const _0x376804=_0x4a68d1;try{let _0x3e389b=this[_0x376804(0x19f)](),_0x3acde1=(0x0,_0x523de9[_0x376804(0x1e6)])({'documentData':_0x3e389b,'tableId':this[_0x376804(0x237)],..._0x3d6fd2});return _0x3acde1?this[_0x376804(0x23c)](_0x3e389b,_0x3acde1[_0x376804(0x200)],_0x3d6fd2):!0x1;}catch{return!0x1;}}[_0x4a68d1(0x1aa)](_0x5237e8){const _0x5e8ab9=_0x4a68d1;try{let _0x1638fd=this['_getDocumentData'](),_0xe1cf26=(0x0,_0x523de9[_0x5e8ab9(0x243)])({'documentData':_0x1638fd,'tableId':this[_0x5e8ab9(0x237)],..._0x5237e8});return _0xe1cf26?this[_0x5e8ab9(0x23c)](_0x1638fd,_0xe1cf26['actions'],_0x5237e8):!0x1;}catch{return!0x1;}}['setCellText'](_0x9524f9,_0x3b4770,_0x234650){const _0x567898=_0x4a68d1;let _0x44a6f6=this[_0x567898(0x19f)](),_0x4062b1=(0x0,_0x523de9['getTableActionBodyPath'])(this[_0x567898(0x258)][_0x567898(0x263)]()[_0x567898(0x1ca)](),this[_0x567898(0x229)]);return this[_0x567898(0x23c)](_0x44a6f6,(0x0,_0x523de9[_0x567898(0x219)])({'documentData':_0x44a6f6,'tableId':this[_0x567898(0x237)],'row':_0x9524f9,'column':_0x3b4770,'text':_0x234650},_0x4062b1),this[_0x567898(0x1bd)](_0x9524f9,_0x3b4770));}['setCellBackground'](_0x369c1f,_0x894c2){const _0x37e9ab=_0x4a68d1;let _0x3a0c01=this[_0x37e9ab(0x19f)]();return this['_mutateActions'](_0x3a0c01,(0x0,_0x523de9[_0x37e9ab(0x1ae)])(_0x3a0c01,{'tableId':this[_0x37e9ab(0x237)],..._0x369c1f,'value':_0x894c2}),_0x369c1f);}['setCellMargin'](_0x3d4d87,_0xd02803){const _0x5d9296=_0x4a68d1;let _0x1e2545=this[_0x5d9296(0x19f)]();return this[_0x5d9296(0x23c)](_0x1e2545,(0x0,_0x523de9[_0x5d9296(0x1da)])({'documentData':_0x1e2545,'tableId':this[_0x5d9296(0x237)],..._0x3d4d87,'margin':_0xd02803}),_0x3d4d87);}['setDefaultCellMargin'](_0x38a8da){const _0x144b00=_0x4a68d1;let _0x21196e=this[_0x144b00(0x19f)]();return this[_0x144b00(0x23c)](_0x21196e,(0x0,_0x523de9[_0x144b00(0x228)])(_0x21196e,this[_0x144b00(0x237)],_0x38a8da));}[_0x4a68d1(0x1fe)](_0x8a6ce7,_0x49066b){const _0x17fdb4=_0x4a68d1;var _0x5eb913,_0x344bed,_0x23647a,_0x527635;let _0x33d1ce=this[_0x17fdb4(0x19f)]();return this[_0x17fdb4(0x23c)](_0x33d1ce,(0x0,_0x523de9[_0x17fdb4(0x1d0)])({'documentData':_0x33d1ce,'tableId':this[_0x17fdb4(0x237)],..._0x8a6ce7,'preset':(_0x5eb913=_0x49066b[_0x17fdb4(0x254)])==null?_0x523de9['DocsTableBorderPreset'][_0x17fdb4(0x1b0)]:_0x5eb913,'border':(_0x344bed=_0x49066b[_0x17fdb4(0x217)])==null?{'color':{'rgb':(_0x23647a=_0x49066b['color'])==null?'#1f1f1f':_0x23647a},'width':{'v':(_0x527635=_0x49066b[_0x17fdb4(0x232)])==null?0x1:_0x527635},'dashStyle':_0x295219[_0x17fdb4(0x21e)][_0x17fdb4(0x23e)]}:_0x344bed}),_0x8a6ce7);}[_0x4a68d1(0x20f)](_0x266ed3){const _0x23615c=_0x4a68d1;return this[_0x23615c(0x1db)](this[_0x23615c(0x1a7)](),_0x266ed3);}[_0x4a68d1(0x207)](_0x1dfb5a){const _0x4af465=_0x4a68d1;return this[_0x4af465(0x1fe)](this['getTableRange'](),_0x1dfb5a);}['setTableStyle'](_0x25d3cd){const _0x303d95=_0x4a68d1;let _0x2a646f=_0x25d3cd['backgroundColor']?this[_0x303d95(0x20f)](_0x25d3cd[_0x303d95(0x1ee)]):!0x0,_0x1b805e=_0x25d3cd['border']?this[_0x303d95(0x207)](_0x25d3cd['border']):!0x0;return _0x2a646f&&_0x1b805e;}[_0x4a68d1(0x244)](_0x11c7cd,_0x21b7f0,_0x185d9d=_0x295219[_0x4a68d1(0x230)]['AT_LEAST']){const _0x516dd5=_0x4a68d1;var _0x45cc75;let _0x4ec56b=this[_0x516dd5(0x19f)]();return!((_0x45cc75=_0x4ec56b['tableSource'])==null||(_0x45cc75=_0x45cc75[this[_0x516dd5(0x237)]])==null)&&_0x45cc75['tableRows'][_0x11c7cd]?this[_0x516dd5(0x23c)](_0x4ec56b,(0x0,_0x523de9[_0x516dd5(0x19e)])(_0x4ec56b,this['_tableId'],_0x11c7cd,_0x21b7f0,_0x185d9d)):!0x1;}[_0x4a68d1(0x214)](_0xe057f6){const _0x5e1f2c=_0x4a68d1;var _0x1bc12c;let _0x4e186a=(_0x1bc12c=this['getSource']())==null||(_0x1bc12c=_0x1bc12c['tableRows'][_0xe057f6])==null?void 0x0:_0x1bc12c[_0x5e1f2c(0x21a)];return _0x4e186a?_0x295219['Tools'][_0x5e1f2c(0x24b)](_0x4e186a):null;}[_0x4a68d1(0x253)](_0x56c505,_0x39f227){const _0xee7ec0=_0x4a68d1;var _0x5c754f;let _0x546a2f=this[_0xee7ec0(0x19f)]();return!((_0x5c754f=_0x546a2f[_0xee7ec0(0x1f5)])==null||(_0x5c754f=_0x5c754f[this[_0xee7ec0(0x237)]])==null)&&_0x5c754f[_0xee7ec0(0x1b6)][_0x56c505]?this[_0xee7ec0(0x23c)](_0x546a2f,(0x0,_0x523de9['buildResizeTableColumnActionsFromWidth'])(_0x546a2f,this[_0xee7ec0(0x237)],_0x56c505,_0x39f227)):!0x1;}[_0x4a68d1(0x21d)](_0xec9375=0x0,_0x3350c7=this[_0x4a68d1(0x246)]()){const _0x2df061=_0x4a68d1;let _0x173a45=this[_0x2df061(0x19f)]();return this['_mutateActions'](_0x173a45,(0x0,_0x523de9[_0x2df061(0x203)])(_0x173a45,this[_0x2df061(0x237)],_0xec9375,_0xec9375+_0x3350c7-0x1));}[_0x4a68d1(0x1a1)](_0x570891=0x0,_0x27c384=this[_0x4a68d1(0x1cf)]()){const _0x3785ca=_0x4a68d1;let _0x85850f=this['_getDocumentData']();return this[_0x3785ca(0x23c)](_0x85850f,(0x0,_0x523de9[_0x3785ca(0x1b5)])(_0x85850f,this['_tableId'],_0x570891,_0x570891+_0x27c384-0x1));}[_0x4a68d1(0x20a)](){const _0x597460=_0x4a68d1;var _0x54c1c7,_0x362df6;return(_0x54c1c7=(_0x362df6=this[_0x597460(0x222)]())==null?void 0x0:_0x362df6['headerRowCount'])==null?0x0:_0x54c1c7;}[_0x4a68d1(0x227)](_0x2052f0){const _0x5daeec=_0x4a68d1;let _0x5d087c=this[_0x5daeec(0x22d)][_0x5daeec(0x21b)](_0x523de9[_0x5daeec(0x25d)]),_0x5a8c70=this['_getDocumentData'](),_0x32c376=(0x0,_0x523de9[_0x5daeec(0x1d7)])(_0x5a8c70,this[_0x5daeec(0x237)],_0x2052f0);if(!_0x32c376)return!0x1;let _0x42a427=this[_0x5daeec(0x23c)](_0x5a8c70,_0x32c376[_0x5daeec(0x200)]);return _0x42a427&&_0x5d087c[_0x5daeec(0x227)](this[_0x5daeec(0x1a6)],this[_0x5daeec(0x237)],_0x32c376['headerRowCount']),_0x42a427;}[_0x4a68d1(0x212)](_0x2f3c97){const _0x28497f=_0x4a68d1;return this[_0x28497f(0x227)](_0x2f3c97);}[_0x4a68d1(0x23a)](){const _0x111350=_0x4a68d1;var _0x26b16a,_0x8c07d6;return(_0x26b16a=(_0x8c07d6=this['getMetadata']())==null?void 0x0:_0x8c07d6[_0x111350(0x1ce)])==null?!0x1:_0x26b16a;}[_0x4a68d1(0x1c5)](){const _0x4f0aaf=_0x4a68d1;let _0x6edd95=this[_0x4f0aaf(0x22d)][_0x4f0aaf(0x21b)](_0x523de9[_0x4f0aaf(0x25d)]),_0x5d095a=this[_0x4f0aaf(0x19f)](),_0x32250b=(0x0,_0x523de9[_0x4f0aaf(0x234)])(_0x5d095a,this['_tableId'],this[_0x4f0aaf(0x1d5)]());if(!_0x32250b)return!0x1;let _0x44c7d2=this[_0x4f0aaf(0x23c)](_0x5d095a,_0x32250b[_0x4f0aaf(0x200)]);return _0x44c7d2&&_0x6edd95['setTitleRow'](this[_0x4f0aaf(0x1a6)],this['_tableId'],!0x0),_0x44c7d2;}[_0x4a68d1(0x1be)](_0x4f1ea4,_0x464451){const _0x1910a5=_0x4a68d1;return this[_0x1910a5(0x22d)]['get'](_0x523de9[_0x1910a5(0x25d)])['setColumnType'](this['_unitId'],this['_tableId'],_0x4f1ea4,_0x464451),!0x0;}[_0x4a68d1(0x239)](_0x50bcfb,_0x40e180){const _0x493ef8=_0x4a68d1;let _0x45807c=this[_0x493ef8(0x19f)]();return this[_0x493ef8(0x23c)](_0x45807c,(0x0,_0x523de9[_0x493ef8(0x26a)])(_0x45807c,this['_serializeModel'](),this['_tableId'],_0x50bcfb,_0x40e180,this[_0x493ef8(0x1d5)]()));}['_getDocumentData'](){const _0x44e899=_0x4a68d1;let _0x56148c=this[_0x44e899(0x258)][_0x44e899(0x263)]()[_0x44e899(0x1ca)]();return this[_0x44e899(0x229)]?{...this[_0x44e899(0x258)][_0x44e899(0x263)](this[_0x44e899(0x229)])['getSnapshot'](),'documentStyle':_0x56148c[_0x44e899(0x1f9)],'tableSource':_0x56148c['tableSource']}:_0x56148c;}['_serializeModel'](){const _0x166f06=_0x4a68d1;return this['_injector'][_0x166f06(0x21b)](_0x523de9['DocsTableModel'])[_0x166f06(0x269)](this[_0x166f06(0x1a6)]);}['_getBodyPath'](){const _0x4e52d4=_0x4a68d1;return(0x0,_0x523de9[_0x4e52d4(0x1f8)])(this[_0x4e52d4(0x258)][_0x4e52d4(0x263)]()[_0x4e52d4(0x1ca)](),this[_0x4e52d4(0x229)]);}['_mutateActions'](_0x15eccb,_0x125758,_0x39ae7c){const _0x368e6e=_0x4a68d1;return(0x0,_0x523de9[_0x368e6e(0x266)])(this['_injector']['get'](_0x295219['ICommandService']),this[_0x368e6e(0x1a6)],_0x15eccb,_0x125758,_0x39ae7c?{'tableId':this[_0x368e6e(0x237)],'segmentId':this[_0x368e6e(0x229)],..._0x39ae7c}:void 0x0);}},_0x5f2116=class extends _0x2e9a78[_0x4a68d1(0x1c4)]{[_0x4a68d1(0x20e)](_0x892f76=''){const _0x4c9a4e=_0x4a68d1;return this[_0x4c9a4e(0x257)](_0x892f76)['map'](_0x4aceaa=>this[_0x4c9a4e(0x250)](_0x4aceaa[_0x4c9a4e(0x1a8)],_0x892f76));}['getTable'](_0x1d397e,_0x9ec4aa=''){const _0xf117c3=_0x4a68d1;return this[_0xf117c3(0x257)](_0x9ec4aa)[_0xf117c3(0x19a)](_0x5569c3=>_0x5569c3['tableId']===_0x1d397e)?this[_0xf117c3(0x250)](_0x1d397e,_0x9ec4aa):null;}['getTableAt'](_0x4488f2,_0x7d33c2=''){const _0x139c8e=_0x4a68d1;var _0x582be0;let _0x3c6bdd=(_0x582be0=this[_0x139c8e(0x257)](_0x7d33c2)[_0x4488f2])==null?void 0x0:_0x582be0[_0x139c8e(0x1a8)];return _0x3c6bdd?this[_0x139c8e(0x250)](_0x3c6bdd,_0x7d33c2):null;}['getTableAtSelection'](){const _0x1eca79=_0x4a68d1;let _0x4ce65d=this['_injector']['get'](_0x523de9['DocsTableSelectionService'])['getStableTableSelection']();return _0x4ce65d!=null&&_0x4ce65d['tableId']?this['_createFDocumentTable'](_0x4ce65d['tableId'],_0x4ce65d[_0x1eca79(0x247)]):null;}[_0x4a68d1(0x1d3)](_0x1f04b3,_0x1e79fe=''){const _0x2488e6=_0x4a68d1;var _0x14cf39;return(_0x14cf39=this[_0x2488e6(0x1fb)](_0x1f04b3,_0x1e79fe)[0x0])==null?null:_0x14cf39;}[_0x4a68d1(0x1fb)](_0x1c2f4d,_0x1580df=''){const _0x4c4a3d=_0x4a68d1;let _0x3ff16a=this[_0x4c4a3d(0x22a)](_0x1580df),_0x36d165=typeof _0x1c2f4d==_0x4c4a3d(0x225)?{'text':_0x1c2f4d}:_0x1c2f4d;return this[_0x4c4a3d(0x20e)](_0x1580df)[_0x4c4a3d(0x1f0)](_0x51f766=>{const _0x542311=_0x4c4a3d;let _0x4760be=_0x51f766['getId']();return!(_0x36d165['tableId']&&_0x4760be!==_0x36d165['tableId']||_0x36d165['text']&&!this[_0x542311(0x209)](_0x3ff16a,_0x4760be,_0x36d165['text'])||_0x36d165[_0x542311(0x25c)]&&!this[_0x542311(0x226)](_0x51f766,0x0,_0x36d165[_0x542311(0x25c)])||_0x36d165[_0x542311(0x1cc)]&&!this[_0x542311(0x226)](_0x51f766,0x0,_0x36d165[_0x542311(0x1cc)]));});}[_0x4a68d1(0x245)](_0x536349,_0x5515e0,_0x91e1a7={}){const _0x4b771c=_0x4a68d1;var _0x3d3c25,_0x2bcd8a;let _0x5f1016=this[_0x4b771c(0x22d)]['get'](_0x295219['ICommandService']),_0x35d4e7=(_0x3d3c25=_0x91e1a7[_0x4b771c(0x1a8)])==null?(0x0,_0x295219[_0x4b771c(0x23b)])(0x6):_0x3d3c25;return _0x5f1016['syncExecuteCommand'](_0x523de9['DocsTableInsertTableCommand']['id'],{..._0x91e1a7,'unitId':this['getId'](),'rows':_0x536349,'columns':_0x5515e0,'tableId':_0x35d4e7})?this[_0x4b771c(0x250)](_0x35d4e7,(_0x2bcd8a=_0x91e1a7['segmentId'])==null?'':_0x2bcd8a):null;}[_0x4a68d1(0x1d2)](_0x166667,_0x169fcb={}){const _0x2a441a=_0x4a68d1;var _0x264df6,_0x5caf26;let _0x439cca=this[_0x2a441a(0x22d)][_0x2a441a(0x21b)](_0x295219['ICommandService']),_0x541a85=(_0x264df6=_0x169fcb['tableId'])==null?(0x0,_0x295219[_0x2a441a(0x23b)])(0x6):_0x264df6;return _0x439cca['syncExecuteCommand'](_0x523de9[_0x2a441a(0x19d)]['id'],{..._0x169fcb,'unitId':this[_0x2a441a(0x210)](),'values':_0x166667,'tableId':_0x541a85})?this['_createFDocumentTable'](_0x541a85,(_0x5caf26=_0x169fcb[_0x2a441a(0x247)])==null?'':_0x5caf26):null;}['_getTables'](_0x4227b2=''){const _0x5341c5=_0x4a68d1;let {tables:_0x297e60=[]}=this[_0x5341c5(0x1e1)](_0x4227b2);return _0x297e60;}['_getTableDocumentData'](_0x6692d0=''){const _0x5c8a5f=_0x4a68d1;let _0x32301e=this[_0x5c8a5f(0x263)]()[_0x5c8a5f(0x1ca)]();return _0x6692d0?{...this[_0x5c8a5f(0x263)](_0x6692d0)['getSnapshot'](),'documentStyle':_0x32301e[_0x5c8a5f(0x1f9)],'tableSource':_0x32301e[_0x5c8a5f(0x1f5)]}:_0x32301e;}[_0x4a68d1(0x250)](_0x556b03,_0x296829=''){const _0x5533bb=_0x4a68d1;return this['_injector']['createInstance'](_0x521bab,this,_0x556b03,_0x296829,this[_0x5533bb(0x22d)]);}['_tableContainsText'](_0x1fa479,_0x33963a,_0x2cfcaf){const _0x5e5058=_0x4a68d1;var _0xaad8ea;let _0x162592=(0x0,_0x523de9[_0x5e5058(0x251)])(_0x1fa479,_0x33963a);if(!_0x162592)return!0x1;let _0x3de979=(_0xaad8ea=_0x1fa479[_0x5e5058(0x1b8)])==null?void 0x0:_0xaad8ea[_0x5e5058(0x1ba)];return _0x3de979?_0x3de979[_0x5e5058(0x1a0)](_0x162592[_0x5e5058(0x201)],_0x162592[_0x5e5058(0x26b)])[_0x5e5058(0x261)](_0x2cfcaf):!0x1;}[_0x4a68d1(0x226)](_0x474171,_0x5f2ed8,_0x3dcfe7){const _0x504d00=_0x4a68d1;return Array[_0x504d00(0x242)]({'length':_0x474171['getColumnCount']()},(_0x10969d,_0x44334b)=>_0x474171[_0x504d00(0x25e)](_0x5f2ed8,_0x44334b))[_0x504d00(0x19a)](_0x4a1308=>_0x4a1308[_0x504d00(0x261)](_0x3dcfe7));}};_0x2e9a78[_0x4a68d1(0x1c4)][_0x4a68d1(0x205)](_0x5f2116),_0x572d48[_0x4a68d1(0x1cd)]=_0x521bab,_0x572d48['FDocumentTableCell']=_0x39a5af;}));function _0x5ae0(){const _0x14728a=['moveRow','Range','toStringTag','selectTable','margin','backgroundColor','UniverProDocsTableFacade','filter','68GbUoHN','tableCells','defineProperty','getSource','tableSource','tableRows','createInstance','getTableActionBodyPath','documentStyle','getCellInsertOffset','findTables','headerRowCount','appendRow','setBorder','insertRowAfter','actions','startOffset','DocsTableSelectionKind','buildDistributeTableRowsMutationActions','selectColumns','extend','insertColumnBefore','setTableBorder','Left','_tableContainsText','getHeaderRowCount','setText','deleteRows','getColumnsRange','getTables','setTableBackground','getId','deleteTable','pinHeaderRows','DocsTableColumnType','getRowHeight','prototype','exports','border','setCellMargin','buildSetTableCellTextMutationActions','trHeight','get','getSegmentId','distributeRows','DashStyleType','rows','moveRows','715678WgvNAh','getMetadata','812388kbWlwM','selectRows','string','_rowContainsText','setHeaderRowCount','buildSetTableDefaultCellMarginMutationActions','_segmentId','_getTableDocumentData','setMargin','clearMarginOverride','_injector','function','@univerjs/core','TableRowHeightRule','buildDeleteTableColumnsMutationActions','width','2450985RqlNrp','buildInsertTableTitleRowMutationActions','getInfo','max','_tableId','UniverCoreFacade','sortByColumn','hasTitleRow','generateRandomId','_mutateActions','_table','SOLID','symbol','@univerjs/core/facade','DEFAULT_DOCS_TABLE_CELL_MARGIN','from','buildUnmergeCellsMutationActions','setRowHeight','insertTable','getRowCount','segmentId','deleteColumn','getColumnRange','155283szvKSt','deepClone','getContentRange','_row','DocsTableInsertPosition','getMargin','_createFDocumentTable','getTableRangeById','21RpNoEA','setColumnWidth','preset','5741176JAmYuf','DocsTableSortDirection','_getTables','_document','getDefaultCellMargin','insertColumnsAfter','getInsertOffset','headerText','DocsTableModel','getCellText','buildInsertTableRowsMutationActions','toPrimitive','includes','moveColumns','getDocumentDataModel','getCell','mergeTo','executeRichTextTableActions','object','describe','serialize','buildSortTableMutationActions','endOffset','mergeCells','insertRowsBefore','DocsTableInsertTablePosition','some','UniverProDocsTable','DocsTableBorderPreset','DocsTableInsertTableCommand','buildResizeTableRowActionsFromHeight','_getDocumentData','slice','distributeColumns','selectRange','buildDeleteTableRowsMutationActions','length','getRowRange','_unitId','getTableRange','tableId','getRowsRange','unmergeCells','insertColumnsBefore','getCellContentRange','setStructuralSelection','buildSetTableBackgroundMutationActions','moveTableBy','All','@univerjs/docs/facade','UniverDocsFacade','buildMoveFloatingTableMutationActions','UniverCore','buildDistributeTableColumnsMutationActions','tableColumns','Table','body','2201286nhAImo','dataStream','cells','getCellMarginOverride','getCellRange','setColumnType','getCellMargin','@univerjs-pro/docs-table','size','getRange','DocsTableRowInsertPosition','FDocument','insertTitleRow','insertRowsAfter','setCellText','Tools','Above','getSnapshot','1056582ojaEAm','titleText','FDocumentTable','titleRow','getColumnCount','buildSetTableBorderMutationActions','cellMargin','insertTableFromData','findTableByText','getColumnIndex','_getBodyPath','call','buildSetTableHeaderRowCountMutationActions','_column','deleteColumns','buildSetTableCellMarginMutationActions','setCellBackground','insertRowBefore','deleteRow','getText','amd','FEnum','getBody','buildInsertTableColumnsMutationActions','80DpEAFD','buildMoveTableRowsMutationActions','getMarginOverride','buildMergeCellsMutationActions','columnTypes','getRowIndex'];_0x5ae0=function(){return _0x14728a;};return _0x5ae0();}
|
|
1
|
+
function _0x5253(_0x2b8778,_0x49a280){_0x2b8778=_0x2b8778-0xd2;const _0x55d44d=_0x55d4();let _0x525313=_0x55d44d[_0x2b8778];return _0x525313;}(function(_0x42ed31,_0xb0c06c){const _0x4d4b87=_0x5253,_0x376598=_0x42ed31();while(!![]){try{const _0x163e69=parseInt(_0x4d4b87(0x197))/0x1*(parseInt(_0x4d4b87(0xd2))/0x2)+-parseInt(_0x4d4b87(0xe2))/0x3*(parseInt(_0x4d4b87(0x13a))/0x4)+-parseInt(_0x4d4b87(0x12d))/0x5*(parseInt(_0x4d4b87(0x141))/0x6)+-parseInt(_0x4d4b87(0x128))/0x7*(parseInt(_0x4d4b87(0x181))/0x8)+-parseInt(_0x4d4b87(0xd3))/0x9*(-parseInt(_0x4d4b87(0x112))/0xa)+-parseInt(_0x4d4b87(0x10b))/0xb+parseInt(_0x4d4b87(0x103))/0xc;if(_0x163e69===_0xb0c06c)break;else _0x376598['push'](_0x376598['shift']());}catch(_0x103a76){_0x376598['push'](_0x376598['shift']());}}}(_0x55d4,0x56b68),function(_0x3819d5,_0x5b1317){const _0x5c3422=_0x5253;typeof exports==_0x5c3422(0x109)&&typeof module<'u'?_0x5b1317(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x5c3422(0xe6)&&define[_0x5c3422(0xf3)]?define([_0x5c3422(0x14c),_0x5c3422(0x121),_0x5c3422(0x190),'@univerjs/core/facade',_0x5c3422(0x186)],_0x5b1317):(_0x3819d5=typeof globalThis<'u'?globalThis:_0x3819d5||self,_0x5b1317(_0x3819d5[_0x5c3422(0x144)]={},_0x3819d5[_0x5c3422(0x157)],_0x3819d5[_0x5c3422(0x15d)],_0x3819d5[_0x5c3422(0x145)],_0x3819d5[_0x5c3422(0x179)]));}(this,function(_0x449d82,_0x334d76,_0x46d274,_0x3ec9b3,_0x5b6186){const _0x174a03=_0x5253;Object[_0x174a03(0x1a7)](_0x449d82,Symbol[_0x174a03(0x18e)],{'value':'Module'});var _0x24e6a5=class extends _0x3ec9b3[_0x174a03(0x12a)]{get[_0x174a03(0x14f)](){const _0x3f6a5c=_0x174a03;return _0x334d76[_0x3f6a5c(0x14f)];}get[_0x174a03(0x150)](){const _0x192598=_0x174a03;return _0x334d76[_0x192598(0x150)];}get['DocsTableSelectionKind'](){const _0x3fccf7=_0x174a03;return _0x334d76[_0x3fccf7(0x171)];}get[_0x174a03(0xd4)](){const _0x1e44d6=_0x174a03;return _0x334d76[_0x1e44d6(0xd4)];}get[_0x174a03(0x138)](){const _0x41d95b=_0x174a03;return _0x334d76[_0x41d95b(0x138)];}get[_0x174a03(0x135)](){return _0x334d76['DocsTableBorderPreset'];}get[_0x174a03(0x130)](){const _0x127a57=_0x174a03;return _0x334d76[_0x127a57(0x130)];}get[_0x174a03(0x113)](){const _0x155ee5=_0x174a03;return _0x46d274[_0x155ee5(0x113)];}};_0x3ec9b3[_0x174a03(0x12a)][_0x174a03(0x12c)](_0x24e6a5);var _0x38c491=class{constructor(_0x1e5a98,_0x171548,_0x322a46){const _0xe365f6=_0x174a03;this[_0xe365f6(0x10f)]=_0x1e5a98,this[_0xe365f6(0x1a3)]=_0x171548,this[_0xe365f6(0x10e)]=_0x322a46;}['getTable'](){const _0x2f4fce=_0x174a03;return this[_0x2f4fce(0x10f)];}[_0x174a03(0xe9)](){return this['_row'];}[_0x174a03(0xe7)](){return this['_column'];}[_0x174a03(0x188)](){const _0x92f3fa=_0x174a03;return this['_table'][_0x92f3fa(0x1a9)](this[_0x92f3fa(0x1a3)],this[_0x92f3fa(0x10e)]);}[_0x174a03(0x1a5)](){const _0x3e50f2=_0x174a03;return this['_table']['getCellContentRange'](this[_0x3e50f2(0x1a3)],this[_0x3e50f2(0x10e)]);}[_0x174a03(0x1a6)](){const _0x59327e=_0x174a03;return this[_0x59327e(0x10f)]['getCellInsertOffset'](this['_row'],this[_0x59327e(0x10e)]);}['getMargin'](){const _0x2d3ff1=_0x174a03;return this['_table'][_0x2d3ff1(0xf2)](this[_0x2d3ff1(0x1a3)],this['_column']);}[_0x174a03(0xd7)](){const _0x22fba1=_0x174a03;return this['_table'][_0x22fba1(0xe8)](this[_0x22fba1(0x1a3)],this['_column']);}['setMargin'](_0x4db988){const _0x264ac2=_0x174a03;return this[_0x264ac2(0x10f)][_0x264ac2(0xef)](this[_0x264ac2(0x10f)][_0x264ac2(0x193)](this[_0x264ac2(0x1a3)],this[_0x264ac2(0x10e)]),_0x4db988);}['clearMarginOverride'](){const _0x27ddf5=_0x174a03;return this['_table'][_0x27ddf5(0xef)](this[_0x27ddf5(0x10f)][_0x27ddf5(0x193)](this[_0x27ddf5(0x1a3)],this[_0x27ddf5(0x10e)]),null);}['setText'](_0x2849c2){const _0x56adfb=_0x174a03;return this[_0x56adfb(0x10f)][_0x56adfb(0x16a)](this[_0x56adfb(0x1a3)],this[_0x56adfb(0x10e)],_0x2849c2);}[_0x174a03(0x100)](_0x487889){const _0xe3108e=_0x174a03;return this['_table'][_0xe3108e(0x156)](this[_0xe3108e(0x10f)][_0xe3108e(0x193)](this[_0xe3108e(0x1a3)],this[_0xe3108e(0x10e)]),_0x487889);}[_0x174a03(0x1a2)](_0x2d6694){const _0x70285d=_0x174a03;return this['_table'][_0x70285d(0x1a2)](this[_0x70285d(0x10f)][_0x70285d(0x193)](this[_0x70285d(0x1a3)],this['_column']),_0x2d6694);}[_0x174a03(0xdb)](_0x209a60,_0x2b867e){const _0x3551bc=_0x174a03;return this[_0x3551bc(0x10f)][_0x3551bc(0xf0)]({'startRow':this[_0x3551bc(0x1a3)],'startColumn':this[_0x3551bc(0x10e)],'endRow':this[_0x3551bc(0x1a3)]+_0x209a60-0x1,'endColumn':this[_0x3551bc(0x10e)]+_0x2b867e-0x1});}[_0x174a03(0x111)](){const _0x58edb2=_0x174a03;return this[_0x58edb2(0x10f)]['unmergeCells'](this[_0x58edb2(0x10f)]['getCellRange'](this['_row'],this[_0x58edb2(0x10e)]));}};function _0x429ddc(_0x1d9a1b){'@babel/helpers - typeof';const _0x3fa534=_0x174a03;return _0x429ddc=typeof Symbol==_0x3fa534(0xe6)&&typeof Symbol[_0x3fa534(0xf1)]==_0x3fa534(0x11f)?function(_0x34a778){return typeof _0x34a778;}:function(_0x2350eb){const _0x3e3dc4=_0x3fa534;return _0x2350eb&&typeof Symbol==_0x3e3dc4(0xe6)&&_0x2350eb[_0x3e3dc4(0x10a)]===Symbol&&_0x2350eb!==Symbol[_0x3e3dc4(0x14e)]?_0x3e3dc4(0x11f):typeof _0x2350eb;},_0x429ddc(_0x1d9a1b);}function _0x3a0688(_0x30ec79,_0xe99f5d){const _0x5c957e=_0x174a03;if(_0x429ddc(_0x30ec79)!='object'||!_0x30ec79)return _0x30ec79;var _0x4727d9=_0x30ec79[Symbol['toPrimitive']];if(_0x4727d9!==void 0x0){var _0x5c945f=_0x4727d9['call'](_0x30ec79,_0xe99f5d||'default');if(_0x429ddc(_0x5c945f)!='object')return _0x5c945f;throw TypeError(_0x5c957e(0x137));}return(_0xe99f5d==='string'?String:Number)(_0x30ec79);}function _0x73531a(_0x284c8a){const _0x49f49b=_0x174a03;var _0x58a200=_0x3a0688(_0x284c8a,_0x49f49b(0x13f));return _0x429ddc(_0x58a200)==_0x49f49b(0x11f)?_0x58a200:_0x58a200+'';}function _0x2a2e29(_0x35163b,_0x52d270,_0x3d9cb0){const _0x42c9dc=_0x174a03;return(_0x52d270=_0x73531a(_0x52d270))in _0x35163b?Object[_0x42c9dc(0x1a7)](_0x35163b,_0x52d270,{'value':_0x3d9cb0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x35163b[_0x52d270]=_0x3d9cb0,_0x35163b;}var _0x3064e4=class{constructor(_0x220a2e,_0x54ae33,_0x33067b='',_0x9dbc53){const _0x53b4d8=_0x174a03;this['_document']=_0x220a2e,this['_tableId']=_0x54ae33,this[_0x53b4d8(0x114)]=_0x33067b,this['_injector']=_0x9dbc53,_0x2a2e29(this,_0x53b4d8(0x187),void 0x0),this[_0x53b4d8(0x187)]=this[_0x53b4d8(0x16c)][_0x53b4d8(0x11c)]();}[_0x174a03(0x11c)](){const _0x3b553f=_0x174a03;return this[_0x3b553f(0xf7)];}[_0x174a03(0xff)](){const _0x315a44=_0x174a03;return this[_0x315a44(0x114)];}[_0x174a03(0xf8)](){const _0x312bac=_0x174a03;return{'id':this[_0x312bac(0xf7)],'rowCount':this[_0x312bac(0xde)](),'columnCount':this[_0x312bac(0x12f)](),'metadata':this[_0x312bac(0xfe)](),'source':this[_0x312bac(0xd5)]()};}[_0x174a03(0x1aa)](){const _0xb01376=_0x174a03;var _0x1730ab,_0x525ae6;let _0x343445=this[_0xb01376(0xfe)](),_0x3c2455=this[_0xb01376(0xd5)](),_0x502db0=this[_0xb01376(0x12f)]();return{'id':this[_0xb01376(0xf7)],'rowCount':this['getRowCount'](),'columnCount':_0x502db0,'headerRowCount':(_0x1730ab=_0x343445==null?void 0x0:_0x343445[_0xb01376(0x14d)])==null?0x0:_0x1730ab,'titleRow':(_0x525ae6=_0x343445==null?void 0x0:_0x343445[_0xb01376(0x151)])==null?!0x1:_0x525ae6,'columns':Array[_0xb01376(0x196)]({'length':_0x502db0},(_0x24e765,_0xc2c3f3)=>{const _0xcaeb8=_0xb01376;var _0x1b1c7a,_0x4f6c8c;return{'index':_0xc2c3f3,'type':_0x343445==null||(_0x1b1c7a=_0x343445[_0xcaeb8(0x12b)])==null||(_0x1b1c7a=_0x1b1c7a[_0xc2c3f3])==null?void 0x0:_0x1b1c7a[_0xcaeb8(0x134)],'width':_0x3c2455==null||(_0x4f6c8c=_0x3c2455[_0xcaeb8(0x154)][_0xc2c3f3])==null?void 0x0:_0x4f6c8c[_0xcaeb8(0x11b)]['width']['v']};}),'sampleRows':Array['from']({'length':this[_0xb01376(0xde)]()},(_0x487611,_0x40e384)=>Array[_0xb01376(0x196)]({'length':_0x502db0},(_0x423957,_0x27214b)=>this[_0xb01376(0x1a9)](_0x40e384,_0x27214b)))[_0xb01376(0x13c)](_0x2f3322=>_0x2f3322[_0xb01376(0x126)](_0x2a5525=>_0x2a5525[_0xb01376(0x178)]>0x0))[_0xb01376(0x19b)](0x0,0x5)};}[_0x174a03(0xde)](){const _0x35b388=_0x174a03;var _0x4daed6,_0x2c9012;return(_0x4daed6=(_0x2c9012=this[_0x35b388(0xd5)]())==null?void 0x0:_0x2c9012[_0x35b388(0x17c)][_0x35b388(0x178)])==null?0x0:_0x4daed6;}[_0x174a03(0x12f)](){const _0x219b14=_0x174a03;var _0xebba1c,_0x4264da;return(_0xebba1c=(_0x4264da=this[_0x219b14(0xd5)]())==null?void 0x0:_0x4264da[_0x219b14(0x154)]['length'])==null?0x0:_0xebba1c;}['getCell'](_0x5507dd,_0x5b7603){const _0x186d7e=_0x174a03;var _0x27eff3;return!((_0x27eff3=this[_0x186d7e(0xd5)]())==null||(_0x27eff3=_0x27eff3[_0x186d7e(0x17c)][_0x5507dd])==null)&&_0x27eff3[_0x186d7e(0x11e)][_0x5b7603]?this['_injector'][_0x186d7e(0xe3)](_0x38c491,this,_0x5507dd,_0x5b7603):null;}[_0x174a03(0x1a9)](_0x24e8cc,_0x4b5d60){const _0xcee56b=_0x174a03;var _0x5924d2,_0xff15a5,_0x88ffc7;let _0xadcc09=(_0x5924d2=(0x0,_0x334d76['getTableRangeById'])(this[_0xcee56b(0x11a)](),this['_tableId']))==null||(_0x5924d2=_0x5924d2['rows'][_0x24e8cc])==null?void 0x0:_0x5924d2[_0xcee56b(0x118)][_0x4b5d60];return _0xadcc09?(_0xff15a5=(_0x88ffc7=this['_getDocumentData']()['body'])==null?void 0x0:_0x88ffc7['dataStream'][_0xcee56b(0x19b)](_0xadcc09[_0xcee56b(0x15f)]+0x1,_0xadcc09['endOffset'])['replace'](/\r\n$/,''))==null?'':_0xff15a5:'';}[_0x174a03(0xf2)](_0x57ef2c,_0x4098e3){const _0x12885c=_0x174a03;var _0x5c7754,_0xee255a,_0x3812dd;let _0x74377d=this[_0x12885c(0xd5)](),_0x2734d5=_0x74377d==null||(_0x5c7754=_0x74377d[_0x12885c(0x17c)][_0x57ef2c])==null?void 0x0:_0x5c7754[_0x12885c(0x11e)][_0x4098e3];return _0x2734d5?_0x46d274[_0x12885c(0x167)][_0x12885c(0x133)]((_0xee255a=(_0x3812dd=_0x2734d5[_0x12885c(0x166)])==null?_0x74377d[_0x12885c(0x13e)]:_0x3812dd)==null?_0x334d76[_0x12885c(0x175)]:_0xee255a):null;}[_0x174a03(0xe8)](_0x599115,_0x32219d){const _0x39f0d2=_0x174a03;var _0xc6ed3b;let _0x42221b=(_0xc6ed3b=this['getSource']())==null||(_0xc6ed3b=_0xc6ed3b[_0x39f0d2(0x17c)][_0x599115])==null?void 0x0:_0xc6ed3b[_0x39f0d2(0x11e)][_0x32219d];return _0x42221b!=null&&_0x42221b['margin']?_0x46d274['Tools'][_0x39f0d2(0x133)](_0x42221b[_0x39f0d2(0x166)]):null;}[_0x174a03(0x152)](){const _0x2c8185=_0x174a03;var _0x42bef3,_0x38ff87;return _0x46d274[_0x2c8185(0x167)][_0x2c8185(0x133)]((_0x42bef3=(_0x38ff87=this[_0x2c8185(0xd5)]())==null?void 0x0:_0x38ff87['cellMargin'])==null?_0x334d76[_0x2c8185(0x175)]:_0x42bef3);}['getDefaultCellMarginOverride'](){const _0x58bd7c=_0x174a03;var _0x362094;let _0x558675=(_0x362094=this[_0x58bd7c(0xd5)]())==null?void 0x0:_0x362094['cellMargin'];return _0x558675?_0x46d274['Tools'][_0x58bd7c(0x133)](_0x558675):null;}[_0x174a03(0xfe)](){const _0x2c78f6=_0x174a03;return this[_0x2c78f6(0x15e)][_0x2c78f6(0xe1)](_0x334d76[_0x2c78f6(0x198)])[_0x2c78f6(0x17e)](this['_unitId'],this[_0x2c78f6(0xf7)]);}['getSource'](){const _0x584d39=_0x174a03;var _0x2e41d4;return(_0x2e41d4=this['_getDocumentData']()[_0x584d39(0x173)])==null?void 0x0:_0x2e41d4[this['_tableId']];}[_0x174a03(0x1a8)](){const _0x4f9006=_0x174a03;return(0x0,_0x334d76['getTableRangeById'])(this[_0x4f9006(0x11a)](),this[_0x4f9006(0xf7)]);}[_0x174a03(0x155)](){const _0x1258c8=_0x174a03;return{'startRow':0x0,'endRow':Math[_0x1258c8(0x107)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x1258c8(0x107)](0x0,this[_0x1258c8(0x12f)]()-0x1)};}[_0x174a03(0x193)](_0x308122,_0x13b273){return{'startRow':_0x308122,'endRow':_0x308122,'startColumn':_0x13b273,'endColumn':_0x13b273};}[_0x174a03(0xdf)](_0x57f1f2,_0x51c06b){const _0x49c61e=_0x174a03;var _0x408b5d;let _0x1fde96=(_0x408b5d=(0x0,_0x334d76[_0x49c61e(0xf9)])(this[_0x49c61e(0x11a)](),this['_tableId']))==null||(_0x408b5d=_0x408b5d[_0x49c61e(0x194)][_0x57f1f2])==null?void 0x0:_0x408b5d[_0x49c61e(0x118)][_0x51c06b];if(!_0x1fde96)return null;let _0x575816=_0x1fde96['startOffset']+0x1;return{'startOffset':_0x575816,'endOffset':Math['max'](_0x575816,_0x1fde96[_0x49c61e(0x146)]-0x1),'segmentId':this[_0x49c61e(0x114)]};}[_0x174a03(0x1ae)](_0x297eb6,_0xaf2fc7){const _0x56b1e6=_0x174a03;var _0x2ebe9f,_0x400436;return(_0x2ebe9f=(_0x400436=this[_0x56b1e6(0xdf)](_0x297eb6,_0xaf2fc7))==null?void 0x0:_0x400436[_0x56b1e6(0x146)])==null?null:_0x2ebe9f;}['getRowRange'](_0x1cf4a7){const _0x326155=_0x174a03;return this[_0x326155(0x139)](_0x1cf4a7,0x1);}[_0x174a03(0x139)](_0x46e860,_0x308d7c=0x1){const _0x2c5499=_0x174a03;return{'startRow':_0x46e860,'endRow':_0x46e860+_0x308d7c-0x1,'startColumn':0x0,'endColumn':Math[_0x2c5499(0x107)](0x0,this[_0x2c5499(0x12f)]()-0x1)};}[_0x174a03(0x14a)](_0x45156c){const _0x243224=_0x174a03;return this[_0x243224(0x136)](_0x45156c,0x1);}[_0x174a03(0x136)](_0x588fa7,_0x436506=0x1){const _0x1be695=_0x174a03;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x1be695(0xde)]()-0x1),'startColumn':_0x588fa7,'endColumn':_0x588fa7+_0x436506-0x1};}[_0x174a03(0x180)](){const _0x1f0331=_0x174a03;return this[_0x1f0331(0x17f)](this[_0x1f0331(0x155)](),_0x334d76['DocsTableSelectionKind'][_0x1f0331(0x161)]);}[_0x174a03(0x169)](_0x3696f6){return this['selectRows'](_0x3696f6,0x1);}['selectRows'](_0x5905b2,_0x3772f0=0x1){const _0x1de351=_0x174a03;return this[_0x1de351(0x17f)](this[_0x1de351(0x139)](_0x5905b2,_0x3772f0),_0x334d76[_0x1de351(0x171)][_0x1de351(0x1a0)]);}[_0x174a03(0x1b0)](_0x58487b){const _0x736b6c=_0x174a03;return this[_0x736b6c(0x16b)](_0x58487b,0x1);}[_0x174a03(0x16b)](_0x3879aa,_0x5e734a=0x1){const _0x6bcc7d=_0x174a03;return this['selectRange'](this[_0x6bcc7d(0x136)](_0x3879aa,_0x5e734a),_0x334d76[_0x6bcc7d(0x171)][_0x6bcc7d(0xe5)]);}[_0x174a03(0xe4)](_0x44e230,_0x2de4e9){const _0x5a01ee=_0x174a03;return this['selectRange'](this['getCellRange'](_0x44e230,_0x2de4e9),_0x334d76['DocsTableSelectionKind'][_0x5a01ee(0xf6)]);}[_0x174a03(0x17f)](_0x5178f3,_0x371396=_0x334d76[_0x174a03(0x171)][_0x174a03(0x158)]){const _0x4b4876=_0x174a03;return this[_0x4b4876(0x15e)][_0x4b4876(0xe1)](_0x334d76['DocsTableSelectionService'])[_0x4b4876(0x170)]({..._0x5178f3,'kind':_0x371396,'segmentId':this[_0x4b4876(0x114)],'tableId':this[_0x4b4876(0xf7)]}),!0x0;}[_0x174a03(0x124)](_0x31059f){const _0x3ca395=_0x174a03;return this[_0x3ca395(0x15b)](_0x31059f,0x1);}[_0x174a03(0x191)](_0x57346c){const _0x4db5a5=_0x174a03;return this[_0x4db5a5(0x127)](_0x57346c,0x1);}[_0x174a03(0x15b)](_0x9f0d58,_0xf19f95){const _0x5e3dd7=_0x174a03;let _0x30daef=this[_0x5e3dd7(0x11a)](),_0x4771fa=(0x0,_0x334d76[_0x5e3dd7(0x15a)])(_0x30daef,this[_0x5e3dd7(0xf7)],_0x9f0d58,_0xf19f95,_0x334d76[_0x5e3dd7(0x18b)][_0x5e3dd7(0x16f)],this['_getBodyPath']());return _0x4771fa?this[_0x5e3dd7(0x18c)](_0x30daef,_0x4771fa[_0x5e3dd7(0x104)]):!0x1;}[_0x174a03(0x127)](_0xefd3ec,_0x144a0e){const _0x2d1810=_0x174a03;let _0x2c6a72=this[_0x2d1810(0x11a)](),_0x2b1e86=(0x0,_0x334d76['buildInsertTableRowsMutationActions'])(_0x2c6a72,this['_tableId'],_0xefd3ec,_0x144a0e,_0x334d76['DocsTableInsertPosition'][_0x2d1810(0x199)],this[_0x2d1810(0x16e)]());return _0x2b1e86?this[_0x2d1810(0x18c)](_0x2c6a72,_0x2b1e86['actions']):!0x1;}[_0x174a03(0x13d)](){const _0x40c347=_0x174a03;return this[_0x40c347(0x127)](Math[_0x40c347(0x107)](0x0,this[_0x40c347(0xde)]()-0x1),0x1);}['insertColumnBefore'](_0x29b2dd){return this['insertColumnsBefore'](_0x29b2dd,0x1);}['insertColumnAfter'](_0x37510a){const _0x344131=_0x174a03;return this[_0x344131(0x160)](_0x37510a,0x1);}[_0x174a03(0x12e)](_0x576722,_0x3e9f02){const _0x4eb7ce=_0x174a03;let _0x1f6dda=this[_0x4eb7ce(0x11a)](),_0x3a66a5=(0x0,_0x334d76[_0x4eb7ce(0x119)])(_0x1f6dda,this['_tableId'],_0x576722,_0x3e9f02,_0x334d76[_0x4eb7ce(0x18b)][_0x4eb7ce(0x195)],{'bodyPath':this[_0x4eb7ce(0x16e)]()});return _0x3a66a5?this[_0x4eb7ce(0x18c)](_0x1f6dda,_0x3a66a5['actions']):!0x1;}[_0x174a03(0x160)](_0x576c66,_0x11ba42){const _0x76bd4a=_0x174a03;let _0x5024e6=this[_0x76bd4a(0x11a)](),_0x5231b2=(0x0,_0x334d76['buildInsertTableColumnsMutationActions'])(_0x5024e6,this[_0x76bd4a(0xf7)],_0x576c66,_0x11ba42,_0x334d76[_0x76bd4a(0x18b)]['Right'],{'bodyPath':this['_getBodyPath']()});return _0x5231b2?this['_mutateActions'](_0x5024e6,_0x5231b2[_0x76bd4a(0x104)]):!0x1;}[_0x174a03(0x174)](){const _0x3bacfa=_0x174a03;return this[_0x3bacfa(0x160)](Math[_0x3bacfa(0x107)](0x0,this[_0x3bacfa(0x12f)]()-0x1),0x1);}['deleteRow'](_0x532a16){const _0x575875=_0x174a03;return this[_0x575875(0xfc)](_0x532a16,0x1);}['deleteRows'](_0x5350f4,_0x362c3b=0x1){const _0x3d0e5a=_0x174a03;let _0x109598=this[_0x3d0e5a(0x11a)](),_0x19f51c=(0x0,_0x334d76[_0x3d0e5a(0xd9)])(_0x109598,this[_0x3d0e5a(0xf7)],_0x5350f4,_0x5350f4+_0x362c3b-0x1,this[_0x3d0e5a(0x16e)]());return _0x19f51c?this[_0x3d0e5a(0x18c)](_0x109598,_0x19f51c[_0x3d0e5a(0x104)]):!0x1;}['deleteColumn'](_0x1249cb){const _0x3c5cf6=_0x174a03;return this[_0x3c5cf6(0x18d)](_0x1249cb,0x1);}[_0x174a03(0x18d)](_0x584b71,_0x12b6aa=0x1){const _0x5d9c42=_0x174a03;let _0xbfece=this['_getDocumentData'](),_0x54d172=(0x0,_0x334d76[_0x5d9c42(0x101)])(_0xbfece,this['_tableId'],_0x584b71,_0x584b71+_0x12b6aa-0x1,this[_0x5d9c42(0x16e)]());return _0x54d172?this[_0x5d9c42(0x18c)](_0xbfece,_0x54d172[_0x5d9c42(0x104)]):!0x1;}['deleteTable'](){const _0x21ee57=_0x174a03;let _0x826236=this[_0x21ee57(0x11a)](),_0x578ffa=(0x0,_0x334d76[_0x21ee57(0xf5)])(_0x826236,this[_0x21ee57(0xf7)],this['_getBodyPath']());return _0x578ffa?this[_0x21ee57(0x18c)](_0x826236,_0x578ffa['actions']):!0x1;}['moveTableBy'](_0x28dc5c,_0x3ee6f5){const _0x6e589b=_0x174a03;let _0x25a67f=this[_0x6e589b(0x11a)]();return this['_mutateActions'](_0x25a67f,(0x0,_0x334d76['buildMoveFloatingTableMutationActions'])(_0x25a67f,this[_0x6e589b(0xf7)],_0x28dc5c,_0x3ee6f5));}[_0x174a03(0x1ac)](_0x2fdd59){const _0x228d62=_0x174a03;let _0x1c3777=this['_getDocumentData']();return this[_0x228d62(0x18c)](_0x1c3777,(0x0,_0x334d76[_0x228d62(0x164)])(_0x1c3777,this[_0x228d62(0xf7)],_0x2fdd59,this[_0x228d62(0x16e)]()));}[_0x174a03(0xdc)](_0x248321,_0x31d60d,_0x44965f=_0x334d76[_0x174a03(0x18b)][_0x174a03(0x16f)]){return this['moveRows'](_0x248321,0x1,_0x31d60d,_0x44965f);}['moveRows'](_0x58fdb8,_0x30d466,_0xcc7202,_0x24fcb9=_0x334d76['DocsTableInsertPosition']['Above']){const _0x2d73e9=_0x174a03;let _0x5c7d69=this['_getDocumentData'](),_0x361eb3=(0x0,_0x334d76[_0x2d73e9(0xd8)])(_0x5c7d69,this[_0x2d73e9(0xf7)],_0x58fdb8,_0xcc7202,_0x30d466,_0x24fcb9,this[_0x2d73e9(0x16e)]());return _0x361eb3?this['_mutateActions'](_0x5c7d69,_0x361eb3['actions']):!0x1;}[_0x174a03(0x19a)](_0x17e6b0,_0x3affde,_0x2d6292=_0x334d76[_0x174a03(0x18b)][_0x174a03(0x195)]){const _0xea11a5=_0x174a03;return this[_0xea11a5(0x18a)](_0x17e6b0,0x1,_0x3affde,_0x2d6292);}[_0x174a03(0x18a)](_0x2dc3da,_0x57ce6c,_0x181428,_0x4e6fce=_0x334d76[_0x174a03(0x18b)][_0x174a03(0x195)]){const _0x46e5f7=_0x174a03;let _0x45761f=this[_0x46e5f7(0x11a)](),_0x1008a9=(0x0,_0x334d76[_0x46e5f7(0xee)])(_0x45761f,this['_tableId'],_0x2dc3da,_0x181428,_0x57ce6c,_0x4e6fce,this['_getBodyPath']());return _0x1008a9?this['_mutateActions'](_0x45761f,_0x1008a9[_0x46e5f7(0x104)]):!0x1;}[_0x174a03(0xf0)](_0x26a4ff){const _0x2cfa79=_0x174a03;try{let _0x150e97=this['_getDocumentData'](),_0x1ba217=(0x0,_0x334d76[_0x2cfa79(0xdd)])({'documentData':_0x150e97,'tableId':this[_0x2cfa79(0xf7)],..._0x26a4ff});return _0x1ba217?this[_0x2cfa79(0x18c)](_0x150e97,_0x1ba217[_0x2cfa79(0x104)],_0x26a4ff):!0x1;}catch{return!0x1;}}[_0x174a03(0x108)](_0x1a4b15){const _0x4b7ee8=_0x174a03;try{let _0x4b88b1=this[_0x4b7ee8(0x11a)](),_0x2665fb=(0x0,_0x334d76['buildUnmergeCellsMutationActions'])({'documentData':_0x4b88b1,'tableId':this[_0x4b7ee8(0xf7)],..._0x1a4b15});return _0x2665fb?this[_0x4b7ee8(0x18c)](_0x4b88b1,_0x2665fb[_0x4b7ee8(0x104)],_0x1a4b15):!0x1;}catch{return!0x1;}}[_0x174a03(0x16a)](_0x465d83,_0x5a208b,_0x407b3e){const _0x149b9b=_0x174a03;let _0x5743e7=this['_getDocumentData'](),_0x558a0a=(0x0,_0x334d76['getTableActionBodyPath'])(this[_0x149b9b(0x16c)][_0x149b9b(0x13b)]()[_0x149b9b(0x143)](),this[_0x149b9b(0x114)]);return this[_0x149b9b(0x18c)](_0x5743e7,(0x0,_0x334d76[_0x149b9b(0x19e)])({'documentData':_0x5743e7,'tableId':this['_tableId'],'row':_0x465d83,'column':_0x5a208b,'text':_0x407b3e},_0x558a0a),this['getCellRange'](_0x465d83,_0x5a208b));}[_0x174a03(0x156)](_0x33cb7b,_0x2b0736){const _0x4666a4=_0x174a03;let _0xcf5bfc=this['_getDocumentData']();return this[_0x4666a4(0x18c)](_0xcf5bfc,(0x0,_0x334d76[_0x4666a4(0xd6)])(_0xcf5bfc,{'tableId':this[_0x4666a4(0xf7)],..._0x33cb7b,'value':_0x2b0736}),_0x33cb7b);}[_0x174a03(0xef)](_0x224afc,_0x21ebf1){const _0x21e8ca=_0x174a03;let _0x1e71f8=this[_0x21e8ca(0x11a)]();return this[_0x21e8ca(0x18c)](_0x1e71f8,(0x0,_0x334d76[_0x21e8ca(0x185)])({'documentData':_0x1e71f8,'tableId':this[_0x21e8ca(0xf7)],..._0x224afc,'margin':_0x21ebf1}),_0x224afc);}[_0x174a03(0xda)](_0x43cfff){const _0x169a66=_0x174a03;let _0x405e0e=this[_0x169a66(0x11a)]();return this[_0x169a66(0x18c)](_0x405e0e,(0x0,_0x334d76[_0x169a66(0x1ab)])(_0x405e0e,this['_tableId'],_0x43cfff));}[_0x174a03(0x1a2)](_0x349b06,_0xaf989b){const _0x53d7ef=_0x174a03;var _0xc2ac95,_0x1048a1,_0x241bf7,_0x1c71cf;let _0xf44043=this[_0x53d7ef(0x11a)]();return this[_0x53d7ef(0x18c)](_0xf44043,(0x0,_0x334d76['buildSetTableBorderMutationActions'])({'documentData':_0xf44043,'tableId':this[_0x53d7ef(0xf7)],..._0x349b06,'preset':(_0xc2ac95=_0xaf989b[_0x53d7ef(0x11d)])==null?_0x334d76[_0x53d7ef(0x135)][_0x53d7ef(0x18f)]:_0xc2ac95,'border':(_0x1048a1=_0xaf989b['border'])==null?{'color':{'rgb':(_0x241bf7=_0xaf989b[_0x53d7ef(0x116)])==null?_0x53d7ef(0xed):_0x241bf7},'width':{'v':(_0x1c71cf=_0xaf989b[_0x53d7ef(0x17b)])==null?0x1:_0x1c71cf},'dashStyle':_0x46d274['DashStyleType'][_0x53d7ef(0x17a)]}:_0x1048a1}),_0x349b06);}[_0x174a03(0x176)](_0x3a49bd){return this['setCellBackground'](this['getTableRange'](),_0x3a49bd);}[_0x174a03(0x120)](_0x2f81b4){const _0x47da14=_0x174a03;return this['setBorder'](this[_0x47da14(0x155)](),_0x2f81b4);}[_0x174a03(0x172)](_0xa45f65){const _0x5bd623=_0x174a03;let _0xd955da=_0xa45f65[_0x5bd623(0x10c)]?this[_0x5bd623(0x176)](_0xa45f65[_0x5bd623(0x10c)]):!0x0,_0x48858f=_0xa45f65[_0x5bd623(0x106)]?this['setTableBorder'](_0xa45f65[_0x5bd623(0x106)]):!0x0;return _0xd955da&&_0x48858f;}[_0x174a03(0xfa)](_0x1511dc,_0x21a650,_0x49ee8e=_0x46d274[_0x174a03(0x148)][_0x174a03(0xec)]){const _0x1ee674=_0x174a03;var _0x181208;let _0x2b5723=this[_0x1ee674(0x11a)]();return!((_0x181208=_0x2b5723[_0x1ee674(0x173)])==null||(_0x181208=_0x181208[this[_0x1ee674(0xf7)]])==null)&&_0x181208[_0x1ee674(0x17c)][_0x1511dc]?this[_0x1ee674(0x18c)](_0x2b5723,(0x0,_0x334d76[_0x1ee674(0x168)])(_0x2b5723,this['_tableId'],_0x1511dc,_0x21a650,_0x49ee8e)):!0x1;}[_0x174a03(0x189)](_0x4437f9){const _0x229c88=_0x174a03;var _0xc9425f;let _0x46dffa=(_0xc9425f=this[_0x229c88(0xd5)]())==null||(_0xc9425f=_0xc9425f[_0x229c88(0x17c)][_0x4437f9])==null?void 0x0:_0xc9425f[_0x229c88(0x16d)];return _0x46dffa?_0x46d274['Tools'][_0x229c88(0x133)](_0x46dffa):null;}[_0x174a03(0x15c)](_0x3a0665,_0x240ed3){const _0x37204a=_0x174a03;var _0xfbfdf4;let _0x5800be=this[_0x37204a(0x11a)]();return!((_0xfbfdf4=_0x5800be['tableSource'])==null||(_0xfbfdf4=_0xfbfdf4[this[_0x37204a(0xf7)]])==null)&&_0xfbfdf4[_0x37204a(0x154)][_0x3a0665]?this[_0x37204a(0x18c)](_0x5800be,(0x0,_0x334d76['buildResizeTableColumnActionsFromWidth'])(_0x5800be,this[_0x37204a(0xf7)],_0x3a0665,_0x240ed3)):!0x1;}[_0x174a03(0x177)](_0x23a795=0x0,_0xd32ac0=this['getRowCount']()){const _0x478db6=_0x174a03;let _0x190d13=this['_getDocumentData']();return this['_mutateActions'](_0x190d13,(0x0,_0x334d76['buildDistributeTableRowsMutationActions'])(_0x190d13,this[_0x478db6(0xf7)],_0x23a795,_0x23a795+_0xd32ac0-0x1));}[_0x174a03(0x10d)](_0x51261b=0x0,_0x1a6fa1=this[_0x174a03(0x12f)]()){const _0x276606=_0x174a03;let _0x581127=this['_getDocumentData']();return this[_0x276606(0x18c)](_0x581127,(0x0,_0x334d76['buildDistributeTableColumnsMutationActions'])(_0x581127,this[_0x276606(0xf7)],_0x51261b,_0x51261b+_0x1a6fa1-0x1));}[_0x174a03(0xfb)](){const _0x981ca=_0x174a03;var _0x1e8d14,_0x4c8e2e;return(_0x1e8d14=(_0x4c8e2e=this[_0x981ca(0xfe)]())==null?void 0x0:_0x4c8e2e['headerRowCount'])==null?0x0:_0x1e8d14;}[_0x174a03(0x110)](_0x33068c){const _0x7773c4=_0x174a03;let _0x26e832=this[_0x7773c4(0x15e)][_0x7773c4(0xe1)](_0x334d76[_0x7773c4(0x198)]),_0x5c6561=this[_0x7773c4(0x11a)](),_0x4913d8=(0x0,_0x334d76['buildSetTableHeaderRowCountMutationActions'])(_0x5c6561,this['_tableId'],_0x33068c);if(!_0x4913d8)return!0x1;let _0x3fc2e5=this['_mutateActions'](_0x5c6561,_0x4913d8['actions']);return _0x3fc2e5&&_0x26e832[_0x7773c4(0x110)](this[_0x7773c4(0x187)],this[_0x7773c4(0xf7)],_0x4913d8['headerRowCount']),_0x3fc2e5;}[_0x174a03(0x1b1)](_0x1a311b){const _0x214487=_0x174a03;return this[_0x214487(0x110)](_0x1a311b);}[_0x174a03(0x162)](){const _0x274c90=_0x174a03;var _0x5a3679,_0x56b270;return(_0x5a3679=(_0x56b270=this[_0x274c90(0xfe)]())==null?void 0x0:_0x56b270['titleRow'])==null?!0x1:_0x5a3679;}[_0x174a03(0x125)](){const _0x28a287=_0x174a03;let _0x4c9fba=this['_injector'][_0x28a287(0xe1)](_0x334d76[_0x28a287(0x198)]),_0x43f2a3=this[_0x28a287(0x11a)](),_0x5849b6=(0x0,_0x334d76['buildInsertTableTitleRowMutationActions'])(_0x43f2a3,this[_0x28a287(0xf7)],this[_0x28a287(0x16e)]());if(!_0x5849b6)return!0x1;let _0x54761e=this['_mutateActions'](_0x43f2a3,_0x5849b6['actions']);return _0x54761e&&_0x4c9fba[_0x28a287(0x123)](this['_unitId'],this[_0x28a287(0xf7)],!0x0),_0x54761e;}[_0x174a03(0x163)](_0xc16d15,_0x223000){const _0x3b90ac=_0x174a03;return this['_injector'][_0x3b90ac(0xe1)](_0x334d76['DocsTableModel'])['setColumnType'](this[_0x3b90ac(0x187)],this[_0x3b90ac(0xf7)],_0xc16d15,_0x223000),!0x0;}[_0x174a03(0x192)](_0x3d1760,_0x1f9f64){const _0x8ec67d=_0x174a03;let _0x35a531=this[_0x8ec67d(0x11a)]();return this[_0x8ec67d(0x18c)](_0x35a531,(0x0,_0x334d76[_0x8ec67d(0xf4)])(_0x35a531,this[_0x8ec67d(0x102)](),this[_0x8ec67d(0xf7)],_0x3d1760,_0x1f9f64,this[_0x8ec67d(0x16e)]()));}[_0x174a03(0x11a)](){const _0x46b7a7=_0x174a03;let _0x1a73e5=this[_0x46b7a7(0x16c)][_0x46b7a7(0x13b)]()['getSnapshot']();return this['_segmentId']?{...this[_0x46b7a7(0x16c)][_0x46b7a7(0x13b)](this[_0x46b7a7(0x114)])[_0x46b7a7(0x143)](),'documentStyle':_0x1a73e5[_0x46b7a7(0x129)],'tableSource':_0x1a73e5[_0x46b7a7(0x173)]}:_0x1a73e5;}[_0x174a03(0x102)](){const _0x10e98c=_0x174a03;return this[_0x10e98c(0x15e)]['get'](_0x334d76[_0x10e98c(0x198)])[_0x10e98c(0x122)](this[_0x10e98c(0x187)]);}[_0x174a03(0x16e)](){const _0x4cffec=_0x174a03;return(0x0,_0x334d76[_0x4cffec(0x165)])(this[_0x4cffec(0x16c)][_0x4cffec(0x13b)]()[_0x4cffec(0x143)](),this[_0x4cffec(0x114)]);}['_mutateActions'](_0x264540,_0x533645,_0x5c7347){const _0x44b2f2=_0x174a03;return(0x0,_0x334d76[_0x44b2f2(0x159)])(this[_0x44b2f2(0x15e)][_0x44b2f2(0xe1)](_0x46d274[_0x44b2f2(0x1af)]),this[_0x44b2f2(0x187)],_0x264540,_0x533645,_0x5c7347?{'tableId':this['_tableId'],'segmentId':this[_0x44b2f2(0x114)],..._0x5c7347}:void 0x0);}},_0x8bac75=class extends _0x5b6186[_0x174a03(0xfd)]{[_0x174a03(0x184)](_0x4cd006=''){const _0x531db0=_0x174a03;return this[_0x531db0(0x149)](_0x4cd006)['map'](_0x3a5e3a=>this[_0x531db0(0xea)](_0x3a5e3a[_0x531db0(0x14b)],_0x4cd006));}[_0x174a03(0x131)](_0xf23f46,_0x46fa8a=''){const _0x223a30=_0x174a03;return this['_getTables'](_0x46fa8a)['some'](_0x515198=>_0x515198[_0x223a30(0x14b)]===_0xf23f46)?this[_0x223a30(0xea)](_0xf23f46,_0x46fa8a):null;}[_0x174a03(0xe0)](_0x5a8c8e,_0x2139f2=''){const _0x125bf4=_0x174a03;var _0x5b079f;let _0x573844=(_0x5b079f=this[_0x125bf4(0x149)](_0x2139f2)[_0x5a8c8e])==null?void 0x0:_0x5b079f['tableId'];return _0x573844?this[_0x125bf4(0xea)](_0x573844,_0x2139f2):null;}['getTableAtSelection'](){const _0xa28104=_0x174a03;let _0x2be6de=this[_0xa28104(0x15e)][_0xa28104(0xe1)](_0x334d76[_0xa28104(0x115)])['getStableTableSelection']();return _0x2be6de!=null&&_0x2be6de[_0xa28104(0x14b)]?this[_0xa28104(0xea)](_0x2be6de[_0xa28104(0x14b)],_0x2be6de[_0xa28104(0x117)]):null;}['findTableByText'](_0x1aae81,_0x1354b7=''){const _0x238c00=_0x174a03;var _0x108993;return(_0x108993=this[_0x238c00(0x1a1)](_0x1aae81,_0x1354b7)[0x0])==null?null:_0x108993;}['findTables'](_0x351709,_0x3dd041=''){const _0x1f013e=_0x174a03;let _0x291b75=this[_0x1f013e(0x19c)](_0x3dd041),_0x1d0c02=typeof _0x351709=='string'?{'text':_0x351709}:_0x351709;return this['getTables'](_0x3dd041)[_0x1f013e(0x13c)](_0x40bc5a=>{const _0x56a0c5=_0x1f013e;let _0x4f520c=_0x40bc5a[_0x56a0c5(0x11c)]();return!(_0x1d0c02[_0x56a0c5(0x14b)]&&_0x4f520c!==_0x1d0c02[_0x56a0c5(0x14b)]||_0x1d0c02['text']&&!this[_0x56a0c5(0xeb)](_0x291b75,_0x4f520c,_0x1d0c02[_0x56a0c5(0x183)])||_0x1d0c02[_0x56a0c5(0x153)]&&!this[_0x56a0c5(0x105)](_0x40bc5a,0x0,_0x1d0c02[_0x56a0c5(0x153)])||_0x1d0c02[_0x56a0c5(0x182)]&&!this['_rowContainsText'](_0x40bc5a,0x0,_0x1d0c02[_0x56a0c5(0x182)]));});}[_0x174a03(0x140)](_0x1683e2,_0x1d8737,_0x174ff4={}){const _0x36f83b=_0x174a03;var _0xb8bdd2,_0x3cd7e3;let _0x45db6c=this['_injector']['get'](_0x46d274[_0x36f83b(0x1af)]),_0x5a7eca=(_0xb8bdd2=_0x174ff4[_0x36f83b(0x14b)])==null?(0x0,_0x46d274[_0x36f83b(0x1ad)])(0x6):_0xb8bdd2;return _0x45db6c[_0x36f83b(0x142)](_0x334d76[_0x36f83b(0x19d)]['id'],{..._0x174ff4,'unitId':this[_0x36f83b(0x11c)](),'rows':_0x1683e2,'columns':_0x1d8737,'tableId':_0x5a7eca})?this[_0x36f83b(0xea)](_0x5a7eca,(_0x3cd7e3=_0x174ff4[_0x36f83b(0x117)])==null?'':_0x3cd7e3):null;}[_0x174a03(0x1a4)](_0x31db3a,_0x36cba5={}){const _0x1955b8=_0x174a03;var _0x384949,_0x2e3b06;let _0x50fd3c=this[_0x1955b8(0x15e)]['get'](_0x46d274[_0x1955b8(0x1af)]),_0x3b551a=(_0x384949=_0x36cba5[_0x1955b8(0x14b)])==null?(0x0,_0x46d274[_0x1955b8(0x1ad)])(0x6):_0x384949;return _0x50fd3c[_0x1955b8(0x142)](_0x334d76['DocsTableInsertTableCommand']['id'],{..._0x36cba5,'unitId':this['getId'](),'values':_0x31db3a,'tableId':_0x3b551a})?this[_0x1955b8(0xea)](_0x3b551a,(_0x2e3b06=_0x36cba5[_0x1955b8(0x117)])==null?'':_0x2e3b06):null;}['_getTables'](_0x2e00ff=''){let {tables:_0x3022df=[]}=this['getBody'](_0x2e00ff);return _0x3022df;}[_0x174a03(0x19c)](_0x3f4bc7=''){const _0x6637a4=_0x174a03;let _0xe05fe7=this['getDocumentDataModel']()[_0x6637a4(0x143)]();return _0x3f4bc7?{...this['getDocumentDataModel'](_0x3f4bc7)['getSnapshot'](),'documentStyle':_0xe05fe7[_0x6637a4(0x129)],'tableSource':_0xe05fe7[_0x6637a4(0x173)]}:_0xe05fe7;}[_0x174a03(0xea)](_0x53337a,_0x40b80c=''){const _0x45e86f=_0x174a03;return this[_0x45e86f(0x15e)]['createInstance'](_0x3064e4,this,_0x53337a,_0x40b80c,this[_0x45e86f(0x15e)]);}[_0x174a03(0xeb)](_0x57d723,_0x13772a,_0x173dc7){const _0x15b075=_0x174a03;var _0x3a959c;let _0x7b383e=(0x0,_0x334d76[_0x15b075(0xf9)])(_0x57d723,_0x13772a);if(!_0x7b383e)return!0x1;let _0x38ef8e=(_0x3a959c=_0x57d723[_0x15b075(0x19f)])==null?void 0x0:_0x3a959c[_0x15b075(0x132)];return _0x38ef8e?_0x38ef8e[_0x15b075(0x19b)](_0x7b383e['startOffset'],_0x7b383e[_0x15b075(0x146)])[_0x15b075(0x147)](_0x173dc7):!0x1;}['_rowContainsText'](_0x2872d1,_0x1db8d8,_0x56277c){const _0x5fdfe9=_0x174a03;return Array[_0x5fdfe9(0x196)]({'length':_0x2872d1[_0x5fdfe9(0x12f)]()},(_0x36b528,_0x443b5f)=>_0x2872d1[_0x5fdfe9(0x1a9)](_0x1db8d8,_0x443b5f))[_0x5fdfe9(0x126)](_0x1c7c18=>_0x1c7c18[_0x5fdfe9(0x147)](_0x56277c));}};_0x5b6186[_0x174a03(0xfd)][_0x174a03(0x12c)](_0x8bac75),_0x449d82['FDocumentTable']=_0x3064e4,_0x449d82[_0x174a03(0x17d)]=_0x38c491;}));function _0x55d4(){const _0x60564=['hasTitleRow','setColumnType','buildMoveTableToOffsetMutationActions','getTableActionBodyPath','margin','Tools','buildResizeTableRowActionsFromHeight','selectRow','setCellText','selectColumns','_document','trHeight','_getBodyPath','Above','setStructuralSelection','DocsTableSelectionKind','setTableStyle','tableSource','appendColumn','DEFAULT_DOCS_TABLE_CELL_MARGIN','setTableBackground','distributeRows','length','UniverDocsFacade','SOLID','width','tableRows','FDocumentTableCell','getTableMetadata','selectRange','selectTable','2098648mOqkwt','titleText','text','getTables','buildSetTableCellMarginMutationActions','@univerjs/docs/facade','_unitId','getText','getRowHeight','moveColumns','DocsTableInsertPosition','_mutateActions','deleteColumns','toStringTag','All','@univerjs/core','insertRowAfter','sortByColumn','getCellRange','rows','Left','from','5TRnjeg','DocsTableModel','Below','moveColumn','slice','_getTableDocumentData','DocsTableInsertTableCommand','buildSetTableCellTextMutationActions','body','Row','findTables','setBorder','_row','insertTableFromData','getContentRange','getInsertOffset','defineProperty','getRange','getCellText','describe','buildSetTableDefaultCellMarginMutationActions','moveTableToOffset','generateRandomId','getCellInsertOffset','ICommandService','selectColumn','pinHeaderRows','83548ZFaHMa','3411ambPNy','DocsTableRowInsertPosition','getSource','buildSetTableBackgroundMutationActions','getMarginOverride','buildMoveTableRowsMutationActions','buildDeleteTableRowsMutationActions','setDefaultCellMargin','mergeTo','moveRow','buildMergeCellsMutationActions','getRowCount','getCellContentRange','getTableAt','get','1713LPNIut','createInstance','selectCell','Column','function','getColumnIndex','getCellMarginOverride','getRowIndex','_createFDocumentTable','_tableContainsText','AT_LEAST','#1f1f1f','buildMoveTableColumnsMutationActions','setCellMargin','mergeCells','iterator','getCellMargin','amd','buildSortTableMutationActions','buildDeleteTableMutationActions','Cell','_tableId','getInfo','getTableRangeById','setRowHeight','getHeaderRowCount','deleteRows','FDocument','getMetadata','getSegmentId','setBackgroundColor','buildDeleteTableColumnsMutationActions','_serializeModel','15441540QLFWos','actions','_rowContainsText','border','max','unmergeCells','object','constructor','6811992GLJywc','backgroundColor','distributeColumns','_column','_table','setHeaderRowCount','unmerge','9250zDnJUr','DashStyleType','_segmentId','DocsTableSelectionService','color','segmentId','cells','buildInsertTableColumnsMutationActions','_getDocumentData','size','getId','preset','tableCells','symbol','setTableBorder','@univerjs-pro/docs-table','serialize','setTitleRow','insertRowBefore','insertTitleRow','some','insertRowsAfter','7Lzxyah','documentStyle','FEnum','columnTypes','extend','1370910uuTxNi','insertColumnsBefore','getColumnCount','DocsTableSortDirection','getTable','dataStream','deepClone','type','DocsTableBorderPreset','getColumnsRange','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DocsTableColumnInsertPosition','getRowsRange','428KZTqkB','getDocumentDataModel','filter','appendRow','cellMargin','string','insertTable','12ZdYKmO','syncExecuteCommand','getSnapshot','UniverProDocsTableFacade','UniverCoreFacade','endOffset','includes','TableRowHeightRule','_getTables','getColumnRange','tableId','exports','headerRowCount','prototype','DocsTableInsertTablePosition','DocsTableColumnType','titleRow','getDefaultCellMargin','headerText','tableColumns','getTableRange','setCellBackground','UniverProDocsTable','Range','executeRichTextTableActions','buildInsertTableRowsMutationActions','insertRowsBefore','setColumnWidth','UniverCore','_injector','startOffset','insertColumnsAfter','Table'];_0x55d4=function(){return _0x60564;};return _0x55d4();}
|