@ckeditor/ckeditor5-track-changes 32.0.0 → 34.1.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 (114) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +5 -2
  3. package/build/track-changes.js +5 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/cs.js +1 -0
  6. package/build/translations/da.js +1 -0
  7. package/build/translations/de.js +1 -0
  8. package/build/translations/el.js +1 -0
  9. package/build/translations/en-au.js +1 -0
  10. package/build/translations/es.js +1 -0
  11. package/build/translations/et.js +1 -0
  12. package/build/translations/fr.js +1 -0
  13. package/build/translations/gl.js +1 -0
  14. package/build/translations/hi.js +1 -0
  15. package/build/translations/hr.js +1 -0
  16. package/build/translations/id.js +1 -0
  17. package/build/translations/it.js +1 -0
  18. package/build/translations/nl.js +1 -0
  19. package/build/translations/pl.js +1 -0
  20. package/build/translations/pt-br.js +1 -0
  21. package/build/translations/sk.js +1 -0
  22. package/build/translations/sr-latn.js +1 -0
  23. package/build/translations/sr.js +1 -0
  24. package/build/translations/tk.js +1 -0
  25. package/build/translations/tr.js +1 -0
  26. package/build/translations/zh-cn.js +1 -0
  27. package/build/translations/zh.js +1 -0
  28. package/ckeditor5-metadata.json +3 -0
  29. package/lang/translations/az.po +387 -0
  30. package/lang/translations/cs.po +31 -31
  31. package/lang/translations/da.po +1 -1
  32. package/lang/translations/de.po +1 -1
  33. package/lang/translations/el.po +387 -0
  34. package/lang/translations/en-au.po +6 -6
  35. package/lang/translations/es.po +35 -35
  36. package/lang/translations/fr.po +1 -1
  37. package/lang/translations/gl.po +3 -3
  38. package/lang/translations/hi.po +1 -1
  39. package/lang/translations/hr.po +14 -14
  40. package/lang/translations/id.po +370 -0
  41. package/lang/translations/it.po +1 -1
  42. package/lang/translations/nl.po +9 -9
  43. package/lang/translations/pl.po +1 -1
  44. package/lang/translations/pt-br.po +1 -1
  45. package/lang/translations/sk.po +58 -58
  46. package/lang/translations/sr-latn.po +3 -3
  47. package/lang/translations/sr.po +3 -3
  48. package/lang/translations/tk.po +1 -1
  49. package/lang/translations/tr.po +1 -1
  50. package/lang/translations/zh-cn.po +5 -5
  51. package/package.json +4 -7
  52. package/src/commands/acceptallsuggestionscommand.js +1 -1
  53. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  54. package/src/commands/acceptsuggestioncommand.js +1 -1
  55. package/src/commands/discardallsuggestionscommand.js +1 -1
  56. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  57. package/src/commands/discardsuggestioncommand.js +1 -1
  58. package/src/commands/trackchangescommand.js +1 -1
  59. package/src/index.js +23 -0
  60. package/src/integrations/alignment.js +1 -1
  61. package/src/integrations/basicstyles.js +1 -1
  62. package/src/integrations/blockquote.js +1 -1
  63. package/src/integrations/codeblock.js +1 -1
  64. package/src/integrations/comments.js +1 -1
  65. package/src/integrations/deletecommand.js +1 -1
  66. package/src/integrations/entercommand.js +1 -1
  67. package/src/integrations/font.js +1 -1
  68. package/src/integrations/heading.js +1 -1
  69. package/src/integrations/highlight.js +1 -1
  70. package/src/integrations/horizontalline.js +1 -1
  71. package/src/integrations/image.js +1 -1
  72. package/src/integrations/indent.js +1 -1
  73. package/src/integrations/inputcommand.js +1 -1
  74. package/src/integrations/link.js +1 -1
  75. package/src/integrations/list.js +1 -1
  76. package/src/integrations/mediaembed.js +1 -1
  77. package/src/integrations/mention.js +1 -1
  78. package/src/integrations/pagebreak.js +1 -1
  79. package/src/integrations/paragraph.js +1 -1
  80. package/src/integrations/removeformat.js +1 -1
  81. package/src/integrations/restrictededitingmode.js +1 -1
  82. package/src/integrations/shiftentercommand.js +1 -1
  83. package/src/integrations/standardeditingmode.js +1 -1
  84. package/src/integrations/table.js +1 -1
  85. package/src/integrations/tableclipboard.js +1 -1
  86. package/src/integrations/tableheadings.js +1 -1
  87. package/src/integrations/tablemergesplit.js +1 -1
  88. package/src/integrations/title.js +1 -1
  89. package/src/integrations/undo.js +1 -1
  90. package/src/integrations/utils.js +1 -1
  91. package/src/suggestion.js +1 -1
  92. package/src/suggestiondescriptionfactory.js +1 -1
  93. package/src/trackchanges.js +1 -1
  94. package/src/trackchangesdata.js +1 -1
  95. package/src/trackchangesediting.js +1 -1
  96. package/src/trackchangesui.js +1 -1
  97. package/src/ui/suggestioncontroller.js +1 -1
  98. package/src/ui/view/basesuggestionthreadview.js +1 -1
  99. package/src/ui/view/suggestionthreadview.js +1 -1
  100. package/src/utils/common-translations.js +23 -0
  101. package/src/utils/getselectedsuggestions.js +1 -1
  102. package/src/utils/hashobject.js +1 -1
  103. package/src/utils/normalizedescription.js +1 -1
  104. package/src/utils/sortsuggestions.js +1 -1
  105. package/theme/icons/track-changes-accept.svg +1 -1
  106. package/theme/icons/track-changes-discard.svg +1 -1
  107. package/theme/icons/track-changes.svg +1 -1
  108. package/theme/integrations/horizontalline.css +0 -15
  109. package/theme/integrations/image.css +0 -55
  110. package/theme/integrations/mediaembed.css +0 -19
  111. package/theme/integrations/pagebreak.css +0 -15
  112. package/theme/integrations/table.css +0 -147
  113. package/theme/suggestion.css +0 -87
  114. package/theme/suggestionmarker.css +0 -161
@@ -58,7 +58,7 @@ msgstr "*Odstrániť formátovanie:* %0"
58
58
 
59
59
  msgctxt "A suggestion for removing the highlight."
60
60
  msgid "*Remove highlight*"
61
- msgstr ""
61
+ msgstr "*Odstrániť zvýraznenie*"
62
62
 
63
63
  msgctxt "A suggestion for removing image text alternative."
64
64
  msgid "*Remove image text alternative*"
@@ -114,7 +114,7 @@ msgstr "*Nastaviť veľkosť písma:* %0"
114
114
 
115
115
  msgctxt "A suggestion for highlighting text."
116
116
  msgid "*Set highlight:* %0"
117
- msgstr ""
117
+ msgstr "*Nastaviť zvýraznenie:* %0"
118
118
 
119
119
  msgctxt "A suggestion for setting image text alternative to %0."
120
120
  msgid "*Set image text alternative:* %0"
@@ -178,7 +178,7 @@ msgstr "Odrážkový zoznam"
178
178
 
179
179
  msgctxt "The caption element name displayed in the suggestion."
180
180
  msgid "ELEMENT_CAPTION"
181
- msgstr ""
181
+ msgstr "titulok"
182
182
 
183
183
  msgctxt "The code block element name displayed in the suggestion."
184
184
  msgid "ELEMENT_CODE_BLOCK"
@@ -199,10 +199,10 @@ msgstr[3] "%0 nadpisov (level %1)"
199
199
  msgctxt "The heading element name displayed in the suggestion with a custom title."
200
200
  msgid "ELEMENT_HEADING_CUSTOM"
201
201
  msgid_plural "%0 headings (%1)"
202
- msgstr[0] ""
203
- msgstr[1] ""
204
- msgstr[2] ""
205
- msgstr[3] ""
202
+ msgstr[0] "%0 nadpis (%1)"
203
+ msgstr[1] "%0 nadpisy (%1)"
204
+ msgstr[2] "%0 nadpisov (%1)"
205
+ msgstr[3] "%0 nadpisov (%1)"
206
206
 
207
207
  msgctxt "The horizontal line element name displayed in the suggestion."
208
208
  msgid "ELEMENT_HORIZONTAL_LINE"
@@ -223,34 +223,34 @@ msgstr[3] "%0 obrázkov"
223
223
  msgctxt "The inline image element name displayed in the suggestion."
224
224
  msgid "ELEMENT_INLINE_IMAGE"
225
225
  msgid_plural "%0 images"
226
- msgstr[0] ""
227
- msgstr[1] ""
228
- msgstr[2] ""
229
- msgstr[3] ""
226
+ msgstr[0] "%0 obrázok"
227
+ msgstr[1] "%0 obrázky"
228
+ msgstr[2] "%0 obrázkov"
229
+ msgstr[3] "%0 obrázkov"
230
230
 
231
231
  msgctxt "The line break element name displayed in the suggestion."
232
232
  msgid "ELEMENT_LINE_BREAK"
233
233
  msgid_plural "%0 line breaks"
