@ckeditor/ckeditor5-track-changes 35.2.1 → 35.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +1 -1
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es.js +1 -1
  15. package/build/translations/et.js +1 -1
  16. package/build/translations/fi.js +1 -1
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -1
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hr.js +1 -1
  22. package/build/translations/hu.js +1 -1
  23. package/build/translations/id.js +1 -1
  24. package/build/translations/it.js +1 -1
  25. package/build/translations/ja.js +1 -1
  26. package/build/translations/ko.js +1 -1
  27. package/build/translations/lt.js +1 -1
  28. package/build/translations/lv.js +1 -1
  29. package/build/translations/ms.js +1 -1
  30. package/build/translations/nl.js +1 -1
  31. package/build/translations/no.js +1 -1
  32. package/build/translations/pl.js +1 -1
  33. package/build/translations/pt-br.js +1 -1
  34. package/build/translations/pt.js +1 -1
  35. package/build/translations/ro.js +1 -1
  36. package/build/translations/ru.js +1 -1
  37. package/build/translations/sk.js +1 -1
  38. package/build/translations/sr-latn.js +1 -1
  39. package/build/translations/sr.js +1 -1
  40. package/build/translations/sv.js +1 -1
  41. package/build/translations/th.js +1 -1
  42. package/build/translations/tk.js +1 -1
  43. package/build/translations/tr.js +1 -1
  44. package/build/translations/tt.js +1 -1
  45. package/build/translations/uk.js +1 -1
  46. package/build/translations/ur.js +1 -1
  47. package/build/translations/vi.js +1 -1
  48. package/build/translations/zh-cn.js +1 -1
  49. package/build/translations/zh.js +1 -1
  50. package/lang/contexts.json +4 -1
  51. package/lang/translations/ar.po +12 -0
  52. package/lang/translations/az.po +12 -0
  53. package/lang/translations/bg.po +12 -0
  54. package/lang/translations/bn.po +12 -0
  55. package/lang/translations/ca.po +12 -0
  56. package/lang/translations/cs.po +12 -0
  57. package/lang/translations/da.po +12 -0
  58. package/lang/translations/de.po +12 -0
  59. package/lang/translations/el.po +12 -0
  60. package/lang/translations/en-au.po +12 -0
  61. package/lang/translations/en.po +12 -0
  62. package/lang/translations/es.po +12 -0
  63. package/lang/translations/et.po +12 -0
  64. package/lang/translations/fi.po +12 -0
  65. package/lang/translations/fr.po +12 -0
  66. package/lang/translations/gl.po +12 -0
  67. package/lang/translations/he.po +12 -0
  68. package/lang/translations/hi.po +12 -0
  69. package/lang/translations/hr.po +12 -0
  70. package/lang/translations/hu.po +12 -0
  71. package/lang/translations/id.po +12 -0
  72. package/lang/translations/it.po +12 -0
  73. package/lang/translations/ja.po +12 -0
  74. package/lang/translations/ko.po +12 -0
  75. package/lang/translations/lt.po +12 -0
  76. package/lang/translations/lv.po +12 -0
  77. package/lang/translations/ms.po +12 -0
  78. package/lang/translations/nl.po +12 -0
  79. package/lang/translations/no.po +12 -0
  80. package/lang/translations/pl.po +12 -0
  81. package/lang/translations/pt-br.po +12 -0
  82. package/lang/translations/pt.po +12 -0
  83. package/lang/translations/ro.po +12 -0
  84. package/lang/translations/ru.po +12 -0
  85. package/lang/translations/sk.po +12 -0
  86. package/lang/translations/sr-latn.po +12 -0
  87. package/lang/translations/sr.po +12 -0
  88. package/lang/translations/sv.po +12 -0
  89. package/lang/translations/th.po +12 -0
  90. package/lang/translations/tk.po +12 -0
  91. package/lang/translations/tr.po +12 -0
  92. package/lang/translations/tt.po +12 -0
  93. package/lang/translations/uk.po +12 -0
  94. package/lang/translations/ur.po +12 -0
  95. package/lang/translations/vi.po +12 -0
  96. package/lang/translations/zh-cn.po +12 -0
  97. package/lang/translations/zh.po +12 -0
  98. package/package.json +4 -4
  99. package/src/commands/acceptsuggestioncommand.js +1 -1
  100. package/src/commands/discardsuggestioncommand.js +1 -1
  101. package/src/{utils/sortsuggestions.js → commands/executeonallsuggestionscommand.js} +1 -1
  102. package/src/commands/executeonselectedsuggestionscommand.js +23 -0
  103. package/src/commands/trackchangescommand.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/documentlist.js +23 -0
  112. package/src/integrations/entercommand.js +1 -1
  113. package/src/integrations/font.js +1 -1
  114. package/src/integrations/heading.js +1 -1
  115. package/src/integrations/highlight.js +1 -1
  116. package/src/integrations/horizontalline.js +1 -1
  117. package/src/integrations/htmlembed.js +1 -1
  118. package/src/integrations/image.js +1 -1
  119. package/src/integrations/importword.js +1 -1
  120. package/src/integrations/indent.js +1 -1
  121. package/src/integrations/inputcommand.js +1 -1
  122. package/src/integrations/link.js +1 -1
  123. package/src/integrations/list.js +1 -1
  124. package/src/integrations/mediaembed.js +1 -1
  125. package/src/integrations/mention.js +1 -1
  126. package/src/integrations/pagebreak.js +1 -1
  127. package/src/integrations/paragraph.js +1 -1
  128. package/src/integrations/removeformat.js +1 -1
  129. package/src/integrations/restrictededitingmode.js +1 -1
  130. package/src/integrations/shiftentercommand.js +1 -1
  131. package/src/integrations/standardeditingmode.js +1 -1
  132. package/src/integrations/style.js +1 -1
  133. package/src/integrations/table.js +1 -1
  134. package/src/{utils/normalizedescription.js → integrations/tablecaption.js} +1 -1
  135. package/src/integrations/tableclipboard.js +1 -1
  136. package/src/integrations/tableheadings.js +1 -1
  137. package/src/integrations/tablemergesplit.js +1 -1
  138. package/src/integrations/title.js +1 -1
  139. package/src/integrations/undo.js +1 -1
  140. package/src/integrations/utils.js +1 -1
  141. package/src/suggestion.js +1 -1
  142. package/src/suggestiondescriptionfactory.js +1 -1
  143. package/src/trackchanges.js +1 -1
  144. package/src/trackchangesdata.js +1 -1
  145. package/src/trackchangesediting.js +1 -1
  146. package/src/trackchangesui.js +1 -1
  147. package/src/ui/suggestioncontroller.js +1 -1
  148. package/src/ui/view/basesuggestionthreadview.js +1 -1
  149. package/src/ui/view/suggestionthreadview.js +1 -1
  150. package/src/utils/common-translations.js +1 -1
  151. package/src/utils/utils.js +23 -0
  152. package/src/commands/acceptallsuggestionscommand.js +0 -23
  153. package/src/commands/acceptselectedsuggestionscommand.js +0 -23
  154. package/src/commands/discardallsuggestionscommand.js +0 -23
  155. package/src/commands/discardselectedsuggestionscommand.js +0 -23
  156. package/src/utils/getrangesofblockgroups.js +0 -23
  157. package/src/utils/getselectedsuggestions.js +0 -23
  158. package/src/utils/hashobject.js +0 -23
@@ -40,6 +40,14 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr "*Goýmak:* %0"
42
42
 
43
+ msgctxt "A suggestion for inserting an item into another item."
44
+ msgid "*Format:* insert into %0"
45
+ msgstr ""
46
+
47
+ msgctxt "A suggestion for removing item from another item."
48
+ msgid "*Format:* remove from %0"
49
+ msgstr ""
50
+
43
51
  msgctxt "A suggestion for merging cells."
44
52
  msgid "*Merge cells*"
45
53
  msgstr ""
@@ -399,3 +407,7 @@ msgstr "Üýtgeşmeleri yzarlaň"
399
407
  msgctxt "The additional information that suggestion comes from external source."
400
408
  msgid "EXTERNAL_SUGGESTION"
401
409
  msgstr ""
410
+
411
+ msgctxt "The additional information that suggestion comes from imported word file."
412
+ msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
413
+ msgstr ""
@@ -40,6 +40,14 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr "*Ekle:* %0"
42
42
 
43
+ msgctxt "A suggestion for inserting an item into another item."
44
+ msgid "*Format:* insert into %0"
45
+ msgstr ""
46
+
47
+ msgctxt "A suggestion for removing item from another item."
48
+ msgid "*Format:* remove from %0"
49
+ msgstr ""
50
+
43
51
  msgctxt "A suggestion for merging cells."
44
52
  msgid "*Merge cells*"
45
53
  msgstr "*Hücreleri birleştir*"
@@ -399,3 +407,7 @@ msgstr "Parça değişiklikleri"
399
407
  msgctxt "The additional information that suggestion comes from external source."
400
408
  msgid "EXTERNAL_SUGGESTION"
401
409
  msgstr "Bu öneri harici bir kaynaktan geliyor."
410
+
411
+ msgctxt "The additional information that suggestion comes from imported word file."
412
+ msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
413
+ msgstr ""
@@ -40,6 +40,14 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr ""
42
42
 
43
+ msgctxt "A suggestion for inserting an item into another item."
44
+ msgid "*Format:* insert into %0"
45
+ msgstr ""
46
+
47
+ msgctxt "A suggestion for removing item from another item."
48
+ msgid "*Format:* remove from %0"
49
+ msgstr ""
50
+
43
51
  msgctxt "A suggestion for merging cells."
44
52
  msgid "*Merge cells*"
45
53
  msgstr ""
@@ -381,3 +389,7 @@ msgstr ""
381
389
  msgctxt "The additional information that suggestion comes from external source."
382
390
  msgid "EXTERNAL_SUGGESTION"
383
391
  msgstr ""
392
+
393
+ msgctxt "The additional information that suggestion comes from imported word file."
394
+ msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
395
+ msgstr ""
@@ -40,6 +40,14 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr "*Вставте:* %0"
42
42
 
43
+ msgctxt "A suggestion for inserting an item into another item."
44
+ msgid "*Format:* insert into %0"
45
+ msgstr ""
46
+
47
+ msgctxt "A suggestion for removing item from another item."
48
+ msgid "*Format:* remove from %0"
49
+ msgstr ""
50
+
43
51
  msgctxt "A suggestion for merging cells."
44
52
  msgid "*Merge cells*"
45
53
  msgstr "*Об'єднати клітинки*"
@@ -435,3 +443,7 @@ msgstr "Відстежити зміни"
435
443
  msgctxt "The additional information that suggestion comes from external source."
436
444
  msgid "EXTERNAL_SUGGESTION"
437
445
  msgstr "Ця пропозиція виходить із зовнішнього джерела."
446
+
447
+ msgctxt "The additional information that suggestion comes from imported word file."
448
+ msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
449
+ msgstr ""
@@ -40,6 +40,14 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr ""
42
42
 
43
+ msgctxt "A suggestion for inserting an item into another item."
44
+ msgid "*Format:* insert into %0"
45
+ msgstr ""
46
+
47
+ msgctxt "A suggestion for removing item from another item."
48
+ msgid "*Format:* remove from %0"
49
+ msgstr ""
50
+
43
51
  msgctxt "A suggestion for merging cells."
44
52
  msgid "*Merge cells*"
45
53
  msgstr ""
@@ -399,3 +407,7 @@ msgstr ""
399
407
  msgctxt "The additional information that suggestion comes from external source."
400
408
  msgid "EXTERNAL_SUGGESTION"
401
409
  msgstr ""
410
+
411
+ msgctxt "The additional information that suggestion comes from imported word file."
412
+ msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
413
+ msgstr ""
@@ -40,6 +40,14 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr "*Chèn:* %0"
42
42
 
43
+ msgctxt "A suggestion for inserting an item into another item."
44
+ msgid "*Format:* insert into %0"
45
+ msgstr ""
46
+
47
+ msgctxt "A suggestion for removing item from another item."
48
+ msgid "*Format:* remove from %0"
49
+ msgstr ""
50
+
43
51
  msgctxt "A suggestion for merging cells."
44
52
  msgid "*Merge cells*"
