@ckeditor/ckeditor5-comments 42.0.0-alpha.12 → 42.0.0-alpha.14

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 (154) hide show
  1. package/build/comments.js +1 -1
  2. package/dist/index.js +9 -9
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.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-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sq.js +1 -1
  83. package/dist/translations/sq.umd.js +1 -1
  84. package/dist/translations/sr-latn.js +1 -1
  85. package/dist/translations/sr-latn.umd.js +1 -1
  86. package/dist/translations/sr.js +1 -1
  87. package/dist/translations/sr.umd.js +1 -1
  88. package/dist/translations/sv.js +1 -1
  89. package/dist/translations/sv.umd.js +1 -1
  90. package/dist/translations/th.js +1 -1
  91. package/dist/translations/th.umd.js +1 -1
  92. package/dist/translations/ti.js +1 -1
  93. package/dist/translations/ti.umd.js +1 -1
  94. package/dist/translations/tk.js +1 -1
  95. package/dist/translations/tk.umd.js +1 -1
  96. package/dist/translations/tr.js +1 -1
  97. package/dist/translations/tr.umd.js +1 -1
  98. package/dist/translations/tt.js +1 -1
  99. package/dist/translations/tt.umd.js +1 -1
  100. package/dist/translations/ug.js +1 -1
  101. package/dist/translations/ug.umd.js +1 -1
  102. package/dist/translations/uk.js +1 -1
  103. package/dist/translations/uk.umd.js +1 -1
  104. package/dist/translations/ur.js +1 -1
  105. package/dist/translations/ur.umd.js +1 -1
  106. package/dist/translations/vi.js +1 -1
  107. package/dist/translations/vi.umd.js +1 -1
  108. package/dist/translations/zh-cn.js +1 -1
  109. package/dist/translations/zh-cn.umd.js +1 -1
  110. package/dist/translations/zh.js +1 -1
  111. package/dist/translations/zh.umd.js +1 -1
  112. package/package.json +3 -3
  113. package/src/annotations/annotation.js +2 -2
  114. package/src/annotations/annotationcollection.js +1 -1
  115. package/src/annotations/annotations.js +1 -1
  116. package/src/annotations/annotationsuis.js +1 -1
  117. package/src/annotations/editorannotations.js +1 -1
  118. package/src/annotations/inlineannotations.js +1 -1
  119. package/src/annotations/narrowsidebar.js +1 -1
  120. package/src/annotations/sidebar.js +1 -1
  121. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  122. package/src/annotations/view/annotationview.js +1 -1
  123. package/src/annotations/view/sidebaritemview.js +1 -1
  124. package/src/annotations/view/sidebarview.js +1 -1
  125. package/src/annotations/widesidebar.js +1 -1
  126. package/src/comments/addcommentthreadcommand.js +1 -1
  127. package/src/comments/commentsarchive.js +1 -1
  128. package/src/comments/commentsarchiveui.js +1 -1
  129. package/src/comments/commentsediting.js +1 -1
  130. package/src/comments/commentsrepository.js +3 -3
  131. package/src/comments/commentsui.js +1 -1
  132. package/src/comments/integrations/clipboard.js +1 -1
  133. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  134. package/src/comments/integrations/importword.js +1 -1
  135. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  136. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  137. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  138. package/src/comments/ui/commentthreadcontroller.js +2 -2
  139. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  140. package/src/comments/ui/view/basecommentview.js +1 -1
  141. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  142. package/src/comments/ui/view/commentcontentview.js +1 -1
  143. package/src/comments/ui/view/commentinputview.js +1 -1
  144. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  145. package/src/comments/ui/view/commentslistview.js +1 -1
  146. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  147. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  148. package/src/comments/ui/view/commentthreadview.js +2 -2
  149. package/src/comments/ui/view/commentview.js +2 -2
  150. package/src/comments.js +1 -1
  151. package/src/commentsonly.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/utils/common-translations.js +1 -1
  154. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x304735=_0x48d6;(function(_0x20375f,_0x30cc6f){const _0x23f2d9=_0x48d6,_0x862fd2=_0x20375f();while(!![]){try{const _0x237ac9=-parseInt(_0x23f2d9(0xfa))/0x1+-parseInt(_0x23f2d9(0xf8))/0x2*(parseInt(_0x23f2d9(0xb7))/0x3)+-parseInt(_0x23f2d9(0xe8))/0x4*(parseInt(_0x23f2d9(0x9c))/0x5)+parseInt(_0x23f2d9(0xde))/0x6+parseInt(_0x23f2d9(0xea))/0x7*(parseInt(_0x23f2d9(0xd4))/0x8)+parseInt(_0x23f2d9(0x9b))/0x9*(-parseInt(_0x23f2d9(0x11c))/0xa)+parseInt(_0x23f2d9(0xf6))/0xb;if(_0x237ac9===_0x30cc6f)break;else _0x862fd2['push'](_0x862fd2['shift']());}catch(_0x262029){_0x862fd2['push'](_0x862fd2['shift']());}}}(_0x53c0,0x5a302));import{Plugin as _0x3fb6bc}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1d194c}from'ckeditor5/src/utils.js';function _0x53c0(){const _0x3fcb67=['getItems','ck-comment-marker--active','_getTextContext','newRange','push','change','consumable','context','$textProxy','unlinkedAt','text','getCommentThreads','reconvertMarker','registerAnnotation','start','isEqual','commands','789KkRZgC','ENTER_COMMENT_ANNOUNCEMENT','_detachCommentThread','_attachMarkerToThread','from','init','markerName','_threads','getByInnerView','editing','isAttached','schema','differ','set','comment','ready','_handleThreadMarker','removeMarker:','isObject','removeMarker','addMarker:','document','$graveyard','removeCommentThread','_initializeMarkerConverters','view','isThreadsLoadingPaused','affectsData','_hasTargetInContent','4368504CLfqPQ','dataToMarker','_initAriaMarkerChangeAnnouncements','addComment','hasMarkerForId','listenTo','pluginName','upcast','state','_reconvertMarkers','3657948MjHosT','render','change:isReadOnly','startsWith','getAttribute','end','hasDomSelection','updateMarker','getChangedMarkers','_getTargetForId','4fxthuM','elementToElement','7vjpuci','collaboration.channelId','addCommentThread','destroy','openNewCommentThread','change:activeMarker','_threadToController','hasContent','fetchCommentThread','isCollapsed','root','isResolved','5669554xlQXwi','get','2258EmYuLa','focus','595719IiMbhn','hasCommentThread','destroyed','CommentsEditing','group','then','size','markerToHighlight','getCommentThread','createRange','consume','conversion','name','_handleMarkerAddAndRemove','resolveCommentThread','comment:','_attachArchivedThread','switchReadOnly','clear','config','$marker','ck-comment-marker','refreshVisibility','getAllMarkersForId','createElement','requires','locale','enqueueChange','low','ariaLiveAnnouncer','scrollToThreadMarker','registerPostFixer','split','createPositionBefore','1235240Bpiwox','dataDowncast','activeMarker','LEAVE_COMMENT_ANNOUNCEMENT','announce','model','markerToData','editor','markers','getRange','once','delete','reopenCommentThread','setContext','attachTo','add','editingDowncast','for','managedUsingOperations','rootName','length','9VRMaZa','1427775vaavYK','data','getWalker','substring','change:isThreadsLoadingPaused','plugins','setUnlinkedAt','item','isLocal','ignoreResolvedComments'];_0x53c0=function(){return _0x3fcb67;};return _0x53c0();}import _0x384ec0 from'./commentsrepository.js';import _0xbde277 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x459d83,getAllMarkersDomElementsSorted as _0x32228f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3e9b17 from'../annotations/editorannotations.js';import _0x3b48ad from'./integrations/commentsrestrictededitingmode.js';function _0x48d6(_0x42a90e,_0x181cf6){const _0x53c0e4=_0x53c0();return _0x48d6=function(_0x48d662,_0x243b08){_0x48d662=_0x48d662-0x8d;let _0x252b0d=_0x53c0e4[_0x48d662];return _0x252b0d;},_0x48d6(_0x42a90e,_0x181cf6);}import _0x5c7adb from'./integrations/importword.js';import _0xb9fab8 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x2898fa from'../annotations/annotations.js';import{getTranslation as _0x5db34f}from'../utils/common-translations.js';export default class r extends _0x3fb6bc{static get[_0x304735(0x113)](){return[_0x384ec0,_0x3e9b17,_0x3b48ad,_0x5c7adb,_0xb9fab8];}static get[_0x304735(0xda)](){const _0x931146=_0x304735;return _0x931146(0xfd);}constructor(_0x1f3c7b){const _0x4f4164=_0x304735;super(_0x1f3c7b),this[_0x4f4164(0xc4)](_0x4f4164(0xd1),!0x0),_0x1f3c7b[_0x4f4164(0x9d)][_0x4f4164(0x90)](_0x4f4164(0xc6),()=>this[_0x4f4164(0xd1)]=!0x1),this[_0x4f4164(0xc4)](_0x4f4164(0x11e),null),this['on'](_0x4f4164(0xef),(_0x4dbe91,_0x7f5125,_0x3a17e2,_0x5c2bd8)=>{const _0x294689=_0x4f4164,_0x290114=_0x3a17e2?it(_0x3a17e2)['id']:null;if(_0x1f3c7b[_0x294689(0x121)][_0x294689(0xab)](()=>{const _0x3b6118=_0x294689;if(_0x290114){const _0x56fb62=this[_0x3b6118(0x111)](_0x290114);for(const _0x239a53 of _0x56fb62)_0x1f3c7b[_0x3b6118(0xc0)][_0x3b6118(0xb2)](_0x239a53);}if(_0x5c2bd8){const {id:_0x5e34a2}=it(_0x5c2bd8),_0x3d0d43=this[_0x3b6118(0x111)](_0x5e34a2);for(const _0x1d65ac of _0x3d0d43)_0x1f3c7b[_0x3b6118(0xc0)][_0x3b6118(0xb2)](_0x1d65ac);}}),_0x290114){const _0x41b1e5=_0x1f3c7b[_0x294689(0xa1)][_0x294689(0xf7)](_0x384ec0)[_0x294689(0x102)](_0x290114);_0x41b1e5&&_0x41b1e5[_0x294689(0xf5)]&&this[_0x294689(0x118)](_0x290114);}}),this[_0x4f4164(0xd6)]();}[_0x304735(0xbc)](){const _0x2fed95=_0x304735,_0x4200a5=this[_0x2fed95(0x8d)],_0x5cffb5=_0x4200a5[_0x2fed95(0xa1)][_0x2fed95(0xf7)](_0x384ec0),_0x39a2e0=_0x4200a5[_0x2fed95(0x10d)][_0x2fed95(0xf7)](_0x2fed95(0xeb));_0x4200a5[_0x2fed95(0xb6)][_0x2fed95(0x95)](_0x2fed95(0xec),new _0xbde277(_0x4200a5)),this[_0x2fed95(0xd9)](_0x4200a5,_0x2fed95(0xe0),(_0x5d1bd2,_0x452c6c,_0x42073c)=>{const _0x25e34a=_0x2fed95;_0x5cffb5[_0x25e34a(0x10b)](_0x42073c,_0x4200a5[_0x25e34a(0x10d)][_0x25e34a(0xf7)](_0x25e34a(0xeb)));}),this[_0x2fed95(0xd9)](_0x5cffb5,nt(_0x2fed95(0xec),_0x39a2e0),(_0x3c18e7,{threadId:_0x42d0af})=>{const _0x4d3999=_0x2fed95,_0xeacac0=this[_0x4d3999(0x8d)][_0x4d3999(0xa1)][_0x4d3999(0xf7)](_0x384ec0)[_0x4d3999(0x102)](_0x42d0af);_0xeacac0&&_0xeacac0[_0x4d3999(0xaf)]&&this[_0x4d3999(0x10a)](_0x42d0af);}),this[_0x2fed95(0xd9)](_0x5cffb5,nt(_0x2fed95(0xce),_0x39a2e0),(_0x2288a2,{threadId:_0x2493e5})=>{const _0x3885f3=_0x2fed95;_0x4200a5[_0x3885f3(0x121)][_0x3885f3(0x115)]({'isUndoable':!0x1},_0x5da6df=>{const _0x7e9095=_0x3885f3,_0x4bf9da=this[_0x7e9095(0x111)](_0x2493e5);for(const _0x3f43ea of _0x4bf9da)_0x5da6df[_0x7e9095(0xca)](_0x3f43ea);});}),this[_0x2fed95(0xd9)](_0x5cffb5,nt(_0x2fed95(0x108),_0x39a2e0),(_0x4115dd,{threadId:_0x3c25cc})=>{const _0x516483=_0x2fed95;(this[_0x516483(0xdd)](_0x3c25cc),this[_0x516483(0x8d)][_0x516483(0xc0)][_0x516483(0xd0)][_0x516483(0xe4)])&&(this[_0x516483(0x8d)][_0x516483(0xa1)][_0x516483(0xf7)](_0x384ec0)[_0x516483(0x102)](_0x3c25cc)[_0x516483(0xaf)]||this[_0x516483(0x8d)][_0x516483(0xc0)][_0x516483(0xd0)][_0x516483(0xf9)]());},{'priority':_0x2fed95(0x116)}),this[_0x2fed95(0xd9)](_0x5cffb5,nt(_0x2fed95(0x92),_0x39a2e0),(_0xa4c1fa,{threadId:_0x494f7e})=>{const _0x156415=_0x2fed95;this[_0x156415(0xdd)](_0x494f7e);},{'priority':_0x2fed95(0x116)}),this[_0x2fed95(0xd9)](_0x5cffb5,nt(_0x2fed95(0xd7),_0x39a2e0),(_0x12a61d,{threadId:_0x17ab44,isFromAdapter:_0x69e08b})=>{const _0x4f102b=_0x2fed95,_0x32f517=this[_0x4f102b(0x111)](_0x17ab44);if(_0x69e08b||0x0==_0x32f517[_0x4f102b(0x9a)]||!_0x5cffb5[_0x4f102b(0xfb)](_0x17ab44))return;0x1===_0x5cffb5[_0x4f102b(0x102)](_0x17ab44)[_0x4f102b(0x9a)]&&_0x4200a5[_0x4f102b(0x121)][_0x4f102b(0x115)]({'isUndoable':!0x1},_0x6c2d0f=>{const _0x90b6f3=_0x4f102b;for(const _0x33952b of _0x32f517)_0x6c2d0f[_0x90b6f3(0xe5)](_0x33952b,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x2fed95(0x116)}),this[_0x2fed95(0xcf)](),this[_0x2fed95(0x107)]();}[_0x304735(0xed)](){const _0x490112=_0x304735,_0x24fae1=this[_0x490112(0x8d)][_0x490112(0xa1)][_0x490112(0xf7)](_0x384ec0),_0x48ead0=this[_0x490112(0x8d)][_0x490112(0x10d)][_0x490112(0xf7)](_0x490112(0xeb));for(const _0x5dbd23 of _0x24fae1[_0x490112(0xb1)]({'channelId':_0x48ead0}))_0x24fae1[_0x490112(0xb9)](_0x5dbd23['id']),_0x24fae1[_0x490112(0xbe)][_0x490112(0x91)](_0x5dbd23['id']);super[_0x490112(0xed)]();}[_0x304735(0xd8)](_0xb08fdd){const _0x8c8934=_0x304735;return this[_0x8c8934(0x111)](_0xb08fdd)[_0x8c8934(0x9a)]>0x0;}[_0x304735(0x111)](_0x329180){const _0x6b0db0=_0x304735,_0xbedf6a=[];for(const _0x15a45a of this[_0x6b0db0(0x8d)][_0x6b0db0(0x121)][_0x6b0db0(0x8e)])_0x15a45a[_0x6b0db0(0x106)][_0x6b0db0(0xe1)](_0x6b0db0(0x109)+_0x329180)&&_0xbedf6a[_0x6b0db0(0xaa)](_0x15a45a);return _0xbedf6a;}[_0x304735(0x118)](_0x149062){const _0x189c52=_0x304735,_0x48db51=this[_0x189c52(0xe7)](_0x149062);_0x48db51&&setTimeout(()=>{const _0x4762a5=_0x189c52;this[_0x4762a5(0x11e)]&&it(this[_0x4762a5(0x11e)])['id']===_0x149062&&_0x1d194c({'target':_0x48db51[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x304735(0xdd)](_0x531e52){const _0x472b32=_0x304735;this[_0x472b32(0x8d)][_0x472b32(0x121)][_0x472b32(0xab)](()=>{const _0x3ecc5c=_0x472b32;for(const _0x45d631 of this[_0x3ecc5c(0x111)](_0x531e52))this[_0x3ecc5c(0x8d)][_0x3ecc5c(0xc0)][_0x3ecc5c(0xb2)](_0x45d631);});}[_0x304735(0x10a)](_0x7fa60b){const _0x46f09a=_0x304735,_0x3f9c22=this[_0x46f09a(0x8d)][_0x46f09a(0xa1)][_0x46f09a(0xf7)](_0x384ec0),_0x556264=this[_0x46f09a(0x8d)][_0x46f09a(0xa1)][_0x46f09a(0xf7)](_0x3e9b17),_0x35c427=_0x3f9c22[_0x46f09a(0x102)](_0x7fa60b);if(!_0x35c427[_0x46f09a(0xc1)]){const _0x38890a=_0x35c427[_0x46f09a(0x94)](()=>this[_0x46f09a(0xe7)](_0x35c427['id']));_0x556264[_0x46f09a(0xb3)](_0x38890a),_0x35c427[_0x46f09a(0xd3)]=!0x1;}}[_0x304735(0xcf)](){const _0x36e83c=_0x304735,_0x48a0be=this[_0x36e83c(0x8d)];_0x48a0be[_0x36e83c(0x105)][_0x36e83c(0x97)](_0x36e83c(0x96))[_0x36e83c(0x101)]({'model':_0x36e83c(0xc5),'view':(_0x1a9dfa,_0x171899)=>{const _0x5a73d0=_0x36e83c,{id:_0x37c9b1}=it(_0x1a9dfa[_0x5a73d0(0xbd)]),_0x3b06ab=_0x48a0be[_0x5a73d0(0xa1)][_0x5a73d0(0xf7)](_0x384ec0)[_0x5a73d0(0x102)](_0x37c9b1),_0xf0b937=this[_0x5a73d0(0x11e)]&&it(this[_0x5a73d0(0x11e)])['id']===_0x37c9b1;if(_0x3b06ab&&_0x3b06ab[_0x5a73d0(0xf5)]&&!_0xf0b937&&_0x1a9dfa[_0x5a73d0(0xa3)])return _0x171899[_0x5a73d0(0xac)][_0x5a73d0(0x104)](_0x1a9dfa[_0x5a73d0(0xa3)],_0x5a73d0(0xcb)+_0x1a9dfa[_0x5a73d0(0xbd)]),_0x171899[_0x5a73d0(0xac)][_0x5a73d0(0x104)](_0x1a9dfa[_0x5a73d0(0xa3)],_0x5a73d0(0xc8)+_0x1a9dfa[_0x5a73d0(0xbd)]),null;const _0x4b8542=[_0x5a73d0(0x10f)];return _0xf0b937&&_0x4b8542[_0x5a73d0(0xaa)](_0x5a73d0(0xa7)),{'classes':_0x4b8542,'attributes':{'data-comment':_0x37c9b1}};}}),_0x48a0be[_0x36e83c(0x105)][_0x36e83c(0x97)](_0x36e83c(0x11d))[_0x36e83c(0x122)]({'model':_0x36e83c(0xc5),'view':(_0x5796ef,{options:_0x567921})=>{const _0x29c6a1=_0x36e83c,_0x16b433=_0x48a0be[_0x29c6a1(0xa1)][_0x29c6a1(0xf7)](_0x384ec0),_0x3b2919=_0x48a0be[_0x29c6a1(0x121)][_0x29c6a1(0x8e)][_0x29c6a1(0xf7)](_0x5796ef),{id:_0x21ab09,part:_0x5cbd8c}=it(_0x5796ef);if(_0x3b2919&&!_0x3b2919[_0x29c6a1(0xd2)])return null;if(_0x567921[_0x29c6a1(0xa5)]){const _0x1b322c=_0x16b433[_0x29c6a1(0x102)](_0x21ab09);if(_0x1b322c&&_0x1b322c[_0x29c6a1(0xf5)])return null;}return{'group':_0x29c6a1(0xc5),'name':_0x5cbd8c?_0x21ab09+':'+_0x5cbd8c:_0x21ab09};}}),_0x48a0be[_0x36e83c(0x105)][_0x36e83c(0x97)](_0x36e83c(0xdb))[_0x36e83c(0xe9)]({'view':{'name':_0x36e83c(0xc5),'attributes':{'id':/^\w/}},'model':(_0x509227,{writer:_0x59846a})=>_0x59846a[_0x36e83c(0x112)](_0x36e83c(0x10e),{'data-name':_0x36e83c(0x109)+_0x509227[_0x36e83c(0xe2)]('id')})}),_0x48a0be[_0x36e83c(0x105)][_0x36e83c(0x97)](_0x36e83c(0xdb))[_0x36e83c(0xd5)]({'view':_0x36e83c(0xc5)});}[_0x304735(0x107)](){const _0x35075a=_0x304735,_0xa43b34=this[_0x35075a(0x8d)],_0x4ba1e9=_0xa43b34[_0x35075a(0xa1)][_0x35075a(0xf7)](_0x384ec0),_0x4a437c=new Set(),_0x4ca4a6=new Set();_0xa43b34[_0x35075a(0x121)][_0x35075a(0xcc)][_0x35075a(0x119)](_0x29cb93=>{const _0x4b1891=_0x35075a;let _0x5f2531=!0x1;for(const {name:_0xbc32e7,data:_0x21627c}of _0xa43b34[_0x4b1891(0x121)][_0x4b1891(0xcc)][_0x4b1891(0xc3)][_0x4b1891(0xe6)]()){const {group:_0x8cea74,id:_0x39932f}=it(_0xbc32e7);let _0x49022b=_0x21627c[_0x4b1891(0xa9)];if(_0x4b1891(0xc5)!==_0x8cea74||!_0x49022b)continue;const _0xbe5654=_0x4b1891(0xcd)===_0x49022b[_0x4b1891(0xf4)][_0x4b1891(0x99)];_0xbe5654||(_0x49022b=st(_0x49022b,_0xa43b34[_0x4b1891(0x121)]),!_0x49022b||_0x49022b[_0x4b1891(0xf3)]||!_0x21627c[_0x4b1891(0xa9)]||_0x49022b[_0x4b1891(0xb5)](_0x21627c[_0x4b1891(0xa9)]))?_0xa43b34[_0x4b1891(0x121)][_0x4b1891(0xf1)](_0x49022b)&&!_0xbe5654?this[_0x4b1891(0xd1)]?_0x4a437c[_0x4b1891(0x95)](_0xbc32e7):this[_0x4b1891(0xc7)](_0xbc32e7,_0x39932f):(_0x4ca4a6[_0x4b1891(0x95)](_0xbc32e7),_0x4a437c[_0x4b1891(0x91)](_0xbc32e7),_0x29cb93[_0x4b1891(0xca)](_0xbc32e7),_0x5f2531=!0x0):(_0x29cb93[_0x4b1891(0xe5)](_0xbc32e7,{'range':_0x49022b}),_0x5f2531=!0x0);}return _0x5f2531;}),this['on'](_0x35075a(0xa0),(_0x3b2228,_0x4dbdc1,_0x42623d)=>{const _0x5d2236=_0x35075a;if(!_0x42623d&&_0x4a437c[_0x5d2236(0x100)])for(const _0x42b0bd of _0x4a437c){const {id:_0x5a2642}=it(_0x42b0bd);_0x4a437c[_0x5d2236(0x91)](_0x42b0bd),_0xa43b34[_0x5d2236(0x121)][_0x5d2236(0x8e)][_0x5d2236(0xf7)](_0x42b0bd)&&this[_0x5d2236(0xc7)](_0x42b0bd,_0x5a2642);}}),this[_0x35075a(0xd9)](_0xa43b34[_0x35075a(0x121)][_0x35075a(0xcc)],_0x35075a(0xab),(_0x582a5c,_0x335f7e)=>{const _0x309b98=_0x35075a;for(const {name:_0x2a2e2b,data:{newRange:_0x2ece72}}of _0xa43b34[_0x309b98(0x121)][_0x309b98(0xcc)][_0x309b98(0xc3)][_0x309b98(0xe6)]()){const {group:_0x2191b1,id:_0x14a6e1}=it(_0x2a2e2b);if(_0x309b98(0xc5)!==_0x2191b1)continue;const _0x3d7095=_0x4ba1e9[_0x309b98(0x102)](_0x14a6e1),_0x20f45d=this[_0x309b98(0xd8)](_0x14a6e1);_0x3d7095&&(_0x3d7095[_0x309b98(0xd3)]||_0xa43b34[_0x309b98(0xc0)][_0x309b98(0xd0)][_0x309b98(0x90)](_0x309b98(0xdf),()=>{const _0x2c7074=_0x309b98,_0x21ed43=_0xa43b34[_0x2c7074(0xa1)][_0x2c7074(0xf7)](_0x2898fa),_0xc3ebf6=_0x4ba1e9[_0x2c7074(0xf0)][_0x2c7074(0xf7)](_0x3d7095)[_0x2c7074(0xd0)];_0x21ed43[_0x2c7074(0xbf)](_0xc3ebf6)[_0x2c7074(0x110)]();},{'priority':_0x309b98(0x116)}),_0x3d7095[_0x309b98(0xd3)]=_0x20f45d||!!_0x2ece72),_0x2ece72||(_0x4ca4a6[_0x309b98(0x95)](_0x2a2e2b),_0x4a437c[_0x309b98(0x91)](_0x2a2e2b));}if(_0x335f7e[_0x309b98(0xa4)])for(const _0x2341dc of _0x4ca4a6){const {id:_0xe4f099}=it(_0x2341dc),_0x466c55=_0x4ba1e9[_0x309b98(0x102)](_0xe4f099),_0x23f384=this[_0x309b98(0xd8)](_0xe4f099);_0x4a437c[_0x309b98(0x91)](_0x2341dc),!_0x466c55||_0x23f384||_0x466c55[_0x309b98(0xaf)]||_0x466c55[_0x309b98(0xa2)](new Date());}_0x4ca4a6[_0x309b98(0x10c)]();});}[_0x304735(0xe7)](_0x5430f2){const _0x1655b8=_0x304735,_0x516a19=this[_0x1655b8(0x8d)],_0x2ed5f4=this[_0x1655b8(0x111)](_0x5430f2);return _0x32228f(_0x516a19[_0x1655b8(0xc0)],_0x2ed5f4);}[_0x304735(0xa8)](_0xe72d78){const _0x19cabf=_0x304735,_0x3266=this[_0x19cabf(0x111)](_0xe72d78);let _0x1330a8='',_0x248233=!0x1;for(const _0x266b35 of _0x3266){const _0x3d2542=_0x266b35[_0x19cabf(0x8f)]();for(const _0x2f6adf of Array[_0x19cabf(0xbb)](_0x3d2542[_0x19cabf(0xa6)]()))_0x2f6adf['is'](_0x19cabf(0xae))?(_0x1330a8&&_0x248233&&(_0x1330a8+='\x20',_0x248233=!0x1),_0x1330a8+=_0x2f6adf[_0x19cabf(0x9d)]):_0x248233=!0x0;_0x248233=!0x0;}return _0x1330a8[_0x19cabf(0x9f)](0x0,0x96);}[_0x304735(0xba)](_0x3bfc8a,_0x1d6590){const _0x2a19ed=_0x304735,_0x46e4dc=this[_0x2a19ed(0x8d)],_0x35bde4=_0x46e4dc[_0x2a19ed(0xa1)][_0x2a19ed(0xf7)](_0x384ec0);let _0x16bba1=_0x35bde4[_0x2a19ed(0x102)](_0x1d6590);const _0x84358b=_0x46e4dc[_0x2a19ed(0x10d)][_0x2a19ed(0xf7)](_0x2a19ed(0xeb)),_0x2b29f3=_0x46e4dc[_0x2a19ed(0xa1)][_0x2a19ed(0xf7)](_0x3e9b17);if(_0x16bba1&&(_0x16bba1[_0x2a19ed(0xaf)]&&_0x16bba1[_0x2a19ed(0xa2)](null),_0x16bba1[_0x2a19ed(0xc1)]))return _0x16bba1;return!this[_0x2a19ed(0x111)](_0x1d6590)[0x0][_0x2a19ed(0x98)]?_0x46e4dc[_0x2a19ed(0xc0)][_0x2a19ed(0xd0)][_0x2a19ed(0x90)](_0x2a19ed(0xdf),()=>{const _0x1c5a2d=_0x2a19ed;if(_0x35bde4[_0x1c5a2d(0x102)](_0x1d6590))return;const _0x5519fb=_0x46e4dc[_0x1c5a2d(0xa1)][_0x1c5a2d(0xf7)](_0x2898fa);_0x16bba1=_0x35bde4[_0x1c5a2d(0xee)]({'channelId':_0x84358b,'threadId':_0x1d6590,'target':()=>this[_0x1c5a2d(0xe7)](_0x1d6590),'context':{'type':_0x1c5a2d(0xb0),'value':this[_0x1c5a2d(0xa8)](_0x1d6590)}});const _0x10bde2=_0x35bde4[_0x1c5a2d(0xf0)][_0x1c5a2d(0xf7)](_0x16bba1)[_0x1c5a2d(0xd0)],_0x49a647=_0x5519fb[_0x1c5a2d(0xbf)](_0x10bde2);_0x49a647&&_0x2b29f3[_0x1c5a2d(0xb3)](_0x49a647);},{'priority':_0x2a19ed(0x116)}):_0x35bde4[_0x2a19ed(0xf2)]({'channelId':_0x84358b,'threadId':_0x1d6590})[_0x2a19ed(0xff)](_0x519725=>{const _0x5a0983=_0x2a19ed;if(_0x5a0983(0xfc)!==_0x46e4dc[_0x5a0983(0xdc)]){if(_0x16bba1=_0x519725,_0x16bba1&&!_0x16bba1[_0x5a0983(0xc1)]){const _0x11db3d=_0x16bba1[_0x5a0983(0x94)](()=>this[_0x5a0983(0xe7)](_0x1d6590));_0x2b29f3[_0x5a0983(0xb3)](_0x11db3d),_0x16bba1[_0x5a0983(0xf5)]&&this[_0x5a0983(0xdd)](_0x1d6590);}else{if(!_0x16bba1){const _0x18d279=this[_0x5a0983(0x111)](_0x1d6590);_0x46e4dc[_0x5a0983(0x121)][_0x5a0983(0xab)](_0x5f2576=>{const _0x169c05=_0x5a0983;for(const _0x65b15b of _0x18d279)_0x5f2576[_0x169c05(0xca)](_0x65b15b);});}}}}),_0x16bba1;}[_0x304735(0xc7)](_0x529471,_0x2e9919){const _0x50f3d6=_0x304735,_0x42e997=this[_0x50f3d6(0xba)](_0x529471,_0x2e9919);_0x42e997&&!_0x42e997[_0x50f3d6(0xad)]&&_0x42e997[_0x50f3d6(0x93)]({'type':_0x50f3d6(0xb0),'value':this[_0x50f3d6(0xa8)](_0x2e9919)});}[_0x304735(0xd6)](){const _0x20146d=_0x304735,_0x10940c=this[_0x20146d(0x8d)];_0x459d83(_0x10940c[_0x20146d(0x121)],({left:_0x2ff84e,entered:_0x5057d2})=>{const _0x4ea972=_0x20146d;for(const _0x2f6d11 of _0x2ff84e)if(at(_0x2f6d11)){_0x10940c['ui'][_0x4ea972(0x117)][_0x4ea972(0x120)](_0x5db34f(_0x10940c[_0x4ea972(0x114)],_0x4ea972(0x11f)));break;}for(const _0xdb2785 of _0x5057d2)if(at(_0xdb2785)){_0x10940c['ui'][_0x4ea972(0x117)][_0x4ea972(0x120)](_0x5db34f(_0x10940c[_0x4ea972(0x114)],_0x4ea972(0xb8)));break;}});}}function nt(_0x1a05cd,_0x383c86){return _0x383c86?_0x1a05cd+':'+_0x383c86:_0x1a05cd;}function it(_0xc961c9){const _0x8c7d0c=_0x304735,_0x598d18=_0xc961c9[_0x8c7d0c(0x11a)](':');return{'group':_0x598d18[0x0],'id':_0x598d18[0x1],'part':_0x598d18[0x2]};}function st(_0x2f4d18,_0xd36b0c){const _0x340581=_0x304735,_0x407fd2=_0xd36b0c[_0x340581(0xc2)],_0x4c9605=_0xd36b0c[_0x340581(0x103)](_0x2f4d18[_0x340581(0xb4)]);for(const _0x1b8016 of _0x2f4d18[_0x340581(0x9e)]()){const {type:_0x17073a,item:_0x33538f,nextPosition:_0x386c23}=_0x1b8016;if(_0x340581(0xb0)===_0x17073a||_0x407fd2[_0x340581(0xc9)](_0x33538f)){const _0x3ccf8d=_0xd36b0c[_0x340581(0x11b)](_0x33538f);_0x4c9605[_0x340581(0xf3)]&&(_0x4c9605[_0x340581(0xb4)]=_0x3ccf8d),_0x4c9605[_0x340581(0xe3)]=_0x386c23;}}return _0x4c9605;}function at(_0x252c09){const _0x2299b8=_0x304735;return _0x2299b8(0xc5)===it(_0x252c09[_0x2299b8(0x106)])[_0x2299b8(0xfe)];}
23
+ function _0x268a(_0x33f6cf,_0x448347){const _0x39b15f=_0x39b1();return _0x268a=function(_0x268ad8,_0x35db0d){_0x268ad8=_0x268ad8-0x187;let _0x3686a6=_0x39b15f[_0x268ad8];return _0x3686a6;},_0x268a(_0x33f6cf,_0x448347);}const _0xf858cf=_0x268a;(function(_0x42a68e,_0x11bb5e){const _0x3a1727=_0x268a,_0x51a4fe=_0x42a68e();while(!![]){try{const _0x214f8f=-parseInt(_0x3a1727(0x217))/0x1+parseInt(_0x3a1727(0x201))/0x2+parseInt(_0x3a1727(0x1a4))/0x3*(parseInt(_0x3a1727(0x1a8))/0x4)+parseInt(_0x3a1727(0x1f9))/0x5*(parseInt(_0x3a1727(0x193))/0x6)+-parseInt(_0x3a1727(0x1db))/0x7*(-parseInt(_0x3a1727(0x18c))/0x8)+parseInt(_0x3a1727(0x21d))/0x9*(parseInt(_0x3a1727(0x1e6))/0xa)+-parseInt(_0x3a1727(0x1ac))/0xb*(parseInt(_0x3a1727(0x1f6))/0xc);if(_0x214f8f===_0x11bb5e)break;else _0x51a4fe['push'](_0x51a4fe['shift']());}catch(_0x4be48d){_0x51a4fe['push'](_0x51a4fe['shift']());}}}(_0x39b1,0xb3f3b));import{Plugin as _0x3471c7}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x23574a}from'ckeditor5/src/utils.js';import _0x5742ca from'./commentsrepository.js';import _0x202c23 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x42d06d,getAllMarkersDomElementsSorted as _0x59d367}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x503caa from'../annotations/editorannotations.js';import _0x172829 from'./integrations/commentsrestrictededitingmode.js';import _0x21a87b from'./integrations/importword.js';function _0x39b1(){const _0x45265d=['markers','activeMarker','comment:','managedUsingOperations','newRange','isAttached','from','_attachMarkerToThread','fetchCommentThread','size','31430DqrkpO','dataToMarker','requires','ignoreResolvedComments','start','isEqual','context','editingDowncast','ready','getCommentThreads','locale','getRange','markerToData','view','createPositionBefore','root','60408jKWFgv','elementToElement','destroy','2455WkqIjQ','getByInnerView','comment','refreshVisibility','ck-comment-marker','isResolved','_handleThreadMarker','consumable','2885416Dbmijc','markerName','openNewCommentThread','_getTargetForId','getCommentThread','$marker','enqueueChange','removeMarker','for','updateMarker','ariaLiveAnnouncer','conversion','_hasTargetInContent','createRange','end','$textProxy','focus','editor','collaboration.channelId','init','set','getWalker','892032TDaHud','_initializeMarkerConverters','differ','get','group','plugins','2592mrmdaC','render','switchReadOnly','editing','commands','removeMarker:','3256168ZFYzyu','substring','listenTo','pluginName','hasCommentThread','isObject','setContext','7842METGjZ','delete','push','destroyed','ck-comment-marker--active','reconvertMarker','affectsData','addMarker:','announce','hasMarkerForId','createElement','hasDomSelection','_initAriaMarkerChangeAnnouncements','consume','_attachArchivedThread','_detachCommentThread','_threads','1092510usoYUW','document','getChangedMarkers','change','12uqNXcH','isThreadsLoadingPaused','scrollToThreadMarker','config','7139gUzyXZ','unlinkedAt','data','removeCommentThread','dataDowncast','schema','startsWith','_handleMarkerAddAndRemove','length','addCommentThread','name','reopenCommentThread','addComment','isLocal','change:isReadOnly','text','model','change:activeMarker','hasContent','rootName','CommentsEditing','markerToHighlight','item','LEAVE_COMMENT_ANNOUNCEMENT','state','split','add','once','attachTo','ENTER_COMMENT_ANNOUNCEMENT','getAttribute','low','_threadToController','isCollapsed','$graveyard','_getTextContext','then','registerPostFixer','registerAnnotation','setUnlinkedAt','getAllMarkersForId','resolveCommentThread','getItems','_reconvertMarkers','change:isThreadsLoadingPaused','upcast','clear','14fLSxdl'];_0x39b1=function(){return _0x45265d;};return _0x39b1();}import _0x32d908 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x7f7989 from'../annotations/annotations.js';import{getTranslation as _0x23039d}from'../utils/common-translations.js';export default class r extends _0x3471c7{static get[_0xf858cf(0x1e8)](){return[_0x5742ca,_0x503caa,_0x172829,_0x21a87b,_0x32d908];}static get[_0xf858cf(0x18f)](){const _0x1db226=_0xf858cf;return _0x1db226(0x1c0);}constructor(_0x541316){const _0x76f9c6=_0xf858cf;super(_0x541316),this[_0x76f9c6(0x215)](_0x76f9c6(0x1a9),!0x0),_0x541316[_0x76f9c6(0x1ae)][_0x76f9c6(0x1c7)](_0x76f9c6(0x1ee),()=>this[_0x76f9c6(0x1a9)]=!0x1),this[_0x76f9c6(0x215)](_0x76f9c6(0x1dd),null),this['on'](_0x76f9c6(0x1bd),(_0x114bb3,_0x45248f,_0x32eff5,_0x2dada1)=>{const _0xcaffa5=_0x76f9c6,_0x24b810=_0x32eff5?it(_0x32eff5)['id']:null;if(_0x541316[_0xcaffa5(0x1bc)][_0xcaffa5(0x1a7)](()=>{const _0x348f6f=_0xcaffa5;if(_0x24b810){const _0x257857=this[_0x348f6f(0x1d4)](_0x24b810);for(const _0x24e989 of _0x257857)_0x541316[_0x348f6f(0x189)][_0x348f6f(0x198)](_0x24e989);}if(_0x2dada1){const {id:_0x120c32}=it(_0x2dada1),_0x1dbeff=this[_0x348f6f(0x1d4)](_0x120c32);for(const _0x130810 of _0x1dbeff)_0x541316[_0x348f6f(0x189)][_0x348f6f(0x198)](_0x130810);}}),_0x24b810){const _0x4a3d41=_0x541316[_0xcaffa5(0x21c)][_0xcaffa5(0x21a)](_0x5742ca)[_0xcaffa5(0x205)](_0x24b810);_0x4a3d41&&_0x4a3d41[_0xcaffa5(0x1fe)]&&this[_0xcaffa5(0x1aa)](_0x24b810);}}),this[_0x76f9c6(0x19f)]();}[_0xf858cf(0x214)](){const _0x55ee89=_0xf858cf,_0x4dab01=this[_0x55ee89(0x212)],_0x14adc4=_0x4dab01[_0x55ee89(0x21c)][_0x55ee89(0x21a)](_0x5742ca),_0x21219b=_0x4dab01[_0x55ee89(0x1ab)][_0x55ee89(0x21a)](_0x55ee89(0x213));_0x4dab01[_0x55ee89(0x18a)][_0x55ee89(0x1c6)](_0x55ee89(0x1b5),new _0x202c23(_0x4dab01)),this[_0x55ee89(0x18e)](_0x4dab01,_0x55ee89(0x1ba),(_0x5c0843,_0x1c2fa7,_0x197180)=>{const _0x6c6596=_0x55ee89;_0x14adc4[_0x6c6596(0x188)](_0x197180,_0x4dab01[_0x6c6596(0x1ab)][_0x6c6596(0x21a)](_0x6c6596(0x213)));}),this[_0x55ee89(0x18e)](_0x14adc4,nt(_0x55ee89(0x1b5),_0x21219b),(_0x6ff80a,{threadId:_0x597e27})=>{const _0x412214=_0x55ee89,_0x217a40=this[_0x412214(0x212)][_0x412214(0x21c)][_0x412214(0x21a)](_0x5742ca)[_0x412214(0x205)](_0x597e27);_0x217a40&&_0x217a40[_0x412214(0x1ad)]&&this[_0x412214(0x1a1)](_0x597e27);}),this[_0x55ee89(0x18e)](_0x14adc4,nt(_0x55ee89(0x1af),_0x21219b),(_0x3e844e,{threadId:_0x4b2cf6})=>{const _0x1576df=_0x55ee89;_0x4dab01[_0x1576df(0x1bc)][_0x1576df(0x207)]({'isUndoable':!0x1},_0x3dcb2c=>{const _0x2fc2de=_0x1576df,_0x199632=this[_0x2fc2de(0x1d4)](_0x4b2cf6);for(const _0x515e96 of _0x199632)_0x3dcb2c[_0x2fc2de(0x208)](_0x515e96);});}),this[_0x55ee89(0x18e)](_0x14adc4,nt(_0x55ee89(0x1d5),_0x21219b),(_0x175df9,{threadId:_0x37ef93})=>{const _0x56d8fc=_0x55ee89;(this[_0x56d8fc(0x1d7)](_0x37ef93),this[_0x56d8fc(0x212)][_0x56d8fc(0x189)][_0x56d8fc(0x1f3)][_0x56d8fc(0x19e)])&&(this[_0x56d8fc(0x212)][_0x56d8fc(0x21c)][_0x56d8fc(0x21a)](_0x5742ca)[_0x56d8fc(0x205)](_0x37ef93)[_0x56d8fc(0x1ad)]||this[_0x56d8fc(0x212)][_0x56d8fc(0x189)][_0x56d8fc(0x1f3)][_0x56d8fc(0x211)]());},{'priority':_0x55ee89(0x1cb)}),this[_0x55ee89(0x18e)](_0x14adc4,nt(_0x55ee89(0x1b7),_0x21219b),(_0x29cdff,{threadId:_0x1f873e})=>{const _0x1539ca=_0x55ee89;this[_0x1539ca(0x1d7)](_0x1f873e);},{'priority':_0x55ee89(0x1cb)}),this[_0x55ee89(0x18e)](_0x14adc4,nt(_0x55ee89(0x1b8),_0x21219b),(_0x54579a,{threadId:_0x3ff827,isFromAdapter:_0x25ab48})=>{const _0x1f91fb=_0x55ee89,_0x8171be=this[_0x1f91fb(0x1d4)](_0x3ff827);if(_0x25ab48||0x0==_0x8171be[_0x1f91fb(0x1b4)]||!_0x14adc4[_0x1f91fb(0x190)](_0x3ff827))return;0x1===_0x14adc4[_0x1f91fb(0x205)](_0x3ff827)[_0x1f91fb(0x1b4)]&&_0x4dab01[_0x1f91fb(0x1bc)][_0x1f91fb(0x207)]({'isUndoable':!0x1},_0x58173e=>{const _0x5f5cd8=_0x1f91fb;for(const _0x48b308 of _0x8171be)_0x58173e[_0x5f5cd8(0x20a)](_0x48b308,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x55ee89(0x1cb)}),this[_0x55ee89(0x218)](),this[_0x55ee89(0x1b3)]();}[_0xf858cf(0x1f8)](){const _0x4c8674=_0xf858cf,_0x179a12=this[_0x4c8674(0x212)][_0x4c8674(0x21c)][_0x4c8674(0x21a)](_0x5742ca),_0x553693=this[_0x4c8674(0x212)][_0x4c8674(0x1ab)][_0x4c8674(0x21a)](_0x4c8674(0x213));for(const _0x230bb8 of _0x179a12[_0x4c8674(0x1ef)]({'channelId':_0x553693}))_0x179a12[_0x4c8674(0x1a2)](_0x230bb8['id']),_0x179a12[_0x4c8674(0x1a3)][_0x4c8674(0x194)](_0x230bb8['id']);super[_0x4c8674(0x1f8)]();}[_0xf858cf(0x19c)](_0x13d58e){const _0x50e872=_0xf858cf;return this[_0x50e872(0x1d4)](_0x13d58e)[_0x50e872(0x1b4)]>0x0;}[_0xf858cf(0x1d4)](_0x2f4732){const _0xa1ea2a=_0xf858cf,_0xc20268=[];for(const _0x5cec0d of this[_0xa1ea2a(0x212)][_0xa1ea2a(0x1bc)][_0xa1ea2a(0x1dc)])_0x5cec0d[_0xa1ea2a(0x1b6)][_0xa1ea2a(0x1b2)](_0xa1ea2a(0x1de)+_0x2f4732)&&_0xc20268[_0xa1ea2a(0x195)](_0x5cec0d);return _0xc20268;}[_0xf858cf(0x1aa)](_0x3bb345){const _0x446026=_0xf858cf,_0x2548bf=this[_0x446026(0x204)](_0x3bb345);_0x2548bf&&setTimeout(()=>{const _0x576ae3=_0x446026;this[_0x576ae3(0x1dd)]&&it(this[_0x576ae3(0x1dd)])['id']===_0x3bb345&&_0x23574a({'target':_0x2548bf[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xf858cf(0x1d7)](_0x495f8e){const _0x3b3aab=_0xf858cf;this[_0x3b3aab(0x212)][_0x3b3aab(0x1bc)][_0x3b3aab(0x1a7)](()=>{const _0x387c2f=_0x3b3aab;for(const _0x2bb5f5 of this[_0x387c2f(0x1d4)](_0x495f8e))this[_0x387c2f(0x212)][_0x387c2f(0x189)][_0x387c2f(0x198)](_0x2bb5f5);});}[_0xf858cf(0x1a1)](_0x2fd58d){const _0x31fd51=_0xf858cf,_0x2baacb=this[_0x31fd51(0x212)][_0x31fd51(0x21c)][_0x31fd51(0x21a)](_0x5742ca),_0x40c98f=this[_0x31fd51(0x212)][_0x31fd51(0x21c)][_0x31fd51(0x21a)](_0x503caa),_0x1cc6ed=_0x2baacb[_0x31fd51(0x205)](_0x2fd58d);if(!_0x1cc6ed[_0x31fd51(0x1e1)]){const _0x136fac=_0x1cc6ed[_0x31fd51(0x1c8)](()=>this[_0x31fd51(0x204)](_0x1cc6ed['id']));_0x40c98f[_0x31fd51(0x1d2)](_0x136fac),_0x1cc6ed[_0x31fd51(0x20d)]=!0x1;}}[_0xf858cf(0x218)](){const _0xadbdd1=_0xf858cf,_0x1ffdd3=this[_0xadbdd1(0x212)];_0x1ffdd3[_0xadbdd1(0x20c)][_0xadbdd1(0x209)](_0xadbdd1(0x1ed))[_0xadbdd1(0x1c1)]({'model':_0xadbdd1(0x1fb),'view':(_0xe5fce7,_0x4166c5)=>{const _0x3b7ee5=_0xadbdd1,{id:_0x56fb31}=it(_0xe5fce7[_0x3b7ee5(0x202)]),_0x59cb12=_0x1ffdd3[_0x3b7ee5(0x21c)][_0x3b7ee5(0x21a)](_0x5742ca)[_0x3b7ee5(0x205)](_0x56fb31),_0x1d8842=this[_0x3b7ee5(0x1dd)]&&it(this[_0x3b7ee5(0x1dd)])['id']===_0x56fb31;if(_0x59cb12&&_0x59cb12[_0x3b7ee5(0x1fe)]&&!_0x1d8842&&_0xe5fce7[_0x3b7ee5(0x1c2)])return _0x4166c5[_0x3b7ee5(0x200)][_0x3b7ee5(0x1a0)](_0xe5fce7[_0x3b7ee5(0x1c2)],_0x3b7ee5(0x19a)+_0xe5fce7[_0x3b7ee5(0x202)]),_0x4166c5[_0x3b7ee5(0x200)][_0x3b7ee5(0x1a0)](_0xe5fce7[_0x3b7ee5(0x1c2)],_0x3b7ee5(0x18b)+_0xe5fce7[_0x3b7ee5(0x202)]),null;const _0x36b619=[_0x3b7ee5(0x1fd)];return _0x1d8842&&_0x36b619[_0x3b7ee5(0x195)](_0x3b7ee5(0x197)),{'classes':_0x36b619,'attributes':{'data-comment':_0x56fb31}};}}),_0x1ffdd3[_0xadbdd1(0x20c)][_0xadbdd1(0x209)](_0xadbdd1(0x1b0))[_0xadbdd1(0x1f2)]({'model':_0xadbdd1(0x1fb),'view':(_0x210239,{options:_0x6ea7f4})=>{const _0x1af678=_0xadbdd1,_0x1dd07d=_0x1ffdd3[_0x1af678(0x21c)][_0x1af678(0x21a)](_0x5742ca),_0x4dcd8b=_0x1ffdd3[_0x1af678(0x1bc)][_0x1af678(0x1dc)][_0x1af678(0x21a)](_0x210239),{id:_0xa01cce,part:_0x225d57}=it(_0x210239);if(_0x4dcd8b&&!_0x4dcd8b[_0x1af678(0x199)])return null;if(_0x6ea7f4[_0x1af678(0x1e9)]){const _0xfc32c0=_0x1dd07d[_0x1af678(0x205)](_0xa01cce);if(_0xfc32c0&&_0xfc32c0[_0x1af678(0x1fe)])return null;}return{'group':_0x1af678(0x1fb),'name':_0x225d57?_0xa01cce+':'+_0x225d57:_0xa01cce};}}),_0x1ffdd3[_0xadbdd1(0x20c)][_0xadbdd1(0x209)](_0xadbdd1(0x1d9))[_0xadbdd1(0x1f7)]({'view':{'name':_0xadbdd1(0x1fb),'attributes':{'id':/^\w/}},'model':(_0x4be8c2,{writer:_0x96d563})=>_0x96d563[_0xadbdd1(0x19d)](_0xadbdd1(0x206),{'data-name':_0xadbdd1(0x1de)+_0x4be8c2[_0xadbdd1(0x1ca)]('id')})}),_0x1ffdd3[_0xadbdd1(0x20c)][_0xadbdd1(0x209)](_0xadbdd1(0x1d9))[_0xadbdd1(0x1e7)]({'view':_0xadbdd1(0x1fb)});}[_0xf858cf(0x1b3)](){const _0x20d20c=_0xf858cf,_0x200c80=this[_0x20d20c(0x212)],_0x59bb5b=_0x200c80[_0x20d20c(0x21c)][_0x20d20c(0x21a)](_0x5742ca),_0x1b69bb=new Set(),_0x27c6dc=new Set();_0x200c80[_0x20d20c(0x1bc)][_0x20d20c(0x1a5)][_0x20d20c(0x1d1)](_0x312319=>{const _0x3d380e=_0x20d20c;let _0x1199a4=!0x1;for(const {name:_0x47ec78,data:_0x3ff3bc}of _0x200c80[_0x3d380e(0x1bc)][_0x3d380e(0x1a5)][_0x3d380e(0x219)][_0x3d380e(0x1a6)]()){const {group:_0x2ee53e,id:_0x5a9c97}=it(_0x47ec78);let _0xd53c2d=_0x3ff3bc[_0x3d380e(0x1e0)];if(_0x3d380e(0x1fb)!==_0x2ee53e||!_0xd53c2d)continue;const _0x75f97a=_0x3d380e(0x1ce)===_0xd53c2d[_0x3d380e(0x1f5)][_0x3d380e(0x1bf)];_0x75f97a||(_0xd53c2d=st(_0xd53c2d,_0x200c80[_0x3d380e(0x1bc)]),!_0xd53c2d||_0xd53c2d[_0x3d380e(0x1cd)]||!_0x3ff3bc[_0x3d380e(0x1e0)]||_0xd53c2d[_0x3d380e(0x1eb)](_0x3ff3bc[_0x3d380e(0x1e0)]))?_0x200c80[_0x3d380e(0x1bc)][_0x3d380e(0x1be)](_0xd53c2d)&&!_0x75f97a?this[_0x3d380e(0x1a9)]?_0x1b69bb[_0x3d380e(0x1c6)](_0x47ec78):this[_0x3d380e(0x1ff)](_0x47ec78,_0x5a9c97):(_0x27c6dc[_0x3d380e(0x1c6)](_0x47ec78),_0x1b69bb[_0x3d380e(0x194)](_0x47ec78),_0x312319[_0x3d380e(0x208)](_0x47ec78),_0x1199a4=!0x0):(_0x312319[_0x3d380e(0x20a)](_0x47ec78,{'range':_0xd53c2d}),_0x1199a4=!0x0);}return _0x1199a4;}),this['on'](_0x20d20c(0x1d8),(_0x108b76,_0x4caaf3,_0x20b4fc)=>{const _0x3dac87=_0x20d20c;if(!_0x20b4fc&&_0x1b69bb[_0x3dac87(0x1e5)])for(const _0x374336 of _0x1b69bb){const {id:_0x5e6b11}=it(_0x374336);_0x1b69bb[_0x3dac87(0x194)](_0x374336),_0x200c80[_0x3dac87(0x1bc)][_0x3dac87(0x1dc)][_0x3dac87(0x21a)](_0x374336)&&this[_0x3dac87(0x1ff)](_0x374336,_0x5e6b11);}}),this[_0x20d20c(0x18e)](_0x200c80[_0x20d20c(0x1bc)][_0x20d20c(0x1a5)],_0x20d20c(0x1a7),(_0x376c5d,_0x41f39a)=>{const _0x805333=_0x20d20c;for(const {name:_0x4672b3,data:{newRange:_0x511e71}}of _0x200c80[_0x805333(0x1bc)][_0x805333(0x1a5)][_0x805333(0x219)][_0x805333(0x1a6)]()){const {group:_0x304d7e,id:_0x3880b9}=it(_0x4672b3);if(_0x805333(0x1fb)!==_0x304d7e)continue;const _0x50273f=_0x59bb5b[_0x805333(0x205)](_0x3880b9),_0x3ba508=this[_0x805333(0x19c)](_0x3880b9);_0x50273f&&(_0x50273f[_0x805333(0x20d)]||_0x200c80[_0x805333(0x189)][_0x805333(0x1f3)][_0x805333(0x1c7)](_0x805333(0x187),()=>{const _0x1d9a52=_0x805333,_0x445a8c=_0x200c80[_0x1d9a52(0x21c)][_0x1d9a52(0x21a)](_0x7f7989),_0x2515e9=_0x59bb5b[_0x1d9a52(0x1cc)][_0x1d9a52(0x21a)](_0x50273f)[_0x1d9a52(0x1f3)];_0x445a8c[_0x1d9a52(0x1fa)](_0x2515e9)[_0x1d9a52(0x1fc)]();},{'priority':_0x805333(0x1cb)}),_0x50273f[_0x805333(0x20d)]=_0x3ba508||!!_0x511e71),_0x511e71||(_0x27c6dc[_0x805333(0x1c6)](_0x4672b3),_0x1b69bb[_0x805333(0x194)](_0x4672b3));}if(_0x41f39a[_0x805333(0x1b9)])for(const _0x47ea52 of _0x27c6dc){const {id:_0x197af2}=it(_0x47ea52),_0x1e8ed1=_0x59bb5b[_0x805333(0x205)](_0x197af2),_0x388ccb=this[_0x805333(0x19c)](_0x197af2);_0x1b69bb[_0x805333(0x194)](_0x47ea52),!_0x1e8ed1||_0x388ccb||_0x1e8ed1[_0x805333(0x1ad)]||_0x1e8ed1[_0x805333(0x1d3)](new Date());}_0x27c6dc[_0x805333(0x1da)]();});}[_0xf858cf(0x204)](_0x1d9650){const _0x2a1c64=_0xf858cf,_0x49ac59=this[_0x2a1c64(0x212)],_0x3de93f=this[_0x2a1c64(0x1d4)](_0x1d9650);return _0x59d367(_0x49ac59[_0x2a1c64(0x189)],_0x3de93f);}[_0xf858cf(0x1cf)](_0x155ce2){const _0x5102d0=_0xf858cf,_0x4556b3=this[_0x5102d0(0x1d4)](_0x155ce2);let _0x4de2b1='',_0x44bb02=!0x1;for(const _0x58fc02 of _0x4556b3){const _0x2d1665=_0x58fc02[_0x5102d0(0x1f1)]();for(const _0x212267 of Array[_0x5102d0(0x1e2)](_0x2d1665[_0x5102d0(0x1d6)]()))_0x212267['is'](_0x5102d0(0x210))?(_0x4de2b1&&_0x44bb02&&(_0x4de2b1+='\x20',_0x44bb02=!0x1),_0x4de2b1+=_0x212267[_0x5102d0(0x1ae)]):_0x44bb02=!0x0;_0x44bb02=!0x0;}return _0x4de2b1[_0x5102d0(0x18d)](0x0,0x96);}[_0xf858cf(0x1e3)](_0x20c0eb,_0x11e03c){const _0x437e49=_0xf858cf,_0x553973=this[_0x437e49(0x212)],_0x693da6=_0x553973[_0x437e49(0x21c)][_0x437e49(0x21a)](_0x5742ca);let _0x21ce30=_0x693da6[_0x437e49(0x205)](_0x11e03c);const _0x135a5e=_0x553973[_0x437e49(0x1ab)][_0x437e49(0x21a)](_0x437e49(0x213)),_0x44f1af=_0x553973[_0x437e49(0x21c)][_0x437e49(0x21a)](_0x503caa);if(_0x21ce30&&(_0x21ce30[_0x437e49(0x1ad)]&&_0x21ce30[_0x437e49(0x1d3)](null),_0x21ce30[_0x437e49(0x1e1)]))return _0x21ce30;return!this[_0x437e49(0x1d4)](_0x11e03c)[0x0][_0x437e49(0x1df)]?_0x553973[_0x437e49(0x189)][_0x437e49(0x1f3)][_0x437e49(0x1c7)](_0x437e49(0x187),()=>{const _0x1f9e42=_0x437e49;if(_0x693da6[_0x1f9e42(0x205)](_0x11e03c))return;const _0x2b555a=_0x553973[_0x1f9e42(0x21c)][_0x1f9e42(0x21a)](_0x7f7989);_0x21ce30=_0x693da6[_0x1f9e42(0x203)]({'channelId':_0x135a5e,'threadId':_0x11e03c,'target':()=>this[_0x1f9e42(0x204)](_0x11e03c),'context':{'type':_0x1f9e42(0x1bb),'value':this[_0x1f9e42(0x1cf)](_0x11e03c)}});const _0x269bdb=_0x693da6[_0x1f9e42(0x1cc)][_0x1f9e42(0x21a)](_0x21ce30)[_0x1f9e42(0x1f3)],_0x58adad=_0x2b555a[_0x1f9e42(0x1fa)](_0x269bdb);_0x58adad&&_0x44f1af[_0x1f9e42(0x1d2)](_0x58adad);},{'priority':_0x437e49(0x1cb)}):_0x693da6[_0x437e49(0x1e4)]({'channelId':_0x135a5e,'threadId':_0x11e03c})[_0x437e49(0x1d0)](_0x11a7ea=>{const _0x219795=_0x437e49;if(_0x219795(0x196)!==_0x553973[_0x219795(0x1c4)]){if(_0x21ce30=_0x11a7ea,_0x21ce30&&!_0x21ce30[_0x219795(0x1e1)]){const _0x498049=_0x21ce30[_0x219795(0x1c8)](()=>this[_0x219795(0x204)](_0x11e03c));_0x44f1af[_0x219795(0x1d2)](_0x498049),_0x21ce30[_0x219795(0x1fe)]&&this[_0x219795(0x1d7)](_0x11e03c);}else{if(!_0x21ce30){const _0x15639b=this[_0x219795(0x1d4)](_0x11e03c);_0x553973[_0x219795(0x1bc)][_0x219795(0x1a7)](_0x548d80=>{const _0x51b4a0=_0x219795;for(const _0x1415c2 of _0x15639b)_0x548d80[_0x51b4a0(0x208)](_0x1415c2);});}}}}),_0x21ce30;}[_0xf858cf(0x1ff)](_0x5b67b7,_0x519b44){const _0x29c896=_0xf858cf,_0x2d0ca1=this[_0x29c896(0x1e3)](_0x5b67b7,_0x519b44);_0x2d0ca1&&!_0x2d0ca1[_0x29c896(0x1ec)]&&_0x2d0ca1[_0x29c896(0x192)]({'type':_0x29c896(0x1bb),'value':this[_0x29c896(0x1cf)](_0x519b44)});}[_0xf858cf(0x19f)](){const _0x4f463b=_0xf858cf,_0x287c79=this[_0x4f463b(0x212)];_0x42d06d(_0x287c79[_0x4f463b(0x1bc)],({left:_0x33b3f7,entered:_0x426c00})=>{const _0x1b4db2=_0x4f463b;for(const _0x473190 of _0x33b3f7)if(at(_0x473190)){_0x287c79['ui'][_0x1b4db2(0x20b)][_0x1b4db2(0x19b)](_0x23039d(_0x287c79[_0x1b4db2(0x1f0)],_0x1b4db2(0x1c3)));break;}for(const _0x1dbc53 of _0x426c00)if(at(_0x1dbc53)){_0x287c79['ui'][_0x1b4db2(0x20b)][_0x1b4db2(0x19b)](_0x23039d(_0x287c79[_0x1b4db2(0x1f0)],_0x1b4db2(0x1c9)));break;}});}}function nt(_0x46f82d,_0x5f1afd){return _0x5f1afd?_0x46f82d+':'+_0x5f1afd:_0x46f82d;}function it(_0x355ccb){const _0x200a80=_0xf858cf,_0x5b04d2=_0x355ccb[_0x200a80(0x1c5)](':');return{'group':_0x5b04d2[0x0],'id':_0x5b04d2[0x1],'part':_0x5b04d2[0x2]};}function st(_0x248eac,_0x5c38a9){const _0x3f6a75=_0xf858cf,_0x2ecd0f=_0x5c38a9[_0x3f6a75(0x1b1)],_0x39f0ee=_0x5c38a9[_0x3f6a75(0x20e)](_0x248eac[_0x3f6a75(0x1ea)]);for(const _0x588a19 of _0x248eac[_0x3f6a75(0x216)]()){const {type:_0x166adc,item:_0x241a5e,nextPosition:_0x3e65d8}=_0x588a19;if(_0x3f6a75(0x1bb)===_0x166adc||_0x2ecd0f[_0x3f6a75(0x191)](_0x241a5e)){const _0x3278cb=_0x5c38a9[_0x3f6a75(0x1f4)](_0x241a5e);_0x39f0ee[_0x3f6a75(0x1cd)]&&(_0x39f0ee[_0x3f6a75(0x1ea)]=_0x3278cb),_0x39f0ee[_0x3f6a75(0x20f)]=_0x3e65d8;}}return _0x39f0ee;}function at(_0x164430){const _0x37feab=_0xf858cf;return _0x37feab(0x1fb)===it(_0x164430[_0x37feab(0x1b6)])[_0x37feab(0x21b)];}