@ckeditor/ckeditor5-comments 42.0.0-alpha.22 → 42.0.0-alpha.24

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 (160) hide show
  1. package/build/comments.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/fa.js +1 -1
  4. package/build/translations/hr.js +1 -1
  5. package/dist/index.js +9 -9
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en.umd.js +1 -1
  31. package/dist/translations/es-co.js +1 -1
  32. package/dist/translations/es-co.umd.js +1 -1
  33. package/dist/translations/es.js +1 -1
  34. package/dist/translations/es.umd.js +1 -1
  35. package/dist/translations/et.js +1 -1
  36. package/dist/translations/et.umd.js +1 -1
  37. package/dist/translations/fa.js +1 -1
  38. package/dist/translations/fa.umd.js +1 -1
  39. package/dist/translations/fi.js +1 -1
  40. package/dist/translations/fi.umd.js +1 -1
  41. package/dist/translations/fr.js +1 -1
  42. package/dist/translations/fr.umd.js +1 -1
  43. package/dist/translations/gl.js +1 -1
  44. package/dist/translations/gl.umd.js +1 -1
  45. package/dist/translations/he.js +1 -1
  46. package/dist/translations/he.umd.js +1 -1
  47. package/dist/translations/hi.js +1 -1
  48. package/dist/translations/hi.umd.js +1 -1
  49. package/dist/translations/hr.js +1 -1
  50. package/dist/translations/hr.umd.js +1 -1
  51. package/dist/translations/hu.js +1 -1
  52. package/dist/translations/hu.umd.js +1 -1
  53. package/dist/translations/id.js +1 -1
  54. package/dist/translations/id.umd.js +1 -1
  55. package/dist/translations/it.js +1 -1
  56. package/dist/translations/it.umd.js +1 -1
  57. package/dist/translations/ja.js +1 -1
  58. package/dist/translations/ja.umd.js +1 -1
  59. package/dist/translations/jv.js +1 -1
  60. package/dist/translations/jv.umd.js +1 -1
  61. package/dist/translations/ko.js +1 -1
  62. package/dist/translations/ko.umd.js +1 -1
  63. package/dist/translations/lt.js +1 -1
  64. package/dist/translations/lt.umd.js +1 -1
  65. package/dist/translations/lv.js +1 -1
  66. package/dist/translations/lv.umd.js +1 -1
  67. package/dist/translations/ms.js +1 -1
  68. package/dist/translations/ms.umd.js +1 -1
  69. package/dist/translations/nl.js +1 -1
  70. package/dist/translations/nl.umd.js +1 -1
  71. package/dist/translations/no.js +1 -1
  72. package/dist/translations/no.umd.js +1 -1
  73. package/dist/translations/pl.js +1 -1
  74. package/dist/translations/pl.umd.js +1 -1
  75. package/dist/translations/pt-br.js +1 -1
  76. package/dist/translations/pt-br.umd.js +1 -1
  77. package/dist/translations/pt.js +1 -1
  78. package/dist/translations/pt.umd.js +1 -1
  79. package/dist/translations/ro.js +1 -1
  80. package/dist/translations/ro.umd.js +1 -1
  81. package/dist/translations/ru.js +1 -1
  82. package/dist/translations/ru.umd.js +1 -1
  83. package/dist/translations/sk.js +1 -1
  84. package/dist/translations/sk.umd.js +1 -1
  85. package/dist/translations/sq.js +1 -1
  86. package/dist/translations/sq.umd.js +1 -1
  87. package/dist/translations/sr-latn.js +1 -1
  88. package/dist/translations/sr-latn.umd.js +1 -1
  89. package/dist/translations/sr.js +1 -1
  90. package/dist/translations/sr.umd.js +1 -1
  91. package/dist/translations/sv.js +1 -1
  92. package/dist/translations/sv.umd.js +1 -1
  93. package/dist/translations/th.js +1 -1
  94. package/dist/translations/th.umd.js +1 -1
  95. package/dist/translations/ti.js +1 -1
  96. package/dist/translations/ti.umd.js +1 -1
  97. package/dist/translations/tk.js +1 -1
  98. package/dist/translations/tk.umd.js +1 -1
  99. package/dist/translations/tr.js +1 -1
  100. package/dist/translations/tr.umd.js +1 -1
  101. package/dist/translations/tt.js +1 -1
  102. package/dist/translations/tt.umd.js +1 -1
  103. package/dist/translations/ug.js +1 -1
  104. package/dist/translations/ug.umd.js +1 -1
  105. package/dist/translations/uk.js +1 -1
  106. package/dist/translations/uk.umd.js +1 -1
  107. package/dist/translations/ur.js +1 -1
  108. package/dist/translations/ur.umd.js +1 -1
  109. package/dist/translations/vi.js +1 -1
  110. package/dist/translations/vi.umd.js +1 -1
  111. package/dist/translations/zh-cn.js +1 -1
  112. package/dist/translations/zh-cn.umd.js +1 -1
  113. package/dist/translations/zh.js +1 -1
  114. package/dist/translations/zh.umd.js +1 -1
  115. package/lang/translations/ar.po +3 -3
  116. package/lang/translations/fa.po +1 -1
  117. package/lang/translations/hr.po +1 -1
  118. package/package.json +3 -3
  119. package/src/annotations/annotation.js +2 -2
  120. package/src/annotations/annotationcollection.js +1 -1
  121. package/src/annotations/annotations.js +1 -1
  122. package/src/annotations/annotationsuis.js +1 -1
  123. package/src/annotations/editorannotations.js +1 -1
  124. package/src/annotations/inlineannotations.js +1 -1
  125. package/src/annotations/narrowsidebar.js +1 -1
  126. package/src/annotations/sidebar.js +1 -1
  127. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  128. package/src/annotations/view/annotationview.js +1 -1
  129. package/src/annotations/view/sidebaritemview.js +1 -1
  130. package/src/annotations/view/sidebarview.js +1 -1
  131. package/src/annotations/widesidebar.js +1 -1
  132. package/src/comments/addcommentthreadcommand.js +1 -1
  133. package/src/comments/commentsarchive.js +1 -1
  134. package/src/comments/commentsarchiveui.js +1 -1
  135. package/src/comments/commentsediting.js +1 -1
  136. package/src/comments/commentsrepository.js +3 -3
  137. package/src/comments/commentsui.js +1 -1
  138. package/src/comments/integrations/clipboard.js +1 -1
  139. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  140. package/src/comments/integrations/importword.js +1 -1
  141. package/src/comments/ui/commenteditor/commenteditor.js +2 -2
  142. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  143. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  144. package/src/comments/ui/commentthreadcontroller.js +2 -2
  145. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  146. package/src/comments/ui/view/basecommentview.js +1 -1
  147. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  148. package/src/comments/ui/view/commentcontentview.js +1 -1
  149. package/src/comments/ui/view/commentinputview.js +1 -1
  150. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  151. package/src/comments/ui/view/commentslistview.js +1 -1
  152. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  153. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  154. package/src/comments/ui/view/commentthreadview.js +2 -2
  155. package/src/comments/ui/view/commentview.js +2 -2
  156. package/src/comments.js +1 -1
  157. package/src/commentsonly.js +1 -1
  158. package/src/index.js +1 -1
  159. package/src/utils/common-translations.js +1 -1
  160. package/src/utils/createmutationobserver.js +1 -1
package/dist/index.js CHANGED
@@ -20,12 +20,12 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Editor as mt,icons as _0x1fc509,ContextPlugin as _0x3ff786,PendingActions as ht,Context as _0x48e836,Command as _0x4e9e78,Plugin as _0x27b2b8}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5f535b,uid as _0x3519e3,KeystrokeHandler as Et,FocusTracker as _0x4825ec,diff as _0x29759b,Collection as _0x46e868,Rect as _0x5c1d45,CKEditorError as _0x2e261a,priorities as Wt,scrollViewportToShowTarget as _0x55fe81,toUnit as Ht,DomEmitterMixin as _0x52403a,keyCodes as _0x439785}from'@ckeditor/ckeditor5-utils/dist/index.js';import{UserView as _0x31e5a6,ConfirmMixin as _0x306c2c,trimHtml as _0x229819,Users as lt,getDateTimeFormatter as dt,hashObject as ct,getAllMarkersDomElementsSorted as tt,surroundingMarkersDetector as _0x12a789}from'ckeditor5-collaboration/dist/index.js';import{throttle as bt,isEqual as ft,cloneDeep as ut,set as pt,unset as It,debounce as _0x7dfb28}from'lodash-es';import{EditorUIView as Xt,InlineEditableUIView as $t,LabelView as Yt,EditorUI as Ut,View as _t,ButtonView as _0x41450c,ViewCollection as _0x685357,FocusCycler as _0x29b1d4,createDropdown as _0x336b90,ListView as _0x5a6e8c,ListItemView as _0x3b0674,MenuBarMenuListItemButtonView as _0x1fa3db,BodyCollection as _0x492a19,BalloonPanelView as _0x5cd33c,ContextualBalloon as _0x43b40e,Dialog as _0x1f552c,DialogViewPosition as _0x432a41}from'@ckeditor/ckeditor5-ui/dist/index.js';import{disablePlaceholder as zt,enablePlaceholder as Ft,MouseObserver as _0x53ef4b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{Clipboard as Bt,ClipboardMarkersUtils as Mt,ClipboardPipeline as Pt}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Enter as Gt,ShiftEnter as Jt}from'@ckeditor/ckeditor5-enter/dist/index.js';import{SelectAll as Kt}from'@ckeditor/ckeditor5-select-all/dist/index.js';import{Typing as Lt}from'@ckeditor/ckeditor5-typing/dist/index.js';import{Undo as Nt}from'@ckeditor/ckeditor5-undo/dist/index.js';import{Paragraph as Qt}from'@ckeditor/ckeditor5-paragraph/dist/index.js';class wt extends/* #__PURE__ -- @preserve */
24
- _0x5f535b(){['model'];['view'];constructor(_0x131022,_0x6e225e){super(),this['model']=_0x131022,this['model']['_isAttached']=!0x0,this['view']=_0x6e225e,this['listenTo'](_0x6e225e,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x6e225e,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x6e225e,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x6e225e,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x6e225e,'addComment',(_0x622781,_0x193869)=>this['addComment'](_0x193869)),this['listenTo'](_0x6e225e,'updateComment',(_0x1975d6,_0x51f4f3,_0x48a9bf)=>this['updateComment'](_0x51f4f3,_0x48a9bf)),this['listenTo'](_0x6e225e,'removeComment',(_0x3ee091,_0x2efbf4)=>this['removeComment'](_0x2efbf4));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x4b1a89){this['model']['addComment']({'content':_0x4b1a89,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x3c0a51,_0x525b1d){this['model']['getComment'](_0x3c0a51)['update']({'content':_0x525b1d});}['removeComment'](_0x5323a1){this['model']['getComment'](_0x5323a1)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function W(_0xfa0544,_0x5510d5,_0x428f2c){const t=_0xfa0544['t'];switch(_0x5510d5){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x428f2c);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x428f2c);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x428f2c);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x428f2c);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}class Vt extends Xt{['main'];['_voiceLabelView'];['editable'];constructor(_0x7050d4,_0x5e6e9c){super(_0x7050d4);const _0x2712ca=_0x3519e3();this['main']=this['createCollection'](),this['editable']=new $t(_0x7050d4,_0x5e6e9c),this['_voiceLabelView']=this['_createVoiceLabel'](_0x2712ca,_0x7050d4),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'role':'comment','dir':_0x7050d4['uiLanguageDirection'],'lang':_0x7050d4['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x2712ca},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}['_createVoiceLabel'](_0x565f91,_0x131cab){const _0x57b6d4=new Yt();return _0x57b6d4['text']=W(_0x131cab,'Comment\x20editor'),_0x57b6d4['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x565f91,'class':'ck-voice-label'}}),_0x57b6d4;}}class Ot extends Ut{['view'];constructor(_0x5b0c12){super(_0x5b0c12),this['view']=new Vt(_0x5b0c12['locale'],_0x5b0c12['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0xf90bf9=this['editor']['editing']['view'],_0x5bf359=this['view']['editable'],_0x4aff6e=_0xf90bf9['document']['getRoot']();_0x5bf359['name']=_0x4aff6e['rootName'],this['view']['render']();const _0x3f654d=_0x5bf359['element'];this['setEditableElement'](_0x5bf359['name'],_0x3f654d),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xf90bf9['attachDomRoot'](_0x3f654d),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const Rt=[Bt,Gt,Jt,Kt,Lt,Nt,Qt];class St extends/* #__PURE__ -- @preserve */
25
- _0x5f535b(mt){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
26
- ((()=>Rt)());constructor(_0x512c2a={}){(_0x512c2a=Object['assign']({},_0x512c2a))['plugins']||(_0x512c2a['plugins']=St['defaultPlugins']),super(_0x512c2a),this['ui']=new Ot(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot']();}['create'](){const _0x5f35ca=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x5f35ca))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x3bf143=>{const _0x2c155b=this['model']['document']['getRoot'](),_0x268206=_0x2c155b&&_0x2c155b['getChild'](_0x2c155b['childCount']-0x1);_0x3bf143['setSelection'](_0x268206,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x480190=this['editing']['view'],_0x38f017=_0x480190['document']['getRoot'](),_0x292199=_0x38f017['getChild'](0x0);_0x38f017['childCount']>0x1||!_0x292199||'p'!=_0x292199['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(zt(_0x480190,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x292199['placeholder']=this['placeholder']),Ft({'view':_0x480190,'element':_0x292199,'keepOnFocus':!0x0}),this['placeholderElement']=_0x292199);}}class ei extends _t{['keystrokes'];['focusTracker'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x1b85d1,_0x25c606={}){super(_0x1b85d1),this['editor']=null,this['_editorConfig']=_0x25c606,this['keystrokes']=new Et(),this['focusTracker']=new _0x4825ec(),this['set']('value',_0x25c606['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',W(_0x1b85d1,'Reply...')),this['set']('submitLabel',W(_0x1b85d1,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0x455e6f,_0x5b937c)=>{this['cancelButtonView']['fire']('execute'),_0x5b937c();}),this['on']('submit',(_0x3cc7e0,_0x4629a3)=>{_0x4629a3['length']>0xfde8?(alert(W(_0x1b85d1,'TOO_LONG_COMMENT_ALERT',[_0x4629a3['length'],0xfde8])),_0x3cc7e0['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['keystrokes']['listenTo'](this['element']),this['focusTracker']['add'](this['element']);}['createEditor'](){return this['editor']||(this['editor']=new St(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x321e9a=this['editor'];this['element']['insertBefore'](_0x321e9a['ui']['element'],this['element']['firstChild']),_0x321e9a['model']['document']['on']('change',()=>this['value']=_0x321e9a['getData']()),_0x321e9a['bind']('placeholder')['to'](this),this['_initializeFocusCycling'](this['editor']),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](){this['editor']&&this['editor']['focus']();}async['destroy'](){this['_isDestroyed']||(this['_isDestroyed']=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this['editor']['destroy'](),this['fire']('editorDestroyed',this['editor'])),await super['destroy']());}['_createSubmitButton'](){const {locale:_0xa3720}=this,_0x3c9df8=new _0x41450c(_0xa3720);return _0x3c9df8['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x3c9df8['withText']=!0x0,_0x3c9df8['bind']('label')['to'](this,'submitLabel'),_0x3c9df8['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x3c9df8['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x59ee55,_0x192c25)=>!_0x192c25&&!!_0x59ee55['trim']()),_0x3c9df8;}['_createCancelButton'](){const {locale:_0x14b618}=this,_0x24081c=new _0x41450c(_0x14b618);return _0x24081c['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x24081c['label']=W(_0x14b618,'Cancel'),_0x24081c['withText']=!0x0,_0x24081c['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x24081c;}['_initializeFocusCycling'](_0x4319b2){const _0x5bea66=this['focusTracker'],_0x3be59e=new _0x685357();[_0x4319b2['ui']['view'],this['submitButtonView'],this['cancelButtonView']]['forEach'](_0x477cd5=>{_0x3be59e['add'](_0x477cd5),_0x5bea66['add'](_0x477cd5['element']);});const _0x393681=new _0x29b1d4({'focusables':_0x3be59e,'focusTracker':_0x5bea66});this['keystrokes']['set']('tab',(_0x57c979,_0x25b549)=>{_0x393681['focusNext'](),_0x25b549();},{'priority':'low'}),this['keystrokes']['set']('shift\x20+\x20tab',(_0x1e81b6,_0x5f13ea)=>{_0x393681['focusPrevious'](),_0x5f13ea();},{'priority':'low'});}}class Tt extends _t{constructor(_0x5806ef,_0x16ea5b,_0x5889b0){super(_0x5806ef),this['commentInputView']=new ei(_0x5806ef,_0x5889b0),this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x1559b8,_0x8b56ac)=>_0x1559b8||!!_0x8b56ac),this['set']('showInput',!0x1),this['on']('change:showInput',()=>{this['showInput']&&!this['commentInputView']['editor']&&this['commentInputView']['createEditor']();}),this['commentInputView']['delegate']('editorReady')['to'](this),this['commentInputView']['delegate']('editorDestroyed')['to'](this),this['userView']=new _0x31e5a6(_0x5806ef,_0x16ea5b),this['userView']['extendTemplate']({'attributes':{'class':'ck-thread__user'}}),this['commentInputView']['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this['bindTemplate']['if']('showInput','ck-comment__input-container--active')]},'children':[this['userView'],this['commentInputView']]});}['destroy'](){return this['commentInputView']['destroy']()['then'](()=>super['destroy']());}}class ts extends _t{constructor(_0x21d7ac){super(_0x21d7ac);const _0x26693f=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x26693f['to']('count',_0x54b30c=>W(_0x21d7ac,'NUMBER_OF_COMMENTS',_0x54b30c))}]});}}class xt extends _t{['commentViews'];['resolvedCommentView'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0xf23e78,_0x1853e4,_0x570202){super(_0xf23e78),this['set']('hasDirtyComment',!0x1),this['set']('length',_0x1853e4['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x1853e4,this['_config']=_0x570202,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['_collapsedCommentsView']=new ts(_0xf23e78),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x3a9ece=>_0x3a9ece-this['_config']['maxCommentsWhenCollapsed']);for(const _0x3e2f6b of _0x1853e4['comments'])this['_handleNewCommentModel'](_0x3e2f6b);this['_handleInfoComment'](),this['listenTo'](_0x1853e4['comments'],'add',(_0x125638,_0x3178aa)=>{const _0x1bc0de=this['_calculatePosition'](_0x3178aa);this['length']++,this['_handleNewCommentModel'](_0x3178aa,_0x1bc0de),this['refreshVisibleViews']();}),this['listenTo'](_0x1853e4['comments'],'remove',(_0xe1053a,_0x5d958b)=>{this['length']--,this['_handleRemoveCommentModel'](_0x5d958b),this['refreshVisibleViews']();}),this['listenTo'](_0x1853e4,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x1853e4,'change:isResolved',()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this['setTemplate']({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this['visibleViews']});}get['_shouldCollapse'](){return this['_model']['weight']>this['_config']['maxThreadTotalWeight']&&!this['isActive']&&!this['hasDirtyComment'];}['render'](){super['render'](),this['refreshVisibleViews']();}['focus'](){this['element']['focus']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x4ed963 of this['commentViews'])_0x4ed963['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x5aa889,_0x233fce){const _0x4e961b=new this['_config']['CommentView'](this['locale'],_0x5aa889,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x4e961b['viewUid']=_0x5aa889['id'],_0x4e961b['delegate']('removeComment')['to'](this),_0x4e961b['delegate']('updateComment')['to'](this),_0x4e961b['delegate']('resolveCommentThread')['to'](this),_0x4e961b['delegate']('editorReady')['to'](this),_0x4e961b['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x4e961b,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x4e961b,_0x233fce);}['_calculatePosition'](_0x422cf6){const _0x54ef55=this['_model']['_findOptimalIndex'](_0x422cf6);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x422cf6['authoredAt']?_0x54ef55-0x1:_0x54ef55:_0x54ef55-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x148940={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':W(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x148940,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x148940));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x2f6ab0){const _0x2f08c9=this['commentViews']['remove'](_0x2f6ab0['id']);this['stopListening'](_0x2f08c9),_0x2f08c9['isEditMode']&&this['_updateHasDirtyComment'](),_0x2f08c9['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x13d68a=>_0x13d68a['isEditMode']);}['_rearrangeCollapse'](){const _0x195c2c=function(_0x4a1bac){const _0xcd1471=new _0x46e868();for(const _0x3bf84e of _0x4a1bac)_0xcd1471['add'](_0x3bf84e);return _0xcd1471;}(this['commentViews']),_0x544650=this['_collapsedCommentsView']['count'];for(let _0x2cea14=0x1;_0x2cea14<=_0x544650;_0x2cea14++)_0x195c2c['remove'](0x1);for(const _0x1e9079 of _0x195c2c)_0x1e9079['collapse']();_0x544650>0x0&&_0x195c2c['add'](this['_collapsedCommentsView'],0x1),is(_0x29759b(Array['from'](this['visibleViews']),Array['from'](_0x195c2c)),this['visibleViews'],_0x195c2c);}['_rearrangeExpand'](){is(_0x29759b(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x4acc26 of this['visibleViews'])_0x4acc26['expand']();}}function is(_0xd26687,_0x43536a,_0x53c06b){let _0x50b7f7=0x0;for(const _0x1c9514 of _0xd26687)switch(_0x1c9514){case'insert':_0x43536a['add'](_0x53c06b['get'](_0x50b7f7),_0x50b7f7),_0x50b7f7++;break;case'delete':_0x43536a['remove'](_0x50b7f7);break;case'equal':_0x50b7f7++;}}class Zt extends _t{['_model'];['reopenButtonView'];constructor(_0x298c45,_0x5e8489){super(_0x298c45);const _0x210b6d=this['bindTemplate'];this['_model']=_0x5e8489,this['reopenButtonView']=this['_createReopenButton'](),this['bind']('hasContext')['to'](this['_model'],'context',_0x47272=>!!_0x47272),this['bind']('contextValue')['to'](this['_model'],'context',_0xebee03=>_0xebee03&&_0xebee03['value']?this['_trimContextValue'](_0xebee03['value']):W(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-context',_0x210b6d['if']('hasContext','ck-context--quotes')]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x210b6d['to']('contextValue')}]}]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions']();}['_createReopenButton'](){const _0x5c9078=new _0x41450c(this['locale']);return _0x5c9078['label']=W(this['locale'],'Reopen'),_0x5c9078['tooltip']=W(this['locale'],'Reopen'),_0x5c9078['icon']='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m5.042\x209.367\x202.189\x201.837a.75.75\x200\x200\x201-.965\x201.149l-3.788-3.18a.747.747\x200\x200\x201-.21-.284.75.75\x200\x200\x201\x20.17-.945L6.23\x204.762a.75.75\x200\x201\x201\x20.964\x201.15L4.863\x207.866h8.917A.75.75\x200\x200\x201\x2014\x207.9a4\x204\x200\x201\x201-1.477\x207.718l.344-1.489a2.5\x202.5\x200\x201\x200\x201.094-4.73l.008-.032H5.042z\x22/></svg>',_0x5c9078['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x2a53ef=>!_0x2a53ef),_0x5c9078['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x210bf8,_0x2be65f)=>_0x210bf8&&_0x2be65f),_0x5c9078['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x5c9078;}['_trimContextValue'](_0x267eb6){if(_0x267eb6['length']<0x96)return _0x267eb6;const _0x3a0e02=_0x267eb6['lastIndexOf']('\x20',0x93);return _0x267eb6['substring'](0x0,_0x3a0e02>-0x1?_0x3a0e02:0x93)+'...';}['_attachContextActions'](){const _0x8b5a98=this['element']['querySelector']('.ck-context'),_0x2bed45=_0x8b5a98['querySelector']('.ck-context__value');this['listenTo'](_0x8b5a98,'mouseenter',()=>{_0x2bed45['offsetWidth']<_0x2bed45['scrollWidth']&&_0x8b5a98['classList']['add']('overlay');}),this['listenTo'](_0x8b5a98,'mouseleave',()=>{_0x8b5a98['classList']['remove']('overlay');});}}class ti extends _t{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];constructor(_0x590004,_0x268976,_0x5b5a32,_0x2cb5d6){super(_0x590004),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x268976,this['_localUser']=_0x5b5a32,this['_config']=_0x2cb5d6,this['commentThreadHeaderView']=new Zt(_0x590004,_0x268976),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new xt(_0x590004,_0x268976,Object['assign']({'CommentView':this['_config']['CommentView']},_0x2cb5d6)),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['listenTo'](this,'resolveCommentThread',()=>{this['focus']();}),this['set']('length',this['commentsListView']['length']),this['bind']('length')['to'](this['commentsListView'],'length'),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x28bf66,_0x5f09f9)=>_0x28bf66||!!_0x5f09f9),this['bind']('isUnlinked')['to'](_0x268976,'unlinkedAt',_0x222af6=>!!_0x222af6);}['focus'](){this['element']['focus']();}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x4a2574=new Tt(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x3a1893=_0x4a2574['commentInputView'];return _0x4a2574['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x3a1893,'value',(_0x4a9d92,_0x44ee7e,_0x255afe,_0xc9b77d,_0x42bbd9)=>!!_0x42bbd9||!!_0xc9b77d&&_0x255afe&&!_0x44ee7e||_0x4a9d92&&_0x255afe&&!_0x44ee7e),_0x3a1893['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0xc17454,_0x1fc42a,_0x15b9d2)=>{let _0x3e50bd;return _0x3e50bd=_0x15b9d2&&_0x1fc42a?'Reply\x20to\x20reopen\x20discussion...':_0xc17454?'Reply...':'Write\x20a\x20comment...',W(this['locale'],_0x3e50bd);}),_0x3a1893['bind']('submitLabel')['to'](this,'length',_0x268927=>W(this['locale'],_0x268927?'Reply':'Comment')),_0x3a1893['on']('submit',(_0x1ab4bf,_0x163568)=>{this['fire']('addComment',_0x163568),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x3a1893['on']('cancel',()=>{this['focus']();}),_0x3a1893['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x3a1893['on']('cancel',_0x1030b3=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x1030b3['stop']());}),this['on']('change:isActive',(_0x5827b2,_0x55fd14,_0x32ff87)=>{_0x32ff87||this['length']||_0x3a1893['value']||this['fire']('removeCommentThread');}),_0x4a2574;}}class yt extends/* #__PURE__ -- @preserve */
27
- _0x306c2c(ti){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x59af3d,_0x511bb0,_0x5037bd,_0x5cb696){super(_0x59af3d,_0x511bb0,_0x5037bd,_0x5cb696),this['commentThreadChildren']=this['createCollection'](),this['commentThreadChildren']['addMany']([this['commentsListView'],this['commentThreadInputView']]),this['_model']['archivedAt']&&this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this['_model']['on']('change:archivedAt',(_0x4f4b53,_0x7a4f90,_0x4b048b)=>{_0x4b048b?this['commentThreadChildren']['has'](this['commentThreadHeaderView'])||this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0):this['commentThreadChildren']['remove'](this['commentThreadHeaderView']);}),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x59af3d,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x4e7c67,_0x644c94,_0x453db7)=>{_0x453db7||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x44a377,_0x1cb35e,_0x251f1e)=>{_0x251f1e&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x3f68fa=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck-thread','ck-reset_all-excluded',_0x3f68fa['if']('isActive','ck-thread--active'),_0x3f68fa['if']('isUnlinked','ck-thread--unlinked'),_0x3f68fa['if']('isConfirm','ck-thread--remove-confirmation'),_0x3f68fa['to']('actionIndicator',_0x4587d7=>_0x4587d7?'ck-thread--'+_0x4587d7:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}['render'](){super['render'](),this['containerElement']=this['element']['querySelector']('.ck-thread__container');}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x44f47a of this['commentsListView']['commentViews'])_0x44f47a['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x238e61}=this,_0x1bf087=this['commentsListView']['commentViews']['get'](0x0);_0x1bf087===this['_boundFirstCommentView']||_0x1bf087['isSystemComment']||(this['_boundFirstCommentView']=_0x1bf087,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x1bf087,'actionIndicator',_0x4fcfe2=>'remove'===_0x4fcfe2?'remove':null),_0x1bf087['placeholder']=W(_0x238e61,'Write\x20a\x20comment...'),_0x1bf087['removeButton']['on']('execute',_0x547959=>{_0x547959['stop'](),this['showConfirm'](W(_0x238e61,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),_0x1bf087['actionBar']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0xf3b83c=new _0x41450c(this['locale']);return _0xf3b83c['label']=W(this['locale'],'Resolve'),_0xf3b83c['tooltip']=W(this['locale'],'Resolve'),_0xf3b83c['icon']=_0x1fc509['check'],_0xf3b83c['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0xf3b83c['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x5eaa85=>!_0x5eaa85),_0xf3b83c['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x543cf7,_0x1ff2b7)=>_0x543cf7&&!_0x1ff2b7),_0xf3b83c['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0xf3b83c;}}class si extends _t{constructor(_0x400a17){super(_0x400a17),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x4eaaad,_0xb8530,_0x279882)=>{this['element']['innerHTML']=_0x279882;}),this['element']['innerHTML']=this['content'];}}class oi extends _t{['visibleView'];['_model'];['_config'];constructor(_0x39362e,_0x1aad5d,_0x2bd8a5){super(_0x39362e),this['_model']=_0x1aad5d,this['_config']=_0x2bd8a5,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']());}['expand'](){this['isCollapsed']=!0x1;}['collapse'](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this['element']['focus']();}async['destroy'](){await this['visibleView']['get'](0x0)['destroy'](),super['destroy']();}['switchToEditMode'](){this['isEditMode']||(this['isEditMode']=!0x0,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentInputView']()));}['switchToDisplayMode'](){this['isEditMode']&&(this['isEditMode']=!0x1,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentContentView']()));}['_createCommentContentView'](){const _0x787e74=new si(this['locale']);return _0x787e74['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x1c09db,_0x22c9fe)=>_0x22c9fe?_0x229819(_0x1c09db,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x1c09db),_0x787e74;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x45a0e=new ei(this['locale'],this['_config']['editorConfig']);return _0x45a0e['value']=this['_model']['content'],_0x45a0e['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x45a0e['submitLabel']=W(this['locale'],'Save'),_0x45a0e['on']('submit',(_0x720938,_0x31eb75)=>{this['fire']('updateComment',this['_model']['id'],_0x31eb75),this['switchToDisplayMode'](),this['focus']();}),_0x45a0e['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x45a0e['once']('editorReady',()=>{_0x45a0e['focus']();}),_0x45a0e['createEditor'](),_0x45a0e['delegate']('editorReady')['to'](this),_0x45a0e['delegate']('editorDestroyed')['to'](this),_0x45a0e;}}class At extends/* #__PURE__ -- @preserve */
28
- _0x306c2c(oi){['actionBar'];['userView'];constructor(_0x2576de,_0x27d17e,_0x3c3c95){super(_0x2576de,_0x27d17e,_0x3c3c95),this['set']('actionIndicator',null),this['set']('placeholder',W(_0x2576de,'Reply...')),this['bind']('authoredAt')['to'](_0x27d17e),this['bind']('resolvedAt')['to'](_0x27d17e),this['actionBar']=this['createCollection'](),this['isSystemComment']||(this['editButton']=this['_createEditButton'](),this['removeButton']=this['_createRemoveButton'](),this['items']=this['createCollection'](),this['items']['addMany']([this['editButton'],this['removeButton']]),this['dropdown']=this['_createDropdown'](),this['actionBar']['add'](this['dropdown'])),this['userView']=new _0x31e5a6(_0x2576de,_0x27d17e['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user']}}),this['listenTo'](_0x27d17e,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0xe33eaa=this['bindTemplate'],_0x66cb45=[{'tag':'div','attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0xe33eaa['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0xe33eaa['to']('authoredAt',_0x205487=>this['_config']['formatDateTime'](_0x205487))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0xe33eaa['if']('isEditMode','ck-comment__actions--hidden'),_0xe33eaa['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']}];return this['_model']['isExternal']&&_0x66cb45['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0xe33eaa['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0xe33eaa['if']('isEditMode','ck-comment--edit'),_0xe33eaa['if']('isSystemComment','ck-comment--info'),_0xe33eaa['to']('actionIndicator',_0x4857cc=>_0x4857cc?'ck-comment--'+_0x4857cc:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this['_model']['id']},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':_0x66cb45}]}]};}['_createEditButton'](){const _0x1395f3=new _0x41450c(this['locale']);return _0x1395f3['label']=W(this['locale'],'Edit'),_0x1395f3['icon']=_0x1fc509['pencil'],_0x1395f3['withText']=!0x0,_0x1395f3['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x1395f3['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x25a2bd=>!_0x25a2bd),_0x1395f3['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x1395f3['on']('execute',()=>this['switchToEditMode']()),_0x1395f3;}['_createRemoveButton'](){const _0x1b1659=new _0x41450c(this['locale']);return _0x1b1659['label']=W(this['locale'],'Remove'),_0x1b1659['icon']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M5.2\x207h9.2c.6\x200\x201\x20.4\x201\x201v9.9c0\x20.5-.4\x201-1\x201H5.2a1\x201\x200\x200\x201-1-1V8c0-.6.4-1\x201-1zm1\x201.5c-.3\x200-.5.2-.5.5v8c0\x20.3.2.5.5.5h.5c.2\x200\x20.5-.2.5-.5V9c0-.3-.3-.5-.5-.5h-.5zm3.2\x200c-.2\x200-.5.2-.5.5v8c0\x20.3.3.5.5.5h.5c.3\x200\x20.5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.4zm3.5\x200c-.2\x200-.5.2-.5.5v8c0\x20.3.3.5.5.5h.5c.3\x200\x20.5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.5zm-1.4-7.1H8.3L6.5\x203.6H3.8c-.5\x200-.7.3-.7.8s.2.7.7.7h12c.6\x200\x20.9-.2.9-.7\x200-.5-.3-.8-1-.8h-2.4l-1.8-2.2z\x22/></svg>\x0a',_0x1b1659['withText']=!0x0,_0x1b1659['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x1b1659['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x262103=>!_0x262103),_0x1b1659['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x1b1659['on']('execute',()=>{this['showConfirm'](W(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x1b1659;}['_createDropdown'](){const _0x331e38=_0x336b90(this['locale']),_0x53101f=_0x331e38['panelView']['children'],_0x33f34d=new _0x5a6e8c(this['locale']),_0x42c62c=(_0x4f9241,_0x46d7b0=-0x1)=>{const _0x5de7b5=new _0x3b0674(this['locale']);_0x5de7b5['children']['add'](_0x4f9241);const _0x4dc54c=_0x46d7b0>-0x1?_0x46d7b0:_0x33f34d['items']['length'];_0x33f34d['items']['add'](_0x5de7b5,_0x4dc54c),_0x331e38['listenTo'](_0x4f9241,'change:isEnabled',()=>{_0x331e38['isEnabled']=[...this['items']]['some'](_0x489453=>_0x489453['isEnabled']);}),_0x331e38['listenTo'](_0x4f9241,'change:isVisible',()=>{_0x331e38['buttonView']['isVisible']=[...this['items']]['some'](_0x1c88f5=>_0x1c88f5['isVisible']);});};_0x331e38['panelPosition']='sw',_0x331e38['buttonView']['set']({'label':W(this['locale'],'Show\x20more\x20items'),'icon':_0x1fc509['threeVerticalDots']}),_0x331e38['isEnabled']=[...this['items']]['some'](_0x2de041=>_0x2de041['isEnabled']),_0x331e38['buttonView']['isVisible']=[...this['items']]['some'](_0x5239d5=>_0x5239d5['isVisible']);for(const _0x9d3cf2 of this['items'])_0x42c62c(_0x9d3cf2);return _0x53101f['add'](_0x33f34d),_0x331e38['listenTo'](this['items'],'add',(_0xb57122,_0x8b8ec4,_0x33aced)=>{_0x42c62c(_0x8b8ec4,_0x33aced);}),_0x331e38['listenTo'](this['items'],'remove',(_0x27d9f3,_0x258e60,_0x5f4b6f)=>{_0x33f34d['items']['remove'](_0x5f4b6f);}),_0x331e38;}['_attachActions'](_0x81074,_0x27b961){const _0x39c38e=_0x81074&&_0x81074['element'];_0x39c38e&&(this['listenTo'](_0x39c38e,'mouseenter',()=>this['actionIndicator']=_0x27b961),this['listenTo'](_0x39c38e,'focus',()=>this['actionIndicator']=_0x27b961),this['listenTo'](_0x39c38e,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x39c38e,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x46bb8a=super['_createCommentInputView']();return _0x46bb8a['bind']('placeholder')['to'](this),_0x46bb8a;}['getExternalCommentNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?W(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):W(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?W(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):W(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function Dt(_0x614e66){const _0x37d398=bt(_0x614e66,0x1e),_0x35254f=new MutationObserver(_0x83ee78=>{for(const _0x4973c2 of _0x83ee78)('attributes'==_0x4973c2['type']&&'class'==_0x4973c2['attributeName']||'childList'==_0x4973c2['type']||'characterData'==_0x4973c2['type'])&&_0x37d398();});return{'attach'(_0x204f1d){_0x35254f['observe'](_0x204f1d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x35254f['disconnect'](),_0x37d398['cancel']();}};}class V extends _t{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x4bd2f2,_0x40cf2e){super(_0x4bd2f2),this['id']=_0x3519e3(),this['focusTracker']=new _0x4825ec(),this['keystrokes']=new Et(),this['keystrokes']['set']('Esc',(_0x564bf0,_0x19ceca)=>this['fire']('Esc',_0x19ceca)),this['set']('targetRect',{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this['set']('height',0x0),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['set']('length',0x0),this['set']('type',''),this['_mutationObserver']=Dt(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['add'](_0x40cf2e),this['mainView']=_0x40cf2e;const _0x17cda4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x17cda4['if']('isActive','ck-annotation-wrapper--active')],'tabindex':-0x1},'children':this['content']});}['render'](){super['render'](),this['focusTracker']['add'](this['element']),this['keystrokes']['listenTo'](this['element']),this['_mutationObserver']['attach'](this['element']);}['destroy'](){this['content']['clear'](),this['keystrokes']['destroy'](),this['focusTracker']['destroy'](),this['_mutationObserver']['detach'](),super['destroy']();}['focus'](){this['element']['focus']();}['_updateHeight'](){const _0xaecfdd=this['element']['clientHeight'];_0xaecfdd&&(this['height']=_0xaecfdd);}}class d extends/* #__PURE__ -- @preserve */
29
- _0x5f535b(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x588f87,target:_0x3a2974,type:_0x142ca1,isVisible:_0x29e3a3=!0x0}){super(),this['view']=_0x588f87,this['view']['element']||this['view']['render'](),this['_type']=_0x142ca1,this['_target']=_0x3a2974,d['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x46e868([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x2ac5fe,_0x5cceb5)=>{this['view']['focusTracker']['add'](_0x5cceb5);}),this['focusableElements']['on']('remove',(_0x427a88,_0x11cc48)=>{this['view']['focusTracker']['remove'](_0x11cc48);}),this['set']('isVisible',_0x29e3a3);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x407647=this['_getNormalizedTarget']();return d['_assertCorrectTarget'](_0x407647),_0x407647;}get['targetRect'](){const _0x2445d4=this['target'];if(null===_0x2445d4)return null;if(_0x2445d4 instanceof _0x5c1d45)return _0x2445d4;const _0x5c96f9=_0x2445d4['filter'](_0x4ea8bd=>function(_0x3cb1a3){const _0x5cdf4f=_0x3cb1a3['offsetParent'];if(_0x5cdf4f)return!0x0;const _0x23f346=_0x3cb1a3['getClientRects']()['item'](0x0);return!!_0x23f346;}(_0x4ea8bd));return 0x0===_0x5c96f9['length']?null:new _0x5c1d45(_0x5c96f9[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x1b7bf3){this['view']['isActive']=_0x1b7bf3,this['view']['mainView']['isActive']=_0x1b7bf3;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x31b44e){if(!(null===_0x31b44e||_0x31b44e instanceof _0x5c1d45||Array['isArray'](_0x31b44e)&&_0x31b44e['every'](_0x230fa4=>ee(_0x230fa4))))throw new _0x2e261a('annotation-invalid-target',null,{'target':_0x31b44e});}['_getNormalizedTarget'](){const _0x67fd48='function'==typeof this['_target']?this['_target']():this['_target'];return ee(_0x67fd48)?[_0x67fd48]:_0x67fd48;}}function ee(_0x36c6cb){return null!==_0x36c6cb&&'object'==typeof _0x36c6cb&&'nodeType'in _0x36c6cb&&0x1===_0x36c6cb['nodeType'];}class x extends _0x46e868{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x2e52f5=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x4825ec(),this['_focusTracker']['on']('change:isFocused',(_0x42e62a,_0x2b961a,_0x4dedb8)=>{_0x4dedb8||this['fire']('blur');});for(const _0x359d0a of _0x2e52f5)this['add'](_0x359d0a);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x5c5c1d){if(this['has'](_0x5c5c1d))throw new _0x2e261a('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x5c5c1d['innerView'],_0x5c5c1d),this['_viewToAnnotation']['set'](_0x5c5c1d['view'],_0x5c5c1d);for(const _0x19e8a9 of _0x5c5c1d['focusableElements'])this['_focusTracker']['add'](_0x19e8a9);this['listenTo'](_0x5c5c1d['focusableElements'],'add',(_0x3cad84,_0x23b378)=>{this['_focusTracker']['add'](_0x23b378);}),this['listenTo'](_0x5c5c1d['focusableElements'],'remove',(_0x2712bb,_0x1538b7)=>{this['_focusTracker']['remove'](_0x1538b7);}),this['listenTo'](_0x5c5c1d['view']['focusTracker'],'change:isFocused',(_0x5bfcba,_0x312bfe,_0x349d43)=>{_0x349d43&&this['fire']('focus',_0x5c5c1d);}),_0x5c5c1d['updateTargetRect']();const _0x325623=this['_getOrderInContent'](_0x5c5c1d['view']['targetRect']);return super['add'](_0x5c5c1d,_0x325623);}['remove'](_0x38ab8f){if(!this['has'](_0x38ab8f))throw new _0x2e261a('annotationcollection-not-existing-item',null);this['stopListening'](_0x38ab8f['view']['focusTracker']),this['stopListening'](_0x38ab8f['focusableElements']);for(const _0x3c01d7 of _0x38ab8f['focusableElements'])this['_focusTracker']['remove'](_0x3c01d7);return this['_viewToAnnotation']['delete'](_0x38ab8f['view']),this['_innerViewToAnnotation']['delete'](_0x38ab8f['innerView']),super['remove'](_0x38ab8f);}['getByInnerView'](_0x5e6103){return this['_innerViewToAnnotation']['get'](_0x5e6103);}['getByView'](_0x1aefe6){return this['_viewToAnnotation']['get'](_0x1aefe6);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x2a8f8e of this)_0x2a8f8e['updateTargetRect']();this['_sort']();}['_sort'](){const _0x126d36=Array['from'](this)['sort']((_0xb10579,_0x22f88b)=>v(_0xb10579['view']['targetRect'],_0x22f88b['view']['targetRect']));for(let _0x53604e=_0x126d36['length']-0x1;_0x53604e>0x0;_0x53604e--){const _0x347b59=_0x126d36[_0x53604e];_0x53604e!==this['getIndex'](_0x347b59)&&(this['remove'](_0x347b59),this['add'](_0x347b59));}}['_getOrderInContent'](_0x38ad71){let _0x4d2f53=0x0;if(!_0x38ad71)return this['length'];for(const _0x2a8409 of this){const _0x5950ba=_0x2a8409['view']['targetRect'];if(_0x5950ba){if(v(_0x38ad71,_0x5950ba)<0x0)return _0x4d2f53;_0x4d2f53++;}}return _0x4d2f53;}}function v(_0x583375,_0x49bb4b){if(null===_0x583375&&null===_0x49bb4b)return 0x0;if(null===_0x583375)return-0x1;if(null===_0x49bb4b)return 0x1;const _0x2023b9=_0x583375['top']-_0x49bb4b['top'];return 0x0==_0x2023b9?_0x583375['left']-_0x49bb4b['left']:_0x2023b9;}class b extends _0x3ff786{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}constructor(_0x1dd394){super(_0x1dd394),this['collection']=new x(),this['_visibleAnnotations']=new x(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations']();}['add'](_0x39228e){this['collection']['add'](_0x39228e);}['remove'](_0x324d0b){this['collection']['remove'](_0x324d0b),_0x324d0b['destroy']();}['refreshVisibility'](){for(const _0x33bbe6 of this['collection'])_0x33bbe6['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x565733){return this['collection']['getByInnerView'](_0x565733);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x166679 of this['collection'])_0x166679['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x3f8c6c){this['fire']('_activateAnnotation',_0x3f8c6c);}['createAnnotation'](_0x206591){return new d(_0x206591);}['createAnnotationView'](_0x42e77e,_0x1dfe60){return new V(_0x42e77e,_0x1dfe60);}['_addActiveAnnotation'](_0x3ab7ab){const _0x4a9890=new Set(this['activeAnnotations']);_0x4a9890['add'](_0x3ab7ab),this['activeAnnotations']=_0x4a9890;}['_removeActiveAnnotation'](_0x301699){const _0x5dcb15=new Set(this['activeAnnotations']);_0x5dcb15['delete'](_0x301699),this['activeAnnotations']=_0x5dcb15;}['_bindAnnotationsToVisibleAnnotations'](){const _0x4625ee=this['collection'],_0x225f85=this['_visibleAnnotations'];function _0x399bbe(_0x12e578){const _0x10aa44=_0x12e578['source'];_0x10aa44['isVisible']&&!_0x225f85['has'](_0x10aa44)?_0x225f85['add'](_0x10aa44):!_0x10aa44['isVisible']&&_0x225f85['has'](_0x10aa44)&&_0x225f85['remove'](_0x10aa44),_0x10aa44['view']['focusTracker']['remove'](_0x10aa44['view']['element']),_0x10aa44['view']['focusTracker']['add'](_0x10aa44['view']['element']);}this['listenTo'](_0x4625ee,'add',(_0x121cce,_0x4753dd)=>{_0x4753dd['isVisible']&&_0x225f85['add'](_0x4753dd),this['listenTo'](_0x4753dd,'change:isVisible',_0x399bbe);}),this['listenTo'](_0x4625ee,'remove',(_0x540d43,_0x333d0e)=>{_0x225f85['has'](_0x333d0e)&&_0x225f85['remove'](_0x333d0e),this['stopListening'](_0x333d0e,'change:isVisible',_0x399bbe);});}}const Ct=Symbol('noChannel'),vt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class m extends _0x3ff786{['licenseKey'];['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[b,ht,lt];}static get['pluginName'](){return'CommentsRepository';}constructor(_0x1fa530){super(_0x1fa530),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map()),this['licenseKey']=this['context']['config']['get']('licenseKey');const _0x5201f1=this['context']['config'];_0x5201f1['define']('comments.maxCommentsWhenCollapsed',0x2),_0x5201f1['define']('comments.maxThreadTotalWeight',0x1f4),_0x5201f1['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x5201f1['define']('comments.CommentThreadView',yt),_0x5201f1['define']('comments.CommentView',At),_0x5201f1['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x6e8ec5=this['context']['plugins']['get'](b);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x57c53d,_0x4375b6)=>this['_addCommentThread'](_0x4375b6)),this['on']('submitCommentThread',(_0x5470f3,_0x4c7d59)=>this['_submitCommentThread'](_0x4c7d59)),this['on']('resolveCommentThread',(_0x60408f,_0x1e555b)=>this['_resolveCommentThread'](_0x1e555b)),this['on']('resolveCommentThread',(_0x10d2cb,_0x9334db)=>this['_updateActiveAnnotation'](_0x9334db),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x32223e,_0x284fec)=>this['_reopenCommentThread'](_0x284fec)),this['on']('reopenCommentThread',(_0x1cbc03,_0xab7057)=>this['_updateActiveAnnotation'](_0xab7057),{'priority':'lowest'}),this['on']('removeCommentThread',(_0xdab5f3,_0x57b98f)=>this['_removeCommentThread'](_0x57b98f)),this['on']('updateCommentThread',(_0x2cac68,_0xc07237)=>this['_updateCommentThread'](_0xc07237)),this['on']('updateCommentThread',(_0x40bff4,_0xee27c4)=>this['_updateActiveAnnotation'](_0xee27c4),{'priority':'lowest'}),this['on']('addComment',(_0x310bc9,_0x3f3ecf)=>this['_addComment'](_0x3f3ecf)),this['on']('updateComment',(_0xafa011,_0x37b9a8)=>this['_updateComment'](_0x37b9a8)),this['on']('removeComment',(_0x340c86,_0x380cb4)=>this['_removeComment'](_0x380cb4)),this['on']('addComment',(_0x4a2a99,{threadId:_0x1ce1a9,isFromAdapter:_0x57453a})=>{if(_0x57453a)return;const _0x4fddb4=this['getCommentThread'](_0x1ce1a9),_0x41d5cc=_0x4fddb4&&this['_threadToController']['get'](_0x4fddb4);_0x41d5cc&&_0x41d5cc['view']['focus']();},{'priority':'lowest'}),this['listenTo'](_0x6e8ec5,'change:activeAnnotations',(_0x1f782f,_0x55cd79,_0x392b69)=>{const _0x31f35e=Array['from'](_0x392b69)['map'](_0x350ddf=>this['_viewToController']['get'](_0x350ddf['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x31f35e?_0x31f35e['model']:null;});}['afterInit'](){!function(_0x37ff61){function _0xbdee2c(_0x3ba1a5,_0x353566,_0x3b7542){const _0x28e3d0={};_0x28e3d0[_0x55923e([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x28e3d0[_0x55923e([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x28e3d0[_0x55923e([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x28e3d0[_0x55923e([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x28e3d0[_0x55923e([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x28e3d0[_0x55923e([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x28e3d0[_0x55923e([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x28e3d0[_0x55923e([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x28e3d0[_0x55923e([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x28e3d0[_0x55923e([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x28e3d0[_0x55923e([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x245219=new Uint8Array(0x10);for(let _0x34c43b=0xf;_0x34c43b>=0x0;--_0x34c43b)_0x245219[_0x34c43b]=_0x3b7542%0x100,_0x3b7542=parseInt(_0x3b7542/0x100);let _0x6ed662=null,_0x331cfe=0x10;const _0x25d5f3=new Uint8Array(_0x353566),_0x1d7ed1=[],_0xa5e984=[];_0x45a753();for(let _0x73c2a3=0x0;_0x73c2a3<_0x3ba1a5[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x73c2a3++)0x10===_0x331cfe&&(_0x6ed662=_0x3e4e4f(_0x245219),_0x331cfe=0x0,_0x40fdbe(_0x245219)),_0x3ba1a5[_0x73c2a3]^=_0x6ed662[_0x331cfe++];return _0x3ba1a5;function _0x444f93(_0x4ff7a0){const _0x184c90=[];for(let _0x3336f3=0x0;_0x3336f3<_0x4ff7a0[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3336f3+=0x4)_0x184c90[_0x55923e([0x70,0x75,0x73,0x68])](_0x4ff7a0[_0x3336f3]<<0x18|_0x4ff7a0[_0x3336f3+0x1]<<0x10|_0x4ff7a0[_0x3336f3+0x2]<<0x8|_0x4ff7a0[_0x3336f3+0x3]);return _0x184c90;}function _0x40fdbe(_0x4bdd81){for(let _0x309efa=0xf;_0x309efa>=0x0;_0x309efa--){if(0xff!==_0x4bdd81[_0x309efa]){_0x4bdd81[_0x309efa]++;break;}_0x4bdd81[_0x309efa]=0x0;}}function _0x3e4e4f(_0x5b1471){const _0x48c17b=_0x1d7ed1[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x26a824=[0x0,0x0,0x0,0x0];let t=_0x444f93(_0x5b1471);for(let _0x133f8f=0x0;_0x133f8f<0x4;_0x133f8f++)t[_0x133f8f]^=_0x1d7ed1[0x0][_0x133f8f];for(let _0x1eebcd=0x1;_0x1eebcd<_0x48c17b;_0x1eebcd++){for(let _0x31ea35=0x0;_0x31ea35<0x4;_0x31ea35++)_0x26a824[_0x31ea35]=_0x28e3d0[_0x55923e([0x54,0x31])][t[_0x31ea35]>>0x18&0xff]^_0x28e3d0[_0x55923e([0x54,0x32])][t[(_0x31ea35+0x1)%0x4]>>0x10&0xff]^_0x28e3d0[_0x55923e([0x54,0x33])][t[(_0x31ea35+0x2)%0x4]>>0x8&0xff]^_0x28e3d0[_0x55923e([0x54,0x34])][0xff&t[(_0x31ea35+0x3)%0x4]]^_0x1d7ed1[_0x1eebcd][_0x31ea35];t=_0x26a824[_0x55923e([0x73,0x6c,0x69,0x63,0x65])]();}const _0x523eb6=new Uint8Array(0x10);let _0x3cdb8a;for(let _0x2ab9e7=0x0;_0x2ab9e7<0x4;_0x2ab9e7++)_0x3cdb8a=_0x1d7ed1[_0x48c17b][_0x2ab9e7],_0x523eb6[0x4*_0x2ab9e7]=0xff&(_0x28e3d0[_0x55923e([0x53])][t[_0x2ab9e7]>>0x18&0xff]^_0x3cdb8a>>0x18),_0x523eb6[0x4*_0x2ab9e7+0x1]=0xff&(_0x28e3d0[_0x55923e([0x53])][t[(_0x2ab9e7+0x1)%0x4]>>0x10&0xff]^_0x3cdb8a>>0x10),_0x523eb6[0x4*_0x2ab9e7+0x2]=0xff&(_0x28e3d0[_0x55923e([0x53])][t[(_0x2ab9e7+0x2)%0x4]>>0x8&0xff]^_0x3cdb8a>>0x8),_0x523eb6[0x4*_0x2ab9e7+0x3]=0xff&(_0x28e3d0[_0x55923e([0x53])][0xff&t[(_0x2ab9e7+0x3)%0x4]]^_0x3cdb8a);return _0x523eb6;}function _0x45a753(){const _0x24b12=_0x28e3d0[_0x55923e([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x25d5f3[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x5fab3=0x0;_0x5fab3<=_0x24b12;_0x5fab3++)_0x1d7ed1[_0x55923e([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xa5e984[_0x55923e([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x151006=0x4*(_0x24b12+0x1),_0x35ffc1=_0x25d5f3[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x180ba8=_0x444f93(_0x25d5f3);let _0x574048;for(let _0xc46c07=0x0;_0xc46c07<_0x35ffc1;_0xc46c07++)_0x574048=_0xc46c07>>0x2,_0x1d7ed1[_0x574048][_0xc46c07%0x4]=_0x180ba8[_0xc46c07],_0xa5e984[_0x24b12-_0x574048][_0xc46c07%0x4]=_0x180ba8[_0xc46c07];let _0x5d4569,_0x30c955=0x0,t=_0x35ffc1;for(;t<_0x151006;){_0x5d4569=_0x180ba8[_0x35ffc1-0x1],_0x180ba8[0x0]^=_0x28e3d0[_0x55923e([0x53])][_0x5d4569>>0x10&0xff]<<0x18^_0x28e3d0[_0x55923e([0x53])][_0x5d4569>>0x8&0xff]<<0x10^_0x28e3d0[_0x55923e([0x53])][0xff&_0x5d4569]<<0x8^_0x28e3d0[_0x55923e([0x53])][_0x5d4569>>0x18&0xff]^_0x28e3d0[_0x55923e([0x72,0x63,0x6f,0x6e])][_0x30c955]<<0x18,_0x30c955+=0x1;for(let _0x57a6d7=0x1;_0x57a6d7<_0x35ffc1/0x2;_0x57a6d7++)_0x180ba8[_0x57a6d7]^=_0x180ba8[_0x57a6d7-0x1];_0x5d4569=_0x180ba8[_0x35ffc1/0x2-0x1],_0x180ba8[_0x35ffc1/0x2]^=_0x28e3d0[_0x55923e([0x53])][0xff&_0x5d4569]^_0x28e3d0[_0x55923e([0x53])][_0x5d4569>>0x8&0xff]<<0x8^_0x28e3d0[_0x55923e([0x53])][_0x5d4569>>0x10&0xff]<<0x10^_0x28e3d0[_0x55923e([0x53])][_0x5d4569>>0x18&0xff]<<0x18;for(let _0x51e387=_0x35ffc1/0x2+0x1;_0x51e387<_0x35ffc1;_0x51e387++)_0x180ba8[_0x51e387]^=_0x180ba8[_0x51e387-0x1];let _0x1f4f9d,_0x14f4b2,_0x4add42=0x0;for(;_0x4add42<_0x35ffc1&&t<_0x151006;)_0x1f4f9d=t>>0x2,_0x14f4b2=t%0x4,_0x1d7ed1[_0x1f4f9d][_0x14f4b2]=_0x180ba8[_0x4add42],_0xa5e984[_0x24b12-_0x1f4f9d][_0x14f4b2]=_0x180ba8[_0x4add42++],t++;}for(let _0x1f491c=0x1;_0x1f491c<_0x24b12;_0x1f491c++)for(let _0x2d28f0=0x0;_0x2d28f0<0x4;_0x2d28f0++)_0x5d4569=_0xa5e984[_0x1f491c][_0x2d28f0],_0xa5e984[_0x1f491c][_0x2d28f0]=_0x28e3d0[_0x55923e([0x55,0x31])][_0x5d4569>>0x18&0xff]^_0x28e3d0[_0x55923e([0x55,0x32])][_0x5d4569>>0x10&0xff]^_0x28e3d0[_0x55923e([0x55,0x33])][_0x5d4569>>0x8&0xff]^_0x28e3d0[_0x55923e([0x55,0x34])][0xff&_0x5d4569];}}function _0x55923e(_0x394ab8){return _0x394ab8['map'](_0x883e9e=>String['fromCharCode'](_0x883e9e))['join']('');}(_0x4ebc9a=>{function _0x5ee454(){const _0x5efc2d=[{[_0x55923e([0x69,0x64])]:0x1,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x55923e([0x69,0x64])]:0x2,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x55923e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x55923e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x55923e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x55923e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x55923e([0x69,0x64])]:0x3,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x55923e([0x69,0x64])]:0x4,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x55923e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x55923e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x55923e([0x69,0x64])]:0x5,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x66,0x67,0x69])]:[0xc]}},{[_0x55923e([0x69,0x64])]:0x6,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x66,0x67,0x69])]:[0xc]}},{[_0x55923e([0x69,0x64])]:0x7,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x66,0x67,0x69])]:[0xc]}},{[_0x55923e([0x69,0x64])]:0x8,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x66,0x67,0x69])]:[0xc]}},{[_0x55923e([0x69,0x64])]:0x9,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x55923e([0x69,0x64])]:0xa,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x66,0x67,0x69])]:[0xc]}},{[_0x55923e([0x69,0x64])]:0xb,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x55923e([0x69,0x64])]:0xc,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x55923e([0x69,0x64])]:0xd,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x66,0x67,0x69])]:[0xc]}},{[_0x55923e([0x69,0x64])]:0xe,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x55923e([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x55923e([0x69,0x64])]:0xf,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x55923e([0x69,0x64])]:0x10,[_0x55923e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x55923e([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x55923e([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x55923e([0x66,0x67,0x69])]:[0xc]}}];return _0x1579c2(_0x5efc2d),_0x5efc2d;function _0x5c663a(_0x5f0837){return 0x1<<_0x5f0837-0x1;}function _0x1579c2(_0x18f533){_0x18f533[_0x55923e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd34124=>{_0xd34124[_0x55923e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5c663a(_0xd34124[_0x55923e([0x69,0x64])]),_0x30d805(_0xd34124)&&_0xd34124[_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1579c2(_0xd34124[_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x30d805(_0x44fa0f){return _0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x44fa0f;}const _0x5627e7=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x3dcf58=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x1211b0(_0x1026b8){const _0x56fb52=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5aad4a(_0x1026b8,new Uint8Array([..._0x5627e7,..._0x56fb52,..._0x3dcf58]));}function _0x5aad4a(_0x49da2e,_0x54c08c){const _0x53319c=_0x2d0ed3(_0x49da2e),_0x1cf65e=Array[_0x55923e([0x66,0x72,0x6f,0x6d])](_0x3ef967(_0x53319c)),_0x578994=_0x1cf65e[_0x55923e([0x70,0x6f,0x70])](),_0x10cbb4=_0x1cf65e[_0x55923e([0x70,0x6f,0x70])]();return _0x132199(_0xbdee2c(_0x1cf65e,_0x54c08c,_0x10cbb4+0x100*_0x578994));}function _0x2d0ed3(_0x5afc47){const _0x3817bd=atob(_0x5afc47),[_0x3aee9d,_0x3d7271]=_0x3817bd[_0x55923e([0x73,0x70,0x6c,0x69,0x74])](_0x55923e([0x2d]));try{if(atob(_0x3d7271))return atob(_0x3aee9d);}catch(_0x234041){}return _0x3817bd;}function _0x4ef1d8(_0x37df3c){try{const _0xf1d514=_0x1211b0(_0x37df3c),_0x69ad31=JSON[_0x55923e([0x70,0x61,0x72,0x73,0x65])](_0xf1d514),_0x51f232=parseInt(_0x69ad31[_0x55923e([0x31])]),_0x572737=_0x69ad31[_0x55923e([0x32])]||'',_0x298e9b=parseInt(_0x69ad31[_0x55923e([0x33])]),_0x2b3d17=parseInt(_0x69ad31[_0x55923e([0x34])])||0x0,_0xd4e26d=parseInt(_0x69ad31[_0x55923e([0x35])])||0x0;return{[_0x55923e([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x572737,[_0x55923e([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2b3d17,[_0x55923e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x51f232,[_0x55923e([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x298e9b,[_0x55923e([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xd4e26d};}catch(_0x19ff74){return null;}}const _0x3c9d0c=_0x5ee454(),_0x30b574={[_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x303b15,[_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x325c31,[_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x1967cb},_0xa35407=_0x4ebc9a[_0x55923e([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x210415=_0x55923e([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4ebc9a?_0x4ebc9a['context']:_0x4ebc9a['editor'],_0x28fde1=_0x55923e([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x30]),_0x1127cc=_0x55923e([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x1f782a=_0x210415['config']['get'](_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x318e88=_0x3c9d0c[_0x55923e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30d805)[_0x55923e([0x66,0x69,0x6e,0x64])](_0xfe7afd=>_0xfe7afd[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xa35407);function _0x231428(_0x3515eb,_0x191d83){_0x30b574[_0x191d83[_0x55923e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3515eb,_0x191d83),_0x191d83[_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x191d83[_0x55923e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x55923e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x213019=>_0x1a08ee(_0x210415,_0x213019[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x55923e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a3bd1=>_0x231428(_0x3515eb,_0x5a3bd1));}function _0x303b15(_0x5d1433,_0xd2f45c){_0x2b40da(_0x1961e9(_0x5d1433,_0xd2f45c),_0xd2f45c);}function _0x325c31(_0x438d71,_0x587358){function _0x4330f3(_0x365948,_0x4a03c5){try{if(_0x1a08ee(_0x210415,_0x55923e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x365948){const _0x162423=_0x54eada(_0x210415,_0x55923e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x55923e([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x162423)/0x2>_0x365948[_0x55923e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3ea215(_0x4a03c5[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1961e9(_0x365948,_0x4a03c5);}catch(_0xe514c0){return _0x3ea215(_0x4a03c5[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2b40da(_0x4330f3(_0x438d71,_0x587358),_0x587358);}function _0x1967cb(_0x3e5d49,_0x1df09b){const _0x4675b7=_0x3dcf58[0x0]*_0x5627e7[0x1],_0x30d0c6=_0x3dcf58[0x0]*_0x5627e7[0x2],_0x45ce23=_0x3dcf58[0x2]*_0x5627e7[0x2];_0x1a08ee(_0x210415,_0x55923e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x54eada(_0x210415,_0x55923e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x55923e([0x73,0x74,0x61,0x74,0x65])]==_0x55923e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3e35ab()]=_0x45ce23);function _0x3de405(_0x371c4b,_0x593318){try{return _0x1d34f0()?_0x3ea215(_0x593318[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x56,0x61,0x6c,0x69,0x64])):_0x1961e9(_0x371c4b,_0x593318);}catch(_0xe817e0){return _0x3ea215(_0x593318[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4cd019(_0x2ecb49,_0x27946b){const _0x276917=0x7;if(_0x2ecb49==_0x27946b[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x210da1();else{if(_0x2ecb49==_0x27946b[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x54,0x72,0x69,0x61,0x6c])){const _0xf64c93=_0x38478d();_0xf64c93&&_0x889b7b(_0xf64c93,_0x27946b[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0xf4b42b=_0x5bd4ab();window[_0x55923e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x889b7b(_0x55923e([0x74,0x69,0x6d,0x65]),_0x27946b[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0xf4b42b);const _0x5745f8=_0x54eada(_0x210415,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x55923e([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5745f8[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x276917?_0x889b7b(_0x55923e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x27946b[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5745f8['on'](_0x55923e([0x61,0x64,0x64]),()=>{_0x5745f8[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x276917&&_0x889b7b(_0x55923e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x27946b[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x38478d(){if(!_0x1a08ee(_0x210415,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x74d78a in window)if(Number['isNaN'](Number(_0x74d78a))){if(window[_0x74d78a]===_0x4675b7)return _0x55923e([0x74,0x69,0x6d,0x65]);if(window[_0x74d78a]===_0x30d0c6)return _0x55923e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1d34f0(){if(!_0x1a08ee(_0x210415,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3c9c06 in window)if(Number['isNaN'](Number(_0x3c9c06))&&window[_0x3c9c06]===_0x45ce23)return!0x0;return!0x1;}function _0x889b7b(_0x322ea4,_0x25b8f0){_0x210da1(),_0x3ea215(_0x25b8f0+_0x55923e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x322ea4),window[_0x3e35ab()]=_0x322ea4===_0x55923e([0x74,0x69,0x6d,0x65])?_0x4675b7:_0x30d0c6;}function _0x5bd4ab(){let _0x4533a6=_0x3dcf58[0x6]*_0x5627e7[0x8]*_0x5627e7[0x6];return _0x1a08ee(_0x210415,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4533a6/=0xa),_0x4533a6;}function _0x210da1(){const _0x520cca=_0x210415;function _0x2643ae(){_0x1a08ee(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x55923e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x55923e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x55923e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x55923e([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x396d63,_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x55923e([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x396d63,_0x520cca[_0x55923e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55923e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x396d63,_0x520cca[_0x55923e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55923e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x396d63,_0x520cca[_0x55923e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55923e([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1a08ee(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x55923e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x55923e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x55923e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x55923e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x396d63,_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x55923e([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x396d63);}_0x520cca[_0x55923e([0x73,0x74,0x61,0x74,0x65])]==_0x55923e([0x72,0x65,0x61,0x64,0x79])?_0x2643ae():_0x520cca[_0x55923e([0x6f,0x6e,0x63,0x65])](_0x55923e([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1a08ee(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x2643ae(),_0x1a08ee(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x38bb0d=_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x20b586=_0x38bb0d['getRevision'](0x0),_0x44753b=_0x38bb0d['getEarlierVisibleRevision'](_0x20b586[_0x55923e([0x69,0x64])]);_0x54eada(_0x520cca,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x55923e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x20b586[_0x55923e([0x69,0x64])],_0x44753b?_0x44753b[_0x55923e([0x69,0x64])]:null,0x1)['then'](()=>_0x2643ae());}});}_0x4cd019(_0x3de405(_0x3e5d49,_0x1df09b),_0x1df09b);}function _0x1961e9(_0xb93ba0,_0x4bc0eb){try{return _0x3f1f12(_0x4bc0eb)?_0x3ea215(_0x4bc0eb[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x56,0x61,0x6c,0x69,0x64])):_0xb93ba0&&_0x5a2017(_0xb93ba0[_0x55923e([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4bc0eb)?_0xb93ba0[_0x55923e([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x55923e([0x6f,0x70,0x65,0x6e])][_0x55923e([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x28fde1)/0x2>_0xb93ba0[_0x55923e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3ea215(_0x4bc0eb[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xb93ba0[_0x55923e([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3ea215(_0x4bc0eb[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x54,0x72,0x69,0x61,0x6c])):_0x3ea215(_0x4bc0eb[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x56,0x61,0x6c,0x69,0x64])):_0x3ea215(_0x4bc0eb[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3ebb2f){return _0x3ea215(_0x4bc0eb[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2b40da(_0x4b079c,_0x360eb6){if(_0x210415 instanceof _0x48e836){const _0x54a921=_0x210415;_0x4b079c==_0x360eb6[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x13c963(_0x54a921):_0x4b079c==_0x360eb6[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x54,0x72,0x69,0x61,0x6c])&&window[_0x55923e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x13c963(_0x54a921),_0x3ea215(_0x360eb6[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x3dcf58[0x6]*_0x5627e7[0x8]*_0x5627e7[0x6]),_0x54a921[_0x55923e([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x55923e([0x6f,0x6e])](_0x55923e([0x61,0x64,0x64]),(_0x54b774,_0x49cabb)=>{_0x4b079c!=_0x360eb6[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4b079c!=_0x360eb6[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4b079c!=_0x360eb6[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x24299a(_0x49cabb);});}else{const _0x452168=_0x210415;_0x4b079c==_0x360eb6[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x24299a(_0x452168):_0x4b079c==_0x360eb6[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x54,0x72,0x69,0x61,0x6c])&&_0x452168[_0x55923e([0x6f,0x6e])](_0x55923e([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x46a3d1=0x0;_0x452168[_0x55923e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55923e([0x6f,0x6e])](_0x55923e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3347df,_0x36cbcf)=>{_0x36cbcf[0x0][_0x55923e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46a3d1++,0x1f8===_0x46a3d1&&(_0x24299a(_0x452168),_0x3ea215(_0x360eb6[_0x55923e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x55923e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x3347df[_0x55923e([0x6f,0x66,0x66])]());},{'priority':_0x55923e([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3ea215(_0x26fdfd){const _0x237249=_0x3e35ab();return _0x210415[_0x237249]=_0x26fdfd,_0x26fdfd;}function _0x3e35ab(){const _0x5067ac=String(window[_0x55923e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55923e([0x6e,0x6f,0x77])]())[_0x55923e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55923e([0x2e]),'');let _0x242795='';for(let _0x437a11=0x0;_0x437a11<_0x5067ac[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x437a11+=0x2){let _0x4e0cab=parseInt(_0x5067ac[_0x55923e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x437a11,_0x437a11+0x2));_0x4e0cab>=_0x1127cc[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e0cab-=_0x1127cc[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x242795+=_0x1127cc[_0x4e0cab];}return _0x242795;}function _0x13c963(_0x2b8fc4){for(const _0x3e2f8e of _0x2b8fc4[_0x55923e([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x24299a(_0x3e2f8e);_0x54eada(_0x2b8fc4,_0x55923e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x55923e([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x54eada(_0x2b8fc4,_0x55923e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x55923e([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x396d63;}function _0x24299a(_0x48000d){function _0x117d22(){_0x48000d[_0x55923e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55923e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x396d63,_0x48000d[_0x55923e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55923e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x396d63,_0x48000d[_0x55923e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55923e([0x6d,0x6f,0x64,0x65,0x6c]));}_0x48000d[_0x55923e([0x73,0x74,0x61,0x74,0x65])]==_0x55923e([0x72,0x65,0x61,0x64,0x79])?_0x117d22():_0x48000d[_0x55923e([0x6f,0x6e,0x63,0x65])](_0x55923e([0x72,0x65,0x61,0x64,0x79]),()=>_0x117d22());}function _0x396d63(){return null;}function _0x5a2017(_0x2dfb38,_0x372f32){const _0x217789=!!(_0x2dfb38&_0x372f32[_0x55923e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x5fbcc8=_0x1085ad(_0x2dfb38,_0x372f32);return _0x217789||_0x5fbcc8;}function _0x1085ad(_0x1c4684,_0x49cd36){const _0x5949be=(_0x49cd36[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x55923e([0x66,0x67,0x69])]||null;return!!_0x5949be&&_0x3c9d0c[_0x55923e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40cf80=>_0x5949be[_0x55923e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40cf80[_0x55923e([0x69,0x64])]))[_0x55923e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xae7695=>!_0x4fc8f4(_0xae7695))[_0x55923e([0x73,0x6f,0x6d,0x65])](_0x403f0f=>!!(_0x1c4684&_0x403f0f[_0x55923e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4fc8f4(_0x2682c6){const _0x7eb86a={[_0x55923e([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x46d8e4};return!!_0x2682c6['forbiddenHandler']&&_0x7eb86a[_0x2682c6['forbiddenHandler']]();}function _0x46d8e4(){return!window[_0x55923e([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1a08ee(_0x210415,_0x55923e([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3f1f12(_0x418695){if(!_0x1a08ee(_0x210415,_0x418695[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1b0087=_0x418695[_0x55923e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x473e01=_0x1b0087[_0x55923e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xe19e96=_0x1b0087[_0x55923e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4f6e2e=_0x1b0087[_0x55923e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1a08ee(_0x210415,_0x55923e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x54eada(_0x210415,_0x55923e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x55923e([0x73,0x74,0x61,0x74,0x65])]==_0x55923e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x473e01)return!0x0;if(_0x1a08ee(_0x210415,_0x55923e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x54eada(_0x210415,_0x55923e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x55923e([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x55923e([0x65,0x6e,0x64])&&_0xe19e96)return!0x0;return!(!_0x1a08ee(_0x210415,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x54eada(_0x210415,_0x55923e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x55923e([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x55923e([0x65,0x6e,0x64])||!_0x4f6e2e);}function _0x1a08ee(_0x2f1584,_0x4b64f1){return _0x2f1584[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x55923e([0x68,0x61,0x73])](_0x4b64f1);}function _0x54eada(_0x2a3099,_0xf2fd16){return _0x2a3099[_0x55923e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x55923e([0x67,0x65,0x74])](_0xf2fd16);}function _0x132199(_0x277cdc){let _0x39dd7b='';for(const _0x54c9ff of _0x277cdc)_0x39dd7b+=String[_0x55923e([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x54c9ff);return _0x39dd7b;}function _0x3ef967(_0x466ed9){const _0x5579bc=new Uint8Array(_0x466ed9[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x41f73e=0x0;_0x41f73e<_0x466ed9[_0x55923e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41f73e++)_0x5579bc[_0x41f73e]=_0x466ed9[_0x55923e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41f73e);return _0x5579bc;}_0x318e88&&_0x231428(_0x4ef1d8(_0x1f782a),_0x318e88);})(_0x37ff61);}(this);}set['adapter'](_0x14a4ab){if(this['_adapter'])throw new _0x2e261a('commentsrepository-adapter-already-set');this['_adapter']=_0x14a4ab;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x3bcf3c=Ct,threadId:_0x142ea=_0x3519e3(),comments:_0x51602e=[],unlinkedAt:_0x48df31=null,resolvedAt:_0x1a52d9=null,resolvedBy:_0x55cbe9=null,target:_0xcc58c3=null,context:_0x29e53d=null,attributes:_0x10955b={},isResolvable:_0x17b1e4=!0x0,isSubmitted:_0x33b254=!0x1,isFromAdapter:_0x2b1445=!0x1}={}){return this['fire'](gt('addCommentThread',_0x3bcf3c),{'channelId':_0x3bcf3c,'threadId':_0x142ea,'comments':_0x51602e,'unlinkedAt':_0x48df31,'resolvedAt':_0x1a52d9,'resolvedBy':_0x55cbe9,'target':_0xcc58c3,'context':_0x29e53d,'attributes':_0x10955b,'isFromAdapter':_0x2b1445,'isResolvable':_0x17b1e4,'isSubmitted':_0x33b254}),this['getCommentThread'](_0x142ea);}['openNewCommentThread']({channelId:_0x146d94=Ct,threadId:_0x303d96=_0x3519e3(),target:_0x1db5e6,context:_0x117104=null,isResolvable:_0x43aeae=!0x0}){if(this['_readOnlyChannels']['has'](_0x146d94)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x1db5e6)throw new _0x2e261a('commentsrepository-missing-target');const _0x18c661=this['addCommentThread']({'channelId':_0x146d94,'threadId':_0x303d96,'target':_0x1db5e6,'context':_0x117104,'isResolvable':_0x43aeae});if(!_0x18c661)return null;const _0x4c982c=this['_threadToController']['get'](_0x18c661),_0x4b21b5=_0x4c982c['view']['commentThreadInputView']['commentInputView'],_0x2b1e69=this['context']['plugins']['get'](b),_0x743bda=_0x2b1e69['getByInnerView'](_0x4c982c['view']);return _0x2b1e69['activate'](_0x743bda),_0x4b21b5['once']('editorReady',()=>_0x4b21b5['focus']()),_0x18c661;}['hasCommentThread'](_0x3d8b65){if('string'!=typeof _0x3d8b65)throw new _0x2e261a('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x3d8b65);}['updateCommentThread']({channelId:_0x246441=Ct,threadId:_0x3cd887,context:_0x59fcf0,unlinkedAt:_0x8378ee,attributes:_0x2589de,isFromAdapter:_0x12be52=!0x1}){return this['fire'](gt('updateCommentThread',_0x246441),{'channelId':_0x246441,'threadId':_0x3cd887,'context':_0x59fcf0,'unlinkedAt':_0x8378ee,'attributes':_0x2589de,'isFromAdapter':_0x12be52}),this['getCommentThread'](_0x3cd887);}['getCommentThread'](_0x4021aa){if('string'!=typeof _0x4021aa)throw new _0x2e261a('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x4021aa);}['fetchCommentThread']({channelId:_0x1d451d,threadId:_0x46ebea}={}){const _0x15fed0=this['getCommentThread'](_0x46ebea);if(_0x15fed0)return Promise['resolve'](_0x15fed0);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x2e261a('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x1d451d,'threadId':_0x46ebea})['then'](_0x53231d=>this['hasCommentThread'](_0x46ebea)?this['getCommentThread'](_0x46ebea):_0x53231d?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x1d451d},_0x53231d)):void 0x0)['catch'](_0x4f7bdb=>{throw console['error'](_0x4f7bdb),new _0x2e261a('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x2587fa,skipNotAttached:_0x8ff9be=!0x1,skipEmpty:_0xe3a168=!0x1,toJSON:_0x19884f=!0x1}={}){const _0x2fa333=[];for(const _0x300c78 of this['_threads']['values']())_0x2587fa&&_0x300c78['channelId']!==_0x2587fa||_0x8ff9be&&!_0x300c78['isAttached']||_0xe3a168&&0x0===_0x300c78['length']||_0x2fa333['push'](_0x300c78);return _0x19884f?_0x2fa333['map'](_0x4033cc=>_0x4033cc['toJSON']()):_0x2fa333;}['setActiveCommentThread'](_0x4b119e){const _0x18c4ee=this['context']['plugins']['get'](b);if(!_0x4b119e)return void(this['activeCommentThread']&&_0x18c4ee['deactivateAll']());const _0x57707d=this['getCommentThread'](_0x4b119e);if(!_0x57707d)throw new _0x2e261a('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x4b119e});if(!this['_threadToController']['has'](_0x57707d))throw new _0x2e261a('commentsrepository-active-not-attached',null,{'threadId':_0x4b119e});const _0x3d34d5=_0x18c4ee['getByInnerView'](this['_threadToController']['get'](_0x57707d)['view']);_0x18c4ee['activate'](_0x3d34d5);}['switchReadOnly'](_0x37d12c,_0x13ed35){_0x37d12c?this['_readOnlyChannels']['add'](_0x13ed35):this['_readOnlyChannels']['delete'](_0x13ed35),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x20eee4){return this['_readOnlyChannels']['has'](_0x20eee4)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x3585dc,_0x268232){return new wt(_0x3585dc,_0x268232);}['setPermissions'](_0x33f626,_0xf974d1=Ct){this['_permissions']['set'](_0xf974d1,_0x33f626),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0xa4cb38=Ct){return this['_permissions']['has'](_0xa4cb38)?this['_permissions']['get'](_0xa4cb38):vt;}['_addCommentThread']({channelId:_0x2140f0,threadId:_0x182bc9,comments:_0x10d932,unlinkedAt:_0x411758,resolvedAt:_0xd2db0c,resolvedBy:_0x56ab19,target:_0xc3ece2,context:_0x19e0c7,attributes:_0x4ec5da,isFromAdapter:_0x400f4c,isResolvable:_0x1542fb,isSubmitted:_0x3dae84}){if('string'!=typeof _0x182bc9)throw new _0x2e261a('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x182bc9});if(this['hasCommentThread'](_0x182bc9))throw new _0x2e261a('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x182bc9});const _0x43f265=new ie(this,{'channelId':_0x2140f0,'id':_0x182bc9,'context':_0x19e0c7,'attributes':_0x4ec5da,'unlinkedAt':_0x411758,'resolvedAt':_0xd2db0c,'resolvedBy':_0x56ab19?this['context']['plugins']['get'](lt)['getUser'](_0x56ab19):null,'isResolvable':_0x1542fb,'isSubmitted':_0x3dae84||_0x400f4c});this['_threads']['set'](_0x182bc9,_0x43f265);for(const _0x560494 of _0x10d932)_0x43f265['_add'](this['_createNewComment']({'threadId':_0x182bc9,..._0x560494}));return _0xc3ece2&&_0x43f265['attachTo'](_0xc3ece2),_0x400f4c||!_0x43f265['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x2140f0,'threadId':_0x182bc9});}['_submitCommentThread']({channelId:_0x56be24,threadId:_0xa735f8}){if(!this['hasCommentThread'](_0xa735f8))throw new _0x2e261a('commentsrepository-missing-comment-thread',this);const _0x40f727=this['getCommentThread'](_0xa735f8);if(_0x40f727['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x5c981e,comments:_0xd71cda,resolvedAt:_0x39dfd2,resolvedBy:_0x443911,context:_0x37b6f9,attributes:_0x3a357a}=_0x40f727,_0x392d13=this['context']['plugins']['get']('PendingActions'),_0x2b5cdc=_0x392d13['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x56be24,'threadId':_0x5c981e,'comments':_0xd71cda['map'](_0x54383b=>_0x54383b['toJSON']()),'resolvedAt':_0x39dfd2,'resolvedBy':_0x443911?_0x443911['id']:_0x443911,'context':_0x37b6f9,'attributes':_0x3a357a})['then'](({comments:_0x735713})=>{_0x392d13['remove'](_0x2b5cdc);for(const _0x1f0147 of _0x735713)this['_updateComment']({'channelId':_0x56be24,'threadId':_0xa735f8,'commentId':_0x1f0147['commentId'],'createdAt':_0x1f0147['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x1de734=>{throw console['error'](_0x1de734),new _0x2e261a('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x18ce85,target:_0x3c703d}){const _0xaff6b0=this['getCommentThread'](_0x18ce85);if(!_0xaff6b0)throw new _0x2e261a('commentsrepository-attach-missing-comment-thread',this);const _0x5607fc=this['context']['plugins']['get']('PendingActions'),_0x38447d=this['context']['plugins']['get'](b),_0x5df8c1=this['_createCommentThreadView'](_0xaff6b0),_0x30ceae=new wt(_0xaff6b0,_0x5df8c1);let _0xa20556=null;_0x5df8c1['on']('change:isDirty',(_0x5c129d,_0x3f0033,_0x509841)=>{_0x509841?_0xa20556=_0x5607fc['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0xa20556&&(_0x5607fc['remove'](_0xa20556),_0xa20556=null);}),this['_threadToController']['set'](_0xaff6b0,_0x30ceae),this['_viewToController']['set'](_0x5df8c1,_0x30ceae);const _0x5e2026=new V(this['context']['locale'],_0x5df8c1);_0x5e2026['bind']('length')['to'](_0x5df8c1),_0x5e2026['bind']('isDirty')['to'](_0x5df8c1,'isDirty',_0x5df8c1,'length',(_0x34466e,_0x67d3a4)=>_0x34466e||!_0x67d3a4),_0x5e2026['bind']('isActive')['to'](_0x5df8c1),_0x5e2026['type']='comment';const _0x406eb7=new d({'view':_0x5e2026,'target':_0x3c703d,'type':'comment','isVisible':!_0xaff6b0['isResolved']});return this['_bindAnnotationToEditors'](_0x5df8c1,_0x406eb7),_0x38447d['add'](_0x406eb7),_0x406eb7;}['_bindAnnotationToEditors'](_0x2a23fa,_0xf295ad){this['listenTo'](_0x2a23fa,'editorReady',(_0x2d5863,_0xaadcef)=>{const _0x385334=_0xaadcef['ui']['view']['body']['bodyCollectionContainer'];_0xf295ad['focusableElements']['add'](_0x385334),this['context']instanceof mt&&this['context']['ui']['focusTracker']['add'](_0x385334);},{'priority':'highest'}),this['listenTo'](_0x2a23fa,'editorDestroyed',(_0x248280,_0x3e9d57)=>{const _0x1d2094=_0x3e9d57['ui']['view']['body']['bodyCollectionContainer'];_0xf295ad['focusableElements']['has'](_0x1d2094)&&_0xf295ad['focusableElements']['remove'](_0x1d2094),this['context']instanceof mt&&this['context']['ui']['focusTracker']['remove'](_0x1d2094);});}['_unbindEditors'](_0x2512d0){this['stopListening'](_0x2512d0,'editorReady'),this['stopListening'](_0x2512d0,'editorDestroyed');}['_createCommentThreadView'](_0x31f7ab){const _0x5dee12=this['context']['plugins']['get'](lt),{config:_0x4301c1,locale:_0x5113ad}=this['context'],_0x24173e=dt(_0x4301c1['get']('locale'));return new(0x0,(_0x4301c1['get']('comments'))['CommentThreadView'])(_0x5113ad,_0x31f7ab,_0x5dee12['me'],{'editorConfig':{..._0x4301c1['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x4301c1['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x4301c1['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x4301c1['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x4301c1['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x24173e,'CommentView':_0x4301c1['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x390502,channelId:_0x46c0f1,resolvedAt:_0x5ef9ae,resolvedBy:_0x24548a,isFromAdapter:_0x1071e4}){if(!this['hasCommentThread'](_0x390502))throw new _0x2e261a('commentsrepository-missing-comment-thread',null,{'threadId':_0x390502});const _0x12e680=this['getCommentThread'](_0x390502);if(_0x12e680['isResolved'])throw new _0x2e261a('commentsrepository-resolved-comment-thread',null,{'threadId':_0x390502});const _0x10c56e=this['context']['plugins']['get'](lt);if(_0x12e680['resolvedBy']=_0x10c56e['getUser'](_0x24548a),_0x12e680['resolvedAt']=_0x5ef9ae,_0x1071e4||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x441929=this['context']['plugins']['get']('PendingActions'),_0x543111=_0x441929['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x46c0f1,'threadId':_0x390502})['then'](({resolvedAt:_0x5caa5d,resolvedBy:_0x24d4b7})=>{_0x441929['remove'](_0x543111),_0x12e680['resolvedBy']['id']!==_0x24d4b7&&(_0x12e680['resolvedBy']=_0x10c56e['getUser'](_0x24d4b7)),_0x12e680['resolvedAt']=_0x5caa5d;})['catch'](_0x525c6e=>{throw console['error'](_0x525c6e),new _0x2e261a('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x565b69,channelId:_0x34d0c1,isFromAdapter:_0x5e363e}){if(!this['hasCommentThread'](_0x565b69))throw new _0x2e261a('commentsrepository-missing-comment-thread',null,{'threadId':_0x565b69});const _0x5bf7c3=this['getCommentThread'](_0x565b69);if(!_0x5bf7c3['isResolved'])throw new _0x2e261a('commentsrepository-reopen-comment-thread',null,{'threadId':_0x565b69});if(_0x5bf7c3['resolvedBy']=null,_0x5bf7c3['resolvedAt']=null,_0x5e363e||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x3256b6=this['context']['plugins']['get']('PendingActions'),_0x2a642d=_0x3256b6['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x34d0c1,'threadId':_0x565b69})['then'](()=>_0x3256b6['remove'](_0x2a642d))['catch'](_0x290a5b=>{throw console['error'](_0x290a5b),new _0x2e261a('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x1bd223,isFromAdapter:_0x1f0d3f}){const _0x12251d=this['getCommentThread'](_0x1bd223);if(!_0x12251d)throw new _0x2e261a('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x1bd223),this['_threads']['delete'](_0x1bd223),!_0x12251d['isSubmitted']||_0x1f0d3f||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x3ce3cc=this['context']['plugins']['get']('PendingActions'),{channelId:_0x576b97}=_0x12251d,_0x2dbbf5=_0x3ce3cc['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x576b97,'threadId':_0x1bd223})['then'](()=>_0x3ce3cc['remove'](_0x2dbbf5))['catch'](_0x28064d=>{throw console['error'](_0x28064d),new _0x2e261a('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x1bef56,unlinkedAt:_0x5bf8b7,context:_0x29b34b,attributes:_0x52f74f,isFromAdapter:_0x661174}){if('string'!=typeof _0x1bef56)throw new _0x2e261a('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x1bef56});if(!this['hasCommentThread'](_0x1bef56))throw new _0x2e261a('commentsrepository-missing-comment-thread',null,{'threadId':_0x1bef56});const _0x539435=this['getCommentThread'](_0x1bef56);let _0x4e3975=!0x1;if(void 0x0!==_0x29b34b&&_0x539435['context']!==_0x29b34b&&(_0x539435['context']=_0x29b34b,_0x4e3975=!0x0),void 0x0!==_0x5bf8b7&&_0x539435['unlinkedAt']!==_0x5bf8b7&&(_0x539435['unlinkedAt']=_0x5bf8b7,_0x4e3975=!0x0),_0x52f74f&&!ft(_0x52f74f,_0x539435['attributes'])&&(_0x539435['attributes']=_0x52f74f,_0x4e3975=!0x0),!_0x4e3975)return Promise['resolve']();if(!_0x539435['isSubmitted']||_0x661174||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x1f2ff4=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5a1493}=_0x539435,_0x284569=_0x1f2ff4['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x5a1493,'threadId':_0x1bef56,'context':_0x29b34b,'unlinkedAt':_0x5bf8b7,'attributes':_0x52f74f})['then'](()=>_0x1f2ff4['remove'](_0x284569))['catch'](_0x4026f9=>{throw console['error'](_0x4026f9),new _0x2e261a('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x24810d){const _0x8ce87f=this['context']['plugins']['get'](b),_0x34ee79=this['getCommentThread'](_0x24810d);if(this['_threadToController']['has'](_0x34ee79)){const _0x43b298=this['_threadToController']['get'](_0x34ee79),_0x4fddee=_0x43b298['view'],_0x21e083=_0x8ce87f['getByInnerView'](_0x4fddee);this['_threadToController']['delete'](_0x34ee79),this['_viewToController']['delete'](_0x4fddee),_0x21e083&&_0x8ce87f['remove'](_0x21e083),_0x43b298['destroy'](),_0x4fddee['destroy']()['then'](()=>{this['_unbindEditors'](_0x4fddee);});}}['_updateActiveAnnotation']({threadId:_0x422525,resolvedAt:_0x2ee1d5}){const _0x576a7d=!!_0x2ee1d5,_0x2e6c77=this['context']['plugins']['get'](b),_0x21af05=this['getCommentThread'](_0x422525);if(this['_threadToController']['has'](_0x21af05)){const _0x1a4764=this['_threadToController']['get'](_0x21af05)['view'],_0x15fb62=_0x2e6c77['getByInnerView'](_0x1a4764);_0x15fb62&&(_0x576a7d&&_0x2e6c77['_removeActiveAnnotation'](_0x15fb62),_0x15fb62['refreshVisibility']());}}['_getExternalAuthor'](_0x3bdb66){const _0x5493e0=this['context']['plugins']['get'](lt),_0xb54cdd=ct('external:'+_0x3bdb66),_0x105ed3=_0x5493e0['getUser'](_0xb54cdd);return _0x105ed3||_0x5493e0['addUser']({'id':_0xb54cdd,'name':_0x3bdb66});}['_createNewComment']({threadId:_0x1d282d,commentId:_0x1f80df=_0x3519e3(),content:_0x550788,authorId:_0x43e0b6,createdAt:_0x59b3e0,attributes:_0xcde2ae}){if('string'!=typeof _0x1f80df)throw new _0x2e261a('commentsrepository-invalid-commentid');if('string'!=typeof _0x43e0b6)throw new _0x2e261a('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x550788||!_0x550788['trim']())throw new _0x2e261a('commentsrepository-invalid-comment-content');const _0x30db69=this['context']['plugins']['get'](lt)['getUser'](_0x43e0b6);if(!_0x30db69)throw new _0x2e261a('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x43e0b6});let _0x285006=null,_0x167017=_0x59b3e0;return _0xcde2ae&&_0xcde2ae['@external']&&(_0x285006=this['_getExternalAuthor'](_0xcde2ae['@external']['authorName']),_0x167017=new Date(_0xcde2ae['@external']['createdAt'])),new se(this,{'threadId':_0x1d282d,'id':_0x1f80df,'author':_0x285006||_0x30db69,'creator':_0x30db69,'content':_0x550788,'createdAt':_0x59b3e0,'authoredAt':_0x167017,'attributes':_0xcde2ae});}['_addComment'](_0x3ea8c2){let {threadId:_0x3345be,content:_0x3d400d,attributes:_0x8fecf9,isFromAdapter:_0x2e4d84}=_0x3ea8c2;const _0x1e3e48=this['getCommentThread'](_0x3ea8c2['threadId']);if(!_0x1e3e48)throw new _0x2e261a('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x1fd905=this['_createNewComment'](_0x3ea8c2),{id:_0x52c74d}=_0x1fd905;if(_0x1e3e48['_add'](_0x1fd905),_0x2e4d84||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x1e3e48['isSubmitted'])return Promise['resolve']();const _0x1bc9d0=this['context']['plugins']['get']('PendingActions'),{channelId:_0x339b56}=_0x1e3e48,_0x3a2810=_0x1bc9d0['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x8fecf9||(_0x8fecf9={}),this['adapter']['addComment']({'channelId':_0x339b56,'threadId':_0x3345be,'commentId':_0x52c74d,'content':_0x3d400d,'attributes':_0x8fecf9})['then'](_0x4a00d6=>{_0x1bc9d0['remove'](_0x3a2810),_0x4a00d6&&this['_updateComment']({'channelId':_0x339b56,'threadId':_0x3345be,'commentId':_0x52c74d,'createdAt':_0x4a00d6['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x44906d=>{throw console['error'](_0x44906d),new _0x2e261a('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x448c1f,commentId:_0x331016,content:_0x2fe335,createdAt:_0x98d9c2,attributes:_0x1c58c6,isFromAdapter:_0x3d5e0a}){if(void 0x0!==_0x2fe335&&('string'!=typeof _0x2fe335||!_0x2fe335['trim']()['length']))throw new _0x2e261a('commentsrepository-update-comment-invalid-content');const _0x395e6e=this['getCommentThread'](_0x448c1f),_0x1487b4=_0x395e6e['getComment'](_0x331016);if(!_0x1487b4)throw new _0x2e261a('commentsrepository-update-missing-comment',this);let _0x4ba53a=!0x1;if(_0x2fe335&&_0x2fe335!==_0x1487b4['content']&&(_0x1487b4['isEditable']||_0x3d5e0a)&&(_0x1487b4['content']=_0x2fe335,_0x4ba53a=!0x0),_0x98d9c2&&_0x98d9c2!==_0x1487b4['createdAt']&&(_0x1487b4['createdAt']=_0x98d9c2,_0x1487b4['attributes']&&_0x1487b4['attributes']['@external']||(_0x1487b4['authoredAt']=_0x98d9c2),_0x4ba53a=!0x0),_0x1c58c6&&!ft(_0x1c58c6,_0x1487b4['attributes'])&&(_0x1487b4['attributes']=_0x1c58c6,_0x4ba53a=!0x0),!_0x4ba53a)return Promise['resolve']();if(_0x395e6e['fire']('commentUpdated'),_0x3d5e0a||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x24cb64=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4e19df}=this['getCommentThread'](_0x1487b4['threadId']),_0x44d668=_0x24cb64['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x4e19df,'threadId':_0x448c1f,'commentId':_0x331016,'content':_0x2fe335,'attributes':_0x1c58c6})['then'](()=>_0x24cb64['remove'](_0x44d668))['catch'](_0x25dc70=>{throw console['error'](_0x25dc70),new _0x2e261a('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x178ac1,commentId:_0x1efbc5,isFromAdapter:_0x1875ea}){const _0x401880=this['getCommentThread'](_0x178ac1),_0x2e0220=_0x401880['getComment'](_0x1efbc5);if(!_0x2e0220)throw new _0x2e261a('commentsrepository-remove-missing-comment',this);if(_0x401880['_remove'](_0x2e0220),_0x1875ea||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x250d62=this['context']['plugins']['get']('PendingActions'),{channelId:_0x390934}=_0x401880,_0x1972cc=_0x250d62['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x390934,'threadId':_0x178ac1,'commentId':_0x1efbc5})['then'](()=>_0x250d62['remove'](_0x1972cc))['catch'](_0x3f7677=>{throw console['error'](_0x3f7677),new _0x2e261a('commentsrepository-remove-comment-internal-error',this);});}}class ie extends/* #__PURE__ -- @preserve */
30
- _0x5f535b(){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x54dfcb,_0x5232c0){super();const _0x760b87=_0x5232c0['isResolvable'];this['channelId']=_0x5232c0['channelId'],this['id']=_0x5232c0['id'],this['comments']=new _0x46e868(),this['_repository']=_0x54dfcb,this['_isAttached']=!0x1,this['_isSubmitted']=_0x5232c0['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x54dfcb,'_permissions',_0x54dfcb,'_readOnlyChannels',()=>_0x54dfcb['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x54dfcb,'_permissions',()=>_0x54dfcb['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x54dfcb,'_permissions',()=>{const _0x4404dd=_0x54dfcb['getPermissions'](this['channelId']);return _0x4404dd['write']||_0x4404dd['admin'];}),this['bind']('isResolvable')['to'](_0x54dfcb,'_permissions',()=>_0x760b87&&_0x54dfcb['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x5232c0['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x468fca,_0xae0204)=>_0x468fca?_0xae0204?_0x468fca<_0xae0204?_0x468fca:_0xae0204:_0x468fca:_0xae0204),this['set']('unlinkedAt',_0x5232c0['unlinkedAt']||null),this['set']('resolvedAt',_0x5232c0['resolvedAt']||null),this['set']('resolvedBy',_0x5232c0['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x24554d=>!!_0x24554d),this['set']('attributes',_0x5232c0['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x1a6e53,_0x5aefe2)=>_0x1a6e53+_0x5aefe2['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x5807b7,id:_0x1238f7}=this;this['_repository']['fire'](gt('submitCommentThread',_0x5807b7),{'channelId':_0x5807b7,'threadId':_0x1238f7});}['setUnlinkedAt'](_0x576a4f){this['_update']({'unlinkedAt':_0x576a4f});}['resolve']({resolvedAt:_0x5d6e83=new Date(),resolvedBy:_0x3d8bd8=null,isFromAdapter:_0x723570=!0x1}={}){const _0x187c92=this['_repository']['context']['plugins']['get'](lt)['me'],{channelId:_0xa1dc9a,id:_0x2efe0b}=this;this['_repository']['fire'](gt('resolveCommentThread',_0xa1dc9a),{'channelId':_0xa1dc9a,'threadId':_0x2efe0b,'resolvedAt':_0x5d6e83,'resolvedBy':_0x3d8bd8||_0x187c92['id'],'isFromAdapter':_0x723570});}['reopen']({isFromAdapter:_0x4da6df=!0x1}={}){const {channelId:_0x3e7705,id:_0x34a49a}=this;this['_repository']['fire'](gt('reopenCommentThread',_0x3e7705),{'channelId':_0x3e7705,'threadId':_0x34a49a,'isFromAdapter':_0x4da6df});}['setContext'](_0x187abe){this['context']||this['_update']({'context':_0x187abe});}['setAttribute'](_0x395eab,_0x5ce8c3){const _0x47d3c6=ut(this['attributes']);pt(_0x47d3c6,_0x395eab,_0x5ce8c3),this['_update']({'attributes':_0x47d3c6});}['removeAttribute'](_0x136958){const _0x47c558=ut(this['attributes']);It(_0x47c558,_0x136958),this['_update']({'attributes':_0x47c558});}['remove']({isFromAdapter:_0x46218c=!0x1}={}){const {channelId:_0x3dfad0,id:_0x500374}=this;this['_repository']['fire'](gt('removeCommentThread',_0x3dfad0),{'channelId':_0x3dfad0,'threadId':_0x500374,'isFromAdapter':_0x46218c});}['attachTo'](_0x176d93){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x176d93});}['addComment'](_0x249c65){const {channelId:_0x569f5c,id:_0x4af884}=this;this['_repository']['fire'](gt('addComment',_0x569f5c,_0x4af884),Object['assign']({'channelId':_0x569f5c,'threadId':_0x4af884},_0x249c65));}['getComment'](_0x5c9b3f){if('string'!=typeof _0x5c9b3f)throw new _0x2e261a('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x5c9b3f});return this['comments']['get'](_0x5c9b3f);}['toJSON'](){return{'threadId':this['id'],'context':this['context'],'unlinkedAt':this['unlinkedAt'],'resolvedAt':this['resolvedAt'],'resolvedBy':this['resolvedBy']?this['resolvedBy']['id']:null,'archivedAt':this['archivedAt'],'comments':this['comments']['map'](_0x56d7d7=>_0x56d7d7['toJSON']()),'attributes':this['attributes']};}['_add'](_0x31873a){return this['listenTo'](_0x31873a,'change:authoredAt',()=>{const _0x3dc5e1=this['_findOptimalIndex'](_0x31873a),_0xf8896e=this['comments'];_0x3dc5e1-0x1!=_0xf8896e['getIndex'](_0x31873a)&&_0x3dc5e1+0x1!=_0xf8896e['getIndex'](_0x31873a)&&(this['_remove'](_0x31873a),this['_add'](_0x31873a));}),this['comments']['add'](_0x31873a,this['_findOptimalIndex'](_0x31873a));}['_update'](_0x5e1ac2){const {channelId:_0xa6dfbf,id:_0x64e1b2}=this;this['_repository']['fire'](gt('updateCommentThread',_0xa6dfbf),{..._0x5e1ac2,'channelId':_0xa6dfbf,'threadId':_0x64e1b2});}['_remove'](_0x17a086){return this['stopListening'](_0x17a086),_0x17a086['destroy'](),this['comments']['remove'](_0x17a086);}['_findOptimalIndex'](_0x3ad285){const _0x5ae607=this['comments']['find'](_0x241fce=>new Date(_0x241fce['authoredAt'])['getTime']()>new Date(_0x3ad285['authoredAt'])['getTime']());return _0x5ae607?this['comments']['getIndex'](_0x5ae607):this['length'];}}class se extends/* #__PURE__ -- @preserve */
31
- _0x5f535b(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x56d4ce,_0x1b783b){super();const _0x25ee26=_0x56d4ce['context']['plugins']['get'](lt)['me'],_0x58dc46=_0x56d4ce['getCommentThread'](_0x1b783b['threadId']),_0x5c5744=0x0===_0x58dc46['comments']['length'],_0x2ca843=_0x25ee26===_0x1b783b['author'];this['id']=_0x1b783b['id'],this['threadId']=_0x1b783b['threadId'],this['author']=_0x1b783b['author'],this['creator']=_0x1b783b['creator'],this['isExternal']=Boolean(_0x1b783b['attributes']&&_0x1b783b['attributes']['@external']),this['set']('content',_0x1b783b['content']),this['createdAt']=_0x1b783b['createdAt']||new Date(),this['set']('authoredAt',_0x1b783b['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x58dc46,'resolvedAt'),this['set']('attributes',_0x1b783b['attributes']||{}),this['bind']('isEditable')['to'](_0x56d4ce,'_permissions',()=>{const _0x32f82a=_0x56d4ce['getPermissions'](_0x58dc46['channelId'])['write'],_0x27779e=_0x56d4ce['getPermissions'](_0x58dc46['channelId'])['modifyAll'];return _0x2ca843&&_0x32f82a||!_0x2ca843&&_0x27779e;}),this['bind']('isRemovable')['to'](_0x58dc46,'isRemovable',_0x56d4ce,'_permissions',_0x3717e1=>{const _0xbebf29=_0x56d4ce['getPermissions'](_0x58dc46['channelId'])['write'],_0x125d3a=_0x56d4ce['getPermissions'](_0x58dc46['channelId'])['modifyAll'];return _0x2ca843&&_0xbebf29||_0x3717e1&&_0x5c5744||!_0x2ca843&&_0x125d3a&&!_0x5c5744;}),this['bind']('isReadOnly')['to'](_0x58dc46,'isReadOnly'),this['_repository']=_0x56d4ce;}get['weight'](){return Math['max'](function(_0x478d7b){const _0x1a1228=document['createElement']('div');return _0x1a1228['innerHTML']=_0x478d7b,_0x1a1228['textContent']['length'];}(this['content']),0xc8);}['update'](_0x281cea){const {threadId:_0x104e59,id:_0x314a25}=this;if(!this['_repository']['hasCommentThread'](_0x104e59))throw new _0x2e261a('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x278449}=this['_repository']['getCommentThread'](_0x104e59);this['_repository']['fire'](gt('updateComment',_0x278449,_0x104e59),{'channelId':_0x278449,'threadId':_0x104e59,'commentId':_0x314a25,..._0x281cea});}['setAttribute'](_0x37c8f8,_0x419fac){const _0x4d07d7=ut(this['attributes']);pt(_0x4d07d7,_0x37c8f8,_0x419fac),this['update']({'attributes':_0x4d07d7});}['removeAttribute'](_0x2336cd){const _0x26e5f6=ut(this['attributes']);It(_0x26e5f6,_0x2336cd),this['update']({'attributes':_0x26e5f6});}['remove'](_0x2c09c9={}){if(!_0x2c09c9['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x529136,id:_0x5dd519}=this;if(!this['_repository']['hasCommentThread'](_0x529136))throw new _0x2e261a('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x23cde3}=this['_repository']['getCommentThread'](_0x529136);this['_repository']['fire'](gt('removeComment',_0x23cde3,_0x529136),{'channelId':_0x23cde3,'threadId':_0x529136,'commentId':_0x5dd519,..._0x2c09c9});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function gt(_0x5babce,..._0x358049){for(const _0x1ab05d of _0x358049)void 0x0!==_0x1ab05d&&(_0x5babce+=':'+String(_0x1ab05d));return _0x5babce;}class G extends _0x4e9e78{['refresh'](){const _0x49c72d=this['editor']['model']['document']['selection'];for(const _0x137ce7 of _0x49c72d['getRanges']())if(this['_hasContent'](_0x137ce7))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['execute']({threadId:_0x520d81=_0x3519e3()}={}){const _0x46f8a3=this['editor']['model'],_0x599b0a=[];for(const _0x49eebe of _0x46f8a3['document']['selection']['getRanges']())this['_hasContent'](_0x49eebe)&&_0x599b0a['push'](this['_trimToContent'](_0x49eebe));_0x46f8a3['change'](_0x342d50=>{for(const _0xde0c78 of _0x599b0a){const _0x56d177=_0x3519e3()['substr'](0x1,0x5),_0x1f287a='comment:'+_0x520d81+':'+_0x56d177;_0x342d50['addMarker'](_0x1f287a,{'range':_0xde0c78,'usingOperation':!0x1,'affectsData':!0x1});}});}['_hasContent'](_0x354c6a){for(const _0x5a29ee of _0x354c6a['getItems']())if(this['_itemIsContent'](_0x5a29ee))return!0x0;return!0x1;}['_itemIsContent'](_0x1b45be){return _0x1b45be['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x1b45be)&&!_0x1b45be['is']('element','tableCell');}['_trimToContent'](_0x4e77b1){const _0x514746=_0x278ed7=>!this['_itemIsContent'](_0x278ed7['item']),_0x3e4069=_0x4e77b1['start']['getLastMatchingPosition'](_0x514746),_0x43d470=_0x4e77b1['end']['getLastMatchingPosition'](_0x514746,{'direction':'backward'});return this['editor']['model']['createRange'](_0x3e4069,_0x43d470);}}class k extends _0x27b2b8{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[b];}static get['pluginName'](){return'EditorAnnotations';}constructor(_0x2f57a9){super(_0x2f57a9),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x27ec85=this['editor'],_0x11edfb=_0x27ec85['model']['document']['selection'],_0x8556b1=_0x7dfb28(()=>this['refreshSelectedViews'](),0xa);_0x11edfb['on']('change:range',(_0x3420a0,_0x4bb80e)=>{_0x4bb80e['directChange']&&(_0x8556b1['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x27ec85['editing']['view']['document'],'change:isFocused',(_0x4e95ae,_0x492ea9,_0x18fc98)=>{_0x18fc98&&_0x8556b1();}),this['listenTo'](_0x27ec85['ui']['focusTracker'],'change:isFocused',(_0x4fb1a0,_0x465fa4,_0x1af10e)=>{_0x1af10e||_0x27ec85['isReadOnly']||this['fire']('blur',{'isAnnotationTracked':_0x345100=>this['_editorAnnotationsData']['has'](_0x345100['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x389e34){if(this['_editorAnnotations']['has'](_0x389e34['view']))return;this['_editorAnnotations']['add'](_0x389e34['view']),this['editor']['ui']['focusTracker']['add'](_0x389e34['view']['element']);const _0x3211c3=this['editor']['plugins']['get'](b);this['listenTo'](_0x3211c3['collection'],'remove',(_0x2e1eca,_0x4fb561)=>{this['editor']['ui']['focusTracker']['remove'](_0x4fb561['view']['element']),this['_editorAnnotations']['delete'](_0x4fb561['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x45cf3b){if('function'!=typeof _0x45cf3b)throw new _0x2e261a('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x45cf3b);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0xe4c89b,annotations:_0x53f6d9}){const _0x5d88ad=[],_0x282210=this['editor']['model']['document']['selection'],_0x3ad94b=Array['from'](_0x282210['getRanges']());for(const [_0x4a742b,_0x676eca]of this['_editorAnnotationsData']){const _0x4476b9=_0x4f9694(_0x676eca),_0x7a2ba1=_0x53f6d9['getByInnerView'](_0x4a742b);_0x4476b9&&_0x7a2ba1&&_0x5d88ad['push']({'annotation':_0x7a2ba1,'range':_0x4476b9});}function _0x4f9694(_0x1521c3){for(const _0x479283 of _0x1521c3)for(const _0x507e49 of _0x3ad94b)if(_0x479283['containsRange'](_0x507e49,!_0x282210['isCollapsed']))return _0x479283;return null;}return _0x5d88ad['sort']((_0x7bfff3,_0xa0b7df)=>{const _0x1c7cb7=_0x7bfff3['range'],_0x1f0b75=_0xa0b7df['range'];if(!_0x1c7cb7['isEqual'](_0x1f0b75)){if(_0x1c7cb7['containsRange'](_0x1f0b75,!0x0))return 0x1;if(_0x1f0b75['containsRange'](_0x1c7cb7,!0x0))return-0x1;}return _0x7bfff3['annotation']==_0xe4c89b?-0x1:_0xa0b7df['annotation']==_0xe4c89b?0x1:0x0;})['map'](_0x20632d=>_0x20632d['annotation']);}get['_editorAnnotationsData'](){const _0x3fcd1e=new Map();for(const _0xd8acae of Array['from'](this['_dataCollectors']))for(const [_0x5befca,_0x4554d2]of _0xd8acae())_0x3fcd1e['set'](_0x5befca,_0x4554d2);return _0x3fcd1e;}}class ot extends _0x27b2b8{['afterInit'](){const _0x12504a=this['editor'];if(!_0x12504a['plugins']['has']('RestrictedEditingModeEditing'))return;_0x12504a['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class et extends _0x27b2b8{constructor(_0x278950){super(_0x278950),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x24fdec=this['editor'],_0x1228e3=_0x24fdec['commands']['get']('importWord'),_0x2de4a3=_0x24fdec['plugins']['get'](lt);_0x1228e3&&(_0x1228e3['on']('execute',(_0x1867d1,[,_0x3ab93a])=>{_0x3ab93a['collaboration_features']={'comments':!0x0,'user_id':_0x2de4a3['me']['id']};},{'priority':Wt['high']+0xa}),this['listenTo'](_0x1228e3,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x5c6981,_0x24398e){const {comment_threads:_0x4067f7}=_0x24398e;_0x4067f7&&_0x4067f7['forEach'](({thread_id:_0x187bf8,comments:_0x2bff46,is_resolved:_0x82271b})=>{const _0x1adfa5=new Date(),_0x11435a=_0x2bff46['map'](({author:_0x24f0c6,content:_0x2b7270,created_at:_0x50b5c7})=>({'content':_0x2b7270,'authorId':this['editor']['plugins']['get'](lt)['me']['id'],'createdAt':_0x1adfa5,'attributes':{'@external':{'authorName':_0x24f0c6,'createdAt':_0x50b5c7?new Date(_0x50b5c7):new Date(),'source':'importWord'}}})),_0x5dac06=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](m)['addCommentThread']({'channelId':_0x5dac06,'threadId':_0x187bf8,'comments':_0x11435a,'resolvedAt':_0x82271b?_0x1adfa5:null});});}}class rt extends _0x27b2b8{constructor(_0x2b56c1){super(_0x2b56c1),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[Mt,Pt];}['afterInit'](){const _0x2a52cf=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x2a52cf,'contentInsertion',(_0x4e0346,_0x58f667)=>this['_removeMarkersWithoutThreads'](_0x58f667['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x29b51f){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x29b51f;const _0x8ee932=this['editor']['plugins']['get']('CommentsRepository');for(const _0x2c5c4b of _0x29b51f['keys']()){const [_0x24950e,_0x45f73f]=_0x2c5c4b['split'](':');'comment'!=_0x24950e||_0x8ee932['hasCommentThread'](_0x45f73f)||_0x29b51f['delete'](_0x2c5c4b);}return _0x29b51f;}['_registerMarkerInClipboardPipeline'](){const _0x3f033a=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x3491fd=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x3491fd&&_0x3f033a['_registerMarkerToCopy']('comment',_0x3491fd);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x43fa15){switch(_0x43fa15){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}class r extends _0x27b2b8{static get['requires'](){return[m,k,ot,et,rt];}static get['pluginName'](){return'CommentsEditing';}constructor(_0x43ecbe){super(_0x43ecbe),this['set']('isThreadsLoadingPaused',!0x0),_0x43ecbe['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x5850f8,_0x50a97b,_0xab26c7,_0x2b629c)=>{const _0x43905b=_0xab26c7?it(_0xab26c7)['id']:null;if(_0x43ecbe['model']['change'](()=>{if(_0x43905b){const _0x3b204b=this['getAllMarkersForId'](_0x43905b);for(const _0x1911ee of _0x3b204b)_0x43ecbe['editing']['reconvertMarker'](_0x1911ee);}if(_0x2b629c){const {id:_0x6e8f25}=it(_0x2b629c),_0x5c79cf=this['getAllMarkersForId'](_0x6e8f25);for(const _0x1fadaf of _0x5c79cf)_0x43ecbe['editing']['reconvertMarker'](_0x1fadaf);}}),_0x43905b){const _0x3f3f85=_0x43ecbe['plugins']['get'](m)['getCommentThread'](_0x43905b);_0x3f3f85&&_0x3f3f85['isResolved']&&this['scrollToThreadMarker'](_0x43905b);}}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x18143b=this['editor'],_0x2576f9=_0x18143b['plugins']['get'](m),_0x52e584=_0x18143b['config']['get']('collaboration.channelId');_0x18143b['commands']['add']('addCommentThread',new G(_0x18143b)),this['listenTo'](_0x18143b,'change:isReadOnly',(_0xafcff3,_0x4635b5,_0x448c98)=>{_0x2576f9['switchReadOnly'](_0x448c98,_0x18143b['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x2576f9,nt('addCommentThread',_0x52e584),(_0x4c7d98,{threadId:_0x4dcb1e})=>{const _0x7577a4=this['editor']['plugins']['get'](m)['getCommentThread'](_0x4dcb1e);_0x7577a4&&_0x7577a4['unlinkedAt']&&this['_attachArchivedThread'](_0x4dcb1e);}),this['listenTo'](_0x2576f9,nt('removeCommentThread',_0x52e584),(_0x2c1db9,{threadId:_0x5a71f2})=>{_0x18143b['model']['enqueueChange']({'isUndoable':!0x1},_0x46ead6=>{const _0x2e1f4e=this['getAllMarkersForId'](_0x5a71f2);for(const _0x26b3d4 of _0x2e1f4e)_0x46ead6['removeMarker'](_0x26b3d4);});}),this['listenTo'](_0x2576f9,nt('resolveCommentThread',_0x52e584),(_0x9ee51c,{threadId:_0x3e920a})=>{(this['_reconvertMarkers'](_0x3e920a),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](m)['getCommentThread'](_0x3e920a)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x2576f9,nt('reopenCommentThread',_0x52e584),(_0x484f0a,{threadId:_0x137322})=>{this['_reconvertMarkers'](_0x137322);},{'priority':'low'}),this['listenTo'](_0x2576f9,nt('addComment',_0x52e584),(_0x4bd640,{threadId:_0x2c2ae4,isFromAdapter:_0x55abbb})=>{const _0x5d043e=this['getAllMarkersForId'](_0x2c2ae4);if(_0x55abbb||0x0==_0x5d043e['length']||!_0x2576f9['hasCommentThread'](_0x2c2ae4))return;0x1===_0x2576f9['getCommentThread'](_0x2c2ae4)['length']&&_0x18143b['model']['enqueueChange']({'isUndoable':!0x1},_0x169e51=>{for(const _0x23b7ed of _0x5d043e)_0x169e51['updateMarker'](_0x23b7ed,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove']();}['destroy'](){const _0x472c3d=this['editor']['plugins']['get'](m),_0x3c2d12=this['editor']['config']['get']('collaboration.channelId');for(const _0xc8e35b of _0x472c3d['getCommentThreads']({'channelId':_0x3c2d12}))_0x472c3d['_detachCommentThread'](_0xc8e35b['id']),_0x472c3d['_threads']['delete'](_0xc8e35b['id']);super['destroy']();}['hasMarkerForId'](_0x630b19){return this['getAllMarkersForId'](_0x630b19)['length']>0x0;}['getAllMarkersForId'](_0x3be8b8){const _0x3aaf87=[];for(const _0x38f4be of this['editor']['model']['markers'])_0x38f4be['name']['startsWith']('comment:'+_0x3be8b8)&&_0x3aaf87['push'](_0x38f4be);return _0x3aaf87;}['scrollToThreadMarker'](_0x43ad3b){const _0x3f75a2=this['_getTargetForId'](_0x43ad3b);_0x3f75a2&&setTimeout(()=>{this['activeMarker']&&it(this['activeMarker'])['id']===_0x43ad3b&&_0x55fe81({'target':_0x3f75a2[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x3fbd2e){this['editor']['model']['change'](()=>{for(const _0x24e074 of this['getAllMarkersForId'](_0x3fbd2e))this['editor']['editing']['reconvertMarker'](_0x24e074);});}['_attachArchivedThread'](_0x247d3a){const _0x109dc3=this['editor']['plugins']['get'](m),_0x1bc830=this['editor']['plugins']['get'](k),_0x48d98a=_0x109dc3['getCommentThread'](_0x247d3a);if(!_0x48d98a['isAttached']){const _0x4a8ad6=_0x48d98a['attachTo'](()=>this['_getTargetForId'](_0x48d98a['id']));_0x1bc830['registerAnnotation'](_0x4a8ad6),_0x48d98a['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x21c718=this['editor'];_0x21c718['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x274bc0,_0x35e3aa)=>{const {id:_0xfd9c01}=it(_0x274bc0['markerName']),_0x33e61c=_0x21c718['plugins']['get'](m)['getCommentThread'](_0xfd9c01),_0x100bda=this['activeMarker']&&it(this['activeMarker'])['id']===_0xfd9c01;if(_0x33e61c&&_0x33e61c['isResolved']&&!_0x100bda&&_0x274bc0['item'])return _0x35e3aa['consumable']['consume'](_0x274bc0['item'],'addMarker:'+_0x274bc0['markerName']),_0x35e3aa['consumable']['consume'](_0x274bc0['item'],'removeMarker:'+_0x274bc0['markerName']),null;const _0x3d6a7a=['ck-comment-marker'];return _0x100bda&&_0x3d6a7a['push']('ck-comment-marker--active'),{'classes':_0x3d6a7a,'attributes':{'data-comment':_0xfd9c01}};}}),_0x21c718['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x578cbb,{options:_0x154394})=>{const _0x1233bc=_0x21c718['plugins']['get'](m),_0x561141=_0x21c718['model']['markers']['get'](_0x578cbb),{id:_0x540d4d,part:_0x334dc3}=it(_0x578cbb);if(_0x561141&&!_0x561141['affectsData'])return null;if(_0x154394['ignoreResolvedComments']){const _0x5e084c=_0x1233bc['getCommentThread'](_0x540d4d);if(_0x5e084c&&_0x5e084c['isResolved'])return null;}return{'group':'comment','name':_0x334dc3?_0x540d4d+':'+_0x334dc3:_0x540d4d};}}),_0x21c718['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x551fae,{writer:_0x32e675})=>_0x32e675['createElement']('$marker',{'data-name':'comment:'+_0x551fae['getAttribute']('id')})}),_0x21c718['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x7a11d3=this['editor'],_0x319f34=_0x7a11d3['plugins']['get'](m),_0x1e6a13=new Set(),_0x43fd50=new Set();_0x7a11d3['model']['document']['registerPostFixer'](_0x2340f7=>{let _0x3e2fe1=!0x1;for(const {name:_0x4e236b,data:_0x2cde24}of _0x7a11d3['model']['document']['differ']['getChangedMarkers']()){const {group:_0x260f86,id:_0x3f38bb}=it(_0x4e236b);let _0x71cad9=_0x2cde24['newRange'];if('comment'!==_0x260f86||!_0x71cad9)continue;const _0x157c51='$graveyard'===_0x71cad9['root']['rootName'];_0x157c51||(_0x71cad9=st(_0x71cad9,_0x7a11d3['model']),!_0x71cad9||_0x71cad9['isCollapsed']||!_0x2cde24['newRange']||_0x71cad9['isEqual'](_0x2cde24['newRange']))?_0x7a11d3['model']['hasContent'](_0x71cad9)&&!_0x157c51?this['isThreadsLoadingPaused']?_0x1e6a13['add'](_0x4e236b):this['_handleThreadMarker'](_0x4e236b,_0x3f38bb):(_0x43fd50['add'](_0x4e236b),_0x1e6a13['delete'](_0x4e236b),_0x2340f7['removeMarker'](_0x4e236b),_0x3e2fe1=!0x0):(_0x2340f7['updateMarker'](_0x4e236b,{'range':_0x71cad9}),_0x3e2fe1=!0x0);}return _0x3e2fe1;}),this['on']('change:isThreadsLoadingPaused',(_0x5ac33f,_0x53b150,_0xcc1ac8)=>{if(!_0xcc1ac8&&_0x1e6a13['size'])for(const _0x117e1d of _0x1e6a13){const {id:_0x55ee8a}=it(_0x117e1d);_0x1e6a13['delete'](_0x117e1d),_0x7a11d3['model']['markers']['get'](_0x117e1d)&&this['_handleThreadMarker'](_0x117e1d,_0x55ee8a);}}),this['listenTo'](_0x7a11d3['model']['document'],'change',(_0x1255b1,_0xa92eab)=>{for(const {name:_0x5f1431,data:{newRange:_0x3fbe5a}}of _0x7a11d3['model']['document']['differ']['getChangedMarkers']()){const {group:_0x3dc19e,id:_0xb0884e}=it(_0x5f1431);if('comment'!==_0x3dc19e)continue;const _0x5863d0=_0x319f34['getCommentThread'](_0xb0884e),_0x402e80=this['hasMarkerForId'](_0xb0884e);_0x5863d0&&(_0x5863d0['_hasTargetInContent']||_0x7a11d3['editing']['view']['once']('render',()=>{const _0x59cef4=_0x7a11d3['plugins']['get'](b),_0x11104e=_0x319f34['_threadToController']['get'](_0x5863d0)['view'];_0x59cef4['getByInnerView'](_0x11104e)['refreshVisibility']();},{'priority':'low'}),_0x5863d0['_hasTargetInContent']=_0x402e80||!!_0x3fbe5a),_0x3fbe5a||(_0x43fd50['add'](_0x5f1431),_0x1e6a13['delete'](_0x5f1431));}if(_0xa92eab['isLocal'])for(const _0x31a74a of _0x43fd50){const {id:_0x3bc0ff}=it(_0x31a74a),_0x8beadf=_0x319f34['getCommentThread'](_0x3bc0ff),_0x496d09=this['hasMarkerForId'](_0x3bc0ff);_0x1e6a13['delete'](_0x31a74a),!_0x8beadf||_0x496d09||_0x8beadf['unlinkedAt']||_0x8beadf['setUnlinkedAt'](new Date());}_0x43fd50['clear']();});}['_getTargetForId'](_0xf79b53){const _0x6f9e0b=this['editor'],_0x583002=this['getAllMarkersForId'](_0xf79b53);return tt(_0x6f9e0b['editing'],_0x583002);}['_getTextContext'](_0x55ae03){const _0x5e27b9=this['getAllMarkersForId'](_0x55ae03);let _0x23b234='',_0x50a6e8=!0x1;for(const _0x2687be of _0x5e27b9){const _0x312aa8=_0x2687be['getRange']();for(const _0x3e6e35 of Array['from'](_0x312aa8['getItems']()))_0x3e6e35['is']('$textProxy')?(_0x23b234&&_0x50a6e8&&(_0x23b234+='\x20',_0x50a6e8=!0x1),_0x23b234+=_0x3e6e35['data']):_0x50a6e8=!0x0;_0x50a6e8=!0x0;}return _0x23b234['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x281aef,_0x33ebd4){const _0x41d328=this['editor'],_0x101dee=_0x41d328['plugins']['get'](m);let _0x325439=_0x101dee['getCommentThread'](_0x33ebd4);const _0x184092=_0x41d328['config']['get']('collaboration.channelId'),_0x23a908=_0x41d328['plugins']['get'](k);if(_0x325439&&(_0x325439['unlinkedAt']&&_0x325439['setUnlinkedAt'](null),_0x325439['isAttached']))return _0x325439;return!this['getAllMarkersForId'](_0x33ebd4)[0x0]['managedUsingOperations']?_0x41d328['editing']['view']['once']('render',()=>{if(_0x101dee['getCommentThread'](_0x33ebd4))return;const _0x58cf3e=_0x41d328['plugins']['get'](b);_0x325439=_0x101dee['openNewCommentThread']({'channelId':_0x184092,'threadId':_0x33ebd4,'target':()=>this['_getTargetForId'](_0x33ebd4),'context':{'type':'text','value':this['_getTextContext'](_0x33ebd4)}});const _0x5ae79a=_0x101dee['_threadToController']['get'](_0x325439)['view'],_0x584931=_0x58cf3e['getByInnerView'](_0x5ae79a);_0x584931&&_0x23a908['registerAnnotation'](_0x584931);},{'priority':'low'}):_0x101dee['fetchCommentThread']({'channelId':_0x184092,'threadId':_0x33ebd4})['then'](_0x479080=>{if('destroyed'!==_0x41d328['state']){if(_0x325439=_0x479080,_0x325439&&!_0x325439['isAttached']){const _0x30b1c8=_0x325439['attachTo'](()=>this['_getTargetForId'](_0x33ebd4));_0x23a908['registerAnnotation'](_0x30b1c8),_0x325439['isResolved']&&this['_reconvertMarkers'](_0x33ebd4);}else{if(!_0x325439){const _0x27c005=this['getAllMarkersForId'](_0x33ebd4);_0x41d328['model']['change'](_0x378d98=>{for(const _0x99f950 of _0x27c005)_0x378d98['removeMarker'](_0x99f950);});}}}}),_0x325439;}['_handleThreadMarker'](_0x15dcbc,_0x31596a){const _0x3a66f0=this['_attachMarkerToThread'](_0x15dcbc,_0x31596a);_0x3a66f0&&!_0x3a66f0['context']&&_0x3a66f0['setContext']({'type':'text','value':this['_getTextContext'](_0x31596a)});}['_initAriaMarkerChangeAnnouncements'](){const _0x318ec4=this['editor'];_0x12a789(_0x318ec4['model'],({left:_0x24e46d,entered:_0x5d1fca})=>{for(const _0x44cb1f of _0x24e46d)if(at(_0x44cb1f)){_0x318ec4['ui']['ariaLiveAnnouncer']['announce'](W(_0x318ec4['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x31e242 of _0x5d1fca)if(at(_0x31e242)){_0x318ec4['ui']['ariaLiveAnnouncer']['announce'](W(_0x318ec4['locale'],'ENTER_COMMENT_ANNOUNCEMENT'));break;}});}}function nt(_0x16e827,_0x261583){return _0x261583?_0x16e827+':'+_0x261583:_0x16e827;}function it(_0x56596a){const _0x43b8f1=_0x56596a['split'](':');return{'group':_0x43b8f1[0x0],'id':_0x43b8f1[0x1],'part':_0x43b8f1[0x2]};}function st(_0x4e7bfe,_0x18c2e6){const _0x161eb3=_0x18c2e6['schema'],_0x38cff6=_0x18c2e6['createRange'](_0x4e7bfe['start']);for(const _0x38f659 of _0x4e7bfe['getWalker']()){const {type:_0x51d3c2,item:_0x297756,nextPosition:_0x447188}=_0x38f659;if('text'===_0x51d3c2||_0x161eb3['isObject'](_0x297756)){const _0xc92ef=_0x18c2e6['createPositionBefore'](_0x297756);_0x38cff6['isCollapsed']&&(_0x38cff6['start']=_0xc92ef),_0x38cff6['end']=_0x447188;}}return _0x38cff6;}function at(_0x38b233){return'comment'===it(_0x38b233['name'])['group'];}var kt='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M4\x201.5h12A3.5\x203.5\x200\x200\x201\x2019.5\x205v8l-.005.192a3.5\x203.5\x200\x200\x201-2.927\x203.262l-.062.008v1.813a1.5\x201.5\x200\x200\x201-2.193\x201.33l-.371-.193-.38-.212a13.452\x2013.452\x200\x200\x201-3.271-2.63l-.062-.07H4A3.5\x203.5\x200\x200\x201\x20.5\x2013V5A3.5\x203.5\x200\x200\x201\x204\x201.5ZM4\x203a2\x202\x200\x200\x200-2\x202v8a2\x202\x200\x200\x200\x202\x202h6.924a11.917\x2011.917\x200\x200\x200\x203.71\x203.081l.372.194v-3.268L14.962\x2015H16a2\x202\x200\x200\x200\x202-2V5a2\x202\x200\x200\x200-2-2H4Z\x22/><path\x20d=\x22M9.75\x205a.75.75\x200\x200\x200-.75.75v2.5H6.5a.75.75\x200\x200\x200\x200\x201.5H9v2.5a.75.75\x200\x200\x200\x201.5\x200v-2.5H13a.75.75\x200\x200\x200\x200-1.5h-2.5v-2.5A.75.75\x200\x200\x200\x209.75\x205Z\x22/></svg>\x0a';class s extends _0x27b2b8{static get['pluginName'](){return'CommentsUI';}static get['requires'](){return[m,r,k,b];}get['CommentsListView'](){return xt;}get['CommentThreadInputView'](){return Tt;}['init'](){const _0xc178ca=this['editor'],_0x5340b7=_0xc178ca['plugins']['get'](m),_0x689567=_0xc178ca['plugins']['get'](r),_0x453cae=_0xc178ca['plugins']['get'](b),_0x1ec1f7=_0xc178ca['plugins']['get'](k);_0xc178ca['ui']['componentFactory']['add']('comment',()=>{const _0x3a29a6=this['_createUIButton'](_0x41450c);return _0x3a29a6['tooltip']=!0x0,_0x3a29a6;}),_0xc178ca['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x1fa3db)),_0x1ec1f7['addSourceCollector'](()=>{const _0xb956c6=[];for(const [_0x3cf3ca,_0x6ba9d2]of _0x5340b7['_threadToController']){const _0x3388ab=_0x689567['getAllMarkersForId'](_0x3cf3ca['id']),_0x20b78a=_0x3388ab['map'](_0x16939a=>_0x16939a['getRange']());_0x3388ab['length']>0x0&&_0xb956c6['push']([_0x6ba9d2['view'],_0x20b78a]);}return _0xb956c6;}),this['listenTo'](_0x453cae,'change:activeAnnotations',(_0x8710a4,_0x17ac39,_0x458d86)=>{const _0x188abd=Array['from'](_0x458d86)['map'](_0x3b6e6f=>_0x3b6e6f['innerView'])['find'](_0x196bc8=>_0x5340b7['_viewToController']['has'](_0x196bc8));if(!_0x188abd)return void(_0x689567['activeMarker']=null);const _0x48b497=_0x5340b7['_viewToController']['get'](_0x188abd)['model']['id'],_0x4d2d0b='comment:'+_0x48b497;_0x48b497&&_0x689567['hasMarkerForId'](_0x48b497)?_0x689567['activeMarker']=_0x4d2d0b:_0x689567['activeMarker']&&(_0x689567['activeMarker']=null);}),this['listenTo'](_0x5340b7,'removeCommentThread',(_0x8f443e,{threadId:_0x21f7ad,isFromAdapter:_0x390efd})=>{!_0x390efd&&_0xc178ca['ui']['focusTracker']['isFocused']&&_0x689567['hasMarkerForId'](_0x21f7ad)&&_0xc178ca['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x5340b7,'addComment',(_0x25a6c1,{threadId:_0x29469d,isFromAdapter:_0x638af5})=>{if(_0x638af5||!_0x689567['hasMarkerForId'](_0x29469d)||!_0x5340b7['hasCommentThread'](_0x29469d))return;0x1===_0x5340b7['getCommentThread'](_0x29469d)['length']&&(_0xc178ca['editing']['view']['focus'](),_0x25a6c1['stop']());},{'priority':'low'});}['_createUIButton'](_0x5cdaee){const _0x453c24=this['editor'],_0x4f2b22=new _0x5cdaee(_0x453c24['locale']),_0xaebb22=_0x453c24['commands']['get']('addCommentThread');return _0x4f2b22['set']({'label':W(_0x453c24['locale'],'Comment'),'icon':kt}),_0x4f2b22['bind']('isEnabled')['to'](_0xaebb22),this['listenTo'](_0x4f2b22,'execute',()=>_0xaebb22['execute']()),_0x4f2b22;}}class e extends _0x27b2b8{static get['pluginName'](){return'CommentsOnly';}static get['requires'](){return[r];}constructor(_0x5160b2){super(_0x5160b2),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x637053,_0x197f88,_0x4c9e2e)=>{_0x4c9e2e?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x2c2228,_0x11a10b]of this['editor']['commands'])_0x11a10b['affectsData']&&'addCommentThread'!==_0x2c2228&&_0x11a10b['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode');const _0x69d411=this['editor']['editing']['view']['document'];this['listenTo'](_0x69d411,'cut',_0x2d7a91=>_0x2d7a91['stop'](),{'priority':'highest'}),this['listenTo'](_0x69d411,'clipboardInput',_0x875bf2=>_0x875bf2['stop'](),{'priority':'highest'}),this['listenTo'](_0x69d411,'delete',_0x331e06=>_0x331e06['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x2a252e,_0x2921cc]of this['editor']['commands'])_0x2921cc['affectsData']&&'addCommentThread'!==_0x2a252e&&_0x2921cc['clearForceDisabled']('commentsOnlyMode');this['stopListening'](this['editor']['editing']['view']['document']);}}class j extends _0x3ff786{['activeUIs'];['_uis'];['_uisData'];static get['requires'](){return[b];}static get['pluginName'](){return'AnnotationsUIs';}constructor(_0x3f7488){super(_0x3f7488),this['activeUIs']=new Set(),this['_uis']=new Map(),this['_uisData']=new Map();}['init'](){const _0x10af5=this['context']['plugins']['get'](b);this['listenTo'](_0x10af5,'_activateAnnotation',(_0x3fadf2,_0x3f8890)=>{for(const _0x25bbcd of this['activeUIs']){const _0x3da31a=this['_uis']['get'](_0x25bbcd);(0x0,this['_uisData']['get'](_0x25bbcd)['filter'])(_0x3f8890)&&_0x3da31a['setActiveAnnotation'](_0x3f8890);}}),this['listenTo'](_0x10af5,'_deactivateAllAnnotations',()=>{for(const _0x1c565d of this['activeUIs']){this['_uis']['get'](_0x1c565d)['setActiveAnnotation'](null);}}),this['listenTo'](_0x10af5['_visibleAnnotations'],'add',(_0x5f57eb,_0x2a8d12)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x2a8d12);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x5ab82e){return this['activeUIs']['has'](_0x5ab82e);}['activate'](_0x55e2ed,_0x2f07f2=()=>!0x0){const _0x18606d=this['context']['plugins']['get'](b);if(!this['_uis']['has'](_0x55e2ed))throw new _0x2e261a('annotationsuis-missing-ui',this,{'uiName':_0x55e2ed});this['isActive'](_0x55e2ed)&&this['deactivate'](_0x55e2ed),this['activeUIs']['add'](_0x55e2ed);const _0x2150b0=new x();!function({source:_0xfc2f2d,target:_0x97f221,filter:_0x47c0f4}){for(const _0x3414b4 of _0xfc2f2d)_0x47c0f4(_0x3414b4)&&_0x97f221['add'](_0x3414b4);_0x97f221['listenTo'](_0xfc2f2d,'add',(_0x305333,_0x5efaa3)=>{_0x47c0f4(_0x5efaa3)&&_0x97f221['add'](_0x5efaa3);}),_0x97f221['listenTo'](_0xfc2f2d,'remove',(_0x50739f,_0x339a7f)=>{_0x97f221['has'](_0x339a7f)&&_0x97f221['remove'](_0x339a7f);});}({'source':_0x18606d['_visibleAnnotations'],'target':_0x2150b0,'filter':_0x2f07f2}),this['_uisData']['set'](_0x55e2ed,{'collection':_0x2150b0,'filter':_0x2f07f2});const _0x58bcac=this['_uis']['get'](_0x55e2ed);_0x58bcac['attach'](_0x2150b0),this['listenTo'](_0x58bcac,'change:activeAnnotation',(_0x4b4d00,_0x485191,_0x1a8728,_0x419775)=>{_0x419775&&_0x18606d['_removeActiveAnnotation'](_0x419775),_0x1a8728&&_0x18606d['_addActiveAnnotation'](_0x1a8728);});}['deactivate'](_0x1b3809){if(this['activeUIs']['delete'](_0x1b3809),!this['_uis']['has'](_0x1b3809))throw new _0x2e261a('annotationsuis-missing-ui',this,{'uiName':_0x1b3809});const _0x48a45b=this['_uis']['get'](_0x1b3809);_0x48a45b['detach'](),this['stopListening'](_0x48a45b),this['_uisData']['get'](_0x1b3809)['collection']['destroy'](),this['_uisData']['delete'](_0x1b3809);}['switchTo'](_0x1f686d){if(!this['_uis']['has'](_0x1f686d))throw new _0x2e261a('annotationsuis-missing-ui',this,{'uiName':_0x1f686d});const _0xfe4380=this['context']['plugins']['get'](b),_0x4ec68d=Array['from'](_0xfe4380['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x1f686d);const _0x2aab33=this['_uis']['get'](_0x1f686d);_0x2aab33['setActiveAnnotation'](_0x4ec68d),_0x2aab33['_setSelectedAnnotations']&&_0x4ec68d&&_0x2aab33['_setSelectedAnnotations']([_0x4ec68d]);}['deactivateAll'](){for(const _0x529b65 of this['activeUIs'])this['deactivate'](_0x529b65);}['register'](_0xdf13b1,_0x1acd44){if(this['_uis']['has'](_0xdf13b1))throw new _0x2e261a('annotationsuis-register-already-registered');if('function'!=typeof _0x1acd44['attach']||'function'!=typeof _0x1acd44['detach']||'function'!=typeof _0x1acd44['setActiveAnnotation'])throw new _0x2e261a('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0xdf13b1,_0x1acd44);}['refilterAnnotations'](){const _0x522249=this['context']['plugins']['get'](b)['collection'],_0x2b6fb7=new Map(),_0x5d950b=Array['from'](this['activeUIs']);for(const _0x1112ad of this['activeUIs']){const _0x2069a4=this['_uisData']['get'](_0x1112ad)['collection'];for(const _0x5d84ef of _0x2069a4)_0x2b6fb7['set'](_0x5d84ef,_0x1112ad);}for(const _0x242abf of _0x522249){const _0x48c5b2=_0x2b6fb7['get'](_0x242abf);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x242abf);const _0x305942=_0x5d950b['find'](_0x23e2c7=>this['_uisData']['get'](_0x23e2c7)['filter'](_0x242abf));_0x48c5b2!==_0x305942&&(_0x48c5b2&&this['_uisData']['get'](_0x48c5b2)['collection']['remove'](_0x242abf),_0x305942&&this['_uisData']['get'](_0x305942)['collection']['add'](_0x242abf));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x5094a4){const _0x161065=[];for(const _0x426ed4 of this['activeUIs']){(0x0,this['_uisData']['get'](_0x426ed4)['filter'])(_0x5094a4)&&_0x161065['push'](_0x426ed4);}if(_0x161065['length']>0x1)throw new _0x2e261a('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x161065,'annotationType':_0x5094a4['type']});}}const ne=Ht('px');class T extends _t{['list'];constructor(_0x463e99){super(_0x463e99);const _0x5d5e2a=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x5d5e2a['to']('class')],'style':{'minHeight':_0x5d5e2a['to']('minHeight',_0x2b3778=>'number'==typeof _0x2b3778?ne(_0x2b3778+0xa):null)}},'children':this['list']});}}const qt=Ht('px');class C extends _t{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x24cc88){super(_0x24cc88),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x2b314c,_0x3b77e8)=>_0x2b314c+_0x3b77e8),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=Dt(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection']();const _0x27fbf2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x27fbf2['to']('isAnimationDisabled',_0x1c431e=>_0x1c431e?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x27fbf2['to']('top',_0xf285cd=>qt(_0xf285cd))}},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['updateHeight'](){const _0x4b1b87=this['element']['clientHeight'];_0x4b1b87&&(this['height']=_0x4b1b87);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class z extends _0x3ff786{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}constructor(_0x4860e6){super(_0x4860e6),this['set']('_lastItem',void 0x0),this['view']=this['_createSidebarView'](),this['set']('container',null),this['_spaceBetweenItems']=0x19,this['_sidebarItemViewToAnnotation']=new Map(),this['_annotationToSidebarItemView']=new Map(),this['context']['config']['define']('sidebar.preventScrollOutOfView',!0x1),this['_annotations']=null,this['_activeAnnotation']=null,this['_recalculateBuffer']=[];}['init'](){const _0xe90ece=this['context']['config']['get']('sidebar.container');_0xe90ece&&this['setContainer'](_0xe90ece);}['setContainer'](_0x3c8071){if(!y(_0x3c8071))throw new _0x2e261a('sidebar-setcontainer-invalid-element');this['container']=_0x3c8071;}['_attachToContainer']({viewClass:_0x22a8af='',spaceBetweenItems:_0x4cd791=0x19}={}){if(!y(this['container']))throw new _0x2e261a('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x22a8af,this['_spaceBetweenItems']=_0x4cd791;}['rearrange']({removedAnnotation:_0x4bce65,previousAnnotation:_0x4cfc33,nextAnnotation:_0x3c7f92}){const _0x279ac1=this['getSidebarItemView'](_0x4bce65);this['view']['list']['remove'](_0x279ac1),this['_destroySidebarItemView'](_0x4bce65),_0x4cfc33&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x4cfc33)),_0x3c7f92&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x3c7f92)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0xbc94e9,activatedAnnotation:_0x2a3f3f,disableAnimationOnActivatedAnnotation:_0xad6da7}){if(this['_activeAnnotation']=_0x2a3f3f,_0xbc94e9){_0xbc94e9['isActive']=!0x1;const _0x27f25a=this['getSidebarItemView'](_0xbc94e9);_0x27f25a&&_0xad6da7&&(_0x27f25a['isAnimationDisabled']=!0x1);}if(_0x2a3f3f){const _0xf70bd1=this['getSidebarItemView'](_0x2a3f3f);_0xf70bd1&&(_0x2a3f3f['isActive']=!0x0,_0xad6da7&&(_0xf70bd1['isAnimationDisabled']=!0x0,_0xf70bd1['top']+=0x1),this['_alignToTargetRect'](_0xf70bd1));}}['_detachFromContainer'](_0x564e39){if(this['view']['element']['remove'](),_0x564e39){for(const _0x3b783c of _0x564e39)this['_destroySidebarItemView'](_0x3b783c);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x3599a5,_0x45524d){_0x45524d||(_0x45524d=_0x3599a5['view']);const _0x57d2dd=new C(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x57d2dd,_0x3599a5),this['_annotationToSidebarItemView']['set'](_0x3599a5,_0x57d2dd),_0x57d2dd['content']['add'](_0x45524d),this['listenTo'](_0x3599a5['view'],'change:targetRect',(_0x4c5f34,_0x12cdcf,_0x4370ec)=>{const _0x491612=this['_getTargetTop'](_0x3599a5,_0x4370ec);_0x57d2dd['_targetTop']!=_0x491612&&(_0x57d2dd['_targetTop']=_0x491612,this['_setItemTop'](_0x57d2dd,_0x491612));}),this['listenTo'](_0x57d2dd,'change:top',()=>{this['_recalculate'](_0x57d2dd,'top');}),this['listenTo'](_0x57d2dd,'change:bottom',()=>{this['_recalculate'](_0x57d2dd,'bottom');}),this['_alignToTargetRect'](_0x57d2dd);const _0x46082f=this['_getItemBefore'](_0x57d2dd);if(_0x46082f)this['_alignAfterItem'](_0x46082f,_0x57d2dd)||this['_alignToTargetRect'](_0x57d2dd);else this['_alignToTargetRect'](_0x57d2dd);return this['_updateLastItem'](),this['view']['list']['add'](_0x57d2dd),_0x57d2dd;}['_alignForTopChange'](_0x3b9fff){if(!_0x3b9fff['content']['length'])return;const _0x1dd588=this['_getItemBefore'](_0x3b9fff);if(!_0x1dd588)return;const _0xf29884=this['_sidebarItemViewToAnnotation']['get'](_0x1dd588),_0x3ca49f=this['_activeAnnotation'];_0x3ca49f&&_0x3ca49f===_0xf29884?this['_alignAfterItem'](_0x1dd588,_0x3b9fff):this['_alignBeforeItem'](_0x3b9fff,_0x1dd588);}['_alignForBottomChange'](_0x2d8a08){if(!_0x2d8a08['content']['length'])return;const _0x355c9e=this['_getItemAfter'](_0x2d8a08);if(!_0x355c9e)return;const _0x4a2e8f=this['_sidebarItemViewToAnnotation']['get'](_0x355c9e),_0x4be22c=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0xf63fe5=this['_activeAnnotation'];_0xf63fe5&&_0xf63fe5===_0x4a2e8f&&_0x4be22c?(this['_alignBeforeItem'](_0x355c9e,_0x2d8a08),this['_alignAfterItem'](_0x2d8a08,_0x355c9e)):_0xf63fe5&&_0xf63fe5===_0x4a2e8f?this['_alignBeforeItem'](_0x355c9e,_0x2d8a08):this['_alignAfterItem'](_0x2d8a08,_0x355c9e);}['_recalculate'](_0x7d68e0,_0xb3e7d5){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x1006ca,changedProp:_0x3c4fe8}of this['_recalculateBuffer'])'top'===_0x3c4fe8?this['_alignForTopChange'](_0x1006ca):this['_alignForBottomChange'](_0x1006ca);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x7d68e0,'changedProp':_0xb3e7d5});}['getSidebarItemView'](_0x5a997d){return this['_annotationToSidebarItemView']['get'](_0x5a997d);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x5b2cbd){const _0x5eac79=this['getSidebarItemView'](_0x5b2cbd);this['stopListening'](_0x5eac79),this['stopListening'](_0x5b2cbd['view']),_0x5eac79['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x5b2cbd),this['_sidebarItemViewToAnnotation']['delete'](_0x5eac79);}['_createSidebarView'](){const _0x351867=new T(this['context']['locale']);return _0x351867['render'](),this['on']('change:_lastItem',(_0x2f989d,_0x2ca9c5,_0x314c9a,_0x4dccc9)=>{_0x4dccc9&&_0x351867['unbind']('minHeight'),_0x314c9a?_0x351867['bind']('minHeight')['to'](_0x314c9a,'bottom'):_0x351867['minHeight']=null;}),_0x351867;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x5d8b67){const _0x322e76=this['_sidebarItemViewToAnnotation']['get'](_0x5d8b67),_0x242ccd=_0x322e76&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x322e76)-0x1);return _0x242ccd&&this['getSidebarItemView'](_0x242ccd)||null;}['_getItemAfter'](_0x15dbcd){const _0x1d0bd4=this['_sidebarItemViewToAnnotation']['get'](_0x15dbcd),_0x4b7d9e=_0x1d0bd4&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x1d0bd4)+0x1);return _0x4b7d9e&&this['getSidebarItemView'](_0x4b7d9e)||null;}['_alignBeforeItem'](_0x54e026,_0x46cf12){_0x54e026['updateHeight']();const _0x352860=M(_0x46cf12['bottom']+this['_spaceBetweenItems'],_0x54e026['top']);return!!_0x352860&&(this['_setItemTop'](_0x46cf12,_0x46cf12['top']-_0x352860),!0x0);}['_alignAfterItem'](_0x28a393,_0x51eadb){_0x28a393['updateHeight']();const _0x5595fa=M(_0x28a393['bottom']+this['_spaceBetweenItems'],_0x51eadb['top']);return!!_0x5595fa&&(this['_setItemTop'](_0x51eadb,_0x51eadb['top']+_0x5595fa,!0x1),!0x0);}['_alignToTargetRect'](_0x50241a){const _0x18096e=this['_sidebarItemViewToAnnotation']['get'](_0x50241a);if(!_0x18096e||!_0x18096e['target']||!_0x18096e['targetRect'])return;const _0x58d8fe=this['_getTargetTop'](_0x18096e,_0x18096e['targetRect']);this['_setItemTop'](_0x50241a,_0x58d8fe);}['_getTargetTop'](_0x22ad63,_0x4bab6d){if(null===_0x4bab6d)return 0x0;if(_0x22ad63['target']instanceof _0x5c1d45)return _0x4bab6d['top'];{const _0x45e1b6=new _0x5c1d45(this['view']['element'])['top'];return _0x4bab6d['top']-_0x45e1b6;}}['_setItemTop'](_0x5583a1,_0x445c5d,_0x586b51=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x586b51&&(_0x445c5d=Math['max'](_0x445c5d,this['_getMaxAvailableTop'](_0x5583a1))),_0x5583a1['top']=_0x445c5d;}['_getMaxAvailableTop'](_0x1d4101){let _0x3d3845=this['_getItemBefore'](_0x1d4101),_0x43c0b8=0x0;for(;_0x3d3845;)_0x3d3845['updateHeight'](),_0x43c0b8+=this['_spaceBetweenItems']+_0x3d3845['height'],_0x3d3845=this['_getItemBefore'](_0x3d3845);return _0x43c0b8;}}function M(_0x33a674,_0x217912){return Math['max'](_0x33a674-_0x217912,0x0);}function y(_0x39a6c8){return null!==_0x39a6c8&&'object'==typeof _0x39a6c8&&0x1===_0x39a6c8['nodeType'];}class n extends _0x3ff786{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[z,j];}static get['pluginName'](){return'WideSidebar';}constructor(_0x264cac){super(_0x264cac),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x46e868(),this['_refreshPositioningDebounced']=_0x7dfb28(()=>{this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x573cdb=this['context']['plugins']['get'](j),_0x1a262f=this['context']['plugins']['get'](z);_0x573cdb['register']('wideSidebar',this),_0x1a262f['container']&&_0x573cdb['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x14ec2a){if(_0x14ec2a===this['activeAnnotation'])return;const _0x61e0b4=this['context']['plugins']['get'](z);_0x61e0b4['_activeAnnotation']=_0x14ec2a;const _0x3e26d5=this['activeAnnotation'];this['activeAnnotation']=_0x14ec2a,_0x61e0b4['refresh']({'blurredAnnotation':_0x3e26d5,'activatedAnnotation':this['activeAnnotation']});}['attach'](_0x135280){this['annotations']=_0x135280;const _0x4e8611=this['context']['plugins']['get'](z);if(_0x4e8611['_annotations']=_0x135280,this['isAttached'])throw new _0x2e261a('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x4e8611,'set:container',()=>{this['detach'](),this['listenTo'](_0x4e8611,'change:container',_0x2fa441=>{_0x2fa441['off'](),this['attach'](_0x135280);});}),_0x4e8611['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x8f313c=_0x511b99=>{_0x511b99['updateTargetRect'](),_0x4e8611['addAnnotation'](_0x511b99);};for(const _0x11a7f9 of _0x135280)_0x8f313c(_0x11a7f9);this['listenTo'](_0x135280,'add',(_0x4ef8bf,_0x5360b5)=>{_0x8f313c(_0x5360b5);}),this['listenTo'](_0x135280,'remove',(_0x39d289,_0x59dc59,_0x45a158)=>{_0x4e8611['rearrange']({'removedAnnotation':_0x59dc59,'previousAnnotation':_0x135280['get'](_0x45a158-0x1),'nextAnnotation':_0x135280['get'](_0x45a158+0x1)}),_0x59dc59===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x135280,'focus',(_0x2861df,_0x4221d8)=>{this['setActiveAnnotation'](_0x4221d8);}),this['listenTo'](_0x135280,'blur',()=>{this['setActiveAnnotation'](null);});const _0xad6844=this['context']instanceof _0x48e836?this['context']['editors']:new _0x46e868([this['context']]);for(const _0x282031 of _0xad6844)this['_integrateWithEditorAnnotations'](_0x282031);this['listenTo'](_0xad6844,'add',(_0x488032,_0x12029e)=>{this['listenTo'](_0x12029e,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x12029e);});}),this['listenTo'](_0xad6844,'remove',(_0x65c779,_0x397e5c)=>{_0x397e5c['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x397e5c['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x2e261a('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x232021=this['context']['plugins']['get'](z);_0x232021['_detachFromContainer'](this['annotations']),this['stopListening'](_0x232021),this['stopListening'](this['annotations']),this['context']instanceof _0x48e836&&this['stopListening'](this['context']['editors']);for(const _0x392f10 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x392f10);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x5e3b82){if(!_0x5e3b82['plugins']['has']('EditorAnnotations'))return;const _0x3b3bda=_0x5e3b82['plugins']['get']('EditorAnnotations'),_0x3fbdf9=()=>{const _0x39fed1=_0x3b3bda['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x39fed1[0x0]||null);};this['listenTo'](_0x3b3bda,'refresh',_0x3fbdf9),this['listenTo'](_0x3b3bda,'blur',(_0xbaedf6,{isAnnotationTracked:_0x18b859})=>{this['activeAnnotation']&&_0x18b859(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x3b3bda,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x336418=>{_0x3b3bda['hasDomSelection']()&&(_0x3fbdf9(),_0x336418['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x3b3bda);}['_destroyEditorAnnotationsIntegration'](_0x307430){this['stopListening'](_0x307430),this['_editorAnnotations']['remove'](_0x307430);}}class D extends _0x41450c{['counterView'];constructor(_0x4886b6){super(_0x4886b6);const _0x447a29=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x532b85,_0x2ac2fa)=>_0x532b85?'...':_0x2ac2fa['toString']()),this['set']('annotationType',''),this['icon']=kt,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _t(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x447a29['to']('annotationType',_0x3b8a95=>'ck-annotation-counter__badge--'+_0x3b8a95),_0x447a29['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x447a29['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class i extends _0x3ff786{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[z,j];}static get['pluginName'](){return'NarrowSidebar';}constructor(_0x57b988){super(_0x57b988),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=Object['create'](_0x52403a),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x46e868(),this['_refreshPositioningDebounced']=_0x7dfb28(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](j)['register']('narrowSidebar',this),this['bodyCollection']=new _0x492a19(this['context']['locale']),this['balloonPanelView']=new _0x5cd33c(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x67050b){this['annotations']=_0x67050b;const _0x2dbbf3=this['context']['plugins']['get'](z),_0x2ad62d=this['balloonPanelView'];if(_0x2dbbf3['_annotations']=_0x67050b,this['isAttached'])throw new _0x2e261a('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x2dbbf3,'set:container',()=>{this['detach'](),this['listenTo'](_0x2dbbf3,'change:container',_0x5a9d6a=>{_0x5a9d6a['off'](),this['attach'](_0x67050b);});}),_0x2dbbf3['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x85f265=_0xdd408d=>{const _0x34a92b=new D(this['context']['locale']);_0x2dbbf3['addAnnotation'](_0xdd408d,_0x34a92b),this['_annotationToNarrowView']['set'](_0xdd408d,_0x34a92b),_0x34a92b['bind']('isDirty','annotationType','number')['to'](_0xdd408d['view'],'isDirty','type','length'),_0x34a92b['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x2ad62d['content']['first']!==_0xdd408d['view']?(this['_showBalloon'](_0xdd408d),_0xdd408d['view']['element']['focus'](),this['setActiveAnnotation'](_0xdd408d)):this['setActiveAnnotation'](null);});};for(const _0x59ca07 of _0x67050b)_0x85f265(_0x59ca07);this['listenTo'](_0x67050b,'add',(_0xc535e7,_0x4743b1)=>{_0x85f265(_0x4743b1);}),this['listenTo'](_0x67050b,'remove',(_0x48201b,_0x3e0177,_0x26ac9f)=>{this['_annotationToNarrowView']['get'](_0x3e0177)['destroy'](),this['_annotationToNarrowView']['delete'](_0x3e0177),_0x2dbbf3['rearrange']({'removedAnnotation':_0x3e0177,'previousAnnotation':_0x67050b['get'](_0x26ac9f-0x1),'nextAnnotation':_0x67050b['get'](_0x26ac9f+0x1)}),_0x3e0177===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x67050b,'focus',(_0x22e577,_0x2106ef)=>{this['setActiveAnnotation'](_0x2106ef);}),this['listenTo'](_0x67050b,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x25067f,_0x521930)=>{_0x521930['keyCode']===_0x439785['esc']&&_0x2ad62d['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x2ad62d['content']['first']),this['_hideBalloon'](),_0x521930['stopPropagation'](),_0x521930['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x28fd97,_0x4f8157)=>{const _0x57eb7d=_0x4f8157['target'];_0x2ad62d['isVisible']&&_0x2ad62d['element']['contains'](_0x57eb7d)||_0x2dbbf3['view']['element']['contains'](_0x57eb7d)||_0x28fd97['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x51ae93=>_0x51ae93['contains'](_0x57eb7d))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x544588=this['context']instanceof _0x48e836?this['context']['editors']:new _0x46e868([this['context']]);for(const _0x2b81e0 of _0x544588)this['_integrateWithEditorAnnotations'](_0x2b81e0);this['listenTo'](_0x544588,'add',(_0xaf531e,_0x4fe6a4)=>{this['listenTo'](_0x4fe6a4,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x4fe6a4);});}),this['listenTo'](_0x544588,'remove',(_0x3a1447,_0x2a4cab)=>{_0x2a4cab['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x2a4cab['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x5ae88b){if(_0x5ae88b===this['activeAnnotation'])return;const _0x4445ee=this['context']['plugins']['get'](z);if(_0x4445ee['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x5ae88b,'disableAnimationOnActivatedAnnotation':!0x0}),_0x5ae88b)_0x4445ee['getSidebarItemView'](_0x5ae88b)?this['_showBalloon'](_0x5ae88b):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x5ae88b;}['detach'](){if(!this['isAttached'])throw new _0x2e261a('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x594f85=this['context']['plugins']['get'](z);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0xc9362c=>_0xc9362c['destroy']()),this['_annotationToNarrowView']['clear'](),_0x594f85['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x48e836&&this['stopListening'](this['context']['editors']);for(const _0x118c6d of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x118c6d);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['_selectedAnnotations']=[],this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['bodyCollection']['detachFromDom']();}['_integrateWithEditorAnnotations'](_0x18c3d5){if(!_0x18c3d5['plugins']['has']('EditorAnnotations'))return;const _0x22b962=_0x18c3d5['plugins']['get']('EditorAnnotations'),_0x2d35a3=this['context']['plugins']['get'](z),_0x565379=this['annotations'],_0x25d303=this['balloonPanelView'],_0x3ee46d=()=>{const _0x1bea2e=_0x22b962['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x1bea2e),this['setActiveAnnotation'](_0x1bea2e[0x0]||null);};this['listenTo'](_0x22b962,'refresh',_0x3ee46d),this['listenTo'](_0x22b962,'blur',(_0x636fca,{isAnnotationTracked:_0x42e9ad})=>{this['activeAnnotation']&&_0x42e9ad(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x22b962,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x565379,'blur',_0x2c0ad3=>{_0x22b962['hasDomSelection']()&&_0x2c0ad3['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x119f60,_0x2d550a)=>{const _0x237979=_0x2d550a['target'];_0x25d303['isVisible']&&_0x25d303['element']['contains'](_0x237979)||_0x2d35a3['view']['element']['contains'](_0x237979)||this['activeAnnotation']&&_0x22b962['hasDomSelection']()&&(_0x3ee46d(),_0x119f60['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x22b962);}['_destroyEditorAnnotationsIntegration'](_0x1191b2){_0x1191b2&&(this['stopListening'](_0x1191b2),this['_editorAnnotations']['remove'](_0x1191b2));}['_setSelectedAnnotations'](_0x5e4750){for(const _0x141dd0 of this['_selectedAnnotations'])_0x5e4750['includes'](_0x141dd0)||this['_manuallyClosedAnnotationViews']['delete'](_0x141dd0['view']);this['_selectedAnnotations']=_0x5e4750;}['_refreshPositioning'](){const _0x41a05b=this['balloonPanelView'];this['annotations']['refreshPositioning'](),_0x41a05b['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x13ed16){if(this['_manuallyClosedAnnotationViews']['has'](_0x13ed16['view']))return;const _0x5064fb=this['balloonPanelView']['content']['first'];_0x5064fb!==_0x13ed16['view']?(_0x5064fb&&this['_detachListeners'](_0x5064fb),this['_attachListeners'](_0x13ed16['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x13ed16['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0xf567db=this['balloonPanelView']['content']['first'],_0x148cbb=_0xf567db&&this['annotations']['getByView'](_0xf567db);if(!_0x148cbb||!this['_annotationToNarrowView']['has'](_0x148cbb))return;const _0x8bcbf=this['_annotationToNarrowView']['get'](_0x148cbb)['element'],_0x563378=(function(){const _0x50d2a9=_0x5cd33c['defaultPositions'];return[_0x50d2a9['southArrowNorthEast'],_0x50d2a9['northArrowSouthEast'],_0x50d2a9['southArrowNorth'],_0x50d2a9['northArrowSouth'],_0x50d2a9['southArrowNorthWest'],_0x50d2a9['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x8bcbf,'positions':_0x563378});}['_hideBalloon'](){const _0xcc7965=this['balloonPanelView'],_0x271522=_0xcc7965['content']['first'];_0x271522&&(this['_detachListeners'](_0x271522),_0xcc7965['unpin'](),_0xcc7965['content']['clear']());}['_attachListeners'](_0x359ca7){this['listenTo'](_0x359ca7,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x359ca7,'Esc',(_0x808663,_0x5a1ae4)=>{this['_manuallyClosedAnnotationViews']['add'](_0x359ca7),this['_hideBalloon'](),_0x5a1ae4();});}['_detachListeners'](_0x1c4e7c){this['stopListening'](_0x1c4e7c);}}class c extends _0x27b2b8{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];static get['requires'](){return[k,_0x43b40e,j];}static get['pluginName'](){return'InlineAnnotations';}constructor(_0x55285c){super(_0x55285c),_0x55285c['editing']['view']['addObserver'](_0x53ef4b),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x55285c['plugins']['get'](_0x43b40e),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1;}['init'](){const _0xf84832=this['editor']['plugins']['get'](j);_0xf84832['context']===this['editor']&&(_0xf84832['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x286bc1,_0x3b8313)=>{const _0x20edd9=this['_balloon'];if(this['isAttached']&&_0x20edd9['visibleView']){const _0x1aa989=this['annotations']['getByView'](_0x20edd9['visibleView']);_0x1aa989&&this['_closeAnnotation'](_0x1aa989),_0x3b8313();}}));}['afterInit'](){const _0x5efb03=this['editor']['plugins']['get'](j);_0x5efb03['context']===this['editor']&&(_0x5efb03['hasActive']()||_0x5efb03['switchTo']('inline'));}['setActiveAnnotation'](_0x4500e6){_0x4500e6!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x4500e6&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x4500e6)&&this['_addAnnotationToBalloon'](_0x4500e6,!0x0),_0x4500e6['isActive']=!0x0),_0x4500e6||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x4500e6);}['attach'](_0x52975e){this['annotations']=_0x52975e;const _0x44c7c2=this['editor']['plugins']['get'](j),_0x164246=this['_balloon'];if(this['isAttached'])throw new _0x2e261a('inlineannotations-attach-already-attached',this);if(_0x44c7c2['context']!==this['editor'])throw new _0x2e261a('inlineannotations-not-allowed-with-context',this);const _0x5a89c9=this['editor']['plugins']['get'](k);this['listenTo'](_0x5a89c9,'refresh',()=>{const _0xe32a14=_0x5a89c9['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x485650,_0x18ab91;!this['_forceRefresh']&&(_0x485650=_0xe32a14,_0x18ab91=this['_selectedAnnotations'],_0x485650['length']===_0x18ab91['length']&&_0x485650['every'](_0x4a0af4=>_0x18ab91['includes'](_0x4a0af4)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0xe32a14),this['setActiveAnnotation'](_0xe32a14[0x0]||null));}),this['listenTo'](_0x5a89c9,'blur',(_0x1e6c41,{isAnnotationTracked:_0x554a79})=>{this['activeAnnotation']&&_0x554a79(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x2a16c2,_0x5eca4c,_0x4e3541)=>{_0x4e3541||this['setActiveAnnotation'](null);}),this['listenTo'](_0x52975e,'remove',(_0x5d2991,_0x37f967)=>{this['_removeAnnotationFromBalloon'](_0x37f967),_0x37f967===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x164246,'change:visibleView',(_0x124863,_0xcb9689,_0x5e2de8,_0x2ad6a1)=>{_0x2ad6a1&&this['stopListening'](_0x2ad6a1);const _0x50e2b1=_0x52975e['getByView'](_0x5e2de8);_0x5e2de8&&_0x50e2b1&&(this['listenTo'](_0x5e2de8,'change:height',()=>{_0x164246['updatePosition']();}),this['listenTo'](_0x5e2de8,'Esc',()=>{this['_closeAnnotation'](_0x50e2b1),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x50e2b1&&this['setActiveAnnotation'](_0x50e2b1));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x164246['visibleView']&&(_0x52975e['getByView'](_0x164246['visibleView'])&&_0x164246['updatePosition']());}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',()=>{this['_forceRefresh']=!0x0,this['_manuallyClosed']['clear']();}),this['editor']['editing']['view']['document']['selection']['editableElement']&&this['editor']['editing']['view']['focus'](),this['isAttached']=!0x0;}['detach'](){if(!this['isAttached'])throw new _0x2e261a('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x3bb423 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x3bb423);this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_setSelectedAnnotations'](_0x50e180){for(const _0x2fcf67 of this['_selectedAnnotations'])_0x50e180['includes'](_0x2fcf67)||this['_manuallyClosed']['delete'](_0x2fcf67);for(const _0x3c6db8 of this['annotations'])_0x50e180['includes'](_0x3c6db8)||this['_removeAnnotationFromBalloon'](_0x3c6db8);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x247ab0 of _0x50e180)this['_addAnnotationToBalloon'](_0x247ab0);}this['_selectedAnnotations']=_0x50e180;}['_addAnnotationToBalloon'](_0x235f2a,_0x5cb224=!0x1){this['_manuallyClosed']['has'](_0x235f2a)||(this['_addedAnnotations']['has'](_0x235f2a)||this['_balloon']['hasView'](_0x235f2a['view'])||(this['_addedAnnotations']['add'](_0x235f2a),this['_balloon']['add']({'stackId':_0x235f2a['view']['id'],'view':_0x235f2a['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x235f2a)}})),_0x5cb224&&this['_balloon']['showStack'](_0x235f2a['view']['id']));}['_getBalloonTargetForAnnotation'](_0xb0726){const _0x5afda0=_0xb0726['target'],_0x3d14f8=this['editor']['editing']['view'],_0x517338=_0x3d14f8['document']['selection']['getFirstRange'](),_0xaea0f7=_0x3d14f8['domConverter']['viewRangeToDom'](_0x517338);if(_0xaea0f7['collapse'](!0x0),_0x5afda0){if(_0x5afda0 instanceof _0x5c1d45)return _0x5afda0;let _0x418b30=[];for(const _0x47894c of _0x5afda0)_0x418b30['push'](...(_0xb58394=_0x47894c['getClientRects'](),Array['from'](_0xb58394)['map'](DOMRect['fromRect'])));_0x418b30=function(_0x4199f4){const _0x25534c=[];let _0x555486=_0x4199f4[0x0];for(let _0x35ee36=0x1;_0x35ee36<_0x4199f4['length'];_0x35ee36++)F(_0x555486,_0x4199f4[_0x35ee36])?_0x555486['width']+=_0x4199f4[_0x35ee36]['width']:(_0x25534c['push'](_0x555486),_0x555486=_0x4199f4[_0x35ee36]);return _0x25534c['push'](_0x555486),_0x25534c;}(_0x418b30);const _0x13a1e8=_0xaea0f7['getBoundingClientRect']();return _0x418b30['find'](_0x32a429=>_0x32a429['top']<=_0x13a1e8['top']&&_0x32a429['bottom']>=_0x13a1e8['bottom']&&_0x32a429['left']<=_0x13a1e8['left']&&_0x32a429['right']>=_0x13a1e8['right'])||_0x418b30[0x0];}var _0xb58394;return _0xb0726['targetRect']||_0xaea0f7;}['_removeAnnotationFromBalloon'](_0x1a4183){this['_addedAnnotations']['has'](_0x1a4183)&&this['_balloon']['hasView'](_0x1a4183['view'])&&(this['_addedAnnotations']['delete'](_0x1a4183),this['_balloon']['remove'](_0x1a4183['view']));}['_closeAnnotation'](_0x4b0f80){this['_manuallyClosed']['add'](_0x4b0f80),this['_removeAnnotationFromBalloon'](_0x4b0f80);}}function F(_0x8efdea,_0x1f0377){return _0x8efdea['top']===_0x1f0377['top']&&_0x8efdea['bottom']===_0x1f0377['bottom']&&_0x8efdea['right']===_0x1f0377['left'];}var Q='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M14\x203.5A3.5\x203.5\x200\x200\x201\x2017.5\x207v6l-.005.192a3.501\x203.501\x200\x200\x201-2.927\x203.262l-.062.008v1.813a1.5\x201.5\x200\x200\x201-2.193\x201.33l-.37-.193-.38-.212a13.452\x2013.452\x200\x200\x201-3.272-2.63l-.062-.07-4.729-.046a3.5\x203.5\x200\x200\x201-3.5-3.5v-6a3.5\x203.5\x200\x200\x201\x203.5-3.5L14\x203.5ZM3.5\x204.954a2\x202\x200\x200\x200-2\x202v6a2\x202\x200\x200\x200\x202\x202L8.924\x2015a11.917\x2011.917\x200\x200\x200\x203.71\x203.081l.372.194v-3.268L12.962\x2015H14a2\x202\x200\x200\x200\x202-2V7a2\x202\x200\x200\x200-2-2L3.5\x204.954Z\x22/><path\x20d=\x22M16.5.5h-10a3.5\x203.5\x200\x200\x200-3.162\x202h1.84A2\x202\x200\x200\x201\x206.5\x202h10a2\x202\x200\x200\x201\x202\x202v8.873a3.502\x203.502\x200\x200\x200\x201.495-2.681L20\x2010V4A3.5\x203.5\x200\x200\x200\x2016.5.5Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M12.013\x207.453a.75.75\x200\x200\x201\x20.034\x201.06l-3.75\x204a.75.75\x200\x200\x201-1.045.048l-2.25-2a.75.75\x200\x200\x201\x20.996-1.122l1.704\x201.515\x203.25-3.467a.75.75\x200\x200\x201\x201.061-.034Z\x22/></svg>\x0a';class X extends _t{['_focusTracker'];['_keystrokes'];['_focusables'];['_focusCycler'];constructor(_0x3d393a,_0x43040f){super(_0x3d393a),this['set']('isEmpty',!_0x43040f['length']),this['_focusTracker']=new _0x4825ec(),this['_keystrokes']=new Et(),this['_focusables']=_0x43040f,this['_focusCycler']=new _0x29b1d4({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['listenTo'](_0x43040f,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x43040f,'remove',(_0x4b7e9d,_0x56085e)=>{_0x56085e['isActive']&&this['focus'](),_0x43040f['length']||(this['isEmpty']=!0x0);});const _0x59f58f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':'div','children':_0x43040f},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x59f58f['if']('isEmpty','ck-hidden',_0x1d77b1=>!_0x1d77b1)]},'children':[{'text':W(_0x3d393a,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_keystrokes']['listenTo'](this['element']);const _0x55a2a3=_0x4320c8=>_0x4320c8['stopPropagation']();this['_keystrokes']['set']('arrowright',_0x55a2a3),this['_keystrokes']['set']('arrowleft',_0x55a2a3),this['_keystrokes']['set']('arrowup',_0x55a2a3),this['_keystrokes']['set']('arrowdown',_0x55a2a3),this['listenTo'](this['element'],'selectstart',(_0x3473e2,_0x16a805)=>{_0x16a805['stopPropagation']();},{'priority':'high'});}['destroy'](){super['destroy'](),this['_focusTracker']['destroy'](),this['_keystrokes']['destroy']();}['focus'](){this['element']['focus']();}}class p extends _0x3ff786{static get['pluginName'](){return'CommentsArchive';}static get['requires'](){return[m,b];}constructor(_0x190144){super(_0x190144),this['archivedThreads']=new _0x46e868();}['init'](){const _0x2282a6=this['context'],_0x39f372=_0x2282a6['plugins']['get'](m),_0x1602b8=_0x2282a6['plugins']['get'](b);this['listenTo'](_0x39f372,'addCommentThread',(_0x24dd17,{threadId:_0x132072})=>{const _0x3d56e3=_0x39f372['getCommentThread'](_0x132072);_0x3d56e3['archivedAt']&&this['archivedThreads']['add'](_0x3d56e3,this['_calculatePosition'](_0x3d56e3['archivedAt'])),this['listenTo'](_0x3d56e3,'change:archivedAt',(_0x45cf71,_0x5d6a38,_0x115f51)=>{_0x115f51?this['archivedThreads']['has'](_0x3d56e3)||this['archivedThreads']['add'](_0x3d56e3,this['_calculatePosition'](_0x3d56e3['archivedAt'])):this['archivedThreads']['has'](_0x3d56e3)&&this['archivedThreads']['remove'](_0x3d56e3);});}),this['listenTo'](_0x39f372,'removeCommentThread',(_0x1f5ed4,{threadId:_0x36b71e})=>{const _0x30b7bb=_0x39f372['getCommentThread'](_0x36b71e);this['stopListening'](_0x30b7bb),this['archivedThreads']['has'](_0x30b7bb)&&this['archivedThreads']['remove'](_0x30b7bb);},{'priority':'highest'}),this['listenTo'](_0x1602b8['collection'],'focus',(_0x4230ab,_0x498a78)=>{_0x498a78['isActive']=!0x0,_0x1602b8['activate'](_0x498a78);});}['_calculatePosition'](_0x578943){const _0x88a43=[...this['archivedThreads']]['findIndex'](_0x4c538c=>_0x4c538c['archivedAt']<_0x578943);return _0x88a43>-0x1?_0x88a43:this['archivedThreads']['length'];}}class a extends _0x27b2b8{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['requires'](){return[p,_0x1f552c];}constructor(_0x42ec84){super(_0x42ec84),this['annotationViews']=new _0x685357(),this['_pendingThreads']=[];}['init'](){this['editor']['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x41450c,!0x0)),this['editor']['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>this['_createCommentsArchiveButton'](_0x1fa3db));const _0xa127ba=this['editor']['plugins']['get'](p),_0x44aa0a=this['editor']['plugins']['get']('Annotations'),_0x20d657=this['editor']['plugins']['get']('CommentsRepository');this['listenTo'](_0xa127ba['archivedThreads'],'add',(_0x1d6ad6,_0x229635)=>{const _0x341b29=this['editor']['config']['get']('collaboration.channelId');if(!_0x341b29||_0x229635['channelId']===_0x341b29){const _0x4698b9=_0x20d657['_threadToController']['get'](_0x229635);if(!_0x4698b9)return void this['_pendingThreads']['push'](_0x229635);const _0x3af871=this['_calculatePosition'](_0x229635['archivedAt']),_0x24109b=_0x44aa0a['getByInnerView'](_0x4698b9['view']);_0x24109b['isVisible']&&_0x44aa0a['_visibleAnnotations']['remove'](_0x24109b),this['annotationViews']['add'](_0x24109b['view'],_0x3af871);}}),this['listenTo'](_0x44aa0a['collection'],'add',(_0x36d74e,_0x4c7230)=>{const _0x1161d3=this['_pendingThreads']['find'](_0x4f4f1e=>{const _0x38bcc0=_0x20d657['_threadToController']['get'](_0x4f4f1e);return _0x38bcc0&&_0x4c7230['innerView']===_0x38bcc0['view'];});if(_0x1161d3){const _0x466b6d=this['_calculatePosition'](_0x1161d3['archivedAt']);this['annotationViews']['add'](_0x4c7230['view'],_0x466b6d),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x1161d3),0x1);}}),this['listenTo'](_0xa127ba['archivedThreads'],'remove',(_0x3575d8,_0x32de4c)=>{const _0x20b740=this['editor']['config']['get']('collaboration.channelId');if(!_0x20b740||_0x32de4c['channelId']===_0x20b740){const _0x4ddbc8=_0x20d657['_threadToController']['get'](_0x32de4c),_0x1f99c7=_0x44aa0a['getByInnerView'](_0x4ddbc8['view']);this['annotationViews']['remove'](_0x1f99c7['view']),this['stopListening'](_0x1f99c7['focusableElements']);}});}['_calculatePosition'](_0x2ccc23){const _0x4011ba=this['editor']['config']['get']('collaboration.channelId'),_0x2e19cd=[...this['editor']['plugins']['get'](p)['archivedThreads']]['filter'](_0xb8e20e=>_0xb8e20e['channelId']===_0x4011ba)['findIndex'](_0x24ca2b=>_0x24ca2b['archivedAt']<_0x2ccc23);return _0x2e19cd<0x0||_0x2e19cd>this['annotationViews']['length']?this['annotationViews']['length']:_0x2e19cd-0x1;}['_toggleDialog'](){const _0xb32b9a=this['editor'],_0x30ec69=_0xb32b9a['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new X(_0xb32b9a['locale'],this['annotationViews'])),'commentsArchive'===_0x30ec69['id']?_0x30ec69['hide']():_0x30ec69['show']({'id':'commentsArchive','title':W(_0xb32b9a['locale'],'COMMENTS_ARCHIVE'),'icon':Q,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x432a41['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x3b01a4,_0x2f0b7b=!0x1){const _0x5c1f42=this['editor']['locale'],_0x41ae98=new _0x3b01a4(_0x5c1f42);return _0x41ae98['bind']('isEnabled')['to'](this,'isEnabled'),_0x41ae98['set']({'label':W(_0x5c1f42,'COMMENTS_ARCHIVE'),'icon':Q}),_0x2f0b7b&&(_0x41ae98['tooltip']=!0x0),this['listenTo'](_0x41ae98,'execute',()=>this['_toggleDialog']()),_0x41ae98;}}class f extends _0x27b2b8{static get['requires'](){return[m,r,s,p,a,e,n,i,c];}static get['pluginName'](){return'Comments';}}export{V as AnnotationView,b as Annotations,j as AnnotationsUIs,ti as BaseCommentThreadView,oi as BaseCommentView,se as Comment,ie as CommentThread,wt as CommentThreadController,Tt as CommentThreadInputView,At as CommentView,f as Comments,xt as CommentsListView,e as CommentsOnly,m as CommentsRepository,s as CommentsUI,k as EditorAnnotations,c as InlineAnnotations,i as NarrowSidebar,n as WideSidebar};
23
+ import{Editor as mt,icons as _0xad079e,ContextPlugin as _0x47dc70,PendingActions as ht,Context as _0x2de8fd,Command as _0x121422,Plugin as _0x11abd4}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x475d69,uid as _0x96845,KeystrokeHandler as Et,FocusTracker as _0x3b4d58,diff as _0x3b0dd7,Collection as _0x512477,Rect as _0x4bfc1a,CKEditorError as _0x3e664f,priorities as Wt,scrollViewportToShowTarget as _0x29d6c2,toUnit as Ht,DomEmitterMixin as _0x556811,keyCodes as _0x1bc0d1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{UserView as _0x3d6e85,ConfirmMixin as _0x56b661,trimHtml as _0x139237,Users as lt,getDateTimeFormatter as dt,hashObject as ct,getAllMarkersDomElementsSorted as tt,surroundingMarkersDetector as _0xb8eb12}from'ckeditor5-collaboration/dist/index.js';import{throttle as bt,isEqual as ft,cloneDeep as ut,set as pt,unset as It,debounce as _0x40dd0e}from'lodash-es';import{EditorUIView as Xt,InlineEditableUIView as $t,LabelView as Yt,EditorUI as Ut,View as _t,ButtonView as _0x25180e,ViewCollection as _0x17515f,FocusCycler as _0x4f0cce,createDropdown as _0x5df3ee,ListView as _0x17d1d0,ListItemView as _0x3a3477,MenuBarMenuListItemButtonView as _0x395480,BodyCollection as _0xe05088,BalloonPanelView as _0x433701,ContextualBalloon as _0x11f7ef,Dialog as _0xf6b8c6,DialogViewPosition as _0x4cf262}from'@ckeditor/ckeditor5-ui/dist/index.js';import{disablePlaceholder as zt,enablePlaceholder as Ft,MouseObserver as _0x60319e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{Clipboard as Bt,ClipboardMarkersUtils as Mt,ClipboardPipeline as Pt}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Enter as Gt,ShiftEnter as Jt}from'@ckeditor/ckeditor5-enter/dist/index.js';import{SelectAll as Kt}from'@ckeditor/ckeditor5-select-all/dist/index.js';import{Typing as Lt}from'@ckeditor/ckeditor5-typing/dist/index.js';import{Undo as Nt}from'@ckeditor/ckeditor5-undo/dist/index.js';import{Paragraph as Qt}from'@ckeditor/ckeditor5-paragraph/dist/index.js';class wt extends/* #__PURE__ -- @preserve */
24
+ _0x475d69(){['model'];['view'];constructor(_0x512643,_0x3a1eeb){super(),this['model']=_0x512643,this['model']['_isAttached']=!0x0,this['view']=_0x3a1eeb,this['listenTo'](_0x3a1eeb,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x3a1eeb,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x3a1eeb,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x3a1eeb,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x3a1eeb,'addComment',(_0x4b0044,_0x53a101)=>this['addComment'](_0x53a101)),this['listenTo'](_0x3a1eeb,'updateComment',(_0x533770,_0x43bf35,_0x4be638)=>this['updateComment'](_0x43bf35,_0x4be638)),this['listenTo'](_0x3a1eeb,'removeComment',(_0x3c4cd8,_0xc78b86)=>this['removeComment'](_0xc78b86));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x1d25db){this['model']['addComment']({'content':_0x1d25db,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x1c26fc,_0x53fea5){this['model']['getComment'](_0x1c26fc)['update']({'content':_0x53fea5});}['removeComment'](_0xea43c6){this['model']['getComment'](_0xea43c6)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function W(_0xd23336,_0x2c4edd,_0x5f37c2){const t=_0xd23336['t'];switch(_0x2c4edd){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5f37c2);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x5f37c2);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5f37c2);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5f37c2);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}class Vt extends Xt{['main'];['_voiceLabelView'];['editable'];constructor(_0x44e81b,_0x22fd95){super(_0x44e81b);const _0xc769e4=_0x96845();this['main']=this['createCollection'](),this['editable']=new $t(_0x44e81b,_0x22fd95),this['_voiceLabelView']=this['_createVoiceLabel'](_0xc769e4,_0x44e81b),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'role':'comment','dir':_0x44e81b['uiLanguageDirection'],'lang':_0x44e81b['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0xc769e4},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}['_createVoiceLabel'](_0x42dd56,_0x28e574){const _0x45fac5=new Yt();return _0x45fac5['text']=W(_0x28e574,'Comment\x20editor'),_0x45fac5['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x42dd56,'class':'ck-voice-label'}}),_0x45fac5;}}class Ot extends Ut{['view'];constructor(_0x41cfdb){super(_0x41cfdb),this['view']=new Vt(_0x41cfdb['locale'],_0x41cfdb['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x5cba27=this['editor']['editing']['view'],_0x3c69fc=this['view']['editable'],_0x269edf=_0x5cba27['document']['getRoot']();_0x3c69fc['name']=_0x269edf['rootName'],this['view']['render']();const _0x4ab381=_0x3c69fc['element'];this['setEditableElement'](_0x3c69fc['name'],_0x4ab381),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5cba27['attachDomRoot'](_0x4ab381),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const Rt=[Bt,Gt,Jt,Kt,Lt,Nt,Qt];class St extends/* #__PURE__ -- @preserve */
25
+ _0x475d69(mt){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
26
+ ((()=>Rt)());constructor(_0x878c87={}){(_0x878c87=Object['assign']({},_0x878c87))['plugins']||(_0x878c87['plugins']=St['defaultPlugins']),super(_0x878c87),this['ui']=new Ot(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot']();}['create'](){const _0x6e47e1=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x6e47e1))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x1ef678=>{const _0x300527=this['model']['document']['getRoot'](),_0x47e964=_0x300527&&_0x300527['getChild'](_0x300527['childCount']-0x1);_0x1ef678['setSelection'](_0x47e964,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x11bf85=this['editing']['view'],_0x43b54=_0x11bf85['document']['getRoot'](),_0x17afa2=_0x43b54['getChild'](0x0);_0x43b54['childCount']>0x1||!_0x17afa2||'p'!=_0x17afa2['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(zt(_0x11bf85,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x17afa2['placeholder']=this['placeholder']),Ft({'view':_0x11bf85,'element':_0x17afa2,'keepOnFocus':!0x0}),this['placeholderElement']=_0x17afa2);}}class ei extends _t{['keystrokes'];['focusTracker'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x17d7b0,_0x1cf757={}){super(_0x17d7b0),this['editor']=null,this['_editorConfig']=_0x1cf757,this['keystrokes']=new Et(),this['focusTracker']=new _0x3b4d58(),this['set']('value',_0x1cf757['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',W(_0x17d7b0,'Reply...')),this['set']('submitLabel',W(_0x17d7b0,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0x3128e8,_0x3e117f)=>{this['cancelButtonView']['fire']('execute'),_0x3e117f();}),this['on']('submit',(_0x280421,_0x5687ef)=>{_0x5687ef['length']>0xfde8?(alert(W(_0x17d7b0,'TOO_LONG_COMMENT_ALERT',[_0x5687ef['length'],0xfde8])),_0x280421['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['keystrokes']['listenTo'](this['element']),this['focusTracker']['add'](this['element']);}['createEditor'](){return this['editor']||(this['editor']=new St(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x30d4c0=this['editor'];this['element']['insertBefore'](_0x30d4c0['ui']['element'],this['element']['firstChild']),_0x30d4c0['model']['document']['on']('change',()=>this['value']=_0x30d4c0['getData']()),_0x30d4c0['bind']('placeholder')['to'](this),this['_initializeFocusCycling'](this['editor']),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](){this['editor']&&this['editor']['focus']();}async['destroy'](){this['_isDestroyed']||(this['_isDestroyed']=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this['editor']['destroy'](),this['fire']('editorDestroyed',this['editor'])),await super['destroy']());}['_createSubmitButton'](){const {locale:_0x3b75c9}=this,_0x376fec=new _0x25180e(_0x3b75c9);return _0x376fec['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x376fec['withText']=!0x0,_0x376fec['bind']('label')['to'](this,'submitLabel'),_0x376fec['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x376fec['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x1cd78a,_0x238f60)=>!_0x238f60&&!!_0x1cd78a['trim']()),_0x376fec;}['_createCancelButton'](){const {locale:_0x575db9}=this,_0x2cbd3f=new _0x25180e(_0x575db9);return _0x2cbd3f['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x2cbd3f['label']=W(_0x575db9,'Cancel'),_0x2cbd3f['withText']=!0x0,_0x2cbd3f['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x2cbd3f;}['_initializeFocusCycling'](_0x53494c){const _0x2183c5=this['focusTracker'],_0x4a477b=new _0x17515f();[_0x53494c['ui']['view'],this['submitButtonView'],this['cancelButtonView']]['forEach'](_0x502aea=>{_0x4a477b['add'](_0x502aea),_0x2183c5['add'](_0x502aea['element']);});const _0x1827ec=new _0x4f0cce({'focusables':_0x4a477b,'focusTracker':_0x2183c5});this['keystrokes']['set']('tab',(_0x1cb202,_0x2601d5)=>{_0x1827ec['focusNext'](),_0x2601d5();},{'priority':'low'}),this['keystrokes']['set']('shift\x20+\x20tab',(_0x57f757,_0x3b2128)=>{_0x1827ec['focusPrevious'](),_0x3b2128();},{'priority':'low'});}}class Tt extends _t{constructor(_0x5d80f5,_0x9c2de6,_0x427a2e){super(_0x5d80f5),this['commentInputView']=new ei(_0x5d80f5,_0x427a2e),this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x5a4e0e,_0xbedc65)=>_0x5a4e0e||!!_0xbedc65),this['set']('showInput',!0x1),this['on']('change:showInput',()=>{this['showInput']&&!this['commentInputView']['editor']&&this['commentInputView']['createEditor']();}),this['commentInputView']['delegate']('editorReady')['to'](this),this['commentInputView']['delegate']('editorDestroyed')['to'](this),this['userView']=new _0x3d6e85(_0x5d80f5,_0x9c2de6),this['userView']['extendTemplate']({'attributes':{'class':'ck-thread__user'}}),this['commentInputView']['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this['bindTemplate']['if']('showInput','ck-comment__input-container--active')]},'children':[this['userView'],this['commentInputView']]});}['destroy'](){return this['commentInputView']['destroy']()['then'](()=>super['destroy']());}}class ts extends _t{constructor(_0x49bdfe){super(_0x49bdfe);const _0x14442e=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x14442e['to']('count',_0x2d4ad2=>W(_0x49bdfe,'NUMBER_OF_COMMENTS',_0x2d4ad2))}]});}}class xt extends _t{['commentViews'];['resolvedCommentView'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x3a1b85,_0xfd265d,_0x428966){super(_0x3a1b85),this['set']('hasDirtyComment',!0x1),this['set']('length',_0xfd265d['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0xfd265d,this['_config']=_0x428966,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['_collapsedCommentsView']=new ts(_0x3a1b85),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x4ff54a=>_0x4ff54a-this['_config']['maxCommentsWhenCollapsed']);for(const _0x11f124 of _0xfd265d['comments'])this['_handleNewCommentModel'](_0x11f124);this['_handleInfoComment'](),this['listenTo'](_0xfd265d['comments'],'add',(_0x5cac16,_0x32ae76)=>{const _0x4e1e71=this['_calculatePosition'](_0x32ae76);this['length']++,this['_handleNewCommentModel'](_0x32ae76,_0x4e1e71),this['refreshVisibleViews']();}),this['listenTo'](_0xfd265d['comments'],'remove',(_0x14927b,_0x4e80b2)=>{this['length']--,this['_handleRemoveCommentModel'](_0x4e80b2),this['refreshVisibleViews']();}),this['listenTo'](_0xfd265d,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0xfd265d,'change:isResolved',()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this['setTemplate']({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this['visibleViews']});}get['_shouldCollapse'](){return this['_model']['weight']>this['_config']['maxThreadTotalWeight']&&!this['isActive']&&!this['hasDirtyComment'];}['render'](){super['render'](),this['refreshVisibleViews']();}['focus'](){this['element']['focus']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x77be3 of this['commentViews'])_0x77be3['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x54baba,_0x6313f){const _0x5adf26=new this['_config']['CommentView'](this['locale'],_0x54baba,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x5adf26['viewUid']=_0x54baba['id'],_0x5adf26['delegate']('removeComment')['to'](this),_0x5adf26['delegate']('updateComment')['to'](this),_0x5adf26['delegate']('resolveCommentThread')['to'](this),_0x5adf26['delegate']('editorReady')['to'](this),_0x5adf26['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x5adf26,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x5adf26,_0x6313f);}['_calculatePosition'](_0x181e04){const _0x3ed5f2=this['_model']['_findOptimalIndex'](_0x181e04);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x181e04['authoredAt']?_0x3ed5f2-0x1:_0x3ed5f2:_0x3ed5f2-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x39c29f={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':W(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x39c29f,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x39c29f));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x3cb251){const _0x3eb205=this['commentViews']['remove'](_0x3cb251['id']);this['stopListening'](_0x3eb205),_0x3eb205['isEditMode']&&this['_updateHasDirtyComment'](),_0x3eb205['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x15f03d=>_0x15f03d['isEditMode']);}['_rearrangeCollapse'](){const _0x579657=function(_0xc48426){const _0x2c880b=new _0x512477();for(const _0x1d6a7c of _0xc48426)_0x2c880b['add'](_0x1d6a7c);return _0x2c880b;}(this['commentViews']),_0x249a23=this['_collapsedCommentsView']['count'];for(let _0x58c3ef=0x1;_0x58c3ef<=_0x249a23;_0x58c3ef++)_0x579657['remove'](0x1);for(const _0x473ca6 of _0x579657)_0x473ca6['collapse']();_0x249a23>0x0&&_0x579657['add'](this['_collapsedCommentsView'],0x1),is(_0x3b0dd7(Array['from'](this['visibleViews']),Array['from'](_0x579657)),this['visibleViews'],_0x579657);}['_rearrangeExpand'](){is(_0x3b0dd7(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x5dd184 of this['visibleViews'])_0x5dd184['expand']();}}function is(_0x27da7f,_0x445019,_0x26e728){let _0x2603ce=0x0;for(const _0x4e2584 of _0x27da7f)switch(_0x4e2584){case'insert':_0x445019['add'](_0x26e728['get'](_0x2603ce),_0x2603ce),_0x2603ce++;break;case'delete':_0x445019['remove'](_0x2603ce);break;case'equal':_0x2603ce++;}}class Zt extends _t{['_model'];['reopenButtonView'];constructor(_0x3978a8,_0x49e4c7){super(_0x3978a8);const _0x1a6d6a=this['bindTemplate'];this['_model']=_0x49e4c7,this['reopenButtonView']=this['_createReopenButton'](),this['bind']('hasContext')['to'](this['_model'],'context',_0x581a72=>!!_0x581a72),this['bind']('contextValue')['to'](this['_model'],'context',_0x279774=>_0x279774&&_0x279774['value']?this['_trimContextValue'](_0x279774['value']):W(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-context',_0x1a6d6a['if']('hasContext','ck-context--quotes')]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x1a6d6a['to']('contextValue')}]}]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions']();}['_createReopenButton'](){const _0x3a5ad5=new _0x25180e(this['locale']);return _0x3a5ad5['label']=W(this['locale'],'Reopen'),_0x3a5ad5['tooltip']=W(this['locale'],'Reopen'),_0x3a5ad5['icon']='<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m5.042\x209.367\x202.189\x201.837a.75.75\x200\x200\x201-.965\x201.149l-3.788-3.18a.747.747\x200\x200\x201-.21-.284.75.75\x200\x200\x201\x20.17-.945L6.23\x204.762a.75.75\x200\x201\x201\x20.964\x201.15L4.863\x207.866h8.917A.75.75\x200\x200\x201\x2014\x207.9a4\x204\x200\x201\x201-1.477\x207.718l.344-1.489a2.5\x202.5\x200\x201\x200\x201.094-4.73l.008-.032H5.042z\x22/></svg>',_0x3a5ad5['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x54af81=>!_0x54af81),_0x3a5ad5['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x3d50d6,_0x154c8c)=>_0x3d50d6&&_0x154c8c),_0x3a5ad5['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x3a5ad5;}['_trimContextValue'](_0x239587){if(_0x239587['length']<0x96)return _0x239587;const _0x5e64b5=_0x239587['lastIndexOf']('\x20',0x93);return _0x239587['substring'](0x0,_0x5e64b5>-0x1?_0x5e64b5:0x93)+'...';}['_attachContextActions'](){const _0x2b7024=this['element']['querySelector']('.ck-context'),_0xb43620=_0x2b7024['querySelector']('.ck-context__value');this['listenTo'](_0x2b7024,'mouseenter',()=>{_0xb43620['offsetWidth']<_0xb43620['scrollWidth']&&_0x2b7024['classList']['add']('overlay');}),this['listenTo'](_0x2b7024,'mouseleave',()=>{_0x2b7024['classList']['remove']('overlay');});}}class ti extends _t{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];constructor(_0xc2395,_0x57da9e,_0x261708,_0xc856d5){super(_0xc2395),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x57da9e,this['_localUser']=_0x261708,this['_config']=_0xc856d5,this['commentThreadHeaderView']=new Zt(_0xc2395,_0x57da9e),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new xt(_0xc2395,_0x57da9e,Object['assign']({'CommentView':this['_config']['CommentView']},_0xc856d5)),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['listenTo'](this,'resolveCommentThread',()=>{this['focus']();}),this['set']('length',this['commentsListView']['length']),this['bind']('length')['to'](this['commentsListView'],'length'),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x14320d,_0x274f49)=>_0x14320d||!!_0x274f49),this['bind']('isUnlinked')['to'](_0x57da9e,'unlinkedAt',_0x186651=>!!_0x186651);}['focus'](){this['element']['focus']();}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x4ed8dd=new Tt(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x379b49=_0x4ed8dd['commentInputView'];return _0x4ed8dd['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x379b49,'value',(_0x21a7ea,_0x42a261,_0xc26a65,_0x8f68a,_0xb6075c)=>!!_0xb6075c||!!_0x8f68a&&_0xc26a65&&!_0x42a261||_0x21a7ea&&_0xc26a65&&!_0x42a261),_0x379b49['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x5b8212,_0x510c3b,_0x32e972)=>{let _0x3063ca;return _0x3063ca=_0x32e972&&_0x510c3b?'Reply\x20to\x20reopen\x20discussion...':_0x5b8212?'Reply...':'Write\x20a\x20comment...',W(this['locale'],_0x3063ca);}),_0x379b49['bind']('submitLabel')['to'](this,'length',_0x1b03ff=>W(this['locale'],_0x1b03ff?'Reply':'Comment')),_0x379b49['on']('submit',(_0x3930f8,_0x449ee3)=>{this['fire']('addComment',_0x449ee3),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x379b49['on']('cancel',()=>{this['focus']();}),_0x379b49['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x379b49['on']('cancel',_0x4070c9=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x4070c9['stop']());}),this['on']('change:isActive',(_0x4693a7,_0x30ea96,_0x1d91fd)=>{_0x1d91fd||this['length']||_0x379b49['value']||this['fire']('removeCommentThread');}),_0x4ed8dd;}}class yt extends/* #__PURE__ -- @preserve */
27
+ _0x56b661(ti){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x45461d,_0x1e16a5,_0x26775e,_0x1eb326){super(_0x45461d,_0x1e16a5,_0x26775e,_0x1eb326),this['commentThreadChildren']=this['createCollection'](),this['commentThreadChildren']['addMany']([this['commentsListView'],this['commentThreadInputView']]),this['_model']['archivedAt']&&this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this['_model']['on']('change:archivedAt',(_0x54d542,_0x13b7ee,_0x53d8f0)=>{_0x53d8f0?this['commentThreadChildren']['has'](this['commentThreadHeaderView'])||this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0):this['commentThreadChildren']['remove'](this['commentThreadHeaderView']);}),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x45461d,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x3c0e29,_0x4e5255,_0x15a983)=>{_0x15a983||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0xcbbd28,_0x5d4868,_0x2715b9)=>{_0x2715b9&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x46c98e=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck-thread','ck-reset_all-excluded',_0x46c98e['if']('isActive','ck-thread--active'),_0x46c98e['if']('isUnlinked','ck-thread--unlinked'),_0x46c98e['if']('isConfirm','ck-thread--remove-confirmation'),_0x46c98e['to']('actionIndicator',_0xea478d=>_0xea478d?'ck-thread--'+_0xea478d:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}['render'](){super['render'](),this['containerElement']=this['element']['querySelector']('.ck-thread__container');}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x442221 of this['commentsListView']['commentViews'])_0x442221['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x98a647}=this,_0x80aa9c=this['commentsListView']['commentViews']['get'](0x0);_0x80aa9c===this['_boundFirstCommentView']||_0x80aa9c['isSystemComment']||(this['_boundFirstCommentView']=_0x80aa9c,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x80aa9c,'actionIndicator',_0x25ba41=>'remove'===_0x25ba41?'remove':null),_0x80aa9c['placeholder']=W(_0x98a647,'Write\x20a\x20comment...'),_0x80aa9c['removeButton']['on']('execute',_0x3134a1=>{_0x3134a1['stop'](),this['showConfirm'](W(_0x98a647,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),_0x80aa9c['actionBar']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x5188a7=new _0x25180e(this['locale']);return _0x5188a7['label']=W(this['locale'],'Resolve'),_0x5188a7['tooltip']=W(this['locale'],'Resolve'),_0x5188a7['icon']=_0xad079e['check'],_0x5188a7['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x5188a7['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x2025b8=>!_0x2025b8),_0x5188a7['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x3bd1a7,_0x555dfb)=>_0x3bd1a7&&!_0x555dfb),_0x5188a7['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x5188a7;}}class si extends _t{constructor(_0x2e3284){super(_0x2e3284),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x33aad3,_0x62525b,_0x466c99)=>{this['element']['innerHTML']=_0x466c99;}),this['element']['innerHTML']=this['content'];}}class oi extends _t{['visibleView'];['_model'];['_config'];constructor(_0x1bb063,_0x5f2219,_0x207912){super(_0x1bb063),this['_model']=_0x5f2219,this['_config']=_0x207912,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']());}['expand'](){this['isCollapsed']=!0x1;}['collapse'](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this['element']['focus']();}async['destroy'](){await this['visibleView']['get'](0x0)['destroy'](),super['destroy']();}['switchToEditMode'](){this['isEditMode']||(this['isEditMode']=!0x0,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentInputView']()));}['switchToDisplayMode'](){this['isEditMode']&&(this['isEditMode']=!0x1,this['visibleView']['remove'](0x0)['destroy'](),this['visibleView']['add'](this['_createCommentContentView']()));}['_createCommentContentView'](){const _0x5e559e=new si(this['locale']);return _0x5e559e['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x122776,_0x2f4ba9)=>_0x2f4ba9?_0x139237(_0x122776,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x122776),_0x5e559e;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x562b0c=new ei(this['locale'],this['_config']['editorConfig']);return _0x562b0c['value']=this['_model']['content'],_0x562b0c['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x562b0c['submitLabel']=W(this['locale'],'Save'),_0x562b0c['on']('submit',(_0x8a2e79,_0x35ab4b)=>{this['fire']('updateComment',this['_model']['id'],_0x35ab4b),this['switchToDisplayMode'](),this['focus']();}),_0x562b0c['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x562b0c['once']('editorReady',()=>{_0x562b0c['focus']();}),_0x562b0c['createEditor'](),_0x562b0c['delegate']('editorReady')['to'](this),_0x562b0c['delegate']('editorDestroyed')['to'](this),_0x562b0c;}}class At extends/* #__PURE__ -- @preserve */
28
+ _0x56b661(oi){['actionBar'];['userView'];constructor(_0x3f6653,_0x1ec9d7,_0xc4a08e){super(_0x3f6653,_0x1ec9d7,_0xc4a08e),this['set']('actionIndicator',null),this['set']('placeholder',W(_0x3f6653,'Reply...')),this['bind']('authoredAt')['to'](_0x1ec9d7),this['bind']('resolvedAt')['to'](_0x1ec9d7),this['actionBar']=this['createCollection'](),this['isSystemComment']||(this['editButton']=this['_createEditButton'](),this['removeButton']=this['_createRemoveButton'](),this['items']=this['createCollection'](),this['items']['addMany']([this['editButton'],this['removeButton']]),this['dropdown']=this['_createDropdown'](),this['actionBar']['add'](this['dropdown'])),this['userView']=new _0x3d6e85(_0x3f6653,_0x1ec9d7['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user']}}),this['listenTo'](_0x1ec9d7,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x4080b9=this['bindTemplate'],_0xa41da8=[{'tag':'div','attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0x4080b9['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x4080b9['to']('authoredAt',_0x50412a=>this['_config']['formatDateTime'](_0x50412a))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x4080b9['if']('isEditMode','ck-comment__actions--hidden'),_0x4080b9['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']}];return this['_model']['isExternal']&&_0xa41da8['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x4080b9['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x4080b9['if']('isEditMode','ck-comment--edit'),_0x4080b9['if']('isSystemComment','ck-comment--info'),_0x4080b9['to']('actionIndicator',_0x2d2c75=>_0x2d2c75?'ck-comment--'+_0x2d2c75:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this['_model']['id']},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':_0xa41da8}]}]};}['_createEditButton'](){const _0xbfc31b=new _0x25180e(this['locale']);return _0xbfc31b['label']=W(this['locale'],'Edit'),_0xbfc31b['icon']=_0xad079e['pencil'],_0xbfc31b['withText']=!0x0,_0xbfc31b['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0xbfc31b['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x3aba49=>!_0x3aba49),_0xbfc31b['bind']('isVisible')['to'](this['_model'],'isEditable'),_0xbfc31b['on']('execute',()=>this['switchToEditMode']()),_0xbfc31b;}['_createRemoveButton'](){const _0xff89df=new _0x25180e(this['locale']);return _0xff89df['label']=W(this['locale'],'Remove'),_0xff89df['icon']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M5.2\x207h9.2c.6\x200\x201\x20.4\x201\x201v9.9c0\x20.5-.4\x201-1\x201H5.2a1\x201\x200\x200\x201-1-1V8c0-.6.4-1\x201-1zm1\x201.5c-.3\x200-.5.2-.5.5v8c0\x20.3.2.5.5.5h.5c.2\x200\x20.5-.2.5-.5V9c0-.3-.3-.5-.5-.5h-.5zm3.2\x200c-.2\x200-.5.2-.5.5v8c0\x20.3.3.5.5.5h.5c.3\x200\x20.5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.4zm3.5\x200c-.2\x200-.5.2-.5.5v8c0\x20.3.3.5.5.5h.5c.3\x200\x20.5-.2.5-.5V9c0-.3-.2-.5-.5-.5h-.5zm-1.4-7.1H8.3L6.5\x203.6H3.8c-.5\x200-.7.3-.7.8s.2.7.7.7h12c.6\x200\x20.9-.2.9-.7\x200-.5-.3-.8-1-.8h-2.4l-1.8-2.2z\x22/></svg>\x0a',_0xff89df['withText']=!0x0,_0xff89df['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0xff89df['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x551496=>!_0x551496),_0xff89df['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0xff89df['on']('execute',()=>{this['showConfirm'](W(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0xff89df;}['_createDropdown'](){const _0x4984e3=_0x5df3ee(this['locale']),_0x342c0f=_0x4984e3['panelView']['children'],_0xfafaae=new _0x17d1d0(this['locale']),_0x290f38=(_0x523dac,_0x319a4b=-0x1)=>{const _0x154638=new _0x3a3477(this['locale']);_0x154638['children']['add'](_0x523dac);const _0x38186e=_0x319a4b>-0x1?_0x319a4b:_0xfafaae['items']['length'];_0xfafaae['items']['add'](_0x154638,_0x38186e),_0x4984e3['listenTo'](_0x523dac,'change:isEnabled',()=>{_0x4984e3['isEnabled']=[...this['items']]['some'](_0x5c1754=>_0x5c1754['isEnabled']);}),_0x4984e3['listenTo'](_0x523dac,'change:isVisible',()=>{_0x4984e3['buttonView']['isVisible']=[...this['items']]['some'](_0xba8cc7=>_0xba8cc7['isVisible']);});};_0x4984e3['panelPosition']='sw',_0x4984e3['buttonView']['set']({'label':W(this['locale'],'Show\x20more\x20items'),'icon':_0xad079e['threeVerticalDots']}),_0x4984e3['isEnabled']=[...this['items']]['some'](_0x44eeaf=>_0x44eeaf['isEnabled']),_0x4984e3['buttonView']['isVisible']=[...this['items']]['some'](_0x3b435d=>_0x3b435d['isVisible']);for(const _0xd4c29b of this['items'])_0x290f38(_0xd4c29b);return _0x342c0f['add'](_0xfafaae),_0x4984e3['listenTo'](this['items'],'add',(_0x445167,_0x40a6b5,_0x33ee60)=>{_0x290f38(_0x40a6b5,_0x33ee60);}),_0x4984e3['listenTo'](this['items'],'remove',(_0x1639a4,_0x7ca819,_0x155d80)=>{_0xfafaae['items']['remove'](_0x155d80);}),_0x4984e3;}['_attachActions'](_0xf2a991,_0x23892e){const _0x57fd41=_0xf2a991&&_0xf2a991['element'];_0x57fd41&&(this['listenTo'](_0x57fd41,'mouseenter',()=>this['actionIndicator']=_0x23892e),this['listenTo'](_0x57fd41,'focus',()=>this['actionIndicator']=_0x23892e),this['listenTo'](_0x57fd41,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x57fd41,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x460781=super['_createCommentInputView']();return _0x460781['bind']('placeholder')['to'](this),_0x460781;}['getExternalCommentNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?W(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):W(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?W(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):W(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function Dt(_0x564508){const _0x33dfe3=bt(_0x564508,0x1e),_0x2f44f5=new MutationObserver(_0x344b57=>{for(const _0x3685b7 of _0x344b57)('attributes'==_0x3685b7['type']&&'class'==_0x3685b7['attributeName']||'childList'==_0x3685b7['type']||'characterData'==_0x3685b7['type'])&&_0x33dfe3();});return{'attach'(_0x555be7){_0x2f44f5['observe'](_0x555be7,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x2f44f5['disconnect'](),_0x33dfe3['cancel']();}};}class V extends _t{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x9251bb,_0x33dc15){super(_0x9251bb),this['id']=_0x96845(),this['focusTracker']=new _0x3b4d58(),this['keystrokes']=new Et(),this['keystrokes']['set']('Esc',(_0x29e951,_0x57673e)=>this['fire']('Esc',_0x57673e)),this['set']('targetRect',{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this['set']('height',0x0),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['set']('length',0x0),this['set']('type',''),this['_mutationObserver']=Dt(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['add'](_0x33dc15),this['mainView']=_0x33dc15;const _0x44569b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x44569b['if']('isActive','ck-annotation-wrapper--active')],'tabindex':-0x1},'children':this['content']});}['render'](){super['render'](),this['focusTracker']['add'](this['element']),this['keystrokes']['listenTo'](this['element']),this['_mutationObserver']['attach'](this['element']);}['destroy'](){this['content']['clear'](),this['keystrokes']['destroy'](),this['focusTracker']['destroy'](),this['_mutationObserver']['detach'](),super['destroy']();}['focus'](){this['element']['focus']();}['_updateHeight'](){const _0x3d9a07=this['element']['clientHeight'];_0x3d9a07&&(this['height']=_0x3d9a07);}}class d extends/* #__PURE__ -- @preserve */
29
+ _0x475d69(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x523b20,target:_0x18802e,type:_0x29472e,isVisible:_0x577bc5=!0x0}){super(),this['view']=_0x523b20,this['view']['element']||this['view']['render'](),this['_type']=_0x29472e,this['_target']=_0x18802e,d['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x512477([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x2b212c,_0x51c858)=>{this['view']['focusTracker']['add'](_0x51c858);}),this['focusableElements']['on']('remove',(_0x1fb5ee,_0x5d450d)=>{this['view']['focusTracker']['remove'](_0x5d450d);}),this['set']('isVisible',_0x577bc5);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0xb7c89f=this['_getNormalizedTarget']();return d['_assertCorrectTarget'](_0xb7c89f),_0xb7c89f;}get['targetRect'](){const _0x14d3db=this['target'];if(null===_0x14d3db)return null;if(_0x14d3db instanceof _0x4bfc1a)return _0x14d3db;const _0x3ee023=_0x14d3db['filter'](_0x5e424e=>function(_0x2e5152){const _0x139a3f=_0x2e5152['offsetParent'];if(_0x139a3f)return!0x0;const _0x336a4c=_0x2e5152['getClientRects']()['item'](0x0);return!!_0x336a4c;}(_0x5e424e));return 0x0===_0x3ee023['length']?null:new _0x4bfc1a(_0x3ee023[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x18f518){this['view']['isActive']=_0x18f518,this['view']['mainView']['isActive']=_0x18f518;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x772e3a){if(!(null===_0x772e3a||_0x772e3a instanceof _0x4bfc1a||Array['isArray'](_0x772e3a)&&_0x772e3a['every'](_0x1fb99d=>ee(_0x1fb99d))))throw new _0x3e664f('annotation-invalid-target',null,{'target':_0x772e3a});}['_getNormalizedTarget'](){const _0x236fa3='function'==typeof this['_target']?this['_target']():this['_target'];return ee(_0x236fa3)?[_0x236fa3]:_0x236fa3;}}function ee(_0x4b978c){return null!==_0x4b978c&&'object'==typeof _0x4b978c&&'nodeType'in _0x4b978c&&0x1===_0x4b978c['nodeType'];}class x extends _0x512477{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x86f351=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x3b4d58(),this['_focusTracker']['on']('change:isFocused',(_0x5f41c4,_0x2cc08e,_0x470cef)=>{_0x470cef||this['fire']('blur');});for(const _0x4bf4dd of _0x86f351)this['add'](_0x4bf4dd);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x214aa0){if(this['has'](_0x214aa0))throw new _0x3e664f('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x214aa0['innerView'],_0x214aa0),this['_viewToAnnotation']['set'](_0x214aa0['view'],_0x214aa0);for(const _0x30e2da of _0x214aa0['focusableElements'])this['_focusTracker']['add'](_0x30e2da);this['listenTo'](_0x214aa0['focusableElements'],'add',(_0x1d31ab,_0x8caec9)=>{this['_focusTracker']['add'](_0x8caec9);}),this['listenTo'](_0x214aa0['focusableElements'],'remove',(_0x197fd2,_0x51af02)=>{this['_focusTracker']['remove'](_0x51af02);}),this['listenTo'](_0x214aa0['view']['focusTracker'],'change:isFocused',(_0x2a6d4f,_0x7dcf7c,_0x278c29)=>{_0x278c29&&this['fire']('focus',_0x214aa0);}),_0x214aa0['updateTargetRect']();const _0xade698=this['_getOrderInContent'](_0x214aa0['view']['targetRect']);return super['add'](_0x214aa0,_0xade698);}['remove'](_0x155720){if(!this['has'](_0x155720))throw new _0x3e664f('annotationcollection-not-existing-item',null);this['stopListening'](_0x155720['view']['focusTracker']),this['stopListening'](_0x155720['focusableElements']);for(const _0x2a7915 of _0x155720['focusableElements'])this['_focusTracker']['remove'](_0x2a7915);return this['_viewToAnnotation']['delete'](_0x155720['view']),this['_innerViewToAnnotation']['delete'](_0x155720['innerView']),super['remove'](_0x155720);}['getByInnerView'](_0x2b2bd2){return this['_innerViewToAnnotation']['get'](_0x2b2bd2);}['getByView'](_0x550211){return this['_viewToAnnotation']['get'](_0x550211);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x1fb2a5 of this)_0x1fb2a5['updateTargetRect']();this['_sort']();}['_sort'](){const _0x1679f0=Array['from'](this)['sort']((_0x38e597,_0x324131)=>v(_0x38e597['view']['targetRect'],_0x324131['view']['targetRect']));for(let _0x5dd51f=_0x1679f0['length']-0x1;_0x5dd51f>0x0;_0x5dd51f--){const _0x2e200e=_0x1679f0[_0x5dd51f];_0x5dd51f!==this['getIndex'](_0x2e200e)&&(this['remove'](_0x2e200e),this['add'](_0x2e200e));}}['_getOrderInContent'](_0x45c6bd){let _0x522837=0x0;if(!_0x45c6bd)return this['length'];for(const _0x10c385 of this){const _0x5d7e21=_0x10c385['view']['targetRect'];if(_0x5d7e21){if(v(_0x45c6bd,_0x5d7e21)<0x0)return _0x522837;_0x522837++;}}return _0x522837;}}function v(_0x13c5b8,_0x10afba){if(null===_0x13c5b8&&null===_0x10afba)return 0x0;if(null===_0x13c5b8)return-0x1;if(null===_0x10afba)return 0x1;const _0x5262ab=_0x13c5b8['top']-_0x10afba['top'];return 0x0==_0x5262ab?_0x13c5b8['left']-_0x10afba['left']:_0x5262ab;}class b extends _0x47dc70{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}constructor(_0x4dcf8f){super(_0x4dcf8f),this['collection']=new x(),this['_visibleAnnotations']=new x(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations']();}['add'](_0x202e5e){this['collection']['add'](_0x202e5e);}['remove'](_0x10afd1){this['collection']['remove'](_0x10afd1),_0x10afd1['destroy']();}['refreshVisibility'](){for(const _0x44fdc6 of this['collection'])_0x44fdc6['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x44135a){return this['collection']['getByInnerView'](_0x44135a);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0xed70 of this['collection'])_0xed70['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x317b62){this['fire']('_activateAnnotation',_0x317b62);}['createAnnotation'](_0x1c302e){return new d(_0x1c302e);}['createAnnotationView'](_0x1d418d,_0x2be142){return new V(_0x1d418d,_0x2be142);}['_addActiveAnnotation'](_0xf28a9a){const _0x167bf5=new Set(this['activeAnnotations']);_0x167bf5['add'](_0xf28a9a),this['activeAnnotations']=_0x167bf5;}['_removeActiveAnnotation'](_0x5ea575){const _0x1492ff=new Set(this['activeAnnotations']);_0x1492ff['delete'](_0x5ea575),this['activeAnnotations']=_0x1492ff;}['_bindAnnotationsToVisibleAnnotations'](){const _0x275e10=this['collection'],_0x7012a=this['_visibleAnnotations'];function _0x4ad1b9(_0x29d228){const _0x41cf44=_0x29d228['source'];_0x41cf44['isVisible']&&!_0x7012a['has'](_0x41cf44)?_0x7012a['add'](_0x41cf44):!_0x41cf44['isVisible']&&_0x7012a['has'](_0x41cf44)&&_0x7012a['remove'](_0x41cf44),_0x41cf44['view']['focusTracker']['remove'](_0x41cf44['view']['element']),_0x41cf44['view']['focusTracker']['add'](_0x41cf44['view']['element']);}this['listenTo'](_0x275e10,'add',(_0x145b89,_0x2ab717)=>{_0x2ab717['isVisible']&&_0x7012a['add'](_0x2ab717),this['listenTo'](_0x2ab717,'change:isVisible',_0x4ad1b9);}),this['listenTo'](_0x275e10,'remove',(_0x5dfb94,_0x2366de)=>{_0x7012a['has'](_0x2366de)&&_0x7012a['remove'](_0x2366de),this['stopListening'](_0x2366de,'change:isVisible',_0x4ad1b9);});}}const Ct=Symbol('noChannel'),vt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class m extends _0x47dc70{['licenseKey'];['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[b,ht,lt];}static get['pluginName'](){return'CommentsRepository';}constructor(_0x12417d){super(_0x12417d),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map()),this['licenseKey']=this['context']['config']['get']('licenseKey');const _0x4398b1=this['context']['config'];_0x4398b1['define']('comments.maxCommentsWhenCollapsed',0x2),_0x4398b1['define']('comments.maxThreadTotalWeight',0x1f4),_0x4398b1['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x4398b1['define']('comments.CommentThreadView',yt),_0x4398b1['define']('comments.CommentView',At),_0x4398b1['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x36e328=this['context']['plugins']['get'](b);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x2beafb,_0x2d4cf5)=>this['_addCommentThread'](_0x2d4cf5)),this['on']('submitCommentThread',(_0x67e958,_0x1c9c56)=>this['_submitCommentThread'](_0x1c9c56)),this['on']('resolveCommentThread',(_0x101e57,_0x44e298)=>this['_resolveCommentThread'](_0x44e298)),this['on']('resolveCommentThread',(_0x305242,_0x179a6a)=>this['_updateActiveAnnotation'](_0x179a6a),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x266b60,_0x5e4b20)=>this['_reopenCommentThread'](_0x5e4b20)),this['on']('reopenCommentThread',(_0x297749,_0x1103bc)=>this['_updateActiveAnnotation'](_0x1103bc),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x452ff6,_0x36a908)=>this['_removeCommentThread'](_0x36a908)),this['on']('updateCommentThread',(_0x3e4083,_0x6fe185)=>this['_updateCommentThread'](_0x6fe185)),this['on']('updateCommentThread',(_0x396f79,_0xce57f8)=>this['_updateActiveAnnotation'](_0xce57f8),{'priority':'lowest'}),this['on']('addComment',(_0x57b912,_0x434b9e)=>this['_addComment'](_0x434b9e)),this['on']('updateComment',(_0x5e5837,_0x4dac45)=>this['_updateComment'](_0x4dac45)),this['on']('removeComment',(_0x3883e8,_0x213a78)=>this['_removeComment'](_0x213a78)),this['on']('addComment',(_0x2418fd,{threadId:_0x5bafde,isFromAdapter:_0x2f73bc})=>{if(_0x2f73bc)return;const _0x277b16=this['getCommentThread'](_0x5bafde),_0x20587f=_0x277b16&&this['_threadToController']['get'](_0x277b16);_0x20587f&&_0x20587f['view']['focus']();},{'priority':'lowest'}),this['listenTo'](_0x36e328,'change:activeAnnotations',(_0x4b6c35,_0x136860,_0x110d65)=>{const _0x394822=Array['from'](_0x110d65)['map'](_0x47d142=>this['_viewToController']['get'](_0x47d142['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x394822?_0x394822['model']:null;});}['afterInit'](){!function(_0x2e6ecf){function _0x2c7251(_0x4a10fa,_0x54fd97,_0x2e927a){const _0x5d2702={};_0x5d2702[_0x25ee67([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5d2702[_0x25ee67([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x5d2702[_0x25ee67([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x5d2702[_0x25ee67([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x5d2702[_0x25ee67([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x5d2702[_0x25ee67([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x5d2702[_0x25ee67([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x5d2702[_0x25ee67([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x5d2702[_0x25ee67([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x5d2702[_0x25ee67([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x5d2702[_0x25ee67([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x1d25c3=new Uint8Array(0x10);for(let _0x4348aa=0xf;_0x4348aa>=0x0;--_0x4348aa)_0x1d25c3[_0x4348aa]=_0x2e927a%0x100,_0x2e927a=parseInt(_0x2e927a/0x100);let _0x1f7d77=null,_0x235835=0x10;const _0x48728b=new Uint8Array(_0x54fd97),_0x14f261=[],_0x46b826=[];_0x40fad8();for(let _0x51af95=0x0;_0x51af95<_0x4a10fa[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51af95++)0x10===_0x235835&&(_0x1f7d77=_0xa9a359(_0x1d25c3),_0x235835=0x0,_0x70d8ab(_0x1d25c3)),_0x4a10fa[_0x51af95]^=_0x1f7d77[_0x235835++];return _0x4a10fa;function _0x1e1b03(_0x4f619a){const _0x5cc278=[];for(let _0x415abc=0x0;_0x415abc<_0x4f619a[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x415abc+=0x4)_0x5cc278[_0x25ee67([0x70,0x75,0x73,0x68])](_0x4f619a[_0x415abc]<<0x18|_0x4f619a[_0x415abc+0x1]<<0x10|_0x4f619a[_0x415abc+0x2]<<0x8|_0x4f619a[_0x415abc+0x3]);return _0x5cc278;}function _0x70d8ab(_0x22596a){for(let _0x42f0ad=0xf;_0x42f0ad>=0x0;_0x42f0ad--){if(0xff!==_0x22596a[_0x42f0ad]){_0x22596a[_0x42f0ad]++;break;}_0x22596a[_0x42f0ad]=0x0;}}function _0xa9a359(_0x2c2642){const _0x357b66=_0x14f261[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x294884=[0x0,0x0,0x0,0x0];let t=_0x1e1b03(_0x2c2642);for(let _0xa231b0=0x0;_0xa231b0<0x4;_0xa231b0++)t[_0xa231b0]^=_0x14f261[0x0][_0xa231b0];for(let _0x150d7a=0x1;_0x150d7a<_0x357b66;_0x150d7a++){for(let _0x4f3ea1=0x0;_0x4f3ea1<0x4;_0x4f3ea1++)_0x294884[_0x4f3ea1]=_0x5d2702[_0x25ee67([0x54,0x31])][t[_0x4f3ea1]>>0x18&0xff]^_0x5d2702[_0x25ee67([0x54,0x32])][t[(_0x4f3ea1+0x1)%0x4]>>0x10&0xff]^_0x5d2702[_0x25ee67([0x54,0x33])][t[(_0x4f3ea1+0x2)%0x4]>>0x8&0xff]^_0x5d2702[_0x25ee67([0x54,0x34])][0xff&t[(_0x4f3ea1+0x3)%0x4]]^_0x14f261[_0x150d7a][_0x4f3ea1];t=_0x294884[_0x25ee67([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4294ec=new Uint8Array(0x10);let _0x22eaa2;for(let _0x4b72eb=0x0;_0x4b72eb<0x4;_0x4b72eb++)_0x22eaa2=_0x14f261[_0x357b66][_0x4b72eb],_0x4294ec[0x4*_0x4b72eb]=0xff&(_0x5d2702[_0x25ee67([0x53])][t[_0x4b72eb]>>0x18&0xff]^_0x22eaa2>>0x18),_0x4294ec[0x4*_0x4b72eb+0x1]=0xff&(_0x5d2702[_0x25ee67([0x53])][t[(_0x4b72eb+0x1)%0x4]>>0x10&0xff]^_0x22eaa2>>0x10),_0x4294ec[0x4*_0x4b72eb+0x2]=0xff&(_0x5d2702[_0x25ee67([0x53])][t[(_0x4b72eb+0x2)%0x4]>>0x8&0xff]^_0x22eaa2>>0x8),_0x4294ec[0x4*_0x4b72eb+0x3]=0xff&(_0x5d2702[_0x25ee67([0x53])][0xff&t[(_0x4b72eb+0x3)%0x4]]^_0x22eaa2);return _0x4294ec;}function _0x40fad8(){const _0x21c218=_0x5d2702[_0x25ee67([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x48728b[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x9068d7=0x0;_0x9068d7<=_0x21c218;_0x9068d7++)_0x14f261[_0x25ee67([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x46b826[_0x25ee67([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3993c2=0x4*(_0x21c218+0x1),_0x503dfd=_0x48728b[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5d5a82=_0x1e1b03(_0x48728b);let _0x59d484;for(let _0x558d42=0x0;_0x558d42<_0x503dfd;_0x558d42++)_0x59d484=_0x558d42>>0x2,_0x14f261[_0x59d484][_0x558d42%0x4]=_0x5d5a82[_0x558d42],_0x46b826[_0x21c218-_0x59d484][_0x558d42%0x4]=_0x5d5a82[_0x558d42];let _0x4d5277,_0x4612fd=0x0,t=_0x503dfd;for(;t<_0x3993c2;){_0x4d5277=_0x5d5a82[_0x503dfd-0x1],_0x5d5a82[0x0]^=_0x5d2702[_0x25ee67([0x53])][_0x4d5277>>0x10&0xff]<<0x18^_0x5d2702[_0x25ee67([0x53])][_0x4d5277>>0x8&0xff]<<0x10^_0x5d2702[_0x25ee67([0x53])][0xff&_0x4d5277]<<0x8^_0x5d2702[_0x25ee67([0x53])][_0x4d5277>>0x18&0xff]^_0x5d2702[_0x25ee67([0x72,0x63,0x6f,0x6e])][_0x4612fd]<<0x18,_0x4612fd+=0x1;for(let _0x122f6c=0x1;_0x122f6c<_0x503dfd/0x2;_0x122f6c++)_0x5d5a82[_0x122f6c]^=_0x5d5a82[_0x122f6c-0x1];_0x4d5277=_0x5d5a82[_0x503dfd/0x2-0x1],_0x5d5a82[_0x503dfd/0x2]^=_0x5d2702[_0x25ee67([0x53])][0xff&_0x4d5277]^_0x5d2702[_0x25ee67([0x53])][_0x4d5277>>0x8&0xff]<<0x8^_0x5d2702[_0x25ee67([0x53])][_0x4d5277>>0x10&0xff]<<0x10^_0x5d2702[_0x25ee67([0x53])][_0x4d5277>>0x18&0xff]<<0x18;for(let _0x500b18=_0x503dfd/0x2+0x1;_0x500b18<_0x503dfd;_0x500b18++)_0x5d5a82[_0x500b18]^=_0x5d5a82[_0x500b18-0x1];let _0x55bd81,_0x2faf31,_0x541a0f=0x0;for(;_0x541a0f<_0x503dfd&&t<_0x3993c2;)_0x55bd81=t>>0x2,_0x2faf31=t%0x4,_0x14f261[_0x55bd81][_0x2faf31]=_0x5d5a82[_0x541a0f],_0x46b826[_0x21c218-_0x55bd81][_0x2faf31]=_0x5d5a82[_0x541a0f++],t++;}for(let _0x5077eb=0x1;_0x5077eb<_0x21c218;_0x5077eb++)for(let _0x525f88=0x0;_0x525f88<0x4;_0x525f88++)_0x4d5277=_0x46b826[_0x5077eb][_0x525f88],_0x46b826[_0x5077eb][_0x525f88]=_0x5d2702[_0x25ee67([0x55,0x31])][_0x4d5277>>0x18&0xff]^_0x5d2702[_0x25ee67([0x55,0x32])][_0x4d5277>>0x10&0xff]^_0x5d2702[_0x25ee67([0x55,0x33])][_0x4d5277>>0x8&0xff]^_0x5d2702[_0x25ee67([0x55,0x34])][0xff&_0x4d5277];}}function _0x25ee67(_0x3463e1){return _0x3463e1['map'](_0x5439bd=>String['fromCharCode'](_0x5439bd))['join']('');}(_0x4bf53c=>{function _0x958527(){const _0x22ab63=[{[_0x25ee67([0x69,0x64])]:0x1,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x25ee67([0x69,0x64])]:0x2,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x25ee67([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x25ee67([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x25ee67([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x25ee67([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x25ee67([0x69,0x64])]:0x3,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x25ee67([0x69,0x64])]:0x4,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x25ee67([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x25ee67([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x25ee67([0x69,0x64])]:0x5,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x66,0x67,0x69])]:[0xc]}},{[_0x25ee67([0x69,0x64])]:0x6,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x66,0x67,0x69])]:[0xc]}},{[_0x25ee67([0x69,0x64])]:0x7,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x66,0x67,0x69])]:[0xc]}},{[_0x25ee67([0x69,0x64])]:0x8,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x66,0x67,0x69])]:[0xc]}},{[_0x25ee67([0x69,0x64])]:0x9,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x25ee67([0x69,0x64])]:0xa,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x66,0x67,0x69])]:[0xc]}},{[_0x25ee67([0x69,0x64])]:0xb,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x25ee67([0x69,0x64])]:0xc,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x25ee67([0x69,0x64])]:0xd,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x66,0x67,0x69])]:[0xc]}},{[_0x25ee67([0x69,0x64])]:0xe,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x25ee67([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x25ee67([0x69,0x64])]:0xf,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x25ee67([0x69,0x64])]:0x10,[_0x25ee67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x25ee67([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x25ee67([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x25ee67([0x66,0x67,0x69])]:[0xc]}}];return _0x62ddde(_0x22ab63),_0x22ab63;function _0x35b398(_0x54ff49){return 0x1<<_0x54ff49-0x1;}function _0x62ddde(_0x3931e0){_0x3931e0[_0x25ee67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c8079=>{_0x3c8079[_0x25ee67([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x35b398(_0x3c8079[_0x25ee67([0x69,0x64])]),_0xf4c78b(_0x3c8079)&&_0x3c8079[_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x62ddde(_0x3c8079[_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xf4c78b(_0x142498){return _0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x142498;}const _0x5d5cbe=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2d6f70=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x31ffbd(_0x500f7e){const _0x40238c=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xcfd743(_0x500f7e,new Uint8Array([..._0x5d5cbe,..._0x40238c,..._0x2d6f70]));}function _0xcfd743(_0x5bba66,_0x2718f2){const _0x2a2050=_0x2252d9(_0x5bba66),_0x591d71=Array[_0x25ee67([0x66,0x72,0x6f,0x6d])](_0x52b7e3(_0x2a2050)),_0x580fda=_0x591d71[_0x25ee67([0x70,0x6f,0x70])](),_0x42d66a=_0x591d71[_0x25ee67([0x70,0x6f,0x70])]();return _0x30daf0(_0x2c7251(_0x591d71,_0x2718f2,_0x42d66a+0x100*_0x580fda));}function _0x2252d9(_0x3acbc7){const _0x5b9335=atob(_0x3acbc7),[_0x3be03e,_0x367fb8]=_0x5b9335[_0x25ee67([0x73,0x70,0x6c,0x69,0x74])](_0x25ee67([0x2d]));try{if(atob(_0x367fb8))return atob(_0x3be03e);}catch(_0x5f3248){}return _0x5b9335;}function _0x2ac608(_0x258587){try{const _0x599249=_0x31ffbd(_0x258587),_0x1f05ae=JSON[_0x25ee67([0x70,0x61,0x72,0x73,0x65])](_0x599249),_0x3b3fc1=parseInt(_0x1f05ae[_0x25ee67([0x31])]),_0x1a7b11=_0x1f05ae[_0x25ee67([0x32])]||'',_0x25e66f=parseInt(_0x1f05ae[_0x25ee67([0x33])]),_0x5be63e=parseInt(_0x1f05ae[_0x25ee67([0x34])])||0x0,_0x8317b8=parseInt(_0x1f05ae[_0x25ee67([0x35])])||0x0;return{[_0x25ee67([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1a7b11,[_0x25ee67([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5be63e,[_0x25ee67([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3b3fc1,[_0x25ee67([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x25e66f,[_0x25ee67([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x8317b8};}catch(_0x5d835e){return null;}}const _0x3e56f1=_0x958527(),_0x252b47={[_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3106de,[_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x21fd40,[_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x367a68},_0x5d999f=_0x4bf53c[_0x25ee67([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x410ab0=_0x25ee67([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4bf53c?_0x4bf53c['context']:_0x4bf53c['editor'],_0x40fbcd=_0x25ee67([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x32]),_0xc563d1=_0x25ee67([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x3548c8=_0x410ab0['config']['get'](_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3d57a8=_0x3e56f1[_0x25ee67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf4c78b)[_0x25ee67([0x66,0x69,0x6e,0x64])](_0x25b199=>_0x25b199[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5d999f);function _0x16a948(_0x5ef758,_0x271a4f){_0x252b47[_0x271a4f[_0x25ee67([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5ef758,_0x271a4f),_0x271a4f[_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x271a4f[_0x25ee67([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x25ee67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36885f=>_0x66ad43(_0x410ab0,_0x36885f[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x25ee67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1cf4de=>_0x16a948(_0x5ef758,_0x1cf4de));}function _0x3106de(_0x1086b8,_0x1b8ad8){_0x1c843f(_0x372049(_0x1086b8,_0x1b8ad8),_0x1b8ad8);}function _0x21fd40(_0x5020a7,_0x4aad06){function _0x1edad0(_0x327d1e,_0x229c88){try{if(_0x66ad43(_0x410ab0,_0x25ee67([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x327d1e){const _0x1d7acc=_0x3848cf(_0x410ab0,_0x25ee67([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x25ee67([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1d7acc)/0x2>_0x327d1e[_0x25ee67([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x372013(_0x229c88[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x372049(_0x327d1e,_0x229c88);}catch(_0x3ebcd5){return _0x372013(_0x229c88[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1c843f(_0x1edad0(_0x5020a7,_0x4aad06),_0x4aad06);}function _0x367a68(_0x30c072,_0x39e895){const _0x4e2130=_0x2d6f70[0x0]*_0x5d5cbe[0x1],_0x1a1cdf=_0x2d6f70[0x0]*_0x5d5cbe[0x2],_0x1855e8=_0x2d6f70[0x2]*_0x5d5cbe[0x2];_0x66ad43(_0x410ab0,_0x25ee67([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3848cf(_0x410ab0,_0x25ee67([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x25ee67([0x73,0x74,0x61,0x74,0x65])]==_0x25ee67([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x4614f9()]=_0x1855e8);function _0x205c36(_0x2370ce,_0x4e9141){try{return _0x44f246()?_0x372013(_0x4e9141[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x56,0x61,0x6c,0x69,0x64])):_0x372049(_0x2370ce,_0x4e9141);}catch(_0x21547c){return _0x372013(_0x4e9141[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x76e9aa(_0x3ea234,_0x312601){const _0x418cb8=0x7;if(_0x3ea234==_0x312601[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xe1cb6c();else{if(_0x3ea234==_0x312601[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x54,0x72,0x69,0x61,0x6c])){const _0x9fdad9=_0x31d235();_0x9fdad9&&_0x325448(_0x9fdad9,_0x312601[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2e7228=_0x517ac0();window[_0x25ee67([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x325448(_0x25ee67([0x74,0x69,0x6d,0x65]),_0x312601[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2e7228);const _0x2868de=_0x3848cf(_0x410ab0,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x25ee67([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x2868de[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x418cb8?_0x325448(_0x25ee67([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x312601[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x2868de['on'](_0x25ee67([0x61,0x64,0x64]),()=>{_0x2868de[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x418cb8&&_0x325448(_0x25ee67([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x312601[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x31d235(){if(!_0x66ad43(_0x410ab0,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x210e76 in window)if(Number['isNaN'](Number(_0x210e76))){if(window[_0x210e76]===_0x4e2130)return _0x25ee67([0x74,0x69,0x6d,0x65]);if(window[_0x210e76]===_0x1a1cdf)return _0x25ee67([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x44f246(){if(!_0x66ad43(_0x410ab0,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x103ee7 in window)if(Number['isNaN'](Number(_0x103ee7))&&window[_0x103ee7]===_0x1855e8)return!0x0;return!0x1;}function _0x325448(_0x17f16d,_0x31f526){_0xe1cb6c(),_0x372013(_0x31f526+_0x25ee67([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x17f16d),window[_0x4614f9()]=_0x17f16d===_0x25ee67([0x74,0x69,0x6d,0x65])?_0x4e2130:_0x1a1cdf;}function _0x517ac0(){let _0x4a4f59=_0x2d6f70[0x6]*_0x5d5cbe[0x8]*_0x5d5cbe[0x6];return _0x66ad43(_0x410ab0,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4a4f59/=0xa),_0x4a4f59;}function _0xe1cb6c(){const _0x54625b=_0x410ab0;function _0x138773(){_0x66ad43(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x25ee67([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x25ee67([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x25ee67([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x25ee67([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x241d0c,_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x25ee67([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x241d0c,_0x54625b[_0x25ee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x25ee67([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x241d0c,_0x54625b[_0x25ee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x25ee67([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x241d0c,_0x54625b[_0x25ee67([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25ee67([0x6d,0x6f,0x64,0x65,0x6c]))),_0x66ad43(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x25ee67([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x25ee67([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x25ee67([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x25ee67([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x241d0c,_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x25ee67([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x241d0c);}_0x54625b[_0x25ee67([0x73,0x74,0x61,0x74,0x65])]==_0x25ee67([0x72,0x65,0x61,0x64,0x79])?_0x138773():_0x54625b[_0x25ee67([0x6f,0x6e,0x63,0x65])](_0x25ee67([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x66ad43(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x138773(),_0x66ad43(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x36ba8c=_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4320f6=_0x36ba8c['getRevision'](0x0),_0x5eb996=_0x36ba8c['getEarlierVisibleRevision'](_0x4320f6[_0x25ee67([0x69,0x64])]);_0x3848cf(_0x54625b,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x25ee67([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4320f6[_0x25ee67([0x69,0x64])],_0x5eb996?_0x5eb996[_0x25ee67([0x69,0x64])]:null,0x1)['then'](()=>_0x138773());}});}_0x76e9aa(_0x205c36(_0x30c072,_0x39e895),_0x39e895);}function _0x372049(_0x157824,_0x3ae968){try{return _0xb4d5be(_0x3ae968)?_0x372013(_0x3ae968[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x56,0x61,0x6c,0x69,0x64])):_0x157824&&_0x4a6e59(_0x157824[_0x25ee67([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3ae968)?_0x157824[_0x25ee67([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x25ee67([0x6f,0x70,0x65,0x6e])][_0x25ee67([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x40fbcd)/0x2>_0x157824[_0x25ee67([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x372013(_0x3ae968[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x157824[_0x25ee67([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x372013(_0x3ae968[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x54,0x72,0x69,0x61,0x6c])):_0x372013(_0x3ae968[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x56,0x61,0x6c,0x69,0x64])):_0x372013(_0x3ae968[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x10190b){return _0x372013(_0x3ae968[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1c843f(_0x19ba0a,_0x1e668b){if(_0x410ab0 instanceof _0x2de8fd){const _0x53982f=_0x410ab0;_0x19ba0a==_0x1e668b[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5f27b0(_0x53982f):_0x19ba0a==_0x1e668b[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x54,0x72,0x69,0x61,0x6c])&&window[_0x25ee67([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5f27b0(_0x53982f),_0x372013(_0x1e668b[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2d6f70[0x6]*_0x5d5cbe[0x8]*_0x5d5cbe[0x6]),_0x53982f[_0x25ee67([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x25ee67([0x6f,0x6e])](_0x25ee67([0x61,0x64,0x64]),(_0x1b0b0b,_0x252178)=>{_0x19ba0a!=_0x1e668b[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x19ba0a!=_0x1e668b[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x19ba0a!=_0x1e668b[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x544fa8(_0x252178);});}else{const _0x103137=_0x410ab0;_0x19ba0a==_0x1e668b[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x544fa8(_0x103137):_0x19ba0a==_0x1e668b[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x54,0x72,0x69,0x61,0x6c])&&_0x103137[_0x25ee67([0x6f,0x6e])](_0x25ee67([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4cd7f8=0x0;_0x103137[_0x25ee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x25ee67([0x6f,0x6e])](_0x25ee67([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ed8ca,_0x3f6fae)=>{_0x3f6fae[0x0][_0x25ee67([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4cd7f8++,0x1f8===_0x4cd7f8&&(_0x544fa8(_0x103137),_0x372013(_0x1e668b[_0x25ee67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x25ee67([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2ed8ca[_0x25ee67([0x6f,0x66,0x66])]());},{'priority':_0x25ee67([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x372013(_0x2c37ab){const _0xe5b36b=_0x4614f9();return _0x410ab0[_0xe5b36b]=_0x2c37ab,_0x2c37ab;}function _0x4614f9(){const _0x77dff1=String(window[_0x25ee67([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x25ee67([0x6e,0x6f,0x77])]())[_0x25ee67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x25ee67([0x2e]),'');let _0x8ca063='';for(let _0x40fdee=0x0;_0x40fdee<_0x77dff1[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40fdee+=0x2){let _0x10401a=parseInt(_0x77dff1[_0x25ee67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40fdee,_0x40fdee+0x2));_0x10401a>=_0xc563d1[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10401a-=_0xc563d1[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8ca063+=_0xc563d1[_0x10401a];}return _0x8ca063;}function _0x5f27b0(_0x28bd29){for(const _0x2bdb8d of _0x28bd29[_0x25ee67([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x544fa8(_0x2bdb8d);_0x3848cf(_0x28bd29,_0x25ee67([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x25ee67([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3848cf(_0x28bd29,_0x25ee67([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x25ee67([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x241d0c;}function _0x544fa8(_0x445905){function _0x19e67a(){_0x445905[_0x25ee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x25ee67([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x241d0c,_0x445905[_0x25ee67([0x6d,0x6f,0x64,0x65,0x6c])][_0x25ee67([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x241d0c,_0x445905[_0x25ee67([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25ee67([0x6d,0x6f,0x64,0x65,0x6c]));}_0x445905[_0x25ee67([0x73,0x74,0x61,0x74,0x65])]==_0x25ee67([0x72,0x65,0x61,0x64,0x79])?_0x19e67a():_0x445905[_0x25ee67([0x6f,0x6e,0x63,0x65])](_0x25ee67([0x72,0x65,0x61,0x64,0x79]),()=>_0x19e67a());}function _0x241d0c(){return null;}function _0x4a6e59(_0x1adee3,_0x24fbd1){const _0x506dd9=!!(_0x1adee3&_0x24fbd1[_0x25ee67([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x181e7b=_0x260756(_0x1adee3,_0x24fbd1);return _0x506dd9||_0x181e7b;}function _0x260756(_0x3a5b2f,_0x39be37){const _0x207e39=(_0x39be37[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x25ee67([0x66,0x67,0x69])]||null;return!!_0x207e39&&_0x3e56f1[_0x25ee67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58fc8b=>_0x207e39[_0x25ee67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58fc8b[_0x25ee67([0x69,0x64])]))[_0x25ee67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c47f3=>!_0x2cb5c0(_0x4c47f3))[_0x25ee67([0x73,0x6f,0x6d,0x65])](_0x2da665=>!!(_0x3a5b2f&_0x2da665[_0x25ee67([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2cb5c0(_0x46a352){const _0x419666={[_0x25ee67([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x2a814e};return!!_0x46a352['forbiddenHandler']&&_0x419666[_0x46a352['forbiddenHandler']]();}function _0x2a814e(){return!window[_0x25ee67([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x66ad43(_0x410ab0,_0x25ee67([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xb4d5be(_0x313235){if(!_0x66ad43(_0x410ab0,_0x313235[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x579f6f=_0x313235[_0x25ee67([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x59225d=_0x579f6f[_0x25ee67([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x59f459=_0x579f6f[_0x25ee67([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x21e5ad=_0x579f6f[_0x25ee67([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x66ad43(_0x410ab0,_0x25ee67([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3848cf(_0x410ab0,_0x25ee67([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x25ee67([0x73,0x74,0x61,0x74,0x65])]==_0x25ee67([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x59225d)return!0x0;if(_0x66ad43(_0x410ab0,_0x25ee67([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3848cf(_0x410ab0,_0x25ee67([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x25ee67([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x25ee67([0x65,0x6e,0x64])&&_0x59f459)return!0x0;return!(!_0x66ad43(_0x410ab0,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x3848cf(_0x410ab0,_0x25ee67([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x25ee67([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x25ee67([0x65,0x6e,0x64])||!_0x21e5ad);}function _0x66ad43(_0xc275a0,_0x39eb1b){return _0xc275a0[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x25ee67([0x68,0x61,0x73])](_0x39eb1b);}function _0x3848cf(_0x3f0c7b,_0x2e3226){return _0x3f0c7b[_0x25ee67([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x25ee67([0x67,0x65,0x74])](_0x2e3226);}function _0x30daf0(_0x413137){let _0x3aab3c='';for(const _0xd42006 of _0x413137)_0x3aab3c+=String[_0x25ee67([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xd42006);return _0x3aab3c;}function _0x52b7e3(_0x3c9426){const _0xb7ffb9=new Uint8Array(_0x3c9426[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2e93bc=0x0;_0x2e93bc<_0x3c9426[_0x25ee67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e93bc++)_0xb7ffb9[_0x2e93bc]=_0x3c9426[_0x25ee67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e93bc);return _0xb7ffb9;}_0x3d57a8&&_0x16a948(_0x2ac608(_0x3548c8),_0x3d57a8);})(_0x2e6ecf);}(this);}set['adapter'](_0x111992){if(this['_adapter'])throw new _0x3e664f('commentsrepository-adapter-already-set');this['_adapter']=_0x111992;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x2acd0f=Ct,threadId:_0x1f3633=_0x96845(),comments:_0x43d74e=[],unlinkedAt:_0x89d5cd=null,resolvedAt:_0x399875=null,resolvedBy:_0x7b8d10=null,target:_0x2ed77c=null,context:_0x1d0f80=null,attributes:_0x4ddb9a={},isResolvable:_0x33ea3d=!0x0,isSubmitted:_0x488d00=!0x1,isFromAdapter:_0x5a42bf=!0x1}={}){return this['fire'](gt('addCommentThread',_0x2acd0f),{'channelId':_0x2acd0f,'threadId':_0x1f3633,'comments':_0x43d74e,'unlinkedAt':_0x89d5cd,'resolvedAt':_0x399875,'resolvedBy':_0x7b8d10,'target':_0x2ed77c,'context':_0x1d0f80,'attributes':_0x4ddb9a,'isFromAdapter':_0x5a42bf,'isResolvable':_0x33ea3d,'isSubmitted':_0x488d00}),this['getCommentThread'](_0x1f3633);}['openNewCommentThread']({channelId:_0x2c344a=Ct,threadId:_0x98f79d=_0x96845(),target:_0x1b7b53,context:_0xfcb17=null,isResolvable:_0x2d62b2=!0x0}){if(this['_readOnlyChannels']['has'](_0x2c344a)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x1b7b53)throw new _0x3e664f('commentsrepository-missing-target');const _0x5da8fe=this['addCommentThread']({'channelId':_0x2c344a,'threadId':_0x98f79d,'target':_0x1b7b53,'context':_0xfcb17,'isResolvable':_0x2d62b2});if(!_0x5da8fe)return null;const _0x2b41c6=this['_threadToController']['get'](_0x5da8fe),_0x208950=_0x2b41c6['view']['commentThreadInputView']['commentInputView'],_0x1558d4=this['context']['plugins']['get'](b),_0x2b56bd=_0x1558d4['getByInnerView'](_0x2b41c6['view']);return _0x1558d4['activate'](_0x2b56bd),_0x208950['once']('editorReady',()=>_0x208950['focus']()),_0x5da8fe;}['hasCommentThread'](_0x394e5b){if('string'!=typeof _0x394e5b)throw new _0x3e664f('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x394e5b);}['updateCommentThread']({channelId:_0x251921=Ct,threadId:_0x1154c0,context:_0x5b7569,unlinkedAt:_0x306ad6,attributes:_0x1787c5,isFromAdapter:_0x46787c=!0x1}){return this['fire'](gt('updateCommentThread',_0x251921),{'channelId':_0x251921,'threadId':_0x1154c0,'context':_0x5b7569,'unlinkedAt':_0x306ad6,'attributes':_0x1787c5,'isFromAdapter':_0x46787c}),this['getCommentThread'](_0x1154c0);}['getCommentThread'](_0x2d967e){if('string'!=typeof _0x2d967e)throw new _0x3e664f('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x2d967e);}['fetchCommentThread']({channelId:_0x541ad6,threadId:_0x4da02e}={}){const _0x1d297b=this['getCommentThread'](_0x4da02e);if(_0x1d297b)return Promise['resolve'](_0x1d297b);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x3e664f('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x541ad6,'threadId':_0x4da02e})['then'](_0x1b23a5=>this['hasCommentThread'](_0x4da02e)?this['getCommentThread'](_0x4da02e):_0x1b23a5?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x541ad6},_0x1b23a5)):void 0x0)['catch'](_0x140891=>{throw console['error'](_0x140891),new _0x3e664f('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x3e2af8,skipNotAttached:_0x329e0f=!0x1,skipEmpty:_0x1b5beb=!0x1,toJSON:_0x539995=!0x1}={}){const _0x2ef010=[];for(const _0xfefdd7 of this['_threads']['values']())_0x3e2af8&&_0xfefdd7['channelId']!==_0x3e2af8||_0x329e0f&&!_0xfefdd7['isAttached']||_0x1b5beb&&0x0===_0xfefdd7['length']||_0x2ef010['push'](_0xfefdd7);return _0x539995?_0x2ef010['map'](_0xf99466=>_0xf99466['toJSON']()):_0x2ef010;}['setActiveCommentThread'](_0x562fec){const _0x4fa7b1=this['context']['plugins']['get'](b);if(!_0x562fec)return void(this['activeCommentThread']&&_0x4fa7b1['deactivateAll']());const _0x3c8e1c=this['getCommentThread'](_0x562fec);if(!_0x3c8e1c)throw new _0x3e664f('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x562fec});if(!this['_threadToController']['has'](_0x3c8e1c))throw new _0x3e664f('commentsrepository-active-not-attached',null,{'threadId':_0x562fec});const _0xa24aa4=_0x4fa7b1['getByInnerView'](this['_threadToController']['get'](_0x3c8e1c)['view']);_0x4fa7b1['activate'](_0xa24aa4);}['switchReadOnly'](_0x23a7a9,_0x4ff0e3){_0x23a7a9?this['_readOnlyChannels']['add'](_0x4ff0e3):this['_readOnlyChannels']['delete'](_0x4ff0e3),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x8ba435){return this['_readOnlyChannels']['has'](_0x8ba435)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x4cfc0c,_0x316e1f){return new wt(_0x4cfc0c,_0x316e1f);}['setPermissions'](_0x274c30,_0x39beba=Ct){this['_permissions']['set'](_0x39beba,_0x274c30),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x55803b=Ct){return this['_permissions']['has'](_0x55803b)?this['_permissions']['get'](_0x55803b):vt;}['_addCommentThread']({channelId:_0x296aab,threadId:_0x1c085a,comments:_0x1aeb7c,unlinkedAt:_0x5441e3,resolvedAt:_0x10f712,resolvedBy:_0x44ef0c,target:_0x44abc1,context:_0x245f2d,attributes:_0x2890f2,isFromAdapter:_0x584baa,isResolvable:_0x1f28d1,isSubmitted:_0x10017c}){if('string'!=typeof _0x1c085a)throw new _0x3e664f('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x1c085a});if(this['hasCommentThread'](_0x1c085a))throw new _0x3e664f('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x1c085a});const _0x122ed4=new ie(this,{'channelId':_0x296aab,'id':_0x1c085a,'context':_0x245f2d,'attributes':_0x2890f2,'unlinkedAt':_0x5441e3,'resolvedAt':_0x10f712,'resolvedBy':_0x44ef0c?this['context']['plugins']['get'](lt)['getUser'](_0x44ef0c):null,'isResolvable':_0x1f28d1,'isSubmitted':_0x10017c||_0x584baa});this['_threads']['set'](_0x1c085a,_0x122ed4);for(const _0x5d6c7c of _0x1aeb7c)_0x122ed4['_add'](this['_createNewComment']({'threadId':_0x1c085a,..._0x5d6c7c}));return _0x44abc1&&_0x122ed4['attachTo'](_0x44abc1),_0x584baa||!_0x122ed4['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x296aab,'threadId':_0x1c085a});}['_submitCommentThread']({channelId:_0x50404e,threadId:_0x14d728}){if(!this['hasCommentThread'](_0x14d728))throw new _0x3e664f('commentsrepository-missing-comment-thread',this);const _0x45e07c=this['getCommentThread'](_0x14d728);if(_0x45e07c['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x4240dd,comments:_0x11722a,resolvedAt:_0x4ea97a,resolvedBy:_0x28e301,context:_0xd6aeb4,attributes:_0x28209a}=_0x45e07c,_0x44b531=this['context']['plugins']['get']('PendingActions'),_0xb90bab=_0x44b531['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x50404e,'threadId':_0x4240dd,'comments':_0x11722a['map'](_0x1c45bd=>_0x1c45bd['toJSON']()),'resolvedAt':_0x4ea97a,'resolvedBy':_0x28e301?_0x28e301['id']:_0x28e301,'context':_0xd6aeb4,'attributes':_0x28209a})['then'](({comments:_0x1f81de})=>{_0x44b531['remove'](_0xb90bab);for(const _0x20ade4 of _0x1f81de)this['_updateComment']({'channelId':_0x50404e,'threadId':_0x14d728,'commentId':_0x20ade4['commentId'],'createdAt':_0x20ade4['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x4ff068=>{throw console['error'](_0x4ff068),new _0x3e664f('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x47581e,target:_0x3b69d9}){const _0x2d9330=this['getCommentThread'](_0x47581e);if(!_0x2d9330)throw new _0x3e664f('commentsrepository-attach-missing-comment-thread',this);const _0xfa61b6=this['context']['plugins']['get']('PendingActions'),_0x2eb06c=this['context']['plugins']['get'](b),_0x319403=this['_createCommentThreadView'](_0x2d9330),_0x242ce5=new wt(_0x2d9330,_0x319403);let _0x2efb9d=null;_0x319403['on']('change:isDirty',(_0x363668,_0x1f5b98,_0x2ab23a)=>{_0x2ab23a?_0x2efb9d=_0xfa61b6['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x2efb9d&&(_0xfa61b6['remove'](_0x2efb9d),_0x2efb9d=null);}),this['_threadToController']['set'](_0x2d9330,_0x242ce5),this['_viewToController']['set'](_0x319403,_0x242ce5);const _0x488f03=new V(this['context']['locale'],_0x319403);_0x488f03['bind']('length')['to'](_0x319403),_0x488f03['bind']('isDirty')['to'](_0x319403,'isDirty',_0x319403,'length',(_0x526858,_0x38ed9d)=>_0x526858||!_0x38ed9d),_0x488f03['bind']('isActive')['to'](_0x319403),_0x488f03['type']='comment';const _0x554691=new d({'view':_0x488f03,'target':_0x3b69d9,'type':'comment','isVisible':!_0x2d9330['isResolved']});return this['_bindAnnotationToEditors'](_0x319403,_0x554691),_0x2eb06c['add'](_0x554691),_0x554691;}['_bindAnnotationToEditors'](_0x256417,_0x26dac5){this['listenTo'](_0x256417,'editorReady',(_0x279d67,_0x2654b1)=>{const _0x1c97c6=_0x2654b1['ui']['view']['body']['bodyCollectionContainer'];_0x26dac5['focusableElements']['add'](_0x1c97c6),this['context']instanceof mt&&this['context']['ui']['focusTracker']['add'](_0x1c97c6);},{'priority':'highest'}),this['listenTo'](_0x256417,'editorDestroyed',(_0x5404dd,_0xd58f4c)=>{const _0x4b1801=_0xd58f4c['ui']['view']['body']['bodyCollectionContainer'];_0x26dac5['focusableElements']['has'](_0x4b1801)&&_0x26dac5['focusableElements']['remove'](_0x4b1801),this['context']instanceof mt&&this['context']['ui']['focusTracker']['remove'](_0x4b1801);});}['_unbindEditors'](_0x56fedd){this['stopListening'](_0x56fedd,'editorReady'),this['stopListening'](_0x56fedd,'editorDestroyed');}['_createCommentThreadView'](_0x5d1cde){const _0x9affca=this['context']['plugins']['get'](lt),{config:_0x5676fa,locale:_0x198be4}=this['context'],_0x84acdf=dt(_0x5676fa['get']('locale'));return new(0x0,(_0x5676fa['get']('comments'))['CommentThreadView'])(_0x198be4,_0x5d1cde,_0x9affca['me'],{'editorConfig':{..._0x5676fa['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x5676fa['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x5676fa['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x5676fa['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x5676fa['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x84acdf,'CommentView':_0x5676fa['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x46682b,channelId:_0x34b399,resolvedAt:_0x270990,resolvedBy:_0x47f9a1,isFromAdapter:_0x34ef5e}){if(!this['hasCommentThread'](_0x46682b))throw new _0x3e664f('commentsrepository-missing-comment-thread',null,{'threadId':_0x46682b});const _0x60ce21=this['getCommentThread'](_0x46682b);if(_0x60ce21['isResolved'])throw new _0x3e664f('commentsrepository-resolved-comment-thread',null,{'threadId':_0x46682b});const _0x57ce17=this['context']['plugins']['get'](lt);if(_0x60ce21['resolvedBy']=_0x57ce17['getUser'](_0x47f9a1),_0x60ce21['resolvedAt']=_0x270990,_0x34ef5e||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0xd90808=this['context']['plugins']['get']('PendingActions'),_0x257bbf=_0xd90808['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x34b399,'threadId':_0x46682b})['then'](({resolvedAt:_0xffdb54,resolvedBy:_0x5b2e36})=>{_0xd90808['remove'](_0x257bbf),_0x60ce21['resolvedBy']['id']!==_0x5b2e36&&(_0x60ce21['resolvedBy']=_0x57ce17['getUser'](_0x5b2e36)),_0x60ce21['resolvedAt']=_0xffdb54;})['catch'](_0x5d245c=>{throw console['error'](_0x5d245c),new _0x3e664f('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x367da8,channelId:_0xc99842,isFromAdapter:_0x465c03}){if(!this['hasCommentThread'](_0x367da8))throw new _0x3e664f('commentsrepository-missing-comment-thread',null,{'threadId':_0x367da8});const _0x33436e=this['getCommentThread'](_0x367da8);if(!_0x33436e['isResolved'])throw new _0x3e664f('commentsrepository-reopen-comment-thread',null,{'threadId':_0x367da8});if(_0x33436e['resolvedBy']=null,_0x33436e['resolvedAt']=null,_0x465c03||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x5e5bf7=this['context']['plugins']['get']('PendingActions'),_0x2eab23=_0x5e5bf7['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0xc99842,'threadId':_0x367da8})['then'](()=>_0x5e5bf7['remove'](_0x2eab23))['catch'](_0x46d01c=>{throw console['error'](_0x46d01c),new _0x3e664f('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x39f0d1,isFromAdapter:_0x47a236}){const _0x22d688=this['getCommentThread'](_0x39f0d1);if(!_0x22d688)throw new _0x3e664f('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x39f0d1),this['_threads']['delete'](_0x39f0d1),!_0x22d688['isSubmitted']||_0x47a236||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x4f18a3=this['context']['plugins']['get']('PendingActions'),{channelId:_0x24f069}=_0x22d688,_0x1cbea9=_0x4f18a3['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x24f069,'threadId':_0x39f0d1})['then'](()=>_0x4f18a3['remove'](_0x1cbea9))['catch'](_0x48af13=>{throw console['error'](_0x48af13),new _0x3e664f('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0xaf4b83,unlinkedAt:_0x1c8df5,context:_0x108d56,attributes:_0x175eed,isFromAdapter:_0x115287}){if('string'!=typeof _0xaf4b83)throw new _0x3e664f('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0xaf4b83});if(!this['hasCommentThread'](_0xaf4b83))throw new _0x3e664f('commentsrepository-missing-comment-thread',null,{'threadId':_0xaf4b83});const _0x468ee6=this['getCommentThread'](_0xaf4b83);let _0x45c222=!0x1;if(void 0x0!==_0x108d56&&_0x468ee6['context']!==_0x108d56&&(_0x468ee6['context']=_0x108d56,_0x45c222=!0x0),void 0x0!==_0x1c8df5&&_0x468ee6['unlinkedAt']!==_0x1c8df5&&(_0x468ee6['unlinkedAt']=_0x1c8df5,_0x45c222=!0x0),_0x175eed&&!ft(_0x175eed,_0x468ee6['attributes'])&&(_0x468ee6['attributes']=_0x175eed,_0x45c222=!0x0),!_0x45c222)return Promise['resolve']();if(!_0x468ee6['isSubmitted']||_0x115287||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x42d009=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4f0207}=_0x468ee6,_0x43f955=_0x42d009['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x4f0207,'threadId':_0xaf4b83,'context':_0x108d56,'unlinkedAt':_0x1c8df5,'attributes':_0x175eed})['then'](()=>_0x42d009['remove'](_0x43f955))['catch'](_0x5e9b3b=>{throw console['error'](_0x5e9b3b),new _0x3e664f('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x1f9b38){const _0x525cb8=this['context']['plugins']['get'](b),_0x3617d6=this['getCommentThread'](_0x1f9b38);if(this['_threadToController']['has'](_0x3617d6)){const _0x373e19=this['_threadToController']['get'](_0x3617d6),_0x3ffe75=_0x373e19['view'],_0xbbf2bf=_0x525cb8['getByInnerView'](_0x3ffe75);this['_threadToController']['delete'](_0x3617d6),this['_viewToController']['delete'](_0x3ffe75),_0xbbf2bf&&_0x525cb8['remove'](_0xbbf2bf),_0x373e19['destroy'](),_0x3ffe75['destroy']()['then'](()=>{this['_unbindEditors'](_0x3ffe75);});}}['_updateActiveAnnotation']({threadId:_0x43dccf,resolvedAt:_0x3d45eb}){const _0x1e4245=!!_0x3d45eb,_0x34a7dc=this['context']['plugins']['get'](b),_0x32cdcc=this['getCommentThread'](_0x43dccf);if(this['_threadToController']['has'](_0x32cdcc)){const _0x4d62ce=this['_threadToController']['get'](_0x32cdcc)['view'],_0x2a1cf5=_0x34a7dc['getByInnerView'](_0x4d62ce);_0x2a1cf5&&(_0x1e4245&&_0x34a7dc['_removeActiveAnnotation'](_0x2a1cf5),_0x2a1cf5['refreshVisibility']());}}['_getExternalAuthor'](_0x373abd){const _0x417851=this['context']['plugins']['get'](lt),_0x3eb219=ct('external:'+_0x373abd),_0x34db65=_0x417851['getUser'](_0x3eb219);return _0x34db65||_0x417851['addUser']({'id':_0x3eb219,'name':_0x373abd});}['_createNewComment']({threadId:_0x587200,commentId:_0x5e2fb7=_0x96845(),content:_0x5aa4b7,authorId:_0x5b9889,createdAt:_0x1a6849,attributes:_0x15cb88}){if('string'!=typeof _0x5e2fb7)throw new _0x3e664f('commentsrepository-invalid-commentid');if('string'!=typeof _0x5b9889)throw new _0x3e664f('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x5aa4b7||!_0x5aa4b7['trim']())throw new _0x3e664f('commentsrepository-invalid-comment-content');const _0x290aaf=this['context']['plugins']['get'](lt)['getUser'](_0x5b9889);if(!_0x290aaf)throw new _0x3e664f('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x5b9889});let _0x44cfad=null,_0x1cdf7c=_0x1a6849;return _0x15cb88&&_0x15cb88['@external']&&(_0x44cfad=this['_getExternalAuthor'](_0x15cb88['@external']['authorName']),_0x1cdf7c=new Date(_0x15cb88['@external']['createdAt'])),new se(this,{'threadId':_0x587200,'id':_0x5e2fb7,'author':_0x44cfad||_0x290aaf,'creator':_0x290aaf,'content':_0x5aa4b7,'createdAt':_0x1a6849,'authoredAt':_0x1cdf7c,'attributes':_0x15cb88});}['_addComment'](_0x2d2c61){let {threadId:_0x53cada,content:_0x1d3349,attributes:_0xfd1c2,isFromAdapter:_0x518a7c}=_0x2d2c61;const _0x455f40=this['getCommentThread'](_0x2d2c61['threadId']);if(!_0x455f40)throw new _0x3e664f('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x20c2ae=this['_createNewComment'](_0x2d2c61),{id:_0x22ee31}=_0x20c2ae;if(_0x455f40['_add'](_0x20c2ae),_0x518a7c||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x455f40['isSubmitted'])return Promise['resolve']();const _0x48f195=this['context']['plugins']['get']('PendingActions'),{channelId:_0x27e7a6}=_0x455f40,_0x3db2d1=_0x48f195['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0xfd1c2||(_0xfd1c2={}),this['adapter']['addComment']({'channelId':_0x27e7a6,'threadId':_0x53cada,'commentId':_0x22ee31,'content':_0x1d3349,'attributes':_0xfd1c2})['then'](_0x533c94=>{_0x48f195['remove'](_0x3db2d1),_0x533c94&&this['_updateComment']({'channelId':_0x27e7a6,'threadId':_0x53cada,'commentId':_0x22ee31,'createdAt':_0x533c94['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x3ab08f=>{throw console['error'](_0x3ab08f),new _0x3e664f('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x23cc59,commentId:_0x40dfc3,content:_0x203f4c,createdAt:_0x5eeef1,attributes:_0xf1b368,isFromAdapter:_0x4c7dc1}){if(void 0x0!==_0x203f4c&&('string'!=typeof _0x203f4c||!_0x203f4c['trim']()['length']))throw new _0x3e664f('commentsrepository-update-comment-invalid-content');const _0x2feec7=this['getCommentThread'](_0x23cc59),_0x46d061=_0x2feec7['getComment'](_0x40dfc3);if(!_0x46d061)throw new _0x3e664f('commentsrepository-update-missing-comment',this);let _0x17f47a=!0x1;if(_0x203f4c&&_0x203f4c!==_0x46d061['content']&&(_0x46d061['isEditable']||_0x4c7dc1)&&(_0x46d061['content']=_0x203f4c,_0x17f47a=!0x0),_0x5eeef1&&_0x5eeef1!==_0x46d061['createdAt']&&(_0x46d061['createdAt']=_0x5eeef1,_0x46d061['attributes']&&_0x46d061['attributes']['@external']||(_0x46d061['authoredAt']=_0x5eeef1),_0x17f47a=!0x0),_0xf1b368&&!ft(_0xf1b368,_0x46d061['attributes'])&&(_0x46d061['attributes']=_0xf1b368,_0x17f47a=!0x0),!_0x17f47a)return Promise['resolve']();if(_0x2feec7['fire']('commentUpdated'),_0x4c7dc1||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x281dcc=this['context']['plugins']['get']('PendingActions'),{channelId:_0x53e3fb}=this['getCommentThread'](_0x46d061['threadId']),_0x1e4511=_0x281dcc['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x53e3fb,'threadId':_0x23cc59,'commentId':_0x40dfc3,'content':_0x203f4c,'attributes':_0xf1b368})['then'](()=>_0x281dcc['remove'](_0x1e4511))['catch'](_0x2d7e86=>{throw console['error'](_0x2d7e86),new _0x3e664f('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0xb66c45,commentId:_0x2e58ee,isFromAdapter:_0x5770ac}){const _0x16281f=this['getCommentThread'](_0xb66c45),_0x150560=_0x16281f['getComment'](_0x2e58ee);if(!_0x150560)throw new _0x3e664f('commentsrepository-remove-missing-comment',this);if(_0x16281f['_remove'](_0x150560),_0x5770ac||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x68510e=this['context']['plugins']['get']('PendingActions'),{channelId:_0x27c6ed}=_0x16281f,_0x1b4735=_0x68510e['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x27c6ed,'threadId':_0xb66c45,'commentId':_0x2e58ee})['then'](()=>_0x68510e['remove'](_0x1b4735))['catch'](_0x4c9838=>{throw console['error'](_0x4c9838),new _0x3e664f('commentsrepository-remove-comment-internal-error',this);});}}class ie extends/* #__PURE__ -- @preserve */
30
+ _0x475d69(){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x22ac17,_0x2165c6){super();const _0x201edb=_0x2165c6['isResolvable'];this['channelId']=_0x2165c6['channelId'],this['id']=_0x2165c6['id'],this['comments']=new _0x512477(),this['_repository']=_0x22ac17,this['_isAttached']=!0x1,this['_isSubmitted']=_0x2165c6['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x22ac17,'_permissions',_0x22ac17,'_readOnlyChannels',()=>_0x22ac17['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x22ac17,'_permissions',()=>_0x22ac17['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x22ac17,'_permissions',()=>{const _0x3b698f=_0x22ac17['getPermissions'](this['channelId']);return _0x3b698f['write']||_0x3b698f['admin'];}),this['bind']('isResolvable')['to'](_0x22ac17,'_permissions',()=>_0x201edb&&_0x22ac17['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x2165c6['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x101eb8,_0x14311e)=>_0x101eb8?_0x14311e?_0x101eb8<_0x14311e?_0x101eb8:_0x14311e:_0x101eb8:_0x14311e),this['set']('unlinkedAt',_0x2165c6['unlinkedAt']||null),this['set']('resolvedAt',_0x2165c6['resolvedAt']||null),this['set']('resolvedBy',_0x2165c6['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x191290=>!!_0x191290),this['set']('attributes',_0x2165c6['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x209c3d,_0x2b9d85)=>_0x209c3d+_0x2b9d85['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x4e2f03,id:_0xbb2e30}=this;this['_repository']['fire'](gt('submitCommentThread',_0x4e2f03),{'channelId':_0x4e2f03,'threadId':_0xbb2e30});}['setUnlinkedAt'](_0x3f57c2){this['_update']({'unlinkedAt':_0x3f57c2});}['resolve']({resolvedAt:_0x31b182=new Date(),resolvedBy:_0x3ebeb4=null,isFromAdapter:_0x227fff=!0x1}={}){const _0x182096=this['_repository']['context']['plugins']['get'](lt)['me'],{channelId:_0xa33d41,id:_0xcacf1e}=this;this['_repository']['fire'](gt('resolveCommentThread',_0xa33d41),{'channelId':_0xa33d41,'threadId':_0xcacf1e,'resolvedAt':_0x31b182,'resolvedBy':_0x3ebeb4||_0x182096['id'],'isFromAdapter':_0x227fff});}['reopen']({isFromAdapter:_0x30b74c=!0x1}={}){const {channelId:_0x51c180,id:_0x976763}=this;this['_repository']['fire'](gt('reopenCommentThread',_0x51c180),{'channelId':_0x51c180,'threadId':_0x976763,'isFromAdapter':_0x30b74c});}['setContext'](_0x509c11){this['context']||this['_update']({'context':_0x509c11});}['setAttribute'](_0xf8b9fa,_0x5709d0){const _0x35c32a=ut(this['attributes']);pt(_0x35c32a,_0xf8b9fa,_0x5709d0),this['_update']({'attributes':_0x35c32a});}['removeAttribute'](_0x3a26d8){const _0x230896=ut(this['attributes']);It(_0x230896,_0x3a26d8),this['_update']({'attributes':_0x230896});}['remove']({isFromAdapter:_0x322076=!0x1}={}){const {channelId:_0x2661df,id:_0x43df1c}=this;this['_repository']['fire'](gt('removeCommentThread',_0x2661df),{'channelId':_0x2661df,'threadId':_0x43df1c,'isFromAdapter':_0x322076});}['attachTo'](_0x42d929){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x42d929});}['addComment'](_0x5a255e){const {channelId:_0x573d0e,id:_0x40c2cc}=this;this['_repository']['fire'](gt('addComment',_0x573d0e,_0x40c2cc),Object['assign']({'channelId':_0x573d0e,'threadId':_0x40c2cc},_0x5a255e));}['getComment'](_0x24d188){if('string'!=typeof _0x24d188)throw new _0x3e664f('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x24d188});return this['comments']['get'](_0x24d188);}['toJSON'](){return{'threadId':this['id'],'context':this['context'],'unlinkedAt':this['unlinkedAt'],'resolvedAt':this['resolvedAt'],'resolvedBy':this['resolvedBy']?this['resolvedBy']['id']:null,'archivedAt':this['archivedAt'],'comments':this['comments']['map'](_0x488a81=>_0x488a81['toJSON']()),'attributes':this['attributes']};}['_add'](_0x3e7f32){return this['listenTo'](_0x3e7f32,'change:authoredAt',()=>{const _0x4f6af7=this['_findOptimalIndex'](_0x3e7f32),_0x58757c=this['comments'];_0x4f6af7-0x1!=_0x58757c['getIndex'](_0x3e7f32)&&_0x4f6af7+0x1!=_0x58757c['getIndex'](_0x3e7f32)&&(this['_remove'](_0x3e7f32),this['_add'](_0x3e7f32));}),this['comments']['add'](_0x3e7f32,this['_findOptimalIndex'](_0x3e7f32));}['_update'](_0x464d95){const {channelId:_0x2137f5,id:_0x1a7553}=this;this['_repository']['fire'](gt('updateCommentThread',_0x2137f5),{..._0x464d95,'channelId':_0x2137f5,'threadId':_0x1a7553});}['_remove'](_0x111ef8){return this['stopListening'](_0x111ef8),_0x111ef8['destroy'](),this['comments']['remove'](_0x111ef8);}['_findOptimalIndex'](_0x49d506){const _0x144e3d=this['comments']['find'](_0x2a2353=>new Date(_0x2a2353['authoredAt'])['getTime']()>new Date(_0x49d506['authoredAt'])['getTime']());return _0x144e3d?this['comments']['getIndex'](_0x144e3d):this['length'];}}class se extends/* #__PURE__ -- @preserve */
31
+ _0x475d69(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x5944fb,_0x5a27ed){super();const _0xf77092=_0x5944fb['context']['plugins']['get'](lt)['me'],_0x3951f3=_0x5944fb['getCommentThread'](_0x5a27ed['threadId']),_0x2de13f=0x0===_0x3951f3['comments']['length'],_0x3f0ea3=_0xf77092===_0x5a27ed['author'];this['id']=_0x5a27ed['id'],this['threadId']=_0x5a27ed['threadId'],this['author']=_0x5a27ed['author'],this['creator']=_0x5a27ed['creator'],this['isExternal']=Boolean(_0x5a27ed['attributes']&&_0x5a27ed['attributes']['@external']),this['set']('content',_0x5a27ed['content']),this['createdAt']=_0x5a27ed['createdAt']||new Date(),this['set']('authoredAt',_0x5a27ed['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x3951f3,'resolvedAt'),this['set']('attributes',_0x5a27ed['attributes']||{}),this['bind']('isEditable')['to'](_0x5944fb,'_permissions',()=>{const _0x12c9ef=_0x5944fb['getPermissions'](_0x3951f3['channelId'])['write'],_0x3f8c31=_0x5944fb['getPermissions'](_0x3951f3['channelId'])['modifyAll'];return _0x3f0ea3&&_0x12c9ef||!_0x3f0ea3&&_0x3f8c31;}),this['bind']('isRemovable')['to'](_0x3951f3,'isRemovable',_0x5944fb,'_permissions',_0x63847f=>{const _0x454ecb=_0x5944fb['getPermissions'](_0x3951f3['channelId'])['write'],_0x93d0a7=_0x5944fb['getPermissions'](_0x3951f3['channelId'])['modifyAll'];return _0x3f0ea3&&_0x454ecb||_0x63847f&&_0x2de13f||!_0x3f0ea3&&_0x93d0a7&&!_0x2de13f;}),this['bind']('isReadOnly')['to'](_0x3951f3,'isReadOnly'),this['_repository']=_0x5944fb;}get['weight'](){return Math['max'](function(_0x3d24e0){const _0x1d82f7=document['createElement']('div');return _0x1d82f7['innerHTML']=_0x3d24e0,_0x1d82f7['textContent']['length'];}(this['content']),0xc8);}['update'](_0x498be8){const {threadId:_0x468ef1,id:_0x2984e4}=this;if(!this['_repository']['hasCommentThread'](_0x468ef1))throw new _0x3e664f('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x110d47}=this['_repository']['getCommentThread'](_0x468ef1);this['_repository']['fire'](gt('updateComment',_0x110d47,_0x468ef1),{'channelId':_0x110d47,'threadId':_0x468ef1,'commentId':_0x2984e4,..._0x498be8});}['setAttribute'](_0x34bbf0,_0x46d5aa){const _0x1cd161=ut(this['attributes']);pt(_0x1cd161,_0x34bbf0,_0x46d5aa),this['update']({'attributes':_0x1cd161});}['removeAttribute'](_0x126200){const _0x52e5af=ut(this['attributes']);It(_0x52e5af,_0x126200),this['update']({'attributes':_0x52e5af});}['remove'](_0x53189d={}){if(!_0x53189d['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x4eff30,id:_0x3a513d}=this;if(!this['_repository']['hasCommentThread'](_0x4eff30))throw new _0x3e664f('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x225eb7}=this['_repository']['getCommentThread'](_0x4eff30);this['_repository']['fire'](gt('removeComment',_0x225eb7,_0x4eff30),{'channelId':_0x225eb7,'threadId':_0x4eff30,'commentId':_0x3a513d,..._0x53189d});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function gt(_0x5eb268,..._0x142bda){for(const _0x5c65cb of _0x142bda)void 0x0!==_0x5c65cb&&(_0x5eb268+=':'+String(_0x5c65cb));return _0x5eb268;}class G extends _0x121422{['refresh'](){const _0x2fc279=this['editor']['model']['document']['selection'];for(const _0x5a1383 of _0x2fc279['getRanges']())if(this['_hasContent'](_0x5a1383))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['execute']({threadId:_0x21be87=_0x96845()}={}){const _0x5d1570=this['editor']['model'],_0x3cd828=[];for(const _0x327b1d of _0x5d1570['document']['selection']['getRanges']())this['_hasContent'](_0x327b1d)&&_0x3cd828['push'](this['_trimToContent'](_0x327b1d));_0x5d1570['change'](_0x320cc1=>{for(const _0x32bf61 of _0x3cd828){const _0x38effb=_0x96845()['substr'](0x1,0x5),_0x1535ce='comment:'+_0x21be87+':'+_0x38effb;_0x320cc1['addMarker'](_0x1535ce,{'range':_0x32bf61,'usingOperation':!0x1,'affectsData':!0x1});}});}['_hasContent'](_0x4e9221){for(const _0x42a500 of _0x4e9221['getItems']())if(this['_itemIsContent'](_0x42a500))return!0x0;return!0x1;}['_itemIsContent'](_0x27adda){return _0x27adda['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x27adda)&&!_0x27adda['is']('element','tableCell');}['_trimToContent'](_0x5a9210){const _0x2d678d=_0x49621c=>!this['_itemIsContent'](_0x49621c['item']),_0x18b10e=_0x5a9210['start']['getLastMatchingPosition'](_0x2d678d),_0xe31c12=_0x5a9210['end']['getLastMatchingPosition'](_0x2d678d,{'direction':'backward'});return this['editor']['model']['createRange'](_0x18b10e,_0xe31c12);}}class k extends _0x11abd4{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[b];}static get['pluginName'](){return'EditorAnnotations';}constructor(_0x310326){super(_0x310326),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x22aae4=this['editor'],_0xf69f1=_0x22aae4['model']['document']['selection'],_0x16f6d2=_0x40dd0e(()=>this['refreshSelectedViews'](),0xa);_0xf69f1['on']('change:range',(_0x6dd118,_0x1772af)=>{_0x1772af['directChange']&&(_0x16f6d2['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x22aae4['editing']['view']['document'],'change:isFocused',(_0x4360e6,_0x115a75,_0x5584d8)=>{_0x5584d8&&_0x16f6d2();}),this['listenTo'](_0x22aae4['ui']['focusTracker'],'change:isFocused',(_0x37c776,_0x1b421d,_0x8889f9)=>{_0x8889f9||_0x22aae4['isReadOnly']||this['fire']('blur',{'isAnnotationTracked':_0xe202c4=>this['_editorAnnotationsData']['has'](_0xe202c4['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x24b591){if(this['_editorAnnotations']['has'](_0x24b591['view']))return;this['_editorAnnotations']['add'](_0x24b591['view']),this['editor']['ui']['focusTracker']['add'](_0x24b591['view']['element']);const _0x422b5b=this['editor']['plugins']['get'](b);this['listenTo'](_0x422b5b['collection'],'remove',(_0x1e5119,_0x1fb23c)=>{this['editor']['ui']['focusTracker']['remove'](_0x1fb23c['view']['element']),this['_editorAnnotations']['delete'](_0x1fb23c['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0xa9ef85){if('function'!=typeof _0xa9ef85)throw new _0x3e664f('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0xa9ef85);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x509946,annotations:_0x2a8535}){const _0x40a491=[],_0x190221=this['editor']['model']['document']['selection'],_0x5e7947=Array['from'](_0x190221['getRanges']());for(const [_0x4e272,_0x48649c]of this['_editorAnnotationsData']){const _0x7e02e7=_0x4c5062(_0x48649c),_0xbd9e60=_0x2a8535['getByInnerView'](_0x4e272);_0x7e02e7&&_0xbd9e60&&_0x40a491['push']({'annotation':_0xbd9e60,'range':_0x7e02e7});}function _0x4c5062(_0x3f4adb){for(const _0x309aba of _0x3f4adb)for(const _0x43f639 of _0x5e7947)if(_0x309aba['containsRange'](_0x43f639,!_0x190221['isCollapsed']))return _0x309aba;return null;}return _0x40a491['sort']((_0x3faacc,_0xce0346)=>{const _0x1dccb7=_0x3faacc['range'],_0x1a33e1=_0xce0346['range'];if(!_0x1dccb7['isEqual'](_0x1a33e1)){if(_0x1dccb7['containsRange'](_0x1a33e1,!0x0))return 0x1;if(_0x1a33e1['containsRange'](_0x1dccb7,!0x0))return-0x1;}return _0x3faacc['annotation']==_0x509946?-0x1:_0xce0346['annotation']==_0x509946?0x1:0x0;})['map'](_0x534a46=>_0x534a46['annotation']);}get['_editorAnnotationsData'](){const _0xd1eaac=new Map();for(const _0x9258cc of Array['from'](this['_dataCollectors']))for(const [_0x515140,_0x4b7abe]of _0x9258cc())_0xd1eaac['set'](_0x515140,_0x4b7abe);return _0xd1eaac;}}class ot extends _0x11abd4{['afterInit'](){const _0x311839=this['editor'];if(!_0x311839['plugins']['has']('RestrictedEditingModeEditing'))return;_0x311839['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class et extends _0x11abd4{constructor(_0x2a0902){super(_0x2a0902),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x4f27e4=this['editor'],_0x2e1ef5=_0x4f27e4['commands']['get']('importWord'),_0x3886d7=_0x4f27e4['plugins']['get'](lt);_0x2e1ef5&&(_0x2e1ef5['on']('execute',(_0x474561,[,_0x552f58])=>{_0x552f58['collaboration_features']={'comments':!0x0,'user_id':_0x3886d7['me']['id']};},{'priority':Wt['high']+0xa}),this['listenTo'](_0x2e1ef5,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x275aa6,_0x48da8e){const {comment_threads:_0x2868f6}=_0x48da8e;_0x2868f6&&_0x2868f6['forEach'](({thread_id:_0x28fd87,comments:_0xbdaeb5,is_resolved:_0x3a0e93})=>{const _0x43a61b=new Date(),_0x45e329=_0xbdaeb5['map'](({author:_0x1dc351,content:_0x4c9aeb,created_at:_0x4862f3})=>({'content':_0x4c9aeb,'authorId':this['editor']['plugins']['get'](lt)['me']['id'],'createdAt':_0x43a61b,'attributes':{'@external':{'authorName':_0x1dc351,'createdAt':_0x4862f3?new Date(_0x4862f3):new Date(),'source':'importWord'}}})),_0x5626e2=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](m)['addCommentThread']({'channelId':_0x5626e2,'threadId':_0x28fd87,'comments':_0x45e329,'resolvedAt':_0x3a0e93?_0x43a61b:null});});}}class rt extends _0x11abd4{constructor(_0x24b7cf){super(_0x24b7cf),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[Mt,Pt];}['afterInit'](){const _0x21a9bd=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x21a9bd,'contentInsertion',(_0x3341e8,_0x51720e)=>this['_removeMarkersWithoutThreads'](_0x51720e['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x547b56){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x547b56;const _0x57413e=this['editor']['plugins']['get']('CommentsRepository');for(const _0xc690ac of _0x547b56['keys']()){const [_0x7d3235,_0x22384f]=_0xc690ac['split'](':');'comment'!=_0x7d3235||_0x57413e['hasCommentThread'](_0x22384f)||_0x547b56['delete'](_0xc690ac);}return _0x547b56;}['_registerMarkerInClipboardPipeline'](){const _0x9278c2=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x90df7c=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x90df7c&&_0x9278c2['_registerMarkerToCopy']('comment',_0x90df7c);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x8109db){switch(_0x8109db){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}class r extends _0x11abd4{static get['requires'](){return[m,k,ot,et,rt];}static get['pluginName'](){return'CommentsEditing';}constructor(_0x128300){super(_0x128300),this['set']('isThreadsLoadingPaused',!0x0),_0x128300['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x5d48c4,_0x5ba4a0,_0x40f1b6,_0x1d5b43)=>{const _0x1e1f4a=_0x40f1b6?it(_0x40f1b6)['id']:null;if(_0x128300['model']['change'](()=>{if(_0x1e1f4a){const _0x1627f6=this['getAllMarkersForId'](_0x1e1f4a);for(const _0x410a63 of _0x1627f6)_0x128300['editing']['reconvertMarker'](_0x410a63);}if(_0x1d5b43){const {id:_0x67ae92}=it(_0x1d5b43),_0x553b35=this['getAllMarkersForId'](_0x67ae92);for(const _0x358201 of _0x553b35)_0x128300['editing']['reconvertMarker'](_0x358201);}}),_0x1e1f4a){const _0x35ac4f=_0x128300['plugins']['get'](m)['getCommentThread'](_0x1e1f4a);_0x35ac4f&&_0x35ac4f['isResolved']&&this['scrollToThreadMarker'](_0x1e1f4a);}}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x5d718f=this['editor'],_0x43a761=_0x5d718f['plugins']['get'](m),_0x32b432=_0x5d718f['config']['get']('collaboration.channelId');_0x5d718f['commands']['add']('addCommentThread',new G(_0x5d718f)),this['listenTo'](_0x5d718f,'change:isReadOnly',(_0x5b0ac9,_0x22bc77,_0x3d1292)=>{_0x43a761['switchReadOnly'](_0x3d1292,_0x5d718f['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x43a761,nt('addCommentThread',_0x32b432),(_0x5eb55a,{threadId:_0x3ee336})=>{const _0x261fb0=this['editor']['plugins']['get'](m)['getCommentThread'](_0x3ee336);_0x261fb0&&_0x261fb0['unlinkedAt']&&this['_attachArchivedThread'](_0x3ee336);}),this['listenTo'](_0x43a761,nt('removeCommentThread',_0x32b432),(_0x3c7364,{threadId:_0x25f565})=>{_0x5d718f['model']['enqueueChange']({'isUndoable':!0x1},_0x4e1968=>{const _0x571bab=this['getAllMarkersForId'](_0x25f565);for(const _0x5f250c of _0x571bab)_0x4e1968['removeMarker'](_0x5f250c);});}),this['listenTo'](_0x43a761,nt('resolveCommentThread',_0x32b432),(_0x33a144,{threadId:_0x90cd2c})=>{(this['_reconvertMarkers'](_0x90cd2c),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](m)['getCommentThread'](_0x90cd2c)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x43a761,nt('reopenCommentThread',_0x32b432),(_0x14beef,{threadId:_0x774aff})=>{this['_reconvertMarkers'](_0x774aff);},{'priority':'low'}),this['listenTo'](_0x43a761,nt('addComment',_0x32b432),(_0x26df31,{threadId:_0x32a3e7,isFromAdapter:_0x30725a})=>{const _0xb518e9=this['getAllMarkersForId'](_0x32a3e7);if(_0x30725a||0x0==_0xb518e9['length']||!_0x43a761['hasCommentThread'](_0x32a3e7))return;0x1===_0x43a761['getCommentThread'](_0x32a3e7)['length']&&_0x5d718f['model']['enqueueChange']({'isUndoable':!0x1},_0x338199=>{for(const _0x5e7b07 of _0xb518e9)_0x338199['updateMarker'](_0x5e7b07,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove']();}['destroy'](){const _0x421f8d=this['editor']['plugins']['get'](m),_0x3daa51=this['editor']['config']['get']('collaboration.channelId');for(const _0x4ba2cb of _0x421f8d['getCommentThreads']({'channelId':_0x3daa51}))_0x421f8d['_detachCommentThread'](_0x4ba2cb['id']),_0x421f8d['_threads']['delete'](_0x4ba2cb['id']);super['destroy']();}['hasMarkerForId'](_0x456a96){return this['getAllMarkersForId'](_0x456a96)['length']>0x0;}['getAllMarkersForId'](_0xc286d6){const _0x26c348=[];for(const _0xacabac of this['editor']['model']['markers'])_0xacabac['name']['startsWith']('comment:'+_0xc286d6)&&_0x26c348['push'](_0xacabac);return _0x26c348;}['scrollToThreadMarker'](_0x18b3ff){const _0x322565=this['_getTargetForId'](_0x18b3ff);_0x322565&&setTimeout(()=>{this['activeMarker']&&it(this['activeMarker'])['id']===_0x18b3ff&&_0x29d6c2({'target':_0x322565[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x1ff309){this['editor']['model']['change'](()=>{for(const _0x5dfe20 of this['getAllMarkersForId'](_0x1ff309))this['editor']['editing']['reconvertMarker'](_0x5dfe20);});}['_attachArchivedThread'](_0x1678f9){const _0x3743b3=this['editor']['plugins']['get'](m),_0x26dbfb=this['editor']['plugins']['get'](k),_0x5f3c7e=_0x3743b3['getCommentThread'](_0x1678f9);if(!_0x5f3c7e['isAttached']){const _0x15ed29=_0x5f3c7e['attachTo'](()=>this['_getTargetForId'](_0x5f3c7e['id']));_0x26dbfb['registerAnnotation'](_0x15ed29),_0x5f3c7e['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x2b2bb5=this['editor'];_0x2b2bb5['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0xfe9c7c,_0x543027)=>{const {id:_0x1db848}=it(_0xfe9c7c['markerName']),_0x44db88=_0x2b2bb5['plugins']['get'](m)['getCommentThread'](_0x1db848),_0x1043ec=this['activeMarker']&&it(this['activeMarker'])['id']===_0x1db848;if(_0x44db88&&_0x44db88['isResolved']&&!_0x1043ec&&_0xfe9c7c['item'])return _0x543027['consumable']['consume'](_0xfe9c7c['item'],'addMarker:'+_0xfe9c7c['markerName']),_0x543027['consumable']['consume'](_0xfe9c7c['item'],'removeMarker:'+_0xfe9c7c['markerName']),null;const _0x515bc0=['ck-comment-marker'];return _0x1043ec&&_0x515bc0['push']('ck-comment-marker--active'),{'classes':_0x515bc0,'attributes':{'data-comment':_0x1db848}};}}),_0x2b2bb5['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0xfd278d,{options:_0x1eb809})=>{const _0x5c599e=_0x2b2bb5['plugins']['get'](m),_0x404163=_0x2b2bb5['model']['markers']['get'](_0xfd278d),{id:_0xd10ac0,part:_0x1afd60}=it(_0xfd278d);if(_0x404163&&!_0x404163['affectsData'])return null;if(_0x1eb809['ignoreResolvedComments']){const _0x10ee06=_0x5c599e['getCommentThread'](_0xd10ac0);if(_0x10ee06&&_0x10ee06['isResolved'])return null;}return{'group':'comment','name':_0x1afd60?_0xd10ac0+':'+_0x1afd60:_0xd10ac0};}}),_0x2b2bb5['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x2ab1f2,{writer:_0x49c69c})=>_0x49c69c['createElement']('$marker',{'data-name':'comment:'+_0x2ab1f2['getAttribute']('id')})}),_0x2b2bb5['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x5d30c9=this['editor'],_0x20e193=_0x5d30c9['plugins']['get'](m),_0x2885ba=new Set(),_0x3b00ae=new Set();_0x5d30c9['model']['document']['registerPostFixer'](_0x3dc410=>{let _0x39eabe=!0x1;for(const {name:_0x58ada3,data:_0x47d1af}of _0x5d30c9['model']['document']['differ']['getChangedMarkers']()){const {group:_0x11f2b4,id:_0xb23a22}=it(_0x58ada3);let _0x2fdbbc=_0x47d1af['newRange'];if('comment'!==_0x11f2b4||!_0x2fdbbc)continue;const _0x3af41d='$graveyard'===_0x2fdbbc['root']['rootName'];_0x3af41d||(_0x2fdbbc=st(_0x2fdbbc,_0x5d30c9['model']),!_0x2fdbbc||_0x2fdbbc['isCollapsed']||!_0x47d1af['newRange']||_0x2fdbbc['isEqual'](_0x47d1af['newRange']))?_0x5d30c9['model']['hasContent'](_0x2fdbbc)&&!_0x3af41d?this['isThreadsLoadingPaused']?_0x2885ba['add'](_0x58ada3):this['_handleThreadMarker'](_0x58ada3,_0xb23a22):(_0x3b00ae['add'](_0x58ada3),_0x2885ba['delete'](_0x58ada3),_0x3dc410['removeMarker'](_0x58ada3),_0x39eabe=!0x0):(_0x3dc410['updateMarker'](_0x58ada3,{'range':_0x2fdbbc}),_0x39eabe=!0x0);}return _0x39eabe;}),this['on']('change:isThreadsLoadingPaused',(_0x575e47,_0x51875b,_0x49fe58)=>{if(!_0x49fe58&&_0x2885ba['size'])for(const _0x3f7a81 of _0x2885ba){const {id:_0xaaf83d}=it(_0x3f7a81);_0x2885ba['delete'](_0x3f7a81),_0x5d30c9['model']['markers']['get'](_0x3f7a81)&&this['_handleThreadMarker'](_0x3f7a81,_0xaaf83d);}}),this['listenTo'](_0x5d30c9['model']['document'],'change',(_0x392af1,_0x584cf1)=>{for(const {name:_0xea9549,data:{newRange:_0x117753}}of _0x5d30c9['model']['document']['differ']['getChangedMarkers']()){const {group:_0x4816ec,id:_0x699193}=it(_0xea9549);if('comment'!==_0x4816ec)continue;const _0x30485d=_0x20e193['getCommentThread'](_0x699193),_0x3af154=this['hasMarkerForId'](_0x699193);_0x30485d&&(_0x30485d['_hasTargetInContent']||_0x5d30c9['editing']['view']['once']('render',()=>{const _0x65eea0=_0x5d30c9['plugins']['get'](b),_0x5af653=_0x20e193['_threadToController']['get'](_0x30485d)['view'];_0x65eea0['getByInnerView'](_0x5af653)['refreshVisibility']();},{'priority':'low'}),_0x30485d['_hasTargetInContent']=_0x3af154||!!_0x117753),_0x117753||(_0x3b00ae['add'](_0xea9549),_0x2885ba['delete'](_0xea9549));}if(_0x584cf1['isLocal'])for(const _0x1d8f47 of _0x3b00ae){const {id:_0x3953bf}=it(_0x1d8f47),_0x4e82d5=_0x20e193['getCommentThread'](_0x3953bf),_0xc5e56=this['hasMarkerForId'](_0x3953bf);_0x2885ba['delete'](_0x1d8f47),!_0x4e82d5||_0xc5e56||_0x4e82d5['unlinkedAt']||_0x4e82d5['setUnlinkedAt'](new Date());}_0x3b00ae['clear']();});}['_getTargetForId'](_0x215bb6){const _0x240ef1=this['editor'],_0x480331=this['getAllMarkersForId'](_0x215bb6);return tt(_0x240ef1['editing'],_0x480331);}['_getTextContext'](_0x36bdb5){const _0x53f755=this['getAllMarkersForId'](_0x36bdb5);let _0x4f4741='',_0x46e9ed=!0x1;for(const _0x24f17d of _0x53f755){const _0x137bc6=_0x24f17d['getRange']();for(const _0x177aaf of Array['from'](_0x137bc6['getItems']()))_0x177aaf['is']('$textProxy')?(_0x4f4741&&_0x46e9ed&&(_0x4f4741+='\x20',_0x46e9ed=!0x1),_0x4f4741+=_0x177aaf['data']):_0x46e9ed=!0x0;_0x46e9ed=!0x0;}return _0x4f4741['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x1b0bf7,_0x259b3d){const _0x532b20=this['editor'],_0x43fd83=_0x532b20['plugins']['get'](m);let _0x48814b=_0x43fd83['getCommentThread'](_0x259b3d);const _0x500239=_0x532b20['config']['get']('collaboration.channelId'),_0xc7712a=_0x532b20['plugins']['get'](k);if(_0x48814b&&(_0x48814b['unlinkedAt']&&_0x48814b['setUnlinkedAt'](null),_0x48814b['isAttached']))return _0x48814b;return!this['getAllMarkersForId'](_0x259b3d)[0x0]['managedUsingOperations']?_0x532b20['editing']['view']['once']('render',()=>{if(_0x43fd83['getCommentThread'](_0x259b3d))return;const _0x955d5f=_0x532b20['plugins']['get'](b);_0x48814b=_0x43fd83['openNewCommentThread']({'channelId':_0x500239,'threadId':_0x259b3d,'target':()=>this['_getTargetForId'](_0x259b3d),'context':{'type':'text','value':this['_getTextContext'](_0x259b3d)}});const _0x185997=_0x43fd83['_threadToController']['get'](_0x48814b)['view'],_0x129226=_0x955d5f['getByInnerView'](_0x185997);_0x129226&&_0xc7712a['registerAnnotation'](_0x129226);},{'priority':'low'}):_0x43fd83['fetchCommentThread']({'channelId':_0x500239,'threadId':_0x259b3d})['then'](_0xd6817f=>{if('destroyed'!==_0x532b20['state']){if(_0x48814b=_0xd6817f,_0x48814b&&!_0x48814b['isAttached']){const _0x2be3ec=_0x48814b['attachTo'](()=>this['_getTargetForId'](_0x259b3d));_0xc7712a['registerAnnotation'](_0x2be3ec),_0x48814b['isResolved']&&this['_reconvertMarkers'](_0x259b3d);}else{if(!_0x48814b){const _0x2813a3=this['getAllMarkersForId'](_0x259b3d);_0x532b20['model']['change'](_0x56d797=>{for(const _0x20db0f of _0x2813a3)_0x56d797['removeMarker'](_0x20db0f);});}}}}),_0x48814b;}['_handleThreadMarker'](_0x264dba,_0x3fa14b){const _0x2ae607=this['_attachMarkerToThread'](_0x264dba,_0x3fa14b);_0x2ae607&&!_0x2ae607['context']&&_0x2ae607['setContext']({'type':'text','value':this['_getTextContext'](_0x3fa14b)});}['_initAriaMarkerChangeAnnouncements'](){const _0x29a0e0=this['editor'];_0xb8eb12(_0x29a0e0['model'],({left:_0xa912e3,entered:_0x2d6693})=>{for(const _0x5147cd of _0xa912e3)if(at(_0x5147cd)){_0x29a0e0['ui']['ariaLiveAnnouncer']['announce'](W(_0x29a0e0['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x8bb2e8 of _0x2d6693)if(at(_0x8bb2e8)){_0x29a0e0['ui']['ariaLiveAnnouncer']['announce'](W(_0x29a0e0['locale'],'ENTER_COMMENT_ANNOUNCEMENT'));break;}});}}function nt(_0x17613c,_0x5674e0){return _0x5674e0?_0x17613c+':'+_0x5674e0:_0x17613c;}function it(_0xbf21d2){const _0x578d64=_0xbf21d2['split'](':');return{'group':_0x578d64[0x0],'id':_0x578d64[0x1],'part':_0x578d64[0x2]};}function st(_0x27ca3b,_0x54fa6d){const _0xb32cef=_0x54fa6d['schema'],_0x14fb61=_0x54fa6d['createRange'](_0x27ca3b['start']);for(const _0x3dabbf of _0x27ca3b['getWalker']()){const {type:_0x3a3b78,item:_0x3c291f,nextPosition:_0x58c4e8}=_0x3dabbf;if('text'===_0x3a3b78||_0xb32cef['isObject'](_0x3c291f)){const _0x5a4be8=_0x54fa6d['createPositionBefore'](_0x3c291f);_0x14fb61['isCollapsed']&&(_0x14fb61['start']=_0x5a4be8),_0x14fb61['end']=_0x58c4e8;}}return _0x14fb61;}function at(_0x1b286b){return'comment'===it(_0x1b286b['name'])['group'];}var kt='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M4\x201.5h12A3.5\x203.5\x200\x200\x201\x2019.5\x205v8l-.005.192a3.5\x203.5\x200\x200\x201-2.927\x203.262l-.062.008v1.813a1.5\x201.5\x200\x200\x201-2.193\x201.33l-.371-.193-.38-.212a13.452\x2013.452\x200\x200\x201-3.271-2.63l-.062-.07H4A3.5\x203.5\x200\x200\x201\x20.5\x2013V5A3.5\x203.5\x200\x200\x201\x204\x201.5ZM4\x203a2\x202\x200\x200\x200-2\x202v8a2\x202\x200\x200\x200\x202\x202h6.924a11.917\x2011.917\x200\x200\x200\x203.71\x203.081l.372.194v-3.268L14.962\x2015H16a2\x202\x200\x200\x200\x202-2V5a2\x202\x200\x200\x200-2-2H4Z\x22/><path\x20d=\x22M9.75\x205a.75.75\x200\x200\x200-.75.75v2.5H6.5a.75.75\x200\x200\x200\x200\x201.5H9v2.5a.75.75\x200\x200\x200\x201.5\x200v-2.5H13a.75.75\x200\x200\x200\x200-1.5h-2.5v-2.5A.75.75\x200\x200\x200\x209.75\x205Z\x22/></svg>\x0a';class s extends _0x11abd4{static get['pluginName'](){return'CommentsUI';}static get['requires'](){return[m,r,k,b];}get['CommentsListView'](){return xt;}get['CommentThreadInputView'](){return Tt;}['init'](){const _0x490335=this['editor'],_0x2620ec=_0x490335['plugins']['get'](m),_0xda7ad7=_0x490335['plugins']['get'](r),_0x1797c7=_0x490335['plugins']['get'](b),_0x27ec95=_0x490335['plugins']['get'](k);_0x490335['ui']['componentFactory']['add']('comment',()=>{const _0x2f49b9=this['_createUIButton'](_0x25180e);return _0x2f49b9['tooltip']=!0x0,_0x2f49b9;}),_0x490335['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x395480)),_0x27ec95['addSourceCollector'](()=>{const _0x16cc80=[];for(const [_0x4c360d,_0x3f904c]of _0x2620ec['_threadToController']){const _0xfbf2cd=_0xda7ad7['getAllMarkersForId'](_0x4c360d['id']),_0x40587e=_0xfbf2cd['map'](_0x419cbc=>_0x419cbc['getRange']());_0xfbf2cd['length']>0x0&&_0x16cc80['push']([_0x3f904c['view'],_0x40587e]);}return _0x16cc80;}),this['listenTo'](_0x1797c7,'change:activeAnnotations',(_0x6535b7,_0x126910,_0x9531f0)=>{const _0x25587a=Array['from'](_0x9531f0)['map'](_0x3d0596=>_0x3d0596['innerView'])['find'](_0x47551c=>_0x2620ec['_viewToController']['has'](_0x47551c));if(!_0x25587a)return void(_0xda7ad7['activeMarker']=null);const _0x397032=_0x2620ec['_viewToController']['get'](_0x25587a)['model']['id'],_0x11f9ee='comment:'+_0x397032;_0x397032&&_0xda7ad7['hasMarkerForId'](_0x397032)?_0xda7ad7['activeMarker']=_0x11f9ee:_0xda7ad7['activeMarker']&&(_0xda7ad7['activeMarker']=null);}),this['listenTo'](_0x2620ec,'removeCommentThread',(_0x586c4e,{threadId:_0x402f49,isFromAdapter:_0x388a80})=>{!_0x388a80&&_0x490335['ui']['focusTracker']['isFocused']&&_0xda7ad7['hasMarkerForId'](_0x402f49)&&_0x490335['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x2620ec,'addComment',(_0xff4cac,{threadId:_0x135b93,isFromAdapter:_0x1e0905})=>{if(_0x1e0905||!_0xda7ad7['hasMarkerForId'](_0x135b93)||!_0x2620ec['hasCommentThread'](_0x135b93))return;0x1===_0x2620ec['getCommentThread'](_0x135b93)['length']&&(_0x490335['editing']['view']['focus'](),_0xff4cac['stop']());},{'priority':'low'});}['_createUIButton'](_0x1cef5c){const _0x147d41=this['editor'],_0x543474=new _0x1cef5c(_0x147d41['locale']),_0x5485db=_0x147d41['commands']['get']('addCommentThread');return _0x543474['set']({'label':W(_0x147d41['locale'],'Comment'),'icon':kt}),_0x543474['bind']('isEnabled')['to'](_0x5485db),this['listenTo'](_0x543474,'execute',()=>_0x5485db['execute']()),_0x543474;}}class e extends _0x11abd4{static get['pluginName'](){return'CommentsOnly';}static get['requires'](){return[r];}constructor(_0x215c84){super(_0x215c84),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x316b38,_0x4adbb9,_0x1a4880)=>{_0x1a4880?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x2da82c,_0x37faed]of this['editor']['commands'])_0x37faed['affectsData']&&'addCommentThread'!==_0x2da82c&&_0x37faed['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode');const _0x47c5e6=this['editor']['editing']['view']['document'];this['listenTo'](_0x47c5e6,'cut',_0x22556e=>_0x22556e['stop'](),{'priority':'highest'}),this['listenTo'](_0x47c5e6,'clipboardInput',_0x31a157=>_0x31a157['stop'](),{'priority':'highest'}),this['listenTo'](_0x47c5e6,'delete',_0x4e53c7=>_0x4e53c7['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x59c7ad,_0x29b5cd]of this['editor']['commands'])_0x29b5cd['affectsData']&&'addCommentThread'!==_0x59c7ad&&_0x29b5cd['clearForceDisabled']('commentsOnlyMode');this['stopListening'](this['editor']['editing']['view']['document']);}}class j extends _0x47dc70{['activeUIs'];['_uis'];['_uisData'];static get['requires'](){return[b];}static get['pluginName'](){return'AnnotationsUIs';}constructor(_0x247742){super(_0x247742),this['activeUIs']=new Set(),this['_uis']=new Map(),this['_uisData']=new Map();}['init'](){const _0x592d3b=this['context']['plugins']['get'](b);this['listenTo'](_0x592d3b,'_activateAnnotation',(_0xc91d76,_0x2fbdbe)=>{for(const _0x14d989 of this['activeUIs']){const _0xa3db51=this['_uis']['get'](_0x14d989);(0x0,this['_uisData']['get'](_0x14d989)['filter'])(_0x2fbdbe)&&_0xa3db51['setActiveAnnotation'](_0x2fbdbe);}}),this['listenTo'](_0x592d3b,'_deactivateAllAnnotations',()=>{for(const _0x4d1929 of this['activeUIs']){this['_uis']['get'](_0x4d1929)['setActiveAnnotation'](null);}}),this['listenTo'](_0x592d3b['_visibleAnnotations'],'add',(_0x32ebc0,_0xd94bf7)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xd94bf7);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x555685){return this['activeUIs']['has'](_0x555685);}['activate'](_0x53804e,_0x29c184=()=>!0x0){const _0x59a263=this['context']['plugins']['get'](b);if(!this['_uis']['has'](_0x53804e))throw new _0x3e664f('annotationsuis-missing-ui',this,{'uiName':_0x53804e});this['isActive'](_0x53804e)&&this['deactivate'](_0x53804e),this['activeUIs']['add'](_0x53804e);const _0x305544=new x();!function({source:_0x1f8d71,target:_0x20d436,filter:_0xd655ef}){for(const _0x156b70 of _0x1f8d71)_0xd655ef(_0x156b70)&&_0x20d436['add'](_0x156b70);_0x20d436['listenTo'](_0x1f8d71,'add',(_0x131547,_0x6525bb)=>{_0xd655ef(_0x6525bb)&&_0x20d436['add'](_0x6525bb);}),_0x20d436['listenTo'](_0x1f8d71,'remove',(_0x34aecd,_0x10047b)=>{_0x20d436['has'](_0x10047b)&&_0x20d436['remove'](_0x10047b);});}({'source':_0x59a263['_visibleAnnotations'],'target':_0x305544,'filter':_0x29c184}),this['_uisData']['set'](_0x53804e,{'collection':_0x305544,'filter':_0x29c184});const _0x2ffdb4=this['_uis']['get'](_0x53804e);_0x2ffdb4['attach'](_0x305544),this['listenTo'](_0x2ffdb4,'change:activeAnnotation',(_0x1a03bd,_0x247380,_0x475e86,_0x5112fc)=>{_0x5112fc&&_0x59a263['_removeActiveAnnotation'](_0x5112fc),_0x475e86&&_0x59a263['_addActiveAnnotation'](_0x475e86);});}['deactivate'](_0x2b7236){if(this['activeUIs']['delete'](_0x2b7236),!this['_uis']['has'](_0x2b7236))throw new _0x3e664f('annotationsuis-missing-ui',this,{'uiName':_0x2b7236});const _0x21f314=this['_uis']['get'](_0x2b7236);_0x21f314['detach'](),this['stopListening'](_0x21f314),this['_uisData']['get'](_0x2b7236)['collection']['destroy'](),this['_uisData']['delete'](_0x2b7236);}['switchTo'](_0x470233){if(!this['_uis']['has'](_0x470233))throw new _0x3e664f('annotationsuis-missing-ui',this,{'uiName':_0x470233});const _0x3ccbfc=this['context']['plugins']['get'](b),_0x4dd874=Array['from'](_0x3ccbfc['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x470233);const _0xcad9c5=this['_uis']['get'](_0x470233);_0xcad9c5['setActiveAnnotation'](_0x4dd874),_0xcad9c5['_setSelectedAnnotations']&&_0x4dd874&&_0xcad9c5['_setSelectedAnnotations']([_0x4dd874]);}['deactivateAll'](){for(const _0x7f94f8 of this['activeUIs'])this['deactivate'](_0x7f94f8);}['register'](_0x356978,_0x5f4fc9){if(this['_uis']['has'](_0x356978))throw new _0x3e664f('annotationsuis-register-already-registered');if('function'!=typeof _0x5f4fc9['attach']||'function'!=typeof _0x5f4fc9['detach']||'function'!=typeof _0x5f4fc9['setActiveAnnotation'])throw new _0x3e664f('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x356978,_0x5f4fc9);}['refilterAnnotations'](){const _0x3d61d7=this['context']['plugins']['get'](b)['collection'],_0x2206a0=new Map(),_0x492212=Array['from'](this['activeUIs']);for(const _0x3c4491 of this['activeUIs']){const _0x1e1642=this['_uisData']['get'](_0x3c4491)['collection'];for(const _0x23050b of _0x1e1642)_0x2206a0['set'](_0x23050b,_0x3c4491);}for(const _0x473296 of _0x3d61d7){const _0x20f8ed=_0x2206a0['get'](_0x473296);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x473296);const _0x74aebd=_0x492212['find'](_0x5966e3=>this['_uisData']['get'](_0x5966e3)['filter'](_0x473296));_0x20f8ed!==_0x74aebd&&(_0x20f8ed&&this['_uisData']['get'](_0x20f8ed)['collection']['remove'](_0x473296),_0x74aebd&&this['_uisData']['get'](_0x74aebd)['collection']['add'](_0x473296));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x4c5892){const _0xf719cf=[];for(const _0x482230 of this['activeUIs']){(0x0,this['_uisData']['get'](_0x482230)['filter'])(_0x4c5892)&&_0xf719cf['push'](_0x482230);}if(_0xf719cf['length']>0x1)throw new _0x3e664f('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0xf719cf,'annotationType':_0x4c5892['type']});}}const ne=Ht('px');class T extends _t{['list'];constructor(_0x51bd67){super(_0x51bd67);const _0x45d715=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x45d715['to']('class')],'style':{'minHeight':_0x45d715['to']('minHeight',_0x236d0c=>'number'==typeof _0x236d0c?ne(_0x236d0c+0xa):null)}},'children':this['list']});}}const qt=Ht('px');class C extends _t{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x12bfcb){super(_0x12bfcb),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x4db71b,_0x1a2909)=>_0x4db71b+_0x1a2909),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=Dt(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection']();const _0x8b05ae=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x8b05ae['to']('isAnimationDisabled',_0x3cf58a=>_0x3cf58a?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x8b05ae['to']('top',_0x31479b=>qt(_0x31479b))}},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['updateHeight'](){const _0x52bb75=this['element']['clientHeight'];_0x52bb75&&(this['height']=_0x52bb75);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class z extends _0x47dc70{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}constructor(_0x549c5a){super(_0x549c5a),this['set']('_lastItem',void 0x0),this['view']=this['_createSidebarView'](),this['set']('container',null),this['_spaceBetweenItems']=0x19,this['_sidebarItemViewToAnnotation']=new Map(),this['_annotationToSidebarItemView']=new Map(),this['context']['config']['define']('sidebar.preventScrollOutOfView',!0x1),this['_annotations']=null,this['_activeAnnotation']=null,this['_recalculateBuffer']=[];}['init'](){const _0x2616ad=this['context']['config']['get']('sidebar.container');_0x2616ad&&this['setContainer'](_0x2616ad);}['setContainer'](_0x57a22c){if(!y(_0x57a22c))throw new _0x3e664f('sidebar-setcontainer-invalid-element');this['container']=_0x57a22c;}['_attachToContainer']({viewClass:_0x32ad20='',spaceBetweenItems:_0xa1e12c=0x19}={}){if(!y(this['container']))throw new _0x3e664f('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x32ad20,this['_spaceBetweenItems']=_0xa1e12c;}['rearrange']({removedAnnotation:_0x51c87e,previousAnnotation:_0x1a6550,nextAnnotation:_0x64053b}){const _0x413839=this['getSidebarItemView'](_0x51c87e);this['view']['list']['remove'](_0x413839),this['_destroySidebarItemView'](_0x51c87e),_0x1a6550&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x1a6550)),_0x64053b&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x64053b)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x5d04d5,activatedAnnotation:_0x1113c8,disableAnimationOnActivatedAnnotation:_0x1a78e7}){if(this['_activeAnnotation']=_0x1113c8,_0x5d04d5){_0x5d04d5['isActive']=!0x1;const _0x357a13=this['getSidebarItemView'](_0x5d04d5);_0x357a13&&_0x1a78e7&&(_0x357a13['isAnimationDisabled']=!0x1);}if(_0x1113c8){const _0x356a3a=this['getSidebarItemView'](_0x1113c8);_0x356a3a&&(_0x1113c8['isActive']=!0x0,_0x1a78e7&&(_0x356a3a['isAnimationDisabled']=!0x0,_0x356a3a['top']+=0x1),this['_alignToTargetRect'](_0x356a3a));}}['_detachFromContainer'](_0x111481){if(this['view']['element']['remove'](),_0x111481){for(const _0x48aaae of _0x111481)this['_destroySidebarItemView'](_0x48aaae);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x156746,_0x300d49){_0x300d49||(_0x300d49=_0x156746['view']);const _0x4ea52d=new C(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x4ea52d,_0x156746),this['_annotationToSidebarItemView']['set'](_0x156746,_0x4ea52d),_0x4ea52d['content']['add'](_0x300d49),this['listenTo'](_0x156746['view'],'change:targetRect',(_0x3ddc7e,_0x8573fe,_0x3f56cb)=>{const _0x596b01=this['_getTargetTop'](_0x156746,_0x3f56cb);_0x4ea52d['_targetTop']!=_0x596b01&&(_0x4ea52d['_targetTop']=_0x596b01,this['_setItemTop'](_0x4ea52d,_0x596b01));}),this['listenTo'](_0x4ea52d,'change:top',()=>{this['_recalculate'](_0x4ea52d,'top');}),this['listenTo'](_0x4ea52d,'change:bottom',()=>{this['_recalculate'](_0x4ea52d,'bottom');}),this['_alignToTargetRect'](_0x4ea52d);const _0x30dcae=this['_getItemBefore'](_0x4ea52d);if(_0x30dcae)this['_alignAfterItem'](_0x30dcae,_0x4ea52d)||this['_alignToTargetRect'](_0x4ea52d);else this['_alignToTargetRect'](_0x4ea52d);return this['_updateLastItem'](),this['view']['list']['add'](_0x4ea52d),_0x4ea52d;}['_alignForTopChange'](_0x170cdc){if(!_0x170cdc['content']['length'])return;const _0x52477f=this['_getItemBefore'](_0x170cdc);if(!_0x52477f)return;const _0x1052b4=this['_sidebarItemViewToAnnotation']['get'](_0x52477f),_0x5f4712=this['_activeAnnotation'];_0x5f4712&&_0x5f4712===_0x1052b4?this['_alignAfterItem'](_0x52477f,_0x170cdc):this['_alignBeforeItem'](_0x170cdc,_0x52477f);}['_alignForBottomChange'](_0x2561ed){if(!_0x2561ed['content']['length'])return;const _0x13263d=this['_getItemAfter'](_0x2561ed);if(!_0x13263d)return;const _0x1d6524=this['_sidebarItemViewToAnnotation']['get'](_0x13263d),_0x3925db=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x394e09=this['_activeAnnotation'];_0x394e09&&_0x394e09===_0x1d6524&&_0x3925db?(this['_alignBeforeItem'](_0x13263d,_0x2561ed),this['_alignAfterItem'](_0x2561ed,_0x13263d)):_0x394e09&&_0x394e09===_0x1d6524?this['_alignBeforeItem'](_0x13263d,_0x2561ed):this['_alignAfterItem'](_0x2561ed,_0x13263d);}['_recalculate'](_0x5683de,_0x1b15f2){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x26d899,changedProp:_0x2812f4}of this['_recalculateBuffer'])'top'===_0x2812f4?this['_alignForTopChange'](_0x26d899):this['_alignForBottomChange'](_0x26d899);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x5683de,'changedProp':_0x1b15f2});}['getSidebarItemView'](_0xea7828){return this['_annotationToSidebarItemView']['get'](_0xea7828);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x5a67e2){const _0x8748fd=this['getSidebarItemView'](_0x5a67e2);this['stopListening'](_0x8748fd),this['stopListening'](_0x5a67e2['view']),_0x8748fd['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x5a67e2),this['_sidebarItemViewToAnnotation']['delete'](_0x8748fd);}['_createSidebarView'](){const _0x3d7ac2=new T(this['context']['locale']);return _0x3d7ac2['render'](),this['on']('change:_lastItem',(_0x2ed043,_0xee3805,_0x45270f,_0x5e8e5f)=>{_0x5e8e5f&&_0x3d7ac2['unbind']('minHeight'),_0x45270f?_0x3d7ac2['bind']('minHeight')['to'](_0x45270f,'bottom'):_0x3d7ac2['minHeight']=null;}),_0x3d7ac2;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x1fa47f){const _0x166eb5=this['_sidebarItemViewToAnnotation']['get'](_0x1fa47f),_0x4791a5=_0x166eb5&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x166eb5)-0x1);return _0x4791a5&&this['getSidebarItemView'](_0x4791a5)||null;}['_getItemAfter'](_0x2a1482){const _0x8585e1=this['_sidebarItemViewToAnnotation']['get'](_0x2a1482),_0x16aa37=_0x8585e1&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x8585e1)+0x1);return _0x16aa37&&this['getSidebarItemView'](_0x16aa37)||null;}['_alignBeforeItem'](_0x249e16,_0x409d81){_0x249e16['updateHeight']();const _0x313f1b=M(_0x409d81['bottom']+this['_spaceBetweenItems'],_0x249e16['top']);return!!_0x313f1b&&(this['_setItemTop'](_0x409d81,_0x409d81['top']-_0x313f1b),!0x0);}['_alignAfterItem'](_0x2079b8,_0x2ca12c){_0x2079b8['updateHeight']();const _0xff2c19=M(_0x2079b8['bottom']+this['_spaceBetweenItems'],_0x2ca12c['top']);return!!_0xff2c19&&(this['_setItemTop'](_0x2ca12c,_0x2ca12c['top']+_0xff2c19,!0x1),!0x0);}['_alignToTargetRect'](_0x1ca7c){const _0x33ee2b=this['_sidebarItemViewToAnnotation']['get'](_0x1ca7c);if(!_0x33ee2b||!_0x33ee2b['target']||!_0x33ee2b['targetRect'])return;const _0x2bbf41=this['_getTargetTop'](_0x33ee2b,_0x33ee2b['targetRect']);this['_setItemTop'](_0x1ca7c,_0x2bbf41);}['_getTargetTop'](_0x2aa132,_0x8e1fc4){if(null===_0x8e1fc4)return 0x0;if(_0x2aa132['target']instanceof _0x4bfc1a)return _0x8e1fc4['top'];{const _0x2eac06=new _0x4bfc1a(this['view']['element'])['top'];return _0x8e1fc4['top']-_0x2eac06;}}['_setItemTop'](_0x5c7deb,_0x36f5d0,_0x41d759=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x41d759&&(_0x36f5d0=Math['max'](_0x36f5d0,this['_getMaxAvailableTop'](_0x5c7deb))),_0x5c7deb['top']=_0x36f5d0;}['_getMaxAvailableTop'](_0x1033e2){let _0x538b4d=this['_getItemBefore'](_0x1033e2),_0x440b1=0x0;for(;_0x538b4d;)_0x538b4d['updateHeight'](),_0x440b1+=this['_spaceBetweenItems']+_0x538b4d['height'],_0x538b4d=this['_getItemBefore'](_0x538b4d);return _0x440b1;}}function M(_0x2402ea,_0x57be1a){return Math['max'](_0x2402ea-_0x57be1a,0x0);}function y(_0x3d9f4e){return null!==_0x3d9f4e&&'object'==typeof _0x3d9f4e&&0x1===_0x3d9f4e['nodeType'];}class n extends _0x47dc70{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[z,j];}static get['pluginName'](){return'WideSidebar';}constructor(_0x47ac9a){super(_0x47ac9a),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x512477(),this['_refreshPositioningDebounced']=_0x40dd0e(()=>{this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x49e636=this['context']['plugins']['get'](j),_0x167867=this['context']['plugins']['get'](z);_0x49e636['register']('wideSidebar',this),_0x167867['container']&&_0x49e636['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x279b63){if(_0x279b63===this['activeAnnotation'])return;const _0x27f819=this['context']['plugins']['get'](z);_0x27f819['_activeAnnotation']=_0x279b63;const _0x2fed7d=this['activeAnnotation'];this['activeAnnotation']=_0x279b63,_0x27f819['refresh']({'blurredAnnotation':_0x2fed7d,'activatedAnnotation':this['activeAnnotation']});}['attach'](_0x5a4d30){this['annotations']=_0x5a4d30;const _0x1a8c05=this['context']['plugins']['get'](z);if(_0x1a8c05['_annotations']=_0x5a4d30,this['isAttached'])throw new _0x3e664f('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x1a8c05,'set:container',()=>{this['detach'](),this['listenTo'](_0x1a8c05,'change:container',_0x236e71=>{_0x236e71['off'](),this['attach'](_0x5a4d30);});}),_0x1a8c05['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x51285c=_0x47d5c7=>{_0x47d5c7['updateTargetRect'](),_0x1a8c05['addAnnotation'](_0x47d5c7);};for(const _0x4673a4 of _0x5a4d30)_0x51285c(_0x4673a4);this['listenTo'](_0x5a4d30,'add',(_0x164842,_0x3ea9f5)=>{_0x51285c(_0x3ea9f5);}),this['listenTo'](_0x5a4d30,'remove',(_0x233f15,_0x1dc65d,_0x35e846)=>{_0x1a8c05['rearrange']({'removedAnnotation':_0x1dc65d,'previousAnnotation':_0x5a4d30['get'](_0x35e846-0x1),'nextAnnotation':_0x5a4d30['get'](_0x35e846+0x1)}),_0x1dc65d===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x5a4d30,'focus',(_0x5d85ca,_0x193fca)=>{this['setActiveAnnotation'](_0x193fca);}),this['listenTo'](_0x5a4d30,'blur',()=>{this['setActiveAnnotation'](null);});const _0x11b122=this['context']instanceof _0x2de8fd?this['context']['editors']:new _0x512477([this['context']]);for(const _0x25eb72 of _0x11b122)this['_integrateWithEditorAnnotations'](_0x25eb72);this['listenTo'](_0x11b122,'add',(_0x4801ce,_0x10e94a)=>{this['listenTo'](_0x10e94a,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x10e94a);});}),this['listenTo'](_0x11b122,'remove',(_0x3b2506,_0x5bf764)=>{_0x5bf764['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x5bf764['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x3e664f('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x32e6d1=this['context']['plugins']['get'](z);_0x32e6d1['_detachFromContainer'](this['annotations']),this['stopListening'](_0x32e6d1),this['stopListening'](this['annotations']),this['context']instanceof _0x2de8fd&&this['stopListening'](this['context']['editors']);for(const _0x1dbe2a of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x1dbe2a);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x182779){if(!_0x182779['plugins']['has']('EditorAnnotations'))return;const _0x528c2a=_0x182779['plugins']['get']('EditorAnnotations'),_0x2dd776=()=>{const _0x2abf4f=_0x528c2a['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x2abf4f[0x0]||null);};this['listenTo'](_0x528c2a,'refresh',_0x2dd776),this['listenTo'](_0x528c2a,'blur',(_0x22f44b,{isAnnotationTracked:_0x11cdce})=>{this['activeAnnotation']&&_0x11cdce(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x528c2a,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x586bdf=>{_0x528c2a['hasDomSelection']()&&(_0x2dd776(),_0x586bdf['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x528c2a);}['_destroyEditorAnnotationsIntegration'](_0x337562){this['stopListening'](_0x337562),this['_editorAnnotations']['remove'](_0x337562);}}class D extends _0x25180e{['counterView'];constructor(_0x53333d){super(_0x53333d);const _0x2d946c=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x1343db,_0x442758)=>_0x1343db?'...':_0x442758['toString']()),this['set']('annotationType',''),this['icon']=kt,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _t(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x2d946c['to']('annotationType',_0x2c915c=>'ck-annotation-counter__badge--'+_0x2c915c),_0x2d946c['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x2d946c['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class i extends _0x47dc70{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[z,j];}static get['pluginName'](){return'NarrowSidebar';}constructor(_0x1d1984){super(_0x1d1984),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=Object['create'](_0x556811),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x512477(),this['_refreshPositioningDebounced']=_0x40dd0e(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](j)['register']('narrowSidebar',this),this['bodyCollection']=new _0xe05088(this['context']['locale']),this['balloonPanelView']=new _0x433701(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x2bdcb4){this['annotations']=_0x2bdcb4;const _0x1ec77c=this['context']['plugins']['get'](z),_0x35ce17=this['balloonPanelView'];if(_0x1ec77c['_annotations']=_0x2bdcb4,this['isAttached'])throw new _0x3e664f('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x1ec77c,'set:container',()=>{this['detach'](),this['listenTo'](_0x1ec77c,'change:container',_0xb4747=>{_0xb4747['off'](),this['attach'](_0x2bdcb4);});}),_0x1ec77c['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x375aee=_0x20638d=>{const _0x497806=new D(this['context']['locale']);_0x1ec77c['addAnnotation'](_0x20638d,_0x497806),this['_annotationToNarrowView']['set'](_0x20638d,_0x497806),_0x497806['bind']('isDirty','annotationType','number')['to'](_0x20638d['view'],'isDirty','type','length'),_0x497806['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x35ce17['content']['first']!==_0x20638d['view']?(this['_showBalloon'](_0x20638d),_0x20638d['view']['element']['focus'](),this['setActiveAnnotation'](_0x20638d)):this['setActiveAnnotation'](null);});};for(const _0x1e376d of _0x2bdcb4)_0x375aee(_0x1e376d);this['listenTo'](_0x2bdcb4,'add',(_0x128450,_0x32795c)=>{_0x375aee(_0x32795c);}),this['listenTo'](_0x2bdcb4,'remove',(_0x1c5e1e,_0x3d5765,_0xd31687)=>{this['_annotationToNarrowView']['get'](_0x3d5765)['destroy'](),this['_annotationToNarrowView']['delete'](_0x3d5765),_0x1ec77c['rearrange']({'removedAnnotation':_0x3d5765,'previousAnnotation':_0x2bdcb4['get'](_0xd31687-0x1),'nextAnnotation':_0x2bdcb4['get'](_0xd31687+0x1)}),_0x3d5765===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x2bdcb4,'focus',(_0xfccc3c,_0x4d51c0)=>{this['setActiveAnnotation'](_0x4d51c0);}),this['listenTo'](_0x2bdcb4,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x5782cc,_0x332b00)=>{_0x332b00['keyCode']===_0x1bc0d1['esc']&&_0x35ce17['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x35ce17['content']['first']),this['_hideBalloon'](),_0x332b00['stopPropagation'](),_0x332b00['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x528520,_0x3685fd)=>{const _0x150c64=_0x3685fd['target'];_0x35ce17['isVisible']&&_0x35ce17['element']['contains'](_0x150c64)||_0x1ec77c['view']['element']['contains'](_0x150c64)||_0x528520['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x32c62d=>_0x32c62d['contains'](_0x150c64))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x349dfd=this['context']instanceof _0x2de8fd?this['context']['editors']:new _0x512477([this['context']]);for(const _0x25139f of _0x349dfd)this['_integrateWithEditorAnnotations'](_0x25139f);this['listenTo'](_0x349dfd,'add',(_0x26f2be,_0x17f393)=>{this['listenTo'](_0x17f393,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x17f393);});}),this['listenTo'](_0x349dfd,'remove',(_0x28d4b8,_0x3c30b1)=>{_0x3c30b1['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x3c30b1['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x3a85ed){if(_0x3a85ed===this['activeAnnotation'])return;const _0x36455e=this['context']['plugins']['get'](z);if(_0x36455e['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x3a85ed,'disableAnimationOnActivatedAnnotation':!0x0}),_0x3a85ed)_0x36455e['getSidebarItemView'](_0x3a85ed)?this['_showBalloon'](_0x3a85ed):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x3a85ed;}['detach'](){if(!this['isAttached'])throw new _0x3e664f('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x2bb2ab=this['context']['plugins']['get'](z);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0xc01416=>_0xc01416['destroy']()),this['_annotationToNarrowView']['clear'](),_0x2bb2ab['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x2de8fd&&this['stopListening'](this['context']['editors']);for(const _0x332b30 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x332b30);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['_selectedAnnotations']=[],this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['bodyCollection']['detachFromDom']();}['_integrateWithEditorAnnotations'](_0x47adbc){if(!_0x47adbc['plugins']['has']('EditorAnnotations'))return;const _0x46c642=_0x47adbc['plugins']['get']('EditorAnnotations'),_0x5e8fd1=this['context']['plugins']['get'](z),_0x3195a9=this['annotations'],_0x3fc12c=this['balloonPanelView'],_0x149d76=()=>{const _0x1ccfae=_0x46c642['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x1ccfae),this['setActiveAnnotation'](_0x1ccfae[0x0]||null);};this['listenTo'](_0x46c642,'refresh',_0x149d76),this['listenTo'](_0x46c642,'blur',(_0x395eea,{isAnnotationTracked:_0x51f040})=>{this['activeAnnotation']&&_0x51f040(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x46c642,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x3195a9,'blur',_0x9c7191=>{_0x46c642['hasDomSelection']()&&_0x9c7191['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x55c484,_0x3b779c)=>{const _0xc7c0cb=_0x3b779c['target'];_0x3fc12c['isVisible']&&_0x3fc12c['element']['contains'](_0xc7c0cb)||_0x5e8fd1['view']['element']['contains'](_0xc7c0cb)||this['activeAnnotation']&&_0x46c642['hasDomSelection']()&&(_0x149d76(),_0x55c484['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x46c642);}['_destroyEditorAnnotationsIntegration'](_0x181121){_0x181121&&(this['stopListening'](_0x181121),this['_editorAnnotations']['remove'](_0x181121));}['_setSelectedAnnotations'](_0x2ffc75){for(const _0x26b37c of this['_selectedAnnotations'])_0x2ffc75['includes'](_0x26b37c)||this['_manuallyClosedAnnotationViews']['delete'](_0x26b37c['view']);this['_selectedAnnotations']=_0x2ffc75;}['_refreshPositioning'](){const _0x4afcc7=this['balloonPanelView'];this['annotations']['refreshPositioning'](),_0x4afcc7['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x57725a){if(this['_manuallyClosedAnnotationViews']['has'](_0x57725a['view']))return;const _0x11aca3=this['balloonPanelView']['content']['first'];_0x11aca3!==_0x57725a['view']?(_0x11aca3&&this['_detachListeners'](_0x11aca3),this['_attachListeners'](_0x57725a['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x57725a['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x4ed881=this['balloonPanelView']['content']['first'],_0x1dff5e=_0x4ed881&&this['annotations']['getByView'](_0x4ed881);if(!_0x1dff5e||!this['_annotationToNarrowView']['has'](_0x1dff5e))return;const _0x2fb2d1=this['_annotationToNarrowView']['get'](_0x1dff5e)['element'],_0x5a7c6a=(function(){const _0x65570f=_0x433701['defaultPositions'];return[_0x65570f['southArrowNorthEast'],_0x65570f['northArrowSouthEast'],_0x65570f['southArrowNorth'],_0x65570f['northArrowSouth'],_0x65570f['southArrowNorthWest'],_0x65570f['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x2fb2d1,'positions':_0x5a7c6a});}['_hideBalloon'](){const _0x31a08e=this['balloonPanelView'],_0x1d6377=_0x31a08e['content']['first'];_0x1d6377&&(this['_detachListeners'](_0x1d6377),_0x31a08e['unpin'](),_0x31a08e['content']['clear']());}['_attachListeners'](_0x5c4cfd){this['listenTo'](_0x5c4cfd,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x5c4cfd,'Esc',(_0x577d8e,_0x2ecb56)=>{this['_manuallyClosedAnnotationViews']['add'](_0x5c4cfd),this['_hideBalloon'](),_0x2ecb56();});}['_detachListeners'](_0x237a36){this['stopListening'](_0x237a36);}}class c extends _0x11abd4{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];static get['requires'](){return[k,_0x11f7ef,j];}static get['pluginName'](){return'InlineAnnotations';}constructor(_0x203a42){super(_0x203a42),_0x203a42['editing']['view']['addObserver'](_0x60319e),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x203a42['plugins']['get'](_0x11f7ef),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1;}['init'](){const _0x4699ef=this['editor']['plugins']['get'](j);_0x4699ef['context']===this['editor']&&(_0x4699ef['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x9777e6,_0x1f1295)=>{const _0x3e65f2=this['_balloon'];if(this['isAttached']&&_0x3e65f2['visibleView']){const _0x1e8050=this['annotations']['getByView'](_0x3e65f2['visibleView']);_0x1e8050&&this['_closeAnnotation'](_0x1e8050),_0x1f1295();}}));}['afterInit'](){const _0x5b4e8d=this['editor']['plugins']['get'](j);_0x5b4e8d['context']===this['editor']&&(_0x5b4e8d['hasActive']()||_0x5b4e8d['switchTo']('inline'));}['setActiveAnnotation'](_0x2c8971){_0x2c8971!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x2c8971&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x2c8971)&&this['_addAnnotationToBalloon'](_0x2c8971,!0x0),_0x2c8971['isActive']=!0x0),_0x2c8971||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x2c8971);}['attach'](_0x24337e){this['annotations']=_0x24337e;const _0x456540=this['editor']['plugins']['get'](j),_0x14232d=this['_balloon'];if(this['isAttached'])throw new _0x3e664f('inlineannotations-attach-already-attached',this);if(_0x456540['context']!==this['editor'])throw new _0x3e664f('inlineannotations-not-allowed-with-context',this);const _0x52e1c0=this['editor']['plugins']['get'](k);this['listenTo'](_0x52e1c0,'refresh',()=>{const _0x31be6f=_0x52e1c0['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0xb24cb9,_0x4bd178;!this['_forceRefresh']&&(_0xb24cb9=_0x31be6f,_0x4bd178=this['_selectedAnnotations'],_0xb24cb9['length']===_0x4bd178['length']&&_0xb24cb9['every'](_0x5db68b=>_0x4bd178['includes'](_0x5db68b)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x31be6f),this['setActiveAnnotation'](_0x31be6f[0x0]||null));}),this['listenTo'](_0x52e1c0,'blur',(_0xa52792,{isAnnotationTracked:_0x43a5be})=>{this['activeAnnotation']&&_0x43a5be(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x3b88bd,_0x5322a2,_0x39e67f)=>{_0x39e67f||this['setActiveAnnotation'](null);}),this['listenTo'](_0x24337e,'remove',(_0x2e0339,_0x20db9c)=>{this['_removeAnnotationFromBalloon'](_0x20db9c),_0x20db9c===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x14232d,'change:visibleView',(_0x9cb77,_0x1636b0,_0x4e3e9a,_0x2b2d85)=>{_0x2b2d85&&this['stopListening'](_0x2b2d85);const _0x8fff71=_0x24337e['getByView'](_0x4e3e9a);_0x4e3e9a&&_0x8fff71&&(this['listenTo'](_0x4e3e9a,'change:height',()=>{_0x14232d['updatePosition']();}),this['listenTo'](_0x4e3e9a,'Esc',()=>{this['_closeAnnotation'](_0x8fff71),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x8fff71&&this['setActiveAnnotation'](_0x8fff71));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x14232d['visibleView']&&(_0x24337e['getByView'](_0x14232d['visibleView'])&&_0x14232d['updatePosition']());}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',()=>{this['_forceRefresh']=!0x0,this['_manuallyClosed']['clear']();}),this['editor']['editing']['view']['document']['selection']['editableElement']&&this['editor']['editing']['view']['focus'](),this['isAttached']=!0x0;}['detach'](){if(!this['isAttached'])throw new _0x3e664f('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x4b974a of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x4b974a);this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_setSelectedAnnotations'](_0x16aef4){for(const _0x13a645 of this['_selectedAnnotations'])_0x16aef4['includes'](_0x13a645)||this['_manuallyClosed']['delete'](_0x13a645);for(const _0xce964f of this['annotations'])_0x16aef4['includes'](_0xce964f)||this['_removeAnnotationFromBalloon'](_0xce964f);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x4991a8 of _0x16aef4)this['_addAnnotationToBalloon'](_0x4991a8);}this['_selectedAnnotations']=_0x16aef4;}['_addAnnotationToBalloon'](_0x227c4c,_0x313acd=!0x1){this['_manuallyClosed']['has'](_0x227c4c)||(this['_addedAnnotations']['has'](_0x227c4c)||this['_balloon']['hasView'](_0x227c4c['view'])||(this['_addedAnnotations']['add'](_0x227c4c),this['_balloon']['add']({'stackId':_0x227c4c['view']['id'],'view':_0x227c4c['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x227c4c)}})),_0x313acd&&this['_balloon']['showStack'](_0x227c4c['view']['id']));}['_getBalloonTargetForAnnotation'](_0x2c42cf){const _0x570a42=_0x2c42cf['target'],_0x31bd20=this['editor']['editing']['view'],_0x270b6f=_0x31bd20['document']['selection']['getFirstRange'](),_0x3218b5=_0x31bd20['domConverter']['viewRangeToDom'](_0x270b6f);if(_0x3218b5['collapse'](!0x0),_0x570a42){if(_0x570a42 instanceof _0x4bfc1a)return _0x570a42;let _0x120cb2=[];for(const _0x4d109e of _0x570a42)_0x120cb2['push'](...(_0x17d65c=_0x4d109e['getClientRects'](),Array['from'](_0x17d65c)['map'](DOMRect['fromRect'])));_0x120cb2=function(_0x200e44){const _0x1f170=[];let _0x410d12=_0x200e44[0x0];for(let _0xd760cf=0x1;_0xd760cf<_0x200e44['length'];_0xd760cf++)F(_0x410d12,_0x200e44[_0xd760cf])?_0x410d12['width']+=_0x200e44[_0xd760cf]['width']:(_0x1f170['push'](_0x410d12),_0x410d12=_0x200e44[_0xd760cf]);return _0x1f170['push'](_0x410d12),_0x1f170;}(_0x120cb2);const _0x3bd125=_0x3218b5['getBoundingClientRect']();return _0x120cb2['find'](_0x5a1439=>_0x5a1439['top']<=_0x3bd125['top']&&_0x5a1439['bottom']>=_0x3bd125['bottom']&&_0x5a1439['left']<=_0x3bd125['left']&&_0x5a1439['right']>=_0x3bd125['right'])||_0x120cb2[0x0];}var _0x17d65c;return _0x2c42cf['targetRect']||_0x3218b5;}['_removeAnnotationFromBalloon'](_0x2ece2d){this['_addedAnnotations']['has'](_0x2ece2d)&&this['_balloon']['hasView'](_0x2ece2d['view'])&&(this['_addedAnnotations']['delete'](_0x2ece2d),this['_balloon']['remove'](_0x2ece2d['view']));}['_closeAnnotation'](_0x1c567a){this['_manuallyClosed']['add'](_0x1c567a),this['_removeAnnotationFromBalloon'](_0x1c567a);}}function F(_0x12644f,_0x2f2a5c){return _0x12644f['top']===_0x2f2a5c['top']&&_0x12644f['bottom']===_0x2f2a5c['bottom']&&_0x12644f['right']===_0x2f2a5c['left'];}var Q='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M14\x203.5A3.5\x203.5\x200\x200\x201\x2017.5\x207v6l-.005.192a3.501\x203.501\x200\x200\x201-2.927\x203.262l-.062.008v1.813a1.5\x201.5\x200\x200\x201-2.193\x201.33l-.37-.193-.38-.212a13.452\x2013.452\x200\x200\x201-3.272-2.63l-.062-.07-4.729-.046a3.5\x203.5\x200\x200\x201-3.5-3.5v-6a3.5\x203.5\x200\x200\x201\x203.5-3.5L14\x203.5ZM3.5\x204.954a2\x202\x200\x200\x200-2\x202v6a2\x202\x200\x200\x200\x202\x202L8.924\x2015a11.917\x2011.917\x200\x200\x200\x203.71\x203.081l.372.194v-3.268L12.962\x2015H14a2\x202\x200\x200\x200\x202-2V7a2\x202\x200\x200\x200-2-2L3.5\x204.954Z\x22/><path\x20d=\x22M16.5.5h-10a3.5\x203.5\x200\x200\x200-3.162\x202h1.84A2\x202\x200\x200\x201\x206.5\x202h10a2\x202\x200\x200\x201\x202\x202v8.873a3.502\x203.502\x200\x200\x200\x201.495-2.681L20\x2010V4A3.5\x203.5\x200\x200\x200\x2016.5.5Z\x22/><path\x20clip-rule=\x22evenodd\x22\x20d=\x22M12.013\x207.453a.75.75\x200\x200\x201\x20.034\x201.06l-3.75\x204a.75.75\x200\x200\x201-1.045.048l-2.25-2a.75.75\x200\x200\x201\x20.996-1.122l1.704\x201.515\x203.25-3.467a.75.75\x200\x200\x201\x201.061-.034Z\x22/></svg>\x0a';class X extends _t{['_focusTracker'];['_keystrokes'];['_focusables'];['_focusCycler'];constructor(_0xc49d49,_0x19396b){super(_0xc49d49),this['set']('isEmpty',!_0x19396b['length']),this['_focusTracker']=new _0x3b4d58(),this['_keystrokes']=new Et(),this['_focusables']=_0x19396b,this['_focusCycler']=new _0x4f0cce({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['listenTo'](_0x19396b,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x19396b,'remove',(_0x5dc3e7,_0x10d956)=>{_0x10d956['isActive']&&this['focus'](),_0x19396b['length']||(this['isEmpty']=!0x0);});const _0x180b5b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':'div','children':_0x19396b},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x180b5b['if']('isEmpty','ck-hidden',_0x22cb6c=>!_0x22cb6c)]},'children':[{'text':W(_0xc49d49,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_keystrokes']['listenTo'](this['element']);const _0x308f6a=_0x337587=>_0x337587['stopPropagation']();this['_keystrokes']['set']('arrowright',_0x308f6a),this['_keystrokes']['set']('arrowleft',_0x308f6a),this['_keystrokes']['set']('arrowup',_0x308f6a),this['_keystrokes']['set']('arrowdown',_0x308f6a),this['listenTo'](this['element'],'selectstart',(_0xcf55ce,_0x66b8c6)=>{_0x66b8c6['stopPropagation']();},{'priority':'high'});}['destroy'](){super['destroy'](),this['_focusTracker']['destroy'](),this['_keystrokes']['destroy']();}['focus'](){this['element']['focus']();}}class p extends _0x47dc70{static get['pluginName'](){return'CommentsArchive';}static get['requires'](){return[m,b];}constructor(_0x1fd55c){super(_0x1fd55c),this['archivedThreads']=new _0x512477();}['init'](){const _0x27295a=this['context'],_0x392770=_0x27295a['plugins']['get'](m),_0x371dab=_0x27295a['plugins']['get'](b);this['listenTo'](_0x392770,'addCommentThread',(_0x5f1aa4,{threadId:_0x29d075})=>{const _0xf2b916=_0x392770['getCommentThread'](_0x29d075);_0xf2b916['archivedAt']&&this['archivedThreads']['add'](_0xf2b916,this['_calculatePosition'](_0xf2b916['archivedAt'])),this['listenTo'](_0xf2b916,'change:archivedAt',(_0x35ccde,_0x4bdb9e,_0x2fd780)=>{_0x2fd780?this['archivedThreads']['has'](_0xf2b916)||this['archivedThreads']['add'](_0xf2b916,this['_calculatePosition'](_0xf2b916['archivedAt'])):this['archivedThreads']['has'](_0xf2b916)&&this['archivedThreads']['remove'](_0xf2b916);});}),this['listenTo'](_0x392770,'removeCommentThread',(_0x100b86,{threadId:_0x8d8098})=>{const _0x3b902d=_0x392770['getCommentThread'](_0x8d8098);this['stopListening'](_0x3b902d),this['archivedThreads']['has'](_0x3b902d)&&this['archivedThreads']['remove'](_0x3b902d);},{'priority':'highest'}),this['listenTo'](_0x371dab['collection'],'focus',(_0x255e92,_0x3ca585)=>{_0x3ca585['isActive']=!0x0,_0x371dab['activate'](_0x3ca585);});}['_calculatePosition'](_0x13bb28){const _0x45dd19=[...this['archivedThreads']]['findIndex'](_0x443aba=>_0x443aba['archivedAt']<_0x13bb28);return _0x45dd19>-0x1?_0x45dd19:this['archivedThreads']['length'];}}class a extends _0x11abd4{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['requires'](){return[p,_0xf6b8c6];}constructor(_0x2e71b1){super(_0x2e71b1),this['annotationViews']=new _0x17515f(),this['_pendingThreads']=[];}['init'](){this['editor']['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x25180e,!0x0)),this['editor']['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>this['_createCommentsArchiveButton'](_0x395480));const _0x2ed6ec=this['editor']['plugins']['get'](p),_0x4b971f=this['editor']['plugins']['get']('Annotations'),_0x56f263=this['editor']['plugins']['get']('CommentsRepository');this['listenTo'](_0x2ed6ec['archivedThreads'],'add',(_0x224e13,_0x282b09)=>{const _0x24785e=this['editor']['config']['get']('collaboration.channelId');if(!_0x24785e||_0x282b09['channelId']===_0x24785e){const _0x3ada32=_0x56f263['_threadToController']['get'](_0x282b09);if(!_0x3ada32)return void this['_pendingThreads']['push'](_0x282b09);const _0x180146=this['_calculatePosition'](_0x282b09['archivedAt']),_0x40576b=_0x4b971f['getByInnerView'](_0x3ada32['view']);_0x40576b['isVisible']&&_0x4b971f['_visibleAnnotations']['remove'](_0x40576b),this['annotationViews']['add'](_0x40576b['view'],_0x180146);}}),this['listenTo'](_0x4b971f['collection'],'add',(_0x425473,_0x5f49f3)=>{const _0x245183=this['_pendingThreads']['find'](_0x3ee4de=>{const _0x337e65=_0x56f263['_threadToController']['get'](_0x3ee4de);return _0x337e65&&_0x5f49f3['innerView']===_0x337e65['view'];});if(_0x245183){const _0x2b341e=this['_calculatePosition'](_0x245183['archivedAt']);this['annotationViews']['add'](_0x5f49f3['view'],_0x2b341e),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x245183),0x1);}}),this['listenTo'](_0x2ed6ec['archivedThreads'],'remove',(_0x10713d,_0x4cdbed)=>{const _0x35c8ec=this['editor']['config']['get']('collaboration.channelId');if(!_0x35c8ec||_0x4cdbed['channelId']===_0x35c8ec){const _0x2a8e17=_0x56f263['_threadToController']['get'](_0x4cdbed),_0x4d09ce=_0x4b971f['getByInnerView'](_0x2a8e17['view']);this['annotationViews']['remove'](_0x4d09ce['view']),this['stopListening'](_0x4d09ce['focusableElements']);}});}['_calculatePosition'](_0xb1a15d){const _0x5ee75f=this['editor']['config']['get']('collaboration.channelId'),_0x4ad7da=[...this['editor']['plugins']['get'](p)['archivedThreads']]['filter'](_0x1d2c8c=>_0x1d2c8c['channelId']===_0x5ee75f)['findIndex'](_0x10bcd5=>_0x10bcd5['archivedAt']<_0xb1a15d);return _0x4ad7da<0x0||_0x4ad7da>this['annotationViews']['length']?this['annotationViews']['length']:_0x4ad7da-0x1;}['_toggleDialog'](){const _0x320628=this['editor'],_0x56de3f=_0x320628['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new X(_0x320628['locale'],this['annotationViews'])),'commentsArchive'===_0x56de3f['id']?_0x56de3f['hide']():_0x56de3f['show']({'id':'commentsArchive','title':W(_0x320628['locale'],'COMMENTS_ARCHIVE'),'icon':Q,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x4cf262['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x5381e2,_0x59378b=!0x1){const _0x4da574=this['editor']['locale'],_0xfb1ec9=new _0x5381e2(_0x4da574);return _0xfb1ec9['bind']('isEnabled')['to'](this,'isEnabled'),_0xfb1ec9['set']({'label':W(_0x4da574,'COMMENTS_ARCHIVE'),'icon':Q}),_0x59378b&&(_0xfb1ec9['tooltip']=!0x0),this['listenTo'](_0xfb1ec9,'execute',()=>this['_toggleDialog']()),_0xfb1ec9;}}class f extends _0x11abd4{static get['requires'](){return[m,r,s,p,a,e,n,i,c];}static get['pluginName'](){return'Comments';}}export{V as AnnotationView,b as Annotations,j as AnnotationsUIs,ti as BaseCommentThreadView,oi as BaseCommentView,se as Comment,ie as CommentThread,wt as CommentThreadController,Tt as CommentThreadInputView,At as CommentView,f as Comments,xt as CommentsListView,e as CommentsOnly,m as CommentsRepository,s as CommentsUI,k as EditorAnnotations,c as InlineAnnotations,i as NarrowSidebar,n as WideSidebar};