@ckeditor/ckeditor5-track-changes 35.4.0 → 36.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +3 -3
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +6 -3
- package/lang/translations/ar.po +16 -4
- package/lang/translations/az.po +16 -4
- package/lang/translations/bg.po +16 -4
- package/lang/translations/bn.po +16 -4
- package/lang/translations/ca.po +16 -4
- package/lang/translations/cs.po +16 -4
- package/lang/translations/da.po +16 -4
- package/lang/translations/de.po +16 -4
- package/lang/translations/el.po +16 -4
- package/lang/translations/en-au.po +16 -4
- package/lang/translations/en.po +16 -4
- package/lang/translations/es.po +16 -4
- package/lang/translations/et.po +16 -4
- package/lang/translations/fi.po +16 -4
- package/lang/translations/fr.po +16 -4
- package/lang/translations/gl.po +16 -4
- package/lang/translations/he.po +16 -4
- package/lang/translations/hi.po +16 -4
- package/lang/translations/hr.po +16 -4
- package/lang/translations/hu.po +16 -4
- package/lang/translations/id.po +16 -4
- package/lang/translations/it.po +16 -4
- package/lang/translations/ja.po +16 -4
- package/lang/translations/ko.po +16 -4
- package/lang/translations/lt.po +16 -4
- package/lang/translations/lv.po +16 -4
- package/lang/translations/ms.po +16 -4
- package/lang/translations/nl.po +16 -4
- package/lang/translations/no.po +16 -4
- package/lang/translations/pl.po +16 -4
- package/lang/translations/pt-br.po +16 -4
- package/lang/translations/pt.po +16 -4
- package/lang/translations/ro.po +16 -4
- package/lang/translations/ru.po +16 -4
- package/lang/translations/sk.po +16 -4
- package/lang/translations/sr-latn.po +32 -20
- package/lang/translations/sr.po +33 -21
- package/lang/translations/sv.po +16 -4
- package/lang/translations/th.po +16 -4
- package/lang/translations/tk.po +16 -4
- package/lang/translations/tr.po +16 -4
- package/lang/translations/tt.po +16 -4
- package/lang/translations/uk.po +16 -4
- package/lang/translations/ur.po +16 -4
- package/lang/translations/vi.po +16 -4
- package/lang/translations/zh-cn.po +16 -4
- package/lang/translations/zh.po +16 -4
- package/package.json +4 -4
- package/src/commands/acceptsuggestioncommand.js +2 -2
- package/src/commands/discardsuggestioncommand.js +2 -2
- package/src/commands/executeonallsuggestionscommand.js +2 -2
- package/src/commands/executeonselectedsuggestionscommand.js +2 -2
- package/src/commands/trackchangescommand.js +2 -2
- package/src/index.js +1 -1
- package/src/integrations/alignment.js +2 -2
- package/src/integrations/basicstyles.js +2 -2
- package/src/integrations/blockquote.js +2 -2
- package/src/integrations/ckbox.js +2 -2
- package/src/integrations/codeblock.js +2 -2
- package/src/integrations/comments.js +2 -2
- package/src/integrations/deletecommand.js +2 -2
- package/src/integrations/documentlist.js +2 -2
- package/src/integrations/documentlistproperties.js +2 -2
- package/src/integrations/entercommand.js +2 -2
- package/src/integrations/findandreplace.js +23 -0
- package/src/integrations/font.js +2 -2
- package/src/integrations/heading.js +2 -2
- package/src/integrations/highlight.js +2 -2
- package/src/integrations/horizontalline.js +2 -2
- package/src/integrations/htmlembed.js +2 -2
- package/src/integrations/image.js +2 -2
- package/src/integrations/imagereplace.js +23 -0
- package/src/integrations/importword.js +2 -2
- package/src/integrations/indent.js +2 -2
- package/src/integrations/inputcommand.js +2 -2
- package/src/integrations/link.js +2 -2
- package/src/integrations/list.js +2 -2
- package/src/integrations/listproperties.js +2 -2
- package/src/integrations/mediaembed.js +2 -2
- package/src/integrations/mention.js +2 -2
- package/src/integrations/pagebreak.js +2 -2
- package/src/integrations/paragraph.js +2 -2
- package/src/integrations/removeformat.js +2 -2
- package/src/integrations/restrictededitingmode.js +2 -2
- package/src/integrations/shiftentercommand.js +2 -2
- package/src/integrations/standardeditingmode.js +2 -2
- package/src/integrations/style.js +2 -2
- package/src/integrations/table.js +2 -2
- package/src/integrations/tablecaption.js +2 -2
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +2 -2
- package/src/integrations/tableheadings.js +2 -2
- package/src/integrations/tablemergesplit.js +2 -2
- package/src/integrations/tableproperties.js +23 -0
- package/src/integrations/title.js +2 -2
- package/src/integrations/undo.js +2 -2
- package/src/integrations/utils.js +2 -2
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +2 -2
- package/src/trackchanges.js +2 -2
- package/src/trackchangesdata.js +2 -2
- package/src/trackchangesediting.js +2 -2
- package/src/trackchangesui.js +2 -2
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +2 -2
- package/src/ui/view/suggestionthreadview.js +2 -2
- package/src/utils/common-translations.js +2 -2
- package/src/utils/utils.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2e09=['reduce','has','redo','suggestion','findAncestor','deletionRanges','isInContent','tablePaste','differ','deletion','getRanges','documentSelection','clipboardOutput','activeMarkers','insertRows','next','setAttributes','createRange','isEqual','batch','options','columns','remove','change','elementToElement','insertion','_getCoordsForCells','_tablePostFixingSubtypes','markers','set','selection','oldRange','rows','_replaceTableSlotCell','tableCellBorderColor','getColumns','getContainedElement','columnInsertionIndexes','previous','createRangeIn','trackChanges','showSuggestionHighlights','_splitMarkerName','discard','registerPostFixer','isEmpty','tablePasteChainId','fill','plugins','first','tablePasteColumn','push','registerCustomCallback','subType','join','for','rootName','insertContent','ck-suggestion-marker--active','ck-suggestion-marker-insertion','afterInit','view','getItems','endRow','model','every','getMarkers','cell','suggestionLoaded','getChildren','_isForcedDefaultExecutionBlock','markerName','table','root','formatBlock','insert','registerDescriptionCallback','rowInsertionIndexes','removeMarker','get','row','locale','editor','editing','getChangedMarkers','editingDowncast','register','markMultiRangeDeletion','tableCellSuggestion','forceDefaultExecution','getSuggestion','createElement','length','filter','markMultiRangeInsertion','name','getAttributes','document','type','newRange','listenTo','element','from','high','removeColumns','getRange','accept','map','Users','TrackChangesEditing','dataDowncast','createRangeOn','paragraph','getSuggestions','attributes','startsWith','author','commands','low','tablePasteRow','find','position','tablePasteCell','return','updateMarker','createTableWalker','some','tableCellVerticalAlignment','getChild','getAllAdjacentSuggestions','_suggestionFactory','tableCellBackgroundColor','start','nextSibling','getTableIfOnlyTableInContent','suggestion:formatBlock:tablePasteCell','cells','*Replace\x20table\x20cells*','content','getShiftedBy','tableCellBorderStyle','includes','getColumnIndexes','fromEntries','$graveyard','tableCellPadding','add','last','TableClipboard','tableCell','unwrap','suggestion-td','insertColumns','tableCellBorderWidth','createPositionBefore','_createdBatches','conversion','getRows','getRowIndexes','hasSuggestion','requires','columnInsertionRanges','value','end','markerAttributes'];(function(_0x49b3a2,_0x2e0908){const _0x35db68=function(_0x2d5e73){while(--_0x2d5e73){_0x49b3a2['push'](_0x49b3a2['shift']());}};_0x35db68(++_0x2e0908);}(_0x2e09,0x199));const _0x35db=function(_0x49b3a2,_0x2e0908){_0x49b3a2=_0x49b3a2-0x0;let _0x35db68=_0x2e09[_0x49b3a2];return _0x35db68;};import{getTranslation as _0x305469}from'../utils/common-translations';import{Plugin as _0x28fe40}from'ckeditor5/src/core';import _0x3178ed from'./table';import{uid as _0x1dfe82,priorities as _0x4dc299}from'ckeditor5/src/utils';const le=[_0x35db('0x4a'),_0x35db('0x78'),_0x35db('0x3d'),'tableCellHorizontalAlignment',_0x35db('0x30'),_0x35db('0x34'),_0x35db('0x42')],ae=Object[_0x35db('0x40')](le[_0x35db('0x1c')](_0xadfbe6=>[_0xadfbe6,null]));export default class pt extends _0x28fe40{static get[_0x35db('0x51')](){return[_0x3178ed];}[_0x35db('0x92')](){const _0x55617f=this[_0x35db('0x3')];if(!_0x55617f[_0x35db('0x86')]['has'](_0x35db('0x45')))return;const _0xc47c7b=_0x55617f['plugins'][_0x35db('0x0')](_0x35db('0x1e')),_0xb69154=_0x55617f['plugins']['get']('TableUtils'),_0x26e2e9=_0x55617f['plugins'][_0x35db('0x0')](_0x3178ed),_0x575eba=_0x55617f[_0x35db('0x86')][_0x35db('0x0')](_0x35db('0x45'));_0x26e2e9[_0x35db('0x71')]['push'](_0x35db('0x28'),_0x35db('0x88')),_0x55617f[_0x35db('0x96')]['schema'][_0x35db('0x7')]('tableCellSuggestion',{'allowIn':_0x35db('0x46'),'allowContentOf':_0x35db('0x46'),'isLimit':!0x0}),_0x55617f[_0x35db('0x4d')][_0x35db('0x6e')]({'model':'tableCellSuggestion','view':_0x35db('0x48')});let _0x1452e6=null;_0x55617f[_0x35db('0x96')]['on'](_0x35db('0x8f'),(_0x2f239d,_0x415a35)=>{const [_0x1c71e1,_0x2e2761]=_0x415a35,_0x4f70b3=_0x415a35[_0x415a35[_0x35db('0xd')]-0x1];_0x4f70b3&&_0x4f70b3[_0x35db('0xa')]||_0xc47c7b[_0x35db('0x9c')]||this[_0x35db('0x3')][_0x35db('0x26')][_0x35db('0x0')](_0x35db('0x7e'))[_0x35db('0x53')]&&function(_0x17b42b,_0x46f660,_0x350c44,_0x1d6728,_0x5694be){if(_0x46f660&&!_0x46f660['is'](_0x35db('0x61')))return!0x1;const _0x5edb22=_0x5694be[_0x35db('0x37')](_0x17b42b,_0x350c44);if(!_0x5edb22||!fe(_0x5edb22,null,_0x1d6728))return!0x1;const _0x3d2c64=_0x1d6728['getSelectionAffectedTableCells'](_0x350c44['document'][_0x35db('0x74')]);if(!_0x3d2c64[_0x35db('0xd')])return!0x1;const _0x51c5aa=_0x3d2c64[0x0][_0x35db('0x5a')]('table'),_0x2210b6=_0x1d6728[_0x35db('0x4f')](_0x3d2c64),_0xdbbad7=_0x1d6728[_0x35db('0x3f')](_0x3d2c64),_0x295750={'startRow':_0x2210b6[_0x35db('0x87')],'endRow':_0x2210b6['last'],'startColumn':_0xdbbad7[_0x35db('0x87')],'endColumn':_0xdbbad7[_0x35db('0x44')]};return 0x1==_0x3d2c64[_0x35db('0xd')]&&(_0x295750[_0x35db('0x95')]+=_0x1d6728[_0x35db('0x4e')](_0x5edb22)-0x1,_0x295750['endColumn']+=_0x1d6728[_0x35db('0x79')](_0x5edb22)-0x1),fe(_0x51c5aa,_0x295750,_0x1d6728);}(_0x1c71e1,_0x2e2761,_0x55617f['model'],_0xb69154,_0x575eba)&&(_0x2f239d['stop'](),_0x1452e6={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x55617f[_0x35db('0x96')][_0x35db('0x6d')](()=>{_0x55617f[_0x35db('0x96')][_0x35db('0x8f')](_0x415a35[0x0],_0x415a35[0x1],_0x415a35[0x2],_0x415a35[0x3],{'forceDefaultExecution':!0x0});const _0x371e19=_0x1dfe82(),{rowInsertionRanges:_0x2c89ad,columnInsertionRanges:_0x5ac65a,insertionRanges:_0x2fc5f9,deletionRanges:_0x4cdf35,cells:_0x4ce2ec}=_0x1452e6;_0x2c89ad['length']&&_0xc47c7b[_0x35db('0xf')](_0x2c89ad,_0x35db('0x28'),{'tablePasteChainId':_0x371e19}),_0x5ac65a[_0x35db('0xd')]&&_0xc47c7b[_0x35db('0xf')](_0x5ac65a,'tablePasteColumn',{'tablePasteChainId':_0x371e19}),_0x2fc5f9[_0x35db('0xd')]&&_0xc47c7b[_0x35db('0xf')](_0x2fc5f9,'tablePaste',{'tablePasteChainId':_0x371e19,'skipNestingCheck':!0x0}),_0x4cdf35[_0x35db('0xd')]&&_0xc47c7b[_0x35db('0x8')](_0x4cdf35,_0x35db('0x5d'),{'tablePasteChainId':_0x371e19,'skipNestingCheck':!0x0});const _0x105b43=_0xc47c7b['markMultiRangeBlockFormat'](_0x4ce2ec[_0x35db('0x1c')](({element:_0xa8f72a})=>_0xa8f72a),{'formatGroupId':_0x1dfe82()},[],_0x35db('0x2b'),{'tablePasteChainId':_0x371e19});if(_0x105b43){const _0x90a2b2=_0x105b43['getMarkers'](),_0x513059=[];for(const {element:_0x1a3f79,attributes:_0x520f02}of _0x4ce2ec){if(!_0x520f02)continue;const _0x247f48=_0x55617f[_0x35db('0x96')][_0x35db('0x20')](_0x1a3f79),_0xd67f9c=_0x90a2b2[_0x35db('0x29')](_0x3f9242=>_0x3f9242[_0x35db('0x1a')]()[_0x35db('0x68')](_0x247f48));_0xd67f9c&&_0x513059[_0x35db('0x89')]([_0xd67f9c[_0x35db('0x10')],_0x520f02]);}_0x513059[_0x35db('0xd')]&&_0x105b43['setAttribute'](_0x35db('0x55'),Object[_0x35db('0x40')](_0x513059));}_0x1452e6=null;}));},{'priority':_0x4dc299[_0x35db('0x18')]+0xa}),_0x55617f[_0x35db('0x86')][_0x35db('0x0')]('TableClipboard')['on'](_0x35db('0x77'),(_0xcba8d0,_0x59b53f)=>{const [_0xdbb9a9,_0x54dfcf,,_0x5f40a0]=_0x59b53f;if(!_0x1452e6)return;_0xcba8d0['stop']();const _0x4e52fb=_0xdbb9a9[_0x35db('0x99')],_0x50a15b=_0x54dfcf,_0xefa11f=ce(_0x4e52fb),_0x2136ac=ce(_0x50a15b);_0xcba8d0[_0x35db('0x2c')]=_0x4e52fb;let _0x585976=null,_0x42bbcc=null;if(_0x2136ac||_0xefa11f){if(_0xefa11f&&!_0x2136ac){_0x5f40a0[_0x35db('0x6c')](_0x4e52fb[_0x35db('0x31')](0x0));for(const _0x2c2c9f of Array['from'](_0x50a15b[_0x35db('0x9b')]()))_0x5f40a0['insert'](_0x2c2c9f,_0x4e52fb,'end');const _0x333ae1=_0x1452e6[_0x35db('0xa3')][_0x35db('0x3e')](_0xdbb9a9[_0x35db('0x1')]),_0xa6d334=_0x1452e6[_0x35db('0x7b')][_0x35db('0x3e')](_0xdbb9a9['column']);_0x333ae1||_0xa6d334||(_0x585976=_0x5f40a0[_0x35db('0x7d')](_0x4e52fb));}else _0x2136ac&&!_0xefa11f&&(_0x42bbcc=_0x5f40a0[_0x35db('0x7d')](_0x4e52fb));}else{const _0x3c3b0f=_0x5f40a0[_0x35db('0xc')](_0x35db('0x9')),_0x2aed02=_0x5f40a0[_0x35db('0xc')](_0x35db('0x9'));_0x5f40a0['wrap'](_0x5f40a0[_0x35db('0x7d')](_0x4e52fb),_0x2aed02),_0x5f40a0[_0x35db('0xa1')](_0x3c3b0f,_0x4e52fb,0x0);for(const _0x2952d4 of Array[_0x35db('0x17')](_0x50a15b[_0x35db('0x9b')]()))_0x5f40a0['insert'](_0x2952d4,_0x3c3b0f,_0x35db('0x54'));_0x585976=_0x5f40a0[_0x35db('0x20')](_0x3c3b0f),_0x42bbcc=_0x5f40a0[_0x35db('0x20')](_0x2aed02);}const _0x5171d0=Array[_0x35db('0x17')](_0x50a15b[_0x35db('0x11')]())['filter'](([_0x4d497e])=>le[_0x35db('0x3e')](_0x4d497e));_0x1452e6[_0x35db('0x39')][_0x35db('0x89')]({'element':_0x4e52fb,'attributes':_0x5171d0['length']?Object[_0x35db('0x40')](_0x5171d0):null}),_0x585976&&_0x1452e6['insertionRanges'][_0x35db('0x89')](_0x585976),_0x42bbcc&&_0x1452e6[_0x35db('0x5b')][_0x35db('0x89')](_0x42bbcc);},{'priority':_0x35db('0x18')}),_0xb69154['on'](_0x35db('0x49'),(_0x20a995,_0x54ed9b)=>{const [_0xe8dbf4,_0x1374da={}]=_0x54ed9b;if(!_0x1452e6)return;const _0x1d1282=_0x1374da['at']||0x0,_0x38444c=_0x1374da[_0x35db('0x6b')]||0x1;_0x1452e6[_0x35db('0x7b')]=new Array(_0x38444c)['fill'](_0x1d1282)[_0x35db('0x1c')]((_0x2028f4,_0x15205c)=>_0x2028f4+_0x15205c);for(const {cell:_0x491b1a}of _0xb69154[_0x35db('0x2e')](_0xe8dbf4,{'startColumn':_0x1d1282,'endColumn':_0x1d1282+_0x38444c-0x1}))_0x1452e6[_0x35db('0x52')]['push'](_0x55617f[_0x35db('0x96')][_0x35db('0x20')](_0x491b1a));},{'priority':'low'}),_0xb69154['on'](_0x35db('0x64'),(_0x4bbb58,_0x281a6c)=>{const [_0x3589be,_0x23c201={}]=_0x281a6c;if(!_0x1452e6)return;const _0x3930ab=_0x23c201['at']||0x0,_0x2d82fa=_0x23c201[_0x35db('0x76')]||0x1;_0x1452e6['rowInsertionIndexes']=new Array(_0x2d82fa)[_0x35db('0x85')](_0x3930ab)['map']((_0x21cf6c,_0x2ecbd3)=>_0x21cf6c+_0x2ecbd3);for(const {cell:_0x71ead7}of _0xb69154['createTableWalker'](_0x3589be,{'startRow':_0x3930ab,'endRow':_0x3930ab+_0x2d82fa-0x1}))_0x1452e6['rowInsertionRanges'][_0x35db('0x89')](_0x55617f[_0x35db('0x96')]['createRangeOn'](_0x71ead7));},{'priority':_0x35db('0x27')}),_0xc47c7b['_descriptionFactory'][_0x35db('0xa2')](_0x5aff06=>{if(_0x5aff06[_0x35db('0x8b')]&&_0x5aff06[_0x35db('0x8b')][_0x35db('0x24')]('tablePaste'))return _0x5aff06['previous']?{}:{'type':_0x35db('0x6f'),'content':_0x305469(_0x55617f[_0x35db('0x2')],_0x35db('0x3a'))};});const _0x18541f=()=>{};for(const _0x45c9ec of[_0x35db('0x5d'),_0x35db('0x88'),_0x35db('0x28'),_0x35db('0x2b')])_0xc47c7b['_suggestionFactory'][_0x35db('0x8a')](_0x35db('0x6f'),_0x45c9ec,'join',_0x18541f),_0xc47c7b['_suggestionFactory'][_0x35db('0x8a')](_0x35db('0x5f'),_0x45c9ec,_0x35db('0x8c'),_0x18541f);_0xc47c7b[_0x35db('0x33')][_0x35db('0x8a')](_0x35db('0xa0'),'tablePasteCell',_0x35db('0x81'),_0x18541f),_0xc47c7b['_suggestionFactory'][_0x35db('0x8a')](_0x35db('0xa0'),'tablePasteCell',_0x35db('0x1b'),(_0x5384ee,_0x7963ba,_0x2841ad)=>{const _0x1c6458=_0x5384ee['map'](_0x731b97=>_0x731b97[_0x35db('0x7a')]())['filter'](_0x317edc=>_0x317edc),_0x3359eb=new Map(_0x1c6458[_0x35db('0x1c')](_0x259429=>[_0x259429,null]));if(_0x1452e6)for(const {element:_0x333ef6,attributes:_0x2ae4e2}of _0x1452e6[_0x35db('0x39')])_0x2ae4e2&&_0x3359eb[_0x35db('0x73')](_0x333ef6,_0x2ae4e2);else{if(_0x2841ad&&_0x2841ad[_0x35db('0x55')])for(const [_0x414c31,_0x12f469]of Object['entries'](_0x2841ad[_0x35db('0x55')])){const _0x29f529=_0x55617f[_0x35db('0x96')][_0x35db('0x72')]['get'](_0x414c31),_0x20f67c=_0x29f529?_0x29f529[_0x35db('0x1a')]()[_0x35db('0x7a')]():null;_0x20f67c&&_0x3359eb[_0x35db('0x73')](_0x20f67c,_0x12f469);}}_0x55617f[_0x35db('0x96')][_0x35db('0x6d')](_0x41f749=>{for(const [_0x34107a,_0x2bd5d8]of _0x3359eb)_0x41f749[_0x35db('0x66')]({...ae,..._0x2bd5d8},_0x34107a);});});const _0x3734fd=(_0x5d3d83,_0x5d4006)=>{_0xc47c7b['_suggestionFactory'][_0x35db('0x8a')](_0x5d3d83,_0x35db('0x5d'),_0x5d4006,(_0x296c98,_0x3ea29d,_0x522c3d)=>{_0x55617f['model'][_0x35db('0x6d')](_0x50991f=>{const _0x34a89c=[];for(const _0x2e6449 of _0x296c98){const _0x24c5b1=_0x2e6449[_0x35db('0x35')]['nodeAfter'];_0x24c5b1['is'](_0x35db('0x16'),_0x35db('0x9'))&&_0x34a89c[_0x35db('0x89')](_0x24c5b1);}_0xc47c7b[_0x35db('0x33')]['getSuggestionCallback'](_0x5d3d83,null,_0x5d4006)(_0x296c98,_0x3ea29d,_0x522c3d);for(const _0x348a14 of _0x34a89c)_0x35db('0x41')!=_0x348a14[_0x35db('0x9f')][_0x35db('0x8e')]&&_0x50991f[_0x35db('0x47')](_0x348a14);});});};_0x3734fd(_0x35db('0x6f'),_0x35db('0x1b')),_0x3734fd(_0x35db('0x6f'),_0x35db('0x81')),_0x3734fd(_0x35db('0x5f'),'accept'),_0x3734fd(_0x35db('0x5f'),_0x35db('0x81')),_0xc47c7b['_suggestionFactory'][_0x35db('0x8a')](_0x35db('0x6f'),_0x35db('0x28'),_0x35db('0x81'),_0xf04e0b=>{const _0x4cd2b2=_0xf04e0b[_0x35db('0x1c')](_0x418326=>_0x418326[_0x35db('0x7a')]()),_0x4338a5=_0x4cd2b2[0x0][_0x35db('0x5a')](_0x35db('0x9e')),{minRow:_0x47964d,maxRow:_0x486855}=_0x26e2e9['_getCoordsForCells'](_0x4cd2b2);_0xb69154['removeRows'](_0x4338a5,{'at':_0x47964d,'rows':_0x486855-_0x47964d+0x1});}),_0xc47c7b[_0x35db('0x33')][_0x35db('0x8a')](_0x35db('0x6f'),_0x35db('0x88'),_0x35db('0x81'),_0x4bb2e5=>{const _0xec0c59=_0x4bb2e5[_0x35db('0x1c')](_0x157915=>_0x157915[_0x35db('0x7a')]()),_0x42ed5b=_0xec0c59[0x0][_0x35db('0x5a')](_0x35db('0x9e')),{minColumn:_0x63965f,maxColumn:_0x1b6fc2}=_0x26e2e9[_0x35db('0x70')](_0xec0c59);_0xb69154[_0x35db('0x19')](_0x42ed5b,{'at':_0x63965f,'columns':_0x1b6fc2-_0x63965f+0x1});});const _0x5a1b72=(_0x4c0aa8,_0x41a84c)=>{if(!_0x41a84c[_0x35db('0x8b')]||!_0x41a84c[_0x35db('0x8b')][_0x35db('0x24')]('tablePaste'))return;const _0x1ca691=_0x41a84c['attributes'][_0x35db('0x84')],_0x14c894=_0xc47c7b[_0x35db('0x22')]()['filter'](_0x2ba2fb=>_0x2ba2fb[_0x35db('0x5c')]&&_0x2ba2fb[_0x35db('0x23')]&&_0x2ba2fb[_0x35db('0x23')][_0x35db('0x84')]==_0x1ca691);_0x14c894['length']&&_0x41a84c[_0x35db('0x32')]()[_0x35db('0xd')]!=_0x14c894['length']&&_0x14c894[_0x35db('0x56')]((_0x2d835a,_0x429793)=>(_0x2d835a[_0x35db('0x65')]=_0x429793,_0x429793[_0x35db('0x7c')]=_0x2d835a,_0x429793));};function _0xc97f1d(_0x1427b0,{showActiveMarker:_0x25c69b=!0x0}={}){const {id:_0x512e9d}=_0xc47c7b[_0x35db('0x80')](_0x1427b0[_0x35db('0x9d')]),_0x470303=['ck-suggestion-marker',_0x35db('0x91')],_0xbda9c3=_0xc47c7b[_0x35db('0x63')][_0x35db('0x3e')](_0x1427b0[_0x35db('0x9d')]);return _0xbda9c3&&_0x470303[_0x35db('0x89')](_0x35db('0x90')),{'classes':_0x470303,'attributes':{'data-suggestion':_0x512e9d},'priority':_0xbda9c3&&_0x25c69b?0xbc2:0xbb8};}_0xc47c7b['on'](_0x35db('0x9a'),_0x5a1b72,{'priority':'high'}),_0xc47c7b['on']('suggestionUnloaded',_0x5a1b72,{'priority':_0x35db('0x18')}),_0x55617f['model']['document'][_0x35db('0x82')](()=>{let _0x402255=!0x1;const _0x4a940d=Array['from'](_0x55617f['model'][_0x35db('0x12')]['differ'][_0x35db('0x5')]());for(const {name:_0x422e45,data:_0x5d8dc1}of _0x4a940d){const {group:_0xce6ba1,type:_0x367d82,id:_0x1a1d2f}=_0xc47c7b[_0x35db('0x80')](_0x422e45);if(_0x35db('0x59')!=_0xce6ba1||'deletion'!=_0x367d82||_0x5d8dc1[_0x35db('0x75')])continue;if(!_0xc47c7b[_0x35db('0x50')](_0x1a1d2f))continue;const _0x4eb251=_0xc47c7b[_0x35db('0xb')](_0x1a1d2f)[_0x35db('0x60')](),_0x29cc3b=_0x55617f[_0x35db('0x86')][_0x35db('0x0')](_0x35db('0x1d'))['me'];for(const _0xb78eb6 of _0xc47c7b[_0x35db('0x22')]()){if(!_0xb78eb6[_0x35db('0x5c')]||_0xb78eb6[_0x35db('0x25')]!=_0x29cc3b)continue;if(_0x35db('0xa0')!=_0xb78eb6['type']||_0x35db('0x2b')!=_0xb78eb6[_0x35db('0x8b')])continue;if(_0xb78eb6[_0x35db('0x60')]()[_0x35db('0x97')](_0x4919d5=>_0x4eb251[_0x35db('0x2f')](_0x2d56d2=>_0x2d56d2['containsRange'](_0x4919d5,!0x0))))for(const _0x13dff2 of _0xb78eb6[_0x35db('0x32')]())_0x13dff2['isInContent']&&(_0x13dff2['discard'](),_0x402255=!0x0);}}return _0x402255;}),_0x55617f['model'][_0x35db('0x12')][_0x35db('0x82')](_0x48578e=>{const _0x562450=_0x55617f[_0x35db('0x26')]['get'](_0x35db('0x58'));if(!_0x562450||!_0x562450[_0x35db('0x4c')][_0x35db('0x57')](_0x48578e[_0x35db('0x69')]))return!0x1;let _0x29c0f0=!0x1;const _0x278d2b=_0x55617f['plugins'][_0x35db('0x0')](_0x35db('0x1d'))['me'],_0x1f0ef9=_0x55617f[_0x35db('0x96')]['document'][_0x35db('0x5e')]['getChanges'](),_0xa2b3a3=Array['from'](_0x55617f[_0x35db('0x96')][_0x35db('0x12')][_0x35db('0x5e')][_0x35db('0x5')]())[_0x35db('0xe')](({name:_0xfeb551,data:_0x58fa60})=>{const {group:_0x27215f,subType:_0x515674,authorId:_0x56a597}=_0xc47c7b[_0x35db('0x80')](_0xfeb551);return _0x35db('0x59')==_0x27215f&&_0x35db('0x5d')==_0x515674&&_0x56a597==_0x278d2b['id']&&!_0x58fa60[_0x35db('0x75')];});for(const _0x3bf32f of _0x1f0ef9){if(_0x35db('0xa1')!=_0x3bf32f[_0x35db('0x13')]||_0x35db('0x9')!=_0x3bf32f['name']||0x1!=_0x3bf32f[_0x35db('0xd')])continue;const _0x40c14c=_0x48578e[_0x35db('0x67')](_0x3bf32f['position'],_0x3bf32f[_0x35db('0x2a')][_0x35db('0x3c')](0x1));if(!_0xa2b3a3[_0x35db('0x29')](({data:_0x1b4e84})=>_0x1b4e84[_0x35db('0x14')][_0x35db('0x68')](_0x40c14c)))for(const {name:_0x3b67ee,data:_0x22a0a8}of _0xa2b3a3)if(_0x40c14c['containsRange'](_0x22a0a8['newRange'])){_0x48578e[_0x35db('0x2d')](_0x3b67ee,{'range':_0x40c14c}),_0x29c0f0=!0x0;break;}}return _0x29c0f0;}),_0x55617f[_0x35db('0x96')][_0x35db('0x12')]['registerPostFixer'](_0x2900bd=>{let _0x235f83=!0x1;const _0x1ee48c=_0x55617f[_0x35db('0x86')][_0x35db('0x0')](_0x35db('0x1d'))['me'],_0x6f18bf=_0xc47c7b['getSuggestions']()['filter'](_0x22c7b8=>_0x22c7b8[_0x35db('0x5c')]&&_0x22c7b8[_0x35db('0x25')]==_0x1ee48c),_0x4b71ab=new Set(),_0x54e5e7=new Set();for(const _0x698fae of _0x6f18bf)if(_0x35db('0x5d')==_0x698fae[_0x35db('0x8b')])for(const _0x1da382 of _0x698fae[_0x35db('0x98')]()){const _0xf3eb85=_0x1da382['getRange']()[_0x35db('0x7a')]();if(_0xf3eb85){if(_0xf3eb85['is'](_0x35db('0x16'),'tableCellSuggestion')&&ce(_0xf3eb85)){_0x698fae[_0x35db('0xa4')](_0x1da382[_0x35db('0x10')]),_0x4b71ab[_0x35db('0x43')](_0xf3eb85),_0x235f83=!0x0;const _0x12c073=_0xf3eb85[_0x35db('0x36')],_0x5e0139=_0xf3eb85['previousSibling'],_0x21d509=_0x12c073&&_0x12c073['is']('element',_0x35db('0x9')),_0x5e15c6=_0x5e0139&&_0x5e0139['is'](_0x35db('0x16'),'tableCellSuggestion');_0x21d509&&!_0x4b71ab['has'](_0x12c073)&&_0x54e5e7[_0x35db('0x43')](_0x12c073),_0x5e15c6&&!_0x4b71ab[_0x35db('0x57')](_0x5e0139)&&_0x54e5e7[_0x35db('0x43')](_0x5e0139);}else _0xf3eb85['is'](_0x35db('0x16'),'paragraph')&&_0xf3eb85[_0x35db('0x83')]&&(_0x698fae[_0x35db('0xa4')](_0x1da382[_0x35db('0x10')]),_0x235f83=!0x0);}}else{if(_0x35db('0x2b')==_0x698fae[_0x35db('0x8b')]){if(!_0x698fae[_0x35db('0x23')]||!_0x698fae[_0x35db('0x23')][_0x35db('0x84')])continue;const _0x2bcb32=_0x698fae[_0x35db('0x23')]['markerAttributes'];if(_0x2bcb32&&Object['keys'](_0x2bcb32)[_0x35db('0xd')])continue;const _0x26d9db=_0x698fae[_0x35db('0x23')][_0x35db('0x84')];let _0x23b496=!0x0,_0x255676=!0x0;for(const _0x3b5d60 of _0x6f18bf)if(_0x3b5d60[_0x35db('0x8b')]&&_0x3b5d60['subType'][_0x35db('0x24')](_0x35db('0x5d'))){if(!_0x3b5d60[_0x35db('0x23')][_0x35db('0x84')]){_0x255676=!0x1;break;}if(_0x3b5d60['id']!=_0x698fae['id']&&_0x3b5d60[_0x35db('0x23')]['tablePasteChainId']==_0x26d9db){_0x23b496=!0x1;break;}}_0x255676&&_0x23b496&&(_0x698fae['removeMarkers'](),_0x235f83=!0x0);}}for(const _0x1d44c0 of _0x4b71ab)_0x2900bd['remove'](_0x1d44c0);for(const _0x3c94e4 of _0x54e5e7)_0x2900bd[_0x35db('0x47')](_0x3c94e4);return _0x235f83;}),_0x55617f[_0x35db('0x4d')][_0x35db('0x8d')](_0x35db('0x6'))['markerToHighlight']({'model':_0x35db('0x38'),'view':_0xc97f1d,'converterPriority':_0x35db('0x18')}),_0x55617f[_0x35db('0x4d')]['for'](_0x35db('0x1f'))['markerToHighlight']({'model':_0x35db('0x38'),'view':(_0x450790,_0x1b4cb2)=>{if(_0x1b4cb2[_0x35db('0x6a')][_0x35db('0x7f')])return _0xc97f1d(_0x450790,{'showActiveMarker':!0x1});},'converterPriority':'high'});const _0xfc084f=_0x55617f[_0x35db('0x4')][_0x35db('0x93')];this[_0x35db('0x15')](_0xfc084f[_0x35db('0x12')],_0x35db('0x62'),(_0x1da648,_0x22fd89)=>{const _0x37167d=[];for(const _0xb6d5c3 of _0xfc084f['createRangeIn'](_0x22fd89[_0x35db('0x3b')])[_0x35db('0x94')]())_0xb6d5c3['is'](_0x35db('0x16'),'suggestion-td')&&_0x37167d[_0x35db('0x89')](_0xb6d5c3);_0xfc084f[_0x35db('0x6d')](_0x15e53c=>{for(const _0x5b817b of _0x37167d)_0x15e53c['move'](_0x15e53c['createRangeIn'](_0x5b817b),_0x15e53c[_0x35db('0x4b')](_0x5b817b)),_0x15e53c[_0x35db('0x6c')](_0x5b817b);});});}}function ce(_0xc82e7b){if(_0xc82e7b[_0x35db('0x83')])return!0x0;const _0x501896=_0xc82e7b['getChild'](0x0);return _0x501896['is'](_0x35db('0x16'),_0x35db('0x21'))&&_0x501896[_0x35db('0x83')];}function fe(_0x47cd71,_0x59785d={},_0xd72996){for(const {isAnchor:_0x1a306f,cellHeight:_0x26512f,cellWidth:_0x3de25e}of _0xd72996[_0x35db('0x2e')](_0x47cd71,{'includeAllSlots':!0x0,..._0x59785d}))if(!_0x1a306f||0x1!=_0x26512f||0x1!=_0x3de25e)return!0x1;return!0x0;}
|
|
23
|
+
const _0x349d=['model','markMultiRangeBlockFormat','end','nodeAfter','fromEntries','getContainedElement','high','table','find','Users','getSelectionAffectedTableCells','_tablePostFixingSubtypes','tablePasteCell','getColumnIndexes','getSuggestion','suggestion','has','wrap','insertionRanges','add','subType','selection','setAttribute','previousSibling','element','name','forceDefaultExecution','tableCellBorderWidth','removeMarkers','tableCellPadding','rows','ck-suggestion-marker-insertion','change','for','getSuggestions','_isForcedDefaultExecutionBlock','findAncestor','suggestionLoaded','markMultiRangeInsertion','suggestion-td','createPositionBefore','trackChanges','createElement','markMultiRangeDeletion','markers','commands','markerAttributes','attributes','next','formatBlock','move','author','unwrap','keys','removeRows','rowInsertionIndexes','schema','_getCoordsForCells','tableCellBackgroundColor','differ','endRow','_splitMarkerName','activeMarkers','nextSibling','registerPostFixer','cell','push','previous','markerToHighlight','isInContent','column','removeMarker','afterInit','tableCellVerticalAlignment','endColumn','suggestion:formatBlock:tablePasteCell','root','rootName','remove','editor','TableClipboard','length','start','clipboardOutput','getTableIfOnlyTableInContent','getColumns','dataDowncast','from','startsWith','set','view','columns','createRange','markerName','updateMarker','registerDescriptionCallback','createRangeIn','createTableWalker','content','isEmpty','low','getRanges','getChildren','columnInsertionIndexes','tablePasteColumn','redo','$graveyard','batch','stop','insert','some','every','ck-suggestion-marker','tablePasteRow','document','_createdBatches','getRows','isEqual','insertRows','get','register','columnInsertionRanges','includes','removeColumns','accept','type','listenTo','last','editingDowncast','requires','filter','registerCustomCallback','showSuggestionHighlights','createRangeOn','getItems','cells','fill','_replaceTableSlotCell','suggestionUnloaded','join','tablePasteChainId','getAllAdjacentSuggestions','getSuggestionCallback','tablePaste','_suggestionFactory','tableCellSuggestion','deletion','map','oldRange','insertion','row','reduce','getRowIndexes','paragraph','elementToElement','plugins','setAttributes','options','discard','conversion','getRange','tableCellBorderStyle','newRange','getChild','getChanges','tableCell','getMarkers','containsRange','position','tableCellBorderColor','entries','getChangedMarkers','first'];(function(_0x49a9fe,_0x349dc3){const _0x43691e=function(_0x2d6952){while(--_0x2d6952){_0x49a9fe['push'](_0x49a9fe['shift']());}};_0x43691e(++_0x349dc3);}(_0x349d,0x199));const _0x4369=function(_0x49a9fe,_0x349dc3){_0x49a9fe=_0x49a9fe-0x0;let _0x43691e=_0x349d[_0x49a9fe];return _0x43691e;};import{getTranslation as _0x48a25c}from'../utils/common-translations';import{Plugin as _0x1f5731}from'ckeditor5/src/core';import _0x5615a7 from'./table';import{uid as _0x37e22f,priorities as _0x3f4cbc}from'ckeditor5/src/utils';const ae=[_0x4369('0x89'),_0x4369('0x6a'),_0x4369('0x62'),'tableCellHorizontalAlignment',_0x4369('0xa'),_0x4369('0xa8'),_0x4369('0x8b')],ce=Object[_0x4369('0x72')](ae[_0x4369('0x54')](_0x6a111e=>[_0x6a111e,null]));export default class wt extends _0x1f5731{static get[_0x4369('0x42')](){return[_0x5615a7];}[_0x4369('0x9')](){const _0x21ebb5=this[_0x4369('0x10')];if(!_0x21ebb5[_0x4369('0x5c')]['has'](_0x4369('0x11')))return;const _0x3f9d7d=_0x21ebb5[_0x4369('0x5c')]['get']('TrackChangesEditing'),_0xfc873=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')]('TableUtils'),_0x3c5dd1=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')](_0x5615a7),_0x3b7906=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')]('TableClipboard');_0x3c5dd1[_0x4369('0x79')][_0x4369('0x3')](_0x4369('0x32'),_0x4369('0x29')),_0x21ebb5[_0x4369('0x6e')][_0x4369('0xa6')][_0x4369('0x39')](_0x4369('0x52'),{'allowIn':'tableCell','allowContentOf':_0x4369('0x66'),'isLimit':!0x0}),_0x21ebb5[_0x4369('0x60')][_0x4369('0x5b')]({'model':_0x4369('0x52'),'view':_0x4369('0x95')});let _0x304b69=null;_0x21ebb5[_0x4369('0x6e')]['on']('insertContent',(_0x2235f8,_0x3c6cb0)=>{const [_0x232b5d,_0x55b419]=_0x3c6cb0,_0x37925a=_0x3c6cb0[_0x3c6cb0[_0x4369('0x12')]-0x1];_0x37925a&&_0x37925a[_0x4369('0x88')]||_0x3f9d7d[_0x4369('0x91')]||this[_0x4369('0x10')][_0x4369('0x9b')][_0x4369('0x38')](_0x4369('0x97'))['value']&&function(_0x50c8a8,_0x18b6a8,_0x3485a4,_0x55c453,_0x4b6c3a){if(_0x18b6a8&&!_0x18b6a8['is']('documentSelection'))return!0x1;const _0x301ed8=_0x4b6c3a[_0x4369('0x15')](_0x50c8a8,_0x3485a4);if(!_0x301ed8||!ue(_0x301ed8,null,_0x55c453))return!0x1;const _0x5eaeeb=_0x55c453[_0x4369('0x78')](_0x3485a4[_0x4369('0x33')][_0x4369('0x83')]);if(!_0x5eaeeb['length'])return!0x1;const _0x486a58=_0x5eaeeb[0x0]['findAncestor']('table'),_0x330ae5=_0x55c453[_0x4369('0x59')](_0x5eaeeb),_0x2221fe=_0x55c453[_0x4369('0x7b')](_0x5eaeeb),_0x2888bd={'startRow':_0x330ae5[_0x4369('0x6d')],'endRow':_0x330ae5[_0x4369('0x40')],'startColumn':_0x2221fe[_0x4369('0x6d')],'endColumn':_0x2221fe[_0x4369('0x40')]};return 0x1==_0x5eaeeb['length']&&(_0x2888bd[_0x4369('0xaa')]+=_0x55c453[_0x4369('0x35')](_0x301ed8)-0x1,_0x2888bd[_0x4369('0xb')]+=_0x55c453[_0x4369('0x16')](_0x301ed8)-0x1),ue(_0x486a58,_0x2888bd,_0x55c453);}(_0x232b5d,_0x55b419,_0x21ebb5[_0x4369('0x6e')],_0xfc873,_0x3b7906)&&(_0x2235f8[_0x4369('0x2d')](),_0x304b69={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x21ebb5['model'][_0x4369('0x8e')](()=>{_0x21ebb5[_0x4369('0x6e')]['insertContent'](_0x3c6cb0[0x0],_0x3c6cb0[0x1],_0x3c6cb0[0x2],_0x3c6cb0[0x3],{'forceDefaultExecution':!0x0});const _0x3a1225=_0x37e22f(),{rowInsertionRanges:_0x11023a,columnInsertionRanges:_0x14de78,insertionRanges:_0x2c6772,deletionRanges:_0x1a514b,cells:_0x57a4f1}=_0x304b69;_0x11023a[_0x4369('0x12')]&&_0x3f9d7d['markMultiRangeInsertion'](_0x11023a,_0x4369('0x32'),{'tablePasteChainId':_0x3a1225}),_0x14de78[_0x4369('0x12')]&&_0x3f9d7d['markMultiRangeInsertion'](_0x14de78,_0x4369('0x29'),{'tablePasteChainId':_0x3a1225}),_0x2c6772[_0x4369('0x12')]&&_0x3f9d7d[_0x4369('0x94')](_0x2c6772,_0x4369('0x50'),{'tablePasteChainId':_0x3a1225,'skipNestingCheck':!0x0}),_0x1a514b[_0x4369('0x12')]&&_0x3f9d7d[_0x4369('0x99')](_0x1a514b,'tablePaste',{'tablePasteChainId':_0x3a1225,'skipNestingCheck':!0x0});const _0x5ee89d=_0x3f9d7d[_0x4369('0x6f')](_0x57a4f1[_0x4369('0x54')](({element:_0x55fe05})=>_0x55fe05),{'formatGroupId':_0x37e22f()},[],_0x4369('0x7a'),{'tablePasteChainId':_0x3a1225});if(_0x5ee89d){const _0x3180ba=_0x5ee89d[_0x4369('0x67')](),_0x2f2a68=[];for(const {element:_0x1f8b25,attributes:_0x1d9ec7}of _0x57a4f1){if(!_0x1d9ec7)continue;const _0x3f6099=_0x21ebb5[_0x4369('0x6e')]['createRangeOn'](_0x1f8b25),_0x408ecc=_0x3180ba['find'](_0x3979d0=>_0x3979d0[_0x4369('0x61')]()['isEqual'](_0x3f6099));_0x408ecc&&_0x2f2a68[_0x4369('0x3')]([_0x408ecc['name'],_0x1d9ec7]);}_0x2f2a68['length']&&_0x5ee89d[_0x4369('0x84')](_0x4369('0x9c'),Object[_0x4369('0x72')](_0x2f2a68));}_0x304b69=null;}));},{'priority':_0x3f4cbc[_0x4369('0x74')]+0xa}),_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')](_0x4369('0x11'))['on'](_0x4369('0x4a'),(_0x4d44d4,_0x1e81bb)=>{const [_0x1152ca,_0x19f52a,,_0x40d56b]=_0x1e81bb;if(!_0x304b69)return;_0x4d44d4[_0x4369('0x2d')]();const _0x4e66c0=_0x1152ca[_0x4369('0x2')],_0x3875f7=_0x19f52a,_0x4ec789=fe(_0x4e66c0),_0x268caf=fe(_0x3875f7);_0x4d44d4['return']=_0x4e66c0;let _0x1cd2f2=null,_0x1c61d5=null;if(_0x268caf||_0x4ec789){if(_0x4ec789&&!_0x268caf){_0x40d56b[_0x4369('0xf')](_0x4e66c0[_0x4369('0x64')](0x0));for(const _0x46ed9e of Array[_0x4369('0x18')](_0x3875f7[_0x4369('0x27')]()))_0x40d56b[_0x4369('0x2e')](_0x46ed9e,_0x4e66c0,_0x4369('0x70'));const _0x1fcc92=_0x304b69[_0x4369('0xa5')][_0x4369('0x3b')](_0x1152ca[_0x4369('0x57')]),_0x56f8d1=_0x304b69[_0x4369('0x28')]['includes'](_0x1152ca[_0x4369('0x7')]);_0x1fcc92||_0x56f8d1||(_0x1cd2f2=_0x40d56b[_0x4369('0x21')](_0x4e66c0));}else _0x268caf&&!_0x4ec789&&(_0x1c61d5=_0x40d56b[_0x4369('0x21')](_0x4e66c0));}else{const _0x2ed75d=_0x40d56b['createElement']('tableCellSuggestion'),_0x11f91e=_0x40d56b[_0x4369('0x98')](_0x4369('0x52'));_0x40d56b[_0x4369('0x7f')](_0x40d56b[_0x4369('0x21')](_0x4e66c0),_0x11f91e),_0x40d56b[_0x4369('0x2e')](_0x2ed75d,_0x4e66c0,0x0);for(const _0x1c2643 of Array[_0x4369('0x18')](_0x3875f7[_0x4369('0x27')]()))_0x40d56b[_0x4369('0x2e')](_0x1c2643,_0x2ed75d,'end');_0x1cd2f2=_0x40d56b[_0x4369('0x46')](_0x2ed75d),_0x1c61d5=_0x40d56b[_0x4369('0x46')](_0x11f91e);}const _0x1f603a=Array[_0x4369('0x18')](_0x3875f7['getAttributes']())[_0x4369('0x43')](([_0x512f1d])=>ae[_0x4369('0x3b')](_0x512f1d));_0x304b69[_0x4369('0x48')][_0x4369('0x3')]({'element':_0x4e66c0,'attributes':_0x1f603a[_0x4369('0x12')]?Object['fromEntries'](_0x1f603a):null}),_0x1cd2f2&&_0x304b69[_0x4369('0x80')][_0x4369('0x3')](_0x1cd2f2),_0x1c61d5&&_0x304b69['deletionRanges'][_0x4369('0x3')](_0x1c61d5);},{'priority':'high'}),_0xfc873['on']('insertColumns',(_0x225a45,_0x422b29)=>{const [_0x1b1534,_0x29bf46={}]=_0x422b29;if(!_0x304b69)return;const _0x251efd=_0x29bf46['at']||0x0,_0x4c9d63=_0x29bf46[_0x4369('0x1c')]||0x1;_0x304b69[_0x4369('0x28')]=new Array(_0x4c9d63)[_0x4369('0x49')](_0x251efd)[_0x4369('0x54')]((_0x5170bb,_0x35bc51)=>_0x5170bb+_0x35bc51);for(const {cell:_0x2f0acb}of _0xfc873[_0x4369('0x22')](_0x1b1534,{'startColumn':_0x251efd,'endColumn':_0x251efd+_0x4c9d63-0x1}))_0x304b69[_0x4369('0x3a')][_0x4369('0x3')](_0x21ebb5[_0x4369('0x6e')][_0x4369('0x46')](_0x2f0acb));},{'priority':_0x4369('0x25')}),_0xfc873['on'](_0x4369('0x37'),(_0x5566a4,_0x199c73)=>{const [_0x22fcf3,_0x8cff55={}]=_0x199c73;if(!_0x304b69)return;const _0x7afb59=_0x8cff55['at']||0x0,_0x3bda9b=_0x8cff55[_0x4369('0x8c')]||0x1;_0x304b69['rowInsertionIndexes']=new Array(_0x3bda9b)[_0x4369('0x49')](_0x7afb59)[_0x4369('0x54')]((_0xdc7576,_0x4fb91f)=>_0xdc7576+_0x4fb91f);for(const {cell:_0x30a617}of _0xfc873[_0x4369('0x22')](_0x22fcf3,{'startRow':_0x7afb59,'endRow':_0x7afb59+_0x3bda9b-0x1}))_0x304b69['rowInsertionRanges'][_0x4369('0x3')](_0x21ebb5[_0x4369('0x6e')]['createRangeOn'](_0x30a617));},{'priority':_0x4369('0x25')}),_0x3f9d7d['_descriptionFactory'][_0x4369('0x20')](_0x4475ff=>{if(_0x4475ff[_0x4369('0x82')]&&_0x4475ff[_0x4369('0x82')][_0x4369('0x19')]('tablePaste'))return _0x4475ff[_0x4369('0x4')]?{}:{'type':_0x4369('0x56'),'content':_0x48a25c(_0x21ebb5['locale'],'*Replace\x20table\x20cells*')};});const _0x1a7807=()=>{};for(const _0x589178 of[_0x4369('0x50'),_0x4369('0x29'),'tablePasteRow',_0x4369('0x7a')])_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')]('insertion',_0x589178,'join',_0x1a7807),_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')](_0x4369('0x53'),_0x589178,_0x4369('0x4c'),_0x1a7807);_0x3f9d7d['_suggestionFactory'][_0x4369('0x44')](_0x4369('0x9f'),_0x4369('0x7a'),_0x4369('0x5f'),_0x1a7807),_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')]('formatBlock',_0x4369('0x7a'),_0x4369('0x3d'),(_0xdfc2ce,_0x1e0b4a,_0x344b3a)=>{const _0x4136cc=_0xdfc2ce['map'](_0x4e5edc=>_0x4e5edc['getContainedElement']())[_0x4369('0x43')](_0x40df44=>_0x40df44),_0x550cb8=new Map(_0x4136cc[_0x4369('0x54')](_0x2900ae=>[_0x2900ae,null]));if(_0x304b69)for(const {element:_0x5179f3,attributes:_0x161b46}of _0x304b69[_0x4369('0x48')])_0x161b46&&_0x550cb8[_0x4369('0x1a')](_0x5179f3,_0x161b46);else{if(_0x344b3a&&_0x344b3a[_0x4369('0x9c')])for(const [_0x5de1a8,_0x58826e]of Object[_0x4369('0x6b')](_0x344b3a[_0x4369('0x9c')])){const _0x421bda=_0x21ebb5['model'][_0x4369('0x9a')][_0x4369('0x38')](_0x5de1a8),_0x5004da=_0x421bda?_0x421bda[_0x4369('0x61')]()[_0x4369('0x73')]():null;_0x5004da&&_0x550cb8[_0x4369('0x1a')](_0x5004da,_0x58826e);}}_0x21ebb5[_0x4369('0x6e')][_0x4369('0x8e')](_0x1de505=>{for(const [_0x3901c5,_0x18e01f]of _0x550cb8)_0x1de505[_0x4369('0x5d')]({...ce,..._0x18e01f},_0x3901c5);});});const _0x578dfb=(_0x875b53,_0x13c9bb)=>{_0x3f9d7d[_0x4369('0x51')]['registerCustomCallback'](_0x875b53,_0x4369('0x50'),_0x13c9bb,(_0x544d1c,_0x38b84a,_0x4efb37)=>{_0x21ebb5['model']['change'](_0x39983e=>{const _0x20b09e=[];for(const _0x2f695e of _0x544d1c){const _0x1502c2=_0x2f695e[_0x4369('0x13')][_0x4369('0x71')];_0x1502c2['is'](_0x4369('0x86'),_0x4369('0x52'))&&_0x20b09e['push'](_0x1502c2);}_0x3f9d7d[_0x4369('0x51')][_0x4369('0x4f')](_0x875b53,null,_0x13c9bb)(_0x544d1c,_0x38b84a,_0x4efb37);for(const _0x410eb7 of _0x20b09e)_0x4369('0x2b')!=_0x410eb7[_0x4369('0xd')][_0x4369('0xe')]&&_0x39983e['unwrap'](_0x410eb7);});});};_0x578dfb(_0x4369('0x56'),_0x4369('0x3d')),_0x578dfb(_0x4369('0x56'),_0x4369('0x5f')),_0x578dfb(_0x4369('0x53'),_0x4369('0x3d')),_0x578dfb(_0x4369('0x53'),_0x4369('0x5f')),_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')](_0x4369('0x56'),_0x4369('0x32'),_0x4369('0x5f'),_0x4b264a=>{const _0x77d7d6=_0x4b264a[_0x4369('0x54')](_0x511953=>_0x511953[_0x4369('0x73')]()),_0x31570b=_0x77d7d6[0x0][_0x4369('0x92')](_0x4369('0x75')),{minRow:_0x1399cb,maxRow:_0x575d77}=_0x3c5dd1[_0x4369('0xa7')](_0x77d7d6);_0xfc873[_0x4369('0xa4')](_0x31570b,{'at':_0x1399cb,'rows':_0x575d77-_0x1399cb+0x1});}),_0x3f9d7d[_0x4369('0x51')][_0x4369('0x44')](_0x4369('0x56'),_0x4369('0x29'),_0x4369('0x5f'),_0x519426=>{const _0x52b3a3=_0x519426['map'](_0x1552f3=>_0x1552f3['getContainedElement']()),_0x41fe17=_0x52b3a3[0x0][_0x4369('0x92')]('table'),{minColumn:_0x1fc77f,maxColumn:_0x3b3d01}=_0x3c5dd1[_0x4369('0xa7')](_0x52b3a3);_0xfc873[_0x4369('0x3c')](_0x41fe17,{'at':_0x1fc77f,'columns':_0x3b3d01-_0x1fc77f+0x1});});const _0x20db95=(_0x4630c5,_0x34d382)=>{if(!_0x34d382[_0x4369('0x82')]||!_0x34d382[_0x4369('0x82')][_0x4369('0x19')](_0x4369('0x50')))return;const _0x539f66=_0x34d382[_0x4369('0x9d')][_0x4369('0x4d')],_0x2197c8=_0x3f9d7d[_0x4369('0x90')]()[_0x4369('0x43')](_0x136bd5=>_0x136bd5[_0x4369('0x6')]&&_0x136bd5[_0x4369('0x9d')]&&_0x136bd5[_0x4369('0x9d')][_0x4369('0x4d')]==_0x539f66);_0x2197c8[_0x4369('0x12')]&&_0x34d382[_0x4369('0x4e')]()[_0x4369('0x12')]!=_0x2197c8[_0x4369('0x12')]&&_0x2197c8[_0x4369('0x58')]((_0x8e021e,_0x5dc352)=>(_0x8e021e[_0x4369('0x9e')]=_0x5dc352,_0x5dc352[_0x4369('0x4')]=_0x8e021e,_0x5dc352));};function _0x38427f(_0x23868c,{showActiveMarker:_0x4f5c11=!0x0}={}){const {id:_0x3625ee}=_0x3f9d7d['_splitMarkerName'](_0x23868c[_0x4369('0x1e')]),_0x2355c9=[_0x4369('0x31'),_0x4369('0x8d')],_0x3e942a=_0x3f9d7d[_0x4369('0xac')]['includes'](_0x23868c[_0x4369('0x1e')]);return _0x3e942a&&_0x2355c9[_0x4369('0x3')]('ck-suggestion-marker--active'),{'classes':_0x2355c9,'attributes':{'data-suggestion':_0x3625ee},'priority':_0x3e942a&&_0x4f5c11?0xbc2:0xbb8};}_0x3f9d7d['on'](_0x4369('0x93'),_0x20db95,{'priority':_0x4369('0x74')}),_0x3f9d7d['on'](_0x4369('0x4b'),_0x20db95,{'priority':'high'}),_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')][_0x4369('0x1')](()=>{let _0x56f0d2=!0x1;const _0x5c98e7=Array['from'](_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')][_0x4369('0xa9')][_0x4369('0x6c')]());for(const {name:_0x3057e1,data:_0x1a823d}of _0x5c98e7){const {group:_0x1d399c,type:_0x3faa1f,id:_0x279b9e}=_0x3f9d7d[_0x4369('0xab')](_0x3057e1);if(_0x4369('0x7d')!=_0x1d399c||_0x4369('0x53')!=_0x3faa1f||_0x1a823d['oldRange'])continue;if(!_0x3f9d7d['hasSuggestion'](_0x279b9e))continue;const _0x403566=_0x3f9d7d[_0x4369('0x7c')](_0x279b9e)[_0x4369('0x26')](),_0x323a0b=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')](_0x4369('0x77'))['me'];for(const _0x3bb249 of _0x3f9d7d[_0x4369('0x90')]()){if(!_0x3bb249[_0x4369('0x6')]||_0x3bb249['author']!=_0x323a0b)continue;if(_0x4369('0x9f')!=_0x3bb249[_0x4369('0x3e')]||'tablePasteCell'!=_0x3bb249[_0x4369('0x82')])continue;if(_0x3bb249[_0x4369('0x26')]()[_0x4369('0x30')](_0x4a01a0=>_0x403566[_0x4369('0x2f')](_0x3af6f8=>_0x3af6f8[_0x4369('0x68')](_0x4a01a0,!0x0))))for(const _0x37953c of _0x3bb249['getAllAdjacentSuggestions']())_0x37953c[_0x4369('0x6')]&&(_0x37953c['discard'](),_0x56f0d2=!0x0);}}return _0x56f0d2;}),_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')][_0x4369('0x1')](_0x454f56=>{const _0x252427=_0x21ebb5[_0x4369('0x9b')][_0x4369('0x38')](_0x4369('0x2a'));if(!_0x252427||!_0x252427[_0x4369('0x34')][_0x4369('0x7e')](_0x454f56[_0x4369('0x2c')]))return!0x1;let _0x1c3023=!0x1;const _0x10a090=_0x21ebb5[_0x4369('0x5c')][_0x4369('0x38')](_0x4369('0x77'))['me'],_0x12175f=_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')]['differ'][_0x4369('0x65')](),_0x12c982=Array['from'](_0x21ebb5[_0x4369('0x6e')]['document'][_0x4369('0xa9')][_0x4369('0x6c')]())[_0x4369('0x43')](({name:_0x536a28,data:_0xf67852})=>{const {group:_0x2a58b3,subType:_0x4d6064,authorId:_0x511ee8}=_0x3f9d7d[_0x4369('0xab')](_0x536a28);return _0x4369('0x7d')==_0x2a58b3&&_0x4369('0x50')==_0x4d6064&&_0x511ee8==_0x10a090['id']&&!_0xf67852[_0x4369('0x55')];});for(const _0x42249d of _0x12175f){if(_0x4369('0x2e')!=_0x42249d[_0x4369('0x3e')]||_0x4369('0x52')!=_0x42249d[_0x4369('0x87')]||0x1!=_0x42249d[_0x4369('0x12')])continue;const _0x10e814=_0x454f56[_0x4369('0x1d')](_0x42249d['position'],_0x42249d[_0x4369('0x69')]['getShiftedBy'](0x1));if(!_0x12c982[_0x4369('0x76')](({data:_0x199647})=>_0x199647[_0x4369('0x63')][_0x4369('0x36')](_0x10e814)))for(const {name:_0xa9cde3,data:_0x1a8a89}of _0x12c982)if(_0x10e814[_0x4369('0x68')](_0x1a8a89['newRange'])){_0x454f56[_0x4369('0x1f')](_0xa9cde3,{'range':_0x10e814}),_0x1c3023=!0x0;break;}}return _0x1c3023;}),_0x21ebb5[_0x4369('0x6e')][_0x4369('0x33')]['registerPostFixer'](_0x24d253=>{let _0x38f9b9=!0x1;const _0x21f24a=_0x21ebb5['plugins']['get']('Users')['me'],_0x132520=_0x3f9d7d['getSuggestions']()['filter'](_0x2c3125=>_0x2c3125[_0x4369('0x6')]&&_0x2c3125[_0x4369('0xa1')]==_0x21f24a),_0x31d6e2=new Set(),_0x52c41f=new Set();for(const _0x38f5b1 of _0x132520)if(_0x4369('0x50')==_0x38f5b1[_0x4369('0x82')])for(const _0x2390f1 of _0x38f5b1[_0x4369('0x67')]()){const _0x3ca4f5=_0x2390f1[_0x4369('0x61')]()[_0x4369('0x73')]();if(_0x3ca4f5){if(_0x3ca4f5['is'](_0x4369('0x86'),_0x4369('0x52'))&&fe(_0x3ca4f5)){_0x38f5b1[_0x4369('0x8')](_0x2390f1[_0x4369('0x87')]),_0x31d6e2[_0x4369('0x81')](_0x3ca4f5),_0x38f9b9=!0x0;const _0x88e4a1=_0x3ca4f5[_0x4369('0x0')],_0x2e9fc9=_0x3ca4f5[_0x4369('0x85')],_0x251aa7=_0x88e4a1&&_0x88e4a1['is'](_0x4369('0x86'),_0x4369('0x52')),_0x2b5e52=_0x2e9fc9&&_0x2e9fc9['is'](_0x4369('0x86'),_0x4369('0x52'));_0x251aa7&&!_0x31d6e2['has'](_0x88e4a1)&&_0x52c41f[_0x4369('0x81')](_0x88e4a1),_0x2b5e52&&!_0x31d6e2[_0x4369('0x7e')](_0x2e9fc9)&&_0x52c41f['add'](_0x2e9fc9);}else _0x3ca4f5['is'](_0x4369('0x86'),_0x4369('0x5a'))&&_0x3ca4f5[_0x4369('0x24')]&&(_0x38f5b1[_0x4369('0x8')](_0x2390f1[_0x4369('0x87')]),_0x38f9b9=!0x0);}}else{if(_0x4369('0x7a')==_0x38f5b1[_0x4369('0x82')]){if(!_0x38f5b1[_0x4369('0x9d')]||!_0x38f5b1[_0x4369('0x9d')]['tablePasteChainId'])continue;const _0x26d04f=_0x38f5b1['attributes'][_0x4369('0x9c')];if(_0x26d04f&&Object[_0x4369('0xa3')](_0x26d04f)['length'])continue;const _0x4b7037=_0x38f5b1[_0x4369('0x9d')][_0x4369('0x4d')];let _0x5dd172=!0x0,_0xd48646=!0x0;for(const _0xdd4a97 of _0x132520)if(_0xdd4a97[_0x4369('0x82')]&&_0xdd4a97[_0x4369('0x82')][_0x4369('0x19')](_0x4369('0x50'))){if(!_0xdd4a97[_0x4369('0x9d')]['tablePasteChainId']){_0xd48646=!0x1;break;}if(_0xdd4a97['id']!=_0x38f5b1['id']&&_0xdd4a97['attributes']['tablePasteChainId']==_0x4b7037){_0x5dd172=!0x1;break;}}_0xd48646&&_0x5dd172&&(_0x38f5b1[_0x4369('0x8a')](),_0x38f9b9=!0x0);}}for(const _0x184b78 of _0x31d6e2)_0x24d253[_0x4369('0xf')](_0x184b78);for(const _0x51e4d2 of _0x52c41f)_0x24d253[_0x4369('0xa2')](_0x51e4d2);return _0x38f9b9;}),_0x21ebb5[_0x4369('0x60')]['for'](_0x4369('0x41'))[_0x4369('0x5')]({'model':_0x4369('0xc'),'view':_0x38427f,'converterPriority':_0x4369('0x74')}),_0x21ebb5[_0x4369('0x60')][_0x4369('0x8f')](_0x4369('0x17'))[_0x4369('0x5')]({'model':_0x4369('0xc'),'view':(_0x3b1601,_0x44a752)=>{if(_0x44a752[_0x4369('0x5e')][_0x4369('0x45')])return _0x38427f(_0x3b1601,{'showActiveMarker':!0x1});},'converterPriority':_0x4369('0x74')});const _0x5b72a2=_0x21ebb5['editing'][_0x4369('0x1b')];this[_0x4369('0x3f')](_0x5b72a2[_0x4369('0x33')],_0x4369('0x14'),(_0x1ad0d1,_0x1b980d)=>{const _0x11465d=[];for(const _0x1940ee of _0x5b72a2[_0x4369('0x21')](_0x1b980d[_0x4369('0x23')])[_0x4369('0x47')]())_0x1940ee['is'](_0x4369('0x86'),_0x4369('0x95'))&&_0x11465d[_0x4369('0x3')](_0x1940ee);_0x5b72a2[_0x4369('0x8e')](_0x248276=>{for(const _0x5e22cf of _0x11465d)_0x248276[_0x4369('0xa0')](_0x248276[_0x4369('0x21')](_0x5e22cf),_0x248276[_0x4369('0x96')](_0x5e22cf)),_0x248276[_0x4369('0xf')](_0x5e22cf);});});}}function fe(_0x541f9f){if(_0x541f9f['isEmpty'])return!0x0;const _0x65b79a=_0x541f9f['getChild'](0x0);return _0x65b79a['is'](_0x4369('0x86'),_0x4369('0x5a'))&&_0x65b79a[_0x4369('0x24')];}function ue(_0x38ee07,_0xa43691={},_0x11f85b){for(const {isAnchor:_0x5bc14a,cellHeight:_0xa96f48,cellWidth:_0x4e3d11}of _0x11f85b[_0x4369('0x22')](_0x38ee07,{'includeAllSlots':!0x0,..._0xa43691}))if(!_0x5bc14a||0x1!=_0xa96f48||0x1!=_0x4e3d11)return!0x1;return!0x0;}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7fac=['model','selection','has','registerCustomCallback','editor','TableColumnResizeEditing','formatGroupId','locale','setAttribute','handleResizeTableWidthCommand','_suggestionFactory','getSuggestions','handleSuggestionDescription','columnWidths','tableWidth','bind','formatBlock','getAttribute','plugins','document','markBlockFormat','get','table','_descriptionFactory','Users','resizeTable','getContainedElement','TrackChangesEditing','enableCommand','accept','data','*Format:*\x20resize\x20table','discard','resizeTableWidth','getSuggestionCallback'];(function(_0x593073,_0x7facb1){const _0xabb86a=function(_0x42f330){while(--_0x42f330){_0x593073['push'](_0x593073['shift']());}};_0xabb86a(++_0x7facb1);}(_0x7fac,0x1db));const _0xabb8=function(_0x593073,_0x7facb1){_0x593073=_0x593073-0x0;let _0xabb86a=_0x7fac[_0x593073];return _0xabb86a;};import{Plugin as _0x2c10df}from'ckeditor5/src/core';import{getTranslation as _0x18b849}from'../utils/common-translations';export default class yt extends _0x2c10df{['afterInit'](){if(!this[_0xabb8('0x13')]['plugins'][_0xabb8('0x11')](_0xabb8('0x14')))return;const _0x4b92b1=this['editor']['plugins'][_0xabb8('0x1')](_0xabb8('0x7'));_0x4b92b1[_0xabb8('0x8')](_0xabb8('0xd'),this[_0xabb8('0x18')]['bind'](this)),_0x4b92b1[_0xabb8('0x8')]('resizeColumnWidths',this['handleResizeTableWidthCommand'][_0xabb8('0x1e')](this)),_0x4b92b1[_0xabb8('0x19')][_0xabb8('0x12')](_0xabb8('0x1f'),_0xabb8('0x5'),_0xabb8('0x9'),_0x4b92b1[_0xabb8('0x19')]['getSuggestionCallback'](_0xabb8('0x1f'),null,_0xabb8('0xc'))),_0x4b92b1[_0xabb8('0x19')]['registerCustomCallback'](_0xabb8('0x1f'),_0xabb8('0x5'),'discard',_0x4b92b1[_0xabb8('0x19')][_0xabb8('0xe')](_0xabb8('0x1f'),null,_0xabb8('0x9'))),_0x4b92b1[_0xabb8('0x3')]['registerDescriptionCallback'](this[_0xabb8('0x1b')]['bind'](this));}[_0xabb8('0x18')](_0x148966,_0x550350){const _0x59eb67=this[_0xabb8('0x13')][_0xabb8('0x21')][_0xabb8('0x1')](_0xabb8('0x7')),_0x59b417=_0x550350[_0xabb8('0x2')]||this[_0xabb8('0x13')]['model'][_0xabb8('0x22')][_0xabb8('0x10')]['getSelectedElement']();this[_0xabb8('0x13')][_0xabb8('0xf')]['change'](_0x4e97ba=>{let _0x136572=_0x59b417[_0xabb8('0x20')](_0xabb8('0x1d'))||null,_0x48e670=_0x59b417['getAttribute'](_0xabb8('0x1c'))||null;const _0x206211=_0x550350[_0xabb8('0x1d')]||_0x136572,_0x5423ef=_0x550350[_0xabb8('0x1c')]||_0x48e670,_0x5889ac=this[_0xabb8('0x13')][_0xabb8('0x21')][_0xabb8('0x1')](_0xabb8('0x4'))['me'];for(const _0x22ce2e of _0x59eb67[_0xabb8('0x1a')]()){const _0x12f1ca=_0x22ce2e[_0xabb8('0x6')]();if(_0xabb8('0x5')===_0x22ce2e['subType']&&_0x12f1ca===_0x59b417){_0x22ce2e['author']!==_0x5889ac&&_0x22ce2e['discard'](),_0x136572=_0x22ce2e[_0xabb8('0xa')]['commandParams'][0x0][_0xabb8('0x1d')],_0x48e670=_0x22ce2e[_0xabb8('0xa')]['commandParams'][0x0]['columnWidths'];break;}}_0x4e97ba[_0xabb8('0x17')](_0xabb8('0x1d'),_0x206211,_0x59b417),_0x4e97ba['setAttribute'](_0xabb8('0x1c'),_0x5423ef,_0x59b417),_0x59eb67[_0xabb8('0x0')](_0x59b417,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x136572,'columnWidths':_0x48e670}],'formatGroupId':'resizeTable'},[],_0xabb8('0x5'));});}['handleSuggestionDescription'](_0x433b96){const {data:_0x2faac6}=_0x433b96;if(_0x2faac6&&'resizeTable'===_0x2faac6[_0xabb8('0x15')]){const _0x246b5e=_0xabb8('0xb');return{'type':'format','content':_0x18b849(this['editor'][_0xabb8('0x16')],_0x246b5e)};}}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cdc=['model','commands','writer','showSuggestionHighlights','locale','toViewElement','ck-suggestion-marker--active','FORMAT_REGULAR_ROW','getSelectionAffectedTableCells','TableEditing','getRowIndexes','childCount','commandParams','_descriptionFactory','commandName','removeMarker:suggestion','editing','getCellLocation','selection','TrackChangesEditing','data-suggestion','nodeBefore','parent','highest','table','_acceptFormatSuggestionCallbackFactory','afterInit','formatBlock','_suggestionFactory','has','setTableColumnHeader','document','consumable','index','first','createRange','last','createPositionBefore','markerName','removeAttribute','unbindElementFromMarkerName','item','getChild','cell','forceValue','getColumnIndexes','addClass','setTableRowHeader','nodeAfter','start','*Format:*\x20%0','from','_splitMarkerName','markBlockFormat','findAncestor','TableUtils','options','mapper','change','headingRows','markerRange','ck-suggestion-marker-','data','addMarker:suggestion','downcastDispatcher','consume','removeClass','accept','requires','registerCustomCallback','FORMAT_HEADER_COLUMN','createTableWalker','plugins','get','format','getAttribute','end','enableCommand','createPositionAfter'];(function(_0x5da4d4,_0x3cdc69){const _0x59adae=function(_0xca8152){while(--_0xca8152){_0x5da4d4['push'](_0x5da4d4['shift']());}};_0x59adae(++_0x3cdc69);}(_0x3cdc,0x1ed));const _0x59ad=function(_0x5da4d4,_0x3cdc69){_0x5da4d4=_0x5da4d4-0x0;let _0x59adae=_0x3cdc[_0x5da4d4];return _0x59adae;};import{Plugin as _0x23c83d}from'ckeditor5/src/core';import _0x24665a from'./table';import{getTranslation as _0x30453a}from'../utils/common-translations';export default class kt extends _0x23c83d{static get[_0x59ad('0x31')](){return[_0x24665a];}[_0x59ad('0x7')](){const _0x13f52d=this['editor'];if(!_0x13f52d[_0x59ad('0x35')][_0x59ad('0xa')](_0x59ad('0x45')))return;const _0x345d82=_0x13f52d[_0x59ad('0x40')],_0x3b93d0=_0x13f52d['plugins']['get'](_0x59ad('0x0')),_0x5087c3=_0x13f52d[_0x59ad('0x35')][_0x59ad('0x36')](_0x59ad('0x24')),_0x4a3a8d=_0x13f52d[_0x59ad('0x35')][_0x59ad('0x36')](_0x24665a);function _0x10e92b({showActiveMarker:_0x3b6187=!0x0,setDataAttribute:_0xf90456=!0x0}={}){return(_0x34188b,_0x55bfe7,_0x710d68)=>{const {type:_0xd7411,id:_0x4fd88c}=_0x3b93d0[_0x59ad('0x21')](_0x55bfe7[_0x59ad('0x13')]),_0x3607bb=_0x3b93d0['getSuggestion'](_0x4fd88c);if(!_0x3607bb[_0x59ad('0x2b')]||_0x59ad('0xb')!=_0x3607bb[_0x59ad('0x2b')][_0x59ad('0x4a')])return;if(_0x55bfe7[_0x59ad('0x16')])return void _0x34188b['stop']();if(!_0x710d68[_0x59ad('0xd')][_0x59ad('0x2e')](_0x55bfe7['markerRange'],_0x34188b['name']))return;const _0xb20f3b=_0x55bfe7[_0x59ad('0x29')][_0x59ad('0x1e')][_0x59ad('0x1d')],_0x51adeb=_0x55bfe7[_0x59ad('0x29')][_0x59ad('0x39')][_0x59ad('0x2')],_0x5a7d86=_0xb20f3b[_0x59ad('0x3')][_0x59ad('0x3')],{column:_0x399e44}=_0x5087c3[_0x59ad('0x4d')](_0xb20f3b),{column:_0x304bbd}=_0x5087c3[_0x59ad('0x4d')](_0x51adeb);for(let _0x58baea=_0x399e44;_0x58baea<=_0x304bbd;_0x58baea++){const _0x1bd00a=_0x5087c3[_0x59ad('0x34')](_0x5a7d86,{'column':_0x58baea,'includeAllSlots':!0x1});for(const _0x39e73a of _0x1bd00a){const _0x210e0e=_0x39e73a[_0x59ad('0x18')],_0xa0cb16=_0x710d68[_0x59ad('0x26')][_0x59ad('0x41')](_0x210e0e);_0x710d68[_0x59ad('0x3e')]['addClass'](_0x59ad('0x2a')+_0xd7411,_0xa0cb16),_0xf90456&&_0x710d68[_0x59ad('0x3e')]['setAttribute'](_0x59ad('0x1'),_0x4fd88c,_0xa0cb16),_0x710d68['mapper']['bindElementToMarker'](_0xa0cb16,_0x55bfe7[_0x59ad('0x13')]),_0x3b6187&&(_0x3b93d0['activeMarkers']['includes'](_0x55bfe7['markerName'])?_0x710d68[_0x59ad('0x3e')][_0x59ad('0x1b')](_0x59ad('0x42'),_0xa0cb16):_0x710d68[_0x59ad('0x3e')][_0x59ad('0x2f')](_0x59ad('0x42'),_0xa0cb16));}}};}_0x3b93d0['enableCommand']('setTableRowHeader',(_0x24b98e,_0x6dbf80)=>{const _0x2fa6e7=_0x5087c3[_0x59ad('0x44')](_0x13f52d[_0x59ad('0x3c')][_0x59ad('0xc')][_0x59ad('0x4e')]),_0xcb5de7=_0x5087c3[_0x59ad('0x46')](_0x2fa6e7),_0x124b0a=_0x2fa6e7[0x0]['findAncestor']('table'),_0x51239a=_0x124b0a[_0x59ad('0x38')](_0x59ad('0x28'))||0x0,_0x3ff18f=_0x6dbf80&&null!==_0x6dbf80['forceValue']?_0x6dbf80[_0x59ad('0x19')]:!_0x13f52d[_0x59ad('0x3d')]['get'](_0x59ad('0x1c'))['value'],_0x2a288a=_0x3ff18f?_0xcb5de7[_0x59ad('0x11')]:_0xcb5de7[_0x59ad('0xf')],_0x5a9f9b=_0x124b0a[_0x59ad('0x17')](_0x2a288a);let _0x5731ed;if(_0x3ff18f){const _0x31a04b=_0x124b0a[_0x59ad('0x17')](_0x51239a);if(_0x5a9f9b['index']<_0x31a04b[_0x59ad('0xe')])return;_0x5731ed=_0x13f52d[_0x59ad('0x3c')]['createRange'](_0x13f52d['model'][_0x59ad('0x12')](_0x31a04b[_0x59ad('0x17')](0x0)),_0x13f52d[_0x59ad('0x3c')]['createPositionAfter'](_0x5a9f9b[_0x59ad('0x17')](_0x5a9f9b[_0x59ad('0x47')]-0x1)));}else{const _0x516654=_0x124b0a[_0x59ad('0x17')](_0x51239a-0x1);if(!_0x516654)return;_0x5731ed=_0x13f52d[_0x59ad('0x3c')][_0x59ad('0x10')](_0x13f52d[_0x59ad('0x3c')][_0x59ad('0x12')](_0x5a9f9b[_0x59ad('0x17')](0x0)),_0x13f52d[_0x59ad('0x3c')][_0x59ad('0x3b')](_0x516654[_0x59ad('0x17')](_0x516654[_0x59ad('0x47')]-0x1)));}_0x13f52d[_0x59ad('0x3c')]['change'](()=>{_0x3b93d0[_0x59ad('0x22')](_0x5731ed,{'commandName':_0x59ad('0x1c'),'commandParams':[{'forceValue':_0x3ff18f}]},[],_0x59ad('0x1c'));});}),_0x3b93d0[_0x59ad('0x3a')]('setTableColumnHeader',(_0x1270b2,_0x536b24)=>{const _0x5096ef=_0x13f52d['plugins'][_0x59ad('0x36')](_0x59ad('0x24')),_0x36fef1=_0x5096ef['getSelectionAffectedTableCells'](_0x13f52d['model']['document'][_0x59ad('0x4e')]),_0x4915dc=_0x5096ef[_0x59ad('0x1a')](_0x36fef1),_0x38473b=_0x36fef1[0x0][_0x59ad('0x23')](_0x59ad('0x5')),_0x3a01a6=_0x38473b[_0x59ad('0x38')]('headingColumns')||0x0,_0x5a2141=_0x536b24&&null!==_0x536b24['forceValue']?_0x536b24[_0x59ad('0x19')]:!_0x13f52d[_0x59ad('0x3d')][_0x59ad('0x36')](_0x59ad('0xb'))['value'];let _0xf4f402;const _0x44fe3a=_0x38473b[_0x59ad('0x17')](0x0),_0x2201d2=_0x5a2141?_0x4915dc[_0x59ad('0x11')]:_0x4915dc[_0x59ad('0xf')],_0x25f5f8=_0x5096ef[_0x59ad('0x34')](_0x38473b,{'startRow':0x0,'column':_0x2201d2,'includeAllSlots':!0x1}),_0xb2d6dc=Array[_0x59ad('0x20')](_0x25f5f8)[0x0][_0x59ad('0x18')];if(_0x5a2141){const _0x6b7d1d=_0x44fe3a[_0x59ad('0x17')](_0x3a01a6);if(_0xb2d6dc['isBefore'](_0x6b7d1d))return;_0xf4f402=_0x13f52d[_0x59ad('0x3c')][_0x59ad('0x10')](_0x13f52d['model'][_0x59ad('0x12')](_0x6b7d1d),_0x13f52d[_0x59ad('0x3c')]['createPositionAfter'](_0xb2d6dc));}else{const _0x4833d5=_0x44fe3a[_0x59ad('0x17')](_0x3a01a6-0x1);if(!_0x4833d5)return;_0xf4f402=_0x13f52d[_0x59ad('0x3c')][_0x59ad('0x10')](_0x13f52d['model']['createPositionBefore'](_0xb2d6dc),_0x13f52d['model'][_0x59ad('0x3b')](_0x4833d5));}_0x13f52d[_0x59ad('0x3c')][_0x59ad('0x27')](()=>{_0x3b93d0['markBlockFormat'](_0xf4f402,{'commandName':_0x59ad('0xb'),'commandParams':[{'forceValue':_0x5a2141}]},[],'setTableColumnHeader');});}),_0x13f52d[_0x59ad('0x4c')][_0x59ad('0x2d')]['on']('addMarker:suggestion',_0x10e92b(),{'priority':_0x59ad('0x4')}),_0x13f52d[_0x59ad('0x2b')]['downcastDispatcher']['on'](_0x59ad('0x2c'),(_0x16718b,_0x5703c9,_0x23d265)=>{_0x23d265[_0x59ad('0x25')][_0x59ad('0x3f')]&&_0x10e92b({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x16718b,_0x5703c9,_0x23d265);},{'priority':_0x59ad('0x4')}),_0x13f52d[_0x59ad('0x4c')][_0x59ad('0x2d')]['on'](_0x59ad('0x4b'),(_0x3e108c,_0x1458d4,_0x15f012)=>{const {type:_0x23b8b3,id:_0x37fbb3}=_0x3b93d0['_splitMarkerName'](_0x1458d4['markerName']),_0x4321a9=_0x3b93d0['getSuggestion'](_0x37fbb3);if(!_0x4321a9[_0x59ad('0x2b')]||_0x59ad('0xb')!=_0x4321a9[_0x59ad('0x2b')][_0x59ad('0x4a')])return;const _0x55386d=_0x15f012[_0x59ad('0x26')]['markerNameToElements'](_0x1458d4[_0x59ad('0x13')]);if(_0x55386d)for(const _0x44e75e of _0x55386d)_0x15f012[_0x59ad('0x3e')][_0x59ad('0x2f')](_0x59ad('0x2a')+_0x23b8b3,_0x44e75e),_0x15f012[_0x59ad('0x3e')][_0x59ad('0x2f')](_0x59ad('0x42'),_0x44e75e),_0x15f012[_0x59ad('0x3e')][_0x59ad('0x14')](_0x59ad('0x1'),_0x44e75e),_0x15f012[_0x59ad('0x26')][_0x59ad('0x15')](_0x44e75e,_0x1458d4[_0x59ad('0x13')]);},{'priority':_0x59ad('0x4')}),_0x3b93d0[_0x59ad('0x49')]['registerDescriptionCallback'](_0xbb0653=>{const {data:_0x2149c0}=_0xbb0653;if(_0x2149c0){if(_0x59ad('0x1c')==_0x2149c0[_0x59ad('0x4a')]){const _0x3475f5=_0x2149c0[_0x59ad('0x48')][0x0]['forceValue'];return _0x2f357e(_0x30453a(_0x345d82,_0x3475f5?'FORMAT_HEADER_ROW':_0x59ad('0x43')));}if(_0x59ad('0xb')==_0x2149c0[_0x59ad('0x4a')]){const _0x4c96e7=_0x2149c0[_0x59ad('0x48')][0x0][_0x59ad('0x19')];return _0x2f357e(_0x30453a(_0x345d82,_0x4c96e7?_0x59ad('0x33'):'FORMAT_REGULAR_COLUMN'));}}function _0x2f357e(_0x22f8a5){return{'type':_0x59ad('0x37'),'content':_0x30453a(_0x345d82,_0x59ad('0x1f'),_0x22f8a5)};}});const _0x514528=_0x4a3a8d[_0x59ad('0x6')]();_0x3b93d0['_suggestionFactory']['registerCustomCallback'](_0x59ad('0x8'),_0x59ad('0x1c'),'accept',_0x514528),_0x3b93d0[_0x59ad('0x9')][_0x59ad('0x32')](_0x59ad('0x8'),_0x59ad('0xb'),_0x59ad('0x30'),_0x514528);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a6f=['_suggestionFactory','element','selection','splitTableCellVertically','mergeTableCells','*Split\x20cell:*\x20horizontally','model','getAncestors','length','filter','getFirstPosition','getRanges','isEnabled','mergeTableCellDown','detach','insertion','from','value','registerCustomCallback','commands','getSelectionAffectedTableCells','deletion','has','plugins','containsRange','stop','splitTableCellHorizontally','isInContent','return','subType','document','TableEditing','*Merge\x20cells*','push','format','formatBlock','_acceptFormatSuggestionCallbackFactory','_areMergableCells','low','mergeTableCellUp','TableUtils','*Split\x20cell:*\x20vertically','author','getSuggestions','createRangeOn','_tablePostFixingSubtypes','execute','mergeTableCellRight','tableCell','markMultiRangeBlockFormat','findAncestor','commandName','change','requires','enableCommand','createTableWalker','setSelection','mergeTableCellLeft','registerDescriptionCallback','_areSelectedCellsMergable','size','type','editor','locale','highest','getCellLocation','find','trackChanges','_descriptionFactory','set:isEnabled','_isForcedDefaultExecutionBlock','add','accept','rootName','map','TrackChangesEditing','refresh','forceDefaultExecution','get'];(function(_0x24ae89,_0x4a6f49){const _0x5e584b=function(_0x3be160){while(--_0x3be160){_0x24ae89['push'](_0x24ae89['shift']());}};_0x5e584b(++_0x4a6f49);}(_0x4a6f,0xfe));const _0x5e58=function(_0x24ae89,_0x4a6f49){_0x24ae89=_0x24ae89-0x0;let _0x5e584b=_0x4a6f[_0x24ae89];return _0x5e584b;};import{Plugin as _0x23d60f}from'ckeditor5/src/core';import _0x4cfd16 from'./table';import{LiveRange as _0x139f32}from'ckeditor5/src/engine';import{getTranslation as _0x20df93}from'../utils/common-translations';export default class pt extends _0x23d60f{static get[_0x5e58('0x24')](){return[_0x4cfd16];}['afterInit'](){const _0x376557=this['editor'],_0x2892e3=_0x376557[_0x5e58('0x44')][_0x5e58('0xd')][_0x5e58('0x40')],_0x2053e4=_0x376557[_0x5e58('0x2e')];if(!_0x376557[_0x5e58('0x6')]['has'](_0x5e58('0xe')))return;const _0x388f1f=_0x376557['plugins'][_0x5e58('0x3d')](_0x5e58('0x3a')),_0x484bbb=_0x376557[_0x5e58('0x6')][_0x5e58('0x3d')](_0x5e58('0x17')),_0x542b50=_0x376557[_0x5e58('0x6')][_0x5e58('0x3d')](_0x4cfd16);_0x542b50[_0x5e58('0x1c')][_0x5e58('0x10')](_0x5e58('0x42')),_0x388f1f[_0x5e58('0x25')]('mergeTableCells',()=>{const _0x36e511=_0x484bbb[_0x5e58('0x3')](_0x376557[_0x5e58('0x44')][_0x5e58('0xd')][_0x5e58('0x40')]);_0x376557[_0x5e58('0x44')][_0x5e58('0x23')](()=>{_0x388f1f['markMultiRangeBlockFormat'](_0x36e511,{'commandName':'mergeTableCells','commandParams':[]},[],_0x5e58('0x42'));});}),_0x376557['commands'][_0x5e58('0x3d')](_0x5e58('0x42'))['on'](_0x5e58('0x1d'),(_0x3431f9,_0x4cfa7a)=>{_0x376557[_0x5e58('0x2')][_0x5e58('0x3d')](_0x5e58('0x32'))[_0x5e58('0x0')]&&(_0x4cfa7a[_0x5e58('0x46')]>0x0&&_0x4cfa7a[_0x4cfa7a['length']-0x1]&&_0x4cfa7a[_0x4cfa7a[_0x5e58('0x46')]-0x1][_0x5e58('0x3c')]||_0x388f1f[_0x5e58('0x35')]||this[_0x5e58('0x2a')]()||_0x3431f9[_0x5e58('0x8')]());},{'priority':_0x5e58('0x2f')});for(const _0x1ab8ed of[_0x5e58('0x16'),'mergeTableCellRight',_0x5e58('0x4b'),'mergeTableCellLeft']){const _0x5e9474=_0x376557[_0x5e58('0x2')][_0x5e58('0x3d')](_0x1ab8ed);_0x388f1f[_0x5e58('0x25')](_0x1ab8ed,()=>{const _0x26155a=_0x376557[_0x5e58('0x44')][_0x5e58('0xd')]['selection'][_0x5e58('0x48')]()['getAncestors']()[_0x5e58('0x31')](_0x3e72fd=>_0x3e72fd['is'](_0x5e58('0x3f'),_0x5e58('0x1f'))),_0x3cbbad=_0x5e9474[_0x5e58('0x0')];_0x376557[_0x5e58('0x44')]['change'](()=>{_0x388f1f[_0x5e58('0x20')]([_0x26155a,_0x3cbbad],{'commandName':'mergeTableCells','commandParams':[]},[],_0x5e58('0x42'));});});}for(const _0x40ddc6 of[_0x5e58('0x41'),'splitTableCellHorizontally']){const _0x257a71=_0x376557[_0x5e58('0x2')][_0x5e58('0x3d')](_0x40ddc6);_0x388f1f['enableCommand'](_0x40ddc6,()=>{const _0x499b58=_0x484bbb[_0x5e58('0x3')](_0x376557[_0x5e58('0x44')][_0x5e58('0xd')][_0x5e58('0x40')])[0x0],_0x3ac638=_0x499b58[_0x5e58('0x21')]('table'),{column:_0x4b3ffd,row:_0x522de5}=_0x484bbb[_0x5e58('0x30')](_0x499b58);let _0x176f74=[];if('horizontally'==_0x257a71['direction']){const _0x21d53a=_0x484bbb[_0x5e58('0x26')](_0x3ac638,{'startRow':_0x522de5,'endRow':_0x522de5,'includeAllSlots':!0x0});_0x176f74=Array[_0x5e58('0x4e')](_0x21d53a)['map'](_0xda637f=>_0xda637f['cell']);}else{const _0x160997=_0x484bbb['createTableWalker'](_0x3ac638,{'column':_0x4b3ffd,'includeAllSlots':!0x0});_0x176f74=Array[_0x5e58('0x4e')](_0x160997)[_0x5e58('0x39')](_0x2109d9=>_0x2109d9['cell']);}_0x376557[_0x5e58('0x44')][_0x5e58('0x23')](_0x15cc27=>{_0x388f1f['markBlockFormat'](_0x15cc27[_0x5e58('0x1b')](_0x499b58),{'commandName':_0x40ddc6,'commandParams':[]},_0x176f74,_0x40ddc6);});});}_0x388f1f['_descriptionFactory'][_0x5e58('0x29')](_0x5119f7=>{const {data:_0x40c3ea}=_0x5119f7;if(_0x40c3ea)return _0x5e58('0x42')==_0x40c3ea['commandName']?{'type':_0x5e58('0x11'),'content':_0x20df93(_0x2053e4,_0x5e58('0xf'))}:void 0x0;}),_0x388f1f[_0x5e58('0x33')][_0x5e58('0x29')](_0x53fd1c=>{const {data:_0x1b4031}=_0x53fd1c;if(_0x1b4031)return _0x5e58('0x41')==_0x1b4031[_0x5e58('0x22')]?{'type':_0x5e58('0x11'),'content':_0x20df93(_0x2053e4,_0x5e58('0x18'))}:_0x5e58('0x9')==_0x1b4031[_0x5e58('0x22')]?{'type':_0x5e58('0x11'),'content':_0x20df93(_0x2053e4,_0x5e58('0x43'))}:void 0x0;});const _0x2dc878=_0x542b50[_0x5e58('0x13')]();for(const _0x5861d8 of[_0x5e58('0x16'),_0x5e58('0x1e'),_0x5e58('0x4b'),_0x5e58('0x28')])_0x388f1f[_0x5e58('0x3e')]['registerCustomCallback'](_0x5e58('0x12'),_0x5861d8,_0x5e58('0x37'),_0x2dc878);for(const _0x19a9bf of[_0x5e58('0x41'),_0x5e58('0x9')])_0x388f1f[_0x5e58('0x3e')][_0x5e58('0x1')]('formatBlock',_0x19a9bf,'accept',_0x2dc878);_0x388f1f[_0x5e58('0x3e')][_0x5e58('0x1')]('formatBlock',_0x5e58('0x42'),_0x5e58('0x37'),_0x1a819f=>{_0x376557['model'][_0x5e58('0x23')](_0xd4ec68=>{const _0x3022f5=Array[_0x5e58('0x4e')](_0x2892e3['getRanges']())[_0x5e58('0x39')](_0x4852ff=>_0x139f32['fromRange'](_0x4852ff));_0xd4ec68[_0x5e58('0x27')](_0x1a819f),_0x376557['commands']['get'](_0x5e58('0x42'))[_0x5e58('0x3b')](),_0x376557[_0x5e58('0x1d')](_0x5e58('0x42'),{'forceDefaultExecution':!0x0});const _0x207275=_0x3022f5[_0x5e58('0x47')](_0x4d1fb5=>'$graveyard'!=_0x4d1fb5['root'][_0x5e58('0x38')]);_0x207275[_0x5e58('0x46')]>0x0&&_0xd4ec68[_0x5e58('0x27')](_0x207275);for(const _0x322272 of _0x3022f5)_0x322272[_0x5e58('0x4c')]();});});for(const _0x397ef1 of[_0x5e58('0x16'),_0x5e58('0x4b'),_0x5e58('0x28'),'mergeTableCellRight']){const _0x3acd6c=_0x376557[_0x5e58('0x2')]['get'](_0x397ef1);_0x3acd6c['on'](_0x5e58('0x34'),(_0x255e8c,_0x1211a3,_0x19145a)=>{if(_0x19145a){const _0xe4a7ce=_0x376557[_0x5e58('0x44')]['document']['selection'][_0x5e58('0x48')]()[_0x5e58('0x45')]()[_0x5e58('0x31')](_0x446c19=>_0x446c19['is'](_0x5e58('0x3f'),_0x5e58('0x1f')));this[_0x5e58('0x14')](_0x3acd6c[_0x5e58('0x0')],_0xe4a7ce)||(_0x255e8c[_0x5e58('0xb')]=!0x1,_0x255e8c['stop']());}},{'priority':_0x5e58('0x15')});}}[_0x5e58('0x2a')](){const _0x2646e8=this[_0x5e58('0x2d')][_0x5e58('0x2')]['get'](_0x5e58('0x42')),_0x3d5e28=this[_0x5e58('0x2d')][_0x5e58('0x6')]['get'](_0x5e58('0x17'));if(!_0x2646e8[_0x5e58('0x4a')])return!0x1;const _0x2169fd=_0x3d5e28[_0x5e58('0x3')](this['editor'][_0x5e58('0x44')][_0x5e58('0xd')][_0x5e58('0x40')]);for(const _0x323cd5 of _0x2169fd)for(const _0x3265b2 of _0x2169fd)if(_0x323cd5!=_0x3265b2&&!this['_areMergableCells'](_0x323cd5,_0x3265b2))return!0x1;return!0x0;}[_0x5e58('0x14')](_0x2d751a,_0x1f2a67){const _0x238d4a=this[_0x5e58('0x2d')][_0x5e58('0x6')]['get'](_0x5e58('0x3a')),_0x51a8db=this[_0x5e58('0x2d')]['model'][_0x5e58('0x1b')](_0x2d751a),_0x5a7da6=this[_0x5e58('0x2d')][_0x5e58('0x44')][_0x5e58('0x1b')](_0x1f2a67),_0x261ca8=new Set(),_0x3a87a4=new Set();for(const _0x940ffd of _0x238d4a[_0x5e58('0x1a')]())if((_0x5e58('0x4d')==_0x940ffd['type']||_0x5e58('0x4')==_0x940ffd['type']||_0x5e58('0x42')==_0x940ffd[_0x5e58('0xc')])&&_0x940ffd[_0x5e58('0xa')])for(const _0x14cf83 of _0x940ffd[_0x5e58('0x49')]())_0x14cf83['containsRange'](_0x51a8db,!0x0)&&_0x261ca8[_0x5e58('0x36')](_0x940ffd[_0x5e58('0x2c')]+':'+_0x940ffd['author']['id']),_0x14cf83[_0x5e58('0x7')](_0x5a7da6,!0x0)&&_0x3a87a4['add'](_0x940ffd[_0x5e58('0x2c')]+':'+_0x940ffd[_0x5e58('0x19')]['id']);if(_0x261ca8[_0x5e58('0x2b')]!=_0x3a87a4[_0x5e58('0x2b')])return!0x1;for(const _0x1417d4 of _0x261ca8)if(!_0x3a87a4[_0x5e58('0x5')](_0x1417d4))return!0x1;return!0x0;}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0xdaf2=['tableCellHeight','handleDiscardAction','_descriptionFactory','enableCommand','registerCustomCallback','has','tableProperties','_suggestionFactory','document','tableCellProperties','TrackChangesTableProperties','*Format:*\x20change\x20table\x20properties','findAncestor','discard','tableCellPadding','data','subType','registerDescriptionCallback','table','tableWidth','get','*Format:*\x20change\x20table\x20cell\x20properties','getSelectionAffectedTableCells','TrackChangesEditing','TableUtils','tableBorderStyle','locale','editor','afterInit','tableBackgroundColor','tableCellBorderColor','formatBlock','_getSuggestion','plugins','getSuggestions','tableCellBorderStyle','getContainedElement','handleSuggestionDescription','tableCellHorizontalAlignment','change','getSuggestionCallback','accept','tableCellVerticalAlignment','enqueueChange','removeAttribute','batch','tableBorderWidth','selection','commandParams','tableCellBorderWidth','join','start','_handlePropertyChange','pluginName','format','model'];(function(_0xaa8fef,_0xdaf2a){const _0x4c2759=function(_0x49cabf){while(--_0x49cabf){_0xaa8fef['push'](_0xaa8fef['shift']());}};_0x4c2759(++_0xdaf2a);}(_0xdaf2,0x90));const _0x4c27=function(_0xaa8fef,_0xdaf2a){_0xaa8fef=_0xaa8fef-0x0;let _0x4c2759=_0xdaf2[_0xaa8fef];return _0x4c2759;};import{Plugin as _0x3e12c3}from'ckeditor5/src/core';import{getTranslation as _0x587493}from'../utils/common-translations';export default class At extends _0x3e12c3{static get[_0x4c27('0x15')](){return _0x4c27('0x22');}[_0x4c27('0x34')](){const _0x183051=this[_0x4c27('0x33')][_0x4c27('0x1')][_0x4c27('0x2c')]('TrackChangesEditing');if(this[_0x4c27('0x33')]['plugins'][_0x4c27('0x1d')]('TablePropertiesEditing')){this[_0x4c27('0x1e')]=['tableBorderColor',_0x4c27('0x31'),_0x4c27('0xe'),'tableAlignment',_0x4c27('0x2b'),'tableHeight',_0x4c27('0x35')];for(const _0x2a6797 of this[_0x4c27('0x1e')])_0x183051[_0x4c27('0x1b')](_0x2a6797,(_0x3355bc,_0x4503fb)=>{const _0x1307c5=this[_0x4c27('0x33')]['model'][_0x4c27('0x20')][_0x4c27('0xf')]['getFirstPosition']()[_0x4c27('0x24')](_0x4c27('0x2a'));this[_0x4c27('0x14')](_0x2a6797,[_0x1307c5],this[_0x4c27('0x1e')],_0x4c27('0x1e'),_0x3355bc,_0x4503fb);});_0x183051[_0x4c27('0x1f')][_0x4c27('0x1c')]('formatBlock',_0x4c27('0x1e'),_0x4c27('0x9'),_0x183051[_0x4c27('0x1f')][_0x4c27('0x8')]('formatBlock',null,_0x4c27('0x25'))),_0x183051[_0x4c27('0x1f')][_0x4c27('0x1c')](_0x4c27('0x37'),_0x4c27('0x1e'),_0x4c27('0x25'),(_0x2a65e6,_0x361c41)=>this[_0x4c27('0x19')](this['tableProperties'],_0x2a65e6,_0x361c41)),_0x183051['_suggestionFactory'][_0x4c27('0x1c')](_0x4c27('0x37'),_0x4c27('0x1e'),_0x4c27('0x12'),()=>!0x1);}if(this[_0x4c27('0x33')][_0x4c27('0x1')]['has']('TableCellPropertiesEditing')){this[_0x4c27('0x21')]=[_0x4c27('0x36'),_0x4c27('0x3'),_0x4c27('0x11'),_0x4c27('0x26'),'tableCellWidth',_0x4c27('0x18'),'tableCellBackgroundColor',_0x4c27('0x6'),_0x4c27('0xa')];for(const _0x437c95 of this['tableCellProperties'])_0x183051['enableCommand'](_0x437c95,(_0x3ef7dd,_0x31b7ec)=>{const _0xb2cdfe=this[_0x4c27('0x33')]['plugins'][_0x4c27('0x2c')](_0x4c27('0x30'))[_0x4c27('0x2e')](this[_0x4c27('0x33')][_0x4c27('0x17')]['document']['selection']);this[_0x4c27('0x14')](_0x437c95,_0xb2cdfe,this[_0x4c27('0x21')],_0x4c27('0x21'),_0x3ef7dd,_0x31b7ec);});_0x183051[_0x4c27('0x1f')]['registerCustomCallback'](_0x4c27('0x37'),_0x4c27('0x21'),_0x4c27('0x9'),_0x183051[_0x4c27('0x1f')][_0x4c27('0x8')](_0x4c27('0x37'),null,_0x4c27('0x25'))),_0x183051['_suggestionFactory']['registerCustomCallback'](_0x4c27('0x37'),'tableCellProperties',_0x4c27('0x25'),(_0x47365f,_0x599671)=>this[_0x4c27('0x19')](this[_0x4c27('0x21')],_0x47365f,_0x599671)),_0x183051[_0x4c27('0x1f')][_0x4c27('0x1c')](_0x4c27('0x37'),'tableCellProperties',_0x4c27('0x12'),()=>!0x1);}_0x183051[_0x4c27('0x1a')][_0x4c27('0x29')](_0x13b878=>this[_0x4c27('0x5')](_0x13b878));}[_0x4c27('0x14')](_0x4850d1,_0x1b0219,_0x568eaf,_0x413390,_0x345dfc,_0x3e3cbe){const _0x1c09e8=this[_0x4c27('0x33')]['plugins'][_0x4c27('0x2c')]('TrackChangesEditing');this[_0x4c27('0x33')][_0x4c27('0x17')][_0x4c27('0xb')](_0x3e3cbe[_0x4c27('0xd')],()=>{for(const _0x5ce8f2 of _0x1b0219){if(this[_0x4c27('0x0')](_0x5ce8f2,_0x413390))_0x345dfc(_0x3e3cbe);else{const _0x5adb1a={};for(const _0x2d8a82 of _0x568eaf){const _0x373d59=_0x5ce8f2['getAttribute'](_0x2d8a82);void 0x0!==_0x373d59&&(_0x5adb1a[_0x2d8a82]=_0x373d59);}_0x345dfc(_0x3e3cbe),_0x1c09e8['markBlockFormat'](_0x5ce8f2,{'commandParams':[_0x5adb1a]},[],_0x413390);}}});}[_0x4c27('0x19')](_0xd0d5ba,_0x1c91aa,_0x383945){const _0x5ad2de=_0x1c91aa[0x0][_0x4c27('0x13')]['nodeAfter'],_0x127e0e=_0x383945[_0x4c27('0x10')][0x0];this[_0x4c27('0x33')]['model'][_0x4c27('0x7')](_0x34aced=>{for(const _0x5b87c1 of _0xd0d5ba)void 0x0!==_0x127e0e[_0x5b87c1]?_0x34aced['setAttribute'](_0x5b87c1,_0x127e0e[_0x5b87c1],_0x5ad2de):_0x34aced[_0x4c27('0xc')](_0x5b87c1,_0x5ad2de);});}[_0x4c27('0x5')](_0x4281e0){if(_0x4281e0[_0x4c27('0x27')])switch(_0x4281e0[_0x4c27('0x28')]){case _0x4c27('0x1e'):return{'type':_0x4c27('0x16'),'content':_0x587493(this[_0x4c27('0x33')][_0x4c27('0x32')],_0x4c27('0x23'))};case _0x4c27('0x21'):return{'type':_0x4c27('0x16'),'content':_0x587493(this['editor'][_0x4c27('0x32')],_0x4c27('0x2d'))};}}[_0x4c27('0x0')](_0x1d3716,_0x333038){const _0x1a4121=this[_0x4c27('0x33')][_0x4c27('0x1')][_0x4c27('0x2c')](_0x4c27('0x2f'));for(const _0x282a6e of _0x1a4121[_0x4c27('0x2')]({'skipNotAttached':!0x0})){const _0x275ced=_0x282a6e[_0x4c27('0x4')]();if(_0x282a6e[_0x4c27('0x28')]===_0x333038&&_0x275ced===_0x1d3716)return _0x282a6e;}return null;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2dc9=['locale','removeMarker','title-content','registerElementLabel','_splitMarkerName','forward','ELEMENT_TITLE','getChangedMarkers','nodeBefore','isEqual','isTouching','plugins','differ','model','getNearestSelectionRange','end','document','isCollapsed','newRange','TrackChangesEditing','editor','_descriptionFactory','start','schema','from','updateMarker','Title','afterInit','element','suggestion'];(function(_0x1d09f1,_0x2dc93c){const _0x32340b=function(_0x56a993){while(--_0x56a993){_0x1d09f1['push'](_0x1d09f1['shift']());}};_0x32340b(++_0x2dc93c);}(_0x2dc9,0xde));const _0x3234=function(_0x1d09f1,_0x2dc93c){_0x1d09f1=_0x1d09f1-0x0;let _0x32340b=_0x2dc9[_0x1d09f1];return _0x32340b;};import{Plugin as _0x2405a0}from'ckeditor5/src/core';import{getTranslation as _0x1b6562}from'../utils/common-translations';export default class bt extends _0x2405a0{[_0x3234('0xf')](){const _0x3d14bd=this[_0x3234('0x8')];if(!_0x3d14bd[_0x3234('0x1d')]['has'](_0x3234('0xe')))return;const _0xd0febb=_0x3d14bd[_0x3234('0x1d')]['get'](_0x3234('0x7'));_0xd0febb[_0x3234('0x9')][_0x3234('0x15')](_0x3234('0x14'),()=>_0x1b6562(_0x3d14bd[_0x3234('0x12')],_0x3234('0x18'))),_0x3d14bd['model'][_0x3234('0x4')]['registerPostFixer'](_0x20ef4c=>{let _0x41fbf0=!0x1;const _0x210ecf=Array[_0x3234('0xc')](_0x3d14bd[_0x3234('0x1')][_0x3234('0x4')][_0x3234('0x0')][_0x3234('0x19')]());for(const {name:_0x38fefc,data:_0x3b6360}of _0x210ecf){const {group:_0x53e1fb}=_0xd0febb[_0x3234('0x16')](_0x38fefc);if(_0x3234('0x11')!==_0x53e1fb||!_0x3b6360[_0x3234('0x6')])continue;const _0x26d851=_0x3b6360[_0x3234('0x6')],_0x395f5c=_0x26d851[_0x3234('0x3')][_0x3234('0x1a')];if(!_0x395f5c||!_0x395f5c['is'](_0x3234('0x10'),_0x3234('0x14')))continue;if(!_0x26d851['start'][_0x3234('0x1c')](_0x26d851[_0x3234('0x3')]))continue;const _0x55c810=_0x3d14bd['model'][_0x3234('0xb')][_0x3234('0x2')](_0x26d851['end'],_0x3234('0x17'));if(_0x55c810&&_0x55c810[_0x3234('0x5')]){const _0x34b0ca=_0x20ef4c['createRange'](_0x26d851[_0x3234('0xa')],_0x55c810[_0x3234('0xa')]);_0x34b0ca[_0x3234('0x1b')](_0x26d851)||(_0x20ef4c[_0x3234('0xd')](_0x38fefc,{'range':_0x34b0ca}),_0x41fbf0=!0x0);}_0x41fbf0||(_0x20ef4c[_0x3234('0x13')](_0x38fefc),_0x41fbf0=!0x0);}return _0x41fbf0;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b21=['has','TrackChangesEditing','redo','undo','afterInit','plugins','editor'];(function(_0x4bc2cc,_0x2b21cc){const _0x2d878b=function(_0x339d9d){while(--_0x339d9d){_0x4bc2cc['push'](_0x4bc2cc['shift']());}};_0x2d878b(++_0x2b21cc);}(_0x2b21,0x1a2));const _0x2d87=function(_0x4bc2cc,_0x2b21cc){_0x4bc2cc=_0x4bc2cc-0x0;let _0x2d878b=_0x2b21[_0x4bc2cc];return _0x2d878b;};import{Plugin as _0x232324}from'ckeditor5/src/core';export default class St extends _0x232324{[_0x2d87('0x6')](){const _0x1549a8=this[_0x2d87('0x1')],_0x161b8a=_0x1549a8[_0x2d87('0x0')]['get'](_0x2d87('0x3'));_0x1549a8[_0x2d87('0x0')][_0x2d87('0x2')]('UndoEditing')&&(_0x161b8a['enableCommand'](_0x2d87('0x5')),_0x161b8a['enableCommand'](_0x2d87('0x4')));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xae45=['isBlock','isLimit','getCustomProperty','schema','get','ck-suggestion-marker--active','markerName','isContent','getItems','hasAttribute','span','isAtEnd','toViewElement','consumable','addClass','push','elementEnd','parent','previousPosition','markerRange','writer','mapper','TrackChangesEditing','model','nextSibling','ck-suggestion-marker-','test','item','type','listIndent','name','element','addHighlight','getWalker','bindElementToMarker','toViewPosition','listItem','activeMarkers','plugins','getAttribute'];(function(_0x3e62f5,_0xae457d){const _0xd59cef=function(_0x3e762f){while(--_0x3e762f){_0x3e62f5['push'](_0x3e62f5['shift']());}};_0xd59cef(++_0xae457d);}(_0xae45,0x16a));const _0xd59c=function(_0x3e62f5,_0xae457d){_0x3e62f5=_0x3e62f5-0x0;let _0xd59cef=_0xae45[_0x3e62f5];return _0xd59cef;};export function getRangesWithAttribute(_0x48a801,_0x2f35cb,_0x4e4c52){const _0x147dcb=[];for(const _0x23e393 of _0x2f35cb[_0xd59c('0x6')]())_0x23e393[_0xd59c('0x7')](_0x48a801)&&_0x147dcb[_0xd59c('0xd')](_0x4e4c52['createRangeOn'](_0x23e393));return _0x147dcb;}export function getElementsAffectedByListItemRename(_0x2c5e2d){const _0x475a01=[];if(_0x2c5e2d['is']('element','listItem')){let _0x46f24=_0x2c5e2d[_0xd59c('0x16')];for(;_0x46f24&&_0x46f24['is'](_0xd59c('0x1d'),_0xd59c('0x22'))&&_0x46f24[_0xd59c('0x25')](_0xd59c('0x1b'))>0x0;)_0x475a01[_0xd59c('0xd')](_0x46f24),_0x46f24=_0x46f24[_0xd59c('0x16')];}return _0x475a01;}export function downcastSplitMergeMarker(_0x201e20,_0x3717c3,{showActiveMarker:_0x2679e7=!0x0}={}){const _0x51d26e=_0x201e20[_0xd59c('0x24')][_0xd59c('0x2')](_0xd59c('0x14'));return(_0x5c1c47,_0x476159,_0x2f1bd7)=>{if(!_0x2f1bd7[_0xd59c('0xb')][_0xd59c('0x18')](_0x476159['markerRange'],_0x5c1c47[_0xd59c('0x1c')]))return;const _0x1e38c5=_0x476159[_0xd59c('0x11')][_0xd59c('0x1f')](),_0xa83910=_0x476159[_0xd59c('0x11')]['start'],_0x5ac129=_0x201e20[_0xd59c('0x15')][_0xd59c('0x1')];let _0x39cff5=null,_0x129210=null,_0x3b4ba0=!0x1,_0x5b2a47=!0x1;for(const _0x15e761 of _0x1e38c5){const _0x4a0e82=_0x15e761[_0xd59c('0x19')];_0x3b4ba0=_0x3b4ba0||_0x5ac129[_0xd59c('0x5')](_0x4a0e82);const _0x4b0157=_0x2f1bd7['mapper'][_0xd59c('0xa')](_0x4a0e82);if(_0x4b0157&&_0x4b0157[_0xd59c('0x0')](_0xd59c('0x1e')))return;_0xd59c('0xe')==_0x15e761[_0xd59c('0x1a')]&&(_0x5ac129[_0xd59c('0x26')](_0x4a0e82)&&!_0x5ac129[_0xd59c('0x27')](_0x4a0e82)&&(_0x4a0e82[_0xd59c('0x16')]||_0xa83910[_0xd59c('0x9')]?_0x39cff5&&_0x39cff5[_0xd59c('0xf')]==_0x4a0e82||(_0x39cff5=_0x4a0e82,_0x1497b7(_0x15e761[_0xd59c('0x10')]),_0x5b2a47=!0x0):_0x129210=_0x129210||_0x15e761[_0xd59c('0x10')]));}function _0x1497b7(_0x5bc430){const _0x2e0f8c=_0x2f1bd7[_0xd59c('0x12')]['createUIElement'](_0xd59c('0x8'),{'class':_0xd59c('0x17')+_0x3717c3}),_0xac336f=_0x2f1bd7[_0xd59c('0x13')][_0xd59c('0x21')](_0x5bc430);_0x2679e7&&_0x51d26e[_0xd59c('0x23')]['includes'](_0x476159[_0xd59c('0x4')])&&_0x2f1bd7[_0xd59c('0x12')][_0xd59c('0xc')](_0xd59c('0x3'),_0x2e0f8c),_0x2f1bd7[_0xd59c('0x12')]['insert'](_0xac336f,_0x2e0f8c),_0x2f1bd7[_0xd59c('0x13')][_0xd59c('0x20')](_0x2e0f8c,_0x476159[_0xd59c('0x4')]);}_0x3b4ba0||_0x5b2a47||!_0x129210||_0x1497b7(_0x129210);};}
|