@ckeditor/ckeditor5-track-changes 35.1.0 → 35.2.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 +2 -2
- 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 +2 -1
- package/lang/translations/ar.po +4 -0
- package/lang/translations/az.po +4 -0
- package/lang/translations/bg.po +4 -0
- package/lang/translations/bn.po +4 -0
- package/lang/translations/ca.po +4 -0
- package/lang/translations/cs.po +4 -0
- package/lang/translations/da.po +4 -0
- package/lang/translations/de.po +4 -0
- package/lang/translations/el.po +4 -0
- package/lang/translations/en-au.po +4 -0
- package/lang/translations/en.po +4 -0
- package/lang/translations/es.po +4 -0
- package/lang/translations/et.po +4 -0
- package/lang/translations/fi.po +4 -0
- package/lang/translations/fr.po +4 -0
- package/lang/translations/gl.po +4 -0
- package/lang/translations/he.po +4 -0
- package/lang/translations/hi.po +4 -0
- package/lang/translations/hr.po +4 -0
- package/lang/translations/hu.po +4 -0
- package/lang/translations/id.po +4 -0
- package/lang/translations/it.po +4 -0
- package/lang/translations/ja.po +4 -0
- package/lang/translations/ko.po +27 -23
- package/lang/translations/lt.po +4 -0
- package/lang/translations/lv.po +4 -0
- package/lang/translations/ms.po +4 -0
- package/lang/translations/nl.po +4 -0
- package/lang/translations/no.po +4 -0
- package/lang/translations/pl.po +4 -0
- package/lang/translations/pt-br.po +4 -0
- package/lang/translations/pt.po +4 -0
- package/lang/translations/ro.po +4 -0
- package/lang/translations/ru.po +4 -0
- package/lang/translations/sk.po +4 -0
- package/lang/translations/sr-latn.po +4 -0
- package/lang/translations/sr.po +4 -0
- package/lang/translations/sv.po +4 -0
- package/lang/translations/th.po +4 -0
- package/lang/translations/tk.po +4 -0
- package/lang/translations/tr.po +4 -0
- package/lang/translations/tt.po +6 -2
- package/lang/translations/uk.po +4 -0
- package/lang/translations/ur.po +4 -0
- package/lang/translations/vi.po +4 -0
- package/lang/translations/zh-cn.po +4 -0
- package/lang/translations/zh.po +4 -0
- package/package.json +4 -4
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/importword.js +23 -0
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/getrangesofblockgroups.js +1 -1
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ef1=['afterInit','List','push','findIndex','execute','*Indent:*\x20%0','model','enableCommand','before','locale','listItem','add','*Check\x20item*','checkChild','getAttribute','commands','outdentList','checkTodoList','listIndent','ELEMENT_LIST_ITEM','registerElementLabel','ELEMENT_TODO_LIST','nextSibling','indentList','slice','TodoListEditing','numbered','previousSibling','todoList','from','plugins','*Outdent:*\x20%0','*Change\x20to:*\x20%0','length','numberedList','end','createPositionAt','markBlockFormat','ELEMENT_BULLETED_LIST','schema','document','element','filter','parent','commandName','ELEMENT_NUMBERED_LIST','createRange','isObject','selection','TrackChangesEditing','bulletedList','has','value','name','*Uncheck\x20item*','editor','change','getSelectedBlocks','get','replace','_descriptionFactory','listType','format','todo','bulleted'];(function(_0x55181f,_0x1ef158){const _0x1b5e82=function(_0x361b49){while(--_0x361b49){_0x55181f['push'](_0x55181f['shift']());}};_0x1b5e82(++_0x1ef158);}(_0x1ef1,0x1c9));const _0x1b5e=function(_0x55181f,_0x1ef158){_0x55181f=_0x55181f-0x0;let _0x1b5e82=_0x1ef1[_0x55181f];return _0x1b5e82;};import{Plugin as _0x198dfa}from'ckeditor5/src/core';import{getTranslation as _0x468a31}from'../utils/common-translations';export default class it extends _0x198dfa{[_0x1b5e('0x3f')](){const _0x2f0a21=this[_0x1b5e('0x35')],_0x4da39c=_0x2f0a21[_0x1b5e('0x7')];if(!_0x2f0a21['plugins'][_0x1b5e('0x31')]('ListEditing'))return;const _0x4d9a22=_0x2f0a21[_0x1b5e('0x1c')][_0x1b5e('0x38')](_0x1b5e('0x2f')),_0xf9c406=_0x2f0a21[_0x1b5e('0x1c')][_0x1b5e('0x31')](_0x1b5e('0x17'));function _0x33f0b2(_0x13ee22){return()=>{const _0x2524c9=_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x26')][_0x1b5e('0x2e')],_0x23623b=_0x2f0a21[_0x1b5e('0xd')][_0x1b5e('0x38')](_0x13ee22);if(_0x23623b['value'])return void _0x2f0a21[_0x1b5e('0x2')]('paragraph',{});const _0x1e0ac5=_0x13ee22[_0x1b5e('0x16')](0x0,-0x4),_0x37c949=function(_0x1335be,_0x5c2146,_0x25b8f8){let _0x31d274=Array[_0x1b5e('0x1b')](_0x1335be)['filter'](_0x12fc53=>function(_0x3137dd,_0x2b15b0){return _0x2b15b0[_0x1b5e('0xb')](_0x3137dd[_0x1b5e('0x29')],_0x1b5e('0x8'))&&!_0x2b15b0[_0x1b5e('0x2d')](_0x3137dd);}(_0x12fc53,_0x25b8f8));_0x31d274=_0x31d274['filter'](_0x2db417=>!_0x2db417['is'](_0x1b5e('0x27'),'listItem')||_0x2db417[_0x1b5e('0xc')](_0x1b5e('0x3b'))!=_0x5c2146);const _0x2e7344=new Set();for(const _0x51288e of _0x31d274)_0x51288e['is']('element',_0x1b5e('0x8'))?_0x2e7344[_0x1b5e('0x9')](Lt(_0x51288e)):_0x2e7344[_0x1b5e('0x9')](_0x51288e);return Array[_0x1b5e('0x1b')](_0x2e7344);}(_0x2524c9[_0x1b5e('0x37')](),_0x1e0ac5,_0x2f0a21['model'][_0x1b5e('0x25')]);_0x2f0a21[_0x1b5e('0x4')]['change'](()=>{for(const _0x158f37 of _0x37c949)_0x4d9a22[_0x1b5e('0x23')](_0x158f37,{'commandName':_0x13ee22,'commandParams':[{'forceValue':!_0x23623b[_0x1b5e('0x32')]}],'formatGroupId':'blockName'},Mt(_0x158f37));});};}function _0x30e908(_0x4e7aa7){return()=>{const _0x46b8bc=function(_0x50b1d2){const _0x322f04=(_0x50b1d2=Array[_0x1b5e('0x1b')](_0x50b1d2))[_0x1b5e('0x1')](_0x5ce71e=>'listItem'!=_0x5ce71e[_0x1b5e('0x33')]);return _0x322f04>-0x1&&(_0x50b1d2=_0x50b1d2[_0x1b5e('0x16')](0x0,_0x322f04)),_0x50b1d2;}(_0x2f0a21[_0x1b5e('0x4')]['document']['selection'][_0x1b5e('0x37')]()),_0x379ec6=_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x2c')](_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x22')](_0x46b8bc[0x0],_0x1b5e('0x6')),_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x22')](_0x46b8bc[_0x46b8bc[_0x1b5e('0x1f')]-0x1],_0x1b5e('0x21')));_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x36')](()=>{_0x4d9a22[_0x1b5e('0x23')](_0x379ec6,{'commandName':_0x4e7aa7,'commandParams':[],'formatGroupId':_0x1b5e('0x10')},function(_0x307af8){const _0x4a216b=new Set();for(const _0x1f29e6 of _0x307af8){let _0x49b281=_0x1f29e6[_0x1b5e('0x14')];for(;_0x49b281&&_0x49b281[_0x1b5e('0xc')]('listIndent')>_0x1f29e6['getAttribute'](_0x1b5e('0x10'));)_0x4a216b[_0x1b5e('0x9')](_0x49b281),_0x49b281=_0x49b281[_0x1b5e('0x14')];}return Array[_0x1b5e('0x1b')](_0x4a216b);}(_0x46b8bc));});};}_0x4d9a22[_0x1b5e('0x5')]('numberedList',_0x33f0b2(_0x1b5e('0x20'))),_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0x30'),_0x33f0b2(_0x1b5e('0x30'))),_0xf9c406&&_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0x1a'),_0x33f0b2(_0x1b5e('0x1a'))),_0x4d9a22[_0x1b5e('0x5')]('indentList',_0x30e908(_0x1b5e('0x15'))),_0x4d9a22['enableCommand'](_0x1b5e('0xe'),_0x30e908('outdentList')),_0xf9c406&&_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0xf'),()=>{const _0x5af438=_0x2f0a21[_0x1b5e('0xd')]['get'](_0x1b5e('0xf')),_0x22858a=Array[_0x1b5e('0x1b')](_0x5af438['_selectedElements']);_0x22858a[_0x1b5e('0x28')](_0x1f84b5=>_0x1f84b5[_0x1b5e('0xc')]('todoListChecked')!=_0x5af438['value']),_0x2f0a21[_0x1b5e('0x4')]['change'](()=>{for(const _0x129cd5 of _0x22858a)_0x4d9a22[_0x1b5e('0x23')](_0x129cd5,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x5af438[_0x1b5e('0x32')]}]});});}),_0x4d9a22[_0x1b5e('0x3a')][_0x1b5e('0x12')](_0x1b5e('0x8'),_0x47e5a8=>_0x468a31(_0x4da39c,_0x1b5e('0x11'),_0x47e5a8)),_0x4d9a22[_0x1b5e('0x3a')]['registerDescriptionCallback'](_0x1b5d23=>{const {data:_0x5df955}=_0x1b5d23;if(_0x5df955){if('numberedList'==_0x5df955[_0x1b5e('0x2a')]||_0x1b5e('0x30')==_0x5df955[_0x1b5e('0x2a')]||_0x1b5e('0x1a')==_0x5df955[_0x1b5e('0x2a')])switch(_0x5df955[_0x1b5e('0x2a')][_0x1b5e('0x39')](_0x1b5e('0x40'),'')){case _0x1b5e('0x3e'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x24')));case _0x1b5e('0x18'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x2b')));case _0x1b5e('0x3d'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x13')));}if(_0x1b5e('0x15')==_0x5df955['commandName'])return{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x3'),_0x468a31(_0x4da39c,_0x1b5e('0x11')))};if('outdentList'==_0x5df955[_0x1b5e('0x2a')])return{'type':_0x1b5e('0x3c'),'content':_0x468a31(_0x4da39c,_0x1b5e('0x1d'),_0x468a31(_0x4da39c,'ELEMENT_LIST_ITEM'))};if(_0x1b5e('0xf')==_0x5df955[_0x1b5e('0x2a')])return _0x5df955['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0xa'))}:{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x34'))};}function _0x39fe47(_0x2570aa){return{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x1e'),_0x2570aa)};}});}}function Lt(_0x21333e){const _0x4036a2=_0x21333e[_0x1b5e('0xc')](_0x1b5e('0x10'));if(0x0==_0x4036a2)return _0x21333e;let _0x412b79=_0x21333e;for(;_0x21333e[_0x1b5e('0x19')]&&_0x21333e[_0x1b5e('0x19')]['is'](_0x1b5e('0x27'),_0x1b5e('0x8'));){const _0x25d845=_0x21333e['previousSibling'][_0x1b5e('0xc')](_0x1b5e('0x10'));if(_0x25d845==_0x4036a2)_0x412b79=_0x21333e[_0x1b5e('0x19')];else{if(_0x25d845<_0x4036a2)break;}_0x21333e=_0x21333e[_0x1b5e('0x19')];}return _0x412b79;}function Mt(_0x5be3d2){const _0x2a7198=[];if(_0x5be3d2['is']('element','listItem')&&_0x5be3d2[_0x1b5e('0xc')](_0x1b5e('0x10'))>0x0){let _0x19f65c=_0x5be3d2[_0x1b5e('0x14')];for(;_0x19f65c&&_0x1b5e('0x8')==_0x19f65c[_0x1b5e('0x33')]&&_0x19f65c['getAttribute'](_0x1b5e('0x10'))==_0x5be3d2[_0x1b5e('0xc')](_0x1b5e('0x10'));)_0x2a7198[_0x1b5e('0x0')](_0x19f65c),_0x19f65c=_0x19f65c[_0x1b5e('0x14')];}return _0x2a7198;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53d9=['showSuggestionHighlights','high','locale','ELEMENT_MEDIA','enableCommand','stop','createEmptyElement','get','downcastDispatcher','div','_descriptionFactory','editor','elementToElement','media','data','MediaEmbedEditing','attribute:url:media','options','has','TrackChangesEditing','plugins','conversion','mediaEmbed'];(function(_0xd31ec3,_0x53d908){const _0xc59768=function(_0x223336){while(--_0x223336){_0xd31ec3['push'](_0xd31ec3['shift']());}};_0xc59768(++_0x53d908);}(_0x53d9,0x9b));const _0xc597=function(_0xd31ec3,_0x53d908){_0xd31ec3=_0xd31ec3-0x0;let _0xc59768=_0x53d9[_0xd31ec3];return _0xc59768;};import{Plugin as _0xda7f4}from'ckeditor5/src/core';import{getTranslation as _0x34c3cd}from'../utils/common-translations';export default class st extends _0xda7f4{['afterInit'](){const _0x4dc2d0=this[_0xc597('0x11')];if(!_0x4dc2d0[_0xc597('0x3')][_0xc597('0x1')](_0xc597('0x15')))return;const _0x5b230c=_0x4dc2d0[_0xc597('0x3')][_0xc597('0xd')](_0xc597('0x2')),_0x551a9c=_0x4dc2d0[_0xc597('0x8')];_0x5b230c[_0xc597('0xa')](_0xc597('0x5')),_0x5b230c[_0xc597('0x10')]['registerElementLabel'](_0xc597('0x13'),_0x285ace=>_0x34c3cd(_0x551a9c,_0xc597('0x9'),_0x285ace)),_0x4dc2d0[_0xc597('0x4')]['for']('dataDowncast')[_0xc597('0x12')]({'model':_0xc597('0x13'),'view':(_0x1b0d62,{writer:_0x51aa46,options:_0x4dd9c3})=>{if(_0x4dd9c3[_0xc597('0x6')])return _0x51aa46[_0xc597('0xc')](_0xc597('0xf'));},'converterPriority':_0xc597('0x7')}),_0x4dc2d0[_0xc597('0x14')][_0xc597('0xe')]['on'](_0xc597('0x16'),(_0x64550d,_0x2c6520,_0x22c8e1)=>{_0x22c8e1[_0xc597('0x0')][_0xc597('0x6')]&&_0x64550d[_0xc597('0xb')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ce4=['plugins','TrackChangesEditing','get','editor','enableCommand','mention','afterInit'];(function(_0x2770f2,_0x1ce427){const _0x88180a=function(_0x10de2e){while(--_0x10de2e){_0x2770f2['push'](_0x2770f2['shift']());}};_0x88180a(++_0x1ce427);}(_0x1ce4,0x109));const _0x8818=function(_0x2770f2,_0x1ce427){_0x2770f2=_0x2770f2-0x0;let _0x88180a=_0x1ce4[_0x2770f2];return _0x88180a;};import{Plugin as _0x3dcf03}from'ckeditor5/src/core';export default class et extends _0x3dcf03{[_0x8818('0x0')](){const _0x286581=this[_0x8818('0x4')];_0x286581[_0x8818('0x1')]['has']('MentionEditing')&&_0x286581['plugins'][_0x8818('0x3')](_0x8818('0x2'))[_0x8818('0x5')](_0x8818('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x210d=['locale','editor','PageBreakEditing','ELEMENT_PAGE_BREAK','registerElementLabel','get','afterInit','has','pageBreak','TrackChangesEditing','plugins'];(function(_0x21c4ca,_0x210d57){const _0x17570d=function(_0x48f9e5){while(--_0x48f9e5){_0x21c4ca['push'](_0x21c4ca['shift']());}};_0x17570d(++_0x210d57);}(_0x210d,0xf1));const _0x1757=function(_0x21c4ca,_0x210d57){_0x21c4ca=_0x21c4ca-0x0;let _0x17570d=_0x210d[_0x21c4ca];return _0x17570d;};import{Plugin as _0x178bbc}from'ckeditor5/src/core';import{getTranslation as _0x2f4b1a}from'../utils/common-translations';export default class nt extends _0x178bbc{[_0x1757('0x7')](){const _0x2bf2cf=this[_0x1757('0x2')];if(!_0x2bf2cf[_0x1757('0x0')][_0x1757('0x8')](_0x1757('0x3')))return;_0x2bf2cf[_0x1757('0x0')][_0x1757('0x6')](_0x1757('0xa'))['enableCommand']('pageBreak');const _0x43afd3=_0x2bf2cf['plugins'][_0x1757('0x6')](_0x1757('0xa')),_0x11698d=_0x2bf2cf[_0x1757('0x1')];_0x43afd3['_descriptionFactory'][_0x1757('0x5')](_0x1757('0x9'),_0x5220a2=>_0x2f4b1a(_0x11698d,_0x1757('0x4'),_0x5220a2));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x587e=['end','checkChild','*Change\x20to:*\x20%0','commandName','consume','locale','span','filter','start','getItemLabel','model','ELEMENT_PARAGRAPH','mapper','parent','get','document','ck-suggestion-marker-split','consumable','insert','highest','markBlockFormat','insertion','afterInit','enableCommand','getSelectedBlocks','type','includes','selection','*Insert:*\x20%0','markerRange','nodeAfter','_descriptionFactory','createUIElement','ck-suggestion-marker--active','schema','isBlock','getFirstRange','has','isTouching','activeMarkers','addMarker:suggestion:insertion','bindElementToMarker','editor','name','markerName','showSuggestionHighlights','$text','editing','Paragraph','writer','blockName','insertParagraph','paragraph','isLimit','plugins','registerDescriptionCallback','from','change','TrackChangesEditing'];(function(_0x1f1e1c,_0x587efa){const _0x532b36=function(_0x3f7442){while(--_0x3f7442){_0x1f1e1c['push'](_0x1f1e1c['shift']());}};_0x532b36(++_0x587efa);}(_0x587e,0xe6));const _0x532b=function(_0x1f1e1c,_0x587efa){_0x1f1e1c=_0x1f1e1c-0x0;let _0x532b36=_0x587e[_0x1f1e1c];return _0x532b36;};import{Plugin as _0x56b23c}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xacd984}from'./utils';import{getTranslation as _0x320cc3}from'../utils/common-translations';export default class ot extends _0x56b23c{[_0x532b('0x1c')](){const _0x3b45a4=this[_0x532b('0x30')];if(!_0x3b45a4[_0x532b('0x1')][_0x532b('0x2b')](_0x532b('0x36')))return;const _0x249c69=_0x3b45a4[_0x532b('0xb')],_0x1e37ab=_0x3b45a4[_0x532b('0x1')]['get'](_0x532b('0x5'));_0x1e37ab[_0x532b('0x25')]['registerElementLabel']('paragraph',_0x35d147=>_0x320cc3(_0x249c69,_0x532b('0x11'),_0x35d147)),_0x1e37ab[_0x532b('0x1d')](_0x532b('0x3a'),(_0x28e8d0,_0x57ab38={})=>{const _0x4ee290=_0x3b45a4[_0x532b('0x10')][_0x532b('0x15')],_0x32c082=_0x57ab38[_0x532b('0x21')]||_0x4ee290['selection'],_0x43e0a5=Array[_0x532b('0x3')](_0x32c082[_0x532b('0x1e')]())[_0x532b('0xd')](_0x374766=>function(_0x30fd51,_0x40a97a){return _0x40a97a[_0x532b('0x7')](_0x30fd51[_0x532b('0x13')],_0x532b('0x3a'))&&!_0x40a97a['isObject'](_0x30fd51)&&'paragraph'!=_0x30fd51[_0x532b('0x31')];}(_0x374766,this[_0x532b('0x30')][_0x532b('0x10')][_0x532b('0x28')]));_0x3b45a4[_0x532b('0x10')][_0x532b('0x4')](()=>{for(const _0x33908 of _0x43e0a5)_0x1e37ab[_0x532b('0x1a')](_0x33908,{'commandName':_0x532b('0x3a'),'commandParams':[],'formatGroupId':_0x532b('0x38')},_0xacd984(_0x33908));});}),_0x1e37ab[_0x532b('0x25')][_0x532b('0x2')](_0x5b6890=>{const {data:_0xe515c3}=_0x5b6890;if(_0xe515c3&&_0x532b('0x3a')==_0xe515c3[_0x532b('0x9')])return{'type':'format','content':_0x320cc3(_0x249c69,_0x532b('0x8'),_0x320cc3(_0x249c69,_0x532b('0x11')))};}),_0x1e37ab[_0x532b('0x1d')](_0x532b('0x39')),_0x3b45a4[_0x532b('0x35')]['downcastDispatcher']['on'](_0x532b('0x2e'),tr(_0x3b45a4),{'priority':_0x532b('0x19')}),_0x3b45a4['data']['downcastDispatcher']['on'](_0x532b('0x2e'),(_0x4a06e6,_0x4389dc,_0x48b4f9)=>{_0x48b4f9['options'][_0x532b('0x33')]&&tr(_0x3b45a4,{'showActiveMarker':!0x1})(_0x4a06e6,_0x4389dc,_0x48b4f9);},{'priority':'highest'});const _0x26677f=_0x1e37ab['_descriptionFactory'];_0x26677f['registerDescriptionCallback'](_0x53dc98=>{if(_0x532b('0x1b')!==_0x53dc98[_0x532b('0x1f')])return;const {start:_0x121271,end:_0x4f0c37}=_0x53dc98[_0x532b('0x2a')]();if(!_0x121271[_0x532b('0x2c')](_0x4f0c37)||!_0x121271[_0x532b('0x24')])return;const _0x59b8b2=_0x3b45a4[_0x532b('0x10')][_0x532b('0x28')],_0x2c5ac9=_0x121271[_0x532b('0x24')];return _0x59b8b2[_0x532b('0x29')](_0x2c5ac9)&&!_0x59b8b2[_0x532b('0x0')](_0x2c5ac9)&&_0x59b8b2[_0x532b('0x7')](_0x2c5ac9,_0x532b('0x34'))?{'type':_0x532b('0x1b'),'content':_0x320cc3(_0x249c69,_0x532b('0x22'),_0x26677f[_0x532b('0xf')](_0x2c5ac9['name'],0x1))}:void 0x0;});}}function tr(_0x230ba6,{showActiveMarker:_0x5ded78=!0x0}={}){return(_0x518391,_0x4a2be1,_0x1588e4)=>{const _0x43eec6=_0x230ba6[_0x532b('0x1')][_0x532b('0x14')]('TrackChangesEditing'),_0x2500be=_0x4a2be1['markerRange'][_0x532b('0xe')],_0x221643=_0x4a2be1[_0x532b('0x23')][_0x532b('0x6')],_0x3cc7db=_0x230ba6[_0x532b('0x10')]['schema'];if(!_0x2500be['isTouching'](_0x221643)||!_0x2500be[_0x532b('0x24')])return;const _0x1a80cb=_0x2500be[_0x532b('0x24')];if(_0x3cc7db[_0x532b('0x29')](_0x1a80cb)&&!_0x3cc7db[_0x532b('0x0')](_0x1a80cb)&&_0x3cc7db[_0x532b('0x7')](_0x1a80cb,_0x532b('0x34'))){if(!_0x1588e4[_0x532b('0x17')][_0x532b('0xa')](_0x4a2be1[_0x532b('0x23')],_0x518391['name']))return;const _0x45446a=_0x1588e4['writer'][_0x532b('0x26')](_0x532b('0xc'),{'class':_0x532b('0x16')}),_0x4cc2ef=_0x1588e4[_0x532b('0x12')]['toViewPosition'](_0x221643);_0x5ded78&&_0x43eec6[_0x532b('0x2d')][_0x532b('0x20')](_0x4a2be1[_0x532b('0x32')])&&_0x1588e4[_0x532b('0x37')]['addClass'](_0x532b('0x27'),_0x45446a),_0x1588e4[_0x532b('0x37')][_0x532b('0x18')](_0x4cc2ef,_0x45446a),_0x1588e4[_0x532b('0x12')][_0x532b('0x2f')](_0x45446a,_0x4a2be1[_0x532b('0x32')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c84=['selection','RemoveFormatEditing','get','format','*Remove\x20all\x20formatting*','removeFormat','getAttributes','registerDescriptionCallback','model','isFormatting','getRanges','isCollapsed','getItems','plugins','enableCommand','from','_descriptionFactory','schema','locale','change','has'];(function(_0x5c660e,_0x1c84e0){const _0x1f9306=function(_0x5e4d6e){while(--_0x5e4d6e){_0x5c660e['push'](_0x5c660e['shift']());}};_0x1f9306(++_0x1c84e0);}(_0x1c84,0x1e8));const _0x1f93=function(_0x5c660e,_0x1c84e0){_0x5c660e=_0x5c660e-0x0;let _0x1f9306=_0x1c84[_0x5c660e];return _0x1f9306;};import{Plugin as _0x1a629c}from'ckeditor5/src/core';import{getTranslation as _0x492f37}from'../utils/common-translations';export default class rt extends _0x1a629c{['afterInit'](){const _0x2a60a0=this['editor'];if(!_0x2a60a0[_0x1f93('0x8')][_0x1f93('0xf')](_0x1f93('0x11')))return;const _0xce57a4=_0x2a60a0[_0x1f93('0x8')][_0x1f93('0x12')]('TrackChangesEditing');_0xce57a4[_0x1f93('0x9')](_0x1f93('0x0'),_0x5f9e1d=>{const _0x54d4d1=_0x2a60a0[_0x1f93('0x3')]['document'][_0x1f93('0x10')];_0x54d4d1[_0x1f93('0x6')]?_0x5f9e1d():_0x2a60a0[_0x1f93('0x3')][_0x1f93('0xe')](()=>{const _0x2a2721=Array[_0x1f93('0xa')](_0x54d4d1[_0x1f93('0x5')]());for(const _0x31b4a8 of _0x2a2721)for(const _0xd58445 of _0x31b4a8[_0x1f93('0x7')]())ro(_0xd58445,_0x2a60a0['model'][_0x1f93('0xc')])&&_0xce57a4['markInlineFormat'](_0x2a60a0[_0x1f93('0x3')]['createRangeOn'](_0xd58445),{'commandName':'removeFormat','commandParams':[]});});}),_0xce57a4[_0x1f93('0xb')][_0x1f93('0x2')](_0x423476=>{const {data:_0x1d9009}=_0x423476;if(_0x1d9009&&'removeFormat'==_0x1d9009['commandName'])return{'type':_0x1f93('0x13'),'content':_0x492f37(_0x2a60a0[_0x1f93('0xd')],_0x1f93('0x14'))};});}}function ro(_0x2685b0,_0x257ce7){for(const [_0x22714c]of _0x2685b0[_0x1f93('0x1')]()){const _0x256c45=_0x257ce7['getAttributeProperties'](_0x22714c);if(_0x256c45&&_0x256c45[_0x1f93('0x4')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41f2=['TrackChangesEditing','discardSelectedSuggestions','discardAllSuggestions','goToNextRestrictedEditingException','goToPreviousRestrictedEditingException','has','acceptSelectedSuggestions','acceptAllSuggestions','afterInit','acceptSuggestion','discardSuggestion','plugins','RestrictedEditingModeEditing','enableCommand'];(function(_0x499498,_0x41f252){const _0x954be5=function(_0xf82e5d){while(--_0xf82e5d){_0x499498['push'](_0x499498['shift']());}};_0x954be5(++_0x41f252);}(_0x41f2,0x199));const _0x954b=function(_0x499498,_0x41f252){_0x499498=_0x499498-0x0;let _0x954be5=_0x41f2[_0x499498];return _0x954be5;};import{Plugin as _0x307339}from'ckeditor5/src/core';export default class at extends _0x307339{[_0x954b('0x5')](){const _0x201365=this['editor'];if(!_0x201365[_0x954b('0x8')][_0x954b('0x2')](_0x954b('0x9')))return;const _0x4cbdb5=_0x201365['plugins']['get'](_0x954b('0xb'));_0x4cbdb5[_0x954b('0xa')](_0x954b('0x1')),_0x4cbdb5[_0x954b('0xa')](_0x954b('0x0'));const _0x35c669=_0x201365[_0x954b('0x8')]['get']('RestrictedEditingModeEditing');_0x35c669[_0x954b('0xa')]('trackChanges'),_0x35c669[_0x954b('0xa')](_0x954b('0x6')),_0x35c669['enableCommand'](_0x954b('0x7')),_0x35c669[_0x954b('0xa')](_0x954b('0x4')),_0x35c669[_0x954b('0xa')](_0x954b('0xd')),_0x35c669[_0x954b('0xa')](_0x954b('0x3')),_0x35c669[_0x954b('0xa')](_0x954b('0xc'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2db5=['createUIElement','addMarker:suggestion:deletion','activeMarkers','createPositionBefore','editor','locale','toViewPosition','downcastDispatcher','high','ck-suggestion-marker-','showSuggestionHighlights','merge','TrackChangesEditing','options','init','name','model','registerElementLabel','softBreak','get','mapper','writer','markerName','bindElementToMarker','insert','enableCommand','addMarker:suggestion','editing','addClass','span','_descriptionFactory','markerRange','element','includes','deletion','requires','getItems','plugins','addMarker:suggestion:insertion','split'];(function(_0x218f3e,_0x2db536){const _0x1c0998=function(_0x1fab6e){while(--_0x1fab6e){_0x218f3e['push'](_0x218f3e['shift']());}};_0x1c0998(++_0x2db536);}(_0x2db5,0xf1));const _0x1c09=function(_0x218f3e,_0x2db536){_0x218f3e=_0x218f3e-0x0;let _0x1c0998=_0x2db5[_0x218f3e];return _0x1c0998;};import{Plugin as _0x2e41ac}from'ckeditor5/src/core';import{ShiftEnter as _0x139726}from'ckeditor5/src/enter';import{getTranslation as _0x14fe87}from'../utils/common-translations';export default class ct extends _0x2e41ac{static get[_0x1c09('0x22')](){return[_0x139726];}[_0x1c09('0xd')](){const _0x3f9ca3=this[_0x1c09('0x3')],_0x178aef=_0x3f9ca3[_0x1c09('0x24')][_0x1c09('0x12')](_0x1c09('0xb'));_0x178aef[_0x1c09('0x18')]('shiftEnter'),_0x3f9ca3['editing'][_0x1c09('0x6')]['on'](_0x1c09('0x25'),re(_0x3f9ca3),{'priority':'high'}),_0x3f9ca3[_0x1c09('0x1a')][_0x1c09('0x6')]['on'](_0x1c09('0x0'),re(_0x3f9ca3),{'priority':_0x1c09('0x7')}),_0x3f9ca3['data'][_0x1c09('0x6')]['on'](_0x1c09('0x19'),(_0x2dc2fe,_0x3f8c72,_0x1b4d97)=>{_0x1b4d97[_0x1c09('0xc')][_0x1c09('0x9')]&&re(_0x3f9ca3,{'showActiveMarker':!0x1})(_0x2dc2fe,_0x3f8c72,_0x1b4d97);}),_0x178aef[_0x1c09('0x1d')][_0x1c09('0x10')]('softBreak',_0x108d37=>_0x14fe87(_0x3f9ca3[_0x1c09('0x4')],'ELEMENT_LINE_BREAK',_0x108d37));}}function re(_0x51bfd8,{showActiveMarker:_0x497280=!0x0}={}){return(_0x495b0c,_0x158517,_0x4905d9)=>{const _0x13b7e2=_0x51bfd8[_0x1c09('0x24')]['get'](_0x1c09('0xb'));if(!_0x4905d9['consumable']['test'](_0x158517['markerRange'],_0x495b0c[_0x1c09('0xe')]))return;const _0x499574=_0x51bfd8[_0x1c09('0xf')];for(const _0x31b894 of _0x158517[_0x1c09('0x1e')][_0x1c09('0x23')]()){if(!_0x31b894['is'](_0x1c09('0x1f'),_0x1c09('0x11')))continue;const _0x59e22f=_0x1c09('0x21')==_0x158517[_0x1c09('0x15')][_0x1c09('0x26')](':')[0x1]?_0x1c09('0xa'):'split',_0x4c0e32=_0x4905d9[_0x1c09('0x14')][_0x1c09('0x27')](_0x1c09('0x1c'),{'class':_0x1c09('0x8')+_0x59e22f}),_0x4b2aaf=_0x4905d9[_0x1c09('0x13')][_0x1c09('0x5')](_0x499574[_0x1c09('0x2')](_0x31b894));_0x497280&&_0x13b7e2[_0x1c09('0x1')][_0x1c09('0x20')](_0x158517[_0x1c09('0x15')])&&_0x4905d9[_0x1c09('0x14')][_0x1c09('0x1b')]('ck-suggestion-marker--active',_0x4c0e32),_0x4905d9[_0x1c09('0x14')][_0x1c09('0x17')](_0x4b2aaf,_0x4c0e32),_0x4905d9[_0x1c09('0x13')][_0x1c09('0x16')](_0x4c0e32,_0x158517[_0x1c09('0x15')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1431=['_descriptionFactory','restrictedEditingException','has','forceValue','plugins','value','FORMAT_RESTRICTED_DISABLED','TrackChangesEditing','commandName','selection','StandardEditingModeEditing','markInlineFormat','getRanges','from','get','enableCommand','format','registerDescriptionCallback','isCollapsed','commands','change'];(function(_0x454f84,_0x14316a){const _0x328c86=function(_0x37d84e){while(--_0x37d84e){_0x454f84['push'](_0x454f84['shift']());}};_0x328c86(++_0x14316a);}(_0x1431,0x187));const _0x328c=function(_0x454f84,_0x14316a){_0x454f84=_0x454f84-0x0;let _0x328c86=_0x1431[_0x454f84];return _0x328c86;};import{Plugin as _0x48ae97}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x535dde}from'./utils';import{getTranslation as _0xaf6829}from'../utils/common-translations';export default class ht extends _0x48ae97{['afterInit'](){const _0x222aca=this['editor'],_0x26e7cb=_0x222aca['model'],_0x139a6f=_0x222aca['locale'];if(!_0x222aca[_0x328c('0xc')][_0x328c('0xa')](_0x328c('0x12')))return;const _0xf09c31=_0x222aca['plugins']['get'](_0x328c('0xf')),_0x52f4cc=_0x328c('0x9'),_0x4a774f=_0x222aca[_0x328c('0x6')][_0x328c('0x1')](_0x52f4cc);_0xf09c31[_0x328c('0x2')](_0x52f4cc,(_0x40c715,_0x14afd2={})=>{const _0x3f6ae9=_0x26e7cb['document'][_0x328c('0x11')];if(_0x3f6ae9[_0x328c('0x5')])return void _0x40c715(_0x14afd2);const _0x42ea8a=void 0x0!==_0x14afd2[_0x328c('0xb')]?_0x14afd2[_0x328c('0xb')]:!_0x4a774f[_0x328c('0xd')];_0x26e7cb[_0x328c('0x7')](()=>{const _0x116f60=Array[_0x328c('0x0')](_0x3f6ae9[_0x328c('0x14')]());for(const _0x4d4784 of _0x116f60){const _0x78693d=_0x42ea8a?[_0x4d4784]:_0x535dde(_0x52f4cc,_0x4d4784,_0x26e7cb);for(const _0x106b0c of _0x78693d)_0xf09c31[_0x328c('0x13')](_0x106b0c,{'commandName':_0x52f4cc,'commandParams':[{'forceValue':_0x42ea8a}]});}});}),_0xf09c31[_0x328c('0x8')][_0x328c('0x4')](_0x529af4=>{const {data:_0xb29716}=_0x529af4;if(_0xb29716&&_0xb29716[_0x328c('0x10')]==_0x52f4cc)return _0xb29716['commandParams'][0x0][_0x328c('0xb')]?{'type':_0x328c('0x3'),'content':_0xaf6829(_0x139a6f,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x328c('0x3'),'content':_0xaf6829(_0x139a6f,_0x328c('0xe'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2cb6=['plugins','name','enableCommand','editor','change','element','createRangeOn','markBlockFormat','model','toLowerCase','config','includes','has','value','selection','styleName','inline','enabledStyles','block','add','*Format:*\x20%0','forceValue','locale','getStyleDefinition','style.definitions','modelElements','afterInit','every','*Remove\x20format:*\x20%0','style','getItems','push','commandName','_descriptionFactory','from','isBlock','find','getRangesWithClasses','get','Style','classes','registerDescriptionCallback','getDefinitionsForView','getRanges','format','commandParams','style:'];(function(_0x4859dd,_0x2cb6b8){const _0x35dfee=function(_0x5462d8){while(--_0x5462d8){_0x4859dd['push'](_0x4859dd['shift']());}};_0x35dfee(++_0x2cb6b8);}(_0x2cb6,0x194));const _0x35df=function(_0x4859dd,_0x2cb6b8){_0x4859dd=_0x4859dd-0x0;let _0x35dfee=_0x2cb6[_0x4859dd];return _0x35dfee;};import{Plugin as _0x4b3bbc}from'ckeditor5/src/core';import{normalizeConfig as _0x45f3dc}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x137c9c}from'../utils/common-translations';export default class ut extends _0x4b3bbc{[_0x35df('0x2d')](){const _0x272fd1=this[_0x35df('0x16')];if(!_0x272fd1[_0x35df('0x13')][_0x35df('0x1f')](_0x35df('0xb')))return;const _0x2f25f3=_0x272fd1['commands'][_0x35df('0xa')](_0x35df('0x1')),_0xa8d41e=_0x272fd1['plugins']['get']('TrackChangesEditing'),_0x414bb3=_0x272fd1[_0x35df('0x29')],_0x4200ad=_0x272fd1[_0x35df('0x13')][_0x35df('0xa')]('DataSchema'),_0x4726d1=_0x45f3dc(_0x4200ad,_0x272fd1[_0x35df('0x1d')][_0x35df('0xa')](_0x35df('0x2b')));_0xa8d41e[_0x35df('0x15')](_0x35df('0x1'),(_0x550eec,{styleName:_0x344ead})=>{const _0xe0be16=_0x272fd1['model']['document'][_0x35df('0x21')],_0x16235d=this['getStyleDefinition'](_0x344ead,_0x4726d1);if(!_0x16235d)return;if(!_0x2f25f3[_0x35df('0x24')]['includes'](_0x344ead))return;if(_0xe0be16['isCollapsed']&&!_0x16235d['isBlock'])return void _0x550eec({'styleName':_0x344ead});const _0x5aff31=!_0x2f25f3[_0x35df('0x20')][_0x35df('0x1e')](_0x16235d[_0x35df('0x14')]);if(_0x16235d[_0x35df('0x7')]){const _0x3face3=function(_0xde6c6e,_0x38f660){const _0x4f59bc=new Set();for(const _0x571566 of _0xde6c6e){const _0x487654=_0x571566['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x465bf8 of _0x487654)if(_0x38f660[_0x35df('0x1e')](_0x465bf8['name'])){_0x4f59bc[_0x35df('0x26')](_0x465bf8);break;}}return _0x4f59bc;}(_0xe0be16['getSelectedBlocks'](),_0x16235d[_0x35df('0x2c')]);_0x272fd1[_0x35df('0x1b')][_0x35df('0x17')](()=>{for(const _0x445634 of _0x3face3)_0xa8d41e[_0x35df('0x1a')](_0x445634,{'commandName':_0x35df('0x1'),'commandParams':[{'styleName':_0x344ead,'forceValue':_0x5aff31}],'formatGroupId':_0x35df('0x12')+_0x344ead});});}else{let _0x112b50=Array[_0x35df('0x6')](_0xe0be16[_0x35df('0xf')]());if(!_0x5aff31){const _0x1b3a4d=Array[_0x35df('0x6')](_0x4200ad[_0x35df('0xe')](_0x16235d[_0x35df('0x18')],!0x1))[0x0][_0x35df('0x1b')],_0x3ba494=[];for(const _0x926792 of _0x112b50){const _0x2729ea=this[_0x35df('0x9')](_0x272fd1[_0x35df('0x1b')],_0x926792,_0x16235d[_0x35df('0xc')],_0x1b3a4d);_0x3ba494[_0x35df('0x3')](..._0x2729ea);}_0x112b50=_0x3ba494;}_0x272fd1['model'][_0x35df('0x17')](()=>{for(const _0x360532 of _0x112b50)_0xa8d41e['markInlineFormat'](_0x360532,{'commandName':_0x35df('0x1'),'commandParams':[{'styleName':_0x344ead,'forceValue':_0x5aff31}]});});}}),_0xa8d41e[_0x35df('0x5')][_0x35df('0xd')](_0x5bd6b8=>{const {data:_0x505b87}=_0x5bd6b8;if(_0x505b87&&_0x35df('0x1')===_0x505b87[_0x35df('0x4')])return _0x505b87[_0x35df('0x11')][0x0][_0x35df('0x28')]?{'type':_0x35df('0x10'),'content':_0x137c9c(_0x414bb3,_0x35df('0x27'),_0x505b87[_0x35df('0x11')][0x0][_0x35df('0x22')][_0x35df('0x1c')]())}:{'type':_0x35df('0x10'),'content':_0x137c9c(_0x414bb3,_0x35df('0x0'),_0x505b87[_0x35df('0x11')][0x0][_0x35df('0x22')][_0x35df('0x1c')]())};});}[_0x35df('0x2a')](_0x191bbd,_0xa872eb){let _0x332aab=_0xa872eb[_0x35df('0x25')]['find'](_0x144122=>_0x144122[_0x35df('0x14')]===_0x191bbd);return _0x332aab||(_0x332aab=_0xa872eb[_0x35df('0x23')][_0x35df('0x8')](_0x175c1e=>_0x175c1e['name']===_0x191bbd)),_0x332aab;}['getRangesWithClasses'](_0x4928d4,_0x36934a,_0x58917b,_0x3843ad){const _0x2b0d4e=[];for(const _0x724ac7 of _0x36934a[_0x35df('0x2')]()){const _0x747ef8=_0x724ac7['getAttribute'](_0x3843ad);_0x747ef8&&(_0x58917b[_0x35df('0x2e')](_0x566d8a=>_0x747ef8['classes']['includes'](_0x566d8a))&&_0x2b0d4e[_0x35df('0x3')](_0x4928d4[_0x35df('0x19')](_0x724ac7)));}return _0x2b0d4e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5974=['cell','markMultiRangeInsertion','getColumnIndexes','join','oldRange','root','getRanges','insertTableColumnRight','showSuggestionHighlights','filter','removeClass','_tablePostFixingSubtypes','discard','data','map','_descriptionFactory','createPositionAt','minColumn','every','*Insert:*\x20%0','rowspan','startsWith','forceValue','toViewElement','order','add','TableUtils','has','max','getCellLocation','writer','batch','insertTableRowBelow','tableCell','span','addRange','accept','end','detach','*Remove:*\x20%0','length','values','ELEMENT_TABLE_WITH_TEXT','MIN_SAFE_INTEGER','tablePaste','low','insert','findAncestor','MAX_SAFE_INTEGER','element','enqueueChange','getItems','isTouching','tableColumn','getRowIndexes','isEqual','nodeAfter','mapper','textProxy','first','maxColumn','deletion','name','TableEditing','maxRow','getChanges','colspan','registerDescriptionCallback','start','hasAttribute','toLowerCase','selection','rootName','tableRow','addMarker:suggestion','fromRange','substr','$graveyard','table','_tableSuggestions','ELEMENT_TABLE_COLUMN_WITH_TEXT','removeTableRow','above','model','item','_setupColumnsRowsFixing','createTableWalker','type','_splitMarkerName','min','commands','TrackChangesEditing','getAttribute','ELEMENT_TABLE_ROW','setSelection','_getCoordsForCells','getFirstRange','get','_getSuggestionCoords','selectTableRow','classes','suggestion','_suggestionFactory','execute','removeTableColumn','push','ELEMENT_TABLE_ROW_WITH_TEXT','left','insertion','getSelectionAffectedTableCells','document','downcastDispatcher','plugins','getSuggestion','getChangedMarkers','ELEMENT_TABLE_COLUMN','change','editor','from','registerCustomCallback','some','createRangeOn','enableCommand','locale','refresh','selectTableColumn','isInContent','last','registerPostFixer','subType','insertTableRowAbove'];(function(_0xd54346,_0x59749f){const _0x5555e2=function(_0x32f790){while(--_0x32f790){_0xd54346['push'](_0xd54346['shift']());}};_0x5555e2(++_0x59749f);}(_0x5974,0x9c));const _0x5555=function(_0xd54346,_0x59749f){_0xd54346=_0xd54346-0x0;let _0x5555e2=_0x5974[_0xd54346];return _0x5555e2;};import{Plugin as _0x39cbce}from'ckeditor5/src/core';import{LiveRange as _0x1fc2a3}from'ckeditor5/src/engine';import{setHighlightHandling as _0x5d2d0f}from'ckeditor5/src/widget';import{getTranslation as _0x19906b}from'../utils/common-translations';export default class ut extends _0x39cbce{constructor(_0x1e63f3){super(_0x1e63f3),this[_0x5555('0x75')]=[_0x5555('0x30'),_0x5555('0x1c')];}['afterInit'](){const _0x33963b=this[_0x5555('0x5c')],_0x3905b0=_0x33963b[_0x5555('0x3a')]['document'][_0x5555('0x2e')];if(!_0x33963b[_0x5555('0x57')][_0x5555('0x2')](_0x5555('0x26')))return;const _0x2f8d0c=_0x33963b[_0x5555('0x62')],_0x598e92=_0x33963b['plugins']['get'](_0x5555('0x42')),_0x1e6d9f=_0x33963b[_0x5555('0x57')][_0x5555('0x48')](_0x5555('0x1'));_0x598e92[_0x5555('0x79')]['registerElementLabel'](_0x5555('0x35'),_0x46ab8e=>_0x19906b(_0x2f8d0c,'ELEMENT_TABLE',_0x46ab8e)),this[_0x5555('0x3c')](),_0x598e92[_0x5555('0x61')]('insertTable'),_0x598e92['enableCommand'](_0x5555('0x4a')),_0x598e92[_0x5555('0x61')](_0x5555('0x64'));for(const _0x2f4003 of[_0x5555('0x69'),_0x5555('0x7')]){const _0x4b2537=_0x33963b[_0x5555('0x41')][_0x5555('0x48')](_0x2f4003);_0x598e92[_0x5555('0x61')](_0x2f4003,_0x2b6819=>{_0x33963b[_0x5555('0x3a')]['change'](_0x53a822=>{_0x2b6819();const _0x354d19=_0x5555('0x39')===_0x4b2537[_0x5555('0x82')],_0x214cab=_0x1e6d9f[_0x5555('0x54')](_0x3905b0),_0x3ca11c=_0x1e6d9f['getRowIndexes'](_0x214cab),_0x101ad3=_0x354d19?_0x3ca11c['first']-0x1:_0x3ca11c[_0x5555('0x66')]+0x1,_0x56474c=_0x214cab[0x0][_0x5555('0x16')](_0x5555('0x35')),_0x5b6bb1=_0x1e6d9f[_0x5555('0x3d')](_0x56474c,{'startRow':_0x101ad3,'endRow':_0x101ad3}),_0x379edc=Array['from'](_0x5b6bb1)['map'](_0x33e586=>_0x53a822['createRangeOn'](_0x33e586[_0x5555('0x6a')]));_0x598e92[_0x5555('0x6b')](_0x379edc,_0x5555('0x30'));});});}for(const _0x344475 of['insertTableColumnLeft',_0x5555('0x71')]){const _0x49b142=_0x33963b[_0x5555('0x41')]['get'](_0x344475);_0x598e92[_0x5555('0x61')](_0x344475,_0x282553=>{_0x33963b['model'][_0x5555('0x5b')](_0x44017a=>{_0x282553();const _0x3063b9=_0x5555('0x52')===_0x49b142['order'],_0x19e8df=_0x1e6d9f['getSelectionAffectedTableCells'](_0x3905b0),_0x2303aa=_0x1e6d9f[_0x5555('0x6c')](_0x19e8df),_0x10da66=_0x3063b9?_0x2303aa[_0x5555('0x22')]-0x1:_0x2303aa[_0x5555('0x66')]+0x1,_0x45406d=_0x19e8df[0x0][_0x5555('0x16')](_0x5555('0x35')),_0xc2dc76=_0x1e6d9f[_0x5555('0x3d')](_0x45406d,{'startRow':0x0,'column':_0x10da66,'includeAllSlots':!0x1}),_0x530865=Array[_0x5555('0x5d')](_0xc2dc76)[_0x5555('0x78')](_0x391cc6=>_0x44017a[_0x5555('0x60')](_0x391cc6[_0x5555('0x6a')]));_0x598e92[_0x5555('0x6b')](_0x530865,_0x5555('0x1c'));});});}for(const _0x53f824 of[_0x5555('0x38'),'removeTableColumn']){const _0x123ff2=_0x53f824['substr'](0xb),_0x5e67c1=_0x123ff2['toLowerCase'](),_0x2dafba=_0x5e67c1[_0x5555('0x33')](0x0,0x3)+_0x5555('0x9'),_0x3f3900=_0x5555('0x35')+_0x123ff2,_0x10c7ed=_0x5555('0x40')+_0x123ff2,_0x5d8444=_0x5555('0x3')+_0x123ff2;_0x598e92[_0x5555('0x61')](_0x53f824,()=>{_0x33963b['model'][_0x5555('0x5b')](_0x30d34e=>{const _0x5b3bac=_0x1e6d9f['getSelectionAffectedTableCells'](_0x3905b0),_0x39e918=_0x5b3bac[0x0]['findAncestor'](_0x5555('0x35'));let _0x2d4759;if(_0x5555('0x38')==_0x53f824){const _0x4fec8d=_0x1e6d9f[_0x5555('0x1d')](_0x5b3bac);_0x2d4759={'startRow':_0x4fec8d['first'],'endRow':_0x4fec8d['last'],'includeAllSlots':!0x0};}else{const _0x30a560=_0x1e6d9f[_0x5555('0x6c')](_0x5b3bac);_0x2d4759={'startColumn':_0x30a560['first'],'endColumn':_0x30a560[_0x5555('0x66')],'includeAllSlots':!0x0};}const _0x1a756d=_0x1e6d9f[_0x5555('0x3d')](_0x39e918,_0x2d4759),_0x41c15a=Array[_0x5555('0x5d')](_0x1a756d)['map'](({cell:_0x291698})=>_0x291698),_0x1a7ab8=Xt(_0x41c15a['filter'](_0x3a3870=>_0x3a3870[_0x5555('0x2c')](_0x2dafba))),_0x39f74d=Xt(_0x41c15a[_0x5555('0x73')](_0x38f796=>!_0x38f796[_0x5555('0x2c')](_0x2dafba)))[_0x5555('0x78')](_0x3f20ab=>_0x30d34e[_0x5555('0x60')](_0x3f20ab)),_0x543587=_0x598e92['markMultiRangeDeletion'](_0x39f74d,_0x3f3900);if(_0x543587&&('tableRow'==_0x543587['subType']||_0x5555('0x1c')==_0x543587[_0x5555('0x68')])){const _0x5955a1=this[_0x5555('0x49')](_0x543587);for(const _0x3e6e01 of _0x1a7ab8){const _0x58032f=_0x30d34e['createRangeOn'](_0x3e6e01),_0x1a0eec=_0x1e6d9f[_0x5555('0x4')](_0x3e6e01),_0x4229ab=_0x3e6e01['getAttribute'](_0x2dafba)-0x1,_0x347816=_0x5955a1[_0x10c7ed],_0x2ad8d9=_0x5955a1[_0x5d8444];_0x347816<=_0x1a0eec[_0x5e67c1]&&_0x1a0eec[_0x5e67c1]+_0x4229ab<=_0x2ad8d9&&_0x543587['addRange'](_0x58032f);}}});});}function _0x3063cc(_0x55b0c9){const _0x26ba09=Array['from'](_0x3905b0[_0x5555('0x70')]())[_0x5555('0x78')](_0x54cc44=>_0x1fc2a3[_0x5555('0x32')](_0x54cc44));_0x33963b[_0x5555('0x3a')][_0x5555('0x5b')](_0x1d7748=>{const _0x213c97=_0x1d7748[_0x5555('0x6')];_0x55b0c9=_0x55b0c9[_0x5555('0x73')](_0x3d91c4=>_0x5555('0x34')!=_0x3d91c4[_0x5555('0x6f')][_0x5555('0x2f')]),_0x1d7748['setSelection'](_0x55b0c9),_0x33963b[_0x5555('0x41')][_0x5555('0x48')](_0x5555('0x38'))[_0x5555('0x63')](),_0x33963b[_0x5555('0x4e')](_0x5555('0x38'),{'forceDefaultExecution':!0x0}),_0x33963b[_0x5555('0x3a')][_0x5555('0x19')](()=>{_0x33963b[_0x5555('0x3a')]['enqueueChange'](_0x213c97,_0x2796be=>{const _0x5bb633=_0x26ba09[_0x5555('0x73')](_0x455366=>_0x5555('0x34')!=_0x455366[_0x5555('0x6f')][_0x5555('0x2f')]);_0x5bb633[_0x5555('0xf')]>0x0&&_0x2796be[_0x5555('0x45')](_0x5bb633);for(const _0x301ca0 of _0x26ba09)_0x301ca0[_0x5555('0xd')]();});});});}function _0x20f625(_0x192a0a){_0x33963b[_0x5555('0x3a')]['change'](_0x35ee84=>{const _0xac8a40=Array['from'](_0x3905b0[_0x5555('0x70')]())[_0x5555('0x78')](_0x262e57=>_0x1fc2a3[_0x5555('0x32')](_0x262e57)),_0xace0c7=[];for(const _0x4ed160 of _0x192a0a)for(const _0x7c6434 of _0x4ed160['getItems']({'shallow':!0x0}))_0xace0c7[_0x5555('0x50')](_0x7c6434);for(const _0x4a3534 of _0xace0c7)'$graveyard'!=_0x4a3534['root']['rootName']&&(_0x35ee84['setSelection'](_0x35ee84[_0x5555('0x7a')](_0x4a3534,0x0)),_0x33963b[_0x5555('0x41')]['get'](_0x5555('0x4f'))[_0x5555('0x63')](),_0x33963b['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x4fb6a1=_0xac8a40[_0x5555('0x73')](_0x28bb12=>_0x5555('0x34')!=_0x28bb12[_0x5555('0x6f')][_0x5555('0x2f')]);_0x4fb6a1[_0x5555('0xf')]>0x0&&_0x35ee84[_0x5555('0x45')](_0x4fb6a1);for(const _0x542b8e of _0xac8a40)_0x542b8e[_0x5555('0xd')]();});}function _0x11bf36(_0x31efc3,_0x3f14c0){return _0x3f14c0[_0x5555('0x7c')](_0x3e3739=>_0x31efc3[_0x5555('0x5f')](_0x54dddf=>_0x54dddf[_0x5555('0xc')][_0x5555('0x1e')](_0x3e3739['start'])||_0x3e3739['end'][_0x5555('0x1e')](_0x54dddf[_0x5555('0x2b')])));}function _0x3e6018(_0x3490e3,_0x192858){return _0x3490e3[_0x5555('0x5f')](_0xf205a0=>_0x192858[_0x5555('0x5f')](_0x517686=>_0xf205a0['end'][_0x5555('0x1b')](_0x517686[_0x5555('0x2b')])));}_0x33963b[_0x5555('0x77')][_0x5555('0x56')]['on'](_0x5555('0x31'),(_0x801760,_0x57dc88,_0x5240cb)=>{if(!_0x5240cb['options'][_0x5555('0x72')])return;const _0x17c9d8=_0x57dc88[_0x5555('0x3b')];if(!_0x17c9d8)return;const _0x17428b=_0x5240cb[_0x5555('0x20')][_0x5555('0x81')](_0x17c9d8);function _0x8d79cc(_0x94e020){return Array['isArray'](_0x94e020)?_0x94e020:[_0x94e020];}_0x17428b&&'tableCell'===_0x17c9d8[_0x5555('0x25')]&&_0x5d2d0f(_0x17428b,_0x5240cb[_0x5555('0x5')],(_0x11e1f7,_0x1dce90,_0x5d5031)=>_0x5d5031['addClass'](_0x8d79cc(_0x1dce90[_0x5555('0x4b')]),_0x11e1f7),(_0x315ce2,_0x182956,_0xf26f5a)=>_0xf26f5a[_0x5555('0x74')](_0x8d79cc(_0x182956[_0x5555('0x4b')]),_0x315ce2));},{'priority':'highest'}),_0x598e92[_0x5555('0x79')][_0x5555('0x2a')](_0x56ad74=>{if(_0x5555('0x53')!=_0x56ad74['type']&&'deletion'!=_0x56ad74[_0x5555('0x3e')])return;const _0x511b88=_0x56ad74['getContainedElement']();if(null!=_0x511b88&&_0x511b88['is'](_0x5555('0x18'),'table')){if('insertion'==_0x56ad74[_0x5555('0x3e')]){const _0x351049=_0x56ad74['getItems']()['filter'](_0x21b3d2=>_0x21b3d2['is']('textProxy'))[_0x5555('0x78')](_0x4c5b96=>_0x4c5b96[_0x5555('0x77')]);if(_0x351049[_0x5555('0xf')])return{'type':'insertion','content':_0x19906b(_0x2f8d0c,_0x5555('0x7d'),_0x19906b(_0x2f8d0c,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x351049['join']('\x20')+'\x22'))};}if(_0x5555('0x24')==_0x56ad74[_0x5555('0x3e')]){const _0x1bb4c0=_0x56ad74[_0x5555('0x1a')]()[_0x5555('0x73')](_0x274f24=>_0x274f24['is'](_0x5555('0x21')))[_0x5555('0x78')](_0x4a6667=>_0x4a6667['data']);if(_0x1bb4c0[_0x5555('0xf')])return{'type':_0x5555('0x24'),'content':_0x19906b(_0x2f8d0c,_0x5555('0xe'),_0x19906b(_0x2f8d0c,_0x5555('0x11'),'\x22'+_0x1bb4c0[_0x5555('0x6d')]('\x20')+'\x22'))};}}}),_0x598e92['_descriptionFactory']['registerDescriptionCallback'](_0x4b9607=>{if(_0x5555('0x30')==_0x4b9607['subType']){const _0x1fe044=_0x4b9607[_0x5555('0x1a')]()['filter'](_0x50ea13=>_0x50ea13['is'](_0x5555('0x21')))[_0x5555('0x78')](_0x1af8cf=>_0x1af8cf['data']),_0x53afea=this[_0x5555('0x49')](_0x4b9607),_0x860225=_0x53afea[_0x5555('0x27')]-_0x53afea['minRow']+0x1;if(_0x5555('0x53')==_0x4b9607[_0x5555('0x3e')])return _0x1fe044[_0x5555('0xf')]?{'type':_0x5555('0x53'),'content':_0x19906b(_0x2f8d0c,_0x5555('0x7d'),_0x19906b(_0x2f8d0c,_0x5555('0x51'),[_0x860225,'\x22'+_0x1fe044['join']('\x20')+'\x22']))}:{'type':_0x5555('0x53'),'content':_0x19906b(_0x2f8d0c,_0x5555('0x7d'),_0x19906b(_0x2f8d0c,_0x5555('0x44'),_0x860225))};if('deletion'==_0x4b9607['type'])return _0x1fe044[_0x5555('0xf')]?{'type':_0x5555('0x24'),'content':_0x19906b(_0x2f8d0c,_0x5555('0xe'),_0x19906b(_0x2f8d0c,_0x5555('0x51'),[_0x860225,'\x22'+_0x1fe044['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x19906b(_0x2f8d0c,_0x5555('0xe'),_0x19906b(_0x2f8d0c,_0x5555('0x44'),_0x860225))};}if('tableColumn'==_0x4b9607[_0x5555('0x68')]){const _0x278257=_0x4b9607[_0x5555('0x1a')]()['filter'](_0x2df71c=>_0x2df71c['is'](_0x5555('0x21')))[_0x5555('0x78')](_0x31798c=>_0x31798c['data']),_0x5405fd=this[_0x5555('0x49')](_0x4b9607),_0x7d50ca=_0x5405fd[_0x5555('0x23')]-_0x5405fd[_0x5555('0x7b')]+0x1;if('insertion'==_0x4b9607[_0x5555('0x3e')])return _0x278257[_0x5555('0xf')]?{'type':_0x5555('0x53'),'content':_0x19906b(_0x2f8d0c,_0x5555('0x7d'),_0x19906b(_0x2f8d0c,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x7d50ca,'\x22'+_0x278257['join']('\x20')+'\x22']))}:{'type':_0x5555('0x53'),'content':_0x19906b(_0x2f8d0c,_0x5555('0x7d'),_0x19906b(_0x2f8d0c,'ELEMENT_TABLE_COLUMN',_0x7d50ca))};if(_0x5555('0x24')==_0x4b9607[_0x5555('0x3e')])return _0x278257['length']?{'type':'deletion','content':_0x19906b(_0x2f8d0c,_0x5555('0xe'),_0x19906b(_0x2f8d0c,_0x5555('0x37'),[_0x7d50ca,'\x22'+_0x278257[_0x5555('0x6d')]('\x20')+'\x22']))}:{'type':_0x5555('0x24'),'content':_0x19906b(_0x2f8d0c,'*Remove:*\x20%0',_0x19906b(_0x2f8d0c,_0x5555('0x5a'),_0x7d50ca))};}}),_0x598e92[_0x5555('0x4d')]['registerCustomCallback'](_0x5555('0x53'),_0x5555('0x30'),_0x5555('0x76'),_0x3063cc),_0x598e92['_suggestionFactory'][_0x5555('0x5e')](_0x5555('0x24'),_0x5555('0x30'),_0x5555('0xb'),_0x3063cc),_0x598e92[_0x5555('0x4d')][_0x5555('0x5e')](_0x5555('0x53'),_0x5555('0x1c'),'discard',_0x20f625),_0x598e92[_0x5555('0x4d')][_0x5555('0x5e')]('deletion',_0x5555('0x1c'),_0x5555('0xb'),_0x20f625),_0x598e92['_suggestionFactory']['registerCustomCallback'](_0x5555('0x53'),'tableColumn',_0x5555('0x6d'),_0x11bf36),_0x598e92[_0x5555('0x4d')][_0x5555('0x5e')](_0x5555('0x24'),'tableColumn',_0x5555('0x6d'),_0x11bf36),_0x598e92[_0x5555('0x4d')]['registerCustomCallback'](_0x5555('0x53'),_0x5555('0x30'),'join',_0x3e6018),_0x598e92[_0x5555('0x4d')]['registerCustomCallback'](_0x5555('0x24'),_0x5555('0x30'),_0x5555('0x6d'),_0x3e6018);}['_acceptFormatSuggestionCallbackFactory'](){const _0x30bf3c=this[_0x5555('0x5c')],_0x4ae3b6=_0x30bf3c[_0x5555('0x3a')][_0x5555('0x55')]['selection'];return(_0x24f54e,_0x2b9676)=>{_0x30bf3c[_0x5555('0x3a')][_0x5555('0x5b')](_0x2c1746=>{const {commandName:_0x9c5e62,commandParams:_0x482360}=_0x2b9676;let _0x157d98=_0x24f54e[0x0][_0x5555('0xc')]['nodeBefore'];_0x482360&&_0x482360[0x0]&&!0x1===_0x482360[0x0][_0x5555('0x80')]&&(_0x157d98=_0x24f54e[0x0][_0x5555('0x2b')][_0x5555('0x1f')]);const _0x1683d1=_0x2c1746['createRangeIn'](_0x157d98);if(_0x5555('0x34')==_0x1683d1[_0x5555('0x6f')][_0x5555('0x2f')])return;const _0x1cdf9c=Array['from'](_0x4ae3b6[_0x5555('0x70')]())['map'](_0x10ab02=>_0x1fc2a3['fromRange'](_0x10ab02));_0x2c1746[_0x5555('0x45')](_0x1683d1),_0x30bf3c[_0x5555('0x41')][_0x5555('0x48')](_0x9c5e62)[_0x5555('0x63')](),_0x482360[_0x5555('0x50')]({'forceDefaultExecution':!0x0}),_0x30bf3c[_0x5555('0x4e')](_0x9c5e62,..._0x482360);const _0x208d35=_0x1cdf9c[_0x5555('0x73')](_0xf47676=>_0x5555('0x34')!=_0xf47676[_0x5555('0x6f')][_0x5555('0x2f')]);_0x208d35['length']>0x0&&_0x2c1746['setSelection'](_0x208d35);for(const _0x3c1183 of _0x1cdf9c)_0x3c1183[_0x5555('0xd')]();});};}[_0x5555('0x46')](_0x3a409f){const _0x2e809c=this[_0x5555('0x5c')][_0x5555('0x57')][_0x5555('0x48')]('TableUtils');let _0x18e202=Number['MAX_SAFE_INTEGER'],_0x9914c5=Number[_0x5555('0x12')],_0x387f11=Number[_0x5555('0x17')],_0x107d83=Number[_0x5555('0x12')];for(const _0x662904 of _0x3a409f){if(_0x5555('0x34')==_0x662904[_0x5555('0x6f')][_0x5555('0x2f')])continue;const {row:_0x1b5a59,column:_0x4228d1}=_0x2e809c[_0x5555('0x4')](_0x662904),_0x4bf9e1=_0x662904[_0x5555('0x2c')](_0x5555('0x7e'))?_0x662904[_0x5555('0x43')](_0x5555('0x7e'))-0x1:0x0,_0x24f609=_0x662904[_0x5555('0x2c')](_0x5555('0x29'))?_0x662904[_0x5555('0x43')](_0x5555('0x29'))-0x1:0x0;_0x18e202=_0x1b5a59<_0x18e202?_0x1b5a59:_0x18e202,_0x9914c5=_0x1b5a59+_0x4bf9e1>_0x9914c5?_0x1b5a59+_0x4bf9e1:_0x9914c5,_0x387f11=_0x4228d1<_0x387f11?_0x4228d1:_0x387f11,_0x107d83=_0x4228d1+_0x24f609>_0x107d83?_0x4228d1+_0x24f609:_0x107d83;}return{'minRow':_0x18e202,'maxRow':_0x9914c5,'minColumn':_0x387f11,'maxColumn':_0x107d83};}['_setupColumnsRowsFixing'](){const _0xc0dcd3=this['editor'],_0x12548a=_0xc0dcd3[_0x5555('0x57')][_0x5555('0x48')]('TrackChangesEditing'),_0x20c89b=_0xc0dcd3[_0x5555('0x57')]['get']('TableUtils');this[_0x5555('0x36')]=new Set(),_0xc0dcd3[_0x5555('0x3a')][_0x5555('0x55')]['on']('change:data',()=>{const _0x19cf39=Array[_0x5555('0x5d')](_0xc0dcd3[_0x5555('0x3a')][_0x5555('0x55')]['differ'][_0x5555('0x59')]());for(const {name:_0x1821f1,data:_0x257611}of _0x19cf39){const {group:_0x387ca7,id:_0x401034,subType:_0x17d9f2}=_0x12548a[_0x5555('0x3f')](_0x1821f1);if(_0x5555('0x4c')!=_0x387ca7)continue;if(null!=_0x257611[_0x5555('0x6e')])continue;const _0x8ad63d=_0x12548a[_0x5555('0x58')](_0x401034);this['_tablePostFixingSubtypes']['includes'](_0x17d9f2)&&this[_0x5555('0x36')][_0x5555('0x0')](_0x8ad63d);}},{'priority':_0x5555('0x14')});const _0x57b38e=(_0x10893a,_0x1b34db)=>{let _0x9304b1=!0x1;const _0x33f6f2=_0x1b34db[_0x5555('0x60')](_0x10893a),_0x528a14=_0x10893a[_0x5555('0x16')]('table'),_0x4ca040=_0x20c89b[_0x5555('0x4')](_0x10893a);for(const _0x4077f2 of this[_0x5555('0x36')]){const _0x5944a8=_0x4077f2[_0x5555('0x68')],_0x2cb0e6=_0x5944a8[_0x5555('0x7f')](_0x5555('0x13')),_0x3c2333=_0x5944a8[_0x5555('0x33')](_0x2cb0e6?0xa:0x5),_0x1cf5e6=_0x3c2333[_0x5555('0x2d')](),_0x269d9a=_0x1cf5e6[_0x5555('0x33')](0x0,0x3)+_0x5555('0x9'),_0x588b53='min'+_0x3c2333,_0x2ba764=_0x5555('0x3')+_0x3c2333;if(!_0x4077f2[_0x5555('0x65')])continue;if(_0x528a14!=_0x4077f2[_0x5555('0x47')]()[_0x5555('0x2b')][_0x5555('0x16')]('table'))continue;if(_0x4077f2['isIntersectingWithRange'](_0x33f6f2))continue;const _0x24660=_0x10893a['hasAttribute'](_0x269d9a)?_0x10893a[_0x5555('0x43')](_0x269d9a)-0x1:0x0,_0x3be65d=this[_0x5555('0x49')](_0x4077f2),_0x25c285=_0x3be65d[_0x588b53],_0x106ce4=_0x3be65d[_0x2ba764];_0x25c285<=_0x4ca040[_0x1cf5e6]&&_0x4ca040[_0x1cf5e6]+_0x24660<=_0x106ce4&&(_0x4077f2[_0x5555('0xa')](_0x33f6f2),_0x9304b1=!0x0);}return _0x9304b1;};_0xc0dcd3[_0x5555('0x3a')][_0x5555('0x55')][_0x5555('0x67')](_0x4dca1d=>{let _0x2a0217=!0x1;for(const _0x265163 of _0xc0dcd3['model'][_0x5555('0x55')]['differ'][_0x5555('0x28')]())if(_0x5555('0x15')==_0x265163[_0x5555('0x3e')]){if(_0x5555('0x30')==_0x265163['name'])for(const _0x5da4ac of _0x265163['position'][_0x5555('0x1f')]['getChildren']())_0x2a0217=_0x2a0217||_0x57b38e(_0x5da4ac,_0x4dca1d);else _0x5555('0x8')==_0x265163['name']&&(_0x2a0217=_0x2a0217||_0x57b38e(_0x265163['position'][_0x5555('0x1f')],_0x4dca1d));}return _0x2a0217;});}[_0x5555('0x49')](_0x5b01cb){return this[_0x5555('0x46')](_0x5b01cb[_0x5555('0x70')]()[_0x5555('0x78')](_0x27b51a=>_0x27b51a[_0x5555('0x2b')][_0x5555('0x1f')]));}}function Xt(_0x132ee5){return Array[_0x5555('0x5d')](new Set(_0x132ee5)[_0x5555('0x10')]());}
|
|
23
|
+
const _0x1465=['commands','highest','nodeAfter','afterInit','table','position','end','selectTableColumn','from','data','name','root','*Remove:*\x20%0','options','hasAttribute','getRowIndexes','*Insert:*\x20%0','insertion','_descriptionFactory','findAncestor','some','getCellLocation','tableRow','differ','cell','enableCommand','_suggestionFactory','rowspan','toViewElement','type','getSelectionAffectedTableCells','detach','downcastDispatcher','batch','editor','left','MIN_SAFE_INTEGER','colspan','getItems','$graveyard','showSuggestionHighlights','nodeBefore','tablePaste','tableCell','plugins','filter','isArray','setSelection','markMultiRangeDeletion','span','accept','has','getRanges','suggestion','insertTableColumnRight','insertTableRowAbove','above','execute','start','min','_tablePostFixingSubtypes','map','toLowerCase','ELEMENT_TABLE_ROW','document','createPositionAt','oldRange','TableEditing','_getCoordsForCells','TrackChangesEditing','max','minRow','change','push','registerElementLabel','insertTable','ELEMENT_TABLE_WITH_TEXT','deletion','length','getChangedMarkers','get','selectTableRow','_acceptFormatSuggestionCallbackFactory','registerDescriptionCallback','removeTableColumn','startsWith','forceValue','substr','tableColumn','registerCustomCallback','refresh','includes','subType','mapper','isIntersectingWithRange','insert','order','insertTableColumnLeft','getColumnIndexes','writer','minColumn','MAX_SAFE_INTEGER','getContainedElement','low','getAttribute','isEqual','addRange','every','createRangeIn','fromRange','last','selection','_setupColumnsRowsFixing','join','first','classes','locale','TableUtils','_getSuggestionCoords','add','discard','model','removeTableRow','enqueueChange','rootName','createRangeOn','getFirstRange','addMarker:suggestion','maxColumn','_tableSuggestions','ELEMENT_TABLE','ELEMENT_TABLE_COLUMN_WITH_TEXT','ELEMENT_TABLE_ROW_WITH_TEXT','isInContent','textProxy','removeClass'];(function(_0x4bffbd,_0x1465fd){const _0x316ba7=function(_0x56e0f7){while(--_0x56e0f7){_0x4bffbd['push'](_0x4bffbd['shift']());}};_0x316ba7(++_0x1465fd);}(_0x1465,0x1a3));const _0x316b=function(_0x4bffbd,_0x1465fd){_0x4bffbd=_0x4bffbd-0x0;let _0x316ba7=_0x1465[_0x4bffbd];return _0x316ba7;};import{Plugin as _0x3dc865}from'ckeditor5/src/core';import{LiveRange as _0xacdd2c}from'ckeditor5/src/engine';import{setHighlightHandling as _0x11aa2c}from'ckeditor5/src/widget';import{getTranslation as _0x405bdf}from'../utils/common-translations';export default class ft extends _0x3dc865{constructor(_0x15c6fe){super(_0x15c6fe),this[_0x316b('0x31')]=[_0x316b('0xb'),_0x316b('0x4d')];}[_0x316b('0x80')](){const _0x2ceb5e=this[_0x316b('0x17')],_0x19234f=_0x2ceb5e[_0x316b('0x6e')]['document'][_0x316b('0x64')];if(!_0x2ceb5e['plugins'][_0x316b('0x28')](_0x316b('0x38')))return;const _0x2eedb0=_0x2ceb5e[_0x316b('0x69')],_0x24f9e5=_0x2ceb5e[_0x316b('0x21')][_0x316b('0x45')](_0x316b('0x3a')),_0x445c01=_0x2ceb5e[_0x316b('0x21')][_0x316b('0x45')]('TableUtils');_0x24f9e5['_descriptionFactory'][_0x316b('0x3f')]('table',_0xb1a577=>_0x405bdf(_0x2eedb0,_0x316b('0x77'),_0xb1a577)),this[_0x316b('0x65')](),_0x24f9e5[_0x316b('0xe')](_0x316b('0x40')),_0x24f9e5[_0x316b('0xe')](_0x316b('0x46')),_0x24f9e5[_0x316b('0xe')](_0x316b('0x84'));for(const _0x3ccce0 of[_0x316b('0x2c'),'insertTableRowBelow']){const _0x54db05=_0x2ceb5e[_0x316b('0x7d')]['get'](_0x3ccce0);_0x24f9e5[_0x316b('0xe')](_0x3ccce0,_0x169e17=>{_0x2ceb5e[_0x316b('0x6e')]['change'](_0x28550f=>{_0x169e17();const _0x532bad=_0x316b('0x2d')===_0x54db05[_0x316b('0x55')],_0x712555=_0x445c01['getSelectionAffectedTableCells'](_0x19234f),_0xbb1029=_0x445c01['getRowIndexes'](_0x712555),_0x48f225=_0x532bad?_0xbb1029[_0x316b('0x67')]-0x1:_0xbb1029[_0x316b('0x63')]+0x1,_0x529003=_0x712555[0x0]['findAncestor'](_0x316b('0x81')),_0x859c8d=_0x445c01['createTableWalker'](_0x529003,{'startRow':_0x48f225,'endRow':_0x48f225}),_0x4ec3c3=Array[_0x316b('0x85')](_0x859c8d)['map'](_0x54d327=>_0x28550f[_0x316b('0x72')](_0x54d327['cell']));_0x24f9e5['markMultiRangeInsertion'](_0x4ec3c3,_0x316b('0xb'));});});}for(const _0x406d98 of[_0x316b('0x56'),_0x316b('0x2b')]){const _0x1a14fb=_0x2ceb5e[_0x316b('0x7d')][_0x316b('0x45')](_0x406d98);_0x24f9e5[_0x316b('0xe')](_0x406d98,_0x53ca8b=>{_0x2ceb5e['model'][_0x316b('0x3d')](_0x2bfe59=>{_0x53ca8b();const _0x4b6071=_0x316b('0x18')===_0x1a14fb[_0x316b('0x55')],_0x30d670=_0x445c01[_0x316b('0x13')](_0x19234f),_0x2db8b3=_0x445c01[_0x316b('0x57')](_0x30d670),_0x3c2c99=_0x4b6071?_0x2db8b3[_0x316b('0x67')]-0x1:_0x2db8b3[_0x316b('0x63')]+0x1,_0x3e0ce8=_0x30d670[0x0][_0x316b('0x8')](_0x316b('0x81')),_0xab9516=_0x445c01['createTableWalker'](_0x3e0ce8,{'startRow':0x0,'column':_0x3c2c99,'includeAllSlots':!0x1}),_0x351903=Array[_0x316b('0x85')](_0xab9516)[_0x316b('0x32')](_0x3963c4=>_0x2bfe59[_0x316b('0x72')](_0x3963c4[_0x316b('0xd')]));_0x24f9e5['markMultiRangeInsertion'](_0x351903,_0x316b('0x4d'));});});}for(const _0x38aa93 of[_0x316b('0x6f'),_0x316b('0x49')]){const _0x3077b4=_0x38aa93[_0x316b('0x4c')](0xb),_0x2d6812=_0x3077b4[_0x316b('0x33')](),_0x46ee25=_0x2d6812[_0x316b('0x4c')](0x0,0x3)+_0x316b('0x26'),_0x29f286=_0x316b('0x81')+_0x3077b4,_0x53a3d1=_0x316b('0x30')+_0x3077b4,_0x1cc58f=_0x316b('0x3b')+_0x3077b4;_0x24f9e5[_0x316b('0xe')](_0x38aa93,()=>{_0x2ceb5e[_0x316b('0x6e')][_0x316b('0x3d')](_0x17dcea=>{const _0xc1b535=_0x445c01[_0x316b('0x13')](_0x19234f),_0x177b99=_0xc1b535[0x0]['findAncestor'](_0x316b('0x81'));let _0x40bcd0;if(_0x316b('0x6f')==_0x38aa93){const _0x1c8597=_0x445c01[_0x316b('0x4')](_0xc1b535);_0x40bcd0={'startRow':_0x1c8597[_0x316b('0x67')],'endRow':_0x1c8597['last'],'includeAllSlots':!0x0};}else{const _0x12e138=_0x445c01[_0x316b('0x57')](_0xc1b535);_0x40bcd0={'startColumn':_0x12e138[_0x316b('0x67')],'endColumn':_0x12e138[_0x316b('0x63')],'includeAllSlots':!0x0};}const _0x1a491=_0x445c01['createTableWalker'](_0x177b99,_0x40bcd0),_0xffa9a6=Array[_0x316b('0x85')](_0x1a491)['map'](({cell:_0x545681})=>_0x545681),_0x5d21fc=Xt(_0xffa9a6[_0x316b('0x22')](_0x2738c5=>_0x2738c5['hasAttribute'](_0x46ee25))),_0x433eec=Xt(_0xffa9a6[_0x316b('0x22')](_0x418c91=>!_0x418c91[_0x316b('0x3')](_0x46ee25)))[_0x316b('0x32')](_0x397463=>_0x17dcea[_0x316b('0x72')](_0x397463)),_0x4a57eb=_0x24f9e5[_0x316b('0x25')](_0x433eec,_0x29f286);if(_0x4a57eb&&(_0x316b('0xb')==_0x4a57eb[_0x316b('0x51')]||'tableColumn'==_0x4a57eb[_0x316b('0x51')])){const _0x54c1a0=this['_getSuggestionCoords'](_0x4a57eb);for(const _0x5ca8ec of _0x5d21fc){const _0x57ec00=_0x17dcea[_0x316b('0x72')](_0x5ca8ec),_0x1e5baf=_0x445c01[_0x316b('0xa')](_0x5ca8ec),_0x2a3ab1=_0x5ca8ec[_0x316b('0x5d')](_0x46ee25)-0x1,_0x4325cd=_0x54c1a0[_0x53a3d1],_0x55ae96=_0x54c1a0[_0x1cc58f];_0x4325cd<=_0x1e5baf[_0x2d6812]&&_0x1e5baf[_0x2d6812]+_0x2a3ab1<=_0x55ae96&&_0x4a57eb[_0x316b('0x5f')](_0x57ec00);}}});});}function _0x13efd5(_0x2d39a9){const _0x55da7e=Array[_0x316b('0x85')](_0x19234f[_0x316b('0x29')]())[_0x316b('0x32')](_0x2eb217=>_0xacdd2c[_0x316b('0x62')](_0x2eb217));_0x2ceb5e[_0x316b('0x6e')]['change'](_0x1678a4=>{const _0x3d2aab=_0x1678a4[_0x316b('0x16')];_0x2d39a9=_0x2d39a9['filter'](_0x35827c=>_0x316b('0x1c')!=_0x35827c[_0x316b('0x0')][_0x316b('0x71')]),_0x1678a4[_0x316b('0x24')](_0x2d39a9),_0x2ceb5e[_0x316b('0x7d')][_0x316b('0x45')](_0x316b('0x6f'))[_0x316b('0x4f')](),_0x2ceb5e[_0x316b('0x2e')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x2ceb5e[_0x316b('0x6e')]['enqueueChange'](()=>{_0x2ceb5e['model'][_0x316b('0x70')](_0x3d2aab,_0x50a843=>{const _0x33c7e5=_0x55da7e[_0x316b('0x22')](_0xe8d38e=>_0x316b('0x1c')!=_0xe8d38e[_0x316b('0x0')]['rootName']);_0x33c7e5['length']>0x0&&_0x50a843['setSelection'](_0x33c7e5);for(const _0xd51e76 of _0x55da7e)_0xd51e76[_0x316b('0x14')]();});});});}function _0x1d728e(_0x473b87){_0x2ceb5e[_0x316b('0x6e')]['change'](_0x2b3f4a=>{const _0x393cdd=Array[_0x316b('0x85')](_0x19234f[_0x316b('0x29')]())[_0x316b('0x32')](_0x267d1c=>_0xacdd2c['fromRange'](_0x267d1c)),_0x3bd877=[];for(const _0x3f2188 of _0x473b87)for(const _0x45c12e of _0x3f2188[_0x316b('0x1b')]({'shallow':!0x0}))_0x3bd877[_0x316b('0x3e')](_0x45c12e);for(const _0x429574 of _0x3bd877)_0x316b('0x1c')!=_0x429574[_0x316b('0x0')]['rootName']&&(_0x2b3f4a[_0x316b('0x24')](_0x2b3f4a[_0x316b('0x36')](_0x429574,0x0)),_0x2ceb5e['commands'][_0x316b('0x45')](_0x316b('0x49'))[_0x316b('0x4f')](),_0x2ceb5e[_0x316b('0x2e')](_0x316b('0x49'),{'forceDefaultExecution':!0x0}));const _0x4ea0e7=_0x393cdd[_0x316b('0x22')](_0x404d7c=>_0x316b('0x1c')!=_0x404d7c[_0x316b('0x0')][_0x316b('0x71')]);_0x4ea0e7[_0x316b('0x43')]>0x0&&_0x2b3f4a[_0x316b('0x24')](_0x4ea0e7);for(const _0x20bc08 of _0x393cdd)_0x20bc08[_0x316b('0x14')]();});}function _0x1644ad(_0x1393af,_0x222d76){return _0x222d76[_0x316b('0x60')](_0x28098b=>_0x1393af[_0x316b('0x9')](_0x9fd11c=>_0x9fd11c[_0x316b('0x83')][_0x316b('0x5e')](_0x28098b['start'])||_0x28098b[_0x316b('0x83')][_0x316b('0x5e')](_0x9fd11c[_0x316b('0x2f')])));}function _0x37117d(_0x403365,_0x4a632f){return _0x403365['some'](_0x4a967f=>_0x4a632f[_0x316b('0x9')](_0x29f5dd=>_0x4a967f['end']['isTouching'](_0x29f5dd[_0x316b('0x2f')])));}_0x2ceb5e[_0x316b('0x86')][_0x316b('0x15')]['on'](_0x316b('0x74'),(_0x218e7a,_0x2e9189,_0x51f7a6)=>{if(!_0x51f7a6[_0x316b('0x2')][_0x316b('0x1d')])return;const _0x454ccf=_0x2e9189['item'];if(!_0x454ccf)return;const _0x2e6646=_0x51f7a6[_0x316b('0x52')][_0x316b('0x11')](_0x454ccf);function _0x2e345c(_0x119ce9){return Array[_0x316b('0x23')](_0x119ce9)?_0x119ce9:[_0x119ce9];}_0x2e6646&&'tableCell'===_0x454ccf[_0x316b('0x87')]&&_0x11aa2c(_0x2e6646,_0x51f7a6[_0x316b('0x58')],(_0x19f4f9,_0x2c0fbe,_0x5e175d)=>_0x5e175d['addClass'](_0x2e345c(_0x2c0fbe['classes']),_0x19f4f9),(_0x57507c,_0x160217,_0x1c4e5b)=>_0x1c4e5b[_0x316b('0x7c')](_0x2e345c(_0x160217[_0x316b('0x68')]),_0x57507c));},{'priority':_0x316b('0x7e')}),_0x24f9e5[_0x316b('0x7')][_0x316b('0x48')](_0x1e89c5=>{if('insertion'!=_0x1e89c5[_0x316b('0x12')]&&_0x316b('0x42')!=_0x1e89c5['type'])return;const _0xd6713d=_0x1e89c5[_0x316b('0x5b')]();if(null!=_0xd6713d&&_0xd6713d['is']('element',_0x316b('0x81'))){if(_0x316b('0x6')==_0x1e89c5[_0x316b('0x12')]){const _0x440c32=_0x1e89c5['getItems']()['filter'](_0x5b8078=>_0x5b8078['is'](_0x316b('0x7b')))[_0x316b('0x32')](_0xda979f=>_0xda979f[_0x316b('0x86')]);if(_0x440c32['length'])return{'type':_0x316b('0x6'),'content':_0x405bdf(_0x2eedb0,_0x316b('0x5'),_0x405bdf(_0x2eedb0,_0x316b('0x41'),'\x22'+_0x440c32[_0x316b('0x66')]('\x20')+'\x22'))};}if('deletion'==_0x1e89c5['type']){const _0xfc2179=_0x1e89c5[_0x316b('0x1b')]()['filter'](_0x26b89f=>_0x26b89f['is'](_0x316b('0x7b')))[_0x316b('0x32')](_0x1d73da=>_0x1d73da[_0x316b('0x86')]);if(_0xfc2179[_0x316b('0x43')])return{'type':_0x316b('0x42'),'content':_0x405bdf(_0x2eedb0,_0x316b('0x1'),_0x405bdf(_0x2eedb0,_0x316b('0x41'),'\x22'+_0xfc2179[_0x316b('0x66')]('\x20')+'\x22'))};}}}),_0x24f9e5[_0x316b('0x7')][_0x316b('0x48')](_0x472534=>{if(_0x316b('0xb')==_0x472534[_0x316b('0x51')]){const _0x1c8b91=_0x472534[_0x316b('0x1b')]()[_0x316b('0x22')](_0x2ef7a1=>_0x2ef7a1['is'](_0x316b('0x7b')))['map'](_0x1dc118=>_0x1dc118['data']),_0xce0174=this['_getSuggestionCoords'](_0x472534),_0x21cdbe=_0xce0174['maxRow']-_0xce0174[_0x316b('0x3c')]+0x1;if(_0x316b('0x6')==_0x472534[_0x316b('0x12')])return _0x1c8b91[_0x316b('0x43')]?{'type':_0x316b('0x6'),'content':_0x405bdf(_0x2eedb0,_0x316b('0x5'),_0x405bdf(_0x2eedb0,_0x316b('0x79'),[_0x21cdbe,'\x22'+_0x1c8b91[_0x316b('0x66')]('\x20')+'\x22']))}:{'type':_0x316b('0x6'),'content':_0x405bdf(_0x2eedb0,_0x316b('0x5'),_0x405bdf(_0x2eedb0,'ELEMENT_TABLE_ROW',_0x21cdbe))};if('deletion'==_0x472534['type'])return _0x1c8b91[_0x316b('0x43')]?{'type':_0x316b('0x42'),'content':_0x405bdf(_0x2eedb0,_0x316b('0x1'),_0x405bdf(_0x2eedb0,_0x316b('0x79'),[_0x21cdbe,'\x22'+_0x1c8b91[_0x316b('0x66')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x405bdf(_0x2eedb0,_0x316b('0x1'),_0x405bdf(_0x2eedb0,_0x316b('0x34'),_0x21cdbe))};}if(_0x316b('0x4d')==_0x472534['subType']){const _0x3482e3=_0x472534[_0x316b('0x1b')]()[_0x316b('0x22')](_0x2ff280=>_0x2ff280['is']('textProxy'))[_0x316b('0x32')](_0x25db93=>_0x25db93[_0x316b('0x86')]),_0x46a2aa=this[_0x316b('0x6b')](_0x472534),_0x3f8499=_0x46a2aa[_0x316b('0x75')]-_0x46a2aa[_0x316b('0x59')]+0x1;if(_0x316b('0x6')==_0x472534[_0x316b('0x12')])return _0x3482e3[_0x316b('0x43')]?{'type':'insertion','content':_0x405bdf(_0x2eedb0,_0x316b('0x5'),_0x405bdf(_0x2eedb0,_0x316b('0x78'),[_0x3f8499,'\x22'+_0x3482e3[_0x316b('0x66')]('\x20')+'\x22']))}:{'type':_0x316b('0x6'),'content':_0x405bdf(_0x2eedb0,_0x316b('0x5'),_0x405bdf(_0x2eedb0,'ELEMENT_TABLE_COLUMN',_0x3f8499))};if(_0x316b('0x42')==_0x472534['type'])return _0x3482e3[_0x316b('0x43')]?{'type':'deletion','content':_0x405bdf(_0x2eedb0,'*Remove:*\x20%0',_0x405bdf(_0x2eedb0,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3f8499,'\x22'+_0x3482e3[_0x316b('0x66')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x405bdf(_0x2eedb0,_0x316b('0x1'),_0x405bdf(_0x2eedb0,'ELEMENT_TABLE_COLUMN',_0x3f8499))};}}),_0x24f9e5[_0x316b('0xf')][_0x316b('0x4e')]('insertion',_0x316b('0xb'),_0x316b('0x6d'),_0x13efd5),_0x24f9e5[_0x316b('0xf')][_0x316b('0x4e')](_0x316b('0x42'),_0x316b('0xb'),_0x316b('0x27'),_0x13efd5),_0x24f9e5[_0x316b('0xf')][_0x316b('0x4e')]('insertion',_0x316b('0x4d'),_0x316b('0x6d'),_0x1d728e),_0x24f9e5['_suggestionFactory'][_0x316b('0x4e')]('deletion',_0x316b('0x4d'),'accept',_0x1d728e),_0x24f9e5[_0x316b('0xf')][_0x316b('0x4e')](_0x316b('0x6'),_0x316b('0x4d'),'join',_0x1644ad),_0x24f9e5[_0x316b('0xf')][_0x316b('0x4e')](_0x316b('0x42'),_0x316b('0x4d'),_0x316b('0x66'),_0x1644ad),_0x24f9e5['_suggestionFactory'][_0x316b('0x4e')]('insertion',_0x316b('0xb'),_0x316b('0x66'),_0x37117d),_0x24f9e5[_0x316b('0xf')][_0x316b('0x4e')]('deletion',_0x316b('0xb'),_0x316b('0x66'),_0x37117d);}[_0x316b('0x47')](){const _0x54984d=this[_0x316b('0x17')],_0x1606d8=_0x54984d[_0x316b('0x6e')][_0x316b('0x35')][_0x316b('0x64')];return(_0x14a83c,_0x542532)=>{_0x54984d[_0x316b('0x6e')][_0x316b('0x3d')](_0x49c91d=>{const {commandName:_0x21c616,commandParams:_0x58c36a}=_0x542532;let _0xd1314f=_0x14a83c[0x0][_0x316b('0x83')][_0x316b('0x1e')];_0x58c36a&&_0x58c36a[0x0]&&!0x1===_0x58c36a[0x0][_0x316b('0x4b')]&&(_0xd1314f=_0x14a83c[0x0][_0x316b('0x2f')][_0x316b('0x7f')]);const _0x30e60a=_0x49c91d[_0x316b('0x61')](_0xd1314f);if(_0x316b('0x1c')==_0x30e60a[_0x316b('0x0')][_0x316b('0x71')])return;const _0x4e2da5=Array[_0x316b('0x85')](_0x1606d8[_0x316b('0x29')]())[_0x316b('0x32')](_0x4af1e3=>_0xacdd2c[_0x316b('0x62')](_0x4af1e3));_0x49c91d[_0x316b('0x24')](_0x30e60a),_0x54984d[_0x316b('0x7d')][_0x316b('0x45')](_0x21c616)[_0x316b('0x4f')](),_0x58c36a[_0x316b('0x3e')]({'forceDefaultExecution':!0x0}),_0x54984d['execute'](_0x21c616,..._0x58c36a);const _0xe2e3b1=_0x4e2da5[_0x316b('0x22')](_0x3c7b3a=>'$graveyard'!=_0x3c7b3a[_0x316b('0x0')][_0x316b('0x71')]);_0xe2e3b1[_0x316b('0x43')]>0x0&&_0x49c91d[_0x316b('0x24')](_0xe2e3b1);for(const _0x21aa96 of _0x4e2da5)_0x21aa96[_0x316b('0x14')]();});};}[_0x316b('0x39')](_0x50d33e){const _0x146405=this[_0x316b('0x17')]['plugins'][_0x316b('0x45')](_0x316b('0x6a'));let _0x59ad78=Number[_0x316b('0x5a')],_0x9e923c=Number[_0x316b('0x19')],_0x552fc2=Number[_0x316b('0x5a')],_0x1f35b7=Number['MIN_SAFE_INTEGER'];for(const _0x2f14ac of _0x50d33e){if(_0x316b('0x1c')==_0x2f14ac[_0x316b('0x0')][_0x316b('0x71')])continue;const {row:_0x5bacc1,column:_0x74bd2c}=_0x146405[_0x316b('0xa')](_0x2f14ac),_0x5b3b5b=_0x2f14ac[_0x316b('0x3')]('rowspan')?_0x2f14ac['getAttribute'](_0x316b('0x10'))-0x1:0x0,_0x4dc45e=_0x2f14ac['hasAttribute'](_0x316b('0x1a'))?_0x2f14ac[_0x316b('0x5d')]('colspan')-0x1:0x0;_0x59ad78=_0x5bacc1<_0x59ad78?_0x5bacc1:_0x59ad78,_0x9e923c=_0x5bacc1+_0x5b3b5b>_0x9e923c?_0x5bacc1+_0x5b3b5b:_0x9e923c,_0x552fc2=_0x74bd2c<_0x552fc2?_0x74bd2c:_0x552fc2,_0x1f35b7=_0x74bd2c+_0x4dc45e>_0x1f35b7?_0x74bd2c+_0x4dc45e:_0x1f35b7;}return{'minRow':_0x59ad78,'maxRow':_0x9e923c,'minColumn':_0x552fc2,'maxColumn':_0x1f35b7};}['_setupColumnsRowsFixing'](){const _0xf70331=this[_0x316b('0x17')],_0x3f0ac1=_0xf70331[_0x316b('0x21')][_0x316b('0x45')](_0x316b('0x3a')),_0x53dec0=_0xf70331[_0x316b('0x21')]['get'](_0x316b('0x6a'));this[_0x316b('0x76')]=new Set(),_0xf70331[_0x316b('0x6e')]['document']['on']('change:data',()=>{const _0x3728e9=Array[_0x316b('0x85')](_0xf70331[_0x316b('0x6e')][_0x316b('0x35')][_0x316b('0xc')][_0x316b('0x44')]());for(const {name:_0x20ea26,data:_0x487418}of _0x3728e9){const {group:_0x2a977f,id:_0x3b669c,subType:_0x28e3c4}=_0x3f0ac1['_splitMarkerName'](_0x20ea26);if(_0x316b('0x2a')!=_0x2a977f)continue;if(null!=_0x487418[_0x316b('0x37')])continue;const _0x569910=_0x3f0ac1['getSuggestion'](_0x3b669c);this[_0x316b('0x31')][_0x316b('0x50')](_0x28e3c4)&&this[_0x316b('0x76')][_0x316b('0x6c')](_0x569910);}},{'priority':_0x316b('0x5c')});const _0x2e1364=(_0x497609,_0x4b5273)=>{let _0x11b4a4=!0x1;const _0x3530d3=_0x4b5273['createRangeOn'](_0x497609),_0x50bcaf=_0x497609['findAncestor'](_0x316b('0x81')),_0x42a658=_0x53dec0[_0x316b('0xa')](_0x497609);for(const _0x46869f of this[_0x316b('0x76')]){const _0x319734=_0x46869f[_0x316b('0x51')],_0x2f8b81=_0x319734[_0x316b('0x4a')](_0x316b('0x1f')),_0x398e37=_0x319734[_0x316b('0x4c')](_0x2f8b81?0xa:0x5),_0x5cd89b=_0x398e37[_0x316b('0x33')](),_0x49e794=_0x5cd89b[_0x316b('0x4c')](0x0,0x3)+_0x316b('0x26'),_0x11e275=_0x316b('0x30')+_0x398e37,_0xb9a16b=_0x316b('0x3b')+_0x398e37;if(!_0x46869f[_0x316b('0x7a')])continue;if(_0x50bcaf!=_0x46869f[_0x316b('0x73')]()[_0x316b('0x2f')][_0x316b('0x8')](_0x316b('0x81')))continue;if(_0x46869f[_0x316b('0x53')](_0x3530d3))continue;const _0x4c43b5=_0x497609['hasAttribute'](_0x49e794)?_0x497609['getAttribute'](_0x49e794)-0x1:0x0,_0x2b98ec=this[_0x316b('0x6b')](_0x46869f),_0x5c2848=_0x2b98ec[_0x11e275],_0x49370d=_0x2b98ec[_0xb9a16b];_0x5c2848<=_0x42a658[_0x5cd89b]&&_0x42a658[_0x5cd89b]+_0x4c43b5<=_0x49370d&&(_0x46869f[_0x316b('0x5f')](_0x3530d3),_0x11b4a4=!0x0);}return _0x11b4a4;};_0xf70331['model'][_0x316b('0x35')]['registerPostFixer'](_0x8c272f=>{let _0x305e18=!0x1;for(const _0x5262d7 of _0xf70331[_0x316b('0x6e')][_0x316b('0x35')][_0x316b('0xc')]['getChanges']())if(_0x316b('0x54')==_0x5262d7['type']){if(_0x316b('0xb')==_0x5262d7[_0x316b('0x87')])for(const _0x560c41 of _0x5262d7[_0x316b('0x82')][_0x316b('0x7f')]['getChildren']())_0x305e18=_0x305e18||_0x2e1364(_0x560c41,_0x8c272f);else _0x316b('0x20')==_0x5262d7[_0x316b('0x87')]&&(_0x305e18=_0x305e18||_0x2e1364(_0x5262d7[_0x316b('0x82')][_0x316b('0x7f')],_0x8c272f));}return _0x305e18;});}[_0x316b('0x6b')](_0x3e9365){return this['_getCoordsForCells'](_0x3e9365[_0x316b('0x29')]()[_0x316b('0x32')](_0x47e5f8=>_0x47e5f8[_0x316b('0x2f')][_0x316b('0x7f')]));}}function Xt(_0x40f881){return Array['from'](new Set(_0x40f881)['values']());}
|