@ckeditor/ckeditor5-comments 47.4.0-alpha.4 → 47.4.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/index.js +11 -11
- 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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.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/uz.js +1 -1
- package/dist/translations/uz.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 +19 -19
- 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 +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- 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/integrations/showcommenthighlights.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.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/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x411530=_0x46e1;(function(_0x2bc8fa,_0x1f7d26){const _0x24eb1c=_0x46e1,_0x56f1c8=_0x2bc8fa();while(!![]){try{const _0x19aff4=parseInt(_0x24eb1c(0x1e8))/0x1+parseInt(_0x24eb1c(0x1f3))/0x2*(-parseInt(_0x24eb1c(0x1ce))/0x3)+parseInt(_0x24eb1c(0x1f7))/0x4*(-parseInt(_0x24eb1c(0x241))/0x5)+-parseInt(_0x24eb1c(0x24d))/0x6*(parseInt(_0x24eb1c(0x259))/0x7)+parseInt(_0x24eb1c(0x251))/0x8+parseInt(_0x24eb1c(0x1f6))/0x9+parseInt(_0x24eb1c(0x267))/0xa;if(_0x19aff4===_0x1f7d26)break;else _0x56f1c8['push'](_0x56f1c8['shift']());}catch(_0x50756a){_0x56f1c8['push'](_0x56f1c8['shift']());}}}(_0x291a,0x79982));import{Plugin as _0x267411}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x1ef544,scrollViewportToShowTarget as _0x3c170a,uid as _0x14eb03}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x4b5f4d}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x244f28}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2f602b,getAllMarkersDomElementsSorted as _0x8746d8,FOCUS_ANNOTATION_KEYSTROKE as _0x2cef7b,Users as _0x508047}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x3920a2}from'../annotations/editorannotations.js';function _0x291a(){const _0xda7962=['destroyed','group','resolveCommentThread','8631820QfTYwf','join','init','first','removeMarker','elementToElement','requires','activeMarker','addCommentThread','add','upcast','78ffKHVD','$marker','data','isCollapsed','switchReadOnly','_reconvertMarkers','getAttribute','filter','attachTo','state','delete','start','comment','dataToMarker','ignoreResolvedComments','editor','isSubmitted','_handleThreadMarker','_handleMarkerAddAndRemove','ariaLiveAnnouncer','commands','hasDomSelection','unlinkedAt','dataDowncast','push','item','162334kDRkuu','hasCommentThread','size','setContext','_initializeMarkerConverters','consume','author','comments','fromCharCode','change','hasMarkerForId','2942ZCcULc','addMarker:','model','2239740DIxqef','948340ZReWnX','low','length','pluginName','isPremiumPlugin','getWalker','affectsData','substring','getRange','markerName','enqueueChange','updateMarker','name','text','addComment','_initAriaMarkerChangeAnnouncements','change:isThreadsLoadingPaused','ENTER_COMMENT_ANNOUNCEMENT','createPositionBefore','afterInit','getCommentThreads','isEqual','isResolved','comment:','managedUsingOperations','_threads','_detachCommentThread','config','getByInnerView','locale','removeMarker:','plugins','set','ck-comment-marker--active','isObject','$graveyard','isOfficialPlugin','setUnlinkedAt','document','once','LEAVE_COMMENT_ANNOUNCEMENT','hasContent','focus','createRange','getItems','scrollToThreadMarker','removeCommentThread','announce','registerAnnotation','ck-comment-marker','registerPostFixer','openNewCommentThread','differ','_attachMarkerToThread','markers','_handleInitialThreads','remove','map','destroy','editing','getCommentThread','$textProxy','getChangedMarkers','root','fetchCommentThread','markerToHighlight','schema','get','consumable','createElement','_threadToController','change:isReadOnly','from','change:activeMarker','20sXJxYd','_getTargetForId','listenTo','newRange','rootName','render','isAttached','markerToData','collaboration.channelId','end','showCommentHighlights','for','164454pdwLAt','then','ready','href','5409704mXwlOB','getAllMarkersForId','reopenCommentThread','startsWith','conversion','clear','context','view','119YfNYKN','isThreadsLoadingPaused','editingDowncast','channelId','_attachArchivedThread','reconvertMarker','_getTextContext','forEach','CommentsEditing','_hasTargetInContent','refreshVisibility'];_0x291a=function(){return _0xda7962;};return _0x291a();}import{CommentsRestrictedEditingMode as _0x90be62}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x2fb9e5}from'./integrations/importword.js';import{CommentsClipboard as _0x4d5281}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x2b8c2c}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x5142f6}from'../annotations/annotations.js';import{getTranslation as _0x12ad73}from'../utils/common-translations.js';import{splitMarkerName as _0x45fbd4}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x267411{static get[_0x411530(0x26d)](){return[_0x4b5f4d,_0x3920a2,_0x508047,_0x90be62,_0x2fb9e5,_0x4d5281,_0x2b8c2c];}static get[_0x411530(0x1fa)](){const _0x45bd9b=_0x411530;return _0x45bd9b(0x261);}static get[_0x411530(0x21b)](){return!0x0;}static get[_0x411530(0x1fb)](){return!0x0;}constructor(_0x2b41e8){const _0x4f9760=_0x411530;super(_0x2b41e8),this[_0x4f9760(0x217)](_0x4f9760(0x25a),!0x0),_0x2b41e8[_0x4f9760(0x1d0)][_0x4f9760(0x21e)](_0x4f9760(0x24f),()=>this[_0x4f9760(0x25a)]=!0x1),this[_0x4f9760(0x217)](_0x4f9760(0x26e),null),this['on'](_0x4f9760(0x240),(_0x598b43,_0x5259d5,_0x3a4c7c,_0x13bee4)=>{const _0x344953=_0x4f9760,_0x2e37af=_0x2b41e8[_0x344953(0x216)][_0x344953(0x23a)](_0x4b5f4d),_0x3f1eb6=_0x3a4c7c?_0x45fbd4(_0x3a4c7c)['id']:null;_0x2b41e8[_0x344953(0x1f5)][_0x344953(0x1f1)](()=>{const _0x5b1026=_0x344953;if(_0x3f1eb6){const _0x5378c5=this[_0x5b1026(0x252)](_0x3f1eb6);for(const _0x364162 of _0x5378c5)_0x2b41e8[_0x5b1026(0x232)][_0x5b1026(0x25e)](_0x364162);}if(_0x13bee4){const {id:_0x54ca6e}=_0x45fbd4(_0x13bee4),_0x4d3541=_0x2e37af[_0x5b1026(0x233)](_0x54ca6e);if(_0x4d3541&&_0x4d3541[_0x5b1026(0x1e4)])return;if(_0x4d3541&&!_0x4d3541[_0x5b1026(0x247)])return;const _0x4bb7df=this[_0x5b1026(0x252)](_0x54ca6e);for(const _0x29b114 of _0x4bb7df)_0x2b41e8[_0x5b1026(0x232)][_0x5b1026(0x25e)](_0x29b114);}}),_0x3f1eb6&&this[_0x344953(0x224)](_0x3f1eb6);}),this[_0x4f9760(0x206)]();}[_0x411530(0x269)](){const _0x1fd9b6=_0x411530,_0x312fe1=this[_0x1fd9b6(0x1dd)],_0x1b59d6=_0x312fe1[_0x1fd9b6(0x216)][_0x1fd9b6(0x23a)](_0x4b5f4d),_0x408211=_0x312fe1[_0x1fd9b6(0x212)][_0x1fd9b6(0x23a)](_0x1fd9b6(0x249)),_0x297549=_0x1b59d6[_0x1fd9b6(0x20b)]()[_0x1fd9b6(0x1d5)](_0x356d06=>_0x356d06[_0x1fd9b6(0x25c)]!==_0x408211);_0x312fe1[_0x1fd9b6(0x1e2)][_0x1fd9b6(0x270)](_0x1fd9b6(0x26f),new _0x244f28(_0x312fe1)),this[_0x1fd9b6(0x243)](_0x312fe1,_0x1fd9b6(0x23e),(_0x210bdc,_0xe308b4,_0x179c43)=>{const _0x113f64=_0x1fd9b6;_0x1b59d6[_0x113f64(0x1d2)](_0x179c43,_0x312fe1[_0x113f64(0x212)][_0x113f64(0x23a)](_0x113f64(0x249)));}),this[_0x1fd9b6(0x243)](_0x1b59d6,dt(_0x1fd9b6(0x26f),_0x408211),(_0x5b9a09,{threadId:_0x4c7d8e})=>{const _0x14af26=_0x1fd9b6,_0x1ac630=this[_0x14af26(0x1dd)][_0x14af26(0x216)][_0x14af26(0x23a)](_0x4b5f4d)[_0x14af26(0x233)](_0x4c7d8e);_0x1ac630?.[_0x14af26(0x1e4)]&&this[_0x14af26(0x25d)](_0x4c7d8e);}),this[_0x1fd9b6(0x243)](_0x1b59d6,dt(_0x1fd9b6(0x225),_0x408211),(_0x1095f7,{threadId:_0x491448})=>{const _0x40326e=_0x1fd9b6;_0x312fe1[_0x40326e(0x1f5)][_0x40326e(0x201)]({'isUndoable':!0x1},_0xec9995=>{const _0x1f0d9a=_0x40326e,_0x31a6c0=this[_0x1f0d9a(0x252)](_0x491448);for(const _0xb653e of _0x31a6c0)_0xec9995[_0x1f0d9a(0x26b)](_0xb653e);});}),this[_0x1fd9b6(0x243)](_0x1b59d6,dt(_0x1fd9b6(0x266),_0x408211),(_0x1bec65,{threadId:_0x3251e0})=>{const _0xce78ec=_0x1fd9b6;(this[_0xce78ec(0x1d3)](_0x3251e0),this[_0xce78ec(0x1dd)][_0xce78ec(0x232)][_0xce78ec(0x258)][_0xce78ec(0x1e3)])&&(this[_0xce78ec(0x1dd)][_0xce78ec(0x216)][_0xce78ec(0x23a)](_0x4b5f4d)[_0xce78ec(0x233)](_0x3251e0)[_0xce78ec(0x1e4)]||this[_0xce78ec(0x1dd)][_0xce78ec(0x232)][_0xce78ec(0x258)][_0xce78ec(0x221)]());},{'priority':_0x1fd9b6(0x1f8)}),this[_0x1fd9b6(0x243)](_0x1b59d6,dt(_0x1fd9b6(0x253),_0x408211),(_0xa491f,{threadId:_0x30b403})=>{const _0x1ec479=_0x1fd9b6;this[_0x1ec479(0x1d3)](_0x30b403);},{'priority':_0x1fd9b6(0x1f8)}),this[_0x1fd9b6(0x243)](_0x1b59d6,dt(_0x1fd9b6(0x205),_0x408211),(_0x49a553,{threadId:_0x4e1418,isFromAdapter:_0x39b3c5})=>{const _0x352efb=_0x1fd9b6,_0x1bab15=this[_0x352efb(0x252)](_0x4e1418);if(_0x39b3c5||0x0==_0x1bab15[_0x352efb(0x1f9)]||!_0x1b59d6[_0x352efb(0x1e9)](_0x4e1418))return;0x1===_0x1b59d6[_0x352efb(0x233)](_0x4e1418)[_0x352efb(0x1f9)]&&_0x312fe1[_0x352efb(0x1f5)][_0x352efb(0x201)]({'isUndoable':!0x1},_0xa292ad=>{const _0x124fdc=_0x352efb;for(const _0xbb5c80 of _0x1bab15)_0xa292ad[_0x124fdc(0x202)](_0xbb5c80,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x1fd9b6(0x1f8)}),this[_0x1fd9b6(0x1ec)](),this[_0x1fd9b6(0x1e0)](),this[_0x1fd9b6(0x22e)](_0x297549);}[_0x411530(0x20a)](){!async function(_0x37f517){const _0x35f626=_0x4c2c70([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x320b68=0x73460ab3,_0x4cabb6=0x7341742b^_0x320b68,_0x56729b=window[_0x4c2c70([0x44,0x61,0x74,0x65])][_0x4c2c70([0x6e,0x6f,0x77])](),_0x1e4898=_0x37f517[_0x4c2c70([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd437b0=new window[(_0x4c2c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45117b=>{_0x1e4898[_0x4c2c70([0x6f,0x6e,0x63,0x65])](_0x4c2c70([0x72,0x65,0x61,0x64,0x79]),_0x45117b);}),_0x47a6d8={[_0x4c2c70([0x6b,0x74,0x79])]:_0x4c2c70([0x45,0x43]),[_0x4c2c70([0x75,0x73,0x65])]:_0x4c2c70([0x73,0x69,0x67]),[_0x4c2c70([0x63,0x72,0x76])]:_0x4c2c70([0x50,0x2d,0x32,0x35,0x36]),[_0x4c2c70([0x78])]:_0x4c2c70([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4c2c70([0x79])]:_0x4c2c70([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4c2c70([0x61,0x6c,0x67])]:_0x4c2c70([0x45,0x53,0x32,0x35,0x36])},_0x468376=_0x1e4898[_0x4c2c70([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c2c70([0x67,0x65,0x74])](_0x4c2c70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ad781(){let _0x1721d3,_0x20b3ef=null,_0x210e14=null;try{if(_0x468376==_0x4c2c70([0x47,0x50,0x4c]))return _0x4c2c70([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1721d3=_0x2d3889(),!_0x1721d3)return _0x4c2c70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1721d3[_0x4c2c70([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x210e14=_0x23b684(_0x1721d3[_0x4c2c70([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1721d3[_0x4c2c70([0x6a,0x74,0x69])])),await _0x527d9f()?_0x164033()?_0x3fe72d()?_0x4c2c70([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c9182()?(_0x1721d3[_0x4c2c70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c2c70([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x20b3ef=_0x130e3e(_0x4c2c70([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x572729()):_0x4c2c70([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c2c70([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c2c70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c2c70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3fe72d(){const _0x3e21c=[_0x4c2c70([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c2c70([0x74,0x72,0x69,0x61,0x6c])][_0x4c2c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1721d3[_0x4c2c70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56729b/0x3e8:0xe10*_0x4cabb6;return _0x1721d3[_0x4c2c70([0x65,0x78,0x70])]<_0x3e21c;}function _0x164033(){const _0x3af47=_0x1721d3[_0x4c2c70([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3af47)return!0x1;if(_0x3af47[_0x4c2c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c2c70([0x2a])))return!0x0;if(_0x3af47[_0x4c2c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c2c70([0x43,0x4d,0x54])))return!0x0;if(_0x3af47[_0x4c2c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c2c70([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x46f0f5())return!0x0;if(_0x3af47[_0x4c2c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c2c70([0x52,0x43,0x4d,0x54]))){if(_0x545298())return!0x0;if(_0x405b78()||_0x2af3b4())return!0x0;}return!0x1;}function _0x4c9182(){const _0x3ed008=_0x46e1,_0x3f7771=_0x1721d3[_0x4c2c70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f7771||0x0==_0x3f7771[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3058af}=new URL(window[_0x4c2c70([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ed008(0x250)]);if(_0x3f7771[_0x4c2c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3058af))return!0x0;const _0x548f51=_0x3058af[_0x4c2c70([0x73,0x70,0x6c,0x69,0x74])](_0x4c2c70([0x2e]));return _0x3f7771[_0x4c2c70([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58fd6e=>_0x58fd6e[_0x4c2c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c2c70([0x2a])))[_0x4c2c70([0x6d,0x61,0x70])](_0x2ad5ca=>_0x2ad5ca[_0x4c2c70([0x73,0x70,0x6c,0x69,0x74])](_0x4c2c70([0x2e])))[_0x4c2c70([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5957f9=>_0x5957f9[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x548f51[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c2c70([0x6d,0x61,0x70])](_0x3faf1a=>Array(_0x548f51[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3faf1a[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c2c70([0x66,0x69,0x6c,0x6c])](_0x3faf1a[0x0]===_0x4c2c70([0x2a])?_0x4c2c70([0x2a]):'')[_0x4c2c70([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3faf1a))[_0x4c2c70([0x73,0x6f,0x6d,0x65])](_0x76bfab=>_0x548f51[_0x4c2c70([0x65,0x76,0x65,0x72,0x79])]((_0x31eeb5,_0x564530)=>_0x76bfab[_0x564530]===_0x31eeb5||_0x76bfab[_0x564530]===_0x4c2c70([0x2a])));}function _0x572729(){return _0x20b3ef&&_0x210e14?new window[(_0x4c2c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57dc2b,_0x527462)=>{_0x20b3ef[_0x4c2c70([0x74,0x68,0x65,0x6e])](_0x57dc2b,_0x527462),_0x210e14[_0x4c2c70([0x74,0x68,0x65,0x6e])](_0xf228b8=>{_0xf228b8!=_0x4c2c70([0x56,0x61,0x6c,0x69,0x64])&&_0x57dc2b(_0xf228b8);},_0x527462);}):_0x20b3ef||_0x210e14||_0x4c2c70([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23b684(_0x3dc3fa,_0x45c88e){return new window[(_0x4c2c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a81e8=>{if(_0x288817())return _0x1a81e8(_0x4c2c70([0x56,0x61,0x6c,0x69,0x64]));_0x34368e(),_0x1e4898[_0x4c2c70([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c2c70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x532168=!0x1;const _0x561ace=_0x14eb03();function _0x13458c(_0x57f9aa){return!!_0x57f9aa&&(typeof _0x57f9aa===_0x4c2c70([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57f9aa===_0x4c2c70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57f9aa[_0x4c2c70([0x74,0x68,0x65,0x6e])]===_0x4c2c70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57f9aa[_0x4c2c70([0x63,0x61,0x74,0x63,0x68])]===_0x4c2c70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x513a91(_0x1f6688){_0x2a883a(_0x1f6688)[_0x4c2c70([0x74,0x68,0x65,0x6e])](_0x2475ac=>{if(!_0x2475ac||_0x2475ac[_0x4c2c70([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c2c70([0x6f,0x6b]))return _0x4c2c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f37db(_0x2735c2(_0x561ace+_0x45c88e))!=_0x2475ac[_0x4c2c70([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c2c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c2c70([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c2c70([0x74,0x68,0x65,0x6e])](_0x1bbc35=>(_0x2674ec(),_0x1bbc35),()=>{const _0x3a7739=_0x197c4a();return null==_0x3a7739?(_0x2674ec(),_0x4c2c70([0x56,0x61,0x6c,0x69,0x64])):_0x4c2c70(_0x56729b-_0x3a7739>(0x574a8eb3^_0x320b68)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c2c70([0x74,0x68,0x65,0x6e])](_0x1a81e8)[_0x4c2c70([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a81e8(_0x4c2c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x250291=0x7370e433^_0x320b68;function _0x2674ec(){const _0x250994=_0x4c2c70([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f37db(_0x2735c2(_0x3dc3fa)),_0x14b18a=_0x5a766b(_0x1f37db(window[_0x4c2c70([0x4d,0x61,0x74,0x68])][_0x4c2c70([0x63,0x65,0x69,0x6c])](_0x56729b/_0x250291)));window[_0x4c2c70([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c2c70([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x250994,_0x14b18a);}function _0x197c4a(){const _0x5eae04=_0x4c2c70([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f37db(_0x2735c2(_0x3dc3fa)),_0x4ba01b=window[_0x4c2c70([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c2c70([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5eae04);return _0x4ba01b?window[_0x4c2c70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a766b(_0x4ba01b),0x10)*_0x250291:null;}function _0x2a883a(_0x14226d){return new window[(_0x4c2c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35d51d,_0x4e3b53)=>{_0x14226d[_0x4c2c70([0x74,0x68,0x65,0x6e])](_0x35d51d,_0x4e3b53),window[_0x4c2c70([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e3b53,0x7347de73^_0x320b68);});}}_0x1e4898[_0x4c2c70([0x6f,0x6e])](_0x4c2c70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x260059,_0x5d4120)=>{if(_0x5d4120[0x0]!=_0x3dc3fa)return _0x1a81e8(_0x4c2c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d4120[0x1]={..._0x5d4120[0x1],[_0x4c2c70([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x561ace};},{[_0x4c2c70([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c2c70([0x68,0x69,0x67,0x68])}),_0x1e4898[_0x4c2c70([0x6f,0x6e])](_0x4c2c70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf56097=>{_0x13458c(_0xf56097[_0x4c2c70([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x532168=!0x0,_0x513a91(_0xf56097[_0x4c2c70([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c2c70([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c2c70([0x6c,0x6f,0x77])}),_0xd437b0[_0x4c2c70([0x74,0x68,0x65,0x6e])](()=>{_0x532168||_0x1a81e8(_0x4c2c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x288817(){return _0x1e4898[_0x4c2c70([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c2c70([0x76,0x69,0x65,0x77])][_0x4c2c70([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c2c70([0x61,0x75,0x74,0x6f]);}function _0x34368e(){_0x1e4898[_0x4c2c70([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c2c70([0x76,0x69,0x65,0x77])][_0x4c2c70([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c2c70([0x61,0x75,0x74,0x6f]);}}function _0x130e3e(_0x52a47a){const _0x398f6f=[new window[(_0x4c2c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15381a=>setTimeout(_0x15381a,0x734f347f^_0x320b68)),_0xd437b0[_0x4c2c70([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c2c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x412d5d=>{let _0x1f6260=0x0;_0x1e4898[_0x4c2c70([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c2c70([0x6f,0x6e])](_0x4c2c70([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf24089,_0x4445fc)=>{_0x4445fc[0x0][_0x4c2c70([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f6260++,_0x1f6260==(0x73460f5b^_0x320b68)&&(_0x412d5d(),_0xf24089[_0x4c2c70([0x6f,0x66,0x66])]());});}))];return window[_0x4c2c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c2c70([0x72,0x61,0x63,0x65])](_0x398f6f)[_0x4c2c70([0x74,0x68,0x65,0x6e])](()=>_0x52a47a);}async function _0x54783d(){await _0xd437b0,_0x1e4898[_0x4c2c70([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c2c70([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x195c55,_0x1e4898[_0x4c2c70([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c2c70([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x195c55,_0x1e4898[_0x4c2c70([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c2c70([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x46f0f5(){return window[_0x4c2c70([0x67,0x6c,0x6f,0x62])]&&window[_0x4c2c70([0x67,0x6c,0x6f,0x62])][_0x4c2c70([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x545298(){return _0x941dd7(_0x4c2c70([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x58a684(_0x4c2c70([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4c2c70([0x73,0x74,0x61,0x74,0x65])]==_0x4c2c70([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x405b78(){return _0x941dd7(_0x4c2c70([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]));}function _0x2af3b4(){return _0x941dd7(_0x4c2c70([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x4f248c(_0x418920){const _0x2acd1a=_0x51f2e0();_0x1e4898[_0x2acd1a]=_0x4c2c70([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x418920,_0x418920!=_0x4c2c70([0x56,0x61,0x6c,0x69,0x64])&&_0x54783d();}function _0x51f2e0(){const _0x207099=window[_0x4c2c70([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c2c70([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c2c70([0x6e,0x6f,0x77])]())[_0x4c2c70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c2c70([0x2e]),'');let _0x4ec14d=_0x4c2c70([0x4b]);for(let _0xe98908=0x0;_0xe98908<_0x207099[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe98908+=0x2){let _0x920f82=window[_0x4c2c70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x207099[_0x4c2c70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe98908,_0xe98908+0x2));_0x920f82>=_0x35f626[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x920f82-=_0x35f626[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ec14d+=_0x35f626[_0x920f82];}return _0x4ec14d;}function _0x2d3889(){const _0x2d6a09=_0x468376[_0x4c2c70([0x73,0x70,0x6c,0x69,0x74])](_0x4c2c70([0x2e]));if(0x3!=_0x2d6a09[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3022c2(_0x2d6a09[0x1]);function _0x3022c2(_0x3ff829){const _0x5183e6=_0xf58761(_0x3ff829);return _0x5183e6&&_0xf1688d()?_0x5183e6:null;function _0xf1688d(){const _0xd873a=_0x5183e6[_0x4c2c70([0x6a,0x74,0x69])],_0x2fa813=window[_0x4c2c70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd873a[_0x4c2c70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd873a[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x448ded={..._0x5183e6,[_0x4c2c70([0x6a,0x74,0x69])]:_0xd873a[_0x4c2c70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd873a[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x448ded[_0x4c2c70([0x76,0x63])],_0x2735c2(_0x448ded)==_0x2fa813;}}}async function _0x527d9f(){let _0xe8edd2=!0x0;try{const _0x449bc8=_0x468376[_0x4c2c70([0x73,0x70,0x6c,0x69,0x74])](_0x4c2c70([0x2e])),[_0x672aef,_0x44b646,_0x2f342f]=_0x449bc8;return _0x5a1da8(_0x672aef),await _0x1ae9fe(_0x672aef,_0x44b646,_0x2f342f),_0xe8edd2;}catch{return!0x1;}function _0x5a1da8(_0x3bcd91){const _0x39f78f=_0xf58761(_0x3bcd91);_0x39f78f&&_0x39f78f[_0x4c2c70([0x61,0x6c,0x67])]==_0x4c2c70([0x45,0x53,0x32,0x35,0x36])||(_0xe8edd2=!0x1);}async function _0x1ae9fe(_0x560aa3,_0x2f0d38,_0x2fb03e){const _0x5e4cdc=window[_0x4c2c70([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c2c70([0x66,0x72,0x6f,0x6d])](_0x26e826(_0x2fb03e),_0x2c8901=>_0x2c8901[_0x4c2c70([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27132f=new window[(_0x4c2c70([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c2c70([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x560aa3+_0x4c2c70([0x2e])+_0x2f0d38),_0x1057ca=window[_0x4c2c70([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c2c70([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1057ca)return;const _0x39bff4=await _0x1057ca[_0x4c2c70([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c2c70([0x6a,0x77,0x6b]),_0x47a6d8,{[_0x4c2c70([0x6e,0x61,0x6d,0x65])]:_0x4c2c70([0x45,0x43,0x44,0x53,0x41]),[_0x4c2c70([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c2c70([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c2c70([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1057ca[_0x4c2c70([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c2c70([0x6e,0x61,0x6d,0x65])]:_0x4c2c70([0x45,0x43,0x44,0x53,0x41]),[_0x4c2c70([0x68,0x61,0x73,0x68])]:{[_0x4c2c70([0x6e,0x61,0x6d,0x65])]:_0x4c2c70([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39bff4,_0x5e4cdc,_0x27132f)||(_0xe8edd2=!0x1);}}function _0xf58761(_0xd08fd9){return _0xd08fd9[_0x4c2c70([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c2c70([0x65,0x79]))?JSON[_0x4c2c70([0x70,0x61,0x72,0x73,0x65])](_0x26e826(_0xd08fd9)):null;}function _0x26e826(_0xa5ac3){return window[_0x4c2c70([0x61,0x74,0x6f,0x62])](_0xa5ac3[_0x4c2c70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c2c70([0x2b]))[_0x4c2c70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c2c70([0x2f])));}function _0x2735c2(_0xdcddf4){let _0x4551e5=0x1505;function _0x86a972(_0x7fb6bc){for(let _0x1f596e=0x0;_0x1f596e<_0x7fb6bc[_0x4c2c70([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f596e++){const _0x2cd15e=_0x7fb6bc[_0x4c2c70([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f596e);_0x4551e5=(_0x4551e5<<0x5)+_0x4551e5+_0x2cd15e,_0x4551e5&=_0x4551e5;}}function _0x39b48f(_0x5c9bc6){Array[_0x4c2c70([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c9bc6)?_0x5c9bc6[_0x4c2c70([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39b48f):_0x5c9bc6&&typeof _0x5c9bc6==_0x4c2c70([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c2c70([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c9bc6)[_0x4c2c70([0x73,0x6f,0x72,0x74])]()[_0x4c2c70([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c9afd,_0x16a1ac])=>{_0x86a972(_0x5c9afd),_0x39b48f(_0x16a1ac);}):_0x86a972(window[_0x4c2c70([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c9bc6));}return _0x39b48f(_0xdcddf4),_0x4551e5>>>0x0;}function _0x1f37db(_0x37a871){return _0x37a871[_0x4c2c70([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c2c70([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c2c70([0x30]));}function _0x5a766b(_0x4aad24){return _0x4aad24[_0x4c2c70([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c2c70([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c2c70([0x6a,0x6f,0x69,0x6e])]('');}function _0x941dd7(_0x186ae5){return _0x1e4898[_0x4c2c70([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4c2c70([0x68,0x61,0x73])](_0x186ae5);}function _0x58a684(_0xea4345){return _0x1e4898[_0x4c2c70([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4c2c70([0x67,0x65,0x74])](_0xea4345);}function _0x195c55(){}function _0x4c2c70(_0x386412){const _0xcf22f6=_0x46e1;return _0x386412[_0xcf22f6(0x230)](_0x2617e7=>String[_0xcf22f6(0x1f0)](_0x2617e7))[_0xcf22f6(0x268)]('');}_0x4f248c(await _0x4ad781());}(this);}[_0x411530(0x231)](){const _0x2abb36=_0x411530,_0x40b81a=this[_0x2abb36(0x1dd)][_0x2abb36(0x216)][_0x2abb36(0x23a)](_0x4b5f4d),_0x5c9f15=this[_0x2abb36(0x1dd)][_0x2abb36(0x212)][_0x2abb36(0x23a)](_0x2abb36(0x249));for(const _0x5621a2 of _0x40b81a[_0x2abb36(0x20b)]({'channelId':_0x5c9f15}))_0x40b81a[_0x2abb36(0x211)](_0x5621a2['id']),_0x40b81a[_0x2abb36(0x210)][_0x2abb36(0x1d8)](_0x5621a2['id']);super[_0x2abb36(0x231)]();}[_0x411530(0x1f2)](_0x2b7efb){const _0x4a7897=_0x411530;return this[_0x4a7897(0x252)](_0x2b7efb)[_0x4a7897(0x1f9)]>0x0;}[_0x411530(0x252)](_0x1257e9){const _0x18e94d=_0x411530,_0x238c60=[];for(const _0x4a53c6 of this[_0x18e94d(0x1dd)][_0x18e94d(0x1f5)][_0x18e94d(0x22d)])_0x4a53c6[_0x18e94d(0x203)][_0x18e94d(0x254)](_0x18e94d(0x20e)+_0x1257e9)&&_0x238c60[_0x18e94d(0x1e6)](_0x4a53c6);return _0x238c60;}[_0x411530(0x224)](_0x356521){setTimeout(()=>{const _0x78283=_0x46e1,_0xddf4f9=this[_0x78283(0x242)](_0x356521);if(!_0xddf4f9)return;this[_0x78283(0x26e)]&&_0x45fbd4(this[_0x78283(0x26e)])['id']===_0x356521&&_0x3c170a({'target':_0xddf4f9[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x411530(0x1d3)](_0x80ec67){const _0xee8847=_0x411530;this[_0xee8847(0x1dd)][_0xee8847(0x1f5)][_0xee8847(0x1f1)](()=>{const _0x3e8b24=_0xee8847;for(const _0x5a571e of this[_0x3e8b24(0x252)](_0x80ec67))this[_0x3e8b24(0x1dd)][_0x3e8b24(0x232)][_0x3e8b24(0x25e)](_0x5a571e);});}[_0x411530(0x25d)](_0x5edebe){const _0x551153=_0x411530,_0x10f15b=this[_0x551153(0x1dd)][_0x551153(0x216)][_0x551153(0x23a)](_0x4b5f4d),_0x3b9fee=this[_0x551153(0x1dd)][_0x551153(0x216)][_0x551153(0x23a)](_0x3920a2),_0x3f7847=_0x10f15b[_0x551153(0x233)](_0x5edebe);if(!_0x3f7847[_0x551153(0x247)]){const _0x19e040=_0x3f7847[_0x551153(0x1d6)](()=>this[_0x551153(0x242)](_0x3f7847['id']));_0x3b9fee[_0x551153(0x227)](_0x19e040),_0x3f7847[_0x551153(0x262)]=!0x1;}}[_0x411530(0x1ec)](){const _0x2d2dc6=_0x411530,_0x4f359b=this[_0x2d2dc6(0x1dd)],_0x546a89=_0x4f359b[_0x2d2dc6(0x216)][_0x2d2dc6(0x23a)](_0x508047);_0x4f359b[_0x2d2dc6(0x255)][_0x2d2dc6(0x24c)](_0x2d2dc6(0x25b))[_0x2d2dc6(0x238)]({'model':_0x2d2dc6(0x1da),'view':(_0x1e40a3,_0x1783ff)=>{const _0x4c9960=_0x2d2dc6,{id:_0x4cc628}=_0x45fbd4(_0x1e40a3[_0x4c9960(0x200)]),_0xc0c417=_0x4f359b[_0x4c9960(0x216)][_0x4c9960(0x23a)](_0x4b5f4d)[_0x4c9960(0x233)](_0x4cc628),_0x248784=this[_0x4c9960(0x26e)]&&_0x45fbd4(this[_0x4c9960(0x26e)])['id']===_0x4cc628;let _0x41f65f;if(_0xc0c417&&_0xc0c417[_0x4c9960(0x20d)]&&!_0x248784&&_0x1e40a3[_0x4c9960(0x1e7)])return _0x1783ff[_0x4c9960(0x23b)][_0x4c9960(0x1ed)](_0x1e40a3[_0x4c9960(0x1e7)],_0x4c9960(0x1f4)+_0x1e40a3[_0x4c9960(0x200)]),_0x1783ff[_0x4c9960(0x23b)][_0x4c9960(0x1ed)](_0x1e40a3[_0x4c9960(0x1e7)],_0x4c9960(0x215)+_0x1e40a3[_0x4c9960(0x200)]),null;const _0x380e27=[_0x4c9960(0x228)];return _0x248784&&_0x380e27[_0x4c9960(0x1e6)](_0x4c9960(0x218)),_0x41f65f=_0xc0c417?.[_0x4c9960(0x1f9)]?_0xc0c417[_0x4c9960(0x1ef)][_0x4c9960(0x26a)][_0x4c9960(0x1ee)]['id']:_0x546a89['me']['id'],{'classes':_0x380e27,'attributes':{'data-comment':_0x4cc628,'data-author-id':_0x41f65f}};}}),_0x4f359b[_0x2d2dc6(0x255)][_0x2d2dc6(0x24c)](_0x2d2dc6(0x1e5))[_0x2d2dc6(0x248)]({'model':_0x2d2dc6(0x1da),'view':(_0x2ca9d8,{options:_0x18ee0f})=>{const _0x5ab2b7=_0x2d2dc6;if(_0x18ee0f[_0x5ab2b7(0x24b)])return null;const _0x4147a6=_0x4f359b[_0x5ab2b7(0x216)][_0x5ab2b7(0x23a)](_0x4b5f4d),_0x54c064=_0x4f359b[_0x5ab2b7(0x1f5)][_0x5ab2b7(0x22d)][_0x5ab2b7(0x23a)](_0x2ca9d8),{id:_0x4c78bb,part:_0x5b362e}=_0x45fbd4(_0x2ca9d8);return _0x54c064&&!_0x54c064[_0x5ab2b7(0x1fd)]||_0x18ee0f[_0x5ab2b7(0x1dc)]&&_0x4147a6[_0x5ab2b7(0x233)](_0x4c78bb)?.[_0x5ab2b7(0x20d)]?null:{'group':_0x5ab2b7(0x1da),'name':_0x5b362e?_0x4c78bb+':'+_0x5b362e:_0x4c78bb};}}),_0x4f359b[_0x2d2dc6(0x255)][_0x2d2dc6(0x24c)](_0x2d2dc6(0x271))[_0x2d2dc6(0x26c)]({'view':{'name':_0x2d2dc6(0x1da),'attributes':{'id':/^\w/}},'model':(_0x5b57a9,{writer:_0x52f5af})=>_0x52f5af[_0x2d2dc6(0x23c)](_0x2d2dc6(0x1cf),{'data-name':_0x2d2dc6(0x20e)+_0x5b57a9[_0x2d2dc6(0x1d4)]('id')})}),_0x4f359b[_0x2d2dc6(0x255)][_0x2d2dc6(0x24c)](_0x2d2dc6(0x271))[_0x2d2dc6(0x1db)]({'view':_0x2d2dc6(0x1da)});}[_0x411530(0x1e0)](){const _0x5200f9=_0x411530,_0x1c59ce=this[_0x5200f9(0x1dd)],_0x82016=_0x1c59ce[_0x5200f9(0x216)][_0x5200f9(0x23a)](_0x4b5f4d),_0x4a4322=new Set(),_0x20722c=new Set();_0x1c59ce[_0x5200f9(0x1f5)][_0x5200f9(0x21d)][_0x5200f9(0x229)](_0x3e51e3=>{const _0x465289=_0x5200f9;let _0x2a07f8=!0x1;for(const {name:_0xddaf80,data:_0x3de672}of _0x1c59ce[_0x465289(0x1f5)][_0x465289(0x21d)][_0x465289(0x22b)][_0x465289(0x235)]()){const {group:_0x44a693,id:_0x34f83c}=_0x45fbd4(_0xddaf80);let _0x1ffec4=_0x3de672[_0x465289(0x244)];if(_0x465289(0x1da)!==_0x44a693||!_0x1ffec4)continue;const _0x1ce0a4=_0x465289(0x21a)===_0x1ffec4[_0x465289(0x236)][_0x465289(0x245)];_0x1ce0a4||(_0x1ffec4=ht(_0x1ffec4,_0x1c59ce[_0x465289(0x1f5)]),!_0x1ffec4||_0x1ffec4[_0x465289(0x1d1)]||!_0x3de672[_0x465289(0x244)]||_0x1ffec4[_0x465289(0x20c)](_0x3de672[_0x465289(0x244)]))?_0x1c59ce[_0x465289(0x1f5)][_0x465289(0x220)](_0x1ffec4)&&!_0x1ce0a4?this[_0x465289(0x25a)]?_0x4a4322[_0x465289(0x270)](_0xddaf80):this[_0x465289(0x1df)](_0xddaf80,_0x34f83c):(_0x20722c[_0x465289(0x270)](_0xddaf80),_0x4a4322[_0x465289(0x1d8)](_0xddaf80),_0x3e51e3[_0x465289(0x26b)](_0xddaf80),_0x2a07f8=!0x0):(_0x3e51e3[_0x465289(0x202)](_0xddaf80,{'range':_0x1ffec4}),_0x2a07f8=!0x0);}return _0x2a07f8;}),this['on'](_0x5200f9(0x207),(_0xcc73fb,_0x2dc7e0,_0x2d7953)=>{const _0x2f1dea=_0x5200f9;if(!_0x2d7953&&_0x4a4322[_0x2f1dea(0x1ea)])for(const _0x1a33ef of _0x4a4322){const {id:_0x5d11b0}=_0x45fbd4(_0x1a33ef);_0x4a4322[_0x2f1dea(0x1d8)](_0x1a33ef),_0x1c59ce[_0x2f1dea(0x1f5)][_0x2f1dea(0x22d)][_0x2f1dea(0x23a)](_0x1a33ef)&&this[_0x2f1dea(0x1df)](_0x1a33ef,_0x5d11b0);}}),this[_0x5200f9(0x243)](_0x1c59ce[_0x5200f9(0x1f5)][_0x5200f9(0x21d)],_0x5200f9(0x1f1),()=>{const _0x3b462d=_0x5200f9;for(const {name:_0x484b8a,data:{newRange:_0x24aa08}}of _0x1c59ce[_0x3b462d(0x1f5)][_0x3b462d(0x21d)][_0x3b462d(0x22b)][_0x3b462d(0x235)]()){const {group:_0x969d82,id:_0x3fb3c5}=_0x45fbd4(_0x484b8a);if(_0x3b462d(0x1da)!==_0x969d82)continue;const _0x383721=_0x82016[_0x3b462d(0x233)](_0x3fb3c5),_0x25d912=this[_0x3b462d(0x1f2)](_0x3fb3c5);_0x383721&&(!_0x383721[_0x3b462d(0x262)]&&_0x24aa08&&_0x1c59ce[_0x3b462d(0x232)][_0x3b462d(0x258)][_0x3b462d(0x21e)](_0x3b462d(0x246),()=>{const _0x579618=_0x3b462d,_0x15c0e0=_0x1c59ce[_0x579618(0x216)][_0x579618(0x23a)](_0x5142f6),_0x4bde21=_0x82016[_0x579618(0x23d)][_0x579618(0x23a)](_0x383721)[_0x579618(0x258)];_0x15c0e0[_0x579618(0x213)](_0x4bde21)[_0x579618(0x263)]();},{'priority':_0x3b462d(0x1f8)}),_0x383721[_0x3b462d(0x262)]=_0x25d912||!!_0x24aa08),_0x24aa08||(_0x20722c[_0x3b462d(0x270)](_0x484b8a),_0x4a4322[_0x3b462d(0x1d8)](_0x484b8a));}for(const _0xda70f8 of _0x20722c){const {id:_0x1aded2}=_0x45fbd4(_0xda70f8),_0x4589b6=_0x82016[_0x3b462d(0x233)](_0x1aded2);if(_0x4a4322[_0x3b462d(0x1d8)](_0xda70f8),!_0x4589b6)continue;const _0x491251=this[_0x3b462d(0x1f2)](_0x1aded2);_0x491251||_0x4589b6[_0x3b462d(0x1de)]?_0x491251||_0x4589b6[_0x3b462d(0x1e4)]||_0x4589b6[_0x3b462d(0x21c)](new Date()):_0x4589b6[_0x3b462d(0x22f)]();}_0x20722c[_0x3b462d(0x256)]();});}[_0x411530(0x22e)](_0x23bef7){const _0x141203=_0x411530;_0x23bef7[_0x141203(0x260)](_0x25c7ec=>{const _0xa410d8=_0x141203;_0x25c7ec[_0xa410d8(0x1e4)]&&this[_0xa410d8(0x25d)](_0x25c7ec['id']);});}[_0x411530(0x242)](_0x560733){const _0x4866c4=_0x411530,_0x523281=this[_0x4866c4(0x1dd)],_0x4a267b=this[_0x4866c4(0x252)](_0x560733);return _0x8746d8(_0x523281[_0x4866c4(0x232)],_0x4a267b);}[_0x411530(0x25f)](_0x46dcef){const _0x34bb48=_0x411530,_0x1e833e=this[_0x34bb48(0x252)](_0x46dcef);let _0x53e49a='',_0x41f139=!0x1;for(const _0x5ccb43 of _0x1e833e){const _0x4a91f1=_0x5ccb43[_0x34bb48(0x1ff)]();for(const _0x2ebc0c of Array[_0x34bb48(0x23f)](_0x4a91f1[_0x34bb48(0x223)]()))_0x2ebc0c['is'](_0x34bb48(0x234))?(_0x53e49a&&_0x41f139&&(_0x53e49a+='\x20',_0x41f139=!0x1),_0x53e49a+=_0x2ebc0c[_0x34bb48(0x1d0)]):_0x41f139=!0x0;_0x41f139=!0x0;}return _0x53e49a[_0x34bb48(0x1fe)](0x0,0x96);}[_0x411530(0x22c)](_0x563b13,_0x165082){const _0x34a1b8=_0x411530,_0x5a6236=this[_0x34a1b8(0x1dd)],_0x33b043=_0x5a6236[_0x34a1b8(0x216)][_0x34a1b8(0x23a)](_0x4b5f4d);let _0x14f1be=_0x33b043[_0x34a1b8(0x233)](_0x165082);const _0x5e4f16=_0x5a6236[_0x34a1b8(0x212)][_0x34a1b8(0x23a)](_0x34a1b8(0x249)),_0x470f53=_0x5a6236[_0x34a1b8(0x216)][_0x34a1b8(0x23a)](_0x3920a2);if(_0x14f1be&&(_0x14f1be[_0x34a1b8(0x1e4)]&&_0x14f1be[_0x34a1b8(0x21c)](null),_0x14f1be[_0x34a1b8(0x247)]))return _0x14f1be;return!this[_0x34a1b8(0x252)](_0x165082)[0x0][_0x34a1b8(0x20f)]?_0x5a6236[_0x34a1b8(0x232)][_0x34a1b8(0x258)][_0x34a1b8(0x21e)](_0x34a1b8(0x246),()=>{const _0x50b9cd=_0x34a1b8;if(_0x33b043[_0x50b9cd(0x233)](_0x165082))return;const _0x291dc2=_0x5a6236[_0x50b9cd(0x216)][_0x50b9cd(0x23a)](_0x5142f6);_0x14f1be=_0x33b043[_0x50b9cd(0x22a)]({'channelId':_0x5e4f16,'threadId':_0x165082,'target':()=>this[_0x50b9cd(0x242)](_0x165082),'context':{'type':_0x50b9cd(0x204),'value':this[_0x50b9cd(0x25f)](_0x165082)}});const _0x555f61=_0x33b043[_0x50b9cd(0x23d)][_0x50b9cd(0x23a)](_0x14f1be)[_0x50b9cd(0x258)],_0xed7af4=_0x291dc2[_0x50b9cd(0x213)](_0x555f61);_0xed7af4&&_0x470f53[_0x50b9cd(0x227)](_0xed7af4);},{'priority':_0x34a1b8(0x1f8)}):_0x33b043[_0x34a1b8(0x237)]({'channelId':_0x5e4f16,'threadId':_0x165082})[_0x34a1b8(0x24e)](_0x3edb05=>{const _0x1c22f7=_0x34a1b8;if(_0x1c22f7(0x264)!==_0x5a6236[_0x1c22f7(0x1d7)]){if(_0x14f1be=_0x3edb05,_0x14f1be&&!_0x14f1be[_0x1c22f7(0x247)]){const _0x1c593a=_0x14f1be[_0x1c22f7(0x1d6)](()=>this[_0x1c22f7(0x242)](_0x165082));_0x470f53[_0x1c22f7(0x227)](_0x1c593a),_0x14f1be[_0x1c22f7(0x20d)]&&this[_0x1c22f7(0x1d3)](_0x165082);}else{if(!_0x14f1be){const _0x19ad48=this[_0x1c22f7(0x252)](_0x165082);_0x5a6236[_0x1c22f7(0x1f5)][_0x1c22f7(0x1f1)](_0x5c1d97=>{const _0x5d0305=_0x1c22f7;for(const _0x1b71b1 of _0x19ad48)_0x5c1d97[_0x5d0305(0x26b)](_0x1b71b1);});}}}}),_0x14f1be;}[_0x411530(0x1df)](_0x137d3d,_0x53e488){const _0x4f3ebd=_0x411530,_0x3a143c=this[_0x4f3ebd(0x22c)](_0x137d3d,_0x53e488);_0x3a143c&&!_0x3a143c[_0x4f3ebd(0x257)]&&_0x3a143c[_0x4f3ebd(0x1eb)]({'type':_0x4f3ebd(0x204),'value':this[_0x4f3ebd(0x25f)](_0x53e488)});}[_0x411530(0x206)](){const _0x28b407=_0x411530,_0x2511b7=this[_0x28b407(0x1dd)];_0x2f602b(_0x2511b7[_0x28b407(0x1f5)],({left:_0x24b23e,entered:_0x1c2069})=>{const _0x2f9e79=_0x28b407;for(const _0x472a26 of _0x24b23e)if(mt(_0x472a26)){_0x2511b7['ui'][_0x2f9e79(0x1e1)][_0x2f9e79(0x226)](_0x12ad73(_0x2511b7[_0x2f9e79(0x214)],_0x2f9e79(0x21f)));break;}for(const _0x447e23 of _0x1c2069)if(mt(_0x447e23)){_0x2511b7['ui'][_0x2f9e79(0x1e1)][_0x2f9e79(0x226)](_0x12ad73(_0x2511b7[_0x2f9e79(0x214)],_0x2f9e79(0x208),_0x1ef544(_0x2cef7b)));break;}});}}function dt(_0x5dda54,_0x4ead23){return _0x4ead23?_0x5dda54+':'+_0x4ead23:_0x5dda54;}function _0x46e1(_0x2f1d4d,_0x2fa722){const _0x291a23=_0x291a();return _0x46e1=function(_0x46e14f,_0x279ece){_0x46e14f=_0x46e14f-0x1ce;let _0x598da1=_0x291a23[_0x46e14f];return _0x598da1;},_0x46e1(_0x2f1d4d,_0x2fa722);}function ht(_0x363682,_0x9942c){const _0x32643a=_0x411530,_0x177da7=_0x9942c[_0x32643a(0x239)],_0x2c9ef3=_0x9942c[_0x32643a(0x222)](_0x363682[_0x32643a(0x1d9)]);for(const _0x48d2d2 of _0x363682[_0x32643a(0x1fc)]()){const {type:_0x4a0a9f,item:_0x4077ba,nextPosition:_0x27eb97}=_0x48d2d2;if(_0x32643a(0x204)===_0x4a0a9f||_0x177da7[_0x32643a(0x219)](_0x4077ba)){const _0x271e7c=_0x9942c[_0x32643a(0x209)](_0x4077ba);_0x2c9ef3[_0x32643a(0x1d1)]&&(_0x2c9ef3[_0x32643a(0x1d9)]=_0x271e7c),_0x2c9ef3[_0x32643a(0x24a)]=_0x27eb97;}}return _0x2c9ef3;}function mt(_0x145329){const _0x3a38b8=_0x411530;return _0x3a38b8(0x1da)===_0x45fbd4(_0x145329[_0x3a38b8(0x203)])[_0x3a38b8(0x265)];}
|
|
23
|
+
const _0x279ade=_0x3854;(function(_0x2fd414,_0x579de1){const _0x397f19=_0x3854,_0x262c50=_0x2fd414();while(!![]){try{const _0x410da2=parseInt(_0x397f19(0x21d))/0x1*(parseInt(_0x397f19(0x1c8))/0x2)+-parseInt(_0x397f19(0x1d6))/0x3*(-parseInt(_0x397f19(0x1fc))/0x4)+-parseInt(_0x397f19(0x1ac))/0x5*(parseInt(_0x397f19(0x1fe))/0x6)+-parseInt(_0x397f19(0x1b9))/0x7+parseInt(_0x397f19(0x220))/0x8*(-parseInt(_0x397f19(0x1a3))/0x9)+parseInt(_0x397f19(0x19a))/0xa+-parseInt(_0x397f19(0x1b1))/0xb;if(_0x410da2===_0x579de1)break;else _0x262c50['push'](_0x262c50['shift']());}catch(_0x32e0b9){_0x262c50['push'](_0x262c50['shift']());}}}(_0x418b,0x2f96c));import{Plugin as _0x47bf33}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x5f4c7c,scrollViewportToShowTarget as _0x4510f4,uid as _0x20151f}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x1fdbd6}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x269455}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x200545,getAllMarkersDomElementsSorted as _0x4fc161,FOCUS_ANNOTATION_KEYSTROKE as _0x49a0fb,Users as _0x2e6f7a}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x3f159f}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x3e25fd}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x371036}from'./integrations/importword.js';import{CommentsClipboard as _0x517dbd}from'./integrations/clipboard.js';function _0x3854(_0x2d6593,_0x3f39ea){const _0x418bee=_0x418b();return _0x3854=function(_0x385430,_0x196a8a){_0x385430=_0x385430-0x17d;let _0x4c2371=_0x418bee[_0x385430];return _0x4c2371;},_0x3854(_0x2d6593,_0x3f39ea);}import{ShowCommentHighlights as _0xab8aee}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x16d161}from'../annotations/annotations.js';import{getTranslation as _0x59915f}from'../utils/common-translations.js';import{splitMarkerName as _0x346fe1}from'../utils/splitmarkername.js';function _0x418b(){const _0x4d5c65=['removeMarker:','text','ENTER_COMMENT_ANNOUNCEMENT','addComment','CommentsEditing','context','switchReadOnly','differ','_threads','size','hasContent','getCommentThreads','hasDomSelection','first','1308yPyPTg','_attachArchivedThread','6Tvwvko','model','ignoreResolvedComments','map','add','editing','registerAnnotation','newRange','getAllMarkersForId','requires','getRange','_getTargetForId','for','end','name','consume','filter','getItems','plugins','_threadToController','dataDowncast','ariaLiveAnnouncer','affectsData','change:isReadOnly','enqueueChange','openNewCommentThread','_detachCommentThread','delete','ck-comment-marker--active','dataToMarker','$graveyard','118kDtdjb','$textProxy','change:isThreadsLoadingPaused','256UPkkSy','isObject','afterInit','schema','markers','isAttached','destroyed','_attachMarkerToThread','removeMarker','_handleInitialThreads','collaboration.channelId','forEach','listenTo','set','ready','_initAriaMarkerChangeAnnouncements','root','start','createElement','hasCommentThread','resolveCommentThread','addCommentThread','getByInnerView','markerToData','updateMarker','hasMarkerForId','get','conversion','showCommentHighlights','change','item','3001920KPkRqt','isCollapsed','isEqual','announce','then','from','locale','managedUsingOperations','markerToHighlight','61317WRpnlT','author','refreshVisibility','data','isResolved','change:activeMarker','fromCharCode','getChangedMarkers','destroy','709580sPKBKU','pluginName','unlinkedAt','scrollToThreadMarker','attachTo','475552xYXsIc','createPositionBefore','group','document','registerPostFixer','comment:','length','low','1759016kjBukf','render','rootName','push','activeMarker','getCommentThread','reopenCommentThread','href','clear','ck-comment-marker','reconvertMarker','_hasTargetInContent','startsWith','LEAVE_COMMENT_ANNOUNCEMENT','elementToElement','4442rBlUZj','upcast','remove','join','isOfficialPlugin','editingDowncast','setContext','$marker','_reconvertMarkers','once','createRange','_initializeMarkerConverters','isSubmitted','consumable','2634yHwdmW','channelId','setUnlinkedAt','_handleThreadMarker','focus','_handleMarkerAddAndRemove','addMarker:','comment','removeCommentThread','commands','isPremiumPlugin','substring','getAttribute','fetchCommentThread','_getTextContext','editor','comments','init','markerName','state','config','view','getWalker','isThreadsLoadingPaused'];_0x418b=function(){return _0x4d5c65;};return _0x418b();}export class CommentsEditing extends _0x47bf33{static get[_0x279ade(0x207)](){return[_0x1fdbd6,_0x3f159f,_0x2e6f7a,_0x3e25fd,_0x371036,_0x517dbd,_0xab8aee];}static get[_0x279ade(0x1ad)](){const _0x425044=_0x279ade;return _0x425044(0x1f2);}static get[_0x279ade(0x1cc)](){return!0x0;}static get[_0x279ade(0x1e0)](){return!0x0;}constructor(_0x399b35){const _0x13d72d=_0x279ade;super(_0x399b35),this[_0x13d72d(0x188)](_0x13d72d(0x1ed),!0x0),_0x399b35[_0x13d72d(0x1a6)][_0x13d72d(0x1d1)](_0x13d72d(0x189),()=>this[_0x13d72d(0x1ed)]=!0x1),this[_0x13d72d(0x188)](_0x13d72d(0x1bd),null),this['on'](_0x13d72d(0x1a8),(_0x46f1d3,_0x4ff998,_0x56de2c,_0x5c684a)=>{const _0x355799=_0x13d72d,_0x4d37e8=_0x399b35[_0x355799(0x210)][_0x355799(0x195)](_0x1fdbd6),_0x2e7a9d=_0x56de2c?_0x346fe1(_0x56de2c)['id']:null;_0x399b35[_0x355799(0x1ff)][_0x355799(0x198)](()=>{const _0x1fdf65=_0x355799;if(_0x2e7a9d){const _0x5e6818=this[_0x1fdf65(0x206)](_0x2e7a9d);for(const _0x3ecd5b of _0x5e6818)_0x399b35[_0x1fdf65(0x203)][_0x1fdf65(0x1c3)](_0x3ecd5b);}if(_0x5c684a){const {id:_0x2f7737}=_0x346fe1(_0x5c684a),_0x130d13=_0x4d37e8[_0x1fdf65(0x1be)](_0x2f7737);if(_0x130d13&&_0x130d13[_0x1fdf65(0x1ae)])return;if(_0x130d13&&!_0x130d13[_0x1fdf65(0x180)])return;const _0x24092d=this[_0x1fdf65(0x206)](_0x2f7737);for(const _0x138aa3 of _0x24092d)_0x399b35[_0x1fdf65(0x203)][_0x1fdf65(0x1c3)](_0x138aa3);}}),_0x2e7a9d&&this[_0x355799(0x1af)](_0x2e7a9d);}),this[_0x13d72d(0x18a)]();}[_0x279ade(0x1e7)](){const _0xf4ce90=_0x279ade,_0x5e6470=this[_0xf4ce90(0x1e5)],_0x392fe0=_0x5e6470[_0xf4ce90(0x210)][_0xf4ce90(0x195)](_0x1fdbd6),_0x59f861=_0x5e6470[_0xf4ce90(0x1ea)][_0xf4ce90(0x195)](_0xf4ce90(0x185)),_0x1ca874=_0x392fe0[_0xf4ce90(0x1f9)]()[_0xf4ce90(0x20e)](_0x363b16=>_0x363b16[_0xf4ce90(0x1d7)]!==_0x59f861);_0x5e6470[_0xf4ce90(0x1df)][_0xf4ce90(0x202)](_0xf4ce90(0x190),new _0x269455(_0x5e6470)),this[_0xf4ce90(0x187)](_0x5e6470,_0xf4ce90(0x215),(_0x4fe7a5,_0x2ececf,_0x1cf644)=>{const _0x252d15=_0xf4ce90;_0x392fe0[_0x252d15(0x1f4)](_0x1cf644,_0x5e6470[_0x252d15(0x1ea)][_0x252d15(0x195)](_0x252d15(0x185)));}),this[_0xf4ce90(0x187)](_0x392fe0,dt(_0xf4ce90(0x190),_0x59f861),(_0x3b826e,{threadId:_0x1c3702})=>{const _0x30bfab=_0xf4ce90,_0x4f5246=this[_0x30bfab(0x1e5)][_0x30bfab(0x210)][_0x30bfab(0x195)](_0x1fdbd6)[_0x30bfab(0x1be)](_0x1c3702);_0x4f5246?.[_0x30bfab(0x1ae)]&&this[_0x30bfab(0x1fd)](_0x1c3702);}),this[_0xf4ce90(0x187)](_0x392fe0,dt(_0xf4ce90(0x1de),_0x59f861),(_0xcec5c7,{threadId:_0x5859ac})=>{const _0x3ec897=_0xf4ce90;_0x5e6470[_0x3ec897(0x1ff)][_0x3ec897(0x216)]({'isUndoable':!0x1},_0x47a6d1=>{const _0x98bbf9=_0x3ec897,_0x1e3f18=this[_0x98bbf9(0x206)](_0x5859ac);for(const _0x44da24 of _0x1e3f18)_0x47a6d1[_0x98bbf9(0x183)](_0x44da24);});}),this[_0xf4ce90(0x187)](_0x392fe0,dt(_0xf4ce90(0x18f),_0x59f861),(_0x120117,{threadId:_0xa376b0})=>{const _0x46832b=_0xf4ce90;(this[_0x46832b(0x1d0)](_0xa376b0),this[_0x46832b(0x1e5)][_0x46832b(0x203)][_0x46832b(0x1eb)][_0x46832b(0x1fa)])&&(this[_0x46832b(0x1e5)][_0x46832b(0x210)][_0x46832b(0x195)](_0x1fdbd6)[_0x46832b(0x1be)](_0xa376b0)[_0x46832b(0x1ae)]||this[_0x46832b(0x1e5)][_0x46832b(0x203)][_0x46832b(0x1eb)][_0x46832b(0x1da)]());},{'priority':_0xf4ce90(0x1b8)}),this[_0xf4ce90(0x187)](_0x392fe0,dt(_0xf4ce90(0x1bf),_0x59f861),(_0x5cb656,{threadId:_0x638546})=>{const _0x960e5e=_0xf4ce90;this[_0x960e5e(0x1d0)](_0x638546);},{'priority':_0xf4ce90(0x1b8)}),this[_0xf4ce90(0x187)](_0x392fe0,dt(_0xf4ce90(0x1f1),_0x59f861),(_0x2754ef,{threadId:_0x5c018c,isFromAdapter:_0x570b90})=>{const _0xc9c1f2=_0xf4ce90,_0x140dcc=this[_0xc9c1f2(0x206)](_0x5c018c);if(_0x570b90||0x0==_0x140dcc[_0xc9c1f2(0x1b7)]||!_0x392fe0[_0xc9c1f2(0x18e)](_0x5c018c))return;0x1===_0x392fe0[_0xc9c1f2(0x1be)](_0x5c018c)[_0xc9c1f2(0x1b7)]&&_0x5e6470[_0xc9c1f2(0x1ff)][_0xc9c1f2(0x216)]({'isUndoable':!0x1},_0x539233=>{const _0x119105=_0xc9c1f2;for(const _0x28fe63 of _0x140dcc)_0x539233[_0x119105(0x193)](_0x28fe63,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xf4ce90(0x1b8)}),this[_0xf4ce90(0x1d3)](),this[_0xf4ce90(0x1db)](),this[_0xf4ce90(0x184)](_0x1ca874);}[_0x279ade(0x17d)](){!async function(_0x17ff58){const _0x5b5d54=_0x44b3cb([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x5cec2c=0x73460ab3,_0x4f0439=0x7341747b^_0x5cec2c,_0xf19dd=window[_0x44b3cb([0x44,0x61,0x74,0x65])][_0x44b3cb([0x6e,0x6f,0x77])](),_0x48bdc2=_0x17ff58[_0x44b3cb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3525c4=new window[(_0x44b3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bceef=>{_0x48bdc2[_0x44b3cb([0x6f,0x6e,0x63,0x65])](_0x44b3cb([0x72,0x65,0x61,0x64,0x79]),_0x4bceef);}),_0xd77539={[_0x44b3cb([0x6b,0x74,0x79])]:_0x44b3cb([0x45,0x43]),[_0x44b3cb([0x75,0x73,0x65])]:_0x44b3cb([0x73,0x69,0x67]),[_0x44b3cb([0x63,0x72,0x76])]:_0x44b3cb([0x50,0x2d,0x32,0x35,0x36]),[_0x44b3cb([0x78])]:_0x44b3cb([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x44b3cb([0x79])]:_0x44b3cb([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x44b3cb([0x61,0x6c,0x67])]:_0x44b3cb([0x45,0x53,0x32,0x35,0x36])},_0xd04a9f=_0x48bdc2[_0x44b3cb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x44b3cb([0x67,0x65,0x74])](_0x44b3cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x44ae64(){let _0xe12b13,_0x4a7104=null,_0x23a7fa=null;try{if(_0xd04a9f==_0x44b3cb([0x47,0x50,0x4c]))return _0x44b3cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe12b13=_0x39ebb3(),!_0xe12b13)return _0x44b3cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe12b13[_0x44b3cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23a7fa=_0x4daa5d(_0xe12b13[_0x44b3cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe12b13[_0x44b3cb([0x6a,0x74,0x69])])),await _0x54358d()?_0x54c83f()?_0xed7373()?_0x44b3cb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x273bef()?(_0xe12b13[_0x44b3cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44b3cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a7104=_0x25858e(_0x44b3cb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x293292()):_0x44b3cb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x44b3cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x44b3cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x44b3cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xed7373(){const _0x3864eb=[_0x44b3cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x44b3cb([0x74,0x72,0x69,0x61,0x6c])][_0x44b3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe12b13[_0x44b3cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf19dd/0x3e8:0xe10*_0x4f0439;return _0xe12b13[_0x44b3cb([0x65,0x78,0x70])]<_0x3864eb;}function _0x54c83f(){const _0x413c89=_0xe12b13[_0x44b3cb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x413c89)return!0x1;if(_0x413c89[_0x44b3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44b3cb([0x2a])))return!0x0;if(_0x413c89[_0x44b3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44b3cb([0x43,0x4d,0x54])))return!0x0;if(_0x413c89[_0x44b3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44b3cb([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x5c3291())return!0x0;if(_0x413c89[_0x44b3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44b3cb([0x52,0x43,0x4d,0x54]))){if(_0xee4cce())return!0x0;if(_0x376167()||_0x520ebc())return!0x0;}return!0x1;}function _0x273bef(){const _0xf9362a=_0x3854,_0x2d616b=_0xe12b13[_0x44b3cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d616b||0x0==_0x2d616b[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51ba61}=new URL(window[_0x44b3cb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xf9362a(0x1c0)]);if(_0x2d616b[_0x44b3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51ba61))return!0x0;const _0x1c71ca=_0x51ba61[_0x44b3cb([0x73,0x70,0x6c,0x69,0x74])](_0x44b3cb([0x2e]));return _0x2d616b[_0x44b3cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31486a=>_0x31486a[_0x44b3cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44b3cb([0x2a])))[_0x44b3cb([0x6d,0x61,0x70])](_0xc2e004=>_0xc2e004[_0x44b3cb([0x73,0x70,0x6c,0x69,0x74])](_0x44b3cb([0x2e])))[_0x44b3cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e199f=>_0x5e199f[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c71ca[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44b3cb([0x6d,0x61,0x70])](_0xc47b20=>Array(_0x1c71ca[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc47b20[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44b3cb([0x66,0x69,0x6c,0x6c])](_0xc47b20[0x0]===_0x44b3cb([0x2a])?_0x44b3cb([0x2a]):'')[_0x44b3cb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc47b20))[_0x44b3cb([0x73,0x6f,0x6d,0x65])](_0x1e2ffe=>_0x1c71ca[_0x44b3cb([0x65,0x76,0x65,0x72,0x79])]((_0x2d934a,_0x51b7b5)=>_0x1e2ffe[_0x51b7b5]===_0x2d934a||_0x1e2ffe[_0x51b7b5]===_0x44b3cb([0x2a])));}function _0x293292(){return _0x4a7104&&_0x23a7fa?new window[(_0x44b3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x460829,_0x463359)=>{_0x4a7104[_0x44b3cb([0x74,0x68,0x65,0x6e])](_0x460829,_0x463359),_0x23a7fa[_0x44b3cb([0x74,0x68,0x65,0x6e])](_0x1b1307=>{_0x1b1307!=_0x44b3cb([0x56,0x61,0x6c,0x69,0x64])&&_0x460829(_0x1b1307);},_0x463359);}):_0x4a7104||_0x23a7fa||_0x44b3cb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4daa5d(_0x48658c,_0x40f217){return new window[(_0x44b3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x214cf5=>{if(_0x1cf7ef())return _0x214cf5(_0x44b3cb([0x56,0x61,0x6c,0x69,0x64]));_0x609c4d(),_0x48bdc2[_0x44b3cb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x44b3cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47b3d3=!0x1;const _0x58c131=_0x20151f();function _0xc6cadb(_0x480f29){return!!_0x480f29&&(typeof _0x480f29===_0x44b3cb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x480f29===_0x44b3cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x480f29[_0x44b3cb([0x74,0x68,0x65,0x6e])]===_0x44b3cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x480f29[_0x44b3cb([0x63,0x61,0x74,0x63,0x68])]===_0x44b3cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c50b0(_0x5e12c6){_0x704b9d(_0x5e12c6)[_0x44b3cb([0x74,0x68,0x65,0x6e])](_0x133369=>{if(!_0x133369||_0x133369[_0x44b3cb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x44b3cb([0x6f,0x6b]))return _0x44b3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4544e2(_0x13d69e(_0x58c131+_0x40f217))!=_0x133369[_0x44b3cb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x44b3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x44b3cb([0x56,0x61,0x6c,0x69,0x64]);})[_0x44b3cb([0x74,0x68,0x65,0x6e])](_0x55f44b=>(_0x1d1f40(),_0x55f44b),()=>{const _0xffb083=_0x3c0c5e();return null==_0xffb083?(_0x1d1f40(),_0x44b3cb([0x56,0x61,0x6c,0x69,0x64])):_0x44b3cb(_0xf19dd-_0xffb083>(0x574a8eb3^_0x5cec2c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x44b3cb([0x74,0x68,0x65,0x6e])](_0x214cf5)[_0x44b3cb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x214cf5(_0x44b3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33e58e=0x7370e433^_0x5cec2c;function _0x1d1f40(){const _0x197184=_0x44b3cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x4544e2(_0x13d69e(_0x48658c)),_0x2d1e04=_0x2904d7(_0x4544e2(window[_0x44b3cb([0x4d,0x61,0x74,0x68])][_0x44b3cb([0x63,0x65,0x69,0x6c])](_0xf19dd/_0x33e58e)));window[_0x44b3cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44b3cb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x197184,_0x2d1e04);}function _0x3c0c5e(){const _0x570133=_0x44b3cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x4544e2(_0x13d69e(_0x48658c)),_0x4f64a9=window[_0x44b3cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44b3cb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x570133);return _0x4f64a9?window[_0x44b3cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2904d7(_0x4f64a9),0x10)*_0x33e58e:null;}function _0x704b9d(_0xaa6b6){return new window[(_0x44b3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cca7e,_0x371f40)=>{_0xaa6b6[_0x44b3cb([0x74,0x68,0x65,0x6e])](_0x2cca7e,_0x371f40),window[_0x44b3cb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x371f40,0x7347de73^_0x5cec2c);});}}_0x48bdc2[_0x44b3cb([0x6f,0x6e])](_0x44b3cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x157bbe,_0x43934e)=>{if(_0x43934e[0x0]!=_0x48658c)return _0x214cf5(_0x44b3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x43934e[0x1]={..._0x43934e[0x1],[_0x44b3cb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58c131};},{[_0x44b3cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44b3cb([0x68,0x69,0x67,0x68])}),_0x48bdc2[_0x44b3cb([0x6f,0x6e])](_0x44b3cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x399775=>{_0xc6cadb(_0x399775[_0x44b3cb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47b3d3=!0x0,_0x5c50b0(_0x399775[_0x44b3cb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x44b3cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44b3cb([0x6c,0x6f,0x77])}),_0x3525c4[_0x44b3cb([0x74,0x68,0x65,0x6e])](()=>{_0x47b3d3||_0x214cf5(_0x44b3cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1cf7ef(){return _0x48bdc2[_0x44b3cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44b3cb([0x76,0x69,0x65,0x77])][_0x44b3cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x44b3cb([0x61,0x75,0x74,0x6f]);}function _0x609c4d(){_0x48bdc2[_0x44b3cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44b3cb([0x76,0x69,0x65,0x77])][_0x44b3cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x44b3cb([0x61,0x75,0x74,0x6f]);}}function _0x25858e(_0x19baf9){const _0x1fa4a9=[new window[(_0x44b3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3af3bc=>setTimeout(_0x3af3bc,0x734f347f^_0x5cec2c)),_0x3525c4[_0x44b3cb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x44b3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1077dc=>{let _0x31da46=0x0;_0x48bdc2[_0x44b3cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x44b3cb([0x6f,0x6e])](_0x44b3cb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x270eaf,_0x12c395)=>{_0x12c395[0x0][_0x44b3cb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31da46++,_0x31da46==(0x73460f5b^_0x5cec2c)&&(_0x1077dc(),_0x270eaf[_0x44b3cb([0x6f,0x66,0x66])]());});}))];return window[_0x44b3cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x44b3cb([0x72,0x61,0x63,0x65])](_0x1fa4a9)[_0x44b3cb([0x74,0x68,0x65,0x6e])](()=>_0x19baf9);}async function _0x22c12e(){await _0x3525c4,_0x48bdc2[_0x44b3cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x44b3cb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30c362,_0x48bdc2[_0x44b3cb([0x6d,0x6f,0x64,0x65,0x6c])][_0x44b3cb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30c362,_0x48bdc2[_0x44b3cb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x44b3cb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c3291(){return window[_0x44b3cb([0x67,0x6c,0x6f,0x62])]&&window[_0x44b3cb([0x67,0x6c,0x6f,0x62])][_0x44b3cb([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xee4cce(){return _0x575f33(_0x44b3cb([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x16cb46(_0x44b3cb([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x44b3cb([0x73,0x74,0x61,0x74,0x65])]==_0x44b3cb([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x376167(){return _0x575f33(_0x44b3cb([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]));}function _0x520ebc(){return _0x575f33(_0x44b3cb([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x28b544(_0x29fce3){const _0x7fd33f=_0x31a718();_0x48bdc2[_0x7fd33f]=_0x44b3cb([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29fce3,_0x29fce3!=_0x44b3cb([0x56,0x61,0x6c,0x69,0x64])&&_0x22c12e();}function _0x31a718(){const _0x4797ab=window[_0x44b3cb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x44b3cb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x44b3cb([0x6e,0x6f,0x77])]())[_0x44b3cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x44b3cb([0x2e]),'');let _0x5e31aa=_0x44b3cb([0x4b]);for(let _0x42b35c=0x0;_0x42b35c<_0x4797ab[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42b35c+=0x2){let _0x130820=window[_0x44b3cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4797ab[_0x44b3cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42b35c,_0x42b35c+0x2));_0x130820>=_0x5b5d54[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x130820-=_0x5b5d54[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e31aa+=_0x5b5d54[_0x130820];}return _0x5e31aa;}function _0x39ebb3(){const _0x6fa51d=_0xd04a9f[_0x44b3cb([0x73,0x70,0x6c,0x69,0x74])](_0x44b3cb([0x2e]));if(0x3!=_0x6fa51d[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bf0f1(_0x6fa51d[0x1]);function _0x1bf0f1(_0x4b53de){const _0x5a3ae5=_0x425c75(_0x4b53de);return _0x5a3ae5&&_0x5dc430()?_0x5a3ae5:null;function _0x5dc430(){const _0x4d3948=_0x5a3ae5[_0x44b3cb([0x6a,0x74,0x69])],_0x5b9583=window[_0x44b3cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d3948[_0x44b3cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d3948[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x537465={..._0x5a3ae5,[_0x44b3cb([0x6a,0x74,0x69])]:_0x4d3948[_0x44b3cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d3948[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x537465[_0x44b3cb([0x76,0x63])],_0x13d69e(_0x537465)==_0x5b9583;}}}async function _0x54358d(){let _0x2accab=!0x0;try{const _0x42f47d=_0xd04a9f[_0x44b3cb([0x73,0x70,0x6c,0x69,0x74])](_0x44b3cb([0x2e])),[_0x41dbf1,_0x2514da,_0x4b3f2d]=_0x42f47d;return _0x43085f(_0x41dbf1),await _0x3b4ec7(_0x41dbf1,_0x2514da,_0x4b3f2d),_0x2accab;}catch{return!0x1;}function _0x43085f(_0x29659d){const _0x61e752=_0x425c75(_0x29659d);_0x61e752&&_0x61e752[_0x44b3cb([0x61,0x6c,0x67])]==_0x44b3cb([0x45,0x53,0x32,0x35,0x36])||(_0x2accab=!0x1);}async function _0x3b4ec7(_0x1d8ba1,_0x579737,_0x3a13b4){const _0x40899d=window[_0x44b3cb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x44b3cb([0x66,0x72,0x6f,0x6d])](_0x270c38(_0x3a13b4),_0x48c4b4=>_0x48c4b4[_0x44b3cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d4ab8=new window[(_0x44b3cb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x44b3cb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d8ba1+_0x44b3cb([0x2e])+_0x579737),_0x551d6b=window[_0x44b3cb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x44b3cb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x551d6b)return;const _0x25b973=await _0x551d6b[_0x44b3cb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x44b3cb([0x6a,0x77,0x6b]),_0xd77539,{[_0x44b3cb([0x6e,0x61,0x6d,0x65])]:_0x44b3cb([0x45,0x43,0x44,0x53,0x41]),[_0x44b3cb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x44b3cb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x44b3cb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x551d6b[_0x44b3cb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x44b3cb([0x6e,0x61,0x6d,0x65])]:_0x44b3cb([0x45,0x43,0x44,0x53,0x41]),[_0x44b3cb([0x68,0x61,0x73,0x68])]:{[_0x44b3cb([0x6e,0x61,0x6d,0x65])]:_0x44b3cb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25b973,_0x40899d,_0x3d4ab8)||(_0x2accab=!0x1);}}function _0x425c75(_0x4bc4f6){return _0x4bc4f6[_0x44b3cb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x44b3cb([0x65,0x79]))?JSON[_0x44b3cb([0x70,0x61,0x72,0x73,0x65])](_0x270c38(_0x4bc4f6)):null;}function _0x270c38(_0x21581d){return window[_0x44b3cb([0x61,0x74,0x6f,0x62])](_0x21581d[_0x44b3cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x44b3cb([0x2b]))[_0x44b3cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x44b3cb([0x2f])));}function _0x13d69e(_0x513084){let _0x1a4160=0x1505;function _0x386662(_0x40f60c){for(let _0x4d5caf=0x0;_0x4d5caf<_0x40f60c[_0x44b3cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d5caf++){const _0x275b60=_0x40f60c[_0x44b3cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d5caf);_0x1a4160=(_0x1a4160<<0x5)+_0x1a4160+_0x275b60,_0x1a4160&=_0x1a4160;}}function _0x505e2e(_0x2417bf){Array[_0x44b3cb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2417bf)?_0x2417bf[_0x44b3cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x505e2e):_0x2417bf&&typeof _0x2417bf==_0x44b3cb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x44b3cb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2417bf)[_0x44b3cb([0x73,0x6f,0x72,0x74])]()[_0x44b3cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f5648,_0x37c9fe])=>{_0x386662(_0x1f5648),_0x505e2e(_0x37c9fe);}):_0x386662(window[_0x44b3cb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2417bf));}return _0x505e2e(_0x513084),_0x1a4160>>>0x0;}function _0x4544e2(_0x210f70){return _0x210f70[_0x44b3cb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x44b3cb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x44b3cb([0x30]));}function _0x2904d7(_0x3bc9bf){return _0x3bc9bf[_0x44b3cb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x44b3cb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x44b3cb([0x6a,0x6f,0x69,0x6e])]('');}function _0x575f33(_0x5a0aab){return _0x48bdc2[_0x44b3cb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x44b3cb([0x68,0x61,0x73])](_0x5a0aab);}function _0x16cb46(_0xb2b822){return _0x48bdc2[_0x44b3cb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x44b3cb([0x67,0x65,0x74])](_0xb2b822);}function _0x30c362(){}function _0x44b3cb(_0x588cb8){const _0x3561f2=_0x3854;return _0x588cb8[_0x3561f2(0x201)](_0x51f3e3=>String[_0x3561f2(0x1a9)](_0x51f3e3))[_0x3561f2(0x1cb)]('');}_0x28b544(await _0x44ae64());}(this);}[_0x279ade(0x1ab)](){const _0x3c6f0d=_0x279ade,_0x1796f2=this[_0x3c6f0d(0x1e5)][_0x3c6f0d(0x210)][_0x3c6f0d(0x195)](_0x1fdbd6),_0x18eb49=this[_0x3c6f0d(0x1e5)][_0x3c6f0d(0x1ea)][_0x3c6f0d(0x195)](_0x3c6f0d(0x185));for(const _0x22dd9a of _0x1796f2[_0x3c6f0d(0x1f9)]({'channelId':_0x18eb49}))_0x1796f2[_0x3c6f0d(0x218)](_0x22dd9a['id']),_0x1796f2[_0x3c6f0d(0x1f6)][_0x3c6f0d(0x219)](_0x22dd9a['id']);super[_0x3c6f0d(0x1ab)]();}[_0x279ade(0x194)](_0x3c3e96){const _0x5f195b=_0x279ade;return this[_0x5f195b(0x206)](_0x3c3e96)[_0x5f195b(0x1b7)]>0x0;}[_0x279ade(0x206)](_0x43a89f){const _0x40a32b=_0x279ade,_0x19ae51=[];for(const _0x284bf7 of this[_0x40a32b(0x1e5)][_0x40a32b(0x1ff)][_0x40a32b(0x17f)])_0x284bf7[_0x40a32b(0x20c)][_0x40a32b(0x1c5)](_0x40a32b(0x1b6)+_0x43a89f)&&_0x19ae51[_0x40a32b(0x1bc)](_0x284bf7);return _0x19ae51;}[_0x279ade(0x1af)](_0x502918){setTimeout(()=>{const _0x23c283=_0x3854,_0x100efe=this[_0x23c283(0x209)](_0x502918);if(!_0x100efe)return;this[_0x23c283(0x1bd)]&&_0x346fe1(this[_0x23c283(0x1bd)])['id']===_0x502918&&_0x4510f4({'target':_0x100efe[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x279ade(0x1d0)](_0x3772c9){const _0x23a6a1=_0x279ade;this[_0x23a6a1(0x1e5)][_0x23a6a1(0x1ff)][_0x23a6a1(0x198)](()=>{const _0x183977=_0x23a6a1;for(const _0x2eec7c of this[_0x183977(0x206)](_0x3772c9))this[_0x183977(0x1e5)][_0x183977(0x203)][_0x183977(0x1c3)](_0x2eec7c);});}[_0x279ade(0x1fd)](_0x5a5ea3){const _0x4106cc=_0x279ade,_0x664d5d=this[_0x4106cc(0x1e5)][_0x4106cc(0x210)][_0x4106cc(0x195)](_0x1fdbd6),_0x56c3b8=this[_0x4106cc(0x1e5)][_0x4106cc(0x210)][_0x4106cc(0x195)](_0x3f159f),_0x1ef02b=_0x664d5d[_0x4106cc(0x1be)](_0x5a5ea3);if(!_0x1ef02b[_0x4106cc(0x180)]){const _0x34ce43=_0x1ef02b[_0x4106cc(0x1b0)](()=>this[_0x4106cc(0x209)](_0x1ef02b['id']));_0x56c3b8[_0x4106cc(0x204)](_0x34ce43),_0x1ef02b[_0x4106cc(0x1c4)]=!0x1;}}[_0x279ade(0x1d3)](){const _0x509af8=_0x279ade,_0x39aafe=this[_0x509af8(0x1e5)],_0x27a440=_0x39aafe[_0x509af8(0x210)][_0x509af8(0x195)](_0x2e6f7a);_0x39aafe[_0x509af8(0x196)][_0x509af8(0x20a)](_0x509af8(0x1cd))[_0x509af8(0x1a2)]({'model':_0x509af8(0x1dd),'view':(_0x981097,_0x24a233)=>{const _0x1f6f8a=_0x509af8,{id:_0x28a5d6}=_0x346fe1(_0x981097[_0x1f6f8a(0x1e8)]),_0x236df5=_0x39aafe[_0x1f6f8a(0x210)][_0x1f6f8a(0x195)](_0x1fdbd6)[_0x1f6f8a(0x1be)](_0x28a5d6),_0x4e2aa0=this[_0x1f6f8a(0x1bd)]&&_0x346fe1(this[_0x1f6f8a(0x1bd)])['id']===_0x28a5d6;let _0x5a4d6f;if(_0x236df5&&_0x236df5[_0x1f6f8a(0x1a7)]&&!_0x4e2aa0&&_0x981097[_0x1f6f8a(0x199)])return _0x24a233[_0x1f6f8a(0x1d5)][_0x1f6f8a(0x20d)](_0x981097[_0x1f6f8a(0x199)],_0x1f6f8a(0x1dc)+_0x981097[_0x1f6f8a(0x1e8)]),_0x24a233[_0x1f6f8a(0x1d5)][_0x1f6f8a(0x20d)](_0x981097[_0x1f6f8a(0x199)],_0x1f6f8a(0x1ee)+_0x981097[_0x1f6f8a(0x1e8)]),null;const _0x31350d=[_0x1f6f8a(0x1c2)];return _0x4e2aa0&&_0x31350d[_0x1f6f8a(0x1bc)](_0x1f6f8a(0x21a)),_0x5a4d6f=_0x236df5?.[_0x1f6f8a(0x1b7)]?_0x236df5[_0x1f6f8a(0x1e6)][_0x1f6f8a(0x1fb)][_0x1f6f8a(0x1a4)]['id']:_0x27a440['me']['id'],{'classes':_0x31350d,'attributes':{'data-comment':_0x28a5d6,'data-author-id':_0x5a4d6f}};}}),_0x39aafe[_0x509af8(0x196)][_0x509af8(0x20a)](_0x509af8(0x212))[_0x509af8(0x192)]({'model':_0x509af8(0x1dd),'view':(_0x5c8d2f,{options:_0x460a3d})=>{const _0x4027f8=_0x509af8;if(_0x460a3d[_0x4027f8(0x197)])return null;const _0xa16053=_0x39aafe[_0x4027f8(0x210)][_0x4027f8(0x195)](_0x1fdbd6),_0x4c6008=_0x39aafe[_0x4027f8(0x1ff)][_0x4027f8(0x17f)][_0x4027f8(0x195)](_0x5c8d2f),{id:_0x16a5cd,part:_0x55f6e1}=_0x346fe1(_0x5c8d2f);return _0x4c6008&&!_0x4c6008[_0x4027f8(0x214)]||_0x460a3d[_0x4027f8(0x200)]&&_0xa16053[_0x4027f8(0x1be)](_0x16a5cd)?.[_0x4027f8(0x1a7)]?null:{'group':_0x4027f8(0x1dd),'name':_0x55f6e1?_0x16a5cd+':'+_0x55f6e1:_0x16a5cd};}}),_0x39aafe[_0x509af8(0x196)][_0x509af8(0x20a)](_0x509af8(0x1c9))[_0x509af8(0x1c7)]({'view':{'name':_0x509af8(0x1dd),'attributes':{'id':/^\w/}},'model':(_0x4cc3b0,{writer:_0x11d40d})=>_0x11d40d[_0x509af8(0x18d)](_0x509af8(0x1cf),{'data-name':_0x509af8(0x1b6)+_0x4cc3b0[_0x509af8(0x1e2)]('id')})}),_0x39aafe[_0x509af8(0x196)][_0x509af8(0x20a)](_0x509af8(0x1c9))[_0x509af8(0x21b)]({'view':_0x509af8(0x1dd)});}[_0x279ade(0x1db)](){const _0x1658cd=_0x279ade,_0xef14ee=this[_0x1658cd(0x1e5)],_0x325669=_0xef14ee[_0x1658cd(0x210)][_0x1658cd(0x195)](_0x1fdbd6),_0x38f9c5=new Set(),_0xb3f4cc=new Set();_0xef14ee[_0x1658cd(0x1ff)][_0x1658cd(0x1b4)][_0x1658cd(0x1b5)](_0x56da9a=>{const _0x39d78c=_0x1658cd;let _0x380256=!0x1;for(const {name:_0x5bf25,data:_0x14b52e}of _0xef14ee[_0x39d78c(0x1ff)][_0x39d78c(0x1b4)][_0x39d78c(0x1f5)][_0x39d78c(0x1aa)]()){const {group:_0x42e0a3,id:_0x5999d8}=_0x346fe1(_0x5bf25);let _0x47a8a0=_0x14b52e[_0x39d78c(0x205)];if(_0x39d78c(0x1dd)!==_0x42e0a3||!_0x47a8a0)continue;const _0x42ed68=_0x39d78c(0x21c)===_0x47a8a0[_0x39d78c(0x18b)][_0x39d78c(0x1bb)];_0x42ed68||(_0x47a8a0=ht(_0x47a8a0,_0xef14ee[_0x39d78c(0x1ff)]),!_0x47a8a0||_0x47a8a0[_0x39d78c(0x19b)]||!_0x14b52e[_0x39d78c(0x205)]||_0x47a8a0[_0x39d78c(0x19c)](_0x14b52e[_0x39d78c(0x205)]))?_0xef14ee[_0x39d78c(0x1ff)][_0x39d78c(0x1f8)](_0x47a8a0)&&!_0x42ed68?this[_0x39d78c(0x1ed)]?_0x38f9c5[_0x39d78c(0x202)](_0x5bf25):this[_0x39d78c(0x1d9)](_0x5bf25,_0x5999d8):(_0xb3f4cc[_0x39d78c(0x202)](_0x5bf25),_0x38f9c5[_0x39d78c(0x219)](_0x5bf25),_0x56da9a[_0x39d78c(0x183)](_0x5bf25),_0x380256=!0x0):(_0x56da9a[_0x39d78c(0x193)](_0x5bf25,{'range':_0x47a8a0}),_0x380256=!0x0);}return _0x380256;}),this['on'](_0x1658cd(0x21f),(_0x133c93,_0x5d13e0,_0x9e4d3b)=>{const _0x3fc10f=_0x1658cd;if(!_0x9e4d3b&&_0x38f9c5[_0x3fc10f(0x1f7)])for(const _0x55b9bc of _0x38f9c5){const {id:_0x1c915f}=_0x346fe1(_0x55b9bc);_0x38f9c5[_0x3fc10f(0x219)](_0x55b9bc),_0xef14ee[_0x3fc10f(0x1ff)][_0x3fc10f(0x17f)][_0x3fc10f(0x195)](_0x55b9bc)&&this[_0x3fc10f(0x1d9)](_0x55b9bc,_0x1c915f);}}),this[_0x1658cd(0x187)](_0xef14ee[_0x1658cd(0x1ff)][_0x1658cd(0x1b4)],_0x1658cd(0x198),()=>{const _0x5d4762=_0x1658cd;for(const {name:_0x596d9c,data:{newRange:_0x7eb00b}}of _0xef14ee[_0x5d4762(0x1ff)][_0x5d4762(0x1b4)][_0x5d4762(0x1f5)][_0x5d4762(0x1aa)]()){const {group:_0x2e6c8f,id:_0x42707d}=_0x346fe1(_0x596d9c);if(_0x5d4762(0x1dd)!==_0x2e6c8f)continue;const _0x1f71b8=_0x325669[_0x5d4762(0x1be)](_0x42707d),_0x511d11=this[_0x5d4762(0x194)](_0x42707d);_0x1f71b8&&(!_0x1f71b8[_0x5d4762(0x1c4)]&&_0x7eb00b&&_0xef14ee[_0x5d4762(0x203)][_0x5d4762(0x1eb)][_0x5d4762(0x1d1)](_0x5d4762(0x1ba),()=>{const _0x1ef204=_0x5d4762,_0x594448=_0xef14ee[_0x1ef204(0x210)][_0x1ef204(0x195)](_0x16d161),_0x2b2f2c=_0x325669[_0x1ef204(0x211)][_0x1ef204(0x195)](_0x1f71b8)[_0x1ef204(0x1eb)];_0x594448[_0x1ef204(0x191)](_0x2b2f2c)[_0x1ef204(0x1a5)]();},{'priority':_0x5d4762(0x1b8)}),_0x1f71b8[_0x5d4762(0x1c4)]=_0x511d11||!!_0x7eb00b),_0x7eb00b||(_0xb3f4cc[_0x5d4762(0x202)](_0x596d9c),_0x38f9c5[_0x5d4762(0x219)](_0x596d9c));}for(const _0x27b733 of _0xb3f4cc){const {id:_0x4c12cf}=_0x346fe1(_0x27b733),_0x39f18a=_0x325669[_0x5d4762(0x1be)](_0x4c12cf);if(_0x38f9c5[_0x5d4762(0x219)](_0x27b733),!_0x39f18a)continue;const _0x40c247=this[_0x5d4762(0x194)](_0x4c12cf);_0x40c247||_0x39f18a[_0x5d4762(0x1d4)]?_0x40c247||_0x39f18a[_0x5d4762(0x1ae)]||_0x39f18a[_0x5d4762(0x1d8)](new Date()):_0x39f18a[_0x5d4762(0x1ca)]();}_0xb3f4cc[_0x5d4762(0x1c1)]();});}[_0x279ade(0x184)](_0x2defa1){const _0x4a4e89=_0x279ade;_0x2defa1[_0x4a4e89(0x186)](_0x3d5e1c=>{const _0x5b2f05=_0x4a4e89;_0x3d5e1c[_0x5b2f05(0x1ae)]&&this[_0x5b2f05(0x1fd)](_0x3d5e1c['id']);});}[_0x279ade(0x209)](_0x22862b){const _0x54d5a0=_0x279ade,_0x2f0a45=this[_0x54d5a0(0x1e5)],_0x362522=this[_0x54d5a0(0x206)](_0x22862b);return _0x4fc161(_0x2f0a45[_0x54d5a0(0x203)],_0x362522);}[_0x279ade(0x1e4)](_0x337644){const _0x1a78aa=_0x279ade,_0x2bc1a6=this[_0x1a78aa(0x206)](_0x337644);let _0x242071='',_0x126e33=!0x1;for(const _0x6f40d6 of _0x2bc1a6){const _0x4a6a97=_0x6f40d6[_0x1a78aa(0x208)]();for(const _0x3f3ec5 of Array[_0x1a78aa(0x19f)](_0x4a6a97[_0x1a78aa(0x20f)]()))_0x3f3ec5['is'](_0x1a78aa(0x21e))?(_0x242071&&_0x126e33&&(_0x242071+='\x20',_0x126e33=!0x1),_0x242071+=_0x3f3ec5[_0x1a78aa(0x1a6)]):_0x126e33=!0x0;_0x126e33=!0x0;}return _0x242071[_0x1a78aa(0x1e1)](0x0,0x96);}[_0x279ade(0x182)](_0x58c833,_0x18a1b8){const _0x3aee69=_0x279ade,_0x2c8540=this[_0x3aee69(0x1e5)],_0x4bd43c=_0x2c8540[_0x3aee69(0x210)][_0x3aee69(0x195)](_0x1fdbd6);let _0x3a5b37=_0x4bd43c[_0x3aee69(0x1be)](_0x18a1b8);const _0x4b7a16=_0x2c8540[_0x3aee69(0x1ea)][_0x3aee69(0x195)](_0x3aee69(0x185)),_0x321162=_0x2c8540[_0x3aee69(0x210)][_0x3aee69(0x195)](_0x3f159f);if(_0x3a5b37&&(_0x3a5b37[_0x3aee69(0x1ae)]&&_0x3a5b37[_0x3aee69(0x1d8)](null),_0x3a5b37[_0x3aee69(0x180)]))return _0x3a5b37;return!this[_0x3aee69(0x206)](_0x18a1b8)[0x0][_0x3aee69(0x1a1)]?_0x2c8540[_0x3aee69(0x203)][_0x3aee69(0x1eb)][_0x3aee69(0x1d1)](_0x3aee69(0x1ba),()=>{const _0x27610c=_0x3aee69;if(_0x4bd43c[_0x27610c(0x1be)](_0x18a1b8))return;const _0x4fb490=_0x2c8540[_0x27610c(0x210)][_0x27610c(0x195)](_0x16d161);_0x3a5b37=_0x4bd43c[_0x27610c(0x217)]({'channelId':_0x4b7a16,'threadId':_0x18a1b8,'target':()=>this[_0x27610c(0x209)](_0x18a1b8),'context':{'type':_0x27610c(0x1ef),'value':this[_0x27610c(0x1e4)](_0x18a1b8)}});const _0x6ee1f7=_0x4bd43c[_0x27610c(0x211)][_0x27610c(0x195)](_0x3a5b37)[_0x27610c(0x1eb)],_0xebf33=_0x4fb490[_0x27610c(0x191)](_0x6ee1f7);_0xebf33&&_0x321162[_0x27610c(0x204)](_0xebf33);},{'priority':_0x3aee69(0x1b8)}):_0x4bd43c[_0x3aee69(0x1e3)]({'channelId':_0x4b7a16,'threadId':_0x18a1b8})[_0x3aee69(0x19e)](_0x3635b0=>{const _0x4449bf=_0x3aee69;if(_0x4449bf(0x181)!==_0x2c8540[_0x4449bf(0x1e9)]){if(_0x3a5b37=_0x3635b0,_0x3a5b37&&!_0x3a5b37[_0x4449bf(0x180)]){const _0x14f4c5=_0x3a5b37[_0x4449bf(0x1b0)](()=>this[_0x4449bf(0x209)](_0x18a1b8));_0x321162[_0x4449bf(0x204)](_0x14f4c5),_0x3a5b37[_0x4449bf(0x1a7)]&&this[_0x4449bf(0x1d0)](_0x18a1b8);}else{if(!_0x3a5b37){const _0x691ebf=this[_0x4449bf(0x206)](_0x18a1b8);_0x2c8540[_0x4449bf(0x1ff)][_0x4449bf(0x198)](_0x4e46c6=>{const _0x261b6f=_0x4449bf;for(const _0x1935c1 of _0x691ebf)_0x4e46c6[_0x261b6f(0x183)](_0x1935c1);});}}}}),_0x3a5b37;}[_0x279ade(0x1d9)](_0x2d1624,_0x6bb9a6){const _0x1da85f=_0x279ade,_0x43cfa4=this[_0x1da85f(0x182)](_0x2d1624,_0x6bb9a6);_0x43cfa4&&!_0x43cfa4[_0x1da85f(0x1f3)]&&_0x43cfa4[_0x1da85f(0x1ce)]({'type':_0x1da85f(0x1ef),'value':this[_0x1da85f(0x1e4)](_0x6bb9a6)});}[_0x279ade(0x18a)](){const _0x6c2a68=_0x279ade,_0x1e6e77=this[_0x6c2a68(0x1e5)];_0x200545(_0x1e6e77[_0x6c2a68(0x1ff)],({left:_0x472423,entered:_0x4c97f4})=>{const _0x376aa4=_0x6c2a68;for(const _0x2773b6 of _0x472423)if(mt(_0x2773b6)){_0x1e6e77['ui'][_0x376aa4(0x213)][_0x376aa4(0x19d)](_0x59915f(_0x1e6e77[_0x376aa4(0x1a0)],_0x376aa4(0x1c6)));break;}for(const _0x381e44 of _0x4c97f4)if(mt(_0x381e44)){_0x1e6e77['ui'][_0x376aa4(0x213)][_0x376aa4(0x19d)](_0x59915f(_0x1e6e77[_0x376aa4(0x1a0)],_0x376aa4(0x1f0),_0x5f4c7c(_0x49a0fb)));break;}});}}function dt(_0xc2e7f4,_0x1ed559){return _0x1ed559?_0xc2e7f4+':'+_0x1ed559:_0xc2e7f4;}function ht(_0xdfaa6,_0x4cd845){const _0x596b25=_0x279ade,_0x23a0c9=_0x4cd845[_0x596b25(0x17e)],_0x4cc369=_0x4cd845[_0x596b25(0x1d2)](_0xdfaa6[_0x596b25(0x18c)]);for(const _0x313223 of _0xdfaa6[_0x596b25(0x1ec)]()){const {type:_0x378e8c,item:_0xc1453c,nextPosition:_0x8e0853}=_0x313223;if(_0x596b25(0x1ef)===_0x378e8c||_0x23a0c9[_0x596b25(0x221)](_0xc1453c)){const _0x448908=_0x4cd845[_0x596b25(0x1b2)](_0xc1453c);_0x4cc369[_0x596b25(0x19b)]&&(_0x4cc369[_0x596b25(0x18c)]=_0x448908),_0x4cc369[_0x596b25(0x20b)]=_0x8e0853;}}return _0x4cc369;}function mt(_0x414450){const _0x4e48b3=_0x279ade;return _0x4e48b3(0x1dd)===_0x346fe1(_0x414450[_0x4e48b3(0x20c)])[_0x4e48b3(0x1b3)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x288c6c=_0x1fcd;(function(_0x43ebcf,_0x157cca){const _0x26d91a=_0x1fcd,_0x4539ba=_0x43ebcf();while(!![]){try{const _0x5959da=parseInt(_0x26d91a(0x10d))/0x1*(-parseInt(_0x26d91a(0x17f))/0x2)+-parseInt(_0x26d91a(0x101))/0x3*(parseInt(_0x26d91a(0x19e))/0x4)+parseInt(_0x26d91a(0x153))/0x5+parseInt(_0x26d91a(0x181))/0x6*(-parseInt(_0x26d91a(0x1b8))/0x7)+parseInt(_0x26d91a(0x134))/0x8+-parseInt(_0x26d91a(0xef))/0x9+parseInt(_0x26d91a(0x15e))/0xa;if(_0x5959da===_0x157cca)break;else _0x4539ba['push'](_0x4539ba['shift']());}catch(_0x582d21){_0x4539ba['push'](_0x4539ba['shift']());}}}(_0x105d,0x608d1));import{PendingActions as _0x1b3b22,ContextPlugin as _0x41df4c,Editor as _0x3b1a9e}from'ckeditor5/src/core.js';import{Collection as _0x8eb16,uid as _0x1f4272,CKEditorError as _0x472333,ObservableMixin as _0x14a791}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x4258ec,hashObject as _0x3b7629,Users as _0x53c330}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x57deb3,isEqual as _0x26df7c,set as _0x3284d2,unset as _0x553486}from'es-toolkit/compat';import{CommentThreadController as _0x1d2941}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0xc4610e}from'./ui/view/commentthreadview.js';import{CommentView as _0x37b809}from'./ui/view/commentview.js';import{getTranslation as _0x3012e}from'../utils/common-translations.js';function _0x105d(){const _0x49ccfa=['commentsrepository-add-comment-to-missing-comment-thread','addComment','type','isFromAdapter','channelId','fetchCommentThread','_add','editorDestroyed','_getExternalAuthor','setContext','commentsrepository-remove-comment-internal-error','submitCommentThread','createCommentThreadController','set','_remove','_attachCommentThread','activate','reopenCommentThread','admin','weight','reopen','getByInnerView','CommentView','innerHTML','resolve','comments.CommentView','commentsrepository-update-comment-internal-error','addUser','switchReadOnly','threadId','3143500YtEWYR','fire','commentUpdated','commentsrepository-invalid-commentid','commentsrepository-active-missing-comment-thread','commentsrepository-active-not-attached','isRemovable','modifyAll','model','isOfficialPlugin','get','4216550heHtaz','listenTo','comment','isActive','init','archivedAt','getComment','warn','commentThreadInputView','isResolved','filter','from','focus','push','requires','values','comments.copyMarkers','author','commentsrepository-update-missing-comment','_hasTargetInContent','context','commentsrepository-remove-missing-comment-thread','licenseKey','_updateComment','comments.maxThreadTotalWeight','_updateCommentThread','has','getPermissions','commentsrepository-add-comment-user-not-exists','delete','resolveCommentThread','setAttribute','commentsrepository-remove-comment-missing-comment-thread','122CSwDhC','noChannel','2154iNORCd','change:_permissions','resolvedBy','focusableElements','commentsrepository-missing-comment-thread','CommentThreadView','max','CommentsRepository','_permissions','_viewToController','_createCommentThreadView','_findOptimalIndex','removeCommentThread','lowest','commentsrepository-remove-comment-thread-internal-error','commentsrepository-invalid-comment-content','comments.maxCommentCharsWhenCollapsed','comments.editorConfig','commentsrepository-duplicated-comment-thread-id','attachTo','unlinkedAt','isVisible','getUser','commentsrepository-reopen-comment-thread-internal-error','destroy','setActiveCommentThread','_removeComment','then','comments.maxCommentsWhenCollapsed','1956sfmRNl','getTime','escape','adapter','_isSubmitted','hasCommentThread','commentsrepository-add-comment-internal-error','commentsrepository-reopen-comment-thread','isExternal','addCommentThread','config','creator','@external','commentsrepository-missing-target','commentsrepository-attach-missing-comment-thread','_isAttached','bind','PENDING_ACTION_COMMENT_THREAD','_addComment','commentsrepository-resolved-comment-thread','getIndex','removeComment','submit','innerView','assign','reduce','12831OQZnCa','commentsListView','_update','change:_readOnlyChannels','updateComment','_detachCommentThread','toJSON','length','deactivateAll','commentsrepository-remove-missing-comment','remove','activeCommentThread','trim','commentsrepository-add-comment-thread-internal-error','_submitCommentThread','isSubmitted','stopListening','external:','comments.CommentThreadView','map','content','_repository','isReadOnly','commentsrepository-missing-thread-and-adapter-method','authoredAt','_threadToController','function','_unbindEditors','isPremiumPlugin','getCommentThreadForAnnotation','editorReady','747360UQIPdW','add','find','commentsrepository-update-comment-missing-comment-thread','once','update','_removeActiveAnnotation','setPermissions','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-fetch-comment-thread','div','change:activeAnnotations','_addCommentThread','_reopenCommentThread','attributes','body','focusTracker','comments','1269kYIHVd','canComment','commentId','error','commentsrepository-adapter-already-set','commentsrepository-resolve-comment-thread-internal-error','PendingActions','locale','createElement','isEditable','_bindAnnotationToEditors','bodyCollectionContainer','6015IvdXtP','_createNewComment','refreshVisibility','_resolveCommentThread','catch','isAttached','define','_removeCommentThread','isDirty','commentsrepository-update-comment-thread-internal-error','highest','write','createdAt','isResolvable','_readOnlyChannels','commentsrepository-get-comment-invalid-id','textContent','updateCommentThread','_updateActiveAnnotation','openNewCommentThread','commentsrepository-update-comment-invalid-content','change:authoredAt','resolvedAt','getAnnotationForCommentThread','removeAttribute','plugins','commentsrepository-invalid-comment-thread-id','_adapter','setUnlinkedAt','getCommentThread','string','view','_threads','getCommentThreads','commentInputView','authorName','pluginName','change:isDirty','commentsrepository-invalid-comment-authorid','5279736LnwUWr'];_0x105d=function(){return _0x49ccfa;};return _0x105d();}import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x4827ce}from'../annotations/view/annotationview.js';import{Annotation as _0xaa633a}from'../annotations/annotation.js';import{Annotations as _0x5da520}from'../annotations/annotations.js';const _t=Symbol(_0x288c6c(0x180)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x41df4c{[_0x288c6c(0x12d)];[_0x288c6c(0xe9)];[_0x288c6c(0x18a)];static get[_0x288c6c(0x16c)](){return[_0x5da520,_0x1b3b22,_0x53c330];}static get[_0x288c6c(0x131)](){const _0x33d21a=_0x288c6c;return _0x33d21a(0x188);}static get[_0x288c6c(0x15c)](){return!0x0;}static get[_0x288c6c(0xec)](){return!0x0;}constructor(_0x31d39c){const _0x26e5f8=_0x288c6c;super(_0x31d39c),this[_0x26e5f8(0x12d)]=new Map(),this[_0x26e5f8(0xe9)]=new Map(),this[_0x26e5f8(0x18a)]=new Map(),this[_0x26e5f8(0x142)](_0x26e5f8(0x11b),new Set()),this[_0x26e5f8(0x142)](_0x26e5f8(0x189),new Map());const _0x19d728=this[_0x26e5f8(0x172)][_0x26e5f8(0x1a8)];_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0x19d),0x2),_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0x176),0x1f4),_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0x191),0x8c),_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0xe2),_0xc4610e),_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0x14e),_0x37b809),_0x19d728[_0x26e5f8(0x15d)](_0x26e5f8(0x192))||console[_0x26e5f8(0x165)](_0x26e5f8(0xf7));}[_0x288c6c(0x162)](){const _0x2d9287=_0x288c6c,_0x6262fa=this[_0x2d9287(0x172)][_0x2d9287(0x126)][_0x2d9287(0x15d)](_0x5da520);this[_0x2d9287(0x142)](_0x2d9287(0x1c3),null),this['on'](_0x2d9287(0x1a7),(_0x5b6d4a,_0x2d13bf)=>this[_0x2d9287(0xfb)](_0x2d13bf)),this['on'](_0x2d9287(0x140),(_0x30723e,_0x129d20)=>this[_0x2d9287(0xde)](_0x129d20)),this['on'](_0x2d9287(0x17c),(_0x10b7a4,_0x46b60)=>this[_0x2d9287(0x110)](_0x46b60)),this['on'](_0x2d9287(0x17c),(_0x223964,_0x226429)=>this[_0x2d9287(0x11f)](_0x226429),{'priority':_0x2d9287(0x18e)}),this['on'](_0x2d9287(0x146),(_0x1da0bd,_0x407e96)=>this[_0x2d9287(0xfc)](_0x407e96)),this['on'](_0x2d9287(0x146),(_0x2ceb74,_0x166531)=>this[_0x2d9287(0x11f)](_0x166531),{'priority':_0x2d9287(0x18e)}),this['on'](_0x2d9287(0x18d),(_0x334c71,_0x48dffa)=>this[_0x2d9287(0x114)](_0x48dffa)),this['on'](_0x2d9287(0x11e),(_0x565aa2,_0x94d5a7)=>this[_0x2d9287(0x177)](_0x94d5a7)),this['on'](_0x2d9287(0x11e),(_0x36e44d,_0x2ba3f2)=>this[_0x2d9287(0x11f)](_0x2ba3f2),{'priority':_0x2d9287(0x18e)}),this['on'](_0x2d9287(0x136),(_0x11f849,_0x4cacd4)=>this[_0x2d9287(0x1b0)](_0x4cacd4)),this['on'](_0x2d9287(0x1bc),(_0x30ca76,_0x319ab6)=>this[_0x2d9287(0x175)](_0x319ab6)),this['on'](_0x2d9287(0x1b3),(_0x429aa9,_0x4a1a39)=>this[_0x2d9287(0x19b)](_0x4a1a39)),this['on'](_0x2d9287(0x136),(_0x26a073,{threadId:_0x189965,isFromAdapter:_0x2cb940})=>{const _0x156036=_0x2d9287;if(_0x2cb940)return;const _0x1deaff=this[_0x156036(0x12a)](_0x189965),_0x527307=_0x1deaff&&this[_0x156036(0xe9)][_0x156036(0x15d)](_0x1deaff);_0x527307&&_0x527307[_0x156036(0x12c)][_0x156036(0x1b9)][_0x156036(0x16a)](-0x1);},{'priority':_0x2d9287(0x18e)}),this[_0x2d9287(0x15f)](_0x6262fa,_0x2d9287(0xfa),(_0x173964,_0x587edc,_0x92ce3b)=>{const _0x1f0c3a=_0x2d9287,_0x47d1cb=Array[_0x1f0c3a(0x169)](_0x92ce3b)[_0x1f0c3a(0xe3)](_0x5107b6=>this[_0x1f0c3a(0x18a)][_0x1f0c3a(0x15d)](_0x5107b6[_0x1f0c3a(0x1b5)]))[_0x1f0c3a(0x168)](Boolean)[0x0];this[_0x1f0c3a(0x1c3)]=_0x47d1cb?_0x47d1cb[_0x1f0c3a(0x15b)]:null;});}set[_0x288c6c(0x1a1)](_0x3c1cb0){const _0x539681=_0x288c6c;if(this[_0x539681(0x128)])throw new _0x472333(_0x539681(0x105));this[_0x539681(0x128)]=_0x3c1cb0;}get[_0x288c6c(0x1a1)](){const _0x503eb9=_0x288c6c;return this[_0x503eb9(0x128)];}[_0x288c6c(0x1a7)]({channelId:_0x176132=_t,threadId:_0x128a14=_0x1f4272(),comments:_0x4f3916=[],unlinkedAt:_0x26b34d=null,resolvedAt:_0x1cb2b4=null,resolvedBy:_0x3f4ee8=null,target:_0x378b7b=null,context:_0x3aab2f=null,attributes:_0x1fd186={},isResolvable:_0x407aa5=!0x0,isSubmitted:_0x375c71=!0x1,isFromAdapter:_0x280180=!0x1}={}){const _0x479c8e=_0x288c6c;return this[_0x479c8e(0x154)](Nt(_0x479c8e(0x1a7),_0x176132),{'channelId':_0x176132,'threadId':_0x128a14,'comments':_0x4f3916,'unlinkedAt':_0x26b34d,'resolvedAt':_0x1cb2b4,'resolvedBy':_0x3f4ee8,'target':_0x378b7b,'context':_0x3aab2f,'attributes':_0x1fd186,'isFromAdapter':_0x280180,'isResolvable':_0x407aa5,'isSubmitted':_0x375c71}),this[_0x479c8e(0x12a)](_0x128a14);}[_0x288c6c(0x120)]({channelId:_0x48e1fa=_t,threadId:_0x1af3e0=_0x1f4272(),target:_0x460e70,context:_0x2938bc=null,isResolvable:_0x4c566c=!0x0}){const _0x54da4f=_0x288c6c;if(this[_0x54da4f(0x11b)][_0x54da4f(0x178)](_0x48e1fa)||this[_0x54da4f(0x11b)][_0x54da4f(0x178)](void 0x0))return null;if(!_0x460e70)throw new _0x472333(_0x54da4f(0x1ab));const _0x2976db=this[_0x54da4f(0x1a7)]({'channelId':_0x48e1fa,'threadId':_0x1af3e0,'target':_0x460e70,'context':_0x2938bc,'isResolvable':_0x4c566c});if(!_0x2976db)return null;const _0xb81c07=this[_0x54da4f(0xe9)][_0x54da4f(0x15d)](_0x2976db),_0xd2de76=_0xb81c07[_0x54da4f(0x12c)][_0x54da4f(0x166)][_0x54da4f(0x12f)],_0x25b157=this[_0x54da4f(0x172)][_0x54da4f(0x126)][_0x54da4f(0x15d)](_0x5da520),_0x25de93=_0x25b157[_0x54da4f(0x14a)](_0xb81c07[_0x54da4f(0x12c)]);return _0x25b157[_0x54da4f(0x145)](_0x25de93),_0xd2de76[_0x54da4f(0xf3)](_0x54da4f(0xee),()=>_0xd2de76[_0x54da4f(0x16a)]()),_0x2976db;}[_0x288c6c(0x1a3)](_0x16a0b2){const _0x4a4746=_0x288c6c;if(_0x4a4746(0x12b)!=typeof _0x16a0b2)throw new _0x472333(_0x4a4746(0x127));return this[_0x4a4746(0x12d)][_0x4a4746(0x178)](_0x16a0b2);}[_0x288c6c(0x11e)]({channelId:_0xff3bb6=_t,threadId:_0x242f5a,context:_0x1dc31a,unlinkedAt:_0x5dfba9,attributes:_0x248669,isFromAdapter:_0x2b99f9=!0x1}){const _0x2d9c61=_0x288c6c;return this[_0x2d9c61(0x154)](Nt(_0x2d9c61(0x11e),_0xff3bb6),{'channelId':_0xff3bb6,'threadId':_0x242f5a,'context':_0x1dc31a,'unlinkedAt':_0x5dfba9,'attributes':_0x248669,'isFromAdapter':_0x2b99f9}),this[_0x2d9c61(0x12a)](_0x242f5a);}[_0x288c6c(0x12a)](_0x2f2f3e){const _0x266717=_0x288c6c;if(_0x266717(0x12b)!=typeof _0x2f2f3e)throw new _0x472333(_0x266717(0x127));return this[_0x266717(0x12d)][_0x266717(0x15d)](_0x2f2f3e);}[_0x288c6c(0x13a)]({channelId:_0x4527bf,threadId:_0x22e3c6}={}){const _0x3c01a1=_0x288c6c,_0x5b7c03=this[_0x3c01a1(0x12a)](_0x22e3c6);if(_0x5b7c03)return Promise[_0x3c01a1(0x14d)](_0x5b7c03);if(!this[_0x3c01a1(0x1a1)])return Promise[_0x3c01a1(0x14d)](void 0x0);if(_0x3c01a1(0xea)!=typeof this[_0x3c01a1(0x1a1)][_0x3c01a1(0x12a)])throw new _0x472333(_0x3c01a1(0xe7),this[_0x3c01a1(0x172)]);return this[_0x3c01a1(0x1a1)][_0x3c01a1(0x12a)]({'channelId':_0x4527bf,'threadId':_0x22e3c6})[_0x3c01a1(0x19c)](_0x53a337=>this[_0x3c01a1(0x1a3)](_0x22e3c6)?this[_0x3c01a1(0x12a)](_0x22e3c6):_0x53a337?this[_0x3c01a1(0x1a7)](Object[_0x3c01a1(0x1b6)]({'isFromAdapter':!0x0,'channelId':_0x4527bf},_0x53a337)):void 0x0)[_0x3c01a1(0x111)](_0x1c6c85=>{const _0x80e82=_0x3c01a1;throw console[_0x80e82(0x104)](_0x1c6c85),new _0x472333(_0x80e82(0xf8),this[_0x80e82(0x172)]);});}[_0x288c6c(0x12e)]({channelId:_0x10cc55,skipNotAttached:_0x57d438=!0x1,skipEmpty:_0x2a9b69=!0x1,toJSON:_0x3c9827=!0x1}={}){const _0xc9fee6=_0x288c6c,_0x4e0eb5=[];for(const _0x111230 of this[_0xc9fee6(0x12d)][_0xc9fee6(0x16d)]())_0x10cc55&&_0x111230[_0xc9fee6(0x139)]!==_0x10cc55||_0x57d438&&!_0x111230[_0xc9fee6(0x112)]||_0x2a9b69&&0x0===_0x111230[_0xc9fee6(0x1bf)]||_0x4e0eb5[_0xc9fee6(0x16b)](_0x111230);return _0x3c9827?_0x4e0eb5[_0xc9fee6(0xe3)](_0x2c4cba=>_0x2c4cba[_0xc9fee6(0x1be)]()):_0x4e0eb5;}[_0x288c6c(0x124)](_0x168d9f){const _0x2cd29e=_0x288c6c,_0x4a4a88=this[_0x2cd29e(0xe9)][_0x2cd29e(0x15d)](_0x168d9f);if(!_0x4a4a88)return null;return this[_0x2cd29e(0x172)][_0x2cd29e(0x126)][_0x2cd29e(0x15d)](_0x5da520)[_0x2cd29e(0x14a)](_0x4a4a88[_0x2cd29e(0x12c)])||null;}[_0x288c6c(0xed)](_0x36ef2b){const _0x2eb8b1=_0x288c6c,_0x29d0d0=this[_0x2eb8b1(0x18a)][_0x2eb8b1(0x15d)](_0x36ef2b[_0x2eb8b1(0x1b5)]);return _0x29d0d0?_0x29d0d0[_0x2eb8b1(0x15b)]:null;}[_0x288c6c(0x19a)](_0x33a088){const _0x59c7e4=_0x288c6c,_0x146a47=this[_0x59c7e4(0x172)][_0x59c7e4(0x126)][_0x59c7e4(0x15d)](_0x5da520);if(!_0x33a088)return void(this[_0x59c7e4(0x1c3)]&&_0x146a47[_0x59c7e4(0x1c0)]());const _0x3353c1=this[_0x59c7e4(0x12a)](_0x33a088);if(!_0x3353c1)throw new _0x472333(_0x59c7e4(0x157),null,{'threadId':_0x33a088});if(!this[_0x59c7e4(0xe9)][_0x59c7e4(0x178)](_0x3353c1))throw new _0x472333(_0x59c7e4(0x158),null,{'threadId':_0x33a088});const _0x3de4d1=_0x146a47[_0x59c7e4(0x14a)](this[_0x59c7e4(0xe9)][_0x59c7e4(0x15d)](_0x3353c1)[_0x59c7e4(0x12c)]);_0x146a47[_0x59c7e4(0x145)](_0x3de4d1);}[_0x288c6c(0x151)](_0xd603a6,_0x2060c0){const _0x2c21c4=_0x288c6c;_0xd603a6?this[_0x2c21c4(0x11b)][_0x2c21c4(0xf0)](_0x2060c0):this[_0x2c21c4(0x11b)][_0x2c21c4(0x17b)](_0x2060c0),this[_0x2c21c4(0x154)](_0x2c21c4(0x1bb),_0x2c21c4(0x11b),this[_0x2c21c4(0x11b)],this[_0x2c21c4(0x11b)]);}[_0x288c6c(0xe6)](_0x2328fd){const _0x96746=_0x288c6c;return this[_0x96746(0x11b)][_0x96746(0x178)](_0x2328fd)||this[_0x96746(0x11b)][_0x96746(0x178)](void 0x0);}[_0x288c6c(0x141)](_0x859c16,_0x222431){return new _0x1d2941(_0x859c16,_0x222431);}[_0x288c6c(0xf6)](_0x4e525a,_0x17cef1=_t){const _0x314914=_0x288c6c;this[_0x314914(0x189)][_0x314914(0x142)](_0x17cef1,_0x4e525a),this[_0x314914(0x154)](_0x314914(0x182),_0x314914(0x189),this[_0x314914(0x189)],this[_0x314914(0x189)]);}[_0x288c6c(0x179)](_0x279b2e=_t){const _0x480ee4=_0x288c6c;return this[_0x480ee4(0x189)][_0x480ee4(0x178)](_0x279b2e)?this[_0x480ee4(0x189)][_0x480ee4(0x15d)](_0x279b2e):bt;}[_0x288c6c(0xfb)]({channelId:_0x1156b,threadId:_0x220989,comments:_0x4b49fa,unlinkedAt:_0x480b6e,resolvedAt:_0x4b0887,resolvedBy:_0xef2877,target:_0x247f4b,context:_0x5aab89,attributes:_0x2a1e7f,isFromAdapter:_0x49c927,isResolvable:_0x2f7842,isSubmitted:_0x20796d}){const _0x59f35b=_0x288c6c;if(_0x59f35b(0x12b)!=typeof _0x220989)throw new _0x472333(_0x59f35b(0x127),null,{'threadId':_0x220989});if(this[_0x59f35b(0x1a3)](_0x220989))throw new _0x472333(_0x59f35b(0x193),null,{'threadId':_0x220989});const _0x2302cd=new CommentThread(this,{'channelId':_0x1156b,'id':_0x220989,'context':_0x5aab89,'attributes':_0x2a1e7f,'unlinkedAt':_0x480b6e,'resolvedAt':_0x4b0887,'resolvedBy':_0xef2877?this[_0x59f35b(0x172)][_0x59f35b(0x126)][_0x59f35b(0x15d)](_0x53c330)[_0x59f35b(0x197)](_0xef2877):null,'isResolvable':_0x2f7842,'isSubmitted':_0x20796d||_0x49c927});this[_0x59f35b(0x12d)][_0x59f35b(0x142)](_0x220989,_0x2302cd);for(const _0xbd0fe2 of _0x4b49fa)_0x2302cd[_0x59f35b(0x13b)](this[_0x59f35b(0x10e)]({'threadId':_0x220989,..._0xbd0fe2}));return _0x247f4b&&_0x2302cd[_0x59f35b(0x194)](_0x247f4b),_0x49c927||!_0x2302cd[_0x59f35b(0x1bf)]?Promise[_0x59f35b(0x14d)]():this[_0x59f35b(0xde)]({'channelId':_0x1156b,'threadId':_0x220989});}[_0x288c6c(0xde)]({channelId:_0x41068e,threadId:_0x264d04}){const _0x115833=_0x288c6c;if(!this[_0x115833(0x1a3)](_0x264d04))throw new _0x472333(_0x115833(0x185),this);const _0x249d2d=this[_0x115833(0x12a)](_0x264d04);if(_0x249d2d[_0x115833(0x1a2)]=!0x0,!this[_0x115833(0x1a1)]||_0x115833(0xea)!=typeof this[_0x115833(0x1a1)][_0x115833(0x1a7)])return Promise[_0x115833(0x14d)]();const {id:_0x56a65c,comments:_0x594357,resolvedAt:_0x2e3556,resolvedBy:_0x33de56,context:_0x9bf4f,attributes:_0x3db223}=_0x249d2d,_0x5798a7=this[_0x115833(0x172)][_0x115833(0x126)][_0x115833(0x15d)](_0x115833(0x107)),_0x17ae42=_0x5798a7[_0x115833(0xf0)](_0x3012e(this[_0x115833(0x172)][_0x115833(0x108)],_0x115833(0x1af)));return this[_0x115833(0x1a1)][_0x115833(0x1a7)]({'channelId':_0x41068e,'threadId':_0x56a65c,'comments':_0x594357[_0x115833(0xe3)](_0x323dc8=>_0x323dc8[_0x115833(0x1be)]()),'resolvedAt':_0x2e3556,'resolvedBy':_0x33de56?_0x33de56['id']:_0x33de56,'context':_0x9bf4f,'attributes':_0x3db223})[_0x115833(0x19c)](({comments:_0x2bfec0})=>{const _0x4ae176=_0x115833;_0x5798a7[_0x4ae176(0x1c2)](_0x17ae42);for(const _0x48407f of _0x2bfec0)this[_0x4ae176(0x175)]({'channelId':_0x41068e,'threadId':_0x264d04,'commentId':_0x48407f[_0x4ae176(0x103)],'createdAt':_0x48407f[_0x4ae176(0x119)],'isFromAdapter':!0x0});})[_0x115833(0x111)](_0x4c14b2=>{const _0x2c4746=_0x115833;throw console[_0x2c4746(0x104)](_0x4c14b2),new _0x472333(_0x2c4746(0xdd),this);});}[_0x288c6c(0x144)]({threadId:_0x25826c,target:_0x41f9bf}){const _0x2107ca=_0x288c6c,_0x5c62ad=this[_0x2107ca(0x12a)](_0x25826c);if(!_0x5c62ad)throw new _0x472333(_0x2107ca(0x1ac),this);const _0x5ec221=this[_0x2107ca(0x172)][_0x2107ca(0x126)][_0x2107ca(0x15d)](_0x2107ca(0x107)),_0x2e4326=this[_0x2107ca(0x172)][_0x2107ca(0x126)][_0x2107ca(0x15d)](_0x5da520),_0x40d64c=this[_0x2107ca(0x18b)](_0x5c62ad),_0x32e72a=new _0x1d2941(_0x5c62ad,_0x40d64c);let _0x4da1d7=null;_0x40d64c['on'](_0x2107ca(0x132),(_0x1fd4e5,_0x35231a,_0xa06961)=>{const _0x41102b=_0x2107ca;_0xa06961?_0x4da1d7=_0x5ec221[_0x41102b(0xf0)](_0x3012e(this[_0x41102b(0x172)][_0x41102b(0x108)],_0x41102b(0x1af))):_0x4da1d7&&(_0x5ec221[_0x41102b(0x1c2)](_0x4da1d7),_0x4da1d7=null);}),this[_0x2107ca(0xe9)][_0x2107ca(0x142)](_0x5c62ad,_0x32e72a),this[_0x2107ca(0x18a)][_0x2107ca(0x142)](_0x40d64c,_0x32e72a);const _0x275c0a=new _0x4827ce(this[_0x2107ca(0x172)][_0x2107ca(0x108)],_0x40d64c);_0x275c0a[_0x2107ca(0x1ae)](_0x2107ca(0x1bf))['to'](_0x40d64c),_0x275c0a[_0x2107ca(0x1ae)](_0x2107ca(0x115))['to'](_0x40d64c,_0x2107ca(0x115),_0x40d64c,_0x2107ca(0x1bf),(_0x18ae82,_0x37965f)=>_0x18ae82||!_0x37965f),_0x275c0a[_0x2107ca(0x1ae)](_0x2107ca(0x161))['to'](_0x40d64c),_0x275c0a[_0x2107ca(0x137)]=_0x2107ca(0x160);const _0x116623=new _0xaa633a({'view':_0x275c0a,'target':_0x41f9bf,'type':_0x2107ca(0x160),'isVisible':!_0x5c62ad[_0x2107ca(0x163)]&&!!(_0x2107ca(0xea)==typeof _0x41f9bf?_0x41f9bf():_0x41f9bf)});return _0x40d64c['on'](_0x2107ca(0x1a0),()=>{const _0x4de535=_0x2107ca;_0x116623[_0x4de535(0x154)](_0x4de535(0x1a0));}),this[_0x2107ca(0x10b)](_0x40d64c,_0x116623),_0x2e4326[_0x2107ca(0xf0)](_0x116623),_0x116623;}[_0x288c6c(0x10b)](_0x5b8df4,_0x6f213c){const _0x534047=_0x288c6c;this[_0x534047(0x15f)](_0x5b8df4,_0x534047(0xee),(_0x58218a,_0x3c6f12)=>{const _0x526c9b=_0x534047,_0x239aec=_0x3c6f12['ui'][_0x526c9b(0x12c)][_0x526c9b(0xfe)][_0x526c9b(0x10c)];_0x6f213c[_0x526c9b(0x184)][_0x526c9b(0xf0)](_0x239aec),this[_0x526c9b(0x172)]instanceof _0x3b1a9e&&this[_0x526c9b(0x172)]['ui'][_0x526c9b(0xff)][_0x526c9b(0xf0)](_0x239aec);},{'priority':_0x534047(0x117)}),this[_0x534047(0x15f)](_0x5b8df4,_0x534047(0x13c),(_0x133f95,_0x28c285)=>{const _0x58aee9=_0x534047,_0x30c493=_0x28c285['ui'][_0x58aee9(0x12c)][_0x58aee9(0xfe)][_0x58aee9(0x10c)];_0x6f213c[_0x58aee9(0x184)][_0x58aee9(0x178)](_0x30c493)&&_0x6f213c[_0x58aee9(0x184)][_0x58aee9(0x1c2)](_0x30c493),this[_0x58aee9(0x172)]instanceof _0x3b1a9e&&this[_0x58aee9(0x172)]['ui'][_0x58aee9(0xff)][_0x58aee9(0x1c2)](_0x30c493);});}[_0x288c6c(0xeb)](_0x3c1d3c){const _0x273ee0=_0x288c6c;this[_0x273ee0(0xe0)](_0x3c1d3c,_0x273ee0(0xee)),this[_0x273ee0(0xe0)](_0x3c1d3c,_0x273ee0(0x13c));}[_0x288c6c(0x18b)](_0x51a396){const _0x5abb5c=_0x288c6c,_0x16ddf8=this[_0x5abb5c(0x172)][_0x5abb5c(0x126)][_0x5abb5c(0x15d)](_0x53c330),{config:_0x11352c,locale:_0x2acc8d}=this[_0x5abb5c(0x172)],_0x234d07=_0x4258ec(_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x108)),_0x2acc8d);return new(0x0,(_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x100)))[(_0x5abb5c(0x186))])(_0x2acc8d,_0x51a396,_0x16ddf8['me'],{'editorConfig':{..._0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x192)),'licenseKey':this[_0x5abb5c(0x172)][_0x5abb5c(0x1a8)][_0x5abb5c(0x15d)](_0x5abb5c(0x174))},'copyMarkers':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x16e)),'maxCommentsWhenCollapsed':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x19d)),'maxThreadTotalWeight':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x176)),'maxCommentCharsWhenCollapsed':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x191)),'formatDateTime':_0x234d07,'CommentView':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x100))[_0x5abb5c(0x14b)]});}[_0x288c6c(0x110)]({threadId:_0x4a2267,channelId:_0x412c9e,resolvedAt:_0x41b2d8,resolvedBy:_0xb48a40,isFromAdapter:_0x2944e3}){const _0x58aa6f=_0x288c6c;if(!this[_0x58aa6f(0x1a3)](_0x4a2267))throw new _0x472333(_0x58aa6f(0x185),null,{'threadId':_0x4a2267});const _0x33d285=this[_0x58aa6f(0x12a)](_0x4a2267);if(_0x33d285[_0x58aa6f(0x167)])throw new _0x472333(_0x58aa6f(0x1b1),null,{'threadId':_0x4a2267});const _0x2bbbd6=this[_0x58aa6f(0x172)][_0x58aa6f(0x126)][_0x58aa6f(0x15d)](_0x53c330);if(_0x33d285[_0x58aa6f(0x183)]=_0x2bbbd6[_0x58aa6f(0x197)](_0xb48a40),_0x33d285[_0x58aa6f(0x123)]=_0x41b2d8,_0x2944e3||!this[_0x58aa6f(0x1a1)]||_0x58aa6f(0xea)!=typeof this[_0x58aa6f(0x1a1)][_0x58aa6f(0x17c)])return Promise[_0x58aa6f(0x14d)]();const _0x6334a=this[_0x58aa6f(0x172)][_0x58aa6f(0x126)][_0x58aa6f(0x15d)](_0x58aa6f(0x107)),_0x253e1f=_0x6334a[_0x58aa6f(0xf0)](_0x3012e(this[_0x58aa6f(0x172)][_0x58aa6f(0x108)],_0x58aa6f(0x1af)));return this[_0x58aa6f(0x1a1)][_0x58aa6f(0x17c)]({'channelId':_0x412c9e,'threadId':_0x4a2267})[_0x58aa6f(0x19c)](({resolvedAt:_0x39c887,resolvedBy:_0x5af557})=>{const _0x267b93=_0x58aa6f;_0x6334a[_0x267b93(0x1c2)](_0x253e1f),_0x33d285[_0x267b93(0x183)]['id']!==_0x5af557&&(_0x33d285[_0x267b93(0x183)]=_0x2bbbd6[_0x267b93(0x197)](_0x5af557)),_0x33d285[_0x267b93(0x123)]=_0x39c887;})[_0x58aa6f(0x111)](_0x518612=>{const _0x4be8c0=_0x58aa6f;throw console[_0x4be8c0(0x104)](_0x518612),new _0x472333(_0x4be8c0(0x106),this);});}[_0x288c6c(0xfc)]({threadId:_0x1952a2,channelId:_0x33df78,isFromAdapter:_0x185833}){const _0x329681=_0x288c6c;if(!this[_0x329681(0x1a3)](_0x1952a2))throw new _0x472333(_0x329681(0x185),null,{'threadId':_0x1952a2});const _0x3f609c=this[_0x329681(0x12a)](_0x1952a2);if(!_0x3f609c[_0x329681(0x167)])throw new _0x472333(_0x329681(0x1a5),null,{'threadId':_0x1952a2});if(_0x3f609c[_0x329681(0x183)]=null,_0x3f609c[_0x329681(0x123)]=null,_0x185833||!this[_0x329681(0x1a1)]||_0x329681(0xea)!=typeof this[_0x329681(0x1a1)][_0x329681(0x146)])return Promise[_0x329681(0x14d)]();const _0x1110ae=this[_0x329681(0x172)][_0x329681(0x126)][_0x329681(0x15d)](_0x329681(0x107)),_0x5f49a6=_0x1110ae[_0x329681(0xf0)](_0x3012e(this[_0x329681(0x172)][_0x329681(0x108)],_0x329681(0x1af)));return this[_0x329681(0x1a1)][_0x329681(0x146)]({'channelId':_0x33df78,'threadId':_0x1952a2})[_0x329681(0x19c)](()=>_0x1110ae[_0x329681(0x1c2)](_0x5f49a6))[_0x329681(0x111)](_0x372e44=>{const _0x5dce16=_0x329681;throw console[_0x5dce16(0x104)](_0x372e44),new _0x472333(_0x5dce16(0x198),this);});}[_0x288c6c(0x114)]({threadId:_0xdf49a0,isFromAdapter:_0x4e1aea}){const _0x38b5e7=_0x288c6c,_0x2dfc82=this[_0x38b5e7(0x12a)](_0xdf49a0);if(!_0x2dfc82)throw new _0x472333(_0x38b5e7(0x173),this);if(this[_0x38b5e7(0x1bd)](_0xdf49a0),this[_0x38b5e7(0x12d)][_0x38b5e7(0x17b)](_0xdf49a0),!_0x2dfc82[_0x38b5e7(0xdf)]||_0x4e1aea||!this[_0x38b5e7(0x1a1)]||_0x38b5e7(0xea)!=typeof this[_0x38b5e7(0x1a1)][_0x38b5e7(0x18d)])return Promise[_0x38b5e7(0x14d)]();const _0x658677=this[_0x38b5e7(0x172)][_0x38b5e7(0x126)][_0x38b5e7(0x15d)](_0x38b5e7(0x107)),{channelId:_0x38e84e}=_0x2dfc82,_0x3d1f9f=_0x658677[_0x38b5e7(0xf0)](_0x3012e(this[_0x38b5e7(0x172)][_0x38b5e7(0x108)],_0x38b5e7(0x1af)));return this[_0x38b5e7(0x1a1)][_0x38b5e7(0x18d)]({'channelId':_0x38e84e,'threadId':_0xdf49a0})[_0x38b5e7(0x19c)](()=>_0x658677[_0x38b5e7(0x1c2)](_0x3d1f9f))[_0x38b5e7(0x111)](_0x2a8c9a=>{const _0x455f77=_0x38b5e7;throw console[_0x455f77(0x104)](_0x2a8c9a),new _0x472333(_0x455f77(0x18f),this);});}[_0x288c6c(0x177)]({threadId:_0x404ed1,unlinkedAt:_0x5d710f,context:_0x6b309c,attributes:_0x57c428,isFromAdapter:_0x3911ae}){const _0x13a766=_0x288c6c;if(_0x13a766(0x12b)!=typeof _0x404ed1)throw new _0x472333(_0x13a766(0x127),null,{'threadId':_0x404ed1});if(!this[_0x13a766(0x1a3)](_0x404ed1))throw new _0x472333(_0x13a766(0x185),null,{'threadId':_0x404ed1});const _0x2ceefb=this[_0x13a766(0x12a)](_0x404ed1);let _0x316b1d=!0x1;if(void 0x0!==_0x6b309c&&_0x2ceefb[_0x13a766(0x172)]!==_0x6b309c&&(_0x2ceefb[_0x13a766(0x172)]=_0x6b309c,_0x316b1d=!0x0),void 0x0!==_0x5d710f&&_0x2ceefb[_0x13a766(0x195)]!==_0x5d710f&&(_0x2ceefb[_0x13a766(0x195)]=_0x5d710f,_0x316b1d=!0x0),_0x57c428&&!_0x26df7c(_0x57c428,_0x2ceefb[_0x13a766(0xfd)])&&(_0x2ceefb[_0x13a766(0xfd)]=_0x57c428,_0x316b1d=!0x0),!_0x316b1d)return Promise[_0x13a766(0x14d)]();if(!_0x2ceefb[_0x13a766(0xdf)]||_0x3911ae||!this[_0x13a766(0x1a1)]||_0x13a766(0xea)!=typeof this[_0x13a766(0x1a1)][_0x13a766(0x11e)])return Promise[_0x13a766(0x14d)]();const _0x126b9b=this[_0x13a766(0x172)][_0x13a766(0x126)][_0x13a766(0x15d)](_0x13a766(0x107)),{channelId:_0x552605}=_0x2ceefb,_0x3c19ae=_0x126b9b[_0x13a766(0xf0)](_0x3012e(this[_0x13a766(0x172)][_0x13a766(0x108)],_0x13a766(0x1af)));return this[_0x13a766(0x1a1)][_0x13a766(0x11e)]({'channelId':_0x552605,'threadId':_0x404ed1,'context':_0x6b309c,'unlinkedAt':_0x5d710f,'attributes':_0x57c428})[_0x13a766(0x19c)](()=>_0x126b9b[_0x13a766(0x1c2)](_0x3c19ae))[_0x13a766(0x111)](_0x4596b0=>{const _0x43824e=_0x13a766;throw console[_0x43824e(0x104)](_0x4596b0),new _0x472333(_0x43824e(0x116),this);});}[_0x288c6c(0x1bd)](_0x4ebe6b){const _0x54deab=_0x288c6c,_0x1ec3a1=this[_0x54deab(0x172)][_0x54deab(0x126)][_0x54deab(0x15d)](_0x5da520),_0x3fa0bd=this[_0x54deab(0x12a)](_0x4ebe6b);if(_0x3fa0bd[_0x54deab(0x1ad)]=!0x1,this[_0x54deab(0xe9)][_0x54deab(0x178)](_0x3fa0bd)){const _0x374b98=this[_0x54deab(0xe9)][_0x54deab(0x15d)](_0x3fa0bd),_0x43a556=_0x374b98[_0x54deab(0x12c)],_0x486d1f=_0x1ec3a1[_0x54deab(0x14a)](_0x43a556);this[_0x54deab(0xe9)][_0x54deab(0x17b)](_0x3fa0bd),this[_0x54deab(0x18a)][_0x54deab(0x17b)](_0x43a556),_0x486d1f&&_0x1ec3a1[_0x54deab(0x1c2)](_0x486d1f),_0x374b98[_0x54deab(0x199)](),_0x43a556[_0x54deab(0x199)]()[_0x54deab(0x19c)](()=>{const _0x2c68e0=_0x54deab;this[_0x2c68e0(0xeb)](_0x43a556);});}}[_0x288c6c(0x11f)]({threadId:_0x5b65ec,resolvedAt:_0x3cf87c,unlinkedAt:_0x2ccb9e}){const _0x50d369=_0x288c6c,_0x350e73=!!_0x3cf87c,_0x5a13c2=this[_0x50d369(0x172)][_0x50d369(0x126)][_0x50d369(0x15d)](_0x5da520),_0x3d8599=this[_0x50d369(0x12a)](_0x5b65ec);if(this[_0x50d369(0xe9)][_0x50d369(0x178)](_0x3d8599)){const _0x3f6e3a=this[_0x50d369(0xe9)][_0x50d369(0x15d)](_0x3d8599)[_0x50d369(0x12c)],_0x394ef6=_0x5a13c2[_0x50d369(0x14a)](_0x3f6e3a);_0x394ef6&&(_0x350e73&&_0x5a13c2[_0x50d369(0xf5)](_0x394ef6),_0x2ccb9e?_0x394ef6[_0x50d369(0x196)]=!0x1:_0x394ef6[_0x50d369(0x10f)]());}}[_0x288c6c(0x13d)](_0x1e0982){const _0x6df501=_0x288c6c,_0x17e0ad=this[_0x6df501(0x172)][_0x6df501(0x126)][_0x6df501(0x15d)](_0x53c330),_0x209c4d=_0x3b7629(_0x6df501(0xe1)+_0x1e0982),_0x2fc438=_0x17e0ad[_0x6df501(0x197)](_0x209c4d);return _0x2fc438||_0x17e0ad[_0x6df501(0x150)]({'id':_0x209c4d,'name':_0x1e0982});}[_0x288c6c(0x10e)]({threadId:_0x99c53e,commentId:_0x161c81=_0x1f4272(),content:_0x28d304,authorId:_0x4a28b9,createdAt:_0xbbcf3f,attributes:_0x39913d}){const _0x58f362=_0x288c6c;if(_0x58f362(0x12b)!=typeof _0x161c81)throw new _0x472333(_0x58f362(0x156));if(_0x58f362(0x12b)!=typeof _0x4a28b9)throw new _0x472333(_0x58f362(0x133));if(_0x58f362(0x12b)!=typeof _0x28d304||!_0x28d304[_0x58f362(0x1c4)]())throw new _0x472333(_0x58f362(0x190));const _0x247422=this[_0x58f362(0x172)][_0x58f362(0x126)][_0x58f362(0x15d)](_0x53c330)[_0x58f362(0x197)](_0x4a28b9);if(!_0x247422)throw new _0x472333(_0x58f362(0x17a),null,{'authorId':_0x4a28b9});let _0x4a0076=null,_0x3ebf29=_0xbbcf3f;return _0x39913d?.[_0x58f362(0x1aa)]&&(_0x4a0076=this[_0x58f362(0x13d)](_0x39913d[_0x58f362(0x1aa)][_0x58f362(0x130)]),_0x3ebf29=new Date(_0x39913d[_0x58f362(0x1aa)][_0x58f362(0x119)])),new Comment(this,{'threadId':_0x99c53e,'id':_0x161c81,'author':_0x4a0076||_0x247422,'creator':_0x247422,'content':_0x28d304,'createdAt':_0xbbcf3f,'authoredAt':_0x3ebf29,'attributes':_0x39913d});}[_0x288c6c(0x1b0)](_0x3ec5d0){const _0x3ac5db=_0x288c6c;let {threadId:_0x48f743,content:_0x34ed8b,attributes:_0x547eb1,isFromAdapter:_0x296cfb}=_0x3ec5d0;const _0x4470e7=this[_0x3ac5db(0x12a)](_0x3ec5d0[_0x3ac5db(0x152)]);if(!_0x4470e7)throw new _0x472333(_0x3ac5db(0x135),this);const _0x6e7e9a=this[_0x3ac5db(0x10e)](_0x3ec5d0),{id:_0xa320ee}=_0x6e7e9a;if(_0x4470e7[_0x3ac5db(0x13b)](_0x6e7e9a),_0x296cfb||!this[_0x3ac5db(0x1a1)]||_0x3ac5db(0xea)!=typeof this[_0x3ac5db(0x1a1)][_0x3ac5db(0x136)]||!_0x4470e7[_0x3ac5db(0xdf)])return Promise[_0x3ac5db(0x14d)]();const _0xac97ce=this[_0x3ac5db(0x172)][_0x3ac5db(0x126)][_0x3ac5db(0x15d)](_0x3ac5db(0x107)),{channelId:_0x5a96f0}=_0x4470e7,_0x356c1c=_0xac97ce[_0x3ac5db(0xf0)](_0x3012e(this[_0x3ac5db(0x172)][_0x3ac5db(0x108)],_0x3ac5db(0x1af)));return _0x547eb1||(_0x547eb1={}),this[_0x3ac5db(0x1a1)][_0x3ac5db(0x136)]({'channelId':_0x5a96f0,'threadId':_0x48f743,'commentId':_0xa320ee,'content':_0x34ed8b,'attributes':_0x547eb1})[_0x3ac5db(0x19c)](_0x421f3b=>{const _0x5dfd82=_0x3ac5db;_0xac97ce[_0x5dfd82(0x1c2)](_0x356c1c),_0x421f3b&&this[_0x5dfd82(0x175)]({'channelId':_0x5a96f0,'threadId':_0x48f743,'commentId':_0xa320ee,'createdAt':_0x421f3b[_0x5dfd82(0x119)],'isFromAdapter':!0x0});})[_0x3ac5db(0x111)](_0x22d799=>{const _0x46ea84=_0x3ac5db;throw console[_0x46ea84(0x104)](_0x22d799),new _0x472333(_0x46ea84(0x1a4),this);});}[_0x288c6c(0x175)]({threadId:_0x6841a6,commentId:_0x2614da,content:_0x242fac,createdAt:_0x5dfe72,attributes:_0x526f3d,isFromAdapter:_0x139fa1}){const _0x33c68a=_0x288c6c;if(void 0x0!==_0x242fac&&(_0x33c68a(0x12b)!=typeof _0x242fac||!_0x242fac[_0x33c68a(0x1c4)]()[_0x33c68a(0x1bf)]))throw new _0x472333(_0x33c68a(0x121));const _0x1b91fb=this[_0x33c68a(0x12a)](_0x6841a6),_0x8eae86=_0x1b91fb[_0x33c68a(0x164)](_0x2614da);if(!_0x8eae86)throw new _0x472333(_0x33c68a(0x170),this);let _0x4df5c6=!0x1;if(_0x242fac&&_0x242fac!==_0x8eae86[_0x33c68a(0xe4)]&&(_0x8eae86[_0x33c68a(0x10a)]||_0x139fa1)&&(_0x8eae86[_0x33c68a(0xe4)]=_0x242fac,_0x4df5c6=!0x0),_0x5dfe72&&_0x5dfe72!==_0x8eae86[_0x33c68a(0x119)]&&(_0x8eae86[_0x33c68a(0x119)]=_0x5dfe72,_0x8eae86[_0x33c68a(0xfd)]&&_0x8eae86[_0x33c68a(0xfd)][_0x33c68a(0x1aa)]||(_0x8eae86[_0x33c68a(0xe8)]=_0x5dfe72),_0x4df5c6=!0x0),_0x526f3d&&!_0x26df7c(_0x526f3d,_0x8eae86[_0x33c68a(0xfd)])&&(_0x8eae86[_0x33c68a(0xfd)]=_0x526f3d,_0x4df5c6=!0x0),!_0x4df5c6)return Promise[_0x33c68a(0x14d)]();if(_0x1b91fb[_0x33c68a(0x154)](_0x33c68a(0x155)),_0x139fa1||!this[_0x33c68a(0x1a1)]||_0x33c68a(0xea)!=typeof this[_0x33c68a(0x1a1)][_0x33c68a(0x1bc)])return Promise[_0x33c68a(0x14d)]();const _0x1d99e3=this[_0x33c68a(0x172)][_0x33c68a(0x126)][_0x33c68a(0x15d)](_0x33c68a(0x107)),{channelId:_0x4a4b38}=this[_0x33c68a(0x12a)](_0x8eae86[_0x33c68a(0x152)]),_0x12f428=_0x1d99e3[_0x33c68a(0xf0)](_0x3012e(this[_0x33c68a(0x172)][_0x33c68a(0x108)],_0x33c68a(0x1af)));return this[_0x33c68a(0x1a1)][_0x33c68a(0x1bc)]({'channelId':_0x4a4b38,'threadId':_0x6841a6,'commentId':_0x2614da,'content':_0x242fac,'attributes':_0x526f3d})[_0x33c68a(0x19c)](()=>_0x1d99e3[_0x33c68a(0x1c2)](_0x12f428))[_0x33c68a(0x111)](_0x5282e8=>{const _0x3997a7=_0x33c68a;throw console[_0x3997a7(0x104)](_0x5282e8),new _0x472333(_0x3997a7(0x14f),this);});}[_0x288c6c(0x19b)]({threadId:_0x163395,commentId:_0x30f703,isFromAdapter:_0x130f7a}){const _0x1e3fbc=_0x288c6c,_0x3c48a7=this[_0x1e3fbc(0x12a)](_0x163395),_0x46135c=_0x3c48a7[_0x1e3fbc(0x164)](_0x30f703);if(!_0x46135c)throw new _0x472333(_0x1e3fbc(0x1c1),this);if(_0x3c48a7[_0x1e3fbc(0x143)](_0x46135c),_0x130f7a||!this[_0x1e3fbc(0x1a1)]||_0x1e3fbc(0xea)!=typeof this[_0x1e3fbc(0x1a1)][_0x1e3fbc(0x1b3)])return Promise[_0x1e3fbc(0x14d)]();const _0xcd4a47=this[_0x1e3fbc(0x172)][_0x1e3fbc(0x126)][_0x1e3fbc(0x15d)](_0x1e3fbc(0x107)),{channelId:_0x2f4de9}=_0x3c48a7,_0x288be8=_0xcd4a47[_0x1e3fbc(0xf0)](_0x3012e(this[_0x1e3fbc(0x172)][_0x1e3fbc(0x108)],_0x1e3fbc(0x1af)));return this[_0x1e3fbc(0x1a1)][_0x1e3fbc(0x1b3)]({'channelId':_0x2f4de9,'threadId':_0x163395,'commentId':_0x30f703})[_0x1e3fbc(0x19c)](()=>_0xcd4a47[_0x1e3fbc(0x1c2)](_0x288be8))[_0x1e3fbc(0x111)](_0x331295=>{const _0x424580=_0x1e3fbc;throw console[_0x424580(0x104)](_0x331295),new _0x472333(_0x424580(0x13f),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x34f716=_0x38a4;(function(_0x26dcf9,_0x3a1438){const _0xcee6c4=_0x38a4,_0xbd477b=_0x26dcf9();while(!![]){try{const _0x46790f=parseInt(_0xcee6c4(0x265))/0x1+-parseInt(_0xcee6c4(0x1e2))/0x2+parseInt(_0xcee6c4(0x214))/0x3*(parseInt(_0xcee6c4(0x22d))/0x4)+parseInt(_0xcee6c4(0x1c8))/0x5+parseInt(_0xcee6c4(0x1a1))/0x6*(-parseInt(_0xcee6c4(0x257))/0x7)+-parseInt(_0xcee6c4(0x1dd))/0x8*(parseInt(_0xcee6c4(0x1fa))/0x9)+-parseInt(_0xcee6c4(0x24e))/0xa*(-parseInt(_0xcee6c4(0x246))/0xb);if(_0x46790f===_0x3a1438)break;else _0xbd477b['push'](_0xbd477b['shift']());}catch(_0x3b3a60){_0xbd477b['push'](_0xbd477b['shift']());}}}(_0x2fb0,0x43f80));import{PendingActions as _0x2be6d8,ContextPlugin as _0x223ef5,Editor as _0x44f3fb}from'ckeditor5/src/core.js';import{Collection as _0x16b5d4,uid as _0x4293c1,CKEditorError as _0x4080e6,ObservableMixin as _0x735bad}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x35e7ae,hashObject as _0x304caf,Users as _0x4af60c}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x3b5c91,isEqual as _0x3dad6e,set as _0x548ac5,unset as _0x1108db}from'es-toolkit/compat';import{CommentThreadController as _0xcddcc1}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x4da988}from'./ui/view/commentthreadview.js';function _0x2fb0(){const _0x511fcf=['trim','add','_add','openNewCommentThread','_remove','change:isDirty','_repository','attachTo','getIndex','commentsrepository-update-comment-missing-comment-thread','225972EkNixa','_bindAnnotationToEditors','external:','commentsrepository-invalid-comment-content','getPermissions','commentsListView','commentsrepository-adapter-already-set','warn','submit','commentsrepository-invalid-commentid','_adapter','PENDING_ACTION_COMMENT_THREAD','focusableElements','plugins','CommentThreadView','toJSON','isDirty','createCommentThreadController','_addCommentThread','filter','focusTracker','delete','setContext','activate','removeAttribute','16PblCqo','comment','getByInnerView','lowest','_update','isVisible','PendingActions','commentsrepository-active-not-attached','isPremiumPlugin','fetchCommentThread','creator','remove','editorDestroyed','isExternal','setPermissions','deactivateAll','fire','unlinkedAt','addComment','commentsrepository-add-comment-internal-error','switchReadOnly','change:activeAnnotations','comments.maxCommentCharsWhenCollapsed','assign','from','925342heDEum','CommentsRepository','commentsrepository-active-missing-comment-thread','isActive','createElement','getCommentThread','change:authoredAt','activeCommentThread','60wjZUgZ','_isSubmitted','_isAttached','commentsrepository-duplicated-comment-thread-id','resolve','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-missing-target','innerHTML','commentsrepository-get-comment-invalid-id','1795577XbUlMh','commentsrepository-invalid-comment-authorid','_updateActiveAnnotation','_removeActiveAnnotation','getTime','isResolvable','getCommentThreads','pluginName','listenTo','isResolved','createdAt','bind','attributes','body','898voEpCd','commentsrepository-remove-comment-thread-internal-error','_unbindEditors','div','_updateComment','_hasTargetInContent','addUser','canComment','_findOptimalIndex','string','commentsrepository-remove-missing-comment','comments.maxThreadTotalWeight','catch','isOfficialPlugin','highest','_submitCommentThread','comments.CommentView','threadId','admin','config','comments','isSubmitted','reduce','length','max','model','_readOnlyChannels','commentId','push','authorName','_createNewComment','commentsrepository-update-comment-thread-internal-error','_removeCommentThread','change:_permissions','isEditable','_updateCommentThread','author','12eUepto','addCommentThread','commentsrepository-remove-comment-missing-comment-thread','CommentView','set','channelId','hasCommentThread','comments.copyMarkers','error','authoredAt','escape','innerView','commentsrepository-update-comment-invalid-content','type','commentsrepository-attach-missing-comment-thread','getComment','resolvedBy','submitCommentThread','update','comments.CommentThreadView','_resolveCommentThread','comments.editorConfig','_removeComment','commentThreadInputView','adapter','setAttribute','commentsrepository-remove-comment-internal-error','commentsrepository-fetch-comment-thread','values','_reopenCommentThread','requires','locale','_addComment','define','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-reopen-comment-thread','_threads','focus','get','1242660VGuFgy','map','function','_detachCommentThread','resolveCommentThread','destroy','modifyAll','isRemovable','commentsrepository-remove-missing-comment-thread','_threadToController','isReadOnly','getCommentThreadForAnnotation','setUnlinkedAt','commentsrepository-resolve-comment-thread-internal-error','textContent','commentsrepository-reopen-comment-thread-internal-error','context','resolvedAt','isAttached','removeComment','weight','960skDsXz','_permissions','@external','reopen','content','315192eeyqIR','view','commentsrepository-resolved-comment-thread','commentsrepository-update-comment-internal-error','change:_readOnlyChannels','find','getUser','_createCommentThreadView','editorReady','removeCommentThread','write','stopListening','refreshVisibility','_getExternalAuthor','commentsrepository-update-missing-comment','commentsrepository-add-comment-thread-internal-error','once','commentUpdated','isFromAdapter','getAnnotationForCommentThread','comments.maxCommentsWhenCollapsed','reopenCommentThread','licenseKey','setActiveCommentThread','7983LCifJS','commentsrepository-add-comment-user-not-exists','commentInputView','noChannel','updateComment','commentsrepository-invalid-comment-thread-id','updateCommentThread','commentsrepository-missing-comment-thread','init','then','_attachCommentThread','archivedAt','has','commentsrepository-missing-thread-and-adapter-method','_viewToController','bodyCollectionContainer'];_0x2fb0=function(){return _0x511fcf;};return _0x2fb0();}import{CommentView as _0x4309f8}from'./ui/view/commentview.js';import{getTranslation as _0x3a16c3}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x146f56}from'../annotations/view/annotationview.js';import{Annotation as _0x5a8a14}from'../annotations/annotation.js';import{Annotations as _0x96d1f8}from'../annotations/annotations.js';const _t=Symbol(_0x34f716(0x1fd)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x223ef5{[_0x34f716(0x1c5)];[_0x34f716(0x1d1)];[_0x34f716(0x208)];static get[_0x34f716(0x1bf)](){return[_0x96d1f8,_0x2be6d8,_0x4af60c];}static get[_0x34f716(0x25e)](){const _0x26f3b7=_0x34f716;return _0x26f3b7(0x247);}static get[_0x34f716(0x272)](){return!0x0;}static get[_0x34f716(0x235)](){return!0x0;}constructor(_0x110f45){const _0x2a24cc=_0x34f716;super(_0x110f45),this[_0x2a24cc(0x1c5)]=new Map(),this[_0x2a24cc(0x1d1)]=new Map(),this[_0x2a24cc(0x208)]=new Map(),this[_0x2a24cc(0x1a5)](_0x2a24cc(0x27f),new Set()),this[_0x2a24cc(0x1a5)](_0x2a24cc(0x1de),new Map());const _0x99f7d8=this[_0x2a24cc(0x1d8)][_0x2a24cc(0x278)];_0x99f7d8[_0x2a24cc(0x1c2)](_0x2a24cc(0x1f6),0x2),_0x99f7d8[_0x2a24cc(0x1c2)](_0x2a24cc(0x270),0x1f4),_0x99f7d8[_0x2a24cc(0x1c2)](_0x2a24cc(0x243),0x8c),_0x99f7d8[_0x2a24cc(0x1c2)](_0x2a24cc(0x1b4),_0x4da988),_0x99f7d8[_0x2a24cc(0x1c2)](_0x2a24cc(0x275),_0x4309f8),_0x99f7d8[_0x2a24cc(0x1c7)](_0x2a24cc(0x1b6))||console[_0x2a24cc(0x21b)](_0x2a24cc(0x253));}[_0x34f716(0x202)](){const _0x3d18e6=_0x34f716,_0x391047=this[_0x3d18e6(0x1d8)][_0x3d18e6(0x221)][_0x3d18e6(0x1c7)](_0x96d1f8);this[_0x3d18e6(0x1a5)](_0x3d18e6(0x24d),null),this['on'](_0x3d18e6(0x1a2),(_0x2ce3fc,_0x3d4f18)=>this[_0x3d18e6(0x226)](_0x3d4f18)),this['on'](_0x3d18e6(0x1b2),(_0x2145be,_0x2b924c)=>this[_0x3d18e6(0x274)](_0x2b924c)),this['on'](_0x3d18e6(0x1cc),(_0x22a45f,_0x58ea54)=>this[_0x3d18e6(0x1b5)](_0x58ea54)),this['on'](_0x3d18e6(0x1cc),(_0x355b76,_0x211511)=>this[_0x3d18e6(0x259)](_0x211511),{'priority':_0x3d18e6(0x230)}),this['on'](_0x3d18e6(0x1f7),(_0x3daf75,_0x3bf7d7)=>this[_0x3d18e6(0x1be)](_0x3bf7d7)),this['on'](_0x3d18e6(0x1f7),(_0x3aabbd,_0x4e416d)=>this[_0x3d18e6(0x259)](_0x4e416d),{'priority':_0x3d18e6(0x230)}),this['on'](_0x3d18e6(0x1eb),(_0x39d133,_0x3a762c)=>this[_0x3d18e6(0x19c)](_0x3a762c)),this['on'](_0x3d18e6(0x200),(_0x3c9ac5,_0x4f963c)=>this[_0x3d18e6(0x19f)](_0x4f963c)),this['on'](_0x3d18e6(0x200),(_0x4267f4,_0x22c0f7)=>this[_0x3d18e6(0x259)](_0x22c0f7),{'priority':_0x3d18e6(0x230)}),this['on'](_0x3d18e6(0x23f),(_0x1252b4,_0x6ff55e)=>this[_0x3d18e6(0x1c1)](_0x6ff55e)),this['on'](_0x3d18e6(0x1fe),(_0x359a97,_0x4fd802)=>this[_0x3d18e6(0x269)](_0x4fd802)),this['on'](_0x3d18e6(0x1db),(_0x3459e6,_0x26b052)=>this[_0x3d18e6(0x1b7)](_0x26b052)),this['on'](_0x3d18e6(0x23f),(_0x617b4e,{threadId:_0x5bee9b,isFromAdapter:_0x1c4ed9})=>{const _0x5319e4=_0x3d18e6;if(_0x1c4ed9)return;const _0x423505=this[_0x5319e4(0x24b)](_0x5bee9b),_0x2ea506=_0x423505&&this[_0x5319e4(0x1d1)][_0x5319e4(0x1c7)](_0x423505);_0x2ea506&&_0x2ea506[_0x5319e4(0x1e3)][_0x5319e4(0x219)][_0x5319e4(0x1c6)](-0x1);},{'priority':_0x3d18e6(0x230)}),this[_0x3d18e6(0x25f)](_0x391047,_0x3d18e6(0x242),(_0x1ccab1,_0x5081c3,_0x3beec9)=>{const _0x2a9592=_0x3d18e6,_0x149389=Array[_0x2a9592(0x245)](_0x3beec9)[_0x2a9592(0x1c9)](_0x58e4d6=>this[_0x2a9592(0x208)][_0x2a9592(0x1c7)](_0x58e4d6[_0x2a9592(0x1ac)]))[_0x2a9592(0x227)](Boolean)[0x0];this[_0x2a9592(0x24d)]=_0x149389?_0x149389[_0x2a9592(0x27e)]:null;});}set[_0x34f716(0x1b9)](_0x4486eb){const _0xee31b1=_0x34f716;if(this[_0xee31b1(0x21e)])throw new _0x4080e6(_0xee31b1(0x21a));this[_0xee31b1(0x21e)]=_0x4486eb;}get[_0x34f716(0x1b9)](){const _0x5eccb8=_0x34f716;return this[_0x5eccb8(0x21e)];}[_0x34f716(0x1a2)]({channelId:_0x324a47=_t,threadId:_0xb8bc3a=_0x4293c1(),comments:_0x2eddb4=[],unlinkedAt:_0x1f3278=null,resolvedAt:_0x3fe914=null,resolvedBy:_0x4b78f3=null,target:_0x4a1ccc=null,context:_0x122ff9=null,attributes:_0x15e872={},isResolvable:_0x2cb17f=!0x0,isSubmitted:_0x68da12=!0x1,isFromAdapter:_0x2588bb=!0x1}={}){const _0x89f975=_0x34f716;return this[_0x89f975(0x23d)](Nt(_0x89f975(0x1a2),_0x324a47),{'channelId':_0x324a47,'threadId':_0xb8bc3a,'comments':_0x2eddb4,'unlinkedAt':_0x1f3278,'resolvedAt':_0x3fe914,'resolvedBy':_0x4b78f3,'target':_0x4a1ccc,'context':_0x122ff9,'attributes':_0x15e872,'isFromAdapter':_0x2588bb,'isResolvable':_0x2cb17f,'isSubmitted':_0x68da12}),this[_0x89f975(0x24b)](_0xb8bc3a);}[_0x34f716(0x20d)]({channelId:_0x6a0b70=_t,threadId:_0x374ac6=_0x4293c1(),target:_0x19fdb2,context:_0x281309=null,isResolvable:_0x35174d=!0x0}){const _0x4911f3=_0x34f716;if(this[_0x4911f3(0x27f)][_0x4911f3(0x206)](_0x6a0b70)||this[_0x4911f3(0x27f)][_0x4911f3(0x206)](void 0x0))return null;if(!_0x19fdb2)throw new _0x4080e6(_0x4911f3(0x254));const _0x49c673=this[_0x4911f3(0x1a2)]({'channelId':_0x6a0b70,'threadId':_0x374ac6,'target':_0x19fdb2,'context':_0x281309,'isResolvable':_0x35174d});if(!_0x49c673)return null;const _0x29c757=this[_0x4911f3(0x1d1)][_0x4911f3(0x1c7)](_0x49c673),_0xa9b127=_0x29c757[_0x4911f3(0x1e3)][_0x4911f3(0x1b8)][_0x4911f3(0x1fc)],_0x194c36=this[_0x4911f3(0x1d8)][_0x4911f3(0x221)][_0x4911f3(0x1c7)](_0x96d1f8),_0x2041a7=_0x194c36[_0x4911f3(0x22f)](_0x29c757[_0x4911f3(0x1e3)]);return _0x194c36[_0x4911f3(0x22b)](_0x2041a7),_0xa9b127[_0x4911f3(0x1f2)](_0x4911f3(0x1ea),()=>_0xa9b127[_0x4911f3(0x1c6)]()),_0x49c673;}[_0x34f716(0x1a7)](_0x4290ed){const _0x58cb84=_0x34f716;if(_0x58cb84(0x26e)!=typeof _0x4290ed)throw new _0x4080e6(_0x58cb84(0x1ff));return this[_0x58cb84(0x1c5)][_0x58cb84(0x206)](_0x4290ed);}[_0x34f716(0x200)]({channelId:_0x4ac0a6=_t,threadId:_0x143cd4,context:_0x4d8a45,unlinkedAt:_0x4c5360,attributes:_0x3279f9,isFromAdapter:_0x62ab6e=!0x1}){const _0x3e70da=_0x34f716;return this[_0x3e70da(0x23d)](Nt(_0x3e70da(0x200),_0x4ac0a6),{'channelId':_0x4ac0a6,'threadId':_0x143cd4,'context':_0x4d8a45,'unlinkedAt':_0x4c5360,'attributes':_0x3279f9,'isFromAdapter':_0x62ab6e}),this[_0x3e70da(0x24b)](_0x143cd4);}[_0x34f716(0x24b)](_0x1b274c){const _0x37bcf4=_0x34f716;if(_0x37bcf4(0x26e)!=typeof _0x1b274c)throw new _0x4080e6(_0x37bcf4(0x1ff));return this[_0x37bcf4(0x1c5)][_0x37bcf4(0x1c7)](_0x1b274c);}[_0x34f716(0x236)]({channelId:_0x33ab67,threadId:_0x4088b2}={}){const _0x1c0edd=_0x34f716,_0x541272=this[_0x1c0edd(0x24b)](_0x4088b2);if(_0x541272)return Promise[_0x1c0edd(0x252)](_0x541272);if(!this[_0x1c0edd(0x1b9)])return Promise[_0x1c0edd(0x252)](void 0x0);if(_0x1c0edd(0x1ca)!=typeof this[_0x1c0edd(0x1b9)][_0x1c0edd(0x24b)])throw new _0x4080e6(_0x1c0edd(0x207),this[_0x1c0edd(0x1d8)]);return this[_0x1c0edd(0x1b9)][_0x1c0edd(0x24b)]({'channelId':_0x33ab67,'threadId':_0x4088b2})[_0x1c0edd(0x203)](_0xed511=>this[_0x1c0edd(0x1a7)](_0x4088b2)?this[_0x1c0edd(0x24b)](_0x4088b2):_0xed511?this[_0x1c0edd(0x1a2)](Object[_0x1c0edd(0x244)]({'isFromAdapter':!0x0,'channelId':_0x33ab67},_0xed511)):void 0x0)[_0x1c0edd(0x271)](_0x143120=>{const _0x3019f3=_0x1c0edd;throw console[_0x3019f3(0x1a9)](_0x143120),new _0x4080e6(_0x3019f3(0x1bc),this[_0x3019f3(0x1d8)]);});}[_0x34f716(0x25d)]({channelId:_0x3fa558,skipNotAttached:_0x1e4cce=!0x1,skipEmpty:_0x1c0a32=!0x1,toJSON:_0x2fb9fc=!0x1}={}){const _0x5d80a6=_0x34f716,_0x4eb6d0=[];for(const _0x4e0a7a of this[_0x5d80a6(0x1c5)][_0x5d80a6(0x1bd)]())_0x3fa558&&_0x4e0a7a[_0x5d80a6(0x1a6)]!==_0x3fa558||_0x1e4cce&&!_0x4e0a7a[_0x5d80a6(0x1da)]||_0x1c0a32&&0x0===_0x4e0a7a[_0x5d80a6(0x27c)]||_0x4eb6d0[_0x5d80a6(0x281)](_0x4e0a7a);return _0x2fb9fc?_0x4eb6d0[_0x5d80a6(0x1c9)](_0x2bb79f=>_0x2bb79f[_0x5d80a6(0x223)]()):_0x4eb6d0;}[_0x34f716(0x1f5)](_0x485940){const _0x197726=_0x34f716,_0x38f1bd=this[_0x197726(0x1d1)][_0x197726(0x1c7)](_0x485940);if(!_0x38f1bd)return null;return this[_0x197726(0x1d8)][_0x197726(0x221)][_0x197726(0x1c7)](_0x96d1f8)[_0x197726(0x22f)](_0x38f1bd[_0x197726(0x1e3)])||null;}[_0x34f716(0x1d3)](_0x3fc7aa){const _0x7d7879=_0x34f716,_0x582c5e=this[_0x7d7879(0x208)][_0x7d7879(0x1c7)](_0x3fc7aa[_0x7d7879(0x1ac)]);return _0x582c5e?_0x582c5e[_0x7d7879(0x27e)]:null;}[_0x34f716(0x1f9)](_0x1232b9){const _0x1e2712=_0x34f716,_0x449f75=this[_0x1e2712(0x1d8)][_0x1e2712(0x221)][_0x1e2712(0x1c7)](_0x96d1f8);if(!_0x1232b9)return void(this[_0x1e2712(0x24d)]&&_0x449f75[_0x1e2712(0x23c)]());const _0x31fe05=this[_0x1e2712(0x24b)](_0x1232b9);if(!_0x31fe05)throw new _0x4080e6(_0x1e2712(0x248),null,{'threadId':_0x1232b9});if(!this[_0x1e2712(0x1d1)][_0x1e2712(0x206)](_0x31fe05))throw new _0x4080e6(_0x1e2712(0x234),null,{'threadId':_0x1232b9});const _0x36640b=_0x449f75[_0x1e2712(0x22f)](this[_0x1e2712(0x1d1)][_0x1e2712(0x1c7)](_0x31fe05)[_0x1e2712(0x1e3)]);_0x449f75[_0x1e2712(0x22b)](_0x36640b);}[_0x34f716(0x241)](_0x11826d,_0x5810e9){const _0x494653=_0x34f716;_0x11826d?this[_0x494653(0x27f)][_0x494653(0x20b)](_0x5810e9):this[_0x494653(0x27f)][_0x494653(0x229)](_0x5810e9),this[_0x494653(0x23d)](_0x494653(0x1e6),_0x494653(0x27f),this[_0x494653(0x27f)],this[_0x494653(0x27f)]);}[_0x34f716(0x1d2)](_0x31c14d){const _0xe7d8cf=_0x34f716;return this[_0xe7d8cf(0x27f)][_0xe7d8cf(0x206)](_0x31c14d)||this[_0xe7d8cf(0x27f)][_0xe7d8cf(0x206)](void 0x0);}[_0x34f716(0x225)](_0xad999,_0x58c207){return new _0xcddcc1(_0xad999,_0x58c207);}[_0x34f716(0x23b)](_0x27630c,_0x56d888=_t){const _0x36c23d=_0x34f716;this[_0x36c23d(0x1de)][_0x36c23d(0x1a5)](_0x56d888,_0x27630c),this[_0x36c23d(0x23d)](_0x36c23d(0x19d),_0x36c23d(0x1de),this[_0x36c23d(0x1de)],this[_0x36c23d(0x1de)]);}[_0x34f716(0x218)](_0x5d0122=_t){const _0x1b8747=_0x34f716;return this[_0x1b8747(0x1de)][_0x1b8747(0x206)](_0x5d0122)?this[_0x1b8747(0x1de)][_0x1b8747(0x1c7)](_0x5d0122):bt;}[_0x34f716(0x226)]({channelId:_0x43bd6e,threadId:_0x5df71a,comments:_0x26282c,unlinkedAt:_0x4c5f16,resolvedAt:_0x47c0ec,resolvedBy:_0xebf773,target:_0x5bfd8b,context:_0x3a525d,attributes:_0x165e72,isFromAdapter:_0x5e49ce,isResolvable:_0x574dd7,isSubmitted:_0x51bf6c}){const _0x43a4f7=_0x34f716;if(_0x43a4f7(0x26e)!=typeof _0x5df71a)throw new _0x4080e6(_0x43a4f7(0x1ff),null,{'threadId':_0x5df71a});if(this[_0x43a4f7(0x1a7)](_0x5df71a))throw new _0x4080e6(_0x43a4f7(0x251),null,{'threadId':_0x5df71a});const _0x42f184=new CommentThread(this,{'channelId':_0x43bd6e,'id':_0x5df71a,'context':_0x3a525d,'attributes':_0x165e72,'unlinkedAt':_0x4c5f16,'resolvedAt':_0x47c0ec,'resolvedBy':_0xebf773?this[_0x43a4f7(0x1d8)][_0x43a4f7(0x221)][_0x43a4f7(0x1c7)](_0x4af60c)[_0x43a4f7(0x1e8)](_0xebf773):null,'isResolvable':_0x574dd7,'isSubmitted':_0x51bf6c||_0x5e49ce});this[_0x43a4f7(0x1c5)][_0x43a4f7(0x1a5)](_0x5df71a,_0x42f184);for(const _0x29e2f3 of _0x26282c)_0x42f184[_0x43a4f7(0x20c)](this[_0x43a4f7(0x19a)]({'threadId':_0x5df71a,..._0x29e2f3}));return _0x5bfd8b&&_0x42f184[_0x43a4f7(0x211)](_0x5bfd8b),_0x5e49ce||!_0x42f184[_0x43a4f7(0x27c)]?Promise[_0x43a4f7(0x252)]():this[_0x43a4f7(0x274)]({'channelId':_0x43bd6e,'threadId':_0x5df71a});}[_0x34f716(0x274)]({channelId:_0x11c382,threadId:_0x37e3e5}){const _0x347f73=_0x34f716;if(!this[_0x347f73(0x1a7)](_0x37e3e5))throw new _0x4080e6(_0x347f73(0x201),this);const _0x39db69=this[_0x347f73(0x24b)](_0x37e3e5);if(_0x39db69[_0x347f73(0x24f)]=!0x0,!this[_0x347f73(0x1b9)]||_0x347f73(0x1ca)!=typeof this[_0x347f73(0x1b9)][_0x347f73(0x1a2)])return Promise[_0x347f73(0x252)]();const {id:_0x48c6f7,comments:_0x4619b0,resolvedAt:_0x7ab194,resolvedBy:_0x3d9e4,context:_0x2eec16,attributes:_0x1b7ee4}=_0x39db69,_0x119e7c=this[_0x347f73(0x1d8)][_0x347f73(0x221)][_0x347f73(0x1c7)](_0x347f73(0x233)),_0x131f2b=_0x119e7c[_0x347f73(0x20b)](_0x3a16c3(this[_0x347f73(0x1d8)][_0x347f73(0x1c0)],_0x347f73(0x21f)));return this[_0x347f73(0x1b9)][_0x347f73(0x1a2)]({'channelId':_0x11c382,'threadId':_0x48c6f7,'comments':_0x4619b0[_0x347f73(0x1c9)](_0x40deaf=>_0x40deaf[_0x347f73(0x223)]()),'resolvedAt':_0x7ab194,'resolvedBy':_0x3d9e4?_0x3d9e4['id']:_0x3d9e4,'context':_0x2eec16,'attributes':_0x1b7ee4})[_0x347f73(0x203)](({comments:_0x45c25a})=>{const _0x888136=_0x347f73;_0x119e7c[_0x888136(0x238)](_0x131f2b);for(const _0x53e9e8 of _0x45c25a)this[_0x888136(0x269)]({'channelId':_0x11c382,'threadId':_0x37e3e5,'commentId':_0x53e9e8[_0x888136(0x280)],'createdAt':_0x53e9e8[_0x888136(0x261)],'isFromAdapter':!0x0});})[_0x347f73(0x271)](_0x3a7b58=>{const _0x1d6fb7=_0x347f73;throw console[_0x1d6fb7(0x1a9)](_0x3a7b58),new _0x4080e6(_0x1d6fb7(0x1f1),this);});}[_0x34f716(0x204)]({threadId:_0x2a3069,target:_0x398b95}){const _0x26f879=_0x34f716,_0x1ec011=this[_0x26f879(0x24b)](_0x2a3069);if(!_0x1ec011)throw new _0x4080e6(_0x26f879(0x1af),this);const _0x5aa859=this[_0x26f879(0x1d8)][_0x26f879(0x221)][_0x26f879(0x1c7)](_0x26f879(0x233)),_0xb6e0dc=this[_0x26f879(0x1d8)][_0x26f879(0x221)][_0x26f879(0x1c7)](_0x96d1f8),_0x6b0192=this[_0x26f879(0x1e9)](_0x1ec011),_0x17f3ca=new _0xcddcc1(_0x1ec011,_0x6b0192);let _0x4c3387=null;_0x6b0192['on'](_0x26f879(0x20f),(_0x14164a,_0x3c7dbb,_0x2a9d9d)=>{const _0x14f16e=_0x26f879;_0x2a9d9d?_0x4c3387=_0x5aa859[_0x14f16e(0x20b)](_0x3a16c3(this[_0x14f16e(0x1d8)][_0x14f16e(0x1c0)],_0x14f16e(0x21f))):_0x4c3387&&(_0x5aa859[_0x14f16e(0x238)](_0x4c3387),_0x4c3387=null);}),this[_0x26f879(0x1d1)][_0x26f879(0x1a5)](_0x1ec011,_0x17f3ca),this[_0x26f879(0x208)][_0x26f879(0x1a5)](_0x6b0192,_0x17f3ca);const _0x55e4cf=new _0x146f56(this[_0x26f879(0x1d8)][_0x26f879(0x1c0)],_0x6b0192);_0x55e4cf[_0x26f879(0x262)](_0x26f879(0x27c))['to'](_0x6b0192),_0x55e4cf[_0x26f879(0x262)](_0x26f879(0x224))['to'](_0x6b0192,_0x26f879(0x224),_0x6b0192,_0x26f879(0x27c),(_0x2bb6ee,_0x2e4655)=>_0x2bb6ee||!_0x2e4655),_0x55e4cf[_0x26f879(0x262)](_0x26f879(0x249))['to'](_0x6b0192),_0x55e4cf[_0x26f879(0x1ae)]=_0x26f879(0x22e);const _0x5d188f=new _0x5a8a14({'view':_0x55e4cf,'target':_0x398b95,'type':_0x26f879(0x22e),'isVisible':!_0x1ec011[_0x26f879(0x205)]&&!!(_0x26f879(0x1ca)==typeof _0x398b95?_0x398b95():_0x398b95)});return _0x6b0192['on'](_0x26f879(0x1ab),()=>{const _0x2426b2=_0x26f879;_0x5d188f[_0x2426b2(0x23d)](_0x2426b2(0x1ab));}),this[_0x26f879(0x215)](_0x6b0192,_0x5d188f),_0xb6e0dc[_0x26f879(0x20b)](_0x5d188f),_0x5d188f;}[_0x34f716(0x215)](_0x1bc253,_0x3502bf){const _0x11a4c3=_0x34f716;this[_0x11a4c3(0x25f)](_0x1bc253,_0x11a4c3(0x1ea),(_0xcd9dd9,_0x45068d)=>{const _0x634ba3=_0x11a4c3,_0x26ac67=_0x45068d['ui'][_0x634ba3(0x1e3)][_0x634ba3(0x264)][_0x634ba3(0x209)];_0x3502bf[_0x634ba3(0x220)][_0x634ba3(0x20b)](_0x26ac67),this[_0x634ba3(0x1d8)]instanceof _0x44f3fb&&this[_0x634ba3(0x1d8)]['ui'][_0x634ba3(0x228)][_0x634ba3(0x20b)](_0x26ac67);},{'priority':_0x11a4c3(0x273)}),this[_0x11a4c3(0x25f)](_0x1bc253,_0x11a4c3(0x239),(_0x181aae,_0xcebc3c)=>{const _0x121fae=_0x11a4c3,_0x3125e8=_0xcebc3c['ui'][_0x121fae(0x1e3)][_0x121fae(0x264)][_0x121fae(0x209)];_0x3502bf[_0x121fae(0x220)][_0x121fae(0x206)](_0x3125e8)&&_0x3502bf[_0x121fae(0x220)][_0x121fae(0x238)](_0x3125e8),this[_0x121fae(0x1d8)]instanceof _0x44f3fb&&this[_0x121fae(0x1d8)]['ui'][_0x121fae(0x228)][_0x121fae(0x238)](_0x3125e8);});}[_0x34f716(0x267)](_0x4ccf93){const _0x285bda=_0x34f716;this[_0x285bda(0x1ed)](_0x4ccf93,_0x285bda(0x1ea)),this[_0x285bda(0x1ed)](_0x4ccf93,_0x285bda(0x239));}[_0x34f716(0x1e9)](_0x2c42b2){const _0x1ef816=_0x34f716,_0x2a7ed0=this[_0x1ef816(0x1d8)][_0x1ef816(0x221)][_0x1ef816(0x1c7)](_0x4af60c),{config:_0x13a2d5,locale:_0x427716}=this[_0x1ef816(0x1d8)],_0x4f1201=_0x35e7ae(_0x13a2d5[_0x1ef816(0x1c7)](_0x1ef816(0x1c0)),_0x427716);return new(0x0,(_0x13a2d5[_0x1ef816(0x1c7)](_0x1ef816(0x279)))[(_0x1ef816(0x222))])(_0x427716,_0x2c42b2,_0x2a7ed0['me'],{'editorConfig':{..._0x13a2d5[_0x1ef816(0x1c7)](_0x1ef816(0x1b6)),'licenseKey':this[_0x1ef816(0x1d8)][_0x1ef816(0x278)][_0x1ef816(0x1c7)](_0x1ef816(0x1f8))},'copyMarkers':_0x13a2d5[_0x1ef816(0x1c7)](_0x1ef816(0x1a8)),'maxCommentsWhenCollapsed':_0x13a2d5[_0x1ef816(0x1c7)](_0x1ef816(0x1f6)),'maxThreadTotalWeight':_0x13a2d5[_0x1ef816(0x1c7)](_0x1ef816(0x270)),'maxCommentCharsWhenCollapsed':_0x13a2d5[_0x1ef816(0x1c7)](_0x1ef816(0x243)),'formatDateTime':_0x4f1201,'CommentView':_0x13a2d5[_0x1ef816(0x1c7)](_0x1ef816(0x279))[_0x1ef816(0x1a4)]});}[_0x34f716(0x1b5)]({threadId:_0x1eddba,channelId:_0x25beba,resolvedAt:_0x565d9b,resolvedBy:_0x2f2ac4,isFromAdapter:_0x3bdfda}){const _0x392762=_0x34f716;if(!this[_0x392762(0x1a7)](_0x1eddba))throw new _0x4080e6(_0x392762(0x201),null,{'threadId':_0x1eddba});const _0x2b155d=this[_0x392762(0x24b)](_0x1eddba);if(_0x2b155d[_0x392762(0x260)])throw new _0x4080e6(_0x392762(0x1e4),null,{'threadId':_0x1eddba});const _0x34ea0f=this[_0x392762(0x1d8)][_0x392762(0x221)][_0x392762(0x1c7)](_0x4af60c);if(_0x2b155d[_0x392762(0x1b1)]=_0x34ea0f[_0x392762(0x1e8)](_0x2f2ac4),_0x2b155d[_0x392762(0x1d9)]=_0x565d9b,_0x3bdfda||!this[_0x392762(0x1b9)]||_0x392762(0x1ca)!=typeof this[_0x392762(0x1b9)][_0x392762(0x1cc)])return Promise[_0x392762(0x252)]();const _0x4a073a=this[_0x392762(0x1d8)][_0x392762(0x221)][_0x392762(0x1c7)](_0x392762(0x233)),_0x1bcdb0=_0x4a073a[_0x392762(0x20b)](_0x3a16c3(this[_0x392762(0x1d8)][_0x392762(0x1c0)],_0x392762(0x21f)));return this[_0x392762(0x1b9)][_0x392762(0x1cc)]({'channelId':_0x25beba,'threadId':_0x1eddba})[_0x392762(0x203)](({resolvedAt:_0x278790,resolvedBy:_0x193b41})=>{const _0x2a759e=_0x392762;_0x4a073a[_0x2a759e(0x238)](_0x1bcdb0),_0x2b155d[_0x2a759e(0x1b1)]['id']!==_0x193b41&&(_0x2b155d[_0x2a759e(0x1b1)]=_0x34ea0f[_0x2a759e(0x1e8)](_0x193b41)),_0x2b155d[_0x2a759e(0x1d9)]=_0x278790;})[_0x392762(0x271)](_0x5aee48=>{const _0x4a06f2=_0x392762;throw console[_0x4a06f2(0x1a9)](_0x5aee48),new _0x4080e6(_0x4a06f2(0x1d5),this);});}[_0x34f716(0x1be)]({threadId:_0x3a8baf,channelId:_0x5f5477,isFromAdapter:_0x518fd8}){const _0x541d2d=_0x34f716;if(!this[_0x541d2d(0x1a7)](_0x3a8baf))throw new _0x4080e6(_0x541d2d(0x201),null,{'threadId':_0x3a8baf});const _0x1c371c=this[_0x541d2d(0x24b)](_0x3a8baf);if(!_0x1c371c[_0x541d2d(0x260)])throw new _0x4080e6(_0x541d2d(0x1c4),null,{'threadId':_0x3a8baf});if(_0x1c371c[_0x541d2d(0x1b1)]=null,_0x1c371c[_0x541d2d(0x1d9)]=null,_0x518fd8||!this[_0x541d2d(0x1b9)]||_0x541d2d(0x1ca)!=typeof this[_0x541d2d(0x1b9)][_0x541d2d(0x1f7)])return Promise[_0x541d2d(0x252)]();const _0x4ed0b4=this[_0x541d2d(0x1d8)][_0x541d2d(0x221)][_0x541d2d(0x1c7)](_0x541d2d(0x233)),_0x1b1ba1=_0x4ed0b4[_0x541d2d(0x20b)](_0x3a16c3(this[_0x541d2d(0x1d8)][_0x541d2d(0x1c0)],_0x541d2d(0x21f)));return this[_0x541d2d(0x1b9)][_0x541d2d(0x1f7)]({'channelId':_0x5f5477,'threadId':_0x3a8baf})[_0x541d2d(0x203)](()=>_0x4ed0b4[_0x541d2d(0x238)](_0x1b1ba1))[_0x541d2d(0x271)](_0x16213c=>{const _0x36a325=_0x541d2d;throw console[_0x36a325(0x1a9)](_0x16213c),new _0x4080e6(_0x36a325(0x1d7),this);});}[_0x34f716(0x19c)]({threadId:_0x5625ab,isFromAdapter:_0xbecdcc}){const _0x48dfa9=_0x34f716,_0x5085a0=this[_0x48dfa9(0x24b)](_0x5625ab);if(!_0x5085a0)throw new _0x4080e6(_0x48dfa9(0x1d0),this);if(this[_0x48dfa9(0x1cb)](_0x5625ab),this[_0x48dfa9(0x1c5)][_0x48dfa9(0x229)](_0x5625ab),!_0x5085a0[_0x48dfa9(0x27a)]||_0xbecdcc||!this[_0x48dfa9(0x1b9)]||_0x48dfa9(0x1ca)!=typeof this[_0x48dfa9(0x1b9)][_0x48dfa9(0x1eb)])return Promise[_0x48dfa9(0x252)]();const _0x2bacda=this[_0x48dfa9(0x1d8)][_0x48dfa9(0x221)][_0x48dfa9(0x1c7)](_0x48dfa9(0x233)),{channelId:_0x399ff6}=_0x5085a0,_0x193996=_0x2bacda[_0x48dfa9(0x20b)](_0x3a16c3(this[_0x48dfa9(0x1d8)][_0x48dfa9(0x1c0)],_0x48dfa9(0x21f)));return this[_0x48dfa9(0x1b9)][_0x48dfa9(0x1eb)]({'channelId':_0x399ff6,'threadId':_0x5625ab})[_0x48dfa9(0x203)](()=>_0x2bacda[_0x48dfa9(0x238)](_0x193996))[_0x48dfa9(0x271)](_0x3560b0=>{const _0x3ebd31=_0x48dfa9;throw console[_0x3ebd31(0x1a9)](_0x3560b0),new _0x4080e6(_0x3ebd31(0x266),this);});}[_0x34f716(0x19f)]({threadId:_0x50f5da,unlinkedAt:_0x27f552,context:_0x169e0a,attributes:_0xfe37bf,isFromAdapter:_0x342137}){const _0xa0ac5b=_0x34f716;if(_0xa0ac5b(0x26e)!=typeof _0x50f5da)throw new _0x4080e6(_0xa0ac5b(0x1ff),null,{'threadId':_0x50f5da});if(!this[_0xa0ac5b(0x1a7)](_0x50f5da))throw new _0x4080e6(_0xa0ac5b(0x201),null,{'threadId':_0x50f5da});const _0x5889ca=this[_0xa0ac5b(0x24b)](_0x50f5da);let _0x5b92b6=!0x1;if(void 0x0!==_0x169e0a&&_0x5889ca[_0xa0ac5b(0x1d8)]!==_0x169e0a&&(_0x5889ca[_0xa0ac5b(0x1d8)]=_0x169e0a,_0x5b92b6=!0x0),void 0x0!==_0x27f552&&_0x5889ca[_0xa0ac5b(0x23e)]!==_0x27f552&&(_0x5889ca[_0xa0ac5b(0x23e)]=_0x27f552,_0x5b92b6=!0x0),_0xfe37bf&&!_0x3dad6e(_0xfe37bf,_0x5889ca[_0xa0ac5b(0x263)])&&(_0x5889ca[_0xa0ac5b(0x263)]=_0xfe37bf,_0x5b92b6=!0x0),!_0x5b92b6)return Promise[_0xa0ac5b(0x252)]();if(!_0x5889ca[_0xa0ac5b(0x27a)]||_0x342137||!this[_0xa0ac5b(0x1b9)]||_0xa0ac5b(0x1ca)!=typeof this[_0xa0ac5b(0x1b9)][_0xa0ac5b(0x200)])return Promise[_0xa0ac5b(0x252)]();const _0x1158ca=this[_0xa0ac5b(0x1d8)][_0xa0ac5b(0x221)][_0xa0ac5b(0x1c7)](_0xa0ac5b(0x233)),{channelId:_0x127ab5}=_0x5889ca,_0x487095=_0x1158ca[_0xa0ac5b(0x20b)](_0x3a16c3(this[_0xa0ac5b(0x1d8)][_0xa0ac5b(0x1c0)],_0xa0ac5b(0x21f)));return this[_0xa0ac5b(0x1b9)][_0xa0ac5b(0x200)]({'channelId':_0x127ab5,'threadId':_0x50f5da,'context':_0x169e0a,'unlinkedAt':_0x27f552,'attributes':_0xfe37bf})[_0xa0ac5b(0x203)](()=>_0x1158ca[_0xa0ac5b(0x238)](_0x487095))[_0xa0ac5b(0x271)](_0x130f4d=>{const _0x32f03c=_0xa0ac5b;throw console[_0x32f03c(0x1a9)](_0x130f4d),new _0x4080e6(_0x32f03c(0x19b),this);});}[_0x34f716(0x1cb)](_0x447123){const _0x40d980=_0x34f716,_0x297173=this[_0x40d980(0x1d8)][_0x40d980(0x221)][_0x40d980(0x1c7)](_0x96d1f8),_0x3af147=this[_0x40d980(0x24b)](_0x447123);if(_0x3af147[_0x40d980(0x250)]=!0x1,this[_0x40d980(0x1d1)][_0x40d980(0x206)](_0x3af147)){const _0x250c16=this[_0x40d980(0x1d1)][_0x40d980(0x1c7)](_0x3af147),_0x14ba0c=_0x250c16[_0x40d980(0x1e3)],_0x1ca64d=_0x297173[_0x40d980(0x22f)](_0x14ba0c);this[_0x40d980(0x1d1)][_0x40d980(0x229)](_0x3af147),this[_0x40d980(0x208)][_0x40d980(0x229)](_0x14ba0c),_0x1ca64d&&_0x297173[_0x40d980(0x238)](_0x1ca64d),_0x250c16[_0x40d980(0x1cd)](),_0x14ba0c[_0x40d980(0x1cd)]()[_0x40d980(0x203)](()=>{const _0xa4e904=_0x40d980;this[_0xa4e904(0x267)](_0x14ba0c);});}}[_0x34f716(0x259)]({threadId:_0x15028c,resolvedAt:_0x9aa37d,unlinkedAt:_0x2d1b79}){const _0x2674d2=_0x34f716,_0x2597b2=!!_0x9aa37d,_0x5ddc46=this[_0x2674d2(0x1d8)][_0x2674d2(0x221)][_0x2674d2(0x1c7)](_0x96d1f8),_0x507300=this[_0x2674d2(0x24b)](_0x15028c);if(this[_0x2674d2(0x1d1)][_0x2674d2(0x206)](_0x507300)){const _0x99359f=this[_0x2674d2(0x1d1)][_0x2674d2(0x1c7)](_0x507300)[_0x2674d2(0x1e3)],_0x4e09ee=_0x5ddc46[_0x2674d2(0x22f)](_0x99359f);_0x4e09ee&&(_0x2597b2&&_0x5ddc46[_0x2674d2(0x25a)](_0x4e09ee),_0x2d1b79?_0x4e09ee[_0x2674d2(0x232)]=!0x1:_0x4e09ee[_0x2674d2(0x1ee)]());}}[_0x34f716(0x1ef)](_0x56ab3b){const _0x3ed6e6=_0x34f716,_0x36596c=this[_0x3ed6e6(0x1d8)][_0x3ed6e6(0x221)][_0x3ed6e6(0x1c7)](_0x4af60c),_0x17b06b=_0x304caf(_0x3ed6e6(0x216)+_0x56ab3b),_0x35a1d5=_0x36596c[_0x3ed6e6(0x1e8)](_0x17b06b);return _0x35a1d5||_0x36596c[_0x3ed6e6(0x26b)]({'id':_0x17b06b,'name':_0x56ab3b});}[_0x34f716(0x19a)]({threadId:_0x19291a,commentId:_0x105338=_0x4293c1(),content:_0x14ca47,authorId:_0x3d3be4,createdAt:_0x111319,attributes:_0x9f8c2a}){const _0x51130b=_0x34f716;if(_0x51130b(0x26e)!=typeof _0x105338)throw new _0x4080e6(_0x51130b(0x21d));if(_0x51130b(0x26e)!=typeof _0x3d3be4)throw new _0x4080e6(_0x51130b(0x258));if(_0x51130b(0x26e)!=typeof _0x14ca47||!_0x14ca47[_0x51130b(0x20a)]())throw new _0x4080e6(_0x51130b(0x217));const _0x50c373=this[_0x51130b(0x1d8)][_0x51130b(0x221)][_0x51130b(0x1c7)](_0x4af60c)[_0x51130b(0x1e8)](_0x3d3be4);if(!_0x50c373)throw new _0x4080e6(_0x51130b(0x1fb),null,{'authorId':_0x3d3be4});let _0x12d469=null,_0x502ed3=_0x111319;return _0x9f8c2a?.[_0x51130b(0x1df)]&&(_0x12d469=this[_0x51130b(0x1ef)](_0x9f8c2a[_0x51130b(0x1df)][_0x51130b(0x282)]),_0x502ed3=new Date(_0x9f8c2a[_0x51130b(0x1df)][_0x51130b(0x261)])),new Comment(this,{'threadId':_0x19291a,'id':_0x105338,'author':_0x12d469||_0x50c373,'creator':_0x50c373,'content':_0x14ca47,'createdAt':_0x111319,'authoredAt':_0x502ed3,'attributes':_0x9f8c2a});}[_0x34f716(0x1c1)](_0x1ec1d5){const _0x98b21=_0x34f716;let {threadId:_0x5bfbf0,content:_0x49c227,attributes:_0x24a9e8,isFromAdapter:_0xfd96d5}=_0x1ec1d5;const _0x55638e=this[_0x98b21(0x24b)](_0x1ec1d5[_0x98b21(0x276)]);if(!_0x55638e)throw new _0x4080e6(_0x98b21(0x1c3),this);const _0x4a749e=this[_0x98b21(0x19a)](_0x1ec1d5),{id:_0x4230da}=_0x4a749e;if(_0x55638e[_0x98b21(0x20c)](_0x4a749e),_0xfd96d5||!this[_0x98b21(0x1b9)]||_0x98b21(0x1ca)!=typeof this[_0x98b21(0x1b9)][_0x98b21(0x23f)]||!_0x55638e[_0x98b21(0x27a)])return Promise[_0x98b21(0x252)]();const _0x32337f=this[_0x98b21(0x1d8)][_0x98b21(0x221)][_0x98b21(0x1c7)](_0x98b21(0x233)),{channelId:_0x4a2f77}=_0x55638e,_0x571902=_0x32337f[_0x98b21(0x20b)](_0x3a16c3(this[_0x98b21(0x1d8)][_0x98b21(0x1c0)],_0x98b21(0x21f)));return _0x24a9e8||(_0x24a9e8={}),this[_0x98b21(0x1b9)][_0x98b21(0x23f)]({'channelId':_0x4a2f77,'threadId':_0x5bfbf0,'commentId':_0x4230da,'content':_0x49c227,'attributes':_0x24a9e8})[_0x98b21(0x203)](_0x4d771b=>{const _0x570471=_0x98b21;_0x32337f[_0x570471(0x238)](_0x571902),_0x4d771b&&this[_0x570471(0x269)]({'channelId':_0x4a2f77,'threadId':_0x5bfbf0,'commentId':_0x4230da,'createdAt':_0x4d771b[_0x570471(0x261)],'isFromAdapter':!0x0});})[_0x98b21(0x271)](_0x261ed0=>{const _0x14167f=_0x98b21;throw console[_0x14167f(0x1a9)](_0x261ed0),new _0x4080e6(_0x14167f(0x240),this);});}[_0x34f716(0x269)]({threadId:_0x18f7e7,commentId:_0x139f64,content:_0x320dba,createdAt:_0x580d8a,attributes:_0xdc0050,isFromAdapter:_0x26ebdd}){const _0x331531=_0x34f716;if(void 0x0!==_0x320dba&&(_0x331531(0x26e)!=typeof _0x320dba||!_0x320dba[_0x331531(0x20a)]()[_0x331531(0x27c)]))throw new _0x4080e6(_0x331531(0x1ad));const _0x2702fe=this[_0x331531(0x24b)](_0x18f7e7),_0x5263de=_0x2702fe[_0x331531(0x1b0)](_0x139f64);if(!_0x5263de)throw new _0x4080e6(_0x331531(0x1f0),this);let _0x4c54a3=!0x1;if(_0x320dba&&_0x320dba!==_0x5263de[_0x331531(0x1e1)]&&(_0x5263de[_0x331531(0x19e)]||_0x26ebdd)&&(_0x5263de[_0x331531(0x1e1)]=_0x320dba,_0x4c54a3=!0x0),_0x580d8a&&_0x580d8a!==_0x5263de[_0x331531(0x261)]&&(_0x5263de[_0x331531(0x261)]=_0x580d8a,_0x5263de[_0x331531(0x263)]&&_0x5263de[_0x331531(0x263)][_0x331531(0x1df)]||(_0x5263de[_0x331531(0x1aa)]=_0x580d8a),_0x4c54a3=!0x0),_0xdc0050&&!_0x3dad6e(_0xdc0050,_0x5263de[_0x331531(0x263)])&&(_0x5263de[_0x331531(0x263)]=_0xdc0050,_0x4c54a3=!0x0),!_0x4c54a3)return Promise[_0x331531(0x252)]();if(_0x2702fe[_0x331531(0x23d)](_0x331531(0x1f3)),_0x26ebdd||!this[_0x331531(0x1b9)]||_0x331531(0x1ca)!=typeof this[_0x331531(0x1b9)][_0x331531(0x1fe)])return Promise[_0x331531(0x252)]();const _0x34154f=this[_0x331531(0x1d8)][_0x331531(0x221)][_0x331531(0x1c7)](_0x331531(0x233)),{channelId:_0x3be61b}=this[_0x331531(0x24b)](_0x5263de[_0x331531(0x276)]),_0x5b0bf7=_0x34154f[_0x331531(0x20b)](_0x3a16c3(this[_0x331531(0x1d8)][_0x331531(0x1c0)],_0x331531(0x21f)));return this[_0x331531(0x1b9)][_0x331531(0x1fe)]({'channelId':_0x3be61b,'threadId':_0x18f7e7,'commentId':_0x139f64,'content':_0x320dba,'attributes':_0xdc0050})[_0x331531(0x203)](()=>_0x34154f[_0x331531(0x238)](_0x5b0bf7))[_0x331531(0x271)](_0x1fdf40=>{const _0x525b54=_0x331531;throw console[_0x525b54(0x1a9)](_0x1fdf40),new _0x4080e6(_0x525b54(0x1e5),this);});}[_0x34f716(0x1b7)]({threadId:_0x375a9a,commentId:_0x195633,isFromAdapter:_0x4aff33}){const _0x23e6c6=_0x34f716,_0x897afd=this[_0x23e6c6(0x24b)](_0x375a9a),_0x4893bb=_0x897afd[_0x23e6c6(0x1b0)](_0x195633);if(!_0x4893bb)throw new _0x4080e6(_0x23e6c6(0x26f),this);if(_0x897afd[_0x23e6c6(0x20e)](_0x4893bb),_0x4aff33||!this[_0x23e6c6(0x1b9)]||_0x23e6c6(0x1ca)!=typeof this[_0x23e6c6(0x1b9)][_0x23e6c6(0x1db)])return Promise[_0x23e6c6(0x252)]();const _0x47b34a=this[_0x23e6c6(0x1d8)][_0x23e6c6(0x221)][_0x23e6c6(0x1c7)](_0x23e6c6(0x233)),{channelId:_0x20bc5d}=_0x897afd,_0x3d70bc=_0x47b34a[_0x23e6c6(0x20b)](_0x3a16c3(this[_0x23e6c6(0x1d8)][_0x23e6c6(0x1c0)],_0x23e6c6(0x21f)));return this[_0x23e6c6(0x1b9)][_0x23e6c6(0x1db)]({'channelId':_0x20bc5d,'threadId':_0x375a9a,'commentId':_0x195633})[_0x23e6c6(0x203)](()=>_0x47b34a[_0x23e6c6(0x238)](_0x3d70bc))[_0x23e6c6(0x271)](_0x304631=>{const _0x58ee71=_0x23e6c6;throw console[_0x58ee71(0x1a9)](_0x304631),new _0x4080e6(_0x58ee71(0x1bb),this);});}}function _0x38a4(_0x5e5fc1,_0x65e00){const _0x2fb095=_0x2fb0();return _0x38a4=function(_0x38a42c,_0x328662){_0x38a42c=_0x38a42c-0x19a;let _0x2cebcd=_0x2fb095[_0x38a42c];return _0x2cebcd;},_0x38a4(_0x5e5fc1,_0x65e00);}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x735bad(){[_0x34f716(0x1a6)];['id'];[_0x34f716(0x250)];[_0x34f716(0x24f)];[_0x34f716(0x279)];[_0x34f716(0x210)];constructor(_0x20ac54,_0x5136c8){const _0x160722=_0x34f716;super();const _0x4e3af9=_0x5136c8[_0x160722(0x25c)];this[_0x160722(0x1a6)]=_0x5136c8[_0x160722(0x1a6)],this['id']=_0x5136c8['id'],this[_0x160722(0x279)]=new _0x16b5d4(),this[_0x160722(0x210)]=_0x20ac54,this[_0x160722(0x250)]=!0x1,this[_0x160722(0x24f)]=_0x5136c8[_0x160722(0x27a)],this[_0x160722(0x1a5)](_0x160722(0x26a),!0x0),this[_0x160722(0x262)](_0x160722(0x1d2))['to'](_0x20ac54,_0x160722(0x1de),_0x20ac54,_0x160722(0x27f),()=>_0x20ac54[_0x160722(0x1d2)](this[_0x160722(0x1a6)])),this[_0x160722(0x262)](_0x160722(0x1cf))['to'](_0x20ac54,_0x160722(0x1de),()=>_0x20ac54[_0x160722(0x218)](this[_0x160722(0x1a6)])[_0x160722(0x277)]),this[_0x160722(0x262)](_0x160722(0x26c))['to'](_0x20ac54,_0x160722(0x1de),()=>{const _0x2456b8=_0x160722,_0x22c9c6=_0x20ac54[_0x2456b8(0x218)](this[_0x2456b8(0x1a6)]);return _0x22c9c6[_0x2456b8(0x1ec)]||_0x22c9c6[_0x2456b8(0x277)];}),this[_0x160722(0x262)](_0x160722(0x25c))['to'](_0x20ac54,_0x160722(0x1de),()=>_0x4e3af9&&_0x20ac54[_0x160722(0x218)](this[_0x160722(0x1a6)])[_0x160722(0x252)]),this[_0x160722(0x1a5)](_0x160722(0x1d8),_0x5136c8[_0x160722(0x1d8)]),this[_0x160722(0x262)](_0x160722(0x205))['to'](this,_0x160722(0x1d9),this,_0x160722(0x23e),(_0x623b49,_0x6885ae)=>_0x623b49?_0x6885ae?_0x623b49<_0x6885ae?_0x623b49:_0x6885ae:_0x623b49:_0x6885ae),this[_0x160722(0x1a5)](_0x160722(0x23e),_0x5136c8[_0x160722(0x23e)]||null),this[_0x160722(0x1a5)](_0x160722(0x1d9),_0x5136c8[_0x160722(0x1d9)]||null),this[_0x160722(0x1a5)](_0x160722(0x1b1),_0x5136c8[_0x160722(0x1b1)]||null),this[_0x160722(0x262)](_0x160722(0x260))['to'](this,_0x160722(0x1d9),_0x7179e1=>!!_0x7179e1),this[_0x160722(0x1a5)](_0x160722(0x263),_0x5136c8[_0x160722(0x263)]||{});}get[_0x34f716(0x1dc)](){const _0x3c11a3=_0x34f716;return Array[_0x3c11a3(0x245)](this[_0x3c11a3(0x279)])[_0x3c11a3(0x27b)]((_0x55385a,_0x2e9b62)=>_0x55385a+_0x2e9b62[_0x3c11a3(0x1dc)],0x0);}get[_0x34f716(0x27c)](){const _0x281d6a=_0x34f716;return this[_0x281d6a(0x279)][_0x281d6a(0x27c)];}get[_0x34f716(0x1da)](){const _0x32ece5=_0x34f716;return this[_0x32ece5(0x250)];}get[_0x34f716(0x27a)](){const _0x35d937=_0x34f716;return this[_0x35d937(0x24f)];}[_0x34f716(0x21c)](){const _0x4b691e=_0x34f716,{channelId:_0x31d25f,id:_0x2db760}=this;this[_0x4b691e(0x210)][_0x4b691e(0x23d)](Nt(_0x4b691e(0x1b2),_0x31d25f),{'channelId':_0x31d25f,'threadId':_0x2db760});}[_0x34f716(0x1d4)](_0x13be35){const _0x3fe252=_0x34f716;this[_0x3fe252(0x231)]({'unlinkedAt':_0x13be35});}[_0x34f716(0x252)]({resolvedAt:_0x1c21f8=new Date(),resolvedBy:_0x70db55='',isFromAdapter:_0x58724f=!0x1}={}){const _0x597ce4=_0x34f716,_0x559a6b=this[_0x597ce4(0x210)][_0x597ce4(0x1d8)][_0x597ce4(0x221)][_0x597ce4(0x1c7)](_0x4af60c)['me'],{channelId:_0x579692,id:_0x3a7b12}=this;this[_0x597ce4(0x210)][_0x597ce4(0x23d)](Nt(_0x597ce4(0x1cc),_0x579692),{'channelId':_0x579692,'threadId':_0x3a7b12,'resolvedAt':_0x1c21f8,'resolvedBy':_0x70db55||_0x559a6b['id'],'isFromAdapter':_0x58724f});}[_0x34f716(0x1e0)]({isFromAdapter:_0x5d85bc=!0x1}={}){const _0x3975c3=_0x34f716,{channelId:_0x408813,id:_0xf1d6e6}=this;this[_0x3975c3(0x210)][_0x3975c3(0x23d)](Nt(_0x3975c3(0x1f7),_0x408813),{'channelId':_0x408813,'threadId':_0xf1d6e6,'isFromAdapter':_0x5d85bc});}[_0x34f716(0x22a)](_0xc760fd){const _0x2b5b1e=_0x34f716;this[_0x2b5b1e(0x1d8)]||this[_0x2b5b1e(0x231)]({'context':_0xc760fd});}[_0x34f716(0x1ba)](_0x406f78,_0x5495ac){const _0x272d60=_0x34f716,_0x4d92d6=_0x3b5c91(this[_0x272d60(0x263)]);_0x548ac5(_0x4d92d6,_0x406f78,_0x5495ac),this[_0x272d60(0x231)]({'attributes':_0x4d92d6});}[_0x34f716(0x22c)](_0x3cb717){const _0x11e4be=_0x34f716,_0x1170f0=_0x3b5c91(this[_0x11e4be(0x263)]);_0x1108db(_0x1170f0,_0x3cb717),this[_0x11e4be(0x231)]({'attributes':_0x1170f0});}[_0x34f716(0x238)]({isFromAdapter:_0x4015e3=!0x1}={}){const _0x4e15a8=_0x34f716,{channelId:_0x38f70c,id:_0x5e50e7}=this;this[_0x4e15a8(0x210)][_0x4e15a8(0x23d)](Nt(_0x4e15a8(0x1eb),_0x38f70c),{'channelId':_0x38f70c,'threadId':_0x5e50e7,'isFromAdapter':_0x4015e3});}[_0x34f716(0x211)](_0x3de57c){const _0x58a0ee=_0x34f716;return this[_0x58a0ee(0x210)][_0x58a0ee(0x204)]({'threadId':this['id'],'target':_0x3de57c});}[_0x34f716(0x23f)](_0x285a99){const _0x339a1f=_0x34f716,{channelId:_0x2224c8,id:_0x116363}=this;this[_0x339a1f(0x210)][_0x339a1f(0x23d)](Nt(_0x339a1f(0x23f),_0x2224c8,_0x116363),Object[_0x339a1f(0x244)]({'channelId':_0x2224c8,'threadId':_0x116363},_0x285a99));}[_0x34f716(0x1b0)](_0x73b2e7){const _0x42f73e=_0x34f716;if(_0x42f73e(0x26e)!=typeof _0x73b2e7)throw new _0x4080e6(_0x42f73e(0x256),null,{'commentId':_0x73b2e7});return this[_0x42f73e(0x279)][_0x42f73e(0x1c7)](_0x73b2e7);}[_0x34f716(0x223)](){const _0xf6e0f4=_0x34f716;return{'threadId':this['id'],'context':this[_0xf6e0f4(0x1d8)],'unlinkedAt':this[_0xf6e0f4(0x23e)],'resolvedAt':this[_0xf6e0f4(0x1d9)],'resolvedBy':this[_0xf6e0f4(0x1b1)]?this[_0xf6e0f4(0x1b1)]['id']:null,'archivedAt':this[_0xf6e0f4(0x205)],'comments':this[_0xf6e0f4(0x279)][_0xf6e0f4(0x1c9)](_0x32ed39=>_0x32ed39[_0xf6e0f4(0x223)]()),'attributes':this[_0xf6e0f4(0x263)]};}[_0x34f716(0x20c)](_0x2d2186){const _0x39d405=_0x34f716;return this[_0x39d405(0x25f)](_0x2d2186,_0x39d405(0x24c),()=>{const _0x152367=_0x39d405,_0x93e18c=this[_0x152367(0x26d)](_0x2d2186),_0x32dd52=this[_0x152367(0x279)];_0x93e18c-0x1!=_0x32dd52[_0x152367(0x212)](_0x2d2186)&&_0x93e18c+0x1!=_0x32dd52[_0x152367(0x212)](_0x2d2186)&&(this[_0x152367(0x20e)](_0x2d2186),this[_0x152367(0x20c)](_0x2d2186));}),this[_0x39d405(0x279)][_0x39d405(0x20b)](_0x2d2186,this[_0x39d405(0x26d)](_0x2d2186));}[_0x34f716(0x231)](_0x310f94){const _0x4649c1=_0x34f716,{channelId:_0x4a4d84,id:_0x11a4c4}=this;this[_0x4649c1(0x210)][_0x4649c1(0x23d)](Nt(_0x4649c1(0x200),_0x4a4d84),{..._0x310f94,'channelId':_0x4a4d84,'threadId':_0x11a4c4});}[_0x34f716(0x20e)](_0x16efae){const _0x4842d6=_0x34f716;return this[_0x4842d6(0x1ed)](_0x16efae),_0x16efae[_0x4842d6(0x1cd)](),this[_0x4842d6(0x279)][_0x4842d6(0x238)](_0x16efae);}[_0x34f716(0x26d)](_0x3bdd53){const _0x5d2dbf=_0x34f716,_0x4a4ff7=this[_0x5d2dbf(0x279)][_0x5d2dbf(0x1e7)](_0x1415a7=>new Date(_0x1415a7[_0x5d2dbf(0x1aa)])[_0x5d2dbf(0x25b)]()>new Date(_0x3bdd53[_0x5d2dbf(0x1aa)])[_0x5d2dbf(0x25b)]());return _0x4a4ff7?this[_0x5d2dbf(0x279)][_0x5d2dbf(0x212)](_0x4a4ff7):this[_0x5d2dbf(0x27c)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x735bad(){['id'];[_0x34f716(0x276)];[_0x34f716(0x1a0)];[_0x34f716(0x237)];[_0x34f716(0x23a)];[_0x34f716(0x261)];[_0x34f716(0x210)];constructor(_0x2bbe7d,_0x375dc5){const _0x59d425=_0x34f716;super();const _0x1d4398=_0x2bbe7d[_0x59d425(0x1d8)][_0x59d425(0x221)][_0x59d425(0x1c7)](_0x4af60c)['me'],_0x29d8aa=_0x2bbe7d[_0x59d425(0x24b)](_0x375dc5[_0x59d425(0x276)]),_0x4a4eda=0x0===_0x29d8aa[_0x59d425(0x279)][_0x59d425(0x27c)],_0x25ac1f=_0x1d4398===_0x375dc5[_0x59d425(0x1a0)];this['id']=_0x375dc5['id'],this[_0x59d425(0x276)]=_0x375dc5[_0x59d425(0x276)],this[_0x59d425(0x1a0)]=_0x375dc5[_0x59d425(0x1a0)],this[_0x59d425(0x237)]=_0x375dc5[_0x59d425(0x237)],this[_0x59d425(0x23a)]=Boolean(_0x375dc5[_0x59d425(0x263)]&&_0x375dc5[_0x59d425(0x263)][_0x59d425(0x1df)]),this[_0x59d425(0x1a5)](_0x59d425(0x1e1),_0x375dc5[_0x59d425(0x1e1)]),this[_0x59d425(0x261)]=_0x375dc5[_0x59d425(0x261)]||new Date(),this[_0x59d425(0x1a5)](_0x59d425(0x1aa),_0x375dc5[_0x59d425(0x1aa)]||new Date()),this[_0x59d425(0x262)](_0x59d425(0x1d9))['to'](_0x29d8aa,_0x59d425(0x1d9)),this[_0x59d425(0x1a5)](_0x59d425(0x263),_0x375dc5[_0x59d425(0x263)]||{}),this[_0x59d425(0x262)](_0x59d425(0x19e))['to'](_0x2bbe7d,_0x59d425(0x1de),()=>{const _0x3f4fd9=_0x59d425,_0x3359b8=_0x2bbe7d[_0x3f4fd9(0x218)](_0x29d8aa[_0x3f4fd9(0x1a6)])[_0x3f4fd9(0x1ec)],_0x2772b8=_0x2bbe7d[_0x3f4fd9(0x218)](_0x29d8aa[_0x3f4fd9(0x1a6)])[_0x3f4fd9(0x1ce)];return _0x25ac1f&&_0x3359b8||!_0x25ac1f&&_0x2772b8;}),this[_0x59d425(0x262)](_0x59d425(0x1cf))['to'](_0x29d8aa,_0x59d425(0x1cf),_0x2bbe7d,_0x59d425(0x1de),_0x2209a2=>{const _0x252842=_0x59d425,_0xb7186a=_0x2bbe7d[_0x252842(0x218)](_0x29d8aa[_0x252842(0x1a6)])[_0x252842(0x1ec)],_0x433e86=_0x2bbe7d[_0x252842(0x218)](_0x29d8aa[_0x252842(0x1a6)])[_0x252842(0x1ce)];return _0x25ac1f&&_0xb7186a||_0x2209a2&&_0x4a4eda||!_0x25ac1f&&_0x433e86&&!_0x4a4eda;}),this[_0x59d425(0x262)](_0x59d425(0x1d2))['to'](_0x29d8aa,_0x59d425(0x1d2)),this[_0x59d425(0x210)]=_0x2bbe7d;}get[_0x34f716(0x1dc)](){const _0x494191=_0x34f716;return Math[_0x494191(0x27d)](function(_0x16a9b9){const _0x146603=_0x494191,_0x41ff9e=document[_0x146603(0x24a)](_0x146603(0x268));return _0x41ff9e[_0x146603(0x255)]=_0x16a9b9,_0x41ff9e[_0x146603(0x1d6)][_0x146603(0x27c)];}(this[_0x494191(0x1e1)]),0xc8);}[_0x34f716(0x1b3)](_0x5cd86e){const _0x317bd2=_0x34f716,{threadId:_0x437707,id:_0xac8a7e}=this;if(!this[_0x317bd2(0x210)][_0x317bd2(0x1a7)](_0x437707))throw new _0x4080e6(_0x317bd2(0x213),this);const {channelId:_0x17a256}=this[_0x317bd2(0x210)][_0x317bd2(0x24b)](_0x437707);this[_0x317bd2(0x210)][_0x317bd2(0x23d)](Nt(_0x317bd2(0x1fe),_0x17a256,_0x437707),{'channelId':_0x17a256,'threadId':_0x437707,'commentId':_0xac8a7e,..._0x5cd86e});}[_0x34f716(0x1ba)](_0x58bd54,_0x5e3070){const _0x3e2233=_0x34f716,_0x43a9c4=_0x3b5c91(this[_0x3e2233(0x263)]);_0x548ac5(_0x43a9c4,_0x58bd54,_0x5e3070),this[_0x3e2233(0x1b3)]({'attributes':_0x43a9c4});}[_0x34f716(0x22c)](_0x593d75){const _0x52023d=_0x34f716,_0x345d98=_0x3b5c91(this[_0x52023d(0x263)]);_0x1108db(_0x345d98,_0x593d75),this[_0x52023d(0x1b3)]({'attributes':_0x345d98});}[_0x34f716(0x238)](_0x119fdf={}){const _0x138384=_0x34f716;if(!_0x119fdf[_0x138384(0x1f4)]&&!this[_0x138384(0x1cf)])return;const {threadId:_0x798514,id:_0x394ab7}=this;if(!this[_0x138384(0x210)][_0x138384(0x1a7)](_0x798514))throw new _0x4080e6(_0x138384(0x1a3),this);const {channelId:_0x1d499f}=this[_0x138384(0x210)][_0x138384(0x24b)](_0x798514);this[_0x138384(0x210)][_0x138384(0x23d)](Nt(_0x138384(0x1db),_0x1d499f,_0x798514),{'channelId':_0x1d499f,'threadId':_0x798514,'commentId':_0x394ab7,..._0x119fdf});}[_0x34f716(0x223)](){const _0x4ff524=_0x34f716;return{'commentId':this['id'],'content':this[_0x4ff524(0x1e1)],'createdAt':this[_0x4ff524(0x261)],'authorId':this[_0x4ff524(0x237)]['id'],'attributes':this[_0x4ff524(0x263)]};}[_0x34f716(0x1cd)](){const _0x267498=_0x34f716;this[_0x267498(0x1ed)]();}}function Nt(_0x5712b0,..._0x199dd5){for(const _0x48797a of _0x199dd5)void 0x0!==_0x48797a&&(_0x5712b0+=':'+String(_0x48797a));return _0x5712b0;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x544273=_0x35f0;(function(_0x398a58,_0x736991){const _0x360e96=_0x35f0,_0x45726f=_0x398a58();while(!![]){try{const _0x247ef0=parseInt(_0x360e96(0x1c2))/0x1+-parseInt(_0x360e96(0x1ae))/0x2*(-parseInt(_0x360e96(0x1c1))/0x3)+-parseInt(_0x360e96(0x1b4))/0x4*(parseInt(_0x360e96(0x1ce))/0x5)+parseInt(_0x360e96(0x1b0))/0x6*(parseInt(_0x360e96(0x1aa))/0x7)+parseInt(_0x360e96(0x183))/0x8+parseInt(_0x360e96(0x1a1))/0x9*(-parseInt(_0x360e96(0x1cf))/0xa)+-parseInt(_0x360e96(0x1c7))/0xb*(parseInt(_0x360e96(0x192))/0xc);if(_0x247ef0===_0x736991)break;else _0x45726f['push'](_0x45726f['shift']());}catch(_0x4fc189){_0x45726f['push'](_0x45726f['shift']());}}}(_0x263b,0xd896b));import{Plugin as _0x3f7a24}from'ckeditor5/src/core.js';import{IconAddComment as _0x4d399f}from'ckeditor5/src/icons.js';import{CommentsRepository as _0xe76c10}from'./commentsrepository.js';import{CommentsEditing as _0x4f5e70}from'./commentsediting.js';import{EditorAnnotations as _0x93bdbd}from'../annotations/editorannotations.js';import{ButtonView as _0x3a3f55,MenuBarMenuListItemButtonView as _0x4b483e}from'ckeditor5/src/ui.js';import{Annotations as _0xee13b3}from'../annotations/annotations.js';import{CommentsListView as _0x389611}from'./ui/view/commentslistview.js';function _0x35f0(_0x165c58,_0x292df9){const _0x263b02=_0x263b();return _0x35f0=function(_0x35f046,_0x387eb6){_0x35f046=_0x35f046-0x180;let _0x5b4078=_0x263b02[_0x35f046];return _0x5b4078;},_0x35f0(_0x165c58,_0x292df9);}import{CommentThreadInputView as _0x157b4a}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x37fd60}from'../utils/common-translations.js';function _0x263b(){const _0x340c62=['stop','innerView','has','view','hasContent','CommentsUI','commentsLicenseKeyNotAllowed','change:activeAnnotations','25108152OUJpif','getRange','low','CommentsListView','usageLimit','_licenseKeyCheckInterval','highest','CommentThreadInputView','add','addSourceCollector','commands','find','componentFactory','plugins','hasCommentThread','9HZptEo','push','isPremiumPlugin','editor','featureNotAllowed','expired','commentsLicenseKeyDomainLimit','invalid','isOfficialPlugin','5920061veBSrk','focusTracker','commentsLicenseKeyUsageLimit','removeCommentThread','16OQKZIF','Comments','6rHNJyx','length','_viewToController','hasMarkerForId','4LybhYe','config','isEnabled','commentsLicenseKeyExpired','model','commentsLicenseKeyEvaluationLimit','domainLimit','destroy','listenTo','requires','editing','comment:','activeMarker','203385uQKQTS','508279DHPjGE','_showLicenseError','evaluationLimit','Comment','isFocused','11twZDDo','_threadToController','bind','addCommentThread','pluginName','licenseKey','map','417560lqHcAE','5603210eqHgZI','tooltip','init','getCommentThread','addComment','getAllMarkersForId','locale','_createUIButton','set','get','comment','13815712RhGwQX','execute','commentsLicenseKeyValid','commentsLicenseKeyInvalid','menuBar:comment','focus','from'];_0x263b=function(){return _0x340c62;};return _0x263b();}export class CommentsUI extends _0x3f7a24{[_0x544273(0x1cc)];[_0x544273(0x197)];static get[_0x544273(0x1cb)](){const _0x2a79d3=_0x544273;return _0x2a79d3(0x18f);}static get[_0x544273(0x1a9)](){return!0x0;}static get[_0x544273(0x1a3)](){return!0x0;}static get[_0x544273(0x1bd)](){return[_0xe76c10,_0x4f5e70,_0x93bdbd,_0xee13b3];}get[_0x544273(0x195)](){return _0x389611;}get[_0x544273(0x199)](){return _0x157b4a;}[_0x544273(0x1d1)](){const _0x5c51a8=_0x544273,_0x2319ad=this[_0x5c51a8(0x1a4)],_0xcd6f70=_0x2319ad[_0x5c51a8(0x19f)][_0x5c51a8(0x181)](_0xe76c10),_0x2dbc21=_0x2319ad[_0x5c51a8(0x19f)][_0x5c51a8(0x181)](_0x4f5e70),_0x5a878b=_0x2319ad[_0x5c51a8(0x19f)][_0x5c51a8(0x181)](_0xee13b3),_0x3c64a8=_0x2319ad[_0x5c51a8(0x19f)][_0x5c51a8(0x181)](_0x93bdbd);_0x2319ad['ui'][_0x5c51a8(0x19e)][_0x5c51a8(0x19a)](_0x5c51a8(0x182),()=>{const _0x842cc7=_0x5c51a8,_0x1ba1ed=this[_0x842cc7(0x1d6)](_0x3a3f55);return _0x1ba1ed[_0x842cc7(0x1d0)]=!0x0,_0x1ba1ed;}),_0x2319ad['ui'][_0x5c51a8(0x19e)][_0x5c51a8(0x19a)](_0x5c51a8(0x187),()=>this[_0x5c51a8(0x1d6)](_0x4b483e)),_0x3c64a8[_0x5c51a8(0x19b)](()=>{const _0x3c7136=_0x5c51a8,_0x2c361d=[];for(const [_0x43b2f8,_0x2ffc10]of _0xcd6f70[_0x3c7136(0x1c8)]){const _0x327b6b=_0x2dbc21[_0x3c7136(0x1d4)](_0x43b2f8['id']),_0x2e7f82=_0x327b6b[_0x3c7136(0x1cd)](_0x3581cd=>_0x3581cd[_0x3c7136(0x193)]());_0x327b6b[_0x3c7136(0x1b1)]>0x0&&_0x2c361d[_0x3c7136(0x1a2)]([_0x2ffc10[_0x3c7136(0x18d)],_0x2e7f82]);}return _0x2c361d;}),this[_0x5c51a8(0x1bc)](_0x5a878b,_0x5c51a8(0x191),(_0x3ac922,_0x585c81,_0x4b6002)=>{const _0x295282=_0x5c51a8,_0x44d961=Array[_0x295282(0x189)](_0x4b6002)[_0x295282(0x1cd)](_0x145b1f=>_0x145b1f[_0x295282(0x18b)])[_0x295282(0x19d)](_0x25790b=>_0xcd6f70[_0x295282(0x1b2)][_0x295282(0x18c)](_0x25790b));if(!_0x44d961)return void(_0x2dbc21[_0x295282(0x1c0)]=null);const _0x1becaf=_0xcd6f70[_0x295282(0x1b2)][_0x295282(0x181)](_0x44d961)[_0x295282(0x1b8)]['id'],_0x587fc1=_0x295282(0x1bf)+_0x1becaf;_0x1becaf&&_0x2dbc21[_0x295282(0x1b3)](_0x1becaf)?_0x2dbc21[_0x295282(0x1c0)]=_0x587fc1:_0x2dbc21[_0x295282(0x1c0)]&&(_0x2dbc21[_0x295282(0x1c0)]=null);}),this[_0x5c51a8(0x1bc)](_0xcd6f70,_0x5c51a8(0x1ad),(_0x335188,{threadId:_0x15639d,isFromAdapter:_0x33baa5})=>{const _0x483a91=_0x5c51a8;!_0x33baa5&&_0x2319ad['ui'][_0x483a91(0x1ab)][_0x483a91(0x1c6)]&&_0x2dbc21[_0x483a91(0x1b3)](_0x15639d)&&_0x2319ad[_0x483a91(0x1be)][_0x483a91(0x18d)][_0x483a91(0x188)]();},{'priority':_0x5c51a8(0x198)}),this[_0x5c51a8(0x1bc)](_0xcd6f70,_0x5c51a8(0x1d3),(_0x10b04a,{threadId:_0x5d88fe,isFromAdapter:_0x20b009})=>{const _0xddfcc3=_0x5c51a8;if(_0x20b009||!_0x2dbc21[_0xddfcc3(0x1b3)](_0x5d88fe)||!_0xcd6f70[_0xddfcc3(0x1a0)](_0x5d88fe))return;0x1===_0xcd6f70[_0xddfcc3(0x1d2)](_0x5d88fe)[_0xddfcc3(0x1b1)]&&(_0x2319ad[_0xddfcc3(0x1be)][_0xddfcc3(0x18d)][_0xddfcc3(0x188)](),_0x10b04a[_0xddfcc3(0x18a)]());},{'priority':_0x5c51a8(0x194)}),this[_0x5c51a8(0x1cc)]=this[_0x5c51a8(0x1a4)][_0x5c51a8(0x1b5)][_0x5c51a8(0x181)](_0x5c51a8(0x1cc));const _0x4abdce=this[_0x5c51a8(0x1a4)];this[_0x5c51a8(0x197)]=setInterval(()=>{const _0x49ace1=_0x5c51a8;let _0x1a2ad7;for(const _0x2cbdd5 in _0x4abdce){const _0x1ece8d=_0x2cbdd5,_0x2bfae1=_0x4abdce[_0x1ece8d];if(_0x49ace1(0x185)==_0x2bfae1||_0x49ace1(0x186)==_0x2bfae1||_0x49ace1(0x1b7)==_0x2bfae1||_0x49ace1(0x1a7)==_0x2bfae1||_0x49ace1(0x190)==_0x2bfae1||_0x49ace1(0x1b9)==_0x2bfae1||_0x49ace1(0x1ac)==_0x2bfae1){delete _0x4abdce[_0x1ece8d],_0x1a2ad7=_0x2bfae1,clearInterval(this[_0x49ace1(0x197)]),this[_0x49ace1(0x197)]=void 0x0;break;}}_0x49ace1(0x186)==_0x1a2ad7&&_0x4abdce[_0x49ace1(0x1c3)](_0x49ace1(0x1a8)),_0x49ace1(0x1b7)==_0x1a2ad7&&_0x4abdce[_0x49ace1(0x1c3)](_0x49ace1(0x1a6)),_0x49ace1(0x1a7)==_0x1a2ad7&&_0x4abdce[_0x49ace1(0x1c3)](_0x49ace1(0x1ba)),_0x49ace1(0x190)==_0x1a2ad7&&_0x4abdce[_0x49ace1(0x1c3)](_0x49ace1(0x1a5),_0x49ace1(0x1af)),_0x49ace1(0x1b9)==_0x1a2ad7&&_0x4abdce[_0x49ace1(0x1c3)](_0x49ace1(0x1c4)),_0x49ace1(0x1ac)==_0x1a2ad7&&_0x4abdce[_0x49ace1(0x1c3)](_0x49ace1(0x196));},0x3e8);}[_0x544273(0x1bb)](){const _0x180951=_0x544273;super[_0x180951(0x1bb)](),this[_0x180951(0x197)]&&clearInterval(this[_0x180951(0x197)]);}[_0x544273(0x1d6)](_0x2e7fd2){const _0x2f7856=_0x544273,_0x5b2fb6=this[_0x2f7856(0x1a4)],_0x54b1b7=new _0x2e7fd2(_0x5b2fb6[_0x2f7856(0x1d5)]),_0x280854=_0x5b2fb6[_0x2f7856(0x19c)][_0x2f7856(0x181)](_0x2f7856(0x1ca));return _0x54b1b7[_0x2f7856(0x180)]({'label':_0x37fd60(_0x5b2fb6[_0x2f7856(0x1d5)],_0x2f7856(0x1c5)),'icon':_0x4d399f}),_0x54b1b7[_0x2f7856(0x1c9)](_0x2f7856(0x1b6))['to'](_0x280854,_0x2f7856(0x1b6),_0x280854,_0x2f7856(0x18e),(_0x5d65ab,_0x4804fe)=>_0x5d65ab&&_0x4804fe),this[_0x2f7856(0x1bc)](_0x54b1b7,_0x2f7856(0x184),()=>{const _0x588e58=_0x2f7856;_0x280854[_0x588e58(0x184)]();}),_0x54b1b7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4de1ec=_0x35b2;(function(_0x233cdc,_0x1457a6){const _0x5550df=_0x35b2,_0x50bdeb=_0x233cdc();while(!![]){try{const _0x3b2532=-parseInt(_0x5550df(0x11a))/0x1+-parseInt(_0x5550df(0x107))/0x2+-parseInt(_0x5550df(0x121))/0x3+parseInt(_0x5550df(0x112))/0x4*(-parseInt(_0x5550df(0x120))/0x5)+-parseInt(_0x5550df(0x106))/0x6*(-parseInt(_0x5550df(0xff))/0x7)+parseInt(_0x5550df(0x103))/0x8*(-parseInt(_0x5550df(0x102))/0x9)+parseInt(_0x5550df(0x111))/0xa*(parseInt(_0x5550df(0xfe))/0xb);if(_0x3b2532===_0x1457a6)break;else _0x50bdeb['push'](_0x50bdeb['shift']());}catch(_0x923a16){_0x50bdeb['push'](_0x50bdeb['shift']());}}}(_0x2a1b,0x1a0dd));import{Plugin as _0x5d6615}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x421522,ClipboardMarkersUtils as _0x4eed3c}from'ckeditor5/src/clipboard.js';function _0x35b2(_0x2f0ccc,_0x4cd388){const _0x2a1b88=_0x2a1b();return _0x35b2=function(_0x35b205,_0x2e19f8){_0x35b205=_0x35b205-0xfd;let _0x3115e6=_0x2a1b88[_0x35b205];return _0x3115e6;},_0x35b2(_0x2f0ccc,_0x4cd388);}function _0x2a1b(){const _0x51203d=['hasCommentThread','keys','_registerMarkerInClipboardPipeline','afterInit','1508430gmkyfa','208TLXaOY','dragstart','comment','always','contentInsertion','config','editor','default','93076rEHjxT','_removeMarkersWithoutThreads','_registerMarkerToCopy','highest','CommentsRepository','get','295kiTKCh','25494xmoBwj','ClipboardPipeline','delete','comments.copyMarkers','requires','listenTo','plugins','cut','33yfothA','120722xqhxka','content','_mapCommentsCopyConfigToRegisterConfiguration','18WhjRUt','697552wcWEVB','has','ClipboardMarkersUtils','12rSapJU','202548sdACkx','never','all','define','split','markers'];_0x2a1b=function(){return _0x51203d;};return _0x2a1b();}export class CommentsClipboard extends _0x5d6615{constructor(_0x354d9){const _0x42183a=_0x35b2;super(_0x354d9),this[_0x42183a(0x118)][_0x42183a(0x117)][_0x42183a(0x10a)](_0x42183a(0x124),_0x42183a(0x119));}static get[_0x4de1ec(0x125)](){return[_0x4eed3c,_0x421522];}[_0x4de1ec(0x110)](){const _0x31667b=_0x4de1ec,_0x5a20c0=this[_0x31667b(0x118)][_0x31667b(0x127)][_0x31667b(0x11f)](_0x31667b(0x122));this[_0x31667b(0x10f)](),this[_0x31667b(0x126)](_0x5a20c0,_0x31667b(0x116),(_0x75cc21,_0x21cb79)=>this[_0x31667b(0x11b)](_0x21cb79[_0x31667b(0x100)][_0x31667b(0x10c)]),{'priority':_0x31667b(0x11d)});}[_0x4de1ec(0x11b)](_0x18b819){const _0xd45d50=_0x4de1ec;if(!this[_0xd45d50(0x118)][_0xd45d50(0x127)][_0xd45d50(0x104)](_0xd45d50(0x11e)))return _0x18b819;const _0x390658=this[_0xd45d50(0x118)][_0xd45d50(0x127)][_0xd45d50(0x11f)](_0xd45d50(0x11e));for(const _0x4bef83 of _0x18b819[_0xd45d50(0x10e)]()){const [_0x19b28e,_0x304545]=_0x4bef83[_0xd45d50(0x10b)](':');_0xd45d50(0x114)!=_0x19b28e||_0x390658[_0xd45d50(0x10d)](_0x304545)||_0x18b819[_0xd45d50(0x123)](_0x4bef83);}return _0x18b819;}[_0x4de1ec(0x10f)](){const _0x5b953b=_0x4de1ec,_0x7018a6=this[_0x5b953b(0x118)][_0x5b953b(0x127)][_0x5b953b(0x11f)](_0x5b953b(0x105)),_0x6a1d86=this[_0x5b953b(0x101)](this[_0x5b953b(0x118)][_0x5b953b(0x117)][_0x5b953b(0x11f)](_0x5b953b(0x124)));_0x6a1d86&&_0x7018a6[_0x5b953b(0x11c)](_0x5b953b(0x114),_0x6a1d86);}[_0x4de1ec(0x101)](_0x3f7a87){const _0x9a197e=_0x4de1ec;switch(_0x3f7a87){case _0x9a197e(0x115):return{'allowedActions':_0x9a197e(0x109),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x9a197e(0x119):return{'allowedActions':[_0x9a197e(0xfd),_0x9a197e(0x113)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x9a197e(0x108):return null;default:return null;}}}
|