45
53
  msgstr "*Hợp nhất ô*"
@@ -381,3 +389,7 @@ msgstr "Theo dõi nội dung thay đổi"
381
389
  msgctxt "The additional information that suggestion comes from external source."
382
390
  msgid "EXTERNAL_SUGGESTION"
383
391
  msgstr "Đề xuất này đến từ một nguồn bên ngoài."
392
+
393
+ msgctxt "The additional information that suggestion comes from imported word file."
394
+ msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
395
+ msgstr ""
@@ -40,6 +40,14 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr "*插入:* %0"
42
42
 
43
+ msgctxt "A suggestion for inserting an item into another item."
44
+ msgid "*Format:* insert into %0"
45
+ msgstr ""
46
+
47
+ msgctxt "A suggestion for removing item from another item."
48
+ msgid "*Format:* remove from %0"
49
+ msgstr ""
50
+
43
51
  msgctxt "A suggestion for merging cells."
44
52
  msgid "*Merge cells*"
45
53
  msgstr "*合并单元格*"
@@ -381,3 +389,7 @@ msgstr "跟踪更改"
381
389
  msgctxt "The additional information that suggestion comes from external source."
382
390
  msgid "EXTERNAL_SUGGESTION"
383
391
  msgstr "此建议来自外部来源。"
392
+
393
+ msgctxt "The additional information that suggestion comes from imported word file."
394
+ msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
395
+ msgstr ""
@@ -40,6 +40,14 @@ msgctxt "A suggestion for inserting an item."
40
40
  msgid "*Insert:* %0"
41
41
  msgstr "*插入:*%0"
42
42
 
43
+ msgctxt "A suggestion for inserting an item into another item."
44
+ msgid "*Format:* insert into %0"
45
+ msgstr ""
46
+
47
+ msgctxt "A suggestion for removing item from another item."
48
+ msgid "*Format:* remove from %0"
49
+ msgstr ""
50
+
43
51
  msgctxt "A suggestion for merging cells."
44
52
  msgid "*Merge cells*"
45
53
  msgstr "*合併儲存格*"
@@ -381,3 +389,7 @@ msgstr "追蹤變更"
381
389
  msgctxt "The additional information that suggestion comes from external source."
382
390
  msgid "EXTERNAL_SUGGESTION"
383
391
  msgstr "此建議來自外部來源。"
392
+
393
+ msgctxt "The additional information that suggestion comes from imported word file."
394
+ msgid "EXTERNAL_IMPORT_WORD_SUGGESTION"
395
+ msgstr ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "35.2.1",
3
+ "version": "35.3.1",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "main": "src/index.js",
29
29
  "dependencies": {
30
- "ckeditor5": "^35.2.1",
31
- "ckeditor5-collaboration": "^35.2.1",
30
+ "ckeditor5": "^35.3.1",
31
+ "ckeditor5-collaboration": "^35.3.1",
32
32
  "lodash-es": "^4.17.11",
33
- "@ckeditor/ckeditor5-style": "^35.2.1"
33
+ "@ckeditor/ckeditor5-style": "^35.3.1"
34
34
  }
