@ckeditor/ckeditor5-comments 42.0.0-alpha.16 → 42.0.0-alpha.18

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 _0x4d925c=_0x2220;function _0x2220(_0x5d0aff,_0x532a42){const _0xb8dcd1=_0xb8dc();return _0x2220=function(_0x22209a,_0x54b65c){_0x22209a=_0x22209a-0x14c;let _0x341ac7=_0xb8dcd1[_0x22209a];return _0x341ac7;},_0x2220(_0x5d0aff,_0x532a42);}(function(_0x439bbb,_0x76f45b){const _0x360b03=_0x2220,_0x4d64b1=_0x439bbb();while(!![]){try{const _0x120db8=parseInt(_0x360b03(0x14c))/0x1*(parseInt(_0x360b03(0x197))/0x2)+-parseInt(_0x360b03(0x1ba))/0x3+-parseInt(_0x360b03(0x164))/0x4*(parseInt(_0x360b03(0x171))/0x5)+parseInt(_0x360b03(0x14e))/0x6*(-parseInt(_0x360b03(0x174))/0x7)+-parseInt(_0x360b03(0x17c))/0x8+-parseInt(_0x360b03(0x18d))/0x9+-parseInt(_0x360b03(0x178))/0xa*(-parseInt(_0x360b03(0x19d))/0xb);if(_0x120db8===_0x76f45b)break;else _0x4d64b1['push'](_0x4d64b1['shift']());}catch(_0x12b8f2){_0x4d64b1['push'](_0x4d64b1['shift']());}}}(_0xb8dc,0xe8639));import{Plugin as _0x10d7ac}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2a96b1}from'ckeditor5/src/utils.js';import _0x56fdf4 from'./commentsrepository.js';function _0xb8dc(){const _0x56cf50=['item','7UByUVl','_attachMarkerToThread','change:activeMarker','for','2730xNvRLB','editing','get','getRange','5086448HOCkue','dataDowncast','requires','getWalker','split','document','hasCommentThread','fetchCommentThread','CommentsEditing','removeMarker:','collaboration.channelId','ck-comment-marker--active','destroyed','markerToData','isObject','refreshVisibility','_detachCommentThread','2108538xjoRwi','_threadToController','isCollapsed','addComment','change','ck-comment-marker','rootName','locale','start','LEAVE_COMMENT_ANNOUNCEMENT','695886bUxkfu','_handleMarkerAddAndRemove','registerAnnotation','group','differ','name','201179ILmTTL','enqueueChange','getItems','context','isAttached','ENTER_COMMENT_ANNOUNCEMENT','schema','ignoreResolvedComments','removeMarker','getByInnerView','from','dataToMarker','updateMarker','end','low','init','removeCommentThread','getChangedMarkers','focus','getCommentThread','registerPostFixer','getCommentThreads','getAllMarkersForId','$textProxy','comment','change:isReadOnly','view','isEqual','scrollToThreadMarker','4798098tTVKQk','reconvertMarker','comment:','newRange','text','isResolved','hasContent','$graveyard','then','plugins','_hasTargetInContent','set','markerName','_attachArchivedThread','ready','listenTo','consumable','push','switchReadOnly','resolveCommentThread','conversion','size','_getTextContext','setUnlinkedAt','delete','destroy','managedUsingOperations','consume','createElement','model','markers','_initAriaMarkerChangeAnnouncements','editingDowncast','ariaLiveAnnouncer','_getTargetForId','startsWith','attachTo','config','state','$marker','1cUWFes','length','4894638AOAQSN','announce','once','add','pluginName','hasDomSelection','getAttribute','isThreadsLoadingPaused','setContext','_handleThreadMarker','clear','hasMarkerForId','reopenCommentThread','markerToHighlight','change:isThreadsLoadingPaused','_reconvertMarkers','substring','_initializeMarkerConverters','isLocal','createRange','elementToElement','editor','46968SpSvWL','root','unlinkedAt','commands','openNewCommentThread','data','addCommentThread','affectsData','render','addMarker:','createPositionBefore','_threads','activeMarker','470OlCRjF','upcast'];_0xb8dc=function(){return _0x56cf50;};return _0xb8dc();}import _0x545138 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x9b70b0,getAllMarkersDomElementsSorted as _0x5350bc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1cfaea from'../annotations/editorannotations.js';import _0xcc48e8 from'./integrations/commentsrestrictededitingmode.js';import _0x2d78c7 from'./integrations/importword.js';import _0x271fc4 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x11f9d3 from'../annotations/annotations.js';import{getTranslation as _0x5afb77}from'../utils/common-translations.js';export default class r extends _0x10d7ac{static get[_0x4d925c(0x17e)](){return[_0x56fdf4,_0x1cfaea,_0xcc48e8,_0x2d78c7,_0x271fc4];}static get[_0x4d925c(0x152)](){const _0x58a0f4=_0x4d925c;return _0x58a0f4(0x184);}constructor(_0x21e46e){const _0x498f74=_0x4d925c;super(_0x21e46e),this[_0x498f74(0x1c5)](_0x498f74(0x155),!0x0),_0x21e46e[_0x498f74(0x169)][_0x498f74(0x150)](_0x498f74(0x1c8),()=>this[_0x498f74(0x155)]=!0x1),this[_0x498f74(0x1c5)](_0x498f74(0x170),null),this['on'](_0x498f74(0x176),(_0x221cee,_0x3d5ba9,_0x50aaf5,_0x2848c6)=>{const _0x274b26=_0x498f74,_0x1789c1=_0x50aaf5?it(_0x50aaf5)['id']:null;if(_0x21e46e[_0x274b26(0x1d7)][_0x274b26(0x191)](()=>{const _0x45687f=_0x274b26;if(_0x1789c1){const _0x2ddaa1=this[_0x45687f(0x1b3)](_0x1789c1);for(const _0x265fd1 of _0x2ddaa1)_0x21e46e[_0x45687f(0x179)][_0x45687f(0x1bb)](_0x265fd1);}if(_0x2848c6){const {id:_0x1be35c}=it(_0x2848c6),_0x5a003d=this[_0x45687f(0x1b3)](_0x1be35c);for(const _0x2d60cb of _0x5a003d)_0x21e46e[_0x45687f(0x179)][_0x45687f(0x1bb)](_0x2d60cb);}}),_0x1789c1){const _0x5446c8=_0x21e46e[_0x274b26(0x1c3)][_0x274b26(0x17a)](_0x56fdf4)[_0x274b26(0x1b0)](_0x1789c1);_0x5446c8&&_0x5446c8[_0x274b26(0x1bf)]&&this[_0x274b26(0x1b9)](_0x1789c1);}}),this[_0x498f74(0x1d9)]();}[_0x4d925c(0x1ac)](){const _0x13f4a8=_0x4d925c,_0x427464=this[_0x13f4a8(0x163)],_0x2e2e26=_0x427464[_0x13f4a8(0x1c3)][_0x13f4a8(0x17a)](_0x56fdf4),_0x2b2f76=_0x427464[_0x13f4a8(0x1df)][_0x13f4a8(0x17a)](_0x13f4a8(0x186));_0x427464[_0x13f4a8(0x167)][_0x13f4a8(0x151)](_0x13f4a8(0x16a),new _0x545138(_0x427464)),this[_0x13f4a8(0x1c9)](_0x427464,_0x13f4a8(0x1b6),(_0x339f8c,_0x13370d,_0x1b7324)=>{const _0x1e3442=_0x13f4a8;_0x2e2e26[_0x1e3442(0x1cc)](_0x1b7324,_0x427464[_0x1e3442(0x1df)][_0x1e3442(0x17a)](_0x1e3442(0x186)));}),this[_0x13f4a8(0x1c9)](_0x2e2e26,nt(_0x13f4a8(0x16a),_0x2b2f76),(_0xafdd76,{threadId:_0x218b9c})=>{const _0x317fa1=_0x13f4a8,_0x554363=this[_0x317fa1(0x163)][_0x317fa1(0x1c3)][_0x317fa1(0x17a)](_0x56fdf4)[_0x317fa1(0x1b0)](_0x218b9c);_0x554363&&_0x554363[_0x317fa1(0x166)]&&this[_0x317fa1(0x1c7)](_0x218b9c);}),this[_0x13f4a8(0x1c9)](_0x2e2e26,nt(_0x13f4a8(0x1ad),_0x2b2f76),(_0x3c2a48,{threadId:_0x371b48})=>{const _0x1a8e4d=_0x13f4a8;_0x427464[_0x1a8e4d(0x1d7)][_0x1a8e4d(0x19e)]({'isUndoable':!0x1},_0x4b3f49=>{const _0x1b9e42=_0x1a8e4d,_0x4f86d7=this[_0x1b9e42(0x1b3)](_0x371b48);for(const _0x2ba554 of _0x4f86d7)_0x4b3f49[_0x1b9e42(0x1a5)](_0x2ba554);});}),this[_0x13f4a8(0x1c9)](_0x2e2e26,nt(_0x13f4a8(0x1cd),_0x2b2f76),(_0x5b5dba,{threadId:_0xa87948})=>{const _0x5b1b4=_0x13f4a8;(this[_0x5b1b4(0x15d)](_0xa87948),this[_0x5b1b4(0x163)][_0x5b1b4(0x179)][_0x5b1b4(0x1b7)][_0x5b1b4(0x153)])&&(this[_0x5b1b4(0x163)][_0x5b1b4(0x1c3)][_0x5b1b4(0x17a)](_0x56fdf4)[_0x5b1b4(0x1b0)](_0xa87948)[_0x5b1b4(0x166)]||this[_0x5b1b4(0x163)][_0x5b1b4(0x179)][_0x5b1b4(0x1b7)][_0x5b1b4(0x1af)]());},{'priority':_0x13f4a8(0x1ab)}),this[_0x13f4a8(0x1c9)](_0x2e2e26,nt(_0x13f4a8(0x15a),_0x2b2f76),(_0x4a3d14,{threadId:_0xdcdb1d})=>{const _0x62d40d=_0x13f4a8;this[_0x62d40d(0x15d)](_0xdcdb1d);},{'priority':_0x13f4a8(0x1ab)}),this[_0x13f4a8(0x1c9)](_0x2e2e26,nt(_0x13f4a8(0x190),_0x2b2f76),(_0x5c413a,{threadId:_0x1cabe0,isFromAdapter:_0xc20953})=>{const _0x4ee592=_0x13f4a8,_0x103dfc=this[_0x4ee592(0x1b3)](_0x1cabe0);if(_0xc20953||0x0==_0x103dfc[_0x4ee592(0x14d)]||!_0x2e2e26[_0x4ee592(0x182)](_0x1cabe0))return;0x1===_0x2e2e26[_0x4ee592(0x1b0)](_0x1cabe0)[_0x4ee592(0x14d)]&&_0x427464[_0x4ee592(0x1d7)][_0x4ee592(0x19e)]({'isUndoable':!0x1},_0x562924=>{const _0x18bc61=_0x4ee592;for(const _0x46e935 of _0x103dfc)_0x562924[_0x18bc61(0x1a9)](_0x46e935,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x13f4a8(0x1ab)}),this[_0x13f4a8(0x15f)](),this[_0x13f4a8(0x198)]();}[_0x4d925c(0x1d3)](){const _0x5bd657=_0x4d925c,_0x431f88=this[_0x5bd657(0x163)][_0x5bd657(0x1c3)][_0x5bd657(0x17a)](_0x56fdf4),_0x456002=this[_0x5bd657(0x163)][_0x5bd657(0x1df)][_0x5bd657(0x17a)](_0x5bd657(0x186));for(const _0x510f6a of _0x431f88[_0x5bd657(0x1b2)]({'channelId':_0x456002}))_0x431f88[_0x5bd657(0x18c)](_0x510f6a['id']),_0x431f88[_0x5bd657(0x16f)][_0x5bd657(0x1d2)](_0x510f6a['id']);super[_0x5bd657(0x1d3)]();}[_0x4d925c(0x159)](_0x18ed4e){const _0x4828c3=_0x4d925c;return this[_0x4828c3(0x1b3)](_0x18ed4e)[_0x4828c3(0x14d)]>0x0;}[_0x4d925c(0x1b3)](_0x4c47af){const _0x3c0da9=_0x4d925c,_0x51fac6=[];for(const _0xda5bc3 of this[_0x3c0da9(0x163)][_0x3c0da9(0x1d7)][_0x3c0da9(0x1d8)])_0xda5bc3[_0x3c0da9(0x19c)][_0x3c0da9(0x1dd)](_0x3c0da9(0x1bc)+_0x4c47af)&&_0x51fac6[_0x3c0da9(0x1cb)](_0xda5bc3);return _0x51fac6;}[_0x4d925c(0x1b9)](_0x5e8c87){const _0x2a00e5=_0x4d925c,_0x5158c7=this[_0x2a00e5(0x1dc)](_0x5e8c87);_0x5158c7&&setTimeout(()=>{const _0xd5a612=_0x2a00e5;this[_0xd5a612(0x170)]&&it(this[_0xd5a612(0x170)])['id']===_0x5e8c87&&_0x2a96b1({'target':_0x5158c7[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x4d925c(0x15d)](_0x3af4ae){const _0x2700f1=_0x4d925c;this[_0x2700f1(0x163)][_0x2700f1(0x1d7)][_0x2700f1(0x191)](()=>{const _0x467086=_0x2700f1;for(const _0x1b78f0 of this[_0x467086(0x1b3)](_0x3af4ae))this[_0x467086(0x163)][_0x467086(0x179)][_0x467086(0x1bb)](_0x1b78f0);});}[_0x4d925c(0x1c7)](_0x4a2f58){const _0x59c49a=_0x4d925c,_0x2a0a8e=this[_0x59c49a(0x163)][_0x59c49a(0x1c3)][_0x59c49a(0x17a)](_0x56fdf4),_0x3e2ca8=this[_0x59c49a(0x163)][_0x59c49a(0x1c3)][_0x59c49a(0x17a)](_0x1cfaea),_0x5a925b=_0x2a0a8e[_0x59c49a(0x1b0)](_0x4a2f58);if(!_0x5a925b[_0x59c49a(0x1a1)]){const _0x55e2dd=_0x5a925b[_0x59c49a(0x1de)](()=>this[_0x59c49a(0x1dc)](_0x5a925b['id']));_0x3e2ca8[_0x59c49a(0x199)](_0x55e2dd),_0x5a925b[_0x59c49a(0x1c4)]=!0x1;}}[_0x4d925c(0x15f)](){const _0xc4331c=_0x4d925c,_0x5bd02e=this[_0xc4331c(0x163)];_0x5bd02e[_0xc4331c(0x1ce)][_0xc4331c(0x177)](_0xc4331c(0x1da))[_0xc4331c(0x15b)]({'model':_0xc4331c(0x1b5),'view':(_0x38a832,_0x22ef35)=>{const _0x5b33a0=_0xc4331c,{id:_0x1a9a46}=it(_0x38a832[_0x5b33a0(0x1c6)]),_0x4a933a=_0x5bd02e[_0x5b33a0(0x1c3)][_0x5b33a0(0x17a)](_0x56fdf4)[_0x5b33a0(0x1b0)](_0x1a9a46),_0x470782=this[_0x5b33a0(0x170)]&&it(this[_0x5b33a0(0x170)])['id']===_0x1a9a46;if(_0x4a933a&&_0x4a933a[_0x5b33a0(0x1bf)]&&!_0x470782&&_0x38a832[_0x5b33a0(0x173)])return _0x22ef35[_0x5b33a0(0x1ca)][_0x5b33a0(0x1d5)](_0x38a832[_0x5b33a0(0x173)],_0x5b33a0(0x16d)+_0x38a832[_0x5b33a0(0x1c6)]),_0x22ef35[_0x5b33a0(0x1ca)][_0x5b33a0(0x1d5)](_0x38a832[_0x5b33a0(0x173)],_0x5b33a0(0x185)+_0x38a832[_0x5b33a0(0x1c6)]),null;const _0x33a3df=[_0x5b33a0(0x192)];return _0x470782&&_0x33a3df[_0x5b33a0(0x1cb)](_0x5b33a0(0x187)),{'classes':_0x33a3df,'attributes':{'data-comment':_0x1a9a46}};}}),_0x5bd02e[_0xc4331c(0x1ce)][_0xc4331c(0x177)](_0xc4331c(0x17d))[_0xc4331c(0x189)]({'model':_0xc4331c(0x1b5),'view':(_0x50b46d,{options:_0x1f844c})=>{const _0x1e080e=_0xc4331c,_0x547f30=_0x5bd02e[_0x1e080e(0x1c3)][_0x1e080e(0x17a)](_0x56fdf4),_0x49e26f=_0x5bd02e[_0x1e080e(0x1d7)][_0x1e080e(0x1d8)][_0x1e080e(0x17a)](_0x50b46d),{id:_0x14a25d,part:_0x36cf31}=it(_0x50b46d);if(_0x49e26f&&!_0x49e26f[_0x1e080e(0x16b)])return null;if(_0x1f844c[_0x1e080e(0x1a4)]){const _0x1cc2e5=_0x547f30[_0x1e080e(0x1b0)](_0x14a25d);if(_0x1cc2e5&&_0x1cc2e5[_0x1e080e(0x1bf)])return null;}return{'group':_0x1e080e(0x1b5),'name':_0x36cf31?_0x14a25d+':'+_0x36cf31:_0x14a25d};}}),_0x5bd02e[_0xc4331c(0x1ce)][_0xc4331c(0x177)](_0xc4331c(0x172))[_0xc4331c(0x162)]({'view':{'name':_0xc4331c(0x1b5),'attributes':{'id':/^\w/}},'model':(_0x17bdc9,{writer:_0x51ed65})=>_0x51ed65[_0xc4331c(0x1d6)](_0xc4331c(0x1e1),{'data-name':_0xc4331c(0x1bc)+_0x17bdc9[_0xc4331c(0x154)]('id')})}),_0x5bd02e[_0xc4331c(0x1ce)][_0xc4331c(0x177)](_0xc4331c(0x172))[_0xc4331c(0x1a8)]({'view':_0xc4331c(0x1b5)});}[_0x4d925c(0x198)](){const _0x165525=_0x4d925c,_0x37d04a=this[_0x165525(0x163)],_0x11ff7c=_0x37d04a[_0x165525(0x1c3)][_0x165525(0x17a)](_0x56fdf4),_0x2228eb=new Set(),_0x4c8276=new Set();_0x37d04a[_0x165525(0x1d7)][_0x165525(0x181)][_0x165525(0x1b1)](_0x423430=>{const _0x2c23e6=_0x165525;let _0x4a8f99=!0x1;for(const {name:_0xf91c0a,data:_0x1cee4b}of _0x37d04a[_0x2c23e6(0x1d7)][_0x2c23e6(0x181)][_0x2c23e6(0x19b)][_0x2c23e6(0x1ae)]()){const {group:_0x39d74e,id:_0x2a7ad0}=it(_0xf91c0a);let _0x2726be=_0x1cee4b[_0x2c23e6(0x1bd)];if(_0x2c23e6(0x1b5)!==_0x39d74e||!_0x2726be)continue;const _0x3e2bb8=_0x2c23e6(0x1c1)===_0x2726be[_0x2c23e6(0x165)][_0x2c23e6(0x193)];_0x3e2bb8||(_0x2726be=st(_0x2726be,_0x37d04a[_0x2c23e6(0x1d7)]),!_0x2726be||_0x2726be[_0x2c23e6(0x18f)]||!_0x1cee4b[_0x2c23e6(0x1bd)]||_0x2726be[_0x2c23e6(0x1b8)](_0x1cee4b[_0x2c23e6(0x1bd)]))?_0x37d04a[_0x2c23e6(0x1d7)][_0x2c23e6(0x1c0)](_0x2726be)&&!_0x3e2bb8?this[_0x2c23e6(0x155)]?_0x2228eb[_0x2c23e6(0x151)](_0xf91c0a):this[_0x2c23e6(0x157)](_0xf91c0a,_0x2a7ad0):(_0x4c8276[_0x2c23e6(0x151)](_0xf91c0a),_0x2228eb[_0x2c23e6(0x1d2)](_0xf91c0a),_0x423430[_0x2c23e6(0x1a5)](_0xf91c0a),_0x4a8f99=!0x0):(_0x423430[_0x2c23e6(0x1a9)](_0xf91c0a,{'range':_0x2726be}),_0x4a8f99=!0x0);}return _0x4a8f99;}),this['on'](_0x165525(0x15c),(_0x5924a7,_0x3ed504,_0x381f67)=>{const _0x2b4aef=_0x165525;if(!_0x381f67&&_0x2228eb[_0x2b4aef(0x1cf)])for(const _0x299a33 of _0x2228eb){const {id:_0x5ee48e}=it(_0x299a33);_0x2228eb[_0x2b4aef(0x1d2)](_0x299a33),_0x37d04a[_0x2b4aef(0x1d7)][_0x2b4aef(0x1d8)][_0x2b4aef(0x17a)](_0x299a33)&&this[_0x2b4aef(0x157)](_0x299a33,_0x5ee48e);}}),this[_0x165525(0x1c9)](_0x37d04a[_0x165525(0x1d7)][_0x165525(0x181)],_0x165525(0x191),(_0x5c4234,_0x39e524)=>{const _0x1cefa6=_0x165525;for(const {name:_0xb00dc6,data:{newRange:_0xd3e009}}of _0x37d04a[_0x1cefa6(0x1d7)][_0x1cefa6(0x181)][_0x1cefa6(0x19b)][_0x1cefa6(0x1ae)]()){const {group:_0x3eeedb,id:_0xb9a3f4}=it(_0xb00dc6);if(_0x1cefa6(0x1b5)!==_0x3eeedb)continue;const _0x274ed9=_0x11ff7c[_0x1cefa6(0x1b0)](_0xb9a3f4),_0xf0a82=this[_0x1cefa6(0x159)](_0xb9a3f4);_0x274ed9&&(_0x274ed9[_0x1cefa6(0x1c4)]||_0x37d04a[_0x1cefa6(0x179)][_0x1cefa6(0x1b7)][_0x1cefa6(0x150)](_0x1cefa6(0x16c),()=>{const _0x451171=_0x1cefa6,_0x31c9e5=_0x37d04a[_0x451171(0x1c3)][_0x451171(0x17a)](_0x11f9d3),_0x5d07f2=_0x11ff7c[_0x451171(0x18e)][_0x451171(0x17a)](_0x274ed9)[_0x451171(0x1b7)];_0x31c9e5[_0x451171(0x1a6)](_0x5d07f2)[_0x451171(0x18b)]();},{'priority':_0x1cefa6(0x1ab)}),_0x274ed9[_0x1cefa6(0x1c4)]=_0xf0a82||!!_0xd3e009),_0xd3e009||(_0x4c8276[_0x1cefa6(0x151)](_0xb00dc6),_0x2228eb[_0x1cefa6(0x1d2)](_0xb00dc6));}if(_0x39e524[_0x1cefa6(0x160)])for(const _0xbd7db5 of _0x4c8276){const {id:_0x57decb}=it(_0xbd7db5),_0x4cf017=_0x11ff7c[_0x1cefa6(0x1b0)](_0x57decb),_0x50ec3e=this[_0x1cefa6(0x159)](_0x57decb);_0x2228eb[_0x1cefa6(0x1d2)](_0xbd7db5),!_0x4cf017||_0x50ec3e||_0x4cf017[_0x1cefa6(0x166)]||_0x4cf017[_0x1cefa6(0x1d1)](new Date());}_0x4c8276[_0x1cefa6(0x158)]();});}[_0x4d925c(0x1dc)](_0x47cb46){const _0x50f487=_0x4d925c,_0x4ceeed=this[_0x50f487(0x163)],_0x28f866=this[_0x50f487(0x1b3)](_0x47cb46);return _0x5350bc(_0x4ceeed[_0x50f487(0x179)],_0x28f866);}[_0x4d925c(0x1d0)](_0x1106b7){const _0x182005=_0x4d925c,_0x146bfb=this[_0x182005(0x1b3)](_0x1106b7);let _0x1d9cf5='',_0x3ab98e=!0x1;for(const _0x594c0d of _0x146bfb){const _0x17eca0=_0x594c0d[_0x182005(0x17b)]();for(const _0x1f32ab of Array[_0x182005(0x1a7)](_0x17eca0[_0x182005(0x19f)]()))_0x1f32ab['is'](_0x182005(0x1b4))?(_0x1d9cf5&&_0x3ab98e&&(_0x1d9cf5+='\x20',_0x3ab98e=!0x1),_0x1d9cf5+=_0x1f32ab[_0x182005(0x169)]):_0x3ab98e=!0x0;_0x3ab98e=!0x0;}return _0x1d9cf5[_0x182005(0x15e)](0x0,0x96);}[_0x4d925c(0x175)](_0x2d0459,_0x432f7b){const _0x3972e7=_0x4d925c,_0x54c522=this[_0x3972e7(0x163)],_0x38f7e2=_0x54c522[_0x3972e7(0x1c3)][_0x3972e7(0x17a)](_0x56fdf4);let _0xc7d37b=_0x38f7e2[_0x3972e7(0x1b0)](_0x432f7b);const _0x56a474=_0x54c522[_0x3972e7(0x1df)][_0x3972e7(0x17a)](_0x3972e7(0x186)),_0x9b4c56=_0x54c522[_0x3972e7(0x1c3)][_0x3972e7(0x17a)](_0x1cfaea);if(_0xc7d37b&&(_0xc7d37b[_0x3972e7(0x166)]&&_0xc7d37b[_0x3972e7(0x1d1)](null),_0xc7d37b[_0x3972e7(0x1a1)]))return _0xc7d37b;return!this[_0x3972e7(0x1b3)](_0x432f7b)[0x0][_0x3972e7(0x1d4)]?_0x54c522[_0x3972e7(0x179)][_0x3972e7(0x1b7)][_0x3972e7(0x150)](_0x3972e7(0x16c),()=>{const _0x57596d=_0x3972e7;if(_0x38f7e2[_0x57596d(0x1b0)](_0x432f7b))return;const _0x569637=_0x54c522[_0x57596d(0x1c3)][_0x57596d(0x17a)](_0x11f9d3);_0xc7d37b=_0x38f7e2[_0x57596d(0x168)]({'channelId':_0x56a474,'threadId':_0x432f7b,'target':()=>this[_0x57596d(0x1dc)](_0x432f7b),'context':{'type':_0x57596d(0x1be),'value':this[_0x57596d(0x1d0)](_0x432f7b)}});const _0x1894e0=_0x38f7e2[_0x57596d(0x18e)][_0x57596d(0x17a)](_0xc7d37b)[_0x57596d(0x1b7)],_0x53113e=_0x569637[_0x57596d(0x1a6)](_0x1894e0);_0x53113e&&_0x9b4c56[_0x57596d(0x199)](_0x53113e);},{'priority':_0x3972e7(0x1ab)}):_0x38f7e2[_0x3972e7(0x183)]({'channelId':_0x56a474,'threadId':_0x432f7b})[_0x3972e7(0x1c2)](_0x244c80=>{const _0x4c7ed5=_0x3972e7;if(_0x4c7ed5(0x188)!==_0x54c522[_0x4c7ed5(0x1e0)]){if(_0xc7d37b=_0x244c80,_0xc7d37b&&!_0xc7d37b[_0x4c7ed5(0x1a1)]){const _0x4ffe62=_0xc7d37b[_0x4c7ed5(0x1de)](()=>this[_0x4c7ed5(0x1dc)](_0x432f7b));_0x9b4c56[_0x4c7ed5(0x199)](_0x4ffe62),_0xc7d37b[_0x4c7ed5(0x1bf)]&&this[_0x4c7ed5(0x15d)](_0x432f7b);}else{if(!_0xc7d37b){const _0x3b9562=this[_0x4c7ed5(0x1b3)](_0x432f7b);_0x54c522[_0x4c7ed5(0x1d7)][_0x4c7ed5(0x191)](_0x272ce0=>{const _0x22f314=_0x4c7ed5;for(const _0xe39f72 of _0x3b9562)_0x272ce0[_0x22f314(0x1a5)](_0xe39f72);});}}}}),_0xc7d37b;}[_0x4d925c(0x157)](_0x186ffd,_0x534463){const _0x3b6a76=_0x4d925c,_0x3792fe=this[_0x3b6a76(0x175)](_0x186ffd,_0x534463);_0x3792fe&&!_0x3792fe[_0x3b6a76(0x1a0)]&&_0x3792fe[_0x3b6a76(0x156)]({'type':_0x3b6a76(0x1be),'value':this[_0x3b6a76(0x1d0)](_0x534463)});}[_0x4d925c(0x1d9)](){const _0x4aa915=_0x4d925c,_0x59c918=this[_0x4aa915(0x163)];_0x9b70b0(_0x59c918[_0x4aa915(0x1d7)],({left:_0x5ee21f,entered:_0x3010f1})=>{const _0x16731b=_0x4aa915;for(const _0x2add16 of _0x5ee21f)if(at(_0x2add16)){_0x59c918['ui'][_0x16731b(0x1db)][_0x16731b(0x14f)](_0x5afb77(_0x59c918[_0x16731b(0x194)],_0x16731b(0x196)));break;}for(const _0x4cb4a4 of _0x3010f1)if(at(_0x4cb4a4)){_0x59c918['ui'][_0x16731b(0x1db)][_0x16731b(0x14f)](_0x5afb77(_0x59c918[_0x16731b(0x194)],_0x16731b(0x1a2)));break;}});}}function nt(_0x212de9,_0x513db8){return _0x513db8?_0x212de9+':'+_0x513db8:_0x212de9;}function it(_0x4245a3){const _0x18f47d=_0x4d925c,_0x2a634f=_0x4245a3[_0x18f47d(0x180)](':');return{'group':_0x2a634f[0x0],'id':_0x2a634f[0x1],'part':_0x2a634f[0x2]};}function st(_0x502c80,_0xdc6ad){const _0x5b9218=_0x4d925c,_0x257899=_0xdc6ad[_0x5b9218(0x1a3)],_0x125a25=_0xdc6ad[_0x5b9218(0x161)](_0x502c80[_0x5b9218(0x195)]);for(const _0x5ec02f of _0x502c80[_0x5b9218(0x17f)]()){const {type:_0x29adf1,item:_0x106571,nextPosition:_0x384924}=_0x5ec02f;if(_0x5b9218(0x1be)===_0x29adf1||_0x257899[_0x5b9218(0x18a)](_0x106571)){const _0x1504e2=_0xdc6ad[_0x5b9218(0x16e)](_0x106571);_0x125a25[_0x5b9218(0x18f)]&&(_0x125a25[_0x5b9218(0x195)]=_0x1504e2),_0x125a25[_0x5b9218(0x1aa)]=_0x384924;}}return _0x125a25;}function at(_0x2b11f9){const _0x1a340d=_0x4d925c;return _0x1a340d(0x1b5)===it(_0x2b11f9[_0x1a340d(0x19c)])[_0x1a340d(0x19a)];}
23
+ const _0x2b7431=_0x4a31;function _0x4a31(_0x246867,_0xe98276){const _0x54f7e7=_0x54f7();return _0x4a31=function(_0x4a3117,_0x2bf541){_0x4a3117=_0x4a3117-0x1c7;let _0x201f5d=_0x54f7e7[_0x4a3117];return _0x201f5d;},_0x4a31(_0x246867,_0xe98276);}(function(_0x2fb9b2,_0x3aec38){const _0x4b6cbe=_0x4a31,_0x580e0f=_0x2fb9b2();while(!![]){try{const _0x2dcacb=-parseInt(_0x4b6cbe(0x206))/0x1*(-parseInt(_0x4b6cbe(0x219))/0x2)+-parseInt(_0x4b6cbe(0x1d5))/0x3+parseInt(_0x4b6cbe(0x259))/0x4*(parseInt(_0x4b6cbe(0x225))/0x5)+parseInt(_0x4b6cbe(0x210))/0x6*(parseInt(_0x4b6cbe(0x253))/0x7)+parseInt(_0x4b6cbe(0x23c))/0x8*(-parseInt(_0x4b6cbe(0x1ce))/0x9)+parseInt(_0x4b6cbe(0x246))/0xa*(-parseInt(_0x4b6cbe(0x1ff))/0xb)+parseInt(_0x4b6cbe(0x20e))/0xc;if(_0x2dcacb===_0x3aec38)break;else _0x580e0f['push'](_0x580e0f['shift']());}catch(_0x5de8b9){_0x580e0f['push'](_0x580e0f['shift']());}}}(_0x54f7,0x405ca));import{Plugin as _0x3d48a1}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x116392}from'ckeditor5/src/utils.js';import _0x2fe49d from'./commentsrepository.js';function _0x54f7(){const _0x5747fe=['openNewCommentThread','clear','CommentsEditing','config','group','end','hasCommentThread','push','4950319VrBFYw','isCollapsed','LEAVE_COMMENT_ANNOUNCEMENT','commands','start','view','from','1ZOOcNp','change','activeMarker','setUnlinkedAt','resolveCommentThread','item','ready','document','6504948dutTrk','requires','2238858fRXXch','getChangedMarkers','get','name','startsWith','_hasTargetInContent','getByInnerView','locale','updateMarker','436214aLIpfC','split','scrollToThreadMarker','set','switchReadOnly','isResolved','_getTextContext','focus','consume','differ','registerAnnotation','editing','309435sQirhK','createElement','markerToData','$textProxy','markerToHighlight','isObject','ck-comment-marker--active','listenTo','context','markers','state','change:isThreadsLoadingPaused','managedUsingOperations','addMarker:','consumable','delete','collaboration.channelId','upcast','ENTER_COMMENT_ANNOUNCEMENT','$graveyard','for','addComment','isEqual','2293944RodFzg','hasMarkerForId','ck-comment-marker','removeCommentThread','substring','editingDowncast','_handleThreadMarker','reconvertMarker','announce','getCommentThreads','10utLSbD','low','conversion','$marker','isAttached','destroyed','render','refreshVisibility','ariaLiveAnnouncer','_getTargetForId','hasDomSelection','setContext','attachTo','7wNvTKa','_handleMarkerAddAndRemove','pluginName','removeMarker','change:isReadOnly','getWalker','16bCWjOS','text','change:activeMarker','_initializeMarkerConverters','_threads','isThreadsLoadingPaused','removeMarker:','schema','fetchCommentThread','_attachArchivedThread','getRange','root','9hajIBL','dataDowncast','newRange','elementToElement','getAllMarkersForId','unlinkedAt','once','1141437LvWSFo','plugins','_initAriaMarkerChangeAnnouncements','dataToMarker','add','isLocal','destroy','_attachMarkerToThread','init','getAttribute','addCommentThread','data','registerPostFixer','getCommentThread','length','then','ignoreResolvedComments','editor','createPositionBefore','rootName','model','createRange','comment:','enqueueChange','_reconvertMarkers','affectsData','getItems','_detachCommentThread','hasContent','_threadToController','reopenCommentThread','markerName','size','comment'];_0x54f7=function(){return _0x5747fe;};return _0x54f7();}import _0xe9a9a8 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x5b60dd,getAllMarkersDomElementsSorted as _0x388cb2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x6fc960 from'../annotations/editorannotations.js';import _0x4b8261 from'./integrations/commentsrestrictededitingmode.js';import _0x126635 from'./integrations/importword.js';import _0x4dcc7b from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x53b043 from'../annotations/annotations.js';import{getTranslation as _0x368aa4}from'../utils/common-translations.js';export default class r extends _0x3d48a1{static get[_0x2b7431(0x20f)](){return[_0x2fe49d,_0x6fc960,_0x4b8261,_0x126635,_0x4dcc7b];}static get[_0x2b7431(0x255)](){const _0x4ff49a=_0x2b7431;return _0x4ff49a(0x1f9);}constructor(_0xfd5fd){const _0x1165d8=_0x2b7431;super(_0xfd5fd),this[_0x1165d8(0x21c)](_0x1165d8(0x1c7),!0x0),_0xfd5fd[_0x1165d8(0x1e0)][_0x1165d8(0x1d4)](_0x1165d8(0x20c),()=>this[_0x1165d8(0x1c7)]=!0x1),this[_0x1165d8(0x21c)](_0x1165d8(0x208),null),this['on'](_0x1165d8(0x25b),(_0x58a18d,_0x1f6a6f,_0x127d36,_0x5a3b88)=>{const _0x23b8d2=_0x1165d8,_0x256598=_0x127d36?it(_0x127d36)['id']:null;if(_0xfd5fd[_0x23b8d2(0x1e9)][_0x23b8d2(0x207)](()=>{const _0x3ec6bf=_0x23b8d2;if(_0x256598){const _0x5f22fb=this[_0x3ec6bf(0x1d2)](_0x256598);for(const _0x53946 of _0x5f22fb)_0xfd5fd[_0x3ec6bf(0x224)][_0x3ec6bf(0x243)](_0x53946);}if(_0x5a3b88){const {id:_0x32fa58}=it(_0x5a3b88),_0x295433=this[_0x3ec6bf(0x1d2)](_0x32fa58);for(const _0x56d23d of _0x295433)_0xfd5fd[_0x3ec6bf(0x224)][_0x3ec6bf(0x243)](_0x56d23d);}}),_0x256598){const _0x4e6dab=_0xfd5fd[_0x23b8d2(0x1d6)][_0x23b8d2(0x212)](_0x2fe49d)[_0x23b8d2(0x1e2)](_0x256598);_0x4e6dab&&_0x4e6dab[_0x23b8d2(0x21e)]&&this[_0x23b8d2(0x21b)](_0x256598);}}),this[_0x1165d8(0x1d7)]();}[_0x2b7431(0x1dd)](){const _0x360533=_0x2b7431,_0x8f8ef=this[_0x360533(0x1e6)],_0x5c876d=_0x8f8ef[_0x360533(0x1d6)][_0x360533(0x212)](_0x2fe49d),_0x117520=_0x8f8ef[_0x360533(0x1fa)][_0x360533(0x212)](_0x360533(0x235));_0x8f8ef[_0x360533(0x202)][_0x360533(0x1d9)](_0x360533(0x1df),new _0xe9a9a8(_0x8f8ef)),this[_0x360533(0x22c)](_0x8f8ef,_0x360533(0x257),(_0x5879b2,_0x49516f,_0x1c0a12)=>{const _0x1f6795=_0x360533;_0x5c876d[_0x1f6795(0x21d)](_0x1c0a12,_0x8f8ef[_0x1f6795(0x1fa)][_0x1f6795(0x212)](_0x1f6795(0x235)));}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x1df),_0x117520),(_0x40516c,{threadId:_0x43e7e7})=>{const _0x113977=_0x360533,_0x29b7d5=this[_0x113977(0x1e6)][_0x113977(0x1d6)][_0x113977(0x212)](_0x2fe49d)[_0x113977(0x1e2)](_0x43e7e7);_0x29b7d5&&_0x29b7d5[_0x113977(0x1d3)]&&this[_0x113977(0x1cb)](_0x43e7e7);}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x23f),_0x117520),(_0x1495e3,{threadId:_0x51182c})=>{const _0x2eddc6=_0x360533;_0x8f8ef[_0x2eddc6(0x1e9)][_0x2eddc6(0x1ec)]({'isUndoable':!0x1},_0x1e615c=>{const _0x5babb2=_0x2eddc6,_0x536db4=this[_0x5babb2(0x1d2)](_0x51182c);for(const _0x385e3e of _0x536db4)_0x1e615c[_0x5babb2(0x256)](_0x385e3e);});}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x20a),_0x117520),(_0x442632,{threadId:_0x4e004c})=>{const _0x59177a=_0x360533;(this[_0x59177a(0x1ed)](_0x4e004c),this[_0x59177a(0x1e6)][_0x59177a(0x224)][_0x59177a(0x204)][_0x59177a(0x250)])&&(this[_0x59177a(0x1e6)][_0x59177a(0x1d6)][_0x59177a(0x212)](_0x2fe49d)[_0x59177a(0x1e2)](_0x4e004c)[_0x59177a(0x1d3)]||this[_0x59177a(0x1e6)][_0x59177a(0x224)][_0x59177a(0x204)][_0x59177a(0x220)]());},{'priority':_0x360533(0x247)}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x1f3),_0x117520),(_0x498f0a,{threadId:_0x1ceb2d})=>{const _0x12e86f=_0x360533;this[_0x12e86f(0x1ed)](_0x1ceb2d);},{'priority':_0x360533(0x247)}),this[_0x360533(0x22c)](_0x5c876d,nt(_0x360533(0x23a),_0x117520),(_0x2f2c59,{threadId:_0x366492,isFromAdapter:_0x3c742c})=>{const _0x1e64ad=_0x360533,_0x5f515f=this[_0x1e64ad(0x1d2)](_0x366492);if(_0x3c742c||0x0==_0x5f515f[_0x1e64ad(0x1e3)]||!_0x5c876d[_0x1e64ad(0x1fd)](_0x366492))return;0x1===_0x5c876d[_0x1e64ad(0x1e2)](_0x366492)[_0x1e64ad(0x1e3)]&&_0x8f8ef[_0x1e64ad(0x1e9)][_0x1e64ad(0x1ec)]({'isUndoable':!0x1},_0x39d04f=>{const _0x488eab=_0x1e64ad;for(const _0x26efa4 of _0x5f515f)_0x39d04f[_0x488eab(0x218)](_0x26efa4,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x360533(0x247)}),this[_0x360533(0x25c)](),this[_0x360533(0x254)]();}[_0x2b7431(0x1db)](){const _0x204774=_0x2b7431,_0x11bbb5=this[_0x204774(0x1e6)][_0x204774(0x1d6)][_0x204774(0x212)](_0x2fe49d),_0x4d9b6e=this[_0x204774(0x1e6)][_0x204774(0x1fa)][_0x204774(0x212)](_0x204774(0x235));for(const _0x57e7b6 of _0x11bbb5[_0x204774(0x245)]({'channelId':_0x4d9b6e}))_0x11bbb5[_0x204774(0x1f0)](_0x57e7b6['id']),_0x11bbb5[_0x204774(0x25d)][_0x204774(0x234)](_0x57e7b6['id']);super[_0x204774(0x1db)]();}[_0x2b7431(0x23d)](_0x4e9473){const _0x2175aa=_0x2b7431;return this[_0x2175aa(0x1d2)](_0x4e9473)[_0x2175aa(0x1e3)]>0x0;}[_0x2b7431(0x1d2)](_0x50990c){const _0x3494a2=_0x2b7431,_0x1763fa=[];for(const _0x437b64 of this[_0x3494a2(0x1e6)][_0x3494a2(0x1e9)][_0x3494a2(0x22e)])_0x437b64[_0x3494a2(0x213)][_0x3494a2(0x214)](_0x3494a2(0x1eb)+_0x50990c)&&_0x1763fa[_0x3494a2(0x1fe)](_0x437b64);return _0x1763fa;}[_0x2b7431(0x21b)](_0x58bc44){const _0x13ac3c=_0x2b7431,_0x4a57ab=this[_0x13ac3c(0x24f)](_0x58bc44);_0x4a57ab&&setTimeout(()=>{const _0x5dcf89=_0x13ac3c;this[_0x5dcf89(0x208)]&&it(this[_0x5dcf89(0x208)])['id']===_0x58bc44&&_0x116392({'target':_0x4a57ab[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2b7431(0x1ed)](_0x467dec){const _0x11e28a=_0x2b7431;this[_0x11e28a(0x1e6)][_0x11e28a(0x1e9)][_0x11e28a(0x207)](()=>{const _0x186c1e=_0x11e28a;for(const _0x369bde of this[_0x186c1e(0x1d2)](_0x467dec))this[_0x186c1e(0x1e6)][_0x186c1e(0x224)][_0x186c1e(0x243)](_0x369bde);});}[_0x2b7431(0x1cb)](_0x2d92f6){const _0x4f3ce1=_0x2b7431,_0x3d4e7e=this[_0x4f3ce1(0x1e6)][_0x4f3ce1(0x1d6)][_0x4f3ce1(0x212)](_0x2fe49d),_0x9e608d=this[_0x4f3ce1(0x1e6)][_0x4f3ce1(0x1d6)][_0x4f3ce1(0x212)](_0x6fc960),_0x303eb6=_0x3d4e7e[_0x4f3ce1(0x1e2)](_0x2d92f6);if(!_0x303eb6[_0x4f3ce1(0x24a)]){const _0x244883=_0x303eb6[_0x4f3ce1(0x252)](()=>this[_0x4f3ce1(0x24f)](_0x303eb6['id']));_0x9e608d[_0x4f3ce1(0x223)](_0x244883),_0x303eb6[_0x4f3ce1(0x215)]=!0x1;}}[_0x2b7431(0x25c)](){const _0x49eacd=_0x2b7431,_0x257e4e=this[_0x49eacd(0x1e6)];_0x257e4e[_0x49eacd(0x248)][_0x49eacd(0x239)](_0x49eacd(0x241))[_0x49eacd(0x229)]({'model':_0x49eacd(0x1f6),'view':(_0x4973b4,_0x544820)=>{const _0x3e49c2=_0x49eacd,{id:_0xe396c4}=it(_0x4973b4[_0x3e49c2(0x1f4)]),_0x1b08e4=_0x257e4e[_0x3e49c2(0x1d6)][_0x3e49c2(0x212)](_0x2fe49d)[_0x3e49c2(0x1e2)](_0xe396c4),_0x37e7fd=this[_0x3e49c2(0x208)]&&it(this[_0x3e49c2(0x208)])['id']===_0xe396c4;if(_0x1b08e4&&_0x1b08e4[_0x3e49c2(0x21e)]&&!_0x37e7fd&&_0x4973b4[_0x3e49c2(0x20b)])return _0x544820[_0x3e49c2(0x233)][_0x3e49c2(0x221)](_0x4973b4[_0x3e49c2(0x20b)],_0x3e49c2(0x232)+_0x4973b4[_0x3e49c2(0x1f4)]),_0x544820[_0x3e49c2(0x233)][_0x3e49c2(0x221)](_0x4973b4[_0x3e49c2(0x20b)],_0x3e49c2(0x1c8)+_0x4973b4[_0x3e49c2(0x1f4)]),null;const _0x529c5f=[_0x3e49c2(0x23e)];return _0x37e7fd&&_0x529c5f[_0x3e49c2(0x1fe)](_0x3e49c2(0x22b)),{'classes':_0x529c5f,'attributes':{'data-comment':_0xe396c4}};}}),_0x257e4e[_0x49eacd(0x248)][_0x49eacd(0x239)](_0x49eacd(0x1cf))[_0x49eacd(0x227)]({'model':_0x49eacd(0x1f6),'view':(_0x7f7dc0,{options:_0x8200a1})=>{const _0x20d2e7=_0x49eacd,_0x34a7f8=_0x257e4e[_0x20d2e7(0x1d6)][_0x20d2e7(0x212)](_0x2fe49d),_0xb7333=_0x257e4e[_0x20d2e7(0x1e9)][_0x20d2e7(0x22e)][_0x20d2e7(0x212)](_0x7f7dc0),{id:_0x343a16,part:_0x498155}=it(_0x7f7dc0);if(_0xb7333&&!_0xb7333[_0x20d2e7(0x1ee)])return null;if(_0x8200a1[_0x20d2e7(0x1e5)]){const _0x59acc6=_0x34a7f8[_0x20d2e7(0x1e2)](_0x343a16);if(_0x59acc6&&_0x59acc6[_0x20d2e7(0x21e)])return null;}return{'group':_0x20d2e7(0x1f6),'name':_0x498155?_0x343a16+':'+_0x498155:_0x343a16};}}),_0x257e4e[_0x49eacd(0x248)][_0x49eacd(0x239)](_0x49eacd(0x236))[_0x49eacd(0x1d1)]({'view':{'name':_0x49eacd(0x1f6),'attributes':{'id':/^\w/}},'model':(_0x47ed13,{writer:_0x20226b})=>_0x20226b[_0x49eacd(0x226)](_0x49eacd(0x249),{'data-name':_0x49eacd(0x1eb)+_0x47ed13[_0x49eacd(0x1de)]('id')})}),_0x257e4e[_0x49eacd(0x248)][_0x49eacd(0x239)](_0x49eacd(0x236))[_0x49eacd(0x1d8)]({'view':_0x49eacd(0x1f6)});}[_0x2b7431(0x254)](){const _0x384d04=_0x2b7431,_0x29b679=this[_0x384d04(0x1e6)],_0x3eaf64=_0x29b679[_0x384d04(0x1d6)][_0x384d04(0x212)](_0x2fe49d),_0x1bbbe4=new Set(),_0x51603d=new Set();_0x29b679[_0x384d04(0x1e9)][_0x384d04(0x20d)][_0x384d04(0x1e1)](_0x289e02=>{const _0x30ee33=_0x384d04;let _0x2494bc=!0x1;for(const {name:_0x4876b5,data:_0x504849}of _0x29b679[_0x30ee33(0x1e9)][_0x30ee33(0x20d)][_0x30ee33(0x222)][_0x30ee33(0x211)]()){const {group:_0x8068cd,id:_0x35d916}=it(_0x4876b5);let _0x42e940=_0x504849[_0x30ee33(0x1d0)];if(_0x30ee33(0x1f6)!==_0x8068cd||!_0x42e940)continue;const _0x23441d=_0x30ee33(0x238)===_0x42e940[_0x30ee33(0x1cd)][_0x30ee33(0x1e8)];_0x23441d||(_0x42e940=st(_0x42e940,_0x29b679[_0x30ee33(0x1e9)]),!_0x42e940||_0x42e940[_0x30ee33(0x200)]||!_0x504849[_0x30ee33(0x1d0)]||_0x42e940[_0x30ee33(0x23b)](_0x504849[_0x30ee33(0x1d0)]))?_0x29b679[_0x30ee33(0x1e9)][_0x30ee33(0x1f1)](_0x42e940)&&!_0x23441d?this[_0x30ee33(0x1c7)]?_0x1bbbe4[_0x30ee33(0x1d9)](_0x4876b5):this[_0x30ee33(0x242)](_0x4876b5,_0x35d916):(_0x51603d[_0x30ee33(0x1d9)](_0x4876b5),_0x1bbbe4[_0x30ee33(0x234)](_0x4876b5),_0x289e02[_0x30ee33(0x256)](_0x4876b5),_0x2494bc=!0x0):(_0x289e02[_0x30ee33(0x218)](_0x4876b5,{'range':_0x42e940}),_0x2494bc=!0x0);}return _0x2494bc;}),this['on'](_0x384d04(0x230),(_0x4160af,_0x203dcb,_0x209b4d)=>{const _0x385d04=_0x384d04;if(!_0x209b4d&&_0x1bbbe4[_0x385d04(0x1f5)])for(const _0x32aed0 of _0x1bbbe4){const {id:_0xc5d68d}=it(_0x32aed0);_0x1bbbe4[_0x385d04(0x234)](_0x32aed0),_0x29b679[_0x385d04(0x1e9)][_0x385d04(0x22e)][_0x385d04(0x212)](_0x32aed0)&&this[_0x385d04(0x242)](_0x32aed0,_0xc5d68d);}}),this[_0x384d04(0x22c)](_0x29b679[_0x384d04(0x1e9)][_0x384d04(0x20d)],_0x384d04(0x207),(_0x1b9e34,_0x51b705)=>{const _0x41e388=_0x384d04;for(const {name:_0x47b325,data:{newRange:_0x583770}}of _0x29b679[_0x41e388(0x1e9)][_0x41e388(0x20d)][_0x41e388(0x222)][_0x41e388(0x211)]()){const {group:_0x22b545,id:_0x34cd8c}=it(_0x47b325);if(_0x41e388(0x1f6)!==_0x22b545)continue;const _0x41e9b2=_0x3eaf64[_0x41e388(0x1e2)](_0x34cd8c),_0x541bb8=this[_0x41e388(0x23d)](_0x34cd8c);_0x41e9b2&&(_0x41e9b2[_0x41e388(0x215)]||_0x29b679[_0x41e388(0x224)][_0x41e388(0x204)][_0x41e388(0x1d4)](_0x41e388(0x24c),()=>{const _0x4cbde9=_0x41e388,_0x47b135=_0x29b679[_0x4cbde9(0x1d6)][_0x4cbde9(0x212)](_0x53b043),_0x2a2355=_0x3eaf64[_0x4cbde9(0x1f2)][_0x4cbde9(0x212)](_0x41e9b2)[_0x4cbde9(0x204)];_0x47b135[_0x4cbde9(0x216)](_0x2a2355)[_0x4cbde9(0x24d)]();},{'priority':_0x41e388(0x247)}),_0x41e9b2[_0x41e388(0x215)]=_0x541bb8||!!_0x583770),_0x583770||(_0x51603d[_0x41e388(0x1d9)](_0x47b325),_0x1bbbe4[_0x41e388(0x234)](_0x47b325));}if(_0x51b705[_0x41e388(0x1da)])for(const _0x323811 of _0x51603d){const {id:_0x31e188}=it(_0x323811),_0x1e374d=_0x3eaf64[_0x41e388(0x1e2)](_0x31e188),_0x4710fb=this[_0x41e388(0x23d)](_0x31e188);_0x1bbbe4[_0x41e388(0x234)](_0x323811),!_0x1e374d||_0x4710fb||_0x1e374d[_0x41e388(0x1d3)]||_0x1e374d[_0x41e388(0x209)](new Date());}_0x51603d[_0x41e388(0x1f8)]();});}[_0x2b7431(0x24f)](_0x2e9a03){const _0xd2f84b=_0x2b7431,_0x43ce02=this[_0xd2f84b(0x1e6)],_0x57fc41=this[_0xd2f84b(0x1d2)](_0x2e9a03);return _0x388cb2(_0x43ce02[_0xd2f84b(0x224)],_0x57fc41);}[_0x2b7431(0x21f)](_0x41a484){const _0x5acc97=_0x2b7431,_0x543cd4=this[_0x5acc97(0x1d2)](_0x41a484);let _0xb5851e='',_0x1d2c79=!0x1;for(const _0x3dc842 of _0x543cd4){const _0x4468fe=_0x3dc842[_0x5acc97(0x1cc)]();for(const _0x498182 of Array[_0x5acc97(0x205)](_0x4468fe[_0x5acc97(0x1ef)]()))_0x498182['is'](_0x5acc97(0x228))?(_0xb5851e&&_0x1d2c79&&(_0xb5851e+='\x20',_0x1d2c79=!0x1),_0xb5851e+=_0x498182[_0x5acc97(0x1e0)]):_0x1d2c79=!0x0;_0x1d2c79=!0x0;}return _0xb5851e[_0x5acc97(0x240)](0x0,0x96);}[_0x2b7431(0x1dc)](_0xd75c23,_0x2b999c){const _0x6af3c1=_0x2b7431,_0x3eecfc=this[_0x6af3c1(0x1e6)],_0xcb76df=_0x3eecfc[_0x6af3c1(0x1d6)][_0x6af3c1(0x212)](_0x2fe49d);let _0x5ba8a4=_0xcb76df[_0x6af3c1(0x1e2)](_0x2b999c);const _0x4bd51c=_0x3eecfc[_0x6af3c1(0x1fa)][_0x6af3c1(0x212)](_0x6af3c1(0x235)),_0x43b3e8=_0x3eecfc[_0x6af3c1(0x1d6)][_0x6af3c1(0x212)](_0x6fc960);if(_0x5ba8a4&&(_0x5ba8a4[_0x6af3c1(0x1d3)]&&_0x5ba8a4[_0x6af3c1(0x209)](null),_0x5ba8a4[_0x6af3c1(0x24a)]))return _0x5ba8a4;return!this[_0x6af3c1(0x1d2)](_0x2b999c)[0x0][_0x6af3c1(0x231)]?_0x3eecfc[_0x6af3c1(0x224)][_0x6af3c1(0x204)][_0x6af3c1(0x1d4)](_0x6af3c1(0x24c),()=>{const _0x18614d=_0x6af3c1;if(_0xcb76df[_0x18614d(0x1e2)](_0x2b999c))return;const _0x31ddd7=_0x3eecfc[_0x18614d(0x1d6)][_0x18614d(0x212)](_0x53b043);_0x5ba8a4=_0xcb76df[_0x18614d(0x1f7)]({'channelId':_0x4bd51c,'threadId':_0x2b999c,'target':()=>this[_0x18614d(0x24f)](_0x2b999c),'context':{'type':_0x18614d(0x25a),'value':this[_0x18614d(0x21f)](_0x2b999c)}});const _0x47db03=_0xcb76df[_0x18614d(0x1f2)][_0x18614d(0x212)](_0x5ba8a4)[_0x18614d(0x204)],_0x56b43b=_0x31ddd7[_0x18614d(0x216)](_0x47db03);_0x56b43b&&_0x43b3e8[_0x18614d(0x223)](_0x56b43b);},{'priority':_0x6af3c1(0x247)}):_0xcb76df[_0x6af3c1(0x1ca)]({'channelId':_0x4bd51c,'threadId':_0x2b999c})[_0x6af3c1(0x1e4)](_0x2c9eaf=>{const _0x4aeb3d=_0x6af3c1;if(_0x4aeb3d(0x24b)!==_0x3eecfc[_0x4aeb3d(0x22f)]){if(_0x5ba8a4=_0x2c9eaf,_0x5ba8a4&&!_0x5ba8a4[_0x4aeb3d(0x24a)]){const _0x1d41d0=_0x5ba8a4[_0x4aeb3d(0x252)](()=>this[_0x4aeb3d(0x24f)](_0x2b999c));_0x43b3e8[_0x4aeb3d(0x223)](_0x1d41d0),_0x5ba8a4[_0x4aeb3d(0x21e)]&&this[_0x4aeb3d(0x1ed)](_0x2b999c);}else{if(!_0x5ba8a4){const _0x29814c=this[_0x4aeb3d(0x1d2)](_0x2b999c);_0x3eecfc[_0x4aeb3d(0x1e9)][_0x4aeb3d(0x207)](_0x6753da=>{const _0x330d28=_0x4aeb3d;for(const _0x54a2a7 of _0x29814c)_0x6753da[_0x330d28(0x256)](_0x54a2a7);});}}}}),_0x5ba8a4;}[_0x2b7431(0x242)](_0x2c7c10,_0x3530cd){const _0x49e7eb=_0x2b7431,_0x15dc2c=this[_0x49e7eb(0x1dc)](_0x2c7c10,_0x3530cd);_0x15dc2c&&!_0x15dc2c[_0x49e7eb(0x22d)]&&_0x15dc2c[_0x49e7eb(0x251)]({'type':_0x49e7eb(0x25a),'value':this[_0x49e7eb(0x21f)](_0x3530cd)});}[_0x2b7431(0x1d7)](){const _0x2aab20=_0x2b7431,_0x108d7a=this[_0x2aab20(0x1e6)];_0x5b60dd(_0x108d7a[_0x2aab20(0x1e9)],({left:_0x3e798d,entered:_0x1d4ded})=>{const _0x429411=_0x2aab20;for(const _0x1e3738 of _0x3e798d)if(at(_0x1e3738)){_0x108d7a['ui'][_0x429411(0x24e)][_0x429411(0x244)](_0x368aa4(_0x108d7a[_0x429411(0x217)],_0x429411(0x201)));break;}for(const _0x552c43 of _0x1d4ded)if(at(_0x552c43)){_0x108d7a['ui'][_0x429411(0x24e)][_0x429411(0x244)](_0x368aa4(_0x108d7a[_0x429411(0x217)],_0x429411(0x237)));break;}});}}function nt(_0x41e219,_0x49fbd7){return _0x49fbd7?_0x41e219+':'+_0x49fbd7:_0x41e219;}function it(_0x72f6a6){const _0x4c4e1e=_0x2b7431,_0x24c6dd=_0x72f6a6[_0x4c4e1e(0x21a)](':');return{'group':_0x24c6dd[0x0],'id':_0x24c6dd[0x1],'part':_0x24c6dd[0x2]};}function st(_0x3ef4c7,_0x2f368b){const _0x5594a0=_0x2b7431,_0xe35aef=_0x2f368b[_0x5594a0(0x1c9)],_0x27e7dc=_0x2f368b[_0x5594a0(0x1ea)](_0x3ef4c7[_0x5594a0(0x203)]);for(const _0x469f23 of _0x3ef4c7[_0x5594a0(0x258)]()){const {type:_0x4fe120,item:_0x1a5216,nextPosition:_0x58e388}=_0x469f23;if(_0x5594a0(0x25a)===_0x4fe120||_0xe35aef[_0x5594a0(0x22a)](_0x1a5216)){const _0x4cfcb2=_0x2f368b[_0x5594a0(0x1e7)](_0x1a5216);_0x27e7dc[_0x5594a0(0x200)]&&(_0x27e7dc[_0x5594a0(0x203)]=_0x4cfcb2),_0x27e7dc[_0x5594a0(0x1fc)]=_0x58e388;}}return _0x27e7dc;}function at(_0x3e00c1){const _0x475bc8=_0x2b7431;return _0x475bc8(0x1f6)===it(_0x3e00c1[_0x475bc8(0x213)])[_0x475bc8(0x1fb)];}