@ckeditor/ckeditor5-track-changes 43.0.0-alpha.4 → 43.0.0-alpha.6

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 (182) 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
  180. package/theme/icons/track-changes-accept.svg +1 -1
  181. package/theme/icons/track-changes-discard.svg +1 -1
  182. package/theme/icons/track-changes.svg +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa27501=_0x5dcd;(function(_0xb4542b,_0x4187f0){const _0x125a90=_0x5dcd,_0x2c6b26=_0xb4542b();while(!![]){try{const _0x9ae14a=-parseInt(_0x125a90(0x188))/0x1*(parseInt(_0x125a90(0x190))/0x2)+parseInt(_0x125a90(0x1e7))/0x3*(parseInt(_0x125a90(0x1c3))/0x4)+parseInt(_0x125a90(0x1b3))/0x5*(parseInt(_0x125a90(0x191))/0x6)+parseInt(_0x125a90(0x209))/0x7*(-parseInt(_0x125a90(0x176))/0x8)+parseInt(_0x125a90(0x193))/0x9+parseInt(_0x125a90(0x1e3))/0xa+-parseInt(_0x125a90(0x1fb))/0xb*(parseInt(_0x125a90(0x17f))/0xc);if(_0x9ae14a===_0x4187f0)break;else _0x2c6b26['push'](_0x2c6b26['shift']());}catch(_0x7dba6b){_0x2c6b26['push'](_0x2c6b26['shift']());}}}(_0x41e0,0x6f114));import{Plugin as _0x14c6f5}from'ckeditor5/src/core.js';import{Collection as _0x414e5b}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x118a76,createDropdown as _0x2f6fa1,ListSeparatorView as _0x31577f,MenuBarMenuView as _0x220b3c,MenuBarMenuListView as _0x452002,MenuBarMenuListItemView as _0x3af5fd,MenuBarMenuListItemButtonView as _0x468011,SplitButtonView as _0x4f6ef9,ViewModel as _0x4c7d9d}from'ckeditor5/src/ui.js';import{Users as _0x491948,getDateTimeFormatter as _0x3813a5,getAllMarkersDomElementsSorted as _0x26e034,ENTER_THREAD_KEYSTROKE as _0x5936c1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x41e0(){const _0x51a5fa=['type','descriptionFactory','7ZpuMgV','_addUIComponentsToFactory','escape','_annotationViews','descriptionParts','from','4513352bPWmCx','Discard\x20all\x20selected\x20suggestions','menuBar:trackChanges','suggestionChanged','_handleControllerBuffer','keys','commentThread','isEnabled','length','12RSZyCt','bind','createAnnotationView','some','set','getAllAdjacentSuggestions','Track\x20changes','_unbindEditors','innerView','5399lmSTNN','size','reduce','comments.maxThreadTotalWeight','activeAnnotations','switchbutton','refreshSelectedViews','listenTo','202wxvdhS','12ihreis','getFirstRange','6029505OxsUTY','CommentView','discardAllSuggestions','isMultiRange','_viewToController','_updateController','stopListening','_destroyController','unbind','delete','get','trackChanges','suggestion-','menuitemcheckbox','editing','separator','acceptAllSuggestions','Accept\x20all\x20suggestions','_splitMarkerName','commandName','commands','getMarkerNames','toMany','commentsListView','panelView','items','getJoined','suggestionUnloaded','isDirty','_createToolbarButton','EditorAnnotations','activeMarkers','866315vQdkBb','comments.maxCommentsWhenCollapsed','_initializeController','menu','getMarkers','hasSuggestion','_refreshActiveMarkers','trackChanges.SuggestionThreadView','TrackChangesEditing','menuitem','isOn','componentFactory','value','values','createCommentThreadController','mainView','12febveN','getByInnerView','low','actionView','remove','has','add','Annotations','createAnnotation','_initKeyboardNavigationToThread','comments','requires','discardButton','lowest','button','init','getRanges','buttonView','addSourceCollector','model','source','CommentsRepository','push','getDescriptions','comments.maxCommentCharsWhenCollapsed','suggestionLoaded','change:previous','delegate','acceptButton','filter','Accept\x20all\x20selected\x20suggestions','previous','7560590jcAqWT','pluginName','_createMenuBarMenu','view','663033PlThAz','discardSelectedSuggestions','children','_bindAnnotationToEditors','comments.editorConfig','registerAnnotation','plugins','define','CommentsUI','_handleSuggestionControllerDelayed','clear','Discard\x20all\x20suggestions','keystrokes','config','destroy','trackChanges.disableComments','_disableComments','acceptSelectedSuggestions','TrackChangesUI','change:activeAnnotations','9582793MXpQgy','SuggestionThreadView','focus','addComment','locale','execute','arrowView','head','getSuggestion','isInContent','_suggestionToController','editor'];_0x41e0=function(){return _0x51a5fa;};return _0x41e0();}import _0x327cf3 from'./trackchangesediting.js';import _0x1e778d from'./ui/suggestioncontroller.js';import _0x299a47 from'./ui/view/suggestionthreadview.js';function _0x5dcd(_0x573ecf,_0x1e6974){const _0x41e0f6=_0x41e0();return _0x5dcd=function(_0x5dcd39,_0x4062da){_0x5dcd39=_0x5dcd39-0x174;let _0x32d245=_0x41e0f6[_0x5dcd39];return _0x32d245;},_0x5dcd(_0x573ecf,_0x1e6974);}import{getTranslation as _0x27b531}from'./utils/common-translations.js';import _0x4c17e4 from'./trackchanges.js';import _0x2a78f0 from'../theme/icons/track-changes.svg';export default class d extends _0x14c6f5{static get[_0xa27501(0x1ce)](){const _0x206e70=_0xa27501;return[_0x327cf3,_0x491948,_0x206e70(0x1d8),_0x206e70(0x1ca),_0x206e70(0x1b1)];}static get[_0xa27501(0x1e4)](){const _0x7ef39=_0xa27501;return _0x7ef39(0x1f9);}constructor(_0x178cb1){const _0xc7dd2d=_0xa27501;super(_0x178cb1),this[_0xc7dd2d(0x205)]=new Map(),this[_0xc7dd2d(0x197)]=new Map(),this[_0xc7dd2d(0x20c)]=new Map(),this[_0xc7dd2d(0x17a)]=new Map();const _0xa05c34=this[_0xc7dd2d(0x206)][_0xc7dd2d(0x1f4)];_0xa05c34[_0xc7dd2d(0x1ee)](_0xc7dd2d(0x1ba),_0x299a47),_0xa05c34[_0xc7dd2d(0x1ee)](_0xc7dd2d(0x1f6),!0x1),this[_0xc7dd2d(0x1f7)]=_0xa05c34[_0xc7dd2d(0x19d)](_0xc7dd2d(0x1f6)),this[_0xc7dd2d(0x1cc)]();}[_0xa27501(0x1f0)](_0x3b995f,_0x4a3021){const _0xca15dc=_0xa27501;0x0===this[_0xca15dc(0x17a)][_0xca15dc(0x189)]&&setTimeout(()=>{const _0x5225f6=_0xca15dc;for(const [_0x3c225c,_0xf8c19]of this[_0x5225f6(0x17a)]){const _0x5ce19e=this[_0x5225f6(0x205)][_0x5225f6(0x1c8)](_0x3c225c);_0x5ce19e||_0xf8c19?_0x5ce19e&&_0xf8c19&&this[_0x5225f6(0x19a)](_0x3c225c):this[_0x5225f6(0x1b5)](_0x3c225c);}this[_0x5225f6(0x17a)][_0x5225f6(0x1f1)](),this[_0x5225f6(0x206)][_0x5225f6(0x1ed)][_0x5225f6(0x19d)](_0x5225f6(0x1b1))[_0x5225f6(0x18e)](),this[_0x5225f6(0x1b9)]();},0xa),this[_0xca15dc(0x17a)][_0xca15dc(0x183)](_0x3b995f,_0x4a3021);}[_0xa27501(0x1d2)](){const _0x2a7cb8=_0xa27501,_0x16ec91=this[_0x2a7cb8(0x206)],_0x2b938e=_0x16ec91[_0x2a7cb8(0x1ed)][_0x2a7cb8(0x19d)](_0x2a7cb8(0x1bb)),_0x44d343=_0x16ec91[_0x2a7cb8(0x1ed)][_0x2a7cb8(0x19d)](_0x2a7cb8(0x1ca)),_0x4a045f=_0x16ec91[_0x2a7cb8(0x1ed)][_0x2a7cb8(0x19d)](_0x2a7cb8(0x1b1)),_0x28123c=_0x16ec91[_0x2a7cb8(0x1ed)][_0x2a7cb8(0x19d)](_0x2a7cb8(0x1d8));this[_0x2a7cb8(0x20a)](),_0x4a045f[_0x2a7cb8(0x1d5)](()=>{const _0x3c513f=_0x2a7cb8,_0x5900ec=[];for(const [_0x42adfc,_0x4336ad]of Array[_0x3c513f(0x175)](this[_0x3c513f(0x205)])){const _0x5c39fb=_0x42adfc[_0x3c513f(0x184)](),_0x1ce0dd=[];for(const _0x5a43e3 of _0x5c39fb){if(!_0x5a43e3[_0x3c513f(0x204)])continue;if(_0x5a43e3[_0x3c513f(0x196)]){_0x1ce0dd[_0x3c513f(0x1d9)](..._0x5a43e3[_0x3c513f(0x1d3)]());continue;}const _0xb71f00=_0x5a43e3[_0x3c513f(0x192)]();if(_0x1ce0dd[_0x3c513f(0x17e)]>0x0){const _0x4845ff=_0x1ce0dd[0x0][_0x3c513f(0x1ad)](_0xb71f00);if(_0x4845ff){_0x1ce0dd[0x0]=_0x4845ff;continue;}}_0x1ce0dd[_0x3c513f(0x1d9)](_0xb71f00);}_0x5900ec[_0x3c513f(0x1d9)]([_0x4336ad[_0x3c513f(0x1e6)],_0x1ce0dd]);}return _0x5900ec;}),this[_0x2a7cb8(0x18f)](_0x2b938e,_0x2a7cb8(0x1dc),(_0x2b56d4,_0x4e54fa)=>{const _0x4ad0bc=_0x2a7cb8;this[_0x4ad0bc(0x18f)](_0x4e54fa,_0x4ad0bc(0x1dd),(_0x1d7c54,_0xd78ebd,_0x36bcb1,_0x102c49)=>{const _0x2aadc7=_0x4ad0bc;_0x4e54fa[_0x2aadc7(0x204)]&&(null==_0x36bcb1?(this[_0x2aadc7(0x198)](_0x102c49[_0x2aadc7(0x202)]),this[_0x2aadc7(0x1f0)](_0x4e54fa,!0x1)):(this[_0x2aadc7(0x198)](_0x36bcb1[_0x2aadc7(0x202)]),null==_0x102c49&&this[_0x2aadc7(0x1f0)](_0x4e54fa,!0x0)));}),null!==_0x4e54fa[_0x4ad0bc(0x1e2)]?this[_0x4ad0bc(0x198)](_0x4e54fa[_0x4ad0bc(0x202)]):this[_0x4ad0bc(0x1f0)](_0x4e54fa,!0x1);}),this[_0x2a7cb8(0x18f)](_0x2b938e,_0x2a7cb8(0x1ae),(_0x1a9abb,_0x41144b,_0x482cfb)=>{const _0x4b3ea8=_0x2a7cb8;this[_0x4b3ea8(0x199)](_0x41144b,_0x4b3ea8(0x1dd)),this[_0x4b3ea8(0x17a)][_0x4b3ea8(0x19c)](_0x41144b),this[_0x4b3ea8(0x205)][_0x4b3ea8(0x1c8)](_0x41144b)&&this[_0x4b3ea8(0x19a)](_0x41144b),_0x482cfb&&this[_0x4b3ea8(0x198)](_0x482cfb[_0x4b3ea8(0x202)]);}),this[_0x2a7cb8(0x18f)](_0x2b938e,_0x2a7cb8(0x179),(_0x381e9a,_0x12adf3)=>{const _0x507ec8=_0x2a7cb8;this[_0x507ec8(0x198)](_0x12adf3);}),this[_0x2a7cb8(0x18f)](_0x44d343,_0x2a7cb8(0x1fa),()=>{const _0x5033a7=_0x2a7cb8;this[_0x5033a7(0x1b9)]();}),this[_0x2a7cb8(0x18f)](_0x28123c,_0x2a7cb8(0x1fe),(_0x543a33,{threadId:_0x23ce02,isFromAdapter:_0x1aa802})=>{const _0x2e5bf5=_0x2a7cb8;if(_0x1aa802||!_0x2b938e[_0x2e5bf5(0x1b8)](_0x23ce02))return;const _0x4f12bd=_0x2b938e[_0x2e5bf5(0x203)](_0x23ce02);this[_0x2e5bf5(0x205)][_0x2e5bf5(0x19d)](_0x4f12bd)[_0x2e5bf5(0x1e6)][_0x2e5bf5(0x1aa)][_0x2e5bf5(0x1fd)](-0x1);},{'priority':_0x2a7cb8(0x1d0)});}[_0xa27501(0x1b9)](){const _0x2a9cad=_0xa27501,_0x3d6693=this[_0x2a9cad(0x206)][_0x2a9cad(0x1ed)][_0x2a9cad(0x19d)](_0x2a9cad(0x1ca)),_0x5dc6d6=this[_0x2a9cad(0x206)][_0x2a9cad(0x1ed)][_0x2a9cad(0x19d)](_0x2a9cad(0x1bb)),_0x4e8d1f=Array[_0x2a9cad(0x175)](_0x3d6693[_0x2a9cad(0x18c)],_0x567e68=>_0x567e68[_0x2a9cad(0x187)])[_0x2a9cad(0x1e0)](_0x27dbc8=>this[_0x2a9cad(0x197)][_0x2a9cad(0x1c8)](_0x27dbc8)),_0x55d385=[];for(const _0x15da35 of _0x4e8d1f){const _0x7caf1e=this[_0x2a9cad(0x197)][_0x2a9cad(0x19d)](_0x15da35)[_0x2a9cad(0x1d6)][_0x2a9cad(0x184)]();_0x55d385[_0x2a9cad(0x1d9)](..._0x7caf1e[_0x2a9cad(0x18a)]((_0x31aaa6,_0x5f48dd)=>[..._0x31aaa6,..._0x5f48dd[_0x2a9cad(0x1a8)]()],[]));}_0x5dc6d6[_0x2a9cad(0x1b2)]=_0x55d385;}[_0xa27501(0x20a)](){const _0x18fd98=_0xa27501,_0x5ae31d=this[_0x18fd98(0x206)],_0x34060b=_0x5ae31d[_0x18fd98(0x1ff)],_0x47dc8c=_0x27b531(_0x34060b,_0x18fd98(0x185)),_0x5c64db=new _0x414e5b([{'type':_0x18fd98(0x18d),'model':new _0x4c7d9d({'withText':!0x0,'isToggleable':!0x0,'label':_0x47dc8c,'commandName':_0x18fd98(0x19e),'role':_0x18fd98(0x1a0)})},{'type':_0x18fd98(0x1a2)},{'type':_0x18fd98(0x1d1),'model':new _0x4c7d9d({'withText':!0x0,'label':_0x27b531(_0x34060b,_0x18fd98(0x1a4)),'commandName':_0x18fd98(0x1a3),'role':_0x18fd98(0x1bc)})},{'type':_0x18fd98(0x1d1),'model':new _0x4c7d9d({'withText':!0x0,'label':_0x27b531(_0x34060b,_0x18fd98(0x1e1)),'commandName':_0x18fd98(0x1f8),'role':_0x18fd98(0x1bc)})},{'type':_0x18fd98(0x1d1),'model':new _0x4c7d9d({'withText':!0x0,'label':_0x27b531(_0x34060b,_0x18fd98(0x1f2)),'commandName':_0x18fd98(0x195),'role':_0x18fd98(0x1bc)})},{'type':_0x18fd98(0x1d1),'model':new _0x4c7d9d({'withText':!0x0,'label':_0x27b531(_0x34060b,_0x18fd98(0x177)),'commandName':_0x18fd98(0x1e8),'role':_0x18fd98(0x1bc)})}]);for(const _0x45dfa1 of _0x5c64db)if(he(_0x45dfa1)){const _0x1407dd=_0x5ae31d[_0x18fd98(0x1a7)][_0x18fd98(0x19d)](_0x45dfa1[_0x18fd98(0x1d6)][_0x18fd98(0x1a6)]);_0x45dfa1[_0x18fd98(0x1d6)][_0x18fd98(0x180)](_0x18fd98(0x1bd),_0x18fd98(0x17d))['to'](_0x1407dd,_0x18fd98(0x1bf),_0x18fd98(0x17d));}_0x5ae31d['ui'][_0x18fd98(0x1be)][_0x18fd98(0x1c9)](_0x18fd98(0x19e),_0x41aeb5=>this[_0x18fd98(0x1b0)](_0x41aeb5,_0x5c64db,_0x47dc8c)),_0x5ae31d['ui'][_0x18fd98(0x1be)][_0x18fd98(0x1c9)](_0x18fd98(0x178),_0x196cde=>this[_0x18fd98(0x1e5)](_0x196cde,_0x5c64db,_0x47dc8c));}[_0xa27501(0x1b0)](_0x227fda,_0x1a2ba7,_0x42ebd3){const _0x5476ec=_0xa27501,_0x36fb66=_0x2f6fa1(_0x227fda,_0x4f6ef9),_0x5b1732=this[_0x5476ec(0x206)][_0x5476ec(0x1a7)][_0x5476ec(0x19d)](_0x5476ec(0x19e));_0x36fb66[_0x5476ec(0x1d4)][_0x5476ec(0x183)]({'tooltip':_0x42ebd3,'label':_0x42ebd3,'icon':_0x2a78f0}),_0x36fb66[_0x5476ec(0x1d4)][_0x5476ec(0x180)](_0x5476ec(0x1bd))['to'](_0x5b1732,_0x5476ec(0x1bf)),_0x36fb66[_0x5476ec(0x1d4)]['on'](_0x5476ec(0x200),()=>{const _0x2317bc=_0x5476ec;_0x5b1732[_0x2317bc(0x200)](),this[_0x2317bc(0x206)][_0x2317bc(0x1a1)][_0x2317bc(0x1e6)][_0x2317bc(0x1fd)]();}),_0x118a76(_0x36fb66,_0x1a2ba7,{'role':_0x5476ec(0x1b6)});const _0x3d710c=[];for(const _0x488be7 of _0x1a2ba7)he(_0x488be7)&&_0x3d710c[_0x5476ec(0x1d9)](this[_0x5476ec(0x206)][_0x5476ec(0x1a7)][_0x5476ec(0x19d)](_0x488be7[_0x5476ec(0x1d6)][_0x5476ec(0x1a6)]));const _0x4a1ee0=_0x36fb66[_0x5476ec(0x1d4)];return _0x4a1ee0[_0x5476ec(0x1c6)][_0x5476ec(0x19b)](_0x5476ec(0x17d)),_0x4a1ee0[_0x5476ec(0x201)][_0x5476ec(0x19b)](_0x5476ec(0x17d)),_0x4a1ee0[_0x5476ec(0x1c6)][_0x5476ec(0x180)](_0x5476ec(0x17d))['to'](_0x5b1732,_0x5476ec(0x17d)),_0x4a1ee0[_0x5476ec(0x201)][_0x5476ec(0x180)](_0x5476ec(0x17d))[_0x5476ec(0x1a9)](_0x3d710c,_0x5476ec(0x17d),(..._0x256432)=>_0x256432[_0x5476ec(0x182)](_0x10f5e9=>_0x10f5e9)),_0x36fb66['on'](_0x5476ec(0x200),_0x1aea61=>{const _0x544e4a=_0x5476ec;this[_0x544e4a(0x206)][_0x544e4a(0x200)](_0x1aea61[_0x544e4a(0x1d7)][_0x544e4a(0x1a6)]),this[_0x544e4a(0x206)][_0x544e4a(0x1a1)][_0x544e4a(0x1e6)][_0x544e4a(0x1fd)]();}),_0x36fb66;}[_0xa27501(0x1e5)](_0x2a8443,_0x3fcdf8,_0x4c6e52){const _0x45248c=_0xa27501,_0x58ec66=new _0x220b3c(_0x2a8443),_0x14e4f4=this[_0x45248c(0x206)][_0x45248c(0x1a7)][_0x45248c(0x19d)](_0x45248c(0x19e));_0x58ec66[_0x45248c(0x1d4)][_0x45248c(0x183)]({'label':_0x4c6e52,'icon':_0x2a78f0});const _0x277702=new _0x452002(_0x2a8443);for(const _0x4cac65 of _0x3fcdf8){if(_0x45248c(0x1a2)==_0x4cac65[_0x45248c(0x207)]){_0x277702[_0x45248c(0x1ac)][_0x45248c(0x1c9)](new _0x31577f(_0x2a8443));continue;}const _0x493953=new _0x3af5fd(_0x2a8443,_0x58ec66),_0x51746c=new _0x468011(_0x2a8443),_0x5abaaf=_0x4cac65[_0x45248c(0x1d6)];_0x51746c[_0x45248c(0x180)](...Object[_0x45248c(0x17b)](_0x5abaaf))['to'](_0x5abaaf),_0x51746c[_0x45248c(0x1de)](_0x45248c(0x200))['to'](_0x58ec66),_0x51746c['on'](_0x45248c(0x200),()=>{const _0x6be4ec=_0x45248c;this[_0x6be4ec(0x206)][_0x6be4ec(0x200)](_0x5abaaf[_0x6be4ec(0x1a6)]),this[_0x6be4ec(0x206)][_0x6be4ec(0x1a1)][_0x6be4ec(0x1e6)][_0x6be4ec(0x1fd)]();}),_0x493953[_0x45248c(0x1e9)][_0x45248c(0x1c9)](_0x51746c),_0x277702[_0x45248c(0x1ac)][_0x45248c(0x1c9)](_0x493953);}return _0x58ec66[_0x45248c(0x180)](_0x45248c(0x17d))['to'](_0x14e4f4,_0x45248c(0x17d)),_0x58ec66[_0x45248c(0x1ab)][_0x45248c(0x1e9)][_0x45248c(0x1c9)](_0x277702),_0x58ec66;}[_0xa27501(0x1b5)](_0x14a5ee){const _0x4cb530=_0xa27501,_0x2952b4=this[_0x4cb530(0x206)],_0x4857a1=_0x2952b4[_0x4cb530(0x1f4)],_0x21c73a=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1ca)),_0x23910f=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1d8)),_0x351e95=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1b1)),_0x55893d=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x491948)['me'],_0x46c154=_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x19e))[_0x4cb530(0x1fc)],{CommentsListView:_0xb7065e,CommentThreadInputView:_0x15d683}=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1ef));let _0x3a3d18,_0x4471c1;this[_0x4cb530(0x20c)][_0x4cb530(0x1c8)](_0x14a5ee['id'])?(_0x4471c1=this[_0x4cb530(0x20c)][_0x4cb530(0x19d)](_0x14a5ee['id']),_0x3a3d18=_0x4471c1[_0x4cb530(0x1c2)]):(_0x3a3d18=new _0x46c154(_0x2952b4[_0x4cb530(0x1ff)],_0x14a5ee,_0x55893d,{'disableComments':this[_0x4cb530(0x1f7)],'editorConfig':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1eb)),'maxCommentsWhenCollapsed':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1b4)),'maxThreadTotalWeight':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x18b)),'maxCommentCharsWhenCollapsed':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1db)),'formatDateTime':_0x3813a5(_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1ff))),'CommentView':_0x4857a1[_0x4cb530(0x19d)](_0x4cb530(0x1cd))[_0x4cb530(0x194)],'CommentsListView':_0xb7065e,'CommentThreadInputView':_0x15d683}),_0x3a3d18[_0x4cb530(0x1df)]['on'](_0x4cb530(0x200),()=>{const _0x1d2289=_0x4cb530;_0x2952b4[_0x1d2289(0x1a1)][_0x1d2289(0x1e6)][_0x1d2289(0x1fd)]();}),_0x3a3d18[_0x4cb530(0x1cf)]['on'](_0x4cb530(0x200),()=>{const _0x1c9725=_0x4cb530;_0x2952b4[_0x1c9725(0x1a1)][_0x1c9725(0x1e6)][_0x1c9725(0x1fd)]();}),_0x4471c1=_0x21c73a[_0x4cb530(0x181)](this[_0x4cb530(0x206)][_0x4cb530(0x1ff)],_0x3a3d18),_0x4471c1[_0x4cb530(0x180)](_0x4cb530(0x1af))['to'](_0x3a3d18,_0x4cb530(0x1af)),_0x4471c1[_0x4cb530(0x180)](_0x4cb530(0x17e))['to'](_0x3a3d18),_0x4471c1[_0x4cb530(0x180)](_0x4cb530(0x207))['to'](_0x3a3d18,_0x4cb530(0x207),_0x4c3212=>_0x4cb530(0x19f)+_0x4c3212),this[_0x4cb530(0x18f)](_0x3a3d18,_0x4cb530(0x20b),()=>{const _0x4d54ef=_0x4cb530;_0x2952b4[_0x4d54ef(0x1a1)][_0x4d54ef(0x1e6)][_0x4d54ef(0x1fd)]();},{'priority':_0x4cb530(0x1c5)}),this[_0x4cb530(0x20c)][_0x4cb530(0x183)](_0x14a5ee['id'],_0x4471c1));const _0x3686c0=_0x23910f[_0x4cb530(0x1c1)](_0x14a5ee[_0x4cb530(0x17c)],_0x3a3d18),_0x3798d6=new _0x1e778d(_0x2952b4,_0x14a5ee,_0x3a3d18,_0x3686c0),_0x22f1fe=_0x14a5ee[_0x4cb530(0x184)]()[_0x4cb530(0x1e0)](_0x5214c2=>_0x5214c2[_0x4cb530(0x204)]);_0x3a3d18[_0x4cb530(0x174)]=_0x2952b4[_0x4cb530(0x1ed)][_0x4cb530(0x19d)](_0x4cb530(0x1bb))[_0x4cb530(0x208)][_0x4cb530(0x1da)](_0x22f1fe),this[_0x4cb530(0x205)][_0x4cb530(0x183)](_0x14a5ee,_0x3798d6),this[_0x4cb530(0x197)][_0x4cb530(0x183)](_0x3a3d18,_0x3798d6);const _0x462d41=_0x21c73a[_0x4cb530(0x1cb)]({'view':_0x4471c1,'target':()=>{const _0x35262c=_0x4cb530,_0x35338e=[],_0x3d7382=_0x14a5ee[_0x35262c(0x184)]()[_0x35262c(0x1e0)](_0x47e55d=>_0x47e55d[_0x35262c(0x204)]);for(const _0x10a63d of _0x3d7382)_0x35338e[_0x35262c(0x1d9)](..._0x10a63d[_0x35262c(0x1b7)]());return _0x26e034(_0x2952b4[_0x35262c(0x1a1)],_0x35338e);},'type':()=>_0x4cb530(0x19f)+_0x3798d6[_0x4cb530(0x1e6)][_0x4cb530(0x207)]});_0x23910f[_0x4cb530(0x1ea)](_0x3a3d18,_0x462d41),_0x21c73a[_0x4cb530(0x1c9)](_0x462d41),_0x351e95[_0x4cb530(0x1ec)](_0x462d41);}[_0xa27501(0x19a)](_0x543902){const _0x5d066b=_0xa27501,_0x470680=this[_0x5d066b(0x206)][_0x5d066b(0x1ed)][_0x5d066b(0x19d)](_0x5d066b(0x1d8)),_0x6daf04=this[_0x5d066b(0x206)][_0x5d066b(0x1ed)][_0x5d066b(0x19d)](_0x5d066b(0x1ca)),_0x593ded=this[_0x5d066b(0x205)][_0x5d066b(0x19d)](_0x543902),_0xce77ba=_0x593ded[_0x5d066b(0x1e6)],_0x267e66=_0x6daf04[_0x5d066b(0x1c4)](_0xce77ba);_0x470680[_0x5d066b(0x186)](_0xce77ba),_0x267e66&&_0x6daf04[_0x5d066b(0x1c7)](_0x267e66),this[_0x5d066b(0x205)][_0x5d066b(0x19c)](_0x543902),this[_0x5d066b(0x197)][_0x5d066b(0x19c)](_0xce77ba),_0x593ded[_0x5d066b(0x1f5)]();}[_0xa27501(0x198)](_0x4d602e){const _0x223bc3=_0xa27501;if(!_0x4d602e[_0x223bc3(0x204)]||!this[_0x223bc3(0x205)][_0x223bc3(0x1c8)](_0x4d602e))return;const _0x942b9e=this[_0x223bc3(0x206)][_0x223bc3(0x1ed)][_0x223bc3(0x19d)](_0x223bc3(0x1bb)),_0x5349d0=this[_0x223bc3(0x205)][_0x223bc3(0x19d)](_0x4d602e),_0x3cae8f=_0x4d602e[_0x223bc3(0x184)]();_0x5349d0[_0x223bc3(0x1e6)][_0x223bc3(0x174)]=_0x942b9e[_0x223bc3(0x208)][_0x223bc3(0x1da)](_0x3cae8f);}[_0xa27501(0x1cc)](){const _0x386815=_0xa27501;this[_0x386815(0x206)][_0x386815(0x1f3)][_0x386815(0x183)](_0x5936c1,(_0x30879b,_0x3e784b)=>{const _0x1b120f=_0x386815,_0x2ad576=this[_0x1b120f(0x206)][_0x1b120f(0x1ed)][_0x1b120f(0x19d)](_0x4c17e4),_0x2abb88=this[_0x1b120f(0x206)][_0x1b120f(0x1ed)][_0x1b120f(0x19d)](_0x327cf3);if(!_0x2abb88[_0x1b120f(0x1b2)][_0x1b120f(0x17e)])return;const {id:_0xb02782}=_0x2abb88[_0x1b120f(0x1a5)](_0x2abb88[_0x1b120f(0x1b2)][0x0]),_0x49e471=_0x2ad576[_0x1b120f(0x203)](_0xb02782);_0x49e471&&(this[_0x1b120f(0x205)][_0x1b120f(0x19d)](_0x49e471)[_0x1b120f(0x1e6)][_0x1b120f(0x1fd)](),_0x3e784b());});}[_0xa27501(0x1f5)](){const _0x49f9f8=_0xa27501;for(const _0x2cebed of this[_0x49f9f8(0x205)][_0x49f9f8(0x17b)]())this[_0x49f9f8(0x19a)](_0x2cebed);for(const _0x167224 of this[_0x49f9f8(0x20c)][_0x49f9f8(0x1c0)]())_0x167224[_0x49f9f8(0x1c2)][_0x49f9f8(0x1f5)]();super[_0x49f9f8(0x1f5)]();}}function he(_0x5decd5){const _0xcc3fc4=_0xa27501;return _0xcc3fc4(0x1d6)in _0x5decd5;}
