@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231115.0 → 0.0.0-nightly-20231117.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 (159) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sq.js +1 -1
  37. package/build/translations/sr-latn.js +1 -1
  38. package/build/translations/sr.js +1 -1
  39. package/build/translations/sv.js +1 -1
  40. package/build/translations/th.js +1 -1
  41. package/build/translations/tk.js +1 -1
  42. package/build/translations/tr.js +1 -1
  43. package/build/translations/tt.js +1 -1
  44. package/build/translations/uk.js +1 -1
  45. package/build/translations/ur.js +1 -1
  46. package/build/translations/vi.js +1 -1
  47. package/build/translations/zh-cn.js +1 -1
  48. package/build/translations/zh.js +1 -1
  49. package/lang/contexts.json +3 -3
  50. package/lang/translations/ar.po +19 -19
  51. package/lang/translations/bg.po +19 -19
  52. package/lang/translations/bn.po +19 -19
  53. package/lang/translations/ca.po +19 -19
  54. package/lang/translations/cs.po +19 -19
  55. package/lang/translations/da.po +19 -19
  56. package/lang/translations/de.po +19 -19
  57. package/lang/translations/el.po +19 -19
  58. package/lang/translations/es.po +19 -19
  59. package/lang/translations/et.po +19 -19
  60. package/lang/translations/fi.po +19 -19
  61. package/lang/translations/fr.po +19 -19
  62. package/lang/translations/he.po +19 -19
  63. package/lang/translations/hi.po +19 -19
  64. package/lang/translations/hu.po +19 -19
  65. package/lang/translations/id.po +19 -19
  66. package/lang/translations/it.po +19 -19
  67. package/lang/translations/ja.po +19 -19
  68. package/lang/translations/ko.po +19 -19
  69. package/lang/translations/lt.po +19 -19
  70. package/lang/translations/lv.po +19 -19
  71. package/lang/translations/ms.po +19 -19
  72. package/lang/translations/nl.po +19 -19
  73. package/lang/translations/no.po +19 -19
  74. package/lang/translations/pl.po +19 -19
  75. package/lang/translations/pt-br.po +19 -19
  76. package/lang/translations/pt.po +19 -19
  77. package/lang/translations/ro.po +19 -19
  78. package/lang/translations/ru.po +19 -19
  79. package/lang/translations/sk.po +19 -19
  80. package/lang/translations/sr.po +19 -19
  81. package/lang/translations/sv.po +19 -19
  82. package/lang/translations/th.po +19 -19
  83. package/lang/translations/tr.po +19 -19
  84. package/lang/translations/uk.po +19 -19
  85. package/lang/translations/vi.po +19 -19
  86. package/lang/translations/zh-cn.po +19 -19
  87. package/lang/translations/zh.po +19 -19
  88. package/package.json +3 -3
  89. package/src/commands/acceptsuggestioncommand.js +1 -1
  90. package/src/commands/discardsuggestioncommand.js +1 -1
  91. package/src/commands/executeonallsuggestionscommand.js +1 -1
  92. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  93. package/src/commands/trackchangescommand.js +1 -1
  94. package/src/index.d.ts +1 -1
  95. package/src/integrations/aiassistant.js +1 -1
  96. package/src/integrations/alignment.js +1 -1
  97. package/src/integrations/basicstyles.js +1 -1
  98. package/src/integrations/blockquote.js +1 -1
  99. package/src/integrations/ckbox.js +1 -1
  100. package/src/integrations/codeblock.js +1 -1
  101. package/src/integrations/comments.js +1 -1
  102. package/src/integrations/deletecommand.js +1 -1
  103. package/src/integrations/documentlist.js +1 -1
  104. package/src/integrations/documentlistproperties.js +1 -1
  105. package/src/integrations/entercommand.js +1 -1
  106. package/src/integrations/findandreplace.js +1 -1
  107. package/src/integrations/font.js +1 -1
  108. package/src/integrations/formatpainter.js +1 -1
  109. package/src/integrations/heading.js +1 -1
  110. package/src/integrations/highlight.js +1 -1
  111. package/src/integrations/horizontalline.js +1 -1
  112. package/src/integrations/htmlembed.js +1 -1
  113. package/src/integrations/image.js +1 -1
  114. package/src/integrations/imagereplace.js +1 -1
  115. package/src/integrations/imagestyle.js +1 -1
  116. package/src/integrations/importword.js +1 -1
  117. package/src/integrations/indent.js +1 -1
  118. package/src/integrations/inputcommand.js +1 -1
  119. package/src/integrations/link.js +1 -1
  120. package/src/integrations/list.js +1 -1
  121. package/src/integrations/listproperties.js +1 -1
  122. package/src/integrations/mediaembed.js +1 -1
  123. package/src/integrations/mention.js +1 -1
  124. package/src/integrations/pagebreak.js +1 -1
  125. package/src/integrations/paragraph.js +1 -1
  126. package/src/integrations/removeformat.js +1 -1
  127. package/src/integrations/restrictededitingmode.js +1 -1
  128. package/src/integrations/shiftentercommand.js +1 -1
  129. package/src/integrations/standardeditingmode.js +1 -1
  130. package/src/integrations/style.d.ts +0 -1
  131. package/src/integrations/style.js +1 -1
  132. package/src/integrations/table.js +1 -1
  133. package/src/integrations/tablecaption.js +1 -1
  134. package/src/integrations/tableclipboard.js +1 -1
  135. package/src/integrations/tablecolumnresize.js +1 -1
  136. package/src/integrations/tableheadings.js +1 -1
  137. package/src/integrations/tablemergesplit.js +1 -1
  138. package/src/integrations/tableofcontents.js +1 -1
  139. package/src/integrations/tableproperties.js +1 -1
  140. package/src/integrations/template.js +1 -1
  141. package/src/integrations/title.js +1 -1
  142. package/src/integrations/undo.js +1 -1
  143. package/src/integrations/utils.js +1 -1
  144. package/src/suggestion.js +1 -1
  145. package/src/suggestiondescriptionfactory.d.ts +7 -4
  146. package/src/suggestiondescriptionfactory.js +1 -1
  147. package/src/trackchanges.d.ts +0 -67
  148. package/src/trackchanges.js +1 -1
  149. package/src/trackchangesconfig.d.ts +22 -19
  150. package/src/trackchangesdata.js +1 -1
  151. package/src/trackchangesediting.d.ts +14 -23
  152. package/src/trackchangesediting.js +1 -1
  153. package/src/trackchangesui.js +1 -1
  154. package/src/ui/suggestioncontroller.js +1 -1
  155. package/src/ui/view/basesuggestionthreadview.js +1 -1
  156. package/src/ui/view/suggestionthreadview.d.ts +1 -1
  157. package/src/ui/view/suggestionthreadview.js +1 -1
  158. package/src/utils/common-translations.js +1 -1
  159. package/src/utils/utils.js +1 -1
@@ -155,7 +155,7 @@ msgstr "*设置字号:* %0"
155
155
 
156
156
  msgctxt "A suggestion for setting multiple inline formatting %0"
157
157
  msgid "*Set format:* %0"
158
- msgstr ""
158
+ msgstr "*设置格式:* %0"
159
159
 
160
160
  msgctxt "A suggestion for setting multiple inline formatting to %0"
161
161
  msgid "*Set format to:* %0"
@@ -219,27 +219,27 @@ msgstr "放弃建议"
219
219
 
220
220
  msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
221
221
  msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
222
- msgstr ""
222
+ msgstr "离开插入建议。"
223
223
 
224
224
  msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
225
225
  msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
226
- msgstr ""
226
+ msgstr "进入插入建议。"
227
227
 
228
228
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
229
229
  msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
230
- msgstr ""
230
+ msgstr "离开删除建议。"
231
231
 
232
232
  msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
233
233
  msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
234
- msgstr ""
234
+ msgstr "进入删除建议。"
235
235
 
236
236
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
237
237
  msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
238
- msgstr ""
238
+ msgstr "离开格式建议。"
239
239
 
240
240
  msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
241
241
  msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
242
- msgstr ""
242
+ msgstr "进入格式建议。"
243
243
 
244
244
  msgctxt "The block quote element name displayed in the suggestion."
245
245
  msgid "ELEMENT_BLOCK_QUOTE"
@@ -251,7 +251,7 @@ msgstr "项目符号列表"
251
251
 
252
252
  msgctxt "The default styled bulleted list element name displayed in the suggestion."
253
253
  msgid "ELEMENT_BULLETED_LIST_DEFAULT"
254
- msgstr ""
254
+ msgstr "项目符号列表(默认)"
255
255
 
256
256
  msgctxt "The circle styled bulleted list element name displayed in the suggestion."
257
257
  msgid "ELEMENT_BULLETED_LIST_CIRCLE"
@@ -325,7 +325,7 @@ msgstr "项目编号列表"
325
325
 
326
326
  msgctxt "The default styled numbered list element name displayed in the suggestion."
327
327
  msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
328
- msgstr ""
328
+ msgstr "编号列表(默认)"
329
329
 
330
330
  msgctxt "The decimal styled numbered list element name displayed in the suggestion."
331
331
  msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
@@ -410,7 +410,7 @@ msgstr "待办事项列表"
410
410
 
411
411
  msgctxt "The alignment format name displayed in a format suggestion."
412
412
  msgid "FORMAT_ALIGNMENT"
413
- msgstr ""
413
+ msgstr "对齐"
414
414
 
415
415
  msgctxt "The align to center format name displayed in a format suggestion."
416
416
  msgid "FORMAT_ALIGN_TO_CENTER"
@@ -490,39 +490,39 @@ msgstr "下划线"
490
490
 
491
491
  msgctxt "The list or block indent format name displayed in a format suggestion."
492
492
  msgid "FORMAT_INDENT"
493
- msgstr ""
493
+ msgstr "缩进"
494
494
 
495
495
  msgctxt "The list reversed format name displayed in a format suggestion."
496
496
  msgid "FORMAT_LIST_REVERSED"
497
- msgstr ""
497
+ msgstr "列表反转"
498
498
 
499
499
  msgctxt "The list start format name displayed in a format suggestion."
500
500
  msgid "FORMAT_LIST_START"
501
- msgstr ""
501
+ msgstr "列表开始"
502
502
 
503
503
  msgctxt "The font size format name displayed in a format suggestion."
504
504
  msgid "FORMAT_FONT_SIZE"
505
- msgstr ""
505
+ msgstr "字体大小"
506
506
 
507
507
  msgctxt "The font family format name displayed in a format suggestion."
508
508
  msgid "FORMAT_FONT_FAMILY"
509
- msgstr ""
509
+ msgstr "字体类型"
510
510
 
511
511
  msgctxt "The font color format name displayed in a format suggestion."
512
512
  msgid "FORMAT_FONT_COLOR"
