@ckeditor/ckeditor5-track-changes 38.2.0-alpha.0 → 39.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/README.md +0 -1
  2. package/build/track-changes.js +1 -1
  3. package/build/translations/gl.js +1 -1
  4. package/build/translations/sq.js +1 -0
  5. package/lang/translations/gl.po +23 -23
  6. package/lang/translations/sq.po +487 -0
  7. package/package.json +4 -5
  8. package/src/augmentation.d.ts +4 -0
  9. package/src/augmentation.js +1 -1
  10. package/src/commands/acceptsuggestioncommand.d.ts +4 -0
  11. package/src/commands/acceptsuggestioncommand.js +2 -2
  12. package/src/commands/discardsuggestioncommand.d.ts +4 -0
  13. package/src/commands/discardsuggestioncommand.js +2 -2
  14. package/src/commands/executeonallsuggestionscommand.d.ts +4 -0
  15. package/src/commands/executeonallsuggestionscommand.js +2 -2
  16. package/src/commands/executeonselectedsuggestionscommand.d.ts +4 -0
  17. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  18. package/src/commands/trackchangescommand.d.ts +4 -0
  19. package/src/commands/trackchangescommand.js +2 -2
  20. package/src/index.d.ts +4 -0
  21. package/src/index.js +1 -1
  22. package/src/integrations/alignment.d.ts +4 -0
  23. package/src/integrations/alignment.js +2 -2
  24. package/src/integrations/basicstyles.d.ts +4 -0
  25. package/src/integrations/basicstyles.js +2 -2
  26. package/src/integrations/blockquote.d.ts +4 -0
  27. package/src/integrations/blockquote.js +2 -2
  28. package/src/integrations/ckbox.d.ts +4 -0
  29. package/src/integrations/ckbox.js +2 -2
  30. package/src/integrations/codeblock.d.ts +4 -0
  31. package/src/integrations/codeblock.js +2 -2
  32. package/src/integrations/comments.d.ts +4 -0
  33. package/src/integrations/comments.js +2 -2
  34. package/src/integrations/deletecommand.d.ts +4 -0
  35. package/src/integrations/deletecommand.js +2 -2
  36. package/src/integrations/documentlist.d.ts +4 -0
  37. package/src/integrations/documentlist.js +2 -2
  38. package/src/integrations/documentlistproperties.d.ts +4 -0
  39. package/src/integrations/documentlistproperties.js +2 -2
  40. package/src/integrations/entercommand.d.ts +4 -0
  41. package/src/integrations/entercommand.js +2 -2
  42. package/src/integrations/findandreplace.d.ts +4 -0
  43. package/src/integrations/findandreplace.js +2 -2
  44. package/src/integrations/font.d.ts +4 -0
  45. package/src/integrations/font.js +2 -2
  46. package/src/integrations/formatpainter.d.ts +4 -0
  47. package/src/integrations/formatpainter.js +2 -2
  48. package/src/integrations/heading.d.ts +4 -0
  49. package/src/integrations/heading.js +2 -2
  50. package/src/integrations/highlight.d.ts +4 -0
  51. package/src/integrations/highlight.js +2 -2
  52. package/src/integrations/horizontalline.d.ts +4 -0
  53. package/src/integrations/horizontalline.js +2 -2
  54. package/src/integrations/htmlembed.d.ts +4 -0
  55. package/src/integrations/htmlembed.js +2 -2
  56. package/src/integrations/image.d.ts +4 -0
  57. package/src/integrations/image.js +2 -2
  58. package/src/integrations/imagereplace.d.ts +4 -0
  59. package/src/integrations/imagereplace.js +2 -2
  60. package/src/integrations/importword.d.ts +4 -0
  61. package/src/integrations/importword.js +2 -2
  62. package/src/integrations/indent.d.ts +4 -0
  63. package/src/integrations/indent.js +2 -2
  64. package/src/integrations/inputcommand.d.ts +4 -0
  65. package/src/integrations/inputcommand.js +2 -2
  66. package/src/integrations/link.d.ts +4 -0
  67. package/src/integrations/link.js +2 -2
  68. package/src/integrations/list.d.ts +4 -0
  69. package/src/integrations/list.js +2 -2
  70. package/src/integrations/listproperties.d.ts +4 -0
  71. package/src/integrations/listproperties.js +2 -2
  72. package/src/integrations/mediaembed.d.ts +4 -0
  73. package/src/integrations/mediaembed.js +2 -2
  74. package/src/integrations/mention.d.ts +4 -0
  75. package/src/integrations/mention.js +2 -2
  76. package/src/integrations/pagebreak.d.ts +4 -0
  77. package/src/integrations/pagebreak.js +2 -2
  78. package/src/integrations/paragraph.d.ts +4 -0
  79. package/src/integrations/paragraph.js +2 -2
  80. package/src/integrations/removeformat.d.ts +4 -0
  81. package/src/integrations/removeformat.js +2 -2
  82. package/src/integrations/restrictededitingmode.d.ts +4 -0
  83. package/src/integrations/restrictededitingmode.js +2 -2
  84. package/src/integrations/shiftentercommand.d.ts +4 -0
  85. package/src/integrations/shiftentercommand.js +2 -2
  86. package/src/integrations/standardeditingmode.d.ts +4 -0
  87. package/src/integrations/standardeditingmode.js +2 -2
  88. package/src/integrations/style.d.ts +4 -0
  89. package/src/integrations/style.js +2 -2
  90. package/src/integrations/table.d.ts +4 -0
  91. package/src/integrations/table.js +2 -2
  92. package/src/integrations/tablecaption.d.ts +4 -0
  93. package/src/integrations/tablecaption.js +2 -2
  94. package/src/integrations/tableclipboard.d.ts +2 -1
  95. package/src/integrations/tableclipboard.js +2 -2
  96. package/src/integrations/tablecolumnresize.d.ts +4 -0
  97. package/src/integrations/tablecolumnresize.js +2 -2
  98. package/src/integrations/tableheadings.d.ts +4 -0
  99. package/src/integrations/tableheadings.js +2 -2
  100. package/src/integrations/tablemergesplit.d.ts +4 -0
  101. package/src/integrations/tablemergesplit.js +2 -2
  102. package/src/integrations/tableofcontents.d.ts +4 -0
  103. package/src/integrations/tableofcontents.js +2 -2
  104. package/src/integrations/tableproperties.d.ts +4 -0
  105. package/src/integrations/tableproperties.js +2 -2
  106. package/src/integrations/template.d.ts +4 -0
  107. package/src/integrations/template.js +2 -2
  108. package/src/integrations/title.d.ts +4 -0
  109. package/src/integrations/title.js +2 -2
  110. package/src/integrations/undo.d.ts +4 -0
  111. package/src/integrations/undo.js +2 -2
  112. package/src/integrations/utils.d.ts +4 -0
  113. package/src/integrations/utils.js +2 -2
  114. package/src/suggestion.d.ts +11 -1
  115. package/src/suggestion.js +2 -2
  116. package/src/suggestiondescriptionfactory.d.ts +14 -2
  117. package/src/suggestiondescriptionfactory.js +2 -2
  118. package/src/trackchanges.d.ts +4 -0
  119. package/src/trackchanges.js +2 -2
  120. package/src/trackchangesconfig.d.ts +4 -0
  121. package/src/trackchangesconfig.js +1 -1
  122. package/src/trackchangesdata.d.ts +6 -2
  123. package/src/trackchangesdata.js +2 -2
  124. package/src/trackchangesediting.d.ts +4 -0
  125. package/src/trackchangesediting.js +2 -2
  126. package/src/trackchangesui.d.ts +4 -0
  127. package/src/trackchangesui.js +2 -2
  128. package/src/ui/suggestioncontroller.d.ts +2 -1
  129. package/src/ui/suggestioncontroller.js +2 -2
  130. package/src/ui/view/basesuggestionthreadview.d.ts +4 -0
  131. package/src/ui/view/basesuggestionthreadview.js +2 -2
  132. package/src/ui/view/suggestionthreadview.d.ts +2 -2
  133. package/src/ui/view/suggestionthreadview.js +2 -2
  134. package/src/utils/common-translations.d.ts +4 -0
  135. package/src/utils/common-translations.js +2 -2
  136. package/src/utils/utils.d.ts +4 -0
  137. package/src/utils/utils.js +2 -2
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-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 _0x2d1b=['*Format:*\x20insert\x20into\x20%0','ELEMENT_NUMBERED_LIST','indentList','createPositionAt','*Merge:*\x20%0','documentList','markBlockFormat','registerDescriptionCallback','previousSibling','listIndent','markMultiRangeBlockFormat','ELEMENT_BULLETED_LIST','fromRange','detach','getSelectedBlocks','_LIST','enableCommand','getAttribute','afterInit','format','_suggestionFactory','slice','start','has','next','nextSibling','splitListItemBefore','createRange','ELEMENT_','*Change\x20to:*\x20%0','document','add','mergeListItemBackward','hasAttribute','forceValue','before','nodeAfter','registerCustomCallback','editor','listType','isObject','get','expandListBlocksToCompleteList','DocumentListEditing','execute','getFirstRange','setSelection','bulletedList','plugins','push','commandParams','value','mergeListItemForward','map','numberedList','refresh','formatBlock','listItemId','model','commands','TrackChangesEditing','containsItem','*Format:*\x20remove\x20from\x20%0','isFirstBlockOfListItem','multipleBlocks','ELEMENT_LIST_ITEM','change','from','selection','_descriptionFactory','commandName','splitListItemAfter','outdentList','toUpperCase'];(function(_0x180fbc,_0x2d1b4d){const _0x118a2d=function(_0x3f65fe){while(--_0x3f65fe){_0x180fbc['push'](_0x180fbc['shift']());}};_0x118a2d(++_0x2d1b4d);}(_0x2d1b,0xc9));const _0x118a=function(_0x180fbc,_0x2d1b4d){_0x180fbc=_0x180fbc-0x0;let _0x118a2d=_0x2d1b[_0x180fbc];return _0x118a2d;};import{Plugin as _0x2a8883}from'ckeditor5/src/core';import{getTranslation as _0x64a521}from'../utils/common-translations';import{LiveRange as _0x28608b}from'ckeditor5/src/engine';export default class L extends _0x2a8883{[_0x118a('0x27')](){const _0x52a2e4=this[_0x118a('0x3b')];if(!_0x52a2e4[_0x118a('0x45')][_0x118a('0x2c')](_0x118a('0x40')))return;const _0x5a5bac=_0x52a2e4['locale'],_0x15d5ab=_0x52a2e4[_0x118a('0x45')][_0x118a('0x3e')](_0x118a('0x7')),_0x9bcb8e=_0x52a2e4[_0x118a('0x45')][_0x118a('0x3e')]('DocumentListUtils');function _0x1ccd91(_0x15513a){return()=>{const _0x1d6573=_0x52a2e4[_0x118a('0x6')][_0x118a('0x3e')](_0x15513a);let _0x24daa9=Array['from'](_0x52a2e4['model'][_0x118a('0x33')][_0x118a('0xf')][_0x118a('0x23')]());if(_0x29ffc1(_0x15513a)){_0x24daa9=_0x9bcb8e[_0x118a('0x3f')](_0x24daa9);const _0x33e8fa=[];for(const _0x12019e of _0x24daa9)_0x9bcb8e[_0x118a('0xa')](_0x12019e)&&_0x33e8fa[_0x118a('0x46')](_0x12019e);_0x24daa9=_0x33e8fa;}_0x52a2e4['model'][_0x118a('0xd')](()=>{_0x15d5ab[_0x118a('0x1f')](_0x24daa9,{'commandName':_0x15513a,'commandParams':[{'forceValue':!_0x1d6573['value']}],'formatGroupId':_0x118a('0x3c')},[],_0x118a('0x1a'));});};}function _0x26b8a3(_0x47bbaa){return()=>{const _0x8e03a8=function(_0x1ee92d){let _0x1a6540=Array['from'](_0x1ee92d);const _0x249261=_0x1a6540['findIndex'](_0x3add4b=>!_0x3add4b[_0x118a('0x36')](_0x118a('0x4')));return _0x249261>-0x1&&(_0x1a6540=_0x1a6540[_0x118a('0x2a')](0x0,_0x249261)),_0x1a6540;}(_0x52a2e4[_0x118a('0x5')]['document'][_0x118a('0xf')][_0x118a('0x23')]()),_0x1c0db1=_0x8e03a8[_0x8e03a8['length']-0x1],_0x3a3b16=_0x52a2e4[_0x118a('0x5')]['schema'][_0x118a('0x3d')](_0x1c0db1)?'after':'end',_0x1d678e=_0x52a2e4[_0x118a('0x5')]['createRange'](_0x52a2e4[_0x118a('0x5')][_0x118a('0x18')](_0x8e03a8[0x0],_0x118a('0x38')),_0x52a2e4['model'][_0x118a('0x18')](_0x1c0db1,_0x3a3b16));_0x52a2e4[_0x118a('0x5')][_0x118a('0xd')](()=>{_0x15d5ab[_0x118a('0x1b')](_0x1d678e,{'commandName':_0x47bbaa,'commandParams':[],'formatGroupId':_0x118a('0x3c')},function(_0x32ef5f){const _0x10943d=new Set();for(const _0x388dbe of _0x32ef5f){let _0x525ccb=_0x388dbe[_0x118a('0x2e')];for(;_0x525ccb&&_0x525ccb[_0x118a('0x26')](_0x118a('0x1e'))>_0x388dbe['getAttribute'](_0x118a('0x1e'));)_0x10943d[_0x118a('0x34')](_0x525ccb),_0x525ccb=_0x525ccb[_0x118a('0x2e')];}return Array[_0x118a('0xe')](_0x10943d);}(_0x8e03a8));});};}function _0x5d1c99(_0x3c710f){return()=>{const _0x2b7f8d=_0x52a2e4['model']['document']['selection'][_0x118a('0x23')]()[_0x118a('0x2d')]()[_0x118a('0x48')],_0x274ea6=_0x52a2e4['model'][_0x118a('0x18')](_0x2b7f8d,_0x118a('0x38')),_0x45049a=_0x52a2e4['model']['createPositionAt'](_0x2b7f8d,0x0),_0xa77920=_0x52a2e4[_0x118a('0x5')][_0x118a('0x30')](_0x274ea6,_0x45049a);_0x52a2e4['model'][_0x118a('0xd')](()=>{_0x15d5ab['markBlockFormat'](_0xa77920,{'commandName':_0x3c710f,'commandParams':[],'formatGroupId':'listType'});});};}function _0x29ffc1(_0x4a0cfe){const _0x4dd90f=_0x52a2e4['commands'][_0x118a('0x3e')]('bulletedList')[_0x118a('0x48')],_0x56c98e=_0x52a2e4[_0x118a('0x6')][_0x118a('0x3e')](_0x118a('0x1'))[_0x118a('0x48')];return _0x118a('0x1')===_0x4a0cfe?_0x4dd90f:_0x56c98e;}_0x15d5ab['enableCommand']('numberedList',_0x1ccd91('numberedList')),_0x15d5ab[_0x118a('0x25')](_0x118a('0x44'),_0x1ccd91(_0x118a('0x44'))),_0x15d5ab[_0x118a('0x25')](_0x118a('0x17'),_0x26b8a3(_0x118a('0x17'))),_0x15d5ab['enableCommand'](_0x118a('0x13'),_0x26b8a3(_0x118a('0x13'))),_0x15d5ab['enableCommand']('splitListItemAfter',_0x5d1c99(_0x118a('0x12'))),_0x15d5ab[_0x118a('0x25')](_0x118a('0x2f'),_0x5d1c99(_0x118a('0x2f'))),_0x15d5ab[_0x118a('0x10')]['registerElementLabel'](function(_0x4dcb88){const _0x2cb1dd=!_0x52a2e4['model']['schema'][_0x118a('0x3d')](_0x4dcb88),_0x5f4354=_0x4dcb88[_0x118a('0x1d')],_0x217b86=_0x4dcb88[_0x118a('0x2e')],_0x5ee0ba=_0x4dcb88[_0x118a('0x26')](_0x118a('0x4')),_0x50ef5d=!_0x5f4354||_0x5f4354[_0x118a('0x26')](_0x118a('0x4'))!==_0x5ee0ba,_0x560b57=!_0x217b86||_0x217b86[_0x118a('0x26')](_0x118a('0x4'))!==_0x5ee0ba;return _0x2cb1dd&&Boolean(_0x5ee0ba)&&_0x50ef5d&&_0x560b57;},_0x5e8fb1=>_0x64a521(_0x5a5bac,_0x118a('0xc'),_0x5e8fb1)),_0x15d5ab[_0x118a('0x10')][_0x118a('0x1c')](function(_0x174097){const {data:_0x5792a3}=_0x174097;if(!_0x5792a3)return;let _0x578361,_0x2c8056,_0x44080f,_0x3e1262;switch(_0x5792a3[_0x118a('0x11')]){case'bulletedList':_0x44080f=_0x5792a3['commandParams'][0x0][_0x118a('0x37')],_0x3e1262=_0x29ffc1(_0x5792a3['commandName']),_0x578361=_0x44080f?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x3e1262&&(_0x578361=_0x118a('0x32')),_0x2c8056={'type':_0x118a('0x28'),'content':_0x64a521(_0x5a5bac,_0x578361,_0x64a521(_0x5a5bac,_0x118a('0x20')))};break;case _0x118a('0x1'):_0x44080f=_0x5792a3['commandParams'][0x0][_0x118a('0x37')],_0x3e1262=_0x29ffc1(_0x5792a3[_0x118a('0x11')]),_0x578361=_0x44080f?_0x118a('0x15'):'*Format:*\x20remove\x20from\x20%0',_0x3e1262&&(_0x578361=_0x118a('0x32')),_0x2c8056={'type':'format','content':_0x64a521(_0x5a5bac,_0x578361,_0x64a521(_0x5a5bac,_0x118a('0x16')))};break;case'indentList':_0x578361='*Indent:*\x20%0',_0x2c8056={'type':'format','content':_0x64a521(_0x5a5bac,_0x578361,_0x64a521(_0x5a5bac,_0x118a('0xc')))};break;case _0x118a('0x13'):_0x578361=function(_0x593211){const _0x1637a5=_0x593211['getFirstRange']();let _0x2837b9=_0x1637a5[_0x118a('0x2b')][_0x118a('0x39')];for(;_0x2837b9&&_0x1637a5[_0x118a('0x8')](_0x2837b9);){if(_0x2837b9[_0x118a('0x26')]('listIndent')>0x0)return!0x1;_0x2837b9=_0x2837b9[_0x118a('0x2e')];}return!0x0;}(_0x174097)?_0x64a521(_0x5a5bac,_0x118a('0x9'),_0x64a521(_0x5a5bac,function(_0x5bfba9){const _0x4d01e2=_0x5bfba9[_0x118a('0x42')]()[_0x118a('0x2b')][_0x118a('0x39')];return _0x118a('0x31')+_0x4d01e2['getAttribute'](_0x118a('0x3c'))[_0x118a('0x14')]()+_0x118a('0x24');}(_0x174097))):_0x64a521(_0x5a5bac,'*Outdent:*\x20%0',_0x64a521(_0x5a5bac,_0x118a('0xc'))),_0x2c8056={'type':'format','content':_0x578361};break;case _0x118a('0x35'):case _0x118a('0x49'):!0x1===_0x5792a3[_0x118a('0xb')]&&(_0x578361=_0x118a('0x19'),_0x2c8056={'type':'deletion','content':_0x64a521(_0x5a5bac,_0x578361,_0x64a521(_0x5a5bac,'ELEMENT_LIST_ITEM'))});}return _0x2c8056;}),_0x15d5ab[_0x118a('0x29')][_0x118a('0x3a')](_0x118a('0x3'),_0x118a('0x1a'),'accept',function(_0x4c003b,_0xc371d4){const _0x514d4c=[];for(let _0x3d8526 of _0x4c003b)_0x3d8526[_0x118a('0x2b')][_0x118a('0x39')]===_0x3d8526['end']['parent']&&(_0x3d8526=_0x52a2e4[_0x118a('0x5')]['createRange'](_0x52a2e4[_0x118a('0x5')]['createPositionAt'](_0x3d8526[_0x118a('0x2b')][_0x118a('0x39')],0x0))),_0x514d4c[_0x118a('0x46')](_0x3d8526);_0x52a2e4['model']['change'](_0x2a04c3=>{const _0xebf79=_0x52a2e4[_0x118a('0x5')][_0x118a('0x33')][_0x118a('0xf')],_0x4e6a54=Array[_0x118a('0xe')](_0xebf79['getRanges']())[_0x118a('0x0')](_0x4c2e4c=>_0x28608b[_0x118a('0x21')](_0x4c2e4c));_0x2a04c3[_0x118a('0x43')](_0x514d4c),_0x52a2e4[_0x118a('0x6')]['get'](_0xc371d4[_0x118a('0x11')])[_0x118a('0x2')](),_0xc371d4[_0x118a('0x47')]['push']({'forceDefaultExecution':!0x0}),_0x52a2e4[_0x118a('0x41')](_0xc371d4[_0x118a('0x11')],..._0xc371d4['commandParams']),_0x2a04c3[_0x118a('0x43')](_0x4e6a54);for(const _0x2a870c of _0x4e6a54)_0x2a870c[_0x118a('0x22')]();});});}}
23
+ const _0x4973=['isObject','*Outdent:*\x20%0','formatBlock','mergeListItemBackward','getSelectedBlocks','commands','ELEMENT_LIST_ITEM','editor','getRanges','after','push','*Merge:*\x20%0','DocumentListEditing','slice','createRange','*Format:*\x20remove\x20from\x20%0','forceValue','model','before','*Change\x20to:*\x20%0','_descriptionFactory','commandParams','get','listItemId','commandName','createPositionAt','listIndent','splitListItemAfter','change','previousSibling','afterInit','*Format:*\x20insert\x20into\x20%0','splitListItemBefore','fromRange','registerCustomCallback','*Indent:*\x20%0','enableCommand','deletion','toUpperCase','next','registerDescriptionCallback','start','outdentList','indentList','_suggestionFactory','nodeAfter','nextSibling','containsItem','value','format','numberedList','detach','add','setSelection','parent','bulletedList','documentList','markBlockFormat','map','execute','hasAttribute','plugins','from','registerElementLabel','listType','document','accept','getFirstRange','schema','selection','ELEMENT_','getAttribute','mergeListItemForward','multipleBlocks'];(function(_0x234433,_0x49730d){const _0x1e5077=function(_0x1ff922){while(--_0x1ff922){_0x234433['push'](_0x234433['shift']());}};_0x1e5077(++_0x49730d);}(_0x4973,0xf8));const _0x1e50=function(_0x234433,_0x49730d){_0x234433=_0x234433-0x0;let _0x1e5077=_0x4973[_0x234433];return _0x1e5077;};import{Plugin as _0x555eb4}from'ckeditor5/src/core';import{getTranslation as _0x603ecf}from'../utils/common-translations';import{LiveRange as _0x5203c2}from'ckeditor5/src/engine';export default class L extends _0x555eb4{[_0x1e50('0x4')](){const _0x53f405=this[_0x1e50('0x37')];if(!_0x53f405[_0x1e50('0x23')]['has'](_0x1e50('0x3c')))return;const _0x33243d=_0x53f405['locale'],_0x333302=_0x53f405[_0x1e50('0x23')][_0x1e50('0x46')]('TrackChangesEditing'),_0x4914e8=_0x53f405[_0x1e50('0x23')][_0x1e50('0x46')]('DocumentListUtils');function _0x3117ca(_0x858e00){return()=>{const _0x32586a=_0x53f405[_0x1e50('0x35')][_0x1e50('0x46')](_0x858e00);let _0x3de72e=Array[_0x1e50('0x24')](_0x53f405[_0x1e50('0x41')][_0x1e50('0x27')][_0x1e50('0x2b')][_0x1e50('0x34')]());if(_0x5aea33(_0x858e00)){_0x3de72e=_0x4914e8['expandListBlocksToCompleteList'](_0x3de72e);const _0x32e988=[];for(const _0x2a1f25 of _0x3de72e)_0x4914e8['isFirstBlockOfListItem'](_0x2a1f25)&&_0x32e988['push'](_0x2a1f25);_0x3de72e=_0x32e988;}_0x53f405[_0x1e50('0x41')][_0x1e50('0x2')](()=>{_0x333302['markMultiRangeBlockFormat'](_0x3de72e,{'commandName':_0x858e00,'commandParams':[{'forceValue':!_0x32586a['value']}],'formatGroupId':_0x1e50('0x26')},[],_0x1e50('0x1e'));});};}function _0x55c294(_0x5a2f3c){return()=>{const _0x437861=function(_0x516870){let _0x59a9ae=Array['from'](_0x516870);const _0x31b16c=_0x59a9ae['findIndex'](_0x3a47ae=>!_0x3a47ae[_0x1e50('0x22')](_0x1e50('0x47')));return _0x31b16c>-0x1&&(_0x59a9ae=_0x59a9ae[_0x1e50('0x3d')](0x0,_0x31b16c)),_0x59a9ae;}(_0x53f405['model'][_0x1e50('0x27')][_0x1e50('0x2b')]['getSelectedBlocks']()),_0x56a1cd=_0x437861[_0x437861['length']-0x1],_0x1ba8bf=_0x53f405[_0x1e50('0x41')][_0x1e50('0x2a')][_0x1e50('0x30')](_0x56a1cd)?_0x1e50('0x39'):'end',_0x166b0c=_0x53f405[_0x1e50('0x41')][_0x1e50('0x3e')](_0x53f405['model']['createPositionAt'](_0x437861[0x0],_0x1e50('0x42')),_0x53f405['model'][_0x1e50('0x49')](_0x56a1cd,_0x1ba8bf));_0x53f405['model'][_0x1e50('0x2')](()=>{_0x333302['markBlockFormat'](_0x166b0c,{'commandName':_0x5a2f3c,'commandParams':[],'formatGroupId':'listType'},function(_0x41e77b){const _0x876a91=new Set();for(const _0x2ba047 of _0x41e77b){let _0x511c37=_0x2ba047[_0x1e50('0x14')];for(;_0x511c37&&_0x511c37[_0x1e50('0x2d')](_0x1e50('0x0'))>_0x2ba047[_0x1e50('0x2d')](_0x1e50('0x0'));)_0x876a91[_0x1e50('0x1a')](_0x511c37),_0x511c37=_0x511c37[_0x1e50('0x14')];}return Array['from'](_0x876a91);}(_0x437861));});};}function _0x151643(_0x5c7bdd){return()=>{const _0xbed8ad=_0x53f405[_0x1e50('0x41')]['document']['selection'][_0x1e50('0x34')]()[_0x1e50('0xd')]()[_0x1e50('0x16')],_0x506fef=_0x53f405[_0x1e50('0x41')][_0x1e50('0x49')](_0xbed8ad,_0x1e50('0x42')),_0x24cd68=_0x53f405[_0x1e50('0x41')][_0x1e50('0x49')](_0xbed8ad,0x0),_0x10ce81=_0x53f405['model'][_0x1e50('0x3e')](_0x506fef,_0x24cd68);_0x53f405[_0x1e50('0x41')][_0x1e50('0x2')](()=>{_0x333302[_0x1e50('0x1f')](_0x10ce81,{'commandName':_0x5c7bdd,'commandParams':[],'formatGroupId':'listType'});});};}function _0x5aea33(_0x1f2a8c){const _0x20a13c=_0x53f405[_0x1e50('0x35')][_0x1e50('0x46')](_0x1e50('0x1d'))[_0x1e50('0x16')],_0x169588=_0x53f405[_0x1e50('0x35')][_0x1e50('0x46')](_0x1e50('0x18'))[_0x1e50('0x16')];return _0x1e50('0x18')===_0x1f2a8c?_0x20a13c:_0x169588;}_0x333302[_0x1e50('0xa')](_0x1e50('0x18'),_0x3117ca(_0x1e50('0x18'))),_0x333302[_0x1e50('0xa')](_0x1e50('0x1d'),_0x3117ca(_0x1e50('0x1d'))),_0x333302[_0x1e50('0xa')](_0x1e50('0x11'),_0x55c294('indentList')),_0x333302['enableCommand']('outdentList',_0x55c294(_0x1e50('0x10'))),_0x333302['enableCommand'](_0x1e50('0x1'),_0x151643(_0x1e50('0x1'))),_0x333302['enableCommand'](_0x1e50('0x6'),_0x151643(_0x1e50('0x6'))),_0x333302[_0x1e50('0x44')][_0x1e50('0x25')](function(_0x3f39a4){const _0x982525=!_0x53f405[_0x1e50('0x41')]['schema']['isObject'](_0x3f39a4),_0x205921=_0x3f39a4[_0x1e50('0x3')],_0x1a0d74=_0x3f39a4['nextSibling'],_0x4cc642=_0x3f39a4['getAttribute'](_0x1e50('0x47')),_0x182d5c=!_0x205921||_0x205921['getAttribute'](_0x1e50('0x47'))!==_0x4cc642,_0x397b84=!_0x1a0d74||_0x1a0d74['getAttribute'](_0x1e50('0x47'))!==_0x4cc642;return _0x982525&&Boolean(_0x4cc642)&&_0x182d5c&&_0x397b84;},_0x19f65e=>_0x603ecf(_0x33243d,'ELEMENT_LIST_ITEM',_0x19f65e)),_0x333302['_descriptionFactory'][_0x1e50('0xe')](function(_0x59973b){const {data:_0x4d7d4d}=_0x59973b;if(!_0x4d7d4d)return;let _0xfe2ef6,_0x2ac5a1,_0x5b184e,_0x49c7fd;switch(_0x4d7d4d['commandName']){case'bulletedList':_0x5b184e=_0x4d7d4d[_0x1e50('0x45')][0x0][_0x1e50('0x40')],_0x49c7fd=_0x5aea33(_0x4d7d4d[_0x1e50('0x48')]),_0xfe2ef6=_0x5b184e?_0x1e50('0x5'):_0x1e50('0x3f'),_0x49c7fd&&(_0xfe2ef6=_0x1e50('0x43')),_0x2ac5a1={'type':'format','content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x5b184e=_0x4d7d4d[_0x1e50('0x45')][0x0][_0x1e50('0x40')],_0x49c7fd=_0x5aea33(_0x4d7d4d['commandName']),_0xfe2ef6=_0x5b184e?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x49c7fd&&(_0xfe2ef6=_0x1e50('0x43')),_0x2ac5a1={'type':_0x1e50('0x17'),'content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0xfe2ef6=_0x1e50('0x9'),_0x2ac5a1={'type':'format','content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_LIST_ITEM'))};break;case _0x1e50('0x10'):_0xfe2ef6=function(_0x2920e6){const _0x33998e=_0x2920e6[_0x1e50('0x29')]();let _0x5d4608=_0x33998e[_0x1e50('0xf')][_0x1e50('0x13')];for(;_0x5d4608&&_0x33998e[_0x1e50('0x15')](_0x5d4608);){if(_0x5d4608[_0x1e50('0x2d')](_0x1e50('0x0'))>0x0)return!0x1;_0x5d4608=_0x5d4608['nextSibling'];}return!0x0;}(_0x59973b)?_0x603ecf(_0x33243d,_0x1e50('0x3f'),_0x603ecf(_0x33243d,function(_0xfeb72d){const _0x59ed09=_0xfeb72d[_0x1e50('0x29')]()[_0x1e50('0xf')][_0x1e50('0x13')];return _0x1e50('0x2c')+_0x59ed09['getAttribute'](_0x1e50('0x26'))[_0x1e50('0xc')]()+'_LIST';}(_0x59973b))):_0x603ecf(_0x33243d,_0x1e50('0x31'),_0x603ecf(_0x33243d,_0x1e50('0x36'))),_0x2ac5a1={'type':_0x1e50('0x17'),'content':_0xfe2ef6};break;case _0x1e50('0x33'):case _0x1e50('0x2e'):!0x1===_0x4d7d4d[_0x1e50('0x2f')]&&(_0xfe2ef6=_0x1e50('0x3b'),_0x2ac5a1={'type':_0x1e50('0xb'),'content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_LIST_ITEM'))});}return _0x2ac5a1;}),_0x333302[_0x1e50('0x12')][_0x1e50('0x8')](_0x1e50('0x32'),'documentList',_0x1e50('0x28'),function(_0x3d4bad,_0x46d852){const _0x3f95ed=[];for(let _0x1d688a of _0x3d4bad)_0x1d688a[_0x1e50('0xf')]['nodeAfter']===_0x1d688a['end'][_0x1e50('0x1c')]&&(_0x1d688a=_0x53f405[_0x1e50('0x41')][_0x1e50('0x3e')](_0x53f405['model'][_0x1e50('0x49')](_0x1d688a['start'][_0x1e50('0x13')],0x0))),_0x3f95ed[_0x1e50('0x3a')](_0x1d688a);_0x53f405['model'][_0x1e50('0x2')](_0x2dd947=>{const _0x2345e5=_0x53f405['model'][_0x1e50('0x27')]['selection'],_0x491ced=Array[_0x1e50('0x24')](_0x2345e5[_0x1e50('0x38')]())[_0x1e50('0x20')](_0x5d4082=>_0x5203c2[_0x1e50('0x7')](_0x5d4082));_0x2dd947[_0x1e50('0x1b')](_0x3f95ed),_0x53f405[_0x1e50('0x35')]['get'](_0x46d852['commandName'])['refresh'](),_0x46d852[_0x1e50('0x45')][_0x1e50('0x3a')]({'forceDefaultExecution':!0x0}),_0x53f405[_0x1e50('0x21')](_0x46d852[_0x1e50('0x48')],..._0x46d852[_0x1e50('0x45')]),_0x2dd947[_0x1e50('0x1b')](_0x491ced);for(const _0x58cfe9 of _0x491ced)_0x58cfe9[_0x1e50('0x19')]();});});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/documentlistproperties
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-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 _0x1055=['handleListStartCommand','locale','listReversed','DocumentListPropertiesEditing','toUpperCase','handleListReversedCommand','*Change\x20to:*\x20%0','commandName','enableCommand','handleListStyleCommand','config','replace','isListItemBlock','editor','change','afterInit','bind','plugins','format','isFirstBlockOfListItem','styles','_getTranslationKeyForListStyle','_getSuggestionBlocks','numbered','*Format:*\x20set\x20order\x20to\x20regular','reversed','listType','getAttribute','commandParams','type','get','selection','DocumentListUtils','listStart','_getSuggestionBlocksForListStyle','from','TrackChangesEditing','markMultiRangeBlockFormat','push','handleDescriptions','getSelectedBlocks','document','listStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','getListTypeFromListStyleType','model','expandListBlocksToCompleteList','length'];(function(_0x2dbaae,_0x105563){const _0x52c737=function(_0x47ccaf){while(--_0x47ccaf){_0x2dbaae['push'](_0x2dbaae['shift']());}};_0x52c737(++_0x105563);}(_0x1055,0x124));const _0x52c7=function(_0x2dbaae,_0x105563){_0x2dbaae=_0x2dbaae-0x0;let _0x52c737=_0x1055[_0x2dbaae];return _0x52c737;};import{Plugin as _0x1a4de5}from'ckeditor5/src/core';import{getTranslation as _0x35a80d}from'../utils/common-translations';export default class At extends _0x1a4de5{[_0x52c7('0xb')](){if(!this[_0x52c7('0x9')][_0x52c7('0xd')]['has'](_0x52c7('0x2f')))return;const _0xdeac6c=this[_0x52c7('0x9')][_0x52c7('0x6')][_0x52c7('0x1a')]('list.properties'),_0x40e9dc=this[_0x52c7('0x9')][_0x52c7('0xd')][_0x52c7('0x1a')](_0x52c7('0x20'));_0xdeac6c[_0x52c7('0x10')]&&_0x40e9dc['enableCommand'](_0x52c7('0x26'),this[_0x52c7('0x5')][_0x52c7('0xc')](this)),_0xdeac6c[_0x52c7('0x15')]&&_0x40e9dc[_0x52c7('0x4')](_0x52c7('0x2e'),this['handleListReversedCommand']['bind'](this)),_0xdeac6c['startIndex']&&_0x40e9dc[_0x52c7('0x4')](_0x52c7('0x1d'),this[_0x52c7('0x2c')][_0x52c7('0xc')](this)),_0x40e9dc['_descriptionFactory']['registerDescriptionCallback'](this[_0x52c7('0x23')]['bind'](this));}[_0x52c7('0x5')](_0xa642f1,_0x177611={}){const _0x488ec7=this[_0x52c7('0x9')][_0x52c7('0xd')]['get'](_0x52c7('0x20')),_0x4fb6e5=this[_0x52c7('0x1e')]();this['editor']['model'][_0x52c7('0xa')](()=>{_0x488ec7[_0x52c7('0x21')](_0x4fb6e5,{'commandName':_0x52c7('0x26'),'commandParams':[{'type':_0x177611[_0x52c7('0x19')]}],'formatGroupId':'listStyle'});});}[_0x52c7('0x1')](_0x1d7db3,_0x43ec8a={}){const _0x1ef2a1=this[_0x52c7('0x9')][_0x52c7('0xd')][_0x52c7('0x1a')](_0x52c7('0x20')),_0x26256c=this['editor']['plugins'][_0x52c7('0x1a')](_0x52c7('0x1c')),_0x2e3208=this['_getSuggestionBlocks'](_0x463303=>_0x26256c[_0x52c7('0x8')](_0x463303)&&_0x52c7('0x13')===_0x463303['getAttribute'](_0x52c7('0x16')));null!==_0x2e3208&&this[_0x52c7('0x9')][_0x52c7('0x29')]['change'](()=>{_0x1ef2a1[_0x52c7('0x21')](_0x2e3208,{'commandName':_0x52c7('0x2e'),'commandParams':[{'reversed':_0x43ec8a[_0x52c7('0x15')]}],'formatGroupId':_0x52c7('0x2e')});});}[_0x52c7('0x2c')](_0x2ce6ea,_0x54e73e={}){const _0x3b8f8c=this[_0x52c7('0x9')][_0x52c7('0xd')][_0x52c7('0x1a')](_0x52c7('0x20')),_0x55194d=this[_0x52c7('0x9')][_0x52c7('0xd')]['get'](_0x52c7('0x1c')),_0x5dbe58=this[_0x52c7('0x12')](_0xfc1fb7=>_0x55194d[_0x52c7('0x8')](_0xfc1fb7)&&_0x52c7('0x13')===_0xfc1fb7[_0x52c7('0x17')](_0x52c7('0x16')));null!==_0x5dbe58&&this['editor'][_0x52c7('0x29')][_0x52c7('0xa')](()=>{_0x3b8f8c[_0x52c7('0x21')](_0x5dbe58,{'commandName':_0x52c7('0x1d'),'commandParams':[{'startIndex':_0x54e73e['startIndex']}],'formatGroupId':_0x52c7('0x1d')});});}['handleDescriptions'](_0x35eab7){const _0x4cfa50=this[_0x52c7('0x9')][_0x52c7('0x2d')],{data:_0x4a2aec}=_0x35eab7;if(!_0x4a2aec)return;let _0x109a1a,_0x7df5f0;switch(_0x4a2aec[_0x52c7('0x3')]){case _0x52c7('0x26'):_0x109a1a=_0x52c7('0x2'),_0x7df5f0={'type':_0x52c7('0xe'),'content':_0x35a80d(_0x4cfa50,_0x109a1a,_0x35a80d(_0x4cfa50,this[_0x52c7('0x11')](_0x4a2aec[_0x52c7('0x18')][0x0]['type'])))};break;case'listReversed':_0x109a1a=_0x4a2aec['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x52c7('0x14'),_0x7df5f0={'type':'format','content':_0x35a80d(_0x4cfa50,_0x109a1a)};break;case'listStart':_0x109a1a=_0x52c7('0x27'),_0x7df5f0={'type':_0x52c7('0xe'),'content':_0x35a80d(_0x4cfa50,_0x109a1a,_0x4a2aec[_0x52c7('0x18')][0x0]['startIndex'])};}return _0x7df5f0;}['_getSuggestionBlocksForListStyle'](){const _0x5e4626=this['editor']['plugins'][_0x52c7('0x1a')]('DocumentListUtils');let _0xc68871=Array[_0x52c7('0x1f')](this[_0x52c7('0x9')]['model'][_0x52c7('0x25')][_0x52c7('0x1b')][_0x52c7('0x24')]());return _0xc68871[_0x52c7('0x22')](..._0x5e4626[_0x52c7('0x2a')](_0xc68871)),_0xc68871=[...new Set(_0xc68871)],_0xc68871;}[_0x52c7('0x12')](_0x547f32){const _0x40e460=this[_0x52c7('0x9')][_0x52c7('0xd')][_0x52c7('0x1a')](_0x52c7('0x1c'));let _0x42a3b3=Array[_0x52c7('0x1f')](this['editor']['model']['document'][_0x52c7('0x1b')][_0x52c7('0x24')]())['filter'](_0x547f32);if(!_0x42a3b3[_0x52c7('0x2b')])return null;_0x42a3b3=_0x40e460[_0x52c7('0x2a')](_0x42a3b3);const _0xd473d2=[];for(const _0x56a03e of _0x42a3b3)_0x40e460[_0x52c7('0xf')](_0x56a03e)&&_0xd473d2[_0x52c7('0x22')](_0x56a03e);return _0xd473d2;}['_getTranslationKeyForListStyle'](_0x5f2c81){return'ELEMENT_'+this['editor'][_0x52c7('0xd')][_0x52c7('0x1a')]('DocumentListPropertiesUtils')[_0x52c7('0x28')](_0x5f2c81)[_0x52c7('0x0')]()+'_LIST_'+_0x5f2c81[_0x52c7('0x0')]()[_0x52c7('0x7')](/-/g,'_');}}
23
+ const _0x38a1=['TrackChangesEditing','handleListStartCommand','getSelectedBlocks','locale','isListItemBlock','markMultiRangeBlockFormat','handleListReversedCommand','getListTypeFromListStyleType','listStart','_descriptionFactory','commandName','push','_getSuggestionBlocksForListStyle','listReversed','replace','bind','listType','model','DocumentListPropertiesUtils','format','DocumentListUtils','styles','ELEMENT_','toUpperCase','has','enableCommand','expandListBlocksToCompleteList','length','startIndex','*Format:*\x20set\x20order\x20to\x20regular','reversed','selection','_getSuggestionBlocks','*Change\x20to:*\x20%0','afterInit','change','handleDescriptions','_getTranslationKeyForListStyle','commandParams','type','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','document','from','editor','_LIST_','list.properties','get','plugins','listStyle','isFirstBlockOfListItem','handleListStyleCommand','getAttribute'];(function(_0x2d33cf,_0x38a129){const _0xc5a236=function(_0x431709){while(--_0x431709){_0x2d33cf['push'](_0x2d33cf['shift']());}};_0xc5a236(++_0x38a129);}(_0x38a1,0x122));const _0xc5a2=function(_0x2d33cf,_0x38a129){_0x2d33cf=_0x2d33cf-0x0;let _0xc5a236=_0x38a1[_0x2d33cf];return _0xc5a236;};import{Plugin as _0x49e10b}from'ckeditor5/src/core';import{getTranslation as _0x8e85b2}from'../utils/common-translations';export default class At extends _0x49e10b{[_0xc5a2('0x9')](){if(!this['editor']['plugins'][_0xc5a2('0x34')]('DocumentListPropertiesEditing'))return;const _0x2902ae=this[_0xc5a2('0x13')]['config'][_0xc5a2('0x16')](_0xc5a2('0x15')),_0x405b28=this['editor'][_0xc5a2('0x17')][_0xc5a2('0x16')](_0xc5a2('0x1c'));_0x2902ae[_0xc5a2('0x31')]&&_0x405b28[_0xc5a2('0x0')](_0xc5a2('0x18'),this[_0xc5a2('0x1a')][_0xc5a2('0x2b')](this)),_0x2902ae['reversed']&&_0x405b28[_0xc5a2('0x0')](_0xc5a2('0x29'),this[_0xc5a2('0x22')][_0xc5a2('0x2b')](this)),_0x2902ae[_0xc5a2('0x3')]&&_0x405b28[_0xc5a2('0x0')](_0xc5a2('0x24'),this[_0xc5a2('0x1d')][_0xc5a2('0x2b')](this)),_0x405b28[_0xc5a2('0x25')]['registerDescriptionCallback'](this[_0xc5a2('0xb')][_0xc5a2('0x2b')](this));}[_0xc5a2('0x1a')](_0x4b0852,_0x4b6122={}){const _0x768da4=this[_0xc5a2('0x13')][_0xc5a2('0x17')][_0xc5a2('0x16')]('TrackChangesEditing'),_0x1231c2=this[_0xc5a2('0x28')]();this[_0xc5a2('0x13')][_0xc5a2('0x2d')][_0xc5a2('0xa')](()=>{_0x768da4[_0xc5a2('0x21')](_0x1231c2,{'commandName':_0xc5a2('0x18'),'commandParams':[{'type':_0x4b6122['type']}],'formatGroupId':_0xc5a2('0x18')});});}[_0xc5a2('0x22')](_0x57ed46,_0x5247a2={}){const _0x52da9d=this[_0xc5a2('0x13')]['plugins'][_0xc5a2('0x16')]('TrackChangesEditing'),_0x2d0f60=this[_0xc5a2('0x13')][_0xc5a2('0x17')]['get'](_0xc5a2('0x30')),_0x3c2442=this[_0xc5a2('0x7')](_0x35a120=>_0x2d0f60[_0xc5a2('0x20')](_0x35a120)&&_0xc5a2('0xf')===_0x35a120[_0xc5a2('0x1b')](_0xc5a2('0x2c')));null!==_0x3c2442&&this['editor'][_0xc5a2('0x2d')][_0xc5a2('0xa')](()=>{_0x52da9d['markMultiRangeBlockFormat'](_0x3c2442,{'commandName':_0xc5a2('0x29'),'commandParams':[{'reversed':_0x5247a2['reversed']}],'formatGroupId':_0xc5a2('0x29')});});}[_0xc5a2('0x1d')](_0x14bede,_0x30d9e4={}){const _0x2033af=this[_0xc5a2('0x13')][_0xc5a2('0x17')]['get']('TrackChangesEditing'),_0x4b72ad=this[_0xc5a2('0x13')][_0xc5a2('0x17')]['get'](_0xc5a2('0x30')),_0x5a6601=this['_getSuggestionBlocks'](_0x39c80b=>_0x4b72ad['isListItemBlock'](_0x39c80b)&&'numbered'===_0x39c80b['getAttribute'](_0xc5a2('0x2c')));null!==_0x5a6601&&this['editor']['model'][_0xc5a2('0xa')](()=>{_0x2033af[_0xc5a2('0x21')](_0x5a6601,{'commandName':'listStart','commandParams':[{'startIndex':_0x30d9e4['startIndex']}],'formatGroupId':_0xc5a2('0x24')});});}[_0xc5a2('0xb')](_0x534456){const _0x1480c5=this[_0xc5a2('0x13')][_0xc5a2('0x1f')],{data:_0x566f3a}=_0x534456;if(!_0x566f3a)return;let _0x25670e,_0x2436f8;switch(_0x566f3a[_0xc5a2('0x26')]){case _0xc5a2('0x18'):_0x25670e=_0xc5a2('0x8'),_0x2436f8={'type':_0xc5a2('0x2f'),'content':_0x8e85b2(_0x1480c5,_0x25670e,_0x8e85b2(_0x1480c5,this[_0xc5a2('0xc')](_0x566f3a[_0xc5a2('0xd')][0x0][_0xc5a2('0xe')])))};break;case _0xc5a2('0x29'):_0x25670e=_0x566f3a['commandParams'][0x0][_0xc5a2('0x5')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0xc5a2('0x4'),_0x2436f8={'type':_0xc5a2('0x2f'),'content':_0x8e85b2(_0x1480c5,_0x25670e)};break;case _0xc5a2('0x24'):_0x25670e=_0xc5a2('0x10'),_0x2436f8={'type':_0xc5a2('0x2f'),'content':_0x8e85b2(_0x1480c5,_0x25670e,_0x566f3a['commandParams'][0x0][_0xc5a2('0x3')])};}return _0x2436f8;}[_0xc5a2('0x28')](){const _0x2837b9=this['editor']['plugins']['get'](_0xc5a2('0x30'));let _0x49e94a=Array[_0xc5a2('0x12')](this[_0xc5a2('0x13')][_0xc5a2('0x2d')][_0xc5a2('0x11')][_0xc5a2('0x6')][_0xc5a2('0x1e')]());return _0x49e94a[_0xc5a2('0x27')](..._0x2837b9[_0xc5a2('0x1')](_0x49e94a)),_0x49e94a=[...new Set(_0x49e94a)],_0x49e94a;}[_0xc5a2('0x7')](_0x5a9d7c){const _0x2d10b2=this['editor'][_0xc5a2('0x17')][_0xc5a2('0x16')](_0xc5a2('0x30'));let _0x10f09e=Array[_0xc5a2('0x12')](this[_0xc5a2('0x13')]['model'][_0xc5a2('0x11')]['selection'][_0xc5a2('0x1e')]())['filter'](_0x5a9d7c);if(!_0x10f09e[_0xc5a2('0x2')])return null;_0x10f09e=_0x2d10b2[_0xc5a2('0x1')](_0x10f09e);const _0x5bcf48=[];for(const _0x1aa5a9 of _0x10f09e)_0x2d10b2[_0xc5a2('0x19')](_0x1aa5a9)&&_0x5bcf48[_0xc5a2('0x27')](_0x1aa5a9);return _0x5bcf48;}['_getTranslationKeyForListStyle'](_0x23d752){return _0xc5a2('0x32')+this['editor']['plugins'][_0xc5a2('0x16')](_0xc5a2('0x2e'))[_0xc5a2('0x23')](_0x23d752)['toUpperCase']()+_0xc5a2('0x14')+_0x23d752[_0xc5a2('0x33')]()[_0xc5a2('0x2a')](/-/g,'_');}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/entercommand
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-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 _0x41a5=['model','mapper','document','writer','editor','getFirstRange','createRange','markInsertion','detach','enter','nextSibling','createPositionAt','downcastDispatcher','addMarker:suggestion:insertion','markerNameToElements','markerName','hasClass','split','commands','afterExecute','enableCommand','high','getFirstPosition','end','selection','plugins','TrackChangesEditing','data','removeMarker:suggestion:insertion','enterBlock','change','get','fire','editing'];(function(_0x1bee8e,_0x41a5d6){const _0x3284ca=function(_0x4afbfd){while(--_0x4afbfd){_0x1bee8e['push'](_0x1bee8e['shift']());}};_0x3284ca(++_0x41a5d6);}(_0x41a5,0xd9));const _0x3284=function(_0x1bee8e,_0x41a5d6){_0x1bee8e=_0x1bee8e-0x0;let _0x3284ca=_0x41a5[_0x1bee8e];return _0x3284ca;};import{Plugin as _0x271d73}from'ckeditor5/src/core';import{Enter as _0x887424}from'ckeditor5/src/enter';import{LiveRange as _0x1f9dfa}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x121080}from'./utils';export default class q extends _0x271d73{static get['requires'](){return[_0x887424];}['init'](){const _0xbb6bb4=this[_0x3284('0x19')],_0x27e8ac=_0xbb6bb4[_0x3284('0xc')][_0x3284('0x12')](_0x3284('0xd')),_0x5c9a9d=_0xbb6bb4[_0x3284('0x5')][_0x3284('0x12')](_0x3284('0x1e'));_0x27e8ac[_0x3284('0x7')](_0x3284('0x1e'),()=>{_0xbb6bb4[_0x3284('0x15')][_0x3284('0x11')](_0x22cf20=>{const _0x5277c2=_0xbb6bb4[_0x3284('0x15')][_0x3284('0x17')][_0x3284('0xb')],_0x1a96bf=_0x5277c2[_0x3284('0x9')](),_0x35def9=_0x1f9dfa['fromRange'](_0x5277c2[_0x3284('0x1a')]());if(_0x5c9a9d[_0x3284('0x10')](_0x22cf20)){const _0x2c44fd=_0xbb6bb4[_0x3284('0x15')][_0x3284('0x20')](_0x1a96bf['parent'][_0x3284('0x1f')],0x0),_0x234ab4=_0x22cf20['createRange'](_0x1a96bf,_0x2c44fd);_0x27e8ac[_0x3284('0x1c')](_0x234ab4);}else _0x22cf20['setSelection'](_0x22cf20[_0x3284('0x1b')](_0x35def9[_0x3284('0xa')]));_0x35def9[_0x3284('0x1d')](),_0x5c9a9d[_0x3284('0x13')](_0x3284('0x6'),{'writer':_0x22cf20});});}),_0xbb6bb4[_0x3284('0x14')][_0x3284('0x21')]['on'](_0x3284('0x0'),_0x121080(_0xbb6bb4,_0x3284('0x4')),{'priority':_0x3284('0x8')}),_0xbb6bb4[_0x3284('0x14')][_0x3284('0x21')]['on'](_0x3284('0xf'),(_0x15b04c,_0x2383ec,_0x104c39)=>{const _0x2eb588=_0x104c39[_0x3284('0x16')][_0x3284('0x1')](_0x2383ec['markerName']);if(_0x2eb588)for(const _0x3f19dc of _0x2eb588)_0x3f19dc[_0x3284('0x3')]('ck-suggestion-marker-split')&&(_0x104c39[_0x3284('0x16')]['unbindElementFromMarkerName'](_0x3f19dc,_0x2383ec[_0x3284('0x2')]),_0x104c39[_0x3284('0x18')]['remove'](_0x3f19dc));},{'priority':'high'}),_0xbb6bb4[_0x3284('0xe')][_0x3284('0x21')]['on'](_0x3284('0x0'),(_0x1df5ff,_0x320656,_0x1bdd8e)=>{_0x1bdd8e['options']['showSuggestionHighlights']&&_0x121080(_0xbb6bb4,_0x3284('0x4'),{'showActiveMarker':!0x1})['bind'](this)(_0x1df5ff,_0x320656,_0x1bdd8e);},{'priority':_0x3284('0x8')});}}
23
+ const _0x5c64=['writer','fromRange','createRange','hasClass','getFirstRange','enter','end','editing','markerNameToElements','nextSibling','TrackChangesEditing','selection','parent','addMarker:suggestion:insertion','markerName','mapper','commands','showSuggestionHighlights','markInsertion','requires','plugins','downcastDispatcher','change','bind','unbindElementFromMarkerName','get','high','detach','setSelection','model','createPositionAt','enterBlock','removeMarker:suggestion:insertion','options','split','afterExecute','init','ck-suggestion-marker-split'];(function(_0x2496df,_0x5c64c2){const _0x4f7694=function(_0xaecff1){while(--_0xaecff1){_0x2496df['push'](_0x2496df['shift']());}};_0x4f7694(++_0x5c64c2);}(_0x5c64,0xfd));const _0x4f76=function(_0x2496df,_0x5c64c2){_0x2496df=_0x2496df-0x0;let _0x4f7694=_0x5c64[_0x2496df];return _0x4f7694;};import{Plugin as _0x36875c}from'ckeditor5/src/core';import{Enter as _0x2cfdd8}from'ckeditor5/src/enter';import{LiveRange as _0x296f0a}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3c45af}from'./utils';export default class q extends _0x36875c{static get[_0x4f76('0x20')](){return[_0x2cfdd8];}[_0x4f76('0xb')](){const _0x574bdc=this['editor'],_0x3a04aa=_0x574bdc[_0x4f76('0x21')][_0x4f76('0x0')](_0x4f76('0x17')),_0x3d4936=_0x574bdc[_0x4f76('0x1d')][_0x4f76('0x0')](_0x4f76('0x12'));_0x3a04aa['enableCommand']('enter',()=>{_0x574bdc[_0x4f76('0x4')][_0x4f76('0x23')](_0x5bccd6=>{const _0x311276=_0x574bdc['model']['document'][_0x4f76('0x18')],_0x397f81=_0x311276['getFirstPosition'](),_0x2889f1=_0x296f0a[_0x4f76('0xe')](_0x311276[_0x4f76('0x11')]());if(_0x3d4936[_0x4f76('0x6')](_0x5bccd6)){const _0x22582e=_0x574bdc[_0x4f76('0x4')][_0x4f76('0x5')](_0x397f81[_0x4f76('0x19')][_0x4f76('0x16')],0x0),_0x19995d=_0x5bccd6['createRange'](_0x397f81,_0x22582e);_0x3a04aa[_0x4f76('0x1f')](_0x19995d);}else _0x5bccd6[_0x4f76('0x3')](_0x5bccd6[_0x4f76('0xf')](_0x2889f1[_0x4f76('0x13')]));_0x2889f1[_0x4f76('0x2')](),_0x3d4936['fire'](_0x4f76('0xa'),{'writer':_0x5bccd6});});}),_0x574bdc['editing'][_0x4f76('0x22')]['on'](_0x4f76('0x1a'),_0x3c45af(_0x574bdc,_0x4f76('0x9')),{'priority':'high'}),_0x574bdc[_0x4f76('0x14')][_0x4f76('0x22')]['on'](_0x4f76('0x7'),(_0x50dd70,_0x42de18,_0x520d11)=>{const _0x418b26=_0x520d11[_0x4f76('0x1c')][_0x4f76('0x15')](_0x42de18['markerName']);if(_0x418b26)for(const _0x44e4a2 of _0x418b26)_0x44e4a2[_0x4f76('0x10')](_0x4f76('0xc'))&&(_0x520d11[_0x4f76('0x1c')][_0x4f76('0x25')](_0x44e4a2,_0x42de18[_0x4f76('0x1b')]),_0x520d11[_0x4f76('0xd')]['remove'](_0x44e4a2));},{'priority':_0x4f76('0x1')}),_0x574bdc['data'][_0x4f76('0x22')]['on'](_0x4f76('0x1a'),(_0x4c1016,_0x380a05,_0x262df6)=>{_0x262df6[_0x4f76('0x8')][_0x4f76('0x1e')]&&_0x3c45af(_0x574bdc,_0x4f76('0x9'),{'showActiveMarker':!0x1})[_0x4f76('0x24')](this)(_0x4c1016,_0x380a05,_0x262df6);},{'priority':_0x4f76('0x1')});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/findandreplace
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-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 _0xadf8=['end','replaceAll','find','replace','TrackChangesEditing','createPositionAt','findNext','plugins','getRange','FindAndReplaceEditing','bind','start','afterInit','string','suggestion:deletion','filter','enableCommand','model','_isInDeletionRange','getMarkersGroup','has','getIntersection','get','editor'];(function(_0x4a4c2c,_0xadf88e){const _0x377a07=function(_0x48de58){while(--_0x48de58){_0x4a4c2c['push'](_0x4a4c2c['shift']());}};_0x377a07(++_0xadf88e);}(_0xadf8,0x19c));const _0x377a=function(_0x4a4c2c,_0xadf88e){_0x4a4c2c=_0x4a4c2c-0x0;let _0x377a07=_0xadf8[_0x4a4c2c];return _0x377a07;};import{Plugin as _0x39bb1c}from'ckeditor5/src/core';export default class z extends _0x39bb1c{[_0x377a('0x8')](){if(!this[_0x377a('0x13')][_0x377a('0x3')][_0x377a('0x10')](_0x377a('0x5')))return;const _0x2bbea7=this[_0x377a('0x13')][_0x377a('0x3')][_0x377a('0x12')](_0x377a('0x0'));_0x2bbea7[_0x377a('0xc')](_0x377a('0x16'),this['handleFindCommand'][_0x377a('0x6')](this)),_0x2bbea7['enableCommand'](_0x377a('0x2')),_0x2bbea7[_0x377a('0xc')]('findPrevious'),_0x2bbea7[_0x377a('0xc')](_0x377a('0x17')),_0x2bbea7['enableCommand'](_0x377a('0x15'));}['handleFindCommand'](_0x40c2f0,_0x56cd91,_0x329f18={}){const _0x549c88=this[_0x377a('0x13')][_0x377a('0x3')][_0x377a('0x12')]('FindAndReplaceUtils');void 0x0!==_0x329f18&&_0x40c2f0(_0x52eb52=>(_0x377a('0x9')==typeof _0x56cd91?_0x549c88['findByTextCallback'](_0x56cd91,_0x329f18):_0x56cd91)(_0x52eb52)[_0x377a('0xb')](_0x553eab=>!0x1===this['_isInDeletionRange'](_0x553eab,_0x52eb52['item'])),_0x329f18);}[_0x377a('0xe')](_0x4b711f,_0x26188c){const _0x1d4894=this[_0x377a('0x13')][_0x377a('0xd')]['createRange'](this[_0x377a('0x13')]['model'][_0x377a('0x1')](_0x26188c,_0x4b711f[_0x377a('0x7')]),this[_0x377a('0x13')][_0x377a('0xd')][_0x377a('0x1')](_0x26188c,_0x4b711f[_0x377a('0x14')]));for(const _0x204781 of this['editor'][_0x377a('0xd')]['markers'][_0x377a('0xf')](_0x377a('0xa')))if(null!==_0x1d4894[_0x377a('0x11')](_0x204781[_0x377a('0x4')]()))return!0x0;return!0x1;}}
23
+ const _0x32a9=['has','editor','_isInDeletionRange','start','get','TrackChangesEditing','suggestion:deletion','afterInit','string','bind','handleFindCommand','plugins','getIntersection','FindAndReplaceUtils','model','findNext','end','FindAndReplaceEditing','findPrevious','createPositionAt','replaceAll','enableCommand','markers','replace'];(function(_0x347bac,_0x32a9c8){const _0x39e446=function(_0x2326c0){while(--_0x2326c0){_0x347bac['push'](_0x347bac['shift']());}};_0x39e446(++_0x32a9c8);}(_0x32a9,0x140));const _0x39e4=function(_0x347bac,_0x32a9c8){_0x347bac=_0x347bac-0x0;let _0x39e446=_0x32a9[_0x347bac];return _0x39e446;};import{Plugin as _0x449cf9}from'ckeditor5/src/core';export default class z extends _0x449cf9{[_0x39e4('0x17')](){if(!this[_0x39e4('0x11')][_0x39e4('0x3')][_0x39e4('0x10')](_0x39e4('0x9')))return;const _0x2c02c4=this['editor']['plugins']['get'](_0x39e4('0x15'));_0x2c02c4[_0x39e4('0xd')]('find',this[_0x39e4('0x2')][_0x39e4('0x1')](this)),_0x2c02c4[_0x39e4('0xd')](_0x39e4('0x7')),_0x2c02c4[_0x39e4('0xd')](_0x39e4('0xa')),_0x2c02c4[_0x39e4('0xd')](_0x39e4('0xf')),_0x2c02c4['enableCommand'](_0x39e4('0xc'));}['handleFindCommand'](_0x5b404d,_0xb2cb7,_0x1e9f79={}){const _0x297a12=this['editor'][_0x39e4('0x3')][_0x39e4('0x14')](_0x39e4('0x5'));void 0x0!==_0x1e9f79&&_0x5b404d(_0x2fd6cc=>(_0x39e4('0x0')==typeof _0xb2cb7?_0x297a12['findByTextCallback'](_0xb2cb7,_0x1e9f79):_0xb2cb7)(_0x2fd6cc)['filter'](_0x2ba205=>!0x1===this['_isInDeletionRange'](_0x2ba205,_0x2fd6cc['item'])),_0x1e9f79);}[_0x39e4('0x12')](_0x211911,_0x30cbf2){const _0x5a4ca2=this[_0x39e4('0x11')][_0x39e4('0x6')]['createRange'](this[_0x39e4('0x11')][_0x39e4('0x6')][_0x39e4('0xb')](_0x30cbf2,_0x211911[_0x39e4('0x13')]),this[_0x39e4('0x11')][_0x39e4('0x6')][_0x39e4('0xb')](_0x30cbf2,_0x211911[_0x39e4('0x8')]));for(const _0x52379c of this[_0x39e4('0x11')][_0x39e4('0x6')][_0x39e4('0xe')]['getMarkersGroup'](_0x39e4('0x16')))if(null!==_0x5a4ca2[_0x39e4('0x4')](_0x52379c['getRange']()))return!0x0;return!0x1;}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/font
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-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 _0x564d=['FontSize','value','commandName','TrackChangesEditing','label','FontBackgroundColorEditing','plugins','getRanges','document','fontSize','fontSize.options','*Set\x20font\x20family:*\x20%0','*Set\x20font\x20background\x20color:*\x20%0','_enableCommand','fontBackgroundColor','find','title','*Set\x20font\x20size:*\x20%0','selection','config','format','*Reset\x20font\x20family*','trim','isCollapsed','*Reset\x20font\x20color*','fontColor.colors','*Reset\x20font\x20size*','normalizeSizeOptions','markInlineFormat','FontColorEditing','fontBackgroundColor.colors','*Set\x20font\x20color:*\x20%0','model','fontColor','get','toLowerCase','FontSizeEditing','from','*Reset\x20font\x20background\x20color*','commandParams','editor'];(function(_0x4afe41,_0x564d16){const _0x3e0a6d=function(_0x53a258){while(--_0x53a258){_0x4afe41['push'](_0x4afe41['shift']());}};_0x3e0a6d(++_0x564d16);}(_0x564d,0x19f));const _0x3e0a=function(_0x4afe41,_0x564d16){_0x4afe41=_0x4afe41-0x0;let _0x3e0a6d=_0x564d[_0x4afe41];return _0x3e0a6d;};import{Plugin as _0x194b41}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4179b2}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3b2b97}from'./utils';import{getTranslation as _0x34d84a}from'../utils/common-translations';const Zt=[{'pluginName':_0x3e0a('0x1f'),'commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':_0x3e0a('0x18'),'commandName':_0x3e0a('0x1c')},{'pluginName':_0x3e0a('0x0'),'commandName':_0x3e0a('0x9')}];export default class H extends _0x194b41{['afterInit'](){const _0x3501af=this[_0x3e0a('0x23')]['locale'];for(const {pluginName:_0x108a26,commandName:_0xa59074}of Zt)this[_0x3e0a('0x23')][_0x3e0a('0x1')]['has'](_0x108a26)&&this['_enableCommand'](_0xa59074);this['editor']['plugins']['get'](_0x3e0a('0x27'))['_descriptionFactory']['registerDescriptionCallback'](_0x1fb122=>{const _0x23211d=_0x3501af['t'],{data:_0x32b1df}=_0x1fb122;if(null!=_0x32b1df){if(_0x3e0a('0x4')==_0x32b1df['commandName']){const _0x2994b3=_0x32b1df[_0x3e0a('0x22')][0x0][_0x3e0a('0x25')];if(_0x2994b3){const _0x541789=_0x23211d(this[_0x3e0a('0x23')][_0x3e0a('0x1')][_0x3e0a('0x1d')](_0x3e0a('0x24'))[_0x3e0a('0x16')](this[_0x3e0a('0x23')]['config'][_0x3e0a('0x1d')](_0x3e0a('0x5')))[_0x3e0a('0xa')](_0x56f946=>_0x56f946[_0x3e0a('0x1b')]==_0x2994b3)[_0x3e0a('0xb')])[_0x3e0a('0x1e')]();return{'type':'format','content':_0x34d84a(_0x3501af,_0x3e0a('0xc'),_0x541789)};}return{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x15'))};}if('fontFamily'==_0x32b1df[_0x3e0a('0x26')]){const _0x2ede04=_0x32b1df[_0x3e0a('0x22')][0x0][_0x3e0a('0x25')];return _0x2ede04?{'type':'format','content':_0x34d84a(_0x3501af,_0x3e0a('0x6'),_0x2ede04)}:{'type':'format','content':_0x34d84a(_0x3501af,_0x3e0a('0x10'))};}if(_0x3e0a('0x1c')==_0x32b1df[_0x3e0a('0x26')]){const _0x4811ed=_0x32b1df[_0x3e0a('0x22')][0x0][_0x3e0a('0x25')];if(_0x4811ed){const _0x254747=_0x4179b2(this['editor'][_0x3e0a('0xe')][_0x3e0a('0x1d')](_0x3e0a('0x14')))[_0x3e0a('0xa')](_0x408ea5=>_0x408ea5['model']==_0x4811ed);let _0x2c001f=_0x4811ed,_0x58f872='';return _0x254747&&(_0x2c001f=_0x254747[_0x3e0a('0x28')],_0x58f872=_0x23211d(_0x2c001f)[_0x3e0a('0x1e')]()),{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x1a'),_0x58f872)[_0x3e0a('0x11')](),'color':{'value':_0x4811ed,'title':_0x58f872||_0x2c001f}};}return{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x13'))};}if('fontBackgroundColor'==_0x32b1df[_0x3e0a('0x26')]){const _0x48eebe=_0x32b1df[_0x3e0a('0x22')][0x0][_0x3e0a('0x25')];if(_0x48eebe){const _0x3e1836=_0x4179b2(this[_0x3e0a('0x23')]['config']['get'](_0x3e0a('0x19')))[_0x3e0a('0xa')](_0x22d801=>_0x22d801[_0x3e0a('0x1b')]==_0x48eebe);let _0x13aaee=_0x48eebe,_0xa6a4d9='';return _0x3e1836&&(_0x13aaee=_0x3e1836['label'],_0xa6a4d9=_0x23211d(_0x13aaee)[_0x3e0a('0x1e')]()),{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x7'),_0xa6a4d9)[_0x3e0a('0x11')](),'color':{'value':_0x48eebe,'title':_0xa6a4d9||_0x13aaee}};}return{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x21'))};}}});}[_0x3e0a('0x8')](_0x31987d){const _0x2ee37a=this['editor'];_0x2ee37a['plugins'][_0x3e0a('0x1d')](_0x3e0a('0x27'))['enableCommand'](_0x31987d,(_0x29de36,_0x2cf558={})=>{const _0x5503de=_0x2ee37a[_0x3e0a('0x1b')][_0x3e0a('0x3')][_0x3e0a('0xd')],_0x49146c=_0x2cf558['value'];_0x5503de[_0x3e0a('0x12')]?_0x29de36(_0x2cf558):_0x2ee37a[_0x3e0a('0x1b')]['change'](()=>{const _0x518654=Array[_0x3e0a('0x20')](_0x5503de[_0x3e0a('0x2')]());for(const _0x1fdac8 of _0x518654){const _0x28ef99=_0x49146c?[_0x1fdac8]:_0x3b2b97(_0x31987d,_0x1fdac8,_0x2ee37a[_0x3e0a('0x1b')]);for(const _0x4b343f of _0x28ef99)_0x2ee37a[_0x3e0a('0x1')][_0x3e0a('0x1d')](_0x3e0a('0x27'))[_0x3e0a('0x17')](_0x4b343f,{'commandName':_0x31987d,'commandParams':[{'value':_0x49146c}]});}});});}}
23
+ const _0x5d71=['trim','toLowerCase','*Reset\x20font\x20background\x20color*','fontColor','fontColor.colors','markInlineFormat','editor','document','title','isCollapsed','format','_enableCommand','find','has','label','commandName','FontSizeEditing','get','from','plugins','commandParams','selection','getRanges','fontBackgroundColor.colors','fontSize','normalizeSizeOptions','_descriptionFactory','*Set\x20font\x20color:*\x20%0','change','model','fontFamily','TrackChangesEditing','fontBackgroundColor','registerDescriptionCallback','*Set\x20font\x20family:*\x20%0','*Reset\x20font\x20family*','afterInit','FontSize','value','FontBackgroundColorEditing','*Set\x20font\x20background\x20color:*\x20%0','config'];(function(_0x5e05a5,_0x5d71f4){const _0x3de0ff=function(_0x44a60d){while(--_0x44a60d){_0x5e05a5['push'](_0x5e05a5['shift']());}};_0x3de0ff(++_0x5d71f4);}(_0x5d71,0x1ef));const _0x3de0=function(_0x5e05a5,_0x5d71f4){_0x5e05a5=_0x5e05a5-0x0;let _0x3de0ff=_0x5d71[_0x5e05a5];return _0x3de0ff;};import{Plugin as _0x52c4d0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x53fcce}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x120593}from'./utils';import{getTranslation as _0x481ac5}from'../utils/common-translations';const Zt=[{'pluginName':_0x3de0('0x19'),'commandName':_0x3de0('0x21')},{'pluginName':'FontFamilyEditing','commandName':_0x3de0('0x27')},{'pluginName':'FontColorEditing','commandName':_0x3de0('0xc')},{'pluginName':_0x3de0('0x6'),'commandName':_0x3de0('0x29')}];export default class H extends _0x52c4d0{[_0x3de0('0x3')](){const _0x1a52c3=this['editor']['locale'];for(const {pluginName:_0x126d05,commandName:_0x550a48}of Zt)this['editor'][_0x3de0('0x1c')][_0x3de0('0x16')](_0x126d05)&&this[_0x3de0('0x14')](_0x550a48);this[_0x3de0('0xf')][_0x3de0('0x1c')][_0x3de0('0x1a')](_0x3de0('0x28'))[_0x3de0('0x23')][_0x3de0('0x0')](_0x322a49=>{const _0x3177f6=_0x1a52c3['t'],{data:_0x565e53}=_0x322a49;if(null!=_0x565e53){if('fontSize'==_0x565e53[_0x3de0('0x18')]){const _0x41167b=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x41167b){const _0x141be9=_0x3177f6(this[_0x3de0('0xf')][_0x3de0('0x1c')]['get'](_0x3de0('0x4'))[_0x3de0('0x22')](this[_0x3de0('0xf')][_0x3de0('0x8')][_0x3de0('0x1a')]('fontSize.options'))[_0x3de0('0x15')](_0x25165c=>_0x25165c['model']==_0x41167b)[_0x3de0('0x11')])[_0x3de0('0xa')]();return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Set\x20font\x20size:*\x20%0',_0x141be9)};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Reset\x20font\x20size*')};}if(_0x3de0('0x27')==_0x565e53[_0x3de0('0x18')]){const _0x203851=_0x565e53['commandParams'][0x0][_0x3de0('0x5')];return _0x203851?{'type':'format','content':_0x481ac5(_0x1a52c3,_0x3de0('0x1'),_0x203851)}:{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x2'))};}if('fontColor'==_0x565e53[_0x3de0('0x18')]){const _0x4f850e=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x4f850e){const _0x17341a=_0x53fcce(this[_0x3de0('0xf')][_0x3de0('0x8')]['get'](_0x3de0('0xd')))[_0x3de0('0x15')](_0x5b4587=>_0x5b4587[_0x3de0('0x26')]==_0x4f850e);let _0x2539b5=_0x4f850e,_0x55c313='';return _0x17341a&&(_0x2539b5=_0x17341a['label'],_0x55c313=_0x3177f6(_0x2539b5)['toLowerCase']()),{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x24'),_0x55c313)[_0x3de0('0x9')](),'color':{'value':_0x4f850e,'title':_0x55c313||_0x2539b5}};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x565e53[_0x3de0('0x18')]){const _0x4cb4ee=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x4cb4ee){const _0x1818cb=_0x53fcce(this['editor'][_0x3de0('0x8')][_0x3de0('0x1a')](_0x3de0('0x20')))[_0x3de0('0x15')](_0x406ba0=>_0x406ba0[_0x3de0('0x26')]==_0x4cb4ee);let _0x410052=_0x4cb4ee,_0xc74528='';return _0x1818cb&&(_0x410052=_0x1818cb[_0x3de0('0x17')],_0xc74528=_0x3177f6(_0x410052)[_0x3de0('0xa')]()),{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x7'),_0xc74528)[_0x3de0('0x9')](),'color':{'value':_0x4cb4ee,'title':_0xc74528||_0x410052}};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0xb'))};}}});}[_0x3de0('0x14')](_0x500ba4){const _0x318655=this['editor'];_0x318655[_0x3de0('0x1c')]['get']('TrackChangesEditing')['enableCommand'](_0x500ba4,(_0x3d783d,_0x1af597={})=>{const _0x3e585a=_0x318655[_0x3de0('0x26')][_0x3de0('0x10')][_0x3de0('0x1e')],_0xb6c12=_0x1af597[_0x3de0('0x5')];_0x3e585a[_0x3de0('0x12')]?_0x3d783d(_0x1af597):_0x318655[_0x3de0('0x26')][_0x3de0('0x25')](()=>{const _0x165a36=Array[_0x3de0('0x1b')](_0x3e585a[_0x3de0('0x1f')]());for(const _0x1371f4 of _0x165a36){const _0x767b7c=_0xb6c12?[_0x1371f4]:_0x120593(_0x500ba4,_0x1371f4,_0x318655[_0x3de0('0x26')]);for(const _0x3d5b87 of _0x767b7c)_0x318655['plugins']['get'](_0x3de0('0x28'))[_0x3de0('0xe')](_0x3d5b87,{'commandName':_0x500ba4,'commandParams':[{'value':_0xb6c12}]});}});});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/formatpainter
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-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 _0x21d3=['schema','TrackChangesEditing','forward','isBlock','length','slice','fontColor','enableCommand','markInlineFormat','isFormatting','copyFormat','getItems','fontColor.colors','push','split','_descriptionFactory','getRanges','locale','change','find','keys','model','config','registerDescriptionCallback','isCollapsed','*Remove\x20all\x20formatting*','join','commands','getLastPosition','FontSize','*Set\x20format\x20to:*\x20%0','modifySelection','document','toLowerCase','pasteFormat','backward','normalizeSizeOptions','plugins','commandName','entries','createSelection','title','format','getFirstPosition','commandParams','getAttributes','get','word'];(function(_0x1a00a0,_0x21d389){const _0x4fc6b3=function(_0x3da208){while(--_0x3da208){_0x1a00a0['push'](_0x1a00a0['shift']());}};_0x4fc6b3(++_0x21d389);}(_0x21d3,0xd1));const _0x4fc6=function(_0x1a00a0,_0x21d389){_0x1a00a0=_0x1a00a0-0x0;let _0x4fc6b3=_0x21d3[_0x1a00a0];return _0x4fc6b3;};import{Plugin as _0x396061}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4f1225}from'ckeditor5/src/ui';import{first as _0x3d86cd}from'ckeditor5/src/utils';import{getTranslation as _0x4514f1}from'../utils/common-translations';export default class W extends _0x396061{['afterInit'](){const _0x1492b1=this['editor'],_0x4182a3=_0x1492b1[_0x4fc6('0x4')],_0x2cc3ca=_0x4182a3[_0x4fc6('0xf')]['selection'],_0x382330=_0x1492b1['plugins'][_0x4fc6('0x1d')](_0x4fc6('0x20')),_0x286046=_0x1492b1[_0x4fc6('0x0')],_0x293e42=_0x1492b1[_0x4fc6('0xa')][_0x4fc6('0x1d')](_0x4fc6('0x29')),_0x4db6ea=_0x1492b1[_0x4fc6('0xa')][_0x4fc6('0x1d')]('pasteFormat');_0x293e42&&_0x4db6ea&&(_0x382330[_0x4fc6('0x26')](_0x4fc6('0x11'),(_0x35fc22,_0x4643e0={})=>{const _0xc2ae8a=_0x4643e0;_0x4182a3[_0x4fc6('0x1')](()=>{const _0xa42efa=Array['from'](_0x2cc3ca[_0x4fc6('0x2f')]()),_0xaa5b59=_0x2cc3ca[_0x4fc6('0x7')]?[ro(_0x4182a3,_0x2cc3ca)]:_0xa42efa,_0x2ea867=!!_0x3d86cd(function*(_0x4cdca4,_0x2a5864){const _0x2b4bda=_0x5bf91a=>!!_0x3d86cd(function*(_0x29b6f5,_0x35765b){for(const [_0x904dfb]of _0x29b6f5[_0x4fc6('0x1c')]()){const _0x7c5038=_0x35765b['getAttributeProperties'](_0x904dfb);_0x7c5038&&_0x7c5038[_0x4fc6('0x28')]&&(yield _0x904dfb);}}(_0x5bf91a,_0x2a5864));for(const _0x4474c8 of _0x4cdca4[_0x4fc6('0x2f')]())for(const _0x176e13 of _0x4474c8[_0x4fc6('0x2a')]())!_0x2a5864[_0x4fc6('0x22')](_0x176e13)&&_0x2b4bda(_0x176e13)&&(yield _0x176e13);for(const _0x36fdab of _0x4cdca4['getSelectedBlocks']())_0x2b4bda(_0x36fdab)&&(yield _0x36fdab);_0x2b4bda(_0x4cdca4)&&(yield _0x4cdca4);}(_0x2cc3ca,_0x4182a3[_0x4fc6('0x1f')]));if(_0x2ea867||0x0!==Object[_0x4fc6('0x3')](_0xc2ae8a)[_0x4fc6('0x23')])for(const _0x2e983e of _0xaa5b59)_0x382330[_0x4fc6('0x27')](_0x2e983e,{'commandName':_0x4fc6('0x11'),'commandParams':[_0xc2ae8a]});});}),_0x382330[_0x4fc6('0x2e')][_0x4fc6('0x6')](_0x2ef321=>{const {data:_0xc38f}=_0x2ef321;if(_0xc38f&&_0x4fc6('0x11')===_0xc38f[_0x4fc6('0x15')]){const _0x30708c=[],_0x239b55=_0xc38f[_0x4fc6('0x1b')][0x0];for(const [_0x1499db,_0x29c785]of Object[_0x4fc6('0x16')](_0x239b55))_0x30708c[_0x4fc6('0x2c')](no(_0x1492b1,_0x1499db,_0x29c785));return _0x30708c[_0x4fc6('0x23')]?{'type':_0x4fc6('0x19'),'content':_0x4514f1(_0x286046,_0x4fc6('0xd'),_0x30708c[_0x4fc6('0x9')](',\x20'))}:{'type':'format','content':_0x4514f1(_0x286046,_0x4fc6('0x8'))};}}),_0x1492b1[_0x4fc6('0x14')]['get']('TrackChangesEditing')[_0x4fc6('0x26')]('copyFormat'));}}function ro(_0x43af00,_0x32c53e){const _0x248429=_0x43af00[_0x4fc6('0x17')](_0x32c53e);_0x43af00[_0x4fc6('0xe')](_0x248429,{'unit':_0x4fc6('0x1e'),'direction':_0x4fc6('0x12')});const _0x566293=_0x248429[_0x4fc6('0x1a')]();_0x43af00['modifySelection'](_0x248429,{'unit':_0x4fc6('0x1e'),'direction':_0x4fc6('0x21')});const _0x28098c=_0x248429[_0x4fc6('0xb')]();return _0x43af00['createRange'](_0x566293,_0x28098c);}function no(_0xd5f9db,_0x15acab,_0x45ccdb){const _0x228f95=_0xd5f9db[_0x4fc6('0x0')]['t'],_0x3adc17=_0x15acab[_0x4fc6('0x2d')](/(?=[A-Z])/)[_0x4fc6('0x9')]('\x20'),_0x2e840b=_0x228f95(_0x3adc17['charAt'](0x0)['toUpperCase']()+_0x3adc17[_0x4fc6('0x24')](0x1))['toLowerCase']();if('boolean'==typeof _0x45ccdb)return _0x2e840b;if(_0x4fc6('0x25')===_0x15acab||'fontBackgroundColor'===_0x15acab){const _0x28f458=_0x4f1225(_0xd5f9db['config']['get'](_0x4fc6('0x2b')))['find'](_0x124949=>_0x124949['model']==_0x45ccdb);return _0x2e840b+'\x20('+(_0x28f458?_0x228f95(_0x28f458['label'])['toLowerCase']():_0x45ccdb)+')';}if('fontSize'===_0x15acab&&isNaN(parseFloat(_0x45ccdb))){const _0x21bfaf=_0xd5f9db[_0x4fc6('0x14')][_0x4fc6('0x1d')](_0x4fc6('0xc'))[_0x4fc6('0x13')](_0xd5f9db[_0x4fc6('0x5')][_0x4fc6('0x1d')]('fontSize.options'))[_0x4fc6('0x2')](_0x105b24=>_0x105b24[_0x4fc6('0x4')]==_0x45ccdb);return _0x2e840b+'\x20('+(_0x21bfaf?_0x228f95(_0x21bfaf[_0x4fc6('0x18')])[_0x4fc6('0x10')]():_0x45ccdb)+')';}return _0x2e840b+'\x20('+_0x45ccdb+')';}
23
+ const _0x54c3=['copyFormat','format','getSelectedBlocks','from','_descriptionFactory','config','length','enableCommand','FontSize','createRange','*Set\x20format\x20to:*\x20%0','model','fontSize','plugins','isFormatting','get','getRanges','commands','*Remove\x20all\x20formatting*','backward','commandName','commandParams','selection','find','join','TrackChangesEditing','split','toUpperCase','fontColor','document','getLastPosition','schema','title','entries','push','modifySelection','toLowerCase','getAttributes','normalizeSizeOptions','keys','forward','pasteFormat','word','isCollapsed','getItems','isBlock','afterInit','editor','getAttributeProperties','fontBackgroundColor','label','fontSize.options'];(function(_0x5e87b4,_0x54c30d){const _0x17f19b=function(_0xf0b424){while(--_0xf0b424){_0x5e87b4['push'](_0x5e87b4['shift']());}};_0x17f19b(++_0x54c30d);}(_0x54c3,0x1f1));const _0x17f1=function(_0x5e87b4,_0x54c30d){_0x5e87b4=_0x5e87b4-0x0;let _0x17f19b=_0x54c3[_0x5e87b4];return _0x17f19b;};import{Plugin as _0x40a02c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x27d6ca}from'ckeditor5/src/ui';import{first as _0x527e65}from'ckeditor5/src/utils';import{getTranslation as _0x34926e}from'../utils/common-translations';export default class W extends _0x40a02c{[_0x17f1('0x11')](){const _0x30f9b0=this[_0x17f1('0x12')],_0xdd25bf=_0x30f9b0[_0x17f1('0x22')],_0x3650fb=_0xdd25bf[_0x17f1('0x0')][_0x17f1('0x2d')],_0x1f2659=_0x30f9b0[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x30')),_0x2b6c47=_0x30f9b0['locale'],_0x2cd079=_0x30f9b0[_0x17f1('0x28')][_0x17f1('0x26')]('copyFormat'),_0x2a9d52=_0x30f9b0[_0x17f1('0x28')][_0x17f1('0x26')](_0x17f1('0xc'));_0x2cd079&&_0x2a9d52&&(_0x1f2659[_0x17f1('0x1e')](_0x17f1('0xc'),(_0x170aaf,_0x5cadc4={})=>{const _0x3d2b4e=_0x5cadc4;_0xdd25bf['change'](()=>{const _0xe64833=Array[_0x17f1('0x1a')](_0x3650fb[_0x17f1('0x27')]()),_0x525189=_0x3650fb[_0x17f1('0xe')]?[ro(_0xdd25bf,_0x3650fb)]:_0xe64833,_0x226a7b=!!_0x527e65(function*(_0x56c4ee,_0x44e1a4){const _0x1282bf=_0x122fb6=>!!_0x527e65(function*(_0xb611a0,_0x64bb41){for(const [_0x442a62]of _0xb611a0[_0x17f1('0x8')]()){const _0x2b1d44=_0x64bb41[_0x17f1('0x13')](_0x442a62);_0x2b1d44&&_0x2b1d44[_0x17f1('0x25')]&&(yield _0x442a62);}}(_0x122fb6,_0x44e1a4));for(const _0x383640 of _0x56c4ee[_0x17f1('0x27')]())for(const _0x54fd90 of _0x383640[_0x17f1('0xf')]())!_0x44e1a4[_0x17f1('0x10')](_0x54fd90)&&_0x1282bf(_0x54fd90)&&(yield _0x54fd90);for(const _0x365d8a of _0x56c4ee[_0x17f1('0x19')]())_0x1282bf(_0x365d8a)&&(yield _0x365d8a);_0x1282bf(_0x56c4ee)&&(yield _0x56c4ee);}(_0x3650fb,_0xdd25bf[_0x17f1('0x2')]));if(_0x226a7b||0x0!==Object[_0x17f1('0xa')](_0x3d2b4e)[_0x17f1('0x1d')])for(const _0x45b444 of _0x525189)_0x1f2659['markInlineFormat'](_0x45b444,{'commandName':_0x17f1('0xc'),'commandParams':[_0x3d2b4e]});});}),_0x1f2659[_0x17f1('0x1b')]['registerDescriptionCallback'](_0x3f5d1e=>{const {data:_0x42785a}=_0x3f5d1e;if(_0x42785a&&_0x17f1('0xc')===_0x42785a[_0x17f1('0x2b')]){const _0x28e49b=[],_0x254edf=_0x42785a[_0x17f1('0x2c')][0x0];for(const [_0x3c921d,_0x58a57e]of Object[_0x17f1('0x4')](_0x254edf))_0x28e49b[_0x17f1('0x5')](no(_0x30f9b0,_0x3c921d,_0x58a57e));return _0x28e49b[_0x17f1('0x1d')]?{'type':'format','content':_0x34926e(_0x2b6c47,_0x17f1('0x21'),_0x28e49b[_0x17f1('0x2f')](',\x20'))}:{'type':_0x17f1('0x18'),'content':_0x34926e(_0x2b6c47,_0x17f1('0x29'))};}}),_0x30f9b0[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x30'))[_0x17f1('0x1e')](_0x17f1('0x17')));}}function ro(_0x4290f9,_0x380196){const _0x5b0fc7=_0x4290f9['createSelection'](_0x380196);_0x4290f9[_0x17f1('0x6')](_0x5b0fc7,{'unit':'word','direction':_0x17f1('0x2a')});const _0x30523f=_0x5b0fc7['getFirstPosition']();_0x4290f9[_0x17f1('0x6')](_0x5b0fc7,{'unit':_0x17f1('0xd'),'direction':_0x17f1('0xb')});const _0x3db5db=_0x5b0fc7[_0x17f1('0x1')]();return _0x4290f9[_0x17f1('0x20')](_0x30523f,_0x3db5db);}function no(_0x59b53c,_0x17ebee,_0x2355a3){const _0x3c633e=_0x59b53c['locale']['t'],_0x247b16=_0x17ebee[_0x17f1('0x31')](/(?=[A-Z])/)['join']('\x20'),_0x22c7fc=_0x3c633e(_0x247b16['charAt'](0x0)[_0x17f1('0x32')]()+_0x247b16['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x2355a3)return _0x22c7fc;if(_0x17f1('0x33')===_0x17ebee||_0x17f1('0x14')===_0x17ebee){const _0x299a0c=_0x27d6ca(_0x59b53c[_0x17f1('0x1c')][_0x17f1('0x26')]('fontColor.colors'))[_0x17f1('0x2e')](_0x4971aa=>_0x4971aa['model']==_0x2355a3);return _0x22c7fc+'\x20('+(_0x299a0c?_0x3c633e(_0x299a0c[_0x17f1('0x15')])[_0x17f1('0x7')]():_0x2355a3)+')';}if(_0x17f1('0x23')===_0x17ebee&&isNaN(parseFloat(_0x2355a3))){const _0x48040c=_0x59b53c[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x1f'))[_0x17f1('0x9')](_0x59b53c['config'][_0x17f1('0x26')](_0x17f1('0x16')))[_0x17f1('0x2e')](_0x15685c=>_0x15685c[_0x17f1('0x22')]==_0x2355a3);return _0x22c7fc+'\x20('+(_0x48040c?_0x3c633e(_0x48040c[_0x17f1('0x3')])[_0x17f1('0x7')]():_0x2355a3)+')';}return _0x22c7fc+'\x20('+_0x2355a3+')';}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/heading
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-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 _0x4ff2=['parent','*Change\x20to:*\x20%0','has','change','afterInit','document','getSelectedBlocks','title','match','find','locale','ELEMENT_HEADING','format','_descriptionFactory','plugins','schema','paragraph','value','registerDescriptionCallback','TrackChangesEditing','config','HeadingEditing','commandParams','blockName','ELEMENT_HEADING_CUSTOM','model','from','editor','heading','get','isObject','registerElementLabel'];(function(_0x11940b,_0x4ff22a){const _0x1160ec=function(_0x35a86f){while(--_0x35a86f){_0x11940b['push'](_0x11940b['shift']());}};_0x1160ec(++_0x4ff22a);}(_0x4ff2,0xad));const _0x1160=function(_0x11940b,_0x4ff22a){_0x11940b=_0x11940b-0x0;let _0x1160ec=_0x4ff2[_0x11940b];return _0x1160ec;};import{Plugin as _0x15c997}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x503574}from'./utils';import{getTranslation as _0x33a400}from'../utils/common-translations';export default class J extends _0x15c997{[_0x1160('0x17')](){const _0xec400a=this[_0x1160('0xe')],_0x55b314=_0xec400a[_0x1160('0x1d')],_0x1106f8=_0xec400a[_0x1160('0x7')][_0x1160('0x10')]('heading.options');if(!_0xec400a[_0x1160('0x1')][_0x1160('0x15')](_0x1160('0x8')))return;const _0x317d8b=_0xec400a[_0x1160('0x1')][_0x1160('0x10')](_0x1160('0x6'));_0x317d8b['enableCommand'](_0x1160('0xf'),(_0x40b05c,_0x5bce17)=>{const _0x218424=_0x5bce17[_0x1160('0x4')],_0x149f46=Array[_0x1160('0xd')](this[_0x1160('0xe')][_0x1160('0xc')][_0x1160('0x18')]['selection'][_0x1160('0x19')]())['filter'](_0x20d8df=>function(_0x472d21,_0x2be638,_0x1c02d2){return _0x1c02d2['checkChild'](_0x472d21[_0x1160('0x13')],_0x2be638)&&!_0x1c02d2[_0x1160('0x11')](_0x472d21)&&_0x472d21['name']!=_0x2be638;}(_0x20d8df,_0x218424,this['editor'][_0x1160('0xc')][_0x1160('0x2')]));_0xec400a['model'][_0x1160('0x16')](()=>{for(const _0x3d386c of _0x149f46)_0x317d8b['markBlockFormat'](_0x3d386c,{'commandName':_0x1160('0xf'),'commandParams':[_0x5bce17],'formatGroupId':_0x1160('0xa')},_0x503574(_0x3d386c));});});for(const _0x2ff2e8 of _0x1106f8)_0x1160('0x3')!=_0x2ff2e8['model']&&_0x317d8b[_0x1160('0x0')][_0x1160('0x12')](_0x2ff2e8['model'],_0x4c0afd=>{const _0x486e2e=nn(_0x2ff2e8['model']);return null!==_0x486e2e?_0x34de8d(_0x4c0afd,_0x486e2e):_0x310801(_0x4c0afd,_0x2ff2e8[_0x1160('0x1a')]);});function _0x34de8d(_0x11e41a,_0x302ed0){return _0x33a400(_0x55b314,_0x1160('0x1e'),[_0x11e41a,_0x302ed0]);}function _0x310801(_0x1111b4,_0x2b2490){return _0x33a400(_0x55b314,_0x1160('0xb'),[_0x1111b4,_0x2b2490]);}_0x317d8b[_0x1160('0x0')][_0x1160('0x5')](_0x10767c=>{const {type:_0x248ebe,data:_0x4b2f8a}=_0x10767c;if('formatBlock'==_0x248ebe&&_0x4b2f8a&&_0x1160('0xf')==_0x4b2f8a['commandName']){const _0x4cd76a=_0x4b2f8a[_0x1160('0x9')][0x0][_0x1160('0x4')],_0xcaa87c=nn(_0x4cd76a);if(null!==_0xcaa87c)return{'type':_0x1160('0x1f'),'content':_0x33a400(_0x55b314,'*Change\x20to:*\x20%0',_0x34de8d(0x1,_0xcaa87c))};const _0x595840=_0x1106f8[_0x1160('0x1c')](_0x18f9d9=>_0x18f9d9[_0x1160('0xc')]===_0x4cd76a)[_0x1160('0x1a')];return{'type':_0x1160('0x1f'),'content':_0x33a400(_0x55b314,_0x1160('0x14'),_0x310801(0x1,_0x595840))};}});}}function nn(_0x25ef65){const _0x1df79d=_0x25ef65[_0x1160('0x1b')](/^heading(\d+)$/);return _0x1df79d?_0x1df79d[0x1]:null;}
23
+ const _0x159d=['heading.options','getSelectedBlocks','commandName','format','document','ELEMENT_HEADING_CUSTOM','registerDescriptionCallback','model','selection','plugins','*Change\x20to:*\x20%0','name','get','heading','blockName','schema','match','filter','formatBlock','value','HeadingEditing','_descriptionFactory','from','config','ELEMENT_HEADING','afterInit','isObject','TrackChangesEditing','title'];(function(_0x48a097,_0x159ddd){const _0x1a7eaa=function(_0x1f383a){while(--_0x1f383a){_0x48a097['push'](_0x48a097['shift']());}};_0x1a7eaa(++_0x159ddd);}(_0x159d,0x195));const _0x1a7e=function(_0x48a097,_0x159ddd){_0x48a097=_0x48a097-0x0;let _0x1a7eaa=_0x159d[_0x48a097];return _0x1a7eaa;};import{Plugin as _0x4e272a}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4e8db5}from'./utils';import{getTranslation as _0x583614}from'../utils/common-translations';export default class J extends _0x4e272a{[_0x1a7e('0x1a')](){const _0x4ff8de=this['editor'],_0x3d7e35=_0x4ff8de['locale'],_0x3b0e63=_0x4ff8de[_0x1a7e('0x18')][_0x1a7e('0xd')](_0x1a7e('0x1'));if(!_0x4ff8de[_0x1a7e('0xa')]['has'](_0x1a7e('0x15')))return;const _0x4fa839=_0x4ff8de['plugins'][_0x1a7e('0xd')](_0x1a7e('0x1c'));_0x4fa839['enableCommand'](_0x1a7e('0xe'),(_0x22b3f5,_0x563c34)=>{const _0x57e402=_0x563c34[_0x1a7e('0x14')],_0x4ed968=Array[_0x1a7e('0x17')](this['editor']['model'][_0x1a7e('0x5')][_0x1a7e('0x9')][_0x1a7e('0x2')]())[_0x1a7e('0x12')](_0x2c10c9=>function(_0x40f6f2,_0x39128a,_0xca5337){return _0xca5337['checkChild'](_0x40f6f2['parent'],_0x39128a)&&!_0xca5337[_0x1a7e('0x1b')](_0x40f6f2)&&_0x40f6f2[_0x1a7e('0xc')]!=_0x39128a;}(_0x2c10c9,_0x57e402,this['editor'][_0x1a7e('0x8')][_0x1a7e('0x10')]));_0x4ff8de[_0x1a7e('0x8')]['change'](()=>{for(const _0x4b6f35 of _0x4ed968)_0x4fa839['markBlockFormat'](_0x4b6f35,{'commandName':_0x1a7e('0xe'),'commandParams':[_0x563c34],'formatGroupId':_0x1a7e('0xf')},_0x4e8db5(_0x4b6f35));});});for(const _0x53d172 of _0x3b0e63)'paragraph'!=_0x53d172[_0x1a7e('0x8')]&&_0x4fa839[_0x1a7e('0x16')]['registerElementLabel'](_0x53d172[_0x1a7e('0x8')],_0x1929b0=>{const _0x5696bf=nn(_0x53d172[_0x1a7e('0x8')]);return null!==_0x5696bf?_0x172dd4(_0x1929b0,_0x5696bf):_0x540c1a(_0x1929b0,_0x53d172[_0x1a7e('0x0')]);});function _0x172dd4(_0x24342f,_0x57090f){return _0x583614(_0x3d7e35,_0x1a7e('0x19'),[_0x24342f,_0x57090f]);}function _0x540c1a(_0x2dc3bb,_0x37525b){return _0x583614(_0x3d7e35,_0x1a7e('0x6'),[_0x2dc3bb,_0x37525b]);}_0x4fa839[_0x1a7e('0x16')][_0x1a7e('0x7')](_0x5057b4=>{const {type:_0x348990,data:_0x2bb031}=_0x5057b4;if(_0x1a7e('0x13')==_0x348990&&_0x2bb031&&_0x1a7e('0xe')==_0x2bb031[_0x1a7e('0x3')]){const _0x3f581d=_0x2bb031['commandParams'][0x0]['value'],_0x6f642f=nn(_0x3f581d);if(null!==_0x6f642f)return{'type':_0x1a7e('0x4'),'content':_0x583614(_0x3d7e35,_0x1a7e('0xb'),_0x172dd4(0x1,_0x6f642f))};const _0x3f08de=_0x3b0e63['find'](_0x9c06a=>_0x9c06a[_0x1a7e('0x8')]===_0x3f581d)[_0x1a7e('0x0')];return{'type':_0x1a7e('0x4'),'content':_0x583614(_0x3d7e35,_0x1a7e('0xb'),_0x540c1a(0x1,_0x3f08de))};}});}}function nn(_0x1843bb){const _0x476818=_0x1843bb[_0x1a7e('0x11')](/^heading(\d+)$/);return _0x476818?_0x476818[0x1]:null;}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/highlight
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-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 _0x4427=['title','TrackChangesEditing','locale','config','getAttribute','format','selection','createRange','color','change','document','push','FORMAT_HIGHLIGHT','highlight','item','value','isCollapsed','backward','commandName','getLastMatchingPosition','markInlineFormat','_descriptionFactory','get','has','HighlightEditing','enableCommand','formatInline','afterInit','getFirstPosition','model','registerDescriptionCallback','commandParams','plugins'];(function(_0x4ac130,_0x4427b9){const _0x240b0e=function(_0xc7735c){while(--_0xc7735c){_0x4ac130['push'](_0x4ac130['shift']());}};_0x240b0e(++_0x4427b9);}(_0x4427,0x19e));const _0x240b=function(_0x4ac130,_0x4427b9){_0x4ac130=_0x4ac130-0x0;let _0x240b0e=_0x4427[_0x4ac130];return _0x240b0e;};import{Plugin as _0x1d949}from'ckeditor5/src/core';import{getTranslation as _0x5dea19}from'../utils/common-translations';import{getRangesWithAttribute as _0x370f69}from'./utils';export default class K extends _0x1d949{[_0x240b('0x9')](){const _0x171939=this['editor'];if(!_0x171939[_0x240b('0xe')][_0x240b('0x5')](_0x240b('0x6')))return;const _0x5a55f5=_0x171939[_0x240b('0xe')][_0x240b('0x4')](_0x240b('0x10'));_0x5a55f5[_0x240b('0x7')](_0x240b('0x1c'),(_0x212f47,_0x5defac={})=>{const _0x480f1b=_0x171939[_0x240b('0xb')][_0x240b('0x19')][_0x240b('0x15')],_0x237a71=_0x480f1b[_0x240b('0x13')](_0x240b('0x1c'));let _0x2e7531=_0x5defac['value'],_0x33da86=[];if(_0x480f1b[_0x240b('0x1f')]){const _0x33ca64=_0x480f1b[_0x240b('0xa')]();if(!_0x480f1b['hasAttribute']('highlight'))return void _0x212f47(_0x5defac);{const _0x382a4d=_0x2ba4cf=>_0x2ba4cf[_0x240b('0x1d')][_0x240b('0x13')]('highlight')===_0x237a71,_0x1becfa=_0x33ca64[_0x240b('0x1')](_0x382a4d,{'direction':_0x240b('0x20')}),_0x5dd336=_0x33ca64[_0x240b('0x1')](_0x382a4d);_0x33da86=[_0x171939[_0x240b('0xb')][_0x240b('0x16')](_0x1becfa,_0x5dd336)],_0x2e7531==_0x237a71&&(_0x2e7531=null);}}else for(const _0x48407b of _0x480f1b['getRanges']())_0x2e7531?_0x33da86[_0x240b('0x1a')](_0x48407b):_0x33da86[_0x240b('0x1a')](..._0x370f69(_0x240b('0x1c'),_0x48407b,_0x171939[_0x240b('0xb')]));_0x171939[_0x240b('0xb')][_0x240b('0x18')](()=>{for(const _0x38b56f of _0x33da86)_0x5a55f5[_0x240b('0x2')](_0x38b56f,{'commandName':_0x240b('0x1c'),'commandParams':[{'value':_0x2e7531}]});});});const _0x1b6bf4=_0x171939[_0x240b('0x11')];_0x5a55f5[_0x240b('0x3')][_0x240b('0xc')](_0x4f8226=>{const {type:_0xa5f950,data:_0x52e748}=_0x4f8226;if(_0x240b('0x8')==_0xa5f950&&_0x52e748&&_0x240b('0x1c')==_0x52e748[_0x240b('0x0')]){const _0x2bfb5c=_0x1b6bf4['t'],_0x512143=_0x52e748[_0x240b('0xd')][0x0][_0x240b('0x1e')];if(_0x512143){const _0x49836b=_0x171939[_0x240b('0x12')][_0x240b('0x4')]('highlight.options')['find'](_0xe69b6d=>_0xe69b6d[_0x240b('0xb')]==_0x512143),_0x3c63e6=_0x2bfb5c(_0x49836b[_0x240b('0xf')])['toLowerCase']();return{'type':'format','content':_0x5dea19(_0x1b6bf4,'*Set\x20highlight:*\x20%0',_0x3c63e6),'color':{'value':_0x49836b[_0x240b('0x17')],'title':_0x49836b[_0x240b('0xf')]}};}return{'type':_0x240b('0x14'),'content':_0x5dea19(_0x1b6bf4,'*Remove\x20highlight*',_0x5dea19(_0x1b6bf4,_0x240b('0x1b')))};}});}}
23
+ const _0x5050=['value','enableCommand','highlight','getAttribute','config','format','_descriptionFactory','model','selection','getFirstPosition','plugins','formatInline','toLowerCase','has','*Remove\x20highlight*','commandName','item','getRanges','*Set\x20highlight:*\x20%0','backward','TrackChangesEditing','push','get','createRange','isCollapsed','commandParams','color','hasAttribute','afterInit','document','find'];(function(_0x4845e8,_0x5050c4){const _0x116a24=function(_0x491cc9){while(--_0x491cc9){_0x4845e8['push'](_0x4845e8['shift']());}};_0x116a24(++_0x5050c4);}(_0x5050,0x193));const _0x116a=function(_0x4845e8,_0x5050c4){_0x4845e8=_0x4845e8-0x0;let _0x116a24=_0x5050[_0x4845e8];return _0x116a24;};import{Plugin as _0x34c879}from'ckeditor5/src/core';import{getTranslation as _0x282ecf}from'../utils/common-translations';import{getRangesWithAttribute as _0x52ef01}from'./utils';export default class K extends _0x34c879{[_0x116a('0x1c')](){const _0x4c3ef8=this['editor'];if(!_0x4c3ef8[_0x116a('0xa')][_0x116a('0xd')]('HighlightEditing'))return;const _0x413d5b=_0x4c3ef8[_0x116a('0xa')][_0x116a('0x16')](_0x116a('0x14'));_0x413d5b[_0x116a('0x1')](_0x116a('0x2'),(_0x169015,_0x4d7774={})=>{const _0x726bc9=_0x4c3ef8['model'][_0x116a('0x1d')][_0x116a('0x8')],_0x1bdd13=_0x726bc9[_0x116a('0x3')]('highlight');let _0x4918bc=_0x4d7774[_0x116a('0x0')],_0x98c8a5=[];if(_0x726bc9[_0x116a('0x18')]){const _0x159f44=_0x726bc9[_0x116a('0x9')]();if(!_0x726bc9[_0x116a('0x1b')](_0x116a('0x2')))return void _0x169015(_0x4d7774);{const _0x203d32=_0x5a8c2f=>_0x5a8c2f[_0x116a('0x10')]['getAttribute'](_0x116a('0x2'))===_0x1bdd13,_0x51f1ca=_0x159f44['getLastMatchingPosition'](_0x203d32,{'direction':_0x116a('0x13')}),_0x33af67=_0x159f44['getLastMatchingPosition'](_0x203d32);_0x98c8a5=[_0x4c3ef8[_0x116a('0x7')][_0x116a('0x17')](_0x51f1ca,_0x33af67)],_0x4918bc==_0x1bdd13&&(_0x4918bc=null);}}else for(const _0x493645 of _0x726bc9[_0x116a('0x11')]())_0x4918bc?_0x98c8a5['push'](_0x493645):_0x98c8a5[_0x116a('0x15')](..._0x52ef01(_0x116a('0x2'),_0x493645,_0x4c3ef8['model']));_0x4c3ef8[_0x116a('0x7')]['change'](()=>{for(const _0x10409d of _0x98c8a5)_0x413d5b['markInlineFormat'](_0x10409d,{'commandName':'highlight','commandParams':[{'value':_0x4918bc}]});});});const _0x3f099a=_0x4c3ef8['locale'];_0x413d5b[_0x116a('0x6')]['registerDescriptionCallback'](_0x3d71f8=>{const {type:_0x4b05e4,data:_0x4e1ad0}=_0x3d71f8;if(_0x116a('0xb')==_0x4b05e4&&_0x4e1ad0&&_0x116a('0x2')==_0x4e1ad0[_0x116a('0xf')]){const _0x145d46=_0x3f099a['t'],_0x5a2bdd=_0x4e1ad0[_0x116a('0x19')][0x0][_0x116a('0x0')];if(_0x5a2bdd){const _0x59ad56=_0x4c3ef8[_0x116a('0x4')][_0x116a('0x16')]('highlight.options')[_0x116a('0x1e')](_0xdb9e8b=>_0xdb9e8b['model']==_0x5a2bdd),_0x51ac69=_0x145d46(_0x59ad56['title'])[_0x116a('0xc')]();return{'type':_0x116a('0x5'),'content':_0x282ecf(_0x3f099a,_0x116a('0x12'),_0x51ac69),'color':{'value':_0x59ad56[_0x116a('0x1a')],'title':_0x59ad56['title']}};}return{'type':_0x116a('0x5'),'content':_0x282ecf(_0x3f099a,_0x116a('0xe'),_0x282ecf(_0x3f099a,'FORMAT_HIGHLIGHT'))};}});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/horizontalline
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-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 _0x326c=['createPositionAt','ck-horizontal-line','elementToStructure','plugins','HorizontalLineEditing','div','registerElementLabel','horizontalLine','afterInit','_descriptionFactory','locale','createEmptyElement','showSuggestionHighlights','enableCommand','addClass','createContainerElement','ELEMENT_HORIZONTAL_LINE','get','editor','TrackChangesEditing'];(function(_0x200967,_0x326cf8){const _0x29dc5c=function(_0x3a6d19){while(--_0x3a6d19){_0x200967['push'](_0x200967['shift']());}};_0x29dc5c(++_0x326cf8);}(_0x326c,0xea));const _0x29dc=function(_0x200967,_0x326cf8){_0x200967=_0x200967-0x0;let _0x29dc5c=_0x326c[_0x200967];return _0x29dc5c;};import{Plugin as _0x384275}from'ckeditor5/src/core';import{getTranslation as _0x7a36c2}from'../utils/common-translations';export default class Q extends _0x384275{[_0x29dc('0xe')](){const _0x16f19c=this[_0x29dc('0x4')];if(!_0x16f19c[_0x29dc('0x9')]['has'](_0x29dc('0xa')))return;_0x16f19c[_0x29dc('0x9')]['get'](_0x29dc('0x5'))[_0x29dc('0x13')](_0x29dc('0xd'));const _0x36b336=_0x16f19c[_0x29dc('0x9')][_0x29dc('0x3')](_0x29dc('0x5')),_0x16ca04=_0x16f19c[_0x29dc('0x10')];_0x36b336[_0x29dc('0xf')][_0x29dc('0xc')](_0x29dc('0xd'),_0x22f705=>_0x7a36c2(_0x16ca04,_0x29dc('0x2'),_0x22f705)),_0x16f19c['conversion']['for']('dataDowncast')[_0x29dc('0x8')]({'model':_0x29dc('0xd'),'view':(_0x47de95,{writer:_0x279c99,options:_0x19193c})=>{if(!_0x19193c[_0x29dc('0x12')])return null;const _0x5ec79d=_0x279c99[_0x29dc('0x1')](_0x29dc('0xb')),_0x273d08=_0x279c99[_0x29dc('0x11')]('hr');return _0x279c99[_0x29dc('0x0')](_0x29dc('0x7'),_0x5ec79d),_0x279c99['insert'](_0x279c99[_0x29dc('0x6')](_0x5ec79d,0x0),_0x273d08),_0x5ec79d;},'converterPriority':'high'});}}
23
+ const _0x330d=['enableCommand','createPositionAt','insert','dataDowncast','ELEMENT_HORIZONTAL_LINE','has','afterInit','showSuggestionHighlights','conversion','elementToStructure','plugins','addClass','_descriptionFactory','get','ck-horizontal-line','createEmptyElement','for','editor','horizontalLine','registerElementLabel','high','TrackChangesEditing','locale','createContainerElement'];(function(_0x112e15,_0x330dda){const _0x44c31d=function(_0x4e2492){while(--_0x4e2492){_0x112e15['push'](_0x112e15['shift']());}};_0x44c31d(++_0x330dda);}(_0x330d,0xac));const _0x44c3=function(_0x112e15,_0x330dda){_0x112e15=_0x112e15-0x0;let _0x44c31d=_0x330d[_0x112e15];return _0x44c31d;};import{Plugin as _0x4d48a7}from'ckeditor5/src/core';import{getTranslation as _0x2113ce}from'../utils/common-translations';export default class Q extends _0x4d48a7{[_0x44c3('0x2')](){const _0x2bc187=this[_0x44c3('0xd')];if(!_0x2bc187[_0x44c3('0x6')][_0x44c3('0x1')]('HorizontalLineEditing'))return;_0x2bc187[_0x44c3('0x6')][_0x44c3('0x9')](_0x44c3('0x11'))[_0x44c3('0x14')](_0x44c3('0xe'));const _0x3480a7=_0x2bc187[_0x44c3('0x6')]['get']('TrackChangesEditing'),_0x2040d9=_0x2bc187[_0x44c3('0x12')];_0x3480a7[_0x44c3('0x8')][_0x44c3('0xf')](_0x44c3('0xe'),_0x56bc42=>_0x2113ce(_0x2040d9,_0x44c3('0x0'),_0x56bc42)),_0x2bc187[_0x44c3('0x4')][_0x44c3('0xc')](_0x44c3('0x17'))[_0x44c3('0x5')]({'model':_0x44c3('0xe'),'view':(_0x527254,{writer:_0x58fe26,options:_0x22838e})=>{if(!_0x22838e[_0x44c3('0x3')])return null;const _0x6ef35a=_0x58fe26[_0x44c3('0x13')]('div'),_0xe08fdc=_0x58fe26[_0x44c3('0xb')]('hr');return _0x58fe26[_0x44c3('0x7')](_0x44c3('0xa'),_0x6ef35a),_0x58fe26[_0x44c3('0x16')](_0x58fe26[_0x44c3('0x15')](_0x6ef35a,0x0),_0xe08fdc),_0x6ef35a;},'converterPriority':_0x44c3('0x10')});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/htmlembed
3
7
  */