35
35
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bb7=['editor','get','_suggestions','plugins','TrackChangesEditing','refresh','isEnabled'];(function(_0x2d67ab,_0x3bb7d4){const _0x1c8051=function(_0x4bd310){while(--_0x4bd310){_0x2d67ab['push'](_0x2d67ab['shift']());}};_0x1c8051(++_0x3bb7d4);}(_0x3bb7,0x122));const _0x1c80=function(_0x2d67ab,_0x3bb7d4){_0x2d67ab=_0x2d67ab-0x0;let _0x1c8051=_0x3bb7[_0x2d67ab];return _0x1c8051;};import{Command as _0x801437}from'ckeditor5/src/core';import{CKEditorError as _0x11b0ec}from'ckeditor5/src/utils';export default class $ extends _0x801437{constructor(_0x338dcc,_0x18574a){super(_0x338dcc),this[_0x1c80('0x6')]=_0x18574a,this[_0x1c80('0x2')]();}[_0x1c80('0x2')](){this[_0x1c80('0x3')]=!0x0;}['execute'](_0x19ecb6){const _0x2fd127=this[_0x1c80('0x6')]['get'](_0x19ecb6);if(!_0x2fd127)throw new _0x11b0ec('track-changes-accept-suggestion-not-found',this);this[_0x1c80('0x4')][_0x1c80('0x0')][_0x1c80('0x5')](_0x1c80('0x1'))['acceptSuggestion'](_0x2fd127);}}
23
+ const _0x48ab=['plugins','refresh','track-changes-accept-suggestion-not-found','isEnabled','execute','TrackChangesEditing','get','editor','_suggestions'];(function(_0x1d1adb,_0x48aba2){const _0x2de77e=function(_0xed6df6){while(--_0xed6df6){_0x1d1adb['push'](_0x1d1adb['shift']());}};_0x2de77e(++_0x48aba2);}(_0x48ab,0xde));const _0x2de7=function(_0x1d1adb,_0x48aba2){_0x1d1adb=_0x1d1adb-0x0;let _0x2de77e=_0x48ab[_0x1d1adb];return _0x2de77e;};import{Command as _0xe4d689}from'ckeditor5/src/core';import{CKEditorError as _0xeed90d}from'ckeditor5/src/utils';export default class N extends _0xe4d689{constructor(_0x20b8c4,_0x3e1fbe){super(_0x20b8c4),this[_0x2de7('0x2')]=_0x3e1fbe,this[_0x2de7('0x4')]();}[_0x2de7('0x4')](){this[_0x2de7('0x6')]=!0x0;}[_0x2de7('0x7')](_0x11ea3c){const _0x50f029=this[_0x2de7('0x2')][_0x2de7('0x0')](_0x11ea3c);if(!_0x50f029)throw new _0xeed90d(_0x2de7('0x5'),this);this[_0x2de7('0x1')][_0x2de7('0x3')][_0x2de7('0x0')](_0x2de7('0x8'))['acceptSuggestion'](_0x50f029);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5042=['refresh','plugins','_suggestions','editor','get','discardSuggestion','execute','isEnabled','track-changes-discard-suggestion-not-found'];(function(_0x502b8b,_0x504287){const _0x3917b6=function(_0x2ae64e){while(--_0x2ae64e){_0x502b8b['push'](_0x502b8b['shift']());}};_0x3917b6(++_0x504287);}(_0x5042,0x1b5));const _0x3917=function(_0x502b8b,_0x504287){_0x502b8b=_0x502b8b-0x0;let _0x3917b6=_0x5042[_0x502b8b];return _0x3917b6;};import{Command as _0x466f45}from'ckeditor5/src/core';import{CKEditorError as _0x7733a6}from'ckeditor5/src/utils';export default class N extends _0x466f45{constructor(_0x4c2faf,_0x2cb4b7){super(_0x4c2faf),this[_0x3917('0x6')]=_0x2cb4b7,this[_0x3917('0x4')]();}[_0x3917('0x4')](){this[_0x3917('0x2')]=!0x0;}[_0x3917('0x1')](_0x57dfce){const _0x44ed51=this[_0x3917('0x6')][_0x3917('0x8')](_0x57dfce);if(!_0x44ed51)throw new _0x7733a6(_0x3917('0x3'),this);this[_0x3917('0x7')][_0x3917('0x5')][_0x3917('0x8')]('TrackChangesEditing')[_0x3917('0x0')](_0x44ed51);}}
23
+ const _0x100b=['_suggestions','execute','track-changes-discard-suggestion-not-found','editor','refresh','get'];(function(_0x44d330,_0x100b4e){const _0x17ce96=function(_0x30ef7c){while(--_0x30ef7c){_0x44d330['push'](_0x44d330['shift']());}};_0x17ce96(++_0x100b4e);}(_0x100b,0x185));const _0x17ce=function(_0x44d330,_0x100b4e){_0x44d330=_0x44d330-0x0;let _0x17ce96=_0x100b[_0x44d330];return _0x17ce96;};import{Command as _0x3812bf}from'ckeditor5/src/core';import{CKEditorError as _0x426e69}from'ckeditor5/src/utils';export default class R extends _0x3812bf{constructor(_0x10a520,_0x15be49){super(_0x10a520),this['_suggestions']=_0x15be49,this[_0x17ce('0x5')]();}['refresh'](){this['isEnabled']=!0x0;}[_0x17ce('0x2')](_0x5796ec){const _0x43538b=this[_0x17ce('0x1')]['get'](_0x5796ec);if(!_0x43538b)throw new _0x426e69(_0x17ce('0x3'),this);this[_0x17ce('0x4')]['plugins'][_0x17ce('0x0')]('TrackChangesEditing')['discardSuggestion'](_0x43538b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1de9=['type','deletion','sort'];(function(_0x26a267,_0x1de947){var _0x2c4882=function(_0x51450b){while(--_0x51450b){_0x26a267['push'](_0x26a267['shift']());}};_0x2c4882(++_0x1de947);}(_0x1de9,0x106));var _0x2c48=function(_0x26a267,_0x1de947){_0x26a267=_0x26a267-0x0;var _0x2c4882=_0x1de9[_0x26a267];return _0x2c4882;};export default function ts(_0x511b7c){return _0x511b7c[_0x2c48('0x1')]((_0x2d2501,_0x165d7a)=>_0x2c48('0x0')==_0x2d2501[_0x2c48('0x2')]&&_0x2c48('0x0')!=_0x165d7a[_0x2c48('0x2')]?-0x1:'deletion'!=_0x2d2501[_0x2c48('0x2')]&&'deletion'==_0x165d7a[_0x2c48('0x2')]?0x1:0x0);}
23
+ const _0xae2a=['_suggestions','_command','from','some','execute','isEnabled','isInContent','refresh','editor','values'];(function(_0x3bc7b7,_0xae2adb){const _0x5750d1=function(_0x58d21b){while(--_0x58d21b){_0x3bc7b7['push'](_0x3bc7b7['shift']());}};_0x5750d1(++_0xae2adb);}(_0xae2a,0x15f));const _0x5750=function(_0x3bc7b7,_0xae2adb){_0x3bc7b7=_0x3bc7b7-0x0;let _0x5750d1=_0xae2a[_0x3bc7b7];return _0x5750d1;};import{Command as _0x1a8f39}from'ckeditor5/src/core';import{sortSuggestions as _0x2b0dd7,executeCommandForSuggestions as _0x434c8f}from'../utils/utils';export default class x extends _0x1a8f39{constructor(_0x581b97,_0x56f979,_0x19c4af){super(_0x581b97),this[_0x5750('0x0')]=_0x56f979,this[_0x5750('0x9')]=_0x19c4af,this[_0x5750('0x6')]();}['refresh'](){const _0x4d2b40=Array[_0x5750('0x1')](this[_0x5750('0x9')][_0x5750('0x8')]())[_0x5750('0x2')](_0x196bfe=>_0x196bfe[_0x5750('0x5')]);this[_0x5750('0x4')]=this[_0x5750('0x0')]['isEnabled']&&_0x4d2b40;}[_0x5750('0x3')](){const _0x55043d=_0x2b0dd7(Array[_0x5750('0x1')](this[_0x5750('0x9')]['values']()));_0x434c8f(this[_0x5750('0x7')]['model'],this['_command'],_0x55043d);}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x11fe=['_selectedSuggestions','model','execute','from','document','selection','size','isEnabled','_suggestions','_command','refresh'];(function(_0x4045ad,_0x11fe45){const _0x541e05=function(_0x18653b){while(--_0x18653b){_0x4045ad['push'](_0x4045ad['shift']());}};_0x541e05(++_0x11fe45);}(_0x11fe,0x172));const _0x541e=function(_0x4045ad,_0x11fe45){_0x4045ad=_0x4045ad-0x0;let _0x541e05=_0x11fe[_0x4045ad];return _0x541e05;};import{Command as _0x15c418}from'ckeditor5/src/core';import{sortSuggestions as _0x16c87f,getSelectedSuggestions as _0x362ba7,executeCommandForSuggestions as _0xb60a6d}from'../utils/utils';export default class U extends _0x15c418{constructor(_0x315dc4,_0x3fc420,_0x1da407){super(_0x315dc4),this[_0x541e('0x2')]=_0x3fc420,this[_0x541e('0x1')]=_0x1da407,this[_0x541e('0x4')]=new Set(),this[_0x541e('0x3')]();}[_0x541e('0x3')](){const _0x4fa441=this['editor'][_0x541e('0x5')][_0x541e('0x8')][_0x541e('0x9')],_0x3be63c=Array[_0x541e('0x7')](this[_0x541e('0x1')]['values']());this[_0x541e('0x4')]=_0x362ba7(_0x4fa441,_0x3be63c),this[_0x541e('0x0')]=this[_0x541e('0x2')][_0x541e('0x0')]&&!!this[_0x541e('0x4')][_0x541e('0xa')];}[_0x541e('0x6')](){const _0x937408=_0x16c87f(Array[_0x541e('0x7')](this[_0x541e('0x4')]));_0xb60a6d(this['editor'][_0x541e('0x5')],this[_0x541e('0x2')],_0x937408);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a60=['commands','TrackChangesCommand','affectsData','value','editor','_enabledCommands','forceDisabled','execute','has','refresh','_disableUnsupportedCommands','_enableCommands'];(function(_0xd57485,_0x2a6031){const _0x38647e=function(_0x32b048){while(--_0x32b048){_0xd57485['push'](_0xd57485['shift']());}};_0x38647e(++_0x2a6031);}(_0x2a60,0x9c));const _0x3864=function(_0xd57485,_0x2a6031){_0xd57485=_0xd57485-0x0;let _0x38647e=_0x2a60[_0xd57485];return _0x38647e;};import{Command as _0x33229f}from'ckeditor5/src/core';export default class M extends _0x33229f{constructor(_0xf5be59,_0x21d117){super(_0xf5be59),this['_enabledCommands']=_0x21d117,this[_0x3864('0x3')]=!0x1,this[_0x3864('0x9')]();}[_0x3864('0x9')](){this['isEnabled']=!0x0;}[_0x3864('0x7')](){this[_0x3864('0x3')]=!this[_0x3864('0x3')],this['value']?this['_disableUnsupportedCommands']():this[_0x3864('0xb')]();}[_0x3864('0xa')](){for(const _0x25288f of this[_0x3864('0x4')]['commands']['commands']())_0x25288f['affectsData']&&!this[_0x3864('0x5')][_0x3864('0x8')](_0x25288f)&&_0x25288f[_0x3864('0x6')](_0x3864('0x1'));}['_enableCommands'](){for(const _0x52e8e7 of this[_0x3864('0x4')][_0x3864('0x0')][_0x3864('0x0')]())_0x52e8e7[_0x3864('0x2')]&&!this['_enabledCommands'][_0x3864('0x8')](_0x52e8e7)&&_0x52e8e7['clearForceDisabled'](_0x3864('0x1'));}}
23
+ const _0x5121=['TrackChangesCommand','isEnabled','_enableCommands','_disableUnsupportedCommands','clearForceDisabled','value','has','editor','forceDisabled','execute','refresh','_enabledCommands','commands'];(function(_0x55167f,_0x512107){const _0x2c6595=function(_0xe868bf){while(--_0xe868bf){_0x55167f['push'](_0x55167f['shift']());}};_0x2c6595(++_0x512107);}(_0x5121,0x1c9));const _0x2c65=function(_0x55167f,_0x512107){_0x55167f=_0x55167f-0x0;let _0x2c6595=_0x5121[_0x55167f];return _0x2c6595;};import{Command as _0x48b70c}from'ckeditor5/src/core';export default class $ extends _0x48b70c{constructor(_0x9e3962,_0x2504a2){super(_0x9e3962),this['_enabledCommands']=_0x2504a2,this[_0x2c65('0x3')]=!0x1,this['refresh']();}[_0x2c65('0x8')](){this[_0x2c65('0xc')]=!0x0;}[_0x2c65('0x7')](){this[_0x2c65('0x3')]=!this['value'],this[_0x2c65('0x3')]?this[_0x2c65('0x1')]():this[_0x2c65('0x0')]();}[_0x2c65('0x1')](){for(const _0x162795 of this[_0x2c65('0x5')][_0x2c65('0xa')][_0x2c65('0xa')]())_0x162795['affectsData']&&!this[_0x2c65('0x9')]['has'](_0x162795)&&_0x162795[_0x2c65('0x6')](_0x2c65('0xb'));}[_0x2c65('0x0')](){for(const _0x3e0be7 of this[_0x2c65('0x5')][_0x2c65('0xa')][_0x2c65('0xa')]())_0x3e0be7['affectsData']&&!this[_0x2c65('0x9')][_0x2c65('0x4')](_0x3e0be7)&&_0x3e0be7[_0x2c65('0x2')](_0x2c65('0xb'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b5f=['justify','schema','FORMAT_ALIGN_TO_CENTER','alignment','left','registerDescriptionCallback','right','plugins','afterInit','TrackChangesEditing','markBlockFormat','selection','FORMAT_ALIGN_TO_LEFT','_descriptionFactory','filter','editor','locale','ltr','commandName','has','value','document','model','change','from','center','get','format','enableCommand','getAttribute','FORMAT_JUSTIFY_TEXT'];(function(_0x2b8a3a,_0x1b5f1f){const _0x453ef8=function(_0x6b2ed5){while(--_0x6b2ed5){_0x2b8a3a['push'](_0x2b8a3a['shift']());}};_0x453ef8(++_0x1b5f1f);}(_0x1b5f,0x11b));const _0x453e=function(_0x2b8a3a,_0x1b5f1f){_0x2b8a3a=_0x2b8a3a-0x0;let _0x453ef8=_0x1b5f[_0x2b8a3a];return _0x453ef8;};import{Plugin as _0x14a90b}from'ckeditor5/src/core';import{getTranslation as _0x5a862f}from'../utils/common-translations';export default class E extends _0x14a90b{[_0x453e('0x4')](){const _0x52e340=this['editor'],_0x2ccfb0=_0x52e340[_0x453e('0xc')];if(!_0x52e340[_0x453e('0x3')][_0x453e('0xf')]('AlignmentEditing'))return;const _0x26b284=_0x52e340[_0x453e('0x3')][_0x453e('0x16')](_0x453e('0x5'));_0x26b284[_0x453e('0x18')](_0x453e('0x1e'),(_0x2bdb31,_0x45978a={})=>{let _0x3c416f=_0x45978a[_0x453e('0x10')];_0x45978a[_0x453e('0x10')]||(_0x3c416f=_0x453e('0xd')===_0x52e340['locale']['contentLanguageDirection']?_0x453e('0x0'):_0x453e('0x2'));const _0x56d062=Array[_0x453e('0x14')](this['editor'][_0x453e('0x12')][_0x453e('0x11')][_0x453e('0x7')]['getSelectedBlocks']())[_0x453e('0xa')](_0x91c21e=>function(_0x4b45cc,_0x39d76a,_0x2aac85){const _0x3b9e41=_0x4b45cc[_0x453e('0x19')](_0x453e('0x1e'))||null;return _0x39d76a['checkAttribute'](_0x4b45cc,_0x453e('0x1e'))&&_0x2aac85!=_0x3b9e41;}(_0x91c21e,this[_0x453e('0xb')]['model'][_0x453e('0x1c')],_0x3c416f));_0x52e340[_0x453e('0x12')][_0x453e('0x13')](()=>{for(const _0x7e5753 of _0x56d062)_0x26b284[_0x453e('0x6')](_0x7e5753,{'commandName':_0x453e('0x1e'),'commandParams':[{'value':_0x3c416f}]});});}),_0x26b284[_0x453e('0x9')][_0x453e('0x1')](_0x435a7e=>{const {data:_0x3494ed}=_0x435a7e;if(_0x3494ed&&_0x453e('0x1e')==_0x3494ed[_0x453e('0xe')]){const _0x52710e=_0x3494ed['commandParams'][0x0][_0x453e('0x10')];return{'type':_0x453e('0x17'),'content':_0x5a862f(_0x2ccfb0,'*Format:*\x20%0',function(_0x387e41){switch(_0x387e41){case _0x453e('0x0'):return _0x5a862f(_0x2ccfb0,_0x453e('0x8'));case'right':return _0x5a862f(_0x2ccfb0,'FORMAT_ALIGN_TO_RIGHT');case _0x453e('0x15'):return _0x5a862f(_0x2ccfb0,_0x453e('0x1d'));case _0x453e('0x1b'):return _0x5a862f(_0x2ccfb0,_0x453e('0x1a'));}}(_0x52710e))};}});}}
23
+ const _0x53cf=['right','justify','getAttribute','commandName','center','plugins','model','FORMAT_JUSTIFY_TEXT','ltr','markBlockFormat','schema','FORMAT_ALIGN_TO_RIGHT','locale','document','editor','_descriptionFactory','format','FORMAT_ALIGN_TO_CENTER','selection','left','alignment','afterInit','value','change','getSelectedBlocks','FORMAT_ALIGN_TO_LEFT'];(function(_0x4caf59,_0x53cf12){const _0x98da20=function(_0x4cc46c){while(--_0x4cc46c){_0x4caf59['push'](_0x4caf59['shift']());}};_0x98da20(++_0x53cf12);}(_0x53cf,0x1a6));const _0x98da=function(_0x4caf59,_0x53cf12){_0x4caf59=_0x4caf59-0x0;let _0x98da20=_0x53cf[_0x4caf59];return _0x98da20;};import{Plugin as _0x229dd9}from'ckeditor5/src/core';import{getTranslation as _0x15a6a2}from'../utils/common-translations';export default class j extends _0x229dd9{[_0x98da('0xf')](){const _0xe6cb47=this[_0x98da('0x8')],_0x3a4da1=_0xe6cb47[_0x98da('0x6')];if(!_0xe6cb47[_0x98da('0x19')]['has']('AlignmentEditing'))return;const _0x1a8b9f=_0xe6cb47[_0x98da('0x19')]['get']('TrackChangesEditing');_0x1a8b9f['enableCommand'](_0x98da('0xe'),(_0x3900ad,_0x3f03ac={})=>{let _0x52c170=_0x3f03ac[_0x98da('0x10')];_0x3f03ac['value']||(_0x52c170=_0x98da('0x2')===_0xe6cb47[_0x98da('0x6')]['contentLanguageDirection']?'left':_0x98da('0x14'));const _0x5d6322=Array['from'](this[_0x98da('0x8')][_0x98da('0x0')][_0x98da('0x7')][_0x98da('0xc')][_0x98da('0x12')]())['filter'](_0x329cbe=>function(_0x4d8603,_0x339c50,_0x8b28c8){const _0xa21198=_0x4d8603[_0x98da('0x16')](_0x98da('0xe'))||null;return _0x339c50['checkAttribute'](_0x4d8603,_0x98da('0xe'))&&_0x8b28c8!=_0xa21198;}(_0x329cbe,this[_0x98da('0x8')]['model'][_0x98da('0x4')],_0x52c170));_0xe6cb47[_0x98da('0x0')][_0x98da('0x11')](()=>{for(const _0x5c969b of _0x5d6322)_0x1a8b9f[_0x98da('0x3')](_0x5c969b,{'commandName':_0x98da('0xe'),'commandParams':[{'value':_0x52c170}]});});}),_0x1a8b9f[_0x98da('0x9')]['registerDescriptionCallback'](_0x2dfd86=>{const {data:_0x19af36}=_0x2dfd86;if(_0x19af36&&_0x98da('0xe')==_0x19af36[_0x98da('0x17')]){const _0x14e6e6=_0x19af36['commandParams'][0x0][_0x98da('0x10')];return{'type':_0x98da('0xa'),'content':_0x15a6a2(_0x3a4da1,'*Format:*\x20%0',function(_0x2ee44c){switch(_0x2ee44c){case _0x98da('0xd'):return _0x15a6a2(_0x3a4da1,_0x98da('0x13'));case _0x98da('0x14'):return _0x15a6a2(_0x3a4da1,_0x98da('0x5'));case _0x98da('0x18'):return _0x15a6a2(_0x3a4da1,_0x98da('0xb'));case _0x98da('0x15'):return _0x15a6a2(_0x3a4da1,_0x98da('0x1'));}}(_0x14e6e6))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29f3=['*Format:*\x20%0','FORMAT_UNDERLINE','subscript','CodeEditing','change','commandParams','commands','SuperscriptEditing','_descriptionFactory','ItalicEditing','slice','BoldEditing','afterInit','isCollapsed','SubscriptEditing','superscript','format','model','code','StrikethroughEditing','selection','value','strikethrough','get','FORMAT_SUPERSCRIPT','enableCommand','UnderlineEditing','FORMAT_STRIKETHROUGH','from','markInlineFormat','forceValue','underline','locale','toLowerCase','commandName','FORMAT_SUBSCRIPT','FORMAT_BOLD','TrackChangesEditing'];(function(_0x2e54df,_0x29f3cb){const _0x2768f4=function(_0x481b2f){while(--_0x481b2f){_0x2e54df['push'](_0x2e54df['shift']());}};_0x2768f4(++_0x29f3cb);}(_0x29f3,0x126));const _0x2768=function(_0x2e54df,_0x29f3cb){_0x2e54df=_0x2e54df-0x0;let _0x2768f4=_0x29f3[_0x2e54df];return _0x2768f4;};import{Plugin as _0x28dc85}from'ckeditor5/src/core';import{getTranslation as _0x3e4b16}from'../utils/common-translations';import{getRangesWithAttribute as _0x5db607}from'./utils';const Ft=[_0x2768('0x15'),_0x2768('0x13'),_0x2768('0x24'),_0x2768('0xd'),_0x2768('0x1d'),_0x2768('0x18'),_0x2768('0x11')];export default class O extends _0x28dc85{[_0x2768('0x16')](){const _0x465c9f=this['editor'],_0x2e8aec=_0x465c9f[_0x2768('0x1b')],_0x3843ec=_0x465c9f['plugins'][_0x2768('0x21')](_0x2768('0x9')),_0x16b471=_0x465c9f[_0x2768('0x4')];for(const _0x5b2525 of Ft){if(!_0x465c9f['plugins']['has'](_0x5b2525))continue;const _0x59b1f5=_0x5b2525[_0x2768('0x14')](0x0,-0x7)[_0x2768('0x5')](),_0x8586ba=_0x465c9f[_0x2768('0x10')][_0x2768('0x21')](_0x59b1f5);_0x3843ec[_0x2768('0x23')](_0x59b1f5,(_0x24901d,_0x285235={})=>{const _0xe91331=_0x2e8aec['document'][_0x2768('0x1e')];if(_0xe91331[_0x2768('0x17')])return void _0x24901d(_0x285235);const _0xb19fa8=void 0x0!==_0x285235['forceValue']?_0x285235[_0x2768('0x2')]:!_0x8586ba[_0x2768('0x1f')];_0x2e8aec[_0x2768('0xe')](()=>{const _0x5d1a0d=Array[_0x2768('0x0')](_0xe91331['getRanges']());for(const _0x5a32ac of _0x5d1a0d){const _0x1e3131=_0xb19fa8?[_0x5a32ac]:_0x5db607(_0x59b1f5,_0x5a32ac,_0x2e8aec);for(const _0x208288 of _0x1e3131)_0x3843ec[_0x2768('0x1')](_0x208288,{'commandName':_0x59b1f5,'commandParams':[{'forceValue':_0xb19fa8}]});}});});}function _0x651463(_0xe888eb,_0x401dda){_0x3843ec[_0x2768('0x12')]['registerDescriptionCallback'](_0x3c011c=>{const {data:_0x147f99}=_0x3c011c;if(_0x147f99&&_0x147f99[_0x2768('0x6')]===_0xe888eb)return _0x147f99[_0x2768('0xf')][0x0]['forceValue']?{'type':_0x2768('0x1a'),'content':_0x3e4b16(_0x16b471,_0x2768('0xa'),_0x401dda)}:{'type':_0x2768('0x1a'),'content':_0x3e4b16(_0x16b471,'*Remove\x20format:*\x20%0',_0x401dda)};});}_0x651463('bold',_0x3e4b16(_0x16b471,_0x2768('0x8'))),_0x651463('italic',_0x3e4b16(_0x16b471,'FORMAT_ITALIC')),_0x651463(_0x2768('0x3'),_0x3e4b16(_0x16b471,_0x2768('0xb'))),_0x651463(_0x2768('0x1c'),_0x3e4b16(_0x16b471,'FORMAT_CODE')),_0x651463(_0x2768('0x20'),_0x3e4b16(_0x16b471,_0x2768('0x25'))),_0x651463(_0x2768('0xc'),_0x3e4b16(_0x16b471,_0x2768('0x7'))),_0x651463(_0x2768('0x19'),_0x3e4b16(_0x16b471,_0x2768('0x22')));}}
23
+ const _0x47f5=['TrackChangesEditing','subscript','enableCommand','registerDescriptionCallback','FORMAT_SUPERSCRIPT','commandName','format','model','markInlineFormat','SuperscriptEditing','selection','FORMAT_UNDERLINE','StrikethroughEditing','code','document','underline','superscript','isCollapsed','CodeEditing','FORMAT_SUBSCRIPT','plugins','has','slice','FORMAT_ITALIC','_descriptionFactory','UnderlineEditing','commands','italic','FORMAT_STRIKETHROUGH','FORMAT_BOLD','bold','BoldEditing','toLowerCase','forceValue','strikethrough','ItalicEditing','get'];(function(_0x19b645,_0x47f52d){const _0x44b8e8=function(_0x212eb8){while(--_0x212eb8){_0x19b645['push'](_0x19b645['shift']());}};_0x44b8e8(++_0x47f52d);}(_0x47f5,0xd0));const _0x44b8=function(_0x19b645,_0x47f52d){_0x19b645=_0x19b645-0x0;let _0x44b8e8=_0x47f5[_0x19b645];return _0x44b8e8;};import{Plugin as _0x5d4b53}from'ckeditor5/src/core';import{getTranslation as _0x5f2d48}from'../utils/common-translations';import{getRangesWithAttribute as _0x5a3f6d}from'./utils';const Ot=[_0x44b8('0x8'),_0x44b8('0xc'),_0x44b8('0x2'),_0x44b8('0x20'),_0x44b8('0x1a'),'SubscriptEditing',_0x44b8('0x17')];export default class E extends _0x5d4b53{['afterInit'](){const _0x2becee=this['editor'],_0x1c5ed8=_0x2becee[_0x44b8('0x15')],_0x3e5e6e=_0x2becee[_0x44b8('0x22')][_0x44b8('0xd')](_0x44b8('0xe')),_0x3beaf0=_0x2becee['locale'];for(const _0xb5f96 of Ot){if(!_0x2becee[_0x44b8('0x22')][_0x44b8('0x23')](_0xb5f96))continue;const _0x14d911=_0xb5f96[_0x44b8('0x24')](0x0,-0x7)[_0x44b8('0x9')](),_0x2aa4f4=_0x2becee[_0x44b8('0x3')][_0x44b8('0xd')](_0x14d911);_0x3e5e6e[_0x44b8('0x10')](_0x14d911,(_0x18d07e,_0x53ddd4={})=>{const _0x2d02e0=_0x1c5ed8[_0x44b8('0x1c')][_0x44b8('0x18')];if(_0x2d02e0[_0x44b8('0x1f')])return void _0x18d07e(_0x53ddd4);const _0x170da7=void 0x0!==_0x53ddd4[_0x44b8('0xa')]?_0x53ddd4[_0x44b8('0xa')]:!_0x2aa4f4['value'];_0x1c5ed8['change'](()=>{const _0x3ec909=Array['from'](_0x2d02e0['getRanges']());for(const _0x19d6e2 of _0x3ec909){const _0x1b7456=_0x170da7?[_0x19d6e2]:_0x5a3f6d(_0x14d911,_0x19d6e2,_0x1c5ed8);for(const _0x540dc of _0x1b7456)_0x3e5e6e[_0x44b8('0x16')](_0x540dc,{'commandName':_0x14d911,'commandParams':[{'forceValue':_0x170da7}]});}});});}function _0x44968e(_0x1c2064,_0x5515a1){_0x3e5e6e[_0x44b8('0x1')][_0x44b8('0x11')](_0x5ba3f2=>{const {data:_0x25cd68}=_0x5ba3f2;if(_0x25cd68&&_0x25cd68[_0x44b8('0x13')]===_0x1c2064)return _0x25cd68['commandParams'][0x0]['forceValue']?{'type':_0x44b8('0x14'),'content':_0x5f2d48(_0x3beaf0,'*Format:*\x20%0',_0x5515a1)}:{'type':_0x44b8('0x14'),'content':_0x5f2d48(_0x3beaf0,'*Remove\x20format:*\x20%0',_0x5515a1)};});}_0x44968e(_0x44b8('0x7'),_0x5f2d48(_0x3beaf0,_0x44b8('0x6'))),_0x44968e(_0x44b8('0x4'),_0x5f2d48(_0x3beaf0,_0x44b8('0x0'))),_0x44968e(_0x44b8('0x1d'),_0x5f2d48(_0x3beaf0,_0x44b8('0x19'))),_0x44968e(_0x44b8('0x1b'),_0x5f2d48(_0x3beaf0,'FORMAT_CODE')),_0x44968e(_0x44b8('0xb'),_0x5f2d48(_0x3beaf0,_0x44b8('0x5'))),_0x44968e(_0x44b8('0xf'),_0x5f2d48(_0x3beaf0,_0x44b8('0x21'))),_0x44968e(_0x44b8('0x1e'),_0x5f2d48(_0x3beaf0,_0x44b8('0x12')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd66d=['forceValue','getSelectedBlocks','ELEMENT_BLOCK_QUOTE','get','registerDescriptionCallback','*Format:*\x20%0','model','plugins','markBlockFormat','document','_descriptionFactory','commands','schema','filter','commandName','BlockQuoteEditing','from','commandParams','*Remove\x20format:*\x20%0','blockQuote','value','locale','format','checkChild','TrackChangesEditing','editor','change','selection','has'];(function(_0x8432ed,_0xd66d02){const _0x1ff051=function(_0x351a05){while(--_0x351a05){_0x8432ed['push'](_0x8432ed['shift']());}};_0x1ff051(++_0xd66d02);}(_0xd66d,0x86));const _0x1ff0=function(_0x8432ed,_0xd66d02){_0x8432ed=_0x8432ed-0x0;let _0x1ff051=_0xd66d[_0x8432ed];return _0x1ff051;};import{Plugin as _0x38d8d9}from'ckeditor5/src/core';import{getTranslation as _0x842546}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x46ef70}from'../utils/getrangesofblockgroups';export default class P extends _0x38d8d9{['afterInit'](){const _0xf94650=this[_0x1ff0('0x7')],_0x229645=_0xf94650[_0x1ff0('0x3')];if(!_0xf94650[_0x1ff0('0x12')][_0x1ff0('0xa')](_0x1ff0('0x1a')))return;const _0x1da891=_0xf94650[_0x1ff0('0x12')][_0x1ff0('0xe')](_0x1ff0('0x6')),_0x434ea1=this[_0x1ff0('0x7')][_0x1ff0('0x16')]['get']('blockQuote');_0x1da891['enableCommand'](_0x1ff0('0x1'),(_0x5f1dc0,_0x255d5e={})=>{const _0x497c1f=this[_0x1ff0('0x7')][_0x1ff0('0x11')][_0x1ff0('0x14')][_0x1ff0('0x9')],_0x8e24a1=_0x255d5e&&void 0x0!==_0x255d5e['forceValue']?_0x255d5e[_0x1ff0('0xb')]:!_0x434ea1[_0x1ff0('0x2')];let _0x1a0a40=[];if(_0x8e24a1){const _0x17efb8=Array[_0x1ff0('0x1b')](_0x497c1f['getSelectedBlocks']())[_0x1ff0('0x18')](_0x16524b=>to(_0x16524b)||function(_0x149062,_0x291399){const _0x500c92=_0x291399['checkChild'](_0x149062['parent'],_0x1ff0('0x1')),_0x3193df=_0x291399[_0x1ff0('0x5')](['$root',_0x1ff0('0x1')],_0x149062);return _0x500c92&&_0x3193df;}(_0x16524b,this[_0x1ff0('0x7')][_0x1ff0('0x11')][_0x1ff0('0x17')]));_0x1a0a40=_0x46ef70(_0x17efb8,_0xf94650['model']);}else{const _0x1e04b5=Array[_0x1ff0('0x1b')](_0x497c1f[_0x1ff0('0xc')]())[_0x1ff0('0x18')](_0x36c9fe=>to(_0x36c9fe));_0x1a0a40=_0x46ef70(_0x1e04b5,_0xf94650['model']);}_0xf94650[_0x1ff0('0x11')][_0x1ff0('0x8')](()=>{for(const _0x45a7e3 of _0x1a0a40)_0x1da891[_0x1ff0('0x13')](_0x45a7e3,{'commandName':_0x1ff0('0x1'),'commandParams':[{'forceValue':_0x8e24a1}]});});}),_0x1da891[_0x1ff0('0x15')][_0x1ff0('0xf')](_0x2bb912=>{const {data:_0x5ef836}=_0x2bb912;if(_0x5ef836&&_0x1ff0('0x1')==_0x5ef836[_0x1ff0('0x19')]){const _0x27956c=_0x842546(_0x229645,_0x1ff0('0xd'));return _0x5ef836[_0x1ff0('0x1c')][0x0][_0x1ff0('0xb')]?{'type':_0x1ff0('0x4'),'content':_0x842546(_0x229645,_0x1ff0('0x10'),_0x27956c)}:{'type':_0x1ff0('0x4'),'content':_0x842546(_0x229645,_0x1ff0('0x0'),_0x27956c)};}});}}function to(_0x1e69c9){return'blockQuote'==_0x1e69c9['parent']['name'];}
23
+ const _0x3b51=['schema','getSelectedBlocks','parent','name','filter','ELEMENT_BLOCK_QUOTE','model','commandParams','format','commands','blockQuote','from','TrackChangesEditing','enableCommand','markBlockFormat','forceValue','$root','change','*Remove\x20format:*\x20%0','BlockQuoteEditing','selection','registerDescriptionCallback','plugins','document','get','editor','commandName'];(function(_0x7efe2d,_0x3b5100){const _0x25f15d=function(_0x4796a5){while(--_0x4796a5){_0x7efe2d['push'](_0x7efe2d['shift']());}};_0x25f15d(++_0x3b5100);}(_0x3b51,0x85));const _0x25f1=function(_0x7efe2d,_0x3b5100){_0x7efe2d=_0x7efe2d-0x0;let _0x25f15d=_0x3b51[_0x7efe2d];return _0x25f15d;};import{Plugin as _0x709022}from'ckeditor5/src/core';import{getTranslation as _0xefdf7a}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x28b206}from'../utils/utils';export default class O extends _0x709022{['afterInit'](){const _0x169c8a=this[_0x25f1('0x0')],_0x4fb935=_0x169c8a['locale'];if(!_0x169c8a['plugins']['has'](_0x25f1('0x15')))return;const _0x446e2f=_0x169c8a[_0x25f1('0x18')][_0x25f1('0x1a')](_0x25f1('0xe')),_0x5ddf99=this[_0x25f1('0x0')][_0x25f1('0xb')][_0x25f1('0x1a')]('blockQuote');_0x446e2f[_0x25f1('0xf')]('blockQuote',(_0x503ca4,_0x17b1b1={})=>{const _0x36c70e=this[_0x25f1('0x0')][_0x25f1('0x8')][_0x25f1('0x19')][_0x25f1('0x16')],_0x27d8ef=_0x17b1b1&&void 0x0!==_0x17b1b1['forceValue']?_0x17b1b1['forceValue']:!_0x5ddf99['value'];let _0x3d50ae=[];if(_0x27d8ef){const _0x4f65a0=Array[_0x25f1('0xd')](_0x36c70e['getSelectedBlocks']())[_0x25f1('0x6')](_0x4752f9=>Ft(_0x4752f9)||function(_0x4246c2,_0x1bfb42){const _0x1aa032=_0x1bfb42['checkChild'](_0x4246c2[_0x25f1('0x4')],_0x25f1('0xc')),_0x572806=_0x1bfb42['checkChild']([_0x25f1('0x12'),_0x25f1('0xc')],_0x4246c2);return _0x1aa032&&_0x572806;}(_0x4752f9,this[_0x25f1('0x0')][_0x25f1('0x8')][_0x25f1('0x2')]));_0x3d50ae=_0x28b206(_0x4f65a0,_0x169c8a[_0x25f1('0x8')]);}else{const _0x1c8134=Array[_0x25f1('0xd')](_0x36c70e[_0x25f1('0x3')]())[_0x25f1('0x6')](_0x3f44d6=>Ft(_0x3f44d6));_0x3d50ae=_0x28b206(_0x1c8134,_0x169c8a[_0x25f1('0x8')]);}_0x169c8a[_0x25f1('0x8')][_0x25f1('0x13')](()=>{for(const _0x44a433 of _0x3d50ae)_0x446e2f[_0x25f1('0x10')](_0x44a433,{'commandName':_0x25f1('0xc'),'commandParams':[{'forceValue':_0x27d8ef}]});});}),_0x446e2f['_descriptionFactory'][_0x25f1('0x17')](_0x22d4b8=>{const {data:_0x191ca7}=_0x22d4b8;if(_0x191ca7&&_0x25f1('0xc')==_0x191ca7[_0x25f1('0x1')]){const _0x25ce33=_0xefdf7a(_0x4fb935,_0x25f1('0x7'));return _0x191ca7[_0x25f1('0x9')][0x0][_0x25f1('0x11')]?{'type':_0x25f1('0xa'),'content':_0xefdf7a(_0x4fb935,'*Format:*\x20%0',_0x25ce33)}:{'type':'format','content':_0xefdf7a(_0x4fb935,_0x25f1('0x14'),_0x25ce33)};}});}}function Ft(_0x5918ed){return _0x25f1('0xc')==_0x5918ed['parent'][_0x25f1('0x5')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x596c=['enableCommand','get','editor','plugins','ckbox','TrackChangesEditing'];(function(_0x4f8f4f,_0x596c9c){const _0x92cc60=function(_0x13266a){while(--_0x13266a){_0x4f8f4f['push'](_0x4f8f4f['shift']());}};_0x92cc60(++_0x596c9c);}(_0x596c,0x1b2));const _0x92cc=function(_0x4f8f4f,_0x596c9c){_0x4f8f4f=_0x4f8f4f-0x0;let _0x92cc60=_0x596c[_0x4f8f4f];return _0x92cc60;};import{Plugin as _0x174a81}from'ckeditor5/src/core';export default class G extends _0x174a81{['afterInit'](){const _0x5b5a35=this[_0x92cc('0x0')];_0x5b5a35['commands'][_0x92cc('0x5')](_0x92cc('0x2'))&&_0x5b5a35[_0x92cc('0x1')][_0x92cc('0x5')](_0x92cc('0x3'))[_0x92cc('0x4')](_0x92cc('0x2'));}}
23
+ const _0x4b8d=['editor','afterInit','plugins','commands','enableCommand','ckbox','get','TrackChangesEditing'];(function(_0x459f0c,_0x4b8dd0){const _0x59f599=function(_0x6314b){while(--_0x6314b){_0x459f0c['push'](_0x459f0c['shift']());}};_0x59f599(++_0x4b8dd0);}(_0x4b8d,0x188));const _0x59f5=function(_0x459f0c,_0x4b8dd0){_0x459f0c=_0x459f0c-0x0;let _0x59f599=_0x4b8d[_0x459f0c];return _0x59f599;};import{Plugin as _0x178507}from'ckeditor5/src/core';export default class P extends _0x178507{[_0x59f5('0x1')](){const _0x21ed25=this[_0x59f5('0x0')];_0x21ed25[_0x59f5('0x3')][_0x59f5('0x6')](_0x59f5('0x5'))&&_0x21ed25[_0x59f5('0x2')][_0x59f5('0x6')](_0x59f5('0x7'))[_0x59f5('0x4')](_0x59f5('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28f9=['rootElement','getSelectedBlocks','_descriptionFactory','from','locale','plugins','ELEMENT_CODE_BLOCK','blockName','label','enableCommand','languages','codeBlock','markBlockFormat','checkChild','isLimit','name','schema','TrackChangesEditing','commands','format','has','commandName','find','parent','document','language','outdentCodeBlock','selection','change','*Format:*\x20%0','afterInit','CodeBlock','get','forceValue','filter','*Remove\x20format:*\x20%0','commandParams','indentCodeBlock','editor'];(function(_0xa4799d,_0x28f9ef){const _0x4bdc57=function(_0x13de9e){while(--_0x13de9e){_0xa4799d['push'](_0xa4799d['shift']());}};_0x4bdc57(++_0x28f9ef);}(_0x28f9,0x8f));const _0x4bdc=function(_0xa4799d,_0x28f9ef){_0xa4799d=_0xa4799d-0x0;let _0x4bdc57=_0x28f9[_0xa4799d];return _0x4bdc57;};import{Plugin as _0x1fd936}from'ckeditor5/src/core';import{getTranslation as _0x608f18}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x52fa69}from'../utils/getrangesofblockgroups';export default class F extends _0x1fd936{[_0x4bdc('0x4')](){const _0x4364d7=this[_0x4bdc('0xc')];if(!_0x4364d7['plugins'][_0x4bdc('0x21')](_0x4bdc('0x5')))return;const _0x2281cb=_0x4364d7[_0x4bdc('0x12')]['get'](_0x4bdc('0x1e')),_0x1603ae=_0x4364d7[_0x4bdc('0x11')],_0x541d4e=_0x4364d7['config'][_0x4bdc('0x6')](_0x4bdc('0x18'))[_0x4bdc('0x17')],_0x42f2ee=_0x4364d7[_0x4bdc('0x1f')][_0x4bdc('0x6')](_0x4bdc('0x18'));_0x2281cb[_0x4bdc('0x16')](_0x4bdc('0xb')),_0x2281cb[_0x4bdc('0x16')](_0x4bdc('0x0')),_0x2281cb['enableCommand'](_0x4bdc('0x18'),(_0x2ef09f,_0x674f57={})=>{const _0x1c96ef=_0x4364d7['model'],_0xf33721=_0x4364d7['model'][_0x4bdc('0x25')][_0x4bdc('0x1')],_0x15740a=_0x674f57&&void 0x0!==_0x674f57['forceValue']?_0x674f57['forceValue']:!_0x42f2ee['value'];let _0x583fc3;_0x674f57[_0x4bdc('0x26')]||(_0x674f57[_0x4bdc('0x26')]=_0x541d4e[0x0]['language']),_0x583fc3=_0x15740a?Array['from'](_0xf33721['getSelectedBlocks']())[_0x4bdc('0x8')](_0x32c4c4=>co(_0x32c4c4)||function(_0x47a0f0,_0x300365){if(_0x47a0f0['is'](_0x4bdc('0xd'))||_0x300365[_0x4bdc('0x1b')](_0x47a0f0))return!0x1;return _0x300365[_0x4bdc('0x1a')](_0x47a0f0[_0x4bdc('0x24')],_0x4bdc('0x18'));}(_0x32c4c4,_0x1c96ef[_0x4bdc('0x1d')])):Array[_0x4bdc('0x10')](_0xf33721[_0x4bdc('0xe')]())['filter'](_0x19e8f8=>co(_0x19e8f8));const _0x5b50f7=_0x52fa69(_0x583fc3,_0x1c96ef);_0x1c96ef[_0x4bdc('0x2')](()=>{for(const _0x57a305 of _0x5b50f7)_0x2281cb[_0x4bdc('0x19')](_0x57a305,{'commandName':_0x4bdc('0x18'),'commandParams':[{..._0x674f57,'forceValue':_0x15740a}],'formatGroupId':_0x4bdc('0x14')});});}),(_0x2281cb['_descriptionFactory']['registerElementLabel'](_0x4bdc('0x18'),_0x5aac04=>_0x608f18(_0x1603ae,_0x4bdc('0x13'),_0x5aac04)),_0x2281cb[_0x4bdc('0xf')]['registerDescriptionCallback'](_0x23568f=>{const {type:_0x5b6bef,data:_0xc6d5e7}=_0x23568f;if('formatBlock'==_0x5b6bef&&_0xc6d5e7&&_0x4bdc('0x18')==_0xc6d5e7[_0x4bdc('0x22')]){const _0x46abeb=_0xc6d5e7[_0x4bdc('0xa')][0x0][_0x4bdc('0x26')],_0x4fe384=_0x541d4e[_0x4bdc('0x23')](_0x101dfa=>_0x101dfa[_0x4bdc('0x26')]===_0x46abeb)[_0x4bdc('0x15')],_0x12853c=_0x1603ae['_t'](_0x4fe384);return _0xc6d5e7[_0x4bdc('0xa')][0x0][_0x4bdc('0x7')]?{'type':_0x4bdc('0x20'),'content':_0x608f18(_0x1603ae,_0x4bdc('0x3'),_0x608f18(_0x1603ae,_0x4bdc('0x13'),0x1)+'\x20('+_0x12853c+')')}:{'type':'format','content':_0x608f18(_0x1603ae,_0x4bdc('0x9'),_0x608f18(_0x1603ae,_0x4bdc('0x13'),0x1))};}}));}}function co(_0x53408d){return _0x4bdc('0x18')==_0x53408d[_0x4bdc('0x1c')];}
23
+ const _0x551d=['formatBlock','parent','commands','filter','plugins','registerDescriptionCallback','ELEMENT_CODE_BLOCK','enableCommand','blockName','checkChild','codeBlock','_descriptionFactory','markBlockFormat','value','commandParams','registerElementLabel','schema','isLimit','model','getSelectedBlocks','*Remove\x20format:*\x20%0','locale','afterInit','TrackChangesEditing','forceValue','config','find','*Format:*\x20%0','rootElement','from','indentCodeBlock','language','commandName','get'];(function(_0xc4b4e1,_0x551d34){const _0x4246dc=function(_0x38e073){while(--_0x38e073){_0xc4b4e1['push'](_0xc4b4e1['shift']());}};_0x4246dc(++_0x551d34);}(_0x551d,0x97));const _0x4246=function(_0xc4b4e1,_0x551d34){_0xc4b4e1=_0xc4b4e1-0x0;let _0x4246dc=_0x551d[_0xc4b4e1];return _0x4246dc;};import{Plugin as _0x473172}from'ckeditor5/src/core';import{getTranslation as _0x35e816}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2fd8f0}from'../utils/utils';export default class G extends _0x473172{[_0x4246('0x7')](){const _0x1bfe19=this['editor'];if(!_0x1bfe19['plugins']['has']('CodeBlock'))return;const _0x138c4e=_0x1bfe19[_0x4246('0x17')]['get'](_0x4246('0x8')),_0x244676=_0x1bfe19[_0x4246('0x6')],_0x19a9a6=_0x1bfe19[_0x4246('0xa')][_0x4246('0x12')](_0x4246('0x1d'))['languages'],_0x19a0f0=_0x1bfe19[_0x4246('0x15')][_0x4246('0x12')](_0x4246('0x1d'));_0x138c4e['enableCommand'](_0x4246('0xf')),_0x138c4e[_0x4246('0x1a')]('outdentCodeBlock'),_0x138c4e['enableCommand'](_0x4246('0x1d'),(_0x2c3e86,_0x1dbea={})=>{const _0x51e6c6=_0x1bfe19[_0x4246('0x3')],_0x409f40=_0x1bfe19[_0x4246('0x3')]['document']['selection'],_0x3f026b=_0x1dbea&&void 0x0!==_0x1dbea[_0x4246('0x9')]?_0x1dbea[_0x4246('0x9')]:!_0x19a0f0[_0x4246('0x20')];let _0x335b97;_0x1dbea[_0x4246('0x10')]||(_0x1dbea[_0x4246('0x10')]=_0x19a9a6[0x0][_0x4246('0x10')]),_0x335b97=_0x3f026b?Array[_0x4246('0xe')](_0x409f40['getSelectedBlocks']())[_0x4246('0x16')](_0x549db6=>oo(_0x549db6)||function(_0x370b71,_0x1deb54){if(_0x370b71['is'](_0x4246('0xd'))||_0x1deb54[_0x4246('0x2')](_0x370b71))return!0x1;return _0x1deb54[_0x4246('0x1c')](_0x370b71[_0x4246('0x14')],_0x4246('0x1d'));}(_0x549db6,_0x51e6c6[_0x4246('0x1')])):Array[_0x4246('0xe')](_0x409f40[_0x4246('0x4')]())['filter'](_0x3bc6f2=>oo(_0x3bc6f2));const _0x408cb5=_0x2fd8f0(_0x335b97,_0x51e6c6);_0x51e6c6['change'](()=>{for(const _0x3f0f60 of _0x408cb5)_0x138c4e[_0x4246('0x1f')](_0x3f0f60,{'commandName':_0x4246('0x1d'),'commandParams':[{..._0x1dbea,'forceValue':_0x3f026b}],'formatGroupId':_0x4246('0x1b')});});}),(_0x138c4e[_0x4246('0x1e')][_0x4246('0x0')]('codeBlock',_0x270178=>_0x35e816(_0x244676,_0x4246('0x19'),_0x270178)),_0x138c4e[_0x4246('0x1e')][_0x4246('0x18')](_0x1d3d43=>{const {type:_0x21b7f5,data:_0x2a047c}=_0x1d3d43;if(_0x4246('0x13')==_0x21b7f5&&_0x2a047c&&_0x4246('0x1d')==_0x2a047c[_0x4246('0x11')]){const _0x192982=_0x2a047c[_0x4246('0x21')][0x0]['language'],_0x34c7c7=_0x19a9a6[_0x4246('0xb')](_0x1f91d5=>_0x1f91d5[_0x4246('0x10')]===_0x192982)['label'],_0x4ff077=_0x244676['_t'](_0x34c7c7);return _0x2a047c[_0x4246('0x21')][0x0]['forceValue']?{'type':'format','content':_0x35e816(_0x244676,_0x4246('0xc'),_0x35e816(_0x244676,_0x4246('0x19'),0x1)+'\x20('+_0x4ff077+')')}:{'type':'format','content':_0x35e816(_0x244676,_0x4246('0x5'),_0x35e816(_0x244676,_0x4246('0x19'),0x1))};}}));}}function oo(_0x249a80){return _0x4246('0x1d')==_0x249a80['name'];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42e3=['editor','CommentsEditing','enableCommand','afterInit','plugins','TrackChangesEditing','get'];(function(_0x2747e6,_0x42e37e){const _0x186a85=function(_0x126952){while(--_0x126952){_0x2747e6['push'](_0x2747e6['shift']());}};_0x186a85(++_0x42e37e);}(_0x42e3,0x109));const _0x186a=function(_0x2747e6,_0x42e37e){_0x2747e6=_0x2747e6-0x0;let _0x186a85=_0x42e3[_0x2747e6];return _0x186a85;};import{Plugin as _0x58b577}from'ckeditor5/src/core';export default class L extends _0x58b577{[_0x186a('0x4')](){const _0x5c0d0a=this[_0x186a('0x1')];if(!_0x5c0d0a[_0x186a('0x5')]['has'](_0x186a('0x2')))return;_0x5c0d0a[_0x186a('0x5')][_0x186a('0x0')](_0x186a('0x6'))[_0x186a('0x3')]('addCommentThread');}}
23
+ const _0xfaad=['enableCommand','CommentsEditing','afterInit','TrackChangesEditing','plugins','get','addCommentThread','editor'];(function(_0x5981b7,_0xfaad70){const _0x4e4be6=function(_0x3beb98){while(--_0x3beb98){_0x5981b7['push'](_0x5981b7['shift']());}};_0x4e4be6(++_0xfaad70);}(_0xfaad,0x1dc));const _0x4e4b=function(_0x5981b7,_0xfaad70){_0x5981b7=_0x5981b7-0x0;let _0x4e4be6=_0xfaad[_0x5981b7];return _0x4e4be6;};import{Plugin as _0x656057}from'ckeditor5/src/core';export default class F extends _0x656057{[_0x4e4b('0x6')](){const _0x1a04fa=this[_0x4e4b('0x3')];if(!_0x1a04fa[_0x4e4b('0x0')]['has'](_0x4e4b('0x5')))return;_0x1a04fa[_0x4e4b('0x0')][_0x4e4b('0x1')](_0x4e4b('0x7'))[_0x4e4b('0x4')](_0x4e4b('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15a8=['model','high','detach','requires','modifySelection','enqueueChange','data','TrackChangesEditing','deleteForward','end','root','editing','getFirstRange','forward','lock','plugins','isCollapsed','showSuggestionHighlights','createRange','buffer','selection','start','removeMarker:suggestion:deletion','addMarker:suggestion:deletion','unbindElementFromMarkerName','document','$graveyard','remove','get','editor','setSelection','init','markerNameToElements','writer','unit','downcastDispatcher','delete','enableCommand','merge','unlock'];(function(_0x480955,_0x15a85b){const _0x25e957=function(_0x18b153){while(--_0x18b153){_0x480955['push'](_0x480955['shift']());}};_0x25e957(++_0x15a85b);}(_0x15a8,0x192));const _0x25e9=function(_0x480955,_0x15a85b){_0x480955=_0x480955-0x0;let _0x25e957=_0x15a8[_0x480955];return _0x25e957;};import{Plugin as _0x861f98}from'ckeditor5/src/core';import{Delete as _0x5c0313}from'ckeditor5/src/typing';import{LiveRange as _0x4b2d72}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3bfdbf}from'./utils';export default class q extends _0x861f98{static get[_0x25e9('0x1')](){return[_0x5c0313];}[_0x25e9('0x1d')](){const _0x2a04cb=this[_0x25e9('0x1b')],_0x50bcb5=_0x2a04cb[_0x25e9('0xd')][_0x25e9('0x1a')](_0x25e9('0x5'));_0x50bcb5[_0x25e9('0x23')](_0x25e9('0x22'));const _0x4d5cdd=_0x2a04cb['commands'][_0x25e9('0x1a')](_0x25e9('0x6'));_0x50bcb5[_0x25e9('0x23')](_0x25e9('0x6'),(_0x3ab906,_0x1e4d22={})=>{const _0x1d4b10=_0x2a04cb[_0x25e9('0x26')]['createSelection'](_0x2a04cb[_0x25e9('0x26')][_0x25e9('0x17')][_0x25e9('0x12')]);_0x1d4b10[_0x25e9('0xe')]&&_0x2a04cb[_0x25e9('0x26')][_0x25e9('0x2')](_0x1d4b10,{'direction':_0x25e9('0xb'),'unit':_0x1e4d22[_0x25e9('0x20')]});const _0x1b6ace=_0x1d4b10[_0x25e9('0xa')](),_0x304c74=_0x4b2d72['fromRange'](_0x1b6ace);let _0x3af417;_0x3ab906(_0x1e4d22),_0x3af417=_0x25e9('0x18')==_0x304c74[_0x25e9('0x8')]['rootName']?_0x2a04cb[_0x25e9('0x26')][_0x25e9('0x10')](_0x1b6ace[_0x25e9('0x13')]):_0x2a04cb['model'][_0x25e9('0x10')](_0x304c74[_0x25e9('0x13')],_0x304c74[_0x25e9('0x7')]),_0x304c74[_0x25e9('0x0')](),_0x2a04cb['model'][_0x25e9('0x3')](_0x4d5cdd[_0x25e9('0x11')]['batch'],_0x37792f=>{_0x4d5cdd[_0x25e9('0x11')][_0x25e9('0xc')](),_0x37792f[_0x25e9('0x1c')](_0x37792f['createRange'](_0x3af417['end'])),_0x4d5cdd['buffer'][_0x25e9('0x25')]();});}),_0x2a04cb[_0x25e9('0x9')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',_0x3bfdbf(_0x2a04cb,_0x25e9('0x24')),{'priority':'high'}),_0x2a04cb[_0x25e9('0x4')][_0x25e9('0x21')]['on'](_0x25e9('0x15'),(_0x1343ff,_0x2826a7,_0x46f6b6)=>{_0x46f6b6['options'][_0x25e9('0xf')]&&_0x3bfdbf(_0x2a04cb,_0x25e9('0x24'),{'showActiveMarker':!0x1})(_0x1343ff,_0x2826a7,_0x46f6b6);},{'priority':_0x25e9('0x27')}),_0x2a04cb[_0x25e9('0x9')][_0x25e9('0x21')]['on'](_0x25e9('0x14'),(_0x129d94,_0xd07dd8,_0x3dc82b)=>{const _0x15511f=_0x3dc82b['mapper'][_0x25e9('0x1e')](_0xd07dd8['markerName']);if(_0x15511f)for(const _0x53486a of _0x15511f)_0x53486a['is']('uiElement')&&(_0x3dc82b['mapper'][_0x25e9('0x16')](_0x53486a,_0xd07dd8['markerName']),_0x3dc82b[_0x25e9('0x1f')][_0x25e9('0x19')](_0x53486a));},{'priority':_0x25e9('0x27')});}}
23
+ const _0x2c58=['uiElement','data','get','high','selection','createSelection','root','detach','enqueueChange','lock','markerNameToElements','editor','commands','fromRange','end','unbindElementFromMarkerName','setSelection','requires','delete','$graveyard','isCollapsed','writer','showSuggestionHighlights','downcastDispatcher','getFirstRange','removeMarker:suggestion:deletion','remove','rootName','deleteForward','mapper','init','batch','addMarker:suggestion:deletion','createRange','forward','buffer','model','options','unit','merge','markerName','enableCommand'];(function(_0x38f5e9,_0x2c588b){const _0x525802=function(_0x1f899c){while(--_0x1f899c){_0x38f5e9['push'](_0x38f5e9['shift']());}};_0x525802(++_0x2c588b);}(_0x2c58,0x153));const _0x5258=function(_0x38f5e9,_0x2c588b){_0x38f5e9=_0x38f5e9-0x0;let _0x525802=_0x2c58[_0x38f5e9];return _0x525802;};import{Plugin as _0x291816}from'ckeditor5/src/core';import{Delete as _0x28ad8e}from'ckeditor5/src/typing';import{LiveRange as _0x453077}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x306d3e}from'./utils';export default class L extends _0x291816{static get[_0x5258('0xe')](){return[_0x28ad8e];}[_0x5258('0x1b')](){const _0x22cced=this[_0x5258('0x8')],_0xc61fe7=_0x22cced['plugins'][_0x5258('0x29')]('TrackChangesEditing');_0xc61fe7[_0x5258('0x26')](_0x5258('0xf'));const _0xec38ed=_0x22cced[_0x5258('0x9')]['get']('deleteForward');_0xc61fe7['enableCommand'](_0x5258('0x19'),(_0x2be495,_0x5e1da5={})=>{const _0x523219=_0x22cced[_0x5258('0x21')][_0x5258('0x2')](_0x22cced['model']['document'][_0x5258('0x1')]);_0x523219[_0x5258('0x11')]&&_0x22cced[_0x5258('0x21')]['modifySelection'](_0x523219,{'direction':_0x5258('0x1f'),'unit':_0x5e1da5[_0x5258('0x23')]});const _0xedd2c8=_0x523219[_0x5258('0x15')](),_0x3a08cb=_0x453077[_0x5258('0xa')](_0xedd2c8);let _0x1c91f1;_0x2be495(_0x5e1da5),_0x1c91f1=_0x5258('0x10')==_0x3a08cb[_0x5258('0x3')][_0x5258('0x18')]?_0x22cced[_0x5258('0x21')][_0x5258('0x1e')](_0xedd2c8['start']):_0x22cced[_0x5258('0x21')][_0x5258('0x1e')](_0x3a08cb['start'],_0x3a08cb[_0x5258('0xb')]),_0x3a08cb[_0x5258('0x4')](),_0x22cced[_0x5258('0x21')][_0x5258('0x5')](_0xec38ed[_0x5258('0x20')][_0x5258('0x1c')],_0x3b78fb=>{_0xec38ed[_0x5258('0x20')][_0x5258('0x6')](),_0x3b78fb[_0x5258('0xd')](_0x3b78fb[_0x5258('0x1e')](_0x1c91f1[_0x5258('0xb')])),_0xec38ed[_0x5258('0x20')]['unlock']();});}),_0x22cced['editing'][_0x5258('0x14')]['on']('addMarker:suggestion:deletion',_0x306d3e(_0x22cced,_0x5258('0x24')),{'priority':_0x5258('0x0')}),_0x22cced[_0x5258('0x28')]['downcastDispatcher']['on'](_0x5258('0x1d'),(_0x2416b1,_0x13b092,_0x442ca2)=>{_0x442ca2[_0x5258('0x22')][_0x5258('0x13')]&&_0x306d3e(_0x22cced,_0x5258('0x24'),{'showActiveMarker':!0x1})(_0x2416b1,_0x13b092,_0x442ca2);},{'priority':_0x5258('0x0')}),_0x22cced['editing']['downcastDispatcher']['on'](_0x5258('0x16'),(_0x988867,_0x4e628e,_0x50257c)=>{const _0x891c36=_0x50257c[_0x5258('0x1a')][_0x5258('0x7')](_0x4e628e[_0x5258('0x25')]);if(_0x891c36)for(const _0x57c4f4 of _0x891c36)_0x57c4f4['is'](_0x5258('0x27'))&&(_0x50257c[_0x5258('0x1a')][_0x5258('0xc')](_0x57c4f4,_0x4e628e[_0x5258('0x25')]),_0x50257c[_0x5258('0x12')][_0x5258('0x17')](_0x57c4f4));},{'priority':_0x5258('0x0')});}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x4c4e=['*Format:*\x20remove\x20from\x20%0','schema','createRange','splitListItemAfter','from','enableCommand','_descriptionFactory','value','afterInit','*Format:*\x20insert\x20into\x20%0','document','commands','*Indent:*\x20%0','findIndex','previousSibling','ELEMENT_LIST_ITEM','filter','TrackChangesEditing','getSelectedBlocks','bulletedList','commandParams','editor','ELEMENT_BULLETED_LIST','splitListItemBefore','numberedList','selection','registerDescriptionCallback','nextSibling','plugins','listIndent','checkAttribute','DocumentListEditing','change','model','markBlockFormat','registerElementLabel','before','hasAttribute','end','outdentList','length','push','listType','forceValue','format','getAttribute','ELEMENT_NUMBERED_LIST','slice','locale','listItemId','add','indentList','*Outdent:*\x20%0'];(function(_0x5ebacb,_0x4c4e83){const _0x247473=function(_0x482383){while(--_0x482383){_0x5ebacb['push'](_0x5ebacb['shift']());}};_0x247473(++_0x4c4e83);}(_0x4c4e,0x1f2));const _0x2474=function(_0x5ebacb,_0x4c4e83){_0x5ebacb=_0x5ebacb-0x0;let _0x247473=_0x4c4e[_0x5ebacb];return _0x247473;};import{Plugin as _0x2a1f41}from'ckeditor5/src/core';import{getTranslation as _0x121d50}from'../utils/common-translations';export default class q extends _0x2a1f41{[_0x2474('0x28')](){const _0x461181=this[_0x2474('0x0')];if(!_0x461181[_0x2474('0x7')]['has'](_0x2474('0xa')))return;const _0x4da7e3=_0x461181[_0x2474('0x1b')],_0x537668=_0x461181[_0x2474('0x7')]['get'](_0x2474('0x31'));function _0x263ad3(_0x3092a3){return()=>{const _0x17459f=_0x461181[_0x2474('0xc')][_0x2474('0x2a')][_0x2474('0x4')],_0x4c3246=_0x461181[_0x2474('0x2b')]['get'](_0x3092a3);if(_0x4c3246['value']){const _0x11cc1a=_0x17459f[_0x2474('0x32')]();return void _0x461181[_0x2474('0xc')]['change'](()=>{for(const _0x1a2368 of _0x11cc1a)_0x537668[_0x2474('0xd')](_0x1a2368,{'commandName':_0x3092a3,'commandParams':[{'forceValue':!_0x4c3246[_0x2474('0x27')]}],'formatGroupId':_0x2474('0x15')});});}const _0x59c616=_0x3092a3[_0x2474('0x1a')](0x0,-0x4),_0x3eb133=function(_0x2a3715,_0x2f0415,_0x441048){let _0x17fdc8=Array[_0x2474('0x24')](_0x2a3715)[_0x2474('0x30')](_0x1d93d4=>function(_0x351979,_0x589eed){return _0x589eed[_0x2474('0x9')](_0x351979,_0x2474('0x1c'));}(_0x1d93d4,_0x441048));_0x17fdc8=_0x17fdc8[_0x2474('0x30')](_0x414a2f=>!_0x414a2f[_0x2474('0x10')](_0x2474('0x1c'))||_0x414a2f['getAttribute'](_0x2474('0x15'))!==_0x2f0415);const _0x40bc43=new Set();for(const _0xa3037 of _0x17fdc8)_0xa3037[_0x2474('0x10')](_0x2474('0x1c'))?_0x40bc43['add'](Pt(_0xa3037)):_0x40bc43['add'](_0xa3037);return Array[_0x2474('0x24')](_0x40bc43);}(_0x17459f[_0x2474('0x32')](),_0x59c616,_0x461181[_0x2474('0xc')][_0x2474('0x21')]);_0x461181['model'][_0x2474('0xb')](()=>{for(const _0x3b5a3c of _0x3eb133)_0x537668[_0x2474('0xd')](_0x3b5a3c,{'commandName':_0x3092a3,'commandParams':[{'forceValue':!_0x4c3246['value']}],'formatGroupId':_0x2474('0x15')},Gt(_0x3b5a3c));});};}function _0x4dda83(_0x945d18){return()=>{const _0x512bda=function(_0x2bd8ff){const _0x1dbff5=(_0x2bd8ff=Array[_0x2474('0x24')](_0x2bd8ff))[_0x2474('0x2d')](_0x254355=>!_0x254355[_0x2474('0x10')](_0x2474('0x1c')));return _0x1dbff5>-0x1&&(_0x2bd8ff=_0x2bd8ff[_0x2474('0x1a')](0x0,_0x1dbff5)),_0x2bd8ff;}(_0x461181[_0x2474('0xc')][_0x2474('0x2a')]['selection']['getSelectedBlocks']()),_0x5508d1=_0x461181[_0x2474('0xc')][_0x2474('0x22')](_0x461181[_0x2474('0xc')]['createPositionAt'](_0x512bda[0x0],_0x2474('0xf')),_0x461181[_0x2474('0xc')]['createPositionAt'](_0x512bda[_0x512bda[_0x2474('0x13')]-0x1],_0x2474('0x11')));_0x461181[_0x2474('0xc')][_0x2474('0xb')](()=>{_0x537668[_0x2474('0xd')](_0x5508d1,{'commandName':_0x945d18,'commandParams':[],'formatGroupId':'listIndent'},function(_0x30b370){const _0x1164b1=new Set();for(const _0x306786 of _0x30b370){let _0x29fe4b=_0x306786[_0x2474('0x6')];for(;_0x29fe4b&&_0x29fe4b[_0x2474('0x18')](_0x2474('0x8'))>_0x306786[_0x2474('0x18')](_0x2474('0x8'));)_0x1164b1[_0x2474('0x1d')](_0x29fe4b),_0x29fe4b=_0x29fe4b[_0x2474('0x6')];}return Array[_0x2474('0x24')](_0x1164b1);}(_0x512bda));});};}_0x537668['enableCommand']('numberedList',_0x263ad3('numberedList')),_0x537668[_0x2474('0x25')](_0x2474('0x33'),_0x263ad3(_0x2474('0x33'))),_0x537668[_0x2474('0x25')](_0x2474('0x1e'),_0x4dda83(_0x2474('0x1e'))),_0x537668[_0x2474('0x25')]('outdentList',_0x4dda83('outdentList')),_0x537668[_0x2474('0x25')](_0x2474('0x23')),_0x537668[_0x2474('0x25')](_0x2474('0x2')),_0x537668[_0x2474('0x26')][_0x2474('0xe')](_0x30440d=>!_0x461181[_0x2474('0xc')][_0x2474('0x21')]['isObject'](_0x30440d)&&_0x30440d[_0x2474('0x10')]('listItemId'),_0x190df9=>_0x121d50(_0x4da7e3,_0x2474('0x2f'),_0x190df9)),_0x537668[_0x2474('0x26')][_0x2474('0x5')](_0x2aa62c=>{const {data:_0x8b88e2}=_0x2aa62c;if(!_0x8b88e2)return;let _0x3c43b1,_0x4e8c21,_0x3fd21c;switch(_0x8b88e2['commandName']){case _0x2474('0x33'):_0x3fd21c=_0x8b88e2[_0x2474('0x34')][0x0][_0x2474('0x16')],_0x3c43b1=_0x3fd21c?_0x2474('0x29'):_0x2474('0x20'),_0x4e8c21={'type':_0x2474('0x17'),'content':_0x121d50(_0x4da7e3,_0x3c43b1,_0x121d50(_0x4da7e3,_0x2474('0x1')))};break;case _0x2474('0x3'):_0x3fd21c=_0x8b88e2[_0x2474('0x34')][0x0][_0x2474('0x16')],_0x3c43b1=_0x3fd21c?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x4e8c21={'type':'format','content':_0x121d50(_0x4da7e3,_0x3c43b1,_0x121d50(_0x4da7e3,_0x2474('0x19')))};break;case _0x2474('0x1e'):_0x3c43b1=_0x2474('0x2c'),_0x4e8c21={'type':_0x2474('0x17'),'content':_0x121d50(_0x4da7e3,_0x3c43b1,_0x121d50(_0x4da7e3,'ELEMENT_LIST_ITEM'))};break;case _0x2474('0x12'):_0x3c43b1=_0x2474('0x1f'),_0x4e8c21={'type':'format','content':_0x121d50(_0x4da7e3,_0x3c43b1,_0x121d50(_0x4da7e3,_0x2474('0x2f')))};}return _0x4e8c21;});}}function Gt(_0x322378){const _0x57bb04=[];if(_0x322378[_0x2474('0x10')](_0x2474('0x1c'))&&_0x322378[_0x2474('0x18')](_0x2474('0x8'))>0x0){let _0x3a35a8=_0x322378[_0x2474('0x6')];for(;_0x3a35a8&&_0x3a35a8['hasAttribute'](_0x2474('0x1c'))&&_0x3a35a8['getAttribute'](_0x2474('0x8'))===_0x322378[_0x2474('0x18')](_0x2474('0x8'));)_0x57bb04[_0x2474('0x14')](_0x3a35a8),_0x3a35a8=_0x3a35a8[_0x2474('0x6')];}return _0x57bb04;}function Pt(_0x4eb7c4){const _0x3ffc9e=_0x4eb7c4['getAttribute'](_0x2474('0x8'));if(0x0==_0x3ffc9e)return _0x4eb7c4;let _0x41d0f8=_0x4eb7c4;for(;_0x4eb7c4['previousSibling']&&_0x4eb7c4['hasAttribute']('listItemId');){const _0x54893a=_0x4eb7c4[_0x2474('0x2e')][_0x2474('0x18')]('listIndent');if(_0x54893a==_0x3ffc9e)_0x41d0f8=_0x4eb7c4[_0x2474('0x2e')];else{if(_0x54893a<_0x3ffc9e)break;}_0x4eb7c4=_0x4eb7c4[_0x2474('0x2e')];}return _0x41d0f8;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34dd=['init','hasClass','downcastDispatcher','document','detach','model','setSelection','writer','createPositionAt','createRange','mapper','data','plugins','requires','high','parent','selection','showSuggestionHighlights','addMarker:suggestion:insertion','enableCommand','schema','ck-suggestion-marker-split','nextSibling','editor','TrackChangesEditing','isAtStart','start','getFirstRange','markerName','split','editing','isAtEnd','change','end','isLimit','isCollapsed'];(function(_0x582a25,_0x34dd2e){const _0x52639b=function(_0x8f3158){while(--_0x8f3158){_0x582a25['push'](_0x582a25['shift']());}};_0x52639b(++_0x34dd2e);}(_0x34dd,0x1d6));const _0x5263=function(_0x582a25,_0x34dd2e){_0x582a25=_0x582a25-0x0;let _0x52639b=_0x34dd[_0x582a25];return _0x52639b;};import{Plugin as _0x37f827}from'ckeditor5/src/core';import{Enter as _0x448fe6}from'ckeditor5/src/enter';import{LiveRange as _0x3d147b}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x544f36}from'./utils';export default class H extends _0x37f827{static get[_0x5263('0xb')](){return[_0x448fe6];}[_0x5263('0x22')](){const _0x53c334=this[_0x5263('0x15')],_0x249f5e=_0x53c334[_0x5263('0xa')]['get'](_0x5263('0x16'));_0x249f5e[_0x5263('0x11')]('enter',_0xc03142=>{_0x53c334['model'][_0x5263('0x1e')](_0x3f24c2=>{const _0x11be2c=_0x53c334[_0x5263('0x3')][_0x5263('0x1')][_0x5263('0xe')],_0x198f99=_0x11be2c['getFirstPosition'](),_0x138f5c=_0x11be2c[_0x5263('0x21')],_0x19d856=_0x3d147b['fromRange'](_0x11be2c[_0x5263('0x19')]()),_0x57d544=_0x19d856[_0x5263('0x18')][_0x5263('0xd')],_0x4522d8=_0x19d856['end']['parent'],_0x2c70e0=!(_0x19d856[_0x5263('0x18')][_0x5263('0x17')]&&_0x19d856[_0x5263('0x1f')][_0x5263('0x1d')]),_0x970cd0=_0x57d544==_0x4522d8,_0x3049ea=!(_0x53c334[_0x5263('0x3')][_0x5263('0x12')]['isLimit'](_0x57d544)||_0x53c334[_0x5263('0x3')][_0x5263('0x12')][_0x5263('0x20')](_0x4522d8))&&(_0x138f5c||_0x2c70e0&&_0x970cd0);if(_0xc03142(),_0x3049ea){const _0x1acd6c=_0x53c334[_0x5263('0x3')][_0x5263('0x6')](_0x198f99[_0x5263('0xd')][_0x5263('0x14')],0x0),_0x2c5e25=_0x3f24c2[_0x5263('0x7')](_0x198f99,_0x1acd6c);_0x249f5e['markInsertion'](_0x2c5e25);}else _0x3f24c2[_0x5263('0x4')](_0x3f24c2['createRange'](_0x19d856['end']));_0x19d856[_0x5263('0x2')]();});}),_0x53c334['editing'][_0x5263('0x0')]['on'](_0x5263('0x10'),_0x544f36(_0x53c334,_0x5263('0x1b')),{'priority':_0x5263('0xc')}),_0x53c334[_0x5263('0x1c')]['downcastDispatcher']['on']('removeMarker:suggestion:insertion',(_0x250f2d,_0x3662c5,_0x175e7d)=>{const _0x33f0db=_0x175e7d[_0x5263('0x8')]['markerNameToElements'](_0x3662c5[_0x5263('0x1a')]);if(_0x33f0db)for(const _0x299052 of _0x33f0db)_0x299052[_0x5263('0x23')](_0x5263('0x13'))&&(_0x175e7d['mapper']['unbindElementFromMarkerName'](_0x299052,_0x3662c5[_0x5263('0x1a')]),_0x175e7d[_0x5263('0x5')]['remove'](_0x299052));},{'priority':_0x5263('0xc')}),_0x53c334[_0x5263('0x9')][_0x5263('0x0')]['on'](_0x5263('0x10'),(_0xeda798,_0x15e69b,_0xcae1f3)=>{_0xcae1f3['options'][_0x5263('0xf')]&&_0x544f36(_0x53c334,_0x5263('0x1b'),{'showActiveMarker':!0x1})(_0xeda798,_0x15e69b,_0xcae1f3);},{'priority':_0x5263('0xc')});}}
23
+ const _0x5363=['markerNameToElements','isAtStart','createRange','change','editor','model','high','unbindElementFromMarkerName','addMarker:suggestion:insertion','get','mapper','isCollapsed','markInsertion','editing','end','init','plugins','document','getFirstRange','remove','fromRange','parent','schema','enableCommand','requires','split','downcastDispatcher','isLimit','options','getFirstPosition','start','hasClass','createPositionAt','writer'];(function(_0x3d93ab,_0x536301){const _0x281968=function(_0x2568f2){while(--_0x2568f2){_0x3d93ab['push'](_0x3d93ab['shift']());}};_0x281968(++_0x536301);}(_0x5363,0x166));const _0x2819=function(_0x3d93ab,_0x536301){_0x3d93ab=_0x3d93ab-0x0;let _0x281968=_0x5363[_0x3d93ab];return _0x281968;};import{Plugin as _0x1110c0}from'ckeditor5/src/core';import{Enter as _0x2b3733}from'ckeditor5/src/enter';import{LiveRange as _0x151c10}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4e4fca}from'./utils';export default class H extends _0x1110c0{static get[_0x2819('0x6')](){return[_0x2b3733];}[_0x2819('0x1f')](){const _0x273e8f=this[_0x2819('0x14')],_0x5d2316=_0x273e8f[_0x2819('0x20')][_0x2819('0x19')]('TrackChangesEditing');_0x5d2316[_0x2819('0x5')]('enter',_0x35bf84=>{_0x273e8f['model'][_0x2819('0x13')](_0x2d8d78=>{const _0x4a60af=_0x273e8f[_0x2819('0x15')][_0x2819('0x21')]['selection'],_0x4a45b7=_0x4a60af[_0x2819('0xb')](),_0x11a1cf=_0x4a60af[_0x2819('0x1b')],_0x1ed9dc=_0x151c10[_0x2819('0x2')](_0x4a60af[_0x2819('0x0')]()),_0x182a16=_0x1ed9dc['start']['parent'],_0x17ff27=_0x1ed9dc['end']['parent'],_0x7c410f=!(_0x1ed9dc[_0x2819('0xc')][_0x2819('0x11')]&&_0x1ed9dc[_0x2819('0x1e')]['isAtEnd']),_0x5e6b93=_0x182a16==_0x17ff27,_0x191e0e=!(_0x273e8f[_0x2819('0x15')]['schema'][_0x2819('0x9')](_0x182a16)||_0x273e8f[_0x2819('0x15')][_0x2819('0x4')][_0x2819('0x9')](_0x17ff27))&&(_0x11a1cf||_0x7c410f&&_0x5e6b93);if(_0x35bf84(),_0x191e0e){const _0x4566a0=_0x273e8f[_0x2819('0x15')][_0x2819('0xe')](_0x4a45b7[_0x2819('0x3')]['nextSibling'],0x0),_0xad54bd=_0x2d8d78[_0x2819('0x12')](_0x4a45b7,_0x4566a0);_0x5d2316[_0x2819('0x1c')](_0xad54bd);}else _0x2d8d78['setSelection'](_0x2d8d78[_0x2819('0x12')](_0x1ed9dc[_0x2819('0x1e')]));_0x1ed9dc['detach']();});}),_0x273e8f[_0x2819('0x1d')][_0x2819('0x8')]['on'](_0x2819('0x18'),_0x4e4fca(_0x273e8f,_0x2819('0x7')),{'priority':_0x2819('0x16')}),_0x273e8f[_0x2819('0x1d')][_0x2819('0x8')]['on']('removeMarker:suggestion:insertion',(_0x3c9687,_0x24f9ca,_0x11c43e)=>{const _0x1f9205=_0x11c43e['mapper'][_0x2819('0x10')](_0x24f9ca['markerName']);if(_0x1f9205)for(const _0x5e911b of _0x1f9205)_0x5e911b[_0x2819('0xd')]('ck-suggestion-marker-split')&&(_0x11c43e[_0x2819('0x1a')][_0x2819('0x17')](_0x5e911b,_0x24f9ca['markerName']),_0x11c43e[_0x2819('0xf')][_0x2819('0x1')](_0x5e911b));},{'priority':_0x2819('0x16')}),_0x273e8f['data'][_0x2819('0x8')]['on'](_0x2819('0x18'),(_0x4b8fb5,_0x30922b,_0x14caeb)=>{_0x14caeb[_0x2819('0xa')]['showSuggestionHighlights']&&_0x4e4fca(_0x273e8f,_0x2819('0x7'),{'showActiveMarker':!0x1})(_0x4b8fb5,_0x30922b,_0x14caeb);},{'priority':_0x2819('0x16')});}}