@ckeditor/ckeditor5-comments 43.0.0-alpha.4 → 43.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/comments/ui/view/commentthreadinputview.d.ts +4 -0
- package/dist/index-editor.css +1 -5
- package/dist/index.css +1 -5
- package/dist/index.js +9 -9
- 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/package.json +14 -14
- package/src/annotations/annotation.js +2 -2
- 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.js +3 -3
- 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.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- 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/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +4 -0
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- 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/theme/comment.css +1 -5
package/dist/index.js
CHANGED
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Editor as
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
((()=>Ut)());constructor(_0x4abfab={}){(_0x4abfab=Object['assign']({},_0x4abfab))['plugins']||(_0x4abfab['plugins']=Vt['defaultPlugins']),super(_0x4abfab),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 _0x2c9366=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x2c9366))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x2f9d77=>{const _0x4702dc=this['model']['document']['getRoot'](),_0x3b1f16=_0x4702dc&&_0x4702dc['getChild'](_0x4702dc['childCount']-0x1);_0x2f9d77['setSelection'](_0x3b1f16,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x1953d4=this['editing']['view'],_0x395392=_0x1953d4['document']['getRoot'](),_0x1cd651=_0x395392['getChild'](0x0);_0x395392['childCount']>0x1||!_0x1cd651||'p'!=_0x1cd651['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(Bt(_0x1953d4,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x1cd651['placeholder']=this['placeholder']),zt({'view':_0x1953d4,'element':_0x1cd651,'keepOnFocus':!0x0}),this['placeholderElement']=_0x1cd651);}}class rs extends _t{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x1f8531,_0x249ddb={}){super(_0x1f8531),this['editor']=null,this['_editorConfig']=_0x249ddb,this['set']('value',_0x249ddb['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',S(_0x1f8531,'Reply...')),this['set']('submitLabel',S(_0x1f8531,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new Et(),this['focusTracker']=new _0x163651(),this['focusCycler']=new Ft({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),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',(_0x4c5ba9,_0x7d4196)=>{this['cancelButtonView']['fire']('execute'),_0x7d4196();}),this['keystrokes']['set']('Ctrl+Enter',(_0x2afe39,_0x416900)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x416900());}),this['on']('submit',(_0x593ba5,_0x47b2ba)=>{_0x47b2ba['length']>0xfde8?(alert(S(_0x1f8531,'TOO_LONG_COMMENT_ALERT',[_0x47b2ba['length'],0xfde8])),_0x593ba5['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new Vt(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x5db50f=this['editor'];this['element']['insertBefore'](_0x5db50f['ui']['element'],this['element']['firstChild']),_0x5db50f['model']['document']['on']('change',()=>this['value']=_0x5db50f['getData']()),_0x5db50f['bind']('placeholder')['to'](this),this['focusables']['add'](_0x5db50f['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x1dc0be){-0x1===_0x1dc0be?(this['focusCycler']['focusFirst'](),this['focusCycler']['focusLast']()):this['focusCycler']['focusFirst']();}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:_0x551737}=this,_0x17ed12=new _0x20f65d(_0x551737);return _0x17ed12['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x17ed12['withText']=!0x0,_0x17ed12['bind']('label')['to'](this,'submitLabel'),_0x17ed12['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x17ed12['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x449701,_0x2a4059)=>!_0x2a4059&&!!_0x449701['trim']()),_0x17ed12;}['_createCancelButton'](){const {locale:_0xb4b4aa}=this,_0x410a7f=new _0x20f65d(_0xb4b4aa);return _0x410a7f['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x410a7f['label']=S(_0xb4b4aa,'Cancel'),_0x410a7f['withText']=!0x0,_0x410a7f['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x410a7f;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0xf488a2=>{this['focusTracker']['add'](_0xf488a2['element']);}),this['focusables']['on']('change',(_0x39a763,_0x519c24)=>{for(const _0xfcd884 of Array['from'](_0x519c24['added'])['reverse']())this['focusTracker']['add'](_0xfcd884['element']);});}}class xt extends _t{constructor(_0x5e396e,_0x5e0384,_0x3be699){super(_0x5e396e),this['commentInputView']=new rs(_0x5e396e,_0x3be699),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x394729,_0x1180c2)=>_0x394729||!!_0x1180c2),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 _0xd4a5f4(_0x5e396e,_0x5e0384),this['userView']['extendTemplate']({'attributes':{'class':'ck-thread__user','aria-hidden':!0x0}}),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']());}['focus'](_0x56ef49){this['commentInputView']['focus'](_0x56ef49);}}class cs extends _t{constructor(_0x364064){super(_0x364064);const _0x4880dc=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x4880dc['to']('count',_0x5166f2=>S(_0x364064,'NUMBER_OF_COMMENTS',_0x5166f2))}]});}}class kt extends _t{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x42a066,_0x1bc8c7,_0x256816){super(_0x42a066);const _0x186b27=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x1bc8c7['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x1bc8c7,this['_config']=_0x256816,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x163651(),this['keystrokes']=new Et(),this['focusCycler']=new Ft({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2908aa=>this['commentViews']['map'](_0x2ccb81=>_0x2ccb81['element'])['includes'](_0x2908aa['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new cs(_0x42a066),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x5364aa=>_0x5364aa-this['_config']['maxCommentsWhenCollapsed']);for(const _0x513400 of _0x1bc8c7['comments'])this['_handleNewCommentModel'](_0x513400);this['_handleInfoComment'](),this['listenTo'](_0x1bc8c7['comments'],'add',(_0x4963fa,_0x1206f3)=>{const _0x21fac0=this['_calculatePosition'](_0x1206f3);this['length']++,this['_handleNewCommentModel'](_0x1206f3,_0x21fac0),this['refreshVisibleViews']();}),this['listenTo'](_0x1bc8c7['comments'],'remove',(_0x3add7a,_0x3cf0c9)=>{this['length']--,this['_handleRemoveCommentModel'](_0x3cf0c9),this['refreshVisibleViews']();}),this['listenTo'](_0x1bc8c7,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x1bc8c7,'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',_0x186b27['if']('length','ck-hidden',_0x1fd3cc=>!_0x1fd3cc)],'aria-label':S(_0x42a066,'Thread\x20comments')},'children':this['visibleViews']});}get['_shouldCollapse'](){return this['_model']['weight']>this['_config']['maxThreadTotalWeight']&&!this['isActive']&&!this['hasDirtyComment'];}['render'](){super['render'](),this['refreshVisibleViews'](),this['_setupKeyboardNavigation']();}['focus'](_0x15678b){-0x1===_0x15678b?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x2227f7 of this['commentViews'])_0x2227f7['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x3bb466,_0xe2071b){const _0x444878=new this['_config']['CommentView'](this['locale'],_0x3bb466,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x444878['viewUid']=_0x3bb466['id'],_0x444878['delegate']('removeComment')['to'](this),_0x444878['delegate']('updateComment')['to'](this),_0x444878['delegate']('resolveCommentThread')['to'](this),_0x444878['delegate']('editorReady')['to'](this),_0x444878['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x444878,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x444878,_0xe2071b);}['_calculatePosition'](_0x36d93e){const _0x3d355c=this['_model']['_findOptimalIndex'](_0x36d93e);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x36d93e['authoredAt']?_0x3d355c-0x1:_0x3d355c:_0x3d355c-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0xa304c3={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':S(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0xa304c3,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0xa304c3));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x28960e){const _0x1be8dd=this['commentViews']['remove'](_0x28960e['id']);this['stopListening'](_0x1be8dd),_0x1be8dd['isEditMode']&&this['_updateHasDirtyComment'](),_0x1be8dd['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x3e9f6e=>_0x3e9f6e['isEditMode']);}['_rearrangeCollapse'](){const _0x5b6bb9=function(_0xf0f7d8){const _0x2efd33=new _0x5c7276();for(const _0x26a013 of _0xf0f7d8)_0x2efd33['add'](_0x26a013);return _0x2efd33;}(this['commentViews']),_0x557400=this['_collapsedCommentsView']['count'];for(let _0xed912b=0x1;_0xed912b<=_0x557400;_0xed912b++)_0x5b6bb9['remove'](0x1);for(const _0x84a396 of _0x5b6bb9)_0x84a396['collapse']();_0x557400>0x0&&_0x5b6bb9['add'](this['_collapsedCommentsView'],0x1),ms(_0x373aac(Array['from'](this['visibleViews']),Array['from'](_0x5b6bb9)),this['visibleViews'],_0x5b6bb9);}['_rearrangeExpand'](){ms(_0x373aac(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x5c91ce of this['visibleViews'])_0x5c91ce['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x24118e=>{this['focusTracker']['add'](_0x24118e['element']),this['keystrokes']['listenTo'](_0x24118e['element']);}),this['commentViews']['on']('change',(_0x10f2a6,_0x3cf38d)=>{for(const _0x1ee681 of _0x3cf38d['removed'])this['focusTracker']['remove'](_0x1ee681['element']),this['keystrokes']['stopListening'](_0x1ee681['element']);for(const _0x1e2b48 of Array['from'](_0x3cf38d['added'])['reverse']())this['focusTracker']['add'](_0x1e2b48['element']),this['keystrokes']['listenTo'](_0x1e2b48['element']);});}}function ms(_0x16c50b,_0x5293dd,_0x55e50e){let _0x5da3c5=0x0;for(const _0x5d83fd of _0x16c50b)switch(_0x5d83fd){case'insert':_0x5293dd['add'](_0x55e50e['get'](_0x5da3c5),_0x5da3c5),_0x5da3c5++;break;case'delete':_0x5293dd['remove'](_0x5da3c5);break;case'equal':_0x5da3c5++;}}class ls extends _t{constructor(_0x540536){super(_0x540536);const _0x1cf2ce=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x1cf2ce['to']('contextValue',_0x267f64=>S(_0x540536,'THREAD_CONTEXT_LABEL',_0x267f64)),'tabindex':-0x1},'children':[{'text':_0x1cf2ce['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class ts extends _t{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x256672,_0x45e502){super(_0x256672);const _0xae8737=this['bindTemplate'];this['_model']=_0x45e502,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x163651(),this['keystrokes']=new Et(),this['focusCycler']=new Ft({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x1822a3=>!!_0x1822a3),this['bind']('contextValue')['to'](this['_model'],'context',_0x1b35c2=>_0x1b35c2&&_0x1b35c2['value']?this['_trimContextValue'](_0x1b35c2['value']):S(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',_0xae8737['if']('hasContext','ck-context--quotes')]},'children':[this['contextView']]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_createReopenButton'](){const _0x171082=new _0x20f65d(this['locale']);return _0x171082['label']=S(this['locale'],'Reopen'),_0x171082['tooltip']=S(this['locale'],'Reopen'),_0x171082['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>',_0x171082['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x4a183b=>!_0x4a183b),_0x171082['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x1051c1,_0xcd54dd)=>_0x1051c1&&_0xcd54dd),_0x171082['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x171082;}['_trimContextValue'](_0x299e35){if(_0x299e35['length']<0x96)return _0x299e35;const _0x55ed9b=_0x299e35['lastIndexOf']('\x20',0x93);return _0x299e35['substring'](0x0,_0x55ed9b>-0x1?_0x55ed9b:0x93)+'...';}['_attachContextActions'](){const _0x42ac4d=this['element']['querySelector']('.ck-context'),_0x595055=_0x42ac4d['querySelector']('.ck-context__value');this['listenTo'](_0x42ac4d,'mouseenter',()=>{_0x595055['offsetWidth']<_0x595055['scrollWidth']&&_0x42ac4d['classList']['add']('overlay');}),this['listenTo'](_0x42ac4d,'mouseleave',()=>{_0x42ac4d['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x4b93b9 of this['focusables'])this['focusTracker']['add'](_0x4b93b9['element']),this['keystrokes']['listenTo'](_0x4b93b9['element']);}['_createContextView'](){const _0xb9437b=new ls(this['locale']);return _0xb9437b['bind']('contextValue')['to'](this),_0xb9437b;}}class es extends _t{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x3b067e,_0x1f1eb9,_0x39f760,_0x291c75){super(_0x3b067e),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x1f1eb9,this['_localUser']=_0x39f760,this['_config']=_0x291c75,this['commentThreadHeaderView']=new ts(_0x3b067e,_0x1f1eb9),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new _0xd9fa18(_0x3b067e,S(_0x3b067e,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new kt(_0x3b067e,_0x1f1eb9,Object['assign']({'CommentView':this['_config']['CommentView']},_0x291c75)),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',(_0x332028,_0x200ba2)=>_0x332028||!!_0x200ba2),this['bind']('isUnlinked')['to'](_0x1f1eb9,'unlinkedAt',_0x54aaaf=>!!_0x54aaaf),this['bind']('ariaLabel')['to'](this,'length',_0x46c4b0=>{const _0xe11fd3=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return S(this['locale'],'COMMENT_THREAD_LABEL',[_0x46c4b0,_0xe11fd3]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x163651(),this['keystrokes']=new Et(),this['focusCycler']=new Ft({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x25da9e=>_0x25da9e['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),_0x8ec7e0(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x57f0cc=new xt(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x3c6087=_0x57f0cc['commentInputView'];return _0x57f0cc['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x3c6087,'value',(_0x267807,_0x29673b,_0x2592ee,_0x53bc98,_0x4eacd3)=>!!_0x4eacd3||!!_0x53bc98&&_0x2592ee&&!_0x29673b||_0x267807&&_0x2592ee&&!_0x29673b),_0x3c6087['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x21d7fb,_0x58c6a5,_0x1a9a82)=>{let _0x2459b2;return _0x2459b2=_0x1a9a82&&_0x58c6a5?'Reply\x20to\x20reopen\x20discussion...':_0x21d7fb?'Reply...':'Write\x20a\x20comment...',S(this['locale'],_0x2459b2);}),_0x3c6087['bind']('submitLabel')['to'](this,'length',_0x5b95c5=>S(this['locale'],_0x5b95c5?'Reply':'Comment')),_0x3c6087['on']('submit',(_0x20049b,_0x193569)=>{this['fire']('addComment',_0x193569),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x3c6087['on']('cancel',()=>{this['focus']();}),_0x3c6087['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x3c6087['on']('cancel',_0x23499a=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x23499a['stop']());}),this['on']('change:isActive',(_0x126f0e,_0x5632ea,_0x5ce92f)=>{_0x5ce92f||this['length']||_0x3c6087['value']||this['fire']('removeCommentThread');}),_0x57f0cc;}}class At extends/* #__PURE__ -- @preserve */
|
|
27
|
-
ti(es){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(
|
|
28
|
-
ti(ns){['actionBar'];['userView'];constructor(
|
|
29
|
-
_0x580253(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x5a2329,target:_0x3b8e63,type:_0x47b2b4,isVisible:_0x256e88=!0x0}){super(),this['view']=_0x5a2329,this['view']['element']||this['view']['render'](),this['_type']=_0x47b2b4,this['_target']=_0x3b8e63,d['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x5c7276([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x2dba6a,_0xf9d550)=>{this['view']['focusTracker']['add'](_0xf9d550);}),this['focusableElements']['on']('remove',(_0x1da26e,_0x1fdbcb)=>{this['view']['focusTracker']['remove'](_0x1fdbcb);}),this['set']('isVisible',_0x256e88);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x481d57=this['_getNormalizedTarget']();return d['_assertCorrectTarget'](_0x481d57),_0x481d57;}get['targetRect'](){const _0x48b6fc=this['target'];if(null===_0x48b6fc)return null;if(_0x48b6fc instanceof _0x3e06be)return _0x48b6fc;const _0x894c04=_0x48b6fc['filter'](_0x2a09d1=>function(_0x26d195){const _0x1bef14=_0x26d195['offsetParent'];if(_0x1bef14)return!0x0;const _0x1fef02=_0x26d195['getClientRects']()['item'](0x0);return!!_0x1fef02;}(_0x2a09d1));return 0x0===_0x894c04['length']?null:new _0x3e06be(_0x894c04[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x55bfdb){this['view']['isActive']=_0x55bfdb,this['view']['mainView']['isActive']=_0x55bfdb;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0xdf9ee1){if(!(null===_0xdf9ee1||_0xdf9ee1 instanceof _0x3e06be||Array['isArray'](_0xdf9ee1)&&_0xdf9ee1['every'](_0x51ba91=>te(_0x51ba91))))throw new _0x4d292c('annotation-invalid-target',null,{'target':_0xdf9ee1});}['_getNormalizedTarget'](){const _0x38bef6='function'==typeof this['_target']?this['_target']():this['_target'];return te(_0x38bef6)?[_0x38bef6]:_0x38bef6;}}function te(_0x428a56){return null!==_0x428a56&&'object'==typeof _0x428a56&&'nodeType'in _0x428a56&&0x1===_0x428a56['nodeType'];}class x extends _0x5c7276{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x3f1daf=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x163651(),this['_focusTracker']['on']('change:isFocused',(_0x4a59c8,_0x16f203,_0x4171ca)=>{_0x4171ca||this['fire']('blur');});for(const _0x2d014d of _0x3f1daf)this['add'](_0x2d014d);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x4c913a){if(this['has'](_0x4c913a))throw new _0x4d292c('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x4c913a['innerView'],_0x4c913a),this['_viewToAnnotation']['set'](_0x4c913a['view'],_0x4c913a);for(const _0x21ba5b of _0x4c913a['focusableElements'])this['_focusTracker']['add'](_0x21ba5b);this['listenTo'](_0x4c913a['focusableElements'],'add',(_0xdc76f3,_0x2eda37)=>{this['_focusTracker']['add'](_0x2eda37);}),this['listenTo'](_0x4c913a['focusableElements'],'remove',(_0x4f9259,_0x5c3207)=>{this['_focusTracker']['remove'](_0x5c3207);}),this['listenTo'](_0x4c913a['view']['focusTracker'],'change:isFocused',(_0x5fe85b,_0x418714,_0x35817a)=>{_0x35817a&&this['fire']('focus',_0x4c913a);}),_0x4c913a['updateTargetRect']();const _0x2ffd12=this['_getOrderInContent'](_0x4c913a['view']['targetRect']);return super['add'](_0x4c913a,_0x2ffd12);}['remove'](_0x316b90){if(!this['has'](_0x316b90))throw new _0x4d292c('annotationcollection-not-existing-item',null);this['stopListening'](_0x316b90['view']['focusTracker']),this['stopListening'](_0x316b90['focusableElements']);for(const _0x54ec1e of _0x316b90['focusableElements'])this['_focusTracker']['remove'](_0x54ec1e);return this['_viewToAnnotation']['delete'](_0x316b90['view']),this['_innerViewToAnnotation']['delete'](_0x316b90['innerView']),super['remove'](_0x316b90);}['getByInnerView'](_0x401ead){return this['_innerViewToAnnotation']['get'](_0x401ead);}['getByView'](_0xe4235c){return this['_viewToAnnotation']['get'](_0xe4235c);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x7c7d3c of this)_0x7c7d3c['updateTargetRect']();this['_sort']();}['_sort'](){const _0x588ce8=Array['from'](this)['sort']((_0x27efb2,_0x2396fe)=>v(_0x27efb2['view']['targetRect'],_0x2396fe['view']['targetRect']));for(let _0x2c744b=_0x588ce8['length']-0x1;_0x2c744b>0x0;_0x2c744b--){const _0x4919e0=_0x588ce8[_0x2c744b];_0x2c744b!==this['getIndex'](_0x4919e0)&&(this['remove'](_0x4919e0),this['add'](_0x4919e0));}}['_getOrderInContent'](_0x5cff4b){let _0x4c6286=0x0;if(!_0x5cff4b)return this['length'];for(const _0x28f725 of this){const _0x2653dd=_0x28f725['view']['targetRect'];if(_0x2653dd){if(v(_0x5cff4b,_0x2653dd)<0x0)return _0x4c6286;_0x4c6286++;}}return _0x4c6286;}}function v(_0x3e4497,_0x251364){if(null===_0x3e4497&&null===_0x251364)return 0x0;if(null===_0x3e4497)return-0x1;if(null===_0x251364)return 0x1;const _0xa30fb3=_0x3e4497['top']-_0x251364['top'];return 0x0==_0xa30fb3?_0x3e4497['left']-_0x251364['left']:_0xa30fb3;}class _ extends _0x36e485{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}constructor(_0xfa7144){if(super(_0xfa7144),this['collection']=new x(),this['_visibleAnnotations']=new x(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0xfa7144 instanceof _0x201838){const _0x43bb03=_0xfa7144['locale'];_0xfa7144['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':S(_0x43bb03,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':S(_0x43bb03,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':S(_0x43bb03,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':S(_0x43bb03,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':S(_0x43bb03,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':S(_0x43bb03,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':S(_0x43bb03,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}}['add'](_0x1c35a7){this['collection']['add'](_0x1c35a7);}['remove'](_0x22dc1b){this['collection']['remove'](_0x22dc1b),_0x22dc1b['destroy']();}['refreshVisibility'](){for(const _0x4d6b31 of this['collection'])_0x4d6b31['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x2f7951){return this['collection']['getByInnerView'](_0x2f7951);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x128d59 of this['collection'])_0x128d59['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x362e4b){this['fire']('_activateAnnotation',_0x362e4b);}['createAnnotation'](_0x1e3228){return new d(_0x1e3228);}['createAnnotationView'](_0x4381a6,_0x5503c9){return new T(_0x4381a6,_0x5503c9);}['_addActiveAnnotation'](_0x1050cd){const _0x3e372d=new Set(this['activeAnnotations']);_0x3e372d['add'](_0x1050cd),this['activeAnnotations']=_0x3e372d;}['_removeActiveAnnotation'](_0x1f3a32){const _0x1348df=new Set(this['activeAnnotations']);_0x1348df['delete'](_0x1f3a32),this['activeAnnotations']=_0x1348df;}['_bindAnnotationsToVisibleAnnotations'](){const _0x27860f=this['collection'],_0x1621e1=this['_visibleAnnotations'];function _0x27453c(_0xea237c){const _0x2b7c43=_0xea237c['source'];_0x2b7c43['isVisible']&&!_0x1621e1['has'](_0x2b7c43)?_0x1621e1['add'](_0x2b7c43):!_0x2b7c43['isVisible']&&_0x1621e1['has'](_0x2b7c43)&&_0x1621e1['remove'](_0x2b7c43),_0x2b7c43['view']['focusTracker']['remove'](_0x2b7c43['view']['element']),_0x2b7c43['view']['focusTracker']['add'](_0x2b7c43['view']['element']);}this['listenTo'](_0x27860f,'add',(_0x5cf5d1,_0x4d1e23)=>{_0x4d1e23['isVisible']&&_0x1621e1['add'](_0x4d1e23),this['listenTo'](_0x4d1e23,'change:isVisible',_0x27453c);}),this['listenTo'](_0x27860f,'remove',(_0x1388cd,_0x3cdc78)=>{_0x1621e1['has'](_0x3cdc78)&&_0x1621e1['remove'](_0x3cdc78),this['stopListening'](_0x3cdc78,'change:isVisible',_0x27453c);});}}const vt=Symbol('noChannel'),gt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class m extends _0x36e485{['licenseKey'];['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[_,ht,ut];}static get['pluginName'](){return'CommentsRepository';}constructor(_0x4f0ee5){super(_0x4f0ee5),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 _0x4a718a=this['context']['config'];_0x4a718a['define']('comments.maxCommentsWhenCollapsed',0x2),_0x4a718a['define']('comments.maxThreadTotalWeight',0x1f4),_0x4a718a['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x4a718a['define']('comments.CommentThreadView',At),_0x4a718a['define']('comments.CommentView',Ct),_0x4a718a['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x87e77e=this['context']['plugins']['get'](_);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x24d618,_0x12400a)=>this['_addCommentThread'](_0x12400a)),this['on']('submitCommentThread',(_0x5903d4,_0x272da9)=>this['_submitCommentThread'](_0x272da9)),this['on']('resolveCommentThread',(_0x58b3d0,_0x574e90)=>this['_resolveCommentThread'](_0x574e90)),this['on']('resolveCommentThread',(_0x144fbc,_0x410775)=>this['_updateActiveAnnotation'](_0x410775),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x2b8f52,_0x524d1b)=>this['_reopenCommentThread'](_0x524d1b)),this['on']('reopenCommentThread',(_0x188ed7,_0x4ecae2)=>this['_updateActiveAnnotation'](_0x4ecae2),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x2bbd46,_0x14ea7c)=>this['_removeCommentThread'](_0x14ea7c)),this['on']('updateCommentThread',(_0x32c54b,_0x237ef7)=>this['_updateCommentThread'](_0x237ef7)),this['on']('updateCommentThread',(_0x10d88c,_0x1ac6f1)=>this['_updateActiveAnnotation'](_0x1ac6f1),{'priority':'lowest'}),this['on']('addComment',(_0x17d28b,_0x5a4c70)=>this['_addComment'](_0x5a4c70)),this['on']('updateComment',(_0x2427bd,_0x49aba0)=>this['_updateComment'](_0x49aba0)),this['on']('removeComment',(_0x3829dc,_0x4c12fc)=>this['_removeComment'](_0x4c12fc)),this['on']('addComment',(_0x20bfa8,{threadId:_0x2cb27f,isFromAdapter:_0x2bcd23})=>{if(_0x2bcd23)return;const _0xa4636c=this['getCommentThread'](_0x2cb27f),_0x3cc9e5=_0xa4636c&&this['_threadToController']['get'](_0xa4636c);_0x3cc9e5&&_0x3cc9e5['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x87e77e,'change:activeAnnotations',(_0x46fcb0,_0x3f3e17,_0x5f1acd)=>{const _0x560c0d=Array['from'](_0x5f1acd)['map'](_0x2d0011=>this['_viewToController']['get'](_0x2d0011['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x560c0d?_0x560c0d['model']:null;});}['afterInit'](){!function(_0x457dc1){function _0x44c44d(_0x3be0f0,_0x4804ec,_0x3c098b){const _0x7f3a7b={};_0x7f3a7b[_0x302288([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x7f3a7b[_0x302288([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],_0x7f3a7b[_0x302288([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],_0x7f3a7b[_0x302288([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],_0x7f3a7b[_0x302288([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],_0x7f3a7b[_0x302288([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],_0x7f3a7b[_0x302288([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],_0x7f3a7b[_0x302288([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],_0x7f3a7b[_0x302288([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],_0x7f3a7b[_0x302288([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],_0x7f3a7b[_0x302288([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 _0x30b498=new Uint8Array(0x10);for(let _0x103eac=0xf;_0x103eac>=0x0;--_0x103eac)_0x30b498[_0x103eac]=_0x3c098b%0x100,_0x3c098b=parseInt(_0x3c098b/0x100);let _0x18f6ec=null,_0x1049e4=0x10;const _0x397776=new Uint8Array(_0x4804ec),_0x1cac46=[],_0x46011c=[];_0x143249();for(let _0x32b084=0x0;_0x32b084<_0x3be0f0[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32b084++)0x10===_0x1049e4&&(_0x18f6ec=_0x2e9c3d(_0x30b498),_0x1049e4=0x0,_0x49fa91(_0x30b498)),_0x3be0f0[_0x32b084]^=_0x18f6ec[_0x1049e4++];return _0x3be0f0;function _0x16cbd4(_0x40da26){const _0xdb10f0=[];for(let _0x10e65b=0x0;_0x10e65b<_0x40da26[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10e65b+=0x4)_0xdb10f0[_0x302288([0x70,0x75,0x73,0x68])](_0x40da26[_0x10e65b]<<0x18|_0x40da26[_0x10e65b+0x1]<<0x10|_0x40da26[_0x10e65b+0x2]<<0x8|_0x40da26[_0x10e65b+0x3]);return _0xdb10f0;}function _0x49fa91(_0x150329){for(let _0x293446=0xf;_0x293446>=0x0;_0x293446--){if(0xff!==_0x150329[_0x293446]){_0x150329[_0x293446]++;break;}_0x150329[_0x293446]=0x0;}}function _0x2e9c3d(_0x1c58ee){const _0xfde23=_0x1cac46[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2f09ca=[0x0,0x0,0x0,0x0];let t=_0x16cbd4(_0x1c58ee);for(let _0x7f398b=0x0;_0x7f398b<0x4;_0x7f398b++)t[_0x7f398b]^=_0x1cac46[0x0][_0x7f398b];for(let _0x320a91=0x1;_0x320a91<_0xfde23;_0x320a91++){for(let _0x57d9b3=0x0;_0x57d9b3<0x4;_0x57d9b3++)_0x2f09ca[_0x57d9b3]=_0x7f3a7b[_0x302288([0x54,0x31])][t[_0x57d9b3]>>0x18&0xff]^_0x7f3a7b[_0x302288([0x54,0x32])][t[(_0x57d9b3+0x1)%0x4]>>0x10&0xff]^_0x7f3a7b[_0x302288([0x54,0x33])][t[(_0x57d9b3+0x2)%0x4]>>0x8&0xff]^_0x7f3a7b[_0x302288([0x54,0x34])][0xff&t[(_0x57d9b3+0x3)%0x4]]^_0x1cac46[_0x320a91][_0x57d9b3];t=_0x2f09ca[_0x302288([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4e7c54=new Uint8Array(0x10);let _0xb99e67;for(let _0x5f0674=0x0;_0x5f0674<0x4;_0x5f0674++)_0xb99e67=_0x1cac46[_0xfde23][_0x5f0674],_0x4e7c54[0x4*_0x5f0674]=0xff&(_0x7f3a7b[_0x302288([0x53])][t[_0x5f0674]>>0x18&0xff]^_0xb99e67>>0x18),_0x4e7c54[0x4*_0x5f0674+0x1]=0xff&(_0x7f3a7b[_0x302288([0x53])][t[(_0x5f0674+0x1)%0x4]>>0x10&0xff]^_0xb99e67>>0x10),_0x4e7c54[0x4*_0x5f0674+0x2]=0xff&(_0x7f3a7b[_0x302288([0x53])][t[(_0x5f0674+0x2)%0x4]>>0x8&0xff]^_0xb99e67>>0x8),_0x4e7c54[0x4*_0x5f0674+0x3]=0xff&(_0x7f3a7b[_0x302288([0x53])][0xff&t[(_0x5f0674+0x3)%0x4]]^_0xb99e67);return _0x4e7c54;}function _0x143249(){const _0x562854=_0x7f3a7b[_0x302288([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x397776[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x5cba6c=0x0;_0x5cba6c<=_0x562854;_0x5cba6c++)_0x1cac46[_0x302288([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x46011c[_0x302288([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1a47ba=0x4*(_0x562854+0x1),_0x464874=_0x397776[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2df982=_0x16cbd4(_0x397776);let _0x1adb32;for(let _0x1e6e33=0x0;_0x1e6e33<_0x464874;_0x1e6e33++)_0x1adb32=_0x1e6e33>>0x2,_0x1cac46[_0x1adb32][_0x1e6e33%0x4]=_0x2df982[_0x1e6e33],_0x46011c[_0x562854-_0x1adb32][_0x1e6e33%0x4]=_0x2df982[_0x1e6e33];let _0x31b251,_0x552faa=0x0,t=_0x464874;for(;t<_0x1a47ba;){_0x31b251=_0x2df982[_0x464874-0x1],_0x2df982[0x0]^=_0x7f3a7b[_0x302288([0x53])][_0x31b251>>0x10&0xff]<<0x18^_0x7f3a7b[_0x302288([0x53])][_0x31b251>>0x8&0xff]<<0x10^_0x7f3a7b[_0x302288([0x53])][0xff&_0x31b251]<<0x8^_0x7f3a7b[_0x302288([0x53])][_0x31b251>>0x18&0xff]^_0x7f3a7b[_0x302288([0x72,0x63,0x6f,0x6e])][_0x552faa]<<0x18,_0x552faa+=0x1;for(let _0x306102=0x1;_0x306102<_0x464874/0x2;_0x306102++)_0x2df982[_0x306102]^=_0x2df982[_0x306102-0x1];_0x31b251=_0x2df982[_0x464874/0x2-0x1],_0x2df982[_0x464874/0x2]^=_0x7f3a7b[_0x302288([0x53])][0xff&_0x31b251]^_0x7f3a7b[_0x302288([0x53])][_0x31b251>>0x8&0xff]<<0x8^_0x7f3a7b[_0x302288([0x53])][_0x31b251>>0x10&0xff]<<0x10^_0x7f3a7b[_0x302288([0x53])][_0x31b251>>0x18&0xff]<<0x18;for(let _0x1fac4c=_0x464874/0x2+0x1;_0x1fac4c<_0x464874;_0x1fac4c++)_0x2df982[_0x1fac4c]^=_0x2df982[_0x1fac4c-0x1];let _0xe2e3d9,_0x49ee73,_0x31bf34=0x0;for(;_0x31bf34<_0x464874&&t<_0x1a47ba;)_0xe2e3d9=t>>0x2,_0x49ee73=t%0x4,_0x1cac46[_0xe2e3d9][_0x49ee73]=_0x2df982[_0x31bf34],_0x46011c[_0x562854-_0xe2e3d9][_0x49ee73]=_0x2df982[_0x31bf34++],t++;}for(let _0x148bee=0x1;_0x148bee<_0x562854;_0x148bee++)for(let _0x256e12=0x0;_0x256e12<0x4;_0x256e12++)_0x31b251=_0x46011c[_0x148bee][_0x256e12],_0x46011c[_0x148bee][_0x256e12]=_0x7f3a7b[_0x302288([0x55,0x31])][_0x31b251>>0x18&0xff]^_0x7f3a7b[_0x302288([0x55,0x32])][_0x31b251>>0x10&0xff]^_0x7f3a7b[_0x302288([0x55,0x33])][_0x31b251>>0x8&0xff]^_0x7f3a7b[_0x302288([0x55,0x34])][0xff&_0x31b251];}}function _0x302288(_0x17b2b9){return _0x17b2b9['map'](_0x431f34=>String['fromCharCode'](_0x431f34))['join']('');}(_0x892a11=>{function _0x47e46d(){const _0x216bc5=[{[_0x302288([0x69,0x64])]:0x1,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x302288([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x302288([0x69,0x64])]:0x2,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([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]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x302288([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x302288([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x302288([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x302288([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x302288([0x69,0x64])]:0x3,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x302288([0x69,0x64])]:0x4,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([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]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x302288([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x302288([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x302288([0x69,0x64])]:0x5,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([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]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x66,0x67,0x69])]:[0xc]}},{[_0x302288([0x69,0x64])]:0x6,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x66,0x67,0x69])]:[0xc]}},{[_0x302288([0x69,0x64])]:0x7,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x66,0x67,0x69])]:[0xc]}},{[_0x302288([0x69,0x64])]:0x8,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([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]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x66,0x67,0x69])]:[0xc]}},{[_0x302288([0x69,0x64])]:0x9,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x302288([0x69,0x64])]:0xa,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([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]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([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]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([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]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x66,0x67,0x69])]:[0xc]}},{[_0x302288([0x69,0x64])]:0xb,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x302288([0x69,0x64])]:0xc,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x302288([0x69,0x64])]:0xd,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x66,0x67,0x69])]:[0xc]}},{[_0x302288([0x69,0x64])]:0xe,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x302288([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([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])},{[_0x302288([0x69,0x64])]:0xf,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x302288([0x69,0x64])]:0x10,[_0x302288([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x302288([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x302288([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x302288([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x302288([0x66,0x67,0x69])]:[0xc]}}];return _0x2283ce(_0x216bc5),_0x216bc5;function _0xe73f99(_0x52ef5d){return 0x1<<_0x52ef5d-0x1;}function _0x2283ce(_0xd71e0d){_0xd71e0d[_0x302288([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e8490=>{_0x4e8490[_0x302288([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xe73f99(_0x4e8490[_0x302288([0x69,0x64])]),_0x3f8a14(_0x4e8490)&&_0x4e8490[_0x302288([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2283ce(_0x4e8490[_0x302288([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3f8a14(_0x16130a){return _0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x16130a;}const _0x4cc7c2=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5dcb00=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4a7874(_0x540d62){const _0x5cf7d2=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1b3c89(_0x540d62,new Uint8Array([..._0x4cc7c2,..._0x5cf7d2,..._0x5dcb00]));}function _0x1b3c89(_0x58a993,_0x3ff477){const _0x43ac44=_0x49f74e(_0x58a993),_0x437e78=Array[_0x302288([0x66,0x72,0x6f,0x6d])](_0x832aab(_0x43ac44)),_0x1f6d4d=_0x437e78[_0x302288([0x70,0x6f,0x70])](),_0x55f1ec=_0x437e78[_0x302288([0x70,0x6f,0x70])]();return _0x226b0d(_0x44c44d(_0x437e78,_0x3ff477,_0x55f1ec+0x100*_0x1f6d4d));}function _0x49f74e(_0xe4d2b1){const _0x274326=atob(_0xe4d2b1),[_0x459470,_0x37078a]=_0x274326[_0x302288([0x73,0x70,0x6c,0x69,0x74])](_0x302288([0x2d]));try{if(atob(_0x37078a))return atob(_0x459470);}catch(_0x2fd519){}return _0x274326;}function _0x4e1156(_0x2126ba){try{const _0x135361=_0x4a7874(_0x2126ba),_0x41a929=JSON[_0x302288([0x70,0x61,0x72,0x73,0x65])](_0x135361),_0x37e371=parseInt(_0x41a929[_0x302288([0x31])]),_0x53063a=_0x41a929[_0x302288([0x32])]||'',_0x34de9a=parseInt(_0x41a929[_0x302288([0x33])]),_0x4f6b81=parseInt(_0x41a929[_0x302288([0x34])])||0x0,_0x58abd1=parseInt(_0x41a929[_0x302288([0x35])])||0x0;return{[_0x302288([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x53063a,[_0x302288([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4f6b81,[_0x302288([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x37e371,[_0x302288([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x34de9a,[_0x302288([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x58abd1};}catch(_0x269354){return null;}}const _0xd6156f=_0x47e46d(),_0x36a4a6={[_0x302288([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1d3280,[_0x302288([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])]:_0x1e305a,[_0x302288([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])]:_0x507faf},_0x17b58e=_0x892a11[_0x302288([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2ae5f8=_0x302288([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x892a11?_0x892a11['context']:_0x892a11['editor'],_0xa79d5=_0x302288([0x34,0x30,0x34,0x38,0x31,0x36,0x31,0x30]),_0x158f6e=_0x302288([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]),_0xd41b2d=_0x2ae5f8['config']['get'](_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x14b302=_0xd6156f[_0x302288([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f8a14)[_0x302288([0x66,0x69,0x6e,0x64])](_0x1dcb77=>_0x1dcb77[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x17b58e);function _0x447f85(_0x5eac83,_0x14ed5e){_0x36a4a6[_0x14ed5e[_0x302288([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5eac83,_0x14ed5e),_0x14ed5e[_0x302288([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x14ed5e[_0x302288([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x302288([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d12b5=>_0x528c2d(_0x2ae5f8,_0x1d12b5[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x302288([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x56fe7d=>_0x447f85(_0x5eac83,_0x56fe7d));}function _0x1d3280(_0x5566c6,_0x2bbf9a){_0x542b45(_0x4b257e(_0x5566c6,_0x2bbf9a),_0x2bbf9a);}function _0x1e305a(_0x1f5c67,_0x65ad44){function _0x1e8660(_0xade98a,_0x17da5a){try{if(_0x528c2d(_0x2ae5f8,_0x302288([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0xade98a){const _0x1e4663=_0x3dcbd1(_0x2ae5f8,_0x302288([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x302288([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1e4663)/0x2>_0xade98a[_0x302288([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x54b3cd(_0x17da5a[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4b257e(_0xade98a,_0x17da5a);}catch(_0x6682e9){return _0x54b3cd(_0x17da5a[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x542b45(_0x1e8660(_0x1f5c67,_0x65ad44),_0x65ad44);}function _0x507faf(_0x8f146a,_0xd25e04){const _0x211d5c=_0x5dcb00[0x0]*_0x4cc7c2[0x1],_0x144aa3=_0x5dcb00[0x0]*_0x4cc7c2[0x2],_0x378b58=_0x5dcb00[0x2]*_0x4cc7c2[0x2];_0x528c2d(_0x2ae5f8,_0x302288([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3dcbd1(_0x2ae5f8,_0x302288([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x302288([0x73,0x74,0x61,0x74,0x65])]==_0x302288([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5e0943()]=_0x378b58);function _0x44dee0(_0x56d20a,_0x2791dd){try{return _0x510f4a()?_0x54b3cd(_0x2791dd[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x56,0x61,0x6c,0x69,0x64])):_0x4b257e(_0x56d20a,_0x2791dd);}catch(_0x27752a){return _0x54b3cd(_0x2791dd[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xdc6490(_0x1fac6c,_0x46cef6){const _0xb0bfc2=0x7;if(_0x1fac6c==_0x46cef6[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x422478();else{if(_0x1fac6c==_0x46cef6[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x54,0x72,0x69,0x61,0x6c])){const _0x31dd4e=_0x549475();_0x31dd4e&&_0x25ac74(_0x31dd4e,_0x46cef6[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x1c2194=_0x4d0058();window[_0x302288([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x25ac74(_0x302288([0x74,0x69,0x6d,0x65]),_0x46cef6[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x1c2194);const _0x47bd7c=_0x3dcbd1(_0x2ae5f8,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x302288([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x47bd7c[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xb0bfc2?_0x25ac74(_0x302288([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x46cef6[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x47bd7c['on'](_0x302288([0x61,0x64,0x64]),()=>{_0x47bd7c[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xb0bfc2&&_0x25ac74(_0x302288([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x46cef6[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x549475(){if(!_0x528c2d(_0x2ae5f8,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1f3e5b in window)if(Number['isNaN'](Number(_0x1f3e5b))){if(window[_0x1f3e5b]===_0x211d5c)return _0x302288([0x74,0x69,0x6d,0x65]);if(window[_0x1f3e5b]===_0x144aa3)return _0x302288([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x510f4a(){if(!_0x528c2d(_0x2ae5f8,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x11b008 in window)if(Number['isNaN'](Number(_0x11b008))&&window[_0x11b008]===_0x378b58)return!0x0;return!0x1;}function _0x25ac74(_0x211236,_0x230147){_0x422478(),_0x54b3cd(_0x230147+_0x302288([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x211236),window[_0x5e0943()]=_0x211236===_0x302288([0x74,0x69,0x6d,0x65])?_0x211d5c:_0x144aa3;}function _0x4d0058(){let _0x2153c4=_0x5dcb00[0x6]*_0x4cc7c2[0x8]*_0x4cc7c2[0x6];return _0x528c2d(_0x2ae5f8,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2153c4/=0xa),_0x2153c4;}function _0x422478(){const _0x1e00bb=_0x2ae5f8;function _0x7531e8(){_0x528c2d(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x302288([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x302288([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x302288([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x302288([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xa49282,_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x302288([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xa49282,_0x1e00bb[_0x302288([0x6d,0x6f,0x64,0x65,0x6c])][_0x302288([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa49282,_0x1e00bb[_0x302288([0x6d,0x6f,0x64,0x65,0x6c])][_0x302288([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa49282,_0x1e00bb[_0x302288([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x302288([0x6d,0x6f,0x64,0x65,0x6c]))),_0x528c2d(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x302288([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x302288([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x302288([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x302288([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xa49282,_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x302288([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xa49282);}_0x1e00bb[_0x302288([0x73,0x74,0x61,0x74,0x65])]==_0x302288([0x72,0x65,0x61,0x64,0x79])?_0x7531e8():_0x1e00bb[_0x302288([0x6f,0x6e,0x63,0x65])](_0x302288([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x528c2d(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x7531e8(),_0x528c2d(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x36c1da=_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4a9657=_0x36c1da['getRevision'](0x0),_0x34b645=_0x36c1da['getEarlierVisibleRevision'](_0x4a9657[_0x302288([0x69,0x64])]);_0x3dcbd1(_0x1e00bb,_0x302288([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x302288([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4a9657[_0x302288([0x69,0x64])],_0x34b645?_0x34b645[_0x302288([0x69,0x64])]:null,0x1)['then'](()=>_0x7531e8());}});}_0xdc6490(_0x44dee0(_0x8f146a,_0xd25e04),_0xd25e04);}function _0x4b257e(_0x35a413,_0x18de4c){try{return _0xb956dc(_0x18de4c)?_0x54b3cd(_0x18de4c[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x56,0x61,0x6c,0x69,0x64])):_0x35a413&&_0x59c6bb(_0x35a413[_0x302288([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x18de4c)?_0x35a413[_0x302288([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x302288([0x6f,0x70,0x65,0x6e])][_0x302288([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xa79d5)/0x2>_0x35a413[_0x302288([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x54b3cd(_0x18de4c[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x35a413[_0x302288([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x54b3cd(_0x18de4c[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x54,0x72,0x69,0x61,0x6c])):_0x54b3cd(_0x18de4c[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x56,0x61,0x6c,0x69,0x64])):_0x54b3cd(_0x18de4c[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x25fdea){return _0x54b3cd(_0x18de4c[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x542b45(_0x3b2ab9,_0x4cd675){if(_0x2ae5f8 instanceof _0x23699f){const _0x877081=_0x2ae5f8;_0x3b2ab9==_0x4cd675[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1fa5b0(_0x877081):_0x3b2ab9==_0x4cd675[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x54,0x72,0x69,0x61,0x6c])&&window[_0x302288([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1fa5b0(_0x877081),_0x54b3cd(_0x4cd675[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5dcb00[0x6]*_0x4cc7c2[0x8]*_0x4cc7c2[0x6]),_0x877081[_0x302288([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x302288([0x6f,0x6e])](_0x302288([0x61,0x64,0x64]),(_0x141c61,_0x29f772)=>{_0x3b2ab9!=_0x4cd675[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3b2ab9!=_0x4cd675[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3b2ab9!=_0x4cd675[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x15613b(_0x29f772);});}else{const _0x100d16=_0x2ae5f8;_0x3b2ab9==_0x4cd675[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x15613b(_0x100d16):_0x3b2ab9==_0x4cd675[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x54,0x72,0x69,0x61,0x6c])&&_0x100d16[_0x302288([0x6f,0x6e])](_0x302288([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x6f1ab8=0x0;_0x100d16[_0x302288([0x6d,0x6f,0x64,0x65,0x6c])][_0x302288([0x6f,0x6e])](_0x302288([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x154633,_0x59d6d4)=>{_0x59d6d4[0x0][_0x302288([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6f1ab8++,0x1f8===_0x6f1ab8&&(_0x15613b(_0x100d16),_0x54b3cd(_0x4cd675[_0x302288([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x302288([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x154633[_0x302288([0x6f,0x66,0x66])]());},{'priority':_0x302288([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x54b3cd(_0x1f3424){const _0x4f1ac3=_0x5e0943();return _0x2ae5f8[_0x4f1ac3]=_0x1f3424,_0x1f3424;}function _0x5e0943(){const _0x1aa510=String(window[_0x302288([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x302288([0x6e,0x6f,0x77])]())[_0x302288([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x302288([0x2e]),'');let _0xa9a47c='';for(let _0x30aec1=0x0;_0x30aec1<_0x1aa510[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30aec1+=0x2){let _0xbfc4a2=parseInt(_0x1aa510[_0x302288([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30aec1,_0x30aec1+0x2));_0xbfc4a2>=_0x158f6e[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbfc4a2-=_0x158f6e[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa9a47c+=_0x158f6e[_0xbfc4a2];}return _0xa9a47c;}function _0x1fa5b0(_0x197080){for(const _0x33f5a1 of _0x197080[_0x302288([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x15613b(_0x33f5a1);_0x3dcbd1(_0x197080,_0x302288([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x302288([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3dcbd1(_0x197080,_0x302288([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x302288([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xa49282;}function _0x15613b(_0xc94a09){function _0x36768d(){_0xc94a09[_0x302288([0x6d,0x6f,0x64,0x65,0x6c])][_0x302288([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa49282,_0xc94a09[_0x302288([0x6d,0x6f,0x64,0x65,0x6c])][_0x302288([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa49282,_0xc94a09[_0x302288([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x302288([0x6d,0x6f,0x64,0x65,0x6c]));}_0xc94a09[_0x302288([0x73,0x74,0x61,0x74,0x65])]==_0x302288([0x72,0x65,0x61,0x64,0x79])?_0x36768d():_0xc94a09[_0x302288([0x6f,0x6e,0x63,0x65])](_0x302288([0x72,0x65,0x61,0x64,0x79]),()=>_0x36768d());}function _0xa49282(){return null;}function _0x59c6bb(_0x3ce69d,_0x404854){const _0x189e73=!!(_0x3ce69d&_0x404854[_0x302288([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x325eac=_0x170b30(_0x3ce69d,_0x404854);return _0x189e73||_0x325eac;}function _0x170b30(_0x13b019,_0x207a19){const _0x2d7407=(_0x207a19[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x302288([0x66,0x67,0x69])]||null;return!!_0x2d7407&&_0xd6156f[_0x302288([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d5b1a=>_0x2d7407[_0x302288([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d5b1a[_0x302288([0x69,0x64])]))[_0x302288([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cc656=>!_0x3e34e0(_0x3cc656))[_0x302288([0x73,0x6f,0x6d,0x65])](_0x1c3892=>!!(_0x13b019&_0x1c3892[_0x302288([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3e34e0(_0x45ae4f){const _0x5d5b52={[_0x302288([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])]:_0x1fdcc8};return!!_0x45ae4f['forbiddenHandler']&&_0x5d5b52[_0x45ae4f['forbiddenHandler']]();}function _0x1fdcc8(){return!window[_0x302288([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x528c2d(_0x2ae5f8,_0x302288([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xb956dc(_0x508be5){if(!_0x528c2d(_0x2ae5f8,_0x508be5[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xee2705=_0x508be5[_0x302288([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xa89c7d=_0xee2705[_0x302288([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3ee0e9=_0xee2705[_0x302288([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4e1867=_0xee2705[_0x302288([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x528c2d(_0x2ae5f8,_0x302288([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3dcbd1(_0x2ae5f8,_0x302288([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x302288([0x73,0x74,0x61,0x74,0x65])]==_0x302288([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xa89c7d)return!0x0;if(_0x528c2d(_0x2ae5f8,_0x302288([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3dcbd1(_0x2ae5f8,_0x302288([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x302288([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x302288([0x65,0x6e,0x64])&&_0x3ee0e9)return!0x0;return!(!_0x528c2d(_0x2ae5f8,_0x302288([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]))||_0x3dcbd1(_0x2ae5f8,_0x302288([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]))[_0x302288([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x302288([0x65,0x6e,0x64])||!_0x4e1867);}function _0x528c2d(_0xea1b3,_0x33a6fa){return _0xea1b3[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x302288([0x68,0x61,0x73])](_0x33a6fa);}function _0x3dcbd1(_0x518093,_0x3b5737){return _0x518093[_0x302288([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x302288([0x67,0x65,0x74])](_0x3b5737);}function _0x226b0d(_0xb06a25){let _0x33185a='';for(const _0x1f55ac of _0xb06a25)_0x33185a+=String[_0x302288([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1f55ac);return _0x33185a;}function _0x832aab(_0x498517){const _0xe70fd=new Uint8Array(_0x498517[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x28b99e=0x0;_0x28b99e<_0x498517[_0x302288([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28b99e++)_0xe70fd[_0x28b99e]=_0x498517[_0x302288([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x28b99e);return _0xe70fd;}_0x14b302&&_0x447f85(_0x4e1156(_0xd41b2d),_0x14b302);})(_0x457dc1);}(this);}set['adapter'](_0x381695){if(this['_adapter'])throw new _0x4d292c('commentsrepository-adapter-already-set');this['_adapter']=_0x381695;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x1ced48=vt,threadId:_0x16b848=_0x59a3ea(),comments:_0x1b60e7=[],unlinkedAt:_0x4ad1cd=null,resolvedAt:_0x50ebf6=null,resolvedBy:_0x2f414a=null,target:_0x2e3e46=null,context:_0x452b49=null,attributes:_0x5e4138={},isResolvable:_0x47e6ff=!0x0,isSubmitted:_0x4681eb=!0x1,isFromAdapter:_0x3d9e54=!0x1}={}){return this['fire'](Tt('addCommentThread',_0x1ced48),{'channelId':_0x1ced48,'threadId':_0x16b848,'comments':_0x1b60e7,'unlinkedAt':_0x4ad1cd,'resolvedAt':_0x50ebf6,'resolvedBy':_0x2f414a,'target':_0x2e3e46,'context':_0x452b49,'attributes':_0x5e4138,'isFromAdapter':_0x3d9e54,'isResolvable':_0x47e6ff,'isSubmitted':_0x4681eb}),this['getCommentThread'](_0x16b848);}['openNewCommentThread']({channelId:_0x257df7=vt,threadId:_0x3343b7=_0x59a3ea(),target:_0x23b67b,context:_0x48840a=null,isResolvable:_0x10a556=!0x0}){if(this['_readOnlyChannels']['has'](_0x257df7)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x23b67b)throw new _0x4d292c('commentsrepository-missing-target');const _0x40f1a4=this['addCommentThread']({'channelId':_0x257df7,'threadId':_0x3343b7,'target':_0x23b67b,'context':_0x48840a,'isResolvable':_0x10a556});if(!_0x40f1a4)return null;const _0x454a8f=this['_threadToController']['get'](_0x40f1a4),_0x4ec452=_0x454a8f['view']['commentThreadInputView']['commentInputView'],_0x3f26e2=this['context']['plugins']['get'](_),_0x4e6191=_0x3f26e2['getByInnerView'](_0x454a8f['view']);return _0x3f26e2['activate'](_0x4e6191),_0x4ec452['once']('editorReady',()=>_0x4ec452['focus']()),_0x40f1a4;}['hasCommentThread'](_0x278970){if('string'!=typeof _0x278970)throw new _0x4d292c('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x278970);}['updateCommentThread']({channelId:_0x2e196b=vt,threadId:_0x1487d1,context:_0x55957d,unlinkedAt:_0x566869,attributes:_0x273086,isFromAdapter:_0x529b18=!0x1}){return this['fire'](Tt('updateCommentThread',_0x2e196b),{'channelId':_0x2e196b,'threadId':_0x1487d1,'context':_0x55957d,'unlinkedAt':_0x566869,'attributes':_0x273086,'isFromAdapter':_0x529b18}),this['getCommentThread'](_0x1487d1);}['getCommentThread'](_0x2d3129){if('string'!=typeof _0x2d3129)throw new _0x4d292c('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x2d3129);}['fetchCommentThread']({channelId:_0x3d9f3e,threadId:_0x419739}={}){const _0x188b9c=this['getCommentThread'](_0x419739);if(_0x188b9c)return Promise['resolve'](_0x188b9c);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x4d292c('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x3d9f3e,'threadId':_0x419739})['then'](_0xc29b37=>this['hasCommentThread'](_0x419739)?this['getCommentThread'](_0x419739):_0xc29b37?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x3d9f3e},_0xc29b37)):void 0x0)['catch'](_0x39bc78=>{throw console['error'](_0x39bc78),new _0x4d292c('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x458660,skipNotAttached:_0x3df4a7=!0x1,skipEmpty:_0x25d446=!0x1,toJSON:_0x2b57e3=!0x1}={}){const _0x2bb756=[];for(const _0x4f6f8b of this['_threads']['values']())_0x458660&&_0x4f6f8b['channelId']!==_0x458660||_0x3df4a7&&!_0x4f6f8b['isAttached']||_0x25d446&&0x0===_0x4f6f8b['length']||_0x2bb756['push'](_0x4f6f8b);return _0x2b57e3?_0x2bb756['map'](_0x176d15=>_0x176d15['toJSON']()):_0x2bb756;}['setActiveCommentThread'](_0x28abfb){const _0x650277=this['context']['plugins']['get'](_);if(!_0x28abfb)return void(this['activeCommentThread']&&_0x650277['deactivateAll']());const _0x1fc596=this['getCommentThread'](_0x28abfb);if(!_0x1fc596)throw new _0x4d292c('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x28abfb});if(!this['_threadToController']['has'](_0x1fc596))throw new _0x4d292c('commentsrepository-active-not-attached',null,{'threadId':_0x28abfb});const _0x5abf7f=_0x650277['getByInnerView'](this['_threadToController']['get'](_0x1fc596)['view']);_0x650277['activate'](_0x5abf7f);}['switchReadOnly'](_0x5516d3,_0x505603){_0x5516d3?this['_readOnlyChannels']['add'](_0x505603):this['_readOnlyChannels']['delete'](_0x505603),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x26a545){return this['_readOnlyChannels']['has'](_0x26a545)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x1188a5,_0x3fd33f){return new yt(_0x1188a5,_0x3fd33f);}['setPermissions'](_0x689621,_0x4be4a6=vt){this['_permissions']['set'](_0x4be4a6,_0x689621),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x1d2f53=vt){return this['_permissions']['has'](_0x1d2f53)?this['_permissions']['get'](_0x1d2f53):gt;}['_addCommentThread']({channelId:_0x6cdd66,threadId:_0x4c3f58,comments:_0x31dc8d,unlinkedAt:_0x1a2dc2,resolvedAt:_0x3ffc95,resolvedBy:_0x2b3438,target:_0x4d1e13,context:_0x1b92d8,attributes:_0xaa16d,isFromAdapter:_0x506d52,isResolvable:_0x26e6a4,isSubmitted:_0x3b5a96}){if('string'!=typeof _0x4c3f58)throw new _0x4d292c('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x4c3f58});if(this['hasCommentThread'](_0x4c3f58))throw new _0x4d292c('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x4c3f58});const _0x55a975=new ee(this,{'channelId':_0x6cdd66,'id':_0x4c3f58,'context':_0x1b92d8,'attributes':_0xaa16d,'unlinkedAt':_0x1a2dc2,'resolvedAt':_0x3ffc95,'resolvedBy':_0x2b3438?this['context']['plugins']['get'](ut)['getUser'](_0x2b3438):null,'isResolvable':_0x26e6a4,'isSubmitted':_0x3b5a96||_0x506d52});this['_threads']['set'](_0x4c3f58,_0x55a975);for(const _0x31bd2b of _0x31dc8d)_0x55a975['_add'](this['_createNewComment']({'threadId':_0x4c3f58,..._0x31bd2b}));return _0x4d1e13&&_0x55a975['attachTo'](_0x4d1e13),_0x506d52||!_0x55a975['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x6cdd66,'threadId':_0x4c3f58});}['_submitCommentThread']({channelId:_0x19d826,threadId:_0x4b9c2d}){if(!this['hasCommentThread'](_0x4b9c2d))throw new _0x4d292c('commentsrepository-missing-comment-thread',this);const _0x454496=this['getCommentThread'](_0x4b9c2d);if(_0x454496['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x40beba,comments:_0x50ad93,resolvedAt:_0x407f42,resolvedBy:_0xf2c4f9,context:_0x309f40,attributes:_0x1c4723}=_0x454496,_0x19a104=this['context']['plugins']['get']('PendingActions'),_0x5b2d41=_0x19a104['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x19d826,'threadId':_0x40beba,'comments':_0x50ad93['map'](_0x33d34b=>_0x33d34b['toJSON']()),'resolvedAt':_0x407f42,'resolvedBy':_0xf2c4f9?_0xf2c4f9['id']:_0xf2c4f9,'context':_0x309f40,'attributes':_0x1c4723})['then'](({comments:_0x321453})=>{_0x19a104['remove'](_0x5b2d41);for(const _0x4d6f7b of _0x321453)this['_updateComment']({'channelId':_0x19d826,'threadId':_0x4b9c2d,'commentId':_0x4d6f7b['commentId'],'createdAt':_0x4d6f7b['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x42c9b8=>{throw console['error'](_0x42c9b8),new _0x4d292c('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x55b1c9,target:_0x42ba62}){const _0x3061d9=this['getCommentThread'](_0x55b1c9);if(!_0x3061d9)throw new _0x4d292c('commentsrepository-attach-missing-comment-thread',this);const _0x274b3c=this['context']['plugins']['get']('PendingActions'),_0x190fd1=this['context']['plugins']['get'](_),_0x5041bc=this['_createCommentThreadView'](_0x3061d9),_0x58fa20=new yt(_0x3061d9,_0x5041bc);let _0x281aba=null;_0x5041bc['on']('change:isDirty',(_0x1888d8,_0xf729c3,_0x99c77a)=>{_0x99c77a?_0x281aba=_0x274b3c['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x281aba&&(_0x274b3c['remove'](_0x281aba),_0x281aba=null);}),_0x5041bc['on']('escape',()=>{this['fire'](Tt('escapeThread',_0x3061d9['channelId']),{'threadId':_0x55b1c9,'channelId':_0x3061d9['channelId']});}),this['_threadToController']['set'](_0x3061d9,_0x58fa20),this['_viewToController']['set'](_0x5041bc,_0x58fa20);const _0x5427fd=new T(this['context']['locale'],_0x5041bc);_0x5427fd['bind']('length')['to'](_0x5041bc),_0x5427fd['bind']('isDirty')['to'](_0x5041bc,'isDirty',_0x5041bc,'length',(_0x2c1a68,_0x5c9018)=>_0x2c1a68||!_0x5c9018),_0x5427fd['bind']('isActive')['to'](_0x5041bc),_0x5427fd['type']='comment';const _0x4cf6c5=new d({'view':_0x5427fd,'target':_0x42ba62,'type':'comment','isVisible':!_0x3061d9['isResolved']});return this['_bindAnnotationToEditors'](_0x5041bc,_0x4cf6c5),_0x190fd1['add'](_0x4cf6c5),_0x4cf6c5;}['_bindAnnotationToEditors'](_0x6fbf05,_0x1e734e){this['listenTo'](_0x6fbf05,'editorReady',(_0x591cf2,_0x1d790e)=>{const _0x57a756=_0x1d790e['ui']['view']['body']['bodyCollectionContainer'];_0x1e734e['focusableElements']['add'](_0x57a756),this['context']instanceof _0x201838&&this['context']['ui']['focusTracker']['add'](_0x57a756);},{'priority':'highest'}),this['listenTo'](_0x6fbf05,'editorDestroyed',(_0x35c508,_0x5104e2)=>{const _0x10ca90=_0x5104e2['ui']['view']['body']['bodyCollectionContainer'];_0x1e734e['focusableElements']['has'](_0x10ca90)&&_0x1e734e['focusableElements']['remove'](_0x10ca90),this['context']instanceof _0x201838&&this['context']['ui']['focusTracker']['remove'](_0x10ca90);});}['_unbindEditors'](_0x245c7b){this['stopListening'](_0x245c7b,'editorReady'),this['stopListening'](_0x245c7b,'editorDestroyed');}['_createCommentThreadView'](_0x56f25f){const _0x229d86=this['context']['plugins']['get'](ut),{config:_0x3ebaf3,locale:_0x227c3c}=this['context'],_0x579c6d=dt(_0x3ebaf3['get']('locale'));return new(0x0,(_0x3ebaf3['get']('comments'))['CommentThreadView'])(_0x227c3c,_0x56f25f,_0x229d86['me'],{'editorConfig':{..._0x3ebaf3['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x3ebaf3['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x3ebaf3['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x3ebaf3['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x3ebaf3['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x579c6d,'CommentView':_0x3ebaf3['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x491d06,channelId:_0x589859,resolvedAt:_0x45bb5e,resolvedBy:_0x57fdde,isFromAdapter:_0x40b071}){if(!this['hasCommentThread'](_0x491d06))throw new _0x4d292c('commentsrepository-missing-comment-thread',null,{'threadId':_0x491d06});const _0x3f8d57=this['getCommentThread'](_0x491d06);if(_0x3f8d57['isResolved'])throw new _0x4d292c('commentsrepository-resolved-comment-thread',null,{'threadId':_0x491d06});const _0x184cce=this['context']['plugins']['get'](ut);if(_0x3f8d57['resolvedBy']=_0x184cce['getUser'](_0x57fdde),_0x3f8d57['resolvedAt']=_0x45bb5e,_0x40b071||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x28e6d1=this['context']['plugins']['get']('PendingActions'),_0x4490c0=_0x28e6d1['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x589859,'threadId':_0x491d06})['then'](({resolvedAt:_0x48470e,resolvedBy:_0x52ce08})=>{_0x28e6d1['remove'](_0x4490c0),_0x3f8d57['resolvedBy']['id']!==_0x52ce08&&(_0x3f8d57['resolvedBy']=_0x184cce['getUser'](_0x52ce08)),_0x3f8d57['resolvedAt']=_0x48470e;})['catch'](_0x11b39b=>{throw console['error'](_0x11b39b),new _0x4d292c('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0xc8f655,channelId:_0x206201,isFromAdapter:_0x21afc7}){if(!this['hasCommentThread'](_0xc8f655))throw new _0x4d292c('commentsrepository-missing-comment-thread',null,{'threadId':_0xc8f655});const _0x3202f1=this['getCommentThread'](_0xc8f655);if(!_0x3202f1['isResolved'])throw new _0x4d292c('commentsrepository-reopen-comment-thread',null,{'threadId':_0xc8f655});if(_0x3202f1['resolvedBy']=null,_0x3202f1['resolvedAt']=null,_0x21afc7||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x172a15=this['context']['plugins']['get']('PendingActions'),_0x22a6ce=_0x172a15['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x206201,'threadId':_0xc8f655})['then'](()=>_0x172a15['remove'](_0x22a6ce))['catch'](_0x8c2846=>{throw console['error'](_0x8c2846),new _0x4d292c('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0xeedceb,isFromAdapter:_0x4d0490}){const _0x902ec4=this['getCommentThread'](_0xeedceb);if(!_0x902ec4)throw new _0x4d292c('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0xeedceb),this['_threads']['delete'](_0xeedceb),!_0x902ec4['isSubmitted']||_0x4d0490||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x560d15=this['context']['plugins']['get']('PendingActions'),{channelId:_0xe0e2b9}=_0x902ec4,_0x2a7df2=_0x560d15['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0xe0e2b9,'threadId':_0xeedceb})['then'](()=>_0x560d15['remove'](_0x2a7df2))['catch'](_0x462705=>{throw console['error'](_0x462705),new _0x4d292c('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x5d9a60,unlinkedAt:_0x4ff763,context:_0x5702fb,attributes:_0x27d444,isFromAdapter:_0x1bc58a}){if('string'!=typeof _0x5d9a60)throw new _0x4d292c('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x5d9a60});if(!this['hasCommentThread'](_0x5d9a60))throw new _0x4d292c('commentsrepository-missing-comment-thread',null,{'threadId':_0x5d9a60});const _0x232b6d=this['getCommentThread'](_0x5d9a60);let _0x3d8edb=!0x1;if(void 0x0!==_0x5702fb&&_0x232b6d['context']!==_0x5702fb&&(_0x232b6d['context']=_0x5702fb,_0x3d8edb=!0x0),void 0x0!==_0x4ff763&&_0x232b6d['unlinkedAt']!==_0x4ff763&&(_0x232b6d['unlinkedAt']=_0x4ff763,_0x3d8edb=!0x0),_0x27d444&&!pt(_0x27d444,_0x232b6d['attributes'])&&(_0x232b6d['attributes']=_0x27d444,_0x3d8edb=!0x0),!_0x3d8edb)return Promise['resolve']();if(!_0x232b6d['isSubmitted']||_0x1bc58a||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x4bd3c1=this['context']['plugins']['get']('PendingActions'),{channelId:_0xfe662d}=_0x232b6d,_0x1edd3a=_0x4bd3c1['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0xfe662d,'threadId':_0x5d9a60,'context':_0x5702fb,'unlinkedAt':_0x4ff763,'attributes':_0x27d444})['then'](()=>_0x4bd3c1['remove'](_0x1edd3a))['catch'](_0x479938=>{throw console['error'](_0x479938),new _0x4d292c('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x50c153){const _0x421fa1=this['context']['plugins']['get'](_),_0x252dbf=this['getCommentThread'](_0x50c153);if(this['_threadToController']['has'](_0x252dbf)){const _0x154e67=this['_threadToController']['get'](_0x252dbf),_0x14c44d=_0x154e67['view'],_0x9c742a=_0x421fa1['getByInnerView'](_0x14c44d);this['_threadToController']['delete'](_0x252dbf),this['_viewToController']['delete'](_0x14c44d),_0x9c742a&&_0x421fa1['remove'](_0x9c742a),_0x154e67['destroy'](),_0x14c44d['destroy']()['then'](()=>{this['_unbindEditors'](_0x14c44d);});}}['_updateActiveAnnotation']({threadId:_0x17874e,resolvedAt:_0x4f55b2}){const _0x447456=!!_0x4f55b2,_0x3df41f=this['context']['plugins']['get'](_),_0x42d310=this['getCommentThread'](_0x17874e);if(this['_threadToController']['has'](_0x42d310)){const _0x4027ad=this['_threadToController']['get'](_0x42d310)['view'],_0x579d1c=_0x3df41f['getByInnerView'](_0x4027ad);_0x579d1c&&(_0x447456&&_0x3df41f['_removeActiveAnnotation'](_0x579d1c),_0x579d1c['refreshVisibility']());}}['_getExternalAuthor'](_0x4322d4){const _0x134100=this['context']['plugins']['get'](ut),_0x57e882=lt('external:'+_0x4322d4),_0x1fe52e=_0x134100['getUser'](_0x57e882);return _0x1fe52e||_0x134100['addUser']({'id':_0x57e882,'name':_0x4322d4});}['_createNewComment']({threadId:_0x28d90b,commentId:_0x1d1f71=_0x59a3ea(),content:_0x7b9b78,authorId:_0x774b09,createdAt:_0x2998f8,attributes:_0xf1dae4}){if('string'!=typeof _0x1d1f71)throw new _0x4d292c('commentsrepository-invalid-commentid');if('string'!=typeof _0x774b09)throw new _0x4d292c('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x7b9b78||!_0x7b9b78['trim']())throw new _0x4d292c('commentsrepository-invalid-comment-content');const _0x16c1ee=this['context']['plugins']['get'](ut)['getUser'](_0x774b09);if(!_0x16c1ee)throw new _0x4d292c('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x774b09});let _0x42782d=null,_0x499e55=_0x2998f8;return _0xf1dae4&&_0xf1dae4['@external']&&(_0x42782d=this['_getExternalAuthor'](_0xf1dae4['@external']['authorName']),_0x499e55=new Date(_0xf1dae4['@external']['createdAt'])),new se(this,{'threadId':_0x28d90b,'id':_0x1d1f71,'author':_0x42782d||_0x16c1ee,'creator':_0x16c1ee,'content':_0x7b9b78,'createdAt':_0x2998f8,'authoredAt':_0x499e55,'attributes':_0xf1dae4});}['_addComment'](_0x447251){let {threadId:_0x24495d,content:_0x43e287,attributes:_0x132930,isFromAdapter:_0x2b859d}=_0x447251;const _0x4e20ce=this['getCommentThread'](_0x447251['threadId']);if(!_0x4e20ce)throw new _0x4d292c('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x30c722=this['_createNewComment'](_0x447251),{id:_0x1d9f49}=_0x30c722;if(_0x4e20ce['_add'](_0x30c722),_0x2b859d||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x4e20ce['isSubmitted'])return Promise['resolve']();const _0x2ee8a7=this['context']['plugins']['get']('PendingActions'),{channelId:_0x25c9b3}=_0x4e20ce,_0x30923f=_0x2ee8a7['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x132930||(_0x132930={}),this['adapter']['addComment']({'channelId':_0x25c9b3,'threadId':_0x24495d,'commentId':_0x1d9f49,'content':_0x43e287,'attributes':_0x132930})['then'](_0x18be64=>{_0x2ee8a7['remove'](_0x30923f),_0x18be64&&this['_updateComment']({'channelId':_0x25c9b3,'threadId':_0x24495d,'commentId':_0x1d9f49,'createdAt':_0x18be64['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x4ab225=>{throw console['error'](_0x4ab225),new _0x4d292c('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x5ed8c7,commentId:_0x22387a,content:_0x325062,createdAt:_0x53de52,attributes:_0x2cb211,isFromAdapter:_0x38ccab}){if(void 0x0!==_0x325062&&('string'!=typeof _0x325062||!_0x325062['trim']()['length']))throw new _0x4d292c('commentsrepository-update-comment-invalid-content');const _0x3998a1=this['getCommentThread'](_0x5ed8c7),_0x1f9ddc=_0x3998a1['getComment'](_0x22387a);if(!_0x1f9ddc)throw new _0x4d292c('commentsrepository-update-missing-comment',this);let _0x31ff8b=!0x1;if(_0x325062&&_0x325062!==_0x1f9ddc['content']&&(_0x1f9ddc['isEditable']||_0x38ccab)&&(_0x1f9ddc['content']=_0x325062,_0x31ff8b=!0x0),_0x53de52&&_0x53de52!==_0x1f9ddc['createdAt']&&(_0x1f9ddc['createdAt']=_0x53de52,_0x1f9ddc['attributes']&&_0x1f9ddc['attributes']['@external']||(_0x1f9ddc['authoredAt']=_0x53de52),_0x31ff8b=!0x0),_0x2cb211&&!pt(_0x2cb211,_0x1f9ddc['attributes'])&&(_0x1f9ddc['attributes']=_0x2cb211,_0x31ff8b=!0x0),!_0x31ff8b)return Promise['resolve']();if(_0x3998a1['fire']('commentUpdated'),_0x38ccab||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x34f820=this['context']['plugins']['get']('PendingActions'),{channelId:_0x418d30}=this['getCommentThread'](_0x1f9ddc['threadId']),_0xdfda24=_0x34f820['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x418d30,'threadId':_0x5ed8c7,'commentId':_0x22387a,'content':_0x325062,'attributes':_0x2cb211})['then'](()=>_0x34f820['remove'](_0xdfda24))['catch'](_0x2128f0=>{throw console['error'](_0x2128f0),new _0x4d292c('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x177261,commentId:_0x5bfa28,isFromAdapter:_0x444958}){const _0x157fd1=this['getCommentThread'](_0x177261),_0x54c3b4=_0x157fd1['getComment'](_0x5bfa28);if(!_0x54c3b4)throw new _0x4d292c('commentsrepository-remove-missing-comment',this);if(_0x157fd1['_remove'](_0x54c3b4),_0x444958||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x4b62c9=this['context']['plugins']['get']('PendingActions'),{channelId:_0x3c2127}=_0x157fd1,_0x4b7cf5=_0x4b62c9['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x3c2127,'threadId':_0x177261,'commentId':_0x5bfa28})['then'](()=>_0x4b62c9['remove'](_0x4b7cf5))['catch'](_0xf09772=>{throw console['error'](_0xf09772),new _0x4d292c('commentsrepository-remove-comment-internal-error',this);});}}class ee extends/* #__PURE__ -- @preserve */
|
|
30
|
-
|
|
31
|
-
_0x580253(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x1fae06,_0x3bda67){super();const _0x5aaed0=_0x1fae06['context']['plugins']['get'](ut)['me'],_0x556ca0=_0x1fae06['getCommentThread'](_0x3bda67['threadId']),_0x403f4a=0x0===_0x556ca0['comments']['length'],_0x4b62d1=_0x5aaed0===_0x3bda67['author'];this['id']=_0x3bda67['id'],this['threadId']=_0x3bda67['threadId'],this['author']=_0x3bda67['author'],this['creator']=_0x3bda67['creator'],this['isExternal']=Boolean(_0x3bda67['attributes']&&_0x3bda67['attributes']['@external']),this['set']('content',_0x3bda67['content']),this['createdAt']=_0x3bda67['createdAt']||new Date(),this['set']('authoredAt',_0x3bda67['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x556ca0,'resolvedAt'),this['set']('attributes',_0x3bda67['attributes']||{}),this['bind']('isEditable')['to'](_0x1fae06,'_permissions',()=>{const _0x466389=_0x1fae06['getPermissions'](_0x556ca0['channelId'])['write'],_0x498c03=_0x1fae06['getPermissions'](_0x556ca0['channelId'])['modifyAll'];return _0x4b62d1&&_0x466389||!_0x4b62d1&&_0x498c03;}),this['bind']('isRemovable')['to'](_0x556ca0,'isRemovable',_0x1fae06,'_permissions',_0x5ccd9f=>{const _0x7e2573=_0x1fae06['getPermissions'](_0x556ca0['channelId'])['write'],_0x21d406=_0x1fae06['getPermissions'](_0x556ca0['channelId'])['modifyAll'];return _0x4b62d1&&_0x7e2573||_0x5ccd9f&&_0x403f4a||!_0x4b62d1&&_0x21d406&&!_0x403f4a;}),this['bind']('isReadOnly')['to'](_0x556ca0,'isReadOnly'),this['_repository']=_0x1fae06;}get['weight'](){return Math['max'](function(_0x116968){const _0xa9a25=document['createElement']('div');return _0xa9a25['innerHTML']=_0x116968,_0xa9a25['textContent']['length'];}(this['content']),0xc8);}['update'](_0x600dce){const {threadId:_0x23ec51,id:_0x4b6b56}=this;if(!this['_repository']['hasCommentThread'](_0x23ec51))throw new _0x4d292c('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x14f342}=this['_repository']['getCommentThread'](_0x23ec51);this['_repository']['fire'](Tt('updateComment',_0x14f342,_0x23ec51),{'channelId':_0x14f342,'threadId':_0x23ec51,'commentId':_0x4b6b56,..._0x600dce});}['setAttribute'](_0x5a75a1,_0xb008f6){const _0x50b26c=ft(this['attributes']);It(_0x50b26c,_0x5a75a1,_0xb008f6),this['update']({'attributes':_0x50b26c});}['removeAttribute'](_0x7a51e4){const _0x32d6f7=ft(this['attributes']);wt(_0x32d6f7,_0x7a51e4),this['update']({'attributes':_0x32d6f7});}['remove'](_0x3ecef0={}){if(!_0x3ecef0['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x3d064f,id:_0x31697a}=this;if(!this['_repository']['hasCommentThread'](_0x3d064f))throw new _0x4d292c('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x364e14}=this['_repository']['getCommentThread'](_0x3d064f);this['_repository']['fire'](Tt('removeComment',_0x364e14,_0x3d064f),{'channelId':_0x364e14,'threadId':_0x3d064f,'commentId':_0x31697a,..._0x3ecef0});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function Tt(_0x271545,..._0x3b6bac){for(const _0xdb7969 of _0x3b6bac)void 0x0!==_0xdb7969&&(_0x271545+=':'+String(_0xdb7969));return _0x271545;}class J extends _0xbd32aa{['refresh'](){const _0x392442=this['editor']['model']['document']['selection'];for(const _0x15168d of _0x392442['getRanges']())if(this['_hasContent'](_0x15168d))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['execute']({threadId:_0x41f5fb=_0x59a3ea()}={}){const _0x5327b8=this['editor']['model'],_0x971c24=[];for(const _0x4712e0 of _0x5327b8['document']['selection']['getRanges']())this['_hasContent'](_0x4712e0)&&_0x971c24['push'](this['_trimToContent'](_0x4712e0));_0x5327b8['change'](_0x137267=>{for(const _0x41237a of _0x971c24){const _0x291cb6=_0x59a3ea()['substr'](0x1,0x5),_0x5837ef='comment:'+_0x41f5fb+':'+_0x291cb6;_0x137267['addMarker'](_0x5837ef,{'range':_0x41237a,'usingOperation':!0x1,'affectsData':!0x1});}});}['_hasContent'](_0x578694){for(const _0x51eca2 of _0x578694['getItems']())if(this['_itemIsContent'](_0x51eca2))return!0x0;return!0x1;}['_itemIsContent'](_0x68440b){return _0x68440b['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x68440b)&&!_0x68440b['is']('element','tableCell');}['_trimToContent'](_0x2112a8){const _0x284607=_0xcc39d2=>!this['_itemIsContent'](_0xcc39d2['item']),_0x3198ca=_0x2112a8['start']['getLastMatchingPosition'](_0x284607),_0x422599=_0x2112a8['end']['getLastMatchingPosition'](_0x284607,{'direction':'backward'});return this['editor']['model']['createRange'](_0x3198ca,_0x422599);}}class b extends _0x398930{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[_];}static get['pluginName'](){return'EditorAnnotations';}constructor(_0x1570a3){super(_0x1570a3),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x5288e6=this['editor'],_0x34adbf=_0x5288e6['model']['document']['selection'],_0x5a12fc=_0x145e4b(()=>this['refreshSelectedViews'](),0xa);_0x34adbf['on']('change:range',(_0x50e3ff,_0x186086)=>{_0x186086['directChange']&&(_0x5a12fc['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x5288e6['editing']['view']['document'],'change:isFocused',(_0x1beab8,_0x41d8e1,_0x1860fb)=>{_0x1860fb&&_0x5a12fc();}),this['listenTo'](_0x5288e6['ui']['focusTracker'],'change:isFocused',(_0x5297c8,_0x328e5d,_0x217f18)=>{_0x217f18||_0x5288e6['isReadOnly']||this['fire']('blur',{'isAnnotationTracked':_0xf0f6a=>this['_editorAnnotationsData']['has'](_0xf0f6a['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x1346c1){if(this['_editorAnnotations']['has'](_0x1346c1['view']))return;this['_editorAnnotations']['add'](_0x1346c1['view']),this['editor']['ui']['focusTracker']['add'](_0x1346c1['view']['element']);const _0x1ae15b=this['editor']['plugins']['get'](_);this['listenTo'](_0x1ae15b['collection'],'remove',(_0x5b2e97,_0x4724e1)=>{this['editor']['ui']['focusTracker']['remove'](_0x4724e1['view']['element']),this['_editorAnnotations']['delete'](_0x4724e1['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x21d823){if('function'!=typeof _0x21d823)throw new _0x4d292c('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x21d823);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x33d8e8,annotations:_0x214f6c}){const _0x44b842=[],_0x314075=this['editor']['model']['document']['selection'],_0x3d0fcd=Array['from'](_0x314075['getRanges']());for(const [_0x67ffd7,_0x470e8d]of this['_editorAnnotationsData']){const _0x41b4d2=_0x1a7cc7(_0x470e8d),_0x1c3c31=_0x214f6c['getByInnerView'](_0x67ffd7);_0x41b4d2&&_0x1c3c31&&_0x44b842['push']({'annotation':_0x1c3c31,'range':_0x41b4d2});}function _0x1a7cc7(_0x28f2b2){for(const _0x5f0d56 of _0x28f2b2)for(const _0x7be88f of _0x3d0fcd)if(_0x5f0d56['containsRange'](_0x7be88f,!_0x314075['isCollapsed']))return _0x5f0d56;return null;}return _0x44b842['sort']((_0x44682b,_0x1f8885)=>{const _0x478e11=_0x44682b['range'],_0x1e0c17=_0x1f8885['range'];if(!_0x478e11['isEqual'](_0x1e0c17)){if(_0x478e11['containsRange'](_0x1e0c17,!0x0))return 0x1;if(_0x1e0c17['containsRange'](_0x478e11,!0x0))return-0x1;}return _0x44682b['annotation']==_0x33d8e8?-0x1:_0x1f8885['annotation']==_0x33d8e8?0x1:0x0;})['map'](_0x491cda=>_0x491cda['annotation']);}get['_editorAnnotationsData'](){const _0x5a77be=new Map();for(const _0x56eb8d of Array['from'](this['_dataCollectors']))for(const [_0x4d8c58,_0x4ca6ff]of _0x56eb8d())_0x5a77be['set'](_0x4d8c58,_0x4ca6ff);return _0x5a77be;}}class nt extends _0x398930{['afterInit'](){const _0x31dec9=this['editor'];if(!_0x31dec9['plugins']['has']('RestrictedEditingModeEditing'))return;_0x31dec9['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class it extends _0x398930{constructor(_0x2cf232){super(_0x2cf232),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x2263bd=this['editor'],_0x1d75f5=_0x2263bd['commands']['get']('importWord'),_0x458faf=_0x2263bd['plugins']['get'](ut);_0x1d75f5&&(_0x1d75f5['on']('execute',(_0x3defc3,[,_0x56a354])=>{_0x56a354['collaboration_features']={'comments':!0x0,'user_id':_0x458faf['me']['id']};},{'priority':Wt['high']+0xa}),this['listenTo'](_0x1d75f5,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x6e4c2e,_0x411d10){const {comment_threads:_0x266806}=_0x411d10;_0x266806&&_0x266806['forEach'](({thread_id:_0x5bfd25,comments:_0x44fc1c,is_resolved:_0x52a9b9})=>{const _0x518b2c=new Date(),_0x555d17=_0x44fc1c['map'](({author:_0x1b294a,content:_0x36dd30,created_at:_0xef14f8})=>({'content':_0x36dd30,'authorId':this['editor']['plugins']['get'](ut)['me']['id'],'createdAt':_0x518b2c,'attributes':{'@external':{'authorName':_0x1b294a,'createdAt':_0xef14f8?new Date(_0xef14f8):new Date(),'source':'importWord'}}})),_0x45b705=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](m)['addCommentThread']({'channelId':_0x45b705,'threadId':_0x5bfd25,'comments':_0x555d17,'resolvedAt':_0x52a9b9?_0x518b2c:null});});}}class st extends _0x398930{constructor(_0x38c5ee){super(_0x38c5ee),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[Mt,Pt];}['afterInit'](){const _0x6b6474=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x6b6474,'contentInsertion',(_0x51439b,_0x1597ed)=>this['_removeMarkersWithoutThreads'](_0x1597ed['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x22cd6e){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x22cd6e;const _0x56df68=this['editor']['plugins']['get']('CommentsRepository');for(const _0x21ceb8 of _0x22cd6e['keys']()){const [_0x19b4d7,_0x3270c5]=_0x21ceb8['split'](':');'comment'!=_0x19b4d7||_0x56df68['hasCommentThread'](_0x3270c5)||_0x22cd6e['delete'](_0x21ceb8);}return _0x22cd6e;}['_registerMarkerInClipboardPipeline'](){const _0x1709a=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0xcb211d=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0xcb211d&&_0x1709a['_registerMarkerToCopy']('comment',_0xcb211d);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x56e647){switch(_0x56e647){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 _0x398930{static get['requires'](){return[m,b,nt,it,st];}static get['pluginName'](){return'CommentsEditing';}constructor(_0x1b2f19){super(_0x1b2f19),this['set']('isThreadsLoadingPaused',!0x0),_0x1b2f19['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x62ee0a,_0x36477e,_0x3195fb,_0x57a0ec)=>{const _0x2d9d52=_0x3195fb?jt(_0x3195fb)['id']:null;if(_0x1b2f19['model']['change'](()=>{if(_0x2d9d52){const _0x1eaed2=this['getAllMarkersForId'](_0x2d9d52);for(const _0x3c42b5 of _0x1eaed2)_0x1b2f19['editing']['reconvertMarker'](_0x3c42b5);}if(_0x57a0ec){const {id:_0xdcde34}=jt(_0x57a0ec),_0x5161ef=this['getAllMarkersForId'](_0xdcde34);for(const _0x50d935 of _0x5161ef)_0x1b2f19['editing']['reconvertMarker'](_0x50d935);}}),_0x2d9d52){const _0x21e1f3=_0x1b2f19['plugins']['get'](m)['getCommentThread'](_0x2d9d52);_0x21e1f3&&_0x21e1f3['isResolved']&&this['scrollToThreadMarker'](_0x2d9d52);}}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x206cf0=this['editor'],_0x1d58ec=_0x206cf0['plugins']['get'](m),_0x7f848e=_0x206cf0['config']['get']('collaboration.channelId');_0x206cf0['commands']['add']('addCommentThread',new J(_0x206cf0)),this['listenTo'](_0x206cf0,'change:isReadOnly',(_0x976d51,_0x25e7fa,_0x1a9170)=>{_0x1d58ec['switchReadOnly'](_0x1a9170,_0x206cf0['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x1d58ec,at('addCommentThread',_0x7f848e),(_0x3ddc33,{threadId:_0x4e922f})=>{const _0xd54ccb=this['editor']['plugins']['get'](m)['getCommentThread'](_0x4e922f);_0xd54ccb&&_0xd54ccb['unlinkedAt']&&this['_attachArchivedThread'](_0x4e922f);}),this['listenTo'](_0x1d58ec,at('removeCommentThread',_0x7f848e),(_0x446171,{threadId:_0xb88214})=>{_0x206cf0['model']['enqueueChange']({'isUndoable':!0x1},_0x4efab6=>{const _0x38f4e1=this['getAllMarkersForId'](_0xb88214);for(const _0x2277ee of _0x38f4e1)_0x4efab6['removeMarker'](_0x2277ee);});}),this['listenTo'](_0x1d58ec,at('resolveCommentThread',_0x7f848e),(_0xb0f710,{threadId:_0x5e51e0})=>{(this['_reconvertMarkers'](_0x5e51e0),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](m)['getCommentThread'](_0x5e51e0)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x1d58ec,at('reopenCommentThread',_0x7f848e),(_0x46682c,{threadId:_0xdb2ab4})=>{this['_reconvertMarkers'](_0xdb2ab4);},{'priority':'low'}),this['listenTo'](_0x1d58ec,at('addComment',_0x7f848e),(_0xd3affe,{threadId:_0x2d29d0,isFromAdapter:_0x1de3c1})=>{const _0x5d7782=this['getAllMarkersForId'](_0x2d29d0);if(_0x1de3c1||0x0==_0x5d7782['length']||!_0x1d58ec['hasCommentThread'](_0x2d29d0))return;0x1===_0x1d58ec['getCommentThread'](_0x2d29d0)['length']&&_0x206cf0['model']['enqueueChange']({'isUndoable':!0x1},_0x4cb5c1=>{for(const _0xd8ecdd of _0x5d7782)_0x4cb5c1['updateMarker'](_0xd8ecdd,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove']();}['destroy'](){const _0x423159=this['editor']['plugins']['get'](m),_0x264a1a=this['editor']['config']['get']('collaboration.channelId');for(const _0x147508 of _0x423159['getCommentThreads']({'channelId':_0x264a1a}))_0x423159['_detachCommentThread'](_0x147508['id']),_0x423159['_threads']['delete'](_0x147508['id']);super['destroy']();}['hasMarkerForId'](_0x22a666){return this['getAllMarkersForId'](_0x22a666)['length']>0x0;}['getAllMarkersForId'](_0x556b13){const _0x431bb8=[];for(const _0x3e5dc8 of this['editor']['model']['markers'])_0x3e5dc8['name']['startsWith']('comment:'+_0x556b13)&&_0x431bb8['push'](_0x3e5dc8);return _0x431bb8;}['scrollToThreadMarker'](_0xce3f6e){const _0x112b90=this['_getTargetForId'](_0xce3f6e);_0x112b90&&setTimeout(()=>{this['activeMarker']&&jt(this['activeMarker'])['id']===_0xce3f6e&&tt({'target':_0x112b90[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x2d5215){this['editor']['model']['change'](()=>{for(const _0x2b690d of this['getAllMarkersForId'](_0x2d5215))this['editor']['editing']['reconvertMarker'](_0x2b690d);});}['_attachArchivedThread'](_0x31748c){const _0x283447=this['editor']['plugins']['get'](m),_0x408111=this['editor']['plugins']['get'](b),_0x25c535=_0x283447['getCommentThread'](_0x31748c);if(!_0x25c535['isAttached']){const _0x3ae543=_0x25c535['attachTo'](()=>this['_getTargetForId'](_0x25c535['id']));_0x408111['registerAnnotation'](_0x3ae543),_0x25c535['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x3d5e72=this['editor'];_0x3d5e72['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x4805fc,_0x4e9a78)=>{const {id:_0x34347c}=jt(_0x4805fc['markerName']),_0xd77a25=_0x3d5e72['plugins']['get'](m)['getCommentThread'](_0x34347c),_0x39b97f=this['activeMarker']&&jt(this['activeMarker'])['id']===_0x34347c;if(_0xd77a25&&_0xd77a25['isResolved']&&!_0x39b97f&&_0x4805fc['item'])return _0x4e9a78['consumable']['consume'](_0x4805fc['item'],'addMarker:'+_0x4805fc['markerName']),_0x4e9a78['consumable']['consume'](_0x4805fc['item'],'removeMarker:'+_0x4805fc['markerName']),null;const _0x5c80f9=['ck-comment-marker'];return _0x39b97f&&_0x5c80f9['push']('ck-comment-marker--active'),{'classes':_0x5c80f9,'attributes':{'data-comment':_0x34347c}};}}),_0x3d5e72['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0xbe9307,{options:_0x29433c})=>{const _0x50c38f=_0x3d5e72['plugins']['get'](m),_0x523610=_0x3d5e72['model']['markers']['get'](_0xbe9307),{id:_0x36355a,part:_0x30dac4}=jt(_0xbe9307);if(_0x523610&&!_0x523610['affectsData'])return null;if(_0x29433c['ignoreResolvedComments']){const _0x861544=_0x50c38f['getCommentThread'](_0x36355a);if(_0x861544&&_0x861544['isResolved'])return null;}return{'group':'comment','name':_0x30dac4?_0x36355a+':'+_0x30dac4:_0x36355a};}}),_0x3d5e72['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x3ef82c,{writer:_0x44f582})=>_0x44f582['createElement']('$marker',{'data-name':'comment:'+_0x3ef82c['getAttribute']('id')})}),_0x3d5e72['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x2a6a58=this['editor'],_0x33986e=_0x2a6a58['plugins']['get'](m),_0x1ea9e8=new Set(),_0x1c8033=new Set();_0x2a6a58['model']['document']['registerPostFixer'](_0x286bb6=>{let _0x4becec=!0x1;for(const {name:_0x7b6e40,data:_0x439496}of _0x2a6a58['model']['document']['differ']['getChangedMarkers']()){const {group:_0x4ae86b,id:_0x48c61c}=jt(_0x7b6e40);let _0x4e961a=_0x439496['newRange'];if('comment'!==_0x4ae86b||!_0x4e961a)continue;const _0x969b48='$graveyard'===_0x4e961a['root']['rootName'];_0x969b48||(_0x4e961a=ct(_0x4e961a,_0x2a6a58['model']),!_0x4e961a||_0x4e961a['isCollapsed']||!_0x439496['newRange']||_0x4e961a['isEqual'](_0x439496['newRange']))?_0x2a6a58['model']['hasContent'](_0x4e961a)&&!_0x969b48?this['isThreadsLoadingPaused']?_0x1ea9e8['add'](_0x7b6e40):this['_handleThreadMarker'](_0x7b6e40,_0x48c61c):(_0x1c8033['add'](_0x7b6e40),_0x1ea9e8['delete'](_0x7b6e40),_0x286bb6['removeMarker'](_0x7b6e40),_0x4becec=!0x0):(_0x286bb6['updateMarker'](_0x7b6e40,{'range':_0x4e961a}),_0x4becec=!0x0);}return _0x4becec;}),this['on']('change:isThreadsLoadingPaused',(_0x490f39,_0x37a5bb,_0xff7574)=>{if(!_0xff7574&&_0x1ea9e8['size'])for(const _0x321b81 of _0x1ea9e8){const {id:_0x24a5b2}=jt(_0x321b81);_0x1ea9e8['delete'](_0x321b81),_0x2a6a58['model']['markers']['get'](_0x321b81)&&this['_handleThreadMarker'](_0x321b81,_0x24a5b2);}}),this['listenTo'](_0x2a6a58['model']['document'],'change',(_0x258cca,_0x3bdd84)=>{for(const {name:_0x5cb03f,data:{newRange:_0x11fb3a}}of _0x2a6a58['model']['document']['differ']['getChangedMarkers']()){const {group:_0x552520,id:_0x293ec5}=jt(_0x5cb03f);if('comment'!==_0x552520)continue;const _0x308325=_0x33986e['getCommentThread'](_0x293ec5),_0x637869=this['hasMarkerForId'](_0x293ec5);_0x308325&&(_0x308325['_hasTargetInContent']||_0x2a6a58['editing']['view']['once']('render',()=>{const _0xc5b421=_0x2a6a58['plugins']['get'](_),_0x48c263=_0x33986e['_threadToController']['get'](_0x308325)['view'];_0xc5b421['getByInnerView'](_0x48c263)['refreshVisibility']();},{'priority':'low'}),_0x308325['_hasTargetInContent']=_0x637869||!!_0x11fb3a),_0x11fb3a||(_0x1c8033['add'](_0x5cb03f),_0x1ea9e8['delete'](_0x5cb03f));}if(_0x3bdd84['isLocal'])for(const _0x414091 of _0x1c8033){const {id:_0x128463}=jt(_0x414091),_0xa2c32b=_0x33986e['getCommentThread'](_0x128463),_0x4060ed=this['hasMarkerForId'](_0x128463);_0x1ea9e8['delete'](_0x414091),!_0xa2c32b||_0x4060ed||_0xa2c32b['unlinkedAt']||_0xa2c32b['setUnlinkedAt'](new Date());}_0x1c8033['clear']();});}['_getTargetForId'](_0x1a95b1){const _0x58eb85=this['editor'],_0x40617d=this['getAllMarkersForId'](_0x1a95b1);return rt(_0x58eb85['editing'],_0x40617d);}['_getTextContext'](_0xe9c59a){const _0x583273=this['getAllMarkersForId'](_0xe9c59a);let _0x3abe6a='',_0x13b3f4=!0x1;for(const _0x427301 of _0x583273){const _0x357a68=_0x427301['getRange']();for(const _0x3863d2 of Array['from'](_0x357a68['getItems']()))_0x3863d2['is']('$textProxy')?(_0x3abe6a&&_0x13b3f4&&(_0x3abe6a+='\x20',_0x13b3f4=!0x1),_0x3abe6a+=_0x3863d2['data']):_0x13b3f4=!0x0;_0x13b3f4=!0x0;}return _0x3abe6a['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x3c49b1,_0x543b34){const _0x267506=this['editor'],_0x40c553=_0x267506['plugins']['get'](m);let _0x31a13b=_0x40c553['getCommentThread'](_0x543b34);const _0x45915e=_0x267506['config']['get']('collaboration.channelId'),_0xd65711=_0x267506['plugins']['get'](b);if(_0x31a13b&&(_0x31a13b['unlinkedAt']&&_0x31a13b['setUnlinkedAt'](null),_0x31a13b['isAttached']))return _0x31a13b;return!this['getAllMarkersForId'](_0x543b34)[0x0]['managedUsingOperations']?_0x267506['editing']['view']['once']('render',()=>{if(_0x40c553['getCommentThread'](_0x543b34))return;const _0x4f1ef7=_0x267506['plugins']['get'](_);_0x31a13b=_0x40c553['openNewCommentThread']({'channelId':_0x45915e,'threadId':_0x543b34,'target':()=>this['_getTargetForId'](_0x543b34),'context':{'type':'text','value':this['_getTextContext'](_0x543b34)}});const _0x32bb5c=_0x40c553['_threadToController']['get'](_0x31a13b)['view'],_0x232f11=_0x4f1ef7['getByInnerView'](_0x32bb5c);_0x232f11&&_0xd65711['registerAnnotation'](_0x232f11);},{'priority':'low'}):_0x40c553['fetchCommentThread']({'channelId':_0x45915e,'threadId':_0x543b34})['then'](_0x2b58db=>{if('destroyed'!==_0x267506['state']){if(_0x31a13b=_0x2b58db,_0x31a13b&&!_0x31a13b['isAttached']){const _0x466597=_0x31a13b['attachTo'](()=>this['_getTargetForId'](_0x543b34));_0xd65711['registerAnnotation'](_0x466597),_0x31a13b['isResolved']&&this['_reconvertMarkers'](_0x543b34);}else{if(!_0x31a13b){const _0x38bf6a=this['getAllMarkersForId'](_0x543b34);_0x267506['model']['change'](_0x69b0a0=>{for(const _0x1b01d0 of _0x38bf6a)_0x69b0a0['removeMarker'](_0x1b01d0);});}}}}),_0x31a13b;}['_handleThreadMarker'](_0x1f6257,_0x47b021){const _0x249731=this['_attachMarkerToThread'](_0x1f6257,_0x47b021);_0x249731&&!_0x249731['context']&&_0x249731['setContext']({'type':'text','value':this['_getTextContext'](_0x47b021)});}['_initAriaMarkerChangeAnnouncements'](){const _0x4ae257=this['editor'];et(_0x4ae257['model'],({left:_0x37d4fc,entered:_0x4a8284})=>{for(const _0x5e874a of _0x37d4fc)if(mt(_0x5e874a)){_0x4ae257['ui']['ariaLiveAnnouncer']['announce'](S(_0x4ae257['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x2e46b0 of _0x4a8284)if(mt(_0x2e46b0)){_0x4ae257['ui']['ariaLiveAnnouncer']['announce'](S(_0x4ae257['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0x26b2ec(ot)));break;}});}}function at(_0x1ed174,_0x12c525){return _0x12c525?_0x1ed174+':'+_0x12c525:_0x1ed174;}function jt(_0xd7bc3c){const _0x2f60d9=_0xd7bc3c['split'](':');return{'group':_0x2f60d9[0x0],'id':_0x2f60d9[0x1],'part':_0x2f60d9[0x2]};}function ct(_0x193b32,_0x2f9298){const _0x5caf55=_0x2f9298['schema'],_0x87d2a9=_0x2f9298['createRange'](_0x193b32['start']);for(const _0x4a2605 of _0x193b32['getWalker']()){const {type:_0x5434af,item:_0xb414c7,nextPosition:_0x13046c}=_0x4a2605;if('text'===_0x5434af||_0x5caf55['isObject'](_0xb414c7)){const _0x94a0fb=_0x2f9298['createPositionBefore'](_0xb414c7);_0x87d2a9['isCollapsed']&&(_0x87d2a9['start']=_0x94a0fb),_0x87d2a9['end']=_0x13046c;}}return _0x87d2a9;}function mt(_0xcd2769){return'comment'===jt(_0xcd2769['name'])['group'];}var $t='<!--\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 _0x398930{static get['pluginName'](){return'CommentsUI';}static get['requires'](){return[m,r,b,_];}get['CommentsListView'](){return kt;}get['CommentThreadInputView'](){return xt;}['init'](){const _0x357101=this['editor'],_0x126962=_0x357101['plugins']['get'](m),_0x5d6d82=_0x357101['plugins']['get'](r),_0xe16f2f=_0x357101['plugins']['get'](_),_0x5a44ab=_0x357101['plugins']['get'](b);_0x357101['ui']['componentFactory']['add']('comment',()=>{const _0x54190b=this['_createUIButton'](_0x20f65d);return _0x54190b['tooltip']=!0x0,_0x54190b;}),_0x357101['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x56e38a)),_0x5a44ab['addSourceCollector'](()=>{const _0x4cd24f=[];for(const [_0x1a0f01,_0x24b0a1]of _0x126962['_threadToController']){const _0x597cb1=_0x5d6d82['getAllMarkersForId'](_0x1a0f01['id']),_0x4e1499=_0x597cb1['map'](_0x4b85c8=>_0x4b85c8['getRange']());_0x597cb1['length']>0x0&&_0x4cd24f['push']([_0x24b0a1['view'],_0x4e1499]);}return _0x4cd24f;}),this['listenTo'](_0xe16f2f,'change:activeAnnotations',(_0x17c60f,_0x3e2921,_0x1e9c1d)=>{const _0x48946b=Array['from'](_0x1e9c1d)['map'](_0x4adac9=>_0x4adac9['innerView'])['find'](_0x3f477f=>_0x126962['_viewToController']['has'](_0x3f477f));if(!_0x48946b)return void(_0x5d6d82['activeMarker']=null);const _0x11b519=_0x126962['_viewToController']['get'](_0x48946b)['model']['id'],_0x418716='comment:'+_0x11b519;_0x11b519&&_0x5d6d82['hasMarkerForId'](_0x11b519)?_0x5d6d82['activeMarker']=_0x418716:_0x5d6d82['activeMarker']&&(_0x5d6d82['activeMarker']=null);}),this['listenTo'](_0x126962,'removeCommentThread',(_0x4155c4,{threadId:_0x45cd31,isFromAdapter:_0x4ae660})=>{!_0x4ae660&&_0x357101['ui']['focusTracker']['isFocused']&&_0x5d6d82['hasMarkerForId'](_0x45cd31)&&_0x357101['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x126962,'addComment',(_0x287d97,{threadId:_0x5596c0,isFromAdapter:_0x302a61})=>{if(_0x302a61||!_0x5d6d82['hasMarkerForId'](_0x5596c0)||!_0x126962['hasCommentThread'](_0x5596c0))return;0x1===_0x126962['getCommentThread'](_0x5596c0)['length']&&(_0x357101['editing']['view']['focus'](),_0x287d97['stop']());},{'priority':'low'}),this['_initKeyboardNavigation']();}['_createUIButton'](_0x38c043){const _0x599fc1=this['editor'],_0x317d1e=new _0x38c043(_0x599fc1['locale']),_0xf1777d=_0x599fc1['commands']['get']('addCommentThread');return _0x317d1e['set']({'label':S(_0x599fc1['locale'],'Comment'),'icon':$t}),_0x317d1e['bind']('isEnabled')['to'](_0xf1777d),this['listenTo'](_0x317d1e,'execute',()=>_0xf1777d['execute']()),_0x317d1e;}['_initKeyboardNavigation'](){const _0x1e9132=this['editor'],_0x54476e=_0x1e9132['plugins']['get'](m);this['listenTo'](_0x54476e,'escapeThread',(_0x4dbd56,{threadId:_0x26e265,channelId:_0x526998})=>{if(_0x526998!==_0x1e9132['config']['get']('collaboration.channelId'))return;const _0x136699=_0x54476e['getCommentThread'](_0x26e265);_0x136699&&!_0x136699['archivedAt']&&_0x1e9132['editing']['view']['focus']();},{'priority':'low'}),_0x1e9132['keystrokes']['set'](ot,(_0x8f07e2,_0x381df8)=>{const _0x3e7d5f=this['editor']['plugins']['get'](r);if(!_0x3e7d5f['activeMarker'])return;const _0x19fd3f=_0x1e9132['plugins']['get'](m),{id:_0x392154}=jt(_0x3e7d5f['activeMarker']),_0x3fed1a=_0x19fd3f['getCommentThread'](_0x392154);_0x3fed1a&&(_0x19fd3f['_threadToController']['get'](_0x3fed1a)['view']['focus'](),_0x381df8());});}}class e extends _0x398930{static get['pluginName'](){return'CommentsOnly';}static get['requires'](){return[r];}constructor(_0x3b3c5e){super(_0x3b3c5e),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x437cfd,_0x4a129a,_0x3f2969)=>{_0x3f2969?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x233c64,_0x3457a8]of this['editor']['commands'])_0x3457a8['affectsData']&&'addCommentThread'!==_0x233c64&&_0x3457a8['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode');const _0x434440=this['editor']['editing']['view']['document'];this['listenTo'](_0x434440,'cut',_0xcf0db4=>_0xcf0db4['stop'](),{'priority':'highest'}),this['listenTo'](_0x434440,'clipboardInput',_0x5cd82e=>_0x5cd82e['stop'](),{'priority':'highest'}),this['listenTo'](_0x434440,'delete',_0x4b14b7=>_0x4b14b7['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x2ee5b8,_0x1c6a0a]of this['editor']['commands'])_0x1c6a0a['affectsData']&&'addCommentThread'!==_0x2ee5b8&&_0x1c6a0a['clearForceDisabled']('commentsOnlyMode');this['stopListening'](this['editor']['editing']['view']['document']);}}class j extends _0x36e485{['activeUIs'];['_uis'];['_uisData'];static get['requires'](){return[_];}static get['pluginName'](){return'AnnotationsUIs';}constructor(_0x326d78){super(_0x326d78),this['activeUIs']=new Set(),this['_uis']=new Map(),this['_uisData']=new Map();}['init'](){const _0x56f7ec=this['context']['plugins']['get'](_);this['listenTo'](_0x56f7ec,'_activateAnnotation',(_0x59781d,_0x24c406)=>{for(const _0x1ff479 of this['activeUIs']){const _0x5a42e8=this['_uis']['get'](_0x1ff479);(0x0,this['_uisData']['get'](_0x1ff479)['filter'])(_0x24c406)&&_0x5a42e8['setActiveAnnotation'](_0x24c406);}}),this['listenTo'](_0x56f7ec,'_deactivateAllAnnotations',()=>{for(const _0x2d4153 of this['activeUIs']){this['_uis']['get'](_0x2d4153)['setActiveAnnotation'](null);}}),this['listenTo'](_0x56f7ec['_visibleAnnotations'],'add',(_0x3cd052,_0x49705c)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x49705c);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x465df9){return this['activeUIs']['has'](_0x465df9);}['activate'](_0x531f8f,_0x54b817=()=>!0x0){const _0x1f0835=this['context']['plugins']['get'](_);if(!this['_uis']['has'](_0x531f8f))throw new _0x4d292c('annotationsuis-missing-ui',this,{'uiName':_0x531f8f});this['isActive'](_0x531f8f)&&this['deactivate'](_0x531f8f),this['activeUIs']['add'](_0x531f8f);const _0xb924f1=new x();!function({source:_0x267d5b,target:_0x3188c2,filter:_0x2a7983}){for(const _0x4eaf54 of _0x267d5b)_0x2a7983(_0x4eaf54)&&_0x3188c2['add'](_0x4eaf54);_0x3188c2['listenTo'](_0x267d5b,'add',(_0x1170d1,_0x3551bb)=>{_0x2a7983(_0x3551bb)&&_0x3188c2['add'](_0x3551bb);}),_0x3188c2['listenTo'](_0x267d5b,'remove',(_0x3a2477,_0x300aac)=>{_0x3188c2['has'](_0x300aac)&&_0x3188c2['remove'](_0x300aac);});}({'source':_0x1f0835['_visibleAnnotations'],'target':_0xb924f1,'filter':_0x54b817}),this['_uisData']['set'](_0x531f8f,{'collection':_0xb924f1,'filter':_0x54b817});const _0x47d038=this['_uis']['get'](_0x531f8f);_0x47d038['attach'](_0xb924f1),this['listenTo'](_0x47d038,'change:activeAnnotation',(_0x4ccce8,_0x21675c,_0x1b2053,_0x129061)=>{_0x129061&&_0x1f0835['_removeActiveAnnotation'](_0x129061),_0x1b2053&&_0x1f0835['_addActiveAnnotation'](_0x1b2053);});}['deactivate'](_0x52b56c){if(this['activeUIs']['delete'](_0x52b56c),!this['_uis']['has'](_0x52b56c))throw new _0x4d292c('annotationsuis-missing-ui',this,{'uiName':_0x52b56c});const _0x2e2ef7=this['_uis']['get'](_0x52b56c);_0x2e2ef7['detach'](),this['stopListening'](_0x2e2ef7),this['_uisData']['get'](_0x52b56c)['collection']['destroy'](),this['_uisData']['delete'](_0x52b56c);}['switchTo'](_0x34e4f3){if(!this['_uis']['has'](_0x34e4f3))throw new _0x4d292c('annotationsuis-missing-ui',this,{'uiName':_0x34e4f3});const _0xb9aaeb=this['context']['plugins']['get'](_),_0x1457c7=Array['from'](_0xb9aaeb['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x34e4f3);const _0x1ae391=this['_uis']['get'](_0x34e4f3);_0x1ae391['setActiveAnnotation'](_0x1457c7),_0x1ae391['_setSelectedAnnotations']&&_0x1457c7&&_0x1ae391['_setSelectedAnnotations']([_0x1457c7]);}['deactivateAll'](){for(const _0x484fb2 of this['activeUIs'])this['deactivate'](_0x484fb2);}['register'](_0x1efa9f,_0x3f45a0){if(this['_uis']['has'](_0x1efa9f))throw new _0x4d292c('annotationsuis-register-already-registered');if('function'!=typeof _0x3f45a0['attach']||'function'!=typeof _0x3f45a0['detach']||'function'!=typeof _0x3f45a0['setActiveAnnotation'])throw new _0x4d292c('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x1efa9f,_0x3f45a0);}['refilterAnnotations'](){const _0x2a16ec=this['context']['plugins']['get'](_)['collection'],_0x1e1281=new Map(),_0x947b2d=Array['from'](this['activeUIs']);for(const _0x4fb9e9 of this['activeUIs']){const _0x3a6dc4=this['_uisData']['get'](_0x4fb9e9)['collection'];for(const _0x32e9a5 of _0x3a6dc4)_0x1e1281['set'](_0x32e9a5,_0x4fb9e9);}for(const _0x25b679 of _0x2a16ec){const _0x427ac2=_0x1e1281['get'](_0x25b679);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x25b679);const _0x37dcb1=_0x947b2d['find'](_0x3ee741=>this['_uisData']['get'](_0x3ee741)['filter'](_0x25b679));_0x427ac2!==_0x37dcb1&&(_0x427ac2&&this['_uisData']['get'](_0x427ac2)['collection']['remove'](_0x25b679),_0x37dcb1&&this['_uisData']['get'](_0x37dcb1)['collection']['add'](_0x25b679));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x4ee0df){const _0x4a0ff0=[];for(const _0x4ef3be of this['activeUIs']){(0x0,this['_uisData']['get'](_0x4ef3be)['filter'])(_0x4ee0df)&&_0x4a0ff0['push'](_0x4ef3be);}if(_0x4a0ff0['length']>0x1)throw new _0x4d292c('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x4a0ff0,'annotationType':_0x4ee0df['type']});}}const ie=Ht('px');class V extends _t{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x310ebe){super(_0x310ebe);const _0x2df1c7=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['focusables']=this['createCollection'](),this['list']['delegate']('arrowup','arrowdown')['to'](this),this['focusTracker']=new _0x163651(),this['focusCycler']=new Ft({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x2df1c7['to']('class')],'style':{'minHeight':_0x2df1c7['to']('minHeight',_0x4b6907=>'number'==typeof _0x4b6907?ie(_0x4b6907+0xa):null)},'dir':_0x310ebe['uiLanguageDirection'],'role':'application','aria-label':S(_0x310ebe,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':S(_0x310ebe,'Annotations\x20list')},'children':this['list']}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_setupKeyboardNavigation'](){this['list']['delegate']('change:top')['to'](this),this['on']('change:top',_0xd7a002=>{this['_updateItemPositionInFocusables'](_0xd7a002['source']);}),this['list']['forEach'](_0x294e81=>{this['focusTracker']['add'](_0x294e81['element']),this['_updateItemPositionInFocusables'](_0x294e81);}),this['list']['on']('change',(_0x5b562b,_0x360044)=>{for(const _0x34ac69 of _0x360044['removed'])this['focusTracker']['remove'](_0x34ac69['element']),this['focusables']['remove'](_0x34ac69);for(const _0x409ce3 of _0x360044['added'])this['focusTracker']['add'](_0x409ce3['element']),this['_updateItemPositionInFocusables'](_0x409ce3);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x103db4){const _0x128ae2=this['focusables']['getIndex'](_0x103db4);let _0x277dd5,_0x1a6ade;for(const _0x3d59f1 of this['focusables'])if(_0x103db4['top']<_0x3d59f1['top']){_0x277dd5=_0x3d59f1;break;}if(_0x1a6ade=_0x277dd5?this['focusables']['getIndex'](_0x277dd5):this['focusables']['length'],-0x1!==_0x128ae2){if(_0x128ae2===_0x1a6ade-0x1)return;this['focusables']['remove'](_0x103db4),_0x1a6ade=_0x277dd5?this['focusables']['getIndex'](_0x277dd5):this['focusables']['length'];}this['focusables']['add'](_0x103db4,_0x1a6ade);}}const qt=Ht('px');class M extends _t{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x1ba1b4){super(_0x1ba1b4),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x14a255,_0x15fada)=>_0x14a255+_0x15fada),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=Lt(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x5f0bed=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x5f0bed['to']('isAnimationDisabled',_0x126251=>_0x126251?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x5f0bed['to']('top',_0x2c6aa9=>qt(_0x2c6aa9))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x5a0af4=this['element']['clientHeight'];_0x5a0af4&&(this['height']=_0x5a0af4);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class D extends _0x36e485{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}constructor(_0x5a905c){super(_0x5a905c),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 _0x23dfba=this['context']['config']['get']('sidebar.container');_0x23dfba&&this['setContainer'](_0x23dfba);}['setContainer'](_0x36154e){if(!y(_0x36154e))throw new _0x4d292c('sidebar-setcontainer-invalid-element');this['container']=_0x36154e;}['_attachToContainer']({viewClass:_0x106b06='',spaceBetweenItems:_0x4ec05e=0x19}={}){if(!y(this['container']))throw new _0x4d292c('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x106b06,this['_spaceBetweenItems']=_0x4ec05e;}['rearrange']({removedAnnotation:_0x363e21,previousAnnotation:_0x378373,nextAnnotation:_0x19b9b9}){const _0x2a5280=this['getSidebarItemView'](_0x363e21);this['view']['list']['remove'](_0x2a5280),this['_destroySidebarItemView'](_0x363e21),_0x378373&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x378373)),_0x19b9b9&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x19b9b9)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x37aee8,activatedAnnotation:_0x15394b,disableAnimationOnActivatedAnnotation:_0x29caac}){if(this['_activeAnnotation']=_0x15394b,_0x37aee8){_0x37aee8['isActive']=!0x1;const _0x468741=this['getSidebarItemView'](_0x37aee8);_0x468741&&_0x29caac&&(_0x468741['isAnimationDisabled']=!0x1);}if(_0x15394b){const _0x2a8d30=this['getSidebarItemView'](_0x15394b);_0x2a8d30&&(_0x15394b['isActive']=!0x0,_0x29caac&&(_0x2a8d30['isAnimationDisabled']=!0x0,_0x2a8d30['top']+=0x1),this['_alignToTargetRect'](_0x2a8d30));}}['_detachFromContainer'](_0x473625){if(this['view']['element']['remove'](),_0x473625){for(const _0x4cbc99 of _0x473625)this['_destroySidebarItemView'](_0x4cbc99);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x188606,_0x5c36f7){_0x5c36f7||(_0x5c36f7=_0x188606['view']);const _0x3f91f6=new M(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x3f91f6,_0x188606),this['_annotationToSidebarItemView']['set'](_0x188606,_0x3f91f6),_0x3f91f6['content']['add'](_0x5c36f7),this['listenTo'](_0x188606['view'],'change:targetRect',(_0x47c821,_0x19f216,_0x5dac4e)=>{const _0xda43e7=this['_getTargetTop'](_0x188606,_0x5dac4e);_0x3f91f6['_targetTop']!=_0xda43e7&&(_0x3f91f6['_targetTop']=_0xda43e7,this['_setItemTop'](_0x3f91f6,_0xda43e7));}),this['listenTo'](_0x3f91f6,'change:top',()=>{this['_recalculate'](_0x3f91f6,'top');}),this['listenTo'](_0x3f91f6,'change:bottom',()=>{this['_recalculate'](_0x3f91f6,'bottom');}),this['_alignToTargetRect'](_0x3f91f6);const _0x26a49a=this['_getItemBefore'](_0x3f91f6);if(_0x26a49a)this['_alignAfterItem'](_0x26a49a,_0x3f91f6)||this['_alignToTargetRect'](_0x3f91f6);else this['_alignToTargetRect'](_0x3f91f6);return this['_updateLastItem'](),this['view']['list']['add'](_0x3f91f6),_0x3f91f6;}['_alignForTopChange'](_0x4fda0e){if(!_0x4fda0e['content']['length'])return;const _0x3e0727=this['_getItemBefore'](_0x4fda0e);if(!_0x3e0727)return;const _0x280c01=this['_sidebarItemViewToAnnotation']['get'](_0x3e0727),_0xa761eb=this['_activeAnnotation'];_0xa761eb&&_0xa761eb===_0x280c01?this['_alignAfterItem'](_0x3e0727,_0x4fda0e):this['_alignBeforeItem'](_0x4fda0e,_0x3e0727);}['_alignForBottomChange'](_0x152c40){if(!_0x152c40['content']['length'])return;const _0x255e92=this['_getItemAfter'](_0x152c40);if(!_0x255e92)return;const _0x2a9f93=this['_sidebarItemViewToAnnotation']['get'](_0x255e92),_0x4dc56a=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x1463d8=this['_activeAnnotation'];_0x1463d8&&_0x1463d8===_0x2a9f93&&_0x4dc56a?(this['_alignBeforeItem'](_0x255e92,_0x152c40),this['_alignAfterItem'](_0x152c40,_0x255e92)):_0x1463d8&&_0x1463d8===_0x2a9f93?this['_alignBeforeItem'](_0x255e92,_0x152c40):this['_alignAfterItem'](_0x152c40,_0x255e92);}['_recalculate'](_0x5e02a9,_0x385678){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x2fc721,changedProp:_0x43b954}of this['_recalculateBuffer'])'top'===_0x43b954?this['_alignForTopChange'](_0x2fc721):this['_alignForBottomChange'](_0x2fc721);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x5e02a9,'changedProp':_0x385678});}['getSidebarItemView'](_0x4579eb){return this['_annotationToSidebarItemView']['get'](_0x4579eb);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x57a410){const _0x58c030=this['getSidebarItemView'](_0x57a410);this['stopListening'](_0x58c030),this['stopListening'](_0x57a410['view']),_0x58c030['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x57a410),this['_sidebarItemViewToAnnotation']['delete'](_0x58c030);}['_createSidebarView'](){const _0x1f09ff=new V(this['context']['locale']);return _0x1f09ff['render'](),this['on']('change:_lastItem',(_0x59d623,_0x239a35,_0x473c1d,_0xeda8eb)=>{_0xeda8eb&&_0x1f09ff['unbind']('minHeight'),_0x473c1d?_0x1f09ff['bind']('minHeight')['to'](_0x473c1d,'bottom'):_0x1f09ff['minHeight']=null;}),_0x1f09ff;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x28dfdc){const _0x517774=this['_sidebarItemViewToAnnotation']['get'](_0x28dfdc),_0xcfcb45=_0x517774&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x517774)-0x1);return _0xcfcb45&&this['getSidebarItemView'](_0xcfcb45)||null;}['_getItemAfter'](_0x126e0e){const _0x3fd615=this['_sidebarItemViewToAnnotation']['get'](_0x126e0e),_0x498f12=_0x3fd615&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x3fd615)+0x1);return _0x498f12&&this['getSidebarItemView'](_0x498f12)||null;}['_alignBeforeItem'](_0x26e5b6,_0x1066f1){_0x26e5b6['updateHeight']();const _0x102d64=H(_0x1066f1['bottom']+this['_spaceBetweenItems'],_0x26e5b6['top']);return!!_0x102d64&&(this['_setItemTop'](_0x1066f1,_0x1066f1['top']-_0x102d64),!0x0);}['_alignAfterItem'](_0x3ca5da,_0x104eba){_0x3ca5da['updateHeight']();const _0xd64759=H(_0x3ca5da['bottom']+this['_spaceBetweenItems'],_0x104eba['top']);return!!_0xd64759&&(this['_setItemTop'](_0x104eba,_0x104eba['top']+_0xd64759,!0x1),!0x0);}['_alignToTargetRect'](_0x28e14f){const _0x3b5fe3=this['_sidebarItemViewToAnnotation']['get'](_0x28e14f);if(!_0x3b5fe3||!_0x3b5fe3['target']||!_0x3b5fe3['targetRect'])return;const _0x4e8b66=this['_getTargetTop'](_0x3b5fe3,_0x3b5fe3['targetRect']);this['_setItemTop'](_0x28e14f,_0x4e8b66);}['_getTargetTop'](_0x5439ac,_0x4c2bf0){if(null===_0x4c2bf0)return 0x0;if(_0x5439ac['target']instanceof _0x3e06be)return _0x4c2bf0['top'];{const _0xd46ebb=new _0x3e06be(this['view']['element'])['top'];return _0x4c2bf0['top']-_0xd46ebb;}}['_setItemTop'](_0x55e180,_0x291d60,_0x1b415b=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x1b415b&&(_0x291d60=Math['max'](_0x291d60,this['_getMaxAvailableTop'](_0x55e180))),_0x55e180['top']=_0x291d60;}['_getMaxAvailableTop'](_0x2248cc){let _0x1cb801=this['_getItemBefore'](_0x2248cc),_0x31ab6e=0x0;for(;_0x1cb801;)_0x1cb801['updateHeight'](),_0x31ab6e+=this['_spaceBetweenItems']+_0x1cb801['height'],_0x1cb801=this['_getItemBefore'](_0x1cb801);return _0x31ab6e;}}function H(_0x2c345f,_0x3c0822){return Math['max'](_0x2c345f-_0x3c0822,0x0);}function y(_0x2b8026){return null!==_0x2b8026&&'object'==typeof _0x2b8026&&0x1===_0x2b8026['nodeType'];}class n extends _0x36e485{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[D,j];}static get['pluginName'](){return'WideSidebar';}constructor(_0x39e0c7){super(_0x39e0c7),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x5c7276(),this['_refreshPositioningDebounced']=_0x145e4b(()=>{this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x2a3c29=this['context']['plugins']['get'](j),_0x47309a=this['context']['plugins']['get'](D);_0x2a3c29['register']('wideSidebar',this),_0x47309a['container']&&_0x2a3c29['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x28dbb5){if(_0x28dbb5===this['activeAnnotation'])return;const _0x271012=this['context']['plugins']['get'](D);_0x271012['_activeAnnotation']=_0x28dbb5;const _0x52450e=this['activeAnnotation'];this['activeAnnotation']=_0x28dbb5,_0x271012['refresh']({'blurredAnnotation':_0x52450e,'activatedAnnotation':this['activeAnnotation']});}['attach'](_0x58ee2){this['annotations']=_0x58ee2;const _0x2aaa83=this['context']['plugins']['get'](D);if(_0x2aaa83['_annotations']=_0x58ee2,this['isAttached'])throw new _0x4d292c('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x2aaa83,'set:container',()=>{this['detach'](),this['listenTo'](_0x2aaa83,'change:container',_0x1c7ea6=>{_0x1c7ea6['off'](),this['attach'](_0x58ee2);});}),_0x2aaa83['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x5c3f62=_0x345c58=>{_0x345c58['updateTargetRect'](),_0x2aaa83['addAnnotation'](_0x345c58);};for(const _0x23861e of _0x58ee2)_0x5c3f62(_0x23861e);this['listenTo'](_0x58ee2,'add',(_0x11ced0,_0x12f0a1)=>{_0x5c3f62(_0x12f0a1);}),this['listenTo'](_0x58ee2,'remove',(_0x5356d8,_0x4d3d1f,_0xeb605d)=>{_0x2aaa83['rearrange']({'removedAnnotation':_0x4d3d1f,'previousAnnotation':_0x58ee2['get'](_0xeb605d-0x1),'nextAnnotation':_0x58ee2['get'](_0xeb605d+0x1)}),_0x4d3d1f===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x58ee2,'focus',(_0x120ca2,_0x4b3558)=>{this['setActiveAnnotation'](_0x4b3558);}),this['listenTo'](_0x58ee2,'blur',()=>{this['setActiveAnnotation'](null);});const _0x13a90a=this['context']instanceof _0x23699f?this['context']['editors']:new _0x5c7276([this['context']]);for(const _0x1d430c of _0x13a90a)this['_integrateWithEditorAnnotations'](_0x1d430c);this['listenTo'](_0x13a90a,'add',(_0x4256a6,_0x310546)=>{this['listenTo'](_0x310546,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x310546);});}),this['listenTo'](_0x13a90a,'remove',(_0x3a99bf,_0x2c26a6)=>{_0x2c26a6['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x2c26a6['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x4d292c('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x49f577=this['context']['plugins']['get'](D);_0x49f577['_detachFromContainer'](this['annotations']),this['stopListening'](_0x49f577),this['stopListening'](this['annotations']),this['context']instanceof _0x23699f&&this['stopListening'](this['context']['editors']);for(const _0x1623eb of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x1623eb);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x4c031f){if(!_0x4c031f['plugins']['has']('EditorAnnotations'))return;const _0x53cf2e=_0x4c031f['plugins']['get']('EditorAnnotations'),_0x5da716=()=>{const _0x59d4bc=_0x53cf2e['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x59d4bc[0x0]||null);};this['listenTo'](_0x53cf2e,'refresh',_0x5da716),this['listenTo'](_0x53cf2e,'blur',(_0x260a38,{isAnnotationTracked:_0x46559d})=>{this['activeAnnotation']&&_0x46559d(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x53cf2e,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x496122=>{_0x53cf2e['hasDomSelection']()&&(_0x5da716(),_0x496122['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x53cf2e);}['_destroyEditorAnnotationsIntegration'](_0x2dc5a9){this['stopListening'](_0x2dc5a9),this['_editorAnnotations']['remove'](_0x2dc5a9);}}class L extends _0x20f65d{['counterView'];constructor(_0x6ab4a5){super(_0x6ab4a5);const _0x53c49e=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x4b4499,_0x32e6e5)=>_0x4b4499?'...':_0x32e6e5['toString']()),this['set']('annotationType',''),this['icon']=$t,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _t(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x53c49e['to']('annotationType',_0x9557c3=>'ck-annotation-counter__badge--'+_0x9557c3),_0x53c49e['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x53c49e['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class i extends _0x36e485{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[D,j];}static get['pluginName'](){return'NarrowSidebar';}constructor(_0x2c477b){super(_0x2c477b),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=Object['create'](_0xefc522),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x5c7276(),this['_refreshPositioningDebounced']=_0x145e4b(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](j)['register']('narrowSidebar',this),this['bodyCollection']=new _0x25e725(this['context']['locale']),this['balloonPanelView']=new _0x4ce7f8(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x4af40a){this['annotations']=_0x4af40a;const _0x3bd761=this['context']['plugins']['get'](D),_0x1bb1d5=this['balloonPanelView'];if(_0x3bd761['_annotations']=_0x4af40a,this['isAttached'])throw new _0x4d292c('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x3bd761,'set:container',()=>{this['detach'](),this['listenTo'](_0x3bd761,'change:container',_0x38a59e=>{_0x38a59e['off'](),this['attach'](_0x4af40a);});}),_0x3bd761['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x1a1329=_0xb20526=>{const _0x596ec1=new L(this['context']['locale']);_0x3bd761['addAnnotation'](_0xb20526,_0x596ec1),this['_annotationToNarrowView']['set'](_0xb20526,_0x596ec1),_0x596ec1['bind']('isDirty','annotationType','number')['to'](_0xb20526['view'],'isDirty','type','length'),_0x596ec1['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x1bb1d5['content']['first']!==_0xb20526['view']?(this['_showBalloon'](_0xb20526),_0xb20526['view']['element']['focus'](),this['setActiveAnnotation'](_0xb20526)):this['setActiveAnnotation'](null);});};for(const _0x13be3e of _0x4af40a)_0x1a1329(_0x13be3e);this['listenTo'](_0x4af40a,'add',(_0x56e9e2,_0x548573)=>{_0x1a1329(_0x548573);}),this['listenTo'](_0x4af40a,'remove',(_0x45bf65,_0x274998,_0x272f89)=>{this['_annotationToNarrowView']['get'](_0x274998)['destroy'](),this['_annotationToNarrowView']['delete'](_0x274998),_0x3bd761['rearrange']({'removedAnnotation':_0x274998,'previousAnnotation':_0x4af40a['get'](_0x272f89-0x1),'nextAnnotation':_0x4af40a['get'](_0x272f89+0x1)}),_0x274998===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x4af40a,'focus',(_0x1a8364,_0x1fe97a)=>{this['setActiveAnnotation'](_0x1fe97a);}),this['listenTo'](_0x4af40a,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x557bd1,_0x3d5b58)=>{_0x3d5b58['keyCode']===_0x245ce1['esc']&&_0x1bb1d5['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x1bb1d5['content']['first']),this['_hideBalloon'](),_0x3d5b58['stopPropagation'](),_0x3d5b58['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x5bca1c,_0x350888)=>{const _0x5e0ecd=_0x350888['target'];_0x1bb1d5['isVisible']&&_0x1bb1d5['element']['contains'](_0x5e0ecd)||_0x3bd761['view']['element']['contains'](_0x5e0ecd)||_0x5bca1c['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x3caf0e=>_0x3caf0e['contains'](_0x5e0ecd))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x56cab9=this['context']instanceof _0x23699f?this['context']['editors']:new _0x5c7276([this['context']]);for(const _0x2a487b of _0x56cab9)this['_integrateWithEditorAnnotations'](_0x2a487b);this['listenTo'](_0x56cab9,'add',(_0x3cbca6,_0x1efb49)=>{this['listenTo'](_0x1efb49,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x1efb49);});}),this['listenTo'](_0x56cab9,'remove',(_0x236496,_0x291795)=>{_0x291795['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x291795['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x19ba3e){if(_0x19ba3e===this['activeAnnotation'])return;const _0x453481=this['context']['plugins']['get'](D);if(_0x453481['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x19ba3e,'disableAnimationOnActivatedAnnotation':!0x0}),_0x19ba3e)_0x453481['getSidebarItemView'](_0x19ba3e)?this['_showBalloon'](_0x19ba3e):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x19ba3e;}['detach'](){if(!this['isAttached'])throw new _0x4d292c('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x19c9c9=this['context']['plugins']['get'](D);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x459539=>_0x459539['destroy']()),this['_annotationToNarrowView']['clear'](),_0x19c9c9['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x23699f&&this['stopListening'](this['context']['editors']);for(const _0x8122c8 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x8122c8);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'](_0x29ab8b){if(!_0x29ab8b['plugins']['has']('EditorAnnotations'))return;const _0x337f6f=_0x29ab8b['plugins']['get']('EditorAnnotations'),_0x3b6fc7=this['context']['plugins']['get'](D),_0x33a451=this['annotations'],_0x2395ef=this['balloonPanelView'],_0x1832dc=()=>{const _0x448dfa=_0x337f6f['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x448dfa),this['setActiveAnnotation'](_0x448dfa[0x0]||null);};this['listenTo'](_0x337f6f,'refresh',_0x1832dc),this['listenTo'](_0x337f6f,'blur',(_0x19c855,{isAnnotationTracked:_0x543350})=>{this['activeAnnotation']&&_0x543350(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x337f6f,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x33a451,'blur',_0x3e2abc=>{_0x337f6f['hasDomSelection']()&&_0x3e2abc['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x5827e8,_0x37dd52)=>{const _0x352ff2=_0x37dd52['target'];_0x2395ef['isVisible']&&_0x2395ef['element']['contains'](_0x352ff2)||_0x3b6fc7['view']['element']['contains'](_0x352ff2)||this['activeAnnotation']&&_0x337f6f['hasDomSelection']()&&(_0x1832dc(),_0x5827e8['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x337f6f);}['_destroyEditorAnnotationsIntegration'](_0x2a3c1a){_0x2a3c1a&&(this['stopListening'](_0x2a3c1a),this['_editorAnnotations']['remove'](_0x2a3c1a));}['_setSelectedAnnotations'](_0x1ced97){for(const _0x134121 of this['_selectedAnnotations'])_0x1ced97['includes'](_0x134121)||this['_manuallyClosedAnnotationViews']['delete'](_0x134121['view']);this['_selectedAnnotations']=_0x1ced97;}['_refreshPositioning'](){const _0x7ef663=this['balloonPanelView'];this['annotations']['refreshPositioning'](),_0x7ef663['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x399e1c){if(this['_manuallyClosedAnnotationViews']['has'](_0x399e1c['view']))return;const _0x53682f=this['balloonPanelView']['content']['first'];_0x53682f!==_0x399e1c['view']?(_0x53682f&&this['_detachListeners'](_0x53682f),this['_attachListeners'](_0x399e1c['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x399e1c['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x4854ce=this['balloonPanelView']['content']['first'],_0x184375=_0x4854ce&&this['annotations']['getByView'](_0x4854ce);if(!_0x184375||!this['_annotationToNarrowView']['has'](_0x184375))return;const _0x20e534=this['_annotationToNarrowView']['get'](_0x184375)['element'],_0x125336=(function(){const _0x1997f2=_0x4ce7f8['defaultPositions'];return[_0x1997f2['southArrowNorthEast'],_0x1997f2['northArrowSouthEast'],_0x1997f2['southArrowNorth'],_0x1997f2['northArrowSouth'],_0x1997f2['southArrowNorthWest'],_0x1997f2['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x20e534,'positions':_0x125336});}['_hideBalloon'](){const _0x39572f=this['balloonPanelView'],_0x3167be=_0x39572f['content']['first'];_0x3167be&&(this['_detachListeners'](_0x3167be),_0x39572f['unpin'](),_0x39572f['content']['clear']());}['_attachListeners'](_0x187d8e){this['listenTo'](_0x187d8e,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x187d8e,'Esc',(_0x5624da,_0x32c79d)=>{this['_manuallyClosedAnnotationViews']['add'](_0x187d8e),this['_hideBalloon'](),_0x32c79d();});}['_detachListeners'](_0x12aa56){this['stopListening'](_0x12aa56);}}class c extends _0x398930{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];static get['requires'](){return[b,_0x333e38,j];}static get['pluginName'](){return'InlineAnnotations';}constructor(_0x4e4dbe){super(_0x4e4dbe),_0x4e4dbe['editing']['view']['addObserver'](_0x289705),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x4e4dbe['plugins']['get'](_0x333e38),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1;}['init'](){const _0x62cc59=this['editor']['plugins']['get'](j);_0x62cc59['context']===this['editor']&&(_0x62cc59['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x31c3ac,_0x2ee93b)=>{const _0x4ddb1e=this['_balloon'];if(this['isAttached']&&_0x4ddb1e['visibleView']){const _0x3c368f=this['annotations']['getByView'](_0x4ddb1e['visibleView']);_0x3c368f&&this['_closeAnnotation'](_0x3c368f),_0x2ee93b();}}));}['afterInit'](){const _0x53c381=this['editor']['plugins']['get'](j);_0x53c381['context']===this['editor']&&(_0x53c381['hasActive']()||_0x53c381['switchTo']('inline'));}['setActiveAnnotation'](_0x5964dd){_0x5964dd!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x5964dd&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x5964dd)&&this['_addAnnotationToBalloon'](_0x5964dd,!0x0),_0x5964dd['isActive']=!0x0),_0x5964dd||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x5964dd);}['attach'](_0x4262f2){this['annotations']=_0x4262f2;const _0x3b1ad5=this['editor']['plugins']['get'](j),_0x163a01=this['_balloon'];if(this['isAttached'])throw new _0x4d292c('inlineannotations-attach-already-attached',this);if(_0x3b1ad5['context']!==this['editor'])throw new _0x4d292c('inlineannotations-not-allowed-with-context',this);const _0x39392a=this['editor']['plugins']['get'](b);this['listenTo'](_0x39392a,'refresh',()=>{const _0x32d480=_0x39392a['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x47a6c8,_0x42c148;!this['_forceRefresh']&&(_0x47a6c8=_0x32d480,_0x42c148=this['_selectedAnnotations'],_0x47a6c8['length']===_0x42c148['length']&&_0x47a6c8['every'](_0x1f072b=>_0x42c148['includes'](_0x1f072b)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x32d480),this['setActiveAnnotation'](_0x32d480[0x0]||null));}),this['listenTo'](_0x39392a,'blur',(_0x41f993,{isAnnotationTracked:_0xd931fd})=>{this['activeAnnotation']&&_0xd931fd(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x23ae94,_0x125622,_0xfded8e)=>{_0xfded8e||this['setActiveAnnotation'](null);}),this['listenTo'](_0x4262f2,'remove',(_0x156994,_0x548829)=>{this['_removeAnnotationFromBalloon'](_0x548829),_0x548829===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x163a01,'change:visibleView',(_0x4005f9,_0x288f4a,_0x4e1c1f,_0x23b190)=>{_0x23b190&&this['stopListening'](_0x23b190);const _0x21006a=_0x4262f2['getByView'](_0x4e1c1f);_0x4e1c1f&&_0x21006a&&(this['listenTo'](_0x4e1c1f,'change:height',()=>{_0x163a01['updatePosition']();}),this['listenTo'](_0x4e1c1f,'Esc',()=>{this['_closeAnnotation'](_0x21006a),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x21006a&&this['setActiveAnnotation'](_0x21006a));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x163a01['visibleView']&&(_0x4262f2['getByView'](_0x163a01['visibleView'])&&_0x163a01['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 _0x4d292c('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x2a3951 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x2a3951);this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_setSelectedAnnotations'](_0xab4a3e){for(const _0x32c481 of this['_selectedAnnotations'])_0xab4a3e['includes'](_0x32c481)||this['_manuallyClosed']['delete'](_0x32c481);for(const _0xf61538 of this['annotations'])_0xab4a3e['includes'](_0xf61538)||this['_removeAnnotationFromBalloon'](_0xf61538);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x554e45 of _0xab4a3e)this['_addAnnotationToBalloon'](_0x554e45);}this['_selectedAnnotations']=_0xab4a3e;}['_addAnnotationToBalloon'](_0x52a764,_0x1cc28f=!0x1){this['_manuallyClosed']['has'](_0x52a764)||(this['_addedAnnotations']['has'](_0x52a764)||this['_balloon']['hasView'](_0x52a764['view'])||(this['_addedAnnotations']['add'](_0x52a764),this['_balloon']['add']({'stackId':_0x52a764['view']['id'],'view':_0x52a764['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x52a764)}})),_0x1cc28f&&this['_balloon']['showStack'](_0x52a764['view']['id']));}['_getBalloonTargetForAnnotation'](_0x141884){const _0x27477b=_0x141884['target'],_0xd44dc0=this['editor']['editing']['view'],_0x5362ef=_0xd44dc0['document']['selection']['getFirstRange'](),_0x178236=_0xd44dc0['domConverter']['viewRangeToDom'](_0x5362ef);if(_0x178236['collapse'](!0x0),_0x27477b){if(_0x27477b instanceof _0x3e06be)return _0x27477b;let _0x3e3307=[];for(const _0x19682b of _0x27477b)_0x3e3307['push'](...(_0x50a3cd=_0x19682b['getClientRects'](),Array['from'](_0x50a3cd)['map'](DOMRect['fromRect'])));_0x3e3307=function(_0xfb85d6){const _0x30fd1b=[];let _0x15361f=_0xfb85d6[0x0];for(let _0x5b1b78=0x1;_0x5b1b78<_0xfb85d6['length'];_0x5b1b78++)E(_0x15361f,_0xfb85d6[_0x5b1b78])?_0x15361f['width']+=_0xfb85d6[_0x5b1b78]['width']:(_0x30fd1b['push'](_0x15361f),_0x15361f=_0xfb85d6[_0x5b1b78]);return _0x30fd1b['push'](_0x15361f),_0x30fd1b;}(_0x3e3307);const _0x1edfac=_0x178236['getBoundingClientRect']();return _0x3e3307['find'](_0x413265=>_0x413265['top']<=_0x1edfac['top']&&_0x413265['bottom']>=_0x1edfac['bottom']&&_0x413265['left']<=_0x1edfac['left']&&_0x413265['right']>=_0x1edfac['right'])||_0x3e3307[0x0];}var _0x50a3cd;return _0x141884['targetRect']||_0x178236;}['_removeAnnotationFromBalloon'](_0x4c4a17){this['_addedAnnotations']['has'](_0x4c4a17)&&this['_balloon']['hasView'](_0x4c4a17['view'])&&(this['_addedAnnotations']['delete'](_0x4c4a17),this['_balloon']['remove'](_0x4c4a17['view']));}['_closeAnnotation'](_0x1caee0){this['_manuallyClosed']['add'](_0x1caee0),this['_removeAnnotationFromBalloon'](_0x1caee0);}}function E(_0xc1e7c,_0x1f0183){return _0xc1e7c['top']===_0x1f0183['top']&&_0xc1e7c['bottom']===_0x1f0183['bottom']&&_0xc1e7c['right']===_0x1f0183['left'];}var X='<!--\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 Y extends _t{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x449890,_0xaf4b9a){super(_0x449890),this['set']('isEmpty',!_0xaf4b9a['length']),this['focusTracker']=new _0x163651(),this['_annotationViews']=_0xaf4b9a,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new Ft({'focusables':_0xaf4b9a,'focusTracker':this['focusTracker']}),this['listenTo'](_0xaf4b9a,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0xaf4b9a,'remove',(_0x96527d,_0x27b4b8)=>{_0x27b4b8['isActive']&&this['focus'](),_0xaf4b9a['length']||(this['isEmpty']=!0x0);});const _0x4e187c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':S(_0x449890,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0xaf4b9a},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x4e187c['if']('isEmpty','ck-hidden',_0x49e387=>!_0x49e387)]},'children':[{'text':S(_0x449890,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy']();}['focus'](){this['focusCycler']['first']?this['focusCycler']['focusFirst']():this['element']['focus']();}['_setupKeyboardNavigation'](){for(const _0x333e0e of this['_annotationViews'])this['focusTracker']['add'](_0x333e0e['element']);this['_annotationViews']['on']('change',(_0x173a25,{added:_0xfe3e7,removed:_0xaea2f3})=>{for(const _0x3f399d of _0xfe3e7)this['focusTracker']['add'](_0x3f399d['element']);for(const _0xb0266c of _0xaea2f3)this['focusTracker']['remove'](_0xb0266c['element']);});}}class p extends _0x36e485{static get['pluginName'](){return'CommentsArchive';}static get['requires'](){return[m,_];}constructor(_0x3697dc){super(_0x3697dc),this['archivedThreads']=new _0x5c7276();}['init'](){const _0x137d00=this['context'],_0x49c617=_0x137d00['plugins']['get'](m),_0x582cd1=_0x137d00['plugins']['get'](_);this['listenTo'](_0x49c617,'addCommentThread',(_0x139c26,{threadId:_0x363ed8})=>{const _0x572be0=_0x49c617['getCommentThread'](_0x363ed8);_0x572be0['archivedAt']&&this['archivedThreads']['add'](_0x572be0,this['_calculatePosition'](_0x572be0['archivedAt'])),this['listenTo'](_0x572be0,'change:archivedAt',(_0x46d17a,_0xbe0cfa,_0x2cf933)=>{_0x2cf933?this['archivedThreads']['has'](_0x572be0)||this['archivedThreads']['add'](_0x572be0,this['_calculatePosition'](_0x572be0['archivedAt'])):this['archivedThreads']['has'](_0x572be0)&&this['archivedThreads']['remove'](_0x572be0);});}),this['listenTo'](_0x49c617,'removeCommentThread',(_0x3a897e,{threadId:_0x1fe164})=>{const _0x4f3afb=_0x49c617['getCommentThread'](_0x1fe164);this['stopListening'](_0x4f3afb),this['archivedThreads']['has'](_0x4f3afb)&&this['archivedThreads']['remove'](_0x4f3afb);},{'priority':'highest'}),this['listenTo'](_0x582cd1['collection'],'focus',(_0x2fff75,_0x463240)=>{_0x463240['isVisible']||(_0x463240['isActive']=!0x0,_0x582cd1['activate'](_0x463240));});}['_calculatePosition'](_0x12c34f){const _0x3ac766=[...this['archivedThreads']]['findIndex'](_0x35a7be=>_0x35a7be['archivedAt']<_0x12c34f);return _0x3ac766>-0x1?_0x3ac766:this['archivedThreads']['length'];}}class a extends _0x398930{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['requires'](){return[p,_0x21eec2];}constructor(_0x13be19){super(_0x13be19),this['annotationViews']=new _0x47dedf(),this['_pendingThreads']=[];}['init'](){const _0x55580a=this['editor'];_0x55580a['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x20f65d,!0x0)),_0x55580a['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x3fef8f=this['_createCommentsArchiveButton'](_0x56e38a);return _0x3fef8f['set']({'role':'menuitemcheckbox'}),_0x3fef8f;});const _0x117e1c=_0x55580a['plugins']['get'](p),_0x30c1c8=_0x55580a['plugins']['get']('Annotations'),_0x19dd8a=_0x55580a['plugins']['get']('CommentsRepository');this['listenTo'](_0x117e1c['archivedThreads'],'add',(_0x4b6df6,_0x1ef583)=>{const _0x15e364=_0x55580a['config']['get']('collaboration.channelId');if(!_0x15e364||_0x1ef583['channelId']===_0x15e364){const _0x2a59c2=_0x19dd8a['_threadToController']['get'](_0x1ef583);if(!_0x2a59c2)return void this['_pendingThreads']['push'](_0x1ef583);const _0x24b004=this['_calculatePosition'](_0x1ef583['archivedAt']),_0x5220f0=_0x30c1c8['getByInnerView'](_0x2a59c2['view']);_0x5220f0['isVisible']&&_0x30c1c8['_visibleAnnotations']['remove'](_0x5220f0),this['annotationViews']['add'](_0x5220f0['view'],_0x24b004);}}),this['listenTo'](_0x30c1c8['collection'],'add',(_0x1ad015,_0x6a0163)=>{const _0x48c085=this['_pendingThreads']['find'](_0xb78b35=>{const _0x413aab=_0x19dd8a['_threadToController']['get'](_0xb78b35);return _0x413aab&&_0x6a0163['innerView']===_0x413aab['view'];});if(_0x48c085){const _0x1474dc=this['_calculatePosition'](_0x48c085['archivedAt']);this['annotationViews']['add'](_0x6a0163['view'],_0x1474dc),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x48c085),0x1);}}),this['listenTo'](_0x117e1c['archivedThreads'],'remove',(_0x142384,_0x193de6)=>{const _0x44aade=_0x55580a['config']['get']('collaboration.channelId');if(!_0x44aade||_0x193de6['channelId']===_0x44aade){const _0xde0a81=_0x19dd8a['_threadToController']['get'](_0x193de6),_0x171b60=_0x30c1c8['getByInnerView'](_0xde0a81['view']);this['annotationViews']['remove'](_0x171b60['view']),this['stopListening'](_0x171b60['focusableElements']);}}),this['listenTo'](_0x19dd8a,'escapeThread',(_0x2aedc4,{threadId:_0x5246b6,channelId:_0x3a0692})=>{if(_0x3a0692!==_0x55580a['config']['get']('collaboration.channelId'))return;if(!_0x19dd8a['getCommentThread'](_0x5246b6)['archivedAt'])return;const _0x371179=_0x55580a['plugins']['get']('Dialog');_0x371179['isOpen']&&'commentsArchive'===_0x371179['id']&&_0x371179['hide']();});}['_calculatePosition'](_0x2f407a){const _0x1969f9=this['editor']['config']['get']('collaboration.channelId'),_0x12d966=[...this['editor']['plugins']['get'](p)['archivedThreads']]['filter'](_0x56bbe7=>_0x56bbe7['channelId']===_0x1969f9)['findIndex'](_0x1ae190=>_0x1ae190['archivedAt']<_0x2f407a);return _0x12d966<0x0||_0x12d966>this['annotationViews']['length']?this['annotationViews']['length']:_0x12d966-0x1;}['_toggleDialog'](){const _0x3c1b2d=this['editor'],_0x109a92=_0x3c1b2d['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new Y(_0x3c1b2d['locale'],this['annotationViews'])),'commentsArchive'===_0x109a92['id']?_0x109a92['hide']():_0x109a92['show']({'id':'commentsArchive','title':S(_0x3c1b2d['locale'],'COMMENTS_ARCHIVE'),'icon':X,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x3fd95b['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x24abd6,_0x59b1e3=!0x1){const _0x23bbf4=this['editor']['locale'],_0x309d15=this['editor']['plugins']['get']('Dialog'),_0x12c5e5=new _0x24abd6(_0x23bbf4);return _0x12c5e5['bind']('isEnabled')['to'](this,'isEnabled'),_0x12c5e5['bind']('isOn')['to'](_0x309d15,'id',_0x496fe5=>'commentsArchive'===_0x496fe5),_0x12c5e5['set']({'label':S(_0x23bbf4,'COMMENTS_ARCHIVE'),'icon':X,'isToggleable':!0x0}),_0x59b1e3&&(_0x12c5e5['tooltip']=!0x0),this['listenTo'](_0x12c5e5,'execute',()=>this['_toggleDialog']()),_0x12c5e5;}}class f extends _0x398930{static get['requires'](){return[m,r,s,p,a,e,n,i,c];}static get['pluginName'](){return'Comments';}}export{T as AnnotationView,_ as Annotations,j as AnnotationsUIs,es as BaseCommentThreadView,ns as BaseCommentView,se as Comment,ee as CommentThread,yt as CommentThreadController,xt as CommentThreadInputView,At as CommentThreadView,Ct as CommentView,f as Comments,kt as CommentsListView,e as CommentsOnly,m as CommentsRepository,s as CommentsUI,b as EditorAnnotations,c as InlineAnnotations,i as NarrowSidebar,n as WideSidebar};
|
|
23
|
+
import{Editor as _0x46b696,icons as _0x42bb62,ContextPlugin as _0x5f0d71,PendingActions as ht,Context as _0x2d22ac,Command as _0x3db398,Plugin as _0x177a25}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x50579b,uid as _0x1dfa77,KeystrokeHandler as Et,FocusTracker as _0x115568,diff as _0x5028b1,Collection as _0x203f54,Rect as _0x589f05,CKEditorError as _0x563a76,priorities as Wt,scrollViewportToShowTarget as tt,getEnvKeystrokeText as _0x11fe72,toUnit as Ht,DomEmitterMixin as _0xe860c,keyCodes as _0x1f605a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{UserView as _0x43818c,AriaDescriptionView as _0x4d6a5d,setupThreadKeyboardNavigation as _0x2500eb,ConfirmMixin as ti,LateFocusButtonView as _0x24beeb,trimHtml as _0x47a19d,LateFocusDropdownButtonView as _0x518fe8,Users as ut,getDateTimeFormatter as dt,hashObject as lt,getAllMarkersDomElementsSorted as rt,surroundingMarkersDetector as et,ENTER_THREAD_KEYSTROKE as ot}from'ckeditor5-collaboration/dist/index.js';import{throttle as Dt,isEqual as pt,cloneDeep as ft,set as It,unset as wt,debounce as _0x14b97d}from'lodash-es';import{EditorUIView as tr,InlineEditableUIView as Zt,EditorUI as Xt,View as _t,FocusCycler as Ft,ButtonView as _0x4469aa,ViewCollection as _0x140a86,createDropdown as _0x3fdbcf,ListView as _0x39ee07,focusChildOnDropdownOpen as _0x4d5fb1,ListItemView as _0x3de579,MenuBarMenuListItemButtonView as _0x5c9c2c,BodyCollection as _0x5ec562,BalloonPanelView as _0x521cf3,ContextualBalloon as _0x1bd404,Dialog as _0x386bba,DialogViewPosition as _0x1d08e2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{disablePlaceholder as Bt,enablePlaceholder as zt,MouseObserver as _0x3f137d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{Clipboard as Gt,ClipboardMarkersUtils as Mt,ClipboardPipeline as Pt}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Enter as Jt,ShiftEnter as Kt}from'@ckeditor/ckeditor5-enter/dist/index.js';import{SelectAll as Nt}from'@ckeditor/ckeditor5-select-all/dist/index.js';import{Typing as Qt}from'@ckeditor/ckeditor5-typing/dist/index.js';import{Undo as Rt}from'@ckeditor/ckeditor5-undo/dist/index.js';import{Paragraph as St}from'@ckeditor/ckeditor5-paragraph/dist/index.js';class yt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x50579b(){['model'];['view'];constructor(_0x3c8317,_0xc2650f){super(),this['model']=_0x3c8317,this['model']['_isAttached']=!0x0,this['view']=_0xc2650f,this['listenTo'](_0xc2650f,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0xc2650f,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0xc2650f,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0xc2650f,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0xc2650f,'addComment',(_0x30ce7a,_0x18cfe0)=>this['addComment'](_0x18cfe0)),this['listenTo'](_0xc2650f,'updateComment',(_0x95aff2,_0x64037e,_0x5b73aa)=>this['updateComment'](_0x64037e,_0x5b73aa)),this['listenTo'](_0xc2650f,'removeComment',(_0x188279,_0x3cc07d)=>this['removeComment'](_0x3cc07d));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x5793e4){this['model']['addComment']({'content':_0x5793e4,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x1d70d3,_0x3acb82){this['model']['getComment'](_0x1d70d3)['update']({'content':_0x3acb82});}['removeComment'](_0x55733b){this['model']['getComment'](_0x55733b)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function S(_0x5a8ddc,_0x2900bf,_0x47fd10){const t=_0x5a8ddc['t'];switch(_0x2900bf){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'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x47fd10);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x47fd10);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x47fd10);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x47fd10);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x47fd10);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'},_0x47fd10);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'},_0x47fd10);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'},_0x47fd10);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'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}class Yt extends tr{['main'];['editable'];constructor(_0xba4a2b,_0x4bea8e){super(_0xba4a2b);const _0x33806f=_0x1dfa77();this['main']=this['createCollection'](),this['editable']=new Zt(_0xba4a2b,_0x4bea8e,void 0x0,{'label':()=>S(_0xba4a2b,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0xba4a2b['uiLanguageDirection'],'lang':_0xba4a2b['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x33806f},'children':[{'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']();}}class Ot extends Xt{['view'];constructor(_0x5b6411){super(_0x5b6411),this['view']=new Yt(_0x5b6411['locale'],_0x5b6411['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x13cb48=this['editor']['editing']['view'],_0x22e070=this['view']['editable'],_0x39b954=_0x13cb48['document']['getRoot']();_0x22e070['name']=_0x39b954['rootName'],this['view']['render']();const _0x52c052=_0x22e070['element'];this['setEditableElement'](_0x22e070['name'],_0x52c052),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x13cb48['attachDomRoot'](_0x52c052),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const Ut=[Gt,Jt,Kt,Nt,Qt,Rt,St];class Vt extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x50579b(_0x46b696){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
|
|
26
|
+
((()=>Ut)());constructor(_0x50d188={}){(_0x50d188=Object['assign']({},_0x50d188))['plugins']||(_0x50d188['plugins']=Vt['defaultPlugins']),super(_0x50d188),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 _0x550376=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x550376))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x9de6d9=>{const _0x21f4c4=this['model']['document']['getRoot'](),_0x57a81d=_0x21f4c4&&_0x21f4c4['getChild'](_0x21f4c4['childCount']-0x1);_0x9de6d9['setSelection'](_0x57a81d,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x1bd2f2=this['editing']['view'],_0x1e8d9b=_0x1bd2f2['document']['getRoot'](),_0x914a16=_0x1e8d9b['getChild'](0x0);_0x1e8d9b['childCount']>0x1||!_0x914a16||'p'!=_0x914a16['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(Bt(_0x1bd2f2,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x914a16['placeholder']=this['placeholder']),zt({'view':_0x1bd2f2,'element':_0x914a16,'keepOnFocus':!0x0}),this['placeholderElement']=_0x914a16);}}class rs extends _t{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x3b33c7,_0x54db14={}){super(_0x3b33c7),this['editor']=null,this['_editorConfig']=_0x54db14,this['set']('value',_0x54db14['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',S(_0x3b33c7,'Reply...')),this['set']('submitLabel',S(_0x3b33c7,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new Et(),this['focusTracker']=new _0x115568(),this['focusCycler']=new Ft({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),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',(_0x5f3ec6,_0x543018)=>{this['cancelButtonView']['fire']('execute'),_0x543018();}),this['keystrokes']['set']('Ctrl+Enter',(_0x5d6eb0,_0x514156)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x514156());}),this['on']('submit',(_0x46e4da,_0x4cd063)=>{_0x4cd063['length']>0xfde8?(alert(S(_0x3b33c7,'TOO_LONG_COMMENT_ALERT',[_0x4cd063['length'],0xfde8])),_0x46e4da['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new Vt(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x247ab4=this['editor'];this['element']['insertBefore'](_0x247ab4['ui']['element'],this['element']['firstChild']),_0x247ab4['model']['document']['on']('change',()=>this['value']=_0x247ab4['getData']()),_0x247ab4['bind']('placeholder')['to'](this),this['focusables']['add'](_0x247ab4['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x596513){-0x1===_0x596513?(this['focusCycler']['focusFirst'](),this['focusCycler']['focusLast']()):this['focusCycler']['focusFirst']();}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:_0x4dfb7d}=this,_0x4c9c2d=new _0x4469aa(_0x4dfb7d);return _0x4c9c2d['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x4c9c2d['withText']=!0x0,_0x4c9c2d['bind']('label')['to'](this,'submitLabel'),_0x4c9c2d['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x4c9c2d['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x6c03e3,_0x35b07f)=>!_0x35b07f&&!!_0x6c03e3['trim']()),_0x4c9c2d;}['_createCancelButton'](){const {locale:_0x2defec}=this,_0x58ec63=new _0x4469aa(_0x2defec);return _0x58ec63['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x58ec63['label']=S(_0x2defec,'Cancel'),_0x58ec63['withText']=!0x0,_0x58ec63['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x58ec63;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x4a6c4e=>{this['focusTracker']['add'](_0x4a6c4e['element']);}),this['focusables']['on']('change',(_0x5ded69,_0x560522)=>{for(const _0x32f14d of Array['from'](_0x560522['added'])['reverse']())this['focusTracker']['add'](_0x32f14d['element']);});}}class xt extends _t{constructor(_0x491b01,_0xb6cf0a,_0x5163d6){super(_0x491b01),this['commentInputView']=new rs(_0x491b01,_0x5163d6),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x3fb7c1,_0x3b13d8)=>_0x3fb7c1||!!_0x3b13d8),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 _0x43818c(_0x491b01,_0xb6cf0a),this['userView']['extendTemplate']({'attributes':{'class':'ck-thread__user','aria-hidden':!0x0}}),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']]});}['render'](){super['render'](),this['_focusOnNonInteractiveMouseDown']();}['destroy'](){return this['commentInputView']['destroy']()['then'](()=>super['destroy']());}['focus'](_0x86cb88){this['commentInputView']['focus'](_0x86cb88);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x2d8f22,_0x254382)=>{const {submitButtonView:_0x2f7209,cancelButtonView:_0x2d5c11,editor:_0x116a7b}=this['commentInputView'];[_0x2f7209['element'],_0x2d5c11['element'],_0x116a7b?_0x116a7b['editing']['view']['getDomRoot']():null]['filter'](_0x52694c=>_0x52694c)['some'](_0x30919f=>_0x30919f['contains'](_0x254382['target']))||(this['focus'](),_0x254382['preventDefault']());});}}class cs extends _t{constructor(_0x10efc5){super(_0x10efc5);const _0x24f5d2=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x24f5d2['to']('count',_0x1d549b=>S(_0x10efc5,'NUMBER_OF_COMMENTS',_0x1d549b))}]});}}class kt extends _t{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0xf1d697,_0x30ea98,_0x437044){super(_0xf1d697);const _0x7da782=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x30ea98['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x30ea98,this['_config']=_0x437044,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x115568(),this['keystrokes']=new Et(),this['focusCycler']=new Ft({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x222837=>this['commentViews']['map'](_0x5b8a8c=>_0x5b8a8c['element'])['includes'](_0x222837['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new cs(_0xf1d697),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x544df9=>_0x544df9-this['_config']['maxCommentsWhenCollapsed']);for(const _0x364ee7 of _0x30ea98['comments'])this['_handleNewCommentModel'](_0x364ee7);this['_handleInfoComment'](),this['listenTo'](_0x30ea98['comments'],'add',(_0x314c7d,_0x3b6f1d)=>{const _0x399966=this['_calculatePosition'](_0x3b6f1d);this['length']++,this['_handleNewCommentModel'](_0x3b6f1d,_0x399966),this['refreshVisibleViews']();}),this['listenTo'](_0x30ea98['comments'],'remove',(_0x4cab32,_0x54de60)=>{this['length']--,this['_handleRemoveCommentModel'](_0x54de60),this['refreshVisibleViews']();}),this['listenTo'](_0x30ea98,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x30ea98,'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',_0x7da782['if']('length','ck-hidden',_0x533d49=>!_0x533d49)],'aria-label':S(_0xf1d697,'Thread\x20comments')},'children':this['visibleViews']});}get['_shouldCollapse'](){return this['_model']['weight']>this['_config']['maxThreadTotalWeight']&&!this['isActive']&&!this['hasDirtyComment'];}['render'](){super['render'](),this['refreshVisibleViews'](),this['_setupKeyboardNavigation']();}['focus'](_0x28cbc1){-0x1===_0x28cbc1?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x367737 of this['commentViews'])_0x367737['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x38bd4d,_0x4a22af){const _0x52aa52=new this['_config']['CommentView'](this['locale'],_0x38bd4d,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x52aa52['viewUid']=_0x38bd4d['id'],_0x52aa52['delegate']('removeComment')['to'](this),_0x52aa52['delegate']('updateComment')['to'](this),_0x52aa52['delegate']('resolveCommentThread')['to'](this),_0x52aa52['delegate']('editorReady')['to'](this),_0x52aa52['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x52aa52,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x52aa52,_0x4a22af);}['_calculatePosition'](_0xaa00bd){const _0x3d426d=this['_model']['_findOptimalIndex'](_0xaa00bd);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0xaa00bd['authoredAt']?_0x3d426d-0x1:_0x3d426d:_0x3d426d-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x16b0f5={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':S(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x16b0f5,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x16b0f5));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x5265fd){const _0x1e7d32=this['commentViews']['remove'](_0x5265fd['id']);this['stopListening'](_0x1e7d32),_0x1e7d32['isEditMode']&&this['_updateHasDirtyComment'](),_0x1e7d32['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x14668e=>_0x14668e['isEditMode']);}['_rearrangeCollapse'](){const _0x44ce58=function(_0x4e7039){const _0x40bb79=new _0x203f54();for(const _0xf35362 of _0x4e7039)_0x40bb79['add'](_0xf35362);return _0x40bb79;}(this['commentViews']),_0x2d9f65=this['_collapsedCommentsView']['count'];for(let _0x14ab97=0x1;_0x14ab97<=_0x2d9f65;_0x14ab97++)_0x44ce58['remove'](0x1);for(const _0x146d21 of _0x44ce58)_0x146d21['collapse']();_0x2d9f65>0x0&&_0x44ce58['add'](this['_collapsedCommentsView'],0x1),ms(_0x5028b1(Array['from'](this['visibleViews']),Array['from'](_0x44ce58)),this['visibleViews'],_0x44ce58);}['_rearrangeExpand'](){ms(_0x5028b1(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x292df7 of this['visibleViews'])_0x292df7['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x20eded=>{this['focusTracker']['add'](_0x20eded['element']),this['keystrokes']['listenTo'](_0x20eded['element']);}),this['commentViews']['on']('change',(_0x8b9cfd,_0x57b460)=>{for(const _0x2c9e80 of _0x57b460['removed'])this['focusTracker']['remove'](_0x2c9e80['element']),this['keystrokes']['stopListening'](_0x2c9e80['element']);for(const _0x3fd804 of Array['from'](_0x57b460['added'])['reverse']())this['focusTracker']['add'](_0x3fd804['element']),this['keystrokes']['listenTo'](_0x3fd804['element']);});}}function ms(_0x32fefc,_0x59e901,_0x3d47aa){let _0x328132=0x0;for(const _0x46595e of _0x32fefc)switch(_0x46595e){case'insert':_0x59e901['add'](_0x3d47aa['get'](_0x328132),_0x328132),_0x328132++;break;case'delete':_0x59e901['remove'](_0x328132);break;case'equal':_0x328132++;}}class ls extends _t{constructor(_0x3f1129){super(_0x3f1129);const _0x5c5e55=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x5c5e55['to']('contextValue',_0x5b3831=>S(_0x3f1129,'THREAD_CONTEXT_LABEL',_0x5b3831)),'tabindex':-0x1},'children':[{'text':_0x5c5e55['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class ts extends _t{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0xfb5925,_0x473803){super(_0xfb5925);const _0x10e0a9=this['bindTemplate'];this['_model']=_0x473803,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x115568(),this['keystrokes']=new Et(),this['focusCycler']=new Ft({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x1d72ac=>!!_0x1d72ac),this['bind']('contextValue')['to'](this['_model'],'context',_0x109122=>_0x109122&&_0x109122['value']?this['_trimContextValue'](_0x109122['value']):S(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',_0x10e0a9['if']('hasContext','ck-context--quotes')]},'children':[this['contextView']]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}['render'](){super['render'](),this['_attachContextActions'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_createReopenButton'](){const _0x4f47cd=new _0x4469aa(this['locale']);return _0x4f47cd['label']=S(this['locale'],'Reopen'),_0x4f47cd['tooltip']=S(this['locale'],'Reopen'),_0x4f47cd['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>',_0x4f47cd['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x178f8f=>!_0x178f8f),_0x4f47cd['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x3bb805,_0x335587)=>_0x3bb805&&_0x335587),_0x4f47cd['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x4f47cd;}['_trimContextValue'](_0x4a6081){if(_0x4a6081['length']<0x96)return _0x4a6081;const _0x4f385f=_0x4a6081['lastIndexOf']('\x20',0x93);return _0x4a6081['substring'](0x0,_0x4f385f>-0x1?_0x4f385f:0x93)+'...';}['_attachContextActions'](){const _0x2dce14=this['element']['querySelector']('.ck-context'),_0x2f4ec2=_0x2dce14['querySelector']('.ck-context__value');this['listenTo'](_0x2dce14,'mouseenter',()=>{_0x2f4ec2['offsetWidth']<_0x2f4ec2['scrollWidth']&&_0x2dce14['classList']['add']('overlay');}),this['listenTo'](_0x2dce14,'mouseleave',()=>{_0x2dce14['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0xf92fa6 of this['focusables'])this['focusTracker']['add'](_0xf92fa6['element']),this['keystrokes']['listenTo'](_0xf92fa6['element']);}['_createContextView'](){const _0x26b414=new ls(this['locale']);return _0x26b414['bind']('contextValue')['to'](this),_0x26b414;}}class es extends _t{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x13628c,_0x87e3b5,_0x52cf60,_0x4b14f4){super(_0x13628c),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x87e3b5,this['_localUser']=_0x52cf60,this['_config']=_0x4b14f4,this['commentThreadHeaderView']=new ts(_0x13628c,_0x87e3b5),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new _0x4d6a5d(_0x13628c,S(_0x13628c,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new kt(_0x13628c,_0x87e3b5,Object['assign']({'CommentView':this['_config']['CommentView']},_0x4b14f4)),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',(_0x27ac18,_0xcccba4)=>_0x27ac18||!!_0xcccba4),this['bind']('isUnlinked')['to'](_0x87e3b5,'unlinkedAt',_0x5cdf46=>!!_0x5cdf46),this['bind']('ariaLabel')['to'](this,'length',_0x8471c=>{const _0x2c7554=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return S(this['locale'],'COMMENT_THREAD_LABEL',[_0x8471c,_0x2c7554]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x115568(),this['keystrokes']=new Et(),this['focusCycler']=new Ft({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0xfcaa03=>_0xfcaa03['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),_0x2500eb(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x1cd99d=new xt(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x453b22=_0x1cd99d['commentInputView'];return _0x1cd99d['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x453b22,'value',(_0xc922cf,_0x3810a4,_0x262d7c,_0x2722a2,_0x497ff3)=>!!_0x497ff3||!!_0x2722a2&&_0x262d7c&&!_0x3810a4||_0xc922cf&&_0x262d7c&&!_0x3810a4),_0x453b22['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x26a3e4,_0x17e9fc,_0x1ac35e)=>{let _0x857f2f;return _0x857f2f=_0x1ac35e&&_0x17e9fc?'Reply\x20to\x20reopen\x20discussion...':_0x26a3e4?'Reply...':'Write\x20a\x20comment...',S(this['locale'],_0x857f2f);}),_0x453b22['bind']('submitLabel')['to'](this,'length',_0x56f358=>S(this['locale'],_0x56f358?'Reply':'Comment')),_0x453b22['on']('submit',(_0x3e3048,_0x3fa167)=>{this['fire']('addComment',_0x3fa167),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x453b22['on']('cancel',()=>{this['focus']();}),_0x453b22['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x453b22['on']('cancel',_0x3008cf=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x3008cf['stop']());}),this['on']('change:isActive',(_0x2bd89d,_0x5499f2,_0x429814)=>{_0x429814||this['length']||_0x453b22['value']||this['fire']('removeCommentThread');}),_0x1cd99d;}}class At extends/* #__PURE__ -- @preserve */
|
|
27
|
+
ti(es){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x1bf7a9,_0x76174f,_0x3a173e,_0x17fdfc){super(_0x1bf7a9,_0x76174f,_0x3a173e,_0x17fdfc),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x1bf7a9,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0xeb163e,_0x5b5f43,_0x328e8f)=>{_0x328e8f||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x40367d,_0x55e6b5,_0x420ccd)=>{_0x420ccd&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x315d52=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x315d52['if']('isActive','ck-thread--active'),_0x315d52['if']('isUnlinked','ck-thread--unlinked'),_0x315d52['if']('isConfirm','ck-thread--remove-confirmation'),_0x315d52['to']('actionIndicator',_0x5a6dc9=>_0x5a6dc9?'ck-thread--'+_0x5a6dc9:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x315d52['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}['render'](){super['render'](),this['containerElement']=this['element']['querySelector']('.ck-thread__container'),this['_model']['on']('change:archivedAt',()=>{this['_updateArchivedThreadHeader']();}),this['_updateArchivedThreadHeader']();}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x1e2539 of this['commentsListView']['commentViews'])_0x1e2539['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x581e71}=this,_0x103909=this['commentsListView']['commentViews']['get'](0x0);_0x103909===this['_boundFirstCommentView']||_0x103909['isSystemComment']||(this['_boundFirstCommentView']=_0x103909,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x103909,'actionIndicator',_0x17f5cc=>'remove'===_0x17f5cc?'remove':null),_0x103909['placeholder']=S(_0x581e71,'Write\x20a\x20comment...'),_0x103909['removeButton']['on']('execute',_0x173b0a=>{_0x173b0a['stop'](),this['showConfirm'](S(_0x581e71,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x103909['focus']();}),_0x103909['actionBar']['add'](this['resolveButton'],0x0),_0x103909['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x561bc5=new _0x24beeb(this['locale']);return _0x561bc5['label']=S(this['locale'],'Resolve'),_0x561bc5['tooltip']=S(this['locale'],'Resolve'),_0x561bc5['icon']=_0x42bb62['check'],_0x561bc5['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x561bc5['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x17ab64=>!_0x17ab64),_0x561bc5['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x3e0c27,_0x33e971)=>_0x3e0c27&&!_0x33e971),_0x561bc5['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x561bc5;}['_updateArchivedThreadHeader'](){this['_model']['archivedAt']?this['commentThreadChildren']['has'](this['commentThreadHeaderView'])||(this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this['focusables']['add'](this['commentThreadHeaderView'],0x0)):this['commentThreadChildren']['has'](this['commentThreadHeaderView'])&&(this['commentThreadChildren']['remove'](this['commentThreadHeaderView']),this['focusables']['remove'](this['commentThreadHeaderView']));}}class os extends _t{constructor(_0x421d08){super(_0x421d08),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x33b5af,_0x5c5e80,_0x128e9d)=>{this['element']['innerHTML']=_0x128e9d;}),this['element']['innerHTML']=this['content'];}}class ns extends _t{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x1130ab,_0xe4d398,_0x4c5769){super(_0x1130ab),this['_model']=_0xe4d398,this['_config']=_0x4c5769,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0xe4d398,'content',_0xe4d398,'authoredAt',(_0x4c39d8,_0x248cdf)=>S(_0x1130ab,'COMMENT_ARIA_LABEL',[_0xe4d398['author']['name'],_0x4c5769['formatDateTime'](_0x248cdf),new DOMParser()['parseFromString'](_0x4c39d8,'text/html')['body']['textContent'],_0xe4d398['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new _0x4d6a5d(_0x1130ab,S(_0x1130ab,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new _0x140a86(),this['focusTracker']=new _0x115568(),this['keystrokes']=new Et(),this['focusCycler']=new Ft({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x5b3c48=>_0x5b3c48['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['expand'](){this['isCollapsed']=!0x1;}['collapse'](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['_setupKeyboardNavigation']();}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']()));}['getExternalCommentNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?S(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):S(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?S(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):S(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x3c0159=new os(this['locale']);return _0x3c0159['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x18418d,_0x2ea553)=>_0x2ea553?_0x47a19d(_0x18418d,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x18418d),_0x3c0159;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x281c6d=new rs(this['locale'],this['_config']['editorConfig']);return _0x281c6d['value']=this['_model']['content'],_0x281c6d['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x281c6d['submitLabel']=S(this['locale'],'Save'),_0x281c6d['on']('submit',(_0x58455c,_0x28d7b9)=>{this['fire']('updateComment',this['_model']['id'],_0x28d7b9),this['switchToDisplayMode'](),this['focus']();}),_0x281c6d['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x281c6d['once']('editorReady',()=>{_0x281c6d['focus']();}),_0x281c6d['createEditor'](),_0x281c6d['delegate']('editorReady')['to'](this),_0x281c6d['delegate']('editorDestroyed')['to'](this),_0x281c6d;}['_setupKeyboardNavigation'](){const _0x5d8326=this['element'];this['keystrokes']['listenTo'](_0x5d8326);for(const _0x10e969 of this['focusables'])this['focusTracker']['add'](_0x10e969['element']),this['keystrokes']['listenTo'](_0x10e969['element']);this['focusables']['on']('change',(_0xc3da38,_0x51cb59)=>{for(const _0x2f3d82 of _0x51cb59['removed'])this['focusTracker']['remove'](_0x2f3d82['element']),this['keystrokes']['stopListening'](_0x2f3d82['element']);for(const _0x4b50b9 of _0x51cb59['added'])this['focusTracker']['add'](_0x4b50b9['element']),this['keystrokes']['listenTo'](_0x4b50b9['element']);}),this['keystrokes']['set']('enter',(_0x2522ba,_0x2b9a03)=>{_0x5d8326===_0x2522ba['target']&&(this['focusCycler']['focusFirst'](),_0x2b9a03());}),this['keystrokes']['set']('esc',(_0x1b2d30,_0xe747f0)=>{_0x5d8326!==_0x1b2d30['target']&&(this['focus'](),_0xe747f0());});}}class Ct extends/* #__PURE__ -- @preserve */
|
|
28
|
+
ti(ns){['actionBar'];['userView'];constructor(_0x47fee0,_0x539aa4,_0x2248e9){super(_0x47fee0,_0x539aa4,_0x2248e9),this['set']('actionIndicator',null),this['set']('placeholder',S(_0x47fee0,'Reply...')),this['bind']('authoredAt')['to'](_0x539aa4),this['bind']('resolvedAt')['to'](_0x539aa4),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['focusables']['add'](this['dropdown'])),this['userView']=new _0x43818c(_0x47fee0,_0x539aa4['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x539aa4,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x58a7d2=this['bindTemplate'],_0xb2746f=[{'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':_0x58a7d2['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x58a7d2['to']('authoredAt',_0x17d277=>this['_config']['formatDateTime'](_0x17d277))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x58a7d2['if']('isEditMode','ck-comment__actions--hidden'),_0x58a7d2['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']},this['ariaDescriptionView']];return this['_model']['isExternal']&&_0xb2746f['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x58a7d2['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1,'aria-label':_0x58a7d2['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x58a7d2['if']('isEditMode','ck-comment--edit'),_0x58a7d2['if']('isSystemComment','ck-comment--info'),_0x58a7d2['to']('actionIndicator',_0x2a188c=>_0x2a188c?'ck-comment--'+_0x2a188c:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this['_model']['id'],'role':'group'},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':_0xb2746f}]}]};}['_createEditButton'](){const _0x4b216d=new _0x4469aa(this['locale']);return _0x4b216d['label']=S(this['locale'],'Edit'),_0x4b216d['icon']=_0x42bb62['pencil'],_0x4b216d['withText']=!0x0,_0x4b216d['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x4b216d['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x40195b=>!_0x40195b),_0x4b216d['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x4b216d['on']('execute',()=>this['switchToEditMode']()),_0x4b216d;}['_createRemoveButton'](){const _0x1ef51b=new _0x4469aa(this['locale']);return _0x1ef51b['label']=S(this['locale'],'Remove'),_0x1ef51b['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',_0x1ef51b['withText']=!0x0,_0x1ef51b['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x1ef51b['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1ab6d2=>!_0x1ab6d2),_0x1ef51b['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x1ef51b['on']('execute',()=>{this['showConfirm'](S(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x1ef51b;}['_createDropdown'](){const _0x22297c=_0x3fdbcf(this['locale'],_0x518fe8),_0x483b8a=_0x22297c['panelView']['children'],_0x355999=new _0x39ee07(this['locale']),_0x2e88fc=_0x22297c['bindTemplate'];_0x4d5fb1(_0x22297c,()=>this['items']['find'](_0x21c8d2=>_0x21c8d2['isVisible'])),_0x22297c['extendTemplate']({'attributes':{'class':[_0x2e88fc['if']('isVisible','ck-hidden',_0x348d13=>!_0x348d13)]}});const _0xf3dea1=(_0x39632f,_0x25ea83=-0x1)=>{const _0x5bf816=new _0x3de579(this['locale']);_0x5bf816['children']['add'](_0x39632f);const _0x61c8a3=_0x25ea83>-0x1?_0x25ea83:_0x355999['items']['length'];_0x355999['items']['add'](_0x5bf816,_0x61c8a3);const _0x11a9f1=Array['from'](this['items']);_0x22297c['unbind']('isEnabled','isVisible'),_0x22297c['bind']('isEnabled')['toMany'](_0x11a9f1,'isEnabled',(..._0x5b5f29)=>_0x5b5f29['some'](_0x466fb7=>_0x466fb7)),_0x22297c['bind']('isVisible')['toMany'](_0x11a9f1,'isVisible',(..._0x2a1a58)=>_0x2a1a58['some'](_0x54801c=>_0x54801c));};_0x22297c['panelPosition']='sw',_0x22297c['buttonView']['set']({'label':S(this['locale'],'Show\x20more\x20items'),'icon':_0x42bb62['threeVerticalDots']}),_0x22297c['isEnabled']=[...this['items']]['some'](_0x34d4c8=>_0x34d4c8['isEnabled']),_0x22297c['buttonView']['isVisible']=[...this['items']]['some'](_0x2fd969=>_0x2fd969['isVisible']);for(const _0x5103a7 of this['items'])_0xf3dea1(_0x5103a7);return _0x483b8a['add'](_0x355999),_0x22297c['listenTo'](this['items'],'add',(_0x42faff,_0x1f7b9c,_0x443ec4)=>{_0xf3dea1(_0x1f7b9c,_0x443ec4);}),_0x22297c['listenTo'](this['items'],'remove',(_0x1b87ab,_0x4c7cd0,_0x177e86)=>{_0x355999['items']['remove'](_0x177e86);}),_0x22297c;}['_attachActions'](_0xfd1c6a,_0x1dbaf3){const _0x35b03=_0xfd1c6a&&_0xfd1c6a['element'];_0x35b03&&(this['listenTo'](_0x35b03,'mouseenter',()=>this['actionIndicator']=_0x1dbaf3),this['listenTo'](_0x35b03,'focus',()=>this['actionIndicator']=_0x1dbaf3),this['listenTo'](_0x35b03,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x35b03,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x292cf7=super['_createCommentInputView']();return _0x292cf7['bind']('placeholder')['to'](this),_0x292cf7;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function Lt(_0x1cd4a8){const _0x397063=Dt(_0x1cd4a8,0x1e),_0x1eb241=new MutationObserver(_0x34c45d=>{for(const _0x537edd of _0x34c45d)('attributes'==_0x537edd['type']&&'class'==_0x537edd['attributeName']||'childList'==_0x537edd['type']||'characterData'==_0x537edd['type'])&&_0x397063();});return{'attach'(_0x431a6e){_0x1eb241['observe'](_0x431a6e,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x1eb241['disconnect'](),_0x397063['cancel']();}};}class T extends _t{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x485824,_0x3e9169){super(_0x485824),this['id']=_0x1dfa77(),this['focusTracker']=new _0x115568(),this['keystrokes']=new Et(),this['keystrokes']['set']('Esc',(_0x342614,_0x77bf8f)=>this['fire']('Esc',_0x77bf8f)),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']=Lt(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x3e9169),this['mainView']=_0x3e9169;const _0x1e12f8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x1e12f8['if']('isActive','ck-annotation-wrapper--active')],'role':'presentation'},'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['content']['first']&&this['content']['first']['focus']();}['_updateHeight'](){const _0x1569c8=this['element']['clientHeight'];_0x1569c8&&(this['height']=_0x1569c8);}}class d extends/* #__PURE__ -- @preserve */
|
|
29
|
+
_0x50579b(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x1a3ba7,target:_0x5727c2,type:_0x2d4b1c,isVisible:_0x2cbc20=!0x0}){super(),this['view']=_0x1a3ba7,this['view']['element']||this['view']['render'](),this['_type']=_0x2d4b1c,this['_target']=_0x5727c2,d['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x203f54([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x229492,_0x3a2852)=>{this['view']['focusTracker']['add'](_0x3a2852);}),this['focusableElements']['on']('remove',(_0x1c1762,_0x5adbe3)=>{this['view']['focusTracker']['remove'](_0x5adbe3);}),this['set']('isVisible',_0x2cbc20);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x2c06d5=this['_getNormalizedTarget']();return d['_assertCorrectTarget'](_0x2c06d5),_0x2c06d5;}get['targetRect'](){const _0x562d08=this['target'];if(null===_0x562d08)return null;if(_0x562d08 instanceof _0x589f05)return _0x562d08;const _0x53183f=_0x562d08['filter'](_0x2fd0ff=>function(_0x4b7bb0){const _0x541ee6=_0x4b7bb0['offsetParent'];if(_0x541ee6)return!0x0;const _0x5424bb=_0x4b7bb0['getClientRects']()['item'](0x0);return!!_0x5424bb;}(_0x2fd0ff));return 0x0===_0x53183f['length']?null:new _0x589f05(_0x53183f[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x2a96e7){this['view']['isActive']=_0x2a96e7,this['view']['mainView']['isActive']=_0x2a96e7;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x12238c){if(!(null===_0x12238c||_0x12238c instanceof _0x589f05||Array['isArray'](_0x12238c)&&_0x12238c['every'](_0x576e0b=>te(_0x576e0b))))throw new _0x563a76('annotation-invalid-target',null,{'target':_0x12238c});}['_getNormalizedTarget'](){const _0xf09da6='function'==typeof this['_target']?this['_target']():this['_target'];return te(_0xf09da6)?[_0xf09da6]:_0xf09da6;}}function te(_0x37bf7a){return null!==_0x37bf7a&&'object'==typeof _0x37bf7a&&'nodeType'in _0x37bf7a&&0x1===_0x37bf7a['nodeType'];}class x extends _0x203f54{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x57f5b6=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x115568(),this['_focusTracker']['on']('change:isFocused',(_0x29d36e,_0x21ded2,_0x2c7aef)=>{_0x2c7aef||this['fire']('blur');});for(const _0x3772e2 of _0x57f5b6)this['add'](_0x3772e2);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x3cacb2){if(this['has'](_0x3cacb2))throw new _0x563a76('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x3cacb2['innerView'],_0x3cacb2),this['_viewToAnnotation']['set'](_0x3cacb2['view'],_0x3cacb2);for(const _0x5584cd of _0x3cacb2['focusableElements'])this['_focusTracker']['add'](_0x5584cd);this['listenTo'](_0x3cacb2['focusableElements'],'add',(_0x6aa239,_0x50333e)=>{this['_focusTracker']['add'](_0x50333e);}),this['listenTo'](_0x3cacb2['focusableElements'],'remove',(_0x5ef688,_0x39aeda)=>{this['_focusTracker']['remove'](_0x39aeda);}),this['listenTo'](_0x3cacb2['view']['focusTracker'],'change:isFocused',(_0x4e2382,_0x159739,_0x21af0e)=>{_0x21af0e&&this['fire']('focus',_0x3cacb2);}),_0x3cacb2['updateTargetRect']();const _0x4d96fc=this['_getOrderInContent'](_0x3cacb2['view']['targetRect']);return super['add'](_0x3cacb2,_0x4d96fc);}['remove'](_0x44e468){if(!this['has'](_0x44e468))throw new _0x563a76('annotationcollection-not-existing-item',null);this['stopListening'](_0x44e468['view']['focusTracker']),this['stopListening'](_0x44e468['focusableElements']);for(const _0x39b60f of _0x44e468['focusableElements'])this['_focusTracker']['remove'](_0x39b60f);return this['_viewToAnnotation']['delete'](_0x44e468['view']),this['_innerViewToAnnotation']['delete'](_0x44e468['innerView']),super['remove'](_0x44e468);}['getByInnerView'](_0x29dab8){return this['_innerViewToAnnotation']['get'](_0x29dab8);}['getByView'](_0x26f69d){return this['_viewToAnnotation']['get'](_0x26f69d);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x1afffc of this)_0x1afffc['updateTargetRect']();this['_sort']();}['_sort'](){const _0x591347=Array['from'](this)['sort']((_0x303258,_0x3ceab6)=>v(_0x303258['view']['targetRect'],_0x3ceab6['view']['targetRect']));for(let _0x55ea0b=_0x591347['length']-0x1;_0x55ea0b>0x0;_0x55ea0b--){const _0x29f40b=_0x591347[_0x55ea0b];_0x55ea0b!==this['getIndex'](_0x29f40b)&&(this['remove'](_0x29f40b),this['add'](_0x29f40b));}}['_getOrderInContent'](_0x14bf2e){let _0x27b3c0=0x0;if(!_0x14bf2e)return this['length'];for(const _0x17fec0 of this){const _0x9deb3a=_0x17fec0['view']['targetRect'];if(_0x9deb3a){if(v(_0x14bf2e,_0x9deb3a)<0x0)return _0x27b3c0;_0x27b3c0++;}}return _0x27b3c0;}}function v(_0x7c1b65,_0x471563){if(null===_0x7c1b65&&null===_0x471563)return 0x0;if(null===_0x7c1b65)return-0x1;if(null===_0x471563)return 0x1;const _0x3c3a1a=_0x7c1b65['top']-_0x471563['top'];return 0x0==_0x3c3a1a?_0x7c1b65['left']-_0x471563['left']:_0x3c3a1a;}class _ extends _0x5f0d71{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}constructor(_0x297013){if(super(_0x297013),this['collection']=new x(),this['_visibleAnnotations']=new x(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x297013 instanceof _0x46b696){const _0x2a00aa=_0x297013['locale'];_0x297013['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':S(_0x2a00aa,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':S(_0x2a00aa,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':S(_0x2a00aa,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':S(_0x2a00aa,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':S(_0x2a00aa,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':S(_0x2a00aa,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':S(_0x2a00aa,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}}['add'](_0x86a292){this['collection']['add'](_0x86a292);}['remove'](_0x4c515d){this['collection']['remove'](_0x4c515d),_0x4c515d['destroy']();}['refreshVisibility'](){for(const _0x4aa0b5 of this['collection'])_0x4aa0b5['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x3908ab){return this['collection']['getByInnerView'](_0x3908ab);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x4d331f of this['collection'])_0x4d331f['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x557e3d){this['fire']('_activateAnnotation',_0x557e3d);}['createAnnotation'](_0x2c677e){return new d(_0x2c677e);}['createAnnotationView'](_0x2538ab,_0x436a54){return new T(_0x2538ab,_0x436a54);}['_addActiveAnnotation'](_0x1b8c1a){const _0x425886=new Set(this['activeAnnotations']);_0x425886['add'](_0x1b8c1a),this['activeAnnotations']=_0x425886;}['_removeActiveAnnotation'](_0x1fbf57){const _0x19057a=new Set(this['activeAnnotations']);_0x19057a['delete'](_0x1fbf57),this['activeAnnotations']=_0x19057a;}['_bindAnnotationsToVisibleAnnotations'](){const _0x17dddb=this['collection'],_0x4b52f6=this['_visibleAnnotations'];function _0x3f612e(_0x10fa53){const _0x295016=_0x10fa53['source'];_0x295016['isVisible']&&!_0x4b52f6['has'](_0x295016)?_0x4b52f6['add'](_0x295016):!_0x295016['isVisible']&&_0x4b52f6['has'](_0x295016)&&_0x4b52f6['remove'](_0x295016),_0x295016['view']['focusTracker']['remove'](_0x295016['view']['element']),_0x295016['view']['focusTracker']['add'](_0x295016['view']['element']);}this['listenTo'](_0x17dddb,'add',(_0x103eed,_0x2a0953)=>{_0x2a0953['isVisible']&&_0x4b52f6['add'](_0x2a0953),this['listenTo'](_0x2a0953,'change:isVisible',_0x3f612e);}),this['listenTo'](_0x17dddb,'remove',(_0x41aa0b,_0x1ca669)=>{_0x4b52f6['has'](_0x1ca669)&&_0x4b52f6['remove'](_0x1ca669),this['stopListening'](_0x1ca669,'change:isVisible',_0x3f612e);});}}const vt=Symbol('noChannel'),gt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class m extends _0x5f0d71{['licenseKey'];['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[_,ht,ut];}static get['pluginName'](){return'CommentsRepository';}constructor(_0x5dc314){super(_0x5dc314),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 _0x49d7f7=this['context']['config'];_0x49d7f7['define']('comments.maxCommentsWhenCollapsed',0x2),_0x49d7f7['define']('comments.maxThreadTotalWeight',0x1f4),_0x49d7f7['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x49d7f7['define']('comments.CommentThreadView',At),_0x49d7f7['define']('comments.CommentView',Ct),_0x49d7f7['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x5827ab=this['context']['plugins']['get'](_);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x38a45c,_0x9227ce)=>this['_addCommentThread'](_0x9227ce)),this['on']('submitCommentThread',(_0x156c2a,_0x4b3113)=>this['_submitCommentThread'](_0x4b3113)),this['on']('resolveCommentThread',(_0x10ac94,_0x59c44c)=>this['_resolveCommentThread'](_0x59c44c)),this['on']('resolveCommentThread',(_0x9133a8,_0x2ff19c)=>this['_updateActiveAnnotation'](_0x2ff19c),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x296476,_0x2767d3)=>this['_reopenCommentThread'](_0x2767d3)),this['on']('reopenCommentThread',(_0x57e32e,_0x248bf5)=>this['_updateActiveAnnotation'](_0x248bf5),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x2585b7,_0x2e6018)=>this['_removeCommentThread'](_0x2e6018)),this['on']('updateCommentThread',(_0x1bc5ce,_0x2c7ad1)=>this['_updateCommentThread'](_0x2c7ad1)),this['on']('updateCommentThread',(_0x5ebfde,_0x421aa1)=>this['_updateActiveAnnotation'](_0x421aa1),{'priority':'lowest'}),this['on']('addComment',(_0x11bcca,_0x509096)=>this['_addComment'](_0x509096)),this['on']('updateComment',(_0x1b3abb,_0x57bf7e)=>this['_updateComment'](_0x57bf7e)),this['on']('removeComment',(_0x357aec,_0x3b8063)=>this['_removeComment'](_0x3b8063)),this['on']('addComment',(_0x446eac,{threadId:_0x28fdac,isFromAdapter:_0x403d66})=>{if(_0x403d66)return;const _0x132c44=this['getCommentThread'](_0x28fdac),_0x30e73a=_0x132c44&&this['_threadToController']['get'](_0x132c44);_0x30e73a&&_0x30e73a['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x5827ab,'change:activeAnnotations',(_0x3c57ad,_0x153caa,_0x426b4b)=>{const _0x491410=Array['from'](_0x426b4b)['map'](_0x21bd16=>this['_viewToController']['get'](_0x21bd16['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x491410?_0x491410['model']:null;});}['afterInit'](){!function(_0x530a53){function _0x3989f3(_0x426a18,_0x413fea,_0x51efe5){const _0x5122b9={};_0x5122b9[_0x50bfb4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5122b9[_0x50bfb4([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],_0x5122b9[_0x50bfb4([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],_0x5122b9[_0x50bfb4([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],_0x5122b9[_0x50bfb4([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],_0x5122b9[_0x50bfb4([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],_0x5122b9[_0x50bfb4([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],_0x5122b9[_0x50bfb4([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],_0x5122b9[_0x50bfb4([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],_0x5122b9[_0x50bfb4([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],_0x5122b9[_0x50bfb4([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 _0x257c50=new Uint8Array(0x10);for(let _0x29161e=0xf;_0x29161e>=0x0;--_0x29161e)_0x257c50[_0x29161e]=_0x51efe5%0x100,_0x51efe5=parseInt(_0x51efe5/0x100);let _0x419a40=null,_0x3447c9=0x10;const _0x489c56=new Uint8Array(_0x413fea),_0x498607=[],_0x20ac18=[];_0x2c321f();for(let _0x2aa88f=0x0;_0x2aa88f<_0x426a18[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2aa88f++)0x10===_0x3447c9&&(_0x419a40=_0x4708cc(_0x257c50),_0x3447c9=0x0,_0x493011(_0x257c50)),_0x426a18[_0x2aa88f]^=_0x419a40[_0x3447c9++];return _0x426a18;function _0x1600d1(_0x52467f){const _0x4d723d=[];for(let _0x5cd121=0x0;_0x5cd121<_0x52467f[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cd121+=0x4)_0x4d723d[_0x50bfb4([0x70,0x75,0x73,0x68])](_0x52467f[_0x5cd121]<<0x18|_0x52467f[_0x5cd121+0x1]<<0x10|_0x52467f[_0x5cd121+0x2]<<0x8|_0x52467f[_0x5cd121+0x3]);return _0x4d723d;}function _0x493011(_0x543472){for(let _0x39472c=0xf;_0x39472c>=0x0;_0x39472c--){if(0xff!==_0x543472[_0x39472c]){_0x543472[_0x39472c]++;break;}_0x543472[_0x39472c]=0x0;}}function _0x4708cc(_0x55c714){const _0x41e4d4=_0x498607[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x557da5=[0x0,0x0,0x0,0x0];let t=_0x1600d1(_0x55c714);for(let _0x4ca3b8=0x0;_0x4ca3b8<0x4;_0x4ca3b8++)t[_0x4ca3b8]^=_0x498607[0x0][_0x4ca3b8];for(let _0x413662=0x1;_0x413662<_0x41e4d4;_0x413662++){for(let _0x2fb7eb=0x0;_0x2fb7eb<0x4;_0x2fb7eb++)_0x557da5[_0x2fb7eb]=_0x5122b9[_0x50bfb4([0x54,0x31])][t[_0x2fb7eb]>>0x18&0xff]^_0x5122b9[_0x50bfb4([0x54,0x32])][t[(_0x2fb7eb+0x1)%0x4]>>0x10&0xff]^_0x5122b9[_0x50bfb4([0x54,0x33])][t[(_0x2fb7eb+0x2)%0x4]>>0x8&0xff]^_0x5122b9[_0x50bfb4([0x54,0x34])][0xff&t[(_0x2fb7eb+0x3)%0x4]]^_0x498607[_0x413662][_0x2fb7eb];t=_0x557da5[_0x50bfb4([0x73,0x6c,0x69,0x63,0x65])]();}const _0x189d35=new Uint8Array(0x10);let _0x2e1a10;for(let _0x5df95b=0x0;_0x5df95b<0x4;_0x5df95b++)_0x2e1a10=_0x498607[_0x41e4d4][_0x5df95b],_0x189d35[0x4*_0x5df95b]=0xff&(_0x5122b9[_0x50bfb4([0x53])][t[_0x5df95b]>>0x18&0xff]^_0x2e1a10>>0x18),_0x189d35[0x4*_0x5df95b+0x1]=0xff&(_0x5122b9[_0x50bfb4([0x53])][t[(_0x5df95b+0x1)%0x4]>>0x10&0xff]^_0x2e1a10>>0x10),_0x189d35[0x4*_0x5df95b+0x2]=0xff&(_0x5122b9[_0x50bfb4([0x53])][t[(_0x5df95b+0x2)%0x4]>>0x8&0xff]^_0x2e1a10>>0x8),_0x189d35[0x4*_0x5df95b+0x3]=0xff&(_0x5122b9[_0x50bfb4([0x53])][0xff&t[(_0x5df95b+0x3)%0x4]]^_0x2e1a10);return _0x189d35;}function _0x2c321f(){const _0x8ae0f1=_0x5122b9[_0x50bfb4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x489c56[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x25d1bb=0x0;_0x25d1bb<=_0x8ae0f1;_0x25d1bb++)_0x498607[_0x50bfb4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x20ac18[_0x50bfb4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x27a19a=0x4*(_0x8ae0f1+0x1),_0x4c3ea2=_0x489c56[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x13e133=_0x1600d1(_0x489c56);let _0x385bf1;for(let _0x56ac3a=0x0;_0x56ac3a<_0x4c3ea2;_0x56ac3a++)_0x385bf1=_0x56ac3a>>0x2,_0x498607[_0x385bf1][_0x56ac3a%0x4]=_0x13e133[_0x56ac3a],_0x20ac18[_0x8ae0f1-_0x385bf1][_0x56ac3a%0x4]=_0x13e133[_0x56ac3a];let _0x488212,_0xf9a44f=0x0,t=_0x4c3ea2;for(;t<_0x27a19a;){_0x488212=_0x13e133[_0x4c3ea2-0x1],_0x13e133[0x0]^=_0x5122b9[_0x50bfb4([0x53])][_0x488212>>0x10&0xff]<<0x18^_0x5122b9[_0x50bfb4([0x53])][_0x488212>>0x8&0xff]<<0x10^_0x5122b9[_0x50bfb4([0x53])][0xff&_0x488212]<<0x8^_0x5122b9[_0x50bfb4([0x53])][_0x488212>>0x18&0xff]^_0x5122b9[_0x50bfb4([0x72,0x63,0x6f,0x6e])][_0xf9a44f]<<0x18,_0xf9a44f+=0x1;for(let _0x79785d=0x1;_0x79785d<_0x4c3ea2/0x2;_0x79785d++)_0x13e133[_0x79785d]^=_0x13e133[_0x79785d-0x1];_0x488212=_0x13e133[_0x4c3ea2/0x2-0x1],_0x13e133[_0x4c3ea2/0x2]^=_0x5122b9[_0x50bfb4([0x53])][0xff&_0x488212]^_0x5122b9[_0x50bfb4([0x53])][_0x488212>>0x8&0xff]<<0x8^_0x5122b9[_0x50bfb4([0x53])][_0x488212>>0x10&0xff]<<0x10^_0x5122b9[_0x50bfb4([0x53])][_0x488212>>0x18&0xff]<<0x18;for(let _0x59fabd=_0x4c3ea2/0x2+0x1;_0x59fabd<_0x4c3ea2;_0x59fabd++)_0x13e133[_0x59fabd]^=_0x13e133[_0x59fabd-0x1];let _0x7c08c6,_0x54c757,_0x10a39d=0x0;for(;_0x10a39d<_0x4c3ea2&&t<_0x27a19a;)_0x7c08c6=t>>0x2,_0x54c757=t%0x4,_0x498607[_0x7c08c6][_0x54c757]=_0x13e133[_0x10a39d],_0x20ac18[_0x8ae0f1-_0x7c08c6][_0x54c757]=_0x13e133[_0x10a39d++],t++;}for(let _0x2f5ad6=0x1;_0x2f5ad6<_0x8ae0f1;_0x2f5ad6++)for(let _0x58588c=0x0;_0x58588c<0x4;_0x58588c++)_0x488212=_0x20ac18[_0x2f5ad6][_0x58588c],_0x20ac18[_0x2f5ad6][_0x58588c]=_0x5122b9[_0x50bfb4([0x55,0x31])][_0x488212>>0x18&0xff]^_0x5122b9[_0x50bfb4([0x55,0x32])][_0x488212>>0x10&0xff]^_0x5122b9[_0x50bfb4([0x55,0x33])][_0x488212>>0x8&0xff]^_0x5122b9[_0x50bfb4([0x55,0x34])][0xff&_0x488212];}}function _0x50bfb4(_0xfe176a){return _0xfe176a['map'](_0xe0c31e=>String['fromCharCode'](_0xe0c31e))['join']('');}(_0x192f0b=>{function _0xf64020(){const _0x25b65b=[{[_0x50bfb4([0x69,0x64])]:0x1,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x50bfb4([0x69,0x64])]:0x2,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([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]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x50bfb4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x50bfb4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x50bfb4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x50bfb4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x50bfb4([0x69,0x64])]:0x3,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x50bfb4([0x69,0x64])]:0x4,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([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]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x50bfb4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x50bfb4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x50bfb4([0x69,0x64])]:0x5,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([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]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x66,0x67,0x69])]:[0xc]}},{[_0x50bfb4([0x69,0x64])]:0x6,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x66,0x67,0x69])]:[0xc]}},{[_0x50bfb4([0x69,0x64])]:0x7,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x66,0x67,0x69])]:[0xc]}},{[_0x50bfb4([0x69,0x64])]:0x8,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([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]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x66,0x67,0x69])]:[0xc]}},{[_0x50bfb4([0x69,0x64])]:0x9,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x50bfb4([0x69,0x64])]:0xa,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([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]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([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]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([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]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x66,0x67,0x69])]:[0xc]}},{[_0x50bfb4([0x69,0x64])]:0xb,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x50bfb4([0x69,0x64])]:0xc,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x50bfb4([0x69,0x64])]:0xd,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x66,0x67,0x69])]:[0xc]}},{[_0x50bfb4([0x69,0x64])]:0xe,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x50bfb4([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([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])},{[_0x50bfb4([0x69,0x64])]:0xf,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x50bfb4([0x69,0x64])]:0x10,[_0x50bfb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x50bfb4([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x50bfb4([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x50bfb4([0x66,0x67,0x69])]:[0xc]}}];return _0x123136(_0x25b65b),_0x25b65b;function _0x51961e(_0x18e25d){return 0x1<<_0x18e25d-0x1;}function _0x123136(_0x530c1a){_0x530c1a[_0x50bfb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x466662=>{_0x466662[_0x50bfb4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x51961e(_0x466662[_0x50bfb4([0x69,0x64])]),_0x55d679(_0x466662)&&_0x466662[_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x123136(_0x466662[_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x55d679(_0x285ad6){return _0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x285ad6;}const _0x26b120=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x152775=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4f583b(_0xfc85a4){const _0x16f66b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1a6dd8(_0xfc85a4,new Uint8Array([..._0x26b120,..._0x16f66b,..._0x152775]));}function _0x1a6dd8(_0x46df85,_0x3ca42b){const _0x5cd047=_0x427bd0(_0x46df85),_0x5e7d23=Array[_0x50bfb4([0x66,0x72,0x6f,0x6d])](_0x286a50(_0x5cd047)),_0x1994b7=_0x5e7d23[_0x50bfb4([0x70,0x6f,0x70])](),_0x20a486=_0x5e7d23[_0x50bfb4([0x70,0x6f,0x70])]();return _0x1a9784(_0x3989f3(_0x5e7d23,_0x3ca42b,_0x20a486+0x100*_0x1994b7));}function _0x427bd0(_0x1c1758){const _0xabc575=atob(_0x1c1758),[_0x12cb17,_0x431f6c]=_0xabc575[_0x50bfb4([0x73,0x70,0x6c,0x69,0x74])](_0x50bfb4([0x2d]));try{if(atob(_0x431f6c))return atob(_0x12cb17);}catch(_0x16b4a2){}return _0xabc575;}function _0x40e160(_0x512be8){try{const _0x4f6427=_0x4f583b(_0x512be8),_0x48e06b=JSON[_0x50bfb4([0x70,0x61,0x72,0x73,0x65])](_0x4f6427),_0x559d4b=parseInt(_0x48e06b[_0x50bfb4([0x31])]),_0x37ceb7=_0x48e06b[_0x50bfb4([0x32])]||'',_0x2c1849=parseInt(_0x48e06b[_0x50bfb4([0x33])]),_0x307d68=parseInt(_0x48e06b[_0x50bfb4([0x34])])||0x0,_0x3727d4=parseInt(_0x48e06b[_0x50bfb4([0x35])])||0x0;return{[_0x50bfb4([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x37ceb7,[_0x50bfb4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x307d68,[_0x50bfb4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x559d4b,[_0x50bfb4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2c1849,[_0x50bfb4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3727d4};}catch(_0x46a1ef){return null;}}const _0x4b6b9f=_0xf64020(),_0x36f7c5={[_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4fb87a,[_0x50bfb4([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])]:_0x3d9e69,[_0x50bfb4([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])]:_0x5176d6},_0x1877c0=_0x192f0b[_0x50bfb4([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x24e60f=_0x50bfb4([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x192f0b?_0x192f0b['context']:_0x192f0b['editor'],_0xfb4e12=_0x50bfb4([0x34,0x30,0x34,0x38,0x31,0x36,0x31,0x34]),_0x27eaee=_0x50bfb4([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]),_0x3aa94b=_0x24e60f['config']['get'](_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3822bf=_0x4b6b9f[_0x50bfb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55d679)[_0x50bfb4([0x66,0x69,0x6e,0x64])](_0x4af5c9=>_0x4af5c9[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x1877c0);function _0x1ab301(_0x5eb8c6,_0x3de86d){_0x36f7c5[_0x3de86d[_0x50bfb4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5eb8c6,_0x3de86d),_0x3de86d[_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3de86d[_0x50bfb4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x50bfb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3baedf=>_0x14ee0c(_0x24e60f,_0x3baedf[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x50bfb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55479d=>_0x1ab301(_0x5eb8c6,_0x55479d));}function _0x4fb87a(_0x3ef9b2,_0x3183c5){_0x4b9f1c(_0x270f1c(_0x3ef9b2,_0x3183c5),_0x3183c5);}function _0x3d9e69(_0xadf9dd,_0x1aa9c2){function _0x2b7b19(_0x171258,_0x4594a9){try{if(_0x14ee0c(_0x24e60f,_0x50bfb4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x171258){const _0x3a8eb6=_0x8a10b1(_0x24e60f,_0x50bfb4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x50bfb4([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3a8eb6)/0x2>_0x171258[_0x50bfb4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3e8e7e(_0x4594a9[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x270f1c(_0x171258,_0x4594a9);}catch(_0x404792){return _0x3e8e7e(_0x4594a9[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4b9f1c(_0x2b7b19(_0xadf9dd,_0x1aa9c2),_0x1aa9c2);}function _0x5176d6(_0xfcbec2,_0x1e547e){const _0xbe4b8d=_0x152775[0x0]*_0x26b120[0x1],_0xd0c90e=_0x152775[0x0]*_0x26b120[0x2],_0x198a1c=_0x152775[0x2]*_0x26b120[0x2];_0x14ee0c(_0x24e60f,_0x50bfb4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x8a10b1(_0x24e60f,_0x50bfb4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x50bfb4([0x73,0x74,0x61,0x74,0x65])]==_0x50bfb4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x40e062()]=_0x198a1c);function _0x2c6050(_0x12b888,_0x5d3bff){try{return _0x4e7509()?_0x3e8e7e(_0x5d3bff[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x56,0x61,0x6c,0x69,0x64])):_0x270f1c(_0x12b888,_0x5d3bff);}catch(_0x29b170){return _0x3e8e7e(_0x5d3bff[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1f95dd(_0x38faee,_0x377870){const _0xb1a3f1=0x7;if(_0x38faee==_0x377870[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xeeede7();else{if(_0x38faee==_0x377870[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x54,0x72,0x69,0x61,0x6c])){const _0x1e11ea=_0x289f6b();_0x1e11ea&&_0x5b324c(_0x1e11ea,_0x377870[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0xd742cc=_0x27429e();window[_0x50bfb4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5b324c(_0x50bfb4([0x74,0x69,0x6d,0x65]),_0x377870[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0xd742cc);const _0x58469e=_0x8a10b1(_0x24e60f,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x50bfb4([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x58469e[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xb1a3f1?_0x5b324c(_0x50bfb4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x377870[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x58469e['on'](_0x50bfb4([0x61,0x64,0x64]),()=>{_0x58469e[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xb1a3f1&&_0x5b324c(_0x50bfb4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x377870[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x289f6b(){if(!_0x14ee0c(_0x24e60f,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xc245f2 in window)if(Number['isNaN'](Number(_0xc245f2))){if(window[_0xc245f2]===_0xbe4b8d)return _0x50bfb4([0x74,0x69,0x6d,0x65]);if(window[_0xc245f2]===_0xd0c90e)return _0x50bfb4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4e7509(){if(!_0x14ee0c(_0x24e60f,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4075a3 in window)if(Number['isNaN'](Number(_0x4075a3))&&window[_0x4075a3]===_0x198a1c)return!0x0;return!0x1;}function _0x5b324c(_0x14e351,_0x341b6c){_0xeeede7(),_0x3e8e7e(_0x341b6c+_0x50bfb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x14e351),window[_0x40e062()]=_0x14e351===_0x50bfb4([0x74,0x69,0x6d,0x65])?_0xbe4b8d:_0xd0c90e;}function _0x27429e(){let _0x1d3009=_0x152775[0x6]*_0x26b120[0x8]*_0x26b120[0x6];return _0x14ee0c(_0x24e60f,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1d3009/=0xa),_0x1d3009;}function _0xeeede7(){const _0xfe906c=_0x24e60f;function _0x540543(){_0x14ee0c(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x50bfb4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x50bfb4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x50bfb4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x50bfb4([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x1b6a45,_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x50bfb4([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x1b6a45,_0xfe906c[_0x50bfb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x50bfb4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b6a45,_0xfe906c[_0x50bfb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x50bfb4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b6a45,_0xfe906c[_0x50bfb4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50bfb4([0x6d,0x6f,0x64,0x65,0x6c]))),_0x14ee0c(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x50bfb4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x50bfb4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x50bfb4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x50bfb4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x1b6a45,_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x50bfb4([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x1b6a45);}_0xfe906c[_0x50bfb4([0x73,0x74,0x61,0x74,0x65])]==_0x50bfb4([0x72,0x65,0x61,0x64,0x79])?_0x540543():_0xfe906c[_0x50bfb4([0x6f,0x6e,0x63,0x65])](_0x50bfb4([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x14ee0c(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x540543(),_0x14ee0c(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5d2818=_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x8903f8=_0x5d2818['getRevision'](0x0),_0x1208ef=_0x5d2818['getEarlierVisibleRevision'](_0x8903f8[_0x50bfb4([0x69,0x64])]);_0x8a10b1(_0xfe906c,_0x50bfb4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x50bfb4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x8903f8[_0x50bfb4([0x69,0x64])],_0x1208ef?_0x1208ef[_0x50bfb4([0x69,0x64])]:null,0x1)['then'](()=>_0x540543());}});}_0x1f95dd(_0x2c6050(_0xfcbec2,_0x1e547e),_0x1e547e);}function _0x270f1c(_0x12f5a3,_0x4b9c9f){try{return _0x43d9b9(_0x4b9c9f)?_0x3e8e7e(_0x4b9c9f[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x56,0x61,0x6c,0x69,0x64])):_0x12f5a3&&_0x1ffdce(_0x12f5a3[_0x50bfb4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4b9c9f)?_0x12f5a3[_0x50bfb4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x50bfb4([0x6f,0x70,0x65,0x6e])][_0x50bfb4([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xfb4e12)/0x2>_0x12f5a3[_0x50bfb4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3e8e7e(_0x4b9c9f[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x12f5a3[_0x50bfb4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3e8e7e(_0x4b9c9f[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x54,0x72,0x69,0x61,0x6c])):_0x3e8e7e(_0x4b9c9f[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x56,0x61,0x6c,0x69,0x64])):_0x3e8e7e(_0x4b9c9f[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x4202d5){return _0x3e8e7e(_0x4b9c9f[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4b9f1c(_0x1171c3,_0x4329cc){if(_0x24e60f instanceof _0x2d22ac){const _0x8ab9e4=_0x24e60f;_0x1171c3==_0x4329cc[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5a8193(_0x8ab9e4):_0x1171c3==_0x4329cc[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x54,0x72,0x69,0x61,0x6c])&&window[_0x50bfb4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5a8193(_0x8ab9e4),_0x3e8e7e(_0x4329cc[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x152775[0x6]*_0x26b120[0x8]*_0x26b120[0x6]),_0x8ab9e4[_0x50bfb4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x50bfb4([0x6f,0x6e])](_0x50bfb4([0x61,0x64,0x64]),(_0x2f5a2c,_0x5d94d5)=>{_0x1171c3!=_0x4329cc[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1171c3!=_0x4329cc[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1171c3!=_0x4329cc[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x57ddfd(_0x5d94d5);});}else{const _0x232cd9=_0x24e60f;_0x1171c3==_0x4329cc[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x57ddfd(_0x232cd9):_0x1171c3==_0x4329cc[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x54,0x72,0x69,0x61,0x6c])&&_0x232cd9[_0x50bfb4([0x6f,0x6e])](_0x50bfb4([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x1822da=0x0;_0x232cd9[_0x50bfb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x50bfb4([0x6f,0x6e])](_0x50bfb4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x264cc2,_0x2e982c)=>{_0x2e982c[0x0][_0x50bfb4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1822da++,0x1f8===_0x1822da&&(_0x57ddfd(_0x232cd9),_0x3e8e7e(_0x4329cc[_0x50bfb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x50bfb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x264cc2[_0x50bfb4([0x6f,0x66,0x66])]());},{'priority':_0x50bfb4([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3e8e7e(_0x3a7c41){const _0x3b3fa8=_0x40e062();return _0x24e60f[_0x3b3fa8]=_0x3a7c41,_0x3a7c41;}function _0x40e062(){const _0x3b16b3=String(window[_0x50bfb4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50bfb4([0x6e,0x6f,0x77])]())[_0x50bfb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50bfb4([0x2e]),'');let _0xab3322='';for(let _0x326a80=0x0;_0x326a80<_0x3b16b3[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x326a80+=0x2){let _0x18d0c0=parseInt(_0x3b16b3[_0x50bfb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x326a80,_0x326a80+0x2));_0x18d0c0>=_0x27eaee[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18d0c0-=_0x27eaee[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xab3322+=_0x27eaee[_0x18d0c0];}return _0xab3322;}function _0x5a8193(_0x1a781a){for(const _0x4c0d75 of _0x1a781a[_0x50bfb4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x57ddfd(_0x4c0d75);_0x8a10b1(_0x1a781a,_0x50bfb4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x50bfb4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x8a10b1(_0x1a781a,_0x50bfb4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x50bfb4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x1b6a45;}function _0x57ddfd(_0x5afa96){function _0x3d3a09(){_0x5afa96[_0x50bfb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x50bfb4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b6a45,_0x5afa96[_0x50bfb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x50bfb4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b6a45,_0x5afa96[_0x50bfb4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50bfb4([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5afa96[_0x50bfb4([0x73,0x74,0x61,0x74,0x65])]==_0x50bfb4([0x72,0x65,0x61,0x64,0x79])?_0x3d3a09():_0x5afa96[_0x50bfb4([0x6f,0x6e,0x63,0x65])](_0x50bfb4([0x72,0x65,0x61,0x64,0x79]),()=>_0x3d3a09());}function _0x1b6a45(){return null;}function _0x1ffdce(_0x2a6cf5,_0x5854a0){const _0x55abe7=!!(_0x2a6cf5&_0x5854a0[_0x50bfb4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xbe4e49=_0x4706cc(_0x2a6cf5,_0x5854a0);return _0x55abe7||_0xbe4e49;}function _0x4706cc(_0x215018,_0xcbaa1d){const _0x4061f3=(_0xcbaa1d[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x50bfb4([0x66,0x67,0x69])]||null;return!!_0x4061f3&&_0x4b6b9f[_0x50bfb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x523ce0=>_0x4061f3[_0x50bfb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x523ce0[_0x50bfb4([0x69,0x64])]))[_0x50bfb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3275f3=>!_0x197259(_0x3275f3))[_0x50bfb4([0x73,0x6f,0x6d,0x65])](_0x1fcc06=>!!(_0x215018&_0x1fcc06[_0x50bfb4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x197259(_0x25f955){const _0x147350={[_0x50bfb4([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])]:_0x536616};return!!_0x25f955['forbiddenHandler']&&_0x147350[_0x25f955['forbiddenHandler']]();}function _0x536616(){return!window[_0x50bfb4([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x14ee0c(_0x24e60f,_0x50bfb4([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x43d9b9(_0x39d13d){if(!_0x14ee0c(_0x24e60f,_0x39d13d[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x5aac1d=_0x39d13d[_0x50bfb4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x22bd63=_0x5aac1d[_0x50bfb4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x400a46=_0x5aac1d[_0x50bfb4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x130877=_0x5aac1d[_0x50bfb4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x14ee0c(_0x24e60f,_0x50bfb4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x8a10b1(_0x24e60f,_0x50bfb4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x50bfb4([0x73,0x74,0x61,0x74,0x65])]==_0x50bfb4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x22bd63)return!0x0;if(_0x14ee0c(_0x24e60f,_0x50bfb4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x8a10b1(_0x24e60f,_0x50bfb4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x50bfb4([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x50bfb4([0x65,0x6e,0x64])&&_0x400a46)return!0x0;return!(!_0x14ee0c(_0x24e60f,_0x50bfb4([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]))||_0x8a10b1(_0x24e60f,_0x50bfb4([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]))[_0x50bfb4([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x50bfb4([0x65,0x6e,0x64])||!_0x130877);}function _0x14ee0c(_0x1aa4a7,_0x36e6d3){return _0x1aa4a7[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x50bfb4([0x68,0x61,0x73])](_0x36e6d3);}function _0x8a10b1(_0x187ae9,_0x387961){return _0x187ae9[_0x50bfb4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x50bfb4([0x67,0x65,0x74])](_0x387961);}function _0x1a9784(_0xf4502d){let _0x16dfdf='';for(const _0x5968bf of _0xf4502d)_0x16dfdf+=String[_0x50bfb4([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5968bf);return _0x16dfdf;}function _0x286a50(_0x30c478){const _0x27b78e=new Uint8Array(_0x30c478[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x14b5ef=0x0;_0x14b5ef<_0x30c478[_0x50bfb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14b5ef++)_0x27b78e[_0x14b5ef]=_0x30c478[_0x50bfb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14b5ef);return _0x27b78e;}_0x3822bf&&_0x1ab301(_0x40e160(_0x3aa94b),_0x3822bf);})(_0x530a53);}(this);}set['adapter'](_0xc71c3b){if(this['_adapter'])throw new _0x563a76('commentsrepository-adapter-already-set');this['_adapter']=_0xc71c3b;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x1fb1fb=vt,threadId:_0x3b271c=_0x1dfa77(),comments:_0x30e0df=[],unlinkedAt:_0x27f08a=null,resolvedAt:_0x54a7bd=null,resolvedBy:_0x17310b=null,target:_0x3b2a3c=null,context:_0x463dfe=null,attributes:_0x2f329c={},isResolvable:_0x30e548=!0x0,isSubmitted:_0x3951a9=!0x1,isFromAdapter:_0x3d6efb=!0x1}={}){return this['fire'](Tt('addCommentThread',_0x1fb1fb),{'channelId':_0x1fb1fb,'threadId':_0x3b271c,'comments':_0x30e0df,'unlinkedAt':_0x27f08a,'resolvedAt':_0x54a7bd,'resolvedBy':_0x17310b,'target':_0x3b2a3c,'context':_0x463dfe,'attributes':_0x2f329c,'isFromAdapter':_0x3d6efb,'isResolvable':_0x30e548,'isSubmitted':_0x3951a9}),this['getCommentThread'](_0x3b271c);}['openNewCommentThread']({channelId:_0xe5c7ed=vt,threadId:_0x3b8816=_0x1dfa77(),target:_0x34ddb1,context:_0x5de659=null,isResolvable:_0x2f6b9b=!0x0}){if(this['_readOnlyChannels']['has'](_0xe5c7ed)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x34ddb1)throw new _0x563a76('commentsrepository-missing-target');const _0x2426e3=this['addCommentThread']({'channelId':_0xe5c7ed,'threadId':_0x3b8816,'target':_0x34ddb1,'context':_0x5de659,'isResolvable':_0x2f6b9b});if(!_0x2426e3)return null;const _0x4f43f2=this['_threadToController']['get'](_0x2426e3),_0x1df533=_0x4f43f2['view']['commentThreadInputView']['commentInputView'],_0x28fb79=this['context']['plugins']['get'](_),_0x256c53=_0x28fb79['getByInnerView'](_0x4f43f2['view']);return _0x28fb79['activate'](_0x256c53),_0x1df533['once']('editorReady',()=>_0x1df533['focus']()),_0x2426e3;}['hasCommentThread'](_0x1d2abb){if('string'!=typeof _0x1d2abb)throw new _0x563a76('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x1d2abb);}['updateCommentThread']({channelId:_0x1d07cb=vt,threadId:_0x376a0e,context:_0x1ce6c7,unlinkedAt:_0x30f86b,attributes:_0x214190,isFromAdapter:_0x444204=!0x1}){return this['fire'](Tt('updateCommentThread',_0x1d07cb),{'channelId':_0x1d07cb,'threadId':_0x376a0e,'context':_0x1ce6c7,'unlinkedAt':_0x30f86b,'attributes':_0x214190,'isFromAdapter':_0x444204}),this['getCommentThread'](_0x376a0e);}['getCommentThread'](_0x34fada){if('string'!=typeof _0x34fada)throw new _0x563a76('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x34fada);}['fetchCommentThread']({channelId:_0x4c1aca,threadId:_0x122c81}={}){const _0x4c0e54=this['getCommentThread'](_0x122c81);if(_0x4c0e54)return Promise['resolve'](_0x4c0e54);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x563a76('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x4c1aca,'threadId':_0x122c81})['then'](_0x2b5f36=>this['hasCommentThread'](_0x122c81)?this['getCommentThread'](_0x122c81):_0x2b5f36?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x4c1aca},_0x2b5f36)):void 0x0)['catch'](_0x4718b6=>{throw console['error'](_0x4718b6),new _0x563a76('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x1b2a86,skipNotAttached:_0x3cf705=!0x1,skipEmpty:_0x5e2550=!0x1,toJSON:_0x52157a=!0x1}={}){const _0x178793=[];for(const _0x5590c3 of this['_threads']['values']())_0x1b2a86&&_0x5590c3['channelId']!==_0x1b2a86||_0x3cf705&&!_0x5590c3['isAttached']||_0x5e2550&&0x0===_0x5590c3['length']||_0x178793['push'](_0x5590c3);return _0x52157a?_0x178793['map'](_0x50e300=>_0x50e300['toJSON']()):_0x178793;}['setActiveCommentThread'](_0xf56b46){const _0x26c54d=this['context']['plugins']['get'](_);if(!_0xf56b46)return void(this['activeCommentThread']&&_0x26c54d['deactivateAll']());const _0x4a01ba=this['getCommentThread'](_0xf56b46);if(!_0x4a01ba)throw new _0x563a76('commentsrepository-active-missing-comment-thread',null,{'threadId':_0xf56b46});if(!this['_threadToController']['has'](_0x4a01ba))throw new _0x563a76('commentsrepository-active-not-attached',null,{'threadId':_0xf56b46});const _0x4e4f82=_0x26c54d['getByInnerView'](this['_threadToController']['get'](_0x4a01ba)['view']);_0x26c54d['activate'](_0x4e4f82);}['switchReadOnly'](_0x40829,_0x453b84){_0x40829?this['_readOnlyChannels']['add'](_0x453b84):this['_readOnlyChannels']['delete'](_0x453b84),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x43c713){return this['_readOnlyChannels']['has'](_0x43c713)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x20e19e,_0x3801d3){return new yt(_0x20e19e,_0x3801d3);}['setPermissions'](_0x46ac5b,_0xad1666=vt){this['_permissions']['set'](_0xad1666,_0x46ac5b),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x2d9efe=vt){return this['_permissions']['has'](_0x2d9efe)?this['_permissions']['get'](_0x2d9efe):gt;}['_addCommentThread']({channelId:_0x34736c,threadId:_0x3de9e5,comments:_0x257f87,unlinkedAt:_0x3aa172,resolvedAt:_0x46f740,resolvedBy:_0x448b21,target:_0x295040,context:_0x5a8697,attributes:_0x149796,isFromAdapter:_0x5dead9,isResolvable:_0x950a81,isSubmitted:_0x135e13}){if('string'!=typeof _0x3de9e5)throw new _0x563a76('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x3de9e5});if(this['hasCommentThread'](_0x3de9e5))throw new _0x563a76('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x3de9e5});const _0x4c4b01=new ee(this,{'channelId':_0x34736c,'id':_0x3de9e5,'context':_0x5a8697,'attributes':_0x149796,'unlinkedAt':_0x3aa172,'resolvedAt':_0x46f740,'resolvedBy':_0x448b21?this['context']['plugins']['get'](ut)['getUser'](_0x448b21):null,'isResolvable':_0x950a81,'isSubmitted':_0x135e13||_0x5dead9});this['_threads']['set'](_0x3de9e5,_0x4c4b01);for(const _0x292e8c of _0x257f87)_0x4c4b01['_add'](this['_createNewComment']({'threadId':_0x3de9e5,..._0x292e8c}));return _0x295040&&_0x4c4b01['attachTo'](_0x295040),_0x5dead9||!_0x4c4b01['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x34736c,'threadId':_0x3de9e5});}['_submitCommentThread']({channelId:_0x1b2f7d,threadId:_0x20a37c}){if(!this['hasCommentThread'](_0x20a37c))throw new _0x563a76('commentsrepository-missing-comment-thread',this);const _0x25d45c=this['getCommentThread'](_0x20a37c);if(_0x25d45c['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x27f87e,comments:_0x278ef3,resolvedAt:_0x3de7bc,resolvedBy:_0x4c0e3e,context:_0x192398,attributes:_0x35b2e4}=_0x25d45c,_0x159a15=this['context']['plugins']['get']('PendingActions'),_0x5361ab=_0x159a15['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x1b2f7d,'threadId':_0x27f87e,'comments':_0x278ef3['map'](_0x2cb756=>_0x2cb756['toJSON']()),'resolvedAt':_0x3de7bc,'resolvedBy':_0x4c0e3e?_0x4c0e3e['id']:_0x4c0e3e,'context':_0x192398,'attributes':_0x35b2e4})['then'](({comments:_0x2e31b2})=>{_0x159a15['remove'](_0x5361ab);for(const _0x2c7f81 of _0x2e31b2)this['_updateComment']({'channelId':_0x1b2f7d,'threadId':_0x20a37c,'commentId':_0x2c7f81['commentId'],'createdAt':_0x2c7f81['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x35a2d3=>{throw console['error'](_0x35a2d3),new _0x563a76('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x5bb3bb,target:_0x355d3d}){const _0x412dc8=this['getCommentThread'](_0x5bb3bb);if(!_0x412dc8)throw new _0x563a76('commentsrepository-attach-missing-comment-thread',this);const _0x5c807e=this['context']['plugins']['get']('PendingActions'),_0x953b47=this['context']['plugins']['get'](_),_0xeb405e=this['_createCommentThreadView'](_0x412dc8),_0x40874c=new yt(_0x412dc8,_0xeb405e);let _0x2991fa=null;_0xeb405e['on']('change:isDirty',(_0x8dc9cd,_0x2be5dc,_0x46eabf)=>{_0x46eabf?_0x2991fa=_0x5c807e['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x2991fa&&(_0x5c807e['remove'](_0x2991fa),_0x2991fa=null);}),_0xeb405e['on']('escape',()=>{this['fire'](Tt('escapeThread',_0x412dc8['channelId']),{'threadId':_0x5bb3bb,'channelId':_0x412dc8['channelId']});}),this['_threadToController']['set'](_0x412dc8,_0x40874c),this['_viewToController']['set'](_0xeb405e,_0x40874c);const _0xdc6901=new T(this['context']['locale'],_0xeb405e);_0xdc6901['bind']('length')['to'](_0xeb405e),_0xdc6901['bind']('isDirty')['to'](_0xeb405e,'isDirty',_0xeb405e,'length',(_0x55cf89,_0x262706)=>_0x55cf89||!_0x262706),_0xdc6901['bind']('isActive')['to'](_0xeb405e),_0xdc6901['type']='comment';const _0x1865f6=new d({'view':_0xdc6901,'target':_0x355d3d,'type':'comment','isVisible':!_0x412dc8['isResolved']});return this['_bindAnnotationToEditors'](_0xeb405e,_0x1865f6),_0x953b47['add'](_0x1865f6),_0x1865f6;}['_bindAnnotationToEditors'](_0x22df72,_0x1ddeff){this['listenTo'](_0x22df72,'editorReady',(_0x3e7aa8,_0xdc6f8b)=>{const _0x3f3934=_0xdc6f8b['ui']['view']['body']['bodyCollectionContainer'];_0x1ddeff['focusableElements']['add'](_0x3f3934),this['context']instanceof _0x46b696&&this['context']['ui']['focusTracker']['add'](_0x3f3934);},{'priority':'highest'}),this['listenTo'](_0x22df72,'editorDestroyed',(_0x47be44,_0x325bc8)=>{const _0x3397b3=_0x325bc8['ui']['view']['body']['bodyCollectionContainer'];_0x1ddeff['focusableElements']['has'](_0x3397b3)&&_0x1ddeff['focusableElements']['remove'](_0x3397b3),this['context']instanceof _0x46b696&&this['context']['ui']['focusTracker']['remove'](_0x3397b3);});}['_unbindEditors'](_0x38f5b7){this['stopListening'](_0x38f5b7,'editorReady'),this['stopListening'](_0x38f5b7,'editorDestroyed');}['_createCommentThreadView'](_0x1fec31){const _0xa6f0e=this['context']['plugins']['get'](ut),{config:_0xa8b91d,locale:_0x53c98e}=this['context'],_0x4725bf=dt(_0xa8b91d['get']('locale'));return new(0x0,(_0xa8b91d['get']('comments'))['CommentThreadView'])(_0x53c98e,_0x1fec31,_0xa6f0e['me'],{'editorConfig':{..._0xa8b91d['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0xa8b91d['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0xa8b91d['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0xa8b91d['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0xa8b91d['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x4725bf,'CommentView':_0xa8b91d['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x15fdde,channelId:_0x23d605,resolvedAt:_0x55c3a9,resolvedBy:_0x365a4f,isFromAdapter:_0x38f5ec}){if(!this['hasCommentThread'](_0x15fdde))throw new _0x563a76('commentsrepository-missing-comment-thread',null,{'threadId':_0x15fdde});const _0x59ebd4=this['getCommentThread'](_0x15fdde);if(_0x59ebd4['isResolved'])throw new _0x563a76('commentsrepository-resolved-comment-thread',null,{'threadId':_0x15fdde});const _0x21780d=this['context']['plugins']['get'](ut);if(_0x59ebd4['resolvedBy']=_0x21780d['getUser'](_0x365a4f),_0x59ebd4['resolvedAt']=_0x55c3a9,_0x38f5ec||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x55a53b=this['context']['plugins']['get']('PendingActions'),_0x3a468f=_0x55a53b['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x23d605,'threadId':_0x15fdde})['then'](({resolvedAt:_0x315794,resolvedBy:_0x8baf50})=>{_0x55a53b['remove'](_0x3a468f),_0x59ebd4['resolvedBy']['id']!==_0x8baf50&&(_0x59ebd4['resolvedBy']=_0x21780d['getUser'](_0x8baf50)),_0x59ebd4['resolvedAt']=_0x315794;})['catch'](_0x5e4f95=>{throw console['error'](_0x5e4f95),new _0x563a76('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x1f3665,channelId:_0x2e4918,isFromAdapter:_0x5b5675}){if(!this['hasCommentThread'](_0x1f3665))throw new _0x563a76('commentsrepository-missing-comment-thread',null,{'threadId':_0x1f3665});const _0x27b30c=this['getCommentThread'](_0x1f3665);if(!_0x27b30c['isResolved'])throw new _0x563a76('commentsrepository-reopen-comment-thread',null,{'threadId':_0x1f3665});if(_0x27b30c['resolvedBy']=null,_0x27b30c['resolvedAt']=null,_0x5b5675||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x1e1cc8=this['context']['plugins']['get']('PendingActions'),_0x51b6db=_0x1e1cc8['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x2e4918,'threadId':_0x1f3665})['then'](()=>_0x1e1cc8['remove'](_0x51b6db))['catch'](_0x9aa9e5=>{throw console['error'](_0x9aa9e5),new _0x563a76('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x3f6531,isFromAdapter:_0x55d3d7}){const _0x3566ed=this['getCommentThread'](_0x3f6531);if(!_0x3566ed)throw new _0x563a76('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x3f6531),this['_threads']['delete'](_0x3f6531),!_0x3566ed['isSubmitted']||_0x55d3d7||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x2efb30=this['context']['plugins']['get']('PendingActions'),{channelId:_0x37847d}=_0x3566ed,_0x5870f1=_0x2efb30['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x37847d,'threadId':_0x3f6531})['then'](()=>_0x2efb30['remove'](_0x5870f1))['catch'](_0x24017d=>{throw console['error'](_0x24017d),new _0x563a76('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x38e57d,unlinkedAt:_0x1278b0,context:_0x5761c1,attributes:_0x2dfba1,isFromAdapter:_0x74d0a1}){if('string'!=typeof _0x38e57d)throw new _0x563a76('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x38e57d});if(!this['hasCommentThread'](_0x38e57d))throw new _0x563a76('commentsrepository-missing-comment-thread',null,{'threadId':_0x38e57d});const _0x137b86=this['getCommentThread'](_0x38e57d);let _0x595b60=!0x1;if(void 0x0!==_0x5761c1&&_0x137b86['context']!==_0x5761c1&&(_0x137b86['context']=_0x5761c1,_0x595b60=!0x0),void 0x0!==_0x1278b0&&_0x137b86['unlinkedAt']!==_0x1278b0&&(_0x137b86['unlinkedAt']=_0x1278b0,_0x595b60=!0x0),_0x2dfba1&&!pt(_0x2dfba1,_0x137b86['attributes'])&&(_0x137b86['attributes']=_0x2dfba1,_0x595b60=!0x0),!_0x595b60)return Promise['resolve']();if(!_0x137b86['isSubmitted']||_0x74d0a1||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x59b243=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4ea5f2}=_0x137b86,_0x245323=_0x59b243['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x4ea5f2,'threadId':_0x38e57d,'context':_0x5761c1,'unlinkedAt':_0x1278b0,'attributes':_0x2dfba1})['then'](()=>_0x59b243['remove'](_0x245323))['catch'](_0x1aab35=>{throw console['error'](_0x1aab35),new _0x563a76('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x5be1be){const _0x290548=this['context']['plugins']['get'](_),_0x536050=this['getCommentThread'](_0x5be1be);if(this['_threadToController']['has'](_0x536050)){const _0x5c6d26=this['_threadToController']['get'](_0x536050),_0x3c1989=_0x5c6d26['view'],_0x1ff0d3=_0x290548['getByInnerView'](_0x3c1989);this['_threadToController']['delete'](_0x536050),this['_viewToController']['delete'](_0x3c1989),_0x1ff0d3&&_0x290548['remove'](_0x1ff0d3),_0x5c6d26['destroy'](),_0x3c1989['destroy']()['then'](()=>{this['_unbindEditors'](_0x3c1989);});}}['_updateActiveAnnotation']({threadId:_0x47b430,resolvedAt:_0x1e50c3}){const _0x27c359=!!_0x1e50c3,_0xde8a6e=this['context']['plugins']['get'](_),_0x107cbf=this['getCommentThread'](_0x47b430);if(this['_threadToController']['has'](_0x107cbf)){const _0x48f2fe=this['_threadToController']['get'](_0x107cbf)['view'],_0x12ac31=_0xde8a6e['getByInnerView'](_0x48f2fe);_0x12ac31&&(_0x27c359&&_0xde8a6e['_removeActiveAnnotation'](_0x12ac31),_0x12ac31['refreshVisibility']());}}['_getExternalAuthor'](_0x2e878e){const _0x553d62=this['context']['plugins']['get'](ut),_0xaacf8e=lt('external:'+_0x2e878e),_0x38767d=_0x553d62['getUser'](_0xaacf8e);return _0x38767d||_0x553d62['addUser']({'id':_0xaacf8e,'name':_0x2e878e});}['_createNewComment']({threadId:_0x2a0b32,commentId:_0x201130=_0x1dfa77(),content:_0xa36d65,authorId:_0x197ce4,createdAt:_0xc05958,attributes:_0x367e0c}){if('string'!=typeof _0x201130)throw new _0x563a76('commentsrepository-invalid-commentid');if('string'!=typeof _0x197ce4)throw new _0x563a76('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0xa36d65||!_0xa36d65['trim']())throw new _0x563a76('commentsrepository-invalid-comment-content');const _0x3cfac2=this['context']['plugins']['get'](ut)['getUser'](_0x197ce4);if(!_0x3cfac2)throw new _0x563a76('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x197ce4});let _0x1c1f4d=null,_0xb3fc31=_0xc05958;return _0x367e0c&&_0x367e0c['@external']&&(_0x1c1f4d=this['_getExternalAuthor'](_0x367e0c['@external']['authorName']),_0xb3fc31=new Date(_0x367e0c['@external']['createdAt'])),new se(this,{'threadId':_0x2a0b32,'id':_0x201130,'author':_0x1c1f4d||_0x3cfac2,'creator':_0x3cfac2,'content':_0xa36d65,'createdAt':_0xc05958,'authoredAt':_0xb3fc31,'attributes':_0x367e0c});}['_addComment'](_0x1010c9){let {threadId:_0x1672e9,content:_0x3cb0c5,attributes:_0x565b32,isFromAdapter:_0x4c21a1}=_0x1010c9;const _0x32c665=this['getCommentThread'](_0x1010c9['threadId']);if(!_0x32c665)throw new _0x563a76('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x239580=this['_createNewComment'](_0x1010c9),{id:_0x1fe3b4}=_0x239580;if(_0x32c665['_add'](_0x239580),_0x4c21a1||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x32c665['isSubmitted'])return Promise['resolve']();const _0x350621=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4c3ecc}=_0x32c665,_0x19472c=_0x350621['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x565b32||(_0x565b32={}),this['adapter']['addComment']({'channelId':_0x4c3ecc,'threadId':_0x1672e9,'commentId':_0x1fe3b4,'content':_0x3cb0c5,'attributes':_0x565b32})['then'](_0x435de4=>{_0x350621['remove'](_0x19472c),_0x435de4&&this['_updateComment']({'channelId':_0x4c3ecc,'threadId':_0x1672e9,'commentId':_0x1fe3b4,'createdAt':_0x435de4['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x260df0=>{throw console['error'](_0x260df0),new _0x563a76('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x410867,commentId:_0x5242d2,content:_0x46c761,createdAt:_0xf3cd67,attributes:_0x5c00be,isFromAdapter:_0x35dbd3}){if(void 0x0!==_0x46c761&&('string'!=typeof _0x46c761||!_0x46c761['trim']()['length']))throw new _0x563a76('commentsrepository-update-comment-invalid-content');const _0x422e1f=this['getCommentThread'](_0x410867),_0x3bad98=_0x422e1f['getComment'](_0x5242d2);if(!_0x3bad98)throw new _0x563a76('commentsrepository-update-missing-comment',this);let _0x5985d8=!0x1;if(_0x46c761&&_0x46c761!==_0x3bad98['content']&&(_0x3bad98['isEditable']||_0x35dbd3)&&(_0x3bad98['content']=_0x46c761,_0x5985d8=!0x0),_0xf3cd67&&_0xf3cd67!==_0x3bad98['createdAt']&&(_0x3bad98['createdAt']=_0xf3cd67,_0x3bad98['attributes']&&_0x3bad98['attributes']['@external']||(_0x3bad98['authoredAt']=_0xf3cd67),_0x5985d8=!0x0),_0x5c00be&&!pt(_0x5c00be,_0x3bad98['attributes'])&&(_0x3bad98['attributes']=_0x5c00be,_0x5985d8=!0x0),!_0x5985d8)return Promise['resolve']();if(_0x422e1f['fire']('commentUpdated'),_0x35dbd3||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x33e178=this['context']['plugins']['get']('PendingActions'),{channelId:_0x40a445}=this['getCommentThread'](_0x3bad98['threadId']),_0x2a71ef=_0x33e178['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x40a445,'threadId':_0x410867,'commentId':_0x5242d2,'content':_0x46c761,'attributes':_0x5c00be})['then'](()=>_0x33e178['remove'](_0x2a71ef))['catch'](_0x379ea1=>{throw console['error'](_0x379ea1),new _0x563a76('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x537129,commentId:_0x466e3b,isFromAdapter:_0x2de5ac}){const _0x271c37=this['getCommentThread'](_0x537129),_0x9faa28=_0x271c37['getComment'](_0x466e3b);if(!_0x9faa28)throw new _0x563a76('commentsrepository-remove-missing-comment',this);if(_0x271c37['_remove'](_0x9faa28),_0x2de5ac||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x158c99=this['context']['plugins']['get']('PendingActions'),{channelId:_0x589549}=_0x271c37,_0x5bb9f4=_0x158c99['add'](S(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x589549,'threadId':_0x537129,'commentId':_0x466e3b})['then'](()=>_0x158c99['remove'](_0x5bb9f4))['catch'](_0x546cd6=>{throw console['error'](_0x546cd6),new _0x563a76('commentsrepository-remove-comment-internal-error',this);});}}class ee extends/* #__PURE__ -- @preserve */
|
|
30
|
+
_0x50579b(){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x561668,_0x16c73d){super();const _0x200a2e=_0x16c73d['isResolvable'];this['channelId']=_0x16c73d['channelId'],this['id']=_0x16c73d['id'],this['comments']=new _0x203f54(),this['_repository']=_0x561668,this['_isAttached']=!0x1,this['_isSubmitted']=_0x16c73d['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x561668,'_permissions',_0x561668,'_readOnlyChannels',()=>_0x561668['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x561668,'_permissions',()=>_0x561668['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x561668,'_permissions',()=>{const _0x2c82cd=_0x561668['getPermissions'](this['channelId']);return _0x2c82cd['write']||_0x2c82cd['admin'];}),this['bind']('isResolvable')['to'](_0x561668,'_permissions',()=>_0x200a2e&&_0x561668['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x16c73d['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x2cb6f7,_0x4532fe)=>_0x2cb6f7?_0x4532fe?_0x2cb6f7<_0x4532fe?_0x2cb6f7:_0x4532fe:_0x2cb6f7:_0x4532fe),this['set']('unlinkedAt',_0x16c73d['unlinkedAt']||null),this['set']('resolvedAt',_0x16c73d['resolvedAt']||null),this['set']('resolvedBy',_0x16c73d['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x5451e9=>!!_0x5451e9),this['set']('attributes',_0x16c73d['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x435863,_0x4ee852)=>_0x435863+_0x4ee852['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x48f15e,id:_0x8d985d}=this;this['_repository']['fire'](Tt('submitCommentThread',_0x48f15e),{'channelId':_0x48f15e,'threadId':_0x8d985d});}['setUnlinkedAt'](_0x25ac0a){this['_update']({'unlinkedAt':_0x25ac0a});}['resolve']({resolvedAt:_0x19a155=new Date(),resolvedBy:_0x384a46=null,isFromAdapter:_0x3984d8=!0x1}={}){const _0x9b47c8=this['_repository']['context']['plugins']['get'](ut)['me'],{channelId:_0x40f819,id:_0x1f26ac}=this;this['_repository']['fire'](Tt('resolveCommentThread',_0x40f819),{'channelId':_0x40f819,'threadId':_0x1f26ac,'resolvedAt':_0x19a155,'resolvedBy':_0x384a46||_0x9b47c8['id'],'isFromAdapter':_0x3984d8});}['reopen']({isFromAdapter:_0x149aaa=!0x1}={}){const {channelId:_0x4bf215,id:_0x40f828}=this;this['_repository']['fire'](Tt('reopenCommentThread',_0x4bf215),{'channelId':_0x4bf215,'threadId':_0x40f828,'isFromAdapter':_0x149aaa});}['setContext'](_0x187a13){this['context']||this['_update']({'context':_0x187a13});}['setAttribute'](_0x8916e,_0x47ba6e){const _0x5828a8=ft(this['attributes']);It(_0x5828a8,_0x8916e,_0x47ba6e),this['_update']({'attributes':_0x5828a8});}['removeAttribute'](_0x1283a4){const _0x32c0a3=ft(this['attributes']);wt(_0x32c0a3,_0x1283a4),this['_update']({'attributes':_0x32c0a3});}['remove']({isFromAdapter:_0x405e9f=!0x1}={}){const {channelId:_0x4f0a61,id:_0x1585b7}=this;this['_repository']['fire'](Tt('removeCommentThread',_0x4f0a61),{'channelId':_0x4f0a61,'threadId':_0x1585b7,'isFromAdapter':_0x405e9f});}['attachTo'](_0x3021ba){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x3021ba});}['addComment'](_0x554360){const {channelId:_0xeb92aa,id:_0x363a77}=this;this['_repository']['fire'](Tt('addComment',_0xeb92aa,_0x363a77),Object['assign']({'channelId':_0xeb92aa,'threadId':_0x363a77},_0x554360));}['getComment'](_0x4f1d8e){if('string'!=typeof _0x4f1d8e)throw new _0x563a76('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x4f1d8e});return this['comments']['get'](_0x4f1d8e);}['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'](_0x52237b=>_0x52237b['toJSON']()),'attributes':this['attributes']};}['_add'](_0x1875a3){return this['listenTo'](_0x1875a3,'change:authoredAt',()=>{const _0x372025=this['_findOptimalIndex'](_0x1875a3),_0x124231=this['comments'];_0x372025-0x1!=_0x124231['getIndex'](_0x1875a3)&&_0x372025+0x1!=_0x124231['getIndex'](_0x1875a3)&&(this['_remove'](_0x1875a3),this['_add'](_0x1875a3));}),this['comments']['add'](_0x1875a3,this['_findOptimalIndex'](_0x1875a3));}['_update'](_0x23f712){const {channelId:_0x387265,id:_0x376ef9}=this;this['_repository']['fire'](Tt('updateCommentThread',_0x387265),{..._0x23f712,'channelId':_0x387265,'threadId':_0x376ef9});}['_remove'](_0x101369){return this['stopListening'](_0x101369),_0x101369['destroy'](),this['comments']['remove'](_0x101369);}['_findOptimalIndex'](_0x3dc731){const _0x451202=this['comments']['find'](_0xe32860=>new Date(_0xe32860['authoredAt'])['getTime']()>new Date(_0x3dc731['authoredAt'])['getTime']());return _0x451202?this['comments']['getIndex'](_0x451202):this['length'];}}class se extends/* #__PURE__ -- @preserve */
|
|
31
|
+
_0x50579b(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x162984,_0x4ac7cd){super();const _0x56b1c9=_0x162984['context']['plugins']['get'](ut)['me'],_0x48759f=_0x162984['getCommentThread'](_0x4ac7cd['threadId']),_0x385d10=0x0===_0x48759f['comments']['length'],_0x4150e1=_0x56b1c9===_0x4ac7cd['author'];this['id']=_0x4ac7cd['id'],this['threadId']=_0x4ac7cd['threadId'],this['author']=_0x4ac7cd['author'],this['creator']=_0x4ac7cd['creator'],this['isExternal']=Boolean(_0x4ac7cd['attributes']&&_0x4ac7cd['attributes']['@external']),this['set']('content',_0x4ac7cd['content']),this['createdAt']=_0x4ac7cd['createdAt']||new Date(),this['set']('authoredAt',_0x4ac7cd['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x48759f,'resolvedAt'),this['set']('attributes',_0x4ac7cd['attributes']||{}),this['bind']('isEditable')['to'](_0x162984,'_permissions',()=>{const _0x1d4d21=_0x162984['getPermissions'](_0x48759f['channelId'])['write'],_0x16fd3c=_0x162984['getPermissions'](_0x48759f['channelId'])['modifyAll'];return _0x4150e1&&_0x1d4d21||!_0x4150e1&&_0x16fd3c;}),this['bind']('isRemovable')['to'](_0x48759f,'isRemovable',_0x162984,'_permissions',_0x4debaa=>{const _0x1b731f=_0x162984['getPermissions'](_0x48759f['channelId'])['write'],_0x10a208=_0x162984['getPermissions'](_0x48759f['channelId'])['modifyAll'];return _0x4150e1&&_0x1b731f||_0x4debaa&&_0x385d10||!_0x4150e1&&_0x10a208&&!_0x385d10;}),this['bind']('isReadOnly')['to'](_0x48759f,'isReadOnly'),this['_repository']=_0x162984;}get['weight'](){return Math['max'](function(_0x52930d){const _0x173e37=document['createElement']('div');return _0x173e37['innerHTML']=_0x52930d,_0x173e37['textContent']['length'];}(this['content']),0xc8);}['update'](_0xad7d27){const {threadId:_0x4a4372,id:_0x504a42}=this;if(!this['_repository']['hasCommentThread'](_0x4a4372))throw new _0x563a76('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x4bf31d}=this['_repository']['getCommentThread'](_0x4a4372);this['_repository']['fire'](Tt('updateComment',_0x4bf31d,_0x4a4372),{'channelId':_0x4bf31d,'threadId':_0x4a4372,'commentId':_0x504a42,..._0xad7d27});}['setAttribute'](_0x3880a3,_0x231d43){const _0x1377a0=ft(this['attributes']);It(_0x1377a0,_0x3880a3,_0x231d43),this['update']({'attributes':_0x1377a0});}['removeAttribute'](_0x27e035){const _0x2d09a1=ft(this['attributes']);wt(_0x2d09a1,_0x27e035),this['update']({'attributes':_0x2d09a1});}['remove'](_0x453d61={}){if(!_0x453d61['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x5dabe1,id:_0x6a9feb}=this;if(!this['_repository']['hasCommentThread'](_0x5dabe1))throw new _0x563a76('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x1b6847}=this['_repository']['getCommentThread'](_0x5dabe1);this['_repository']['fire'](Tt('removeComment',_0x1b6847,_0x5dabe1),{'channelId':_0x1b6847,'threadId':_0x5dabe1,'commentId':_0x6a9feb,..._0x453d61});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function Tt(_0xba8e64,..._0x2ad4b4){for(const _0x3a814f of _0x2ad4b4)void 0x0!==_0x3a814f&&(_0xba8e64+=':'+String(_0x3a814f));return _0xba8e64;}class J extends _0x3db398{['refresh'](){const _0x339d91=this['editor']['model']['document']['selection'];for(const _0x28809e of _0x339d91['getRanges']())if(this['_hasContent'](_0x28809e))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['execute']({threadId:_0x79d0c1=_0x1dfa77()}={}){const _0x2187fb=this['editor']['model'],_0x9bfd67=[];for(const _0x3bb6af of _0x2187fb['document']['selection']['getRanges']())this['_hasContent'](_0x3bb6af)&&_0x9bfd67['push'](this['_trimToContent'](_0x3bb6af));_0x2187fb['change'](_0x276f2f=>{for(const _0x9d1103 of _0x9bfd67){const _0x51e56e=_0x1dfa77()['substr'](0x1,0x5),_0x442c87='comment:'+_0x79d0c1+':'+_0x51e56e;_0x276f2f['addMarker'](_0x442c87,{'range':_0x9d1103,'usingOperation':!0x1,'affectsData':!0x1});}});}['_hasContent'](_0x32da22){for(const _0x49dede of _0x32da22['getItems']())if(this['_itemIsContent'](_0x49dede))return!0x0;return!0x1;}['_itemIsContent'](_0xbe5d5b){return _0xbe5d5b['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0xbe5d5b)&&!_0xbe5d5b['is']('element','tableCell');}['_trimToContent'](_0x28bb14){const _0x148141=_0x3ccf9c=>!this['_itemIsContent'](_0x3ccf9c['item']),_0x45e7e3=_0x28bb14['start']['getLastMatchingPosition'](_0x148141),_0x14fe8f=_0x28bb14['end']['getLastMatchingPosition'](_0x148141,{'direction':'backward'});return this['editor']['model']['createRange'](_0x45e7e3,_0x14fe8f);}}class b extends _0x177a25{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[_];}static get['pluginName'](){return'EditorAnnotations';}constructor(_0x874b14){super(_0x874b14),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x1e0361=this['editor'],_0x3a8931=_0x1e0361['model']['document']['selection'],_0x1a948c=_0x14b97d(()=>this['refreshSelectedViews'](),0xa);_0x3a8931['on']('change:range',(_0x16892e,_0x43ce55)=>{_0x43ce55['directChange']&&(_0x1a948c['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x1e0361['editing']['view']['document'],'change:isFocused',(_0x4e7c56,_0x412e93,_0x1f40fd)=>{_0x1f40fd&&_0x1a948c();}),this['listenTo'](_0x1e0361['ui']['focusTracker'],'change:isFocused',(_0x94cece,_0x66725b,_0x4dc663)=>{_0x4dc663||_0x1e0361['isReadOnly']||this['fire']('blur',{'isAnnotationTracked':_0x464487=>this['_editorAnnotationsData']['has'](_0x464487['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x5ac04e){if(this['_editorAnnotations']['has'](_0x5ac04e['view']))return;this['_editorAnnotations']['add'](_0x5ac04e['view']),this['editor']['ui']['focusTracker']['add'](_0x5ac04e['view']['element']);const _0x414090=this['editor']['plugins']['get'](_);this['listenTo'](_0x414090['collection'],'remove',(_0x57783f,_0x4428ce)=>{this['editor']['ui']['focusTracker']['remove'](_0x4428ce['view']['element']),this['_editorAnnotations']['delete'](_0x4428ce['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x2ff321){if('function'!=typeof _0x2ff321)throw new _0x563a76('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x2ff321);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0xa66253,annotations:_0x22b4d2}){const _0xd1ac03=[],_0x5e78c9=this['editor']['model']['document']['selection'],_0x134da6=Array['from'](_0x5e78c9['getRanges']());for(const [_0x4768ee,_0x9fd3c8]of this['_editorAnnotationsData']){const _0x57c4ea=_0x29fd35(_0x9fd3c8),_0x5413a3=_0x22b4d2['getByInnerView'](_0x4768ee);_0x57c4ea&&_0x5413a3&&_0xd1ac03['push']({'annotation':_0x5413a3,'range':_0x57c4ea});}function _0x29fd35(_0x1a5439){for(const _0x318f00 of _0x1a5439)for(const _0x29481c of _0x134da6)if(_0x318f00['containsRange'](_0x29481c,!_0x5e78c9['isCollapsed']))return _0x318f00;return null;}return _0xd1ac03['sort']((_0x3e7144,_0x2510eb)=>{const _0x2e9f7a=_0x3e7144['range'],_0x163b1a=_0x2510eb['range'];if(!_0x2e9f7a['isEqual'](_0x163b1a)){if(_0x2e9f7a['containsRange'](_0x163b1a,!0x0))return 0x1;if(_0x163b1a['containsRange'](_0x2e9f7a,!0x0))return-0x1;}return _0x3e7144['annotation']==_0xa66253?-0x1:_0x2510eb['annotation']==_0xa66253?0x1:0x0;})['map'](_0x3ba886=>_0x3ba886['annotation']);}get['_editorAnnotationsData'](){const _0x13c348=new Map();for(const _0x48f334 of Array['from'](this['_dataCollectors']))for(const [_0x37c89e,_0x4c801b]of _0x48f334())_0x13c348['set'](_0x37c89e,_0x4c801b);return _0x13c348;}}class nt extends _0x177a25{['afterInit'](){const _0x548330=this['editor'];if(!_0x548330['plugins']['has']('RestrictedEditingModeEditing'))return;_0x548330['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class it extends _0x177a25{constructor(_0x226a15){super(_0x226a15),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x4e8b6a=this['editor'],_0x23003d=_0x4e8b6a['commands']['get']('importWord'),_0x5e35db=_0x4e8b6a['plugins']['get'](ut);_0x23003d&&(_0x23003d['on']('execute',(_0x44b714,[,_0x29557c])=>{_0x29557c['collaboration_features']={'comments':!0x0,'user_id':_0x5e35db['me']['id']};},{'priority':Wt['high']+0xa}),this['listenTo'](_0x23003d,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x33c2d3,_0x4d11a1){const {comment_threads:_0x4587cb}=_0x4d11a1;_0x4587cb&&_0x4587cb['forEach'](({thread_id:_0x429641,comments:_0x4f3706,is_resolved:_0x411c5f})=>{const _0x5c14e7=new Date(),_0x48e12d=_0x4f3706['map'](({author:_0x4e57c6,content:_0x81d169,created_at:_0x5d8731})=>({'content':_0x81d169,'authorId':this['editor']['plugins']['get'](ut)['me']['id'],'createdAt':_0x5c14e7,'attributes':{'@external':{'authorName':_0x4e57c6,'createdAt':_0x5d8731?new Date(_0x5d8731):new Date(),'source':'importWord'}}})),_0x5d3946=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](m)['addCommentThread']({'channelId':_0x5d3946,'threadId':_0x429641,'comments':_0x48e12d,'resolvedAt':_0x411c5f?_0x5c14e7:null});});}}class st extends _0x177a25{constructor(_0x4ca4b1){super(_0x4ca4b1),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[Mt,Pt];}['afterInit'](){const _0x4b5441=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x4b5441,'contentInsertion',(_0x421752,_0x3f7bf0)=>this['_removeMarkersWithoutThreads'](_0x3f7bf0['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x572e51){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x572e51;const _0x4f5d86=this['editor']['plugins']['get']('CommentsRepository');for(const _0x2feb3b of _0x572e51['keys']()){const [_0x89044e,_0x2c6f78]=_0x2feb3b['split'](':');'comment'!=_0x89044e||_0x4f5d86['hasCommentThread'](_0x2c6f78)||_0x572e51['delete'](_0x2feb3b);}return _0x572e51;}['_registerMarkerInClipboardPipeline'](){const _0x2f2373=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x10455d=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x10455d&&_0x2f2373['_registerMarkerToCopy']('comment',_0x10455d);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x500d37){switch(_0x500d37){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 _0x177a25{static get['requires'](){return[m,b,nt,it,st];}static get['pluginName'](){return'CommentsEditing';}constructor(_0x5d52cd){super(_0x5d52cd),this['set']('isThreadsLoadingPaused',!0x0),_0x5d52cd['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x5a4c6e,_0x47b074,_0x403cf1,_0x143506)=>{const _0x26a0f5=_0x403cf1?jt(_0x403cf1)['id']:null;if(_0x5d52cd['model']['change'](()=>{if(_0x26a0f5){const _0x30fe76=this['getAllMarkersForId'](_0x26a0f5);for(const _0x45e545 of _0x30fe76)_0x5d52cd['editing']['reconvertMarker'](_0x45e545);}if(_0x143506){const {id:_0x3be9ef}=jt(_0x143506),_0x234d48=this['getAllMarkersForId'](_0x3be9ef);for(const _0x84a334 of _0x234d48)_0x5d52cd['editing']['reconvertMarker'](_0x84a334);}}),_0x26a0f5){const _0x418faa=_0x5d52cd['plugins']['get'](m)['getCommentThread'](_0x26a0f5);_0x418faa&&_0x418faa['isResolved']&&this['scrollToThreadMarker'](_0x26a0f5);}}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x5c4445=this['editor'],_0x47b28e=_0x5c4445['plugins']['get'](m),_0x265c5e=_0x5c4445['config']['get']('collaboration.channelId');_0x5c4445['commands']['add']('addCommentThread',new J(_0x5c4445)),this['listenTo'](_0x5c4445,'change:isReadOnly',(_0x15eaee,_0x53fa78,_0x4cb9da)=>{_0x47b28e['switchReadOnly'](_0x4cb9da,_0x5c4445['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x47b28e,at('addCommentThread',_0x265c5e),(_0xb49f4e,{threadId:_0x5cbe66})=>{const _0x3d1408=this['editor']['plugins']['get'](m)['getCommentThread'](_0x5cbe66);_0x3d1408&&_0x3d1408['unlinkedAt']&&this['_attachArchivedThread'](_0x5cbe66);}),this['listenTo'](_0x47b28e,at('removeCommentThread',_0x265c5e),(_0x1b1c8b,{threadId:_0x54c716})=>{_0x5c4445['model']['enqueueChange']({'isUndoable':!0x1},_0x20b3bc=>{const _0x23a600=this['getAllMarkersForId'](_0x54c716);for(const _0x535fd3 of _0x23a600)_0x20b3bc['removeMarker'](_0x535fd3);});}),this['listenTo'](_0x47b28e,at('resolveCommentThread',_0x265c5e),(_0x4cde09,{threadId:_0x4de189})=>{(this['_reconvertMarkers'](_0x4de189),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](m)['getCommentThread'](_0x4de189)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x47b28e,at('reopenCommentThread',_0x265c5e),(_0x4f50f1,{threadId:_0x550c40})=>{this['_reconvertMarkers'](_0x550c40);},{'priority':'low'}),this['listenTo'](_0x47b28e,at('addComment',_0x265c5e),(_0x4fda79,{threadId:_0x138414,isFromAdapter:_0x3dc0ad})=>{const _0x5e9f88=this['getAllMarkersForId'](_0x138414);if(_0x3dc0ad||0x0==_0x5e9f88['length']||!_0x47b28e['hasCommentThread'](_0x138414))return;0x1===_0x47b28e['getCommentThread'](_0x138414)['length']&&_0x5c4445['model']['enqueueChange']({'isUndoable':!0x1},_0x1d1cb9=>{for(const _0x27f2dd of _0x5e9f88)_0x1d1cb9['updateMarker'](_0x27f2dd,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove']();}['destroy'](){const _0x2402af=this['editor']['plugins']['get'](m),_0xa9b94c=this['editor']['config']['get']('collaboration.channelId');for(const _0x3ee126 of _0x2402af['getCommentThreads']({'channelId':_0xa9b94c}))_0x2402af['_detachCommentThread'](_0x3ee126['id']),_0x2402af['_threads']['delete'](_0x3ee126['id']);super['destroy']();}['hasMarkerForId'](_0x496e61){return this['getAllMarkersForId'](_0x496e61)['length']>0x0;}['getAllMarkersForId'](_0x3b5f28){const _0x2cf40c=[];for(const _0x4a6e0b of this['editor']['model']['markers'])_0x4a6e0b['name']['startsWith']('comment:'+_0x3b5f28)&&_0x2cf40c['push'](_0x4a6e0b);return _0x2cf40c;}['scrollToThreadMarker'](_0x23ecc9){const _0x5c7580=this['_getTargetForId'](_0x23ecc9);_0x5c7580&&setTimeout(()=>{this['activeMarker']&&jt(this['activeMarker'])['id']===_0x23ecc9&&tt({'target':_0x5c7580[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x2584e7){this['editor']['model']['change'](()=>{for(const _0x36e1a0 of this['getAllMarkersForId'](_0x2584e7))this['editor']['editing']['reconvertMarker'](_0x36e1a0);});}['_attachArchivedThread'](_0x2132ac){const _0x21b054=this['editor']['plugins']['get'](m),_0x56fdb7=this['editor']['plugins']['get'](b),_0x4f091e=_0x21b054['getCommentThread'](_0x2132ac);if(!_0x4f091e['isAttached']){const _0x5e625b=_0x4f091e['attachTo'](()=>this['_getTargetForId'](_0x4f091e['id']));_0x56fdb7['registerAnnotation'](_0x5e625b),_0x4f091e['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x2ea6dd=this['editor'];_0x2ea6dd['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x1a31bb,_0x147146)=>{const {id:_0x1e8f9d}=jt(_0x1a31bb['markerName']),_0xd61dc9=_0x2ea6dd['plugins']['get'](m)['getCommentThread'](_0x1e8f9d),_0x564993=this['activeMarker']&&jt(this['activeMarker'])['id']===_0x1e8f9d;if(_0xd61dc9&&_0xd61dc9['isResolved']&&!_0x564993&&_0x1a31bb['item'])return _0x147146['consumable']['consume'](_0x1a31bb['item'],'addMarker:'+_0x1a31bb['markerName']),_0x147146['consumable']['consume'](_0x1a31bb['item'],'removeMarker:'+_0x1a31bb['markerName']),null;const _0x5f0a1f=['ck-comment-marker'];return _0x564993&&_0x5f0a1f['push']('ck-comment-marker--active'),{'classes':_0x5f0a1f,'attributes':{'data-comment':_0x1e8f9d}};}}),_0x2ea6dd['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x3a93f1,{options:_0x3f7116})=>{const _0xf6a7f1=_0x2ea6dd['plugins']['get'](m),_0x185db7=_0x2ea6dd['model']['markers']['get'](_0x3a93f1),{id:_0x12f333,part:_0x522a9e}=jt(_0x3a93f1);if(_0x185db7&&!_0x185db7['affectsData'])return null;if(_0x3f7116['ignoreResolvedComments']){const _0x29b098=_0xf6a7f1['getCommentThread'](_0x12f333);if(_0x29b098&&_0x29b098['isResolved'])return null;}return{'group':'comment','name':_0x522a9e?_0x12f333+':'+_0x522a9e:_0x12f333};}}),_0x2ea6dd['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x3e0832,{writer:_0x1b8f17})=>_0x1b8f17['createElement']('$marker',{'data-name':'comment:'+_0x3e0832['getAttribute']('id')})}),_0x2ea6dd['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x2e09d2=this['editor'],_0x1ef111=_0x2e09d2['plugins']['get'](m),_0x9ea69=new Set(),_0x42ee2e=new Set();_0x2e09d2['model']['document']['registerPostFixer'](_0x44fafb=>{let _0x52eff2=!0x1;for(const {name:_0x5d5ba7,data:_0x38c973}of _0x2e09d2['model']['document']['differ']['getChangedMarkers']()){const {group:_0x1fba89,id:_0x3889ad}=jt(_0x5d5ba7);let _0x5e35e8=_0x38c973['newRange'];if('comment'!==_0x1fba89||!_0x5e35e8)continue;const _0xacb096='$graveyard'===_0x5e35e8['root']['rootName'];_0xacb096||(_0x5e35e8=ct(_0x5e35e8,_0x2e09d2['model']),!_0x5e35e8||_0x5e35e8['isCollapsed']||!_0x38c973['newRange']||_0x5e35e8['isEqual'](_0x38c973['newRange']))?_0x2e09d2['model']['hasContent'](_0x5e35e8)&&!_0xacb096?this['isThreadsLoadingPaused']?_0x9ea69['add'](_0x5d5ba7):this['_handleThreadMarker'](_0x5d5ba7,_0x3889ad):(_0x42ee2e['add'](_0x5d5ba7),_0x9ea69['delete'](_0x5d5ba7),_0x44fafb['removeMarker'](_0x5d5ba7),_0x52eff2=!0x0):(_0x44fafb['updateMarker'](_0x5d5ba7,{'range':_0x5e35e8}),_0x52eff2=!0x0);}return _0x52eff2;}),this['on']('change:isThreadsLoadingPaused',(_0x1f00d7,_0x4eb65d,_0x4a78bb)=>{if(!_0x4a78bb&&_0x9ea69['size'])for(const _0x33f14f of _0x9ea69){const {id:_0xf524ef}=jt(_0x33f14f);_0x9ea69['delete'](_0x33f14f),_0x2e09d2['model']['markers']['get'](_0x33f14f)&&this['_handleThreadMarker'](_0x33f14f,_0xf524ef);}}),this['listenTo'](_0x2e09d2['model']['document'],'change',(_0x10d5ab,_0x3f4c2a)=>{for(const {name:_0x4b0866,data:{newRange:_0x2c66ab}}of _0x2e09d2['model']['document']['differ']['getChangedMarkers']()){const {group:_0xbda94d,id:_0x51cc13}=jt(_0x4b0866);if('comment'!==_0xbda94d)continue;const _0x4bbeed=_0x1ef111['getCommentThread'](_0x51cc13),_0x4b99c2=this['hasMarkerForId'](_0x51cc13);_0x4bbeed&&(_0x4bbeed['_hasTargetInContent']||_0x2e09d2['editing']['view']['once']('render',()=>{const _0x3ac2b3=_0x2e09d2['plugins']['get'](_),_0x4f9fbd=_0x1ef111['_threadToController']['get'](_0x4bbeed)['view'];_0x3ac2b3['getByInnerView'](_0x4f9fbd)['refreshVisibility']();},{'priority':'low'}),_0x4bbeed['_hasTargetInContent']=_0x4b99c2||!!_0x2c66ab),_0x2c66ab||(_0x42ee2e['add'](_0x4b0866),_0x9ea69['delete'](_0x4b0866));}if(_0x3f4c2a['isLocal'])for(const _0x23adfc of _0x42ee2e){const {id:_0x5a8071}=jt(_0x23adfc),_0x57a9ea=_0x1ef111['getCommentThread'](_0x5a8071),_0x5d4c80=this['hasMarkerForId'](_0x5a8071);_0x9ea69['delete'](_0x23adfc),!_0x57a9ea||_0x5d4c80||_0x57a9ea['unlinkedAt']||_0x57a9ea['setUnlinkedAt'](new Date());}_0x42ee2e['clear']();});}['_getTargetForId'](_0x271822){const _0x14b996=this['editor'],_0x208a5b=this['getAllMarkersForId'](_0x271822);return rt(_0x14b996['editing'],_0x208a5b);}['_getTextContext'](_0x43c5d2){const _0x192599=this['getAllMarkersForId'](_0x43c5d2);let _0x41f9fb='',_0x3da413=!0x1;for(const _0x586c79 of _0x192599){const _0x4a8be7=_0x586c79['getRange']();for(const _0x22393c of Array['from'](_0x4a8be7['getItems']()))_0x22393c['is']('$textProxy')?(_0x41f9fb&&_0x3da413&&(_0x41f9fb+='\x20',_0x3da413=!0x1),_0x41f9fb+=_0x22393c['data']):_0x3da413=!0x0;_0x3da413=!0x0;}return _0x41f9fb['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x2a4601,_0x418100){const _0x5a5657=this['editor'],_0x8d3ec0=_0x5a5657['plugins']['get'](m);let _0x29498b=_0x8d3ec0['getCommentThread'](_0x418100);const _0x4ddcdf=_0x5a5657['config']['get']('collaboration.channelId'),_0x1b3600=_0x5a5657['plugins']['get'](b);if(_0x29498b&&(_0x29498b['unlinkedAt']&&_0x29498b['setUnlinkedAt'](null),_0x29498b['isAttached']))return _0x29498b;return!this['getAllMarkersForId'](_0x418100)[0x0]['managedUsingOperations']?_0x5a5657['editing']['view']['once']('render',()=>{if(_0x8d3ec0['getCommentThread'](_0x418100))return;const _0x2037ae=_0x5a5657['plugins']['get'](_);_0x29498b=_0x8d3ec0['openNewCommentThread']({'channelId':_0x4ddcdf,'threadId':_0x418100,'target':()=>this['_getTargetForId'](_0x418100),'context':{'type':'text','value':this['_getTextContext'](_0x418100)}});const _0x304715=_0x8d3ec0['_threadToController']['get'](_0x29498b)['view'],_0x1d0079=_0x2037ae['getByInnerView'](_0x304715);_0x1d0079&&_0x1b3600['registerAnnotation'](_0x1d0079);},{'priority':'low'}):_0x8d3ec0['fetchCommentThread']({'channelId':_0x4ddcdf,'threadId':_0x418100})['then'](_0x2ef61d=>{if('destroyed'!==_0x5a5657['state']){if(_0x29498b=_0x2ef61d,_0x29498b&&!_0x29498b['isAttached']){const _0x282caa=_0x29498b['attachTo'](()=>this['_getTargetForId'](_0x418100));_0x1b3600['registerAnnotation'](_0x282caa),_0x29498b['isResolved']&&this['_reconvertMarkers'](_0x418100);}else{if(!_0x29498b){const _0x2838eb=this['getAllMarkersForId'](_0x418100);_0x5a5657['model']['change'](_0xf99765=>{for(const _0x5da8d5 of _0x2838eb)_0xf99765['removeMarker'](_0x5da8d5);});}}}}),_0x29498b;}['_handleThreadMarker'](_0xcb1c3a,_0x3a5059){const _0x16cba1=this['_attachMarkerToThread'](_0xcb1c3a,_0x3a5059);_0x16cba1&&!_0x16cba1['context']&&_0x16cba1['setContext']({'type':'text','value':this['_getTextContext'](_0x3a5059)});}['_initAriaMarkerChangeAnnouncements'](){const _0x5b3578=this['editor'];et(_0x5b3578['model'],({left:_0x4bbd6a,entered:_0x21b5fa})=>{for(const _0x312356 of _0x4bbd6a)if(mt(_0x312356)){_0x5b3578['ui']['ariaLiveAnnouncer']['announce'](S(_0x5b3578['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x547716 of _0x21b5fa)if(mt(_0x547716)){_0x5b3578['ui']['ariaLiveAnnouncer']['announce'](S(_0x5b3578['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0x11fe72(ot)));break;}});}}function at(_0x3aebec,_0x1960e0){return _0x1960e0?_0x3aebec+':'+_0x1960e0:_0x3aebec;}function jt(_0x189f1b){const _0x4ae64d=_0x189f1b['split'](':');return{'group':_0x4ae64d[0x0],'id':_0x4ae64d[0x1],'part':_0x4ae64d[0x2]};}function ct(_0x33c9d7,_0x3722ea){const _0x257cdc=_0x3722ea['schema'],_0xb4552=_0x3722ea['createRange'](_0x33c9d7['start']);for(const _0x59858f of _0x33c9d7['getWalker']()){const {type:_0x31d982,item:_0x36fb7c,nextPosition:_0x5f80ad}=_0x59858f;if('text'===_0x31d982||_0x257cdc['isObject'](_0x36fb7c)){const _0x7de609=_0x3722ea['createPositionBefore'](_0x36fb7c);_0xb4552['isCollapsed']&&(_0xb4552['start']=_0x7de609),_0xb4552['end']=_0x5f80ad;}}return _0xb4552;}function mt(_0x3ae9e6){return'comment'===jt(_0x3ae9e6['name'])['group'];}var $t='<!--\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 _0x177a25{static get['pluginName'](){return'CommentsUI';}static get['requires'](){return[m,r,b,_];}get['CommentsListView'](){return kt;}get['CommentThreadInputView'](){return xt;}['init'](){const _0x107ddd=this['editor'],_0x5291d4=_0x107ddd['plugins']['get'](m),_0x18a59a=_0x107ddd['plugins']['get'](r),_0x26fddd=_0x107ddd['plugins']['get'](_),_0x1fcdd2=_0x107ddd['plugins']['get'](b);_0x107ddd['ui']['componentFactory']['add']('comment',()=>{const _0x57a2f6=this['_createUIButton'](_0x4469aa);return _0x57a2f6['tooltip']=!0x0,_0x57a2f6;}),_0x107ddd['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x5c9c2c)),_0x1fcdd2['addSourceCollector'](()=>{const _0xaa50b8=[];for(const [_0x12ee8b,_0x16bc0c]of _0x5291d4['_threadToController']){const _0x2a5905=_0x18a59a['getAllMarkersForId'](_0x12ee8b['id']),_0x4a3110=_0x2a5905['map'](_0xdb9373=>_0xdb9373['getRange']());_0x2a5905['length']>0x0&&_0xaa50b8['push']([_0x16bc0c['view'],_0x4a3110]);}return _0xaa50b8;}),this['listenTo'](_0x26fddd,'change:activeAnnotations',(_0x5950db,_0x3ed90c,_0x5d5df6)=>{const _0x2b7007=Array['from'](_0x5d5df6)['map'](_0x405211=>_0x405211['innerView'])['find'](_0x4d4459=>_0x5291d4['_viewToController']['has'](_0x4d4459));if(!_0x2b7007)return void(_0x18a59a['activeMarker']=null);const _0x219f1b=_0x5291d4['_viewToController']['get'](_0x2b7007)['model']['id'],_0x17352b='comment:'+_0x219f1b;_0x219f1b&&_0x18a59a['hasMarkerForId'](_0x219f1b)?_0x18a59a['activeMarker']=_0x17352b:_0x18a59a['activeMarker']&&(_0x18a59a['activeMarker']=null);}),this['listenTo'](_0x5291d4,'removeCommentThread',(_0x4a7386,{threadId:_0xfcf686,isFromAdapter:_0x5a6727})=>{!_0x5a6727&&_0x107ddd['ui']['focusTracker']['isFocused']&&_0x18a59a['hasMarkerForId'](_0xfcf686)&&_0x107ddd['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x5291d4,'addComment',(_0x4829b0,{threadId:_0x21fd42,isFromAdapter:_0x2dc0fe})=>{if(_0x2dc0fe||!_0x18a59a['hasMarkerForId'](_0x21fd42)||!_0x5291d4['hasCommentThread'](_0x21fd42))return;0x1===_0x5291d4['getCommentThread'](_0x21fd42)['length']&&(_0x107ddd['editing']['view']['focus'](),_0x4829b0['stop']());},{'priority':'low'}),this['_initKeyboardNavigation']();}['_createUIButton'](_0x6d4842){const _0x2c0bd2=this['editor'],_0x35a8e7=new _0x6d4842(_0x2c0bd2['locale']),_0xaeee1e=_0x2c0bd2['commands']['get']('addCommentThread');return _0x35a8e7['set']({'label':S(_0x2c0bd2['locale'],'Comment'),'icon':$t}),_0x35a8e7['bind']('isEnabled')['to'](_0xaeee1e),this['listenTo'](_0x35a8e7,'execute',()=>_0xaeee1e['execute']()),_0x35a8e7;}['_initKeyboardNavigation'](){const _0x52e7e4=this['editor'],_0x5856d2=_0x52e7e4['plugins']['get'](m);this['listenTo'](_0x5856d2,'escapeThread',(_0x3a5037,{threadId:_0x202831,channelId:_0x16a8e2})=>{if(_0x16a8e2!==_0x52e7e4['config']['get']('collaboration.channelId'))return;const _0x2cc426=_0x5856d2['getCommentThread'](_0x202831);_0x2cc426&&!_0x2cc426['archivedAt']&&_0x52e7e4['editing']['view']['focus']();},{'priority':'low'}),_0x52e7e4['keystrokes']['set'](ot,(_0x3158a0,_0x3b7e3e)=>{const _0x453158=this['editor']['plugins']['get'](r);if(!_0x453158['activeMarker'])return;const _0x26ca66=_0x52e7e4['plugins']['get'](m),{id:_0xed3b8d}=jt(_0x453158['activeMarker']),_0x9c3bd=_0x26ca66['getCommentThread'](_0xed3b8d);_0x9c3bd&&(_0x26ca66['_threadToController']['get'](_0x9c3bd)['view']['focus'](),_0x3b7e3e());});}}class e extends _0x177a25{static get['pluginName'](){return'CommentsOnly';}static get['requires'](){return[r];}constructor(_0x2c6e0a){super(_0x2c6e0a),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x1b43b8,_0x4fde78,_0x380f53)=>{_0x380f53?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x47f938,_0x263c12]of this['editor']['commands'])_0x263c12['affectsData']&&'addCommentThread'!==_0x47f938&&_0x263c12['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode');const _0x3ac558=this['editor']['editing']['view']['document'];this['listenTo'](_0x3ac558,'cut',_0x2bfa0f=>_0x2bfa0f['stop'](),{'priority':'highest'}),this['listenTo'](_0x3ac558,'clipboardInput',_0x2ece73=>_0x2ece73['stop'](),{'priority':'highest'}),this['listenTo'](_0x3ac558,'delete',_0x215416=>_0x215416['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x9adc50,_0x1fe54b]of this['editor']['commands'])_0x1fe54b['affectsData']&&'addCommentThread'!==_0x9adc50&&_0x1fe54b['clearForceDisabled']('commentsOnlyMode');this['stopListening'](this['editor']['editing']['view']['document']);}}class j extends _0x5f0d71{['activeUIs'];['_uis'];['_uisData'];static get['requires'](){return[_];}static get['pluginName'](){return'AnnotationsUIs';}constructor(_0x3b5d58){super(_0x3b5d58),this['activeUIs']=new Set(),this['_uis']=new Map(),this['_uisData']=new Map();}['init'](){const _0x1541ad=this['context']['plugins']['get'](_);this['listenTo'](_0x1541ad,'_activateAnnotation',(_0x1fe9db,_0x3e3738)=>{for(const _0x591226 of this['activeUIs']){const _0x325124=this['_uis']['get'](_0x591226);(0x0,this['_uisData']['get'](_0x591226)['filter'])(_0x3e3738)&&_0x325124['setActiveAnnotation'](_0x3e3738);}}),this['listenTo'](_0x1541ad,'_deactivateAllAnnotations',()=>{for(const _0x205e99 of this['activeUIs']){this['_uis']['get'](_0x205e99)['setActiveAnnotation'](null);}}),this['listenTo'](_0x1541ad['_visibleAnnotations'],'add',(_0x4329dc,_0x5e6706)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x5e6706);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x3e29f8){return this['activeUIs']['has'](_0x3e29f8);}['activate'](_0x221311,_0x3d4841=()=>!0x0){const _0x4fe5e8=this['context']['plugins']['get'](_);if(!this['_uis']['has'](_0x221311))throw new _0x563a76('annotationsuis-missing-ui',this,{'uiName':_0x221311});this['isActive'](_0x221311)&&this['deactivate'](_0x221311),this['activeUIs']['add'](_0x221311);const _0x3afe87=new x();!function({source:_0x2698f6,target:_0x55a2c9,filter:_0x3a6bc5}){for(const _0x2d44ca of _0x2698f6)_0x3a6bc5(_0x2d44ca)&&_0x55a2c9['add'](_0x2d44ca);_0x55a2c9['listenTo'](_0x2698f6,'add',(_0xb7ea48,_0x571e38)=>{_0x3a6bc5(_0x571e38)&&_0x55a2c9['add'](_0x571e38);}),_0x55a2c9['listenTo'](_0x2698f6,'remove',(_0x480761,_0x355273)=>{_0x55a2c9['has'](_0x355273)&&_0x55a2c9['remove'](_0x355273);});}({'source':_0x4fe5e8['_visibleAnnotations'],'target':_0x3afe87,'filter':_0x3d4841}),this['_uisData']['set'](_0x221311,{'collection':_0x3afe87,'filter':_0x3d4841});const _0xfee5a2=this['_uis']['get'](_0x221311);_0xfee5a2['attach'](_0x3afe87),this['listenTo'](_0xfee5a2,'change:activeAnnotation',(_0x27f62c,_0x33d45f,_0x23487b,_0x5e98e9)=>{_0x5e98e9&&_0x4fe5e8['_removeActiveAnnotation'](_0x5e98e9),_0x23487b&&_0x4fe5e8['_addActiveAnnotation'](_0x23487b);});}['deactivate'](_0x5b9744){if(this['activeUIs']['delete'](_0x5b9744),!this['_uis']['has'](_0x5b9744))throw new _0x563a76('annotationsuis-missing-ui',this,{'uiName':_0x5b9744});const _0x45d7e3=this['_uis']['get'](_0x5b9744);_0x45d7e3['detach'](),this['stopListening'](_0x45d7e3),this['_uisData']['get'](_0x5b9744)['collection']['destroy'](),this['_uisData']['delete'](_0x5b9744);}['switchTo'](_0x501647){if(!this['_uis']['has'](_0x501647))throw new _0x563a76('annotationsuis-missing-ui',this,{'uiName':_0x501647});const _0x5c9019=this['context']['plugins']['get'](_),_0x3d5edd=Array['from'](_0x5c9019['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x501647);const _0xe9507f=this['_uis']['get'](_0x501647);_0xe9507f['setActiveAnnotation'](_0x3d5edd),_0xe9507f['_setSelectedAnnotations']&&_0x3d5edd&&_0xe9507f['_setSelectedAnnotations']([_0x3d5edd]);}['deactivateAll'](){for(const _0x25027a of this['activeUIs'])this['deactivate'](_0x25027a);}['register'](_0x1d6f5d,_0x412bdf){if(this['_uis']['has'](_0x1d6f5d))throw new _0x563a76('annotationsuis-register-already-registered');if('function'!=typeof _0x412bdf['attach']||'function'!=typeof _0x412bdf['detach']||'function'!=typeof _0x412bdf['setActiveAnnotation'])throw new _0x563a76('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x1d6f5d,_0x412bdf);}['refilterAnnotations'](){const _0x33a116=this['context']['plugins']['get'](_)['collection'],_0x3457cf=new Map(),_0x3fb74d=Array['from'](this['activeUIs']);for(const _0x300338 of this['activeUIs']){const _0x4a1374=this['_uisData']['get'](_0x300338)['collection'];for(const _0x305368 of _0x4a1374)_0x3457cf['set'](_0x305368,_0x300338);}for(const _0xfd387f of _0x33a116){const _0x1cf8a4=_0x3457cf['get'](_0xfd387f);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xfd387f);const _0x163e65=_0x3fb74d['find'](_0xc54235=>this['_uisData']['get'](_0xc54235)['filter'](_0xfd387f));_0x1cf8a4!==_0x163e65&&(_0x1cf8a4&&this['_uisData']['get'](_0x1cf8a4)['collection']['remove'](_0xfd387f),_0x163e65&&this['_uisData']['get'](_0x163e65)['collection']['add'](_0xfd387f));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x6b0390){const _0x1bc5cf=[];for(const _0x1af4d7 of this['activeUIs']){(0x0,this['_uisData']['get'](_0x1af4d7)['filter'])(_0x6b0390)&&_0x1bc5cf['push'](_0x1af4d7);}if(_0x1bc5cf['length']>0x1)throw new _0x563a76('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x1bc5cf,'annotationType':_0x6b0390['type']});}}const ie=Ht('px');class V extends _t{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x44d1b1){super(_0x44d1b1);const _0xf5ef89=this['bindTemplate'];this['set']('minHeight',0x0),this['set']('class',''),this['list']=this['createCollection'](),this['focusables']=this['createCollection'](),this['list']['delegate']('arrowup','arrowdown')['to'](this),this['focusTracker']=new _0x115568(),this['focusCycler']=new Ft({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0xf5ef89['to']('class')],'style':{'minHeight':_0xf5ef89['to']('minHeight',_0x3e3ea5=>'number'==typeof _0x3e3ea5?ie(_0x3e3ea5+0xa):null)},'dir':_0x44d1b1['uiLanguageDirection'],'role':'application','aria-label':S(_0x44d1b1,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':S(_0x44d1b1,'Annotations\x20list')},'children':this['list']}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['focusCycler']['focusFirst']();}['_setupKeyboardNavigation'](){this['list']['delegate']('change:top')['to'](this),this['on']('change:top',_0x39498d=>{this['_updateItemPositionInFocusables'](_0x39498d['source']);}),this['list']['forEach'](_0x4c024c=>{this['focusTracker']['add'](_0x4c024c['element']),this['_updateItemPositionInFocusables'](_0x4c024c);}),this['list']['on']('change',(_0x45d619,_0x14f796)=>{for(const _0x348bf9 of _0x14f796['removed'])this['focusTracker']['remove'](_0x348bf9['element']),this['focusables']['remove'](_0x348bf9);for(const _0xa23e9d of _0x14f796['added'])this['focusTracker']['add'](_0xa23e9d['element']),this['_updateItemPositionInFocusables'](_0xa23e9d);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x577587){const _0x6eeb29=this['focusables']['getIndex'](_0x577587);let _0x1cbbbe,_0x10805c;for(const _0x420725 of this['focusables'])if(_0x577587['top']<_0x420725['top']){_0x1cbbbe=_0x420725;break;}if(_0x10805c=_0x1cbbbe?this['focusables']['getIndex'](_0x1cbbbe):this['focusables']['length'],-0x1!==_0x6eeb29){if(_0x6eeb29===_0x10805c-0x1)return;this['focusables']['remove'](_0x577587),_0x10805c=_0x1cbbbe?this['focusables']['getIndex'](_0x1cbbbe):this['focusables']['length'];}this['focusables']['add'](_0x577587,_0x10805c);}}const qt=Ht('px');class M extends _t{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x77448c){super(_0x77448c),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x47fb87,_0x32b33a)=>_0x47fb87+_0x32b33a),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=Lt(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x212d3a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x212d3a['to']('isAnimationDisabled',_0x5256dd=>_0x5256dd?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x212d3a['to']('top',_0x4fde63=>qt(_0x4fde63))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x36af6f=this['element']['clientHeight'];_0x36af6f&&(this['height']=_0x36af6f);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class D extends _0x5f0d71{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}constructor(_0x4c1f12){super(_0x4c1f12),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 _0x5516ac=this['context']['config']['get']('sidebar.container');_0x5516ac&&this['setContainer'](_0x5516ac);}['setContainer'](_0x2ae2b3){if(!y(_0x2ae2b3))throw new _0x563a76('sidebar-setcontainer-invalid-element');this['container']=_0x2ae2b3;}['_attachToContainer']({viewClass:_0x3b6c12='',spaceBetweenItems:_0x4ab1d7=0x19}={}){if(!y(this['container']))throw new _0x563a76('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x3b6c12,this['_spaceBetweenItems']=_0x4ab1d7;}['rearrange']({removedAnnotation:_0x2cf6ba,previousAnnotation:_0x39529b,nextAnnotation:_0x1c20a8}){const _0x1575fe=this['getSidebarItemView'](_0x2cf6ba);this['view']['list']['remove'](_0x1575fe),this['_destroySidebarItemView'](_0x2cf6ba),_0x39529b&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x39529b)),_0x1c20a8&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x1c20a8)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x268ddf,activatedAnnotation:_0x81aa9f,disableAnimationOnActivatedAnnotation:_0x14ff68}){if(this['_activeAnnotation']=_0x81aa9f,_0x268ddf){_0x268ddf['isActive']=!0x1;const _0x5e4250=this['getSidebarItemView'](_0x268ddf);_0x5e4250&&_0x14ff68&&(_0x5e4250['isAnimationDisabled']=!0x1);}if(_0x81aa9f){const _0x2201ce=this['getSidebarItemView'](_0x81aa9f);_0x2201ce&&(_0x81aa9f['isActive']=!0x0,_0x14ff68&&(_0x2201ce['isAnimationDisabled']=!0x0,_0x2201ce['top']+=0x1),this['_alignToTargetRect'](_0x2201ce));}}['_detachFromContainer'](_0x5d91be){if(this['view']['element']['remove'](),_0x5d91be){for(const _0x358d54 of _0x5d91be)this['_destroySidebarItemView'](_0x358d54);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x5b6c39,_0x4b5a8b){_0x4b5a8b||(_0x4b5a8b=_0x5b6c39['view']);const _0x5bacab=new M(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x5bacab,_0x5b6c39),this['_annotationToSidebarItemView']['set'](_0x5b6c39,_0x5bacab),_0x5bacab['content']['add'](_0x4b5a8b),this['listenTo'](_0x5b6c39['view'],'change:targetRect',(_0x121449,_0x107bd9,_0x3aab00)=>{const _0x49dace=this['_getTargetTop'](_0x5b6c39,_0x3aab00);_0x5bacab['_targetTop']!=_0x49dace&&(_0x5bacab['_targetTop']=_0x49dace,this['_setItemTop'](_0x5bacab,_0x49dace));}),this['listenTo'](_0x5bacab,'change:top',()=>{this['_recalculate'](_0x5bacab,'top');}),this['listenTo'](_0x5bacab,'change:bottom',()=>{this['_recalculate'](_0x5bacab,'bottom');}),this['_alignToTargetRect'](_0x5bacab);const _0x2f4aac=this['_getItemBefore'](_0x5bacab);if(_0x2f4aac)this['_alignAfterItem'](_0x2f4aac,_0x5bacab)||this['_alignToTargetRect'](_0x5bacab);else this['_alignToTargetRect'](_0x5bacab);return this['_updateLastItem'](),this['view']['list']['add'](_0x5bacab),_0x5bacab;}['_alignForTopChange'](_0x1e6878){if(!_0x1e6878['content']['length'])return;const _0x31a8eb=this['_getItemBefore'](_0x1e6878);if(!_0x31a8eb)return;const _0x37847e=this['_sidebarItemViewToAnnotation']['get'](_0x31a8eb),_0x2f21bd=this['_activeAnnotation'];_0x2f21bd&&_0x2f21bd===_0x37847e?this['_alignAfterItem'](_0x31a8eb,_0x1e6878):this['_alignBeforeItem'](_0x1e6878,_0x31a8eb);}['_alignForBottomChange'](_0x3a1d35){if(!_0x3a1d35['content']['length'])return;const _0x3f5a65=this['_getItemAfter'](_0x3a1d35);if(!_0x3f5a65)return;const _0x1435c2=this['_sidebarItemViewToAnnotation']['get'](_0x3f5a65),_0x39a04b=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x1adda0=this['_activeAnnotation'];_0x1adda0&&_0x1adda0===_0x1435c2&&_0x39a04b?(this['_alignBeforeItem'](_0x3f5a65,_0x3a1d35),this['_alignAfterItem'](_0x3a1d35,_0x3f5a65)):_0x1adda0&&_0x1adda0===_0x1435c2?this['_alignBeforeItem'](_0x3f5a65,_0x3a1d35):this['_alignAfterItem'](_0x3a1d35,_0x3f5a65);}['_recalculate'](_0x39f682,_0x3a7146){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x4d5488,changedProp:_0x3e58e2}of this['_recalculateBuffer'])'top'===_0x3e58e2?this['_alignForTopChange'](_0x4d5488):this['_alignForBottomChange'](_0x4d5488);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x39f682,'changedProp':_0x3a7146});}['getSidebarItemView'](_0x29cec8){return this['_annotationToSidebarItemView']['get'](_0x29cec8);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x540245){const _0x458daf=this['getSidebarItemView'](_0x540245);this['stopListening'](_0x458daf),this['stopListening'](_0x540245['view']),_0x458daf['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x540245),this['_sidebarItemViewToAnnotation']['delete'](_0x458daf);}['_createSidebarView'](){const _0x4d7c74=new V(this['context']['locale']);return _0x4d7c74['render'](),this['on']('change:_lastItem',(_0x53136b,_0x21b2d6,_0x840b8e,_0x1e2e66)=>{_0x1e2e66&&_0x4d7c74['unbind']('minHeight'),_0x840b8e?_0x4d7c74['bind']('minHeight')['to'](_0x840b8e,'bottom'):_0x4d7c74['minHeight']=null;}),_0x4d7c74;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x530c3c){const _0x36cc32=this['_sidebarItemViewToAnnotation']['get'](_0x530c3c),_0x53478b=_0x36cc32&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x36cc32)-0x1);return _0x53478b&&this['getSidebarItemView'](_0x53478b)||null;}['_getItemAfter'](_0x4663dc){const _0x5191cd=this['_sidebarItemViewToAnnotation']['get'](_0x4663dc),_0x56c2ff=_0x5191cd&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x5191cd)+0x1);return _0x56c2ff&&this['getSidebarItemView'](_0x56c2ff)||null;}['_alignBeforeItem'](_0x2bb73d,_0x42cc7b){_0x2bb73d['updateHeight']();const _0x3f0af3=H(_0x42cc7b['bottom']+this['_spaceBetweenItems'],_0x2bb73d['top']);return!!_0x3f0af3&&(this['_setItemTop'](_0x42cc7b,_0x42cc7b['top']-_0x3f0af3),!0x0);}['_alignAfterItem'](_0x3163cc,_0x5afbfa){_0x3163cc['updateHeight']();const _0x191932=H(_0x3163cc['bottom']+this['_spaceBetweenItems'],_0x5afbfa['top']);return!!_0x191932&&(this['_setItemTop'](_0x5afbfa,_0x5afbfa['top']+_0x191932,!0x1),!0x0);}['_alignToTargetRect'](_0xcf9455){const _0x48a2a3=this['_sidebarItemViewToAnnotation']['get'](_0xcf9455);if(!_0x48a2a3||!_0x48a2a3['target']||!_0x48a2a3['targetRect'])return;const _0x25f1e8=this['_getTargetTop'](_0x48a2a3,_0x48a2a3['targetRect']);this['_setItemTop'](_0xcf9455,_0x25f1e8);}['_getTargetTop'](_0x2d7af2,_0xb01ff5){if(null===_0xb01ff5)return 0x0;if(_0x2d7af2['target']instanceof _0x589f05)return _0xb01ff5['top'];{const _0x5aab45=new _0x589f05(this['view']['element'])['top'];return _0xb01ff5['top']-_0x5aab45;}}['_setItemTop'](_0x6930f2,_0x590ac4,_0x4ea39d=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x4ea39d&&(_0x590ac4=Math['max'](_0x590ac4,this['_getMaxAvailableTop'](_0x6930f2))),_0x6930f2['top']=_0x590ac4;}['_getMaxAvailableTop'](_0x2e83ce){let _0x3094ab=this['_getItemBefore'](_0x2e83ce),_0x27cac2=0x0;for(;_0x3094ab;)_0x3094ab['updateHeight'](),_0x27cac2+=this['_spaceBetweenItems']+_0x3094ab['height'],_0x3094ab=this['_getItemBefore'](_0x3094ab);return _0x27cac2;}}function H(_0x5df480,_0x28d985){return Math['max'](_0x5df480-_0x28d985,0x0);}function y(_0x52330d){return null!==_0x52330d&&'object'==typeof _0x52330d&&0x1===_0x52330d['nodeType'];}class n extends _0x5f0d71{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[D,j];}static get['pluginName'](){return'WideSidebar';}constructor(_0x3b8901){super(_0x3b8901),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x203f54(),this['_refreshPositioningDebounced']=_0x14b97d(()=>{this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x421794=this['context']['plugins']['get'](j),_0xe7ee02=this['context']['plugins']['get'](D);_0x421794['register']('wideSidebar',this),_0xe7ee02['container']&&_0x421794['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x1a089a){if(_0x1a089a===this['activeAnnotation'])return;const _0x1a006f=this['context']['plugins']['get'](D);_0x1a006f['_activeAnnotation']=_0x1a089a;const _0x339b1c=this['activeAnnotation'];this['activeAnnotation']=_0x1a089a,_0x1a006f['refresh']({'blurredAnnotation':_0x339b1c,'activatedAnnotation':this['activeAnnotation']});}['attach'](_0x4ca3cc){this['annotations']=_0x4ca3cc;const _0x41fad5=this['context']['plugins']['get'](D);if(_0x41fad5['_annotations']=_0x4ca3cc,this['isAttached'])throw new _0x563a76('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x41fad5,'set:container',()=>{this['detach'](),this['listenTo'](_0x41fad5,'change:container',_0xe02353=>{_0xe02353['off'](),this['attach'](_0x4ca3cc);});}),_0x41fad5['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x3e971=_0x4fabdb=>{_0x4fabdb['updateTargetRect'](),_0x41fad5['addAnnotation'](_0x4fabdb);};for(const _0x59430f of _0x4ca3cc)_0x3e971(_0x59430f);this['listenTo'](_0x4ca3cc,'add',(_0x52b6d7,_0x5592b8)=>{_0x3e971(_0x5592b8);}),this['listenTo'](_0x4ca3cc,'remove',(_0x554862,_0x4c657a,_0x30b5e3)=>{_0x41fad5['rearrange']({'removedAnnotation':_0x4c657a,'previousAnnotation':_0x4ca3cc['get'](_0x30b5e3-0x1),'nextAnnotation':_0x4ca3cc['get'](_0x30b5e3+0x1)}),_0x4c657a===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x4ca3cc,'focus',(_0x27c845,_0x189081)=>{this['setActiveAnnotation'](_0x189081);}),this['listenTo'](_0x4ca3cc,'blur',()=>{this['setActiveAnnotation'](null);});const _0x52fd20=this['context']instanceof _0x2d22ac?this['context']['editors']:new _0x203f54([this['context']]);for(const _0x480915 of _0x52fd20)this['_integrateWithEditorAnnotations'](_0x480915);this['listenTo'](_0x52fd20,'add',(_0x2638ed,_0x14a5cb)=>{this['listenTo'](_0x14a5cb,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x14a5cb);});}),this['listenTo'](_0x52fd20,'remove',(_0x45c227,_0x10900a)=>{_0x10900a['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x10900a['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x563a76('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0xe51739=this['context']['plugins']['get'](D);_0xe51739['_detachFromContainer'](this['annotations']),this['stopListening'](_0xe51739),this['stopListening'](this['annotations']),this['context']instanceof _0x2d22ac&&this['stopListening'](this['context']['editors']);for(const _0x5e3f5b of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x5e3f5b);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x3562b8){if(!_0x3562b8['plugins']['has']('EditorAnnotations'))return;const _0x34bdc7=_0x3562b8['plugins']['get']('EditorAnnotations'),_0x5d7a76=()=>{const _0x13371a=_0x34bdc7['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x13371a[0x0]||null);};this['listenTo'](_0x34bdc7,'refresh',_0x5d7a76),this['listenTo'](_0x34bdc7,'blur',(_0x2f8fbb,{isAnnotationTracked:_0x222918})=>{this['activeAnnotation']&&_0x222918(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x34bdc7,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x36a341=>{_0x34bdc7['hasDomSelection']()&&(_0x5d7a76(),_0x36a341['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x34bdc7);}['_destroyEditorAnnotationsIntegration'](_0xe2bbfd){this['stopListening'](_0xe2bbfd),this['_editorAnnotations']['remove'](_0xe2bbfd);}}class L extends _0x4469aa{['counterView'];constructor(_0x5671b8){super(_0x5671b8);const _0x20617b=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x448ddb,_0x12f8e1)=>_0x448ddb?'...':_0x12f8e1['toString']()),this['set']('annotationType',''),this['icon']=$t,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _t(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x20617b['to']('annotationType',_0x4475c4=>'ck-annotation-counter__badge--'+_0x4475c4),_0x20617b['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x20617b['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class i extends _0x5f0d71{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[D,j];}static get['pluginName'](){return'NarrowSidebar';}constructor(_0xea0d52){super(_0xea0d52),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=Object['create'](_0xe860c),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x203f54(),this['_refreshPositioningDebounced']=_0x14b97d(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](j)['register']('narrowSidebar',this),this['bodyCollection']=new _0x5ec562(this['context']['locale']),this['balloonPanelView']=new _0x521cf3(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x827c38){this['annotations']=_0x827c38;const _0x5ba3ae=this['context']['plugins']['get'](D),_0x120870=this['balloonPanelView'];if(_0x5ba3ae['_annotations']=_0x827c38,this['isAttached'])throw new _0x563a76('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x5ba3ae,'set:container',()=>{this['detach'](),this['listenTo'](_0x5ba3ae,'change:container',_0x4736ec=>{_0x4736ec['off'](),this['attach'](_0x827c38);});}),_0x5ba3ae['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x4f4ce8=_0x1cc118=>{const _0x1dad91=new L(this['context']['locale']);_0x5ba3ae['addAnnotation'](_0x1cc118,_0x1dad91),this['_annotationToNarrowView']['set'](_0x1cc118,_0x1dad91),_0x1dad91['bind']('isDirty','annotationType','number')['to'](_0x1cc118['view'],'isDirty','type','length'),_0x1dad91['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x120870['content']['first']!==_0x1cc118['view']?(this['_showBalloon'](_0x1cc118),_0x1cc118['view']['element']['focus'](),this['setActiveAnnotation'](_0x1cc118)):this['setActiveAnnotation'](null);});};for(const _0x30bef6 of _0x827c38)_0x4f4ce8(_0x30bef6);this['listenTo'](_0x827c38,'add',(_0x2c0f70,_0x5e01fb)=>{_0x4f4ce8(_0x5e01fb);}),this['listenTo'](_0x827c38,'remove',(_0x283e29,_0x459e84,_0x4042e0)=>{this['_annotationToNarrowView']['get'](_0x459e84)['destroy'](),this['_annotationToNarrowView']['delete'](_0x459e84),_0x5ba3ae['rearrange']({'removedAnnotation':_0x459e84,'previousAnnotation':_0x827c38['get'](_0x4042e0-0x1),'nextAnnotation':_0x827c38['get'](_0x4042e0+0x1)}),_0x459e84===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x827c38,'focus',(_0x3768f0,_0x49da9b)=>{this['setActiveAnnotation'](_0x49da9b);}),this['listenTo'](_0x827c38,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x515818,_0x43a8d0)=>{_0x43a8d0['keyCode']===_0x1f605a['esc']&&_0x120870['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x120870['content']['first']),this['_hideBalloon'](),_0x43a8d0['stopPropagation'](),_0x43a8d0['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x4d4103,_0x54da09)=>{const _0x4ffaf2=_0x54da09['target'];_0x120870['isVisible']&&_0x120870['element']['contains'](_0x4ffaf2)||_0x5ba3ae['view']['element']['contains'](_0x4ffaf2)||_0x4d4103['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x2cde63=>_0x2cde63['contains'](_0x4ffaf2))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x375245=this['context']instanceof _0x2d22ac?this['context']['editors']:new _0x203f54([this['context']]);for(const _0x5c9259 of _0x375245)this['_integrateWithEditorAnnotations'](_0x5c9259);this['listenTo'](_0x375245,'add',(_0x399afd,_0x1d83c5)=>{this['listenTo'](_0x1d83c5,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x1d83c5);});}),this['listenTo'](_0x375245,'remove',(_0x1b365e,_0x1ffbbe)=>{_0x1ffbbe['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x1ffbbe['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x86e91f){if(_0x86e91f===this['activeAnnotation'])return;const _0x34c864=this['context']['plugins']['get'](D);if(_0x34c864['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x86e91f,'disableAnimationOnActivatedAnnotation':!0x0}),_0x86e91f)_0x34c864['getSidebarItemView'](_0x86e91f)?this['_showBalloon'](_0x86e91f):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x86e91f;}['detach'](){if(!this['isAttached'])throw new _0x563a76('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x3086a8=this['context']['plugins']['get'](D);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x40be4a=>_0x40be4a['destroy']()),this['_annotationToNarrowView']['clear'](),_0x3086a8['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x2d22ac&&this['stopListening'](this['context']['editors']);for(const _0x37f7d5 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x37f7d5);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'](_0x1b5b7e){if(!_0x1b5b7e['plugins']['has']('EditorAnnotations'))return;const _0x24f128=_0x1b5b7e['plugins']['get']('EditorAnnotations'),_0x2b5cd3=this['context']['plugins']['get'](D),_0x359b2f=this['annotations'],_0x4e7efb=this['balloonPanelView'],_0x596870=()=>{const _0x3fa29c=_0x24f128['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x3fa29c),this['setActiveAnnotation'](_0x3fa29c[0x0]||null);};this['listenTo'](_0x24f128,'refresh',_0x596870),this['listenTo'](_0x24f128,'blur',(_0x3db4da,{isAnnotationTracked:_0x1ea151})=>{this['activeAnnotation']&&_0x1ea151(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x24f128,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x359b2f,'blur',_0x1e1e74=>{_0x24f128['hasDomSelection']()&&_0x1e1e74['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x2a79c1,_0x5afb9b)=>{const _0x588b8d=_0x5afb9b['target'];_0x4e7efb['isVisible']&&_0x4e7efb['element']['contains'](_0x588b8d)||_0x2b5cd3['view']['element']['contains'](_0x588b8d)||this['activeAnnotation']&&_0x24f128['hasDomSelection']()&&(_0x596870(),_0x2a79c1['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x24f128);}['_destroyEditorAnnotationsIntegration'](_0x39e788){_0x39e788&&(this['stopListening'](_0x39e788),this['_editorAnnotations']['remove'](_0x39e788));}['_setSelectedAnnotations'](_0x345b7e){for(const _0x411cd3 of this['_selectedAnnotations'])_0x345b7e['includes'](_0x411cd3)||this['_manuallyClosedAnnotationViews']['delete'](_0x411cd3['view']);this['_selectedAnnotations']=_0x345b7e;}['_refreshPositioning'](){const _0x5c396a=this['balloonPanelView'];this['annotations']['refreshPositioning'](),_0x5c396a['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x4af8ba){if(this['_manuallyClosedAnnotationViews']['has'](_0x4af8ba['view']))return;const _0x250e74=this['balloonPanelView']['content']['first'];_0x250e74!==_0x4af8ba['view']?(_0x250e74&&this['_detachListeners'](_0x250e74),this['_attachListeners'](_0x4af8ba['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x4af8ba['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x4ada85=this['balloonPanelView']['content']['first'],_0x17194c=_0x4ada85&&this['annotations']['getByView'](_0x4ada85);if(!_0x17194c||!this['_annotationToNarrowView']['has'](_0x17194c))return;const _0x37c076=this['_annotationToNarrowView']['get'](_0x17194c)['element'],_0x35a819=(function(){const _0xfb1810=_0x521cf3['defaultPositions'];return[_0xfb1810['southArrowNorthEast'],_0xfb1810['northArrowSouthEast'],_0xfb1810['southArrowNorth'],_0xfb1810['northArrowSouth'],_0xfb1810['southArrowNorthWest'],_0xfb1810['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x37c076,'positions':_0x35a819});}['_hideBalloon'](){const _0x120b8c=this['balloonPanelView'],_0x57de95=_0x120b8c['content']['first'];_0x57de95&&(this['_detachListeners'](_0x57de95),_0x120b8c['unpin'](),_0x120b8c['content']['clear']());}['_attachListeners'](_0x5d80ac){this['listenTo'](_0x5d80ac,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x5d80ac,'Esc',(_0xa1ef5d,_0x502617)=>{this['_manuallyClosedAnnotationViews']['add'](_0x5d80ac),this['_hideBalloon'](),_0x502617();});}['_detachListeners'](_0x5537a8){this['stopListening'](_0x5537a8);}}class c extends _0x177a25{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];static get['requires'](){return[b,_0x1bd404,j];}static get['pluginName'](){return'InlineAnnotations';}constructor(_0x57eb9f){super(_0x57eb9f),_0x57eb9f['editing']['view']['addObserver'](_0x3f137d),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x57eb9f['plugins']['get'](_0x1bd404),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1;}['init'](){const _0x40a0ce=this['editor']['plugins']['get'](j);_0x40a0ce['context']===this['editor']&&(_0x40a0ce['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x329ad2,_0x1fed94)=>{const _0x23af43=this['_balloon'];if(this['isAttached']&&_0x23af43['visibleView']){const _0x222a25=this['annotations']['getByView'](_0x23af43['visibleView']);_0x222a25&&this['_closeAnnotation'](_0x222a25),_0x1fed94();}}));}['afterInit'](){const _0xcb4115=this['editor']['plugins']['get'](j);_0xcb4115['context']===this['editor']&&(_0xcb4115['hasActive']()||_0xcb4115['switchTo']('inline'));}['setActiveAnnotation'](_0x371d05){_0x371d05!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x371d05&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x371d05)&&this['_addAnnotationToBalloon'](_0x371d05,!0x0),_0x371d05['isActive']=!0x0),_0x371d05||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x371d05);}['attach'](_0x5b03a9){this['annotations']=_0x5b03a9;const _0x56683d=this['editor']['plugins']['get'](j),_0x27fcdf=this['_balloon'];if(this['isAttached'])throw new _0x563a76('inlineannotations-attach-already-attached',this);if(_0x56683d['context']!==this['editor'])throw new _0x563a76('inlineannotations-not-allowed-with-context',this);const _0x191997=this['editor']['plugins']['get'](b);this['listenTo'](_0x191997,'refresh',()=>{const _0x2ce45e=_0x191997['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x37ba62,_0x48af4b;!this['_forceRefresh']&&(_0x37ba62=_0x2ce45e,_0x48af4b=this['_selectedAnnotations'],_0x37ba62['length']===_0x48af4b['length']&&_0x37ba62['every'](_0x1cd0b2=>_0x48af4b['includes'](_0x1cd0b2)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x2ce45e),this['setActiveAnnotation'](_0x2ce45e[0x0]||null));}),this['listenTo'](_0x191997,'blur',(_0x5a0a0e,{isAnnotationTracked:_0x475ecd})=>{this['activeAnnotation']&&_0x475ecd(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x394e6e,_0x4ad139,_0x3c1b2c)=>{_0x3c1b2c||this['setActiveAnnotation'](null);}),this['listenTo'](_0x5b03a9,'remove',(_0x15f665,_0x4e25d7)=>{this['_removeAnnotationFromBalloon'](_0x4e25d7),_0x4e25d7===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x27fcdf,'change:visibleView',(_0x1c2d9f,_0x154f91,_0x4ef310,_0x2c5104)=>{_0x2c5104&&this['stopListening'](_0x2c5104);const _0xc7ff5f=_0x5b03a9['getByView'](_0x4ef310);_0x4ef310&&_0xc7ff5f&&(this['listenTo'](_0x4ef310,'change:height',()=>{_0x27fcdf['updatePosition']();}),this['listenTo'](_0x4ef310,'Esc',()=>{this['_closeAnnotation'](_0xc7ff5f),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0xc7ff5f&&this['setActiveAnnotation'](_0xc7ff5f));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x27fcdf['visibleView']&&(_0x5b03a9['getByView'](_0x27fcdf['visibleView'])&&_0x27fcdf['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 _0x563a76('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x4fa0e6 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x4fa0e6);this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_setSelectedAnnotations'](_0x547a46){for(const _0x2e1f41 of this['_selectedAnnotations'])_0x547a46['includes'](_0x2e1f41)||this['_manuallyClosed']['delete'](_0x2e1f41);for(const _0x2397d4 of this['annotations'])_0x547a46['includes'](_0x2397d4)||this['_removeAnnotationFromBalloon'](_0x2397d4);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0xe9f15a of _0x547a46)this['_addAnnotationToBalloon'](_0xe9f15a);}this['_selectedAnnotations']=_0x547a46;}['_addAnnotationToBalloon'](_0x2dd2f2,_0xaa827e=!0x1){this['_manuallyClosed']['has'](_0x2dd2f2)||(this['_addedAnnotations']['has'](_0x2dd2f2)||this['_balloon']['hasView'](_0x2dd2f2['view'])||(this['_addedAnnotations']['add'](_0x2dd2f2),this['_balloon']['add']({'stackId':_0x2dd2f2['view']['id'],'view':_0x2dd2f2['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x2dd2f2)}})),_0xaa827e&&this['_balloon']['showStack'](_0x2dd2f2['view']['id']));}['_getBalloonTargetForAnnotation'](_0x57430d){const _0x9c3a52=_0x57430d['target'],_0x15aeab=this['editor']['editing']['view'],_0x5257a2=_0x15aeab['document']['selection']['getFirstRange'](),_0x20ffa0=_0x15aeab['domConverter']['viewRangeToDom'](_0x5257a2);if(_0x20ffa0['collapse'](!0x0),_0x9c3a52){if(_0x9c3a52 instanceof _0x589f05)return _0x9c3a52;let _0x4b7f42=[];for(const _0x3ba307 of _0x9c3a52)_0x4b7f42['push'](...(_0x13c2d8=_0x3ba307['getClientRects'](),Array['from'](_0x13c2d8)['map'](DOMRect['fromRect'])));_0x4b7f42=function(_0x54f300){const _0x503f16=[];let _0x5776a8=_0x54f300[0x0];for(let _0x22127a=0x1;_0x22127a<_0x54f300['length'];_0x22127a++)E(_0x5776a8,_0x54f300[_0x22127a])?_0x5776a8['width']+=_0x54f300[_0x22127a]['width']:(_0x503f16['push'](_0x5776a8),_0x5776a8=_0x54f300[_0x22127a]);return _0x503f16['push'](_0x5776a8),_0x503f16;}(_0x4b7f42);const _0x52b4d5=_0x20ffa0['getBoundingClientRect']();return _0x4b7f42['find'](_0x35d3f1=>_0x35d3f1['top']<=_0x52b4d5['top']&&_0x35d3f1['bottom']>=_0x52b4d5['bottom']&&_0x35d3f1['left']<=_0x52b4d5['left']&&_0x35d3f1['right']>=_0x52b4d5['right'])||_0x4b7f42[0x0];}var _0x13c2d8;return _0x57430d['targetRect']||_0x20ffa0;}['_removeAnnotationFromBalloon'](_0x93b297){this['_addedAnnotations']['has'](_0x93b297)&&this['_balloon']['hasView'](_0x93b297['view'])&&(this['_addedAnnotations']['delete'](_0x93b297),this['_balloon']['remove'](_0x93b297['view']));}['_closeAnnotation'](_0x311222){this['_manuallyClosed']['add'](_0x311222),this['_removeAnnotationFromBalloon'](_0x311222);}}function E(_0x624639,_0x4ad25d){return _0x624639['top']===_0x4ad25d['top']&&_0x624639['bottom']===_0x4ad25d['bottom']&&_0x624639['right']===_0x4ad25d['left'];}var X='<!--\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 Y extends _t{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x779180,_0x2cfd52){super(_0x779180),this['set']('isEmpty',!_0x2cfd52['length']),this['focusTracker']=new _0x115568(),this['_annotationViews']=_0x2cfd52,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new Ft({'focusables':_0x2cfd52,'focusTracker':this['focusTracker']}),this['listenTo'](_0x2cfd52,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x2cfd52,'remove',(_0x124201,_0x190d1c)=>{_0x190d1c['isActive']&&this['focus'](),_0x2cfd52['length']||(this['isEmpty']=!0x0);});const _0x368358=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':S(_0x779180,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x2cfd52},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x368358['if']('isEmpty','ck-hidden',_0x65153d=>!_0x65153d)]},'children':[{'text':S(_0x779180,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy']();}['focus'](){this['focusCycler']['first']?this['focusCycler']['focusFirst']():this['element']['focus']();}['_setupKeyboardNavigation'](){for(const _0x11b37d of this['_annotationViews'])this['focusTracker']['add'](_0x11b37d['element']);this['_annotationViews']['on']('change',(_0x5b49e4,{added:_0x1173c2,removed:_0x4e10f0})=>{for(const _0x4c4c1f of _0x1173c2)this['focusTracker']['add'](_0x4c4c1f['element']);for(const _0x990f76 of _0x4e10f0)this['focusTracker']['remove'](_0x990f76['element']);});}}class p extends _0x5f0d71{static get['pluginName'](){return'CommentsArchive';}static get['requires'](){return[m,_];}constructor(_0x1bc338){super(_0x1bc338),this['archivedThreads']=new _0x203f54();}['init'](){const _0x226238=this['context'],_0x1bd951=_0x226238['plugins']['get'](m),_0x50a229=_0x226238['plugins']['get'](_);this['listenTo'](_0x1bd951,'addCommentThread',(_0x4ff4ef,{threadId:_0x1889ac})=>{const _0x5ada24=_0x1bd951['getCommentThread'](_0x1889ac);_0x5ada24['archivedAt']&&this['archivedThreads']['add'](_0x5ada24,this['_calculatePosition'](_0x5ada24['archivedAt'])),this['listenTo'](_0x5ada24,'change:archivedAt',(_0x16c155,_0x2e2e38,_0x31b60e)=>{_0x31b60e?this['archivedThreads']['has'](_0x5ada24)||this['archivedThreads']['add'](_0x5ada24,this['_calculatePosition'](_0x5ada24['archivedAt'])):this['archivedThreads']['has'](_0x5ada24)&&this['archivedThreads']['remove'](_0x5ada24);});}),this['listenTo'](_0x1bd951,'removeCommentThread',(_0x497d91,{threadId:_0x412cbf})=>{const _0x4fc7c9=_0x1bd951['getCommentThread'](_0x412cbf);this['stopListening'](_0x4fc7c9),this['archivedThreads']['has'](_0x4fc7c9)&&this['archivedThreads']['remove'](_0x4fc7c9);},{'priority':'highest'}),this['listenTo'](_0x50a229['collection'],'focus',(_0x37303f,_0x3f536d)=>{_0x3f536d['isVisible']||(_0x3f536d['isActive']=!0x0,_0x50a229['activate'](_0x3f536d));});}['_calculatePosition'](_0x3f6246){const _0x462e62=[...this['archivedThreads']]['findIndex'](_0x5111b4=>_0x5111b4['archivedAt']<_0x3f6246);return _0x462e62>-0x1?_0x462e62:this['archivedThreads']['length'];}}class a extends _0x177a25{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['requires'](){return[p,_0x386bba];}constructor(_0x3e8031){super(_0x3e8031),this['annotationViews']=new _0x140a86(),this['_pendingThreads']=[];}['init'](){const _0x283129=this['editor'];_0x283129['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x4469aa,!0x0)),_0x283129['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x1a855a=this['_createCommentsArchiveButton'](_0x5c9c2c);return _0x1a855a['set']({'role':'menuitemcheckbox'}),_0x1a855a;});const _0x120eb9=_0x283129['plugins']['get'](p),_0x19ff26=_0x283129['plugins']['get']('Annotations'),_0xcfbc0c=_0x283129['plugins']['get']('CommentsRepository');this['listenTo'](_0x120eb9['archivedThreads'],'add',(_0x4601f3,_0x41842b)=>{const _0x1390f=_0x283129['config']['get']('collaboration.channelId');if(!_0x1390f||_0x41842b['channelId']===_0x1390f){const _0xc1111c=_0xcfbc0c['_threadToController']['get'](_0x41842b);if(!_0xc1111c)return void this['_pendingThreads']['push'](_0x41842b);const _0x252efa=this['_calculatePosition'](_0x41842b['archivedAt']),_0x52a4e8=_0x19ff26['getByInnerView'](_0xc1111c['view']);_0x52a4e8['isVisible']&&_0x19ff26['_visibleAnnotations']['remove'](_0x52a4e8),this['annotationViews']['add'](_0x52a4e8['view'],_0x252efa);}}),this['listenTo'](_0x19ff26['collection'],'add',(_0x2b8dcc,_0x5dfc37)=>{const _0x26c44b=this['_pendingThreads']['find'](_0x294467=>{const _0x5d3fc5=_0xcfbc0c['_threadToController']['get'](_0x294467);return _0x5d3fc5&&_0x5dfc37['innerView']===_0x5d3fc5['view'];});if(_0x26c44b){const _0x4741db=this['_calculatePosition'](_0x26c44b['archivedAt']);this['annotationViews']['add'](_0x5dfc37['view'],_0x4741db),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x26c44b),0x1);}}),this['listenTo'](_0x120eb9['archivedThreads'],'remove',(_0x4ac752,_0x34da79)=>{const _0x462954=_0x283129['config']['get']('collaboration.channelId');if(!_0x462954||_0x34da79['channelId']===_0x462954){const _0x5193fe=_0xcfbc0c['_threadToController']['get'](_0x34da79),_0x1ae3b4=_0x19ff26['getByInnerView'](_0x5193fe['view']);this['annotationViews']['remove'](_0x1ae3b4['view']),this['stopListening'](_0x1ae3b4['focusableElements']);}}),this['listenTo'](_0xcfbc0c,'escapeThread',(_0x4a0fb1,{threadId:_0x22d405,channelId:_0x2b5841})=>{if(_0x2b5841!==_0x283129['config']['get']('collaboration.channelId'))return;if(!_0xcfbc0c['getCommentThread'](_0x22d405)['archivedAt'])return;const _0x51d9b5=_0x283129['plugins']['get']('Dialog');_0x51d9b5['isOpen']&&'commentsArchive'===_0x51d9b5['id']&&_0x51d9b5['hide']();});}['_calculatePosition'](_0x557604){const _0x356b63=this['editor']['config']['get']('collaboration.channelId'),_0x173861=[...this['editor']['plugins']['get'](p)['archivedThreads']]['filter'](_0x49a99f=>_0x49a99f['channelId']===_0x356b63)['findIndex'](_0x3fddb1=>_0x3fddb1['archivedAt']<_0x557604);return _0x173861<0x0||_0x173861>this['annotationViews']['length']?this['annotationViews']['length']:_0x173861-0x1;}['_toggleDialog'](){const _0x565f4f=this['editor'],_0x49d532=_0x565f4f['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new Y(_0x565f4f['locale'],this['annotationViews'])),'commentsArchive'===_0x49d532['id']?_0x49d532['hide']():_0x49d532['show']({'id':'commentsArchive','title':S(_0x565f4f['locale'],'COMMENTS_ARCHIVE'),'icon':X,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x1d08e2['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x16685b,_0x13e564=!0x1){const _0x2ab1f0=this['editor']['locale'],_0x472400=this['editor']['plugins']['get']('Dialog'),_0x3e6b41=new _0x16685b(_0x2ab1f0);return _0x3e6b41['bind']('isEnabled')['to'](this,'isEnabled'),_0x3e6b41['bind']('isOn')['to'](_0x472400,'id',_0x1df29b=>'commentsArchive'===_0x1df29b),_0x3e6b41['set']({'label':S(_0x2ab1f0,'COMMENTS_ARCHIVE'),'icon':X,'isToggleable':!0x0}),_0x13e564&&(_0x3e6b41['tooltip']=!0x0),this['listenTo'](_0x3e6b41,'execute',()=>this['_toggleDialog']()),_0x3e6b41;}}class f extends _0x177a25{static get['requires'](){return[m,r,s,p,a,e,n,i,c];}static get['pluginName'](){return'Comments';}}export{T as AnnotationView,_ as Annotations,j as AnnotationsUIs,es as BaseCommentThreadView,ns as BaseCommentView,se as Comment,ee as CommentThread,yt as CommentThreadController,xt as CommentThreadInputView,At as CommentThreadView,Ct as CommentView,f as Comments,kt as CommentsListView,e as CommentsOnly,m as CommentsRepository,s as CommentsUI,b as EditorAnnotations,c as InlineAnnotations,i as NarrowSidebar,n as WideSidebar};
|