234
- msgstr[0] ""
235
- msgstr[1] ""
236
- msgstr[2] ""
237
- msgstr[3] ""
234
+ msgstr[0] "%0 zalomenie riadku"
235
+ msgstr[1] "%0 zalomenie riadkov"
236
+ msgstr[2] "%0 zalomenie riadkov"
237
+ msgstr[3] "%0 zalomenie riadkov"
238
238
 
239
239
  msgctxt "The list item element name displayed in the suggestion."
240
240
  msgid "ELEMENT_LIST_ITEM"
241
241
  msgid_plural "%0 list items"
242
- msgstr[0] ""
243
- msgstr[1] ""
244
- msgstr[2] ""
245
- msgstr[3] ""
242
+ msgstr[0] "%0 položka zoznamu"
243
+ msgstr[1] "%0 položky zoznamu"
244
+ msgstr[2] "%0 položiek zoznamu"
245
+ msgstr[3] "%0 položiek zoznamu"
246
246
 
247
247
  msgctxt "The media element name displayed in the suggestion."
248
248
  msgid "ELEMENT_MEDIA"
249
249
  msgid_plural "%0 media items"
250
- msgstr[0] ""
251
- msgstr[1] ""
252
- msgstr[2] ""
253
- msgstr[3] ""
250
+ msgstr[0] "%0 mediálny súbor"
251
+ msgstr[1] "%0 mediálne súbory"
252
+ msgstr[2] "%0 mediálnych súborov"
253
+ msgstr[3] "%0 mediálnych súborov"
254
254
 
255
255
  msgctxt "The numbered list element name displayed in the suggestion."
256
256
  msgid "ELEMENT_NUMBERED_LIST"
@@ -259,66 +259,66 @@ msgstr "číslovaný zoznam"
259
259
  msgctxt "The page break element name displayed in the suggestion."
260
260
  msgid "ELEMENT_PAGE_BREAK"
261
261
  msgid_plural "%0 page breaks"
262
- msgstr[0] ""
263
- msgstr[1] ""
264
- msgstr[2] ""
265
- msgstr[3] ""
262
+ msgstr[0] "%0 zalomenie strany"
263
+ msgstr[1] "%0 zalomenie strán"
264
+ msgstr[2] "%0 zalomenie strán"
265
+ msgstr[3] "%0 zalomenie strán"
266
266
 
267
267
  msgctxt "The paragraph element name displayed in the suggestion."
268
268
  msgid "ELEMENT_PARAGRAPH"
269
269
  msgid_plural "%0 paragraphs"
270
- msgstr[0] ""
271
- msgstr[1] ""
272
- msgstr[2] ""
273
- msgstr[3] ""
270
+ msgstr[0] "%0 odstavec"
271
+ msgstr[1] "%0 odstavce"
272
+ msgstr[2] "%0 odstavcov"
273
+ msgstr[3] "%0 odstavcov"
274
274
 
275
275
  msgctxt "The space element name displayed in the suggestion."
276
276
  msgid "ELEMENT_SPACE"
277
277
  msgid_plural "%0 spaces"
278
- msgstr[0] ""
279
- msgstr[1] ""
280
- msgstr[2] ""
281
- msgstr[3] ""
278
+ msgstr[0] "%0 medzera"
279
+ msgstr[1] "%0 medzery"
280
+ msgstr[2] "%0 medzier"
281
+ msgstr[3] "%0 medzier"
282
282
 
283
283
  msgctxt "The table element name displayed in the suggestion."
284
284
  msgid "ELEMENT_TABLE"
285
285
  msgid_plural "%0 tables"
286
- msgstr[0] ""
287
- msgstr[1] ""
288
- msgstr[2] ""
289
- msgstr[3] ""
286
+ msgstr[0] "%0 tabuľka"
287
+ msgstr[1] "%0 tabulky"
288
+ msgstr[2] "%0 tabuliek"
289
+ msgstr[3] "%0 tabuliek"
290
290
 
291
291
  msgctxt "The table column element name displayed in the suggestion."
292
292
  msgid "ELEMENT_TABLE_COLUMN"
293
293
  msgid_plural "%0 table columns"
294
- msgstr[0] ""
295
- msgstr[1] ""
296
- msgstr[2] ""
297
- msgstr[3] ""
294
+ msgstr[0] "%0 stĺpec tabuľky"
295
+ msgstr[1] "%0 stĺpce tabuľky"
296
+ msgstr[2] "%0 stĺpcov tabuľky"
297
+ msgstr[3] "%0 stĺpcov tabuľky"
298
298
 
299
299
  msgctxt "The table column with text element name displayed in the suggestion."
300
300
  msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
301
301
  msgid_plural "%0 table columns *with text* %1"
302
- msgstr[0] ""
303
- msgstr[1] ""
304
- msgstr[2] ""
305
- msgstr[3] ""
302
+ msgstr[0] "%0 stĺpec tabuľky *s textom* %1"
303
+ msgstr[1] "%0 stĺpce tabuľky *s textom* %1"
304
+ msgstr[2] "%0 stĺpcov tabuľky *s textom* %1"
305
+ msgstr[3] "%0 stĺpcov tabuľky *s textom* %1"
306
306
 
307
307
  msgctxt "The table row element name displayed in the suggestion."
308
308
  msgid "ELEMENT_TABLE_ROW"
309
309
  msgid_plural "%0 table rows"
310
- msgstr[0] ""
311
- msgstr[1] ""
312
- msgstr[2] ""
313
- msgstr[3] ""
310
+ msgstr[0] "%0 riadok tabuľky"
311
+ msgstr[1] "%0 riadky tabuľky"
312
+ msgstr[2] "%0 riadkov tabuľky"
313
+ msgstr[3] "%0 riadkov tabuľky"
314
314
 
315
315
  msgctxt "The table row with text element name displayed in the suggestion."
316
316
  msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
317
317
  msgid_plural "%0 table rows *with text* %1"
318
- msgstr[0] ""
319
- msgstr[1] ""
320
- msgstr[2] ""
321
- msgstr[3] ""
318
+ msgstr[0] "%0 riadok tabuľky *s textom* %1"
319
+ msgstr[1] "%0 riadky tabuľky *s textom* %1"
320
+ msgstr[2] "%0 riadkov tabuľky *s textom* %1"
321
+ msgstr[3] "%0 riadkov tabuľky *s textom* %1"
322
322
 
323
323
  msgctxt "The table with text element name displayed in the suggestion."
324
324
  msgid "ELEMENT_TABLE_WITH_TEXT"
@@ -382,11 +382,11 @@ msgstr "Klasický riadok"
382
382
 
383
383
  msgctxt "The label for area disabled in restricted editing area in a format suggestion."
384
384
  msgid "FORMAT_RESTRICTED_DISABLED"
385
- msgstr ""
385
+ msgstr "*Zakázať v režime obmedzených úprav*"
386
386
 
387
387
  msgctxt "The label for area enabled in restricted editing area in a format suggestion."
388
388
  msgid "FORMAT_RESTRICTED_ENABLED"
389
- msgstr ""
389
+ msgstr "*Povoliť v režime obmedzených úprav*"
390
390
 
391
391
  msgctxt "The side image format name displayed in a format suggestion."
392
392
  msgid "FORMAT_SIDE_IMAGE"
@@ -410,7 +410,7 @@ msgstr "podčiarknuť"
410
410
 
411
411
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
412
412
  msgid "PENDING_ACTION_SUGGESTION"
413
- msgstr ""
413
+ msgstr "Neuložená zmena v návrhu."
414
414
 
415
415
  msgctxt "A suggestion for replacing one text with another."
416
416
  msgid "REPLACE_TEXT"
@@ -58,7 +58,7 @@ msgstr "*Ukloni format:* %0"
58
58
 
59
59
  msgctxt "A suggestion for removing the highlight."
60
60
  msgid "*Remove highlight*"
61
- msgstr ""
61
+ msgstr "*Ukloni isticanje*"
62
62
 
63
63
  msgctxt "A suggestion for removing image text alternative."
64
64
  msgid "*Remove image text alternative*"
@@ -114,7 +114,7 @@ msgstr "*Podesi veličinu fontova:* %0"
114
114
 
115
115
  msgctxt "A suggestion for highlighting text."
116
116
  msgid "*Set highlight:* %0"
117
- msgstr ""
117
+ msgstr "*Podesite isticanje:* %0"
118
118
 
119
119
  msgctxt "A suggestion for setting image text alternative to %0."
120
120
  msgid "*Set image text alternative:* %0"
@@ -393,7 +393,7 @@ msgstr "podvući"
393
393
 
394
394
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
395
395
  msgid "PENDING_ACTION_SUGGESTION"
396
- msgstr ""
396
+ msgstr "Nesačuvana promena predloga."
397
397
 
398
398
  msgctxt "A suggestion for replacing one text with another."
399
399
  msgid "REPLACE_TEXT"
@@ -58,7 +58,7 @@ msgstr "*Уклони формат:* %0"
58
58
 
59
59
  msgctxt "A suggestion for removing the highlight."
60
60
  msgid "*Remove highlight*"
61
- msgstr ""
61
+ msgstr "*Уклони истицање* "
62
62
 
63
63
  msgctxt "A suggestion for removing image text alternative."
64
64
  msgid "*Remove image text alternative*"
@@ -114,7 +114,7 @@ msgstr "*Подеси величину фонта:* %0"
114
114
 
