@ckeditor/ckeditor5-track-changes 43.0.0-alpha.5 → 43.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/build/track-changes.js +1 -1
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +3 -3
  4. package/dist/trackchangesconfig.d.ts +7 -0
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de.js +1 -1
  20. package/dist/translations/de.umd.js +1 -1
  21. package/dist/translations/el.js +1 -1
  22. package/dist/translations/el.umd.js +1 -1
  23. package/dist/translations/en-au.js +1 -1
  24. package/dist/translations/en-au.umd.js +1 -1
  25. package/dist/translations/en.umd.js +1 -1
  26. package/dist/translations/es.js +1 -1
  27. package/dist/translations/es.umd.js +1 -1
  28. package/dist/translations/et.js +1 -1
  29. package/dist/translations/et.umd.js +1 -1
  30. package/dist/translations/fi.js +1 -1
  31. package/dist/translations/fi.umd.js +1 -1
  32. package/dist/translations/fr.js +1 -1
  33. package/dist/translations/fr.umd.js +1 -1
  34. package/dist/translations/gl.js +1 -1
  35. package/dist/translations/gl.umd.js +1 -1
  36. package/dist/translations/he.js +1 -1
  37. package/dist/translations/he.umd.js +1 -1
  38. package/dist/translations/hi.js +1 -1
  39. package/dist/translations/hi.umd.js +1 -1
  40. package/dist/translations/hr.js +1 -1
  41. package/dist/translations/hr.umd.js +1 -1
  42. package/dist/translations/hu.js +1 -1
  43. package/dist/translations/hu.umd.js +1 -1
  44. package/dist/translations/id.js +1 -1
  45. package/dist/translations/id.umd.js +1 -1
  46. package/dist/translations/it.js +1 -1
  47. package/dist/translations/it.umd.js +1 -1
  48. package/dist/translations/ja.js +1 -1
  49. package/dist/translations/ja.umd.js +1 -1
  50. package/dist/translations/ko.js +1 -1
  51. package/dist/translations/ko.umd.js +1 -1
  52. package/dist/translations/lt.js +1 -1
  53. package/dist/translations/lt.umd.js +1 -1
  54. package/dist/translations/lv.js +1 -1
  55. package/dist/translations/lv.umd.js +1 -1
  56. package/dist/translations/ms.js +1 -1
  57. package/dist/translations/ms.umd.js +1 -1
  58. package/dist/translations/nl.js +1 -1
  59. package/dist/translations/nl.umd.js +1 -1
  60. package/dist/translations/no.js +1 -1
  61. package/dist/translations/no.umd.js +1 -1
  62. package/dist/translations/pl.js +1 -1
  63. package/dist/translations/pl.umd.js +1 -1
  64. package/dist/translations/pt-br.js +1 -1
  65. package/dist/translations/pt-br.umd.js +1 -1
  66. package/dist/translations/pt.js +1 -1
  67. package/dist/translations/pt.umd.js +1 -1
  68. package/dist/translations/ro.js +1 -1
  69. package/dist/translations/ro.umd.js +1 -1
  70. package/dist/translations/ru.js +1 -1
  71. package/dist/translations/ru.umd.js +1 -1
  72. package/dist/translations/sk.js +1 -1
  73. package/dist/translations/sk.umd.js +1 -1
  74. package/dist/translations/sq.js +1 -1
  75. package/dist/translations/sq.umd.js +1 -1
  76. package/dist/translations/sr-latn.js +1 -1
  77. package/dist/translations/sr-latn.umd.js +1 -1
  78. package/dist/translations/sr.js +1 -1
  79. package/dist/translations/sr.umd.js +1 -1
  80. package/dist/translations/sv.js +1 -1
  81. package/dist/translations/sv.umd.js +1 -1
  82. package/dist/translations/th.js +1 -1
  83. package/dist/translations/th.umd.js +1 -1
  84. package/dist/translations/tk.js +1 -1
  85. package/dist/translations/tk.umd.js +1 -1
  86. package/dist/translations/tr.js +1 -1
  87. package/dist/translations/tr.umd.js +1 -1
  88. package/dist/translations/tt.js +1 -1
  89. package/dist/translations/tt.umd.js +1 -1
  90. package/dist/translations/uk.js +1 -1
  91. package/dist/translations/uk.umd.js +1 -1
  92. package/dist/translations/ur.js +1 -1
  93. package/dist/translations/ur.umd.js +1 -1
  94. package/dist/translations/vi.js +1 -1
  95. package/dist/translations/vi.umd.js +1 -1
  96. package/dist/translations/zh-cn.js +1 -1
  97. package/dist/translations/zh-cn.umd.js +1 -1
  98. package/dist/translations/zh.js +1 -1
  99. package/dist/translations/zh.umd.js +1 -1
  100. package/dist/ui/suggestioncontroller.d.ts +1 -1
  101. package/dist/ui/view/basesuggestionthreadview.d.ts +8 -2
  102. package/dist/ui/view/suggestionthreadview.d.ts +42 -137
  103. package/dist/ui/view/suggestionview.d.ts +194 -0
  104. package/package.json +10 -10
  105. package/src/commands/acceptsuggestioncommand.js +1 -1
  106. package/src/commands/discardsuggestioncommand.js +1 -1
  107. package/src/commands/executeonallsuggestionscommand.js +1 -1
  108. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  109. package/src/commands/trackchangescommand.js +1 -1
  110. package/src/index.d.ts +1 -0
  111. package/src/index.js +1 -1
  112. package/src/integrations/aiassistant.js +1 -1
  113. package/src/integrations/alignment.js +1 -1
  114. package/src/integrations/basicstyles.js +1 -1
  115. package/src/integrations/blockquote.js +1 -1
  116. package/src/integrations/casechange.js +1 -1
  117. package/src/integrations/ckbox.js +1 -1
  118. package/src/integrations/codeblock.js +1 -1
  119. package/src/integrations/comments.js +1 -1
  120. package/src/integrations/deletecommand.js +1 -1
  121. package/src/integrations/entercommand.js +1 -1
  122. package/src/integrations/findandreplace.js +1 -1
  123. package/src/integrations/font.js +1 -1
  124. package/src/integrations/formatpainter.js +1 -1
  125. package/src/integrations/heading.js +1 -1
  126. package/src/integrations/highlight.js +1 -1
  127. package/src/integrations/horizontalline.js +1 -1
  128. package/src/integrations/htmlembed.js +1 -1
  129. package/src/integrations/image.js +1 -1
  130. package/src/integrations/imagereplace.js +1 -1
  131. package/src/integrations/imagestyle.js +1 -1
  132. package/src/integrations/importword.js +1 -1
  133. package/src/integrations/indent.js +1 -1
  134. package/src/integrations/inputcommand.js +1 -1
  135. package/src/integrations/legacylist.js +1 -1
  136. package/src/integrations/legacylistproperties.js +1 -1
  137. package/src/integrations/link.js +1 -1
  138. package/src/integrations/list.js +1 -1
  139. package/src/integrations/listproperties.js +1 -1
  140. package/src/integrations/mediaembed.js +1 -1
  141. package/src/integrations/mention.js +1 -1
  142. package/src/integrations/mergefields.js +1 -1
  143. package/src/integrations/multilevellist.js +1 -1
  144. package/src/integrations/pagebreak.js +1 -1
  145. package/src/integrations/paragraph.js +1 -1
  146. package/src/integrations/removeformat.js +1 -1
  147. package/src/integrations/restrictededitingmode.js +1 -1
  148. package/src/integrations/shiftentercommand.js +1 -1
  149. package/src/integrations/standardeditingmode.js +1 -1
  150. package/src/integrations/style.js +1 -1
  151. package/src/integrations/table.js +1 -1
  152. package/src/integrations/tablecaption.js +1 -1
  153. package/src/integrations/tableclipboard.js +1 -1
  154. package/src/integrations/tablecolumnresize.js +1 -1
  155. package/src/integrations/tableheadings.js +1 -1
  156. package/src/integrations/tablemergesplit.js +1 -1
  157. package/src/integrations/tableofcontents.js +1 -1
  158. package/src/integrations/tableproperties.js +1 -1
  159. package/src/integrations/template.js +1 -1
  160. package/src/integrations/title.js +1 -1
  161. package/src/integrations/undo.js +1 -1
  162. package/src/integrations/utils.js +1 -1
  163. package/src/suggestion.js +2 -2
  164. package/src/suggestiondescriptionfactory.js +1 -1
  165. package/src/trackchanges.js +1 -1
  166. package/src/trackchangesconfig.d.ts +7 -0
  167. package/src/trackchangesdata.js +1 -1
  168. package/src/trackchangesediting.js +1 -1
  169. package/src/trackchangesui.js +1 -1
  170. package/src/ui/suggestioncontroller.d.ts +1 -1
  171. package/src/ui/suggestioncontroller.js +2 -2
  172. package/src/ui/view/basesuggestionthreadview.d.ts +8 -2
  173. package/src/ui/view/basesuggestionthreadview.js +1 -1
  174. package/src/ui/view/suggestionthreadview.d.ts +42 -137
  175. package/src/ui/view/suggestionthreadview.js +1 -1
  176. package/src/ui/view/suggestionview.d.ts +190 -0
  177. package/src/ui/view/suggestionview.js +23 -0
  178. package/src/utils/common-translations.js +1 -1
  179. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x47f2(_0x3cdbe4,_0x40880e){const _0x20cd05=_0x20cd();return _0x47f2=function(_0x47f219,_0x23d3b6){_0x47f219=_0x47f219-0x110;let _0x38e4c2=_0x20cd05[_0x47f219];return _0x38e4c2;},_0x47f2(_0x3cdbe4,_0x40880e);}const _0x31eaa6=_0x47f2;(function(_0x1358b6,_0x1c9d9c){const _0x40fe81=_0x47f2,_0x550d74=_0x1358b6();while(!![]){try{const _0x4e141e=parseInt(_0x40fe81(0x17c))/0x1*(-parseInt(_0x40fe81(0x157))/0x2)+parseInt(_0x40fe81(0x161))/0x3+parseInt(_0x40fe81(0x112))/0x4+-parseInt(_0x40fe81(0x18c))/0x5*(-parseInt(_0x40fe81(0x13e))/0x6)+parseInt(_0x40fe81(0x14e))/0x7*(-parseInt(_0x40fe81(0x141))/0x8)+parseInt(_0x40fe81(0x151))/0x9+-parseInt(_0x40fe81(0x143))/0xa*(parseInt(_0x40fe81(0x13b))/0xb);if(_0x4e141e===_0x1c9d9c)break;else _0x550d74['push'](_0x550d74['shift']());}catch(_0x152318){_0x550d74['push'](_0x550d74['shift']());}}}(_0x20cd,0x783d7));import{Plugin as _0x4c0e63}from'ckeditor5/src/core.js';import{Collection as _0x54d195}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x38e1d3,createDropdown as _0x20ef6d,ListSeparatorView as _0x465587,MenuBarMenuView as _0x198d00,MenuBarMenuListView as _0x16a413,MenuBarMenuListItemView as _0x2bef30,MenuBarMenuListItemButtonView as _0x5282ec,SplitButtonView as _0x69e021,ViewModel as _0x3f86ae}from'ckeditor5/src/ui.js';import{Users as _0x5de3ed,getDateTimeFormatter as _0x37b0bd,getAllMarkersDomElementsSorted as _0x122ac8,ENTER_THREAD_KEYSTROKE as _0x376f49}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3d3986 from'./trackchangesediting.js';import _0x291af7 from'./ui/suggestioncontroller.js';import _0x503afb from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x5135b0}from'./utils/common-translations.js';import _0x256d19 from'./trackchanges.js';function _0x20cd(){const _0x163d18=['editor','set','getMarkerNames','escape','commentThread','push','suggestionUnloaded','switchbutton','values','pluginName','_suggestionToController','isMultiRange','clear','1663824VMFBjc','_destroyController','Accept\x20all\x20selected\x20suggestions','EditorAnnotations','stopListening','_handleSuggestionControllerDelayed','previous','execute','low','get','getAllAdjacentSuggestions','TrackChangesEditing','CommentsRepository','keys','some','descriptionFactory','size','from','getByInnerView','componentFactory','isOn','init','acceptButton','menu','requires','SuggestionThreadView','TrackChangesUI','_addUIComponentsToFactory','_disableComments','getMarkers','getDescriptions','isDirty','comments.maxCommentsWhenCollapsed','type','suggestionChanged','_refreshActiveMarkers','config','arrowView','focus','commentsListView','_splitMarkerName','11HlHHlv','buttonView','_createMenuBarMenu','3390708LVfeDJ','addSourceCollector','remove','10448AQhWWX','comments','15462270CcZByo','commandName','model','actionView','reduce','getRanges','activeAnnotations','isInContent','bind','_initializeController','isEnabled','2807wpPLTB','editing','source','6831666xnXJaV','activeMarkers','discardAllSuggestions','Accept\x20all\x20suggestions','items','unbind','70prfUIN','comments.maxThreadTotalWeight','getSuggestion','menuitemcheckbox','add','trackChanges.SuggestionThreadView','discardSelectedSuggestions','change:previous','lowest','trackChanges','2888334wByMRa','menuBar:trackChanges','registerAnnotation','createAnnotation','acceptAllSuggestions','button','_unbindEditors','getFirstRange','descriptionParts','filter','trackChanges.disableComments','_updateController','Annotations','_initKeyboardNavigationToThread','separator','Discard\x20all\x20selected\x20suggestions','change:activeAnnotations','_createToolbarButton','CommentsUI','listenTo','keystrokes','delete','children','length','comments.maxCommentCharsWhenCollapsed','_viewToController','suggestion-','4014BfRssh','panelView','has','plugins','Track\x20changes','getJoined','hasSuggestion','mainView','comments.editorConfig','innerView','toMany','delegate','createAnnotationView','menuitem','commands','createCommentThreadController','5BJhKXk','_bindAnnotationToEditors','refreshSelectedViews','_annotationViews','define','discardButton','Discard\x20all\x20suggestions','suggestionLoaded','view','locale','destroy','value','addComment','_handleControllerBuffer','acceptSelectedSuggestions','head','CommentView'];_0x20cd=function(){return _0x163d18;};return _0x20cd();}import _0x45cd08 from'../theme/icons/track-changes.svg';export default class d extends _0x4c0e63{static get[_0x31eaa6(0x12a)](){const _0x465b6e=_0x31eaa6;return[_0x3d3986,_0x5de3ed,_0x465b6e(0x11e),_0x465b6e(0x16d),_0x465b6e(0x115)];}static get[_0x31eaa6(0x1a6)](){const _0x4649a4=_0x31eaa6;return _0x4649a4(0x12c);}constructor(_0x236f6e){const _0x803c76=_0x31eaa6;super(_0x236f6e),this[_0x803c76(0x1a7)]=new Map(),this[_0x803c76(0x17a)]=new Map(),this[_0x803c76(0x18f)]=new Map(),this[_0x803c76(0x199)]=new Map();const _0x344e6e=this[_0x803c76(0x19d)][_0x803c76(0x136)];_0x344e6e[_0x803c76(0x190)](_0x803c76(0x15c),_0x503afb),_0x344e6e[_0x803c76(0x190)](_0x803c76(0x16b),!0x1),this[_0x803c76(0x12e)]=_0x344e6e[_0x803c76(0x11b)](_0x803c76(0x16b)),this[_0x803c76(0x16e)]();}[_0x31eaa6(0x117)](_0x3f32bc,_0x118e81){const _0x17fa09=_0x31eaa6;0x0===this[_0x17fa09(0x199)][_0x17fa09(0x122)]&&setTimeout(()=>{const _0x18b2ba=_0x17fa09;for(const [_0x4770c9,_0x48f6a6]of this[_0x18b2ba(0x199)]){const _0x56a01=this[_0x18b2ba(0x1a7)][_0x18b2ba(0x17e)](_0x4770c9);_0x56a01||_0x48f6a6?_0x56a01&&_0x48f6a6&&this[_0x18b2ba(0x113)](_0x4770c9):this[_0x18b2ba(0x14c)](_0x4770c9);}this[_0x18b2ba(0x199)][_0x18b2ba(0x111)](),this[_0x18b2ba(0x19d)][_0x18b2ba(0x17f)][_0x18b2ba(0x11b)](_0x18b2ba(0x115))[_0x18b2ba(0x18e)](),this[_0x18b2ba(0x135)]();},0xa),this[_0x17fa09(0x199)][_0x17fa09(0x19e)](_0x3f32bc,_0x118e81);}[_0x31eaa6(0x127)](){const _0x1df34c=_0x31eaa6,_0x1a7ec6=this[_0x1df34c(0x19d)],_0x1cb162=_0x1a7ec6[_0x1df34c(0x17f)][_0x1df34c(0x11b)](_0x1df34c(0x11d)),_0xcde518=_0x1a7ec6[_0x1df34c(0x17f)][_0x1df34c(0x11b)](_0x1df34c(0x16d)),_0x596c7e=_0x1a7ec6[_0x1df34c(0x17f)][_0x1df34c(0x11b)](_0x1df34c(0x115)),_0x3a859f=_0x1a7ec6[_0x1df34c(0x17f)][_0x1df34c(0x11b)](_0x1df34c(0x11e));this[_0x1df34c(0x12d)](),_0x596c7e[_0x1df34c(0x13f)](()=>{const _0x2b2b58=_0x1df34c,_0x4c23bf=[];for(const [_0x5a2fea,_0xf53f59]of Array[_0x2b2b58(0x123)](this[_0x2b2b58(0x1a7)])){const _0x2b5e21=_0x5a2fea[_0x2b2b58(0x11c)](),_0x29b298=[];for(const _0x2e5358 of _0x2b5e21){if(!_0x2e5358[_0x2b2b58(0x14a)])continue;if(_0x2e5358[_0x2b2b58(0x110)]){_0x29b298[_0x2b2b58(0x1a2)](..._0x2e5358[_0x2b2b58(0x148)]());continue;}const _0x5f410f=_0x2e5358[_0x2b2b58(0x168)]();if(_0x29b298[_0x2b2b58(0x178)]>0x0){const _0x363814=_0x29b298[0x0][_0x2b2b58(0x181)](_0x5f410f);if(_0x363814){_0x29b298[0x0]=_0x363814;continue;}}_0x29b298[_0x2b2b58(0x1a2)](_0x5f410f);}_0x4c23bf[_0x2b2b58(0x1a2)]([_0xf53f59[_0x2b2b58(0x194)],_0x29b298]);}return _0x4c23bf;}),this[_0x1df34c(0x174)](_0x1cb162,_0x1df34c(0x193),(_0x571c2,_0x2e5ded)=>{const _0x2e8df1=_0x1df34c;this[_0x2e8df1(0x174)](_0x2e5ded,_0x2e8df1(0x15e),(_0x37a743,_0x13e8dd,_0x4ded4e,_0x3cb08d)=>{const _0x4ac0af=_0x2e8df1;_0x2e5ded[_0x4ac0af(0x14a)]&&(null==_0x4ded4e?(this[_0x4ac0af(0x16c)](_0x3cb08d[_0x4ac0af(0x19b)]),this[_0x4ac0af(0x117)](_0x2e5ded,!0x1)):(this[_0x4ac0af(0x16c)](_0x4ded4e[_0x4ac0af(0x19b)]),null==_0x3cb08d&&this[_0x4ac0af(0x117)](_0x2e5ded,!0x0)));}),null!==_0x2e5ded[_0x2e8df1(0x118)]?this[_0x2e8df1(0x16c)](_0x2e5ded[_0x2e8df1(0x19b)]):this[_0x2e8df1(0x117)](_0x2e5ded,!0x1);}),this[_0x1df34c(0x174)](_0x1cb162,_0x1df34c(0x1a3),(_0x4af8fc,_0x215a1e,_0x300ad1)=>{const _0x323f55=_0x1df34c;this[_0x323f55(0x116)](_0x215a1e,_0x323f55(0x15e)),this[_0x323f55(0x199)][_0x323f55(0x176)](_0x215a1e),this[_0x323f55(0x1a7)][_0x323f55(0x17e)](_0x215a1e)&&this[_0x323f55(0x113)](_0x215a1e),_0x300ad1&&this[_0x323f55(0x16c)](_0x300ad1[_0x323f55(0x19b)]);}),this[_0x1df34c(0x174)](_0x1cb162,_0x1df34c(0x134),(_0x4623fa,_0x59644b)=>{const _0x1281b7=_0x1df34c;this[_0x1281b7(0x16c)](_0x59644b);}),this[_0x1df34c(0x174)](_0xcde518,_0x1df34c(0x171),()=>{const _0x1969bb=_0x1df34c;this[_0x1969bb(0x135)]();}),this[_0x1df34c(0x174)](_0x3a859f,_0x1df34c(0x198),(_0x306d07,{threadId:_0x3578ea,isFromAdapter:_0x4cd735})=>{const _0x52fde7=_0x1df34c;if(_0x4cd735||!_0x1cb162[_0x52fde7(0x182)](_0x3578ea))return;const _0x16982d=_0x1cb162[_0x52fde7(0x159)](_0x3578ea);this[_0x52fde7(0x1a7)][_0x52fde7(0x11b)](_0x16982d)[_0x52fde7(0x194)][_0x52fde7(0x139)][_0x52fde7(0x138)](-0x1);},{'priority':_0x1df34c(0x15f)});}[_0x31eaa6(0x135)](){const _0x4fc2aa=_0x31eaa6,_0x494f3=this[_0x4fc2aa(0x19d)][_0x4fc2aa(0x17f)][_0x4fc2aa(0x11b)](_0x4fc2aa(0x16d)),_0x397a5b=this[_0x4fc2aa(0x19d)][_0x4fc2aa(0x17f)][_0x4fc2aa(0x11b)](_0x4fc2aa(0x11d)),_0x3a4ed1=Array[_0x4fc2aa(0x123)](_0x494f3[_0x4fc2aa(0x149)],_0x5701cd=>_0x5701cd[_0x4fc2aa(0x185)])[_0x4fc2aa(0x16a)](_0x4ea8a7=>this[_0x4fc2aa(0x17a)][_0x4fc2aa(0x17e)](_0x4ea8a7)),_0x598b31=[];for(const _0x54faf7 of _0x3a4ed1){const _0x24fa6c=this[_0x4fc2aa(0x17a)][_0x4fc2aa(0x11b)](_0x54faf7)[_0x4fc2aa(0x145)][_0x4fc2aa(0x11c)]();_0x598b31[_0x4fc2aa(0x1a2)](..._0x24fa6c[_0x4fc2aa(0x147)]((_0x17f32d,_0x32342f)=>[..._0x17f32d,..._0x32342f[_0x4fc2aa(0x19f)]()],[]));}_0x397a5b[_0x4fc2aa(0x152)]=_0x598b31;}[_0x31eaa6(0x12d)](){const _0x67cc8f=_0x31eaa6,_0x2a224d=this[_0x67cc8f(0x19d)],_0x2f6030=_0x2a224d[_0x67cc8f(0x195)],_0x4ea981=_0x5135b0(_0x2f6030,_0x67cc8f(0x180)),_0x12a730=new _0x54d195([{'type':_0x67cc8f(0x1a4),'model':new _0x3f86ae({'withText':!0x0,'isToggleable':!0x0,'label':_0x4ea981,'commandName':_0x67cc8f(0x160),'role':_0x67cc8f(0x15a)})},{'type':_0x67cc8f(0x16f)},{'type':_0x67cc8f(0x166),'model':new _0x3f86ae({'withText':!0x0,'label':_0x5135b0(_0x2f6030,_0x67cc8f(0x154)),'commandName':_0x67cc8f(0x165),'role':_0x67cc8f(0x189)})},{'type':_0x67cc8f(0x166),'model':new _0x3f86ae({'withText':!0x0,'label':_0x5135b0(_0x2f6030,_0x67cc8f(0x114)),'commandName':_0x67cc8f(0x19a),'role':_0x67cc8f(0x189)})},{'type':_0x67cc8f(0x166),'model':new _0x3f86ae({'withText':!0x0,'label':_0x5135b0(_0x2f6030,_0x67cc8f(0x192)),'commandName':_0x67cc8f(0x153),'role':_0x67cc8f(0x189)})},{'type':_0x67cc8f(0x166),'model':new _0x3f86ae({'withText':!0x0,'label':_0x5135b0(_0x2f6030,_0x67cc8f(0x170)),'commandName':_0x67cc8f(0x15d),'role':_0x67cc8f(0x189)})}]);for(const _0x31d108 of _0x12a730)if(he(_0x31d108)){const _0x143d78=_0x2a224d[_0x67cc8f(0x18a)][_0x67cc8f(0x11b)](_0x31d108[_0x67cc8f(0x145)][_0x67cc8f(0x144)]);_0x31d108[_0x67cc8f(0x145)][_0x67cc8f(0x14b)](_0x67cc8f(0x126),_0x67cc8f(0x14d))['to'](_0x143d78,_0x67cc8f(0x197),_0x67cc8f(0x14d));}_0x2a224d['ui'][_0x67cc8f(0x125)][_0x67cc8f(0x15b)](_0x67cc8f(0x160),_0x1d7188=>this[_0x67cc8f(0x172)](_0x1d7188,_0x12a730,_0x4ea981)),_0x2a224d['ui'][_0x67cc8f(0x125)][_0x67cc8f(0x15b)](_0x67cc8f(0x162),_0x3cf649=>this[_0x67cc8f(0x13d)](_0x3cf649,_0x12a730,_0x4ea981));}[_0x31eaa6(0x172)](_0x1b849c,_0x2886a3,_0x1fa8ae){const _0x97be0a=_0x31eaa6,_0x5f3ab9=_0x20ef6d(_0x1b849c,_0x69e021),_0x59fdd0=this[_0x97be0a(0x19d)][_0x97be0a(0x18a)][_0x97be0a(0x11b)](_0x97be0a(0x160));_0x5f3ab9[_0x97be0a(0x13c)][_0x97be0a(0x19e)]({'tooltip':_0x1fa8ae,'label':_0x1fa8ae,'icon':_0x45cd08}),_0x5f3ab9[_0x97be0a(0x13c)][_0x97be0a(0x14b)](_0x97be0a(0x126))['to'](_0x59fdd0,_0x97be0a(0x197)),_0x5f3ab9[_0x97be0a(0x13c)]['on'](_0x97be0a(0x119),()=>{const _0xda3a49=_0x97be0a;_0x59fdd0[_0xda3a49(0x119)](),this[_0xda3a49(0x19d)][_0xda3a49(0x14f)][_0xda3a49(0x194)][_0xda3a49(0x138)]();}),_0x38e1d3(_0x5f3ab9,_0x2886a3,{'role':_0x97be0a(0x129)});const _0x1a6c1a=[];for(const _0x1cc9c5 of _0x2886a3)he(_0x1cc9c5)&&_0x1a6c1a[_0x97be0a(0x1a2)](this[_0x97be0a(0x19d)][_0x97be0a(0x18a)][_0x97be0a(0x11b)](_0x1cc9c5[_0x97be0a(0x145)][_0x97be0a(0x144)]));const _0x58a5a9=_0x5f3ab9[_0x97be0a(0x13c)];return _0x58a5a9[_0x97be0a(0x146)][_0x97be0a(0x156)](_0x97be0a(0x14d)),_0x58a5a9[_0x97be0a(0x137)][_0x97be0a(0x156)](_0x97be0a(0x14d)),_0x58a5a9[_0x97be0a(0x146)][_0x97be0a(0x14b)](_0x97be0a(0x14d))['to'](_0x59fdd0,_0x97be0a(0x14d)),_0x58a5a9[_0x97be0a(0x137)][_0x97be0a(0x14b)](_0x97be0a(0x14d))[_0x97be0a(0x186)](_0x1a6c1a,_0x97be0a(0x14d),(..._0x39d356)=>_0x39d356[_0x97be0a(0x120)](_0x3150fc=>_0x3150fc)),_0x5f3ab9['on'](_0x97be0a(0x119),_0x4dd7c2=>{const _0x591869=_0x97be0a;this[_0x591869(0x19d)][_0x591869(0x119)](_0x4dd7c2[_0x591869(0x150)][_0x591869(0x144)]),this[_0x591869(0x19d)][_0x591869(0x14f)][_0x591869(0x194)][_0x591869(0x138)]();}),_0x5f3ab9;}[_0x31eaa6(0x13d)](_0xc4452d,_0x37a917,_0x360713){const _0x299811=_0x31eaa6,_0x35f5f4=new _0x198d00(_0xc4452d),_0x1e8e50=this[_0x299811(0x19d)][_0x299811(0x18a)][_0x299811(0x11b)](_0x299811(0x160));_0x35f5f4[_0x299811(0x13c)][_0x299811(0x19e)]({'label':_0x360713,'icon':_0x45cd08});const _0x15ed74=new _0x16a413(_0xc4452d);for(const _0x147fea of _0x37a917){if(_0x299811(0x16f)==_0x147fea[_0x299811(0x133)]){_0x15ed74[_0x299811(0x155)][_0x299811(0x15b)](new _0x465587(_0xc4452d));continue;}const _0x16d5d2=new _0x2bef30(_0xc4452d,_0x35f5f4),_0x5a98d5=new _0x5282ec(_0xc4452d),_0x45b872=_0x147fea[_0x299811(0x145)];_0x5a98d5[_0x299811(0x14b)](...Object[_0x299811(0x11f)](_0x45b872))['to'](_0x45b872),_0x5a98d5[_0x299811(0x187)](_0x299811(0x119))['to'](_0x35f5f4),_0x5a98d5['on'](_0x299811(0x119),()=>{const _0x3c4f44=_0x299811;this[_0x3c4f44(0x19d)][_0x3c4f44(0x119)](_0x45b872[_0x3c4f44(0x144)]),this[_0x3c4f44(0x19d)][_0x3c4f44(0x14f)][_0x3c4f44(0x194)][_0x3c4f44(0x138)]();}),_0x16d5d2[_0x299811(0x177)][_0x299811(0x15b)](_0x5a98d5),_0x15ed74[_0x299811(0x155)][_0x299811(0x15b)](_0x16d5d2);}return _0x35f5f4[_0x299811(0x14b)](_0x299811(0x14d))['to'](_0x1e8e50,_0x299811(0x14d)),_0x35f5f4[_0x299811(0x17d)][_0x299811(0x177)][_0x299811(0x15b)](_0x15ed74),_0x35f5f4;}[_0x31eaa6(0x14c)](_0x6717d0){const _0x5c0742=_0x31eaa6,_0x51dbd6=this[_0x5c0742(0x19d)],_0x7bc897=_0x51dbd6[_0x5c0742(0x136)],_0x2ca30e=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x16d)),_0x33c145=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x11e)),_0x4ab618=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x115)),_0x4c71af=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5de3ed)['me'],_0x44cb4b=_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x160))[_0x5c0742(0x12b)],{CommentsListView:_0x4dab81,CommentThreadInputView:_0x5dcad5}=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x173));let _0x405ead,_0x5902d0;this[_0x5c0742(0x18f)][_0x5c0742(0x17e)](_0x6717d0['id'])?(_0x5902d0=this[_0x5c0742(0x18f)][_0x5c0742(0x11b)](_0x6717d0['id']),_0x405ead=_0x5902d0[_0x5c0742(0x183)]):(_0x405ead=new _0x44cb4b(_0x51dbd6[_0x5c0742(0x195)],_0x6717d0,_0x4c71af,{'disableComments':this[_0x5c0742(0x12e)],'editorConfig':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x184)),'maxCommentsWhenCollapsed':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x132)),'maxThreadTotalWeight':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x158)),'maxCommentCharsWhenCollapsed':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x179)),'formatDateTime':_0x37b0bd(_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x195))),'CommentView':_0x7bc897[_0x5c0742(0x11b)](_0x5c0742(0x142))[_0x5c0742(0x19c)],'CommentsListView':_0x4dab81,'CommentThreadInputView':_0x5dcad5}),_0x405ead[_0x5c0742(0x128)]['on'](_0x5c0742(0x119),()=>{const _0x54e952=_0x5c0742;_0x51dbd6[_0x54e952(0x14f)][_0x54e952(0x194)][_0x54e952(0x138)]();}),_0x405ead[_0x5c0742(0x191)]['on'](_0x5c0742(0x119),()=>{const _0x246e07=_0x5c0742;_0x51dbd6[_0x246e07(0x14f)][_0x246e07(0x194)][_0x246e07(0x138)]();}),_0x5902d0=_0x2ca30e[_0x5c0742(0x188)](this[_0x5c0742(0x19d)][_0x5c0742(0x195)],_0x405ead),_0x5902d0[_0x5c0742(0x14b)](_0x5c0742(0x131))['to'](_0x405ead,_0x5c0742(0x131)),_0x5902d0[_0x5c0742(0x14b)](_0x5c0742(0x178))['to'](_0x405ead),_0x5902d0[_0x5c0742(0x14b)](_0x5c0742(0x133))['to'](_0x405ead,_0x5c0742(0x133),_0x2fd541=>_0x5c0742(0x17b)+_0x2fd541),this[_0x5c0742(0x174)](_0x405ead,_0x5c0742(0x1a0),()=>{const _0x4ea505=_0x5c0742;_0x51dbd6[_0x4ea505(0x14f)][_0x4ea505(0x194)][_0x4ea505(0x138)]();},{'priority':_0x5c0742(0x11a)}),this[_0x5c0742(0x18f)][_0x5c0742(0x19e)](_0x6717d0['id'],_0x5902d0));const _0x3c034b=_0x33c145[_0x5c0742(0x18b)](_0x6717d0[_0x5c0742(0x1a1)],_0x405ead),_0x7b3513=new _0x291af7(_0x51dbd6,_0x6717d0,_0x405ead,_0x3c034b),_0xac56d0=_0x6717d0[_0x5c0742(0x11c)]()[_0x5c0742(0x16a)](_0x276016=>_0x276016[_0x5c0742(0x14a)]);_0x405ead[_0x5c0742(0x169)]=_0x51dbd6[_0x5c0742(0x17f)][_0x5c0742(0x11b)](_0x5c0742(0x11d))[_0x5c0742(0x121)][_0x5c0742(0x130)](_0xac56d0),this[_0x5c0742(0x1a7)][_0x5c0742(0x19e)](_0x6717d0,_0x7b3513),this[_0x5c0742(0x17a)][_0x5c0742(0x19e)](_0x405ead,_0x7b3513);const _0x57549b=_0x2ca30e[_0x5c0742(0x164)]({'view':_0x5902d0,'target':()=>{const _0x3bca99=_0x5c0742,_0x243692=[],_0x5312b2=_0x6717d0[_0x3bca99(0x11c)]()[_0x3bca99(0x16a)](_0x31bc6b=>_0x31bc6b[_0x3bca99(0x14a)]);for(const _0x15f6ed of _0x5312b2)_0x243692[_0x3bca99(0x1a2)](..._0x15f6ed[_0x3bca99(0x12f)]());return _0x122ac8(_0x51dbd6[_0x3bca99(0x14f)],_0x243692);},'type':()=>_0x5c0742(0x17b)+_0x7b3513[_0x5c0742(0x194)][_0x5c0742(0x133)]});_0x33c145[_0x5c0742(0x18d)](_0x405ead,_0x57549b),_0x2ca30e[_0x5c0742(0x15b)](_0x57549b),_0x4ab618[_0x5c0742(0x163)](_0x57549b);}[_0x31eaa6(0x113)](_0x39f1d5){const _0x1a3187=_0x31eaa6,_0x21d0a0=this[_0x1a3187(0x19d)][_0x1a3187(0x17f)][_0x1a3187(0x11b)](_0x1a3187(0x11e)),_0x25bc82=this[_0x1a3187(0x19d)][_0x1a3187(0x17f)][_0x1a3187(0x11b)](_0x1a3187(0x16d)),_0x3d8d15=this[_0x1a3187(0x1a7)][_0x1a3187(0x11b)](_0x39f1d5),_0x27cc0c=_0x3d8d15[_0x1a3187(0x194)],_0x24b5e0=_0x25bc82[_0x1a3187(0x124)](_0x27cc0c);_0x21d0a0[_0x1a3187(0x167)](_0x27cc0c),_0x24b5e0&&_0x25bc82[_0x1a3187(0x140)](_0x24b5e0),this[_0x1a3187(0x1a7)][_0x1a3187(0x176)](_0x39f1d5),this[_0x1a3187(0x17a)][_0x1a3187(0x176)](_0x27cc0c),_0x3d8d15[_0x1a3187(0x196)]();}[_0x31eaa6(0x16c)](_0x9b5020){const _0x1a7cb1=_0x31eaa6;if(!_0x9b5020[_0x1a7cb1(0x14a)]||!this[_0x1a7cb1(0x1a7)][_0x1a7cb1(0x17e)](_0x9b5020))return;const _0x25b18b=this[_0x1a7cb1(0x19d)][_0x1a7cb1(0x17f)][_0x1a7cb1(0x11b)](_0x1a7cb1(0x11d)),_0xa36da1=this[_0x1a7cb1(0x1a7)][_0x1a7cb1(0x11b)](_0x9b5020),_0x127d06=_0x9b5020[_0x1a7cb1(0x11c)]();_0xa36da1[_0x1a7cb1(0x194)][_0x1a7cb1(0x169)]=_0x25b18b[_0x1a7cb1(0x121)][_0x1a7cb1(0x130)](_0x127d06);}[_0x31eaa6(0x16e)](){const _0x27120a=_0x31eaa6;this[_0x27120a(0x19d)][_0x27120a(0x175)][_0x27120a(0x19e)](_0x376f49,(_0x2aa9fd,_0x467202)=>{const _0x3eb20f=_0x27120a,_0x114b98=this[_0x3eb20f(0x19d)][_0x3eb20f(0x17f)][_0x3eb20f(0x11b)](_0x256d19),_0x4a6e19=this[_0x3eb20f(0x19d)][_0x3eb20f(0x17f)][_0x3eb20f(0x11b)](_0x3d3986);if(!_0x4a6e19[_0x3eb20f(0x152)][_0x3eb20f(0x178)])return;const {id:_0x59ad0f}=_0x4a6e19[_0x3eb20f(0x13a)](_0x4a6e19[_0x3eb20f(0x152)][0x0]),_0x50676f=_0x114b98[_0x3eb20f(0x159)](_0x59ad0f);_0x50676f&&(this[_0x3eb20f(0x1a7)][_0x3eb20f(0x11b)](_0x50676f)[_0x3eb20f(0x194)][_0x3eb20f(0x138)](),_0x467202());});}[_0x31eaa6(0x196)](){const _0x2f53aa=_0x31eaa6;for(const _0x216ac6 of this[_0x2f53aa(0x1a7)][_0x2f53aa(0x11f)]())this[_0x2f53aa(0x113)](_0x216ac6);for(const _0x10d42e of this[_0x2f53aa(0x18f)][_0x2f53aa(0x1a5)]())_0x10d42e[_0x2f53aa(0x183)][_0x2f53aa(0x196)]();super[_0x2f53aa(0x196)]();}}function he(_0x3339c9){const _0x352d3b=_0x31eaa6;return _0x352d3b(0x145)in _0x3339c9;}