23
+ const _0xc57291=_0x3394;function _0x3394(_0x5068d2,_0x2ed96c){const _0x416690=_0x4166();return _0x3394=function(_0x339419,_0x2e0cb0){_0x339419=_0x339419-0x1b0;let _0x58e5cc=_0x416690[_0x339419];return _0x58e5cc;},_0x3394(_0x5068d2,_0x2ed96c);}(function(_0x3258b2,_0x337b85){const _0x13d76b=_0x3394,_0x101978=_0x3258b2();while(!![]){try{const _0x285680=parseInt(_0x13d76b(0x210))/0x1+parseInt(_0x13d76b(0x1ec))/0x2*(parseInt(_0x13d76b(0x21f))/0x3)+-parseInt(_0x13d76b(0x221))/0x4*(parseInt(_0x13d76b(0x1b1))/0x5)+parseInt(_0x13d76b(0x23d))/0x6+-parseInt(_0x13d76b(0x230))/0x7+-parseInt(_0x13d76b(0x1d8))/0x8*(-parseInt(_0x13d76b(0x207))/0x9)+parseInt(_0x13d76b(0x1cf))/0xa;if(_0x285680===_0x337b85)break;else _0x101978['push'](_0x101978['shift']());}catch(_0x36595c){_0x101978['push'](_0x101978['shift']());}}}(_0x4166,0xd8eba));import{Plugin as _0x4a97df}from'ckeditor5/src/core.js';import{Collection as _0x2e97b0}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x290dd9,createDropdown as _0x19b6f5,ListSeparatorView as _0x423ad8,MenuBarMenuView as _0x212775,MenuBarMenuListView as _0x3200de,MenuBarMenuListItemView as _0x344e58,MenuBarMenuListItemButtonView as _0x96a3d0,SplitButtonView as _0xce7b7a,ViewModel as _0x248127}from'ckeditor5/src/ui.js';function _0x4166(){const _0xb442d9=['reduce','discardSelectedSuggestions','clear','model','listenTo','Accept\x20all\x20suggestions','SuggestionThreadView','getRanges','actionView','getByInnerView','menuitemcheckbox','67191oBpAzk','button','1004TXRtgQ','Track\x20changes','EditorAnnotations','getSuggestion','commandName','refreshSelectedViews','trackChanges.SuggestionThreadView','_addUIComponentsToFactory','length','stopListening','trackChanges','_updateController','get','_splitMarkerName','init','2308992uYeYBT','view','registerAnnotation','isMultiRange','_createToolbarButton','menuitem','comments.maxThreadTotalWeight','from','type','isOn','acceptAllSuggestions','addSourceCollector','keystrokes','2669274ZVkJjz','low','Discard\x20all\x20selected\x20suggestions','_handleControllerBuffer','acceptButton','source','suggestionUnloaded','_handleSuggestionControllerDelayed','pluginName','escape','arrowView','discardAllSuggestions','createAnnotationView','descriptionFactory','33505YXBuLH','head','plugins','has','editing','keys','menuBar:trackChanges','delegate','suggestionLoaded','comments','locale','values','acceptSelectedSuggestions','remove','suggestionChanged','_refreshActiveMarkers','componentFactory','_viewToController','_suggestionToController','separator','delete','createAnnotation','suggestionView','trackChanges.disableComments','requires','getJoined','comments.editorConfig','getDescriptions','config','change:activeAnnotations','12593740jBYKLw','focus','toMany','getMarkerNames','push','filter','commentsListView','_disableComments','children','176adQOkt','menu','_bindAnnotationToEditors','hasSuggestion','activeAnnotations','isEnabled','CommentView','some','Annotations','trackChanges.SuggestionView','_initializeController','execute','TrackChangesUI','set','Accept\x20all\x20selected\x20suggestions','editor','isInContent','switchbutton','_createMenuBarMenu','createCommentThreadController','82MXTZIE','add','define','_annotationViews','previous','innerView','CommentsRepository','bind','commentThread','discardButton','size','items','TrackChangesEditing','commands','suggestion-','lowest','descriptionParts','addComment','Discard\x20all\x20suggestions','destroy','comments.maxCommentCharsWhenCollapsed','_unbindEditors','SuggestionView','buttonView','panelView','change:previous','comments.maxCommentsWhenCollapsed','62253jyslzZ','getMarkers','getAllAdjacentSuggestions','mainView','isDirty','getFirstRange','_destroyController','_initKeyboardNavigationToThread','CommentsUI','125609MyqePy','unbind','value','activeMarkers'];_0x4166=function(){return _0xb442d9;};return _0x4166();}import{Users as _0x379e0d,getDateTimeFormatter as _0x42d582,getAllMarkersDomElementsSorted as _0x1bd265,ENTER_THREAD_KEYSTROKE as _0x1e8625}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5028c0 from'./trackchangesediting.js';import _0x23a2a2 from'./ui/suggestioncontroller.js';import _0x57c9e9 from'./ui/view/suggestionthreadview.js';import _0x140076 from'./ui/view/suggestionview.js';import{getTranslation as _0x2233bd}from'./utils/common-translations.js';import _0x9bc3d8 from'./trackchanges.js';import _0x5479ef from'../theme/icons/track-changes.svg';export default class d extends _0x4a97df{static get[_0xc57291(0x1c9)](){const _0x5cdc68=_0xc57291;return[_0x5028c0,_0x379e0d,_0x5cdc68(0x1f2),_0x5cdc68(0x1e0),_0x5cdc68(0x223)];}static get[_0xc57291(0x245)](){const _0x44e7bf=_0xc57291;return _0x44e7bf(0x1e4);}constructor(_0x2f6ab9){const _0x168816=_0xc57291;super(_0x2f6ab9),this[_0x168816(0x1c3)]=new Map(),this[_0x168816(0x1c2)]=new Map(),this[_0x168816(0x1ef)]=new Map(),this[_0x168816(0x240)]=new Map();const _0x553dc6=this[_0x168816(0x1e7)][_0x168816(0x1cd)];_0x553dc6[_0x168816(0x1ee)](_0x168816(0x227),_0x57c9e9),_0x553dc6[_0x168816(0x1ee)](_0x168816(0x1e1),_0x140076),_0x553dc6[_0x168816(0x1ee)](_0x168816(0x1c8),!0x1),this[_0x168816(0x1d6)]=_0x553dc6[_0x168816(0x22d)](_0x168816(0x1c8)),this[_0x168816(0x20e)]();}[_0xc57291(0x244)](_0x24639c,_0x3cc398){const _0x3e102d=_0xc57291;0x0===this[_0x3e102d(0x240)][_0x3e102d(0x1f6)]&&setTimeout(()=>{const _0x3b85f6=_0x3e102d;for(const [_0x59a322,_0x26f097]of this[_0x3b85f6(0x240)]){const _0x22c1cb=this[_0x3b85f6(0x1c3)][_0x3b85f6(0x1b4)](_0x59a322);_0x22c1cb||_0x26f097?_0x22c1cb&&_0x26f097&&this[_0x3b85f6(0x20d)](_0x59a322):this[_0x3b85f6(0x1e2)](_0x59a322);}this[_0x3b85f6(0x240)][_0x3b85f6(0x216)](),this[_0x3b85f6(0x1e7)][_0x3b85f6(0x1b3)][_0x3b85f6(0x22d)](_0x3b85f6(0x223))[_0x3b85f6(0x226)](),this[_0x3b85f6(0x1c0)]();},0xa),this[_0x3e102d(0x240)][_0x3e102d(0x1e5)](_0x24639c,_0x3cc398);}[_0xc57291(0x22f)](){const _0x2762ee=_0xc57291,_0x284d15=this[_0x2762ee(0x1e7)],_0x2ad57b=_0x284d15[_0x2762ee(0x1b3)][_0x2762ee(0x22d)](_0x2762ee(0x1f8)),_0x56d048=_0x284d15[_0x2762ee(0x1b3)][_0x2762ee(0x22d)](_0x2762ee(0x1e0)),_0x2eea64=_0x284d15[_0x2762ee(0x1b3)][_0x2762ee(0x22d)](_0x2762ee(0x223)),_0x5b3144=_0x284d15[_0x2762ee(0x1b3)][_0x2762ee(0x22d)](_0x2762ee(0x1f2));this[_0x2762ee(0x228)](),_0x2eea64[_0x2762ee(0x23b)](()=>{const _0x10fe21=_0x2762ee,_0xeefb22=[];for(const [_0x253971,_0x202b81]of Array[_0x10fe21(0x237)](this[_0x10fe21(0x1c3)])){const _0x16ec26=_0x253971[_0x10fe21(0x209)](),_0x2b162c=[];for(const _0x4ab658 of _0x16ec26){if(!_0x4ab658[_0x10fe21(0x1e8)])continue;if(_0x4ab658[_0x10fe21(0x233)]){_0x2b162c[_0x10fe21(0x1d3)](..._0x4ab658[_0x10fe21(0x21b)]());continue;}const _0x47dc9e=_0x4ab658[_0x10fe21(0x20c)]();if(_0x2b162c[_0x10fe21(0x229)]>0x0){const _0x28ff2d=_0x2b162c[0x0][_0x10fe21(0x1ca)](_0x47dc9e);if(_0x28ff2d){_0x2b162c[0x0]=_0x28ff2d;continue;}}_0x2b162c[_0x10fe21(0x1d3)](_0x47dc9e);}_0xeefb22[_0x10fe21(0x1d3)]([_0x202b81[_0x10fe21(0x231)],_0x2b162c]);}return _0xeefb22;}),this[_0x2762ee(0x218)](_0x2ad57b,_0x2762ee(0x1b9),(_0x44b413,_0xe1d66d)=>{const _0x359c81=_0x2762ee;this[_0x359c81(0x218)](_0xe1d66d,_0x359c81(0x205),(_0xceceac,_0x59eec1,_0x5abec4,_0x321ac0)=>{const _0x597915=_0x359c81;_0xe1d66d[_0x597915(0x1e8)]&&(null==_0x5abec4?(this[_0x597915(0x22c)](_0x321ac0[_0x597915(0x1b2)]),this[_0x597915(0x244)](_0xe1d66d,!0x1)):(this[_0x597915(0x22c)](_0x5abec4[_0x597915(0x1b2)]),null==_0x321ac0&&this[_0x597915(0x244)](_0xe1d66d,!0x0)));}),null!==_0xe1d66d[_0x359c81(0x1f0)]?this[_0x359c81(0x22c)](_0xe1d66d[_0x359c81(0x1b2)]):this[_0x359c81(0x244)](_0xe1d66d,!0x1);}),this[_0x2762ee(0x218)](_0x2ad57b,_0x2762ee(0x243),(_0x1fe8bf,_0x40ee35,_0x56bf9a)=>{const _0x262f95=_0x2762ee;this[_0x262f95(0x22a)](_0x40ee35,_0x262f95(0x205)),this[_0x262f95(0x240)][_0x262f95(0x1c5)](_0x40ee35),this[_0x262f95(0x1c3)][_0x262f95(0x1b4)](_0x40ee35)&&this[_0x262f95(0x20d)](_0x40ee35),_0x56bf9a&&this[_0x262f95(0x22c)](_0x56bf9a[_0x262f95(0x1b2)]);}),this[_0x2762ee(0x218)](_0x2ad57b,_0x2762ee(0x1bf),(_0x40329c,_0x5cfa26)=>{const _0x6e2fa0=_0x2762ee;this[_0x6e2fa0(0x22c)](_0x5cfa26);}),this[_0x2762ee(0x218)](_0x56d048,_0x2762ee(0x1ce),()=>{const _0x1a14a1=_0x2762ee;this[_0x1a14a1(0x1c0)]();}),this[_0x2762ee(0x218)](_0x5b3144,_0x2762ee(0x1fd),(_0x558671,{threadId:_0xc7d4fe,isFromAdapter:_0x4eff6f})=>{const _0x4542e4=_0x2762ee;if(_0x4eff6f||!_0x2ad57b[_0x4542e4(0x1db)](_0xc7d4fe))return;const _0x2a6ffd=_0x2ad57b[_0x4542e4(0x224)](_0xc7d4fe);this[_0x4542e4(0x1c3)][_0x4542e4(0x22d)](_0x2a6ffd)[_0x4542e4(0x231)][_0x4542e4(0x1d5)][_0x4542e4(0x1d0)](-0x1);},{'priority':_0x2762ee(0x1fb)});}[_0xc57291(0x1c0)](){const _0x13776f=_0xc57291,_0x3c6876=this[_0x13776f(0x1e7)][_0x13776f(0x1b3)][_0x13776f(0x22d)](_0x13776f(0x1e0)),_0x464e9e=this[_0x13776f(0x1e7)][_0x13776f(0x1b3)][_0x13776f(0x22d)](_0x13776f(0x1f8)),_0x26047d=Array[_0x13776f(0x237)](_0x3c6876[_0x13776f(0x1dc)],_0x5ce832=>_0x5ce832[_0x13776f(0x1f1)])[_0x13776f(0x1d4)](_0x1fbbfc=>this[_0x13776f(0x1c2)][_0x13776f(0x1b4)](_0x1fbbfc)),_0x17dbd8=[];for(const _0x3c07fc of _0x26047d){const _0x1a16d7=this[_0x13776f(0x1c2)][_0x13776f(0x22d)](_0x3c07fc)[_0x13776f(0x217)][_0x13776f(0x209)]();_0x17dbd8[_0x13776f(0x1d3)](..._0x1a16d7[_0x13776f(0x214)]((_0x1681da,_0x1beac1)=>[..._0x1681da,..._0x1beac1[_0x13776f(0x1d2)]()],[]));}_0x464e9e[_0x13776f(0x213)]=_0x17dbd8;}[_0xc57291(0x228)](){const _0x7738ac=_0xc57291,_0x390570=this[_0x7738ac(0x1e7)],_0x39f1dd=_0x390570[_0x7738ac(0x1bb)],_0x251519=_0x2233bd(_0x39f1dd,_0x7738ac(0x222)),_0x509936=new _0x2e97b0([{'type':_0x7738ac(0x1e9),'model':new _0x248127({'withText':!0x0,'isToggleable':!0x0,'label':_0x251519,'commandName':_0x7738ac(0x22b),'role':_0x7738ac(0x21e)})},{'type':_0x7738ac(0x1c4)},{'type':_0x7738ac(0x220),'model':new _0x248127({'withText':!0x0,'label':_0x2233bd(_0x39f1dd,_0x7738ac(0x219)),'commandName':_0x7738ac(0x23a),'role':_0x7738ac(0x235)})},{'type':_0x7738ac(0x220),'model':new _0x248127({'withText':!0x0,'label':_0x2233bd(_0x39f1dd,_0x7738ac(0x1e6)),'commandName':_0x7738ac(0x1bd),'role':_0x7738ac(0x235)})},{'type':_0x7738ac(0x220),'model':new _0x248127({'withText':!0x0,'label':_0x2233bd(_0x39f1dd,_0x7738ac(0x1fe)),'commandName':_0x7738ac(0x248),'role':_0x7738ac(0x235)})},{'type':_0x7738ac(0x220),'model':new _0x248127({'withText':!0x0,'label':_0x2233bd(_0x39f1dd,_0x7738ac(0x23f)),'commandName':_0x7738ac(0x215),'role':_0x7738ac(0x235)})}]);for(const _0x769d54 of _0x509936)if(me(_0x769d54)){const _0x2f8425=_0x390570[_0x7738ac(0x1f9)][_0x7738ac(0x22d)](_0x769d54[_0x7738ac(0x217)][_0x7738ac(0x225)]);_0x769d54[_0x7738ac(0x217)][_0x7738ac(0x1f3)](_0x7738ac(0x239),_0x7738ac(0x1dd))['to'](_0x2f8425,_0x7738ac(0x212),_0x7738ac(0x1dd));}_0x390570['ui'][_0x7738ac(0x1c1)][_0x7738ac(0x1ed)](_0x7738ac(0x22b),_0x4193fd=>this[_0x7738ac(0x234)](_0x4193fd,_0x509936,_0x251519)),_0x390570['ui'][_0x7738ac(0x1c1)][_0x7738ac(0x1ed)](_0x7738ac(0x1b7),_0x4f1887=>this[_0x7738ac(0x1ea)](_0x4f1887,_0x509936,_0x251519));}[_0xc57291(0x234)](_0x5a5458,_0x2f33fb,_0x58a132){const _0x3fa594=_0xc57291,_0x30cb6b=_0x19b6f5(_0x5a5458,_0xce7b7a),_0x469dcc=this[_0x3fa594(0x1e7)][_0x3fa594(0x1f9)][_0x3fa594(0x22d)](_0x3fa594(0x22b));_0x30cb6b[_0x3fa594(0x203)][_0x3fa594(0x1e5)]({'tooltip':_0x58a132,'label':_0x58a132,'icon':_0x5479ef}),_0x30cb6b[_0x3fa594(0x203)][_0x3fa594(0x1f3)](_0x3fa594(0x239))['to'](_0x469dcc,_0x3fa594(0x212)),_0x30cb6b[_0x3fa594(0x203)]['on'](_0x3fa594(0x1e3),()=>{const _0x5e19e2=_0x3fa594;_0x469dcc[_0x5e19e2(0x1e3)](),this[_0x5e19e2(0x1e7)][_0x5e19e2(0x1b5)][_0x5e19e2(0x231)][_0x5e19e2(0x1d0)]();}),_0x290dd9(_0x30cb6b,_0x2f33fb,{'role':_0x3fa594(0x1d9)});const _0x56ddff=[];for(const _0x2d9855 of _0x2f33fb)me(_0x2d9855)&&_0x56ddff[_0x3fa594(0x1d3)](this[_0x3fa594(0x1e7)][_0x3fa594(0x1f9)][_0x3fa594(0x22d)](_0x2d9855[_0x3fa594(0x217)][_0x3fa594(0x225)]));const _0x9d17a8=_0x30cb6b[_0x3fa594(0x203)];return _0x9d17a8[_0x3fa594(0x21c)][_0x3fa594(0x211)](_0x3fa594(0x1dd)),_0x9d17a8[_0x3fa594(0x247)][_0x3fa594(0x211)](_0x3fa594(0x1dd)),_0x9d17a8[_0x3fa594(0x21c)][_0x3fa594(0x1f3)](_0x3fa594(0x1dd))['to'](_0x469dcc,_0x3fa594(0x1dd)),_0x9d17a8[_0x3fa594(0x247)][_0x3fa594(0x1f3)](_0x3fa594(0x1dd))[_0x3fa594(0x1d1)](_0x56ddff,_0x3fa594(0x1dd),(..._0x531bc0)=>_0x531bc0[_0x3fa594(0x1df)](_0x130e86=>_0x130e86)),_0x30cb6b['on'](_0x3fa594(0x1e3),_0x30d0a4=>{const _0x4a7a52=_0x3fa594;this[_0x4a7a52(0x1e7)][_0x4a7a52(0x1e3)](_0x30d0a4[_0x4a7a52(0x242)][_0x4a7a52(0x225)]),this[_0x4a7a52(0x1e7)][_0x4a7a52(0x1b5)][_0x4a7a52(0x231)][_0x4a7a52(0x1d0)]();}),_0x30cb6b;}[_0xc57291(0x1ea)](_0x12aae0,_0x17989f,_0x2b87c7){const _0x3e3422=_0xc57291,_0x36244=new _0x212775(_0x12aae0),_0x431477=this[_0x3e3422(0x1e7)][_0x3e3422(0x1f9)][_0x3e3422(0x22d)](_0x3e3422(0x22b));_0x36244[_0x3e3422(0x203)][_0x3e3422(0x1e5)]({'label':_0x2b87c7,'icon':_0x5479ef});const _0x503934=new _0x3200de(_0x12aae0);for(const _0x5023fc of _0x17989f){if(_0x3e3422(0x1c4)==_0x5023fc[_0x3e3422(0x238)]){_0x503934[_0x3e3422(0x1f7)][_0x3e3422(0x1ed)](new _0x423ad8(_0x12aae0));continue;}const _0x12c5fa=new _0x344e58(_0x12aae0,_0x36244),_0x4f0f01=new _0x96a3d0(_0x12aae0),_0x550e54=_0x5023fc[_0x3e3422(0x217)];_0x4f0f01[_0x3e3422(0x1f3)](...Object[_0x3e3422(0x1b6)](_0x550e54))['to'](_0x550e54),_0x4f0f01[_0x3e3422(0x1b8)](_0x3e3422(0x1e3))['to'](_0x36244),_0x4f0f01['on'](_0x3e3422(0x1e3),()=>{const _0x20a1b4=_0x3e3422;this[_0x20a1b4(0x1e7)][_0x20a1b4(0x1e3)](_0x550e54[_0x20a1b4(0x225)]),this[_0x20a1b4(0x1e7)][_0x20a1b4(0x1b5)][_0x20a1b4(0x231)][_0x20a1b4(0x1d0)]();}),_0x12c5fa[_0x3e3422(0x1d7)][_0x3e3422(0x1ed)](_0x4f0f01),_0x503934[_0x3e3422(0x1f7)][_0x3e3422(0x1ed)](_0x12c5fa);}return _0x36244[_0x3e3422(0x1f3)](_0x3e3422(0x1dd))['to'](_0x431477,_0x3e3422(0x1dd)),_0x36244[_0x3e3422(0x204)][_0x3e3422(0x1d7)][_0x3e3422(0x1ed)](_0x503934),_0x36244;}[_0xc57291(0x1e2)](_0x4659f8){const _0xc62d4=_0xc57291,_0x90b2cd=this[_0xc62d4(0x1e7)],_0x1bb865=_0x90b2cd[_0xc62d4(0x1cd)],_0x2f0f59=_0x90b2cd[_0xc62d4(0x1b3)][_0xc62d4(0x22d)](_0xc62d4(0x1e0)),_0x3cebc4=_0x90b2cd[_0xc62d4(0x1b3)][_0xc62d4(0x22d)](_0xc62d4(0x1f2)),_0x136dcb=_0x90b2cd[_0xc62d4(0x1b3)][_0xc62d4(0x22d)](_0xc62d4(0x223)),_0x12b838=_0x90b2cd[_0xc62d4(0x1b3)][_0xc62d4(0x22d)](_0x379e0d)['me'],_0x2376a1=_0x1bb865[_0xc62d4(0x22d)](_0xc62d4(0x22b))[_0xc62d4(0x21a)],_0x59b3aa=_0x1bb865[_0xc62d4(0x22d)](_0xc62d4(0x22b))[_0xc62d4(0x202)],{CommentsListView:_0x2ea7fc,CommentThreadInputView:_0x5bcf93}=_0x90b2cd[_0xc62d4(0x1b3)][_0xc62d4(0x22d)](_0xc62d4(0x20f));let _0x5ed497,_0x28dd15;this[_0xc62d4(0x1ef)][_0xc62d4(0x1b4)](_0x4659f8['id'])?(_0x28dd15=this[_0xc62d4(0x1ef)][_0xc62d4(0x22d)](_0x4659f8['id']),_0x5ed497=_0x28dd15[_0xc62d4(0x20a)]):(_0x5ed497=new _0x2376a1(_0x90b2cd[_0xc62d4(0x1bb)],_0x4659f8,_0x12b838,{'disableComments':this[_0xc62d4(0x1d6)],'editorConfig':_0x1bb865[_0xc62d4(0x22d)](_0xc62d4(0x1cb)),'maxCommentsWhenCollapsed':_0x1bb865[_0xc62d4(0x22d)](_0xc62d4(0x206)),'maxThreadTotalWeight':_0x1bb865[_0xc62d4(0x22d)](_0xc62d4(0x236)),'maxCommentCharsWhenCollapsed':_0x1bb865[_0xc62d4(0x22d)](_0xc62d4(0x200)),'formatDateTime':_0x42d582(_0x1bb865[_0xc62d4(0x22d)](_0xc62d4(0x1bb))),'CommentView':_0x1bb865[_0xc62d4(0x22d)](_0xc62d4(0x1ba))[_0xc62d4(0x1de)],'CommentsListView':_0x2ea7fc,'CommentThreadInputView':_0x5bcf93,'SuggestionView':_0x59b3aa}),_0x5ed497[_0xc62d4(0x1c7)][_0xc62d4(0x241)]['on'](_0xc62d4(0x1e3),()=>{const _0x36c663=_0xc62d4;_0x90b2cd[_0x36c663(0x1b5)][_0x36c663(0x231)][_0x36c663(0x1d0)]();}),_0x5ed497[_0xc62d4(0x1c7)][_0xc62d4(0x1f5)]['on'](_0xc62d4(0x1e3),()=>{const _0x462e31=_0xc62d4;_0x90b2cd[_0x462e31(0x1b5)][_0x462e31(0x231)][_0x462e31(0x1d0)]();}),_0x28dd15=_0x2f0f59[_0xc62d4(0x249)](this[_0xc62d4(0x1e7)][_0xc62d4(0x1bb)],_0x5ed497),_0x28dd15[_0xc62d4(0x1f3)](_0xc62d4(0x20b))['to'](_0x5ed497,_0xc62d4(0x20b)),_0x28dd15[_0xc62d4(0x1f3)](_0xc62d4(0x229))['to'](_0x5ed497),_0x28dd15[_0xc62d4(0x1f3)](_0xc62d4(0x238))['to'](_0x5ed497,_0xc62d4(0x238),_0x5476d0=>_0xc62d4(0x1fa)+_0x5476d0),this[_0xc62d4(0x218)](_0x5ed497,_0xc62d4(0x246),()=>{const _0x41d8b9=_0xc62d4;_0x90b2cd[_0x41d8b9(0x1b5)][_0x41d8b9(0x231)][_0x41d8b9(0x1d0)]();},{'priority':_0xc62d4(0x23e)}),this[_0xc62d4(0x1ef)][_0xc62d4(0x1e5)](_0x4659f8['id'],_0x28dd15));const _0x1f8bec=_0x3cebc4[_0xc62d4(0x1eb)](_0x4659f8[_0xc62d4(0x1f4)],_0x5ed497),_0x2b0f3e=new _0x23a2a2(_0x90b2cd,_0x4659f8,_0x5ed497,_0x1f8bec),_0x5d73c4=_0x4659f8[_0xc62d4(0x209)]()[_0xc62d4(0x1d4)](_0x2379af=>_0x2379af[_0xc62d4(0x1e8)]);_0x5ed497[_0xc62d4(0x1fc)]=_0x90b2cd[_0xc62d4(0x1b3)][_0xc62d4(0x22d)](_0xc62d4(0x1f8))[_0xc62d4(0x1b0)][_0xc62d4(0x1cc)](_0x5d73c4),this[_0xc62d4(0x1c3)][_0xc62d4(0x1e5)](_0x4659f8,_0x2b0f3e),this[_0xc62d4(0x1c2)][_0xc62d4(0x1e5)](_0x5ed497,_0x2b0f3e);const _0x33cec9=_0x2f0f59[_0xc62d4(0x1c6)]({'view':_0x28dd15,'target':()=>{const _0x21a864=_0xc62d4,_0x278d29=[],_0x27964b=_0x4659f8[_0x21a864(0x209)]()[_0x21a864(0x1d4)](_0x3c4a37=>_0x3c4a37[_0x21a864(0x1e8)]);for(const _0x31bff3 of _0x27964b)_0x278d29[_0x21a864(0x1d3)](..._0x31bff3[_0x21a864(0x208)]());return _0x1bd265(_0x90b2cd[_0x21a864(0x1b5)],_0x278d29);},'type':()=>_0xc62d4(0x1fa)+_0x2b0f3e[_0xc62d4(0x231)][_0xc62d4(0x238)]});_0x3cebc4[_0xc62d4(0x1da)](_0x5ed497,_0x33cec9),_0x2f0f59[_0xc62d4(0x1ed)](_0x33cec9),_0x136dcb[_0xc62d4(0x232)](_0x33cec9);}[_0xc57291(0x20d)](_0x5a685c){const _0x5dd3df=_0xc57291,_0x59309f=this[_0x5dd3df(0x1e7)][_0x5dd3df(0x1b3)][_0x5dd3df(0x22d)](_0x5dd3df(0x1f2)),_0xa413a2=this[_0x5dd3df(0x1e7)][_0x5dd3df(0x1b3)][_0x5dd3df(0x22d)](_0x5dd3df(0x1e0)),_0xd2e0af=this[_0x5dd3df(0x1c3)][_0x5dd3df(0x22d)](_0x5a685c),_0x59851b=_0xd2e0af[_0x5dd3df(0x231)],_0x536551=_0xa413a2[_0x5dd3df(0x21d)](_0x59851b);_0x59309f[_0x5dd3df(0x201)](_0x59851b),_0x536551&&_0xa413a2[_0x5dd3df(0x1be)](_0x536551),this[_0x5dd3df(0x1c3)][_0x5dd3df(0x1c5)](_0x5a685c),this[_0x5dd3df(0x1c2)][_0x5dd3df(0x1c5)](_0x59851b),_0xd2e0af[_0x5dd3df(0x1ff)]();}[_0xc57291(0x22c)](_0x1f0e09){const _0x3512d8=_0xc57291;if(!_0x1f0e09[_0x3512d8(0x1e8)]||!this[_0x3512d8(0x1c3)][_0x3512d8(0x1b4)](_0x1f0e09))return;const _0x1d5376=this[_0x3512d8(0x1e7)][_0x3512d8(0x1b3)][_0x3512d8(0x22d)](_0x3512d8(0x1f8)),_0x49d7d5=this[_0x3512d8(0x1c3)][_0x3512d8(0x22d)](_0x1f0e09),_0x3cb714=_0x1f0e09[_0x3512d8(0x209)]();_0x49d7d5[_0x3512d8(0x231)][_0x3512d8(0x1fc)]=_0x1d5376[_0x3512d8(0x1b0)][_0x3512d8(0x1cc)](_0x3cb714);}[_0xc57291(0x20e)](){const _0x1aff07=_0xc57291;this[_0x1aff07(0x1e7)][_0x1aff07(0x23c)][_0x1aff07(0x1e5)](_0x1e8625,(_0x2944d1,_0xf0745c)=>{const _0x354bac=_0x1aff07,_0x2bea1c=this[_0x354bac(0x1e7)][_0x354bac(0x1b3)][_0x354bac(0x22d)](_0x9bc3d8),_0x398ea0=this[_0x354bac(0x1e7)][_0x354bac(0x1b3)][_0x354bac(0x22d)](_0x5028c0);if(!_0x398ea0[_0x354bac(0x213)][_0x354bac(0x229)])return;const {id:_0x4e269c}=_0x398ea0[_0x354bac(0x22e)](_0x398ea0[_0x354bac(0x213)][0x0]),_0x1869dc=_0x2bea1c[_0x354bac(0x224)](_0x4e269c);_0x1869dc&&(this[_0x354bac(0x1c3)][_0x354bac(0x22d)](_0x1869dc)[_0x354bac(0x231)][_0x354bac(0x1d0)](),_0xf0745c());});}[_0xc57291(0x1ff)](){const _0x5c2a97=_0xc57291;for(const _0x2b9979 of this[_0x5c2a97(0x1c3)][_0x5c2a97(0x1b6)]())this[_0x5c2a97(0x20d)](_0x2b9979);for(const _0xf218e6 of this[_0x5c2a97(0x1ef)][_0x5c2a97(0x1bc)]())_0xf218e6[_0x5c2a97(0x20a)][_0x5c2a97(0x1ff)]();super[_0x5c2a97(0x1ff)]();}}function me(_0x2afe31){const _0x5676f7=_0xc57291;return _0x5676f7(0x217)in _0x2afe31;}
@@ -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 _0x4fecb1=_0x5734;function _0x5eff(){const _0x3e28bc=['_setPendingAction','661965DFdRWw','get','_removePendingAction','154eiFLkd','22ZXAlHR','321235hUFVdv','isDirty','canAccept','discardSuggestion','isEnabled','locale','model','unbind','plugins','_acceptCommand','_editor','_discardCommand','PendingActions','getRanges','PENDING_ACTION_SUGGESTION','commands','canDiscard','3820900rQAWAQ','add','execute','remove','_pendingAction','commentThreadController','stopListening','1385AymKHq','4305930rrSyWl','acceptSuggestion','bind','view','1796YjMdTt','canEditAt','listenTo','destroy','165136BPPBGa','8189145kRAZVj','2KRXeZK','change:isDirty'];_0x5eff=function(){return _0x3e28bc;};return _0x5eff();}function _0x5734(_0x59524d,_0xff5a4){const _0x5effde=_0x5eff();return _0x5734=function(_0x573487,_0x1ed1fb){_0x573487=_0x573487-0x197;let _0x29ca36=_0x5effde[_0x573487];return _0x29ca36;},_0x5734(_0x59524d,_0xff5a4);}(function(_0x48fb2c,_0x3f8ad1){const _0x8deec=_0x5734,_0x2820a3=_0x48fb2c();while(!![]){try{const _0x390d68=-parseInt(_0x8deec(0x19c))/0x1+parseInt(_0x8deec(0x1bf))/0x2*(-parseInt(_0x8deec(0x197))/0x3)+-parseInt(_0x8deec(0x1b9))/0x4*(parseInt(_0x8deec(0x1b4))/0x5)+parseInt(_0x8deec(0x1b5))/0x6+parseInt(_0x8deec(0x19a))/0x7*(parseInt(_0x8deec(0x1bd))/0x8)+parseInt(_0x8deec(0x1be))/0x9+parseInt(_0x8deec(0x1ad))/0xa*(-parseInt(_0x8deec(0x19b))/0xb);if(_0x390d68===_0x3f8ad1)break;else _0x2820a3['push'](_0x2820a3['shift']());}catch(_0x383d58){_0x2820a3['push'](_0x2820a3['shift']());}}}(_0x5eff,0x9efe9));import{ObservableMixin as _0x150dfb}from'ckeditor5/src/utils.js';import{getTranslation as _0x19c95b}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
24
- _0x150dfb(){constructor(_0x42e71b,_0x443356,_0x3c8cba,_0x25fa4a){const _0x568645=_0x5734;super(),this[_0x568645(0x1a2)]=_0x443356,this[_0x568645(0x1b8)]=_0x3c8cba,this[_0x568645(0x1b2)]=_0x25fa4a,this[_0x568645(0x1a6)]=_0x42e71b,this[_0x568645(0x1a5)]=_0x42e71b[_0x568645(0x1ab)][_0x568645(0x198)](_0x568645(0x1b6)),this[_0x568645(0x1a7)]=_0x42e71b[_0x568645(0x1ab)][_0x568645(0x198)](_0x568645(0x19f)),this[_0x568645(0x1b8)][_0x568645(0x1b7)](_0x568645(0x1a0))['to'](this[_0x568645(0x1a5)],this[_0x568645(0x1a7)],(_0x12ed0e,_0x1499d2)=>_0x12ed0e||_0x1499d2),this[_0x568645(0x1b8)][_0x568645(0x1b7)](_0x568645(0x19e))['to'](this[_0x568645(0x1a5)],_0x568645(0x1a0),_0x17655a=>_0x17655a&&this[_0x568645(0x1a6)][_0x568645(0x1a2)][_0x568645(0x1ba)](_0x443356[_0x568645(0x1a9)]())),this[_0x568645(0x1b8)][_0x568645(0x1b7)](_0x568645(0x1ac))['to'](this[_0x568645(0x1a7)],_0x568645(0x1a0),_0x71d36c=>_0x71d36c&&this[_0x568645(0x1a6)][_0x568645(0x1a2)][_0x568645(0x1ba)](_0x443356[_0x568645(0x1a9)]())),this[_0x568645(0x1b1)]=null,_0x3c8cba[_0x568645(0x19d)]&&this[_0x568645(0x1c1)](),this[_0x568645(0x1bb)](_0x3c8cba,_0x568645(0x1b6),()=>this[_0x568645(0x1b6)]()),this[_0x568645(0x1bb)](_0x3c8cba,_0x568645(0x19f),()=>this[_0x568645(0x19f)]()),this[_0x568645(0x1bb)](_0x3c8cba,_0x568645(0x1c0),()=>{const _0x264349=_0x568645;_0x3c8cba[_0x264349(0x19d)]?this[_0x264349(0x1c1)]():this[_0x264349(0x199)]();});}[_0x4fecb1(0x1b6)](){const _0x13a4d2=_0x4fecb1;this[_0x13a4d2(0x1a5)][_0x13a4d2(0x1af)](this[_0x13a4d2(0x1a2)]['id']);}[_0x4fecb1(0x19f)](){const _0x3108a3=_0x4fecb1;this[_0x3108a3(0x1a7)][_0x3108a3(0x1af)](this[_0x3108a3(0x1a2)]['id']);}[_0x4fecb1(0x1bc)](){const _0xea5fba=_0x4fecb1;this[_0xea5fba(0x1b8)][_0xea5fba(0x1a3)](_0xea5fba(0x1a0)),this[_0xea5fba(0x1b8)][_0xea5fba(0x1a3)](_0xea5fba(0x19e)),this[_0xea5fba(0x1b8)][_0xea5fba(0x1a3)](_0xea5fba(0x1ac)),this[_0xea5fba(0x1b3)](),this[_0xea5fba(0x1b2)][_0xea5fba(0x1bc)](),this[_0xea5fba(0x1b1)]&&this[_0xea5fba(0x199)]();}[_0x4fecb1(0x1c1)](){const _0x5aa702=_0x4fecb1,_0xb6b49f=_0x19c95b(this[_0x5aa702(0x1a6)][_0x5aa702(0x1a1)],_0x5aa702(0x1aa));this[_0x5aa702(0x1b1)]=this[_0x5aa702(0x1a6)][_0x5aa702(0x1a4)][_0x5aa702(0x198)](_0x5aa702(0x1a8))[_0x5aa702(0x1ae)](_0xb6b49f);}[_0x4fecb1(0x199)](){const _0x5c8082=_0x4fecb1;null!==this[_0x5c8082(0x1b1)]&&this[_0x5c8082(0x1a6)][_0x5c8082(0x1a4)][_0x5c8082(0x198)](_0x5c8082(0x1a8))[_0x5c8082(0x1b0)](this[_0x5c8082(0x1b1)]),this[_0x5c8082(0x1b1)]=null;}}
23
+ const _0x18f3f9=_0x1aae;function _0xf517(){const _0x357d65=['isDirty','model','_editor','1260eVBOZY','add','1763111NREOdH','_acceptCommand','discardSuggestion','4tZlXVw','acceptSuggestion','get','bind','getRanges','_discardCommand','20286670GAnEnN','unbind','_setPendingAction','canDiscard','commands','9fxDTRr','_removePendingAction','isEnabled','_pendingAction','commentThreadController','change:isDirty','canEditAt','1211016UnfuIW','PENDING_ACTION_SUGGESTION','remove','locale','30695ysvrcu','plugins','execute','7761736XVnExH','1317760KrJlCf','view','listenTo','stopListening','PendingActions','canAccept','4881594EGYrRz','destroy'];_0xf517=function(){return _0x357d65;};return _0xf517();}(function(_0x35a3c7,_0x288ef4){const _0x35e6af=_0x1aae,_0x3fab8=_0x35a3c7();while(!![]){try{const _0x4fa3c8=parseInt(_0x35e6af(0xa9))/0x1+-parseInt(_0x35e6af(0xa1))/0x2+parseInt(_0x35e6af(0xaf))/0x3*(parseInt(_0x35e6af(0xb9))/0x4)+-parseInt(_0x35e6af(0xa5))/0x5*(-parseInt(_0x35e6af(0xb4))/0x6)+parseInt(_0x35e6af(0xb6))/0x7+-parseInt(_0x35e6af(0xa8))/0x8+-parseInt(_0x35e6af(0x9a))/0x9*(parseInt(_0x35e6af(0x95))/0xa);if(_0x4fa3c8===_0x288ef4)break;else _0x3fab8['push'](_0x3fab8['shift']());}catch(_0x37665c){_0x3fab8['push'](_0x3fab8['shift']());}}}(_0xf517,0xd73dd));import{ObservableMixin as _0x2cbf5d}from'ckeditor5/src/utils.js';function _0x1aae(_0x10e68a,_0x4fc1b3){const _0xf5171b=_0xf517();return _0x1aae=function(_0x1aae39,_0x46d2f7){_0x1aae39=_0x1aae39-0x95;let _0x5a1e31=_0xf5171b[_0x1aae39];return _0x5a1e31;},_0x1aae(_0x10e68a,_0x4fc1b3);}import{getTranslation as _0x5b5929}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
24
+ _0x2cbf5d(){constructor(_0x415150,_0x428d67,_0x26f079,_0x490735){const _0x58041f=_0x1aae;super(),this[_0x58041f(0xb2)]=_0x428d67,this[_0x58041f(0xaa)]=_0x26f079,this[_0x58041f(0x9e)]=_0x490735,this[_0x58041f(0xb3)]=_0x415150,this[_0x58041f(0xb7)]=_0x415150[_0x58041f(0x99)][_0x58041f(0xbb)](_0x58041f(0xba)),this[_0x58041f(0xbe)]=_0x415150[_0x58041f(0x99)][_0x58041f(0xbb)](_0x58041f(0xb8)),this[_0x58041f(0xaa)][_0x58041f(0xbc)](_0x58041f(0x9c))['to'](this[_0x58041f(0xb7)],this[_0x58041f(0xbe)],(_0x3e0eb6,_0x288a19)=>_0x3e0eb6||_0x288a19),this[_0x58041f(0xaa)][_0x58041f(0xbc)](_0x58041f(0xae))['to'](this[_0x58041f(0xb7)],_0x58041f(0x9c),_0x3836f1=>_0x3836f1&&this[_0x58041f(0xb3)][_0x58041f(0xb2)][_0x58041f(0xa0)](_0x428d67[_0x58041f(0xbd)]())),this[_0x58041f(0xaa)][_0x58041f(0xbc)](_0x58041f(0x98))['to'](this[_0x58041f(0xbe)],_0x58041f(0x9c),_0x1c80ca=>_0x1c80ca&&this[_0x58041f(0xb3)][_0x58041f(0xb2)][_0x58041f(0xa0)](_0x428d67[_0x58041f(0xbd)]())),this[_0x58041f(0x9d)]=null,_0x26f079[_0x58041f(0xb1)]&&this[_0x58041f(0x97)](),this[_0x58041f(0xab)](_0x26f079,_0x58041f(0xba),()=>this[_0x58041f(0xba)]()),this[_0x58041f(0xab)](_0x26f079,_0x58041f(0xb8),()=>this[_0x58041f(0xb8)]()),this[_0x58041f(0xab)](_0x26f079,_0x58041f(0x9f),()=>{const _0x1cc5f8=_0x58041f;_0x26f079[_0x1cc5f8(0xb1)]?this[_0x1cc5f8(0x97)]():this[_0x1cc5f8(0x9b)]();});}[_0x18f3f9(0xba)](){const _0x969ad6=_0x18f3f9;this[_0x969ad6(0xb7)][_0x969ad6(0xa7)](this[_0x969ad6(0xb2)]['id']);}[_0x18f3f9(0xb8)](){const _0x7a3587=_0x18f3f9;this[_0x7a3587(0xbe)][_0x7a3587(0xa7)](this[_0x7a3587(0xb2)]['id']);}[_0x18f3f9(0xb0)](){const _0xe77f39=_0x18f3f9;this[_0xe77f39(0xaa)][_0xe77f39(0x96)](_0xe77f39(0x9c)),this[_0xe77f39(0xaa)][_0xe77f39(0x96)](_0xe77f39(0xae)),this[_0xe77f39(0xaa)][_0xe77f39(0x96)](_0xe77f39(0x98)),this[_0xe77f39(0xac)](),this[_0xe77f39(0x9e)][_0xe77f39(0xb0)](),this[_0xe77f39(0x9d)]&&this[_0xe77f39(0x9b)]();}[_0x18f3f9(0x97)](){const _0x19fb42=_0x18f3f9,_0x58f047=_0x5b5929(this[_0x19fb42(0xb3)][_0x19fb42(0xa4)],_0x19fb42(0xa2));this[_0x19fb42(0x9d)]=this[_0x19fb42(0xb3)][_0x19fb42(0xa6)][_0x19fb42(0xbb)](_0x19fb42(0xad))[_0x19fb42(0xb5)](_0x58f047);}[_0x18f3f9(0x9b)](){const _0x2af4b1=_0x18f3f9;null!==this[_0x2af4b1(0x9d)]&&this[_0x2af4b1(0xb3)][_0x2af4b1(0xa6)][_0x2af4b1(0xbb)](_0x2af4b1(0xad))[_0x2af4b1(0xa3)](this[_0x2af4b1(0x9d)]),this[_0x2af4b1(0x9d)]=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 _0x4c7c94=_0x3142;(function(_0x48d944,_0xb91710){const _0x49c745=_0x3142,_0x724791=_0x48d944();while(!![]){try{const _0x1aeb3b=parseInt(_0x49c745(0xa6))/0x1*(parseInt(_0x49c745(0xb1))/0x2)+-parseInt(_0x49c745(0x84))/0x3*(-parseInt(_0x49c745(0x9d))/0x4)+-parseInt(_0x49c745(0x8b))/0x5+-parseInt(_0x49c745(0x9c))/0x6+parseInt(_0x49c745(0xbb))/0x7*(-parseInt(_0x49c745(0x9e))/0x8)+-parseInt(_0x49c745(0x89))/0x9*(-parseInt(_0x49c745(0xba))/0xa)+parseInt(_0x49c745(0xcb))/0xb;if(_0x1aeb3b===_0xb91710)break;else _0x724791['push'](_0x724791['shift']());}catch(_0x4ca755){_0x724791['push'](_0x724791['shift']());}}}(_0x428f,0x60d28));import{FocusCycler as _0x1d3113,View as _0x4b03a3,ViewCollection as _0x18c17f}from'ckeditor5/src/ui.js';function _0x3142(_0x34f346,_0x385d29){const _0x428fe2=_0x428f();return _0x3142=function(_0x314259,_0x42cb29){_0x314259=_0x314259-0x82;let _0x5978d1=_0x428fe2[_0x314259];return _0x5978d1;},_0x3142(_0x34f346,_0x385d29);}import{FocusTracker as _0x2a07bb,KeystrokeHandler as _0x46f093}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x386082,setupThreadKeyboardNavigation as _0x283ac8}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x5e94bd}from'../../utils/common-translations.js';import{renderDescription as _0x1d0217}from'../../utils/utils.js';export default class us extends _0x4b03a3{constructor(_0xc46975,_0x4bd0d4,_0x2ef9c3,_0x4bc789){const _0x1fe52b=_0x3142;super(_0xc46975),this[_0x1fe52b(0x85)]=null,this[_0x1fe52b(0xbe)]=null,this[_0x1fe52b(0xa7)]=new _0x386082(_0xc46975,_0x5e94bd(_0xc46975,_0x1fe52b(0xaf))),this[_0x1fe52b(0xb7)](_0x1fe52b(0xbd),!0x1),this[_0x1fe52b(0xb7)](_0x1fe52b(0xbc),_0x4bd0d4[_0x1fe52b(0xbc)]),this[_0x1fe52b(0xc6)](_0x1fe52b(0xbc))['to'](_0x4bd0d4),this[_0x1fe52b(0xb7)](_0x1fe52b(0xa0),[]),this[_0x1fe52b(0xb7)](_0x1fe52b(0x86),!0x1),this[_0x1fe52b(0xb7)](_0x1fe52b(0x98),!0x1),this[_0x1fe52b(0xb7)](_0x1fe52b(0xc9),!0x1),this[_0x1fe52b(0xb7)](_0x1fe52b(0xb8),!0x1),this[_0x1fe52b(0xc6)](_0x1fe52b(0xc7))['to'](this,_0x1fe52b(0xa9),_0x4bd0d4,_0x1fe52b(0xbc),this,_0x1fe52b(0xa0),(_0x3ffc31,_0x285871,_0x2e2ce8)=>{const _0x1bd3e6=_0x1fe52b,_0x2713dd=_0x2e2ce8[_0x1bd3e6(0xc4)](_0x480cba=>_0x1d0217(_0x480cba[_0x1bd3e6(0x90)]))[_0x1bd3e6(0xb4)]('.\x20')+'.';return _0x5e94bd(this[_0x1bd3e6(0xa1)],_0x1bd3e6(0x9f),[_0x3ffc31-0x1,_0x4bd0d4[_0x1bd3e6(0xca)][_0x1bd3e6(0xa2)],_0x285871?_0x4bc789[_0x1bd3e6(0x9b)](_0x285871):'',new DOMParser()[_0x1bd3e6(0xaa)](_0x2713dd,_0x1bd3e6(0xc5))[_0x1bd3e6(0x96)][_0x1bd3e6(0x8c)]]);}),this[_0x1fe52b(0xbf)]=new _0x18c17f(),this[_0x1fe52b(0xa3)]=new _0x2a07bb(),this[_0x1fe52b(0x97)]=new _0x46f093(),this[_0x1fe52b(0x82)]=new _0x1d3113({'focusables':this[_0x1fe52b(0xbf)],'focusTracker':this[_0x1fe52b(0xa3)],'keystrokeHandler':this[_0x1fe52b(0x97)],'keystrokeHandlerOptions':{'filter':_0x52a489=>_0x52a489[_0x1fe52b(0x99)]!==this[_0x1fe52b(0x8a)]},'actions':{'focusPrevious':_0x1fe52b(0xa8),'focusNext':_0x1fe52b(0xc1)}}),this[_0x1fe52b(0xc8)]=_0x4bd0d4,this[_0x1fe52b(0x94)]=_0x2ef9c3,this[_0x1fe52b(0x83)]=_0x4bc789,_0x4bc789[_0x1fe52b(0xb3)]?this[_0x1fe52b(0xb7)](_0x1fe52b(0xa9),0x1):this[_0x1fe52b(0x91)]();}[_0x4c7c94(0x8f)](){const _0x172869=_0x4c7c94;super[_0x172869(0x8f)](),_0x283ac8(this,this[_0x172869(0xbf)]);}[_0x4c7c94(0xab)](){const _0x7bc0bd=_0x4c7c94;this[_0x7bc0bd(0x8a)][_0x7bc0bd(0xab)]();}[_0x4c7c94(0x87)](){const _0x3750a0=_0x4c7c94;this[_0x3750a0(0x85)]&&this[_0x3750a0(0x85)][_0x3750a0(0x87)](),this[_0x3750a0(0xbe)]&&this[_0x3750a0(0xbe)][_0x3750a0(0x87)](),super[_0x3750a0(0x87)]();}[_0x4c7c94(0x91)](){const _0x4d566e=_0x4c7c94,{CommentsListView:_0xac1055}=this[_0x4d566e(0x83)];this[_0x4d566e(0x85)]=new _0xac1055(this[_0x4d566e(0xa1)],this[_0x4d566e(0xc8)][_0x4d566e(0x88)],Object[_0x4d566e(0xc0)]({'CommentView':this[_0x4d566e(0x83)][_0x4d566e(0x9a)]},this[_0x4d566e(0x83)])),this[_0x4d566e(0x85)][_0x4d566e(0x8e)](_0x4d566e(0xa4))['to'](this),this[_0x4d566e(0x85)][_0x4d566e(0x8e)](_0x4d566e(0xc3))['to'](this),this[_0x4d566e(0x85)][_0x4d566e(0xc6)](_0x4d566e(0xbd))['to'](this),this[_0x4d566e(0xb7)](_0x4d566e(0xa9),this[_0x4d566e(0x85)][_0x4d566e(0xa9)]+0x1),this[_0x4d566e(0xc6)](_0x4d566e(0xa9))['to'](this[_0x4d566e(0x85)],_0x4d566e(0xa9),_0x104964=>_0x104964+0x1),this[_0x4d566e(0xbe)]=this[_0x4d566e(0x8d)](),this['on'](_0x4d566e(0xa4),()=>this[_0x4d566e(0xab)]()),this[_0x4d566e(0xc6)](_0x4d566e(0x86))['to'](this[_0x4d566e(0x85)],_0x4d566e(0xae),this[_0x4d566e(0xbe)][_0x4d566e(0xc2)],_0x4d566e(0x92),(_0x4fa0ed,_0x254cc5)=>_0x4fa0ed||!!_0x254cc5);}[_0x4c7c94(0x8d)](){const _0x17173d=_0x4c7c94,{CommentThreadInputView:_0x40fd23}=this[_0x17173d(0x83)],_0x58a869=new _0x40fd23(this[_0x17173d(0xa1)],this[_0x17173d(0x94)],this[_0x17173d(0x83)][_0x17173d(0x93)]),_0x1adf0f=_0x58a869[_0x17173d(0xc2)];return _0x58a869[_0x17173d(0xc6)](_0x17173d(0xb2))['to'](this,_0x17173d(0xbd),this[_0x17173d(0xc8)][_0x17173d(0x88)],_0x17173d(0xac),_0x1adf0f,_0x17173d(0x92),(_0x3d1b5c,_0x5c7976,_0x3f07c2)=>!!_0x3f07c2||_0x3d1b5c&&!_0x5c7976),_0x1adf0f['on'](_0x17173d(0xb6),(_0x501343,_0x508958)=>{const _0x52df27=_0x17173d;this[_0x52df27(0xb5)](_0x52df27(0xad),_0x508958),_0x1adf0f[_0x52df27(0x95)][_0x52df27(0xb9)]('');}),_0x1adf0f['on'](_0x17173d(0xb0),()=>this[_0x17173d(0xab)]()),_0x1adf0f[_0x17173d(0xc6)](_0x17173d(0xa5))['to'](this[_0x17173d(0xc8)][_0x17173d(0x88)],_0x17173d(0xac)),_0x58a869;}}function _0x428f(){const _0x5f5b20=['commentInputView','updateComment','map','text/html','bind','ariaLabel','_model','canAccept','author','9414471cDCBaL','focusCycler','_config','1866336pamLuL','commentsListView','isDirty','destroy','commentThread','27tDhLKL','element','2802825CfdHIv','textContent','_createCommentThreadInputView','delegate','render','content','_createCommentViews','value','editorConfig','_localUser','editor','body','keystrokes','isEnabled','target','CommentView','formatDateTime','3672204rxcPOq','4AXmOeK','4115776foDAHq','SUGGESTION_THREAD_ARIA_LABEL','descriptionParts','locale','name','focusTracker','removeComment','disabledSubmit','591831fkJRCG','ariaDescriptionView','shift+tab','length','parseFromString','focus','isReadOnly','addComment','hasDirtyComment','SUGGESTION_THREAD_DESCRIPTION','cancel','2kmHAft','showInput','disableComments','join','fire','submit','set','canDiscard','setData','46170sYHcEd','7cJekrH','authoredAt','isActive','commentThreadInputView','focusables','assign','tab'];_0x428f=function(){return _0x5f5b20;};return _0x428f();}
23
+ const _0x3bc543=_0xa878;function _0xa878(_0x90726e,_0x2ad4ee){const _0xb3ade2=_0xb3ad();return _0xa878=function(_0xa878a3,_0x1d5094){_0xa878a3=_0xa878a3-0x16a;let _0x32e9d5=_0xb3ade2[_0xa878a3];return _0x32e9d5;},_0xa878(_0x90726e,_0x2ad4ee);}(function(_0x38599f,_0x2dfab9){const _0x13d1e3=_0xa878,_0x167c29=_0x38599f();while(!![]){try{const _0x3e34a9=parseInt(_0x13d1e3(0x16c))/0x1+-parseInt(_0x13d1e3(0x186))/0x2+-parseInt(_0x13d1e3(0x1a2))/0x3+-parseInt(_0x13d1e3(0x177))/0x4*(parseInt(_0x13d1e3(0x173))/0x5)+parseInt(_0x13d1e3(0x17e))/0x6+parseInt(_0x13d1e3(0x195))/0x7*(parseInt(_0x13d1e3(0x197))/0x8)+parseInt(_0x13d1e3(0x189))/0x9*(parseInt(_0x13d1e3(0x1a3))/0xa);if(_0x3e34a9===_0x2dfab9)break;else _0x167c29['push'](_0x167c29['shift']());}catch(_0x37dfef){_0x167c29['push'](_0x167c29['shift']());}}}(_0xb3ad,0xe3454));import{FocusCycler as _0x547637,View as _0x4738ce,ViewCollection as _0x58a20f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5bdf6f,KeystrokeHandler as _0x1358e4}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x621e0c,setupThreadKeyboardNavigation as _0x22b143}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xb3ad(){const _0x50b34e=['CommentView','editorConfig','focusCycler','commentsListView','body','addComment','commentInputView','hasDirtyComment','focusTracker','assign','target','setData','_createCommentViews','submit','487848iKyUKB','removeComment','locale','destroy','delegate','isReadOnly','descriptionParts','485kRaKsX','canDiscard','value','keystrokes','44260DSnlOZ','fire','disableComments','textContent','_localUser','_config','authoredAt','1708026SzYtvD','canAccept','text/html','cancel','length','author','formatDateTime','isEnabled','1194506edUqam','element','ariaDescriptionView','423uegmWs','tab','parseFromString','updateComment','commentThreadInputView','shift+tab','focusables','name','map','isActive','render','_createCommentThreadInputView','7IhASwE','content','4551328wzATkR','bind','showInput','ariaLabel','disabledSubmit','SUGGESTION_THREAD_ARIA_LABEL','_model','editor','set','join','SUGGESTION_THREAD_DESCRIPTION','1635741UEUuvW','384100VJzGGu','commentThread','isDirty','focus'];_0xb3ad=function(){return _0x50b34e;};return _0xb3ad();}import{getTranslation as _0x3616e5}from'../../utils/common-translations.js';import{renderDescription as _0x4659c4}from'../../utils/utils.js';export default class us extends _0x4738ce{constructor(_0x1ac7c7,_0x1d02bf,_0x40bf90,_0x2815c2){const _0x1d6c69=_0xa878;super(_0x1ac7c7),this[_0x1d6c69(0x1aa)]=null,this[_0x1d6c69(0x18d)]=null,this[_0x1d6c69(0x188)]=new _0x621e0c(_0x1ac7c7,_0x3616e5(_0x1ac7c7,_0x1d6c69(0x1a1))),this[_0x1d6c69(0x19f)](_0x1d6c69(0x192),!0x1),this[_0x1d6c69(0x19f)](_0x1d6c69(0x17d),_0x1d02bf[_0x1d6c69(0x17d)]),this[_0x1d6c69(0x198)](_0x1d6c69(0x17d))['to'](_0x1d02bf),this[_0x1d6c69(0x19f)](_0x1d6c69(0x172),[]),this[_0x1d6c69(0x19f)](_0x1d6c69(0x1a5),!0x1),this[_0x1d6c69(0x19f)](_0x1d6c69(0x185),!0x1),this[_0x1d6c69(0x19f)](_0x1d6c69(0x17f),!0x1),this[_0x1d6c69(0x19f)](_0x1d6c69(0x174),!0x1),this[_0x1d6c69(0x198)](_0x1d6c69(0x19a))['to'](this,_0x1d6c69(0x182),_0x1d02bf,_0x1d6c69(0x17d),this,_0x1d6c69(0x172),(_0x10d4ed,_0x2f17b1,_0x160355)=>{const _0x277b2c=_0x1d6c69,_0x21e39a=_0x160355[_0x277b2c(0x191)](_0x56a854=>_0x4659c4(_0x56a854[_0x277b2c(0x196)]))[_0x277b2c(0x1a0)]('.\x20')+'.';return _0x3616e5(this[_0x277b2c(0x16e)],_0x277b2c(0x19c),[_0x10d4ed-0x1,_0x1d02bf[_0x277b2c(0x183)][_0x277b2c(0x190)],_0x2f17b1?_0x2815c2[_0x277b2c(0x184)](_0x2f17b1):'',new DOMParser()[_0x277b2c(0x18b)](_0x21e39a,_0x277b2c(0x180))[_0x277b2c(0x1ab)][_0x277b2c(0x17a)]]);}),this[_0x1d6c69(0x18f)]=new _0x58a20f(),this[_0x1d6c69(0x1af)]=new _0x5bdf6f(),this[_0x1d6c69(0x176)]=new _0x1358e4(),this[_0x1d6c69(0x1a9)]=new _0x547637({'focusables':this[_0x1d6c69(0x18f)],'focusTracker':this[_0x1d6c69(0x1af)],'keystrokeHandler':this[_0x1d6c69(0x176)],'keystrokeHandlerOptions':{'filter':_0x2fdf8f=>_0x2fdf8f[_0x1d6c69(0x1b1)]!==this[_0x1d6c69(0x187)]},'actions':{'focusPrevious':_0x1d6c69(0x18e),'focusNext':_0x1d6c69(0x18a)}}),this[_0x1d6c69(0x19d)]=_0x1d02bf,this[_0x1d6c69(0x17b)]=_0x40bf90,this[_0x1d6c69(0x17c)]=_0x2815c2,_0x2815c2[_0x1d6c69(0x179)]?this[_0x1d6c69(0x19f)](_0x1d6c69(0x182),0x1):this[_0x1d6c69(0x16a)]();}[_0x3bc543(0x193)](){const _0x459ee0=_0x3bc543;super[_0x459ee0(0x193)](),_0x22b143(this,this[_0x459ee0(0x18f)]);}[_0x3bc543(0x1a6)](){const _0x439cd5=_0x3bc543;this[_0x439cd5(0x187)][_0x439cd5(0x1a6)]();}[_0x3bc543(0x16f)](){const _0x2b75a6=_0x3bc543;this[_0x2b75a6(0x1aa)]&&this[_0x2b75a6(0x1aa)][_0x2b75a6(0x16f)](),this[_0x2b75a6(0x18d)]&&this[_0x2b75a6(0x18d)][_0x2b75a6(0x16f)](),super[_0x2b75a6(0x16f)]();}[_0x3bc543(0x16a)](){const _0xe441f=_0x3bc543,{CommentsListView:_0x211882}=this[_0xe441f(0x17c)];this[_0xe441f(0x1aa)]=new _0x211882(this[_0xe441f(0x16e)],this[_0xe441f(0x19d)][_0xe441f(0x1a4)],Object[_0xe441f(0x1b0)]({'CommentView':this[_0xe441f(0x17c)][_0xe441f(0x1a7)]},this[_0xe441f(0x17c)])),this[_0xe441f(0x1aa)][_0xe441f(0x170)](_0xe441f(0x16d))['to'](this),this[_0xe441f(0x1aa)][_0xe441f(0x170)](_0xe441f(0x18c))['to'](this),this[_0xe441f(0x1aa)][_0xe441f(0x198)](_0xe441f(0x192))['to'](this),this[_0xe441f(0x19f)](_0xe441f(0x182),this[_0xe441f(0x1aa)][_0xe441f(0x182)]+0x1),this[_0xe441f(0x198)](_0xe441f(0x182))['to'](this[_0xe441f(0x1aa)],_0xe441f(0x182),_0xf9308e=>_0xf9308e+0x1),this[_0xe441f(0x18d)]=this[_0xe441f(0x194)](),this['on'](_0xe441f(0x16d),()=>this[_0xe441f(0x1a6)]()),this[_0xe441f(0x198)](_0xe441f(0x1a5))['to'](this[_0xe441f(0x1aa)],_0xe441f(0x1ae),this[_0xe441f(0x18d)][_0xe441f(0x1ad)],_0xe441f(0x175),(_0xe8b2c5,_0x2ae729)=>_0xe8b2c5||!!_0x2ae729);}[_0x3bc543(0x194)](){const _0x1fbd48=_0x3bc543,{CommentThreadInputView:_0x1b5f76}=this[_0x1fbd48(0x17c)],_0x4c8c47=new _0x1b5f76(this[_0x1fbd48(0x16e)],this[_0x1fbd48(0x17b)],this[_0x1fbd48(0x17c)][_0x1fbd48(0x1a8)]),_0x45db45=_0x4c8c47[_0x1fbd48(0x1ad)];return _0x4c8c47[_0x1fbd48(0x198)](_0x1fbd48(0x199))['to'](this,_0x1fbd48(0x192),this[_0x1fbd48(0x19d)][_0x1fbd48(0x1a4)],_0x1fbd48(0x171),_0x45db45,_0x1fbd48(0x175),(_0x50320b,_0x8d8175,_0x53522d)=>!!_0x53522d||_0x50320b&&!_0x8d8175),_0x45db45['on'](_0x1fbd48(0x16b),(_0x1128a5,_0x527eaa)=>{const _0x11fe2d=_0x1fbd48;this[_0x11fe2d(0x178)](_0x11fe2d(0x1ac),_0x527eaa),_0x45db45[_0x11fe2d(0x19e)][_0x11fe2d(0x1b2)]('');}),_0x45db45['on'](_0x1fbd48(0x181),()=>this[_0x1fbd48(0x1a6)]()),_0x45db45[_0x1fbd48(0x198)](_0x1fbd48(0x19b))['to'](this[_0x1fbd48(0x19d)][_0x1fbd48(0x1a4)],_0x1fbd48(0x171)),_0x4c8c47;}}
@@ -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
- const _0x2a815e=_0x3fe7;(function(_0x2093f6,_0x37b479){const _0x3d38b0=_0x3fe7,_0xc3fadd=_0x2093f6();while(!![]){try{const _0x53cf50=parseInt(_0x3d38b0(0x1f5))/0x1+parseInt(_0x3d38b0(0x1f6))/0x2*(parseInt(_0x3d38b0(0x22c))/0x3)+parseInt(_0x3d38b0(0x225))/0x4*(parseInt(_0x3d38b0(0x1e6))/0x5)+parseInt(_0x3d38b0(0x23c))/0x6+parseInt(_0x3d38b0(0x224))/0x7*(parseInt(_0x3d38b0(0x1fc))/0x8)+parseInt(_0x3d38b0(0x23a))/0x9+-parseInt(_0x3d38b0(0x239))/0xa;if(_0x53cf50===_0x37b479)break;else _0xc3fadd['push'](_0xc3fadd['shift']());}catch(_0x583add){_0xc3fadd['push'](_0xc3fadd['shift']());}}}(_0x2dab,0x6a3c7));import{getTranslation as _0x5cb5ec}from'../../utils/common-translations.js';import{default as _0x2a8389}from'./basesuggestionthreadview.js';import{icons as _0xb29dd7}from'ckeditor5/src/core.js';function _0x3fe7(_0x13988b,_0xa6e730){const _0x2dab75=_0x2dab();return _0x3fe7=function(_0x3fe70a,_0x58fc4f){_0x3fe70a=_0x3fe70a-0x1d9;let _0x39a58f=_0x2dab75[_0x3fe70a];return _0x39a58f;},_0x3fe7(_0x13988b,_0xa6e730);}import{LateFocusButtonView as _0xbb663,trimHtml as _0x2e3026,UserView as _0x1e219e}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x41b373}from'../../utils/utils.js';function _0x2dab(){const _0x59e07c=['children','element','author','change:description','16ppyPMv','.ck-annotation__content-wrapper','_config','ck-suggestion-','delegate','color','span','ck-comment__info-time','presentation','ck-suggestion__user','ck-annotation__main','isExternal','ck-annotation__content-wrapper','ariaDescriptionView','editorReady','_model','ck-annotation__info-name','querySelector','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__actions','discardButton','getTemplate','ck-annotation__user','discardSuggestion','set','editorDestroyed','render','div','@external','fire','ck-suggestion--disabled-comments','ck-suggestion--accept','userView','creator','source','authoredAt','innerHTML','ck-annotation','ck-annotation__info','ariaLabel','862743qYxnKY','2699756YsMeKH','ck-annotation__actions','ck-annotation__info-time','bind','disableComments','ck-suggestion__info-name','ck-suggestion-wrapper--active','135AmmRjs','EXTERNAL_SUGGESTION','<p>','EXTERNAL_IMPORT_WORD_SUGGESTION','_createButton','add','commentsListView','setTemplate','acceptSuggestion','type','ck-suggestion','Accept\x20suggestion','ck-suggestion__info','13854810NgBGbu','494712OhzGQn','cancel','826986gnnqmm','push','getUserViewNotificationText','Discard\x20suggestion','commentThread','_descriptionElement','commentThreadInputView','ck-suggestion-wrapper','acceptButton','EXTERNAL_AVATAR','description','importWord','listitem','addMany','execute','descriptionParts','bindTemplate','canAccept','getExternalSuggestionNote','ck-rounded-corners','focusables','5oCGokp','isActive','isEnabled','ck-suggestion__main','formatDateTime','name','time','ck-comment__external','check','</p>','content','locale','extendTemplate','attributes','canDiscard','705308BxNdEn','48GJAAgN','ck-suggestion--discard'];_0x2dab=function(){return _0x59e07c;};return _0x2dab();}export default class re extends _0x2a8389{constructor(_0x4a2e4e,_0x33f859,_0x21e5d5,_0x36edb0){const _0x4b877d=_0x3fe7;super(_0x4a2e4e,_0x33f859,_0x21e5d5,_0x36edb0),this[_0x4b877d(0x214)](_0x4b877d(0x235),''),this[_0x4b877d(0x228)](_0x4b877d(0x235))['to'](this,_0x4b877d(0x1e0),_0xb8269e=>_0xb8269e&&_0xb8269e[0x0]?_0xb8269e[0x0][_0x4b877d(0x235)]:''),this[_0x4b877d(0x228)](_0x4b877d(0x1db))['to'](this,_0x4b877d(0x1e0),this,_0x4b877d(0x1e7),(_0x3af1c8,_0x1d1ad6)=>{const _0x5c624e=_0x4b877d;let _0x133b72='';for(const _0x5c5c23 of _0x3af1c8)_0x133b72+=_0x5c624e(0x22e)+_0x41b373(_0x5c5c23[_0x5c624e(0x1f0)],_0x5c5c23[_0x5c624e(0x201)])+_0x5c624e(0x1ef);return _0x1d1ad6?_0x133b72:_0x2e3026(_0x133b72,{'limit':0x8c});}),this[_0x4b877d(0x241)]=null,this[_0x4b877d(0x1d9)]=this[_0x4b877d(0x230)](_0x5cb5ec(_0x4a2e4e,_0x4b877d(0x237)),_0xb29dd7[_0x4b877d(0x1ee)],_0x4b877d(0x21b),_0x4b877d(0x234),'sw'),this[_0x4b877d(0x1d9)][_0x4b877d(0x228)](_0x4b877d(0x1e8))['to'](this,_0x4b877d(0x1e2)),this[_0x4b877d(0x210)]=this[_0x4b877d(0x230)](_0x5cb5ec(_0x4a2e4e,_0x4b877d(0x23f)),_0xb29dd7[_0x4b877d(0x23b)],_0x4b877d(0x1f7),_0x4b877d(0x213),'sw'),this[_0x4b877d(0x210)][_0x4b877d(0x228)](_0x4b877d(0x1e8))['to'](this,_0x4b877d(0x1f4)),this[_0x4b877d(0x21c)]=new _0x1e219e(_0x4a2e4e,this[_0x4b877d(0x20b)][_0x4b877d(0x1fa)],this[_0x4b877d(0x23e)]()),this[_0x4b877d(0x21c)][_0x4b877d(0x1f2)]({'attributes':{'class':[_0x4b877d(0x205),_0x4b877d(0x212)],'aria-hidden':!0x0}}),this[_0x4b877d(0x1e5)][_0x4b877d(0x1de)]([this[_0x4b877d(0x1d9)],this[_0x4b877d(0x210)]]),this[_0x4b877d(0x232)]&&this[_0x4b877d(0x1e5)][_0x4b877d(0x231)](this[_0x4b877d(0x232)]),this[_0x4b877d(0x242)]&&this[_0x4b877d(0x1e5)][_0x4b877d(0x231)](this[_0x4b877d(0x242)]),this[_0x4b877d(0x233)](this[_0x4b877d(0x211)]());}[_0x2a815e(0x211)](){const _0x3fb818=_0x2a815e,_0x209c4d=this[_0x3fb818(0x1e1)],_0xb47029=[{'tag':_0x3fb818(0x217),'attributes':{'class':[_0x3fb818(0x238),_0x3fb818(0x222)]},'children':[{'tag':_0x3fb818(0x202),'children':[{'text':this[_0x3fb818(0x21c)][_0x3fb818(0x1eb)]}],'attributes':{'class':[_0x3fb818(0x22a),_0x3fb818(0x20c)]}},{'tag':_0x3fb818(0x1ec),'attributes':{'datetime':_0x209c4d['to'](_0x3fb818(0x21f)),'class':[_0x3fb818(0x203),_0x3fb818(0x227)]},'children':[{'text':_0x209c4d['to'](_0x3fb818(0x21f),_0x2c3dc0=>this[_0x3fb818(0x1fe)][_0x3fb818(0x1ea)](_0x2c3dc0))}]}]},{'tag':_0x3fb818(0x217),'attributes':{'class':[_0x3fb818(0x20f),_0x3fb818(0x226)]},'children':[this[_0x3fb818(0x1d9)],this[_0x3fb818(0x210)]]},{'tag':_0x3fb818(0x217),'attributes':{'class':[_0x3fb818(0x208)]}}];this[_0x3fb818(0x20b)][_0x3fb818(0x207)]&&_0xb47029[_0x3fb818(0x23d)]({'tag':_0x3fb818(0x217),'attributes':{'class':[_0x3fb818(0x1ed)]},'children':[{'text':this[_0x3fb818(0x1e3)]()}]});const _0x23f974={'tag':_0x3fb818(0x217),'attributes':{'class':['ck',_0x3fb818(0x1e4),_0x3fb818(0x243),_0x209c4d['if'](_0x3fb818(0x1e7),_0x3fb818(0x22b)),_0x209c4d['to'](_0x3fb818(0x235),_0x21da8a=>_0x3fb818(0x1ff)+_0x21da8a),this[_0x3fb818(0x1fe)][_0x3fb818(0x229)]&&_0x3fb818(0x21a)],'data-suggestion-id':this[_0x3fb818(0x20b)]['id'],'data-thread-id':this[_0x3fb818(0x20b)][_0x3fb818(0x240)]['id'],'data-author-id':this[_0x3fb818(0x20b)][_0x3fb818(0x1fa)]['id'],'tabindex':0x0,'role':_0x3fb818(0x1dd),'aria-label':_0x209c4d['to'](_0x3fb818(0x223)),'aria-describedby':this[_0x3fb818(0x209)]['id']},'children':[{'tag':_0x3fb818(0x217),'attributes':{'class':[_0x3fb818(0x236),_0x3fb818(0x221)]},'children':[this[_0x3fb818(0x21c)],{'tag':_0x3fb818(0x217),'attributes':{'class':[_0x3fb818(0x1e9),_0x3fb818(0x206)],'role':_0x3fb818(0x204)},'children':_0xb47029},this[_0x3fb818(0x209)]]}]};return this[_0x3fb818(0x232)]&&this[_0x3fb818(0x242)]&&(_0x23f974[_0x3fb818(0x1f8)][_0x3fb818(0x23d)](this[_0x3fb818(0x232)],this[_0x3fb818(0x242)]),this[_0x3fb818(0x232)][_0x3fb818(0x200)](_0x3fb818(0x20a))['to'](this),this[_0x3fb818(0x232)][_0x3fb818(0x200)](_0x3fb818(0x215))['to'](this),this[_0x3fb818(0x242)][_0x3fb818(0x200)](_0x3fb818(0x20a))['to'](this),this[_0x3fb818(0x242)][_0x3fb818(0x200)](_0x3fb818(0x215))['to'](this)),_0x23f974;}[_0x2a815e(0x216)](){const _0x90b0b4=_0x2a815e;super[_0x90b0b4(0x216)](),this[_0x90b0b4(0x241)]=this[_0x90b0b4(0x1f9)][_0x90b0b4(0x20d)](_0x90b0b4(0x1fd)),this[_0x90b0b4(0x241)][_0x90b0b4(0x220)]=this[_0x90b0b4(0x1db)],this['on'](_0x90b0b4(0x1fb),(_0x55eb92,_0x7b3ec8,_0x529135)=>{const _0x4efce2=_0x90b0b4;this[_0x4efce2(0x241)][_0x4efce2(0x220)]=_0x529135;});}[_0x2a815e(0x230)](_0x23b197,_0x222ee1,_0x432983,_0x8f2495,_0x323a99){const _0x4645a7=_0x2a815e,_0x41377d=new _0xbb663(this[_0x4645a7(0x1f1)]);return _0x41377d[_0x4645a7(0x214)]({'label':_0x23b197,'icon':_0x222ee1,'tooltip':!0x0,'tooltipPosition':_0x323a99}),_0x41377d[_0x4645a7(0x1f2)]({'attributes':{'class':_0x432983}}),_0x41377d['on'](_0x4645a7(0x1df),()=>{const _0x13f3fb=_0x4645a7;this[_0x13f3fb(0x219)](_0x8f2495,this[_0x13f3fb(0x20b)]['id']);}),_0x41377d;}[_0x2a815e(0x1e3)](){const _0x24b83d=_0x2a815e;return _0x24b83d(0x1dc)===this[_0x24b83d(0x20b)][_0x24b83d(0x1f3)][_0x24b83d(0x218)][_0x24b83d(0x21e)]?_0x5cb5ec(this[_0x24b83d(0x1f1)],_0x24b83d(0x22f)):_0x5cb5ec(this[_0x24b83d(0x1f1)],_0x24b83d(0x22d));}[_0x2a815e(0x23e)](){const _0x52d964=_0x2a815e;return this[_0x52d964(0x20b)][_0x52d964(0x207)]?_0x52d964(0x1dc)===this[_0x52d964(0x20b)][_0x52d964(0x1f3)][_0x52d964(0x218)][_0x52d964(0x21e)]?_0x5cb5ec(this[_0x52d964(0x1f1)],_0x52d964(0x20e),this[_0x52d964(0x20b)][_0x52d964(0x21d)][_0x52d964(0x1eb)]):_0x5cb5ec(this[_0x52d964(0x1f1)],_0x52d964(0x1da),this[_0x52d964(0x20b)][_0x52d964(0x21d)][_0x52d964(0x1eb)]):null;}}
23
+ const _0x1b6533=_0x1e5e;(function(_0x33db67,_0x447163){const _0x2a0761=_0x1e5e,_0x45303a=_0x33db67();while(!![]){try{const _0x4db117=parseInt(_0x2a0761(0x1f8))/0x1+-parseInt(_0x2a0761(0x1dc))/0x2*(-parseInt(_0x2a0761(0x209))/0x3)+parseInt(_0x2a0761(0x1f3))/0x4+parseInt(_0x2a0761(0x1e0))/0x5*(-parseInt(_0x2a0761(0x1ee))/0x6)+parseInt(_0x2a0761(0x1fe))/0x7+-parseInt(_0x2a0761(0x202))/0x8+-parseInt(_0x2a0761(0x201))/0x9*(parseInt(_0x2a0761(0x1df))/0xa);if(_0x4db117===_0x447163)break;else _0x45303a['push'](_0x45303a['shift']());}catch(_0x2e8e15){_0x45303a['push'](_0x45303a['shift']());}}}(_0x1653,0x50dd5));import{default as _0x3e4fa1}from'./basesuggestionthreadview.js';import{trimHtml as _0x5f3498}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x3e2751}from'../../utils/utils.js';function _0x1653(){const _0x5ac9ef=['301315XllppK','ck-rounded-corners','ck-suggestion-wrapper--active','10809LXVkfo','442816IrbJMn','listitem','bindTemplate','discardButton','commentThreadInputView','ck-suggestion-','ariaLabel','2091rFgsdK','ck-suggestion-wrapper','add','SuggestionView','canDiscard','bind','description','author','_config','push','ck-suggestion--disabled-comments','getTemplate','906liXzub','_descriptionElement','editorDestroyed','1510FyQCGu','5sHMKnP','descriptionParts','delegate','suggestionView','disableComments','ariaDescriptionView','</p>','_model','acceptButton','type','canAccept','<p>','focusables','editorReady','2443866pykpOt','isActive','commentThread','acceptSuggestion','setTemplate','1720060pNERdF','div','color','content','commentsListView','186434gDhBiK','discardSuggestion','set','render','formatDateTime','isEnabled'];_0x1653=function(){return _0x5ac9ef;};return _0x1653();}function _0x1e5e(_0x5e9d9e,_0x2f47ad){const _0x1653a4=_0x1653();return _0x1e5e=function(_0x1e5eac,_0xbeb0c7){_0x1e5eac=_0x1e5eac-0x1db;let _0x307563=_0x1653a4[_0x1e5eac];return _0x307563;},_0x1e5e(_0x5e9d9e,_0x2f47ad);}export default class re extends _0x3e4fa1{constructor(_0x3faddd,_0x49c3f9,_0x7043b0,_0x59ddc0){const _0x3d65d6=_0x1e5e;super(_0x3faddd,_0x49c3f9,_0x7043b0,_0x59ddc0),this[_0x3d65d6(0x1fa)](_0x3d65d6(0x1e9),''),this[_0x3d65d6(0x20e)](_0x3d65d6(0x1e9))['to'](this,_0x3d65d6(0x1e1),_0xf24dc9=>_0xf24dc9&&_0xf24dc9[0x0]?_0xf24dc9[0x0][_0x3d65d6(0x1e9)]:''),this[_0x3d65d6(0x20e)](_0x3d65d6(0x20f))['to'](this,_0x3d65d6(0x1e1),this,_0x3d65d6(0x1ef),(_0x309e55,_0x231426)=>{const _0x438f13=_0x3d65d6;let _0xc26fcf='';for(const _0x37e808 of _0x309e55)_0xc26fcf+=_0x438f13(0x1eb)+_0x3e2751(_0x37e808[_0x438f13(0x1f6)],_0x37e808[_0x438f13(0x1f5)])+_0x438f13(0x1e6);return _0x231426?_0xc26fcf:_0x5f3498(_0xc26fcf,{'limit':0x8c});}),this[_0x3d65d6(0x1dd)]=null,this[_0x3d65d6(0x1e3)]=new _0x59ddc0[(_0x3d65d6(0x20c))](_0x3faddd,_0x49c3f9,{'formatDateTime':_0x59ddc0[_0x3d65d6(0x1fc)]}),this[_0x3d65d6(0x1e3)][_0x3d65d6(0x20e)](_0x3d65d6(0x20f))['to'](this),this[_0x3d65d6(0x1e3)][_0x3d65d6(0x1e2)](_0x3d65d6(0x1f1),_0x3d65d6(0x1f9))['to'](this),this[_0x3d65d6(0x1e3)][_0x3d65d6(0x1e8)][_0x3d65d6(0x20e)](_0x3d65d6(0x1fd))['to'](this,_0x3d65d6(0x1ea)),this[_0x3d65d6(0x1e3)][_0x3d65d6(0x205)][_0x3d65d6(0x20e)](_0x3d65d6(0x1fd))['to'](this,_0x3d65d6(0x20d)),this[_0x3d65d6(0x1ec)][_0x3d65d6(0x20b)](this[_0x3d65d6(0x1e3)]),this[_0x3d65d6(0x1f7)]&&this[_0x3d65d6(0x1ec)][_0x3d65d6(0x20b)](this[_0x3d65d6(0x1f7)]),this[_0x3d65d6(0x206)]&&this[_0x3d65d6(0x1ec)][_0x3d65d6(0x20b)](this[_0x3d65d6(0x206)]),this[_0x3d65d6(0x1f2)](this[_0x3d65d6(0x1db)]());}[_0x1b6533(0x1db)](){const _0x57123d=_0x1b6533,_0x12104d=this[_0x57123d(0x204)],_0x189452=[this[_0x57123d(0x1e3)]];return this[_0x57123d(0x1f7)]&&_0x189452[_0x57123d(0x212)](this[_0x57123d(0x1f7)]),this[_0x57123d(0x206)]&&_0x189452[_0x57123d(0x212)](this[_0x57123d(0x206)]),_0x189452[_0x57123d(0x212)](this[_0x57123d(0x1e5)]),{'tag':_0x57123d(0x1f4),'attributes':{'class':['ck',_0x57123d(0x1ff),_0x57123d(0x20a),_0x12104d['if'](_0x57123d(0x1ef),_0x57123d(0x200)),_0x12104d['to'](_0x57123d(0x1e9),_0x469615=>_0x57123d(0x207)+_0x469615),this[_0x57123d(0x211)][_0x57123d(0x1e4)]&&_0x57123d(0x213)],'data-suggestion-id':this[_0x57123d(0x1e7)]['id'],'data-thread-id':this[_0x57123d(0x1e7)][_0x57123d(0x1f0)]['id'],'data-author-id':this[_0x57123d(0x1e7)][_0x57123d(0x210)]['id'],'tabindex':0x0,'role':_0x57123d(0x203),'aria-label':_0x12104d['to'](_0x57123d(0x208)),'aria-describedby':this[_0x57123d(0x1e5)]['id']},'children':_0x189452};}[_0x1b6533(0x1fb)](){const _0x4517cd=_0x1b6533;super[_0x4517cd(0x1fb)](),this[_0x4517cd(0x1f7)]&&(this[_0x4517cd(0x1f7)][_0x4517cd(0x1e2)](_0x4517cd(0x1ed))['to'](this),this[_0x4517cd(0x1f7)][_0x4517cd(0x1e2)](_0x4517cd(0x1de))['to'](this)),this[_0x4517cd(0x206)]&&(this[_0x4517cd(0x206)][_0x4517cd(0x1e2)](_0x4517cd(0x1ed))['to'](this),this[_0x4517cd(0x206)][_0x4517cd(0x1e2)](_0x4517cd(0x1de))['to'](this));}}