@ckeditor/ckeditor5-comments 47.3.0-alpha.5 → 47.3.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1ffcc9=_0x550e;function _0x550e(_0x34fa6e,_0x31827f){const _0x43c0f8=_0x43c0();return _0x550e=function(_0x550e6c,_0x1b275b){_0x550e6c=_0x550e6c-0x1d6;let _0x37563a=_0x43c0f8[_0x550e6c];return _0x37563a;},_0x550e(_0x34fa6e,_0x31827f);}(function(_0x581635,_0x5ee10d){const _0x3e33da=_0x550e,_0x433b4e=_0x581635();while(!![]){try{const _0x58151c=-parseInt(_0x3e33da(0x205))/0x1*(parseInt(_0x3e33da(0x220))/0x2)+parseInt(_0x3e33da(0x242))/0x3*(-parseInt(_0x3e33da(0x202))/0x4)+-parseInt(_0x3e33da(0x259))/0x5*(-parseInt(_0x3e33da(0x230))/0x6)+parseInt(_0x3e33da(0x1f9))/0x7*(parseInt(_0x3e33da(0x200))/0x8)+parseInt(_0x3e33da(0x268))/0x9+parseInt(_0x3e33da(0x23a))/0xa*(parseInt(_0x3e33da(0x239))/0xb)+-parseInt(_0x3e33da(0x22e))/0xc*(parseInt(_0x3e33da(0x262))/0xd);if(_0x58151c===_0x5ee10d)break;else _0x433b4e['push'](_0x433b4e['shift']());}catch(_0x49a6e2){_0x433b4e['push'](_0x433b4e['shift']());}}}(_0x43c0,0x4f1ab));import{Plugin as _0x5b9e43}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x29f0bc,scrollViewportToShowTarget as _0x107cfd,uid as _0x441979}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x2cfd35}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x3e42e0}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2771b2,getAllMarkersDomElementsSorted as _0x47477e,FOCUS_ANNOTATION_KEYSTROKE as _0x279497,Users as _0x18157f}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x526d79}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x5afaf1}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x4e6863}from'./integrations/importword.js';import{CommentsClipboard as _0x390056}from'./integrations/clipboard.js';function _0x43c0(){const _0x918dc9=['locale','delete','init','item','map','comment:','ariaLiveAnnouncer','removeCommentThread','afterInit','openNewCommentThread','hasDomSelection','CommentsEditing','state','isEqual','isThreadsLoadingPaused','push','low','from','scrollToThreadMarker','consume','href','isPremiumPlugin','elementToElement','_handleThreadMarker','fetchCommentThread','remove','change:activeMarker','get','hasMarkerForId','name','_detachCommentThread','isObject','hasCommentThread','removeMarker','unlinkedAt','consumable','author','join','setContext','switchReadOnly','_hasTargetInContent','text','ignoreResolvedComments','then','listenTo','once','_reconvertMarkers','1369627RUiUJr','context','upcast','markers','change:isReadOnly','length','commands','16LCATnv','reopenCommentThread','15692coQVCv','getItems','clear','71UXOoSi','ready','getRange','getAttribute','group','ck-comment-marker','comments','attachTo','addCommentThread','addMarker:','markerToHighlight','_attachArchivedThread','config','plugins','change:isThreadsLoadingPaused','data','editor','start','collaboration.channelId','updateMarker','view','rootName','channelId','ck-comment-marker--active','markerToData','first','ENTER_COMMENT_ANNOUNCEMENT','1682hHIGoU','_attachMarkerToThread','LEAVE_COMMENT_ANNOUNCEMENT','_getTextContext','_threads','render','activeMarker','hasContent','focus','for','add','reconvertMarker','differ','dataToMarker','2904420CYWptB','createRange','170838xYKopt','destroyed','_threadToController','isOfficialPlugin','schema','size','pluginName','$graveyard','isSubmitted','14069MzlsaI','3330UyJLhp','_getTargetForId','end','model','comment','conversion','affectsData','removeMarker:','219BBLfnw','substring','resolveCommentThread','managedUsingOperations','destroy','getCommentThreads','newRange','getWalker','_initAriaMarkerChangeAnnouncements','enqueueChange','createElement','startsWith','isResolved','editingDowncast','isAttached','announce','filter','_handleInitialThreads','createPositionBefore','_initializeMarkerConverters','refreshVisibility','$textProxy','getByInnerView','5gYrHYc','_handleMarkerAddAndRemove','root','getCommentThread','fromCharCode','showCommentHighlights','getAllMarkersForId','registerPostFixer','addComment','39soissf','editing','requires','markerName','registerAnnotation','dataDowncast','4954536XvpzgU','getChangedMarkers','document','change','$marker','isCollapsed','forEach','setUnlinkedAt','set'];_0x43c0=function(){return _0x918dc9;};return _0x43c0();}import{ShowCommentHighlights as _0x3d3aee}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x162ff5}from'../annotations/annotations.js';import{getTranslation as _0x21350f}from'../utils/common-translations.js';import{splitMarkerName as _0x2bab61}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x5b9e43{static get[_0x1ffcc9(0x264)](){return[_0x2cfd35,_0x526d79,_0x18157f,_0x5afaf1,_0x4e6863,_0x390056,_0x3d3aee];}static get[_0x1ffcc9(0x236)](){const _0x5e0241=_0x1ffcc9;return _0x5e0241(0x27c);}static get[_0x1ffcc9(0x233)](){return!0x0;}static get[_0x1ffcc9(0x1df)](){return!0x0;}constructor(_0x50ac8b){const _0xc63a14=_0x1ffcc9;super(_0x50ac8b),this[_0xc63a14(0x270)](_0xc63a14(0x1d8),!0x0),_0x50ac8b[_0xc63a14(0x214)][_0xc63a14(0x1f7)](_0xc63a14(0x206),()=>this[_0xc63a14(0x1d8)]=!0x1),this[_0xc63a14(0x270)](_0xc63a14(0x226),null),this['on'](_0xc63a14(0x1e4),(_0xe6a88d,_0x3dc54c,_0x14f349,_0x511c09)=>{const _0x473687=_0xc63a14,_0x483b61=_0x50ac8b[_0x473687(0x212)][_0x473687(0x1e5)](_0x2cfd35),_0x790546=_0x14f349?_0x2bab61(_0x14f349)['id']:null;_0x50ac8b[_0x473687(0x23d)][_0x473687(0x26b)](()=>{const _0x6bd0ce=_0x473687;if(_0x790546){const _0x536fca=this[_0x6bd0ce(0x25f)](_0x790546);for(const _0x55c9e9 of _0x536fca)_0x50ac8b[_0x6bd0ce(0x263)][_0x6bd0ce(0x22b)](_0x55c9e9);}if(_0x511c09){const {id:_0x858c0}=_0x2bab61(_0x511c09),_0x314cda=_0x483b61[_0x6bd0ce(0x25c)](_0x858c0);if(_0x314cda&&_0x314cda[_0x6bd0ce(0x1ec)])return;if(_0x314cda&&!_0x314cda[_0x6bd0ce(0x250)])return;const _0x5b838a=this[_0x6bd0ce(0x25f)](_0x858c0);for(const _0x5531f4 of _0x5b838a)_0x50ac8b[_0x6bd0ce(0x263)][_0x6bd0ce(0x22b)](_0x5531f4);}}),_0x790546&&this[_0x473687(0x1dc)](_0x790546);}),this[_0xc63a14(0x24a)]();}[_0x1ffcc9(0x273)](){const _0x387d78=_0x1ffcc9,_0x16d6d2=this[_0x387d78(0x215)],_0x3075e7=_0x16d6d2[_0x387d78(0x212)][_0x387d78(0x1e5)](_0x2cfd35),_0x2e9ee0=_0x16d6d2[_0x387d78(0x211)][_0x387d78(0x1e5)](_0x387d78(0x217)),_0x5238a6=_0x3075e7[_0x387d78(0x247)]()[_0x387d78(0x252)](_0x4dd667=>_0x4dd667[_0x387d78(0x21b)]!==_0x2e9ee0);_0x16d6d2[_0x387d78(0x1ff)][_0x387d78(0x22a)](_0x387d78(0x20d),new _0x3e42e0(_0x16d6d2)),this[_0x387d78(0x1f6)](_0x16d6d2,_0x387d78(0x1fd),(_0x4a75e7,_0x57ee5d,_0x1a0f06)=>{const _0x5dce21=_0x387d78;_0x3075e7[_0x5dce21(0x1f1)](_0x1a0f06,_0x16d6d2[_0x5dce21(0x211)][_0x5dce21(0x1e5)](_0x5dce21(0x217)));}),this[_0x387d78(0x1f6)](_0x3075e7,dt(_0x387d78(0x20d),_0x2e9ee0),(_0x590bc8,{threadId:_0x56f683})=>{const _0x19c36a=_0x387d78,_0x416fff=this[_0x19c36a(0x215)][_0x19c36a(0x212)][_0x19c36a(0x1e5)](_0x2cfd35)[_0x19c36a(0x25c)](_0x56f683);_0x416fff?.[_0x19c36a(0x1ec)]&&this[_0x19c36a(0x210)](_0x56f683);}),this[_0x387d78(0x1f6)](_0x3075e7,dt(_0x387d78(0x278),_0x2e9ee0),(_0x1b391a,{threadId:_0x35e255})=>{const _0x97b331=_0x387d78;_0x16d6d2[_0x97b331(0x23d)][_0x97b331(0x24b)]({'isUndoable':!0x1},_0x18cc54=>{const _0x4e3e3a=_0x97b331,_0x331400=this[_0x4e3e3a(0x25f)](_0x35e255);for(const _0x24f5b0 of _0x331400)_0x18cc54[_0x4e3e3a(0x1eb)](_0x24f5b0);});}),this[_0x387d78(0x1f6)](_0x3075e7,dt(_0x387d78(0x244),_0x2e9ee0),(_0x372368,{threadId:_0x57751c})=>{const _0x21cf1c=_0x387d78;(this[_0x21cf1c(0x1f8)](_0x57751c),this[_0x21cf1c(0x215)][_0x21cf1c(0x263)][_0x21cf1c(0x219)][_0x21cf1c(0x27b)])&&(this[_0x21cf1c(0x215)][_0x21cf1c(0x212)][_0x21cf1c(0x1e5)](_0x2cfd35)[_0x21cf1c(0x25c)](_0x57751c)[_0x21cf1c(0x1ec)]||this[_0x21cf1c(0x215)][_0x21cf1c(0x263)][_0x21cf1c(0x219)][_0x21cf1c(0x228)]());},{'priority':_0x387d78(0x1da)}),this[_0x387d78(0x1f6)](_0x3075e7,dt(_0x387d78(0x201),_0x2e9ee0),(_0x490a06,{threadId:_0x114d0a})=>{const _0x254565=_0x387d78;this[_0x254565(0x1f8)](_0x114d0a);},{'priority':_0x387d78(0x1da)}),this[_0x387d78(0x1f6)](_0x3075e7,dt(_0x387d78(0x261),_0x2e9ee0),(_0x4577f5,{threadId:_0x56113d,isFromAdapter:_0x493ece})=>{const _0x4974ee=_0x387d78,_0x5e5042=this[_0x4974ee(0x25f)](_0x56113d);if(_0x493ece||0x0==_0x5e5042[_0x4974ee(0x1fe)]||!_0x3075e7[_0x4974ee(0x1ea)](_0x56113d))return;0x1===_0x3075e7[_0x4974ee(0x25c)](_0x56113d)[_0x4974ee(0x1fe)]&&_0x16d6d2[_0x4974ee(0x23d)][_0x4974ee(0x24b)]({'isUndoable':!0x1},_0xca06d4=>{const _0x3576b4=_0x4974ee;for(const _0x3ac2b9 of _0x5e5042)_0xca06d4[_0x3576b4(0x218)](_0x3ac2b9,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x387d78(0x1da)}),this[_0x387d78(0x255)](),this[_0x387d78(0x25a)](),this[_0x387d78(0x253)](_0x5238a6);}[_0x1ffcc9(0x279)](){!async function(_0x1685a0){const _0x5525b6=_0x4e4dcb([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]),_0x1509e9=0x73460ab3,_0x2dcfef=0x7341701b^_0x1509e9,_0x59e9d7=window[_0x4e4dcb([0x44,0x61,0x74,0x65])][_0x4e4dcb([0x6e,0x6f,0x77])](),_0x2a8f6a=_0x1685a0[_0x4e4dcb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa314ed=new window[(_0x4e4dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bac08=>{_0x2a8f6a[_0x4e4dcb([0x6f,0x6e,0x63,0x65])](_0x4e4dcb([0x72,0x65,0x61,0x64,0x79]),_0x2bac08);}),_0x577388={[_0x4e4dcb([0x6b,0x74,0x79])]:_0x4e4dcb([0x45,0x43]),[_0x4e4dcb([0x75,0x73,0x65])]:_0x4e4dcb([0x73,0x69,0x67]),[_0x4e4dcb([0x63,0x72,0x76])]:_0x4e4dcb([0x50,0x2d,0x32,0x35,0x36]),[_0x4e4dcb([0x78])]:_0x4e4dcb([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]),[_0x4e4dcb([0x79])]:_0x4e4dcb([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]),[_0x4e4dcb([0x61,0x6c,0x67])]:_0x4e4dcb([0x45,0x53,0x32,0x35,0x36])},_0x276bc0=_0x2a8f6a[_0x4e4dcb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e4dcb([0x67,0x65,0x74])](_0x4e4dcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d353b(){let _0x34fca1,_0x590d6e=null,_0x168552=null;try{if(_0x276bc0==_0x4e4dcb([0x47,0x50,0x4c]))return _0x4e4dcb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34fca1=_0x4689a2(),!_0x34fca1)return _0x4e4dcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34fca1[_0x4e4dcb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x168552=_0x5c9a2c(_0x34fca1[_0x4e4dcb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34fca1[_0x4e4dcb([0x6a,0x74,0x69])])),await _0x2e2073()?_0x2489d5()?_0x322461()?_0x4e4dcb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4eb6a1()?(_0x34fca1[_0x4e4dcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e4dcb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x590d6e=_0x47cfb1(_0x4e4dcb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34fca1[_0x4e4dcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e4dcb([0x74,0x72,0x69,0x61,0x6c])&&(_0x590d6e=_0x47cfb1(_0x4e4dcb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26408d()):_0x4e4dcb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e4dcb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e4dcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e4dcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x322461(){const _0x2780ed=[_0x4e4dcb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e4dcb([0x74,0x72,0x69,0x61,0x6c])][_0x4e4dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34fca1[_0x4e4dcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59e9d7/0x3e8:0xe10*_0x2dcfef;return _0x34fca1[_0x4e4dcb([0x65,0x78,0x70])]<_0x2780ed;}function _0x2489d5(){const _0x133dbb=_0x34fca1[_0x4e4dcb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x133dbb)return!0x1;if(_0x133dbb[_0x4e4dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e4dcb([0x2a])))return!0x0;if(_0x133dbb[_0x4e4dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e4dcb([0x43,0x4d,0x54])))return!0x0;if(_0x133dbb[_0x4e4dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e4dcb([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x5d777b())return!0x0;if(_0x133dbb[_0x4e4dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e4dcb([0x52,0x43,0x4d,0x54]))){if(_0x300bed())return!0x0;if(_0x3f4613()||_0x4f1524())return!0x0;}return!0x1;}function _0x4eb6a1(){const _0x267343=_0x550e,_0x42719b=_0x34fca1[_0x4e4dcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42719b||0x0==_0x42719b[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d98d4}=new URL(window[_0x4e4dcb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x267343(0x1de)]);if(_0x42719b[_0x4e4dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d98d4))return!0x0;const _0x281828=_0x1d98d4[_0x4e4dcb([0x73,0x70,0x6c,0x69,0x74])](_0x4e4dcb([0x2e]));return _0x42719b[_0x4e4dcb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57c86d=>_0x57c86d[_0x4e4dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e4dcb([0x2a])))[_0x4e4dcb([0x6d,0x61,0x70])](_0x2fa168=>_0x2fa168[_0x4e4dcb([0x73,0x70,0x6c,0x69,0x74])](_0x4e4dcb([0x2e])))[_0x4e4dcb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb81de2=>_0xb81de2[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x281828[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e4dcb([0x6d,0x61,0x70])](_0x552f4e=>Array(_0x281828[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x552f4e[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e4dcb([0x66,0x69,0x6c,0x6c])](_0x552f4e[0x0]===_0x4e4dcb([0x2a])?_0x4e4dcb([0x2a]):'')[_0x4e4dcb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x552f4e))[_0x4e4dcb([0x73,0x6f,0x6d,0x65])](_0x29b379=>_0x281828[_0x4e4dcb([0x65,0x76,0x65,0x72,0x79])]((_0x8bdd5e,_0x1db59c)=>_0x29b379[_0x1db59c]===_0x8bdd5e||_0x29b379[_0x1db59c]===_0x4e4dcb([0x2a])));}function _0x26408d(){return _0x590d6e&&_0x168552?new window[(_0x4e4dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d876d,_0x169121)=>{_0x590d6e[_0x4e4dcb([0x74,0x68,0x65,0x6e])](_0x4d876d,_0x169121),_0x168552[_0x4e4dcb([0x74,0x68,0x65,0x6e])](_0x1411a0=>{_0x1411a0!=_0x4e4dcb([0x56,0x61,0x6c,0x69,0x64])&&_0x4d876d(_0x1411a0);},_0x169121);}):_0x590d6e||_0x168552||_0x4e4dcb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c9a2c(_0x224672,_0xdbd7a){return new window[(_0x4e4dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37313b=>{if(_0x549df2())return _0x37313b(_0x4e4dcb([0x56,0x61,0x6c,0x69,0x64]));_0x1b8e22(),_0x2a8f6a[_0x4e4dcb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e4dcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x34c9d0=!0x1;const _0x7e25cb=_0x441979();function _0x2f31ec(_0x508637){return!!_0x508637&&(typeof _0x508637===_0x4e4dcb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x508637===_0x4e4dcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x508637[_0x4e4dcb([0x74,0x68,0x65,0x6e])]===_0x4e4dcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x508637[_0x4e4dcb([0x63,0x61,0x74,0x63,0x68])]===_0x4e4dcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x231203(_0x57769e){_0x3a5a07(_0x57769e)[_0x4e4dcb([0x74,0x68,0x65,0x6e])](_0x16a067=>{if(!_0x16a067||_0x16a067[_0x4e4dcb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e4dcb([0x6f,0x6b]))return _0x4e4dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38f222(_0x58f74d(_0x7e25cb+_0xdbd7a))!=_0x16a067[_0x4e4dcb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e4dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e4dcb([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e4dcb([0x74,0x68,0x65,0x6e])](_0x4c8125=>(_0x15cb5b(),_0x4c8125),()=>{const _0x25d6b3=_0x472578();return null==_0x25d6b3?(_0x15cb5b(),_0x4e4dcb([0x56,0x61,0x6c,0x69,0x64])):_0x4e4dcb(_0x59e9d7-_0x25d6b3>(0x574a8eb3^_0x1509e9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e4dcb([0x74,0x68,0x65,0x6e])](_0x37313b)[_0x4e4dcb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x37313b(_0x4e4dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x169ffe=0x7370e433^_0x1509e9;function _0x15cb5b(){const _0x2d2020=_0x4e4dcb([0x6c,0x6c,0x63,0x74,0x2d])+_0x38f222(_0x58f74d(_0x224672)),_0x367dc2=_0x5bda4c(_0x38f222(window[_0x4e4dcb([0x4d,0x61,0x74,0x68])][_0x4e4dcb([0x63,0x65,0x69,0x6c])](_0x59e9d7/_0x169ffe)));window[_0x4e4dcb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e4dcb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d2020,_0x367dc2);}function _0x472578(){const _0xae1b6a=_0x4e4dcb([0x6c,0x6c,0x63,0x74,0x2d])+_0x38f222(_0x58f74d(_0x224672)),_0x1ae240=window[_0x4e4dcb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e4dcb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xae1b6a);return _0x1ae240?window[_0x4e4dcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bda4c(_0x1ae240),0x10)*_0x169ffe:null;}function _0x3a5a07(_0x40ff00){return new window[(_0x4e4dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e53e6,_0x2e3538)=>{_0x40ff00[_0x4e4dcb([0x74,0x68,0x65,0x6e])](_0x5e53e6,_0x2e3538),window[_0x4e4dcb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e3538,0x7347de73^_0x1509e9);});}}_0x2a8f6a[_0x4e4dcb([0x6f,0x6e])](_0x4e4dcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fdfb8,_0x160f9f)=>{if(_0x160f9f[0x0]!=_0x224672)return _0x37313b(_0x4e4dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x160f9f[0x1]={..._0x160f9f[0x1],[_0x4e4dcb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7e25cb};},{[_0x4e4dcb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e4dcb([0x68,0x69,0x67,0x68])}),_0x2a8f6a[_0x4e4dcb([0x6f,0x6e])](_0x4e4dcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50210d=>{_0x2f31ec(_0x50210d[_0x4e4dcb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x34c9d0=!0x0,_0x231203(_0x50210d[_0x4e4dcb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e4dcb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e4dcb([0x6c,0x6f,0x77])}),_0xa314ed[_0x4e4dcb([0x74,0x68,0x65,0x6e])](()=>{_0x34c9d0||_0x37313b(_0x4e4dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x549df2(){return _0x2a8f6a[_0x4e4dcb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e4dcb([0x76,0x69,0x65,0x77])][_0x4e4dcb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e4dcb([0x61,0x75,0x74,0x6f]);}function _0x1b8e22(){_0x2a8f6a[_0x4e4dcb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e4dcb([0x76,0x69,0x65,0x77])][_0x4e4dcb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e4dcb([0x61,0x75,0x74,0x6f]);}}function _0x47cfb1(_0x42b329){const _0x5dd7bb=[new window[(_0x4e4dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1095bc=>setTimeout(_0x1095bc,0x734f347f^_0x1509e9)),_0xa314ed[_0x4e4dcb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e4dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4beb83=>{let _0x41a092=0x0;_0x2a8f6a[_0x4e4dcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e4dcb([0x6f,0x6e])](_0x4e4dcb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x377894,_0x2ea02e)=>{_0x2ea02e[0x0][_0x4e4dcb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x41a092++,_0x41a092==(0x73460b4b^_0x1509e9)&&(_0x4beb83(),_0x377894[_0x4e4dcb([0x6f,0x66,0x66])]());});}))];return window[_0x4e4dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e4dcb([0x72,0x61,0x63,0x65])](_0x5dd7bb)[_0x4e4dcb([0x74,0x68,0x65,0x6e])](()=>_0x42b329);}async function _0x5608b8(){await _0xa314ed,_0x2a8f6a[_0x4e4dcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e4dcb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fb8bb,_0x2a8f6a[_0x4e4dcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e4dcb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fb8bb,_0x2a8f6a[_0x4e4dcb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e4dcb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d777b(){return window[_0x4e4dcb([0x67,0x6c,0x6f,0x62])]&&window[_0x4e4dcb([0x67,0x6c,0x6f,0x62])][_0x4e4dcb([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x300bed(){return _0x5b71b3(_0x4e4dcb([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4d172f(_0x4e4dcb([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4e4dcb([0x73,0x74,0x61,0x74,0x65])]==_0x4e4dcb([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x3f4613(){return _0x5b71b3(_0x4e4dcb([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 _0x4f1524(){return _0x5b71b3(_0x4e4dcb([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x1eced0(_0x149226){const _0xc25fa=_0x3da4ef();_0x2a8f6a[_0xc25fa]=_0x4e4dcb([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x149226,_0x149226!=_0x4e4dcb([0x56,0x61,0x6c,0x69,0x64])&&_0x5608b8();}function _0x3da4ef(){const _0x26f278=window[_0x4e4dcb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e4dcb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e4dcb([0x6e,0x6f,0x77])]())[_0x4e4dcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e4dcb([0x2e]),'');let _0x282165=_0x4e4dcb([0x4b]);for(let _0x387ba5=0x0;_0x387ba5<_0x26f278[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x387ba5+=0x2){let _0x2c8740=window[_0x4e4dcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26f278[_0x4e4dcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x387ba5,_0x387ba5+0x2));_0x2c8740>=_0x5525b6[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c8740-=_0x5525b6[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x282165+=_0x5525b6[_0x2c8740];}return _0x282165;}function _0x4689a2(){const _0x210d51=_0x276bc0[_0x4e4dcb([0x73,0x70,0x6c,0x69,0x74])](_0x4e4dcb([0x2e]));if(0x3!=_0x210d51[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x43bf07(_0x210d51[0x1]);function _0x43bf07(_0x58245e){const _0x485ae3=_0x335a0b(_0x58245e);return _0x485ae3&&_0x269e3a()?_0x485ae3:null;function _0x269e3a(){const _0x28d9ab=_0x485ae3[_0x4e4dcb([0x6a,0x74,0x69])],_0x5f4d26=window[_0x4e4dcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28d9ab[_0x4e4dcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28d9ab[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46800f={..._0x485ae3,[_0x4e4dcb([0x6a,0x74,0x69])]:_0x28d9ab[_0x4e4dcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28d9ab[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46800f[_0x4e4dcb([0x76,0x63])],_0x58f74d(_0x46800f)==_0x5f4d26;}}}async function _0x2e2073(){let _0x3814b9=!0x0;try{const _0x4355f2=_0x276bc0[_0x4e4dcb([0x73,0x70,0x6c,0x69,0x74])](_0x4e4dcb([0x2e])),[_0x588e62,_0x3d528b,_0x45de1]=_0x4355f2;return _0x396d7e(_0x588e62),await _0x531e92(_0x588e62,_0x3d528b,_0x45de1),_0x3814b9;}catch{return!0x1;}function _0x396d7e(_0x59f571){const _0x450ce7=_0x335a0b(_0x59f571);_0x450ce7&&_0x450ce7[_0x4e4dcb([0x61,0x6c,0x67])]==_0x4e4dcb([0x45,0x53,0x32,0x35,0x36])||(_0x3814b9=!0x1);}async function _0x531e92(_0xc9013a,_0x51c6a3,_0x318062){const _0x45b425=window[_0x4e4dcb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e4dcb([0x66,0x72,0x6f,0x6d])](_0x45ff0b(_0x318062),_0x468e8e=>_0x468e8e[_0x4e4dcb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x249c2a=new window[(_0x4e4dcb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e4dcb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc9013a+_0x4e4dcb([0x2e])+_0x51c6a3),_0x11ca98=window[_0x4e4dcb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e4dcb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11ca98)return;const _0x12a3db=await _0x11ca98[_0x4e4dcb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e4dcb([0x6a,0x77,0x6b]),_0x577388,{[_0x4e4dcb([0x6e,0x61,0x6d,0x65])]:_0x4e4dcb([0x45,0x43,0x44,0x53,0x41]),[_0x4e4dcb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e4dcb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e4dcb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11ca98[_0x4e4dcb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e4dcb([0x6e,0x61,0x6d,0x65])]:_0x4e4dcb([0x45,0x43,0x44,0x53,0x41]),[_0x4e4dcb([0x68,0x61,0x73,0x68])]:{[_0x4e4dcb([0x6e,0x61,0x6d,0x65])]:_0x4e4dcb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12a3db,_0x45b425,_0x249c2a)||(_0x3814b9=!0x1);}}function _0x335a0b(_0x487449){return _0x487449[_0x4e4dcb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e4dcb([0x65,0x79]))?JSON[_0x4e4dcb([0x70,0x61,0x72,0x73,0x65])](_0x45ff0b(_0x487449)):null;}function _0x45ff0b(_0x3bbdc1){return window[_0x4e4dcb([0x61,0x74,0x6f,0x62])](_0x3bbdc1[_0x4e4dcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e4dcb([0x2b]))[_0x4e4dcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e4dcb([0x2f])));}function _0x58f74d(_0x386333){let _0x24b4bc=0x1505;function _0x24fa11(_0x1cf802){for(let _0x273d76=0x0;_0x273d76<_0x1cf802[_0x4e4dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x273d76++){const _0x26a96c=_0x1cf802[_0x4e4dcb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x273d76);_0x24b4bc=(_0x24b4bc<<0x5)+_0x24b4bc+_0x26a96c,_0x24b4bc&=_0x24b4bc;}}function _0x5b1d1a(_0x4234fc){Array[_0x4e4dcb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4234fc)?_0x4234fc[_0x4e4dcb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b1d1a):_0x4234fc&&typeof _0x4234fc==_0x4e4dcb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e4dcb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4234fc)[_0x4e4dcb([0x73,0x6f,0x72,0x74])]()[_0x4e4dcb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x12f40b,_0xbc3fe3])=>{_0x24fa11(_0x12f40b),_0x5b1d1a(_0xbc3fe3);}):_0x24fa11(window[_0x4e4dcb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4234fc));}return _0x5b1d1a(_0x386333),_0x24b4bc>>>0x0;}function _0x38f222(_0x450e27){return _0x450e27[_0x4e4dcb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e4dcb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e4dcb([0x30]));}function _0x5bda4c(_0x2e8d78){return _0x2e8d78[_0x4e4dcb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e4dcb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e4dcb([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b71b3(_0x1ac2b8){return _0x2a8f6a[_0x4e4dcb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4e4dcb([0x68,0x61,0x73])](_0x1ac2b8);}function _0x4d172f(_0x2dec09){return _0x2a8f6a[_0x4e4dcb([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4e4dcb([0x67,0x65,0x74])](_0x2dec09);}function _0x3fb8bb(){}function _0x4e4dcb(_0x2aa1da){const _0xc7661e=_0x550e;return _0x2aa1da[_0xc7661e(0x275)](_0x365504=>String[_0xc7661e(0x25d)](_0x365504))[_0xc7661e(0x1ef)]('');}_0x1eced0(await _0x2d353b());}(this);}[_0x1ffcc9(0x246)](){const _0x269005=_0x1ffcc9,_0x5825df=this[_0x269005(0x215)][_0x269005(0x212)][_0x269005(0x1e5)](_0x2cfd35),_0x8f4e82=this[_0x269005(0x215)][_0x269005(0x211)][_0x269005(0x1e5)](_0x269005(0x217));for(const _0x4a4233 of _0x5825df[_0x269005(0x247)]({'channelId':_0x8f4e82}))_0x5825df[_0x269005(0x1e8)](_0x4a4233['id']),_0x5825df[_0x269005(0x224)][_0x269005(0x272)](_0x4a4233['id']);super[_0x269005(0x246)]();}[_0x1ffcc9(0x1e6)](_0x31454a){const _0x3e253b=_0x1ffcc9;return this[_0x3e253b(0x25f)](_0x31454a)[_0x3e253b(0x1fe)]>0x0;}[_0x1ffcc9(0x25f)](_0x335167){const _0x1e1dea=_0x1ffcc9,_0x40b52b=[];for(const _0x2e3517 of this[_0x1e1dea(0x215)][_0x1e1dea(0x23d)][_0x1e1dea(0x1fc)])_0x2e3517[_0x1e1dea(0x1e7)][_0x1e1dea(0x24d)](_0x1e1dea(0x276)+_0x335167)&&_0x40b52b[_0x1e1dea(0x1d9)](_0x2e3517);return _0x40b52b;}[_0x1ffcc9(0x1dc)](_0x9b0859){setTimeout(()=>{const _0x346cd3=_0x550e,_0x58e5ed=this[_0x346cd3(0x23b)](_0x9b0859);if(!_0x58e5ed)return;this[_0x346cd3(0x226)]&&_0x2bab61(this[_0x346cd3(0x226)])['id']===_0x9b0859&&_0x107cfd({'target':_0x58e5ed[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x1ffcc9(0x1f8)](_0x159247){const _0x5ca786=_0x1ffcc9;this[_0x5ca786(0x215)][_0x5ca786(0x23d)][_0x5ca786(0x26b)](()=>{const _0x1d05f7=_0x5ca786;for(const _0x40710c of this[_0x1d05f7(0x25f)](_0x159247))this[_0x1d05f7(0x215)][_0x1d05f7(0x263)][_0x1d05f7(0x22b)](_0x40710c);});}[_0x1ffcc9(0x210)](_0x552025){const _0x3896a0=_0x1ffcc9,_0x4c1b5b=this[_0x3896a0(0x215)][_0x3896a0(0x212)][_0x3896a0(0x1e5)](_0x2cfd35),_0x59dd1f=this[_0x3896a0(0x215)][_0x3896a0(0x212)][_0x3896a0(0x1e5)](_0x526d79),_0x1840f1=_0x4c1b5b[_0x3896a0(0x25c)](_0x552025);if(!_0x1840f1[_0x3896a0(0x250)]){const _0x489ff5=_0x1840f1[_0x3896a0(0x20c)](()=>this[_0x3896a0(0x23b)](_0x1840f1['id']));_0x59dd1f[_0x3896a0(0x266)](_0x489ff5),_0x1840f1[_0x3896a0(0x1f2)]=!0x1;}}[_0x1ffcc9(0x255)](){const _0x3b508d=_0x1ffcc9,_0x4feede=this[_0x3b508d(0x215)],_0x44499c=_0x4feede[_0x3b508d(0x212)][_0x3b508d(0x1e5)](_0x18157f);_0x4feede[_0x3b508d(0x23f)][_0x3b508d(0x229)](_0x3b508d(0x24f))[_0x3b508d(0x20f)]({'model':_0x3b508d(0x23e),'view':(_0x42ad48,_0x2e6a20)=>{const _0x41454f=_0x3b508d,{id:_0x1815ba}=_0x2bab61(_0x42ad48[_0x41454f(0x265)]),_0x488b41=_0x4feede[_0x41454f(0x212)][_0x41454f(0x1e5)](_0x2cfd35)[_0x41454f(0x25c)](_0x1815ba),_0x5afdc5=this[_0x41454f(0x226)]&&_0x2bab61(this[_0x41454f(0x226)])['id']===_0x1815ba;let _0x3056d3;if(_0x488b41&&_0x488b41[_0x41454f(0x24e)]&&!_0x5afdc5&&_0x42ad48[_0x41454f(0x274)])return _0x2e6a20[_0x41454f(0x1ed)][_0x41454f(0x1dd)](_0x42ad48[_0x41454f(0x274)],_0x41454f(0x20e)+_0x42ad48[_0x41454f(0x265)]),_0x2e6a20[_0x41454f(0x1ed)][_0x41454f(0x1dd)](_0x42ad48[_0x41454f(0x274)],_0x41454f(0x241)+_0x42ad48[_0x41454f(0x265)]),null;const _0x31f564=[_0x41454f(0x20a)];return _0x5afdc5&&_0x31f564[_0x41454f(0x1d9)](_0x41454f(0x21c)),_0x3056d3=_0x488b41?.[_0x41454f(0x1fe)]?_0x488b41[_0x41454f(0x20b)][_0x41454f(0x21e)][_0x41454f(0x1ee)]['id']:_0x44499c['me']['id'],{'classes':_0x31f564,'attributes':{'data-comment':_0x1815ba,'data-author-id':_0x3056d3}};}}),_0x4feede[_0x3b508d(0x23f)][_0x3b508d(0x229)](_0x3b508d(0x267))[_0x3b508d(0x21d)]({'model':_0x3b508d(0x23e),'view':(_0x17db2d,{options:_0x4125f7})=>{const _0x4be54e=_0x3b508d;if(_0x4125f7[_0x4be54e(0x25e)])return null;const _0x265b0a=_0x4feede[_0x4be54e(0x212)][_0x4be54e(0x1e5)](_0x2cfd35),_0x7c35b8=_0x4feede[_0x4be54e(0x23d)][_0x4be54e(0x1fc)][_0x4be54e(0x1e5)](_0x17db2d),{id:_0x4b236d,part:_0x4831b2}=_0x2bab61(_0x17db2d);return _0x7c35b8&&!_0x7c35b8[_0x4be54e(0x240)]||_0x4125f7[_0x4be54e(0x1f4)]&&_0x265b0a[_0x4be54e(0x25c)](_0x4b236d)?.[_0x4be54e(0x24e)]?null:{'group':_0x4be54e(0x23e),'name':_0x4831b2?_0x4b236d+':'+_0x4831b2:_0x4b236d};}}),_0x4feede[_0x3b508d(0x23f)][_0x3b508d(0x229)](_0x3b508d(0x1fb))[_0x3b508d(0x1e0)]({'view':{'name':_0x3b508d(0x23e),'attributes':{'id':/^\w/}},'model':(_0x3beaa2,{writer:_0x6c9c12})=>_0x6c9c12[_0x3b508d(0x24c)](_0x3b508d(0x26c),{'data-name':_0x3b508d(0x276)+_0x3beaa2[_0x3b508d(0x208)]('id')})}),_0x4feede[_0x3b508d(0x23f)][_0x3b508d(0x229)](_0x3b508d(0x1fb))[_0x3b508d(0x22d)]({'view':_0x3b508d(0x23e)});}[_0x1ffcc9(0x25a)](){const _0x43afa0=_0x1ffcc9,_0x12f7bb=this[_0x43afa0(0x215)],_0x9b6c4a=_0x12f7bb[_0x43afa0(0x212)][_0x43afa0(0x1e5)](_0x2cfd35),_0x5d6c48=new Set(),_0x1fcf72=new Set();_0x12f7bb[_0x43afa0(0x23d)][_0x43afa0(0x26a)][_0x43afa0(0x260)](_0x25dbbf=>{const _0x4ffaf8=_0x43afa0;let _0x23fe4f=!0x1;for(const {name:_0x4ab64f,data:_0x58b2e9}of _0x12f7bb[_0x4ffaf8(0x23d)][_0x4ffaf8(0x26a)][_0x4ffaf8(0x22c)][_0x4ffaf8(0x269)]()){const {group:_0x1a5604,id:_0x5d644c}=_0x2bab61(_0x4ab64f);let _0xa8023d=_0x58b2e9[_0x4ffaf8(0x248)];if(_0x4ffaf8(0x23e)!==_0x1a5604||!_0xa8023d)continue;const _0x101764=_0x4ffaf8(0x237)===_0xa8023d[_0x4ffaf8(0x25b)][_0x4ffaf8(0x21a)];_0x101764||(_0xa8023d=ht(_0xa8023d,_0x12f7bb[_0x4ffaf8(0x23d)]),!_0xa8023d||_0xa8023d[_0x4ffaf8(0x26d)]||!_0x58b2e9[_0x4ffaf8(0x248)]||_0xa8023d[_0x4ffaf8(0x1d7)](_0x58b2e9[_0x4ffaf8(0x248)]))?_0x12f7bb[_0x4ffaf8(0x23d)][_0x4ffaf8(0x227)](_0xa8023d)&&!_0x101764?this[_0x4ffaf8(0x1d8)]?_0x5d6c48[_0x4ffaf8(0x22a)](_0x4ab64f):this[_0x4ffaf8(0x1e1)](_0x4ab64f,_0x5d644c):(_0x1fcf72[_0x4ffaf8(0x22a)](_0x4ab64f),_0x5d6c48[_0x4ffaf8(0x272)](_0x4ab64f),_0x25dbbf[_0x4ffaf8(0x1eb)](_0x4ab64f),_0x23fe4f=!0x0):(_0x25dbbf[_0x4ffaf8(0x218)](_0x4ab64f,{'range':_0xa8023d}),_0x23fe4f=!0x0);}return _0x23fe4f;}),this['on'](_0x43afa0(0x213),(_0x51eba1,_0xe4e764,_0x3071b6)=>{const _0x4327c3=_0x43afa0;if(!_0x3071b6&&_0x5d6c48[_0x4327c3(0x235)])for(const _0x982312 of _0x5d6c48){const {id:_0x4a413d}=_0x2bab61(_0x982312);_0x5d6c48[_0x4327c3(0x272)](_0x982312),_0x12f7bb[_0x4327c3(0x23d)][_0x4327c3(0x1fc)][_0x4327c3(0x1e5)](_0x982312)&&this[_0x4327c3(0x1e1)](_0x982312,_0x4a413d);}}),this[_0x43afa0(0x1f6)](_0x12f7bb[_0x43afa0(0x23d)][_0x43afa0(0x26a)],_0x43afa0(0x26b),()=>{const _0x4c1c70=_0x43afa0;for(const {name:_0xece122,data:{newRange:_0x52ae0e}}of _0x12f7bb[_0x4c1c70(0x23d)][_0x4c1c70(0x26a)][_0x4c1c70(0x22c)][_0x4c1c70(0x269)]()){const {group:_0x49885a,id:_0x3cbcda}=_0x2bab61(_0xece122);if(_0x4c1c70(0x23e)!==_0x49885a)continue;const _0x1144b0=_0x9b6c4a[_0x4c1c70(0x25c)](_0x3cbcda),_0xa372fb=this[_0x4c1c70(0x1e6)](_0x3cbcda);_0x1144b0&&(!_0x1144b0[_0x4c1c70(0x1f2)]&&_0x52ae0e&&_0x12f7bb[_0x4c1c70(0x263)][_0x4c1c70(0x219)][_0x4c1c70(0x1f7)](_0x4c1c70(0x225),()=>{const _0x46eb15=_0x4c1c70,_0xd81dee=_0x12f7bb[_0x46eb15(0x212)][_0x46eb15(0x1e5)](_0x162ff5),_0x55cb9c=_0x9b6c4a[_0x46eb15(0x232)][_0x46eb15(0x1e5)](_0x1144b0)[_0x46eb15(0x219)];_0xd81dee[_0x46eb15(0x258)](_0x55cb9c)[_0x46eb15(0x256)]();},{'priority':_0x4c1c70(0x1da)}),_0x1144b0[_0x4c1c70(0x1f2)]=_0xa372fb||!!_0x52ae0e),_0x52ae0e||(_0x1fcf72[_0x4c1c70(0x22a)](_0xece122),_0x5d6c48[_0x4c1c70(0x272)](_0xece122));}for(const _0x241cc3 of _0x1fcf72){const {id:_0x355333}=_0x2bab61(_0x241cc3),_0x4dbdfb=_0x9b6c4a[_0x4c1c70(0x25c)](_0x355333);if(_0x5d6c48[_0x4c1c70(0x272)](_0x241cc3),!_0x4dbdfb)continue;const _0x3612e3=this[_0x4c1c70(0x1e6)](_0x355333);_0x3612e3||_0x4dbdfb[_0x4c1c70(0x238)]?_0x3612e3||_0x4dbdfb[_0x4c1c70(0x1ec)]||_0x4dbdfb[_0x4c1c70(0x26f)](new Date()):_0x4dbdfb[_0x4c1c70(0x1e3)]();}_0x1fcf72[_0x4c1c70(0x204)]();});}[_0x1ffcc9(0x253)](_0x5a1c8a){const _0x584d5d=_0x1ffcc9;_0x5a1c8a[_0x584d5d(0x26e)](_0x1efbcf=>{const _0x38fe04=_0x584d5d;_0x1efbcf[_0x38fe04(0x1ec)]&&this[_0x38fe04(0x210)](_0x1efbcf['id']);});}[_0x1ffcc9(0x23b)](_0x2dd0f3){const _0x462c73=_0x1ffcc9,_0x1137e6=this[_0x462c73(0x215)],_0x4d362a=this[_0x462c73(0x25f)](_0x2dd0f3);return _0x47477e(_0x1137e6[_0x462c73(0x263)],_0x4d362a);}[_0x1ffcc9(0x223)](_0x58a579){const _0x3cbbdb=_0x1ffcc9,_0x47dc31=this[_0x3cbbdb(0x25f)](_0x58a579);let _0x426930='',_0x462652=!0x1;for(const _0x28cda3 of _0x47dc31){const _0x38521b=_0x28cda3[_0x3cbbdb(0x207)]();for(const _0x24d531 of Array[_0x3cbbdb(0x1db)](_0x38521b[_0x3cbbdb(0x203)]()))_0x24d531['is'](_0x3cbbdb(0x257))?(_0x426930&&_0x462652&&(_0x426930+='\x20',_0x462652=!0x1),_0x426930+=_0x24d531[_0x3cbbdb(0x214)]):_0x462652=!0x0;_0x462652=!0x0;}return _0x426930[_0x3cbbdb(0x243)](0x0,0x96);}[_0x1ffcc9(0x221)](_0x405a85,_0x1522a0){const _0x430c13=_0x1ffcc9,_0x4f3c2f=this[_0x430c13(0x215)],_0x4b091b=_0x4f3c2f[_0x430c13(0x212)][_0x430c13(0x1e5)](_0x2cfd35);let _0x8e6afc=_0x4b091b[_0x430c13(0x25c)](_0x1522a0);const _0xa84ad5=_0x4f3c2f[_0x430c13(0x211)][_0x430c13(0x1e5)](_0x430c13(0x217)),_0x49f7e9=_0x4f3c2f[_0x430c13(0x212)][_0x430c13(0x1e5)](_0x526d79);if(_0x8e6afc&&(_0x8e6afc[_0x430c13(0x1ec)]&&_0x8e6afc[_0x430c13(0x26f)](null),_0x8e6afc[_0x430c13(0x250)]))return _0x8e6afc;return!this[_0x430c13(0x25f)](_0x1522a0)[0x0][_0x430c13(0x245)]?_0x4f3c2f[_0x430c13(0x263)][_0x430c13(0x219)][_0x430c13(0x1f7)](_0x430c13(0x225),()=>{const _0x3dc7a0=_0x430c13;if(_0x4b091b[_0x3dc7a0(0x25c)](_0x1522a0))return;const _0x2f6892=_0x4f3c2f[_0x3dc7a0(0x212)][_0x3dc7a0(0x1e5)](_0x162ff5);_0x8e6afc=_0x4b091b[_0x3dc7a0(0x27a)]({'channelId':_0xa84ad5,'threadId':_0x1522a0,'target':()=>this[_0x3dc7a0(0x23b)](_0x1522a0),'context':{'type':_0x3dc7a0(0x1f3),'value':this[_0x3dc7a0(0x223)](_0x1522a0)}});const _0x5f507f=_0x4b091b[_0x3dc7a0(0x232)][_0x3dc7a0(0x1e5)](_0x8e6afc)[_0x3dc7a0(0x219)],_0x2d8e9e=_0x2f6892[_0x3dc7a0(0x258)](_0x5f507f);_0x2d8e9e&&_0x49f7e9[_0x3dc7a0(0x266)](_0x2d8e9e);},{'priority':_0x430c13(0x1da)}):_0x4b091b[_0x430c13(0x1e2)]({'channelId':_0xa84ad5,'threadId':_0x1522a0})[_0x430c13(0x1f5)](_0xcb6786=>{const _0x47fb71=_0x430c13;if(_0x47fb71(0x231)!==_0x4f3c2f[_0x47fb71(0x1d6)]){if(_0x8e6afc=_0xcb6786,_0x8e6afc&&!_0x8e6afc[_0x47fb71(0x250)]){const _0x8d676c=_0x8e6afc[_0x47fb71(0x20c)](()=>this[_0x47fb71(0x23b)](_0x1522a0));_0x49f7e9[_0x47fb71(0x266)](_0x8d676c),_0x8e6afc[_0x47fb71(0x24e)]&&this[_0x47fb71(0x1f8)](_0x1522a0);}else{if(!_0x8e6afc){const _0x17bbc9=this[_0x47fb71(0x25f)](_0x1522a0);_0x4f3c2f[_0x47fb71(0x23d)][_0x47fb71(0x26b)](_0x234049=>{const _0x4967f6=_0x47fb71;for(const _0x21b8fc of _0x17bbc9)_0x234049[_0x4967f6(0x1eb)](_0x21b8fc);});}}}}),_0x8e6afc;}[_0x1ffcc9(0x1e1)](_0x5de1a7,_0x546105){const _0x247eca=_0x1ffcc9,_0x1832e4=this[_0x247eca(0x221)](_0x5de1a7,_0x546105);_0x1832e4&&!_0x1832e4[_0x247eca(0x1fa)]&&_0x1832e4[_0x247eca(0x1f0)]({'type':_0x247eca(0x1f3),'value':this[_0x247eca(0x223)](_0x546105)});}[_0x1ffcc9(0x24a)](){const _0x53caec=_0x1ffcc9,_0x197b67=this[_0x53caec(0x215)];_0x2771b2(_0x197b67[_0x53caec(0x23d)],({left:_0x3faf2b,entered:_0x481a39})=>{const _0x3ce21d=_0x53caec;for(const _0x13cef7 of _0x3faf2b)if(mt(_0x13cef7)){_0x197b67['ui'][_0x3ce21d(0x277)][_0x3ce21d(0x251)](_0x21350f(_0x197b67[_0x3ce21d(0x271)],_0x3ce21d(0x222)));break;}for(const _0x5eb524 of _0x481a39)if(mt(_0x5eb524)){_0x197b67['ui'][_0x3ce21d(0x277)][_0x3ce21d(0x251)](_0x21350f(_0x197b67[_0x3ce21d(0x271)],_0x3ce21d(0x21f),_0x29f0bc(_0x279497)));break;}});}}function dt(_0x5e4513,_0x347164){return _0x347164?_0x5e4513+':'+_0x347164:_0x5e4513;}function ht(_0x2aafb9,_0x546325){const _0x15d8c4=_0x1ffcc9,_0x25b4fe=_0x546325[_0x15d8c4(0x234)],_0x28d815=_0x546325[_0x15d8c4(0x22f)](_0x2aafb9[_0x15d8c4(0x216)]);for(const _0x30e3fc of _0x2aafb9[_0x15d8c4(0x249)]()){const {type:_0x5e217b,item:_0x22ef97,nextPosition:_0x375be8}=_0x30e3fc;if(_0x15d8c4(0x1f3)===_0x5e217b||_0x25b4fe[_0x15d8c4(0x1e9)](_0x22ef97)){const _0x4ddd85=_0x546325[_0x15d8c4(0x254)](_0x22ef97);_0x28d815[_0x15d8c4(0x26d)]&&(_0x28d815[_0x15d8c4(0x216)]=_0x4ddd85),_0x28d815[_0x15d8c4(0x23c)]=_0x375be8;}}return _0x28d815;}function mt(_0x40ff40){const _0x2374c1=_0x1ffcc9;return _0x2374c1(0x23e)===_0x2bab61(_0x40ff40[_0x2374c1(0x1e7)])[_0x2374c1(0x209)];}
|
|
23
|
+
const _0x5213ec=_0x133a;(function(_0x43d40f,_0x19e7cc){const _0x16ed98=_0x133a,_0x4dabff=_0x43d40f();while(!![]){try{const _0x11963a=parseInt(_0x16ed98(0x164))/0x1+-parseInt(_0x16ed98(0x178))/0x2*(-parseInt(_0x16ed98(0x132))/0x3)+-parseInt(_0x16ed98(0xf0))/0x4*(parseInt(_0x16ed98(0x121))/0x5)+parseInt(_0x16ed98(0xeb))/0x6+parseInt(_0x16ed98(0xfa))/0x7+-parseInt(_0x16ed98(0x104))/0x8*(-parseInt(_0x16ed98(0x162))/0x9)+parseInt(_0x16ed98(0x13f))/0xa*(-parseInt(_0x16ed98(0x15c))/0xb);if(_0x11963a===_0x19e7cc)break;else _0x4dabff['push'](_0x4dabff['shift']());}catch(_0x196804){_0x4dabff['push'](_0x4dabff['shift']());}}}(_0x1f79,0xaf157));import{Plugin as _0x414938}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x24e8ad,scrollViewportToShowTarget as _0x22e501,uid as _0x3d011}from'ckeditor5/src/utils.js';function _0x1f79(){const _0x53cc6f=['createPositionBefore','once','affectsData','reopenCommentThread','render','refreshVisibility','hasCommentThread','switchReadOnly','then','isCollapsed','_initAriaMarkerChangeAnnouncements','dataDowncast','reconvertMarker','substring','_attachMarkerToThread','change:activeMarker','ariaLiveAnnouncer','managedUsingOperations','dataToMarker','editingDowncast','ck-comment-marker','markerToHighlight','2761JMoVBI','markerName','isAttached','_handleMarkerAddAndRemove','add','setUnlinkedAt','2709090SILPCJ','isResolved','1242535DFdWIc','ready','_initializeMarkerConverters','isObject','$textProxy','name','addComment','registerPostFixer','scrollToThreadMarker','pluginName','markers','schema','first','map','href','change','removeCommentThread','focus','hasContent','upcast','4ReGmCq','comment','conversion','removeMarker:','config','consume','forEach','updateMarker','createElement','LEAVE_COMMENT_ANNOUNCEMENT','ENTER_COMMENT_ANNOUNCEMENT','_getTargetForId','remove','size','attachTo','getCommentThreads','addCommentThread','comments','rootName','setContext','plugins','commands','init','requires','5986368edyVXH','_getTextContext','startsWith','addMarker:','fetchCommentThread','4246980JhYUBH','document','listenTo','ck-comment-marker--active','isPremiumPlugin','delete','getCommentThread','_threadToController','editor','destroy','4182052zJjxzI','get','filter','locale','clear','newRange','author','context','elementToElement','start','24RgeqyD','hasMarkerForId','createRange','root','change:isThreadsLoadingPaused','isOfficialPlugin','showCommentHighlights','text','set','low','consumable','differ','activeMarker','state','fromCharCode','getItems','unlinkedAt','getRange','isEqual','openNewCommentThread','getByInnerView','from','_handleInitialThreads','afterInit','CommentsEditing','enqueueChange','resolveCommentThread','destroyed','_hasTargetInContent','5NALjim','ignoreResolvedComments','collaboration.channelId','editing','end','channelId','_detachCommentThread','view','getChangedMarkers','_threads','comment:','isThreadsLoadingPaused','announce','data','for','join','markerToData','161481KgYiCn','change:isReadOnly','_handleThreadMarker','item','_attachArchivedThread','getWalker','group','registerAnnotation','getAttribute','length','_reconvertMarkers','$graveyard','model','82450AvbEVT','hasDomSelection','$marker','getAllMarkersForId','isSubmitted','push','removeMarker'];_0x1f79=function(){return _0x53cc6f;};return _0x1f79();}import{CommentsRepository as _0x36b1eb}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x5f473}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x22638c,getAllMarkersDomElementsSorted as _0x411c9c,FOCUS_ANNOTATION_KEYSTROKE as _0x31a67d,Users as _0x20b73c}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x528e96}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x5f2e13}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x5dcf72}from'./integrations/importword.js';import{CommentsClipboard as _0x4769cc}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x52e521}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x3e26f9}from'../annotations/annotations.js';import{getTranslation as _0x546c7f}from'../utils/common-translations.js';import{splitMarkerName as _0x39e1df}from'../utils/splitmarkername.js';function _0x133a(_0xc97273,_0x157377){const _0x1f7904=_0x1f79();return _0x133a=function(_0x133a52,_0x353574){_0x133a52=_0x133a52-0xd4;let _0x45aab4=_0x1f7904[_0x133a52];return _0x45aab4;},_0x133a(_0xc97273,_0x157377);}export class CommentsEditing extends _0x414938{static get[_0x5213ec(0xea)](){return[_0x36b1eb,_0x528e96,_0x20b73c,_0x5f2e13,_0x5dcf72,_0x4769cc,_0x52e521];}static get[_0x5213ec(0x16d)](){const _0xef5a61=_0x5213ec;return _0xef5a61(0x11c);}static get[_0x5213ec(0x109)](){return!0x0;}static get[_0x5213ec(0xf4)](){return!0x0;}constructor(_0x341c5f){const _0x314702=_0x5213ec;super(_0x341c5f),this[_0x314702(0x10c)](_0x314702(0x12c),!0x0),_0x341c5f[_0x314702(0x12e)][_0x314702(0x147)](_0x314702(0x165),()=>this[_0x314702(0x12c)]=!0x1),this[_0x314702(0x10c)](_0x314702(0x110),null),this['on'](_0x314702(0x155),(_0x6ef0fb,_0x34e337,_0x1cea94,_0x43f75e)=>{const _0x59d685=_0x314702,_0x41c38d=_0x341c5f[_0x59d685(0xe7)][_0x59d685(0xfb)](_0x36b1eb),_0x3dda44=_0x1cea94?_0x39e1df(_0x1cea94)['id']:null;_0x341c5f[_0x59d685(0x13e)][_0x59d685(0x173)](()=>{const _0x2f2067=_0x59d685;if(_0x3dda44){const _0x2cda31=this[_0x2f2067(0x142)](_0x3dda44);for(const _0x4396fd of _0x2cda31)_0x341c5f[_0x2f2067(0x124)][_0x2f2067(0x152)](_0x4396fd);}if(_0x43f75e){const {id:_0x8467ae}=_0x39e1df(_0x43f75e),_0x2f8571=_0x41c38d[_0x2f2067(0xf6)](_0x8467ae);if(_0x2f8571&&_0x2f8571[_0x2f2067(0x114)])return;if(_0x2f8571&&!_0x2f8571[_0x2f2067(0x15e)])return;const _0x3b93f5=this[_0x2f2067(0x142)](_0x8467ae);for(const _0x217199 of _0x3b93f5)_0x341c5f[_0x2f2067(0x124)][_0x2f2067(0x152)](_0x217199);}}),_0x3dda44&&this[_0x59d685(0x16c)](_0x3dda44);}),this[_0x314702(0x150)]();}[_0x5213ec(0xe9)](){const _0x5bbf4d=_0x5213ec,_0x27afa2=this[_0x5bbf4d(0xf8)],_0x4ab1ed=_0x27afa2[_0x5bbf4d(0xe7)][_0x5bbf4d(0xfb)](_0x36b1eb),_0x371e81=_0x27afa2[_0x5bbf4d(0xd7)][_0x5bbf4d(0xfb)](_0x5bbf4d(0x123)),_0x25f6f8=_0x4ab1ed[_0x5bbf4d(0xe2)]()[_0x5bbf4d(0xfc)](_0x3d6f8f=>_0x3d6f8f[_0x5bbf4d(0x126)]!==_0x371e81);_0x27afa2[_0x5bbf4d(0xe8)][_0x5bbf4d(0x160)](_0x5bbf4d(0xe3),new _0x5f473(_0x27afa2)),this[_0x5bbf4d(0xf2)](_0x27afa2,_0x5bbf4d(0x133),(_0x31fe7f,_0x21edc9,_0x1b0268)=>{const _0x2ebb37=_0x5bbf4d;_0x4ab1ed[_0x2ebb37(0x14d)](_0x1b0268,_0x27afa2[_0x2ebb37(0xd7)][_0x2ebb37(0xfb)](_0x2ebb37(0x123)));}),this[_0x5bbf4d(0xf2)](_0x4ab1ed,dt(_0x5bbf4d(0xe3),_0x371e81),(_0x2921bc,{threadId:_0x181e0f})=>{const _0xcd36cf=_0x5bbf4d,_0x473d90=this[_0xcd36cf(0xf8)][_0xcd36cf(0xe7)][_0xcd36cf(0xfb)](_0x36b1eb)[_0xcd36cf(0xf6)](_0x181e0f);_0x473d90?.[_0xcd36cf(0x114)]&&this[_0xcd36cf(0x136)](_0x181e0f);}),this[_0x5bbf4d(0xf2)](_0x4ab1ed,dt(_0x5bbf4d(0x174),_0x371e81),(_0x10f512,{threadId:_0x262e21})=>{const _0x609850=_0x5bbf4d;_0x27afa2[_0x609850(0x13e)][_0x609850(0x11d)]({'isUndoable':!0x1},_0x5525d8=>{const _0x1c72ea=_0x609850,_0x18f7fa=this[_0x1c72ea(0x142)](_0x262e21);for(const _0x26aabb of _0x18f7fa)_0x5525d8[_0x1c72ea(0x145)](_0x26aabb);});}),this[_0x5bbf4d(0xf2)](_0x4ab1ed,dt(_0x5bbf4d(0x11e),_0x371e81),(_0x10e804,{threadId:_0x488faf})=>{const _0x466ddb=_0x5bbf4d;(this[_0x466ddb(0x13c)](_0x488faf),this[_0x466ddb(0xf8)][_0x466ddb(0x124)][_0x466ddb(0x128)][_0x466ddb(0x140)])&&(this[_0x466ddb(0xf8)][_0x466ddb(0xe7)][_0x466ddb(0xfb)](_0x36b1eb)[_0x466ddb(0xf6)](_0x488faf)[_0x466ddb(0x114)]||this[_0x466ddb(0xf8)][_0x466ddb(0x124)][_0x466ddb(0x128)][_0x466ddb(0x175)]());},{'priority':_0x5bbf4d(0x10d)}),this[_0x5bbf4d(0xf2)](_0x4ab1ed,dt(_0x5bbf4d(0x149),_0x371e81),(_0x29d213,{threadId:_0x2bfee6})=>{const _0x204a9c=_0x5bbf4d;this[_0x204a9c(0x13c)](_0x2bfee6);},{'priority':_0x5bbf4d(0x10d)}),this[_0x5bbf4d(0xf2)](_0x4ab1ed,dt(_0x5bbf4d(0x16a),_0x371e81),(_0xbbf62e,{threadId:_0x9c9904,isFromAdapter:_0x38947e})=>{const _0x328aa7=_0x5bbf4d,_0x52ae1e=this[_0x328aa7(0x142)](_0x9c9904);if(_0x38947e||0x0==_0x52ae1e[_0x328aa7(0x13b)]||!_0x4ab1ed[_0x328aa7(0x14c)](_0x9c9904))return;0x1===_0x4ab1ed[_0x328aa7(0xf6)](_0x9c9904)[_0x328aa7(0x13b)]&&_0x27afa2[_0x328aa7(0x13e)][_0x328aa7(0x11d)]({'isUndoable':!0x1},_0x2f77da=>{const _0x32e40a=_0x328aa7;for(const _0x23ead8 of _0x52ae1e)_0x2f77da[_0x32e40a(0xda)](_0x23ead8,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x5bbf4d(0x10d)}),this[_0x5bbf4d(0x166)](),this[_0x5bbf4d(0x15f)](),this[_0x5bbf4d(0x11a)](_0x25f6f8);}[_0x5213ec(0x11b)](){!async function(_0x59ac18){const _0x178596=_0x16234b([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]),_0x14a912=0x73460ab3,_0x1e0e45=0x7341706b^_0x14a912,_0x120e48=window[_0x16234b([0x44,0x61,0x74,0x65])][_0x16234b([0x6e,0x6f,0x77])](),_0x111501=_0x59ac18[_0x16234b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5cbe56=new window[(_0x16234b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43d3da=>{_0x111501[_0x16234b([0x6f,0x6e,0x63,0x65])](_0x16234b([0x72,0x65,0x61,0x64,0x79]),_0x43d3da);}),_0x445824={[_0x16234b([0x6b,0x74,0x79])]:_0x16234b([0x45,0x43]),[_0x16234b([0x75,0x73,0x65])]:_0x16234b([0x73,0x69,0x67]),[_0x16234b([0x63,0x72,0x76])]:_0x16234b([0x50,0x2d,0x32,0x35,0x36]),[_0x16234b([0x78])]:_0x16234b([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]),[_0x16234b([0x79])]:_0x16234b([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]),[_0x16234b([0x61,0x6c,0x67])]:_0x16234b([0x45,0x53,0x32,0x35,0x36])},_0x157559=_0x111501[_0x16234b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16234b([0x67,0x65,0x74])](_0x16234b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c4810(){let _0x1f055c,_0x200110=null,_0x20aae3=null;try{if(_0x157559==_0x16234b([0x47,0x50,0x4c]))return _0x16234b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f055c=_0xb678af(),!_0x1f055c)return _0x16234b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f055c[_0x16234b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20aae3=_0x4d15c3(_0x1f055c[_0x16234b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f055c[_0x16234b([0x6a,0x74,0x69])])),await _0x445e5f()?_0x5a7195()?_0x46420c()?_0x16234b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x502f9e()?(_0x1f055c[_0x16234b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16234b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x200110=_0x1b83a7(_0x16234b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1f055c[_0x16234b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16234b([0x74,0x72,0x69,0x61,0x6c])&&(_0x200110=_0x1b83a7(_0x16234b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52e317()):_0x16234b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16234b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16234b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16234b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46420c(){const _0x5c5d6e=[_0x16234b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16234b([0x74,0x72,0x69,0x61,0x6c])][_0x16234b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f055c[_0x16234b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x120e48/0x3e8:0xe10*_0x1e0e45;return _0x1f055c[_0x16234b([0x65,0x78,0x70])]<_0x5c5d6e;}function _0x5a7195(){const _0x42662b=_0x1f055c[_0x16234b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x42662b)return!0x1;if(_0x42662b[_0x16234b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16234b([0x2a])))return!0x0;if(_0x42662b[_0x16234b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16234b([0x43,0x4d,0x54])))return!0x0;if(_0x42662b[_0x16234b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16234b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x48518c())return!0x0;if(_0x42662b[_0x16234b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16234b([0x52,0x43,0x4d,0x54]))){if(_0x19afdf())return!0x0;if(_0xa596ad()||_0x401fae())return!0x0;}return!0x1;}function _0x502f9e(){const _0x33c7f3=_0x133a,_0x51b9f8=_0x1f055c[_0x16234b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51b9f8||0x0==_0x51b9f8[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1bc4f9}=new URL(window[_0x16234b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x33c7f3(0x172)]);if(_0x51b9f8[_0x16234b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bc4f9))return!0x0;const _0x158dba=_0x1bc4f9[_0x16234b([0x73,0x70,0x6c,0x69,0x74])](_0x16234b([0x2e]));return _0x51b9f8[_0x16234b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x235836=>_0x235836[_0x16234b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16234b([0x2a])))[_0x16234b([0x6d,0x61,0x70])](_0x4f95dc=>_0x4f95dc[_0x16234b([0x73,0x70,0x6c,0x69,0x74])](_0x16234b([0x2e])))[_0x16234b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5159e9=>_0x5159e9[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x158dba[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16234b([0x6d,0x61,0x70])](_0x2769d1=>Array(_0x158dba[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2769d1[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16234b([0x66,0x69,0x6c,0x6c])](_0x2769d1[0x0]===_0x16234b([0x2a])?_0x16234b([0x2a]):'')[_0x16234b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2769d1))[_0x16234b([0x73,0x6f,0x6d,0x65])](_0xe5fdb9=>_0x158dba[_0x16234b([0x65,0x76,0x65,0x72,0x79])]((_0x3e824e,_0x218b09)=>_0xe5fdb9[_0x218b09]===_0x3e824e||_0xe5fdb9[_0x218b09]===_0x16234b([0x2a])));}function _0x52e317(){return _0x200110&&_0x20aae3?new window[(_0x16234b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20834a,_0x3a4b47)=>{_0x200110[_0x16234b([0x74,0x68,0x65,0x6e])](_0x20834a,_0x3a4b47),_0x20aae3[_0x16234b([0x74,0x68,0x65,0x6e])](_0x35f813=>{_0x35f813!=_0x16234b([0x56,0x61,0x6c,0x69,0x64])&&_0x20834a(_0x35f813);},_0x3a4b47);}):_0x200110||_0x20aae3||_0x16234b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d15c3(_0x5c0bca,_0xf220d1){return new window[(_0x16234b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4086ee=>{if(_0x367ff3())return _0x4086ee(_0x16234b([0x56,0x61,0x6c,0x69,0x64]));_0x3ee63d(),_0x111501[_0x16234b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16234b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b3d9a=!0x1;const _0x553e0f=_0x3d011();function _0x4eed4b(_0x494c6e){return!!_0x494c6e&&(typeof _0x494c6e===_0x16234b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x494c6e===_0x16234b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x494c6e[_0x16234b([0x74,0x68,0x65,0x6e])]===_0x16234b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x494c6e[_0x16234b([0x63,0x61,0x74,0x63,0x68])]===_0x16234b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x392147(_0x27b344){_0x1f4822(_0x27b344)[_0x16234b([0x74,0x68,0x65,0x6e])](_0x4430ca=>{if(!_0x4430ca||_0x4430ca[_0x16234b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16234b([0x6f,0x6b]))return _0x16234b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16594e(_0x297618(_0x553e0f+_0xf220d1))!=_0x4430ca[_0x16234b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16234b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16234b([0x56,0x61,0x6c,0x69,0x64]);})[_0x16234b([0x74,0x68,0x65,0x6e])](_0x590135=>(_0x789abe(),_0x590135),()=>{const _0x3b5582=_0x364793();return null==_0x3b5582?(_0x789abe(),_0x16234b([0x56,0x61,0x6c,0x69,0x64])):_0x16234b(_0x120e48-_0x3b5582>(0x574a8eb3^_0x14a912)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16234b([0x74,0x68,0x65,0x6e])](_0x4086ee)[_0x16234b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4086ee(_0x16234b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3380ae=0x7370e433^_0x14a912;function _0x789abe(){const _0x588a1f=_0x16234b([0x6c,0x6c,0x63,0x74,0x2d])+_0x16594e(_0x297618(_0x5c0bca)),_0x3b132e=_0x986911(_0x16594e(window[_0x16234b([0x4d,0x61,0x74,0x68])][_0x16234b([0x63,0x65,0x69,0x6c])](_0x120e48/_0x3380ae)));window[_0x16234b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16234b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x588a1f,_0x3b132e);}function _0x364793(){const _0x1ea8ec=_0x16234b([0x6c,0x6c,0x63,0x74,0x2d])+_0x16594e(_0x297618(_0x5c0bca)),_0x4c2b89=window[_0x16234b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16234b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ea8ec);return _0x4c2b89?window[_0x16234b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x986911(_0x4c2b89),0x10)*_0x3380ae:null;}function _0x1f4822(_0x78900e){return new window[(_0x16234b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12c6da,_0x1b5c7f)=>{_0x78900e[_0x16234b([0x74,0x68,0x65,0x6e])](_0x12c6da,_0x1b5c7f),window[_0x16234b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b5c7f,0x7347de73^_0x14a912);});}}_0x111501[_0x16234b([0x6f,0x6e])](_0x16234b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54193e,_0x12f35d)=>{if(_0x12f35d[0x0]!=_0x5c0bca)return _0x4086ee(_0x16234b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x12f35d[0x1]={..._0x12f35d[0x1],[_0x16234b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x553e0f};},{[_0x16234b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16234b([0x68,0x69,0x67,0x68])}),_0x111501[_0x16234b([0x6f,0x6e])](_0x16234b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x33b38b=>{_0x4eed4b(_0x33b38b[_0x16234b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b3d9a=!0x0,_0x392147(_0x33b38b[_0x16234b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16234b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16234b([0x6c,0x6f,0x77])}),_0x5cbe56[_0x16234b([0x74,0x68,0x65,0x6e])](()=>{_0x5b3d9a||_0x4086ee(_0x16234b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x367ff3(){return _0x111501[_0x16234b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16234b([0x76,0x69,0x65,0x77])][_0x16234b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16234b([0x61,0x75,0x74,0x6f]);}function _0x3ee63d(){_0x111501[_0x16234b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16234b([0x76,0x69,0x65,0x77])][_0x16234b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16234b([0x61,0x75,0x74,0x6f]);}}function _0x1b83a7(_0x3b6a87){const _0xe649f1=[new window[(_0x16234b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e31aa=>setTimeout(_0x2e31aa,0x734f347f^_0x14a912)),_0x5cbe56[_0x16234b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16234b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319795=>{let _0x49e2a5=0x0;_0x111501[_0x16234b([0x6d,0x6f,0x64,0x65,0x6c])][_0x16234b([0x6f,0x6e])](_0x16234b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1579bb,_0x4536a3)=>{_0x4536a3[0x0][_0x16234b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49e2a5++,_0x49e2a5==(0x73460b4b^_0x14a912)&&(_0x319795(),_0x1579bb[_0x16234b([0x6f,0x66,0x66])]());});}))];return window[_0x16234b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16234b([0x72,0x61,0x63,0x65])](_0xe649f1)[_0x16234b([0x74,0x68,0x65,0x6e])](()=>_0x3b6a87);}async function _0x14a80c(){await _0x5cbe56,_0x111501[_0x16234b([0x6d,0x6f,0x64,0x65,0x6c])][_0x16234b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ef575,_0x111501[_0x16234b([0x6d,0x6f,0x64,0x65,0x6c])][_0x16234b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ef575,_0x111501[_0x16234b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16234b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48518c(){return window[_0x16234b([0x67,0x6c,0x6f,0x62])]&&window[_0x16234b([0x67,0x6c,0x6f,0x62])][_0x16234b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x19afdf(){return _0x19b579(_0x16234b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x41e297(_0x16234b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x16234b([0x73,0x74,0x61,0x74,0x65])]==_0x16234b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0xa596ad(){return _0x19b579(_0x16234b([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 _0x401fae(){return _0x19b579(_0x16234b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x32f4ec(_0x3b0669){const _0x343466=_0x1c0408();_0x111501[_0x343466]=_0x16234b([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b0669,_0x3b0669!=_0x16234b([0x56,0x61,0x6c,0x69,0x64])&&_0x14a80c();}function _0x1c0408(){const _0x3636b0=window[_0x16234b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16234b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16234b([0x6e,0x6f,0x77])]())[_0x16234b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16234b([0x2e]),'');let _0x39ca6b=_0x16234b([0x4b]);for(let _0x556244=0x0;_0x556244<_0x3636b0[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x556244+=0x2){let _0x5dca02=window[_0x16234b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3636b0[_0x16234b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556244,_0x556244+0x2));_0x5dca02>=_0x178596[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dca02-=_0x178596[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39ca6b+=_0x178596[_0x5dca02];}return _0x39ca6b;}function _0xb678af(){const _0x4868a9=_0x157559[_0x16234b([0x73,0x70,0x6c,0x69,0x74])](_0x16234b([0x2e]));if(0x3!=_0x4868a9[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x255e25(_0x4868a9[0x1]);function _0x255e25(_0x3f45c4){const _0x1c5d35=_0x14736d(_0x3f45c4);return _0x1c5d35&&_0x14e1ed()?_0x1c5d35:null;function _0x14e1ed(){const _0x1e400e=_0x1c5d35[_0x16234b([0x6a,0x74,0x69])],_0x1eb207=window[_0x16234b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e400e[_0x16234b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e400e[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a0e6e={..._0x1c5d35,[_0x16234b([0x6a,0x74,0x69])]:_0x1e400e[_0x16234b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e400e[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a0e6e[_0x16234b([0x76,0x63])],_0x297618(_0x4a0e6e)==_0x1eb207;}}}async function _0x445e5f(){let _0x539cd4=!0x0;try{const _0x495308=_0x157559[_0x16234b([0x73,0x70,0x6c,0x69,0x74])](_0x16234b([0x2e])),[_0x4fd252,_0x4eba02,_0x1e1a81]=_0x495308;return _0x25df23(_0x4fd252),await _0x4b9652(_0x4fd252,_0x4eba02,_0x1e1a81),_0x539cd4;}catch{return!0x1;}function _0x25df23(_0x2fd583){const _0x4f4602=_0x14736d(_0x2fd583);_0x4f4602&&_0x4f4602[_0x16234b([0x61,0x6c,0x67])]==_0x16234b([0x45,0x53,0x32,0x35,0x36])||(_0x539cd4=!0x1);}async function _0x4b9652(_0x5ee789,_0x5193ab,_0x25f594){const _0x5c15a8=window[_0x16234b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16234b([0x66,0x72,0x6f,0x6d])](_0x57bf8b(_0x25f594),_0x4f8981=>_0x4f8981[_0x16234b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3ff679=new window[(_0x16234b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16234b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ee789+_0x16234b([0x2e])+_0x5193ab),_0x12d88a=window[_0x16234b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16234b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12d88a)return;const _0x7774c2=await _0x12d88a[_0x16234b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16234b([0x6a,0x77,0x6b]),_0x445824,{[_0x16234b([0x6e,0x61,0x6d,0x65])]:_0x16234b([0x45,0x43,0x44,0x53,0x41]),[_0x16234b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16234b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16234b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12d88a[_0x16234b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16234b([0x6e,0x61,0x6d,0x65])]:_0x16234b([0x45,0x43,0x44,0x53,0x41]),[_0x16234b([0x68,0x61,0x73,0x68])]:{[_0x16234b([0x6e,0x61,0x6d,0x65])]:_0x16234b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x7774c2,_0x5c15a8,_0x3ff679)||(_0x539cd4=!0x1);}}function _0x14736d(_0x47416b){return _0x47416b[_0x16234b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16234b([0x65,0x79]))?JSON[_0x16234b([0x70,0x61,0x72,0x73,0x65])](_0x57bf8b(_0x47416b)):null;}function _0x57bf8b(_0x463400){return window[_0x16234b([0x61,0x74,0x6f,0x62])](_0x463400[_0x16234b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16234b([0x2b]))[_0x16234b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16234b([0x2f])));}function _0x297618(_0x4fa513){let _0x2396c7=0x1505;function _0x159262(_0x47260d){for(let _0x4d1ad5=0x0;_0x4d1ad5<_0x47260d[_0x16234b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d1ad5++){const _0x54bd23=_0x47260d[_0x16234b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d1ad5);_0x2396c7=(_0x2396c7<<0x5)+_0x2396c7+_0x54bd23,_0x2396c7&=_0x2396c7;}}function _0x3c918c(_0x3c0c88){Array[_0x16234b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c0c88)?_0x3c0c88[_0x16234b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c918c):_0x3c0c88&&typeof _0x3c0c88==_0x16234b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16234b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c0c88)[_0x16234b([0x73,0x6f,0x72,0x74])]()[_0x16234b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x456cec,_0x2d581b])=>{_0x159262(_0x456cec),_0x3c918c(_0x2d581b);}):_0x159262(window[_0x16234b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c0c88));}return _0x3c918c(_0x4fa513),_0x2396c7>>>0x0;}function _0x16594e(_0xffc240){return _0xffc240[_0x16234b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16234b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16234b([0x30]));}function _0x986911(_0xb6bb99){return _0xb6bb99[_0x16234b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16234b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16234b([0x6a,0x6f,0x69,0x6e])]('');}function _0x19b579(_0x3ff4df){return _0x111501[_0x16234b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x16234b([0x68,0x61,0x73])](_0x3ff4df);}function _0x41e297(_0x2bb0ea){return _0x111501[_0x16234b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x16234b([0x67,0x65,0x74])](_0x2bb0ea);}function _0x1ef575(){}function _0x16234b(_0x27e0f1){const _0x4890f9=_0x133a;return _0x27e0f1[_0x4890f9(0x171)](_0x253163=>String[_0x4890f9(0x112)](_0x253163))[_0x4890f9(0x130)]('');}_0x32f4ec(await _0x4c4810());}(this);}[_0x5213ec(0xf9)](){const _0x112588=_0x5213ec,_0x227843=this[_0x112588(0xf8)][_0x112588(0xe7)][_0x112588(0xfb)](_0x36b1eb),_0x57bbe6=this[_0x112588(0xf8)][_0x112588(0xd7)][_0x112588(0xfb)](_0x112588(0x123));for(const _0x547195 of _0x227843[_0x112588(0xe2)]({'channelId':_0x57bbe6}))_0x227843[_0x112588(0x127)](_0x547195['id']),_0x227843[_0x112588(0x12a)][_0x112588(0xf5)](_0x547195['id']);super[_0x112588(0xf9)]();}[_0x5213ec(0x105)](_0x2fb0d3){const _0x4a9317=_0x5213ec;return this[_0x4a9317(0x142)](_0x2fb0d3)[_0x4a9317(0x13b)]>0x0;}[_0x5213ec(0x142)](_0x4258ae){const _0x1e071c=_0x5213ec,_0x534fd8=[];for(const _0x3bf421 of this[_0x1e071c(0xf8)][_0x1e071c(0x13e)][_0x1e071c(0x16e)])_0x3bf421[_0x1e071c(0x169)][_0x1e071c(0xed)](_0x1e071c(0x12b)+_0x4258ae)&&_0x534fd8[_0x1e071c(0x144)](_0x3bf421);return _0x534fd8;}[_0x5213ec(0x16c)](_0x4d829b){setTimeout(()=>{const _0x190d7d=_0x133a,_0x4ee641=this[_0x190d7d(0xde)](_0x4d829b);if(!_0x4ee641)return;this[_0x190d7d(0x110)]&&_0x39e1df(this[_0x190d7d(0x110)])['id']===_0x4d829b&&_0x22e501({'target':_0x4ee641[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x5213ec(0x13c)](_0x55b68){const _0x21026d=_0x5213ec;this[_0x21026d(0xf8)][_0x21026d(0x13e)][_0x21026d(0x173)](()=>{const _0x21f59f=_0x21026d;for(const _0x1070ea of this[_0x21f59f(0x142)](_0x55b68))this[_0x21f59f(0xf8)][_0x21f59f(0x124)][_0x21f59f(0x152)](_0x1070ea);});}[_0x5213ec(0x136)](_0x578a5f){const _0x207150=_0x5213ec,_0x5c8e7a=this[_0x207150(0xf8)][_0x207150(0xe7)][_0x207150(0xfb)](_0x36b1eb),_0x13885b=this[_0x207150(0xf8)][_0x207150(0xe7)][_0x207150(0xfb)](_0x528e96),_0x377791=_0x5c8e7a[_0x207150(0xf6)](_0x578a5f);if(!_0x377791[_0x207150(0x15e)]){const _0x2697cf=_0x377791[_0x207150(0xe1)](()=>this[_0x207150(0xde)](_0x377791['id']));_0x13885b[_0x207150(0x139)](_0x2697cf),_0x377791[_0x207150(0x120)]=!0x1;}}[_0x5213ec(0x166)](){const _0x1da4b5=_0x5213ec,_0x318d9a=this[_0x1da4b5(0xf8)],_0x3ec6f3=_0x318d9a[_0x1da4b5(0xe7)][_0x1da4b5(0xfb)](_0x20b73c);_0x318d9a[_0x1da4b5(0xd5)][_0x1da4b5(0x12f)](_0x1da4b5(0x159))[_0x1da4b5(0x15b)]({'model':_0x1da4b5(0xd4),'view':(_0x41779c,_0x9dc641)=>{const _0x3a2f4d=_0x1da4b5,{id:_0x15ce24}=_0x39e1df(_0x41779c[_0x3a2f4d(0x15d)]),_0x3b348b=_0x318d9a[_0x3a2f4d(0xe7)][_0x3a2f4d(0xfb)](_0x36b1eb)[_0x3a2f4d(0xf6)](_0x15ce24),_0x52dd6b=this[_0x3a2f4d(0x110)]&&_0x39e1df(this[_0x3a2f4d(0x110)])['id']===_0x15ce24;let _0x684c83;if(_0x3b348b&&_0x3b348b[_0x3a2f4d(0x163)]&&!_0x52dd6b&&_0x41779c[_0x3a2f4d(0x135)])return _0x9dc641[_0x3a2f4d(0x10e)][_0x3a2f4d(0xd8)](_0x41779c[_0x3a2f4d(0x135)],_0x3a2f4d(0xee)+_0x41779c[_0x3a2f4d(0x15d)]),_0x9dc641[_0x3a2f4d(0x10e)][_0x3a2f4d(0xd8)](_0x41779c[_0x3a2f4d(0x135)],_0x3a2f4d(0xd6)+_0x41779c[_0x3a2f4d(0x15d)]),null;const _0x6a6163=[_0x3a2f4d(0x15a)];return _0x52dd6b&&_0x6a6163[_0x3a2f4d(0x144)](_0x3a2f4d(0xf3)),_0x684c83=_0x3b348b?.[_0x3a2f4d(0x13b)]?_0x3b348b[_0x3a2f4d(0xe4)][_0x3a2f4d(0x170)][_0x3a2f4d(0x100)]['id']:_0x3ec6f3['me']['id'],{'classes':_0x6a6163,'attributes':{'data-comment':_0x15ce24,'data-author-id':_0x684c83}};}}),_0x318d9a[_0x1da4b5(0xd5)][_0x1da4b5(0x12f)](_0x1da4b5(0x151))[_0x1da4b5(0x131)]({'model':_0x1da4b5(0xd4),'view':(_0x55cc30,{options:_0x491f46})=>{const _0x285d19=_0x1da4b5;if(_0x491f46[_0x285d19(0x10a)])return null;const _0x1b4856=_0x318d9a[_0x285d19(0xe7)][_0x285d19(0xfb)](_0x36b1eb),_0x3ae4ad=_0x318d9a[_0x285d19(0x13e)][_0x285d19(0x16e)][_0x285d19(0xfb)](_0x55cc30),{id:_0x4770df,part:_0x4521bf}=_0x39e1df(_0x55cc30);return _0x3ae4ad&&!_0x3ae4ad[_0x285d19(0x148)]||_0x491f46[_0x285d19(0x122)]&&_0x1b4856[_0x285d19(0xf6)](_0x4770df)?.[_0x285d19(0x163)]?null:{'group':_0x285d19(0xd4),'name':_0x4521bf?_0x4770df+':'+_0x4521bf:_0x4770df};}}),_0x318d9a[_0x1da4b5(0xd5)][_0x1da4b5(0x12f)](_0x1da4b5(0x177))[_0x1da4b5(0x102)]({'view':{'name':_0x1da4b5(0xd4),'attributes':{'id':/^\w/}},'model':(_0x31bb95,{writer:_0x211a63})=>_0x211a63[_0x1da4b5(0xdb)](_0x1da4b5(0x141),{'data-name':_0x1da4b5(0x12b)+_0x31bb95[_0x1da4b5(0x13a)]('id')})}),_0x318d9a[_0x1da4b5(0xd5)][_0x1da4b5(0x12f)](_0x1da4b5(0x177))[_0x1da4b5(0x158)]({'view':_0x1da4b5(0xd4)});}[_0x5213ec(0x15f)](){const _0x2a1215=_0x5213ec,_0xa5a7c6=this[_0x2a1215(0xf8)],_0x1fdd79=_0xa5a7c6[_0x2a1215(0xe7)][_0x2a1215(0xfb)](_0x36b1eb),_0x12fb69=new Set(),_0x3187e3=new Set();_0xa5a7c6[_0x2a1215(0x13e)][_0x2a1215(0xf1)][_0x2a1215(0x16b)](_0x1cbfa6=>{const _0x2e0346=_0x2a1215;let _0x4acb35=!0x1;for(const {name:_0x3356ca,data:_0x1fa329}of _0xa5a7c6[_0x2e0346(0x13e)][_0x2e0346(0xf1)][_0x2e0346(0x10f)][_0x2e0346(0x129)]()){const {group:_0x58bae9,id:_0xcfaa76}=_0x39e1df(_0x3356ca);let _0x4250fb=_0x1fa329[_0x2e0346(0xff)];if(_0x2e0346(0xd4)!==_0x58bae9||!_0x4250fb)continue;const _0x359cb8=_0x2e0346(0x13d)===_0x4250fb[_0x2e0346(0x107)][_0x2e0346(0xe5)];_0x359cb8||(_0x4250fb=ht(_0x4250fb,_0xa5a7c6[_0x2e0346(0x13e)]),!_0x4250fb||_0x4250fb[_0x2e0346(0x14f)]||!_0x1fa329[_0x2e0346(0xff)]||_0x4250fb[_0x2e0346(0x116)](_0x1fa329[_0x2e0346(0xff)]))?_0xa5a7c6[_0x2e0346(0x13e)][_0x2e0346(0x176)](_0x4250fb)&&!_0x359cb8?this[_0x2e0346(0x12c)]?_0x12fb69[_0x2e0346(0x160)](_0x3356ca):this[_0x2e0346(0x134)](_0x3356ca,_0xcfaa76):(_0x3187e3[_0x2e0346(0x160)](_0x3356ca),_0x12fb69[_0x2e0346(0xf5)](_0x3356ca),_0x1cbfa6[_0x2e0346(0x145)](_0x3356ca),_0x4acb35=!0x0):(_0x1cbfa6[_0x2e0346(0xda)](_0x3356ca,{'range':_0x4250fb}),_0x4acb35=!0x0);}return _0x4acb35;}),this['on'](_0x2a1215(0x108),(_0xc5d8a6,_0xc995d6,_0x34accc)=>{const _0x4f2e8b=_0x2a1215;if(!_0x34accc&&_0x12fb69[_0x4f2e8b(0xe0)])for(const _0x27a6b6 of _0x12fb69){const {id:_0x205773}=_0x39e1df(_0x27a6b6);_0x12fb69[_0x4f2e8b(0xf5)](_0x27a6b6),_0xa5a7c6[_0x4f2e8b(0x13e)][_0x4f2e8b(0x16e)][_0x4f2e8b(0xfb)](_0x27a6b6)&&this[_0x4f2e8b(0x134)](_0x27a6b6,_0x205773);}}),this[_0x2a1215(0xf2)](_0xa5a7c6[_0x2a1215(0x13e)][_0x2a1215(0xf1)],_0x2a1215(0x173),()=>{const _0x2b89ed=_0x2a1215;for(const {name:_0x591018,data:{newRange:_0x214ea3}}of _0xa5a7c6[_0x2b89ed(0x13e)][_0x2b89ed(0xf1)][_0x2b89ed(0x10f)][_0x2b89ed(0x129)]()){const {group:_0x5c7b7c,id:_0x56fee1}=_0x39e1df(_0x591018);if(_0x2b89ed(0xd4)!==_0x5c7b7c)continue;const _0x3aeb8f=_0x1fdd79[_0x2b89ed(0xf6)](_0x56fee1),_0x499c4d=this[_0x2b89ed(0x105)](_0x56fee1);_0x3aeb8f&&(!_0x3aeb8f[_0x2b89ed(0x120)]&&_0x214ea3&&_0xa5a7c6[_0x2b89ed(0x124)][_0x2b89ed(0x128)][_0x2b89ed(0x147)](_0x2b89ed(0x14a),()=>{const _0x7165c2=_0x2b89ed,_0x1439fe=_0xa5a7c6[_0x7165c2(0xe7)][_0x7165c2(0xfb)](_0x3e26f9),_0x435a80=_0x1fdd79[_0x7165c2(0xf7)][_0x7165c2(0xfb)](_0x3aeb8f)[_0x7165c2(0x128)];_0x1439fe[_0x7165c2(0x118)](_0x435a80)[_0x7165c2(0x14b)]();},{'priority':_0x2b89ed(0x10d)}),_0x3aeb8f[_0x2b89ed(0x120)]=_0x499c4d||!!_0x214ea3),_0x214ea3||(_0x3187e3[_0x2b89ed(0x160)](_0x591018),_0x12fb69[_0x2b89ed(0xf5)](_0x591018));}for(const _0x3b92dd of _0x3187e3){const {id:_0x457355}=_0x39e1df(_0x3b92dd),_0x45ca5d=_0x1fdd79[_0x2b89ed(0xf6)](_0x457355);if(_0x12fb69[_0x2b89ed(0xf5)](_0x3b92dd),!_0x45ca5d)continue;const _0x5ad580=this[_0x2b89ed(0x105)](_0x457355);_0x5ad580||_0x45ca5d[_0x2b89ed(0x143)]?_0x5ad580||_0x45ca5d[_0x2b89ed(0x114)]||_0x45ca5d[_0x2b89ed(0x161)](new Date()):_0x45ca5d[_0x2b89ed(0xdf)]();}_0x3187e3[_0x2b89ed(0xfe)]();});}[_0x5213ec(0x11a)](_0x603727){const _0x228552=_0x5213ec;_0x603727[_0x228552(0xd9)](_0x2da61e=>{const _0x39ea04=_0x228552;_0x2da61e[_0x39ea04(0x114)]&&this[_0x39ea04(0x136)](_0x2da61e['id']);});}[_0x5213ec(0xde)](_0x428fc3){const _0x3612d7=_0x5213ec,_0x1fb32a=this[_0x3612d7(0xf8)],_0x14f752=this[_0x3612d7(0x142)](_0x428fc3);return _0x411c9c(_0x1fb32a[_0x3612d7(0x124)],_0x14f752);}[_0x5213ec(0xec)](_0x239243){const _0x5b456a=_0x5213ec,_0x2b8006=this[_0x5b456a(0x142)](_0x239243);let _0x104b6e='',_0x510edb=!0x1;for(const _0x160faa of _0x2b8006){const _0x1ec602=_0x160faa[_0x5b456a(0x115)]();for(const _0x4506be of Array[_0x5b456a(0x119)](_0x1ec602[_0x5b456a(0x113)]()))_0x4506be['is'](_0x5b456a(0x168))?(_0x104b6e&&_0x510edb&&(_0x104b6e+='\x20',_0x510edb=!0x1),_0x104b6e+=_0x4506be[_0x5b456a(0x12e)]):_0x510edb=!0x0;_0x510edb=!0x0;}return _0x104b6e[_0x5b456a(0x153)](0x0,0x96);}[_0x5213ec(0x154)](_0x2fc54a,_0x4552e9){const _0x11f9c8=_0x5213ec,_0x539850=this[_0x11f9c8(0xf8)],_0x317efe=_0x539850[_0x11f9c8(0xe7)][_0x11f9c8(0xfb)](_0x36b1eb);let _0x1a2e75=_0x317efe[_0x11f9c8(0xf6)](_0x4552e9);const _0x72d3fc=_0x539850[_0x11f9c8(0xd7)][_0x11f9c8(0xfb)](_0x11f9c8(0x123)),_0x5fcb84=_0x539850[_0x11f9c8(0xe7)][_0x11f9c8(0xfb)](_0x528e96);if(_0x1a2e75&&(_0x1a2e75[_0x11f9c8(0x114)]&&_0x1a2e75[_0x11f9c8(0x161)](null),_0x1a2e75[_0x11f9c8(0x15e)]))return _0x1a2e75;return!this[_0x11f9c8(0x142)](_0x4552e9)[0x0][_0x11f9c8(0x157)]?_0x539850[_0x11f9c8(0x124)][_0x11f9c8(0x128)][_0x11f9c8(0x147)](_0x11f9c8(0x14a),()=>{const _0x4731b7=_0x11f9c8;if(_0x317efe[_0x4731b7(0xf6)](_0x4552e9))return;const _0x109c50=_0x539850[_0x4731b7(0xe7)][_0x4731b7(0xfb)](_0x3e26f9);_0x1a2e75=_0x317efe[_0x4731b7(0x117)]({'channelId':_0x72d3fc,'threadId':_0x4552e9,'target':()=>this[_0x4731b7(0xde)](_0x4552e9),'context':{'type':_0x4731b7(0x10b),'value':this[_0x4731b7(0xec)](_0x4552e9)}});const _0x5079b5=_0x317efe[_0x4731b7(0xf7)][_0x4731b7(0xfb)](_0x1a2e75)[_0x4731b7(0x128)],_0x898898=_0x109c50[_0x4731b7(0x118)](_0x5079b5);_0x898898&&_0x5fcb84[_0x4731b7(0x139)](_0x898898);},{'priority':_0x11f9c8(0x10d)}):_0x317efe[_0x11f9c8(0xef)]({'channelId':_0x72d3fc,'threadId':_0x4552e9})[_0x11f9c8(0x14e)](_0x312160=>{const _0x139953=_0x11f9c8;if(_0x139953(0x11f)!==_0x539850[_0x139953(0x111)]){if(_0x1a2e75=_0x312160,_0x1a2e75&&!_0x1a2e75[_0x139953(0x15e)]){const _0x485df8=_0x1a2e75[_0x139953(0xe1)](()=>this[_0x139953(0xde)](_0x4552e9));_0x5fcb84[_0x139953(0x139)](_0x485df8),_0x1a2e75[_0x139953(0x163)]&&this[_0x139953(0x13c)](_0x4552e9);}else{if(!_0x1a2e75){const _0x636292=this[_0x139953(0x142)](_0x4552e9);_0x539850[_0x139953(0x13e)][_0x139953(0x173)](_0x201d86=>{const _0x202af6=_0x139953;for(const _0x152bc8 of _0x636292)_0x201d86[_0x202af6(0x145)](_0x152bc8);});}}}}),_0x1a2e75;}[_0x5213ec(0x134)](_0x208e52,_0x2cfde7){const _0x1e8016=_0x5213ec,_0x23f10d=this[_0x1e8016(0x154)](_0x208e52,_0x2cfde7);_0x23f10d&&!_0x23f10d[_0x1e8016(0x101)]&&_0x23f10d[_0x1e8016(0xe6)]({'type':_0x1e8016(0x10b),'value':this[_0x1e8016(0xec)](_0x2cfde7)});}[_0x5213ec(0x150)](){const _0x5474b4=_0x5213ec,_0x53ae55=this[_0x5474b4(0xf8)];_0x22638c(_0x53ae55[_0x5474b4(0x13e)],({left:_0x5cfbda,entered:_0x50273b})=>{const _0x188ca2=_0x5474b4;for(const _0x46e189 of _0x5cfbda)if(mt(_0x46e189)){_0x53ae55['ui'][_0x188ca2(0x156)][_0x188ca2(0x12d)](_0x546c7f(_0x53ae55[_0x188ca2(0xfd)],_0x188ca2(0xdc)));break;}for(const _0xa124e5 of _0x50273b)if(mt(_0xa124e5)){_0x53ae55['ui'][_0x188ca2(0x156)][_0x188ca2(0x12d)](_0x546c7f(_0x53ae55[_0x188ca2(0xfd)],_0x188ca2(0xdd),_0x24e8ad(_0x31a67d)));break;}});}}function dt(_0xc54371,_0x3e7f6f){return _0x3e7f6f?_0xc54371+':'+_0x3e7f6f:_0xc54371;}function ht(_0x3d9e6c,_0x4aab81){const _0x50b295=_0x5213ec,_0x30703a=_0x4aab81[_0x50b295(0x16f)],_0x1acb6d=_0x4aab81[_0x50b295(0x106)](_0x3d9e6c[_0x50b295(0x103)]);for(const _0x464df0 of _0x3d9e6c[_0x50b295(0x137)]()){const {type:_0x48231c,item:_0x1b2855,nextPosition:_0x3d8d5d}=_0x464df0;if(_0x50b295(0x10b)===_0x48231c||_0x30703a[_0x50b295(0x167)](_0x1b2855)){const _0x20e9de=_0x4aab81[_0x50b295(0x146)](_0x1b2855);_0x1acb6d[_0x50b295(0x14f)]&&(_0x1acb6d[_0x50b295(0x103)]=_0x20e9de),_0x1acb6d[_0x50b295(0x125)]=_0x3d8d5d;}}return _0x1acb6d;}function mt(_0x47067b){const _0x2bb6a3=_0x5213ec;return _0x2bb6a3(0xd4)===_0x39e1df(_0x47067b[_0x2bb6a3(0x169)])[_0x2bb6a3(0x138)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f0bc2=_0x3e70;(function(_0x760bde,_0x4ad661){const _0x1103dd=_0x3e70,_0x40b23a=_0x760bde();while(!![]){try{const _0x155f9d=parseInt(_0x1103dd(0x2aa))/0x1*(-parseInt(_0x1103dd(0x267))/0x2)+parseInt(_0x1103dd(0x2b3))/0x3*(-parseInt(_0x1103dd(0x241))/0x4)+parseInt(_0x1103dd(0x25e))/0x5*(-parseInt(_0x1103dd(0x256))/0x6)+-parseInt(_0x1103dd(0x26f))/0x7+-parseInt(_0x1103dd(0x26a))/0x8*(-parseInt(_0x1103dd(0x1e9))/0x9)+-parseInt(_0x1103dd(0x242))/0xa+parseInt(_0x1103dd(0x21b))/0xb*(parseInt(_0x1103dd(0x222))/0xc);if(_0x155f9d===_0x4ad661)break;else _0x40b23a['push'](_0x40b23a['shift']());}catch(_0x1c3a83){_0x40b23a['push'](_0x40b23a['shift']());}}}(_0x72f7,0x60bab));import{PendingActions as _0x5b53d4,ContextPlugin as _0x1410f9,Editor as _0x196146}from'ckeditor5/src/core.js';import{Collection as _0x459cde,uid as _0x36a791,CKEditorError as _0x3e7f46,ObservableMixin as _0x4db5d5}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x165f57,hashObject as _0x2ae03d,Users as _0x438037}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x72f7(){const _0x3671ef=['_repository','content','toJSON','_getExternalAuthor','isEditable','setActiveCommentThread','reduce','commentsrepository-remove-comment-internal-error','once','PENDING_ACTION_COMMENT_THREAD','_hasTargetInContent','innerView','licenseKey','commentsrepository-remove-comment-missing-comment-thread','bodyCollectionContainer','has','_isAttached','commentsrepository-add-comment-user-not-exists','highest','253wltJRe','change:authoredAt','_readOnlyChannels','@external','commentsrepository-update-missing-comment','function','_updateComment','isVisible','fetchCommentThread','33dpLeUj','_add','canComment','comment','delete','_remove','reopen','getPermissions','_resolveCommentThread','commentsrepository-invalid-commentid','values','resolveCommentThread','addUser','createElement','_permissions','escape','comments.editorConfig','isExternal','setContext','commentsrepository-invalid-comment-thread-id','comments.copyMarkers','context','destroy','_adapter','external:','locale','commentsrepository-update-comment-thread-internal-error','string','threadId','editorReady','fire','removeCommentThread','6966RYQuzX','body','resolve','_submitCommentThread','isResolvable','_findOptimalIndex','getCommentThreads','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-remove-missing-comment-thread','_threadToController','commentsrepository-remove-comment-thread-internal-error','commentsListView','attachTo','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-update-comment-missing-comment-thread','updateComment','deactivateAll','commentsrepository-missing-target','updateCommentThread','refreshVisibility','commentsrepository-remove-missing-comment','commentsrepository-add-comment-internal-error','type','submit','modifyAll','commentsrepository-update-comment-invalid-content','commentsrepository-fetch-comment-thread','define','isPremiumPlugin','pluginName','_update','commentsrepository-reopen-comment-thread','authoredAt','requires','commentsrepository-update-comment-internal-error','change:activeAnnotations','find','createCommentThreadController','commentsrepository-attach-missing-comment-thread','admin','commentsrepository-duplicated-comment-thread-id','isSubmitted','adapter','comments.maxCommentsWhenCollapsed','commentsrepository-add-comment-thread-internal-error','setAttribute','reopenCommentThread','_attachCommentThread','removeComment','activeCommentThread','22ermSzb','isAttached','commentsrepository-active-not-attached','commentUpdated','getAnnotationForCommentThread','addComment','commentsrepository-get-comment-invalid-id','10880436dkgpzE','author','_threads','change:_readOnlyChannels','comments.maxThreadTotalWeight','from','isReadOnly','CommentsRepository','change:isDirty','_removeCommentThread','setPermissions','init','textContent','resolvedAt','editorDestroyed','getComment','_addCommentThread','authorName','focusableElements','_viewToController','_createCommentThreadView','commentsrepository-reopen-comment-thread-internal-error','add','set','commentsrepository-missing-thread-and-adapter-method','getUser','get','lowest','commentThreadInputView','_reopenCommentThread','write','143236aFLaUt','107370lMdcRc','view','resolvedBy','hasCommentThread','focus','PendingActions','getCommentThread','commentsrepository-invalid-comment-content','comments.CommentThreadView','CommentThreadView','comments','stopListening','attributes','getIndex','then','focusTracker','isActive','map','push','assign','6kDHxqr','error','config','weight','isResolved','_addComment','model','addCommentThread','2541430uPnDlP','removeAttribute','commentsrepository-adapter-already-set','creator','getByInnerView','comments.maxCommentCharsWhenCollapsed','_bindAnnotationToEditors','commentsrepository-active-missing-comment-thread','change:_permissions','5432kUrsYc','isOfficialPlugin','unlinkedAt','5584ohcYFD','activate','commentsrepository-missing-comment-thread','_detachCommentThread','_isSubmitted','2501695uhuCzS','getTime','_updateActiveAnnotation','openNewCommentThread','_unbindEditors','createdAt','submitCommentThread','switchReadOnly','remove','catch','div','isFromAdapter','commentId','isDirty','getCommentThreadForAnnotation','innerHTML','filter','archivedAt','commentsrepository-resolved-comment-thread','_removeActiveAnnotation','length','trim','plugins','channelId','commentsrepository-invalid-comment-authorid','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','listenTo','commentInputView','_removeComment','_createNewComment','CommentView','max','setUnlinkedAt','bind','warn','comments.CommentView','isRemovable','noChannel','update','_updateCommentThread'];_0x72f7=function(){return _0x3671ef;};return _0x72f7();}import{cloneDeep as _0x5adb5b,isEqual as _0x31a6ff,set as _0x21efd8,unset as _0xdaa279}from'es-toolkit/compat';import{CommentThreadController as _0xa538eb}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x54def0}from'./ui/view/commentthreadview.js';import{CommentView as _0x28c955}from'./ui/view/commentview.js';import{getTranslation as _0x19a76a}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';function _0x3e70(_0x35d9cf,_0x578132){const _0x72f793=_0x72f7();return _0x3e70=function(_0x3e700e,_0x4261a6){_0x3e700e=_0x3e700e-0x1dd;let _0x475a14=_0x72f793[_0x3e700e];return _0x475a14;},_0x3e70(_0x35d9cf,_0x578132);}import{AnnotationView as _0x43772d}from'../annotations/view/annotationview.js';import{Annotation as _0x233479}from'../annotations/annotation.js';import{Annotations as _0x4e142a}from'../annotations/annotations.js';const _t=Symbol(_0x3f0bc2(0x294)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x1410f9{[_0x3f0bc2(0x224)];[_0x3f0bc2(0x1f2)];[_0x3f0bc2(0x235)];static get[_0x3f0bc2(0x20a)](){return[_0x4e142a,_0x5b53d4,_0x438037];}static get[_0x3f0bc2(0x206)](){const _0x519f75=_0x3f0bc2;return _0x519f75(0x229);}static get[_0x3f0bc2(0x268)](){return!0x0;}static get[_0x3f0bc2(0x205)](){return!0x0;}constructor(_0x9493c4){const _0x204c4d=_0x3f0bc2;super(_0x9493c4),this[_0x204c4d(0x224)]=new Map(),this[_0x204c4d(0x1f2)]=new Map(),this[_0x204c4d(0x235)]=new Map(),this[_0x204c4d(0x239)](_0x204c4d(0x2ac),new Set()),this[_0x204c4d(0x239)](_0x204c4d(0x2c1),new Map());const _0x2bbcae=this[_0x204c4d(0x1de)][_0x204c4d(0x258)];_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x214),0x2),_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x226),0x1f4),_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x263),0x8c),_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x24a),_0x54def0),_0x2bbcae[_0x204c4d(0x204)](_0x204c4d(0x292),_0x28c955),_0x2bbcae[_0x204c4d(0x23c)](_0x204c4d(0x2c3))||console[_0x204c4d(0x291)](_0x204c4d(0x288));}[_0x3f0bc2(0x22d)](){const _0x30591a=_0x3f0bc2,_0x305253=this[_0x30591a(0x1de)][_0x30591a(0x285)][_0x30591a(0x23c)](_0x4e142a);this[_0x30591a(0x239)](_0x30591a(0x21a),null),this['on'](_0x30591a(0x25d),(_0xc17411,_0x3cc308)=>this[_0x30591a(0x232)](_0x3cc308)),this['on'](_0x30591a(0x275),(_0x1cb3d6,_0x3fc02e)=>this[_0x30591a(0x1ec)](_0x3fc02e)),this['on'](_0x30591a(0x2be),(_0x3c85bd,_0x435ed8)=>this[_0x30591a(0x2bb)](_0x435ed8)),this['on'](_0x30591a(0x2be),(_0x455f59,_0x3dace1)=>this[_0x30591a(0x271)](_0x3dace1),{'priority':_0x30591a(0x23d)}),this['on'](_0x30591a(0x217),(_0x15e3bf,_0x43f079)=>this[_0x30591a(0x23f)](_0x43f079)),this['on'](_0x30591a(0x217),(_0x45deb3,_0x1426ef)=>this[_0x30591a(0x271)](_0x1426ef),{'priority':_0x30591a(0x23d)}),this['on'](_0x30591a(0x1e8),(_0xdac0bd,_0xae4dac)=>this[_0x30591a(0x22b)](_0xae4dac)),this['on'](_0x30591a(0x1fb),(_0x2ef554,_0x3b5060)=>this[_0x30591a(0x296)](_0x3b5060)),this['on'](_0x30591a(0x1fb),(_0x748602,_0x11ca6a)=>this[_0x30591a(0x271)](_0x11ca6a),{'priority':_0x30591a(0x23d)}),this['on'](_0x30591a(0x220),(_0x3f4bd9,_0x401da2)=>this[_0x30591a(0x25b)](_0x401da2)),this['on'](_0x30591a(0x1f8),(_0x11d9cf,_0xf78187)=>this[_0x30591a(0x2b0)](_0xf78187)),this['on'](_0x30591a(0x219),(_0x4c7832,_0x55d6f6)=>this[_0x30591a(0x28b)](_0x55d6f6)),this['on'](_0x30591a(0x220),(_0x3cc729,{threadId:_0x16896b,isFromAdapter:_0x4e2ba2})=>{const _0x47f840=_0x30591a;if(_0x4e2ba2)return;const _0x343ea1=this[_0x47f840(0x248)](_0x16896b),_0x220866=_0x343ea1&&this[_0x47f840(0x1f2)][_0x47f840(0x23c)](_0x343ea1);_0x220866&&_0x220866[_0x47f840(0x243)][_0x47f840(0x1f4)][_0x47f840(0x246)](-0x1);},{'priority':_0x30591a(0x23d)}),this[_0x30591a(0x289)](_0x305253,_0x30591a(0x20c),(_0x1b5167,_0x27b0ad,_0x55e174)=>{const _0xb446bf=_0x30591a,_0x554c15=Array[_0xb446bf(0x227)](_0x55e174)[_0xb446bf(0x253)](_0x5ac169=>this[_0xb446bf(0x235)][_0xb446bf(0x23c)](_0x5ac169[_0xb446bf(0x2a2)]))[_0xb446bf(0x27f)](Boolean)[0x0];this[_0xb446bf(0x21a)]=_0x554c15?_0x554c15[_0xb446bf(0x25c)]:null;});}set[_0x3f0bc2(0x213)](_0x3c6a5e){const _0xbcaf30=_0x3f0bc2;if(this[_0xbcaf30(0x1e0)])throw new _0x3e7f46(_0xbcaf30(0x260));this[_0xbcaf30(0x1e0)]=_0x3c6a5e;}get[_0x3f0bc2(0x213)](){const _0x70390=_0x3f0bc2;return this[_0x70390(0x1e0)];}[_0x3f0bc2(0x25d)]({channelId:_0x572127=_t,threadId:_0x5d74e7=_0x36a791(),comments:_0x1cf5a7=[],unlinkedAt:_0x12a53f=null,resolvedAt:_0x444d8e=null,resolvedBy:_0x5c45ff=null,target:_0x1118b5=null,context:_0x29ffef=null,attributes:_0x595408={},isResolvable:_0x932625=!0x0,isSubmitted:_0x531ab8=!0x1,isFromAdapter:_0x39f0c0=!0x1}={}){const _0x1173f3=_0x3f0bc2;return this[_0x1173f3(0x1e7)](Nt(_0x1173f3(0x25d),_0x572127),{'channelId':_0x572127,'threadId':_0x5d74e7,'comments':_0x1cf5a7,'unlinkedAt':_0x12a53f,'resolvedAt':_0x444d8e,'resolvedBy':_0x5c45ff,'target':_0x1118b5,'context':_0x29ffef,'attributes':_0x595408,'isFromAdapter':_0x39f0c0,'isResolvable':_0x932625,'isSubmitted':_0x531ab8}),this[_0x1173f3(0x248)](_0x5d74e7);}[_0x3f0bc2(0x272)]({channelId:_0x232232=_t,threadId:_0x37b415=_0x36a791(),target:_0x103fe2,context:_0x113b1d=null,isResolvable:_0xeb002d=!0x0}){const _0x46a7a5=_0x3f0bc2;if(this[_0x46a7a5(0x2ac)][_0x46a7a5(0x2a6)](_0x232232)||this[_0x46a7a5(0x2ac)][_0x46a7a5(0x2a6)](void 0x0))return null;if(!_0x103fe2)throw new _0x3e7f46(_0x46a7a5(0x1fa));const _0x1c26b3=this[_0x46a7a5(0x25d)]({'channelId':_0x232232,'threadId':_0x37b415,'target':_0x103fe2,'context':_0x113b1d,'isResolvable':_0xeb002d});if(!_0x1c26b3)return null;const _0x3fb5ec=this[_0x46a7a5(0x1f2)][_0x46a7a5(0x23c)](_0x1c26b3),_0x130dc5=_0x3fb5ec[_0x46a7a5(0x243)][_0x46a7a5(0x23e)][_0x46a7a5(0x28a)],_0x3c2007=this[_0x46a7a5(0x1de)][_0x46a7a5(0x285)][_0x46a7a5(0x23c)](_0x4e142a),_0x39bd6c=_0x3c2007[_0x46a7a5(0x262)](_0x3fb5ec[_0x46a7a5(0x243)]);return _0x3c2007[_0x46a7a5(0x26b)](_0x39bd6c),_0x130dc5[_0x46a7a5(0x29f)](_0x46a7a5(0x1e6),()=>_0x130dc5[_0x46a7a5(0x246)]()),_0x1c26b3;}[_0x3f0bc2(0x245)](_0x2d534f){const _0x5ba29d=_0x3f0bc2;if(_0x5ba29d(0x1e4)!=typeof _0x2d534f)throw new _0x3e7f46(_0x5ba29d(0x2c6));return this[_0x5ba29d(0x224)][_0x5ba29d(0x2a6)](_0x2d534f);}[_0x3f0bc2(0x1fb)]({channelId:_0x7a56fd=_t,threadId:_0x4d42fa,context:_0x245e1d,unlinkedAt:_0x27570d,attributes:_0x34ec58,isFromAdapter:_0x2f6b1b=!0x1}){const _0x4401b6=_0x3f0bc2;return this[_0x4401b6(0x1e7)](Nt(_0x4401b6(0x1fb),_0x7a56fd),{'channelId':_0x7a56fd,'threadId':_0x4d42fa,'context':_0x245e1d,'unlinkedAt':_0x27570d,'attributes':_0x34ec58,'isFromAdapter':_0x2f6b1b}),this[_0x4401b6(0x248)](_0x4d42fa);}[_0x3f0bc2(0x248)](_0x2fb55c){const _0x4ac363=_0x3f0bc2;if(_0x4ac363(0x1e4)!=typeof _0x2fb55c)throw new _0x3e7f46(_0x4ac363(0x2c6));return this[_0x4ac363(0x224)][_0x4ac363(0x23c)](_0x2fb55c);}[_0x3f0bc2(0x2b2)]({channelId:_0x199c51,threadId:_0x407a34}={}){const _0x1518ca=_0x3f0bc2,_0x50b7f0=this[_0x1518ca(0x248)](_0x407a34);if(_0x50b7f0)return Promise[_0x1518ca(0x1eb)](_0x50b7f0);if(!this[_0x1518ca(0x213)])return Promise[_0x1518ca(0x1eb)](void 0x0);if(_0x1518ca(0x2af)!=typeof this[_0x1518ca(0x213)][_0x1518ca(0x248)])throw new _0x3e7f46(_0x1518ca(0x23a),this[_0x1518ca(0x1de)]);return this[_0x1518ca(0x213)][_0x1518ca(0x248)]({'channelId':_0x199c51,'threadId':_0x407a34})[_0x1518ca(0x250)](_0x1b6fa7=>this[_0x1518ca(0x245)](_0x407a34)?this[_0x1518ca(0x248)](_0x407a34):_0x1b6fa7?this[_0x1518ca(0x25d)](Object[_0x1518ca(0x255)]({'isFromAdapter':!0x0,'channelId':_0x199c51},_0x1b6fa7)):void 0x0)[_0x1518ca(0x278)](_0x3b43dc=>{const _0x1f9903=_0x1518ca;throw console[_0x1f9903(0x257)](_0x3b43dc),new _0x3e7f46(_0x1f9903(0x203),this[_0x1f9903(0x1de)]);});}[_0x3f0bc2(0x1ef)]({channelId:_0x2df004,skipNotAttached:_0x520e77=!0x1,skipEmpty:_0x300430=!0x1,toJSON:_0x21c772=!0x1}={}){const _0x452989=_0x3f0bc2,_0x1c8441=[];for(const _0x3ccb13 of this[_0x452989(0x224)][_0x452989(0x2bd)]())_0x2df004&&_0x3ccb13[_0x452989(0x286)]!==_0x2df004||_0x520e77&&!_0x3ccb13[_0x452989(0x21c)]||_0x300430&&0x0===_0x3ccb13[_0x452989(0x283)]||_0x1c8441[_0x452989(0x254)](_0x3ccb13);return _0x21c772?_0x1c8441[_0x452989(0x253)](_0x50d8a5=>_0x50d8a5[_0x452989(0x299)]()):_0x1c8441;}[_0x3f0bc2(0x21f)](_0x319906){const _0x329d04=_0x3f0bc2,_0x4390b0=this[_0x329d04(0x1f2)][_0x329d04(0x23c)](_0x319906);if(!_0x4390b0)return null;return this[_0x329d04(0x1de)][_0x329d04(0x285)][_0x329d04(0x23c)](_0x4e142a)[_0x329d04(0x262)](_0x4390b0[_0x329d04(0x243)])||null;}[_0x3f0bc2(0x27d)](_0x2de434){const _0x2864c5=_0x3f0bc2,_0x547c1c=this[_0x2864c5(0x235)][_0x2864c5(0x23c)](_0x2de434[_0x2864c5(0x2a2)]);return _0x547c1c?_0x547c1c[_0x2864c5(0x25c)]:null;}[_0x3f0bc2(0x29c)](_0x393977){const _0x50cfbe=_0x3f0bc2,_0x1feb80=this[_0x50cfbe(0x1de)][_0x50cfbe(0x285)][_0x50cfbe(0x23c)](_0x4e142a);if(!_0x393977)return void(this[_0x50cfbe(0x21a)]&&_0x1feb80[_0x50cfbe(0x1f9)]());const _0x5ebdea=this[_0x50cfbe(0x248)](_0x393977);if(!_0x5ebdea)throw new _0x3e7f46(_0x50cfbe(0x265),null,{'threadId':_0x393977});if(!this[_0x50cfbe(0x1f2)][_0x50cfbe(0x2a6)](_0x5ebdea))throw new _0x3e7f46(_0x50cfbe(0x21d),null,{'threadId':_0x393977});const _0x1f4fc5=_0x1feb80[_0x50cfbe(0x262)](this[_0x50cfbe(0x1f2)][_0x50cfbe(0x23c)](_0x5ebdea)[_0x50cfbe(0x243)]);_0x1feb80[_0x50cfbe(0x26b)](_0x1f4fc5);}[_0x3f0bc2(0x276)](_0x738316,_0x531d12){const _0x44932a=_0x3f0bc2;_0x738316?this[_0x44932a(0x2ac)][_0x44932a(0x238)](_0x531d12):this[_0x44932a(0x2ac)][_0x44932a(0x2b7)](_0x531d12),this[_0x44932a(0x1e7)](_0x44932a(0x225),_0x44932a(0x2ac),this[_0x44932a(0x2ac)],this[_0x44932a(0x2ac)]);}[_0x3f0bc2(0x228)](_0x327cf7){const _0x1b51ce=_0x3f0bc2;return this[_0x1b51ce(0x2ac)][_0x1b51ce(0x2a6)](_0x327cf7)||this[_0x1b51ce(0x2ac)][_0x1b51ce(0x2a6)](void 0x0);}[_0x3f0bc2(0x20e)](_0x566e99,_0x26d146){return new _0xa538eb(_0x566e99,_0x26d146);}[_0x3f0bc2(0x22c)](_0x19ec6a,_0x180a43=_t){const _0x18077e=_0x3f0bc2;this[_0x18077e(0x2c1)][_0x18077e(0x239)](_0x180a43,_0x19ec6a),this[_0x18077e(0x1e7)](_0x18077e(0x266),_0x18077e(0x2c1),this[_0x18077e(0x2c1)],this[_0x18077e(0x2c1)]);}[_0x3f0bc2(0x2ba)](_0x2d1207=_t){const _0x51f9bf=_0x3f0bc2;return this[_0x51f9bf(0x2c1)][_0x51f9bf(0x2a6)](_0x2d1207)?this[_0x51f9bf(0x2c1)][_0x51f9bf(0x23c)](_0x2d1207):bt;}[_0x3f0bc2(0x232)]({channelId:_0x18d893,threadId:_0x570167,comments:_0x1d355c,unlinkedAt:_0x5ab96f,resolvedAt:_0x27b05a,resolvedBy:_0x49c522,target:_0xdfde80,context:_0x21f136,attributes:_0x45f13c,isFromAdapter:_0x369400,isResolvable:_0x333dd7,isSubmitted:_0x4ac586}){const _0x35ff27=_0x3f0bc2;if(_0x35ff27(0x1e4)!=typeof _0x570167)throw new _0x3e7f46(_0x35ff27(0x2c6),null,{'threadId':_0x570167});if(this[_0x35ff27(0x245)](_0x570167))throw new _0x3e7f46(_0x35ff27(0x211),null,{'threadId':_0x570167});const _0x26faaf=new CommentThread(this,{'channelId':_0x18d893,'id':_0x570167,'context':_0x21f136,'attributes':_0x45f13c,'unlinkedAt':_0x5ab96f,'resolvedAt':_0x27b05a,'resolvedBy':_0x49c522?this[_0x35ff27(0x1de)][_0x35ff27(0x285)][_0x35ff27(0x23c)](_0x438037)[_0x35ff27(0x23b)](_0x49c522):null,'isResolvable':_0x333dd7,'isSubmitted':_0x4ac586||_0x369400});this[_0x35ff27(0x224)][_0x35ff27(0x239)](_0x570167,_0x26faaf);for(const _0x376cf5 of _0x1d355c)_0x26faaf[_0x35ff27(0x2b4)](this[_0x35ff27(0x28c)]({'threadId':_0x570167,..._0x376cf5}));return _0xdfde80&&_0x26faaf[_0x35ff27(0x1f5)](_0xdfde80),_0x369400||!_0x26faaf[_0x35ff27(0x283)]?Promise[_0x35ff27(0x1eb)]():this[_0x35ff27(0x1ec)]({'channelId':_0x18d893,'threadId':_0x570167});}[_0x3f0bc2(0x1ec)]({channelId:_0x194e81,threadId:_0x1c3b9f}){const _0x24fbf7=_0x3f0bc2;if(!this[_0x24fbf7(0x245)](_0x1c3b9f))throw new _0x3e7f46(_0x24fbf7(0x26c),this);const _0x22e80a=this[_0x24fbf7(0x248)](_0x1c3b9f);if(_0x22e80a[_0x24fbf7(0x26e)]=!0x0,!this[_0x24fbf7(0x213)]||_0x24fbf7(0x2af)!=typeof this[_0x24fbf7(0x213)][_0x24fbf7(0x25d)])return Promise[_0x24fbf7(0x1eb)]();const {id:_0x167aa3,comments:_0x2cbba4,resolvedAt:_0x2bb485,resolvedBy:_0x5cbea1,context:_0x175e87,attributes:_0x18b7f}=_0x22e80a,_0x2b0642=this[_0x24fbf7(0x1de)][_0x24fbf7(0x285)][_0x24fbf7(0x23c)](_0x24fbf7(0x247)),_0x1e94a9=_0x2b0642[_0x24fbf7(0x238)](_0x19a76a(this[_0x24fbf7(0x1de)][_0x24fbf7(0x1e2)],_0x24fbf7(0x2a0)));return this[_0x24fbf7(0x213)][_0x24fbf7(0x25d)]({'channelId':_0x194e81,'threadId':_0x167aa3,'comments':_0x2cbba4[_0x24fbf7(0x253)](_0xca0114=>_0xca0114[_0x24fbf7(0x299)]()),'resolvedAt':_0x2bb485,'resolvedBy':_0x5cbea1?_0x5cbea1['id']:_0x5cbea1,'context':_0x175e87,'attributes':_0x18b7f})[_0x24fbf7(0x250)](({comments:_0x37d39e})=>{const _0x44673e=_0x24fbf7;_0x2b0642[_0x44673e(0x277)](_0x1e94a9);for(const _0x2a52fb of _0x37d39e)this[_0x44673e(0x2b0)]({'channelId':_0x194e81,'threadId':_0x1c3b9f,'commentId':_0x2a52fb[_0x44673e(0x27b)],'createdAt':_0x2a52fb[_0x44673e(0x274)],'isFromAdapter':!0x0});})[_0x24fbf7(0x278)](_0x1e095a=>{const _0x14a5a9=_0x24fbf7;throw console[_0x14a5a9(0x257)](_0x1e095a),new _0x3e7f46(_0x14a5a9(0x215),this);});}[_0x3f0bc2(0x218)]({threadId:_0x1284ce,target:_0x22fa8a}){const _0x598d40=_0x3f0bc2,_0x31917f=this[_0x598d40(0x248)](_0x1284ce);if(!_0x31917f)throw new _0x3e7f46(_0x598d40(0x20f),this);const _0x21ad7c=this[_0x598d40(0x1de)][_0x598d40(0x285)][_0x598d40(0x23c)](_0x598d40(0x247)),_0x587fef=this[_0x598d40(0x1de)][_0x598d40(0x285)][_0x598d40(0x23c)](_0x4e142a),_0x49c83e=this[_0x598d40(0x236)](_0x31917f),_0x47c85e=new _0xa538eb(_0x31917f,_0x49c83e);let _0x3e46fd=null;_0x49c83e['on'](_0x598d40(0x22a),(_0x59d802,_0x2a057f,_0xcb3d5a)=>{const _0xc5afb6=_0x598d40;_0xcb3d5a?_0x3e46fd=_0x21ad7c[_0xc5afb6(0x238)](_0x19a76a(this[_0xc5afb6(0x1de)][_0xc5afb6(0x1e2)],_0xc5afb6(0x2a0))):_0x3e46fd&&(_0x21ad7c[_0xc5afb6(0x277)](_0x3e46fd),_0x3e46fd=null);}),this[_0x598d40(0x1f2)][_0x598d40(0x239)](_0x31917f,_0x47c85e),this[_0x598d40(0x235)][_0x598d40(0x239)](_0x49c83e,_0x47c85e);const _0xfb2750=new _0x43772d(this[_0x598d40(0x1de)][_0x598d40(0x1e2)],_0x49c83e);_0xfb2750[_0x598d40(0x290)](_0x598d40(0x283))['to'](_0x49c83e),_0xfb2750[_0x598d40(0x290)](_0x598d40(0x27c))['to'](_0x49c83e,_0x598d40(0x27c),_0x49c83e,_0x598d40(0x283),(_0x4680a3,_0x139b06)=>_0x4680a3||!_0x139b06),_0xfb2750[_0x598d40(0x290)](_0x598d40(0x252))['to'](_0x49c83e),_0xfb2750[_0x598d40(0x1ff)]=_0x598d40(0x2b6);const _0x22328a=new _0x233479({'view':_0xfb2750,'target':_0x22fa8a,'type':_0x598d40(0x2b6),'isVisible':!_0x31917f[_0x598d40(0x280)]&&!!(_0x598d40(0x2af)==typeof _0x22fa8a?_0x22fa8a():_0x22fa8a)});return _0x49c83e['on'](_0x598d40(0x2c2),()=>{const _0x2bfddc=_0x598d40;_0x22328a[_0x2bfddc(0x1e7)](_0x2bfddc(0x2c2));}),this[_0x598d40(0x264)](_0x49c83e,_0x22328a),_0x587fef[_0x598d40(0x238)](_0x22328a),_0x22328a;}[_0x3f0bc2(0x264)](_0x505447,_0x4a122a){const _0x2302c0=_0x3f0bc2;this[_0x2302c0(0x289)](_0x505447,_0x2302c0(0x1e6),(_0x3f4611,_0x47d253)=>{const _0x154329=_0x2302c0,_0x22d2ba=_0x47d253['ui'][_0x154329(0x243)][_0x154329(0x1ea)][_0x154329(0x2a5)];_0x4a122a[_0x154329(0x234)][_0x154329(0x238)](_0x22d2ba),this[_0x154329(0x1de)]instanceof _0x196146&&this[_0x154329(0x1de)]['ui'][_0x154329(0x251)][_0x154329(0x238)](_0x22d2ba);},{'priority':_0x2302c0(0x2a9)}),this[_0x2302c0(0x289)](_0x505447,_0x2302c0(0x230),(_0x15086d,_0x3fd9ff)=>{const _0x3e401c=_0x2302c0,_0x15e248=_0x3fd9ff['ui'][_0x3e401c(0x243)][_0x3e401c(0x1ea)][_0x3e401c(0x2a5)];_0x4a122a[_0x3e401c(0x234)][_0x3e401c(0x2a6)](_0x15e248)&&_0x4a122a[_0x3e401c(0x234)][_0x3e401c(0x277)](_0x15e248),this[_0x3e401c(0x1de)]instanceof _0x196146&&this[_0x3e401c(0x1de)]['ui'][_0x3e401c(0x251)][_0x3e401c(0x277)](_0x15e248);});}[_0x3f0bc2(0x273)](_0xdfebf5){const _0x158c60=_0x3f0bc2;this[_0x158c60(0x24d)](_0xdfebf5,_0x158c60(0x1e6)),this[_0x158c60(0x24d)](_0xdfebf5,_0x158c60(0x230));}[_0x3f0bc2(0x236)](_0x340941){const _0x26a744=_0x3f0bc2,_0x3ef901=this[_0x26a744(0x1de)][_0x26a744(0x285)][_0x26a744(0x23c)](_0x438037),{config:_0x441034,locale:_0x67cef3}=this[_0x26a744(0x1de)],_0x5bb629=_0x165f57(_0x441034[_0x26a744(0x23c)](_0x26a744(0x1e2)),_0x67cef3);return new(0x0,(_0x441034[_0x26a744(0x23c)](_0x26a744(0x24c)))[(_0x26a744(0x24b))])(_0x67cef3,_0x340941,_0x3ef901['me'],{'editorConfig':{..._0x441034[_0x26a744(0x23c)](_0x26a744(0x2c3)),'licenseKey':this[_0x26a744(0x1de)][_0x26a744(0x258)][_0x26a744(0x23c)](_0x26a744(0x2a3))},'copyMarkers':_0x441034[_0x26a744(0x23c)](_0x26a744(0x1dd)),'maxCommentsWhenCollapsed':_0x441034[_0x26a744(0x23c)](_0x26a744(0x214)),'maxThreadTotalWeight':_0x441034[_0x26a744(0x23c)](_0x26a744(0x226)),'maxCommentCharsWhenCollapsed':_0x441034[_0x26a744(0x23c)](_0x26a744(0x263)),'formatDateTime':_0x5bb629,'CommentView':_0x441034[_0x26a744(0x23c)](_0x26a744(0x24c))[_0x26a744(0x28d)]});}[_0x3f0bc2(0x2bb)]({threadId:_0x40b3aa,channelId:_0xd33ba0,resolvedAt:_0x588f17,resolvedBy:_0x388264,isFromAdapter:_0x32690c}){const _0x4bff56=_0x3f0bc2;if(!this[_0x4bff56(0x245)](_0x40b3aa))throw new _0x3e7f46(_0x4bff56(0x26c),null,{'threadId':_0x40b3aa});const _0x3bd66d=this[_0x4bff56(0x248)](_0x40b3aa);if(_0x3bd66d[_0x4bff56(0x25a)])throw new _0x3e7f46(_0x4bff56(0x281),null,{'threadId':_0x40b3aa});const _0xf50e64=this[_0x4bff56(0x1de)][_0x4bff56(0x285)][_0x4bff56(0x23c)](_0x438037);if(_0x3bd66d[_0x4bff56(0x244)]=_0xf50e64[_0x4bff56(0x23b)](_0x388264),_0x3bd66d[_0x4bff56(0x22f)]=_0x588f17,_0x32690c||!this[_0x4bff56(0x213)]||_0x4bff56(0x2af)!=typeof this[_0x4bff56(0x213)][_0x4bff56(0x2be)])return Promise[_0x4bff56(0x1eb)]();const _0x5e250b=this[_0x4bff56(0x1de)][_0x4bff56(0x285)][_0x4bff56(0x23c)](_0x4bff56(0x247)),_0xb863a2=_0x5e250b[_0x4bff56(0x238)](_0x19a76a(this[_0x4bff56(0x1de)][_0x4bff56(0x1e2)],_0x4bff56(0x2a0)));return this[_0x4bff56(0x213)][_0x4bff56(0x2be)]({'channelId':_0xd33ba0,'threadId':_0x40b3aa})[_0x4bff56(0x250)](({resolvedAt:_0x271db7,resolvedBy:_0x167b5f})=>{const _0x599dea=_0x4bff56;_0x5e250b[_0x599dea(0x277)](_0xb863a2),_0x3bd66d[_0x599dea(0x244)]['id']!==_0x167b5f&&(_0x3bd66d[_0x599dea(0x244)]=_0xf50e64[_0x599dea(0x23b)](_0x167b5f)),_0x3bd66d[_0x599dea(0x22f)]=_0x271db7;})[_0x4bff56(0x278)](_0x1de983=>{const _0x2eb282=_0x4bff56;throw console[_0x2eb282(0x257)](_0x1de983),new _0x3e7f46(_0x2eb282(0x1f0),this);});}[_0x3f0bc2(0x23f)]({threadId:_0x542148,channelId:_0x149a88,isFromAdapter:_0x3c371a}){const _0x587dd8=_0x3f0bc2;if(!this[_0x587dd8(0x245)](_0x542148))throw new _0x3e7f46(_0x587dd8(0x26c),null,{'threadId':_0x542148});const _0x149aef=this[_0x587dd8(0x248)](_0x542148);if(!_0x149aef[_0x587dd8(0x25a)])throw new _0x3e7f46(_0x587dd8(0x208),null,{'threadId':_0x542148});if(_0x149aef[_0x587dd8(0x244)]=null,_0x149aef[_0x587dd8(0x22f)]=null,_0x3c371a||!this[_0x587dd8(0x213)]||_0x587dd8(0x2af)!=typeof this[_0x587dd8(0x213)][_0x587dd8(0x217)])return Promise[_0x587dd8(0x1eb)]();const _0x5f19e9=this[_0x587dd8(0x1de)][_0x587dd8(0x285)][_0x587dd8(0x23c)](_0x587dd8(0x247)),_0x297239=_0x5f19e9[_0x587dd8(0x238)](_0x19a76a(this[_0x587dd8(0x1de)][_0x587dd8(0x1e2)],_0x587dd8(0x2a0)));return this[_0x587dd8(0x213)][_0x587dd8(0x217)]({'channelId':_0x149a88,'threadId':_0x542148})[_0x587dd8(0x250)](()=>_0x5f19e9[_0x587dd8(0x277)](_0x297239))[_0x587dd8(0x278)](_0x3d8749=>{const _0x582e74=_0x587dd8;throw console[_0x582e74(0x257)](_0x3d8749),new _0x3e7f46(_0x582e74(0x237),this);});}[_0x3f0bc2(0x22b)]({threadId:_0x2745d2,isFromAdapter:_0xe6cbdf}){const _0x4597b0=_0x3f0bc2,_0x452ebb=this[_0x4597b0(0x248)](_0x2745d2);if(!_0x452ebb)throw new _0x3e7f46(_0x4597b0(0x1f1),this);if(this[_0x4597b0(0x26d)](_0x2745d2),this[_0x4597b0(0x224)][_0x4597b0(0x2b7)](_0x2745d2),!_0x452ebb[_0x4597b0(0x212)]||_0xe6cbdf||!this[_0x4597b0(0x213)]||_0x4597b0(0x2af)!=typeof this[_0x4597b0(0x213)][_0x4597b0(0x1e8)])return Promise[_0x4597b0(0x1eb)]();const _0x6a41b6=this[_0x4597b0(0x1de)][_0x4597b0(0x285)][_0x4597b0(0x23c)](_0x4597b0(0x247)),{channelId:_0x299ade}=_0x452ebb,_0x46b4dd=_0x6a41b6[_0x4597b0(0x238)](_0x19a76a(this[_0x4597b0(0x1de)][_0x4597b0(0x1e2)],_0x4597b0(0x2a0)));return this[_0x4597b0(0x213)][_0x4597b0(0x1e8)]({'channelId':_0x299ade,'threadId':_0x2745d2})[_0x4597b0(0x250)](()=>_0x6a41b6[_0x4597b0(0x277)](_0x46b4dd))[_0x4597b0(0x278)](_0x2fc69c=>{const _0x14c680=_0x4597b0;throw console[_0x14c680(0x257)](_0x2fc69c),new _0x3e7f46(_0x14c680(0x1f3),this);});}[_0x3f0bc2(0x296)]({threadId:_0x158e74,unlinkedAt:_0x3c1836,context:_0xec977b,attributes:_0x46fff4,isFromAdapter:_0x4f04c9}){const _0x23703b=_0x3f0bc2;if(_0x23703b(0x1e4)!=typeof _0x158e74)throw new _0x3e7f46(_0x23703b(0x2c6),null,{'threadId':_0x158e74});if(!this[_0x23703b(0x245)](_0x158e74))throw new _0x3e7f46(_0x23703b(0x26c),null,{'threadId':_0x158e74});const _0x3292b9=this[_0x23703b(0x248)](_0x158e74);let _0x569265=!0x1;if(void 0x0!==_0xec977b&&_0x3292b9[_0x23703b(0x1de)]!==_0xec977b&&(_0x3292b9[_0x23703b(0x1de)]=_0xec977b,_0x569265=!0x0),void 0x0!==_0x3c1836&&_0x3292b9[_0x23703b(0x269)]!==_0x3c1836&&(_0x3292b9[_0x23703b(0x269)]=_0x3c1836,_0x569265=!0x0),_0x46fff4&&!_0x31a6ff(_0x46fff4,_0x3292b9[_0x23703b(0x24e)])&&(_0x3292b9[_0x23703b(0x24e)]=_0x46fff4,_0x569265=!0x0),!_0x569265)return Promise[_0x23703b(0x1eb)]();if(!_0x3292b9[_0x23703b(0x212)]||_0x4f04c9||!this[_0x23703b(0x213)]||_0x23703b(0x2af)!=typeof this[_0x23703b(0x213)][_0x23703b(0x1fb)])return Promise[_0x23703b(0x1eb)]();const _0x1e5e73=this[_0x23703b(0x1de)][_0x23703b(0x285)][_0x23703b(0x23c)](_0x23703b(0x247)),{channelId:_0x1c8ad9}=_0x3292b9,_0x418bcf=_0x1e5e73[_0x23703b(0x238)](_0x19a76a(this[_0x23703b(0x1de)][_0x23703b(0x1e2)],_0x23703b(0x2a0)));return this[_0x23703b(0x213)][_0x23703b(0x1fb)]({'channelId':_0x1c8ad9,'threadId':_0x158e74,'context':_0xec977b,'unlinkedAt':_0x3c1836,'attributes':_0x46fff4})[_0x23703b(0x250)](()=>_0x1e5e73[_0x23703b(0x277)](_0x418bcf))[_0x23703b(0x278)](_0x576e6f=>{const _0x2ea29f=_0x23703b;throw console[_0x2ea29f(0x257)](_0x576e6f),new _0x3e7f46(_0x2ea29f(0x1e3),this);});}[_0x3f0bc2(0x26d)](_0x3b6943){const _0xbbc447=_0x3f0bc2,_0x41efb4=this[_0xbbc447(0x1de)][_0xbbc447(0x285)][_0xbbc447(0x23c)](_0x4e142a),_0x452593=this[_0xbbc447(0x248)](_0x3b6943);if(_0x452593[_0xbbc447(0x2a7)]=!0x1,this[_0xbbc447(0x1f2)][_0xbbc447(0x2a6)](_0x452593)){const _0x1dc807=this[_0xbbc447(0x1f2)][_0xbbc447(0x23c)](_0x452593),_0x394d66=_0x1dc807[_0xbbc447(0x243)],_0x530ac3=_0x41efb4[_0xbbc447(0x262)](_0x394d66);this[_0xbbc447(0x1f2)][_0xbbc447(0x2b7)](_0x452593),this[_0xbbc447(0x235)][_0xbbc447(0x2b7)](_0x394d66),_0x530ac3&&_0x41efb4[_0xbbc447(0x277)](_0x530ac3),_0x1dc807[_0xbbc447(0x1df)](),_0x394d66[_0xbbc447(0x1df)]()[_0xbbc447(0x250)](()=>{const _0x53a831=_0xbbc447;this[_0x53a831(0x273)](_0x394d66);});}}[_0x3f0bc2(0x271)]({threadId:_0x1f9490,resolvedAt:_0x14d57a,unlinkedAt:_0x13fb2f}){const _0x21d66c=_0x3f0bc2,_0x26cdf3=!!_0x14d57a,_0x513978=this[_0x21d66c(0x1de)][_0x21d66c(0x285)][_0x21d66c(0x23c)](_0x4e142a),_0x5b5cf2=this[_0x21d66c(0x248)](_0x1f9490);if(this[_0x21d66c(0x1f2)][_0x21d66c(0x2a6)](_0x5b5cf2)){const _0x37fe61=this[_0x21d66c(0x1f2)][_0x21d66c(0x23c)](_0x5b5cf2)[_0x21d66c(0x243)],_0x343455=_0x513978[_0x21d66c(0x262)](_0x37fe61);_0x343455&&(_0x26cdf3&&_0x513978[_0x21d66c(0x282)](_0x343455),_0x13fb2f?_0x343455[_0x21d66c(0x2b1)]=!0x1:_0x343455[_0x21d66c(0x1fc)]());}}[_0x3f0bc2(0x29a)](_0x4f3e7a){const _0xf9ef6a=_0x3f0bc2,_0x3df77b=this[_0xf9ef6a(0x1de)][_0xf9ef6a(0x285)][_0xf9ef6a(0x23c)](_0x438037),_0x5e48aa=_0x2ae03d(_0xf9ef6a(0x1e1)+_0x4f3e7a),_0x153819=_0x3df77b[_0xf9ef6a(0x23b)](_0x5e48aa);return _0x153819||_0x3df77b[_0xf9ef6a(0x2bf)]({'id':_0x5e48aa,'name':_0x4f3e7a});}[_0x3f0bc2(0x28c)]({threadId:_0x14f5e3,commentId:_0x44c574=_0x36a791(),content:_0x52840f,authorId:_0x228f64,createdAt:_0x2772a7,attributes:_0x92888e}){const _0x29f34b=_0x3f0bc2;if(_0x29f34b(0x1e4)!=typeof _0x44c574)throw new _0x3e7f46(_0x29f34b(0x2bc));if(_0x29f34b(0x1e4)!=typeof _0x228f64)throw new _0x3e7f46(_0x29f34b(0x287));if(_0x29f34b(0x1e4)!=typeof _0x52840f||!_0x52840f[_0x29f34b(0x284)]())throw new _0x3e7f46(_0x29f34b(0x249));const _0x2e8b0d=this[_0x29f34b(0x1de)][_0x29f34b(0x285)][_0x29f34b(0x23c)](_0x438037)[_0x29f34b(0x23b)](_0x228f64);if(!_0x2e8b0d)throw new _0x3e7f46(_0x29f34b(0x2a8),null,{'authorId':_0x228f64});let _0x72888f=null,_0x3cbb68=_0x2772a7;return _0x92888e?.[_0x29f34b(0x2ad)]&&(_0x72888f=this[_0x29f34b(0x29a)](_0x92888e[_0x29f34b(0x2ad)][_0x29f34b(0x233)]),_0x3cbb68=new Date(_0x92888e[_0x29f34b(0x2ad)][_0x29f34b(0x274)])),new Comment(this,{'threadId':_0x14f5e3,'id':_0x44c574,'author':_0x72888f||_0x2e8b0d,'creator':_0x2e8b0d,'content':_0x52840f,'createdAt':_0x2772a7,'authoredAt':_0x3cbb68,'attributes':_0x92888e});}[_0x3f0bc2(0x25b)](_0x88f619){const _0x5681d6=_0x3f0bc2;let {threadId:_0x2735b5,content:_0x3a98e4,attributes:_0x1db5b5,isFromAdapter:_0x3a763d}=_0x88f619;const _0x2ea1e0=this[_0x5681d6(0x248)](_0x88f619[_0x5681d6(0x1e5)]);if(!_0x2ea1e0)throw new _0x3e7f46(_0x5681d6(0x1f6),this);const _0x3427a0=this[_0x5681d6(0x28c)](_0x88f619),{id:_0x49036e}=_0x3427a0;if(_0x2ea1e0[_0x5681d6(0x2b4)](_0x3427a0),_0x3a763d||!this[_0x5681d6(0x213)]||_0x5681d6(0x2af)!=typeof this[_0x5681d6(0x213)][_0x5681d6(0x220)]||!_0x2ea1e0[_0x5681d6(0x212)])return Promise[_0x5681d6(0x1eb)]();const _0x479e99=this[_0x5681d6(0x1de)][_0x5681d6(0x285)][_0x5681d6(0x23c)](_0x5681d6(0x247)),{channelId:_0x321e22}=_0x2ea1e0,_0x2032c5=_0x479e99[_0x5681d6(0x238)](_0x19a76a(this[_0x5681d6(0x1de)][_0x5681d6(0x1e2)],_0x5681d6(0x2a0)));return _0x1db5b5||(_0x1db5b5={}),this[_0x5681d6(0x213)][_0x5681d6(0x220)]({'channelId':_0x321e22,'threadId':_0x2735b5,'commentId':_0x49036e,'content':_0x3a98e4,'attributes':_0x1db5b5})[_0x5681d6(0x250)](_0x51b08d=>{const _0x114eca=_0x5681d6;_0x479e99[_0x114eca(0x277)](_0x2032c5),_0x51b08d&&this[_0x114eca(0x2b0)]({'channelId':_0x321e22,'threadId':_0x2735b5,'commentId':_0x49036e,'createdAt':_0x51b08d[_0x114eca(0x274)],'isFromAdapter':!0x0});})[_0x5681d6(0x278)](_0x3ced90=>{const _0x1c8a3f=_0x5681d6;throw console[_0x1c8a3f(0x257)](_0x3ced90),new _0x3e7f46(_0x1c8a3f(0x1fe),this);});}[_0x3f0bc2(0x2b0)]({threadId:_0x748fa6,commentId:_0x39e774,content:_0x54a193,createdAt:_0x53209f,attributes:_0x30f31,isFromAdapter:_0x1f8795}){const _0x4489bb=_0x3f0bc2;if(void 0x0!==_0x54a193&&(_0x4489bb(0x1e4)!=typeof _0x54a193||!_0x54a193[_0x4489bb(0x284)]()[_0x4489bb(0x283)]))throw new _0x3e7f46(_0x4489bb(0x202));const _0x4e0b49=this[_0x4489bb(0x248)](_0x748fa6),_0xc30d07=_0x4e0b49[_0x4489bb(0x231)](_0x39e774);if(!_0xc30d07)throw new _0x3e7f46(_0x4489bb(0x2ae),this);let _0x3efc71=!0x1;if(_0x54a193&&_0x54a193!==_0xc30d07[_0x4489bb(0x298)]&&(_0xc30d07[_0x4489bb(0x29b)]||_0x1f8795)&&(_0xc30d07[_0x4489bb(0x298)]=_0x54a193,_0x3efc71=!0x0),_0x53209f&&_0x53209f!==_0xc30d07[_0x4489bb(0x274)]&&(_0xc30d07[_0x4489bb(0x274)]=_0x53209f,_0xc30d07[_0x4489bb(0x24e)]&&_0xc30d07[_0x4489bb(0x24e)][_0x4489bb(0x2ad)]||(_0xc30d07[_0x4489bb(0x209)]=_0x53209f),_0x3efc71=!0x0),_0x30f31&&!_0x31a6ff(_0x30f31,_0xc30d07[_0x4489bb(0x24e)])&&(_0xc30d07[_0x4489bb(0x24e)]=_0x30f31,_0x3efc71=!0x0),!_0x3efc71)return Promise[_0x4489bb(0x1eb)]();if(_0x4e0b49[_0x4489bb(0x1e7)](_0x4489bb(0x21e)),_0x1f8795||!this[_0x4489bb(0x213)]||_0x4489bb(0x2af)!=typeof this[_0x4489bb(0x213)][_0x4489bb(0x1f8)])return Promise[_0x4489bb(0x1eb)]();const _0x256288=this[_0x4489bb(0x1de)][_0x4489bb(0x285)][_0x4489bb(0x23c)](_0x4489bb(0x247)),{channelId:_0x1ac422}=this[_0x4489bb(0x248)](_0xc30d07[_0x4489bb(0x1e5)]),_0x5be5f1=_0x256288[_0x4489bb(0x238)](_0x19a76a(this[_0x4489bb(0x1de)][_0x4489bb(0x1e2)],_0x4489bb(0x2a0)));return this[_0x4489bb(0x213)][_0x4489bb(0x1f8)]({'channelId':_0x1ac422,'threadId':_0x748fa6,'commentId':_0x39e774,'content':_0x54a193,'attributes':_0x30f31})[_0x4489bb(0x250)](()=>_0x256288[_0x4489bb(0x277)](_0x5be5f1))[_0x4489bb(0x278)](_0x1013ba=>{const _0x23df61=_0x4489bb;throw console[_0x23df61(0x257)](_0x1013ba),new _0x3e7f46(_0x23df61(0x20b),this);});}[_0x3f0bc2(0x28b)]({threadId:_0x4446c9,commentId:_0x516c88,isFromAdapter:_0x3d67e7}){const _0x54559f=_0x3f0bc2,_0x59eb69=this[_0x54559f(0x248)](_0x4446c9),_0x19c5a2=_0x59eb69[_0x54559f(0x231)](_0x516c88);if(!_0x19c5a2)throw new _0x3e7f46(_0x54559f(0x1fd),this);if(_0x59eb69[_0x54559f(0x2b8)](_0x19c5a2),_0x3d67e7||!this[_0x54559f(0x213)]||_0x54559f(0x2af)!=typeof this[_0x54559f(0x213)][_0x54559f(0x219)])return Promise[_0x54559f(0x1eb)]();const _0x2c7334=this[_0x54559f(0x1de)][_0x54559f(0x285)][_0x54559f(0x23c)](_0x54559f(0x247)),{channelId:_0x50fdbe}=_0x59eb69,_0x54bd2=_0x2c7334[_0x54559f(0x238)](_0x19a76a(this[_0x54559f(0x1de)][_0x54559f(0x1e2)],_0x54559f(0x2a0)));return this[_0x54559f(0x213)][_0x54559f(0x219)]({'channelId':_0x50fdbe,'threadId':_0x4446c9,'commentId':_0x516c88})[_0x54559f(0x250)](()=>_0x2c7334[_0x54559f(0x277)](_0x54bd2))[_0x54559f(0x278)](_0x488940=>{const _0x147109=_0x54559f;throw console[_0x147109(0x257)](_0x488940),new _0x3e7f46(_0x147109(0x29e),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x3d2a1a=_0x45d2;function _0x45d2(_0x40e53b,_0x571cc4){const _0x38567c=_0x3856();return _0x45d2=function(_0x45d2cf,_0x36a055){_0x45d2cf=_0x45d2cf-0x112;let _0x2674e0=_0x38567c[_0x45d2cf];return _0x2674e0;},_0x45d2(_0x40e53b,_0x571cc4);}(function(_0x1fb466,_0x4490d4){const _0x1e198e=_0x45d2,_0x2e5466=_0x1fb466();while(!![]){try{const _0x254235=-parseInt(_0x1e198e(0x1c3))/0x1*(-parseInt(_0x1e198e(0x114))/0x2)+-parseInt(_0x1e198e(0x1cf))/0x3*(-parseInt(_0x1e198e(0x12c))/0x4)+-parseInt(_0x1e198e(0x1f0))/0x5+-parseInt(_0x1e198e(0x13a))/0x6+-parseInt(_0x1e198e(0x1ed))/0x7*(parseInt(_0x1e198e(0x18a))/0x8)+-parseInt(_0x1e198e(0x167))/0x9*(-parseInt(_0x1e198e(0x13f))/0xa)+parseInt(_0x1e198e(0x123))/0xb;if(_0x254235===_0x4490d4)break;else _0x2e5466['push'](_0x2e5466['shift']());}catch(_0x599202){_0x2e5466['push'](_0x2e5466['shift']());}}}(_0x3856,0x6caa5));import{PendingActions as _0x450d30,ContextPlugin as _0x50c679,Editor as _0x1a9c0f}from'ckeditor5/src/core.js';import{Collection as _0x7106a1,uid as _0x454cf9,CKEditorError as _0x6048bc,ObservableMixin as _0x1e61d8}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x135b04,hashObject as _0x25dd00,Users as _0x28b538}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x195078,isEqual as _0xb9322f,set as _0xedddce,unset as _0x30ddc5}from'es-toolkit/compat';function _0x3856(){const _0x54f17b=['activate','commentInputView','_remove','isEditable','requires','map','_adapter','_bindAnnotationToEditors','_updateComment','commentsrepository-invalid-commentid','assign','context','deactivateAll','commentsrepository-add-comment-internal-error','commentsrepository-duplicated-comment-thread-id','_addComment','_findOptimalIndex','commentUpdated','switchReadOnly','comments.CommentThreadView','isOfficialPlugin','commentsrepository-invalid-comment-content','once','isVisible','removeCommentThread','_removeComment','808281TWngvr','focus','commentsrepository-reopen-comment-thread','escape','activeCommentThread','set','createCommentThreadController','lowest','getComment','_createNewComment','setActiveCommentThread','attachTo','licenseKey','catch','removeComment','setUnlinkedAt','threadId','getByInnerView','_resolveCommentThread','getCommentThreadForAnnotation','_updateCommentThread','_removeCommentThread','commentsrepository-add-comment-user-not-exists','commentsrepository-resolve-comment-thread-internal-error','admin','getIndex','weight','authorName','bind','refreshVisibility','_submitCommentThread','then','attributes','define','model','1680UJTvGv','body','commentsrepository-active-missing-comment-thread','isPremiumPlugin','isRemovable','external:','getCommentThread','commentsrepository-invalid-comment-authorid','channelId','commentsListView','unlinkedAt','change:authoredAt','creator','_hasTargetInContent','createdAt','commentId','_getExternalAuthor','pluginName','isDirty','_threads','write','authoredAt','config','commentsrepository-missing-thread-and-adapter-method','_viewToController','_detachCommentThread','commentsrepository-active-not-attached','_threadToController','@external','resolvedBy','change:_readOnlyChannels','adapter','CommentThreadView','commentsrepository-update-missing-comment','isFromAdapter','commentThreadInputView','updateCommentThread','_isAttached','modifyAll','textContent','values','commentsrepository-resolved-comment-thread','reopenCommentThread','find','_repository','remove','comments.editorConfig','error','updateComment','commentsrepository-missing-comment-thread','innerHTML','_reopenCommentThread','createElement','_permissions','comments.copyMarkers','init','PENDING_ACTION_COMMENT_THREAD','6529yBJYPz','addCommentThread','author','listenTo','focusTracker','_isSubmitted','_removeActiveAnnotation','locale','getCommentThreads','delete','submit','change:_permissions','618GXpzhq','_update','comment','reduce','addComment','getPermissions','setAttribute','focusableElements','_addCommentThread','update','PendingActions','bodyCollectionContainer','commentsrepository-reopen-comment-thread-internal-error','fetchCommentThread','getTime','_updateActiveAnnotation','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-invalid-comment-thread-id','commentsrepository-add-comment-thread-internal-error','plugins','change:isDirty','setContext','commentsrepository-fetch-comment-thread','commentsrepository-update-comment-missing-comment-thread','function','filter','getUser','commentsrepository-adapter-already-set','canComment','isReadOnly','13538pyxdLu','addUser','noChannel','2631540zOFoxo','push','commentsrepository-attach-missing-comment-thread','commentsrepository-update-comment-internal-error','from','commentsrepository-add-comment-to-missing-comment-thread','resolvedAt','comments.CommentView','max','comments.maxCommentCharsWhenCollapsed','length','isResolvable','CommentsRepository','52wyYFlo','get','commentsrepository-update-comment-invalid-content','removeAttribute','commentsrepository-remove-missing-comment-thread','commentsrepository-remove-comment-thread-internal-error','isAttached','isExternal','_readOnlyChannels','commentsrepository-remove-missing-comment','stopListening','isSubmitted','comments','_unbindEditors','change:activeAnnotations','7279580AtAAmr','commentsrepository-update-comment-thread-internal-error','_createCommentThreadView','commentsrepository-missing-target','reopen','warn','div','highest','add','10288jqkklp','_attachCommentThread','setPermissions','comments.maxCommentsWhenCollapsed','hasCommentThread','resolve','toJSON','commentsrepository-get-comment-invalid-id','isResolved','comments.maxThreadTotalWeight','isActive','getAnnotationForCommentThread','trim','commentsrepository-remove-comment-internal-error','4213782tVKJbV','string','content','resolveCommentThread','_add','80mNsbMX','has','CommentView','type','innerView','openNewCommentThread','editorReady','fire','commentsrepository-remove-comment-missing-comment-thread','destroy','view','archivedAt','editorDestroyed','submitCommentThread'];_0x3856=function(){return _0x54f17b;};return _0x3856();}import{CommentThreadController as _0x2b01c2}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x12d16c}from'./ui/view/commentthreadview.js';import{CommentView as _0x52c765}from'./ui/view/commentview.js';import{getTranslation as _0x15e051}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x32070f}from'../annotations/view/annotationview.js';import{Annotation as _0x2f587f}from'../annotations/annotation.js';import{Annotations as _0xeeca64}from'../annotations/annotations.js';const _t=Symbol(_0x3d2a1a(0x1ef)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x50c679{[_0x3d2a1a(0x19d)];[_0x3d2a1a(0x1a5)];[_0x3d2a1a(0x1a2)];static get[_0x3d2a1a(0x151)](){return[_0xeeca64,_0x450d30,_0x28b538];}static get[_0x3d2a1a(0x19b)](){const _0xbc170d=_0x3d2a1a;return _0xbc170d(0x113);}static get[_0x3d2a1a(0x161)](){return!0x0;}static get[_0x3d2a1a(0x18d)](){return!0x0;}constructor(_0x5d46ff){const _0x476ea=_0x3d2a1a;super(_0x5d46ff),this[_0x476ea(0x19d)]=new Map(),this[_0x476ea(0x1a5)]=new Map(),this[_0x476ea(0x1a2)]=new Map(),this[_0x476ea(0x16c)](_0x476ea(0x11c),new Set()),this[_0x476ea(0x16c)](_0x476ea(0x1bf),new Map());const _0x47fdd6=this[_0x476ea(0x158)][_0x476ea(0x1a0)];_0x47fdd6[_0x476ea(0x188)](_0x476ea(0x12f),0x2),_0x47fdd6[_0x476ea(0x188)](_0x476ea(0x135),0x1f4),_0x47fdd6[_0x476ea(0x188)](_0x476ea(0x1f9),0x8c),_0x47fdd6[_0x476ea(0x188)](_0x476ea(0x160),_0x12d16c),_0x47fdd6[_0x476ea(0x188)](_0x476ea(0x1f7),_0x52c765),_0x47fdd6[_0x476ea(0x115)](_0x476ea(0x1b8))||console[_0x476ea(0x128)](_0x476ea(0x1df));}[_0x3d2a1a(0x1c1)](){const _0x148e9e=_0x3d2a1a,_0x3e8133=this[_0x148e9e(0x158)][_0x148e9e(0x1e2)][_0x148e9e(0x115)](_0xeeca64);this[_0x148e9e(0x16c)](_0x148e9e(0x16b),null),this['on'](_0x148e9e(0x1c4),(_0x2eabed,_0x4d0e0c)=>this[_0x148e9e(0x1d7)](_0x4d0e0c)),this['on'](_0x148e9e(0x14c),(_0x33a988,_0x54b30c)=>this[_0x148e9e(0x185)](_0x54b30c)),this['on'](_0x148e9e(0x13d),(_0x25bc4c,_0x4e23b0)=>this[_0x148e9e(0x179)](_0x4e23b0)),this['on'](_0x148e9e(0x13d),(_0x13a17b,_0x12beea)=>this[_0x148e9e(0x1de)](_0x12beea),{'priority':_0x148e9e(0x16e)}),this['on'](_0x148e9e(0x1b4),(_0x49baaa,_0x67e94b)=>this[_0x148e9e(0x1bd)](_0x67e94b)),this['on'](_0x148e9e(0x1b4),(_0xcf8e84,_0x20576e)=>this[_0x148e9e(0x1de)](_0x20576e),{'priority':_0x148e9e(0x16e)}),this['on'](_0x148e9e(0x165),(_0x2c2f9a,_0x47958e)=>this[_0x148e9e(0x17c)](_0x47958e)),this['on'](_0x148e9e(0x1ae),(_0x404444,_0x58155e)=>this[_0x148e9e(0x17b)](_0x58155e)),this['on'](_0x148e9e(0x1ae),(_0x28c62e,_0x30fa8b)=>this[_0x148e9e(0x1de)](_0x30fa8b),{'priority':_0x148e9e(0x16e)}),this['on'](_0x148e9e(0x1d3),(_0x40a5ee,_0x62a628)=>this[_0x148e9e(0x15c)](_0x62a628)),this['on'](_0x148e9e(0x1ba),(_0x36315d,_0x4386d5)=>this[_0x148e9e(0x155)](_0x4386d5)),this['on'](_0x148e9e(0x175),(_0x3698e9,_0x4c5a57)=>this[_0x148e9e(0x166)](_0x4c5a57)),this['on'](_0x148e9e(0x1d3),(_0x1ee8ba,{threadId:_0x4927f5,isFromAdapter:_0x58054f})=>{const _0x1d660e=_0x148e9e;if(_0x58054f)return;const _0x47b1fd=this[_0x1d660e(0x190)](_0x4927f5),_0x29b194=_0x47b1fd&&this[_0x1d660e(0x1a5)][_0x1d660e(0x115)](_0x47b1fd);_0x29b194&&_0x29b194[_0x1d660e(0x149)][_0x1d660e(0x193)][_0x1d660e(0x168)](-0x1);},{'priority':_0x148e9e(0x16e)}),this[_0x148e9e(0x1c6)](_0x3e8133,_0x148e9e(0x122),(_0x544a4d,_0x4efdad,_0x2900b6)=>{const _0x30aba4=_0x148e9e,_0x25648b=Array[_0x30aba4(0x1f4)](_0x2900b6)[_0x30aba4(0x152)](_0x107ce5=>this[_0x30aba4(0x1a2)][_0x30aba4(0x115)](_0x107ce5[_0x30aba4(0x143)]))[_0x30aba4(0x1e8)](Boolean)[0x0];this[_0x30aba4(0x16b)]=_0x25648b?_0x25648b[_0x30aba4(0x189)]:null;});}set[_0x3d2a1a(0x1a9)](_0xb7f038){const _0x478a32=_0x3d2a1a;if(this[_0x478a32(0x153)])throw new _0x6048bc(_0x478a32(0x1ea));this[_0x478a32(0x153)]=_0xb7f038;}get[_0x3d2a1a(0x1a9)](){const _0x284d6a=_0x3d2a1a;return this[_0x284d6a(0x153)];}[_0x3d2a1a(0x1c4)]({channelId:_0x15a5ca=_t,threadId:_0x22654e=_0x454cf9(),comments:_0x3cc1a6=[],unlinkedAt:_0x17a163=null,resolvedAt:_0x24609a=null,resolvedBy:_0x3a6a30=null,target:_0x479fe4=null,context:_0x3a7d9c=null,attributes:_0x536eaf={},isResolvable:_0x25b839=!0x0,isSubmitted:_0x31e953=!0x1,isFromAdapter:_0x20f529=!0x1}={}){const _0x3e2f98=_0x3d2a1a;return this[_0x3e2f98(0x146)](Nt(_0x3e2f98(0x1c4),_0x15a5ca),{'channelId':_0x15a5ca,'threadId':_0x22654e,'comments':_0x3cc1a6,'unlinkedAt':_0x17a163,'resolvedAt':_0x24609a,'resolvedBy':_0x3a6a30,'target':_0x479fe4,'context':_0x3a7d9c,'attributes':_0x536eaf,'isFromAdapter':_0x20f529,'isResolvable':_0x25b839,'isSubmitted':_0x31e953}),this[_0x3e2f98(0x190)](_0x22654e);}[_0x3d2a1a(0x144)]({channelId:_0x1caefb=_t,threadId:_0x2cf98a=_0x454cf9(),target:_0x230080,context:_0xd39ba3=null,isResolvable:_0x34adb4=!0x0}){const _0x3a4ca5=_0x3d2a1a;if(this[_0x3a4ca5(0x11c)][_0x3a4ca5(0x140)](_0x1caefb)||this[_0x3a4ca5(0x11c)][_0x3a4ca5(0x140)](void 0x0))return null;if(!_0x230080)throw new _0x6048bc(_0x3a4ca5(0x126));const _0xf467a0=this[_0x3a4ca5(0x1c4)]({'channelId':_0x1caefb,'threadId':_0x2cf98a,'target':_0x230080,'context':_0xd39ba3,'isResolvable':_0x34adb4});if(!_0xf467a0)return null;const _0x51d76b=this[_0x3a4ca5(0x1a5)][_0x3a4ca5(0x115)](_0xf467a0),_0x14d4a9=_0x51d76b[_0x3a4ca5(0x149)][_0x3a4ca5(0x1ad)][_0x3a4ca5(0x14e)],_0x508261=this[_0x3a4ca5(0x158)][_0x3a4ca5(0x1e2)][_0x3a4ca5(0x115)](_0xeeca64),_0x14b312=_0x508261[_0x3a4ca5(0x178)](_0x51d76b[_0x3a4ca5(0x149)]);return _0x508261[_0x3a4ca5(0x14d)](_0x14b312),_0x14d4a9[_0x3a4ca5(0x163)](_0x3a4ca5(0x145),()=>_0x14d4a9[_0x3a4ca5(0x168)]()),_0xf467a0;}[_0x3d2a1a(0x130)](_0x30f58c){const _0x54b9ed=_0x3d2a1a;if(_0x54b9ed(0x13b)!=typeof _0x30f58c)throw new _0x6048bc(_0x54b9ed(0x1e0));return this[_0x54b9ed(0x19d)][_0x54b9ed(0x140)](_0x30f58c);}[_0x3d2a1a(0x1ae)]({channelId:_0x3850e4=_t,threadId:_0x1d9da8,context:_0x1ac420,unlinkedAt:_0x37edbe,attributes:_0x57566c,isFromAdapter:_0xa62161=!0x1}){const _0x3cb8fe=_0x3d2a1a;return this[_0x3cb8fe(0x146)](Nt(_0x3cb8fe(0x1ae),_0x3850e4),{'channelId':_0x3850e4,'threadId':_0x1d9da8,'context':_0x1ac420,'unlinkedAt':_0x37edbe,'attributes':_0x57566c,'isFromAdapter':_0xa62161}),this[_0x3cb8fe(0x190)](_0x1d9da8);}[_0x3d2a1a(0x190)](_0x4d693d){const _0x3337e4=_0x3d2a1a;if(_0x3337e4(0x13b)!=typeof _0x4d693d)throw new _0x6048bc(_0x3337e4(0x1e0));return this[_0x3337e4(0x19d)][_0x3337e4(0x115)](_0x4d693d);}[_0x3d2a1a(0x1dc)]({channelId:_0xffbb3f,threadId:_0xb82287}={}){const _0x14b821=_0x3d2a1a,_0x6b3968=this[_0x14b821(0x190)](_0xb82287);if(_0x6b3968)return Promise[_0x14b821(0x131)](_0x6b3968);if(!this[_0x14b821(0x1a9)])return Promise[_0x14b821(0x131)](void 0x0);if(_0x14b821(0x1e7)!=typeof this[_0x14b821(0x1a9)][_0x14b821(0x190)])throw new _0x6048bc(_0x14b821(0x1a1),this[_0x14b821(0x158)]);return this[_0x14b821(0x1a9)][_0x14b821(0x190)]({'channelId':_0xffbb3f,'threadId':_0xb82287})[_0x14b821(0x186)](_0x19eae0=>this[_0x14b821(0x130)](_0xb82287)?this[_0x14b821(0x190)](_0xb82287):_0x19eae0?this[_0x14b821(0x1c4)](Object[_0x14b821(0x157)]({'isFromAdapter':!0x0,'channelId':_0xffbb3f},_0x19eae0)):void 0x0)[_0x14b821(0x174)](_0x3ffdd1=>{const _0xd8b288=_0x14b821;throw console[_0xd8b288(0x1b9)](_0x3ffdd1),new _0x6048bc(_0xd8b288(0x1e5),this[_0xd8b288(0x158)]);});}[_0x3d2a1a(0x1cb)]({channelId:_0x506832,skipNotAttached:_0x4e4d13=!0x1,skipEmpty:_0x386b9b=!0x1,toJSON:_0x403c41=!0x1}={}){const _0xbadd1a=_0x3d2a1a,_0x5519ce=[];for(const _0x5850ee of this[_0xbadd1a(0x19d)][_0xbadd1a(0x1b2)]())_0x506832&&_0x5850ee[_0xbadd1a(0x192)]!==_0x506832||_0x4e4d13&&!_0x5850ee[_0xbadd1a(0x11a)]||_0x386b9b&&0x0===_0x5850ee[_0xbadd1a(0x1fa)]||_0x5519ce[_0xbadd1a(0x1f1)](_0x5850ee);return _0x403c41?_0x5519ce[_0xbadd1a(0x152)](_0x34a827=>_0x34a827[_0xbadd1a(0x132)]()):_0x5519ce;}[_0x3d2a1a(0x137)](_0x15e0ea){const _0x3e8170=_0x3d2a1a,_0x38cc33=this[_0x3e8170(0x1a5)][_0x3e8170(0x115)](_0x15e0ea);if(!_0x38cc33)return null;return this[_0x3e8170(0x158)][_0x3e8170(0x1e2)][_0x3e8170(0x115)](_0xeeca64)[_0x3e8170(0x178)](_0x38cc33[_0x3e8170(0x149)])||null;}[_0x3d2a1a(0x17a)](_0x46b53f){const _0xcdfca6=_0x3d2a1a,_0x438ff8=this[_0xcdfca6(0x1a2)][_0xcdfca6(0x115)](_0x46b53f[_0xcdfca6(0x143)]);return _0x438ff8?_0x438ff8[_0xcdfca6(0x189)]:null;}[_0x3d2a1a(0x171)](_0x256753){const _0x4c9648=_0x3d2a1a,_0x185ff4=this[_0x4c9648(0x158)][_0x4c9648(0x1e2)][_0x4c9648(0x115)](_0xeeca64);if(!_0x256753)return void(this[_0x4c9648(0x16b)]&&_0x185ff4[_0x4c9648(0x159)]());const _0x40dbb7=this[_0x4c9648(0x190)](_0x256753);if(!_0x40dbb7)throw new _0x6048bc(_0x4c9648(0x18c),null,{'threadId':_0x256753});if(!this[_0x4c9648(0x1a5)][_0x4c9648(0x140)](_0x40dbb7))throw new _0x6048bc(_0x4c9648(0x1a4),null,{'threadId':_0x256753});const _0x504432=_0x185ff4[_0x4c9648(0x178)](this[_0x4c9648(0x1a5)][_0x4c9648(0x115)](_0x40dbb7)[_0x4c9648(0x149)]);_0x185ff4[_0x4c9648(0x14d)](_0x504432);}[_0x3d2a1a(0x15f)](_0x599515,_0x5b49fb){const _0x38d3d8=_0x3d2a1a;_0x599515?this[_0x38d3d8(0x11c)][_0x38d3d8(0x12b)](_0x5b49fb):this[_0x38d3d8(0x11c)][_0x38d3d8(0x1cc)](_0x5b49fb),this[_0x38d3d8(0x146)](_0x38d3d8(0x1a8),_0x38d3d8(0x11c),this[_0x38d3d8(0x11c)],this[_0x38d3d8(0x11c)]);}[_0x3d2a1a(0x1ec)](_0x1ed483){const _0x5d2835=_0x3d2a1a;return this[_0x5d2835(0x11c)][_0x5d2835(0x140)](_0x1ed483)||this[_0x5d2835(0x11c)][_0x5d2835(0x140)](void 0x0);}[_0x3d2a1a(0x16d)](_0x1c6afb,_0x1e9540){return new _0x2b01c2(_0x1c6afb,_0x1e9540);}[_0x3d2a1a(0x12e)](_0x381738,_0x14243c=_t){const _0x4fe8c=_0x3d2a1a;this[_0x4fe8c(0x1bf)][_0x4fe8c(0x16c)](_0x14243c,_0x381738),this[_0x4fe8c(0x146)](_0x4fe8c(0x1ce),_0x4fe8c(0x1bf),this[_0x4fe8c(0x1bf)],this[_0x4fe8c(0x1bf)]);}[_0x3d2a1a(0x1d4)](_0x81adf1=_t){const _0x1a2b1f=_0x3d2a1a;return this[_0x1a2b1f(0x1bf)][_0x1a2b1f(0x140)](_0x81adf1)?this[_0x1a2b1f(0x1bf)][_0x1a2b1f(0x115)](_0x81adf1):bt;}[_0x3d2a1a(0x1d7)]({channelId:_0x760c2d,threadId:_0x5c90fa,comments:_0x35ef04,unlinkedAt:_0x55bf64,resolvedAt:_0x300462,resolvedBy:_0x2d0252,target:_0x2ec392,context:_0x3604bd,attributes:_0x440539,isFromAdapter:_0x5bc735,isResolvable:_0x4f54de,isSubmitted:_0xad75d4}){const _0x1b21f7=_0x3d2a1a;if(_0x1b21f7(0x13b)!=typeof _0x5c90fa)throw new _0x6048bc(_0x1b21f7(0x1e0),null,{'threadId':_0x5c90fa});if(this[_0x1b21f7(0x130)](_0x5c90fa))throw new _0x6048bc(_0x1b21f7(0x15b),null,{'threadId':_0x5c90fa});const _0x4498ef=new CommentThread(this,{'channelId':_0x760c2d,'id':_0x5c90fa,'context':_0x3604bd,'attributes':_0x440539,'unlinkedAt':_0x55bf64,'resolvedAt':_0x300462,'resolvedBy':_0x2d0252?this[_0x1b21f7(0x158)][_0x1b21f7(0x1e2)][_0x1b21f7(0x115)](_0x28b538)[_0x1b21f7(0x1e9)](_0x2d0252):null,'isResolvable':_0x4f54de,'isSubmitted':_0xad75d4||_0x5bc735});this[_0x1b21f7(0x19d)][_0x1b21f7(0x16c)](_0x5c90fa,_0x4498ef);for(const _0x3b7067 of _0x35ef04)_0x4498ef[_0x1b21f7(0x13e)](this[_0x1b21f7(0x170)]({'threadId':_0x5c90fa,..._0x3b7067}));return _0x2ec392&&_0x4498ef[_0x1b21f7(0x172)](_0x2ec392),_0x5bc735||!_0x4498ef[_0x1b21f7(0x1fa)]?Promise[_0x1b21f7(0x131)]():this[_0x1b21f7(0x185)]({'channelId':_0x760c2d,'threadId':_0x5c90fa});}[_0x3d2a1a(0x185)]({channelId:_0xc48ea4,threadId:_0x244960}){const _0x319277=_0x3d2a1a;if(!this[_0x319277(0x130)](_0x244960))throw new _0x6048bc(_0x319277(0x1bb),this);const _0x38e93d=this[_0x319277(0x190)](_0x244960);if(_0x38e93d[_0x319277(0x1c8)]=!0x0,!this[_0x319277(0x1a9)]||_0x319277(0x1e7)!=typeof this[_0x319277(0x1a9)][_0x319277(0x1c4)])return Promise[_0x319277(0x131)]();const {id:_0x91519b,comments:_0x1e6166,resolvedAt:_0x28f960,resolvedBy:_0x139fa7,context:_0x2fe857,attributes:_0x2cb007}=_0x38e93d,_0x235187=this[_0x319277(0x158)][_0x319277(0x1e2)][_0x319277(0x115)](_0x319277(0x1d9)),_0x43ac3e=_0x235187[_0x319277(0x12b)](_0x15e051(this[_0x319277(0x158)][_0x319277(0x1ca)],_0x319277(0x1c2)));return this[_0x319277(0x1a9)][_0x319277(0x1c4)]({'channelId':_0xc48ea4,'threadId':_0x91519b,'comments':_0x1e6166[_0x319277(0x152)](_0x321b30=>_0x321b30[_0x319277(0x132)]()),'resolvedAt':_0x28f960,'resolvedBy':_0x139fa7?_0x139fa7['id']:_0x139fa7,'context':_0x2fe857,'attributes':_0x2cb007})[_0x319277(0x186)](({comments:_0x439acd})=>{const _0x38ac2f=_0x319277;_0x235187[_0x38ac2f(0x1b7)](_0x43ac3e);for(const _0x4f18da of _0x439acd)this[_0x38ac2f(0x155)]({'channelId':_0xc48ea4,'threadId':_0x244960,'commentId':_0x4f18da[_0x38ac2f(0x199)],'createdAt':_0x4f18da[_0x38ac2f(0x198)],'isFromAdapter':!0x0});})[_0x319277(0x174)](_0x473a4f=>{const _0x149a31=_0x319277;throw console[_0x149a31(0x1b9)](_0x473a4f),new _0x6048bc(_0x149a31(0x1e1),this);});}[_0x3d2a1a(0x12d)]({threadId:_0x309a4b,target:_0x17d6b3}){const _0x489559=_0x3d2a1a,_0x367b13=this[_0x489559(0x190)](_0x309a4b);if(!_0x367b13)throw new _0x6048bc(_0x489559(0x1f2),this);const _0x287eba=this[_0x489559(0x158)][_0x489559(0x1e2)][_0x489559(0x115)](_0x489559(0x1d9)),_0x1cc2b6=this[_0x489559(0x158)][_0x489559(0x1e2)][_0x489559(0x115)](_0xeeca64),_0x329610=this[_0x489559(0x125)](_0x367b13),_0x5a3859=new _0x2b01c2(_0x367b13,_0x329610);let _0x8cb446=null;_0x329610['on'](_0x489559(0x1e3),(_0x243f2e,_0x502f4e,_0x15c68b)=>{const _0x84c8b=_0x489559;_0x15c68b?_0x8cb446=_0x287eba[_0x84c8b(0x12b)](_0x15e051(this[_0x84c8b(0x158)][_0x84c8b(0x1ca)],_0x84c8b(0x1c2))):_0x8cb446&&(_0x287eba[_0x84c8b(0x1b7)](_0x8cb446),_0x8cb446=null);}),this[_0x489559(0x1a5)][_0x489559(0x16c)](_0x367b13,_0x5a3859),this[_0x489559(0x1a2)][_0x489559(0x16c)](_0x329610,_0x5a3859);const _0x790c9a=new _0x32070f(this[_0x489559(0x158)][_0x489559(0x1ca)],_0x329610);_0x790c9a[_0x489559(0x183)](_0x489559(0x1fa))['to'](_0x329610),_0x790c9a[_0x489559(0x183)](_0x489559(0x19c))['to'](_0x329610,_0x489559(0x19c),_0x329610,_0x489559(0x1fa),(_0x16874c,_0x34bdc5)=>_0x16874c||!_0x34bdc5),_0x790c9a[_0x489559(0x183)](_0x489559(0x136))['to'](_0x329610),_0x790c9a[_0x489559(0x142)]=_0x489559(0x1d1);const _0xa6a99a=new _0x2f587f({'view':_0x790c9a,'target':_0x17d6b3,'type':_0x489559(0x1d1),'isVisible':!_0x367b13[_0x489559(0x14a)]&&!!(_0x489559(0x1e7)==typeof _0x17d6b3?_0x17d6b3():_0x17d6b3)});return _0x329610['on'](_0x489559(0x16a),()=>{const _0x4d24f4=_0x489559;_0xa6a99a[_0x4d24f4(0x146)](_0x4d24f4(0x16a));}),this[_0x489559(0x154)](_0x329610,_0xa6a99a),_0x1cc2b6[_0x489559(0x12b)](_0xa6a99a),_0xa6a99a;}[_0x3d2a1a(0x154)](_0x26d9d9,_0x151ffd){const _0x114745=_0x3d2a1a;this[_0x114745(0x1c6)](_0x26d9d9,_0x114745(0x145),(_0x288d2d,_0x482da5)=>{const _0x4b3903=_0x114745,_0x5c3eda=_0x482da5['ui'][_0x4b3903(0x149)][_0x4b3903(0x18b)][_0x4b3903(0x1da)];_0x151ffd[_0x4b3903(0x1d6)][_0x4b3903(0x12b)](_0x5c3eda),this[_0x4b3903(0x158)]instanceof _0x1a9c0f&&this[_0x4b3903(0x158)]['ui'][_0x4b3903(0x1c7)][_0x4b3903(0x12b)](_0x5c3eda);},{'priority':_0x114745(0x12a)}),this[_0x114745(0x1c6)](_0x26d9d9,_0x114745(0x14b),(_0x5a12ce,_0x2aad71)=>{const _0x3e534b=_0x114745,_0x4ff520=_0x2aad71['ui'][_0x3e534b(0x149)][_0x3e534b(0x18b)][_0x3e534b(0x1da)];_0x151ffd[_0x3e534b(0x1d6)][_0x3e534b(0x140)](_0x4ff520)&&_0x151ffd[_0x3e534b(0x1d6)][_0x3e534b(0x1b7)](_0x4ff520),this[_0x3e534b(0x158)]instanceof _0x1a9c0f&&this[_0x3e534b(0x158)]['ui'][_0x3e534b(0x1c7)][_0x3e534b(0x1b7)](_0x4ff520);});}[_0x3d2a1a(0x121)](_0xa79a88){const _0x24047c=_0x3d2a1a;this[_0x24047c(0x11e)](_0xa79a88,_0x24047c(0x145)),this[_0x24047c(0x11e)](_0xa79a88,_0x24047c(0x14b));}[_0x3d2a1a(0x125)](_0x321ff7){const _0x3d7448=_0x3d2a1a,_0x5aeb55=this[_0x3d7448(0x158)][_0x3d7448(0x1e2)][_0x3d7448(0x115)](_0x28b538),{config:_0x4f8b69,locale:_0x122996}=this[_0x3d7448(0x158)],_0x55ca55=_0x135b04(_0x4f8b69[_0x3d7448(0x115)](_0x3d7448(0x1ca)),_0x122996);return new(0x0,(_0x4f8b69[_0x3d7448(0x115)](_0x3d7448(0x120)))[(_0x3d7448(0x1aa))])(_0x122996,_0x321ff7,_0x5aeb55['me'],{'editorConfig':{..._0x4f8b69[_0x3d7448(0x115)](_0x3d7448(0x1b8)),'licenseKey':this[_0x3d7448(0x158)][_0x3d7448(0x1a0)][_0x3d7448(0x115)](_0x3d7448(0x173))},'copyMarkers':_0x4f8b69[_0x3d7448(0x115)](_0x3d7448(0x1c0)),'maxCommentsWhenCollapsed':_0x4f8b69[_0x3d7448(0x115)](_0x3d7448(0x12f)),'maxThreadTotalWeight':_0x4f8b69[_0x3d7448(0x115)](_0x3d7448(0x135)),'maxCommentCharsWhenCollapsed':_0x4f8b69[_0x3d7448(0x115)](_0x3d7448(0x1f9)),'formatDateTime':_0x55ca55,'CommentView':_0x4f8b69[_0x3d7448(0x115)](_0x3d7448(0x120))[_0x3d7448(0x141)]});}[_0x3d2a1a(0x179)]({threadId:_0xf3835a,channelId:_0x2a715f,resolvedAt:_0x1460c7,resolvedBy:_0x25d655,isFromAdapter:_0x580658}){const _0x15879b=_0x3d2a1a;if(!this[_0x15879b(0x130)](_0xf3835a))throw new _0x6048bc(_0x15879b(0x1bb),null,{'threadId':_0xf3835a});const _0x1ad8ae=this[_0x15879b(0x190)](_0xf3835a);if(_0x1ad8ae[_0x15879b(0x134)])throw new _0x6048bc(_0x15879b(0x1b3),null,{'threadId':_0xf3835a});const _0x55d6a9=this[_0x15879b(0x158)][_0x15879b(0x1e2)][_0x15879b(0x115)](_0x28b538);if(_0x1ad8ae[_0x15879b(0x1a7)]=_0x55d6a9[_0x15879b(0x1e9)](_0x25d655),_0x1ad8ae[_0x15879b(0x1f6)]=_0x1460c7,_0x580658||!this[_0x15879b(0x1a9)]||_0x15879b(0x1e7)!=typeof this[_0x15879b(0x1a9)][_0x15879b(0x13d)])return Promise[_0x15879b(0x131)]();const _0x52aa1e=this[_0x15879b(0x158)][_0x15879b(0x1e2)][_0x15879b(0x115)](_0x15879b(0x1d9)),_0x41c4f0=_0x52aa1e[_0x15879b(0x12b)](_0x15e051(this[_0x15879b(0x158)][_0x15879b(0x1ca)],_0x15879b(0x1c2)));return this[_0x15879b(0x1a9)][_0x15879b(0x13d)]({'channelId':_0x2a715f,'threadId':_0xf3835a})[_0x15879b(0x186)](({resolvedAt:_0x2d8747,resolvedBy:_0x21a15a})=>{const _0x9a6260=_0x15879b;_0x52aa1e[_0x9a6260(0x1b7)](_0x41c4f0),_0x1ad8ae[_0x9a6260(0x1a7)]['id']!==_0x21a15a&&(_0x1ad8ae[_0x9a6260(0x1a7)]=_0x55d6a9[_0x9a6260(0x1e9)](_0x21a15a)),_0x1ad8ae[_0x9a6260(0x1f6)]=_0x2d8747;})[_0x15879b(0x174)](_0xb40f8f=>{const _0x22c7cb=_0x15879b;throw console[_0x22c7cb(0x1b9)](_0xb40f8f),new _0x6048bc(_0x22c7cb(0x17e),this);});}[_0x3d2a1a(0x1bd)]({threadId:_0x49ce09,channelId:_0x53b357,isFromAdapter:_0x3ea57f}){const _0x7604a5=_0x3d2a1a;if(!this[_0x7604a5(0x130)](_0x49ce09))throw new _0x6048bc(_0x7604a5(0x1bb),null,{'threadId':_0x49ce09});const _0x5486a2=this[_0x7604a5(0x190)](_0x49ce09);if(!_0x5486a2[_0x7604a5(0x134)])throw new _0x6048bc(_0x7604a5(0x169),null,{'threadId':_0x49ce09});if(_0x5486a2[_0x7604a5(0x1a7)]=null,_0x5486a2[_0x7604a5(0x1f6)]=null,_0x3ea57f||!this[_0x7604a5(0x1a9)]||_0x7604a5(0x1e7)!=typeof this[_0x7604a5(0x1a9)][_0x7604a5(0x1b4)])return Promise[_0x7604a5(0x131)]();const _0x3734ed=this[_0x7604a5(0x158)][_0x7604a5(0x1e2)][_0x7604a5(0x115)](_0x7604a5(0x1d9)),_0x4553b1=_0x3734ed[_0x7604a5(0x12b)](_0x15e051(this[_0x7604a5(0x158)][_0x7604a5(0x1ca)],_0x7604a5(0x1c2)));return this[_0x7604a5(0x1a9)][_0x7604a5(0x1b4)]({'channelId':_0x53b357,'threadId':_0x49ce09})[_0x7604a5(0x186)](()=>_0x3734ed[_0x7604a5(0x1b7)](_0x4553b1))[_0x7604a5(0x174)](_0x4ccbc1=>{const _0x7e52ef=_0x7604a5;throw console[_0x7e52ef(0x1b9)](_0x4ccbc1),new _0x6048bc(_0x7e52ef(0x1db),this);});}[_0x3d2a1a(0x17c)]({threadId:_0x12d548,isFromAdapter:_0x554259}){const _0x332b32=_0x3d2a1a,_0x2c51ab=this[_0x332b32(0x190)](_0x12d548);if(!_0x2c51ab)throw new _0x6048bc(_0x332b32(0x118),this);if(this[_0x332b32(0x1a3)](_0x12d548),this[_0x332b32(0x19d)][_0x332b32(0x1cc)](_0x12d548),!_0x2c51ab[_0x332b32(0x11f)]||_0x554259||!this[_0x332b32(0x1a9)]||_0x332b32(0x1e7)!=typeof this[_0x332b32(0x1a9)][_0x332b32(0x165)])return Promise[_0x332b32(0x131)]();const _0x428608=this[_0x332b32(0x158)][_0x332b32(0x1e2)][_0x332b32(0x115)](_0x332b32(0x1d9)),{channelId:_0x44c9ee}=_0x2c51ab,_0x272a06=_0x428608[_0x332b32(0x12b)](_0x15e051(this[_0x332b32(0x158)][_0x332b32(0x1ca)],_0x332b32(0x1c2)));return this[_0x332b32(0x1a9)][_0x332b32(0x165)]({'channelId':_0x44c9ee,'threadId':_0x12d548})[_0x332b32(0x186)](()=>_0x428608[_0x332b32(0x1b7)](_0x272a06))[_0x332b32(0x174)](_0x36308f=>{const _0x53e4c5=_0x332b32;throw console[_0x53e4c5(0x1b9)](_0x36308f),new _0x6048bc(_0x53e4c5(0x119),this);});}[_0x3d2a1a(0x17b)]({threadId:_0x3750fb,unlinkedAt:_0xbb057c,context:_0x30adec,attributes:_0x2ab0d9,isFromAdapter:_0x26f86b}){const _0x3494b2=_0x3d2a1a;if(_0x3494b2(0x13b)!=typeof _0x3750fb)throw new _0x6048bc(_0x3494b2(0x1e0),null,{'threadId':_0x3750fb});if(!this[_0x3494b2(0x130)](_0x3750fb))throw new _0x6048bc(_0x3494b2(0x1bb),null,{'threadId':_0x3750fb});const _0x4ee064=this[_0x3494b2(0x190)](_0x3750fb);let _0x3b6337=!0x1;if(void 0x0!==_0x30adec&&_0x4ee064[_0x3494b2(0x158)]!==_0x30adec&&(_0x4ee064[_0x3494b2(0x158)]=_0x30adec,_0x3b6337=!0x0),void 0x0!==_0xbb057c&&_0x4ee064[_0x3494b2(0x194)]!==_0xbb057c&&(_0x4ee064[_0x3494b2(0x194)]=_0xbb057c,_0x3b6337=!0x0),_0x2ab0d9&&!_0xb9322f(_0x2ab0d9,_0x4ee064[_0x3494b2(0x187)])&&(_0x4ee064[_0x3494b2(0x187)]=_0x2ab0d9,_0x3b6337=!0x0),!_0x3b6337)return Promise[_0x3494b2(0x131)]();if(!_0x4ee064[_0x3494b2(0x11f)]||_0x26f86b||!this[_0x3494b2(0x1a9)]||_0x3494b2(0x1e7)!=typeof this[_0x3494b2(0x1a9)][_0x3494b2(0x1ae)])return Promise[_0x3494b2(0x131)]();const _0x3688ff=this[_0x3494b2(0x158)][_0x3494b2(0x1e2)][_0x3494b2(0x115)](_0x3494b2(0x1d9)),{channelId:_0xfb7a60}=_0x4ee064,_0x17d7ed=_0x3688ff[_0x3494b2(0x12b)](_0x15e051(this[_0x3494b2(0x158)][_0x3494b2(0x1ca)],_0x3494b2(0x1c2)));return this[_0x3494b2(0x1a9)][_0x3494b2(0x1ae)]({'channelId':_0xfb7a60,'threadId':_0x3750fb,'context':_0x30adec,'unlinkedAt':_0xbb057c,'attributes':_0x2ab0d9})[_0x3494b2(0x186)](()=>_0x3688ff[_0x3494b2(0x1b7)](_0x17d7ed))[_0x3494b2(0x174)](_0x59db87=>{const _0x12ee31=_0x3494b2;throw console[_0x12ee31(0x1b9)](_0x59db87),new _0x6048bc(_0x12ee31(0x124),this);});}[_0x3d2a1a(0x1a3)](_0x4be356){const _0x406fb4=_0x3d2a1a,_0x4e0560=this[_0x406fb4(0x158)][_0x406fb4(0x1e2)][_0x406fb4(0x115)](_0xeeca64),_0x3a3c4d=this[_0x406fb4(0x190)](_0x4be356);if(_0x3a3c4d[_0x406fb4(0x1af)]=!0x1,this[_0x406fb4(0x1a5)][_0x406fb4(0x140)](_0x3a3c4d)){const _0x45904a=this[_0x406fb4(0x1a5)][_0x406fb4(0x115)](_0x3a3c4d),_0x12a8b4=_0x45904a[_0x406fb4(0x149)],_0xcd06ae=_0x4e0560[_0x406fb4(0x178)](_0x12a8b4);this[_0x406fb4(0x1a5)][_0x406fb4(0x1cc)](_0x3a3c4d),this[_0x406fb4(0x1a2)][_0x406fb4(0x1cc)](_0x12a8b4),_0xcd06ae&&_0x4e0560[_0x406fb4(0x1b7)](_0xcd06ae),_0x45904a[_0x406fb4(0x148)](),_0x12a8b4[_0x406fb4(0x148)]()[_0x406fb4(0x186)](()=>{const _0x46bb5b=_0x406fb4;this[_0x46bb5b(0x121)](_0x12a8b4);});}}[_0x3d2a1a(0x1de)]({threadId:_0x51a5df,resolvedAt:_0xbbfbc5,unlinkedAt:_0x2fb2bf}){const _0x8e23c=_0x3d2a1a,_0x5f4cc7=!!_0xbbfbc5,_0x4c3cf3=this[_0x8e23c(0x158)][_0x8e23c(0x1e2)][_0x8e23c(0x115)](_0xeeca64),_0xe05f3=this[_0x8e23c(0x190)](_0x51a5df);if(this[_0x8e23c(0x1a5)][_0x8e23c(0x140)](_0xe05f3)){const _0x2e53b5=this[_0x8e23c(0x1a5)][_0x8e23c(0x115)](_0xe05f3)[_0x8e23c(0x149)],_0x5c2a68=_0x4c3cf3[_0x8e23c(0x178)](_0x2e53b5);_0x5c2a68&&(_0x5f4cc7&&_0x4c3cf3[_0x8e23c(0x1c9)](_0x5c2a68),_0x2fb2bf?_0x5c2a68[_0x8e23c(0x164)]=!0x1:_0x5c2a68[_0x8e23c(0x184)]());}}[_0x3d2a1a(0x19a)](_0x5d1136){const _0x44c2ac=_0x3d2a1a,_0x51f375=this[_0x44c2ac(0x158)][_0x44c2ac(0x1e2)][_0x44c2ac(0x115)](_0x28b538),_0x15950f=_0x25dd00(_0x44c2ac(0x18f)+_0x5d1136),_0x8c3e11=_0x51f375[_0x44c2ac(0x1e9)](_0x15950f);return _0x8c3e11||_0x51f375[_0x44c2ac(0x1ee)]({'id':_0x15950f,'name':_0x5d1136});}[_0x3d2a1a(0x170)]({threadId:_0x2bc55c,commentId:_0x1b04fd=_0x454cf9(),content:_0x1ad48c,authorId:_0xf149ae,createdAt:_0x2d10d2,attributes:_0x19b3a6}){const _0x19daa6=_0x3d2a1a;if(_0x19daa6(0x13b)!=typeof _0x1b04fd)throw new _0x6048bc(_0x19daa6(0x156));if(_0x19daa6(0x13b)!=typeof _0xf149ae)throw new _0x6048bc(_0x19daa6(0x191));if(_0x19daa6(0x13b)!=typeof _0x1ad48c||!_0x1ad48c[_0x19daa6(0x138)]())throw new _0x6048bc(_0x19daa6(0x162));const _0x56881f=this[_0x19daa6(0x158)][_0x19daa6(0x1e2)][_0x19daa6(0x115)](_0x28b538)[_0x19daa6(0x1e9)](_0xf149ae);if(!_0x56881f)throw new _0x6048bc(_0x19daa6(0x17d),null,{'authorId':_0xf149ae});let _0x57149c=null,_0x2d432e=_0x2d10d2;return _0x19b3a6?.[_0x19daa6(0x1a6)]&&(_0x57149c=this[_0x19daa6(0x19a)](_0x19b3a6[_0x19daa6(0x1a6)][_0x19daa6(0x182)]),_0x2d432e=new Date(_0x19b3a6[_0x19daa6(0x1a6)][_0x19daa6(0x198)])),new Comment(this,{'threadId':_0x2bc55c,'id':_0x1b04fd,'author':_0x57149c||_0x56881f,'creator':_0x56881f,'content':_0x1ad48c,'createdAt':_0x2d10d2,'authoredAt':_0x2d432e,'attributes':_0x19b3a6});}[_0x3d2a1a(0x15c)](_0x3e1370){const _0x3a8e31=_0x3d2a1a;let {threadId:_0x9ea7e5,content:_0x2f9c6c,attributes:_0x5ee279,isFromAdapter:_0x220b12}=_0x3e1370;const _0x29c50a=this[_0x3a8e31(0x190)](_0x3e1370[_0x3a8e31(0x177)]);if(!_0x29c50a)throw new _0x6048bc(_0x3a8e31(0x1f5),this);const _0xa480c8=this[_0x3a8e31(0x170)](_0x3e1370),{id:_0x4aed52}=_0xa480c8;if(_0x29c50a[_0x3a8e31(0x13e)](_0xa480c8),_0x220b12||!this[_0x3a8e31(0x1a9)]||_0x3a8e31(0x1e7)!=typeof this[_0x3a8e31(0x1a9)][_0x3a8e31(0x1d3)]||!_0x29c50a[_0x3a8e31(0x11f)])return Promise[_0x3a8e31(0x131)]();const _0x485827=this[_0x3a8e31(0x158)][_0x3a8e31(0x1e2)][_0x3a8e31(0x115)](_0x3a8e31(0x1d9)),{channelId:_0x2ecee1}=_0x29c50a,_0x24cafa=_0x485827[_0x3a8e31(0x12b)](_0x15e051(this[_0x3a8e31(0x158)][_0x3a8e31(0x1ca)],_0x3a8e31(0x1c2)));return _0x5ee279||(_0x5ee279={}),this[_0x3a8e31(0x1a9)][_0x3a8e31(0x1d3)]({'channelId':_0x2ecee1,'threadId':_0x9ea7e5,'commentId':_0x4aed52,'content':_0x2f9c6c,'attributes':_0x5ee279})[_0x3a8e31(0x186)](_0x26f25d=>{const _0x1c7ba5=_0x3a8e31;_0x485827[_0x1c7ba5(0x1b7)](_0x24cafa),_0x26f25d&&this[_0x1c7ba5(0x155)]({'channelId':_0x2ecee1,'threadId':_0x9ea7e5,'commentId':_0x4aed52,'createdAt':_0x26f25d[_0x1c7ba5(0x198)],'isFromAdapter':!0x0});})[_0x3a8e31(0x174)](_0x160f57=>{const _0x43ae62=_0x3a8e31;throw console[_0x43ae62(0x1b9)](_0x160f57),new _0x6048bc(_0x43ae62(0x15a),this);});}[_0x3d2a1a(0x155)]({threadId:_0x43793b,commentId:_0x2bfedf,content:_0x35cb5f,createdAt:_0x4092f1,attributes:_0x22d4ee,isFromAdapter:_0x1611d3}){const _0x2c0027=_0x3d2a1a;if(void 0x0!==_0x35cb5f&&(_0x2c0027(0x13b)!=typeof _0x35cb5f||!_0x35cb5f[_0x2c0027(0x138)]()[_0x2c0027(0x1fa)]))throw new _0x6048bc(_0x2c0027(0x116));const _0x3d7473=this[_0x2c0027(0x190)](_0x43793b),_0x1f9d8f=_0x3d7473[_0x2c0027(0x16f)](_0x2bfedf);if(!_0x1f9d8f)throw new _0x6048bc(_0x2c0027(0x1ab),this);let _0x109666=!0x1;if(_0x35cb5f&&_0x35cb5f!==_0x1f9d8f[_0x2c0027(0x13c)]&&(_0x1f9d8f[_0x2c0027(0x150)]||_0x1611d3)&&(_0x1f9d8f[_0x2c0027(0x13c)]=_0x35cb5f,_0x109666=!0x0),_0x4092f1&&_0x4092f1!==_0x1f9d8f[_0x2c0027(0x198)]&&(_0x1f9d8f[_0x2c0027(0x198)]=_0x4092f1,_0x1f9d8f[_0x2c0027(0x187)]&&_0x1f9d8f[_0x2c0027(0x187)][_0x2c0027(0x1a6)]||(_0x1f9d8f[_0x2c0027(0x19f)]=_0x4092f1),_0x109666=!0x0),_0x22d4ee&&!_0xb9322f(_0x22d4ee,_0x1f9d8f[_0x2c0027(0x187)])&&(_0x1f9d8f[_0x2c0027(0x187)]=_0x22d4ee,_0x109666=!0x0),!_0x109666)return Promise[_0x2c0027(0x131)]();if(_0x3d7473[_0x2c0027(0x146)](_0x2c0027(0x15e)),_0x1611d3||!this[_0x2c0027(0x1a9)]||_0x2c0027(0x1e7)!=typeof this[_0x2c0027(0x1a9)][_0x2c0027(0x1ba)])return Promise[_0x2c0027(0x131)]();const _0x3dfb36=this[_0x2c0027(0x158)][_0x2c0027(0x1e2)][_0x2c0027(0x115)](_0x2c0027(0x1d9)),{channelId:_0x808b03}=this[_0x2c0027(0x190)](_0x1f9d8f[_0x2c0027(0x177)]),_0x3cc712=_0x3dfb36[_0x2c0027(0x12b)](_0x15e051(this[_0x2c0027(0x158)][_0x2c0027(0x1ca)],_0x2c0027(0x1c2)));return this[_0x2c0027(0x1a9)][_0x2c0027(0x1ba)]({'channelId':_0x808b03,'threadId':_0x43793b,'commentId':_0x2bfedf,'content':_0x35cb5f,'attributes':_0x22d4ee})[_0x2c0027(0x186)](()=>_0x3dfb36[_0x2c0027(0x1b7)](_0x3cc712))[_0x2c0027(0x174)](_0x475676=>{const _0x3c3b05=_0x2c0027;throw console[_0x3c3b05(0x1b9)](_0x475676),new _0x6048bc(_0x3c3b05(0x1f3),this);});}[_0x3d2a1a(0x166)]({threadId:_0x4ba1e3,commentId:_0x555142,isFromAdapter:_0x5e358d}){const _0x2c8dc6=_0x3d2a1a,_0x5225ca=this[_0x2c8dc6(0x190)](_0x4ba1e3),_0x36082c=_0x5225ca[_0x2c8dc6(0x16f)](_0x555142);if(!_0x36082c)throw new _0x6048bc(_0x2c8dc6(0x11d),this);if(_0x5225ca[_0x2c8dc6(0x14f)](_0x36082c),_0x5e358d||!this[_0x2c8dc6(0x1a9)]||_0x2c8dc6(0x1e7)!=typeof this[_0x2c8dc6(0x1a9)][_0x2c8dc6(0x175)])return Promise[_0x2c8dc6(0x131)]();const _0x71e55c=this[_0x2c8dc6(0x158)][_0x2c8dc6(0x1e2)][_0x2c8dc6(0x115)](_0x2c8dc6(0x1d9)),{channelId:_0x6e3614}=_0x5225ca,_0x283b85=_0x71e55c[_0x2c8dc6(0x12b)](_0x15e051(this[_0x2c8dc6(0x158)][_0x2c8dc6(0x1ca)],_0x2c8dc6(0x1c2)));return this[_0x2c8dc6(0x1a9)][_0x2c8dc6(0x175)]({'channelId':_0x6e3614,'threadId':_0x4ba1e3,'commentId':_0x555142})[_0x2c8dc6(0x186)](()=>_0x71e55c[_0x2c8dc6(0x1b7)](_0x283b85))[_0x2c8dc6(0x174)](_0x13c60d=>{const _0x150283=_0x2c8dc6;throw console[_0x150283(0x1b9)](_0x13c60d),new _0x6048bc(_0x150283(0x139),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1e61d8(){[_0x3d2a1a(0x192)];['id'];[_0x3d2a1a(0x1af)];[_0x3d2a1a(0x1c8)];[_0x3d2a1a(0x120)];[_0x3d2a1a(0x1b6)];constructor(_0x188f90,_0x142354){const _0x172905=_0x3d2a1a;super();const _0x43972a=_0x142354[_0x172905(0x112)];this[_0x172905(0x192)]=_0x142354[_0x172905(0x192)],this['id']=_0x142354['id'],this[_0x172905(0x120)]=new _0x7106a1(),this[_0x172905(0x1b6)]=_0x188f90,this[_0x172905(0x1af)]=!0x1,this[_0x172905(0x1c8)]=_0x142354[_0x172905(0x11f)],this[_0x172905(0x16c)](_0x172905(0x197),!0x0),this[_0x172905(0x183)](_0x172905(0x1ec))['to'](_0x188f90,_0x172905(0x1bf),_0x188f90,_0x172905(0x11c),()=>_0x188f90[_0x172905(0x1ec)](this[_0x172905(0x192)])),this[_0x172905(0x183)](_0x172905(0x18e))['to'](_0x188f90,_0x172905(0x1bf),()=>_0x188f90[_0x172905(0x1d4)](this[_0x172905(0x192)])[_0x172905(0x17f)]),this[_0x172905(0x183)](_0x172905(0x1eb))['to'](_0x188f90,_0x172905(0x1bf),()=>{const _0x37a0bd=_0x172905,_0x353702=_0x188f90[_0x37a0bd(0x1d4)](this[_0x37a0bd(0x192)]);return _0x353702[_0x37a0bd(0x19e)]||_0x353702[_0x37a0bd(0x17f)];}),this[_0x172905(0x183)](_0x172905(0x112))['to'](_0x188f90,_0x172905(0x1bf),()=>_0x43972a&&_0x188f90[_0x172905(0x1d4)](this[_0x172905(0x192)])[_0x172905(0x131)]),this[_0x172905(0x16c)](_0x172905(0x158),_0x142354[_0x172905(0x158)]),this[_0x172905(0x183)](_0x172905(0x14a))['to'](this,_0x172905(0x1f6),this,_0x172905(0x194),(_0x3cfe0d,_0x459b7b)=>_0x3cfe0d?_0x459b7b?_0x3cfe0d<_0x459b7b?_0x3cfe0d:_0x459b7b:_0x3cfe0d:_0x459b7b),this[_0x172905(0x16c)](_0x172905(0x194),_0x142354[_0x172905(0x194)]||null),this[_0x172905(0x16c)](_0x172905(0x1f6),_0x142354[_0x172905(0x1f6)]||null),this[_0x172905(0x16c)](_0x172905(0x1a7),_0x142354[_0x172905(0x1a7)]||null),this[_0x172905(0x183)](_0x172905(0x134))['to'](this,_0x172905(0x1f6),_0x3f434d=>!!_0x3f434d),this[_0x172905(0x16c)](_0x172905(0x187),_0x142354[_0x172905(0x187)]||{});}get[_0x3d2a1a(0x181)](){const _0x558f08=_0x3d2a1a;return Array[_0x558f08(0x1f4)](this[_0x558f08(0x120)])[_0x558f08(0x1d2)]((_0x43b2d9,_0x4bc504)=>_0x43b2d9+_0x4bc504[_0x558f08(0x181)],0x0);}get[_0x3d2a1a(0x1fa)](){const _0x354fa9=_0x3d2a1a;return this[_0x354fa9(0x120)][_0x354fa9(0x1fa)];}get[_0x3d2a1a(0x11a)](){const _0x14f78f=_0x3d2a1a;return this[_0x14f78f(0x1af)];}get[_0x3d2a1a(0x11f)](){const _0x3a2938=_0x3d2a1a;return this[_0x3a2938(0x1c8)];}[_0x3d2a1a(0x1cd)](){const _0xb06d12=_0x3d2a1a,{channelId:_0x444d3f,id:_0x40108e}=this;this[_0xb06d12(0x1b6)][_0xb06d12(0x146)](Nt(_0xb06d12(0x14c),_0x444d3f),{'channelId':_0x444d3f,'threadId':_0x40108e});}[_0x3d2a1a(0x176)](_0x5ad811){const _0x5189dc=_0x3d2a1a;this[_0x5189dc(0x1d0)]({'unlinkedAt':_0x5ad811});}[_0x3d2a1a(0x131)]({resolvedAt:_0x23c65c=new Date(),resolvedBy:_0x126c6c='',isFromAdapter:_0x294a9c=!0x1}={}){const _0x1db0ff=_0x3d2a1a,_0xd118c7=this[_0x1db0ff(0x1b6)][_0x1db0ff(0x158)][_0x1db0ff(0x1e2)][_0x1db0ff(0x115)](_0x28b538)['me'],{channelId:_0x9042f3,id:_0x5e8833}=this;this[_0x1db0ff(0x1b6)][_0x1db0ff(0x146)](Nt(_0x1db0ff(0x13d),_0x9042f3),{'channelId':_0x9042f3,'threadId':_0x5e8833,'resolvedAt':_0x23c65c,'resolvedBy':_0x126c6c||_0xd118c7['id'],'isFromAdapter':_0x294a9c});}[_0x3d2a1a(0x127)]({isFromAdapter:_0x558330=!0x1}={}){const _0x1cfb47=_0x3d2a1a,{channelId:_0x19d928,id:_0x11c8c9}=this;this[_0x1cfb47(0x1b6)][_0x1cfb47(0x146)](Nt(_0x1cfb47(0x1b4),_0x19d928),{'channelId':_0x19d928,'threadId':_0x11c8c9,'isFromAdapter':_0x558330});}[_0x3d2a1a(0x1e4)](_0x5436fb){const _0x52d50a=_0x3d2a1a;this[_0x52d50a(0x158)]||this[_0x52d50a(0x1d0)]({'context':_0x5436fb});}[_0x3d2a1a(0x1d5)](_0x2d85f7,_0x3bd7a2){const _0x234a39=_0x3d2a1a,_0x349bd1=_0x195078(this[_0x234a39(0x187)]);_0xedddce(_0x349bd1,_0x2d85f7,_0x3bd7a2),this[_0x234a39(0x1d0)]({'attributes':_0x349bd1});}[_0x3d2a1a(0x117)](_0x2d4e47){const _0x2df3b3=_0x3d2a1a,_0xa8f96e=_0x195078(this[_0x2df3b3(0x187)]);_0x30ddc5(_0xa8f96e,_0x2d4e47),this[_0x2df3b3(0x1d0)]({'attributes':_0xa8f96e});}[_0x3d2a1a(0x1b7)]({isFromAdapter:_0x1a4127=!0x1}={}){const _0x26a08a=_0x3d2a1a,{channelId:_0x420583,id:_0x37540f}=this;this[_0x26a08a(0x1b6)][_0x26a08a(0x146)](Nt(_0x26a08a(0x165),_0x420583),{'channelId':_0x420583,'threadId':_0x37540f,'isFromAdapter':_0x1a4127});}[_0x3d2a1a(0x172)](_0x1a6b0d){const _0x557458=_0x3d2a1a;return this[_0x557458(0x1b6)][_0x557458(0x12d)]({'threadId':this['id'],'target':_0x1a6b0d});}[_0x3d2a1a(0x1d3)](_0x25926e){const _0x5cca5a=_0x3d2a1a,{channelId:_0x44e1c1,id:_0x386ac6}=this;this[_0x5cca5a(0x1b6)][_0x5cca5a(0x146)](Nt(_0x5cca5a(0x1d3),_0x44e1c1,_0x386ac6),Object[_0x5cca5a(0x157)]({'channelId':_0x44e1c1,'threadId':_0x386ac6},_0x25926e));}[_0x3d2a1a(0x16f)](_0x24f08e){const _0x2ae021=_0x3d2a1a;if(_0x2ae021(0x13b)!=typeof _0x24f08e)throw new _0x6048bc(_0x2ae021(0x133),null,{'commentId':_0x24f08e});return this[_0x2ae021(0x120)][_0x2ae021(0x115)](_0x24f08e);}[_0x3d2a1a(0x132)](){const _0x2e1244=_0x3d2a1a;return{'threadId':this['id'],'context':this[_0x2e1244(0x158)],'unlinkedAt':this[_0x2e1244(0x194)],'resolvedAt':this[_0x2e1244(0x1f6)],'resolvedBy':this[_0x2e1244(0x1a7)]?this[_0x2e1244(0x1a7)]['id']:null,'archivedAt':this[_0x2e1244(0x14a)],'comments':this[_0x2e1244(0x120)][_0x2e1244(0x152)](_0x1f1ba3=>_0x1f1ba3[_0x2e1244(0x132)]()),'attributes':this[_0x2e1244(0x187)]};}[_0x3d2a1a(0x13e)](_0x229195){const _0x2b7cd4=_0x3d2a1a;return this[_0x2b7cd4(0x1c6)](_0x229195,_0x2b7cd4(0x195),()=>{const _0x31b0d4=_0x2b7cd4,_0x129a12=this[_0x31b0d4(0x15d)](_0x229195),_0x5170d0=this[_0x31b0d4(0x120)];_0x129a12-0x1!=_0x5170d0[_0x31b0d4(0x180)](_0x229195)&&_0x129a12+0x1!=_0x5170d0[_0x31b0d4(0x180)](_0x229195)&&(this[_0x31b0d4(0x14f)](_0x229195),this[_0x31b0d4(0x13e)](_0x229195));}),this[_0x2b7cd4(0x120)][_0x2b7cd4(0x12b)](_0x229195,this[_0x2b7cd4(0x15d)](_0x229195));}[_0x3d2a1a(0x1d0)](_0xd5931e){const _0x2092b5=_0x3d2a1a,{channelId:_0xe33fed,id:_0x5bbfad}=this;this[_0x2092b5(0x1b6)][_0x2092b5(0x146)](Nt(_0x2092b5(0x1ae),_0xe33fed),{..._0xd5931e,'channelId':_0xe33fed,'threadId':_0x5bbfad});}[_0x3d2a1a(0x14f)](_0x1d1ea8){const _0x4010cd=_0x3d2a1a;return this[_0x4010cd(0x11e)](_0x1d1ea8),_0x1d1ea8[_0x4010cd(0x148)](),this[_0x4010cd(0x120)][_0x4010cd(0x1b7)](_0x1d1ea8);}[_0x3d2a1a(0x15d)](_0x360a0d){const _0x4df8f1=_0x3d2a1a,_0x386b90=this[_0x4df8f1(0x120)][_0x4df8f1(0x1b5)](_0x5897a5=>new Date(_0x5897a5[_0x4df8f1(0x19f)])[_0x4df8f1(0x1dd)]()>new Date(_0x360a0d[_0x4df8f1(0x19f)])[_0x4df8f1(0x1dd)]());return _0x386b90?this[_0x4df8f1(0x120)][_0x4df8f1(0x180)](_0x386b90):this[_0x4df8f1(0x1fa)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x1e61d8(){['id'];[_0x3d2a1a(0x177)];[_0x3d2a1a(0x1c5)];[_0x3d2a1a(0x196)];[_0x3d2a1a(0x11b)];[_0x3d2a1a(0x198)];[_0x3d2a1a(0x1b6)];constructor(_0x52b50f,_0x3b09a9){const _0x54a7c9=_0x3d2a1a;super();const _0x131492=_0x52b50f[_0x54a7c9(0x158)][_0x54a7c9(0x1e2)][_0x54a7c9(0x115)](_0x28b538)['me'],_0x54d96c=_0x52b50f[_0x54a7c9(0x190)](_0x3b09a9[_0x54a7c9(0x177)]),_0x1c137d=0x0===_0x54d96c[_0x54a7c9(0x120)][_0x54a7c9(0x1fa)],_0x46d10b=_0x131492===_0x3b09a9[_0x54a7c9(0x1c5)];this['id']=_0x3b09a9['id'],this[_0x54a7c9(0x177)]=_0x3b09a9[_0x54a7c9(0x177)],this[_0x54a7c9(0x1c5)]=_0x3b09a9[_0x54a7c9(0x1c5)],this[_0x54a7c9(0x196)]=_0x3b09a9[_0x54a7c9(0x196)],this[_0x54a7c9(0x11b)]=Boolean(_0x3b09a9[_0x54a7c9(0x187)]&&_0x3b09a9[_0x54a7c9(0x187)][_0x54a7c9(0x1a6)]),this[_0x54a7c9(0x16c)](_0x54a7c9(0x13c),_0x3b09a9[_0x54a7c9(0x13c)]),this[_0x54a7c9(0x198)]=_0x3b09a9[_0x54a7c9(0x198)]||new Date(),this[_0x54a7c9(0x16c)](_0x54a7c9(0x19f),_0x3b09a9[_0x54a7c9(0x19f)]||new Date()),this[_0x54a7c9(0x183)](_0x54a7c9(0x1f6))['to'](_0x54d96c,_0x54a7c9(0x1f6)),this[_0x54a7c9(0x16c)](_0x54a7c9(0x187),_0x3b09a9[_0x54a7c9(0x187)]||{}),this[_0x54a7c9(0x183)](_0x54a7c9(0x150))['to'](_0x52b50f,_0x54a7c9(0x1bf),()=>{const _0x3b44c1=_0x54a7c9,_0xdd2e0c=_0x52b50f[_0x3b44c1(0x1d4)](_0x54d96c[_0x3b44c1(0x192)])[_0x3b44c1(0x19e)],_0x31e886=_0x52b50f[_0x3b44c1(0x1d4)](_0x54d96c[_0x3b44c1(0x192)])[_0x3b44c1(0x1b0)];return _0x46d10b&&_0xdd2e0c||!_0x46d10b&&_0x31e886;}),this[_0x54a7c9(0x183)](_0x54a7c9(0x18e))['to'](_0x54d96c,_0x54a7c9(0x18e),_0x52b50f,_0x54a7c9(0x1bf),_0x55f4ab=>{const _0x55ffe6=_0x54a7c9,_0x30780f=_0x52b50f[_0x55ffe6(0x1d4)](_0x54d96c[_0x55ffe6(0x192)])[_0x55ffe6(0x19e)],_0x48fd9b=_0x52b50f[_0x55ffe6(0x1d4)](_0x54d96c[_0x55ffe6(0x192)])[_0x55ffe6(0x1b0)];return _0x46d10b&&_0x30780f||_0x55f4ab&&_0x1c137d||!_0x46d10b&&_0x48fd9b&&!_0x1c137d;}),this[_0x54a7c9(0x183)](_0x54a7c9(0x1ec))['to'](_0x54d96c,_0x54a7c9(0x1ec)),this[_0x54a7c9(0x1b6)]=_0x52b50f;}get[_0x3d2a1a(0x181)](){const _0x5cbd2d=_0x3d2a1a;return Math[_0x5cbd2d(0x1f8)](function(_0x223dac){const _0x3c9a14=_0x5cbd2d,_0x5e1eab=document[_0x3c9a14(0x1be)](_0x3c9a14(0x129));return _0x5e1eab[_0x3c9a14(0x1bc)]=_0x223dac,_0x5e1eab[_0x3c9a14(0x1b1)][_0x3c9a14(0x1fa)];}(this[_0x5cbd2d(0x13c)]),0xc8);}[_0x3d2a1a(0x1d8)](_0xf8442f){const _0x4b3e12=_0x3d2a1a,{threadId:_0x23a213,id:_0x13a162}=this;if(!this[_0x4b3e12(0x1b6)][_0x4b3e12(0x130)](_0x23a213))throw new _0x6048bc(_0x4b3e12(0x1e6),this);const {channelId:_0x51c93a}=this[_0x4b3e12(0x1b6)][_0x4b3e12(0x190)](_0x23a213);this[_0x4b3e12(0x1b6)][_0x4b3e12(0x146)](Nt(_0x4b3e12(0x1ba),_0x51c93a,_0x23a213),{'channelId':_0x51c93a,'threadId':_0x23a213,'commentId':_0x13a162,..._0xf8442f});}[_0x3d2a1a(0x1d5)](_0x1cce87,_0x38fdf7){const _0x523f76=_0x3d2a1a,_0x42e60f=_0x195078(this[_0x523f76(0x187)]);_0xedddce(_0x42e60f,_0x1cce87,_0x38fdf7),this[_0x523f76(0x1d8)]({'attributes':_0x42e60f});}[_0x3d2a1a(0x117)](_0x594af){const _0x4158a1=_0x3d2a1a,_0x1c82f4=_0x195078(this[_0x4158a1(0x187)]);_0x30ddc5(_0x1c82f4,_0x594af),this[_0x4158a1(0x1d8)]({'attributes':_0x1c82f4});}[_0x3d2a1a(0x1b7)](_0x22bdcc={}){const _0x2d5901=_0x3d2a1a;if(!_0x22bdcc[_0x2d5901(0x1ac)]&&!this[_0x2d5901(0x18e)])return;const {threadId:_0x5e86cb,id:_0x2a94ab}=this;if(!this[_0x2d5901(0x1b6)][_0x2d5901(0x130)](_0x5e86cb))throw new _0x6048bc(_0x2d5901(0x147),this);const {channelId:_0x16502b}=this[_0x2d5901(0x1b6)][_0x2d5901(0x190)](_0x5e86cb);this[_0x2d5901(0x1b6)][_0x2d5901(0x146)](Nt(_0x2d5901(0x175),_0x16502b,_0x5e86cb),{'channelId':_0x16502b,'threadId':_0x5e86cb,'commentId':_0x2a94ab,..._0x22bdcc});}[_0x3d2a1a(0x132)](){const _0x2ab79b=_0x3d2a1a;return{'commentId':this['id'],'content':this[_0x2ab79b(0x13c)],'createdAt':this[_0x2ab79b(0x198)],'authorId':this[_0x2ab79b(0x196)]['id'],'attributes':this[_0x2ab79b(0x187)]};}[_0x3d2a1a(0x148)](){const _0x151415=_0x3d2a1a;this[_0x151415(0x11e)]();}}function Nt(_0xf37186,..._0x5bd628){for(const _0xad5e53 of _0x5bd628)void 0x0!==_0xad5e53&&(_0xf37186+=':'+String(_0xad5e53));return _0xf37186;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x720f5e=_0xef41;function _0x4529(){const _0x43540a=['_createUIButton','commentsLicenseKeyDomainLimit','commentsLicenseKeyTrialLimit','length','583588QDlLtg','change:activeAnnotations','execute','activeMarker','addComment','5476uEFKMO','commands','editing','hasMarkerForId','commentsLicenseKeyEvaluationLimit','CommentsUI','domainLimit','config','Comment','isFocused','has','expired','highest','from','push','plugins','742149CyjEwR','addSourceCollector','editor','commentsLicenseKeyUsageLimit','low','init','removeCommentThread','add','addCommentThread','commentsLicenseKeyExpired','focusTracker','set','CommentThreadInputView','commentsLicenseKeyInvalid','requires','565610xVMHfl','hasContent','46vGWHAo','get','_showLicenseError','hasCommentThread','listenTo','focus','isPremiumPlugin','innerView','trialLimit','comment','commentsLicenseKeyValid','1310364PXqTeL','getRange','248SvVZIo','map','_viewToController','isOfficialPlugin','evaluationLimit','getCommentThread','destroy','comment:','find','getAllMarkersForId','bind','model','7161ioqjaB','menuBar:comment','Comments','invalid','6405498HBVLwp','CommentsListView','pluginName','isEnabled','stop','tooltip','componentFactory','licenseKey','commentsLicenseKeyNotAllowed','featureNotAllowed','view','locale','_threadToController','_licenseKeyCheckInterval','usageLimit'];_0x4529=function(){return _0x43540a;};return _0x4529();}(function(_0x12468e,_0x1516b1){const _0x50e1d3=_0xef41,_0x3b16d8=_0x12468e();while(!![]){try{const _0xce3259=-parseInt(_0x50e1d3(0x9f))/0x1*(-parseInt(_0x50e1d3(0xc0))/0x2)+-parseInt(_0x50e1d3(0xaf))/0x3+-parseInt(_0x50e1d3(0x9a))/0x4+-parseInt(_0x50e1d3(0xbe))/0x5+-parseInt(_0x50e1d3(0xcb))/0x6+-parseInt(_0x50e1d3(0xd9))/0x7*(-parseInt(_0x50e1d3(0xcd))/0x8)+parseInt(_0x50e1d3(0xdd))/0x9;if(_0xce3259===_0x1516b1)break;else _0x3b16d8['push'](_0x3b16d8['shift']());}catch(_0x438311){_0x3b16d8['push'](_0x3b16d8['shift']());}}}(_0x4529,0x234cb));import{Plugin as _0xbc3195}from'ckeditor5/src/core.js';import{IconAddComment as _0x1ee316}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x55390c}from'./commentsrepository.js';import{CommentsEditing as _0x796708}from'./commentsediting.js';import{EditorAnnotations as _0x2fbf3c}from'../annotations/editorannotations.js';import{ButtonView as _0x2536f2,MenuBarMenuListItemButtonView as _0x421040}from'ckeditor5/src/ui.js';import{Annotations as _0xc97012}from'../annotations/annotations.js';import{CommentsListView as _0x5381c6}from'./ui/view/commentslistview.js';function _0xef41(_0x550e49,_0x942da5){const _0x452979=_0x4529();return _0xef41=function(_0xef4156,_0x425ab0){_0xef4156=_0xef4156-0x8e;let _0x27fc8c=_0x452979[_0xef4156];return _0x27fc8c;},_0xef41(_0x550e49,_0x942da5);}import{CommentThreadInputView as _0x14cd30}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x46da4e}from'../utils/common-translations.js';export class CommentsUI extends _0xbc3195{[_0x720f5e(0x8e)];[_0x720f5e(0x94)];static get[_0x720f5e(0xdf)](){const _0x30073a=_0x720f5e;return _0x30073a(0xa4);}static get[_0x720f5e(0xd0)](){return!0x0;}static get[_0x720f5e(0xc6)](){return!0x0;}static get[_0x720f5e(0xbd)](){return[_0x55390c,_0x796708,_0x2fbf3c,_0xc97012];}get[_0x720f5e(0xde)](){return _0x5381c6;}get[_0x720f5e(0xbb)](){return _0x14cd30;}[_0x720f5e(0xb4)](){const _0x4902a6=_0x720f5e,_0x662bf1=this[_0x4902a6(0xb1)],_0x374fda=_0x662bf1[_0x4902a6(0xae)][_0x4902a6(0xc1)](_0x55390c),_0x3c0381=_0x662bf1[_0x4902a6(0xae)][_0x4902a6(0xc1)](_0x796708),_0x3837e9=_0x662bf1[_0x4902a6(0xae)][_0x4902a6(0xc1)](_0xc97012),_0x5f3234=_0x662bf1[_0x4902a6(0xae)][_0x4902a6(0xc1)](_0x2fbf3c);_0x662bf1['ui'][_0x4902a6(0xe3)][_0x4902a6(0xb6)](_0x4902a6(0xc9),()=>{const _0xfaf1c8=_0x4902a6,_0x49af54=this[_0xfaf1c8(0x96)](_0x2536f2);return _0x49af54[_0xfaf1c8(0xe2)]=!0x0,_0x49af54;}),_0x662bf1['ui'][_0x4902a6(0xe3)][_0x4902a6(0xb6)](_0x4902a6(0xda),()=>this[_0x4902a6(0x96)](_0x421040)),_0x5f3234[_0x4902a6(0xb0)](()=>{const _0x3175fe=_0x4902a6,_0x13f5bd=[];for(const [_0x41afa2,_0x4302b4]of _0x374fda[_0x3175fe(0x93)]){const _0x59998c=_0x3c0381[_0x3175fe(0xd6)](_0x41afa2['id']),_0x46e51c=_0x59998c[_0x3175fe(0xce)](_0x1ad0a9=>_0x1ad0a9[_0x3175fe(0xcc)]());_0x59998c[_0x3175fe(0x99)]>0x0&&_0x13f5bd[_0x3175fe(0xad)]([_0x4302b4[_0x3175fe(0x91)],_0x46e51c]);}return _0x13f5bd;}),this[_0x4902a6(0xc4)](_0x3837e9,_0x4902a6(0x9b),(_0x1a8eb0,_0x1285de,_0x53fc2a)=>{const _0x123f42=_0x4902a6,_0x2fe9e8=Array[_0x123f42(0xac)](_0x53fc2a)[_0x123f42(0xce)](_0x1646ca=>_0x1646ca[_0x123f42(0xc7)])[_0x123f42(0xd5)](_0x22a15e=>_0x374fda[_0x123f42(0xcf)][_0x123f42(0xa9)](_0x22a15e));if(!_0x2fe9e8)return void(_0x3c0381[_0x123f42(0x9d)]=null);const _0x73be85=_0x374fda[_0x123f42(0xcf)][_0x123f42(0xc1)](_0x2fe9e8)[_0x123f42(0xd8)]['id'],_0x3a07a4=_0x123f42(0xd4)+_0x73be85;_0x73be85&&_0x3c0381[_0x123f42(0xa2)](_0x73be85)?_0x3c0381[_0x123f42(0x9d)]=_0x3a07a4:_0x3c0381[_0x123f42(0x9d)]&&(_0x3c0381[_0x123f42(0x9d)]=null);}),this[_0x4902a6(0xc4)](_0x374fda,_0x4902a6(0xb5),(_0x7dc8c,{threadId:_0x16aeec,isFromAdapter:_0x1ef94e})=>{const _0xceb2bf=_0x4902a6;!_0x1ef94e&&_0x662bf1['ui'][_0xceb2bf(0xb9)][_0xceb2bf(0xa8)]&&_0x3c0381[_0xceb2bf(0xa2)](_0x16aeec)&&_0x662bf1[_0xceb2bf(0xa1)][_0xceb2bf(0x91)][_0xceb2bf(0xc5)]();},{'priority':_0x4902a6(0xab)}),this[_0x4902a6(0xc4)](_0x374fda,_0x4902a6(0x9e),(_0x55a05e,{threadId:_0x4a132b,isFromAdapter:_0x33f5d0})=>{const _0x556efc=_0x4902a6;if(_0x33f5d0||!_0x3c0381[_0x556efc(0xa2)](_0x4a132b)||!_0x374fda[_0x556efc(0xc3)](_0x4a132b))return;0x1===_0x374fda[_0x556efc(0xd2)](_0x4a132b)[_0x556efc(0x99)]&&(_0x662bf1[_0x556efc(0xa1)][_0x556efc(0x91)][_0x556efc(0xc5)](),_0x55a05e[_0x556efc(0xe1)]());},{'priority':_0x4902a6(0xb3)}),this[_0x4902a6(0x8e)]=this[_0x4902a6(0xb1)][_0x4902a6(0xa6)][_0x4902a6(0xc1)](_0x4902a6(0x8e));const _0x249b46=this[_0x4902a6(0xb1)];this[_0x4902a6(0x94)]=setInterval(()=>{const _0x5621e1=_0x4902a6;let _0x279bc9;for(const _0x2c814f in _0x249b46){const _0x501630=_0x2c814f,_0x37091=_0x249b46[_0x501630];if(_0x5621e1(0xca)==_0x37091||_0x5621e1(0xbc)==_0x37091||_0x5621e1(0xb8)==_0x37091||_0x5621e1(0x97)==_0x37091||_0x5621e1(0x8f)==_0x37091||_0x5621e1(0xa3)==_0x37091||_0x5621e1(0x98)==_0x37091||_0x5621e1(0xb2)==_0x37091){delete _0x249b46[_0x501630],_0x279bc9=_0x37091,clearInterval(this[_0x5621e1(0x94)]),this[_0x5621e1(0x94)]=void 0x0;break;}}_0x5621e1(0xbc)==_0x279bc9&&_0x249b46[_0x5621e1(0xc2)](_0x5621e1(0xdc)),_0x5621e1(0xb8)==_0x279bc9&&_0x249b46[_0x5621e1(0xc2)](_0x5621e1(0xaa)),_0x5621e1(0x97)==_0x279bc9&&_0x249b46[_0x5621e1(0xc2)](_0x5621e1(0xa5)),_0x5621e1(0x8f)==_0x279bc9&&_0x249b46[_0x5621e1(0xc2)](_0x5621e1(0x90),_0x5621e1(0xdb)),_0x5621e1(0xa3)==_0x279bc9&&_0x249b46[_0x5621e1(0xc2)](_0x5621e1(0xd1)),_0x5621e1(0x98)==_0x279bc9&&_0x249b46[_0x5621e1(0xc2)](_0x5621e1(0xc8)),_0x5621e1(0xb2)==_0x279bc9&&_0x249b46[_0x5621e1(0xc2)](_0x5621e1(0x95));},0x3e8);}[_0x720f5e(0xd3)](){const _0x7cc0aa=_0x720f5e;super[_0x7cc0aa(0xd3)](),this[_0x7cc0aa(0x94)]&&clearInterval(this[_0x7cc0aa(0x94)]);}[_0x720f5e(0x96)](_0xb94b29){const _0x50eda3=_0x720f5e,_0x31b432=this[_0x50eda3(0xb1)],_0x28c992=new _0xb94b29(_0x31b432[_0x50eda3(0x92)]),_0x4fd4a8=_0x31b432[_0x50eda3(0xa0)][_0x50eda3(0xc1)](_0x50eda3(0xb7));return _0x28c992[_0x50eda3(0xba)]({'label':_0x46da4e(_0x31b432[_0x50eda3(0x92)],_0x50eda3(0xa7)),'icon':_0x1ee316}),_0x28c992[_0x50eda3(0xd7)](_0x50eda3(0xe0))['to'](_0x4fd4a8,_0x50eda3(0xe0),_0x4fd4a8,_0x50eda3(0xbf),(_0x664eff,_0x1727fa)=>_0x664eff&&_0x1727fa),this[_0x50eda3(0xc4)](_0x28c992,_0x50eda3(0x9c),()=>{const _0x28f07b=_0x50eda3;_0x4fd4a8[_0x28f07b(0x9c)]();}),_0x28c992;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x920d58=_0x93ab;(function(_0x440301,_0x4157b1){const _0x3371fe=_0x93ab,_0x567003=_0x440301();while(!![]){try{const _0x11a318=parseInt(_0x3371fe(0x149))/0x1+parseInt(_0x3371fe(0x14e))/0x2+-parseInt(_0x3371fe(0x129))/0x3*(-parseInt(_0x3371fe(0x135))/0x4)+parseInt(_0x3371fe(0x138))/0x5+parseInt(_0x3371fe(0x143))/0x6*(-parseInt(_0x3371fe(0x12c))/0x7)+-parseInt(_0x3371fe(0x14d))/0x8+-parseInt(_0x3371fe(0x13c))/0x9;if(_0x11a318===_0x4157b1)break;else _0x567003['push'](_0x567003['shift']());}catch(_0x12d0ff){_0x567003['push'](_0x567003['shift']());}}}(_0x4a88,0xa0b53));import{Plugin as _0x21f1b7}from'ckeditor5/src/core.js';function _0x4a88(){const _0x1be799=['2319UbmVZr','always','delete','9751RqkMSl','_registerMarkerInClipboardPipeline','contentInsertion','config','never','all','_removeMarkersWithoutThreads','markers','highest','6136kyoKXL','keys','default','3492310NPeRYZ','listenTo','comments.copyMarkers','editor','11098098UacFxa','_mapCommentsCopyConfigToRegisterConfiguration','define','requires','cut','content','get','4278LOlZyq','plugins','CommentsRepository','comment','has','dragstart','620094bllURv','ClipboardPipeline','afterInit','hasCommentThread','822248cPbbQV','966066SpIdrQ','_registerMarkerToCopy','ClipboardMarkersUtils','split'];_0x4a88=function(){return _0x1be799;};return _0x4a88();}function _0x93ab(_0x476338,_0x71ead){const _0x4a88dc=_0x4a88();return _0x93ab=function(_0x93abaf,_0x58714a){_0x93abaf=_0x93abaf-0x127;let _0x150d23=_0x4a88dc[_0x93abaf];return _0x150d23;},_0x93ab(_0x476338,_0x71ead);}import{ClipboardPipeline as _0x2a4e15,ClipboardMarkersUtils as _0x391806}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x21f1b7{constructor(_0x3deeff){const _0x3a05aa=_0x93ab;super(_0x3deeff),this[_0x3a05aa(0x13b)][_0x3a05aa(0x12f)][_0x3a05aa(0x13e)](_0x3a05aa(0x13a),_0x3a05aa(0x137));}static get[_0x920d58(0x13f)](){return[_0x391806,_0x2a4e15];}[_0x920d58(0x14b)](){const _0x163aa6=_0x920d58,_0xb3e036=this[_0x163aa6(0x13b)][_0x163aa6(0x144)][_0x163aa6(0x142)](_0x163aa6(0x14a));this[_0x163aa6(0x12d)](),this[_0x163aa6(0x139)](_0xb3e036,_0x163aa6(0x12e),(_0x5757fb,_0x39e19c)=>this[_0x163aa6(0x132)](_0x39e19c[_0x163aa6(0x141)][_0x163aa6(0x133)]),{'priority':_0x163aa6(0x134)});}[_0x920d58(0x132)](_0x1a5c5b){const _0x4784ca=_0x920d58;if(!this[_0x4784ca(0x13b)][_0x4784ca(0x144)][_0x4784ca(0x147)](_0x4784ca(0x145)))return _0x1a5c5b;const _0x1acd25=this[_0x4784ca(0x13b)][_0x4784ca(0x144)][_0x4784ca(0x142)](_0x4784ca(0x145));for(const _0x2356c4 of _0x1a5c5b[_0x4784ca(0x136)]()){const [_0x4fd17d,_0x401a23]=_0x2356c4[_0x4784ca(0x128)](':');_0x4784ca(0x146)!=_0x4fd17d||_0x1acd25[_0x4784ca(0x14c)](_0x401a23)||_0x1a5c5b[_0x4784ca(0x12b)](_0x2356c4);}return _0x1a5c5b;}[_0x920d58(0x12d)](){const _0x755e28=_0x920d58,_0x137a52=this[_0x755e28(0x13b)][_0x755e28(0x144)][_0x755e28(0x142)](_0x755e28(0x127)),_0x889f9b=this[_0x755e28(0x13d)](this[_0x755e28(0x13b)][_0x755e28(0x12f)][_0x755e28(0x142)](_0x755e28(0x13a)));_0x889f9b&&_0x137a52[_0x755e28(0x14f)](_0x755e28(0x146),_0x889f9b);}[_0x920d58(0x13d)](_0x3a0ba2){const _0x32a675=_0x920d58;switch(_0x3a0ba2){case _0x32a675(0x12a):return{'allowedActions':_0x32a675(0x131),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x32a675(0x137):return{'allowedActions':[_0x32a675(0x140),_0x32a675(0x148)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x32a675(0x130):return null;default:return null;}}}
|