23
+ const _0x51127d=_0x1fe2;(function(_0x56fe06,_0x5cd5b1){const _0x5212a0=_0x1fe2,_0x54c5a0=_0x56fe06();while(!![]){try{const _0x5ac270=parseInt(_0x5212a0(0x1b5))/0x1+parseInt(_0x5212a0(0x1f2))/0x2*(-parseInt(_0x5212a0(0x197))/0x3)+-parseInt(_0x5212a0(0x1d1))/0x4*(parseInt(_0x5212a0(0x1a2))/0x5)+-parseInt(_0x5212a0(0x195))/0x6+parseInt(_0x5212a0(0x194))/0x7*(-parseInt(_0x5212a0(0x1af))/0x8)+parseInt(_0x5212a0(0x1f4))/0x9+parseInt(_0x5212a0(0x193))/0xa;if(_0x5ac270===_0x5cd5b1)break;else _0x54c5a0['push'](_0x54c5a0['shift']());}catch(_0x172602){_0x54c5a0['push'](_0x54c5a0['shift']());}}}(_0x385a,0x8d903));import{Plugin as _0x57bce5}from'ckeditor5/src/core.js';import{Collection as _0x52984f}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x47a603,createDropdown as _0x4ca201,ListSeparatorView as _0x1e3594,MenuBarMenuView as _0x39eeba,MenuBarMenuListView as _0xee3f39,MenuBarMenuListItemView as _0x5b7602,MenuBarMenuListItemButtonView as _0x25def7,SplitButtonView as _0x1c0d0e,ViewModel as _0x344c97}from'ckeditor5/src/ui.js';import{Users as _0x631dd5,getDateTimeFormatter as _0x958b62,getAllMarkersDomElementsSorted as _0x207d87,ENTER_THREAD_KEYSTROKE as _0x514796}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xc5717c from'./trackchangesediting.js';function _0x385a(){const _0x3dc279=['2046950YmpsWI','previous','suggestionView','listenTo','_destroyController','toMany','commands','createAnnotationView','descriptionParts','menu','model','values','addSourceCollector','263864HsEcbX','trackChanges','items','_handleSuggestionControllerDelayed','config','focus','822255BtxJxs','menuBar:trackChanges','type','define','discardAllSuggestions','low','acceptSelectedSuggestions','getSuggestion','lowest','Annotations','remove','push','filter','bind','Accept\x20all\x20suggestions','_updateController','size','delete','isInContent','registerAnnotation','buttonView','view','trackChanges.SuggestionView','componentFactory','separator','plugins','CommentsRepository','delegate','8HmGeeU','commentThread','getFirstRange','_annotationViews','children','commandName','stopListening','keystrokes','_initializeController','change:previous','CommentsUI','menuitem','value','TrackChangesUI','_viewToController','_handleControllerBuffer','createCommentThreadController','keys','_createToolbarButton','_refreshActiveMarkers','get','acceptAllSuggestions','init','comments','from','_initKeyboardNavigationToThread','TrackChangesEditing','isDirty','SuggestionThreadView','destroy','getJoined','getMarkerNames','activeAnnotations','2KoirDx','Track\x20changes','8505918dwiquD','some','menuitemcheckbox','addComment','_suggestionToController','requires','suggestion-','arrowView','pluginName','getAllAdjacentSuggestions','EditorAnnotations','getMarkers','discardButton','comments.maxCommentCharsWhenCollapsed','locale','add','suggestionLoaded','refreshSelectedViews','innerView','change:activeAnnotations','trackChanges.SuggestionThreadView','_disableComments','button','commentsListView','source','Accept\x20all\x20selected\x20suggestions','isMultiRange','clear','reduce','switchbutton','Discard\x20all\x20selected\x20suggestions','hasSuggestion','editor','unbind','escape','_createMenuBarMenu','panelView','isOn','has','_bindAnnotationToEditors','execute','_unbindEditors','getDescriptions','suggestionUnloaded','comments.editorConfig','descriptionFactory','isEnabled','getRanges','getByInnerView','SuggestionView','head','acceptButton','length','_splitMarkerName','Discard\x20all\x20suggestions','set','activeMarkers','12652380yqBuQo','91pZyJgG','320220cYtmnK','CommentView','3455469YGeSHe','_addUIComponentsToFactory','trackChanges.disableComments','createAnnotation','editing','actionView','mainView','comments.maxThreadTotalWeight','suggestionChanged','comments.maxCommentsWhenCollapsed','discardSelectedSuggestions'];_0x385a=function(){return _0x3dc279;};return _0x385a();}import _0x13796a from'./ui/suggestioncontroller.js';import _0x534252 from'./ui/view/suggestionthreadview.js';function _0x1fe2(_0x19cb05,_0x44b402){const _0x385abd=_0x385a();return _0x1fe2=function(_0x1fe235,_0x53e73a){_0x1fe235=_0x1fe235-0x17f;let _0x2c7300=_0x385abd[_0x1fe235];return _0x2c7300;},_0x1fe2(_0x19cb05,_0x44b402);}import _0x42e001 from'./ui/view/suggestionview.js';import{getTranslation as _0xaf49cc}from'./utils/common-translations.js';import _0x146e82 from'./trackchanges.js';import _0x29eb9b from'../theme/icons/track-changes.svg';export default class d extends _0x57bce5{static get[_0x51127d(0x1f9)](){const _0x2889d5=_0x51127d;return[_0xc5717c,_0x631dd5,_0x2889d5(0x1cf),_0x2889d5(0x1be),_0x2889d5(0x1fe)];}static get[_0x51127d(0x1fc)](){const _0x54f1bc=_0x51127d;return _0x54f1bc(0x1de);}constructor(_0x1af061){const _0xabb067=_0x51127d;super(_0x1af061),this[_0xabb067(0x1f8)]=new Map(),this[_0xabb067(0x1df)]=new Map(),this[_0xabb067(0x1d4)]=new Map(),this[_0xabb067(0x1e0)]=new Map();const _0x57882a=this[_0xabb067(0x214)][_0xabb067(0x1b3)];_0x57882a[_0xabb067(0x1b8)](_0xabb067(0x208),_0x534252),_0x57882a[_0xabb067(0x1b8)](_0xabb067(0x1cb),_0x42e001),_0x57882a[_0xabb067(0x1b8)](_0xabb067(0x199),!0x1),this[_0xabb067(0x209)]=_0x57882a[_0xabb067(0x1e5)](_0xabb067(0x199)),this[_0xabb067(0x1ea)]();}[_0x51127d(0x1b2)](_0x2baefc,_0x74dbb){const _0x4f561d=_0x51127d;0x0===this[_0x4f561d(0x1e0)][_0x4f561d(0x1c5)]&&setTimeout(()=>{const _0x286a68=_0x4f561d;for(const [_0x362a7a,_0x656dc0]of this[_0x286a68(0x1e0)]){const _0x352b61=this[_0x286a68(0x1f8)][_0x286a68(0x180)](_0x362a7a);_0x352b61||_0x656dc0?_0x352b61&&_0x656dc0&&this[_0x286a68(0x1a6)](_0x362a7a):this[_0x286a68(0x1d9)](_0x362a7a);}this[_0x286a68(0x1e0)][_0x286a68(0x20f)](),this[_0x286a68(0x214)][_0x286a68(0x1ce)][_0x286a68(0x1e5)](_0x286a68(0x1fe))[_0x286a68(0x205)](),this[_0x286a68(0x1e4)]();},0xa),this[_0x4f561d(0x1e0)][_0x4f561d(0x191)](_0x2baefc,_0x74dbb);}[_0x51127d(0x1e7)](){const _0x4a4483=_0x51127d,_0x4c4e3e=this[_0x4a4483(0x214)],_0x3032db=_0x4c4e3e[_0x4a4483(0x1ce)][_0x4a4483(0x1e5)](_0x4a4483(0x1eb)),_0x4636fb=_0x4c4e3e[_0x4a4483(0x1ce)][_0x4a4483(0x1e5)](_0x4a4483(0x1be)),_0x1ff8cd=_0x4c4e3e[_0x4a4483(0x1ce)][_0x4a4483(0x1e5)](_0x4a4483(0x1fe)),_0x4f8188=_0x4c4e3e[_0x4a4483(0x1ce)][_0x4a4483(0x1e5)](_0x4a4483(0x1cf));this[_0x4a4483(0x198)](),_0x1ff8cd[_0x4a4483(0x1ae)](()=>{const _0xd4f3ba=_0x4a4483,_0x459e0a=[];for(const [_0x420cbc,_0x4e97e2]of Array[_0xd4f3ba(0x1e9)](this[_0xd4f3ba(0x1f8)])){const _0x5b9964=_0x420cbc[_0xd4f3ba(0x1fd)](),_0x2ed2ab=[];for(const _0x4ae4f0 of _0x5b9964){if(!_0x4ae4f0[_0xd4f3ba(0x1c7)])continue;if(_0x4ae4f0[_0xd4f3ba(0x20e)]){_0x2ed2ab[_0xd4f3ba(0x1c0)](..._0x4ae4f0[_0xd4f3ba(0x189)]());continue;}const _0x4180a4=_0x4ae4f0[_0xd4f3ba(0x1d3)]();if(_0x2ed2ab[_0xd4f3ba(0x18e)]>0x0){const _0x14daec=_0x2ed2ab[0x0][_0xd4f3ba(0x1ef)](_0x4180a4);if(_0x14daec){_0x2ed2ab[0x0]=_0x14daec;continue;}}_0x2ed2ab[_0xd4f3ba(0x1c0)](_0x4180a4);}_0x459e0a[_0xd4f3ba(0x1c0)]([_0x4e97e2[_0xd4f3ba(0x1ca)],_0x2ed2ab]);}return _0x459e0a;}),this[_0x4a4483(0x1a5)](_0x3032db,_0x4a4483(0x204),(_0x2c3990,_0x2bf1ba)=>{const _0x4d0c83=_0x4a4483;this[_0x4d0c83(0x1a5)](_0x2bf1ba,_0x4d0c83(0x1da),(_0x1a942f,_0x1ab33d,_0x3214c9,_0x74e287)=>{const _0x2fd36f=_0x4d0c83;_0x2bf1ba[_0x2fd36f(0x1c7)]&&(null==_0x3214c9?(this[_0x2fd36f(0x1c4)](_0x74e287[_0x2fd36f(0x18c)]),this[_0x2fd36f(0x1b2)](_0x2bf1ba,!0x1)):(this[_0x2fd36f(0x1c4)](_0x3214c9[_0x2fd36f(0x18c)]),null==_0x74e287&&this[_0x2fd36f(0x1b2)](_0x2bf1ba,!0x0)));}),null!==_0x2bf1ba[_0x4d0c83(0x1a3)]?this[_0x4d0c83(0x1c4)](_0x2bf1ba[_0x4d0c83(0x18c)]):this[_0x4d0c83(0x1b2)](_0x2bf1ba,!0x1);}),this[_0x4a4483(0x1a5)](_0x3032db,_0x4a4483(0x185),(_0xa2e24b,_0x1f82bc,_0x522882)=>{const _0x1c3aa1=_0x4a4483;this[_0x1c3aa1(0x1d7)](_0x1f82bc,_0x1c3aa1(0x1da)),this[_0x1c3aa1(0x1e0)][_0x1c3aa1(0x1c6)](_0x1f82bc),this[_0x1c3aa1(0x1f8)][_0x1c3aa1(0x180)](_0x1f82bc)&&this[_0x1c3aa1(0x1a6)](_0x1f82bc),_0x522882&&this[_0x1c3aa1(0x1c4)](_0x522882[_0x1c3aa1(0x18c)]);}),this[_0x4a4483(0x1a5)](_0x3032db,_0x4a4483(0x19f),(_0x3c37e2,_0x236153)=>{const _0x5e46be=_0x4a4483;this[_0x5e46be(0x1c4)](_0x236153);}),this[_0x4a4483(0x1a5)](_0x4636fb,_0x4a4483(0x207),()=>{const _0x23cb71=_0x4a4483;this[_0x23cb71(0x1e4)]();}),this[_0x4a4483(0x1a5)](_0x4f8188,_0x4a4483(0x1f7),(_0x4abd2a,{threadId:_0xa5eb68,isFromAdapter:_0x87d619})=>{const _0x5b0d8c=_0x4a4483;if(_0x87d619||!_0x3032db[_0x5b0d8c(0x213)](_0xa5eb68))return;const _0x50d04b=_0x3032db[_0x5b0d8c(0x1bc)](_0xa5eb68);this[_0x5b0d8c(0x1f8)][_0x5b0d8c(0x1e5)](_0x50d04b)[_0x5b0d8c(0x1ca)][_0x5b0d8c(0x20b)][_0x5b0d8c(0x1b4)](-0x1);},{'priority':_0x4a4483(0x1bd)});}[_0x51127d(0x1e4)](){const _0x49ae7c=_0x51127d,_0x2554a4=this[_0x49ae7c(0x214)][_0x49ae7c(0x1ce)][_0x49ae7c(0x1e5)](_0x49ae7c(0x1be)),_0x238cc1=this[_0x49ae7c(0x214)][_0x49ae7c(0x1ce)][_0x49ae7c(0x1e5)](_0x49ae7c(0x1eb)),_0x45e6cb=Array[_0x49ae7c(0x1e9)](_0x2554a4[_0x49ae7c(0x1f1)],_0xc84a75=>_0xc84a75[_0x49ae7c(0x206)])[_0x49ae7c(0x1c1)](_0x507b3d=>this[_0x49ae7c(0x1df)][_0x49ae7c(0x180)](_0x507b3d)),_0x24ac17=[];for(const _0x35f773 of _0x45e6cb){const _0x18c47e=this[_0x49ae7c(0x1df)][_0x49ae7c(0x1e5)](_0x35f773)[_0x49ae7c(0x1ac)][_0x49ae7c(0x1fd)]();_0x24ac17[_0x49ae7c(0x1c0)](..._0x18c47e[_0x49ae7c(0x210)]((_0x46e301,_0x44016d)=>[..._0x46e301,..._0x44016d[_0x49ae7c(0x1f0)]()],[]));}_0x238cc1[_0x49ae7c(0x192)]=_0x24ac17;}[_0x51127d(0x198)](){const _0xb8ef39=_0x51127d,_0x2fa296=this[_0xb8ef39(0x214)],_0x357004=_0x2fa296[_0xb8ef39(0x202)],_0x5e1aa2=_0xaf49cc(_0x357004,_0xb8ef39(0x1f3)),_0x2a7139=new _0x52984f([{'type':_0xb8ef39(0x211),'model':new _0x344c97({'withText':!0x0,'isToggleable':!0x0,'label':_0x5e1aa2,'commandName':_0xb8ef39(0x1b0),'role':_0xb8ef39(0x1f6)})},{'type':_0xb8ef39(0x1cd)},{'type':_0xb8ef39(0x20a),'model':new _0x344c97({'withText':!0x0,'label':_0xaf49cc(_0x357004,_0xb8ef39(0x1c3)),'commandName':_0xb8ef39(0x1e6),'role':_0xb8ef39(0x1dc)})},{'type':_0xb8ef39(0x20a),'model':new _0x344c97({'withText':!0x0,'label':_0xaf49cc(_0x357004,_0xb8ef39(0x20d)),'commandName':_0xb8ef39(0x1bb),'role':_0xb8ef39(0x1dc)})},{'type':_0xb8ef39(0x20a),'model':new _0x344c97({'withText':!0x0,'label':_0xaf49cc(_0x357004,_0xb8ef39(0x190)),'commandName':_0xb8ef39(0x1b9),'role':_0xb8ef39(0x1dc)})},{'type':_0xb8ef39(0x20a),'model':new _0x344c97({'withText':!0x0,'label':_0xaf49cc(_0x357004,_0xb8ef39(0x212)),'commandName':_0xb8ef39(0x1a1),'role':_0xb8ef39(0x1dc)})}]);for(const _0x12a6ec of _0x2a7139)if(me(_0x12a6ec)){const _0x1e3aba=_0x2fa296[_0xb8ef39(0x1a8)][_0xb8ef39(0x1e5)](_0x12a6ec[_0xb8ef39(0x1ac)][_0xb8ef39(0x1d6)]);_0x12a6ec[_0xb8ef39(0x1ac)][_0xb8ef39(0x1c2)](_0xb8ef39(0x17f),_0xb8ef39(0x188))['to'](_0x1e3aba,_0xb8ef39(0x1dd),_0xb8ef39(0x188));}_0x2fa296['ui'][_0xb8ef39(0x1cc)][_0xb8ef39(0x203)](_0xb8ef39(0x1b0),_0x1d674b=>this[_0xb8ef39(0x1e3)](_0x1d674b,_0x2a7139,_0x5e1aa2)),_0x2fa296['ui'][_0xb8ef39(0x1cc)][_0xb8ef39(0x203)](_0xb8ef39(0x1b6),_0x1c66fb=>this[_0xb8ef39(0x217)](_0x1c66fb,_0x2a7139,_0x5e1aa2));}[_0x51127d(0x1e3)](_0x346ef4,_0x1ef320,_0x21a5cb){const _0x356720=_0x51127d,_0x140572=_0x4ca201(_0x346ef4,_0x1c0d0e),_0x5ae7f0=this[_0x356720(0x214)][_0x356720(0x1a8)][_0x356720(0x1e5)](_0x356720(0x1b0));_0x140572[_0x356720(0x1c9)][_0x356720(0x191)]({'tooltip':_0x21a5cb,'label':_0x21a5cb,'icon':_0x29eb9b}),_0x140572[_0x356720(0x1c9)][_0x356720(0x1c2)](_0x356720(0x17f))['to'](_0x5ae7f0,_0x356720(0x1dd)),_0x140572[_0x356720(0x1c9)]['on'](_0x356720(0x182),()=>{const _0x26d4ef=_0x356720;_0x5ae7f0[_0x26d4ef(0x182)](),this[_0x26d4ef(0x214)][_0x26d4ef(0x19b)][_0x26d4ef(0x1ca)][_0x26d4ef(0x1b4)]();}),_0x47a603(_0x140572,_0x1ef320,{'role':_0x356720(0x1ab)});const _0x5a610e=[];for(const _0xd0a687 of _0x1ef320)me(_0xd0a687)&&_0x5a610e[_0x356720(0x1c0)](this[_0x356720(0x214)][_0x356720(0x1a8)][_0x356720(0x1e5)](_0xd0a687[_0x356720(0x1ac)][_0x356720(0x1d6)]));const _0xe7abcf=_0x140572[_0x356720(0x1c9)];return _0xe7abcf[_0x356720(0x19c)][_0x356720(0x215)](_0x356720(0x188)),_0xe7abcf[_0x356720(0x1fb)][_0x356720(0x215)](_0x356720(0x188)),_0xe7abcf[_0x356720(0x19c)][_0x356720(0x1c2)](_0x356720(0x188))['to'](_0x5ae7f0,_0x356720(0x188)),_0xe7abcf[_0x356720(0x1fb)][_0x356720(0x1c2)](_0x356720(0x188))[_0x356720(0x1a7)](_0x5a610e,_0x356720(0x188),(..._0x2aeff8)=>_0x2aeff8[_0x356720(0x1f5)](_0x2d0e88=>_0x2d0e88)),_0x140572['on'](_0x356720(0x182),_0x144962=>{const _0x156f37=_0x356720;this[_0x156f37(0x214)][_0x156f37(0x182)](_0x144962[_0x156f37(0x20c)][_0x156f37(0x1d6)]),this[_0x156f37(0x214)][_0x156f37(0x19b)][_0x156f37(0x1ca)][_0x156f37(0x1b4)]();}),_0x140572;}[_0x51127d(0x217)](_0x54669d,_0x38c759,_0x465b4f){const _0x786f34=_0x51127d,_0x1f7838=new _0x39eeba(_0x54669d),_0x330179=this[_0x786f34(0x214)][_0x786f34(0x1a8)][_0x786f34(0x1e5)](_0x786f34(0x1b0));_0x1f7838[_0x786f34(0x1c9)][_0x786f34(0x191)]({'label':_0x465b4f,'icon':_0x29eb9b});const _0xbb5e3f=new _0xee3f39(_0x54669d);for(const _0x1afe31 of _0x38c759){if(_0x786f34(0x1cd)==_0x1afe31[_0x786f34(0x1b7)]){_0xbb5e3f[_0x786f34(0x1b1)][_0x786f34(0x203)](new _0x1e3594(_0x54669d));continue;}const _0x5e8ce0=new _0x5b7602(_0x54669d,_0x1f7838),_0x9ff1d6=new _0x25def7(_0x54669d),_0x4a9a41=_0x1afe31[_0x786f34(0x1ac)];_0x9ff1d6[_0x786f34(0x1c2)](...Object[_0x786f34(0x1e2)](_0x4a9a41))['to'](_0x4a9a41),_0x9ff1d6[_0x786f34(0x1d0)](_0x786f34(0x182))['to'](_0x1f7838),_0x9ff1d6['on'](_0x786f34(0x182),()=>{const _0x59b4d4=_0x786f34;this[_0x59b4d4(0x214)][_0x59b4d4(0x182)](_0x4a9a41[_0x59b4d4(0x1d6)]),this[_0x59b4d4(0x214)][_0x59b4d4(0x19b)][_0x59b4d4(0x1ca)][_0x59b4d4(0x1b4)]();}),_0x5e8ce0[_0x786f34(0x1d5)][_0x786f34(0x203)](_0x9ff1d6),_0xbb5e3f[_0x786f34(0x1b1)][_0x786f34(0x203)](_0x5e8ce0);}return _0x1f7838[_0x786f34(0x1c2)](_0x786f34(0x188))['to'](_0x330179,_0x786f34(0x188)),_0x1f7838[_0x786f34(0x218)][_0x786f34(0x1d5)][_0x786f34(0x203)](_0xbb5e3f),_0x1f7838;}[_0x51127d(0x1d9)](_0x51b885){const _0x3313ab=_0x51127d,_0x51517b=this[_0x3313ab(0x214)],_0x5324f6=_0x51517b[_0x3313ab(0x1b3)],_0x4f3544=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1be)),_0x5afb93=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1cf)),_0x4a9b81=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1fe)),_0x2e3acd=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x631dd5)['me'],_0x29277e=_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x1b0))[_0x3313ab(0x1ed)],_0x30f566=_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x1b0))[_0x3313ab(0x18b)],{CommentsListView:_0x237036,CommentThreadInputView:_0x522bc6}=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1db));let _0x5d2d3a,_0x370c7e;this[_0x3313ab(0x1d4)][_0x3313ab(0x180)](_0x51b885['id'])?(_0x370c7e=this[_0x3313ab(0x1d4)][_0x3313ab(0x1e5)](_0x51b885['id']),_0x5d2d3a=_0x370c7e[_0x3313ab(0x19d)]):(_0x5d2d3a=new _0x29277e(_0x51517b[_0x3313ab(0x202)],_0x51b885,_0x2e3acd,{'disableComments':this[_0x3313ab(0x209)],'editorConfig':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x186)),'maxCommentsWhenCollapsed':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x1a0)),'maxThreadTotalWeight':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x19e)),'maxCommentCharsWhenCollapsed':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x201)),'formatDateTime':_0x958b62(_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x202))),'CommentView':_0x5324f6[_0x3313ab(0x1e5)](_0x3313ab(0x1e8))[_0x3313ab(0x196)],'CommentsListView':_0x237036,'CommentThreadInputView':_0x522bc6,'SuggestionView':_0x30f566}),_0x5d2d3a[_0x3313ab(0x1a4)][_0x3313ab(0x18d)]['on'](_0x3313ab(0x182),()=>{const _0x169971=_0x3313ab;_0x51517b[_0x169971(0x19b)][_0x169971(0x1ca)][_0x169971(0x1b4)]();}),_0x5d2d3a[_0x3313ab(0x1a4)][_0x3313ab(0x200)]['on'](_0x3313ab(0x182),()=>{const _0x5c8a83=_0x3313ab;_0x51517b[_0x5c8a83(0x19b)][_0x5c8a83(0x1ca)][_0x5c8a83(0x1b4)]();}),_0x370c7e=_0x4f3544[_0x3313ab(0x1a9)](this[_0x3313ab(0x214)][_0x3313ab(0x202)],_0x5d2d3a),_0x370c7e[_0x3313ab(0x1c2)](_0x3313ab(0x1ec))['to'](_0x5d2d3a,_0x3313ab(0x1ec)),_0x370c7e[_0x3313ab(0x1c2)](_0x3313ab(0x18e))['to'](_0x5d2d3a),_0x370c7e[_0x3313ab(0x1c2)](_0x3313ab(0x1b7))['to'](_0x5d2d3a,_0x3313ab(0x1b7),_0x3b8d2a=>_0x3313ab(0x1fa)+_0x3b8d2a),this[_0x3313ab(0x1a5)](_0x5d2d3a,_0x3313ab(0x216),()=>{const _0x18d67b=_0x3313ab;_0x51517b[_0x18d67b(0x19b)][_0x18d67b(0x1ca)][_0x18d67b(0x1b4)]();},{'priority':_0x3313ab(0x1ba)}),this[_0x3313ab(0x1d4)][_0x3313ab(0x191)](_0x51b885['id'],_0x370c7e));const _0x5e595a=_0x5afb93[_0x3313ab(0x1e1)](_0x51b885[_0x3313ab(0x1d2)],_0x5d2d3a),_0x105267=new _0x13796a(_0x51517b,_0x51b885,_0x5d2d3a,_0x5e595a),_0x2ea225=_0x51b885[_0x3313ab(0x1fd)]()[_0x3313ab(0x1c1)](_0x5ec9db=>_0x5ec9db[_0x3313ab(0x1c7)]);_0x5d2d3a[_0x3313ab(0x1aa)]=_0x51517b[_0x3313ab(0x1ce)][_0x3313ab(0x1e5)](_0x3313ab(0x1eb))[_0x3313ab(0x187)][_0x3313ab(0x184)](_0x2ea225),this[_0x3313ab(0x1f8)][_0x3313ab(0x191)](_0x51b885,_0x105267),this[_0x3313ab(0x1df)][_0x3313ab(0x191)](_0x5d2d3a,_0x105267);const _0xe4887=_0x4f3544[_0x3313ab(0x19a)]({'view':_0x370c7e,'target':()=>{const _0x5465d9=_0x3313ab,_0x376267=[],_0x32f9c0=_0x51b885[_0x5465d9(0x1fd)]()[_0x5465d9(0x1c1)](_0x5d4570=>_0x5d4570[_0x5465d9(0x1c7)]);for(const _0x5a3493 of _0x32f9c0)_0x376267[_0x5465d9(0x1c0)](..._0x5a3493[_0x5465d9(0x1ff)]());return _0x207d87(_0x51517b[_0x5465d9(0x19b)],_0x376267);},'type':()=>_0x3313ab(0x1fa)+_0x105267[_0x3313ab(0x1ca)][_0x3313ab(0x1b7)]});_0x5afb93[_0x3313ab(0x181)](_0x5d2d3a,_0xe4887),_0x4f3544[_0x3313ab(0x203)](_0xe4887),_0x4a9b81[_0x3313ab(0x1c8)](_0xe4887);}[_0x51127d(0x1a6)](_0x2b65c9){const _0x25e959=_0x51127d,_0x2e67b3=this[_0x25e959(0x214)][_0x25e959(0x1ce)][_0x25e959(0x1e5)](_0x25e959(0x1cf)),_0x199e24=this[_0x25e959(0x214)][_0x25e959(0x1ce)][_0x25e959(0x1e5)](_0x25e959(0x1be)),_0x4422d3=this[_0x25e959(0x1f8)][_0x25e959(0x1e5)](_0x2b65c9),_0xc2cb00=_0x4422d3[_0x25e959(0x1ca)],_0x115ecd=_0x199e24[_0x25e959(0x18a)](_0xc2cb00);_0x2e67b3[_0x25e959(0x183)](_0xc2cb00),_0x115ecd&&_0x199e24[_0x25e959(0x1bf)](_0x115ecd),this[_0x25e959(0x1f8)][_0x25e959(0x1c6)](_0x2b65c9),this[_0x25e959(0x1df)][_0x25e959(0x1c6)](_0xc2cb00),_0x4422d3[_0x25e959(0x1ee)]();}[_0x51127d(0x1c4)](_0x2203bc){const _0x4fef42=_0x51127d;if(!_0x2203bc[_0x4fef42(0x1c7)]||!this[_0x4fef42(0x1f8)][_0x4fef42(0x180)](_0x2203bc))return;const _0x4cdaa3=this[_0x4fef42(0x214)][_0x4fef42(0x1ce)][_0x4fef42(0x1e5)](_0x4fef42(0x1eb)),_0xb22327=this[_0x4fef42(0x1f8)][_0x4fef42(0x1e5)](_0x2203bc),_0x16bc09=_0x2203bc[_0x4fef42(0x1fd)]();_0xb22327[_0x4fef42(0x1ca)][_0x4fef42(0x1aa)]=_0x4cdaa3[_0x4fef42(0x187)][_0x4fef42(0x184)](_0x16bc09);}[_0x51127d(0x1ea)](){const _0x550e51=_0x51127d;this[_0x550e51(0x214)][_0x550e51(0x1d8)][_0x550e51(0x191)](_0x514796,(_0x1cc723,_0x39f886)=>{const _0x3e8a79=_0x550e51,_0x36d892=this[_0x3e8a79(0x214)][_0x3e8a79(0x1ce)][_0x3e8a79(0x1e5)](_0x146e82),_0x4eabd8=this[_0x3e8a79(0x214)][_0x3e8a79(0x1ce)][_0x3e8a79(0x1e5)](_0xc5717c);if(!_0x4eabd8[_0x3e8a79(0x192)][_0x3e8a79(0x18e)])return;const {id:_0x3ca947}=_0x4eabd8[_0x3e8a79(0x18f)](_0x4eabd8[_0x3e8a79(0x192)][0x0]),_0x3bfdcc=_0x36d892[_0x3e8a79(0x1bc)](_0x3ca947);_0x3bfdcc&&(this[_0x3e8a79(0x1f8)][_0x3e8a79(0x1e5)](_0x3bfdcc)[_0x3e8a79(0x1ca)][_0x3e8a79(0x1b4)](),_0x39f886());});}[_0x51127d(0x1ee)](){const _0x3e2857=_0x51127d;for(const _0xecd8d0 of this[_0x3e2857(0x1f8)][_0x3e2857(0x1e2)]())this[_0x3e2857(0x1a6)](_0xecd8d0);for(const _0xe04d5e of this[_0x3e2857(0x1d4)][_0x3e2857(0x1ad)]())_0xe04d5e[_0x3e2857(0x19d)][_0x3e2857(0x1ee)]();super[_0x3e2857(0x1ee)]();}}function me(_0x485fb9){const _0x154ed0=_0x51127d;return _0x154ed0(0x1ac)in _0x485fb9;}
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import type { Editor } from 'ckeditor5/src/core.js';
6
6
  import type Suggestion from '../suggestion.js';
