@univerjs-pro/docs-table 1.0.0-alpha.6 → 1.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0xe2cc(_0x25adf2,_0x38083b){_0x25adf2=_0x25adf2-0xe9;const _0xd64c68=_0xd64c();let _0xe2cce6=_0xd64c68[_0x25adf2];return _0xe2cce6;}(function(_0x4bc363,_0x4a825e){const _0x13b9a9=_0xe2cc,_0x16dbb2=_0x4bc363();while(!![]){try{const _0xa1251c=parseInt(_0x13b9a9(0x176))/0x1+-parseInt(_0x13b9a9(0x165))/0x2+-parseInt(_0x13b9a9(0x1b7))/0x3+-parseInt(_0x13b9a9(0x13f))/0x4*(-parseInt(_0x13b9a9(0x174))/0x5)+parseInt(_0x13b9a9(0xeb))/0x6*(parseInt(_0x13b9a9(0x167))/0x7)+parseInt(_0x13b9a9(0x10a))/0x8+-parseInt(_0x13b9a9(0x18e))/0x9;if(_0xa1251c===_0x4a825e)break;else _0x16dbb2['push'](_0x16dbb2['shift']());}catch(_0x574f82){_0x16dbb2['push'](_0x16dbb2['shift']());}}}(_0xd64c,0xe9a30),function(_0x25bca3,_0x39b916){const _0x624131=_0xe2cc;typeof exports=='object'&&typeof module<'u'?_0x39b916(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x624131(0x111)&&define[_0x624131(0x19d)]?define([_0x624131(0x1b9),_0x624131(0x163),_0x624131(0x16a),_0x624131(0x1ae),'@univerjs/docs/facade'],_0x39b916):(_0x25bca3=typeof globalThis<'u'?globalThis:_0x25bca3||self,_0x39b916(_0x25bca3['UniverProDocsTableFacade']={},_0x25bca3[_0x624131(0x153)],_0x25bca3[_0x624131(0x134)],_0x25bca3['UniverCoreFacade'],_0x25bca3['UniverDocsFacade']));}(this,function(_0x1d1d72,_0x2d445f,_0x172e84,_0x3256d2,_0x44bc52){const _0x3136c6=_0xe2cc;Object['defineProperty'](_0x1d1d72,Symbol[_0x3136c6(0x13a)],{'value':_0x3136c6(0x1a2)});var _0x506fdb=class extends _0x3256d2['FEnum']{get[_0x3136c6(0xef)](){const _0x3fda12=_0x3136c6;return _0x2d445f[_0x3fda12(0xef)];}get[_0x3136c6(0x168)](){const _0x4a053d=_0x3136c6;return _0x2d445f[_0x4a053d(0x168)];}get[_0x3136c6(0x170)](){return _0x2d445f['DocsTableSelectionKind'];}get[_0x3136c6(0x118)](){const _0x28c610=_0x3136c6;return _0x2d445f[_0x28c610(0x118)];}get[_0x3136c6(0x116)](){const _0xf16d6b=_0x3136c6;return _0x2d445f[_0xf16d6b(0x116)];}get['DocsTableBorderPreset'](){const _0x5c33ca=_0x3136c6;return _0x2d445f[_0x5c33ca(0x12a)];}get['DocsTableSortDirection'](){return _0x2d445f['DocsTableSortDirection'];}get[_0x3136c6(0x19f)](){return _0x172e84['DashStyleType'];}};_0x3256d2['FEnum'][_0x3136c6(0x114)](_0x506fdb);var _0xedc215=class{constructor(_0x33018a,_0x317275,_0x782660){const _0x315bc9=_0x3136c6;this['_table']=_0x33018a,this[_0x315bc9(0x12d)]=_0x317275,this[_0x315bc9(0x11e)]=_0x782660;}[_0x3136c6(0x19e)](){const _0x39d213=_0x3136c6;return this[_0x39d213(0x119)];}[_0x3136c6(0x15e)](){const _0x31bbd4=_0x3136c6;return this[_0x31bbd4(0x12d)];}[_0x3136c6(0xf9)](){const _0x5bb3e7=_0x3136c6;return this[_0x5bb3e7(0x11e)];}[_0x3136c6(0x195)](){const _0x340690=_0x3136c6;return this[_0x340690(0x119)]['getCellText'](this[_0x340690(0x12d)],this[_0x340690(0x11e)]);}[_0x3136c6(0xfd)](){const _0x267987=_0x3136c6;return this[_0x267987(0x119)][_0x267987(0x169)](this['_row'],this[_0x267987(0x11e)]);}[_0x3136c6(0x1aa)](){const _0x2e39b5=_0x3136c6;return this[_0x2e39b5(0x119)]['getCellInsertOffset'](this[_0x2e39b5(0x12d)],this[_0x2e39b5(0x11e)]);}['getMargin'](){const _0x112ce=_0x3136c6;return this[_0x112ce(0x119)][_0x112ce(0x190)](this[_0x112ce(0x12d)],this[_0x112ce(0x11e)]);}[_0x3136c6(0xf7)](){const _0x3710c9=_0x3136c6;return this[_0x3710c9(0x119)]['getCellMarginOverride'](this['_row'],this[_0x3710c9(0x11e)]);}[_0x3136c6(0xf6)](_0x5ae462){const _0x4a68ce=_0x3136c6;return this[_0x4a68ce(0x119)][_0x4a68ce(0x10f)](this[_0x4a68ce(0x119)][_0x4a68ce(0x141)](this[_0x4a68ce(0x12d)],this[_0x4a68ce(0x11e)]),_0x5ae462);}['clearMarginOverride'](){const _0x46d779=_0x3136c6;return this['_table']['setCellMargin'](this[_0x46d779(0x119)][_0x46d779(0x141)](this[_0x46d779(0x12d)],this[_0x46d779(0x11e)]),null);}[_0x3136c6(0x18d)](_0x54c5c8){const _0x29c54d=_0x3136c6;return this[_0x29c54d(0x119)][_0x29c54d(0x12f)](this[_0x29c54d(0x12d)],this[_0x29c54d(0x11e)],_0x54c5c8);}['setBackgroundColor'](_0x573e4a){const _0x17c981=_0x3136c6;return this[_0x17c981(0x119)][_0x17c981(0x135)](this[_0x17c981(0x119)][_0x17c981(0x141)](this[_0x17c981(0x12d)],this[_0x17c981(0x11e)]),_0x573e4a);}[_0x3136c6(0xed)](_0x278a19){const _0x56795b=_0x3136c6;return this[_0x56795b(0x119)][_0x56795b(0xed)](this[_0x56795b(0x119)]['getCellRange'](this[_0x56795b(0x12d)],this[_0x56795b(0x11e)]),_0x278a19);}[_0x3136c6(0x187)](_0x27ddae,_0x25f530){const _0x1eb09f=_0x3136c6;return this[_0x1eb09f(0x119)][_0x1eb09f(0xfc)]({'startRow':this['_row'],'startColumn':this[_0x1eb09f(0x11e)],'endRow':this[_0x1eb09f(0x12d)]+_0x27ddae-0x1,'endColumn':this[_0x1eb09f(0x11e)]+_0x25f530-0x1});}[_0x3136c6(0x136)](){const _0x5cd02c=_0x3136c6;return this['_table'][_0x5cd02c(0x166)](this[_0x5cd02c(0x119)][_0x5cd02c(0x141)](this[_0x5cd02c(0x12d)],this[_0x5cd02c(0x11e)]));}};function _0x410c81(_0x44891e){'@babel/helpers - typeof';const _0x17f501=_0x3136c6;return _0x410c81=typeof Symbol=='function'&&typeof Symbol[_0x17f501(0x1a6)]=='symbol'?function(_0x5ba798){return typeof _0x5ba798;}:function(_0x3d8e00){const _0xd2a8f6=_0x17f501;return _0x3d8e00&&typeof Symbol=='function'&&_0x3d8e00[_0xd2a8f6(0x172)]===Symbol&&_0x3d8e00!==Symbol['prototype']?'symbol':typeof _0x3d8e00;},_0x410c81(_0x44891e);}function _0x207f18(_0x25d2aa,_0x3c4532){const _0x2c71dd=_0x3136c6;if(_0x410c81(_0x25d2aa)!=_0x2c71dd(0x105)||!_0x25d2aa)return _0x25d2aa;var _0x23e8b5=_0x25d2aa[Symbol['toPrimitive']];if(_0x23e8b5!==void 0x0){var _0x30cbc0=_0x23e8b5[_0x2c71dd(0x14d)](_0x25d2aa,_0x3c4532||_0x2c71dd(0x179));if(_0x410c81(_0x30cbc0)!=_0x2c71dd(0x105))return _0x30cbc0;throw TypeError(_0x2c71dd(0x15b));}return(_0x3c4532===_0x2c71dd(0x130)?String:Number)(_0x25d2aa);}function _0x2a3682(_0x4bb447){const _0x480657=_0x3136c6;var _0x29be4b=_0x207f18(_0x4bb447,_0x480657(0x130));return _0x410c81(_0x29be4b)==_0x480657(0x19a)?_0x29be4b:_0x29be4b+'';}function _0x2e8d99(_0x17c225,_0x2b4f8d,_0x456976){return(_0x2b4f8d=_0x2a3682(_0x2b4f8d))in _0x17c225?Object['defineProperty'](_0x17c225,_0x2b4f8d,{'value':_0x456976,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x17c225[_0x2b4f8d]=_0x456976,_0x17c225;}var _0x2b931c=class{constructor(_0x4e44c8,_0x1cc85e,_0x1093be='',_0x1501dd){const _0x48d1f0=_0x3136c6;this[_0x48d1f0(0x126)]=_0x4e44c8,this[_0x48d1f0(0x101)]=_0x1cc85e,this['_segmentId']=_0x1093be,this['_injector']=_0x1501dd,_0x2e8d99(this,_0x48d1f0(0x140),void 0x0),this['_unitId']=this[_0x48d1f0(0x126)]['getId']();}[_0x3136c6(0x120)](){const _0x507f28=_0x3136c6;return this[_0x507f28(0x101)];}[_0x3136c6(0x15c)](){const _0x51f1c7=_0x3136c6;return this[_0x51f1c7(0x143)];}['getInfo'](){const _0x4c071c=_0x3136c6;return{'id':this[_0x4c071c(0x101)],'rowCount':this[_0x4c071c(0x175)](),'columnCount':this[_0x4c071c(0x154)](),'metadata':this[_0x4c071c(0x109)](),'source':this[_0x4c071c(0x1bf)]()};}['describe'](){const _0x5461c5=_0x3136c6;var _0x1a2259,_0x35eac9;let _0x4907e8=this[_0x5461c5(0x109)](),_0xf03309=this['getSource'](),_0x2fe6e8=this['getColumnCount']();return{'id':this[_0x5461c5(0x101)],'rowCount':this[_0x5461c5(0x175)](),'columnCount':_0x2fe6e8,'headerRowCount':(_0x1a2259=_0x4907e8==null?void 0x0:_0x4907e8[_0x5461c5(0x14f)])==null?0x0:_0x1a2259,'titleRow':(_0x35eac9=_0x4907e8==null?void 0x0:_0x4907e8[_0x5461c5(0x16d)])==null?!0x1:_0x35eac9,'columns':Array[_0x5461c5(0xff)]({'length':_0x2fe6e8},(_0x104188,_0x39376f)=>{const _0x21815a=_0x5461c5;var _0x3fe779,_0x58f56f;return{'index':_0x39376f,'type':_0x4907e8==null||(_0x3fe779=_0x4907e8[_0x21815a(0xec)])==null||(_0x3fe779=_0x3fe779[_0x39376f])==null?void 0x0:_0x3fe779[_0x21815a(0x11d)],'width':_0xf03309==null||(_0x58f56f=_0xf03309[_0x21815a(0x1b2)][_0x39376f])==null?void 0x0:_0x58f56f[_0x21815a(0x158)][_0x21815a(0x189)]['v']};}),'sampleRows':Array['from']({'length':this[_0x5461c5(0x175)]()},(_0x925cfd,_0x50295f)=>Array['from']({'length':_0x2fe6e8},(_0x343e7f,_0x10b848)=>this[_0x5461c5(0x1af)](_0x50295f,_0x10b848)))[_0x5461c5(0x1c0)](_0x1ba195=>_0x1ba195[_0x5461c5(0x128)](_0x4be51b=>_0x4be51b[_0x5461c5(0x196)]>0x0))[_0x5461c5(0x149)](0x0,0x5)};}[_0x3136c6(0x175)](){const _0x1381be=_0x3136c6;var _0x28fc21,_0x3d6286;return(_0x28fc21=(_0x3d6286=this[_0x1381be(0x1bf)]())==null?void 0x0:_0x3d6286[_0x1381be(0x16c)]['length'])==null?0x0:_0x28fc21;}[_0x3136c6(0x154)](){const _0x32653e=_0x3136c6;var _0x2cae4a,_0x57b3fc;return(_0x2cae4a=(_0x57b3fc=this[_0x32653e(0x1bf)]())==null?void 0x0:_0x57b3fc[_0x32653e(0x1b2)][_0x32653e(0x196)])==null?0x0:_0x2cae4a;}['getCell'](_0x114e93,_0x593c99){const _0x333a14=_0x3136c6;var _0x68dc4b;return!((_0x68dc4b=this['getSource']())==null||(_0x68dc4b=_0x68dc4b[_0x333a14(0x16c)][_0x114e93])==null)&&_0x68dc4b[_0x333a14(0xfa)][_0x593c99]?this[_0x333a14(0x192)][_0x333a14(0x14b)](_0xedc215,this,_0x114e93,_0x593c99):null;}[_0x3136c6(0x1af)](_0x41a795,_0x17369e){const _0x3adb0f=_0x3136c6;var _0x163f2b,_0x20436b,_0x2551e3;let _0x4d5407=(_0x163f2b=(0x0,_0x2d445f[_0x3adb0f(0x13d)])(this[_0x3adb0f(0x188)](),this[_0x3adb0f(0x101)]))==null||(_0x163f2b=_0x163f2b[_0x3adb0f(0x14c)][_0x41a795])==null?void 0x0:_0x163f2b[_0x3adb0f(0x1bd)][_0x17369e];return _0x4d5407?(_0x20436b=(_0x2551e3=this[_0x3adb0f(0x188)]()[_0x3adb0f(0x159)])==null?void 0x0:_0x2551e3[_0x3adb0f(0x125)][_0x3adb0f(0x149)](_0x4d5407[_0x3adb0f(0x16f)]+0x1,_0x4d5407[_0x3adb0f(0xf4)])[_0x3adb0f(0x194)](/\r\n$/,''))==null?'':_0x20436b:'';}[_0x3136c6(0x190)](_0x413d4a,_0x134375){const _0xc651c8=_0x3136c6;var _0x3d3534,_0x536b7d,_0x371b13;let _0x1b75c2=this[_0xc651c8(0x1bf)](),_0x2275ae=_0x1b75c2==null||(_0x3d3534=_0x1b75c2[_0xc651c8(0x16c)][_0x413d4a])==null?void 0x0:_0x3d3534['tableCells'][_0x134375];return _0x2275ae?_0x172e84['Tools']['deepClone']((_0x536b7d=(_0x371b13=_0x2275ae['margin'])==null?_0x1b75c2[_0xc651c8(0x183)]:_0x371b13)==null?_0x2d445f[_0xc651c8(0x186)]:_0x536b7d):null;}[_0x3136c6(0x13e)](_0x2e3981,_0x3f3d28){const _0x4c3148=_0x3136c6;var _0x2e0784;let _0x1552e8=(_0x2e0784=this[_0x4c3148(0x1bf)]())==null||(_0x2e0784=_0x2e0784[_0x4c3148(0x16c)][_0x2e3981])==null?void 0x0:_0x2e0784[_0x4c3148(0xfa)][_0x3f3d28];return _0x1552e8!=null&&_0x1552e8[_0x4c3148(0x161)]?_0x172e84[_0x4c3148(0x162)][_0x4c3148(0x1b3)](_0x1552e8[_0x4c3148(0x161)]):null;}['getDefaultCellMargin'](){const _0x2e3e8d=_0x3136c6;var _0x168c17,_0x130e6d;return _0x172e84['Tools']['deepClone']((_0x168c17=(_0x130e6d=this[_0x2e3e8d(0x1bf)]())==null?void 0x0:_0x130e6d[_0x2e3e8d(0x183)])==null?_0x2d445f[_0x2e3e8d(0x186)]:_0x168c17);}['getDefaultCellMarginOverride'](){const _0x115c28=_0x3136c6;var _0x54fc5f;let _0x1b4ca8=(_0x54fc5f=this[_0x115c28(0x1bf)]())==null?void 0x0:_0x54fc5f[_0x115c28(0x183)];return _0x1b4ca8?_0x172e84[_0x115c28(0x162)][_0x115c28(0x1b3)](_0x1b4ca8):null;}['getMetadata'](){const _0x4ab163=_0x3136c6;return this[_0x4ab163(0x192)][_0x4ab163(0x1ab)](_0x2d445f[_0x4ab163(0x11b)])[_0x4ab163(0x10b)](this[_0x4ab163(0x140)],this[_0x4ab163(0x101)]);}[_0x3136c6(0x1bf)](){const _0x14c6a4=_0x3136c6;var _0x10eb1b;return(_0x10eb1b=this['_getDocumentData']()[_0x14c6a4(0x199)])==null?void 0x0:_0x10eb1b[this[_0x14c6a4(0x101)]];}[_0x3136c6(0x181)](){const _0x4a9118=_0x3136c6;return(0x0,_0x2d445f[_0x4a9118(0x13d)])(this[_0x4a9118(0x188)](),this[_0x4a9118(0x101)]);}[_0x3136c6(0xee)](){const _0x17f49a=_0x3136c6;return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x17f49a(0x154)]()-0x1)};}[_0x3136c6(0x141)](_0x480e7e,_0x19020a){return{'startRow':_0x480e7e,'endRow':_0x480e7e,'startColumn':_0x19020a,'endColumn':_0x19020a};}['getCellContentRange'](_0x5f2825,_0x571884){const _0x52068d=_0x3136c6;var _0x1b9345;let _0x1444d7=(_0x1b9345=(0x0,_0x2d445f[_0x52068d(0x13d)])(this['_getDocumentData'](),this[_0x52068d(0x101)]))==null||(_0x1b9345=_0x1b9345[_0x52068d(0x14c)][_0x5f2825])==null?void 0x0:_0x1b9345[_0x52068d(0x1bd)][_0x571884];if(!_0x1444d7)return null;let _0x352d32=_0x1444d7['startOffset']+0x1;return{'startOffset':_0x352d32,'endOffset':Math['max'](_0x352d32,_0x1444d7[_0x52068d(0xf4)]-0x1),'segmentId':this['_segmentId']};}[_0x3136c6(0x17e)](_0x503f67,_0x1cf1cd){const _0x296af3=_0x3136c6;var _0x2cbe47,_0x401d55;return(_0x2cbe47=(_0x401d55=this['getCellContentRange'](_0x503f67,_0x1cf1cd))==null?void 0x0:_0x401d55[_0x296af3(0xf4)])==null?null:_0x2cbe47;}['getRowRange'](_0x459cf9){return this['getRowsRange'](_0x459cf9,0x1);}[_0x3136c6(0x13b)](_0x1bd34c,_0x11017b=0x1){const _0x475bf9=_0x3136c6;return{'startRow':_0x1bd34c,'endRow':_0x1bd34c+_0x11017b-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x475bf9(0x154)]()-0x1)};}[_0x3136c6(0x1b8)](_0x531c65){const _0x1a61fd=_0x3136c6;return this[_0x1a61fd(0x18b)](_0x531c65,0x1);}['getColumnsRange'](_0x1b71bb,_0x224f4e=0x1){const _0x56b22a=_0x3136c6;return{'startRow':0x0,'endRow':Math[_0x56b22a(0x123)](0x0,this[_0x56b22a(0x175)]()-0x1),'startColumn':_0x1b71bb,'endColumn':_0x1b71bb+_0x224f4e-0x1};}[_0x3136c6(0x1ad)](){const _0xc4097b=_0x3136c6;return this[_0xc4097b(0x193)](this[_0xc4097b(0xee)](),_0x2d445f['DocsTableSelectionKind'][_0xc4097b(0x11a)]);}[_0x3136c6(0x106)](_0x4cba0b){return this['selectRows'](_0x4cba0b,0x1);}[_0x3136c6(0x110)](_0x441de5,_0x396785=0x1){const _0x35b0a0=_0x3136c6;return this[_0x35b0a0(0x193)](this[_0x35b0a0(0x13b)](_0x441de5,_0x396785),_0x2d445f[_0x35b0a0(0x170)]['Row']);}[_0x3136c6(0x1ba)](_0x47fb11){return this['selectColumns'](_0x47fb11,0x1);}['selectColumns'](_0x44e9d1,_0x87c0bd=0x1){const _0xfc921b=_0x3136c6;return this['selectRange'](this['getColumnsRange'](_0x44e9d1,_0x87c0bd),_0x2d445f[_0xfc921b(0x170)][_0xfc921b(0xf2)]);}[_0x3136c6(0x198)](_0x23ef2b,_0x361348){const _0x21961c=_0x3136c6;return this[_0x21961c(0x193)](this[_0x21961c(0x141)](_0x23ef2b,_0x361348),_0x2d445f[_0x21961c(0x170)][_0x21961c(0x17d)]);}[_0x3136c6(0x193)](_0x25d184,_0x49eff5=_0x2d445f[_0x3136c6(0x170)][_0x3136c6(0xf0)]){const _0x4e2de6=_0x3136c6;return this[_0x4e2de6(0x192)][_0x4e2de6(0x1ab)](_0x2d445f['DocsTableSelectionService'])[_0x4e2de6(0x107)]({..._0x25d184,'kind':_0x49eff5,'segmentId':this[_0x4e2de6(0x143)],'tableId':this['_tableId']}),!0x0;}[_0x3136c6(0x19c)](_0x45f5a6){const _0x509e60=_0x3136c6;return this[_0x509e60(0x122)](_0x45f5a6,0x1);}[_0x3136c6(0x108)](_0x1a71b2){const _0x3b8a6c=_0x3136c6;return this[_0x3b8a6c(0x146)](_0x1a71b2,0x1);}[_0x3136c6(0x122)](_0x17d692,_0x4a3f44){const _0x13a41a=_0x3136c6;let _0x42cbce=this[_0x13a41a(0x188)](),_0x5070a5=(0x0,_0x2d445f[_0x13a41a(0x13c)])(_0x42cbce,this[_0x13a41a(0x101)],_0x17d692,_0x4a3f44,_0x2d445f[_0x13a41a(0x137)][_0x13a41a(0x152)],this[_0x13a41a(0x133)]());return _0x5070a5?this[_0x13a41a(0x1b6)](_0x42cbce,_0x5070a5[_0x13a41a(0xfb)]):!0x1;}[_0x3136c6(0x146)](_0x58e45e,_0x5c3875){const _0x2a840e=_0x3136c6;let _0x35c920=this[_0x2a840e(0x188)](),_0x58f5f5=(0x0,_0x2d445f['buildInsertTableRowsMutationActions'])(_0x35c920,this['_tableId'],_0x58e45e,_0x5c3875,_0x2d445f[_0x2a840e(0x137)][_0x2a840e(0x155)],this['_getBodyPath']());return _0x58f5f5?this[_0x2a840e(0x1b6)](_0x35c920,_0x58f5f5[_0x2a840e(0xfb)]):!0x1;}['appendRow'](){const _0x2b974e=_0x3136c6;return this[_0x2b974e(0x146)](Math[_0x2b974e(0x123)](0x0,this['getRowCount']()-0x1),0x1);}[_0x3136c6(0x14e)](_0x3f7ad9){const _0xe6d1ae=_0x3136c6;return this[_0xe6d1ae(0x185)](_0x3f7ad9,0x1);}[_0x3136c6(0xf5)](_0x30c7d2){const _0x5566d2=_0x3136c6;return this[_0x5566d2(0x173)](_0x30c7d2,0x1);}['insertColumnsBefore'](_0x4de3be,_0xd2a3df){const _0x3888be=_0x3136c6;let _0x1c8b75=this[_0x3888be(0x188)](),_0x3884d6=(0x0,_0x2d445f['buildInsertTableColumnsMutationActions'])(_0x1c8b75,this[_0x3888be(0x101)],_0x4de3be,_0xd2a3df,_0x2d445f[_0x3888be(0x137)][_0x3888be(0x157)],{'bodyPath':this[_0x3888be(0x133)]()});return _0x3884d6?this[_0x3888be(0x1b6)](_0x1c8b75,_0x3884d6[_0x3888be(0xfb)]):!0x1;}[_0x3136c6(0x173)](_0x7f893c,_0x2091f0){const _0x2b08d9=_0x3136c6;let _0x1051c5=this[_0x2b08d9(0x188)](),_0xf695b4=(0x0,_0x2d445f[_0x2b08d9(0x1a5)])(_0x1051c5,this[_0x2b08d9(0x101)],_0x7f893c,_0x2091f0,_0x2d445f['DocsTableInsertPosition'][_0x2b08d9(0xea)],{'bodyPath':this[_0x2b08d9(0x133)]()});return _0xf695b4?this[_0x2b08d9(0x1b6)](_0x1051c5,_0xf695b4[_0x2b08d9(0xfb)]):!0x1;}[_0x3136c6(0x121)](){const _0x38adc7=_0x3136c6;return this['insertColumnsAfter'](Math[_0x38adc7(0x123)](0x0,this['getColumnCount']()-0x1),0x1);}['deleteRow'](_0x464795){const _0x3f4324=_0x3136c6;return this[_0x3f4324(0x1a4)](_0x464795,0x1);}[_0x3136c6(0x1a4)](_0x529e95,_0x50577b=0x1){const _0x249727=_0x3136c6;let _0x36d395=this[_0x249727(0x188)](),_0xc0ea6d=(0x0,_0x2d445f[_0x249727(0x15a)])(_0x36d395,this['_tableId'],_0x529e95,_0x529e95+_0x50577b-0x1,this['_getBodyPath']());return _0xc0ea6d?this[_0x249727(0x1b6)](_0x36d395,_0xc0ea6d[_0x249727(0xfb)]):!0x1;}[_0x3136c6(0x10c)](_0x43e395){return this['deleteColumns'](_0x43e395,0x1);}['deleteColumns'](_0x151ea8,_0x48d2a8=0x1){const _0x341f7d=_0x3136c6;let _0x567ce4=this[_0x341f7d(0x188)](),_0x5084c8=(0x0,_0x2d445f['buildDeleteTableColumnsMutationActions'])(_0x567ce4,this[_0x341f7d(0x101)],_0x151ea8,_0x151ea8+_0x48d2a8-0x1,this[_0x341f7d(0x133)]());return _0x5084c8?this[_0x341f7d(0x1b6)](_0x567ce4,_0x5084c8[_0x341f7d(0xfb)]):!0x1;}[_0x3136c6(0x150)](){const _0x23da8e=_0x3136c6;let _0x58aeaf=this['_getDocumentData'](),_0x199f08=(0x0,_0x2d445f[_0x23da8e(0x1a3)])(_0x58aeaf,this[_0x23da8e(0x101)],this[_0x23da8e(0x133)]());return _0x199f08?this[_0x23da8e(0x1b6)](_0x58aeaf,_0x199f08['actions']):!0x1;}['moveTableBy'](_0x3fb0e2,_0xdb7331){const _0x342562=_0x3136c6;let _0x2c86b5=this['_getDocumentData']();return this[_0x342562(0x1b6)](_0x2c86b5,(0x0,_0x2d445f[_0x342562(0x14a)])(_0x2c86b5,this['_tableId'],_0x3fb0e2,_0xdb7331));}['moveTableToOffset'](_0x37aef3){const _0x53b8ae=_0x3136c6;let _0x38dbf5=this[_0x53b8ae(0x188)]();return this[_0x53b8ae(0x1b6)](_0x38dbf5,(0x0,_0x2d445f['buildMoveTableToOffsetMutationActions'])(_0x38dbf5,this[_0x53b8ae(0x101)],_0x37aef3,this[_0x53b8ae(0x133)]()));}[_0x3136c6(0x11c)](_0x2e0820,_0x4f7aac,_0x3d79b7=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x152)]){const _0x5a4a9b=_0x3136c6;return this[_0x5a4a9b(0x151)](_0x2e0820,0x1,_0x4f7aac,_0x3d79b7);}[_0x3136c6(0x151)](_0x1944f2,_0x4a096b,_0x4c07bf,_0x38e977=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x152)]){const _0x54dd17=_0x3136c6;let _0x52075b=this[_0x54dd17(0x188)](),_0x2352cb=(0x0,_0x2d445f[_0x54dd17(0x1b0)])(_0x52075b,this[_0x54dd17(0x101)],_0x1944f2,_0x4c07bf,_0x4a096b,_0x38e977,this[_0x54dd17(0x133)]());return _0x2352cb?this[_0x54dd17(0x1b6)](_0x52075b,_0x2352cb[_0x54dd17(0xfb)]):!0x1;}['moveColumn'](_0x116b68,_0x49937e,_0x379832=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x157)]){const _0x3ba714=_0x3136c6;return this[_0x3ba714(0x1a0)](_0x116b68,0x1,_0x49937e,_0x379832);}[_0x3136c6(0x1a0)](_0x469988,_0x4885c2,_0x4d6c0d,_0x21f0e2=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x157)]){const _0x3b08dd=_0x3136c6;let _0x45e517=this['_getDocumentData'](),_0x178a14=(0x0,_0x2d445f[_0x3b08dd(0x18c)])(_0x45e517,this[_0x3b08dd(0x101)],_0x469988,_0x4d6c0d,_0x4885c2,_0x21f0e2,this[_0x3b08dd(0x133)]());return _0x178a14?this['_mutateActions'](_0x45e517,_0x178a14[_0x3b08dd(0xfb)]):!0x1;}[_0x3136c6(0xfc)](_0x1e5652){const _0x5ddaee=_0x3136c6;try{let _0x20e2dd=this[_0x5ddaee(0x188)](),_0x263d80=(0x0,_0x2d445f[_0x5ddaee(0x180)])({'documentData':_0x20e2dd,'tableId':this[_0x5ddaee(0x101)],..._0x1e5652});return _0x263d80?this[_0x5ddaee(0x1b6)](_0x20e2dd,_0x263d80['actions'],_0x1e5652):!0x1;}catch{return!0x1;}}[_0x3136c6(0x166)](_0x57bc28){const _0x5977b6=_0x3136c6;try{let _0xd4e8aa=this['_getDocumentData'](),_0xa42ccd=(0x0,_0x2d445f['buildUnmergeCellsMutationActions'])({'documentData':_0xd4e8aa,'tableId':this[_0x5977b6(0x101)],..._0x57bc28});return _0xa42ccd?this[_0x5977b6(0x1b6)](_0xd4e8aa,_0xa42ccd[_0x5977b6(0xfb)],_0x57bc28):!0x1;}catch{return!0x1;}}[_0x3136c6(0x12f)](_0x2b1c4f,_0x1c017b,_0x3824a6){const _0xae5f9=_0x3136c6;let _0x36962b=this[_0xae5f9(0x188)](),_0x1d8d6c=(0x0,_0x2d445f['getTableActionBodyPath'])(this['_document'][_0xae5f9(0x127)]()[_0xae5f9(0x144)](),this['_segmentId']);return this['_mutateActions'](_0x36962b,(0x0,_0x2d445f['buildSetTableCellTextMutationActions'])({'documentData':_0x36962b,'tableId':this[_0xae5f9(0x101)],'row':_0x2b1c4f,'column':_0x1c017b,'text':_0x3824a6},_0x1d8d6c),this['getCellRange'](_0x2b1c4f,_0x1c017b));}[_0x3136c6(0x135)](_0x25fbcb,_0x32359f){const _0x167046=_0x3136c6;let _0x38701a=this[_0x167046(0x188)]();return this[_0x167046(0x1b6)](_0x38701a,(0x0,_0x2d445f['buildSetTableBackgroundMutationActions'])(_0x38701a,{'tableId':this[_0x167046(0x101)],..._0x25fbcb,'value':_0x32359f}),_0x25fbcb);}[_0x3136c6(0x10f)](_0x389d5e,_0x23ac4e){const _0x3d78d0=_0x3136c6;let _0x3be32c=this[_0x3d78d0(0x188)]();return this[_0x3d78d0(0x1b6)](_0x3be32c,(0x0,_0x2d445f['buildSetTableCellMarginMutationActions'])({'documentData':_0x3be32c,'tableId':this['_tableId'],..._0x389d5e,'margin':_0x23ac4e}),_0x389d5e);}[_0x3136c6(0x10e)](_0x38680c){const _0x384d7c=_0x3136c6;let _0xa9c4e2=this[_0x384d7c(0x188)]();return this[_0x384d7c(0x1b6)](_0xa9c4e2,(0x0,_0x2d445f[_0x384d7c(0x1b1)])(_0xa9c4e2,this['_tableId'],_0x38680c));}[_0x3136c6(0xed)](_0x576b70,_0x3f5335){const _0x3772e5=_0x3136c6;var _0x5123e0,_0x262f5f,_0x3677e3,_0x5c8b78;let _0x63f196=this['_getDocumentData']();return this[_0x3772e5(0x1b6)](_0x63f196,(0x0,_0x2d445f[_0x3772e5(0x18f)])({'documentData':_0x63f196,'tableId':this[_0x3772e5(0x101)],..._0x576b70,'preset':(_0x5123e0=_0x3f5335[_0x3772e5(0x19b)])==null?_0x2d445f[_0x3772e5(0x12a)][_0x3772e5(0x197)]:_0x5123e0,'border':(_0x262f5f=_0x3f5335[_0x3772e5(0x191)])==null?{'color':{'rgb':(_0x3677e3=_0x3f5335[_0x3772e5(0x113)])==null?'#1f1f1f':_0x3677e3},'width':{'v':(_0x5c8b78=_0x3f5335[_0x3772e5(0x189)])==null?0x1:_0x5c8b78},'dashStyle':_0x172e84[_0x3772e5(0x19f)][_0x3772e5(0x103)]}:_0x262f5f}),_0x576b70);}[_0x3136c6(0x171)](_0x3fe12a){return this['setCellBackground'](this['getTableRange'](),_0x3fe12a);}['setTableBorder'](_0x391ef4){const _0xf90d5=_0x3136c6;return this['setBorder'](this[_0xf90d5(0xee)](),_0x391ef4);}[_0x3136c6(0x17a)](_0x24edbc){const _0x42eec8=_0x3136c6;let _0xcacfb8=_0x24edbc['backgroundColor']?this[_0x42eec8(0x171)](_0x24edbc[_0x42eec8(0xfe)]):!0x0,_0x4c99c2=_0x24edbc[_0x42eec8(0x191)]?this['setTableBorder'](_0x24edbc[_0x42eec8(0x191)]):!0x0;return _0xcacfb8&&_0x4c99c2;}[_0x3136c6(0x17b)](_0x1ab7f6,_0x33edda,_0x3ad789=_0x172e84[_0x3136c6(0x138)][_0x3136c6(0x112)]){const _0x5a6f93=_0x3136c6;var _0x5dae95;let _0x37a03f=this[_0x5a6f93(0x188)]();return!((_0x5dae95=_0x37a03f[_0x5a6f93(0x199)])==null||(_0x5dae95=_0x5dae95[this[_0x5a6f93(0x101)]])==null)&&_0x5dae95['tableRows'][_0x1ab7f6]?this['_mutateActions'](_0x37a03f,(0x0,_0x2d445f[_0x5a6f93(0x117)])(_0x37a03f,this[_0x5a6f93(0x101)],_0x1ab7f6,_0x33edda,_0x3ad789)):!0x1;}[_0x3136c6(0x156)](_0x332c15){const _0x353f27=_0x3136c6;var _0x125749;let _0x5d60c6=(_0x125749=this[_0x353f27(0x1bf)]())==null||(_0x125749=_0x125749[_0x353f27(0x16c)][_0x332c15])==null?void 0x0:_0x125749[_0x353f27(0x129)];return _0x5d60c6?_0x172e84[_0x353f27(0x162)][_0x353f27(0x1b3)](_0x5d60c6):null;}[_0x3136c6(0x145)](_0x5a42c7,_0x575b09){const _0x4b584c=_0x3136c6;var _0x4a968e;let _0x168b4b=this[_0x4b584c(0x188)]();return!((_0x4a968e=_0x168b4b['tableSource'])==null||(_0x4a968e=_0x4a968e[this['_tableId']])==null)&&_0x4a968e[_0x4b584c(0x1b2)][_0x5a42c7]?this[_0x4b584c(0x1b6)](_0x168b4b,(0x0,_0x2d445f['buildResizeTableColumnActionsFromWidth'])(_0x168b4b,this['_tableId'],_0x5a42c7,_0x575b09)):!0x1;}[_0x3136c6(0x17c)](_0x2588f8=0x0,_0x4ae029=this[_0x3136c6(0x175)]()){const _0x30215f=_0x3136c6;let _0x1eb9de=this[_0x30215f(0x188)]();return this[_0x30215f(0x1b6)](_0x1eb9de,(0x0,_0x2d445f['buildDistributeTableRowsMutationActions'])(_0x1eb9de,this[_0x30215f(0x101)],_0x2588f8,_0x2588f8+_0x4ae029-0x1));}[_0x3136c6(0x16b)](_0x4030d9=0x0,_0x5b093a=this['getColumnCount']()){const _0x34275e=_0x3136c6;let _0x49f1ae=this[_0x34275e(0x188)]();return this[_0x34275e(0x1b6)](_0x49f1ae,(0x0,_0x2d445f[_0x34275e(0x132)])(_0x49f1ae,this[_0x34275e(0x101)],_0x4030d9,_0x4030d9+_0x5b093a-0x1));}[_0x3136c6(0x17f)](){const _0x2ce18f=_0x3136c6;var _0x544053,_0xeb4b25;return(_0x544053=(_0xeb4b25=this[_0x2ce18f(0x109)]())==null?void 0x0:_0xeb4b25[_0x2ce18f(0x14f)])==null?0x0:_0x544053;}[_0x3136c6(0x178)](_0x210dd1){const _0x5c6617=_0x3136c6;let _0x7170a9=this[_0x5c6617(0x192)]['get'](_0x2d445f[_0x5c6617(0x11b)]),_0x3b89e0=this[_0x5c6617(0x188)](),_0x3748d0=(0x0,_0x2d445f[_0x5c6617(0x147)])(_0x3b89e0,this[_0x5c6617(0x101)],_0x210dd1);if(!_0x3748d0)return!0x1;let _0x1a3f7d=this[_0x5c6617(0x1b6)](_0x3b89e0,_0x3748d0[_0x5c6617(0xfb)]);return _0x1a3f7d&&_0x7170a9['setHeaderRowCount'](this[_0x5c6617(0x140)],this[_0x5c6617(0x101)],_0x3748d0['headerRowCount']),_0x1a3f7d;}[_0x3136c6(0x1be)](_0x1ce927){const _0x32b6fa=_0x3136c6;return this[_0x32b6fa(0x178)](_0x1ce927);}['hasTitleRow'](){const _0x126c39=_0x3136c6;var _0x344f6e,_0x5c1968;return(_0x344f6e=(_0x5c1968=this[_0x126c39(0x109)]())==null?void 0x0:_0x5c1968[_0x126c39(0x16d)])==null?!0x1:_0x344f6e;}[_0x3136c6(0x15f)](){const _0x23995d=_0x3136c6;let _0x119edd=this[_0x23995d(0x192)][_0x23995d(0x1ab)](_0x2d445f[_0x23995d(0x11b)]),_0x144a1d=this[_0x23995d(0x188)](),_0x191885=(0x0,_0x2d445f['buildInsertTableTitleRowMutationActions'])(_0x144a1d,this[_0x23995d(0x101)],this['_getBodyPath']());if(!_0x191885)return!0x1;let _0x2b047b=this[_0x23995d(0x1b6)](_0x144a1d,_0x191885[_0x23995d(0xfb)]);return _0x2b047b&&_0x119edd[_0x23995d(0x164)](this[_0x23995d(0x140)],this[_0x23995d(0x101)],!0x0),_0x2b047b;}[_0x3136c6(0x1a8)](_0x198bad,_0x2209a8){const _0x92796b=_0x3136c6;return this[_0x92796b(0x192)][_0x92796b(0x1ab)](_0x2d445f[_0x92796b(0x11b)])[_0x92796b(0x1a8)](this[_0x92796b(0x140)],this[_0x92796b(0x101)],_0x198bad,_0x2209a8),!0x0;}[_0x3136c6(0x10d)](_0xab8923,_0x44feea){const _0x2f2195=_0x3136c6;let _0x1e6cbe=this[_0x2f2195(0x188)]();return this['_mutateActions'](_0x1e6cbe,(0x0,_0x2d445f[_0x2f2195(0x139)])(_0x1e6cbe,this[_0x2f2195(0x184)](),this[_0x2f2195(0x101)],_0xab8923,_0x44feea,this['_getBodyPath']()));}[_0x3136c6(0x188)](){const _0x4a1080=_0x3136c6;let _0x51bde4=this[_0x4a1080(0x126)][_0x4a1080(0x127)]()['getSnapshot']();return this[_0x4a1080(0x143)]?{...this[_0x4a1080(0x126)]['getDocumentDataModel'](this[_0x4a1080(0x143)])[_0x4a1080(0x144)](),'documentStyle':_0x51bde4[_0x4a1080(0xe9)],'tableSource':_0x51bde4[_0x4a1080(0x199)]}:_0x51bde4;}['_serializeModel'](){const _0xfe76df=_0x3136c6;return this['_injector'][_0xfe76df(0x1ab)](_0x2d445f['DocsTableModel'])[_0xfe76df(0x12e)](this[_0xfe76df(0x140)]);}[_0x3136c6(0x133)](){const _0x5b5ab5=_0x3136c6;return(0x0,_0x2d445f[_0x5b5ab5(0x100)])(this[_0x5b5ab5(0x126)]['getDocumentDataModel']()[_0x5b5ab5(0x144)](),this[_0x5b5ab5(0x143)]);}[_0x3136c6(0x1b6)](_0x5bd689,_0x9cad80,_0x1b6501){const _0x5d779e=_0x3136c6;return(0x0,_0x2d445f[_0x5d779e(0x182)])(this['_injector'][_0x5d779e(0x1ab)](_0x172e84[_0x5d779e(0x102)]),this[_0x5d779e(0x140)],_0x5bd689,_0x9cad80,_0x1b6501?{'tableId':this[_0x5d779e(0x101)],'segmentId':this[_0x5d779e(0x143)],..._0x1b6501}:void 0x0);}},_0x2575a8=class extends _0x44bc52[_0x3136c6(0x12b)]{[_0x3136c6(0x1bc)](_0x2731e7=''){const _0x136dc4=_0x3136c6;return this[_0x136dc4(0x148)](_0x2731e7)[_0x136dc4(0x18a)](_0x90ea6c=>this[_0x136dc4(0x142)](_0x90ea6c[_0x136dc4(0x1bb)],_0x2731e7));}[_0x3136c6(0x19e)](_0x5365c1,_0x54a393=''){const _0x3749f5=_0x3136c6;return this[_0x3749f5(0x148)](_0x54a393)[_0x3749f5(0x128)](_0x381d62=>_0x381d62['tableId']===_0x5365c1)?this[_0x3749f5(0x142)](_0x5365c1,_0x54a393):null;}['getTableAt'](_0x2c4199,_0x164928=''){const _0x262524=_0x3136c6;var _0x421e2a;let _0x34e641=(_0x421e2a=this[_0x262524(0x148)](_0x164928)[_0x2c4199])==null?void 0x0:_0x421e2a[_0x262524(0x1bb)];return _0x34e641?this['_createFDocumentTable'](_0x34e641,_0x164928):null;}['getTableAtSelection'](){const _0x3bc220=_0x3136c6;let _0x3df340=this[_0x3bc220(0x192)][_0x3bc220(0x1ab)](_0x2d445f[_0x3bc220(0x1a9)])[_0x3bc220(0x1a1)]();return _0x3df340!=null&&_0x3df340[_0x3bc220(0x1bb)]?this[_0x3bc220(0x142)](_0x3df340['tableId'],_0x3df340[_0x3bc220(0xf8)]):null;}[_0x3136c6(0x177)](_0x248cc0,_0x3ad744=''){const _0x5d4c30=_0x3136c6;var _0x4f60d0;return(_0x4f60d0=this[_0x5d4c30(0x124)](_0x248cc0,_0x3ad744)[0x0])==null?null:_0x4f60d0;}[_0x3136c6(0x124)](_0x5edfff,_0x6da558=''){const _0x4d7fc5=_0x3136c6;let _0x1d702d=this[_0x4d7fc5(0x1b4)](_0x6da558),_0x2a0f06=typeof _0x5edfff=='string'?{'text':_0x5edfff}:_0x5edfff;return this[_0x4d7fc5(0x1bc)](_0x6da558)['filter'](_0x416ae5=>{const _0x3360c7=_0x4d7fc5;let _0x2096fd=_0x416ae5[_0x3360c7(0x120)]();return!(_0x2a0f06[_0x3360c7(0x1bb)]&&_0x2096fd!==_0x2a0f06[_0x3360c7(0x1bb)]||_0x2a0f06['text']&&!this[_0x3360c7(0x131)](_0x1d702d,_0x2096fd,_0x2a0f06[_0x3360c7(0x104)])||_0x2a0f06[_0x3360c7(0xf3)]&&!this['_rowContainsText'](_0x416ae5,0x0,_0x2a0f06['headerText'])||_0x2a0f06[_0x3360c7(0x11f)]&&!this['_rowContainsText'](_0x416ae5,0x0,_0x2a0f06[_0x3360c7(0x11f)]));});}[_0x3136c6(0x1a7)](_0x3d0464,_0x4cd1b5,_0x12f78a={}){const _0x509ee7=_0x3136c6;var _0x1a08a5,_0x12be3a;let _0x30ee42=this['_injector'][_0x509ee7(0x1ab)](_0x172e84['ICommandService']),_0x88b60f=(_0x1a08a5=_0x12f78a['tableId'])==null?(0x0,_0x172e84['generateRandomId'])(0x6):_0x1a08a5;return _0x30ee42[_0x509ee7(0x1ac)](_0x2d445f['DocsTableInsertTableCommand']['id'],{..._0x12f78a,'unitId':this[_0x509ee7(0x120)](),'rows':_0x3d0464,'columns':_0x4cd1b5,'tableId':_0x88b60f})?this[_0x509ee7(0x142)](_0x88b60f,(_0x12be3a=_0x12f78a[_0x509ee7(0xf8)])==null?'':_0x12be3a):null;}[_0x3136c6(0x12c)](_0x376dcc,_0x587c3d={}){const _0x51de57=_0x3136c6;var _0x173017,_0x121d24;let _0x246f46=this[_0x51de57(0x192)]['get'](_0x172e84[_0x51de57(0x102)]),_0x580598=(_0x173017=_0x587c3d['tableId'])==null?(0x0,_0x172e84[_0x51de57(0xf1)])(0x6):_0x173017;return _0x246f46[_0x51de57(0x1ac)](_0x2d445f[_0x51de57(0x16e)]['id'],{..._0x587c3d,'unitId':this['getId'](),'values':_0x376dcc,'tableId':_0x580598})?this[_0x51de57(0x142)](_0x580598,(_0x121d24=_0x587c3d['segmentId'])==null?'':_0x121d24):null;}[_0x3136c6(0x148)](_0x5948b9=''){const _0x38227a=_0x3136c6;let {tables:_0xb47d9b=[]}=this[_0x38227a(0x15d)](_0x5948b9);return _0xb47d9b;}[_0x3136c6(0x1b4)](_0x2c4a20=''){const _0x531daa=_0x3136c6;let _0x17eead=this[_0x531daa(0x127)]()['getSnapshot']();return _0x2c4a20?{...this[_0x531daa(0x127)](_0x2c4a20)[_0x531daa(0x144)](),'documentStyle':_0x17eead[_0x531daa(0xe9)],'tableSource':_0x17eead[_0x531daa(0x199)]}:_0x17eead;}['_createFDocumentTable'](_0x296613,_0x4b2b8a=''){const _0x1a606e=_0x3136c6;return this[_0x1a606e(0x192)]['createInstance'](_0x2b931c,this,_0x296613,_0x4b2b8a,this[_0x1a606e(0x192)]);}[_0x3136c6(0x131)](_0x4a1ff7,_0x648add,_0x343271){const _0x1ad064=_0x3136c6;var _0x5661e6;let _0x2b7b2e=(0x0,_0x2d445f[_0x1ad064(0x13d)])(_0x4a1ff7,_0x648add);if(!_0x2b7b2e)return!0x1;let _0x3d9afd=(_0x5661e6=_0x4a1ff7[_0x1ad064(0x159)])==null?void 0x0:_0x5661e6['dataStream'];return _0x3d9afd?_0x3d9afd[_0x1ad064(0x149)](_0x2b7b2e[_0x1ad064(0x16f)],_0x2b7b2e[_0x1ad064(0xf4)])[_0x1ad064(0x160)](_0x343271):!0x1;}[_0x3136c6(0x115)](_0x4db8a5,_0x21c0e3,_0x1cc9b8){const _0x2319f7=_0x3136c6;return Array[_0x2319f7(0xff)]({'length':_0x4db8a5['getColumnCount']()},(_0x106112,_0x2c58ec)=>_0x4db8a5[_0x2319f7(0x1af)](_0x21c0e3,_0x2c58ec))['some'](_0x2c15a7=>_0x2c15a7['includes'](_0x1cc9b8));}};_0x44bc52['FDocument'][_0x3136c6(0x114)](_0x2575a8),_0x1d1d72['FDocumentTable']=_0x2b931c,_0x1d1d72[_0x3136c6(0x1b5)]=_0xedc215;}));function _0xd64c(){const _0x9528c3=['_getDocumentData','width','map','getColumnsRange','buildMoveTableColumnsMutationActions','setText','8228574rhYCCP','buildSetTableBorderMutationActions','getCellMargin','border','_injector','selectRange','replace','getText','length','All','selectCell','tableSource','symbol','preset','insertRowBefore','amd','getTable','DashStyleType','moveColumns','getStableTableSelection','Module','buildDeleteTableMutationActions','deleteRows','buildInsertTableColumnsMutationActions','iterator','insertTable','setColumnType','DocsTableSelectionService','getInsertOffset','get','syncExecuteCommand','selectTable','@univerjs/core/facade','getCellText','buildMoveTableRowsMutationActions','buildSetTableDefaultCellMarginMutationActions','tableColumns','deepClone','_getTableDocumentData','FDocumentTableCell','_mutateActions','292347nBKMgT','getColumnRange','exports','selectColumn','tableId','getTables','cells','pinHeaderRows','getSource','filter','documentStyle','Right','708dUYbdX','columnTypes','setBorder','getTableRange','DocsTableInsertTablePosition','Range','generateRandomId','Column','headerText','endOffset','insertColumnAfter','setMargin','getMarginOverride','segmentId','getColumnIndex','tableCells','actions','mergeCells','getContentRange','backgroundColor','from','getTableActionBodyPath','_tableId','ICommandService','SOLID','text','object','selectRow','setStructuralSelection','insertRowAfter','getMetadata','7607352CmNpkM','getTableMetadata','deleteColumn','sortByColumn','setDefaultCellMargin','setCellMargin','selectRows','function','AT_LEAST','color','extend','_rowContainsText','DocsTableColumnInsertPosition','buildResizeTableRowActionsFromHeight','DocsTableRowInsertPosition','_table','Table','DocsTableModel','moveRow','type','_column','titleText','getId','appendColumn','insertRowsBefore','max','findTables','dataStream','_document','getDocumentDataModel','some','trHeight','DocsTableBorderPreset','FDocument','insertTableFromData','_row','serialize','setCellText','string','_tableContainsText','buildDistributeTableColumnsMutationActions','_getBodyPath','UniverCore','setCellBackground','unmerge','DocsTableInsertPosition','TableRowHeightRule','buildSortTableMutationActions','toStringTag','getRowsRange','buildInsertTableRowsMutationActions','getTableRangeById','getCellMarginOverride','24RzZyzn','_unitId','getCellRange','_createFDocumentTable','_segmentId','getSnapshot','setColumnWidth','insertRowsAfter','buildSetTableHeaderRowCountMutationActions','_getTables','slice','buildMoveFloatingTableMutationActions','createInstance','rows','call','insertColumnBefore','headerRowCount','deleteTable','moveRows','Above','UniverProDocsTable','getColumnCount','Below','getRowHeight','Left','size','body','buildDeleteTableRowsMutationActions','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getSegmentId','getBody','getRowIndex','insertTitleRow','includes','margin','Tools','@univerjs-pro/docs-table','setTitleRow','3225488bTkXaC','unmergeCells','40061TdpuJn','DocsTableColumnType','getCellContentRange','@univerjs/core','distributeColumns','tableRows','titleRow','DocsTableInsertTableCommand','startOffset','DocsTableSelectionKind','setTableBackground','constructor','insertColumnsAfter','1489505ewpiyb','getRowCount','167816TavIWe','findTableByText','setHeaderRowCount','default','setTableStyle','setRowHeight','distributeRows','Cell','getCellInsertOffset','getHeaderRowCount','buildMergeCellsMutationActions','getRange','executeRichTextTableActions','cellMargin','_serializeModel','insertColumnsBefore','DEFAULT_DOCS_TABLE_CELL_MARGIN','mergeTo'];_0xd64c=function(){return _0x9528c3;};return _0xd64c();}
1
+ function _0x3966(){const _0x28a206=['getTableActionBodyPath','FDocument','buildSetTableCellTextMutationActions','_tableContainsText','_row','startOffset','getStableTableSelection','getColumnCount','constructor','Left','getDocumentDataModel','buildDeleteTableMutationActions','setTableBorder','_tableId','slice','endOffset','_createFDocumentTable','some','Column','Cell','selectRows','actions','DEFAULT_DOCS_TABLE_CELL_MARGIN','setText','unmerge','dataStream','moveColumns','DocsTableBorderPreset','rows','getRowIndex','Row','getColumnsRange','setCellBackground','buildSetTableBorderMutationActions','buildInsertTableTitleRowMutationActions','filter','_column','tableRows','_getTableDocumentData','Below','insertTable','type','buildMergeCellsMutationActions','deleteColumn','preset','_document','getSnapshot','setCellText','map','selectRow','getTableRangeById','buildMoveTableRowsMutationActions','selectColumns','DocsTableInsertTableCommand','color','DocsTableColumnType','sortByColumn','headerText','getCellMarginOverride','findTables','max','getCellRange','setBorder','_mutateActions','setHeaderRowCount','hasTitleRow','tableColumns','AT_LEAST','buildDeleteTableColumnsMutationActions','insertColumnAfter','getCellInsertOffset','getCell','2099840TRcTvk','insertTableFromData','getHeaderRowCount','ICommandService','unmergeCells','getColumnIndex','setTitleRow','getTable','exports','setBackgroundColor','getRowRange','42hbEiRW','setCellMargin','getSource','DocsTableModel','_getDocumentData','prototype','text','extend','3219480BVBBtI','getContentRange','getId','getRowsRange','amd','Tools','function','buildDeleteTableRowsMutationActions','_getBodyPath','DocsTableSelectionKind','DashStyleType','_table','selectRange','getTableAtSelection','replace','getRange','moveColumn','getInfo','cells','UniverCore','getMetadata','buildInsertTableRowsMutationActions','_getTables','deepClone','body','moveRow','_segmentId','segmentId','getMargin','margin','backgroundColor','getColumnRange','getText','string','toStringTag','getTableMetadata','tableId','moveTableBy','selectTable','includes','@univerjs/core/facade','generateRandomId','get','_unitId','Above','DocsTableSortDirection','getTables','1829247gALRpe','buildResizeTableColumnActionsFromWidth','DocsTableRowInsertPosition','getRowCount','buildResizeTableRowActionsFromHeight','selectCell','titleRow','insertRowsBefore','insertRowBefore','getRowHeight','_serializeModel','moveTableToOffset','DocsTableInsertTablePosition','width','SOLID','deleteColumns','headerRowCount','setDefaultCellMargin','getTableAt','from','insertRowsAfter','mergeCells','68948myMbLa','DocsTableInsertPosition','FDocumentTableCell','clearMarginOverride','758409FCLoUH','titleText','distributeRows','distributeColumns','29349232HfbpJD','setTableBackground','syncExecuteCommand','defineProperty','describe','symbol','insertColumnsBefore','moveRows','getTableRange','buildSetTableHeaderRowCountMutationActions','default','length','#1f1f1f','border','2282285xjdneQ','getInsertOffset','buildInsertTableColumnsMutationActions','getDefaultCellMarginOverride','findTableByText','trHeight','pinHeaderRows','getDefaultCellMargin','DocsTableSelectionService','insertColumnsAfter','tableCells','appendRow','_injector','object','setTableStyle','UniverDocsFacade','getCellText','cellMargin','tableSource','buildMoveFloatingTableMutationActions','appendColumn','serialize','setColumnType','DocsTableColumnInsertPosition','getCellMargin','documentStyle','_rowContainsText','FEnum','deleteRows','call','FDocumentTable'];_0x3966=function(){return _0x28a206;};return _0x3966();}function _0x376e(_0x4a850f,_0x2aeb06){_0x4a850f=_0x4a850f-0x13f;const _0x396663=_0x3966();let _0x376ec3=_0x396663[_0x4a850f];return _0x376ec3;}(function(_0x1a80df,_0xd52040){const _0x10ed13=_0x376e,_0x424cdc=_0x1a80df();while(!![]){try{const _0x4022b0=-parseInt(_0x10ed13(0x1ae))/0x1+-parseInt(_0x10ed13(0x152))/0x2+parseInt(_0x10ed13(0x15d))/0x3*(-parseInt(_0x10ed13(0x1aa))/0x4)+-parseInt(_0x10ed13(0x1c0))/0x5+-parseInt(_0x10ed13(0x165))/0x6+parseInt(_0x10ed13(0x194))/0x7+parseInt(_0x10ed13(0x1b2))/0x8;if(_0x4022b0===_0xd52040)break;else _0x424cdc['push'](_0x424cdc['shift']());}catch(_0x4f8eac){_0x424cdc['push'](_0x424cdc['shift']());}}}(_0x3966,0xd89fb),function(_0x4fc545,_0x45a013){const _0x3d052e=_0x376e;typeof exports==_0x3d052e(0x1cd)&&typeof module<'u'?_0x45a013(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x3d052e(0x16b)&&define[_0x3d052e(0x169)]?define([_0x3d052e(0x15a),'@univerjs-pro/docs-table','@univerjs/core',_0x3d052e(0x18d),'@univerjs/docs/facade'],_0x45a013):(_0x4fc545=typeof globalThis<'u'?globalThis:_0x4fc545||self,_0x45a013(_0x4fc545['UniverProDocsTableFacade']={},_0x4fc545['UniverProDocsTable'],_0x4fc545[_0x3d052e(0x178)],_0x4fc545['UniverCoreFacade'],_0x4fc545[_0x3d052e(0x1cf)]));}(this,function(_0x56e2c7,_0x25c7cd,_0x45a3c4,_0x2a8ab5,_0xab3855){const _0x36f66f=_0x376e;Object[_0x36f66f(0x1b5)](_0x56e2c7,Symbol[_0x36f66f(0x187)],{'value':'Module'});var _0x29aeb7=class extends _0x2a8ab5[_0x36f66f(0x1db)]{get[_0x36f66f(0x1a0)](){const _0x63c2e7=_0x36f66f;return _0x25c7cd[_0x63c2e7(0x1a0)];}get[_0x36f66f(0x141)](){const _0x970f12=_0x36f66f;return _0x25c7cd[_0x970f12(0x141)];}get[_0x36f66f(0x16e)](){const _0xf192b9=_0x36f66f;return _0x25c7cd[_0xf192b9(0x16e)];}get[_0x36f66f(0x196)](){const _0x37e1e8=_0x36f66f;return _0x25c7cd[_0x37e1e8(0x196)];}get[_0x36f66f(0x1d7)](){const _0x39c02e=_0x36f66f;return _0x25c7cd[_0x39c02e(0x1d7)];}get['DocsTableBorderPreset'](){const _0x336cf6=_0x36f66f;return _0x25c7cd[_0x336cf6(0x1fa)];}get[_0x36f66f(0x192)](){const _0x21e8a9=_0x36f66f;return _0x25c7cd[_0x21e8a9(0x192)];}get[_0x36f66f(0x16f)](){const _0x2ba6c2=_0x36f66f;return _0x45a3c4[_0x2ba6c2(0x16f)];}};_0x2a8ab5['FEnum'][_0x36f66f(0x164)](_0x29aeb7);var _0x2a6666=class{constructor(_0x971aa9,_0xd6001d,_0x3b7f02){const _0x32598c=_0x36f66f;this[_0x32598c(0x170)]=_0x971aa9,this[_0x32598c(0x1e3)]=_0xd6001d,this[_0x32598c(0x203)]=_0x3b7f02;}['getTable'](){const _0x22f154=_0x36f66f;return this[_0x22f154(0x170)];}[_0x36f66f(0x1fc)](){return this['_row'];}[_0x36f66f(0x157)](){const _0x3fa94a=_0x36f66f;return this[_0x3fa94a(0x203)];}[_0x36f66f(0x185)](){const _0xf182a2=_0x36f66f;return this[_0xf182a2(0x170)][_0xf182a2(0x1d0)](this[_0xf182a2(0x1e3)],this[_0xf182a2(0x203)]);}[_0x36f66f(0x166)](){const _0x3043e7=_0x36f66f;return this['_table']['getCellContentRange'](this[_0x3043e7(0x1e3)],this[_0x3043e7(0x203)]);}[_0x36f66f(0x1c1)](){const _0x4dfc3f=_0x36f66f;return this[_0x4dfc3f(0x170)][_0x4dfc3f(0x150)](this[_0x4dfc3f(0x1e3)],this[_0x4dfc3f(0x203)]);}[_0x36f66f(0x181)](){const _0x3319f0=_0x36f66f;return this[_0x3319f0(0x170)][_0x3319f0(0x1d8)](this['_row'],this[_0x3319f0(0x203)]);}['getMarginOverride'](){const _0x464f6c=_0x36f66f;return this[_0x464f6c(0x170)][_0x464f6c(0x144)](this['_row'],this[_0x464f6c(0x203)]);}['setMargin'](_0x362e1c){const _0x7d29dc=_0x36f66f;return this[_0x7d29dc(0x170)][_0x7d29dc(0x15e)](this[_0x7d29dc(0x170)]['getCellRange'](this['_row'],this[_0x7d29dc(0x203)]),_0x362e1c);}[_0x36f66f(0x1ad)](){const _0x1a9876=_0x36f66f;return this[_0x1a9876(0x170)][_0x1a9876(0x15e)](this['_table'][_0x1a9876(0x147)](this['_row'],this[_0x1a9876(0x203)]),null);}[_0x36f66f(0x1f6)](_0x315432){const _0x1506c7=_0x36f66f;return this[_0x1506c7(0x170)][_0x1506c7(0x20e)](this[_0x1506c7(0x1e3)],this['_column'],_0x315432);}[_0x36f66f(0x15b)](_0x47058b){const _0x4d7610=_0x36f66f;return this[_0x4d7610(0x170)][_0x4d7610(0x1ff)](this[_0x4d7610(0x170)][_0x4d7610(0x147)](this[_0x4d7610(0x1e3)],this['_column']),_0x47058b);}[_0x36f66f(0x148)](_0x1680e9){const _0x5e813e=_0x36f66f;return this[_0x5e813e(0x170)]['setBorder'](this['_table']['getCellRange'](this[_0x5e813e(0x1e3)],this['_column']),_0x1680e9);}['mergeTo'](_0x4ba054,_0x5e087d){const _0x269fbe=_0x36f66f;return this[_0x269fbe(0x170)]['mergeCells']({'startRow':this[_0x269fbe(0x1e3)],'startColumn':this[_0x269fbe(0x203)],'endRow':this[_0x269fbe(0x1e3)]+_0x4ba054-0x1,'endColumn':this[_0x269fbe(0x203)]+_0x5e087d-0x1});}[_0x36f66f(0x1f7)](){const _0xad1b92=_0x36f66f;return this[_0xad1b92(0x170)][_0xad1b92(0x156)](this[_0xad1b92(0x170)][_0xad1b92(0x147)](this[_0xad1b92(0x1e3)],this[_0xad1b92(0x203)]));}};function _0x21cf0a(_0xfcdd62){'@babel/helpers - typeof';const _0x36b09c=_0x36f66f;return _0x21cf0a=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x36b09c(0x1b7)?function(_0x49b2c3){return typeof _0x49b2c3;}:function(_0x2f3391){const _0x23dd98=_0x36b09c;return _0x2f3391&&typeof Symbol==_0x23dd98(0x16b)&&_0x2f3391[_0x23dd98(0x1e7)]===Symbol&&_0x2f3391!==Symbol[_0x23dd98(0x162)]?_0x23dd98(0x1b7):typeof _0x2f3391;},_0x21cf0a(_0xfcdd62);}function _0x921d77(_0xacd7d,_0x749e7a){const _0x3ce7ee=_0x36f66f;if(_0x21cf0a(_0xacd7d)!='object'||!_0xacd7d)return _0xacd7d;var _0x21c6b3=_0xacd7d[Symbol['toPrimitive']];if(_0x21c6b3!==void 0x0){var _0x5a5684=_0x21c6b3[_0x3ce7ee(0x1dd)](_0xacd7d,_0x749e7a||_0x3ce7ee(0x1bc));if(_0x21cf0a(_0x5a5684)!='object')return _0x5a5684;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x749e7a==='string'?String:Number)(_0xacd7d);}function _0x5a7e23(_0x78a4b6){const _0xd3a4c=_0x36f66f;var _0x1b3c85=_0x921d77(_0x78a4b6,_0xd3a4c(0x186));return _0x21cf0a(_0x1b3c85)=='symbol'?_0x1b3c85:_0x1b3c85+'';}function _0x44a815(_0x396259,_0xd54350,_0x3b8ac1){const _0xf1862c=_0x36f66f;return(_0xd54350=_0x5a7e23(_0xd54350))in _0x396259?Object[_0xf1862c(0x1b5)](_0x396259,_0xd54350,{'value':_0x3b8ac1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x396259[_0xd54350]=_0x3b8ac1,_0x396259;}var _0x1bf518=class{constructor(_0x44623d,_0x5ad5c6,_0x4474fb='',_0x3c5156){const _0xfef37e=_0x36f66f;this[_0xfef37e(0x20c)]=_0x44623d,this[_0xfef37e(0x1ec)]=_0x5ad5c6,this['_segmentId']=_0x4474fb,this[_0xfef37e(0x1cc)]=_0x3c5156,_0x44a815(this,_0xfef37e(0x190),void 0x0),this[_0xfef37e(0x190)]=this['_document'][_0xfef37e(0x167)]();}[_0x36f66f(0x167)](){const _0x1af3e8=_0x36f66f;return this[_0x1af3e8(0x1ec)];}['getSegmentId'](){return this['_segmentId'];}[_0x36f66f(0x176)](){const _0x1b4dd1=_0x36f66f;return{'id':this[_0x1b4dd1(0x1ec)],'rowCount':this[_0x1b4dd1(0x197)](),'columnCount':this[_0x1b4dd1(0x1e6)](),'metadata':this[_0x1b4dd1(0x179)](),'source':this['getSource']()};}[_0x36f66f(0x1b6)](){const _0x233a77=_0x36f66f;var _0x2f8f0b,_0x36a7cc;let _0x40e99e=this[_0x233a77(0x179)](),_0x586c3c=this[_0x233a77(0x15f)](),_0x3cb26c=this[_0x233a77(0x1e6)]();return{'id':this['_tableId'],'rowCount':this[_0x233a77(0x197)](),'columnCount':_0x3cb26c,'headerRowCount':(_0x2f8f0b=_0x40e99e==null?void 0x0:_0x40e99e[_0x233a77(0x1a4)])==null?0x0:_0x2f8f0b,'titleRow':(_0x36a7cc=_0x40e99e==null?void 0x0:_0x40e99e[_0x233a77(0x19a)])!=null&&_0x36a7cc,'columns':Array['from']({'length':_0x3cb26c},(_0x2b295a,_0x22bec7)=>{const _0x36c8d8=_0x233a77;var _0x58149b,_0xfce1e1;return{'index':_0x22bec7,'type':_0x40e99e==null||(_0x58149b=_0x40e99e['columnTypes'])==null||(_0x58149b=_0x58149b[_0x22bec7])==null?void 0x0:_0x58149b[_0x36c8d8(0x208)],'width':_0x586c3c==null||(_0xfce1e1=_0x586c3c[_0x36c8d8(0x14c)][_0x22bec7])==null?void 0x0:_0xfce1e1['size'][_0x36c8d8(0x1a1)]['v']};}),'sampleRows':Array['from']({'length':this[_0x233a77(0x197)]()},(_0x4e48be,_0x44fb54)=>Array['from']({'length':_0x3cb26c},(_0x574a3a,_0x2b4245)=>this[_0x233a77(0x1d0)](_0x44fb54,_0x2b4245)))['filter'](_0x48eced=>_0x48eced['some'](_0xd29357=>_0xd29357[_0x233a77(0x1bd)]>0x0))[_0x233a77(0x1ed)](0x0,0x5)};}[_0x36f66f(0x197)](){const _0x36e51f=_0x36f66f;var _0x3fc03d,_0x3cd2fa;return(_0x3fc03d=(_0x3cd2fa=this[_0x36e51f(0x15f)]())==null?void 0x0:_0x3cd2fa['tableRows'][_0x36e51f(0x1bd)])==null?0x0:_0x3fc03d;}[_0x36f66f(0x1e6)](){const _0x29c853=_0x36f66f;var _0x435dcb,_0x3d0ab1;return(_0x435dcb=(_0x3d0ab1=this[_0x29c853(0x15f)]())==null?void 0x0:_0x3d0ab1[_0x29c853(0x14c)]['length'])==null?0x0:_0x435dcb;}[_0x36f66f(0x151)](_0x452052,_0x2a76b7){const _0x529c9d=_0x36f66f;var _0x5f6f80;return(_0x5f6f80=this['getSource']())!=null&&(_0x5f6f80=_0x5f6f80[_0x529c9d(0x204)][_0x452052])!=null&&_0x5f6f80[_0x529c9d(0x1ca)][_0x2a76b7]?this[_0x529c9d(0x1cc)]['createInstance'](_0x2a6666,this,_0x452052,_0x2a76b7):null;}[_0x36f66f(0x1d0)](_0x5b08b9,_0x13644a){const _0x542973=_0x36f66f;var _0x13c7e8,_0x5d6af4,_0x5d40a8;let _0x1d9bfc=(_0x13c7e8=(0x0,_0x25c7cd[_0x542973(0x211)])(this[_0x542973(0x161)](),this[_0x542973(0x1ec)]))==null||(_0x13c7e8=_0x13c7e8[_0x542973(0x1fb)][_0x5b08b9])==null?void 0x0:_0x13c7e8[_0x542973(0x177)][_0x13644a];return _0x1d9bfc?(_0x5d6af4=(_0x5d40a8=this['_getDocumentData']()[_0x542973(0x17d)])==null?void 0x0:_0x5d40a8[_0x542973(0x1f8)][_0x542973(0x1ed)](_0x1d9bfc[_0x542973(0x1e4)]+0x1,_0x1d9bfc[_0x542973(0x1ee)])[_0x542973(0x173)](/\r\n$/,''))==null?'':_0x5d6af4:'';}['getCellMargin'](_0x129efb,_0x1211be){const _0x2d274e=_0x36f66f;var _0x1bcf9e,_0x1738d8,_0x1c68de;let _0x9d112c=this['getSource'](),_0x212d06=_0x9d112c==null||(_0x1bcf9e=_0x9d112c[_0x2d274e(0x204)][_0x129efb])==null?void 0x0:_0x1bcf9e['tableCells'][_0x1211be];return _0x212d06?_0x45a3c4[_0x2d274e(0x16a)][_0x2d274e(0x17c)]((_0x1738d8=(_0x1c68de=_0x212d06[_0x2d274e(0x182)])==null?_0x9d112c[_0x2d274e(0x1d1)]:_0x1c68de)==null?_0x25c7cd[_0x2d274e(0x1f5)]:_0x1738d8):null;}[_0x36f66f(0x144)](_0x4bf0e6,_0x405fd1){const _0x3d763a=_0x36f66f;var _0x1f78b0;let _0x251547=(_0x1f78b0=this['getSource']())==null||(_0x1f78b0=_0x1f78b0[_0x3d763a(0x204)][_0x4bf0e6])==null?void 0x0:_0x1f78b0[_0x3d763a(0x1ca)][_0x405fd1];return _0x251547!=null&&_0x251547['margin']?_0x45a3c4[_0x3d763a(0x16a)][_0x3d763a(0x17c)](_0x251547['margin']):null;}[_0x36f66f(0x1c7)](){const _0x34ac3c=_0x36f66f;var _0x477f56,_0x214404;return _0x45a3c4['Tools'][_0x34ac3c(0x17c)]((_0x477f56=(_0x214404=this[_0x34ac3c(0x15f)]())==null?void 0x0:_0x214404[_0x34ac3c(0x1d1)])==null?_0x25c7cd[_0x34ac3c(0x1f5)]:_0x477f56);}[_0x36f66f(0x1c3)](){const _0x190117=_0x36f66f;var _0x22e2b0;let _0x17fc86=(_0x22e2b0=this[_0x190117(0x15f)]())==null?void 0x0:_0x22e2b0[_0x190117(0x1d1)];return _0x17fc86?_0x45a3c4[_0x190117(0x16a)][_0x190117(0x17c)](_0x17fc86):null;}[_0x36f66f(0x179)](){const _0x51a65b=_0x36f66f;return this[_0x51a65b(0x1cc)][_0x51a65b(0x18f)](_0x25c7cd[_0x51a65b(0x160)])[_0x51a65b(0x188)](this['_unitId'],this[_0x51a65b(0x1ec)]);}[_0x36f66f(0x15f)](){const _0x233bf2=_0x36f66f;var _0x50bfd4;return(_0x50bfd4=this[_0x233bf2(0x161)]()[_0x233bf2(0x1d2)])==null?void 0x0:_0x50bfd4[this[_0x233bf2(0x1ec)]];}[_0x36f66f(0x174)](){const _0x1b6ad4=_0x36f66f;return(0x0,_0x25c7cd[_0x1b6ad4(0x211)])(this[_0x1b6ad4(0x161)](),this['_tableId']);}[_0x36f66f(0x1ba)](){const _0x4e022f=_0x36f66f;return{'startRow':0x0,'endRow':Math[_0x4e022f(0x146)](0x0,this[_0x4e022f(0x197)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x4e022f(0x146)](0x0,this[_0x4e022f(0x1e6)]()-0x1)};}['getCellRange'](_0x109cd8,_0x48170a){return{'startRow':_0x109cd8,'endRow':_0x109cd8,'startColumn':_0x48170a,'endColumn':_0x48170a};}['getCellContentRange'](_0x334c17,_0x47746b){const _0x43384d=_0x36f66f;var _0x46160f;let _0xe755d7=(_0x46160f=(0x0,_0x25c7cd[_0x43384d(0x211)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x46160f=_0x46160f[_0x43384d(0x1fb)][_0x334c17])==null?void 0x0:_0x46160f['cells'][_0x47746b];if(!_0xe755d7)return null;let _0x239abd=_0xe755d7[_0x43384d(0x1e4)]+0x1;return{'startOffset':_0x239abd,'endOffset':Math[_0x43384d(0x146)](_0x239abd,_0xe755d7[_0x43384d(0x1ee)]-0x1),'segmentId':this[_0x43384d(0x17f)]};}[_0x36f66f(0x150)](_0x4bb2f3,_0xb2c067){const _0x1826c3=_0x36f66f;var _0x2851e7,_0x14b37e;return(_0x2851e7=(_0x14b37e=this['getCellContentRange'](_0x4bb2f3,_0xb2c067))==null?void 0x0:_0x14b37e[_0x1826c3(0x1ee)])==null?null:_0x2851e7;}[_0x36f66f(0x15c)](_0x3c7732){return this['getRowsRange'](_0x3c7732,0x1);}[_0x36f66f(0x168)](_0x2dc311,_0x9db998=0x1){const _0x37aa5c=_0x36f66f;return{'startRow':_0x2dc311,'endRow':_0x2dc311+_0x9db998-0x1,'startColumn':0x0,'endColumn':Math[_0x37aa5c(0x146)](0x0,this['getColumnCount']()-0x1)};}[_0x36f66f(0x184)](_0x26ef2e){const _0x4a04c0=_0x36f66f;return this[_0x4a04c0(0x1fe)](_0x26ef2e,0x1);}[_0x36f66f(0x1fe)](_0x5c727e,_0x37c3c6=0x1){const _0x38b49c=_0x36f66f;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x38b49c(0x197)]()-0x1),'startColumn':_0x5c727e,'endColumn':_0x5c727e+_0x37c3c6-0x1};}[_0x36f66f(0x18b)](){const _0x14fe7d=_0x36f66f;return this[_0x14fe7d(0x171)](this[_0x14fe7d(0x1ba)](),_0x25c7cd[_0x14fe7d(0x16e)]['Table']);}[_0x36f66f(0x210)](_0x23ddb2){const _0x3c6cbc=_0x36f66f;return this[_0x3c6cbc(0x1f3)](_0x23ddb2,0x1);}[_0x36f66f(0x1f3)](_0x340186,_0x29c0dc=0x1){const _0x4c8928=_0x36f66f;return this['selectRange'](this['getRowsRange'](_0x340186,_0x29c0dc),_0x25c7cd[_0x4c8928(0x16e)][_0x4c8928(0x1fd)]);}['selectColumn'](_0x15a31d){const _0x14e7ec=_0x36f66f;return this[_0x14e7ec(0x213)](_0x15a31d,0x1);}[_0x36f66f(0x213)](_0x1eaf72,_0x2337d9=0x1){const _0x5b73ae=_0x36f66f;return this[_0x5b73ae(0x171)](this[_0x5b73ae(0x1fe)](_0x1eaf72,_0x2337d9),_0x25c7cd[_0x5b73ae(0x16e)][_0x5b73ae(0x1f1)]);}[_0x36f66f(0x199)](_0x1a0006,_0x371e63){const _0x47b848=_0x36f66f;return this[_0x47b848(0x171)](this['getCellRange'](_0x1a0006,_0x371e63),_0x25c7cd['DocsTableSelectionKind'][_0x47b848(0x1f2)]);}[_0x36f66f(0x171)](_0x47d401,_0x492588=_0x25c7cd[_0x36f66f(0x16e)]['Range']){const _0x5c0a46=_0x36f66f;return this[_0x5c0a46(0x1cc)][_0x5c0a46(0x18f)](_0x25c7cd[_0x5c0a46(0x1c8)])['setStructuralSelection']({..._0x47d401,'kind':_0x492588,'segmentId':this[_0x5c0a46(0x17f)],'tableId':this[_0x5c0a46(0x1ec)]}),!0x0;}[_0x36f66f(0x19c)](_0x37a372){return this['insertRowsBefore'](_0x37a372,0x1);}['insertRowAfter'](_0x4d1ec7){return this['insertRowsAfter'](_0x4d1ec7,0x1);}[_0x36f66f(0x19b)](_0x184b8f,_0x9d970f){const _0x2bf303=_0x36f66f;let _0x5a3f85=this[_0x2bf303(0x161)](),_0x1e438d=(0x0,_0x25c7cd[_0x2bf303(0x17a)])(_0x5a3f85,this[_0x2bf303(0x1ec)],_0x184b8f,_0x9d970f,_0x25c7cd[_0x2bf303(0x1ab)][_0x2bf303(0x191)],this[_0x2bf303(0x16d)]());return _0x1e438d?this['_mutateActions'](_0x5a3f85,_0x1e438d['actions']):!0x1;}[_0x36f66f(0x1a8)](_0x5e13ca,_0xa7e18f){const _0x16e7f1=_0x36f66f;let _0x52c98a=this[_0x16e7f1(0x161)](),_0x312a10=(0x0,_0x25c7cd[_0x16e7f1(0x17a)])(_0x52c98a,this[_0x16e7f1(0x1ec)],_0x5e13ca,_0xa7e18f,_0x25c7cd[_0x16e7f1(0x1ab)][_0x16e7f1(0x206)],this[_0x16e7f1(0x16d)]());return _0x312a10?this[_0x16e7f1(0x149)](_0x52c98a,_0x312a10['actions']):!0x1;}[_0x36f66f(0x1cb)](){const _0x1878ed=_0x36f66f;return this[_0x1878ed(0x1a8)](Math['max'](0x0,this[_0x1878ed(0x197)]()-0x1),0x1);}['insertColumnBefore'](_0x45d080){const _0xf5aaa2=_0x36f66f;return this[_0xf5aaa2(0x1b8)](_0x45d080,0x1);}[_0x36f66f(0x14f)](_0x432ac7){const _0x93646f=_0x36f66f;return this[_0x93646f(0x1c9)](_0x432ac7,0x1);}[_0x36f66f(0x1b8)](_0x59bc21,_0xf3152d){const _0x5ec46e=_0x36f66f;let _0x51d2b3=this[_0x5ec46e(0x161)](),_0x4514f0=(0x0,_0x25c7cd[_0x5ec46e(0x1c2)])(_0x51d2b3,this['_tableId'],_0x59bc21,_0xf3152d,_0x25c7cd[_0x5ec46e(0x1ab)]['Left'],{'bodyPath':this[_0x5ec46e(0x16d)]()});return _0x4514f0?this[_0x5ec46e(0x149)](_0x51d2b3,_0x4514f0[_0x5ec46e(0x1f4)]):!0x1;}[_0x36f66f(0x1c9)](_0x5be0bc,_0x4f7e48){const _0x313b90=_0x36f66f;let _0x2607ef=this[_0x313b90(0x161)](),_0x1c2aad=(0x0,_0x25c7cd[_0x313b90(0x1c2)])(_0x2607ef,this['_tableId'],_0x5be0bc,_0x4f7e48,_0x25c7cd[_0x313b90(0x1ab)]['Right'],{'bodyPath':this[_0x313b90(0x16d)]()});return _0x1c2aad?this[_0x313b90(0x149)](_0x2607ef,_0x1c2aad['actions']):!0x1;}[_0x36f66f(0x1d4)](){const _0x27ceeb=_0x36f66f;return this[_0x27ceeb(0x1c9)](Math[_0x27ceeb(0x146)](0x0,this['getColumnCount']()-0x1),0x1);}['deleteRow'](_0x146032){const _0x2a7e8d=_0x36f66f;return this[_0x2a7e8d(0x1dc)](_0x146032,0x1);}[_0x36f66f(0x1dc)](_0x1e30fd,_0x2c48bd=0x1){const _0x1a5c61=_0x36f66f;let _0x51ce0d=this['_getDocumentData'](),_0x37ffa3=(0x0,_0x25c7cd[_0x1a5c61(0x16c)])(_0x51ce0d,this['_tableId'],_0x1e30fd,_0x1e30fd+_0x2c48bd-0x1,this[_0x1a5c61(0x16d)]());return _0x37ffa3?this[_0x1a5c61(0x149)](_0x51ce0d,_0x37ffa3[_0x1a5c61(0x1f4)]):!0x1;}[_0x36f66f(0x20a)](_0x198d64){const _0x3769cf=_0x36f66f;return this[_0x3769cf(0x1a3)](_0x198d64,0x1);}[_0x36f66f(0x1a3)](_0x2cc839,_0x2096fb=0x1){const _0x2bca5e=_0x36f66f;let _0x3ac33a=this['_getDocumentData'](),_0x26bf77=(0x0,_0x25c7cd[_0x2bca5e(0x14e)])(_0x3ac33a,this[_0x2bca5e(0x1ec)],_0x2cc839,_0x2cc839+_0x2096fb-0x1,this[_0x2bca5e(0x16d)]());return _0x26bf77?this[_0x2bca5e(0x149)](_0x3ac33a,_0x26bf77[_0x2bca5e(0x1f4)]):!0x1;}['deleteTable'](){const _0x85b93=_0x36f66f;let _0x42f78d=this[_0x85b93(0x161)](),_0x3d8637=(0x0,_0x25c7cd[_0x85b93(0x1ea)])(_0x42f78d,this[_0x85b93(0x1ec)],this[_0x85b93(0x16d)]());return _0x3d8637?this['_mutateActions'](_0x42f78d,_0x3d8637['actions']):!0x1;}[_0x36f66f(0x18a)](_0x1fe174,_0x512ca0){const _0x3a035b=_0x36f66f;let _0xd7f246=this[_0x3a035b(0x161)]();return this[_0x3a035b(0x149)](_0xd7f246,(0x0,_0x25c7cd[_0x3a035b(0x1d3)])(_0xd7f246,this['_tableId'],_0x1fe174,_0x512ca0));}[_0x36f66f(0x19f)](_0x30c571){const _0x17f337=_0x36f66f;let _0x81e935=this[_0x17f337(0x161)]();return this[_0x17f337(0x149)](_0x81e935,(0x0,_0x25c7cd['buildMoveTableToOffsetMutationActions'])(_0x81e935,this[_0x17f337(0x1ec)],_0x30c571,this[_0x17f337(0x16d)]()));}[_0x36f66f(0x17e)](_0x3b7646,_0x524fc8,_0xa0e337=_0x25c7cd[_0x36f66f(0x1ab)]['Above']){const _0x236769=_0x36f66f;return this[_0x236769(0x1b9)](_0x3b7646,0x1,_0x524fc8,_0xa0e337);}[_0x36f66f(0x1b9)](_0x530e9c,_0x121c8e,_0x14f613,_0x5c6d59=_0x25c7cd['DocsTableInsertPosition'][_0x36f66f(0x191)]){const _0x45fcb3=_0x36f66f;let _0x3ea5db=this['_getDocumentData'](),_0x3e7989=(0x0,_0x25c7cd[_0x45fcb3(0x212)])(_0x3ea5db,this['_tableId'],_0x530e9c,_0x14f613,_0x121c8e,_0x5c6d59,this[_0x45fcb3(0x16d)]());return _0x3e7989?this[_0x45fcb3(0x149)](_0x3ea5db,_0x3e7989[_0x45fcb3(0x1f4)]):!0x1;}[_0x36f66f(0x175)](_0x545a3d,_0x20f717,_0x1426ab=_0x25c7cd['DocsTableInsertPosition'][_0x36f66f(0x1e8)]){const _0x27bdfc=_0x36f66f;return this[_0x27bdfc(0x1f9)](_0x545a3d,0x1,_0x20f717,_0x1426ab);}[_0x36f66f(0x1f9)](_0x5e945a,_0xbdde4c,_0x56abe7,_0xe8ebbe=_0x25c7cd[_0x36f66f(0x1ab)][_0x36f66f(0x1e8)]){const _0x3a751e=_0x36f66f;let _0x43b6c3=this[_0x3a751e(0x161)](),_0xd4916d=(0x0,_0x25c7cd['buildMoveTableColumnsMutationActions'])(_0x43b6c3,this[_0x3a751e(0x1ec)],_0x5e945a,_0x56abe7,_0xbdde4c,_0xe8ebbe,this['_getBodyPath']());return _0xd4916d?this['_mutateActions'](_0x43b6c3,_0xd4916d[_0x3a751e(0x1f4)]):!0x1;}[_0x36f66f(0x1a9)](_0x31cde5){const _0x410948=_0x36f66f;try{let _0x40ac8e=this[_0x410948(0x161)](),_0x61df89=(0x0,_0x25c7cd[_0x410948(0x209)])({'documentData':_0x40ac8e,'tableId':this['_tableId'],..._0x31cde5});return _0x61df89?this[_0x410948(0x149)](_0x40ac8e,_0x61df89[_0x410948(0x1f4)],_0x31cde5):!0x1;}catch{return!0x1;}}[_0x36f66f(0x156)](_0x52ad54){const _0x5247a1=_0x36f66f;try{let _0x3853c8=this[_0x5247a1(0x161)](),_0xa5d322=(0x0,_0x25c7cd['buildUnmergeCellsMutationActions'])({'documentData':_0x3853c8,'tableId':this[_0x5247a1(0x1ec)],..._0x52ad54});return _0xa5d322?this[_0x5247a1(0x149)](_0x3853c8,_0xa5d322['actions'],_0x52ad54):!0x1;}catch{return!0x1;}}[_0x36f66f(0x20e)](_0x57288d,_0x411270,_0x2e6418){const _0x586ab6=_0x36f66f;let _0x188cfb=this[_0x586ab6(0x161)](),_0x5332d1=(0x0,_0x25c7cd[_0x586ab6(0x1df)])(this[_0x586ab6(0x20c)][_0x586ab6(0x1e9)]()[_0x586ab6(0x20d)](),this['_segmentId']);return this['_mutateActions'](_0x188cfb,(0x0,_0x25c7cd[_0x586ab6(0x1e1)])({'documentData':_0x188cfb,'tableId':this[_0x586ab6(0x1ec)],'row':_0x57288d,'column':_0x411270,'text':_0x2e6418},_0x5332d1),this[_0x586ab6(0x147)](_0x57288d,_0x411270));}['setCellBackground'](_0x272279,_0x1e82ea){const _0x1eb29f=_0x36f66f;let _0x42beb0=this[_0x1eb29f(0x161)]();return this[_0x1eb29f(0x149)](_0x42beb0,(0x0,_0x25c7cd['buildSetTableBackgroundMutationActions'])(_0x42beb0,{'tableId':this[_0x1eb29f(0x1ec)],..._0x272279,'value':_0x1e82ea}),_0x272279);}[_0x36f66f(0x15e)](_0x45af48,_0x5e7e9f){const _0x9a410e=_0x36f66f;let _0x12d962=this[_0x9a410e(0x161)]();return this[_0x9a410e(0x149)](_0x12d962,(0x0,_0x25c7cd['buildSetTableCellMarginMutationActions'])({'documentData':_0x12d962,'tableId':this[_0x9a410e(0x1ec)],..._0x45af48,'margin':_0x5e7e9f}),_0x45af48);}[_0x36f66f(0x1a5)](_0x40c94f){const _0x17d774=_0x36f66f;let _0x4fa6fe=this[_0x17d774(0x161)]();return this[_0x17d774(0x149)](_0x4fa6fe,(0x0,_0x25c7cd['buildSetTableDefaultCellMarginMutationActions'])(_0x4fa6fe,this[_0x17d774(0x1ec)],_0x40c94f));}[_0x36f66f(0x148)](_0x1d024b,_0x46f199){const _0x4ce2d9=_0x36f66f;var _0x58af70,_0x110c41,_0x316b10,_0x240be1;let _0x2230f2=this[_0x4ce2d9(0x161)]();return this[_0x4ce2d9(0x149)](_0x2230f2,(0x0,_0x25c7cd[_0x4ce2d9(0x200)])({'documentData':_0x2230f2,'tableId':this['_tableId'],..._0x1d024b,'preset':(_0x58af70=_0x46f199[_0x4ce2d9(0x20b)])==null?_0x25c7cd[_0x4ce2d9(0x1fa)]['All']:_0x58af70,'border':(_0x110c41=_0x46f199[_0x4ce2d9(0x1bf)])==null?{'color':{'rgb':(_0x316b10=_0x46f199[_0x4ce2d9(0x140)])==null?_0x4ce2d9(0x1be):_0x316b10},'width':{'v':(_0x240be1=_0x46f199[_0x4ce2d9(0x1a1)])==null?0x1:_0x240be1},'dashStyle':_0x45a3c4[_0x4ce2d9(0x16f)][_0x4ce2d9(0x1a2)]}:_0x110c41}),_0x1d024b);}[_0x36f66f(0x1b3)](_0x4f37bf){const _0x20248f=_0x36f66f;return this[_0x20248f(0x1ff)](this[_0x20248f(0x1ba)](),_0x4f37bf);}[_0x36f66f(0x1eb)](_0x4d0c28){return this['setBorder'](this['getTableRange'](),_0x4d0c28);}[_0x36f66f(0x1ce)](_0x3072b0){const _0x4c1a7e=_0x36f66f;let _0x56a777=!_0x3072b0[_0x4c1a7e(0x183)]||this[_0x4c1a7e(0x1b3)](_0x3072b0[_0x4c1a7e(0x183)]),_0x80ac4=!_0x3072b0[_0x4c1a7e(0x1bf)]||this[_0x4c1a7e(0x1eb)](_0x3072b0[_0x4c1a7e(0x1bf)]);return _0x56a777&&_0x80ac4;}['setRowHeight'](_0x136864,_0x542c4c,_0x366af5=_0x45a3c4['TableRowHeightRule'][_0x36f66f(0x14d)]){const _0x11a956=_0x36f66f;var _0x48e0c0;let _0x9b9967=this['_getDocumentData']();return(_0x48e0c0=_0x9b9967[_0x11a956(0x1d2)])!=null&&(_0x48e0c0=_0x48e0c0[this[_0x11a956(0x1ec)]])!=null&&_0x48e0c0[_0x11a956(0x204)][_0x136864]?this[_0x11a956(0x149)](_0x9b9967,(0x0,_0x25c7cd[_0x11a956(0x198)])(_0x9b9967,this['_tableId'],_0x136864,_0x542c4c,_0x366af5)):!0x1;}[_0x36f66f(0x19d)](_0x228108){const _0x297497=_0x36f66f;var _0x2ec5ad;let _0x396655=(_0x2ec5ad=this[_0x297497(0x15f)]())==null||(_0x2ec5ad=_0x2ec5ad[_0x297497(0x204)][_0x228108])==null?void 0x0:_0x2ec5ad[_0x297497(0x1c5)];return _0x396655?_0x45a3c4[_0x297497(0x16a)][_0x297497(0x17c)](_0x396655):null;}['setColumnWidth'](_0xe82b18,_0x1079d6){const _0x59adce=_0x36f66f;var _0x3d188d;let _0x4a43fd=this[_0x59adce(0x161)]();return(_0x3d188d=_0x4a43fd[_0x59adce(0x1d2)])!=null&&(_0x3d188d=_0x3d188d[this[_0x59adce(0x1ec)]])!=null&&_0x3d188d[_0x59adce(0x14c)][_0xe82b18]?this[_0x59adce(0x149)](_0x4a43fd,(0x0,_0x25c7cd[_0x59adce(0x195)])(_0x4a43fd,this['_tableId'],_0xe82b18,_0x1079d6)):!0x1;}[_0x36f66f(0x1b0)](_0x43c360=0x0,_0x234d2f=this[_0x36f66f(0x197)]()){const _0x471976=_0x36f66f;let _0x2b8a06=this[_0x471976(0x161)]();return this[_0x471976(0x149)](_0x2b8a06,(0x0,_0x25c7cd['buildDistributeTableRowsMutationActions'])(_0x2b8a06,this[_0x471976(0x1ec)],_0x43c360,_0x43c360+_0x234d2f-0x1));}[_0x36f66f(0x1b1)](_0x1b2d97=0x0,_0x572646=this[_0x36f66f(0x1e6)]()){const _0x57f03f=_0x36f66f;let _0x49a8f6=this[_0x57f03f(0x161)]();return this[_0x57f03f(0x149)](_0x49a8f6,(0x0,_0x25c7cd['buildDistributeTableColumnsMutationActions'])(_0x49a8f6,this[_0x57f03f(0x1ec)],_0x1b2d97,_0x1b2d97+_0x572646-0x1));}[_0x36f66f(0x154)](){const _0x1b0d59=_0x36f66f;var _0x2fa618,_0x1bd452;return(_0x2fa618=(_0x1bd452=this[_0x1b0d59(0x179)]())==null?void 0x0:_0x1bd452[_0x1b0d59(0x1a4)])==null?0x0:_0x2fa618;}['setHeaderRowCount'](_0x5b8400){const _0xe8c57f=_0x36f66f;let _0x5248b9=this['_injector'][_0xe8c57f(0x18f)](_0x25c7cd[_0xe8c57f(0x160)]),_0x5eacb5=this[_0xe8c57f(0x161)](),_0x5046ff=(0x0,_0x25c7cd[_0xe8c57f(0x1bb)])(_0x5eacb5,this['_tableId'],_0x5b8400);if(!_0x5046ff)return!0x1;let _0x264bf0=this[_0xe8c57f(0x149)](_0x5eacb5,_0x5046ff[_0xe8c57f(0x1f4)]);return _0x264bf0&&_0x5248b9[_0xe8c57f(0x14a)](this[_0xe8c57f(0x190)],this[_0xe8c57f(0x1ec)],_0x5046ff[_0xe8c57f(0x1a4)]),_0x264bf0;}[_0x36f66f(0x1c6)](_0x388ef0){const _0x57f84a=_0x36f66f;return this[_0x57f84a(0x14a)](_0x388ef0);}[_0x36f66f(0x14b)](){const _0x1084dd=_0x36f66f;var _0x1e6c32,_0x1c12b5;return(_0x1e6c32=(_0x1c12b5=this['getMetadata']())==null?void 0x0:_0x1c12b5[_0x1084dd(0x19a)])!=null&&_0x1e6c32;}['insertTitleRow'](){const _0x3a079f=_0x36f66f;let _0x1e1d47=this[_0x3a079f(0x1cc)][_0x3a079f(0x18f)](_0x25c7cd[_0x3a079f(0x160)]),_0x39e97e=this['_getDocumentData'](),_0x492f06=(0x0,_0x25c7cd[_0x3a079f(0x201)])(_0x39e97e,this[_0x3a079f(0x1ec)],this[_0x3a079f(0x16d)]());if(!_0x492f06)return!0x1;let _0x1937e6=this[_0x3a079f(0x149)](_0x39e97e,_0x492f06['actions']);return _0x1937e6&&_0x1e1d47[_0x3a079f(0x158)](this[_0x3a079f(0x190)],this[_0x3a079f(0x1ec)],!0x0),_0x1937e6;}[_0x36f66f(0x1d6)](_0xfafa14,_0x3f3486){const _0x367a46=_0x36f66f;return this['_injector'][_0x367a46(0x18f)](_0x25c7cd[_0x367a46(0x160)])[_0x367a46(0x1d6)](this['_unitId'],this[_0x367a46(0x1ec)],_0xfafa14,_0x3f3486),!0x0;}[_0x36f66f(0x142)](_0x4fe26e,_0x370d21){const _0x4776cb=_0x36f66f;let _0x18a5a0=this[_0x4776cb(0x161)]();return this[_0x4776cb(0x149)](_0x18a5a0,(0x0,_0x25c7cd['buildSortTableMutationActions'])(_0x18a5a0,this[_0x4776cb(0x19e)](),this[_0x4776cb(0x1ec)],_0x4fe26e,_0x370d21,this[_0x4776cb(0x16d)]()));}[_0x36f66f(0x161)](){const _0x211cc7=_0x36f66f;let _0x544349=this[_0x211cc7(0x20c)]['getDocumentDataModel']()[_0x211cc7(0x20d)]();return this['_segmentId']?{...this['_document'][_0x211cc7(0x1e9)](this['_segmentId'])[_0x211cc7(0x20d)](),'documentStyle':_0x544349[_0x211cc7(0x1d9)],'tableSource':_0x544349[_0x211cc7(0x1d2)]}:_0x544349;}[_0x36f66f(0x19e)](){const _0x4fa0aa=_0x36f66f;return this[_0x4fa0aa(0x1cc)]['get'](_0x25c7cd[_0x4fa0aa(0x160)])[_0x4fa0aa(0x1d5)](this[_0x4fa0aa(0x190)]);}[_0x36f66f(0x16d)](){const _0x30c2be=_0x36f66f;return(0x0,_0x25c7cd['getTableActionBodyPath'])(this[_0x30c2be(0x20c)][_0x30c2be(0x1e9)]()[_0x30c2be(0x20d)](),this[_0x30c2be(0x17f)]);}[_0x36f66f(0x149)](_0x5c6306,_0x23b806,_0x2cc9bc){const _0x1a2164=_0x36f66f;return(0x0,_0x25c7cd['executeRichTextTableActions'])(this[_0x1a2164(0x1cc)][_0x1a2164(0x18f)](_0x45a3c4['ICommandService']),this[_0x1a2164(0x190)],_0x5c6306,_0x23b806,_0x2cc9bc?{'tableId':this['_tableId'],'segmentId':this['_segmentId'],..._0x2cc9bc}:void 0x0);}},_0x58d304=class extends _0xab3855['FDocument']{['getTables'](_0x416e2e=''){const _0xddfce1=_0x36f66f;return this[_0xddfce1(0x17b)](_0x416e2e)[_0xddfce1(0x20f)](_0x368ac9=>this[_0xddfce1(0x1ef)](_0x368ac9[_0xddfce1(0x189)],_0x416e2e));}[_0x36f66f(0x159)](_0x189b2f,_0x48329e=''){const _0x51bee5=_0x36f66f;return this[_0x51bee5(0x17b)](_0x48329e)[_0x51bee5(0x1f0)](_0x1fa8ce=>_0x1fa8ce[_0x51bee5(0x189)]===_0x189b2f)?this['_createFDocumentTable'](_0x189b2f,_0x48329e):null;}[_0x36f66f(0x1a6)](_0x3a8749,_0xedd5f5=''){const _0x22dd98=_0x36f66f;var _0x5d646a;let _0x25a08b=(_0x5d646a=this[_0x22dd98(0x17b)](_0xedd5f5)[_0x3a8749])==null?void 0x0:_0x5d646a['tableId'];return _0x25a08b?this[_0x22dd98(0x1ef)](_0x25a08b,_0xedd5f5):null;}[_0x36f66f(0x172)](){const _0x4d5ced=_0x36f66f;let _0x37ad47=this[_0x4d5ced(0x1cc)]['get'](_0x25c7cd['DocsTableSelectionService'])[_0x4d5ced(0x1e5)]();return _0x37ad47!=null&&_0x37ad47['tableId']?this[_0x4d5ced(0x1ef)](_0x37ad47[_0x4d5ced(0x189)],_0x37ad47[_0x4d5ced(0x180)]):null;}[_0x36f66f(0x1c4)](_0x79f4af,_0xa7d227=''){const _0x1da220=_0x36f66f;var _0x30ce1d;return(_0x30ce1d=this[_0x1da220(0x145)](_0x79f4af,_0xa7d227)[0x0])==null?null:_0x30ce1d;}[_0x36f66f(0x145)](_0x3d0ffd,_0x31b425=''){const _0xa02116=_0x36f66f;let _0x138383=this['_getTableDocumentData'](_0x31b425),_0x261c2b=typeof _0x3d0ffd==_0xa02116(0x186)?{'text':_0x3d0ffd}:_0x3d0ffd;return this[_0xa02116(0x193)](_0x31b425)[_0xa02116(0x202)](_0x4ebe8a=>{const _0x3bb2fb=_0xa02116;let _0x4e437a=_0x4ebe8a[_0x3bb2fb(0x167)]();return!(_0x261c2b[_0x3bb2fb(0x189)]&&_0x4e437a!==_0x261c2b[_0x3bb2fb(0x189)]||_0x261c2b['text']&&!this['_tableContainsText'](_0x138383,_0x4e437a,_0x261c2b[_0x3bb2fb(0x163)])||_0x261c2b[_0x3bb2fb(0x143)]&&!this[_0x3bb2fb(0x1da)](_0x4ebe8a,0x0,_0x261c2b[_0x3bb2fb(0x143)])||_0x261c2b[_0x3bb2fb(0x1af)]&&!this[_0x3bb2fb(0x1da)](_0x4ebe8a,0x0,_0x261c2b['titleText']));});}[_0x36f66f(0x207)](_0x49b8f8,_0x31115f,_0x2a70e7={}){const _0x28a663=_0x36f66f;var _0x52bf6a,_0x150a87;let _0x391e35=this[_0x28a663(0x1cc)][_0x28a663(0x18f)](_0x45a3c4[_0x28a663(0x155)]),_0x2abeff=(_0x52bf6a=_0x2a70e7['tableId'])==null?(0x0,_0x45a3c4['generateRandomId'])(0x6):_0x52bf6a;return _0x391e35['syncExecuteCommand'](_0x25c7cd[_0x28a663(0x13f)]['id'],{..._0x2a70e7,'unitId':this[_0x28a663(0x167)](),'rows':_0x49b8f8,'columns':_0x31115f,'tableId':_0x2abeff})?this[_0x28a663(0x1ef)](_0x2abeff,(_0x150a87=_0x2a70e7['segmentId'])==null?'':_0x150a87):null;}[_0x36f66f(0x153)](_0x3d3078,_0x4bb550={}){const _0x3e2b3d=_0x36f66f;var _0x1572ac,_0x2b1e50;let _0x2f6971=this[_0x3e2b3d(0x1cc)][_0x3e2b3d(0x18f)](_0x45a3c4[_0x3e2b3d(0x155)]),_0x427b5e=(_0x1572ac=_0x4bb550[_0x3e2b3d(0x189)])==null?(0x0,_0x45a3c4[_0x3e2b3d(0x18e)])(0x6):_0x1572ac;return _0x2f6971[_0x3e2b3d(0x1b4)](_0x25c7cd[_0x3e2b3d(0x13f)]['id'],{..._0x4bb550,'unitId':this[_0x3e2b3d(0x167)](),'values':_0x3d3078,'tableId':_0x427b5e})?this[_0x3e2b3d(0x1ef)](_0x427b5e,(_0x2b1e50=_0x4bb550[_0x3e2b3d(0x180)])==null?'':_0x2b1e50):null;}[_0x36f66f(0x17b)](_0x1593f5=''){let {tables:_0x7085f0=[]}=this['getBody'](_0x1593f5);return _0x7085f0;}[_0x36f66f(0x205)](_0x43432d=''){const _0x122afa=_0x36f66f;let _0x2ea69b=this[_0x122afa(0x1e9)]()[_0x122afa(0x20d)]();return _0x43432d?{...this[_0x122afa(0x1e9)](_0x43432d)[_0x122afa(0x20d)](),'documentStyle':_0x2ea69b[_0x122afa(0x1d9)],'tableSource':_0x2ea69b[_0x122afa(0x1d2)]}:_0x2ea69b;}[_0x36f66f(0x1ef)](_0x12ee46,_0x4c2f68=''){const _0x77e916=_0x36f66f;return this['_injector']['createInstance'](_0x1bf518,this,_0x12ee46,_0x4c2f68,this[_0x77e916(0x1cc)]);}[_0x36f66f(0x1e2)](_0x1865ba,_0x5d0a06,_0x730588){const _0x153985=_0x36f66f;var _0x28f301;let _0x518194=(0x0,_0x25c7cd['getTableRangeById'])(_0x1865ba,_0x5d0a06);if(!_0x518194)return!0x1;let _0x94d86b=(_0x28f301=_0x1865ba[_0x153985(0x17d)])==null?void 0x0:_0x28f301[_0x153985(0x1f8)];return _0x94d86b?_0x94d86b[_0x153985(0x1ed)](_0x518194[_0x153985(0x1e4)],_0x518194[_0x153985(0x1ee)])[_0x153985(0x18c)](_0x730588):!0x1;}['_rowContainsText'](_0x12ffc8,_0x2ba671,_0x4da61f){const _0xa5b0ce=_0x36f66f;return Array[_0xa5b0ce(0x1a7)]({'length':_0x12ffc8[_0xa5b0ce(0x1e6)]()},(_0x32e522,_0x544d22)=>_0x12ffc8[_0xa5b0ce(0x1d0)](_0x2ba671,_0x544d22))['some'](_0x370e5d=>_0x370e5d[_0xa5b0ce(0x18c)](_0x4da61f));}};_0xab3855[_0x36f66f(0x1e0)]['extend'](_0x58d304),_0x56e2c7[_0x36f66f(0x1de)]=_0x1bf518,_0x56e2c7[_0x36f66f(0x1ac)]=_0x2a6666;}));