@ckeditor/ckeditor5-comments 47.7.3 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +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 +20 -20
- 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 _0x28c888=_0x2607;(function(_0x45f5a1,_0x31a4ef){const _0x41df93=_0x2607,_0x348962=_0x45f5a1();while(!![]){try{const _0xfa2459=parseInt(_0x41df93(0x1e4))/0x1*(parseInt(_0x41df93(0x1b3))/0x2)+parseInt(_0x41df93(0x166))/0x3+-parseInt(_0x41df93(0x170))/0x4*(-parseInt(_0x41df93(0x196))/0x5)+parseInt(_0x41df93(0x1e8))/0x6*(parseInt(_0x41df93(0x1cf))/0x7)+-parseInt(_0x41df93(0x176))/0x8*(parseInt(_0x41df93(0x1d1))/0x9)+-parseInt(_0x41df93(0x1a7))/0xa*(parseInt(_0x41df93(0x1e1))/0xb)+-parseInt(_0x41df93(0x1b1))/0xc;if(_0xfa2459===_0x31a4ef)break;else _0x348962['push'](_0x348962['shift']());}catch(_0x54da4e){_0x348962['push'](_0x348962['shift']());}}}(_0x435a,0xa416c));import{Plugin as _0x375ebe}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x27cb58,scrollViewportToShowTarget as _0x17fbab,uid as _0x39b880}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x16d9b1}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x360196}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x31162d,getAllMarkersDomElementsSorted as _0x406ae6,FOCUS_ANNOTATION_KEYSTROKE as _0x229a0d,Users as _0x47c1cb}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x25387c}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x5c86fb}from'./integrations/commentsrestrictededitingmode.js';function _0x435a(){const _0x106a06=['change','getByInnerView','isThreadsLoadingPaused','createRange','from','getCommentThread','focus','_threads','_handleMarkerAddAndRemove','$marker','_handleThreadMarker','ENTER_COMMENT_ANNOUNCEMENT','getWalker','_getTextContext','isObject','for','root','registerPostFixer','_handleInitialThreads','add','updateMarker','map','pluginName','change:activeMarker','attachTo','model','28TqlJft','createPositionBefore','25677jKgdAm','scrollToThreadMarker','rootName','locale','getAllMarkersForId','isOfficialPlugin','editing','_hasTargetInContent','filter','upcast','init','data','group','getItems','reconvertMarker','start','3113YBEJbT','markerToData','_attachMarkerToThread','508535YglGwM','view','addMarker:','consume','484998wTzZRf','dataToMarker','hasCommentThread','unlinkedAt','setUnlinkedAt','get','editor','author','hasContent','LEAVE_COMMENT_ANNOUNCEMENT','conversion','_threadToController','$graveyard','ck-comment-marker','$textProxy','state','listenTo','removeMarker','first','markerName','text','isPremiumPlugin','channelId','announce','removeMarker:','_detachCommentThread','differ','join','switchReadOnly','clear','name','isAttached','registerAnnotation','newRange','size','href','2347143UqQNPM','once','collaboration.channelId','getAttribute','activeMarker','config','change:isThreadsLoadingPaused','context','substring','editingDowncast','8bwELZD','_initializeMarkerConverters','destroy','_initAriaMarkerChangeAnnouncements','elementToElement','comment','2776vYmDPj','markerToHighlight','push','_reconvertMarkers','addCommentThread','destroyed','_getTargetForId','hasMarkerForId','reopenCommentThread','fromCharCode','set','item','affectsData','length','enqueueChange','isEqual','fetchCommentThread','refreshVisibility','ignoreResolvedComments','remove','getRange','addComment','commands','afterInit','requires','showCommentHighlights','ck-comment-marker--active','resolveCommentThread','isSubmitted','managedUsingOperations','isCollapsed','_attachArchivedThread','710130eBHRom','getCommentThreads','comments','ariaLiveAnnouncer','isResolved','end','getChangedMarkers','ready','delete','forEach','dataDowncast','openNewCommentThread','comment:','plugins','consumable','CommentsEditing','createElement','25490WnsLql','change:isReadOnly','render','low','hasDomSelection','schema','removeCommentThread','startsWith','setContext','then','280428fnRpNW','document','4pUxGBp','markers'];_0x435a=function(){return _0x106a06;};return _0x435a();}import{CommentsImportWord as _0xdb105b}from'./integrations/importword.js';import{CommentsClipboard as _0x14d8a6}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0xae47e9}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';function _0x2607(_0x59db31,_0x1007e3){const _0x435afd=_0x435a();return _0x2607=function(_0x260750,_0x24d112){_0x260750=_0x260750-0x152;let _0x17423b=_0x435afd[_0x260750];return _0x17423b;},_0x2607(_0x59db31,_0x1007e3);}import{Annotations as _0xbaa956}from'../annotations/annotations.js';import{getTranslation as _0x1e5512}from'../utils/common-translations.js';import{splitMarkerName as _0x5c078b}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x375ebe{static get[_0x28c888(0x18e)](){return[_0x16d9b1,_0x25387c,_0x47c1cb,_0x5c86fb,_0xdb105b,_0x14d8a6,_0xae47e9];}static get[_0x28c888(0x1cb)](){const _0x1aeab8=_0x28c888;return _0x1aeab8(0x1a5);}static get[_0x28c888(0x1d6)](){return!0x0;}static get[_0x28c888(0x157)](){return!0x0;}constructor(_0x151913){const _0x55fa93=_0x28c888;super(_0x151913),this[_0x55fa93(0x180)](_0x55fa93(0x1b7),!0x0),_0x151913[_0x55fa93(0x1dc)][_0x55fa93(0x167)](_0x55fa93(0x19d),()=>this[_0x55fa93(0x1b7)]=!0x1),this[_0x55fa93(0x180)](_0x55fa93(0x16a),null),this['on'](_0x55fa93(0x1cc),(_0x4a0fd5,_0x1bd1b6,_0x154e30,_0x47b1b5)=>{const _0x3b83e0=_0x55fa93,_0x5094d9=_0x151913[_0x3b83e0(0x1a3)][_0x3b83e0(0x1ed)](_0x16d9b1),_0x3d5917=_0x154e30?_0x5c078b(_0x154e30)['id']:null;_0x151913[_0x3b83e0(0x1ce)][_0x3b83e0(0x1b5)](()=>{const _0x4ddeed=_0x3b83e0;if(_0x3d5917){const _0x380b70=this[_0x4ddeed(0x1d5)](_0x3d5917);for(const _0x4c8fc5 of _0x380b70)_0x151913[_0x4ddeed(0x1d7)][_0x4ddeed(0x1df)](_0x4c8fc5);}if(_0x47b1b5){const {id:_0x3ffce0}=_0x5c078b(_0x47b1b5),_0x1e6a24=_0x5094d9[_0x4ddeed(0x1ba)](_0x3ffce0);if(_0x1e6a24&&_0x1e6a24[_0x4ddeed(0x1eb)])return;if(_0x1e6a24&&!_0x1e6a24[_0x4ddeed(0x161)])return;const _0x23f125=this[_0x4ddeed(0x1d5)](_0x3ffce0);for(const _0x38c3e3 of _0x23f125)_0x151913[_0x4ddeed(0x1d7)][_0x4ddeed(0x1df)](_0x38c3e3);}}),_0x3d5917&&this[_0x3b83e0(0x1d2)](_0x3d5917);}),this[_0x55fa93(0x173)]();}[_0x28c888(0x1db)](){const _0x21607a=_0x28c888,_0x22a780=this[_0x21607a(0x1ee)],_0x22a22d=_0x22a780[_0x21607a(0x1a3)][_0x21607a(0x1ed)](_0x16d9b1),_0xba8450=_0x22a780[_0x21607a(0x16b)][_0x21607a(0x1ed)](_0x21607a(0x168)),_0x343f41=_0x22a22d[_0x21607a(0x197)]()[_0x21607a(0x1d9)](_0x341707=>_0x341707[_0x21607a(0x158)]!==_0xba8450);_0x22a780[_0x21607a(0x18c)][_0x21607a(0x1c8)](_0x21607a(0x17a),new _0x360196(_0x22a780)),this[_0x21607a(0x152)](_0x22a780,_0x21607a(0x1a8),(_0x189def,_0x3cdc44,_0x232f86)=>{const _0x1dba93=_0x21607a;_0x22a22d[_0x1dba93(0x15e)](_0x232f86,_0x22a780[_0x1dba93(0x16b)][_0x1dba93(0x1ed)](_0x1dba93(0x168)));}),this[_0x21607a(0x152)](_0x22a22d,dt(_0x21607a(0x17a),_0xba8450),(_0x4fdbb8,{threadId:_0x83bc70})=>{const _0x3d0f8c=_0x21607a,_0x570e58=this[_0x3d0f8c(0x1ee)][_0x3d0f8c(0x1a3)][_0x3d0f8c(0x1ed)](_0x16d9b1)[_0x3d0f8c(0x1ba)](_0x83bc70);_0x570e58?.[_0x3d0f8c(0x1eb)]&&this[_0x3d0f8c(0x195)](_0x83bc70);}),this[_0x21607a(0x152)](_0x22a22d,dt(_0x21607a(0x1ad),_0xba8450),(_0x6205c0,{threadId:_0x106ee2})=>{const _0x3a4b14=_0x21607a;_0x22a780[_0x3a4b14(0x1ce)][_0x3a4b14(0x184)]({'isUndoable':!0x1},_0x31767b=>{const _0x1a8448=_0x3a4b14,_0x2a3971=this[_0x1a8448(0x1d5)](_0x106ee2);for(const _0x477b3b of _0x2a3971)_0x31767b[_0x1a8448(0x153)](_0x477b3b);});}),this[_0x21607a(0x152)](_0x22a22d,dt(_0x21607a(0x191),_0xba8450),(_0x451fab,{threadId:_0x14e733})=>{const _0xa8f19e=_0x21607a;(this[_0xa8f19e(0x179)](_0x14e733),this[_0xa8f19e(0x1ee)][_0xa8f19e(0x1d7)][_0xa8f19e(0x1e5)][_0xa8f19e(0x1ab)])&&(this[_0xa8f19e(0x1ee)][_0xa8f19e(0x1a3)][_0xa8f19e(0x1ed)](_0x16d9b1)[_0xa8f19e(0x1ba)](_0x14e733)[_0xa8f19e(0x1eb)]||this[_0xa8f19e(0x1ee)][_0xa8f19e(0x1d7)][_0xa8f19e(0x1e5)][_0xa8f19e(0x1bb)]());},{'priority':_0x21607a(0x1aa)}),this[_0x21607a(0x152)](_0x22a22d,dt(_0x21607a(0x17e),_0xba8450),(_0x1d0413,{threadId:_0x5c54cf})=>{const _0x196866=_0x21607a;this[_0x196866(0x179)](_0x5c54cf);},{'priority':_0x21607a(0x1aa)}),this[_0x21607a(0x152)](_0x22a22d,dt(_0x21607a(0x18b),_0xba8450),(_0x484900,{threadId:_0x351b22,isFromAdapter:_0x512787})=>{const _0x1a5ee2=_0x21607a,_0x304ce5=this[_0x1a5ee2(0x1d5)](_0x351b22);if(_0x512787||0x0==_0x304ce5[_0x1a5ee2(0x183)]||!_0x22a22d[_0x1a5ee2(0x1ea)](_0x351b22))return;0x1===_0x22a22d[_0x1a5ee2(0x1ba)](_0x351b22)[_0x1a5ee2(0x183)]&&_0x22a780[_0x1a5ee2(0x1ce)][_0x1a5ee2(0x184)]({'isUndoable':!0x1},_0x57a18c=>{const _0x16b6c3=_0x1a5ee2;for(const _0x1e9117 of _0x304ce5)_0x57a18c[_0x16b6c3(0x1c9)](_0x1e9117,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x21607a(0x1aa)}),this[_0x21607a(0x171)](),this[_0x21607a(0x1bd)](),this[_0x21607a(0x1c7)](_0x343f41);}[_0x28c888(0x18d)](){!async function(_0x3e6c2d){const _0x352dd9=_0x3632cc([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]),_0x3cc380=0x73460ab3,_0xff9fea=0x73418573^_0x3cc380,_0x1afc9f=window[_0x3632cc([0x44,0x61,0x74,0x65])][_0x3632cc([0x6e,0x6f,0x77])](),_0x130dca=_0x3e6c2d[_0x3632cc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3efffc=new window[(_0x3632cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x67ea38=>{_0x130dca[_0x3632cc([0x6f,0x6e,0x63,0x65])](_0x3632cc([0x72,0x65,0x61,0x64,0x79]),_0x67ea38);}),_0x175b84={[_0x3632cc([0x6b,0x74,0x79])]:_0x3632cc([0x45,0x43]),[_0x3632cc([0x75,0x73,0x65])]:_0x3632cc([0x73,0x69,0x67]),[_0x3632cc([0x63,0x72,0x76])]:_0x3632cc([0x50,0x2d,0x32,0x35,0x36]),[_0x3632cc([0x78])]:_0x3632cc([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]),[_0x3632cc([0x79])]:_0x3632cc([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]),[_0x3632cc([0x61,0x6c,0x67])]:_0x3632cc([0x45,0x53,0x32,0x35,0x36])},_0x48e8cb=_0x130dca[_0x3632cc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3632cc([0x67,0x65,0x74])](_0x3632cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb530b6(){let _0x1bfdf9,_0x2dc4dc=null,_0x30ac52=null;try{if(_0x48e8cb==_0x3632cc([0x47,0x50,0x4c]))return _0x3632cc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1bfdf9=_0x42ff2f(),!_0x1bfdf9)return _0x3632cc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1bfdf9[_0x3632cc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30ac52=_0x13e399(_0x1bfdf9[_0x3632cc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1bfdf9[_0x3632cc([0x6a,0x74,0x69])])),await _0x1f6eaa()?_0x2baa0e()?_0x4ae430()?_0x3632cc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4195a1()?(_0x1bfdf9[_0x3632cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3632cc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2dc4dc=_0x3e82ca(_0x3632cc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b8e36()):_0x3632cc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3632cc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3632cc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3632cc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ae430(){const _0xb4ab43=[_0x3632cc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3632cc([0x74,0x72,0x69,0x61,0x6c])][_0x3632cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bfdf9[_0x3632cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1afc9f/0x3e8:0xe10*_0xff9fea;return _0x1bfdf9[_0x3632cc([0x65,0x78,0x70])]<_0xb4ab43;}function _0x2baa0e(){const _0x5007e1=_0x1bfdf9[_0x3632cc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5007e1)return!0x1;if(_0x5007e1[_0x3632cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3632cc([0x2a])))return!0x0;if(_0x5007e1[_0x3632cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3632cc([0x43,0x4d,0x54])))return!0x0;if(_0x5007e1[_0x3632cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3632cc([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x5c356a())return!0x0;if(_0x5007e1[_0x3632cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3632cc([0x52,0x43,0x4d,0x54]))){if(_0x2ec653())return!0x0;if(_0x391e13()||_0x206597())return!0x0;}return!0x1;}function _0x4195a1(){const _0x42397d=_0x2607,_0x5513b4=_0x1bfdf9[_0x3632cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5513b4||0x0==_0x5513b4[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ce5d0}=new URL(window[_0x3632cc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x42397d(0x165)]);if(_0x5513b4[_0x3632cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ce5d0))return!0x0;const _0x56dad7=_0x4ce5d0[_0x3632cc([0x73,0x70,0x6c,0x69,0x74])](_0x3632cc([0x2e]));return _0x5513b4[_0x3632cc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x744f49=>_0x744f49[_0x3632cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3632cc([0x2a])))[_0x3632cc([0x6d,0x61,0x70])](_0x56258b=>_0x56258b[_0x3632cc([0x73,0x70,0x6c,0x69,0x74])](_0x3632cc([0x2e])))[_0x3632cc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x332503=>_0x332503[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56dad7[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3632cc([0x6d,0x61,0x70])](_0x3a27d2=>Array(_0x56dad7[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a27d2[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3632cc([0x66,0x69,0x6c,0x6c])](_0x3a27d2[0x0]===_0x3632cc([0x2a])?_0x3632cc([0x2a]):'')[_0x3632cc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a27d2))[_0x3632cc([0x73,0x6f,0x6d,0x65])](_0x4073b7=>_0x56dad7[_0x3632cc([0x65,0x76,0x65,0x72,0x79])]((_0x253c2b,_0x1b7eb1)=>_0x4073b7[_0x1b7eb1]===_0x253c2b||_0x4073b7[_0x1b7eb1]===_0x3632cc([0x2a])));}function _0x3b8e36(){return _0x2dc4dc&&_0x30ac52?new window[(_0x3632cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23f44f,_0x3c687d)=>{_0x2dc4dc[_0x3632cc([0x74,0x68,0x65,0x6e])](_0x23f44f,_0x3c687d),_0x30ac52[_0x3632cc([0x74,0x68,0x65,0x6e])](_0x4ea7de=>{_0x4ea7de!=_0x3632cc([0x56,0x61,0x6c,0x69,0x64])&&_0x23f44f(_0x4ea7de);},_0x3c687d);}):_0x2dc4dc||_0x30ac52||_0x3632cc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13e399(_0x58b1de,_0x1ec462){return new window[(_0x3632cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d36d9=>{if(_0x162ff0())return _0x1d36d9(_0x3632cc([0x56,0x61,0x6c,0x69,0x64]));_0x2abdb3(),_0x130dca[_0x3632cc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3632cc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x11d49b=!0x1;const _0x34da31=_0x39b880();function _0x3d946e(_0x2239b0){return!!_0x2239b0&&(typeof _0x2239b0===_0x3632cc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2239b0===_0x3632cc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2239b0[_0x3632cc([0x74,0x68,0x65,0x6e])]===_0x3632cc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2239b0[_0x3632cc([0x63,0x61,0x74,0x63,0x68])]===_0x3632cc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30b496(_0x2edbcb){_0x1905f4(_0x2edbcb)[_0x3632cc([0x74,0x68,0x65,0x6e])](_0x4191fc=>{if(!_0x4191fc||_0x4191fc[_0x3632cc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3632cc([0x6f,0x6b]))return _0x3632cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ec8e7(_0x1ad259(_0x34da31+_0x1ec462))!=_0x4191fc[_0x3632cc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3632cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3632cc([0x56,0x61,0x6c,0x69,0x64]);})[_0x3632cc([0x74,0x68,0x65,0x6e])](_0x2d47a3=>(_0x34cb78(),_0x2d47a3),()=>{const _0x2e20fb=_0x431625();return null==_0x2e20fb?(_0x34cb78(),_0x3632cc([0x56,0x61,0x6c,0x69,0x64])):_0x3632cc(_0x1afc9f-_0x2e20fb>(0x574a8eb3^_0x3cc380)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3632cc([0x74,0x68,0x65,0x6e])](_0x1d36d9)[_0x3632cc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d36d9(_0x3632cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c4e7c=0x7370e433^_0x3cc380;function _0x34cb78(){const _0x2ce7f3=_0x3632cc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ec8e7(_0x1ad259(_0x58b1de)),_0x3f9c2f=_0x3324bb(_0x4ec8e7(window[_0x3632cc([0x4d,0x61,0x74,0x68])][_0x3632cc([0x63,0x65,0x69,0x6c])](_0x1afc9f/_0x3c4e7c)));window[_0x3632cc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3632cc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ce7f3,_0x3f9c2f);}function _0x431625(){const _0x3f1fa8=_0x3632cc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ec8e7(_0x1ad259(_0x58b1de)),_0x2bc5e6=window[_0x3632cc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3632cc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f1fa8);return _0x2bc5e6?window[_0x3632cc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3324bb(_0x2bc5e6),0x10)*_0x3c4e7c:null;}function _0x1905f4(_0x3e2f06){return new window[(_0x3632cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57a612,_0x51ab40)=>{_0x3e2f06[_0x3632cc([0x74,0x68,0x65,0x6e])](_0x57a612,_0x51ab40),window[_0x3632cc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51ab40,0x7347de73^_0x3cc380);});}}_0x130dca[_0x3632cc([0x6f,0x6e])](_0x3632cc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18b438,_0x10f803)=>{if(_0x10f803[0x0]!=_0x58b1de)return _0x1d36d9(_0x3632cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10f803[0x1]={..._0x10f803[0x1],[_0x3632cc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34da31};},{[_0x3632cc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3632cc([0x68,0x69,0x67,0x68])}),_0x130dca[_0x3632cc([0x6f,0x6e])](_0x3632cc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2d6908=>{_0x3d946e(_0x2d6908[_0x3632cc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x11d49b=!0x0,_0x30b496(_0x2d6908[_0x3632cc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3632cc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3632cc([0x6c,0x6f,0x77])}),_0x3efffc[_0x3632cc([0x74,0x68,0x65,0x6e])](()=>{_0x11d49b||_0x1d36d9(_0x3632cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x162ff0(){return _0x130dca[_0x3632cc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3632cc([0x76,0x69,0x65,0x77])][_0x3632cc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3632cc([0x61,0x75,0x74,0x6f]);}function _0x2abdb3(){_0x130dca[_0x3632cc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3632cc([0x76,0x69,0x65,0x77])][_0x3632cc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3632cc([0x61,0x75,0x74,0x6f]);}}function _0x3e82ca(_0x5045a4){const _0x54beb9=[new window[(_0x3632cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50ade2=>setTimeout(_0x50ade2,0x734f347f^_0x3cc380)),_0x3efffc[_0x3632cc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3632cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbec1d6=>{let _0x53d457=0x0;_0x130dca[_0x3632cc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3632cc([0x6f,0x6e])](_0x3632cc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x592420,_0x405c50)=>{_0x405c50[0x0][_0x3632cc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53d457++,_0x53d457==(0x73460f5b^_0x3cc380)&&(_0xbec1d6(),_0x592420[_0x3632cc([0x6f,0x66,0x66])]());});}))];return window[_0x3632cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3632cc([0x72,0x61,0x63,0x65])](_0x54beb9)[_0x3632cc([0x74,0x68,0x65,0x6e])](()=>_0x5045a4);}async function _0x3a95dd(){await _0x3efffc,_0x130dca[_0x3632cc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3632cc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39732e,_0x130dca[_0x3632cc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3632cc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39732e,_0x130dca[_0x3632cc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3632cc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c356a(){return window[_0x3632cc([0x67,0x6c,0x6f,0x62])]&&window[_0x3632cc([0x67,0x6c,0x6f,0x62])][_0x3632cc([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2ec653(){return _0x3f0920(_0x3632cc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3d1578(_0x3632cc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3632cc([0x73,0x74,0x61,0x74,0x65])]==_0x3632cc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x391e13(){return _0x3f0920(_0x3632cc([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 _0x206597(){return _0x3f0920(_0x3632cc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3a5283(_0x184bad){const _0x3ef0c0=_0x477224();_0x130dca[_0x3ef0c0]=_0x3632cc([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x184bad,_0x184bad!=_0x3632cc([0x56,0x61,0x6c,0x69,0x64])&&_0x3a95dd();}function _0x477224(){const _0x232d73=window[_0x3632cc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3632cc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3632cc([0x6e,0x6f,0x77])]())[_0x3632cc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3632cc([0x2e]),'');let _0x321c22=_0x3632cc([0x4b]);for(let _0x210a4f=0x0;_0x210a4f<_0x232d73[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x210a4f+=0x2){let _0x4c6a5d=window[_0x3632cc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x232d73[_0x3632cc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x210a4f,_0x210a4f+0x2));_0x4c6a5d>=_0x352dd9[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c6a5d-=_0x352dd9[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x321c22+=_0x352dd9[_0x4c6a5d];}return _0x321c22;}function _0x42ff2f(){const _0x1f0deb=_0x48e8cb[_0x3632cc([0x73,0x70,0x6c,0x69,0x74])](_0x3632cc([0x2e]));if(0x3!=_0x1f0deb[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x152f91(_0x1f0deb[0x1]);function _0x152f91(_0x5eafd0){const _0x1b84fb=_0x325c67(_0x5eafd0);return _0x1b84fb&&_0x3e8384()?_0x1b84fb:null;function _0x3e8384(){const _0x6b8cbd=_0x1b84fb[_0x3632cc([0x6a,0x74,0x69])],_0x502617=window[_0x3632cc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6b8cbd[_0x3632cc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6b8cbd[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x14ad4e={..._0x1b84fb,[_0x3632cc([0x6a,0x74,0x69])]:_0x6b8cbd[_0x3632cc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6b8cbd[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x14ad4e[_0x3632cc([0x76,0x63])],_0x1ad259(_0x14ad4e)==_0x502617;}}}async function _0x1f6eaa(){let _0x1d6deb=!0x0;try{const _0x1f9a98=_0x48e8cb[_0x3632cc([0x73,0x70,0x6c,0x69,0x74])](_0x3632cc([0x2e])),[_0x1ce6e1,_0x52e8e1,_0x128ec8]=_0x1f9a98;return _0xc280b0(_0x1ce6e1),await _0x47de33(_0x1ce6e1,_0x52e8e1,_0x128ec8),_0x1d6deb;}catch{return!0x1;}function _0xc280b0(_0x33e0fa){const _0x4b5dee=_0x325c67(_0x33e0fa);_0x4b5dee&&_0x4b5dee[_0x3632cc([0x61,0x6c,0x67])]==_0x3632cc([0x45,0x53,0x32,0x35,0x36])||(_0x1d6deb=!0x1);}async function _0x47de33(_0x450ee8,_0x3786a2,_0x50fe86){const _0x238570=window[_0x3632cc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3632cc([0x66,0x72,0x6f,0x6d])](_0x27a676(_0x50fe86),_0x1da859=>_0x1da859[_0x3632cc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x44152c=new window[(_0x3632cc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3632cc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x450ee8+_0x3632cc([0x2e])+_0x3786a2),_0x40f32f=window[_0x3632cc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3632cc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40f32f)return;const _0x425ffd=await _0x40f32f[_0x3632cc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3632cc([0x6a,0x77,0x6b]),_0x175b84,{[_0x3632cc([0x6e,0x61,0x6d,0x65])]:_0x3632cc([0x45,0x43,0x44,0x53,0x41]),[_0x3632cc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3632cc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3632cc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40f32f[_0x3632cc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3632cc([0x6e,0x61,0x6d,0x65])]:_0x3632cc([0x45,0x43,0x44,0x53,0x41]),[_0x3632cc([0x68,0x61,0x73,0x68])]:{[_0x3632cc([0x6e,0x61,0x6d,0x65])]:_0x3632cc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x425ffd,_0x238570,_0x44152c)||(_0x1d6deb=!0x1);}}function _0x325c67(_0x9ea80){return _0x9ea80[_0x3632cc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3632cc([0x65,0x79]))?JSON[_0x3632cc([0x70,0x61,0x72,0x73,0x65])](_0x27a676(_0x9ea80)):null;}function _0x27a676(_0x57675a){return window[_0x3632cc([0x61,0x74,0x6f,0x62])](_0x57675a[_0x3632cc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3632cc([0x2b]))[_0x3632cc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3632cc([0x2f])));}function _0x1ad259(_0x474312){let _0x458991=0x1505;function _0x351035(_0x17f423){for(let _0x4c9802=0x0;_0x4c9802<_0x17f423[_0x3632cc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c9802++){const _0x3c3e06=_0x17f423[_0x3632cc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c9802);_0x458991=(_0x458991<<0x5)+_0x458991+_0x3c3e06,_0x458991&=_0x458991;}}function _0x18804f(_0x299b6a){Array[_0x3632cc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x299b6a)?_0x299b6a[_0x3632cc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18804f):_0x299b6a&&typeof _0x299b6a==_0x3632cc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3632cc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x299b6a)[_0x3632cc([0x73,0x6f,0x72,0x74])]()[_0x3632cc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f7cdd,_0x2136a8])=>{_0x351035(_0x1f7cdd),_0x18804f(_0x2136a8);}):_0x351035(window[_0x3632cc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x299b6a));}return _0x18804f(_0x474312),_0x458991>>>0x0;}function _0x4ec8e7(_0x384734){return _0x384734[_0x3632cc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3632cc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3632cc([0x30]));}function _0x3324bb(_0x54b21c){return _0x54b21c[_0x3632cc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3632cc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3632cc([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f0920(_0x1a62d7){return _0x130dca[_0x3632cc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3632cc([0x68,0x61,0x73])](_0x1a62d7);}function _0x3d1578(_0x3f4277){return _0x130dca[_0x3632cc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3632cc([0x67,0x65,0x74])](_0x3f4277);}function _0x39732e(){}function _0x3632cc(_0x3953c7){const _0x2762e7=_0x2607;return _0x3953c7[_0x2762e7(0x1ca)](_0x716ccb=>String[_0x2762e7(0x17f)](_0x716ccb))[_0x2762e7(0x15d)]('');}_0x3a5283(await _0xb530b6());}(this);}[_0x28c888(0x172)](){const _0x4a4dff=_0x28c888,_0x3c68e3=this[_0x4a4dff(0x1ee)][_0x4a4dff(0x1a3)][_0x4a4dff(0x1ed)](_0x16d9b1),_0x820bba=this[_0x4a4dff(0x1ee)][_0x4a4dff(0x16b)][_0x4a4dff(0x1ed)](_0x4a4dff(0x168));for(const _0xb3578a of _0x3c68e3[_0x4a4dff(0x197)]({'channelId':_0x820bba}))_0x3c68e3[_0x4a4dff(0x15b)](_0xb3578a['id']),_0x3c68e3[_0x4a4dff(0x1bc)][_0x4a4dff(0x19e)](_0xb3578a['id']);super[_0x4a4dff(0x172)]();}[_0x28c888(0x17d)](_0x26566b){const _0x440ca6=_0x28c888;return this[_0x440ca6(0x1d5)](_0x26566b)[_0x440ca6(0x183)]>0x0;}[_0x28c888(0x1d5)](_0x3928dc){const _0x18c347=_0x28c888,_0x1be9b5=[];for(const _0x5480e7 of this[_0x18c347(0x1ee)][_0x18c347(0x1ce)][_0x18c347(0x1b4)])_0x5480e7[_0x18c347(0x160)][_0x18c347(0x1ae)](_0x18c347(0x1a2)+_0x3928dc)&&_0x1be9b5[_0x18c347(0x178)](_0x5480e7);return _0x1be9b5;}[_0x28c888(0x1d2)](_0x2aaf95){setTimeout(()=>{const _0x1a7eff=_0x2607,_0x47882e=this[_0x1a7eff(0x17c)](_0x2aaf95);if(!_0x47882e)return;this[_0x1a7eff(0x16a)]&&_0x5c078b(this[_0x1a7eff(0x16a)])['id']===_0x2aaf95&&_0x17fbab({'target':_0x47882e[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x28c888(0x179)](_0x2463e6){const _0xbb7850=_0x28c888;this[_0xbb7850(0x1ee)][_0xbb7850(0x1ce)][_0xbb7850(0x1b5)](()=>{const _0x2b863b=_0xbb7850;for(const _0x13b6f1 of this[_0x2b863b(0x1d5)](_0x2463e6))this[_0x2b863b(0x1ee)][_0x2b863b(0x1d7)][_0x2b863b(0x1df)](_0x13b6f1);});}[_0x28c888(0x195)](_0x4f01a9){const _0x5ecfe8=_0x28c888,_0x526c67=this[_0x5ecfe8(0x1ee)][_0x5ecfe8(0x1a3)][_0x5ecfe8(0x1ed)](_0x16d9b1),_0x3d8d92=this[_0x5ecfe8(0x1ee)][_0x5ecfe8(0x1a3)][_0x5ecfe8(0x1ed)](_0x25387c),_0x4a1793=_0x526c67[_0x5ecfe8(0x1ba)](_0x4f01a9);if(!_0x4a1793[_0x5ecfe8(0x161)]){const _0x5c3432=_0x4a1793[_0x5ecfe8(0x1cd)](()=>this[_0x5ecfe8(0x17c)](_0x4a1793['id']));_0x3d8d92[_0x5ecfe8(0x162)](_0x5c3432),_0x4a1793[_0x5ecfe8(0x1d8)]=!0x1;}}[_0x28c888(0x171)](){const _0x36b9a4=_0x28c888,_0x21b15f=this[_0x36b9a4(0x1ee)],_0x3e7344=_0x21b15f[_0x36b9a4(0x1a3)][_0x36b9a4(0x1ed)](_0x47c1cb);_0x21b15f[_0x36b9a4(0x1f2)][_0x36b9a4(0x1c4)](_0x36b9a4(0x16f))[_0x36b9a4(0x177)]({'model':_0x36b9a4(0x175),'view':(_0x259e83,_0x2fbdc5)=>{const _0x254fb2=_0x36b9a4,{id:_0x4d02eb}=_0x5c078b(_0x259e83[_0x254fb2(0x155)]),_0x10840b=_0x21b15f[_0x254fb2(0x1a3)][_0x254fb2(0x1ed)](_0x16d9b1)[_0x254fb2(0x1ba)](_0x4d02eb),_0x4c7d92=this[_0x254fb2(0x16a)]&&_0x5c078b(this[_0x254fb2(0x16a)])['id']===_0x4d02eb;let _0x11aeeb;if(_0x10840b&&_0x10840b[_0x254fb2(0x19a)]&&!_0x4c7d92&&_0x259e83[_0x254fb2(0x181)])return _0x2fbdc5[_0x254fb2(0x1a4)][_0x254fb2(0x1e7)](_0x259e83[_0x254fb2(0x181)],_0x254fb2(0x1e6)+_0x259e83[_0x254fb2(0x155)]),_0x2fbdc5[_0x254fb2(0x1a4)][_0x254fb2(0x1e7)](_0x259e83[_0x254fb2(0x181)],_0x254fb2(0x15a)+_0x259e83[_0x254fb2(0x155)]),null;const _0xc8a511=[_0x254fb2(0x1f5)];return _0x4c7d92&&_0xc8a511[_0x254fb2(0x178)](_0x254fb2(0x190)),_0x11aeeb=_0x10840b?.[_0x254fb2(0x183)]?_0x10840b[_0x254fb2(0x198)][_0x254fb2(0x154)][_0x254fb2(0x1ef)]['id']:_0x3e7344['me']['id'],{'classes':_0xc8a511,'attributes':{'data-comment':_0x4d02eb,'data-author-id':_0x11aeeb}};}}),_0x21b15f[_0x36b9a4(0x1f2)][_0x36b9a4(0x1c4)](_0x36b9a4(0x1a0))[_0x36b9a4(0x1e2)]({'model':_0x36b9a4(0x175),'view':(_0x1624ec,{options:_0x1b06c4})=>{const _0x4783f9=_0x36b9a4;if(_0x1b06c4[_0x4783f9(0x18f)])return null;const _0x27554c=_0x21b15f[_0x4783f9(0x1a3)][_0x4783f9(0x1ed)](_0x16d9b1),_0x406818=_0x21b15f[_0x4783f9(0x1ce)][_0x4783f9(0x1b4)][_0x4783f9(0x1ed)](_0x1624ec),{id:_0x5f53b7,part:_0x3efd69}=_0x5c078b(_0x1624ec);return _0x406818&&!_0x406818[_0x4783f9(0x182)]||_0x1b06c4[_0x4783f9(0x188)]&&_0x27554c[_0x4783f9(0x1ba)](_0x5f53b7)?.[_0x4783f9(0x19a)]?null:{'group':_0x4783f9(0x175),'name':_0x3efd69?_0x5f53b7+':'+_0x3efd69:_0x5f53b7};}}),_0x21b15f[_0x36b9a4(0x1f2)][_0x36b9a4(0x1c4)](_0x36b9a4(0x1da))[_0x36b9a4(0x174)]({'view':{'name':_0x36b9a4(0x175),'attributes':{'id':/^\w/}},'model':(_0x432f72,{writer:_0x507743})=>_0x507743[_0x36b9a4(0x1a6)](_0x36b9a4(0x1be),{'data-name':_0x36b9a4(0x1a2)+_0x432f72[_0x36b9a4(0x169)]('id')})}),_0x21b15f[_0x36b9a4(0x1f2)][_0x36b9a4(0x1c4)](_0x36b9a4(0x1da))[_0x36b9a4(0x1e9)]({'view':_0x36b9a4(0x175)});}[_0x28c888(0x1bd)](){const _0x3c6a6e=_0x28c888,_0x4a8c3c=this[_0x3c6a6e(0x1ee)],_0x251e7a=_0x4a8c3c[_0x3c6a6e(0x1a3)][_0x3c6a6e(0x1ed)](_0x16d9b1),_0x5200fe=new Set(),_0x348ce5=new Set();_0x4a8c3c[_0x3c6a6e(0x1ce)][_0x3c6a6e(0x1b2)][_0x3c6a6e(0x1c6)](_0xb2bdd1=>{const _0x8edd2f=_0x3c6a6e;let _0x5b0d55=!0x1;for(const {name:_0x27c3c5,data:_0x51c1ab}of _0x4a8c3c[_0x8edd2f(0x1ce)][_0x8edd2f(0x1b2)][_0x8edd2f(0x15c)][_0x8edd2f(0x19c)]()){const {group:_0x5d57e8,id:_0x190b39}=_0x5c078b(_0x27c3c5);let _0x26a647=_0x51c1ab[_0x8edd2f(0x163)];if(_0x8edd2f(0x175)!==_0x5d57e8||!_0x26a647)continue;const _0x295bef=_0x8edd2f(0x1f4)===_0x26a647[_0x8edd2f(0x1c5)][_0x8edd2f(0x1d3)];_0x295bef||(_0x26a647=ht(_0x26a647,_0x4a8c3c[_0x8edd2f(0x1ce)]),!_0x26a647||_0x26a647[_0x8edd2f(0x194)]||!_0x51c1ab[_0x8edd2f(0x163)]||_0x26a647[_0x8edd2f(0x185)](_0x51c1ab[_0x8edd2f(0x163)]))?_0x4a8c3c[_0x8edd2f(0x1ce)][_0x8edd2f(0x1f0)](_0x26a647)&&!_0x295bef?this[_0x8edd2f(0x1b7)]?_0x5200fe[_0x8edd2f(0x1c8)](_0x27c3c5):this[_0x8edd2f(0x1bf)](_0x27c3c5,_0x190b39):(_0x348ce5[_0x8edd2f(0x1c8)](_0x27c3c5),_0x5200fe[_0x8edd2f(0x19e)](_0x27c3c5),_0xb2bdd1[_0x8edd2f(0x153)](_0x27c3c5),_0x5b0d55=!0x0):(_0xb2bdd1[_0x8edd2f(0x1c9)](_0x27c3c5,{'range':_0x26a647}),_0x5b0d55=!0x0);}return _0x5b0d55;}),this['on'](_0x3c6a6e(0x16c),(_0x506ee5,_0x398e40,_0x97c40f)=>{const _0x4c23e7=_0x3c6a6e;if(!_0x97c40f&&_0x5200fe[_0x4c23e7(0x164)])for(const _0x4e97df of _0x5200fe){const {id:_0x3bb17b}=_0x5c078b(_0x4e97df);_0x5200fe[_0x4c23e7(0x19e)](_0x4e97df),_0x4a8c3c[_0x4c23e7(0x1ce)][_0x4c23e7(0x1b4)][_0x4c23e7(0x1ed)](_0x4e97df)&&this[_0x4c23e7(0x1bf)](_0x4e97df,_0x3bb17b);}}),this[_0x3c6a6e(0x152)](_0x4a8c3c[_0x3c6a6e(0x1ce)][_0x3c6a6e(0x1b2)],_0x3c6a6e(0x1b5),()=>{const _0x3e2395=_0x3c6a6e;for(const {name:_0xed9a72,data:{newRange:_0x44f53c}}of _0x4a8c3c[_0x3e2395(0x1ce)][_0x3e2395(0x1b2)][_0x3e2395(0x15c)][_0x3e2395(0x19c)]()){const {group:_0x4e74c4,id:_0x23f7ca}=_0x5c078b(_0xed9a72);if(_0x3e2395(0x175)!==_0x4e74c4)continue;const _0x2983ec=_0x251e7a[_0x3e2395(0x1ba)](_0x23f7ca),_0x3c3636=this[_0x3e2395(0x17d)](_0x23f7ca);_0x2983ec&&(!_0x2983ec[_0x3e2395(0x1d8)]&&_0x44f53c&&_0x4a8c3c[_0x3e2395(0x1d7)][_0x3e2395(0x1e5)][_0x3e2395(0x167)](_0x3e2395(0x1a9),()=>{const _0x2e4f5e=_0x3e2395,_0x3d30fe=_0x4a8c3c[_0x2e4f5e(0x1a3)][_0x2e4f5e(0x1ed)](_0xbaa956),_0x56daef=_0x251e7a[_0x2e4f5e(0x1f3)][_0x2e4f5e(0x1ed)](_0x2983ec)[_0x2e4f5e(0x1e5)];_0x3d30fe[_0x2e4f5e(0x1b6)](_0x56daef)[_0x2e4f5e(0x187)]();},{'priority':_0x3e2395(0x1aa)}),_0x2983ec[_0x3e2395(0x1d8)]=_0x3c3636||!!_0x44f53c),_0x44f53c||(_0x348ce5[_0x3e2395(0x1c8)](_0xed9a72),_0x5200fe[_0x3e2395(0x19e)](_0xed9a72));}for(const _0x340a30 of _0x348ce5){const {id:_0x50435a}=_0x5c078b(_0x340a30),_0x1231c6=_0x251e7a[_0x3e2395(0x1ba)](_0x50435a);if(_0x5200fe[_0x3e2395(0x19e)](_0x340a30),!_0x1231c6)continue;const _0x32eed8=this[_0x3e2395(0x17d)](_0x50435a);_0x32eed8||_0x1231c6[_0x3e2395(0x192)]?_0x32eed8||_0x1231c6[_0x3e2395(0x1eb)]||_0x1231c6[_0x3e2395(0x1ec)](new Date()):_0x1231c6[_0x3e2395(0x189)]();}_0x348ce5[_0x3e2395(0x15f)]();});}[_0x28c888(0x1c7)](_0x1688fe){const _0x5757ff=_0x28c888;_0x1688fe[_0x5757ff(0x19f)](_0xa04e14=>{const _0x197c61=_0x5757ff;_0xa04e14[_0x197c61(0x1eb)]&&this[_0x197c61(0x195)](_0xa04e14['id']);});}[_0x28c888(0x17c)](_0x14027e){const _0x2c9ac4=_0x28c888,_0x5e4554=this[_0x2c9ac4(0x1ee)],_0xf66201=this[_0x2c9ac4(0x1d5)](_0x14027e);return _0x406ae6(_0x5e4554[_0x2c9ac4(0x1d7)],_0xf66201);}[_0x28c888(0x1c2)](_0x390846){const _0x87aa65=_0x28c888,_0x210e11=this[_0x87aa65(0x1d5)](_0x390846);let _0x38f8cc='',_0x438894=!0x1;for(const _0x4fe91f of _0x210e11){const _0x21b164=_0x4fe91f[_0x87aa65(0x18a)]();for(const _0x2fdd79 of Array[_0x87aa65(0x1b9)](_0x21b164[_0x87aa65(0x1de)]()))_0x2fdd79['is'](_0x87aa65(0x1f6))?(_0x38f8cc&&_0x438894&&(_0x38f8cc+='\x20',_0x438894=!0x1),_0x38f8cc+=_0x2fdd79[_0x87aa65(0x1dc)]):_0x438894=!0x0;_0x438894=!0x0;}return _0x38f8cc[_0x87aa65(0x16e)](0x0,0x96);}[_0x28c888(0x1e3)](_0x4bc7d8,_0x394471){const _0x420ca0=_0x28c888,_0x35fb2f=this[_0x420ca0(0x1ee)],_0x484a4e=_0x35fb2f[_0x420ca0(0x1a3)][_0x420ca0(0x1ed)](_0x16d9b1);let _0x84ff23=_0x484a4e[_0x420ca0(0x1ba)](_0x394471);const _0x543a35=_0x35fb2f[_0x420ca0(0x16b)][_0x420ca0(0x1ed)](_0x420ca0(0x168)),_0x51590d=_0x35fb2f[_0x420ca0(0x1a3)][_0x420ca0(0x1ed)](_0x25387c);if(_0x84ff23&&(_0x84ff23[_0x420ca0(0x1eb)]&&_0x84ff23[_0x420ca0(0x1ec)](null),_0x84ff23[_0x420ca0(0x161)]))return _0x84ff23;return!this[_0x420ca0(0x1d5)](_0x394471)[0x0][_0x420ca0(0x193)]?_0x35fb2f[_0x420ca0(0x1d7)][_0x420ca0(0x1e5)][_0x420ca0(0x167)](_0x420ca0(0x1a9),()=>{const _0x5e8193=_0x420ca0;if(_0x484a4e[_0x5e8193(0x1ba)](_0x394471))return;const _0x3e2340=_0x35fb2f[_0x5e8193(0x1a3)][_0x5e8193(0x1ed)](_0xbaa956);_0x84ff23=_0x484a4e[_0x5e8193(0x1a1)]({'channelId':_0x543a35,'threadId':_0x394471,'target':()=>this[_0x5e8193(0x17c)](_0x394471),'context':{'type':_0x5e8193(0x156),'value':this[_0x5e8193(0x1c2)](_0x394471)}});const _0x2d0576=_0x484a4e[_0x5e8193(0x1f3)][_0x5e8193(0x1ed)](_0x84ff23)[_0x5e8193(0x1e5)],_0x529cae=_0x3e2340[_0x5e8193(0x1b6)](_0x2d0576);_0x529cae&&_0x51590d[_0x5e8193(0x162)](_0x529cae);},{'priority':_0x420ca0(0x1aa)}):_0x484a4e[_0x420ca0(0x186)]({'channelId':_0x543a35,'threadId':_0x394471})[_0x420ca0(0x1b0)](_0x2f4297=>{const _0x522259=_0x420ca0;if(_0x522259(0x17b)!==_0x35fb2f[_0x522259(0x1f7)]){if(_0x84ff23=_0x2f4297,_0x84ff23&&!_0x84ff23[_0x522259(0x161)]){const _0x6ce946=_0x84ff23[_0x522259(0x1cd)](()=>this[_0x522259(0x17c)](_0x394471));_0x51590d[_0x522259(0x162)](_0x6ce946),_0x84ff23[_0x522259(0x19a)]&&this[_0x522259(0x179)](_0x394471);}else{if(!_0x84ff23){const _0x3ae34e=this[_0x522259(0x1d5)](_0x394471);_0x35fb2f[_0x522259(0x1ce)][_0x522259(0x1b5)](_0xbfcf8d=>{const _0x1c9163=_0x522259;for(const _0x2e7e96 of _0x3ae34e)_0xbfcf8d[_0x1c9163(0x153)](_0x2e7e96);});}}}}),_0x84ff23;}[_0x28c888(0x1bf)](_0x62e729,_0x4fa91f){const _0x3ece3b=_0x28c888,_0x2c130e=this[_0x3ece3b(0x1e3)](_0x62e729,_0x4fa91f);_0x2c130e&&!_0x2c130e[_0x3ece3b(0x16d)]&&_0x2c130e[_0x3ece3b(0x1af)]({'type':_0x3ece3b(0x156),'value':this[_0x3ece3b(0x1c2)](_0x4fa91f)});}[_0x28c888(0x173)](){const _0x2fafef=_0x28c888,_0x3aa291=this[_0x2fafef(0x1ee)];_0x31162d(_0x3aa291[_0x2fafef(0x1ce)],({left:_0x3360f8,entered:_0x50d0d1})=>{const _0x3ae95b=_0x2fafef;for(const _0x3e6dca of _0x3360f8)if(mt(_0x3e6dca)){_0x3aa291['ui'][_0x3ae95b(0x199)][_0x3ae95b(0x159)](_0x1e5512(_0x3aa291[_0x3ae95b(0x1d4)],_0x3ae95b(0x1f1)));break;}for(const _0x42232e of _0x50d0d1)if(mt(_0x42232e)){_0x3aa291['ui'][_0x3ae95b(0x199)][_0x3ae95b(0x159)](_0x1e5512(_0x3aa291[_0x3ae95b(0x1d4)],_0x3ae95b(0x1c0),_0x27cb58(_0x229a0d)));break;}});}}function dt(_0x386b16,_0x5649fc){return _0x5649fc?_0x386b16+':'+_0x5649fc:_0x386b16;}function ht(_0x1a8e23,_0x3eb277){const _0x1d56d7=_0x28c888,_0x1d7061=_0x3eb277[_0x1d56d7(0x1ac)],_0x5d6a25=_0x3eb277[_0x1d56d7(0x1b8)](_0x1a8e23[_0x1d56d7(0x1e0)]);for(const _0x4a99aa of _0x1a8e23[_0x1d56d7(0x1c1)]()){const {type:_0xf5c2c9,item:_0x5c2258,nextPosition:_0x298750}=_0x4a99aa;if(_0x1d56d7(0x156)===_0xf5c2c9||_0x1d7061[_0x1d56d7(0x1c3)](_0x5c2258)){const _0x347ef7=_0x3eb277[_0x1d56d7(0x1d0)](_0x5c2258);_0x5d6a25[_0x1d56d7(0x194)]&&(_0x5d6a25[_0x1d56d7(0x1e0)]=_0x347ef7),_0x5d6a25[_0x1d56d7(0x19b)]=_0x298750;}}return _0x5d6a25;}function mt(_0x239308){const _0x47fab9=_0x28c888;return _0x47fab9(0x175)===_0x5c078b(_0x239308[_0x47fab9(0x160)])[_0x47fab9(0x1dd)];}
|
|
23
|
+
function _0x4e68(_0x355a62,_0x360711){const _0x50e2fa=_0x50e2();return _0x4e68=function(_0x4e689e,_0x2a70cd){_0x4e689e=_0x4e689e-0x9d;let _0x1b2c60=_0x50e2fa[_0x4e689e];return _0x1b2c60;},_0x4e68(_0x355a62,_0x360711);}const _0xc34e4e=_0x4e68;(function(_0x10656a,_0x4736b6){const _0x33f4ef=_0x4e68,_0x5d21b6=_0x10656a();while(!![]){try{const _0x30952b=parseInt(_0x33f4ef(0x10b))/0x1*(parseInt(_0x33f4ef(0x126))/0x2)+-parseInt(_0x33f4ef(0xca))/0x3+parseInt(_0x33f4ef(0x130))/0x4*(-parseInt(_0x33f4ef(0xa3))/0x5)+parseInt(_0x33f4ef(0x9f))/0x6*(parseInt(_0x33f4ef(0x136))/0x7)+parseInt(_0x33f4ef(0x107))/0x8*(parseInt(_0x33f4ef(0x133))/0x9)+parseInt(_0x33f4ef(0xfe))/0xa*(parseInt(_0x33f4ef(0xa1))/0xb)+-parseInt(_0x33f4ef(0x137))/0xc*(-parseInt(_0x33f4ef(0xc8))/0xd);if(_0x30952b===_0x4736b6)break;else _0x5d21b6['push'](_0x5d21b6['shift']());}catch(_0x5b413c){_0x5d21b6['push'](_0x5d21b6['shift']());}}}(_0x50e2,0x68aa0));import{Plugin as _0x3aa66f}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x1b1c35,scrollViewportToShowTarget as _0x5a4546,uid as _0x5c6ddf}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x35a60d}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x3a7cc3}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2b66cc,getAllMarkersDomElementsSorted as _0x107194,FOCUS_ANNOTATION_KEYSTROKE as _0x44fa57,Users as _0x1059c7}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x46b61c}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0xb865b6}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x2eee23}from'./integrations/importword.js';import{CommentsClipboard as _0x1222b8}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x48d659}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x5bf2b9}from'../annotations/annotations.js';import{getTranslation as _0x3a69cb}from'../utils/common-translations.js';import{splitMarkerName as _0x1ca423}from'../utils/splitmarkername.js';function _0x50e2(){const _0x192a71=['author','destroy','ENTER_COMMENT_ANNOUNCEMENT','change:isReadOnly','scrollToThreadMarker','isThreadsLoadingPaused','pluginName','affectsData','removeMarker','consumable','editingDowncast','_getTextContext','join','ariaLiveAnnouncer','getWalker','text','markerToData','differ','_detachCommentThread','ready','addMarker:','from','hasCommentThread','listenTo','createRange','state','first','once','_attachArchivedThread','document','2670PTYToS','group','elementToElement','getCommentThread','unlinkedAt','conversion','_initAriaMarkerChangeAnnouncements','updateMarker','comment:','8ZNzrFb','refreshVisibility','consume','item','238IAfWmb','isEqual','remove','get','change:activeMarker','add','channelId','markerName','substring','for','addCommentThread','getAttribute','size','markers','getAllMarkersForId','isAttached','plugins','change','CommentsEditing','LEAVE_COMMENT_ANNOUNCEMENT','then','destroyed','resolveCommentThread','comments','_handleThreadMarker','$textProxy','low','1966vWxLOj','_threads','announce','focus','init','getItems','getChangedMarkers','isSubmitted','map','href','4VjwPZs','model','length','2016009DMboTQ','registerPostFixer','data','7dRMazQ','88260EkKVae','context','_handleMarkerAddAndRemove','root','afterInit','getCommentThreads','change:isThreadsLoadingPaused','_threadToController','hasMarkerForId','setContext','newRange','comment','ck-comment-marker--active','removeMarker:','$marker','2229432GqdiUJ','managedUsingOperations','14113eaVSqp','set','1940425uWFhNu','upcast','addComment','fromCharCode','_hasTargetInContent','$graveyard','_handleInitialThreads','createElement','isPremiumPlugin','config','setUnlinkedAt','_attachMarkerToThread','collaboration.channelId','editing','getRange','_initializeMarkerConverters','openNewCommentThread','delete','_getTargetForId','registerAnnotation','createPositionBefore','_reconvertMarkers','hasContent','end','push','requires','switchReadOnly','name','startsWith','removeCommentThread','getByInnerView','fetchCommentThread','render','rootName','ignoreResolvedComments','activeMarker','forEach','195URSkSX','filter','1396872Tftmvr','editor','view','schema','ck-comment-marker','commands','reconvertMarker','dataToMarker','isOfficialPlugin','showCommentHighlights','attachTo','start','markerToHighlight','hasDomSelection','enqueueChange','dataDowncast','isCollapsed','isResolved','isObject','clear','locale','reopenCommentThread'];_0x50e2=function(){return _0x192a71;};return _0x50e2();}export class CommentsEditing extends _0x3aa66f{static get[_0xc34e4e(0xbc)](){return[_0x35a60d,_0x46b61c,_0x1059c7,_0xb865b6,_0x2eee23,_0x1222b8,_0x48d659];}static get[_0xc34e4e(0xe6)](){const _0x25e7ca=_0xc34e4e;return _0x25e7ca(0x11d);}static get[_0xc34e4e(0xd2)](){return!0x0;}static get[_0xc34e4e(0xab)](){return!0x0;}constructor(_0x201373){const _0x5f0d4a=_0xc34e4e;super(_0x201373),this[_0x5f0d4a(0xa2)](_0x5f0d4a(0xe5),!0x0),_0x201373[_0x5f0d4a(0x135)][_0x5f0d4a(0xfb)](_0x5f0d4a(0xf3),()=>this[_0x5f0d4a(0xe5)]=!0x1),this[_0x5f0d4a(0xa2)](_0x5f0d4a(0xc6),null),this['on'](_0x5f0d4a(0x10f),(_0x408d77,_0x4fc77b,_0x2a5644,_0x5c3ceb)=>{const _0x2bb6ca=_0x5f0d4a,_0x1c823d=_0x201373[_0x2bb6ca(0x11b)][_0x2bb6ca(0x10e)](_0x35a60d),_0x29dbed=_0x2a5644?_0x1ca423(_0x2a5644)['id']:null;_0x201373[_0x2bb6ca(0x131)][_0x2bb6ca(0x11c)](()=>{const _0x23e83c=_0x2bb6ca;if(_0x29dbed){const _0x4f6fb1=this[_0x23e83c(0x119)](_0x29dbed);for(const _0x143260 of _0x4f6fb1)_0x201373[_0x23e83c(0xb0)][_0x23e83c(0xd0)](_0x143260);}if(_0x5c3ceb){const {id:_0x372490}=_0x1ca423(_0x5c3ceb),_0xd602c0=_0x1c823d[_0x23e83c(0x101)](_0x372490);if(_0xd602c0&&_0xd602c0[_0x23e83c(0x102)])return;if(_0xd602c0&&!_0xd602c0[_0x23e83c(0x11a)])return;const _0x13470b=this[_0x23e83c(0x119)](_0x372490);for(const _0x3656ea of _0x13470b)_0x201373[_0x23e83c(0xb0)][_0x23e83c(0xd0)](_0x3656ea);}}),_0x29dbed&&this[_0x2bb6ca(0xe4)](_0x29dbed);}),this[_0x5f0d4a(0x104)]();}[_0xc34e4e(0x12a)](){const _0x31fa2f=_0xc34e4e,_0x401191=this[_0x31fa2f(0xcb)],_0x56d4ce=_0x401191[_0x31fa2f(0x11b)][_0x31fa2f(0x10e)](_0x35a60d),_0x58cf9d=_0x401191[_0x31fa2f(0xac)][_0x31fa2f(0x10e)](_0x31fa2f(0xaf)),_0x53266f=_0x56d4ce[_0x31fa2f(0x13c)]()[_0x31fa2f(0xc9)](_0x2e5f12=>_0x2e5f12[_0x31fa2f(0x111)]!==_0x58cf9d);_0x401191[_0x31fa2f(0xcf)][_0x31fa2f(0x110)](_0x31fa2f(0x115),new _0x3a7cc3(_0x401191)),this[_0x31fa2f(0xf7)](_0x401191,_0x31fa2f(0xe3),(_0x3148b5,_0x272540,_0x5f18cf)=>{const _0x535dd8=_0x31fa2f;_0x56d4ce[_0x535dd8(0xbd)](_0x5f18cf,_0x401191[_0x535dd8(0xac)][_0x535dd8(0x10e)](_0x535dd8(0xaf)));}),this[_0x31fa2f(0xf7)](_0x56d4ce,dt(_0x31fa2f(0x115),_0x58cf9d),(_0x3ac2c1,{threadId:_0x1e3a68})=>{const _0x2c956f=_0x31fa2f,_0x2c8bd0=this[_0x2c956f(0xcb)][_0x2c956f(0x11b)][_0x2c956f(0x10e)](_0x35a60d)[_0x2c956f(0x101)](_0x1e3a68);_0x2c8bd0?.[_0x2c956f(0x102)]&&this[_0x2c956f(0xfc)](_0x1e3a68);}),this[_0x31fa2f(0xf7)](_0x56d4ce,dt(_0x31fa2f(0xc0),_0x58cf9d),(_0x53527a,{threadId:_0x28180e})=>{const _0x576d18=_0x31fa2f;_0x401191[_0x576d18(0x131)][_0x576d18(0xd8)]({'isUndoable':!0x1},_0x34f438=>{const _0x4a4913=_0x576d18,_0x3744ba=this[_0x4a4913(0x119)](_0x28180e);for(const _0x2afc08 of _0x3744ba)_0x34f438[_0x4a4913(0xe8)](_0x2afc08);});}),this[_0x31fa2f(0xf7)](_0x56d4ce,dt(_0x31fa2f(0x121),_0x58cf9d),(_0x275087,{threadId:_0x218f3f})=>{const _0x3cc884=_0x31fa2f;(this[_0x3cc884(0xb8)](_0x218f3f),this[_0x3cc884(0xcb)][_0x3cc884(0xb0)][_0x3cc884(0xcc)][_0x3cc884(0xd7)])&&(this[_0x3cc884(0xcb)][_0x3cc884(0x11b)][_0x3cc884(0x10e)](_0x35a60d)[_0x3cc884(0x101)](_0x218f3f)[_0x3cc884(0x102)]||this[_0x3cc884(0xcb)][_0x3cc884(0xb0)][_0x3cc884(0xcc)][_0x3cc884(0x129)]());},{'priority':_0x31fa2f(0x125)}),this[_0x31fa2f(0xf7)](_0x56d4ce,dt(_0x31fa2f(0xdf),_0x58cf9d),(_0x94d23c,{threadId:_0x1bd81c})=>{const _0x3b22a9=_0x31fa2f;this[_0x3b22a9(0xb8)](_0x1bd81c);},{'priority':_0x31fa2f(0x125)}),this[_0x31fa2f(0xf7)](_0x56d4ce,dt(_0x31fa2f(0xa5),_0x58cf9d),(_0x3a0955,{threadId:_0x296caa,isFromAdapter:_0x5d0337})=>{const _0x4cec56=_0x31fa2f,_0x209d80=this[_0x4cec56(0x119)](_0x296caa);if(_0x5d0337||0x0==_0x209d80[_0x4cec56(0x132)]||!_0x56d4ce[_0x4cec56(0xf6)](_0x296caa))return;0x1===_0x56d4ce[_0x4cec56(0x101)](_0x296caa)[_0x4cec56(0x132)]&&_0x401191[_0x4cec56(0x131)][_0x4cec56(0xd8)]({'isUndoable':!0x1},_0x313a3e=>{const _0x119a27=_0x4cec56;for(const _0x247f38 of _0x209d80)_0x313a3e[_0x119a27(0x105)](_0x247f38,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x31fa2f(0x125)}),this[_0x31fa2f(0xb2)](),this[_0x31fa2f(0x139)](),this[_0x31fa2f(0xa9)](_0x53266f);}[_0xc34e4e(0x13b)](){!async function(_0x44f8d7){const _0x4241b6=_0x2092c8([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]),_0x286913=0x73460ab3,_0x141142=0x73419f43^_0x286913,_0x1f580b=window[_0x2092c8([0x44,0x61,0x74,0x65])][_0x2092c8([0x6e,0x6f,0x77])](),_0xc7aa0a=_0x44f8d7[_0x2092c8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31e082=new window[(_0x2092c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb40c81=>{_0xc7aa0a[_0x2092c8([0x6f,0x6e,0x63,0x65])](_0x2092c8([0x72,0x65,0x61,0x64,0x79]),_0xb40c81);}),_0x15e6d1={[_0x2092c8([0x6b,0x74,0x79])]:_0x2092c8([0x45,0x43]),[_0x2092c8([0x75,0x73,0x65])]:_0x2092c8([0x73,0x69,0x67]),[_0x2092c8([0x63,0x72,0x76])]:_0x2092c8([0x50,0x2d,0x32,0x35,0x36]),[_0x2092c8([0x78])]:_0x2092c8([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]),[_0x2092c8([0x79])]:_0x2092c8([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]),[_0x2092c8([0x61,0x6c,0x67])]:_0x2092c8([0x45,0x53,0x32,0x35,0x36])},_0xc97d6c=_0xc7aa0a[_0x2092c8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2092c8([0x67,0x65,0x74])](_0x2092c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4be7e1(){let _0x1dfaf5,_0x3810ff=null,_0x52115b=null;try{if(_0xc97d6c==_0x2092c8([0x47,0x50,0x4c]))return _0x2092c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1dfaf5=_0xb0708(),!_0x1dfaf5)return _0x2092c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1dfaf5[_0x2092c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52115b=_0x17510d(_0x1dfaf5[_0x2092c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1dfaf5[_0x2092c8([0x6a,0x74,0x69])])),await _0x3e04ed()?_0x37e458()?_0x2a3b2a()?_0x2092c8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29bfc8()?(_0x1dfaf5[_0x2092c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2092c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3810ff=_0x228977(_0x2092c8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b5c79()):_0x2092c8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2092c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2092c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2092c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a3b2a(){const _0x4a5e76=[_0x2092c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2092c8([0x74,0x72,0x69,0x61,0x6c])][_0x2092c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dfaf5[_0x2092c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f580b/0x3e8:0xe10*_0x141142;return _0x1dfaf5[_0x2092c8([0x65,0x78,0x70])]<_0x4a5e76;}function _0x37e458(){const _0x40ba36=_0x1dfaf5[_0x2092c8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x40ba36)return!0x1;if(_0x40ba36[_0x2092c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2092c8([0x2a])))return!0x0;if(_0x40ba36[_0x2092c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2092c8([0x43,0x4d,0x54])))return!0x0;if(_0x40ba36[_0x2092c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2092c8([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0xf469b8())return!0x0;if(_0x40ba36[_0x2092c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2092c8([0x52,0x43,0x4d,0x54]))){if(_0x3352d6())return!0x0;if(_0x58adbd()||_0x5bfc53())return!0x0;}return!0x1;}function _0x29bfc8(){const _0x21f96c=_0x4e68,_0x53287f=_0x1dfaf5[_0x2092c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53287f||0x0==_0x53287f[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x180b2b}=new URL(window[_0x2092c8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x21f96c(0x12f)]);if(_0x53287f[_0x2092c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x180b2b))return!0x0;const _0x1a4eb1=_0x180b2b[_0x2092c8([0x73,0x70,0x6c,0x69,0x74])](_0x2092c8([0x2e]));return _0x53287f[_0x2092c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ed2e1=>_0x4ed2e1[_0x2092c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2092c8([0x2a])))[_0x2092c8([0x6d,0x61,0x70])](_0x4243fc=>_0x4243fc[_0x2092c8([0x73,0x70,0x6c,0x69,0x74])](_0x2092c8([0x2e])))[_0x2092c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f1b20=>_0x1f1b20[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a4eb1[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2092c8([0x6d,0x61,0x70])](_0x245d9a=>Array(_0x1a4eb1[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x245d9a[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2092c8([0x66,0x69,0x6c,0x6c])](_0x245d9a[0x0]===_0x2092c8([0x2a])?_0x2092c8([0x2a]):'')[_0x2092c8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x245d9a))[_0x2092c8([0x73,0x6f,0x6d,0x65])](_0x4ea528=>_0x1a4eb1[_0x2092c8([0x65,0x76,0x65,0x72,0x79])]((_0x236559,_0x1cba2b)=>_0x4ea528[_0x1cba2b]===_0x236559||_0x4ea528[_0x1cba2b]===_0x2092c8([0x2a])));}function _0x4b5c79(){return _0x3810ff&&_0x52115b?new window[(_0x2092c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x220c50,_0x126b65)=>{_0x3810ff[_0x2092c8([0x74,0x68,0x65,0x6e])](_0x220c50,_0x126b65),_0x52115b[_0x2092c8([0x74,0x68,0x65,0x6e])](_0x415003=>{_0x415003!=_0x2092c8([0x56,0x61,0x6c,0x69,0x64])&&_0x220c50(_0x415003);},_0x126b65);}):_0x3810ff||_0x52115b||_0x2092c8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17510d(_0x5885c5,_0x5b8139){return new window[(_0x2092c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x227e79=>{if(_0x1f5b00())return _0x227e79(_0x2092c8([0x56,0x61,0x6c,0x69,0x64]));_0x85804d(),_0xc7aa0a[_0x2092c8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2092c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5066e4=!0x1;const _0x149f0d=_0x5c6ddf();function _0x34afaf(_0x2a0855){return!!_0x2a0855&&(typeof _0x2a0855===_0x2092c8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a0855===_0x2092c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a0855[_0x2092c8([0x74,0x68,0x65,0x6e])]===_0x2092c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a0855[_0x2092c8([0x63,0x61,0x74,0x63,0x68])]===_0x2092c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x25d196(_0x5ca529){_0x4c12ec(_0x5ca529)[_0x2092c8([0x74,0x68,0x65,0x6e])](_0xcd8236=>{if(!_0xcd8236||_0xcd8236[_0x2092c8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2092c8([0x6f,0x6b]))return _0x2092c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x8e9fbc(_0x5decfe(_0x149f0d+_0x5b8139))!=_0xcd8236[_0x2092c8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2092c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2092c8([0x56,0x61,0x6c,0x69,0x64]);})[_0x2092c8([0x74,0x68,0x65,0x6e])](_0x401a43=>(_0x474bc0(),_0x401a43),()=>{const _0x5c22f7=_0x299e2c();return null==_0x5c22f7?(_0x474bc0(),_0x2092c8([0x56,0x61,0x6c,0x69,0x64])):_0x2092c8(_0x1f580b-_0x5c22f7>(0x574a8eb3^_0x286913)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2092c8([0x74,0x68,0x65,0x6e])](_0x227e79)[_0x2092c8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x227e79(_0x2092c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc8cc38=0x7370e433^_0x286913;function _0x474bc0(){const _0x21c945=_0x2092c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x8e9fbc(_0x5decfe(_0x5885c5)),_0x252940=_0xcd105f(_0x8e9fbc(window[_0x2092c8([0x4d,0x61,0x74,0x68])][_0x2092c8([0x63,0x65,0x69,0x6c])](_0x1f580b/_0xc8cc38)));window[_0x2092c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2092c8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21c945,_0x252940);}function _0x299e2c(){const _0x2099c6=_0x2092c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x8e9fbc(_0x5decfe(_0x5885c5)),_0x470c65=window[_0x2092c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2092c8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2099c6);return _0x470c65?window[_0x2092c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcd105f(_0x470c65),0x10)*_0xc8cc38:null;}function _0x4c12ec(_0x34c385){return new window[(_0x2092c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42b9dc,_0x216975)=>{_0x34c385[_0x2092c8([0x74,0x68,0x65,0x6e])](_0x42b9dc,_0x216975),window[_0x2092c8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x216975,0x7347de73^_0x286913);});}}_0xc7aa0a[_0x2092c8([0x6f,0x6e])](_0x2092c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28885e,_0x330ce3)=>{if(_0x330ce3[0x0]!=_0x5885c5)return _0x227e79(_0x2092c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x330ce3[0x1]={..._0x330ce3[0x1],[_0x2092c8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x149f0d};},{[_0x2092c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2092c8([0x68,0x69,0x67,0x68])}),_0xc7aa0a[_0x2092c8([0x6f,0x6e])](_0x2092c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50eb0e=>{_0x34afaf(_0x50eb0e[_0x2092c8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5066e4=!0x0,_0x25d196(_0x50eb0e[_0x2092c8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2092c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2092c8([0x6c,0x6f,0x77])}),_0x31e082[_0x2092c8([0x74,0x68,0x65,0x6e])](()=>{_0x5066e4||_0x227e79(_0x2092c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f5b00(){return _0xc7aa0a[_0x2092c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2092c8([0x76,0x69,0x65,0x77])][_0x2092c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2092c8([0x61,0x75,0x74,0x6f]);}function _0x85804d(){_0xc7aa0a[_0x2092c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2092c8([0x76,0x69,0x65,0x77])][_0x2092c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2092c8([0x61,0x75,0x74,0x6f]);}}function _0x228977(_0x473e6c){const _0x4b989e=[new window[(_0x2092c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x324505=>setTimeout(_0x324505,0x734f347f^_0x286913)),_0x31e082[_0x2092c8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2092c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e5093=>{let _0x1dad5c=0x0;_0xc7aa0a[_0x2092c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2092c8([0x6f,0x6e])](_0x2092c8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10376f,_0x23bd8d)=>{_0x23bd8d[0x0][_0x2092c8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1dad5c++,_0x1dad5c==(0x73460f5b^_0x286913)&&(_0x3e5093(),_0x10376f[_0x2092c8([0x6f,0x66,0x66])]());});}))];return window[_0x2092c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2092c8([0x72,0x61,0x63,0x65])](_0x4b989e)[_0x2092c8([0x74,0x68,0x65,0x6e])](()=>_0x473e6c);}async function _0x55628d(){await _0x31e082,_0xc7aa0a[_0x2092c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2092c8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4eec86,_0xc7aa0a[_0x2092c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2092c8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4eec86,_0xc7aa0a[_0x2092c8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2092c8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf469b8(){return window[_0x2092c8([0x67,0x6c,0x6f,0x62])]&&window[_0x2092c8([0x67,0x6c,0x6f,0x62])][_0x2092c8([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3352d6(){return _0x121f3f(_0x2092c8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x174b17(_0x2092c8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2092c8([0x73,0x74,0x61,0x74,0x65])]==_0x2092c8([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x58adbd(){return _0x121f3f(_0x2092c8([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 _0x5bfc53(){return _0x121f3f(_0x2092c8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3f0049(_0x323efb){const _0x39320f=_0x295348();_0xc7aa0a[_0x39320f]=_0x2092c8([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x323efb,_0x323efb!=_0x2092c8([0x56,0x61,0x6c,0x69,0x64])&&_0x55628d();}function _0x295348(){const _0x5af487=window[_0x2092c8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2092c8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2092c8([0x6e,0x6f,0x77])]())[_0x2092c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2092c8([0x2e]),'');let _0x2c8511=_0x2092c8([0x4b]);for(let _0x3be626=0x0;_0x3be626<_0x5af487[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3be626+=0x2){let _0xab5b3d=window[_0x2092c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5af487[_0x2092c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3be626,_0x3be626+0x2));_0xab5b3d>=_0x4241b6[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xab5b3d-=_0x4241b6[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c8511+=_0x4241b6[_0xab5b3d];}return _0x2c8511;}function _0xb0708(){const _0x3c79ac=_0xc97d6c[_0x2092c8([0x73,0x70,0x6c,0x69,0x74])](_0x2092c8([0x2e]));if(0x3!=_0x3c79ac[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x64256f(_0x3c79ac[0x1]);function _0x64256f(_0x26be74){const _0x21fb03=_0x117533(_0x26be74);return _0x21fb03&&_0x43cd55()?_0x21fb03:null;function _0x43cd55(){const _0x2d510e=_0x21fb03[_0x2092c8([0x6a,0x74,0x69])],_0x3a0a08=window[_0x2092c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d510e[_0x2092c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d510e[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f35b8={..._0x21fb03,[_0x2092c8([0x6a,0x74,0x69])]:_0x2d510e[_0x2092c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d510e[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f35b8[_0x2092c8([0x76,0x63])],_0x5decfe(_0x5f35b8)==_0x3a0a08;}}}async function _0x3e04ed(){let _0x223a3b=!0x0;try{const _0x1f1154=_0xc97d6c[_0x2092c8([0x73,0x70,0x6c,0x69,0x74])](_0x2092c8([0x2e])),[_0x42140b,_0x1fd017,_0x2e750d]=_0x1f1154;return _0x306892(_0x42140b),await _0x508e02(_0x42140b,_0x1fd017,_0x2e750d),_0x223a3b;}catch{return!0x1;}function _0x306892(_0x4e56e5){const _0x50e5a6=_0x117533(_0x4e56e5);_0x50e5a6&&_0x50e5a6[_0x2092c8([0x61,0x6c,0x67])]==_0x2092c8([0x45,0x53,0x32,0x35,0x36])||(_0x223a3b=!0x1);}async function _0x508e02(_0x20d3e2,_0x62141e,_0x619206){const _0x2a15a7=window[_0x2092c8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2092c8([0x66,0x72,0x6f,0x6d])](_0x39c912(_0x619206),_0x393328=>_0x393328[_0x2092c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59b7ed=new window[(_0x2092c8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2092c8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20d3e2+_0x2092c8([0x2e])+_0x62141e),_0x3983cc=window[_0x2092c8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2092c8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3983cc)return;const _0x16cf64=await _0x3983cc[_0x2092c8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2092c8([0x6a,0x77,0x6b]),_0x15e6d1,{[_0x2092c8([0x6e,0x61,0x6d,0x65])]:_0x2092c8([0x45,0x43,0x44,0x53,0x41]),[_0x2092c8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2092c8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2092c8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3983cc[_0x2092c8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2092c8([0x6e,0x61,0x6d,0x65])]:_0x2092c8([0x45,0x43,0x44,0x53,0x41]),[_0x2092c8([0x68,0x61,0x73,0x68])]:{[_0x2092c8([0x6e,0x61,0x6d,0x65])]:_0x2092c8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16cf64,_0x2a15a7,_0x59b7ed)||(_0x223a3b=!0x1);}}function _0x117533(_0x4bf535){return _0x4bf535[_0x2092c8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2092c8([0x65,0x79]))?JSON[_0x2092c8([0x70,0x61,0x72,0x73,0x65])](_0x39c912(_0x4bf535)):null;}function _0x39c912(_0x35ccb1){return window[_0x2092c8([0x61,0x74,0x6f,0x62])](_0x35ccb1[_0x2092c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2092c8([0x2b]))[_0x2092c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2092c8([0x2f])));}function _0x5decfe(_0x25d5ef){let _0x5c626b=0x1505;function _0x32620f(_0x30b2a5){for(let _0x5c02f2=0x0;_0x5c02f2<_0x30b2a5[_0x2092c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c02f2++){const _0x4b500c=_0x30b2a5[_0x2092c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c02f2);_0x5c626b=(_0x5c626b<<0x5)+_0x5c626b+_0x4b500c,_0x5c626b&=_0x5c626b;}}function _0x12a33e(_0x4f334c){Array[_0x2092c8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f334c)?_0x4f334c[_0x2092c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12a33e):_0x4f334c&&typeof _0x4f334c==_0x2092c8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2092c8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f334c)[_0x2092c8([0x73,0x6f,0x72,0x74])]()[_0x2092c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf602fb,_0x18f129])=>{_0x32620f(_0xf602fb),_0x12a33e(_0x18f129);}):_0x32620f(window[_0x2092c8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f334c));}return _0x12a33e(_0x25d5ef),_0x5c626b>>>0x0;}function _0x8e9fbc(_0x72bb35){return _0x72bb35[_0x2092c8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2092c8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2092c8([0x30]));}function _0xcd105f(_0x15f319){return _0x15f319[_0x2092c8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2092c8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2092c8([0x6a,0x6f,0x69,0x6e])]('');}function _0x121f3f(_0x2806c3){return _0xc7aa0a[_0x2092c8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2092c8([0x68,0x61,0x73])](_0x2806c3);}function _0x174b17(_0xd45d66){return _0xc7aa0a[_0x2092c8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2092c8([0x67,0x65,0x74])](_0xd45d66);}function _0x4eec86(){}function _0x2092c8(_0x23efd3){const _0x109af5=_0x4e68;return _0x23efd3[_0x109af5(0x12e)](_0x37edf4=>String[_0x109af5(0xa6)](_0x37edf4))[_0x109af5(0xec)]('');}_0x3f0049(await _0x4be7e1());}(this);}[_0xc34e4e(0xe1)](){const _0x42814f=_0xc34e4e,_0x4569a8=this[_0x42814f(0xcb)][_0x42814f(0x11b)][_0x42814f(0x10e)](_0x35a60d),_0x31c24f=this[_0x42814f(0xcb)][_0x42814f(0xac)][_0x42814f(0x10e)](_0x42814f(0xaf));for(const _0x3bd164 of _0x4569a8[_0x42814f(0x13c)]({'channelId':_0x31c24f}))_0x4569a8[_0x42814f(0xf2)](_0x3bd164['id']),_0x4569a8[_0x42814f(0x127)][_0x42814f(0xb4)](_0x3bd164['id']);super[_0x42814f(0xe1)]();}[_0xc34e4e(0x13f)](_0x45a402){const _0x3c5913=_0xc34e4e;return this[_0x3c5913(0x119)](_0x45a402)[_0x3c5913(0x132)]>0x0;}[_0xc34e4e(0x119)](_0x12be6e){const _0x1568f1=_0xc34e4e,_0x1ba63a=[];for(const _0x538139 of this[_0x1568f1(0xcb)][_0x1568f1(0x131)][_0x1568f1(0x118)])_0x538139[_0x1568f1(0xbe)][_0x1568f1(0xbf)](_0x1568f1(0x106)+_0x12be6e)&&_0x1ba63a[_0x1568f1(0xbb)](_0x538139);return _0x1ba63a;}[_0xc34e4e(0xe4)](_0x15346c){setTimeout(()=>{const _0x6d9f85=_0x4e68,_0x1b65ba=this[_0x6d9f85(0xb5)](_0x15346c);if(!_0x1b65ba)return;this[_0x6d9f85(0xc6)]&&_0x1ca423(this[_0x6d9f85(0xc6)])['id']===_0x15346c&&_0x5a4546({'target':_0x1b65ba[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xc34e4e(0xb8)](_0x340abd){const _0x5c9662=_0xc34e4e;this[_0x5c9662(0xcb)][_0x5c9662(0x131)][_0x5c9662(0x11c)](()=>{const _0x5227b4=_0x5c9662;for(const _0x517776 of this[_0x5227b4(0x119)](_0x340abd))this[_0x5227b4(0xcb)][_0x5227b4(0xb0)][_0x5227b4(0xd0)](_0x517776);});}[_0xc34e4e(0xfc)](_0x4c5307){const _0x28d88c=_0xc34e4e,_0x946e32=this[_0x28d88c(0xcb)][_0x28d88c(0x11b)][_0x28d88c(0x10e)](_0x35a60d),_0x5803db=this[_0x28d88c(0xcb)][_0x28d88c(0x11b)][_0x28d88c(0x10e)](_0x46b61c),_0xe1ce7d=_0x946e32[_0x28d88c(0x101)](_0x4c5307);if(!_0xe1ce7d[_0x28d88c(0x11a)]){const _0x6c8ed7=_0xe1ce7d[_0x28d88c(0xd4)](()=>this[_0x28d88c(0xb5)](_0xe1ce7d['id']));_0x5803db[_0x28d88c(0xb6)](_0x6c8ed7),_0xe1ce7d[_0x28d88c(0xa7)]=!0x1;}}[_0xc34e4e(0xb2)](){const _0x5f5621=_0xc34e4e,_0xee64c7=this[_0x5f5621(0xcb)],_0x4679ad=_0xee64c7[_0x5f5621(0x11b)][_0x5f5621(0x10e)](_0x1059c7);_0xee64c7[_0x5f5621(0x103)][_0x5f5621(0x114)](_0x5f5621(0xea))[_0x5f5621(0xd6)]({'model':_0x5f5621(0x142),'view':(_0x10a369,_0x1c2a50)=>{const _0x339086=_0x5f5621,{id:_0x18db51}=_0x1ca423(_0x10a369[_0x339086(0x112)]),_0x3c1c68=_0xee64c7[_0x339086(0x11b)][_0x339086(0x10e)](_0x35a60d)[_0x339086(0x101)](_0x18db51),_0x2fbd37=this[_0x339086(0xc6)]&&_0x1ca423(this[_0x339086(0xc6)])['id']===_0x18db51;let _0x4c250d;if(_0x3c1c68&&_0x3c1c68[_0x339086(0xdb)]&&!_0x2fbd37&&_0x10a369[_0x339086(0x10a)])return _0x1c2a50[_0x339086(0xe9)][_0x339086(0x109)](_0x10a369[_0x339086(0x10a)],_0x339086(0xf4)+_0x10a369[_0x339086(0x112)]),_0x1c2a50[_0x339086(0xe9)][_0x339086(0x109)](_0x10a369[_0x339086(0x10a)],_0x339086(0x9d)+_0x10a369[_0x339086(0x112)]),null;const _0x1d0669=[_0x339086(0xce)];return _0x2fbd37&&_0x1d0669[_0x339086(0xbb)](_0x339086(0x143)),_0x4c250d=_0x3c1c68?.[_0x339086(0x132)]?_0x3c1c68[_0x339086(0x122)][_0x339086(0xfa)][_0x339086(0xe0)]['id']:_0x4679ad['me']['id'],{'classes':_0x1d0669,'attributes':{'data-comment':_0x18db51,'data-author-id':_0x4c250d}};}}),_0xee64c7[_0x5f5621(0x103)][_0x5f5621(0x114)](_0x5f5621(0xd9))[_0x5f5621(0xf0)]({'model':_0x5f5621(0x142),'view':(_0x46f815,{options:_0x3246df})=>{const _0x23b112=_0x5f5621;if(_0x3246df[_0x23b112(0xd3)])return null;const _0x28319e=_0xee64c7[_0x23b112(0x11b)][_0x23b112(0x10e)](_0x35a60d),_0x31399a=_0xee64c7[_0x23b112(0x131)][_0x23b112(0x118)][_0x23b112(0x10e)](_0x46f815),{id:_0x110e47,part:_0x4f181f}=_0x1ca423(_0x46f815);return _0x31399a&&!_0x31399a[_0x23b112(0xe7)]||_0x3246df[_0x23b112(0xc5)]&&_0x28319e[_0x23b112(0x101)](_0x110e47)?.[_0x23b112(0xdb)]?null:{'group':_0x23b112(0x142),'name':_0x4f181f?_0x110e47+':'+_0x4f181f:_0x110e47};}}),_0xee64c7[_0x5f5621(0x103)][_0x5f5621(0x114)](_0x5f5621(0xa4))[_0x5f5621(0x100)]({'view':{'name':_0x5f5621(0x142),'attributes':{'id':/^\w/}},'model':(_0x30aa30,{writer:_0x1d0298})=>_0x1d0298[_0x5f5621(0xaa)](_0x5f5621(0x9e),{'data-name':_0x5f5621(0x106)+_0x30aa30[_0x5f5621(0x116)]('id')})}),_0xee64c7[_0x5f5621(0x103)][_0x5f5621(0x114)](_0x5f5621(0xa4))[_0x5f5621(0xd1)]({'view':_0x5f5621(0x142)});}[_0xc34e4e(0x139)](){const _0x575ccf=_0xc34e4e,_0x5aac50=this[_0x575ccf(0xcb)],_0x254686=_0x5aac50[_0x575ccf(0x11b)][_0x575ccf(0x10e)](_0x35a60d),_0x59ef4b=new Set(),_0x3e9756=new Set();_0x5aac50[_0x575ccf(0x131)][_0x575ccf(0xfd)][_0x575ccf(0x134)](_0x2ee99b=>{const _0x19a7e2=_0x575ccf;let _0x365271=!0x1;for(const {name:_0x5b426d,data:_0x169fab}of _0x5aac50[_0x19a7e2(0x131)][_0x19a7e2(0xfd)][_0x19a7e2(0xf1)][_0x19a7e2(0x12c)]()){const {group:_0x2c78c7,id:_0x197f63}=_0x1ca423(_0x5b426d);let _0x550b1d=_0x169fab[_0x19a7e2(0x141)];if(_0x19a7e2(0x142)!==_0x2c78c7||!_0x550b1d)continue;const _0x24da39=_0x19a7e2(0xa8)===_0x550b1d[_0x19a7e2(0x13a)][_0x19a7e2(0xc4)];_0x24da39||(_0x550b1d=ht(_0x550b1d,_0x5aac50[_0x19a7e2(0x131)]),!_0x550b1d||_0x550b1d[_0x19a7e2(0xda)]||!_0x169fab[_0x19a7e2(0x141)]||_0x550b1d[_0x19a7e2(0x10c)](_0x169fab[_0x19a7e2(0x141)]))?_0x5aac50[_0x19a7e2(0x131)][_0x19a7e2(0xb9)](_0x550b1d)&&!_0x24da39?this[_0x19a7e2(0xe5)]?_0x59ef4b[_0x19a7e2(0x110)](_0x5b426d):this[_0x19a7e2(0x123)](_0x5b426d,_0x197f63):(_0x3e9756[_0x19a7e2(0x110)](_0x5b426d),_0x59ef4b[_0x19a7e2(0xb4)](_0x5b426d),_0x2ee99b[_0x19a7e2(0xe8)](_0x5b426d),_0x365271=!0x0):(_0x2ee99b[_0x19a7e2(0x105)](_0x5b426d,{'range':_0x550b1d}),_0x365271=!0x0);}return _0x365271;}),this['on'](_0x575ccf(0x13d),(_0x14ab15,_0x56885d,_0x5e3f3a)=>{const _0x45056a=_0x575ccf;if(!_0x5e3f3a&&_0x59ef4b[_0x45056a(0x117)])for(const _0x35c0a6 of _0x59ef4b){const {id:_0x2682fa}=_0x1ca423(_0x35c0a6);_0x59ef4b[_0x45056a(0xb4)](_0x35c0a6),_0x5aac50[_0x45056a(0x131)][_0x45056a(0x118)][_0x45056a(0x10e)](_0x35c0a6)&&this[_0x45056a(0x123)](_0x35c0a6,_0x2682fa);}}),this[_0x575ccf(0xf7)](_0x5aac50[_0x575ccf(0x131)][_0x575ccf(0xfd)],_0x575ccf(0x11c),()=>{const _0x543732=_0x575ccf;for(const {name:_0x428b89,data:{newRange:_0x42e6d2}}of _0x5aac50[_0x543732(0x131)][_0x543732(0xfd)][_0x543732(0xf1)][_0x543732(0x12c)]()){const {group:_0x14c6d1,id:_0x49988f}=_0x1ca423(_0x428b89);if(_0x543732(0x142)!==_0x14c6d1)continue;const _0x45a311=_0x254686[_0x543732(0x101)](_0x49988f),_0x5a4dec=this[_0x543732(0x13f)](_0x49988f);_0x45a311&&(!_0x45a311[_0x543732(0xa7)]&&_0x42e6d2&&_0x5aac50[_0x543732(0xb0)][_0x543732(0xcc)][_0x543732(0xfb)](_0x543732(0xc3),()=>{const _0x1a2cff=_0x543732,_0x2296ac=_0x5aac50[_0x1a2cff(0x11b)][_0x1a2cff(0x10e)](_0x5bf2b9),_0x5171e2=_0x254686[_0x1a2cff(0x13e)][_0x1a2cff(0x10e)](_0x45a311)[_0x1a2cff(0xcc)];_0x2296ac[_0x1a2cff(0xc1)](_0x5171e2)[_0x1a2cff(0x108)]();},{'priority':_0x543732(0x125)}),_0x45a311[_0x543732(0xa7)]=_0x5a4dec||!!_0x42e6d2),_0x42e6d2||(_0x3e9756[_0x543732(0x110)](_0x428b89),_0x59ef4b[_0x543732(0xb4)](_0x428b89));}for(const _0x53e06a of _0x3e9756){const {id:_0x542d4f}=_0x1ca423(_0x53e06a),_0x1c7c42=_0x254686[_0x543732(0x101)](_0x542d4f);if(_0x59ef4b[_0x543732(0xb4)](_0x53e06a),!_0x1c7c42)continue;const _0x29dc78=this[_0x543732(0x13f)](_0x542d4f);_0x29dc78||_0x1c7c42[_0x543732(0x12d)]?_0x29dc78||_0x1c7c42[_0x543732(0x102)]||_0x1c7c42[_0x543732(0xad)](new Date()):_0x1c7c42[_0x543732(0x10d)]();}_0x3e9756[_0x543732(0xdd)]();});}[_0xc34e4e(0xa9)](_0x4720f6){const _0x109087=_0xc34e4e;_0x4720f6[_0x109087(0xc7)](_0x32c7f8=>{const _0x2eb39d=_0x109087;_0x32c7f8[_0x2eb39d(0x102)]&&this[_0x2eb39d(0xfc)](_0x32c7f8['id']);});}[_0xc34e4e(0xb5)](_0x29cb73){const _0x3f155d=_0xc34e4e,_0x44bf9f=this[_0x3f155d(0xcb)],_0x4fef23=this[_0x3f155d(0x119)](_0x29cb73);return _0x107194(_0x44bf9f[_0x3f155d(0xb0)],_0x4fef23);}[_0xc34e4e(0xeb)](_0x3422a4){const _0x213f7a=_0xc34e4e,_0x53ca77=this[_0x213f7a(0x119)](_0x3422a4);let _0x2f337d='',_0x2d47cf=!0x1;for(const _0x193653 of _0x53ca77){const _0x42eb75=_0x193653[_0x213f7a(0xb1)]();for(const _0x1e9edc of Array[_0x213f7a(0xf5)](_0x42eb75[_0x213f7a(0x12b)]()))_0x1e9edc['is'](_0x213f7a(0x124))?(_0x2f337d&&_0x2d47cf&&(_0x2f337d+='\x20',_0x2d47cf=!0x1),_0x2f337d+=_0x1e9edc[_0x213f7a(0x135)]):_0x2d47cf=!0x0;_0x2d47cf=!0x0;}return _0x2f337d[_0x213f7a(0x113)](0x0,0x96);}[_0xc34e4e(0xae)](_0x4177f9,_0x5edbd4){const _0x1d63fd=_0xc34e4e,_0x5caeba=this[_0x1d63fd(0xcb)],_0x4d6825=_0x5caeba[_0x1d63fd(0x11b)][_0x1d63fd(0x10e)](_0x35a60d);let _0x370fba=_0x4d6825[_0x1d63fd(0x101)](_0x5edbd4);const _0xf2aec1=_0x5caeba[_0x1d63fd(0xac)][_0x1d63fd(0x10e)](_0x1d63fd(0xaf)),_0x462e42=_0x5caeba[_0x1d63fd(0x11b)][_0x1d63fd(0x10e)](_0x46b61c);if(_0x370fba&&(_0x370fba[_0x1d63fd(0x102)]&&_0x370fba[_0x1d63fd(0xad)](null),_0x370fba[_0x1d63fd(0x11a)]))return _0x370fba;return!this[_0x1d63fd(0x119)](_0x5edbd4)[0x0][_0x1d63fd(0xa0)]?_0x5caeba[_0x1d63fd(0xb0)][_0x1d63fd(0xcc)][_0x1d63fd(0xfb)](_0x1d63fd(0xc3),()=>{const _0x5dadae=_0x1d63fd;if(_0x4d6825[_0x5dadae(0x101)](_0x5edbd4))return;const _0x54eedf=_0x5caeba[_0x5dadae(0x11b)][_0x5dadae(0x10e)](_0x5bf2b9);_0x370fba=_0x4d6825[_0x5dadae(0xb3)]({'channelId':_0xf2aec1,'threadId':_0x5edbd4,'target':()=>this[_0x5dadae(0xb5)](_0x5edbd4),'context':{'type':_0x5dadae(0xef),'value':this[_0x5dadae(0xeb)](_0x5edbd4)}});const _0x3084e1=_0x4d6825[_0x5dadae(0x13e)][_0x5dadae(0x10e)](_0x370fba)[_0x5dadae(0xcc)],_0x2d1d58=_0x54eedf[_0x5dadae(0xc1)](_0x3084e1);_0x2d1d58&&_0x462e42[_0x5dadae(0xb6)](_0x2d1d58);},{'priority':_0x1d63fd(0x125)}):_0x4d6825[_0x1d63fd(0xc2)]({'channelId':_0xf2aec1,'threadId':_0x5edbd4})[_0x1d63fd(0x11f)](_0x18e9b7=>{const _0x119181=_0x1d63fd;if(_0x119181(0x120)!==_0x5caeba[_0x119181(0xf9)]){if(_0x370fba=_0x18e9b7,_0x370fba&&!_0x370fba[_0x119181(0x11a)]){const _0x1a39a8=_0x370fba[_0x119181(0xd4)](()=>this[_0x119181(0xb5)](_0x5edbd4));_0x462e42[_0x119181(0xb6)](_0x1a39a8),_0x370fba[_0x119181(0xdb)]&&this[_0x119181(0xb8)](_0x5edbd4);}else{if(!_0x370fba){const _0x407f18=this[_0x119181(0x119)](_0x5edbd4);_0x5caeba[_0x119181(0x131)][_0x119181(0x11c)](_0x5ad8fd=>{const _0x51d818=_0x119181;for(const _0x115b00 of _0x407f18)_0x5ad8fd[_0x51d818(0xe8)](_0x115b00);});}}}}),_0x370fba;}[_0xc34e4e(0x123)](_0x23c744,_0x1a63fe){const _0x206a5c=_0xc34e4e,_0x5f0734=this[_0x206a5c(0xae)](_0x23c744,_0x1a63fe);_0x5f0734&&!_0x5f0734[_0x206a5c(0x138)]&&_0x5f0734[_0x206a5c(0x140)]({'type':_0x206a5c(0xef),'value':this[_0x206a5c(0xeb)](_0x1a63fe)});}[_0xc34e4e(0x104)](){const _0x1d19ed=_0xc34e4e,_0x143f17=this[_0x1d19ed(0xcb)];_0x2b66cc(_0x143f17[_0x1d19ed(0x131)],({left:_0x292ba2,entered:_0x51f653})=>{const _0x196a4a=_0x1d19ed;for(const _0x5121e2 of _0x292ba2)if(mt(_0x5121e2)){_0x143f17['ui'][_0x196a4a(0xed)][_0x196a4a(0x128)](_0x3a69cb(_0x143f17[_0x196a4a(0xde)],_0x196a4a(0x11e)));break;}for(const _0x3d6b8 of _0x51f653)if(mt(_0x3d6b8)){_0x143f17['ui'][_0x196a4a(0xed)][_0x196a4a(0x128)](_0x3a69cb(_0x143f17[_0x196a4a(0xde)],_0x196a4a(0xe2),_0x1b1c35(_0x44fa57)));break;}});}}function dt(_0x42bd36,_0x2d0cc1){return _0x2d0cc1?_0x42bd36+':'+_0x2d0cc1:_0x42bd36;}function ht(_0x104047,_0x253503){const _0x383d2b=_0xc34e4e,_0x2e72e1=_0x253503[_0x383d2b(0xcd)],_0x241528=_0x253503[_0x383d2b(0xf8)](_0x104047[_0x383d2b(0xd5)]);for(const _0x5cbb90 of _0x104047[_0x383d2b(0xee)]()){const {type:_0x4a8f08,item:_0x14e062,nextPosition:_0xc09eb7}=_0x5cbb90;if(_0x383d2b(0xef)===_0x4a8f08||_0x2e72e1[_0x383d2b(0xdc)](_0x14e062)){const _0x13d468=_0x253503[_0x383d2b(0xb7)](_0x14e062);_0x241528[_0x383d2b(0xda)]&&(_0x241528[_0x383d2b(0xd5)]=_0x13d468),_0x241528[_0x383d2b(0xba)]=_0xc09eb7;}}return _0x241528;}function mt(_0x5b7638){const _0x135d4c=_0xc34e4e;return _0x135d4c(0x142)===_0x1ca423(_0x5b7638[_0x135d4c(0xbe)])[_0x135d4c(0xff)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2ca2(){const _0x5e94ad=['resolvedBy','commentsrepository-update-comment-missing-comment-thread','attachTo','authoredAt','isReadOnly','fetchCommentThread','_update','_threads','author','destroy','isResolvable','commentsrepository-get-comment-invalid-id','commentsrepository-adapter-already-set','focusableElements','activeCommentThread','updateCommentThread','comments.maxCommentCharsWhenCollapsed','submit','change:authoredAt','requires','34989VeZKBn','setAttribute','getComment','values','getUser','has','11187572oHgRAk','filter','_readOnlyChannels','_addCommentThread','once','innerHTML','146152ZdAbAc','createCommentThreadController','change:_permissions','commentsrepository-reopen-comment-thread-internal-error','commentsrepository-update-comment-invalid-content','body','isPremiumPlugin','type','commentsrepository-resolved-comment-thread','comments.CommentThreadView','model','textContent','get','commentThreadInputView','_addComment','set','authorName','canComment','_getExternalAuthor','bodyCollectionContainer','76uKJxWB','then','getCommentThreadForAnnotation','channelId','change:activeAnnotations','assign','isResolved','config','commentsrepository-update-comment-internal-error','context','push','_updateCommentThread','editorDestroyed','createdAt','_remove','2411880JywHTM','archivedAt','commentsrepository-invalid-commentid','_updateComment','resolve','editorReady','setContext','warn','licenseKey','listenTo','commentsrepository-remove-comment-internal-error','commentsrepository-invalid-comment-content','_createNewComment','CommentView','toJSON','adapter','commentsrepository-remove-comment-thread-internal-error','comments.CommentView','removeAttribute','commentsrepository-add-comment-thread-internal-error','commentsListView','focus','commentsrepository-fetch-comment-thread','fire','addComment','hasCommentThread','_adapter','write','isRemovable','commentsrepository-invalid-comment-thread-id','_updateActiveAnnotation','commentsrepository-invalid-comment-authorid','_isAttached','div','string','resolvedAt','admin','openNewCommentThread','commentsrepository-remove-missing-comment-thread','_findOptimalIndex','commentsrepository-active-missing-comment-thread','PendingActions','setUnlinkedAt','comments.copyMarkers','max','refreshVisibility','innerView','content','map','delete','CommentThreadView','_detachCommentThread','commentsrepository-missing-comment-thread','init','getCommentThread','bind','catch','24VpFVrf','deactivateAll','find','_removeActiveAnnotation','isEditable','_resolveCommentThread','_isSubmitted','switchReadOnly','add','external:','view','creator','reopenCommentThread','commentsrepository-duplicated-comment-thread-id','_createCommentThreadView','reduce','_submitCommentThread','_threadToController','_viewToController','getByInnerView','comments.maxCommentsWhenCollapsed','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','resolveCommentThread','isFromAdapter','@external','error','update','comment','CommentsRepository','attributes','activate','removeComment','getPermissions','getTime','submitCommentThread','highest','_reopenCommentThread','from','6796242IDbaCO','14utYsNM','_removeComment','isActive','getAnnotationForCommentThread','_add','isSubmitted','5037310iSnJqz','_bindAnnotationToEditors','remove','isAttached','64282pkMfFN','81RrkkYl','comments.editorConfig','getIndex','createElement','define','7xsirGB','commentsrepository-remove-missing-comment','threadId','pluginName','length','isExternal','noChannel','comments.maxThreadTotalWeight','trim','commentsrepository-add-comment-internal-error','commentsrepository-update-comment-thread-internal-error','unlinkedAt','commentsrepository-attach-missing-comment-thread','_repository','modifyAll','commentsrepository-remove-comment-missing-comment-thread','reopen','commentInputView','function','change:isDirty','_permissions','_hasTargetInContent','_unbindEditors','_attachCommentThread','setPermissions','updateComment','escape','lowest','isDirty','focusTracker','PENDING_ACTION_COMMENT_THREAD','commentsrepository-add-comment-user-not-exists','getCommentThreads','commentsrepository-active-not-attached','weight','comments','setActiveCommentThread','isVisible','removeCommentThread','addUser','locale','commentsrepository-missing-thread-and-adapter-method','plugins','isOfficialPlugin','change:_readOnlyChannels','commentsrepository-reopen-comment-thread','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-missing-target','addCommentThread','commentId','commentUpdated','_removeCommentThread','stopListening','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-update-missing-comment'];_0x2ca2=function(){return _0x5e94ad;};return _0x2ca2();}const _0x27a264=_0x59a7;function _0x59a7(_0xb92e89,_0x7df801){const _0x2ca2ae=_0x2ca2();return _0x59a7=function(_0x59a71e,_0x4335fc){_0x59a71e=_0x59a71e-0x199;let _0x17afcd=_0x2ca2ae[_0x59a71e];return _0x17afcd;},_0x59a7(_0xb92e89,_0x7df801);}(function(_0x257e37,_0x174530){const _0x108462=_0x59a7,_0x580101=_0x257e37();while(!![]){try{const _0x40c59f=-parseInt(_0x108462(0x23c))/0x1*(parseInt(_0x108462(0x246))/0x2)+-parseInt(_0x108462(0x1ad))/0x3*(-parseInt(_0x108462(0x1cd))/0x4)+-parseInt(_0x108462(0x1dc))/0x5+parseInt(_0x108462(0x23b))/0x6*(-parseInt(_0x108462(0x24c))/0x7)+-parseInt(_0x108462(0x1b9))/0x8*(-parseInt(_0x108462(0x247))/0x9)+parseInt(_0x108462(0x242))/0xa+-parseInt(_0x108462(0x1b3))/0xb*(-parseInt(_0x108462(0x215))/0xc);if(_0x40c59f===_0x174530)break;else _0x580101['push'](_0x580101['shift']());}catch(_0x9ab3bd){_0x580101['push'](_0x580101['shift']());}}}(_0x2ca2,0xd1aac));import{PendingActions as _0x302cf8,ContextPlugin as _0x1c2fe8,Editor as _0x4af098}from'ckeditor5/src/core.js';import{Collection as _0x3cf38c,uid as _0x33e580,CKEditorError as _0x578dec,ObservableMixin as _0x4ecb41}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x571046,hashObject as _0x939a83,Users as _0x225de0}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x364d17,isEqual as _0x1423bb,set as _0x473130,unset as _0x4d295a}from'es-toolkit/compat';import{CommentThreadController as _0xa07ec9}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x3f2a03}from'./ui/view/commentthreadview.js';import{CommentView as _0x9d9510}from'./ui/view/commentview.js';import{getTranslation as _0x4c6fa7}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x49ef9f}from'../annotations/view/annotationview.js';import{Annotation as _0x4ac5d0}from'../annotations/annotation.js';import{Annotations as _0x14518f}from'../annotations/annotations.js';const _t=Symbol(_0x27a264(0x252)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x1c2fe8{[_0x27a264(0x1a0)];[_0x27a264(0x226)];[_0x27a264(0x227)];static get[_0x27a264(0x1ac)](){return[_0x14518f,_0x302cf8,_0x225de0];}static get[_0x27a264(0x24f)](){const _0x4bedfc=_0x27a264;return _0x4bedfc(0x231);}static get[_0x27a264(0x277)](){return!0x0;}static get[_0x27a264(0x1bf)](){return!0x0;}constructor(_0x559dd2){const _0x36d0e9=_0x27a264;super(_0x559dd2),this[_0x36d0e9(0x1a0)]=new Map(),this[_0x36d0e9(0x226)]=new Map(),this[_0x36d0e9(0x227)]=new Map(),this[_0x36d0e9(0x1c8)](_0x36d0e9(0x1b5),new Set()),this[_0x36d0e9(0x1c8)](_0x36d0e9(0x260),new Map());const _0x5d23f9=this[_0x36d0e9(0x1d6)][_0x36d0e9(0x1d4)];_0x5d23f9[_0x36d0e9(0x24b)](_0x36d0e9(0x229),0x2),_0x5d23f9[_0x36d0e9(0x24b)](_0x36d0e9(0x253),0x1f4),_0x5d23f9[_0x36d0e9(0x24b)](_0x36d0e9(0x1a9),0x8c),_0x5d23f9[_0x36d0e9(0x24b)](_0x36d0e9(0x1c2),_0x3f2a03),_0x5d23f9[_0x36d0e9(0x24b)](_0x36d0e9(0x1ed),_0x9d9510),_0x5d23f9[_0x36d0e9(0x1c5)](_0x36d0e9(0x248))||console[_0x36d0e9(0x1e3)](_0x36d0e9(0x22a));}[_0x27a264(0x211)](){const _0xb6a578=_0x27a264,_0xff0a6b=this[_0xb6a578(0x1d6)][_0xb6a578(0x276)][_0xb6a578(0x1c5)](_0x14518f);this[_0xb6a578(0x1c8)](_0xb6a578(0x1a7),null),this['on'](_0xb6a578(0x27c),(_0x26f096,_0x333a75)=>this[_0xb6a578(0x1b6)](_0x333a75)),this['on'](_0xb6a578(0x237),(_0x233383,_0x1efc1f)=>this[_0xb6a578(0x225)](_0x1efc1f)),this['on'](_0xb6a578(0x22b),(_0x4c181e,_0x3e5021)=>this[_0xb6a578(0x21a)](_0x3e5021)),this['on'](_0xb6a578(0x22b),(_0x209f41,_0x1d67ef)=>this[_0xb6a578(0x1fa)](_0x1d67ef),{'priority':_0xb6a578(0x267)}),this['on'](_0xb6a578(0x221),(_0x2d516a,_0x3b4051)=>this[_0xb6a578(0x239)](_0x3b4051)),this['on'](_0xb6a578(0x221),(_0x3b5e1e,_0x1d6ddd)=>this[_0xb6a578(0x1fa)](_0x1d6ddd),{'priority':_0xb6a578(0x267)}),this['on'](_0xb6a578(0x272),(_0x2f5691,_0xd70115)=>this[_0xb6a578(0x27f)](_0xd70115)),this['on'](_0xb6a578(0x1a8),(_0x56828e,_0x263e2a)=>this[_0xb6a578(0x1d8)](_0x263e2a)),this['on'](_0xb6a578(0x1a8),(_0x3c2936,_0x183bce)=>this[_0xb6a578(0x1fa)](_0x183bce),{'priority':_0xb6a578(0x267)}),this['on'](_0xb6a578(0x1f4),(_0x392823,_0xbdf71a)=>this[_0xb6a578(0x1c7)](_0xbdf71a)),this['on'](_0xb6a578(0x265),(_0x58374b,_0x445a4d)=>this[_0xb6a578(0x1df)](_0x445a4d)),this['on'](_0xb6a578(0x234),(_0x4cf4fb,_0x34bed1)=>this[_0xb6a578(0x23d)](_0x34bed1)),this['on'](_0xb6a578(0x1f4),(_0x60f324,{threadId:_0x2f7a13,isFromAdapter:_0x1e0274})=>{const _0x3afad5=_0xb6a578;if(_0x1e0274)return;const _0x3a5202=this[_0x3afad5(0x212)](_0x2f7a13),_0x2ed32d=_0x3a5202&&this[_0x3afad5(0x226)][_0x3afad5(0x1c5)](_0x3a5202);_0x2ed32d&&_0x2ed32d[_0x3afad5(0x21f)][_0x3afad5(0x1f0)][_0x3afad5(0x1f1)](-0x1);},{'priority':_0xb6a578(0x267)}),this[_0xb6a578(0x1e5)](_0xff0a6b,_0xb6a578(0x1d1),(_0x16f441,_0x593e13,_0xf6ef93)=>{const _0xac2bc3=_0xb6a578,_0x52575e=Array[_0xac2bc3(0x23a)](_0xf6ef93)[_0xac2bc3(0x20c)](_0x731b18=>this[_0xac2bc3(0x227)][_0xac2bc3(0x1c5)](_0x731b18[_0xac2bc3(0x20a)]))[_0xac2bc3(0x1b4)](Boolean)[0x0];this[_0xac2bc3(0x1a7)]=_0x52575e?_0x52575e[_0xac2bc3(0x1c3)]:null;});}set[_0x27a264(0x1eb)](_0x1e3107){const _0x2c2aac=_0x27a264;if(this[_0x2c2aac(0x1f6)])throw new _0x578dec(_0x2c2aac(0x1a5));this[_0x2c2aac(0x1f6)]=_0x1e3107;}get[_0x27a264(0x1eb)](){const _0x58fd82=_0x27a264;return this[_0x58fd82(0x1f6)];}[_0x27a264(0x27c)]({channelId:_0x145be1=_t,threadId:_0x2e4137=_0x33e580(),comments:_0x4c78a1=[],unlinkedAt:_0x3ed3b4=null,resolvedAt:_0xad881d=null,resolvedBy:_0x3a07f1=null,target:_0x5b3628=null,context:_0x53b547=null,attributes:_0x42141c={},isResolvable:_0x18f407=!0x0,isSubmitted:_0x36394c=!0x1,isFromAdapter:_0x67d32c=!0x1}={}){const _0x6459ec=_0x27a264;return this[_0x6459ec(0x1f3)](Nt(_0x6459ec(0x27c),_0x145be1),{'channelId':_0x145be1,'threadId':_0x2e4137,'comments':_0x4c78a1,'unlinkedAt':_0x3ed3b4,'resolvedAt':_0xad881d,'resolvedBy':_0x3a07f1,'target':_0x5b3628,'context':_0x53b547,'attributes':_0x42141c,'isFromAdapter':_0x67d32c,'isResolvable':_0x18f407,'isSubmitted':_0x36394c}),this[_0x6459ec(0x212)](_0x2e4137);}[_0x27a264(0x201)]({channelId:_0x5df3df=_t,threadId:_0xc02a7=_0x33e580(),target:_0x5924d1,context:_0x247821=null,isResolvable:_0x3e6dad=!0x0}){const _0x51e0d8=_0x27a264;if(this[_0x51e0d8(0x1b5)][_0x51e0d8(0x1b2)](_0x5df3df)||this[_0x51e0d8(0x1b5)][_0x51e0d8(0x1b2)](void 0x0))return null;if(!_0x5924d1)throw new _0x578dec(_0x51e0d8(0x27b));const _0x28ae6d=this[_0x51e0d8(0x27c)]({'channelId':_0x5df3df,'threadId':_0xc02a7,'target':_0x5924d1,'context':_0x247821,'isResolvable':_0x3e6dad});if(!_0x28ae6d)return null;const _0x3b0b1c=this[_0x51e0d8(0x226)][_0x51e0d8(0x1c5)](_0x28ae6d),_0xb58c30=_0x3b0b1c[_0x51e0d8(0x21f)][_0x51e0d8(0x1c6)][_0x51e0d8(0x25d)],_0x17449b=this[_0x51e0d8(0x1d6)][_0x51e0d8(0x276)][_0x51e0d8(0x1c5)](_0x14518f),_0x2d8246=_0x17449b[_0x51e0d8(0x228)](_0x3b0b1c[_0x51e0d8(0x21f)]);return _0x17449b[_0x51e0d8(0x233)](_0x2d8246),_0xb58c30[_0x51e0d8(0x1b7)](_0x51e0d8(0x1e1),()=>_0xb58c30[_0x51e0d8(0x1f1)]()),_0x28ae6d;}[_0x27a264(0x1f5)](_0x583c15){const _0x4e3e19=_0x27a264;if(_0x4e3e19(0x1fe)!=typeof _0x583c15)throw new _0x578dec(_0x4e3e19(0x1f9));return this[_0x4e3e19(0x1a0)][_0x4e3e19(0x1b2)](_0x583c15);}[_0x27a264(0x1a8)]({channelId:_0x15e2e1=_t,threadId:_0x2a6b22,context:_0x1f5c3a,unlinkedAt:_0x5913bb,attributes:_0x10b1e7,isFromAdapter:_0x391db9=!0x1}){const _0x47afd8=_0x27a264;return this[_0x47afd8(0x1f3)](Nt(_0x47afd8(0x1a8),_0x15e2e1),{'channelId':_0x15e2e1,'threadId':_0x2a6b22,'context':_0x1f5c3a,'unlinkedAt':_0x5913bb,'attributes':_0x10b1e7,'isFromAdapter':_0x391db9}),this[_0x47afd8(0x212)](_0x2a6b22);}[_0x27a264(0x212)](_0x556f1e){const _0x15347b=_0x27a264;if(_0x15347b(0x1fe)!=typeof _0x556f1e)throw new _0x578dec(_0x15347b(0x1f9));return this[_0x15347b(0x1a0)][_0x15347b(0x1c5)](_0x556f1e);}[_0x27a264(0x19e)]({channelId:_0x3929b3,threadId:_0x30b6a2}={}){const _0x2bc357=_0x27a264,_0x4d075d=this[_0x2bc357(0x212)](_0x30b6a2);if(_0x4d075d)return Promise[_0x2bc357(0x1e0)](_0x4d075d);if(!this[_0x2bc357(0x1eb)])return Promise[_0x2bc357(0x1e0)](void 0x0);if(_0x2bc357(0x25e)!=typeof this[_0x2bc357(0x1eb)][_0x2bc357(0x212)])throw new _0x578dec(_0x2bc357(0x275),this[_0x2bc357(0x1d6)]);return this[_0x2bc357(0x1eb)][_0x2bc357(0x212)]({'channelId':_0x3929b3,'threadId':_0x30b6a2})[_0x2bc357(0x1ce)](_0x33a9ea=>this[_0x2bc357(0x1f5)](_0x30b6a2)?this[_0x2bc357(0x212)](_0x30b6a2):_0x33a9ea?this[_0x2bc357(0x27c)](Object[_0x2bc357(0x1d2)]({'isFromAdapter':!0x0,'channelId':_0x3929b3},_0x33a9ea)):void 0x0)[_0x2bc357(0x214)](_0x211e8b=>{const _0x564242=_0x2bc357;throw console[_0x564242(0x22e)](_0x211e8b),new _0x578dec(_0x564242(0x1f2),this[_0x564242(0x1d6)]);});}[_0x27a264(0x26c)]({channelId:_0x591242,skipNotAttached:_0xe3e4c9=!0x1,skipEmpty:_0x391d36=!0x1,toJSON:_0x12c69c=!0x1}={}){const _0x58b2e9=_0x27a264,_0x51658e=[];for(const _0xcec6f9 of this[_0x58b2e9(0x1a0)][_0x58b2e9(0x1b0)]())_0x591242&&_0xcec6f9[_0x58b2e9(0x1d0)]!==_0x591242||_0xe3e4c9&&!_0xcec6f9[_0x58b2e9(0x245)]||_0x391d36&&0x0===_0xcec6f9[_0x58b2e9(0x250)]||_0x51658e[_0x58b2e9(0x1d7)](_0xcec6f9);return _0x12c69c?_0x51658e[_0x58b2e9(0x20c)](_0x5aee23=>_0x5aee23[_0x58b2e9(0x1ea)]()):_0x51658e;}[_0x27a264(0x23f)](_0xa4cde6){const _0x55bc9c=_0x27a264,_0x158a1c=this[_0x55bc9c(0x226)][_0x55bc9c(0x1c5)](_0xa4cde6);if(!_0x158a1c)return null;return this[_0x55bc9c(0x1d6)][_0x55bc9c(0x276)][_0x55bc9c(0x1c5)](_0x14518f)[_0x55bc9c(0x228)](_0x158a1c[_0x55bc9c(0x21f)])||null;}[_0x27a264(0x1cf)](_0x293227){const _0x8bf778=_0x27a264,_0x375e10=this[_0x8bf778(0x227)][_0x8bf778(0x1c5)](_0x293227[_0x8bf778(0x20a)]);return _0x375e10?_0x375e10[_0x8bf778(0x1c3)]:null;}[_0x27a264(0x270)](_0x59ca1d){const _0xb55673=_0x27a264,_0x58d65d=this[_0xb55673(0x1d6)][_0xb55673(0x276)][_0xb55673(0x1c5)](_0x14518f);if(!_0x59ca1d)return void(this[_0xb55673(0x1a7)]&&_0x58d65d[_0xb55673(0x216)]());const _0x267afd=this[_0xb55673(0x212)](_0x59ca1d);if(!_0x267afd)throw new _0x578dec(_0xb55673(0x204),null,{'threadId':_0x59ca1d});if(!this[_0xb55673(0x226)][_0xb55673(0x1b2)](_0x267afd))throw new _0x578dec(_0xb55673(0x26d),null,{'threadId':_0x59ca1d});const _0x8e19c1=_0x58d65d[_0xb55673(0x228)](this[_0xb55673(0x226)][_0xb55673(0x1c5)](_0x267afd)[_0xb55673(0x21f)]);_0x58d65d[_0xb55673(0x233)](_0x8e19c1);}[_0x27a264(0x21c)](_0x4f22a1,_0x25480d){const _0xcadf1a=_0x27a264;_0x4f22a1?this[_0xcadf1a(0x1b5)][_0xcadf1a(0x21d)](_0x25480d):this[_0xcadf1a(0x1b5)][_0xcadf1a(0x20d)](_0x25480d),this[_0xcadf1a(0x1f3)](_0xcadf1a(0x278),_0xcadf1a(0x1b5),this[_0xcadf1a(0x1b5)],this[_0xcadf1a(0x1b5)]);}[_0x27a264(0x19d)](_0x558cda){const _0x48c2a7=_0x27a264;return this[_0x48c2a7(0x1b5)][_0x48c2a7(0x1b2)](_0x558cda)||this[_0x48c2a7(0x1b5)][_0x48c2a7(0x1b2)](void 0x0);}[_0x27a264(0x1ba)](_0x4b3477,_0x64b562){return new _0xa07ec9(_0x4b3477,_0x64b562);}[_0x27a264(0x264)](_0x57207a,_0x5739b1=_t){const _0x50ace8=_0x27a264;this[_0x50ace8(0x260)][_0x50ace8(0x1c8)](_0x5739b1,_0x57207a),this[_0x50ace8(0x1f3)](_0x50ace8(0x1bb),_0x50ace8(0x260),this[_0x50ace8(0x260)],this[_0x50ace8(0x260)]);}[_0x27a264(0x235)](_0x2d9cd3=_t){const _0x48d565=_0x27a264;return this[_0x48d565(0x260)][_0x48d565(0x1b2)](_0x2d9cd3)?this[_0x48d565(0x260)][_0x48d565(0x1c5)](_0x2d9cd3):bt;}[_0x27a264(0x1b6)]({channelId:_0x23d701,threadId:_0x6b0505,comments:_0x5aa8ca,unlinkedAt:_0x2f0d40,resolvedAt:_0x3aff6c,resolvedBy:_0x3e87fc,target:_0x46c91b,context:_0x35d4ee,attributes:_0x2d2b8e,isFromAdapter:_0xb0c936,isResolvable:_0x522bef,isSubmitted:_0x496f50}){const _0x18ff42=_0x27a264;if(_0x18ff42(0x1fe)!=typeof _0x6b0505)throw new _0x578dec(_0x18ff42(0x1f9),null,{'threadId':_0x6b0505});if(this[_0x18ff42(0x1f5)](_0x6b0505))throw new _0x578dec(_0x18ff42(0x222),null,{'threadId':_0x6b0505});const _0x5e9100=new CommentThread(this,{'channelId':_0x23d701,'id':_0x6b0505,'context':_0x35d4ee,'attributes':_0x2d2b8e,'unlinkedAt':_0x2f0d40,'resolvedAt':_0x3aff6c,'resolvedBy':_0x3e87fc?this[_0x18ff42(0x1d6)][_0x18ff42(0x276)][_0x18ff42(0x1c5)](_0x225de0)[_0x18ff42(0x1b1)](_0x3e87fc):null,'isResolvable':_0x522bef,'isSubmitted':_0x496f50||_0xb0c936});this[_0x18ff42(0x1a0)][_0x18ff42(0x1c8)](_0x6b0505,_0x5e9100);for(const _0x5d4c9c of _0x5aa8ca)_0x5e9100[_0x18ff42(0x240)](this[_0x18ff42(0x1e8)]({'threadId':_0x6b0505,..._0x5d4c9c}));return _0x46c91b&&_0x5e9100[_0x18ff42(0x19b)](_0x46c91b),_0xb0c936||!_0x5e9100[_0x18ff42(0x250)]?Promise[_0x18ff42(0x1e0)]():this[_0x18ff42(0x225)]({'channelId':_0x23d701,'threadId':_0x6b0505});}[_0x27a264(0x225)]({channelId:_0x514432,threadId:_0x52a525}){const _0x4ecd07=_0x27a264;if(!this[_0x4ecd07(0x1f5)](_0x52a525))throw new _0x578dec(_0x4ecd07(0x210),this);const _0x3c40c0=this[_0x4ecd07(0x212)](_0x52a525);if(_0x3c40c0[_0x4ecd07(0x21b)]=!0x0,!this[_0x4ecd07(0x1eb)]||_0x4ecd07(0x25e)!=typeof this[_0x4ecd07(0x1eb)][_0x4ecd07(0x27c)])return Promise[_0x4ecd07(0x1e0)]();const {id:_0x532cb7,comments:_0x112322,resolvedAt:_0x2bec11,resolvedBy:_0x53383f,context:_0x1caadf,attributes:_0xa43078}=_0x3c40c0,_0x2a89aa=this[_0x4ecd07(0x1d6)][_0x4ecd07(0x276)][_0x4ecd07(0x1c5)](_0x4ecd07(0x205)),_0x1a5a96=_0x2a89aa[_0x4ecd07(0x21d)](_0x4c6fa7(this[_0x4ecd07(0x1d6)][_0x4ecd07(0x274)],_0x4ecd07(0x26a)));return this[_0x4ecd07(0x1eb)][_0x4ecd07(0x27c)]({'channelId':_0x514432,'threadId':_0x532cb7,'comments':_0x112322[_0x4ecd07(0x20c)](_0x52fbc3=>_0x52fbc3[_0x4ecd07(0x1ea)]()),'resolvedAt':_0x2bec11,'resolvedBy':_0x53383f?_0x53383f['id']:_0x53383f,'context':_0x1caadf,'attributes':_0xa43078})[_0x4ecd07(0x1ce)](({comments:_0x48acc2})=>{const _0x4c1b6e=_0x4ecd07;_0x2a89aa[_0x4c1b6e(0x244)](_0x1a5a96);for(const _0x42eea4 of _0x48acc2)this[_0x4c1b6e(0x1df)]({'channelId':_0x514432,'threadId':_0x52a525,'commentId':_0x42eea4[_0x4c1b6e(0x27d)],'createdAt':_0x42eea4[_0x4c1b6e(0x1da)],'isFromAdapter':!0x0});})[_0x4ecd07(0x214)](_0x79b87=>{const _0x2ac7a9=_0x4ecd07;throw console[_0x2ac7a9(0x22e)](_0x79b87),new _0x578dec(_0x2ac7a9(0x1ef),this);});}[_0x27a264(0x263)]({threadId:_0x17f048,target:_0x39934b}){const _0x561227=_0x27a264,_0x70d4e=this[_0x561227(0x212)](_0x17f048);if(!_0x70d4e)throw new _0x578dec(_0x561227(0x258),this);const _0xad6fe9=this[_0x561227(0x1d6)][_0x561227(0x276)][_0x561227(0x1c5)](_0x561227(0x205)),_0x54cf30=this[_0x561227(0x1d6)][_0x561227(0x276)][_0x561227(0x1c5)](_0x14518f),_0x1eed89=this[_0x561227(0x223)](_0x70d4e),_0x1c6a5f=new _0xa07ec9(_0x70d4e,_0x1eed89);let _0x5c9814=null;_0x1eed89['on'](_0x561227(0x25f),(_0x142eee,_0x9026ae,_0x28f939)=>{const _0x490a85=_0x561227;_0x28f939?_0x5c9814=_0xad6fe9[_0x490a85(0x21d)](_0x4c6fa7(this[_0x490a85(0x1d6)][_0x490a85(0x274)],_0x490a85(0x26a))):_0x5c9814&&(_0xad6fe9[_0x490a85(0x244)](_0x5c9814),_0x5c9814=null);}),this[_0x561227(0x226)][_0x561227(0x1c8)](_0x70d4e,_0x1c6a5f),this[_0x561227(0x227)][_0x561227(0x1c8)](_0x1eed89,_0x1c6a5f);const _0x2d4ae3=new _0x49ef9f(this[_0x561227(0x1d6)][_0x561227(0x274)],_0x1eed89);_0x2d4ae3[_0x561227(0x213)](_0x561227(0x250))['to'](_0x1eed89),_0x2d4ae3[_0x561227(0x213)](_0x561227(0x268))['to'](_0x1eed89,_0x561227(0x268),_0x1eed89,_0x561227(0x250),(_0x397da4,_0x47e82c)=>_0x397da4||!_0x47e82c),_0x2d4ae3[_0x561227(0x213)](_0x561227(0x23e))['to'](_0x1eed89),_0x2d4ae3[_0x561227(0x1c0)]=_0x561227(0x230);const _0x24a26f=new _0x4ac5d0({'view':_0x2d4ae3,'target':_0x39934b,'type':_0x561227(0x230),'isVisible':!_0x70d4e[_0x561227(0x1dd)]&&!!(_0x561227(0x25e)==typeof _0x39934b?_0x39934b():_0x39934b)});return _0x1eed89['on'](_0x561227(0x266),()=>{const _0x46a368=_0x561227;_0x24a26f[_0x46a368(0x1f3)](_0x46a368(0x266));}),this[_0x561227(0x243)](_0x1eed89,_0x24a26f),_0x54cf30[_0x561227(0x21d)](_0x24a26f),_0x24a26f;}[_0x27a264(0x243)](_0x3ba232,_0x1b2162){const _0x3134eb=_0x27a264;this[_0x3134eb(0x1e5)](_0x3ba232,_0x3134eb(0x1e1),(_0x351a20,_0x213a27)=>{const _0x42cc6f=_0x3134eb,_0x1ab21c=_0x213a27['ui'][_0x42cc6f(0x21f)][_0x42cc6f(0x1be)][_0x42cc6f(0x1cc)];_0x1b2162[_0x42cc6f(0x1a6)][_0x42cc6f(0x21d)](_0x1ab21c),this[_0x42cc6f(0x1d6)]instanceof _0x4af098&&this[_0x42cc6f(0x1d6)]['ui'][_0x42cc6f(0x269)][_0x42cc6f(0x21d)](_0x1ab21c);},{'priority':_0x3134eb(0x238)}),this[_0x3134eb(0x1e5)](_0x3ba232,_0x3134eb(0x1d9),(_0x36541a,_0xd37952)=>{const _0x5ffa79=_0x3134eb,_0xcff936=_0xd37952['ui'][_0x5ffa79(0x21f)][_0x5ffa79(0x1be)][_0x5ffa79(0x1cc)];_0x1b2162[_0x5ffa79(0x1a6)][_0x5ffa79(0x1b2)](_0xcff936)&&_0x1b2162[_0x5ffa79(0x1a6)][_0x5ffa79(0x244)](_0xcff936),this[_0x5ffa79(0x1d6)]instanceof _0x4af098&&this[_0x5ffa79(0x1d6)]['ui'][_0x5ffa79(0x269)][_0x5ffa79(0x244)](_0xcff936);});}[_0x27a264(0x262)](_0x3706d2){const _0x1c24db=_0x27a264;this[_0x1c24db(0x280)](_0x3706d2,_0x1c24db(0x1e1)),this[_0x1c24db(0x280)](_0x3706d2,_0x1c24db(0x1d9));}[_0x27a264(0x223)](_0x36027c){const _0x54913b=_0x27a264,_0x1aaa0d=this[_0x54913b(0x1d6)][_0x54913b(0x276)][_0x54913b(0x1c5)](_0x225de0),{config:_0x34b502,locale:_0x3dce40}=this[_0x54913b(0x1d6)],_0x58e12c=_0x571046(_0x34b502[_0x54913b(0x1c5)](_0x54913b(0x274)),_0x3dce40);return new(0x0,(_0x34b502[_0x54913b(0x1c5)](_0x54913b(0x26f)))[(_0x54913b(0x20e))])(_0x3dce40,_0x36027c,_0x1aaa0d['me'],{'editorConfig':{..._0x34b502[_0x54913b(0x1c5)](_0x54913b(0x248)),'licenseKey':this[_0x54913b(0x1d6)][_0x54913b(0x1d4)][_0x54913b(0x1c5)](_0x54913b(0x1e4))},'copyMarkers':_0x34b502[_0x54913b(0x1c5)](_0x54913b(0x207)),'maxCommentsWhenCollapsed':_0x34b502[_0x54913b(0x1c5)](_0x54913b(0x229)),'maxThreadTotalWeight':_0x34b502[_0x54913b(0x1c5)](_0x54913b(0x253)),'maxCommentCharsWhenCollapsed':_0x34b502[_0x54913b(0x1c5)](_0x54913b(0x1a9)),'formatDateTime':_0x58e12c,'CommentView':_0x34b502[_0x54913b(0x1c5)](_0x54913b(0x26f))[_0x54913b(0x1e9)]});}[_0x27a264(0x21a)]({threadId:_0x246403,channelId:_0x43f148,resolvedAt:_0x149c96,resolvedBy:_0x3cc6e4,isFromAdapter:_0x1752bb}){const _0x2b96cb=_0x27a264;if(!this[_0x2b96cb(0x1f5)](_0x246403))throw new _0x578dec(_0x2b96cb(0x210),null,{'threadId':_0x246403});const _0x861047=this[_0x2b96cb(0x212)](_0x246403);if(_0x861047[_0x2b96cb(0x1d3)])throw new _0x578dec(_0x2b96cb(0x1c1),null,{'threadId':_0x246403});const _0x369e96=this[_0x2b96cb(0x1d6)][_0x2b96cb(0x276)][_0x2b96cb(0x1c5)](_0x225de0);if(_0x861047[_0x2b96cb(0x199)]=_0x369e96[_0x2b96cb(0x1b1)](_0x3cc6e4),_0x861047[_0x2b96cb(0x1ff)]=_0x149c96,_0x1752bb||!this[_0x2b96cb(0x1eb)]||_0x2b96cb(0x25e)!=typeof this[_0x2b96cb(0x1eb)][_0x2b96cb(0x22b)])return Promise[_0x2b96cb(0x1e0)]();const _0x1edbda=this[_0x2b96cb(0x1d6)][_0x2b96cb(0x276)][_0x2b96cb(0x1c5)](_0x2b96cb(0x205)),_0x471e1b=_0x1edbda[_0x2b96cb(0x21d)](_0x4c6fa7(this[_0x2b96cb(0x1d6)][_0x2b96cb(0x274)],_0x2b96cb(0x26a)));return this[_0x2b96cb(0x1eb)][_0x2b96cb(0x22b)]({'channelId':_0x43f148,'threadId':_0x246403})[_0x2b96cb(0x1ce)](({resolvedAt:_0x59f97f,resolvedBy:_0x583d02})=>{const _0x4ee36a=_0x2b96cb;_0x1edbda[_0x4ee36a(0x244)](_0x471e1b),_0x861047[_0x4ee36a(0x199)]['id']!==_0x583d02&&(_0x861047[_0x4ee36a(0x199)]=_0x369e96[_0x4ee36a(0x1b1)](_0x583d02)),_0x861047[_0x4ee36a(0x1ff)]=_0x59f97f;})[_0x2b96cb(0x214)](_0x37fb65=>{const _0xf5c981=_0x2b96cb;throw console[_0xf5c981(0x22e)](_0x37fb65),new _0x578dec(_0xf5c981(0x27a),this);});}[_0x27a264(0x239)]({threadId:_0x2d0227,channelId:_0x4969d4,isFromAdapter:_0x564eea}){const _0x4eab14=_0x27a264;if(!this[_0x4eab14(0x1f5)](_0x2d0227))throw new _0x578dec(_0x4eab14(0x210),null,{'threadId':_0x2d0227});const _0x5f2961=this[_0x4eab14(0x212)](_0x2d0227);if(!_0x5f2961[_0x4eab14(0x1d3)])throw new _0x578dec(_0x4eab14(0x279),null,{'threadId':_0x2d0227});if(_0x5f2961[_0x4eab14(0x199)]=null,_0x5f2961[_0x4eab14(0x1ff)]=null,_0x564eea||!this[_0x4eab14(0x1eb)]||_0x4eab14(0x25e)!=typeof this[_0x4eab14(0x1eb)][_0x4eab14(0x221)])return Promise[_0x4eab14(0x1e0)]();const _0x2607a1=this[_0x4eab14(0x1d6)][_0x4eab14(0x276)][_0x4eab14(0x1c5)](_0x4eab14(0x205)),_0x18b82b=_0x2607a1[_0x4eab14(0x21d)](_0x4c6fa7(this[_0x4eab14(0x1d6)][_0x4eab14(0x274)],_0x4eab14(0x26a)));return this[_0x4eab14(0x1eb)][_0x4eab14(0x221)]({'channelId':_0x4969d4,'threadId':_0x2d0227})[_0x4eab14(0x1ce)](()=>_0x2607a1[_0x4eab14(0x244)](_0x18b82b))[_0x4eab14(0x214)](_0x1688e8=>{const _0x5c8e13=_0x4eab14;throw console[_0x5c8e13(0x22e)](_0x1688e8),new _0x578dec(_0x5c8e13(0x1bc),this);});}[_0x27a264(0x27f)]({threadId:_0xcb5f4f,isFromAdapter:_0x2a0750}){const _0x3c24cf=_0x27a264,_0x2c3351=this[_0x3c24cf(0x212)](_0xcb5f4f);if(!_0x2c3351)throw new _0x578dec(_0x3c24cf(0x202),this);if(this[_0x3c24cf(0x20f)](_0xcb5f4f),this[_0x3c24cf(0x1a0)][_0x3c24cf(0x20d)](_0xcb5f4f),!_0x2c3351[_0x3c24cf(0x241)]||_0x2a0750||!this[_0x3c24cf(0x1eb)]||_0x3c24cf(0x25e)!=typeof this[_0x3c24cf(0x1eb)][_0x3c24cf(0x272)])return Promise[_0x3c24cf(0x1e0)]();const _0x547588=this[_0x3c24cf(0x1d6)][_0x3c24cf(0x276)][_0x3c24cf(0x1c5)](_0x3c24cf(0x205)),{channelId:_0x2451ed}=_0x2c3351,_0x13cb71=_0x547588[_0x3c24cf(0x21d)](_0x4c6fa7(this[_0x3c24cf(0x1d6)][_0x3c24cf(0x274)],_0x3c24cf(0x26a)));return this[_0x3c24cf(0x1eb)][_0x3c24cf(0x272)]({'channelId':_0x2451ed,'threadId':_0xcb5f4f})[_0x3c24cf(0x1ce)](()=>_0x547588[_0x3c24cf(0x244)](_0x13cb71))[_0x3c24cf(0x214)](_0x164cb9=>{const _0x25cfc6=_0x3c24cf;throw console[_0x25cfc6(0x22e)](_0x164cb9),new _0x578dec(_0x25cfc6(0x1ec),this);});}[_0x27a264(0x1d8)]({threadId:_0x2d884b,unlinkedAt:_0xaabc93,context:_0x929dfc,attributes:_0x4facad,isFromAdapter:_0x5c9496}){const _0x26103b=_0x27a264;if(_0x26103b(0x1fe)!=typeof _0x2d884b)throw new _0x578dec(_0x26103b(0x1f9),null,{'threadId':_0x2d884b});if(!this[_0x26103b(0x1f5)](_0x2d884b))throw new _0x578dec(_0x26103b(0x210),null,{'threadId':_0x2d884b});const _0x459abb=this[_0x26103b(0x212)](_0x2d884b);let _0x54c4ba=!0x1;if(void 0x0!==_0x929dfc&&_0x459abb[_0x26103b(0x1d6)]!==_0x929dfc&&(_0x459abb[_0x26103b(0x1d6)]=_0x929dfc,_0x54c4ba=!0x0),void 0x0!==_0xaabc93&&_0x459abb[_0x26103b(0x257)]!==_0xaabc93&&(_0x459abb[_0x26103b(0x257)]=_0xaabc93,_0x54c4ba=!0x0),_0x4facad&&!_0x1423bb(_0x4facad,_0x459abb[_0x26103b(0x232)])&&(_0x459abb[_0x26103b(0x232)]=_0x4facad,_0x54c4ba=!0x0),!_0x54c4ba)return Promise[_0x26103b(0x1e0)]();if(!_0x459abb[_0x26103b(0x241)]||_0x5c9496||!this[_0x26103b(0x1eb)]||_0x26103b(0x25e)!=typeof this[_0x26103b(0x1eb)][_0x26103b(0x1a8)])return Promise[_0x26103b(0x1e0)]();const _0x21e27e=this[_0x26103b(0x1d6)][_0x26103b(0x276)][_0x26103b(0x1c5)](_0x26103b(0x205)),{channelId:_0x50d99d}=_0x459abb,_0x424655=_0x21e27e[_0x26103b(0x21d)](_0x4c6fa7(this[_0x26103b(0x1d6)][_0x26103b(0x274)],_0x26103b(0x26a)));return this[_0x26103b(0x1eb)][_0x26103b(0x1a8)]({'channelId':_0x50d99d,'threadId':_0x2d884b,'context':_0x929dfc,'unlinkedAt':_0xaabc93,'attributes':_0x4facad})[_0x26103b(0x1ce)](()=>_0x21e27e[_0x26103b(0x244)](_0x424655))[_0x26103b(0x214)](_0x367283=>{const _0x58c4db=_0x26103b;throw console[_0x58c4db(0x22e)](_0x367283),new _0x578dec(_0x58c4db(0x256),this);});}[_0x27a264(0x20f)](_0x13a736){const _0x50deee=_0x27a264,_0x141f6f=this[_0x50deee(0x1d6)][_0x50deee(0x276)][_0x50deee(0x1c5)](_0x14518f),_0x396573=this[_0x50deee(0x212)](_0x13a736);if(_0x396573[_0x50deee(0x1fc)]=!0x1,this[_0x50deee(0x226)][_0x50deee(0x1b2)](_0x396573)){const _0x565c64=this[_0x50deee(0x226)][_0x50deee(0x1c5)](_0x396573),_0x3a04cc=_0x565c64[_0x50deee(0x21f)],_0x8a3d27=_0x141f6f[_0x50deee(0x228)](_0x3a04cc);this[_0x50deee(0x226)][_0x50deee(0x20d)](_0x396573),this[_0x50deee(0x227)][_0x50deee(0x20d)](_0x3a04cc),_0x8a3d27&&_0x141f6f[_0x50deee(0x244)](_0x8a3d27),_0x565c64[_0x50deee(0x1a2)](),_0x3a04cc[_0x50deee(0x1a2)]()[_0x50deee(0x1ce)](()=>{const _0x4a721a=_0x50deee;this[_0x4a721a(0x262)](_0x3a04cc);});}}[_0x27a264(0x1fa)]({threadId:_0x133c8c,resolvedAt:_0x528a29,unlinkedAt:_0x56434e}){const _0x3710c7=_0x27a264,_0xdda091=!!_0x528a29,_0x942273=this[_0x3710c7(0x1d6)][_0x3710c7(0x276)][_0x3710c7(0x1c5)](_0x14518f),_0x57b8fa=this[_0x3710c7(0x212)](_0x133c8c);if(this[_0x3710c7(0x226)][_0x3710c7(0x1b2)](_0x57b8fa)){const _0x39b7b1=this[_0x3710c7(0x226)][_0x3710c7(0x1c5)](_0x57b8fa)[_0x3710c7(0x21f)],_0x39bbb5=_0x942273[_0x3710c7(0x228)](_0x39b7b1);_0x39bbb5&&(_0xdda091&&_0x942273[_0x3710c7(0x218)](_0x39bbb5),_0x56434e?_0x39bbb5[_0x3710c7(0x271)]=!0x1:_0x39bbb5[_0x3710c7(0x209)]());}}[_0x27a264(0x1cb)](_0x249b30){const _0x1e7774=_0x27a264,_0x455329=this[_0x1e7774(0x1d6)][_0x1e7774(0x276)][_0x1e7774(0x1c5)](_0x225de0),_0x584004=_0x939a83(_0x1e7774(0x21e)+_0x249b30),_0x4badfc=_0x455329[_0x1e7774(0x1b1)](_0x584004);return _0x4badfc||_0x455329[_0x1e7774(0x273)]({'id':_0x584004,'name':_0x249b30});}[_0x27a264(0x1e8)]({threadId:_0x74dbc6,commentId:_0x1cf1e2=_0x33e580(),content:_0x3faf13,authorId:_0x550d56,createdAt:_0xfa6a98,attributes:_0x275e12}){const _0x5bee94=_0x27a264;if(_0x5bee94(0x1fe)!=typeof _0x1cf1e2)throw new _0x578dec(_0x5bee94(0x1de));if(_0x5bee94(0x1fe)!=typeof _0x550d56)throw new _0x578dec(_0x5bee94(0x1fb));if(_0x5bee94(0x1fe)!=typeof _0x3faf13||!_0x3faf13[_0x5bee94(0x254)]())throw new _0x578dec(_0x5bee94(0x1e7));const _0x119b62=this[_0x5bee94(0x1d6)][_0x5bee94(0x276)][_0x5bee94(0x1c5)](_0x225de0)[_0x5bee94(0x1b1)](_0x550d56);if(!_0x119b62)throw new _0x578dec(_0x5bee94(0x26b),null,{'authorId':_0x550d56});let _0x3371bd=null,_0x2f4c1e=_0xfa6a98;return _0x275e12?.[_0x5bee94(0x22d)]&&(_0x3371bd=this[_0x5bee94(0x1cb)](_0x275e12[_0x5bee94(0x22d)][_0x5bee94(0x1c9)]),_0x2f4c1e=new Date(_0x275e12[_0x5bee94(0x22d)][_0x5bee94(0x1da)])),new Comment(this,{'threadId':_0x74dbc6,'id':_0x1cf1e2,'author':_0x3371bd||_0x119b62,'creator':_0x119b62,'content':_0x3faf13,'createdAt':_0xfa6a98,'authoredAt':_0x2f4c1e,'attributes':_0x275e12});}[_0x27a264(0x1c7)](_0x5440c7){const _0x4199f9=_0x27a264;let {threadId:_0x3920f8,content:_0x33f1fe,attributes:_0x19a804,isFromAdapter:_0x4b1bff}=_0x5440c7;const _0x338fd5=this[_0x4199f9(0x212)](_0x5440c7[_0x4199f9(0x24e)]);if(!_0x338fd5)throw new _0x578dec(_0x4199f9(0x281),this);const _0x365728=this[_0x4199f9(0x1e8)](_0x5440c7),{id:_0x2394f8}=_0x365728;if(_0x338fd5[_0x4199f9(0x240)](_0x365728),_0x4b1bff||!this[_0x4199f9(0x1eb)]||_0x4199f9(0x25e)!=typeof this[_0x4199f9(0x1eb)][_0x4199f9(0x1f4)]||!_0x338fd5[_0x4199f9(0x241)])return Promise[_0x4199f9(0x1e0)]();const _0xb92eaf=this[_0x4199f9(0x1d6)][_0x4199f9(0x276)][_0x4199f9(0x1c5)](_0x4199f9(0x205)),{channelId:_0x4c520e}=_0x338fd5,_0x2c0227=_0xb92eaf[_0x4199f9(0x21d)](_0x4c6fa7(this[_0x4199f9(0x1d6)][_0x4199f9(0x274)],_0x4199f9(0x26a)));return _0x19a804||(_0x19a804={}),this[_0x4199f9(0x1eb)][_0x4199f9(0x1f4)]({'channelId':_0x4c520e,'threadId':_0x3920f8,'commentId':_0x2394f8,'content':_0x33f1fe,'attributes':_0x19a804})[_0x4199f9(0x1ce)](_0x54dcdb=>{const _0x3d5360=_0x4199f9;_0xb92eaf[_0x3d5360(0x244)](_0x2c0227),_0x54dcdb&&this[_0x3d5360(0x1df)]({'channelId':_0x4c520e,'threadId':_0x3920f8,'commentId':_0x2394f8,'createdAt':_0x54dcdb[_0x3d5360(0x1da)],'isFromAdapter':!0x0});})[_0x4199f9(0x214)](_0x35cdb8=>{const _0x5d7f92=_0x4199f9;throw console[_0x5d7f92(0x22e)](_0x35cdb8),new _0x578dec(_0x5d7f92(0x255),this);});}[_0x27a264(0x1df)]({threadId:_0x125740,commentId:_0xde2f6f,content:_0x53a2aa,createdAt:_0x9cbfc1,attributes:_0x278fa8,isFromAdapter:_0x39b08c}){const _0x3c9f00=_0x27a264;if(void 0x0!==_0x53a2aa&&(_0x3c9f00(0x1fe)!=typeof _0x53a2aa||!_0x53a2aa[_0x3c9f00(0x254)]()[_0x3c9f00(0x250)]))throw new _0x578dec(_0x3c9f00(0x1bd));const _0x371276=this[_0x3c9f00(0x212)](_0x125740),_0x266904=_0x371276[_0x3c9f00(0x1af)](_0xde2f6f);if(!_0x266904)throw new _0x578dec(_0x3c9f00(0x282),this);let _0x4ebe9f=!0x1;if(_0x53a2aa&&_0x53a2aa!==_0x266904[_0x3c9f00(0x20b)]&&(_0x266904[_0x3c9f00(0x219)]||_0x39b08c)&&(_0x266904[_0x3c9f00(0x20b)]=_0x53a2aa,_0x4ebe9f=!0x0),_0x9cbfc1&&_0x9cbfc1!==_0x266904[_0x3c9f00(0x1da)]&&(_0x266904[_0x3c9f00(0x1da)]=_0x9cbfc1,_0x266904[_0x3c9f00(0x232)]&&_0x266904[_0x3c9f00(0x232)][_0x3c9f00(0x22d)]||(_0x266904[_0x3c9f00(0x19c)]=_0x9cbfc1),_0x4ebe9f=!0x0),_0x278fa8&&!_0x1423bb(_0x278fa8,_0x266904[_0x3c9f00(0x232)])&&(_0x266904[_0x3c9f00(0x232)]=_0x278fa8,_0x4ebe9f=!0x0),!_0x4ebe9f)return Promise[_0x3c9f00(0x1e0)]();if(_0x371276[_0x3c9f00(0x1f3)](_0x3c9f00(0x27e)),_0x39b08c||!this[_0x3c9f00(0x1eb)]||_0x3c9f00(0x25e)!=typeof this[_0x3c9f00(0x1eb)][_0x3c9f00(0x265)])return Promise[_0x3c9f00(0x1e0)]();const _0x42efc0=this[_0x3c9f00(0x1d6)][_0x3c9f00(0x276)][_0x3c9f00(0x1c5)](_0x3c9f00(0x205)),{channelId:_0x21fafd}=this[_0x3c9f00(0x212)](_0x266904[_0x3c9f00(0x24e)]),_0x295104=_0x42efc0[_0x3c9f00(0x21d)](_0x4c6fa7(this[_0x3c9f00(0x1d6)][_0x3c9f00(0x274)],_0x3c9f00(0x26a)));return this[_0x3c9f00(0x1eb)][_0x3c9f00(0x265)]({'channelId':_0x21fafd,'threadId':_0x125740,'commentId':_0xde2f6f,'content':_0x53a2aa,'attributes':_0x278fa8})[_0x3c9f00(0x1ce)](()=>_0x42efc0[_0x3c9f00(0x244)](_0x295104))[_0x3c9f00(0x214)](_0x197792=>{const _0x3e8d36=_0x3c9f00;throw console[_0x3e8d36(0x22e)](_0x197792),new _0x578dec(_0x3e8d36(0x1d5),this);});}[_0x27a264(0x23d)]({threadId:_0xad2d26,commentId:_0x17e6d2,isFromAdapter:_0x1486ef}){const _0x1c5e95=_0x27a264,_0x161cbb=this[_0x1c5e95(0x212)](_0xad2d26),_0x5997c3=_0x161cbb[_0x1c5e95(0x1af)](_0x17e6d2);if(!_0x5997c3)throw new _0x578dec(_0x1c5e95(0x24d),this);if(_0x161cbb[_0x1c5e95(0x1db)](_0x5997c3),_0x1486ef||!this[_0x1c5e95(0x1eb)]||_0x1c5e95(0x25e)!=typeof this[_0x1c5e95(0x1eb)][_0x1c5e95(0x234)])return Promise[_0x1c5e95(0x1e0)]();const _0x37ca21=this[_0x1c5e95(0x1d6)][_0x1c5e95(0x276)][_0x1c5e95(0x1c5)](_0x1c5e95(0x205)),{channelId:_0x99eea3}=_0x161cbb,_0x416d51=_0x37ca21[_0x1c5e95(0x21d)](_0x4c6fa7(this[_0x1c5e95(0x1d6)][_0x1c5e95(0x274)],_0x1c5e95(0x26a)));return this[_0x1c5e95(0x1eb)][_0x1c5e95(0x234)]({'channelId':_0x99eea3,'threadId':_0xad2d26,'commentId':_0x17e6d2})[_0x1c5e95(0x1ce)](()=>_0x37ca21[_0x1c5e95(0x244)](_0x416d51))[_0x1c5e95(0x214)](_0x28d0e1=>{const _0x3f447b=_0x1c5e95;throw console[_0x3f447b(0x22e)](_0x28d0e1),new _0x578dec(_0x3f447b(0x1e6),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x1eda61=_0x3726;(function(_0x249751,_0x4ed57a){const _0x32dad2=_0x3726,_0x10bbe1=_0x249751();while(!![]){try{const _0x1ded6d=parseInt(_0x32dad2(0x270))/0x1+parseInt(_0x32dad2(0x1f3))/0x2+-parseInt(_0x32dad2(0x1d8))/0x3+-parseInt(_0x32dad2(0x217))/0x4+parseInt(_0x32dad2(0x268))/0x5*(-parseInt(_0x32dad2(0x27d))/0x6)+-parseInt(_0x32dad2(0x1e3))/0x7+parseInt(_0x32dad2(0x27b))/0x8*(parseInt(_0x32dad2(0x209))/0x9);if(_0x1ded6d===_0x4ed57a)break;else _0x10bbe1['push'](_0x10bbe1['shift']());}catch(_0x1b8f38){_0x10bbe1['push'](_0x10bbe1['shift']());}}}(_0xbe48,0x6de83));import{PendingActions as _0x515365,ContextPlugin as _0x3c914f,Editor as _0x2ce97b}from'ckeditor5/src/core.js';import{Collection as _0xc95564,uid as _0xcb4f5a,CKEditorError as _0x497c50,ObservableMixin as _0x2c8d22}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x30edd1,hashObject as _0x496a6e,Users as _0x134230}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x279b40,isEqual as _0x49ecee,set as _0x2829c9,unset as _0x31a208}from'es-toolkit/compat';import{CommentThreadController as _0x239814}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x596f49}from'./ui/view/commentthreadview.js';import{CommentView as _0x3aa818}from'./ui/view/commentview.js';import{getTranslation as _0x383a78}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0xea3378}from'../annotations/view/annotationview.js';import{Annotation as _0x431c0b}from'../annotations/annotation.js';import{Annotations as _0x5a6c30}from'../annotations/annotations.js';const _t=Symbol(_0x1eda61(0x215)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x3c914f{[_0x1eda61(0x1d7)];[_0x1eda61(0x20c)];[_0x1eda61(0x263)];static get[_0x1eda61(0x1d5)](){return[_0x5a6c30,_0x515365,_0x134230];}static get[_0x1eda61(0x22c)](){const _0x33d92c=_0x1eda61;return _0x33d92c(0x218);}static get[_0x1eda61(0x2a3)](){return!0x0;}static get[_0x1eda61(0x1e8)](){return!0x0;}constructor(_0x1a01b3){const _0x42e904=_0x1eda61;super(_0x1a01b3),this[_0x42e904(0x1d7)]=new Map(),this[_0x42e904(0x20c)]=new Map(),this[_0x42e904(0x263)]=new Map(),this[_0x42e904(0x23a)](_0x42e904(0x292),new Set()),this[_0x42e904(0x23a)](_0x42e904(0x26d),new Map());const _0x556fc0=this[_0x42e904(0x26a)][_0x42e904(0x2b4)];_0x556fc0[_0x42e904(0x261)](_0x42e904(0x29f),0x2),_0x556fc0[_0x42e904(0x261)](_0x42e904(0x246),0x1f4),_0x556fc0[_0x42e904(0x261)](_0x42e904(0x219),0x8c),_0x556fc0[_0x42e904(0x261)](_0x42e904(0x2b1),_0x596f49),_0x556fc0[_0x42e904(0x261)](_0x42e904(0x1e5),_0x3aa818),_0x556fc0[_0x42e904(0x2a9)](_0x42e904(0x1e1))||console[_0x42e904(0x1fd)](_0x42e904(0x1f0));}[_0x1eda61(0x293)](){const _0x17d6cf=_0x1eda61,_0x3ddfd6=this[_0x17d6cf(0x26a)][_0x17d6cf(0x2ab)][_0x17d6cf(0x2a9)](_0x5a6c30);this[_0x17d6cf(0x23a)](_0x17d6cf(0x276),null),this['on'](_0x17d6cf(0x24d),(_0x485ea7,_0x22dd15)=>this[_0x17d6cf(0x1f8)](_0x22dd15)),this['on'](_0x17d6cf(0x212),(_0x51462f,_0x4d5dde)=>this[_0x17d6cf(0x27f)](_0x4d5dde)),this['on'](_0x17d6cf(0x241),(_0x1b2163,_0x480514)=>this[_0x17d6cf(0x1f9)](_0x480514)),this['on'](_0x17d6cf(0x241),(_0x3a9038,_0x1a31a5)=>this[_0x17d6cf(0x258)](_0x1a31a5),{'priority':_0x17d6cf(0x2b3)}),this['on'](_0x17d6cf(0x253),(_0x4b28a9,_0x555f38)=>this[_0x17d6cf(0x294)](_0x555f38)),this['on'](_0x17d6cf(0x253),(_0x47b20c,_0x4fde6f)=>this[_0x17d6cf(0x258)](_0x4fde6f),{'priority':_0x17d6cf(0x2b3)}),this['on'](_0x17d6cf(0x21c),(_0x526a51,_0x37d0f0)=>this[_0x17d6cf(0x1dd)](_0x37d0f0)),this['on'](_0x17d6cf(0x25a),(_0x43f1a2,_0x285b0c)=>this[_0x17d6cf(0x1fa)](_0x285b0c)),this['on'](_0x17d6cf(0x25a),(_0x5dd205,_0x1a0c42)=>this[_0x17d6cf(0x258)](_0x1a0c42),{'priority':_0x17d6cf(0x2b3)}),this['on'](_0x17d6cf(0x1e2),(_0xc4d9e8,_0x39b303)=>this[_0x17d6cf(0x26c)](_0x39b303)),this['on'](_0x17d6cf(0x21e),(_0x3613bf,_0x5419fc)=>this[_0x17d6cf(0x288)](_0x5419fc)),this['on'](_0x17d6cf(0x279),(_0x53dde4,_0x45a898)=>this[_0x17d6cf(0x25e)](_0x45a898)),this['on'](_0x17d6cf(0x1e2),(_0x5c8a18,{threadId:_0x453d03,isFromAdapter:_0x1c1983})=>{const _0x5bf737=_0x17d6cf;if(_0x1c1983)return;const _0x475009=this[_0x5bf737(0x2a7)](_0x453d03),_0x284e9d=_0x475009&&this[_0x5bf737(0x20c)][_0x5bf737(0x2a9)](_0x475009);_0x284e9d&&_0x284e9d[_0x5bf737(0x277)][_0x5bf737(0x2ad)][_0x5bf737(0x224)](-0x1);},{'priority':_0x17d6cf(0x2b3)}),this[_0x17d6cf(0x228)](_0x3ddfd6,_0x17d6cf(0x299),(_0x2ff870,_0x3131c8,_0x444068)=>{const _0x488516=_0x17d6cf,_0x18f760=Array[_0x488516(0x1fc)](_0x444068)[_0x488516(0x233)](_0xcf2d0f=>this[_0x488516(0x263)][_0x488516(0x2a9)](_0xcf2d0f[_0x488516(0x2aa)]))[_0x488516(0x296)](Boolean)[0x0];this[_0x488516(0x276)]=_0x18f760?_0x18f760[_0x488516(0x208)]:null;});}set[_0x1eda61(0x2a0)](_0x23e177){const _0x18c283=_0x1eda61;if(this[_0x18c283(0x23e)])throw new _0x497c50(_0x18c283(0x278));this[_0x18c283(0x23e)]=_0x23e177;}get[_0x1eda61(0x2a0)](){const _0x2ff5e5=_0x1eda61;return this[_0x2ff5e5(0x23e)];}[_0x1eda61(0x24d)]({channelId:_0x4872c4=_t,threadId:_0x446f5a=_0xcb4f5a(),comments:_0x857f4c=[],unlinkedAt:_0x386d67=null,resolvedAt:_0x34ccf0=null,resolvedBy:_0x3794c0=null,target:_0x528531=null,context:_0x4eb940=null,attributes:_0x253aaf={},isResolvable:_0x45f2bf=!0x0,isSubmitted:_0x45c276=!0x1,isFromAdapter:_0x37b7ba=!0x1}={}){const _0x3402b4=_0x1eda61;return this[_0x3402b4(0x1f6)](Nt(_0x3402b4(0x24d),_0x4872c4),{'channelId':_0x4872c4,'threadId':_0x446f5a,'comments':_0x857f4c,'unlinkedAt':_0x386d67,'resolvedAt':_0x34ccf0,'resolvedBy':_0x3794c0,'target':_0x528531,'context':_0x4eb940,'attributes':_0x253aaf,'isFromAdapter':_0x37b7ba,'isResolvable':_0x45f2bf,'isSubmitted':_0x45c276}),this[_0x3402b4(0x2a7)](_0x446f5a);}[_0x1eda61(0x24f)]({channelId:_0x922c87=_t,threadId:_0x3b31ea=_0xcb4f5a(),target:_0x35dd68,context:_0x2a9ffd=null,isResolvable:_0x30359a=!0x0}){const _0x9bd710=_0x1eda61;if(this[_0x9bd710(0x292)][_0x9bd710(0x28f)](_0x922c87)||this[_0x9bd710(0x292)][_0x9bd710(0x28f)](void 0x0))return null;if(!_0x35dd68)throw new _0x497c50(_0x9bd710(0x264));const _0x5517df=this[_0x9bd710(0x24d)]({'channelId':_0x922c87,'threadId':_0x3b31ea,'target':_0x35dd68,'context':_0x2a9ffd,'isResolvable':_0x30359a});if(!_0x5517df)return null;const _0x1144e7=this[_0x9bd710(0x20c)][_0x9bd710(0x2a9)](_0x5517df),_0x5176ec=_0x1144e7[_0x9bd710(0x277)][_0x9bd710(0x234)][_0x9bd710(0x298)],_0x31d8ab=this[_0x9bd710(0x26a)][_0x9bd710(0x2ab)][_0x9bd710(0x2a9)](_0x5a6c30),_0x423ac5=_0x31d8ab[_0x9bd710(0x289)](_0x1144e7[_0x9bd710(0x277)]);return _0x31d8ab[_0x9bd710(0x1ea)](_0x423ac5),_0x5176ec[_0x9bd710(0x252)](_0x9bd710(0x27c),()=>_0x5176ec[_0x9bd710(0x224)]()),_0x5517df;}[_0x1eda61(0x21f)](_0x244789){const _0xd4e15c=_0x1eda61;if(_0xd4e15c(0x2ac)!=typeof _0x244789)throw new _0x497c50(_0xd4e15c(0x24a));return this[_0xd4e15c(0x1d7)][_0xd4e15c(0x28f)](_0x244789);}[_0x1eda61(0x25a)]({channelId:_0x14744d=_t,threadId:_0x4d1b0a,context:_0x5db066,unlinkedAt:_0x190a06,attributes:_0x5c46ea,isFromAdapter:_0x32f18e=!0x1}){const _0x51be24=_0x1eda61;return this[_0x51be24(0x1f6)](Nt(_0x51be24(0x25a),_0x14744d),{'channelId':_0x14744d,'threadId':_0x4d1b0a,'context':_0x5db066,'unlinkedAt':_0x190a06,'attributes':_0x5c46ea,'isFromAdapter':_0x32f18e}),this[_0x51be24(0x2a7)](_0x4d1b0a);}[_0x1eda61(0x2a7)](_0x5a210e){const _0x4bdb69=_0x1eda61;if(_0x4bdb69(0x2ac)!=typeof _0x5a210e)throw new _0x497c50(_0x4bdb69(0x24a));return this[_0x4bdb69(0x1d7)][_0x4bdb69(0x2a9)](_0x5a210e);}[_0x1eda61(0x2b5)]({channelId:_0x55aac2,threadId:_0x4e7502}={}){const _0x37abf6=_0x1eda61,_0x134031=this[_0x37abf6(0x2a7)](_0x4e7502);if(_0x134031)return Promise[_0x37abf6(0x28e)](_0x134031);if(!this[_0x37abf6(0x2a0)])return Promise[_0x37abf6(0x28e)](void 0x0);if(_0x37abf6(0x237)!=typeof this[_0x37abf6(0x2a0)][_0x37abf6(0x2a7)])throw new _0x497c50(_0x37abf6(0x1f4),this[_0x37abf6(0x26a)]);return this[_0x37abf6(0x2a0)][_0x37abf6(0x2a7)]({'channelId':_0x55aac2,'threadId':_0x4e7502})[_0x37abf6(0x201)](_0x4fc7e1=>this[_0x37abf6(0x21f)](_0x4e7502)?this[_0x37abf6(0x2a7)](_0x4e7502):_0x4fc7e1?this[_0x37abf6(0x24d)](Object[_0x37abf6(0x29e)]({'isFromAdapter':!0x0,'channelId':_0x55aac2},_0x4fc7e1)):void 0x0)[_0x37abf6(0x1d1)](_0x1f07b6=>{const _0x51ebfa=_0x37abf6;throw console[_0x51ebfa(0x26b)](_0x1f07b6),new _0x497c50(_0x51ebfa(0x225),this[_0x51ebfa(0x26a)]);});}[_0x1eda61(0x1ff)]({channelId:_0x2e3352,skipNotAttached:_0x468a9c=!0x1,skipEmpty:_0x28f73a=!0x1,toJSON:_0xe699bd=!0x1}={}){const _0x182530=_0x1eda61,_0x228a20=[];for(const _0x28250d of this[_0x182530(0x1d7)][_0x182530(0x207)]())_0x2e3352&&_0x28250d[_0x182530(0x284)]!==_0x2e3352||_0x468a9c&&!_0x28250d[_0x182530(0x24b)]||_0x28f73a&&0x0===_0x28250d[_0x182530(0x1e4)]||_0x228a20[_0x182530(0x20b)](_0x28250d);return _0xe699bd?_0x228a20[_0x182530(0x233)](_0x23a370=>_0x23a370[_0x182530(0x28b)]()):_0x228a20;}[_0x1eda61(0x1e9)](_0x3c718a){const _0x4e940c=_0x1eda61,_0x7d3e6a=this[_0x4e940c(0x20c)][_0x4e940c(0x2a9)](_0x3c718a);if(!_0x7d3e6a)return null;return this[_0x4e940c(0x26a)][_0x4e940c(0x2ab)][_0x4e940c(0x2a9)](_0x5a6c30)[_0x4e940c(0x289)](_0x7d3e6a[_0x4e940c(0x277)])||null;}[_0x1eda61(0x1d9)](_0x358a39){const _0x1c7d41=_0x1eda61,_0x4d5412=this[_0x1c7d41(0x263)][_0x1c7d41(0x2a9)](_0x358a39[_0x1c7d41(0x2aa)]);return _0x4d5412?_0x4d5412[_0x1c7d41(0x208)]:null;}[_0x1eda61(0x29c)](_0x2c5668){const _0xaceaae=_0x1eda61,_0x279d57=this[_0xaceaae(0x26a)][_0xaceaae(0x2ab)][_0xaceaae(0x2a9)](_0x5a6c30);if(!_0x2c5668)return void(this[_0xaceaae(0x276)]&&_0x279d57[_0xaceaae(0x1ef)]());const _0x43ff1d=this[_0xaceaae(0x2a7)](_0x2c5668);if(!_0x43ff1d)throw new _0x497c50(_0xaceaae(0x21d),null,{'threadId':_0x2c5668});if(!this[_0xaceaae(0x20c)][_0xaceaae(0x28f)](_0x43ff1d))throw new _0x497c50(_0xaceaae(0x202),null,{'threadId':_0x2c5668});const _0x2379eb=_0x279d57[_0xaceaae(0x289)](this[_0xaceaae(0x20c)][_0xaceaae(0x2a9)](_0x43ff1d)[_0xaceaae(0x277)]);_0x279d57[_0xaceaae(0x1ea)](_0x2379eb);}[_0x1eda61(0x22b)](_0x1fbd8e,_0x5202c5){const _0x33d496=_0x1eda61;_0x1fbd8e?this[_0x33d496(0x292)][_0x33d496(0x20f)](_0x5202c5):this[_0x33d496(0x292)][_0x33d496(0x1dc)](_0x5202c5),this[_0x33d496(0x1f6)](_0x33d496(0x206),_0x33d496(0x292),this[_0x33d496(0x292)],this[_0x33d496(0x292)]);}[_0x1eda61(0x262)](_0x3bead0){const _0x57c845=_0x1eda61;return this[_0x57c845(0x292)][_0x57c845(0x28f)](_0x3bead0)||this[_0x57c845(0x292)][_0x57c845(0x28f)](void 0x0);}[_0x1eda61(0x256)](_0x5423e0,_0x427fa3){return new _0x239814(_0x5423e0,_0x427fa3);}[_0x1eda61(0x227)](_0x4ee172,_0x27dbd6=_t){const _0x2fd71f=_0x1eda61;this[_0x2fd71f(0x26d)][_0x2fd71f(0x23a)](_0x27dbd6,_0x4ee172),this[_0x2fd71f(0x1f6)](_0x2fd71f(0x1fb),_0x2fd71f(0x26d),this[_0x2fd71f(0x26d)],this[_0x2fd71f(0x26d)]);}[_0x1eda61(0x25c)](_0x53cfa8=_t){const _0x9f03e4=_0x1eda61;return this[_0x9f03e4(0x26d)][_0x9f03e4(0x28f)](_0x53cfa8)?this[_0x9f03e4(0x26d)][_0x9f03e4(0x2a9)](_0x53cfa8):bt;}[_0x1eda61(0x1f8)]({channelId:_0x188a6b,threadId:_0xeffcc0,comments:_0x82f9df,unlinkedAt:_0x169be3,resolvedAt:_0x27a200,resolvedBy:_0x1942f3,target:_0x2c9744,context:_0xa17fc5,attributes:_0x49b6cd,isFromAdapter:_0x5af399,isResolvable:_0x17f8d2,isSubmitted:_0x7c63f5}){const _0x3836b=_0x1eda61;if(_0x3836b(0x2ac)!=typeof _0xeffcc0)throw new _0x497c50(_0x3836b(0x24a),null,{'threadId':_0xeffcc0});if(this[_0x3836b(0x21f)](_0xeffcc0))throw new _0x497c50(_0x3836b(0x240),null,{'threadId':_0xeffcc0});const _0x3b4594=new CommentThread(this,{'channelId':_0x188a6b,'id':_0xeffcc0,'context':_0xa17fc5,'attributes':_0x49b6cd,'unlinkedAt':_0x169be3,'resolvedAt':_0x27a200,'resolvedBy':_0x1942f3?this[_0x3836b(0x26a)][_0x3836b(0x2ab)][_0x3836b(0x2a9)](_0x134230)[_0x3836b(0x229)](_0x1942f3):null,'isResolvable':_0x17f8d2,'isSubmitted':_0x7c63f5||_0x5af399});this[_0x3836b(0x1d7)][_0x3836b(0x23a)](_0xeffcc0,_0x3b4594);for(const _0x304ae8 of _0x82f9df)_0x3b4594[_0x3836b(0x1eb)](this[_0x3836b(0x282)]({'threadId':_0xeffcc0,..._0x304ae8}));return _0x2c9744&&_0x3b4594[_0x3836b(0x205)](_0x2c9744),_0x5af399||!_0x3b4594[_0x3836b(0x1e4)]?Promise[_0x3836b(0x28e)]():this[_0x3836b(0x27f)]({'channelId':_0x188a6b,'threadId':_0xeffcc0});}[_0x1eda61(0x27f)]({channelId:_0x5aff57,threadId:_0x402407}){const _0x41540c=_0x1eda61;if(!this[_0x41540c(0x21f)](_0x402407))throw new _0x497c50(_0x41540c(0x27e),this);const _0x4e0f53=this[_0x41540c(0x2a7)](_0x402407);if(_0x4e0f53[_0x41540c(0x213)]=!0x0,!this[_0x41540c(0x2a0)]||_0x41540c(0x237)!=typeof this[_0x41540c(0x2a0)][_0x41540c(0x24d)])return Promise[_0x41540c(0x28e)]();const {id:_0xa840f1,comments:_0x1aa97b,resolvedAt:_0x25ab2d,resolvedBy:_0x42992a,context:_0x256819,attributes:_0x26e442}=_0x4e0f53,_0x57317d=this[_0x41540c(0x26a)][_0x41540c(0x2ab)][_0x41540c(0x2a9)](_0x41540c(0x244)),_0x109542=_0x57317d[_0x41540c(0x20f)](_0x383a78(this[_0x41540c(0x26a)][_0x41540c(0x255)],_0x41540c(0x297)));return this[_0x41540c(0x2a0)][_0x41540c(0x24d)]({'channelId':_0x5aff57,'threadId':_0xa840f1,'comments':_0x1aa97b[_0x41540c(0x233)](_0x3cb983=>_0x3cb983[_0x41540c(0x28b)]()),'resolvedAt':_0x25ab2d,'resolvedBy':_0x42992a?_0x42992a['id']:_0x42992a,'context':_0x256819,'attributes':_0x26e442})[_0x41540c(0x201)](({comments:_0x339fac})=>{const _0x4de632=_0x41540c;_0x57317d[_0x4de632(0x20d)](_0x109542);for(const _0x4fbdc4 of _0x339fac)this[_0x4de632(0x288)]({'channelId':_0x5aff57,'threadId':_0x402407,'commentId':_0x4fbdc4[_0x4de632(0x2a4)],'createdAt':_0x4fbdc4[_0x4de632(0x210)],'isFromAdapter':!0x0});})[_0x41540c(0x1d1)](_0x4ad50f=>{const _0x4ce229=_0x41540c;throw console[_0x4ce229(0x26b)](_0x4ad50f),new _0x497c50(_0x4ce229(0x2af),this);});}[_0x1eda61(0x214)]({threadId:_0x58284,target:_0x4557e0}){const _0x46c47d=_0x1eda61,_0xe60d2c=this[_0x46c47d(0x2a7)](_0x58284);if(!_0xe60d2c)throw new _0x497c50(_0x46c47d(0x239),this);const _0x1f4d5c=this[_0x46c47d(0x26a)][_0x46c47d(0x2ab)][_0x46c47d(0x2a9)](_0x46c47d(0x244)),_0x445975=this[_0x46c47d(0x26a)][_0x46c47d(0x2ab)][_0x46c47d(0x2a9)](_0x5a6c30),_0x2bf3a0=this[_0x46c47d(0x230)](_0xe60d2c),_0x256865=new _0x239814(_0xe60d2c,_0x2bf3a0);let _0x5cdd9b=null;_0x2bf3a0['on'](_0x46c47d(0x20a),(_0x46cfa4,_0x1d0fe6,_0x2b93d5)=>{const _0x1b2b3f=_0x46c47d;_0x2b93d5?_0x5cdd9b=_0x1f4d5c[_0x1b2b3f(0x20f)](_0x383a78(this[_0x1b2b3f(0x26a)][_0x1b2b3f(0x255)],_0x1b2b3f(0x297))):_0x5cdd9b&&(_0x1f4d5c[_0x1b2b3f(0x20d)](_0x5cdd9b),_0x5cdd9b=null);}),this[_0x46c47d(0x20c)][_0x46c47d(0x23a)](_0xe60d2c,_0x256865),this[_0x46c47d(0x263)][_0x46c47d(0x23a)](_0x2bf3a0,_0x256865);const _0x1178ee=new _0xea3378(this[_0x46c47d(0x26a)][_0x46c47d(0x255)],_0x2bf3a0);_0x1178ee[_0x46c47d(0x26e)](_0x46c47d(0x1e4))['to'](_0x2bf3a0),_0x1178ee[_0x46c47d(0x26e)](_0x46c47d(0x220))['to'](_0x2bf3a0,_0x46c47d(0x220),_0x2bf3a0,_0x46c47d(0x1e4),(_0x44e684,_0x42cdf)=>_0x44e684||!_0x42cdf),_0x1178ee[_0x46c47d(0x26e)](_0x46c47d(0x23b))['to'](_0x2bf3a0),_0x1178ee[_0x46c47d(0x249)]=_0x46c47d(0x280);const _0x53da4b=new _0x431c0b({'view':_0x1178ee,'target':_0x4557e0,'type':_0x46c47d(0x280),'isVisible':!_0xe60d2c[_0x46c47d(0x1f1)]&&!!(_0x46c47d(0x237)==typeof _0x4557e0?_0x4557e0():_0x4557e0)});return _0x2bf3a0['on'](_0x46c47d(0x21b),()=>{const _0x20b6bc=_0x46c47d;_0x53da4b[_0x20b6bc(0x1f6)](_0x20b6bc(0x21b));}),this[_0x46c47d(0x1da)](_0x2bf3a0,_0x53da4b),_0x445975[_0x46c47d(0x20f)](_0x53da4b),_0x53da4b;}[_0x1eda61(0x1da)](_0x2f713f,_0x345f2c){const _0x5bbc44=_0x1eda61;this[_0x5bbc44(0x228)](_0x2f713f,_0x5bbc44(0x27c),(_0x197ff2,_0x387cec)=>{const _0x21d646=_0x5bbc44,_0x5dd154=_0x387cec['ui'][_0x21d646(0x277)][_0x21d646(0x22a)][_0x21d646(0x29a)];_0x345f2c[_0x21d646(0x2ae)][_0x21d646(0x20f)](_0x5dd154),this[_0x21d646(0x26a)]instanceof _0x2ce97b&&this[_0x21d646(0x26a)]['ui'][_0x21d646(0x2b0)][_0x21d646(0x20f)](_0x5dd154);},{'priority':_0x5bbc44(0x29b)}),this[_0x5bbc44(0x228)](_0x2f713f,_0x5bbc44(0x281),(_0x23998c,_0x17aa02)=>{const _0x5bfd52=_0x5bbc44,_0x410595=_0x17aa02['ui'][_0x5bfd52(0x277)][_0x5bfd52(0x22a)][_0x5bfd52(0x29a)];_0x345f2c[_0x5bfd52(0x2ae)][_0x5bfd52(0x28f)](_0x410595)&&_0x345f2c[_0x5bfd52(0x2ae)][_0x5bfd52(0x20d)](_0x410595),this[_0x5bfd52(0x26a)]instanceof _0x2ce97b&&this[_0x5bfd52(0x26a)]['ui'][_0x5bfd52(0x2b0)][_0x5bfd52(0x20d)](_0x410595);});}[_0x1eda61(0x221)](_0x48dda9){const _0x59d99b=_0x1eda61;this[_0x59d99b(0x245)](_0x48dda9,_0x59d99b(0x27c)),this[_0x59d99b(0x245)](_0x48dda9,_0x59d99b(0x281));}[_0x1eda61(0x230)](_0x5e0e82){const _0x34a342=_0x1eda61,_0x58a3ec=this[_0x34a342(0x26a)][_0x34a342(0x2ab)][_0x34a342(0x2a9)](_0x134230),{config:_0x802f9f,locale:_0x1be620}=this[_0x34a342(0x26a)],_0x32a6ff=_0x30edd1(_0x802f9f[_0x34a342(0x2a9)](_0x34a342(0x255)),_0x1be620);return new(0x0,(_0x802f9f[_0x34a342(0x2a9)](_0x34a342(0x27a)))[(_0x34a342(0x275))])(_0x1be620,_0x5e0e82,_0x58a3ec['me'],{'editorConfig':{..._0x802f9f[_0x34a342(0x2a9)](_0x34a342(0x1e1)),'licenseKey':this[_0x34a342(0x26a)][_0x34a342(0x2b4)][_0x34a342(0x2a9)](_0x34a342(0x248))},'copyMarkers':_0x802f9f[_0x34a342(0x2a9)](_0x34a342(0x2b2)),'maxCommentsWhenCollapsed':_0x802f9f[_0x34a342(0x2a9)](_0x34a342(0x29f)),'maxThreadTotalWeight':_0x802f9f[_0x34a342(0x2a9)](_0x34a342(0x246)),'maxCommentCharsWhenCollapsed':_0x802f9f[_0x34a342(0x2a9)](_0x34a342(0x219)),'formatDateTime':_0x32a6ff,'CommentView':_0x802f9f[_0x34a342(0x2a9)](_0x34a342(0x27a))[_0x34a342(0x2a2)]});}[_0x1eda61(0x1f9)]({threadId:_0x32d13f,channelId:_0x2970a6,resolvedAt:_0x45c9f0,resolvedBy:_0x39213d,isFromAdapter:_0x25a3b9}){const _0x1d86f7=_0x1eda61;if(!this[_0x1d86f7(0x21f)](_0x32d13f))throw new _0x497c50(_0x1d86f7(0x27e),null,{'threadId':_0x32d13f});const _0x2464be=this[_0x1d86f7(0x2a7)](_0x32d13f);if(_0x2464be[_0x1d86f7(0x1ee)])throw new _0x497c50(_0x1d86f7(0x2a5),null,{'threadId':_0x32d13f});const _0x4edfed=this[_0x1d86f7(0x26a)][_0x1d86f7(0x2ab)][_0x1d86f7(0x2a9)](_0x134230);if(_0x2464be[_0x1d86f7(0x1fe)]=_0x4edfed[_0x1d86f7(0x229)](_0x39213d),_0x2464be[_0x1d86f7(0x22e)]=_0x45c9f0,_0x25a3b9||!this[_0x1d86f7(0x2a0)]||_0x1d86f7(0x237)!=typeof this[_0x1d86f7(0x2a0)][_0x1d86f7(0x241)])return Promise[_0x1d86f7(0x28e)]();const _0x9ebffc=this[_0x1d86f7(0x26a)][_0x1d86f7(0x2ab)][_0x1d86f7(0x2a9)](_0x1d86f7(0x244)),_0x40f1e0=_0x9ebffc[_0x1d86f7(0x20f)](_0x383a78(this[_0x1d86f7(0x26a)][_0x1d86f7(0x255)],_0x1d86f7(0x297)));return this[_0x1d86f7(0x2a0)][_0x1d86f7(0x241)]({'channelId':_0x2970a6,'threadId':_0x32d13f})[_0x1d86f7(0x201)](({resolvedAt:_0x51e49a,resolvedBy:_0x5f15fa})=>{const _0x563e25=_0x1d86f7;_0x9ebffc[_0x563e25(0x20d)](_0x40f1e0),_0x2464be[_0x563e25(0x1fe)]['id']!==_0x5f15fa&&(_0x2464be[_0x563e25(0x1fe)]=_0x4edfed[_0x563e25(0x229)](_0x5f15fa)),_0x2464be[_0x563e25(0x22e)]=_0x51e49a;})[_0x1d86f7(0x1d1)](_0x16d48b=>{const _0x29d39b=_0x1d86f7;throw console[_0x29d39b(0x26b)](_0x16d48b),new _0x497c50(_0x29d39b(0x1d2),this);});}[_0x1eda61(0x294)]({threadId:_0x433e99,channelId:_0x2f62c6,isFromAdapter:_0x1d3d02}){const _0x3d9056=_0x1eda61;if(!this[_0x3d9056(0x21f)](_0x433e99))throw new _0x497c50(_0x3d9056(0x27e),null,{'threadId':_0x433e99});const _0x3d50de=this[_0x3d9056(0x2a7)](_0x433e99);if(!_0x3d50de[_0x3d9056(0x1ee)])throw new _0x497c50(_0x3d9056(0x26f),null,{'threadId':_0x433e99});if(_0x3d50de[_0x3d9056(0x1fe)]=null,_0x3d50de[_0x3d9056(0x22e)]=null,_0x1d3d02||!this[_0x3d9056(0x2a0)]||_0x3d9056(0x237)!=typeof this[_0x3d9056(0x2a0)][_0x3d9056(0x253)])return Promise[_0x3d9056(0x28e)]();const _0x1dd528=this[_0x3d9056(0x26a)][_0x3d9056(0x2ab)][_0x3d9056(0x2a9)](_0x3d9056(0x244)),_0x1fce21=_0x1dd528[_0x3d9056(0x20f)](_0x383a78(this[_0x3d9056(0x26a)][_0x3d9056(0x255)],_0x3d9056(0x297)));return this[_0x3d9056(0x2a0)][_0x3d9056(0x253)]({'channelId':_0x2f62c6,'threadId':_0x433e99})[_0x3d9056(0x201)](()=>_0x1dd528[_0x3d9056(0x20d)](_0x1fce21))[_0x3d9056(0x1d1)](_0x3c3459=>{const _0x1ea97a=_0x3d9056;throw console[_0x1ea97a(0x26b)](_0x3c3459),new _0x497c50(_0x1ea97a(0x247),this);});}[_0x1eda61(0x1dd)]({threadId:_0x3bb13a,isFromAdapter:_0x70009}){const _0x211864=_0x1eda61,_0x125023=this[_0x211864(0x2a7)](_0x3bb13a);if(!_0x125023)throw new _0x497c50(_0x211864(0x28d),this);if(this[_0x211864(0x287)](_0x3bb13a),this[_0x211864(0x1d7)][_0x211864(0x1dc)](_0x3bb13a),!_0x125023[_0x211864(0x257)]||_0x70009||!this[_0x211864(0x2a0)]||_0x211864(0x237)!=typeof this[_0x211864(0x2a0)][_0x211864(0x21c)])return Promise[_0x211864(0x28e)]();const _0x5fbe14=this[_0x211864(0x26a)][_0x211864(0x2ab)][_0x211864(0x2a9)](_0x211864(0x244)),{channelId:_0x30c90f}=_0x125023,_0x3a021e=_0x5fbe14[_0x211864(0x20f)](_0x383a78(this[_0x211864(0x26a)][_0x211864(0x255)],_0x211864(0x297)));return this[_0x211864(0x2a0)][_0x211864(0x21c)]({'channelId':_0x30c90f,'threadId':_0x3bb13a})[_0x211864(0x201)](()=>_0x5fbe14[_0x211864(0x20d)](_0x3a021e))[_0x211864(0x1d1)](_0x5896fa=>{const _0x48467b=_0x211864;throw console[_0x48467b(0x26b)](_0x5896fa),new _0x497c50(_0x48467b(0x1e0),this);});}[_0x1eda61(0x1fa)]({threadId:_0x55fb92,unlinkedAt:_0x2561aa,context:_0x451733,attributes:_0x30bfe2,isFromAdapter:_0x451a79}){const _0x4bca9b=_0x1eda61;if(_0x4bca9b(0x2ac)!=typeof _0x55fb92)throw new _0x497c50(_0x4bca9b(0x24a),null,{'threadId':_0x55fb92});if(!this[_0x4bca9b(0x21f)](_0x55fb92))throw new _0x497c50(_0x4bca9b(0x27e),null,{'threadId':_0x55fb92});const _0x1ce3dd=this[_0x4bca9b(0x2a7)](_0x55fb92);let _0xb3347e=!0x1;if(void 0x0!==_0x451733&&_0x1ce3dd[_0x4bca9b(0x26a)]!==_0x451733&&(_0x1ce3dd[_0x4bca9b(0x26a)]=_0x451733,_0xb3347e=!0x0),void 0x0!==_0x2561aa&&_0x1ce3dd[_0x4bca9b(0x1e7)]!==_0x2561aa&&(_0x1ce3dd[_0x4bca9b(0x1e7)]=_0x2561aa,_0xb3347e=!0x0),_0x30bfe2&&!_0x49ecee(_0x30bfe2,_0x1ce3dd[_0x4bca9b(0x273)])&&(_0x1ce3dd[_0x4bca9b(0x273)]=_0x30bfe2,_0xb3347e=!0x0),!_0xb3347e)return Promise[_0x4bca9b(0x28e)]();if(!_0x1ce3dd[_0x4bca9b(0x257)]||_0x451a79||!this[_0x4bca9b(0x2a0)]||_0x4bca9b(0x237)!=typeof this[_0x4bca9b(0x2a0)][_0x4bca9b(0x25a)])return Promise[_0x4bca9b(0x28e)]();const _0xf1abc2=this[_0x4bca9b(0x26a)][_0x4bca9b(0x2ab)][_0x4bca9b(0x2a9)](_0x4bca9b(0x244)),{channelId:_0x634b6d}=_0x1ce3dd,_0x5038ca=_0xf1abc2[_0x4bca9b(0x20f)](_0x383a78(this[_0x4bca9b(0x26a)][_0x4bca9b(0x255)],_0x4bca9b(0x297)));return this[_0x4bca9b(0x2a0)][_0x4bca9b(0x25a)]({'channelId':_0x634b6d,'threadId':_0x55fb92,'context':_0x451733,'unlinkedAt':_0x2561aa,'attributes':_0x30bfe2})[_0x4bca9b(0x201)](()=>_0xf1abc2[_0x4bca9b(0x20d)](_0x5038ca))[_0x4bca9b(0x1d1)](_0x217f60=>{const _0x2be35a=_0x4bca9b;throw console[_0x2be35a(0x26b)](_0x217f60),new _0x497c50(_0x2be35a(0x1d6),this);});}[_0x1eda61(0x287)](_0x28e400){const _0xc26277=_0x1eda61,_0x509b6e=this[_0xc26277(0x26a)][_0xc26277(0x2ab)][_0xc26277(0x2a9)](_0x5a6c30),_0x2d5482=this[_0xc26277(0x2a7)](_0x28e400);if(_0x2d5482[_0xc26277(0x259)]=!0x1,this[_0xc26277(0x20c)][_0xc26277(0x28f)](_0x2d5482)){const _0x497820=this[_0xc26277(0x20c)][_0xc26277(0x2a9)](_0x2d5482),_0x274492=_0x497820[_0xc26277(0x277)],_0xd269c4=_0x509b6e[_0xc26277(0x289)](_0x274492);this[_0xc26277(0x20c)][_0xc26277(0x1dc)](_0x2d5482),this[_0xc26277(0x263)][_0xc26277(0x1dc)](_0x274492),_0xd269c4&&_0x509b6e[_0xc26277(0x20d)](_0xd269c4),_0x497820[_0xc26277(0x1f5)](),_0x274492[_0xc26277(0x1f5)]()[_0xc26277(0x201)](()=>{const _0x8df67f=_0xc26277;this[_0x8df67f(0x221)](_0x274492);});}}[_0x1eda61(0x258)]({threadId:_0x3a3c56,resolvedAt:_0x1493d9,unlinkedAt:_0x51fa84}){const _0x140a9f=_0x1eda61,_0x2283f1=!!_0x1493d9,_0x595a47=this[_0x140a9f(0x26a)][_0x140a9f(0x2ab)][_0x140a9f(0x2a9)](_0x5a6c30),_0x3104a3=this[_0x140a9f(0x2a7)](_0x3a3c56);if(this[_0x140a9f(0x20c)][_0x140a9f(0x28f)](_0x3104a3)){const _0x364223=this[_0x140a9f(0x20c)][_0x140a9f(0x2a9)](_0x3104a3)[_0x140a9f(0x277)],_0x20fe08=_0x595a47[_0x140a9f(0x289)](_0x364223);_0x20fe08&&(_0x2283f1&&_0x595a47[_0x140a9f(0x211)](_0x20fe08),_0x51fa84?_0x20fe08[_0x140a9f(0x1e6)]=!0x1:_0x20fe08[_0x140a9f(0x243)]());}}[_0x1eda61(0x242)](_0xb27098){const _0x1bc313=_0x1eda61,_0x435d2e=this[_0x1bc313(0x26a)][_0x1bc313(0x2ab)][_0x1bc313(0x2a9)](_0x134230),_0x2a3a85=_0x496a6e(_0x1bc313(0x23d)+_0xb27098),_0x2c1f3c=_0x435d2e[_0x1bc313(0x229)](_0x2a3a85);return _0x2c1f3c||_0x435d2e[_0x1bc313(0x231)]({'id':_0x2a3a85,'name':_0xb27098});}[_0x1eda61(0x282)]({threadId:_0x39baf0,commentId:_0x200392=_0xcb4f5a(),content:_0x3ab1f3,authorId:_0x25d5ff,createdAt:_0x538991,attributes:_0x1e00d6}){const _0x28adef=_0x1eda61;if(_0x28adef(0x2ac)!=typeof _0x200392)throw new _0x497c50(_0x28adef(0x21a));if(_0x28adef(0x2ac)!=typeof _0x25d5ff)throw new _0x497c50(_0x28adef(0x236));if(_0x28adef(0x2ac)!=typeof _0x3ab1f3||!_0x3ab1f3[_0x28adef(0x226)]())throw new _0x497c50(_0x28adef(0x25b));const _0x1e3191=this[_0x28adef(0x26a)][_0x28adef(0x2ab)][_0x28adef(0x2a9)](_0x134230)[_0x28adef(0x229)](_0x25d5ff);if(!_0x1e3191)throw new _0x497c50(_0x28adef(0x1d3),null,{'authorId':_0x25d5ff});let _0x23df34=null,_0x48d13f=_0x538991;return _0x1e00d6?.[_0x28adef(0x274)]&&(_0x23df34=this[_0x28adef(0x242)](_0x1e00d6[_0x28adef(0x274)][_0x28adef(0x254)]),_0x48d13f=new Date(_0x1e00d6[_0x28adef(0x274)][_0x28adef(0x210)])),new Comment(this,{'threadId':_0x39baf0,'id':_0x200392,'author':_0x23df34||_0x1e3191,'creator':_0x1e3191,'content':_0x3ab1f3,'createdAt':_0x538991,'authoredAt':_0x48d13f,'attributes':_0x1e00d6});}[_0x1eda61(0x26c)](_0x584e39){const _0x744f71=_0x1eda61;let {threadId:_0x535002,content:_0x4db234,attributes:_0x20c817,isFromAdapter:_0xc0ff5e}=_0x584e39;const _0x40b658=this[_0x744f71(0x2a7)](_0x584e39[_0x744f71(0x266)]);if(!_0x40b658)throw new _0x497c50(_0x744f71(0x290),this);const _0xe941ba=this[_0x744f71(0x282)](_0x584e39),{id:_0x486cef}=_0xe941ba;if(_0x40b658[_0x744f71(0x1eb)](_0xe941ba),_0xc0ff5e||!this[_0x744f71(0x2a0)]||_0x744f71(0x237)!=typeof this[_0x744f71(0x2a0)][_0x744f71(0x1e2)]||!_0x40b658[_0x744f71(0x257)])return Promise[_0x744f71(0x28e)]();const _0x363d39=this[_0x744f71(0x26a)][_0x744f71(0x2ab)][_0x744f71(0x2a9)](_0x744f71(0x244)),{channelId:_0x45fd21}=_0x40b658,_0x4cdb4b=_0x363d39[_0x744f71(0x20f)](_0x383a78(this[_0x744f71(0x26a)][_0x744f71(0x255)],_0x744f71(0x297)));return _0x20c817||(_0x20c817={}),this[_0x744f71(0x2a0)][_0x744f71(0x1e2)]({'channelId':_0x45fd21,'threadId':_0x535002,'commentId':_0x486cef,'content':_0x4db234,'attributes':_0x20c817})[_0x744f71(0x201)](_0x1a9cac=>{const _0x1535be=_0x744f71;_0x363d39[_0x1535be(0x20d)](_0x4cdb4b),_0x1a9cac&&this[_0x1535be(0x288)]({'channelId':_0x45fd21,'threadId':_0x535002,'commentId':_0x486cef,'createdAt':_0x1a9cac[_0x1535be(0x210)],'isFromAdapter':!0x0});})[_0x744f71(0x1d1)](_0x281c4d=>{const _0x22ceee=_0x744f71;throw console[_0x22ceee(0x26b)](_0x281c4d),new _0x497c50(_0x22ceee(0x2b6),this);});}[_0x1eda61(0x288)]({threadId:_0x51fa76,commentId:_0x39a887,content:_0x270d99,createdAt:_0x4b0db3,attributes:_0x4443eb,isFromAdapter:_0x238784}){const _0x214d8f=_0x1eda61;if(void 0x0!==_0x270d99&&(_0x214d8f(0x2ac)!=typeof _0x270d99||!_0x270d99[_0x214d8f(0x226)]()[_0x214d8f(0x1e4)]))throw new _0x497c50(_0x214d8f(0x24c));const _0xab96c6=this[_0x214d8f(0x2a7)](_0x51fa76),_0x2dcfed=_0xab96c6[_0x214d8f(0x271)](_0x39a887);if(!_0x2dcfed)throw new _0x497c50(_0x214d8f(0x1de),this);let _0x38b304=!0x1;if(_0x270d99&&_0x270d99!==_0x2dcfed[_0x214d8f(0x203)]&&(_0x2dcfed[_0x214d8f(0x1f7)]||_0x238784)&&(_0x2dcfed[_0x214d8f(0x203)]=_0x270d99,_0x38b304=!0x0),_0x4b0db3&&_0x4b0db3!==_0x2dcfed[_0x214d8f(0x210)]&&(_0x2dcfed[_0x214d8f(0x210)]=_0x4b0db3,_0x2dcfed[_0x214d8f(0x273)]&&_0x2dcfed[_0x214d8f(0x273)][_0x214d8f(0x274)]||(_0x2dcfed[_0x214d8f(0x29d)]=_0x4b0db3),_0x38b304=!0x0),_0x4443eb&&!_0x49ecee(_0x4443eb,_0x2dcfed[_0x214d8f(0x273)])&&(_0x2dcfed[_0x214d8f(0x273)]=_0x4443eb,_0x38b304=!0x0),!_0x38b304)return Promise[_0x214d8f(0x28e)]();if(_0xab96c6[_0x214d8f(0x1f6)](_0x214d8f(0x28a)),_0x238784||!this[_0x214d8f(0x2a0)]||_0x214d8f(0x237)!=typeof this[_0x214d8f(0x2a0)][_0x214d8f(0x21e)])return Promise[_0x214d8f(0x28e)]();const _0x218935=this[_0x214d8f(0x26a)][_0x214d8f(0x2ab)][_0x214d8f(0x2a9)](_0x214d8f(0x244)),{channelId:_0xb0660a}=this[_0x214d8f(0x2a7)](_0x2dcfed[_0x214d8f(0x266)]),_0x527b59=_0x218935[_0x214d8f(0x20f)](_0x383a78(this[_0x214d8f(0x26a)][_0x214d8f(0x255)],_0x214d8f(0x297)));return this[_0x214d8f(0x2a0)][_0x214d8f(0x21e)]({'channelId':_0xb0660a,'threadId':_0x51fa76,'commentId':_0x39a887,'content':_0x270d99,'attributes':_0x4443eb})[_0x214d8f(0x201)](()=>_0x218935[_0x214d8f(0x20d)](_0x527b59))[_0x214d8f(0x1d1)](_0x3d94f5=>{const _0x5d4b57=_0x214d8f;throw console[_0x5d4b57(0x26b)](_0x3d94f5),new _0x497c50(_0x5d4b57(0x232),this);});}[_0x1eda61(0x25e)]({threadId:_0x420b93,commentId:_0x5b7264,isFromAdapter:_0x54e0e9}){const _0x280274=_0x1eda61,_0x3bd1df=this[_0x280274(0x2a7)](_0x420b93),_0x3291b4=_0x3bd1df[_0x280274(0x271)](_0x5b7264);if(!_0x3291b4)throw new _0x497c50(_0x280274(0x216),this);if(_0x3bd1df[_0x280274(0x2a1)](_0x3291b4),_0x54e0e9||!this[_0x280274(0x2a0)]||_0x280274(0x237)!=typeof this[_0x280274(0x2a0)][_0x280274(0x279)])return Promise[_0x280274(0x28e)]();const _0x23cf59=this[_0x280274(0x26a)][_0x280274(0x2ab)][_0x280274(0x2a9)](_0x280274(0x244)),{channelId:_0x19ec05}=_0x3bd1df,_0x54ac81=_0x23cf59[_0x280274(0x20f)](_0x383a78(this[_0x280274(0x26a)][_0x280274(0x255)],_0x280274(0x297)));return this[_0x280274(0x2a0)][_0x280274(0x279)]({'channelId':_0x19ec05,'threadId':_0x420b93,'commentId':_0x5b7264})[_0x280274(0x201)](()=>_0x23cf59[_0x280274(0x20d)](_0x54ac81))[_0x280274(0x1d1)](_0x35a78e=>{const _0xd3e895=_0x280274;throw console[_0xd3e895(0x26b)](_0x35a78e),new _0x497c50(_0xd3e895(0x260),this);});}}function _0x3726(_0x1f9ef6,_0x2f8e51){const _0xbe480d=_0xbe48();return _0x3726=function(_0x372642,_0x1d52c8){_0x372642=_0x372642-0x1d1;let _0x452584=_0xbe480d[_0x372642];return _0x452584;},_0x3726(_0x1f9ef6,_0x2f8e51);}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2c8d22(){[_0x1eda61(0x284)];['id'];[_0x1eda61(0x259)];[_0x1eda61(0x213)];[_0x1eda61(0x27a)];[_0x1eda61(0x238)];constructor(_0x2d866c,_0x908c5a){const _0x3c1dd6=_0x1eda61;super();const _0x453e7a=_0x908c5a[_0x3c1dd6(0x2a8)];this[_0x3c1dd6(0x284)]=_0x908c5a[_0x3c1dd6(0x284)],this['id']=_0x908c5a['id'],this[_0x3c1dd6(0x27a)]=new _0xc95564(),this[_0x3c1dd6(0x238)]=_0x2d866c,this[_0x3c1dd6(0x259)]=!0x1,this[_0x3c1dd6(0x213)]=_0x908c5a[_0x3c1dd6(0x257)],this[_0x3c1dd6(0x23a)](_0x3c1dd6(0x2b7),!0x0),this[_0x3c1dd6(0x26e)](_0x3c1dd6(0x262))['to'](_0x2d866c,_0x3c1dd6(0x26d),_0x2d866c,_0x3c1dd6(0x292),()=>_0x2d866c[_0x3c1dd6(0x262)](this[_0x3c1dd6(0x284)])),this[_0x3c1dd6(0x26e)](_0x3c1dd6(0x20e))['to'](_0x2d866c,_0x3c1dd6(0x26d),()=>_0x2d866c[_0x3c1dd6(0x25c)](this[_0x3c1dd6(0x284)])[_0x3c1dd6(0x28c)]),this[_0x3c1dd6(0x26e)](_0x3c1dd6(0x223))['to'](_0x2d866c,_0x3c1dd6(0x26d),()=>{const _0x40c3c0=_0x3c1dd6,_0x5536dd=_0x2d866c[_0x40c3c0(0x25c)](this[_0x40c3c0(0x284)]);return _0x5536dd[_0x40c3c0(0x24e)]||_0x5536dd[_0x40c3c0(0x28c)];}),this[_0x3c1dd6(0x26e)](_0x3c1dd6(0x2a8))['to'](_0x2d866c,_0x3c1dd6(0x26d),()=>_0x453e7a&&_0x2d866c[_0x3c1dd6(0x25c)](this[_0x3c1dd6(0x284)])[_0x3c1dd6(0x28e)]),this[_0x3c1dd6(0x23a)](_0x3c1dd6(0x26a),_0x908c5a[_0x3c1dd6(0x26a)]),this[_0x3c1dd6(0x26e)](_0x3c1dd6(0x1f1))['to'](this,_0x3c1dd6(0x22e),this,_0x3c1dd6(0x1e7),(_0x7f4c7d,_0x29d512)=>_0x7f4c7d?_0x29d512?_0x7f4c7d<_0x29d512?_0x7f4c7d:_0x29d512:_0x7f4c7d:_0x29d512),this[_0x3c1dd6(0x23a)](_0x3c1dd6(0x1e7),_0x908c5a[_0x3c1dd6(0x1e7)]||null),this[_0x3c1dd6(0x23a)](_0x3c1dd6(0x22e),_0x908c5a[_0x3c1dd6(0x22e)]||null),this[_0x3c1dd6(0x23a)](_0x3c1dd6(0x1fe),_0x908c5a[_0x3c1dd6(0x1fe)]||null),this[_0x3c1dd6(0x26e)](_0x3c1dd6(0x1ee))['to'](this,_0x3c1dd6(0x22e),_0x306f13=>!!_0x306f13),this[_0x3c1dd6(0x23a)](_0x3c1dd6(0x273),_0x908c5a[_0x3c1dd6(0x273)]||{});}get[_0x1eda61(0x267)](){const _0xf7ee0a=_0x1eda61;return Array[_0xf7ee0a(0x1fc)](this[_0xf7ee0a(0x27a)])[_0xf7ee0a(0x1ed)]((_0x22b018,_0x1266c3)=>_0x22b018+_0x1266c3[_0xf7ee0a(0x267)],0x0);}get[_0x1eda61(0x1e4)](){const _0x8c397a=_0x1eda61;return this[_0x8c397a(0x27a)][_0x8c397a(0x1e4)];}get[_0x1eda61(0x24b)](){const _0xff2629=_0x1eda61;return this[_0xff2629(0x259)];}get[_0x1eda61(0x257)](){const _0x542359=_0x1eda61;return this[_0x542359(0x213)];}[_0x1eda61(0x1ec)](){const _0x3505c6=_0x1eda61,{channelId:_0x1ed79a,id:_0x58ba59}=this;this[_0x3505c6(0x238)][_0x3505c6(0x1f6)](Nt(_0x3505c6(0x212),_0x1ed79a),{'channelId':_0x1ed79a,'threadId':_0x58ba59});}[_0x1eda61(0x222)](_0x1e97cc){const _0x328cb1=_0x1eda61;this[_0x328cb1(0x1df)]({'unlinkedAt':_0x1e97cc});}[_0x1eda61(0x28e)]({resolvedAt:_0x11d20d=new Date(),resolvedBy:_0x1353c1='',isFromAdapter:_0x5da38b=!0x1}={}){const _0x3f6127=_0x1eda61,_0x166668=this[_0x3f6127(0x238)][_0x3f6127(0x26a)][_0x3f6127(0x2ab)][_0x3f6127(0x2a9)](_0x134230)['me'],{channelId:_0x3f2d65,id:_0x571279}=this;this[_0x3f6127(0x238)][_0x3f6127(0x1f6)](Nt(_0x3f6127(0x241),_0x3f2d65),{'channelId':_0x3f2d65,'threadId':_0x571279,'resolvedAt':_0x11d20d,'resolvedBy':_0x1353c1||_0x166668['id'],'isFromAdapter':_0x5da38b});}[_0x1eda61(0x235)]({isFromAdapter:_0x2e0b85=!0x1}={}){const _0x3c29d5=_0x1eda61,{channelId:_0xc853b5,id:_0x3f6638}=this;this[_0x3c29d5(0x238)][_0x3c29d5(0x1f6)](Nt(_0x3c29d5(0x253),_0xc853b5),{'channelId':_0xc853b5,'threadId':_0x3f6638,'isFromAdapter':_0x2e0b85});}[_0x1eda61(0x286)](_0x2786a7){const _0x4c76ea=_0x1eda61;this[_0x4c76ea(0x26a)]||this[_0x4c76ea(0x1df)]({'context':_0x2786a7});}[_0x1eda61(0x23f)](_0x12611f,_0xd74c9a){const _0x411b3e=_0x1eda61,_0x471542=_0x279b40(this[_0x411b3e(0x273)]);_0x2829c9(_0x471542,_0x12611f,_0xd74c9a),this[_0x411b3e(0x1df)]({'attributes':_0x471542});}[_0x1eda61(0x23c)](_0x1d809b){const _0x386044=_0x1eda61,_0x30a126=_0x279b40(this[_0x386044(0x273)]);_0x31a208(_0x30a126,_0x1d809b),this[_0x386044(0x1df)]({'attributes':_0x30a126});}[_0x1eda61(0x20d)]({isFromAdapter:_0x425d1f=!0x1}={}){const _0x26ed60=_0x1eda61,{channelId:_0x53bdfc,id:_0x561df9}=this;this[_0x26ed60(0x238)][_0x26ed60(0x1f6)](Nt(_0x26ed60(0x21c),_0x53bdfc),{'channelId':_0x53bdfc,'threadId':_0x561df9,'isFromAdapter':_0x425d1f});}[_0x1eda61(0x205)](_0x1cb6da){const _0x381d94=_0x1eda61;return this[_0x381d94(0x238)][_0x381d94(0x214)]({'threadId':this['id'],'target':_0x1cb6da});}[_0x1eda61(0x1e2)](_0x1e2c22){const _0x2821bf=_0x1eda61,{channelId:_0x1c46db,id:_0x3ee88f}=this;this[_0x2821bf(0x238)][_0x2821bf(0x1f6)](Nt(_0x2821bf(0x1e2),_0x1c46db,_0x3ee88f),Object[_0x2821bf(0x29e)]({'channelId':_0x1c46db,'threadId':_0x3ee88f},_0x1e2c22));}[_0x1eda61(0x271)](_0x312d12){const _0x1a3afc=_0x1eda61;if(_0x1a3afc(0x2ac)!=typeof _0x312d12)throw new _0x497c50(_0x1a3afc(0x269),null,{'commentId':_0x312d12});return this[_0x1a3afc(0x27a)][_0x1a3afc(0x2a9)](_0x312d12);}[_0x1eda61(0x28b)](){const _0x12510c=_0x1eda61;return{'threadId':this['id'],'context':this[_0x12510c(0x26a)],'unlinkedAt':this[_0x12510c(0x1e7)],'resolvedAt':this[_0x12510c(0x22e)],'resolvedBy':this[_0x12510c(0x1fe)]?this[_0x12510c(0x1fe)]['id']:null,'archivedAt':this[_0x12510c(0x1f1)],'comments':this[_0x12510c(0x27a)][_0x12510c(0x233)](_0x321e82=>_0x321e82[_0x12510c(0x28b)]()),'attributes':this[_0x12510c(0x273)]};}[_0x1eda61(0x1eb)](_0x4b506a){const _0x517e10=_0x1eda61;return this[_0x517e10(0x228)](_0x4b506a,_0x517e10(0x22d),()=>{const _0x51e4bf=_0x517e10,_0x20d1d4=this[_0x51e4bf(0x291)](_0x4b506a),_0x219c33=this[_0x51e4bf(0x27a)];_0x20d1d4-0x1!=_0x219c33[_0x51e4bf(0x1db)](_0x4b506a)&&_0x20d1d4+0x1!=_0x219c33[_0x51e4bf(0x1db)](_0x4b506a)&&(this[_0x51e4bf(0x2a1)](_0x4b506a),this[_0x51e4bf(0x1eb)](_0x4b506a));}),this[_0x517e10(0x27a)][_0x517e10(0x20f)](_0x4b506a,this[_0x517e10(0x291)](_0x4b506a));}[_0x1eda61(0x1df)](_0x31b50e){const _0x370b6c=_0x1eda61,{channelId:_0x3c3435,id:_0x38f06d}=this;this[_0x370b6c(0x238)][_0x370b6c(0x1f6)](Nt(_0x370b6c(0x25a),_0x3c3435),{..._0x31b50e,'channelId':_0x3c3435,'threadId':_0x38f06d});}[_0x1eda61(0x2a1)](_0x44fece){const _0x148a1c=_0x1eda61;return this[_0x148a1c(0x245)](_0x44fece),_0x44fece[_0x148a1c(0x1f5)](),this[_0x148a1c(0x27a)][_0x148a1c(0x20d)](_0x44fece);}[_0x1eda61(0x291)](_0x10f0ba){const _0xc32789=_0x1eda61,_0x17749d=this[_0xc32789(0x27a)][_0xc32789(0x265)](_0x473a07=>new Date(_0x473a07[_0xc32789(0x29d)])[_0xc32789(0x283)]()>new Date(_0x10f0ba[_0xc32789(0x29d)])[_0xc32789(0x283)]());return _0x17749d?this[_0xc32789(0x27a)][_0xc32789(0x1db)](_0x17749d):this[_0xc32789(0x1e4)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x2c8d22(){['id'];[_0x1eda61(0x266)];[_0x1eda61(0x200)];[_0x1eda61(0x25f)];[_0x1eda61(0x285)];[_0x1eda61(0x210)];[_0x1eda61(0x238)];constructor(_0x212e42,_0x130e25){const _0xfd0efa=_0x1eda61;super();const _0x472e16=_0x212e42[_0xfd0efa(0x26a)][_0xfd0efa(0x2ab)][_0xfd0efa(0x2a9)](_0x134230)['me'],_0xeb96ff=_0x212e42[_0xfd0efa(0x2a7)](_0x130e25[_0xfd0efa(0x266)]),_0x3301c3=0x0===_0xeb96ff[_0xfd0efa(0x27a)][_0xfd0efa(0x1e4)],_0x17c7ef=_0x472e16===_0x130e25[_0xfd0efa(0x200)];this['id']=_0x130e25['id'],this[_0xfd0efa(0x266)]=_0x130e25[_0xfd0efa(0x266)],this[_0xfd0efa(0x200)]=_0x130e25[_0xfd0efa(0x200)],this[_0xfd0efa(0x25f)]=_0x130e25[_0xfd0efa(0x25f)],this[_0xfd0efa(0x285)]=Boolean(_0x130e25[_0xfd0efa(0x273)]&&_0x130e25[_0xfd0efa(0x273)][_0xfd0efa(0x274)]),this[_0xfd0efa(0x23a)](_0xfd0efa(0x203),_0x130e25[_0xfd0efa(0x203)]),this[_0xfd0efa(0x210)]=_0x130e25[_0xfd0efa(0x210)]||new Date(),this[_0xfd0efa(0x23a)](_0xfd0efa(0x29d),_0x130e25[_0xfd0efa(0x29d)]||new Date()),this[_0xfd0efa(0x26e)](_0xfd0efa(0x22e))['to'](_0xeb96ff,_0xfd0efa(0x22e)),this[_0xfd0efa(0x23a)](_0xfd0efa(0x273),_0x130e25[_0xfd0efa(0x273)]||{}),this[_0xfd0efa(0x26e)](_0xfd0efa(0x1f7))['to'](_0x212e42,_0xfd0efa(0x26d),()=>{const _0x2fe5b3=_0xfd0efa,_0x529d9a=_0x212e42[_0x2fe5b3(0x25c)](_0xeb96ff[_0x2fe5b3(0x284)])[_0x2fe5b3(0x24e)],_0x20cf2a=_0x212e42[_0x2fe5b3(0x25c)](_0xeb96ff[_0x2fe5b3(0x284)])[_0x2fe5b3(0x1f2)];return _0x17c7ef&&_0x529d9a||!_0x17c7ef&&_0x20cf2a;}),this[_0xfd0efa(0x26e)](_0xfd0efa(0x20e))['to'](_0xeb96ff,_0xfd0efa(0x20e),_0x212e42,_0xfd0efa(0x26d),_0x1f8064=>{const _0x432683=_0xfd0efa,_0x4d5b91=_0x212e42[_0x432683(0x25c)](_0xeb96ff[_0x432683(0x284)])[_0x432683(0x24e)],_0xb5361b=_0x212e42[_0x432683(0x25c)](_0xeb96ff[_0x432683(0x284)])[_0x432683(0x1f2)];return _0x17c7ef&&_0x4d5b91||_0x1f8064&&_0x3301c3||!_0x17c7ef&&_0xb5361b&&!_0x3301c3;}),this[_0xfd0efa(0x26e)](_0xfd0efa(0x262))['to'](_0xeb96ff,_0xfd0efa(0x262)),this[_0xfd0efa(0x238)]=_0x212e42;}get[_0x1eda61(0x267)](){const _0x1a0eac=_0x1eda61;return Math[_0x1a0eac(0x272)](function(_0x4e627e){const _0x3cdec4=_0x1a0eac,_0x2e3c22=document[_0x3cdec4(0x295)](_0x3cdec4(0x25d));return _0x2e3c22[_0x3cdec4(0x2a6)]=_0x4e627e,_0x2e3c22[_0x3cdec4(0x22f)][_0x3cdec4(0x1e4)];}(this[_0x1a0eac(0x203)]),0xc8);}[_0x1eda61(0x204)](_0x102ba3){const _0x57c001=_0x1eda61,{threadId:_0x29eb9e,id:_0x381cad}=this;if(!this[_0x57c001(0x238)][_0x57c001(0x21f)](_0x29eb9e))throw new _0x497c50(_0x57c001(0x250),this);const {channelId:_0x5d7c1b}=this[_0x57c001(0x238)][_0x57c001(0x2a7)](_0x29eb9e);this[_0x57c001(0x238)][_0x57c001(0x1f6)](Nt(_0x57c001(0x21e),_0x5d7c1b,_0x29eb9e),{'channelId':_0x5d7c1b,'threadId':_0x29eb9e,'commentId':_0x381cad,..._0x102ba3});}[_0x1eda61(0x23f)](_0x3fc008,_0x3e409e){const _0x1e387b=_0x1eda61,_0x19a4d9=_0x279b40(this[_0x1e387b(0x273)]);_0x2829c9(_0x19a4d9,_0x3fc008,_0x3e409e),this[_0x1e387b(0x204)]({'attributes':_0x19a4d9});}[_0x1eda61(0x23c)](_0x50eb00){const _0x2807f9=_0x1eda61,_0x2c3e72=_0x279b40(this[_0x2807f9(0x273)]);_0x31a208(_0x2c3e72,_0x50eb00),this[_0x2807f9(0x204)]({'attributes':_0x2c3e72});}[_0x1eda61(0x20d)](_0x43078d={}){const _0x21aac2=_0x1eda61;if(!_0x43078d[_0x21aac2(0x1d4)]&&!this[_0x21aac2(0x20e)])return;const {threadId:_0x4cc7cc,id:_0x1e20be}=this;if(!this[_0x21aac2(0x238)][_0x21aac2(0x21f)](_0x4cc7cc))throw new _0x497c50(_0x21aac2(0x251),this);const {channelId:_0x488df2}=this[_0x21aac2(0x238)][_0x21aac2(0x2a7)](_0x4cc7cc);this[_0x21aac2(0x238)][_0x21aac2(0x1f6)](Nt(_0x21aac2(0x279),_0x488df2,_0x4cc7cc),{'channelId':_0x488df2,'threadId':_0x4cc7cc,'commentId':_0x1e20be,..._0x43078d});}[_0x1eda61(0x28b)](){const _0x439291=_0x1eda61;return{'commentId':this['id'],'content':this[_0x439291(0x203)],'createdAt':this[_0x439291(0x210)],'authorId':this[_0x439291(0x25f)]['id'],'attributes':this[_0x439291(0x273)]};}[_0x1eda61(0x1f5)](){const _0x299c0c=_0x1eda61;this[_0x299c0c(0x245)]();}}function Nt(_0x5dbc5f,..._0x4f6362){for(const _0xacf51 of _0x4f6362)void 0x0!==_0xacf51&&(_0x5dbc5f+=':'+String(_0xacf51));return _0x5dbc5f;}function _0xbe48(){const _0x4b0316=['focus','commentsrepository-fetch-comment-thread','trim','setPermissions','listenTo','getUser','body','switchReadOnly','pluginName','change:authoredAt','resolvedAt','textContent','_createCommentThreadView','addUser','commentsrepository-update-comment-internal-error','map','commentThreadInputView','reopen','commentsrepository-invalid-comment-authorid','function','_repository','commentsrepository-attach-missing-comment-thread','set','isActive','removeAttribute','external:','_adapter','setAttribute','commentsrepository-duplicated-comment-thread-id','resolveCommentThread','_getExternalAuthor','refreshVisibility','PendingActions','stopListening','comments.maxThreadTotalWeight','commentsrepository-reopen-comment-thread-internal-error','licenseKey','type','commentsrepository-invalid-comment-thread-id','isAttached','commentsrepository-update-comment-invalid-content','addCommentThread','write','openNewCommentThread','commentsrepository-update-comment-missing-comment-thread','commentsrepository-remove-comment-missing-comment-thread','once','reopenCommentThread','authorName','locale','createCommentThreadController','isSubmitted','_updateActiveAnnotation','_isAttached','updateCommentThread','commentsrepository-invalid-comment-content','getPermissions','div','_removeComment','creator','commentsrepository-remove-comment-internal-error','define','isReadOnly','_viewToController','commentsrepository-missing-target','find','threadId','weight','10KOPBTy','commentsrepository-get-comment-invalid-id','context','error','_addComment','_permissions','bind','commentsrepository-reopen-comment-thread','204918LDFAVU','getComment','max','attributes','@external','CommentThreadView','activeCommentThread','view','commentsrepository-adapter-already-set','removeComment','comments','19863808EKwTba','editorReady','1951302AbgZKY','commentsrepository-missing-comment-thread','_submitCommentThread','comment','editorDestroyed','_createNewComment','getTime','channelId','isExternal','setContext','_detachCommentThread','_updateComment','getByInnerView','commentUpdated','toJSON','admin','commentsrepository-remove-missing-comment-thread','resolve','has','commentsrepository-add-comment-to-missing-comment-thread','_findOptimalIndex','_readOnlyChannels','init','_reopenCommentThread','createElement','filter','PENDING_ACTION_COMMENT_THREAD','commentInputView','change:activeAnnotations','bodyCollectionContainer','highest','setActiveCommentThread','authoredAt','assign','comments.maxCommentsWhenCollapsed','adapter','_remove','CommentView','isOfficialPlugin','commentId','commentsrepository-resolved-comment-thread','innerHTML','getCommentThread','isResolvable','get','innerView','plugins','string','commentsListView','focusableElements','commentsrepository-add-comment-thread-internal-error','focusTracker','comments.CommentThreadView','comments.copyMarkers','lowest','config','fetchCommentThread','commentsrepository-add-comment-internal-error','_hasTargetInContent','catch','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-add-comment-user-not-exists','isFromAdapter','requires','commentsrepository-update-comment-thread-internal-error','_threads','2061300pdEPpV','getCommentThreadForAnnotation','_bindAnnotationToEditors','getIndex','delete','_removeCommentThread','commentsrepository-update-missing-comment','_update','commentsrepository-remove-comment-thread-internal-error','comments.editorConfig','addComment','4617809BPWwZl','length','comments.CommentView','isVisible','unlinkedAt','isPremiumPlugin','getAnnotationForCommentThread','activate','_add','submit','reduce','isResolved','deactivateAll','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','archivedAt','modifyAll','822400whgIor','commentsrepository-missing-thread-and-adapter-method','destroy','fire','isEditable','_addCommentThread','_resolveCommentThread','_updateCommentThread','change:_permissions','from','warn','resolvedBy','getCommentThreads','author','then','commentsrepository-active-not-attached','content','update','attachTo','change:_readOnlyChannels','values','model','9itwjeY','change:isDirty','push','_threadToController','remove','isRemovable','add','createdAt','_removeActiveAnnotation','submitCommentThread','_isSubmitted','_attachCommentThread','noChannel','commentsrepository-remove-missing-comment','2606776zfbfZe','CommentsRepository','comments.maxCommentCharsWhenCollapsed','commentsrepository-invalid-commentid','escape','removeCommentThread','commentsrepository-active-missing-comment-thread','updateComment','hasCommentThread','isDirty','_unbindEditors','setUnlinkedAt','canComment'];_0xbe48=function(){return _0x4b0316;};return _0xbe48();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35fdfe=_0xb3c0;(function(_0x4b8bd2,_0x4f90ce){const _0x4ba0fb=_0xb3c0,_0x46aa34=_0x4b8bd2();while(!![]){try{const _0x43b3f4=parseInt(_0x4ba0fb(0x19b))/0x1*(-parseInt(_0x4ba0fb(0x193))/0x2)+parseInt(_0x4ba0fb(0x1be))/0x3+-parseInt(_0x4ba0fb(0x187))/0x4+parseInt(_0x4ba0fb(0x18c))/0x5+-parseInt(_0x4ba0fb(0x18e))/0x6+-parseInt(_0x4ba0fb(0x1a2))/0x7+parseInt(_0x4ba0fb(0x1a8))/0x8*(parseInt(_0x4ba0fb(0x1b0))/0x9);if(_0x43b3f4===_0x4f90ce)break;else _0x46aa34['push'](_0x46aa34['shift']());}catch(_0x502ec2){_0x46aa34['push'](_0x46aa34['shift']());}}}(_0x13df,0x6da0e));import{Plugin as _0xe39fb8}from'ckeditor5/src/core.js';import{IconAddComment as _0x53cd63}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x370d7b}from'./commentsrepository.js';function _0xb3c0(_0xf5b987,_0x45accb){const _0x13df22=_0x13df();return _0xb3c0=function(_0xb3c0c7,_0x1339fb){_0xb3c0c7=_0xb3c0c7-0x16b;let _0x2bfb9c=_0x13df22[_0xb3c0c7];return _0x2bfb9c;},_0xb3c0(_0xf5b987,_0x45accb);}import{CommentsEditing as _0x2511d1}from'./commentsediting.js';function _0x13df(){const _0x53be81=['isPremiumPlugin','featureNotAllowed','commands','editor','addSourceCollector','1170136yjJvsD','hasContent','commentsLicenseKeyUsageLimit','stop','isOfficialPlugin','903310pALpls','change:activeAnnotations','5387742vvxCqY','licenseKey','push','Comment','bind','12602VlMLul','_licenseKeyCheckInterval','view','getRange','highest','commentsLicenseKeyInvalid','config','plugins','27tcosNd','innerView','_showLicenseError','hasCommentThread','_viewToController','editing','map','4550322olDTfb','isEnabled','commentsLicenseKeyNotAllowed','CommentsListView','evaluationLimit','domainLimit','3890904BizhHO','find','has','init','_threadToController','removeCommentThread','comment','menuBar:comment','36yJIGYu','model','set','addCommentThread','comment:','execute','locale','length','from','isFocused','get','_createUIButton','expired','commentsLicenseKeyDomainLimit','1000764SdeFdZ','commentsLicenseKeyEvaluationLimit','commentsLicenseKeyValid','pluginName','requires','CommentsUI','focusTracker','Comments','addComment','listenTo','usageLimit','commentsLicenseKeyExpired','componentFactory','low','destroy','invalid','getCommentThread','getAllMarkersForId','activeMarker','CommentThreadInputView','add','tooltip','hasMarkerForId','focus'];_0x13df=function(){return _0x53be81;};return _0x13df();}import{EditorAnnotations as _0x25646d}from'../annotations/editorannotations.js';import{ButtonView as _0x2c1fac,MenuBarMenuListItemButtonView as _0x25b8ac}from'ckeditor5/src/ui.js';import{Annotations as _0x1740b3}from'../annotations/annotations.js';import{CommentsListView as _0x566891}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x3706f0}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x2d9c56}from'../utils/common-translations.js';export class CommentsUI extends _0xe39fb8{[_0x35fdfe(0x18f)];[_0x35fdfe(0x194)];static get[_0x35fdfe(0x16d)](){const _0x489bed=_0x35fdfe;return _0x489bed(0x16f);}static get[_0x35fdfe(0x18b)](){return!0x0;}static get[_0x35fdfe(0x182)](){return!0x0;}static get[_0x35fdfe(0x16e)](){return[_0x370d7b,_0x2511d1,_0x25646d,_0x1740b3];}get[_0x35fdfe(0x1a5)](){return _0x566891;}get[_0x35fdfe(0x17d)](){return _0x3706f0;}[_0x35fdfe(0x1ab)](){const _0x66769=_0x35fdfe,_0x29a99c=this[_0x66769(0x185)],_0xe3e687=_0x29a99c[_0x66769(0x19a)][_0x66769(0x1ba)](_0x370d7b),_0x355ed5=_0x29a99c[_0x66769(0x19a)][_0x66769(0x1ba)](_0x2511d1),_0x2cd9fa=_0x29a99c[_0x66769(0x19a)][_0x66769(0x1ba)](_0x1740b3),_0x1987c3=_0x29a99c[_0x66769(0x19a)][_0x66769(0x1ba)](_0x25646d);_0x29a99c['ui'][_0x66769(0x176)][_0x66769(0x17e)](_0x66769(0x1ae),()=>{const _0x26a903=_0x66769,_0x22b5ec=this[_0x26a903(0x1bb)](_0x2c1fac);return _0x22b5ec[_0x26a903(0x17f)]=!0x0,_0x22b5ec;}),_0x29a99c['ui'][_0x66769(0x176)][_0x66769(0x17e)](_0x66769(0x1af),()=>this[_0x66769(0x1bb)](_0x25b8ac)),_0x1987c3[_0x66769(0x186)](()=>{const _0x140182=_0x66769,_0x23e176=[];for(const [_0x37c2f5,_0xab3712]of _0xe3e687[_0x140182(0x1ac)]){const _0x445d8b=_0x355ed5[_0x140182(0x17b)](_0x37c2f5['id']),_0x5f0cee=_0x445d8b[_0x140182(0x1a1)](_0x26acad=>_0x26acad[_0x140182(0x196)]());_0x445d8b[_0x140182(0x1b7)]>0x0&&_0x23e176[_0x140182(0x190)]([_0xab3712[_0x140182(0x195)],_0x5f0cee]);}return _0x23e176;}),this[_0x66769(0x173)](_0x2cd9fa,_0x66769(0x18d),(_0x5e5771,_0x3fe575,_0x680d9f)=>{const _0x6ff9e9=_0x66769,_0x5a4df8=Array[_0x6ff9e9(0x1b8)](_0x680d9f)[_0x6ff9e9(0x1a1)](_0x1c5f72=>_0x1c5f72[_0x6ff9e9(0x19c)])[_0x6ff9e9(0x1a9)](_0xe7398e=>_0xe3e687[_0x6ff9e9(0x19f)][_0x6ff9e9(0x1aa)](_0xe7398e));if(!_0x5a4df8)return void(_0x355ed5[_0x6ff9e9(0x17c)]=null);const _0x44f10c=_0xe3e687[_0x6ff9e9(0x19f)][_0x6ff9e9(0x1ba)](_0x5a4df8)[_0x6ff9e9(0x1b1)]['id'],_0x44ed05=_0x6ff9e9(0x1b4)+_0x44f10c;_0x44f10c&&_0x355ed5[_0x6ff9e9(0x180)](_0x44f10c)?_0x355ed5[_0x6ff9e9(0x17c)]=_0x44ed05:_0x355ed5[_0x6ff9e9(0x17c)]&&(_0x355ed5[_0x6ff9e9(0x17c)]=null);}),this[_0x66769(0x173)](_0xe3e687,_0x66769(0x1ad),(_0x3d7aa9,{threadId:_0x5f10fb,isFromAdapter:_0x1ee239})=>{const _0x2bc980=_0x66769;!_0x1ee239&&_0x29a99c['ui'][_0x2bc980(0x170)][_0x2bc980(0x1b9)]&&_0x355ed5[_0x2bc980(0x180)](_0x5f10fb)&&_0x29a99c[_0x2bc980(0x1a0)][_0x2bc980(0x195)][_0x2bc980(0x181)]();},{'priority':_0x66769(0x197)}),this[_0x66769(0x173)](_0xe3e687,_0x66769(0x172),(_0x12e570,{threadId:_0x13efab,isFromAdapter:_0x2e437f})=>{const _0x1c71a6=_0x66769;if(_0x2e437f||!_0x355ed5[_0x1c71a6(0x180)](_0x13efab)||!_0xe3e687[_0x1c71a6(0x19e)](_0x13efab))return;0x1===_0xe3e687[_0x1c71a6(0x17a)](_0x13efab)[_0x1c71a6(0x1b7)]&&(_0x29a99c[_0x1c71a6(0x1a0)][_0x1c71a6(0x195)][_0x1c71a6(0x181)](),_0x12e570[_0x1c71a6(0x18a)]());},{'priority':_0x66769(0x177)}),this[_0x66769(0x18f)]=this[_0x66769(0x185)][_0x66769(0x199)][_0x66769(0x1ba)](_0x66769(0x18f));const _0x4a275a=this[_0x66769(0x185)];this[_0x66769(0x194)]=setInterval(()=>{const _0x29ee71=_0x66769;let _0x82e26;for(const _0x29b368 in _0x4a275a){const _0x1ac5f4=_0x29b368,_0x444f0c=_0x4a275a[_0x1ac5f4];if(_0x29ee71(0x16c)==_0x444f0c||_0x29ee71(0x198)==_0x444f0c||_0x29ee71(0x175)==_0x444f0c||_0x29ee71(0x1bd)==_0x444f0c||_0x29ee71(0x1a4)==_0x444f0c||_0x29ee71(0x16b)==_0x444f0c||_0x29ee71(0x189)==_0x444f0c){delete _0x4a275a[_0x1ac5f4],_0x82e26=_0x444f0c,clearInterval(this[_0x29ee71(0x194)]),this[_0x29ee71(0x194)]=void 0x0;break;}}_0x29ee71(0x198)==_0x82e26&&_0x4a275a[_0x29ee71(0x19d)](_0x29ee71(0x179)),_0x29ee71(0x175)==_0x82e26&&_0x4a275a[_0x29ee71(0x19d)](_0x29ee71(0x1bc)),_0x29ee71(0x1bd)==_0x82e26&&_0x4a275a[_0x29ee71(0x19d)](_0x29ee71(0x1a7)),_0x29ee71(0x1a4)==_0x82e26&&_0x4a275a[_0x29ee71(0x19d)](_0x29ee71(0x183),_0x29ee71(0x171)),_0x29ee71(0x16b)==_0x82e26&&_0x4a275a[_0x29ee71(0x19d)](_0x29ee71(0x1a6)),_0x29ee71(0x189)==_0x82e26&&_0x4a275a[_0x29ee71(0x19d)](_0x29ee71(0x174));},0x3e8);}[_0x35fdfe(0x178)](){const _0x4adcea=_0x35fdfe;super[_0x4adcea(0x178)](),this[_0x4adcea(0x194)]&&clearInterval(this[_0x4adcea(0x194)]);}[_0x35fdfe(0x1bb)](_0x547652){const _0xb51118=_0x35fdfe,_0x159c74=this[_0xb51118(0x185)],_0x54056d=new _0x547652(_0x159c74[_0xb51118(0x1b6)]),_0x3625d6=_0x159c74[_0xb51118(0x184)][_0xb51118(0x1ba)](_0xb51118(0x1b3));return _0x54056d[_0xb51118(0x1b2)]({'label':_0x2d9c56(_0x159c74[_0xb51118(0x1b6)],_0xb51118(0x191)),'icon':_0x53cd63}),_0x54056d[_0xb51118(0x192)](_0xb51118(0x1a3))['to'](_0x3625d6,_0xb51118(0x1a3),_0x3625d6,_0xb51118(0x188),(_0x3ad500,_0x446941)=>_0x3ad500&&_0x446941),this[_0xb51118(0x173)](_0x54056d,_0xb51118(0x1b5),()=>{const _0x4ece70=_0xb51118;_0x3625d6[_0x4ece70(0x1b5)]();}),_0x54056d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x148f98=_0x4cc4;function _0x2f23(){const _0x32f842=['63GlouzI','1893144mzUVCP','default','get','plugins','3660560JxHybh','keys','config','comment','all','_registerMarkerInClipboardPipeline','1013195qdSZrP','always','editor','delete','dragstart','define','contentInsertion','6421350pcWDQH','cut','has','highest','afterInit','comments.copyMarkers','listenTo','_mapCommentsCopyConfigToRegisterConfiguration','CommentsRepository','8wpSQjM','content','ClipboardPipeline','_registerMarkerToCopy','hasCommentThread','markers','5511qUQjFW','7516161zBdavc','split','698UbTzCb','ClipboardMarkersUtils','347454USzJHc','_removeMarkersWithoutThreads','never','requires'];_0x2f23=function(){return _0x32f842;};return _0x2f23();}(function(_0x196bc7,_0x10bec7){const _0x2cb3bd=_0x4cc4,_0x42271a=_0x196bc7();while(!![]){try{const _0x511a01=parseInt(_0x2cb3bd(0x1c1))/0x1+parseInt(_0x2cb3bd(0x1da))/0x2*(parseInt(_0x2cb3bd(0x1d7))/0x3)+parseInt(_0x2cb3bd(0x1b7))/0x4+-parseInt(_0x2cb3bd(0x1bb))/0x5+-parseInt(_0x2cb3bd(0x1b2))/0x6*(parseInt(_0x2cb3bd(0x1b6))/0x7)+-parseInt(_0x2cb3bd(0x1d1))/0x8*(parseInt(_0x2cb3bd(0x1d8))/0x9)+parseInt(_0x2cb3bd(0x1c8))/0xa;if(_0x511a01===_0x10bec7)break;else _0x42271a['push'](_0x42271a['shift']());}catch(_0x8ceb2e){_0x42271a['push'](_0x42271a['shift']());}}}(_0x2f23,0xa655b));import{Plugin as _0x59662f}from'ckeditor5/src/core.js';function _0x4cc4(_0x2c483e,_0x4c8970){const _0x2f2376=_0x2f23();return _0x4cc4=function(_0x4cc46f,_0xef4b52){_0x4cc46f=_0x4cc46f-0x1b2;let _0x770b49=_0x2f2376[_0x4cc46f];return _0x770b49;},_0x4cc4(_0x2c483e,_0x4c8970);}import{ClipboardPipeline as _0x40ecf0,ClipboardMarkersUtils as _0x8ae8eb}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x59662f{constructor(_0x3ae2d1){const _0xce38c7=_0x4cc4;super(_0x3ae2d1),this[_0xce38c7(0x1c3)][_0xce38c7(0x1bd)][_0xce38c7(0x1c6)](_0xce38c7(0x1cd),_0xce38c7(0x1b8));}static get[_0x148f98(0x1b5)](){return[_0x8ae8eb,_0x40ecf0];}[_0x148f98(0x1cc)](){const _0x177bee=_0x148f98,_0x1d2e47=this[_0x177bee(0x1c3)][_0x177bee(0x1ba)][_0x177bee(0x1b9)](_0x177bee(0x1d3));this[_0x177bee(0x1c0)](),this[_0x177bee(0x1ce)](_0x1d2e47,_0x177bee(0x1c7),(_0x444fa6,_0x35a2f0)=>this[_0x177bee(0x1b3)](_0x35a2f0[_0x177bee(0x1d2)][_0x177bee(0x1d6)]),{'priority':_0x177bee(0x1cb)});}[_0x148f98(0x1b3)](_0x2fb451){const _0x520381=_0x148f98;if(!this[_0x520381(0x1c3)][_0x520381(0x1ba)][_0x520381(0x1ca)](_0x520381(0x1d0)))return _0x2fb451;const _0x5c6ec7=this[_0x520381(0x1c3)][_0x520381(0x1ba)][_0x520381(0x1b9)](_0x520381(0x1d0));for(const _0x1fd9dd of _0x2fb451[_0x520381(0x1bc)]()){const [_0x6e4bb0,_0x5772fe]=_0x1fd9dd[_0x520381(0x1d9)](':');_0x520381(0x1be)!=_0x6e4bb0||_0x5c6ec7[_0x520381(0x1d5)](_0x5772fe)||_0x2fb451[_0x520381(0x1c4)](_0x1fd9dd);}return _0x2fb451;}[_0x148f98(0x1c0)](){const _0x2f64e9=_0x148f98,_0x11137e=this[_0x2f64e9(0x1c3)][_0x2f64e9(0x1ba)][_0x2f64e9(0x1b9)](_0x2f64e9(0x1db)),_0x5ac633=this[_0x2f64e9(0x1cf)](this[_0x2f64e9(0x1c3)][_0x2f64e9(0x1bd)][_0x2f64e9(0x1b9)](_0x2f64e9(0x1cd)));_0x5ac633&&_0x11137e[_0x2f64e9(0x1d4)](_0x2f64e9(0x1be),_0x5ac633);}[_0x148f98(0x1cf)](_0x442a71){const _0x35a385=_0x148f98;switch(_0x442a71){case _0x35a385(0x1c2):return{'allowedActions':_0x35a385(0x1bf),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x35a385(0x1b8):return{'allowedActions':[_0x35a385(0x1c9),_0x35a385(0x1c5)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x35a385(0x1b4):return null;default:return null;}}}
|