@ckeditor/ckeditor5-track-changes 35.2.0 → 35.3.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 (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.0",
3
+ "version": "35.3.0",
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.0",
31
- "ckeditor5-collaboration": "^35.2.0",
30
+ "ckeditor5": "^35.3.0",
31
+ "ckeditor5-collaboration": "^35.3.0",
32
32
  "lodash-es": "^4.17.11",
33
- "@ckeditor/ckeditor5-style": "^35.2.0"
33
+ "@ckeditor/ckeditor5-style": "^35.3.0"
34
34
  }
35
35
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2669=['TrackChangesEditing','_suggestions','get','refresh','execute','track-changes-accept-suggestion-not-found','plugins','isEnabled','editor'];(function(_0x2828f3,_0x266940){const _0x2e1299=function(_0x2c6ecd){while(--_0x2c6ecd){_0x2828f3['push'](_0x2828f3['shift']());}};_0x2e1299(++_0x266940);}(_0x2669,0x10c));const _0x2e12=function(_0x2828f3,_0x266940){_0x2828f3=_0x2828f3-0x0;let _0x2e1299=_0x2669[_0x2828f3];return _0x2e1299;};import{Command as _0x366cbd}from'ckeditor5/src/core';import{CKEditorError as _0xfa25d5}from'ckeditor5/src/utils';export default class $ extends _0x366cbd{constructor(_0x5a5276,_0x4ad431){super(_0x5a5276),this[_0x2e12('0x3')]=_0x4ad431,this[_0x2e12('0x5')]();}[_0x2e12('0x5')](){this[_0x2e12('0x0')]=!0x0;}[_0x2e12('0x6')](_0x239829){const _0x5ea631=this[_0x2e12('0x3')]['get'](_0x239829);if(!_0x5ea631)throw new _0xfa25d5(_0x2e12('0x7'),this);this[_0x2e12('0x1')][_0x2e12('0x8')][_0x2e12('0x4')](_0x2e12('0x2'))['acceptSuggestion'](_0x5ea631);}}
23
+ const _0x4f4e=['acceptSuggestion','refresh','get','TrackChangesEditing','_suggestions','track-changes-accept-suggestion-not-found','isEnabled','execute','plugins'];(function(_0xab4866,_0x4f4ebe){const _0x2c9e7e=function(_0x865bd5){while(--_0x865bd5){_0xab4866['push'](_0xab4866['shift']());}};_0x2c9e7e(++_0x4f4ebe);}(_0x4f4e,0x90));const _0x2c9e=function(_0xab4866,_0x4f4ebe){_0xab4866=_0xab4866-0x0;let _0x2c9e7e=_0x4f4e[_0xab4866];return _0x2c9e7e;};import{Command as _0x291f2a}from'ckeditor5/src/core';import{CKEditorError as _0x5938f5}from'ckeditor5/src/utils';export default class N extends _0x291f2a{constructor(_0x2785c2,_0x53fa34){super(_0x2785c2),this[_0x2c9e('0x4')]=_0x53fa34,this[_0x2c9e('0x1')]();}[_0x2c9e('0x1')](){this[_0x2c9e('0x6')]=!0x0;}[_0x2c9e('0x7')](_0x548a94){const _0x21c253=this['_suggestions'][_0x2c9e('0x2')](_0x548a94);if(!_0x21c253)throw new _0x5938f5(_0x2c9e('0x5'),this);this['editor'][_0x2c9e('0x8')]['get'](_0x2c9e('0x3'))[_0x2c9e('0x0')](_0x21c253);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21e3=['execute','plugins','discardSuggestion','get','track-changes-discard-suggestion-not-found','TrackChangesEditing','_suggestions','refresh'];(function(_0x22bb28,_0x21e3e0){const _0x31d186=function(_0x810f3f){while(--_0x810f3f){_0x22bb28['push'](_0x22bb28['shift']());}};_0x31d186(++_0x21e3e0);}(_0x21e3,0xf6));const _0x31d1=function(_0x22bb28,_0x21e3e0){_0x22bb28=_0x22bb28-0x0;let _0x31d186=_0x21e3[_0x22bb28];return _0x31d186;};import{Command as _0x530d4f}from'ckeditor5/src/core';import{CKEditorError as _0x1494af}from'ckeditor5/src/utils';export default class N extends _0x530d4f{constructor(_0x67aaff,_0x31da6f){super(_0x67aaff),this[_0x31d1('0x0')]=_0x31da6f,this[_0x31d1('0x1')]();}[_0x31d1('0x1')](){this['isEnabled']=!0x0;}[_0x31d1('0x2')](_0xbfc46){const _0x4eebab=this['_suggestions']['get'](_0xbfc46);if(!_0x4eebab)throw new _0x1494af(_0x31d1('0x6'),this);this['editor'][_0x31d1('0x3')][_0x31d1('0x5')](_0x31d1('0x7'))[_0x31d1('0x4')](_0x4eebab);}}
23
+ const _0x5c2e=['refresh','editor','isEnabled','execute','get','discardSuggestion','_suggestions','track-changes-discard-suggestion-not-found'];(function(_0x1efaa6,_0x5c2ef9){const _0x42a2ff=function(_0x22f67b){while(--_0x22f67b){_0x1efaa6['push'](_0x1efaa6['shift']());}};_0x42a2ff(++_0x5c2ef9);}(_0x5c2e,0xe6));const _0x42a2=function(_0x1efaa6,_0x5c2ef9){_0x1efaa6=_0x1efaa6-0x0;let _0x42a2ff=_0x5c2e[_0x1efaa6];return _0x42a2ff;};import{Command as _0x1d675f}from'ckeditor5/src/core';import{CKEditorError as _0x2fc0f3}from'ckeditor5/src/utils';export default class R extends _0x1d675f{constructor(_0x31a670,_0x44994e){super(_0x31a670),this[_0x42a2('0x0')]=_0x44994e,this[_0x42a2('0x2')]();}[_0x42a2('0x2')](){this[_0x42a2('0x4')]=!0x0;}[_0x42a2('0x5')](_0x578e73){const _0x1bb355=this['_suggestions'][_0x42a2('0x6')](_0x578e73);if(!_0x1bb355)throw new _0x2fc0f3(_0x42a2('0x1'),this);this[_0x42a2('0x3')]['plugins'][_0x42a2('0x6')]('TrackChangesEditing')[_0x42a2('0x7')](_0x1bb355);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5492=['type','deletion','sort'];(function(_0x480397,_0x549256){var _0x2c2147=function(_0x4888ac){while(--_0x4888ac){_0x480397['push'](_0x480397['shift']());}};_0x2c2147(++_0x549256);}(_0x5492,0x192));var _0x2c21=function(_0x480397,_0x549256){_0x480397=_0x480397-0x0;var _0x2c2147=_0x5492[_0x480397];return _0x2c2147;};export default function ts(_0x1daad1){return _0x1daad1[_0x2c21('0x2')]((_0x54e837,_0x2fa30b)=>_0x2c21('0x1')==_0x54e837[_0x2c21('0x0')]&&_0x2c21('0x1')!=_0x2fa30b['type']?-0x1:'deletion'!=_0x54e837[_0x2c21('0x0')]&&_0x2c21('0x1')==_0x2fa30b[_0x2c21('0x0')]?0x1:0x0);}
23
+ const _0x48b5=['values','isInContent','from','execute','_command','_suggestions','model','isEnabled','editor','refresh'];(function(_0x383017,_0x48b59f){const _0x3e3045=function(_0x34a5a7){while(--_0x34a5a7){_0x383017['push'](_0x383017['shift']());}};_0x3e3045(++_0x48b59f);}(_0x48b5,0x150));const _0x3e30=function(_0x383017,_0x48b59f){_0x383017=_0x383017-0x0;let _0x3e3045=_0x48b5[_0x383017];return _0x3e3045;};import{Command as _0x4025d8}from'ckeditor5/src/core';import{sortSuggestions as _0xb0e681,executeCommandForSuggestions as _0x4459a5}from'../utils/utils';export default class x extends _0x4025d8{constructor(_0xfc48b2,_0x337fa3,_0x1aba36){super(_0xfc48b2),this[_0x3e30('0x8')]=_0x337fa3,this[_0x3e30('0x9')]=_0x1aba36,this[_0x3e30('0x3')]();}[_0x3e30('0x3')](){const _0x778495=Array[_0x3e30('0x6')](this['_suggestions'][_0x3e30('0x4')]())['some'](_0x3549d1=>_0x3549d1[_0x3e30('0x5')]);this[_0x3e30('0x1')]=this[_0x3e30('0x8')][_0x3e30('0x1')]&&_0x778495;}[_0x3e30('0x7')](){const _0x49c9bf=_0xb0e681(Array[_0x3e30('0x6')](this[_0x3e30('0x9')][_0x3e30('0x4')]()));_0x4459a5(this[_0x3e30('0x2')][_0x3e30('0x0')],this['_command'],_0x49c9bf);}}
@@ -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 _0x3352=['isEnabled','execute','values','_command','editor','refresh','_selectedSuggestions','_suggestions','from','model','size'];(function(_0x2592f3,_0x3352b1){const _0x5f0db1=function(_0x1c5b5b){while(--_0x1c5b5b){_0x2592f3['push'](_0x2592f3['shift']());}};_0x5f0db1(++_0x3352b1);}(_0x3352,0x101));const _0x5f0d=function(_0x2592f3,_0x3352b1){_0x2592f3=_0x2592f3-0x0;let _0x5f0db1=_0x3352[_0x2592f3];return _0x5f0db1;};import{Command as _0xaafa4d}from'ckeditor5/src/core';import{sortSuggestions as _0x5e7620,getSelectedSuggestions as _0x2585af,executeCommandForSuggestions as _0x3f2262}from'../utils/utils';export default class U extends _0xaafa4d{constructor(_0xfc267c,_0x428fb5,_0xdf3f89){super(_0xfc267c),this[_0x5f0d('0xa')]=_0x428fb5,this['_suggestions']=_0xdf3f89,this[_0x5f0d('0x2')]=new Set(),this[_0x5f0d('0x1')]();}[_0x5f0d('0x1')](){const _0x16b9e3=this[_0x5f0d('0x0')][_0x5f0d('0x5')]['document']['selection'],_0x56da21=Array[_0x5f0d('0x4')](this[_0x5f0d('0x3')][_0x5f0d('0x9')]());this[_0x5f0d('0x2')]=_0x2585af(_0x16b9e3,_0x56da21),this[_0x5f0d('0x7')]=this['_command'][_0x5f0d('0x7')]&&!!this[_0x5f0d('0x2')][_0x5f0d('0x6')];}[_0x5f0d('0x8')](){const _0x236a3b=_0x5e7620(Array[_0x5f0d('0x4')](this[_0x5f0d('0x2')]));_0x3f2262(this[_0x5f0d('0x0')][_0x5f0d('0x5')],this['_command'],_0x236a3b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1dd5=['_enableCommands','commands','value','affectsData','forceDisabled','editor','has','_disableUnsupportedCommands','TrackChangesCommand','clearForceDisabled','refresh','_enabledCommands'];(function(_0x2b44d9,_0x1dd518){const _0xa48519=function(_0x3722f9){while(--_0x3722f9){_0x2b44d9['push'](_0x2b44d9['shift']());}};_0xa48519(++_0x1dd518);}(_0x1dd5,0x119));const _0xa485=function(_0x2b44d9,_0x1dd518){_0x2b44d9=_0x2b44d9-0x0;let _0xa48519=_0x1dd5[_0x2b44d9];return _0xa48519;};import{Command as _0x5f30e5}from'ckeditor5/src/core';export default class M extends _0x5f30e5{constructor(_0x565747,_0x1bc42b){super(_0x565747),this[_0xa485('0x6')]=_0x1bc42b,this[_0xa485('0x9')]=!0x1,this[_0xa485('0x5')]();}[_0xa485('0x5')](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this[_0xa485('0x9')],this['value']?this[_0xa485('0x2')]():this[_0xa485('0x7')]();}[_0xa485('0x2')](){for(const _0x2cf23b of this[_0xa485('0x0')][_0xa485('0x8')]['commands']())_0x2cf23b[_0xa485('0xa')]&&!this[_0xa485('0x6')][_0xa485('0x1')](_0x2cf23b)&&_0x2cf23b[_0xa485('0xb')](_0xa485('0x3'));}[_0xa485('0x7')](){for(const _0x46392c of this[_0xa485('0x0')][_0xa485('0x8')][_0xa485('0x8')]())_0x46392c[_0xa485('0xa')]&&!this['_enabledCommands']['has'](_0x46392c)&&_0x46392c[_0xa485('0x4')](_0xa485('0x3'));}}
23
+ const _0x2c4f=['execute','refresh','TrackChangesCommand','editor','commands','_disableUnsupportedCommands','_enabledCommands','value','forceDisabled','has','affectsData','isEnabled','_enableCommands'];(function(_0x5bd356,_0x2c4fbd){const _0x256a0d=function(_0x3484f7){while(--_0x3484f7){_0x5bd356['push'](_0x5bd356['shift']());}};_0x256a0d(++_0x2c4fbd);}(_0x2c4f,0x1e6));const _0x256a=function(_0x5bd356,_0x2c4fbd){_0x5bd356=_0x5bd356-0x0;let _0x256a0d=_0x2c4f[_0x5bd356];return _0x256a0d;};import{Command as _0x2bde5f}from'ckeditor5/src/core';export default class $ extends _0x2bde5f{constructor(_0x38e1a4,_0x51be8e){super(_0x38e1a4),this[_0x256a('0x1')]=_0x51be8e,this[_0x256a('0x2')]=!0x1,this[_0x256a('0x9')]();}[_0x256a('0x9')](){this[_0x256a('0x6')]=!0x0;}[_0x256a('0x8')](){this[_0x256a('0x2')]=!this[_0x256a('0x2')],this[_0x256a('0x2')]?this['_disableUnsupportedCommands']():this[_0x256a('0x7')]();}[_0x256a('0x0')](){for(const _0x3f3a22 of this[_0x256a('0xb')][_0x256a('0xc')]['commands']())_0x3f3a22[_0x256a('0x5')]&&!this[_0x256a('0x1')][_0x256a('0x4')](_0x3f3a22)&&_0x3f3a22[_0x256a('0x3')](_0x256a('0xa'));}[_0x256a('0x7')](){for(const _0x546a1c of this[_0x256a('0xb')]['commands'][_0x256a('0xc')]())_0x546a1c[_0x256a('0x5')]&&!this[_0x256a('0x1')][_0x256a('0x4')](_0x546a1c)&&_0x546a1c['clearForceDisabled'](_0x256a('0xa'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5054=['contentLanguageDirection','afterInit','format','center','registerDescriptionCallback','FORMAT_ALIGN_TO_LEFT','*Format:*\x20%0','has','markBlockFormat','locale','FORMAT_ALIGN_TO_RIGHT','plugins','_descriptionFactory','alignment','change','value','AlignmentEditing','model','editor','checkAttribute','commandName','enableCommand','TrackChangesEditing','right','FORMAT_ALIGN_TO_CENTER','commandParams','document','left'];(function(_0x5883f8,_0x5054b4){const _0x8e1bc4=function(_0x5a01f9){while(--_0x5a01f9){_0x5883f8['push'](_0x5883f8['shift']());}};_0x8e1bc4(++_0x5054b4);}(_0x5054,0x1d8));const _0x8e1b=function(_0x5883f8,_0x5054b4){_0x5883f8=_0x5883f8-0x0;let _0x8e1bc4=_0x5054[_0x5883f8];return _0x8e1bc4;};import{Plugin as _0x28ad39}from'ckeditor5/src/core';import{getTranslation as _0xb02b29}from'../utils/common-translations';export default class E extends _0x28ad39{[_0x8e1b('0x5')](){const _0x17c9d2=this[_0x8e1b('0x16')],_0x4436fb=_0x17c9d2[_0x8e1b('0xd')];if(!_0x17c9d2[_0x8e1b('0xf')][_0x8e1b('0xb')](_0x8e1b('0x14')))return;const _0x295da7=_0x17c9d2[_0x8e1b('0xf')]['get'](_0x8e1b('0x1a'));_0x295da7[_0x8e1b('0x19')]('alignment',(_0x35e756,_0xff9e54={})=>{let _0x3ac341=_0xff9e54[_0x8e1b('0x13')];_0xff9e54[_0x8e1b('0x13')]||(_0x3ac341='ltr'===_0x17c9d2[_0x8e1b('0xd')][_0x8e1b('0x4')]?'left':_0x8e1b('0x1b'));const _0x2a226b=Array['from'](this[_0x8e1b('0x16')][_0x8e1b('0x15')][_0x8e1b('0x2')]['selection']['getSelectedBlocks']())['filter'](_0x35f435=>function(_0xb91517,_0x5d6e39,_0x329ea4){const _0x49ba35=_0xb91517['getAttribute'](_0x8e1b('0x11'))||null;return _0x5d6e39[_0x8e1b('0x17')](_0xb91517,_0x8e1b('0x11'))&&_0x329ea4!=_0x49ba35;}(_0x35f435,this[_0x8e1b('0x16')][_0x8e1b('0x15')]['schema'],_0x3ac341));_0x17c9d2['model'][_0x8e1b('0x12')](()=>{for(const _0x1206ae of _0x2a226b)_0x295da7[_0x8e1b('0xc')](_0x1206ae,{'commandName':_0x8e1b('0x11'),'commandParams':[{'value':_0x3ac341}]});});}),_0x295da7[_0x8e1b('0x10')][_0x8e1b('0x8')](_0x2c56c1=>{const {data:_0x358329}=_0x2c56c1;if(_0x358329&&_0x8e1b('0x11')==_0x358329[_0x8e1b('0x18')]){const _0x4b95e1=_0x358329[_0x8e1b('0x1')][0x0]['value'];return{'type':_0x8e1b('0x6'),'content':_0xb02b29(_0x4436fb,_0x8e1b('0xa'),function(_0x4e2d3a){switch(_0x4e2d3a){case _0x8e1b('0x3'):return _0xb02b29(_0x4436fb,_0x8e1b('0x9'));case _0x8e1b('0x1b'):return _0xb02b29(_0x4436fb,_0x8e1b('0xe'));case _0x8e1b('0x7'):return _0xb02b29(_0x4436fb,_0x8e1b('0x0'));case'justify':return _0xb02b29(_0x4436fb,'FORMAT_JUSTIFY_TEXT');}}(_0x4b95e1))};}});}}
23
+ const _0x2398=['value','registerDescriptionCallback','left','justify','document','editor','plugins','from','format','right','afterInit','checkAttribute','getSelectedBlocks','get','markBlockFormat','commandName','change','_descriptionFactory','FORMAT_ALIGN_TO_LEFT','TrackChangesEditing','filter','*Format:*\x20%0','FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','model','center','has','locale','alignment','schema','FORMAT_JUSTIFY_TEXT'];(function(_0x50558c,_0x239800){const _0x33b294=function(_0x1c0ab6){while(--_0x1c0ab6){_0x50558c['push'](_0x50558c['shift']());}};_0x33b294(++_0x239800);}(_0x2398,0x1b5));const _0x33b2=function(_0x50558c,_0x239800){_0x50558c=_0x50558c-0x0;let _0x33b294=_0x2398[_0x50558c];return _0x33b294;};import{Plugin as _0x16607e}from'ckeditor5/src/core';import{getTranslation as _0x447173}from'../utils/common-translations';export default class j extends _0x16607e{[_0x33b2('0x7')](){const _0x1a6386=this[_0x33b2('0x2')],_0x4d050c=_0x1a6386[_0x33b2('0x18')];if(!_0x1a6386[_0x33b2('0x3')][_0x33b2('0x17')]('AlignmentEditing'))return;const _0xef1312=_0x1a6386[_0x33b2('0x3')][_0x33b2('0xa')](_0x33b2('0x10'));_0xef1312['enableCommand'](_0x33b2('0x19'),(_0x161166,_0x1080b8={})=>{let _0x2fcc00=_0x1080b8[_0x33b2('0x1c')];_0x1080b8[_0x33b2('0x1c')]||(_0x2fcc00='ltr'===_0x1a6386[_0x33b2('0x18')][_0x33b2('0x14')]?_0x33b2('0x1e'):'right');const _0x4f3952=Array[_0x33b2('0x4')](this['editor'][_0x33b2('0x15')][_0x33b2('0x1')]['selection'][_0x33b2('0x9')]())[_0x33b2('0x11')](_0x5b4bde=>function(_0x41f0b0,_0x494690,_0x58b093){const _0x1da0db=_0x41f0b0['getAttribute'](_0x33b2('0x19'))||null;return _0x494690[_0x33b2('0x8')](_0x41f0b0,_0x33b2('0x19'))&&_0x58b093!=_0x1da0db;}(_0x5b4bde,this[_0x33b2('0x2')]['model'][_0x33b2('0x1a')],_0x2fcc00));_0x1a6386['model'][_0x33b2('0xd')](()=>{for(const _0x2d3991 of _0x4f3952)_0xef1312[_0x33b2('0xb')](_0x2d3991,{'commandName':'alignment','commandParams':[{'value':_0x2fcc00}]});});}),_0xef1312[_0x33b2('0xe')][_0x33b2('0x1d')](_0x5c5bfa=>{const {data:_0x2cf62b}=_0x5c5bfa;if(_0x2cf62b&&_0x33b2('0x19')==_0x2cf62b[_0x33b2('0xc')]){const _0x70b32d=_0x2cf62b['commandParams'][0x0][_0x33b2('0x1c')];return{'type':_0x33b2('0x5'),'content':_0x447173(_0x4d050c,_0x33b2('0x12'),function(_0x98b306){switch(_0x98b306){case _0x33b2('0x1e'):return _0x447173(_0x4d050c,_0x33b2('0xf'));case _0x33b2('0x6'):return _0x447173(_0x4d050c,'FORMAT_ALIGN_TO_RIGHT');case _0x33b2('0x16'):return _0x447173(_0x4d050c,_0x33b2('0x13'));case _0x33b2('0x0'):return _0x447173(_0x4d050c,_0x33b2('0x1b'));}}(_0x70b32d))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x145c=['_descriptionFactory','italic','value','has','selection','from','getRanges','CodeEditing','superscript','forceValue','enableCommand','registerDescriptionCallback','SubscriptEditing','underline','isCollapsed','SuperscriptEditing','locale','TrackChangesEditing','format','commandName','bold','subscript','afterInit','FORMAT_SUPERSCRIPT','FORMAT_UNDERLINE','FORMAT_STRIKETHROUGH','plugins','BoldEditing','*Format:*\x20%0','FORMAT_ITALIC','*Remove\x20format:*\x20%0','get','UnderlineEditing','StrikethroughEditing'];(function(_0x22562a,_0x145c22){const _0xf0918c=function(_0x30ae92){while(--_0x30ae92){_0x22562a['push'](_0x22562a['shift']());}};_0xf0918c(++_0x145c22);}(_0x145c,0xf4));const _0xf091=function(_0x22562a,_0x145c22){_0x22562a=_0x22562a-0x0;let _0xf0918c=_0x145c[_0x22562a];return _0xf0918c;};import{Plugin as _0x527ab0}from'ckeditor5/src/core';import{getTranslation as _0x165dd9}from'../utils/common-translations';import{getRangesWithAttribute as _0x341ced}from'./utils';const Ft=[_0xf091('0x15'),'ItalicEditing',_0xf091('0x1a'),_0xf091('0x1'),_0xf091('0x1b'),_0xf091('0x6'),_0xf091('0x9')];export default class O extends _0x527ab0{[_0xf091('0x10')](){const _0x313233=this['editor'],_0x5e36d9=_0x313233['model'],_0x4dee9e=_0x313233[_0xf091('0x14')][_0xf091('0x19')](_0xf091('0xb')),_0x2fbc22=_0x313233[_0xf091('0xa')];for(const _0x2eac9c of Ft){if(!_0x313233[_0xf091('0x14')][_0xf091('0x1f')](_0x2eac9c))continue;const _0x25dd01=_0x2eac9c['slice'](0x0,-0x7)['toLowerCase'](),_0x26cc7c=_0x313233['commands']['get'](_0x25dd01);_0x4dee9e[_0xf091('0x4')](_0x25dd01,(_0x3aa381,_0xd03c88={})=>{const _0x1e5b6c=_0x5e36d9['document'][_0xf091('0x20')];if(_0x1e5b6c[_0xf091('0x8')])return void _0x3aa381(_0xd03c88);const _0x51cea3=void 0x0!==_0xd03c88['forceValue']?_0xd03c88[_0xf091('0x3')]:!_0x26cc7c[_0xf091('0x1e')];_0x5e36d9['change'](()=>{const _0x3c886a=Array[_0xf091('0x21')](_0x1e5b6c[_0xf091('0x0')]());for(const _0x55be1b of _0x3c886a){const _0x54e8bc=_0x51cea3?[_0x55be1b]:_0x341ced(_0x25dd01,_0x55be1b,_0x5e36d9);for(const _0x28d772 of _0x54e8bc)_0x4dee9e['markInlineFormat'](_0x28d772,{'commandName':_0x25dd01,'commandParams':[{'forceValue':_0x51cea3}]});}});});}function _0x40e1c7(_0x45bd7d,_0x3334d1){_0x4dee9e[_0xf091('0x1c')][_0xf091('0x5')](_0x1bb579=>{const {data:_0x1eaab7}=_0x1bb579;if(_0x1eaab7&&_0x1eaab7[_0xf091('0xd')]===_0x45bd7d)return _0x1eaab7['commandParams'][0x0][_0xf091('0x3')]?{'type':'format','content':_0x165dd9(_0x2fbc22,_0xf091('0x16'),_0x3334d1)}:{'type':_0xf091('0xc'),'content':_0x165dd9(_0x2fbc22,_0xf091('0x18'),_0x3334d1)};});}_0x40e1c7(_0xf091('0xe'),_0x165dd9(_0x2fbc22,'FORMAT_BOLD')),_0x40e1c7(_0xf091('0x1d'),_0x165dd9(_0x2fbc22,_0xf091('0x17'))),_0x40e1c7(_0xf091('0x7'),_0x165dd9(_0x2fbc22,_0xf091('0x12'))),_0x40e1c7('code',_0x165dd9(_0x2fbc22,'FORMAT_CODE')),_0x40e1c7('strikethrough',_0x165dd9(_0x2fbc22,_0xf091('0x13'))),_0x40e1c7(_0xf091('0xf'),_0x165dd9(_0x2fbc22,'FORMAT_SUBSCRIPT')),_0x40e1c7(_0xf091('0x2'),_0x165dd9(_0x2fbc22,_0xf091('0x11')));}}
23
+ const _0x2862=['SuperscriptEditing','FORMAT_STRIKETHROUGH','commandName','slice','code','commands','StrikethroughEditing','FORMAT_BOLD','afterInit','from','FORMAT_UNDERLINE','bold','italic','_descriptionFactory','plugins','underline','FORMAT_ITALIC','document','SubscriptEditing','has','get','value','CodeEditing','toLowerCase','strikethrough','FORMAT_CODE','ItalicEditing','*Remove\x20format:*\x20%0','editor','change','forceValue','getRanges','TrackChangesEditing','subscript','format'];(function(_0x14a19e,_0x2862d1){const _0x5273db=function(_0x513373){while(--_0x513373){_0x14a19e['push'](_0x14a19e['shift']());}};_0x5273db(++_0x2862d1);}(_0x2862,0xba));const _0x5273=function(_0x14a19e,_0x2862d1){_0x14a19e=_0x14a19e-0x0;let _0x5273db=_0x2862[_0x14a19e];return _0x5273db;};import{Plugin as _0x24b114}from'ckeditor5/src/core';import{getTranslation as _0x3c59b6}from'../utils/common-translations';import{getRangesWithAttribute as _0x235de9}from'./utils';const Ot=['BoldEditing',_0x5273('0xf'),'UnderlineEditing',_0x5273('0xb'),_0x5273('0x1e'),_0x5273('0x7'),_0x5273('0x18')];export default class E extends _0x24b114{[_0x5273('0x20')](){const _0x453d03=this[_0x5273('0x11')],_0x1ccc48=_0x453d03['model'],_0x387473=_0x453d03[_0x5273('0x3')][_0x5273('0x9')](_0x5273('0x15')),_0x30e011=_0x453d03['locale'];for(const _0x2bb4f2 of Ot){if(!_0x453d03[_0x5273('0x3')][_0x5273('0x8')](_0x2bb4f2))continue;const _0x250222=_0x2bb4f2[_0x5273('0x1b')](0x0,-0x7)[_0x5273('0xc')](),_0x526c6f=_0x453d03[_0x5273('0x1d')][_0x5273('0x9')](_0x250222);_0x387473['enableCommand'](_0x250222,(_0x3db13e,_0x417278={})=>{const _0x4117e4=_0x1ccc48[_0x5273('0x6')]['selection'];if(_0x4117e4['isCollapsed'])return void _0x3db13e(_0x417278);const _0xbb88e2=void 0x0!==_0x417278['forceValue']?_0x417278[_0x5273('0x13')]:!_0x526c6f[_0x5273('0xa')];_0x1ccc48[_0x5273('0x12')](()=>{const _0x4a29a9=Array[_0x5273('0x21')](_0x4117e4[_0x5273('0x14')]());for(const _0x347a83 of _0x4a29a9){const _0x159ead=_0xbb88e2?[_0x347a83]:_0x235de9(_0x250222,_0x347a83,_0x1ccc48);for(const _0x3fd1ee of _0x159ead)_0x387473['markInlineFormat'](_0x3fd1ee,{'commandName':_0x250222,'commandParams':[{'forceValue':_0xbb88e2}]});}});});}function _0x46ac7a(_0x375e82,_0x73dc14){_0x387473[_0x5273('0x2')]['registerDescriptionCallback'](_0x5b6434=>{const {data:_0x1baa48}=_0x5b6434;if(_0x1baa48&&_0x1baa48[_0x5273('0x1a')]===_0x375e82)return _0x1baa48['commandParams'][0x0][_0x5273('0x13')]?{'type':_0x5273('0x17'),'content':_0x3c59b6(_0x30e011,'*Format:*\x20%0',_0x73dc14)}:{'type':_0x5273('0x17'),'content':_0x3c59b6(_0x30e011,_0x5273('0x10'),_0x73dc14)};});}_0x46ac7a(_0x5273('0x0'),_0x3c59b6(_0x30e011,_0x5273('0x1f'))),_0x46ac7a(_0x5273('0x1'),_0x3c59b6(_0x30e011,_0x5273('0x5'))),_0x46ac7a(_0x5273('0x4'),_0x3c59b6(_0x30e011,_0x5273('0x22'))),_0x46ac7a(_0x5273('0x1c'),_0x3c59b6(_0x30e011,_0x5273('0xe'))),_0x46ac7a(_0x5273('0xd'),_0x3c59b6(_0x30e011,_0x5273('0x19'))),_0x46ac7a(_0x5273('0x16'),_0x3c59b6(_0x30e011,'FORMAT_SUBSCRIPT')),_0x46ac7a('superscript',_0x3c59b6(_0x30e011,'FORMAT_SUPERSCRIPT'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x412c=['ELEMENT_BLOCK_QUOTE','has','value','document','*Remove\x20format:*\x20%0','forceValue','filter','editor','*Format:*\x20%0','checkChild','from','_descriptionFactory','selection','name','getSelectedBlocks','commandName','registerDescriptionCallback','plugins','model','commandParams','BlockQuoteEditing','markBlockFormat','blockQuote','schema','format','TrackChangesEditing','get','parent'];(function(_0x39da33,_0x412c43){const _0x5492ad=function(_0x51d87f){while(--_0x51d87f){_0x39da33['push'](_0x39da33['shift']());}};_0x5492ad(++_0x412c43);}(_0x412c,0x73));const _0x5492=function(_0x39da33,_0x412c43){_0x39da33=_0x39da33-0x0;let _0x5492ad=_0x412c[_0x39da33];return _0x5492ad;};import{Plugin as _0x231019}from'ckeditor5/src/core';import{getTranslation as _0x2707fd}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x235a62}from'../utils/getrangesofblockgroups';export default class P extends _0x231019{['afterInit'](){const _0x52c135=this[_0x5492('0x4')],_0x4e214c=_0x52c135['locale'];if(!_0x52c135[_0x5492('0xe')][_0x5492('0x1a')](_0x5492('0x11')))return;const _0x145028=_0x52c135['plugins'][_0x5492('0x17')](_0x5492('0x16')),_0x1eb489=this[_0x5492('0x4')]['commands'][_0x5492('0x17')](_0x5492('0x13'));_0x145028['enableCommand'](_0x5492('0x13'),(_0xa42f5b,_0x289a37={})=>{const _0x767748=this['editor'][_0x5492('0xf')][_0x5492('0x0')][_0x5492('0x9')],_0x1b66f3=_0x289a37&&void 0x0!==_0x289a37[_0x5492('0x2')]?_0x289a37[_0x5492('0x2')]:!_0x1eb489[_0x5492('0x1b')];let _0xea03d4=[];if(_0x1b66f3){const _0x4cf4e3=Array['from'](_0x767748['getSelectedBlocks']())['filter'](_0x17aa6f=>to(_0x17aa6f)||function(_0x4054c3,_0x4c8c01){const _0x25b4d1=_0x4c8c01[_0x5492('0x6')](_0x4054c3['parent'],_0x5492('0x13')),_0x8b5e21=_0x4c8c01[_0x5492('0x6')](['$root','blockQuote'],_0x4054c3);return _0x25b4d1&&_0x8b5e21;}(_0x17aa6f,this[_0x5492('0x4')][_0x5492('0xf')][_0x5492('0x14')]));_0xea03d4=_0x235a62(_0x4cf4e3,_0x52c135[_0x5492('0xf')]);}else{const _0x17d312=Array[_0x5492('0x7')](_0x767748[_0x5492('0xb')]())[_0x5492('0x3')](_0x857406=>to(_0x857406));_0xea03d4=_0x235a62(_0x17d312,_0x52c135[_0x5492('0xf')]);}_0x52c135[_0x5492('0xf')]['change'](()=>{for(const _0x2e0f76 of _0xea03d4)_0x145028[_0x5492('0x12')](_0x2e0f76,{'commandName':_0x5492('0x13'),'commandParams':[{'forceValue':_0x1b66f3}]});});}),_0x145028[_0x5492('0x8')][_0x5492('0xd')](_0x4a910=>{const {data:_0xc2d242}=_0x4a910;if(_0xc2d242&&'blockQuote'==_0xc2d242[_0x5492('0xc')]){const _0x49e0b1=_0x2707fd(_0x4e214c,_0x5492('0x19'));return _0xc2d242[_0x5492('0x10')][0x0][_0x5492('0x2')]?{'type':_0x5492('0x15'),'content':_0x2707fd(_0x4e214c,_0x5492('0x5'),_0x49e0b1)}:{'type':_0x5492('0x15'),'content':_0x2707fd(_0x4e214c,_0x5492('0x1'),_0x49e0b1)};}});}}function to(_0x2c5137){return _0x5492('0x13')==_0x2c5137[_0x5492('0x18')][_0x5492('0xa')];}
23
+ const _0x15ad=['ELEMENT_BLOCK_QUOTE','locale','TrackChangesEditing','get','selection','document','_descriptionFactory','has','afterInit','forceValue','BlockQuoteEditing','from','filter','name','value','blockQuote','plugins','$root','enableCommand','schema','commandParams','editor','markBlockFormat','format','checkChild','change','getSelectedBlocks','model','parent'];(function(_0x4635ee,_0x15ad22){const _0x52f656=function(_0x249e04){while(--_0x249e04){_0x4635ee['push'](_0x4635ee['shift']());}};_0x52f656(++_0x15ad22);}(_0x15ad,0x18b));const _0x52f6=function(_0x4635ee,_0x15ad22){_0x4635ee=_0x4635ee-0x0;let _0x52f656=_0x15ad[_0x4635ee];return _0x52f656;};import{Plugin as _0x3a03dc}from'ckeditor5/src/core';import{getTranslation as _0x4e7c9c}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x3bb786}from'../utils/utils';export default class O extends _0x3a03dc{[_0x52f6('0x13')](){const _0x351535=this['editor'],_0x51c7a2=_0x351535[_0x52f6('0xc')];if(!_0x351535[_0x52f6('0x1b')][_0x52f6('0x12')](_0x52f6('0x15')))return;const _0x29e68c=_0x351535['plugins'][_0x52f6('0xe')](_0x52f6('0xd')),_0x313683=this[_0x52f6('0x3')]['commands']['get'](_0x52f6('0x1a'));_0x29e68c[_0x52f6('0x0')](_0x52f6('0x1a'),(_0x5e9510,_0x4e8d42={})=>{const _0x5d0136=this[_0x52f6('0x3')][_0x52f6('0x9')][_0x52f6('0x10')][_0x52f6('0xf')],_0x341797=_0x4e8d42&&void 0x0!==_0x4e8d42['forceValue']?_0x4e8d42[_0x52f6('0x14')]:!_0x313683[_0x52f6('0x19')];let _0x4ab248=[];if(_0x341797){const _0x4fc10c=Array[_0x52f6('0x16')](_0x5d0136[_0x52f6('0x8')]())[_0x52f6('0x17')](_0x339f44=>Ft(_0x339f44)||function(_0x36f540,_0xbe35ab){const _0x2773f7=_0xbe35ab['checkChild'](_0x36f540['parent'],'blockQuote'),_0x34efe7=_0xbe35ab[_0x52f6('0x6')]([_0x52f6('0x1c'),_0x52f6('0x1a')],_0x36f540);return _0x2773f7&&_0x34efe7;}(_0x339f44,this[_0x52f6('0x3')][_0x52f6('0x9')][_0x52f6('0x1')]));_0x4ab248=_0x3bb786(_0x4fc10c,_0x351535[_0x52f6('0x9')]);}else{const _0x353fab=Array[_0x52f6('0x16')](_0x5d0136[_0x52f6('0x8')]())[_0x52f6('0x17')](_0x2bdee0=>Ft(_0x2bdee0));_0x4ab248=_0x3bb786(_0x353fab,_0x351535[_0x52f6('0x9')]);}_0x351535['model'][_0x52f6('0x7')](()=>{for(const _0x10134a of _0x4ab248)_0x29e68c[_0x52f6('0x4')](_0x10134a,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x341797}]});});}),_0x29e68c[_0x52f6('0x11')]['registerDescriptionCallback'](_0xffcc50=>{const {data:_0x1bc4c9}=_0xffcc50;if(_0x1bc4c9&&_0x52f6('0x1a')==_0x1bc4c9['commandName']){const _0x1ccdd7=_0x4e7c9c(_0x51c7a2,_0x52f6('0xb'));return _0x1bc4c9[_0x52f6('0x2')][0x0][_0x52f6('0x14')]?{'type':'format','content':_0x4e7c9c(_0x51c7a2,'*Format:*\x20%0',_0x1ccdd7)}:{'type':_0x52f6('0x5'),'content':_0x4e7c9c(_0x51c7a2,'*Remove\x20format:*\x20%0',_0x1ccdd7)};}});}}function Ft(_0x29b85c){return'blockQuote'==_0x29b85c[_0x52f6('0xa')][_0x52f6('0x18')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x136c=['get','commands','ckbox','editor','TrackChangesEditing','plugins','afterInit'];(function(_0x555061,_0x136cd2){const _0x6ffe49=function(_0x26080b){while(--_0x26080b){_0x555061['push'](_0x555061['shift']());}};_0x6ffe49(++_0x136cd2);}(_0x136c,0x7a));const _0x6ffe=function(_0x555061,_0x136cd2){_0x555061=_0x555061-0x0;let _0x6ffe49=_0x136c[_0x555061];return _0x6ffe49;};import{Plugin as _0x449564}from'ckeditor5/src/core';export default class G extends _0x449564{[_0x6ffe('0x3')](){const _0x3024ee=this[_0x6ffe('0x0')];_0x3024ee[_0x6ffe('0x5')][_0x6ffe('0x4')](_0x6ffe('0x6'))&&_0x3024ee[_0x6ffe('0x2')]['get'](_0x6ffe('0x1'))['enableCommand'](_0x6ffe('0x6'));}}
23
+ const _0x4ad9=['get','ckbox','commands','enableCommand','editor'];(function(_0x363b8d,_0x4ad99f){const _0x5048d3=function(_0x4f9a9f){while(--_0x4f9a9f){_0x363b8d['push'](_0x363b8d['shift']());}};_0x5048d3(++_0x4ad99f);}(_0x4ad9,0x148));const _0x5048=function(_0x363b8d,_0x4ad99f){_0x363b8d=_0x363b8d-0x0;let _0x5048d3=_0x4ad9[_0x363b8d];return _0x5048d3;};import{Plugin as _0x1e1d88}from'ckeditor5/src/core';export default class P extends _0x1e1d88{['afterInit'](){const _0x2b0cba=this[_0x5048('0x1')];_0x2b0cba[_0x5048('0x4')]['get']('ckbox')&&_0x2b0cba['plugins'][_0x5048('0x2')]('TrackChangesEditing')[_0x5048('0x0')](_0x5048('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ab8=['registerElementLabel','registerDescriptionCallback','value','getSelectedBlocks','selection','blockName','enableCommand','outdentCodeBlock','get','plugins','TrackChangesEditing','codeBlock','has','ELEMENT_CODE_BLOCK','_descriptionFactory','indentCodeBlock','find','commandParams','name','label','commandName','*Format:*\x20%0','forceValue','filter','*Remove\x20format:*\x20%0','parent','afterInit','model','format','commands','rootElement','markBlockFormat','checkChild','language','editor','CodeBlock','from','formatBlock'];(function(_0x36637a,_0x3ab812){const _0x2e1151=function(_0x57ffa7){while(--_0x57ffa7){_0x36637a['push'](_0x36637a['shift']());}};_0x2e1151(++_0x3ab812);}(_0x3ab8,0x72));const _0x2e11=function(_0x36637a,_0x3ab812){_0x36637a=_0x36637a-0x0;let _0x2e1151=_0x3ab8[_0x36637a];return _0x2e1151;};import{Plugin as _0xdfb174}from'ckeditor5/src/core';import{getTranslation as _0x1af724}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x55c2ae}from'../utils/getrangesofblockgroups';export default class F extends _0xdfb174{[_0x2e11('0x1a')](){const _0x3b26bd=this[_0x2e11('0x22')];if(!_0x3b26bd[_0x2e11('0x9')][_0x2e11('0xc')](_0x2e11('0x23')))return;const _0x10203d=_0x3b26bd['plugins']['get'](_0x2e11('0xa')),_0x5cf249=_0x3b26bd['locale'],_0x786be0=_0x3b26bd['config'][_0x2e11('0x8')]('codeBlock')['languages'],_0x1baeca=_0x3b26bd[_0x2e11('0x1d')][_0x2e11('0x8')]('codeBlock');_0x10203d[_0x2e11('0x6')](_0x2e11('0xf')),_0x10203d[_0x2e11('0x6')](_0x2e11('0x7')),_0x10203d[_0x2e11('0x6')](_0x2e11('0xb'),(_0x488a6a,_0x2b7856={})=>{const _0x275330=_0x3b26bd[_0x2e11('0x1b')],_0x33a73a=_0x3b26bd[_0x2e11('0x1b')]['document'][_0x2e11('0x4')],_0x409ffe=_0x2b7856&&void 0x0!==_0x2b7856[_0x2e11('0x16')]?_0x2b7856[_0x2e11('0x16')]:!_0x1baeca[_0x2e11('0x2')];let _0x54be87;_0x2b7856[_0x2e11('0x21')]||(_0x2b7856[_0x2e11('0x21')]=_0x786be0[0x0][_0x2e11('0x21')]),_0x54be87=_0x409ffe?Array['from'](_0x33a73a[_0x2e11('0x3')]())[_0x2e11('0x17')](_0x3cacda=>co(_0x3cacda)||function(_0x223e9d,_0x314a79){if(_0x223e9d['is'](_0x2e11('0x1e'))||_0x314a79['isLimit'](_0x223e9d))return!0x1;return _0x314a79[_0x2e11('0x20')](_0x223e9d[_0x2e11('0x19')],_0x2e11('0xb'));}(_0x3cacda,_0x275330['schema'])):Array[_0x2e11('0x24')](_0x33a73a['getSelectedBlocks']())[_0x2e11('0x17')](_0x25d4c2=>co(_0x25d4c2));const _0x239596=_0x55c2ae(_0x54be87,_0x275330);_0x275330['change'](()=>{for(const _0x5a6b1d of _0x239596)_0x10203d[_0x2e11('0x1f')](_0x5a6b1d,{'commandName':_0x2e11('0xb'),'commandParams':[{..._0x2b7856,'forceValue':_0x409ffe}],'formatGroupId':_0x2e11('0x5')});});}),(_0x10203d[_0x2e11('0xe')][_0x2e11('0x0')](_0x2e11('0xb'),_0x4804ba=>_0x1af724(_0x5cf249,_0x2e11('0xd'),_0x4804ba)),_0x10203d[_0x2e11('0xe')][_0x2e11('0x1')](_0x12a0e5=>{const {type:_0x351f22,data:_0x40b3bf}=_0x12a0e5;if(_0x2e11('0x25')==_0x351f22&&_0x40b3bf&&_0x2e11('0xb')==_0x40b3bf[_0x2e11('0x14')]){const _0x380291=_0x40b3bf[_0x2e11('0x11')][0x0][_0x2e11('0x21')],_0xb288ce=_0x786be0[_0x2e11('0x10')](_0x2c2739=>_0x2c2739[_0x2e11('0x21')]===_0x380291)[_0x2e11('0x13')],_0x5c33b1=_0x5cf249['_t'](_0xb288ce);return _0x40b3bf[_0x2e11('0x11')][0x0]['forceValue']?{'type':_0x2e11('0x1c'),'content':_0x1af724(_0x5cf249,_0x2e11('0x15'),_0x1af724(_0x5cf249,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x5c33b1+')')}:{'type':_0x2e11('0x1c'),'content':_0x1af724(_0x5cf249,_0x2e11('0x18'),_0x1af724(_0x5cf249,_0x2e11('0xd'),0x1))};}}));}}function co(_0x49e1ed){return _0x2e11('0xb')==_0x49e1ed[_0x2e11('0x12')];}
23
+ const _0x2b57=['_descriptionFactory','value','filter','registerDescriptionCallback','has','commands','plugins','editor','registerElementLabel','blockName','TrackChangesEditing','formatBlock','indentCodeBlock','label','locale','enableCommand','schema','find','ELEMENT_CODE_BLOCK','model','format','commandName','*Format:*\x20%0','name','codeBlock','language','afterInit','rootElement','from','commandParams','getSelectedBlocks','CodeBlock','markBlockFormat','forceValue','document','change','get'];(function(_0x1599c4,_0x2b57de){const _0x252c99=function(_0x3e2dff){while(--_0x3e2dff){_0x1599c4['push'](_0x1599c4['shift']());}};_0x252c99(++_0x2b57de);}(_0x2b57,0xbe));const _0x252c=function(_0x1599c4,_0x2b57de){_0x1599c4=_0x1599c4-0x0;let _0x252c99=_0x2b57[_0x1599c4];return _0x252c99;};import{Plugin as _0x9f042b}from'ckeditor5/src/core';import{getTranslation as _0x2bb8be}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x386e67}from'../utils/utils';export default class G extends _0x9f042b{[_0x252c('0x15')](){const _0x2b036d=this[_0x252c('0x2')];if(!_0x2b036d[_0x252c('0x1')][_0x252c('0x24')](_0x252c('0x1a')))return;const _0x449703=_0x2b036d[_0x252c('0x1')][_0x252c('0x1f')](_0x252c('0x5')),_0x35c3ea=_0x2b036d[_0x252c('0x9')],_0x247999=_0x2b036d['config'][_0x252c('0x1f')](_0x252c('0x13'))['languages'],_0x48b2f8=_0x2b036d[_0x252c('0x0')][_0x252c('0x1f')](_0x252c('0x13'));_0x449703['enableCommand'](_0x252c('0x7')),_0x449703[_0x252c('0xa')]('outdentCodeBlock'),_0x449703[_0x252c('0xa')](_0x252c('0x13'),(_0x11daed,_0x75eb24={})=>{const _0x1cd87b=_0x2b036d['model'],_0x4b526e=_0x2b036d[_0x252c('0xe')][_0x252c('0x1d')]['selection'],_0x2a3d32=_0x75eb24&&void 0x0!==_0x75eb24[_0x252c('0x1c')]?_0x75eb24[_0x252c('0x1c')]:!_0x48b2f8[_0x252c('0x21')];let _0x43e063;_0x75eb24[_0x252c('0x14')]||(_0x75eb24['language']=_0x247999[0x0]['language']),_0x43e063=_0x2a3d32?Array[_0x252c('0x17')](_0x4b526e[_0x252c('0x19')]())['filter'](_0x4efb3b=>oo(_0x4efb3b)||function(_0x34a745,_0x5afbb7){if(_0x34a745['is'](_0x252c('0x16'))||_0x5afbb7['isLimit'](_0x34a745))return!0x1;return _0x5afbb7['checkChild'](_0x34a745['parent'],_0x252c('0x13'));}(_0x4efb3b,_0x1cd87b[_0x252c('0xb')])):Array[_0x252c('0x17')](_0x4b526e[_0x252c('0x19')]())[_0x252c('0x22')](_0x475a56=>oo(_0x475a56));const _0x4a04b0=_0x386e67(_0x43e063,_0x1cd87b);_0x1cd87b[_0x252c('0x1e')](()=>{for(const _0x29ec39 of _0x4a04b0)_0x449703[_0x252c('0x1b')](_0x29ec39,{'commandName':_0x252c('0x13'),'commandParams':[{..._0x75eb24,'forceValue':_0x2a3d32}],'formatGroupId':_0x252c('0x4')});});}),(_0x449703['_descriptionFactory'][_0x252c('0x3')](_0x252c('0x13'),_0x5bf278=>_0x2bb8be(_0x35c3ea,_0x252c('0xd'),_0x5bf278)),_0x449703[_0x252c('0x20')][_0x252c('0x23')](_0x5c7d40=>{const {type:_0x9f26e6,data:_0x2cd1e5}=_0x5c7d40;if(_0x252c('0x6')==_0x9f26e6&&_0x2cd1e5&&_0x252c('0x13')==_0x2cd1e5[_0x252c('0x10')]){const _0x38ce4c=_0x2cd1e5[_0x252c('0x18')][0x0][_0x252c('0x14')],_0x954e48=_0x247999[_0x252c('0xc')](_0xb22cb4=>_0xb22cb4[_0x252c('0x14')]===_0x38ce4c)[_0x252c('0x8')],_0x12bd1e=_0x35c3ea['_t'](_0x954e48);return _0x2cd1e5['commandParams'][0x0][_0x252c('0x1c')]?{'type':_0x252c('0xf'),'content':_0x2bb8be(_0x35c3ea,_0x252c('0x11'),_0x2bb8be(_0x35c3ea,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x12bd1e+')')}:{'type':'format','content':_0x2bb8be(_0x35c3ea,'*Remove\x20format:*\x20%0',_0x2bb8be(_0x35c3ea,_0x252c('0xd'),0x1))};}}));}}function oo(_0x5bce52){return'codeBlock'==_0x5bce52[_0x252c('0x12')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x471e=['enableCommand','plugins','has','get','TrackChangesEditing'];(function(_0x563961,_0x471ee0){const _0xb612d2=function(_0x366fe5){while(--_0x366fe5){_0x563961['push'](_0x563961['shift']());}};_0xb612d2(++_0x471ee0);}(_0x471e,0x1ce));const _0xb612=function(_0x563961,_0x471ee0){_0x563961=_0x563961-0x0;let _0xb612d2=_0x471e[_0x563961];return _0xb612d2;};import{Plugin as _0x1da435}from'ckeditor5/src/core';export default class L extends _0x1da435{['afterInit'](){const _0x39d753=this['editor'];if(!_0x39d753[_0xb612('0x4')][_0xb612('0x0')]('CommentsEditing'))return;_0x39d753[_0xb612('0x4')][_0xb612('0x1')](_0xb612('0x2'))[_0xb612('0x3')]('addCommentThread');}}
23
+ const _0x556c=['afterInit','editor','has','TrackChangesEditing','plugins'];(function(_0x197163,_0x556c3b){const _0x301058=function(_0x601e7f){while(--_0x601e7f){_0x197163['push'](_0x197163['shift']());}};_0x301058(++_0x556c3b);}(_0x556c,0xce));const _0x3010=function(_0x197163,_0x556c3b){_0x197163=_0x197163-0x0;let _0x301058=_0x556c[_0x197163];return _0x301058;};import{Plugin as _0x1f83a7}from'ckeditor5/src/core';export default class F extends _0x1f83a7{[_0x3010('0x4')](){const _0xc8d6db=this[_0x3010('0x0')];if(!_0xc8d6db['plugins'][_0x3010('0x1')]('CommentsEditing'))return;_0xc8d6db[_0x3010('0x3')]['get'](_0x3010('0x2'))['enableCommand']('addCommentThread');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3667=['editor','downcastDispatcher','batch','mapper','document','createSelection','enableCommand','delete','remove','isCollapsed','editing','lock','unbindElementFromMarkerName','TrackChangesEditing','enqueueChange','writer','addMarker:suggestion:deletion','buffer','deleteForward','unlock','merge','removeMarker:suggestion:deletion','get','getFirstRange','commands','model','forward','$graveyard','data','high','unit','setSelection','detach','plugins','start','createRange','fromRange','requires','options','selection','end'];(function(_0x45a6c1,_0x3667c0){const _0x52d874=function(_0x4b7f6a){while(--_0x4b7f6a){_0x45a6c1['push'](_0x45a6c1['shift']());}};_0x52d874(++_0x3667c0);}(_0x3667,0x188));const _0x52d8=function(_0x45a6c1,_0x3667c0){_0x45a6c1=_0x45a6c1-0x0;let _0x52d874=_0x3667[_0x45a6c1];return _0x52d874;};import{Plugin as _0x4746cf}from'ckeditor5/src/core';import{Delete as _0x30e1c3}from'ckeditor5/src/typing';import{LiveRange as _0x3141ca}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4ef673}from'./utils';export default class q extends _0x4746cf{static get[_0x52d8('0xe')](){return[_0x30e1c3];}['init'](){const _0x3b5e18=this[_0x52d8('0x12')],_0x2dbbd1=_0x3b5e18[_0x52d8('0xa')]['get'](_0x52d8('0x1f'));_0x2dbbd1[_0x52d8('0x18')](_0x52d8('0x19'));const _0x5328ba=_0x3b5e18[_0x52d8('0x1')][_0x52d8('0x28')](_0x52d8('0x24'));_0x2dbbd1['enableCommand']('deleteForward',(_0x4a6c68,_0x3a48d6={})=>{const _0x4bbc93=_0x3b5e18[_0x52d8('0x2')][_0x52d8('0x17')](_0x3b5e18[_0x52d8('0x2')][_0x52d8('0x16')][_0x52d8('0x10')]);_0x4bbc93[_0x52d8('0x1b')]&&_0x3b5e18[_0x52d8('0x2')]['modifySelection'](_0x4bbc93,{'direction':_0x52d8('0x3'),'unit':_0x3a48d6[_0x52d8('0x7')]});const _0xf39241=_0x4bbc93[_0x52d8('0x0')](),_0x160751=_0x3141ca[_0x52d8('0xd')](_0xf39241);let _0x589c6e;_0x4a6c68(_0x3a48d6),_0x589c6e=_0x52d8('0x4')==_0x160751['root']['rootName']?_0x3b5e18['model']['createRange'](_0xf39241[_0x52d8('0xb')]):_0x3b5e18[_0x52d8('0x2')][_0x52d8('0xc')](_0x160751[_0x52d8('0xb')],_0x160751[_0x52d8('0x11')]),_0x160751[_0x52d8('0x9')](),_0x3b5e18[_0x52d8('0x2')][_0x52d8('0x20')](_0x5328ba[_0x52d8('0x23')][_0x52d8('0x14')],_0x1916d0=>{_0x5328ba[_0x52d8('0x23')][_0x52d8('0x1d')](),_0x1916d0[_0x52d8('0x8')](_0x1916d0[_0x52d8('0xc')](_0x589c6e['end'])),_0x5328ba[_0x52d8('0x23')][_0x52d8('0x25')]();});}),_0x3b5e18[_0x52d8('0x1c')]['downcastDispatcher']['on'](_0x52d8('0x22'),_0x4ef673(_0x3b5e18,_0x52d8('0x26')),{'priority':'high'}),_0x3b5e18[_0x52d8('0x5')]['downcastDispatcher']['on'](_0x52d8('0x22'),(_0xdad0d5,_0x2cfae7,_0x142a4b)=>{_0x142a4b[_0x52d8('0xf')]['showSuggestionHighlights']&&_0x4ef673(_0x3b5e18,'merge',{'showActiveMarker':!0x1})(_0xdad0d5,_0x2cfae7,_0x142a4b);},{'priority':_0x52d8('0x6')}),_0x3b5e18[_0x52d8('0x1c')][_0x52d8('0x13')]['on'](_0x52d8('0x27'),(_0x1de805,_0x43ce61,_0x44d2ba)=>{const _0x41cd26=_0x44d2ba[_0x52d8('0x15')]['markerNameToElements'](_0x43ce61['markerName']);if(_0x41cd26)for(const _0x333003 of _0x41cd26)_0x333003['is']('uiElement')&&(_0x44d2ba[_0x52d8('0x15')][_0x52d8('0x1e')](_0x333003,_0x43ce61['markerName']),_0x44d2ba[_0x52d8('0x21')][_0x52d8('0x1a')](_0x333003));},{'priority':_0x52d8('0x6')});}}
23
+ const _0x4daf=['delete','document','enableCommand','buffer','detach','setSelection','mapper','markerNameToElements','isCollapsed','deleteForward','enqueueChange','model','options','fromRange','commands','modifySelection','unlock','high','removeMarker:suggestion:deletion','end','remove','requires','createRange','showSuggestionHighlights','downcastDispatcher','unit','editing','start','rootName','addMarker:suggestion:deletion','plugins','data','createSelection','TrackChangesEditing','lock','get','writer','markerName','forward'];(function(_0x1f6f6c,_0x4dafc6){const _0x12554c=function(_0x25fd8f){while(--_0x25fd8f){_0x1f6f6c['push'](_0x1f6f6c['shift']());}};_0x12554c(++_0x4dafc6);}(_0x4daf,0xe8));const _0x1255=function(_0x1f6f6c,_0x4dafc6){_0x1f6f6c=_0x1f6f6c-0x0;let _0x12554c=_0x4daf[_0x1f6f6c];return _0x12554c;};import{Plugin as _0x445ee6}from'ckeditor5/src/core';import{Delete as _0x475ea2}from'ckeditor5/src/typing';import{LiveRange as _0x722a8}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x11f1c2}from'./utils';export default class L extends _0x445ee6{static get[_0x1255('0x17')](){return[_0x475ea2];}['init'](){const _0x6495c1=this['editor'],_0x6638e9=_0x6495c1[_0x1255('0x20')][_0x1255('0x25')](_0x1255('0x23'));_0x6638e9[_0x1255('0x4')](_0x1255('0x2'));const _0x1bbf96=_0x6495c1[_0x1255('0x10')][_0x1255('0x25')](_0x1255('0xb'));_0x6638e9[_0x1255('0x4')](_0x1255('0xb'),(_0x49e04f,_0x2dfa6b={})=>{const _0x293073=_0x6495c1['model'][_0x1255('0x22')](_0x6495c1[_0x1255('0xd')][_0x1255('0x3')]['selection']);_0x293073[_0x1255('0xa')]&&_0x6495c1['model'][_0x1255('0x11')](_0x293073,{'direction':_0x1255('0x1'),'unit':_0x2dfa6b[_0x1255('0x1b')]});const _0x317c70=_0x293073['getFirstRange'](),_0xdb741=_0x722a8[_0x1255('0xf')](_0x317c70);let _0x41dc1c;_0x49e04f(_0x2dfa6b),_0x41dc1c='$graveyard'==_0xdb741['root'][_0x1255('0x1e')]?_0x6495c1[_0x1255('0xd')][_0x1255('0x18')](_0x317c70[_0x1255('0x1d')]):_0x6495c1[_0x1255('0xd')][_0x1255('0x18')](_0xdb741['start'],_0xdb741[_0x1255('0x15')]),_0xdb741[_0x1255('0x6')](),_0x6495c1[_0x1255('0xd')][_0x1255('0xc')](_0x1bbf96[_0x1255('0x5')]['batch'],_0x52b3f4=>{_0x1bbf96[_0x1255('0x5')][_0x1255('0x24')](),_0x52b3f4[_0x1255('0x7')](_0x52b3f4[_0x1255('0x18')](_0x41dc1c['end'])),_0x1bbf96['buffer'][_0x1255('0x12')]();});}),_0x6495c1[_0x1255('0x1c')][_0x1255('0x1a')]['on'](_0x1255('0x1f'),_0x11f1c2(_0x6495c1,'merge'),{'priority':_0x1255('0x13')}),_0x6495c1[_0x1255('0x21')][_0x1255('0x1a')]['on'](_0x1255('0x1f'),(_0x52a082,_0x471dde,_0x19d522)=>{_0x19d522[_0x1255('0xe')][_0x1255('0x19')]&&_0x11f1c2(_0x6495c1,'merge',{'showActiveMarker':!0x1})(_0x52a082,_0x471dde,_0x19d522);},{'priority':_0x1255('0x13')}),_0x6495c1[_0x1255('0x1c')][_0x1255('0x1a')]['on'](_0x1255('0x14'),(_0x5369b9,_0x39389b,_0x2dd148)=>{const _0x177380=_0x2dd148[_0x1255('0x8')][_0x1255('0x9')](_0x39389b[_0x1255('0x0')]);if(_0x177380)for(const _0x580d23 of _0x177380)_0x580d23['is']('uiElement')&&(_0x2dd148[_0x1255('0x8')]['unbindElementFromMarkerName'](_0x580d23,_0x39389b[_0x1255('0x0')]),_0x2dd148[_0x1255('0x26')][_0x1255('0x16')](_0x580d23));},{'priority':_0x1255('0x13')});}}
@@ -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 _0x36a2=['*Format:*\x20remove\x20from\x20%0','registerElementLabel','afterInit','commandName','bulletedList','outdentList','commandParams','listIndent','markBlockFormat','ELEMENT_LIST_ITEM','*Indent:*\x20%0','has','model','indentList','slice','get','format','hasAttribute','previousSibling','forceValue','document','getAttribute','schema','registerDescriptionCallback','getSelectedBlocks','numberedList','splitListItemBefore','*Outdent:*\x20%0','selection','listType','listItemId','DocumentListEditing','filter','push','ELEMENT_NUMBERED_LIST','editor','length','end','_descriptionFactory','add','before','ELEMENT_BULLETED_LIST','*Format:*\x20insert\x20into\x20%0','findIndex','locale','TrackChangesEditing','value','createPositionAt','nextSibling','commands','plugins','from','enableCommand','change'];(function(_0x4ccde3,_0x36a25f){const _0x24f441=function(_0x548049){while(--_0x548049){_0x4ccde3['push'](_0x4ccde3['shift']());}};_0x24f441(++_0x36a25f);}(_0x36a2,0x1a6));const _0x24f4=function(_0x4ccde3,_0x36a25f){_0x4ccde3=_0x4ccde3-0x0;let _0x24f441=_0x36a2[_0x4ccde3];return _0x24f441;};import{Plugin as _0x268d48}from'ckeditor5/src/core';import{getTranslation as _0x267f99}from'../utils/common-translations';export default class q extends _0x268d48{[_0x24f4('0xc')](){const _0x568ffa=this[_0x24f4('0x2d')];if(!_0x568ffa[_0x24f4('0x6')][_0x24f4('0x15')](_0x24f4('0x29')))return;const _0x136945=_0x568ffa[_0x24f4('0x0')],_0x349019=_0x568ffa[_0x24f4('0x6')][_0x24f4('0x19')](_0x24f4('0x1'));function _0x579bd4(_0x3fe125){return()=>{const _0x309576=_0x568ffa[_0x24f4('0x16')][_0x24f4('0x1e')]['selection'],_0x3d5e78=_0x568ffa[_0x24f4('0x5')][_0x24f4('0x19')](_0x3fe125);if(_0x3d5e78['value']){const _0x1b3d94=_0x309576[_0x24f4('0x22')]();return void _0x568ffa[_0x24f4('0x16')][_0x24f4('0x9')](()=>{for(const _0x5909c4 of _0x1b3d94)_0x349019['markBlockFormat'](_0x5909c4,{'commandName':_0x3fe125,'commandParams':[{'forceValue':!_0x3d5e78['value']}],'formatGroupId':_0x24f4('0x27')});});}const _0x5ce9fe=_0x3fe125[_0x24f4('0x18')](0x0,-0x4),_0x381a2d=function(_0x4a51fb,_0x438025,_0x555584){let _0x5a0666=Array['from'](_0x4a51fb)['filter'](_0x56c3ed=>function(_0x252fc3,_0x4e4a53){return _0x4e4a53['checkAttribute'](_0x252fc3,_0x24f4('0x28'));}(_0x56c3ed,_0x555584));_0x5a0666=_0x5a0666[_0x24f4('0x2a')](_0x5bdb29=>!_0x5bdb29[_0x24f4('0x1b')](_0x24f4('0x28'))||_0x5bdb29[_0x24f4('0x1f')](_0x24f4('0x27'))!==_0x438025);const _0x3501a8=new Set();for(const _0x51b2a7 of _0x5a0666)_0x51b2a7[_0x24f4('0x1b')](_0x24f4('0x28'))?_0x3501a8[_0x24f4('0x31')](Pt(_0x51b2a7)):_0x3501a8[_0x24f4('0x31')](_0x51b2a7);return Array['from'](_0x3501a8);}(_0x309576[_0x24f4('0x22')](),_0x5ce9fe,_0x568ffa[_0x24f4('0x16')][_0x24f4('0x20')]);_0x568ffa[_0x24f4('0x16')][_0x24f4('0x9')](()=>{for(const _0x5c8ab3 of _0x381a2d)_0x349019['markBlockFormat'](_0x5c8ab3,{'commandName':_0x3fe125,'commandParams':[{'forceValue':!_0x3d5e78[_0x24f4('0x2')]}],'formatGroupId':_0x24f4('0x27')},Gt(_0x5c8ab3));});};}function _0x47e990(_0x114d6b){return()=>{const _0x4c11f2=function(_0x48a50f){const _0x11b5f7=(_0x48a50f=Array['from'](_0x48a50f))[_0x24f4('0x35')](_0x3943d6=>!_0x3943d6[_0x24f4('0x1b')](_0x24f4('0x28')));return _0x11b5f7>-0x1&&(_0x48a50f=_0x48a50f[_0x24f4('0x18')](0x0,_0x11b5f7)),_0x48a50f;}(_0x568ffa[_0x24f4('0x16')][_0x24f4('0x1e')][_0x24f4('0x26')][_0x24f4('0x22')]()),_0x167364=_0x568ffa[_0x24f4('0x16')]['createRange'](_0x568ffa[_0x24f4('0x16')]['createPositionAt'](_0x4c11f2[0x0],_0x24f4('0x32')),_0x568ffa[_0x24f4('0x16')][_0x24f4('0x3')](_0x4c11f2[_0x4c11f2[_0x24f4('0x2e')]-0x1],_0x24f4('0x2f')));_0x568ffa[_0x24f4('0x16')][_0x24f4('0x9')](()=>{_0x349019[_0x24f4('0x12')](_0x167364,{'commandName':_0x114d6b,'commandParams':[],'formatGroupId':'listIndent'},function(_0x177aaa){const _0x22aa91=new Set();for(const _0x4501e2 of _0x177aaa){let _0x4f43c9=_0x4501e2['nextSibling'];for(;_0x4f43c9&&_0x4f43c9[_0x24f4('0x1f')](_0x24f4('0x11'))>_0x4501e2['getAttribute'](_0x24f4('0x11'));)_0x22aa91[_0x24f4('0x31')](_0x4f43c9),_0x4f43c9=_0x4f43c9[_0x24f4('0x4')];}return Array[_0x24f4('0x7')](_0x22aa91);}(_0x4c11f2));});};}_0x349019[_0x24f4('0x8')]('numberedList',_0x579bd4(_0x24f4('0x23'))),_0x349019[_0x24f4('0x8')](_0x24f4('0xe'),_0x579bd4(_0x24f4('0xe'))),_0x349019[_0x24f4('0x8')]('indentList',_0x47e990(_0x24f4('0x17'))),_0x349019['enableCommand'](_0x24f4('0xf'),_0x47e990(_0x24f4('0xf'))),_0x349019['enableCommand']('splitListItemAfter'),_0x349019[_0x24f4('0x8')](_0x24f4('0x24')),_0x349019[_0x24f4('0x30')][_0x24f4('0xb')](_0x2df12d=>!_0x568ffa['model']['schema']['isObject'](_0x2df12d)&&_0x2df12d['hasAttribute']('listItemId'),_0x43a65d=>_0x267f99(_0x136945,_0x24f4('0x13'),_0x43a65d)),_0x349019['_descriptionFactory'][_0x24f4('0x21')](_0xb88bc=>{const {data:_0x415ef6}=_0xb88bc;if(!_0x415ef6)return;let _0x4fa5b7,_0x504614,_0x53e65a;switch(_0x415ef6[_0x24f4('0xd')]){case _0x24f4('0xe'):_0x53e65a=_0x415ef6[_0x24f4('0x10')][0x0][_0x24f4('0x1d')],_0x4fa5b7=_0x53e65a?_0x24f4('0x34'):_0x24f4('0xa'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x33')))};break;case _0x24f4('0x23'):_0x53e65a=_0x415ef6[_0x24f4('0x10')][0x0][_0x24f4('0x1d')],_0x4fa5b7=_0x53e65a?_0x24f4('0x34'):_0x24f4('0xa'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x2c')))};break;case _0x24f4('0x17'):_0x4fa5b7=_0x24f4('0x14'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x13')))};break;case'outdentList':_0x4fa5b7=_0x24f4('0x25'),_0x504614={'type':_0x24f4('0x1a'),'content':_0x267f99(_0x136945,_0x4fa5b7,_0x267f99(_0x136945,_0x24f4('0x13')))};}return _0x504614;});}}function Gt(_0x2f696d){const _0x2625c8=[];if(_0x2f696d[_0x24f4('0x1b')](_0x24f4('0x28'))&&_0x2f696d[_0x24f4('0x1f')]('listIndent')>0x0){let _0x2ab62b=_0x2f696d['nextSibling'];for(;_0x2ab62b&&_0x2ab62b[_0x24f4('0x1b')]('listItemId')&&_0x2ab62b[_0x24f4('0x1f')]('listIndent')===_0x2f696d['getAttribute'](_0x24f4('0x11'));)_0x2625c8[_0x24f4('0x2b')](_0x2ab62b),_0x2ab62b=_0x2ab62b[_0x24f4('0x4')];}return _0x2625c8;}function Pt(_0x463195){const _0x1671a5=_0x463195[_0x24f4('0x1f')]('listIndent');if(0x0==_0x1671a5)return _0x463195;let _0x9f0c09=_0x463195;for(;_0x463195['previousSibling']&&_0x463195[_0x24f4('0x1b')](_0x24f4('0x28'));){const _0x3b0271=_0x463195[_0x24f4('0x1c')][_0x24f4('0x1f')](_0x24f4('0x11'));if(_0x3b0271==_0x1671a5)_0x9f0c09=_0x463195[_0x24f4('0x1c')];else{if(_0x3b0271<_0x1671a5)break;}_0x463195=_0x463195[_0x24f4('0x1c')];}return _0x9f0c09;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d5c=['plugins','writer','editing','parent','downcastDispatcher','createRange','setSelection','markInsertion','remove','high','get','enter','init','removeMarker:suggestion:insertion','options','isAtStart','requires','document','ck-suggestion-marker-split','showSuggestionHighlights','fromRange','split','getFirstRange','change','mapper','model','data','isLimit','unbindElementFromMarkerName','isCollapsed','createPositionAt','start','TrackChangesEditing','enableCommand','schema','nextSibling','end','addMarker:suggestion:insertion','markerName'];(function(_0xe7f1d6,_0x1d5c75){const _0x494506=function(_0xcc556e){while(--_0xcc556e){_0xe7f1d6['push'](_0xe7f1d6['shift']());}};_0x494506(++_0x1d5c75);}(_0x1d5c,0xa0));const _0x4945=function(_0xe7f1d6,_0x1d5c75){_0xe7f1d6=_0xe7f1d6-0x0;let _0x494506=_0x1d5c[_0xe7f1d6];return _0x494506;};import{Plugin as _0x4c62e8}from'ckeditor5/src/core';import{Enter as _0x355449}from'ckeditor5/src/enter';import{LiveRange as _0x35df94}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x54ee20}from'./utils';export default class H extends _0x4c62e8{static get[_0x4945('0xc')](){return[_0x355449];}[_0x4945('0x8')](){const _0x450cf8=this['editor'],_0x39c863=_0x450cf8[_0x4945('0x23')][_0x4945('0x6')](_0x4945('0x1c'));_0x39c863[_0x4945('0x1d')](_0x4945('0x7'),_0x29e550=>{_0x450cf8[_0x4945('0x15')][_0x4945('0x13')](_0x1935de=>{const _0x4c5626=_0x450cf8[_0x4945('0x15')][_0x4945('0xd')]['selection'],_0x3e7880=_0x4c5626['getFirstPosition'](),_0x26db85=_0x4c5626[_0x4945('0x19')],_0x163788=_0x35df94[_0x4945('0x10')](_0x4c5626[_0x4945('0x12')]()),_0x17a325=_0x163788['start']['parent'],_0x31dc18=_0x163788['end'][_0x4945('0x26')],_0x5bd0ab=!(_0x163788[_0x4945('0x1b')][_0x4945('0xb')]&&_0x163788[_0x4945('0x20')]['isAtEnd']),_0x3ad949=_0x17a325==_0x31dc18,_0x3312fa=!(_0x450cf8[_0x4945('0x15')][_0x4945('0x1e')][_0x4945('0x17')](_0x17a325)||_0x450cf8[_0x4945('0x15')][_0x4945('0x1e')][_0x4945('0x17')](_0x31dc18))&&(_0x26db85||_0x5bd0ab&&_0x3ad949);if(_0x29e550(),_0x3312fa){const _0x5f2d73=_0x450cf8[_0x4945('0x15')][_0x4945('0x1a')](_0x3e7880[_0x4945('0x26')][_0x4945('0x1f')],0x0),_0x143ab3=_0x1935de[_0x4945('0x1')](_0x3e7880,_0x5f2d73);_0x39c863[_0x4945('0x3')](_0x143ab3);}else _0x1935de[_0x4945('0x2')](_0x1935de[_0x4945('0x1')](_0x163788['end']));_0x163788['detach']();});}),_0x450cf8[_0x4945('0x25')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0x54ee20(_0x450cf8,_0x4945('0x11')),{'priority':_0x4945('0x5')}),_0x450cf8[_0x4945('0x25')][_0x4945('0x0')]['on'](_0x4945('0x9'),(_0x1ef84e,_0xe8d05c,_0x1293bc)=>{const _0x19e4d5=_0x1293bc[_0x4945('0x14')]['markerNameToElements'](_0xe8d05c['markerName']);if(_0x19e4d5)for(const _0x444198 of _0x19e4d5)_0x444198['hasClass'](_0x4945('0xe'))&&(_0x1293bc[_0x4945('0x14')][_0x4945('0x18')](_0x444198,_0xe8d05c[_0x4945('0x22')]),_0x1293bc[_0x4945('0x24')][_0x4945('0x4')](_0x444198));},{'priority':'high'}),_0x450cf8[_0x4945('0x16')][_0x4945('0x0')]['on'](_0x4945('0x21'),(_0x4b3425,_0x37a1f5,_0x126b0b)=>{_0x126b0b[_0x4945('0xa')][_0x4945('0xf')]&&_0x54ee20(_0x450cf8,_0x4945('0x11'),{'showActiveMarker':!0x1})(_0x4b3425,_0x37a1f5,_0x126b0b);},{'priority':_0x4945('0x5')});}}
23
+ const _0x3449=['requires','markerName','markInsertion','setSelection','mapper','document','TrackChangesEditing','nextSibling','editor','isLimit','plugins','addMarker:suggestion:insertion','enableCommand','high','end','isAtEnd','getFirstPosition','ck-suggestion-marker-split','hasClass','split','options','isCollapsed','downcastDispatcher','selection','unbindElementFromMarkerName','parent','init','start','detach','model','data','change','isAtStart','editing','writer','getFirstRange','schema'];(function(_0x19f8cc,_0x344925){const _0x496c33=function(_0x2c7a07){while(--_0x2c7a07){_0x19f8cc['push'](_0x19f8cc['shift']());}};_0x496c33(++_0x344925);}(_0x3449,0xd1));const _0x496c=function(_0x19f8cc,_0x344925){_0x19f8cc=_0x19f8cc-0x0;let _0x496c33=_0x3449[_0x19f8cc];return _0x496c33;};import{Plugin as _0x3fed90}from'ckeditor5/src/core';import{Enter as _0x434590}from'ckeditor5/src/enter';import{LiveRange as _0x2200b2}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x2f96d9}from'./utils';export default class H extends _0x3fed90{static get[_0x496c('0xd')](){return[_0x434590];}[_0x496c('0x2')](){const _0x2b0a03=this[_0x496c('0x15')],_0x5094eb=_0x2b0a03[_0x496c('0x17')]['get'](_0x496c('0x13'));_0x5094eb[_0x496c('0x19')]('enter',_0x29804b=>{_0x2b0a03['model'][_0x496c('0x7')](_0xafd79d=>{const _0x10467c=_0x2b0a03[_0x496c('0x5')][_0x496c('0x12')][_0x496c('0x24')],_0x13c406=_0x10467c[_0x496c('0x1d')](),_0x23769b=_0x10467c[_0x496c('0x22')],_0x2a2201=_0x2200b2['fromRange'](_0x10467c[_0x496c('0xb')]()),_0x5cd32c=_0x2a2201[_0x496c('0x3')][_0x496c('0x1')],_0x5a67a2=_0x2a2201[_0x496c('0x1b')][_0x496c('0x1')],_0x2eea92=!(_0x2a2201[_0x496c('0x3')][_0x496c('0x8')]&&_0x2a2201[_0x496c('0x1b')][_0x496c('0x1c')]),_0x18d1e2=_0x5cd32c==_0x5a67a2,_0x182419=!(_0x2b0a03[_0x496c('0x5')][_0x496c('0xc')][_0x496c('0x16')](_0x5cd32c)||_0x2b0a03[_0x496c('0x5')][_0x496c('0xc')][_0x496c('0x16')](_0x5a67a2))&&(_0x23769b||_0x2eea92&&_0x18d1e2);if(_0x29804b(),_0x182419){const _0x4b9c5d=_0x2b0a03[_0x496c('0x5')]['createPositionAt'](_0x13c406['parent'][_0x496c('0x14')],0x0),_0x1e54b2=_0xafd79d['createRange'](_0x13c406,_0x4b9c5d);_0x5094eb[_0x496c('0xf')](_0x1e54b2);}else _0xafd79d[_0x496c('0x10')](_0xafd79d['createRange'](_0x2a2201['end']));_0x2a2201[_0x496c('0x4')]();});}),_0x2b0a03[_0x496c('0x9')][_0x496c('0x23')]['on'](_0x496c('0x18'),_0x2f96d9(_0x2b0a03,_0x496c('0x20')),{'priority':'high'}),_0x2b0a03[_0x496c('0x9')][_0x496c('0x23')]['on']('removeMarker:suggestion:insertion',(_0x3b34c4,_0x4c2003,_0x553ad3)=>{const _0x5c2126=_0x553ad3['mapper']['markerNameToElements'](_0x4c2003[_0x496c('0xe')]);if(_0x5c2126)for(const _0x137d00 of _0x5c2126)_0x137d00[_0x496c('0x1f')](_0x496c('0x1e'))&&(_0x553ad3[_0x496c('0x11')][_0x496c('0x0')](_0x137d00,_0x4c2003[_0x496c('0xe')]),_0x553ad3[_0x496c('0xa')]['remove'](_0x137d00));},{'priority':_0x496c('0x1a')}),_0x2b0a03[_0x496c('0x6')][_0x496c('0x23')]['on'](_0x496c('0x18'),(_0x48f810,_0x1429c8,_0x5b4ea2)=>{_0x5b4ea2[_0x496c('0x21')]['showSuggestionHighlights']&&_0x2f96d9(_0x2b0a03,_0x496c('0x20'),{'showActiveMarker':!0x1})(_0x48f810,_0x1429c8,_0x5b4ea2);},{'priority':_0x496c('0x1a')});}}