7
- import type BaseSuggestionThreadView from './view/basesuggestionthreadview.js';
7
+ import type { default as BaseSuggestionThreadView } from './view/basesuggestionthreadview.js';
8
8
  import type { CommentThreadController } from '@ckeditor/ckeditor5-comments';
9
9
  declare const SuggestionController_base: {
10
10
  new (): import("ckeditor5/src/utils.js").Observable;
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x302e61=_0x3f6e;(function(_0x144756,_0x4e844a){const _0x27325b=_0x3f6e,_0xac5ea8=_0x144756();while(!![]){try{const _0x31bce1=parseInt(_0x27325b(0xaf))/0x1+parseInt(_0x27325b(0xb4))/0x2+-parseInt(_0x27325b(0xae))/0x3+parseInt(_0x27325b(0x90))/0x4+-parseInt(_0x27325b(0xab))/0x5+-parseInt(_0x27325b(0x9b))/0x6+parseInt(_0x27325b(0xb2))/0x7;if(_0x31bce1===_0x4e844a)break;else _0xac5ea8['push'](_0xac5ea8['shift']());}catch(_0x3ceaad){_0xac5ea8['push'](_0xac5ea8['shift']());}}}(_0x334f,0x3f7c4));import{ObservableMixin as _0x49b0d7}from'ckeditor5/src/utils.js';import{getTranslation as _0x3c61cf}from'../utils/common-translations.js';function _0x3f6e(_0x15a85c,_0x4f5d8b){const _0x334ff4=_0x334f();return _0x3f6e=function(_0x3f6e8d,_0x5ce41e){_0x3f6e8d=_0x3f6e8d-0x90;let _0x4f0342=_0x334ff4[_0x3f6e8d];return _0x4f0342;},_0x3f6e(_0x15a85c,_0x4f5d8b);}function _0x334f(){const _0xdeead8=['2438128SxMNEq','execute','805010ezXdbs','unbind','_editor','668584SIhohM','add','_acceptCommand','model','commentThreadController','getRanges','stopListening','plugins','acceptSuggestion','canDiscard','commands','2839086SdwLij','canAccept','_removePendingAction','PENDING_ACTION_SUGGESTION','locale','bind','destroy','remove','get','canEditAt','change:isDirty','isEnabled','isDirty','_setPendingAction','discardSuggestion','view','824245NilGmD','_pendingAction','_discardCommand','1024908WccoYy','321747kucMOm','PendingActions','listenTo'];_0x334f=function(){return _0xdeead8;};return _0x334f();}export default class ae extends/* #__PURE__ -- @preserve */
24
- _0x49b0d7(){constructor(_0x41a676,_0x4aed97,_0x38d30e,_0x36fec8){const _0x5854c1=_0x3f6e;super(),this[_0x5854c1(0x93)]=_0x4aed97,this[_0x5854c1(0xaa)]=_0x38d30e,this[_0x5854c1(0x94)]=_0x36fec8,this[_0x5854c1(0xb6)]=_0x41a676,this[_0x5854c1(0x92)]=_0x41a676[_0x5854c1(0x9a)][_0x5854c1(0xa3)](_0x5854c1(0x98)),this[_0x5854c1(0xad)]=_0x41a676[_0x5854c1(0x9a)][_0x5854c1(0xa3)](_0x5854c1(0xa9)),this[_0x5854c1(0xaa)][_0x5854c1(0xa0)](_0x5854c1(0xa6))['to'](this[_0x5854c1(0x92)],this[_0x5854c1(0xad)],(_0x51da5c,_0x6af2ae)=>_0x51da5c||_0x6af2ae),this[_0x5854c1(0xaa)][_0x5854c1(0xa0)](_0x5854c1(0x9c))['to'](this[_0x5854c1(0x92)],_0x5854c1(0xa6),_0x8f1d36=>_0x8f1d36&&this[_0x5854c1(0xb6)][_0x5854c1(0x93)][_0x5854c1(0xa4)](_0x4aed97[_0x5854c1(0x95)]())),this[_0x5854c1(0xaa)][_0x5854c1(0xa0)](_0x5854c1(0x99))['to'](this[_0x5854c1(0xad)],_0x5854c1(0xa6),_0x4108c5=>_0x4108c5&&this[_0x5854c1(0xb6)][_0x5854c1(0x93)][_0x5854c1(0xa4)](_0x4aed97[_0x5854c1(0x95)]())),this[_0x5854c1(0xac)]=null,_0x38d30e[_0x5854c1(0xa7)]&&this[_0x5854c1(0xa8)](),this[_0x5854c1(0xb1)](_0x38d30e,_0x5854c1(0x98),()=>this[_0x5854c1(0x98)]()),this[_0x5854c1(0xb1)](_0x38d30e,_0x5854c1(0xa9),()=>this[_0x5854c1(0xa9)]()),this[_0x5854c1(0xb1)](_0x38d30e,_0x5854c1(0xa5),()=>{const _0x2f8c92=_0x5854c1;_0x38d30e[_0x2f8c92(0xa7)]?this[_0x2f8c92(0xa8)]():this[_0x2f8c92(0x9d)]();});}[_0x302e61(0x98)](){const _0x895a25=_0x302e61;this[_0x895a25(0x92)][_0x895a25(0xb3)](this[_0x895a25(0x93)]['id']);}[_0x302e61(0xa9)](){const _0x5d4e73=_0x302e61;this[_0x5d4e73(0xad)][_0x5d4e73(0xb3)](this[_0x5d4e73(0x93)]['id']);}[_0x302e61(0xa1)](){const _0x1c0a7b=_0x302e61;this[_0x1c0a7b(0xaa)][_0x1c0a7b(0xb5)](_0x1c0a7b(0xa6)),this[_0x1c0a7b(0xaa)][_0x1c0a7b(0xb5)](_0x1c0a7b(0x9c)),this[_0x1c0a7b(0xaa)][_0x1c0a7b(0xb5)](_0x1c0a7b(0x99)),this[_0x1c0a7b(0x96)](),this[_0x1c0a7b(0x94)][_0x1c0a7b(0xa1)](),this[_0x1c0a7b(0xac)]&&this[_0x1c0a7b(0x9d)]();}[_0x302e61(0xa8)](){const _0x34fc36=_0x302e61,_0x2db0d8=_0x3c61cf(this[_0x34fc36(0xb6)][_0x34fc36(0x9f)],_0x34fc36(0x9e));this[_0x34fc36(0xac)]=this[_0x34fc36(0xb6)][_0x34fc36(0x97)][_0x34fc36(0xa3)](_0x34fc36(0xb0))[_0x34fc36(0x91)](_0x2db0d8);}[_0x302e61(0x9d)](){const _0x5dc78b=_0x302e61;null!==this[_0x5dc78b(0xac)]&&this[_0x5dc78b(0xb6)][_0x5dc78b(0x97)][_0x5dc78b(0xa3)](_0x5dc78b(0xb0))[_0x5dc78b(0xa2)](this[_0x5dc78b(0xac)]),this[_0x5dc78b(0xac)]=null;}}
23
+ const _0x1f5529=_0x5e6d;(function(_0x2fcb78,_0x617252){const _0x1f2953=_0x5e6d,_0x391ddb=_0x2fcb78();while(!![]){try{const _0x1f42c6=-parseInt(_0x1f2953(0x93))/0x1+-parseInt(_0x1f2953(0xa8))/0x2*(-parseInt(_0x1f2953(0xad))/0x3)+-parseInt(_0x1f2953(0x8f))/0x4+parseInt(_0x1f2953(0x95))/0x5*(parseInt(_0x1f2953(0xaf))/0x6)+parseInt(_0x1f2953(0xab))/0x7*(-parseInt(_0x1f2953(0x8d))/0x8)+-parseInt(_0x1f2953(0x92))/0x9+parseInt(_0x1f2953(0x88))/0xa;if(_0x1f42c6===_0x617252)break;else _0x391ddb['push'](_0x391ddb['shift']());}catch(_0x2962fd){_0x391ddb['push'](_0x391ddb['shift']());}}}(_0x5d62,0x6bca5));import{ObservableMixin as _0x2509df}from'ckeditor5/src/utils.js';function _0x5d62(){const _0x397882=['5583078bMAnVh','707079JvsTKY','_setPendingAction','2245zagUqG','change:isDirty','bind','commands','commentThreadController','execute','add','PENDING_ACTION_SUGGESTION','acceptSuggestion','_pendingAction','_discardCommand','locale','canAccept','_acceptCommand','_editor','get','PendingActions','canEditAt','remove','97426NvHgnj','listenTo','discardSuggestion','40418NzdURP','destroy','39DxpNTB','isDirty','11106ADFEWP','_removePendingAction','getRanges','16258610cQzemO','model','plugins','unbind','view','1056XPJZqJ','isEnabled','2236524NnJnkK','stopListening','canDiscard'];_0x5d62=function(){return _0x397882;};return _0x5d62();}import{getTranslation as _0x474364}from'../utils/common-translations.js';function _0x5e6d(_0x2a5ebb,_0x1ace82){const _0x5d62cc=_0x5d62();return _0x5e6d=function(_0x5e6d3f,_0x2067d1){_0x5e6d3f=_0x5e6d3f-0x88;let _0x341c0a=_0x5d62cc[_0x5e6d3f];return _0x341c0a;},_0x5e6d(_0x2a5ebb,_0x1ace82);}export default class ae extends/* #__PURE__ -- @preserve */
24
+ _0x2509df(){constructor(_0x281f24,_0x2ad649,_0x438e8b,_0x5d248d){const _0x59d36d=_0x5e6d;super(),this[_0x59d36d(0x89)]=_0x2ad649,this[_0x59d36d(0x8c)]=_0x438e8b,this[_0x59d36d(0x99)]=_0x5d248d,this[_0x59d36d(0xa3)]=_0x281f24,this[_0x59d36d(0xa2)]=_0x281f24[_0x59d36d(0x98)][_0x59d36d(0xa4)](_0x59d36d(0x9d)),this[_0x59d36d(0x9f)]=_0x281f24[_0x59d36d(0x98)][_0x59d36d(0xa4)](_0x59d36d(0xaa)),this[_0x59d36d(0x8c)][_0x59d36d(0x97)](_0x59d36d(0x8e))['to'](this[_0x59d36d(0xa2)],this[_0x59d36d(0x9f)],(_0x5bdd3b,_0x1e758e)=>_0x5bdd3b||_0x1e758e),this[_0x59d36d(0x8c)][_0x59d36d(0x97)](_0x59d36d(0xa1))['to'](this[_0x59d36d(0xa2)],_0x59d36d(0x8e),_0xb43d31=>_0xb43d31&&this[_0x59d36d(0xa3)][_0x59d36d(0x89)][_0x59d36d(0xa6)](_0x2ad649[_0x59d36d(0xb1)]())),this[_0x59d36d(0x8c)][_0x59d36d(0x97)](_0x59d36d(0x91))['to'](this[_0x59d36d(0x9f)],_0x59d36d(0x8e),_0x1ef5c9=>_0x1ef5c9&&this[_0x59d36d(0xa3)][_0x59d36d(0x89)][_0x59d36d(0xa6)](_0x2ad649[_0x59d36d(0xb1)]())),this[_0x59d36d(0x9e)]=null,_0x438e8b[_0x59d36d(0xae)]&&this[_0x59d36d(0x94)](),this[_0x59d36d(0xa9)](_0x438e8b,_0x59d36d(0x9d),()=>this[_0x59d36d(0x9d)]()),this[_0x59d36d(0xa9)](_0x438e8b,_0x59d36d(0xaa),()=>this[_0x59d36d(0xaa)]()),this[_0x59d36d(0xa9)](_0x438e8b,_0x59d36d(0x96),()=>{const _0x2ec3d1=_0x59d36d;_0x438e8b[_0x2ec3d1(0xae)]?this[_0x2ec3d1(0x94)]():this[_0x2ec3d1(0xb0)]();});}[_0x1f5529(0x9d)](){const _0x4b6c6e=_0x1f5529;this[_0x4b6c6e(0xa2)][_0x4b6c6e(0x9a)](this[_0x4b6c6e(0x89)]['id']);}[_0x1f5529(0xaa)](){const _0x3844e0=_0x1f5529;this[_0x3844e0(0x9f)][_0x3844e0(0x9a)](this[_0x3844e0(0x89)]['id']);}[_0x1f5529(0xac)](){const _0x2b2926=_0x1f5529;this[_0x2b2926(0x8c)][_0x2b2926(0x8b)](_0x2b2926(0x8e)),this[_0x2b2926(0x8c)][_0x2b2926(0x8b)](_0x2b2926(0xa1)),this[_0x2b2926(0x8c)][_0x2b2926(0x8b)](_0x2b2926(0x91)),this[_0x2b2926(0x90)](),this[_0x2b2926(0x99)][_0x2b2926(0xac)](),this[_0x2b2926(0x9e)]&&this[_0x2b2926(0xb0)]();}[_0x1f5529(0x94)](){const _0x310d12=_0x1f5529,_0x268a43=_0x474364(this[_0x310d12(0xa3)][_0x310d12(0xa0)],_0x310d12(0x9c));this[_0x310d12(0x9e)]=this[_0x310d12(0xa3)][_0x310d12(0x8a)][_0x310d12(0xa4)](_0x310d12(0xa5))[_0x310d12(0x9b)](_0x268a43);}[_0x1f5529(0xb0)](){const _0x150076=_0x1f5529;null!==this[_0x150076(0x9e)]&&this[_0x150076(0xa3)][_0x150076(0x8a)][_0x150076(0xa4)](_0x150076(0xa5))[_0x150076(0xa7)](this[_0x150076(0x9e)]),this[_0x150076(0x9e)]=null;}}
@@ -13,6 +13,7 @@ import type Suggestion from '../../suggestion.js';
13
13
  import type { CommentsListView, CommentThreadInputView, CommentView } from '@ckeditor/ckeditor5-comments';
14
14
  import { AriaDescriptionView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
15
  import type { Description } from '../../suggestiondescriptionfactory.js';
16
+ import type SuggestionView from './suggestionview.js';
16
17
  /**
17
18
  * An abstract suggestion thread view class that should be used as a base for suggestion thread view implementations.
18
19
  * It provides some behaviors, flags and building blocks to use when creating a custom suggestion thread view class.
@@ -168,7 +169,9 @@ export default abstract class BaseSuggestionThreadView extends View {
168
169
  */
169
170
  export type AcceptSuggestionEvent = {
170
171
  name: 'acceptSuggestion';
171
- args: [];
172
+ args: [
173
+ id: string
174
+ ];
172
175
  };
173
176
  /**
174
177
  * Fired when a user performed an action that should lead to discarding the suggestion.
@@ -181,7 +184,9 @@ export type AcceptSuggestionEvent = {
181
184
  */
182
185
  export type DiscardSuggestionEvent = {
183
186
  name: 'discardSuggestion';
184
- args: [];
187
+ args: [
188
+ id: string
189
+ ];
185
190
  };
186
191
  /**
187
192
  * Config used for suggestion thread views.
@@ -196,4 +201,5 @@ export interface SuggestionThreadConfig {
196
201
  CommentView: typeof CommentView;
197
202
  CommentsListView: typeof CommentsListView;
198
203
  CommentThreadInputView: typeof CommentThreadInputView;
204
+ SuggestionView: typeof SuggestionView;
199
205
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27f59e=_0x1ea1;(function(_0x140df6,_0x423d2d){const _0x61a2d=_0x1ea1,_0x377403=_0x140df6();while(!![]){try{const _0x5d19db=-parseInt(_0x61a2d(0x201))/0x1*(-parseInt(_0x61a2d(0x1f1))/0x2)+parseInt(_0x61a2d(0x228))/0x3*(parseInt(_0x61a2d(0x20a))/0x4)+-parseInt(_0x61a2d(0x1ea))/0x5*(parseInt(_0x61a2d(0x214))/0x6)+-parseInt(_0x61a2d(0x20c))/0x7*(parseInt(_0x61a2d(0x1fa))/0x8)+parseInt(_0x61a2d(0x208))/0x9*(-parseInt(_0x61a2d(0x218))/0xa)+parseInt(_0x61a2d(0x204))/0xb+parseInt(_0x61a2d(0x21d))/0xc;if(_0x5d19db===_0x423d2d)break;else _0x377403['push'](_0x377403['shift']());}catch(_0x54f3da){_0x377403['push'](_0x377403['shift']());}}}(_0x236e,0x60734));import{FocusCycler as _0x4b6535,View as _0x5b41bc,ViewCollection as _0x2fe186}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1d4bef,KeystrokeHandler as _0x5129c9}from'ckeditor5/src/utils.js';function _0x1ea1(_0x1b973d,_0x49a2b0){const _0x236e15=_0x236e();return _0x1ea1=function(_0x1ea1d7,_0x3b7c96){_0x1ea1d7=_0x1ea1d7-0x1e2;let _0x1bb54d=_0x236e15[_0x1ea1d7];return _0x1bb54d;},_0x1ea1(_0x1b973d,_0x49a2b0);}import{AriaDescriptionView as _0x56e8e7,setupThreadKeyboardNavigation as _0x55dbe4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x236e(){const _0x4278b8=['authoredAt','ariaDescriptionView','formatDateTime','isDirty','author','19FvkPmq','_createCommentViews','isActive','1854831FdDZhl','canAccept','join','ariaLabel','2791629Ykkjzo','_model','1388BTHGXh','removeComment','112icFTub','isEnabled','CommentView','element','body','content','tab','editorConfig','42EfkruS','commentsListView','length','locale','10dAxVDD','target','textContent','editor','focusCycler','15513828ApVXXL','_localUser','bind','parseFromString','disableComments','render','focusables','hasDirtyComment','canDiscard','disabledSubmit','cancel','2745gZpcUh','submit','_config','showInput','addComment','setData','assign','set','keystrokes','value','isReadOnly','updateComment','SUGGESTION_THREAD_ARIA_LABEL','538640SfyzWN','descriptionParts','text/html','map','SUGGESTION_THREAD_DESCRIPTION','commentThreadInputView','commentInputView','3344SgoUSV','focus','focusTracker','fire','_createCommentThreadInputView','delegate','shift+tab','destroy','name','175688CpEpYq','commentThread'];_0x236e=function(){return _0x4278b8;};return _0x236e();}import{getTranslation as _0x26ddf6}from'../../utils/common-translations.js';import{renderDescription as _0x5d9eea}from'../../utils/utils.js';export default class us extends _0x5b41bc{constructor(_0x1f5eb0,_0x3ca7e7,_0x4a9029,_0x1d31df){const _0xa4bef7=_0x1ea1;super(_0x1f5eb0),this[_0xa4bef7(0x215)]=null,this[_0xa4bef7(0x1ef)]=null,this[_0xa4bef7(0x1fd)]=new _0x56e8e7(_0x1f5eb0,_0x26ddf6(_0x1f5eb0,_0xa4bef7(0x1ee))),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x203),!0x1),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x1fc),_0x3ca7e7[_0xa4bef7(0x1fc)]),this[_0xa4bef7(0x21f)](_0xa4bef7(0x1fc))['to'](_0x3ca7e7),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x1eb),[]),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x1ff),!0x1),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x20d),!0x1),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x205),!0x1),this[_0xa4bef7(0x1e4)](_0xa4bef7(0x225),!0x1),this[_0xa4bef7(0x21f)](_0xa4bef7(0x207))['to'](this,_0xa4bef7(0x216),_0x3ca7e7,_0xa4bef7(0x1fc),this,_0xa4bef7(0x1eb),(_0x51d096,_0x1733fb,_0x1e6baa)=>{const _0x19f3ff=_0xa4bef7,_0x5ba5a8=_0x1e6baa[_0x19f3ff(0x1ed)](_0xc2d6cb=>_0x5d9eea(_0xc2d6cb[_0x19f3ff(0x211)]))[_0x19f3ff(0x206)]('.\x20')+'.';return _0x26ddf6(this[_0x19f3ff(0x217)],_0x19f3ff(0x1e9),[_0x51d096-0x1,_0x3ca7e7[_0x19f3ff(0x200)][_0x19f3ff(0x1f9)],_0x1733fb?_0x1d31df[_0x19f3ff(0x1fe)](_0x1733fb):'',new DOMParser()[_0x19f3ff(0x220)](_0x5ba5a8,_0x19f3ff(0x1ec))[_0x19f3ff(0x210)][_0x19f3ff(0x21a)]]);}),this[_0xa4bef7(0x223)]=new _0x2fe186(),this[_0xa4bef7(0x1f3)]=new _0x1d4bef(),this[_0xa4bef7(0x1e5)]=new _0x5129c9(),this[_0xa4bef7(0x21c)]=new _0x4b6535({'focusables':this[_0xa4bef7(0x223)],'focusTracker':this[_0xa4bef7(0x1f3)],'keystrokeHandler':this[_0xa4bef7(0x1e5)],'keystrokeHandlerOptions':{'filter':_0x4b5922=>_0x4b5922[_0xa4bef7(0x219)]!==this[_0xa4bef7(0x20f)]},'actions':{'focusPrevious':_0xa4bef7(0x1f7),'focusNext':_0xa4bef7(0x212)}}),this[_0xa4bef7(0x209)]=_0x3ca7e7,this[_0xa4bef7(0x21e)]=_0x4a9029,this[_0xa4bef7(0x22a)]=_0x1d31df,_0x1d31df[_0xa4bef7(0x221)]?this[_0xa4bef7(0x1e4)](_0xa4bef7(0x216),0x1):this[_0xa4bef7(0x202)]();}[_0x27f59e(0x222)](){const _0x4d47cd=_0x27f59e;super[_0x4d47cd(0x222)](),_0x55dbe4(this,this[_0x4d47cd(0x223)]);}[_0x27f59e(0x1f2)](){const _0x24ce49=_0x27f59e;this[_0x24ce49(0x20f)][_0x24ce49(0x1f2)]();}[_0x27f59e(0x1f8)](){const _0x18cabb=_0x27f59e;this[_0x18cabb(0x215)]&&this[_0x18cabb(0x215)][_0x18cabb(0x1f8)](),this[_0x18cabb(0x1ef)]&&this[_0x18cabb(0x1ef)][_0x18cabb(0x1f8)](),super[_0x18cabb(0x1f8)]();}[_0x27f59e(0x202)](){const _0x5f05a1=_0x27f59e,{CommentsListView:_0x34e1c8}=this[_0x5f05a1(0x22a)];this[_0x5f05a1(0x215)]=new _0x34e1c8(this[_0x5f05a1(0x217)],this[_0x5f05a1(0x209)][_0x5f05a1(0x1fb)],Object[_0x5f05a1(0x1e3)]({'CommentView':this[_0x5f05a1(0x22a)][_0x5f05a1(0x20e)]},this[_0x5f05a1(0x22a)])),this[_0x5f05a1(0x215)][_0x5f05a1(0x1f6)](_0x5f05a1(0x20b))['to'](this),this[_0x5f05a1(0x215)][_0x5f05a1(0x1f6)](_0x5f05a1(0x1e8))['to'](this),this[_0x5f05a1(0x215)][_0x5f05a1(0x21f)](_0x5f05a1(0x203))['to'](this),this[_0x5f05a1(0x1e4)](_0x5f05a1(0x216),this[_0x5f05a1(0x215)][_0x5f05a1(0x216)]+0x1),this[_0x5f05a1(0x21f)](_0x5f05a1(0x216))['to'](this[_0x5f05a1(0x215)],_0x5f05a1(0x216),_0x57596f=>_0x57596f+0x1),this[_0x5f05a1(0x1ef)]=this[_0x5f05a1(0x1f5)](),this['on'](_0x5f05a1(0x20b),()=>this[_0x5f05a1(0x1f2)]()),this[_0x5f05a1(0x21f)](_0x5f05a1(0x1ff))['to'](this[_0x5f05a1(0x215)],_0x5f05a1(0x224),this[_0x5f05a1(0x1ef)][_0x5f05a1(0x1f0)],_0x5f05a1(0x1e6),(_0x141e8d,_0x26c4f9)=>_0x141e8d||!!_0x26c4f9);}[_0x27f59e(0x1f5)](){const _0x465e12=_0x27f59e,{CommentThreadInputView:_0x56f0f5}=this[_0x465e12(0x22a)],_0x4f6684=new _0x56f0f5(this[_0x465e12(0x217)],this[_0x465e12(0x21e)],this[_0x465e12(0x22a)][_0x465e12(0x213)]),_0x1ffaac=_0x4f6684[_0x465e12(0x1f0)];return _0x4f6684[_0x465e12(0x21f)](_0x465e12(0x22b))['to'](this,_0x465e12(0x203),this[_0x465e12(0x209)][_0x465e12(0x1fb)],_0x465e12(0x1e7),_0x1ffaac,_0x465e12(0x1e6),(_0xdac05c,_0x1fb212,_0x300e5d)=>!!_0x300e5d||_0xdac05c&&!_0x1fb212),_0x1ffaac['on'](_0x465e12(0x229),(_0x34dc19,_0x338bca)=>{const _0xe46ac7=_0x465e12;this[_0xe46ac7(0x1f4)](_0xe46ac7(0x22c),_0x338bca),_0x1ffaac[_0xe46ac7(0x21b)][_0xe46ac7(0x1e2)]('');}),_0x1ffaac['on'](_0x465e12(0x227),()=>this[_0x465e12(0x1f2)]()),_0x1ffaac[_0x465e12(0x21f)](_0x465e12(0x226))['to'](this[_0x465e12(0x209)][_0x465e12(0x1fb)],_0x465e12(0x1e7)),_0x4f6684;}}
23
+ const _0x16c01c=_0xe6fa;function _0xe6fa(_0x4d9e9f,_0x2b41c4){const _0x47ab2b=_0x47ab();return _0xe6fa=function(_0xe6faf3,_0x4a46d8){_0xe6faf3=_0xe6faf3-0x14a;let _0x508391=_0x47ab2b[_0xe6faf3];return _0x508391;},_0xe6fa(_0x4d9e9f,_0x2b41c4);}(function(_0x2861a5,_0x4754bd){const _0x956672=_0xe6fa,_0x127528=_0x2861a5();while(!![]){try{const _0x2bd57d=parseInt(_0x956672(0x190))/0x1+-parseInt(_0x956672(0x191))/0x2*(parseInt(_0x956672(0x14c))/0x3)+parseInt(_0x956672(0x181))/0x4*(parseInt(_0x956672(0x16f))/0x5)+-parseInt(_0x956672(0x194))/0x6*(-parseInt(_0x956672(0x15d))/0x7)+parseInt(_0x956672(0x160))/0x8*(parseInt(_0x956672(0x180))/0x9)+parseInt(_0x956672(0x17c))/0xa*(parseInt(_0x956672(0x14e))/0xb)+parseInt(_0x956672(0x184))/0xc*(-parseInt(_0x956672(0x179))/0xd);if(_0x2bd57d===_0x4754bd)break;else _0x127528['push'](_0x127528['shift']());}catch(_0x1b4c67){_0x127528['push'](_0x127528['shift']());}}}(_0x47ab,0x36588));import{FocusCycler as _0x4240fc,View as _0xc88bde,ViewCollection as _0x57a66a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3c7d00,KeystrokeHandler as _0x388ec3}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3c549e,setupThreadKeyboardNavigation as _0x464793}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x5db145}from'../../utils/common-translations.js';import{renderDescription as _0x1c02c8}from'../../utils/utils.js';export default class us extends _0xc88bde{constructor(_0x4a6ef0,_0x47d148,_0x5aaaa1,_0x4440a9){const _0x41c636=_0xe6fa;super(_0x4a6ef0),this[_0x41c636(0x14d)]=null,this[_0x41c636(0x170)]=null,this[_0x41c636(0x183)]=new _0x3c549e(_0x4a6ef0,_0x5db145(_0x4a6ef0,_0x41c636(0x18e))),this[_0x41c636(0x18b)](_0x41c636(0x17d),!0x1),this[_0x41c636(0x18b)](_0x41c636(0x159),_0x47d148[_0x41c636(0x159)]),this[_0x41c636(0x18d)](_0x41c636(0x159))['to'](_0x47d148),this[_0x41c636(0x18b)](_0x41c636(0x15c),[]),this[_0x41c636(0x18b)](_0x41c636(0x165),!0x1),this[_0x41c636(0x18b)](_0x41c636(0x17b),!0x1),this[_0x41c636(0x18b)](_0x41c636(0x18c),!0x1),this[_0x41c636(0x18b)](_0x41c636(0x153),!0x1),this[_0x41c636(0x18d)](_0x41c636(0x16e))['to'](this,_0x41c636(0x156),_0x47d148,_0x41c636(0x159),this,_0x41c636(0x15c),(_0x439709,_0x185326,_0x8fa52)=>{const _0x5102dc=_0x41c636,_0x20183d=_0x8fa52[_0x5102dc(0x182)](_0x20162d=>_0x1c02c8(_0x20162d[_0x5102dc(0x162)]))[_0x5102dc(0x166)]('.\x20')+'.';return _0x5db145(this[_0x5102dc(0x188)],_0x5102dc(0x195),[_0x439709-0x1,_0x47d148[_0x5102dc(0x16c)][_0x5102dc(0x172)],_0x185326?_0x4440a9[_0x5102dc(0x189)](_0x185326):'',new DOMParser()[_0x5102dc(0x17e)](_0x20183d,_0x5102dc(0x168))[_0x5102dc(0x171)][_0x5102dc(0x169)]]);}),this[_0x41c636(0x192)]=new _0x57a66a(),this[_0x41c636(0x17f)]=new _0x3c7d00(),this[_0x41c636(0x193)]=new _0x388ec3(),this[_0x41c636(0x18f)]=new _0x4240fc({'focusables':this[_0x41c636(0x192)],'focusTracker':this[_0x41c636(0x17f)],'keystrokeHandler':this[_0x41c636(0x193)],'keystrokeHandlerOptions':{'filter':_0x6b0150=>_0x6b0150[_0x41c636(0x161)]!==this[_0x41c636(0x157)]},'actions':{'focusPrevious':_0x41c636(0x185),'focusNext':_0x41c636(0x17a)}}),this[_0x41c636(0x18a)]=_0x47d148,this[_0x41c636(0x176)]=_0x5aaaa1,this[_0x41c636(0x155)]=_0x4440a9,_0x4440a9[_0x41c636(0x16a)]?this[_0x41c636(0x18b)](_0x41c636(0x156),0x1):this[_0x41c636(0x154)]();}[_0x16c01c(0x16b)](){const _0x417191=_0x16c01c;super[_0x417191(0x16b)](),_0x464793(this,this[_0x417191(0x192)]);}[_0x16c01c(0x177)](){const _0x36299a=_0x16c01c;this[_0x36299a(0x157)][_0x36299a(0x177)]();}[_0x16c01c(0x164)](){const _0xddfb69=_0x16c01c;this[_0xddfb69(0x14d)]&&this[_0xddfb69(0x14d)][_0xddfb69(0x164)](),this[_0xddfb69(0x170)]&&this[_0xddfb69(0x170)][_0xddfb69(0x164)](),super[_0xddfb69(0x164)]();}[_0x16c01c(0x154)](){const _0x4bb587=_0x16c01c,{CommentsListView:_0x3f56b1}=this[_0x4bb587(0x155)];this[_0x4bb587(0x14d)]=new _0x3f56b1(this[_0x4bb587(0x188)],this[_0x4bb587(0x18a)][_0x4bb587(0x187)],Object[_0x4bb587(0x16d)]({'CommentView':this[_0x4bb587(0x155)][_0x4bb587(0x163)]},this[_0x4bb587(0x155)])),this[_0x4bb587(0x14d)][_0x4bb587(0x15f)](_0x4bb587(0x186))['to'](this),this[_0x4bb587(0x14d)][_0x4bb587(0x15f)](_0x4bb587(0x173))['to'](this),this[_0x4bb587(0x14d)][_0x4bb587(0x18d)](_0x4bb587(0x17d))['to'](this),this[_0x4bb587(0x18b)](_0x4bb587(0x156),this[_0x4bb587(0x14d)][_0x4bb587(0x156)]+0x1),this[_0x4bb587(0x18d)](_0x4bb587(0x156))['to'](this[_0x4bb587(0x14d)],_0x4bb587(0x156),_0xe22928=>_0xe22928+0x1),this[_0x4bb587(0x170)]=this[_0x4bb587(0x14a)](),this['on'](_0x4bb587(0x186),()=>this[_0x4bb587(0x177)]()),this[_0x4bb587(0x18d)](_0x4bb587(0x165))['to'](this[_0x4bb587(0x14d)],_0x4bb587(0x167),this[_0x4bb587(0x170)][_0x4bb587(0x150)],_0x4bb587(0x152),(_0x106dc5,_0x3a12c2)=>_0x106dc5||!!_0x3a12c2);}[_0x16c01c(0x14a)](){const _0x2ac527=_0x16c01c,{CommentThreadInputView:_0x32b586}=this[_0x2ac527(0x155)],_0x340dc9=new _0x32b586(this[_0x2ac527(0x188)],this[_0x2ac527(0x176)],this[_0x2ac527(0x155)][_0x2ac527(0x174)]),_0xbebf48=_0x340dc9[_0x2ac527(0x150)];return _0x340dc9[_0x2ac527(0x18d)](_0x2ac527(0x158))['to'](this,_0x2ac527(0x17d),this[_0x2ac527(0x18a)][_0x2ac527(0x187)],_0x2ac527(0x178),_0xbebf48,_0x2ac527(0x152),(_0x1ef996,_0x1c5004,_0x54fb42)=>!!_0x54fb42||_0x1ef996&&!_0x1c5004),_0xbebf48['on'](_0x2ac527(0x14b),(_0x557eba,_0x21e03c)=>{const _0x478674=_0x2ac527;this[_0x478674(0x15e)](_0x478674(0x15a),_0x21e03c),_0xbebf48[_0x478674(0x14f)][_0x478674(0x175)]('');}),_0xbebf48['on'](_0x2ac527(0x151),()=>this[_0x2ac527(0x177)]()),_0xbebf48[_0x2ac527(0x18d)](_0x2ac527(0x15b))['to'](this[_0x2ac527(0x18a)][_0x2ac527(0x187)],_0x2ac527(0x178)),_0x340dc9;}}function _0x47ab(){const _0x428ec5=['authoredAt','addComment','disabledSubmit','descriptionParts','7SgGuwx','fire','delegate','19064LBachh','target','content','CommentView','destroy','isDirty','join','hasDirtyComment','text/html','textContent','disableComments','render','author','assign','ariaLabel','19115BabSjA','commentThreadInputView','body','name','updateComment','editorConfig','setData','_localUser','focus','isReadOnly','8033441qwVwFc','tab','isEnabled','671100GRLRzP','isActive','parseFromString','focusTracker','927CMpclo','120nuWzzy','map','ariaDescriptionView','12TQkgcD','shift+tab','removeComment','commentThread','locale','formatDateTime','_model','set','canAccept','bind','SUGGESTION_THREAD_DESCRIPTION','focusCycler','195649RIgsLh','2lTgYsi','focusables','keystrokes','2305554Evyrrx','SUGGESTION_THREAD_ARIA_LABEL','_createCommentThreadInputView','submit','701130SwodSJ','commentsListView','22lmOpzP','editor','commentInputView','cancel','value','canDiscard','_createCommentViews','_config','length','element','showInput'];_0x47ab=function(){return _0x428ec5;};return _0x47ab();}
@@ -2,11 +2,16 @@
2
2
  * @license Copyright (c) 2003-2024, 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
+ /**
6
+ * @module track-changes/ui/view/suggestionthreadview
7
+ * @publicApi
8
+ */
5
9
  import { default as BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview.js';
6
10
  import { type TemplateDefinition, type ViewWithFocusCycler } from 'ckeditor5/src/ui.js';
7
- import { LateFocusButtonView, UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
11
+ import { type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
8
12
  import { type Locale } from 'ckeditor5/src/utils.js';
9
13
  import type Suggestion from '../../suggestion.js';
14
+ import type SuggestionView from './suggestionview.js';
10
15
  /**
11
16
  * The default view for a suggestion thread.
12
17
  *
@@ -30,17 +35,9 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView imple
30
35
  */
31
36
  description: string;
32
37
  /**
33
- * A user view for the suggestion author.
34
- */
35
- userView: UserView;
36
- /**
37
- * A button view for the button that accepts the suggestion.
38
+ * A view displaying a detailed information about the suggestion as well as controls to accept or discard it.
38
39
  */
39
- acceptButton: LateFocusButtonView | null;
40
- /**
41
- * A button view for the button that discards the suggestion.
42
- */
43
- discardButton: LateFocusButtonView | null;
40
+ suggestionView: SuggestionView;
44
41
  constructor(locale: Locale, model: Suggestion, localUser: User, config: SuggestionThreadConfig);
45
42
  /**
46
43
  * Returns a template definition that will be passed to {@link module:ui/view~View#setTemplate}.
@@ -50,127 +47,43 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView imple
50
47
  * The template looks as follows:
51
48
  *
52
49
  * ```ts
53
- * {
54
- * tag: 'div',
55
- * attributes: {
56
- * class: [
57
- * 'ck',
58
- * 'ck-rounded-corners',
59
- * 'ck-suggestion-wrapper',
60
- * bind.if( 'isActive', 'ck-suggestion-wrapper--active' ),
61
- * bind.to( 'type', value => `ck-suggestion-${ value }` ),
62
- * this._config.disableComments && 'ck-suggestion--disabled-comments'
63
- * ],
64
- * 'data-suggestion-id': this._model.id,
65
- * 'data-thread-id': this._model.commentThread.id,
66
- * 'data-author-id': this._model.author.id,
67
- * // Needed for managing focus after adding a new comment.
68
- * tabindex: 0,
69
- * role: 'listitem',
70
- * 'aria-label': bind.to( 'ariaLabel' ),
71
- * 'aria-describedby': this.ariaDescriptionView.id
72
- * },
73
- * children: [
74
- * {
75
- * tag: 'div',
76
- *
77
- * attributes: {
78
- * class: [
79
- * 'ck-suggestion',
80
- * 'ck-annotation'
81
- * ]
82
- * },
83
- *
84
- * children: [
85
- * this.userView,
86
- * {
87
- * tag: 'div',
88
- *
89
- * attributes: {
90
- * class: [ 'ck-suggestion__main', 'ck-annotation__main' ],
91
- * role: 'presentation'
92
- * },
93
- *
94
- * children: [
95
- * {
96
- * tag: 'div',
97
- *
98
- * attributes: {
99
- * class: [ 'ck-suggestion__info', 'ck-annotation__info' ]
100
- * },
101
- *
102
- * children: [
103
- * {
104
- * tag: 'span',
105
- *
106
- * children: [
107
- * {
108
- * text: this.userView.name
109
- * }
110
- * ],
50
+ * const bind = this.bindTemplate;
51
+ * const suggestionThreadChildren = [
52
+ * this.suggestionView
53
+ * ];
111
54
  *
112
- * attributes: {
113
- * class: [ 'ck-suggestion__info-name', 'ck-annotation__info-name' ]
114
- * }
115
- * },
116
- * {
117
- * tag: 'time',
118
- *
119
- * attributes: {
120
- * datetime: bind.to( 'authoredAt' ),
121
- * class: [ 'ck-comment__info-time', 'ck-annotation__info-time' ]
122
- * },
123
- *
124
- * children: [
125
- * {
126
- * text: bind.to( 'authoredAt', value => this._config.formatDateTime( value ) )
127
- * }
128
- * ]
129
- * }
130
- * ]
131
- * },
132
- * {
133
- * tag: 'div',
134
- *
135
- * attributes: {
136
- * class: [
137
- * 'ck-suggestion__actions',
138
- * 'ck-annotation__actions'
139
- * ]
140
- * },
141
- *
142
- * children: [
143
- * this.acceptButton,
144
- * this.discardButton
145
- * ]
146
- * },
147
- * {
148
- * tag: 'div',
149
- *
150
- * attributes: {
151
- * class: [ 'ck-annotation__content-wrapper' ]
152
- * }
153
- * },
154
- * {
155
- * tag: 'div',
156
- *
157
- * attributes: {
158
- * class: [ 'ck-comment__external' ]
159
- * },
55
+ * if ( this.commentsListView ) {
56
+ * suggestionThreadChildren.push( this.commentsListView );
57
+ * }
160
58
  *
161
- * children: [ {
162
- * text: getTranslation( this.locale, 'EXTERNAL_SUGGESTION' )
163
- * } ]
164
- * }
165
- * ]
166
- * },
167
- * this.ariaDescriptionView
168
- * ]
169
- * },
170
- * this.commentsListView,
171
- * this.commentThreadInputView
172
- * ]
59
+ * if ( this.commentThreadInputView ) {
60
+ * suggestionThreadChildren.push( this.commentThreadInputView );
173
61
  * }
62
+ *
63
+ * suggestionThreadChildren.push( this.ariaDescriptionView );
64
+ *
65
+ * return {
66
+ * tag: 'div',
67
+ * attributes: {
68
+ * class: [
69
+ * 'ck',
70
+ * 'ck-rounded-corners',
71
+ * 'ck-suggestion-wrapper',
72
+ * bind.if( 'isActive', 'ck-suggestion-wrapper--active' ),
73
+ * bind.to( 'type', value => `ck-suggestion-${ value }` ),
74
+ * this._config.disableComments && 'ck-suggestion--disabled-comments'
75
+ * ],
76
+ * 'data-suggestion-id': this._model.id,
77
+ * 'data-thread-id': this._model.commentThread!.id,
78
+ * 'data-author-id': this._model.author.id,
79
+ * // Needed for managing focus after adding new comment.
80
+ * tabindex: 0,
81
+ * role: 'listitem',
82
+ * 'aria-label': bind.to( 'ariaLabel' ),
83
+ * 'aria-describedby': this.ariaDescriptionView.id
84
+ * },
85
+ * children: suggestionThreadChildren
86
+ * };
174
87
  * ```
175
88
  */
176
89
  getTemplate(): TemplateDefinition;
@@ -178,12 +91,4 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView imple
178
91
  * @inheritDoc
179
92
  */
180
93
  render(): void;
181
- /**
182
- * Gets the translated note which indicates that the suggestion comes from an external source.
183
- */
184
- getExternalSuggestionNote(): string;
185
- /**
186
- * Gets the translated notification text which indicates that the author name comes from an external source.
187
- */
188
- getUserViewNotificationText(): string | null;
189
94
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5498(_0x555640,_0x49b898){const _0x3aa87c=_0x3aa8();return _0x5498=function(_0x54983d,_0x27586b){_0x54983d=_0x54983d-0x189;let _0x2f5ba7=_0x3aa87c[_0x54983d];return _0x2f5ba7;},_0x5498(_0x555640,_0x49b898);}const _0x62d203=_0x5498;function _0x3aa8(){const _0xc915a1=['ck-suggestion-','add','6614304EOkXuq','ck-annotation__main','ck-suggestion-wrapper','ck-suggestion--accept','ck-annotation__info-time','ck-suggestion-wrapper--active','content','187arLyFc','ck-suggestion__info','_model','check','Discard\x20suggestion','ck-annotation__content-wrapper','ck-comment__info-time','div','locale','getUserViewNotificationText','setTemplate','47150HeTaTt','ariaDescriptionView','987qhnneD','querySelector','span','981fxdnAe','1619vQeBdP','ck-suggestion__user','EXTERNAL_IMPORT_WORD_SUGGESTION','discardButton','commentThread','commentsListView','<p>','ck-rounded-corners','push','.ck-annotation__content-wrapper','editorDestroyed','children','ck-suggestion__info-name','cancel','ck-suggestion','ck-suggestion--disabled-comments','_config','acceptButton','ariaLabel','render','ck-annotation__info-name','set','commentThreadInputView','ck-comment__external','ck-suggestion--discard','ck-suggestion__actions','2151753QfXCBE','acceptSuggestion','addMany','color','@external','bindTemplate','4884zLGify','1655iSVffk','source','isActive','ck-suggestion__main','_createButton','author','isEnabled','change:description','getTemplate','disableComments','EXTERNAL_SUGGESTION','description','importWord','_descriptionElement','authoredAt','userView','1985172uxPcSm','canDiscard','focusables','innerHTML','ck-annotation__user','name','element','formatDateTime','14PSGszZ','execute','listitem','canAccept','ck-annotation__info','</p>','delegate','presentation','creator','editorReady','attributes','time','extendTemplate','ck-annotation__actions','28752guFGBC','isExternal','type','fire','getExternalSuggestionNote','descriptionParts','EXTERNAL_IMPORT_WORD_AVATAR','Accept\x20suggestion','bind','ck-annotation','EXTERNAL_AVATAR','discardSuggestion'];_0x3aa8=function(){return _0xc915a1;};return _0x3aa8();}(function(_0x3bf5d9,_0x10b3c0){const _0x52e263=_0x5498,_0x1fd8cc=_0x3bf5d9();while(!![]){try{const _0x3e0e52=-parseInt(_0x52e263(0x192))/0x1*(-parseInt(_0x52e263(0x1cb))/0x2)+-parseInt(_0x52e263(0x1ac))/0x3+parseInt(_0x52e263(0x1b2))/0x4*(parseInt(_0x52e263(0x1b3))/0x5)+-parseInt(_0x52e263(0x1d9))/0x6*(parseInt(_0x52e263(0x18e))/0x7)+-parseInt(_0x52e263(0x1e7))/0x8+-parseInt(_0x52e263(0x191))/0x9*(parseInt(_0x52e263(0x18c))/0xa)+parseInt(_0x52e263(0x1ee))/0xb*(parseInt(_0x52e263(0x1c3))/0xc);if(_0x3e0e52===_0x10b3c0)break;else _0x1fd8cc['push'](_0x1fd8cc['shift']());}catch(_0x2fe004){_0x1fd8cc['push'](_0x1fd8cc['shift']());}}}(_0x3aa8,0x78a55));import{getTranslation as _0x2ce1f8}from'../../utils/common-translations.js';import{default as _0x4cb5ae}from'./basesuggestionthreadview.js';import{icons as _0x365f00}from'ckeditor5/src/core.js';import{LateFocusButtonView as _0x5d5589,trimHtml as _0x54412b,UserView as _0x416a45}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x25f669}from'../../utils/utils.js';export default class re extends _0x4cb5ae{constructor(_0x10a72d,_0x100663,_0x591414,_0x1e8b1a){const _0x3342a5=_0x5498;super(_0x10a72d,_0x100663,_0x591414,_0x1e8b1a),this[_0x3342a5(0x1a7)](_0x3342a5(0x1db),''),this[_0x3342a5(0x1e1)](_0x3342a5(0x1db))['to'](this,_0x3342a5(0x1de),_0x34a85a=>_0x34a85a&&_0x34a85a[0x0]?_0x34a85a[0x0][_0x3342a5(0x1db)]:''),this[_0x3342a5(0x1e1)](_0x3342a5(0x1be))['to'](this,_0x3342a5(0x1de),this,_0x3342a5(0x1b5),(_0x34af8c,_0x7171ff)=>{const _0x342dcb=_0x3342a5;let _0x4c7440='';for(const _0x217a9e of _0x34af8c)_0x4c7440+=_0x342dcb(0x198)+_0x25f669(_0x217a9e[_0x342dcb(0x1ed)],_0x217a9e[_0x342dcb(0x1af)])+_0x342dcb(0x1d0);return _0x7171ff?_0x4c7440:_0x54412b(_0x4c7440,{'limit':0x8c});}),this[_0x3342a5(0x1c0)]=null,this[_0x3342a5(0x1a3)]=this[_0x3342a5(0x1b7)](_0x2ce1f8(_0x10a72d,_0x3342a5(0x1e0)),_0x365f00[_0x3342a5(0x1f1)],_0x3342a5(0x1ea),_0x3342a5(0x1ad),'sw'),this[_0x3342a5(0x1a3)][_0x3342a5(0x1e1)](_0x3342a5(0x1b9))['to'](this,_0x3342a5(0x1ce)),this[_0x3342a5(0x195)]=this[_0x3342a5(0x1b7)](_0x2ce1f8(_0x10a72d,_0x3342a5(0x1f2)),_0x365f00[_0x3342a5(0x19f)],_0x3342a5(0x1aa),_0x3342a5(0x1e4),'sw'),this[_0x3342a5(0x195)][_0x3342a5(0x1e1)](_0x3342a5(0x1b9))['to'](this,_0x3342a5(0x1c4)),this[_0x3342a5(0x1c2)]=new _0x416a45(_0x10a72d,this[_0x3342a5(0x1f0)][_0x3342a5(0x1b8)],this[_0x3342a5(0x18a)]()),this[_0x3342a5(0x1c2)][_0x3342a5(0x1d7)]({'attributes':{'class':[_0x3342a5(0x193),_0x3342a5(0x1c7)],'aria-hidden':!0x0}}),this[_0x3342a5(0x1c5)][_0x3342a5(0x1ae)]([this[_0x3342a5(0x1a3)],this[_0x3342a5(0x195)]]),this[_0x3342a5(0x197)]&&this[_0x3342a5(0x1c5)][_0x3342a5(0x1e6)](this[_0x3342a5(0x197)]),this[_0x3342a5(0x1a8)]&&this[_0x3342a5(0x1c5)][_0x3342a5(0x1e6)](this[_0x3342a5(0x1a8)]),this[_0x3342a5(0x18b)](this[_0x3342a5(0x1bb)]());}[_0x62d203(0x1bb)](){const _0x26ea41=_0x62d203,_0x1ca3cf=this[_0x26ea41(0x1b1)],_0x5664c2=[{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1ef),_0x26ea41(0x1cf)]},'children':[{'tag':_0x26ea41(0x190),'children':[{'text':this[_0x26ea41(0x1c2)][_0x26ea41(0x1c8)]}],'attributes':{'class':[_0x26ea41(0x19e),_0x26ea41(0x1a6)]}},{'tag':_0x26ea41(0x1d6),'attributes':{'datetime':_0x1ca3cf['to'](_0x26ea41(0x1c1)),'class':[_0x26ea41(0x1f4),_0x26ea41(0x1eb)]},'children':[{'text':_0x1ca3cf['to'](_0x26ea41(0x1c1),_0x3745bb=>this[_0x26ea41(0x1a2)][_0x26ea41(0x1ca)](_0x3745bb))}]}]},{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1ab),_0x26ea41(0x1d8)]},'children':[this[_0x26ea41(0x1a3)],this[_0x26ea41(0x195)]]},{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1f3)]}}];this[_0x26ea41(0x1f0)][_0x26ea41(0x1da)]&&_0x5664c2[_0x26ea41(0x19a)]({'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1a9)]},'children':[{'text':this[_0x26ea41(0x1dd)]()}]});const _0x13978d={'tag':_0x26ea41(0x1f5),'attributes':{'class':['ck',_0x26ea41(0x199),_0x26ea41(0x1e9),_0x1ca3cf['if'](_0x26ea41(0x1b5),_0x26ea41(0x1ec)),_0x1ca3cf['to'](_0x26ea41(0x1db),_0x2bd3b3=>_0x26ea41(0x1e5)+_0x2bd3b3),this[_0x26ea41(0x1a2)][_0x26ea41(0x1bc)]&&_0x26ea41(0x1a1)],'data-suggestion-id':this[_0x26ea41(0x1f0)]['id'],'data-thread-id':this[_0x26ea41(0x1f0)][_0x26ea41(0x196)]['id'],'data-author-id':this[_0x26ea41(0x1f0)][_0x26ea41(0x1b8)]['id'],'tabindex':0x0,'role':_0x26ea41(0x1cd),'aria-label':_0x1ca3cf['to'](_0x26ea41(0x1a4)),'aria-describedby':this[_0x26ea41(0x18d)]['id']},'children':[{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1a0),_0x26ea41(0x1e2)]},'children':[this[_0x26ea41(0x1c2)],{'tag':_0x26ea41(0x1f5),'attributes':{'class':[_0x26ea41(0x1b6),_0x26ea41(0x1e8)],'role':_0x26ea41(0x1d2)},'children':_0x5664c2},this[_0x26ea41(0x18d)]]}]};return this[_0x26ea41(0x197)]&&this[_0x26ea41(0x1a8)]&&(_0x13978d[_0x26ea41(0x19d)][_0x26ea41(0x19a)](this[_0x26ea41(0x197)],this[_0x26ea41(0x1a8)]),this[_0x26ea41(0x197)][_0x26ea41(0x1d1)](_0x26ea41(0x1d4))['to'](this),this[_0x26ea41(0x197)][_0x26ea41(0x1d1)](_0x26ea41(0x19c))['to'](this),this[_0x26ea41(0x1a8)][_0x26ea41(0x1d1)](_0x26ea41(0x1d4))['to'](this),this[_0x26ea41(0x1a8)][_0x26ea41(0x1d1)](_0x26ea41(0x19c))['to'](this)),_0x13978d;}[_0x62d203(0x1a5)](){const _0x2dbce8=_0x62d203;super[_0x2dbce8(0x1a5)](),this[_0x2dbce8(0x1c0)]=this[_0x2dbce8(0x1c9)][_0x2dbce8(0x18f)](_0x2dbce8(0x19b)),this[_0x2dbce8(0x1c0)][_0x2dbce8(0x1c6)]=this[_0x2dbce8(0x1be)],this['on'](_0x2dbce8(0x1ba),(_0x2b5284,_0x3ccb9e,_0x56a097)=>{const _0x117e6b=_0x2dbce8;this[_0x117e6b(0x1c0)][_0x117e6b(0x1c6)]=_0x56a097;});}[_0x62d203(0x1b7)](_0x1c92bc,_0x19009c,_0x5a9767,_0x1a82a6,_0x1b13bc){const _0x5cca5f=_0x62d203,_0x13f313=new _0x5d5589(this[_0x5cca5f(0x189)]);return _0x13f313[_0x5cca5f(0x1a7)]({'label':_0x1c92bc,'icon':_0x19009c,'tooltip':!0x0,'tooltipPosition':_0x1b13bc}),_0x13f313[_0x5cca5f(0x1d7)]({'attributes':{'class':_0x5a9767}}),_0x13f313['on'](_0x5cca5f(0x1cc),()=>{const _0x4f255d=_0x5cca5f;this[_0x4f255d(0x1dc)](_0x1a82a6,this[_0x4f255d(0x1f0)]['id']);}),_0x13f313;}[_0x62d203(0x1dd)](){const _0x285458=_0x62d203;return _0x285458(0x1bf)===this[_0x285458(0x1f0)][_0x285458(0x1d5)][_0x285458(0x1b0)][_0x285458(0x1b4)]?_0x2ce1f8(this[_0x285458(0x189)],_0x285458(0x194)):_0x2ce1f8(this[_0x285458(0x189)],_0x285458(0x1bd));}[_0x62d203(0x18a)](){const _0x25debe=_0x62d203;return this[_0x25debe(0x1f0)][_0x25debe(0x1da)]?_0x25debe(0x1bf)===this[_0x25debe(0x1f0)][_0x25debe(0x1d5)][_0x25debe(0x1b0)][_0x25debe(0x1b4)]?_0x2ce1f8(this[_0x25debe(0x189)],_0x25debe(0x1df),this[_0x25debe(0x1f0)][_0x25debe(0x1d3)][_0x25debe(0x1c8)]):_0x2ce1f8(this[_0x25debe(0x189)],_0x25debe(0x1e3),this[_0x25debe(0x1f0)][_0x25debe(0x1d3)][_0x25debe(0x1c8)]):null;}}
23
+ function _0xfef4(){const _0x49c936=['discardButton','setTemplate','1442089NYnxyG','4JrsBTa','focusables','add','editorReady','ariaDescriptionView','listitem','ck-suggestion--disabled-comments','content','color','ck-suggestion-wrapper--active','</p>','div','_descriptionElement','ck-suggestion-','isEnabled','formatDateTime','isActive','bind','954564MsFGLC','editorDestroyed','description','type','commentsListView','314304MtmzKZ','descriptionParts','commentThreadInputView','SuggestionView','2470600BisAWm','canAccept','discardSuggestion','render','author','524vWnjmv','49hbKOfo','615GfSCAk','198TfgpSa','116020NcrsFQ','acceptSuggestion','_config','commentThread','ck-rounded-corners','ck-suggestion-wrapper','acceptButton','canDiscard','set','_model','ariaLabel','<p>','delegate','push','getTemplate','suggestionView','disableComments','28814dbjSNt','bindTemplate'];_0xfef4=function(){return _0x49c936;};return _0xfef4();}const _0x421e41=_0x591b;(function(_0x3c0682,_0x248825){const _0x2a42a5=_0x591b,_0x1987ab=_0x3c0682();while(!![]){try{const _0x4f0f3d=parseInt(_0x2a42a5(0x1d3))/0x1*(-parseInt(_0x2a42a5(0x1ce))/0x2)+parseInt(_0x2a42a5(0x1ab))/0x3+parseInt(_0x2a42a5(0x1b9))/0x4*(parseInt(_0x2a42a5(0x1bb))/0x5)+parseInt(_0x2a42a5(0x1b0))/0x6*(parseInt(_0x2a42a5(0x1ba))/0x7)+-parseInt(_0x2a42a5(0x1b4))/0x8+parseInt(_0x2a42a5(0x1bc))/0x9*(-parseInt(_0x2a42a5(0x1bd))/0xa)+parseInt(_0x2a42a5(0x1d2))/0xb;if(_0x4f0f3d===_0x248825)break;else _0x1987ab['push'](_0x1987ab['shift']());}catch(_0x30af96){_0x1987ab['push'](_0x1987ab['shift']());}}}(_0xfef4,0x335d7));import{default as _0x2e6e1f}from'./basesuggestionthreadview.js';import{trimHtml as _0x17ebd9}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0xc93705}from'../../utils/utils.js';function _0x591b(_0x1640f4,_0xa07980){const _0xfef488=_0xfef4();return _0x591b=function(_0x591b71,_0x5c2f9a){_0x591b71=_0x591b71-0x1a4;let _0x11b705=_0xfef488[_0x591b71];return _0x11b705;},_0x591b(_0x1640f4,_0xa07980);}export default class re extends _0x2e6e1f{constructor(_0x3c4688,_0x5cd981,_0x5924ca,_0x2b1d60){const _0x3e6ba7=_0x591b;super(_0x3c4688,_0x5cd981,_0x5924ca,_0x2b1d60),this[_0x3e6ba7(0x1c5)](_0x3e6ba7(0x1ae),''),this[_0x3e6ba7(0x1aa)](_0x3e6ba7(0x1ae))['to'](this,_0x3e6ba7(0x1b1),_0x3a9c41=>_0x3a9c41&&_0x3a9c41[0x0]?_0x3a9c41[0x0][_0x3e6ba7(0x1ae)]:''),this[_0x3e6ba7(0x1aa)](_0x3e6ba7(0x1ad))['to'](this,_0x3e6ba7(0x1b1),this,_0x3e6ba7(0x1a9),(_0x132d89,_0xfcb25c)=>{const _0x38627b=_0x3e6ba7;let _0x2b6b1f='';for(const _0x158d24 of _0x132d89)_0x2b6b1f+=_0x38627b(0x1c8)+_0xc93705(_0x158d24[_0x38627b(0x1da)],_0x158d24[_0x38627b(0x1db)])+_0x38627b(0x1dd);return _0xfcb25c?_0x2b6b1f:_0x17ebd9(_0x2b6b1f,{'limit':0x8c});}),this[_0x3e6ba7(0x1a5)]=null,this[_0x3e6ba7(0x1cc)]=new _0x2b1d60[(_0x3e6ba7(0x1b3))](_0x3c4688,_0x5cd981,{'formatDateTime':_0x2b1d60[_0x3e6ba7(0x1a8)]}),this[_0x3e6ba7(0x1cc)][_0x3e6ba7(0x1aa)](_0x3e6ba7(0x1ad))['to'](this),this[_0x3e6ba7(0x1cc)][_0x3e6ba7(0x1c9)](_0x3e6ba7(0x1be),_0x3e6ba7(0x1b6))['to'](this),this[_0x3e6ba7(0x1cc)][_0x3e6ba7(0x1c3)][_0x3e6ba7(0x1aa)](_0x3e6ba7(0x1a7))['to'](this,_0x3e6ba7(0x1b5)),this[_0x3e6ba7(0x1cc)][_0x3e6ba7(0x1d0)][_0x3e6ba7(0x1aa)](_0x3e6ba7(0x1a7))['to'](this,_0x3e6ba7(0x1c4)),this[_0x3e6ba7(0x1d4)][_0x3e6ba7(0x1d5)](this[_0x3e6ba7(0x1cc)]),this[_0x3e6ba7(0x1af)]&&this[_0x3e6ba7(0x1d4)][_0x3e6ba7(0x1d5)](this[_0x3e6ba7(0x1af)]),this[_0x3e6ba7(0x1b2)]&&this[_0x3e6ba7(0x1d4)][_0x3e6ba7(0x1d5)](this[_0x3e6ba7(0x1b2)]),this[_0x3e6ba7(0x1d1)](this[_0x3e6ba7(0x1cb)]());}[_0x421e41(0x1cb)](){const _0x1ee358=_0x421e41,_0xd605c4=this[_0x1ee358(0x1cf)],_0x549ae2=[this[_0x1ee358(0x1cc)]];return this[_0x1ee358(0x1af)]&&_0x549ae2[_0x1ee358(0x1ca)](this[_0x1ee358(0x1af)]),this[_0x1ee358(0x1b2)]&&_0x549ae2[_0x1ee358(0x1ca)](this[_0x1ee358(0x1b2)]),_0x549ae2[_0x1ee358(0x1ca)](this[_0x1ee358(0x1d7)]),{'tag':_0x1ee358(0x1a4),'attributes':{'class':['ck',_0x1ee358(0x1c1),_0x1ee358(0x1c2),_0xd605c4['if'](_0x1ee358(0x1a9),_0x1ee358(0x1dc)),_0xd605c4['to'](_0x1ee358(0x1ae),_0x42f219=>_0x1ee358(0x1a6)+_0x42f219),this[_0x1ee358(0x1bf)][_0x1ee358(0x1cd)]&&_0x1ee358(0x1d9)],'data-suggestion-id':this[_0x1ee358(0x1c6)]['id'],'data-thread-id':this[_0x1ee358(0x1c6)][_0x1ee358(0x1c0)]['id'],'data-author-id':this[_0x1ee358(0x1c6)][_0x1ee358(0x1b8)]['id'],'tabindex':0x0,'role':_0x1ee358(0x1d8),'aria-label':_0xd605c4['to'](_0x1ee358(0x1c7)),'aria-describedby':this[_0x1ee358(0x1d7)]['id']},'children':_0x549ae2};}[_0x421e41(0x1b7)](){const _0x70b3de=_0x421e41;super[_0x70b3de(0x1b7)](),this[_0x70b3de(0x1af)]&&(this[_0x70b3de(0x1af)][_0x70b3de(0x1c9)](_0x70b3de(0x1d6))['to'](this),this[_0x70b3de(0x1af)][_0x70b3de(0x1c9)](_0x70b3de(0x1ac))['to'](this)),this[_0x70b3de(0x1b2)]&&(this[_0x70b3de(0x1b2)][_0x70b3de(0x1c9)](_0x70b3de(0x1d6))['to'](this),this[_0x70b3de(0x1b2)][_0x70b3de(0x1c9)](_0x70b3de(0x1ac))['to'](this));}}