115
115
  msgctxt "A suggestion for highlighting text."
116
116
  msgid "*Set highlight:* %0"
117
- msgstr ""
117
+ msgstr "*Подесите истицање:* %0 "
118
118
 
119
119
  msgctxt "A suggestion for setting image text alternative to %0."
120
120
  msgid "*Set image text alternative:* %0"
@@ -393,7 +393,7 @@ msgstr "подвући"
393
393
 
394
394
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
395
395
  msgid "PENDING_ACTION_SUGGESTION"
396
- msgstr ""
396
+ msgstr "Несачувана промена предлога"
397
397
 
398
398
  msgctxt "A suggestion for replacing one text with another."
399
399
  msgid "REPLACE_TEXT"
@@ -376,7 +376,7 @@ msgstr "aşagy çyzykly"
376
376
 
377
377
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
378
378
  msgid "PENDING_ACTION_SUGGESTION"
379
- msgstr ""
379
+ msgstr "Teklipde saklanmadyk üýtgeşiklik."
380
380
 
381
381
  msgctxt "A suggestion for replacing one text with another."
382
382
  msgid "REPLACE_TEXT"
@@ -376,7 +376,7 @@ msgstr "alttan çizili"
376
376
 
377
377
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
378
378
  msgid "PENDING_ACTION_SUGGESTION"
379
- msgstr ""
379
+ msgstr "Öneride kaydedilmemiş değişiklik."
380
380
 
381
381
  msgctxt "A suggestion for replacing one text with another."
382
382
  msgid "REPLACE_TEXT"
@@ -58,7 +58,7 @@ msgstr "*移除格式:* %0"
58
58
 
59
59
  msgctxt "A suggestion for removing the highlight."
60
60
  msgid "*Remove highlight*"
61
- msgstr ""
61
+ msgstr "*移除高亮*"
62
62
 
63
63
  msgctxt "A suggestion for removing image text alternative."
64
64
  msgid "*Remove image text alternative*"
@@ -114,7 +114,7 @@ msgstr "*设置字号:* %0"
114
114
 
115
115
  msgctxt "A suggestion for highlighting text."
116
116
  msgid "*Set highlight:* %0"
117
- msgstr ""
117
+ msgstr "*设置高亮:* %0"
118
118
 
119
119
  msgctxt "A suggestion for setting image text alternative to %0."
120
120
  msgid "*Set image text alternative:* %0"
@@ -178,7 +178,7 @@ msgstr "项目符号列表"
178
178
 
179
179
  msgctxt "The caption element name displayed in the suggestion."
180
180
  msgid "ELEMENT_CAPTION"
181
- msgstr ""
181
+ msgstr "标题"
182
182
 
183
183
  msgctxt "The code block element name displayed in the suggestion."
184
184
  msgid "ELEMENT_CODE_BLOCK"
@@ -208,7 +208,7 @@ msgstr[0] "%0 图片"
208
208
  msgctxt "The inline image element name displayed in the suggestion."
209
209
  msgid "ELEMENT_INLINE_IMAGE"
210
210
  msgid_plural "%0 images"
211
- msgstr[0] ""
211
+ msgstr[0] "%0 图片"
212
212
 
213
213
  msgctxt "The line break element name displayed in the suggestion."
214
214
  msgid "ELEMENT_LINE_BREAK"
@@ -359,7 +359,7 @@ msgstr "下划线"
359
359
 
360
360
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
361
361
  msgid "PENDING_ACTION_SUGGESTION"
362
- msgstr ""
362
+ msgstr "建议中有未保存内容"
363
363
 
364
364
  msgctxt "A suggestion for replacing one text with another."
365
365
  msgid "REPLACE_TEXT"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "32.0.0",
3
+ "version": "34.1.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -25,13 +25,10 @@
25
25
  "realtime",
26
26
  "framework"
27
27
  ],
28
+ "main": "src/index.js",
28
29
  "dependencies": {
29
- "@ckeditor/ckeditor5-collaboration-core": "^32.0.0",
30
- "@ckeditor/ckeditor5-comments": "^32.0.0",
31
- "@ckeditor/ckeditor5-font": "^32.0.0",
32
- "@ckeditor/ckeditor5-image": "^32.0.0",
33
- "@ckeditor/ckeditor5-table": "^32.0.0",
34
- "ckeditor5": "^32.0.0",
30
+ "ckeditor5": "^34.1.0",
31
+ "ckeditor5-collaboration": "^34.1.0",
35
32
  "lodash-es": "^4.17.11"
36
33
  }
