@ckeditor/ckeditor5-track-changes 39.0.1 → 40.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 (185) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +6 -6
  3. package/README.md +14 -14
  4. package/build/track-changes.js +1 -1
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/ca.po +1 -0
  10. package/lang/translations/cs.po +1 -0
  11. package/lang/translations/da.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en.po +1 -0
  16. package/lang/translations/es.po +1 -0
  17. package/lang/translations/et.po +1 -0
  18. package/lang/translations/fi.po +1 -0
  19. package/lang/translations/fr.po +1 -0
  20. package/lang/translations/gl.po +1 -0
  21. package/lang/translations/he.po +1 -0
  22. package/lang/translations/hi.po +1 -0
  23. package/lang/translations/hr.po +1 -0
  24. package/lang/translations/hu.po +1 -0
  25. package/lang/translations/id.po +1 -0
  26. package/lang/translations/it.po +1 -0
  27. package/lang/translations/ja.po +1 -0
  28. package/lang/translations/ko.po +1 -0
  29. package/lang/translations/lt.po +1 -0
  30. package/lang/translations/lv.po +1 -0
  31. package/lang/translations/ms.po +1 -0
  32. package/lang/translations/nl.po +1 -0
  33. package/lang/translations/no.po +1 -0
  34. package/lang/translations/pl.po +1 -0
  35. package/lang/translations/pt-br.po +1 -0
  36. package/lang/translations/pt.po +1 -0
  37. package/lang/translations/ro.po +1 -0
  38. package/lang/translations/ru.po +1 -0
  39. package/lang/translations/sk.po +1 -0
  40. package/lang/translations/sq.po +1 -0
  41. package/lang/translations/sr-latn.po +1 -0
  42. package/lang/translations/sr.po +1 -0
  43. package/lang/translations/sv.po +1 -0
  44. package/lang/translations/th.po +1 -0
  45. package/lang/translations/tk.po +1 -0
  46. package/lang/translations/tr.po +1 -0
  47. package/lang/translations/tt.po +1 -0
  48. package/lang/translations/uk.po +1 -0
  49. package/lang/translations/ur.po +1 -0
  50. package/lang/translations/vi.po +1 -0
  51. package/lang/translations/zh-cn.po +1 -0
  52. package/lang/translations/zh.po +1 -0
  53. package/package.json +3 -7
  54. package/src/augmentation.d.ts +40 -40
  55. package/src/commands/acceptsuggestioncommand.d.ts +24 -24
  56. package/src/commands/acceptsuggestioncommand.js +1 -1
  57. package/src/commands/discardsuggestioncommand.d.ts +24 -24
  58. package/src/commands/discardsuggestioncommand.js +1 -1
  59. package/src/commands/executeonallsuggestionscommand.d.ts +24 -24
  60. package/src/commands/executeonallsuggestionscommand.js +1 -1
  61. package/src/commands/executeonselectedsuggestionscommand.d.ts +24 -24
  62. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  63. package/src/commands/trackchangescommand.d.ts +26 -26
  64. package/src/commands/trackchangescommand.js +1 -1
  65. package/src/index.d.ts +16 -16
  66. package/src/integrations/aiassistant.d.ts +17 -0
  67. package/src/integrations/aiassistant.js +23 -0
  68. package/src/integrations/alignment.d.ts +17 -17
  69. package/src/integrations/alignment.js +1 -1
  70. package/src/integrations/basicstyles.d.ts +17 -17
  71. package/src/integrations/basicstyles.js +1 -1
  72. package/src/integrations/blockquote.d.ts +17 -17
  73. package/src/integrations/blockquote.js +1 -1
  74. package/src/integrations/ckbox.d.ts +17 -17
  75. package/src/integrations/ckbox.js +1 -1
  76. package/src/integrations/codeblock.d.ts +17 -17
  77. package/src/integrations/codeblock.js +1 -1
  78. package/src/integrations/comments.d.ts +14 -14
  79. package/src/integrations/comments.js +1 -1
  80. package/src/integrations/deletecommand.d.ts +17 -17
  81. package/src/integrations/deletecommand.js +1 -1
  82. package/src/integrations/documentlist.d.ts +17 -17
  83. package/src/integrations/documentlist.js +1 -1
  84. package/src/integrations/documentlistproperties.d.ts +29 -29
  85. package/src/integrations/documentlistproperties.js +1 -1
  86. package/src/integrations/entercommand.d.ts +16 -16
  87. package/src/integrations/entercommand.js +1 -1
  88. package/src/integrations/findandreplace.d.ts +21 -21
  89. package/src/integrations/findandreplace.js +1 -1
  90. package/src/integrations/font.d.ts +17 -17
  91. package/src/integrations/font.js +1 -1
  92. package/src/integrations/formatpainter.d.ts +17 -17
  93. package/src/integrations/formatpainter.js +1 -1
  94. package/src/integrations/heading.d.ts +17 -17
  95. package/src/integrations/heading.js +1 -1
  96. package/src/integrations/highlight.d.ts +17 -17
  97. package/src/integrations/highlight.js +1 -1
  98. package/src/integrations/horizontalline.d.ts +17 -17
  99. package/src/integrations/horizontalline.js +1 -1
  100. package/src/integrations/htmlembed.d.ts +17 -17
  101. package/src/integrations/htmlembed.js +1 -1
  102. package/src/integrations/image.d.ts +17 -17
  103. package/src/integrations/image.js +1 -1
  104. package/src/integrations/imagereplace.d.ts +23 -23
  105. package/src/integrations/imagereplace.js +1 -1
  106. package/src/integrations/importword.d.ts +18 -18
  107. package/src/integrations/importword.js +1 -1
  108. package/src/integrations/indent.d.ts +17 -17
  109. package/src/integrations/indent.js +1 -1
  110. package/src/integrations/inputcommand.d.ts +16 -16
  111. package/src/integrations/inputcommand.js +1 -1
  112. package/src/integrations/link.d.ts +17 -17
  113. package/src/integrations/link.js +1 -1
  114. package/src/integrations/list.d.ts +17 -17
  115. package/src/integrations/list.js +1 -1
  116. package/src/integrations/listproperties.d.ts +29 -29
  117. package/src/integrations/listproperties.js +1 -1
  118. package/src/integrations/mediaembed.d.ts +17 -17
  119. package/src/integrations/mediaembed.js +1 -1
  120. package/src/integrations/mention.d.ts +17 -17
  121. package/src/integrations/mention.js +1 -1
  122. package/src/integrations/pagebreak.d.ts +17 -17
  123. package/src/integrations/pagebreak.js +1 -1
  124. package/src/integrations/paragraph.d.ts +17 -17
  125. package/src/integrations/paragraph.js +1 -1
  126. package/src/integrations/removeformat.d.ts +17 -17
  127. package/src/integrations/removeformat.js +1 -1
  128. package/src/integrations/restrictededitingmode.d.ts +17 -17
  129. package/src/integrations/restrictededitingmode.js +1 -1
  130. package/src/integrations/shiftentercommand.d.ts +16 -16
  131. package/src/integrations/shiftentercommand.js +1 -1
  132. package/src/integrations/standardeditingmode.d.ts +17 -17
  133. package/src/integrations/standardeditingmode.js +1 -1
  134. package/src/integrations/style.d.ts +18 -18
  135. package/src/integrations/style.js +1 -1
  136. package/src/integrations/table.d.ts +42 -42
  137. package/src/integrations/table.js +1 -1
  138. package/src/integrations/tablecaption.d.ts +22 -22
  139. package/src/integrations/tablecaption.js +1 -1
  140. package/src/integrations/tableclipboard.d.ts +19 -19
  141. package/src/integrations/tableclipboard.js +1 -1
  142. package/src/integrations/tablecolumnresize.d.ts +26 -26
  143. package/src/integrations/tablecolumnresize.js +1 -1
  144. package/src/integrations/tableheadings.d.ts +22 -22
  145. package/src/integrations/tableheadings.js +1 -1
  146. package/src/integrations/tablemergesplit.d.ts +22 -22
  147. package/src/integrations/tablemergesplit.js +1 -1
  148. package/src/integrations/tableofcontents.d.ts +17 -17
  149. package/src/integrations/tableofcontents.js +1 -1
  150. package/src/integrations/tableproperties.d.ts +27 -27
  151. package/src/integrations/tableproperties.js +1 -1
  152. package/src/integrations/template.d.ts +17 -17
  153. package/src/integrations/template.js +1 -1
  154. package/src/integrations/title.d.ts +17 -17
  155. package/src/integrations/title.js +1 -1
  156. package/src/integrations/undo.d.ts +17 -17
  157. package/src/integrations/undo.js +1 -1
  158. package/src/integrations/utils.d.ts +21 -21
  159. package/src/integrations/utils.js +1 -1
  160. package/src/suggestion.d.ts +276 -276
  161. package/src/suggestion.js +1 -1
  162. package/src/suggestiondescriptionfactory.d.ts +163 -163
  163. package/src/suggestiondescriptionfactory.js +1 -1
  164. package/src/trackchanges.d.ts +244 -244
  165. package/src/trackchanges.js +1 -1
  166. package/src/trackchangesconfig.d.ts +75 -75
  167. package/src/trackchangesdata.d.ts +41 -41
  168. package/src/trackchangesdata.js +1 -1
  169. package/src/trackchangesediting.d.ts +468 -439
  170. package/src/trackchangesediting.js +1 -1
  171. package/src/trackchangesui.d.ts +38 -38
  172. package/src/trackchangesui.js +1 -1
  173. package/src/ui/suggestioncontroller.d.ts +37 -37
  174. package/src/ui/suggestioncontroller.js +1 -1
  175. package/src/ui/view/basesuggestionthreadview.d.ts +170 -170
  176. package/src/ui/view/basesuggestionthreadview.js +1 -1
  177. package/src/ui/view/suggestionthreadview.d.ts +182 -182
  178. package/src/ui/view/suggestionthreadview.js +1 -1
  179. package/src/utils/common-translations.d.ts +9 -9
  180. package/src/utils/common-translations.js +1 -1
  181. package/src/utils/utils.d.ts +30 -30
  182. package/src/utils/utils.js +1 -1
  183. package/theme/icons/track-changes-accept.svg +1 -1
  184. package/theme/icons/track-changes-discard.svg +1 -1
  185. package/theme/icons/track-changes.svg +1 -1
