@univerjs-pro/docs-table 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- 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/types/commands/apply-table-actions.command.d.ts +3 -0
- package/lib/types/commands/set-column-type.command.d.ts +1 -0
- package/lib/types/commands/set-table-align.command.d.ts +8 -0
- package/lib/types/common/cell-text.d.ts +1 -0
- package/lib/types/common/metadata.d.ts +18 -1
- package/lib/types/controllers/docs-table-resource.controller.d.ts +3 -2
- package/lib/types/facade/f-document-table.d.ts +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/models/docs-table-model.d.ts +3 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xcee175=_0x56d6;(function(_0x487b1f,_0x4b26ce){const _0x2fd4cf=_0x56d6,_0x28530f=_0x487b1f();while(!![]){try{const _0x577c47=-parseInt(_0x2fd4cf(0x121))/0x1+parseInt(_0x2fd4cf(0x18d))/0x2+-parseInt(_0x2fd4cf(0x163))/0x3+parseInt(_0x2fd4cf(0x17a))/0x4+-parseInt(_0x2fd4cf(0x1a6))/0x5*(-parseInt(_0x2fd4cf(0x1c1))/0x6)+-parseInt(_0x2fd4cf(0x16e))/0x7*(parseInt(_0x2fd4cf(0x12f))/0x8)+-parseInt(_0x2fd4cf(0x191))/0x9*(-parseInt(_0x2fd4cf(0x11a))/0xa);if(_0x577c47===_0x4b26ce)break;else _0x28530f['push'](_0x28530f['shift']());}catch(_0x5963da){_0x28530f['push'](_0x28530f['shift']());}}}(_0x1a2a,0xeecee));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x21745d,DocsTableBorderPreset as _0xf76c6a,DocsTableColumnInsertPosition as _0x59e0f0,DocsTableColumnType as _0x828d38,DocsTableDeleteColumnsCommand as _0x135ce2,DocsTableDeleteRowsCommand as _0x463552,DocsTableDeleteTableCommand as _0x229429,DocsTableInsertPosition as _0x50a60f,DocsTableInsertTableCommand as _0x2f63fe,DocsTableInsertTablePosition as _0xed90d4,DocsTableModel as _0x3c570c,DocsTableRowInsertPosition as _0x429a89,DocsTableSelectionKind as _0x5a36fd,DocsTableSelectionService as _0x52774c,DocsTableSortDirection as _0x2399e3,buildDistributeTableColumnsMutationActions as _0x54b594,buildDistributeTableRowsMutationActions as _0x5e0604,buildInsertTableColumnsMutationActions as _0x42f91b,buildInsertTableRowsMutationActions as _0x1ba735,buildInsertTableTitleRowMutationActions as _0x5909d2,buildMergeCellsMutationActions as _0x3aec2e,buildMoveFloatingTableMutationActions as _0x4e09e1,buildMoveTableColumnsMutationActions as _0x2792a3,buildMoveTableRowsMutationActions as _0x4341e1,buildMoveTableToOffsetMutationActions as _0x22c831,buildResizeTableColumnActionsFromWidth as _0x1922ab,buildResizeTableRowActionsFromHeight as _0x3a3c68,buildSetTableBackgroundMutationActions as _0x47f64e,buildSetTableBorderMutationActions as _0x71f82c,buildSetTableCellMarginMutationActions as _0x2652fa,buildSetTableCellTextMutationActions as _0x2655ab,buildSetTableDefaultCellMarginMutationActions as _0xfdd2fe,buildSetTableHeaderRowCountMutationActions as _0x1e4c1,buildSortTableMutationActions as _0x26bb83,buildUnmergeCellsMutationActions as _0x393d14,executeRichTextTableActions as _0x279883,getTableActionBodyPath as _0x3b5491,getTableRangeById as _0x4ba6c9}from'@univerjs-pro/docs-table';import{DashStyleType as _0x235af0,ICommandService as _0x227b4c,Inject as _0x7b97ec,Injector as _0x5e029d,TableRowHeightRule as _0x3ebc1c,Tools as _0x307248,generateRandomId as _0x563431}from'@univerjs/core';import{FEnum as _0x551883}from'@univerjs/core/facade';import{FDocument as _0x1ebdb5}from'@univerjs/docs/facade';var K=class extends _0x551883{get['DocsTableInsertTablePosition'](){return _0xed90d4;}get['DocsTableColumnType'](){return _0x828d38;}get[_0xcee175(0x172)](){return _0x5a36fd;}get[_0xcee175(0x137)](){return _0x429a89;}get['DocsTableColumnInsertPosition'](){return _0x59e0f0;}get['DocsTableBorderPreset'](){return _0xf76c6a;}get[_0xcee175(0x15e)](){return _0x2399e3;}get[_0xcee175(0x178)](){return _0x235af0;}};_0x551883['extend'](K);var q=class{constructor(_0x5b25e8,_0x6534f4,_0x9d2006){const _0x1ee556=_0xcee175;this[_0x1ee556(0x18a)]=_0x5b25e8,this['_row']=_0x6534f4,this['_column']=_0x9d2006;}[_0xcee175(0x156)](){return this['_table'];}[_0xcee175(0x196)](){const _0xa6a88=_0xcee175;return this[_0xa6a88(0x18f)];}[_0xcee175(0x184)](){const _0x22ea1e=_0xcee175;return this[_0x22ea1e(0x11b)];}[_0xcee175(0x151)](){const _0x14d5e3=_0xcee175;return this[_0x14d5e3(0x18a)][_0x14d5e3(0x1be)](this['_row'],this[_0x14d5e3(0x11b)]);}[_0xcee175(0x19a)](){const _0x2211b3=_0xcee175;return this[_0x2211b3(0x18a)][_0x2211b3(0x1b5)](this[_0x2211b3(0x18f)],this[_0x2211b3(0x11b)]);}[_0xcee175(0x194)](){const _0x461a3a=_0xcee175;return this[_0x461a3a(0x18a)][_0x461a3a(0x174)](this['_row'],this[_0x461a3a(0x11b)]);}['getMargin'](){const _0x2f8b78=_0xcee175;return this[_0x2f8b78(0x18a)][_0x2f8b78(0x124)](this[_0x2f8b78(0x18f)],this[_0x2f8b78(0x11b)]);}[_0xcee175(0x122)](){const _0x58da08=_0xcee175;return this[_0x58da08(0x18a)]['getCellMarginOverride'](this[_0x58da08(0x18f)],this[_0x58da08(0x11b)]);}['setMargin'](_0x416c53){const _0x39f495=_0xcee175;return this[_0x39f495(0x18a)]['setCellMargin'](this[_0x39f495(0x18a)][_0x39f495(0x1b7)](this[_0x39f495(0x18f)],this[_0x39f495(0x11b)]),_0x416c53);}[_0xcee175(0x19e)](){const _0x199169=_0xcee175;return this['_table'][_0x199169(0x13d)](this[_0x199169(0x18a)][_0x199169(0x1b7)](this[_0x199169(0x18f)],this['_column']),null);}[_0xcee175(0x1c9)](_0x24a1cf){const _0x4f9b24=_0xcee175;return this[_0x4f9b24(0x18a)][_0x4f9b24(0x1ca)](this[_0x4f9b24(0x18f)],this[_0x4f9b24(0x11b)],_0x24a1cf);}[_0xcee175(0x176)](_0xa850c2){const _0x48748c=_0xcee175;return this[_0x48748c(0x18a)]['setCellBackground'](this[_0x48748c(0x18a)][_0x48748c(0x1b7)](this[_0x48748c(0x18f)],this[_0x48748c(0x11b)]),_0xa850c2);}[_0xcee175(0x11e)](_0x2be8ac){const _0x5a0e4e=_0xcee175;return this[_0x5a0e4e(0x18a)]['setBorder'](this[_0x5a0e4e(0x18a)][_0x5a0e4e(0x1b7)](this[_0x5a0e4e(0x18f)],this[_0x5a0e4e(0x11b)]),_0x2be8ac);}['mergeTo'](_0x48492e,_0x20a956){const _0x5336ab=_0xcee175;return this[_0x5336ab(0x18a)][_0x5336ab(0x1c5)]({'startRow':this[_0x5336ab(0x18f)],'startColumn':this['_column'],'endRow':this[_0x5336ab(0x18f)]+_0x48492e-0x1,'endColumn':this[_0x5336ab(0x11b)]+_0x20a956-0x1});}[_0xcee175(0x14b)](){const _0x35f8cf=_0xcee175;return this['_table'][_0x35f8cf(0x155)](this['_table'][_0x35f8cf(0x1b7)](this['_row'],this[_0x35f8cf(0x11b)]));}};function J(_0x2c5b77){'@babel/helpers - typeof';const _0x40c28f=_0xcee175;return J=typeof Symbol==_0x40c28f(0x133)&&typeof Symbol['iterator']==_0x40c28f(0x169)?function(_0x3989b2){return typeof _0x3989b2;}:function(_0x43cee6){const _0xdf650f=_0x40c28f;return _0x43cee6&&typeof Symbol==_0xdf650f(0x133)&&_0x43cee6[_0xdf650f(0x189)]===Symbol&&_0x43cee6!==Symbol[_0xdf650f(0x19c)]?_0xdf650f(0x169):typeof _0x43cee6;},J(_0x2c5b77);}function Y(_0xf5cee9,_0x62302b){const _0x2acbfa=_0xcee175;if(J(_0xf5cee9)!=_0x2acbfa(0x13e)||!_0xf5cee9)return _0xf5cee9;var _0x29da06=_0xf5cee9[Symbol['toPrimitive']];if(_0x29da06!==void 0x0){var _0x34e19b=_0x29da06['call'](_0xf5cee9,_0x62302b||_0x2acbfa(0x16c));if(J(_0x34e19b)!=_0x2acbfa(0x13e))return _0x34e19b;throw TypeError(_0x2acbfa(0x18b));}return(_0x62302b===_0x2acbfa(0x183)?String:Number)(_0xf5cee9);}function X(_0xd2edbd){const _0x4f85b1=_0xcee175;var _0x378543=Y(_0xd2edbd,_0x4f85b1(0x183));return J(_0x378543)==_0x4f85b1(0x169)?_0x378543:_0x378543+'';}function Z(_0x4249fd,_0x5d8b19,_0x8b6b12){const _0x2915aa=_0xcee175;return(_0x5d8b19=X(_0x5d8b19))in _0x4249fd?Object[_0x2915aa(0x167)](_0x4249fd,_0x5d8b19,{'value':_0x8b6b12,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4249fd[_0x5d8b19]=_0x8b6b12,_0x4249fd;}function Q(_0x378d35,_0x1b8b8a){return function(_0x35b847,_0x2a6e25){_0x1b8b8a(_0x35b847,_0x2a6e25,_0x378d35);};}function _0x56d6(_0x25c5d7,_0x77efd3){_0x25c5d7=_0x25c5d7-0x118;const _0x1a2a8a=_0x1a2a();let _0x56d673=_0x1a2a8a[_0x25c5d7];return _0x56d673;}function te(_0x5eaafb,_0xe775da,_0x1eddc5,_0x48eb10){const _0x3f6287=_0xcee175;var _0x2ed6b4=arguments[_0x3f6287(0x157)],_0x239219=_0x2ed6b4<0x3?_0xe775da:_0x48eb10===null?_0x48eb10=Object[_0x3f6287(0x15c)](_0xe775da,_0x1eddc5):_0x48eb10,_0x356abc;if(typeof Reflect==_0x3f6287(0x13e)&&typeof Reflect[_0x3f6287(0x126)]==_0x3f6287(0x133))_0x239219=Reflect[_0x3f6287(0x126)](_0x5eaafb,_0xe775da,_0x1eddc5,_0x48eb10);else{for(var _0x17c5e8=_0x5eaafb[_0x3f6287(0x157)]-0x1;_0x17c5e8>=0x0;_0x17c5e8--)(_0x356abc=_0x5eaafb[_0x17c5e8])&&(_0x239219=(_0x2ed6b4<0x3?_0x356abc(_0x239219):_0x2ed6b4>0x3?_0x356abc(_0xe775da,_0x1eddc5,_0x239219):_0x356abc(_0xe775da,_0x1eddc5))||_0x239219);}return _0x2ed6b4>0x3&&_0x239219&&Object[_0x3f6287(0x167)](_0xe775da,_0x1eddc5,_0x239219),_0x239219;}function _0x1a2a(){const _0xccb892=['_getBodyPath','extend','103130JoOjaH','_column','type','_rowContainsText','setBorder','Above','documentStyle','144191zhJZGQ','getMarginOverride','filter','getCellMargin','selectRange','decorate','tableCells','trHeight','getSource','Table','segmentId','findTableByText','distributeRows','selectRows','8872FUCqaw','max','deleteTable','getRowsRange','function','setStructuralSelection','getCellMarginOverride','deepClone','DocsTableRowInsertPosition','setTitleRow','getInfo','body','backgroundColor','getRowRange','setCellMargin','object','getTableAtSelection','_serializeModel','moveRow','insertRowAfter','titleText','from','deleteRow','setCellBackground','deleteRows','getColumnsRange','getTableRange','getTables','unmerge','_mutateActions','columnTypes','selectColumn','_tableId','Left','getText','selectColumns','size','appendColumn','unmergeCells','getTable','length','_injector','rows','getRowHeight','moveTableToOffset','getOwnPropertyDescriptor','Row','DocsTableSortDirection','actions','_unitId','startOffset','_getTableDocumentData','3914676HaOjvR','titleRow','replace','findTables','defineProperty','preset','symbol','insertColumnBefore','_document','default','setRowHeight','12271HjsozD','border','_tableContainsText','insertTable','DocsTableSelectionKind','getMetadata','getCellInsertOffset','hasTitleRow','setBackgroundColor','deleteColumns','DashStyleType','text','1252244ZzMqyV','tableSource','insertColumnsAfter','setHeaderRowCount','_segmentId','moveTableBy','insertTitleRow','syncExecuteCommand','insertColumnsBefore','string','getColumnIndex','margin','insertRowsBefore','distributeColumns','slice','constructor','_table','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_getTables','2500920DWIeLv','getRowCount','_row','tableColumns','1674GJgJgb','deleteColumn','setTableBackground','getInsertOffset','_commandService','getRowIndex','tableRows','describe','_getDocumentData','getContentRange','getStableTableSelection','prototype','width','clearMarginOverride','setColumnWidth','AT_LEAST','tableId','Below','appendRow','setTableStyle','getId','4447895DKjpvl','get','cells','dataStream','selectCell','getCell','selectTable','sortByColumn','headerRowCount','some','_createFDocumentTable','pinHeaderRows','includes','insertRowBefore','Right','getCellContentRange','setDefaultCellMargin','getCellRange','getSnapshot','getDefaultCellMargin','cellMargin','#1f1f1f','moveColumns','getColumnCount','getCellText','endOffset','setTableBorder','6CQPusi','moveRows','setColumnType','SOLID','mergeCells','getTableMetadata','getDocumentDataModel','All','setText','setCellText','headerText','insertRowsAfter','getDefaultCellMarginOverride'];_0x1a2a=function(){return _0xccb892;};return _0x1a2a();}let $=class{constructor(_0x643105,_0x310105,_0x1d9a55,_0x36ad25,_0x25b275){const _0x4273c1=_0xcee175;this[_0x4273c1(0x16b)]=_0x643105,this[_0x4273c1(0x14f)]=_0x310105,this[_0x4273c1(0x17e)]=_0x1d9a55,this[_0x4273c1(0x195)]=_0x36ad25,this[_0x4273c1(0x158)]=_0x25b275,Z(this,_0x4273c1(0x160),void 0x0),this[_0x4273c1(0x160)]=this[_0x4273c1(0x16b)]['getId']();}[_0xcee175(0x1a5)](){const _0x119049=_0xcee175;return this[_0x119049(0x14f)];}['getSegmentId'](){const _0x49bafa=_0xcee175;return this[_0x49bafa(0x17e)];}[_0xcee175(0x139)](){const _0x1157be=_0xcee175;return{'id':this['_tableId'],'rowCount':this[_0x1157be(0x18e)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x1157be(0x173)](),'source':this[_0x1157be(0x129)]()};}[_0xcee175(0x198)](){const _0x19bb91=_0xcee175;let _0x680863=this[_0x19bb91(0x173)](),_0x18d062=this['getSource'](),_0x3e160a=this[_0x19bb91(0x1bd)]();return{'id':this[_0x19bb91(0x14f)],'rowCount':this[_0x19bb91(0x18e)](),'columnCount':_0x3e160a,'headerRowCount':(_0x680863==null?void 0x0:_0x680863['headerRowCount'])??0x0,'titleRow':(_0x680863==null?void 0x0:_0x680863[_0x19bb91(0x164)])??!0x1,'columns':Array['from']({'length':_0x3e160a},(_0x56be14,_0x47b2ea)=>{const _0x2f82e4=_0x19bb91;var _0x3787aa,_0x1df8f0;return{'index':_0x47b2ea,'type':_0x680863==null||(_0x3787aa=_0x680863[_0x2f82e4(0x14d)])==null||(_0x3787aa=_0x3787aa[_0x47b2ea])==null?void 0x0:_0x3787aa[_0x2f82e4(0x11c)],'width':_0x18d062==null||(_0x1df8f0=_0x18d062[_0x2f82e4(0x190)][_0x47b2ea])==null?void 0x0:_0x1df8f0[_0x2f82e4(0x153)][_0x2f82e4(0x19d)]['v']};}),'sampleRows':Array[_0x19bb91(0x144)]({'length':this[_0x19bb91(0x18e)]()},(_0x177f2b,_0x4076cf)=>Array[_0x19bb91(0x144)]({'length':_0x3e160a},(_0xfceb05,_0x5c06b3)=>this['getCellText'](_0x4076cf,_0x5c06b3)))['filter'](_0x150ac0=>_0x150ac0[_0x19bb91(0x1af)](_0x352189=>_0x352189['length']>0x0))[_0x19bb91(0x188)](0x0,0x5)};}[_0xcee175(0x18e)](){const _0x5bef8d=_0xcee175;var _0x1562c8;return((_0x1562c8=this[_0x5bef8d(0x129)]())==null?void 0x0:_0x1562c8[_0x5bef8d(0x197)][_0x5bef8d(0x157)])??0x0;}['getColumnCount'](){const _0x4ff809=_0xcee175;var _0x2feb3f;return((_0x2feb3f=this[_0x4ff809(0x129)]())==null?void 0x0:_0x2feb3f[_0x4ff809(0x190)]['length'])??0x0;}[_0xcee175(0x1ab)](_0x32a603,_0xf9c7cd){const _0x5835c0=_0xcee175;var _0x4be3a0;return(_0x4be3a0=this['getSource']())!=null&&(_0x4be3a0=_0x4be3a0['tableRows'][_0x32a603])!=null&&_0x4be3a0[_0x5835c0(0x127)][_0xf9c7cd]?this[_0x5835c0(0x158)]['createInstance'](q,this,_0x32a603,_0xf9c7cd):null;}[_0xcee175(0x1be)](_0x29f8ad,_0x46912d){const _0x2c619d=_0xcee175;var _0x378707,_0x32d3a4;let _0x1b21b1=(_0x378707=_0x4ba6c9(this['_getDocumentData'](),this['_tableId']))==null||(_0x378707=_0x378707[_0x2c619d(0x159)][_0x29f8ad])==null?void 0x0:_0x378707[_0x2c619d(0x1a8)][_0x46912d];return _0x1b21b1?((_0x32d3a4=this[_0x2c619d(0x199)]()[_0x2c619d(0x13a)])==null?void 0x0:_0x32d3a4[_0x2c619d(0x1a9)]['slice'](_0x1b21b1['startOffset']+0x1,_0x1b21b1['endOffset'])[_0x2c619d(0x165)](/\r\n$/,''))??'':'';}[_0xcee175(0x124)](_0x8d2875,_0x210f0c){const _0x308e86=_0xcee175;var _0x30fdf3;let _0x387da7=this[_0x308e86(0x129)](),_0x4e5f67=_0x387da7==null||(_0x30fdf3=_0x387da7['tableRows'][_0x8d2875])==null?void 0x0:_0x30fdf3[_0x308e86(0x127)][_0x210f0c];return _0x4e5f67?_0x307248[_0x308e86(0x136)](_0x4e5f67['margin']??_0x387da7[_0x308e86(0x1ba)]??_0x21745d):null;}[_0xcee175(0x135)](_0x1e0346,_0x5bc3bf){const _0x58b74b=_0xcee175;var _0x3813bf;let _0x2c629a=(_0x3813bf=this['getSource']())==null||(_0x3813bf=_0x3813bf[_0x58b74b(0x197)][_0x1e0346])==null?void 0x0:_0x3813bf[_0x58b74b(0x127)][_0x5bc3bf];return _0x2c629a!=null&&_0x2c629a[_0x58b74b(0x185)]?_0x307248['deepClone'](_0x2c629a[_0x58b74b(0x185)]):null;}[_0xcee175(0x1b9)](){const _0x3aa7df=_0xcee175;var _0x55f5d1;return _0x307248[_0x3aa7df(0x136)](((_0x55f5d1=this[_0x3aa7df(0x129)]())==null?void 0x0:_0x55f5d1['cellMargin'])??_0x21745d);}[_0xcee175(0x1cd)](){const _0x50e600=_0xcee175;var _0x6ef81d;let _0x132a1a=(_0x6ef81d=this[_0x50e600(0x129)]())==null?void 0x0:_0x6ef81d[_0x50e600(0x1ba)];return _0x132a1a?_0x307248[_0x50e600(0x136)](_0x132a1a):null;}[_0xcee175(0x173)](){const _0x48c024=_0xcee175;return this[_0x48c024(0x158)][_0x48c024(0x1a7)](_0x3c570c)[_0x48c024(0x1c6)](this['_unitId'],this['_tableId']);}['getSource'](){const _0x330dd4=_0xcee175;var _0xc9b3d2;return(_0xc9b3d2=this['_getDocumentData']()[_0x330dd4(0x17b)])==null?void 0x0:_0xc9b3d2[this[_0x330dd4(0x14f)]];}['getRange'](){const _0x2c189e=_0xcee175;return _0x4ba6c9(this[_0x2c189e(0x199)](),this['_tableId']);}[_0xcee175(0x149)](){const _0x415ce1=_0xcee175;return{'startRow':0x0,'endRow':Math[_0x415ce1(0x130)](0x0,this[_0x415ce1(0x18e)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x415ce1(0x130)](0x0,this[_0x415ce1(0x1bd)]()-0x1)};}['getCellRange'](_0x37f281,_0x31c90a){return{'startRow':_0x37f281,'endRow':_0x37f281,'startColumn':_0x31c90a,'endColumn':_0x31c90a};}[_0xcee175(0x1b5)](_0x208918,_0x343c32){const _0x1679b5=_0xcee175;var _0x328e8e;let _0x3d6bad=(_0x328e8e=_0x4ba6c9(this['_getDocumentData'](),this[_0x1679b5(0x14f)]))==null||(_0x328e8e=_0x328e8e['rows'][_0x208918])==null?void 0x0:_0x328e8e['cells'][_0x343c32];if(!_0x3d6bad)return null;let _0x492121=_0x3d6bad['startOffset']+0x1;return{'startOffset':_0x492121,'endOffset':Math[_0x1679b5(0x130)](_0x492121,_0x3d6bad[_0x1679b5(0x1bf)]-0x1),'segmentId':this['_segmentId']};}[_0xcee175(0x174)](_0x221a74,_0x4fb440){const _0x701a09=_0xcee175;let _0x448145=this[_0x701a09(0x1b5)](_0x221a74,_0x4fb440);return _0x448145?Math[_0x701a09(0x130)](_0x448145[_0x701a09(0x161)],_0x448145[_0x701a09(0x1bf)]-0x1):null;}[_0xcee175(0x13c)](_0x1a1b2c){return this['getRowsRange'](_0x1a1b2c,0x1);}['getRowsRange'](_0x2ba214,_0x575483=0x1){const _0x403da0=_0xcee175;return{'startRow':_0x2ba214,'endRow':_0x2ba214+_0x575483-0x1,'startColumn':0x0,'endColumn':Math[_0x403da0(0x130)](0x0,this['getColumnCount']()-0x1)};}['getColumnRange'](_0x3bc710){const _0x476512=_0xcee175;return this[_0x476512(0x148)](_0x3bc710,0x1);}[_0xcee175(0x148)](_0x3001c3,_0x50eeb4=0x1){const _0x19ac8e=_0xcee175;return{'startRow':0x0,'endRow':Math[_0x19ac8e(0x130)](0x0,this[_0x19ac8e(0x18e)]()-0x1),'startColumn':_0x3001c3,'endColumn':_0x3001c3+_0x50eeb4-0x1};}[_0xcee175(0x1ac)](){const _0x42299a=_0xcee175;return this['selectRange'](this[_0x42299a(0x149)](),_0x5a36fd[_0x42299a(0x12a)]);}['selectRow'](_0x3a0c93){return this['selectRows'](_0x3a0c93,0x1);}[_0xcee175(0x12e)](_0x374714,_0x39f617=0x1){const _0x30f39=_0xcee175;return this['selectRange'](this[_0x30f39(0x132)](_0x374714,_0x39f617),_0x5a36fd[_0x30f39(0x15d)]);}[_0xcee175(0x14e)](_0x39375c){const _0x4d8971=_0xcee175;return this[_0x4d8971(0x152)](_0x39375c,0x1);}[_0xcee175(0x152)](_0x29624e,_0xc72198=0x1){const _0x40a41b=_0xcee175;return this['selectRange'](this[_0x40a41b(0x148)](_0x29624e,_0xc72198),_0x5a36fd['Column']);}[_0xcee175(0x1aa)](_0x29992e,_0x5234e7){const _0x37eba7=_0xcee175;return this[_0x37eba7(0x125)](this[_0x37eba7(0x1b7)](_0x29992e,_0x5234e7),_0x5a36fd['Cell']);}[_0xcee175(0x125)](_0x5d5b18,_0x2e2d72=_0x5a36fd['Range']){const _0x28aad4=_0xcee175;return this[_0x28aad4(0x158)][_0x28aad4(0x1a7)](_0x52774c)[_0x28aad4(0x134)]({..._0x5d5b18,'kind':_0x2e2d72,'segmentId':this[_0x28aad4(0x17e)],'tableId':this['_tableId']}),!0x0;}[_0xcee175(0x1b3)](_0x46b53d){const _0x2d2d8f=_0xcee175;return this[_0x2d2d8f(0x186)](_0x46b53d,0x1);}[_0xcee175(0x142)](_0x1443ed){return this['insertRowsAfter'](_0x1443ed,0x1);}['insertRowsBefore'](_0x594652,_0x3d2594){const _0x3c9353=_0xcee175;let _0xfdd2a8=this[_0x3c9353(0x199)](),_0x520517=_0x1ba735(_0xfdd2a8,this[_0x3c9353(0x14f)],_0x594652,_0x3d2594,_0x50a60f[_0x3c9353(0x11f)],this[_0x3c9353(0x118)]());return _0x520517?this[_0x3c9353(0x14c)](_0xfdd2a8,_0x520517[_0x3c9353(0x15f)]):!0x1;}[_0xcee175(0x1cc)](_0x4b30b7,_0x349727){const _0x196709=_0xcee175;let _0x44be8b=this[_0x196709(0x199)](),_0x10e1a4=_0x1ba735(_0x44be8b,this[_0x196709(0x14f)],_0x4b30b7,_0x349727,_0x50a60f[_0x196709(0x1a2)],this[_0x196709(0x118)]());return _0x10e1a4?this[_0x196709(0x14c)](_0x44be8b,_0x10e1a4['actions']):!0x1;}[_0xcee175(0x1a3)](){const _0x133528=_0xcee175;return this[_0x133528(0x1cc)](Math[_0x133528(0x130)](0x0,this[_0x133528(0x18e)]()-0x1),0x1);}[_0xcee175(0x16a)](_0x3da45a){const _0xf1c486=_0xcee175;return this[_0xf1c486(0x182)](_0x3da45a,0x1);}['insertColumnAfter'](_0x5c8ee0){const _0x2f2a5a=_0xcee175;return this[_0x2f2a5a(0x17c)](_0x5c8ee0,0x1);}[_0xcee175(0x182)](_0x133a32,_0x406181){const _0x2857a6=_0xcee175;let _0x1d40f7=this[_0x2857a6(0x199)](),_0x4bf8f5=_0x42f91b(_0x1d40f7,this[_0x2857a6(0x14f)],_0x133a32,_0x406181,_0x50a60f[_0x2857a6(0x150)],{'bodyPath':this[_0x2857a6(0x118)]()});return _0x4bf8f5?this[_0x2857a6(0x14c)](_0x1d40f7,_0x4bf8f5[_0x2857a6(0x15f)]):!0x1;}[_0xcee175(0x17c)](_0x3682c0,_0x1358ac){const _0x48c773=_0xcee175;let _0x3cd25e=this[_0x48c773(0x199)](),_0x27a153=_0x42f91b(_0x3cd25e,this[_0x48c773(0x14f)],_0x3682c0,_0x1358ac,_0x50a60f[_0x48c773(0x1b4)],{'bodyPath':this[_0x48c773(0x118)]()});return _0x27a153?this[_0x48c773(0x14c)](_0x3cd25e,_0x27a153[_0x48c773(0x15f)]):!0x1;}[_0xcee175(0x154)](){const _0x513661=_0xcee175;return this[_0x513661(0x17c)](Math[_0x513661(0x130)](0x0,this['getColumnCount']()-0x1),0x1);}[_0xcee175(0x145)](_0x22f2cc){const _0x5cea77=_0xcee175;return this[_0x5cea77(0x147)](_0x22f2cc,0x1);}[_0xcee175(0x147)](_0x56b6d9,_0x2f0259=0x1){const _0x438f01=_0xcee175;return!!this[_0x438f01(0x195)]['syncExecuteCommand'](_0x463552['id'],{'endRow':_0x56b6d9+_0x2f0259-0x1,'segmentId':this[_0x438f01(0x17e)],'startRow':_0x56b6d9,'tableId':this[_0x438f01(0x14f)],'unitId':this[_0x438f01(0x160)]});}[_0xcee175(0x192)](_0x4a05eb){const _0x51be07=_0xcee175;return this[_0x51be07(0x177)](_0x4a05eb,0x1);}[_0xcee175(0x177)](_0x4351f8,_0x305ba2=0x1){const _0x3b8a03=_0xcee175;return!!this[_0x3b8a03(0x195)][_0x3b8a03(0x181)](_0x135ce2['id'],{'endColumn':_0x4351f8+_0x305ba2-0x1,'segmentId':this[_0x3b8a03(0x17e)],'startColumn':_0x4351f8,'tableId':this[_0x3b8a03(0x14f)],'unitId':this[_0x3b8a03(0x160)]});}[_0xcee175(0x131)](){const _0x4f3615=_0xcee175;return!!this[_0x4f3615(0x195)][_0x4f3615(0x181)](_0x229429['id'],{'segmentId':this[_0x4f3615(0x17e)],'tableId':this[_0x4f3615(0x14f)],'unitId':this[_0x4f3615(0x160)]});}[_0xcee175(0x17f)](_0x33e726,_0x374051){const _0x4f34a6=_0xcee175;let _0x58df42=this[_0x4f34a6(0x199)]();return this[_0x4f34a6(0x14c)](_0x58df42,_0x4e09e1(_0x58df42,this[_0x4f34a6(0x14f)],_0x33e726,_0x374051));}[_0xcee175(0x15b)](_0x34110a){const _0x4612a6=_0xcee175;let _0x1ced14=this[_0x4612a6(0x199)]();return this[_0x4612a6(0x14c)](_0x1ced14,_0x22c831(_0x1ced14,this[_0x4612a6(0x14f)],_0x34110a,this[_0x4612a6(0x118)]()));}[_0xcee175(0x141)](_0x4df032,_0x47aad0,_0x5853d7=_0x50a60f[_0xcee175(0x11f)]){const _0x232617=_0xcee175;return this[_0x232617(0x1c2)](_0x4df032,0x1,_0x47aad0,_0x5853d7);}['moveRows'](_0x29b6d0,_0x76ad8f,_0x5324b2,_0x376397=_0x50a60f[_0xcee175(0x11f)]){const _0x1ae03b=_0xcee175;let _0x4e58f9=this[_0x1ae03b(0x199)](),_0x181385=_0x4341e1(_0x4e58f9,this['_tableId'],_0x29b6d0,_0x5324b2,_0x76ad8f,_0x376397,this[_0x1ae03b(0x118)]());return _0x181385?this[_0x1ae03b(0x14c)](_0x4e58f9,_0x181385[_0x1ae03b(0x15f)]):!0x1;}['moveColumn'](_0x2dcc74,_0x3c67d1,_0x260fb1=_0x50a60f[_0xcee175(0x150)]){return this['moveColumns'](_0x2dcc74,0x1,_0x3c67d1,_0x260fb1);}[_0xcee175(0x1bc)](_0x55e9a4,_0x2d5411,_0x4943df,_0x4b9053=_0x50a60f[_0xcee175(0x150)]){const _0x5e2c62=_0xcee175;let _0x3f6989=this[_0x5e2c62(0x199)](),_0x2ce144=_0x2792a3(_0x3f6989,this[_0x5e2c62(0x14f)],_0x55e9a4,_0x4943df,_0x2d5411,_0x4b9053,this[_0x5e2c62(0x118)]());return _0x2ce144?this[_0x5e2c62(0x14c)](_0x3f6989,_0x2ce144[_0x5e2c62(0x15f)]):!0x1;}[_0xcee175(0x1c5)](_0x51e77e){const _0x2de6c7=_0xcee175;try{let _0x190d63=this['_getDocumentData'](),_0x1d8180=_0x3aec2e({'documentData':_0x190d63,'tableId':this[_0x2de6c7(0x14f)],..._0x51e77e});return _0x1d8180?this[_0x2de6c7(0x14c)](_0x190d63,_0x1d8180[_0x2de6c7(0x15f)],_0x51e77e):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x1bcf99){const _0xaf4fd5=_0xcee175;try{let _0x31e763=this[_0xaf4fd5(0x199)](),_0x1deb35=_0x393d14({'documentData':_0x31e763,'tableId':this[_0xaf4fd5(0x14f)],..._0x1bcf99});return _0x1deb35?this[_0xaf4fd5(0x14c)](_0x31e763,_0x1deb35['actions'],_0x1bcf99):!0x1;}catch{return!0x1;}}['setCellText'](_0x12120e,_0x2a42fa,_0x2234a8){const _0x10832b=_0xcee175;let _0x10ba96=this[_0x10832b(0x199)](),_0x285270=_0x3b5491(this['_document'][_0x10832b(0x1c7)]()['getSnapshot'](),this[_0x10832b(0x17e)]);return this[_0x10832b(0x14c)](_0x10ba96,_0x2655ab({'documentData':_0x10ba96,'tableId':this[_0x10832b(0x14f)],'row':_0x12120e,'column':_0x2a42fa,'text':_0x2234a8},_0x285270),this[_0x10832b(0x1b7)](_0x12120e,_0x2a42fa));}[_0xcee175(0x146)](_0x463b52,_0x4e4dee){const _0x461382=_0xcee175;let _0x38adcf=this[_0x461382(0x199)]();return this[_0x461382(0x14c)](_0x38adcf,_0x47f64e(_0x38adcf,{'tableId':this[_0x461382(0x14f)],..._0x463b52,'value':_0x4e4dee}),_0x463b52);}['setCellMargin'](_0x4c322f,_0x2a4ada){const _0x108895=_0xcee175;let _0x3664ac=this[_0x108895(0x199)]();return this[_0x108895(0x14c)](_0x3664ac,_0x2652fa({'documentData':_0x3664ac,'tableId':this['_tableId'],..._0x4c322f,'margin':_0x2a4ada}),_0x4c322f);}[_0xcee175(0x1b6)](_0x451885){const _0x39a321=_0xcee175;let _0x43f324=this[_0x39a321(0x199)]();return this[_0x39a321(0x14c)](_0x43f324,_0xfdd2fe(_0x43f324,this[_0x39a321(0x14f)],_0x451885));}[_0xcee175(0x11e)](_0xdfbfbb,_0xad9af1){const _0xf62517=_0xcee175;let _0x4e9360=this['_getDocumentData']();return this['_mutateActions'](_0x4e9360,_0x71f82c({'documentData':_0x4e9360,'tableId':this['_tableId'],..._0xdfbfbb,'preset':_0xad9af1[_0xf62517(0x168)]??_0xf76c6a[_0xf62517(0x1c8)],'border':_0xad9af1[_0xf62517(0x16f)]??{'color':{'rgb':_0xad9af1['color']??_0xf62517(0x1bb)},'width':{'v':_0xad9af1[_0xf62517(0x19d)]??0x1},'dashStyle':_0x235af0[_0xf62517(0x1c4)]}}),_0xdfbfbb);}[_0xcee175(0x193)](_0x496913){const _0x196588=_0xcee175;return this['setCellBackground'](this[_0x196588(0x149)](),_0x496913);}['setTableBorder'](_0x6c5d22){const _0x13fb4b=_0xcee175;return this[_0x13fb4b(0x11e)](this[_0x13fb4b(0x149)](),_0x6c5d22);}[_0xcee175(0x1a4)](_0x43d8fb){const _0x364ef6=_0xcee175;let _0x4423c5=!_0x43d8fb[_0x364ef6(0x13b)]||this[_0x364ef6(0x193)](_0x43d8fb[_0x364ef6(0x13b)]),_0x524925=!_0x43d8fb[_0x364ef6(0x16f)]||this[_0x364ef6(0x1c0)](_0x43d8fb['border']);return _0x4423c5&&_0x524925;}[_0xcee175(0x16d)](_0x483f47,_0x38a54c,_0x1bd360=_0x3ebc1c[_0xcee175(0x1a0)]){const _0x67c578=_0xcee175;var _0x193e51;let _0x48522b=this[_0x67c578(0x199)]();return(_0x193e51=_0x48522b[_0x67c578(0x17b)])!=null&&(_0x193e51=_0x193e51[this[_0x67c578(0x14f)]])!=null&&_0x193e51['tableRows'][_0x483f47]?this[_0x67c578(0x14c)](_0x48522b,_0x3a3c68(_0x48522b,this[_0x67c578(0x14f)],_0x483f47,_0x38a54c,_0x1bd360)):!0x1;}[_0xcee175(0x15a)](_0x11c2f8){const _0x4e99cf=_0xcee175;var _0x35411c;let _0x23290c=(_0x35411c=this['getSource']())==null||(_0x35411c=_0x35411c[_0x4e99cf(0x197)][_0x11c2f8])==null?void 0x0:_0x35411c[_0x4e99cf(0x128)];return _0x23290c?_0x307248[_0x4e99cf(0x136)](_0x23290c):null;}[_0xcee175(0x19f)](_0x4a472f,_0x4db7bd){const _0xc00f42=_0xcee175;var _0x9d4cc9;let _0x4cab30=this[_0xc00f42(0x199)]();return(_0x9d4cc9=_0x4cab30[_0xc00f42(0x17b)])!=null&&(_0x9d4cc9=_0x9d4cc9[this['_tableId']])!=null&&_0x9d4cc9[_0xc00f42(0x190)][_0x4a472f]?this[_0xc00f42(0x14c)](_0x4cab30,_0x1922ab(_0x4cab30,this['_tableId'],_0x4a472f,_0x4db7bd)):!0x1;}[_0xcee175(0x12d)](_0x451042=0x0,_0x4e3750=this[_0xcee175(0x18e)]()){const _0x4ca3ea=_0xcee175;let _0xa8975d=this[_0x4ca3ea(0x199)]();return this[_0x4ca3ea(0x14c)](_0xa8975d,_0x5e0604(_0xa8975d,this[_0x4ca3ea(0x14f)],_0x451042,_0x451042+_0x4e3750-0x1));}[_0xcee175(0x187)](_0x59ebc0=0x0,_0x5bea7d=this['getColumnCount']()){const _0x5702ee=_0xcee175;let _0x3f4511=this[_0x5702ee(0x199)]();return this[_0x5702ee(0x14c)](_0x3f4511,_0x54b594(_0x3f4511,this[_0x5702ee(0x14f)],_0x59ebc0,_0x59ebc0+_0x5bea7d-0x1));}['getHeaderRowCount'](){const _0xbb44fe=_0xcee175;var _0x2e9ea3;return((_0x2e9ea3=this['getMetadata']())==null?void 0x0:_0x2e9ea3[_0xbb44fe(0x1ae)])??0x0;}['setHeaderRowCount'](_0x4e22ee){const _0x3a16f3=_0xcee175;let _0x142495=this[_0x3a16f3(0x158)]['get'](_0x3c570c),_0x2cbba9=this['_getDocumentData'](),_0x1cf15a=_0x1e4c1(_0x2cbba9,this[_0x3a16f3(0x14f)],_0x4e22ee);if(!_0x1cf15a)return!0x1;let _0x2e6582=this[_0x3a16f3(0x14c)](_0x2cbba9,_0x1cf15a[_0x3a16f3(0x15f)]);return _0x2e6582&&_0x142495['setHeaderRowCount'](this[_0x3a16f3(0x160)],this['_tableId'],_0x1cf15a[_0x3a16f3(0x1ae)]),_0x2e6582;}[_0xcee175(0x1b1)](_0x41868f){const _0x3d4ef2=_0xcee175;return this[_0x3d4ef2(0x17d)](_0x41868f);}[_0xcee175(0x175)](){const _0x44ea82=_0xcee175;var _0x238d14;return((_0x238d14=this[_0x44ea82(0x173)]())==null?void 0x0:_0x238d14[_0x44ea82(0x164)])??!0x1;}[_0xcee175(0x180)](){const _0x32e631=_0xcee175;let _0xed1a8f=this[_0x32e631(0x158)][_0x32e631(0x1a7)](_0x3c570c),_0x3114a2=this['_getDocumentData'](),_0x4faf02=_0x5909d2(_0x3114a2,this[_0x32e631(0x14f)],this['_getBodyPath']());if(!_0x4faf02)return!0x1;let _0x1025fa=this[_0x32e631(0x14c)](_0x3114a2,_0x4faf02['actions']);return _0x1025fa&&_0xed1a8f[_0x32e631(0x138)](this['_unitId'],this[_0x32e631(0x14f)],!0x0),_0x1025fa;}['setColumnType'](_0x272746,_0x10d2fc){const _0x19fa1f=_0xcee175;return this['_injector'][_0x19fa1f(0x1a7)](_0x3c570c)[_0x19fa1f(0x1c3)](this[_0x19fa1f(0x160)],this[_0x19fa1f(0x14f)],_0x272746,_0x10d2fc),!0x0;}[_0xcee175(0x1ad)](_0x4c0a4,_0x1b8ba0){const _0x5d0017=_0xcee175;let _0x474005=this[_0x5d0017(0x199)]();return this[_0x5d0017(0x14c)](_0x474005,_0x26bb83(_0x474005,this['_serializeModel'](),this[_0x5d0017(0x14f)],_0x4c0a4,_0x1b8ba0,this[_0x5d0017(0x118)]()));}['_getDocumentData'](){const _0x4f8ebe=_0xcee175;let _0x138690=this[_0x4f8ebe(0x16b)][_0x4f8ebe(0x1c7)]()[_0x4f8ebe(0x1b8)]();return this[_0x4f8ebe(0x17e)]?{...this[_0x4f8ebe(0x16b)]['getDocumentDataModel'](this[_0x4f8ebe(0x17e)])[_0x4f8ebe(0x1b8)](),'documentStyle':_0x138690['documentStyle'],'tableSource':_0x138690[_0x4f8ebe(0x17b)]}:_0x138690;}[_0xcee175(0x140)](){const _0x3eb4f0=_0xcee175;return this[_0x3eb4f0(0x158)][_0x3eb4f0(0x1a7)](_0x3c570c)['serialize'](this[_0x3eb4f0(0x160)]);}[_0xcee175(0x118)](){const _0x1f9b4b=_0xcee175;return _0x3b5491(this[_0x1f9b4b(0x16b)]['getDocumentDataModel']()[_0x1f9b4b(0x1b8)](),this[_0x1f9b4b(0x17e)]);}['_mutateActions'](_0x2eb54e,_0x31161b,_0x2ef6d4){const _0x22771e=_0xcee175;return _0x279883(this[_0x22771e(0x195)],this['_unitId'],_0x2eb54e,_0x31161b,_0x2ef6d4?{'tableId':this[_0x22771e(0x14f)],'segmentId':this[_0x22771e(0x17e)],..._0x2ef6d4}:void 0x0);}};$=te([Q(0x3,_0x227b4c),Q(0x4,_0x7b97ec(_0x5e029d))],$);var ne=class extends _0x1ebdb5{[_0xcee175(0x14a)](_0x343392=''){const _0x3a232b=_0xcee175;return this[_0x3a232b(0x18c)](_0x343392)['map'](_0x2f722a=>this[_0x3a232b(0x1b0)](_0x2f722a['tableId'],_0x343392));}['getTable'](_0x54d62f,_0x1a8211=''){const _0x26e976=_0xcee175;return this[_0x26e976(0x18c)](_0x1a8211)[_0x26e976(0x1af)](_0x47ed93=>_0x47ed93[_0x26e976(0x1a1)]===_0x54d62f)?this[_0x26e976(0x1b0)](_0x54d62f,_0x1a8211):null;}['getTableAt'](_0x2100e2,_0x103249=''){const _0x3029b0=_0xcee175;var _0x2af371;let _0x2fe7df=(_0x2af371=this[_0x3029b0(0x18c)](_0x103249)[_0x2100e2])==null?void 0x0:_0x2af371[_0x3029b0(0x1a1)];return _0x2fe7df?this['_createFDocumentTable'](_0x2fe7df,_0x103249):null;}[_0xcee175(0x13f)](){const _0x40afb6=_0xcee175;let _0x952a28=this['_injector'][_0x40afb6(0x1a7)](_0x52774c)[_0x40afb6(0x19b)]();return _0x952a28!=null&&_0x952a28[_0x40afb6(0x1a1)]?this['_createFDocumentTable'](_0x952a28['tableId'],_0x952a28[_0x40afb6(0x12b)]):null;}[_0xcee175(0x12c)](_0x13a3e0,_0x1a371a=''){const _0x163655=_0xcee175;return this[_0x163655(0x166)](_0x13a3e0,_0x1a371a)[0x0]??null;}[_0xcee175(0x166)](_0x2f8436,_0x5bdcc2=''){const _0x1ef941=_0xcee175;let _0x4bb40c=this[_0x1ef941(0x162)](_0x5bdcc2),_0x3cc257=typeof _0x2f8436==_0x1ef941(0x183)?{'text':_0x2f8436}:_0x2f8436;return this[_0x1ef941(0x14a)](_0x5bdcc2)[_0x1ef941(0x123)](_0x2a79b9=>{const _0x35d654=_0x1ef941;let _0x13c3b2=_0x2a79b9[_0x35d654(0x1a5)]();return!(_0x3cc257[_0x35d654(0x1a1)]&&_0x13c3b2!==_0x3cc257[_0x35d654(0x1a1)]||_0x3cc257[_0x35d654(0x179)]&&!this[_0x35d654(0x170)](_0x4bb40c,_0x13c3b2,_0x3cc257[_0x35d654(0x179)])||_0x3cc257[_0x35d654(0x1cb)]&&!this['_rowContainsText'](_0x2a79b9,0x0,_0x3cc257[_0x35d654(0x1cb)])||_0x3cc257[_0x35d654(0x143)]&&!this[_0x35d654(0x11d)](_0x2a79b9,0x0,_0x3cc257[_0x35d654(0x143)]));});}[_0xcee175(0x171)](_0x5a61ca,_0x1cd4fe,_0x5b3256={}){const _0xa248a4=_0xcee175;let _0x32e97c=this[_0xa248a4(0x158)][_0xa248a4(0x1a7)](_0x227b4c),_0x1c4b52=_0x5b3256[_0xa248a4(0x1a1)]??_0x563431(0x6);return _0x32e97c[_0xa248a4(0x181)](_0x2f63fe['id'],{..._0x5b3256,'unitId':this[_0xa248a4(0x1a5)](),'rows':_0x5a61ca,'columns':_0x1cd4fe,'tableId':_0x1c4b52})?this['_createFDocumentTable'](_0x1c4b52,_0x5b3256[_0xa248a4(0x12b)]??''):null;}['insertTableFromData'](_0x36509c,_0x1015c6={}){const _0xf8ae1a=_0xcee175;let _0x4788c8=this[_0xf8ae1a(0x158)][_0xf8ae1a(0x1a7)](_0x227b4c),_0x52ace4=_0x1015c6['tableId']??_0x563431(0x6);return _0x4788c8[_0xf8ae1a(0x181)](_0x2f63fe['id'],{..._0x1015c6,'unitId':this[_0xf8ae1a(0x1a5)](),'values':_0x36509c,'tableId':_0x52ace4})?this[_0xf8ae1a(0x1b0)](_0x52ace4,_0x1015c6[_0xf8ae1a(0x12b)]??''):null;}[_0xcee175(0x18c)](_0x4cb748=''){let {tables:_0x5a028d=[]}=this['getBody'](_0x4cb748);return _0x5a028d;}['_getTableDocumentData'](_0x248830=''){const _0x3ff438=_0xcee175;let _0x1b8042=this[_0x3ff438(0x1c7)]()[_0x3ff438(0x1b8)]();return _0x248830?{...this[_0x3ff438(0x1c7)](_0x248830)[_0x3ff438(0x1b8)](),'documentStyle':_0x1b8042[_0x3ff438(0x120)],'tableSource':_0x1b8042[_0x3ff438(0x17b)]}:_0x1b8042;}[_0xcee175(0x1b0)](_0x227812,_0x4763ce=''){return this['_injector']['createInstance']($,this,_0x227812,_0x4763ce);}[_0xcee175(0x170)](_0x496814,_0x45aecc,_0x24a5c8){const _0x1f8959=_0xcee175;var _0x519ed4;let _0x4b01f9=_0x4ba6c9(_0x496814,_0x45aecc);if(!_0x4b01f9)return!0x1;let _0x557afa=(_0x519ed4=_0x496814[_0x1f8959(0x13a)])==null?void 0x0:_0x519ed4[_0x1f8959(0x1a9)];return _0x557afa?_0x557afa[_0x1f8959(0x188)](_0x4b01f9[_0x1f8959(0x161)],_0x4b01f9[_0x1f8959(0x1bf)])[_0x1f8959(0x1b2)](_0x24a5c8):!0x1;}[_0xcee175(0x11d)](_0x1ab20a,_0xdcca06,_0x23f883){const _0x113bc0=_0xcee175;return Array['from']({'length':_0x1ab20a[_0x113bc0(0x1bd)]()},(_0x4724e5,_0x2fb2bf)=>_0x1ab20a['getCellText'](_0xdcca06,_0x2fb2bf))[_0x113bc0(0x1af)](_0x5cfd25=>_0x5cfd25[_0x113bc0(0x1b2)](_0x23f883));}};_0x1ebdb5[_0xcee175(0x119)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
|
|
1
|
+
const _0x38beaf=_0x3f25;(function(_0x4dd5e7,_0x3bfc70){const _0x17ef5c=_0x3f25,_0x521afd=_0x4dd5e7();while(!![]){try{const _0x263fca=-parseInt(_0x17ef5c(0x12c))/0x1*(-parseInt(_0x17ef5c(0x10a))/0x2)+-parseInt(_0x17ef5c(0xde))/0x3*(-parseInt(_0x17ef5c(0xc4))/0x4)+-parseInt(_0x17ef5c(0x90))/0x5+-parseInt(_0x17ef5c(0xe4))/0x6*(parseInt(_0x17ef5c(0x107))/0x7)+parseInt(_0x17ef5c(0xb8))/0x8*(parseInt(_0x17ef5c(0xa4))/0x9)+-parseInt(_0x17ef5c(0xd3))/0xa*(parseInt(_0x17ef5c(0xc3))/0xb)+-parseInt(_0x17ef5c(0x96))/0xc*(-parseInt(_0x17ef5c(0x8c))/0xd);if(_0x263fca===_0x3bfc70)break;else _0x521afd['push'](_0x521afd['shift']());}catch(_0x1df5f5){_0x521afd['push'](_0x521afd['shift']());}}}(_0x3202,0x1d481));function _0x3f25(_0x552a5f,_0x3b0a74){_0x552a5f=_0x552a5f-0x83;const _0x320238=_0x3202();let _0x3f25b0=_0x320238[_0x552a5f];return _0x3f25b0;}import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x4cbc96,DocsTableBorderPreset as _0xd2da88,DocsTableColumnInsertPosition as _0x431b6d,DocsTableColumnType as _0x4ab92e,DocsTableDeleteColumnsCommand as _0x1d92ac,DocsTableDeleteRowsCommand as _0x362549,DocsTableDeleteTableCommand as _0x5b9217,DocsTableInsertPosition as _0x32a61d,DocsTableInsertTableCommand as _0x4a86fa,DocsTableInsertTablePosition as _0x200642,DocsTableModel as _0x36df83,DocsTableRowInsertPosition as _0xa6f18d,DocsTableSelectionKind as _0x5cbaa7,DocsTableSelectionService as _0x2e8832,DocsTableSetColumnTypeCommand as _0x146a78,DocsTableSortDirection as _0x3f5d4a,buildDistributeTableColumnsMutationActions as _0x1f7104,buildDistributeTableRowsMutationActions as _0x5e8847,buildInsertTableColumnsMutationActions as _0x268fb5,buildInsertTableRowsMutationActions as _0x24b415,buildInsertTableTitleRowMutationActions as _0x2a31bb,buildMergeCellsMutationActions as _0x3ac59b,buildMoveFloatingTableMutationActions as _0x135a27,buildMoveTableColumnsMutationActions as _0x355d0e,buildMoveTableRowsMutationActions as _0x20071c,buildMoveTableToOffsetMutationActions as _0x9a5c47,buildResizeTableColumnActionsFromWidth as _0x4bd7bf,buildResizeTableRowActionsFromHeight as _0x43f0e2,buildSetTableBackgroundMutationActions as _0x77beae,buildSetTableBorderMutationActions as _0x3666b,buildSetTableCellMarginMutationActions as _0x53cf24,buildSetTableCellTextMutationActions as _0x341e8e,buildSetTableDefaultCellMarginMutationActions as _0x3ac17a,buildSetTableHeaderRowCountMutationActions as _0x47f16f,buildSortTableMutationActions as _0x511d98,buildUnmergeCellsMutationActions as _0x465231,executeRichTextTableActions as _0xeaebb1,getTableActionBodyPath as _0x16e745,getTableRangeById as _0x5ef887}from'@univerjs-pro/docs-table';import{DashStyleType as _0x10f729,ICommandService as _0x411ad4,Inject as _0x3de653,Injector as _0x5a9c68,JSONX as _0x1b64cb,TableRowHeightRule as _0x4ae1df,ThemeService as _0x43634b,Tools as _0x219585,generateRandomId as _0x49a440}from'@univerjs/core';import{FEnum as _0x31aab7}from'@univerjs/core/facade';import{FDocument as _0x2f372a}from'@univerjs/docs/facade';var J=class extends _0x31aab7{get[_0x38beaf(0x128)](){return _0x200642;}get['DocsTableColumnType'](){return _0x4ab92e;}get['DocsTableSelectionKind'](){return _0x5cbaa7;}get[_0x38beaf(0x10b)](){return _0xa6f18d;}get[_0x38beaf(0x93)](){return _0x431b6d;}get[_0x38beaf(0x127)](){return _0xd2da88;}get[_0x38beaf(0x89)](){return _0x3f5d4a;}get[_0x38beaf(0xe8)](){return _0x10f729;}};_0x31aab7[_0x38beaf(0xa9)](J);var Y=class{constructor(_0x9642ce,_0x3a65a9,_0x39c837){const _0x4b1c82=_0x38beaf;this['_table']=_0x9642ce,this[_0x4b1c82(0xb1)]=_0x3a65a9,this[_0x4b1c82(0xf5)]=_0x39c837;}[_0x38beaf(0x13d)](){const _0x2c3e9d=_0x38beaf;return this[_0x2c3e9d(0x123)];}[_0x38beaf(0xb2)](){return this['_row'];}[_0x38beaf(0xa7)](){return this['_column'];}[_0x38beaf(0x9c)](){const _0x5a79d9=_0x38beaf;return this[_0x5a79d9(0x123)][_0x5a79d9(0x86)](this[_0x5a79d9(0xb1)],this[_0x5a79d9(0xf5)]);}[_0x38beaf(0xac)](){const _0xa77e04=_0x38beaf;return this[_0xa77e04(0x123)]['getCellContentRange'](this[_0xa77e04(0xb1)],this[_0xa77e04(0xf5)]);}['getInsertOffset'](){const _0x25d4d4=_0x38beaf;return this[_0x25d4d4(0x123)]['getCellInsertOffset'](this[_0x25d4d4(0xb1)],this[_0x25d4d4(0xf5)]);}['getMargin'](){const _0x4e9862=_0x38beaf;return this[_0x4e9862(0x123)]['getCellMargin'](this[_0x4e9862(0xb1)],this[_0x4e9862(0xf5)]);}['getMarginOverride'](){const _0x1940c8=_0x38beaf;return this['_table'][_0x1940c8(0xaf)](this[_0x1940c8(0xb1)],this[_0x1940c8(0xf5)]);}[_0x38beaf(0x114)](_0x1b9e39){const _0x5ad329=_0x38beaf;return this[_0x5ad329(0x123)][_0x5ad329(0x13c)](this[_0x5ad329(0x123)]['getCellRange'](this[_0x5ad329(0xb1)],this[_0x5ad329(0xf5)]),_0x1b9e39);}[_0x38beaf(0xa2)](){const _0x37c257=_0x38beaf;return this[_0x37c257(0x123)]['setCellMargin'](this[_0x37c257(0x123)][_0x37c257(0xb0)](this[_0x37c257(0xb1)],this[_0x37c257(0xf5)]),null);}[_0x38beaf(0x138)](_0x1ba714){const _0x136560=_0x38beaf;return this[_0x136560(0x123)][_0x136560(0x9a)](this[_0x136560(0xb1)],this[_0x136560(0xf5)],_0x1ba714);}[_0x38beaf(0x120)](_0x9e23f4){const _0x5dc1ce=_0x38beaf;return this[_0x5dc1ce(0x123)]['setCellBackground'](this[_0x5dc1ce(0x123)]['getCellRange'](this[_0x5dc1ce(0xb1)],this[_0x5dc1ce(0xf5)]),_0x9e23f4);}[_0x38beaf(0x117)](_0x1e2e08){const _0x4d308a=_0x38beaf;return this['_table'][_0x4d308a(0x117)](this[_0x4d308a(0x123)][_0x4d308a(0xb0)](this[_0x4d308a(0xb1)],this[_0x4d308a(0xf5)]),_0x1e2e08);}[_0x38beaf(0x10e)](_0x104557,_0x4f3741){const _0x57aac5=_0x38beaf;return this[_0x57aac5(0x123)][_0x57aac5(0xf9)]({'startRow':this[_0x57aac5(0xb1)],'startColumn':this[_0x57aac5(0xf5)],'endRow':this[_0x57aac5(0xb1)]+_0x104557-0x1,'endColumn':this[_0x57aac5(0xf5)]+_0x4f3741-0x1});}['unmerge'](){const _0x3565aa=_0x38beaf;return this[_0x3565aa(0x123)]['unmergeCells'](this[_0x3565aa(0x123)]['getCellRange'](this[_0x3565aa(0xb1)],this[_0x3565aa(0xf5)]));}};function X(_0x1fa6bd){'@babel/helpers - typeof';const _0x5b1b4a=_0x38beaf;return X=typeof Symbol==_0x5b1b4a(0xff)&&typeof Symbol['iterator']==_0x5b1b4a(0xd2)?function(_0x58fa79){return typeof _0x58fa79;}:function(_0x2ddf8e){const _0x452954=_0x5b1b4a;return _0x2ddf8e&&typeof Symbol=='function'&&_0x2ddf8e[_0x452954(0x134)]===Symbol&&_0x2ddf8e!==Symbol[_0x452954(0xe2)]?_0x452954(0xd2):typeof _0x2ddf8e;},X(_0x1fa6bd);}function Z(_0x16228d,_0x279c2e){const _0x3008aa=_0x38beaf;if(X(_0x16228d)!='object'||!_0x16228d)return _0x16228d;var _0x1ab998=_0x16228d[Symbol[_0x3008aa(0xf3)]];if(_0x1ab998!==void 0x0){var _0x1ff78b=_0x1ab998['call'](_0x16228d,_0x279c2e||_0x3008aa(0x137));if(X(_0x1ff78b)!=_0x3008aa(0x106))return _0x1ff78b;throw TypeError(_0x3008aa(0xd6));}return(_0x279c2e===_0x3008aa(0xba)?String:Number)(_0x16228d);}function ne(_0x29935f){const _0x512df5=_0x38beaf;var _0x282ba6=Z(_0x29935f,_0x512df5(0xba));return X(_0x282ba6)==_0x512df5(0xd2)?_0x282ba6:_0x282ba6+'';}function re(_0x22094c,_0x2b1590,_0x930de9){const _0x1a80d8=_0x38beaf;return(_0x2b1590=ne(_0x2b1590))in _0x22094c?Object[_0x1a80d8(0xeb)](_0x22094c,_0x2b1590,{'value':_0x930de9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x22094c[_0x2b1590]=_0x930de9,_0x22094c;}function Q(_0xa5527d,_0xcf57a1){return function(_0x439f2a,_0x4e3753){_0xcf57a1(_0x439f2a,_0x4e3753,_0xa5527d);};}function ie(_0x32cd4a,_0x49d311,_0x182262,_0x19a327){const _0x548827=_0x38beaf;var _0x445c68=arguments[_0x548827(0xa1)],_0x2f00c1=_0x445c68<0x3?_0x49d311:_0x19a327===null?_0x19a327=Object[_0x548827(0xb5)](_0x49d311,_0x182262):_0x19a327,_0x1f8832;if(typeof Reflect=='object'&&typeof Reflect[_0x548827(0x12e)]==_0x548827(0xff))_0x2f00c1=Reflect['decorate'](_0x32cd4a,_0x49d311,_0x182262,_0x19a327);else{for(var _0x3f78c5=_0x32cd4a[_0x548827(0xa1)]-0x1;_0x3f78c5>=0x0;_0x3f78c5--)(_0x1f8832=_0x32cd4a[_0x3f78c5])&&(_0x2f00c1=(_0x445c68<0x3?_0x1f8832(_0x2f00c1):_0x445c68>0x3?_0x1f8832(_0x49d311,_0x182262,_0x2f00c1):_0x1f8832(_0x49d311,_0x182262))||_0x2f00c1);}return _0x445c68>0x3&&_0x2f00c1&&Object[_0x548827(0xeb)](_0x49d311,_0x182262,_0x2f00c1),_0x2f00c1;}let $=class{constructor(_0x521ae0,_0x155550,_0x19c58f,_0x346a6e,_0x4b04be){const _0x592449=_0x38beaf;this[_0x592449(0x97)]=_0x521ae0,this[_0x592449(0xb3)]=_0x155550,this[_0x592449(0x12b)]=_0x19c58f,this[_0x592449(0x133)]=_0x346a6e,this[_0x592449(0xb4)]=_0x4b04be,re(this,_0x592449(0xcf),void 0x0),this[_0x592449(0xcf)]=this['_document'][_0x592449(0x110)]();}[_0x38beaf(0x110)](){const _0xc873b1=_0x38beaf;return this[_0xc873b1(0xb3)];}[_0x38beaf(0xcc)](){const _0x157795=_0x38beaf;return this[_0x157795(0x12b)];}['getInfo'](){const _0x1f031a=_0x38beaf;return{'id':this[_0x1f031a(0xb3)],'rowCount':this[_0x1f031a(0x10f)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x1f031a(0xab)](),'source':this[_0x1f031a(0xe9)]()};}[_0x38beaf(0x130)](){const _0x37549e=_0x38beaf;let _0x5d2485=this[_0x37549e(0xab)](),_0x4fb10f=this[_0x37549e(0xe9)](),_0x42de6c=this['getColumnCount']();return{'id':this[_0x37549e(0xb3)],'rowCount':this['getRowCount'](),'columnCount':_0x42de6c,'headerRowCount':(_0x5d2485==null?void 0x0:_0x5d2485[_0x37549e(0xd9)])??0x0,'titleRow':(_0x5d2485==null?void 0x0:_0x5d2485[_0x37549e(0x119)])??!0x1,'columns':Array['from']({'length':_0x42de6c},(_0x380969,_0x529e47)=>{const _0x3670f2=_0x37549e;var _0x2d6487,_0x57ab7b;return{'index':_0x529e47,'type':_0x5d2485==null||(_0x2d6487=_0x5d2485[_0x3670f2(0x126)])==null||(_0x2d6487=_0x2d6487[_0x529e47])==null?void 0x0:_0x2d6487['type'],'width':_0x4fb10f==null||(_0x57ab7b=_0x4fb10f[_0x3670f2(0x129)][_0x529e47])==null?void 0x0:_0x57ab7b['size']['width']['v']};}),'sampleRows':Array[_0x37549e(0x94)]({'length':this['getRowCount']()},(_0x5372c3,_0x3b5e15)=>Array[_0x37549e(0x94)]({'length':_0x42de6c},(_0x589790,_0x33170f)=>this['getCellText'](_0x3b5e15,_0x33170f)))[_0x37549e(0xf2)](_0x295789=>_0x295789['some'](_0x461eca=>_0x461eca['length']>0x0))[_0x37549e(0xd4)](0x0,0x5)};}[_0x38beaf(0x10f)](){const _0xd2bbc4=_0x38beaf;var _0x22e949;return((_0x22e949=this[_0xd2bbc4(0xe9)]())==null?void 0x0:_0x22e949[_0xd2bbc4(0x10d)][_0xd2bbc4(0xa1)])??0x0;}[_0x38beaf(0x87)](){const _0x4f0f48=_0x38beaf;var _0x103cbc;return((_0x103cbc=this[_0x4f0f48(0xe9)]())==null?void 0x0:_0x103cbc['tableColumns']['length'])??0x0;}[_0x38beaf(0x124)](_0x5dc3c8,_0x1bf96f){const _0x27d103=_0x38beaf;var _0x212628;return(_0x212628=this['getSource']())!=null&&(_0x212628=_0x212628['tableRows'][_0x5dc3c8])!=null&&_0x212628[_0x27d103(0x121)][_0x1bf96f]?this[_0x27d103(0xb4)][_0x27d103(0x136)](Y,this,_0x5dc3c8,_0x1bf96f):null;}['getCellText'](_0x4d9784,_0x489e68){const _0x17d633=_0x38beaf;var _0x3fd6c2,_0x41457b;let _0x3043b3=(_0x3fd6c2=_0x5ef887(this[_0x17d633(0xfb)](),this[_0x17d633(0xb3)]))==null||(_0x3fd6c2=_0x3fd6c2['rows'][_0x4d9784])==null?void 0x0:_0x3fd6c2[_0x17d633(0x135)][_0x489e68];return _0x3043b3?((_0x41457b=this[_0x17d633(0xfb)]()[_0x17d633(0xb7)])==null?void 0x0:_0x41457b[_0x17d633(0x103)]['slice'](_0x3043b3[_0x17d633(0x12a)]+0x1,_0x3043b3[_0x17d633(0xec)])[_0x17d633(0xc2)](/\r\n$/,''))??'':'';}[_0x38beaf(0x13b)](_0x28af8d,_0x58cb6d){const _0x5e9bef=_0x38beaf;var _0x26e6ff;let _0x594597=this[_0x5e9bef(0xe9)](),_0x2c6f05=_0x594597==null||(_0x26e6ff=_0x594597[_0x5e9bef(0x10d)][_0x28af8d])==null?void 0x0:_0x26e6ff['tableCells'][_0x58cb6d];return _0x2c6f05?_0x219585[_0x5e9bef(0xa0)](_0x2c6f05[_0x5e9bef(0x8d)]??_0x594597[_0x5e9bef(0x11c)]??_0x4cbc96):null;}[_0x38beaf(0xaf)](_0x36b3df,_0x558f3e){const _0xd3cee1=_0x38beaf;var _0x118ad6;let _0x1389fb=(_0x118ad6=this[_0xd3cee1(0xe9)]())==null||(_0x118ad6=_0x118ad6['tableRows'][_0x36b3df])==null?void 0x0:_0x118ad6['tableCells'][_0x558f3e];return _0x1389fb!=null&&_0x1389fb[_0xd3cee1(0x8d)]?_0x219585['deepClone'](_0x1389fb[_0xd3cee1(0x8d)]):null;}[_0x38beaf(0xa3)](){const _0x572c1d=_0x38beaf;var _0x1df27c;return _0x219585[_0x572c1d(0xa0)](((_0x1df27c=this[_0x572c1d(0xe9)]())==null?void 0x0:_0x1df27c[_0x572c1d(0x11c)])??_0x4cbc96);}[_0x38beaf(0xb9)](){const _0xc797ea=_0x38beaf;var _0x4e3299;let _0x1fdb27=(_0x4e3299=this['getSource']())==null?void 0x0:_0x4e3299[_0xc797ea(0x11c)];return _0x1fdb27?_0x219585['deepClone'](_0x1fdb27):null;}[_0x38beaf(0xab)](){const _0x1fd6d6=_0x38beaf;let _0x43984c=this['_injector'][_0x1fd6d6(0x84)](_0x36df83),_0x49948f=this[_0x1fd6d6(0xe9)]();return _0x49948f?_0x43984c['resolveTableMetadata'](this[_0x1fd6d6(0xcf)],_0x49948f):void 0x0;}[_0x38beaf(0xe9)](){const _0x2ffc2f=_0x38beaf;var _0xa52892;return(_0xa52892=this[_0x2ffc2f(0xfb)]()[_0x2ffc2f(0xe6)])==null?void 0x0:_0xa52892[this[_0x2ffc2f(0xb3)]];}[_0x38beaf(0xdf)](){const _0x3a8486=_0x38beaf;return _0x5ef887(this[_0x3a8486(0xfb)](),this['_tableId']);}['getTableRange'](){const _0x3f7d32=_0x38beaf;return{'startRow':0x0,'endRow':Math[_0x3f7d32(0xf4)](0x0,this[_0x3f7d32(0x10f)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x3f7d32(0xf4)](0x0,this[_0x3f7d32(0x87)]()-0x1)};}[_0x38beaf(0xb0)](_0x486146,_0x3c0087){return{'startRow':_0x486146,'endRow':_0x486146,'startColumn':_0x3c0087,'endColumn':_0x3c0087};}[_0x38beaf(0x139)](_0x2cb90c,_0x574703){const _0x126ef2=_0x38beaf;var _0x10e594;let _0x3855c2=(_0x10e594=_0x5ef887(this[_0x126ef2(0xfb)](),this[_0x126ef2(0xb3)]))==null||(_0x10e594=_0x10e594['rows'][_0x2cb90c])==null?void 0x0:_0x10e594['cells'][_0x574703];if(!_0x3855c2)return null;let _0x568c52=_0x3855c2[_0x126ef2(0x12a)]+0x1;return{'startOffset':_0x568c52,'endOffset':Math[_0x126ef2(0xf4)](_0x568c52,_0x3855c2[_0x126ef2(0xec)]-0x1),'segmentId':this['_segmentId']};}[_0x38beaf(0x9e)](_0xb960d5,_0xa355af){const _0x2a7d78=_0x38beaf;let _0x21190e=this[_0x2a7d78(0x139)](_0xb960d5,_0xa355af);return _0x21190e?Math[_0x2a7d78(0xf4)](_0x21190e[_0x2a7d78(0x12a)],_0x21190e['endOffset']-0x1):null;}[_0x38beaf(0x95)](_0x5e24c9){const _0x4fbe72=_0x38beaf;return this[_0x4fbe72(0x116)](_0x5e24c9,0x1);}['getRowsRange'](_0x1b7b78,_0x2eb49a=0x1){const _0xc3db6a=_0x38beaf;return{'startRow':_0x1b7b78,'endRow':_0x1b7b78+_0x2eb49a-0x1,'startColumn':0x0,'endColumn':Math[_0xc3db6a(0xf4)](0x0,this[_0xc3db6a(0x87)]()-0x1)};}[_0x38beaf(0xe0)](_0x4e4c89){const _0x29f661=_0x38beaf;return this[_0x29f661(0xef)](_0x4e4c89,0x1);}[_0x38beaf(0xef)](_0x2563f6,_0x4b481b=0x1){const _0x57cede=_0x38beaf;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x57cede(0x10f)]()-0x1),'startColumn':_0x2563f6,'endColumn':_0x2563f6+_0x4b481b-0x1};}['selectTable'](){const _0x543ef7=_0x38beaf;return this['selectRange'](this[_0x543ef7(0x118)](),_0x5cbaa7[_0x543ef7(0xa8)]);}[_0x38beaf(0x9d)](_0x2175ec){const _0x286fb4=_0x38beaf;return this[_0x286fb4(0xf8)](_0x2175ec,0x1);}[_0x38beaf(0xf8)](_0x270f4b,_0x14379b=0x1){const _0x5d7282=_0x38beaf;return this['selectRange'](this[_0x5d7282(0x116)](_0x270f4b,_0x14379b),_0x5cbaa7[_0x5d7282(0xc9)]);}['selectColumn'](_0x5dda5e){const _0x377404=_0x38beaf;return this[_0x377404(0xad)](_0x5dda5e,0x1);}[_0x38beaf(0xad)](_0x249572,_0x57188a=0x1){const _0x27267a=_0x38beaf;return this[_0x27267a(0xd7)](this[_0x27267a(0xef)](_0x249572,_0x57188a),_0x5cbaa7['Column']);}[_0x38beaf(0x11b)](_0x49fec7,_0x414345){const _0x182ea7=_0x38beaf;return this[_0x182ea7(0xd7)](this[_0x182ea7(0xb0)](_0x49fec7,_0x414345),_0x5cbaa7[_0x182ea7(0x83)]);}[_0x38beaf(0xd7)](_0x79ebe5,_0x3725e4=_0x5cbaa7[_0x38beaf(0xbd)]){const _0x53b73e=_0x38beaf;return this[_0x53b73e(0xb4)][_0x53b73e(0x84)](_0x2e8832)[_0x53b73e(0xbb)]({..._0x79ebe5,'kind':_0x3725e4,'segmentId':this['_segmentId'],'tableId':this[_0x53b73e(0xb3)]}),!0x0;}[_0x38beaf(0x112)](_0x3a8b4f){return this['insertRowsBefore'](_0x3a8b4f,0x1);}[_0x38beaf(0xfa)](_0xf20ed4){const _0x2b8c3a=_0x38beaf;return this[_0x2b8c3a(0x9b)](_0xf20ed4,0x1);}[_0x38beaf(0xf6)](_0xbb9e2b,_0x4ffb5e){const _0x3ad45e=_0x38beaf;let _0x47e589=this['_getDocumentData'](),_0x3720be=_0x24b415(_0x47e589,this[_0x3ad45e(0xb3)],_0xbb9e2b,_0x4ffb5e,_0x32a61d[_0x3ad45e(0x12f)],this[_0x3ad45e(0x12d)]());return _0x3720be?this[_0x3ad45e(0x8b)](_0x47e589,_0x3720be[_0x3ad45e(0xe3)]):!0x1;}[_0x38beaf(0x9b)](_0x1593e5,_0x334b1b){const _0xbbae9c=_0x38beaf;let _0x3207ca=this['_getDocumentData'](),_0x23909c=_0x24b415(_0x3207ca,this[_0xbbae9c(0xb3)],_0x1593e5,_0x334b1b,_0x32a61d[_0xbbae9c(0xc0)],this[_0xbbae9c(0x12d)]());return _0x23909c?this['_mutateActions'](_0x3207ca,_0x23909c[_0xbbae9c(0xe3)]):!0x1;}[_0x38beaf(0xcb)](){const _0x2fc6cb=_0x38beaf;return this['insertRowsAfter'](Math[_0x2fc6cb(0xf4)](0x0,this[_0x2fc6cb(0x10f)]()-0x1),0x1);}[_0x38beaf(0xca)](_0x5855a2){const _0x30c45a=_0x38beaf;return this[_0x30c45a(0xa5)](_0x5855a2,0x1);}[_0x38beaf(0x11a)](_0x561545){const _0x467ba6=_0x38beaf;return this[_0x467ba6(0xce)](_0x561545,0x1);}[_0x38beaf(0xa5)](_0xf4c61b,_0x4ec53c){const _0x178e78=_0x38beaf;let _0x2d9052=this[_0x178e78(0xfb)](),_0x4e6850=_0x268fb5(_0x2d9052,this[_0x178e78(0xb3)],_0xf4c61b,_0x4ec53c,_0x32a61d[_0x178e78(0x9f)],{'bodyPath':this[_0x178e78(0x12d)]()});return _0x4e6850?this['_mutateActions'](_0x2d9052,_0x4e6850[_0x178e78(0xe3)]):!0x1;}[_0x38beaf(0xce)](_0x22991f,_0x7e1e2f){const _0x204da3=_0x38beaf;let _0x1e0c8b=this[_0x204da3(0xfb)](),_0x5371fa=_0x268fb5(_0x1e0c8b,this[_0x204da3(0xb3)],_0x22991f,_0x7e1e2f,_0x32a61d[_0x204da3(0x8f)],{'bodyPath':this[_0x204da3(0x12d)]()});return _0x5371fa?this[_0x204da3(0x8b)](_0x1e0c8b,_0x5371fa[_0x204da3(0xe3)]):!0x1;}[_0x38beaf(0x115)](){const _0x56e372=_0x38beaf;return this['insertColumnsAfter'](Math['max'](0x0,this[_0x56e372(0x87)]()-0x1),0x1);}[_0x38beaf(0xda)](_0x53b0ca){const _0x5a8480=_0x38beaf;return this[_0x5a8480(0x102)](_0x53b0ca,0x1);}[_0x38beaf(0x102)](_0x5b7306,_0x6d44d6=0x1){const _0x1f5cc8=_0x38beaf;return!!this[_0x1f5cc8(0x133)][_0x1f5cc8(0xe1)](_0x362549['id'],{'endRow':_0x5b7306+_0x6d44d6-0x1,'segmentId':this['_segmentId'],'startRow':_0x5b7306,'tableId':this['_tableId'],'unitId':this[_0x1f5cc8(0xcf)]});}[_0x38beaf(0x113)](_0x1764e2){const _0x4305cb=_0x38beaf;return this[_0x4305cb(0x131)](_0x1764e2,0x1);}['deleteColumns'](_0x2598bb,_0x3a0bba=0x1){const _0x1cd4a2=_0x38beaf;return!!this['_commandService'][_0x1cd4a2(0xe1)](_0x1d92ac['id'],{'endColumn':_0x2598bb+_0x3a0bba-0x1,'segmentId':this['_segmentId'],'startColumn':_0x2598bb,'tableId':this['_tableId'],'unitId':this['_unitId']});}[_0x38beaf(0xaa)](){const _0x13ccbb=_0x38beaf;return!!this['_commandService']['syncExecuteCommand'](_0x5b9217['id'],{'segmentId':this[_0x13ccbb(0x12b)],'tableId':this[_0x13ccbb(0xb3)],'unitId':this[_0x13ccbb(0xcf)]});}[_0x38beaf(0xe7)](_0xa21e8c,_0x8be8e8){const _0x2f3cb4=_0x38beaf;let _0x260d18=this[_0x2f3cb4(0xfb)]();return this[_0x2f3cb4(0x8b)](_0x260d18,_0x135a27(_0x260d18,this[_0x2f3cb4(0xb3)],_0xa21e8c,_0x8be8e8));}['moveTableToOffset'](_0x571831){const _0x38fe15=_0x38beaf;let _0x2911a1=this[_0x38fe15(0xfb)]();return this[_0x38fe15(0x8b)](_0x2911a1,_0x9a5c47(_0x2911a1,this[_0x38fe15(0xb3)],_0x571831,this[_0x38fe15(0x12d)]()));}['moveRow'](_0x84aea3,_0x146b54,_0x16b984=_0x32a61d[_0x38beaf(0x12f)]){const _0x1477f6=_0x38beaf;return this[_0x1477f6(0xc7)](_0x84aea3,0x1,_0x146b54,_0x16b984);}[_0x38beaf(0xc7)](_0x19bad0,_0x234e1d,_0x205a91,_0x32afe7=_0x32a61d[_0x38beaf(0x12f)]){const _0x10a925=_0x38beaf;let _0x5a0ce2=this[_0x10a925(0xfb)](),_0x6e2826=_0x20071c(_0x5a0ce2,this['_tableId'],_0x19bad0,_0x205a91,_0x234e1d,_0x32afe7,this[_0x10a925(0x12d)]());return _0x6e2826?this[_0x10a925(0x8b)](_0x5a0ce2,_0x6e2826[_0x10a925(0xe3)]):!0x1;}[_0x38beaf(0xbf)](_0x4f87cc,_0x16cd9a,_0x5baf4b=_0x32a61d[_0x38beaf(0x9f)]){const _0x3c415c=_0x38beaf;return this[_0x3c415c(0xb6)](_0x4f87cc,0x1,_0x16cd9a,_0x5baf4b);}['moveColumns'](_0x575889,_0x4a8054,_0x29cddb,_0x401e77=_0x32a61d[_0x38beaf(0x9f)]){const _0x19f5ea=_0x38beaf;let _0x4686e1=this[_0x19f5ea(0xfb)](),_0x43565c=_0x355d0e(_0x4686e1,this[_0x19f5ea(0xb3)],_0x575889,_0x29cddb,_0x4a8054,_0x401e77,this['_getBodyPath']());return _0x43565c?this[_0x19f5ea(0x8b)](_0x4686e1,_0x43565c[_0x19f5ea(0xe3)]):!0x1;}['mergeCells'](_0x1fa3fa){const _0x5c961b=_0x38beaf;try{let _0x102091=this[_0x5c961b(0xfb)](),_0x173d04=_0x3ac59b({'documentData':_0x102091,'tableId':this[_0x5c961b(0xb3)],..._0x1fa3fa});return _0x173d04?this[_0x5c961b(0x8b)](_0x102091,_0x173d04[_0x5c961b(0xe3)],_0x1fa3fa):!0x1;}catch{return!0x1;}}[_0x38beaf(0xc6)](_0x3201d1){const _0x21be58=_0x38beaf;try{let _0x206817=this[_0x21be58(0xfb)](),_0x26c771=_0x465231({'documentData':_0x206817,'tableId':this[_0x21be58(0xb3)],..._0x3201d1});return _0x26c771?this['_mutateActions'](_0x206817,_0x26c771[_0x21be58(0xe3)],_0x3201d1):!0x1;}catch{return!0x1;}}[_0x38beaf(0x9a)](_0x43c199,_0x11b983,_0x2aa40d){const _0x4613a1=_0x38beaf;let _0x4d9693=this[_0x4613a1(0xfb)](),_0x4dcfc2=_0x16e745(this[_0x4613a1(0x97)]['getDocumentDataModel']()[_0x4613a1(0xea)](),this[_0x4613a1(0x12b)]);return this[_0x4613a1(0x8b)](_0x4d9693,_0x341e8e({'documentData':_0x4d9693,'tableId':this[_0x4613a1(0xb3)],'row':_0x43c199,'column':_0x11b983,'text':_0x2aa40d},_0x4dcfc2),this[_0x4613a1(0xb0)](_0x43c199,_0x11b983));}[_0x38beaf(0xbe)](_0xdbb4fa,_0x287f48){const _0x5e94dd=_0x38beaf;let _0x5c4f43=this[_0x5e94dd(0xfb)]();return this[_0x5e94dd(0x8b)](_0x5c4f43,_0x77beae(_0x5c4f43,{'tableId':this[_0x5e94dd(0xb3)],..._0xdbb4fa,'value':_0x287f48}),_0xdbb4fa);}[_0x38beaf(0x13c)](_0x3d0567,_0x59c511){const _0x322602=_0x38beaf;let _0x42d397=this[_0x322602(0xfb)]();return this[_0x322602(0x8b)](_0x42d397,_0x53cf24({'documentData':_0x42d397,'tableId':this[_0x322602(0xb3)],..._0x3d0567,'margin':_0x59c511}),_0x3d0567);}[_0x38beaf(0x122)](_0x121c54){const _0x1a105c=_0x38beaf;let _0x4e5a65=this[_0x1a105c(0xfb)]();return this['_mutateActions'](_0x4e5a65,_0x3ac17a(_0x4e5a65,this['_tableId'],_0x121c54));}[_0x38beaf(0x117)](_0x21596b,_0x8b047c){const _0x194ad6=_0x38beaf;let _0x3ae5fb=this[_0x194ad6(0xfb)]();return this[_0x194ad6(0x8b)](_0x3ae5fb,this[_0x194ad6(0xe5)](_0x3ae5fb,_0x21596b,_0x8b047c),_0x21596b);}['setTableBackground'](_0x173be5){const _0x15ec15=_0x38beaf;return this['setCellBackground'](this[_0x15ec15(0x118)](),_0x173be5);}[_0x38beaf(0x98)](_0x4c1dcb){const _0x587177=_0x38beaf;return this['setBorder'](this[_0x587177(0x118)](),_0x4c1dcb);}['setTableStyle'](_0x41ff20){const _0x45af2a=_0x38beaf;let _0x212e4a=this[_0x45af2a(0xfb)](),_0xee2a4c=this[_0x45af2a(0x118)](),_0x64fc79=_0x41ff20['backgroundColor']?_0x77beae(_0x212e4a,{'tableId':this[_0x45af2a(0xb3)],..._0xee2a4c,'value':_0x41ff20[_0x45af2a(0x105)]}):null,_0x28f18d=_0x41ff20[_0x45af2a(0x132)]?this[_0x45af2a(0xe5)](_0x212e4a,_0xee2a4c,_0x41ff20[_0x45af2a(0x132)]):null;return this[_0x45af2a(0x8b)](_0x212e4a,_0x1b64cb[_0x45af2a(0xf7)](_0x64fc79,_0x28f18d),_0xee2a4c);}[_0x38beaf(0xfd)](_0x7c4b58,_0x5415a7,_0x34a5cb=_0x4ae1df['AT_LEAST']){const _0x44b210=_0x38beaf;var _0x22d598;let _0x21981e=this[_0x44b210(0xfb)]();return(_0x22d598=_0x21981e[_0x44b210(0xe6)])!=null&&(_0x22d598=_0x22d598[this[_0x44b210(0xb3)]])!=null&&_0x22d598['tableRows'][_0x7c4b58]?this[_0x44b210(0x8b)](_0x21981e,_0x43f0e2(_0x21981e,this[_0x44b210(0xb3)],_0x7c4b58,_0x5415a7,_0x34a5cb)):!0x1;}['getRowHeight'](_0x56a18a){const _0x47a5e0=_0x38beaf;var _0x3aa934;let _0x428a07=(_0x3aa934=this[_0x47a5e0(0xe9)]())==null||(_0x3aa934=_0x3aa934[_0x47a5e0(0x10d)][_0x56a18a])==null?void 0x0:_0x3aa934[_0x47a5e0(0x11d)];return _0x428a07?_0x219585[_0x47a5e0(0xa0)](_0x428a07):null;}[_0x38beaf(0x111)](_0x2b5331,_0x2e41f9){const _0x18bd28=_0x38beaf;var _0x4a25e3;let _0x2359ae=this[_0x18bd28(0xfb)]();return(_0x4a25e3=_0x2359ae['tableSource'])!=null&&(_0x4a25e3=_0x4a25e3[this['_tableId']])!=null&&_0x4a25e3[_0x18bd28(0x129)][_0x2b5331]?this[_0x18bd28(0x8b)](_0x2359ae,_0x4bd7bf(_0x2359ae,this[_0x18bd28(0xb3)],_0x2b5331,_0x2e41f9)):!0x1;}[_0x38beaf(0x104)](_0x3b0480=0x0,_0x8084e7=this[_0x38beaf(0x10f)]()){const _0x25b2ce=_0x38beaf;let _0xb3448a=this['_getDocumentData']();return this['_mutateActions'](_0xb3448a,_0x5e8847(_0xb3448a,this[_0x25b2ce(0xb3)],_0x3b0480,_0x3b0480+_0x8084e7-0x1));}[_0x38beaf(0xc5)](_0x1a1284=0x0,_0x58a921=this[_0x38beaf(0x87)]()){const _0xfe3c2f=_0x38beaf;let _0x1d2c3a=this[_0xfe3c2f(0xfb)]();return this['_mutateActions'](_0x1d2c3a,_0x1f7104(_0x1d2c3a,this[_0xfe3c2f(0xb3)],_0x1a1284,_0x1a1284+_0x58a921-0x1));}['getHeaderRowCount'](){const _0x1b7469=_0x38beaf;var _0x17a355;return((_0x17a355=this[_0x1b7469(0xab)]())==null?void 0x0:_0x17a355['headerRowCount'])??0x0;}[_0x38beaf(0xcd)](_0x245350){const _0x536984=_0x38beaf;let _0x577a27=this['_getDocumentData'](),_0x1a3e49=_0x47f16f(_0x577a27,this['_tableId'],_0x245350);return _0x1a3e49?this[_0x536984(0x8b)](_0x577a27,_0x1a3e49[_0x536984(0xe3)]):!0x1;}[_0x38beaf(0x88)](_0x327d3f){return this['setHeaderRowCount'](_0x327d3f);}[_0x38beaf(0xf0)](){const _0x4faf4a=_0x38beaf;var _0x2dfb1e;return((_0x2dfb1e=this['getMetadata']())==null?void 0x0:_0x2dfb1e[_0x4faf4a(0x119)])??!0x1;}['insertTitleRow'](){const _0x36d462=_0x38beaf;let _0x1f803c=this['_getDocumentData'](),_0x3318d5=_0x2a31bb(_0x1f803c,this[_0x36d462(0xb3)],this[_0x36d462(0x12d)]());return _0x3318d5?this[_0x36d462(0x8b)](_0x1f803c,_0x3318d5['actions']):!0x1;}[_0x38beaf(0xae)](_0x347154,_0x36a105){const _0xe73bf4=_0x38beaf;return!!this[_0xe73bf4(0x133)]['syncExecuteCommand'](_0x146a78['id'],{'unitId':this[_0xe73bf4(0xcf)],'tableId':this[_0xe73bf4(0xb3)],'segmentId':this[_0xe73bf4(0x12b)],'column':_0x347154,'config':_0x36a105});}[_0x38beaf(0x109)](_0x57be76,_0x42f6a9){const _0xedbeb6=_0x38beaf;let _0x54f8fe=this[_0xedbeb6(0xfb)]();return this[_0xedbeb6(0x8b)](_0x54f8fe,_0x511d98(_0x54f8fe,this['_serializeModel'](),this[_0xedbeb6(0xb3)],_0x57be76,_0x42f6a9,this[_0xedbeb6(0x12d)]()));}[_0x38beaf(0xe5)](_0x1c1f90,_0x40ed29,_0x8ab814){const _0x19553f=_0x38beaf;return _0x3666b({'documentData':_0x1c1f90,'tableId':this['_tableId'],..._0x40ed29,'preset':_0x8ab814[_0x19553f(0x8a)]??_0xd2da88['All'],'border':_0x8ab814['border']??{'color':{'rgb':_0x8ab814[_0x19553f(0x99)]??this[_0x19553f(0xb4)]['get'](_0x43634b)['getColorFromTheme'](_0x19553f(0x92))},'width':{'v':_0x8ab814[_0x19553f(0x91)]??0x1},'dashStyle':_0x10f729[_0x19553f(0xd0)]}});}[_0x38beaf(0xfb)](){const _0x50672a=_0x38beaf;let _0x3bb80d=this[_0x50672a(0x97)][_0x50672a(0x100)]()['getSnapshot']();return this['_segmentId']?{...this['_document']['getDocumentDataModel'](this[_0x50672a(0x12b)])[_0x50672a(0xea)](),'documentStyle':_0x3bb80d[_0x50672a(0xd8)],'tableSource':_0x3bb80d['tableSource']}:_0x3bb80d;}[_0x38beaf(0xd1)](){const _0x212ead=_0x38beaf;return this[_0x212ead(0xb4)][_0x212ead(0x84)](_0x36df83)[_0x212ead(0xdd)](this[_0x212ead(0xcf)],this[_0x212ead(0x97)][_0x212ead(0x100)]()['getSnapshot']());}['_getBodyPath'](){const _0x2f480e=_0x38beaf;return _0x16e745(this[_0x2f480e(0x97)][_0x2f480e(0x100)]()['getSnapshot'](),this[_0x2f480e(0x12b)]);}[_0x38beaf(0x8b)](_0x59f62c,_0x536674,_0x380635){const _0x5dad6e=_0x38beaf;return _0xeaebb1(this['_commandService'],this[_0x5dad6e(0xcf)],_0x59f62c,_0x536674,_0x380635?{'tableId':this[_0x5dad6e(0xb3)],'segmentId':this[_0x5dad6e(0x12b)],..._0x380635}:void 0x0);}};function _0x3202(){const _0x296ae9=['insertTableFromData','Right','348525ToKbfd','width','gray.900','DocsTableColumnInsertPosition','from','getRowRange','12LpjteG','_document','setTableBorder','color','setCellText','insertRowsAfter','getText','selectRow','getCellInsertOffset','Left','deepClone','length','clearMarginOverride','getDefaultCellMargin','9xAQuwR','insertColumnsBefore','tableId','getColumnIndex','Table','extend','deleteTable','getMetadata','getContentRange','selectColumns','setColumnType','getCellMarginOverride','getCellRange','_row','getRowIndex','_tableId','_injector','getOwnPropertyDescriptor','moveColumns','body','1734328CpjwZO','getDefaultCellMarginOverride','string','setStructuralSelection','_getTables','Range','setCellBackground','moveColumn','Below','titleText','replace','187lHKMBK','1164JSDrdy','distributeColumns','unmergeCells','moveRows','_tableContainsText','Row','insertColumnBefore','appendRow','getSegmentId','setHeaderRowCount','insertColumnsAfter','_unitId','SOLID','_serializeModel','symbol','90810EcSSSi','slice','getBody','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','selectRange','documentStyle','headerRowCount','deleteRow','headerText','_getTableDocumentData','serializeDocument','627NgZyva','getRange','getColumnRange','syncExecuteCommand','prototype','actions','600276iVeXDF','_buildBorderActions','tableSource','moveTableBy','DashStyleType','getSource','getSnapshot','defineProperty','endOffset','map','getTableAt','getColumnsRange','hasTitleRow','text','filter','toPrimitive','max','_column','insertRowsBefore','compose','selectRows','mergeCells','insertRowAfter','_getDocumentData','findTableByText','setRowHeight','insertTable','function','getDocumentDataModel','_createFDocumentTable','deleteRows','dataStream','distributeRows','backgroundColor','object','14ZLFnYd','includes','sortByColumn','684TUMKXs','DocsTableRowInsertPosition','findTables','tableRows','mergeTo','getRowCount','getId','setColumnWidth','insertRowBefore','deleteColumn','setMargin','appendColumn','getRowsRange','setBorder','getTableRange','titleRow','insertColumnAfter','selectCell','cellMargin','trHeight','getTableAtSelection','getStableTableSelection','setBackgroundColor','tableCells','setDefaultCellMargin','_table','getCell','_rowContainsText','columnTypes','DocsTableBorderPreset','DocsTableInsertTablePosition','tableColumns','startOffset','_segmentId','102ePpFpL','_getBodyPath','decorate','Above','describe','deleteColumns','border','_commandService','constructor','cells','createInstance','default','setText','getCellContentRange','getTables','getCellMargin','setCellMargin','getTable','Cell','get','segmentId','getCellText','getColumnCount','pinHeaderRows','DocsTableSortDirection','preset','_mutateActions','3011021eKNFzc','margin'];_0x3202=function(){return _0x296ae9;};return _0x3202();}$=ie([Q(0x3,_0x411ad4),Q(0x4,_0x3de653(_0x5a9c68))],$);var ae=class extends _0x2f372a{[_0x38beaf(0x13a)](_0xf6163=''){const _0x4eb92b=_0x38beaf;return this['_getTables'](_0xf6163)[_0x4eb92b(0xed)](_0x422f09=>this['_createFDocumentTable'](_0x422f09[_0x4eb92b(0xa6)],_0xf6163));}[_0x38beaf(0x13d)](_0x5e8b69,_0x1f8b75=''){const _0x5d513c=_0x38beaf;return this[_0x5d513c(0xbc)](_0x1f8b75)['some'](_0xa011b3=>_0xa011b3['tableId']===_0x5e8b69)?this[_0x5d513c(0x101)](_0x5e8b69,_0x1f8b75):null;}[_0x38beaf(0xee)](_0x35c351,_0x194c67=''){const _0x58a15a=_0x38beaf;var _0x1c1026;let _0x18ff02=(_0x1c1026=this['_getTables'](_0x194c67)[_0x35c351])==null?void 0x0:_0x1c1026['tableId'];return _0x18ff02?this[_0x58a15a(0x101)](_0x18ff02,_0x194c67):null;}[_0x38beaf(0x11e)](){const _0x2e5deb=_0x38beaf;let _0x5e2110=this[_0x2e5deb(0xb4)]['get'](_0x2e8832)[_0x2e5deb(0x11f)]();return _0x5e2110!=null&&_0x5e2110[_0x2e5deb(0xa6)]?this[_0x2e5deb(0x101)](_0x5e2110[_0x2e5deb(0xa6)],_0x5e2110[_0x2e5deb(0x85)]):null;}[_0x38beaf(0xfc)](_0x3cc690,_0x2b76b0=''){return this['findTables'](_0x3cc690,_0x2b76b0)[0x0]??null;}[_0x38beaf(0x10c)](_0x477c64,_0x4bb6d6=''){const _0x31ed2a=_0x38beaf;let _0x1cfeca=this[_0x31ed2a(0xdc)](_0x4bb6d6),_0x5174a1=typeof _0x477c64=='string'?{'text':_0x477c64}:_0x477c64;return this[_0x31ed2a(0x13a)](_0x4bb6d6)[_0x31ed2a(0xf2)](_0x2561e0=>{const _0x370d74=_0x31ed2a;let _0x361d48=_0x2561e0['getId']();return!(_0x5174a1[_0x370d74(0xa6)]&&_0x361d48!==_0x5174a1[_0x370d74(0xa6)]||_0x5174a1[_0x370d74(0xf1)]&&!this[_0x370d74(0xc8)](_0x1cfeca,_0x361d48,_0x5174a1['text'])||_0x5174a1[_0x370d74(0xdb)]&&!this[_0x370d74(0x125)](_0x2561e0,0x0,_0x5174a1['headerText'])||_0x5174a1[_0x370d74(0xc1)]&&!this[_0x370d74(0x125)](_0x2561e0,0x0,_0x5174a1['titleText']));});}[_0x38beaf(0xfe)](_0x889bf2,_0x25011b,_0x13e070={}){const _0x254660=_0x38beaf;let _0x17cc5a=this[_0x254660(0xb4)][_0x254660(0x84)](_0x411ad4),_0x421554=_0x13e070[_0x254660(0xa6)]??_0x49a440(0x6);return _0x17cc5a[_0x254660(0xe1)](_0x4a86fa['id'],{..._0x13e070,'unitId':this[_0x254660(0x110)](),'rows':_0x889bf2,'columns':_0x25011b,'tableId':_0x421554})?this[_0x254660(0x101)](_0x421554,_0x13e070[_0x254660(0x85)]??''):null;}[_0x38beaf(0x8e)](_0x12cbfe,_0x47425b={}){const _0x4d1a98=_0x38beaf;let _0x2c1e7d=this[_0x4d1a98(0xb4)][_0x4d1a98(0x84)](_0x411ad4),_0xb1c484=_0x47425b['tableId']??_0x49a440(0x6);return _0x2c1e7d[_0x4d1a98(0xe1)](_0x4a86fa['id'],{..._0x47425b,'unitId':this[_0x4d1a98(0x110)](),'values':_0x12cbfe,'tableId':_0xb1c484})?this[_0x4d1a98(0x101)](_0xb1c484,_0x47425b['segmentId']??''):null;}[_0x38beaf(0xbc)](_0x48c1f7=''){const _0x50f4f3=_0x38beaf;let {tables:_0x81eb90=[]}=this[_0x50f4f3(0xd5)](_0x48c1f7);return _0x81eb90;}['_getTableDocumentData'](_0x47c45c=''){const _0xd0ffcc=_0x38beaf;let _0x1eaa13=this[_0xd0ffcc(0x100)]()[_0xd0ffcc(0xea)]();return _0x47c45c?{...this['getDocumentDataModel'](_0x47c45c)[_0xd0ffcc(0xea)](),'documentStyle':_0x1eaa13['documentStyle'],'tableSource':_0x1eaa13[_0xd0ffcc(0xe6)]}:_0x1eaa13;}[_0x38beaf(0x101)](_0x431992,_0x570bbd=''){const _0x5ba0a7=_0x38beaf;return this[_0x5ba0a7(0xb4)]['createInstance']($,this,_0x431992,_0x570bbd);}[_0x38beaf(0xc8)](_0x3ec83e,_0x60893c,_0x15b0b4){const _0x488f20=_0x38beaf;var _0x595974;let _0x4a4cc5=_0x5ef887(_0x3ec83e,_0x60893c);if(!_0x4a4cc5)return!0x1;let _0x376387=(_0x595974=_0x3ec83e[_0x488f20(0xb7)])==null?void 0x0:_0x595974[_0x488f20(0x103)];return _0x376387?_0x376387['slice'](_0x4a4cc5[_0x488f20(0x12a)],_0x4a4cc5['endOffset'])['includes'](_0x15b0b4):!0x1;}[_0x38beaf(0x125)](_0x36de83,_0x1bbbca,_0x432ca7){const _0x2ca239=_0x38beaf;return Array[_0x2ca239(0x94)]({'length':_0x36de83[_0x2ca239(0x87)]()},(_0x11939d,_0x3a59e5)=>_0x36de83[_0x2ca239(0x86)](_0x1bbbca,_0x3a59e5))['some'](_0x1f8f8d=>_0x1f8f8d[_0x2ca239(0x108)](_0x432ca7));}};_0x2f372a[_0x38beaf(0xa9)](ae);export{$ as FDocumentTable,Y as FDocumentTableCell};
|