513
- msgstr ""
513
+ msgstr "字体颜色"
514
514
 
515
515
  msgctxt "The font background color format name displayed in a format suggestion."
516
516
  msgid "FORMAT_FONT_BACKGROUND"
517
- msgstr ""
517
+ msgstr "字体背景颜色"
518
518
 
519
519
  msgctxt "The image width change format name displayed in a format suggestion."
520
520
  msgid "FORMAT_IMAGE_WIDTH"
521
- msgstr ""
521
+ msgstr "图片大小"
522
522
 
523
523
  msgctxt "The style format name displayed in a format suggestion."
524
524
  msgid "FORMAT_STYLE"
525
- msgstr ""
525
+ msgstr "样式"
526
526
 
527
527
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
528
528
  msgid "PENDING_ACTION_SUGGESTION"
@@ -155,7 +155,7 @@ msgstr "*設定字型大小:*%0"
155
155
 
156
156
  msgctxt "A suggestion for setting multiple inline formatting %0"
157
157
  msgid "*Set format:* %0"
158
- msgstr ""
158
+ msgstr "*設定格式:* %0"
159
159
 
160
160
  msgctxt "A suggestion for setting multiple inline formatting to %0"
161
161
  msgid "*Set format to:* %0"
@@ -219,27 +219,27 @@ msgstr "捨棄建議"
219
219
 
220
220
  msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
221
221
  msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
222
- msgstr ""
222
+ msgstr "正在離開插入建議。"
223
223
 
224
224
  msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
225
225
  msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
226
- msgstr ""
226
+ msgstr "正在進入插入建議。"
227
227
 
228
228
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
229
229
  msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
230
- msgstr ""
230
+ msgstr "正在離開刪除建議。"
231
231
 
232
232
  msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
233
233
  msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
234
- msgstr ""
234
+ msgstr "正在進入刪除建議。"
235
235
 
236
236
  msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
237
237
  msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
238
- msgstr ""
238
+ msgstr "正在離開格式建議。"
239
239
 
240
240
  msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
241
241
  msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
242
- msgstr ""
242
+ msgstr "正在進入格式建議。"
243
243
 
244
244
  msgctxt "The block quote element name displayed in the suggestion."
245
245
  msgid "ELEMENT_BLOCK_QUOTE"
@@ -251,7 +251,7 @@ msgstr "項目符號清單"
251
251
 
252
252
  msgctxt "The default styled bulleted list element name displayed in the suggestion."
253
253
  msgid "ELEMENT_BULLETED_LIST_DEFAULT"
254
- msgstr ""
254
+ msgstr "項目符號清單(預設)"
255
255
 
256
256
  msgctxt "The circle styled bulleted list element name displayed in the suggestion."
257
257
  msgid "ELEMENT_BULLETED_LIST_CIRCLE"
@@ -325,7 +325,7 @@ msgstr "編號清單"
325
325
 
326
326
  msgctxt "The default styled numbered list element name displayed in the suggestion."
327
327
  msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
328
- msgstr ""
328
+ msgstr "編號清單(預設)"
329
329
 
330
330
  msgctxt "The decimal styled numbered list element name displayed in the suggestion."
331
331
  msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
@@ -410,7 +410,7 @@ msgstr "待辦事項清單"
410
410
 
411
411
  msgctxt "The alignment format name displayed in a format suggestion."
412
412
  msgid "FORMAT_ALIGNMENT"
413
- msgstr ""
413
+ msgstr "對齊"
414
414
 
415
415
  msgctxt "The align to center format name displayed in a format suggestion."
416
416
  msgid "FORMAT_ALIGN_TO_CENTER"
@@ -490,39 +490,39 @@ msgstr "底線"
490
490
 
491
491
  msgctxt "The list or block indent format name displayed in a format suggestion."
492
492
  msgid "FORMAT_INDENT"
493
- msgstr ""
493
+ msgstr "縮排"
494
494
 
495
495
  msgctxt "The list reversed format name displayed in a format suggestion."
496
496
  msgid "FORMAT_LIST_REVERSED"
497
- msgstr ""
497
+ msgstr "清單反轉"
498
498
 
499
499
  msgctxt "The list start format name displayed in a format suggestion."
500
500
  msgid "FORMAT_LIST_START"
501
- msgstr ""
501
+ msgstr "清單起始"
502
502
 
503
503
  msgctxt "The font size format name displayed in a format suggestion."
504
504
  msgid "FORMAT_FONT_SIZE"
505
- msgstr ""
505
+ msgstr "字型大小"
506
506
 
507
507
  msgctxt "The font family format name displayed in a format suggestion."
508
508
  msgid "FORMAT_FONT_FAMILY"
509
- msgstr ""
509
+ msgstr "字型家族"
510
510
 
511
511
  msgctxt "The font color format name displayed in a format suggestion."
512
512
  msgid "FORMAT_FONT_COLOR"
513
- msgstr ""
513
+ msgstr "字型顏色"
514
514
 
515
515
  msgctxt "The font background color format name displayed in a format suggestion."
516
516
  msgid "FORMAT_FONT_BACKGROUND"
517
- msgstr ""
517
+ msgstr "字型背景顏色"
518
518
 
519
519
  msgctxt "The image width change format name displayed in a format suggestion."
520
520
  msgid "FORMAT_IMAGE_WIDTH"
521
- msgstr ""
521
+ msgstr "圖片大小"
522
522
 
523
523
  msgctxt "The style format name displayed in a format suggestion."
524
524
  msgid "FORMAT_STYLE"
525
- msgstr ""
525
+ msgstr "樣式"
526
526
 
527
527
  msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
528
528
  msgid "PENDING_ACTION_SUGGESTION"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "0.0.0-nightly-20231115.0",
3
+ "version": "0.0.0-nightly-20231117.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "ckeditor5": "0.0.0-nightly-20231115.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231115.0",
42
+ "ckeditor5": "0.0.0-nightly-20231117.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231117.0",
44
44
  "lodash-es": "4.17.21"
45
45
  },