37
34
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2efe=['isEnabled','_acceptSuggestionCommand','change','some','_suggestions','from','values','isInContent','editor','refresh'];(function(_0x2d472e,_0x2efebb){const _0xa6cc9d=function(_0x38ab81){while(--_0x38ab81){_0x2d472e['push'](_0x2d472e['shift']());}};_0xa6cc9d(++_0x2efebb);}(_0x2efe,0x122));const _0xa6cc=function(_0x2d472e,_0x2efebb){_0x2d472e=_0x2d472e-0x0;let _0xa6cc9d=_0x2efe[_0x2d472e];return _0xa6cc9d;};import{Command as _0x1322e4}from'ckeditor5/src/core';import _0x11fffb from'../utils/sortsuggestions';export default class R extends _0x1322e4{constructor(_0x327504,_0x5498da,_0x599624){super(_0x327504),this[_0xa6cc('0x1')]=_0x5498da,this[_0xa6cc('0x4')]=_0x599624,this[_0xa6cc('0x9')]();}['refresh'](){const _0x79a28f=this[_0xa6cc('0x1')];this[_0xa6cc('0x0')]=_0x79a28f[_0xa6cc('0x0')]&&Array[_0xa6cc('0x5')](this[_0xa6cc('0x4')][_0xa6cc('0x6')]())[_0xa6cc('0x3')](_0x1a91bf=>_0x1a91bf[_0xa6cc('0x7')]);}['execute'](){this[_0xa6cc('0x8')]['model'][_0xa6cc('0x2')](()=>{const _0x1ba002=_0x11fffb(Array[_0xa6cc('0x5')](this[_0xa6cc('0x4')][_0xa6cc('0x6')]()));for(const _0x33cfa3 of _0x1ba002)_0x33cfa3[_0xa6cc('0x7')]&&this[_0xa6cc('0x1')]['execute'](_0x33cfa3['id']);});}}
23
+ const _0x9f28=['values','editor','isEnabled','_suggestions','from','isInContent','model','refresh','_acceptSuggestionCommand','some','execute'];(function(_0x5c4483,_0x9f289){const _0x50485c=function(_0x1a4195){while(--_0x1a4195){_0x5c4483['push'](_0x5c4483['shift']());}};_0x50485c(++_0x9f289);}(_0x9f28,0x1e7));const _0x5048=function(_0x5c4483,_0x9f289){_0x5c4483=_0x5c4483-0x0;let _0x50485c=_0x9f28[_0x5c4483];return _0x50485c;};import{Command as _0x2c2ace}from'ckeditor5/src/core';import _0x14c2b1 from'../utils/sortsuggestions';export default class N extends _0x2c2ace{constructor(_0xe4d543,_0x31f28b,_0x44479a){super(_0xe4d543),this[_0x5048('0x5')]=_0x31f28b,this[_0x5048('0x0')]=_0x44479a,this[_0x5048('0x4')]();}[_0x5048('0x4')](){const _0x4618cb=this[_0x5048('0x5')];this['isEnabled']=_0x4618cb[_0x5048('0xa')]&&Array['from'](this[_0x5048('0x0')]['values']())[_0x5048('0x6')](_0xd84eaa=>_0xd84eaa['isInContent']);}[_0x5048('0x7')](){this[_0x5048('0x9')][_0x5048('0x3')]['change'](()=>{const _0x4da38b=_0x14c2b1(Array[_0x5048('0x1')](this['_suggestions'][_0x5048('0x8')]()));for(const _0x244a97 of _0x4da38b)_0x244a97[_0x5048('0x2')]&&this[_0x5048('0x5')][_0x5048('0x7')](_0x244a97['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dd8=['refresh','from','_selectedSuggestions','selection','_acceptSuggestionCommand','_suggestions','document','change','size','editor','execute','model'];(function(_0x4d8d3a,_0x4dd8e3){const _0x3a2ba3=function(_0x3ded0a){while(--_0x3ded0a){_0x4d8d3a['push'](_0x4d8d3a['shift']());}};_0x3a2ba3(++_0x4dd8e3);}(_0x4dd8,0x1aa));const _0x3a2b=function(_0x4d8d3a,_0x4dd8e3){_0x4d8d3a=_0x4d8d3a-0x0;let _0x3a2ba3=_0x4dd8[_0x4d8d3a];return _0x3a2ba3;};import{Command as _0x5a630a}from'ckeditor5/src/core';import _0x168cec from'../utils/sortsuggestions';import _0x5511b3 from'../utils/getselectedsuggestions';export default class E extends _0x5a630a{constructor(_0x525409,_0x15fe99,_0x295888){super(_0x525409),this[_0x3a2b('0xa')]=_0x15fe99,this[_0x3a2b('0xb')]=_0x295888,this[_0x3a2b('0x8')]=new Set(),this[_0x3a2b('0x6')]();}[_0x3a2b('0x6')](){const _0x42ef79=this['_acceptSuggestionCommand'],_0x5a8085=this[_0x3a2b('0x3')]['model'][_0x3a2b('0x0')][_0x3a2b('0x9')],_0x4c12fa=Array[_0x3a2b('0x7')](this[_0x3a2b('0xb')]['values']());this[_0x3a2b('0x8')]=_0x5511b3(_0x5a8085,_0x4c12fa),this['isEnabled']=_0x42ef79['isEnabled']&&!!this[_0x3a2b('0x8')][_0x3a2b('0x2')];}[_0x3a2b('0x4')](){this[_0x3a2b('0x3')][_0x3a2b('0x5')][_0x3a2b('0x1')](()=>{const _0xa6f88b=_0x168cec(Array[_0x3a2b('0x7')](this['_selectedSuggestions']));for(const _0x11b20d of _0xa6f88b)this[_0x3a2b('0xa')]['execute'](_0x11b20d['id']);});}}
23
+ const _0x520d=['execute','selection','size','_suggestions','document','isEnabled','model','editor','refresh','_selectedSuggestions','_acceptSuggestionCommand','values','from','change'];(function(_0x1449ab,_0x520d32){const _0x534f8e=function(_0x4fba65){while(--_0x4fba65){_0x1449ab['push'](_0x1449ab['shift']());}};_0x534f8e(++_0x520d32);}(_0x520d,0xb9));const _0x534f=function(_0x1449ab,_0x520d32){_0x1449ab=_0x1449ab-0x0;let _0x534f8e=_0x520d[_0x1449ab];return _0x534f8e;};import{Command as _0x2735c4}from'ckeditor5/src/core';import _0x51fa42 from'../utils/sortsuggestions';import _0x16611f from'../utils/getselectedsuggestions';export default class R extends _0x2735c4{constructor(_0x5d0f47,_0x3aa910,_0x46773f){super(_0x5d0f47),this[_0x534f('0x7')]=_0x3aa910,this[_0x534f('0x0')]=_0x46773f,this[_0x534f('0x6')]=new Set(),this['refresh']();}[_0x534f('0x5')](){const _0x171261=this['_acceptSuggestionCommand'],_0x1609b2=this[_0x534f('0x4')][_0x534f('0x3')][_0x534f('0x1')][_0x534f('0xc')],_0x44bc5b=Array['from'](this[_0x534f('0x0')][_0x534f('0x8')]());this[_0x534f('0x6')]=_0x16611f(_0x1609b2,_0x44bc5b),this['isEnabled']=_0x171261[_0x534f('0x2')]&&!!this[_0x534f('0x6')][_0x534f('0xd')];}[_0x534f('0xb')](){this['editor']['model'][_0x534f('0xa')](()=>{const _0x306352=_0x51fa42(Array[_0x534f('0x9')](this[_0x534f('0x6')]));for(const _0x5769d8 of _0x306352)this[_0x534f('0x7')]['execute'](_0x5769d8['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b0b=['isEnabled','editor','get','acceptSuggestion','TrackChangesEditing','track-changes-accept-suggestion-not-found','plugins','refresh','_suggestions'];(function(_0x300fec,_0x4b0b66){const _0x2e5a4e=function(_0x23cc63){while(--_0x23cc63){_0x300fec['push'](_0x300fec['shift']());}};_0x2e5a4e(++_0x4b0b66);}(_0x4b0b,0x12e));const _0x2e5a=function(_0x300fec,_0x4b0b66){_0x300fec=_0x300fec-0x0;let _0x2e5a4e=_0x4b0b[_0x300fec];return _0x2e5a4e;};import{Command as _0x3e20be}from'ckeditor5/src/core';import{CKEditorError as _0x300d5b}from'ckeditor5/src/utils';export default class j extends _0x3e20be{constructor(_0x37083e,_0x61779f){super(_0x37083e),this[_0x2e5a('0x3')]=_0x61779f,this['refresh']();}[_0x2e5a('0x2')](){this[_0x2e5a('0x4')]=!0x0;}['execute'](_0x3666d7){const _0x2fdc04=this[_0x2e5a('0x3')][_0x2e5a('0x6')](_0x3666d7);if(!_0x2fdc04)throw new _0x300d5b(_0x2e5a('0x0'),this);this[_0x2e5a('0x5')][_0x2e5a('0x1')][_0x2e5a('0x6')](_0x2e5a('0x8'))[_0x2e5a('0x7')](_0x2fdc04);}}
23
+ const _0x32b0=['track-changes-accept-suggestion-not-found','get','TrackChangesEditing','execute','plugins','_suggestions','refresh','editor'];(function(_0x527f66,_0x32b03e){const _0x5e1bb2=function(_0x41decb){while(--_0x41decb){_0x527f66['push'](_0x527f66['shift']());}};_0x5e1bb2(++_0x32b03e);}(_0x32b0,0x1be));const _0x5e1b=function(_0x527f66,_0x32b03e){_0x527f66=_0x527f66-0x0;let _0x5e1bb2=_0x32b0[_0x527f66];return _0x5e1bb2;};import{Command as _0x5affa2}from'ckeditor5/src/core';import{CKEditorError as _0x18dd3d}from'ckeditor5/src/utils';export default class M extends _0x5affa2{constructor(_0x26f7d1,_0x406899){super(_0x26f7d1),this[_0x5e1b('0x7')]=_0x406899,this[_0x5e1b('0x0')]();}[_0x5e1b('0x0')](){this['isEnabled']=!0x0;}[_0x5e1b('0x5')](_0x348ea7){const _0x3543fa=this[_0x5e1b('0x7')][_0x5e1b('0x3')](_0x348ea7);if(!_0x3543fa)throw new _0x18dd3d(_0x5e1b('0x2'),this);this[_0x5e1b('0x1')][_0x5e1b('0x6')][_0x5e1b('0x3')](_0x5e1b('0x4'))['acceptSuggestion'](_0x3543fa);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38df=['execute','_discardSuggestionCommand','change','isEnabled','isInContent','editor','refresh','values','_suggestions'];(function(_0x7d7bad,_0x38dfba){const _0x327623=function(_0x5c3f2f){while(--_0x5c3f2f){_0x7d7bad['push'](_0x7d7bad['shift']());}};_0x327623(++_0x38dfba);}(_0x38df,0x84));const _0x3276=function(_0x7d7bad,_0x38dfba){_0x7d7bad=_0x7d7bad-0x0;let _0x327623=_0x38df[_0x7d7bad];return _0x327623;};import{Command as _0x4b033c}from'ckeditor5/src/core';export default class x extends _0x4b033c{constructor(_0x4e69c4,_0x4f5bd9,_0x5999aa){super(_0x4e69c4),this['_discardSuggestionCommand']=_0x4f5bd9,this[_0x3276('0x2')]=_0x5999aa,this[_0x3276('0x0')]();}['refresh'](){const _0x44a93d=this[_0x3276('0x4')];this[_0x3276('0x6')]=_0x44a93d['isEnabled']&&Array['from'](this['_suggestions']['values']())['some'](_0x51c885=>_0x51c885[_0x3276('0x7')]);}[_0x3276('0x3')](){this[_0x3276('0x8')]['model'][_0x3276('0x5')](()=>{for(const _0x452ce3 of this[_0x3276('0x2')][_0x3276('0x1')]())_0x452ce3[_0x3276('0x7')]&&this[_0x3276('0x4')][_0x3276('0x3')](_0x452ce3['id']);});}}
23
+ const _0x285f=['_discardSuggestionCommand','values','change','editor','from','execute','refresh','isInContent','isEnabled','model','some','_suggestions'];(function(_0x4aa700,_0x285fb6){const _0x2f6dcf=function(_0x88519){while(--_0x88519){_0x4aa700['push'](_0x4aa700['shift']());}};_0x2f6dcf(++_0x285fb6);}(_0x285f,0x19d));const _0x2f6d=function(_0x4aa700,_0x285fb6){_0x4aa700=_0x4aa700-0x0;let _0x2f6dcf=_0x285f[_0x4aa700];return _0x2f6dcf;};import{Command as _0x3491b4}from'ckeditor5/src/core';export default class j extends _0x3491b4{constructor(_0x138b1a,_0x499791,_0x503946){super(_0x138b1a),this[_0x2f6d('0x7')]=_0x499791,this[_0x2f6d('0x6')]=_0x503946,this[_0x2f6d('0x1')]();}[_0x2f6d('0x1')](){const _0x2c9639=this['_discardSuggestionCommand'];this[_0x2f6d('0x3')]=_0x2c9639[_0x2f6d('0x3')]&&Array[_0x2f6d('0xb')](this[_0x2f6d('0x6')][_0x2f6d('0x8')]())[_0x2f6d('0x5')](_0x1b841e=>_0x1b841e[_0x2f6d('0x2')]);}[_0x2f6d('0x0')](){this[_0x2f6d('0xa')][_0x2f6d('0x4')][_0x2f6d('0x9')](()=>{for(const _0x5c0bd4 of this[_0x2f6d('0x6')][_0x2f6d('0x8')]())_0x5c0bd4[_0x2f6d('0x2')]&&this[_0x2f6d('0x7')][_0x2f6d('0x0')](_0x5c0bd4['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x533b=['_discardSuggestionCommand','refresh','_suggestions','model','isEnabled','execute','values','from','editor','size','change','_selectedSuggestions'];(function(_0x3ed688,_0x533b44){const _0x229bc0=function(_0x186648){while(--_0x186648){_0x3ed688['push'](_0x3ed688['shift']());}};_0x229bc0(++_0x533b44);}(_0x533b,0x16c));const _0x229b=function(_0x3ed688,_0x533b44){_0x3ed688=_0x3ed688-0x0;let _0x229bc0=_0x533b[_0x3ed688];return _0x229bc0;};import{Command as _0x55ff78}from'ckeditor5/src/core';import _0x2cc8e9 from'../utils/getselectedsuggestions';export default class O extends _0x55ff78{constructor(_0x160edb,_0x251e86,_0x4ae11c){super(_0x160edb),this[_0x229b('0x8')]=_0x251e86,this[_0x229b('0xa')]=_0x4ae11c,this[_0x229b('0x7')]=new Set(),this[_0x229b('0x9')]();}[_0x229b('0x9')](){const _0x39f92e=this[_0x229b('0x8')],_0x38f400=this[_0x229b('0x4')][_0x229b('0xb')]['document']['selection'],_0x9dcdd0=Array[_0x229b('0x3')](this[_0x229b('0xa')][_0x229b('0x2')]());this['_selectedSuggestions']=_0x2cc8e9(_0x38f400,_0x9dcdd0),this[_0x229b('0x0')]=_0x39f92e[_0x229b('0x0')]&&!!this[_0x229b('0x7')][_0x229b('0x5')];}[_0x229b('0x1')](){this[_0x229b('0x4')]['model'][_0x229b('0x6')](()=>{for(const _0x3e737e of this[_0x229b('0x7')])this[_0x229b('0x8')][_0x229b('0x1')](_0x3e737e['id']);});}}
23
+ const _0x40ef=['from','_suggestions','_discardSuggestionCommand','_selectedSuggestions','values','execute','document','size','model','refresh','editor','isEnabled','selection'];(function(_0x5beae2,_0x40ef83){const _0x19583=function(_0x521ce6){while(--_0x521ce6){_0x5beae2['push'](_0x5beae2['shift']());}};_0x19583(++_0x40ef83);}(_0x40ef,0x1e6));const _0x1958=function(_0x5beae2,_0x40ef83){_0x5beae2=_0x5beae2-0x0;let _0x19583=_0x40ef[_0x5beae2];return _0x19583;};import{Command as _0x452407}from'ckeditor5/src/core';import _0x76dded from'../utils/getselectedsuggestions';export default class U extends _0x452407{constructor(_0x1f30c4,_0x2bad39,_0x10b6e0){super(_0x1f30c4),this[_0x1958('0xa')]=_0x2bad39,this[_0x1958('0x9')]=_0x10b6e0,this['_selectedSuggestions']=new Set(),this['refresh']();}[_0x1958('0x4')](){const _0x3eb46b=this[_0x1958('0xa')],_0x1cd1f6=this['editor'][_0x1958('0x3')][_0x1958('0x1')][_0x1958('0x7')],_0xad3a65=Array[_0x1958('0x8')](this[_0x1958('0x9')][_0x1958('0xc')]());this[_0x1958('0xb')]=_0x76dded(_0x1cd1f6,_0xad3a65),this[_0x1958('0x6')]=_0x3eb46b['isEnabled']&&!!this[_0x1958('0xb')][_0x1958('0x2')];}['execute'](){this[_0x1958('0x5')][_0x1958('0x3')]['change'](()=>{for(const _0x2541f2 of this['_selectedSuggestions'])this[_0x1958('0xa')][_0x1958('0x0')](_0x2541f2['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53e1=['_suggestions','editor','TrackChangesEditing','refresh','discardSuggestion','track-changes-discard-suggestion-not-found','execute'];(function(_0x37f4b8,_0x53e158){const _0x1d1167=function(_0xf4dd){while(--_0xf4dd){_0x37f4b8['push'](_0x37f4b8['shift']());}};_0x1d1167(++_0x53e158);}(_0x53e1,0x14f));const _0x1d11=function(_0x37f4b8,_0x53e158){_0x37f4b8=_0x37f4b8-0x0;let _0x1d1167=_0x53e1[_0x37f4b8];return _0x1d1167;};import{Command as _0x197b12}from'ckeditor5/src/core';import{CKEditorError as _0x5b98d4}from'ckeditor5/src/utils';export default class U extends _0x197b12{constructor(_0xa31ca2,_0x3b8eb5){super(_0xa31ca2),this['_suggestions']=_0x3b8eb5,this[_0x1d11('0x4')]();}[_0x1d11('0x4')](){this['isEnabled']=!0x0;}[_0x1d11('0x0')](_0x36dba4){const _0xb7f865=this[_0x1d11('0x1')]['get'](_0x36dba4);if(!_0xb7f865)throw new _0x5b98d4(_0x1d11('0x6'),this);this[_0x1d11('0x2')]['plugins']['get'](_0x1d11('0x3'))[_0x1d11('0x5')](_0xb7f865);}}
23
+ const _0x6d5a=['TrackChangesEditing','discardSuggestion','execute','plugins','refresh','_suggestions','get','editor'];(function(_0x554e91,_0x6d5a9f){const _0x56863f=function(_0x3187f7){while(--_0x3187f7){_0x554e91['push'](_0x554e91['shift']());}};_0x56863f(++_0x6d5a9f);}(_0x6d5a,0x1ca));const _0x5686=function(_0x554e91,_0x6d5a9f){_0x554e91=_0x554e91-0x0;let _0x56863f=_0x6d5a[_0x554e91];return _0x56863f;};import{Command as _0x23425f}from'ckeditor5/src/core';import{CKEditorError as _0x587727}from'ckeditor5/src/utils';export default class $ extends _0x23425f{constructor(_0x38b0f3,_0x1c6327){super(_0x38b0f3),this[_0x5686('0x3')]=_0x1c6327,this['refresh']();}[_0x5686('0x2')](){this['isEnabled']=!0x0;}[_0x5686('0x0')](_0x4dab6f){const _0x232cfc=this[_0x5686('0x3')]['get'](_0x4dab6f);if(!_0x232cfc)throw new _0x587727('track-changes-discard-suggestion-not-found',this);this[_0x5686('0x5')][_0x5686('0x1')][_0x5686('0x4')](_0x5686('0x6'))[_0x5686('0x7')](_0x232cfc);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b75=['isEnabled','has','_enableCommands','execute','_enabledCommands','value','refresh','_disableUnsupportedCommands','TrackChangesCommand','clearForceDisabled','commands','affectsData','editor'];(function(_0x4d4dcb,_0x1b754e){const _0x2a7fa2=function(_0x453978){while(--_0x453978){_0x4d4dcb['push'](_0x4d4dcb['shift']());}};_0x2a7fa2(++_0x1b754e);}(_0x1b75,0x1a9));const _0x2a7f=function(_0x4d4dcb,_0x1b754e){_0x4d4dcb=_0x4d4dcb-0x0;let _0x2a7fa2=_0x1b75[_0x4d4dcb];return _0x2a7fa2;};import{Command as _0x2c6505}from'ckeditor5/src/core';export default class N extends _0x2c6505{constructor(_0x1337e0,_0x43e9b1){super(_0x1337e0),this['_enabledCommands']=_0x43e9b1,this[_0x2a7f('0x9')]=!0x1,this[_0x2a7f('0xa')]();}['refresh'](){this[_0x2a7f('0x4')]=!0x0;}[_0x2a7f('0x7')](){this[_0x2a7f('0x9')]=!this[_0x2a7f('0x9')],this['value']?this[_0x2a7f('0xb')]():this[_0x2a7f('0x6')]();}[_0x2a7f('0xb')](){for(const _0x1682c5 of this[_0x2a7f('0x3')][_0x2a7f('0x1')]['commands']())_0x1682c5[_0x2a7f('0x2')]&&!this['_enabledCommands']['has'](_0x1682c5)&&_0x1682c5['forceDisabled'](_0x2a7f('0xc'));}['_enableCommands'](){for(const _0x38a159 of this[_0x2a7f('0x3')]['commands'][_0x2a7f('0x1')]())_0x38a159[_0x2a7f('0x2')]&&!this[_0x2a7f('0x8')][_0x2a7f('0x5')](_0x38a159)&&_0x38a159[_0x2a7f('0x0')]('TrackChangesCommand');}}
23
+ const _0x2ed6=['value','_disableUnsupportedCommands','_enableCommands','_enabledCommands','execute','clearForceDisabled','affectsData','commands','has','TrackChangesCommand'];(function(_0x1d7985,_0x2ed643){const _0x4fe29e=function(_0x2c17e7){while(--_0x2c17e7){_0x1d7985['push'](_0x1d7985['shift']());}};_0x4fe29e(++_0x2ed643);}(_0x2ed6,0xdf));const _0x4fe2=function(_0x1d7985,_0x2ed643){_0x1d7985=_0x1d7985-0x0;let _0x4fe29e=_0x2ed6[_0x1d7985];return _0x4fe29e;};import{Command as _0x1c1371}from'ckeditor5/src/core';export default class B extends _0x1c1371{constructor(_0x26e86e,_0x289222){super(_0x26e86e),this[_0x4fe2('0x0')]=_0x289222,this[_0x4fe2('0x7')]=!0x1,this['refresh']();}['refresh'](){this['isEnabled']=!0x0;}[_0x4fe2('0x1')](){this[_0x4fe2('0x7')]=!this[_0x4fe2('0x7')],this[_0x4fe2('0x7')]?this[_0x4fe2('0x8')]():this[_0x4fe2('0x9')]();}['_disableUnsupportedCommands'](){for(const _0x564c30 of this['editor']['commands']['commands']())_0x564c30[_0x4fe2('0x3')]&&!this[_0x4fe2('0x0')][_0x4fe2('0x5')](_0x564c30)&&_0x564c30['forceDisabled'](_0x4fe2('0x6'));}[_0x4fe2('0x9')](){for(const _0x3e6cf5 of this['editor'][_0x4fe2('0x4')][_0x4fe2('0x4')]())_0x3e6cf5[_0x4fe2('0x3')]&&!this[_0x4fe2('0x0')][_0x4fe2('0x5')](_0x3e6cf5)&&_0x3e6cf5[_0x4fe2('0x2')](_0x4fe2('0x6'));}}
package/src/index.js ADDED
@@ -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
+ export{default as TrackChanges}from'./trackchanges';export{default as TrackChangesData}from'./trackchangesdata';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xe19e6e}from'ckeditor5/src/core';export default class P extends _0xe19e6e{['afterInit'](){const _0x1508c2=this['editor'],{t:t}=_0x1508c2['locale'];if(!_0x1508c2['plugins']['has']('AlignmentEditing'))return;const _0x4173e5=_0x1508c2['plugins']['get']('TrackChangesEditing');_0x4173e5['enableCommand']('alignment',(_0xfee4c0,_0x9ff230={})=>{let _0x4e1a11=_0x9ff230['value'];_0x9ff230['value']||(_0x4e1a11='ltr'===_0x1508c2['locale']['contentLanguageDirection']?'left':'right');const _0xae699b=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x141ef4=>function(_0x36011d,_0x4493d5,_0x375239){const _0x22f616=_0x36011d['getAttribute']('alignment')||null;return _0x4493d5['checkAttribute'](_0x36011d,'alignment')&&_0x375239!=_0x22f616;}(_0x141ef4,this['editor']['model']['schema'],_0x4e1a11));_0x1508c2['model']['change'](()=>{for(const _0x39960c of _0xae699b)_0x4173e5['markBlockFormat'](_0x39960c,{'commandName':'alignment','commandParams':[{'value':_0x4e1a11}]});});}),_0x4173e5['_descriptionFactory']['registerDescriptionCallback'](_0x1ca2fc=>{const {data:_0x374048}=_0x1ca2fc;if(_0x374048&&'alignment'==_0x374048['commandName']){const _0x228c06=_0x374048['commandParams'][0x0]['value'];return{'type':'format','content':t('*Format:*\x20%0',function(_0x166566){switch(_0x166566){case'left':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'right':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'center':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'justify':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});}}(_0x228c06))};}});}}
23
+ const _0x1739=['alignment','right','editor','afterInit','getSelectedBlocks','left','model','FORMAT_ALIGN_TO_LEFT','has','FORMAT_ALIGN_TO_CENTER','value','plugins','checkAttribute','enableCommand','FORMAT_JUSTIFY_TEXT','TrackChangesEditing','FORMAT_ALIGN_TO_RIGHT','_descriptionFactory','change','ltr','get','document','selection','markBlockFormat','*Format:*\x20%0','registerDescriptionCallback','locale','center'];(function(_0x38eb97,_0x17396a){const _0x16ea64=function(_0x418070){while(--_0x418070){_0x38eb97['push'](_0x38eb97['shift']());}};_0x16ea64(++_0x17396a);}(_0x1739,0x153));const _0x16ea=function(_0x38eb97,_0x17396a){_0x38eb97=_0x38eb97-0x0;let _0x16ea64=_0x1739[_0x38eb97];return _0x16ea64;};import{Plugin as _0x519334}from'ckeditor5/src/core';import{getTranslation as _0x52f287}from'../utils/common-translations';export default class E extends _0x519334{[_0x16ea('0x0')](){const _0x2ae090=this['editor'],_0x14781f=_0x2ae090[_0x16ea('0x17')];if(!_0x2ae090[_0x16ea('0x8')][_0x16ea('0x5')]('AlignmentEditing'))return;const _0x327b6e=_0x2ae090[_0x16ea('0x8')][_0x16ea('0x11')](_0x16ea('0xc'));_0x327b6e[_0x16ea('0xa')]('alignment',(_0x51c58b,_0x4539f1={})=>{let _0x531bbb=_0x4539f1[_0x16ea('0x7')];_0x4539f1[_0x16ea('0x7')]||(_0x531bbb=_0x16ea('0x10')===_0x2ae090['locale']['contentLanguageDirection']?_0x16ea('0x2'):_0x16ea('0x1a'));const _0x2026bf=Array['from'](this[_0x16ea('0x1b')][_0x16ea('0x3')][_0x16ea('0x12')][_0x16ea('0x13')][_0x16ea('0x1')]())['filter'](_0x45612e=>function(_0x980007,_0x8bc34,_0xa65999){const _0x2913e5=_0x980007['getAttribute'](_0x16ea('0x19'))||null;return _0x8bc34[_0x16ea('0x9')](_0x980007,'alignment')&&_0xa65999!=_0x2913e5;}(_0x45612e,this[_0x16ea('0x1b')][_0x16ea('0x3')]['schema'],_0x531bbb));_0x2ae090['model'][_0x16ea('0xf')](()=>{for(const _0x38678b of _0x2026bf)_0x327b6e[_0x16ea('0x14')](_0x38678b,{'commandName':_0x16ea('0x19'),'commandParams':[{'value':_0x531bbb}]});});}),_0x327b6e[_0x16ea('0xe')][_0x16ea('0x16')](_0xc09207=>{const {data:_0x4d12f1}=_0xc09207;if(_0x4d12f1&&'alignment'==_0x4d12f1['commandName']){const _0x153a5f=_0x4d12f1['commandParams'][0x0][_0x16ea('0x7')];return{'type':'format','content':_0x52f287(_0x14781f,_0x16ea('0x15'),function(_0x17c682){switch(_0x17c682){case _0x16ea('0x2'):return _0x52f287(_0x14781f,_0x16ea('0x4'));case _0x16ea('0x1a'):return _0x52f287(_0x14781f,_0x16ea('0xd'));case _0x16ea('0x18'):return _0x52f287(_0x14781f,_0x16ea('0x6'));case'justify':return _0x52f287(_0x14781f,_0x16ea('0xb'));}}(_0x153a5f))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x19c422}from'ckeditor5/src/core';import{getRangesWithAttribute as Rt}from'./utils';const Ft=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];export default class G extends _0x19c422{['afterInit'](){const _0x36222a=this['editor'],_0x1562ff=_0x36222a['model'],_0x5046e0=_0x36222a['plugins']['get']('TrackChangesEditing'),{t:t}=_0x36222a['locale'];for(const _0x3e2460 of Ft){if(!_0x36222a['plugins']['has'](_0x3e2460))continue;const _0x483ed5=_0x3e2460['slice'](0x0,-0x7)['toLowerCase'](),_0x2539c8=_0x36222a['commands']['get'](_0x483ed5);_0x5046e0['enableCommand'](_0x483ed5,(_0x351788,_0x2dde52={})=>{const _0x5191f3=_0x1562ff['document']['selection'];if(_0x5191f3['isCollapsed'])return void _0x351788(_0x2dde52);const _0x3b2aec=void 0x0!==_0x2dde52['forceValue']?_0x2dde52['forceValue']:!_0x2539c8['value'];_0x1562ff['change'](()=>{const _0x2177c0=Array['from'](_0x5191f3['getRanges']());for(const _0x394252 of _0x2177c0){const _0x5466ce=_0x3b2aec?[_0x394252]:Rt(_0x483ed5,_0x394252,_0x1562ff);for(const _0x1e51e7 of _0x5466ce)_0x5046e0['markInlineFormat'](_0x1e51e7,{'commandName':_0x483ed5,'commandParams':[{'forceValue':_0x3b2aec}]});}});});}function _0x38e476(_0x2dca73,_0x284945){_0x5046e0['_descriptionFactory']['registerDescriptionCallback'](_0x13fceb=>{const {data:_0x1814b1}=_0x13fceb;if(_0x1814b1&&_0x1814b1['commandName']===_0x2dca73)return _0x1814b1['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0x284945)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0x284945)};});}_0x38e476('bold',t({'string':'bold','id':'FORMAT_BOLD'})),_0x38e476('italic',t({'string':'italic','id':'FORMAT_ITALIC'})),_0x38e476('underline',t({'string':'underline','id':'FORMAT_UNDERLINE'})),_0x38e476('code',t({'string':'code','id':'FORMAT_CODE'})),_0x38e476('strikethrough',t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'})),_0x38e476('subscript',t({'string':'subscript','id':'FORMAT_SUBSCRIPT'})),_0x38e476('superscript',t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'}));}}
23
+ const _0x2e1b=['model','BoldEditing','subscript','*Remove\x20format:*\x20%0','underline','TrackChangesEditing','FORMAT_SUPERSCRIPT','SubscriptEditing','change','getRanges','FORMAT_BOLD','forceValue','registerDescriptionCallback','get','bold','FORMAT_STRIKETHROUGH','superscript','enableCommand','_descriptionFactory','from','FORMAT_SUBSCRIPT','slice','markInlineFormat','selection','format','toLowerCase','plugins','isCollapsed','value','editor','SuperscriptEditing','FORMAT_CODE','has','commands','document'];(function(_0x23a272,_0x2e1be9){const _0x1db2d1=function(_0x1810f3){while(--_0x1810f3){_0x23a272['push'](_0x23a272['shift']());}};_0x1db2d1(++_0x2e1be9);}(_0x2e1b,0x6d));const _0x1db2=function(_0x23a272,_0x2e1be9){_0x23a272=_0x23a272-0x0;let _0x1db2d1=_0x2e1b[_0x23a272];return _0x1db2d1;};import{Plugin as _0x28ebe8}from'ckeditor5/src/core';import{getTranslation as _0x4bfcc7}from'../utils/common-translations';import{getRangesWithAttribute as _0x567771}from'./utils';const Ot=[_0x1db2('0x20'),'ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing',_0x1db2('0x3'),_0x1db2('0x1a')];export default class x extends _0x28ebe8{['afterInit'](){const _0xe16ab6=this[_0x1db2('0x19')],_0x4c912d=_0xe16ab6[_0x1db2('0x1f')],_0x229c84=_0xe16ab6[_0x1db2('0x16')][_0x1db2('0x9')](_0x1db2('0x1')),_0x5a9eea=_0xe16ab6['locale'];for(const _0x5771b3 of Ot){if(!_0xe16ab6[_0x1db2('0x16')][_0x1db2('0x1c')](_0x5771b3))continue;const _0x556633=_0x5771b3[_0x1db2('0x11')](0x0,-0x7)[_0x1db2('0x15')](),_0x1a37f8=_0xe16ab6[_0x1db2('0x1d')]['get'](_0x556633);_0x229c84[_0x1db2('0xd')](_0x556633,(_0x27d2cc,_0x362733={})=>{const _0x14915a=_0x4c912d[_0x1db2('0x1e')][_0x1db2('0x13')];if(_0x14915a[_0x1db2('0x17')])return void _0x27d2cc(_0x362733);const _0x3ff5da=void 0x0!==_0x362733[_0x1db2('0x7')]?_0x362733[_0x1db2('0x7')]:!_0x1a37f8[_0x1db2('0x18')];_0x4c912d[_0x1db2('0x4')](()=>{const _0x3eef27=Array[_0x1db2('0xf')](_0x14915a[_0x1db2('0x5')]());for(const _0x3c4d9c of _0x3eef27){const _0x430313=_0x3ff5da?[_0x3c4d9c]:_0x567771(_0x556633,_0x3c4d9c,_0x4c912d);for(const _0x346ac9 of _0x430313)_0x229c84[_0x1db2('0x12')](_0x346ac9,{'commandName':_0x556633,'commandParams':[{'forceValue':_0x3ff5da}]});}});});}function _0x15c421(_0x41f390,_0x5ea89a){_0x229c84[_0x1db2('0xe')][_0x1db2('0x8')](_0xb43f1a=>{const {data:_0x577abf}=_0xb43f1a;if(_0x577abf&&_0x577abf['commandName']===_0x41f390)return _0x577abf['commandParams'][0x0][_0x1db2('0x7')]?{'type':'format','content':_0x4bfcc7(_0x5a9eea,'*Format:*\x20%0',_0x5ea89a)}:{'type':_0x1db2('0x14'),'content':_0x4bfcc7(_0x5a9eea,_0x1db2('0x22'),_0x5ea89a)};});}_0x15c421(_0x1db2('0xa'),_0x4bfcc7(_0x5a9eea,_0x1db2('0x6'))),_0x15c421('italic',_0x4bfcc7(_0x5a9eea,'FORMAT_ITALIC')),_0x15c421(_0x1db2('0x0'),_0x4bfcc7(_0x5a9eea,'FORMAT_UNDERLINE')),_0x15c421('code',_0x4bfcc7(_0x5a9eea,_0x1db2('0x1b'))),_0x15c421('strikethrough',_0x4bfcc7(_0x5a9eea,_0x1db2('0xb'))),_0x15c421(_0x1db2('0x21'),_0x4bfcc7(_0x5a9eea,_0x1db2('0x10'))),_0x15c421(_0x1db2('0xc'),_0x4bfcc7(_0x5a9eea,_0x1db2('0x2')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x494018}from'ckeditor5/src/core';import{TreeWalker as Qt}from'ckeditor5/src/engine';export default class F extends _0x494018{['afterInit'](){const _0x1e7e99=this['editor'],{t:t}=_0x1e7e99['locale'];if(!_0x1e7e99['plugins']['has']('BlockQuoteEditing'))return;const _0x3187a1=_0x1e7e99['plugins']['get']('TrackChangesEditing'),_0x513b34=this['editor']['commands']['get']('blockQuote');_0x3187a1['enableCommand']('blockQuote',(_0x1b5e14,_0x44420d={})=>{const _0x5c6125=this['editor']['model']['document']['selection'],_0x4e24c9=_0x44420d&&void 0x0!==_0x44420d['forceValue']?_0x44420d['forceValue']:!_0x513b34['value'];let _0x45ad50=[];if(_0x4e24c9){const _0xa0be2f=Array['from'](_0x5c6125['getSelectedBlocks']())['filter'](_0x1d72b2=>Bt(_0x1d72b2)||function(_0x19f51f,_0x4e76cc){const _0x10c12f=_0x4e76cc['checkChild'](_0x19f51f['parent'],'blockQuote'),_0x54acc1=_0x4e76cc['checkChild'](['$root','blockQuote'],_0x19f51f);return _0x10c12f&&_0x54acc1;}(_0x1d72b2,this['editor']['model']['schema']));_0x45ad50=Lt(_0xa0be2f,_0x1e7e99['model']);}else{const _0x307128=Array['from'](_0x5c6125['getSelectedBlocks']())['filter'](_0x192374=>Bt(_0x192374));_0x45ad50=Lt(_0x307128,_0x1e7e99['model']);}_0x1e7e99['model']['change'](()=>{for(const _0x478279 of _0x45ad50)_0x3187a1['markBlockFormat'](_0x478279,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x4e24c9}]});});}),_0x3187a1['_descriptionFactory']['registerDescriptionCallback'](_0xc79c94=>{const {data:_0x38f446}=_0xc79c94;if(_0x38f446&&'blockQuote'==_0x38f446['commandName']){const _0xd91bf2=t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});return _0x38f446['commandParams'][0x0]['forceValue']?{'type':'format','content':t('*Format:*\x20%0',_0xd91bf2)}:{'type':'format','content':t('*Remove\x20format:*\x20%0',_0xd91bf2)};}});}}function Bt(_0x4cd688){return'blockQuote'==_0x4cd688['parent']['name'];}function Lt(_0x49358c,_0x94d056){let _0x45774e,_0x423834=0x0;const _0x59a61e=[],_0x38f350=_0x94d056['schema'];for(;_0x423834<_0x49358c['length'];){const _0x4d9219=_0x49358c[_0x423834],_0x169b97=_0x49358c[_0x423834+0x1];_0x45774e||(_0x45774e=_0x94d056['createPositionBefore'](_0x4d9219)),Kt(_0x94d056,_0x4d9219,_0x169b97)||(_0x59a61e['push'](_0x94d056['createRange'](_0x45774e,_0x38f350['isObject'](_0x4d9219)?_0x94d056['createPositionAfter'](_0x4d9219):_0x94d056['createPositionAt'](_0x4d9219,'end'))),_0x45774e=null),_0x423834++;}return _0x59a61e;}function Kt(_0xbd39a9,_0x3d7dc2,_0x30a15c){if(!_0x30a15c)return!0x1;const _0x2a839f=_0xbd39a9['createPositionAfter'](_0x3d7dc2),_0x353a46=_0xbd39a9['createPositionBefore'](_0x30a15c),_0x580e04=new Qt({'boundaries':_0xbd39a9['createRange'](_0x2a839f,_0x353a46)});for(const _0x39bfaa of _0x580e04)if('text'==_0x39bfaa['type']||_0xbd39a9['schema']['isLimit'](_0x39bfaa['item']))return!0x1;return!0x0;}
23
+ const _0x34cd=['change','length','name','forceValue','get','createRange','locale','$root','model','value','end','from','type','registerDescriptionCallback','schema','has','commandParams','afterInit','ELEMENT_BLOCK_QUOTE','markBlockFormat','parent','filter','*Remove\x20format:*\x20%0','checkChild','getSelectedBlocks','createPositionBefore','commands','commandName','createPositionAfter','push','*Format:*\x20%0','isObject','BlockQuoteEditing','createPositionAt','isLimit','item','document','editor','enableCommand','blockQuote','_descriptionFactory'];(function(_0x48a4b3,_0x34cd7d){const _0x431ee3=function(_0x57a030){while(--_0x57a030){_0x48a4b3['push'](_0x48a4b3['shift']());}};_0x431ee3(++_0x34cd7d);}(_0x34cd,0x195));const _0x431e=function(_0x48a4b3,_0x34cd7d){_0x48a4b3=_0x48a4b3-0x0;let _0x431ee3=_0x34cd[_0x48a4b3];return _0x431ee3;};import{Plugin as _0x189207}from'ckeditor5/src/core';import{TreeWalker as _0x2d1d49}from'ckeditor5/src/engine';import{getTranslation as _0x1240ab}from'../utils/common-translations';export default class O extends _0x189207{[_0x431e('0x16')](){const _0x45cac1=this['editor'],_0x3989e4=_0x45cac1[_0x431e('0xb')];if(!_0x45cac1['plugins'][_0x431e('0x14')](_0x431e('0x25')))return;const _0x403a17=_0x45cac1['plugins'][_0x431e('0x9')]('TrackChangesEditing'),_0xd726bd=this[_0x431e('0x1')][_0x431e('0x1f')][_0x431e('0x9')](_0x431e('0x3'));_0x403a17[_0x431e('0x2')]('blockQuote',(_0x3fa678,_0x38167={})=>{const _0x48eb4b=this[_0x431e('0x1')]['model'][_0x431e('0x0')]['selection'],_0x1aa0da=_0x38167&&void 0x0!==_0x38167[_0x431e('0x8')]?_0x38167[_0x431e('0x8')]:!_0xd726bd[_0x431e('0xe')];let _0x3865dd=[];if(_0x1aa0da){const _0x872edd=Array['from'](_0x48eb4b[_0x431e('0x1d')]())[_0x431e('0x1a')](_0x1722fe=>Bt(_0x1722fe)||function(_0x1e90a5,_0x2c45c9){const _0x348200=_0x2c45c9[_0x431e('0x1c')](_0x1e90a5[_0x431e('0x19')],_0x431e('0x3')),_0x1da11c=_0x2c45c9[_0x431e('0x1c')]([_0x431e('0xc'),_0x431e('0x3')],_0x1e90a5);return _0x348200&&_0x1da11c;}(_0x1722fe,this['editor'][_0x431e('0xd')]['schema']));_0x3865dd=Lt(_0x872edd,_0x45cac1[_0x431e('0xd')]);}else{const _0xeee8e8=Array[_0x431e('0x10')](_0x48eb4b[_0x431e('0x1d')]())['filter'](_0x5bfa73=>Bt(_0x5bfa73));_0x3865dd=Lt(_0xeee8e8,_0x45cac1[_0x431e('0xd')]);}_0x45cac1[_0x431e('0xd')][_0x431e('0x5')](()=>{for(const _0x152729 of _0x3865dd)_0x403a17[_0x431e('0x18')](_0x152729,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x1aa0da}]});});}),_0x403a17[_0x431e('0x4')][_0x431e('0x12')](_0x3021fe=>{const {data:_0x4daa31}=_0x3021fe;if(_0x4daa31&&'blockQuote'==_0x4daa31[_0x431e('0x20')]){const _0x353637=_0x1240ab(_0x3989e4,_0x431e('0x17'));return _0x4daa31[_0x431e('0x15')][0x0][_0x431e('0x8')]?{'type':'format','content':_0x1240ab(_0x3989e4,_0x431e('0x23'),_0x353637)}:{'type':'format','content':_0x1240ab(_0x3989e4,_0x431e('0x1b'),_0x353637)};}});}}function Bt(_0x3ad7fd){return _0x431e('0x3')==_0x3ad7fd[_0x431e('0x19')][_0x431e('0x7')];}function Lt(_0x191ccf,_0x4d0ade){let _0x2e3cfe,_0x35640f=0x0;const _0xed473f=[],_0x4e954=_0x4d0ade[_0x431e('0x13')];for(;_0x35640f<_0x191ccf[_0x431e('0x6')];){const _0x7c4fd8=_0x191ccf[_0x35640f],_0x279c4c=_0x191ccf[_0x35640f+0x1];_0x2e3cfe||(_0x2e3cfe=_0x4d0ade[_0x431e('0x1e')](_0x7c4fd8)),_t(_0x4d0ade,_0x7c4fd8,_0x279c4c)||(_0xed473f[_0x431e('0x22')](_0x4d0ade[_0x431e('0xa')](_0x2e3cfe,_0x4e954[_0x431e('0x24')](_0x7c4fd8)?_0x4d0ade[_0x431e('0x21')](_0x7c4fd8):_0x4d0ade[_0x431e('0x26')](_0x7c4fd8,_0x431e('0xf')))),_0x2e3cfe=null),_0x35640f++;}return _0xed473f;}function _t(_0x3ecd98,_0x243970,_0x860dc9){if(!_0x860dc9)return!0x1;const _0x491397=_0x3ecd98[_0x431e('0x21')](_0x243970),_0x3d21b0=_0x3ecd98[_0x431e('0x1e')](_0x860dc9),_0x5ef9c0=new _0x2d1d49({'boundaries':_0x3ecd98['createRange'](_0x491397,_0x3d21b0)});for(const _0xf152fd of _0x5ef9c0)if('text'==_0xf152fd[_0x431e('0x11')]||_0x3ecd98[_0x431e('0x13')][_0x431e('0x27')](_0xf152fd[_0x431e('0x28')]))return!0x1;return!0x0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xf0ff7a}from'ckeditor5/src/core';export default class L extends _0xf0ff7a{['afterInit'](){const _0x1bc218=this['editor'],{t:t}=_0x1bc218['locale'];if(!_0x1bc218['plugins']['has']('CodeBlock'))return;_0x1bc218['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['registerElementLabel']('codeBlock',_0x63574d=>t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x63574d));}}
23
+ const _0x25e0=['plugins','locale','TrackChangesEditing','CodeBlock','ELEMENT_CODE_BLOCK','afterInit','get','registerElementLabel'];(function(_0x50b2e7,_0x25e042){const _0x1f33f1=function(_0x14f68f){while(--_0x14f68f){_0x50b2e7['push'](_0x50b2e7['shift']());}};_0x1f33f1(++_0x25e042);}(_0x25e0,0x1b7));const _0x1f33=function(_0x50b2e7,_0x25e042){_0x50b2e7=_0x50b2e7-0x0;let _0x1f33f1=_0x25e0[_0x50b2e7];return _0x1f33f1;};import{Plugin as _0xdfadda}from'ckeditor5/src/core';import{getTranslation as _0xa3759e}from'../utils/common-translations';export default class P extends _0xdfadda{[_0x1f33('0x6')](){const _0x2de920=this['editor'],_0x4bc64c=_0x2de920[_0x1f33('0x2')];if(!_0x2de920[_0x1f33('0x1')]['has'](_0x1f33('0x4')))return;_0x2de920[_0x1f33('0x1')][_0x1f33('0x7')](_0x1f33('0x3'))['_descriptionFactory'][_0x1f33('0x0')]('codeBlock',_0x5ddcf3=>_0xa3759e(_0x4bc64c,_0x1f33('0x5'),_0x5ddcf3));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b57=['addCommentThread','TrackChangesEditing','get','plugins','requires','editor','init'];(function(_0x432a22,_0x1b5777){var _0x4f2170=function(_0x5d68ad){while(--_0x5d68ad){_0x432a22['push'](_0x432a22['shift']());}};_0x4f2170(++_0x1b5777);}(_0x1b57,0x17e));var _0x4f21=function(_0x432a22,_0x1b5777){_0x432a22=_0x432a22-0x0;var _0x4f2170=_0x1b57[_0x432a22];return _0x4f2170;};import{Plugin as _0xb78be6}from'ckeditor5/src/core';import _0x550c22 from'@ckeditor/ckeditor5-comments/src/comments/commentsediting';export default class q extends _0xb78be6{static get[_0x4f21('0x0')](){return[_0x550c22];}[_0x4f21('0x2')](){this[_0x4f21('0x1')][_0x4f21('0x6')][_0x4f21('0x5')](_0x4f21('0x4'))['enableCommand'](_0x4f21('0x3'));}}
23
+ var _0x2018=['enableCommand','addCommentThread','init','get','TrackChangesEditing','editor','plugins','CommentsEditing'];(function(_0x36ba79,_0x20184e){var _0x5fb98f=function(_0x22c758){while(--_0x22c758){_0x36ba79['push'](_0x36ba79['shift']());}};_0x5fb98f(++_0x20184e);}(_0x2018,0x72));var _0x5fb9=function(_0x36ba79,_0x20184e){_0x36ba79=_0x36ba79-0x0;var _0x5fb98f=_0x2018[_0x36ba79];return _0x5fb98f;};import{Plugin as _0x3fda09}from'ckeditor5/src/core';export default class G extends _0x3fda09{static get['requires'](){return[_0x5fb9('0x5')];}[_0x5fb9('0x0')](){this[_0x5fb9('0x3')][_0x5fb9('0x4')][_0x5fb9('0x1')](_0x5fb9('0x2'))[_0x5fb9('0x6')](_0x5fb9('0x7'));}}