@ckeditor/ckeditor5-comments 0.0.0-nightly-20240512.0 → 0.0.0-nightly-20240514.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/annotations/annotation.d.ts +1 -1
- package/dist/types/comments/commentsrepository.d.ts +2 -2
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/dist/types/comments/ui/view/commentthreadview.d.ts +1 -1
- package/dist/types/comments/ui/view/commentview.d.ts +1 -1
- package/package.json +3 -3
- package/src/annotations/annotation.d.ts +1 -1
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +2 -2
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.d.ts +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Editor as mt,icons as _0x46636f,ContextPlugin as _0x2b451d,PendingActions as ht,Context as _0x4c77fe,Command as _0x2a43d2,Plugin as _0x4a1d1b}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x18f31f,uid as _0x14249b,KeystrokeHandler as Et,FocusTracker as _0x1819de,diff as _0x2da633,Collection as _0x57f160,Rect as _0x4e5583,CKEditorError as _0x30344e,priorities as Wt,scrollViewportToShowTarget as _0x2da865,toUnit as Ht,DomEmitterMixin as _0x4a95da,keyCodes as _0x12eb20}from'@ckeditor/ckeditor5-utils/dist/index.js';import{UserView as _0x2a508f,ConfirmMixin as _0x1c2223,trimHtml as _0xe793f8,Users as lt,getDateTimeFormatter as dt,hashObject as ct,getAllMarkersDomElementsSorted as tt,surroundingMarkersDetector as _0x5079a1}from'ckeditor5-collaboration/dist/index.js';import{throttle as bt,isEqual as ft,cloneDeep as ut,set as pt,unset as It,debounce as _0x307530}from'lodash-es';import{EditorUIView as Xt,InlineEditableUIView as $t,LabelView as Yt,EditorUI as Ut,View as _t,ButtonView as _0x406c81,ViewCollection as _0xe76a5a,FocusCycler as _0x366c36,createDropdown as _0x54a414,ListView as _0x2a59e7,ListItemView as _0x209baa,MenuBarMenuListItemButtonView as _0x12203b,BodyCollection as _0x20b91b,BalloonPanelView as _0x2cff6f,ContextualBalloon as _0x3f4914,Dialog as _0x4143e5,DialogViewPosition as _0x5b05fa}from'@ckeditor/ckeditor5-ui/dist/index.js';import{disablePlaceholder as zt,enablePlaceholder as Ft,MouseObserver as _0x1e485c}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 _0x18f31f(){['model'];['view'];constructor(_0x51801d,_0x4a5db5){super(),this['model']=_0x51801d,this['model']['_isAttached']=!0x0,this['view']=_0x4a5db5,this['listenTo'](_0x4a5db5,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x4a5db5,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x4a5db5,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x4a5db5,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x4a5db5,'addComment',(_0x297fb3,_0xa68328)=>this['addComment'](_0xa68328)),this['listenTo'](_0x4a5db5,'updateComment',(_0x2f06c0,_0x5c1627,_0x3f8822)=>this['updateComment'](_0x5c1627,_0x3f8822)),this['listenTo'](_0x4a5db5,'removeComment',(_0xe2f2c,_0x4a3955)=>this['removeComment'](_0x4a3955));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x210221){this['model']['addComment']({'content':_0x210221,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x4c8af7,_0x514109){this['model']['getComment'](_0x4c8af7)['update']({'content':_0x514109});}['removeComment'](_0x1847d2){this['model']['getComment'](_0x1847d2)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function W(_0x46d33c,_0x1cacac,_0x298621){const t=_0x46d33c['t'];switch(_0x1cacac){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'},_0x298621);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'},_0x298621);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'},_0x298621);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'},_0x298621);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(_0x2689ca,_0x21d9e1){super(_0x2689ca);const _0x12bb80=_0x14249b();this['main']=this['createCollection'](),this['editable']=new $t(_0x2689ca,_0x21d9e1),this['_voiceLabelView']=this['_createVoiceLabel'](_0x12bb80,_0x2689ca),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'role':'comment','dir':_0x2689ca['uiLanguageDirection'],'lang':_0x2689ca['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x12bb80},'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'](_0x398313,_0xeb6ae4){const _0x551083=new Yt();return _0x551083['text']=W(_0xeb6ae4,'Comment\x20editor'),_0x551083['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x398313,'class':'ck-voice-label'}}),_0x551083;}}class Ot extends Ut{['view'];constructor(_0x3019ad){super(_0x3019ad),this['view']=new Vt(_0x3019ad['locale'],_0x3019ad['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x340fa2=this['editor']['editing']['view'],_0xe65bc2=this['view']['editable'],_0x5074bb=_0x340fa2['document']['getRoot']();_0xe65bc2['name']=_0x5074bb['rootName'],this['view']['render']();const _0x2f1e80=_0xe65bc2['element'];this['setEditableElement'](_0xe65bc2['name'],_0x2f1e80),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x340fa2['attachDomRoot'](_0x2f1e80),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const Rt=[Bt,Gt,Jt,Kt,Lt,Nt,Qt];class St extends _0x18f31f(mt){static ['defaultPlugins']=Rt;constructor(_0x3236e6={}){(_0x3236e6=Object['assign']({},_0x3236e6))['plugins']||(_0x3236e6['plugins']=St['defaultPlugins']),super(_0x3236e6),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 _0x286d26=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x286d26))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x338d4b=>{const _0x1a9180=this['model']['document']['getRoot'](),_0x5978fe=_0x1a9180&&_0x1a9180['getChild'](_0x1a9180['childCount']-0x1);_0x338d4b['setSelection'](_0x5978fe,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x356b3e=this['editing']['view'],_0x14dcd5=_0x356b3e['document']['getRoot'](),_0x388f89=_0x14dcd5['getChild'](0x0);_0x14dcd5['childCount']>0x1||!_0x388f89||'p'!=_0x388f89['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(zt(_0x356b3e,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x388f89['placeholder']=this['placeholder']),Ft({'view':_0x356b3e,'element':_0x388f89,'keepOnFocus':!0x0}),this['placeholderElement']=_0x388f89);}}class ei extends _t{['keystrokes'];['focusTracker'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x160cd8,_0x153406={}){super(_0x160cd8),this['editor']=null,this['_editorConfig']=_0x153406,this['keystrokes']=new Et(),this['focusTracker']=new _0x1819de(),this['set']('value',_0x153406['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',W(_0x160cd8,'Reply...')),this['set']('submitLabel',W(_0x160cd8,'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',(_0x1ade0b,_0x20f872)=>{this['cancelButtonView']['fire']('execute'),_0x20f872();}),this['on']('submit',(_0x27d3a7,_0xb1a903)=>{_0xb1a903['length']>0xfde8?(alert(W(_0x160cd8,'TOO_LONG_COMMENT_ALERT',[_0xb1a903['length'],0xfde8])),_0x27d3a7['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 _0xaef92=this['editor'];this['element']['insertBefore'](_0xaef92['ui']['element'],this['element']['firstChild']),_0xaef92['model']['document']['on']('change',()=>this['value']=_0xaef92['getData']()),_0xaef92['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:_0x587337}=this,_0x2c30ff=new _0x406c81(_0x587337);return _0x2c30ff['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x2c30ff['withText']=!0x0,_0x2c30ff['bind']('label')['to'](this,'submitLabel'),_0x2c30ff['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x2c30ff['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x4b2da8,_0x5cb4d0)=>!_0x5cb4d0&&!!_0x4b2da8['trim']()),_0x2c30ff;}['_createCancelButton'](){const {locale:_0x1bc125}=this,_0x5ab384=new _0x406c81(_0x1bc125);return _0x5ab384['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x5ab384['label']=W(_0x1bc125,'Cancel'),_0x5ab384['withText']=!0x0,_0x5ab384['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x5ab384;}['_initializeFocusCycling'](_0x55fccd){const _0x4291d4=this['focusTracker'],_0x13c74f=new _0xe76a5a();[_0x55fccd['ui']['view'],this['submitButtonView'],this['cancelButtonView']]['forEach'](_0x1905f4=>{_0x13c74f['add'](_0x1905f4),_0x4291d4['add'](_0x1905f4['element']);});const _0x2ee6aa=new _0x366c36({'focusables':_0x13c74f,'focusTracker':_0x4291d4});this['keystrokes']['set']('tab',(_0x34c37e,_0x5edc89)=>{_0x2ee6aa['focusNext'](),_0x5edc89();},{'priority':'low'}),this['keystrokes']['set']('shift\x20+\x20tab',(_0x323c7c,_0x2a8db8)=>{_0x2ee6aa['focusPrevious'](),_0x2a8db8();},{'priority':'low'});}}class Tt extends _t{constructor(_0x26cc58,_0x120e9c,_0x15f2d4){super(_0x26cc58),this['commentInputView']=new ei(_0x26cc58,_0x15f2d4),this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x1eac35,_0x5328d3)=>_0x1eac35||!!_0x5328d3),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 _0x2a508f(_0x26cc58,_0x120e9c),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(_0x2dbdbc){super(_0x2dbdbc);const _0x1475e0=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x1475e0['to']('count',_0xc4826a=>W(_0x2dbdbc,'NUMBER_OF_COMMENTS',_0xc4826a))}]});}}class xt extends _t{['commentViews'];['resolvedCommentView'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x4d52a4,_0x544934,_0x58522c){super(_0x4d52a4),this['set']('hasDirtyComment',!0x1),this['set']('length',_0x544934['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x544934,this['_config']=_0x58522c,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['_collapsedCommentsView']=new ts(_0x4d52a4),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x3dc1b2=>_0x3dc1b2-this['_config']['maxCommentsWhenCollapsed']);for(const _0x12feed of _0x544934['comments'])this['_handleNewCommentModel'](_0x12feed);this['_handleInfoComment'](),this['listenTo'](_0x544934['comments'],'add',(_0x46630d,_0x32e37d)=>{const _0x5a18db=this['_calculatePosition'](_0x32e37d);this['length']++,this['_handleNewCommentModel'](_0x32e37d,_0x5a18db),this['refreshVisibleViews']();}),this['listenTo'](_0x544934['comments'],'remove',(_0x53d315,_0x33db5c)=>{this['length']--,this['_handleRemoveCommentModel'](_0x33db5c),this['refreshVisibleViews']();}),this['listenTo'](_0x544934,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x544934,'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 _0x20a8a7 of this['commentViews'])_0x20a8a7['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x37abfb,_0x2dbc27){const _0x5c0248=new this['_config']['CommentView'](this['locale'],_0x37abfb,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x5c0248['viewUid']=_0x37abfb['id'],_0x5c0248['delegate']('removeComment')['to'](this),_0x5c0248['delegate']('updateComment')['to'](this),_0x5c0248['delegate']('resolveCommentThread')['to'](this),_0x5c0248['delegate']('editorReady')['to'](this),_0x5c0248['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x5c0248,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x5c0248,_0x2dbc27);}['_calculatePosition'](_0x158253){const _0x3812b0=this['_model']['_findOptimalIndex'](_0x158253);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x158253['authoredAt']?_0x3812b0-0x1:_0x3812b0:_0x3812b0-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x1956c2={'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'],_0x1956c2,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x1956c2));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x346255){const _0x37df7a=this['commentViews']['remove'](_0x346255['id']);this['stopListening'](_0x37df7a),_0x37df7a['isEditMode']&&this['_updateHasDirtyComment'](),_0x37df7a['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x219b84=>_0x219b84['isEditMode']);}['_rearrangeCollapse'](){const _0x5b1055=function(_0x3866ba){const _0x19336d=new _0x57f160();for(const _0x5cedd1 of _0x3866ba)_0x19336d['add'](_0x5cedd1);return _0x19336d;}(this['commentViews']),_0x3565f7=this['_collapsedCommentsView']['count'];for(let _0x1b3e1b=0x1;_0x1b3e1b<=_0x3565f7;_0x1b3e1b++)_0x5b1055['remove'](0x1);for(const _0xdcdd48 of _0x5b1055)_0xdcdd48['collapse']();_0x3565f7>0x0&&_0x5b1055['add'](this['_collapsedCommentsView'],0x1),is(_0x2da633(Array['from'](this['visibleViews']),Array['from'](_0x5b1055)),this['visibleViews'],_0x5b1055);}['_rearrangeExpand'](){is(_0x2da633(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x3b838d of this['visibleViews'])_0x3b838d['expand']();}}function is(_0x15d89d,_0x3ace11,_0x2fdbf9){let _0x4eb384=0x0;for(const _0x5d2d58 of _0x15d89d)switch(_0x5d2d58){case'insert':_0x3ace11['add'](_0x2fdbf9['get'](_0x4eb384),_0x4eb384),_0x4eb384++;break;case'delete':_0x3ace11['remove'](_0x4eb384);break;case'equal':_0x4eb384++;}}class Zt extends _t{['_model'];['reopenButtonView'];constructor(_0x4dbe20,_0x41a328){super(_0x4dbe20);const _0x3c54fa=this['bindTemplate'];this['_model']=_0x41a328,this['reopenButtonView']=this['_createReopenButton'](),this['bind']('hasContext')['to'](this['_model'],'context',_0x28dfa4=>!!_0x28dfa4),this['bind']('contextValue')['to'](this['_model'],'context',_0x24757b=>_0x24757b&&_0x24757b['value']?this['_trimContextValue'](_0x24757b['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',_0x3c54fa['if']('hasContext','ck-context--quotes')]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x3c54fa['to']('contextValue')}]}]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions']();}['_createReopenButton'](){const _0x2db775=new _0x406c81(this['locale']);return _0x2db775['label']=W(this['locale'],'Reopen'),_0x2db775['tooltip']=W(this['locale'],'Reopen'),_0x2db775['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>',_0x2db775['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x596e8c=>!_0x596e8c),_0x2db775['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x18fbeb,_0x297386)=>_0x18fbeb&&_0x297386),_0x2db775['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x2db775;}['_trimContextValue'](_0xa53d4e){if(_0xa53d4e['length']<0x96)return _0xa53d4e;const _0x4ccd66=_0xa53d4e['lastIndexOf']('\x20',0x93);return _0xa53d4e['substring'](0x0,_0x4ccd66>-0x1?_0x4ccd66:0x93)+'...';}['_attachContextActions'](){const _0x229bba=this['element']['querySelector']('.ck-context'),_0x4c319b=_0x229bba['querySelector']('.ck-context__value');this['listenTo'](_0x229bba,'mouseenter',()=>{_0x4c319b['offsetWidth']<_0x4c319b['scrollWidth']&&_0x229bba['classList']['add']('overlay');}),this['listenTo'](_0x229bba,'mouseleave',()=>{_0x229bba['classList']['remove']('overlay');});}}class ti extends _t{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];constructor(_0x595e32,_0x5b8e2c,_0x1ac18d,_0x1d60c0){super(_0x595e32),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x5b8e2c,this['_localUser']=_0x1ac18d,this['_config']=_0x1d60c0,this['commentThreadHeaderView']=new Zt(_0x595e32,_0x5b8e2c),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new xt(_0x595e32,_0x5b8e2c,Object['assign']({'CommentView':this['_config']['CommentView']},_0x1d60c0)),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',(_0x25fea8,_0x4aea64)=>_0x25fea8||!!_0x4aea64),this['bind']('isUnlinked')['to'](_0x5b8e2c,'unlinkedAt',_0x441261=>!!_0x441261);}['focus'](){this['element']['focus']();}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x5cc5ec=new Tt(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x390f3e=_0x5cc5ec['commentInputView'];return _0x5cc5ec['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x390f3e,'value',(_0x490b8c,_0x77faf3,_0x55d76b,_0x280c40,_0xfb064b)=>!!_0xfb064b||!!_0x280c40&&_0x55d76b&&!_0x77faf3||_0x490b8c&&_0x55d76b&&!_0x77faf3),_0x390f3e['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x1f1adc,_0x2f4a89,_0x4fb181)=>{let _0x53fc14;return _0x53fc14=_0x4fb181&&_0x2f4a89?'Reply\x20to\x20reopen\x20discussion...':_0x1f1adc?'Reply...':'Write\x20a\x20comment...',W(this['locale'],_0x53fc14);}),_0x390f3e['bind']('submitLabel')['to'](this,'length',_0x535a3f=>W(this['locale'],_0x535a3f?'Reply':'Comment')),_0x390f3e['on']('submit',(_0x49b7d0,_0x18aa49)=>{this['fire']('addComment',_0x18aa49),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x390f3e['on']('cancel',()=>{this['focus']();}),_0x390f3e['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x390f3e['on']('cancel',_0x3bb027=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x3bb027['stop']());}),this['on']('change:isActive',(_0x5d832b,_0x4854a4,_0x4bcef9)=>{_0x4bcef9||this['length']||_0x390f3e['value']||this['fire']('removeCommentThread');}),_0x5cc5ec;}}class yt extends _0x1c2223(ti){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x9b6615,_0x302476,_0x1bf655,_0x5d0d4b){super(_0x9b6615,_0x302476,_0x1bf655,_0x5d0d4b),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',(_0x829eb7,_0x49494b,_0x215469)=>{_0x215469?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']=_0x9b6615,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x2c25ac,_0x39a2e7,_0x492824)=>{_0x492824||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x51de7e,_0x12d167,_0x3b06be)=>{_0x3b06be&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x246949=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck-thread','ck-reset_all-excluded',_0x246949['if']('isActive','ck-thread--active'),_0x246949['if']('isUnlinked','ck-thread--unlinked'),_0x246949['if']('isConfirm','ck-thread--remove-confirmation'),_0x246949['to']('actionIndicator',_0x483186=>_0x483186?'ck-thread--'+_0x483186:'')],'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 _0x55a4c8 of this['commentsListView']['commentViews'])_0x55a4c8['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x448c23}=this,_0x3c432f=this['commentsListView']['commentViews']['get'](0x0);_0x3c432f===this['_boundFirstCommentView']||_0x3c432f['isSystemComment']||(this['_boundFirstCommentView']=_0x3c432f,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x3c432f,'actionIndicator',_0x2ad8bb=>'remove'===_0x2ad8bb?'remove':null),_0x3c432f['placeholder']=W(_0x448c23,'Write\x20a\x20comment...'),_0x3c432f['removeButton']['on']('execute',_0x5ae5e3=>{_0x5ae5e3['stop'](),this['showConfirm'](W(_0x448c23,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),_0x3c432f['actionBar']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x46efa3=new _0x406c81(this['locale']);return _0x46efa3['label']=W(this['locale'],'Resolve'),_0x46efa3['tooltip']=W(this['locale'],'Resolve'),_0x46efa3['icon']=_0x46636f['check'],_0x46efa3['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x46efa3['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x49c4eb=>!_0x49c4eb),_0x46efa3['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x5bb7e1,_0x20d5fd)=>_0x5bb7e1&&!_0x20d5fd),_0x46efa3['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x46efa3;}}class si extends _t{constructor(_0x3268b9){super(_0x3268b9),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x5d414f,_0x5c3612,_0x4a83cf)=>{this['element']['innerHTML']=_0x4a83cf;}),this['element']['innerHTML']=this['content'];}}class oi extends _t{['visibleView'];['_model'];['_config'];constructor(_0x588b77,_0x2ef60f,_0x363c5a){super(_0x588b77),this['_model']=_0x2ef60f,this['_config']=_0x363c5a,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 _0x3f069a=new si(this['locale']);return _0x3f069a['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x843b5b,_0x47f8c0)=>_0x47f8c0?_0xe793f8(_0x843b5b,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x843b5b),_0x3f069a;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x291653=new ei(this['locale'],this['_config']['editorConfig']);return _0x291653['value']=this['_model']['content'],_0x291653['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x291653['submitLabel']=W(this['locale'],'Save'),_0x291653['on']('submit',(_0x168cf4,_0x10aef)=>{this['fire']('updateComment',this['_model']['id'],_0x10aef),this['switchToDisplayMode'](),this['focus']();}),_0x291653['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x291653['once']('editorReady',()=>{_0x291653['focus']();}),_0x291653['createEditor'](),_0x291653['delegate']('editorReady')['to'](this),_0x291653['delegate']('editorDestroyed')['to'](this),_0x291653;}}class At extends _0x1c2223(oi){['actionBar'];['userView'];constructor(_0xc946e4,_0x5e52c4,_0x53fe39){super(_0xc946e4,_0x5e52c4,_0x53fe39),this['set']('actionIndicator',null),this['set']('placeholder',W(_0xc946e4,'Reply...')),this['bind']('authoredAt')['to'](_0x5e52c4),this['bind']('resolvedAt')['to'](_0x5e52c4),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 _0x2a508f(_0xc946e4,_0x5e52c4['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user']}}),this['listenTo'](_0x5e52c4,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x40e5d8=this['bindTemplate'],_0xacb9f4=[{'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':_0x40e5d8['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x40e5d8['to']('authoredAt',_0xab9527=>this['_config']['formatDateTime'](_0xab9527))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x40e5d8['if']('isEditMode','ck-comment__actions--hidden'),_0x40e5d8['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']}];return this['_model']['isExternal']&&_0xacb9f4['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x40e5d8['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x40e5d8['if']('isEditMode','ck-comment--edit'),_0x40e5d8['if']('isSystemComment','ck-comment--info'),_0x40e5d8['to']('actionIndicator',_0x50c2b7=>_0x50c2b7?'ck-comment--'+_0x50c2b7:'')],'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':_0xacb9f4}]}]};}['_createEditButton'](){const _0x5ba633=new _0x406c81(this['locale']);return _0x5ba633['label']=W(this['locale'],'Edit'),_0x5ba633['icon']=_0x46636f['pencil'],_0x5ba633['withText']=!0x0,_0x5ba633['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x5ba633['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x188669=>!_0x188669),_0x5ba633['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x5ba633['on']('execute',()=>this['switchToEditMode']()),_0x5ba633;}['_createRemoveButton'](){const _0x573656=new _0x406c81(this['locale']);return _0x573656['label']=W(this['locale'],'Remove'),_0x573656['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',_0x573656['withText']=!0x0,_0x573656['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x573656['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x535ed7=>!_0x535ed7),_0x573656['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x573656['on']('execute',()=>{this['showConfirm'](W(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x573656;}['_createDropdown'](){const _0x2788cf=_0x54a414(this['locale']),_0x510b65=_0x2788cf['panelView']['children'],_0x25537d=new _0x2a59e7(this['locale']),_0x5541ee=(_0x535aab,_0x55b1be=-0x1)=>{const _0x98addc=new _0x209baa(this['locale']);_0x98addc['children']['add'](_0x535aab);const _0x2adcc0=_0x55b1be>-0x1?_0x55b1be:_0x25537d['items']['length'];_0x25537d['items']['add'](_0x98addc,_0x2adcc0),_0x2788cf['listenTo'](_0x535aab,'change:isEnabled',()=>{_0x2788cf['isEnabled']=[...this['items']]['some'](_0x457b3a=>_0x457b3a['isEnabled']);}),_0x2788cf['listenTo'](_0x535aab,'change:isVisible',()=>{_0x2788cf['buttonView']['isVisible']=[...this['items']]['some'](_0x31fc2f=>_0x31fc2f['isVisible']);});};_0x2788cf['panelPosition']='sw',_0x2788cf['buttonView']['set']({'label':W(this['locale'],'Show\x20more\x20items'),'icon':_0x46636f['threeVerticalDots']}),_0x2788cf['isEnabled']=[...this['items']]['some'](_0xb881ea=>_0xb881ea['isEnabled']),_0x2788cf['buttonView']['isVisible']=[...this['items']]['some'](_0x38fc97=>_0x38fc97['isVisible']);for(const _0x4f89ed of this['items'])_0x5541ee(_0x4f89ed);return _0x510b65['add'](_0x25537d),_0x2788cf['listenTo'](this['items'],'add',(_0x422fe7,_0x41c117,_0x48179a)=>{_0x5541ee(_0x41c117,_0x48179a);}),_0x2788cf['listenTo'](this['items'],'remove',(_0x3ca7ad,_0x5b76de,_0x23eeb6)=>{_0x25537d['items']['remove'](_0x23eeb6);}),_0x2788cf;}['_attachActions'](_0x5dad29,_0x54122e){const _0x59518a=_0x5dad29&&_0x5dad29['element'];_0x59518a&&(this['listenTo'](_0x59518a,'mouseenter',()=>this['actionIndicator']=_0x54122e),this['listenTo'](_0x59518a,'focus',()=>this['actionIndicator']=_0x54122e),this['listenTo'](_0x59518a,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x59518a,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x181c0b=super['_createCommentInputView']();return _0x181c0b['bind']('placeholder')['to'](this),_0x181c0b;}['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(_0x36eb7d){const _0x4fe3eb=bt(_0x36eb7d,0x1e),_0x144bcf=new MutationObserver(_0x8caf3c=>{for(const _0x4af175 of _0x8caf3c)('attributes'==_0x4af175['type']&&'class'==_0x4af175['attributeName']||'childList'==_0x4af175['type']||'characterData'==_0x4af175['type'])&&_0x4fe3eb();});return{'attach'(_0x50a86b){_0x144bcf['observe'](_0x50a86b,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x144bcf['disconnect'](),_0x4fe3eb['cancel']();}};}class V extends _t{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x195ba6,_0x54749a){super(_0x195ba6),this['id']=_0x14249b(),this['focusTracker']=new _0x1819de(),this['keystrokes']=new Et(),this['keystrokes']['set']('Esc',(_0x10b2bf,_0x1d9d09)=>this['fire']('Esc',_0x1d9d09)),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'](_0x54749a),this['mainView']=_0x54749a;const _0x3c6fc8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x3c6fc8['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 _0x4c31c5=this['element']['clientHeight'];_0x4c31c5&&(this['height']=_0x4c31c5);}}class d extends _0x18f31f(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x1ba8ff,target:_0x561e34,type:_0x5778ae,isVisible:_0x3cdc22=!0x0}){super(),this['view']=_0x1ba8ff,this['view']['element']||this['view']['render'](),this['_type']=_0x5778ae,this['_target']=_0x561e34,d['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x57f160([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x3a851e,_0x3a6bfc)=>{this['view']['focusTracker']['add'](_0x3a6bfc);}),this['focusableElements']['on']('remove',(_0x1dd6a6,_0x5f368b)=>{this['view']['focusTracker']['remove'](_0x5f368b);}),this['set']('isVisible',_0x3cdc22);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x10197b=this['_getNormalizedTarget']();return d['_assertCorrectTarget'](_0x10197b),_0x10197b;}get['targetRect'](){const _0x2fbfb5=this['target'];if(null===_0x2fbfb5)return null;if(_0x2fbfb5 instanceof _0x4e5583)return _0x2fbfb5;const _0x17a4e2=_0x2fbfb5['filter'](_0x115cb9=>function(_0x403a90){const _0x3a02a3=_0x403a90['offsetParent'];if(_0x3a02a3)return!0x0;const _0xda5118=_0x403a90['getClientRects']()['item'](0x0);return!!_0xda5118;}(_0x115cb9));return 0x0===_0x17a4e2['length']?null:new _0x4e5583(_0x17a4e2[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x31b064){this['view']['isActive']=_0x31b064,this['view']['mainView']['isActive']=_0x31b064;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x499638){if(!(null===_0x499638||_0x499638 instanceof _0x4e5583||Array['isArray'](_0x499638)&&_0x499638['every'](_0x114e35=>ee(_0x114e35))))throw new _0x30344e('annotation-invalid-target',null,{'target':_0x499638});}['_getNormalizedTarget'](){const _0x47df0c='function'==typeof this['_target']?this['_target']():this['_target'];return ee(_0x47df0c)?[_0x47df0c]:_0x47df0c;}}function ee(_0x23ebd0){return null!==_0x23ebd0&&'object'==typeof _0x23ebd0&&'nodeType'in _0x23ebd0&&0x1===_0x23ebd0['nodeType'];}class x extends _0x57f160{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x1a1f00=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x1819de(),this['_focusTracker']['on']('change:isFocused',(_0x2b9348,_0x4502a3,_0x2ca1aa)=>{_0x2ca1aa||this['fire']('blur');});for(const _0x1b2ad7 of _0x1a1f00)this['add'](_0x1b2ad7);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x4615f8){if(this['has'](_0x4615f8))throw new _0x30344e('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x4615f8['innerView'],_0x4615f8),this['_viewToAnnotation']['set'](_0x4615f8['view'],_0x4615f8);for(const _0x36b607 of _0x4615f8['focusableElements'])this['_focusTracker']['add'](_0x36b607);this['listenTo'](_0x4615f8['focusableElements'],'add',(_0x19e265,_0x53f70d)=>{this['_focusTracker']['add'](_0x53f70d);}),this['listenTo'](_0x4615f8['focusableElements'],'remove',(_0x117b9b,_0x1d6a30)=>{this['_focusTracker']['remove'](_0x1d6a30);}),this['listenTo'](_0x4615f8['view']['focusTracker'],'change:isFocused',(_0x1c3dd4,_0x3919eb,_0x336ae9)=>{_0x336ae9&&this['fire']('focus',_0x4615f8);}),_0x4615f8['updateTargetRect']();const _0x3cc759=this['_getOrderInContent'](_0x4615f8['view']['targetRect']);return super['add'](_0x4615f8,_0x3cc759);}['remove'](_0x487a16){if(!this['has'](_0x487a16))throw new _0x30344e('annotationcollection-not-existing-item',null);this['stopListening'](_0x487a16['view']['focusTracker']),this['stopListening'](_0x487a16['focusableElements']);for(const _0xa8e9de of _0x487a16['focusableElements'])this['_focusTracker']['remove'](_0xa8e9de);return this['_viewToAnnotation']['delete'](_0x487a16['view']),this['_innerViewToAnnotation']['delete'](_0x487a16['innerView']),super['remove'](_0x487a16);}['getByInnerView'](_0x4f335f){return this['_innerViewToAnnotation']['get'](_0x4f335f);}['getByView'](_0x5bc617){return this['_viewToAnnotation']['get'](_0x5bc617);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x7d6edf of this)_0x7d6edf['updateTargetRect']();this['_sort']();}['_sort'](){const _0x57f403=Array['from'](this)['sort']((_0x1a1cde,_0xd890f4)=>v(_0x1a1cde['view']['targetRect'],_0xd890f4['view']['targetRect']));for(let _0x154e94=_0x57f403['length']-0x1;_0x154e94>0x0;_0x154e94--){const _0x1e1d9c=_0x57f403[_0x154e94];_0x154e94!==this['getIndex'](_0x1e1d9c)&&(this['remove'](_0x1e1d9c),this['add'](_0x1e1d9c));}}['_getOrderInContent'](_0x2f7242){let _0x12027=0x0;if(!_0x2f7242)return this['length'];for(const _0x369b14 of this){const _0xf55f7a=_0x369b14['view']['targetRect'];if(_0xf55f7a){if(v(_0x2f7242,_0xf55f7a)<0x0)return _0x12027;_0x12027++;}}return _0x12027;}}function v(_0x1f3047,_0x45c068){if(null===_0x1f3047&&null===_0x45c068)return 0x0;if(null===_0x1f3047)return-0x1;if(null===_0x45c068)return 0x1;const _0x1f59b7=_0x1f3047['top']-_0x45c068['top'];return 0x0==_0x1f59b7?_0x1f3047['left']-_0x45c068['left']:_0x1f59b7;}class b extends _0x2b451d{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}constructor(_0x33bb7d){super(_0x33bb7d),this['collection']=new x(),this['_visibleAnnotations']=new x(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations']();}['add'](_0x27f81e){this['collection']['add'](_0x27f81e);}['remove'](_0x7b1533){this['collection']['remove'](_0x7b1533),_0x7b1533['destroy']();}['refreshVisibility'](){for(const _0x1a27c7 of this['collection'])_0x1a27c7['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x1409cf){return this['collection']['getByInnerView'](_0x1409cf);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x57719a of this['collection'])_0x57719a['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x2f48fd){this['fire']('_activateAnnotation',_0x2f48fd);}['createAnnotation'](_0x35ed66){return new d(_0x35ed66);}['createAnnotationView'](_0x34b90a,_0xaa5f08){return new V(_0x34b90a,_0xaa5f08);}['_addActiveAnnotation'](_0x10f8c7){const _0x145887=new Set(this['activeAnnotations']);_0x145887['add'](_0x10f8c7),this['activeAnnotations']=_0x145887;}['_removeActiveAnnotation'](_0x3aa0b6){const _0x5de227=new Set(this['activeAnnotations']);_0x5de227['delete'](_0x3aa0b6),this['activeAnnotations']=_0x5de227;}['_bindAnnotationsToVisibleAnnotations'](){const _0x8f7645=this['collection'],_0x1ae9f5=this['_visibleAnnotations'];function _0x3a2769(_0x3af6d4){const _0x34261e=_0x3af6d4['source'];_0x34261e['isVisible']&&!_0x1ae9f5['has'](_0x34261e)?_0x1ae9f5['add'](_0x34261e):!_0x34261e['isVisible']&&_0x1ae9f5['has'](_0x34261e)&&_0x1ae9f5['remove'](_0x34261e),_0x34261e['view']['focusTracker']['remove'](_0x34261e['view']['element']),_0x34261e['view']['focusTracker']['add'](_0x34261e['view']['element']);}this['listenTo'](_0x8f7645,'add',(_0x4d3c93,_0x2196ca)=>{_0x2196ca['isVisible']&&_0x1ae9f5['add'](_0x2196ca),this['listenTo'](_0x2196ca,'change:isVisible',_0x3a2769);}),this['listenTo'](_0x8f7645,'remove',(_0x32576d,_0x1de0f2)=>{_0x1ae9f5['has'](_0x1de0f2)&&_0x1ae9f5['remove'](_0x1de0f2),this['stopListening'](_0x1de0f2,'change:isVisible',_0x3a2769);});}}const Ct=Symbol('noChannel'),vt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class m extends _0x2b451d{['licenseKey'];['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[b,ht,lt];}static get['pluginName'](){return'CommentsRepository';}constructor(_0x22d207){super(_0x22d207),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 _0x56ee81=this['context']['config'];_0x56ee81['define']('comments.maxCommentsWhenCollapsed',0x2),_0x56ee81['define']('comments.maxThreadTotalWeight',0x1f4),_0x56ee81['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x56ee81['define']('comments.CommentThreadView',yt),_0x56ee81['define']('comments.CommentView',At),_0x56ee81['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x39a57b=this['context']['plugins']['get'](b);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x72c574,_0x415e6d)=>this['_addCommentThread'](_0x415e6d)),this['on']('submitCommentThread',(_0x325e72,_0x359cd5)=>this['_submitCommentThread'](_0x359cd5)),this['on']('resolveCommentThread',(_0x5cb793,_0x3dae48)=>this['_resolveCommentThread'](_0x3dae48)),this['on']('resolveCommentThread',(_0x10725f,_0xfecdc5)=>this['_updateActiveAnnotation'](_0xfecdc5),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x547de4,_0x410f76)=>this['_reopenCommentThread'](_0x410f76)),this['on']('reopenCommentThread',(_0x4950e5,_0x3a58f6)=>this['_updateActiveAnnotation'](_0x3a58f6),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x3c89f5,_0x5a3367)=>this['_removeCommentThread'](_0x5a3367)),this['on']('updateCommentThread',(_0x5e2d55,_0x3accd9)=>this['_updateCommentThread'](_0x3accd9)),this['on']('updateCommentThread',(_0x5f3f7e,_0x4cda58)=>this['_updateActiveAnnotation'](_0x4cda58),{'priority':'lowest'}),this['on']('addComment',(_0x4d7f2b,_0x91ef91)=>this['_addComment'](_0x91ef91)),this['on']('updateComment',(_0x475a3d,_0x5498ee)=>this['_updateComment'](_0x5498ee)),this['on']('removeComment',(_0xf3539e,_0x443b09)=>this['_removeComment'](_0x443b09)),this['on']('addComment',(_0x5a285d,{threadId:_0x18fffb,isFromAdapter:_0x21e8d1})=>{if(_0x21e8d1)return;const _0x5d7077=this['getCommentThread'](_0x18fffb),_0x54b2c2=_0x5d7077&&this['_threadToController']['get'](_0x5d7077);_0x54b2c2&&_0x54b2c2['view']['focus']();},{'priority':'lowest'}),this['listenTo'](_0x39a57b,'change:activeAnnotations',(_0x36aaf4,_0x41b46a,_0x73832e)=>{const _0xae8df9=Array['from'](_0x73832e)['map'](_0x3142f4=>this['_viewToController']['get'](_0x3142f4['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0xae8df9?_0xae8df9['model']:null;});}['afterInit'](){!function(_0x22d74c){function _0xc6d340(_0x407d45,_0x51f16e,_0x1b0179){const _0x3325e6={};_0x3325e6[_0x594d01([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3325e6[_0x594d01([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],_0x3325e6[_0x594d01([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],_0x3325e6[_0x594d01([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],_0x3325e6[_0x594d01([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],_0x3325e6[_0x594d01([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],_0x3325e6[_0x594d01([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],_0x3325e6[_0x594d01([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],_0x3325e6[_0x594d01([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],_0x3325e6[_0x594d01([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],_0x3325e6[_0x594d01([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 _0x22bb29=new Uint8Array(0x10);for(let _0x4d6abb=0xf;_0x4d6abb>=0x0;--_0x4d6abb)_0x22bb29[_0x4d6abb]=_0x1b0179%0x100,_0x1b0179=parseInt(_0x1b0179/0x100);let _0x1c47f0=null,_0x52726a=0x10;const _0x37df04=new Uint8Array(_0x51f16e),_0x3160b3=[],_0x147286=[];_0x24ecac();for(let _0x527f65=0x0;_0x527f65<_0x407d45[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x527f65++)0x10===_0x52726a&&(_0x1c47f0=_0x31af62(_0x22bb29),_0x52726a=0x0,_0x778dc5(_0x22bb29)),_0x407d45[_0x527f65]^=_0x1c47f0[_0x52726a++];return _0x407d45;function _0x38a66d(_0x2fa6c5){const _0x3669af=[];for(let _0x1e0327=0x0;_0x1e0327<_0x2fa6c5[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e0327+=0x4)_0x3669af[_0x594d01([0x70,0x75,0x73,0x68])](_0x2fa6c5[_0x1e0327]<<0x18|_0x2fa6c5[_0x1e0327+0x1]<<0x10|_0x2fa6c5[_0x1e0327+0x2]<<0x8|_0x2fa6c5[_0x1e0327+0x3]);return _0x3669af;}function _0x778dc5(_0x148ee0){for(let _0x5bb532=0xf;_0x5bb532>=0x0;_0x5bb532--){if(0xff!==_0x148ee0[_0x5bb532]){_0x148ee0[_0x5bb532]++;break;}_0x148ee0[_0x5bb532]=0x0;}}function _0x31af62(_0x1b7b15){const _0x524820=_0x3160b3[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4cd0ca=[0x0,0x0,0x0,0x0];let t=_0x38a66d(_0x1b7b15);for(let _0xae3290=0x0;_0xae3290<0x4;_0xae3290++)t[_0xae3290]^=_0x3160b3[0x0][_0xae3290];for(let _0x4ef5e1=0x1;_0x4ef5e1<_0x524820;_0x4ef5e1++){for(let _0xd19219=0x0;_0xd19219<0x4;_0xd19219++)_0x4cd0ca[_0xd19219]=_0x3325e6[_0x594d01([0x54,0x31])][t[_0xd19219]>>0x18&0xff]^_0x3325e6[_0x594d01([0x54,0x32])][t[(_0xd19219+0x1)%0x4]>>0x10&0xff]^_0x3325e6[_0x594d01([0x54,0x33])][t[(_0xd19219+0x2)%0x4]>>0x8&0xff]^_0x3325e6[_0x594d01([0x54,0x34])][0xff&t[(_0xd19219+0x3)%0x4]]^_0x3160b3[_0x4ef5e1][_0xd19219];t=_0x4cd0ca[_0x594d01([0x73,0x6c,0x69,0x63,0x65])]();}const _0x111984=new Uint8Array(0x10);let _0x4e4c8c;for(let _0x12dec5=0x0;_0x12dec5<0x4;_0x12dec5++)_0x4e4c8c=_0x3160b3[_0x524820][_0x12dec5],_0x111984[0x4*_0x12dec5]=0xff&(_0x3325e6[_0x594d01([0x53])][t[_0x12dec5]>>0x18&0xff]^_0x4e4c8c>>0x18),_0x111984[0x4*_0x12dec5+0x1]=0xff&(_0x3325e6[_0x594d01([0x53])][t[(_0x12dec5+0x1)%0x4]>>0x10&0xff]^_0x4e4c8c>>0x10),_0x111984[0x4*_0x12dec5+0x2]=0xff&(_0x3325e6[_0x594d01([0x53])][t[(_0x12dec5+0x2)%0x4]>>0x8&0xff]^_0x4e4c8c>>0x8),_0x111984[0x4*_0x12dec5+0x3]=0xff&(_0x3325e6[_0x594d01([0x53])][0xff&t[(_0x12dec5+0x3)%0x4]]^_0x4e4c8c);return _0x111984;}function _0x24ecac(){const _0x1c1422=_0x3325e6[_0x594d01([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x37df04[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x12c926=0x0;_0x12c926<=_0x1c1422;_0x12c926++)_0x3160b3[_0x594d01([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x147286[_0x594d01([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x219e73=0x4*(_0x1c1422+0x1),_0x318d70=_0x37df04[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x269ffe=_0x38a66d(_0x37df04);let _0x3af101;for(let _0x5692a5=0x0;_0x5692a5<_0x318d70;_0x5692a5++)_0x3af101=_0x5692a5>>0x2,_0x3160b3[_0x3af101][_0x5692a5%0x4]=_0x269ffe[_0x5692a5],_0x147286[_0x1c1422-_0x3af101][_0x5692a5%0x4]=_0x269ffe[_0x5692a5];let _0x20b65a,_0x775dc=0x0,t=_0x318d70;for(;t<_0x219e73;){_0x20b65a=_0x269ffe[_0x318d70-0x1],_0x269ffe[0x0]^=_0x3325e6[_0x594d01([0x53])][_0x20b65a>>0x10&0xff]<<0x18^_0x3325e6[_0x594d01([0x53])][_0x20b65a>>0x8&0xff]<<0x10^_0x3325e6[_0x594d01([0x53])][0xff&_0x20b65a]<<0x8^_0x3325e6[_0x594d01([0x53])][_0x20b65a>>0x18&0xff]^_0x3325e6[_0x594d01([0x72,0x63,0x6f,0x6e])][_0x775dc]<<0x18,_0x775dc+=0x1;for(let _0x3163dd=0x1;_0x3163dd<_0x318d70/0x2;_0x3163dd++)_0x269ffe[_0x3163dd]^=_0x269ffe[_0x3163dd-0x1];_0x20b65a=_0x269ffe[_0x318d70/0x2-0x1],_0x269ffe[_0x318d70/0x2]^=_0x3325e6[_0x594d01([0x53])][0xff&_0x20b65a]^_0x3325e6[_0x594d01([0x53])][_0x20b65a>>0x8&0xff]<<0x8^_0x3325e6[_0x594d01([0x53])][_0x20b65a>>0x10&0xff]<<0x10^_0x3325e6[_0x594d01([0x53])][_0x20b65a>>0x18&0xff]<<0x18;for(let _0x7302f4=_0x318d70/0x2+0x1;_0x7302f4<_0x318d70;_0x7302f4++)_0x269ffe[_0x7302f4]^=_0x269ffe[_0x7302f4-0x1];let _0x13be61,_0x29c86c,_0x14b26c=0x0;for(;_0x14b26c<_0x318d70&&t<_0x219e73;)_0x13be61=t>>0x2,_0x29c86c=t%0x4,_0x3160b3[_0x13be61][_0x29c86c]=_0x269ffe[_0x14b26c],_0x147286[_0x1c1422-_0x13be61][_0x29c86c]=_0x269ffe[_0x14b26c++],t++;}for(let _0x2dc956=0x1;_0x2dc956<_0x1c1422;_0x2dc956++)for(let _0x1a60b2=0x0;_0x1a60b2<0x4;_0x1a60b2++)_0x20b65a=_0x147286[_0x2dc956][_0x1a60b2],_0x147286[_0x2dc956][_0x1a60b2]=_0x3325e6[_0x594d01([0x55,0x31])][_0x20b65a>>0x18&0xff]^_0x3325e6[_0x594d01([0x55,0x32])][_0x20b65a>>0x10&0xff]^_0x3325e6[_0x594d01([0x55,0x33])][_0x20b65a>>0x8&0xff]^_0x3325e6[_0x594d01([0x55,0x34])][0xff&_0x20b65a];}}function _0x594d01(_0x396426){return _0x396426['map'](_0x3bffc2=>String['fromCharCode'](_0x3bffc2))['join']('');}(_0x30f79d=>{function _0x697739(){const _0x55d936=[{[_0x594d01([0x69,0x64])]:0x1,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x594d01([0x69,0x64])]:0x2,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([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]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x594d01([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x594d01([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x594d01([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x594d01([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x594d01([0x69,0x64])]:0x3,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x594d01([0x69,0x64])]:0x4,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([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]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x594d01([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x594d01([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x594d01([0x69,0x64])]:0x5,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([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]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x66,0x67,0x69])]:[0xc]}},{[_0x594d01([0x69,0x64])]:0x6,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x66,0x67,0x69])]:[0xc]}},{[_0x594d01([0x69,0x64])]:0x7,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x66,0x67,0x69])]:[0xc]}},{[_0x594d01([0x69,0x64])]:0x8,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([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]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x66,0x67,0x69])]:[0xc]}},{[_0x594d01([0x69,0x64])]:0x9,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x594d01([0x69,0x64])]:0xa,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([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]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([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]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([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]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x66,0x67,0x69])]:[0xc]}},{[_0x594d01([0x69,0x64])]:0xb,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x594d01([0x69,0x64])]:0xc,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x594d01([0x69,0x64])]:0xd,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x66,0x67,0x69])]:[0xc]}},{[_0x594d01([0x69,0x64])]:0xe,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x594d01([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([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])},{[_0x594d01([0x69,0x64])]:0xf,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x594d01([0x69,0x64])]:0x10,[_0x594d01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x594d01([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x594d01([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x594d01([0x66,0x67,0x69])]:[0xc]}}];return _0x3bb324(_0x55d936),_0x55d936;function _0x52f9e3(_0x473681){return 0x1<<_0x473681-0x1;}function _0x3bb324(_0x20d229){_0x20d229[_0x594d01([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45c0e6=>{_0x45c0e6[_0x594d01([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x52f9e3(_0x45c0e6[_0x594d01([0x69,0x64])]),_0x83137a(_0x45c0e6)&&_0x45c0e6[_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3bb324(_0x45c0e6[_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x83137a(_0x15796b){return _0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x15796b;}const _0x195276=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x51ae86=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5ba730(_0x4dc84){const _0x10a4cb=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5b80a7(_0x4dc84,new Uint8Array([..._0x195276,..._0x10a4cb,..._0x51ae86]));}function _0x5b80a7(_0x114f87,_0x4ba0a4){const _0x1223ba=_0x1aebf6(_0x114f87),_0x24677a=Array[_0x594d01([0x66,0x72,0x6f,0x6d])](_0x3d2507(_0x1223ba)),_0x35d16a=_0x24677a[_0x594d01([0x70,0x6f,0x70])](),_0x2e6524=_0x24677a[_0x594d01([0x70,0x6f,0x70])]();return _0x1faeb0(_0xc6d340(_0x24677a,_0x4ba0a4,_0x2e6524+0x100*_0x35d16a));}function _0x1aebf6(_0x3e632f){const _0x189598=atob(_0x3e632f),[_0xfbf052,_0x330f0f]=_0x189598[_0x594d01([0x73,0x70,0x6c,0x69,0x74])](_0x594d01([0x2d]));try{if(atob(_0x330f0f))return atob(_0xfbf052);}catch(_0x3e530d){}return _0x189598;}function _0x51b3e7(_0x32eabf){try{const _0x2d72f4=_0x5ba730(_0x32eabf),_0x58e931=JSON[_0x594d01([0x70,0x61,0x72,0x73,0x65])](_0x2d72f4),_0x4648eb=parseInt(_0x58e931[_0x594d01([0x31])]),_0x1d4a93=_0x58e931[_0x594d01([0x32])]||'',_0x4134f2=parseInt(_0x58e931[_0x594d01([0x33])]),_0x2e9f12=parseInt(_0x58e931[_0x594d01([0x34])])||0x0,_0x3fba6c=parseInt(_0x58e931[_0x594d01([0x35])])||0x0;return{[_0x594d01([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1d4a93,[_0x594d01([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2e9f12,[_0x594d01([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4648eb,[_0x594d01([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4134f2,[_0x594d01([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3fba6c};}catch(_0x593d18){return null;}}const _0x42a3f4=_0x697739(),_0x28bdfa={[_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x439c9d,[_0x594d01([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])]:_0x5bac52,[_0x594d01([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])]:_0x3fc56e},_0x12ba4f=_0x30f79d[_0x594d01([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1c9057=_0x594d01([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x30f79d?_0x30f79d['context']:_0x30f79d['editor'],_0x56e93a=_0x594d01([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x34]),_0x4f709f=_0x594d01([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]),_0x858c8e=_0x1c9057['config']['get'](_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2307f7=_0x42a3f4[_0x594d01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x83137a)[_0x594d01([0x66,0x69,0x6e,0x64])](_0x485688=>_0x485688[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x12ba4f);function _0x59fde6(_0xb96f2,_0x1b2ef6){_0x28bdfa[_0x1b2ef6[_0x594d01([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0xb96f2,_0x1b2ef6),_0x1b2ef6[_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1b2ef6[_0x594d01([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x594d01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3889e3=>_0x4b47fe(_0x1c9057,_0x3889e3[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x594d01([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xca8ce9=>_0x59fde6(_0xb96f2,_0xca8ce9));}function _0x439c9d(_0x4afa64,_0x3bb2bc){_0x38f184(_0x34df40(_0x4afa64,_0x3bb2bc),_0x3bb2bc);}function _0x5bac52(_0x23826a,_0x5674ac){function _0x28d1f5(_0xef8faf,_0x4a1e47){try{if(_0x4b47fe(_0x1c9057,_0x594d01([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0xef8faf){const _0x4f9352=_0xaff0cd(_0x1c9057,_0x594d01([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x594d01([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x4f9352)/0x2>_0xef8faf[_0x594d01([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0xd5f1d8(_0x4a1e47[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x34df40(_0xef8faf,_0x4a1e47);}catch(_0x3e86a1){return _0xd5f1d8(_0x4a1e47[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x38f184(_0x28d1f5(_0x23826a,_0x5674ac),_0x5674ac);}function _0x3fc56e(_0x646d95,_0xc10fc9){const _0x32a717=_0x51ae86[0x0]*_0x195276[0x1],_0x55febf=_0x51ae86[0x0]*_0x195276[0x2],_0x4900a6=_0x51ae86[0x2]*_0x195276[0x2];_0x4b47fe(_0x1c9057,_0x594d01([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xaff0cd(_0x1c9057,_0x594d01([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x594d01([0x73,0x74,0x61,0x74,0x65])]==_0x594d01([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x2c61a1()]=_0x4900a6);function _0x2b2fb6(_0x2d9508,_0x1ab674){try{return _0x1f92bd()?_0xd5f1d8(_0x1ab674[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x56,0x61,0x6c,0x69,0x64])):_0x34df40(_0x2d9508,_0x1ab674);}catch(_0x5e2a0f){return _0xd5f1d8(_0x1ab674[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xd13c3d(_0x52fd55,_0x3d1fb2){const _0x3361cb=0x7;if(_0x52fd55==_0x3d1fb2[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x5238c();else{if(_0x52fd55==_0x3d1fb2[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x54,0x72,0x69,0x61,0x6c])){const _0x49a65d=_0x2b0b50();_0x49a65d&&_0x144298(_0x49a65d,_0x3d1fb2[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x242aee=_0x379cd4();window[_0x594d01([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x144298(_0x594d01([0x74,0x69,0x6d,0x65]),_0x3d1fb2[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x242aee);const _0x4447df=_0xaff0cd(_0x1c9057,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x594d01([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4447df[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3361cb?_0x144298(_0x594d01([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3d1fb2[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4447df['on'](_0x594d01([0x61,0x64,0x64]),()=>{_0x4447df[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3361cb&&_0x144298(_0x594d01([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3d1fb2[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2b0b50(){if(!_0x4b47fe(_0x1c9057,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4e9e50 in window)if(Number['isNaN'](Number(_0x4e9e50))){if(window[_0x4e9e50]===_0x32a717)return _0x594d01([0x74,0x69,0x6d,0x65]);if(window[_0x4e9e50]===_0x55febf)return _0x594d01([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1f92bd(){if(!_0x4b47fe(_0x1c9057,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2745ee in window)if(Number['isNaN'](Number(_0x2745ee))&&window[_0x2745ee]===_0x4900a6)return!0x0;return!0x1;}function _0x144298(_0x1143d4,_0x351091){_0x5238c(),_0xd5f1d8(_0x351091+_0x594d01([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1143d4),window[_0x2c61a1()]=_0x1143d4===_0x594d01([0x74,0x69,0x6d,0x65])?_0x32a717:_0x55febf;}function _0x379cd4(){let _0x616217=_0x51ae86[0x6]*_0x195276[0x8]*_0x195276[0x6];return _0x4b47fe(_0x1c9057,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x616217/=0xa),_0x616217;}function _0x5238c(){const _0x590150=_0x1c9057;function _0x8e270c(){_0x4b47fe(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x594d01([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x594d01([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x594d01([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x594d01([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x440286,_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x594d01([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x440286,_0x590150[_0x594d01([0x6d,0x6f,0x64,0x65,0x6c])][_0x594d01([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x440286,_0x590150[_0x594d01([0x6d,0x6f,0x64,0x65,0x6c])][_0x594d01([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x440286,_0x590150[_0x594d01([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x594d01([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4b47fe(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x594d01([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x594d01([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x594d01([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x594d01([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x440286,_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x594d01([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x440286);}_0x590150[_0x594d01([0x73,0x74,0x61,0x74,0x65])]==_0x594d01([0x72,0x65,0x61,0x64,0x79])?_0x8e270c():_0x590150[_0x594d01([0x6f,0x6e,0x63,0x65])](_0x594d01([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4b47fe(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x8e270c(),_0x4b47fe(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x564556=_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x410339=_0x564556['getRevision'](0x0),_0x443639=_0x564556['getEarlierVisibleRevision'](_0x410339[_0x594d01([0x69,0x64])]);_0xaff0cd(_0x590150,_0x594d01([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x594d01([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x410339[_0x594d01([0x69,0x64])],_0x443639?_0x443639[_0x594d01([0x69,0x64])]:null,0x1)['then'](()=>_0x8e270c());}});}_0xd13c3d(_0x2b2fb6(_0x646d95,_0xc10fc9),_0xc10fc9);}function _0x34df40(_0xef41d0,_0x5d70dd){try{return _0x332bfc(_0x5d70dd)?_0xd5f1d8(_0x5d70dd[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x56,0x61,0x6c,0x69,0x64])):_0xef41d0&&_0x21e763(_0xef41d0[_0x594d01([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5d70dd)?_0xef41d0[_0x594d01([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x594d01([0x6f,0x70,0x65,0x6e])][_0x594d01([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x56e93a)/0x2>_0xef41d0[_0x594d01([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0xd5f1d8(_0x5d70dd[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xef41d0[_0x594d01([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0xd5f1d8(_0x5d70dd[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x54,0x72,0x69,0x61,0x6c])):_0xd5f1d8(_0x5d70dd[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x56,0x61,0x6c,0x69,0x64])):_0xd5f1d8(_0x5d70dd[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3b297d){return _0xd5f1d8(_0x5d70dd[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x38f184(_0x30ba0c,_0x57e610){if(_0x1c9057 instanceof _0x4c77fe){const _0x266912=_0x1c9057;_0x30ba0c==_0x57e610[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x38ec8d(_0x266912):_0x30ba0c==_0x57e610[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x54,0x72,0x69,0x61,0x6c])&&window[_0x594d01([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x38ec8d(_0x266912),_0xd5f1d8(_0x57e610[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x51ae86[0x6]*_0x195276[0x8]*_0x195276[0x6]),_0x266912[_0x594d01([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x594d01([0x6f,0x6e])](_0x594d01([0x61,0x64,0x64]),(_0x3b82a1,_0x456b66)=>{_0x30ba0c!=_0x57e610[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x30ba0c!=_0x57e610[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x30ba0c!=_0x57e610[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1369c0(_0x456b66);});}else{const _0x5f21f0=_0x1c9057;_0x30ba0c==_0x57e610[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1369c0(_0x5f21f0):_0x30ba0c==_0x57e610[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x54,0x72,0x69,0x61,0x6c])&&_0x5f21f0[_0x594d01([0x6f,0x6e])](_0x594d01([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x388958=0x0;_0x5f21f0[_0x594d01([0x6d,0x6f,0x64,0x65,0x6c])][_0x594d01([0x6f,0x6e])](_0x594d01([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f5141,_0x427716)=>{_0x427716[0x0][_0x594d01([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x388958++,0x1f8===_0x388958&&(_0x1369c0(_0x5f21f0),_0xd5f1d8(_0x57e610[_0x594d01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x594d01([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x3f5141[_0x594d01([0x6f,0x66,0x66])]());},{'priority':_0x594d01([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0xd5f1d8(_0x36d99b){const _0xe55b72=_0x2c61a1();return _0x1c9057[_0xe55b72]=_0x36d99b,_0x36d99b;}function _0x2c61a1(){const _0x730e7=String(window[_0x594d01([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x594d01([0x6e,0x6f,0x77])]())[_0x594d01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x594d01([0x2e]),'');let _0x3cef02='';for(let _0x1c0231=0x0;_0x1c0231<_0x730e7[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c0231+=0x2){let _0x30b11d=parseInt(_0x730e7[_0x594d01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c0231,_0x1c0231+0x2));_0x30b11d>=_0x4f709f[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30b11d-=_0x4f709f[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3cef02+=_0x4f709f[_0x30b11d];}return _0x3cef02;}function _0x38ec8d(_0x44961d){for(const _0xfc06e3 of _0x44961d[_0x594d01([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1369c0(_0xfc06e3);_0xaff0cd(_0x44961d,_0x594d01([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x594d01([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xaff0cd(_0x44961d,_0x594d01([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x594d01([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x440286;}function _0x1369c0(_0x47af9a){function _0x1ad177(){_0x47af9a[_0x594d01([0x6d,0x6f,0x64,0x65,0x6c])][_0x594d01([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x440286,_0x47af9a[_0x594d01([0x6d,0x6f,0x64,0x65,0x6c])][_0x594d01([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x440286,_0x47af9a[_0x594d01([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x594d01([0x6d,0x6f,0x64,0x65,0x6c]));}_0x47af9a[_0x594d01([0x73,0x74,0x61,0x74,0x65])]==_0x594d01([0x72,0x65,0x61,0x64,0x79])?_0x1ad177():_0x47af9a[_0x594d01([0x6f,0x6e,0x63,0x65])](_0x594d01([0x72,0x65,0x61,0x64,0x79]),()=>_0x1ad177());}function _0x440286(){return null;}function _0x21e763(_0x11ec5b,_0x42609f){const _0x311b6b=!!(_0x11ec5b&_0x42609f[_0x594d01([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x195219=_0x2b90ea(_0x11ec5b,_0x42609f);return _0x311b6b||_0x195219;}function _0x2b90ea(_0x2d2234,_0x5d465e){const _0x5ac331=(_0x5d465e[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x594d01([0x66,0x67,0x69])]||null;return!!_0x5ac331&&_0x42a3f4[_0x594d01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4dc2f4=>_0x5ac331[_0x594d01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dc2f4[_0x594d01([0x69,0x64])]))[_0x594d01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x559994=>!_0x418c82(_0x559994))[_0x594d01([0x73,0x6f,0x6d,0x65])](_0x2d93d9=>!!(_0x2d2234&_0x2d93d9[_0x594d01([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x418c82(_0x33d893){const _0x4dc4a4={[_0x594d01([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])]:_0x9b72b3};return!!_0x33d893['forbiddenHandler']&&_0x4dc4a4[_0x33d893['forbiddenHandler']]();}function _0x9b72b3(){return!window[_0x594d01([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4b47fe(_0x1c9057,_0x594d01([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x332bfc(_0x93ac14){if(!_0x4b47fe(_0x1c9057,_0x93ac14[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2ab00b=_0x93ac14[_0x594d01([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xa6d36c=_0x2ab00b[_0x594d01([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x5ef69b=_0x2ab00b[_0x594d01([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x23a723=_0x2ab00b[_0x594d01([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4b47fe(_0x1c9057,_0x594d01([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xaff0cd(_0x1c9057,_0x594d01([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x594d01([0x73,0x74,0x61,0x74,0x65])]==_0x594d01([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xa6d36c)return!0x0;if(_0x4b47fe(_0x1c9057,_0x594d01([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xaff0cd(_0x1c9057,_0x594d01([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x594d01([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x594d01([0x65,0x6e,0x64])&&_0x5ef69b)return!0x0;return!(!_0x4b47fe(_0x1c9057,_0x594d01([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]))||_0xaff0cd(_0x1c9057,_0x594d01([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]))[_0x594d01([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x594d01([0x65,0x6e,0x64])||!_0x23a723);}function _0x4b47fe(_0x2adea3,_0x48773a){return _0x2adea3[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x594d01([0x68,0x61,0x73])](_0x48773a);}function _0xaff0cd(_0x369f03,_0x5f4658){return _0x369f03[_0x594d01([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x594d01([0x67,0x65,0x74])](_0x5f4658);}function _0x1faeb0(_0x9abe8c){let _0x2e9ff0='';for(const _0x3e8642 of _0x9abe8c)_0x2e9ff0+=String[_0x594d01([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3e8642);return _0x2e9ff0;}function _0x3d2507(_0x45bb0f){const _0x3d44ff=new Uint8Array(_0x45bb0f[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x554cbf=0x0;_0x554cbf<_0x45bb0f[_0x594d01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x554cbf++)_0x3d44ff[_0x554cbf]=_0x45bb0f[_0x594d01([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x554cbf);return _0x3d44ff;}_0x2307f7&&_0x59fde6(_0x51b3e7(_0x858c8e),_0x2307f7);})(_0x22d74c);}(this);}set['adapter'](_0x40a2e6){if(this['_adapter'])throw new _0x30344e('commentsrepository-adapter-already-set');this['_adapter']=_0x40a2e6;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x240a03=Ct,threadId:_0x4ef666=_0x14249b(),comments:_0x2c4fc1=[],unlinkedAt:_0x5d1491=null,resolvedAt:_0x409aac=null,resolvedBy:_0x5d4065=null,target:_0x4668d0=null,context:_0x2d5c40=null,attributes:_0x597a6f={},isResolvable:_0x54afb2=!0x0,isSubmitted:_0x133f6f=!0x1,isFromAdapter:_0x36fe0b=!0x1}={}){return this['fire'](gt('addCommentThread',_0x240a03),{'channelId':_0x240a03,'threadId':_0x4ef666,'comments':_0x2c4fc1,'unlinkedAt':_0x5d1491,'resolvedAt':_0x409aac,'resolvedBy':_0x5d4065,'target':_0x4668d0,'context':_0x2d5c40,'attributes':_0x597a6f,'isFromAdapter':_0x36fe0b,'isResolvable':_0x54afb2,'isSubmitted':_0x133f6f}),this['getCommentThread'](_0x4ef666);}['openNewCommentThread']({channelId:_0x1e70b2=Ct,threadId:_0x4aacf1=_0x14249b(),target:_0x1c5766,context:_0xe8bb2=null,isResolvable:_0x436b46=!0x0}){if(this['_readOnlyChannels']['has'](_0x1e70b2)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x1c5766)throw new _0x30344e('commentsrepository-missing-target');const _0x2ee133=this['addCommentThread']({'channelId':_0x1e70b2,'threadId':_0x4aacf1,'target':_0x1c5766,'context':_0xe8bb2,'isResolvable':_0x436b46});if(!_0x2ee133)return null;const _0x1a0e76=this['_threadToController']['get'](_0x2ee133),_0x58e9eb=_0x1a0e76['view']['commentThreadInputView']['commentInputView'],_0x43b12f=this['context']['plugins']['get'](b),_0x7f422f=_0x43b12f['getByInnerView'](_0x1a0e76['view']);return _0x43b12f['activate'](_0x7f422f),_0x58e9eb['once']('editorReady',()=>_0x58e9eb['focus']()),_0x2ee133;}['hasCommentThread'](_0x1adaab){if('string'!=typeof _0x1adaab)throw new _0x30344e('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x1adaab);}['updateCommentThread']({channelId:_0x75c6d8=Ct,threadId:_0x57802c,context:_0x440665,unlinkedAt:_0x385927,attributes:_0x196a75,isFromAdapter:_0x179f45=!0x1}){return this['fire'](gt('updateCommentThread',_0x75c6d8),{'channelId':_0x75c6d8,'threadId':_0x57802c,'context':_0x440665,'unlinkedAt':_0x385927,'attributes':_0x196a75,'isFromAdapter':_0x179f45}),this['getCommentThread'](_0x57802c);}['getCommentThread'](_0x11bf36){if('string'!=typeof _0x11bf36)throw new _0x30344e('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x11bf36);}['fetchCommentThread']({channelId:_0x726c0e,threadId:_0x475b3c}={}){const _0x23900a=this['getCommentThread'](_0x475b3c);if(_0x23900a)return Promise['resolve'](_0x23900a);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x30344e('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x726c0e,'threadId':_0x475b3c})['then'](_0x40f117=>this['hasCommentThread'](_0x475b3c)?this['getCommentThread'](_0x475b3c):_0x40f117?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x726c0e},_0x40f117)):void 0x0)['catch'](_0x216784=>{throw console['error'](_0x216784),new _0x30344e('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x434969,skipNotAttached:_0x1cd2fc=!0x1,skipEmpty:_0x4bb371=!0x1,toJSON:_0x2be60c=!0x1}={}){const _0x2cd35d=[];for(const _0x54f1e9 of this['_threads']['values']())_0x434969&&_0x54f1e9['channelId']!==_0x434969||_0x1cd2fc&&!_0x54f1e9['isAttached']||_0x4bb371&&0x0===_0x54f1e9['length']||_0x2cd35d['push'](_0x54f1e9);return _0x2be60c?_0x2cd35d['map'](_0x2463fd=>_0x2463fd['toJSON']()):_0x2cd35d;}['setActiveCommentThread'](_0x2e15c6){const _0x403828=this['context']['plugins']['get'](b);if(!_0x2e15c6)return void(this['activeCommentThread']&&_0x403828['deactivateAll']());const _0x2dd6d0=this['getCommentThread'](_0x2e15c6);if(!_0x2dd6d0)throw new _0x30344e('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x2e15c6});if(!this['_threadToController']['has'](_0x2dd6d0))throw new _0x30344e('commentsrepository-active-not-attached',null,{'threadId':_0x2e15c6});const _0xc67c56=_0x403828['getByInnerView'](this['_threadToController']['get'](_0x2dd6d0)['view']);_0x403828['activate'](_0xc67c56);}['switchReadOnly'](_0x2f7daf,_0x56c171){_0x2f7daf?this['_readOnlyChannels']['add'](_0x56c171):this['_readOnlyChannels']['delete'](_0x56c171),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x356fd5){return this['_readOnlyChannels']['has'](_0x356fd5)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x4fc26d,_0x5502a9){return new wt(_0x4fc26d,_0x5502a9);}['setPermissions'](_0x20fa74,_0x2a5a0a=Ct){this['_permissions']['set'](_0x2a5a0a,_0x20fa74),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x4fdb23=Ct){return this['_permissions']['has'](_0x4fdb23)?this['_permissions']['get'](_0x4fdb23):vt;}['_addCommentThread']({channelId:_0x1b6224,threadId:_0x48deaf,comments:_0x396969,unlinkedAt:_0x33c074,resolvedAt:_0x184528,resolvedBy:_0xb9e940,target:_0x437816,context:_0x2e082a,attributes:_0xc0e699,isFromAdapter:_0xa179fc,isResolvable:_0x532b78,isSubmitted:_0x4bf2a8}){if('string'!=typeof _0x48deaf)throw new _0x30344e('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x48deaf});if(this['hasCommentThread'](_0x48deaf))throw new _0x30344e('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x48deaf});const _0x572071=new ie(this,{'channelId':_0x1b6224,'id':_0x48deaf,'context':_0x2e082a,'attributes':_0xc0e699,'unlinkedAt':_0x33c074,'resolvedAt':_0x184528,'resolvedBy':_0xb9e940?this['context']['plugins']['get'](lt)['getUser'](_0xb9e940):null,'isResolvable':_0x532b78,'isSubmitted':_0x4bf2a8||_0xa179fc});this['_threads']['set'](_0x48deaf,_0x572071);for(const _0x5ade56 of _0x396969)_0x572071['_add'](this['_createNewComment']({'threadId':_0x48deaf,..._0x5ade56}));return _0x437816&&_0x572071['attachTo'](_0x437816),_0xa179fc||!_0x572071['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x1b6224,'threadId':_0x48deaf});}['_submitCommentThread']({channelId:_0x5137dd,threadId:_0x59cc29}){if(!this['hasCommentThread'](_0x59cc29))throw new _0x30344e('commentsrepository-missing-comment-thread',this);const _0x224aa0=this['getCommentThread'](_0x59cc29);if(_0x224aa0['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x414cde,comments:_0x1b9ccf,resolvedAt:_0x2fa392,resolvedBy:_0x4f9f19,context:_0x4ce4ca,attributes:_0x20254a}=_0x224aa0,_0x148f66=this['context']['plugins']['get']('PendingActions'),_0x19e676=_0x148f66['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x5137dd,'threadId':_0x414cde,'comments':_0x1b9ccf['map'](_0x324f95=>_0x324f95['toJSON']()),'resolvedAt':_0x2fa392,'resolvedBy':_0x4f9f19?_0x4f9f19['id']:_0x4f9f19,'context':_0x4ce4ca,'attributes':_0x20254a})['then'](({comments:_0x2f5be0})=>{_0x148f66['remove'](_0x19e676);for(const _0x305aa2 of _0x2f5be0)this['_updateComment']({'channelId':_0x5137dd,'threadId':_0x59cc29,'commentId':_0x305aa2['commentId'],'createdAt':_0x305aa2['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x418bae=>{throw console['error'](_0x418bae),new _0x30344e('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x7f3e58,target:_0x39650f}){const _0x525a2c=this['getCommentThread'](_0x7f3e58);if(!_0x525a2c)throw new _0x30344e('commentsrepository-attach-missing-comment-thread',this);const _0x1fef2d=this['context']['plugins']['get']('PendingActions'),_0xf0ad1c=this['context']['plugins']['get'](b),_0x186c85=this['_createCommentThreadView'](_0x525a2c),_0x3ba3e8=new wt(_0x525a2c,_0x186c85);let _0x318473=null;_0x186c85['on']('change:isDirty',(_0x245ec9,_0xeebb4a,_0x20aad5)=>{_0x20aad5?_0x318473=_0x1fef2d['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x318473&&(_0x1fef2d['remove'](_0x318473),_0x318473=null);}),this['_threadToController']['set'](_0x525a2c,_0x3ba3e8),this['_viewToController']['set'](_0x186c85,_0x3ba3e8);const _0x184e92=new V(this['context']['locale'],_0x186c85);_0x184e92['bind']('length')['to'](_0x186c85),_0x184e92['bind']('isDirty')['to'](_0x186c85,'isDirty',_0x186c85,'length',(_0x4d0281,_0x5f507c)=>_0x4d0281||!_0x5f507c),_0x184e92['bind']('isActive')['to'](_0x186c85),_0x184e92['type']='comment';const _0x4386bf=new d({'view':_0x184e92,'target':_0x39650f,'type':'comment','isVisible':!_0x525a2c['isResolved']});return this['_bindAnnotationToEditors'](_0x186c85,_0x4386bf),_0xf0ad1c['add'](_0x4386bf),_0x4386bf;}['_bindAnnotationToEditors'](_0xd1e372,_0x608aac){this['listenTo'](_0xd1e372,'editorReady',(_0x37fde8,_0x355e70)=>{const _0x22f22c=_0x355e70['ui']['view']['body']['bodyCollectionContainer'];_0x608aac['focusableElements']['add'](_0x22f22c),this['context']instanceof mt&&this['context']['ui']['focusTracker']['add'](_0x22f22c);},{'priority':'highest'}),this['listenTo'](_0xd1e372,'editorDestroyed',(_0xbf663d,_0x2eafa9)=>{const _0x49d930=_0x2eafa9['ui']['view']['body']['bodyCollectionContainer'];_0x608aac['focusableElements']['has'](_0x49d930)&&_0x608aac['focusableElements']['remove'](_0x49d930),this['context']instanceof mt&&this['context']['ui']['focusTracker']['remove'](_0x49d930);});}['_unbindEditors'](_0x495a21){this['stopListening'](_0x495a21,'editorReady'),this['stopListening'](_0x495a21,'editorDestroyed');}['_createCommentThreadView'](_0x19df8d){const _0x147512=this['context']['plugins']['get'](lt),{config:_0x37e52a,locale:_0x14ae7b}=this['context'],_0x13ef3f=dt(_0x37e52a['get']('locale'));return new(0x0,(_0x37e52a['get']('comments'))['CommentThreadView'])(_0x14ae7b,_0x19df8d,_0x147512['me'],{'editorConfig':{..._0x37e52a['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x37e52a['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x37e52a['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x37e52a['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x37e52a['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x13ef3f,'CommentView':_0x37e52a['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x5cd3d1,channelId:_0x29622a,resolvedAt:_0x5d87ed,resolvedBy:_0x4c9dcc,isFromAdapter:_0x1935ef}){if(!this['hasCommentThread'](_0x5cd3d1))throw new _0x30344e('commentsrepository-missing-comment-thread',null,{'threadId':_0x5cd3d1});const _0x4241f8=this['getCommentThread'](_0x5cd3d1);if(_0x4241f8['isResolved'])throw new _0x30344e('commentsrepository-resolved-comment-thread',null,{'threadId':_0x5cd3d1});const _0x49f0e7=this['context']['plugins']['get'](lt);if(_0x4241f8['resolvedBy']=_0x49f0e7['getUser'](_0x4c9dcc),_0x4241f8['resolvedAt']=_0x5d87ed,_0x1935ef||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x567b25=this['context']['plugins']['get']('PendingActions'),_0x3f2295=_0x567b25['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x29622a,'threadId':_0x5cd3d1})['then'](({resolvedAt:_0x319235,resolvedBy:_0x3495f0})=>{_0x567b25['remove'](_0x3f2295),_0x4241f8['resolvedBy']['id']!==_0x3495f0&&(_0x4241f8['resolvedBy']=_0x49f0e7['getUser'](_0x3495f0)),_0x4241f8['resolvedAt']=_0x319235;})['catch'](_0x29a0ae=>{throw console['error'](_0x29a0ae),new _0x30344e('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x44624c,channelId:_0x2fa896,isFromAdapter:_0x378353}){if(!this['hasCommentThread'](_0x44624c))throw new _0x30344e('commentsrepository-missing-comment-thread',null,{'threadId':_0x44624c});const _0x40ca08=this['getCommentThread'](_0x44624c);if(!_0x40ca08['isResolved'])throw new _0x30344e('commentsrepository-reopen-comment-thread',null,{'threadId':_0x44624c});if(_0x40ca08['resolvedBy']=null,_0x40ca08['resolvedAt']=null,_0x378353||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x4fa41f=this['context']['plugins']['get']('PendingActions'),_0x2b86a3=_0x4fa41f['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x2fa896,'threadId':_0x44624c})['then'](()=>_0x4fa41f['remove'](_0x2b86a3))['catch'](_0x1f5e99=>{throw console['error'](_0x1f5e99),new _0x30344e('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0xd484b5,isFromAdapter:_0x2ed8d4}){const _0x55490e=this['getCommentThread'](_0xd484b5);if(!_0x55490e)throw new _0x30344e('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0xd484b5),this['_threads']['delete'](_0xd484b5),!_0x55490e['isSubmitted']||_0x2ed8d4||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0xbbf4a0=this['context']['plugins']['get']('PendingActions'),{channelId:_0x46cb74}=_0x55490e,_0x3d14d4=_0xbbf4a0['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x46cb74,'threadId':_0xd484b5})['then'](()=>_0xbbf4a0['remove'](_0x3d14d4))['catch'](_0x2ea8c6=>{throw console['error'](_0x2ea8c6),new _0x30344e('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x3f6e3a,unlinkedAt:_0x39903b,context:_0x25b3d2,attributes:_0x8ced85,isFromAdapter:_0x32fcad}){if('string'!=typeof _0x3f6e3a)throw new _0x30344e('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x3f6e3a});if(!this['hasCommentThread'](_0x3f6e3a))throw new _0x30344e('commentsrepository-missing-comment-thread',null,{'threadId':_0x3f6e3a});const _0x2f0780=this['getCommentThread'](_0x3f6e3a);let _0x2f90ff=!0x1;if(void 0x0!==_0x25b3d2&&_0x2f0780['context']!==_0x25b3d2&&(_0x2f0780['context']=_0x25b3d2,_0x2f90ff=!0x0),void 0x0!==_0x39903b&&_0x2f0780['unlinkedAt']!==_0x39903b&&(_0x2f0780['unlinkedAt']=_0x39903b,_0x2f90ff=!0x0),_0x8ced85&&!ft(_0x8ced85,_0x2f0780['attributes'])&&(_0x2f0780['attributes']=_0x8ced85,_0x2f90ff=!0x0),!_0x2f90ff)return Promise['resolve']();if(!_0x2f0780['isSubmitted']||_0x32fcad||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x399255=this['context']['plugins']['get']('PendingActions'),{channelId:_0x20fcb3}=_0x2f0780,_0x26d6cc=_0x399255['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x20fcb3,'threadId':_0x3f6e3a,'context':_0x25b3d2,'unlinkedAt':_0x39903b,'attributes':_0x8ced85})['then'](()=>_0x399255['remove'](_0x26d6cc))['catch'](_0xd803f=>{throw console['error'](_0xd803f),new _0x30344e('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x5f3c28){const _0x24890b=this['context']['plugins']['get'](b),_0x29bf81=this['getCommentThread'](_0x5f3c28);if(this['_threadToController']['has'](_0x29bf81)){const _0x3bf070=this['_threadToController']['get'](_0x29bf81),_0x4acfaa=_0x3bf070['view'],_0x2da8b5=_0x24890b['getByInnerView'](_0x4acfaa);this['_threadToController']['delete'](_0x29bf81),this['_viewToController']['delete'](_0x4acfaa),_0x2da8b5&&_0x24890b['remove'](_0x2da8b5),_0x3bf070['destroy'](),_0x4acfaa['destroy']()['then'](()=>{this['_unbindEditors'](_0x4acfaa);});}}['_updateActiveAnnotation']({threadId:_0x19b729,resolvedAt:_0x3b8450}){const _0x39a3a1=!!_0x3b8450,_0x336ddf=this['context']['plugins']['get'](b),_0x1f6dbf=this['getCommentThread'](_0x19b729);if(this['_threadToController']['has'](_0x1f6dbf)){const _0x2c06b4=this['_threadToController']['get'](_0x1f6dbf)['view'],_0x375a0a=_0x336ddf['getByInnerView'](_0x2c06b4);_0x375a0a&&(_0x39a3a1&&_0x336ddf['_removeActiveAnnotation'](_0x375a0a),_0x375a0a['refreshVisibility']());}}['_getExternalAuthor'](_0x4ff3e3){const _0x10a41a=this['context']['plugins']['get'](lt),_0xe4487c=ct('external:'+_0x4ff3e3),_0x5507d5=_0x10a41a['getUser'](_0xe4487c);return _0x5507d5||_0x10a41a['addUser']({'id':_0xe4487c,'name':_0x4ff3e3});}['_createNewComment']({threadId:_0x3c9fe3,commentId:_0x5632e1=_0x14249b(),content:_0x484779,authorId:_0x1830e8,createdAt:_0x94c7cc,attributes:_0x3d5bd8}){if('string'!=typeof _0x5632e1)throw new _0x30344e('commentsrepository-invalid-commentid');if('string'!=typeof _0x1830e8)throw new _0x30344e('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x484779||!_0x484779['trim']())throw new _0x30344e('commentsrepository-invalid-comment-content');const _0x2cfe04=this['context']['plugins']['get'](lt)['getUser'](_0x1830e8);if(!_0x2cfe04)throw new _0x30344e('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x1830e8});let _0x33d79f=null,_0x4c8beb=_0x94c7cc;return _0x3d5bd8&&_0x3d5bd8['@external']&&(_0x33d79f=this['_getExternalAuthor'](_0x3d5bd8['@external']['authorName']),_0x4c8beb=new Date(_0x3d5bd8['@external']['createdAt'])),new se(this,{'threadId':_0x3c9fe3,'id':_0x5632e1,'author':_0x33d79f||_0x2cfe04,'creator':_0x2cfe04,'content':_0x484779,'createdAt':_0x94c7cc,'authoredAt':_0x4c8beb,'attributes':_0x3d5bd8});}['_addComment'](_0x3912f6){let {threadId:_0x4f7e0e,content:_0xf38401,attributes:_0x5f844b,isFromAdapter:_0x123af2}=_0x3912f6;const _0x43208d=this['getCommentThread'](_0x3912f6['threadId']);if(!_0x43208d)throw new _0x30344e('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x104eab=this['_createNewComment'](_0x3912f6),{id:_0x2d9b91}=_0x104eab;if(_0x43208d['_add'](_0x104eab),_0x123af2||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x43208d['isSubmitted'])return Promise['resolve']();const _0x55c8f5=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4ee101}=_0x43208d,_0x5b94c1=_0x55c8f5['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x5f844b||(_0x5f844b={}),this['adapter']['addComment']({'channelId':_0x4ee101,'threadId':_0x4f7e0e,'commentId':_0x2d9b91,'content':_0xf38401,'attributes':_0x5f844b})['then'](_0x530f68=>{_0x55c8f5['remove'](_0x5b94c1),_0x530f68&&this['_updateComment']({'channelId':_0x4ee101,'threadId':_0x4f7e0e,'commentId':_0x2d9b91,'createdAt':_0x530f68['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x1ff6a4=>{throw console['error'](_0x1ff6a4),new _0x30344e('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x5bcb7c,commentId:_0xbf45fe,content:_0x5d679d,createdAt:_0x39417f,attributes:_0x54bf0f,isFromAdapter:_0x139c66}){if(void 0x0!==_0x5d679d&&('string'!=typeof _0x5d679d||!_0x5d679d['trim']()['length']))throw new _0x30344e('commentsrepository-update-comment-invalid-content');const _0x525353=this['getCommentThread'](_0x5bcb7c),_0x94957e=_0x525353['getComment'](_0xbf45fe);if(!_0x94957e)throw new _0x30344e('commentsrepository-update-missing-comment',this);let _0xe88bf=!0x1;if(_0x5d679d&&_0x5d679d!==_0x94957e['content']&&(_0x94957e['isEditable']||_0x139c66)&&(_0x94957e['content']=_0x5d679d,_0xe88bf=!0x0),_0x39417f&&_0x39417f!==_0x94957e['createdAt']&&(_0x94957e['createdAt']=_0x39417f,_0x94957e['attributes']&&_0x94957e['attributes']['@external']||(_0x94957e['authoredAt']=_0x39417f),_0xe88bf=!0x0),_0x54bf0f&&!ft(_0x54bf0f,_0x94957e['attributes'])&&(_0x94957e['attributes']=_0x54bf0f,_0xe88bf=!0x0),!_0xe88bf)return Promise['resolve']();if(_0x525353['fire']('commentUpdated'),_0x139c66||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x154044=this['context']['plugins']['get']('PendingActions'),{channelId:_0x3423b0}=this['getCommentThread'](_0x94957e['threadId']),_0x5c5c6e=_0x154044['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x3423b0,'threadId':_0x5bcb7c,'commentId':_0xbf45fe,'content':_0x5d679d,'attributes':_0x54bf0f})['then'](()=>_0x154044['remove'](_0x5c5c6e))['catch'](_0x1d90ce=>{throw console['error'](_0x1d90ce),new _0x30344e('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x342b52,commentId:_0x1b6c69,isFromAdapter:_0x142d0b}){const _0x42df38=this['getCommentThread'](_0x342b52),_0x5d6fd5=_0x42df38['getComment'](_0x1b6c69);if(!_0x5d6fd5)throw new _0x30344e('commentsrepository-remove-missing-comment',this);if(_0x42df38['_remove'](_0x5d6fd5),_0x142d0b||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x237e1a=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2023ee}=_0x42df38,_0x421170=_0x237e1a['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x2023ee,'threadId':_0x342b52,'commentId':_0x1b6c69})['then'](()=>_0x237e1a['remove'](_0x421170))['catch'](_0x2b8b5e=>{throw console['error'](_0x2b8b5e),new _0x30344e('commentsrepository-remove-comment-internal-error',this);});}}class ie extends _0x18f31f(){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x4e9cee,_0x4d023b){super();const _0x4559b6=_0x4d023b['isResolvable'];this['channelId']=_0x4d023b['channelId'],this['id']=_0x4d023b['id'],this['comments']=new _0x57f160(),this['_repository']=_0x4e9cee,this['_isAttached']=!0x1,this['_isSubmitted']=_0x4d023b['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x4e9cee,'_permissions',_0x4e9cee,'_readOnlyChannels',()=>_0x4e9cee['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x4e9cee,'_permissions',()=>_0x4e9cee['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x4e9cee,'_permissions',()=>{const _0x4e3e6b=_0x4e9cee['getPermissions'](this['channelId']);return _0x4e3e6b['write']||_0x4e3e6b['admin'];}),this['bind']('isResolvable')['to'](_0x4e9cee,'_permissions',()=>_0x4559b6&&_0x4e9cee['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x4d023b['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x56c8c7,_0x354fea)=>_0x56c8c7?_0x354fea?_0x56c8c7<_0x354fea?_0x56c8c7:_0x354fea:_0x56c8c7:_0x354fea),this['set']('unlinkedAt',_0x4d023b['unlinkedAt']||null),this['set']('resolvedAt',_0x4d023b['resolvedAt']||null),this['set']('resolvedBy',_0x4d023b['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x150776=>!!_0x150776),this['set']('attributes',_0x4d023b['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x4d53c7,_0x5164b9)=>_0x4d53c7+_0x5164b9['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x2af2db,id:_0x553235}=this;this['_repository']['fire'](gt('submitCommentThread',_0x2af2db),{'channelId':_0x2af2db,'threadId':_0x553235});}['setUnlinkedAt'](_0x22114f){this['_update']({'unlinkedAt':_0x22114f});}['resolve']({resolvedAt:_0xbca738=new Date(),resolvedBy:_0x13ae00=null,isFromAdapter:_0x9ca2ba=!0x1}={}){const _0x1d55a3=this['_repository']['context']['plugins']['get'](lt)['me'],{channelId:_0x30991f,id:_0x1c9c90}=this;this['_repository']['fire'](gt('resolveCommentThread',_0x30991f),{'channelId':_0x30991f,'threadId':_0x1c9c90,'resolvedAt':_0xbca738,'resolvedBy':_0x13ae00||_0x1d55a3['id'],'isFromAdapter':_0x9ca2ba});}['reopen']({isFromAdapter:_0x36df91=!0x1}={}){const {channelId:_0x110371,id:_0x163679}=this;this['_repository']['fire'](gt('reopenCommentThread',_0x110371),{'channelId':_0x110371,'threadId':_0x163679,'isFromAdapter':_0x36df91});}['setContext'](_0x296be8){this['context']||this['_update']({'context':_0x296be8});}['setAttribute'](_0x34134e,_0xbb6aef){const _0x44befd=ut(this['attributes']);pt(_0x44befd,_0x34134e,_0xbb6aef),this['_update']({'attributes':_0x44befd});}['removeAttribute'](_0x59f2d3){const _0x21b65e=ut(this['attributes']);It(_0x21b65e,_0x59f2d3),this['_update']({'attributes':_0x21b65e});}['remove']({isFromAdapter:_0xd8df9e=!0x1}={}){const {channelId:_0x228e80,id:_0x479f13}=this;this['_repository']['fire'](gt('removeCommentThread',_0x228e80),{'channelId':_0x228e80,'threadId':_0x479f13,'isFromAdapter':_0xd8df9e});}['attachTo'](_0x2a6790){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x2a6790});}['addComment'](_0x21f8d4){const {channelId:_0x30d635,id:_0x219863}=this;this['_repository']['fire'](gt('addComment',_0x30d635,_0x219863),Object['assign']({'channelId':_0x30d635,'threadId':_0x219863},_0x21f8d4));}['getComment'](_0x4e91de){if('string'!=typeof _0x4e91de)throw new _0x30344e('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x4e91de});return this['comments']['get'](_0x4e91de);}['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'](_0x332e91=>_0x332e91['toJSON']()),'attributes':this['attributes']};}['_add'](_0x3220ed){return this['listenTo'](_0x3220ed,'change:authoredAt',()=>{const _0xdb632f=this['_findOptimalIndex'](_0x3220ed),_0x4d6420=this['comments'];_0xdb632f-0x1!=_0x4d6420['getIndex'](_0x3220ed)&&_0xdb632f+0x1!=_0x4d6420['getIndex'](_0x3220ed)&&(this['_remove'](_0x3220ed),this['_add'](_0x3220ed));}),this['comments']['add'](_0x3220ed,this['_findOptimalIndex'](_0x3220ed));}['_update'](_0xb362d1){const {channelId:_0x87ff0,id:_0x466393}=this;this['_repository']['fire'](gt('updateCommentThread',_0x87ff0),{..._0xb362d1,'channelId':_0x87ff0,'threadId':_0x466393});}['_remove'](_0x16c174){return this['stopListening'](_0x16c174),_0x16c174['destroy'](),this['comments']['remove'](_0x16c174);}['_findOptimalIndex'](_0x51fd6d){const _0x5875c7=this['comments']['find'](_0x519598=>new Date(_0x519598['authoredAt'])['getTime']()>new Date(_0x51fd6d['authoredAt'])['getTime']());return _0x5875c7?this['comments']['getIndex'](_0x5875c7):this['length'];}}class se extends _0x18f31f(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x344749,_0x17984b){super();const _0x18780c=_0x344749['context']['plugins']['get'](lt)['me'],_0x1d268a=_0x344749['getCommentThread'](_0x17984b['threadId']),_0x3edb90=0x0===_0x1d268a['comments']['length'],_0x5ac36e=_0x18780c===_0x17984b['author'];this['id']=_0x17984b['id'],this['threadId']=_0x17984b['threadId'],this['author']=_0x17984b['author'],this['creator']=_0x17984b['creator'],this['isExternal']=Boolean(_0x17984b['attributes']&&_0x17984b['attributes']['@external']),this['set']('content',_0x17984b['content']),this['createdAt']=_0x17984b['createdAt']||new Date(),this['set']('authoredAt',_0x17984b['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x1d268a,'resolvedAt'),this['set']('attributes',_0x17984b['attributes']||{}),this['bind']('isEditable')['to'](_0x344749,'_permissions',()=>{const _0x118950=_0x344749['getPermissions'](_0x1d268a['channelId'])['write'],_0x5f247c=_0x344749['getPermissions'](_0x1d268a['channelId'])['modifyAll'];return _0x5ac36e&&_0x118950||!_0x5ac36e&&_0x5f247c;}),this['bind']('isRemovable')['to'](_0x1d268a,'isRemovable',_0x344749,'_permissions',_0x39cd45=>{const _0x237484=_0x344749['getPermissions'](_0x1d268a['channelId'])['write'],_0x4e4b92=_0x344749['getPermissions'](_0x1d268a['channelId'])['modifyAll'];return _0x5ac36e&&_0x237484||_0x39cd45&&_0x3edb90||!_0x5ac36e&&_0x4e4b92&&!_0x3edb90;}),this['bind']('isReadOnly')['to'](_0x1d268a,'isReadOnly'),this['_repository']=_0x344749;}get['weight'](){return Math['max'](function(_0x215391){const _0x3a58d2=document['createElement']('div');return _0x3a58d2['innerHTML']=_0x215391,_0x3a58d2['textContent']['length'];}(this['content']),0xc8);}['update'](_0xdd0333){const {threadId:_0x5a3ca0,id:_0x189452}=this;if(!this['_repository']['hasCommentThread'](_0x5a3ca0))throw new _0x30344e('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x434255}=this['_repository']['getCommentThread'](_0x5a3ca0);this['_repository']['fire'](gt('updateComment',_0x434255,_0x5a3ca0),{'channelId':_0x434255,'threadId':_0x5a3ca0,'commentId':_0x189452,..._0xdd0333});}['setAttribute'](_0x278a36,_0x54cafd){const _0x16a0c5=ut(this['attributes']);pt(_0x16a0c5,_0x278a36,_0x54cafd),this['update']({'attributes':_0x16a0c5});}['removeAttribute'](_0x1c9e3b){const _0x43fe2b=ut(this['attributes']);It(_0x43fe2b,_0x1c9e3b),this['update']({'attributes':_0x43fe2b});}['remove'](_0x548963={}){if(!_0x548963['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x268595,id:_0x316f41}=this;if(!this['_repository']['hasCommentThread'](_0x268595))throw new _0x30344e('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x1d6c37}=this['_repository']['getCommentThread'](_0x268595);this['_repository']['fire'](gt('removeComment',_0x1d6c37,_0x268595),{'channelId':_0x1d6c37,'threadId':_0x268595,'commentId':_0x316f41,..._0x548963});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function gt(_0x2b50e9,..._0x59862e){for(const _0x2c3af of _0x59862e)void 0x0!==_0x2c3af&&(_0x2b50e9+=':'+String(_0x2c3af));return _0x2b50e9;}class G extends _0x2a43d2{['refresh'](){const _0x49bcf5=this['editor']['model']['document']['selection'];for(const _0x1b5ca5 of _0x49bcf5['getRanges']())if(this['_hasContent'](_0x1b5ca5))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['execute']({threadId:_0xd986c=_0x14249b()}={}){const _0x52583a=this['editor']['model'],_0x3654b6=[];for(const _0xab00b7 of _0x52583a['document']['selection']['getRanges']())this['_hasContent'](_0xab00b7)&&_0x3654b6['push'](this['_trimToContent'](_0xab00b7));_0x52583a['change'](_0x5cdbc1=>{for(const _0x4189b9 of _0x3654b6){const _0xec8efd=_0x14249b()['substr'](0x1,0x5),_0x25cd5c='comment:'+_0xd986c+':'+_0xec8efd;_0x5cdbc1['addMarker'](_0x25cd5c,{'range':_0x4189b9,'usingOperation':!0x1,'affectsData':!0x1});}});}['_hasContent'](_0x33ef5b){for(const _0x251c77 of _0x33ef5b['getItems']())if(this['_itemIsContent'](_0x251c77))return!0x0;return!0x1;}['_itemIsContent'](_0x503670){return _0x503670['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x503670)&&!_0x503670['is']('element','tableCell');}['_trimToContent'](_0x272dc9){const _0x543a87=_0x339f3b=>!this['_itemIsContent'](_0x339f3b['item']),_0xa4ee6d=_0x272dc9['start']['getLastMatchingPosition'](_0x543a87),_0x317d4d=_0x272dc9['end']['getLastMatchingPosition'](_0x543a87,{'direction':'backward'});return this['editor']['model']['createRange'](_0xa4ee6d,_0x317d4d);}}class k extends _0x4a1d1b{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[b];}static get['pluginName'](){return'EditorAnnotations';}constructor(_0x465ace){super(_0x465ace),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x529af1=this['editor'],_0x285b58=_0x529af1['model']['document']['selection'],_0x3b538b=_0x307530(()=>this['refreshSelectedViews'](),0xa);_0x285b58['on']('change:range',(_0x307a95,_0xfbefa7)=>{_0xfbefa7['directChange']&&(_0x3b538b['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x529af1['editing']['view']['document'],'change:isFocused',(_0x186ed2,_0x221091,_0x37f082)=>{_0x37f082&&_0x3b538b();}),this['listenTo'](_0x529af1['ui']['focusTracker'],'change:isFocused',(_0x5a35a1,_0x2b3ab0,_0x8bf07c)=>{_0x8bf07c||_0x529af1['isReadOnly']||this['fire']('blur',{'isAnnotationTracked':_0x39e28f=>this['_editorAnnotationsData']['has'](_0x39e28f['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x5cd814){if(this['_editorAnnotations']['has'](_0x5cd814['view']))return;this['_editorAnnotations']['add'](_0x5cd814['view']),this['editor']['ui']['focusTracker']['add'](_0x5cd814['view']['element']);const _0x3109dc=this['editor']['plugins']['get'](b);this['listenTo'](_0x3109dc['collection'],'remove',(_0x4b0c16,_0x318280)=>{this['editor']['ui']['focusTracker']['remove'](_0x318280['view']['element']),this['_editorAnnotations']['delete'](_0x318280['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x51e5df){if('function'!=typeof _0x51e5df)throw new _0x30344e('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x51e5df);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x5539e0,annotations:_0x495fbb}){const _0x410006=[],_0x519f2d=this['editor']['model']['document']['selection'],_0x3d5c2b=Array['from'](_0x519f2d['getRanges']());for(const [_0x536d7c,_0x2556ca]of this['_editorAnnotationsData']){const _0x3e5d45=_0x1234e9(_0x2556ca),_0x5e8873=_0x495fbb['getByInnerView'](_0x536d7c);_0x3e5d45&&_0x5e8873&&_0x410006['push']({'annotation':_0x5e8873,'range':_0x3e5d45});}function _0x1234e9(_0x228342){for(const _0x33c408 of _0x228342)for(const _0x218ef7 of _0x3d5c2b)if(_0x33c408['containsRange'](_0x218ef7,!_0x519f2d['isCollapsed']))return _0x33c408;return null;}return _0x410006['sort']((_0x40ead4,_0x35e1a8)=>{const _0x285356=_0x40ead4['range'],_0x44f95a=_0x35e1a8['range'];if(!_0x285356['isEqual'](_0x44f95a)){if(_0x285356['containsRange'](_0x44f95a,!0x0))return 0x1;if(_0x44f95a['containsRange'](_0x285356,!0x0))return-0x1;}return _0x40ead4['annotation']==_0x5539e0?-0x1:_0x35e1a8['annotation']==_0x5539e0?0x1:0x0;})['map'](_0x1f63ea=>_0x1f63ea['annotation']);}get['_editorAnnotationsData'](){const _0x4ee6e7=new Map();for(const _0x185011 of Array['from'](this['_dataCollectors']))for(const [_0x202427,_0x4cc734]of _0x185011())_0x4ee6e7['set'](_0x202427,_0x4cc734);return _0x4ee6e7;}}class ot extends _0x4a1d1b{['afterInit'](){const _0x2fc450=this['editor'];if(!_0x2fc450['plugins']['has']('RestrictedEditingModeEditing'))return;_0x2fc450['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class et extends _0x4a1d1b{constructor(_0x3b817a){super(_0x3b817a),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x5f008e=this['editor'],_0x1fdc39=_0x5f008e['commands']['get']('importWord'),_0x5e24eb=_0x5f008e['plugins']['get'](lt);_0x1fdc39&&(_0x1fdc39['on']('execute',(_0x179739,[,_0x3633f6])=>{_0x3633f6['collaboration_features']={'comments':!0x0,'user_id':_0x5e24eb['me']['id']};},{'priority':Wt['high']+0xa}),this['listenTo'](_0x1fdc39,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x12eccd,_0x23ba00){const {comment_threads:_0x344d7c}=_0x23ba00;_0x344d7c&&_0x344d7c['forEach'](({thread_id:_0x314a9f,comments:_0x4b2679,is_resolved:_0x5223e8})=>{const _0xb727c0=new Date(),_0x302b95=_0x4b2679['map'](({author:_0x1c40f0,content:_0x79c76c,created_at:_0x5f046c})=>({'content':_0x79c76c,'authorId':this['editor']['plugins']['get'](lt)['me']['id'],'createdAt':_0xb727c0,'attributes':{'@external':{'authorName':_0x1c40f0,'createdAt':_0x5f046c?new Date(_0x5f046c):new Date(),'source':'importWord'}}})),_0xc68766=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](m)['addCommentThread']({'channelId':_0xc68766,'threadId':_0x314a9f,'comments':_0x302b95,'resolvedAt':_0x5223e8?_0xb727c0:null});});}}class rt extends _0x4a1d1b{constructor(_0x33f74b){super(_0x33f74b),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[Mt,Pt];}['afterInit'](){const _0x3252aa=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x3252aa,'contentInsertion',(_0x3162fc,_0x35671a)=>this['_removeMarkersWithoutThreads'](_0x35671a['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x36352e){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x36352e;const _0x488a2e=this['editor']['plugins']['get']('CommentsRepository');for(const _0x24d8ae of _0x36352e['keys']()){const [_0x404f1c,_0x4e403a]=_0x24d8ae['split'](':');'comment'!=_0x404f1c||_0x488a2e['hasCommentThread'](_0x4e403a)||_0x36352e['delete'](_0x24d8ae);}return _0x36352e;}['_registerMarkerInClipboardPipeline'](){const _0x40e036=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x52d351=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x52d351&&_0x40e036['_registerMarkerToCopy']('comment',_0x52d351);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x3ed9a7){switch(_0x3ed9a7){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 _0x4a1d1b{static get['requires'](){return[m,k,ot,et,rt];}static get['pluginName'](){return'CommentsEditing';}constructor(_0x31783a){super(_0x31783a),this['set']('isThreadsLoadingPaused',!0x0),_0x31783a['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x1a4dfc,_0x141be,_0x21de2a,_0x2e0bdd)=>{const _0x3d9648=_0x21de2a?it(_0x21de2a)['id']:null;if(_0x31783a['model']['change'](()=>{if(_0x3d9648){const _0xe8df29=this['getAllMarkersForId'](_0x3d9648);for(const _0x3884dd of _0xe8df29)_0x31783a['editing']['reconvertMarker'](_0x3884dd);}if(_0x2e0bdd){const {id:_0x3c0c3c}=it(_0x2e0bdd),_0x58ab5c=this['getAllMarkersForId'](_0x3c0c3c);for(const _0x2d3d9c of _0x58ab5c)_0x31783a['editing']['reconvertMarker'](_0x2d3d9c);}}),_0x3d9648){const _0x169c25=_0x31783a['plugins']['get'](m)['getCommentThread'](_0x3d9648);_0x169c25&&_0x169c25['isResolved']&&this['scrollToThreadMarker'](_0x3d9648);}}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x39a520=this['editor'],_0x432187=_0x39a520['plugins']['get'](m),_0x5c66c9=_0x39a520['config']['get']('collaboration.channelId');_0x39a520['commands']['add']('addCommentThread',new G(_0x39a520)),this['listenTo'](_0x39a520,'change:isReadOnly',(_0x404be0,_0x2edd04,_0x420db9)=>{_0x432187['switchReadOnly'](_0x420db9,_0x39a520['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x432187,nt('addCommentThread',_0x5c66c9),(_0x5c6308,{threadId:_0x5e5191})=>{const _0x22ee05=this['editor']['plugins']['get'](m)['getCommentThread'](_0x5e5191);_0x22ee05&&_0x22ee05['unlinkedAt']&&this['_attachArchivedThread'](_0x5e5191);}),this['listenTo'](_0x432187,nt('removeCommentThread',_0x5c66c9),(_0x14771b,{threadId:_0x2e6d82})=>{_0x39a520['model']['enqueueChange']({'isUndoable':!0x1},_0x30a17d=>{const _0x4dbb24=this['getAllMarkersForId'](_0x2e6d82);for(const _0x226d96 of _0x4dbb24)_0x30a17d['removeMarker'](_0x226d96);});}),this['listenTo'](_0x432187,nt('resolveCommentThread',_0x5c66c9),(_0x419274,{threadId:_0x55e6f8})=>{(this['_reconvertMarkers'](_0x55e6f8),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](m)['getCommentThread'](_0x55e6f8)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x432187,nt('reopenCommentThread',_0x5c66c9),(_0xf2c083,{threadId:_0x350af9})=>{this['_reconvertMarkers'](_0x350af9);},{'priority':'low'}),this['listenTo'](_0x432187,nt('addComment',_0x5c66c9),(_0x2d76cf,{threadId:_0x2d3431,isFromAdapter:_0x58624c})=>{const _0x1dbb1a=this['getAllMarkersForId'](_0x2d3431);if(_0x58624c||0x0==_0x1dbb1a['length']||!_0x432187['hasCommentThread'](_0x2d3431))return;0x1===_0x432187['getCommentThread'](_0x2d3431)['length']&&_0x39a520['model']['enqueueChange']({'isUndoable':!0x1},_0x3d9e6e=>{for(const _0xa2a86a of _0x1dbb1a)_0x3d9e6e['updateMarker'](_0xa2a86a,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove']();}['destroy'](){const _0x36f779=this['editor']['plugins']['get'](m),_0x4ac0bf=this['editor']['config']['get']('collaboration.channelId');for(const _0x13ab6f of _0x36f779['getCommentThreads']({'channelId':_0x4ac0bf}))_0x36f779['_detachCommentThread'](_0x13ab6f['id']),_0x36f779['_threads']['delete'](_0x13ab6f['id']);super['destroy']();}['hasMarkerForId'](_0x38c035){return this['getAllMarkersForId'](_0x38c035)['length']>0x0;}['getAllMarkersForId'](_0x13c868){const _0x40a9cd=[];for(const _0x4c8d9c of this['editor']['model']['markers'])_0x4c8d9c['name']['startsWith']('comment:'+_0x13c868)&&_0x40a9cd['push'](_0x4c8d9c);return _0x40a9cd;}['scrollToThreadMarker'](_0x382d8b){const _0xa1a5aa=this['_getTargetForId'](_0x382d8b);_0xa1a5aa&&setTimeout(()=>{this['activeMarker']&&it(this['activeMarker'])['id']===_0x382d8b&&_0x2da865({'target':_0xa1a5aa[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x29cb7e){this['editor']['model']['change'](()=>{for(const _0x24ab75 of this['getAllMarkersForId'](_0x29cb7e))this['editor']['editing']['reconvertMarker'](_0x24ab75);});}['_attachArchivedThread'](_0x429e61){const _0x153bd5=this['editor']['plugins']['get'](m),_0x1fab55=this['editor']['plugins']['get'](k),_0x4b822a=_0x153bd5['getCommentThread'](_0x429e61);if(!_0x4b822a['isAttached']){const _0x261bdd=_0x4b822a['attachTo'](()=>this['_getTargetForId'](_0x4b822a['id']));_0x1fab55['registerAnnotation'](_0x261bdd),_0x4b822a['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x4a641e=this['editor'];_0x4a641e['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x10a59b,_0x44ec64)=>{const {id:_0x10f28f}=it(_0x10a59b['markerName']),_0x416ece=_0x4a641e['plugins']['get'](m)['getCommentThread'](_0x10f28f),_0x2a2466=this['activeMarker']&&it(this['activeMarker'])['id']===_0x10f28f;if(_0x416ece&&_0x416ece['isResolved']&&!_0x2a2466&&_0x10a59b['item'])return _0x44ec64['consumable']['consume'](_0x10a59b['item'],'addMarker:'+_0x10a59b['markerName']),_0x44ec64['consumable']['consume'](_0x10a59b['item'],'removeMarker:'+_0x10a59b['markerName']),null;const _0x5dbf2f=['ck-comment-marker'];return _0x2a2466&&_0x5dbf2f['push']('ck-comment-marker--active'),{'classes':_0x5dbf2f,'attributes':{'data-comment':_0x10f28f}};}}),_0x4a641e['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0xa664c2,{options:_0x57ec6b})=>{const _0x7f1020=_0x4a641e['plugins']['get'](m),_0x1f7c16=_0x4a641e['model']['markers']['get'](_0xa664c2),{id:_0x5d2935,part:_0x3de989}=it(_0xa664c2);if(_0x1f7c16&&!_0x1f7c16['affectsData'])return null;if(_0x57ec6b['ignoreResolvedComments']){const _0x176012=_0x7f1020['getCommentThread'](_0x5d2935);if(_0x176012&&_0x176012['isResolved'])return null;}return{'group':'comment','name':_0x3de989?_0x5d2935+':'+_0x3de989:_0x5d2935};}}),_0x4a641e['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x3b46e3,{writer:_0x1bde71})=>_0x1bde71['createElement']('$marker',{'data-name':'comment:'+_0x3b46e3['getAttribute']('id')})}),_0x4a641e['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x185641=this['editor'],_0xb200a7=_0x185641['plugins']['get'](m),_0x38a910=new Set(),_0x269c07=new Set();_0x185641['model']['document']['registerPostFixer'](_0x3b10f9=>{let _0x6d70a4=!0x1;for(const {name:_0x5b5dda,data:_0x37b930}of _0x185641['model']['document']['differ']['getChangedMarkers']()){const {group:_0x561c61,id:_0x5616a3}=it(_0x5b5dda);let _0x275ef2=_0x37b930['newRange'];if('comment'!==_0x561c61||!_0x275ef2)continue;const _0x299e49='$graveyard'===_0x275ef2['root']['rootName'];_0x299e49||(_0x275ef2=st(_0x275ef2,_0x185641['model']),!_0x275ef2||_0x275ef2['isCollapsed']||!_0x37b930['newRange']||_0x275ef2['isEqual'](_0x37b930['newRange']))?_0x185641['model']['hasContent'](_0x275ef2)&&!_0x299e49?this['isThreadsLoadingPaused']?_0x38a910['add'](_0x5b5dda):this['_handleThreadMarker'](_0x5b5dda,_0x5616a3):(_0x269c07['add'](_0x5b5dda),_0x38a910['delete'](_0x5b5dda),_0x3b10f9['removeMarker'](_0x5b5dda),_0x6d70a4=!0x0):(_0x3b10f9['updateMarker'](_0x5b5dda,{'range':_0x275ef2}),_0x6d70a4=!0x0);}return _0x6d70a4;}),this['on']('change:isThreadsLoadingPaused',(_0x12a11c,_0x3d651d,_0x28d36f)=>{if(!_0x28d36f&&_0x38a910['size'])for(const _0x2b6b6b of _0x38a910){const {id:_0x4debc9}=it(_0x2b6b6b);_0x38a910['delete'](_0x2b6b6b),_0x185641['model']['markers']['get'](_0x2b6b6b)&&this['_handleThreadMarker'](_0x2b6b6b,_0x4debc9);}}),this['listenTo'](_0x185641['model']['document'],'change',(_0x2fd8c8,_0x2bf17b)=>{for(const {name:_0x487d84,data:{newRange:_0x26200f}}of _0x185641['model']['document']['differ']['getChangedMarkers']()){const {group:_0xacdf06,id:_0x18c8ea}=it(_0x487d84);if('comment'!==_0xacdf06)continue;const _0x328125=_0xb200a7['getCommentThread'](_0x18c8ea),_0x507c65=this['hasMarkerForId'](_0x18c8ea);_0x328125&&(_0x328125['_hasTargetInContent']||_0x185641['editing']['view']['once']('render',()=>{const _0x5957de=_0x185641['plugins']['get'](b),_0xb4345=_0xb200a7['_threadToController']['get'](_0x328125)['view'];_0x5957de['getByInnerView'](_0xb4345)['refreshVisibility']();},{'priority':'low'}),_0x328125['_hasTargetInContent']=_0x507c65||!!_0x26200f),_0x26200f||(_0x269c07['add'](_0x487d84),_0x38a910['delete'](_0x487d84));}if(_0x2bf17b['isLocal'])for(const _0x41243c of _0x269c07){const {id:_0x2c8152}=it(_0x41243c),_0x1bedcb=_0xb200a7['getCommentThread'](_0x2c8152),_0xcaf852=this['hasMarkerForId'](_0x2c8152);_0x38a910['delete'](_0x41243c),!_0x1bedcb||_0xcaf852||_0x1bedcb['unlinkedAt']||_0x1bedcb['setUnlinkedAt'](new Date());}_0x269c07['clear']();});}['_getTargetForId'](_0x28ccae){const _0x3ff23b=this['editor'],_0x257fc8=this['getAllMarkersForId'](_0x28ccae);return tt(_0x3ff23b['editing'],_0x257fc8);}['_getTextContext'](_0x1aae63){const _0x1da072=this['getAllMarkersForId'](_0x1aae63);let _0x547aa0='',_0xd87db6=!0x1;for(const _0xe86ddd of _0x1da072){const _0x1ad1e7=_0xe86ddd['getRange']();for(const _0x1e35dc of Array['from'](_0x1ad1e7['getItems']()))_0x1e35dc['is']('$textProxy')?(_0x547aa0&&_0xd87db6&&(_0x547aa0+='\x20',_0xd87db6=!0x1),_0x547aa0+=_0x1e35dc['data']):_0xd87db6=!0x0;_0xd87db6=!0x0;}return _0x547aa0['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x4c8aa5,_0x56e92d){const _0x24b2ec=this['editor'],_0x39712d=_0x24b2ec['plugins']['get'](m);let _0xaaa593=_0x39712d['getCommentThread'](_0x56e92d);const _0x50ede7=_0x24b2ec['config']['get']('collaboration.channelId'),_0x2f28e6=_0x24b2ec['plugins']['get'](k);if(_0xaaa593&&(_0xaaa593['unlinkedAt']&&_0xaaa593['setUnlinkedAt'](null),_0xaaa593['isAttached']))return _0xaaa593;return!this['getAllMarkersForId'](_0x56e92d)[0x0]['managedUsingOperations']?_0x24b2ec['editing']['view']['once']('render',()=>{if(_0x39712d['getCommentThread'](_0x56e92d))return;const _0x193a33=_0x24b2ec['plugins']['get'](b);_0xaaa593=_0x39712d['openNewCommentThread']({'channelId':_0x50ede7,'threadId':_0x56e92d,'target':()=>this['_getTargetForId'](_0x56e92d),'context':{'type':'text','value':this['_getTextContext'](_0x56e92d)}});const _0x51deb5=_0x39712d['_threadToController']['get'](_0xaaa593)['view'],_0x38c1a2=_0x193a33['getByInnerView'](_0x51deb5);_0x38c1a2&&_0x2f28e6['registerAnnotation'](_0x38c1a2);},{'priority':'low'}):_0x39712d['fetchCommentThread']({'channelId':_0x50ede7,'threadId':_0x56e92d})['then'](_0x3115ab=>{if('destroyed'!==_0x24b2ec['state']){if(_0xaaa593=_0x3115ab,_0xaaa593&&!_0xaaa593['isAttached']){const _0x432852=_0xaaa593['attachTo'](()=>this['_getTargetForId'](_0x56e92d));_0x2f28e6['registerAnnotation'](_0x432852),_0xaaa593['isResolved']&&this['_reconvertMarkers'](_0x56e92d);}else{if(!_0xaaa593){const _0x44e295=this['getAllMarkersForId'](_0x56e92d);_0x24b2ec['model']['change'](_0x24e734=>{for(const _0x9bcf37 of _0x44e295)_0x24e734['removeMarker'](_0x9bcf37);});}}}}),_0xaaa593;}['_handleThreadMarker'](_0x4b2204,_0x22a348){const _0x4586c1=this['_attachMarkerToThread'](_0x4b2204,_0x22a348);_0x4586c1&&!_0x4586c1['context']&&_0x4586c1['setContext']({'type':'text','value':this['_getTextContext'](_0x22a348)});}['_initAriaMarkerChangeAnnouncements'](){const _0x122739=this['editor'];_0x5079a1(_0x122739['model'],({left:_0x420ef1,entered:_0x400dbf})=>{for(const _0x4bac66 of _0x420ef1)if(at(_0x4bac66)){_0x122739['ui']['ariaLiveAnnouncer']['announce'](W(_0x122739['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x4b065a of _0x400dbf)if(at(_0x4b065a)){_0x122739['ui']['ariaLiveAnnouncer']['announce'](W(_0x122739['locale'],'ENTER_COMMENT_ANNOUNCEMENT'));break;}});}}function nt(_0x1504b0,_0x19ee6c){return _0x19ee6c?_0x1504b0+':'+_0x19ee6c:_0x1504b0;}function it(_0x4ef1c3){const _0x3b308e=_0x4ef1c3['split'](':');return{'group':_0x3b308e[0x0],'id':_0x3b308e[0x1],'part':_0x3b308e[0x2]};}function st(_0x412b36,_0xa946ae){const _0x2d7f13=_0xa946ae['schema'],_0x3331f5=_0xa946ae['createRange'](_0x412b36['start']);for(const _0x46bcbb of _0x412b36['getWalker']()){const {type:_0x40a17a,item:_0x494a3f,nextPosition:_0x1cf8e6}=_0x46bcbb;if('text'===_0x40a17a||_0x2d7f13['isObject'](_0x494a3f)){const _0x10ffc6=_0xa946ae['createPositionBefore'](_0x494a3f);_0x3331f5['isCollapsed']&&(_0x3331f5['start']=_0x10ffc6),_0x3331f5['end']=_0x1cf8e6;}}return _0x3331f5;}function at(_0x3457c){return'comment'===it(_0x3457c['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 _0x4a1d1b{static get['pluginName'](){return'CommentsUI';}static get['requires'](){return[m,r,k,b];}get['CommentsListView'](){return xt;}get['CommentThreadInputView'](){return Tt;}['init'](){const _0x1b9e02=this['editor'],_0x3c964a=_0x1b9e02['plugins']['get'](m),_0x2c9504=_0x1b9e02['plugins']['get'](r),_0x365cb1=_0x1b9e02['plugins']['get'](b),_0x5a9e44=_0x1b9e02['plugins']['get'](k);_0x1b9e02['ui']['componentFactory']['add']('comment',()=>{const _0x5c6f65=this['_createUIButton'](_0x406c81);return _0x5c6f65['tooltip']=!0x0,_0x5c6f65;}),_0x1b9e02['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x12203b)),_0x5a9e44['addSourceCollector'](()=>{const _0x49bcdf=[];for(const [_0x3bf886,_0x279d69]of _0x3c964a['_threadToController']){const _0x42dc43=_0x2c9504['getAllMarkersForId'](_0x3bf886['id']),_0x4804c8=_0x42dc43['map'](_0x1f7ba4=>_0x1f7ba4['getRange']());_0x42dc43['length']>0x0&&_0x49bcdf['push']([_0x279d69['view'],_0x4804c8]);}return _0x49bcdf;}),this['listenTo'](_0x365cb1,'change:activeAnnotations',(_0x554601,_0x2b4c06,_0x4be81f)=>{const _0x49c109=Array['from'](_0x4be81f)['map'](_0x1cdb08=>_0x1cdb08['innerView'])['find'](_0x3e5ac5=>_0x3c964a['_viewToController']['has'](_0x3e5ac5));if(!_0x49c109)return void(_0x2c9504['activeMarker']=null);const _0x10cc8a=_0x3c964a['_viewToController']['get'](_0x49c109)['model']['id'],_0x25ff57='comment:'+_0x10cc8a;_0x10cc8a&&_0x2c9504['hasMarkerForId'](_0x10cc8a)?_0x2c9504['activeMarker']=_0x25ff57:_0x2c9504['activeMarker']&&(_0x2c9504['activeMarker']=null);}),this['listenTo'](_0x3c964a,'removeCommentThread',(_0x3395ce,{threadId:_0x3713b0,isFromAdapter:_0x52443c})=>{!_0x52443c&&_0x1b9e02['ui']['focusTracker']['isFocused']&&_0x2c9504['hasMarkerForId'](_0x3713b0)&&_0x1b9e02['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x3c964a,'addComment',(_0x346d4e,{threadId:_0x144e5c,isFromAdapter:_0x572508})=>{if(_0x572508||!_0x2c9504['hasMarkerForId'](_0x144e5c)||!_0x3c964a['hasCommentThread'](_0x144e5c))return;0x1===_0x3c964a['getCommentThread'](_0x144e5c)['length']&&(_0x1b9e02['editing']['view']['focus'](),_0x346d4e['stop']());},{'priority':'low'});}['_createUIButton'](_0x1aefef){const _0x283173=this['editor'],_0x26d689=new _0x1aefef(_0x283173['locale']),_0x2b83f9=_0x283173['commands']['get']('addCommentThread');return _0x26d689['set']({'label':W(_0x283173['locale'],'Comment'),'icon':kt}),_0x26d689['bind']('isEnabled')['to'](_0x2b83f9),this['listenTo'](_0x26d689,'execute',()=>_0x2b83f9['execute']()),_0x26d689;}}class e extends _0x4a1d1b{static get['pluginName'](){return'CommentsOnly';}static get['requires'](){return[r];}constructor(_0x106104){super(_0x106104),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x4c9178,_0x96d038,_0x292838)=>{_0x292838?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x2a0cf9,_0x3db910]of this['editor']['commands'])_0x3db910['affectsData']&&'addCommentThread'!==_0x2a0cf9&&_0x3db910['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode');const _0x22849c=this['editor']['editing']['view']['document'];this['listenTo'](_0x22849c,'cut',_0x21171d=>_0x21171d['stop'](),{'priority':'highest'}),this['listenTo'](_0x22849c,'clipboardInput',_0x2e951f=>_0x2e951f['stop'](),{'priority':'highest'}),this['listenTo'](_0x22849c,'delete',_0x13015e=>_0x13015e['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x1239d6,_0x34e4d7]of this['editor']['commands'])_0x34e4d7['affectsData']&&'addCommentThread'!==_0x1239d6&&_0x34e4d7['clearForceDisabled']('commentsOnlyMode');this['stopListening'](this['editor']['editing']['view']['document']);}}class j extends _0x2b451d{['activeUIs'];['_uis'];['_uisData'];static get['requires'](){return[b];}static get['pluginName'](){return'AnnotationsUIs';}constructor(_0xc6dd19){super(_0xc6dd19),this['activeUIs']=new Set(),this['_uis']=new Map(),this['_uisData']=new Map();}['init'](){const _0x18ddca=this['context']['plugins']['get'](b);this['listenTo'](_0x18ddca,'_activateAnnotation',(_0x2e953d,_0x57aaab)=>{for(const _0x452f8a of this['activeUIs']){const _0x6263e3=this['_uis']['get'](_0x452f8a);(0x0,this['_uisData']['get'](_0x452f8a)['filter'])(_0x57aaab)&&_0x6263e3['setActiveAnnotation'](_0x57aaab);}}),this['listenTo'](_0x18ddca,'_deactivateAllAnnotations',()=>{for(const _0x55becb of this['activeUIs']){this['_uis']['get'](_0x55becb)['setActiveAnnotation'](null);}}),this['listenTo'](_0x18ddca['_visibleAnnotations'],'add',(_0x439113,_0x4351d7)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x4351d7);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x758ebc){return this['activeUIs']['has'](_0x758ebc);}['activate'](_0x2697b1,_0x2b1bb1=()=>!0x0){const _0x12f6aa=this['context']['plugins']['get'](b);if(!this['_uis']['has'](_0x2697b1))throw new _0x30344e('annotationsuis-missing-ui',this,{'uiName':_0x2697b1});this['isActive'](_0x2697b1)&&this['deactivate'](_0x2697b1),this['activeUIs']['add'](_0x2697b1);const _0x5ced5f=new x();!function({source:_0x416027,target:_0x4022a6,filter:_0x3a5c3d}){for(const _0x4eea3d of _0x416027)_0x3a5c3d(_0x4eea3d)&&_0x4022a6['add'](_0x4eea3d);_0x4022a6['listenTo'](_0x416027,'add',(_0x31e653,_0x116db4)=>{_0x3a5c3d(_0x116db4)&&_0x4022a6['add'](_0x116db4);}),_0x4022a6['listenTo'](_0x416027,'remove',(_0x526e42,_0x2799f6)=>{_0x4022a6['has'](_0x2799f6)&&_0x4022a6['remove'](_0x2799f6);});}({'source':_0x12f6aa['_visibleAnnotations'],'target':_0x5ced5f,'filter':_0x2b1bb1}),this['_uisData']['set'](_0x2697b1,{'collection':_0x5ced5f,'filter':_0x2b1bb1});const _0x353130=this['_uis']['get'](_0x2697b1);_0x353130['attach'](_0x5ced5f),this['listenTo'](_0x353130,'change:activeAnnotation',(_0x37e9fa,_0x4a7dd3,_0x14bfcb,_0x1ad2b0)=>{_0x1ad2b0&&_0x12f6aa['_removeActiveAnnotation'](_0x1ad2b0),_0x14bfcb&&_0x12f6aa['_addActiveAnnotation'](_0x14bfcb);});}['deactivate'](_0x375819){if(this['activeUIs']['delete'](_0x375819),!this['_uis']['has'](_0x375819))throw new _0x30344e('annotationsuis-missing-ui',this,{'uiName':_0x375819});const _0x1fc979=this['_uis']['get'](_0x375819);_0x1fc979['detach'](),this['stopListening'](_0x1fc979),this['_uisData']['get'](_0x375819)['collection']['destroy'](),this['_uisData']['delete'](_0x375819);}['switchTo'](_0x197559){if(!this['_uis']['has'](_0x197559))throw new _0x30344e('annotationsuis-missing-ui',this,{'uiName':_0x197559});const _0x207846=this['context']['plugins']['get'](b),_0x3b4184=Array['from'](_0x207846['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x197559);const _0x2daa58=this['_uis']['get'](_0x197559);_0x2daa58['setActiveAnnotation'](_0x3b4184),_0x2daa58['_setSelectedAnnotations']&&_0x3b4184&&_0x2daa58['_setSelectedAnnotations']([_0x3b4184]);}['deactivateAll'](){for(const _0x387e89 of this['activeUIs'])this['deactivate'](_0x387e89);}['register'](_0x3fd1b7,_0x4d4eec){if(this['_uis']['has'](_0x3fd1b7))throw new _0x30344e('annotationsuis-register-already-registered');if('function'!=typeof _0x4d4eec['attach']||'function'!=typeof _0x4d4eec['detach']||'function'!=typeof _0x4d4eec['setActiveAnnotation'])throw new _0x30344e('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x3fd1b7,_0x4d4eec);}['refilterAnnotations'](){const _0x27d8f1=this['context']['plugins']['get'](b)['collection'],_0x230e87=new Map(),_0xcbc4c4=Array['from'](this['activeUIs']);for(const _0x47cc65 of this['activeUIs']){const _0x490275=this['_uisData']['get'](_0x47cc65)['collection'];for(const _0xa9837f of _0x490275)_0x230e87['set'](_0xa9837f,_0x47cc65);}for(const _0x2fc326 of _0x27d8f1){const _0x4da0dc=_0x230e87['get'](_0x2fc326);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x2fc326);const _0x3bc6d3=_0xcbc4c4['find'](_0x3fe80b=>this['_uisData']['get'](_0x3fe80b)['filter'](_0x2fc326));_0x4da0dc!==_0x3bc6d3&&(_0x4da0dc&&this['_uisData']['get'](_0x4da0dc)['collection']['remove'](_0x2fc326),_0x3bc6d3&&this['_uisData']['get'](_0x3bc6d3)['collection']['add'](_0x2fc326));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x5ddc17){const _0x51ab55=[];for(const _0x1a91ab of this['activeUIs']){(0x0,this['_uisData']['get'](_0x1a91ab)['filter'])(_0x5ddc17)&&_0x51ab55['push'](_0x1a91ab);}if(_0x51ab55['length']>0x1)throw new _0x30344e('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x51ab55,'annotationType':_0x5ddc17['type']});}}const ne=Ht('px');class T extends _t{['list'];constructor(_0x1644c4){super(_0x1644c4);const _0x23bf8c=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x23bf8c['to']('class')],'style':{'minHeight':_0x23bf8c['to']('minHeight',_0xde8fa9=>'number'==typeof _0xde8fa9?ne(_0xde8fa9+0xa):null)}},'children':this['list']});}}const qt=Ht('px');class C extends _t{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x172122){super(_0x172122),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x376251,_0x251842)=>_0x376251+_0x251842),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=Dt(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection']();const _0x3e40b0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x3e40b0['to']('isAnimationDisabled',_0x23db8c=>_0x23db8c?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x3e40b0['to']('top',_0x42c8bd=>qt(_0x42c8bd))}},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['updateHeight'](){const _0x2a9f30=this['element']['clientHeight'];_0x2a9f30&&(this['height']=_0x2a9f30);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class z extends _0x2b451d{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}constructor(_0x6a578b){super(_0x6a578b),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 _0x4a59bd=this['context']['config']['get']('sidebar.container');_0x4a59bd&&this['setContainer'](_0x4a59bd);}['setContainer'](_0x2b7993){if(!y(_0x2b7993))throw new _0x30344e('sidebar-setcontainer-invalid-element');this['container']=_0x2b7993;}['_attachToContainer']({viewClass:_0x4505ba='',spaceBetweenItems:_0x42cfc9=0x19}={}){if(!y(this['container']))throw new _0x30344e('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x4505ba,this['_spaceBetweenItems']=_0x42cfc9;}['rearrange']({removedAnnotation:_0x139b66,previousAnnotation:_0x2605b2,nextAnnotation:_0x5724d7}){const _0xf94b70=this['getSidebarItemView'](_0x139b66);this['view']['list']['remove'](_0xf94b70),this['_destroySidebarItemView'](_0x139b66),_0x2605b2&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x2605b2)),_0x5724d7&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x5724d7)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x15419f,activatedAnnotation:_0x11fbfe,disableAnimationOnActivatedAnnotation:_0x3bd371}){if(this['_activeAnnotation']=_0x11fbfe,_0x15419f){_0x15419f['isActive']=!0x1;const _0x43bbd3=this['getSidebarItemView'](_0x15419f);_0x43bbd3&&_0x3bd371&&(_0x43bbd3['isAnimationDisabled']=!0x1);}if(_0x11fbfe){const _0x2212ec=this['getSidebarItemView'](_0x11fbfe);_0x2212ec&&(_0x11fbfe['isActive']=!0x0,_0x3bd371&&(_0x2212ec['isAnimationDisabled']=!0x0,_0x2212ec['top']+=0x1),this['_alignToTargetRect'](_0x2212ec));}}['_detachFromContainer'](_0x49511d){if(this['view']['element']['remove'](),_0x49511d){for(const _0x4f32dd of _0x49511d)this['_destroySidebarItemView'](_0x4f32dd);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x3a4d31,_0x3061d9){_0x3061d9||(_0x3061d9=_0x3a4d31['view']);const _0x210b09=new C(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x210b09,_0x3a4d31),this['_annotationToSidebarItemView']['set'](_0x3a4d31,_0x210b09),_0x210b09['content']['add'](_0x3061d9),this['listenTo'](_0x3a4d31['view'],'change:targetRect',(_0x54b4d1,_0x27ef80,_0x39cf15)=>{const _0x2e4415=this['_getTargetTop'](_0x3a4d31,_0x39cf15);_0x210b09['_targetTop']!=_0x2e4415&&(_0x210b09['_targetTop']=_0x2e4415,this['_setItemTop'](_0x210b09,_0x2e4415));}),this['listenTo'](_0x210b09,'change:top',()=>{this['_recalculate'](_0x210b09,'top');}),this['listenTo'](_0x210b09,'change:bottom',()=>{this['_recalculate'](_0x210b09,'bottom');}),this['_alignToTargetRect'](_0x210b09);const _0x56f6c5=this['_getItemBefore'](_0x210b09);if(_0x56f6c5)this['_alignAfterItem'](_0x56f6c5,_0x210b09)||this['_alignToTargetRect'](_0x210b09);else this['_alignToTargetRect'](_0x210b09);return this['_updateLastItem'](),this['view']['list']['add'](_0x210b09),_0x210b09;}['_alignForTopChange'](_0x4d74ed){if(!_0x4d74ed['content']['length'])return;const _0x2959dd=this['_getItemBefore'](_0x4d74ed);if(!_0x2959dd)return;const _0x56a27a=this['_sidebarItemViewToAnnotation']['get'](_0x2959dd),_0x296350=this['_activeAnnotation'];_0x296350&&_0x296350===_0x56a27a?this['_alignAfterItem'](_0x2959dd,_0x4d74ed):this['_alignBeforeItem'](_0x4d74ed,_0x2959dd);}['_alignForBottomChange'](_0x1084a4){if(!_0x1084a4['content']['length'])return;const _0x57ff2b=this['_getItemAfter'](_0x1084a4);if(!_0x57ff2b)return;const _0x54d6ce=this['_sidebarItemViewToAnnotation']['get'](_0x57ff2b),_0x4f8ec1=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x174ffd=this['_activeAnnotation'];_0x174ffd&&_0x174ffd===_0x54d6ce&&_0x4f8ec1?(this['_alignBeforeItem'](_0x57ff2b,_0x1084a4),this['_alignAfterItem'](_0x1084a4,_0x57ff2b)):_0x174ffd&&_0x174ffd===_0x54d6ce?this['_alignBeforeItem'](_0x57ff2b,_0x1084a4):this['_alignAfterItem'](_0x1084a4,_0x57ff2b);}['_recalculate'](_0x4167d4,_0x1e7ae5){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x2e6f14,changedProp:_0x2b6a91}of this['_recalculateBuffer'])'top'===_0x2b6a91?this['_alignForTopChange'](_0x2e6f14):this['_alignForBottomChange'](_0x2e6f14);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x4167d4,'changedProp':_0x1e7ae5});}['getSidebarItemView'](_0x2bcd12){return this['_annotationToSidebarItemView']['get'](_0x2bcd12);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x23693f){const _0x3bcffe=this['getSidebarItemView'](_0x23693f);this['stopListening'](_0x3bcffe),this['stopListening'](_0x23693f['view']),_0x3bcffe['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x23693f),this['_sidebarItemViewToAnnotation']['delete'](_0x3bcffe);}['_createSidebarView'](){const _0x1ad949=new T(this['context']['locale']);return _0x1ad949['render'](),this['on']('change:_lastItem',(_0x4aa9f6,_0x169c41,_0x3c28af,_0x4ec34d)=>{_0x4ec34d&&_0x1ad949['unbind']('minHeight'),_0x3c28af?_0x1ad949['bind']('minHeight')['to'](_0x3c28af,'bottom'):_0x1ad949['minHeight']=null;}),_0x1ad949;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x269f38){const _0x4a410c=this['_sidebarItemViewToAnnotation']['get'](_0x269f38),_0x1a18ae=_0x4a410c&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x4a410c)-0x1);return _0x1a18ae&&this['getSidebarItemView'](_0x1a18ae)||null;}['_getItemAfter'](_0x273306){const _0x3e392e=this['_sidebarItemViewToAnnotation']['get'](_0x273306),_0x3197ff=_0x3e392e&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x3e392e)+0x1);return _0x3197ff&&this['getSidebarItemView'](_0x3197ff)||null;}['_alignBeforeItem'](_0x1b8e14,_0x587f4d){_0x1b8e14['updateHeight']();const _0x11925c=M(_0x587f4d['bottom']+this['_spaceBetweenItems'],_0x1b8e14['top']);return!!_0x11925c&&(this['_setItemTop'](_0x587f4d,_0x587f4d['top']-_0x11925c),!0x0);}['_alignAfterItem'](_0x4ea1f9,_0x31cd21){_0x4ea1f9['updateHeight']();const _0x15cbc6=M(_0x4ea1f9['bottom']+this['_spaceBetweenItems'],_0x31cd21['top']);return!!_0x15cbc6&&(this['_setItemTop'](_0x31cd21,_0x31cd21['top']+_0x15cbc6,!0x1),!0x0);}['_alignToTargetRect'](_0x56047b){const _0x25c362=this['_sidebarItemViewToAnnotation']['get'](_0x56047b);if(!_0x25c362||!_0x25c362['target']||!_0x25c362['targetRect'])return;const _0x5b0660=this['_getTargetTop'](_0x25c362,_0x25c362['targetRect']);this['_setItemTop'](_0x56047b,_0x5b0660);}['_getTargetTop'](_0x184c16,_0x3bfa42){if(null===_0x3bfa42)return 0x0;if(_0x184c16['target']instanceof _0x4e5583)return _0x3bfa42['top'];{const _0x33530d=new _0x4e5583(this['view']['element'])['top'];return _0x3bfa42['top']-_0x33530d;}}['_setItemTop'](_0x505c39,_0x698b7a,_0x5cc6a6=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x5cc6a6&&(_0x698b7a=Math['max'](_0x698b7a,this['_getMaxAvailableTop'](_0x505c39))),_0x505c39['top']=_0x698b7a;}['_getMaxAvailableTop'](_0x324fb5){let _0x1eea86=this['_getItemBefore'](_0x324fb5),_0x29dda2=0x0;for(;_0x1eea86;)_0x1eea86['updateHeight'](),_0x29dda2+=this['_spaceBetweenItems']+_0x1eea86['height'],_0x1eea86=this['_getItemBefore'](_0x1eea86);return _0x29dda2;}}function M(_0x148a3e,_0x9a2edf){return Math['max'](_0x148a3e-_0x9a2edf,0x0);}function y(_0x2390cc){return null!==_0x2390cc&&'object'==typeof _0x2390cc&&0x1===_0x2390cc['nodeType'];}class n extends _0x2b451d{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[z,j];}static get['pluginName'](){return'WideSidebar';}constructor(_0x2ff69c){super(_0x2ff69c),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x57f160(),this['_refreshPositioningDebounced']=_0x307530(()=>{this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x11f028=this['context']['plugins']['get'](j),_0x56dd07=this['context']['plugins']['get'](z);_0x11f028['register']('wideSidebar',this),_0x56dd07['container']&&_0x11f028['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x3c2b6e){if(_0x3c2b6e===this['activeAnnotation'])return;const _0x36858c=this['context']['plugins']['get'](z);_0x36858c['_activeAnnotation']=_0x3c2b6e;const _0x3b6f58=this['activeAnnotation'];this['activeAnnotation']=_0x3c2b6e,_0x36858c['refresh']({'blurredAnnotation':_0x3b6f58,'activatedAnnotation':this['activeAnnotation']});}['attach'](_0xbddb7a){this['annotations']=_0xbddb7a;const _0x2cf24c=this['context']['plugins']['get'](z);if(_0x2cf24c['_annotations']=_0xbddb7a,this['isAttached'])throw new _0x30344e('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x2cf24c,'set:container',()=>{this['detach'](),this['listenTo'](_0x2cf24c,'change:container',_0x6ea601=>{_0x6ea601['off'](),this['attach'](_0xbddb7a);});}),_0x2cf24c['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x2aeee6=_0x2730f9=>{_0x2730f9['updateTargetRect'](),_0x2cf24c['addAnnotation'](_0x2730f9);};for(const _0x495fff of _0xbddb7a)_0x2aeee6(_0x495fff);this['listenTo'](_0xbddb7a,'add',(_0x4a176e,_0x3f88a0)=>{_0x2aeee6(_0x3f88a0);}),this['listenTo'](_0xbddb7a,'remove',(_0x543c6c,_0x2d527b,_0x4debc3)=>{_0x2cf24c['rearrange']({'removedAnnotation':_0x2d527b,'previousAnnotation':_0xbddb7a['get'](_0x4debc3-0x1),'nextAnnotation':_0xbddb7a['get'](_0x4debc3+0x1)}),_0x2d527b===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0xbddb7a,'focus',(_0x5f59ce,_0x8e96f6)=>{this['setActiveAnnotation'](_0x8e96f6);}),this['listenTo'](_0xbddb7a,'blur',()=>{this['setActiveAnnotation'](null);});const _0x1b2229=this['context']instanceof _0x4c77fe?this['context']['editors']:new _0x57f160([this['context']]);for(const _0x455e1b of _0x1b2229)this['_integrateWithEditorAnnotations'](_0x455e1b);this['listenTo'](_0x1b2229,'add',(_0x420a61,_0x243c09)=>{this['listenTo'](_0x243c09,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x243c09);});}),this['listenTo'](_0x1b2229,'remove',(_0x179857,_0x2e66bc)=>{_0x2e66bc['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x2e66bc['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x30344e('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x9410aa=this['context']['plugins']['get'](z);_0x9410aa['_detachFromContainer'](this['annotations']),this['stopListening'](_0x9410aa),this['stopListening'](this['annotations']),this['context']instanceof _0x4c77fe&&this['stopListening'](this['context']['editors']);for(const _0x224dde of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x224dde);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x382eee){const _0x5dbcf6=_0x382eee['plugins']['get'](k);if(!_0x5dbcf6)return;const _0x13d5b1=()=>{const _0x7a25bf=_0x5dbcf6['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x7a25bf[0x0]||null);};this['listenTo'](_0x5dbcf6,'refresh',_0x13d5b1),this['listenTo'](_0x5dbcf6,'blur',(_0x222c48,{isAnnotationTracked:_0xb28b6a})=>{this['activeAnnotation']&&_0xb28b6a(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x5dbcf6,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x18cbdc=>{_0x5dbcf6['hasDomSelection']()&&(_0x13d5b1(),_0x18cbdc['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x5dbcf6);}['_destroyEditorAnnotationsIntegration'](_0x479220){this['stopListening'](_0x479220),this['_editorAnnotations']['remove'](_0x479220);}}class D extends _0x406c81{['counterView'];constructor(_0xe7cb9a){super(_0xe7cb9a);const _0x84b7cb=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x462031,_0x3d1479)=>_0x462031?'...':_0x3d1479['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',_0x84b7cb['to']('annotationType',_0x3eaa5f=>'ck-annotation-counter__badge--'+_0x3eaa5f),_0x84b7cb['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x84b7cb['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class i extends _0x2b451d{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[z,j];}static get['pluginName'](){return'NarrowSidebar';}constructor(_0x522021){super(_0x522021),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=Object['create'](_0x4a95da),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x57f160(),this['_refreshPositioningDebounced']=_0x307530(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](j)['register']('narrowSidebar',this),this['bodyCollection']=new _0x20b91b(this['context']['locale']),this['balloonPanelView']=new _0x2cff6f(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0xb80da3){this['annotations']=_0xb80da3;const _0x10790a=this['context']['plugins']['get'](z),_0x30cbdd=this['balloonPanelView'];if(_0x10790a['_annotations']=_0xb80da3,this['isAttached'])throw new _0x30344e('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x10790a,'set:container',()=>{this['detach'](),this['listenTo'](_0x10790a,'change:container',_0x446ea0=>{_0x446ea0['off'](),this['attach'](_0xb80da3);});}),_0x10790a['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x37d44b=_0x565dbb=>{const _0x4329a5=new D(this['context']['locale']);_0x10790a['addAnnotation'](_0x565dbb,_0x4329a5),this['_annotationToNarrowView']['set'](_0x565dbb,_0x4329a5),_0x4329a5['bind']('isDirty','annotationType','number')['to'](_0x565dbb['view'],'isDirty','type','length'),_0x4329a5['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x30cbdd['content']['first']!==_0x565dbb['view']?(this['_showBalloon'](_0x565dbb),_0x565dbb['view']['element']['focus'](),this['setActiveAnnotation'](_0x565dbb)):this['setActiveAnnotation'](null);});};for(const _0x39ba7d of _0xb80da3)_0x37d44b(_0x39ba7d);this['listenTo'](_0xb80da3,'add',(_0x364c7a,_0x1101f7)=>{_0x37d44b(_0x1101f7);}),this['listenTo'](_0xb80da3,'remove',(_0x2adf35,_0x974621,_0x4119ac)=>{this['_annotationToNarrowView']['get'](_0x974621)['destroy'](),this['_annotationToNarrowView']['delete'](_0x974621),_0x10790a['rearrange']({'removedAnnotation':_0x974621,'previousAnnotation':_0xb80da3['get'](_0x4119ac-0x1),'nextAnnotation':_0xb80da3['get'](_0x4119ac+0x1)}),_0x974621===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0xb80da3,'focus',(_0x1a6cac,_0x177bc6)=>{this['setActiveAnnotation'](_0x177bc6);}),this['listenTo'](_0xb80da3,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x1c98e3,_0x1be4a7)=>{_0x1be4a7['keyCode']===_0x12eb20['esc']&&_0x30cbdd['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x30cbdd['content']['first']),this['_hideBalloon'](),_0x1be4a7['stopPropagation'](),_0x1be4a7['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x420ac7,_0x567fd9)=>{const _0x433894=_0x567fd9['target'];_0x30cbdd['isVisible']&&_0x30cbdd['element']['contains'](_0x433894)||_0x10790a['view']['element']['contains'](_0x433894)||_0x420ac7['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x15f44e=>_0x15f44e['contains'](_0x433894))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x321263=this['context']instanceof _0x4c77fe?this['context']['editors']:new _0x57f160([this['context']]);for(const _0x275d3c of _0x321263)this['_integrateWithEditorAnnotations'](_0x275d3c);this['listenTo'](_0x321263,'add',(_0x590afd,_0x18f0a0)=>{this['listenTo'](_0x18f0a0,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x18f0a0);});}),this['listenTo'](_0x321263,'remove',(_0x4b4f8a,_0x38f899)=>{_0x38f899['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x38f899['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x57bb08){if(_0x57bb08===this['activeAnnotation'])return;const _0x469261=this['context']['plugins']['get'](z);if(_0x469261['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x57bb08,'disableAnimationOnActivatedAnnotation':!0x0}),_0x57bb08)_0x469261['getSidebarItemView'](_0x57bb08)?this['_showBalloon'](_0x57bb08):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x57bb08;}['detach'](){if(!this['isAttached'])throw new _0x30344e('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0xf63d4b=this['context']['plugins']['get'](z);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x3e552c=>_0x3e552c['destroy']()),this['_annotationToNarrowView']['clear'](),_0xf63d4b['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x4c77fe&&this['stopListening'](this['context']['editors']);for(const _0x1a73ee of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x1a73ee);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'](_0x3b0cbe){const _0x956ca1=_0x3b0cbe['plugins']['get'](k),_0x1eb08a=this['context']['plugins']['get'](z),_0x505f98=this['annotations'],_0x5c1591=this['balloonPanelView'],_0x486b76=()=>{const _0x93df39=_0x956ca1['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x93df39),this['setActiveAnnotation'](_0x93df39[0x0]||null);};this['listenTo'](_0x956ca1,'refresh',_0x486b76),this['listenTo'](_0x956ca1,'blur',(_0xbf9b35,{isAnnotationTracked:_0x152e53})=>{this['activeAnnotation']&&_0x152e53(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x956ca1,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x505f98,'blur',_0x41017e=>{_0x956ca1['hasDomSelection']()&&_0x41017e['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x491358,_0x5d4271)=>{const _0x4a33c8=_0x5d4271['target'];_0x5c1591['isVisible']&&_0x5c1591['element']['contains'](_0x4a33c8)||_0x1eb08a['view']['element']['contains'](_0x4a33c8)||this['activeAnnotation']&&_0x956ca1['hasDomSelection']()&&(_0x486b76(),_0x491358['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x956ca1);}['_destroyEditorAnnotationsIntegration'](_0x2c832b){_0x2c832b&&(this['stopListening'](_0x2c832b),this['_editorAnnotations']['remove'](_0x2c832b));}['_setSelectedAnnotations'](_0x44b88f){for(const _0x135fe6 of this['_selectedAnnotations'])_0x44b88f['includes'](_0x135fe6)||this['_manuallyClosedAnnotationViews']['delete'](_0x135fe6['view']);this['_selectedAnnotations']=_0x44b88f;}['_refreshPositioning'](){const _0x44d173=this['balloonPanelView'];this['annotations']['refreshPositioning'](),_0x44d173['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x5dd2e7){if(this['_manuallyClosedAnnotationViews']['has'](_0x5dd2e7['view']))return;const _0x42dca0=this['balloonPanelView']['content']['first'];_0x42dca0!==_0x5dd2e7['view']?(_0x42dca0&&this['_detachListeners'](_0x42dca0),this['_attachListeners'](_0x5dd2e7['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x5dd2e7['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x2d5ce6=this['balloonPanelView']['content']['first'],_0x5ac5ef=_0x2d5ce6&&this['annotations']['getByView'](_0x2d5ce6);if(!_0x5ac5ef||!this['_annotationToNarrowView']['has'](_0x5ac5ef))return;const _0x912e2a=this['_annotationToNarrowView']['get'](_0x5ac5ef)['element'],_0x488a9b=(function(){const _0x5e9ec2=_0x2cff6f['defaultPositions'];return[_0x5e9ec2['southArrowNorthEast'],_0x5e9ec2['northArrowSouthEast'],_0x5e9ec2['southArrowNorth'],_0x5e9ec2['northArrowSouth'],_0x5e9ec2['southArrowNorthWest'],_0x5e9ec2['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x912e2a,'positions':_0x488a9b});}['_hideBalloon'](){const _0x5025b2=this['balloonPanelView'],_0x232e62=_0x5025b2['content']['first'];_0x232e62&&(this['_detachListeners'](_0x232e62),_0x5025b2['unpin'](),_0x5025b2['content']['clear']());}['_attachListeners'](_0x5d810a){this['listenTo'](_0x5d810a,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x5d810a,'Esc',(_0xdb5fbc,_0x5795eb)=>{this['_manuallyClosedAnnotationViews']['add'](_0x5d810a),this['_hideBalloon'](),_0x5795eb();});}['_detachListeners'](_0xfcb060){this['stopListening'](_0xfcb060);}}class c extends _0x4a1d1b{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];static get['requires'](){return[k,_0x3f4914,j];}static get['pluginName'](){return'InlineAnnotations';}constructor(_0x3091dd){super(_0x3091dd),_0x3091dd['editing']['view']['addObserver'](_0x1e485c),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x3091dd['plugins']['get'](_0x3f4914),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1;}['init'](){const _0x39922d=this['editor']['plugins']['get'](j);_0x39922d['context']===this['editor']&&(_0x39922d['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x1e402c,_0x4d2d4d)=>{const _0x1983a6=this['_balloon'];if(this['isAttached']&&_0x1983a6['visibleView']){const _0x451a7e=this['annotations']['getByView'](_0x1983a6['visibleView']);_0x451a7e&&this['_closeAnnotation'](_0x451a7e),_0x4d2d4d();}}));}['afterInit'](){const _0x15462b=this['editor']['plugins']['get'](j);_0x15462b['context']===this['editor']&&(_0x15462b['hasActive']()||_0x15462b['switchTo']('inline'));}['setActiveAnnotation'](_0x2c2bf2){_0x2c2bf2!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x2c2bf2&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x2c2bf2)&&this['_addAnnotationToBalloon'](_0x2c2bf2,!0x0),_0x2c2bf2['isActive']=!0x0),_0x2c2bf2||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x2c2bf2);}['attach'](_0x208ced){this['annotations']=_0x208ced;const _0x5c14f1=this['editor']['plugins']['get'](j),_0x2f42b6=this['_balloon'];if(this['isAttached'])throw new _0x30344e('inlineannotations-attach-already-attached',this);if(_0x5c14f1['context']!==this['editor'])throw new _0x30344e('inlineannotations-not-allowed-with-context',this);const _0x50bf9=this['editor']['plugins']['get'](k);this['listenTo'](_0x50bf9,'refresh',()=>{const _0x1c5865=_0x50bf9['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x5b147d,_0x133366;!this['_forceRefresh']&&(_0x5b147d=_0x1c5865,_0x133366=this['_selectedAnnotations'],_0x5b147d['length']===_0x133366['length']&&_0x5b147d['every'](_0x45d422=>_0x133366['includes'](_0x45d422)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x1c5865),this['setActiveAnnotation'](_0x1c5865[0x0]||null));}),this['listenTo'](_0x50bf9,'blur',(_0xa0d026,{isAnnotationTracked:_0x3d93c3})=>{this['activeAnnotation']&&_0x3d93c3(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x2b03b1,_0x1200f0,_0xc16521)=>{_0xc16521||this['setActiveAnnotation'](null);}),this['listenTo'](_0x208ced,'remove',(_0xbd5db,_0x19c16d)=>{this['_removeAnnotationFromBalloon'](_0x19c16d),_0x19c16d===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x2f42b6,'change:visibleView',(_0x776fd,_0x7db873,_0xedd871,_0x4ad03e)=>{_0x4ad03e&&this['stopListening'](_0x4ad03e);const _0xd9db24=_0x208ced['getByView'](_0xedd871);_0xedd871&&_0xd9db24&&(this['listenTo'](_0xedd871,'change:height',()=>{_0x2f42b6['updatePosition']();}),this['listenTo'](_0xedd871,'Esc',()=>{this['_closeAnnotation'](_0xd9db24),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0xd9db24&&this['setActiveAnnotation'](_0xd9db24));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x2f42b6['visibleView']&&(_0x208ced['getByView'](_0x2f42b6['visibleView'])&&_0x2f42b6['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 _0x30344e('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x3511c9 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x3511c9);this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_setSelectedAnnotations'](_0x295a58){for(const _0x49629b of this['_selectedAnnotations'])_0x295a58['includes'](_0x49629b)||this['_manuallyClosed']['delete'](_0x49629b);for(const _0x58f6c6 of this['annotations'])_0x295a58['includes'](_0x58f6c6)||this['_removeAnnotationFromBalloon'](_0x58f6c6);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x387d19 of _0x295a58)this['_addAnnotationToBalloon'](_0x387d19);}this['_selectedAnnotations']=_0x295a58;}['_addAnnotationToBalloon'](_0x71abe3,_0x4438ed=!0x1){this['_manuallyClosed']['has'](_0x71abe3)||(this['_addedAnnotations']['has'](_0x71abe3)||this['_balloon']['hasView'](_0x71abe3['view'])||(this['_addedAnnotations']['add'](_0x71abe3),this['_balloon']['add']({'stackId':_0x71abe3['view']['id'],'view':_0x71abe3['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x71abe3)}})),_0x4438ed&&this['_balloon']['showStack'](_0x71abe3['view']['id']));}['_getBalloonTargetForAnnotation'](_0x3bccbc){const _0x7fdc72=_0x3bccbc['target'],_0x33f39b=this['editor']['editing']['view'],_0x122072=_0x33f39b['document']['selection']['getFirstRange'](),_0x1e9f5e=_0x33f39b['domConverter']['viewRangeToDom'](_0x122072);if(_0x1e9f5e['collapse'](!0x0),_0x7fdc72){if(_0x7fdc72 instanceof _0x4e5583)return _0x7fdc72;let _0x8f2b9a=[];for(const _0x1ae3d9 of _0x7fdc72)_0x8f2b9a['push'](...(_0x17f4e0=_0x1ae3d9['getClientRects'](),Array['from'](_0x17f4e0)['map'](DOMRect['fromRect'])));_0x8f2b9a=function(_0x475f46){const _0x444b8d=[];let _0x15eb4f=_0x475f46[0x0];for(let _0xebd3c7=0x1;_0xebd3c7<_0x475f46['length'];_0xebd3c7++)F(_0x15eb4f,_0x475f46[_0xebd3c7])?_0x15eb4f['width']+=_0x475f46[_0xebd3c7]['width']:(_0x444b8d['push'](_0x15eb4f),_0x15eb4f=_0x475f46[_0xebd3c7]);return _0x444b8d['push'](_0x15eb4f),_0x444b8d;}(_0x8f2b9a);const _0x2c3ddc=_0x1e9f5e['getBoundingClientRect']();return _0x8f2b9a['find'](_0x13256f=>_0x13256f['top']<=_0x2c3ddc['top']&&_0x13256f['bottom']>=_0x2c3ddc['bottom']&&_0x13256f['left']<=_0x2c3ddc['left']&&_0x13256f['right']>=_0x2c3ddc['right'])||_0x8f2b9a[0x0];}var _0x17f4e0;return _0x3bccbc['targetRect']||_0x1e9f5e;}['_removeAnnotationFromBalloon'](_0x1de011){this['_addedAnnotations']['has'](_0x1de011)&&this['_balloon']['hasView'](_0x1de011['view'])&&(this['_addedAnnotations']['delete'](_0x1de011),this['_balloon']['remove'](_0x1de011['view']));}['_closeAnnotation'](_0x4fa29a){this['_manuallyClosed']['add'](_0x4fa29a),this['_removeAnnotationFromBalloon'](_0x4fa29a);}}function F(_0x12e544,_0x185415){return _0x12e544['top']===_0x185415['top']&&_0x12e544['bottom']===_0x185415['bottom']&&_0x12e544['right']===_0x185415['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(_0x54fe75,_0x5dbd9d){super(_0x54fe75),this['set']('isEmpty',!_0x5dbd9d['length']),this['_focusTracker']=new _0x1819de(),this['_keystrokes']=new Et(),this['_focusables']=_0x5dbd9d,this['_focusCycler']=new _0x366c36({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['listenTo'](_0x5dbd9d,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x5dbd9d,'remove',(_0x3930c2,_0x2114ef)=>{_0x2114ef['isActive']&&this['focus'](),_0x5dbd9d['length']||(this['isEmpty']=!0x0);});const _0x52eba2=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':_0x5dbd9d},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x52eba2['if']('isEmpty','ck-hidden',_0x4887ae=>!_0x4887ae)]},'children':[{'text':W(_0x54fe75,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_keystrokes']['listenTo'](this['element']);const _0x178e61=_0xedb7e2=>_0xedb7e2['stopPropagation']();this['_keystrokes']['set']('arrowright',_0x178e61),this['_keystrokes']['set']('arrowleft',_0x178e61),this['_keystrokes']['set']('arrowup',_0x178e61),this['_keystrokes']['set']('arrowdown',_0x178e61),this['listenTo'](this['element'],'selectstart',(_0x5da8c5,_0x336987)=>{_0x336987['stopPropagation']();},{'priority':'high'});}['destroy'](){super['destroy'](),this['_focusTracker']['destroy'](),this['_keystrokes']['destroy']();}['focus'](){this['element']['focus']();}}class p extends _0x2b451d{static get['pluginName'](){return'CommentsArchive';}static get['requires'](){return[m,b];}constructor(_0x327d6c){super(_0x327d6c),this['archivedThreads']=new _0x57f160();}['init'](){const _0x3781df=this['context'],_0x56e435=_0x3781df['plugins']['get'](m),_0x2e0dff=_0x3781df['plugins']['get'](b);this['listenTo'](_0x56e435,'addCommentThread',(_0x45c62f,{threadId:_0x134669})=>{const _0xc2ef2d=_0x56e435['getCommentThread'](_0x134669);_0xc2ef2d['archivedAt']&&this['archivedThreads']['add'](_0xc2ef2d,this['_calculatePosition'](_0xc2ef2d['archivedAt'])),this['listenTo'](_0xc2ef2d,'change:archivedAt',(_0x42c9d4,_0x4d425b,_0xc0217)=>{_0xc0217?this['archivedThreads']['has'](_0xc2ef2d)||this['archivedThreads']['add'](_0xc2ef2d,this['_calculatePosition'](_0xc2ef2d['archivedAt'])):this['archivedThreads']['has'](_0xc2ef2d)&&this['archivedThreads']['remove'](_0xc2ef2d);});}),this['listenTo'](_0x56e435,'removeCommentThread',(_0x1ebb05,{threadId:_0x1699d0})=>{const _0x59b6d1=_0x56e435['getCommentThread'](_0x1699d0);this['stopListening'](_0x59b6d1),this['archivedThreads']['has'](_0x59b6d1)&&this['archivedThreads']['remove'](_0x59b6d1);},{'priority':'highest'}),this['listenTo'](_0x2e0dff['collection'],'focus',(_0x1401ac,_0xa4e6a8)=>{_0xa4e6a8['isActive']=!0x0,_0x2e0dff['activate'](_0xa4e6a8);});}['_calculatePosition'](_0x59f54a){const _0x405c7a=[...this['archivedThreads']]['findIndex'](_0x37dd3f=>_0x37dd3f['archivedAt']<_0x59f54a);return _0x405c7a>-0x1?_0x405c7a:this['archivedThreads']['length'];}}class a extends _0x4a1d1b{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['requires'](){return[p,_0x4143e5];}constructor(_0x4af55a){super(_0x4af55a),this['annotationViews']=new _0xe76a5a(),this['_pendingThreads']=[];}['init'](){this['editor']['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x406c81,!0x0)),this['editor']['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>this['_createCommentsArchiveButton'](_0x12203b));const _0x4736cd=this['editor']['plugins']['get'](p),_0x5394c0=this['editor']['plugins']['get']('Annotations'),_0x448258=this['editor']['plugins']['get']('CommentsRepository');this['listenTo'](_0x4736cd['archivedThreads'],'add',(_0x2ba087,_0x353dd7)=>{const _0x401011=this['editor']['config']['get']('collaboration.channelId');if(!_0x401011||_0x353dd7['channelId']===_0x401011){const _0x53c335=_0x448258['_threadToController']['get'](_0x353dd7);if(!_0x53c335)return void this['_pendingThreads']['push'](_0x353dd7);const _0x16fe64=this['_calculatePosition'](_0x353dd7['archivedAt']),_0x500b4d=_0x5394c0['getByInnerView'](_0x53c335['view']);_0x500b4d['isVisible']&&_0x5394c0['_visibleAnnotations']['remove'](_0x500b4d),this['annotationViews']['add'](_0x500b4d['view'],_0x16fe64);}}),this['listenTo'](_0x5394c0['collection'],'add',(_0x2b0a34,_0x3110f3)=>{const _0x57a41a=this['_pendingThreads']['find'](_0x2448c3=>{const _0x3da1f0=_0x448258['_threadToController']['get'](_0x2448c3);return _0x3da1f0&&_0x3110f3['innerView']===_0x3da1f0['view'];});if(_0x57a41a){const _0x36ce29=this['_calculatePosition'](_0x57a41a['archivedAt']);this['annotationViews']['add'](_0x3110f3['view'],_0x36ce29),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x57a41a),0x1);}}),this['listenTo'](_0x4736cd['archivedThreads'],'remove',(_0x2c4bbb,_0xc9235a)=>{const _0x47e927=this['editor']['config']['get']('collaboration.channelId');if(!_0x47e927||_0xc9235a['channelId']===_0x47e927){const _0xce0814=_0x448258['_threadToController']['get'](_0xc9235a),_0x54dd34=_0x5394c0['getByInnerView'](_0xce0814['view']);this['annotationViews']['remove'](_0x54dd34['view']),this['stopListening'](_0x54dd34['focusableElements']);}});}['_calculatePosition'](_0x22ad25){const _0x1e5f46=this['editor']['config']['get']('collaboration.channelId'),_0x43a074=[...this['editor']['plugins']['get'](p)['archivedThreads']]['filter'](_0x347b00=>_0x347b00['channelId']===_0x1e5f46)['findIndex'](_0x5ac609=>_0x5ac609['archivedAt']<_0x22ad25);return _0x43a074<0x0||_0x43a074>this['annotationViews']['length']?this['annotationViews']['length']:_0x43a074-0x1;}['_toggleDialog'](){const _0xc096b8=this['editor'],_0x20f9bf=_0xc096b8['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new X(_0xc096b8['locale'],this['annotationViews'])),'commentsArchive'===_0x20f9bf['id']?_0x20f9bf['hide']():_0x20f9bf['show']({'id':'commentsArchive','title':W(_0xc096b8['locale'],'COMMENTS_ARCHIVE'),'icon':Q,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x5b05fa['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x5b7802,_0xaf134b=!0x1){const _0x711f39=this['editor']['locale'],_0x4a4bb3=new _0x5b7802(_0x711f39);return _0x4a4bb3['bind']('isEnabled')['to'](this,'isEnabled'),_0x4a4bb3['set']({'label':W(_0x711f39,'COMMENTS_ARCHIVE'),'icon':Q}),_0xaf134b&&(_0x4a4bb3['tooltip']=!0x0),this['listenTo'](_0x4a4bb3,'execute',()=>this['_toggleDialog']()),_0x4a4bb3;}}class f extends _0x4a1d1b{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 _0x2dbfa3,ContextPlugin as _0x24d6c5,PendingActions as ht,Context as _0x28a128,Command as _0x210d23,Plugin as _0x44b450}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x511f38,uid as _0x2b13d8,KeystrokeHandler as Et,FocusTracker as _0x109e02,diff as _0x46dc7e,Collection as _0x2d2956,Rect as _0x446d66,CKEditorError as _0x2382d1,priorities as Wt,scrollViewportToShowTarget as _0x296d3e,toUnit as Ht,DomEmitterMixin as _0x281779,keyCodes as _0x33e8d6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{UserView as _0x503b73,ConfirmMixin as _0x72872d,trimHtml as _0x5e164e,Users as lt,getDateTimeFormatter as dt,hashObject as ct,getAllMarkersDomElementsSorted as tt,surroundingMarkersDetector as _0x467382}from'ckeditor5-collaboration/dist/index.js';import{throttle as bt,isEqual as ft,cloneDeep as ut,set as pt,unset as It,debounce as _0x4a5b48}from'lodash-es';import{EditorUIView as Xt,InlineEditableUIView as $t,LabelView as Yt,EditorUI as Ut,View as _t,ButtonView as _0x5afcfe,ViewCollection as _0x50c653,FocusCycler as _0x315b50,createDropdown as _0x337986,ListView as _0x3acb71,ListItemView as _0x17d440,MenuBarMenuListItemButtonView as _0x57729c,BodyCollection as _0x443e1a,BalloonPanelView as _0x2eba09,ContextualBalloon as _0xc34e13,Dialog as _0x22012d,DialogViewPosition as _0x49d239}from'@ckeditor/ckeditor5-ui/dist/index.js';import{disablePlaceholder as zt,enablePlaceholder as Ft,MouseObserver as _0x17ade2}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 _0x511f38(){['model'];['view'];constructor(_0x5a1a24,_0x644b52){super(),this['model']=_0x5a1a24,this['model']['_isAttached']=!0x0,this['view']=_0x644b52,this['listenTo'](_0x644b52,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x644b52,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x644b52,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x644b52,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x644b52,'addComment',(_0xe04d8e,_0x44477a)=>this['addComment'](_0x44477a)),this['listenTo'](_0x644b52,'updateComment',(_0x22ad6b,_0x2150f1,_0xa4876e)=>this['updateComment'](_0x2150f1,_0xa4876e)),this['listenTo'](_0x644b52,'removeComment',(_0x21ab38,_0x597586)=>this['removeComment'](_0x597586));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x519d32){this['model']['addComment']({'content':_0x519d32,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x5c7b6c,_0x1f9585){this['model']['getComment'](_0x5c7b6c)['update']({'content':_0x1f9585});}['removeComment'](_0x4df5aa){this['model']['getComment'](_0x4df5aa)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function W(_0x1176bb,_0x4052f1,_0x4ca8cb){const t=_0x1176bb['t'];switch(_0x4052f1){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'},_0x4ca8cb);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'},_0x4ca8cb);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'},_0x4ca8cb);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'},_0x4ca8cb);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(_0x36cb19,_0x29cb81){super(_0x36cb19);const _0x19ea6f=_0x2b13d8();this['main']=this['createCollection'](),this['editable']=new $t(_0x36cb19,_0x29cb81),this['_voiceLabelView']=this['_createVoiceLabel'](_0x19ea6f,_0x36cb19),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'role':'comment','dir':_0x36cb19['uiLanguageDirection'],'lang':_0x36cb19['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x19ea6f},'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'](_0x530130,_0x524ce8){const _0x38fa8c=new Yt();return _0x38fa8c['text']=W(_0x524ce8,'Comment\x20editor'),_0x38fa8c['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x530130,'class':'ck-voice-label'}}),_0x38fa8c;}}class Ot extends Ut{['view'];constructor(_0x28532f){super(_0x28532f),this['view']=new Vt(_0x28532f['locale'],_0x28532f['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x29becb=this['editor']['editing']['view'],_0x45b154=this['view']['editable'],_0x2ff5f5=_0x29becb['document']['getRoot']();_0x45b154['name']=_0x2ff5f5['rootName'],this['view']['render']();const _0x26f0e5=_0x45b154['element'];this['setEditableElement'](_0x45b154['name'],_0x26f0e5),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x29becb['attachDomRoot'](_0x26f0e5),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const Rt=[Bt,Gt,Jt,Kt,Lt,Nt,Qt];class St extends _0x511f38(mt){static ['defaultPlugins']=Rt;constructor(_0x10a4b5={}){(_0x10a4b5=Object['assign']({},_0x10a4b5))['plugins']||(_0x10a4b5['plugins']=St['defaultPlugins']),super(_0x10a4b5),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 _0x373e34=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x373e34))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x392cd0=>{const _0x4c07d1=this['model']['document']['getRoot'](),_0x282757=_0x4c07d1&&_0x4c07d1['getChild'](_0x4c07d1['childCount']-0x1);_0x392cd0['setSelection'](_0x282757,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x20e5ee=this['editing']['view'],_0xb0c84=_0x20e5ee['document']['getRoot'](),_0x33b1c8=_0xb0c84['getChild'](0x0);_0xb0c84['childCount']>0x1||!_0x33b1c8||'p'!=_0x33b1c8['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(zt(_0x20e5ee,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x33b1c8['placeholder']=this['placeholder']),Ft({'view':_0x20e5ee,'element':_0x33b1c8,'keepOnFocus':!0x0}),this['placeholderElement']=_0x33b1c8);}}class ei extends _t{['keystrokes'];['focusTracker'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x5f4c9a,_0x19a1c0={}){super(_0x5f4c9a),this['editor']=null,this['_editorConfig']=_0x19a1c0,this['keystrokes']=new Et(),this['focusTracker']=new _0x109e02(),this['set']('value',_0x19a1c0['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',W(_0x5f4c9a,'Reply...')),this['set']('submitLabel',W(_0x5f4c9a,'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',(_0x1057f3,_0x320840)=>{this['cancelButtonView']['fire']('execute'),_0x320840();}),this['on']('submit',(_0x5d94e4,_0x34250e)=>{_0x34250e['length']>0xfde8?(alert(W(_0x5f4c9a,'TOO_LONG_COMMENT_ALERT',[_0x34250e['length'],0xfde8])),_0x5d94e4['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 _0x1e8b5f=this['editor'];this['element']['insertBefore'](_0x1e8b5f['ui']['element'],this['element']['firstChild']),_0x1e8b5f['model']['document']['on']('change',()=>this['value']=_0x1e8b5f['getData']()),_0x1e8b5f['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:_0x5c8b03}=this,_0x90b9e6=new _0x5afcfe(_0x5c8b03);return _0x90b9e6['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x90b9e6['withText']=!0x0,_0x90b9e6['bind']('label')['to'](this,'submitLabel'),_0x90b9e6['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x90b9e6['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x4cfb27,_0x5ed807)=>!_0x5ed807&&!!_0x4cfb27['trim']()),_0x90b9e6;}['_createCancelButton'](){const {locale:_0x4c7aed}=this,_0x585058=new _0x5afcfe(_0x4c7aed);return _0x585058['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x585058['label']=W(_0x4c7aed,'Cancel'),_0x585058['withText']=!0x0,_0x585058['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x585058;}['_initializeFocusCycling'](_0x478142){const _0x59cd0b=this['focusTracker'],_0x4488f8=new _0x50c653();[_0x478142['ui']['view'],this['submitButtonView'],this['cancelButtonView']]['forEach'](_0x5dca2c=>{_0x4488f8['add'](_0x5dca2c),_0x59cd0b['add'](_0x5dca2c['element']);});const _0x1e041a=new _0x315b50({'focusables':_0x4488f8,'focusTracker':_0x59cd0b});this['keystrokes']['set']('tab',(_0x1c0da5,_0x8ddd21)=>{_0x1e041a['focusNext'](),_0x8ddd21();},{'priority':'low'}),this['keystrokes']['set']('shift\x20+\x20tab',(_0x1d4c25,_0x1a54e1)=>{_0x1e041a['focusPrevious'](),_0x1a54e1();},{'priority':'low'});}}class Tt extends _t{constructor(_0x2dd677,_0x5387f1,_0x55b133){super(_0x2dd677),this['commentInputView']=new ei(_0x2dd677,_0x55b133),this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x82c811,_0x52d5a7)=>_0x82c811||!!_0x52d5a7),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 _0x503b73(_0x2dd677,_0x5387f1),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(_0x2d7283){super(_0x2d7283);const _0x5f3df7=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x5f3df7['to']('count',_0x3869c3=>W(_0x2d7283,'NUMBER_OF_COMMENTS',_0x3869c3))}]});}}class xt extends _t{['commentViews'];['resolvedCommentView'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x4833b3,_0xa9b784,_0x320296){super(_0x4833b3),this['set']('hasDirtyComment',!0x1),this['set']('length',_0xa9b784['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0xa9b784,this['_config']=_0x320296,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['_collapsedCommentsView']=new ts(_0x4833b3),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x226bf9=>_0x226bf9-this['_config']['maxCommentsWhenCollapsed']);for(const _0x15dcd0 of _0xa9b784['comments'])this['_handleNewCommentModel'](_0x15dcd0);this['_handleInfoComment'](),this['listenTo'](_0xa9b784['comments'],'add',(_0x359900,_0x3fdf52)=>{const _0x138fb1=this['_calculatePosition'](_0x3fdf52);this['length']++,this['_handleNewCommentModel'](_0x3fdf52,_0x138fb1),this['refreshVisibleViews']();}),this['listenTo'](_0xa9b784['comments'],'remove',(_0x5c63a8,_0x151a10)=>{this['length']--,this['_handleRemoveCommentModel'](_0x151a10),this['refreshVisibleViews']();}),this['listenTo'](_0xa9b784,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0xa9b784,'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 _0x1f7c66 of this['commentViews'])_0x1f7c66['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x56ee9f,_0x411eb7){const _0x1e33b0=new this['_config']['CommentView'](this['locale'],_0x56ee9f,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x1e33b0['viewUid']=_0x56ee9f['id'],_0x1e33b0['delegate']('removeComment')['to'](this),_0x1e33b0['delegate']('updateComment')['to'](this),_0x1e33b0['delegate']('resolveCommentThread')['to'](this),_0x1e33b0['delegate']('editorReady')['to'](this),_0x1e33b0['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x1e33b0,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x1e33b0,_0x411eb7);}['_calculatePosition'](_0x101ef6){const _0x487025=this['_model']['_findOptimalIndex'](_0x101ef6);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x101ef6['authoredAt']?_0x487025-0x1:_0x487025:_0x487025-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x236e60={'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'],_0x236e60,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x236e60));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x17867e){const _0x56ede7=this['commentViews']['remove'](_0x17867e['id']);this['stopListening'](_0x56ede7),_0x56ede7['isEditMode']&&this['_updateHasDirtyComment'](),_0x56ede7['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x2066f2=>_0x2066f2['isEditMode']);}['_rearrangeCollapse'](){const _0x37ce65=function(_0x261481){const _0x3a1f21=new _0x2d2956();for(const _0x3bc0a8 of _0x261481)_0x3a1f21['add'](_0x3bc0a8);return _0x3a1f21;}(this['commentViews']),_0x4c6b28=this['_collapsedCommentsView']['count'];for(let _0x195f6f=0x1;_0x195f6f<=_0x4c6b28;_0x195f6f++)_0x37ce65['remove'](0x1);for(const _0x361b90 of _0x37ce65)_0x361b90['collapse']();_0x4c6b28>0x0&&_0x37ce65['add'](this['_collapsedCommentsView'],0x1),is(_0x46dc7e(Array['from'](this['visibleViews']),Array['from'](_0x37ce65)),this['visibleViews'],_0x37ce65);}['_rearrangeExpand'](){is(_0x46dc7e(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x2e82da of this['visibleViews'])_0x2e82da['expand']();}}function is(_0x426c1b,_0x2c260c,_0x434040){let _0x33a381=0x0;for(const _0x528cf2 of _0x426c1b)switch(_0x528cf2){case'insert':_0x2c260c['add'](_0x434040['get'](_0x33a381),_0x33a381),_0x33a381++;break;case'delete':_0x2c260c['remove'](_0x33a381);break;case'equal':_0x33a381++;}}class Zt extends _t{['_model'];['reopenButtonView'];constructor(_0x3c2a22,_0x1841d){super(_0x3c2a22);const _0x441148=this['bindTemplate'];this['_model']=_0x1841d,this['reopenButtonView']=this['_createReopenButton'](),this['bind']('hasContext')['to'](this['_model'],'context',_0x4ff72a=>!!_0x4ff72a),this['bind']('contextValue')['to'](this['_model'],'context',_0x44d85d=>_0x44d85d&&_0x44d85d['value']?this['_trimContextValue'](_0x44d85d['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',_0x441148['if']('hasContext','ck-context--quotes')]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x441148['to']('contextValue')}]}]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions']();}['_createReopenButton'](){const _0x29e807=new _0x5afcfe(this['locale']);return _0x29e807['label']=W(this['locale'],'Reopen'),_0x29e807['tooltip']=W(this['locale'],'Reopen'),_0x29e807['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>',_0x29e807['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x180be2=>!_0x180be2),_0x29e807['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x877158,_0x21c2f7)=>_0x877158&&_0x21c2f7),_0x29e807['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x29e807;}['_trimContextValue'](_0x27c14b){if(_0x27c14b['length']<0x96)return _0x27c14b;const _0x1742f5=_0x27c14b['lastIndexOf']('\x20',0x93);return _0x27c14b['substring'](0x0,_0x1742f5>-0x1?_0x1742f5:0x93)+'...';}['_attachContextActions'](){const _0x128881=this['element']['querySelector']('.ck-context'),_0x234e5c=_0x128881['querySelector']('.ck-context__value');this['listenTo'](_0x128881,'mouseenter',()=>{_0x234e5c['offsetWidth']<_0x234e5c['scrollWidth']&&_0x128881['classList']['add']('overlay');}),this['listenTo'](_0x128881,'mouseleave',()=>{_0x128881['classList']['remove']('overlay');});}}class ti extends _t{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];constructor(_0x33c335,_0x4734bd,_0x52d41f,_0x5d74ce){super(_0x33c335),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x4734bd,this['_localUser']=_0x52d41f,this['_config']=_0x5d74ce,this['commentThreadHeaderView']=new Zt(_0x33c335,_0x4734bd),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new xt(_0x33c335,_0x4734bd,Object['assign']({'CommentView':this['_config']['CommentView']},_0x5d74ce)),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',(_0x110f50,_0x242747)=>_0x110f50||!!_0x242747),this['bind']('isUnlinked')['to'](_0x4734bd,'unlinkedAt',_0x44aee9=>!!_0x44aee9);}['focus'](){this['element']['focus']();}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x5ceadc=new Tt(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x21a327=_0x5ceadc['commentInputView'];return _0x5ceadc['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x21a327,'value',(_0x1c20ef,_0x131911,_0x300a36,_0x190117,_0x224bc2)=>!!_0x224bc2||!!_0x190117&&_0x300a36&&!_0x131911||_0x1c20ef&&_0x300a36&&!_0x131911),_0x21a327['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x56b402,_0x1d4cd8,_0x59b54d)=>{let _0x8a6bce;return _0x8a6bce=_0x59b54d&&_0x1d4cd8?'Reply\x20to\x20reopen\x20discussion...':_0x56b402?'Reply...':'Write\x20a\x20comment...',W(this['locale'],_0x8a6bce);}),_0x21a327['bind']('submitLabel')['to'](this,'length',_0x1a5fef=>W(this['locale'],_0x1a5fef?'Reply':'Comment')),_0x21a327['on']('submit',(_0x372e33,_0x55a4a9)=>{this['fire']('addComment',_0x55a4a9),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x21a327['on']('cancel',()=>{this['focus']();}),_0x21a327['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x21a327['on']('cancel',_0x505833=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x505833['stop']());}),this['on']('change:isActive',(_0x3f525d,_0x30e685,_0x2966f6)=>{_0x2966f6||this['length']||_0x21a327['value']||this['fire']('removeCommentThread');}),_0x5ceadc;}}class yt extends _0x72872d(ti){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x5eac81,_0xa1e9d6,_0x379bbe,_0x469852){super(_0x5eac81,_0xa1e9d6,_0x379bbe,_0x469852),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',(_0x5728a5,_0x17fd40,_0xe3cd25)=>{_0xe3cd25?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']=_0x5eac81,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x214c13,_0x383837,_0x530e04)=>{_0x530e04||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x5dd918,_0x2cea76,_0x1e9637)=>{_0x1e9637&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x148105=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck-thread','ck-reset_all-excluded',_0x148105['if']('isActive','ck-thread--active'),_0x148105['if']('isUnlinked','ck-thread--unlinked'),_0x148105['if']('isConfirm','ck-thread--remove-confirmation'),_0x148105['to']('actionIndicator',_0x10c256=>_0x10c256?'ck-thread--'+_0x10c256:'')],'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 _0xeeb018 of this['commentsListView']['commentViews'])_0xeeb018['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x1cdce5}=this,_0x1871d5=this['commentsListView']['commentViews']['get'](0x0);_0x1871d5===this['_boundFirstCommentView']||_0x1871d5['isSystemComment']||(this['_boundFirstCommentView']=_0x1871d5,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x1871d5,'actionIndicator',_0x43a6d4=>'remove'===_0x43a6d4?'remove':null),_0x1871d5['placeholder']=W(_0x1cdce5,'Write\x20a\x20comment...'),_0x1871d5['removeButton']['on']('execute',_0x2e5232=>{_0x2e5232['stop'](),this['showConfirm'](W(_0x1cdce5,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),_0x1871d5['actionBar']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x1e467d=new _0x5afcfe(this['locale']);return _0x1e467d['label']=W(this['locale'],'Resolve'),_0x1e467d['tooltip']=W(this['locale'],'Resolve'),_0x1e467d['icon']=_0x2dbfa3['check'],_0x1e467d['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x1e467d['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x22f637=>!_0x22f637),_0x1e467d['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x4bdbbf,_0x4ee3af)=>_0x4bdbbf&&!_0x4ee3af),_0x1e467d['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x1e467d;}}class si extends _t{constructor(_0xcbaa13){super(_0xcbaa13),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x36da51,_0x1cc42a,_0x3d0f0b)=>{this['element']['innerHTML']=_0x3d0f0b;}),this['element']['innerHTML']=this['content'];}}class oi extends _t{['visibleView'];['_model'];['_config'];constructor(_0x33e3ae,_0x5cbe82,_0x4497c1){super(_0x33e3ae),this['_model']=_0x5cbe82,this['_config']=_0x4497c1,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 _0x21ffcc=new si(this['locale']);return _0x21ffcc['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x278d3e,_0x116ede)=>_0x116ede?_0x5e164e(_0x278d3e,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x278d3e),_0x21ffcc;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x68b0fd=new ei(this['locale'],this['_config']['editorConfig']);return _0x68b0fd['value']=this['_model']['content'],_0x68b0fd['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x68b0fd['submitLabel']=W(this['locale'],'Save'),_0x68b0fd['on']('submit',(_0x1d0b2a,_0x22a02e)=>{this['fire']('updateComment',this['_model']['id'],_0x22a02e),this['switchToDisplayMode'](),this['focus']();}),_0x68b0fd['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x68b0fd['once']('editorReady',()=>{_0x68b0fd['focus']();}),_0x68b0fd['createEditor'](),_0x68b0fd['delegate']('editorReady')['to'](this),_0x68b0fd['delegate']('editorDestroyed')['to'](this),_0x68b0fd;}}class At extends _0x72872d(oi){['actionBar'];['userView'];constructor(_0x593d09,_0x5132af,_0x7a100e){super(_0x593d09,_0x5132af,_0x7a100e),this['set']('actionIndicator',null),this['set']('placeholder',W(_0x593d09,'Reply...')),this['bind']('authoredAt')['to'](_0x5132af),this['bind']('resolvedAt')['to'](_0x5132af),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 _0x503b73(_0x593d09,_0x5132af['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user']}}),this['listenTo'](_0x5132af,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x143a7c=this['bindTemplate'],_0x605f05=[{'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':_0x143a7c['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x143a7c['to']('authoredAt',_0x63d31d=>this['_config']['formatDateTime'](_0x63d31d))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x143a7c['if']('isEditMode','ck-comment__actions--hidden'),_0x143a7c['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']}];return this['_model']['isExternal']&&_0x605f05['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x143a7c['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x143a7c['if']('isEditMode','ck-comment--edit'),_0x143a7c['if']('isSystemComment','ck-comment--info'),_0x143a7c['to']('actionIndicator',_0x1b7386=>_0x1b7386?'ck-comment--'+_0x1b7386:'')],'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':_0x605f05}]}]};}['_createEditButton'](){const _0x48e547=new _0x5afcfe(this['locale']);return _0x48e547['label']=W(this['locale'],'Edit'),_0x48e547['icon']=_0x2dbfa3['pencil'],_0x48e547['withText']=!0x0,_0x48e547['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x48e547['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x560ffd=>!_0x560ffd),_0x48e547['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x48e547['on']('execute',()=>this['switchToEditMode']()),_0x48e547;}['_createRemoveButton'](){const _0x3c2a35=new _0x5afcfe(this['locale']);return _0x3c2a35['label']=W(this['locale'],'Remove'),_0x3c2a35['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',_0x3c2a35['withText']=!0x0,_0x3c2a35['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x3c2a35['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x5bb96b=>!_0x5bb96b),_0x3c2a35['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x3c2a35['on']('execute',()=>{this['showConfirm'](W(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x3c2a35;}['_createDropdown'](){const _0xdbf0b=_0x337986(this['locale']),_0x409c10=_0xdbf0b['panelView']['children'],_0x53365d=new _0x3acb71(this['locale']),_0x4b5952=(_0x258f28,_0x3908a8=-0x1)=>{const _0x428447=new _0x17d440(this['locale']);_0x428447['children']['add'](_0x258f28);const _0x2aaf02=_0x3908a8>-0x1?_0x3908a8:_0x53365d['items']['length'];_0x53365d['items']['add'](_0x428447,_0x2aaf02),_0xdbf0b['listenTo'](_0x258f28,'change:isEnabled',()=>{_0xdbf0b['isEnabled']=[...this['items']]['some'](_0x570fda=>_0x570fda['isEnabled']);}),_0xdbf0b['listenTo'](_0x258f28,'change:isVisible',()=>{_0xdbf0b['buttonView']['isVisible']=[...this['items']]['some'](_0x4f5d8b=>_0x4f5d8b['isVisible']);});};_0xdbf0b['panelPosition']='sw',_0xdbf0b['buttonView']['set']({'label':W(this['locale'],'Show\x20more\x20items'),'icon':_0x2dbfa3['threeVerticalDots']}),_0xdbf0b['isEnabled']=[...this['items']]['some'](_0x5dba63=>_0x5dba63['isEnabled']),_0xdbf0b['buttonView']['isVisible']=[...this['items']]['some'](_0x4d985b=>_0x4d985b['isVisible']);for(const _0x364340 of this['items'])_0x4b5952(_0x364340);return _0x409c10['add'](_0x53365d),_0xdbf0b['listenTo'](this['items'],'add',(_0x159896,_0x406770,_0x42bdb6)=>{_0x4b5952(_0x406770,_0x42bdb6);}),_0xdbf0b['listenTo'](this['items'],'remove',(_0x28e778,_0x261e11,_0x2ce734)=>{_0x53365d['items']['remove'](_0x2ce734);}),_0xdbf0b;}['_attachActions'](_0x47904e,_0x374f5a){const _0x5720c3=_0x47904e&&_0x47904e['element'];_0x5720c3&&(this['listenTo'](_0x5720c3,'mouseenter',()=>this['actionIndicator']=_0x374f5a),this['listenTo'](_0x5720c3,'focus',()=>this['actionIndicator']=_0x374f5a),this['listenTo'](_0x5720c3,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x5720c3,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x562ae2=super['_createCommentInputView']();return _0x562ae2['bind']('placeholder')['to'](this),_0x562ae2;}['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(_0x54729c){const _0x416da8=bt(_0x54729c,0x1e),_0xf739ba=new MutationObserver(_0xdd63ca=>{for(const _0x55c3d2 of _0xdd63ca)('attributes'==_0x55c3d2['type']&&'class'==_0x55c3d2['attributeName']||'childList'==_0x55c3d2['type']||'characterData'==_0x55c3d2['type'])&&_0x416da8();});return{'attach'(_0x2d8c97){_0xf739ba['observe'](_0x2d8c97,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0xf739ba['disconnect'](),_0x416da8['cancel']();}};}class V extends _t{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x1a019e,_0x3a6dd5){super(_0x1a019e),this['id']=_0x2b13d8(),this['focusTracker']=new _0x109e02(),this['keystrokes']=new Et(),this['keystrokes']['set']('Esc',(_0x8c64d3,_0x168140)=>this['fire']('Esc',_0x168140)),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'](_0x3a6dd5),this['mainView']=_0x3a6dd5;const _0x372266=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x372266['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 _0x477545=this['element']['clientHeight'];_0x477545&&(this['height']=_0x477545);}}class d extends _0x511f38(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x29373e,target:_0x255353,type:_0x1d2929,isVisible:_0x3a940d=!0x0}){super(),this['view']=_0x29373e,this['view']['element']||this['view']['render'](),this['_type']=_0x1d2929,this['_target']=_0x255353,d['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x2d2956([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x482adb,_0x43e695)=>{this['view']['focusTracker']['add'](_0x43e695);}),this['focusableElements']['on']('remove',(_0x5ee473,_0x5b6699)=>{this['view']['focusTracker']['remove'](_0x5b6699);}),this['set']('isVisible',_0x3a940d);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x4d7357=this['_getNormalizedTarget']();return d['_assertCorrectTarget'](_0x4d7357),_0x4d7357;}get['targetRect'](){const _0x2a4963=this['target'];if(null===_0x2a4963)return null;if(_0x2a4963 instanceof _0x446d66)return _0x2a4963;const _0x14c1ee=_0x2a4963['filter'](_0x455ff0=>function(_0x23df47){const _0x1a05cd=_0x23df47['offsetParent'];if(_0x1a05cd)return!0x0;const _0x3ed58a=_0x23df47['getClientRects']()['item'](0x0);return!!_0x3ed58a;}(_0x455ff0));return 0x0===_0x14c1ee['length']?null:new _0x446d66(_0x14c1ee[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x456981){this['view']['isActive']=_0x456981,this['view']['mainView']['isActive']=_0x456981;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x23e978){if(!(null===_0x23e978||_0x23e978 instanceof _0x446d66||Array['isArray'](_0x23e978)&&_0x23e978['every'](_0x3e3afa=>ee(_0x3e3afa))))throw new _0x2382d1('annotation-invalid-target',null,{'target':_0x23e978});}['_getNormalizedTarget'](){const _0x458f5b='function'==typeof this['_target']?this['_target']():this['_target'];return ee(_0x458f5b)?[_0x458f5b]:_0x458f5b;}}function ee(_0x35c34b){return null!==_0x35c34b&&'object'==typeof _0x35c34b&&'nodeType'in _0x35c34b&&0x1===_0x35c34b['nodeType'];}class x extends _0x2d2956{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x32f9bf=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x109e02(),this['_focusTracker']['on']('change:isFocused',(_0x31a9d3,_0x537658,_0x327e1a)=>{_0x327e1a||this['fire']('blur');});for(const _0x523c97 of _0x32f9bf)this['add'](_0x523c97);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x806331){if(this['has'](_0x806331))throw new _0x2382d1('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x806331['innerView'],_0x806331),this['_viewToAnnotation']['set'](_0x806331['view'],_0x806331);for(const _0x485082 of _0x806331['focusableElements'])this['_focusTracker']['add'](_0x485082);this['listenTo'](_0x806331['focusableElements'],'add',(_0x179d01,_0x1424b1)=>{this['_focusTracker']['add'](_0x1424b1);}),this['listenTo'](_0x806331['focusableElements'],'remove',(_0x59474d,_0x55bd2d)=>{this['_focusTracker']['remove'](_0x55bd2d);}),this['listenTo'](_0x806331['view']['focusTracker'],'change:isFocused',(_0x4191ed,_0x337675,_0x40a257)=>{_0x40a257&&this['fire']('focus',_0x806331);}),_0x806331['updateTargetRect']();const _0x3b62e1=this['_getOrderInContent'](_0x806331['view']['targetRect']);return super['add'](_0x806331,_0x3b62e1);}['remove'](_0x5c8f0c){if(!this['has'](_0x5c8f0c))throw new _0x2382d1('annotationcollection-not-existing-item',null);this['stopListening'](_0x5c8f0c['view']['focusTracker']),this['stopListening'](_0x5c8f0c['focusableElements']);for(const _0x3be669 of _0x5c8f0c['focusableElements'])this['_focusTracker']['remove'](_0x3be669);return this['_viewToAnnotation']['delete'](_0x5c8f0c['view']),this['_innerViewToAnnotation']['delete'](_0x5c8f0c['innerView']),super['remove'](_0x5c8f0c);}['getByInnerView'](_0x8d2cb9){return this['_innerViewToAnnotation']['get'](_0x8d2cb9);}['getByView'](_0x5cda7b){return this['_viewToAnnotation']['get'](_0x5cda7b);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x268ef5 of this)_0x268ef5['updateTargetRect']();this['_sort']();}['_sort'](){const _0x2fbeb8=Array['from'](this)['sort']((_0x386cec,_0x53cc03)=>v(_0x386cec['view']['targetRect'],_0x53cc03['view']['targetRect']));for(let _0x46702a=_0x2fbeb8['length']-0x1;_0x46702a>0x0;_0x46702a--){const _0x1b6c70=_0x2fbeb8[_0x46702a];_0x46702a!==this['getIndex'](_0x1b6c70)&&(this['remove'](_0x1b6c70),this['add'](_0x1b6c70));}}['_getOrderInContent'](_0x7ebcb6){let _0x6dcfb4=0x0;if(!_0x7ebcb6)return this['length'];for(const _0x1ddb85 of this){const _0x5a19ac=_0x1ddb85['view']['targetRect'];if(_0x5a19ac){if(v(_0x7ebcb6,_0x5a19ac)<0x0)return _0x6dcfb4;_0x6dcfb4++;}}return _0x6dcfb4;}}function v(_0xb6817b,_0x3c6385){if(null===_0xb6817b&&null===_0x3c6385)return 0x0;if(null===_0xb6817b)return-0x1;if(null===_0x3c6385)return 0x1;const _0x201ad8=_0xb6817b['top']-_0x3c6385['top'];return 0x0==_0x201ad8?_0xb6817b['left']-_0x3c6385['left']:_0x201ad8;}class b extends _0x24d6c5{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}constructor(_0x20d9b1){super(_0x20d9b1),this['collection']=new x(),this['_visibleAnnotations']=new x(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations']();}['add'](_0x3f8338){this['collection']['add'](_0x3f8338);}['remove'](_0x316065){this['collection']['remove'](_0x316065),_0x316065['destroy']();}['refreshVisibility'](){for(const _0xe121e5 of this['collection'])_0xe121e5['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x18c304){return this['collection']['getByInnerView'](_0x18c304);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x5b4f8d of this['collection'])_0x5b4f8d['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x244aba){this['fire']('_activateAnnotation',_0x244aba);}['createAnnotation'](_0x4b1901){return new d(_0x4b1901);}['createAnnotationView'](_0x32e20e,_0x2459ce){return new V(_0x32e20e,_0x2459ce);}['_addActiveAnnotation'](_0x361e48){const _0x1a0e2b=new Set(this['activeAnnotations']);_0x1a0e2b['add'](_0x361e48),this['activeAnnotations']=_0x1a0e2b;}['_removeActiveAnnotation'](_0x4e49e6){const _0x38a30f=new Set(this['activeAnnotations']);_0x38a30f['delete'](_0x4e49e6),this['activeAnnotations']=_0x38a30f;}['_bindAnnotationsToVisibleAnnotations'](){const _0x116321=this['collection'],_0xa971d1=this['_visibleAnnotations'];function _0x42687f(_0x50deba){const _0x47b575=_0x50deba['source'];_0x47b575['isVisible']&&!_0xa971d1['has'](_0x47b575)?_0xa971d1['add'](_0x47b575):!_0x47b575['isVisible']&&_0xa971d1['has'](_0x47b575)&&_0xa971d1['remove'](_0x47b575),_0x47b575['view']['focusTracker']['remove'](_0x47b575['view']['element']),_0x47b575['view']['focusTracker']['add'](_0x47b575['view']['element']);}this['listenTo'](_0x116321,'add',(_0x226014,_0x46d419)=>{_0x46d419['isVisible']&&_0xa971d1['add'](_0x46d419),this['listenTo'](_0x46d419,'change:isVisible',_0x42687f);}),this['listenTo'](_0x116321,'remove',(_0x46c322,_0x4aaee3)=>{_0xa971d1['has'](_0x4aaee3)&&_0xa971d1['remove'](_0x4aaee3),this['stopListening'](_0x4aaee3,'change:isVisible',_0x42687f);});}}const Ct=Symbol('noChannel'),vt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class m extends _0x24d6c5{['licenseKey'];['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[b,ht,lt];}static get['pluginName'](){return'CommentsRepository';}constructor(_0x2a3e0e){super(_0x2a3e0e),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 _0x3bd5fb=this['context']['config'];_0x3bd5fb['define']('comments.maxCommentsWhenCollapsed',0x2),_0x3bd5fb['define']('comments.maxThreadTotalWeight',0x1f4),_0x3bd5fb['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x3bd5fb['define']('comments.CommentThreadView',yt),_0x3bd5fb['define']('comments.CommentView',At),_0x3bd5fb['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x152a24=this['context']['plugins']['get'](b);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x570b51,_0x2e43f9)=>this['_addCommentThread'](_0x2e43f9)),this['on']('submitCommentThread',(_0x1f7e7c,_0x417dfa)=>this['_submitCommentThread'](_0x417dfa)),this['on']('resolveCommentThread',(_0x42ab88,_0x23af81)=>this['_resolveCommentThread'](_0x23af81)),this['on']('resolveCommentThread',(_0xf517c0,_0x923c9d)=>this['_updateActiveAnnotation'](_0x923c9d),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x31ed51,_0x35fa6b)=>this['_reopenCommentThread'](_0x35fa6b)),this['on']('reopenCommentThread',(_0x4cf689,_0x511e70)=>this['_updateActiveAnnotation'](_0x511e70),{'priority':'lowest'}),this['on']('removeCommentThread',(_0xaa0963,_0x4fcaeb)=>this['_removeCommentThread'](_0x4fcaeb)),this['on']('updateCommentThread',(_0x2256a3,_0xa22fd1)=>this['_updateCommentThread'](_0xa22fd1)),this['on']('updateCommentThread',(_0x126269,_0x3a5a20)=>this['_updateActiveAnnotation'](_0x3a5a20),{'priority':'lowest'}),this['on']('addComment',(_0x5ba35b,_0x157d5c)=>this['_addComment'](_0x157d5c)),this['on']('updateComment',(_0x3b72cd,_0x3cec26)=>this['_updateComment'](_0x3cec26)),this['on']('removeComment',(_0x4d870f,_0x42ae0b)=>this['_removeComment'](_0x42ae0b)),this['on']('addComment',(_0x5a0cda,{threadId:_0x539d0e,isFromAdapter:_0x1c17b6})=>{if(_0x1c17b6)return;const _0x387ad3=this['getCommentThread'](_0x539d0e),_0x162741=_0x387ad3&&this['_threadToController']['get'](_0x387ad3);_0x162741&&_0x162741['view']['focus']();},{'priority':'lowest'}),this['listenTo'](_0x152a24,'change:activeAnnotations',(_0x397d52,_0x1004c0,_0x567110)=>{const _0x761b5a=Array['from'](_0x567110)['map'](_0x268197=>this['_viewToController']['get'](_0x268197['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x761b5a?_0x761b5a['model']:null;});}['afterInit'](){!function(_0x4b6ae4){function _0x4169ff(_0x54a2ee,_0x589a74,_0x5c6153){const _0x49bce5={};_0x49bce5[_0x968299([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x49bce5[_0x968299([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],_0x49bce5[_0x968299([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],_0x49bce5[_0x968299([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],_0x49bce5[_0x968299([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],_0x49bce5[_0x968299([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],_0x49bce5[_0x968299([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],_0x49bce5[_0x968299([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],_0x49bce5[_0x968299([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],_0x49bce5[_0x968299([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],_0x49bce5[_0x968299([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 _0x10ed5e=new Uint8Array(0x10);for(let _0x2c4476=0xf;_0x2c4476>=0x0;--_0x2c4476)_0x10ed5e[_0x2c4476]=_0x5c6153%0x100,_0x5c6153=parseInt(_0x5c6153/0x100);let _0x448857=null,_0x1f21e9=0x10;const _0x38b144=new Uint8Array(_0x589a74),_0x46d7c2=[],_0x4ff7ee=[];_0x4d5596();for(let _0x287ca9=0x0;_0x287ca9<_0x54a2ee[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x287ca9++)0x10===_0x1f21e9&&(_0x448857=_0x4c80c(_0x10ed5e),_0x1f21e9=0x0,_0x4198d3(_0x10ed5e)),_0x54a2ee[_0x287ca9]^=_0x448857[_0x1f21e9++];return _0x54a2ee;function _0x139aa8(_0x4d837b){const _0x1def63=[];for(let _0xc7bc05=0x0;_0xc7bc05<_0x4d837b[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc7bc05+=0x4)_0x1def63[_0x968299([0x70,0x75,0x73,0x68])](_0x4d837b[_0xc7bc05]<<0x18|_0x4d837b[_0xc7bc05+0x1]<<0x10|_0x4d837b[_0xc7bc05+0x2]<<0x8|_0x4d837b[_0xc7bc05+0x3]);return _0x1def63;}function _0x4198d3(_0x528729){for(let _0x59a29d=0xf;_0x59a29d>=0x0;_0x59a29d--){if(0xff!==_0x528729[_0x59a29d]){_0x528729[_0x59a29d]++;break;}_0x528729[_0x59a29d]=0x0;}}function _0x4c80c(_0x42de94){const _0x53471c=_0x46d7c2[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1c2f28=[0x0,0x0,0x0,0x0];let t=_0x139aa8(_0x42de94);for(let _0x5085c5=0x0;_0x5085c5<0x4;_0x5085c5++)t[_0x5085c5]^=_0x46d7c2[0x0][_0x5085c5];for(let _0x521ebe=0x1;_0x521ebe<_0x53471c;_0x521ebe++){for(let _0x3867a3=0x0;_0x3867a3<0x4;_0x3867a3++)_0x1c2f28[_0x3867a3]=_0x49bce5[_0x968299([0x54,0x31])][t[_0x3867a3]>>0x18&0xff]^_0x49bce5[_0x968299([0x54,0x32])][t[(_0x3867a3+0x1)%0x4]>>0x10&0xff]^_0x49bce5[_0x968299([0x54,0x33])][t[(_0x3867a3+0x2)%0x4]>>0x8&0xff]^_0x49bce5[_0x968299([0x54,0x34])][0xff&t[(_0x3867a3+0x3)%0x4]]^_0x46d7c2[_0x521ebe][_0x3867a3];t=_0x1c2f28[_0x968299([0x73,0x6c,0x69,0x63,0x65])]();}const _0x14b040=new Uint8Array(0x10);let _0x48ce00;for(let _0x20a613=0x0;_0x20a613<0x4;_0x20a613++)_0x48ce00=_0x46d7c2[_0x53471c][_0x20a613],_0x14b040[0x4*_0x20a613]=0xff&(_0x49bce5[_0x968299([0x53])][t[_0x20a613]>>0x18&0xff]^_0x48ce00>>0x18),_0x14b040[0x4*_0x20a613+0x1]=0xff&(_0x49bce5[_0x968299([0x53])][t[(_0x20a613+0x1)%0x4]>>0x10&0xff]^_0x48ce00>>0x10),_0x14b040[0x4*_0x20a613+0x2]=0xff&(_0x49bce5[_0x968299([0x53])][t[(_0x20a613+0x2)%0x4]>>0x8&0xff]^_0x48ce00>>0x8),_0x14b040[0x4*_0x20a613+0x3]=0xff&(_0x49bce5[_0x968299([0x53])][0xff&t[(_0x20a613+0x3)%0x4]]^_0x48ce00);return _0x14b040;}function _0x4d5596(){const _0x282df2=_0x49bce5[_0x968299([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x38b144[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x30fd2b=0x0;_0x30fd2b<=_0x282df2;_0x30fd2b++)_0x46d7c2[_0x968299([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4ff7ee[_0x968299([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x480e49=0x4*(_0x282df2+0x1),_0x12d2bd=_0x38b144[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x53c3e6=_0x139aa8(_0x38b144);let _0x467866;for(let _0x75eb01=0x0;_0x75eb01<_0x12d2bd;_0x75eb01++)_0x467866=_0x75eb01>>0x2,_0x46d7c2[_0x467866][_0x75eb01%0x4]=_0x53c3e6[_0x75eb01],_0x4ff7ee[_0x282df2-_0x467866][_0x75eb01%0x4]=_0x53c3e6[_0x75eb01];let _0x525046,_0x2f7a17=0x0,t=_0x12d2bd;for(;t<_0x480e49;){_0x525046=_0x53c3e6[_0x12d2bd-0x1],_0x53c3e6[0x0]^=_0x49bce5[_0x968299([0x53])][_0x525046>>0x10&0xff]<<0x18^_0x49bce5[_0x968299([0x53])][_0x525046>>0x8&0xff]<<0x10^_0x49bce5[_0x968299([0x53])][0xff&_0x525046]<<0x8^_0x49bce5[_0x968299([0x53])][_0x525046>>0x18&0xff]^_0x49bce5[_0x968299([0x72,0x63,0x6f,0x6e])][_0x2f7a17]<<0x18,_0x2f7a17+=0x1;for(let _0x225829=0x1;_0x225829<_0x12d2bd/0x2;_0x225829++)_0x53c3e6[_0x225829]^=_0x53c3e6[_0x225829-0x1];_0x525046=_0x53c3e6[_0x12d2bd/0x2-0x1],_0x53c3e6[_0x12d2bd/0x2]^=_0x49bce5[_0x968299([0x53])][0xff&_0x525046]^_0x49bce5[_0x968299([0x53])][_0x525046>>0x8&0xff]<<0x8^_0x49bce5[_0x968299([0x53])][_0x525046>>0x10&0xff]<<0x10^_0x49bce5[_0x968299([0x53])][_0x525046>>0x18&0xff]<<0x18;for(let _0x472dc5=_0x12d2bd/0x2+0x1;_0x472dc5<_0x12d2bd;_0x472dc5++)_0x53c3e6[_0x472dc5]^=_0x53c3e6[_0x472dc5-0x1];let _0x21deca,_0x3414d4,_0x1705e8=0x0;for(;_0x1705e8<_0x12d2bd&&t<_0x480e49;)_0x21deca=t>>0x2,_0x3414d4=t%0x4,_0x46d7c2[_0x21deca][_0x3414d4]=_0x53c3e6[_0x1705e8],_0x4ff7ee[_0x282df2-_0x21deca][_0x3414d4]=_0x53c3e6[_0x1705e8++],t++;}for(let _0x14c571=0x1;_0x14c571<_0x282df2;_0x14c571++)for(let _0x49c1f2=0x0;_0x49c1f2<0x4;_0x49c1f2++)_0x525046=_0x4ff7ee[_0x14c571][_0x49c1f2],_0x4ff7ee[_0x14c571][_0x49c1f2]=_0x49bce5[_0x968299([0x55,0x31])][_0x525046>>0x18&0xff]^_0x49bce5[_0x968299([0x55,0x32])][_0x525046>>0x10&0xff]^_0x49bce5[_0x968299([0x55,0x33])][_0x525046>>0x8&0xff]^_0x49bce5[_0x968299([0x55,0x34])][0xff&_0x525046];}}function _0x968299(_0x580b02){return _0x580b02['map'](_0x4b38e5=>String['fromCharCode'](_0x4b38e5))['join']('');}(_0x579735=>{function _0x2cc968(){const _0x697eb=[{[_0x968299([0x69,0x64])]:0x1,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x968299([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x968299([0x69,0x64])]:0x2,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([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]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x968299([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x968299([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x968299([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x968299([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x968299([0x69,0x64])]:0x3,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x968299([0x69,0x64])]:0x4,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([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]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x968299([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x968299([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x968299([0x69,0x64])]:0x5,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([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]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x66,0x67,0x69])]:[0xc]}},{[_0x968299([0x69,0x64])]:0x6,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x66,0x67,0x69])]:[0xc]}},{[_0x968299([0x69,0x64])]:0x7,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x66,0x67,0x69])]:[0xc]}},{[_0x968299([0x69,0x64])]:0x8,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([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]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x66,0x67,0x69])]:[0xc]}},{[_0x968299([0x69,0x64])]:0x9,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x968299([0x69,0x64])]:0xa,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([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]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([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]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([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]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x66,0x67,0x69])]:[0xc]}},{[_0x968299([0x69,0x64])]:0xb,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x968299([0x69,0x64])]:0xc,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x968299([0x69,0x64])]:0xd,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x66,0x67,0x69])]:[0xc]}},{[_0x968299([0x69,0x64])]:0xe,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x968299([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([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])},{[_0x968299([0x69,0x64])]:0xf,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x968299([0x69,0x64])]:0x10,[_0x968299([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x968299([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x968299([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x968299([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x968299([0x66,0x67,0x69])]:[0xc]}}];return _0x1cfbe1(_0x697eb),_0x697eb;function _0x42cb8d(_0x2e2e0b){return 0x1<<_0x2e2e0b-0x1;}function _0x1cfbe1(_0x36297b){_0x36297b[_0x968299([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xcbc429=>{_0xcbc429[_0x968299([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x42cb8d(_0xcbc429[_0x968299([0x69,0x64])]),_0x1f3b79(_0xcbc429)&&_0xcbc429[_0x968299([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1cfbe1(_0xcbc429[_0x968299([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1f3b79(_0x2a74c2){return _0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2a74c2;}const _0x4f408b=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x145918=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4bf484(_0x48cb44){const _0xd3ce69=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5dad0c(_0x48cb44,new Uint8Array([..._0x4f408b,..._0xd3ce69,..._0x145918]));}function _0x5dad0c(_0x3d5ca8,_0x5f54a8){const _0x20f2fb=_0x508d6a(_0x3d5ca8),_0x3050fe=Array[_0x968299([0x66,0x72,0x6f,0x6d])](_0x1c4b27(_0x20f2fb)),_0x2a89d9=_0x3050fe[_0x968299([0x70,0x6f,0x70])](),_0x11c82c=_0x3050fe[_0x968299([0x70,0x6f,0x70])]();return _0xf0cdf7(_0x4169ff(_0x3050fe,_0x5f54a8,_0x11c82c+0x100*_0x2a89d9));}function _0x508d6a(_0x387f7e){const _0x176cb5=atob(_0x387f7e),[_0x5ed4de,_0xa257db]=_0x176cb5[_0x968299([0x73,0x70,0x6c,0x69,0x74])](_0x968299([0x2d]));try{if(atob(_0xa257db))return atob(_0x5ed4de);}catch(_0x2c5b1b){}return _0x176cb5;}function _0x51e20c(_0x3f31a7){try{const _0xde54e0=_0x4bf484(_0x3f31a7),_0x243db8=JSON[_0x968299([0x70,0x61,0x72,0x73,0x65])](_0xde54e0),_0x36dd63=parseInt(_0x243db8[_0x968299([0x31])]),_0x58462b=_0x243db8[_0x968299([0x32])]||'',_0x4477f4=parseInt(_0x243db8[_0x968299([0x33])]),_0x1dad2a=parseInt(_0x243db8[_0x968299([0x34])])||0x0,_0x2e8e59=parseInt(_0x243db8[_0x968299([0x35])])||0x0;return{[_0x968299([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x58462b,[_0x968299([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1dad2a,[_0x968299([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x36dd63,[_0x968299([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4477f4,[_0x968299([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x2e8e59};}catch(_0x4691b9){return null;}}const _0x15ef8b=_0x2cc968(),_0x33da2b={[_0x968299([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1cdc75,[_0x968299([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])]:_0x5a7b64,[_0x968299([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])]:_0x4804cd},_0x534f7f=_0x579735[_0x968299([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5585de=_0x968299([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x579735?_0x579735['context']:_0x579735['editor'],_0x3b17b5=_0x968299([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x38]),_0x2870d0=_0x968299([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]),_0xc123de=_0x5585de['config']['get'](_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3b627c=_0x15ef8b[_0x968299([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f3b79)[_0x968299([0x66,0x69,0x6e,0x64])](_0x22837f=>_0x22837f[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x534f7f);function _0xfc2af9(_0x2e5a97,_0x1944c7){_0x33da2b[_0x1944c7[_0x968299([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2e5a97,_0x1944c7),_0x1944c7[_0x968299([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1944c7[_0x968299([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x968299([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x401e9d=>_0x28645a(_0x5585de,_0x401e9d[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x968299([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xfb6e31=>_0xfc2af9(_0x2e5a97,_0xfb6e31));}function _0x1cdc75(_0x25de1f,_0x2c79c7){_0x5ebd48(_0x127ca3(_0x25de1f,_0x2c79c7),_0x2c79c7);}function _0x5a7b64(_0x240531,_0x204b67){function _0x319305(_0x384fbd,_0x24a040){try{if(_0x28645a(_0x5585de,_0x968299([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x384fbd){const _0x4045b0=_0x6fde96(_0x5585de,_0x968299([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x968299([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x4045b0)/0x2>_0x384fbd[_0x968299([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3f634a(_0x24a040[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x127ca3(_0x384fbd,_0x24a040);}catch(_0x3155c2){return _0x3f634a(_0x24a040[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5ebd48(_0x319305(_0x240531,_0x204b67),_0x204b67);}function _0x4804cd(_0x49ec6f,_0x2d0339){const _0x36d717=_0x145918[0x0]*_0x4f408b[0x1],_0x529459=_0x145918[0x0]*_0x4f408b[0x2],_0x202c3b=_0x145918[0x2]*_0x4f408b[0x2];_0x28645a(_0x5585de,_0x968299([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x6fde96(_0x5585de,_0x968299([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x968299([0x73,0x74,0x61,0x74,0x65])]==_0x968299([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x40c922()]=_0x202c3b);function _0x2ed078(_0x592455,_0x122185){try{return _0x3d5ffe()?_0x3f634a(_0x122185[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x56,0x61,0x6c,0x69,0x64])):_0x127ca3(_0x592455,_0x122185);}catch(_0x8a6c8){return _0x3f634a(_0x122185[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3f854b(_0x57ac2a,_0x4bb116){const _0xcc5cb8=0x7;if(_0x57ac2a==_0x4bb116[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4bc192();else{if(_0x57ac2a==_0x4bb116[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x54,0x72,0x69,0x61,0x6c])){const _0x5c87f2=_0x50794e();_0x5c87f2&&_0x5326ca(_0x5c87f2,_0x4bb116[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4c93cb=_0x2654a8();window[_0x968299([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5326ca(_0x968299([0x74,0x69,0x6d,0x65]),_0x4bb116[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4c93cb);const _0x3aa790=_0x6fde96(_0x5585de,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x968299([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3aa790[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xcc5cb8?_0x5326ca(_0x968299([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4bb116[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3aa790['on'](_0x968299([0x61,0x64,0x64]),()=>{_0x3aa790[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xcc5cb8&&_0x5326ca(_0x968299([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4bb116[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x50794e(){if(!_0x28645a(_0x5585de,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x198443 in window)if(Number['isNaN'](Number(_0x198443))){if(window[_0x198443]===_0x36d717)return _0x968299([0x74,0x69,0x6d,0x65]);if(window[_0x198443]===_0x529459)return _0x968299([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3d5ffe(){if(!_0x28645a(_0x5585de,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5c4185 in window)if(Number['isNaN'](Number(_0x5c4185))&&window[_0x5c4185]===_0x202c3b)return!0x0;return!0x1;}function _0x5326ca(_0x6d6e25,_0x215c8b){_0x4bc192(),_0x3f634a(_0x215c8b+_0x968299([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x6d6e25),window[_0x40c922()]=_0x6d6e25===_0x968299([0x74,0x69,0x6d,0x65])?_0x36d717:_0x529459;}function _0x2654a8(){let _0x4e9c55=_0x145918[0x6]*_0x4f408b[0x8]*_0x4f408b[0x6];return _0x28645a(_0x5585de,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4e9c55/=0xa),_0x4e9c55;}function _0x4bc192(){const _0x40649c=_0x5585de;function _0x129c7d(){_0x28645a(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x968299([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x968299([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x968299([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x968299([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x815cf6,_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x968299([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x815cf6,_0x40649c[_0x968299([0x6d,0x6f,0x64,0x65,0x6c])][_0x968299([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x815cf6,_0x40649c[_0x968299([0x6d,0x6f,0x64,0x65,0x6c])][_0x968299([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x815cf6,_0x40649c[_0x968299([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x968299([0x6d,0x6f,0x64,0x65,0x6c]))),_0x28645a(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x968299([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x968299([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x968299([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x968299([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x815cf6,_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x968299([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x815cf6);}_0x40649c[_0x968299([0x73,0x74,0x61,0x74,0x65])]==_0x968299([0x72,0x65,0x61,0x64,0x79])?_0x129c7d():_0x40649c[_0x968299([0x6f,0x6e,0x63,0x65])](_0x968299([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x28645a(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x129c7d(),_0x28645a(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x16bd6b=_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2493de=_0x16bd6b['getRevision'](0x0),_0x32f081=_0x16bd6b['getEarlierVisibleRevision'](_0x2493de[_0x968299([0x69,0x64])]);_0x6fde96(_0x40649c,_0x968299([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x968299([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2493de[_0x968299([0x69,0x64])],_0x32f081?_0x32f081[_0x968299([0x69,0x64])]:null,0x1)['then'](()=>_0x129c7d());}});}_0x3f854b(_0x2ed078(_0x49ec6f,_0x2d0339),_0x2d0339);}function _0x127ca3(_0x42da82,_0x49dd88){try{return _0x58a34d(_0x49dd88)?_0x3f634a(_0x49dd88[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x56,0x61,0x6c,0x69,0x64])):_0x42da82&&_0x302b8d(_0x42da82[_0x968299([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x49dd88)?_0x42da82[_0x968299([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x968299([0x6f,0x70,0x65,0x6e])][_0x968299([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3b17b5)/0x2>_0x42da82[_0x968299([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3f634a(_0x49dd88[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x42da82[_0x968299([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3f634a(_0x49dd88[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x54,0x72,0x69,0x61,0x6c])):_0x3f634a(_0x49dd88[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x56,0x61,0x6c,0x69,0x64])):_0x3f634a(_0x49dd88[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x22df42){return _0x3f634a(_0x49dd88[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5ebd48(_0x419a9f,_0x329e1f){if(_0x5585de instanceof _0x28a128){const _0x22c1b9=_0x5585de;_0x419a9f==_0x329e1f[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3510ec(_0x22c1b9):_0x419a9f==_0x329e1f[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x54,0x72,0x69,0x61,0x6c])&&window[_0x968299([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3510ec(_0x22c1b9),_0x3f634a(_0x329e1f[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x145918[0x6]*_0x4f408b[0x8]*_0x4f408b[0x6]),_0x22c1b9[_0x968299([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x968299([0x6f,0x6e])](_0x968299([0x61,0x64,0x64]),(_0x231f2b,_0xf1f079)=>{_0x419a9f!=_0x329e1f[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x419a9f!=_0x329e1f[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x419a9f!=_0x329e1f[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xcbf22c(_0xf1f079);});}else{const _0x553036=_0x5585de;_0x419a9f==_0x329e1f[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xcbf22c(_0x553036):_0x419a9f==_0x329e1f[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x54,0x72,0x69,0x61,0x6c])&&_0x553036[_0x968299([0x6f,0x6e])](_0x968299([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2ca3f5=0x0;_0x553036[_0x968299([0x6d,0x6f,0x64,0x65,0x6c])][_0x968299([0x6f,0x6e])](_0x968299([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21a07e,_0x1fddd3)=>{_0x1fddd3[0x0][_0x968299([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ca3f5++,0x1f8===_0x2ca3f5&&(_0xcbf22c(_0x553036),_0x3f634a(_0x329e1f[_0x968299([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x968299([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x21a07e[_0x968299([0x6f,0x66,0x66])]());},{'priority':_0x968299([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3f634a(_0x5b8fa5){const _0x17a577=_0x40c922();return _0x5585de[_0x17a577]=_0x5b8fa5,_0x5b8fa5;}function _0x40c922(){const _0x17b5dd=String(window[_0x968299([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x968299([0x6e,0x6f,0x77])]())[_0x968299([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x968299([0x2e]),'');let _0x2b3991='';for(let _0x4e568d=0x0;_0x4e568d<_0x17b5dd[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e568d+=0x2){let _0x45aea6=parseInt(_0x17b5dd[_0x968299([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e568d,_0x4e568d+0x2));_0x45aea6>=_0x2870d0[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45aea6-=_0x2870d0[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b3991+=_0x2870d0[_0x45aea6];}return _0x2b3991;}function _0x3510ec(_0x526499){for(const _0x1d10d2 of _0x526499[_0x968299([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xcbf22c(_0x1d10d2);_0x6fde96(_0x526499,_0x968299([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x968299([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x6fde96(_0x526499,_0x968299([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x968299([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x815cf6;}function _0xcbf22c(_0x3cb268){function _0x212140(){_0x3cb268[_0x968299([0x6d,0x6f,0x64,0x65,0x6c])][_0x968299([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x815cf6,_0x3cb268[_0x968299([0x6d,0x6f,0x64,0x65,0x6c])][_0x968299([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x815cf6,_0x3cb268[_0x968299([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x968299([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3cb268[_0x968299([0x73,0x74,0x61,0x74,0x65])]==_0x968299([0x72,0x65,0x61,0x64,0x79])?_0x212140():_0x3cb268[_0x968299([0x6f,0x6e,0x63,0x65])](_0x968299([0x72,0x65,0x61,0x64,0x79]),()=>_0x212140());}function _0x815cf6(){return null;}function _0x302b8d(_0x4549a6,_0xba6cf2){const _0x3e5887=!!(_0x4549a6&_0xba6cf2[_0x968299([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xf6a3d7=_0x6bfff(_0x4549a6,_0xba6cf2);return _0x3e5887||_0xf6a3d7;}function _0x6bfff(_0x267fb9,_0x39b20e){const _0x4da5ea=(_0x39b20e[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x968299([0x66,0x67,0x69])]||null;return!!_0x4da5ea&&_0x15ef8b[_0x968299([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29de33=>_0x4da5ea[_0x968299([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29de33[_0x968299([0x69,0x64])]))[_0x968299([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26670c=>!_0x488fbe(_0x26670c))[_0x968299([0x73,0x6f,0x6d,0x65])](_0x2b0519=>!!(_0x267fb9&_0x2b0519[_0x968299([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x488fbe(_0x4a1b89){const _0x4bbc0e={[_0x968299([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])]:_0x4cfc4d};return!!_0x4a1b89['forbiddenHandler']&&_0x4bbc0e[_0x4a1b89['forbiddenHandler']]();}function _0x4cfc4d(){return!window[_0x968299([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x28645a(_0x5585de,_0x968299([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x58a34d(_0x17829c){if(!_0x28645a(_0x5585de,_0x17829c[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x41746b=_0x17829c[_0x968299([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x552826=_0x41746b[_0x968299([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x14c5be=_0x41746b[_0x968299([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5365b8=_0x41746b[_0x968299([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x28645a(_0x5585de,_0x968299([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x6fde96(_0x5585de,_0x968299([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x968299([0x73,0x74,0x61,0x74,0x65])]==_0x968299([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x552826)return!0x0;if(_0x28645a(_0x5585de,_0x968299([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x6fde96(_0x5585de,_0x968299([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x968299([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x968299([0x65,0x6e,0x64])&&_0x14c5be)return!0x0;return!(!_0x28645a(_0x5585de,_0x968299([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]))||_0x6fde96(_0x5585de,_0x968299([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]))[_0x968299([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x968299([0x65,0x6e,0x64])||!_0x5365b8);}function _0x28645a(_0x12c022,_0x5b0a75){return _0x12c022[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x968299([0x68,0x61,0x73])](_0x5b0a75);}function _0x6fde96(_0x251d56,_0x29fd41){return _0x251d56[_0x968299([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x968299([0x67,0x65,0x74])](_0x29fd41);}function _0xf0cdf7(_0x44fe5b){let _0x2eb86e='';for(const _0x267929 of _0x44fe5b)_0x2eb86e+=String[_0x968299([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x267929);return _0x2eb86e;}function _0x1c4b27(_0x328e34){const _0x4a31da=new Uint8Array(_0x328e34[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3389d4=0x0;_0x3389d4<_0x328e34[_0x968299([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3389d4++)_0x4a31da[_0x3389d4]=_0x328e34[_0x968299([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3389d4);return _0x4a31da;}_0x3b627c&&_0xfc2af9(_0x51e20c(_0xc123de),_0x3b627c);})(_0x4b6ae4);}(this);}set['adapter'](_0x79c7c9){if(this['_adapter'])throw new _0x2382d1('commentsrepository-adapter-already-set');this['_adapter']=_0x79c7c9;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x574ca7=Ct,threadId:_0x1cacba=_0x2b13d8(),comments:_0x300c5b=[],unlinkedAt:_0x23ba44=null,resolvedAt:_0xf04580=null,resolvedBy:_0x381a68=null,target:_0x585f79=null,context:_0x528807=null,attributes:_0x7af707={},isResolvable:_0x155a39=!0x0,isSubmitted:_0x28b245=!0x1,isFromAdapter:_0x51c456=!0x1}={}){return this['fire'](gt('addCommentThread',_0x574ca7),{'channelId':_0x574ca7,'threadId':_0x1cacba,'comments':_0x300c5b,'unlinkedAt':_0x23ba44,'resolvedAt':_0xf04580,'resolvedBy':_0x381a68,'target':_0x585f79,'context':_0x528807,'attributes':_0x7af707,'isFromAdapter':_0x51c456,'isResolvable':_0x155a39,'isSubmitted':_0x28b245}),this['getCommentThread'](_0x1cacba);}['openNewCommentThread']({channelId:_0x562d1a=Ct,threadId:_0x59e204=_0x2b13d8(),target:_0xee8257,context:_0x1e1312=null,isResolvable:_0x16afb1=!0x0}){if(this['_readOnlyChannels']['has'](_0x562d1a)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0xee8257)throw new _0x2382d1('commentsrepository-missing-target');const _0xcf227e=this['addCommentThread']({'channelId':_0x562d1a,'threadId':_0x59e204,'target':_0xee8257,'context':_0x1e1312,'isResolvable':_0x16afb1});if(!_0xcf227e)return null;const _0x5c7177=this['_threadToController']['get'](_0xcf227e),_0x4723bd=_0x5c7177['view']['commentThreadInputView']['commentInputView'],_0x21aea3=this['context']['plugins']['get'](b),_0x3c45d2=_0x21aea3['getByInnerView'](_0x5c7177['view']);return _0x21aea3['activate'](_0x3c45d2),_0x4723bd['once']('editorReady',()=>_0x4723bd['focus']()),_0xcf227e;}['hasCommentThread'](_0x3621d8){if('string'!=typeof _0x3621d8)throw new _0x2382d1('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x3621d8);}['updateCommentThread']({channelId:_0x19340b=Ct,threadId:_0x121109,context:_0x531e49,unlinkedAt:_0x2bdc7c,attributes:_0x233a2a,isFromAdapter:_0x325397=!0x1}){return this['fire'](gt('updateCommentThread',_0x19340b),{'channelId':_0x19340b,'threadId':_0x121109,'context':_0x531e49,'unlinkedAt':_0x2bdc7c,'attributes':_0x233a2a,'isFromAdapter':_0x325397}),this['getCommentThread'](_0x121109);}['getCommentThread'](_0x4cd794){if('string'!=typeof _0x4cd794)throw new _0x2382d1('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x4cd794);}['fetchCommentThread']({channelId:_0x4b8fd8,threadId:_0x361552}={}){const _0xd177e5=this['getCommentThread'](_0x361552);if(_0xd177e5)return Promise['resolve'](_0xd177e5);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x2382d1('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x4b8fd8,'threadId':_0x361552})['then'](_0x2196ee=>this['hasCommentThread'](_0x361552)?this['getCommentThread'](_0x361552):_0x2196ee?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x4b8fd8},_0x2196ee)):void 0x0)['catch'](_0x523430=>{throw console['error'](_0x523430),new _0x2382d1('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x287c75,skipNotAttached:_0x2bc602=!0x1,skipEmpty:_0x41d752=!0x1,toJSON:_0x344477=!0x1}={}){const _0x39a64a=[];for(const _0x446585 of this['_threads']['values']())_0x287c75&&_0x446585['channelId']!==_0x287c75||_0x2bc602&&!_0x446585['isAttached']||_0x41d752&&0x0===_0x446585['length']||_0x39a64a['push'](_0x446585);return _0x344477?_0x39a64a['map'](_0x3f129d=>_0x3f129d['toJSON']()):_0x39a64a;}['setActiveCommentThread'](_0x36964e){const _0x40f143=this['context']['plugins']['get'](b);if(!_0x36964e)return void(this['activeCommentThread']&&_0x40f143['deactivateAll']());const _0x39d13c=this['getCommentThread'](_0x36964e);if(!_0x39d13c)throw new _0x2382d1('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x36964e});if(!this['_threadToController']['has'](_0x39d13c))throw new _0x2382d1('commentsrepository-active-not-attached',null,{'threadId':_0x36964e});const _0x2f6ccb=_0x40f143['getByInnerView'](this['_threadToController']['get'](_0x39d13c)['view']);_0x40f143['activate'](_0x2f6ccb);}['switchReadOnly'](_0x32ae42,_0x430ca3){_0x32ae42?this['_readOnlyChannels']['add'](_0x430ca3):this['_readOnlyChannels']['delete'](_0x430ca3),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x52a26e){return this['_readOnlyChannels']['has'](_0x52a26e)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x1516f0,_0x134baf){return new wt(_0x1516f0,_0x134baf);}['setPermissions'](_0x183e96,_0x2859cc=Ct){this['_permissions']['set'](_0x2859cc,_0x183e96),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x231b44=Ct){return this['_permissions']['has'](_0x231b44)?this['_permissions']['get'](_0x231b44):vt;}['_addCommentThread']({channelId:_0x294c34,threadId:_0x5a93ea,comments:_0x490aff,unlinkedAt:_0x54c79a,resolvedAt:_0x192fad,resolvedBy:_0xdf7da4,target:_0x4cfe2e,context:_0x4e0634,attributes:_0x90af90,isFromAdapter:_0x11aff4,isResolvable:_0x13a76e,isSubmitted:_0x17c195}){if('string'!=typeof _0x5a93ea)throw new _0x2382d1('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x5a93ea});if(this['hasCommentThread'](_0x5a93ea))throw new _0x2382d1('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x5a93ea});const _0x5ea58d=new ie(this,{'channelId':_0x294c34,'id':_0x5a93ea,'context':_0x4e0634,'attributes':_0x90af90,'unlinkedAt':_0x54c79a,'resolvedAt':_0x192fad,'resolvedBy':_0xdf7da4?this['context']['plugins']['get'](lt)['getUser'](_0xdf7da4):null,'isResolvable':_0x13a76e,'isSubmitted':_0x17c195||_0x11aff4});this['_threads']['set'](_0x5a93ea,_0x5ea58d);for(const _0x2a78cd of _0x490aff)_0x5ea58d['_add'](this['_createNewComment']({'threadId':_0x5a93ea,..._0x2a78cd}));return _0x4cfe2e&&_0x5ea58d['attachTo'](_0x4cfe2e),_0x11aff4||!_0x5ea58d['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x294c34,'threadId':_0x5a93ea});}['_submitCommentThread']({channelId:_0x530df3,threadId:_0x4c2b03}){if(!this['hasCommentThread'](_0x4c2b03))throw new _0x2382d1('commentsrepository-missing-comment-thread',this);const _0x49cfd3=this['getCommentThread'](_0x4c2b03);if(_0x49cfd3['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x4aee66,comments:_0xe48cc4,resolvedAt:_0x1c8bd9,resolvedBy:_0x2ed11b,context:_0x3fff1d,attributes:_0x514697}=_0x49cfd3,_0x1b7828=this['context']['plugins']['get']('PendingActions'),_0x3a849d=_0x1b7828['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x530df3,'threadId':_0x4aee66,'comments':_0xe48cc4['map'](_0x47f187=>_0x47f187['toJSON']()),'resolvedAt':_0x1c8bd9,'resolvedBy':_0x2ed11b?_0x2ed11b['id']:_0x2ed11b,'context':_0x3fff1d,'attributes':_0x514697})['then'](({comments:_0x1c59fe})=>{_0x1b7828['remove'](_0x3a849d);for(const _0x1a3377 of _0x1c59fe)this['_updateComment']({'channelId':_0x530df3,'threadId':_0x4c2b03,'commentId':_0x1a3377['commentId'],'createdAt':_0x1a3377['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x4151f8=>{throw console['error'](_0x4151f8),new _0x2382d1('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x3aa927,target:_0xd129ef}){const _0x3b86c1=this['getCommentThread'](_0x3aa927);if(!_0x3b86c1)throw new _0x2382d1('commentsrepository-attach-missing-comment-thread',this);const _0x14497b=this['context']['plugins']['get']('PendingActions'),_0xe671e3=this['context']['plugins']['get'](b),_0x4b0067=this['_createCommentThreadView'](_0x3b86c1),_0x2cbd45=new wt(_0x3b86c1,_0x4b0067);let _0x910932=null;_0x4b0067['on']('change:isDirty',(_0x1bef6d,_0x10f9f7,_0x10a086)=>{_0x10a086?_0x910932=_0x14497b['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x910932&&(_0x14497b['remove'](_0x910932),_0x910932=null);}),this['_threadToController']['set'](_0x3b86c1,_0x2cbd45),this['_viewToController']['set'](_0x4b0067,_0x2cbd45);const _0x36e3fb=new V(this['context']['locale'],_0x4b0067);_0x36e3fb['bind']('length')['to'](_0x4b0067),_0x36e3fb['bind']('isDirty')['to'](_0x4b0067,'isDirty',_0x4b0067,'length',(_0x27b315,_0x2973a6)=>_0x27b315||!_0x2973a6),_0x36e3fb['bind']('isActive')['to'](_0x4b0067),_0x36e3fb['type']='comment';const _0x4cb20f=new d({'view':_0x36e3fb,'target':_0xd129ef,'type':'comment','isVisible':!_0x3b86c1['isResolved']});return this['_bindAnnotationToEditors'](_0x4b0067,_0x4cb20f),_0xe671e3['add'](_0x4cb20f),_0x4cb20f;}['_bindAnnotationToEditors'](_0x2dcbb6,_0x403dd3){this['listenTo'](_0x2dcbb6,'editorReady',(_0x18bfdd,_0x41d729)=>{const _0x3bc1bc=_0x41d729['ui']['view']['body']['bodyCollectionContainer'];_0x403dd3['focusableElements']['add'](_0x3bc1bc),this['context']instanceof mt&&this['context']['ui']['focusTracker']['add'](_0x3bc1bc);},{'priority':'highest'}),this['listenTo'](_0x2dcbb6,'editorDestroyed',(_0x5cc237,_0x3e5d74)=>{const _0x373589=_0x3e5d74['ui']['view']['body']['bodyCollectionContainer'];_0x403dd3['focusableElements']['has'](_0x373589)&&_0x403dd3['focusableElements']['remove'](_0x373589),this['context']instanceof mt&&this['context']['ui']['focusTracker']['remove'](_0x373589);});}['_unbindEditors'](_0x40971c){this['stopListening'](_0x40971c,'editorReady'),this['stopListening'](_0x40971c,'editorDestroyed');}['_createCommentThreadView'](_0x4e13af){const _0x54eff3=this['context']['plugins']['get'](lt),{config:_0x57face,locale:_0x2388c8}=this['context'],_0x1f875d=dt(_0x57face['get']('locale'));return new(0x0,(_0x57face['get']('comments'))['CommentThreadView'])(_0x2388c8,_0x4e13af,_0x54eff3['me'],{'editorConfig':{..._0x57face['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x57face['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x57face['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x57face['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x57face['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x1f875d,'CommentView':_0x57face['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x232859,channelId:_0xb7a131,resolvedAt:_0x3eb031,resolvedBy:_0x47dd8a,isFromAdapter:_0x46a8bb}){if(!this['hasCommentThread'](_0x232859))throw new _0x2382d1('commentsrepository-missing-comment-thread',null,{'threadId':_0x232859});const _0x281b92=this['getCommentThread'](_0x232859);if(_0x281b92['isResolved'])throw new _0x2382d1('commentsrepository-resolved-comment-thread',null,{'threadId':_0x232859});const _0x24c151=this['context']['plugins']['get'](lt);if(_0x281b92['resolvedBy']=_0x24c151['getUser'](_0x47dd8a),_0x281b92['resolvedAt']=_0x3eb031,_0x46a8bb||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x30a238=this['context']['plugins']['get']('PendingActions'),_0x541e42=_0x30a238['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0xb7a131,'threadId':_0x232859})['then'](({resolvedAt:_0x4c1dda,resolvedBy:_0x12ba3e})=>{_0x30a238['remove'](_0x541e42),_0x281b92['resolvedBy']['id']!==_0x12ba3e&&(_0x281b92['resolvedBy']=_0x24c151['getUser'](_0x12ba3e)),_0x281b92['resolvedAt']=_0x4c1dda;})['catch'](_0x2d49a2=>{throw console['error'](_0x2d49a2),new _0x2382d1('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x3346b2,channelId:_0x4741cd,isFromAdapter:_0x59f6e7}){if(!this['hasCommentThread'](_0x3346b2))throw new _0x2382d1('commentsrepository-missing-comment-thread',null,{'threadId':_0x3346b2});const _0x9ba06b=this['getCommentThread'](_0x3346b2);if(!_0x9ba06b['isResolved'])throw new _0x2382d1('commentsrepository-reopen-comment-thread',null,{'threadId':_0x3346b2});if(_0x9ba06b['resolvedBy']=null,_0x9ba06b['resolvedAt']=null,_0x59f6e7||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x568a4a=this['context']['plugins']['get']('PendingActions'),_0x3b0a17=_0x568a4a['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x4741cd,'threadId':_0x3346b2})['then'](()=>_0x568a4a['remove'](_0x3b0a17))['catch'](_0x3b11a2=>{throw console['error'](_0x3b11a2),new _0x2382d1('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x50ede4,isFromAdapter:_0x31fbd7}){const _0xfa0cee=this['getCommentThread'](_0x50ede4);if(!_0xfa0cee)throw new _0x2382d1('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x50ede4),this['_threads']['delete'](_0x50ede4),!_0xfa0cee['isSubmitted']||_0x31fbd7||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x49f898=this['context']['plugins']['get']('PendingActions'),{channelId:_0x3ec8e9}=_0xfa0cee,_0x5ec3b4=_0x49f898['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x3ec8e9,'threadId':_0x50ede4})['then'](()=>_0x49f898['remove'](_0x5ec3b4))['catch'](_0x22d22b=>{throw console['error'](_0x22d22b),new _0x2382d1('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x511427,unlinkedAt:_0x3152ca,context:_0x3c8254,attributes:_0x5410b3,isFromAdapter:_0x106a1c}){if('string'!=typeof _0x511427)throw new _0x2382d1('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x511427});if(!this['hasCommentThread'](_0x511427))throw new _0x2382d1('commentsrepository-missing-comment-thread',null,{'threadId':_0x511427});const _0x5986c5=this['getCommentThread'](_0x511427);let _0x3c3bd8=!0x1;if(void 0x0!==_0x3c8254&&_0x5986c5['context']!==_0x3c8254&&(_0x5986c5['context']=_0x3c8254,_0x3c3bd8=!0x0),void 0x0!==_0x3152ca&&_0x5986c5['unlinkedAt']!==_0x3152ca&&(_0x5986c5['unlinkedAt']=_0x3152ca,_0x3c3bd8=!0x0),_0x5410b3&&!ft(_0x5410b3,_0x5986c5['attributes'])&&(_0x5986c5['attributes']=_0x5410b3,_0x3c3bd8=!0x0),!_0x3c3bd8)return Promise['resolve']();if(!_0x5986c5['isSubmitted']||_0x106a1c||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x333dd8=this['context']['plugins']['get']('PendingActions'),{channelId:_0x34db6a}=_0x5986c5,_0x4907ab=_0x333dd8['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x34db6a,'threadId':_0x511427,'context':_0x3c8254,'unlinkedAt':_0x3152ca,'attributes':_0x5410b3})['then'](()=>_0x333dd8['remove'](_0x4907ab))['catch'](_0x3a6884=>{throw console['error'](_0x3a6884),new _0x2382d1('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x34622c){const _0x5b7464=this['context']['plugins']['get'](b),_0x5f0741=this['getCommentThread'](_0x34622c);if(this['_threadToController']['has'](_0x5f0741)){const _0x40720d=this['_threadToController']['get'](_0x5f0741),_0x217511=_0x40720d['view'],_0x5b9614=_0x5b7464['getByInnerView'](_0x217511);this['_threadToController']['delete'](_0x5f0741),this['_viewToController']['delete'](_0x217511),_0x5b9614&&_0x5b7464['remove'](_0x5b9614),_0x40720d['destroy'](),_0x217511['destroy']()['then'](()=>{this['_unbindEditors'](_0x217511);});}}['_updateActiveAnnotation']({threadId:_0x4b315e,resolvedAt:_0x31d0ca}){const _0x569529=!!_0x31d0ca,_0x5b379f=this['context']['plugins']['get'](b),_0x1ae150=this['getCommentThread'](_0x4b315e);if(this['_threadToController']['has'](_0x1ae150)){const _0x2cfd4b=this['_threadToController']['get'](_0x1ae150)['view'],_0x5de094=_0x5b379f['getByInnerView'](_0x2cfd4b);_0x5de094&&(_0x569529&&_0x5b379f['_removeActiveAnnotation'](_0x5de094),_0x5de094['refreshVisibility']());}}['_getExternalAuthor'](_0x76018d){const _0x1e2c21=this['context']['plugins']['get'](lt),_0x1a4f0c=ct('external:'+_0x76018d),_0x2c4be8=_0x1e2c21['getUser'](_0x1a4f0c);return _0x2c4be8||_0x1e2c21['addUser']({'id':_0x1a4f0c,'name':_0x76018d});}['_createNewComment']({threadId:_0x4bad76,commentId:_0x351340=_0x2b13d8(),content:_0x5e3488,authorId:_0x26f37e,createdAt:_0x3ad87c,attributes:_0x1129cc}){if('string'!=typeof _0x351340)throw new _0x2382d1('commentsrepository-invalid-commentid');if('string'!=typeof _0x26f37e)throw new _0x2382d1('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x5e3488||!_0x5e3488['trim']())throw new _0x2382d1('commentsrepository-invalid-comment-content');const _0x32949f=this['context']['plugins']['get'](lt)['getUser'](_0x26f37e);if(!_0x32949f)throw new _0x2382d1('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x26f37e});let _0x21a598=null,_0x269545=_0x3ad87c;return _0x1129cc&&_0x1129cc['@external']&&(_0x21a598=this['_getExternalAuthor'](_0x1129cc['@external']['authorName']),_0x269545=new Date(_0x1129cc['@external']['createdAt'])),new se(this,{'threadId':_0x4bad76,'id':_0x351340,'author':_0x21a598||_0x32949f,'creator':_0x32949f,'content':_0x5e3488,'createdAt':_0x3ad87c,'authoredAt':_0x269545,'attributes':_0x1129cc});}['_addComment'](_0x2ad2de){let {threadId:_0x42ccbb,content:_0x3acede,attributes:_0x8e3c00,isFromAdapter:_0x598d33}=_0x2ad2de;const _0x373264=this['getCommentThread'](_0x2ad2de['threadId']);if(!_0x373264)throw new _0x2382d1('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x1586cb=this['_createNewComment'](_0x2ad2de),{id:_0x27dcda}=_0x1586cb;if(_0x373264['_add'](_0x1586cb),_0x598d33||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x373264['isSubmitted'])return Promise['resolve']();const _0xb0c3d9=this['context']['plugins']['get']('PendingActions'),{channelId:_0x15b6ef}=_0x373264,_0x18cd60=_0xb0c3d9['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x8e3c00||(_0x8e3c00={}),this['adapter']['addComment']({'channelId':_0x15b6ef,'threadId':_0x42ccbb,'commentId':_0x27dcda,'content':_0x3acede,'attributes':_0x8e3c00})['then'](_0x4fd249=>{_0xb0c3d9['remove'](_0x18cd60),_0x4fd249&&this['_updateComment']({'channelId':_0x15b6ef,'threadId':_0x42ccbb,'commentId':_0x27dcda,'createdAt':_0x4fd249['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x18fa6c=>{throw console['error'](_0x18fa6c),new _0x2382d1('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x1898b4,commentId:_0x39488a,content:_0x573e9f,createdAt:_0x4e0b34,attributes:_0x396a23,isFromAdapter:_0x193987}){if(void 0x0!==_0x573e9f&&('string'!=typeof _0x573e9f||!_0x573e9f['trim']()['length']))throw new _0x2382d1('commentsrepository-update-comment-invalid-content');const _0x3fc03b=this['getCommentThread'](_0x1898b4),_0x2e8d3e=_0x3fc03b['getComment'](_0x39488a);if(!_0x2e8d3e)throw new _0x2382d1('commentsrepository-update-missing-comment',this);let _0x228593=!0x1;if(_0x573e9f&&_0x573e9f!==_0x2e8d3e['content']&&(_0x2e8d3e['isEditable']||_0x193987)&&(_0x2e8d3e['content']=_0x573e9f,_0x228593=!0x0),_0x4e0b34&&_0x4e0b34!==_0x2e8d3e['createdAt']&&(_0x2e8d3e['createdAt']=_0x4e0b34,_0x2e8d3e['attributes']&&_0x2e8d3e['attributes']['@external']||(_0x2e8d3e['authoredAt']=_0x4e0b34),_0x228593=!0x0),_0x396a23&&!ft(_0x396a23,_0x2e8d3e['attributes'])&&(_0x2e8d3e['attributes']=_0x396a23,_0x228593=!0x0),!_0x228593)return Promise['resolve']();if(_0x3fc03b['fire']('commentUpdated'),_0x193987||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x3a8970=this['context']['plugins']['get']('PendingActions'),{channelId:_0xfd1c09}=this['getCommentThread'](_0x2e8d3e['threadId']),_0x443bb9=_0x3a8970['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0xfd1c09,'threadId':_0x1898b4,'commentId':_0x39488a,'content':_0x573e9f,'attributes':_0x396a23})['then'](()=>_0x3a8970['remove'](_0x443bb9))['catch'](_0x4e0b55=>{throw console['error'](_0x4e0b55),new _0x2382d1('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x1ee6ca,commentId:_0x4caf82,isFromAdapter:_0x5dc202}){const _0x75ccf8=this['getCommentThread'](_0x1ee6ca),_0xe8b290=_0x75ccf8['getComment'](_0x4caf82);if(!_0xe8b290)throw new _0x2382d1('commentsrepository-remove-missing-comment',this);if(_0x75ccf8['_remove'](_0xe8b290),_0x5dc202||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x539e40=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2d7cf3}=_0x75ccf8,_0x2482eb=_0x539e40['add'](W(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x2d7cf3,'threadId':_0x1ee6ca,'commentId':_0x4caf82})['then'](()=>_0x539e40['remove'](_0x2482eb))['catch'](_0xaae3e5=>{throw console['error'](_0xaae3e5),new _0x2382d1('commentsrepository-remove-comment-internal-error',this);});}}class ie extends _0x511f38(){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x17fa40,_0x446ec5){super();const _0x82e115=_0x446ec5['isResolvable'];this['channelId']=_0x446ec5['channelId'],this['id']=_0x446ec5['id'],this['comments']=new _0x2d2956(),this['_repository']=_0x17fa40,this['_isAttached']=!0x1,this['_isSubmitted']=_0x446ec5['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x17fa40,'_permissions',_0x17fa40,'_readOnlyChannels',()=>_0x17fa40['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x17fa40,'_permissions',()=>_0x17fa40['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x17fa40,'_permissions',()=>{const _0x5b3f3c=_0x17fa40['getPermissions'](this['channelId']);return _0x5b3f3c['write']||_0x5b3f3c['admin'];}),this['bind']('isResolvable')['to'](_0x17fa40,'_permissions',()=>_0x82e115&&_0x17fa40['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x446ec5['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x319347,_0x50521c)=>_0x319347?_0x50521c?_0x319347<_0x50521c?_0x319347:_0x50521c:_0x319347:_0x50521c),this['set']('unlinkedAt',_0x446ec5['unlinkedAt']||null),this['set']('resolvedAt',_0x446ec5['resolvedAt']||null),this['set']('resolvedBy',_0x446ec5['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x4ce064=>!!_0x4ce064),this['set']('attributes',_0x446ec5['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x10e2b0,_0x2289be)=>_0x10e2b0+_0x2289be['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0xb68963,id:_0x2836b9}=this;this['_repository']['fire'](gt('submitCommentThread',_0xb68963),{'channelId':_0xb68963,'threadId':_0x2836b9});}['setUnlinkedAt'](_0x2779ec){this['_update']({'unlinkedAt':_0x2779ec});}['resolve']({resolvedAt:_0x46c879=new Date(),resolvedBy:_0x1ad598=null,isFromAdapter:_0x33891c=!0x1}={}){const _0x3d78ee=this['_repository']['context']['plugins']['get'](lt)['me'],{channelId:_0x37c178,id:_0x176e97}=this;this['_repository']['fire'](gt('resolveCommentThread',_0x37c178),{'channelId':_0x37c178,'threadId':_0x176e97,'resolvedAt':_0x46c879,'resolvedBy':_0x1ad598||_0x3d78ee['id'],'isFromAdapter':_0x33891c});}['reopen']({isFromAdapter:_0x4a83b9=!0x1}={}){const {channelId:_0x5caac2,id:_0x53d7b7}=this;this['_repository']['fire'](gt('reopenCommentThread',_0x5caac2),{'channelId':_0x5caac2,'threadId':_0x53d7b7,'isFromAdapter':_0x4a83b9});}['setContext'](_0x295f28){this['context']||this['_update']({'context':_0x295f28});}['setAttribute'](_0x3d4f48,_0x13e173){const _0x4bb4bb=ut(this['attributes']);pt(_0x4bb4bb,_0x3d4f48,_0x13e173),this['_update']({'attributes':_0x4bb4bb});}['removeAttribute'](_0x359301){const _0x562447=ut(this['attributes']);It(_0x562447,_0x359301),this['_update']({'attributes':_0x562447});}['remove']({isFromAdapter:_0x21f071=!0x1}={}){const {channelId:_0x4df955,id:_0x3ef3cd}=this;this['_repository']['fire'](gt('removeCommentThread',_0x4df955),{'channelId':_0x4df955,'threadId':_0x3ef3cd,'isFromAdapter':_0x21f071});}['attachTo'](_0x385a77){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x385a77});}['addComment'](_0x647177){const {channelId:_0x11201d,id:_0x59a985}=this;this['_repository']['fire'](gt('addComment',_0x11201d,_0x59a985),Object['assign']({'channelId':_0x11201d,'threadId':_0x59a985},_0x647177));}['getComment'](_0x35f7ad){if('string'!=typeof _0x35f7ad)throw new _0x2382d1('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x35f7ad});return this['comments']['get'](_0x35f7ad);}['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'](_0x5ee459=>_0x5ee459['toJSON']()),'attributes':this['attributes']};}['_add'](_0x255043){return this['listenTo'](_0x255043,'change:authoredAt',()=>{const _0x597b22=this['_findOptimalIndex'](_0x255043),_0x20834f=this['comments'];_0x597b22-0x1!=_0x20834f['getIndex'](_0x255043)&&_0x597b22+0x1!=_0x20834f['getIndex'](_0x255043)&&(this['_remove'](_0x255043),this['_add'](_0x255043));}),this['comments']['add'](_0x255043,this['_findOptimalIndex'](_0x255043));}['_update'](_0x3ff0d7){const {channelId:_0x13fe12,id:_0x163367}=this;this['_repository']['fire'](gt('updateCommentThread',_0x13fe12),{..._0x3ff0d7,'channelId':_0x13fe12,'threadId':_0x163367});}['_remove'](_0x328690){return this['stopListening'](_0x328690),_0x328690['destroy'](),this['comments']['remove'](_0x328690);}['_findOptimalIndex'](_0x45fbf7){const _0x54a410=this['comments']['find'](_0x4adaf9=>new Date(_0x4adaf9['authoredAt'])['getTime']()>new Date(_0x45fbf7['authoredAt'])['getTime']());return _0x54a410?this['comments']['getIndex'](_0x54a410):this['length'];}}class se extends _0x511f38(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x3ce694,_0x200249){super();const _0x46a4e7=_0x3ce694['context']['plugins']['get'](lt)['me'],_0xbcecea=_0x3ce694['getCommentThread'](_0x200249['threadId']),_0x429c38=0x0===_0xbcecea['comments']['length'],_0x20079f=_0x46a4e7===_0x200249['author'];this['id']=_0x200249['id'],this['threadId']=_0x200249['threadId'],this['author']=_0x200249['author'],this['creator']=_0x200249['creator'],this['isExternal']=Boolean(_0x200249['attributes']&&_0x200249['attributes']['@external']),this['set']('content',_0x200249['content']),this['createdAt']=_0x200249['createdAt']||new Date(),this['set']('authoredAt',_0x200249['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0xbcecea,'resolvedAt'),this['set']('attributes',_0x200249['attributes']||{}),this['bind']('isEditable')['to'](_0x3ce694,'_permissions',()=>{const _0x1baa40=_0x3ce694['getPermissions'](_0xbcecea['channelId'])['write'],_0x7396cc=_0x3ce694['getPermissions'](_0xbcecea['channelId'])['modifyAll'];return _0x20079f&&_0x1baa40||!_0x20079f&&_0x7396cc;}),this['bind']('isRemovable')['to'](_0xbcecea,'isRemovable',_0x3ce694,'_permissions',_0x4242a6=>{const _0x58bc72=_0x3ce694['getPermissions'](_0xbcecea['channelId'])['write'],_0xd1216f=_0x3ce694['getPermissions'](_0xbcecea['channelId'])['modifyAll'];return _0x20079f&&_0x58bc72||_0x4242a6&&_0x429c38||!_0x20079f&&_0xd1216f&&!_0x429c38;}),this['bind']('isReadOnly')['to'](_0xbcecea,'isReadOnly'),this['_repository']=_0x3ce694;}get['weight'](){return Math['max'](function(_0xc76d7c){const _0x5a4457=document['createElement']('div');return _0x5a4457['innerHTML']=_0xc76d7c,_0x5a4457['textContent']['length'];}(this['content']),0xc8);}['update'](_0x5515e1){const {threadId:_0x1f787f,id:_0x31870e}=this;if(!this['_repository']['hasCommentThread'](_0x1f787f))throw new _0x2382d1('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x3ff507}=this['_repository']['getCommentThread'](_0x1f787f);this['_repository']['fire'](gt('updateComment',_0x3ff507,_0x1f787f),{'channelId':_0x3ff507,'threadId':_0x1f787f,'commentId':_0x31870e,..._0x5515e1});}['setAttribute'](_0x2dd1ea,_0x127feb){const _0x4ac6c3=ut(this['attributes']);pt(_0x4ac6c3,_0x2dd1ea,_0x127feb),this['update']({'attributes':_0x4ac6c3});}['removeAttribute'](_0x31ab5e){const _0x2abde1=ut(this['attributes']);It(_0x2abde1,_0x31ab5e),this['update']({'attributes':_0x2abde1});}['remove'](_0x21e4d7={}){if(!_0x21e4d7['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x39d743,id:_0x2d8f9e}=this;if(!this['_repository']['hasCommentThread'](_0x39d743))throw new _0x2382d1('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x298efa}=this['_repository']['getCommentThread'](_0x39d743);this['_repository']['fire'](gt('removeComment',_0x298efa,_0x39d743),{'channelId':_0x298efa,'threadId':_0x39d743,'commentId':_0x2d8f9e,..._0x21e4d7});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function gt(_0x306617,..._0x5ede40){for(const _0x3ee4fc of _0x5ede40)void 0x0!==_0x3ee4fc&&(_0x306617+=':'+String(_0x3ee4fc));return _0x306617;}class G extends _0x210d23{['refresh'](){const _0x3951eb=this['editor']['model']['document']['selection'];for(const _0x4eee93 of _0x3951eb['getRanges']())if(this['_hasContent'](_0x4eee93))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['execute']({threadId:_0x49338a=_0x2b13d8()}={}){const _0x5b4d31=this['editor']['model'],_0x5419f8=[];for(const _0x3f32ca of _0x5b4d31['document']['selection']['getRanges']())this['_hasContent'](_0x3f32ca)&&_0x5419f8['push'](this['_trimToContent'](_0x3f32ca));_0x5b4d31['change'](_0x2f4851=>{for(const _0x129583 of _0x5419f8){const _0x263d50=_0x2b13d8()['substr'](0x1,0x5),_0x19b8a9='comment:'+_0x49338a+':'+_0x263d50;_0x2f4851['addMarker'](_0x19b8a9,{'range':_0x129583,'usingOperation':!0x1,'affectsData':!0x1});}});}['_hasContent'](_0x8d5d84){for(const _0x1465c1 of _0x8d5d84['getItems']())if(this['_itemIsContent'](_0x1465c1))return!0x0;return!0x1;}['_itemIsContent'](_0x123587){return _0x123587['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x123587)&&!_0x123587['is']('element','tableCell');}['_trimToContent'](_0x14ec65){const _0x3a8500=_0x40ba42=>!this['_itemIsContent'](_0x40ba42['item']),_0x1a6e14=_0x14ec65['start']['getLastMatchingPosition'](_0x3a8500),_0x4fbf9c=_0x14ec65['end']['getLastMatchingPosition'](_0x3a8500,{'direction':'backward'});return this['editor']['model']['createRange'](_0x1a6e14,_0x4fbf9c);}}class k extends _0x44b450{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[b];}static get['pluginName'](){return'EditorAnnotations';}constructor(_0x3d051e){super(_0x3d051e),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x449f92=this['editor'],_0xaf0a85=_0x449f92['model']['document']['selection'],_0x446491=_0x4a5b48(()=>this['refreshSelectedViews'](),0xa);_0xaf0a85['on']('change:range',(_0x5b9b2a,_0x2151e1)=>{_0x2151e1['directChange']&&(_0x446491['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x449f92['editing']['view']['document'],'change:isFocused',(_0xbb86e1,_0x5ee0f0,_0x47ede3)=>{_0x47ede3&&_0x446491();}),this['listenTo'](_0x449f92['ui']['focusTracker'],'change:isFocused',(_0x51eae4,_0x2f7415,_0x3be8d0)=>{_0x3be8d0||_0x449f92['isReadOnly']||this['fire']('blur',{'isAnnotationTracked':_0x5f2aac=>this['_editorAnnotationsData']['has'](_0x5f2aac['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x341050){if(this['_editorAnnotations']['has'](_0x341050['view']))return;this['_editorAnnotations']['add'](_0x341050['view']),this['editor']['ui']['focusTracker']['add'](_0x341050['view']['element']);const _0x2396f8=this['editor']['plugins']['get'](b);this['listenTo'](_0x2396f8['collection'],'remove',(_0x4f1430,_0x584741)=>{this['editor']['ui']['focusTracker']['remove'](_0x584741['view']['element']),this['_editorAnnotations']['delete'](_0x584741['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x19199c){if('function'!=typeof _0x19199c)throw new _0x2382d1('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x19199c);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x1f6e26,annotations:_0x43acd1}){const _0x312056=[],_0x4387f8=this['editor']['model']['document']['selection'],_0x45a6ca=Array['from'](_0x4387f8['getRanges']());for(const [_0x2a8a90,_0x26093b]of this['_editorAnnotationsData']){const _0xf5b140=_0x52fddc(_0x26093b),_0x1d915b=_0x43acd1['getByInnerView'](_0x2a8a90);_0xf5b140&&_0x1d915b&&_0x312056['push']({'annotation':_0x1d915b,'range':_0xf5b140});}function _0x52fddc(_0x37dfa2){for(const _0x4072e2 of _0x37dfa2)for(const _0x76c56 of _0x45a6ca)if(_0x4072e2['containsRange'](_0x76c56,!_0x4387f8['isCollapsed']))return _0x4072e2;return null;}return _0x312056['sort']((_0x4e2c7b,_0x259bde)=>{const _0x43088d=_0x4e2c7b['range'],_0x24a94b=_0x259bde['range'];if(!_0x43088d['isEqual'](_0x24a94b)){if(_0x43088d['containsRange'](_0x24a94b,!0x0))return 0x1;if(_0x24a94b['containsRange'](_0x43088d,!0x0))return-0x1;}return _0x4e2c7b['annotation']==_0x1f6e26?-0x1:_0x259bde['annotation']==_0x1f6e26?0x1:0x0;})['map'](_0x49fc15=>_0x49fc15['annotation']);}get['_editorAnnotationsData'](){const _0x53f0fd=new Map();for(const _0x2962a9 of Array['from'](this['_dataCollectors']))for(const [_0x1be0e5,_0x5b66ea]of _0x2962a9())_0x53f0fd['set'](_0x1be0e5,_0x5b66ea);return _0x53f0fd;}}class ot extends _0x44b450{['afterInit'](){const _0x24f691=this['editor'];if(!_0x24f691['plugins']['has']('RestrictedEditingModeEditing'))return;_0x24f691['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class et extends _0x44b450{constructor(_0x41c100){super(_0x41c100),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x4e0bc7=this['editor'],_0xc0f0b=_0x4e0bc7['commands']['get']('importWord'),_0x436797=_0x4e0bc7['plugins']['get'](lt);_0xc0f0b&&(_0xc0f0b['on']('execute',(_0x486818,[,_0x54df82])=>{_0x54df82['collaboration_features']={'comments':!0x0,'user_id':_0x436797['me']['id']};},{'priority':Wt['high']+0xa}),this['listenTo'](_0xc0f0b,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x3e1337,_0x490d82){const {comment_threads:_0x39ae68}=_0x490d82;_0x39ae68&&_0x39ae68['forEach'](({thread_id:_0x193aa3,comments:_0x9f9c61,is_resolved:_0x512661})=>{const _0x67115d=new Date(),_0x27e125=_0x9f9c61['map'](({author:_0x30a242,content:_0x1856f6,created_at:_0x15991a})=>({'content':_0x1856f6,'authorId':this['editor']['plugins']['get'](lt)['me']['id'],'createdAt':_0x67115d,'attributes':{'@external':{'authorName':_0x30a242,'createdAt':_0x15991a?new Date(_0x15991a):new Date(),'source':'importWord'}}})),_0x27dc73=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](m)['addCommentThread']({'channelId':_0x27dc73,'threadId':_0x193aa3,'comments':_0x27e125,'resolvedAt':_0x512661?_0x67115d:null});});}}class rt extends _0x44b450{constructor(_0x390637){super(_0x390637),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[Mt,Pt];}['afterInit'](){const _0x566484=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x566484,'contentInsertion',(_0x53ec84,_0x1fb36e)=>this['_removeMarkersWithoutThreads'](_0x1fb36e['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x3ab7e0){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x3ab7e0;const _0x1c6560=this['editor']['plugins']['get']('CommentsRepository');for(const _0x10ccb4 of _0x3ab7e0['keys']()){const [_0x1bff97,_0x455fc8]=_0x10ccb4['split'](':');'comment'!=_0x1bff97||_0x1c6560['hasCommentThread'](_0x455fc8)||_0x3ab7e0['delete'](_0x10ccb4);}return _0x3ab7e0;}['_registerMarkerInClipboardPipeline'](){const _0x182885=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x377a10=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x377a10&&_0x182885['_registerMarkerToCopy']('comment',_0x377a10);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x3acb02){switch(_0x3acb02){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 _0x44b450{static get['requires'](){return[m,k,ot,et,rt];}static get['pluginName'](){return'CommentsEditing';}constructor(_0x49bca6){super(_0x49bca6),this['set']('isThreadsLoadingPaused',!0x0),_0x49bca6['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x336eab,_0x3d9e9d,_0x5b3df4,_0x458860)=>{const _0x20e250=_0x5b3df4?it(_0x5b3df4)['id']:null;if(_0x49bca6['model']['change'](()=>{if(_0x20e250){const _0x431c6c=this['getAllMarkersForId'](_0x20e250);for(const _0x4b9ee1 of _0x431c6c)_0x49bca6['editing']['reconvertMarker'](_0x4b9ee1);}if(_0x458860){const {id:_0x49193b}=it(_0x458860),_0x17a1ee=this['getAllMarkersForId'](_0x49193b);for(const _0xfb0eee of _0x17a1ee)_0x49bca6['editing']['reconvertMarker'](_0xfb0eee);}}),_0x20e250){const _0x34482f=_0x49bca6['plugins']['get'](m)['getCommentThread'](_0x20e250);_0x34482f&&_0x34482f['isResolved']&&this['scrollToThreadMarker'](_0x20e250);}}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x43126c=this['editor'],_0x4ba9f8=_0x43126c['plugins']['get'](m),_0x193fcb=_0x43126c['config']['get']('collaboration.channelId');_0x43126c['commands']['add']('addCommentThread',new G(_0x43126c)),this['listenTo'](_0x43126c,'change:isReadOnly',(_0x1450c9,_0x16e828,_0x1c23a5)=>{_0x4ba9f8['switchReadOnly'](_0x1c23a5,_0x43126c['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x4ba9f8,nt('addCommentThread',_0x193fcb),(_0x452283,{threadId:_0x108abf})=>{const _0x5284f4=this['editor']['plugins']['get'](m)['getCommentThread'](_0x108abf);_0x5284f4&&_0x5284f4['unlinkedAt']&&this['_attachArchivedThread'](_0x108abf);}),this['listenTo'](_0x4ba9f8,nt('removeCommentThread',_0x193fcb),(_0x2ec219,{threadId:_0x157e66})=>{_0x43126c['model']['enqueueChange']({'isUndoable':!0x1},_0x33de8f=>{const _0xd7d1a9=this['getAllMarkersForId'](_0x157e66);for(const _0x44ea03 of _0xd7d1a9)_0x33de8f['removeMarker'](_0x44ea03);});}),this['listenTo'](_0x4ba9f8,nt('resolveCommentThread',_0x193fcb),(_0x457803,{threadId:_0x3d729b})=>{(this['_reconvertMarkers'](_0x3d729b),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](m)['getCommentThread'](_0x3d729b)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x4ba9f8,nt('reopenCommentThread',_0x193fcb),(_0x205673,{threadId:_0x2f517e})=>{this['_reconvertMarkers'](_0x2f517e);},{'priority':'low'}),this['listenTo'](_0x4ba9f8,nt('addComment',_0x193fcb),(_0x257b8a,{threadId:_0x3ac8ba,isFromAdapter:_0x14f74d})=>{const _0x58e2ca=this['getAllMarkersForId'](_0x3ac8ba);if(_0x14f74d||0x0==_0x58e2ca['length']||!_0x4ba9f8['hasCommentThread'](_0x3ac8ba))return;0x1===_0x4ba9f8['getCommentThread'](_0x3ac8ba)['length']&&_0x43126c['model']['enqueueChange']({'isUndoable':!0x1},_0x1d9050=>{for(const _0x50f678 of _0x58e2ca)_0x1d9050['updateMarker'](_0x50f678,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove']();}['destroy'](){const _0x5339eb=this['editor']['plugins']['get'](m),_0x29a92c=this['editor']['config']['get']('collaboration.channelId');for(const _0x31f5ec of _0x5339eb['getCommentThreads']({'channelId':_0x29a92c}))_0x5339eb['_detachCommentThread'](_0x31f5ec['id']),_0x5339eb['_threads']['delete'](_0x31f5ec['id']);super['destroy']();}['hasMarkerForId'](_0x2be361){return this['getAllMarkersForId'](_0x2be361)['length']>0x0;}['getAllMarkersForId'](_0x59f2f9){const _0x425fcf=[];for(const _0x4b78b2 of this['editor']['model']['markers'])_0x4b78b2['name']['startsWith']('comment:'+_0x59f2f9)&&_0x425fcf['push'](_0x4b78b2);return _0x425fcf;}['scrollToThreadMarker'](_0x36035c){const _0x4a48c7=this['_getTargetForId'](_0x36035c);_0x4a48c7&&setTimeout(()=>{this['activeMarker']&&it(this['activeMarker'])['id']===_0x36035c&&_0x296d3e({'target':_0x4a48c7[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x21daee){this['editor']['model']['change'](()=>{for(const _0x3fee0a of this['getAllMarkersForId'](_0x21daee))this['editor']['editing']['reconvertMarker'](_0x3fee0a);});}['_attachArchivedThread'](_0x39f94d){const _0x1f73db=this['editor']['plugins']['get'](m),_0x10dcf9=this['editor']['plugins']['get'](k),_0x599041=_0x1f73db['getCommentThread'](_0x39f94d);if(!_0x599041['isAttached']){const _0x8979ab=_0x599041['attachTo'](()=>this['_getTargetForId'](_0x599041['id']));_0x10dcf9['registerAnnotation'](_0x8979ab),_0x599041['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x4373f0=this['editor'];_0x4373f0['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x1b470f,_0x37d09b)=>{const {id:_0x14968d}=it(_0x1b470f['markerName']),_0x477444=_0x4373f0['plugins']['get'](m)['getCommentThread'](_0x14968d),_0x4603c9=this['activeMarker']&&it(this['activeMarker'])['id']===_0x14968d;if(_0x477444&&_0x477444['isResolved']&&!_0x4603c9&&_0x1b470f['item'])return _0x37d09b['consumable']['consume'](_0x1b470f['item'],'addMarker:'+_0x1b470f['markerName']),_0x37d09b['consumable']['consume'](_0x1b470f['item'],'removeMarker:'+_0x1b470f['markerName']),null;const _0x74afa9=['ck-comment-marker'];return _0x4603c9&&_0x74afa9['push']('ck-comment-marker--active'),{'classes':_0x74afa9,'attributes':{'data-comment':_0x14968d}};}}),_0x4373f0['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x2b9703,{options:_0x1094be})=>{const _0x800694=_0x4373f0['plugins']['get'](m),_0x132031=_0x4373f0['model']['markers']['get'](_0x2b9703),{id:_0x3f1b2b,part:_0x17c943}=it(_0x2b9703);if(_0x132031&&!_0x132031['affectsData'])return null;if(_0x1094be['ignoreResolvedComments']){const _0x48973c=_0x800694['getCommentThread'](_0x3f1b2b);if(_0x48973c&&_0x48973c['isResolved'])return null;}return{'group':'comment','name':_0x17c943?_0x3f1b2b+':'+_0x17c943:_0x3f1b2b};}}),_0x4373f0['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x5b921e,{writer:_0x2c8cf5})=>_0x2c8cf5['createElement']('$marker',{'data-name':'comment:'+_0x5b921e['getAttribute']('id')})}),_0x4373f0['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x49334e=this['editor'],_0x5a9639=_0x49334e['plugins']['get'](m),_0x273f5a=new Set(),_0x4ff860=new Set();_0x49334e['model']['document']['registerPostFixer'](_0x35ad2d=>{let _0x49ced7=!0x1;for(const {name:_0x3fdd38,data:_0x68347c}of _0x49334e['model']['document']['differ']['getChangedMarkers']()){const {group:_0x2256d4,id:_0x41ceab}=it(_0x3fdd38);let _0x492f25=_0x68347c['newRange'];if('comment'!==_0x2256d4||!_0x492f25)continue;const _0x413062='$graveyard'===_0x492f25['root']['rootName'];_0x413062||(_0x492f25=st(_0x492f25,_0x49334e['model']),!_0x492f25||_0x492f25['isCollapsed']||!_0x68347c['newRange']||_0x492f25['isEqual'](_0x68347c['newRange']))?_0x49334e['model']['hasContent'](_0x492f25)&&!_0x413062?this['isThreadsLoadingPaused']?_0x273f5a['add'](_0x3fdd38):this['_handleThreadMarker'](_0x3fdd38,_0x41ceab):(_0x4ff860['add'](_0x3fdd38),_0x273f5a['delete'](_0x3fdd38),_0x35ad2d['removeMarker'](_0x3fdd38),_0x49ced7=!0x0):(_0x35ad2d['updateMarker'](_0x3fdd38,{'range':_0x492f25}),_0x49ced7=!0x0);}return _0x49ced7;}),this['on']('change:isThreadsLoadingPaused',(_0x1d2313,_0x1cfc1b,_0x4fefa0)=>{if(!_0x4fefa0&&_0x273f5a['size'])for(const _0x4a42f5 of _0x273f5a){const {id:_0x4577e2}=it(_0x4a42f5);_0x273f5a['delete'](_0x4a42f5),_0x49334e['model']['markers']['get'](_0x4a42f5)&&this['_handleThreadMarker'](_0x4a42f5,_0x4577e2);}}),this['listenTo'](_0x49334e['model']['document'],'change',(_0x2c011c,_0xf3a9d)=>{for(const {name:_0x70251d,data:{newRange:_0x19476d}}of _0x49334e['model']['document']['differ']['getChangedMarkers']()){const {group:_0x31d600,id:_0x4d40d7}=it(_0x70251d);if('comment'!==_0x31d600)continue;const _0x220f86=_0x5a9639['getCommentThread'](_0x4d40d7),_0x462d34=this['hasMarkerForId'](_0x4d40d7);_0x220f86&&(_0x220f86['_hasTargetInContent']||_0x49334e['editing']['view']['once']('render',()=>{const _0x9178d4=_0x49334e['plugins']['get'](b),_0x28c405=_0x5a9639['_threadToController']['get'](_0x220f86)['view'];_0x9178d4['getByInnerView'](_0x28c405)['refreshVisibility']();},{'priority':'low'}),_0x220f86['_hasTargetInContent']=_0x462d34||!!_0x19476d),_0x19476d||(_0x4ff860['add'](_0x70251d),_0x273f5a['delete'](_0x70251d));}if(_0xf3a9d['isLocal'])for(const _0x3f7251 of _0x4ff860){const {id:_0x2f9550}=it(_0x3f7251),_0x55fd90=_0x5a9639['getCommentThread'](_0x2f9550),_0x33d972=this['hasMarkerForId'](_0x2f9550);_0x273f5a['delete'](_0x3f7251),!_0x55fd90||_0x33d972||_0x55fd90['unlinkedAt']||_0x55fd90['setUnlinkedAt'](new Date());}_0x4ff860['clear']();});}['_getTargetForId'](_0x45a700){const _0x5714f8=this['editor'],_0xca6605=this['getAllMarkersForId'](_0x45a700);return tt(_0x5714f8['editing'],_0xca6605);}['_getTextContext'](_0x21fea4){const _0x2dce5b=this['getAllMarkersForId'](_0x21fea4);let _0x364469='',_0x3aca1e=!0x1;for(const _0x17f3f7 of _0x2dce5b){const _0x5f2ffc=_0x17f3f7['getRange']();for(const _0x1d65da of Array['from'](_0x5f2ffc['getItems']()))_0x1d65da['is']('$textProxy')?(_0x364469&&_0x3aca1e&&(_0x364469+='\x20',_0x3aca1e=!0x1),_0x364469+=_0x1d65da['data']):_0x3aca1e=!0x0;_0x3aca1e=!0x0;}return _0x364469['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x111a05,_0x5a92e6){const _0x20a639=this['editor'],_0x5e877c=_0x20a639['plugins']['get'](m);let _0x9f53c3=_0x5e877c['getCommentThread'](_0x5a92e6);const _0x27eb4e=_0x20a639['config']['get']('collaboration.channelId'),_0x1c7cb6=_0x20a639['plugins']['get'](k);if(_0x9f53c3&&(_0x9f53c3['unlinkedAt']&&_0x9f53c3['setUnlinkedAt'](null),_0x9f53c3['isAttached']))return _0x9f53c3;return!this['getAllMarkersForId'](_0x5a92e6)[0x0]['managedUsingOperations']?_0x20a639['editing']['view']['once']('render',()=>{if(_0x5e877c['getCommentThread'](_0x5a92e6))return;const _0x1ec98b=_0x20a639['plugins']['get'](b);_0x9f53c3=_0x5e877c['openNewCommentThread']({'channelId':_0x27eb4e,'threadId':_0x5a92e6,'target':()=>this['_getTargetForId'](_0x5a92e6),'context':{'type':'text','value':this['_getTextContext'](_0x5a92e6)}});const _0x4a8e83=_0x5e877c['_threadToController']['get'](_0x9f53c3)['view'],_0x4553bd=_0x1ec98b['getByInnerView'](_0x4a8e83);_0x4553bd&&_0x1c7cb6['registerAnnotation'](_0x4553bd);},{'priority':'low'}):_0x5e877c['fetchCommentThread']({'channelId':_0x27eb4e,'threadId':_0x5a92e6})['then'](_0x10d582=>{if('destroyed'!==_0x20a639['state']){if(_0x9f53c3=_0x10d582,_0x9f53c3&&!_0x9f53c3['isAttached']){const _0x41ec2e=_0x9f53c3['attachTo'](()=>this['_getTargetForId'](_0x5a92e6));_0x1c7cb6['registerAnnotation'](_0x41ec2e),_0x9f53c3['isResolved']&&this['_reconvertMarkers'](_0x5a92e6);}else{if(!_0x9f53c3){const _0x10edeb=this['getAllMarkersForId'](_0x5a92e6);_0x20a639['model']['change'](_0x26e7b2=>{for(const _0x273452 of _0x10edeb)_0x26e7b2['removeMarker'](_0x273452);});}}}}),_0x9f53c3;}['_handleThreadMarker'](_0x43abe0,_0x346c78){const _0x423698=this['_attachMarkerToThread'](_0x43abe0,_0x346c78);_0x423698&&!_0x423698['context']&&_0x423698['setContext']({'type':'text','value':this['_getTextContext'](_0x346c78)});}['_initAriaMarkerChangeAnnouncements'](){const _0x55c106=this['editor'];_0x467382(_0x55c106['model'],({left:_0xa7a7c2,entered:_0x296a88})=>{for(const _0x34b55a of _0xa7a7c2)if(at(_0x34b55a)){_0x55c106['ui']['ariaLiveAnnouncer']['announce'](W(_0x55c106['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x2a501c of _0x296a88)if(at(_0x2a501c)){_0x55c106['ui']['ariaLiveAnnouncer']['announce'](W(_0x55c106['locale'],'ENTER_COMMENT_ANNOUNCEMENT'));break;}});}}function nt(_0x2ba06e,_0x238530){return _0x238530?_0x2ba06e+':'+_0x238530:_0x2ba06e;}function it(_0x404df8){const _0x2323bb=_0x404df8['split'](':');return{'group':_0x2323bb[0x0],'id':_0x2323bb[0x1],'part':_0x2323bb[0x2]};}function st(_0x57830d,_0x168234){const _0x40f541=_0x168234['schema'],_0x1d27cb=_0x168234['createRange'](_0x57830d['start']);for(const _0x31eea6 of _0x57830d['getWalker']()){const {type:_0x341ba5,item:_0x2edd27,nextPosition:_0x56b61c}=_0x31eea6;if('text'===_0x341ba5||_0x40f541['isObject'](_0x2edd27)){const _0x492456=_0x168234['createPositionBefore'](_0x2edd27);_0x1d27cb['isCollapsed']&&(_0x1d27cb['start']=_0x492456),_0x1d27cb['end']=_0x56b61c;}}return _0x1d27cb;}function at(_0x393857){return'comment'===it(_0x393857['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 _0x44b450{static get['pluginName'](){return'CommentsUI';}static get['requires'](){return[m,r,k,b];}get['CommentsListView'](){return xt;}get['CommentThreadInputView'](){return Tt;}['init'](){const _0x386b58=this['editor'],_0x2c4dc0=_0x386b58['plugins']['get'](m),_0x46d8ce=_0x386b58['plugins']['get'](r),_0x2e66a5=_0x386b58['plugins']['get'](b),_0x4999fd=_0x386b58['plugins']['get'](k);_0x386b58['ui']['componentFactory']['add']('comment',()=>{const _0xff692a=this['_createUIButton'](_0x5afcfe);return _0xff692a['tooltip']=!0x0,_0xff692a;}),_0x386b58['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x57729c)),_0x4999fd['addSourceCollector'](()=>{const _0x2c5172=[];for(const [_0x53ea8e,_0x1e9c12]of _0x2c4dc0['_threadToController']){const _0x2b6f0d=_0x46d8ce['getAllMarkersForId'](_0x53ea8e['id']),_0x39ab07=_0x2b6f0d['map'](_0x28d823=>_0x28d823['getRange']());_0x2b6f0d['length']>0x0&&_0x2c5172['push']([_0x1e9c12['view'],_0x39ab07]);}return _0x2c5172;}),this['listenTo'](_0x2e66a5,'change:activeAnnotations',(_0x333d2f,_0x10874d,_0x33a57f)=>{const _0xa6fd44=Array['from'](_0x33a57f)['map'](_0x44723a=>_0x44723a['innerView'])['find'](_0x590cce=>_0x2c4dc0['_viewToController']['has'](_0x590cce));if(!_0xa6fd44)return void(_0x46d8ce['activeMarker']=null);const _0x57f871=_0x2c4dc0['_viewToController']['get'](_0xa6fd44)['model']['id'],_0x5f4b47='comment:'+_0x57f871;_0x57f871&&_0x46d8ce['hasMarkerForId'](_0x57f871)?_0x46d8ce['activeMarker']=_0x5f4b47:_0x46d8ce['activeMarker']&&(_0x46d8ce['activeMarker']=null);}),this['listenTo'](_0x2c4dc0,'removeCommentThread',(_0x136b75,{threadId:_0x3beeed,isFromAdapter:_0x4aec00})=>{!_0x4aec00&&_0x386b58['ui']['focusTracker']['isFocused']&&_0x46d8ce['hasMarkerForId'](_0x3beeed)&&_0x386b58['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x2c4dc0,'addComment',(_0x105077,{threadId:_0x49a374,isFromAdapter:_0x126a75})=>{if(_0x126a75||!_0x46d8ce['hasMarkerForId'](_0x49a374)||!_0x2c4dc0['hasCommentThread'](_0x49a374))return;0x1===_0x2c4dc0['getCommentThread'](_0x49a374)['length']&&(_0x386b58['editing']['view']['focus'](),_0x105077['stop']());},{'priority':'low'});}['_createUIButton'](_0x4d4e8d){const _0x2c4b99=this['editor'],_0x1edc2e=new _0x4d4e8d(_0x2c4b99['locale']),_0x4951b7=_0x2c4b99['commands']['get']('addCommentThread');return _0x1edc2e['set']({'label':W(_0x2c4b99['locale'],'Comment'),'icon':kt}),_0x1edc2e['bind']('isEnabled')['to'](_0x4951b7),this['listenTo'](_0x1edc2e,'execute',()=>_0x4951b7['execute']()),_0x1edc2e;}}class e extends _0x44b450{static get['pluginName'](){return'CommentsOnly';}static get['requires'](){return[r];}constructor(_0x232382){super(_0x232382),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x2d31bf,_0x585ce1,_0x931cd2)=>{_0x931cd2?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x370d8d,_0x431b26]of this['editor']['commands'])_0x431b26['affectsData']&&'addCommentThread'!==_0x370d8d&&_0x431b26['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode');const _0x222e7b=this['editor']['editing']['view']['document'];this['listenTo'](_0x222e7b,'cut',_0x32b69d=>_0x32b69d['stop'](),{'priority':'highest'}),this['listenTo'](_0x222e7b,'clipboardInput',_0x21efc1=>_0x21efc1['stop'](),{'priority':'highest'}),this['listenTo'](_0x222e7b,'delete',_0xaaca80=>_0xaaca80['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x36da02,_0x5d908a]of this['editor']['commands'])_0x5d908a['affectsData']&&'addCommentThread'!==_0x36da02&&_0x5d908a['clearForceDisabled']('commentsOnlyMode');this['stopListening'](this['editor']['editing']['view']['document']);}}class j extends _0x24d6c5{['activeUIs'];['_uis'];['_uisData'];static get['requires'](){return[b];}static get['pluginName'](){return'AnnotationsUIs';}constructor(_0x3d77d7){super(_0x3d77d7),this['activeUIs']=new Set(),this['_uis']=new Map(),this['_uisData']=new Map();}['init'](){const _0x2505ad=this['context']['plugins']['get'](b);this['listenTo'](_0x2505ad,'_activateAnnotation',(_0x3c99b7,_0x38ff39)=>{for(const _0x49ce2d of this['activeUIs']){const _0x1774da=this['_uis']['get'](_0x49ce2d);(0x0,this['_uisData']['get'](_0x49ce2d)['filter'])(_0x38ff39)&&_0x1774da['setActiveAnnotation'](_0x38ff39);}}),this['listenTo'](_0x2505ad,'_deactivateAllAnnotations',()=>{for(const _0x49d935 of this['activeUIs']){this['_uis']['get'](_0x49d935)['setActiveAnnotation'](null);}}),this['listenTo'](_0x2505ad['_visibleAnnotations'],'add',(_0x2de2d2,_0xa6df3b)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xa6df3b);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x243ffa){return this['activeUIs']['has'](_0x243ffa);}['activate'](_0x2f9a3f,_0x2410d0=()=>!0x0){const _0x1c8a7c=this['context']['plugins']['get'](b);if(!this['_uis']['has'](_0x2f9a3f))throw new _0x2382d1('annotationsuis-missing-ui',this,{'uiName':_0x2f9a3f});this['isActive'](_0x2f9a3f)&&this['deactivate'](_0x2f9a3f),this['activeUIs']['add'](_0x2f9a3f);const _0x22f3d0=new x();!function({source:_0x193d85,target:_0x1c036e,filter:_0x36dab6}){for(const _0x3eeb7d of _0x193d85)_0x36dab6(_0x3eeb7d)&&_0x1c036e['add'](_0x3eeb7d);_0x1c036e['listenTo'](_0x193d85,'add',(_0x59176a,_0x4ff0cb)=>{_0x36dab6(_0x4ff0cb)&&_0x1c036e['add'](_0x4ff0cb);}),_0x1c036e['listenTo'](_0x193d85,'remove',(_0xcc3348,_0x3a8aae)=>{_0x1c036e['has'](_0x3a8aae)&&_0x1c036e['remove'](_0x3a8aae);});}({'source':_0x1c8a7c['_visibleAnnotations'],'target':_0x22f3d0,'filter':_0x2410d0}),this['_uisData']['set'](_0x2f9a3f,{'collection':_0x22f3d0,'filter':_0x2410d0});const _0x14c63f=this['_uis']['get'](_0x2f9a3f);_0x14c63f['attach'](_0x22f3d0),this['listenTo'](_0x14c63f,'change:activeAnnotation',(_0x4ac04c,_0x3f3670,_0x1cc274,_0x71d2e7)=>{_0x71d2e7&&_0x1c8a7c['_removeActiveAnnotation'](_0x71d2e7),_0x1cc274&&_0x1c8a7c['_addActiveAnnotation'](_0x1cc274);});}['deactivate'](_0x207ac7){if(this['activeUIs']['delete'](_0x207ac7),!this['_uis']['has'](_0x207ac7))throw new _0x2382d1('annotationsuis-missing-ui',this,{'uiName':_0x207ac7});const _0x68d26=this['_uis']['get'](_0x207ac7);_0x68d26['detach'](),this['stopListening'](_0x68d26),this['_uisData']['get'](_0x207ac7)['collection']['destroy'](),this['_uisData']['delete'](_0x207ac7);}['switchTo'](_0x1f005e){if(!this['_uis']['has'](_0x1f005e))throw new _0x2382d1('annotationsuis-missing-ui',this,{'uiName':_0x1f005e});const _0x1046a6=this['context']['plugins']['get'](b),_0x34baaf=Array['from'](_0x1046a6['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x1f005e);const _0x1c2cab=this['_uis']['get'](_0x1f005e);_0x1c2cab['setActiveAnnotation'](_0x34baaf),_0x1c2cab['_setSelectedAnnotations']&&_0x34baaf&&_0x1c2cab['_setSelectedAnnotations']([_0x34baaf]);}['deactivateAll'](){for(const _0x9cc1c8 of this['activeUIs'])this['deactivate'](_0x9cc1c8);}['register'](_0xcae077,_0x79050f){if(this['_uis']['has'](_0xcae077))throw new _0x2382d1('annotationsuis-register-already-registered');if('function'!=typeof _0x79050f['attach']||'function'!=typeof _0x79050f['detach']||'function'!=typeof _0x79050f['setActiveAnnotation'])throw new _0x2382d1('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0xcae077,_0x79050f);}['refilterAnnotations'](){const _0x3f6231=this['context']['plugins']['get'](b)['collection'],_0x166a4c=new Map(),_0x493cd9=Array['from'](this['activeUIs']);for(const _0x250eda of this['activeUIs']){const _0x221566=this['_uisData']['get'](_0x250eda)['collection'];for(const _0xb62801 of _0x221566)_0x166a4c['set'](_0xb62801,_0x250eda);}for(const _0xc12a6a of _0x3f6231){const _0x50d97c=_0x166a4c['get'](_0xc12a6a);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xc12a6a);const _0x5816d8=_0x493cd9['find'](_0x5b4d3b=>this['_uisData']['get'](_0x5b4d3b)['filter'](_0xc12a6a));_0x50d97c!==_0x5816d8&&(_0x50d97c&&this['_uisData']['get'](_0x50d97c)['collection']['remove'](_0xc12a6a),_0x5816d8&&this['_uisData']['get'](_0x5816d8)['collection']['add'](_0xc12a6a));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x1b78d9){const _0x1ca600=[];for(const _0x335359 of this['activeUIs']){(0x0,this['_uisData']['get'](_0x335359)['filter'])(_0x1b78d9)&&_0x1ca600['push'](_0x335359);}if(_0x1ca600['length']>0x1)throw new _0x2382d1('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x1ca600,'annotationType':_0x1b78d9['type']});}}const ne=Ht('px');class T extends _t{['list'];constructor(_0x39f544){super(_0x39f544);const _0x4b0142=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x4b0142['to']('class')],'style':{'minHeight':_0x4b0142['to']('minHeight',_0x3e930d=>'number'==typeof _0x3e930d?ne(_0x3e930d+0xa):null)}},'children':this['list']});}}const qt=Ht('px');class C extends _t{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x1e69eb){super(_0x1e69eb),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x1ce164,_0x4cb4bd)=>_0x1ce164+_0x4cb4bd),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=Dt(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection']();const _0x3c69f9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x3c69f9['to']('isAnimationDisabled',_0x27b636=>_0x27b636?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x3c69f9['to']('top',_0x2cb51f=>qt(_0x2cb51f))}},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['updateHeight'](){const _0x5a9054=this['element']['clientHeight'];_0x5a9054&&(this['height']=_0x5a9054);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class z extends _0x24d6c5{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}constructor(_0x35dea2){super(_0x35dea2),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 _0x2426c5=this['context']['config']['get']('sidebar.container');_0x2426c5&&this['setContainer'](_0x2426c5);}['setContainer'](_0x89db56){if(!y(_0x89db56))throw new _0x2382d1('sidebar-setcontainer-invalid-element');this['container']=_0x89db56;}['_attachToContainer']({viewClass:_0x3eb9aa='',spaceBetweenItems:_0x2f10ac=0x19}={}){if(!y(this['container']))throw new _0x2382d1('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x3eb9aa,this['_spaceBetweenItems']=_0x2f10ac;}['rearrange']({removedAnnotation:_0x5b1752,previousAnnotation:_0x27989c,nextAnnotation:_0xa71301}){const _0x144ad8=this['getSidebarItemView'](_0x5b1752);this['view']['list']['remove'](_0x144ad8),this['_destroySidebarItemView'](_0x5b1752),_0x27989c&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x27989c)),_0xa71301&&this['_alignToTargetRect'](this['getSidebarItemView'](_0xa71301)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x2b9651,activatedAnnotation:_0x4ca758,disableAnimationOnActivatedAnnotation:_0x20fac4}){if(this['_activeAnnotation']=_0x4ca758,_0x2b9651){_0x2b9651['isActive']=!0x1;const _0x153fe6=this['getSidebarItemView'](_0x2b9651);_0x153fe6&&_0x20fac4&&(_0x153fe6['isAnimationDisabled']=!0x1);}if(_0x4ca758){const _0x1816b2=this['getSidebarItemView'](_0x4ca758);_0x1816b2&&(_0x4ca758['isActive']=!0x0,_0x20fac4&&(_0x1816b2['isAnimationDisabled']=!0x0,_0x1816b2['top']+=0x1),this['_alignToTargetRect'](_0x1816b2));}}['_detachFromContainer'](_0x20d17b){if(this['view']['element']['remove'](),_0x20d17b){for(const _0x2c13e5 of _0x20d17b)this['_destroySidebarItemView'](_0x2c13e5);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x4d1a51,_0x817e7b){_0x817e7b||(_0x817e7b=_0x4d1a51['view']);const _0xfdcc84=new C(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0xfdcc84,_0x4d1a51),this['_annotationToSidebarItemView']['set'](_0x4d1a51,_0xfdcc84),_0xfdcc84['content']['add'](_0x817e7b),this['listenTo'](_0x4d1a51['view'],'change:targetRect',(_0x2fb9a,_0x202534,_0x4692ea)=>{const _0x4b26c9=this['_getTargetTop'](_0x4d1a51,_0x4692ea);_0xfdcc84['_targetTop']!=_0x4b26c9&&(_0xfdcc84['_targetTop']=_0x4b26c9,this['_setItemTop'](_0xfdcc84,_0x4b26c9));}),this['listenTo'](_0xfdcc84,'change:top',()=>{this['_recalculate'](_0xfdcc84,'top');}),this['listenTo'](_0xfdcc84,'change:bottom',()=>{this['_recalculate'](_0xfdcc84,'bottom');}),this['_alignToTargetRect'](_0xfdcc84);const _0x27a5f6=this['_getItemBefore'](_0xfdcc84);if(_0x27a5f6)this['_alignAfterItem'](_0x27a5f6,_0xfdcc84)||this['_alignToTargetRect'](_0xfdcc84);else this['_alignToTargetRect'](_0xfdcc84);return this['_updateLastItem'](),this['view']['list']['add'](_0xfdcc84),_0xfdcc84;}['_alignForTopChange'](_0x1d5d2a){if(!_0x1d5d2a['content']['length'])return;const _0x3c7d73=this['_getItemBefore'](_0x1d5d2a);if(!_0x3c7d73)return;const _0x324ed1=this['_sidebarItemViewToAnnotation']['get'](_0x3c7d73),_0xbac9a=this['_activeAnnotation'];_0xbac9a&&_0xbac9a===_0x324ed1?this['_alignAfterItem'](_0x3c7d73,_0x1d5d2a):this['_alignBeforeItem'](_0x1d5d2a,_0x3c7d73);}['_alignForBottomChange'](_0x2f6914){if(!_0x2f6914['content']['length'])return;const _0x388bac=this['_getItemAfter'](_0x2f6914);if(!_0x388bac)return;const _0x53859e=this['_sidebarItemViewToAnnotation']['get'](_0x388bac),_0x142291=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x111a4a=this['_activeAnnotation'];_0x111a4a&&_0x111a4a===_0x53859e&&_0x142291?(this['_alignBeforeItem'](_0x388bac,_0x2f6914),this['_alignAfterItem'](_0x2f6914,_0x388bac)):_0x111a4a&&_0x111a4a===_0x53859e?this['_alignBeforeItem'](_0x388bac,_0x2f6914):this['_alignAfterItem'](_0x2f6914,_0x388bac);}['_recalculate'](_0x2ecffc,_0x56a851){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x16ae71,changedProp:_0x1e2bd5}of this['_recalculateBuffer'])'top'===_0x1e2bd5?this['_alignForTopChange'](_0x16ae71):this['_alignForBottomChange'](_0x16ae71);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x2ecffc,'changedProp':_0x56a851});}['getSidebarItemView'](_0x4d7e2d){return this['_annotationToSidebarItemView']['get'](_0x4d7e2d);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x4d86c0){const _0x14b8a9=this['getSidebarItemView'](_0x4d86c0);this['stopListening'](_0x14b8a9),this['stopListening'](_0x4d86c0['view']),_0x14b8a9['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x4d86c0),this['_sidebarItemViewToAnnotation']['delete'](_0x14b8a9);}['_createSidebarView'](){const _0x38db44=new T(this['context']['locale']);return _0x38db44['render'](),this['on']('change:_lastItem',(_0xb05c94,_0x30136d,_0x2873dd,_0x427a8d)=>{_0x427a8d&&_0x38db44['unbind']('minHeight'),_0x2873dd?_0x38db44['bind']('minHeight')['to'](_0x2873dd,'bottom'):_0x38db44['minHeight']=null;}),_0x38db44;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x1227ae){const _0x48b617=this['_sidebarItemViewToAnnotation']['get'](_0x1227ae),_0x28285d=_0x48b617&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x48b617)-0x1);return _0x28285d&&this['getSidebarItemView'](_0x28285d)||null;}['_getItemAfter'](_0x16a75c){const _0x250194=this['_sidebarItemViewToAnnotation']['get'](_0x16a75c),_0x282b3f=_0x250194&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x250194)+0x1);return _0x282b3f&&this['getSidebarItemView'](_0x282b3f)||null;}['_alignBeforeItem'](_0x334b77,_0x45174a){_0x334b77['updateHeight']();const _0x5df333=M(_0x45174a['bottom']+this['_spaceBetweenItems'],_0x334b77['top']);return!!_0x5df333&&(this['_setItemTop'](_0x45174a,_0x45174a['top']-_0x5df333),!0x0);}['_alignAfterItem'](_0x4bf78d,_0x2b5f86){_0x4bf78d['updateHeight']();const _0x3fd687=M(_0x4bf78d['bottom']+this['_spaceBetweenItems'],_0x2b5f86['top']);return!!_0x3fd687&&(this['_setItemTop'](_0x2b5f86,_0x2b5f86['top']+_0x3fd687,!0x1),!0x0);}['_alignToTargetRect'](_0x2a50e4){const _0xec3a29=this['_sidebarItemViewToAnnotation']['get'](_0x2a50e4);if(!_0xec3a29||!_0xec3a29['target']||!_0xec3a29['targetRect'])return;const _0x23e6c7=this['_getTargetTop'](_0xec3a29,_0xec3a29['targetRect']);this['_setItemTop'](_0x2a50e4,_0x23e6c7);}['_getTargetTop'](_0x19f119,_0x66908e){if(null===_0x66908e)return 0x0;if(_0x19f119['target']instanceof _0x446d66)return _0x66908e['top'];{const _0x4c6329=new _0x446d66(this['view']['element'])['top'];return _0x66908e['top']-_0x4c6329;}}['_setItemTop'](_0x418f7b,_0x1d0374,_0x3f91de=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x3f91de&&(_0x1d0374=Math['max'](_0x1d0374,this['_getMaxAvailableTop'](_0x418f7b))),_0x418f7b['top']=_0x1d0374;}['_getMaxAvailableTop'](_0x1bb55b){let _0x105fa2=this['_getItemBefore'](_0x1bb55b),_0x380361=0x0;for(;_0x105fa2;)_0x105fa2['updateHeight'](),_0x380361+=this['_spaceBetweenItems']+_0x105fa2['height'],_0x105fa2=this['_getItemBefore'](_0x105fa2);return _0x380361;}}function M(_0x14cc80,_0x4e247f){return Math['max'](_0x14cc80-_0x4e247f,0x0);}function y(_0x102936){return null!==_0x102936&&'object'==typeof _0x102936&&0x1===_0x102936['nodeType'];}class n extends _0x24d6c5{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[z,j];}static get['pluginName'](){return'WideSidebar';}constructor(_0x28ba7f){super(_0x28ba7f),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x2d2956(),this['_refreshPositioningDebounced']=_0x4a5b48(()=>{this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x4941e9=this['context']['plugins']['get'](j),_0x259aa9=this['context']['plugins']['get'](z);_0x4941e9['register']('wideSidebar',this),_0x259aa9['container']&&_0x4941e9['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x33280a){if(_0x33280a===this['activeAnnotation'])return;const _0x51b150=this['context']['plugins']['get'](z);_0x51b150['_activeAnnotation']=_0x33280a;const _0x1751ef=this['activeAnnotation'];this['activeAnnotation']=_0x33280a,_0x51b150['refresh']({'blurredAnnotation':_0x1751ef,'activatedAnnotation':this['activeAnnotation']});}['attach'](_0x366d30){this['annotations']=_0x366d30;const _0x166aab=this['context']['plugins']['get'](z);if(_0x166aab['_annotations']=_0x366d30,this['isAttached'])throw new _0x2382d1('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x166aab,'set:container',()=>{this['detach'](),this['listenTo'](_0x166aab,'change:container',_0x45d96d=>{_0x45d96d['off'](),this['attach'](_0x366d30);});}),_0x166aab['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x3fd682=_0x52456b=>{_0x52456b['updateTargetRect'](),_0x166aab['addAnnotation'](_0x52456b);};for(const _0x4c6083 of _0x366d30)_0x3fd682(_0x4c6083);this['listenTo'](_0x366d30,'add',(_0x1303ad,_0x4bfef5)=>{_0x3fd682(_0x4bfef5);}),this['listenTo'](_0x366d30,'remove',(_0x37deca,_0x72bf66,_0x3a1248)=>{_0x166aab['rearrange']({'removedAnnotation':_0x72bf66,'previousAnnotation':_0x366d30['get'](_0x3a1248-0x1),'nextAnnotation':_0x366d30['get'](_0x3a1248+0x1)}),_0x72bf66===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x366d30,'focus',(_0x26683e,_0x1fde81)=>{this['setActiveAnnotation'](_0x1fde81);}),this['listenTo'](_0x366d30,'blur',()=>{this['setActiveAnnotation'](null);});const _0xb052b5=this['context']instanceof _0x28a128?this['context']['editors']:new _0x2d2956([this['context']]);for(const _0x5e6267 of _0xb052b5)this['_integrateWithEditorAnnotations'](_0x5e6267);this['listenTo'](_0xb052b5,'add',(_0x1c40f9,_0x12b541)=>{this['listenTo'](_0x12b541,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x12b541);});}),this['listenTo'](_0xb052b5,'remove',(_0x2f6125,_0x43423e)=>{_0x43423e['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x43423e['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x2382d1('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x45fe40=this['context']['plugins']['get'](z);_0x45fe40['_detachFromContainer'](this['annotations']),this['stopListening'](_0x45fe40),this['stopListening'](this['annotations']),this['context']instanceof _0x28a128&&this['stopListening'](this['context']['editors']);for(const _0x493a04 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x493a04);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x5f2d39){const _0x41db31=_0x5f2d39['plugins']['get'](k);if(!_0x41db31)return;const _0x284f23=()=>{const _0x2bcb8e=_0x41db31['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x2bcb8e[0x0]||null);};this['listenTo'](_0x41db31,'refresh',_0x284f23),this['listenTo'](_0x41db31,'blur',(_0x2a823b,{isAnnotationTracked:_0x2cd2a3})=>{this['activeAnnotation']&&_0x2cd2a3(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x41db31,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x3d367f=>{_0x41db31['hasDomSelection']()&&(_0x284f23(),_0x3d367f['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x41db31);}['_destroyEditorAnnotationsIntegration'](_0x26dc51){this['stopListening'](_0x26dc51),this['_editorAnnotations']['remove'](_0x26dc51);}}class D extends _0x5afcfe{['counterView'];constructor(_0x3dfb05){super(_0x3dfb05);const _0x420741=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x1fdbba,_0x1e2114)=>_0x1fdbba?'...':_0x1e2114['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',_0x420741['to']('annotationType',_0x583ce8=>'ck-annotation-counter__badge--'+_0x583ce8),_0x420741['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x420741['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class i extends _0x24d6c5{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[z,j];}static get['pluginName'](){return'NarrowSidebar';}constructor(_0x1a42fd){super(_0x1a42fd),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=Object['create'](_0x281779),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x2d2956(),this['_refreshPositioningDebounced']=_0x4a5b48(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](j)['register']('narrowSidebar',this),this['bodyCollection']=new _0x443e1a(this['context']['locale']),this['balloonPanelView']=new _0x2eba09(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x5e8fb6){this['annotations']=_0x5e8fb6;const _0x594710=this['context']['plugins']['get'](z),_0x5d7ea3=this['balloonPanelView'];if(_0x594710['_annotations']=_0x5e8fb6,this['isAttached'])throw new _0x2382d1('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x594710,'set:container',()=>{this['detach'](),this['listenTo'](_0x594710,'change:container',_0x22a1ed=>{_0x22a1ed['off'](),this['attach'](_0x5e8fb6);});}),_0x594710['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x1d40d2=_0x3230f0=>{const _0x5de155=new D(this['context']['locale']);_0x594710['addAnnotation'](_0x3230f0,_0x5de155),this['_annotationToNarrowView']['set'](_0x3230f0,_0x5de155),_0x5de155['bind']('isDirty','annotationType','number')['to'](_0x3230f0['view'],'isDirty','type','length'),_0x5de155['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x5d7ea3['content']['first']!==_0x3230f0['view']?(this['_showBalloon'](_0x3230f0),_0x3230f0['view']['element']['focus'](),this['setActiveAnnotation'](_0x3230f0)):this['setActiveAnnotation'](null);});};for(const _0x1958b7 of _0x5e8fb6)_0x1d40d2(_0x1958b7);this['listenTo'](_0x5e8fb6,'add',(_0x28f8c2,_0x2f85aa)=>{_0x1d40d2(_0x2f85aa);}),this['listenTo'](_0x5e8fb6,'remove',(_0xce0b33,_0x220cbc,_0x1d5467)=>{this['_annotationToNarrowView']['get'](_0x220cbc)['destroy'](),this['_annotationToNarrowView']['delete'](_0x220cbc),_0x594710['rearrange']({'removedAnnotation':_0x220cbc,'previousAnnotation':_0x5e8fb6['get'](_0x1d5467-0x1),'nextAnnotation':_0x5e8fb6['get'](_0x1d5467+0x1)}),_0x220cbc===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x5e8fb6,'focus',(_0x26af98,_0x34a1d1)=>{this['setActiveAnnotation'](_0x34a1d1);}),this['listenTo'](_0x5e8fb6,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x3ac3f0,_0x4814e3)=>{_0x4814e3['keyCode']===_0x33e8d6['esc']&&_0x5d7ea3['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x5d7ea3['content']['first']),this['_hideBalloon'](),_0x4814e3['stopPropagation'](),_0x4814e3['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x46cf4e,_0x21ad84)=>{const _0x41f55d=_0x21ad84['target'];_0x5d7ea3['isVisible']&&_0x5d7ea3['element']['contains'](_0x41f55d)||_0x594710['view']['element']['contains'](_0x41f55d)||_0x46cf4e['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x47ac58=>_0x47ac58['contains'](_0x41f55d))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x22246d=this['context']instanceof _0x28a128?this['context']['editors']:new _0x2d2956([this['context']]);for(const _0x59338f of _0x22246d)this['_integrateWithEditorAnnotations'](_0x59338f);this['listenTo'](_0x22246d,'add',(_0x14244a,_0x48fda7)=>{this['listenTo'](_0x48fda7,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x48fda7);});}),this['listenTo'](_0x22246d,'remove',(_0x311962,_0x4c7f99)=>{_0x4c7f99['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x4c7f99['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x34a38c){if(_0x34a38c===this['activeAnnotation'])return;const _0x3e437b=this['context']['plugins']['get'](z);if(_0x3e437b['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x34a38c,'disableAnimationOnActivatedAnnotation':!0x0}),_0x34a38c)_0x3e437b['getSidebarItemView'](_0x34a38c)?this['_showBalloon'](_0x34a38c):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x34a38c;}['detach'](){if(!this['isAttached'])throw new _0x2382d1('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x4b9287=this['context']['plugins']['get'](z);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x17e873=>_0x17e873['destroy']()),this['_annotationToNarrowView']['clear'](),_0x4b9287['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x28a128&&this['stopListening'](this['context']['editors']);for(const _0x5d14d9 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x5d14d9);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'](_0x537139){const _0x466ffc=_0x537139['plugins']['get'](k),_0x4ca311=this['context']['plugins']['get'](z),_0x2a7bbd=this['annotations'],_0x21fc36=this['balloonPanelView'],_0x5d84b5=()=>{const _0x104722=_0x466ffc['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x104722),this['setActiveAnnotation'](_0x104722[0x0]||null);};this['listenTo'](_0x466ffc,'refresh',_0x5d84b5),this['listenTo'](_0x466ffc,'blur',(_0x68b20c,{isAnnotationTracked:_0x37cfba})=>{this['activeAnnotation']&&_0x37cfba(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x466ffc,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x2a7bbd,'blur',_0x2487d5=>{_0x466ffc['hasDomSelection']()&&_0x2487d5['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x3752d2,_0x17b15a)=>{const _0x553c24=_0x17b15a['target'];_0x21fc36['isVisible']&&_0x21fc36['element']['contains'](_0x553c24)||_0x4ca311['view']['element']['contains'](_0x553c24)||this['activeAnnotation']&&_0x466ffc['hasDomSelection']()&&(_0x5d84b5(),_0x3752d2['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x466ffc);}['_destroyEditorAnnotationsIntegration'](_0x1836a1){_0x1836a1&&(this['stopListening'](_0x1836a1),this['_editorAnnotations']['remove'](_0x1836a1));}['_setSelectedAnnotations'](_0x2601a6){for(const _0x56294d of this['_selectedAnnotations'])_0x2601a6['includes'](_0x56294d)||this['_manuallyClosedAnnotationViews']['delete'](_0x56294d['view']);this['_selectedAnnotations']=_0x2601a6;}['_refreshPositioning'](){const _0x1848eb=this['balloonPanelView'];this['annotations']['refreshPositioning'](),_0x1848eb['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x2e3d4c){if(this['_manuallyClosedAnnotationViews']['has'](_0x2e3d4c['view']))return;const _0x49712e=this['balloonPanelView']['content']['first'];_0x49712e!==_0x2e3d4c['view']?(_0x49712e&&this['_detachListeners'](_0x49712e),this['_attachListeners'](_0x2e3d4c['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x2e3d4c['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x350a9f=this['balloonPanelView']['content']['first'],_0x393efd=_0x350a9f&&this['annotations']['getByView'](_0x350a9f);if(!_0x393efd||!this['_annotationToNarrowView']['has'](_0x393efd))return;const _0x121d37=this['_annotationToNarrowView']['get'](_0x393efd)['element'],_0x5cff0d=(function(){const _0x14add9=_0x2eba09['defaultPositions'];return[_0x14add9['southArrowNorthEast'],_0x14add9['northArrowSouthEast'],_0x14add9['southArrowNorth'],_0x14add9['northArrowSouth'],_0x14add9['southArrowNorthWest'],_0x14add9['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x121d37,'positions':_0x5cff0d});}['_hideBalloon'](){const _0x55a0c9=this['balloonPanelView'],_0x4dd0ca=_0x55a0c9['content']['first'];_0x4dd0ca&&(this['_detachListeners'](_0x4dd0ca),_0x55a0c9['unpin'](),_0x55a0c9['content']['clear']());}['_attachListeners'](_0x160646){this['listenTo'](_0x160646,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x160646,'Esc',(_0x2334e,_0x1f9144)=>{this['_manuallyClosedAnnotationViews']['add'](_0x160646),this['_hideBalloon'](),_0x1f9144();});}['_detachListeners'](_0x5bd0d4){this['stopListening'](_0x5bd0d4);}}class c extends _0x44b450{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];static get['requires'](){return[k,_0xc34e13,j];}static get['pluginName'](){return'InlineAnnotations';}constructor(_0x51a034){super(_0x51a034),_0x51a034['editing']['view']['addObserver'](_0x17ade2),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x51a034['plugins']['get'](_0xc34e13),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1;}['init'](){const _0x209243=this['editor']['plugins']['get'](j);_0x209243['context']===this['editor']&&(_0x209243['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x2434b4,_0x1a1315)=>{const _0x442a5f=this['_balloon'];if(this['isAttached']&&_0x442a5f['visibleView']){const _0x1d7f79=this['annotations']['getByView'](_0x442a5f['visibleView']);_0x1d7f79&&this['_closeAnnotation'](_0x1d7f79),_0x1a1315();}}));}['afterInit'](){const _0x455c07=this['editor']['plugins']['get'](j);_0x455c07['context']===this['editor']&&(_0x455c07['hasActive']()||_0x455c07['switchTo']('inline'));}['setActiveAnnotation'](_0x50d5dc){_0x50d5dc!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x50d5dc&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x50d5dc)&&this['_addAnnotationToBalloon'](_0x50d5dc,!0x0),_0x50d5dc['isActive']=!0x0),_0x50d5dc||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x50d5dc);}['attach'](_0x4dc03b){this['annotations']=_0x4dc03b;const _0x32ce5f=this['editor']['plugins']['get'](j),_0x1e17d6=this['_balloon'];if(this['isAttached'])throw new _0x2382d1('inlineannotations-attach-already-attached',this);if(_0x32ce5f['context']!==this['editor'])throw new _0x2382d1('inlineannotations-not-allowed-with-context',this);const _0x4ceeac=this['editor']['plugins']['get'](k);this['listenTo'](_0x4ceeac,'refresh',()=>{const _0x1b3912=_0x4ceeac['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x2b8c0d,_0x18943d;!this['_forceRefresh']&&(_0x2b8c0d=_0x1b3912,_0x18943d=this['_selectedAnnotations'],_0x2b8c0d['length']===_0x18943d['length']&&_0x2b8c0d['every'](_0x58b136=>_0x18943d['includes'](_0x58b136)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x1b3912),this['setActiveAnnotation'](_0x1b3912[0x0]||null));}),this['listenTo'](_0x4ceeac,'blur',(_0x54d7f2,{isAnnotationTracked:_0x255f67})=>{this['activeAnnotation']&&_0x255f67(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x17ce4a,_0x47916c,_0x1ab1d4)=>{_0x1ab1d4||this['setActiveAnnotation'](null);}),this['listenTo'](_0x4dc03b,'remove',(_0x430eb4,_0x4d24ac)=>{this['_removeAnnotationFromBalloon'](_0x4d24ac),_0x4d24ac===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x1e17d6,'change:visibleView',(_0x57ba5f,_0x46efb7,_0x2f8f2e,_0x4209d9)=>{_0x4209d9&&this['stopListening'](_0x4209d9);const _0x56dcb1=_0x4dc03b['getByView'](_0x2f8f2e);_0x2f8f2e&&_0x56dcb1&&(this['listenTo'](_0x2f8f2e,'change:height',()=>{_0x1e17d6['updatePosition']();}),this['listenTo'](_0x2f8f2e,'Esc',()=>{this['_closeAnnotation'](_0x56dcb1),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x56dcb1&&this['setActiveAnnotation'](_0x56dcb1));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x1e17d6['visibleView']&&(_0x4dc03b['getByView'](_0x1e17d6['visibleView'])&&_0x1e17d6['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 _0x2382d1('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x2fb703 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x2fb703);this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_setSelectedAnnotations'](_0x7b8463){for(const _0x32a131 of this['_selectedAnnotations'])_0x7b8463['includes'](_0x32a131)||this['_manuallyClosed']['delete'](_0x32a131);for(const _0x1a0769 of this['annotations'])_0x7b8463['includes'](_0x1a0769)||this['_removeAnnotationFromBalloon'](_0x1a0769);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x1de202 of _0x7b8463)this['_addAnnotationToBalloon'](_0x1de202);}this['_selectedAnnotations']=_0x7b8463;}['_addAnnotationToBalloon'](_0x3daf3a,_0x372ef4=!0x1){this['_manuallyClosed']['has'](_0x3daf3a)||(this['_addedAnnotations']['has'](_0x3daf3a)||this['_balloon']['hasView'](_0x3daf3a['view'])||(this['_addedAnnotations']['add'](_0x3daf3a),this['_balloon']['add']({'stackId':_0x3daf3a['view']['id'],'view':_0x3daf3a['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x3daf3a)}})),_0x372ef4&&this['_balloon']['showStack'](_0x3daf3a['view']['id']));}['_getBalloonTargetForAnnotation'](_0x32934b){const _0xeda055=_0x32934b['target'],_0x4850a1=this['editor']['editing']['view'],_0x5e7578=_0x4850a1['document']['selection']['getFirstRange'](),_0x2fcc86=_0x4850a1['domConverter']['viewRangeToDom'](_0x5e7578);if(_0x2fcc86['collapse'](!0x0),_0xeda055){if(_0xeda055 instanceof _0x446d66)return _0xeda055;let _0x259256=[];for(const _0x3e0726 of _0xeda055)_0x259256['push'](...(_0x258d9b=_0x3e0726['getClientRects'](),Array['from'](_0x258d9b)['map'](DOMRect['fromRect'])));_0x259256=function(_0x6751a3){const _0x44461b=[];let _0x2bc607=_0x6751a3[0x0];for(let _0x3b88b2=0x1;_0x3b88b2<_0x6751a3['length'];_0x3b88b2++)F(_0x2bc607,_0x6751a3[_0x3b88b2])?_0x2bc607['width']+=_0x6751a3[_0x3b88b2]['width']:(_0x44461b['push'](_0x2bc607),_0x2bc607=_0x6751a3[_0x3b88b2]);return _0x44461b['push'](_0x2bc607),_0x44461b;}(_0x259256);const _0x5f33df=_0x2fcc86['getBoundingClientRect']();return _0x259256['find'](_0x4b8729=>_0x4b8729['top']<=_0x5f33df['top']&&_0x4b8729['bottom']>=_0x5f33df['bottom']&&_0x4b8729['left']<=_0x5f33df['left']&&_0x4b8729['right']>=_0x5f33df['right'])||_0x259256[0x0];}var _0x258d9b;return _0x32934b['targetRect']||_0x2fcc86;}['_removeAnnotationFromBalloon'](_0x41c297){this['_addedAnnotations']['has'](_0x41c297)&&this['_balloon']['hasView'](_0x41c297['view'])&&(this['_addedAnnotations']['delete'](_0x41c297),this['_balloon']['remove'](_0x41c297['view']));}['_closeAnnotation'](_0x419635){this['_manuallyClosed']['add'](_0x419635),this['_removeAnnotationFromBalloon'](_0x419635);}}function F(_0x1c45ce,_0x319515){return _0x1c45ce['top']===_0x319515['top']&&_0x1c45ce['bottom']===_0x319515['bottom']&&_0x1c45ce['right']===_0x319515['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(_0x373421,_0x296d6c){super(_0x373421),this['set']('isEmpty',!_0x296d6c['length']),this['_focusTracker']=new _0x109e02(),this['_keystrokes']=new Et(),this['_focusables']=_0x296d6c,this['_focusCycler']=new _0x315b50({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['listenTo'](_0x296d6c,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x296d6c,'remove',(_0x46d9e2,_0x320eb5)=>{_0x320eb5['isActive']&&this['focus'](),_0x296d6c['length']||(this['isEmpty']=!0x0);});const _0x3a86bf=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':_0x296d6c},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x3a86bf['if']('isEmpty','ck-hidden',_0x614b4=>!_0x614b4)]},'children':[{'text':W(_0x373421,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_keystrokes']['listenTo'](this['element']);const _0x2754f0=_0x3941f6=>_0x3941f6['stopPropagation']();this['_keystrokes']['set']('arrowright',_0x2754f0),this['_keystrokes']['set']('arrowleft',_0x2754f0),this['_keystrokes']['set']('arrowup',_0x2754f0),this['_keystrokes']['set']('arrowdown',_0x2754f0),this['listenTo'](this['element'],'selectstart',(_0x16368e,_0x201847)=>{_0x201847['stopPropagation']();},{'priority':'high'});}['destroy'](){super['destroy'](),this['_focusTracker']['destroy'](),this['_keystrokes']['destroy']();}['focus'](){this['element']['focus']();}}class p extends _0x24d6c5{static get['pluginName'](){return'CommentsArchive';}static get['requires'](){return[m,b];}constructor(_0x2cdd00){super(_0x2cdd00),this['archivedThreads']=new _0x2d2956();}['init'](){const _0x9e495c=this['context'],_0xc09dcd=_0x9e495c['plugins']['get'](m),_0x4a7abf=_0x9e495c['plugins']['get'](b);this['listenTo'](_0xc09dcd,'addCommentThread',(_0x274518,{threadId:_0x54bff6})=>{const _0x49bc3e=_0xc09dcd['getCommentThread'](_0x54bff6);_0x49bc3e['archivedAt']&&this['archivedThreads']['add'](_0x49bc3e,this['_calculatePosition'](_0x49bc3e['archivedAt'])),this['listenTo'](_0x49bc3e,'change:archivedAt',(_0x5c3ff5,_0x66f723,_0x248689)=>{_0x248689?this['archivedThreads']['has'](_0x49bc3e)||this['archivedThreads']['add'](_0x49bc3e,this['_calculatePosition'](_0x49bc3e['archivedAt'])):this['archivedThreads']['has'](_0x49bc3e)&&this['archivedThreads']['remove'](_0x49bc3e);});}),this['listenTo'](_0xc09dcd,'removeCommentThread',(_0x3861e2,{threadId:_0x2caf25})=>{const _0x4cc071=_0xc09dcd['getCommentThread'](_0x2caf25);this['stopListening'](_0x4cc071),this['archivedThreads']['has'](_0x4cc071)&&this['archivedThreads']['remove'](_0x4cc071);},{'priority':'highest'}),this['listenTo'](_0x4a7abf['collection'],'focus',(_0x2525f0,_0x53bf43)=>{_0x53bf43['isActive']=!0x0,_0x4a7abf['activate'](_0x53bf43);});}['_calculatePosition'](_0xcf6823){const _0x4c99dd=[...this['archivedThreads']]['findIndex'](_0x21bd06=>_0x21bd06['archivedAt']<_0xcf6823);return _0x4c99dd>-0x1?_0x4c99dd:this['archivedThreads']['length'];}}class a extends _0x44b450{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['requires'](){return[p,_0x22012d];}constructor(_0x3b16a8){super(_0x3b16a8),this['annotationViews']=new _0x50c653(),this['_pendingThreads']=[];}['init'](){this['editor']['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x5afcfe,!0x0)),this['editor']['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>this['_createCommentsArchiveButton'](_0x57729c));const _0x3aef2a=this['editor']['plugins']['get'](p),_0x25fc5d=this['editor']['plugins']['get']('Annotations'),_0x53a6ed=this['editor']['plugins']['get']('CommentsRepository');this['listenTo'](_0x3aef2a['archivedThreads'],'add',(_0x2683a6,_0x5bab07)=>{const _0x4a3761=this['editor']['config']['get']('collaboration.channelId');if(!_0x4a3761||_0x5bab07['channelId']===_0x4a3761){const _0xed3840=_0x53a6ed['_threadToController']['get'](_0x5bab07);if(!_0xed3840)return void this['_pendingThreads']['push'](_0x5bab07);const _0x17735d=this['_calculatePosition'](_0x5bab07['archivedAt']),_0x842f6=_0x25fc5d['getByInnerView'](_0xed3840['view']);_0x842f6['isVisible']&&_0x25fc5d['_visibleAnnotations']['remove'](_0x842f6),this['annotationViews']['add'](_0x842f6['view'],_0x17735d);}}),this['listenTo'](_0x25fc5d['collection'],'add',(_0x584a3e,_0x58b917)=>{const _0x38f9fb=this['_pendingThreads']['find'](_0x32a891=>{const _0x3e731d=_0x53a6ed['_threadToController']['get'](_0x32a891);return _0x3e731d&&_0x58b917['innerView']===_0x3e731d['view'];});if(_0x38f9fb){const _0x361445=this['_calculatePosition'](_0x38f9fb['archivedAt']);this['annotationViews']['add'](_0x58b917['view'],_0x361445),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x38f9fb),0x1);}}),this['listenTo'](_0x3aef2a['archivedThreads'],'remove',(_0x2b5d32,_0x1762d1)=>{const _0x4f4ff3=this['editor']['config']['get']('collaboration.channelId');if(!_0x4f4ff3||_0x1762d1['channelId']===_0x4f4ff3){const _0x36912a=_0x53a6ed['_threadToController']['get'](_0x1762d1),_0x207184=_0x25fc5d['getByInnerView'](_0x36912a['view']);this['annotationViews']['remove'](_0x207184['view']),this['stopListening'](_0x207184['focusableElements']);}});}['_calculatePosition'](_0x2282c7){const _0xafbc22=this['editor']['config']['get']('collaboration.channelId'),_0x1e54d6=[...this['editor']['plugins']['get'](p)['archivedThreads']]['filter'](_0x21fec4=>_0x21fec4['channelId']===_0xafbc22)['findIndex'](_0x343382=>_0x343382['archivedAt']<_0x2282c7);return _0x1e54d6<0x0||_0x1e54d6>this['annotationViews']['length']?this['annotationViews']['length']:_0x1e54d6-0x1;}['_toggleDialog'](){const _0x4a48f2=this['editor'],_0x3da929=_0x4a48f2['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new X(_0x4a48f2['locale'],this['annotationViews'])),'commentsArchive'===_0x3da929['id']?_0x3da929['hide']():_0x3da929['show']({'id':'commentsArchive','title':W(_0x4a48f2['locale'],'COMMENTS_ARCHIVE'),'icon':Q,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x49d239['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x331b2a,_0xf87926=!0x1){const _0x4bd91b=this['editor']['locale'],_0x185b86=new _0x331b2a(_0x4bd91b);return _0x185b86['bind']('isEnabled')['to'](this,'isEnabled'),_0x185b86['set']({'label':W(_0x4bd91b,'COMMENTS_ARCHIVE'),'icon':Q}),_0xf87926&&(_0x185b86['tooltip']=!0x0),this['listenTo'](_0x185b86,'execute',()=>this['_toggleDialog']()),_0x185b86;}}class f extends _0x44b450{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};
|