46
46
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x520a=['acceptSuggestion','model','getRanges','get','isEnabled','track-changes-accept-suggestion-not-found','_isEnabledBasedOnSelection','canEditAt','refresh','editor','plugins'];(function(_0x467ea3,_0x520ab7){const _0x41c447=function(_0x428d5f){while(--_0x428d5f){_0x467ea3['push'](_0x467ea3['shift']());}};_0x41c447(++_0x520ab7);}(_0x520a,0x18c));const _0x41c4=function(_0x467ea3,_0x520ab7){_0x467ea3=_0x467ea3-0x0;let _0x41c447=_0x520a[_0x467ea3];return _0x41c447;};import{Command as _0x5347f6}from'ckeditor5/src/core';import{CKEditorError as _0x17ba8e}from'ckeditor5/src/utils';export default class B extends _0x5347f6{constructor(_0x5a571e,_0x169c8c){super(_0x5a571e),this['_suggestions']=_0x169c8c,this[_0x41c4('0x8')](),this[_0x41c4('0x6')]=!0x1;}['refresh'](){this[_0x41c4('0x4')]=!0x0;}['execute'](_0xc7569e){const _0x3c70ca=this['_suggestions'][_0x41c4('0x3')](_0xc7569e);if(!_0x3c70ca)throw new _0x17ba8e(_0x41c4('0x5'),this);const _0x5bef06=_0x3c70ca[_0x41c4('0x2')]();this[_0x41c4('0x9')][_0x41c4('0x1')][_0x41c4('0x7')](_0x5bef06)&&this[_0x41c4('0x9')][_0x41c4('0xa')][_0x41c4('0x3')]('TrackChangesEditing')[_0x41c4('0x0')](_0x3c70ca);}}
23
+ const _0x4bcb=['canEditAt','acceptSuggestion','TrackChangesEditing','track-changes-accept-suggestion-not-found','getRanges','refresh','get','execute','isEnabled','editor','plugins'];(function(_0x187c6d,_0x4bcbbb){const _0x59fdd7=function(_0x1348c8){while(--_0x1348c8){_0x187c6d['push'](_0x187c6d['shift']());}};_0x59fdd7(++_0x4bcbbb);}(_0x4bcb,0xca));const _0x59fd=function(_0x187c6d,_0x4bcbbb){_0x187c6d=_0x187c6d-0x0;let _0x59fdd7=_0x4bcb[_0x187c6d];return _0x59fdd7;};import{Command as _0x51e453}from'ckeditor5/src/core';import{CKEditorError as _0x47e341}from'ckeditor5/src/utils';export default class B extends _0x51e453{constructor(_0x112b4d,_0x4483fb){super(_0x112b4d),this['_suggestions']=_0x4483fb,this[_0x59fd('0x1')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x59fd('0x1')](){this[_0x59fd('0x4')]=!0x0;}[_0x59fd('0x3')](_0x1f333f){const _0x47b583=this['_suggestions'][_0x59fd('0x2')](_0x1f333f);if(!_0x47b583)throw new _0x47e341(_0x59fd('0xa'),this);const _0x4ad581=_0x47b583[_0x59fd('0x0')]();this[_0x59fd('0x5')]['model'][_0x59fd('0x7')](_0x4ad581)&&this[_0x59fd('0x5')][_0x59fd('0x6')][_0x59fd('0x2')](_0x59fd('0x9'))[_0x59fd('0x8')](_0x47b583);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7972=['refresh','_isEnabledBasedOnSelection','isEnabled','track-changes-discard-suggestion-not-found','getRanges','plugins','_suggestions','model','editor','get','execute'];(function(_0x3dd354,_0x79720e){const _0x463ff0=function(_0x463a72){while(--_0x463a72){_0x3dd354['push'](_0x3dd354['shift']());}};_0x463ff0(++_0x79720e);}(_0x7972,0x74));const _0x463f=function(_0x3dd354,_0x79720e){_0x3dd354=_0x3dd354-0x0;let _0x463ff0=_0x7972[_0x3dd354];return _0x463ff0;};import{Command as _0x4c06c7}from'ckeditor5/src/core';import{CKEditorError as _0x5badd4}from'ckeditor5/src/utils';export default class x extends _0x4c06c7{constructor(_0x37729f,_0x2678c3){super(_0x37729f),this['_suggestions']=_0x2678c3,this[_0x463f('0x5')](),this[_0x463f('0x6')]=!0x1;}[_0x463f('0x5')](){this[_0x463f('0x7')]=!0x0;}[_0x463f('0x4')](_0x5c9afc){const _0x22982a=this[_0x463f('0x0')][_0x463f('0x3')](_0x5c9afc);if(!_0x22982a)throw new _0x5badd4(_0x463f('0x8'),this);const _0x58c18e=_0x22982a[_0x463f('0x9')]();this['editor'][_0x463f('0x1')]['canEditAt'](_0x58c18e)&&this[_0x463f('0x2')][_0x463f('0xa')][_0x463f('0x3')]('TrackChangesEditing')['discardSuggestion'](_0x22982a);}}
23
+ const _0x4cb4=['refresh','editor','_isEnabledBasedOnSelection','model','get','TrackChangesEditing','track-changes-discard-suggestion-not-found','getRanges','plugins','discardSuggestion','_suggestions','isEnabled','canEditAt','execute'];(function(_0x1afb25,_0x4cb4d0){const _0xa87deb=function(_0x16fcd4){while(--_0x16fcd4){_0x1afb25['push'](_0x1afb25['shift']());}};_0xa87deb(++_0x4cb4d0);}(_0x4cb4,0xd5));const _0xa87d=function(_0x1afb25,_0x4cb4d0){_0x1afb25=_0x1afb25-0x0;let _0xa87deb=_0x4cb4[_0x1afb25];return _0xa87deb;};import{Command as _0x2b960c}from'ckeditor5/src/core';import{CKEditorError as _0x173541}from'ckeditor5/src/utils';export default class x extends _0x2b960c{constructor(_0x31f8a2,_0x5feabe){super(_0x31f8a2),this['_suggestions']=_0x5feabe,this[_0xa87d('0xb')](),this[_0xa87d('0xd')]=!0x1;}[_0xa87d('0xb')](){this[_0xa87d('0x8')]=!0x0;}[_0xa87d('0xa')](_0x5e074b){const _0x6f66fa=this[_0xa87d('0x7')]['get'](_0x5e074b);if(!_0x6f66fa)throw new _0x173541(_0xa87d('0x3'),this);const _0x3debe4=_0x6f66fa[_0xa87d('0x4')]();this[_0xa87d('0xc')][_0xa87d('0x0')][_0xa87d('0x9')](_0x3debe4)&&this[_0xa87d('0xc')][_0xa87d('0x5')][_0xa87d('0x1')](_0xa87d('0x2'))[_0xa87d('0x6')](_0x6f66fa);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25b4=['model','isEnabled','editor','some','refresh','values','from','_suggestions','canEditAt','getRanges','_isEnabledBasedOnSelection','isInContent','execute'];(function(_0x3443d1,_0x25b405){const _0x575a30=function(_0xbfc511){while(--_0xbfc511){_0x3443d1['push'](_0x3443d1['shift']());}};_0x575a30(++_0x25b405);}(_0x25b4,0x13f));const _0x575a=function(_0x3443d1,_0x25b405){_0x3443d1=_0x3443d1-0x0;let _0x575a30=_0x25b4[_0x3443d1];return _0x575a30;};import{Command as _0x548822}from'ckeditor5/src/core';import{sortSuggestions as _0x1a722d,executeCommandForSuggestions as _0x5b9d7f}from'../utils/utils';export default class E extends _0x548822{constructor(_0x148570,_0x4cc3bd,_0x4a0e61){super(_0x148570),this['_command']=_0x4cc3bd,this[_0x575a('0x0')]=_0x4a0e61,this[_0x575a('0xa')](),this[_0x575a('0x3')]=!0x1;}['refresh'](){const _0x4c69d3=Array[_0x575a('0xc')](this[_0x575a('0x0')][_0x575a('0xb')]())[_0x575a('0x9')](_0x5f13b3=>_0x5f13b3[_0x575a('0x4')]);this[_0x575a('0x7')]=this['_command']['isEnabled']&&_0x4c69d3;}[_0x575a('0x5')](){const _0x188f37=_0x1a722d(Array['from'](this[_0x575a('0x0')][_0x575a('0xb')]()));for(const _0x2d796a of _0x188f37){const _0x1ce156=_0x2d796a[_0x575a('0x2')]();if(!this[_0x575a('0x8')][_0x575a('0x6')][_0x575a('0x1')](_0x1ce156))return;}_0x5b9d7f(this['editor']['model'],this['_command'],_0x188f37);}}
23
+ const _0x5476=['editor','_suggestions','refresh','from','some','execute','getRanges','_command','_isEnabledBasedOnSelection','isEnabled','values'];(function(_0x4ad5e2,_0x5476c7){const _0x40e7c9=function(_0x24d49c){while(--_0x24d49c){_0x4ad5e2['push'](_0x4ad5e2['shift']());}};_0x40e7c9(++_0x5476c7);}(_0x5476,0x19e));const _0x40e7=function(_0x4ad5e2,_0x5476c7){_0x4ad5e2=_0x4ad5e2-0x0;let _0x40e7c9=_0x5476[_0x4ad5e2];return _0x40e7c9;};import{Command as _0x23ea5}from'ckeditor5/src/core';import{sortSuggestions as _0x5e1da7,executeCommandForSuggestions as _0x33d38a}from'../utils/utils';export default class E extends _0x23ea5{constructor(_0x32bde8,_0x9a8461,_0x29f959){super(_0x32bde8),this[_0x40e7('0x0')]=_0x9a8461,this[_0x40e7('0x5')]=_0x29f959,this[_0x40e7('0x6')](),this[_0x40e7('0x1')]=!0x1;}[_0x40e7('0x6')](){const _0x34c33c=Array['from'](this[_0x40e7('0x5')][_0x40e7('0x3')]())[_0x40e7('0x8')](_0xb88d0a=>_0xb88d0a['isInContent']);this[_0x40e7('0x2')]=this[_0x40e7('0x0')][_0x40e7('0x2')]&&_0x34c33c;}[_0x40e7('0x9')](){const _0x5c051a=_0x5e1da7(Array[_0x40e7('0x7')](this[_0x40e7('0x5')][_0x40e7('0x3')]()));for(const _0x17613f of _0x5c051a){const _0x454356=_0x17613f[_0x40e7('0xa')]();if(!this[_0x40e7('0x4')]['model']['canEditAt'](_0x454356))return;}_0x33d38a(this[_0x40e7('0x4')]['model'],this[_0x40e7('0x0')],_0x5c051a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d19=['isEnabled','document','getRanges','refresh','_command','model','editor','_selectedSuggestions','canEditAt','execute','values','size','from','_suggestions','_isEnabledBasedOnSelection'];(function(_0x42ad9a,_0x1d1924){const _0x444ae3=function(_0xe0ad86){while(--_0xe0ad86){_0x42ad9a['push'](_0x42ad9a['shift']());}};_0x444ae3(++_0x1d1924);}(_0x1d19,0x17c));const _0x444a=function(_0x42ad9a,_0x1d1924){_0x42ad9a=_0x42ad9a-0x0;let _0x444ae3=_0x1d19[_0x42ad9a];return _0x444ae3;};import{Command as _0x58201d}from'ckeditor5/src/core';import{sortSuggestions as _0x26ba0c,getSelectedSuggestions as _0x2f1b45,executeCommandForSuggestions as _0x315eb4}from'../utils/utils';export default class R extends _0x58201d{constructor(_0x555e0b,_0xf505cc,_0x5aadb2){super(_0x555e0b),this['_command']=_0xf505cc,this[_0x444a('0x8')]=_0x5aadb2,this[_0x444a('0x2')]=new Set(),this[_0x444a('0xd')](),this[_0x444a('0x9')]=!0x1;}[_0x444a('0xd')](){const _0x10ed08=this['editor'][_0x444a('0x0')][_0x444a('0xb')]['selection'],_0x8df414=Array[_0x444a('0x7')](this[_0x444a('0x8')][_0x444a('0x5')]());this['_selectedSuggestions']=_0x2f1b45(_0x10ed08,_0x8df414),this[_0x444a('0xa')]=this[_0x444a('0xe')]['isEnabled']&&!!this[_0x444a('0x2')][_0x444a('0x6')];}[_0x444a('0x4')](){const _0x119c7e=_0x26ba0c(Array[_0x444a('0x7')](this[_0x444a('0x2')]));for(const _0x3bf5d9 of _0x119c7e){const _0x3f8bc5=_0x3bf5d9[_0x444a('0xc')]();if(!this[_0x444a('0x1')][_0x444a('0x0')][_0x444a('0x3')](_0x3f8bc5))return;}_0x315eb4(this[_0x444a('0x1')][_0x444a('0x0')],this[_0x444a('0xe')],_0x119c7e);}}
23
+ const _0x2427=['document','canEditAt','execute','_command','isEnabled','values','editor','selection','getRanges','from','refresh','model','_isEnabledBasedOnSelection','_suggestions','_selectedSuggestions'];(function(_0x35ed75,_0x2427d3){const _0x2ac7ce=function(_0x5aa522){while(--_0x5aa522){_0x35ed75['push'](_0x35ed75['shift']());}};_0x2ac7ce(++_0x2427d3);}(_0x2427,0x146));const _0x2ac7=function(_0x35ed75,_0x2427d3){_0x35ed75=_0x35ed75-0x0;let _0x2ac7ce=_0x2427[_0x35ed75];return _0x2ac7ce;};import{Command as _0x3f63f1}from'ckeditor5/src/core';import{sortSuggestions as _0x254cba,getSelectedSuggestions as _0xefe760,executeCommandForSuggestions as _0x29f48f}from'../utils/utils';export default class R extends _0x3f63f1{constructor(_0x595323,_0x5db26c,_0x40ddda){super(_0x595323),this[_0x2ac7('0x7')]=_0x5db26c,this[_0x2ac7('0x2')]=_0x40ddda,this[_0x2ac7('0x3')]=new Set(),this[_0x2ac7('0xe')](),this[_0x2ac7('0x1')]=!0x1;}['refresh'](){const _0x2beb4d=this[_0x2ac7('0xa')][_0x2ac7('0x0')][_0x2ac7('0x4')][_0x2ac7('0xb')],_0x2ac87d=Array['from'](this[_0x2ac7('0x2')][_0x2ac7('0x9')]());this[_0x2ac7('0x3')]=_0xefe760(_0x2beb4d,_0x2ac87d),this[_0x2ac7('0x8')]=this['_command']['isEnabled']&&!!this[_0x2ac7('0x3')]['size'];}[_0x2ac7('0x6')](){const _0x1c3c7e=_0x254cba(Array[_0x2ac7('0xd')](this[_0x2ac7('0x3')]));for(const _0x2d2595 of _0x1c3c7e){const _0x10d4b5=_0x2d2595[_0x2ac7('0xc')]();if(!this[_0x2ac7('0xa')]['model'][_0x2ac7('0x5')](_0x10d4b5))return;}_0x29f48f(this[_0x2ac7('0xa')][_0x2ac7('0x0')],this[_0x2ac7('0x7')],_0x1c3c7e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20c4=['forceDisabled','clearForceDisabled','_enabledCommands','affectsData','refresh','has','_isEnabledBasedOnSelection','execute','editor','_disableUnsupportedCommands','value','TrackChangesCommand','_enableCommands','commands'];(function(_0x41589c,_0x20c48a){const _0xa2f160=function(_0x2203aa){while(--_0x2203aa){_0x41589c['push'](_0x41589c['shift']());}};_0xa2f160(++_0x20c48a);}(_0x20c4,0x176));const _0xa2f1=function(_0x41589c,_0x20c48a){_0x41589c=_0x41589c-0x0;let _0xa2f160=_0x20c4[_0x41589c];return _0xa2f160;};import{Command as _0x1fc5b1}from'ckeditor5/src/core';export default class $ extends _0x1fc5b1{constructor(_0x4e1a6c,_0x261035){super(_0x4e1a6c),this['_enabledCommands']=_0x261035,this[_0xa2f1('0x0')]=!0x1,this[_0xa2f1('0x8')](),this[_0xa2f1('0xa')]=!0x1;}[_0xa2f1('0x8')](){this['isEnabled']=!0x0;}[_0xa2f1('0xb')](){this[_0xa2f1('0x0')]=!this[_0xa2f1('0x0')],this[_0xa2f1('0x0')]?this['_disableUnsupportedCommands']():this[_0xa2f1('0x2')]();}[_0xa2f1('0xd')](){for(const _0x1b3a34 of this[_0xa2f1('0xc')][_0xa2f1('0x3')][_0xa2f1('0x3')]())_0x1b3a34[_0xa2f1('0x7')]&&!this[_0xa2f1('0x6')][_0xa2f1('0x9')](_0x1b3a34)&&_0x1b3a34[_0xa2f1('0x4')]('TrackChangesCommand');}[_0xa2f1('0x2')](){for(const _0x18eb7b of this[_0xa2f1('0xc')][_0xa2f1('0x3')][_0xa2f1('0x3')]())_0x18eb7b[_0xa2f1('0x7')]&&!this[_0xa2f1('0x6')]['has'](_0x18eb7b)&&_0x18eb7b[_0xa2f1('0x5')](_0xa2f1('0x1'));}}
23
+ const _0xc34a=['commands','value','has','refresh','forceDisabled','_enabledCommands','_enableCommands','clearForceDisabled','_disableUnsupportedCommands','affectsData','editor'];(function(_0x5ee839,_0xc34a5a){const _0x4d82fb=function(_0x4aea39){while(--_0x4aea39){_0x5ee839['push'](_0x5ee839['shift']());}};_0x4d82fb(++_0xc34a5a);}(_0xc34a,0x1f3));const _0x4d82=function(_0x5ee839,_0xc34a5a){_0x5ee839=_0x5ee839-0x0;let _0x4d82fb=_0xc34a[_0x5ee839];return _0x4d82fb;};import{Command as _0x552e91}from'ckeditor5/src/core';export default class $ extends _0x552e91{constructor(_0x10a342,_0x29ba8c){super(_0x10a342),this[_0x4d82('0x1')]=_0x29ba8c,this[_0x4d82('0x8')]=!0x1,this[_0x4d82('0xa')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x4d82('0xa')](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this[_0x4d82('0x8')],this[_0x4d82('0x8')]?this[_0x4d82('0x4')]():this['_enableCommands']();}[_0x4d82('0x4')](){for(const _0x353eee of this[_0x4d82('0x6')][_0x4d82('0x7')][_0x4d82('0x7')]())_0x353eee['affectsData']&&!this[_0x4d82('0x1')][_0x4d82('0x9')](_0x353eee)&&_0x353eee[_0x4d82('0x0')]('TrackChangesCommand');}[_0x4d82('0x2')](){for(const _0x50d1a8 of this['editor']['commands'][_0x4d82('0x7')]())_0x50d1a8[_0x4d82('0x5')]&&!this[_0x4d82('0x1')][_0x4d82('0x9')](_0x50d1a8)&&_0x50d1a8[_0x4d82('0x3')]('TrackChangesCommand');}}
package/src/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- export { default as TrackChanges, type SuggestionData } from './trackchanges';
5
+ export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges';
6
6
  export { default as TrackChangesData } from './trackchangesdata';
7
7
  export { default as TrackChangesEditing } from './trackchangesediting';
8
8
  export type { SuggestionJSON } from './suggestion';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31a2=['enableCommand','editor','commands','get','TrackChangesEditing','showAIAssistant'];(function(_0x27e606,_0x31a277){const _0x35f62e=function(_0x40b639){while(--_0x40b639){_0x27e606['push'](_0x27e606['shift']());}};_0x35f62e(++_0x31a277);}(_0x31a2,0x10b));const _0x35f6=function(_0x27e606,_0x31a277){_0x27e606=_0x27e606-0x0;let _0x35f62e=_0x31a2[_0x27e606];return _0x35f62e;};import{Plugin as _0x3c56dc}from'ckeditor5/src/core';export default class j extends _0x3c56dc{['afterInit'](){const _0x36bfb4=this[_0x35f6('0x4')],_0x470f7b=_0x36bfb4['plugins'][_0x35f6('0x0')](_0x35f6('0x1'));_0x36bfb4[_0x35f6('0x5')][_0x35f6('0x0')](_0x35f6('0x2'))&&_0x470f7b[_0x35f6('0x3')]('showAIAssistant');}}
23
+ const _0x5d55=['showAIAssistant','plugins','afterInit','get','TrackChangesEditing','commands','enableCommand','editor'];(function(_0x1b21d1,_0x5d55fe){const _0x9833c8=function(_0x290930){while(--_0x290930){_0x1b21d1['push'](_0x1b21d1['shift']());}};_0x9833c8(++_0x5d55fe);}(_0x5d55,0xd6));const _0x9833=function(_0x1b21d1,_0x5d55fe){_0x1b21d1=_0x1b21d1-0x0;let _0x9833c8=_0x5d55[_0x1b21d1];return _0x9833c8;};import{Plugin as _0x256c5a}from'ckeditor5/src/core';export default class j extends _0x256c5a{[_0x9833('0x4')](){const _0x5bacf5=this[_0x9833('0x1')],_0x87e7ef=_0x5bacf5[_0x9833('0x3')][_0x9833('0x5')](_0x9833('0x6'));_0x5bacf5[_0x9833('0x7')][_0x9833('0x5')](_0x9833('0x2'))&&_0x87e7ef[_0x9833('0x0')](_0x9833('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4168=['format','AlignmentEditing','alignment','plugins','right','registerDescriptionCallback','FORMAT_ALIGNMENT','center','editor','TrackChangesEditing','_registerLegacyDescription','FORMAT_JUSTIFY_TEXT','has','*Format:*\x20%0','locale','type','commandName','commandParams','formatBlock','enableDefaultIntegration','registerAttributeLabel','FORMAT_ALIGN_TO_CENTER','get','FORMAT_ALIGN_TO_LEFT','FORMAT_ALIGN_TO_RIGHT','value'];(function(_0xdec912,_0x416898){const _0x36edf3=function(_0x20bfeb){while(--_0x20bfeb){_0xdec912['push'](_0xdec912['shift']());}};_0x36edf3(++_0x416898);}(_0x4168,0x9e));const _0x36ed=function(_0xdec912,_0x416898){_0xdec912=_0xdec912-0x0;let _0x36edf3=_0x4168[_0xdec912];return _0x36edf3;};import{Plugin as _0x5a0d93}from'ckeditor5/src/core';import{getTranslation as _0x4061da}from'../utils/common-translations';export default class U extends _0x5a0d93{['afterInit'](){const _0x421093=this[_0x36ed('0x6')],_0x1229ff=_0x421093[_0x36ed('0xc')];if(!_0x421093[_0x36ed('0x1')][_0x36ed('0xa')](_0x36ed('0x19')))return;const _0xf354ee=_0x421093[_0x36ed('0x1')]['get'](_0x36ed('0x7'));_0xf354ee[_0x36ed('0x11')](_0x36ed('0x0'),[],[_0x36ed('0x0')]),_0xf354ee['_descriptionFactory'][_0x36ed('0x12')](_0x36ed('0x0'),_0x4061da(_0x1229ff,_0x36ed('0x4'))),this[_0x36ed('0x8')]();}[_0x36ed('0x8')](){const _0xbc3214=this[_0x36ed('0x6')],_0x5d3f29=_0xbc3214[_0x36ed('0xc')];_0xbc3214[_0x36ed('0x1')][_0x36ed('0x14')](_0x36ed('0x7'))['_descriptionFactory'][_0x36ed('0x3')](_0x31b855=>{if(_0x36ed('0x10')!=_0x31b855[_0x36ed('0xd')])return;const {data:_0x35244f}=_0x31b855;if(_0x35244f&&'alignment'==_0x35244f[_0x36ed('0xe')]){const _0x2ed012=_0x35244f[_0x36ed('0xf')][0x0][_0x36ed('0x17')];return{'type':_0x36ed('0x18'),'content':_0x4061da(_0x5d3f29,_0x36ed('0xb'),function(_0x2a9d57){switch(_0x2a9d57){case'left':return _0x4061da(_0x5d3f29,_0x36ed('0x15'));case _0x36ed('0x2'):return _0x4061da(_0x5d3f29,_0x36ed('0x16'));case _0x36ed('0x5'):return _0x4061da(_0x5d3f29,_0x36ed('0x13'));case'justify':return _0x4061da(_0x5d3f29,_0x36ed('0x9'));}}(_0x2ed012))};}});}}
23
+ const _0x5750=['*Format:*\x20%0','FORMAT_JUSTIFY_TEXT','AlignmentEditing','FORMAT_ALIGN_TO_LEFT','center','editor','has','registerDescriptionCallback','TrackChangesEditing','_descriptionFactory','left','locale','format','get','type','commandParams','commandName','justify','plugins','registerAttributeLabel','alignment'];(function(_0x290724,_0x575057){const _0x240970=function(_0x109757){while(--_0x109757){_0x290724['push'](_0x290724['shift']());}};_0x240970(++_0x575057);}(_0x5750,0x110));const _0x2409=function(_0x290724,_0x575057){_0x290724=_0x290724-0x0;let _0x240970=_0x5750[_0x290724];return _0x240970;};import{Plugin as _0x1c5462}from'ckeditor5/src/core';import{getTranslation as _0x3bed9b}from'../utils/common-translations';export default class U extends _0x1c5462{['afterInit'](){const _0x38b9d7=this['editor'],_0x30f41b=_0x38b9d7[_0x2409('0xc')];if(!_0x38b9d7[_0x2409('0x13')][_0x2409('0x7')](_0x2409('0x3')))return;const _0x36e3ba=_0x38b9d7['plugins'][_0x2409('0xe')]('TrackChangesEditing');_0x36e3ba['_enableDefaultAttributesIntegration']('alignment',[],[_0x2409('0x0')]),_0x36e3ba[_0x2409('0xa')][_0x2409('0x14')](_0x2409('0x0'),_0x3bed9b(_0x30f41b,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3387bf=this[_0x2409('0x6')],_0x3c8ea1=_0x3387bf[_0x2409('0xc')];_0x3387bf[_0x2409('0x13')]['get'](_0x2409('0x9'))['_descriptionFactory'][_0x2409('0x8')](_0x4518f1=>{if('formatBlock'!=_0x4518f1[_0x2409('0xf')])return;const {data:_0x9eb13d}=_0x4518f1;if(_0x9eb13d&&'alignment'==_0x9eb13d[_0x2409('0x11')]){const _0x5f0a89=_0x9eb13d[_0x2409('0x10')][0x0]['value'];return{'type':_0x2409('0xd'),'content':_0x3bed9b(_0x3c8ea1,_0x2409('0x1'),function(_0x472764){switch(_0x472764){case _0x2409('0xb'):return _0x3bed9b(_0x3c8ea1,_0x2409('0x4'));case'right':return _0x3bed9b(_0x3c8ea1,'FORMAT_ALIGN_TO_RIGHT');case _0x2409('0x5'):return _0x3bed9b(_0x3c8ea1,'FORMAT_ALIGN_TO_CENTER');case _0x2409('0x12'):return _0x3bed9b(_0x3c8ea1,_0x2409('0x2'));}}(_0x5f0a89))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27e2=['subscript','_registerLegacyDescription','slice','get','italic','type','*Format:*\x20%0','TrackChangesEditing','FORMAT_CODE','CodeEditing','bold','plugins','BoldEditing','forceValue','_descriptionFactory','FORMAT_STRIKETHROUGH','*Remove\x20format:*\x20%0','locale','FORMAT_SUBSCRIPT','FORMAT_UNDERLINE','UnderlineEditing','code','SuperscriptEditing','commandParams','FORMAT_BOLD','FORMAT_SUPERSCRIPT','FORMAT_ITALIC','SubscriptEditing','registerAttributeLabel','superscript','editor','format','commandName','underline','toLowerCase','has','strikethrough','afterInit'];(function(_0x32ba46,_0x27e2a7){const _0x261b3e=function(_0x25f0ad){while(--_0x25f0ad){_0x32ba46['push'](_0x32ba46['shift']());}};_0x261b3e(++_0x27e2a7);}(_0x27e2,0x139));const _0x261b=function(_0x32ba46,_0x27e2a7){_0x32ba46=_0x32ba46-0x0;let _0x261b3e=_0x27e2[_0x32ba46];return _0x261b3e;};import{Plugin as _0x266680}from'ckeditor5/src/core';import{getTranslation as _0x440838}from'../utils/common-translations';const ti=[_0x261b('0x3'),'ItalicEditing',_0x261b('0xb'),_0x261b('0x0'),'StrikethroughEditing',_0x261b('0x12'),_0x261b('0xd')];export default class O extends _0x266680{[_0x261b('0x1c')](){const _0x1483ce=this[_0x261b('0x15')],_0x2b885f=_0x1483ce[_0x261b('0x2')][_0x261b('0x20')](_0x261b('0x24')),_0x1ebfb4=_0x1483ce[_0x261b('0x8')];for(const _0x5cf13c of ti){if(!_0x1483ce[_0x261b('0x2')][_0x261b('0x1a')](_0x5cf13c))continue;const _0x2cc635=_0x5cf13c[_0x261b('0x1f')](0x0,-0x7)[_0x261b('0x19')]();_0x2b885f['enableDefaultIntegration'](_0x2cc635,[_0x2cc635]);}_0x2b885f[_0x261b('0x5')][_0x261b('0x13')](_0x261b('0x1'),_0x440838(_0x1ebfb4,_0x261b('0xf'))),_0x2b885f[_0x261b('0x5')][_0x261b('0x13')](_0x261b('0x21'),_0x440838(_0x1ebfb4,_0x261b('0x11'))),_0x2b885f[_0x261b('0x5')][_0x261b('0x13')](_0x261b('0x18'),_0x440838(_0x1ebfb4,_0x261b('0xa'))),_0x2b885f[_0x261b('0x5')][_0x261b('0x13')]('code',_0x440838(_0x1ebfb4,'FORMAT_CODE')),_0x2b885f['_descriptionFactory'][_0x261b('0x13')](_0x261b('0x1b'),_0x440838(_0x1ebfb4,'FORMAT_STRIKETHROUGH')),_0x2b885f[_0x261b('0x5')][_0x261b('0x13')](_0x261b('0x1d'),_0x440838(_0x1ebfb4,_0x261b('0x9'))),_0x2b885f[_0x261b('0x5')]['registerAttributeLabel'](_0x261b('0x14'),_0x440838(_0x1ebfb4,_0x261b('0x10'))),this[_0x261b('0x1e')]();}[_0x261b('0x1e')](){const _0x1f8c6b=this['editor'],_0x303f0e=_0x1f8c6b[_0x261b('0x8')],_0x593458=_0x1f8c6b[_0x261b('0x2')][_0x261b('0x20')]('TrackChangesEditing');function _0x2e0113(_0x550a97,_0x4fc6f3){_0x593458[_0x261b('0x5')]['registerDescriptionCallback'](_0x3a4aad=>{if('formatInline'!=_0x3a4aad[_0x261b('0x22')])return;const {data:_0x1ed1fd}=_0x3a4aad;return _0x1ed1fd&&_0x1ed1fd[_0x261b('0x17')]===_0x550a97?_0x1ed1fd[_0x261b('0xe')][0x0][_0x261b('0x4')]?{'type':_0x261b('0x16'),'content':_0x440838(_0x303f0e,_0x261b('0x23'),_0x4fc6f3)}:{'type':_0x261b('0x16'),'content':_0x440838(_0x303f0e,_0x261b('0x7'),_0x4fc6f3)}:void 0x0;});}_0x2e0113(_0x261b('0x1'),_0x440838(_0x303f0e,_0x261b('0xf'))),_0x2e0113(_0x261b('0x21'),_0x440838(_0x303f0e,'FORMAT_ITALIC')),_0x2e0113(_0x261b('0x18'),_0x440838(_0x303f0e,_0x261b('0xa'))),_0x2e0113(_0x261b('0xc'),_0x440838(_0x303f0e,_0x261b('0x25'))),_0x2e0113(_0x261b('0x1b'),_0x440838(_0x303f0e,_0x261b('0x6'))),_0x2e0113(_0x261b('0x1d'),_0x440838(_0x303f0e,_0x261b('0x9'))),_0x2e0113(_0x261b('0x14'),_0x440838(_0x303f0e,_0x261b('0x10')));}}
23
+ const _0x246f=['StrikethroughEditing','has','SubscriptEditing','ItalicEditing','underline','afterInit','SuperscriptEditing','FORMAT_UNDERLINE','toLowerCase','commandName','forceValue','slice','BoldEditing','formatInline','get','toUpperCase','*Remove\x20format:*\x20%0','FORMAT_CODE','editor','type','superscript','bold','strikethrough','*Format:*\x20%0','_enableDefaultAttributesIntegration','format','code','subscript','FORMAT_SUPERSCRIPT','_descriptionFactory','TrackChangesEditing','locale','plugins','FORMAT_SUBSCRIPT','_registerLegacyDescription','commandParams','UnderlineEditing','italic','FORMAT_'];(function(_0x28fb77,_0x246fe5){const _0x2dbcd1=function(_0x47ec6d){while(--_0x47ec6d){_0x28fb77['push'](_0x28fb77['shift']());}};_0x2dbcd1(++_0x246fe5);}(_0x246f,0x110));const _0x2dbc=function(_0x28fb77,_0x246fe5){_0x28fb77=_0x28fb77-0x0;let _0x2dbcd1=_0x246f[_0x28fb77];return _0x2dbcd1;};import{Plugin as _0x45e8f3}from'ckeditor5/src/core';import{getTranslation as _0x324d59}from'../utils/common-translations';const ti=[_0x2dbc('0xd'),_0x2dbc('0x4'),_0x2dbc('0x25'),'CodeEditing',_0x2dbc('0x1'),_0x2dbc('0x3'),_0x2dbc('0x7')];export default class O extends _0x45e8f3{[_0x2dbc('0x6')](){const _0x4fe25e=this[_0x2dbc('0x13')],_0x141400=_0x4fe25e[_0x2dbc('0x21')][_0x2dbc('0xf')]('TrackChangesEditing'),_0x4d63a9=_0x4fe25e[_0x2dbc('0x20')];for(const _0x118462 of ti){if(!_0x4fe25e[_0x2dbc('0x21')][_0x2dbc('0x2')](_0x118462))continue;const _0x49053d=_0x118462[_0x2dbc('0xc')](0x0,-0x7)[_0x2dbc('0x9')](),_0x14a603=_0x2dbc('0x0')+_0x49053d[_0x2dbc('0x10')]();_0x141400[_0x2dbc('0x19')](_0x49053d,[_0x49053d]),_0x141400['_descriptionFactory']['registerAttributeLabel'](_0x49053d,_0x324d59(_0x4d63a9,_0x14a603));}this[_0x2dbc('0x23')]();}['_registerLegacyDescription'](){const _0x5422b2=this['editor'],_0x43d57a=_0x5422b2['locale'],_0x1045f8=_0x5422b2['plugins'][_0x2dbc('0xf')](_0x2dbc('0x1f'));function _0x3178a1(_0x3067d5,_0x580d63){_0x1045f8[_0x2dbc('0x1e')]['registerDescriptionCallback'](_0x2fd76e=>{if(_0x2dbc('0xe')!=_0x2fd76e[_0x2dbc('0x14')])return;const {data:_0x58180a}=_0x2fd76e;return _0x58180a&&_0x58180a[_0x2dbc('0xa')]===_0x3067d5?_0x58180a[_0x2dbc('0x24')][0x0][_0x2dbc('0xb')]?{'type':_0x2dbc('0x1a'),'content':_0x324d59(_0x43d57a,_0x2dbc('0x18'),_0x580d63)}:{'type':_0x2dbc('0x1a'),'content':_0x324d59(_0x43d57a,_0x2dbc('0x11'),_0x580d63)}:void 0x0;});}_0x3178a1(_0x2dbc('0x16'),_0x324d59(_0x43d57a,'FORMAT_BOLD')),_0x3178a1(_0x2dbc('0x26'),_0x324d59(_0x43d57a,'FORMAT_ITALIC')),_0x3178a1(_0x2dbc('0x5'),_0x324d59(_0x43d57a,_0x2dbc('0x8'))),_0x3178a1(_0x2dbc('0x1b'),_0x324d59(_0x43d57a,_0x2dbc('0x12'))),_0x3178a1(_0x2dbc('0x17'),_0x324d59(_0x43d57a,'FORMAT_STRIKETHROUGH')),_0x3178a1(_0x2dbc('0x1c'),_0x324d59(_0x43d57a,_0x2dbc('0x22'))),_0x3178a1(_0x2dbc('0x15'),_0x324d59(_0x43d57a,_0x2dbc('0x1d')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc8e4=['markBlockFormat','ELEMENT_BLOCK_QUOTE','plugins','$root','enableCommand','change','parent','afterInit','from','filter','editor','registerDescriptionCallback','schema','forceValue','document','_descriptionFactory','locale','BlockQuoteEditing','TrackChangesEditing','has','*Remove\x20format:*\x20%0','model','name','get','commands','*Set\x20format:*\x20%0','getSelectedBlocks','blockQuote','checkChild','format','commandParams'];(function(_0x204792,_0xc8e421){const _0x57372d=function(_0x110502){while(--_0x110502){_0x204792['push'](_0x204792['shift']());}};_0x57372d(++_0xc8e421);}(_0xc8e4,0xeb));const _0x5737=function(_0x204792,_0xc8e421){_0x204792=_0x204792-0x0;let _0x57372d=_0xc8e4[_0x204792];return _0x57372d;};import{Plugin as _0x51d2b9}from'ckeditor5/src/core';import{getTranslation as _0x34466f}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1e5644}from'../utils/utils';export default class V extends _0x51d2b9{[_0x5737('0x14')](){const _0x3a6398=this[_0x5737('0x17')],_0x11757e=_0x3a6398[_0x5737('0x1d')];if(!_0x3a6398[_0x5737('0xf')][_0x5737('0x1')](_0x5737('0x1e')))return;const _0x29122f=_0x3a6398['plugins'][_0x5737('0x5')](_0x5737('0x0')),_0x559230=this[_0x5737('0x17')][_0x5737('0x6')][_0x5737('0x5')](_0x5737('0x9'));_0x29122f[_0x5737('0x11')](_0x5737('0x9'),(_0x4fe671,_0x2520df={})=>{const _0x42cee5=this[_0x5737('0x17')][_0x5737('0x3')][_0x5737('0x1b')]['selection'],_0x3f078c=_0x2520df&&void 0x0!==_0x2520df[_0x5737('0x1a')]?_0x2520df[_0x5737('0x1a')]:!_0x559230['value'];let _0x2012de=[];if(_0x3f078c){const _0x246299=Array['from'](_0x42cee5[_0x5737('0x8')]())['filter'](_0x394dbe=>oo(_0x394dbe)||function(_0x15c3ab,_0x3d7da2){const _0x407750=_0x3d7da2[_0x5737('0xa')](_0x15c3ab['parent'],_0x5737('0x9')),_0x46d34a=_0x3d7da2[_0x5737('0xa')]([_0x5737('0x10'),'blockQuote'],_0x15c3ab);return _0x407750&&_0x46d34a;}(_0x394dbe,this[_0x5737('0x17')][_0x5737('0x3')][_0x5737('0x19')]));_0x2012de=_0x1e5644(_0x246299,_0x3a6398[_0x5737('0x3')]);}else{const _0x1bdd09=Array[_0x5737('0x15')](_0x42cee5[_0x5737('0x8')]())[_0x5737('0x16')](_0x145f85=>oo(_0x145f85));_0x2012de=_0x1e5644(_0x1bdd09,_0x3a6398[_0x5737('0x3')]);}_0x3a6398[_0x5737('0x3')][_0x5737('0x12')](()=>{for(const _0x46a8cc of _0x2012de)_0x29122f[_0x5737('0xd')](_0x46a8cc,{'commandName':_0x5737('0x9'),'commandParams':[{'forceValue':_0x3f078c}]});});}),_0x29122f[_0x5737('0x1c')][_0x5737('0x18')](_0x1eca9=>{const {data:_0x2b0983}=_0x1eca9;if(_0x2b0983&&_0x5737('0x9')==_0x2b0983['commandName']){const _0x329f6b=_0x34466f(_0x11757e,_0x5737('0xe'));return _0x2b0983[_0x5737('0xc')][0x0]['forceValue']?{'type':_0x5737('0xb'),'content':_0x34466f(_0x11757e,_0x5737('0x7'),_0x329f6b)}:{'type':'format','content':_0x34466f(_0x11757e,_0x5737('0x2'),_0x329f6b)};}});}}function oo(_0x1c6a27){return _0x5737('0x9')==_0x1c6a27[_0x5737('0x13')][_0x5737('0x4')];}
23
+ const _0x3b28=['commandName','document','forceValue','blockQuote','afterInit','enableCommand','editor','*Remove\x20format:*\x20%0','change','getSelectedBlocks','checkChild','markBlockFormat','name','from','format','plugins','registerDescriptionCallback','ELEMENT_BLOCK_QUOTE','filter','schema','locale','commands','get','commandParams','parent','_descriptionFactory','model','$root'];(function(_0x13d1a9,_0x3b2811){const _0x5eae9e=function(_0x28cbc6){while(--_0x28cbc6){_0x13d1a9['push'](_0x13d1a9['shift']());}};_0x5eae9e(++_0x3b2811);}(_0x3b28,0xb7));const _0x5eae=function(_0x13d1a9,_0x3b2811){_0x13d1a9=_0x13d1a9-0x0;let _0x5eae9e=_0x3b28[_0x13d1a9];return _0x5eae9e;};import{Plugin as _0x38265b}from'ckeditor5/src/core';import{getTranslation as _0x5f367b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x19fad8}from'../utils/utils';export default class V extends _0x38265b{[_0x5eae('0x11')](){const _0x54ff9b=this[_0x5eae('0x13')],_0x1db4bf=_0x54ff9b[_0x5eae('0x5')];if(!_0x54ff9b[_0x5eae('0x0')]['has']('BlockQuoteEditing'))return;const _0xce2d4a=_0x54ff9b['plugins']['get']('TrackChangesEditing'),_0x1c0039=this[_0x5eae('0x13')][_0x5eae('0x6')][_0x5eae('0x7')](_0x5eae('0x10'));_0xce2d4a[_0x5eae('0x12')](_0x5eae('0x10'),(_0x48f99c,_0x21ed57={})=>{const _0x3c621f=this['editor'][_0x5eae('0xb')][_0x5eae('0xe')]['selection'],_0x53e138=_0x21ed57&&void 0x0!==_0x21ed57[_0x5eae('0xf')]?_0x21ed57[_0x5eae('0xf')]:!_0x1c0039['value'];let _0x502268=[];if(_0x53e138){const _0x31dbeb=Array[_0x5eae('0x1a')](_0x3c621f['getSelectedBlocks']())[_0x5eae('0x3')](_0x5010cb=>oo(_0x5010cb)||function(_0x26d830,_0x131c78){const _0x3212ce=_0x131c78['checkChild'](_0x26d830[_0x5eae('0x9')],_0x5eae('0x10')),_0x38932c=_0x131c78[_0x5eae('0x17')]([_0x5eae('0xc'),'blockQuote'],_0x26d830);return _0x3212ce&&_0x38932c;}(_0x5010cb,this[_0x5eae('0x13')][_0x5eae('0xb')][_0x5eae('0x4')]));_0x502268=_0x19fad8(_0x31dbeb,_0x54ff9b[_0x5eae('0xb')]);}else{const _0x4617e9=Array[_0x5eae('0x1a')](_0x3c621f[_0x5eae('0x16')]())['filter'](_0x3c0577=>oo(_0x3c0577));_0x502268=_0x19fad8(_0x4617e9,_0x54ff9b[_0x5eae('0xb')]);}_0x54ff9b[_0x5eae('0xb')][_0x5eae('0x15')](()=>{for(const _0x41dbc4 of _0x502268)_0xce2d4a[_0x5eae('0x18')](_0x41dbc4,{'commandName':_0x5eae('0x10'),'commandParams':[{'forceValue':_0x53e138}]});});}),_0xce2d4a[_0x5eae('0xa')][_0x5eae('0x1')](_0x5e4d2d=>{const {data:_0x4001e1}=_0x5e4d2d;if(_0x4001e1&&_0x5eae('0x10')==_0x4001e1[_0x5eae('0xd')]){const _0x11c83a=_0x5f367b(_0x1db4bf,_0x5eae('0x2'));return _0x4001e1[_0x5eae('0x8')][0x0]['forceValue']?{'type':_0x5eae('0x1b'),'content':_0x5f367b(_0x1db4bf,'*Set\x20format:*\x20%0',_0x11c83a)}:{'type':'format','content':_0x5f367b(_0x1db4bf,_0x5eae('0x14'),_0x11c83a)};}});}}function oo(_0x60a8ed){return'blockQuote'==_0x60a8ed[_0x5eae('0x9')][_0x5eae('0x19')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3eaf=['ckbox','enableCommand','afterInit','TrackChangesEditing'];(function(_0x1c1f28,_0x3eaf4a){const _0x28bc3a=function(_0x10e61c){while(--_0x10e61c){_0x1c1f28['push'](_0x1c1f28['shift']());}};_0x28bc3a(++_0x3eaf4a);}(_0x3eaf,0xda));const _0x28bc=function(_0x1c1f28,_0x3eaf4a){_0x1c1f28=_0x1c1f28-0x0;let _0x28bc3a=_0x3eaf[_0x1c1f28];return _0x28bc3a;};import{Plugin as _0x2fb3ed}from'ckeditor5/src/core';export default class F extends _0x2fb3ed{[_0x28bc('0x0')](){const _0x35a469=this['editor'];_0x35a469['commands']['get'](_0x28bc('0x2'))&&_0x35a469['plugins']['get'](_0x28bc('0x1'))[_0x28bc('0x3')](_0x28bc('0x2'));}}
23
+ const _0x5e96=['commands','afterInit','editor','enableCommand','get','ckbox','plugins'];(function(_0x107ac4,_0x5e962b){const _0x428ad6=function(_0x4b289f){while(--_0x4b289f){_0x107ac4['push'](_0x107ac4['shift']());}};_0x428ad6(++_0x5e962b);}(_0x5e96,0xa9));const _0x428a=function(_0x107ac4,_0x5e962b){_0x107ac4=_0x107ac4-0x0;let _0x428ad6=_0x5e96[_0x107ac4];return _0x428ad6;};import{Plugin as _0x4f4922}from'ckeditor5/src/core';export default class F extends _0x4f4922{[_0x428a('0x0')](){const _0x5d5ceb=this[_0x428a('0x1')];_0x5d5ceb[_0x428a('0x6')][_0x428a('0x3')]('ckbox')&&_0x5d5ceb[_0x428a('0x5')][_0x428a('0x3')]('TrackChangesEditing')[_0x428a('0x2')](_0x428a('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe572=['has','format','commands','commandParams','document','language','from','find','CodeBlock','blockName','type','formatBlock','*Set\x20format:*\x20%0','enableCommand','commandName','model','name','getSelectedBlocks','codeBlock','plugins','change','filter','forceValue','languages','rootElement','registerElementLabel','_descriptionFactory','*Remove\x20format:*\x20%0','locale','indentCodeBlock','ELEMENT_CODE_BLOCK','registerDescriptionCallback','get','label','config'];(function(_0x3f0bb5,_0xe572ca){const _0x1cc1d6=function(_0x58836a){while(--_0x58836a){_0x3f0bb5['push'](_0x3f0bb5['shift']());}};_0x1cc1d6(++_0xe572ca);}(_0xe572,0x16d));const _0x1cc1=function(_0x3f0bb5,_0xe572ca){_0x3f0bb5=_0x3f0bb5-0x0;let _0x1cc1d6=_0xe572[_0x3f0bb5];return _0x1cc1d6;};import{Plugin as _0x304074}from'ckeditor5/src/core';import{getTranslation as _0x45e955}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2a0523}from'../utils/utils';export default class G extends _0x304074{['afterInit'](){const _0x27f81f=this['editor'];if(!_0x27f81f[_0x1cc1('0x4')][_0x1cc1('0x14')](_0x1cc1('0x1c')))return;const _0x2a08c1=_0x27f81f[_0x1cc1('0x4')]['get']('TrackChangesEditing'),_0x953df8=_0x27f81f[_0x1cc1('0xd')],_0x271cf1=_0x27f81f[_0x1cc1('0x13')][_0x1cc1('0x11')](_0x1cc1('0x3'))[_0x1cc1('0x8')],_0x322a41=_0x27f81f[_0x1cc1('0x16')][_0x1cc1('0x11')](_0x1cc1('0x3'));_0x2a08c1[_0x1cc1('0x21')](_0x1cc1('0xe')),_0x2a08c1[_0x1cc1('0x21')]('outdentCodeBlock'),_0x2a08c1['enableCommand'](_0x1cc1('0x3'),(_0x32bc0f,_0x2344c1={})=>{const _0x2bc8d4=_0x27f81f[_0x1cc1('0x0')],_0x2aa663=_0x27f81f[_0x1cc1('0x0')][_0x1cc1('0x18')]['selection'],_0xb34944=_0x2344c1&&void 0x0!==_0x2344c1[_0x1cc1('0x7')]?_0x2344c1['forceValue']:!_0x322a41['value'];let _0x980dc2;_0x2344c1[_0x1cc1('0x19')]||(_0x2344c1[_0x1cc1('0x19')]=_0x271cf1[0x0]['language']),_0x980dc2=_0xb34944?Array[_0x1cc1('0x1a')](_0x2aa663[_0x1cc1('0x2')]())[_0x1cc1('0x6')](_0x37f55a=>eo(_0x37f55a)||function(_0x4c57c3,_0x2ad281){if(_0x4c57c3['is'](_0x1cc1('0x9'))||_0x2ad281['isLimit'](_0x4c57c3))return!0x1;return _0x2ad281['checkChild'](_0x4c57c3['parent'],_0x1cc1('0x3'));}(_0x37f55a,_0x2bc8d4['schema'])):Array[_0x1cc1('0x1a')](_0x2aa663[_0x1cc1('0x2')]())[_0x1cc1('0x6')](_0x138c5e=>eo(_0x138c5e));const _0x27afb1=_0x2a0523(_0x980dc2,_0x2bc8d4);_0x2bc8d4[_0x1cc1('0x5')](()=>{for(const _0xd0518e of _0x27afb1)_0x2a08c1['markBlockFormat'](_0xd0518e,{'commandName':_0x1cc1('0x3'),'commandParams':[{..._0x2344c1,'forceValue':_0xb34944}],'formatGroupId':_0x1cc1('0x1d')});});}),(_0x2a08c1[_0x1cc1('0xb')][_0x1cc1('0xa')]('codeBlock',_0x4accaf=>_0x45e955(_0x953df8,_0x1cc1('0xf'),_0x4accaf)),_0x2a08c1['_descriptionFactory'][_0x1cc1('0x10')](_0x4cc346=>{if(_0x1cc1('0x1f')!=_0x4cc346[_0x1cc1('0x1e')])return;const _0x29310a=_0x953df8['t'],{data:_0x154058}=_0x4cc346;if(!_0x154058||_0x1cc1('0x3')!=_0x154058[_0x1cc1('0x22')])return;const _0x5c6e6d=_0x154058[_0x1cc1('0x17')][0x0]['language'],_0x2d90de=_0x29310a(_0x271cf1[_0x1cc1('0x1b')](_0x5355ae=>_0x5355ae[_0x1cc1('0x19')]===_0x5c6e6d)[_0x1cc1('0x12')])['toLowerCase']();return _0x154058[_0x1cc1('0x17')][0x0][_0x1cc1('0x7')]?{'type':_0x1cc1('0x15'),'content':_0x45e955(_0x953df8,_0x1cc1('0x20'),_0x45e955(_0x953df8,_0x1cc1('0xf'),0x1)+'\x20('+_0x2d90de+')')}:{'type':_0x1cc1('0x15'),'content':_0x45e955(_0x953df8,_0x1cc1('0xc'),_0x45e955(_0x953df8,_0x1cc1('0xf'),0x1))};}));}}function eo(_0x2844bd){return _0x1cc1('0x3')==_0x2844bd[_0x1cc1('0x1')];}
23
+ const _0x29ed=['model','language','filter','editor','markBlockFormat','change','indentCodeBlock','forceValue','document','toLowerCase','commands','codeBlock','enableCommand','rootElement','type','plugins','name','formatBlock','get','format','has','selection','checkChild','CodeBlock','from','locale','registerElementLabel','parent','commandParams','languages','*Remove\x20format:*\x20%0','isLimit','_descriptionFactory','getSelectedBlocks','config','find','*Set\x20format:*\x20%0','ELEMENT_CODE_BLOCK'];(function(_0x4004df,_0x29ed43){const _0x343667=function(_0x2dd6ec){while(--_0x2dd6ec){_0x4004df['push'](_0x4004df['shift']());}};_0x343667(++_0x29ed43);}(_0x29ed,0x171));const _0x3436=function(_0x4004df,_0x29ed43){_0x4004df=_0x4004df-0x0;let _0x343667=_0x29ed[_0x4004df];return _0x343667;};import{Plugin as _0x5a2618}from'ckeditor5/src/core';import{getTranslation as _0x445106}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x864eb3}from'../utils/utils';export default class G extends _0x5a2618{['afterInit'](){const _0x219f59=this[_0x3436('0xe')];if(!_0x219f59[_0x3436('0x1a')][_0x3436('0x1f')](_0x3436('0x22')))return;const _0x2df870=_0x219f59[_0x3436('0x1a')][_0x3436('0x1d')]('TrackChangesEditing'),_0x41d9b2=_0x219f59[_0x3436('0x24')],_0x481acf=_0x219f59[_0x3436('0x7')][_0x3436('0x1d')](_0x3436('0x16'))[_0x3436('0x2')],_0x138ae4=_0x219f59[_0x3436('0x15')][_0x3436('0x1d')]('codeBlock');_0x2df870['enableCommand'](_0x3436('0x11')),_0x2df870['enableCommand']('outdentCodeBlock'),_0x2df870[_0x3436('0x17')]('codeBlock',(_0x300724,_0x441ebb={})=>{const _0x185458=_0x219f59[_0x3436('0xb')],_0x48e608=_0x219f59['model'][_0x3436('0x13')][_0x3436('0x20')],_0x453b07=_0x441ebb&&void 0x0!==_0x441ebb['forceValue']?_0x441ebb[_0x3436('0x12')]:!_0x138ae4['value'];let _0x171761;_0x441ebb[_0x3436('0xc')]||(_0x441ebb['language']=_0x481acf[0x0][_0x3436('0xc')]),_0x171761=_0x453b07?Array[_0x3436('0x23')](_0x48e608[_0x3436('0x6')]())['filter'](_0x247259=>eo(_0x247259)||function(_0x24a01b,_0x124dd2){if(_0x24a01b['is'](_0x3436('0x18'))||_0x124dd2[_0x3436('0x4')](_0x24a01b))return!0x1;return _0x124dd2[_0x3436('0x21')](_0x24a01b[_0x3436('0x0')],_0x3436('0x16'));}(_0x247259,_0x185458['schema'])):Array[_0x3436('0x23')](_0x48e608['getSelectedBlocks']())[_0x3436('0xd')](_0x5c3f4e=>eo(_0x5c3f4e));const _0x1b43dd=_0x864eb3(_0x171761,_0x185458);_0x185458[_0x3436('0x10')](()=>{for(const _0x50f575 of _0x1b43dd)_0x2df870[_0x3436('0xf')](_0x50f575,{'commandName':_0x3436('0x16'),'commandParams':[{..._0x441ebb,'forceValue':_0x453b07}],'formatGroupId':'blockName'});});}),(_0x2df870[_0x3436('0x5')][_0x3436('0x25')](_0x3436('0x16'),_0x2a9be5=>_0x445106(_0x41d9b2,_0x3436('0xa'),_0x2a9be5)),_0x2df870['_descriptionFactory']['registerDescriptionCallback'](_0x33e3c2=>{if(_0x3436('0x1c')!=_0x33e3c2[_0x3436('0x19')])return;const _0x1823c3=_0x41d9b2['t'],{data:_0x2c62c2}=_0x33e3c2;if(!_0x2c62c2||_0x3436('0x16')!=_0x2c62c2['commandName'])return;const _0xc1ac4b=_0x2c62c2[_0x3436('0x1')][0x0]['language'],_0x5dac6c=_0x1823c3(_0x481acf[_0x3436('0x8')](_0xa0a9ce=>_0xa0a9ce[_0x3436('0xc')]===_0xc1ac4b)['label'])[_0x3436('0x14')]();return _0x2c62c2['commandParams'][0x0][_0x3436('0x12')]?{'type':'format','content':_0x445106(_0x41d9b2,_0x3436('0x9'),_0x445106(_0x41d9b2,_0x3436('0xa'),0x1)+'\x20('+_0x5dac6c+')')}:{'type':_0x3436('0x1e'),'content':_0x445106(_0x41d9b2,_0x3436('0x3'),_0x445106(_0x41d9b2,_0x3436('0xa'),0x1))};}));}}function eo(_0x3b323e){return'codeBlock'==_0x3b323e[_0x3436('0x1b')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x398e=['CommentsEditing','TrackChangesEditing','addCommentThread','editor','plugins','has','get'];(function(_0x3fda00,_0x398eaf){const _0x6f4e7b=function(_0x34eaf7){while(--_0x34eaf7){_0x3fda00['push'](_0x3fda00['shift']());}};_0x6f4e7b(++_0x398eaf);}(_0x398e,0x170));const _0x6f4e=function(_0x3fda00,_0x398eaf){_0x3fda00=_0x3fda00-0x0;let _0x6f4e7b=_0x398e[_0x3fda00];return _0x6f4e7b;};import{Plugin as _0x4f290a}from'ckeditor5/src/core';export default class L extends _0x4f290a{['afterInit'](){const _0x30bc84=this[_0x6f4e('0x6')];if(!_0x30bc84[_0x6f4e('0x0')][_0x6f4e('0x1')](_0x6f4e('0x3')))return;_0x30bc84[_0x6f4e('0x0')][_0x6f4e('0x2')](_0x6f4e('0x4'))['enableCommand'](_0x6f4e('0x5'));}}
23
+ const _0x2055=['afterInit','plugins','get','has','TrackChangesEditing','CommentsEditing'];(function(_0x342d8b,_0x2055c0){const _0x3c8d03=function(_0x4a0d1f){while(--_0x4a0d1f){_0x342d8b['push'](_0x342d8b['shift']());}};_0x3c8d03(++_0x2055c0);}(_0x2055,0x13f));const _0x3c8d=function(_0x342d8b,_0x2055c0){_0x342d8b=_0x342d8b-0x0;let _0x3c8d03=_0x2055[_0x342d8b];return _0x3c8d03;};import{Plugin as _0x410e3f}from'ckeditor5/src/core';export default class L extends _0x410e3f{[_0x3c8d('0x5')](){const _0x239085=this['editor'];if(!_0x239085[_0x3c8d('0x0')][_0x3c8d('0x2')](_0x3c8d('0x4')))return;_0x239085['plugins'][_0x3c8d('0x1')](_0x3c8d('0x3'))['enableCommand']('addCommentThread');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36cf=['delete','uiElement','getFirstRange','isCollapsed','lock','merge','rootName','createRange','get','buffer','options','addMarker:suggestion:deletion','markerName','modifySelection','end','forward','enableCommand','$graveyard','createSelection','deleteForward','plugins','editor','showSuggestionHighlights','init','batch','start','root','unlock','detach','model','commands','setSelection','high','data','markerNameToElements','downcastDispatcher','writer','requires','unbindElementFromMarkerName','mapper','enqueueChange'];(function(_0x75ff15,_0x36cff1){const _0x30842c=function(_0x11df32){while(--_0x11df32){_0x75ff15['push'](_0x75ff15['shift']());}};_0x30842c(++_0x36cff1);}(_0x36cf,0x82));const _0x3084=function(_0x75ff15,_0x36cff1){_0x75ff15=_0x75ff15-0x0;let _0x30842c=_0x36cf[_0x75ff15];return _0x30842c;};import{Plugin as _0x52326f}from'ckeditor5/src/core';import{LiveRange as _0xf7a464}from'ckeditor5/src/engine';import{Delete as _0x59c8f7}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2b9c22}from'./utils';export default class H extends _0x52326f{static get[_0x3084('0x1e')](){return[_0x59c8f7];}[_0x3084('0x10')](){const _0x2516da=this[_0x3084('0xe')],_0x5dca7b=_0x2516da[_0x3084('0xd')][_0x3084('0x1')]('TrackChangesEditing');_0x5dca7b[_0x3084('0x9')](_0x3084('0x22'));const _0x50666d=_0x2516da[_0x3084('0x17')][_0x3084('0x1')]('deleteForward');_0x5dca7b[_0x3084('0x9')](_0x3084('0xc'),(_0x3f3136,_0x551547={})=>{const _0x5e2cec=_0x2516da[_0x3084('0x16')][_0x3084('0xb')](_0x2516da[_0x3084('0x16')]['document']['selection']);_0x5e2cec[_0x3084('0x25')]&&_0x2516da[_0x3084('0x16')][_0x3084('0x6')](_0x5e2cec,{'direction':_0x3084('0x8'),'unit':_0x551547['unit']});const _0xf35772=_0x5e2cec[_0x3084('0x24')](),_0x5c9719=_0xf7a464['fromRange'](_0xf35772);let _0x37f936;_0x3f3136(_0x551547),_0x37f936=_0x3084('0xa')==_0x5c9719[_0x3084('0x13')][_0x3084('0x28')]?_0x2516da[_0x3084('0x16')]['createRange'](_0xf35772[_0x3084('0x12')]):_0x2516da[_0x3084('0x16')]['createRange'](_0x5c9719['start'],_0x5c9719[_0x3084('0x7')]),_0x5c9719[_0x3084('0x15')](),_0x2516da[_0x3084('0x16')][_0x3084('0x21')](_0x50666d[_0x3084('0x2')][_0x3084('0x11')],_0x3742de=>{_0x50666d['buffer'][_0x3084('0x26')](),_0x3742de[_0x3084('0x18')](_0x3742de[_0x3084('0x0')](_0x37f936[_0x3084('0x7')])),_0x50666d[_0x3084('0x2')][_0x3084('0x14')]();});}),_0x2516da['editing'][_0x3084('0x1c')]['on'](_0x3084('0x4'),_0x2b9c22(_0x2516da,_0x3084('0x27')),{'priority':_0x3084('0x19')}),_0x2516da[_0x3084('0x1a')][_0x3084('0x1c')]['on'](_0x3084('0x4'),(_0x22f799,_0x4852c9,_0x553a96)=>{_0x553a96[_0x3084('0x3')][_0x3084('0xf')]&&_0x2b9c22(_0x2516da,'merge',{'showActiveMarker':!0x1})['bind'](this)(_0x22f799,_0x4852c9,_0x553a96);},{'priority':_0x3084('0x19')}),_0x2516da['editing']['downcastDispatcher']['on']('removeMarker:suggestion:deletion',(_0x20e151,_0x36a4c6,_0x1856b5)=>{const _0x23fcc4=_0x1856b5['mapper'][_0x3084('0x1b')](_0x36a4c6[_0x3084('0x5')]);if(_0x23fcc4)for(const _0x3bb313 of _0x23fcc4)_0x3bb313['is'](_0x3084('0x23'))&&(_0x1856b5[_0x3084('0x20')][_0x3084('0x1f')](_0x3bb313,_0x36a4c6[_0x3084('0x5')]),_0x1856b5[_0x3084('0x1d')]['remove'](_0x3bb313));},{'priority':'high'});}}
23
+ const _0x1f64=['init','removeMarker:suggestion:deletion','fromRange','addMarker:suggestion:deletion','markerName','model','editing','merge','enableCommand','plugins','createRange','start','mapper','end','root','getFirstRange','markerNameToElements','data','unlock','writer','commands','TrackChangesEditing','get','modifySelection','unbindElementFromMarkerName','detach','high','document','downcastDispatcher','uiElement','deleteForward','forward','delete'];(function(_0x2310c2,_0x1f647c){const _0x241dd7=function(_0x5852f7){while(--_0x5852f7){_0x2310c2['push'](_0x2310c2['shift']());}};_0x241dd7(++_0x1f647c);}(_0x1f64,0xf7));const _0x241d=function(_0x2310c2,_0x1f647c){_0x2310c2=_0x2310c2-0x0;let _0x241dd7=_0x1f64[_0x2310c2];return _0x241dd7;};import{Plugin as _0x592490}from'ckeditor5/src/core';import{LiveRange as _0x11c7ee}from'ckeditor5/src/engine';import{Delete as _0x5ac8e5}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x3fa9cc}from'./utils';export default class H extends _0x592490{static get['requires'](){return[_0x5ac8e5];}[_0x241d('0x11')](){const _0x21d2c2=this['editor'],_0x29f957=_0x21d2c2[_0x241d('0x1a')][_0x241d('0x6')](_0x241d('0x5'));_0x29f957[_0x241d('0x19')](_0x241d('0x10'));const _0x448e9b=_0x21d2c2[_0x241d('0x4')][_0x241d('0x6')](_0x241d('0xe'));_0x29f957[_0x241d('0x19')](_0x241d('0xe'),(_0x2058d8,_0x18376b={})=>{const _0x39e357=_0x21d2c2[_0x241d('0x16')]['createSelection'](_0x21d2c2[_0x241d('0x16')][_0x241d('0xb')]['selection']);_0x39e357['isCollapsed']&&_0x21d2c2[_0x241d('0x16')][_0x241d('0x7')](_0x39e357,{'direction':_0x241d('0xf'),'unit':_0x18376b['unit']});const _0x207f1f=_0x39e357[_0x241d('0x20')](),_0x2d05f5=_0x11c7ee[_0x241d('0x13')](_0x207f1f);let _0x3e1c6c;_0x2058d8(_0x18376b),_0x3e1c6c='$graveyard'==_0x2d05f5[_0x241d('0x1f')]['rootName']?_0x21d2c2['model'][_0x241d('0x1b')](_0x207f1f[_0x241d('0x1c')]):_0x21d2c2[_0x241d('0x16')][_0x241d('0x1b')](_0x2d05f5[_0x241d('0x1c')],_0x2d05f5['end']),_0x2d05f5[_0x241d('0x9')](),_0x21d2c2[_0x241d('0x16')]['enqueueChange'](_0x448e9b['buffer']['batch'],_0x559f10=>{_0x448e9b['buffer']['lock'](),_0x559f10['setSelection'](_0x559f10[_0x241d('0x1b')](_0x3e1c6c[_0x241d('0x1e')])),_0x448e9b['buffer'][_0x241d('0x2')]();});}),_0x21d2c2[_0x241d('0x17')][_0x241d('0xc')]['on'](_0x241d('0x14'),_0x3fa9cc(_0x21d2c2,_0x241d('0x18')),{'priority':_0x241d('0xa')}),_0x21d2c2[_0x241d('0x1')][_0x241d('0xc')]['on'](_0x241d('0x14'),(_0x434c0f,_0x5d2b22,_0x7e486d)=>{_0x7e486d['options']['showSuggestionHighlights']&&_0x3fa9cc(_0x21d2c2,_0x241d('0x18'),{'showActiveMarker':!0x1})['bind'](this)(_0x434c0f,_0x5d2b22,_0x7e486d);},{'priority':_0x241d('0xa')}),_0x21d2c2[_0x241d('0x17')][_0x241d('0xc')]['on'](_0x241d('0x12'),(_0x23658a,_0x5d41a5,_0x1623ba)=>{const _0x1a90ea=_0x1623ba[_0x241d('0x1d')][_0x241d('0x0')](_0x5d41a5[_0x241d('0x15')]);if(_0x1a90ea)for(const _0x15a517 of _0x1a90ea)_0x15a517['is'](_0x241d('0xd'))&&(_0x1623ba[_0x241d('0x1d')][_0x241d('0x8')](_0x15a517,_0x5d41a5[_0x241d('0x15')]),_0x1623ba[_0x241d('0x3')]['remove'](_0x15a517));},{'priority':'high'});}}