@ckeditor/ckeditor5-comments 47.7.1 → 47.7.2
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 _0x449192=_0x561e;(function(_0x4b8185,_0x57f32b){const _0x4edb20=_0x561e,_0x1af533=_0x4b8185();while(!![]){try{const _0x483c18=-parseInt(_0x4edb20(0x14c))/0x1*(-parseInt(_0x4edb20(0x192))/0x2)+-parseInt(_0x4edb20(0x1c9))/0x3+-parseInt(_0x4edb20(0x180))/0x4*(parseInt(_0x4edb20(0x1a7))/0x5)+-parseInt(_0x4edb20(0x12c))/0x6*(parseInt(_0x4edb20(0x1ba))/0x7)+parseInt(_0x4edb20(0x190))/0x8*(parseInt(_0x4edb20(0x1af))/0x9)+parseInt(_0x4edb20(0x167))/0xa*(-parseInt(_0x4edb20(0x196))/0xb)+-parseInt(_0x4edb20(0x19a))/0xc;if(_0x483c18===_0x57f32b)break;else _0x1af533['push'](_0x1af533['shift']());}catch(_0x4c5fa8){_0x1af533['push'](_0x1af533['shift']());}}}(_0x419a,0xabbdf));import{Plugin as _0x13fa5d}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x389777,scrollViewportToShowTarget as _0x495138,uid as _0x1b7a45}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x27d974}from'./commentsrepository.js';function _0x561e(_0x48247f,_0x5dec3f){const _0x419a95=_0x419a();return _0x561e=function(_0x561e26,_0x33b5d9){_0x561e26=_0x561e26-0x12a;let _0x30a25a=_0x419a95[_0x561e26];return _0x30a25a;},_0x561e(_0x48247f,_0x5dec3f);}import{AddCommentThreadCommand as _0x30836f}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x533f00,getAllMarkersDomElementsSorted as _0x56a5d3,FOCUS_ANNOTATION_KEYSTROKE as _0x3277ec,Users as _0x221b57}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x4d573b}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0xe5ba81}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x55d3b5}from'./integrations/importword.js';import{CommentsClipboard as _0x13c0b7}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x5d2ba6}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x500d41}from'../annotations/annotations.js';import{getTranslation as _0xd54c5b}from'../utils/common-translations.js';import{splitMarkerName as _0xbfbbdb}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x13fa5d{static get[_0x449192(0x184)](){return[_0x27d974,_0x4d573b,_0x221b57,_0xe5ba81,_0x55d3b5,_0x13c0b7,_0x5d2ba6];}static get[_0x449192(0x1b4)](){const _0x2fa2ab=_0x449192;return _0x2fa2ab(0x165);}static get[_0x449192(0x172)](){return!0x0;}static get[_0x449192(0x19b)](){return!0x0;}constructor(_0x14c177){const _0x35b195=_0x449192;super(_0x14c177),this[_0x35b195(0x182)](_0x35b195(0x17d),!0x0),_0x14c177[_0x35b195(0x197)][_0x35b195(0x171)](_0x35b195(0x17a),()=>this[_0x35b195(0x17d)]=!0x1),this[_0x35b195(0x182)](_0x35b195(0x183),null),this['on'](_0x35b195(0x15c),(_0x2488cb,_0x1a00bb,_0x853b9c,_0x117103)=>{const _0x431d30=_0x35b195,_0x55906c=_0x14c177[_0x431d30(0x160)][_0x431d30(0x18a)](_0x27d974),_0x16e746=_0x853b9c?_0xbfbbdb(_0x853b9c)['id']:null;_0x14c177[_0x431d30(0x1ac)][_0x431d30(0x14f)](()=>{const _0x1172c3=_0x431d30;if(_0x16e746){const _0x4366ee=this[_0x1172c3(0x15e)](_0x16e746);for(const _0x145759 of _0x4366ee)_0x14c177[_0x1172c3(0x142)][_0x1172c3(0x166)](_0x145759);}if(_0x117103){const {id:_0x5ab298}=_0xbfbbdb(_0x117103),_0x3f0c11=_0x55906c[_0x1172c3(0x18e)](_0x5ab298);if(_0x3f0c11&&_0x3f0c11[_0x1172c3(0x193)])return;if(_0x3f0c11&&!_0x3f0c11[_0x1172c3(0x1a8)])return;const _0x4c7d7e=this[_0x1172c3(0x15e)](_0x5ab298);for(const _0x4e873c of _0x4c7d7e)_0x14c177[_0x1172c3(0x142)][_0x1172c3(0x166)](_0x4e873c);}}),_0x16e746&&this[_0x431d30(0x191)](_0x16e746);}),this[_0x35b195(0x187)]();}[_0x449192(0x1bf)](){const _0x2835e7=_0x449192,_0x26129f=this[_0x2835e7(0x1ca)],_0x529528=_0x26129f[_0x2835e7(0x160)][_0x2835e7(0x18a)](_0x27d974),_0xf806f5=_0x26129f[_0x2835e7(0x146)][_0x2835e7(0x18a)](_0x2835e7(0x16f)),_0x334b72=_0x529528[_0x2835e7(0x147)]()[_0x2835e7(0x1c5)](_0x5dd04a=>_0x5dd04a[_0x2835e7(0x12f)]!==_0xf806f5);_0x26129f[_0x2835e7(0x137)][_0x2835e7(0x144)](_0x2835e7(0x17f),new _0x30836f(_0x26129f)),this[_0x2835e7(0x199)](_0x26129f,_0x2835e7(0x1bd),(_0xcb7d5f,_0x87c69a,_0x3f77f8)=>{const _0x5b73db=_0x2835e7;_0x529528[_0x5b73db(0x173)](_0x3f77f8,_0x26129f[_0x5b73db(0x146)][_0x5b73db(0x18a)](_0x5b73db(0x16f)));}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x17f),_0xf806f5),(_0x4b4439,{threadId:_0x49ae56})=>{const _0x57f222=_0x2835e7,_0x51ca3a=this[_0x57f222(0x1ca)][_0x57f222(0x160)][_0x57f222(0x18a)](_0x27d974)[_0x57f222(0x18e)](_0x49ae56);_0x51ca3a?.[_0x57f222(0x193)]&&this[_0x57f222(0x17b)](_0x49ae56);}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x143),_0xf806f5),(_0x363d5a,{threadId:_0x518db3})=>{const _0x2f5cfa=_0x2835e7;_0x26129f[_0x2f5cfa(0x1ac)][_0x2f5cfa(0x145)]({'isUndoable':!0x1},_0x43cee0=>{const _0x3e70a9=_0x2f5cfa,_0x3ead66=this[_0x3e70a9(0x15e)](_0x518db3);for(const _0x8f6ffb of _0x3ead66)_0x43cee0[_0x3e70a9(0x1bb)](_0x8f6ffb);});}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x134),_0xf806f5),(_0x362964,{threadId:_0x16d750})=>{const _0x454ebe=_0x2835e7;(this[_0x454ebe(0x130)](_0x16d750),this[_0x454ebe(0x1ca)][_0x454ebe(0x142)][_0x454ebe(0x198)][_0x454ebe(0x1c6)])&&(this[_0x454ebe(0x1ca)][_0x454ebe(0x160)][_0x454ebe(0x18a)](_0x27d974)[_0x454ebe(0x18e)](_0x16d750)[_0x454ebe(0x193)]||this[_0x454ebe(0x1ca)][_0x454ebe(0x142)][_0x454ebe(0x198)][_0x454ebe(0x13d)]());},{'priority':_0x2835e7(0x168)}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x1a5),_0xf806f5),(_0x27faaf,{threadId:_0x516bfc})=>{const _0x1a503e=_0x2835e7;this[_0x1a503e(0x130)](_0x516bfc);},{'priority':_0x2835e7(0x168)}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x16d),_0xf806f5),(_0x200a97,{threadId:_0x86efbb,isFromAdapter:_0x253fae})=>{const _0x3f0bbe=_0x2835e7,_0x318535=this[_0x3f0bbe(0x15e)](_0x86efbb);if(_0x253fae||0x0==_0x318535[_0x3f0bbe(0x1a4)]||!_0x529528[_0x3f0bbe(0x12b)](_0x86efbb))return;0x1===_0x529528[_0x3f0bbe(0x18e)](_0x86efbb)[_0x3f0bbe(0x1a4)]&&_0x26129f[_0x3f0bbe(0x1ac)][_0x3f0bbe(0x145)]({'isUndoable':!0x1},_0x1fbd28=>{const _0x29aaa5=_0x3f0bbe;for(const _0x578f46 of _0x318535)_0x1fbd28[_0x29aaa5(0x15d)](_0x578f46,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x2835e7(0x168)}),this[_0x2835e7(0x18c)](),this[_0x2835e7(0x1c7)](),this[_0x2835e7(0x176)](_0x334b72);}[_0x449192(0x19f)](){!async function(_0xe2a92b){const _0x1951a9=_0x3a424e([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]),_0x25eddd=0x73460ab3,_0x2a9c42=0x734182a3^_0x25eddd,_0x249db3=window[_0x3a424e([0x44,0x61,0x74,0x65])][_0x3a424e([0x6e,0x6f,0x77])](),_0xd8c3fa=_0xe2a92b[_0x3a424e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59814a=new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x539467=>{_0xd8c3fa[_0x3a424e([0x6f,0x6e,0x63,0x65])](_0x3a424e([0x72,0x65,0x61,0x64,0x79]),_0x539467);}),_0x15b3cc={[_0x3a424e([0x6b,0x74,0x79])]:_0x3a424e([0x45,0x43]),[_0x3a424e([0x75,0x73,0x65])]:_0x3a424e([0x73,0x69,0x67]),[_0x3a424e([0x63,0x72,0x76])]:_0x3a424e([0x50,0x2d,0x32,0x35,0x36]),[_0x3a424e([0x78])]:_0x3a424e([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]),[_0x3a424e([0x79])]:_0x3a424e([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]),[_0x3a424e([0x61,0x6c,0x67])]:_0x3a424e([0x45,0x53,0x32,0x35,0x36])},_0x256772=_0xd8c3fa[_0x3a424e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a424e([0x67,0x65,0x74])](_0x3a424e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x414cc0(){let _0x3a3e6b,_0x3425ce=null,_0x82f84e=null;try{if(_0x256772==_0x3a424e([0x47,0x50,0x4c]))return _0x3a424e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a3e6b=_0x4a65d7(),!_0x3a3e6b)return _0x3a424e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a3e6b[_0x3a424e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x82f84e=_0xa773a7(_0x3a3e6b[_0x3a424e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a3e6b[_0x3a424e([0x6a,0x74,0x69])])),await _0x23848f()?_0x27f4c7()?_0x58468d()?_0x3a424e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21d4dd()?(_0x3a3e6b[_0x3a424e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a424e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3425ce=_0x493584(_0x3a424e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x51a97e()):_0x3a424e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a424e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a424e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a424e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58468d(){const _0x26b593=[_0x3a424e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a424e([0x74,0x72,0x69,0x61,0x6c])][_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a3e6b[_0x3a424e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x249db3/0x3e8:0xe10*_0x2a9c42;return _0x3a3e6b[_0x3a424e([0x65,0x78,0x70])]<_0x26b593;}function _0x27f4c7(){const _0x41b73e=_0x3a3e6b[_0x3a424e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x41b73e)return!0x1;if(_0x41b73e[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x2a])))return!0x0;if(_0x41b73e[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x43,0x4d,0x54])))return!0x0;if(_0x41b73e[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x3c54d8())return!0x0;if(_0x41b73e[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x52,0x43,0x4d,0x54]))){if(_0x2d42eb())return!0x0;if(_0x198fa8()||_0x31a361())return!0x0;}return!0x1;}function _0x21d4dd(){const _0x36895b=_0x561e,_0x40ffde=_0x3a3e6b[_0x3a424e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40ffde||0x0==_0x40ffde[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b3959}=new URL(window[_0x3a424e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36895b(0x16c)]);if(_0x40ffde[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b3959))return!0x0;const _0x4060a8=_0x4b3959[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])](_0x3a424e([0x2e]));return _0x40ffde[_0x3a424e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11f071=>_0x11f071[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x2a])))[_0x3a424e([0x6d,0x61,0x70])](_0x2f8163=>_0x2f8163[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])](_0x3a424e([0x2e])))[_0x3a424e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44f18d=>_0x44f18d[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4060a8[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a424e([0x6d,0x61,0x70])](_0x5ca6e1=>Array(_0x4060a8[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ca6e1[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a424e([0x66,0x69,0x6c,0x6c])](_0x5ca6e1[0x0]===_0x3a424e([0x2a])?_0x3a424e([0x2a]):'')[_0x3a424e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ca6e1))[_0x3a424e([0x73,0x6f,0x6d,0x65])](_0xe259cd=>_0x4060a8[_0x3a424e([0x65,0x76,0x65,0x72,0x79])]((_0x2affef,_0x135122)=>_0xe259cd[_0x135122]===_0x2affef||_0xe259cd[_0x135122]===_0x3a424e([0x2a])));}function _0x51a97e(){return _0x3425ce&&_0x82f84e?new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d4227,_0x597f90)=>{_0x3425ce[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x3d4227,_0x597f90),_0x82f84e[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x358c29=>{_0x358c29!=_0x3a424e([0x56,0x61,0x6c,0x69,0x64])&&_0x3d4227(_0x358c29);},_0x597f90);}):_0x3425ce||_0x82f84e||_0x3a424e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa773a7(_0xefc0f,_0x5174ca){return new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43528a=>{if(_0x48e864())return _0x43528a(_0x3a424e([0x56,0x61,0x6c,0x69,0x64]));_0x20c61e(),_0xd8c3fa[_0x3a424e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a424e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x587b54=!0x1;const _0x599f25=_0x1b7a45();function _0x56a724(_0x1b2cc8){return!!_0x1b2cc8&&(typeof _0x1b2cc8===_0x3a424e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b2cc8===_0x3a424e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b2cc8[_0x3a424e([0x74,0x68,0x65,0x6e])]===_0x3a424e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b2cc8[_0x3a424e([0x63,0x61,0x74,0x63,0x68])]===_0x3a424e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fad74(_0x5754e9){_0x4406a9(_0x5754e9)[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x528fcd=>{if(!_0x528fcd||_0x528fcd[_0x3a424e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a424e([0x6f,0x6b]))return _0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14aa23(_0x527138(_0x599f25+_0x5174ca))!=_0x528fcd[_0x3a424e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a424e([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x100bd6=>(_0x2a7f30(),_0x100bd6),()=>{const _0x3bb5eb=_0x400afb();return null==_0x3bb5eb?(_0x2a7f30(),_0x3a424e([0x56,0x61,0x6c,0x69,0x64])):_0x3a424e(_0x249db3-_0x3bb5eb>(0x574a8eb3^_0x25eddd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x43528a)[_0x3a424e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43528a(_0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a7eea=0x7370e433^_0x25eddd;function _0x2a7f30(){const _0x216e2a=_0x3a424e([0x6c,0x6c,0x63,0x74,0x2d])+_0x14aa23(_0x527138(_0xefc0f)),_0x2d3c4f=_0x28b2f2(_0x14aa23(window[_0x3a424e([0x4d,0x61,0x74,0x68])][_0x3a424e([0x63,0x65,0x69,0x6c])](_0x249db3/_0x3a7eea)));window[_0x3a424e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a424e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x216e2a,_0x2d3c4f);}function _0x400afb(){const _0x172c63=_0x3a424e([0x6c,0x6c,0x63,0x74,0x2d])+_0x14aa23(_0x527138(_0xefc0f)),_0x35bc62=window[_0x3a424e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a424e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x172c63);return _0x35bc62?window[_0x3a424e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28b2f2(_0x35bc62),0x10)*_0x3a7eea:null;}function _0x4406a9(_0x4d645d){return new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x275363,_0x21ed39)=>{_0x4d645d[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x275363,_0x21ed39),window[_0x3a424e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21ed39,0x7347de73^_0x25eddd);});}}_0xd8c3fa[_0x3a424e([0x6f,0x6e])](_0x3a424e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x496a9d,_0x54fd5a)=>{if(_0x54fd5a[0x0]!=_0xefc0f)return _0x43528a(_0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x54fd5a[0x1]={..._0x54fd5a[0x1],[_0x3a424e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x599f25};},{[_0x3a424e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a424e([0x68,0x69,0x67,0x68])}),_0xd8c3fa[_0x3a424e([0x6f,0x6e])](_0x3a424e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c7fdf=>{_0x56a724(_0x2c7fdf[_0x3a424e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x587b54=!0x0,_0x3fad74(_0x2c7fdf[_0x3a424e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a424e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a424e([0x6c,0x6f,0x77])}),_0x59814a[_0x3a424e([0x74,0x68,0x65,0x6e])](()=>{_0x587b54||_0x43528a(_0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48e864(){return _0xd8c3fa[_0x3a424e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a424e([0x76,0x69,0x65,0x77])][_0x3a424e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a424e([0x61,0x75,0x74,0x6f]);}function _0x20c61e(){_0xd8c3fa[_0x3a424e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a424e([0x76,0x69,0x65,0x77])][_0x3a424e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a424e([0x61,0x75,0x74,0x6f]);}}function _0x493584(_0x581803){const _0xe99d7a=[new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5afafb=>setTimeout(_0x5afafb,0x734f347f^_0x25eddd)),_0x59814a[_0x3a424e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47aea6=>{let _0x499fc2=0x0;_0xd8c3fa[_0x3a424e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a424e([0x6f,0x6e])](_0x3a424e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xafa127,_0x12791f)=>{_0x12791f[0x0][_0x3a424e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x499fc2++,_0x499fc2==(0x73460f5b^_0x25eddd)&&(_0x47aea6(),_0xafa127[_0x3a424e([0x6f,0x66,0x66])]());});}))];return window[_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a424e([0x72,0x61,0x63,0x65])](_0xe99d7a)[_0x3a424e([0x74,0x68,0x65,0x6e])](()=>_0x581803);}async function _0x5877b3(){await _0x59814a,_0xd8c3fa[_0x3a424e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a424e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e36e9,_0xd8c3fa[_0x3a424e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a424e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e36e9,_0xd8c3fa[_0x3a424e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a424e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c54d8(){return window[_0x3a424e([0x67,0x6c,0x6f,0x62])]&&window[_0x3a424e([0x67,0x6c,0x6f,0x62])][_0x3a424e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2d42eb(){return _0x305346(_0x3a424e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x36758a(_0x3a424e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3a424e([0x73,0x74,0x61,0x74,0x65])]==_0x3a424e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x198fa8(){return _0x305346(_0x3a424e([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 _0x31a361(){return _0x305346(_0x3a424e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x544ef1(_0x34d629){const _0x590542=_0x38029a();_0xd8c3fa[_0x590542]=_0x3a424e([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x34d629,_0x34d629!=_0x3a424e([0x56,0x61,0x6c,0x69,0x64])&&_0x5877b3();}function _0x38029a(){const _0x436c1a=window[_0x3a424e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a424e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a424e([0x6e,0x6f,0x77])]())[_0x3a424e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a424e([0x2e]),'');let _0x27ef21=_0x3a424e([0x4b]);for(let _0x404a20=0x0;_0x404a20<_0x436c1a[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x404a20+=0x2){let _0x4a6c3e=window[_0x3a424e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x436c1a[_0x3a424e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x404a20,_0x404a20+0x2));_0x4a6c3e>=_0x1951a9[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a6c3e-=_0x1951a9[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27ef21+=_0x1951a9[_0x4a6c3e];}return _0x27ef21;}function _0x4a65d7(){const _0x48859c=_0x256772[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])](_0x3a424e([0x2e]));if(0x3!=_0x48859c[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8a0805(_0x48859c[0x1]);function _0x8a0805(_0x1d586e){const _0x58b8f1=_0x3786be(_0x1d586e);return _0x58b8f1&&_0x83227f()?_0x58b8f1:null;function _0x83227f(){const _0x4b7d1f=_0x58b8f1[_0x3a424e([0x6a,0x74,0x69])],_0x1710fa=window[_0x3a424e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b7d1f[_0x3a424e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b7d1f[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58d847={..._0x58b8f1,[_0x3a424e([0x6a,0x74,0x69])]:_0x4b7d1f[_0x3a424e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b7d1f[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58d847[_0x3a424e([0x76,0x63])],_0x527138(_0x58d847)==_0x1710fa;}}}async function _0x23848f(){let _0x209bc5=!0x0;try{const _0x1c877e=_0x256772[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])](_0x3a424e([0x2e])),[_0x570e1e,_0x58f723,_0x163e9f]=_0x1c877e;return _0x11649a(_0x570e1e),await _0x2e7fe7(_0x570e1e,_0x58f723,_0x163e9f),_0x209bc5;}catch{return!0x1;}function _0x11649a(_0x256148){const _0x14fa7f=_0x3786be(_0x256148);_0x14fa7f&&_0x14fa7f[_0x3a424e([0x61,0x6c,0x67])]==_0x3a424e([0x45,0x53,0x32,0x35,0x36])||(_0x209bc5=!0x1);}async function _0x2e7fe7(_0xd923cd,_0x49a80a,_0x49fd15){const _0x19f253=window[_0x3a424e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a424e([0x66,0x72,0x6f,0x6d])](_0x95c374(_0x49fd15),_0x1d5fcb=>_0x1d5fcb[_0x3a424e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e979c=new window[(_0x3a424e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a424e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd923cd+_0x3a424e([0x2e])+_0x49a80a),_0x1af618=window[_0x3a424e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a424e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1af618)return;const _0xdf2e89=await _0x1af618[_0x3a424e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a424e([0x6a,0x77,0x6b]),_0x15b3cc,{[_0x3a424e([0x6e,0x61,0x6d,0x65])]:_0x3a424e([0x45,0x43,0x44,0x53,0x41]),[_0x3a424e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a424e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a424e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1af618[_0x3a424e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a424e([0x6e,0x61,0x6d,0x65])]:_0x3a424e([0x45,0x43,0x44,0x53,0x41]),[_0x3a424e([0x68,0x61,0x73,0x68])]:{[_0x3a424e([0x6e,0x61,0x6d,0x65])]:_0x3a424e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xdf2e89,_0x19f253,_0x1e979c)||(_0x209bc5=!0x1);}}function _0x3786be(_0xcd26a0){return _0xcd26a0[_0x3a424e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a424e([0x65,0x79]))?JSON[_0x3a424e([0x70,0x61,0x72,0x73,0x65])](_0x95c374(_0xcd26a0)):null;}function _0x95c374(_0x2d63bd){return window[_0x3a424e([0x61,0x74,0x6f,0x62])](_0x2d63bd[_0x3a424e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a424e([0x2b]))[_0x3a424e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a424e([0x2f])));}function _0x527138(_0xe543cf){let _0x110b0a=0x1505;function _0x2fef8a(_0x4dfe82){for(let _0x221b35=0x0;_0x221b35<_0x4dfe82[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x221b35++){const _0x3e4488=_0x4dfe82[_0x3a424e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x221b35);_0x110b0a=(_0x110b0a<<0x5)+_0x110b0a+_0x3e4488,_0x110b0a&=_0x110b0a;}}function _0x5f4ddb(_0x5384e7){Array[_0x3a424e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5384e7)?_0x5384e7[_0x3a424e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f4ddb):_0x5384e7&&typeof _0x5384e7==_0x3a424e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a424e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5384e7)[_0x3a424e([0x73,0x6f,0x72,0x74])]()[_0x3a424e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1173ca,_0x546c53])=>{_0x2fef8a(_0x1173ca),_0x5f4ddb(_0x546c53);}):_0x2fef8a(window[_0x3a424e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5384e7));}return _0x5f4ddb(_0xe543cf),_0x110b0a>>>0x0;}function _0x14aa23(_0x4a295d){return _0x4a295d[_0x3a424e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a424e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a424e([0x30]));}function _0x28b2f2(_0xe3b391){return _0xe3b391[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a424e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a424e([0x6a,0x6f,0x69,0x6e])]('');}function _0x305346(_0x27caa5){return _0xd8c3fa[_0x3a424e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3a424e([0x68,0x61,0x73])](_0x27caa5);}function _0x36758a(_0x5f9938){return _0xd8c3fa[_0x3a424e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3a424e([0x67,0x65,0x74])](_0x5f9938);}function _0x4e36e9(){}function _0x3a424e(_0x370c88){const _0x58c55c=_0x561e;return _0x370c88[_0x58c55c(0x1c1)](_0x32192b=>String[_0x58c55c(0x195)](_0x32192b))[_0x58c55c(0x1ad)]('');}_0x544ef1(await _0x414cc0());}(this);}[_0x449192(0x12a)](){const _0x1b952c=_0x449192,_0x58a73e=this[_0x1b952c(0x1ca)][_0x1b952c(0x160)][_0x1b952c(0x18a)](_0x27d974),_0x687b1a=this[_0x1b952c(0x1ca)][_0x1b952c(0x146)][_0x1b952c(0x18a)](_0x1b952c(0x16f));for(const _0x57d2d5 of _0x58a73e[_0x1b952c(0x147)]({'channelId':_0x687b1a}))_0x58a73e[_0x1b952c(0x13f)](_0x57d2d5['id']),_0x58a73e[_0x1b952c(0x1b2)][_0x1b952c(0x1b7)](_0x57d2d5['id']);super[_0x1b952c(0x12a)]();}[_0x449192(0x159)](_0xcf381e){const _0x5c714b=_0x449192;return this[_0x5c714b(0x15e)](_0xcf381e)[_0x5c714b(0x1a4)]>0x0;}[_0x449192(0x15e)](_0x3ed0cb){const _0x1ae569=_0x449192,_0x5e9a0d=[];for(const _0x2ace84 of this[_0x1ae569(0x1ca)][_0x1ae569(0x1ac)][_0x1ae569(0x12d)])_0x2ace84[_0x1ae569(0x13c)][_0x1ae569(0x16e)](_0x1ae569(0x1cb)+_0x3ed0cb)&&_0x5e9a0d[_0x1ae569(0x1ab)](_0x2ace84);return _0x5e9a0d;}[_0x449192(0x191)](_0x20a07b){setTimeout(()=>{const _0x5a812f=_0x561e,_0x44f3da=this[_0x5a812f(0x1b6)](_0x20a07b);if(!_0x44f3da)return;this[_0x5a812f(0x183)]&&_0xbfbbdb(this[_0x5a812f(0x183)])['id']===_0x20a07b&&_0x495138({'target':_0x44f3da[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x449192(0x130)](_0x36de9f){const _0x1c025b=_0x449192;this[_0x1c025b(0x1ca)][_0x1c025b(0x1ac)][_0x1c025b(0x14f)](()=>{const _0x317147=_0x1c025b;for(const _0x56c871 of this[_0x317147(0x15e)](_0x36de9f))this[_0x317147(0x1ca)][_0x317147(0x142)][_0x317147(0x166)](_0x56c871);});}[_0x449192(0x17b)](_0x3a8aae){const _0x5a375c=_0x449192,_0x1af265=this[_0x5a375c(0x1ca)][_0x5a375c(0x160)][_0x5a375c(0x18a)](_0x27d974),_0x1864d0=this[_0x5a375c(0x1ca)][_0x5a375c(0x160)][_0x5a375c(0x18a)](_0x4d573b),_0x2a1052=_0x1af265[_0x5a375c(0x18e)](_0x3a8aae);if(!_0x2a1052[_0x5a375c(0x1a8)]){const _0x402f21=_0x2a1052[_0x5a375c(0x169)](()=>this[_0x5a375c(0x1b6)](_0x2a1052['id']));_0x1864d0[_0x5a375c(0x189)](_0x402f21),_0x2a1052[_0x5a375c(0x179)]=!0x1;}}[_0x449192(0x18c)](){const _0xe57c41=_0x449192,_0xa832af=this[_0xe57c41(0x1ca)],_0x5a7b01=_0xa832af[_0xe57c41(0x160)][_0xe57c41(0x18a)](_0x221b57);_0xa832af[_0xe57c41(0x1a9)][_0xe57c41(0x1c8)](_0xe57c41(0x154))[_0xe57c41(0x138)]({'model':_0xe57c41(0x181),'view':(_0x5cad9c,_0x1c31fd)=>{const _0x44fbd5=_0xe57c41,{id:_0x3cc173}=_0xbfbbdb(_0x5cad9c[_0x44fbd5(0x15f)]),_0x29a6ac=_0xa832af[_0x44fbd5(0x160)][_0x44fbd5(0x18a)](_0x27d974)[_0x44fbd5(0x18e)](_0x3cc173),_0x583b0d=this[_0x44fbd5(0x183)]&&_0xbfbbdb(this[_0x44fbd5(0x183)])['id']===_0x3cc173;let _0x929a20;if(_0x29a6ac&&_0x29a6ac[_0x44fbd5(0x1a1)]&&!_0x583b0d&&_0x5cad9c[_0x44fbd5(0x1aa)])return _0x1c31fd[_0x44fbd5(0x140)][_0x44fbd5(0x1bc)](_0x5cad9c[_0x44fbd5(0x1aa)],_0x44fbd5(0x19d)+_0x5cad9c[_0x44fbd5(0x15f)]),_0x1c31fd[_0x44fbd5(0x140)][_0x44fbd5(0x1bc)](_0x5cad9c[_0x44fbd5(0x1aa)],_0x44fbd5(0x1c2)+_0x5cad9c[_0x44fbd5(0x15f)]),null;const _0x2fefe0=[_0x44fbd5(0x1cd)];return _0x583b0d&&_0x2fefe0[_0x44fbd5(0x1ab)](_0x44fbd5(0x18f)),_0x929a20=_0x29a6ac?.[_0x44fbd5(0x1a4)]?_0x29a6ac[_0x44fbd5(0x136)][_0x44fbd5(0x14b)][_0x44fbd5(0x186)]['id']:_0x5a7b01['me']['id'],{'classes':_0x2fefe0,'attributes':{'data-comment':_0x3cc173,'data-author-id':_0x929a20}};}}),_0xa832af[_0xe57c41(0x1a9)][_0xe57c41(0x1c8)](_0xe57c41(0x162))[_0xe57c41(0x12e)]({'model':_0xe57c41(0x181),'view':(_0x204dce,{options:_0x5130f5})=>{const _0x598c11=_0xe57c41;if(_0x5130f5[_0x598c11(0x1b5)])return null;const _0x1425e9=_0xa832af[_0x598c11(0x160)][_0x598c11(0x18a)](_0x27d974),_0x2cdc79=_0xa832af[_0x598c11(0x1ac)][_0x598c11(0x12d)][_0x598c11(0x18a)](_0x204dce),{id:_0xbc22cb,part:_0x133059}=_0xbfbbdb(_0x204dce);return _0x2cdc79&&!_0x2cdc79[_0x598c11(0x1be)]||_0x5130f5[_0x598c11(0x1b8)]&&_0x1425e9[_0x598c11(0x18e)](_0xbc22cb)?.[_0x598c11(0x1a1)]?null:{'group':_0x598c11(0x181),'name':_0x133059?_0xbc22cb+':'+_0x133059:_0xbc22cb};}}),_0xa832af[_0xe57c41(0x1a9)][_0xe57c41(0x1c8)](_0xe57c41(0x153))[_0xe57c41(0x177)]({'view':{'name':_0xe57c41(0x181),'attributes':{'id':/^\w/}},'model':(_0x2f98de,{writer:_0xaf67c8})=>_0xaf67c8[_0xe57c41(0x18d)](_0xe57c41(0x170),{'data-name':_0xe57c41(0x1cb)+_0x2f98de[_0xe57c41(0x1ae)]('id')})}),_0xa832af[_0xe57c41(0x1a9)][_0xe57c41(0x1c8)](_0xe57c41(0x153))[_0xe57c41(0x157)]({'view':_0xe57c41(0x181)});}[_0x449192(0x1c7)](){const _0x55b04b=_0x449192,_0x3a9fad=this[_0x55b04b(0x1ca)],_0x1d3054=_0x3a9fad[_0x55b04b(0x160)][_0x55b04b(0x18a)](_0x27d974),_0x3ad2c8=new Set(),_0x28e43c=new Set();_0x3a9fad[_0x55b04b(0x1ac)][_0x55b04b(0x16b)][_0x55b04b(0x135)](_0x3bed7a=>{const _0x40ac9f=_0x55b04b;let _0x428e0a=!0x1;for(const {name:_0x1083ec,data:_0x36dbfa}of _0x3a9fad[_0x40ac9f(0x1ac)][_0x40ac9f(0x16b)][_0x40ac9f(0x194)][_0x40ac9f(0x1b9)]()){const {group:_0x5cf240,id:_0x5f5819}=_0xbfbbdb(_0x1083ec);let _0x240771=_0x36dbfa[_0x40ac9f(0x1c3)];if(_0x40ac9f(0x181)!==_0x5cf240||!_0x240771)continue;const _0xa5000f=_0x40ac9f(0x1a0)===_0x240771[_0x40ac9f(0x1b0)][_0x40ac9f(0x158)];_0xa5000f||(_0x240771=ht(_0x240771,_0x3a9fad[_0x40ac9f(0x1ac)]),!_0x240771||_0x240771[_0x40ac9f(0x151)]||!_0x36dbfa[_0x40ac9f(0x1c3)]||_0x240771[_0x40ac9f(0x188)](_0x36dbfa[_0x40ac9f(0x1c3)]))?_0x3a9fad[_0x40ac9f(0x1ac)][_0x40ac9f(0x1ce)](_0x240771)&&!_0xa5000f?this[_0x40ac9f(0x17d)]?_0x3ad2c8[_0x40ac9f(0x144)](_0x1083ec):this[_0x40ac9f(0x14d)](_0x1083ec,_0x5f5819):(_0x28e43c[_0x40ac9f(0x144)](_0x1083ec),_0x3ad2c8[_0x40ac9f(0x1b7)](_0x1083ec),_0x3bed7a[_0x40ac9f(0x1bb)](_0x1083ec),_0x428e0a=!0x0):(_0x3bed7a[_0x40ac9f(0x15d)](_0x1083ec,{'range':_0x240771}),_0x428e0a=!0x0);}return _0x428e0a;}),this['on'](_0x55b04b(0x1a6),(_0x285e16,_0x21812c,_0x4d11aa)=>{const _0x3649be=_0x55b04b;if(!_0x4d11aa&&_0x3ad2c8[_0x3649be(0x150)])for(const _0x148ace of _0x3ad2c8){const {id:_0x15ccd2}=_0xbfbbdb(_0x148ace);_0x3ad2c8[_0x3649be(0x1b7)](_0x148ace),_0x3a9fad[_0x3649be(0x1ac)][_0x3649be(0x12d)][_0x3649be(0x18a)](_0x148ace)&&this[_0x3649be(0x14d)](_0x148ace,_0x15ccd2);}}),this[_0x55b04b(0x199)](_0x3a9fad[_0x55b04b(0x1ac)][_0x55b04b(0x16b)],_0x55b04b(0x14f),()=>{const _0x4bc0f6=_0x55b04b;for(const {name:_0x291711,data:{newRange:_0x4b41bd}}of _0x3a9fad[_0x4bc0f6(0x1ac)][_0x4bc0f6(0x16b)][_0x4bc0f6(0x194)][_0x4bc0f6(0x1b9)]()){const {group:_0x5148ec,id:_0x17f3ee}=_0xbfbbdb(_0x291711);if(_0x4bc0f6(0x181)!==_0x5148ec)continue;const _0xedc41d=_0x1d3054[_0x4bc0f6(0x18e)](_0x17f3ee),_0x5d51d1=this[_0x4bc0f6(0x159)](_0x17f3ee);_0xedc41d&&(!_0xedc41d[_0x4bc0f6(0x179)]&&_0x4b41bd&&_0x3a9fad[_0x4bc0f6(0x142)][_0x4bc0f6(0x198)][_0x4bc0f6(0x171)](_0x4bc0f6(0x14e),()=>{const _0x982b9b=_0x4bc0f6,_0x2e2688=_0x3a9fad[_0x982b9b(0x160)][_0x982b9b(0x18a)](_0x500d41),_0x28ea97=_0x1d3054[_0x982b9b(0x175)][_0x982b9b(0x18a)](_0xedc41d)[_0x982b9b(0x198)];_0x2e2688[_0x982b9b(0x149)](_0x28ea97)[_0x982b9b(0x1b1)]();},{'priority':_0x4bc0f6(0x168)}),_0xedc41d[_0x4bc0f6(0x179)]=_0x5d51d1||!!_0x4b41bd),_0x4b41bd||(_0x28e43c[_0x4bc0f6(0x144)](_0x291711),_0x3ad2c8[_0x4bc0f6(0x1b7)](_0x291711));}for(const _0x150ccd of _0x28e43c){const {id:_0x5e5f68}=_0xbfbbdb(_0x150ccd),_0x3b1f71=_0x1d3054[_0x4bc0f6(0x18e)](_0x5e5f68);if(_0x3ad2c8[_0x4bc0f6(0x1b7)](_0x150ccd),!_0x3b1f71)continue;const _0x2face3=this[_0x4bc0f6(0x159)](_0x5e5f68);_0x2face3||_0x3b1f71[_0x4bc0f6(0x16a)]?_0x2face3||_0x3b1f71[_0x4bc0f6(0x193)]||_0x3b1f71[_0x4bc0f6(0x131)](new Date()):_0x3b1f71[_0x4bc0f6(0x14a)]();}_0x28e43c[_0x4bc0f6(0x163)]();});}[_0x449192(0x176)](_0x37551b){const _0x561b6b=_0x449192;_0x37551b[_0x561b6b(0x155)](_0x1f158e=>{const _0xcb6fb7=_0x561b6b;_0x1f158e[_0xcb6fb7(0x193)]&&this[_0xcb6fb7(0x17b)](_0x1f158e['id']);});}[_0x449192(0x1b6)](_0x291731){const _0xa301fa=_0x449192,_0x36c141=this[_0xa301fa(0x1ca)],_0x51e300=this[_0xa301fa(0x15e)](_0x291731);return _0x56a5d3(_0x36c141[_0xa301fa(0x142)],_0x51e300);}[_0x449192(0x19e)](_0x3ea4d4){const _0xd3d762=_0x449192,_0x5808e2=this[_0xd3d762(0x15e)](_0x3ea4d4);let _0x3c2c11='',_0x563a43=!0x1;for(const _0x5770e2 of _0x5808e2){const _0xdd4841=_0x5770e2[_0xd3d762(0x152)]();for(const _0x24fec4 of Array[_0xd3d762(0x17c)](_0xdd4841[_0xd3d762(0x1b3)]()))_0x24fec4['is'](_0xd3d762(0x15b))?(_0x3c2c11&&_0x563a43&&(_0x3c2c11+='\x20',_0x563a43=!0x1),_0x3c2c11+=_0x24fec4[_0xd3d762(0x197)]):_0x563a43=!0x0;_0x563a43=!0x0;}return _0x3c2c11[_0xd3d762(0x18b)](0x0,0x96);}[_0x449192(0x185)](_0x434f71,_0x41867b){const _0xbfd65=_0x449192,_0x11800e=this[_0xbfd65(0x1ca)],_0x14f668=_0x11800e[_0xbfd65(0x160)][_0xbfd65(0x18a)](_0x27d974);let _0x3eb063=_0x14f668[_0xbfd65(0x18e)](_0x41867b);const _0x238811=_0x11800e[_0xbfd65(0x146)][_0xbfd65(0x18a)](_0xbfd65(0x16f)),_0x5238dd=_0x11800e[_0xbfd65(0x160)][_0xbfd65(0x18a)](_0x4d573b);if(_0x3eb063&&(_0x3eb063[_0xbfd65(0x193)]&&_0x3eb063[_0xbfd65(0x131)](null),_0x3eb063[_0xbfd65(0x1a8)]))return _0x3eb063;return!this[_0xbfd65(0x15e)](_0x41867b)[0x0][_0xbfd65(0x156)]?_0x11800e[_0xbfd65(0x142)][_0xbfd65(0x198)][_0xbfd65(0x171)](_0xbfd65(0x14e),()=>{const _0x3e7c46=_0xbfd65;if(_0x14f668[_0x3e7c46(0x18e)](_0x41867b))return;const _0x4bb561=_0x11800e[_0x3e7c46(0x160)][_0x3e7c46(0x18a)](_0x500d41);_0x3eb063=_0x14f668[_0x3e7c46(0x133)]({'channelId':_0x238811,'threadId':_0x41867b,'target':()=>this[_0x3e7c46(0x1b6)](_0x41867b),'context':{'type':_0x3e7c46(0x148),'value':this[_0x3e7c46(0x19e)](_0x41867b)}});const _0x40742c=_0x14f668[_0x3e7c46(0x175)][_0x3e7c46(0x18a)](_0x3eb063)[_0x3e7c46(0x198)],_0x2d2e94=_0x4bb561[_0x3e7c46(0x149)](_0x40742c);_0x2d2e94&&_0x5238dd[_0x3e7c46(0x189)](_0x2d2e94);},{'priority':_0xbfd65(0x168)}):_0x14f668[_0xbfd65(0x1c4)]({'channelId':_0x238811,'threadId':_0x41867b})[_0xbfd65(0x178)](_0x1454d2=>{const _0x5a8b99=_0xbfd65;if(_0x5a8b99(0x13b)!==_0x11800e[_0x5a8b99(0x1a3)]){if(_0x3eb063=_0x1454d2,_0x3eb063&&!_0x3eb063[_0x5a8b99(0x1a8)]){const _0x456e7e=_0x3eb063[_0x5a8b99(0x169)](()=>this[_0x5a8b99(0x1b6)](_0x41867b));_0x5238dd[_0x5a8b99(0x189)](_0x456e7e),_0x3eb063[_0x5a8b99(0x1a1)]&&this[_0x5a8b99(0x130)](_0x41867b);}else{if(!_0x3eb063){const _0xef261f=this[_0x5a8b99(0x15e)](_0x41867b);_0x11800e[_0x5a8b99(0x1ac)][_0x5a8b99(0x14f)](_0x5236a4=>{const _0x596849=_0x5a8b99;for(const _0x2dea4a of _0xef261f)_0x5236a4[_0x596849(0x1bb)](_0x2dea4a);});}}}}),_0x3eb063;}[_0x449192(0x14d)](_0x496499,_0x2f1fe0){const _0x26f585=_0x449192,_0x1f3587=this[_0x26f585(0x185)](_0x496499,_0x2f1fe0);_0x1f3587&&!_0x1f3587[_0x26f585(0x1cf)]&&_0x1f3587[_0x26f585(0x19c)]({'type':_0x26f585(0x148),'value':this[_0x26f585(0x19e)](_0x2f1fe0)});}[_0x449192(0x187)](){const _0x5c0989=_0x449192,_0x5c194e=this[_0x5c0989(0x1ca)];_0x533f00(_0x5c194e[_0x5c0989(0x1ac)],({left:_0x1ca572,entered:_0x58081c})=>{const _0x3c5d07=_0x5c0989;for(const _0x546f69 of _0x1ca572)if(mt(_0x546f69)){_0x5c194e['ui'][_0x3c5d07(0x1cc)][_0x3c5d07(0x164)](_0xd54c5b(_0x5c194e[_0x3c5d07(0x161)],_0x3c5d07(0x141)));break;}for(const _0x25d97c of _0x58081c)if(mt(_0x25d97c)){_0x5c194e['ui'][_0x3c5d07(0x1cc)][_0x3c5d07(0x164)](_0xd54c5b(_0x5c194e[_0x3c5d07(0x161)],_0x3c5d07(0x174),_0x389777(_0x3277ec)));break;}});}}function dt(_0x4a3b66,_0x5166cf){return _0x5166cf?_0x4a3b66+':'+_0x5166cf:_0x4a3b66;}function ht(_0x146862,_0x111ae6){const _0x1f477f=_0x449192,_0x2f2828=_0x111ae6[_0x1f477f(0x139)],_0x15e41b=_0x111ae6[_0x1f477f(0x132)](_0x146862[_0x1f477f(0x17e)]);for(const _0x464642 of _0x146862[_0x1f477f(0x1c0)]()){const {type:_0x446c71,item:_0x46560f,nextPosition:_0x282a91}=_0x464642;if(_0x1f477f(0x148)===_0x446c71||_0x2f2828[_0x1f477f(0x13e)](_0x46560f)){const _0x1b1c68=_0x111ae6[_0x1f477f(0x1a2)](_0x46560f);_0x15e41b[_0x1f477f(0x151)]&&(_0x15e41b[_0x1f477f(0x17e)]=_0x1b1c68),_0x15e41b[_0x1f477f(0x13a)]=_0x282a91;}}return _0x15e41b;}function mt(_0x19b48b){const _0x4b4649=_0x449192;return _0x4b4649(0x181)===_0xbfbbdb(_0x19b48b[_0x4b4649(0x13c)])[_0x4b4649(0x15a)];}function _0x419a(){const _0x5042f5=['getWalker','map','removeMarker:','newRange','fetchCommentThread','filter','hasDomSelection','_handleMarkerAddAndRemove','for','91413rRqKMn','editor','comment:','ariaLiveAnnouncer','ck-comment-marker','hasContent','context','destroy','hasCommentThread','6DJkvTP','markers','markerToData','channelId','_reconvertMarkers','setUnlinkedAt','createRange','openNewCommentThread','resolveCommentThread','registerPostFixer','comments','commands','markerToHighlight','schema','end','destroyed','name','focus','isObject','_detachCommentThread','consumable','LEAVE_COMMENT_ANNOUNCEMENT','editing','removeCommentThread','add','enqueueChange','config','getCommentThreads','text','getByInnerView','remove','first','345qQXObv','_handleThreadMarker','render','change','size','isCollapsed','getRange','upcast','editingDowncast','forEach','managedUsingOperations','dataToMarker','rootName','hasMarkerForId','group','$textProxy','change:activeMarker','updateMarker','getAllMarkersForId','markerName','plugins','locale','dataDowncast','clear','announce','CommentsEditing','reconvertMarker','10tGHiDO','low','attachTo','isSubmitted','document','href','addComment','startsWith','collaboration.channelId','$marker','once','isOfficialPlugin','switchReadOnly','ENTER_COMMENT_ANNOUNCEMENT','_threadToController','_handleInitialThreads','elementToElement','then','_hasTargetInContent','ready','_attachArchivedThread','from','isThreadsLoadingPaused','start','addCommentThread','4LekacI','comment','set','activeMarker','requires','_attachMarkerToThread','author','_initAriaMarkerChangeAnnouncements','isEqual','registerAnnotation','get','substring','_initializeMarkerConverters','createElement','getCommentThread','ck-comment-marker--active','7832eNCFzd','scrollToThreadMarker','5438zPmqjM','unlinkedAt','differ','fromCharCode','3228401KjLjJN','data','view','listenTo','9602532dZunRn','isPremiumPlugin','setContext','addMarker:','_getTextContext','afterInit','$graveyard','isResolved','createPositionBefore','state','length','reopenCommentThread','change:isThreadsLoadingPaused','1122295iIhJxa','isAttached','conversion','item','push','model','join','getAttribute','11277XyGrGi','root','refreshVisibility','_threads','getItems','pluginName','showCommentHighlights','_getTargetForId','delete','ignoreResolvedComments','getChangedMarkers','788585HEmvGO','removeMarker','consume','change:isReadOnly','affectsData','init'];_0x419a=function(){return _0x5042f5;};return _0x419a();}
|
|
23
|
+
const _0x7e5cbc=_0x3e76;(function(_0x2ac062,_0x5a7dbb){const _0x12c8ac=_0x3e76,_0x243f62=_0x2ac062();while(!![]){try{const _0x360c08=parseInt(_0x12c8ac(0x1ca))/0x1+parseInt(_0x12c8ac(0x1c4))/0x2+-parseInt(_0x12c8ac(0x241))/0x3*(-parseInt(_0x12c8ac(0x1e9))/0x4)+-parseInt(_0x12c8ac(0x209))/0x5+parseInt(_0x12c8ac(0x23c))/0x6+parseInt(_0x12c8ac(0x1e5))/0x7+-parseInt(_0x12c8ac(0x212))/0x8;if(_0x360c08===_0x5a7dbb)break;else _0x243f62['push'](_0x243f62['shift']());}catch(_0x215184){_0x243f62['push'](_0x243f62['shift']());}}}(_0x3724,0xc6576));import{Plugin as _0x23aded}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x1c221c,scrollViewportToShowTarget as _0x359f2e,uid as _0x39624a}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x419328}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x406bce}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x316b8d,getAllMarkersDomElementsSorted as _0x5c5e26,FOCUS_ANNOTATION_KEYSTROKE as _0x446468,Users as _0x4add28}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x4780d3}from'../annotations/editorannotations.js';function _0x3e76(_0xf970e3,_0x3edc2a){const _0x37245b=_0x3724();return _0x3e76=function(_0x3e762f,_0xb062dc){_0x3e762f=_0x3e762f-0x1c3;let _0x379efc=_0x37245b[_0x3e762f];return _0x379efc;},_0x3e76(_0xf970e3,_0x3edc2a);}import{CommentsRestrictedEditingMode as _0x45af08}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x3bade3}from'./integrations/importword.js';import{CommentsClipboard as _0x215c70}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x2244f0}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x421fb7}from'../annotations/annotations.js';import{getTranslation as _0x1e65ef}from'../utils/common-translations.js';import{splitMarkerName as _0x3d5850}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x23aded{static get[_0x7e5cbc(0x203)](){return[_0x419328,_0x4780d3,_0x4add28,_0x45af08,_0x3bade3,_0x215c70,_0x2244f0];}static get[_0x7e5cbc(0x1f6)](){const _0x8bc26d=_0x7e5cbc;return _0x8bc26d(0x256);}static get[_0x7e5cbc(0x1dc)](){return!0x0;}static get[_0x7e5cbc(0x21c)](){return!0x0;}constructor(_0x44b9d1){const _0x2e996d=_0x7e5cbc;super(_0x44b9d1),this[_0x2e996d(0x22b)](_0x2e996d(0x260),!0x0),_0x44b9d1[_0x2e996d(0x239)][_0x2e996d(0x1cf)](_0x2e996d(0x24e),()=>this[_0x2e996d(0x260)]=!0x1),this[_0x2e996d(0x22b)](_0x2e996d(0x206),null),this['on'](_0x2e996d(0x244),(_0x44aecc,_0x36ddb3,_0x29f7b4,_0x2e5008)=>{const _0x4806d7=_0x2e996d,_0x4afc70=_0x44b9d1[_0x4806d7(0x1d8)][_0x4806d7(0x21f)](_0x419328),_0x25a43b=_0x29f7b4?_0x3d5850(_0x29f7b4)['id']:null;_0x44b9d1[_0x4806d7(0x1da)][_0x4806d7(0x218)](()=>{const _0x5b805c=_0x4806d7;if(_0x25a43b){const _0x3bde10=this[_0x5b805c(0x1f2)](_0x25a43b);for(const _0x110ce2 of _0x3bde10)_0x44b9d1[_0x5b805c(0x252)][_0x5b805c(0x255)](_0x110ce2);}if(_0x2e5008){const {id:_0x137a2f}=_0x3d5850(_0x2e5008),_0x2a3019=_0x4afc70[_0x5b805c(0x1fb)](_0x137a2f);if(_0x2a3019&&_0x2a3019[_0x5b805c(0x223)])return;if(_0x2a3019&&!_0x2a3019[_0x5b805c(0x231)])return;const _0x4ed0c8=this[_0x5b805c(0x1f2)](_0x137a2f);for(const _0x4f722f of _0x4ed0c8)_0x44b9d1[_0x5b805c(0x252)][_0x5b805c(0x255)](_0x4f722f);}}),_0x25a43b&&this[_0x4806d7(0x1db)](_0x25a43b);}),this[_0x2e996d(0x20c)]();}[_0x7e5cbc(0x23e)](){const _0x28999c=_0x7e5cbc,_0x2d389b=this[_0x28999c(0x23b)],_0xa2759b=_0x2d389b[_0x28999c(0x1d8)][_0x28999c(0x21f)](_0x419328),_0x5ccf15=_0x2d389b[_0x28999c(0x1ce)][_0x28999c(0x21f)](_0x28999c(0x20b)),_0x4e580d=_0xa2759b[_0x28999c(0x219)]()[_0x28999c(0x254)](_0x161c8a=>_0x161c8a[_0x28999c(0x1dd)]!==_0x5ccf15);_0x2d389b[_0x28999c(0x1ee)][_0x28999c(0x21d)](_0x28999c(0x257),new _0x406bce(_0x2d389b)),this[_0x28999c(0x24d)](_0x2d389b,_0x28999c(0x1f1),(_0x2fce03,_0x557cdd,_0x252996)=>{const _0x23d227=_0x28999c;_0xa2759b[_0x23d227(0x1de)](_0x252996,_0x2d389b[_0x23d227(0x1ce)][_0x23d227(0x21f)](_0x23d227(0x20b)));}),this[_0x28999c(0x24d)](_0xa2759b,dt(_0x28999c(0x257),_0x5ccf15),(_0x42e0e7,{threadId:_0x584f43})=>{const _0x174cc7=_0x28999c,_0x52f710=this[_0x174cc7(0x23b)][_0x174cc7(0x1d8)][_0x174cc7(0x21f)](_0x419328)[_0x174cc7(0x1fb)](_0x584f43);_0x52f710?.[_0x174cc7(0x223)]&&this[_0x174cc7(0x221)](_0x584f43);}),this[_0x28999c(0x24d)](_0xa2759b,dt(_0x28999c(0x20e),_0x5ccf15),(_0x58d4bc,{threadId:_0x534c7e})=>{const _0x52e022=_0x28999c;_0x2d389b[_0x52e022(0x1da)][_0x52e022(0x201)]({'isUndoable':!0x1},_0x23057f=>{const _0x5ba777=_0x52e022,_0x44f4e0=this[_0x5ba777(0x1f2)](_0x534c7e);for(const _0x233370 of _0x44f4e0)_0x23057f[_0x5ba777(0x1ed)](_0x233370);});}),this[_0x28999c(0x24d)](_0xa2759b,dt(_0x28999c(0x1e4),_0x5ccf15),(_0x2b097c,{threadId:_0x28db45})=>{const _0x1b919d=_0x28999c;(this[_0x1b919d(0x248)](_0x28db45),this[_0x1b919d(0x23b)][_0x1b919d(0x252)][_0x1b919d(0x228)][_0x1b919d(0x253)])&&(this[_0x1b919d(0x23b)][_0x1b919d(0x1d8)][_0x1b919d(0x21f)](_0x419328)[_0x1b919d(0x1fb)](_0x28db45)[_0x1b919d(0x223)]||this[_0x1b919d(0x23b)][_0x1b919d(0x252)][_0x1b919d(0x228)][_0x1b919d(0x1ff)]());},{'priority':_0x28999c(0x236)}),this[_0x28999c(0x24d)](_0xa2759b,dt(_0x28999c(0x207),_0x5ccf15),(_0x29f2c8,{threadId:_0x8e7a5b})=>{const _0x36bf3d=_0x28999c;this[_0x36bf3d(0x248)](_0x8e7a5b);},{'priority':_0x28999c(0x236)}),this[_0x28999c(0x24d)](_0xa2759b,dt(_0x28999c(0x262),_0x5ccf15),(_0x4d980c,{threadId:_0x55faba,isFromAdapter:_0x4e59d4})=>{const _0x1c12e9=_0x28999c,_0x1bb4a9=this[_0x1c12e9(0x1f2)](_0x55faba);if(_0x4e59d4||0x0==_0x1bb4a9[_0x1c12e9(0x263)]||!_0xa2759b[_0x1c12e9(0x1e7)](_0x55faba))return;0x1===_0xa2759b[_0x1c12e9(0x1fb)](_0x55faba)[_0x1c12e9(0x263)]&&_0x2d389b[_0x1c12e9(0x1da)][_0x1c12e9(0x201)]({'isUndoable':!0x1},_0x3727f2=>{const _0x21faf0=_0x1c12e9;for(const _0x43b977 of _0x1bb4a9)_0x3727f2[_0x21faf0(0x1ec)](_0x43b977,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x28999c(0x236)}),this[_0x28999c(0x24c)](),this[_0x28999c(0x220)](),this[_0x28999c(0x1d9)](_0x4e580d);}[_0x7e5cbc(0x234)](){!async function(_0x4aad1d){const _0x215a48=_0x5ad1d2([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]),_0x216d24=0x73460ab3,_0x254d26=0x734180db^_0x216d24,_0x5eb12d=window[_0x5ad1d2([0x44,0x61,0x74,0x65])][_0x5ad1d2([0x6e,0x6f,0x77])](),_0x5033ef=_0x4aad1d[_0x5ad1d2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa3993f=new window[(_0x5ad1d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43eb2d=>{_0x5033ef[_0x5ad1d2([0x6f,0x6e,0x63,0x65])](_0x5ad1d2([0x72,0x65,0x61,0x64,0x79]),_0x43eb2d);}),_0x4430ed={[_0x5ad1d2([0x6b,0x74,0x79])]:_0x5ad1d2([0x45,0x43]),[_0x5ad1d2([0x75,0x73,0x65])]:_0x5ad1d2([0x73,0x69,0x67]),[_0x5ad1d2([0x63,0x72,0x76])]:_0x5ad1d2([0x50,0x2d,0x32,0x35,0x36]),[_0x5ad1d2([0x78])]:_0x5ad1d2([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]),[_0x5ad1d2([0x79])]:_0x5ad1d2([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]),[_0x5ad1d2([0x61,0x6c,0x67])]:_0x5ad1d2([0x45,0x53,0x32,0x35,0x36])},_0x325b4a=_0x5033ef[_0x5ad1d2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ad1d2([0x67,0x65,0x74])](_0x5ad1d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3294c3(){let _0x349fa9,_0x697b1a=null,_0x27389c=null;try{if(_0x325b4a==_0x5ad1d2([0x47,0x50,0x4c]))return _0x5ad1d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x349fa9=_0xd41368(),!_0x349fa9)return _0x5ad1d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x349fa9[_0x5ad1d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27389c=_0x492fcf(_0x349fa9[_0x5ad1d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x349fa9[_0x5ad1d2([0x6a,0x74,0x69])])),await _0x238860()?_0x245c68()?_0x115a90()?_0x5ad1d2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11046b()?(_0x349fa9[_0x5ad1d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ad1d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x697b1a=_0x2ff38c(_0x5ad1d2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x225c21()):_0x5ad1d2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ad1d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ad1d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ad1d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x115a90(){const _0x3ffd2c=[_0x5ad1d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ad1d2([0x74,0x72,0x69,0x61,0x6c])][_0x5ad1d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349fa9[_0x5ad1d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5eb12d/0x3e8:0xe10*_0x254d26;return _0x349fa9[_0x5ad1d2([0x65,0x78,0x70])]<_0x3ffd2c;}function _0x245c68(){const _0x2ff447=_0x349fa9[_0x5ad1d2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2ff447)return!0x1;if(_0x2ff447[_0x5ad1d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad1d2([0x2a])))return!0x0;if(_0x2ff447[_0x5ad1d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad1d2([0x43,0x4d,0x54])))return!0x0;if(_0x2ff447[_0x5ad1d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad1d2([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x50a2d2())return!0x0;if(_0x2ff447[_0x5ad1d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad1d2([0x52,0x43,0x4d,0x54]))){if(_0x2a0737())return!0x0;if(_0x4fad56()||_0x5df6cf())return!0x0;}return!0x1;}function _0x11046b(){const _0x3f3efc=_0x3e76,_0x3c55ac=_0x349fa9[_0x5ad1d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c55ac||0x0==_0x3c55ac[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3291f8}=new URL(window[_0x5ad1d2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3f3efc(0x233)]);if(_0x3c55ac[_0x5ad1d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3291f8))return!0x0;const _0x5df426=_0x3291f8[_0x5ad1d2([0x73,0x70,0x6c,0x69,0x74])](_0x5ad1d2([0x2e]));return _0x3c55ac[_0x5ad1d2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26853e=>_0x26853e[_0x5ad1d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad1d2([0x2a])))[_0x5ad1d2([0x6d,0x61,0x70])](_0x333f32=>_0x333f32[_0x5ad1d2([0x73,0x70,0x6c,0x69,0x74])](_0x5ad1d2([0x2e])))[_0x5ad1d2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x401014=>_0x401014[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5df426[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ad1d2([0x6d,0x61,0x70])](_0x2fe576=>Array(_0x5df426[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2fe576[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ad1d2([0x66,0x69,0x6c,0x6c])](_0x2fe576[0x0]===_0x5ad1d2([0x2a])?_0x5ad1d2([0x2a]):'')[_0x5ad1d2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2fe576))[_0x5ad1d2([0x73,0x6f,0x6d,0x65])](_0xb4535c=>_0x5df426[_0x5ad1d2([0x65,0x76,0x65,0x72,0x79])]((_0x4fe5ab,_0x22f830)=>_0xb4535c[_0x22f830]===_0x4fe5ab||_0xb4535c[_0x22f830]===_0x5ad1d2([0x2a])));}function _0x225c21(){return _0x697b1a&&_0x27389c?new window[(_0x5ad1d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x352470,_0x2a916a)=>{_0x697b1a[_0x5ad1d2([0x74,0x68,0x65,0x6e])](_0x352470,_0x2a916a),_0x27389c[_0x5ad1d2([0x74,0x68,0x65,0x6e])](_0x3ce598=>{_0x3ce598!=_0x5ad1d2([0x56,0x61,0x6c,0x69,0x64])&&_0x352470(_0x3ce598);},_0x2a916a);}):_0x697b1a||_0x27389c||_0x5ad1d2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x492fcf(_0xf1e1e0,_0x5b748d){return new window[(_0x5ad1d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x413f29=>{if(_0x332c95())return _0x413f29(_0x5ad1d2([0x56,0x61,0x6c,0x69,0x64]));_0x39efa1(),_0x5033ef[_0x5ad1d2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ad1d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb0914d=!0x1;const _0xf37ae5=_0x39624a();function _0x2fa236(_0x4aa0ed){return!!_0x4aa0ed&&(typeof _0x4aa0ed===_0x5ad1d2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4aa0ed===_0x5ad1d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4aa0ed[_0x5ad1d2([0x74,0x68,0x65,0x6e])]===_0x5ad1d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4aa0ed[_0x5ad1d2([0x63,0x61,0x74,0x63,0x68])]===_0x5ad1d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e1982(_0xa5a0dc){_0x10199e(_0xa5a0dc)[_0x5ad1d2([0x74,0x68,0x65,0x6e])](_0x257d1b=>{if(!_0x257d1b||_0x257d1b[_0x5ad1d2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ad1d2([0x6f,0x6b]))return _0x5ad1d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a90c4(_0xfbd56c(_0xf37ae5+_0x5b748d))!=_0x257d1b[_0x5ad1d2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ad1d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ad1d2([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ad1d2([0x74,0x68,0x65,0x6e])](_0x248b91=>(_0x481553(),_0x248b91),()=>{const _0x26eff8=_0x1a565b();return null==_0x26eff8?(_0x481553(),_0x5ad1d2([0x56,0x61,0x6c,0x69,0x64])):_0x5ad1d2(_0x5eb12d-_0x26eff8>(0x574a8eb3^_0x216d24)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ad1d2([0x74,0x68,0x65,0x6e])](_0x413f29)[_0x5ad1d2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x413f29(_0x5ad1d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x77b625=0x7370e433^_0x216d24;function _0x481553(){const _0x70e0ad=_0x5ad1d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a90c4(_0xfbd56c(_0xf1e1e0)),_0x36bce9=_0x426d3d(_0x4a90c4(window[_0x5ad1d2([0x4d,0x61,0x74,0x68])][_0x5ad1d2([0x63,0x65,0x69,0x6c])](_0x5eb12d/_0x77b625)));window[_0x5ad1d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ad1d2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x70e0ad,_0x36bce9);}function _0x1a565b(){const _0x4dfbfc=_0x5ad1d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a90c4(_0xfbd56c(_0xf1e1e0)),_0x20f0a6=window[_0x5ad1d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ad1d2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4dfbfc);return _0x20f0a6?window[_0x5ad1d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x426d3d(_0x20f0a6),0x10)*_0x77b625:null;}function _0x10199e(_0x5125a2){return new window[(_0x5ad1d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d697d,_0x5ee4df)=>{_0x5125a2[_0x5ad1d2([0x74,0x68,0x65,0x6e])](_0x3d697d,_0x5ee4df),window[_0x5ad1d2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ee4df,0x7347de73^_0x216d24);});}}_0x5033ef[_0x5ad1d2([0x6f,0x6e])](_0x5ad1d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x400f6f,_0x30e914)=>{if(_0x30e914[0x0]!=_0xf1e1e0)return _0x413f29(_0x5ad1d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30e914[0x1]={..._0x30e914[0x1],[_0x5ad1d2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf37ae5};},{[_0x5ad1d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ad1d2([0x68,0x69,0x67,0x68])}),_0x5033ef[_0x5ad1d2([0x6f,0x6e])](_0x5ad1d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xddd73a=>{_0x2fa236(_0xddd73a[_0x5ad1d2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb0914d=!0x0,_0x1e1982(_0xddd73a[_0x5ad1d2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ad1d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ad1d2([0x6c,0x6f,0x77])}),_0xa3993f[_0x5ad1d2([0x74,0x68,0x65,0x6e])](()=>{_0xb0914d||_0x413f29(_0x5ad1d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x332c95(){return _0x5033ef[_0x5ad1d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ad1d2([0x76,0x69,0x65,0x77])][_0x5ad1d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ad1d2([0x61,0x75,0x74,0x6f]);}function _0x39efa1(){_0x5033ef[_0x5ad1d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ad1d2([0x76,0x69,0x65,0x77])][_0x5ad1d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ad1d2([0x61,0x75,0x74,0x6f]);}}function _0x2ff38c(_0xc9c974){const _0x7b6e3b=[new window[(_0x5ad1d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x120ba9=>setTimeout(_0x120ba9,0x734f347f^_0x216d24)),_0xa3993f[_0x5ad1d2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ad1d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e3842=>{let _0x664d81=0x0;_0x5033ef[_0x5ad1d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ad1d2([0x6f,0x6e])](_0x5ad1d2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15b588,_0x7447b1)=>{_0x7447b1[0x0][_0x5ad1d2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x664d81++,_0x664d81==(0x73460f5b^_0x216d24)&&(_0x2e3842(),_0x15b588[_0x5ad1d2([0x6f,0x66,0x66])]());});}))];return window[_0x5ad1d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ad1d2([0x72,0x61,0x63,0x65])](_0x7b6e3b)[_0x5ad1d2([0x74,0x68,0x65,0x6e])](()=>_0xc9c974);}async function _0x1ccce1(){await _0xa3993f,_0x5033ef[_0x5ad1d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ad1d2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12ae69,_0x5033ef[_0x5ad1d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ad1d2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12ae69,_0x5033ef[_0x5ad1d2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ad1d2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x50a2d2(){return window[_0x5ad1d2([0x67,0x6c,0x6f,0x62])]&&window[_0x5ad1d2([0x67,0x6c,0x6f,0x62])][_0x5ad1d2([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2a0737(){return _0x4434bc(_0x5ad1d2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5b8bdb(_0x5ad1d2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5ad1d2([0x73,0x74,0x61,0x74,0x65])]==_0x5ad1d2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4fad56(){return _0x4434bc(_0x5ad1d2([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 _0x5df6cf(){return _0x4434bc(_0x5ad1d2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x1b8497(_0x2ee16b){const _0x32dfb3=_0x327def();_0x5033ef[_0x32dfb3]=_0x5ad1d2([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ee16b,_0x2ee16b!=_0x5ad1d2([0x56,0x61,0x6c,0x69,0x64])&&_0x1ccce1();}function _0x327def(){const _0x4a7397=window[_0x5ad1d2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ad1d2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ad1d2([0x6e,0x6f,0x77])]())[_0x5ad1d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ad1d2([0x2e]),'');let _0x1363d8=_0x5ad1d2([0x4b]);for(let _0x2510e3=0x0;_0x2510e3<_0x4a7397[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2510e3+=0x2){let _0x34c5a5=window[_0x5ad1d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a7397[_0x5ad1d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2510e3,_0x2510e3+0x2));_0x34c5a5>=_0x215a48[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34c5a5-=_0x215a48[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1363d8+=_0x215a48[_0x34c5a5];}return _0x1363d8;}function _0xd41368(){const _0x5dbeef=_0x325b4a[_0x5ad1d2([0x73,0x70,0x6c,0x69,0x74])](_0x5ad1d2([0x2e]));if(0x3!=_0x5dbeef[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26d391(_0x5dbeef[0x1]);function _0x26d391(_0x12075c){const _0x40f3ab=_0x35b6fe(_0x12075c);return _0x40f3ab&&_0xbc9481()?_0x40f3ab:null;function _0xbc9481(){const _0x1a518f=_0x40f3ab[_0x5ad1d2([0x6a,0x74,0x69])],_0x2679e7=window[_0x5ad1d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a518f[_0x5ad1d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a518f[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe9d7cf={..._0x40f3ab,[_0x5ad1d2([0x6a,0x74,0x69])]:_0x1a518f[_0x5ad1d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a518f[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe9d7cf[_0x5ad1d2([0x76,0x63])],_0xfbd56c(_0xe9d7cf)==_0x2679e7;}}}async function _0x238860(){let _0x392e2d=!0x0;try{const _0x214d9d=_0x325b4a[_0x5ad1d2([0x73,0x70,0x6c,0x69,0x74])](_0x5ad1d2([0x2e])),[_0x61863a,_0x1103be,_0xe448ee]=_0x214d9d;return _0x298b36(_0x61863a),await _0x130695(_0x61863a,_0x1103be,_0xe448ee),_0x392e2d;}catch{return!0x1;}function _0x298b36(_0x505209){const _0x12ba2c=_0x35b6fe(_0x505209);_0x12ba2c&&_0x12ba2c[_0x5ad1d2([0x61,0x6c,0x67])]==_0x5ad1d2([0x45,0x53,0x32,0x35,0x36])||(_0x392e2d=!0x1);}async function _0x130695(_0x4e228f,_0x4895e2,_0x11774f){const _0x2aeb2d=window[_0x5ad1d2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ad1d2([0x66,0x72,0x6f,0x6d])](_0x1335c4(_0x11774f),_0x12c8b6=>_0x12c8b6[_0x5ad1d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x189a23=new window[(_0x5ad1d2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ad1d2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e228f+_0x5ad1d2([0x2e])+_0x4895e2),_0x5d37f5=window[_0x5ad1d2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ad1d2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d37f5)return;const _0x45fd71=await _0x5d37f5[_0x5ad1d2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ad1d2([0x6a,0x77,0x6b]),_0x4430ed,{[_0x5ad1d2([0x6e,0x61,0x6d,0x65])]:_0x5ad1d2([0x45,0x43,0x44,0x53,0x41]),[_0x5ad1d2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ad1d2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ad1d2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d37f5[_0x5ad1d2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ad1d2([0x6e,0x61,0x6d,0x65])]:_0x5ad1d2([0x45,0x43,0x44,0x53,0x41]),[_0x5ad1d2([0x68,0x61,0x73,0x68])]:{[_0x5ad1d2([0x6e,0x61,0x6d,0x65])]:_0x5ad1d2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45fd71,_0x2aeb2d,_0x189a23)||(_0x392e2d=!0x1);}}function _0x35b6fe(_0x25479f){return _0x25479f[_0x5ad1d2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ad1d2([0x65,0x79]))?JSON[_0x5ad1d2([0x70,0x61,0x72,0x73,0x65])](_0x1335c4(_0x25479f)):null;}function _0x1335c4(_0x44b2be){return window[_0x5ad1d2([0x61,0x74,0x6f,0x62])](_0x44b2be[_0x5ad1d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ad1d2([0x2b]))[_0x5ad1d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ad1d2([0x2f])));}function _0xfbd56c(_0x57b4f7){let _0x49db76=0x1505;function _0x23aaa0(_0x38670d){for(let _0x3f0545=0x0;_0x3f0545<_0x38670d[_0x5ad1d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f0545++){const _0xd1deb6=_0x38670d[_0x5ad1d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f0545);_0x49db76=(_0x49db76<<0x5)+_0x49db76+_0xd1deb6,_0x49db76&=_0x49db76;}}function _0x311e22(_0x46b88b){Array[_0x5ad1d2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46b88b)?_0x46b88b[_0x5ad1d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x311e22):_0x46b88b&&typeof _0x46b88b==_0x5ad1d2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ad1d2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46b88b)[_0x5ad1d2([0x73,0x6f,0x72,0x74])]()[_0x5ad1d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b1113,_0x10d525])=>{_0x23aaa0(_0x4b1113),_0x311e22(_0x10d525);}):_0x23aaa0(window[_0x5ad1d2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46b88b));}return _0x311e22(_0x57b4f7),_0x49db76>>>0x0;}function _0x4a90c4(_0xda199a){return _0xda199a[_0x5ad1d2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ad1d2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ad1d2([0x30]));}function _0x426d3d(_0x3c5121){return _0x3c5121[_0x5ad1d2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ad1d2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ad1d2([0x6a,0x6f,0x69,0x6e])]('');}function _0x4434bc(_0x141769){return _0x5033ef[_0x5ad1d2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5ad1d2([0x68,0x61,0x73])](_0x141769);}function _0x5b8bdb(_0x2d11a1){return _0x5033ef[_0x5ad1d2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5ad1d2([0x67,0x65,0x74])](_0x2d11a1);}function _0x12ae69(){}function _0x5ad1d2(_0x54ffb5){const _0x1a1bef=_0x3e76;return _0x54ffb5[_0x1a1bef(0x25f)](_0x5972fe=>String[_0x1a1bef(0x250)](_0x5972fe))[_0x1a1bef(0x23a)]('');}_0x1b8497(await _0x3294c3());}(this);}[_0x7e5cbc(0x1df)](){const _0x42e455=_0x7e5cbc,_0x3efb7e=this[_0x42e455(0x23b)][_0x42e455(0x1d8)][_0x42e455(0x21f)](_0x419328),_0x5f4295=this[_0x42e455(0x23b)][_0x42e455(0x1ce)][_0x42e455(0x21f)](_0x42e455(0x20b));for(const _0x1aa206 of _0x3efb7e[_0x42e455(0x219)]({'channelId':_0x5f4295}))_0x3efb7e[_0x42e455(0x238)](_0x1aa206['id']),_0x3efb7e[_0x42e455(0x1eb)][_0x42e455(0x20a)](_0x1aa206['id']);super[_0x42e455(0x1df)]();}[_0x7e5cbc(0x222)](_0x2cf437){const _0x50a0f1=_0x7e5cbc;return this[_0x50a0f1(0x1f2)](_0x2cf437)[_0x50a0f1(0x263)]>0x0;}[_0x7e5cbc(0x1f2)](_0xce123f){const _0x39aba1=_0x7e5cbc,_0x2a2cfa=[];for(const _0x528b2b of this[_0x39aba1(0x23b)][_0x39aba1(0x1da)][_0x39aba1(0x226)])_0x528b2b[_0x39aba1(0x1e6)][_0x39aba1(0x1e2)](_0x39aba1(0x251)+_0xce123f)&&_0x2a2cfa[_0x39aba1(0x259)](_0x528b2b);return _0x2a2cfa;}[_0x7e5cbc(0x1db)](_0x46873a){setTimeout(()=>{const _0x43a4da=_0x3e76,_0x3e8b64=this[_0x43a4da(0x237)](_0x46873a);if(!_0x3e8b64)return;this[_0x43a4da(0x206)]&&_0x3d5850(this[_0x43a4da(0x206)])['id']===_0x46873a&&_0x359f2e({'target':_0x3e8b64[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x7e5cbc(0x248)](_0x3a3b91){const _0x5833ba=_0x7e5cbc;this[_0x5833ba(0x23b)][_0x5833ba(0x1da)][_0x5833ba(0x218)](()=>{const _0x42e2e8=_0x5833ba;for(const _0x5df567 of this[_0x42e2e8(0x1f2)](_0x3a3b91))this[_0x42e2e8(0x23b)][_0x42e2e8(0x252)][_0x42e2e8(0x255)](_0x5df567);});}[_0x7e5cbc(0x221)](_0x10d59f){const _0xd903a8=_0x7e5cbc,_0x3f3749=this[_0xd903a8(0x23b)][_0xd903a8(0x1d8)][_0xd903a8(0x21f)](_0x419328),_0x5476c5=this[_0xd903a8(0x23b)][_0xd903a8(0x1d8)][_0xd903a8(0x21f)](_0x4780d3),_0x527b44=_0x3f3749[_0xd903a8(0x1fb)](_0x10d59f);if(!_0x527b44[_0xd903a8(0x231)]){const _0xbd525e=_0x527b44[_0xd903a8(0x216)](()=>this[_0xd903a8(0x237)](_0x527b44['id']));_0x5476c5[_0xd903a8(0x240)](_0xbd525e),_0x527b44[_0xd903a8(0x210)]=!0x1;}}[_0x7e5cbc(0x24c)](){const _0x3a62d4=_0x7e5cbc,_0x491c85=this[_0x3a62d4(0x23b)],_0x335a1f=_0x491c85[_0x3a62d4(0x1d8)][_0x3a62d4(0x21f)](_0x4add28);_0x491c85[_0x3a62d4(0x22d)][_0x3a62d4(0x1c8)](_0x3a62d4(0x232))[_0x3a62d4(0x24f)]({'model':_0x3a62d4(0x1c6),'view':(_0x37cc0a,_0x3b7386)=>{const _0x3e1eab=_0x3a62d4,{id:_0x226c7a}=_0x3d5850(_0x37cc0a[_0x3e1eab(0x21b)]),_0x53e289=_0x491c85[_0x3e1eab(0x1d8)][_0x3e1eab(0x21f)](_0x419328)[_0x3e1eab(0x1fb)](_0x226c7a),_0x375960=this[_0x3e1eab(0x206)]&&_0x3d5850(this[_0x3e1eab(0x206)])['id']===_0x226c7a;let _0x26b87e;if(_0x53e289&&_0x53e289[_0x3e1eab(0x1f9)]&&!_0x375960&&_0x37cc0a[_0x3e1eab(0x20f)])return _0x3b7386[_0x3e1eab(0x1e8)][_0x3e1eab(0x225)](_0x37cc0a[_0x3e1eab(0x20f)],_0x3e1eab(0x1f0)+_0x37cc0a[_0x3e1eab(0x21b)]),_0x3b7386[_0x3e1eab(0x1e8)][_0x3e1eab(0x225)](_0x37cc0a[_0x3e1eab(0x20f)],_0x3e1eab(0x1d4)+_0x37cc0a[_0x3e1eab(0x21b)]),null;const _0x19efef=[_0x3e1eab(0x1c7)];return _0x375960&&_0x19efef[_0x3e1eab(0x259)](_0x3e1eab(0x200)),_0x26b87e=_0x53e289?.[_0x3e1eab(0x263)]?_0x53e289[_0x3e1eab(0x249)][_0x3e1eab(0x208)][_0x3e1eab(0x1ef)]['id']:_0x335a1f['me']['id'],{'classes':_0x19efef,'attributes':{'data-comment':_0x226c7a,'data-author-id':_0x26b87e}};}}),_0x491c85[_0x3a62d4(0x22d)][_0x3a62d4(0x1c8)](_0x3a62d4(0x1e3))[_0x3a62d4(0x22a)]({'model':_0x3a62d4(0x1c6),'view':(_0x10bd91,{options:_0x41710f})=>{const _0x7c9b5=_0x3a62d4;if(_0x41710f[_0x7c9b5(0x1c3)])return null;const _0x3aec34=_0x491c85[_0x7c9b5(0x1d8)][_0x7c9b5(0x21f)](_0x419328),_0x107434=_0x491c85[_0x7c9b5(0x1da)][_0x7c9b5(0x226)][_0x7c9b5(0x21f)](_0x10bd91),{id:_0x3d8c84,part:_0x53c61a}=_0x3d5850(_0x10bd91);return _0x107434&&!_0x107434[_0x7c9b5(0x258)]||_0x41710f[_0x7c9b5(0x264)]&&_0x3aec34[_0x7c9b5(0x1fb)](_0x3d8c84)?.[_0x7c9b5(0x1f9)]?null:{'group':_0x7c9b5(0x1c6),'name':_0x53c61a?_0x3d8c84+':'+_0x53c61a:_0x3d8c84};}}),_0x491c85[_0x3a62d4(0x22d)][_0x3a62d4(0x1c8)](_0x3a62d4(0x1e1))[_0x3a62d4(0x1ea)]({'view':{'name':_0x3a62d4(0x1c6),'attributes':{'id':/^\w/}},'model':(_0x2f4dcb,{writer:_0x3dfc76})=>_0x3dfc76[_0x3a62d4(0x21e)](_0x3a62d4(0x1f4),{'data-name':_0x3a62d4(0x251)+_0x2f4dcb[_0x3a62d4(0x217)]('id')})}),_0x491c85[_0x3a62d4(0x22d)][_0x3a62d4(0x1c8)](_0x3a62d4(0x1e1))[_0x3a62d4(0x235)]({'view':_0x3a62d4(0x1c6)});}[_0x7e5cbc(0x220)](){const _0x5908ed=_0x7e5cbc,_0x3fece5=this[_0x5908ed(0x23b)],_0x2f1a86=_0x3fece5[_0x5908ed(0x1d8)][_0x5908ed(0x21f)](_0x419328),_0x139473=new Set(),_0x31802f=new Set();_0x3fece5[_0x5908ed(0x1da)][_0x5908ed(0x245)][_0x5908ed(0x246)](_0x3e2822=>{const _0x51afa8=_0x5908ed;let _0x5f2dd0=!0x1;for(const {name:_0x4cb992,data:_0x47d86d}of _0x3fece5[_0x51afa8(0x1da)][_0x51afa8(0x245)][_0x51afa8(0x1c5)][_0x51afa8(0x230)]()){const {group:_0xd96c12,id:_0x2397f9}=_0x3d5850(_0x4cb992);let _0x4c52af=_0x47d86d[_0x51afa8(0x261)];if(_0x51afa8(0x1c6)!==_0xd96c12||!_0x4c52af)continue;const _0x25b3d2=_0x51afa8(0x1d0)===_0x4c52af[_0x51afa8(0x1fe)][_0x51afa8(0x23f)];_0x25b3d2||(_0x4c52af=ht(_0x4c52af,_0x3fece5[_0x51afa8(0x1da)]),!_0x4c52af||_0x4c52af[_0x51afa8(0x202)]||!_0x47d86d[_0x51afa8(0x261)]||_0x4c52af[_0x51afa8(0x224)](_0x47d86d[_0x51afa8(0x261)]))?_0x3fece5[_0x51afa8(0x1da)][_0x51afa8(0x213)](_0x4c52af)&&!_0x25b3d2?this[_0x51afa8(0x260)]?_0x139473[_0x51afa8(0x21d)](_0x4cb992):this[_0x51afa8(0x23d)](_0x4cb992,_0x2397f9):(_0x31802f[_0x51afa8(0x21d)](_0x4cb992),_0x139473[_0x51afa8(0x20a)](_0x4cb992),_0x3e2822[_0x51afa8(0x1ed)](_0x4cb992),_0x5f2dd0=!0x0):(_0x3e2822[_0x51afa8(0x1ec)](_0x4cb992,{'range':_0x4c52af}),_0x5f2dd0=!0x0);}return _0x5f2dd0;}),this['on'](_0x5908ed(0x25e),(_0x3c15ad,_0x441683,_0x496bef)=>{const _0x2d6a10=_0x5908ed;if(!_0x496bef&&_0x139473[_0x2d6a10(0x1fd)])for(const _0x131820 of _0x139473){const {id:_0x234218}=_0x3d5850(_0x131820);_0x139473[_0x2d6a10(0x20a)](_0x131820),_0x3fece5[_0x2d6a10(0x1da)][_0x2d6a10(0x226)][_0x2d6a10(0x21f)](_0x131820)&&this[_0x2d6a10(0x23d)](_0x131820,_0x234218);}}),this[_0x5908ed(0x24d)](_0x3fece5[_0x5908ed(0x1da)][_0x5908ed(0x245)],_0x5908ed(0x218),()=>{const _0x2e1fb5=_0x5908ed;for(const {name:_0x3c4b0d,data:{newRange:_0x4cdb9e}}of _0x3fece5[_0x2e1fb5(0x1da)][_0x2e1fb5(0x245)][_0x2e1fb5(0x1c5)][_0x2e1fb5(0x230)]()){const {group:_0x262e9f,id:_0x3ea3a1}=_0x3d5850(_0x3c4b0d);if(_0x2e1fb5(0x1c6)!==_0x262e9f)continue;const _0x55379a=_0x2f1a86[_0x2e1fb5(0x1fb)](_0x3ea3a1),_0x562ecb=this[_0x2e1fb5(0x222)](_0x3ea3a1);_0x55379a&&(!_0x55379a[_0x2e1fb5(0x210)]&&_0x4cdb9e&&_0x3fece5[_0x2e1fb5(0x252)][_0x2e1fb5(0x228)][_0x2e1fb5(0x1cf)](_0x2e1fb5(0x24a),()=>{const _0x39bd63=_0x2e1fb5,_0x2708ee=_0x3fece5[_0x39bd63(0x1d8)][_0x39bd63(0x21f)](_0x421fb7),_0x2942c5=_0x2f1a86[_0x39bd63(0x25c)][_0x39bd63(0x21f)](_0x55379a)[_0x39bd63(0x228)];_0x2708ee[_0x39bd63(0x1e0)](_0x2942c5)[_0x39bd63(0x242)]();},{'priority':_0x2e1fb5(0x236)}),_0x55379a[_0x2e1fb5(0x210)]=_0x562ecb||!!_0x4cdb9e),_0x4cdb9e||(_0x31802f[_0x2e1fb5(0x21d)](_0x3c4b0d),_0x139473[_0x2e1fb5(0x20a)](_0x3c4b0d));}for(const _0xa5b709 of _0x31802f){const {id:_0x49344a}=_0x3d5850(_0xa5b709),_0x18d47b=_0x2f1a86[_0x2e1fb5(0x1fb)](_0x49344a);if(_0x139473[_0x2e1fb5(0x20a)](_0xa5b709),!_0x18d47b)continue;const _0x21fda9=this[_0x2e1fb5(0x222)](_0x49344a);_0x21fda9||_0x18d47b[_0x2e1fb5(0x1fc)]?_0x21fda9||_0x18d47b[_0x2e1fb5(0x223)]||_0x18d47b[_0x2e1fb5(0x1f3)](new Date()):_0x18d47b[_0x2e1fb5(0x1d3)]();}_0x31802f[_0x2e1fb5(0x1d6)]();});}[_0x7e5cbc(0x1d9)](_0x46f689){const _0x2b91df=_0x7e5cbc;_0x46f689[_0x2b91df(0x214)](_0x33239a=>{const _0x19879=_0x2b91df;_0x33239a[_0x19879(0x223)]&&this[_0x19879(0x221)](_0x33239a['id']);});}[_0x7e5cbc(0x237)](_0x3187dd){const _0x527366=_0x7e5cbc,_0x32f8d0=this[_0x527366(0x23b)],_0x35cf5b=this[_0x527366(0x1f2)](_0x3187dd);return _0x5c5e26(_0x32f8d0[_0x527366(0x252)],_0x35cf5b);}[_0x7e5cbc(0x1d1)](_0x2b2ded){const _0x2d7937=_0x7e5cbc,_0x1c16d8=this[_0x2d7937(0x1f2)](_0x2b2ded);let _0x4ae4cb='',_0x4d7546=!0x1;for(const _0x8c200b of _0x1c16d8){const _0xff680b=_0x8c200b[_0x2d7937(0x247)]();for(const _0x4c2330 of Array[_0x2d7937(0x1d5)](_0xff680b[_0x2d7937(0x24b)]()))_0x4c2330['is'](_0x2d7937(0x243))?(_0x4ae4cb&&_0x4d7546&&(_0x4ae4cb+='\x20',_0x4d7546=!0x1),_0x4ae4cb+=_0x4c2330[_0x2d7937(0x239)]):_0x4d7546=!0x0;_0x4d7546=!0x0;}return _0x4ae4cb[_0x2d7937(0x211)](0x0,0x96);}[_0x7e5cbc(0x22e)](_0x3d807b,_0x49adae){const _0x574c06=_0x7e5cbc,_0x4a6ed7=this[_0x574c06(0x23b)],_0x20cdcb=_0x4a6ed7[_0x574c06(0x1d8)][_0x574c06(0x21f)](_0x419328);let _0x4178f7=_0x20cdcb[_0x574c06(0x1fb)](_0x49adae);const _0x15072f=_0x4a6ed7[_0x574c06(0x1ce)][_0x574c06(0x21f)](_0x574c06(0x20b)),_0x46b0bc=_0x4a6ed7[_0x574c06(0x1d8)][_0x574c06(0x21f)](_0x4780d3);if(_0x4178f7&&(_0x4178f7[_0x574c06(0x223)]&&_0x4178f7[_0x574c06(0x1f3)](null),_0x4178f7[_0x574c06(0x231)]))return _0x4178f7;return!this[_0x574c06(0x1f2)](_0x49adae)[0x0][_0x574c06(0x229)]?_0x4a6ed7[_0x574c06(0x252)][_0x574c06(0x228)][_0x574c06(0x1cf)](_0x574c06(0x24a),()=>{const _0x13d99d=_0x574c06;if(_0x20cdcb[_0x13d99d(0x1fb)](_0x49adae))return;const _0x532119=_0x4a6ed7[_0x13d99d(0x1d8)][_0x13d99d(0x21f)](_0x421fb7);_0x4178f7=_0x20cdcb[_0x13d99d(0x25b)]({'channelId':_0x15072f,'threadId':_0x49adae,'target':()=>this[_0x13d99d(0x237)](_0x49adae),'context':{'type':_0x13d99d(0x25d),'value':this[_0x13d99d(0x1d1)](_0x49adae)}});const _0x147f69=_0x20cdcb[_0x13d99d(0x25c)][_0x13d99d(0x21f)](_0x4178f7)[_0x13d99d(0x228)],_0x31dae2=_0x532119[_0x13d99d(0x1e0)](_0x147f69);_0x31dae2&&_0x46b0bc[_0x13d99d(0x240)](_0x31dae2);},{'priority':_0x574c06(0x236)}):_0x20cdcb[_0x574c06(0x1f7)]({'channelId':_0x15072f,'threadId':_0x49adae})[_0x574c06(0x22f)](_0x1f677f=>{const _0x34c14c=_0x574c06;if(_0x34c14c(0x1cd)!==_0x4a6ed7[_0x34c14c(0x22c)]){if(_0x4178f7=_0x1f677f,_0x4178f7&&!_0x4178f7[_0x34c14c(0x231)]){const _0x537837=_0x4178f7[_0x34c14c(0x216)](()=>this[_0x34c14c(0x237)](_0x49adae));_0x46b0bc[_0x34c14c(0x240)](_0x537837),_0x4178f7[_0x34c14c(0x1f9)]&&this[_0x34c14c(0x248)](_0x49adae);}else{if(!_0x4178f7){const _0x2c05eb=this[_0x34c14c(0x1f2)](_0x49adae);_0x4a6ed7[_0x34c14c(0x1da)][_0x34c14c(0x218)](_0x1ae1d4=>{const _0x56ff5b=_0x34c14c;for(const _0x5a3047 of _0x2c05eb)_0x1ae1d4[_0x56ff5b(0x1ed)](_0x5a3047);});}}}}),_0x4178f7;}[_0x7e5cbc(0x23d)](_0x596085,_0xf9bd43){const _0x68b06=_0x7e5cbc,_0x520a6a=this[_0x68b06(0x22e)](_0x596085,_0xf9bd43);_0x520a6a&&!_0x520a6a[_0x68b06(0x1f8)]&&_0x520a6a[_0x68b06(0x1fa)]({'type':_0x68b06(0x25d),'value':this[_0x68b06(0x1d1)](_0xf9bd43)});}[_0x7e5cbc(0x20c)](){const _0x129d96=_0x7e5cbc,_0x5bf768=this[_0x129d96(0x23b)];_0x316b8d(_0x5bf768[_0x129d96(0x1da)],({left:_0x1131fd,entered:_0x24b537})=>{const _0x30a7f7=_0x129d96;for(const _0x1807fc of _0x1131fd)if(mt(_0x1807fc)){_0x5bf768['ui'][_0x30a7f7(0x204)][_0x30a7f7(0x1c9)](_0x1e65ef(_0x5bf768[_0x30a7f7(0x1cc)],_0x30a7f7(0x205)));break;}for(const _0x3ec9c7 of _0x24b537)if(mt(_0x3ec9c7)){_0x5bf768['ui'][_0x30a7f7(0x204)][_0x30a7f7(0x1c9)](_0x1e65ef(_0x5bf768[_0x30a7f7(0x1cc)],_0x30a7f7(0x25a),_0x1c221c(_0x446468)));break;}});}}function _0x3724(){const _0x3fbb8c=['hasDomSelection','filter','reconvertMarker','CommentsEditing','addCommentThread','affectsData','push','ENTER_COMMENT_ANNOUNCEMENT','openNewCommentThread','_threadToController','text','change:isThreadsLoadingPaused','map','isThreadsLoadingPaused','newRange','addComment','length','ignoreResolvedComments','showCommentHighlights','2609424sQBiCE','differ','comment','ck-comment-marker','for','announce','1077339XWjdIg','getWalker','locale','destroyed','config','once','$graveyard','_getTextContext','isObject','remove','removeMarker:','from','clear','createRange','plugins','_handleInitialThreads','model','scrollToThreadMarker','isOfficialPlugin','channelId','switchReadOnly','destroy','getByInnerView','upcast','startsWith','dataDowncast','resolveCommentThread','10864798lTuALS','name','hasCommentThread','consumable','444wZxLbc','elementToElement','_threads','updateMarker','removeMarker','commands','author','addMarker:','change:isReadOnly','getAllMarkersForId','setUnlinkedAt','$marker','createPositionBefore','pluginName','fetchCommentThread','context','isResolved','setContext','getCommentThread','isSubmitted','size','root','focus','ck-comment-marker--active','enqueueChange','isCollapsed','requires','ariaLiveAnnouncer','LEAVE_COMMENT_ANNOUNCEMENT','activeMarker','reopenCommentThread','first','1011445FRNWWc','delete','collaboration.channelId','_initAriaMarkerChangeAnnouncements','group','removeCommentThread','item','_hasTargetInContent','substring','29574296HpASkN','hasContent','forEach','schema','attachTo','getAttribute','change','getCommentThreads','end','markerName','isPremiumPlugin','add','createElement','get','_handleMarkerAddAndRemove','_attachArchivedThread','hasMarkerForId','unlinkedAt','isEqual','consume','markers','start','view','managedUsingOperations','markerToData','set','state','conversion','_attachMarkerToThread','then','getChangedMarkers','isAttached','editingDowncast','href','afterInit','dataToMarker','low','_getTargetForId','_detachCommentThread','data','join','editor','1566336fOBNLf','_handleThreadMarker','init','rootName','registerAnnotation','13953syhVTa','refreshVisibility','$textProxy','change:activeMarker','document','registerPostFixer','getRange','_reconvertMarkers','comments','render','getItems','_initializeMarkerConverters','listenTo','ready','markerToHighlight','fromCharCode','comment:','editing'];_0x3724=function(){return _0x3fbb8c;};return _0x3724();}function dt(_0xf4a37c,_0x33bd77){return _0x33bd77?_0xf4a37c+':'+_0x33bd77:_0xf4a37c;}function ht(_0x70b339,_0x59119c){const _0x18c308=_0x7e5cbc,_0x4b820e=_0x59119c[_0x18c308(0x215)],_0x580214=_0x59119c[_0x18c308(0x1d7)](_0x70b339[_0x18c308(0x227)]);for(const _0x463d56 of _0x70b339[_0x18c308(0x1cb)]()){const {type:_0x466da1,item:_0x2935e0,nextPosition:_0x3db05a}=_0x463d56;if(_0x18c308(0x25d)===_0x466da1||_0x4b820e[_0x18c308(0x1d2)](_0x2935e0)){const _0x293c98=_0x59119c[_0x18c308(0x1f5)](_0x2935e0);_0x580214[_0x18c308(0x202)]&&(_0x580214[_0x18c308(0x227)]=_0x293c98),_0x580214[_0x18c308(0x21a)]=_0x3db05a;}}return _0x580214;}function mt(_0x4bbff9){const _0x11dd04=_0x7e5cbc;return _0x11dd04(0x1c6)===_0x3d5850(_0x4bbff9[_0x11dd04(0x1e6)])[_0x11dd04(0x20d)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x563a64=_0xc508;(function(_0x2f3bdd,_0x3c7bcb){const _0x1fdabd=_0xc508,_0x2b7f49=_0x2f3bdd();while(!![]){try{const _0xaf3f17=-parseInt(_0x1fdabd(0x128))/0x1*(-parseInt(_0x1fdabd(0xcf))/0x2)+-parseInt(_0x1fdabd(0x14e))/0x3*(parseInt(_0x1fdabd(0x154))/0x4)+parseInt(_0x1fdabd(0x10b))/0x5+parseInt(_0x1fdabd(0x191))/0x6*(-parseInt(_0x1fdabd(0xc6))/0x7)+parseInt(_0x1fdabd(0x102))/0x8+-parseInt(_0x1fdabd(0xca))/0x9*(parseInt(_0x1fdabd(0xd4))/0xa)+-parseInt(_0x1fdabd(0xc5))/0xb*(parseInt(_0x1fdabd(0xf2))/0xc);if(_0xaf3f17===_0x3c7bcb)break;else _0x2b7f49['push'](_0x2b7f49['shift']());}catch(_0x1944b7){_0x2b7f49['push'](_0x2b7f49['shift']());}}}(_0x2d1a,0xb5d1a));import{PendingActions as _0x113498,ContextPlugin as _0x152e27,Editor as _0x1a797c}from'ckeditor5/src/core.js';import{Collection as _0x3de8d6,uid as _0x2a8010,CKEditorError as _0x687c02,ObservableMixin as _0x28afdc}from'ckeditor5/src/utils.js';function _0x2d1a(){const _0x1ff499=['commentsrepository-invalid-comment-authorid','locale','channelId','_updateCommentThread','commentsrepository-resolved-comment-thread','then','textContent','focusableElements','_createCommentThreadView','_detachCommentThread','attributes','commentsrepository-invalid-comment-content','commentsrepository-add-comment-user-not-exists','addComment','define','comments','comments.CommentThreadView','commentsrepository-remove-missing-comment','modifyAll','141468jHxVKe','CommentView','commentsrepository-get-comment-invalid-id','_createNewComment','setContext','commentsrepository-invalid-commentid','add','_removeActiveAnnotation','focus','_add','content','createdAt','from','removeAttribute','comments.maxThreadTotalWeight','commentsrepository-reopen-comment-thread-internal-error','_adapter','length','_repository','change:authoredAt','lowest','authorName','_isAttached','CommentThreadView','filter','@external','_remove','change:isDirty','canComment','comments.editorConfig','change:_readOnlyChannels','values','hasCommentThread','commentsrepository-update-comment-internal-error','bind','_updateActiveAnnotation','isResolvable','commentsrepository-remove-comment-internal-error','133227UUcWbt','commentsrepository-add-comment-to-missing-comment-thread','_updateComment','assign','change:activeAnnotations','comments.CommentView','8SSuJhd','_bindAnnotationToEditors','isAttached','isEditable','CommentsRepository','function','commentsrepository-missing-target','get','init','view','resolvedAt','commentId','commentsrepository-duplicated-comment-thread-id','licenseKey','commentsrepository-adapter-already-set','commentsrepository-attach-missing-comment-thread','_update','_permissions','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','body','resolve','config','threadId','openNewCommentThread','admin','model','comments.copyMarkers','getByInnerView','getCommentThread','getUser','isOfficialPlugin','stopListening','update','commentsrepository-active-missing-comment-thread','submitCommentThread','updateComment','commentsrepository-update-missing-comment','plugins','set','createCommentThreadController','commentsrepository-missing-comment-thread','isRemovable','getCommentThreads','write','_addComment','setActiveCommentThread','activate','PendingActions','switchReadOnly','change:_permissions','PENDING_ACTION_COMMENT_THREAD','isVisible','warn','commentsrepository-update-comment-thread-internal-error','commentsrepository-resolve-comment-thread-internal-error','commentsListView','_removeCommentThread','commentsrepository-invalid-comment-thread-id','editorDestroyed','_addCommentThread','commentsrepository-remove-missing-comment-thread','6FekDJh','getTime','commentThreadInputView','removeCommentThread','comments.maxCommentsWhenCollapsed','_readOnlyChannels','getComment','commentInputView','remove','once','destroy','listenTo','_reopenCommentThread','activeCommentThread','submit','noChannel','_unbindEditors','map','bodyCollectionContainer','commentsrepository-reopen-comment-thread','reopen','editorReady','innerView','reopenCommentThread','isResolved','push','commentsrepository-missing-thread-and-adapter-method','deactivateAll','isFromAdapter','_resolveCommentThread','77uZPLvt','4350353kdoMiL','catch','isSubmitted','trim','9qPlLyv','commentUpdated','isExternal','pluginName','getPermissions','8SUkqce','isDirty','find','isReadOnly','string','8291190UJfAep','updateCommentThread','_threads','type','max','fire','commentsrepository-remove-comment-missing-comment-thread','fetchCommentThread','highest','getCommentThreadForAnnotation','addCommentThread','createElement','reduce','_attachCommentThread','commentsrepository-remove-comment-thread-internal-error','getIndex','setAttribute','commentsrepository-fetch-comment-thread','authoredAt','adapter','commentsrepository-add-comment-thread-internal-error','_viewToController','_submitCommentThread','context','resolvedBy','addUser','removeComment','_hasTargetInContent','creator','delete','809688HcCgLL','_isSubmitted','_findOptimalIndex','isPremiumPlugin','commentsrepository-add-comment-internal-error','attachTo','author','_getExternalAuthor','_threadToController','innerHTML','external:','escape','resolveCommentThread','commentsrepository-active-not-attached','isActive','has','7166056rMlyOE','setPermissions','weight','archivedAt','unlinkedAt','div','toJSON','error','focusTracker','6474175Rmbxpq','commentsrepository-update-comment-invalid-content','requires','comment','refreshVisibility','getAnnotationForCommentThread','setUnlinkedAt','_removeComment','commentsrepository-update-comment-missing-comment-thread','comments.maxCommentCharsWhenCollapsed'];_0x2d1a=function(){return _0x1ff499;};return _0x2d1a();}import{getDateTimeFormatter as _0x586e08,hashObject as _0x113e13,Users as _0x4ecbd7}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x1bc804,isEqual as _0x4efd5b,set as _0x2f1fd5,unset as _0x1358af}from'es-toolkit/compat';function _0xc508(_0x4f8f5b,_0x4e8936){const _0x2d1aa4=_0x2d1a();return _0xc508=function(_0xc5080e,_0x17200c){_0xc5080e=_0xc5080e-0xbf;let _0x224d88=_0x2d1aa4[_0xc5080e];return _0x224d88;},_0xc508(_0x4f8f5b,_0x4e8936);}import{CommentThreadController as _0x308781}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x554633}from'./ui/view/commentthreadview.js';import{CommentView as _0x5eb85b}from'./ui/view/commentview.js';import{getTranslation as _0x131ebb}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x5dc41b}from'../annotations/view/annotationview.js';import{Annotation as _0x5b2e95}from'../annotations/annotation.js';import{Annotations as _0x343c16}from'../annotations/annotations.js';const _t=Symbol(_0x563a64(0x1a0)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x152e27{[_0x563a64(0xd6)];[_0x563a64(0xfa)];[_0x563a64(0xe9)];static get[_0x563a64(0x10d)](){return[_0x343c16,_0x113498,_0x4ecbd7];}static get[_0x563a64(0xcd)](){const _0x38bf1c=_0x563a64;return _0x38bf1c(0x158);}static get[_0x563a64(0x172)](){return!0x0;}static get[_0x563a64(0xf5)](){return!0x0;}constructor(_0x1853a4){const _0x301f72=_0x563a64;super(_0x1853a4),this[_0x301f72(0xd6)]=new Map(),this[_0x301f72(0xfa)]=new Map(),this[_0x301f72(0xe9)]=new Map(),this[_0x301f72(0x17a)](_0x301f72(0x196),new Set()),this[_0x301f72(0x17a)](_0x301f72(0x165),new Map());const _0x367774=this[_0x301f72(0xeb)][_0x301f72(0x169)];_0x367774[_0x301f72(0x123)](_0x301f72(0x195),0x2),_0x367774[_0x301f72(0x123)](_0x301f72(0x136),0x1f4),_0x367774[_0x301f72(0x123)](_0x301f72(0x114),0x8c),_0x367774[_0x301f72(0x123)](_0x301f72(0x125),_0x554633),_0x367774[_0x301f72(0x123)](_0x301f72(0x153),_0x5eb85b),_0x367774[_0x301f72(0x15b)](_0x301f72(0x145))||console[_0x301f72(0x188)](_0x301f72(0x166));}[_0x563a64(0x15c)](){const _0xf4d7d6=_0x563a64,_0x3b5450=this[_0xf4d7d6(0xeb)][_0xf4d7d6(0x179)][_0xf4d7d6(0x15b)](_0x343c16);this[_0xf4d7d6(0x17a)](_0xf4d7d6(0x19e),null),this['on'](_0xf4d7d6(0xde),(_0x4e569d,_0x381a4e)=>this[_0xf4d7d6(0x18f)](_0x381a4e)),this['on'](_0xf4d7d6(0x176),(_0x5bc63f,_0x28117e)=>this[_0xf4d7d6(0xea)](_0x28117e)),this['on'](_0xf4d7d6(0xfe),(_0x1c8307,_0x25a982)=>this[_0xf4d7d6(0xc4)](_0x25a982)),this['on'](_0xf4d7d6(0xfe),(_0x1cfa7c,_0x2a7dfe)=>this[_0xf4d7d6(0x14b)](_0x2a7dfe),{'priority':_0xf4d7d6(0x13c)}),this['on'](_0xf4d7d6(0x1a8),(_0x2b30d7,_0x3f326d)=>this[_0xf4d7d6(0x19d)](_0x3f326d)),this['on'](_0xf4d7d6(0x1a8),(_0x425dcc,_0x10146d)=>this[_0xf4d7d6(0x14b)](_0x10146d),{'priority':_0xf4d7d6(0x13c)}),this['on'](_0xf4d7d6(0x194),(_0x4726a9,_0x2dfac9)=>this[_0xf4d7d6(0x18c)](_0x2dfac9)),this['on'](_0xf4d7d6(0xd5),(_0x217a7b,_0x564752)=>this[_0xf4d7d6(0x118)](_0x564752)),this['on'](_0xf4d7d6(0xd5),(_0x4e1eac,_0xecf74c)=>this[_0xf4d7d6(0x14b)](_0xecf74c),{'priority':_0xf4d7d6(0x13c)}),this['on'](_0xf4d7d6(0x122),(_0x537293,_0x55a49f)=>this[_0xf4d7d6(0x180)](_0x55a49f)),this['on'](_0xf4d7d6(0x177),(_0x49c7f7,_0x3b15c3)=>this[_0xf4d7d6(0x150)](_0x3b15c3)),this['on'](_0xf4d7d6(0xee),(_0x17792a,_0xcdb36d)=>this[_0xf4d7d6(0x112)](_0xcdb36d)),this['on'](_0xf4d7d6(0x122),(_0x466d0b,{threadId:_0x628a54,isFromAdapter:_0x449cf8})=>{const _0x2614b5=_0xf4d7d6;if(_0x449cf8)return;const _0x89cecc=this[_0x2614b5(0x170)](_0x628a54),_0x5bd74f=_0x89cecc&&this[_0x2614b5(0xfa)][_0x2614b5(0x15b)](_0x89cecc);_0x5bd74f&&_0x5bd74f[_0x2614b5(0x15d)][_0x2614b5(0x18b)][_0x2614b5(0x130)](-0x1);},{'priority':_0xf4d7d6(0x13c)}),this[_0xf4d7d6(0x19c)](_0x3b5450,_0xf4d7d6(0x152),(_0x17c4ce,_0x393276,_0x12385d)=>{const _0x46eee8=_0xf4d7d6,_0x3f40a5=Array[_0x46eee8(0x134)](_0x12385d)[_0x46eee8(0x1a2)](_0x31a931=>this[_0x46eee8(0xe9)][_0x46eee8(0x15b)](_0x31a931[_0x46eee8(0x1a7)]))[_0x46eee8(0x140)](Boolean)[0x0];this[_0x46eee8(0x19e)]=_0x3f40a5?_0x3f40a5[_0x46eee8(0x16d)]:null;});}set[_0x563a64(0xe7)](_0x2fb6f8){const _0x44fe27=_0x563a64;if(this[_0x44fe27(0x138)])throw new _0x687c02(_0x44fe27(0x162));this[_0x44fe27(0x138)]=_0x2fb6f8;}get[_0x563a64(0xe7)](){const _0xa65746=_0x563a64;return this[_0xa65746(0x138)];}[_0x563a64(0xde)]({channelId:_0x383bb3=_t,threadId:_0x4fdf03=_0x2a8010(),comments:_0x15866e=[],unlinkedAt:_0x29a397=null,resolvedAt:_0xca6fde=null,resolvedBy:_0x4d8fc7=null,target:_0x402ba2=null,context:_0x1aba46=null,attributes:_0x3957fa={},isResolvable:_0x16a289=!0x0,isSubmitted:_0x57823e=!0x1,isFromAdapter:_0x144c46=!0x1}={}){const _0xd2bfa4=_0x563a64;return this[_0xd2bfa4(0xd9)](Nt(_0xd2bfa4(0xde),_0x383bb3),{'channelId':_0x383bb3,'threadId':_0x4fdf03,'comments':_0x15866e,'unlinkedAt':_0x29a397,'resolvedAt':_0xca6fde,'resolvedBy':_0x4d8fc7,'target':_0x402ba2,'context':_0x1aba46,'attributes':_0x3957fa,'isFromAdapter':_0x144c46,'isResolvable':_0x16a289,'isSubmitted':_0x57823e}),this[_0xd2bfa4(0x170)](_0x4fdf03);}[_0x563a64(0x16b)]({channelId:_0x4c8721=_t,threadId:_0x34380e=_0x2a8010(),target:_0x351621,context:_0x254dae=null,isResolvable:_0x3c403c=!0x0}){const _0x374125=_0x563a64;if(this[_0x374125(0x196)][_0x374125(0x101)](_0x4c8721)||this[_0x374125(0x196)][_0x374125(0x101)](void 0x0))return null;if(!_0x351621)throw new _0x687c02(_0x374125(0x15a));const _0x54f64a=this[_0x374125(0xde)]({'channelId':_0x4c8721,'threadId':_0x34380e,'target':_0x351621,'context':_0x254dae,'isResolvable':_0x3c403c});if(!_0x54f64a)return null;const _0x124fc5=this[_0x374125(0xfa)][_0x374125(0x15b)](_0x54f64a),_0x4983f8=_0x124fc5[_0x374125(0x15d)][_0x374125(0x193)][_0x374125(0x198)],_0x347791=this[_0x374125(0xeb)][_0x374125(0x179)][_0x374125(0x15b)](_0x343c16),_0x3d156b=_0x347791[_0x374125(0x16f)](_0x124fc5[_0x374125(0x15d)]);return _0x347791[_0x374125(0x182)](_0x3d156b),_0x4983f8[_0x374125(0x19a)](_0x374125(0x1a6),()=>_0x4983f8[_0x374125(0x130)]()),_0x54f64a;}[_0x563a64(0x148)](_0x345f94){const _0x4caafa=_0x563a64;if(_0x4caafa(0xd3)!=typeof _0x345f94)throw new _0x687c02(_0x4caafa(0x18d));return this[_0x4caafa(0xd6)][_0x4caafa(0x101)](_0x345f94);}[_0x563a64(0xd5)]({channelId:_0x6b36c5=_t,threadId:_0x55f1c0,context:_0x1fd478,unlinkedAt:_0x218cb7,attributes:_0x35f523,isFromAdapter:_0x17ca94=!0x1}){const _0x573f3d=_0x563a64;return this[_0x573f3d(0xd9)](Nt(_0x573f3d(0xd5),_0x6b36c5),{'channelId':_0x6b36c5,'threadId':_0x55f1c0,'context':_0x1fd478,'unlinkedAt':_0x218cb7,'attributes':_0x35f523,'isFromAdapter':_0x17ca94}),this[_0x573f3d(0x170)](_0x55f1c0);}[_0x563a64(0x170)](_0x490fa1){const _0x3cca6f=_0x563a64;if(_0x3cca6f(0xd3)!=typeof _0x490fa1)throw new _0x687c02(_0x3cca6f(0x18d));return this[_0x3cca6f(0xd6)][_0x3cca6f(0x15b)](_0x490fa1);}[_0x563a64(0xdb)]({channelId:_0xb1f5f0,threadId:_0x33f280}={}){const _0x5a8571=_0x563a64,_0x29c569=this[_0x5a8571(0x170)](_0x33f280);if(_0x29c569)return Promise[_0x5a8571(0x168)](_0x29c569);if(!this[_0x5a8571(0xe7)])return Promise[_0x5a8571(0x168)](void 0x0);if(_0x5a8571(0x159)!=typeof this[_0x5a8571(0xe7)][_0x5a8571(0x170)])throw new _0x687c02(_0x5a8571(0xc1),this[_0x5a8571(0xeb)]);return this[_0x5a8571(0xe7)][_0x5a8571(0x170)]({'channelId':_0xb1f5f0,'threadId':_0x33f280})[_0x5a8571(0x11a)](_0x17ab8c=>this[_0x5a8571(0x148)](_0x33f280)?this[_0x5a8571(0x170)](_0x33f280):_0x17ab8c?this[_0x5a8571(0xde)](Object[_0x5a8571(0x151)]({'isFromAdapter':!0x0,'channelId':_0xb1f5f0},_0x17ab8c)):void 0x0)[_0x5a8571(0xc7)](_0x370f7a=>{const _0x30c2a5=_0x5a8571;throw console[_0x30c2a5(0x109)](_0x370f7a),new _0x687c02(_0x30c2a5(0xe5),this[_0x30c2a5(0xeb)]);});}[_0x563a64(0x17e)]({channelId:_0x107094,skipNotAttached:_0x35769c=!0x1,skipEmpty:_0x3b13ce=!0x1,toJSON:_0x27567e=!0x1}={}){const _0x5b51af=_0x563a64,_0x4f2011=[];for(const _0x440bc0 of this[_0x5b51af(0xd6)][_0x5b51af(0x147)]())_0x107094&&_0x440bc0[_0x5b51af(0x117)]!==_0x107094||_0x35769c&&!_0x440bc0[_0x5b51af(0x156)]||_0x3b13ce&&0x0===_0x440bc0[_0x5b51af(0x139)]||_0x4f2011[_0x5b51af(0xc0)](_0x440bc0);return _0x27567e?_0x4f2011[_0x5b51af(0x1a2)](_0x433c77=>_0x433c77[_0x5b51af(0x108)]()):_0x4f2011;}[_0x563a64(0x110)](_0x1d7008){const _0x51528f=_0x563a64,_0x3c8513=this[_0x51528f(0xfa)][_0x51528f(0x15b)](_0x1d7008);if(!_0x3c8513)return null;return this[_0x51528f(0xeb)][_0x51528f(0x179)][_0x51528f(0x15b)](_0x343c16)[_0x51528f(0x16f)](_0x3c8513[_0x51528f(0x15d)])||null;}[_0x563a64(0xdd)](_0x9e4210){const _0x6d23fe=_0x563a64,_0x5228ba=this[_0x6d23fe(0xe9)][_0x6d23fe(0x15b)](_0x9e4210[_0x6d23fe(0x1a7)]);return _0x5228ba?_0x5228ba[_0x6d23fe(0x16d)]:null;}[_0x563a64(0x181)](_0x536a77){const _0x4ab735=_0x563a64,_0x1d483b=this[_0x4ab735(0xeb)][_0x4ab735(0x179)][_0x4ab735(0x15b)](_0x343c16);if(!_0x536a77)return void(this[_0x4ab735(0x19e)]&&_0x1d483b[_0x4ab735(0xc2)]());const _0x251b0d=this[_0x4ab735(0x170)](_0x536a77);if(!_0x251b0d)throw new _0x687c02(_0x4ab735(0x175),null,{'threadId':_0x536a77});if(!this[_0x4ab735(0xfa)][_0x4ab735(0x101)](_0x251b0d))throw new _0x687c02(_0x4ab735(0xff),null,{'threadId':_0x536a77});const _0xf0ebcf=_0x1d483b[_0x4ab735(0x16f)](this[_0x4ab735(0xfa)][_0x4ab735(0x15b)](_0x251b0d)[_0x4ab735(0x15d)]);_0x1d483b[_0x4ab735(0x182)](_0xf0ebcf);}[_0x563a64(0x184)](_0x3c8467,_0x329d18){const _0x35c07d=_0x563a64;_0x3c8467?this[_0x35c07d(0x196)][_0x35c07d(0x12e)](_0x329d18):this[_0x35c07d(0x196)][_0x35c07d(0xf1)](_0x329d18),this[_0x35c07d(0xd9)](_0x35c07d(0x146),_0x35c07d(0x196),this[_0x35c07d(0x196)],this[_0x35c07d(0x196)]);}[_0x563a64(0xd2)](_0x3e7d3e){const _0x4b4d02=_0x563a64;return this[_0x4b4d02(0x196)][_0x4b4d02(0x101)](_0x3e7d3e)||this[_0x4b4d02(0x196)][_0x4b4d02(0x101)](void 0x0);}[_0x563a64(0x17b)](_0x3ebeab,_0x5ac110){return new _0x308781(_0x3ebeab,_0x5ac110);}[_0x563a64(0x103)](_0x1c1dbc,_0x277fce=_t){const _0x44469f=_0x563a64;this[_0x44469f(0x165)][_0x44469f(0x17a)](_0x277fce,_0x1c1dbc),this[_0x44469f(0xd9)](_0x44469f(0x185),_0x44469f(0x165),this[_0x44469f(0x165)],this[_0x44469f(0x165)]);}[_0x563a64(0xce)](_0x293f0f=_t){const _0x3920b6=_0x563a64;return this[_0x3920b6(0x165)][_0x3920b6(0x101)](_0x293f0f)?this[_0x3920b6(0x165)][_0x3920b6(0x15b)](_0x293f0f):bt;}[_0x563a64(0x18f)]({channelId:_0x2e43eb,threadId:_0x1ec94f,comments:_0x42b063,unlinkedAt:_0x3da92c,resolvedAt:_0xcda431,resolvedBy:_0x2b7a94,target:_0x3ba4c8,context:_0x269e53,attributes:_0x303edd,isFromAdapter:_0x1460b3,isResolvable:_0x515194,isSubmitted:_0x55e452}){const _0x4ead52=_0x563a64;if(_0x4ead52(0xd3)!=typeof _0x1ec94f)throw new _0x687c02(_0x4ead52(0x18d),null,{'threadId':_0x1ec94f});if(this[_0x4ead52(0x148)](_0x1ec94f))throw new _0x687c02(_0x4ead52(0x160),null,{'threadId':_0x1ec94f});const _0x1b2cd1=new CommentThread(this,{'channelId':_0x2e43eb,'id':_0x1ec94f,'context':_0x269e53,'attributes':_0x303edd,'unlinkedAt':_0x3da92c,'resolvedAt':_0xcda431,'resolvedBy':_0x2b7a94?this[_0x4ead52(0xeb)][_0x4ead52(0x179)][_0x4ead52(0x15b)](_0x4ecbd7)[_0x4ead52(0x171)](_0x2b7a94):null,'isResolvable':_0x515194,'isSubmitted':_0x55e452||_0x1460b3});this[_0x4ead52(0xd6)][_0x4ead52(0x17a)](_0x1ec94f,_0x1b2cd1);for(const _0x113df4 of _0x42b063)_0x1b2cd1[_0x4ead52(0x131)](this[_0x4ead52(0x12b)]({'threadId':_0x1ec94f,..._0x113df4}));return _0x3ba4c8&&_0x1b2cd1[_0x4ead52(0xf7)](_0x3ba4c8),_0x1460b3||!_0x1b2cd1[_0x4ead52(0x139)]?Promise[_0x4ead52(0x168)]():this[_0x4ead52(0xea)]({'channelId':_0x2e43eb,'threadId':_0x1ec94f});}[_0x563a64(0xea)]({channelId:_0x41a2ce,threadId:_0x409fc8}){const _0x479aef=_0x563a64;if(!this[_0x479aef(0x148)](_0x409fc8))throw new _0x687c02(_0x479aef(0x17c),this);const _0x216f9e=this[_0x479aef(0x170)](_0x409fc8);if(_0x216f9e[_0x479aef(0xf3)]=!0x0,!this[_0x479aef(0xe7)]||_0x479aef(0x159)!=typeof this[_0x479aef(0xe7)][_0x479aef(0xde)])return Promise[_0x479aef(0x168)]();const {id:_0x155f79,comments:_0x26a4f6,resolvedAt:_0xd30c11,resolvedBy:_0x5baa71,context:_0x34da02,attributes:_0x3b2c2c}=_0x216f9e,_0x3651ba=this[_0x479aef(0xeb)][_0x479aef(0x179)][_0x479aef(0x15b)](_0x479aef(0x183)),_0xb875b7=_0x3651ba[_0x479aef(0x12e)](_0x131ebb(this[_0x479aef(0xeb)][_0x479aef(0x116)],_0x479aef(0x186)));return this[_0x479aef(0xe7)][_0x479aef(0xde)]({'channelId':_0x41a2ce,'threadId':_0x155f79,'comments':_0x26a4f6[_0x479aef(0x1a2)](_0x15a24a=>_0x15a24a[_0x479aef(0x108)]()),'resolvedAt':_0xd30c11,'resolvedBy':_0x5baa71?_0x5baa71['id']:_0x5baa71,'context':_0x34da02,'attributes':_0x3b2c2c})[_0x479aef(0x11a)](({comments:_0x2faa26})=>{const _0x11b68c=_0x479aef;_0x3651ba[_0x11b68c(0x199)](_0xb875b7);for(const _0x57641a of _0x2faa26)this[_0x11b68c(0x150)]({'channelId':_0x41a2ce,'threadId':_0x409fc8,'commentId':_0x57641a[_0x11b68c(0x15f)],'createdAt':_0x57641a[_0x11b68c(0x133)],'isFromAdapter':!0x0});})[_0x479aef(0xc7)](_0x585ab8=>{const _0x414320=_0x479aef;throw console[_0x414320(0x109)](_0x585ab8),new _0x687c02(_0x414320(0xe8),this);});}[_0x563a64(0xe1)]({threadId:_0x948734,target:_0x124fa4}){const _0x5e70ce=_0x563a64,_0x5f12ae=this[_0x5e70ce(0x170)](_0x948734);if(!_0x5f12ae)throw new _0x687c02(_0x5e70ce(0x163),this);const _0x45d9ef=this[_0x5e70ce(0xeb)][_0x5e70ce(0x179)][_0x5e70ce(0x15b)](_0x5e70ce(0x183)),_0x4f841d=this[_0x5e70ce(0xeb)][_0x5e70ce(0x179)][_0x5e70ce(0x15b)](_0x343c16),_0x3a25f4=this[_0x5e70ce(0x11d)](_0x5f12ae),_0x4f660a=new _0x308781(_0x5f12ae,_0x3a25f4);let _0x22b623=null;_0x3a25f4['on'](_0x5e70ce(0x143),(_0x1aae64,_0x3bef5d,_0x2bad3a)=>{const _0x45a71b=_0x5e70ce;_0x2bad3a?_0x22b623=_0x45d9ef[_0x45a71b(0x12e)](_0x131ebb(this[_0x45a71b(0xeb)][_0x45a71b(0x116)],_0x45a71b(0x186))):_0x22b623&&(_0x45d9ef[_0x45a71b(0x199)](_0x22b623),_0x22b623=null);}),this[_0x5e70ce(0xfa)][_0x5e70ce(0x17a)](_0x5f12ae,_0x4f660a),this[_0x5e70ce(0xe9)][_0x5e70ce(0x17a)](_0x3a25f4,_0x4f660a);const _0x4edc8e=new _0x5dc41b(this[_0x5e70ce(0xeb)][_0x5e70ce(0x116)],_0x3a25f4);_0x4edc8e[_0x5e70ce(0x14a)](_0x5e70ce(0x139))['to'](_0x3a25f4),_0x4edc8e[_0x5e70ce(0x14a)](_0x5e70ce(0xd0))['to'](_0x3a25f4,_0x5e70ce(0xd0),_0x3a25f4,_0x5e70ce(0x139),(_0x36322d,_0x5b98a9)=>_0x36322d||!_0x5b98a9),_0x4edc8e[_0x5e70ce(0x14a)](_0x5e70ce(0x100))['to'](_0x3a25f4),_0x4edc8e[_0x5e70ce(0xd7)]=_0x5e70ce(0x10e);const _0x5d6598=new _0x5b2e95({'view':_0x4edc8e,'target':_0x124fa4,'type':_0x5e70ce(0x10e),'isVisible':!_0x5f12ae[_0x5e70ce(0x105)]&&!!(_0x5e70ce(0x159)==typeof _0x124fa4?_0x124fa4():_0x124fa4)});return _0x3a25f4['on'](_0x5e70ce(0xfd),()=>{const _0x41b333=_0x5e70ce;_0x5d6598[_0x41b333(0xd9)](_0x41b333(0xfd));}),this[_0x5e70ce(0x155)](_0x3a25f4,_0x5d6598),_0x4f841d[_0x5e70ce(0x12e)](_0x5d6598),_0x5d6598;}[_0x563a64(0x155)](_0x181fe1,_0x49eefd){const _0x2afb6e=_0x563a64;this[_0x2afb6e(0x19c)](_0x181fe1,_0x2afb6e(0x1a6),(_0x332990,_0x40b6c7)=>{const _0x325911=_0x2afb6e,_0x53f9e6=_0x40b6c7['ui'][_0x325911(0x15d)][_0x325911(0x167)][_0x325911(0x1a3)];_0x49eefd[_0x325911(0x11c)][_0x325911(0x12e)](_0x53f9e6),this[_0x325911(0xeb)]instanceof _0x1a797c&&this[_0x325911(0xeb)]['ui'][_0x325911(0x10a)][_0x325911(0x12e)](_0x53f9e6);},{'priority':_0x2afb6e(0xdc)}),this[_0x2afb6e(0x19c)](_0x181fe1,_0x2afb6e(0x18e),(_0x34adfb,_0x26f23f)=>{const _0x304e35=_0x2afb6e,_0x2715a8=_0x26f23f['ui'][_0x304e35(0x15d)][_0x304e35(0x167)][_0x304e35(0x1a3)];_0x49eefd[_0x304e35(0x11c)][_0x304e35(0x101)](_0x2715a8)&&_0x49eefd[_0x304e35(0x11c)][_0x304e35(0x199)](_0x2715a8),this[_0x304e35(0xeb)]instanceof _0x1a797c&&this[_0x304e35(0xeb)]['ui'][_0x304e35(0x10a)][_0x304e35(0x199)](_0x2715a8);});}[_0x563a64(0x1a1)](_0x524c16){const _0x2214f0=_0x563a64;this[_0x2214f0(0x173)](_0x524c16,_0x2214f0(0x1a6)),this[_0x2214f0(0x173)](_0x524c16,_0x2214f0(0x18e));}[_0x563a64(0x11d)](_0x145202){const _0x573002=_0x563a64,_0x387047=this[_0x573002(0xeb)][_0x573002(0x179)][_0x573002(0x15b)](_0x4ecbd7),{config:_0x550841,locale:_0x39af9a}=this[_0x573002(0xeb)],_0x28f30c=_0x586e08(_0x550841[_0x573002(0x15b)](_0x573002(0x116)),_0x39af9a);return new(0x0,(_0x550841[_0x573002(0x15b)](_0x573002(0x124)))[(_0x573002(0x13f))])(_0x39af9a,_0x145202,_0x387047['me'],{'editorConfig':{..._0x550841[_0x573002(0x15b)](_0x573002(0x145)),'licenseKey':this[_0x573002(0xeb)][_0x573002(0x169)][_0x573002(0x15b)](_0x573002(0x161))},'copyMarkers':_0x550841[_0x573002(0x15b)](_0x573002(0x16e)),'maxCommentsWhenCollapsed':_0x550841[_0x573002(0x15b)](_0x573002(0x195)),'maxThreadTotalWeight':_0x550841[_0x573002(0x15b)](_0x573002(0x136)),'maxCommentCharsWhenCollapsed':_0x550841[_0x573002(0x15b)](_0x573002(0x114)),'formatDateTime':_0x28f30c,'CommentView':_0x550841[_0x573002(0x15b)](_0x573002(0x124))[_0x573002(0x129)]});}[_0x563a64(0xc4)]({threadId:_0x1f665f,channelId:_0x248ad8,resolvedAt:_0x525b9c,resolvedBy:_0x434f49,isFromAdapter:_0xb7f795}){const _0x338f0a=_0x563a64;if(!this[_0x338f0a(0x148)](_0x1f665f))throw new _0x687c02(_0x338f0a(0x17c),null,{'threadId':_0x1f665f});const _0x51de73=this[_0x338f0a(0x170)](_0x1f665f);if(_0x51de73[_0x338f0a(0xbf)])throw new _0x687c02(_0x338f0a(0x119),null,{'threadId':_0x1f665f});const _0x48365e=this[_0x338f0a(0xeb)][_0x338f0a(0x179)][_0x338f0a(0x15b)](_0x4ecbd7);if(_0x51de73[_0x338f0a(0xec)]=_0x48365e[_0x338f0a(0x171)](_0x434f49),_0x51de73[_0x338f0a(0x15e)]=_0x525b9c,_0xb7f795||!this[_0x338f0a(0xe7)]||_0x338f0a(0x159)!=typeof this[_0x338f0a(0xe7)][_0x338f0a(0xfe)])return Promise[_0x338f0a(0x168)]();const _0x337fc4=this[_0x338f0a(0xeb)][_0x338f0a(0x179)][_0x338f0a(0x15b)](_0x338f0a(0x183)),_0x369f2d=_0x337fc4[_0x338f0a(0x12e)](_0x131ebb(this[_0x338f0a(0xeb)][_0x338f0a(0x116)],_0x338f0a(0x186)));return this[_0x338f0a(0xe7)][_0x338f0a(0xfe)]({'channelId':_0x248ad8,'threadId':_0x1f665f})[_0x338f0a(0x11a)](({resolvedAt:_0x22c9e5,resolvedBy:_0x245fa9})=>{const _0x58504c=_0x338f0a;_0x337fc4[_0x58504c(0x199)](_0x369f2d),_0x51de73[_0x58504c(0xec)]['id']!==_0x245fa9&&(_0x51de73[_0x58504c(0xec)]=_0x48365e[_0x58504c(0x171)](_0x245fa9)),_0x51de73[_0x58504c(0x15e)]=_0x22c9e5;})[_0x338f0a(0xc7)](_0x37dae4=>{const _0x1c26cd=_0x338f0a;throw console[_0x1c26cd(0x109)](_0x37dae4),new _0x687c02(_0x1c26cd(0x18a),this);});}[_0x563a64(0x19d)]({threadId:_0x409a7f,channelId:_0xccacc6,isFromAdapter:_0x253dc4}){const _0x1d20b4=_0x563a64;if(!this[_0x1d20b4(0x148)](_0x409a7f))throw new _0x687c02(_0x1d20b4(0x17c),null,{'threadId':_0x409a7f});const _0x10e9f5=this[_0x1d20b4(0x170)](_0x409a7f);if(!_0x10e9f5[_0x1d20b4(0xbf)])throw new _0x687c02(_0x1d20b4(0x1a4),null,{'threadId':_0x409a7f});if(_0x10e9f5[_0x1d20b4(0xec)]=null,_0x10e9f5[_0x1d20b4(0x15e)]=null,_0x253dc4||!this[_0x1d20b4(0xe7)]||_0x1d20b4(0x159)!=typeof this[_0x1d20b4(0xe7)][_0x1d20b4(0x1a8)])return Promise[_0x1d20b4(0x168)]();const _0x239635=this[_0x1d20b4(0xeb)][_0x1d20b4(0x179)][_0x1d20b4(0x15b)](_0x1d20b4(0x183)),_0x3f7464=_0x239635[_0x1d20b4(0x12e)](_0x131ebb(this[_0x1d20b4(0xeb)][_0x1d20b4(0x116)],_0x1d20b4(0x186)));return this[_0x1d20b4(0xe7)][_0x1d20b4(0x1a8)]({'channelId':_0xccacc6,'threadId':_0x409a7f})[_0x1d20b4(0x11a)](()=>_0x239635[_0x1d20b4(0x199)](_0x3f7464))[_0x1d20b4(0xc7)](_0xd2930e=>{const _0x594e69=_0x1d20b4;throw console[_0x594e69(0x109)](_0xd2930e),new _0x687c02(_0x594e69(0x137),this);});}[_0x563a64(0x18c)]({threadId:_0xd56cd7,isFromAdapter:_0x3a806d}){const _0x56c3d3=_0x563a64,_0x360fab=this[_0x56c3d3(0x170)](_0xd56cd7);if(!_0x360fab)throw new _0x687c02(_0x56c3d3(0x190),this);if(this[_0x56c3d3(0x11e)](_0xd56cd7),this[_0x56c3d3(0xd6)][_0x56c3d3(0xf1)](_0xd56cd7),!_0x360fab[_0x56c3d3(0xc8)]||_0x3a806d||!this[_0x56c3d3(0xe7)]||_0x56c3d3(0x159)!=typeof this[_0x56c3d3(0xe7)][_0x56c3d3(0x194)])return Promise[_0x56c3d3(0x168)]();const _0x2d449e=this[_0x56c3d3(0xeb)][_0x56c3d3(0x179)][_0x56c3d3(0x15b)](_0x56c3d3(0x183)),{channelId:_0x3661a0}=_0x360fab,_0x977224=_0x2d449e[_0x56c3d3(0x12e)](_0x131ebb(this[_0x56c3d3(0xeb)][_0x56c3d3(0x116)],_0x56c3d3(0x186)));return this[_0x56c3d3(0xe7)][_0x56c3d3(0x194)]({'channelId':_0x3661a0,'threadId':_0xd56cd7})[_0x56c3d3(0x11a)](()=>_0x2d449e[_0x56c3d3(0x199)](_0x977224))[_0x56c3d3(0xc7)](_0x4ed2e8=>{const _0x2d0291=_0x56c3d3;throw console[_0x2d0291(0x109)](_0x4ed2e8),new _0x687c02(_0x2d0291(0xe2),this);});}[_0x563a64(0x118)]({threadId:_0x18990a,unlinkedAt:_0x400040,context:_0x22bc25,attributes:_0x2624b3,isFromAdapter:_0x15b271}){const _0x50aea5=_0x563a64;if(_0x50aea5(0xd3)!=typeof _0x18990a)throw new _0x687c02(_0x50aea5(0x18d),null,{'threadId':_0x18990a});if(!this[_0x50aea5(0x148)](_0x18990a))throw new _0x687c02(_0x50aea5(0x17c),null,{'threadId':_0x18990a});const _0x2cfe11=this[_0x50aea5(0x170)](_0x18990a);let _0x36f4a0=!0x1;if(void 0x0!==_0x22bc25&&_0x2cfe11[_0x50aea5(0xeb)]!==_0x22bc25&&(_0x2cfe11[_0x50aea5(0xeb)]=_0x22bc25,_0x36f4a0=!0x0),void 0x0!==_0x400040&&_0x2cfe11[_0x50aea5(0x106)]!==_0x400040&&(_0x2cfe11[_0x50aea5(0x106)]=_0x400040,_0x36f4a0=!0x0),_0x2624b3&&!_0x4efd5b(_0x2624b3,_0x2cfe11[_0x50aea5(0x11f)])&&(_0x2cfe11[_0x50aea5(0x11f)]=_0x2624b3,_0x36f4a0=!0x0),!_0x36f4a0)return Promise[_0x50aea5(0x168)]();if(!_0x2cfe11[_0x50aea5(0xc8)]||_0x15b271||!this[_0x50aea5(0xe7)]||_0x50aea5(0x159)!=typeof this[_0x50aea5(0xe7)][_0x50aea5(0xd5)])return Promise[_0x50aea5(0x168)]();const _0x436c85=this[_0x50aea5(0xeb)][_0x50aea5(0x179)][_0x50aea5(0x15b)](_0x50aea5(0x183)),{channelId:_0x229185}=_0x2cfe11,_0x34c402=_0x436c85[_0x50aea5(0x12e)](_0x131ebb(this[_0x50aea5(0xeb)][_0x50aea5(0x116)],_0x50aea5(0x186)));return this[_0x50aea5(0xe7)][_0x50aea5(0xd5)]({'channelId':_0x229185,'threadId':_0x18990a,'context':_0x22bc25,'unlinkedAt':_0x400040,'attributes':_0x2624b3})[_0x50aea5(0x11a)](()=>_0x436c85[_0x50aea5(0x199)](_0x34c402))[_0x50aea5(0xc7)](_0x3b217d=>{const _0x1c87fa=_0x50aea5;throw console[_0x1c87fa(0x109)](_0x3b217d),new _0x687c02(_0x1c87fa(0x189),this);});}[_0x563a64(0x11e)](_0x4e5338){const _0xce3cbc=_0x563a64,_0x52b0db=this[_0xce3cbc(0xeb)][_0xce3cbc(0x179)][_0xce3cbc(0x15b)](_0x343c16),_0x577e2f=this[_0xce3cbc(0x170)](_0x4e5338);if(_0x577e2f[_0xce3cbc(0x13e)]=!0x1,this[_0xce3cbc(0xfa)][_0xce3cbc(0x101)](_0x577e2f)){const _0x38ee1a=this[_0xce3cbc(0xfa)][_0xce3cbc(0x15b)](_0x577e2f),_0x526055=_0x38ee1a[_0xce3cbc(0x15d)],_0x396fe4=_0x52b0db[_0xce3cbc(0x16f)](_0x526055);this[_0xce3cbc(0xfa)][_0xce3cbc(0xf1)](_0x577e2f),this[_0xce3cbc(0xe9)][_0xce3cbc(0xf1)](_0x526055),_0x396fe4&&_0x52b0db[_0xce3cbc(0x199)](_0x396fe4),_0x38ee1a[_0xce3cbc(0x19b)](),_0x526055[_0xce3cbc(0x19b)]()[_0xce3cbc(0x11a)](()=>{const _0x17c3e4=_0xce3cbc;this[_0x17c3e4(0x1a1)](_0x526055);});}}[_0x563a64(0x14b)]({threadId:_0x5cd1fe,resolvedAt:_0x4cad05,unlinkedAt:_0x480503}){const _0x275fb5=_0x563a64,_0x46961f=!!_0x4cad05,_0x3c7b5f=this[_0x275fb5(0xeb)][_0x275fb5(0x179)][_0x275fb5(0x15b)](_0x343c16),_0x2b323e=this[_0x275fb5(0x170)](_0x5cd1fe);if(this[_0x275fb5(0xfa)][_0x275fb5(0x101)](_0x2b323e)){const _0x26d802=this[_0x275fb5(0xfa)][_0x275fb5(0x15b)](_0x2b323e)[_0x275fb5(0x15d)],_0x10ebc6=_0x3c7b5f[_0x275fb5(0x16f)](_0x26d802);_0x10ebc6&&(_0x46961f&&_0x3c7b5f[_0x275fb5(0x12f)](_0x10ebc6),_0x480503?_0x10ebc6[_0x275fb5(0x187)]=!0x1:_0x10ebc6[_0x275fb5(0x10f)]());}}[_0x563a64(0xf9)](_0xdf6c23){const _0x3361a0=_0x563a64,_0x9b9b67=this[_0x3361a0(0xeb)][_0x3361a0(0x179)][_0x3361a0(0x15b)](_0x4ecbd7),_0x1058a3=_0x113e13(_0x3361a0(0xfc)+_0xdf6c23),_0x28038f=_0x9b9b67[_0x3361a0(0x171)](_0x1058a3);return _0x28038f||_0x9b9b67[_0x3361a0(0xed)]({'id':_0x1058a3,'name':_0xdf6c23});}[_0x563a64(0x12b)]({threadId:_0x563fc7,commentId:_0x2c4600=_0x2a8010(),content:_0x28a5f3,authorId:_0x416e7d,createdAt:_0x598e11,attributes:_0x3f991b}){const _0x1d2a06=_0x563a64;if(_0x1d2a06(0xd3)!=typeof _0x2c4600)throw new _0x687c02(_0x1d2a06(0x12d));if(_0x1d2a06(0xd3)!=typeof _0x416e7d)throw new _0x687c02(_0x1d2a06(0x115));if(_0x1d2a06(0xd3)!=typeof _0x28a5f3||!_0x28a5f3[_0x1d2a06(0xc9)]())throw new _0x687c02(_0x1d2a06(0x120));const _0x304c74=this[_0x1d2a06(0xeb)][_0x1d2a06(0x179)][_0x1d2a06(0x15b)](_0x4ecbd7)[_0x1d2a06(0x171)](_0x416e7d);if(!_0x304c74)throw new _0x687c02(_0x1d2a06(0x121),null,{'authorId':_0x416e7d});let _0x1a5354=null,_0x3add7d=_0x598e11;return _0x3f991b?.[_0x1d2a06(0x141)]&&(_0x1a5354=this[_0x1d2a06(0xf9)](_0x3f991b[_0x1d2a06(0x141)][_0x1d2a06(0x13d)]),_0x3add7d=new Date(_0x3f991b[_0x1d2a06(0x141)][_0x1d2a06(0x133)])),new Comment(this,{'threadId':_0x563fc7,'id':_0x2c4600,'author':_0x1a5354||_0x304c74,'creator':_0x304c74,'content':_0x28a5f3,'createdAt':_0x598e11,'authoredAt':_0x3add7d,'attributes':_0x3f991b});}[_0x563a64(0x180)](_0x23fe0b){const _0x5ce865=_0x563a64;let {threadId:_0x2b27bd,content:_0x3b5a30,attributes:_0x4cf68,isFromAdapter:_0x578b58}=_0x23fe0b;const _0x4230cc=this[_0x5ce865(0x170)](_0x23fe0b[_0x5ce865(0x16a)]);if(!_0x4230cc)throw new _0x687c02(_0x5ce865(0x14f),this);const _0x15eab1=this[_0x5ce865(0x12b)](_0x23fe0b),{id:_0x401a6b}=_0x15eab1;if(_0x4230cc[_0x5ce865(0x131)](_0x15eab1),_0x578b58||!this[_0x5ce865(0xe7)]||_0x5ce865(0x159)!=typeof this[_0x5ce865(0xe7)][_0x5ce865(0x122)]||!_0x4230cc[_0x5ce865(0xc8)])return Promise[_0x5ce865(0x168)]();const _0x5372da=this[_0x5ce865(0xeb)][_0x5ce865(0x179)][_0x5ce865(0x15b)](_0x5ce865(0x183)),{channelId:_0x227f1b}=_0x4230cc,_0x408250=_0x5372da[_0x5ce865(0x12e)](_0x131ebb(this[_0x5ce865(0xeb)][_0x5ce865(0x116)],_0x5ce865(0x186)));return _0x4cf68||(_0x4cf68={}),this[_0x5ce865(0xe7)][_0x5ce865(0x122)]({'channelId':_0x227f1b,'threadId':_0x2b27bd,'commentId':_0x401a6b,'content':_0x3b5a30,'attributes':_0x4cf68})[_0x5ce865(0x11a)](_0x122d95=>{const _0x3cf8c2=_0x5ce865;_0x5372da[_0x3cf8c2(0x199)](_0x408250),_0x122d95&&this[_0x3cf8c2(0x150)]({'channelId':_0x227f1b,'threadId':_0x2b27bd,'commentId':_0x401a6b,'createdAt':_0x122d95[_0x3cf8c2(0x133)],'isFromAdapter':!0x0});})[_0x5ce865(0xc7)](_0x4b64a9=>{const _0x478b4b=_0x5ce865;throw console[_0x478b4b(0x109)](_0x4b64a9),new _0x687c02(_0x478b4b(0xf6),this);});}[_0x563a64(0x150)]({threadId:_0xd462cf,commentId:_0x92d365,content:_0x41c0a6,createdAt:_0x24e2b7,attributes:_0x543d61,isFromAdapter:_0x3daddd}){const _0xb65e64=_0x563a64;if(void 0x0!==_0x41c0a6&&(_0xb65e64(0xd3)!=typeof _0x41c0a6||!_0x41c0a6[_0xb65e64(0xc9)]()[_0xb65e64(0x139)]))throw new _0x687c02(_0xb65e64(0x10c));const _0xde2fb7=this[_0xb65e64(0x170)](_0xd462cf),_0x2afac4=_0xde2fb7[_0xb65e64(0x197)](_0x92d365);if(!_0x2afac4)throw new _0x687c02(_0xb65e64(0x178),this);let _0x4e3058=!0x1;if(_0x41c0a6&&_0x41c0a6!==_0x2afac4[_0xb65e64(0x132)]&&(_0x2afac4[_0xb65e64(0x157)]||_0x3daddd)&&(_0x2afac4[_0xb65e64(0x132)]=_0x41c0a6,_0x4e3058=!0x0),_0x24e2b7&&_0x24e2b7!==_0x2afac4[_0xb65e64(0x133)]&&(_0x2afac4[_0xb65e64(0x133)]=_0x24e2b7,_0x2afac4[_0xb65e64(0x11f)]&&_0x2afac4[_0xb65e64(0x11f)][_0xb65e64(0x141)]||(_0x2afac4[_0xb65e64(0xe6)]=_0x24e2b7),_0x4e3058=!0x0),_0x543d61&&!_0x4efd5b(_0x543d61,_0x2afac4[_0xb65e64(0x11f)])&&(_0x2afac4[_0xb65e64(0x11f)]=_0x543d61,_0x4e3058=!0x0),!_0x4e3058)return Promise[_0xb65e64(0x168)]();if(_0xde2fb7[_0xb65e64(0xd9)](_0xb65e64(0xcb)),_0x3daddd||!this[_0xb65e64(0xe7)]||_0xb65e64(0x159)!=typeof this[_0xb65e64(0xe7)][_0xb65e64(0x177)])return Promise[_0xb65e64(0x168)]();const _0x4982be=this[_0xb65e64(0xeb)][_0xb65e64(0x179)][_0xb65e64(0x15b)](_0xb65e64(0x183)),{channelId:_0x324e71}=this[_0xb65e64(0x170)](_0x2afac4[_0xb65e64(0x16a)]),_0x56c2a8=_0x4982be[_0xb65e64(0x12e)](_0x131ebb(this[_0xb65e64(0xeb)][_0xb65e64(0x116)],_0xb65e64(0x186)));return this[_0xb65e64(0xe7)][_0xb65e64(0x177)]({'channelId':_0x324e71,'threadId':_0xd462cf,'commentId':_0x92d365,'content':_0x41c0a6,'attributes':_0x543d61})[_0xb65e64(0x11a)](()=>_0x4982be[_0xb65e64(0x199)](_0x56c2a8))[_0xb65e64(0xc7)](_0x2087c0=>{const _0x506fd2=_0xb65e64;throw console[_0x506fd2(0x109)](_0x2087c0),new _0x687c02(_0x506fd2(0x149),this);});}[_0x563a64(0x112)]({threadId:_0x5bd082,commentId:_0x2c6d95,isFromAdapter:_0x48adc0}){const _0x6f1148=_0x563a64,_0x8a2ba=this[_0x6f1148(0x170)](_0x5bd082),_0x21b3c4=_0x8a2ba[_0x6f1148(0x197)](_0x2c6d95);if(!_0x21b3c4)throw new _0x687c02(_0x6f1148(0x126),this);if(_0x8a2ba[_0x6f1148(0x142)](_0x21b3c4),_0x48adc0||!this[_0x6f1148(0xe7)]||_0x6f1148(0x159)!=typeof this[_0x6f1148(0xe7)][_0x6f1148(0xee)])return Promise[_0x6f1148(0x168)]();const _0x11433f=this[_0x6f1148(0xeb)][_0x6f1148(0x179)][_0x6f1148(0x15b)](_0x6f1148(0x183)),{channelId:_0x9d4086}=_0x8a2ba,_0x4ae05e=_0x11433f[_0x6f1148(0x12e)](_0x131ebb(this[_0x6f1148(0xeb)][_0x6f1148(0x116)],_0x6f1148(0x186)));return this[_0x6f1148(0xe7)][_0x6f1148(0xee)]({'channelId':_0x9d4086,'threadId':_0x5bd082,'commentId':_0x2c6d95})[_0x6f1148(0x11a)](()=>_0x11433f[_0x6f1148(0x199)](_0x4ae05e))[_0x6f1148(0xc7)](_0x4eab7d=>{const _0x2ff6f8=_0x6f1148;throw console[_0x2ff6f8(0x109)](_0x4eab7d),new _0x687c02(_0x2ff6f8(0x14d),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x1abb53=_0x32eb;(function(_0x394e85,_0x36d0d0){const _0x2de7d1=_0x32eb,_0xbf315a=_0x394e85();while(!![]){try{const _0x26b34d=-parseInt(_0x2de7d1(0x2a7))/0x1*(-parseInt(_0x2de7d1(0x2ba))/0x2)+parseInt(_0x2de7d1(0x273))/0x3+-parseInt(_0x2de7d1(0x1f7))/0x4+-parseInt(_0x2de7d1(0x239))/0x5*(-parseInt(_0x2de7d1(0x221))/0x6)+-parseInt(_0x2de7d1(0x202))/0x7+parseInt(_0x2de7d1(0x2c4))/0x8*(parseInt(_0x2de7d1(0x29d))/0x9)+parseInt(_0x2de7d1(0x28e))/0xa*(-parseInt(_0x2de7d1(0x2a4))/0xb);if(_0x26b34d===_0x36d0d0)break;else _0xbf315a['push'](_0xbf315a['shift']());}catch(_0x5ddbd4){_0xbf315a['push'](_0xbf315a['shift']());}}}(_0x3675,0x39ba5));import{PendingActions as _0x4dba63,ContextPlugin as _0x42fa5e,Editor as _0x6f4a8d}from'ckeditor5/src/core.js';function _0x32eb(_0x497ae9,_0x55b738){const _0x3675b6=_0x3675();return _0x32eb=function(_0x32eb8d,_0x194bb7){_0x32eb8d=_0x32eb8d-0x1e3;let _0x451ae5=_0x3675b6[_0x32eb8d];return _0x451ae5;},_0x32eb(_0x497ae9,_0x55b738);}import{Collection as _0x33263a,uid as _0x7caa70,CKEditorError as _0x271705,ObservableMixin as _0x20be9e}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x13da65,hashObject as _0x3d748e,Users as _0x164718}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x1faed4,isEqual as _0x660a57,set as _0xd4ed00,unset as _0x1d97da}from'es-toolkit/compat';import{CommentThreadController as _0x10f698}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x228ff9}from'./ui/view/commentthreadview.js';import{CommentView as _0x24a22d}from'./ui/view/commentview.js';import{getTranslation as _0x5b8d3d}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x290cb6}from'../annotations/view/annotationview.js';import{Annotation as _0x5d87bb}from'../annotations/annotation.js';import{Annotations as _0x64fafd}from'../annotations/annotations.js';const _t=Symbol(_0x1abb53(0x291)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x42fa5e{[_0x1abb53(0x212)];[_0x1abb53(0x1fb)];[_0x1abb53(0x27d)];static get[_0x1abb53(0x217)](){return[_0x64fafd,_0x4dba63,_0x164718];}static get[_0x1abb53(0x260)](){const _0x27c146=_0x1abb53;return _0x27c146(0x2be);}static get[_0x1abb53(0x207)](){return!0x0;}static get[_0x1abb53(0x20c)](){return!0x0;}constructor(_0x45cd02){const _0x3de943=_0x1abb53;super(_0x45cd02),this[_0x3de943(0x212)]=new Map(),this[_0x3de943(0x1fb)]=new Map(),this[_0x3de943(0x27d)]=new Map(),this[_0x3de943(0x244)](_0x3de943(0x20a),new Set()),this[_0x3de943(0x244)](_0x3de943(0x248),new Map());const _0x5e8a28=this[_0x3de943(0x295)][_0x3de943(0x2a2)];_0x5e8a28[_0x3de943(0x245)](_0x3de943(0x294),0x2),_0x5e8a28[_0x3de943(0x245)](_0x3de943(0x28d),0x1f4),_0x5e8a28[_0x3de943(0x245)](_0x3de943(0x1e3),0x8c),_0x5e8a28[_0x3de943(0x245)](_0x3de943(0x284),_0x228ff9),_0x5e8a28[_0x3de943(0x245)](_0x3de943(0x2b2),_0x24a22d),_0x5e8a28[_0x3de943(0x287)](_0x3de943(0x234))||console[_0x3de943(0x23b)](_0x3de943(0x2c5));}[_0x1abb53(0x24d)](){const _0x3dae2e=_0x1abb53,_0x5be038=this[_0x3dae2e(0x295)][_0x3dae2e(0x23d)][_0x3dae2e(0x287)](_0x64fafd);this[_0x3dae2e(0x244)](_0x3dae2e(0x27b),null),this['on'](_0x3dae2e(0x1f2),(_0x4b2237,_0x3c496d)=>this[_0x3dae2e(0x22d)](_0x3c496d)),this['on'](_0x3dae2e(0x267),(_0x552dfd,_0x155637)=>this[_0x3dae2e(0x252)](_0x155637)),this['on'](_0x3dae2e(0x290),(_0x4c6688,_0x3d712d)=>this[_0x3dae2e(0x255)](_0x3d712d)),this['on'](_0x3dae2e(0x290),(_0x430d46,_0x4dbb48)=>this[_0x3dae2e(0x2ae)](_0x4dbb48),{'priority':_0x3dae2e(0x1e7)}),this['on'](_0x3dae2e(0x1eb),(_0x148fe8,_0x158fb9)=>this[_0x3dae2e(0x2b0)](_0x158fb9)),this['on'](_0x3dae2e(0x1eb),(_0x27a17e,_0x1c317a)=>this[_0x3dae2e(0x2ae)](_0x1c317a),{'priority':_0x3dae2e(0x1e7)}),this['on'](_0x3dae2e(0x27f),(_0x19c5c5,_0x33216f)=>this[_0x3dae2e(0x231)](_0x33216f)),this['on'](_0x3dae2e(0x29a),(_0x3e1125,_0x495e48)=>this[_0x3dae2e(0x236)](_0x495e48)),this['on'](_0x3dae2e(0x29a),(_0x13915b,_0x240c33)=>this[_0x3dae2e(0x2ae)](_0x240c33),{'priority':_0x3dae2e(0x1e7)}),this['on'](_0x3dae2e(0x25b),(_0x32bd01,_0x4d7860)=>this[_0x3dae2e(0x1ef)](_0x4d7860)),this['on'](_0x3dae2e(0x219),(_0x506a39,_0x103b27)=>this[_0x3dae2e(0x21c)](_0x103b27)),this['on'](_0x3dae2e(0x26a),(_0x1711f2,_0xa2ad0c)=>this[_0x3dae2e(0x2af)](_0xa2ad0c)),this['on'](_0x3dae2e(0x25b),(_0x39a953,{threadId:_0x3ea544,isFromAdapter:_0x14c295})=>{const _0x510d84=_0x3dae2e;if(_0x14c295)return;const _0x1ba222=this[_0x510d84(0x261)](_0x3ea544),_0x12245d=_0x1ba222&&this[_0x510d84(0x1fb)][_0x510d84(0x287)](_0x1ba222);_0x12245d&&_0x12245d[_0x510d84(0x1ea)][_0x510d84(0x228)][_0x510d84(0x2b6)](-0x1);},{'priority':_0x3dae2e(0x1e7)}),this[_0x3dae2e(0x27c)](_0x5be038,_0x3dae2e(0x200),(_0x1e327d,_0x411251,_0x7c5eba)=>{const _0xcb77d7=_0x3dae2e,_0x73878=Array[_0xcb77d7(0x213)](_0x7c5eba)[_0xcb77d7(0x271)](_0x3d9e56=>this[_0xcb77d7(0x27d)][_0xcb77d7(0x287)](_0x3d9e56[_0xcb77d7(0x24c)]))[_0xcb77d7(0x2c9)](Boolean)[0x0];this[_0xcb77d7(0x27b)]=_0x73878?_0x73878[_0xcb77d7(0x23a)]:null;});}set[_0x1abb53(0x2a1)](_0x62e86f){const _0xa2c226=_0x1abb53;if(this[_0xa2c226(0x254)])throw new _0x271705(_0xa2c226(0x1ee));this[_0xa2c226(0x254)]=_0x62e86f;}get[_0x1abb53(0x2a1)](){const _0x31314c=_0x1abb53;return this[_0x31314c(0x254)];}[_0x1abb53(0x1f2)]({channelId:_0x1e2fb3=_t,threadId:_0x30cb7b=_0x7caa70(),comments:_0x492d9d=[],unlinkedAt:_0x3dd13a=null,resolvedAt:_0x45ff2e=null,resolvedBy:_0xfa2461=null,target:_0xcd8aee=null,context:_0x2bcd10=null,attributes:_0x389485={},isResolvable:_0x57c9cd=!0x0,isSubmitted:_0x10b523=!0x1,isFromAdapter:_0x33a92b=!0x1}={}){const _0x540430=_0x1abb53;return this[_0x540430(0x209)](Nt(_0x540430(0x1f2),_0x1e2fb3),{'channelId':_0x1e2fb3,'threadId':_0x30cb7b,'comments':_0x492d9d,'unlinkedAt':_0x3dd13a,'resolvedAt':_0x45ff2e,'resolvedBy':_0xfa2461,'target':_0xcd8aee,'context':_0x2bcd10,'attributes':_0x389485,'isFromAdapter':_0x33a92b,'isResolvable':_0x57c9cd,'isSubmitted':_0x10b523}),this[_0x540430(0x261)](_0x30cb7b);}[_0x1abb53(0x2c2)]({channelId:_0x588384=_t,threadId:_0x51bfe4=_0x7caa70(),target:_0x4e53de,context:_0xe65025=null,isResolvable:_0x22e02c=!0x0}){const _0x346340=_0x1abb53;if(this[_0x346340(0x20a)][_0x346340(0x1e4)](_0x588384)||this[_0x346340(0x20a)][_0x346340(0x1e4)](void 0x0))return null;if(!_0x4e53de)throw new _0x271705(_0x346340(0x278));const _0x465a07=this[_0x346340(0x1f2)]({'channelId':_0x588384,'threadId':_0x51bfe4,'target':_0x4e53de,'context':_0xe65025,'isResolvable':_0x22e02c});if(!_0x465a07)return null;const _0x1b6e16=this[_0x346340(0x1fb)][_0x346340(0x287)](_0x465a07),_0xe2673a=_0x1b6e16[_0x346340(0x1ea)][_0x346340(0x20e)][_0x346340(0x1f4)],_0x2c4a7e=this[_0x346340(0x295)][_0x346340(0x23d)][_0x346340(0x287)](_0x64fafd),_0x1c74e1=_0x2c4a7e[_0x346340(0x281)](_0x1b6e16[_0x346340(0x1ea)]);return _0x2c4a7e[_0x346340(0x2b5)](_0x1c74e1),_0xe2673a[_0x346340(0x2b8)](_0x346340(0x238),()=>_0xe2673a[_0x346340(0x2b6)]()),_0x465a07;}[_0x1abb53(0x222)](_0x141335){const _0x5d8395=_0x1abb53;if(_0x5d8395(0x282)!=typeof _0x141335)throw new _0x271705(_0x5d8395(0x1e9));return this[_0x5d8395(0x212)][_0x5d8395(0x1e4)](_0x141335);}[_0x1abb53(0x29a)]({channelId:_0x586d4d=_t,threadId:_0x2ebc30,context:_0x165cd1,unlinkedAt:_0x51e757,attributes:_0xe54262,isFromAdapter:_0x961460=!0x1}){const _0x4355b3=_0x1abb53;return this[_0x4355b3(0x209)](Nt(_0x4355b3(0x29a),_0x586d4d),{'channelId':_0x586d4d,'threadId':_0x2ebc30,'context':_0x165cd1,'unlinkedAt':_0x51e757,'attributes':_0xe54262,'isFromAdapter':_0x961460}),this[_0x4355b3(0x261)](_0x2ebc30);}[_0x1abb53(0x261)](_0x566829){const _0x3db1e8=_0x1abb53;if(_0x3db1e8(0x282)!=typeof _0x566829)throw new _0x271705(_0x3db1e8(0x1e9));return this[_0x3db1e8(0x212)][_0x3db1e8(0x287)](_0x566829);}[_0x1abb53(0x27a)]({channelId:_0x4db687,threadId:_0x57fdf3}={}){const _0x33d50f=_0x1abb53,_0x21bee6=this[_0x33d50f(0x261)](_0x57fdf3);if(_0x21bee6)return Promise[_0x33d50f(0x26f)](_0x21bee6);if(!this[_0x33d50f(0x2a1)])return Promise[_0x33d50f(0x26f)](void 0x0);if(_0x33d50f(0x1f5)!=typeof this[_0x33d50f(0x2a1)][_0x33d50f(0x261)])throw new _0x271705(_0x33d50f(0x280),this[_0x33d50f(0x295)]);return this[_0x33d50f(0x2a1)][_0x33d50f(0x261)]({'channelId':_0x4db687,'threadId':_0x57fdf3})[_0x33d50f(0x289)](_0x1f2c17=>this[_0x33d50f(0x222)](_0x57fdf3)?this[_0x33d50f(0x261)](_0x57fdf3):_0x1f2c17?this[_0x33d50f(0x1f2)](Object[_0x33d50f(0x2c7)]({'isFromAdapter':!0x0,'channelId':_0x4db687},_0x1f2c17)):void 0x0)[_0x33d50f(0x25f)](_0x19f34b=>{const _0x18f244=_0x33d50f;throw console[_0x18f244(0x2ac)](_0x19f34b),new _0x271705(_0x18f244(0x25a),this[_0x18f244(0x295)]);});}[_0x1abb53(0x21e)]({channelId:_0x8b3225,skipNotAttached:_0x457938=!0x1,skipEmpty:_0x33740c=!0x1,toJSON:_0x5d41b9=!0x1}={}){const _0x1f7f41=_0x1abb53,_0x28ba53=[];for(const _0x191e00 of this[_0x1f7f41(0x212)][_0x1f7f41(0x2c8)]())_0x8b3225&&_0x191e00[_0x1f7f41(0x205)]!==_0x8b3225||_0x457938&&!_0x191e00[_0x1f7f41(0x27e)]||_0x33740c&&0x0===_0x191e00[_0x1f7f41(0x1e6)]||_0x28ba53[_0x1f7f41(0x20b)](_0x191e00);return _0x5d41b9?_0x28ba53[_0x1f7f41(0x271)](_0x1d80f2=>_0x1d80f2[_0x1f7f41(0x272)]()):_0x28ba53;}[_0x1abb53(0x257)](_0x31db91){const _0xed34c0=_0x1abb53,_0x321104=this[_0xed34c0(0x1fb)][_0xed34c0(0x287)](_0x31db91);if(!_0x321104)return null;return this[_0xed34c0(0x295)][_0xed34c0(0x23d)][_0xed34c0(0x287)](_0x64fafd)[_0xed34c0(0x281)](_0x321104[_0xed34c0(0x1ea)])||null;}[_0x1abb53(0x24f)](_0x19197d){const _0x31de30=_0x1abb53,_0x3188d4=this[_0x31de30(0x27d)][_0x31de30(0x287)](_0x19197d[_0x31de30(0x24c)]);return _0x3188d4?_0x3188d4[_0x31de30(0x23a)]:null;}[_0x1abb53(0x264)](_0x471381){const _0x46ea7b=_0x1abb53,_0x485106=this[_0x46ea7b(0x295)][_0x46ea7b(0x23d)][_0x46ea7b(0x287)](_0x64fafd);if(!_0x471381)return void(this[_0x46ea7b(0x27b)]&&_0x485106[_0x46ea7b(0x246)]());const _0x398714=this[_0x46ea7b(0x261)](_0x471381);if(!_0x398714)throw new _0x271705(_0x46ea7b(0x279),null,{'threadId':_0x471381});if(!this[_0x46ea7b(0x1fb)][_0x46ea7b(0x1e4)](_0x398714))throw new _0x271705(_0x46ea7b(0x2a9),null,{'threadId':_0x471381});const _0x4b964e=_0x485106[_0x46ea7b(0x281)](this[_0x46ea7b(0x1fb)][_0x46ea7b(0x287)](_0x398714)[_0x46ea7b(0x1ea)]);_0x485106[_0x46ea7b(0x2b5)](_0x4b964e);}[_0x1abb53(0x1fa)](_0x28053d,_0x2d65c1){const _0x50b002=_0x1abb53;_0x28053d?this[_0x50b002(0x20a)][_0x50b002(0x2cb)](_0x2d65c1):this[_0x50b002(0x20a)][_0x50b002(0x1f8)](_0x2d65c1),this[_0x50b002(0x209)](_0x50b002(0x296),_0x50b002(0x20a),this[_0x50b002(0x20a)],this[_0x50b002(0x20a)]);}[_0x1abb53(0x26b)](_0x33f0a0){const _0x482fb7=_0x1abb53;return this[_0x482fb7(0x20a)][_0x482fb7(0x1e4)](_0x33f0a0)||this[_0x482fb7(0x20a)][_0x482fb7(0x1e4)](void 0x0);}[_0x1abb53(0x293)](_0x4ab00b,_0x1eebde){return new _0x10f698(_0x4ab00b,_0x1eebde);}[_0x1abb53(0x26c)](_0x17792a,_0x54c3e4=_t){const _0x251395=_0x1abb53;this[_0x251395(0x248)][_0x251395(0x244)](_0x54c3e4,_0x17792a),this[_0x251395(0x209)](_0x251395(0x206),_0x251395(0x248),this[_0x251395(0x248)],this[_0x251395(0x248)]);}[_0x1abb53(0x2c3)](_0x1d4913=_t){const _0x10c042=_0x1abb53;return this[_0x10c042(0x248)][_0x10c042(0x1e4)](_0x1d4913)?this[_0x10c042(0x248)][_0x10c042(0x287)](_0x1d4913):bt;}[_0x1abb53(0x22d)]({channelId:_0x35d16e,threadId:_0x227e50,comments:_0x48efa7,unlinkedAt:_0x4addd2,resolvedAt:_0x510bf3,resolvedBy:_0x2d967d,target:_0x16b421,context:_0x1cc562,attributes:_0x226621,isFromAdapter:_0xe07023,isResolvable:_0x591565,isSubmitted:_0x7b11c6}){const _0x1bfc75=_0x1abb53;if(_0x1bfc75(0x282)!=typeof _0x227e50)throw new _0x271705(_0x1bfc75(0x1e9),null,{'threadId':_0x227e50});if(this[_0x1bfc75(0x222)](_0x227e50))throw new _0x271705(_0x1bfc75(0x1f1),null,{'threadId':_0x227e50});const _0x39fef1=new CommentThread(this,{'channelId':_0x35d16e,'id':_0x227e50,'context':_0x1cc562,'attributes':_0x226621,'unlinkedAt':_0x4addd2,'resolvedAt':_0x510bf3,'resolvedBy':_0x2d967d?this[_0x1bfc75(0x295)][_0x1bfc75(0x23d)][_0x1bfc75(0x287)](_0x164718)[_0x1bfc75(0x2bc)](_0x2d967d):null,'isResolvable':_0x591565,'isSubmitted':_0x7b11c6||_0xe07023});this[_0x1bfc75(0x212)][_0x1bfc75(0x244)](_0x227e50,_0x39fef1);for(const _0x11337a of _0x48efa7)_0x39fef1[_0x1bfc75(0x23c)](this[_0x1bfc75(0x277)]({'threadId':_0x227e50,..._0x11337a}));return _0x16b421&&_0x39fef1[_0x1bfc75(0x269)](_0x16b421),_0xe07023||!_0x39fef1[_0x1bfc75(0x1e6)]?Promise[_0x1bfc75(0x26f)]():this[_0x1bfc75(0x252)]({'channelId':_0x35d16e,'threadId':_0x227e50});}[_0x1abb53(0x252)]({channelId:_0x630717,threadId:_0x46573b}){const _0x257065=_0x1abb53;if(!this[_0x257065(0x222)](_0x46573b))throw new _0x271705(_0x257065(0x263),this);const _0x2b741d=this[_0x257065(0x261)](_0x46573b);if(_0x2b741d[_0x257065(0x26d)]=!0x0,!this[_0x257065(0x2a1)]||_0x257065(0x1f5)!=typeof this[_0x257065(0x2a1)][_0x257065(0x1f2)])return Promise[_0x257065(0x26f)]();const {id:_0x4f271e,comments:_0x2ff381,resolvedAt:_0xddd6c5,resolvedBy:_0x334b82,context:_0x7ff797,attributes:_0x2d327f}=_0x2b741d,_0x4b3afc=this[_0x257065(0x295)][_0x257065(0x23d)][_0x257065(0x287)](_0x257065(0x1fe)),_0x2f09fb=_0x4b3afc[_0x257065(0x2cb)](_0x5b8d3d(this[_0x257065(0x295)][_0x257065(0x237)],_0x257065(0x28c)));return this[_0x257065(0x2a1)][_0x257065(0x1f2)]({'channelId':_0x630717,'threadId':_0x4f271e,'comments':_0x2ff381[_0x257065(0x271)](_0x162792=>_0x162792[_0x257065(0x272)]()),'resolvedAt':_0xddd6c5,'resolvedBy':_0x334b82?_0x334b82['id']:_0x334b82,'context':_0x7ff797,'attributes':_0x2d327f})[_0x257065(0x289)](({comments:_0x3728e7})=>{const _0x3e9e2a=_0x257065;_0x4b3afc[_0x3e9e2a(0x214)](_0x2f09fb);for(const _0x3254a7 of _0x3728e7)this[_0x3e9e2a(0x21c)]({'channelId':_0x630717,'threadId':_0x46573b,'commentId':_0x3254a7[_0x3e9e2a(0x2a0)],'createdAt':_0x3254a7[_0x3e9e2a(0x29e)],'isFromAdapter':!0x0});})[_0x257065(0x25f)](_0x5bfc76=>{const _0x244721=_0x257065;throw console[_0x244721(0x2ac)](_0x5bfc76),new _0x271705(_0x244721(0x265),this);});}[_0x1abb53(0x285)]({threadId:_0x406ee6,target:_0x175b97}){const _0x478696=_0x1abb53,_0x342a06=this[_0x478696(0x261)](_0x406ee6);if(!_0x342a06)throw new _0x271705(_0x478696(0x2b1),this);const _0x4390be=this[_0x478696(0x295)][_0x478696(0x23d)][_0x478696(0x287)](_0x478696(0x1fe)),_0x470432=this[_0x478696(0x295)][_0x478696(0x23d)][_0x478696(0x287)](_0x64fafd),_0x5b32a9=this[_0x478696(0x292)](_0x342a06),_0x4dd6e0=new _0x10f698(_0x342a06,_0x5b32a9);let _0x5ae99e=null;_0x5b32a9['on'](_0x478696(0x1f3),(_0x22013a,_0x27a6b5,_0x438fb8)=>{const _0x3ca6e7=_0x478696;_0x438fb8?_0x5ae99e=_0x4390be[_0x3ca6e7(0x2cb)](_0x5b8d3d(this[_0x3ca6e7(0x295)][_0x3ca6e7(0x237)],_0x3ca6e7(0x28c))):_0x5ae99e&&(_0x4390be[_0x3ca6e7(0x214)](_0x5ae99e),_0x5ae99e=null);}),this[_0x478696(0x1fb)][_0x478696(0x244)](_0x342a06,_0x4dd6e0),this[_0x478696(0x27d)][_0x478696(0x244)](_0x5b32a9,_0x4dd6e0);const _0x1e5568=new _0x290cb6(this[_0x478696(0x295)][_0x478696(0x237)],_0x5b32a9);_0x1e5568[_0x478696(0x288)](_0x478696(0x1e6))['to'](_0x5b32a9),_0x1e5568[_0x478696(0x288)](_0x478696(0x230))['to'](_0x5b32a9,_0x478696(0x230),_0x5b32a9,_0x478696(0x1e6),(_0x56ab7f,_0x147a16)=>_0x56ab7f||!_0x147a16),_0x1e5568[_0x478696(0x288)](_0x478696(0x249))['to'](_0x5b32a9),_0x1e5568[_0x478696(0x21a)]=_0x478696(0x2b7);const _0x5c2458=new _0x5d87bb({'view':_0x1e5568,'target':_0x175b97,'type':_0x478696(0x2b7),'isVisible':!_0x342a06[_0x478696(0x2bf)]&&!!(_0x478696(0x1f5)==typeof _0x175b97?_0x175b97():_0x175b97)});return _0x5b32a9['on'](_0x478696(0x233),()=>{const _0x1f39a6=_0x478696;_0x5c2458[_0x1f39a6(0x209)](_0x1f39a6(0x233));}),this[_0x478696(0x210)](_0x5b32a9,_0x5c2458),_0x470432[_0x478696(0x2cb)](_0x5c2458),_0x5c2458;}[_0x1abb53(0x210)](_0x26ef5c,_0x29fa4b){const _0x4cae77=_0x1abb53;this[_0x4cae77(0x27c)](_0x26ef5c,_0x4cae77(0x238),(_0x3ae12f,_0xafc4a4)=>{const _0x2c4754=_0x4cae77,_0x561ac0=_0xafc4a4['ui'][_0x2c4754(0x1ea)][_0x2c4754(0x201)][_0x2c4754(0x258)];_0x29fa4b[_0x2c4754(0x299)][_0x2c4754(0x2cb)](_0x561ac0),this[_0x2c4754(0x295)]instanceof _0x6f4a8d&&this[_0x2c4754(0x295)]['ui'][_0x2c4754(0x22a)][_0x2c4754(0x2cb)](_0x561ac0);},{'priority':_0x4cae77(0x243)}),this[_0x4cae77(0x27c)](_0x26ef5c,_0x4cae77(0x28b),(_0x47fa0c,_0x5299e2)=>{const _0x462e69=_0x4cae77,_0x1a86f1=_0x5299e2['ui'][_0x462e69(0x1ea)][_0x462e69(0x201)][_0x462e69(0x258)];_0x29fa4b[_0x462e69(0x299)][_0x462e69(0x1e4)](_0x1a86f1)&&_0x29fa4b[_0x462e69(0x299)][_0x462e69(0x214)](_0x1a86f1),this[_0x462e69(0x295)]instanceof _0x6f4a8d&&this[_0x462e69(0x295)]['ui'][_0x462e69(0x22a)][_0x462e69(0x214)](_0x1a86f1);});}[_0x1abb53(0x1ec)](_0x28d360){const _0x3a7a89=_0x1abb53;this[_0x3a7a89(0x21b)](_0x28d360,_0x3a7a89(0x238)),this[_0x3a7a89(0x21b)](_0x28d360,_0x3a7a89(0x28b));}[_0x1abb53(0x292)](_0x4c21d8){const _0x44fa4b=_0x1abb53,_0x1c7f6a=this[_0x44fa4b(0x295)][_0x44fa4b(0x23d)][_0x44fa4b(0x287)](_0x164718),{config:_0x376d2b,locale:_0x159dc5}=this[_0x44fa4b(0x295)],_0x42d319=_0x13da65(_0x376d2b[_0x44fa4b(0x287)](_0x44fa4b(0x237)),_0x159dc5);return new(0x0,(_0x376d2b[_0x44fa4b(0x287)](_0x44fa4b(0x2ad)))[(_0x44fa4b(0x204))])(_0x159dc5,_0x4c21d8,_0x1c7f6a['me'],{'editorConfig':{..._0x376d2b[_0x44fa4b(0x287)](_0x44fa4b(0x234)),'licenseKey':this[_0x44fa4b(0x295)][_0x44fa4b(0x2a2)][_0x44fa4b(0x287)](_0x44fa4b(0x226))},'copyMarkers':_0x376d2b[_0x44fa4b(0x287)](_0x44fa4b(0x1f0)),'maxCommentsWhenCollapsed':_0x376d2b[_0x44fa4b(0x287)](_0x44fa4b(0x294)),'maxThreadTotalWeight':_0x376d2b[_0x44fa4b(0x287)](_0x44fa4b(0x28d)),'maxCommentCharsWhenCollapsed':_0x376d2b[_0x44fa4b(0x287)](_0x44fa4b(0x1e3)),'formatDateTime':_0x42d319,'CommentView':_0x376d2b[_0x44fa4b(0x287)](_0x44fa4b(0x2ad))[_0x44fa4b(0x2b3)]});}[_0x1abb53(0x255)]({threadId:_0x452e75,channelId:_0x493430,resolvedAt:_0x2a09b1,resolvedBy:_0x1034f7,isFromAdapter:_0x2e764}){const _0x368936=_0x1abb53;if(!this[_0x368936(0x222)](_0x452e75))throw new _0x271705(_0x368936(0x263),null,{'threadId':_0x452e75});const _0x8f8a6d=this[_0x368936(0x261)](_0x452e75);if(_0x8f8a6d[_0x368936(0x25c)])throw new _0x271705(_0x368936(0x2a8),null,{'threadId':_0x452e75});const _0x1050d7=this[_0x368936(0x295)][_0x368936(0x23d)][_0x368936(0x287)](_0x164718);if(_0x8f8a6d[_0x368936(0x21f)]=_0x1050d7[_0x368936(0x2bc)](_0x1034f7),_0x8f8a6d[_0x368936(0x2a3)]=_0x2a09b1,_0x2e764||!this[_0x368936(0x2a1)]||_0x368936(0x1f5)!=typeof this[_0x368936(0x2a1)][_0x368936(0x290)])return Promise[_0x368936(0x26f)]();const _0x1c86b6=this[_0x368936(0x295)][_0x368936(0x23d)][_0x368936(0x287)](_0x368936(0x1fe)),_0x2b0b0a=_0x1c86b6[_0x368936(0x2cb)](_0x5b8d3d(this[_0x368936(0x295)][_0x368936(0x237)],_0x368936(0x28c)));return this[_0x368936(0x2a1)][_0x368936(0x290)]({'channelId':_0x493430,'threadId':_0x452e75})[_0x368936(0x289)](({resolvedAt:_0x1ae400,resolvedBy:_0x42b22f})=>{const _0x1d6204=_0x368936;_0x1c86b6[_0x1d6204(0x214)](_0x2b0b0a),_0x8f8a6d[_0x1d6204(0x21f)]['id']!==_0x42b22f&&(_0x8f8a6d[_0x1d6204(0x21f)]=_0x1050d7[_0x1d6204(0x2bc)](_0x42b22f)),_0x8f8a6d[_0x1d6204(0x2a3)]=_0x1ae400;})[_0x368936(0x25f)](_0x4f7ada=>{const _0x5494f8=_0x368936;throw console[_0x5494f8(0x2ac)](_0x4f7ada),new _0x271705(_0x5494f8(0x24b),this);});}[_0x1abb53(0x2b0)]({threadId:_0x455cca,channelId:_0x1ec298,isFromAdapter:_0x590732}){const _0x3ee79c=_0x1abb53;if(!this[_0x3ee79c(0x222)](_0x455cca))throw new _0x271705(_0x3ee79c(0x263),null,{'threadId':_0x455cca});const _0x9762db=this[_0x3ee79c(0x261)](_0x455cca);if(!_0x9762db[_0x3ee79c(0x25c)])throw new _0x271705(_0x3ee79c(0x224),null,{'threadId':_0x455cca});if(_0x9762db[_0x3ee79c(0x21f)]=null,_0x9762db[_0x3ee79c(0x2a3)]=null,_0x590732||!this[_0x3ee79c(0x2a1)]||_0x3ee79c(0x1f5)!=typeof this[_0x3ee79c(0x2a1)][_0x3ee79c(0x1eb)])return Promise[_0x3ee79c(0x26f)]();const _0x5073db=this[_0x3ee79c(0x295)][_0x3ee79c(0x23d)][_0x3ee79c(0x287)](_0x3ee79c(0x1fe)),_0x5715a0=_0x5073db[_0x3ee79c(0x2cb)](_0x5b8d3d(this[_0x3ee79c(0x295)][_0x3ee79c(0x237)],_0x3ee79c(0x28c)));return this[_0x3ee79c(0x2a1)][_0x3ee79c(0x1eb)]({'channelId':_0x1ec298,'threadId':_0x455cca})[_0x3ee79c(0x289)](()=>_0x5073db[_0x3ee79c(0x214)](_0x5715a0))[_0x3ee79c(0x25f)](_0x4a9309=>{const _0x53727f=_0x3ee79c;throw console[_0x53727f(0x2ac)](_0x4a9309),new _0x271705(_0x53727f(0x2a5),this);});}[_0x1abb53(0x231)]({threadId:_0x48795e,isFromAdapter:_0x2a16b0}){const _0x46a44c=_0x1abb53,_0x308ecf=this[_0x46a44c(0x261)](_0x48795e);if(!_0x308ecf)throw new _0x271705(_0x46a44c(0x22b),this);if(this[_0x46a44c(0x216)](_0x48795e),this[_0x46a44c(0x212)][_0x46a44c(0x1f8)](_0x48795e),!_0x308ecf[_0x46a44c(0x2b4)]||_0x2a16b0||!this[_0x46a44c(0x2a1)]||_0x46a44c(0x1f5)!=typeof this[_0x46a44c(0x2a1)][_0x46a44c(0x27f)])return Promise[_0x46a44c(0x26f)]();const _0x53278f=this[_0x46a44c(0x295)][_0x46a44c(0x23d)][_0x46a44c(0x287)](_0x46a44c(0x1fe)),{channelId:_0xe7c6e5}=_0x308ecf,_0x2e0a42=_0x53278f[_0x46a44c(0x2cb)](_0x5b8d3d(this[_0x46a44c(0x295)][_0x46a44c(0x237)],_0x46a44c(0x28c)));return this[_0x46a44c(0x2a1)][_0x46a44c(0x27f)]({'channelId':_0xe7c6e5,'threadId':_0x48795e})[_0x46a44c(0x289)](()=>_0x53278f[_0x46a44c(0x214)](_0x2e0a42))[_0x46a44c(0x25f)](_0xa39b4=>{const _0x56b540=_0x46a44c;throw console[_0x56b540(0x2ac)](_0xa39b4),new _0x271705(_0x56b540(0x1f9),this);});}[_0x1abb53(0x236)]({threadId:_0x56bf4d,unlinkedAt:_0x536840,context:_0x1693e3,attributes:_0x426d2f,isFromAdapter:_0x83c996}){const _0x2bea6f=_0x1abb53;if(_0x2bea6f(0x282)!=typeof _0x56bf4d)throw new _0x271705(_0x2bea6f(0x1e9),null,{'threadId':_0x56bf4d});if(!this[_0x2bea6f(0x222)](_0x56bf4d))throw new _0x271705(_0x2bea6f(0x263),null,{'threadId':_0x56bf4d});const _0x2ba7ef=this[_0x2bea6f(0x261)](_0x56bf4d);let _0x464c9d=!0x1;if(void 0x0!==_0x1693e3&&_0x2ba7ef[_0x2bea6f(0x295)]!==_0x1693e3&&(_0x2ba7ef[_0x2bea6f(0x295)]=_0x1693e3,_0x464c9d=!0x0),void 0x0!==_0x536840&&_0x2ba7ef[_0x2bea6f(0x22c)]!==_0x536840&&(_0x2ba7ef[_0x2bea6f(0x22c)]=_0x536840,_0x464c9d=!0x0),_0x426d2f&&!_0x660a57(_0x426d2f,_0x2ba7ef[_0x2bea6f(0x2bb)])&&(_0x2ba7ef[_0x2bea6f(0x2bb)]=_0x426d2f,_0x464c9d=!0x0),!_0x464c9d)return Promise[_0x2bea6f(0x26f)]();if(!_0x2ba7ef[_0x2bea6f(0x2b4)]||_0x83c996||!this[_0x2bea6f(0x2a1)]||_0x2bea6f(0x1f5)!=typeof this[_0x2bea6f(0x2a1)][_0x2bea6f(0x29a)])return Promise[_0x2bea6f(0x26f)]();const _0x4d1de7=this[_0x2bea6f(0x295)][_0x2bea6f(0x23d)][_0x2bea6f(0x287)](_0x2bea6f(0x1fe)),{channelId:_0x311a20}=_0x2ba7ef,_0x49a1ae=_0x4d1de7[_0x2bea6f(0x2cb)](_0x5b8d3d(this[_0x2bea6f(0x295)][_0x2bea6f(0x237)],_0x2bea6f(0x28c)));return this[_0x2bea6f(0x2a1)][_0x2bea6f(0x29a)]({'channelId':_0x311a20,'threadId':_0x56bf4d,'context':_0x1693e3,'unlinkedAt':_0x536840,'attributes':_0x426d2f})[_0x2bea6f(0x289)](()=>_0x4d1de7[_0x2bea6f(0x214)](_0x49a1ae))[_0x2bea6f(0x25f)](_0x5ce6bb=>{const _0x64cef8=_0x2bea6f;throw console[_0x64cef8(0x2ac)](_0x5ce6bb),new _0x271705(_0x64cef8(0x24a),this);});}[_0x1abb53(0x216)](_0x5cd4bc){const _0x180290=_0x1abb53,_0x18d159=this[_0x180290(0x295)][_0x180290(0x23d)][_0x180290(0x287)](_0x64fafd),_0x1522a4=this[_0x180290(0x261)](_0x5cd4bc);if(_0x1522a4[_0x180290(0x28a)]=!0x1,this[_0x180290(0x1fb)][_0x180290(0x1e4)](_0x1522a4)){const _0x45b5cb=this[_0x180290(0x1fb)][_0x180290(0x287)](_0x1522a4),_0x33f02a=_0x45b5cb[_0x180290(0x1ea)],_0x5ea5bb=_0x18d159[_0x180290(0x281)](_0x33f02a);this[_0x180290(0x1fb)][_0x180290(0x1f8)](_0x1522a4),this[_0x180290(0x27d)][_0x180290(0x1f8)](_0x33f02a),_0x5ea5bb&&_0x18d159[_0x180290(0x214)](_0x5ea5bb),_0x45b5cb[_0x180290(0x1f6)](),_0x33f02a[_0x180290(0x1f6)]()[_0x180290(0x289)](()=>{const _0x1b9b7b=_0x180290;this[_0x1b9b7b(0x1ec)](_0x33f02a);});}}[_0x1abb53(0x2ae)]({threadId:_0x106b98,resolvedAt:_0x1b8f9d,unlinkedAt:_0x29e444}){const _0x409d0a=_0x1abb53,_0x59832c=!!_0x1b8f9d,_0x94d27c=this[_0x409d0a(0x295)][_0x409d0a(0x23d)][_0x409d0a(0x287)](_0x64fafd),_0x114493=this[_0x409d0a(0x261)](_0x106b98);if(this[_0x409d0a(0x1fb)][_0x409d0a(0x1e4)](_0x114493)){const _0x156486=this[_0x409d0a(0x1fb)][_0x409d0a(0x287)](_0x114493)[_0x409d0a(0x1ea)],_0x196c71=_0x94d27c[_0x409d0a(0x281)](_0x156486);_0x196c71&&(_0x59832c&&_0x94d27c[_0x409d0a(0x23f)](_0x196c71),_0x29e444?_0x196c71[_0x409d0a(0x2aa)]=!0x1:_0x196c71[_0x409d0a(0x242)]());}}[_0x1abb53(0x247)](_0x3db7de){const _0xe7447a=_0x1abb53,_0x18ece9=this[_0xe7447a(0x295)][_0xe7447a(0x23d)][_0xe7447a(0x287)](_0x164718),_0x3fba43=_0x3d748e(_0xe7447a(0x29b)+_0x3db7de),_0x303355=_0x18ece9[_0xe7447a(0x2bc)](_0x3fba43);return _0x303355||_0x18ece9[_0xe7447a(0x283)]({'id':_0x3fba43,'name':_0x3db7de});}[_0x1abb53(0x277)]({threadId:_0x16da49,commentId:_0x5075ab=_0x7caa70(),content:_0xa2dc0f,authorId:_0x1108e5,createdAt:_0x3038e2,attributes:_0x41db1c}){const _0x21c8b6=_0x1abb53;if(_0x21c8b6(0x282)!=typeof _0x5075ab)throw new _0x271705(_0x21c8b6(0x215));if(_0x21c8b6(0x282)!=typeof _0x1108e5)throw new _0x271705(_0x21c8b6(0x2bd));if(_0x21c8b6(0x282)!=typeof _0xa2dc0f||!_0xa2dc0f[_0x21c8b6(0x266)]())throw new _0x271705(_0x21c8b6(0x274));const _0x4c3928=this[_0x21c8b6(0x295)][_0x21c8b6(0x23d)][_0x21c8b6(0x287)](_0x164718)[_0x21c8b6(0x2bc)](_0x1108e5);if(!_0x4c3928)throw new _0x271705(_0x21c8b6(0x28f),null,{'authorId':_0x1108e5});let _0x171570=null,_0x590f03=_0x3038e2;return _0x41db1c?.[_0x21c8b6(0x225)]&&(_0x171570=this[_0x21c8b6(0x247)](_0x41db1c[_0x21c8b6(0x225)][_0x21c8b6(0x1e5)]),_0x590f03=new Date(_0x41db1c[_0x21c8b6(0x225)][_0x21c8b6(0x29e)])),new Comment(this,{'threadId':_0x16da49,'id':_0x5075ab,'author':_0x171570||_0x4c3928,'creator':_0x4c3928,'content':_0xa2dc0f,'createdAt':_0x3038e2,'authoredAt':_0x590f03,'attributes':_0x41db1c});}[_0x1abb53(0x1ef)](_0x38b708){const _0x562c63=_0x1abb53;let {threadId:_0x321d19,content:_0x3301d7,attributes:_0x4ef33d,isFromAdapter:_0x15905e}=_0x38b708;const _0x47eca8=this[_0x562c63(0x261)](_0x38b708[_0x562c63(0x25e)]);if(!_0x47eca8)throw new _0x271705(_0x562c63(0x223),this);const _0x27337a=this[_0x562c63(0x277)](_0x38b708),{id:_0x51412c}=_0x27337a;if(_0x47eca8[_0x562c63(0x23c)](_0x27337a),_0x15905e||!this[_0x562c63(0x2a1)]||_0x562c63(0x1f5)!=typeof this[_0x562c63(0x2a1)][_0x562c63(0x25b)]||!_0x47eca8[_0x562c63(0x2b4)])return Promise[_0x562c63(0x26f)]();const _0x348830=this[_0x562c63(0x295)][_0x562c63(0x23d)][_0x562c63(0x287)](_0x562c63(0x1fe)),{channelId:_0x4e633e}=_0x47eca8,_0x14cc77=_0x348830[_0x562c63(0x2cb)](_0x5b8d3d(this[_0x562c63(0x295)][_0x562c63(0x237)],_0x562c63(0x28c)));return _0x4ef33d||(_0x4ef33d={}),this[_0x562c63(0x2a1)][_0x562c63(0x25b)]({'channelId':_0x4e633e,'threadId':_0x321d19,'commentId':_0x51412c,'content':_0x3301d7,'attributes':_0x4ef33d})[_0x562c63(0x289)](_0x4915bd=>{const _0x242c56=_0x562c63;_0x348830[_0x242c56(0x214)](_0x14cc77),_0x4915bd&&this[_0x242c56(0x21c)]({'channelId':_0x4e633e,'threadId':_0x321d19,'commentId':_0x51412c,'createdAt':_0x4915bd[_0x242c56(0x29e)],'isFromAdapter':!0x0});})[_0x562c63(0x25f)](_0x2b72fc=>{const _0x57b981=_0x562c63;throw console[_0x57b981(0x2ac)](_0x2b72fc),new _0x271705(_0x57b981(0x2c1),this);});}[_0x1abb53(0x21c)]({threadId:_0x45480e,commentId:_0x552dea,content:_0x45800a,createdAt:_0x2ca9b8,attributes:_0x3e306b,isFromAdapter:_0x27dc78}){const _0x424b2f=_0x1abb53;if(void 0x0!==_0x45800a&&(_0x424b2f(0x282)!=typeof _0x45800a||!_0x45800a[_0x424b2f(0x266)]()[_0x424b2f(0x1e6)]))throw new _0x271705(_0x424b2f(0x20f));const _0x34a039=this[_0x424b2f(0x261)](_0x45480e),_0x34858a=_0x34a039[_0x424b2f(0x1ed)](_0x552dea);if(!_0x34858a)throw new _0x271705(_0x424b2f(0x20d),this);let _0x12bc98=!0x1;if(_0x45800a&&_0x45800a!==_0x34858a[_0x424b2f(0x220)]&&(_0x34858a[_0x424b2f(0x275)]||_0x27dc78)&&(_0x34858a[_0x424b2f(0x220)]=_0x45800a,_0x12bc98=!0x0),_0x2ca9b8&&_0x2ca9b8!==_0x34858a[_0x424b2f(0x29e)]&&(_0x34858a[_0x424b2f(0x29e)]=_0x2ca9b8,_0x34858a[_0x424b2f(0x2bb)]&&_0x34858a[_0x424b2f(0x2bb)][_0x424b2f(0x225)]||(_0x34858a[_0x424b2f(0x2ca)]=_0x2ca9b8),_0x12bc98=!0x0),_0x3e306b&&!_0x660a57(_0x3e306b,_0x34858a[_0x424b2f(0x2bb)])&&(_0x34858a[_0x424b2f(0x2bb)]=_0x3e306b,_0x12bc98=!0x0),!_0x12bc98)return Promise[_0x424b2f(0x26f)]();if(_0x34a039[_0x424b2f(0x209)](_0x424b2f(0x251)),_0x27dc78||!this[_0x424b2f(0x2a1)]||_0x424b2f(0x1f5)!=typeof this[_0x424b2f(0x2a1)][_0x424b2f(0x219)])return Promise[_0x424b2f(0x26f)]();const _0x1941fd=this[_0x424b2f(0x295)][_0x424b2f(0x23d)][_0x424b2f(0x287)](_0x424b2f(0x1fe)),{channelId:_0x16527a}=this[_0x424b2f(0x261)](_0x34858a[_0x424b2f(0x25e)]),_0x28c29f=_0x1941fd[_0x424b2f(0x2cb)](_0x5b8d3d(this[_0x424b2f(0x295)][_0x424b2f(0x237)],_0x424b2f(0x28c)));return this[_0x424b2f(0x2a1)][_0x424b2f(0x219)]({'channelId':_0x16527a,'threadId':_0x45480e,'commentId':_0x552dea,'content':_0x45800a,'attributes':_0x3e306b})[_0x424b2f(0x289)](()=>_0x1941fd[_0x424b2f(0x214)](_0x28c29f))[_0x424b2f(0x25f)](_0xfa8c39=>{const _0x42e0a5=_0x424b2f;throw console[_0x42e0a5(0x2ac)](_0xfa8c39),new _0x271705(_0x42e0a5(0x259),this);});}[_0x1abb53(0x2af)]({threadId:_0x42a1e0,commentId:_0x1c6e39,isFromAdapter:_0x62718}){const _0xefafc8=_0x1abb53,_0x1abe54=this[_0xefafc8(0x261)](_0x42a1e0),_0x54bccc=_0x1abe54[_0xefafc8(0x1ed)](_0x1c6e39);if(!_0x54bccc)throw new _0x271705(_0xefafc8(0x2c6),this);if(_0x1abe54[_0xefafc8(0x235)](_0x54bccc),_0x62718||!this[_0xefafc8(0x2a1)]||_0xefafc8(0x1f5)!=typeof this[_0xefafc8(0x2a1)][_0xefafc8(0x26a)])return Promise[_0xefafc8(0x26f)]();const _0x41a3f6=this[_0xefafc8(0x295)][_0xefafc8(0x23d)][_0xefafc8(0x287)](_0xefafc8(0x1fe)),{channelId:_0x2f9d56}=_0x1abe54,_0x26c99b=_0x41a3f6[_0xefafc8(0x2cb)](_0x5b8d3d(this[_0xefafc8(0x295)][_0xefafc8(0x237)],_0xefafc8(0x28c)));return this[_0xefafc8(0x2a1)][_0xefafc8(0x26a)]({'channelId':_0x2f9d56,'threadId':_0x42a1e0,'commentId':_0x1c6e39})[_0xefafc8(0x289)](()=>_0x41a3f6[_0xefafc8(0x214)](_0x26c99b))[_0xefafc8(0x25f)](_0x4937d6=>{const _0x298839=_0xefafc8;throw console[_0x298839(0x2ac)](_0x4937d6),new _0x271705(_0x298839(0x232),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20be9e(){[_0x1abb53(0x205)];['id'];[_0x1abb53(0x28a)];[_0x1abb53(0x26d)];[_0x1abb53(0x2ad)];[_0x1abb53(0x241)];constructor(_0x225d09,_0x3d0264){const _0x326f23=_0x1abb53;super();const _0x14f405=_0x3d0264[_0x326f23(0x262)];this[_0x326f23(0x205)]=_0x3d0264[_0x326f23(0x205)],this['id']=_0x3d0264['id'],this[_0x326f23(0x2ad)]=new _0x33263a(),this[_0x326f23(0x241)]=_0x225d09,this[_0x326f23(0x28a)]=!0x1,this[_0x326f23(0x26d)]=_0x3d0264[_0x326f23(0x2b4)],this[_0x326f23(0x244)](_0x326f23(0x250),!0x0),this[_0x326f23(0x288)](_0x326f23(0x26b))['to'](_0x225d09,_0x326f23(0x248),_0x225d09,_0x326f23(0x20a),()=>_0x225d09[_0x326f23(0x26b)](this[_0x326f23(0x205)])),this[_0x326f23(0x288)](_0x326f23(0x276))['to'](_0x225d09,_0x326f23(0x248),()=>_0x225d09[_0x326f23(0x2c3)](this[_0x326f23(0x205)])[_0x326f23(0x1ff)]),this[_0x326f23(0x288)](_0x326f23(0x23e))['to'](_0x225d09,_0x326f23(0x248),()=>{const _0x2fd690=_0x326f23,_0x4c4a2a=_0x225d09[_0x2fd690(0x2c3)](this[_0x2fd690(0x205)]);return _0x4c4a2a[_0x2fd690(0x1fc)]||_0x4c4a2a[_0x2fd690(0x1ff)];}),this[_0x326f23(0x288)](_0x326f23(0x262))['to'](_0x225d09,_0x326f23(0x248),()=>_0x14f405&&_0x225d09[_0x326f23(0x2c3)](this[_0x326f23(0x205)])[_0x326f23(0x26f)]),this[_0x326f23(0x244)](_0x326f23(0x295),_0x3d0264[_0x326f23(0x295)]),this[_0x326f23(0x288)](_0x326f23(0x2bf))['to'](this,_0x326f23(0x2a3),this,_0x326f23(0x22c),(_0x4bd9d6,_0x116849)=>_0x4bd9d6?_0x116849?_0x4bd9d6<_0x116849?_0x4bd9d6:_0x116849:_0x4bd9d6:_0x116849),this[_0x326f23(0x244)](_0x326f23(0x22c),_0x3d0264[_0x326f23(0x22c)]||null),this[_0x326f23(0x244)](_0x326f23(0x2a3),_0x3d0264[_0x326f23(0x2a3)]||null),this[_0x326f23(0x244)](_0x326f23(0x21f),_0x3d0264[_0x326f23(0x21f)]||null),this[_0x326f23(0x288)](_0x326f23(0x25c))['to'](this,_0x326f23(0x2a3),_0x248aee=>!!_0x248aee),this[_0x326f23(0x244)](_0x326f23(0x2bb),_0x3d0264[_0x326f23(0x2bb)]||{});}get[_0x1abb53(0x29c)](){const _0x5016fd=_0x1abb53;return Array[_0x5016fd(0x213)](this[_0x5016fd(0x2ad)])[_0x5016fd(0x1e8)]((_0xa27a19,_0x1a2688)=>_0xa27a19+_0x1a2688[_0x5016fd(0x29c)],0x0);}get[_0x1abb53(0x1e6)](){const _0x28cc10=_0x1abb53;return this[_0x28cc10(0x2ad)][_0x28cc10(0x1e6)];}get[_0x1abb53(0x27e)](){const _0x4ce936=_0x1abb53;return this[_0x4ce936(0x28a)];}get[_0x1abb53(0x2b4)](){const _0x488307=_0x1abb53;return this[_0x488307(0x26d)];}[_0x1abb53(0x2c0)](){const _0x3c72a6=_0x1abb53,{channelId:_0x10fe83,id:_0x2659f4}=this;this[_0x3c72a6(0x241)][_0x3c72a6(0x209)](Nt(_0x3c72a6(0x267),_0x10fe83),{'channelId':_0x10fe83,'threadId':_0x2659f4});}[_0x1abb53(0x24e)](_0x4374d4){const _0x485b8b=_0x1abb53;this[_0x485b8b(0x22e)]({'unlinkedAt':_0x4374d4});}[_0x1abb53(0x26f)]({resolvedAt:_0x23734b=new Date(),resolvedBy:_0x1aca91='',isFromAdapter:_0x3dcde6=!0x1}={}){const _0x2cf39f=_0x1abb53,_0x14158a=this[_0x2cf39f(0x241)][_0x2cf39f(0x295)][_0x2cf39f(0x23d)][_0x2cf39f(0x287)](_0x164718)['me'],{channelId:_0x188534,id:_0x3203b0}=this;this[_0x2cf39f(0x241)][_0x2cf39f(0x209)](Nt(_0x2cf39f(0x290),_0x188534),{'channelId':_0x188534,'threadId':_0x3203b0,'resolvedAt':_0x23734b,'resolvedBy':_0x1aca91||_0x14158a['id'],'isFromAdapter':_0x3dcde6});}[_0x1abb53(0x256)]({isFromAdapter:_0x1a544e=!0x1}={}){const _0x3f9d14=_0x1abb53,{channelId:_0x38f702,id:_0x5d8a41}=this;this[_0x3f9d14(0x241)][_0x3f9d14(0x209)](Nt(_0x3f9d14(0x1eb),_0x38f702),{'channelId':_0x38f702,'threadId':_0x5d8a41,'isFromAdapter':_0x1a544e});}[_0x1abb53(0x203)](_0x48806e){const _0x374f08=_0x1abb53;this[_0x374f08(0x295)]||this[_0x374f08(0x22e)]({'context':_0x48806e});}[_0x1abb53(0x211)](_0x5f2161,_0x3a4122){const _0x758ba5=_0x1abb53,_0x3c524b=_0x1faed4(this[_0x758ba5(0x2bb)]);_0xd4ed00(_0x3c524b,_0x5f2161,_0x3a4122),this[_0x758ba5(0x22e)]({'attributes':_0x3c524b});}[_0x1abb53(0x227)](_0x2b9623){const _0x38c366=_0x1abb53,_0x4435a5=_0x1faed4(this[_0x38c366(0x2bb)]);_0x1d97da(_0x4435a5,_0x2b9623),this[_0x38c366(0x22e)]({'attributes':_0x4435a5});}[_0x1abb53(0x214)]({isFromAdapter:_0x15c063=!0x1}={}){const _0x3abd72=_0x1abb53,{channelId:_0x5e3fea,id:_0x4375a5}=this;this[_0x3abd72(0x241)][_0x3abd72(0x209)](Nt(_0x3abd72(0x27f),_0x5e3fea),{'channelId':_0x5e3fea,'threadId':_0x4375a5,'isFromAdapter':_0x15c063});}[_0x1abb53(0x269)](_0x2ffa7e){const _0x3b2e93=_0x1abb53;return this[_0x3b2e93(0x241)][_0x3b2e93(0x285)]({'threadId':this['id'],'target':_0x2ffa7e});}[_0x1abb53(0x25b)](_0x32b03a){const _0x2ea6c1=_0x1abb53,{channelId:_0x305ccf,id:_0x488917}=this;this[_0x2ea6c1(0x241)][_0x2ea6c1(0x209)](Nt(_0x2ea6c1(0x25b),_0x305ccf,_0x488917),Object[_0x2ea6c1(0x2c7)]({'channelId':_0x305ccf,'threadId':_0x488917},_0x32b03a));}[_0x1abb53(0x1ed)](_0x396b6d){const _0x12c989=_0x1abb53;if(_0x12c989(0x282)!=typeof _0x396b6d)throw new _0x271705(_0x12c989(0x253),null,{'commentId':_0x396b6d});return this[_0x12c989(0x2ad)][_0x12c989(0x287)](_0x396b6d);}[_0x1abb53(0x272)](){const _0x158e0e=_0x1abb53;return{'threadId':this['id'],'context':this[_0x158e0e(0x295)],'unlinkedAt':this[_0x158e0e(0x22c)],'resolvedAt':this[_0x158e0e(0x2a3)],'resolvedBy':this[_0x158e0e(0x21f)]?this[_0x158e0e(0x21f)]['id']:null,'archivedAt':this[_0x158e0e(0x2bf)],'comments':this[_0x158e0e(0x2ad)][_0x158e0e(0x271)](_0x5ab524=>_0x5ab524[_0x158e0e(0x272)]()),'attributes':this[_0x158e0e(0x2bb)]};}[_0x1abb53(0x23c)](_0x21e671){const _0x2df658=_0x1abb53;return this[_0x2df658(0x27c)](_0x21e671,_0x2df658(0x21d),()=>{const _0x5c48d9=_0x2df658,_0x3ea268=this[_0x5c48d9(0x270)](_0x21e671),_0xc55b28=this[_0x5c48d9(0x2ad)];_0x3ea268-0x1!=_0xc55b28[_0x5c48d9(0x297)](_0x21e671)&&_0x3ea268+0x1!=_0xc55b28[_0x5c48d9(0x297)](_0x21e671)&&(this[_0x5c48d9(0x235)](_0x21e671),this[_0x5c48d9(0x23c)](_0x21e671));}),this[_0x2df658(0x2ad)][_0x2df658(0x2cb)](_0x21e671,this[_0x2df658(0x270)](_0x21e671));}[_0x1abb53(0x22e)](_0x2fb0fe){const _0x4d569a=_0x1abb53,{channelId:_0x1dedbf,id:_0x10cef6}=this;this[_0x4d569a(0x241)][_0x4d569a(0x209)](Nt(_0x4d569a(0x29a),_0x1dedbf),{..._0x2fb0fe,'channelId':_0x1dedbf,'threadId':_0x10cef6});}[_0x1abb53(0x235)](_0x491d18){const _0xcfe85d=_0x1abb53;return this[_0xcfe85d(0x21b)](_0x491d18),_0x491d18[_0xcfe85d(0x1f6)](),this[_0xcfe85d(0x2ad)][_0xcfe85d(0x214)](_0x491d18);}[_0x1abb53(0x270)](_0x95ff86){const _0x1f7d94=_0x1abb53,_0x804aea=this[_0x1f7d94(0x2ad)][_0x1f7d94(0x286)](_0x30465e=>new Date(_0x30465e[_0x1f7d94(0x2ca)])[_0x1f7d94(0x1fd)]()>new Date(_0x95ff86[_0x1f7d94(0x2ca)])[_0x1f7d94(0x1fd)]());return _0x804aea?this[_0x1f7d94(0x2ad)][_0x1f7d94(0x297)](_0x804aea):this[_0x1f7d94(0x1e6)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x20be9e(){['id'];[_0x1abb53(0x25e)];[_0x1abb53(0x2b9)];[_0x1abb53(0x2a6)];[_0x1abb53(0x2ab)];[_0x1abb53(0x29e)];[_0x1abb53(0x241)];constructor(_0x474e45,_0x328a96){const _0x8b845c=_0x1abb53;super();const _0x44d76a=_0x474e45[_0x8b845c(0x295)][_0x8b845c(0x23d)][_0x8b845c(0x287)](_0x164718)['me'],_0x1bfaf1=_0x474e45[_0x8b845c(0x261)](_0x328a96[_0x8b845c(0x25e)]),_0x58ec9c=0x0===_0x1bfaf1[_0x8b845c(0x2ad)][_0x8b845c(0x1e6)],_0x460164=_0x44d76a===_0x328a96[_0x8b845c(0x2b9)];this['id']=_0x328a96['id'],this[_0x8b845c(0x25e)]=_0x328a96[_0x8b845c(0x25e)],this[_0x8b845c(0x2b9)]=_0x328a96[_0x8b845c(0x2b9)],this[_0x8b845c(0x2a6)]=_0x328a96[_0x8b845c(0x2a6)],this[_0x8b845c(0x2ab)]=Boolean(_0x328a96[_0x8b845c(0x2bb)]&&_0x328a96[_0x8b845c(0x2bb)][_0x8b845c(0x225)]),this[_0x8b845c(0x244)](_0x8b845c(0x220),_0x328a96[_0x8b845c(0x220)]),this[_0x8b845c(0x29e)]=_0x328a96[_0x8b845c(0x29e)]||new Date(),this[_0x8b845c(0x244)](_0x8b845c(0x2ca),_0x328a96[_0x8b845c(0x2ca)]||new Date()),this[_0x8b845c(0x288)](_0x8b845c(0x2a3))['to'](_0x1bfaf1,_0x8b845c(0x2a3)),this[_0x8b845c(0x244)](_0x8b845c(0x2bb),_0x328a96[_0x8b845c(0x2bb)]||{}),this[_0x8b845c(0x288)](_0x8b845c(0x275))['to'](_0x474e45,_0x8b845c(0x248),()=>{const _0x40fc9f=_0x8b845c,_0x4393a2=_0x474e45[_0x40fc9f(0x2c3)](_0x1bfaf1[_0x40fc9f(0x205)])[_0x40fc9f(0x1fc)],_0x3cee98=_0x474e45[_0x40fc9f(0x2c3)](_0x1bfaf1[_0x40fc9f(0x205)])[_0x40fc9f(0x26e)];return _0x460164&&_0x4393a2||!_0x460164&&_0x3cee98;}),this[_0x8b845c(0x288)](_0x8b845c(0x276))['to'](_0x1bfaf1,_0x8b845c(0x276),_0x474e45,_0x8b845c(0x248),_0x3e1843=>{const _0x1b1b74=_0x8b845c,_0x2f4d6e=_0x474e45[_0x1b1b74(0x2c3)](_0x1bfaf1[_0x1b1b74(0x205)])[_0x1b1b74(0x1fc)],_0x2e92ea=_0x474e45[_0x1b1b74(0x2c3)](_0x1bfaf1[_0x1b1b74(0x205)])[_0x1b1b74(0x26e)];return _0x460164&&_0x2f4d6e||_0x3e1843&&_0x58ec9c||!_0x460164&&_0x2e92ea&&!_0x58ec9c;}),this[_0x8b845c(0x288)](_0x8b845c(0x26b))['to'](_0x1bfaf1,_0x8b845c(0x26b)),this[_0x8b845c(0x241)]=_0x474e45;}get[_0x1abb53(0x29c)](){const _0x1f7722=_0x1abb53;return Math[_0x1f7722(0x268)](function(_0x1ac635){const _0x2bad26=_0x1f7722,_0x1fbe2d=document[_0x2bad26(0x208)](_0x2bad26(0x22f));return _0x1fbe2d[_0x2bad26(0x25d)]=_0x1ac635,_0x1fbe2d[_0x2bad26(0x229)][_0x2bad26(0x1e6)];}(this[_0x1f7722(0x220)]),0xc8);}[_0x1abb53(0x29f)](_0x114e0c){const _0x23e33a=_0x1abb53,{threadId:_0x15cec9,id:_0x3bb695}=this;if(!this[_0x23e33a(0x241)][_0x23e33a(0x222)](_0x15cec9))throw new _0x271705(_0x23e33a(0x218),this);const {channelId:_0x5b818f}=this[_0x23e33a(0x241)][_0x23e33a(0x261)](_0x15cec9);this[_0x23e33a(0x241)][_0x23e33a(0x209)](Nt(_0x23e33a(0x219),_0x5b818f,_0x15cec9),{'channelId':_0x5b818f,'threadId':_0x15cec9,'commentId':_0x3bb695,..._0x114e0c});}[_0x1abb53(0x211)](_0x44e589,_0x59067a){const _0x47e7b1=_0x1abb53,_0x1e8502=_0x1faed4(this[_0x47e7b1(0x2bb)]);_0xd4ed00(_0x1e8502,_0x44e589,_0x59067a),this[_0x47e7b1(0x29f)]({'attributes':_0x1e8502});}[_0x1abb53(0x227)](_0x18ced8){const _0x369fb8=_0x1abb53,_0x354a13=_0x1faed4(this[_0x369fb8(0x2bb)]);_0x1d97da(_0x354a13,_0x18ced8),this[_0x369fb8(0x29f)]({'attributes':_0x354a13});}[_0x1abb53(0x214)](_0x1a5c6b={}){const _0x5860a8=_0x1abb53;if(!_0x1a5c6b[_0x5860a8(0x240)]&&!this[_0x5860a8(0x276)])return;const {threadId:_0x3c5463,id:_0x5afd4f}=this;if(!this[_0x5860a8(0x241)][_0x5860a8(0x222)](_0x3c5463))throw new _0x271705(_0x5860a8(0x298),this);const {channelId:_0x29f851}=this[_0x5860a8(0x241)][_0x5860a8(0x261)](_0x3c5463);this[_0x5860a8(0x241)][_0x5860a8(0x209)](Nt(_0x5860a8(0x26a),_0x29f851,_0x3c5463),{'channelId':_0x29f851,'threadId':_0x3c5463,'commentId':_0x5afd4f,..._0x1a5c6b});}[_0x1abb53(0x272)](){const _0x51e6e9=_0x1abb53;return{'commentId':this['id'],'content':this[_0x51e6e9(0x220)],'createdAt':this[_0x51e6e9(0x29e)],'authorId':this[_0x51e6e9(0x2a6)]['id'],'attributes':this[_0x51e6e9(0x2bb)]};}[_0x1abb53(0x1f6)](){const _0x4c5745=_0x1abb53;this[_0x4c5745(0x21b)]();}}function _0x3675(){const _0x120180=['editorReady','1949965xfiyNg','model','warn','_add','plugins','canComment','_removeActiveAnnotation','isFromAdapter','_repository','refreshVisibility','highest','set','define','deactivateAll','_getExternalAuthor','_permissions','isActive','commentsrepository-update-comment-thread-internal-error','commentsrepository-resolve-comment-thread-internal-error','innerView','init','setUnlinkedAt','getCommentThreadForAnnotation','_hasTargetInContent','commentUpdated','_submitCommentThread','commentsrepository-get-comment-invalid-id','_adapter','_resolveCommentThread','reopen','getAnnotationForCommentThread','bodyCollectionContainer','commentsrepository-update-comment-internal-error','commentsrepository-fetch-comment-thread','addComment','isResolved','innerHTML','threadId','catch','pluginName','getCommentThread','isResolvable','commentsrepository-missing-comment-thread','setActiveCommentThread','commentsrepository-add-comment-thread-internal-error','trim','submitCommentThread','max','attachTo','removeComment','isReadOnly','setPermissions','_isSubmitted','modifyAll','resolve','_findOptimalIndex','map','toJSON','338412Dsljmp','commentsrepository-invalid-comment-content','isEditable','isRemovable','_createNewComment','commentsrepository-missing-target','commentsrepository-active-missing-comment-thread','fetchCommentThread','activeCommentThread','listenTo','_viewToController','isAttached','removeCommentThread','commentsrepository-missing-thread-and-adapter-method','getByInnerView','string','addUser','comments.CommentThreadView','_attachCommentThread','find','get','bind','then','_isAttached','editorDestroyed','PENDING_ACTION_COMMENT_THREAD','comments.maxThreadTotalWeight','10EIGSJn','commentsrepository-add-comment-user-not-exists','resolveCommentThread','noChannel','_createCommentThreadView','createCommentThreadController','comments.maxCommentsWhenCollapsed','context','change:_readOnlyChannels','getIndex','commentsrepository-remove-comment-missing-comment-thread','focusableElements','updateCommentThread','external:','weight','144pgXCOe','createdAt','update','commentId','adapter','config','resolvedAt','4965026rsFayu','commentsrepository-reopen-comment-thread-internal-error','creator','33937gwSjjG','commentsrepository-resolved-comment-thread','commentsrepository-active-not-attached','isVisible','isExternal','error','comments','_updateActiveAnnotation','_removeComment','_reopenCommentThread','commentsrepository-attach-missing-comment-thread','comments.CommentView','CommentView','isSubmitted','activate','focus','comment','once','author','20Afcpfu','attributes','getUser','commentsrepository-invalid-comment-authorid','CommentsRepository','archivedAt','submit','commentsrepository-add-comment-internal-error','openNewCommentThread','getPermissions','123920RfvTCP','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-remove-missing-comment','assign','values','filter','authoredAt','add','comments.maxCommentCharsWhenCollapsed','has','authorName','length','lowest','reduce','commentsrepository-invalid-comment-thread-id','view','reopenCommentThread','_unbindEditors','getComment','commentsrepository-adapter-already-set','_addComment','comments.copyMarkers','commentsrepository-duplicated-comment-thread-id','addCommentThread','change:isDirty','commentInputView','function','destroy','1579084BXMNgm','delete','commentsrepository-remove-comment-thread-internal-error','switchReadOnly','_threadToController','write','getTime','PendingActions','admin','change:activeAnnotations','body','51919jrwPsv','setContext','CommentThreadView','channelId','change:_permissions','isOfficialPlugin','createElement','fire','_readOnlyChannels','push','isPremiumPlugin','commentsrepository-update-missing-comment','commentThreadInputView','commentsrepository-update-comment-invalid-content','_bindAnnotationToEditors','setAttribute','_threads','from','remove','commentsrepository-invalid-commentid','_detachCommentThread','requires','commentsrepository-update-comment-missing-comment-thread','updateComment','type','stopListening','_updateComment','change:authoredAt','getCommentThreads','resolvedBy','content','6gvQwTQ','hasCommentThread','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-reopen-comment-thread','@external','licenseKey','removeAttribute','commentsListView','textContent','focusTracker','commentsrepository-remove-missing-comment-thread','unlinkedAt','_addCommentThread','_update','div','isDirty','_removeCommentThread','commentsrepository-remove-comment-internal-error','escape','comments.editorConfig','_remove','_updateCommentThread','locale'];_0x3675=function(){return _0x120180;};return _0x3675();}function Nt(_0x516d59,..._0x429abf){for(const _0x2339d0 of _0x429abf)void 0x0!==_0x2339d0&&(_0x516d59+=':'+String(_0x2339d0));return _0x516d59;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a8644=_0xeb15;(function(_0xaa0ba4,_0x4aba4b){const _0x211f6d=_0xeb15,_0x10eafd=_0xaa0ba4();while(!![]){try{const _0x45a77e=parseInt(_0x211f6d(0xf0))/0x1+-parseInt(_0x211f6d(0xe0))/0x2*(-parseInt(_0x211f6d(0xff))/0x3)+parseInt(_0x211f6d(0x10c))/0x4*(parseInt(_0x211f6d(0xe2))/0x5)+-parseInt(_0x211f6d(0xf1))/0x6+-parseInt(_0x211f6d(0xfb))/0x7+-parseInt(_0x211f6d(0xdc))/0x8*(-parseInt(_0x211f6d(0xcf))/0x9)+parseInt(_0x211f6d(0xe8))/0xa*(-parseInt(_0x211f6d(0xe3))/0xb);if(_0x45a77e===_0x4aba4b)break;else _0x10eafd['push'](_0x10eafd['shift']());}catch(_0x3b5f2b){_0x10eafd['push'](_0x10eafd['shift']());}}}(_0x5500,0x36aca));import{Plugin as _0x57045c}from'ckeditor5/src/core.js';import{IconAddComment as _0x3c9619}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x2f1d52}from'./commentsrepository.js';import{CommentsEditing as _0x1e12ca}from'./commentsediting.js';import{EditorAnnotations as _0x4f11ff}from'../annotations/editorannotations.js';import{ButtonView as _0x784c39,MenuBarMenuListItemButtonView as _0x35b2d9}from'ckeditor5/src/ui.js';import{Annotations as _0x191e0f}from'../annotations/annotations.js';function _0xeb15(_0x34b6de,_0x2ead60){const _0x55007f=_0x5500();return _0xeb15=function(_0xeb1520,_0x208b19){_0xeb1520=_0xeb1520-0xb9;let _0x149c58=_0x55007f[_0xeb1520];return _0x149c58;},_0xeb15(_0x34b6de,_0x2ead60);}function _0x5500(){const _0x3f2d54=['low','highest','focus','220197snSuIV','activeMarker','hasContent','destroy','commentsLicenseKeyExpired','hasCommentThread','isOfficialPlugin','addCommentThread','hasMarkerForId','get','removeCommentThread','comment','editor','8bEaqDS','addComment','getCommentThread','isFocused','editing','locale','innerView','pluginName','_viewToController','model','commentsLicenseKeyUsageLimit','getAllMarkersForId','Comment','bind','CommentsListView','commentsLicenseKeyEvaluationLimit','add','_licenseKeyCheckInterval','commentsLicenseKeyInvalid','CommentThreadInputView','plugins','commands','domainLimit','change:activeAnnotations','featureNotAllowed','988002GNWAMp','addSourceCollector','_showLicenseError','_createUIButton','invalid','has','map','menuBar:comment','getRange','isPremiumPlugin','requires','commentsLicenseKeyValid','CommentsUI','32gQwTUM','init','componentFactory','expired','10rUxTEx','push','124015QgrCUc','11YwCvss','Comments','config','isEnabled','commentsLicenseKeyNotAllowed','8413060GUJtmv','stop','from','_threadToController','find','comment:','execute','view','320589jbgvqK','397980Cfolkb','tooltip','set','usageLimit','commentsLicenseKeyDomainLimit','length','evaluationLimit','focusTracker','listenTo','licenseKey','313040yIQhEx'];_0x5500=function(){return _0x3f2d54;};return _0x5500();}import{CommentsListView as _0x1189af}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x35295a}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x223bab}from'../utils/common-translations.js';export class CommentsUI extends _0x57045c{[_0x5a8644(0xfa)];[_0x5a8644(0xc7)];static get[_0x5a8644(0xbd)](){const _0x12b66c=_0x5a8644;return _0x12b66c(0xdb);}static get[_0x5a8644(0x105)](){return!0x0;}static get[_0x5a8644(0xd8)](){return!0x0;}static get[_0x5a8644(0xd9)](){return[_0x2f1d52,_0x1e12ca,_0x4f11ff,_0x191e0f];}get[_0x5a8644(0xc4)](){return _0x1189af;}get[_0x5a8644(0xc9)](){return _0x35295a;}[_0x5a8644(0xdd)](){const _0x223ee4=_0x5a8644,_0x1e4bb6=this[_0x223ee4(0x10b)],_0x16b194=_0x1e4bb6[_0x223ee4(0xca)][_0x223ee4(0x108)](_0x2f1d52),_0x488106=_0x1e4bb6[_0x223ee4(0xca)][_0x223ee4(0x108)](_0x1e12ca),_0xb8cb57=_0x1e4bb6[_0x223ee4(0xca)][_0x223ee4(0x108)](_0x191e0f),_0xda997=_0x1e4bb6[_0x223ee4(0xca)][_0x223ee4(0x108)](_0x4f11ff);_0x1e4bb6['ui'][_0x223ee4(0xde)][_0x223ee4(0xc6)](_0x223ee4(0x10a),()=>{const _0x4158c4=_0x223ee4,_0xead037=this[_0x4158c4(0xd2)](_0x784c39);return _0xead037[_0x4158c4(0xf2)]=!0x0,_0xead037;}),_0x1e4bb6['ui'][_0x223ee4(0xde)][_0x223ee4(0xc6)](_0x223ee4(0xd6),()=>this[_0x223ee4(0xd2)](_0x35b2d9)),_0xda997[_0x223ee4(0xd0)](()=>{const _0x41820c=_0x223ee4,_0x5f14d9=[];for(const [_0x134141,_0x1017e9]of _0x16b194[_0x41820c(0xeb)]){const _0x46cea3=_0x488106[_0x41820c(0xc1)](_0x134141['id']),_0x47c330=_0x46cea3[_0x41820c(0xd5)](_0xf0c3c0=>_0xf0c3c0[_0x41820c(0xd7)]());_0x46cea3[_0x41820c(0xf6)]>0x0&&_0x5f14d9[_0x41820c(0xe1)]([_0x1017e9[_0x41820c(0xef)],_0x47c330]);}return _0x5f14d9;}),this[_0x223ee4(0xf9)](_0xb8cb57,_0x223ee4(0xcd),(_0x1535ec,_0x2e797c,_0x4ae981)=>{const _0x38ac6c=_0x223ee4,_0xf02ee=Array[_0x38ac6c(0xea)](_0x4ae981)[_0x38ac6c(0xd5)](_0x29075c=>_0x29075c[_0x38ac6c(0xbc)])[_0x38ac6c(0xec)](_0x44282b=>_0x16b194[_0x38ac6c(0xbe)][_0x38ac6c(0xd4)](_0x44282b));if(!_0xf02ee)return void(_0x488106[_0x38ac6c(0x100)]=null);const _0x5d9929=_0x16b194[_0x38ac6c(0xbe)][_0x38ac6c(0x108)](_0xf02ee)[_0x38ac6c(0xbf)]['id'],_0x261ad2=_0x38ac6c(0xed)+_0x5d9929;_0x5d9929&&_0x488106[_0x38ac6c(0x107)](_0x5d9929)?_0x488106[_0x38ac6c(0x100)]=_0x261ad2:_0x488106[_0x38ac6c(0x100)]&&(_0x488106[_0x38ac6c(0x100)]=null);}),this[_0x223ee4(0xf9)](_0x16b194,_0x223ee4(0x109),(_0x15adbf,{threadId:_0x3c2a74,isFromAdapter:_0x338b15})=>{const _0xe9c746=_0x223ee4;!_0x338b15&&_0x1e4bb6['ui'][_0xe9c746(0xf8)][_0xe9c746(0xb9)]&&_0x488106[_0xe9c746(0x107)](_0x3c2a74)&&_0x1e4bb6[_0xe9c746(0xba)][_0xe9c746(0xef)][_0xe9c746(0xfe)]();},{'priority':_0x223ee4(0xfd)}),this[_0x223ee4(0xf9)](_0x16b194,_0x223ee4(0x10d),(_0x308978,{threadId:_0x44db72,isFromAdapter:_0x2b3a17})=>{const _0x4a3a29=_0x223ee4;if(_0x2b3a17||!_0x488106[_0x4a3a29(0x107)](_0x44db72)||!_0x16b194[_0x4a3a29(0x104)](_0x44db72))return;0x1===_0x16b194[_0x4a3a29(0x10e)](_0x44db72)[_0x4a3a29(0xf6)]&&(_0x1e4bb6[_0x4a3a29(0xba)][_0x4a3a29(0xef)][_0x4a3a29(0xfe)](),_0x308978[_0x4a3a29(0xe9)]());},{'priority':_0x223ee4(0xfc)}),this[_0x223ee4(0xfa)]=this[_0x223ee4(0x10b)][_0x223ee4(0xe5)][_0x223ee4(0x108)](_0x223ee4(0xfa));const _0x4f96dd=this[_0x223ee4(0x10b)];this[_0x223ee4(0xc7)]=setInterval(()=>{const _0x3811c8=_0x223ee4;let _0x4315b3;for(const _0x4d3d48 in _0x4f96dd){const _0x5c5b00=_0x4d3d48,_0x39cdac=_0x4f96dd[_0x5c5b00];if(_0x3811c8(0xda)==_0x39cdac||_0x3811c8(0xc8)==_0x39cdac||_0x3811c8(0x103)==_0x39cdac||_0x3811c8(0xf5)==_0x39cdac||_0x3811c8(0xe7)==_0x39cdac||_0x3811c8(0xc5)==_0x39cdac||_0x3811c8(0xc0)==_0x39cdac){delete _0x4f96dd[_0x5c5b00],_0x4315b3=_0x39cdac,clearInterval(this[_0x3811c8(0xc7)]),this[_0x3811c8(0xc7)]=void 0x0;break;}}_0x3811c8(0xc8)==_0x4315b3&&_0x4f96dd[_0x3811c8(0xd1)](_0x3811c8(0xd3)),_0x3811c8(0x103)==_0x4315b3&&_0x4f96dd[_0x3811c8(0xd1)](_0x3811c8(0xdf)),_0x3811c8(0xf5)==_0x4315b3&&_0x4f96dd[_0x3811c8(0xd1)](_0x3811c8(0xcc)),_0x3811c8(0xe7)==_0x4315b3&&_0x4f96dd[_0x3811c8(0xd1)](_0x3811c8(0xce),_0x3811c8(0xe4)),_0x3811c8(0xc5)==_0x4315b3&&_0x4f96dd[_0x3811c8(0xd1)](_0x3811c8(0xf7)),_0x3811c8(0xc0)==_0x4315b3&&_0x4f96dd[_0x3811c8(0xd1)](_0x3811c8(0xf4));},0x3e8);}[_0x5a8644(0x102)](){const _0x4efc98=_0x5a8644;super[_0x4efc98(0x102)](),this[_0x4efc98(0xc7)]&&clearInterval(this[_0x4efc98(0xc7)]);}[_0x5a8644(0xd2)](_0x19e8e7){const _0x5c6f3e=_0x5a8644,_0x44605e=this[_0x5c6f3e(0x10b)],_0x5c3f29=new _0x19e8e7(_0x44605e[_0x5c6f3e(0xbb)]),_0x4681ca=_0x44605e[_0x5c6f3e(0xcb)][_0x5c6f3e(0x108)](_0x5c6f3e(0x106));return _0x5c3f29[_0x5c6f3e(0xf3)]({'label':_0x223bab(_0x44605e[_0x5c6f3e(0xbb)],_0x5c6f3e(0xc2)),'icon':_0x3c9619}),_0x5c3f29[_0x5c6f3e(0xc3)](_0x5c6f3e(0xe6))['to'](_0x4681ca,_0x5c6f3e(0xe6),_0x4681ca,_0x5c6f3e(0x101),(_0x572d14,_0x15fe2a)=>_0x572d14&&_0x15fe2a),this[_0x5c6f3e(0xf9)](_0x5c3f29,_0x5c6f3e(0xee),()=>{const _0x159c68=_0x5c6f3e;_0x4681ca[_0x159c68(0xee)]();}),_0x5c3f29;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x154d04=_0x2790;(function(_0x157cbf,_0x21bc6a){const _0x280cea=_0x2790,_0x83db58=_0x157cbf();while(!![]){try{const _0x2495d9=parseInt(_0x280cea(0xd8))/0x1+-parseInt(_0x280cea(0xe0))/0x2*(parseInt(_0x280cea(0xd2))/0x3)+parseInt(_0x280cea(0xe5))/0x4+-parseInt(_0x280cea(0xde))/0x5*(-parseInt(_0x280cea(0xf1))/0x6)+-parseInt(_0x280cea(0xd4))/0x7*(-parseInt(_0x280cea(0xef))/0x8)+-parseInt(_0x280cea(0xd7))/0x9*(parseInt(_0x280cea(0xe3))/0xa)+-parseInt(_0x280cea(0xe7))/0xb;if(_0x2495d9===_0x21bc6a)break;else _0x83db58['push'](_0x83db58['shift']());}catch(_0xc8fa75){_0x83db58['push'](_0x83db58['shift']());}}}(_0x566c,0x39e8f));import{Plugin as _0x49ced3}from'ckeditor5/src/core.js';function _0x566c(){const _0x51a3e1=['117axLjMO','177344ugSzSR','editor','afterInit','get','content','CommentsRepository','313745NGqiAG','comments.copyMarkers','16qGBeUO','dragstart','_mapCommentsCopyConfigToRegisterConfiguration','88090OzCwyA','plugins','891116vDDiaf','default','3916759remXpf','listenTo','hasCommentThread','always','ClipboardMarkersUtils','cut','never','all','72rsSZap','define','42htaFEw','ClipboardPipeline','contentInsertion','has','_registerMarkerInClipboardPipeline','highest','delete','requires','split','_registerMarkerToCopy','config','comment','59694RNkntV','markers','21469jElyIC','_removeMarkersWithoutThreads','keys'];_0x566c=function(){return _0x51a3e1;};return _0x566c();}import{ClipboardPipeline as _0x1eeb6b,ClipboardMarkersUtils as _0x158290}from'ckeditor5/src/clipboard.js';function _0x2790(_0x212d41,_0x51624f){const _0x566ced=_0x566c();return _0x2790=function(_0x2790cc,_0x32418c){_0x2790cc=_0x2790cc-0xce;let _0x2053e4=_0x566ced[_0x2790cc];return _0x2053e4;},_0x2790(_0x212d41,_0x51624f);}export class CommentsClipboard extends _0x49ced3{constructor(_0x389f34){const _0x274ecf=_0x2790;super(_0x389f34),this[_0x274ecf(0xd9)][_0x274ecf(0xd0)][_0x274ecf(0xf0)](_0x274ecf(0xdf),_0x274ecf(0xe6));}static get[_0x154d04(0xf8)](){return[_0x158290,_0x1eeb6b];}[_0x154d04(0xda)](){const _0x27e657=_0x154d04,_0x4ffec5=this[_0x27e657(0xd9)][_0x27e657(0xe4)][_0x27e657(0xdb)](_0x27e657(0xf2));this[_0x27e657(0xf5)](),this[_0x27e657(0xe8)](_0x4ffec5,_0x27e657(0xf3),(_0x161224,_0x3c981a)=>this[_0x27e657(0xd5)](_0x3c981a[_0x27e657(0xdc)][_0x27e657(0xd3)]),{'priority':_0x27e657(0xf6)});}[_0x154d04(0xd5)](_0x508e6c){const _0x4331ba=_0x154d04;if(!this[_0x4331ba(0xd9)][_0x4331ba(0xe4)][_0x4331ba(0xf4)](_0x4331ba(0xdd)))return _0x508e6c;const _0x124b78=this[_0x4331ba(0xd9)][_0x4331ba(0xe4)][_0x4331ba(0xdb)](_0x4331ba(0xdd));for(const _0x4981d3 of _0x508e6c[_0x4331ba(0xd6)]()){const [_0x90fd77,_0x301cbb]=_0x4981d3[_0x4331ba(0xce)](':');_0x4331ba(0xd1)!=_0x90fd77||_0x124b78[_0x4331ba(0xe9)](_0x301cbb)||_0x508e6c[_0x4331ba(0xf7)](_0x4981d3);}return _0x508e6c;}[_0x154d04(0xf5)](){const _0x39b4d9=_0x154d04,_0x4d7ec7=this[_0x39b4d9(0xd9)][_0x39b4d9(0xe4)][_0x39b4d9(0xdb)](_0x39b4d9(0xeb)),_0x4c407f=this[_0x39b4d9(0xe2)](this[_0x39b4d9(0xd9)][_0x39b4d9(0xd0)][_0x39b4d9(0xdb)](_0x39b4d9(0xdf)));_0x4c407f&&_0x4d7ec7[_0x39b4d9(0xcf)](_0x39b4d9(0xd1),_0x4c407f);}[_0x154d04(0xe2)](_0x375f0f){const _0x3fd618=_0x154d04;switch(_0x375f0f){case _0x3fd618(0xea):return{'allowedActions':_0x3fd618(0xee),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x3fd618(0xe6):return{'allowedActions':[_0x3fd618(0xec),_0x3fd618(0xe1)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x3fd618(0xed):return null;default:return null;}}}
|