@@ -1,17 +1,17 @@
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
- */
5
- /**
6
- * @module track-changes/integrations/font
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for font features.
11
- */
12
- export default class TrackChangesFont extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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
+ */
5
+ /**
6
+ * @module track-changes/integrations/font
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for font features.
11
+ */
12
+ export default class TrackChangesFont extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd2bd=['document','fontSize','isCollapsed','markInlineFormat','*Set\x20font\x20size:*\x20%0','commandName','afterInit','trim','editor','*Reset\x20font\x20size*','*Reset\x20font\x20color*','enableCommand','FontColorEditing','normalizeSizeOptions','FontSizeEditing','*Set\x20font\x20background\x20color:*\x20%0','from','selection','has','locale','commandParams','*Set\x20font\x20family:*\x20%0','toLowerCase','fontColor.colors','get','config','fontBackgroundColor.colors','title','fontFamily','format','plugins','getRanges','fontColor','TrackChangesEditing','*Set\x20font\x20color:*\x20%0','FontBackgroundColorEditing','model','_enableCommand','value','label','fontBackgroundColor','find'];(function(_0x44718a,_0xd2bd40){const _0x2fd91e=function(_0x1b2af2){while(--_0x1b2af2){_0x44718a['push'](_0x44718a['shift']());}};_0x2fd91e(++_0xd2bd40);}(_0xd2bd,0x183));const _0x2fd9=function(_0x44718a,_0xd2bd40){_0x44718a=_0x44718a-0x0;let _0x2fd91e=_0xd2bd[_0x44718a];return _0x2fd91e;};import{Plugin as _0x1ded07}from'ckeditor5/src/core';import{normalizeColorOptions as _0xa6acb5}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5b4981}from'./utils';import{getTranslation as _0x4842b8}from'../utils/common-translations';const Zt=[{'pluginName':_0x2fd9('0x5'),'commandName':_0x2fd9('0x22')},{'pluginName':'FontFamilyEditing','commandName':_0x2fd9('0x13')},{'pluginName':_0x2fd9('0x3'),'commandName':_0x2fd9('0x17')},{'pluginName':_0x2fd9('0x1a'),'commandName':_0x2fd9('0x1f')}];export default class H extends _0x1ded07{[_0x2fd9('0x27')](){const _0x3a423e=this[_0x2fd9('0x29')][_0x2fd9('0xa')];for(const {pluginName:_0x5a72cb,commandName:_0x49a996}of Zt)this[_0x2fd9('0x29')][_0x2fd9('0x15')][_0x2fd9('0x9')](_0x5a72cb)&&this['_enableCommand'](_0x49a996);this['editor'][_0x2fd9('0x15')][_0x2fd9('0xf')](_0x2fd9('0x18'))['_descriptionFactory']['registerDescriptionCallback'](_0x58746f=>{const _0x446589=_0x3a423e['t'],{data:_0x19155d}=_0x58746f;if(null!=_0x19155d){if(_0x2fd9('0x22')==_0x19155d[_0x2fd9('0x26')]){const _0x106769=_0x19155d[_0x2fd9('0xb')][0x0][_0x2fd9('0x1d')];if(_0x106769){const _0x55f3cf=_0x446589(this[_0x2fd9('0x29')][_0x2fd9('0x15')][_0x2fd9('0xf')]('FontSize')[_0x2fd9('0x4')](this[_0x2fd9('0x29')][_0x2fd9('0x10')][_0x2fd9('0xf')]('fontSize.options'))[_0x2fd9('0x20')](_0x176d31=>_0x176d31['model']==_0x106769)[_0x2fd9('0x12')])[_0x2fd9('0xd')]();return{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,_0x2fd9('0x25'),_0x55f3cf)};}return{'type':'format','content':_0x4842b8(_0x3a423e,_0x2fd9('0x0'))};}if('fontFamily'==_0x19155d[_0x2fd9('0x26')]){const _0x4a7c8d=_0x19155d[_0x2fd9('0xb')][0x0][_0x2fd9('0x1d')];return _0x4a7c8d?{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,_0x2fd9('0xc'),_0x4a7c8d)}:{'type':'format','content':_0x4842b8(_0x3a423e,'*Reset\x20font\x20family*')};}if(_0x2fd9('0x17')==_0x19155d[_0x2fd9('0x26')]){const _0x4e2b3c=_0x19155d[_0x2fd9('0xb')][0x0][_0x2fd9('0x1d')];if(_0x4e2b3c){const _0x46be2b=_0xa6acb5(this[_0x2fd9('0x29')][_0x2fd9('0x10')][_0x2fd9('0xf')](_0x2fd9('0xe')))[_0x2fd9('0x20')](_0x5f51fc=>_0x5f51fc[_0x2fd9('0x1b')]==_0x4e2b3c);let _0x6c2003=_0x4e2b3c,_0xabcafd='';return _0x46be2b&&(_0x6c2003=_0x46be2b['label'],_0xabcafd=_0x446589(_0x6c2003)['toLowerCase']()),{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,_0x2fd9('0x19'),_0xabcafd)[_0x2fd9('0x28')](),'color':{'value':_0x4e2b3c,'title':_0xabcafd||_0x6c2003}};}return{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,_0x2fd9('0x1'))};}if(_0x2fd9('0x1f')==_0x19155d[_0x2fd9('0x26')]){const _0x10d51f=_0x19155d[_0x2fd9('0xb')][0x0][_0x2fd9('0x1d')];if(_0x10d51f){const _0x46d076=_0xa6acb5(this[_0x2fd9('0x29')][_0x2fd9('0x10')]['get'](_0x2fd9('0x11')))['find'](_0x999585=>_0x999585[_0x2fd9('0x1b')]==_0x10d51f);let _0x245ac9=_0x10d51f,_0x22223d='';return _0x46d076&&(_0x245ac9=_0x46d076[_0x2fd9('0x1e')],_0x22223d=_0x446589(_0x245ac9)[_0x2fd9('0xd')]()),{'type':'format','content':_0x4842b8(_0x3a423e,_0x2fd9('0x6'),_0x22223d)[_0x2fd9('0x28')](),'color':{'value':_0x10d51f,'title':_0x22223d||_0x245ac9}};}return{'type':_0x2fd9('0x14'),'content':_0x4842b8(_0x3a423e,'*Reset\x20font\x20background\x20color*')};}}});}[_0x2fd9('0x1c')](_0x804ec5){const _0x305e87=this['editor'];_0x305e87[_0x2fd9('0x15')]['get'](_0x2fd9('0x18'))[_0x2fd9('0x2')](_0x804ec5,(_0x1ee969,_0xb7425c={})=>{const _0x4169b6=_0x305e87[_0x2fd9('0x1b')][_0x2fd9('0x21')][_0x2fd9('0x8')],_0x118489=_0xb7425c[_0x2fd9('0x1d')];_0x4169b6[_0x2fd9('0x23')]?_0x1ee969(_0xb7425c):_0x305e87['model']['change'](()=>{const _0x35e65d=Array[_0x2fd9('0x7')](_0x4169b6[_0x2fd9('0x16')]());for(const _0x389add of _0x35e65d){const _0x4535e6=_0x118489?[_0x389add]:_0x5b4981(_0x804ec5,_0x389add,_0x305e87[_0x2fd9('0x1b')]);for(const _0x3b51a4 of _0x4535e6)_0x305e87[_0x2fd9('0x15')][_0x2fd9('0xf')](_0x2fd9('0x18'))[_0x2fd9('0x24')](_0x3b51a4,{'commandName':_0x804ec5,'commandParams':[{'value':_0x118489}]});}});});}}
23
+ const _0x3bae=['config','enableCommand','trim','fontBackgroundColor','document','has','TrackChangesEditing','toLowerCase','FontFamilyEditing','commandParams','plugins','change','*Reset\x20font\x20background\x20color*','afterInit','label','isCollapsed','fontColor.colors','value','get','normalizeSizeOptions','FontColorEditing','commandName','format','fontSize.options','getRanges','fontFamily','*Set\x20font\x20family:*\x20%0','locale','FontSizeEditing','fontColor','title','find','*Reset\x20font\x20color*','from','*Reset\x20font\x20size*','model','editor','markInlineFormat','*Set\x20font\x20background\x20color:*\x20%0','*Set\x20font\x20size:*\x20%0','_enableCommand','fontSize','registerDescriptionCallback'];(function(_0x5d02bf,_0x3baed1){const _0x3cbc56=function(_0x46298b){while(--_0x46298b){_0x5d02bf['push'](_0x5d02bf['shift']());}};_0x3cbc56(++_0x3baed1);}(_0x3bae,0x1eb));const _0x3cbc=function(_0x5d02bf,_0x3baed1){_0x5d02bf=_0x5d02bf-0x0;let _0x3cbc56=_0x3bae[_0x5d02bf];return _0x3cbc56;};import{Plugin as _0x286b2b}from'ckeditor5/src/core';import{normalizeColorOptions as _0xf0e98a}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x4fc8ae}from'./utils';import{getTranslation as _0x4574e4}from'../utils/common-translations';const eo=[{'pluginName':_0x3cbc('0xa'),'commandName':_0x3cbc('0x17')},{'pluginName':_0x3cbc('0x21'),'commandName':_0x3cbc('0x7')},{'pluginName':_0x3cbc('0x2'),'commandName':_0x3cbc('0xb')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x3cbc('0x1c')}];export default class W extends _0x286b2b{[_0x3cbc('0x26')](){const _0x563d9f=this[_0x3cbc('0x12')][_0x3cbc('0x9')];for(const {pluginName:_0x450b5e,commandName:_0x2417ab}of eo)this[_0x3cbc('0x12')][_0x3cbc('0x23')][_0x3cbc('0x1e')](_0x450b5e)&&this['_enableCommand'](_0x2417ab);this[_0x3cbc('0x12')][_0x3cbc('0x23')][_0x3cbc('0x0')](_0x3cbc('0x1f'))['_descriptionFactory'][_0x3cbc('0x18')](_0x4137f0=>{const _0x5d83bd=_0x563d9f['t'],{data:_0x240d69}=_0x4137f0;if(null!=_0x240d69){if('fontSize'==_0x240d69['commandName']){const _0x40d048=_0x240d69[_0x3cbc('0x22')][0x0]['value'];if(_0x40d048){const _0x14a5ae=_0x5d83bd(this[_0x3cbc('0x12')][_0x3cbc('0x23')]['get']('FontSize')[_0x3cbc('0x1')](this[_0x3cbc('0x12')][_0x3cbc('0x19')][_0x3cbc('0x0')](_0x3cbc('0x5')))['find'](_0x580039=>_0x580039[_0x3cbc('0x11')]==_0x40d048)[_0x3cbc('0xc')])[_0x3cbc('0x20')]();return{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x15'),_0x14a5ae)};}return{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0x10'))};}if('fontFamily'==_0x240d69[_0x3cbc('0x3')]){const _0x1574b8=_0x240d69[_0x3cbc('0x22')][0x0][_0x3cbc('0x2a')];return _0x1574b8?{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x8'),_0x1574b8)}:{'type':'format','content':_0x4574e4(_0x563d9f,'*Reset\x20font\x20family*')};}if('fontColor'==_0x240d69[_0x3cbc('0x3')]){const _0x3bb9ff=_0x240d69[_0x3cbc('0x22')][0x0][_0x3cbc('0x2a')];if(_0x3bb9ff){const _0x33f99e=_0xf0e98a(this[_0x3cbc('0x12')]['config'][_0x3cbc('0x0')](_0x3cbc('0x29')))[_0x3cbc('0xd')](_0x2211ae=>_0x2211ae['model']==_0x3bb9ff);let _0x322ea1=_0x3bb9ff,_0xc74985='';return _0x33f99e&&(_0x322ea1=_0x33f99e[_0x3cbc('0x27')],_0xc74985=_0x5d83bd(_0x322ea1)[_0x3cbc('0x20')]()),{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,'*Set\x20font\x20color:*\x20%0',_0xc74985)['trim'](),'color':{'value':_0x3bb9ff,'title':_0xc74985||_0x322ea1}};}return{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0xe'))};}if('fontBackgroundColor'==_0x240d69[_0x3cbc('0x3')]){const _0x5ebada=_0x240d69[_0x3cbc('0x22')][0x0]['value'];if(_0x5ebada){const _0x504841=_0xf0e98a(this['editor'][_0x3cbc('0x19')][_0x3cbc('0x0')]('fontBackgroundColor.colors'))[_0x3cbc('0xd')](_0x25ac6c=>_0x25ac6c[_0x3cbc('0x11')]==_0x5ebada);let _0x3cd3d6=_0x5ebada,_0x1f2899='';return _0x504841&&(_0x3cd3d6=_0x504841[_0x3cbc('0x27')],_0x1f2899=_0x5d83bd(_0x3cd3d6)[_0x3cbc('0x20')]()),{'type':'format','content':_0x4574e4(_0x563d9f,_0x3cbc('0x14'),_0x1f2899)[_0x3cbc('0x1b')](),'color':{'value':_0x5ebada,'title':_0x1f2899||_0x3cd3d6}};}return{'type':_0x3cbc('0x4'),'content':_0x4574e4(_0x563d9f,_0x3cbc('0x25'))};}}});}[_0x3cbc('0x16')](_0x292f5e){const _0x4b82c7=this[_0x3cbc('0x12')];_0x4b82c7[_0x3cbc('0x23')][_0x3cbc('0x0')](_0x3cbc('0x1f'))[_0x3cbc('0x1a')](_0x292f5e,(_0x2d8488,_0xfbad5e={})=>{const _0x5a5789=_0x4b82c7[_0x3cbc('0x11')][_0x3cbc('0x1d')]['selection'],_0x1e86d3=_0xfbad5e[_0x3cbc('0x2a')];_0x5a5789[_0x3cbc('0x28')]?_0x2d8488(_0xfbad5e):_0x4b82c7['model'][_0x3cbc('0x24')](()=>{const _0x2159bb=Array[_0x3cbc('0xf')](_0x5a5789[_0x3cbc('0x6')]());for(const _0x2d5a49 of _0x2159bb){const _0x3e3ef2=_0x1e86d3?[_0x2d5a49]:_0x4fc8ae(_0x292f5e,_0x2d5a49,_0x4b82c7[_0x3cbc('0x11')]);for(const _0x31cd79 of _0x3e3ef2)_0x4b82c7[_0x3cbc('0x23')][_0x3cbc('0x0')]('TrackChangesEditing')[_0x3cbc('0x13')](_0x31cd79,{'commandName':_0x292f5e,'commandParams':[{'value':_0x1e86d3}]});}});});}}
@@ -1,17 +1,17 @@
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
- */
5
- /**
6
- * @module track-changes/integrations/formatpainter
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for the Format Painter feature.
11
- */
12
- export default class TrackChangesFormatPainter extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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
+ */
5
+ /**
6
+ * @module track-changes/integrations/formatpainter
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for the Format Painter feature.
11
+ */
12
+ export default class TrackChangesFormatPainter extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ced=['getAttributes','TrackChangesEditing','format','from','keys','isCollapsed','createRange','*Set\x20format\x20to:*\x20%0','get','toUpperCase','isFormatting','locale','commandName','plugins','backward','commands','modifySelection','find','markInlineFormat','length','slice','change','isBlock','getFirstPosition','selection','split','fontSize.options','pasteFormat','editor','fontBackgroundColor','fontSize','model','title','FontSize','schema','getRanges','getItems','fontColor','fontColor.colors','join','getLastPosition','config','getSelectedBlocks','_descriptionFactory','afterInit','forward','*Remove\x20all\x20formatting*','toLowerCase','commandParams','copyFormat','enableCommand','registerDescriptionCallback','getAttributeProperties','entries'];(function(_0x150575,_0x1cede0){const _0x45f82c=function(_0x32e555){while(--_0x32e555){_0x150575['push'](_0x150575['shift']());}};_0x45f82c(++_0x1cede0);}(_0x1ced,0xbc));const _0x45f8=function(_0x150575,_0x1cede0){_0x150575=_0x150575-0x0;let _0x45f82c=_0x1ced[_0x150575];return _0x45f82c;};import{Plugin as _0x364147}from'ckeditor5/src/core';import{normalizeColorOptions as _0x468e23}from'ckeditor5/src/ui';import{first as _0x3ede4e}from'ckeditor5/src/utils';import{getTranslation as _0x18c161}from'../utils/common-translations';export default class W extends _0x364147{[_0x45f8('0x12')](){const _0x38abfb=this[_0x45f8('0x2')],_0xa05271=_0x38abfb[_0x45f8('0x5')],_0x33f722=_0xa05271['document'][_0x45f8('0x34')],_0x158362=_0x38abfb[_0x45f8('0x29')][_0x45f8('0x24')](_0x45f8('0x1d')),_0x3694a9=_0x38abfb['locale'],_0x414659=_0x38abfb[_0x45f8('0x2b')][_0x45f8('0x24')](_0x45f8('0x17')),_0x44f1f3=_0x38abfb[_0x45f8('0x2b')][_0x45f8('0x24')]('pasteFormat');_0x414659&&_0x44f1f3&&(_0x158362[_0x45f8('0x18')](_0x45f8('0x1'),(_0x5b2bc1,_0x52ef37={})=>{const _0x248036=_0x52ef37;_0xa05271[_0x45f8('0x31')](()=>{const _0x6abcea=Array[_0x45f8('0x1f')](_0x33f722[_0x45f8('0x9')]()),_0x50d7cb=_0x33f722[_0x45f8('0x21')]?[no(_0xa05271,_0x33f722)]:_0x6abcea,_0x2099c3=!!_0x3ede4e(function*(_0x367cbd,_0x2b175c){const _0x586c41=_0x20d919=>!!_0x3ede4e(function*(_0x9c45ae,_0x70e881){for(const [_0x11886b]of _0x9c45ae[_0x45f8('0x1c')]()){const _0x258a65=_0x70e881[_0x45f8('0x1a')](_0x11886b);_0x258a65&&_0x258a65[_0x45f8('0x26')]&&(yield _0x11886b);}}(_0x20d919,_0x2b175c));for(const _0x2c5de9 of _0x367cbd['getRanges']())for(const _0xa6f5d2 of _0x2c5de9[_0x45f8('0xa')]())!_0x2b175c[_0x45f8('0x32')](_0xa6f5d2)&&_0x586c41(_0xa6f5d2)&&(yield _0xa6f5d2);for(const _0x3079fd of _0x367cbd[_0x45f8('0x10')]())_0x586c41(_0x3079fd)&&(yield _0x3079fd);_0x586c41(_0x367cbd)&&(yield _0x367cbd);}(_0x33f722,_0xa05271[_0x45f8('0x8')]));if(_0x2099c3||0x0!==Object[_0x45f8('0x20')](_0x248036)[_0x45f8('0x2f')])for(const _0x1f3d0f of _0x50d7cb)_0x158362[_0x45f8('0x2e')](_0x1f3d0f,{'commandName':_0x45f8('0x1'),'commandParams':[_0x248036]});});}),_0x158362[_0x45f8('0x11')][_0x45f8('0x19')](_0x4281be=>{const {data:_0x905f08}=_0x4281be;if(_0x905f08&&_0x45f8('0x1')===_0x905f08[_0x45f8('0x28')]){const _0x4520a2=[],_0x2d55ed=_0x905f08[_0x45f8('0x16')][0x0];for(const [_0x599153,_0x176f2d]of Object[_0x45f8('0x1b')](_0x2d55ed))_0x4520a2['push'](co(_0x38abfb,_0x599153,_0x176f2d));return _0x4520a2['length']?{'type':_0x45f8('0x1e'),'content':_0x18c161(_0x3694a9,_0x45f8('0x23'),_0x4520a2[_0x45f8('0xd')](',\x20'))}:{'type':_0x45f8('0x1e'),'content':_0x18c161(_0x3694a9,_0x45f8('0x14'))};}}),_0x38abfb[_0x45f8('0x29')][_0x45f8('0x24')]('TrackChangesEditing')[_0x45f8('0x18')](_0x45f8('0x17')));}}function no(_0x394878,_0x24ff96){const _0x4de61c=_0x394878['createSelection'](_0x24ff96);_0x394878[_0x45f8('0x2c')](_0x4de61c,{'unit':'word','direction':_0x45f8('0x2a')});const _0x3979de=_0x4de61c[_0x45f8('0x33')]();_0x394878[_0x45f8('0x2c')](_0x4de61c,{'unit':'word','direction':_0x45f8('0x13')});const _0x24b57b=_0x4de61c[_0x45f8('0xe')]();return _0x394878[_0x45f8('0x22')](_0x3979de,_0x24b57b);}function co(_0x515dee,_0x2d3ea9,_0x5844f5){const _0x58f4f2=_0x515dee[_0x45f8('0x27')]['t'],_0x42d22b=_0x2d3ea9[_0x45f8('0x35')](/(?=[A-Z])/)[_0x45f8('0xd')]('\x20'),_0x258491=_0x58f4f2(_0x42d22b['charAt'](0x0)[_0x45f8('0x25')]()+_0x42d22b[_0x45f8('0x30')](0x1))[_0x45f8('0x15')]();if('boolean'==typeof _0x5844f5)return _0x258491;if(_0x45f8('0xb')===_0x2d3ea9||_0x45f8('0x3')===_0x2d3ea9){const _0x202fa8=_0x468e23(_0x515dee[_0x45f8('0xf')][_0x45f8('0x24')](_0x45f8('0xc')))[_0x45f8('0x2d')](_0x4acfce=>_0x4acfce[_0x45f8('0x5')]==_0x5844f5);return _0x258491+'\x20('+(_0x202fa8?_0x58f4f2(_0x202fa8['label'])['toLowerCase']():_0x5844f5)+')';}if(_0x45f8('0x4')===_0x2d3ea9&&isNaN(parseFloat(_0x5844f5))){const _0xfe7d9e=_0x515dee['plugins'][_0x45f8('0x24')](_0x45f8('0x7'))['normalizeSizeOptions'](_0x515dee['config'][_0x45f8('0x24')](_0x45f8('0x0')))[_0x45f8('0x2d')](_0x42acc0=>_0x42acc0[_0x45f8('0x5')]==_0x5844f5);return _0x258491+'\x20('+(_0xfe7d9e?_0x58f4f2(_0xfe7d9e[_0x45f8('0x6')])[_0x45f8('0x15')]():_0x5844f5)+')';}return _0x258491+'\x20('+_0x5844f5+')';}
23
+ const _0x63d3=['normalizeSizeOptions','isCollapsed','markInlineFormat','pasteFormat','*Set\x20format\x20to:*\x20%0','length','change','fontColor','config','word','title','modifySelection','getFirstPosition','getRanges','toLowerCase','commandName','format','createSelection','isBlock','getAttributes','afterInit','slice','getSelectedBlocks','plugins','boolean','commands','selection','_descriptionFactory','locale','push','isFormatting','fontSize','charAt','get','entries','fontSize.options','registerDescriptionCallback','find','model','createRange','join','getLastPosition','*Remove\x20all\x20formatting*','keys','copyFormat','toUpperCase','from','TrackChangesEditing','label','split','fontColor.colors','enableCommand'];(function(_0x5b23ad,_0x63d3b3){const _0x386be8=function(_0x194c8b){while(--_0x194c8b){_0x5b23ad['push'](_0x5b23ad['shift']());}};_0x386be8(++_0x63d3b3);}(_0x63d3,0x1e3));const _0x386b=function(_0x5b23ad,_0x63d3b3){_0x5b23ad=_0x5b23ad-0x0;let _0x386be8=_0x63d3[_0x5b23ad];return _0x386be8;};import{Plugin as _0x422c3c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x448008}from'ckeditor5/src/ui';import{first as _0x4ce873}from'ckeditor5/src/utils';import{getTranslation as _0x42c77a}from'../utils/common-translations';export default class J extends _0x422c3c{[_0x386b('0x5')](){const _0x4d9289=this['editor'],_0x428246=_0x4d9289[_0x386b('0x17')],_0x4826eb=_0x428246['document'][_0x386b('0xb')],_0x422423=_0x4d9289[_0x386b('0x8')][_0x386b('0x12')](_0x386b('0x20')),_0x3e7a6d=_0x4d9289[_0x386b('0xd')],_0x119061=_0x4d9289[_0x386b('0xa')]['get'](_0x386b('0x1d')),_0x4bd2b9=_0x4d9289[_0x386b('0xa')][_0x386b('0x12')](_0x386b('0x28'));_0x119061&&_0x4bd2b9&&(_0x422423[_0x386b('0x24')](_0x386b('0x28'),(_0x29781d,_0xbc3032={})=>{const _0xce85de=_0xbc3032;_0x428246[_0x386b('0x2b')](()=>{const _0x2a2280=Array[_0x386b('0x1f')](_0x4826eb[_0x386b('0x32')]()),_0x480f72=_0x4826eb[_0x386b('0x26')]?[io(_0x428246,_0x4826eb)]:_0x2a2280,_0x2ff460=!!_0x4ce873(function*(_0x5ca914,_0xb0c07){const _0x512c0d=_0x1fb2e5=>!!_0x4ce873(function*(_0x1652ea,_0x9cb244){for(const [_0x2ac32f]of _0x1652ea[_0x386b('0x4')]()){const _0x2f391e=_0x9cb244['getAttributeProperties'](_0x2ac32f);_0x2f391e&&_0x2f391e[_0x386b('0xf')]&&(yield _0x2ac32f);}}(_0x1fb2e5,_0xb0c07));for(const _0x147830 of _0x5ca914[_0x386b('0x32')]())for(const _0x55ea19 of _0x147830['getItems']())!_0xb0c07[_0x386b('0x3')](_0x55ea19)&&_0x512c0d(_0x55ea19)&&(yield _0x55ea19);for(const _0x5b085a of _0x5ca914[_0x386b('0x7')]())_0x512c0d(_0x5b085a)&&(yield _0x5b085a);_0x512c0d(_0x5ca914)&&(yield _0x5ca914);}(_0x4826eb,_0x428246['schema']));if(_0x2ff460||0x0!==Object[_0x386b('0x1c')](_0xce85de)[_0x386b('0x2a')])for(const _0x247d65 of _0x480f72)_0x422423[_0x386b('0x27')](_0x247d65,{'commandName':'pasteFormat','commandParams':[_0xce85de]});});}),_0x422423[_0x386b('0xc')][_0x386b('0x15')](_0x2bd2f5=>{const {data:_0x2601b2}=_0x2bd2f5;if(_0x2601b2&&_0x386b('0x28')===_0x2601b2[_0x386b('0x0')]){const _0x5575c2=[],_0x1f47dc=_0x2601b2['commandParams'][0x0];for(const [_0x332e21,_0x37d4e0]of Object[_0x386b('0x13')](_0x1f47dc))_0x5575c2[_0x386b('0xe')](so(_0x4d9289,_0x332e21,_0x37d4e0));return _0x5575c2['length']?{'type':_0x386b('0x1'),'content':_0x42c77a(_0x3e7a6d,_0x386b('0x29'),_0x5575c2[_0x386b('0x19')](',\x20'))}:{'type':_0x386b('0x1'),'content':_0x42c77a(_0x3e7a6d,_0x386b('0x1b'))};}}),_0x4d9289[_0x386b('0x8')]['get'](_0x386b('0x20'))['enableCommand'](_0x386b('0x1d')));}}function io(_0x2418bb,_0xe0a68e){const _0x5d75b2=_0x2418bb[_0x386b('0x2')](_0xe0a68e);_0x2418bb[_0x386b('0x30')](_0x5d75b2,{'unit':_0x386b('0x2e'),'direction':'backward'});const _0x48fac2=_0x5d75b2[_0x386b('0x31')]();_0x2418bb[_0x386b('0x30')](_0x5d75b2,{'unit':_0x386b('0x2e'),'direction':'forward'});const _0x3d0569=_0x5d75b2[_0x386b('0x1a')]();return _0x2418bb[_0x386b('0x18')](_0x48fac2,_0x3d0569);}function so(_0x47ee9a,_0x2b8c01,_0x18d05d){const _0x2635e4=_0x47ee9a[_0x386b('0xd')]['t'],_0x2552e7=_0x2b8c01[_0x386b('0x22')](/(?=[A-Z])/)[_0x386b('0x19')]('\x20'),_0x15cf10=_0x2635e4(_0x2552e7[_0x386b('0x11')](0x0)[_0x386b('0x1e')]()+_0x2552e7[_0x386b('0x6')](0x1))[_0x386b('0x33')]();if(_0x386b('0x9')==typeof _0x18d05d)return _0x15cf10;if(_0x386b('0x2c')===_0x2b8c01||'fontBackgroundColor'===_0x2b8c01){const _0x232d7d=_0x448008(_0x47ee9a[_0x386b('0x2d')]['get'](_0x386b('0x23')))['find'](_0x938063=>_0x938063[_0x386b('0x17')]==_0x18d05d);return _0x15cf10+'\x20('+(_0x232d7d?_0x2635e4(_0x232d7d[_0x386b('0x21')])[_0x386b('0x33')]():_0x18d05d)+')';}if(_0x386b('0x10')===_0x2b8c01&&isNaN(parseFloat(_0x18d05d))){const _0x23bda0=_0x47ee9a[_0x386b('0x8')]['get']('FontSize')[_0x386b('0x25')](_0x47ee9a['config'][_0x386b('0x12')](_0x386b('0x14')))[_0x386b('0x16')](_0xda897b=>_0xda897b[_0x386b('0x17')]==_0x18d05d);return _0x15cf10+'\x20('+(_0x23bda0?_0x2635e4(_0x23bda0[_0x386b('0x2f')])[_0x386b('0x33')]():_0x18d05d)+')';}return _0x15cf10+'\x20('+_0x18d05d+')';}
@@ -1,17 +1,17 @@
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
- */
5
- /**
6
- * @module track-changes/integrations/heading
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for heading feature.
11
- */
12
- export default class TrackChangesHeading extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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
+ */
5
+ /**
6
+ * @module track-changes/integrations/heading
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for heading feature.
11
+ */
12
+ export default class TrackChangesHeading extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15b4=['format','name','match','find','heading','config','plugins','isObject','selection','TrackChangesEditing','document','heading.options','change','blockName','filter','formatBlock','value','HeadingEditing','markBlockFormat','*Change\x20to:*\x20%0','has','get','registerElementLabel','commandParams','getSelectedBlocks','model','title','_descriptionFactory','editor','paragraph','ELEMENT_HEADING'];(function(_0x609739,_0x15b47a){const _0x1db2b0=function(_0x4fe04){while(--_0x4fe04){_0x609739['push'](_0x609739['shift']());}};_0x1db2b0(++_0x15b47a);}(_0x15b4,0x7d));const _0x1db2=function(_0x609739,_0x15b47a){_0x609739=_0x609739-0x0;let _0x1db2b0=_0x15b4[_0x609739];return _0x1db2b0;};import{Plugin as _0x57c331}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xb5964b}from'./utils';import{getTranslation as _0x4fe08f}from'../utils/common-translations';export default class J extends _0x57c331{['afterInit'](){const _0x586b0d=this[_0x1db2('0x1b')],_0x210aea=_0x586b0d['locale'],_0x490721=_0x586b0d[_0x1db2('0x4')][_0x1db2('0x14')](_0x1db2('0xa'));if(!_0x586b0d['plugins'][_0x1db2('0x13')](_0x1db2('0x10')))return;const _0x59603b=_0x586b0d[_0x1db2('0x5')][_0x1db2('0x14')](_0x1db2('0x8'));_0x59603b['enableCommand'](_0x1db2('0x3'),(_0xa9acb,_0x5131c4)=>{const _0x5a9a15=_0x5131c4[_0x1db2('0xf')],_0x567ab7=Array['from'](this[_0x1db2('0x1b')][_0x1db2('0x18')][_0x1db2('0x9')][_0x1db2('0x7')][_0x1db2('0x17')]())[_0x1db2('0xd')](_0x17cb49=>function(_0x4990c6,_0x32fd8c,_0x5c2735){return _0x5c2735['checkChild'](_0x4990c6['parent'],_0x32fd8c)&&!_0x5c2735[_0x1db2('0x6')](_0x4990c6)&&_0x4990c6[_0x1db2('0x0')]!=_0x32fd8c;}(_0x17cb49,_0x5a9a15,this[_0x1db2('0x1b')][_0x1db2('0x18')]['schema']));_0x586b0d[_0x1db2('0x18')][_0x1db2('0xb')](()=>{for(const _0x3b702c of _0x567ab7)_0x59603b[_0x1db2('0x11')](_0x3b702c,{'commandName':_0x1db2('0x3'),'commandParams':[_0x5131c4],'formatGroupId':_0x1db2('0xc')},_0xb5964b(_0x3b702c));});});for(const _0x302064 of _0x490721)_0x1db2('0x1c')!=_0x302064[_0x1db2('0x18')]&&_0x59603b[_0x1db2('0x1a')][_0x1db2('0x15')](_0x302064[_0x1db2('0x18')],_0x56eefc=>{const _0x63bd07=nn(_0x302064['model']);return null!==_0x63bd07?_0x129f47(_0x56eefc,_0x63bd07):_0x3346b1(_0x56eefc,_0x302064[_0x1db2('0x19')]);});function _0x129f47(_0x281df8,_0x190390){return _0x4fe08f(_0x210aea,_0x1db2('0x1d'),[_0x281df8,_0x190390]);}function _0x3346b1(_0x43371d,_0x55ce4c){return _0x4fe08f(_0x210aea,'ELEMENT_HEADING_CUSTOM',[_0x43371d,_0x55ce4c]);}_0x59603b[_0x1db2('0x1a')]['registerDescriptionCallback'](_0x4debcf=>{const {type:_0x2f9a97,data:_0x4892d1}=_0x4debcf;if(_0x1db2('0xe')==_0x2f9a97&&_0x4892d1&&_0x1db2('0x3')==_0x4892d1['commandName']){const _0x286e8e=_0x4892d1[_0x1db2('0x16')][0x0][_0x1db2('0xf')],_0x3bd4a4=nn(_0x286e8e);if(null!==_0x3bd4a4)return{'type':_0x1db2('0x1e'),'content':_0x4fe08f(_0x210aea,_0x1db2('0x12'),_0x129f47(0x1,_0x3bd4a4))};const _0x599e29=_0x490721[_0x1db2('0x2')](_0x4a49c2=>_0x4a49c2[_0x1db2('0x18')]===_0x286e8e)[_0x1db2('0x19')];return{'type':'format','content':_0x4fe08f(_0x210aea,_0x1db2('0x12'),_0x3346b1(0x1,_0x599e29))};}});}}function nn(_0x472ed9){const _0x3a6781=_0x472ed9[_0x1db2('0x1')](/^heading(\d+)$/);return _0x3a6781?_0x3a6781[0x1]:null;}
23
+ const _0x4402=['getSelectedBlocks','parent','heading.options','model','registerElementLabel','ELEMENT_HEADING','commandName','blockName','enableCommand','filter','markBlockFormat','get','name','locale','change','editor','has','TrackChangesEditing','*Change\x20to:*\x20%0','heading','HeadingEditing','value','commandParams','schema','format','selection','plugins','from','config','_descriptionFactory','isObject','registerDescriptionCallback','formatBlock','ELEMENT_HEADING_CUSTOM'];(function(_0x56d364,_0x440270){const _0x4f87d4=function(_0x4807e1){while(--_0x4807e1){_0x56d364['push'](_0x56d364['shift']());}};_0x4f87d4(++_0x440270);}(_0x4402,0x1d1));const _0x4f87=function(_0x56d364,_0x440270){_0x56d364=_0x56d364-0x0;let _0x4f87d4=_0x4402[_0x56d364];return _0x4f87d4;};import{Plugin as _0x4c4336}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x470f84}from'./utils';import{getTranslation as _0x3f68ae}from'../utils/common-translations';export default class K extends _0x4c4336{['afterInit'](){const _0x48e9d2=this[_0x4f87('0x1a')],_0x1e0c8d=_0x48e9d2[_0x4f87('0x18')],_0x34327d=_0x48e9d2[_0x4f87('0x5')]['get'](_0x4f87('0xd'));if(!_0x48e9d2[_0x4f87('0x3')][_0x4f87('0x1b')](_0x4f87('0x1f')))return;const _0x48ec19=_0x48e9d2[_0x4f87('0x3')][_0x4f87('0x16')](_0x4f87('0x1c'));_0x48ec19[_0x4f87('0x13')](_0x4f87('0x1e'),(_0x3676be,_0x11ff64)=>{const _0xe9d71=_0x11ff64[_0x4f87('0x20')],_0x443c64=Array[_0x4f87('0x4')](this[_0x4f87('0x1a')][_0x4f87('0xe')]['document'][_0x4f87('0x2')][_0x4f87('0xb')]())[_0x4f87('0x14')](_0x225189=>function(_0x45f283,_0x4b9db3,_0x2c1c1e){return _0x2c1c1e['checkChild'](_0x45f283[_0x4f87('0xc')],_0x4b9db3)&&!_0x2c1c1e[_0x4f87('0x7')](_0x45f283)&&_0x45f283[_0x4f87('0x17')]!=_0x4b9db3;}(_0x225189,_0xe9d71,this['editor'][_0x4f87('0xe')][_0x4f87('0x0')]));_0x48e9d2[_0x4f87('0xe')][_0x4f87('0x19')](()=>{for(const _0x496dd0 of _0x443c64)_0x48ec19[_0x4f87('0x15')](_0x496dd0,{'commandName':_0x4f87('0x1e'),'commandParams':[_0x11ff64],'formatGroupId':_0x4f87('0x12')},_0x470f84(_0x496dd0));});});for(const _0x2680d8 of _0x34327d)'paragraph'!=_0x2680d8[_0x4f87('0xe')]&&_0x48ec19[_0x4f87('0x6')][_0x4f87('0xf')](_0x2680d8['model'],_0x4bfd70=>{const _0x229093=nn(_0x2680d8[_0x4f87('0xe')]);return null!==_0x229093?_0x41eaf4(_0x4bfd70,_0x229093):_0x1a3e4c(_0x4bfd70,_0x2680d8['title']);});function _0x41eaf4(_0x28989a,_0x3a434a){return _0x3f68ae(_0x1e0c8d,_0x4f87('0x10'),[_0x28989a,_0x3a434a]);}function _0x1a3e4c(_0x46eb4d,_0x122655){return _0x3f68ae(_0x1e0c8d,_0x4f87('0xa'),[_0x46eb4d,_0x122655]);}_0x48ec19[_0x4f87('0x6')][_0x4f87('0x8')](_0x1304b3=>{const {type:_0x23fd39,data:_0x26851b}=_0x1304b3;if(_0x4f87('0x9')==_0x23fd39&&_0x26851b&&_0x4f87('0x1e')==_0x26851b[_0x4f87('0x11')]){const _0x3a65d5=_0x26851b[_0x4f87('0x21')][0x0][_0x4f87('0x20')],_0xdd95a2=nn(_0x3a65d5);if(null!==_0xdd95a2)return{'type':_0x4f87('0x1'),'content':_0x3f68ae(_0x1e0c8d,_0x4f87('0x1d'),_0x41eaf4(0x1,_0xdd95a2))};const _0x4fdd4e=_0x34327d['find'](_0x50224c=>_0x50224c[_0x4f87('0xe')]===_0x3a65d5)['title'];return{'type':'format','content':_0x3f68ae(_0x1e0c8d,'*Change\x20to:*\x20%0',_0x1a3e4c(0x1,_0x4fdd4e))};}});}}function nn(_0x23c7b7){const _0xf52981=_0x23c7b7['match'](/^heading(\d+)$/);return _0xf52981?_0xf52981[0x1]:null;}
@@ -1,17 +1,17 @@
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
- */
5
- /**
6
- * @module track-changes/integrations/highlight
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for highlight feature.
11
- */
12
- export default class TrackChangesHighlight extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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
+ */
5
+ /**
6
+ * @module track-changes/integrations/highlight
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for highlight feature.
11
+ */
12
+ export default class TrackChangesHighlight extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50ac=['push','toLowerCase','value','has','formatInline','registerDescriptionCallback','createRange','format','hasAttribute','afterInit','enableCommand','commandParams','*Set\x20highlight:*\x20%0','change','getAttribute','editor','backward','config','commandName','document','getFirstPosition','FORMAT_HIGHLIGHT','isCollapsed','highlight','_descriptionFactory','plugins','model','find','get','color','getRanges','title','highlight.options','item','markInlineFormat','HighlightEditing'];(function(_0x1c2022,_0x50ac62){const _0x59c06a=function(_0x16045e){while(--_0x16045e){_0x1c2022['push'](_0x1c2022['shift']());}};_0x59c06a(++_0x50ac62);}(_0x50ac,0xda));const _0x59c0=function(_0x1c2022,_0x50ac62){_0x1c2022=_0x1c2022-0x0;let _0x59c06a=_0x50ac[_0x1c2022];return _0x59c06a;};import{Plugin as _0x565edb}from'ckeditor5/src/core';import{getTranslation as _0x4c4fd8}from'../utils/common-translations';import{getRangesWithAttribute as _0x5ebfc8}from'./utils';export default class K extends _0x565edb{[_0x59c0('0x7')](){const _0x430bea=this[_0x59c0('0xd')];if(!_0x430bea[_0x59c0('0x17')][_0x59c0('0x1')](_0x59c0('0x21')))return;const _0x4c971b=_0x430bea[_0x59c0('0x17')]['get']('TrackChangesEditing');_0x4c971b[_0x59c0('0x8')](_0x59c0('0x15'),(_0x2b65c7,_0x283098={})=>{const _0x16aca4=_0x430bea[_0x59c0('0x18')][_0x59c0('0x11')]['selection'],_0x4fa42f=_0x16aca4[_0x59c0('0xc')]('highlight');let _0x5f0c09=_0x283098[_0x59c0('0x0')],_0x250e10=[];if(_0x16aca4[_0x59c0('0x14')]){const _0x467c1f=_0x16aca4[_0x59c0('0x12')]();if(!_0x16aca4[_0x59c0('0x6')](_0x59c0('0x15')))return void _0x2b65c7(_0x283098);{const _0x1a9ed8=_0x20b90e=>_0x20b90e[_0x59c0('0x1f')][_0x59c0('0xc')](_0x59c0('0x15'))===_0x4fa42f,_0x1d54c6=_0x467c1f['getLastMatchingPosition'](_0x1a9ed8,{'direction':_0x59c0('0xe')}),_0x582625=_0x467c1f['getLastMatchingPosition'](_0x1a9ed8);_0x250e10=[_0x430bea[_0x59c0('0x18')][_0x59c0('0x4')](_0x1d54c6,_0x582625)],_0x5f0c09==_0x4fa42f&&(_0x5f0c09=null);}}else for(const _0x3fa6a7 of _0x16aca4[_0x59c0('0x1c')]())_0x5f0c09?_0x250e10['push'](_0x3fa6a7):_0x250e10[_0x59c0('0x22')](..._0x5ebfc8(_0x59c0('0x15'),_0x3fa6a7,_0x430bea[_0x59c0('0x18')]));_0x430bea[_0x59c0('0x18')][_0x59c0('0xb')](()=>{for(const _0x1e154a of _0x250e10)_0x4c971b[_0x59c0('0x20')](_0x1e154a,{'commandName':_0x59c0('0x15'),'commandParams':[{'value':_0x5f0c09}]});});});const _0x40fd21=_0x430bea['locale'];_0x4c971b[_0x59c0('0x16')][_0x59c0('0x3')](_0x2a0c5f=>{const {type:_0x2598fa,data:_0x1e9053}=_0x2a0c5f;if(_0x59c0('0x2')==_0x2598fa&&_0x1e9053&&_0x59c0('0x15')==_0x1e9053[_0x59c0('0x10')]){const _0x440e3e=_0x40fd21['t'],_0x2da8a2=_0x1e9053[_0x59c0('0x9')][0x0]['value'];if(_0x2da8a2){const _0x564c23=_0x430bea[_0x59c0('0xf')][_0x59c0('0x1a')](_0x59c0('0x1e'))[_0x59c0('0x19')](_0x495878=>_0x495878[_0x59c0('0x18')]==_0x2da8a2),_0x428c89=_0x440e3e(_0x564c23[_0x59c0('0x1d')])[_0x59c0('0x23')]();return{'type':_0x59c0('0x5'),'content':_0x4c4fd8(_0x40fd21,_0x59c0('0xa'),_0x428c89),'color':{'value':_0x564c23[_0x59c0('0x1b')],'title':_0x564c23[_0x59c0('0x1d')]}};}return{'type':_0x59c0('0x5'),'content':_0x4c4fd8(_0x40fd21,'*Remove\x20highlight*',_0x4c4fd8(_0x40fd21,_0x59c0('0x13')))};}});}}
23
+ const _0x124e=['title','*Set\x20highlight:*\x20%0','getRanges','registerDescriptionCallback','change','FORMAT_HIGHLIGHT','format','afterInit','plugins','highlight.options','TrackChangesEditing','formatInline','get','getAttribute','commandName','value','backward','has','createRange','highlight','document','editor','push','find','getLastMatchingPosition','HighlightEditing','locale','toLowerCase','model','isCollapsed','selection','enableCommand','config'];(function(_0x145388,_0x124e66){const _0x186db4=function(_0x369aca){while(--_0x369aca){_0x145388['push'](_0x145388['shift']());}};_0x186db4(++_0x124e66);}(_0x124e,0xb9));const _0x186d=function(_0x145388,_0x124e66){_0x145388=_0x145388-0x0;let _0x186db4=_0x124e[_0x145388];return _0x186db4;};import{Plugin as _0x1eb08d}from'ckeditor5/src/core';import{getTranslation as _0x32b5b8}from'../utils/common-translations';import{getRangesWithAttribute as _0x4f31cd}from'./utils';export default class Q extends _0x1eb08d{[_0x186d('0x14')](){const _0x2a5887=this[_0x186d('0x1')];if(!_0x2a5887['plugins'][_0x186d('0x1e')](_0x186d('0x5')))return;const _0x40871e=_0x2a5887[_0x186d('0x15')][_0x186d('0x19')](_0x186d('0x17'));_0x40871e[_0x186d('0xb')](_0x186d('0x20'),(_0x43fb9b,_0x19ff1e={})=>{const _0x2890e1=_0x2a5887[_0x186d('0x8')][_0x186d('0x0')][_0x186d('0xa')],_0x2c4bb2=_0x2890e1['getAttribute'](_0x186d('0x20'));let _0x558675=_0x19ff1e[_0x186d('0x1c')],_0x24cd06=[];if(_0x2890e1[_0x186d('0x9')]){const _0x168ca0=_0x2890e1['getFirstPosition']();if(!_0x2890e1['hasAttribute'](_0x186d('0x20')))return void _0x43fb9b(_0x19ff1e);{const _0x302777=_0x10d022=>_0x10d022['item'][_0x186d('0x1a')](_0x186d('0x20'))===_0x2c4bb2,_0x23f01d=_0x168ca0[_0x186d('0x4')](_0x302777,{'direction':_0x186d('0x1d')}),_0x5aec5a=_0x168ca0[_0x186d('0x4')](_0x302777);_0x24cd06=[_0x2a5887[_0x186d('0x8')][_0x186d('0x1f')](_0x23f01d,_0x5aec5a)],_0x558675==_0x2c4bb2&&(_0x558675=null);}}else for(const _0x1291df of _0x2890e1[_0x186d('0xf')]())_0x558675?_0x24cd06[_0x186d('0x2')](_0x1291df):_0x24cd06[_0x186d('0x2')](..._0x4f31cd(_0x186d('0x20'),_0x1291df,_0x2a5887[_0x186d('0x8')]));_0x2a5887[_0x186d('0x8')][_0x186d('0x11')](()=>{for(const _0x33509c of _0x24cd06)_0x40871e['markInlineFormat'](_0x33509c,{'commandName':_0x186d('0x20'),'commandParams':[{'value':_0x558675}]});});});const _0x391ec3=_0x2a5887[_0x186d('0x6')];_0x40871e['_descriptionFactory'][_0x186d('0x10')](_0x1a80ea=>{const {type:_0x293752,data:_0x3913f8}=_0x1a80ea;if(_0x186d('0x18')==_0x293752&&_0x3913f8&&_0x186d('0x20')==_0x3913f8[_0x186d('0x1b')]){const _0x2bb55c=_0x391ec3['t'],_0x10d7d1=_0x3913f8['commandParams'][0x0][_0x186d('0x1c')];if(_0x10d7d1){const _0x456c92=_0x2a5887[_0x186d('0xc')][_0x186d('0x19')](_0x186d('0x16'))[_0x186d('0x3')](_0x2f60be=>_0x2f60be[_0x186d('0x8')]==_0x10d7d1),_0x37c301=_0x2bb55c(_0x456c92[_0x186d('0xd')])[_0x186d('0x7')]();return{'type':_0x186d('0x13'),'content':_0x32b5b8(_0x391ec3,_0x186d('0xe'),_0x37c301),'color':{'value':_0x456c92['color'],'title':_0x456c92[_0x186d('0xd')]}};}return{'type':_0x186d('0x13'),'content':_0x32b5b8(_0x391ec3,'*Remove\x20highlight*',_0x32b5b8(_0x391ec3,_0x186d('0x12')))};}});}}
@@ -1,17 +1,17 @@
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
- */
5
- /**
6
- * @module track-changes/integrations/horizontalline
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
11
- */
12
- export default class TrackChangesHorizontalLine extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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
+ */
5
+ /**
6
+ * @module track-changes/integrations/horizontalline
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
11
+ */
12
+ export default class TrackChangesHorizontalLine extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38d7=['dataDowncast','enableCommand','locale','createPositionAt','plugins','conversion','editor','elementToStructure','insert','get','addClass','createEmptyElement','registerElementLabel','afterInit','high','for','ELEMENT_HORIZONTAL_LINE','has','horizontalLine','TrackChangesEditing','div','ck-horizontal-line','createContainerElement'];(function(_0x3673df,_0x38d73d){const _0xb28a4=function(_0x254a72){while(--_0x254a72){_0x3673df['push'](_0x3673df['shift']());}};_0xb28a4(++_0x38d73d);}(_0x38d7,0x148));const _0xb28a=function(_0x3673df,_0x38d73d){_0x3673df=_0x3673df-0x0;let _0xb28a4=_0x38d7[_0x3673df];return _0xb28a4;};import{Plugin as _0x26eeea}from'ckeditor5/src/core';import{getTranslation as _0xd3dbfa}from'../utils/common-translations';export default class Q extends _0x26eeea{[_0xb28a('0x7')](){const _0x167584=this[_0xb28a('0x0')];if(!_0x167584['plugins'][_0xb28a('0xb')]('HorizontalLineEditing'))return;_0x167584[_0xb28a('0x15')][_0xb28a('0x3')](_0xb28a('0xd'))[_0xb28a('0x12')](_0xb28a('0xc'));const _0x8d3299=_0x167584[_0xb28a('0x15')][_0xb28a('0x3')]('TrackChangesEditing'),_0x5968cd=_0x167584[_0xb28a('0x13')];_0x8d3299['_descriptionFactory'][_0xb28a('0x6')](_0xb28a('0xc'),_0x191267=>_0xd3dbfa(_0x5968cd,_0xb28a('0xa'),_0x191267)),_0x167584[_0xb28a('0x16')][_0xb28a('0x9')](_0xb28a('0x11'))[_0xb28a('0x1')]({'model':'horizontalLine','view':(_0x5425fb,{writer:_0x598677,options:_0x36f0a5})=>{if(!_0x36f0a5['showSuggestionHighlights'])return null;const _0x1cc7b3=_0x598677[_0xb28a('0x10')](_0xb28a('0xe')),_0x4ebf68=_0x598677[_0xb28a('0x5')]('hr');return _0x598677[_0xb28a('0x4')](_0xb28a('0xf'),_0x1cc7b3),_0x598677[_0xb28a('0x2')](_0x598677[_0xb28a('0x14')](_0x1cc7b3,0x0),_0x4ebf68),_0x1cc7b3;},'converterPriority':_0xb28a('0x8')});}}
23
+ const _0x3894=['get','elementToStructure','horizontalLine','_descriptionFactory','div','showSuggestionHighlights','high','plugins','ck-horizontal-line','createPositionAt','conversion','editor','afterInit','for','registerElementLabel','HorizontalLineEditing','TrackChangesEditing','ELEMENT_HORIZONTAL_LINE','has','addClass','locale','dataDowncast'];(function(_0x30a92b,_0x3894a8){const _0x5ae906=function(_0x15630a){while(--_0x15630a){_0x30a92b['push'](_0x30a92b['shift']());}};_0x5ae906(++_0x3894a8);}(_0x3894,0x130));const _0x5ae9=function(_0x30a92b,_0x3894a8){_0x30a92b=_0x30a92b-0x0;let _0x5ae906=_0x3894[_0x30a92b];return _0x5ae906;};import{Plugin as _0x58f8d9}from'ckeditor5/src/core';import{getTranslation as _0x2fdbc3}from'../utils/common-translations';export default class V extends _0x58f8d9{[_0x5ae9('0x10')](){const _0xec027=this[_0x5ae9('0xf')];if(!_0xec027[_0x5ae9('0xb')][_0x5ae9('0x0')](_0x5ae9('0x13')))return;_0xec027['plugins'][_0x5ae9('0x4')](_0x5ae9('0x14'))['enableCommand'](_0x5ae9('0x6'));const _0x73d43d=_0xec027[_0x5ae9('0xb')][_0x5ae9('0x4')](_0x5ae9('0x14')),_0x4b7483=_0xec027[_0x5ae9('0x2')];_0x73d43d[_0x5ae9('0x7')][_0x5ae9('0x12')](_0x5ae9('0x6'),_0x3d8eca=>_0x2fdbc3(_0x4b7483,_0x5ae9('0x15'),_0x3d8eca)),_0xec027[_0x5ae9('0xe')][_0x5ae9('0x11')](_0x5ae9('0x3'))[_0x5ae9('0x5')]({'model':_0x5ae9('0x6'),'view':(_0x14bca1,{writer:_0x2899e3,options:_0x532fd9})=>{if(!_0x532fd9[_0x5ae9('0x9')])return null;const _0x41ddeb=_0x2899e3['createContainerElement'](_0x5ae9('0x8')),_0x2e0035=_0x2899e3['createEmptyElement']('hr');return _0x2899e3[_0x5ae9('0x1')](_0x5ae9('0xc'),_0x41ddeb),_0x2899e3['insert'](_0x2899e3[_0x5ae9('0xd')](_0x41ddeb,0x0),_0x2e0035),_0x41ddeb;},'converterPriority':_0x5ae9('0xa')});}}
@@ -1,17 +1,17 @@
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
- */
5
- /**
6
- * @module track-changes/integrations/htmlembed
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
11
- */
12
- export default class TrackChangesHtmlEmbed extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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
+ */
5
+ /**
6
+ * @module track-changes/integrations/htmlembed
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
11
+ */
12
+ export default class TrackChangesHtmlEmbed extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4871=['locale','selection','htmlEmbed','getSelectedElement','plugins','cancel','*Change\x20%0\x20content*','get','editing','document','ELEMENT_HTML_EMBED','format','element','getAttribute','rawHtml','_descriptionFactory','editor','registerElementLabel','change','TrackChangesEditing','commandName','HtmlEmbed','model','view','enableCommand'];(function(_0xf35c9a,_0x48719e){const _0x22ba63=function(_0x405867){while(--_0x405867){_0xf35c9a['push'](_0xf35c9a['shift']());}};_0x22ba63(++_0x48719e);}(_0x4871,0xa3));const _0x22ba=function(_0xf35c9a,_0x48719e){_0xf35c9a=_0xf35c9a-0x0;let _0x22ba63=_0x4871[_0xf35c9a];return _0x22ba63;};import{Plugin as _0xb0bdbc}from'ckeditor5/src/core';import{getTranslation as _0x787388}from'../utils/common-translations';export default class V extends _0xb0bdbc{['afterInit'](){const _0x9fd71=this[_0x22ba('0x3')];if(!_0x9fd71[_0x22ba('0x10')]['has'](_0x22ba('0x8')))return;const _0x91728c=_0x9fd71['plugins'][_0x22ba('0x13')](_0x22ba('0x6')),_0x1fa8e9=_0x9fd71[_0x22ba('0xc')],_0x433505=_0x9fd71[_0x22ba('0x14')][_0x22ba('0xa')][_0x22ba('0x15')][_0x22ba('0xd')];_0x91728c[_0x22ba('0x2')][_0x22ba('0x4')](_0x22ba('0x1'),_0x4a195=>_0x787388(_0x1fa8e9,_0x22ba('0x16'),_0x4a195)),_0x9fd71[_0x22ba('0x10')][_0x22ba('0x13')]('TrackChangesEditing')[_0x22ba('0xb')]('htmlEmbed',(_0x3aaa5e,_0x30ed94)=>{const _0x2f9e4d=_0x9fd71[_0x22ba('0x9')],_0x55ffad=_0x2f9e4d[_0x22ba('0x15')][_0x22ba('0xd')];_0x2f9e4d[_0x22ba('0x5')](()=>{const _0x1132e9=function(_0x33f114){const _0x1d3d36=_0x33f114['getSelectedElement']();if(_0x1d3d36&&_0x1d3d36['is'](_0x22ba('0x18'),_0x22ba('0x1')))return _0x33f114['getSelectedElement']();return null;}(_0x55ffad);if(!_0x1132e9)return void _0x3aaa5e(null);const _0xfe6cd3=_0x1132e9[_0x22ba('0x0')]('value')||'';if(void 0x0===_0x30ed94)return;if(_0x30ed94===_0xfe6cd3)return;_0x91728c['markBlockFormat'](_0x1132e9,{'commandName':_0x22ba('0xe'),'commandParams':[_0x30ed94]}),_0x433505[_0x22ba('0xf')]()['getCustomProperty']('rawHtmlApi')[_0x22ba('0x11')]();});}),_0x91728c['_descriptionFactory']['registerDescriptionCallback'](_0x34fe40=>{const {data:_0x1c4b22}=_0x34fe40;if(_0x1c4b22&&'htmlEmbed'==_0x1c4b22[_0x22ba('0x7')]){const _0x5d1d10=_0x787388(_0x1fa8e9,_0x22ba('0x16'));return{'type':_0x22ba('0x17'),'content':_0x787388(_0x1fa8e9,_0x22ba('0x12'),_0x5d1d10)};}});}}
23
+ const _0x4e53=['commandName','afterInit','registerDescriptionCallback','rawHtmlApi','htmlEmbed','document','registerElementLabel','get','getCustomProperty','editing','change','value','TrackChangesEditing','HtmlEmbed','*Change\x20%0\x20content*','rawHtml','markBlockFormat','model','plugins','enableCommand','selection','getSelectedElement','ELEMENT_HTML_EMBED','element','_descriptionFactory'];(function(_0x350108,_0x4e5301){const _0x4417fd=function(_0x5dfc25){while(--_0x5dfc25){_0x350108['push'](_0x350108['shift']());}};_0x4417fd(++_0x4e5301);}(_0x4e53,0x142));const _0x4417=function(_0x350108,_0x4e5301){_0x350108=_0x350108-0x0;let _0x4417fd=_0x4e53[_0x350108];return _0x4417fd;};import{Plugin as _0xf586d4}from'ckeditor5/src/core';import{getTranslation as _0x7c6fef}from'../utils/common-translations';export default class X extends _0xf586d4{[_0x4417('0x4')](){const _0x544a3f=this['editor'];if(!_0x544a3f[_0x4417('0x15')]['has'](_0x4417('0x10')))return;const _0x49a7ac=_0x544a3f[_0x4417('0x15')]['get'](_0x4417('0xf')),_0x3c3867=_0x544a3f['locale'],_0x3fff83=_0x544a3f[_0x4417('0xc')]['view'][_0x4417('0x8')][_0x4417('0x17')];_0x49a7ac[_0x4417('0x2')][_0x4417('0x9')](_0x4417('0x12'),_0x15a534=>_0x7c6fef(_0x3c3867,'ELEMENT_HTML_EMBED',_0x15a534)),_0x544a3f[_0x4417('0x15')][_0x4417('0xa')](_0x4417('0xf'))[_0x4417('0x16')]('htmlEmbed',(_0x22a7ef,_0x7fc62)=>{const _0xd9723d=_0x544a3f[_0x4417('0x14')],_0x58e01c=_0xd9723d[_0x4417('0x8')][_0x4417('0x17')];_0xd9723d[_0x4417('0xd')](()=>{const _0x2a8b3d=function(_0x121566){const _0xb9242c=_0x121566[_0x4417('0x18')]();if(_0xb9242c&&_0xb9242c['is'](_0x4417('0x1'),'rawHtml'))return _0x121566[_0x4417('0x18')]();return null;}(_0x58e01c);if(!_0x2a8b3d)return void _0x22a7ef(null);const _0x248fe9=_0x2a8b3d['getAttribute'](_0x4417('0xe'))||'';if(void 0x0===_0x7fc62)return;if(_0x7fc62===_0x248fe9)return;_0x49a7ac[_0x4417('0x13')](_0x2a8b3d,{'commandName':_0x4417('0x7'),'commandParams':[_0x7fc62]}),_0x3fff83[_0x4417('0x18')]()[_0x4417('0xb')](_0x4417('0x6'))['cancel']();});}),_0x49a7ac[_0x4417('0x2')][_0x4417('0x5')](_0x4bb865=>{const {data:_0x15f631}=_0x4bb865;if(_0x15f631&&_0x4417('0x7')==_0x15f631[_0x4417('0x3')]){const _0xd2b495=_0x7c6fef(_0x3c3867,_0x4417('0x0'));return{'type':'format','content':_0x7c6fef(_0x3c3867,_0x4417('0x11'),_0xd2b495)};}});}}
@@ -1,17 +1,17 @@
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
- */
5
- /**
6
- * @module track-changes/integrations/image
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * Provides track changes plugin integration for {@link module:image/image~Image image feature}.
11
- */
12
- export default class TrackChangesImage extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- afterInit(): void;
17
- }
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
+ */
5
+ /**
6
+ * @module track-changes/integrations/image
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * Provides track changes plugin integration for {@link module:image/image~Image image feature}.
11
+ */
12
+ export default class TrackChangesImage extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41a5=['discard','caption','*Remove\x20image\x20text\x20alternative*','model','getAttribute','markDeletion','deletion','imageStyle','toNext','insertion','createRangeOn','getSuggestion','ImageEditing','end','width','convertInlineImageToBlock','accept','afterInit','getContainedElement','registerPostFixer','ImageUploadEditing','imageStylePostApply','isCollapsed','toPrevious','isBefore','isIntersecting','*Set\x20image\x20text\x20alternative:*\x20%0','type','discardSuggestion','resizeImage','_splitMarkerName','*Set\x20image\x20width:*\x20%0','fromPosition','document','getSuggestionCallback','commandParams','refresh','from','plugins','nodeAfter','findIndex','normalizedStyles','get','head','length','selection','subType','insertImage','title','enableCommand','_suggestionFactory','imageTextAlternative','locale','value','getClosestSelectedImageElement','format','getCaptionFromImageModelElement','imageBlock','ImageStyleEditing','newValue','ImageUtils','commandName','markBlockFormat','removeObject','_findSuggestions','element','imageCaption','getSuggestions','previous','next','join','ImageCaptionEditing','toggleImageCaption','FORMAT_SIDE_IMAGE','convertBlockImageToInline','suggestion','differ','commands','isInlineImage','ELEMENT_INLINE_IMAGE','name','forward','registerElementLabel','chain','ImageResize','getNearestSelectionRange','ELEMENT_IMAGE','hasSuggestion','schema','has','isBlockImage','forceDefaultExecution','alt','detach','registerCustomCallback','shouldConvertImageType','formatBlock','forEach','toLowerCase','newRange','ImageBlockEditing','side','author','createRange','filter','imageStylePreApply','_descriptionFactory','getFirstRange','ImageTextAlternativeEditing','registerDescriptionCallback','ImageInlineEditing','start','TrackChangesEditing','change','addObject','formatInline','ELEMENT_CAPTION','backward','isEqual','imageTypeInline','imageTypeBlock','find','isInContent','markInsertion'];(function(_0x3b890e,_0x41a5bd){const _0x1989ac=function(_0x41a236){while(--_0x41a236){_0x3b890e['push'](_0x3b890e['shift']());}};_0x1989ac(++_0x41a5bd);}(_0x41a5,0x15e));const _0x1989=function(_0x3b890e,_0x41a5bd){_0x3b890e=_0x3b890e-0x0;let _0x1989ac=_0x41a5[_0x3b890e];return _0x1989ac;};import{Plugin as _0x1b149d}from'ckeditor5/src/core';import{LivePosition as _0x55ab23}from'ckeditor5/src/engine';import{uid as _0x5170e0}from'ckeditor5/src/utils';import{getTranslation as _0x45eb9e}from'../utils/common-translations';export default class X extends _0x1b149d{[_0x1989('0x27')](){const _0x519371=this['editor'];if(!_0x519371[_0x1989('0x3c')]['has'](_0x1989('0x22')))return;const _0x140b7f=_0x519371[_0x1989('0x3c')]['get'](_0x1989('0xa')),_0xe9a30f=_0x519371['plugins'][_0x1989('0x40')](_0x1989('0x52')),_0x1a4ce2={},_0x515592=_0x519371[_0x1989('0x4a')];if(_0x140b7f[_0x1989('0x47')](_0x1989('0x45')),_0x140b7f[_0x1989('0x4')]['registerElementLabel'](_0x1989('0x4f'),_0x19b3b3=>_0x45eb9e(_0x515592,_0x1989('0x6c'),_0x19b3b3)),_0x140b7f[_0x1989('0x4')]['registerElementLabel']('imageInline',_0x14f08a=>_0x45eb9e(_0x515592,_0x1989('0x65'),_0x14f08a)),_0x140b7f['_descriptionFactory'][_0x1989('0x68')]('caption',()=>_0x45eb9e(_0x515592,_0x1989('0xe'))),_0x519371[_0x1989('0x3c')][_0x1989('0x6f')](_0x1989('0x2a'))&&_0x140b7f[_0x1989('0x47')]('uploadImage'),_0x519371[_0x1989('0x3c')]['has'](_0x1989('0x7a'))&&_0x519371['plugins'][_0x1989('0x6f')](_0x1989('0x8'))&&(_0x140b7f[_0x1989('0x47')](_0x1989('0x11'),(_0x120aa2,_0x2a68b9)=>{const _0x3c193f=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]);_0x519371['model'][_0x1989('0xb')](()=>{_0x140b7f[_0x1989('0x54')](_0x3c193f,{'commandName':_0x1989('0x11'),'commandParams':[_0x2a68b9]},[],'convertBlockImageToInline');});}),_0x140b7f[_0x1989('0x47')](_0x1989('0x12'),(_0x58e8c7,_0x3ff749)=>{_0x519371[_0x1989('0x19')][_0x1989('0xb')](_0x5e19c2=>{let _0xc24ce0=_0xe9a30f[_0x1989('0x4c')](_0x519371['model'][_0x1989('0x37')][_0x1989('0x43')]),_0x1cb5ac=_0x5e19c2[_0x1989('0x20')](_0xc24ce0);const _0x4314be=_0x55ab23['fromPosition'](_0x1cb5ac[_0x1989('0x9')],_0x1989('0x2d')),_0x3f5a8b=_0x55ab23[_0x1989('0x36')](_0x1cb5ac[_0x1989('0x23')],_0x1989('0x1e'));_0x140b7f[_0x1989('0x71')](()=>_0x58e8c7(_0x3ff749)),_0xc24ce0=_0xe9a30f[_0x1989('0x4c')](_0x519371['model'][_0x1989('0x37')][_0x1989('0x43')]),_0x1cb5ac=_0x5e19c2[_0x1989('0x20')](_0xc24ce0);const _0x133fd8=_0x5e19c2[_0x1989('0x1')](_0x4314be,_0x3f5a8b);_0x4314be[_0x1989('0x73')](),_0x3f5a8b[_0x1989('0x73')](),_0x140b7f[_0x1989('0x54')](_0xc24ce0,{'commandName':'imageTypeInline','commandParams':[]},[],_0x1989('0x25')),_0x133fd8[_0x1989('0x9')][_0x1989('0x2e')](_0x1cb5ac['start'])&&_0x140b7f[_0x1989('0x15')](_0x5e19c2[_0x1989('0x1')](_0x133fd8['start'],_0x1cb5ac[_0x1989('0x9')]),_0x1989('0x25')),_0x1cb5ac[_0x1989('0x23')]['isBefore'](_0x133fd8['end'])&&_0x140b7f['markInsertion'](_0x5e19c2[_0x1989('0x1')](_0x1cb5ac[_0x1989('0x23')],_0x133fd8['end']),_0x1989('0x25'));});}),_0x140b7f[_0x1989('0x48')]['registerCustomCallback'](_0x1989('0x76'),_0x1989('0x25'),_0x1989('0x5c'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),'convertInlineImageToBlock',_0x1989('0x26'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),'convertInlineImageToBlock','discard',_0x140b7f[_0x1989('0x48')]['getSuggestionCallback'](_0x1989('0x76'),'',_0x1989('0x26'))),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')]('insertion','convertInlineImageToBlock','join',()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x1f'),_0x1989('0x25'),'discard',([_0x3666ac])=>{const _0x889e7a=_0x140b7f['_suggestionFactory']['getSuggestionCallback'](_0x1989('0x1f'),'',_0x1989('0x16'));let _0xb8dad1=_0x3666ac[_0x1989('0x9')],_0x52ebcc=_0x3666ac[_0x1989('0x23')];const _0x2eb2cf=_0x519371[_0x1989('0x19')][_0x1989('0x6e')][_0x1989('0x6b')](_0xb8dad1,_0x1989('0xf')),_0x387d37=_0x519371[_0x1989('0x19')]['schema'][_0x1989('0x6b')](_0x52ebcc,_0x1989('0x67'));_0x2eb2cf['isCollapsed']&&(_0xb8dad1=_0x2eb2cf['start']),_0x387d37[_0x1989('0x2c')]&&(_0x52ebcc=_0x387d37['end']),_0x889e7a([_0x519371['model'][_0x1989('0x1')](_0xb8dad1,_0x52ebcc)]);}),_0x140b7f[_0x1989('0x48')]['registerCustomCallback'](_0x1989('0x76'),_0x1989('0x25'),'chain',_0x1bdb5d),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x1f'),'convertInlineImageToBlock',_0x1989('0x69'),_0x1bdb5d)),_0x519371[_0x1989('0x3c')][_0x1989('0x6f')](_0x1989('0x5d'))&&(_0x140b7f['enableCommand'](_0x1989('0x5e'),(_0x5b794d,_0x413a6f)=>{const _0x3baa06=_0x519371[_0x1989('0x3c')]['get']('ImageCaptionUtils');let _0x460295=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),_0x5e3bab=_0x3baa06[_0x1989('0x4e')](_0x460295);_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{if(_0x5e3bab)return void _0x140b7f[_0x1989('0x1b')](_0x519371[_0x1989('0x19')][_0x1989('0x20')](_0x5e3bab));const _0x9e141b=_0xe9a30f[_0x1989('0x70')](_0x460295);_0x5b794d(_0x413a6f),_0x460295=_0xe9a30f['getClosestSelectedImageElement'](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),_0x5e3bab=_0x3baa06[_0x1989('0x4e')](_0x460295),_0x140b7f['markInsertion'](_0x519371[_0x1989('0x19')][_0x1989('0x20')](_0x5e3bab),_0x9e141b?null:_0x1989('0x58'));});}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')]('insertion',_0x1989('0x58'),_0x1989('0x69'),_0x1bdb5d)),_0x519371[_0x1989('0x3c')]['has']('ImageStyleEditing')){_0x140b7f[_0x1989('0x47')]('imageStyle',(_0x7e6504,_0x16276d)=>{const _0x31f24e=_0x519371[_0x1989('0x3c')][_0x1989('0x40')]('Users')['me'],_0x53088d=_0x519371[_0x1989('0x63')]['get']('imageStyle');let _0xaf23ca=_0xe9a30f['getClosestSelectedImageElement'](_0x519371[_0x1989('0x19')]['document']['selection']),_0x1e6df5=_0x519371[_0x1989('0x19')][_0x1989('0x20')](_0xaf23ca),_0x214871=_0x53088d[_0x1989('0x4b')];if(_0x214871==_0x16276d[_0x1989('0x4b')])return;const _0x34e0a1={'commandName':_0x1989('0x1d'),'commandParams':[_0x16276d],'formatGroupId':_0x5170e0()};_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{if(_0x140b7f[_0x1989('0x59')]()['filter'](_0x470d65=>_0x470d65[_0x1989('0x14')]&&_0x31f24e==_0x470d65[_0x1989('0x0')]&&(_0x1989('0x76')==_0x470d65['type']||_0x1989('0xd')==_0x470d65[_0x1989('0x31')])&&(_0x1989('0x3')==_0x470d65[_0x1989('0x44')]||'imageStylePostApply'==_0x470d65[_0x1989('0x44')])&&_0x470d65[_0x1989('0x5')]()['isEqual'](_0x1e6df5))[_0x1989('0x77')](_0x428b4d=>_0x140b7f[_0x1989('0x32')](_0x428b4d[_0x1989('0x41')])),_0xaf23ca=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),_0x1e6df5=_0x519371['model']['createRangeOn'](_0xaf23ca),_0x53088d[_0x1989('0x3a')](),_0x519371[_0x1989('0x63')][_0x1989('0x40')](_0x1989('0x11'))[_0x1989('0x3a')](),_0x519371[_0x1989('0x63')][_0x1989('0x40')]('imageTypeBlock')[_0x1989('0x3a')](),_0x214871=_0x53088d[_0x1989('0x4b')],_0x214871!=_0x16276d[_0x1989('0x4b')])return _0xe9a30f[_0x1989('0x64')](_0xaf23ca)&&_0x53088d[_0x1989('0x75')](_0x16276d[_0x1989('0x4b')],_0xaf23ca)?(_0x7e6504(_0x16276d),_0xaf23ca=_0xe9a30f[_0x1989('0x4c')](_0x519371[_0x1989('0x19')][_0x1989('0x37')][_0x1989('0x43')]),void _0x140b7f[_0x1989('0x54')](_0xaf23ca,{..._0x34e0a1,'commandReversedParams':[{'value':_0x214871||null}]},[],_0x1989('0x3'))):void(_0xe9a30f[_0x1989('0x70')](_0xaf23ca)?_0x140b7f[_0x1989('0x54')](_0xaf23ca,_0x34e0a1,[],'imageStylePostApply'):_0x140b7f['markInlineFormat'](_0x1e6df5,_0x34e0a1,_0x1989('0x2b')));});});for(const _0x3c21bb of _0x519371['plugins'][_0x1989('0x40')](_0x1989('0x50'))[_0x1989('0x3f')])_0x1a4ce2[_0x3c21bb[_0x1989('0x66')]]=_0x3c21bb[_0x1989('0x46')][_0x1989('0x78')]();_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),_0x1989('0x3'),_0x1989('0x5c'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),_0x1989('0x2b'),_0x1989('0x5c'),()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0xd'),_0x1989('0x2b'),'join',()=>{}),_0x140b7f['_suggestionFactory']['registerCustomCallback'](_0x1989('0x76'),_0x1989('0x3'),'accept',()=>{}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),_0x1989('0x3'),'discard',(_0x480b93,_0x36dd5b)=>{_0x140b7f[_0x1989('0x48')][_0x1989('0x38')](_0x1989('0x76'),'',_0x1989('0x26'))(_0x480b93,{'commandName':_0x36dd5b[_0x1989('0x53')],'commandParams':_0x36dd5b['commandReversedParams']});}),_0x140b7f[_0x1989('0x48')][_0x1989('0x74')](_0x1989('0x76'),'imageStylePreApply',_0x1989('0x69'),_0x1bdb5d);}const _0x522e51=[{'type':_0x1989('0x76'),'subType':_0x1989('0x3')},{'type':_0x1989('0x1f'),'subType':_0x1989('0x58')},{'type':_0x1989('0x76'),'subType':_0x1989('0x25')},{'type':'insertion','subType':_0x1989('0x25')}];function _0x845d14(_0x45424b,_0x367c0c){const _0x8c6dbe=_0x522e51['findIndex'](({type:_0x518089,subType:_0x803e92})=>_0x45424b[_0x1989('0x31')]==_0x518089&&_0x45424b[_0x1989('0x44')]==_0x803e92),_0x49ce2d=_0x522e51[_0x1989('0x3e')](({type:_0x4d9cd2,subType:_0x26eb2f})=>_0x367c0c['type']==_0x4d9cd2&&_0x367c0c['subType']==_0x26eb2f);if(_0x8c6dbe<0x0||_0x49ce2d<0x0)return!0x1;const _0x239971=_0x45424b[_0x1989('0x5')](),_0x56ea54=_0x367c0c[_0x1989('0x5')]();if((0x0==_0x8c6dbe||0x1==_0x8c6dbe)&&0x2==_0x49ce2d&&_0x239971[_0x1989('0x2f')](_0x56ea54))return!0x0;if(0x2==_0x8c6dbe&&0x3==_0x49ce2d){const _0x5c99e0=_0x140b7f[_0x1989('0x56')](_0x239971,_0x1989('0x1f'))[_0x1989('0x2')](({suggestion:_0x457950,meta:_0x34295b})=>_0x34295b['isOwn']&&_0x1989('0x25')==_0x457950[_0x1989('0x44')]);if(_0x5c99e0[_0x1989('0x42')]>0x1&&_0x56ea54[_0x1989('0x23')][_0x1989('0x10')](_0x239971[_0x1989('0x9')]))return!0x0;if(0x1==_0x5c99e0['length']&&(_0x239971['start'][_0x1989('0x10')](_0x56ea54[_0x1989('0x23')])||_0x239971['end'][_0x1989('0x10')](_0x56ea54['start'])))return!0x0;}if(0x3==_0x8c6dbe&&0x3==_0x49ce2d&&_0x239971[_0x1989('0x9')][_0x1989('0x2e')](_0x56ea54[_0x1989('0x9')])){const _0x1e206b=_0x239971[_0x1989('0x23')][_0x1989('0x3d')],_0x5b0748=_0x56ea54['start']['nodeBefore'];return _0xe9a30f[_0x1989('0x70')](_0x1e206b)&&_0x1e206b===_0x5b0748;}return!0x1;}function _0x1bdb5d(_0x17f308,_0x467e6f){return _0x845d14(_0x17f308,_0x467e6f)?[_0x17f308,_0x467e6f]:_0x845d14(_0x467e6f,_0x17f308)?[_0x467e6f,_0x17f308]:null;}_0x519371[_0x1989('0x19')]['document'][_0x1989('0x29')](()=>{let _0x1e1db4=!0x1;const _0x530e97=Array[_0x1989('0x3b')](_0x519371['model'][_0x1989('0x37')][_0x1989('0x62')]['getChangedMarkers']());for(const {name:_0x1f878c,data:_0x2348f7}of _0x530e97){const {group:_0x50f9e2,type:_0x2853e4,subType:_0x1af356,id:_0x5daedc}=_0x140b7f[_0x1989('0x34')](_0x1f878c);if(_0x1989('0x61')==_0x50f9e2&&_0x140b7f[_0x1989('0x6d')](_0x5daedc)){if(_0x1989('0x76')==_0x2853e4&&(_0x1989('0x3')==_0x1af356||_0x1989('0x2b')==_0x1af356)){const _0x5e0ffa=_0x140b7f['getSuggestion'](_0x5daedc);if(_0x2348f7['newRange']){const _0xeafd0f=_0x5e0ffa[_0x1989('0x5')]()[_0x1989('0x28')]();if(_0xe9a30f[_0x1989('0x70')](_0xeafd0f))continue;_0x140b7f['discardSuggestion'](_0x5e0ffa),_0x1e1db4=!0x0;}}if(_0x1989('0x1f')==_0x2853e4&&_0x1989('0x58')==_0x1af356&&!_0x2348f7[_0x1989('0x79')]){const _0x5b2905=_0x140b7f[_0x1989('0x21')](_0x5daedc);_0x5b2905[_0x1989('0x5b')]&&_0x5b2905[_0x1989('0x5b')][_0x1989('0x14')]&&(_0x140b7f[_0x1989('0x32')](_0x5b2905[_0x1989('0x5b')]),_0x1e1db4=!0x0);}}}return _0x1e1db4;}),_0x519371['plugins'][_0x1989('0x6f')](_0x1989('0x6a'))&&_0x140b7f[_0x1989('0x47')]('resizeImage',(_0x4d07b5,_0x45eb1d)=>{const _0x546db3=_0xe9a30f['getClosestSelectedImageElement'](_0x519371['model'][_0x1989('0x37')][_0x1989('0x43')]);_0x546db3[_0x1989('0x1a')]('width')!=_0x45eb1d['width']&&_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{_0x140b7f[_0x1989('0x54')](_0x546db3,{'commandName':_0x1989('0x33'),'commandParams':[_0x45eb1d]});});}),_0x519371[_0x1989('0x3c')][_0x1989('0x6f')](_0x1989('0x6'))&&_0x140b7f[_0x1989('0x47')](_0x1989('0x49'),(_0x2bef86,_0x83ce54)=>{const _0x29fc21=_0xe9a30f[_0x1989('0x4c')](_0x519371['model'][_0x1989('0x37')]['selection']);(_0x29fc21['hasAttribute']('alt')?_0x29fc21[_0x1989('0x1a')](_0x1989('0x72')):'')!=_0x83ce54[_0x1989('0x51')]&&_0x519371[_0x1989('0x19')][_0x1989('0xb')](()=>{_0x140b7f[_0x1989('0x54')](_0x29fc21,{'commandName':_0x1989('0x49'),'commandParams':[_0x83ce54]});});}),_0x140b7f[_0x1989('0x4')][_0x1989('0x7')](_0x2c5b67=>{if(!!_0x522e51[_0x1989('0x13')](({type:_0x5a1f43,subType:_0x57b540})=>_0x2c5b67[_0x1989('0x31')]==_0x5a1f43&&_0x2c5b67[_0x1989('0x44')]==_0x57b540))return _0x2c5b67[_0x1989('0x5a')]?{}:void 0x0;}),_0x140b7f[_0x1989('0x4')][_0x1989('0x7')](_0x4dc5a8=>{if(_0x1989('0x1f')==_0x4dc5a8[_0x1989('0x31')]||_0x1989('0x1c')==_0x4dc5a8[_0x1989('0x31')]){const _0x44f200=_0x4dc5a8[_0x1989('0x28')]();if(_0x44f200&&_0x44f200['is'](_0x1989('0x57'),_0x1989('0x17')))return{'type':_0x1989('0x1f')==_0x4dc5a8[_0x1989('0x31')]?_0x1989('0xc'):_0x1989('0x55'),'element':_0x44f200,'quantity':0x1};}}),_0x140b7f[_0x1989('0x4')]['registerDescriptionCallback'](_0x2d2cdf=>_0x1989('0x76')==_0x2d2cdf[_0x1989('0x31')]&&'convertInlineImageToBlock'==_0x2d2cdf[_0x1989('0x44')]?{'type':_0x1989('0x4d'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x2d2cdf[_0x1989('0x31')]&&_0x1989('0x60')==_0x2d2cdf[_0x1989('0x44')]?{'type':_0x1989('0x4d'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x140b7f[_0x1989('0x4')]['registerDescriptionCallback'](_0x4d2523=>{const {data:_0x4f4676}=_0x4d2523;if(_0x4f4676){if(_0x1989('0x1d')==_0x4f4676[_0x1989('0x53')]){const _0x35afb8=_0x4f4676[_0x1989('0x39')][0x0]['value'];return _0x4de1cc(_0x1989('0x7b')===_0x35afb8?_0x45eb9e(_0x515592,_0x1989('0x5f')):_0x1a4ce2[_0x35afb8]||_0x35afb8);}if(_0x1989('0x49')==_0x4f4676['commandName']){const _0x4e248b=_0x4f4676[_0x1989('0x39')][0x0][_0x1989('0x51')];return _0x4e248b?{'type':'format','content':_0x45eb9e(_0x515592,_0x1989('0x30'),'\x22'+_0x4e248b+'\x22')}:{'type':'format','content':_0x45eb9e(_0x515592,_0x1989('0x18'))};}if(_0x1989('0x33')==_0x4f4676['commandName']){const _0x361f1e=_0x4f4676['commandParams'][0x0][_0x1989('0x24')];return _0x361f1e?{'type':_0x1989('0x4d'),'content':_0x45eb9e(_0x515592,_0x1989('0x35'),_0x361f1e)}:{'type':'format','content':_0x45eb9e(_0x515592,'*Reset\x20image\x20width*')};}}function _0x4de1cc(_0x11312e){return{'type':_0x1989('0x4d'),'content':_0x45eb9e(_0x515592,'*Format:*\x20%0',_0x11312e)};}});}}
23
+ const _0x3443=['isBefore','getSuggestionCallback','editor','subType','deletion','imageCaption','markInlineFormat','afterInit','plugins','refresh','isInContent','registerPostFixer','join','getClosestSelectedImageElement','getAttribute','imageStylePostApply','Inline\x20image\x20to\x20block\x20image','markBlockFormat','ImageStyleEditing','registerCustomCallback','registerElementLabel','format','filter','ELEMENT_CAPTION','isBlockImage','differ','shouldConvertImageType','enableCommand','imageTextAlternative','suggestion','imageStyle','next','ImageTextAlternativeEditing','head','type','imageStylePreApply','markInsertion','getChangedMarkers','model','detach','discard','getContainedElement','*Set\x20image\x20width:*\x20%0','insertion','accept','commandName','ImageCaptionUtils','ELEMENT_IMAGE','_splitMarkerName','toPrevious','hasSuggestion','start','forceDefaultExecution','nodeAfter','*Format:*\x20%0','from','forEach','Users','convertInlineImageToBlock','backward','discardSuggestion','getFirstRange','ImageCaptionEditing','selection','caption','_findSuggestions','formatBlock','document','setImageNaturalSizeAttributes','chain','createRange','fromPosition','change','getNearestSelectionRange','convertBlockImageToInline','getCaptionFromImageModelElement','getSuggestions','Block\x20image\x20to\x20inline\x20image','previous','isOwn','registerDescriptionCallback','forward','alt','newValue','resizedWidth','hasAttribute','get','uploadImage','end','schema','has','isCollapsed','element','resizeImage','locale','findIndex','toNext','find','nodeBefore','createRangeOn','ImageInlineEditing','isInlineImage','getSuggestion','newRange','ImageBlockEditing','toLowerCase','*Reset\x20image\x20width*','length','_suggestionFactory','value','imageTypeInline','commandReversedParams','*Remove\x20image\x20text\x20alternative*','side','formatInline','isEqual','commands','imageInline','markDeletion','_descriptionFactory'];(function(_0x468396,_0x344356){const _0x58ddae=function(_0x206f23){while(--_0x206f23){_0x468396['push'](_0x468396['shift']());}};_0x58ddae(++_0x344356);}(_0x3443,0x18c));const _0x58dd=function(_0x468396,_0x344356){_0x468396=_0x468396-0x0;let _0x58ddae=_0x3443[_0x468396];return _0x58ddae;};import{Plugin as _0x59c4a4}from'ckeditor5/src/core';import{LivePosition as _0x5cfbca}from'ckeditor5/src/engine';import{uid as _0x1f19d4}from'ckeditor5/src/utils';import{getTranslation as _0x1d6875}from'../utils/common-translations';export default class Y extends _0x59c4a4{[_0x58dd('0x5b')](){const _0x18ebb7=this[_0x58dd('0x56')];if(!_0x18ebb7[_0x58dd('0x5c')]['has']('ImageEditing'))return;const _0x28d39e=_0x18ebb7['plugins'][_0x58dd('0x32')]('TrackChangesEditing'),_0xbfde1f=_0x18ebb7[_0x58dd('0x5c')]['get']('ImageUtils'),_0x1b6fac={},_0xffdc90=_0x18ebb7[_0x58dd('0x3a')];if(_0x28d39e['enableCommand']('insertImage'),_0x28d39e['_descriptionFactory'][_0x58dd('0x68')]('imageBlock',_0x16e1d4=>_0x1d6875(_0xffdc90,_0x58dd('0xb'),_0x16e1d4)),_0x28d39e[_0x58dd('0x53')][_0x58dd('0x68')](_0x58dd('0x51'),_0x2b7732=>_0x1d6875(_0xffdc90,'ELEMENT_INLINE_IMAGE',_0x2b7732)),_0x28d39e['_descriptionFactory'][_0x58dd('0x68')](_0x58dd('0x1c'),()=>_0x1d6875(_0xffdc90,_0x58dd('0x6b'))),_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x36')]('ImageUploadEditing')&&_0x28d39e[_0x58dd('0x6f')](_0x58dd('0x33')),_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x36')](_0x58dd('0x44'))&&_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x36')](_0x58dd('0x40'))&&(_0x28d39e['enableCommand'](_0x58dd('0x4a'),(_0x484d1a,_0xf5162f)=>{const _0xa0b123=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')]['document'][_0x58dd('0x1b')]);_0x18ebb7[_0x58dd('0x2')]['change'](()=>{_0x28d39e[_0x58dd('0x65')](_0xa0b123,{'commandName':_0x58dd('0x4a'),'commandParams':[_0xf5162f]},[],_0x58dd('0x26'));});}),_0x28d39e[_0x58dd('0x6f')]('imageTypeBlock',(_0x4ddd51,_0x2cd245)=>{_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x24')](_0xa56ce8=>{let _0x3fe709=_0xbfde1f['getClosestSelectedImageElement'](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x1b')]),_0x3e4b13=_0xa56ce8['createRangeOn'](_0x3fe709);const _0x46f1e4=_0x5cfbca['fromPosition'](_0x3e4b13[_0x58dd('0xf')],_0x58dd('0xd')),_0x277fdb=_0x5cfbca[_0x58dd('0x23')](_0x3e4b13[_0x58dd('0x34')],_0x58dd('0x3c'));_0x28d39e[_0x58dd('0x10')](()=>_0x4ddd51(_0x2cd245)),_0x3fe709=_0xbfde1f['getClosestSelectedImageElement'](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')]['selection']),_0x3e4b13=_0xa56ce8[_0x58dd('0x3f')](_0x3fe709);const _0x559cad=_0xa56ce8[_0x58dd('0x22')](_0x46f1e4,_0x277fdb);_0x46f1e4[_0x58dd('0x3')](),_0x277fdb[_0x58dd('0x3')](),_0x28d39e['markBlockFormat'](_0x3fe709,{'commandName':_0x58dd('0x4a'),'commandParams':[_0x2cd245]},[],_0x58dd('0x16')),_0x559cad['start']['isBefore'](_0x3e4b13[_0x58dd('0xf')])&&_0x28d39e[_0x58dd('0x0')](_0xa56ce8[_0x58dd('0x22')](_0x559cad['start'],_0x3e4b13[_0x58dd('0xf')]),_0x58dd('0x16')),_0x3e4b13[_0x58dd('0x34')]['isBefore'](_0x559cad[_0x58dd('0x34')])&&_0x28d39e[_0x58dd('0x0')](_0xa56ce8[_0x58dd('0x22')](_0x3e4b13['end'],_0x559cad[_0x58dd('0x34')]),'convertInlineImageToBlock');});}),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')]('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x28d39e[_0x58dd('0x48')]['registerCustomCallback'](_0x58dd('0x1e'),'convertInlineImageToBlock',_0x58dd('0x8'),()=>!0x1),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x16'),'discard',_0x28d39e[_0x58dd('0x48')]['getSuggestionCallback'](_0x58dd('0x1e'),'',_0x58dd('0x8'))),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')](_0x58dd('0x7'),'convertInlineImageToBlock','join',()=>!0x1),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')](_0x58dd('0x7'),_0x58dd('0x16'),_0x58dd('0x4'),([_0x11cdd4])=>{const _0x31d052=_0x28d39e['_suggestionFactory'][_0x58dd('0x55')](_0x58dd('0x7'),'',_0x58dd('0x4'));let _0x12d001=_0x11cdd4[_0x58dd('0xf')],_0x45b024=_0x11cdd4[_0x58dd('0x34')];const _0x279de7=_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x35')][_0x58dd('0x25')](_0x12d001,_0x58dd('0x17')),_0x2f68af=_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x35')][_0x58dd('0x25')](_0x45b024,_0x58dd('0x2d'));_0x279de7['isCollapsed']&&(_0x12d001=_0x279de7[_0x58dd('0xf')]),_0x2f68af[_0x58dd('0x37')]&&(_0x45b024=_0x2f68af[_0x58dd('0x34')]),_0x31d052([_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x22')](_0x12d001,_0x45b024)]);}),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x16'),'chain',_0x11d686),_0x28d39e[_0x58dd('0x48')]['registerCustomCallback']('insertion',_0x58dd('0x16'),_0x58dd('0x21'),_0x11d686)),_0x18ebb7[_0x58dd('0x5c')]['has'](_0x58dd('0x1a'))&&(_0x28d39e['enableCommand']('toggleImageCaption',(_0x41f80d,_0x371454)=>{const _0x4406bf=_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x32')](_0x58dd('0xa'));let _0x875969=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')]['selection']),_0x2d196e=_0x4406bf[_0x58dd('0x27')](_0x875969);_0x18ebb7[_0x58dd('0x2')]['change'](()=>{if(_0x2d196e)return void _0x28d39e[_0x58dd('0x52')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x3f')](_0x2d196e));const _0x4e84d7=_0xbfde1f[_0x58dd('0x6c')](_0x875969);_0x41f80d(_0x371454),_0x875969=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7['model'][_0x58dd('0x1f')]['selection']),_0x2d196e=_0x4406bf[_0x58dd('0x27')](_0x875969),_0x28d39e[_0x58dd('0x0')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x3f')](_0x2d196e),_0x4e84d7?null:_0x58dd('0x59'));});}),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')](_0x58dd('0x7'),_0x58dd('0x59'),_0x58dd('0x21'),_0x11d686)),_0x18ebb7[_0x58dd('0x5c')][_0x58dd('0x36')](_0x58dd('0x66'))){_0x28d39e[_0x58dd('0x6f')](_0x58dd('0x72'),(_0x4aa84e,_0x24ec3d)=>{const _0x26b84b=_0x18ebb7['plugins']['get'](_0x58dd('0x15'))['me'],_0x1f0054=_0x18ebb7['commands'][_0x58dd('0x32')](_0x58dd('0x72'));let _0x309654=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x1b')]),_0x1fe555=_0x18ebb7['model'][_0x58dd('0x3f')](_0x309654),_0x2f6619=_0x1f0054['value'];if(_0x2f6619==_0x24ec3d[_0x58dd('0x49')])return;const _0x515128={'commandName':_0x58dd('0x72'),'commandParams':[_0x24ec3d],'formatGroupId':_0x1f19d4()};_0x18ebb7['model'][_0x58dd('0x24')](()=>{if(_0x28d39e[_0x58dd('0x28')]()[_0x58dd('0x6a')](_0x42cb68=>_0x42cb68[_0x58dd('0x5e')]&&_0x26b84b==_0x42cb68['author']&&(_0x58dd('0x1e')==_0x42cb68[_0x58dd('0x76')]||_0x58dd('0x4e')==_0x42cb68[_0x58dd('0x76')])&&('imageStylePreApply'==_0x42cb68[_0x58dd('0x57')]||_0x58dd('0x63')==_0x42cb68[_0x58dd('0x57')])&&_0x42cb68['getFirstRange']()[_0x58dd('0x4f')](_0x1fe555))[_0x58dd('0x14')](_0x45ed13=>_0x28d39e['discardSuggestion'](_0x45ed13[_0x58dd('0x75')])),_0x309654=_0xbfde1f['getClosestSelectedImageElement'](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x1b')]),_0x1fe555=_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x3f')](_0x309654),_0x1f0054['refresh'](),_0x18ebb7[_0x58dd('0x50')]['get']('imageTypeInline')[_0x58dd('0x5d')](),_0x18ebb7[_0x58dd('0x50')][_0x58dd('0x32')]('imageTypeBlock')[_0x58dd('0x5d')](),_0x2f6619=_0x1f0054['value'],_0x2f6619!=_0x24ec3d[_0x58dd('0x49')])return _0xbfde1f[_0x58dd('0x41')](_0x309654)&&_0x1f0054[_0x58dd('0x6e')](_0x24ec3d['value'],_0x309654)?(_0x4aa84e({..._0x24ec3d,'setImageSizes':!0x1}),_0x309654=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')]['selection']),void _0x28d39e[_0x58dd('0x65')](_0x309654,{..._0x515128,'commandReversedParams':[{'value':_0x2f6619||null,'setImageSizes':!0x1}]},[],_0x58dd('0x77'))):void(_0xbfde1f[_0x58dd('0x6c')](_0x309654)?_0x28d39e[_0x58dd('0x65')](_0x309654,_0x515128,[],_0x58dd('0x63')):_0x28d39e[_0x58dd('0x5a')](_0x1fe555,_0x515128,_0x58dd('0x63')));});});for(const _0xd026be of _0x18ebb7[_0x58dd('0x5c')]['get'](_0x58dd('0x66'))['normalizedStyles'])_0x1b6fac[_0xd026be['name']]=_0xd026be['title'][_0x58dd('0x45')]();_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x77'),'join',()=>!0x1),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x63'),_0x58dd('0x60'),()=>!0x1),_0x28d39e[_0x58dd('0x48')][_0x58dd('0x67')]('formatInline',_0x58dd('0x63'),_0x58dd('0x60'),()=>!0x1),_0x28d39e[_0x58dd('0x48')]['registerCustomCallback'](_0x58dd('0x1e'),_0x58dd('0x77'),_0x58dd('0x8'),([_0x43341a])=>{_0xbfde1f[_0x58dd('0x20')](_0x43341a[_0x58dd('0x5')]());}),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')](_0x58dd('0x1e'),_0x58dd('0x77'),_0x58dd('0x4'),(_0x49acec,_0x2b3329)=>{_0x28d39e[_0x58dd('0x48')][_0x58dd('0x55')](_0x58dd('0x1e'),'',_0x58dd('0x8'))(_0x49acec,{'commandName':_0x2b3329[_0x58dd('0x9')],'commandParams':_0x2b3329[_0x58dd('0x4b')]});}),_0x28d39e['_suggestionFactory'][_0x58dd('0x67')]('formatBlock','imageStylePreApply',_0x58dd('0x21'),_0x11d686);}const _0xc6006b=[{'type':_0x58dd('0x1e'),'subType':_0x58dd('0x77')},{'type':_0x58dd('0x7'),'subType':_0x58dd('0x59')},{'type':_0x58dd('0x1e'),'subType':_0x58dd('0x16')},{'type':_0x58dd('0x7'),'subType':_0x58dd('0x16')}];function _0x58bc94(_0x24a5c2,_0x3118a3){const _0x5e0712=_0xc6006b[_0x58dd('0x3b')](({type:_0x11234c,subType:_0x2d204c})=>_0x24a5c2[_0x58dd('0x76')]==_0x11234c&&_0x24a5c2['subType']==_0x2d204c),_0x19aaf9=_0xc6006b[_0x58dd('0x3b')](({type:_0x2646be,subType:_0x8cd84c})=>_0x3118a3[_0x58dd('0x76')]==_0x2646be&&_0x3118a3[_0x58dd('0x57')]==_0x8cd84c);if(_0x5e0712<0x0||_0x19aaf9<0x0)return!0x1;const _0x511971=_0x24a5c2[_0x58dd('0x19')](),_0x40bed8=_0x3118a3[_0x58dd('0x19')]();if((0x0==_0x5e0712||0x1==_0x5e0712)&&0x2==_0x19aaf9&&_0x511971['isIntersecting'](_0x40bed8))return!0x0;if(0x2==_0x5e0712&&0x3==_0x19aaf9){const _0x3af161=_0x28d39e[_0x58dd('0x1d')](_0x511971,_0x58dd('0x7'))['filter'](({suggestion:_0x28ec92,meta:_0x4e5d84})=>_0x4e5d84[_0x58dd('0x2b')]&&_0x58dd('0x16')==_0x28ec92[_0x58dd('0x57')]);if(_0x3af161[_0x58dd('0x47')]>0x1&&_0x40bed8[_0x58dd('0x34')]['isEqual'](_0x511971['start']))return!0x0;if(0x1==_0x3af161['length']&&(_0x511971[_0x58dd('0xf')]['isEqual'](_0x40bed8[_0x58dd('0x34')])||_0x511971[_0x58dd('0x34')][_0x58dd('0x4f')](_0x40bed8[_0x58dd('0xf')])))return!0x0;}if(0x3==_0x5e0712&&0x3==_0x19aaf9&&_0x511971['start'][_0x58dd('0x54')](_0x40bed8[_0x58dd('0xf')])){const _0x2f9dc8=_0x511971[_0x58dd('0x34')][_0x58dd('0x11')],_0x383cc6=_0x40bed8[_0x58dd('0xf')][_0x58dd('0x3e')];return _0xbfde1f['isBlockImage'](_0x2f9dc8)&&_0x2f9dc8===_0x383cc6;}return!0x1;}function _0x11d686(_0x46338f,_0xe40f80){return _0x58bc94(_0x46338f,_0xe40f80)?[_0x46338f,_0xe40f80]:_0x58bc94(_0xe40f80,_0x46338f)?[_0xe40f80,_0x46338f]:null;}_0x18ebb7['model']['document'][_0x58dd('0x5f')](()=>{let _0x1f49df=!0x1;const _0x2c1ee8=Array[_0x58dd('0x13')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x6d')][_0x58dd('0x1')]());for(const {name:_0x5b31a6,data:_0x539cd8}of _0x2c1ee8){const {group:_0x307937,type:_0x2f4739,subType:_0x25f8f5,id:_0x26cd16}=_0x28d39e[_0x58dd('0xc')](_0x5b31a6);if(_0x58dd('0x71')==_0x307937&&_0x28d39e[_0x58dd('0xe')](_0x26cd16)){if(_0x58dd('0x1e')==_0x2f4739&&(_0x58dd('0x77')==_0x25f8f5||_0x58dd('0x63')==_0x25f8f5)){const _0x4df89e=_0x28d39e[_0x58dd('0x42')](_0x26cd16);if(_0x539cd8[_0x58dd('0x43')]){const _0xbe64ad=_0x4df89e[_0x58dd('0x19')]()[_0x58dd('0x5')]();if(_0xbfde1f[_0x58dd('0x6c')](_0xbe64ad))continue;_0x28d39e[_0x58dd('0x18')](_0x4df89e),_0x1f49df=!0x0;}}if('insertion'==_0x2f4739&&_0x58dd('0x59')==_0x25f8f5&&!_0x539cd8['newRange']){const _0x2d55ee=_0x28d39e[_0x58dd('0x42')](_0x26cd16);_0x2d55ee['next']&&_0x2d55ee[_0x58dd('0x73')]['isInContent']&&(_0x28d39e['discardSuggestion'](_0x2d55ee['next']),_0x1f49df=!0x0);}}}return _0x1f49df;}),_0x18ebb7['plugins']['has']('ImageResize')&&_0x28d39e[_0x58dd('0x6f')](_0x58dd('0x39'),(_0x44ff55,_0x2ab065)=>{const _0x490cec=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')]['document'][_0x58dd('0x1b')]);_0x490cec[_0x58dd('0x62')](_0x58dd('0x30'))!=_0x2ab065['width']&&_0x18ebb7['model'][_0x58dd('0x24')](()=>{_0x28d39e[_0x58dd('0x65')](_0x490cec,{'commandName':'resizeImage','commandParams':[_0x2ab065]});});}),_0x18ebb7['plugins'][_0x58dd('0x36')](_0x58dd('0x74'))&&_0x28d39e[_0x58dd('0x6f')](_0x58dd('0x70'),(_0x105ae9,_0x517c05)=>{const _0x5c6303=_0xbfde1f[_0x58dd('0x61')](_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x1f')][_0x58dd('0x1b')]);(_0x5c6303[_0x58dd('0x31')]('alt')?_0x5c6303[_0x58dd('0x62')](_0x58dd('0x2e')):'')!=_0x517c05[_0x58dd('0x2f')]&&_0x18ebb7[_0x58dd('0x2')][_0x58dd('0x24')](()=>{_0x28d39e[_0x58dd('0x65')](_0x5c6303,{'commandName':_0x58dd('0x70'),'commandParams':[_0x517c05]});});}),_0x28d39e['_descriptionFactory'][_0x58dd('0x2c')](_0x29a5e7=>{if(!!_0xc6006b[_0x58dd('0x3d')](({type:_0x107bca,subType:_0x4dd03a})=>_0x29a5e7[_0x58dd('0x76')]==_0x107bca&&_0x29a5e7[_0x58dd('0x57')]==_0x4dd03a))return _0x29a5e7[_0x58dd('0x2a')]?{}:void 0x0;}),_0x28d39e[_0x58dd('0x53')][_0x58dd('0x2c')](_0x27cce4=>{if(_0x58dd('0x7')==_0x27cce4[_0x58dd('0x76')]||_0x58dd('0x58')==_0x27cce4[_0x58dd('0x76')]){const _0xb71b12=_0x27cce4[_0x58dd('0x5')]();if(_0xb71b12&&_0xb71b12['is'](_0x58dd('0x38'),_0x58dd('0x1c')))return{'type':_0x58dd('0x7')==_0x27cce4['type']?'addObject':'removeObject','element':_0xb71b12,'quantity':0x1};}}),_0x28d39e['_descriptionFactory'][_0x58dd('0x2c')](_0x57ed2b=>_0x58dd('0x1e')==_0x57ed2b[_0x58dd('0x76')]&&_0x58dd('0x16')==_0x57ed2b['subType']?{'type':_0x58dd('0x69'),'content':_0x58dd('0x64')}:_0x58dd('0x1e')==_0x57ed2b[_0x58dd('0x76')]&&_0x58dd('0x26')==_0x57ed2b[_0x58dd('0x57')]?{'type':_0x58dd('0x69'),'content':_0x58dd('0x29')}:void 0x0),_0x28d39e[_0x58dd('0x53')]['registerDescriptionCallback'](_0x1e6972=>{const {data:_0x5d40ac}=_0x1e6972;if(_0x5d40ac){if(_0x58dd('0x72')==_0x5d40ac[_0x58dd('0x9')]){const _0x5d9799=_0x5d40ac['commandParams'][0x0][_0x58dd('0x49')];return _0x1f10d2(_0x58dd('0x4d')===_0x5d9799?_0x1d6875(_0xffdc90,'FORMAT_SIDE_IMAGE'):_0x1b6fac[_0x5d9799]||_0x5d9799);}if(_0x58dd('0x70')==_0x5d40ac[_0x58dd('0x9')]){const _0x369747=_0x5d40ac['commandParams'][0x0][_0x58dd('0x2f')];return _0x369747?{'type':'format','content':_0x1d6875(_0xffdc90,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x369747+'\x22')}:{'type':'format','content':_0x1d6875(_0xffdc90,_0x58dd('0x4c'))};}if('resizeImage'==_0x5d40ac[_0x58dd('0x9')]){const _0x425fba=_0x5d40ac['commandParams'][0x0]['width'];return _0x425fba?{'type':_0x58dd('0x69'),'content':_0x1d6875(_0xffdc90,_0x58dd('0x6'),_0x425fba)}:{'type':_0x58dd('0x69'),'content':_0x1d6875(_0xffdc90,_0x58dd('0x46'))};}}function _0x1f10d2(_0x349bdb){return{'type':_0x58dd('0x69'),'content':_0x1d6875(_0xffdc90,_0x58dd('0x12'),_0x349bdb)};}});}}