@ckeditor/ckeditor5-comments 44.0.0-alpha.9 → 44.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/annotations/annotation.d.ts +1 -1
- package/dist/annotations/annotationcollection.d.ts +1 -1
- package/dist/annotations/annotations.d.ts +1 -1
- package/dist/annotations/annotationsuis.d.ts +1 -1
- package/dist/annotations/editorannotations.d.ts +1 -1
- package/dist/annotations/inlineannotations.d.ts +1 -1
- package/dist/annotations/narrowsidebar.d.ts +1 -1
- package/dist/annotations/sidebar.d.ts +1 -1
- package/dist/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/dist/annotations/view/annotationview.d.ts +1 -1
- package/dist/annotations/view/sidebaritemview.d.ts +1 -1
- package/dist/annotations/view/sidebarview.d.ts +1 -1
- package/dist/annotations/widesidebar.d.ts +1 -1
- package/dist/augmentation.d.ts +1 -1
- package/dist/comments/addcommentthreadcommand.d.ts +1 -1
- package/dist/comments/commentsarchive.d.ts +1 -1
- package/dist/comments/commentsarchiveui.d.ts +1 -1
- package/dist/comments/commentsediting.d.ts +3 -2
- package/dist/comments/commentsrepository.d.ts +1 -1
- package/dist/comments/commentsui.d.ts +1 -1
- package/dist/comments/integrations/clipboard.d.ts +1 -1
- package/dist/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/dist/comments/integrations/importword.d.ts +1 -1
- package/dist/comments/integrations/showcommenthighlights.d.ts +23 -0
- package/dist/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/dist/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/dist/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/dist/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/dist/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/dist/comments/ui/view/basecommentview.d.ts +1 -1
- package/dist/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/dist/comments/ui/view/commentcontentview.d.ts +1 -1
- package/dist/comments/ui/view/commentinputview.d.ts +1 -1
- package/dist/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/dist/comments/ui/view/commentslistview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/dist/comments/ui/view/commentthreadview.d.ts +1 -1
- package/dist/comments/ui/view/commentview.d.ts +1 -1
- package/dist/comments.d.ts +1 -1
- package/dist/commentsonly.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/index-content.css +30 -0
- package/dist/index-editor.css +0 -27
- package/dist/index.css +19 -19
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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/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/dist/utils/common-translations.d.ts +1 -1
- package/dist/utils/createmutationobserver.d.ts +1 -1
- package/package.json +16 -15
- package/src/annotations/annotation.d.ts +1 -1
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.d.ts +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.d.ts +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.d.ts +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +3 -2
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.d.ts +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.d.ts +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.d.ts +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.d.ts +19 -0
- package/src/comments/integrations/showcommenthighlights.js +23 -0
- package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.d.ts +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.d.ts +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.d.ts +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +1 -1
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.d.ts +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +1 -1
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.d.ts +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation-inline.css +1 -1
- package/theme/annotation.css +1 -1
- package/theme/comment.css +1 -1
- package/theme/commentinput.css +1 -1
- package/theme/commentmarker.css +3 -3
- package/theme/commentsarchive.css +1 -1
- package/theme/commentthread.css +1 -1
- package/theme/sidebar-narrow.css +1 -1
- package/theme/sidebar.css +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37b0dc=_0x14b6;(function(_0x4f8971,_0x1bb6a9){const _0x4084f3=_0x14b6,_0x2cfbfd=_0x4f8971();while(!![]){try{const _0x53c4cf=-parseInt(_0x4084f3(0x1f3))/0x1+parseInt(_0x4084f3(0x1cc))/0x2*(-parseInt(_0x4084f3(0x1e9))/0x3)+-parseInt(_0x4084f3(0x20a))/0x4+-parseInt(_0x4084f3(0x1da))/0x5*(-parseInt(_0x4084f3(0x1dd))/0x6)+-parseInt(_0x4084f3(0x1d3))/0x7*(-parseInt(_0x4084f3(0x1d4))/0x8)+-parseInt(_0x4084f3(0x1f2))/0x9+parseInt(_0x4084f3(0x1eb))/0xa;if(_0x53c4cf===_0x1bb6a9)break;else _0x2cfbfd['push'](_0x2cfbfd['shift']());}catch(_0x4f4797){_0x2cfbfd['push'](_0x2cfbfd['shift']());}}}(_0x289f,0xb78cc));import'../../theme/commentsarchive.css';import{Plugin as _0x5d5d52}from'ckeditor5/src/core.js';import{ViewCollection as _0x1a4ba3,MenuBarMenuListItemButtonView as _0x28aed6,ButtonView as _0x35ef2d,Dialog as _0x5dc384,DialogViewPosition as _0x292323}from'ckeditor5/src/ui.js';import _0xf8ed7 from'../../theme/icons/comments-archive.svg';function _0x14b6(_0x55bdc0,_0x7aef8a){const _0x289fa5=_0x289f();return _0x14b6=function(_0x14b680,_0x16fa49){_0x14b680=_0x14b680-0x1cc;let _0x5e9555=_0x289fa5[_0x14b680];return _0x5e9555;},_0x14b6(_0x55bdc0,_0x7aef8a);}import{getTranslation as _0x5086e5}from'../utils/common-translations.js';import _0xce7843 from'./ui/view/commentsarchiveview.js';import _0x3859fd from'./commentsarchive.js';export default class a extends _0x5d5d52{static get[_0x37b0dc(0x1ce)](){const _0x382679=_0x37b0dc;return _0x382679(0x202);}static get[_0x37b0dc(0x1f1)](){return!0x0;}static get[_0x37b0dc(0x201)](){return!0x0;}static get[_0x37b0dc(0x200)](){return[_0x3859fd,_0x5dc384];}constructor(_0x4979cf){const _0xbfca3a=_0x37b0dc;super(_0x4979cf),this[_0xbfca3a(0x20c)]=_0x2e9d6b=>{const _0x414785=_0xbfca3a,_0x24374f=_0x2e9d6b[_0x414785(0x1d9)];if(!this[_0x414785(0x213)][_0x414785(0x1fc)](_0x24374f[_0x414785(0x1f5)]))return;const _0x59e29b=this[_0x414785(0x1d2)][_0x414785(0x1de)][_0x414785(0x1f4)](_0x414785(0x214));_0x59e29b[_0x414785(0x1e3)]&&_0x414785(0x1fb)===_0x59e29b['id']&&(_0x59e29b[_0x414785(0x1d5)](),_0x2e9d6b[_0x414785(0x1d6)]());},this[_0xbfca3a(0x213)]=new _0x1a4ba3(),this[_0xbfca3a(0x1e1)]=[];}[_0x37b0dc(0x1ef)](){const _0x19ea7e=_0x37b0dc,_0x3d6c51=this[_0x19ea7e(0x1d2)],_0x3e3956=this[_0x19ea7e(0x20c)][_0x19ea7e(0x1f8)](this);_0x3d6c51['ui'][_0x19ea7e(0x1fe)][_0x19ea7e(0x211)](_0x19ea7e(0x1fb),()=>this[_0x19ea7e(0x1f6)](_0x35ef2d,!0x0)),_0x3d6c51['ui'][_0x19ea7e(0x1fe)][_0x19ea7e(0x211)](_0x19ea7e(0x1e2),()=>{const _0x2d9cf9=_0x19ea7e,_0x144acc=this[_0x2d9cf9(0x1f6)](_0x28aed6);return _0x144acc[_0x2d9cf9(0x212)]({'role':_0x2d9cf9(0x1fa)}),_0x144acc;});const _0x3d5d5e=_0x3d6c51[_0x19ea7e(0x1de)][_0x19ea7e(0x1f4)](_0x3859fd),_0x2a747a=_0x3d6c51[_0x19ea7e(0x1de)][_0x19ea7e(0x1f4)](_0x19ea7e(0x1d8)),_0x1ae19c=_0x3d6c51[_0x19ea7e(0x1de)][_0x19ea7e(0x1f4)](_0x19ea7e(0x1dc));this[_0x19ea7e(0x1e4)](_0x3d5d5e[_0x19ea7e(0x20d)],_0x19ea7e(0x211),(_0x33cd0f,_0x1b39f7)=>{const _0x34fc49=_0x19ea7e,_0x4696e3=_0x3d6c51[_0x34fc49(0x1db)][_0x34fc49(0x1f4)](_0x34fc49(0x1ea));if(!_0x4696e3||_0x1b39f7[_0x34fc49(0x20e)]===_0x4696e3){const _0x50367a=_0x1ae19c[_0x34fc49(0x1ee)][_0x34fc49(0x1f4)](_0x1b39f7);if(!_0x50367a)return void this[_0x34fc49(0x1e1)][_0x34fc49(0x1cf)](_0x1b39f7);const _0x4b7395=this[_0x34fc49(0x1f7)](_0x1b39f7[_0x34fc49(0x210)]),_0x29856=_0x2a747a[_0x34fc49(0x1fd)](_0x50367a[_0x34fc49(0x1f5)]);_0x29856[_0x34fc49(0x206)]&&_0x2a747a[_0x34fc49(0x1e6)][_0x34fc49(0x1f9)](_0x29856),this[_0x34fc49(0x213)][_0x34fc49(0x211)](_0x29856[_0x34fc49(0x1f5)],_0x4b7395);}}),this[_0x19ea7e(0x1e4)](_0x2a747a[_0x19ea7e(0x204)],_0x19ea7e(0x211),(_0x22fc87,_0xbe6207)=>{const _0x2d9b24=_0x19ea7e,_0x55f922=this[_0x2d9b24(0x1e1)][_0x2d9b24(0x1f0)](_0x270606=>{const _0x26388b=_0x2d9b24,_0x87a8b5=_0x1ae19c[_0x26388b(0x1ee)][_0x26388b(0x1f4)](_0x270606);return _0x87a8b5&&_0xbe6207[_0x26388b(0x1ec)]===_0x87a8b5[_0x26388b(0x1f5)];});if(_0x55f922){const _0x3d47c1=this[_0x2d9b24(0x1f7)](_0x55f922[_0x2d9b24(0x210)]);this[_0x2d9b24(0x213)][_0x2d9b24(0x211)](_0xbe6207[_0x2d9b24(0x1f5)],_0x3d47c1),this[_0x2d9b24(0x1e1)][_0x2d9b24(0x1e5)](this[_0x2d9b24(0x1e1)][_0x2d9b24(0x208)](_0x55f922),0x1);}}),this[_0x19ea7e(0x1e4)](_0x3d5d5e[_0x19ea7e(0x20d)],_0x19ea7e(0x1f9),(_0x5496a4,_0x2b4bde)=>{const _0x327e3a=_0x19ea7e,_0x30c429=_0x3d6c51[_0x327e3a(0x1db)][_0x327e3a(0x1f4)](_0x327e3a(0x1ea));if(!_0x30c429||_0x2b4bde[_0x327e3a(0x20e)]===_0x30c429){const _0x3621ca=_0x1ae19c[_0x327e3a(0x1ee)][_0x327e3a(0x1f4)](_0x2b4bde),_0x223723=_0x2a747a[_0x327e3a(0x1fd)](_0x3621ca[_0x327e3a(0x1f5)]);this[_0x327e3a(0x213)][_0x327e3a(0x1f9)](_0x223723[_0x327e3a(0x1f5)]),this[_0x327e3a(0x203)](_0x223723[_0x327e3a(0x1d1)]);}}),this[_0x19ea7e(0x1e4)](_0x2a747a[_0x19ea7e(0x204)],_0x19ea7e(0x211),(_0x5c305a,_0x35d77c)=>{const _0x14d840=_0x19ea7e;this[_0x14d840(0x1e4)](_0x35d77c,_0x14d840(0x1d7),_0x3e3956);}),this[_0x19ea7e(0x1e4)](_0x2a747a[_0x19ea7e(0x204)],_0x19ea7e(0x1f9),(_0x859dfb,_0x1db067)=>{const _0x5209fb=_0x19ea7e;this[_0x5209fb(0x203)](_0x1db067,_0x5209fb(0x1d7),_0x3e3956);});}[_0x37b0dc(0x1f7)](_0x403a02){const _0x582a74=_0x37b0dc,_0xb0843a=this[_0x582a74(0x1d2)][_0x582a74(0x1db)][_0x582a74(0x1f4)](_0x582a74(0x1ea)),_0x58515d=[...this[_0x582a74(0x1d2)][_0x582a74(0x1de)][_0x582a74(0x1f4)](_0x3859fd)[_0x582a74(0x20d)]][_0x582a74(0x1e8)](_0x4f4872=>_0x4f4872[_0x582a74(0x20e)]===_0xb0843a)[_0x582a74(0x1d0)](_0x4fbe81=>_0x4fbe81[_0x582a74(0x210)]<_0x403a02);return _0x58515d<0x0||_0x58515d>this[_0x582a74(0x213)][_0x582a74(0x20f)]?this[_0x582a74(0x213)][_0x582a74(0x20f)]:_0x58515d-0x1;}[_0x37b0dc(0x1cd)](){const _0x44e1a1=_0x37b0dc,_0x48022b=this[_0x44e1a1(0x1d2)],_0x26a87c=_0x48022b[_0x44e1a1(0x1de)][_0x44e1a1(0x1f4)](_0x44e1a1(0x214));this[_0x44e1a1(0x20b)]||(this[_0x44e1a1(0x20b)]=new _0xce7843(_0x48022b[_0x44e1a1(0x207)],this[_0x44e1a1(0x213)])),_0x44e1a1(0x1fb)===_0x26a87c['id']?_0x26a87c[_0x44e1a1(0x1d5)]():_0x26a87c[_0x44e1a1(0x205)]({'id':_0x44e1a1(0x1fb),'title':_0x5086e5(_0x48022b[_0x44e1a1(0x207)],_0x44e1a1(0x1ff)),'icon':_0xf8ed7,'hasCloseButton':!0x0,'content':this[_0x44e1a1(0x20b)],'position':_0x292323[_0x44e1a1(0x1df)]});}[_0x37b0dc(0x1f6)](_0x552ecf,_0x3f9e22=!0x1){const _0x4ed422=_0x37b0dc,_0x8964b6=this[_0x4ed422(0x1d2)][_0x4ed422(0x207)],_0x4a012a=this[_0x4ed422(0x1d2)][_0x4ed422(0x1de)][_0x4ed422(0x1f4)](_0x4ed422(0x214)),_0x606178=new _0x552ecf(_0x8964b6);return _0x606178[_0x4ed422(0x1f8)](_0x4ed422(0x1e7))['to'](this,_0x4ed422(0x1e7)),_0x606178[_0x4ed422(0x1f8)](_0x4ed422(0x1ed))['to'](_0x4a012a,'id',_0x4bb8cd=>_0x4ed422(0x1fb)===_0x4bb8cd),_0x606178[_0x4ed422(0x212)]({'label':_0x5086e5(_0x8964b6,_0x4ed422(0x1ff)),'icon':_0xf8ed7,'isToggleable':!0x0}),_0x3f9e22&&(_0x606178[_0x4ed422(0x1e0)]=!0x0),this[_0x4ed422(0x1e4)](_0x606178,_0x4ed422(0x209),()=>this[_0x4ed422(0x1cd)]()),_0x606178;}}function _0x289f(){const _0x53e023=['config','CommentsRepository','365718McGHkP','plugins','EDITOR_TOP_SIDE','tooltip','_pendingThreads','menuBar:commentsArchive','isOpen','listenTo','splice','_visibleAnnotations','isEnabled','filter','2217YNKdcj','collaboration.channelId','22605390GDTPJp','innerView','isOn','_threadToController','init','find','isOfficialPlugin','2515122ByXyxQ','37231WzNgAS','get','view','_createCommentsArchiveButton','_calculatePosition','bind','remove','menuitemcheckbox','commentsArchive','has','getByInnerView','componentFactory','COMMENTS_ARCHIVE','requires','isPremiumPlugin','CommentsArchiveUI','stopListening','collection','show','isVisible','locale','indexOf','execute','2613200LiAAsI','commentsArchiveView','_hideDialogOnAnnotationEscape','archivedThreads','channelId','length','archivedAt','add','set','annotationViews','Dialog','2110mMAlBZ','_toggleDialog','pluginName','push','findIndex','focusableElements','editor','15946KzYFgk','632PWHObH','hide','stop','escape','Annotations','source','5mHkbqV'];_0x289f=function(){return _0x53e023;};return _0x289f();}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/commentsediting
|
|
@@ -13,6 +13,7 @@ import EditorAnnotations from '../annotations/editorannotations.js';
|
|
|
13
13
|
import CommentsRestrictedEditingMode from './integrations/commentsrestrictededitingmode.js';
|
|
14
14
|
import CommentsImportWord from './integrations/importword.js';
|
|
15
15
|
import CommentsClipboard from './integrations/clipboard.js';
|
|
16
|
+
import ShowCommentHighlights from './integrations/showcommenthighlights.js';
|
|
16
17
|
import '../../theme/commentmarker.css';
|
|
17
18
|
/**
|
|
18
19
|
* Plugin that keeps in sync comments in {@link module:comments/comments/commentsrepository~CommentsRepository} with
|
|
@@ -42,7 +43,7 @@ export default class CommentsEditing extends Plugin {
|
|
|
42
43
|
/**
|
|
43
44
|
* @inheritDoc
|
|
44
45
|
*/
|
|
45
|
-
static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof Users, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard];
|
|
46
|
+
static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof Users, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard, typeof ShowCommentHighlights];
|
|
46
47
|
/**
|
|
47
48
|
* @inheritDoc
|
|
48
49
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d5ae5=_0x3066;(function(_0x2f1bde,_0x3739be){const _0x38f0b8=_0x3066,_0x2d5404=_0x2f1bde();while(!![]){try{const _0x5dddc6=parseInt(_0x38f0b8(0xbe))/0x1+-parseInt(_0x38f0b8(0xdd))/0x2+-parseInt(_0x38f0b8(0x117))/0x3*(-parseInt(_0x38f0b8(0xad))/0x4)+parseInt(_0x38f0b8(0x120))/0x5+parseInt(_0x38f0b8(0x10a))/0x6+parseInt(_0x38f0b8(0x10d))/0x7*(parseInt(_0x38f0b8(0xe1))/0x8)+-parseInt(_0x38f0b8(0x118))/0x9;if(_0x5dddc6===_0x3739be)break;else _0x2d5404['push'](_0x2d5404['shift']());}catch(_0x571841){_0x2d5404['push'](_0x2d5404['shift']());}}}(_0x1cd4,0xebf70));import{Plugin as _0x31b84a}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x4fc7f5,scrollViewportToShowTarget as _0x347bb3,uid as _0x32a91f}from'ckeditor5/src/utils.js';import _0x525249 from'./commentsrepository.js';import _0x44c67d from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2ae72e,getAllMarkersDomElementsSorted as _0x55f5e9,FOCUS_ANNOTATION_KEYSTROKE as _0x35d79e,Users as _0xe37b2f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x244213 from'../annotations/editorannotations.js';import _0x8a140 from'./integrations/commentsrestrictededitingmode.js';import _0x5db843 from'./integrations/importword.js';function _0x1cd4(){const _0x52496a=['1124049szByWq','49855833WhVYLU','group','add','isAttached','affectsData','_initializeMarkerConverters','newRange','name','9571765xcVJZG','set','_attachMarkerToThread','first','length','reopenCommentThread','start','addMarker:','markers','consumable','for','markerName','collaboration.channelId','from','context','getCommentThread','getCommentThreads','locale','editingDowncast','hasContent','announce','unlinkedAt','split','reconvertMarker','getByInnerView','getWalker','text','LEAVE_COMMENT_ANNOUNCEMENT','focus','schema','dataToMarker','isThreadsLoadingPaused','_threads','once','ck-comment-marker--active','isEqual','resolveCommentThread','removeMarker','author','comment','activeMarker','delete','ignoreResolvedComments','8ihUeEQ','CommentsEditing','startsWith','change','item','hasCommentThread','document','config','isPremiumPlugin','destroyed','differ','change:activeMarker','scrollToThreadMarker','enqueueChange','$textProxy','rootName','createRange','1565267iqcFvs','hasDomSelection','then','requires','substring','setUnlinkedAt','destroy','removeCommentThread','afterInit','state','push','refreshVisibility','comments','_handleThreadMarker','_getTextContext','join','listenTo','root','_handleMarkerAddAndRemove','view','model','isCollapsed','ENTER_COMMENT_ANNOUNCEMENT','plugins','end','data','fromCharCode','dataDowncast','init','conversion','editor','1774564qwfEMj','setContext','href','map','2351032yfDYfm','getRange','hasMarkerForId','ariaLiveAnnouncer','markerToData','markerToHighlight','_hasTargetInContent','createElement','upcast','getAttribute','updateMarker','commands','isOfficialPlugin','editing','addCommentThread','registerPostFixer','isResolved','switchReadOnly','change:isThreadsLoadingPaused','managedUsingOperations','ck-comment-marker','comment:','getChangedMarkers','addComment','_detachCommentThread','size','getItems','_attachArchivedThread','elementToElement','low','change:isReadOnly','registerAnnotation','$graveyard','_threadToController','_initAriaMarkerChangeAnnouncements','getAllMarkersForId','fetchCommentThread','isLocal','_reconvertMarkers','get','consume','10169700tZSvuU','pluginName','_getTargetForId','35ANPAat','removeMarker:','attachTo','createPositionBefore','$marker','clear','openNewCommentThread','ready','render','isObject'];_0x1cd4=function(){return _0x52496a;};return _0x1cd4();}function _0x3066(_0xc139a0,_0x461516){const _0x1cd4d9=_0x1cd4();return _0x3066=function(_0x306677,_0x3d839f){_0x306677=_0x306677-0x94;let _0x52278b=_0x1cd4d9[_0x306677];return _0x52278b;},_0x3066(_0xc139a0,_0x461516);}import _0x3b3952 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x597e4e from'../annotations/annotations.js';import{getTranslation as _0x999a55}from'../utils/common-translations.js';export default class r extends _0x31b84a{static get[_0x3d5ae5(0xc1)](){return[_0x525249,_0x244213,_0xe37b2f,_0x8a140,_0x5db843,_0x3b3952];}static get[_0x3d5ae5(0x10b)](){const _0x159ebf=_0x3d5ae5;return _0x159ebf(0xae);}static get[_0x3d5ae5(0xed)](){return!0x0;}static get[_0x3d5ae5(0xb5)](){return!0x0;}constructor(_0x1af3e0){const _0x39539a=_0x3d5ae5;super(_0x1af3e0),this[_0x39539a(0x121)](_0x39539a(0xa1),!0x0),_0x1af3e0[_0x39539a(0xd7)][_0x39539a(0xa3)](_0x39539a(0x114),()=>this[_0x39539a(0xa1)]=!0x1),this[_0x39539a(0x121)](_0x39539a(0xaa),null),this['on'](_0x39539a(0xb8),(_0x1d30f5,_0x765b62,_0x3bcbfd,_0x1ffd69)=>{const _0x2120da=_0x39539a,_0x1c7bde=_0x3bcbfd?splitMarkerName(_0x3bcbfd)['id']:null;if(_0x1af3e0[_0x2120da(0xd2)][_0x2120da(0xb0)](()=>{const _0x43c21c=_0x2120da;if(_0x1c7bde){const _0x27737d=this[_0x43c21c(0x104)](_0x1c7bde);for(const _0x366196 of _0x27737d)_0x1af3e0[_0x43c21c(0xee)][_0x43c21c(0x99)](_0x366196);}if(_0x1ffd69){const {id:_0x33581a}=splitMarkerName(_0x1ffd69),_0x594c2b=this[_0x43c21c(0x104)](_0x33581a);for(const _0x4c91e2 of _0x594c2b)_0x1af3e0[_0x43c21c(0xee)][_0x43c21c(0x99)](_0x4c91e2);}}),_0x1c7bde){const _0x5c85f4=_0x1af3e0[_0x2120da(0xd5)][_0x2120da(0x108)](_0x525249)[_0x2120da(0x12f)](_0x1c7bde);_0x5c85f4&&_0x5c85f4[_0x2120da(0xf1)]&&this[_0x2120da(0xb9)](_0x1c7bde);}}),this[_0x39539a(0x103)]();}[_0x3d5ae5(0xda)](){const _0x37f313=_0x3d5ae5,_0x2dc22d=this[_0x37f313(0xdc)],_0x1091a4=_0x2dc22d[_0x37f313(0xd5)][_0x37f313(0x108)](_0x525249),_0x4e7fb5=_0x2dc22d[_0x37f313(0xb4)][_0x37f313(0x108)](_0x37f313(0x12c));_0x2dc22d[_0x37f313(0xec)][_0x37f313(0x11a)](_0x37f313(0xef),new _0x44c67d(_0x2dc22d)),this[_0x37f313(0xce)](_0x2dc22d,_0x37f313(0xff),(_0x25ee38,_0x4de919,_0x7246f6)=>{const _0x1508f8=_0x37f313;_0x1091a4[_0x1508f8(0xf2)](_0x7246f6,_0x2dc22d[_0x1508f8(0xb4)][_0x1508f8(0x108)](_0x1508f8(0x12c)));}),this[_0x37f313(0xce)](_0x1091a4,ut(_0x37f313(0xef),_0x4e7fb5),(_0x15c206,{threadId:_0x1d490c})=>{const _0x4416d5=_0x37f313,_0x402738=this[_0x4416d5(0xdc)][_0x4416d5(0xd5)][_0x4416d5(0x108)](_0x525249)[_0x4416d5(0x12f)](_0x1d490c);_0x402738&&_0x402738[_0x4416d5(0x97)]&&this[_0x4416d5(0xfc)](_0x1d490c);}),this[_0x37f313(0xce)](_0x1091a4,ut(_0x37f313(0xc5),_0x4e7fb5),(_0xa49672,{threadId:_0x21caba})=>{const _0x216ede=_0x37f313;_0x2dc22d[_0x216ede(0xd2)][_0x216ede(0xba)]({'isUndoable':!0x1},_0x190f7c=>{const _0x46accf=_0x216ede,_0x4cf722=this[_0x46accf(0x104)](_0x21caba);for(const _0x3d576f of _0x4cf722)_0x190f7c[_0x46accf(0xa7)](_0x3d576f);});}),this[_0x37f313(0xce)](_0x1091a4,ut(_0x37f313(0xa6),_0x4e7fb5),(_0x37d47c,{threadId:_0x5123d1})=>{const _0x3c6535=_0x37f313;(this[_0x3c6535(0x107)](_0x5123d1),this[_0x3c6535(0xdc)][_0x3c6535(0xee)][_0x3c6535(0xd1)][_0x3c6535(0xbf)])&&(this[_0x3c6535(0xdc)][_0x3c6535(0xd5)][_0x3c6535(0x108)](_0x525249)[_0x3c6535(0x12f)](_0x5123d1)[_0x3c6535(0x97)]||this[_0x3c6535(0xdc)][_0x3c6535(0xee)][_0x3c6535(0xd1)][_0x3c6535(0x9e)]());},{'priority':_0x37f313(0xfe)}),this[_0x37f313(0xce)](_0x1091a4,ut(_0x37f313(0x125),_0x4e7fb5),(_0x471966,{threadId:_0x5d33b8})=>{const _0x19711f=_0x37f313;this[_0x19711f(0x107)](_0x5d33b8);},{'priority':_0x37f313(0xfe)}),this[_0x37f313(0xce)](_0x1091a4,ut(_0x37f313(0xf8),_0x4e7fb5),(_0x18d37f,{threadId:_0x4dcb0d,isFromAdapter:_0x452587})=>{const _0x4f6189=_0x37f313,_0x1054e8=this[_0x4f6189(0x104)](_0x4dcb0d);if(_0x452587||0x0==_0x1054e8[_0x4f6189(0x124)]||!_0x1091a4[_0x4f6189(0xb2)](_0x4dcb0d))return;0x1===_0x1091a4[_0x4f6189(0x12f)](_0x4dcb0d)[_0x4f6189(0x124)]&&_0x2dc22d[_0x4f6189(0xd2)][_0x4f6189(0xba)]({'isUndoable':!0x1},_0x321182=>{const _0x56664c=_0x4f6189;for(const _0x2549c9 of _0x1054e8)_0x321182[_0x56664c(0xeb)](_0x2549c9,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x37f313(0xfe)}),this[_0x37f313(0x11d)](),this[_0x37f313(0xd0)]();}[_0x3d5ae5(0xc6)](){!async function(_0x4dafb6){const _0x35fd83=_0x3378ba([0x31,0x78,0x4c,0x51,0x79,0x6d,0x62,0x72,0x68,0x39,0x52,0x30,0x76,0x43,0x6c,0x66,0x71,0x65,0x75,0x4f,0x67,0x48,0x4e,0x36,0x37,0x4d,0x59,0x49,0x45,0x4b,0x44,0x53,0x6f,0x73,0x70,0x58,0x38,0x42,0x7a,0x6a,0x64,0x6e,0x61,0x6b,0x56,0x47,0x32,0x69,0x57,0x41,0x33,0x77,0x74,0x63,0x34,0x35,0x50,0x4a,0x54,0x46,0x55,0x5a]),_0x46165a=0x2fe642a3,_0x1df5b4=0x2fe11ae3^_0x46165a,_0x4c5fb9=window[_0x3378ba([0x44,0x61,0x74,0x65])][_0x3378ba([0x6e,0x6f,0x77])](),_0x39a20d=_0x4dafb6[_0x3378ba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x225549=new window[(_0x3378ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4608a7=>{_0x39a20d[_0x3378ba([0x6f,0x6e,0x63,0x65])](_0x3378ba([0x72,0x65,0x61,0x64,0x79]),_0x4608a7);}),_0x38dded={[_0x3378ba([0x6b,0x74,0x79])]:_0x3378ba([0x45,0x43]),[_0x3378ba([0x75,0x73,0x65])]:_0x3378ba([0x73,0x69,0x67]),[_0x3378ba([0x63,0x72,0x76])]:_0x3378ba([0x50,0x2d,0x32,0x35,0x36]),[_0x3378ba([0x78])]:_0x3378ba([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]),[_0x3378ba([0x79])]:_0x3378ba([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]),[_0x3378ba([0x61,0x6c,0x67])]:_0x3378ba([0x45,0x53,0x32,0x35,0x36])},_0x51a19e=_0x39a20d[_0x3378ba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3378ba([0x67,0x65,0x74])](_0x3378ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x86d660(){let _0xb3f50,_0x2add59=null,_0x59966b=null;try{if(_0x51a19e==_0x3378ba([0x47,0x50,0x4c]))return _0x3378ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb3f50=_0x1a59cc(),!_0xb3f50)return _0x3378ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb3f50[_0x3378ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59966b=_0x4a8c43(_0xb3f50[_0x3378ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb3f50[_0x3378ba([0x6a,0x74,0x69])])),await _0x2e6524()?_0x6c3b13()?_0x9e9695()?_0x3378ba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b671d()?(_0xb3f50[_0x3378ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3378ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2add59=_0x4c0b2f(_0x3378ba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xb3f50[_0x3378ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3378ba([0x74,0x72,0x69,0x61,0x6c])&&(_0x2add59=_0x4c0b2f(_0x3378ba([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0xb3f50[_0x3378ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3378ba([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x2add59=_0x4c0b2f(_0x3378ba([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c2d44()):_0x3378ba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3378ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3378ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x36f7e8){return _0x3378ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x9e9695(){const _0x37b837=[_0x3378ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3378ba([0x74,0x72,0x69,0x61,0x6c])][_0x3378ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb3f50[_0x3378ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4c5fb9/0x3e8:0xe10*_0x1df5b4;return _0xb3f50[_0x3378ba([0x65,0x78,0x70])]<_0x37b837;}function _0x6c3b13(){const _0x366818=_0xb3f50[_0x3378ba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x366818)return!0x1;if(_0x366818[_0x3378ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3378ba([0x2a])))return!0x0;if(_0x366818[_0x3378ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3378ba([0x43,0x4d,0x54])))return!0x0;if(_0x366818[_0x3378ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3378ba([0x52,0x43,0x4d,0x54]))){if(_0x48139c())return!0x0;if(_0x101488()||_0xe10a6f())return!0x0;}return!0x1;}function _0x1b671d(){const _0x41c33b=_0x3066,_0x151e32=_0xb3f50[_0x3378ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x151e32||0x0==_0x151e32[_0x3378ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ad482}=new URL(window[_0x3378ba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x41c33b(0xdf)]);if(_0x151e32[_0x3378ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ad482))return!0x0;const _0x878df=_0x2ad482[_0x3378ba([0x73,0x70,0x6c,0x69,0x74])](_0x3378ba([0x2e]));return _0x151e32[_0x3378ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16bb4f=>_0x16bb4f[_0x3378ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3378ba([0x2a])))[_0x3378ba([0x6d,0x61,0x70])](_0xa78409=>_0xa78409[_0x3378ba([0x73,0x70,0x6c,0x69,0x74])](_0x3378ba([0x2e])))[_0x3378ba([0x73,0x6f,0x6d,0x65])](_0x58db07=>_0x878df[_0x3378ba([0x65,0x76,0x65,0x72,0x79])]((_0x9e55,_0x3f654e)=>_0x58db07[_0x3f654e]===_0x9e55||_0x58db07[_0x3f654e]===_0x3378ba([0x2a])));}function _0x5c2d44(){return _0x2add59&&_0x59966b?new window[(_0x3378ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e2bbe,_0x48f0c6)=>{_0x2add59[_0x3378ba([0x74,0x68,0x65,0x6e])](_0x1e2bbe,_0x48f0c6),_0x59966b[_0x3378ba([0x74,0x68,0x65,0x6e])](_0x3bd2ba=>{_0x3bd2ba!=_0x3378ba([0x56,0x61,0x6c,0x69,0x64])&&_0x1e2bbe(_0x3bd2ba);},_0x48f0c6);}):_0x2add59||_0x59966b||_0x3378ba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a8c43(_0xb22b8a,_0x4ae146){return new window[(_0x3378ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13cc98=>{if(_0x2060f6())return _0x13cc98(_0x3378ba([0x56,0x61,0x6c,0x69,0x64]));_0x3f6039(),_0x39a20d[_0x3378ba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3378ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x387a43=!0x1;const _0x5bb455=_0x32a91f();function _0x5afb0c(_0x1ac4c7){return!!_0x1ac4c7&&(typeof _0x1ac4c7===_0x3378ba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ac4c7===_0x3378ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ac4c7[_0x3378ba([0x74,0x68,0x65,0x6e])]===_0x3378ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ac4c7[_0x3378ba([0x63,0x61,0x74,0x63,0x68])]===_0x3378ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ee6b2(_0xe81995){_0x389a72(_0xe81995)[_0x3378ba([0x74,0x68,0x65,0x6e])](_0x3da1a5=>{if(!_0x3da1a5||_0x3da1a5[_0x3378ba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3378ba([0x6f,0x6b]))return _0x3378ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a83f1(_0x21ac9c(_0x5bb455+_0x4ae146))!=_0x3da1a5[_0x3378ba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3378ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3378ba([0x56,0x61,0x6c,0x69,0x64]);})[_0x3378ba([0x74,0x68,0x65,0x6e])](_0x19f10e=>(_0x23d76b(),_0x19f10e),()=>{const _0x34a75a=_0x5cca58();return null==_0x34a75a?(_0x23d76b(),_0x3378ba([0x56,0x61,0x6c,0x69,0x64])):_0x3378ba(_0x4c5fb9-_0x34a75a>(0xbeac6a3^_0x46165a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3378ba([0x74,0x68,0x65,0x6e])](_0x13cc98)[_0x3378ba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13cc98(_0x3378ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x325bbc=0x2fd0ac23^_0x46165a;function _0x23d76b(){const _0x10ae9c=_0x3378ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a83f1(_0x21ac9c(_0xb22b8a)),_0x234daf=_0x967ef0(_0x2a83f1(window[_0x3378ba([0x4d,0x61,0x74,0x68])][_0x3378ba([0x63,0x65,0x69,0x6c])](_0x4c5fb9/_0x325bbc)));window[_0x3378ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3378ba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10ae9c,_0x234daf);}function _0x5cca58(){const _0x524afa=_0x3378ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a83f1(_0x21ac9c(_0xb22b8a)),_0x5b8658=window[_0x3378ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3378ba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x524afa);return _0x5b8658?window[_0x3378ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x967ef0(_0x5b8658),0x10)*_0x325bbc:null;}function _0x389a72(_0x1af4ef){return new window[(_0x3378ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a3a70,_0x123f33)=>{_0x1af4ef[_0x3378ba([0x74,0x68,0x65,0x6e])](_0x5a3a70,_0x123f33),window[_0x3378ba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x123f33,0x2fe79663^_0x46165a);});}}_0x39a20d[_0x3378ba([0x6f,0x6e])](_0x3378ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14e6f1,_0x5db294)=>{if(_0x5db294[0x0]!=_0xb22b8a)return _0x13cc98(_0x3378ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5db294[0x1]={..._0x5db294[0x1],[_0x3378ba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bb455};},{[_0x3378ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3378ba([0x68,0x69,0x67,0x68])}),_0x39a20d[_0x3378ba([0x6f,0x6e])](_0x3378ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ef944=>{_0x5afb0c(_0x2ef944[_0x3378ba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x387a43=!0x0,_0x5ee6b2(_0x2ef944[_0x3378ba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3378ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3378ba([0x6c,0x6f,0x77])}),_0x225549[_0x3378ba([0x74,0x68,0x65,0x6e])](()=>{_0x387a43||_0x13cc98(_0x3378ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2060f6(){return _0x39a20d[_0x3378ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3378ba([0x76,0x69,0x65,0x77])][_0x3378ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3378ba([0x61,0x75,0x74,0x6f]);}function _0x3f6039(){_0x39a20d[_0x3378ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3378ba([0x76,0x69,0x65,0x77])][_0x3378ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3378ba([0x61,0x75,0x74,0x6f]);}}function _0x4c0b2f(_0x56e270){const _0x41b16b=[new window[(_0x3378ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f32df=>setTimeout(_0x5f32df,0x2fef7c6f^_0x46165a)),_0x225549[_0x3378ba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3378ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29c58d=>{let _0x1d590d=0x0;_0x39a20d[_0x3378ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x3378ba([0x6f,0x6e])](_0x3378ba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f9eb6,_0x572f17)=>{_0x572f17[0x0][_0x3378ba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d590d++,_0x1d590d==(0x2fe6435b^_0x46165a)&&(_0x29c58d(),_0x3f9eb6[_0x3378ba([0x6f,0x66,0x66])]());});}))];return window[_0x3378ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3378ba([0x72,0x61,0x63,0x65])](_0x41b16b)[_0x3378ba([0x74,0x68,0x65,0x6e])](()=>_0x56e270);}async function _0xb3c625(){await _0x225549,_0x39a20d[_0x3378ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x3378ba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c1220,_0x39a20d[_0x3378ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x3378ba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c1220,_0x39a20d[_0x3378ba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3378ba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48139c(){return _0x4d5c61(_0x3378ba([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2299d7(_0x3378ba([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3378ba([0x73,0x74,0x61,0x74,0x65])]==_0x3378ba([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x101488(){return _0x4d5c61(_0x3378ba([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 _0xe10a6f(){return _0x4d5c61(_0x3378ba([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x110dbc(_0x28f542){const _0x1f5db7=_0x4cfc8c();_0x39a20d[_0x1f5db7]=_0x3378ba([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28f542,_0x28f542!=_0x3378ba([0x56,0x61,0x6c,0x69,0x64])&&_0xb3c625();}function _0x4cfc8c(){const _0xcfcba1=window[_0x3378ba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3378ba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3378ba([0x6e,0x6f,0x77])]())[_0x3378ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3378ba([0x2e]),'');let _0x57badb=_0x3378ba([0x78]);for(let _0xc9d7bd=0x0;_0xc9d7bd<_0xcfcba1[_0x3378ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc9d7bd+=0x2){let _0x3ed191=window[_0x3378ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcfcba1[_0x3378ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc9d7bd,_0xc9d7bd+0x2));_0x3ed191>=_0x35fd83[_0x3378ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ed191-=_0x35fd83[_0x3378ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57badb+=_0x35fd83[_0x3ed191];}return _0x57badb;}function _0x1a59cc(){const _0x1939cd=_0x51a19e[_0x3378ba([0x73,0x70,0x6c,0x69,0x74])](_0x3378ba([0x2e]));if(0x3!=_0x1939cd[_0x3378ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2468ff(_0x1939cd[0x1]);function _0x2468ff(_0x148423){const _0x137556=_0x7b6782(_0x148423);return _0x137556&&_0x341955()?_0x137556:null;function _0x341955(){const _0x58a921=_0x137556[_0x3378ba([0x6a,0x74,0x69])],_0x6c6feb=window[_0x3378ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58a921[_0x3378ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58a921[_0x3378ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35370={..._0x137556,[_0x3378ba([0x6a,0x74,0x69])]:_0x58a921[_0x3378ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58a921[_0x3378ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35370[_0x3378ba([0x76,0x63])],_0x21ac9c(_0x35370)==_0x6c6feb;}}}async function _0x2e6524(){let _0x157650=!0x0;try{const _0x526a09=_0x51a19e[_0x3378ba([0x73,0x70,0x6c,0x69,0x74])](_0x3378ba([0x2e])),[_0x3a265b,_0x39d693,_0x3641e7]=_0x526a09;return _0x247b1c(_0x3a265b),await _0x57d980(_0x3a265b,_0x39d693,_0x3641e7),_0x157650;}catch(_0x2f62d2){return!0x1;}function _0x247b1c(_0x238a47){const _0x3660cc=_0x7b6782(_0x238a47);_0x3660cc&&_0x3660cc[_0x3378ba([0x61,0x6c,0x67])]==_0x3378ba([0x45,0x53,0x32,0x35,0x36])||(_0x157650=!0x1);}async function _0x57d980(_0x183a9f,_0x4620e2,_0x177fef){const _0x3e9714=window[_0x3378ba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3378ba([0x66,0x72,0x6f,0x6d])](_0x492031(_0x177fef),_0x979114=>_0x979114[_0x3378ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5103de=new window[(_0x3378ba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3378ba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x183a9f+_0x3378ba([0x2e])+_0x4620e2),_0x145b8c=window[_0x3378ba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3378ba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x145b8c)return;const _0xad234=await _0x145b8c[_0x3378ba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3378ba([0x6a,0x77,0x6b]),_0x38dded,{[_0x3378ba([0x6e,0x61,0x6d,0x65])]:_0x3378ba([0x45,0x43,0x44,0x53,0x41]),[_0x3378ba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3378ba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3378ba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x145b8c[_0x3378ba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3378ba([0x6e,0x61,0x6d,0x65])]:_0x3378ba([0x45,0x43,0x44,0x53,0x41]),[_0x3378ba([0x68,0x61,0x73,0x68])]:{[_0x3378ba([0x6e,0x61,0x6d,0x65])]:_0x3378ba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xad234,_0x3e9714,_0x5103de)||(_0x157650=!0x1);}}function _0x7b6782(_0x558dc7){return _0x558dc7[_0x3378ba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3378ba([0x65,0x79]))?JSON[_0x3378ba([0x70,0x61,0x72,0x73,0x65])](_0x492031(_0x558dc7)):null;}function _0x492031(_0x2ebeec){return window[_0x3378ba([0x61,0x74,0x6f,0x62])](_0x2ebeec[_0x3378ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3378ba([0x2b]))[_0x3378ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3378ba([0x2f])));}function _0x21ac9c(_0x4c7ed8){let _0x2e3f94=0x1505;function _0x3f662d(_0x41ffdc){for(let _0x1cbe37=0x0;_0x1cbe37<_0x41ffdc[_0x3378ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cbe37++){const _0x3908a6=_0x41ffdc[_0x3378ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cbe37);_0x2e3f94=(_0x2e3f94<<0x5)+_0x2e3f94+_0x3908a6,_0x2e3f94&=_0x2e3f94;}}function _0x51bc11(_0xbdfba0){Array[_0x3378ba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbdfba0)?_0xbdfba0[_0x3378ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51bc11):_0xbdfba0&&typeof _0xbdfba0==_0x3378ba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3378ba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbdfba0)[_0x3378ba([0x73,0x6f,0x72,0x74])]()[_0x3378ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f24a9,_0x502e24])=>{_0x3f662d(_0x4f24a9),_0x51bc11(_0x502e24);}):_0x3f662d(window[_0x3378ba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbdfba0));}return _0x51bc11(_0x4c7ed8),_0x2e3f94>>>0x0;}function _0x2a83f1(_0x45d662){return _0x45d662[_0x3378ba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3378ba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3378ba([0x30]));}function _0x967ef0(_0x2b86a1){return _0x2b86a1[_0x3378ba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3378ba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3378ba([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d5c61(_0xb3fb22){return _0x39a20d[_0x3378ba([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3378ba([0x68,0x61,0x73])](_0xb3fb22);}function _0x2299d7(_0x20fdb4){return _0x39a20d[_0x3378ba([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3378ba([0x67,0x65,0x74])](_0x20fdb4);}function _0x4c1220(){}function _0x3378ba(_0x2be50d){const _0xfd98c7=_0x3066;return _0x2be50d[_0xfd98c7(0xe0)](_0x57f965=>String[_0xfd98c7(0xd8)](_0x57f965))[_0xfd98c7(0xcd)]('');}_0x110dbc(await _0x86d660());}(this);}[_0x3d5ae5(0xc4)](){const _0x32ed8b=_0x3d5ae5,_0x4ebefa=this[_0x32ed8b(0xdc)][_0x32ed8b(0xd5)][_0x32ed8b(0x108)](_0x525249),_0x11466e=this[_0x32ed8b(0xdc)][_0x32ed8b(0xb4)][_0x32ed8b(0x108)](_0x32ed8b(0x12c));for(const _0xebd40e of _0x4ebefa[_0x32ed8b(0x130)]({'channelId':_0x11466e}))_0x4ebefa[_0x32ed8b(0xf9)](_0xebd40e['id']),_0x4ebefa[_0x32ed8b(0xa2)][_0x32ed8b(0xab)](_0xebd40e['id']);super[_0x32ed8b(0xc4)]();}[_0x3d5ae5(0xe3)](_0x43ecb4){const _0x11c29e=_0x3d5ae5;return this[_0x11c29e(0x104)](_0x43ecb4)[_0x11c29e(0x124)]>0x0;}[_0x3d5ae5(0x104)](_0x22cc6a){const _0x49ad31=_0x3d5ae5,_0x486fa3=[];for(const _0x3529be of this[_0x49ad31(0xdc)][_0x49ad31(0xd2)][_0x49ad31(0x128)])_0x3529be[_0x49ad31(0x11f)][_0x49ad31(0xaf)](_0x49ad31(0xf6)+_0x22cc6a)&&_0x486fa3[_0x49ad31(0xc8)](_0x3529be);return _0x486fa3;}[_0x3d5ae5(0xb9)](_0x111f90){const _0x43656c=_0x3d5ae5,_0x14fe03=this[_0x43656c(0x10c)](_0x111f90);_0x14fe03&&setTimeout(()=>{const _0x19f9fd=_0x43656c;this[_0x19f9fd(0xaa)]&&splitMarkerName(this[_0x19f9fd(0xaa)])['id']===_0x111f90&&_0x347bb3({'target':_0x14fe03[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x3d5ae5(0x107)](_0x108b51){const _0x2ca898=_0x3d5ae5;this[_0x2ca898(0xdc)][_0x2ca898(0xd2)][_0x2ca898(0xb0)](()=>{const _0x4d360c=_0x2ca898;for(const _0x5f288f of this[_0x4d360c(0x104)](_0x108b51))this[_0x4d360c(0xdc)][_0x4d360c(0xee)][_0x4d360c(0x99)](_0x5f288f);});}[_0x3d5ae5(0xfc)](_0x3c7cef){const _0x11dbc2=_0x3d5ae5,_0x326e3c=this[_0x11dbc2(0xdc)][_0x11dbc2(0xd5)][_0x11dbc2(0x108)](_0x525249),_0xe4bbe9=this[_0x11dbc2(0xdc)][_0x11dbc2(0xd5)][_0x11dbc2(0x108)](_0x244213),_0x77df70=_0x326e3c[_0x11dbc2(0x12f)](_0x3c7cef);if(!_0x77df70[_0x11dbc2(0x11b)]){const _0x484024=_0x77df70[_0x11dbc2(0x10f)](()=>this[_0x11dbc2(0x10c)](_0x77df70['id']));_0xe4bbe9[_0x11dbc2(0x100)](_0x484024),_0x77df70[_0x11dbc2(0xe7)]=!0x1;}}[_0x3d5ae5(0x11d)](){const _0x1ff844=_0x3d5ae5,_0x6b6924=this[_0x1ff844(0xdc)],_0x5cabe7=_0x6b6924[_0x1ff844(0xd5)][_0x1ff844(0x108)](_0xe37b2f);_0x6b6924[_0x1ff844(0xdb)][_0x1ff844(0x12a)](_0x1ff844(0x94))[_0x1ff844(0xe6)]({'model':_0x1ff844(0xa9),'view':(_0x109da,_0x485e3e)=>{const _0x24ebbd=_0x1ff844,{id:_0x5d06fc}=splitMarkerName(_0x109da[_0x24ebbd(0x12b)]),_0x549193=_0x6b6924[_0x24ebbd(0xd5)][_0x24ebbd(0x108)](_0x525249)[_0x24ebbd(0x12f)](_0x5d06fc),_0x103b9f=this[_0x24ebbd(0xaa)]&&splitMarkerName(this[_0x24ebbd(0xaa)])['id']===_0x5d06fc;let _0x17293a;if(_0x549193&&_0x549193[_0x24ebbd(0xf1)]&&!_0x103b9f&&_0x109da[_0x24ebbd(0xb1)])return _0x485e3e[_0x24ebbd(0x129)][_0x24ebbd(0x109)](_0x109da[_0x24ebbd(0xb1)],_0x24ebbd(0x127)+_0x109da[_0x24ebbd(0x12b)]),_0x485e3e[_0x24ebbd(0x129)][_0x24ebbd(0x109)](_0x109da[_0x24ebbd(0xb1)],_0x24ebbd(0x10e)+_0x109da[_0x24ebbd(0x12b)]),null;const _0x5c44d2=[_0x24ebbd(0xf5)];return _0x103b9f&&_0x5c44d2[_0x24ebbd(0xc8)](_0x24ebbd(0xa4)),_0x17293a=_0x549193&&_0x549193[_0x24ebbd(0x124)]?_0x549193[_0x24ebbd(0xca)][_0x24ebbd(0x123)][_0x24ebbd(0xa8)]['id']:_0x5cabe7['me']['id'],{'classes':_0x5c44d2,'attributes':{'data-comment':_0x5d06fc,'data-author-id':_0x17293a}};}}),_0x6b6924[_0x1ff844(0xdb)][_0x1ff844(0x12a)](_0x1ff844(0xd9))[_0x1ff844(0xe5)]({'model':_0x1ff844(0xa9),'view':(_0x2d2252,{options:_0x42aaec})=>{const _0x1540a9=_0x1ff844,_0x29ee56=_0x6b6924[_0x1540a9(0xd5)][_0x1540a9(0x108)](_0x525249),_0x5320f4=_0x6b6924[_0x1540a9(0xd2)][_0x1540a9(0x128)][_0x1540a9(0x108)](_0x2d2252),{id:_0x3f447e,part:_0x900b8e}=splitMarkerName(_0x2d2252);if(_0x5320f4&&!_0x5320f4[_0x1540a9(0x11c)])return null;if(_0x42aaec[_0x1540a9(0xac)]){const _0x2614bf=_0x29ee56[_0x1540a9(0x12f)](_0x3f447e);if(_0x2614bf&&_0x2614bf[_0x1540a9(0xf1)])return null;}return{'group':_0x1540a9(0xa9),'name':_0x900b8e?_0x3f447e+':'+_0x900b8e:_0x3f447e};}}),_0x6b6924[_0x1ff844(0xdb)][_0x1ff844(0x12a)](_0x1ff844(0xe9))[_0x1ff844(0xfd)]({'view':{'name':_0x1ff844(0xa9),'attributes':{'id':/^\w/}},'model':(_0x3fbb24,{writer:_0x33f1b1})=>_0x33f1b1[_0x1ff844(0xe8)](_0x1ff844(0x111),{'data-name':_0x1ff844(0xf6)+_0x3fbb24[_0x1ff844(0xea)]('id')})}),_0x6b6924[_0x1ff844(0xdb)][_0x1ff844(0x12a)](_0x1ff844(0xe9))[_0x1ff844(0xa0)]({'view':_0x1ff844(0xa9)});}[_0x3d5ae5(0xd0)](){const _0x1f93bd=_0x3d5ae5,_0x5a39b1=this[_0x1f93bd(0xdc)],_0x10bfbc=_0x5a39b1[_0x1f93bd(0xd5)][_0x1f93bd(0x108)](_0x525249),_0x50f42f=new Set(),_0x5891a6=new Set();_0x5a39b1[_0x1f93bd(0xd2)][_0x1f93bd(0xb3)][_0x1f93bd(0xf0)](_0x4fdeab=>{const _0x40538d=_0x1f93bd;let _0x916feb=!0x1;for(const {name:_0x4adb77,data:_0x58e9cd}of _0x5a39b1[_0x40538d(0xd2)][_0x40538d(0xb3)][_0x40538d(0xb7)][_0x40538d(0xf7)]()){const {group:_0x589f62,id:_0x3c2982}=splitMarkerName(_0x4adb77);let _0x29fe81=_0x58e9cd[_0x40538d(0x11e)];if(_0x40538d(0xa9)!==_0x589f62||!_0x29fe81)continue;const _0x2880ae=_0x40538d(0x101)===_0x29fe81[_0x40538d(0xcf)][_0x40538d(0xbc)];_0x2880ae||(_0x29fe81=ft(_0x29fe81,_0x5a39b1[_0x40538d(0xd2)]),!_0x29fe81||_0x29fe81[_0x40538d(0xd3)]||!_0x58e9cd[_0x40538d(0x11e)]||_0x29fe81[_0x40538d(0xa5)](_0x58e9cd[_0x40538d(0x11e)]))?_0x5a39b1[_0x40538d(0xd2)][_0x40538d(0x95)](_0x29fe81)&&!_0x2880ae?this[_0x40538d(0xa1)]?_0x50f42f[_0x40538d(0x11a)](_0x4adb77):this[_0x40538d(0xcb)](_0x4adb77,_0x3c2982):(_0x5891a6[_0x40538d(0x11a)](_0x4adb77),_0x50f42f[_0x40538d(0xab)](_0x4adb77),_0x4fdeab[_0x40538d(0xa7)](_0x4adb77),_0x916feb=!0x0):(_0x4fdeab[_0x40538d(0xeb)](_0x4adb77,{'range':_0x29fe81}),_0x916feb=!0x0);}return _0x916feb;}),this['on'](_0x1f93bd(0xf3),(_0x1a9887,_0x1e2f82,_0x41a3e3)=>{const _0x2333c8=_0x1f93bd;if(!_0x41a3e3&&_0x50f42f[_0x2333c8(0xfa)])for(const _0x41027e of _0x50f42f){const {id:_0x21d461}=splitMarkerName(_0x41027e);_0x50f42f[_0x2333c8(0xab)](_0x41027e),_0x5a39b1[_0x2333c8(0xd2)][_0x2333c8(0x128)][_0x2333c8(0x108)](_0x41027e)&&this[_0x2333c8(0xcb)](_0x41027e,_0x21d461);}}),this[_0x1f93bd(0xce)](_0x5a39b1[_0x1f93bd(0xd2)][_0x1f93bd(0xb3)],_0x1f93bd(0xb0),(_0x5c8898,_0x7a026f)=>{const _0x15ea0d=_0x1f93bd;for(const {name:_0x3dd199,data:{newRange:_0x1971ad}}of _0x5a39b1[_0x15ea0d(0xd2)][_0x15ea0d(0xb3)][_0x15ea0d(0xb7)][_0x15ea0d(0xf7)]()){const {group:_0x2b8751,id:_0x340676}=splitMarkerName(_0x3dd199);if(_0x15ea0d(0xa9)!==_0x2b8751)continue;const _0x2ae452=_0x10bfbc[_0x15ea0d(0x12f)](_0x340676),_0x432b23=this[_0x15ea0d(0xe3)](_0x340676);_0x2ae452&&(!_0x2ae452[_0x15ea0d(0xe7)]&&_0x1971ad&&_0x5a39b1[_0x15ea0d(0xee)][_0x15ea0d(0xd1)][_0x15ea0d(0xa3)](_0x15ea0d(0x115),()=>{const _0x4d5e42=_0x15ea0d,_0x3a8938=_0x5a39b1[_0x4d5e42(0xd5)][_0x4d5e42(0x108)](_0x597e4e),_0x380948=_0x10bfbc[_0x4d5e42(0x102)][_0x4d5e42(0x108)](_0x2ae452)[_0x4d5e42(0xd1)];_0x3a8938[_0x4d5e42(0x9a)](_0x380948)[_0x4d5e42(0xc9)]();},{'priority':_0x15ea0d(0xfe)}),_0x2ae452[_0x15ea0d(0xe7)]=_0x432b23||!!_0x1971ad),_0x1971ad||(_0x5891a6[_0x15ea0d(0x11a)](_0x3dd199),_0x50f42f[_0x15ea0d(0xab)](_0x3dd199));}if(_0x7a026f[_0x15ea0d(0x106)])for(const _0x415607 of _0x5891a6){const {id:_0x119532}=splitMarkerName(_0x415607),_0x5f207e=_0x10bfbc[_0x15ea0d(0x12f)](_0x119532),_0x13c3ea=this[_0x15ea0d(0xe3)](_0x119532);_0x50f42f[_0x15ea0d(0xab)](_0x415607),!_0x5f207e||_0x13c3ea||_0x5f207e[_0x15ea0d(0x97)]||_0x5f207e[_0x15ea0d(0xc3)](new Date());}_0x5891a6[_0x15ea0d(0x112)]();});}[_0x3d5ae5(0x10c)](_0x2a4cce){const _0xff574c=_0x3d5ae5,_0x3ab45a=this[_0xff574c(0xdc)],_0x293221=this[_0xff574c(0x104)](_0x2a4cce);return _0x55f5e9(_0x3ab45a[_0xff574c(0xee)],_0x293221);}[_0x3d5ae5(0xcc)](_0x5cf2a4){const _0x146f74=_0x3d5ae5,_0x5d8012=this[_0x146f74(0x104)](_0x5cf2a4);let _0x2041e4='',_0x4338e4=!0x1;for(const _0x4c628b of _0x5d8012){const _0x175912=_0x4c628b[_0x146f74(0xe2)]();for(const _0x350626 of Array[_0x146f74(0x12d)](_0x175912[_0x146f74(0xfb)]()))_0x350626['is'](_0x146f74(0xbb))?(_0x2041e4&&_0x4338e4&&(_0x2041e4+='\x20',_0x4338e4=!0x1),_0x2041e4+=_0x350626[_0x146f74(0xd7)]):_0x4338e4=!0x0;_0x4338e4=!0x0;}return _0x2041e4[_0x146f74(0xc2)](0x0,0x96);}[_0x3d5ae5(0x122)](_0x50fed4,_0x49a729){const _0x309af8=_0x3d5ae5,_0x5760e0=this[_0x309af8(0xdc)],_0x5f9ce1=_0x5760e0[_0x309af8(0xd5)][_0x309af8(0x108)](_0x525249);let _0x4e2145=_0x5f9ce1[_0x309af8(0x12f)](_0x49a729);const _0x403211=_0x5760e0[_0x309af8(0xb4)][_0x309af8(0x108)](_0x309af8(0x12c)),_0x876749=_0x5760e0[_0x309af8(0xd5)][_0x309af8(0x108)](_0x244213);if(_0x4e2145&&(_0x4e2145[_0x309af8(0x97)]&&_0x4e2145[_0x309af8(0xc3)](null),_0x4e2145[_0x309af8(0x11b)]))return _0x4e2145;return!this[_0x309af8(0x104)](_0x49a729)[0x0][_0x309af8(0xf4)]?_0x5760e0[_0x309af8(0xee)][_0x309af8(0xd1)][_0x309af8(0xa3)](_0x309af8(0x115),()=>{const _0xbd8a11=_0x309af8;if(_0x5f9ce1[_0xbd8a11(0x12f)](_0x49a729))return;const _0x371bcc=_0x5760e0[_0xbd8a11(0xd5)][_0xbd8a11(0x108)](_0x597e4e);_0x4e2145=_0x5f9ce1[_0xbd8a11(0x113)]({'channelId':_0x403211,'threadId':_0x49a729,'target':()=>this[_0xbd8a11(0x10c)](_0x49a729),'context':{'type':_0xbd8a11(0x9c),'value':this[_0xbd8a11(0xcc)](_0x49a729)}});const _0x559bb4=_0x5f9ce1[_0xbd8a11(0x102)][_0xbd8a11(0x108)](_0x4e2145)[_0xbd8a11(0xd1)],_0x5825c8=_0x371bcc[_0xbd8a11(0x9a)](_0x559bb4);_0x5825c8&&_0x876749[_0xbd8a11(0x100)](_0x5825c8);},{'priority':_0x309af8(0xfe)}):_0x5f9ce1[_0x309af8(0x105)]({'channelId':_0x403211,'threadId':_0x49a729})[_0x309af8(0xc0)](_0x223f2d=>{const _0x2f897a=_0x309af8;if(_0x2f897a(0xb6)!==_0x5760e0[_0x2f897a(0xc7)]){if(_0x4e2145=_0x223f2d,_0x4e2145&&!_0x4e2145[_0x2f897a(0x11b)]){const _0x5703ce=_0x4e2145[_0x2f897a(0x10f)](()=>this[_0x2f897a(0x10c)](_0x49a729));_0x876749[_0x2f897a(0x100)](_0x5703ce),_0x4e2145[_0x2f897a(0xf1)]&&this[_0x2f897a(0x107)](_0x49a729);}else{if(!_0x4e2145){const _0x5612ab=this[_0x2f897a(0x104)](_0x49a729);_0x5760e0[_0x2f897a(0xd2)][_0x2f897a(0xb0)](_0x465f5a=>{const _0x48fcbf=_0x2f897a;for(const _0x27adc8 of _0x5612ab)_0x465f5a[_0x48fcbf(0xa7)](_0x27adc8);});}}}}),_0x4e2145;}[_0x3d5ae5(0xcb)](_0x457756,_0x3a11a1){const _0x145961=_0x3d5ae5,_0xe24493=this[_0x145961(0x122)](_0x457756,_0x3a11a1);_0xe24493&&!_0xe24493[_0x145961(0x12e)]&&_0xe24493[_0x145961(0xde)]({'type':_0x145961(0x9c),'value':this[_0x145961(0xcc)](_0x3a11a1)});}[_0x3d5ae5(0x103)](){const _0x325780=_0x3d5ae5,_0x259570=this[_0x325780(0xdc)];_0x2ae72e(_0x259570[_0x325780(0xd2)],({left:_0x28241c,entered:_0x4cd538})=>{const _0x4309ab=_0x325780;for(const _0x1f740d of _0x28241c)if(dt(_0x1f740d)){_0x259570['ui'][_0x4309ab(0xe4)][_0x4309ab(0x96)](_0x999a55(_0x259570[_0x4309ab(0x131)],_0x4309ab(0x9d)));break;}for(const _0x565313 of _0x4cd538)if(dt(_0x565313)){_0x259570['ui'][_0x4309ab(0xe4)][_0x4309ab(0x96)](_0x999a55(_0x259570[_0x4309ab(0x131)],_0x4309ab(0xd4),_0x4fc7f5(_0x35d79e)));break;}});}}function ut(_0x430973,_0xb1bbdd){return _0xb1bbdd?_0x430973+':'+_0xb1bbdd:_0x430973;}export function splitMarkerName(_0x3f5815){const _0x267429=_0x3d5ae5,_0x8fa2f0=_0x3f5815[_0x267429(0x98)](':');return{'group':_0x8fa2f0[0x0],'id':_0x8fa2f0[0x1],'part':_0x8fa2f0[0x2]};}function ft(_0x472cd2,_0x54aaa0){const _0x1e5fe4=_0x3d5ae5,_0x36296e=_0x54aaa0[_0x1e5fe4(0x9f)],_0x205a53=_0x54aaa0[_0x1e5fe4(0xbd)](_0x472cd2[_0x1e5fe4(0x126)]);for(const _0x8e0567 of _0x472cd2[_0x1e5fe4(0x9b)]()){const {type:_0x7d10ce,item:_0x42fde5,nextPosition:_0x1f8326}=_0x8e0567;if(_0x1e5fe4(0x9c)===_0x7d10ce||_0x36296e[_0x1e5fe4(0x116)](_0x42fde5)){const _0x19dcda=_0x54aaa0[_0x1e5fe4(0x110)](_0x42fde5);_0x205a53[_0x1e5fe4(0xd3)]&&(_0x205a53[_0x1e5fe4(0x126)]=_0x19dcda),_0x205a53[_0x1e5fe4(0xd6)]=_0x1f8326;}}return _0x205a53;}function dt(_0x4acf8c){const _0x572e33=_0x3d5ae5;return _0x572e33(0xa9)===splitMarkerName(_0x4acf8c[_0x572e33(0x11f)])[_0x572e33(0x119)];}
|
|
23
|
+
const _0x1799b5=_0x25e2;(function(_0x3c34a5,_0x3d8f03){const _0x18ba4a=_0x25e2,_0x5d4ee0=_0x3c34a5();while(!![]){try{const _0x4d6080=parseInt(_0x18ba4a(0x104))/0x1*(parseInt(_0x18ba4a(0x11b))/0x2)+parseInt(_0x18ba4a(0xe4))/0x3*(-parseInt(_0x18ba4a(0x9c))/0x4)+parseInt(_0x18ba4a(0xd0))/0x5*(-parseInt(_0x18ba4a(0x11c))/0x6)+parseInt(_0x18ba4a(0xf2))/0x7+parseInt(_0x18ba4a(0xba))/0x8*(-parseInt(_0x18ba4a(0xcd))/0x9)+parseInt(_0x18ba4a(0x106))/0xa*(-parseInt(_0x18ba4a(0xe2))/0xb)+parseInt(_0x18ba4a(0xfc))/0xc;if(_0x4d6080===_0x3d8f03)break;else _0x5d4ee0['push'](_0x5d4ee0['shift']());}catch(_0x5bd027){_0x5d4ee0['push'](_0x5d4ee0['shift']());}}}(_0x48c7,0xc5ea6));import{Plugin as _0xfa5c25}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x10bb68,scrollViewportToShowTarget as _0x371f4c,uid as _0x15915c}from'ckeditor5/src/utils.js';import _0x4130c2 from'./commentsrepository.js';import _0x3c1eab from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x218771,getAllMarkersDomElementsSorted as _0x21cb41,FOCUS_ANNOTATION_KEYSTROKE as _0x26bd1a,Users as _0xee4152}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x424b0b from'../annotations/editorannotations.js';import _0x22af18 from'./integrations/commentsrestrictededitingmode.js';import _0x12d16d from'./integrations/importword.js';import _0x7e4b86 from'./integrations/clipboard.js';import _0x575d40 from'./integrations/showcommenthighlights.js';function _0x48c7(){const _0x2ecc72=['attachTo','low','announce','getCommentThreads','isPremiumPlugin','group','hasDomSelection','isResolved','registerPostFixer','end','$graveyard','rootName','_handleMarkerAddAndRemove','then','removeMarker','_reconvertMarkers','destroyed','unlinkedAt','switchReadOnly','272968cNYfwh','change:isThreadsLoadingPaused','plugins','setUnlinkedAt','length','isAttached','getChangedMarkers','hasMarkerForId','registerAnnotation','fromCharCode','_detachCommentThread','editingDowncast','dataToMarker','from','document','removeMarker:','hasCommentThread','change','locale','207MNxFKX','data','change:isReadOnly','340AINyfE','conversion','createElement','_initializeMarkerConverters','comments','state','reconvertMarker','managedUsingOperations','setContext','$marker','_handleThreadMarker','markers','_hasTargetInContent','ck-comment-marker','isOfficialPlugin','$textProxy','reopenCommentThread','item','1177jsAPGz','ENTER_COMMENT_ANNOUNCEMENT','24QflfRd','resolveCommentThread','clear','addCommentThread','removeCommentThread','get','substring','start','createRange','remove','requires','model','getAttribute','isSubmitted','724969ryTXbO','root','destroy','afterInit','listenTo','render','schema','_getTargetForId','author','collaboration.channelId','56521716pKpLLn','comment:','showCommentHighlights','newRange','differ','refreshVisibility','change:activeMarker','consume','2ZlLlTu','elementToElement','68850RuUyUj','dataDowncast','getWalker','openNewCommentThread','CommentsEditing','markerToData','createPositionBefore','init','ck-comment-marker--active','push','LEAVE_COMMENT_ANNOUNCEMENT','upcast','set','getByInnerView','getItems','size','_threadToController','text','isEqual','hasContent','map','300722ebzNfw','103986ZVOasn','affectsData','activeMarker','pluginName','name','enqueueChange','ariaLiveAnnouncer','context','addMarker:','comment','_attachMarkerToThread','_threads','markerToHighlight','view','ignoreResolvedComments','_getTextContext','delete','isObject','ready','first','addComment','focus','scrollToThreadMarker','getCommentThread','updateMarker','split','for','_attachArchivedThread','config','_initAriaMarkerChangeAnnouncements','startsWith','join','isCollapsed','once','isThreadsLoadingPaused','801892LrMMRZ','consumable','editing','getAllMarkersForId','getRange','href','markerName','editor','commands','add','fetchCommentThread'];_0x48c7=function(){return _0x2ecc72;};return _0x48c7();}import'../../theme/commentmarker.css';import _0x423f65 from'../annotations/annotations.js';import{getTranslation as _0xa635da}from'../utils/common-translations.js';export default class r extends _0xfa5c25{static get[_0x1799b5(0xee)](){return[_0x4130c2,_0x424b0b,_0xee4152,_0x22af18,_0x12d16d,_0x7e4b86,_0x575d40];}static get[_0x1799b5(0x11f)](){const _0x7297cb=_0x1799b5;return _0x7297cb(0x10a);}static get[_0x1799b5(0xde)](){return!0x0;}static get[_0x1799b5(0xab)](){return!0x0;}constructor(_0x1458e0){const _0x377ea2=_0x1799b5;super(_0x1458e0),this[_0x377ea2(0x112)](_0x377ea2(0x9b),!0x0),_0x1458e0[_0x377ea2(0xce)][_0x377ea2(0x9a)](_0x377ea2(0x8b),()=>this[_0x377ea2(0x9b)]=!0x1),this[_0x377ea2(0x112)](_0x377ea2(0x11e),null),this['on'](_0x377ea2(0x102),(_0xb92dbc,_0x1f2d50,_0x37b1d4,_0x16cd74)=>{const _0x30c0be=_0x377ea2,_0x3295c=_0x1458e0[_0x30c0be(0xbc)][_0x30c0be(0xe9)](_0x4130c2),_0x51184e=_0x37b1d4?splitMarkerName(_0x37b1d4)['id']:null;if(_0x1458e0[_0x30c0be(0xef)][_0x30c0be(0xcb)](()=>{const _0x5bdfec=_0x30c0be;if(_0x51184e){const _0x50a7b8=this[_0x5bdfec(0x9f)](_0x51184e);for(const _0x438786 of _0x50a7b8)_0x1458e0[_0x5bdfec(0x9e)][_0x5bdfec(0xd6)](_0x438786);}if(_0x16cd74){const {id:_0x1b879f}=splitMarkerName(_0x16cd74),_0x56f1ec=_0x3295c[_0x5bdfec(0x90)](_0x1b879f);if(_0x56f1ec&&!_0x56f1ec[_0x5bdfec(0xbf)])return;const _0x19626f=this[_0x5bdfec(0x9f)](_0x1b879f);for(const _0x4352d2 of _0x19626f)_0x1458e0[_0x5bdfec(0x9e)][_0x5bdfec(0xd6)](_0x4352d2);}}),_0x51184e){const _0xb67f23=_0x3295c[_0x30c0be(0x90)](_0x51184e);_0xb67f23&&_0xb67f23[_0x30c0be(0xae)]&&this[_0x30c0be(0x8f)](_0x51184e);}}),this[_0x377ea2(0x96)]();}[_0x1799b5(0x10d)](){const _0x11fde8=_0x1799b5,_0x11ddc7=this[_0x11fde8(0xa3)],_0x2ca18e=_0x11ddc7[_0x11fde8(0xbc)][_0x11fde8(0xe9)](_0x4130c2),_0x248a92=_0x11ddc7[_0x11fde8(0x95)][_0x11fde8(0xe9)](_0x11fde8(0xfb));_0x11ddc7[_0x11fde8(0xa4)][_0x11fde8(0xa5)](_0x11fde8(0xe7),new _0x3c1eab(_0x11ddc7)),this[_0x11fde8(0xf6)](_0x11ddc7,_0x11fde8(0xcf),(_0x1769e3,_0x49e8dc,_0x12ad65)=>{const _0x12228c=_0x11fde8;_0x2ca18e[_0x12228c(0xb9)](_0x12ad65,_0x11ddc7[_0x12228c(0x95)][_0x12228c(0xe9)](_0x12228c(0xfb)));}),this[_0x11fde8(0xf6)](_0x2ca18e,ft(_0x11fde8(0xe7),_0x248a92),(_0x3ce520,{threadId:_0x3638d4})=>{const _0x3b0481=_0x11fde8,_0x57d9dd=this[_0x3b0481(0xa3)][_0x3b0481(0xbc)][_0x3b0481(0xe9)](_0x4130c2)[_0x3b0481(0x90)](_0x3638d4);_0x57d9dd&&_0x57d9dd[_0x3b0481(0xb8)]&&this[_0x3b0481(0x94)](_0x3638d4);}),this[_0x11fde8(0xf6)](_0x2ca18e,ft(_0x11fde8(0xe8),_0x248a92),(_0x113ec3,{threadId:_0x12bcac})=>{const _0x30f357=_0x11fde8;_0x11ddc7[_0x30f357(0xef)][_0x30f357(0x121)]({'isUndoable':!0x1},_0x28f232=>{const _0xade571=_0x30f357,_0x11b757=this[_0xade571(0x9f)](_0x12bcac);for(const _0x52d41e of _0x11b757)_0x28f232[_0xade571(0xb5)](_0x52d41e);});}),this[_0x11fde8(0xf6)](_0x2ca18e,ft(_0x11fde8(0xe5),_0x248a92),(_0x45c188,{threadId:_0x30b089})=>{const _0x1da958=_0x11fde8;(this[_0x1da958(0xb6)](_0x30b089),this[_0x1da958(0xa3)][_0x1da958(0x9e)][_0x1da958(0x129)][_0x1da958(0xad)])&&(this[_0x1da958(0xa3)][_0x1da958(0xbc)][_0x1da958(0xe9)](_0x4130c2)[_0x1da958(0x90)](_0x30b089)[_0x1da958(0xb8)]||this[_0x1da958(0xa3)][_0x1da958(0x9e)][_0x1da958(0x129)][_0x1da958(0x8e)]());},{'priority':_0x11fde8(0xa8)}),this[_0x11fde8(0xf6)](_0x2ca18e,ft(_0x11fde8(0xe0),_0x248a92),(_0x17b8dc,{threadId:_0x3c9100})=>{const _0x5ca9a9=_0x11fde8;this[_0x5ca9a9(0xb6)](_0x3c9100);},{'priority':_0x11fde8(0xa8)}),this[_0x11fde8(0xf6)](_0x2ca18e,ft(_0x11fde8(0x8d),_0x248a92),(_0x7b1a0a,{threadId:_0x4bd31e,isFromAdapter:_0x3f7a83})=>{const _0x57a3c9=_0x11fde8,_0x3d9a39=this[_0x57a3c9(0x9f)](_0x4bd31e);if(_0x3f7a83||0x0==_0x3d9a39[_0x57a3c9(0xbe)]||!_0x2ca18e[_0x57a3c9(0xca)](_0x4bd31e))return;0x1===_0x2ca18e[_0x57a3c9(0x90)](_0x4bd31e)[_0x57a3c9(0xbe)]&&_0x11ddc7[_0x57a3c9(0xef)][_0x57a3c9(0x121)]({'isUndoable':!0x1},_0x3e2650=>{const _0x187c0f=_0x57a3c9;for(const _0x2ace50 of _0x3d9a39)_0x3e2650[_0x187c0f(0x91)](_0x2ace50,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x11fde8(0xa8)}),this[_0x11fde8(0xd3)](),this[_0x11fde8(0xb3)]();}[_0x1799b5(0xf5)](){!async function(_0x5a50db){const _0x103ba4=_0x2d7e11([0x50,0x6e,0x4a,0x6c,0x38,0x77,0x36,0x4c,0x39,0x37,0x57,0x5a,0x54,0x79,0x6b,0x66,0x30,0x70,0x6d,0x63,0x71,0x61,0x46,0x72,0x52,0x31,0x56,0x75,0x49,0x33,0x58,0x53,0x43,0x67,0x4f,0x4d,0x41,0x47,0x78,0x45,0x62,0x74,0x34,0x4e,0x32,0x76,0x59,0x35,0x42,0x55,0x51,0x6f,0x69,0x6a,0x48,0x65,0x73,0x4b,0x44,0x68,0x7a,0x64]),_0x168793=0x5439cdb9,_0x3a02fe=0x543e94d9^_0x168793,_0x2c6864=window[_0x2d7e11([0x44,0x61,0x74,0x65])][_0x2d7e11([0x6e,0x6f,0x77])](),_0xe7a769=_0x5a50db[_0x2d7e11([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x133de1=new window[(_0x2d7e11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22529b=>{_0xe7a769[_0x2d7e11([0x6f,0x6e,0x63,0x65])](_0x2d7e11([0x72,0x65,0x61,0x64,0x79]),_0x22529b);}),_0x50fbef={[_0x2d7e11([0x6b,0x74,0x79])]:_0x2d7e11([0x45,0x43]),[_0x2d7e11([0x75,0x73,0x65])]:_0x2d7e11([0x73,0x69,0x67]),[_0x2d7e11([0x63,0x72,0x76])]:_0x2d7e11([0x50,0x2d,0x32,0x35,0x36]),[_0x2d7e11([0x78])]:_0x2d7e11([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]),[_0x2d7e11([0x79])]:_0x2d7e11([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]),[_0x2d7e11([0x61,0x6c,0x67])]:_0x2d7e11([0x45,0x53,0x32,0x35,0x36])},_0x228c55=_0xe7a769[_0x2d7e11([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d7e11([0x67,0x65,0x74])](_0x2d7e11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x177834(){let _0x3ba32d,_0x403dba=null,_0x55cd6c=null;try{if(_0x228c55==_0x2d7e11([0x47,0x50,0x4c]))return _0x2d7e11([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ba32d=_0x5c9771(),!_0x3ba32d)return _0x2d7e11([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ba32d[_0x2d7e11([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55cd6c=_0x52f695(_0x3ba32d[_0x2d7e11([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ba32d[_0x2d7e11([0x6a,0x74,0x69])])),await _0x1ad518()?_0x57892c()?_0x535b04()?_0x2d7e11([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12882d()?(_0x3ba32d[_0x2d7e11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d7e11([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x403dba=_0x4630c7(_0x2d7e11([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ba32d[_0x2d7e11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d7e11([0x74,0x72,0x69,0x61,0x6c])&&(_0x403dba=_0x4630c7(_0x2d7e11([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ba32d[_0x2d7e11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d7e11([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x403dba=_0x4630c7(_0x2d7e11([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x372915()):_0x2d7e11([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d7e11([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d7e11([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1eac7f){return _0x2d7e11([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x535b04(){const _0x2861f7=[_0x2d7e11([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d7e11([0x74,0x72,0x69,0x61,0x6c])][_0x2d7e11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ba32d[_0x2d7e11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c6864/0x3e8:0xe10*_0x3a02fe;return _0x3ba32d[_0x2d7e11([0x65,0x78,0x70])]<_0x2861f7;}function _0x57892c(){const _0x1f7abd=_0x3ba32d[_0x2d7e11([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1f7abd)return!0x1;if(_0x1f7abd[_0x2d7e11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7e11([0x2a])))return!0x0;if(_0x1f7abd[_0x2d7e11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7e11([0x43,0x4d,0x54])))return!0x0;if(_0x1f7abd[_0x2d7e11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7e11([0x52,0x43,0x4d,0x54]))){if(_0x3c0e09())return!0x0;if(_0x304930()||_0x28f1f7())return!0x0;}return!0x1;}function _0x12882d(){const _0x3b6958=_0x25e2,_0x38e452=_0x3ba32d[_0x2d7e11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38e452||0x0==_0x38e452[_0x2d7e11([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e3114}=new URL(window[_0x2d7e11([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3b6958(0xa1)]);if(_0x38e452[_0x2d7e11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e3114))return!0x0;const _0x357caf=_0x3e3114[_0x2d7e11([0x73,0x70,0x6c,0x69,0x74])](_0x2d7e11([0x2e]));return _0x38e452[_0x2d7e11([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39eff8=>_0x39eff8[_0x2d7e11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7e11([0x2a])))[_0x2d7e11([0x6d,0x61,0x70])](_0x22dd15=>_0x22dd15[_0x2d7e11([0x73,0x70,0x6c,0x69,0x74])](_0x2d7e11([0x2e])))[_0x2d7e11([0x73,0x6f,0x6d,0x65])](_0xcff9a5=>_0x357caf[_0x2d7e11([0x65,0x76,0x65,0x72,0x79])]((_0x28879c,_0x50a378)=>_0xcff9a5[_0x50a378]===_0x28879c||_0xcff9a5[_0x50a378]===_0x2d7e11([0x2a])));}function _0x372915(){return _0x403dba&&_0x55cd6c?new window[(_0x2d7e11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d22b4,_0x583c84)=>{_0x403dba[_0x2d7e11([0x74,0x68,0x65,0x6e])](_0x4d22b4,_0x583c84),_0x55cd6c[_0x2d7e11([0x74,0x68,0x65,0x6e])](_0x3ef765=>{_0x3ef765!=_0x2d7e11([0x56,0x61,0x6c,0x69,0x64])&&_0x4d22b4(_0x3ef765);},_0x583c84);}):_0x403dba||_0x55cd6c||_0x2d7e11([0x56,0x61,0x6c,0x69,0x64]);}}function _0x52f695(_0x577dcb,_0x4b09cb){return new window[(_0x2d7e11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1415a2=>{if(_0x5aa9b3())return _0x1415a2(_0x2d7e11([0x56,0x61,0x6c,0x69,0x64]));_0x422241(),_0xe7a769[_0x2d7e11([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d7e11([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44845c=!0x1;const _0x2c4a2d=_0x15915c();function _0x369c65(_0x36d989){return!!_0x36d989&&(typeof _0x36d989===_0x2d7e11([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36d989===_0x2d7e11([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36d989[_0x2d7e11([0x74,0x68,0x65,0x6e])]===_0x2d7e11([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36d989[_0x2d7e11([0x63,0x61,0x74,0x63,0x68])]===_0x2d7e11([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b2173(_0x2f9d71){_0x502894(_0x2f9d71)[_0x2d7e11([0x74,0x68,0x65,0x6e])](_0x4d4228=>{if(!_0x4d4228||_0x4d4228[_0x2d7e11([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d7e11([0x6f,0x6b]))return _0x2d7e11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x138962(_0xcdd1c2(_0x2c4a2d+_0x4b09cb))!=_0x4d4228[_0x2d7e11([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d7e11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d7e11([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d7e11([0x74,0x68,0x65,0x6e])](_0x3fc70c=>(_0x4fadce(),_0x3fc70c),()=>{const _0x116b75=_0x2141c2();return null==_0x116b75?(_0x4fadce(),_0x2d7e11([0x56,0x61,0x6c,0x69,0x64])):_0x2d7e11(_0x2c6864-_0x116b75>(0x703549b9^_0x168793)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d7e11([0x74,0x68,0x65,0x6e])](_0x1415a2)[_0x2d7e11([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1415a2(_0x2d7e11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4cfe63=0x540f2339^_0x168793;function _0x4fadce(){const _0x334e97=_0x2d7e11([0x6c,0x6c,0x63,0x74,0x2d])+_0x138962(_0xcdd1c2(_0x577dcb)),_0x497b73=_0x2a64a0(_0x138962(window[_0x2d7e11([0x4d,0x61,0x74,0x68])][_0x2d7e11([0x63,0x65,0x69,0x6c])](_0x2c6864/_0x4cfe63)));window[_0x2d7e11([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d7e11([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x334e97,_0x497b73);}function _0x2141c2(){const _0x28f3c5=_0x2d7e11([0x6c,0x6c,0x63,0x74,0x2d])+_0x138962(_0xcdd1c2(_0x577dcb)),_0x51dc4c=window[_0x2d7e11([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d7e11([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28f3c5);return _0x51dc4c?window[_0x2d7e11([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a64a0(_0x51dc4c),0x10)*_0x4cfe63:null;}function _0x502894(_0x2091dc){return new window[(_0x2d7e11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39ece6,_0x6364cd)=>{_0x2091dc[_0x2d7e11([0x74,0x68,0x65,0x6e])](_0x39ece6,_0x6364cd),window[_0x2d7e11([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6364cd,0x54381979^_0x168793);});}}_0xe7a769[_0x2d7e11([0x6f,0x6e])](_0x2d7e11([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23130e,_0x1284bb)=>{if(_0x1284bb[0x0]!=_0x577dcb)return _0x1415a2(_0x2d7e11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1284bb[0x1]={..._0x1284bb[0x1],[_0x2d7e11([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c4a2d};},{[_0x2d7e11([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d7e11([0x68,0x69,0x67,0x68])}),_0xe7a769[_0x2d7e11([0x6f,0x6e])](_0x2d7e11([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ccb76=>{_0x369c65(_0x2ccb76[_0x2d7e11([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44845c=!0x0,_0x5b2173(_0x2ccb76[_0x2d7e11([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d7e11([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d7e11([0x6c,0x6f,0x77])}),_0x133de1[_0x2d7e11([0x74,0x68,0x65,0x6e])](()=>{_0x44845c||_0x1415a2(_0x2d7e11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5aa9b3(){return _0xe7a769[_0x2d7e11([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d7e11([0x76,0x69,0x65,0x77])][_0x2d7e11([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d7e11([0x61,0x75,0x74,0x6f]);}function _0x422241(){_0xe7a769[_0x2d7e11([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d7e11([0x76,0x69,0x65,0x77])][_0x2d7e11([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d7e11([0x61,0x75,0x74,0x6f]);}}function _0x4630c7(_0x18cfde){const _0x505cd5=[new window[(_0x2d7e11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34b9f5=>setTimeout(_0x34b9f5,0x5430f375^_0x168793)),_0x133de1[_0x2d7e11([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d7e11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24f5d4=>{let _0x3a9d64=0x0;_0xe7a769[_0x2d7e11([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d7e11([0x6f,0x6e])](_0x2d7e11([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49ebe9,_0x302865)=>{_0x302865[0x0][_0x2d7e11([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a9d64++,_0x3a9d64==(0x5439cc41^_0x168793)&&(_0x24f5d4(),_0x49ebe9[_0x2d7e11([0x6f,0x66,0x66])]());});}))];return window[_0x2d7e11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d7e11([0x72,0x61,0x63,0x65])](_0x505cd5)[_0x2d7e11([0x74,0x68,0x65,0x6e])](()=>_0x18cfde);}async function _0x48664d(){await _0x133de1,_0xe7a769[_0x2d7e11([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d7e11([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1be4b3,_0xe7a769[_0x2d7e11([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d7e11([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1be4b3,_0xe7a769[_0x2d7e11([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d7e11([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c0e09(){return _0x3c57cb(_0x2d7e11([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x14a92a(_0x2d7e11([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2d7e11([0x73,0x74,0x61,0x74,0x65])]==_0x2d7e11([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x304930(){return _0x3c57cb(_0x2d7e11([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 _0x28f1f7(){return _0x3c57cb(_0x2d7e11([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x44b76a(_0x4e654e){const _0x51a57b=_0x1b53d7();_0xe7a769[_0x51a57b]=_0x2d7e11([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e654e,_0x4e654e!=_0x2d7e11([0x56,0x61,0x6c,0x69,0x64])&&_0x48664d();}function _0x1b53d7(){const _0x577669=window[_0x2d7e11([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d7e11([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d7e11([0x6e,0x6f,0x77])]())[_0x2d7e11([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d7e11([0x2e]),'');let _0x5ca211=_0x2d7e11([0x50]);for(let _0x39b9b4=0x0;_0x39b9b4<_0x577669[_0x2d7e11([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39b9b4+=0x2){let _0x28743a=window[_0x2d7e11([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x577669[_0x2d7e11([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39b9b4,_0x39b9b4+0x2));_0x28743a>=_0x103ba4[_0x2d7e11([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x28743a-=_0x103ba4[_0x2d7e11([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ca211+=_0x103ba4[_0x28743a];}return _0x5ca211;}function _0x5c9771(){const _0x4f61fc=_0x228c55[_0x2d7e11([0x73,0x70,0x6c,0x69,0x74])](_0x2d7e11([0x2e]));if(0x3!=_0x4f61fc[_0x2d7e11([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4233b5(_0x4f61fc[0x1]);function _0x4233b5(_0x4a7597){const _0x41ec76=_0x25a8d8(_0x4a7597);return _0x41ec76&&_0x7f325b()?_0x41ec76:null;function _0x7f325b(){const _0x1e1390=_0x41ec76[_0x2d7e11([0x6a,0x74,0x69])],_0x34e718=window[_0x2d7e11([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e1390[_0x2d7e11([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e1390[_0x2d7e11([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d7345={..._0x41ec76,[_0x2d7e11([0x6a,0x74,0x69])]:_0x1e1390[_0x2d7e11([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e1390[_0x2d7e11([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d7345[_0x2d7e11([0x76,0x63])],_0xcdd1c2(_0x3d7345)==_0x34e718;}}}async function _0x1ad518(){let _0x40afeb=!0x0;try{const _0x16c8dc=_0x228c55[_0x2d7e11([0x73,0x70,0x6c,0x69,0x74])](_0x2d7e11([0x2e])),[_0x3052c0,_0x263f47,_0x1a2e2d]=_0x16c8dc;return _0x4aa043(_0x3052c0),await _0x36cc04(_0x3052c0,_0x263f47,_0x1a2e2d),_0x40afeb;}catch(_0x160552){return!0x1;}function _0x4aa043(_0xd0654c){const _0x151916=_0x25a8d8(_0xd0654c);_0x151916&&_0x151916[_0x2d7e11([0x61,0x6c,0x67])]==_0x2d7e11([0x45,0x53,0x32,0x35,0x36])||(_0x40afeb=!0x1);}async function _0x36cc04(_0x5204a8,_0x4e4af2,_0x2da227){const _0x4df6f6=window[_0x2d7e11([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d7e11([0x66,0x72,0x6f,0x6d])](_0x32567b(_0x2da227),_0x283c6e=>_0x283c6e[_0x2d7e11([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x382480=new window[(_0x2d7e11([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d7e11([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5204a8+_0x2d7e11([0x2e])+_0x4e4af2),_0x210134=window[_0x2d7e11([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d7e11([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x210134)return;const _0x18b81f=await _0x210134[_0x2d7e11([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d7e11([0x6a,0x77,0x6b]),_0x50fbef,{[_0x2d7e11([0x6e,0x61,0x6d,0x65])]:_0x2d7e11([0x45,0x43,0x44,0x53,0x41]),[_0x2d7e11([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d7e11([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d7e11([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x210134[_0x2d7e11([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d7e11([0x6e,0x61,0x6d,0x65])]:_0x2d7e11([0x45,0x43,0x44,0x53,0x41]),[_0x2d7e11([0x68,0x61,0x73,0x68])]:{[_0x2d7e11([0x6e,0x61,0x6d,0x65])]:_0x2d7e11([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18b81f,_0x4df6f6,_0x382480)||(_0x40afeb=!0x1);}}function _0x25a8d8(_0x184372){return _0x184372[_0x2d7e11([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d7e11([0x65,0x79]))?JSON[_0x2d7e11([0x70,0x61,0x72,0x73,0x65])](_0x32567b(_0x184372)):null;}function _0x32567b(_0x489151){return window[_0x2d7e11([0x61,0x74,0x6f,0x62])](_0x489151[_0x2d7e11([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d7e11([0x2b]))[_0x2d7e11([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d7e11([0x2f])));}function _0xcdd1c2(_0x35b55e){let _0x2333e4=0x1505;function _0x39de72(_0x5b96a4){for(let _0x29fd9d=0x0;_0x29fd9d<_0x5b96a4[_0x2d7e11([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29fd9d++){const _0x239bd0=_0x5b96a4[_0x2d7e11([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29fd9d);_0x2333e4=(_0x2333e4<<0x5)+_0x2333e4+_0x239bd0,_0x2333e4&=_0x2333e4;}}function _0x3b098d(_0x594bf7){Array[_0x2d7e11([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x594bf7)?_0x594bf7[_0x2d7e11([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b098d):_0x594bf7&&typeof _0x594bf7==_0x2d7e11([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d7e11([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x594bf7)[_0x2d7e11([0x73,0x6f,0x72,0x74])]()[_0x2d7e11([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31d697,_0x32293c])=>{_0x39de72(_0x31d697),_0x3b098d(_0x32293c);}):_0x39de72(window[_0x2d7e11([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x594bf7));}return _0x3b098d(_0x35b55e),_0x2333e4>>>0x0;}function _0x138962(_0x528820){return _0x528820[_0x2d7e11([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d7e11([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d7e11([0x30]));}function _0x2a64a0(_0x53e6e1){return _0x53e6e1[_0x2d7e11([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d7e11([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d7e11([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c57cb(_0x505baa){return _0xe7a769[_0x2d7e11([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2d7e11([0x68,0x61,0x73])](_0x505baa);}function _0x14a92a(_0x1da919){return _0xe7a769[_0x2d7e11([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2d7e11([0x67,0x65,0x74])](_0x1da919);}function _0x1be4b3(){}function _0x2d7e11(_0x5bad7e){const _0x34a4ff=_0x25e2;return _0x5bad7e[_0x34a4ff(0x11a)](_0x5cff57=>String[_0x34a4ff(0xc3)](_0x5cff57))[_0x34a4ff(0x98)]('');}_0x44b76a(await _0x177834());}(this);}[_0x1799b5(0xf4)](){const _0x222a31=_0x1799b5,_0x1fc1de=this[_0x222a31(0xa3)][_0x222a31(0xbc)][_0x222a31(0xe9)](_0x4130c2),_0x4f8968=this[_0x222a31(0xa3)][_0x222a31(0x95)][_0x222a31(0xe9)](_0x222a31(0xfb));for(const _0x50f280 of _0x1fc1de[_0x222a31(0xaa)]({'channelId':_0x4f8968}))_0x1fc1de[_0x222a31(0xc4)](_0x50f280['id']),_0x1fc1de[_0x222a31(0x127)][_0x222a31(0x89)](_0x50f280['id']);super[_0x222a31(0xf4)]();}[_0x1799b5(0xc1)](_0x1a2486){const _0x3391b0=_0x1799b5;return this[_0x3391b0(0x9f)](_0x1a2486)[_0x3391b0(0xbe)]>0x0;}[_0x1799b5(0x9f)](_0x56468d){const _0x3a5153=_0x1799b5,_0x235f80=[];for(const _0x34eeee of this[_0x3a5153(0xa3)][_0x3a5153(0xef)][_0x3a5153(0xdb)])_0x34eeee[_0x3a5153(0x120)][_0x3a5153(0x97)](_0x3a5153(0xfd)+_0x56468d)&&_0x235f80[_0x3a5153(0x10f)](_0x34eeee);return _0x235f80;}[_0x1799b5(0x8f)](_0x319998){const _0x6d219e=_0x1799b5,_0x5a6473=this[_0x6d219e(0xf9)](_0x319998);_0x5a6473&&setTimeout(()=>{const _0x41656c=_0x6d219e;this[_0x41656c(0x11e)]&&splitMarkerName(this[_0x41656c(0x11e)])['id']===_0x319998&&_0x371f4c({'target':_0x5a6473[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x1799b5(0xb6)](_0x208663){const _0x1a8977=_0x1799b5;this[_0x1a8977(0xa3)][_0x1a8977(0xef)][_0x1a8977(0xcb)](()=>{const _0x5010e2=_0x1a8977;for(const _0x3b7f41 of this[_0x5010e2(0x9f)](_0x208663))this[_0x5010e2(0xa3)][_0x5010e2(0x9e)][_0x5010e2(0xd6)](_0x3b7f41);});}[_0x1799b5(0x94)](_0x3686ee){const _0x5ebfd3=_0x1799b5,_0x5da859=this[_0x5ebfd3(0xa3)][_0x5ebfd3(0xbc)][_0x5ebfd3(0xe9)](_0x4130c2),_0x2b27a3=this[_0x5ebfd3(0xa3)][_0x5ebfd3(0xbc)][_0x5ebfd3(0xe9)](_0x424b0b),_0x2fd352=_0x5da859[_0x5ebfd3(0x90)](_0x3686ee);if(!_0x2fd352[_0x5ebfd3(0xbf)]){const _0x10b389=_0x2fd352[_0x5ebfd3(0xa7)](()=>this[_0x5ebfd3(0xf9)](_0x2fd352['id']));_0x2b27a3[_0x5ebfd3(0xc2)](_0x10b389),_0x2fd352[_0x5ebfd3(0xdc)]=!0x1;}}[_0x1799b5(0xd3)](){const _0x54822b=_0x1799b5,_0x595dd8=this[_0x54822b(0xa3)],_0x4698e9=_0x595dd8[_0x54822b(0xbc)][_0x54822b(0xe9)](_0xee4152);_0x595dd8[_0x54822b(0xd1)][_0x54822b(0x93)](_0x54822b(0xc5))[_0x54822b(0x128)]({'model':_0x54822b(0x125),'view':(_0x1cbcd1,_0x191a80)=>{const _0x1888ae=_0x54822b,{id:_0x2c5115}=splitMarkerName(_0x1cbcd1[_0x1888ae(0xa2)]),_0x5853c0=_0x595dd8[_0x1888ae(0xbc)][_0x1888ae(0xe9)](_0x4130c2)[_0x1888ae(0x90)](_0x2c5115),_0x33dd22=this[_0x1888ae(0x11e)]&&splitMarkerName(this[_0x1888ae(0x11e)])['id']===_0x2c5115;let _0x56e871;if(_0x5853c0&&_0x5853c0[_0x1888ae(0xae)]&&!_0x33dd22&&_0x1cbcd1[_0x1888ae(0xe1)])return _0x191a80[_0x1888ae(0x9d)][_0x1888ae(0x103)](_0x1cbcd1[_0x1888ae(0xe1)],_0x1888ae(0x124)+_0x1cbcd1[_0x1888ae(0xa2)]),_0x191a80[_0x1888ae(0x9d)][_0x1888ae(0x103)](_0x1cbcd1[_0x1888ae(0xe1)],_0x1888ae(0xc9)+_0x1cbcd1[_0x1888ae(0xa2)]),null;const _0x12f5fc=[_0x1888ae(0xdd)];return _0x33dd22&&_0x12f5fc[_0x1888ae(0x10f)](_0x1888ae(0x10e)),_0x56e871=_0x5853c0&&_0x5853c0[_0x1888ae(0xbe)]?_0x5853c0[_0x1888ae(0xd4)][_0x1888ae(0x8c)][_0x1888ae(0xfa)]['id']:_0x4698e9['me']['id'],{'classes':_0x12f5fc,'attributes':{'data-comment':_0x2c5115,'data-author-id':_0x56e871}};}}),_0x595dd8[_0x54822b(0xd1)][_0x54822b(0x93)](_0x54822b(0x107))[_0x54822b(0x10b)]({'model':_0x54822b(0x125),'view':(_0x2559fa,{options:_0x120cd0})=>{const _0x22f703=_0x54822b;if(_0x120cd0[_0x22f703(0xfe)])return null;const _0x34c18d=_0x595dd8[_0x22f703(0xbc)][_0x22f703(0xe9)](_0x4130c2),_0xfd6821=_0x595dd8[_0x22f703(0xef)][_0x22f703(0xdb)][_0x22f703(0xe9)](_0x2559fa),{id:_0x16d458,part:_0x331973}=splitMarkerName(_0x2559fa);if(_0xfd6821&&!_0xfd6821[_0x22f703(0x11d)])return null;if(_0x120cd0[_0x22f703(0x87)]){const _0x1d7e42=_0x34c18d[_0x22f703(0x90)](_0x16d458);if(_0x1d7e42&&_0x1d7e42[_0x22f703(0xae)])return null;}return{'group':_0x22f703(0x125),'name':_0x331973?_0x16d458+':'+_0x331973:_0x16d458};}}),_0x595dd8[_0x54822b(0xd1)][_0x54822b(0x93)](_0x54822b(0x111))[_0x54822b(0x105)]({'view':{'name':_0x54822b(0x125),'attributes':{'id':/^\w/}},'model':(_0x1be2ae,{writer:_0x569f7f})=>_0x569f7f[_0x54822b(0xd2)](_0x54822b(0xd9),{'data-name':_0x54822b(0xfd)+_0x1be2ae[_0x54822b(0xf0)]('id')})}),_0x595dd8[_0x54822b(0xd1)][_0x54822b(0x93)](_0x54822b(0x111))[_0x54822b(0xc6)]({'view':_0x54822b(0x125)});}[_0x1799b5(0xb3)](){const _0x5d7ad5=_0x1799b5,_0x585396=this[_0x5d7ad5(0xa3)],_0x5b83b9=_0x585396[_0x5d7ad5(0xbc)][_0x5d7ad5(0xe9)](_0x4130c2),_0x170271=new Set(),_0x961ec0=new Set();_0x585396[_0x5d7ad5(0xef)][_0x5d7ad5(0xc8)][_0x5d7ad5(0xaf)](_0x2ba2aa=>{const _0x398545=_0x5d7ad5;let _0x3ae13f=!0x1;for(const {name:_0x3c2617,data:_0x5d197f}of _0x585396[_0x398545(0xef)][_0x398545(0xc8)][_0x398545(0x100)][_0x398545(0xc0)]()){const {group:_0x39376a,id:_0x3d5a96}=splitMarkerName(_0x3c2617);let _0x5afb1e=_0x5d197f[_0x398545(0xff)];if(_0x398545(0x125)!==_0x39376a||!_0x5afb1e)continue;const _0x450326=_0x398545(0xb1)===_0x5afb1e[_0x398545(0xf3)][_0x398545(0xb2)];_0x450326||(_0x5afb1e=dt(_0x5afb1e,_0x585396[_0x398545(0xef)]),!_0x5afb1e||_0x5afb1e[_0x398545(0x99)]||!_0x5d197f[_0x398545(0xff)]||_0x5afb1e[_0x398545(0x118)](_0x5d197f[_0x398545(0xff)]))?_0x585396[_0x398545(0xef)][_0x398545(0x119)](_0x5afb1e)&&!_0x450326?this[_0x398545(0x9b)]?_0x170271[_0x398545(0xa5)](_0x3c2617):this[_0x398545(0xda)](_0x3c2617,_0x3d5a96):(_0x961ec0[_0x398545(0xa5)](_0x3c2617),_0x170271[_0x398545(0x89)](_0x3c2617),_0x2ba2aa[_0x398545(0xb5)](_0x3c2617),_0x3ae13f=!0x0):(_0x2ba2aa[_0x398545(0x91)](_0x3c2617,{'range':_0x5afb1e}),_0x3ae13f=!0x0);}return _0x3ae13f;}),this['on'](_0x5d7ad5(0xbb),(_0x366476,_0x2b92e6,_0x24399d)=>{const _0x2f877e=_0x5d7ad5;if(!_0x24399d&&_0x170271[_0x2f877e(0x115)])for(const _0x5df5c8 of _0x170271){const {id:_0x246cf4}=splitMarkerName(_0x5df5c8);_0x170271[_0x2f877e(0x89)](_0x5df5c8),_0x585396[_0x2f877e(0xef)][_0x2f877e(0xdb)][_0x2f877e(0xe9)](_0x5df5c8)&&this[_0x2f877e(0xda)](_0x5df5c8,_0x246cf4);}}),this[_0x5d7ad5(0xf6)](_0x585396[_0x5d7ad5(0xef)][_0x5d7ad5(0xc8)],_0x5d7ad5(0xcb),()=>{const _0x5f1677=_0x5d7ad5;for(const {name:_0x3ce075,data:{newRange:_0x9fc229}}of _0x585396[_0x5f1677(0xef)][_0x5f1677(0xc8)][_0x5f1677(0x100)][_0x5f1677(0xc0)]()){const {group:_0x5b9a1a,id:_0x4988f5}=splitMarkerName(_0x3ce075);if(_0x5f1677(0x125)!==_0x5b9a1a)continue;const _0x5a37d2=_0x5b83b9[_0x5f1677(0x90)](_0x4988f5),_0x1525ec=this[_0x5f1677(0xc1)](_0x4988f5);_0x5a37d2&&(!_0x5a37d2[_0x5f1677(0xdc)]&&_0x9fc229&&_0x585396[_0x5f1677(0x9e)][_0x5f1677(0x129)][_0x5f1677(0x9a)](_0x5f1677(0xf7),()=>{const _0x35117c=_0x5f1677,_0x397ddc=_0x585396[_0x35117c(0xbc)][_0x35117c(0xe9)](_0x423f65),_0xe05396=_0x5b83b9[_0x35117c(0x116)][_0x35117c(0xe9)](_0x5a37d2)[_0x35117c(0x129)];_0x397ddc[_0x35117c(0x113)](_0xe05396)[_0x35117c(0x101)]();},{'priority':_0x5f1677(0xa8)}),_0x5a37d2[_0x5f1677(0xdc)]=_0x1525ec||!!_0x9fc229),_0x9fc229||(_0x961ec0[_0x5f1677(0xa5)](_0x3ce075),_0x170271[_0x5f1677(0x89)](_0x3ce075));}for(const _0x5e22eb of _0x961ec0){const {id:_0x29de81}=splitMarkerName(_0x5e22eb),_0x332e13=_0x5b83b9[_0x5f1677(0x90)](_0x29de81);if(_0x170271[_0x5f1677(0x89)](_0x5e22eb),!_0x332e13)continue;const _0x300b3c=this[_0x5f1677(0xc1)](_0x29de81);_0x300b3c||_0x332e13[_0x5f1677(0xf1)]?_0x300b3c||_0x332e13[_0x5f1677(0xb8)]||_0x332e13[_0x5f1677(0xbd)](new Date()):_0x332e13[_0x5f1677(0xed)]();}_0x961ec0[_0x5f1677(0xe6)]();});}[_0x1799b5(0xf9)](_0x419f5e){const _0xc87c02=_0x1799b5,_0x3f1c5b=this[_0xc87c02(0xa3)],_0x497ccb=this[_0xc87c02(0x9f)](_0x419f5e);return _0x21cb41(_0x3f1c5b[_0xc87c02(0x9e)],_0x497ccb);}[_0x1799b5(0x88)](_0xf1fa62){const _0x42ca3b=_0x1799b5,_0x3eb937=this[_0x42ca3b(0x9f)](_0xf1fa62);let _0x1a71da='',_0x5224a6=!0x1;for(const _0x3d0a26 of _0x3eb937){const _0x41883b=_0x3d0a26[_0x42ca3b(0xa0)]();for(const _0x130f14 of Array[_0x42ca3b(0xc7)](_0x41883b[_0x42ca3b(0x114)]()))_0x130f14['is'](_0x42ca3b(0xdf))?(_0x1a71da&&_0x5224a6&&(_0x1a71da+='\x20',_0x5224a6=!0x1),_0x1a71da+=_0x130f14[_0x42ca3b(0xce)]):_0x5224a6=!0x0;_0x5224a6=!0x0;}return _0x1a71da[_0x42ca3b(0xea)](0x0,0x96);}[_0x1799b5(0x126)](_0x5b5f1c,_0x132f53){const _0xc4c21e=_0x1799b5,_0x38d58d=this[_0xc4c21e(0xa3)],_0x33f1a6=_0x38d58d[_0xc4c21e(0xbc)][_0xc4c21e(0xe9)](_0x4130c2);let _0x3c2574=_0x33f1a6[_0xc4c21e(0x90)](_0x132f53);const _0x4e7a25=_0x38d58d[_0xc4c21e(0x95)][_0xc4c21e(0xe9)](_0xc4c21e(0xfb)),_0x45c13a=_0x38d58d[_0xc4c21e(0xbc)][_0xc4c21e(0xe9)](_0x424b0b);if(_0x3c2574&&(_0x3c2574[_0xc4c21e(0xb8)]&&_0x3c2574[_0xc4c21e(0xbd)](null),_0x3c2574[_0xc4c21e(0xbf)]))return _0x3c2574;return!this[_0xc4c21e(0x9f)](_0x132f53)[0x0][_0xc4c21e(0xd7)]?_0x38d58d[_0xc4c21e(0x9e)][_0xc4c21e(0x129)][_0xc4c21e(0x9a)](_0xc4c21e(0xf7),()=>{const _0x592a81=_0xc4c21e;if(_0x33f1a6[_0x592a81(0x90)](_0x132f53))return;const _0x150989=_0x38d58d[_0x592a81(0xbc)][_0x592a81(0xe9)](_0x423f65);_0x3c2574=_0x33f1a6[_0x592a81(0x109)]({'channelId':_0x4e7a25,'threadId':_0x132f53,'target':()=>this[_0x592a81(0xf9)](_0x132f53),'context':{'type':_0x592a81(0x117),'value':this[_0x592a81(0x88)](_0x132f53)}});const _0x4be2ba=_0x33f1a6[_0x592a81(0x116)][_0x592a81(0xe9)](_0x3c2574)[_0x592a81(0x129)],_0x50b1c1=_0x150989[_0x592a81(0x113)](_0x4be2ba);_0x50b1c1&&_0x45c13a[_0x592a81(0xc2)](_0x50b1c1);},{'priority':_0xc4c21e(0xa8)}):_0x33f1a6[_0xc4c21e(0xa6)]({'channelId':_0x4e7a25,'threadId':_0x132f53})[_0xc4c21e(0xb4)](_0x5ba774=>{const _0x36d37d=_0xc4c21e;if(_0x36d37d(0xb7)!==_0x38d58d[_0x36d37d(0xd5)]){if(_0x3c2574=_0x5ba774,_0x3c2574&&!_0x3c2574[_0x36d37d(0xbf)]){const _0x165565=_0x3c2574[_0x36d37d(0xa7)](()=>this[_0x36d37d(0xf9)](_0x132f53));_0x45c13a[_0x36d37d(0xc2)](_0x165565),_0x3c2574[_0x36d37d(0xae)]&&this[_0x36d37d(0xb6)](_0x132f53);}else{if(!_0x3c2574){const _0xcf3da5=this[_0x36d37d(0x9f)](_0x132f53);_0x38d58d[_0x36d37d(0xef)][_0x36d37d(0xcb)](_0x5778b0=>{const _0x2cad10=_0x36d37d;for(const _0x33a9c8 of _0xcf3da5)_0x5778b0[_0x2cad10(0xb5)](_0x33a9c8);});}}}}),_0x3c2574;}[_0x1799b5(0xda)](_0x33238d,_0xff0d6e){const _0x5a3994=_0x1799b5,_0x1b2948=this[_0x5a3994(0x126)](_0x33238d,_0xff0d6e);_0x1b2948&&!_0x1b2948[_0x5a3994(0x123)]&&_0x1b2948[_0x5a3994(0xd8)]({'type':_0x5a3994(0x117),'value':this[_0x5a3994(0x88)](_0xff0d6e)});}[_0x1799b5(0x96)](){const _0x37f8a0=_0x1799b5,_0x10d9c3=this[_0x37f8a0(0xa3)];_0x218771(_0x10d9c3[_0x37f8a0(0xef)],({left:_0x9fd2d9,entered:_0xa86388})=>{const _0x4cc4f0=_0x37f8a0;for(const _0xddd343 of _0x9fd2d9)if(mt(_0xddd343)){_0x10d9c3['ui'][_0x4cc4f0(0x122)][_0x4cc4f0(0xa9)](_0xa635da(_0x10d9c3[_0x4cc4f0(0xcc)],_0x4cc4f0(0x110)));break;}for(const _0x5ba058 of _0xa86388)if(mt(_0x5ba058)){_0x10d9c3['ui'][_0x4cc4f0(0x122)][_0x4cc4f0(0xa9)](_0xa635da(_0x10d9c3[_0x4cc4f0(0xcc)],_0x4cc4f0(0xe3),_0x10bb68(_0x26bd1a)));break;}});}}function ft(_0x275628,_0x33dc0f){return _0x33dc0f?_0x275628+':'+_0x33dc0f:_0x275628;}function _0x25e2(_0x59e286,_0x1e5ba3){const _0x48c793=_0x48c7();return _0x25e2=function(_0x25e22c,_0x4e266e){_0x25e22c=_0x25e22c-0x87;let _0x26fbb5=_0x48c793[_0x25e22c];return _0x26fbb5;},_0x25e2(_0x59e286,_0x1e5ba3);}export function splitMarkerName(_0x5106ad){const _0x1ec1f8=_0x1799b5,_0x56aa3b=_0x5106ad[_0x1ec1f8(0x92)](':');return{'group':_0x56aa3b[0x0],'id':_0x56aa3b[0x1],'part':_0x56aa3b[0x2]};}function dt(_0x2eb342,_0x270887){const _0xc97a3b=_0x1799b5,_0x17e1bb=_0x270887[_0xc97a3b(0xf8)],_0xd6fc1=_0x270887[_0xc97a3b(0xec)](_0x2eb342[_0xc97a3b(0xeb)]);for(const _0x3cbb79 of _0x2eb342[_0xc97a3b(0x108)]()){const {type:_0x377e3b,item:_0x4f7372,nextPosition:_0x12f98e}=_0x3cbb79;if(_0xc97a3b(0x117)===_0x377e3b||_0x17e1bb[_0xc97a3b(0x8a)](_0x4f7372)){const _0x1c29db=_0x270887[_0xc97a3b(0x10c)](_0x4f7372);_0xd6fc1[_0xc97a3b(0x99)]&&(_0xd6fc1[_0xc97a3b(0xeb)]=_0x1c29db),_0xd6fc1[_0xc97a3b(0xb0)]=_0x12f98e;}}return _0xd6fc1;}function mt(_0x3aad7a){const _0x2f8ee8=_0x1799b5;return _0x2f8ee8(0x125)===splitMarkerName(_0x3aad7a[_0x2f8ee8(0x120)])[_0x2f8ee8(0xac)];}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/commentsrepository
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d5362=_0xacf1;(function(_0x11bf15,_0x4d24f8){const _0x4f2c19=_0xacf1,_0x36987a=_0x11bf15();while(!![]){try{const _0x4072a1=-parseInt(_0x4f2c19(0x265))/0x1+-parseInt(_0x4f2c19(0x26b))/0x2+-parseInt(_0x4f2c19(0x275))/0x3*(-parseInt(_0x4f2c19(0x23d))/0x4)+-parseInt(_0x4f2c19(0x22d))/0x5+parseInt(_0x4f2c19(0x238))/0x6+-parseInt(_0x4f2c19(0x21f))/0x7+parseInt(_0x4f2c19(0x225))/0x8;if(_0x4072a1===_0x4d24f8)break;else _0x36987a['push'](_0x36987a['shift']());}catch(_0x5b96e0){_0x36987a['push'](_0x36987a['shift']());}}}(_0x4725,0xe8c7f));import{PendingActions as _0x293425,ContextPlugin as _0x5e9bd8,Editor as _0x5d88bd}from'ckeditor5/src/core.js';import{Collection as _0x5294da,uid as _0x575361,CKEditorError as _0x573007,ObservableMixin as _0x65bcbe}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x45eba6,hashObject as _0xbba5e1,Users as _0x3c47fa}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x40660d,isEqual as _0x108347,set as _0x20cbfc,unset as _0x1ac2b5}from'lodash-es';import _0x150db7 from'./ui/commentthreadcontroller.js';function _0xacf1(_0x4ebcd7,_0x197050){const _0x4725b1=_0x4725();return _0xacf1=function(_0xacf1bd,_0x3f72dc){_0xacf1bd=_0xacf1bd-0x199;let _0x3e8e18=_0x4725b1[_0xacf1bd];return _0x3e8e18;},_0xacf1(_0x4ebcd7,_0x197050);}import _0x323962 from'./ui/view/commentthreadview.js';import _0x24ce1e from'./ui/view/commentview.js';import{getTranslation as _0x476997}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';function _0x4725(){const _0x26c3db=['push','authoredAt','delete','model','commentsrepository-add-comment-user-not-exists','_updateComment','channelId','lowest','max','content','bind','_updateActiveAnnotation','isResolvable','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','locale','commentsrepository-resolve-comment-thread-internal-error','getPermissions','addComment','commentsrepository-missing-target','pluginName','removeComment','commentId','_permissions','requires','commentsrepository-invalid-comment-authorid','div','_isAttached','_unbindEditors','_getExternalAuthor','editorDestroyed','reduce','toJSON','comments.CommentThreadView','highest','resolvedAt','commentsrepository-duplicated-comment-thread-id','commentsrepository-reopen-comment-thread','_attachCommentThread','isOfficialPlugin','getCommentThread','commentsrepository-update-comment-missing-comment-thread','focus','isAttached','commentUpdated','createdAt','comments.maxCommentCharsWhenCollapsed','assign','createCommentThreadController','commentsrepository-active-not-attached','_readOnlyChannels','isExternal','view','set','_createNewComment','length','fetchCommentThread','CommentsRepository','_addCommentThread','deactivateAll','change:isDirty','isResolved','bodyCollectionContainer','removeCommentThread','hasCommentThread','isDirty','init','switchReadOnly','unlinkedAt','isActive','PendingActions','modifyAll','commentsrepository-invalid-comment-content','external:','isSubmitted','commentsrepository-remove-missing-comment-thread','isRemovable','type','commentsrepository-invalid-commentid','comment','from','commentsrepository-get-comment-invalid-id','commentsrepository-update-missing-comment','focusTracker','values','PENDING_ACTION_COMMENT_THREAD','updateCommentThread','commentsrepository-missing-comment-thread','_detachCommentThread','innerHTML','getComment','commentThreadInputView','_viewToController','_submitCommentThread','update','_threadToController','_reopenCommentThread','comments.copyMarkers','getIndex','getTime','noChannel','adapter','authorName','weight','catch','attachTo','activeCommentThread','commentsrepository-active-missing-comment-thread','commentsrepository-add-comment-internal-error','_removeActiveAnnotation','_createCommentThreadView','_adapter','isReadOnly','archivedAt','getCommentThreads','comments.editorConfig','escape','commentsrepository-update-comment-internal-error','error','define','get','_remove','editorReady','openNewCommentThread','removeAttribute','stopListening','add','innerView','11485775bmIKNw','comments.CommentView','getByInnerView','creator','commentsrepository-remove-comment-missing-comment-thread','function','36079664wQDVKA','find','_bindAnnotationToEditors','_resolveCommentThread','refreshVisibility','_threads','commentsrepository-missing-thread-and-adapter-method','commentsrepository-reopen-comment-thread-internal-error','3737280FUEZFr','setUnlinkedAt','attributes','_update','change:activeAnnotations','reopenCommentThread','setAttribute','resolvedBy','commentsListView','commentsrepository-remove-missing-comment','trim','4627920HvpIJw','map','commentsrepository-update-comment-thread-internal-error','submitCommentThread','textContent','1988HCfVGR','_findOptimalIndex','resolve','CommentThreadView','has','config','commentsrepository-add-comment-thread-internal-error','change:authoredAt','addCommentThread','filter','body','commentsrepository-add-comment-to-missing-comment-thread','destroy','commentInputView','comments','once','@external','commentsrepository-remove-comment-internal-error','commentsrepository-attach-missing-comment-thread','listenTo','setContext','change:_readOnlyChannels','isFromAdapter','change:_permissions','comments.maxCommentsWhenCollapsed','then','commentsrepository-update-comment-invalid-content','setActiveCommentThread','write','_add','createElement','activate','addUser','reopen','_updateCommentThread','context','submit','admin','_addComment','warn','1580985XMomLs','commentsrepository-adapter-already-set','resolveCommentThread','_hasTargetInContent','commentsrepository-remove-comment-thread-internal-error','_repository','1284656hYMBdB','isEditable','fire','_removeCommentThread','string','setPermissions','updateComment','commentsrepository-invalid-comment-thread-id','commentsrepository-resolved-comment-thread','focusableElements','1713XkTvwQ','plugins','CommentView','canComment','licenseKey','threadId','comments.maxThreadTotalWeight','_isSubmitted','remove','getUser','author','isPremiumPlugin','commentsrepository-fetch-comment-thread','_removeComment'];_0x4725=function(){return _0x26c3db;};return _0x4725();}import _0x5df17d from'../annotations/view/annotationview.js';import _0x2d988a from'../annotations/annotation.js';import _0x3a87ad from'../annotations/annotations.js';const gt=Symbol(_0x4d5362(0x203)),Tt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x5e9bd8{static get[_0x4d5362(0x1b7)](){return[_0x3a87ad,_0x293425,_0x3c47fa];}static get[_0x4d5362(0x1b3)](){const _0x418abc=_0x4d5362;return _0x418abc(0x1d8);}static get[_0x4d5362(0x1c6)](){return!0x0;}static get[_0x4d5362(0x19d)](){return!0x0;}constructor(_0x478831){const _0x3ed2f8=_0x4d5362;super(_0x478831),this[_0x3ed2f8(0x22a)]=new Map(),this[_0x3ed2f8(0x1fe)]=new Map(),this[_0x3ed2f8(0x1fb)]=new Map(),this[_0x3ed2f8(0x1d4)](_0x3ed2f8(0x1d1),new Set()),this[_0x3ed2f8(0x1d4)](_0x3ed2f8(0x1b6),new Map());const _0x4e8fc6=this[_0x3ed2f8(0x260)][_0x3ed2f8(0x242)];_0x4e8fc6[_0x3ed2f8(0x216)](_0x3ed2f8(0x255),0x2),_0x4e8fc6[_0x3ed2f8(0x216)](_0x3ed2f8(0x27b),0x1f4),_0x4e8fc6[_0x3ed2f8(0x216)](_0x3ed2f8(0x1cd),0x8c),_0x4e8fc6[_0x3ed2f8(0x216)](_0x3ed2f8(0x1c0),_0x323962),_0x4e8fc6[_0x3ed2f8(0x216)](_0x3ed2f8(0x220),_0x24ce1e),_0x4e8fc6[_0x3ed2f8(0x217)](_0x3ed2f8(0x212))||console[_0x3ed2f8(0x264)](_0x3ed2f8(0x1ad));}[_0x4d5362(0x1e1)](){const _0x589b13=_0x4d5362,_0x2de5b4=this[_0x589b13(0x260)][_0x589b13(0x276)][_0x589b13(0x217)](_0x3a87ad);this[_0x589b13(0x1d4)](_0x589b13(0x209),null),this['on'](_0x589b13(0x245),(_0x186c42,_0x39f8cf)=>this[_0x589b13(0x1d9)](_0x39f8cf)),this['on'](_0x589b13(0x23b),(_0x195407,_0x1089a9)=>this[_0x589b13(0x1fc)](_0x1089a9)),this['on'](_0x589b13(0x267),(_0xe0d293,_0x32ee6c)=>this[_0x589b13(0x228)](_0x32ee6c)),this['on'](_0x589b13(0x267),(_0x27ed8e,_0x562990)=>this[_0x589b13(0x1ab)](_0x562990),{'priority':_0x589b13(0x1a7)}),this['on'](_0x589b13(0x232),(_0x1e3476,_0x148e95)=>this[_0x589b13(0x1ff)](_0x148e95)),this['on'](_0x589b13(0x232),(_0x1bf274,_0x464133)=>this[_0x589b13(0x1ab)](_0x464133),{'priority':_0x589b13(0x1a7)}),this['on'](_0x589b13(0x1de),(_0x48499e,_0xf9ccbf)=>this[_0x589b13(0x26e)](_0xf9ccbf)),this['on'](_0x589b13(0x1f5),(_0x17795f,_0x5182bb)=>this[_0x589b13(0x25f)](_0x5182bb)),this['on'](_0x589b13(0x1f5),(_0x4d7aa7,_0x5c08d8)=>this[_0x589b13(0x1ab)](_0x5c08d8),{'priority':_0x589b13(0x1a7)}),this['on'](_0x589b13(0x1b1),(_0x440bbe,_0x5bc0e1)=>this[_0x589b13(0x263)](_0x5bc0e1)),this['on'](_0x589b13(0x271),(_0x48bd8d,_0x2e00b8)=>this[_0x589b13(0x1a5)](_0x2e00b8)),this['on'](_0x589b13(0x1b4),(_0x11f995,_0x2f08d4)=>this[_0x589b13(0x19f)](_0x2f08d4)),this['on'](_0x589b13(0x1b1),(_0x16bd39,{threadId:_0x41e771,isFromAdapter:_0xff8b65})=>{const _0x2b388c=_0x589b13;if(_0xff8b65)return;const _0x39cc91=this[_0x2b388c(0x1c7)](_0x41e771),_0x213ff3=_0x39cc91&&this[_0x2b388c(0x1fe)][_0x2b388c(0x217)](_0x39cc91);_0x213ff3&&_0x213ff3[_0x2b388c(0x1d3)][_0x2b388c(0x235)][_0x2b388c(0x1c9)](-0x1);},{'priority':_0x589b13(0x1a7)}),this[_0x589b13(0x250)](_0x2de5b4,_0x589b13(0x231),(_0x2fb8f8,_0x27978d,_0x3d88e9)=>{const _0x205382=_0x589b13,_0x2974eb=Array[_0x205382(0x1ef)](_0x3d88e9)[_0x205382(0x239)](_0x541251=>this[_0x205382(0x1fb)][_0x205382(0x217)](_0x541251[_0x205382(0x21e)]))[_0x205382(0x246)](Boolean)[0x0];this[_0x205382(0x209)]=_0x2974eb?_0x2974eb[_0x205382(0x1a3)]:null;});}set[_0x4d5362(0x204)](_0x46c33d){const _0xe90371=_0x4d5362;if(this[_0xe90371(0x20e)])throw new _0x573007(_0xe90371(0x266));this[_0xe90371(0x20e)]=_0x46c33d;}get[_0x4d5362(0x204)](){const _0x1a33e5=_0x4d5362;return this[_0x1a33e5(0x20e)];}[_0x4d5362(0x245)]({channelId:_0x2dbe4b=gt,threadId:_0x31f785=_0x575361(),comments:_0xe89543=[],unlinkedAt:_0x187939=null,resolvedAt:_0x4200a8=null,resolvedBy:_0x118804=null,target:_0x1d6df7=null,context:_0x31545e=null,attributes:_0x5bc919={},isResolvable:_0x351cf5=!0x0,isSubmitted:_0x555546=!0x1,isFromAdapter:_0x538ff7=!0x1}={}){const _0x24243d=_0x4d5362;return this[_0x24243d(0x26d)](_t(_0x24243d(0x245),_0x2dbe4b),{'channelId':_0x2dbe4b,'threadId':_0x31f785,'comments':_0xe89543,'unlinkedAt':_0x187939,'resolvedAt':_0x4200a8,'resolvedBy':_0x118804,'target':_0x1d6df7,'context':_0x31545e,'attributes':_0x5bc919,'isFromAdapter':_0x538ff7,'isResolvable':_0x351cf5,'isSubmitted':_0x555546}),this[_0x24243d(0x1c7)](_0x31f785);}[_0x4d5362(0x21a)]({channelId:_0x328e81=gt,threadId:_0x4ee616=_0x575361(),target:_0x34e8a2,context:_0x3658b7=null,isResolvable:_0x20472a=!0x0}){const _0x341d1c=_0x4d5362;if(this[_0x341d1c(0x1d1)][_0x341d1c(0x241)](_0x328e81)||this[_0x341d1c(0x1d1)][_0x341d1c(0x241)](void 0x0))return null;if(!_0x34e8a2)throw new _0x573007(_0x341d1c(0x1b2));const _0x3dfc23=this[_0x341d1c(0x245)]({'channelId':_0x328e81,'threadId':_0x4ee616,'target':_0x34e8a2,'context':_0x3658b7,'isResolvable':_0x20472a});if(!_0x3dfc23)return null;const _0x23cc87=this[_0x341d1c(0x1fe)][_0x341d1c(0x217)](_0x3dfc23),_0x57eb08=_0x23cc87[_0x341d1c(0x1d3)][_0x341d1c(0x1fa)][_0x341d1c(0x24a)],_0x3e87a1=this[_0x341d1c(0x260)][_0x341d1c(0x276)][_0x341d1c(0x217)](_0x3a87ad),_0x4429c6=_0x3e87a1[_0x341d1c(0x221)](_0x23cc87[_0x341d1c(0x1d3)]);return _0x3e87a1[_0x341d1c(0x25c)](_0x4429c6),_0x57eb08[_0x341d1c(0x24c)](_0x341d1c(0x219),()=>_0x57eb08[_0x341d1c(0x1c9)]()),_0x3dfc23;}[_0x4d5362(0x1df)](_0x3d2f68){const _0x2bb13b=_0x4d5362;if(_0x2bb13b(0x26f)!=typeof _0x3d2f68)throw new _0x573007(_0x2bb13b(0x272));return this[_0x2bb13b(0x22a)][_0x2bb13b(0x241)](_0x3d2f68);}[_0x4d5362(0x1f5)]({channelId:_0xf01357=gt,threadId:_0x21edaf,context:_0x3f0dda,unlinkedAt:_0x7f9700,attributes:_0x2bae78,isFromAdapter:_0x1cbe3c=!0x1}){const _0x36bd2d=_0x4d5362;return this[_0x36bd2d(0x26d)](_t(_0x36bd2d(0x1f5),_0xf01357),{'channelId':_0xf01357,'threadId':_0x21edaf,'context':_0x3f0dda,'unlinkedAt':_0x7f9700,'attributes':_0x2bae78,'isFromAdapter':_0x1cbe3c}),this[_0x36bd2d(0x1c7)](_0x21edaf);}[_0x4d5362(0x1c7)](_0x343cf4){const _0x2e9522=_0x4d5362;if(_0x2e9522(0x26f)!=typeof _0x343cf4)throw new _0x573007(_0x2e9522(0x272));return this[_0x2e9522(0x22a)][_0x2e9522(0x217)](_0x343cf4);}[_0x4d5362(0x1d7)]({channelId:_0x241a93,threadId:_0x10ae74}={}){const _0x32051f=_0x4d5362,_0x3839e3=this[_0x32051f(0x1c7)](_0x10ae74);if(_0x3839e3)return Promise[_0x32051f(0x23f)](_0x3839e3);if(!this[_0x32051f(0x204)])return Promise[_0x32051f(0x23f)](void 0x0);if(_0x32051f(0x224)!=typeof this[_0x32051f(0x204)][_0x32051f(0x1c7)])throw new _0x573007(_0x32051f(0x22b),this[_0x32051f(0x260)]);return this[_0x32051f(0x204)][_0x32051f(0x1c7)]({'channelId':_0x241a93,'threadId':_0x10ae74})[_0x32051f(0x256)](_0x412bac=>this[_0x32051f(0x1df)](_0x10ae74)?this[_0x32051f(0x1c7)](_0x10ae74):_0x412bac?this[_0x32051f(0x245)](Object[_0x32051f(0x1ce)]({'isFromAdapter':!0x0,'channelId':_0x241a93},_0x412bac)):void 0x0)[_0x32051f(0x207)](_0x449208=>{const _0x17f9ee=_0x32051f;throw console[_0x17f9ee(0x215)](_0x449208),new _0x573007(_0x17f9ee(0x19e),this[_0x17f9ee(0x260)]);});}[_0x4d5362(0x211)]({channelId:_0x18b79e,skipNotAttached:_0x52d382=!0x1,skipEmpty:_0x4a9c94=!0x1,toJSON:_0x9ba833=!0x1}={}){const _0x9f13e7=_0x4d5362,_0x2b9c93=[];for(const _0x114b94 of this[_0x9f13e7(0x22a)][_0x9f13e7(0x1f3)]())_0x18b79e&&_0x114b94[_0x9f13e7(0x1a6)]!==_0x18b79e||_0x52d382&&!_0x114b94[_0x9f13e7(0x1ca)]||_0x4a9c94&&0x0===_0x114b94[_0x9f13e7(0x1d6)]||_0x2b9c93[_0x9f13e7(0x1a0)](_0x114b94);return _0x9ba833?_0x2b9c93[_0x9f13e7(0x239)](_0x130f0f=>_0x130f0f[_0x9f13e7(0x1bf)]()):_0x2b9c93;}[_0x4d5362(0x258)](_0x1a7708){const _0x5bbde8=_0x4d5362,_0x2b8929=this[_0x5bbde8(0x260)][_0x5bbde8(0x276)][_0x5bbde8(0x217)](_0x3a87ad);if(!_0x1a7708)return void(this[_0x5bbde8(0x209)]&&_0x2b8929[_0x5bbde8(0x1da)]());const _0x21425a=this[_0x5bbde8(0x1c7)](_0x1a7708);if(!_0x21425a)throw new _0x573007(_0x5bbde8(0x20a),null,{'threadId':_0x1a7708});if(!this[_0x5bbde8(0x1fe)][_0x5bbde8(0x241)](_0x21425a))throw new _0x573007(_0x5bbde8(0x1d0),null,{'threadId':_0x1a7708});const _0x3fc4b2=_0x2b8929[_0x5bbde8(0x221)](this[_0x5bbde8(0x1fe)][_0x5bbde8(0x217)](_0x21425a)[_0x5bbde8(0x1d3)]);_0x2b8929[_0x5bbde8(0x25c)](_0x3fc4b2);}[_0x4d5362(0x1e2)](_0x1a9146,_0x2c03f8){const _0x54ae95=_0x4d5362;_0x1a9146?this[_0x54ae95(0x1d1)][_0x54ae95(0x21d)](_0x2c03f8):this[_0x54ae95(0x1d1)][_0x54ae95(0x1a2)](_0x2c03f8),this[_0x54ae95(0x26d)](_0x54ae95(0x252),_0x54ae95(0x1d1),this[_0x54ae95(0x1d1)],this[_0x54ae95(0x1d1)]);}[_0x4d5362(0x20f)](_0x26e1ad){const _0x39aa23=_0x4d5362;return this[_0x39aa23(0x1d1)][_0x39aa23(0x241)](_0x26e1ad)||this[_0x39aa23(0x1d1)][_0x39aa23(0x241)](void 0x0);}[_0x4d5362(0x1cf)](_0x44310a,_0x53f8b3){return new _0x150db7(_0x44310a,_0x53f8b3);}[_0x4d5362(0x270)](_0x3a21db,_0x3e56d0=gt){const _0x246bfe=_0x4d5362;this[_0x246bfe(0x1b6)][_0x246bfe(0x1d4)](_0x3e56d0,_0x3a21db),this[_0x246bfe(0x26d)](_0x246bfe(0x254),_0x246bfe(0x1b6),this[_0x246bfe(0x1b6)],this[_0x246bfe(0x1b6)]);}[_0x4d5362(0x1b0)](_0x4a4ea4=gt){const _0x599350=_0x4d5362;return this[_0x599350(0x1b6)][_0x599350(0x241)](_0x4a4ea4)?this[_0x599350(0x1b6)][_0x599350(0x217)](_0x4a4ea4):Tt;}[_0x4d5362(0x1d9)]({channelId:_0x558d52,threadId:_0x3c9e75,comments:_0x18422b,unlinkedAt:_0x261b21,resolvedAt:_0xd0bd85,resolvedBy:_0x1b6731,target:_0x409c5d,context:_0x4307ea,attributes:_0x2544f3,isFromAdapter:_0x517e89,isResolvable:_0x14587d,isSubmitted:_0x24ac8b}){const _0x1b73da=_0x4d5362;if(_0x1b73da(0x26f)!=typeof _0x3c9e75)throw new _0x573007(_0x1b73da(0x272),null,{'threadId':_0x3c9e75});if(this[_0x1b73da(0x1df)](_0x3c9e75))throw new _0x573007(_0x1b73da(0x1c3),null,{'threadId':_0x3c9e75});const _0xe63e4e=new CommentThread(this,{'channelId':_0x558d52,'id':_0x3c9e75,'context':_0x4307ea,'attributes':_0x2544f3,'unlinkedAt':_0x261b21,'resolvedAt':_0xd0bd85,'resolvedBy':_0x1b6731?this[_0x1b73da(0x260)][_0x1b73da(0x276)][_0x1b73da(0x217)](_0x3c47fa)[_0x1b73da(0x19b)](_0x1b6731):null,'isResolvable':_0x14587d,'isSubmitted':_0x24ac8b||_0x517e89});this[_0x1b73da(0x22a)][_0x1b73da(0x1d4)](_0x3c9e75,_0xe63e4e);for(const _0x174638 of _0x18422b)_0xe63e4e[_0x1b73da(0x25a)](this[_0x1b73da(0x1d5)]({'threadId':_0x3c9e75,..._0x174638}));return _0x409c5d&&_0xe63e4e[_0x1b73da(0x208)](_0x409c5d),_0x517e89||!_0xe63e4e[_0x1b73da(0x1d6)]?Promise[_0x1b73da(0x23f)]():this[_0x1b73da(0x1fc)]({'channelId':_0x558d52,'threadId':_0x3c9e75});}[_0x4d5362(0x1fc)]({channelId:_0x5e828f,threadId:_0x23e43c}){const _0x1cbbd9=_0x4d5362;if(!this[_0x1cbbd9(0x1df)](_0x23e43c))throw new _0x573007(_0x1cbbd9(0x1f6),this);const _0x5248aa=this[_0x1cbbd9(0x1c7)](_0x23e43c);if(_0x5248aa[_0x1cbbd9(0x199)]=!0x0,!this[_0x1cbbd9(0x204)]||_0x1cbbd9(0x224)!=typeof this[_0x1cbbd9(0x204)][_0x1cbbd9(0x245)])return Promise[_0x1cbbd9(0x23f)]();const {id:_0x335fab,comments:_0x143e3b,resolvedAt:_0x44ab6c,resolvedBy:_0x469c2b,context:_0x449512,attributes:_0x103e1f}=_0x5248aa,_0xc3c8e5=this[_0x1cbbd9(0x260)][_0x1cbbd9(0x276)][_0x1cbbd9(0x217)](_0x1cbbd9(0x1e5)),_0x618f62=_0xc3c8e5[_0x1cbbd9(0x21d)](_0x476997(this[_0x1cbbd9(0x260)][_0x1cbbd9(0x1ae)],_0x1cbbd9(0x1f4)));return this[_0x1cbbd9(0x204)][_0x1cbbd9(0x245)]({'channelId':_0x5e828f,'threadId':_0x335fab,'comments':_0x143e3b[_0x1cbbd9(0x239)](_0x515514=>_0x515514[_0x1cbbd9(0x1bf)]()),'resolvedAt':_0x44ab6c,'resolvedBy':_0x469c2b?_0x469c2b['id']:_0x469c2b,'context':_0x449512,'attributes':_0x103e1f})[_0x1cbbd9(0x256)](({comments:_0x2d04f8})=>{const _0x4d2569=_0x1cbbd9;_0xc3c8e5[_0x4d2569(0x19a)](_0x618f62);for(const _0x434f93 of _0x2d04f8)this[_0x4d2569(0x1a5)]({'channelId':_0x5e828f,'threadId':_0x23e43c,'commentId':_0x434f93[_0x4d2569(0x1b5)],'createdAt':_0x434f93[_0x4d2569(0x1cc)],'isFromAdapter':!0x0});})[_0x1cbbd9(0x207)](_0x541c09=>{const _0x3381f1=_0x1cbbd9;throw console[_0x3381f1(0x215)](_0x541c09),new _0x573007(_0x3381f1(0x243),this);});}[_0x4d5362(0x1c5)]({threadId:_0x50cc39,target:_0x5a83f0}){const _0x12db81=_0x4d5362,_0x5939e3=this[_0x12db81(0x1c7)](_0x50cc39);if(!_0x5939e3)throw new _0x573007(_0x12db81(0x24f),this);const _0x3e228b=this[_0x12db81(0x260)][_0x12db81(0x276)][_0x12db81(0x217)](_0x12db81(0x1e5)),_0x32a8cd=this[_0x12db81(0x260)][_0x12db81(0x276)][_0x12db81(0x217)](_0x3a87ad),_0x3d8018=this[_0x12db81(0x20d)](_0x5939e3),_0x2cf75c=new _0x150db7(_0x5939e3,_0x3d8018);let _0x2d2abe=null;_0x3d8018['on'](_0x12db81(0x1db),(_0x5169d8,_0x173204,_0x2c6ccf)=>{const _0x586f39=_0x12db81;_0x2c6ccf?_0x2d2abe=_0x3e228b[_0x586f39(0x21d)](_0x476997(this[_0x586f39(0x260)][_0x586f39(0x1ae)],_0x586f39(0x1f4))):_0x2d2abe&&(_0x3e228b[_0x586f39(0x19a)](_0x2d2abe),_0x2d2abe=null);}),this[_0x12db81(0x1fe)][_0x12db81(0x1d4)](_0x5939e3,_0x2cf75c),this[_0x12db81(0x1fb)][_0x12db81(0x1d4)](_0x3d8018,_0x2cf75c);const _0x2c1d8b=new _0x5df17d(this[_0x12db81(0x260)][_0x12db81(0x1ae)],_0x3d8018);_0x2c1d8b[_0x12db81(0x1aa)](_0x12db81(0x1d6))['to'](_0x3d8018),_0x2c1d8b[_0x12db81(0x1aa)](_0x12db81(0x1e0))['to'](_0x3d8018,_0x12db81(0x1e0),_0x3d8018,_0x12db81(0x1d6),(_0x323c07,_0x21cee0)=>_0x323c07||!_0x21cee0),_0x2c1d8b[_0x12db81(0x1aa)](_0x12db81(0x1e4))['to'](_0x3d8018),_0x2c1d8b[_0x12db81(0x1ec)]=_0x12db81(0x1ee);const _0x16a204=new _0x2d988a({'view':_0x2c1d8b,'target':_0x5a83f0,'type':_0x12db81(0x1ee),'isVisible':!_0x5939e3[_0x12db81(0x1dc)]});return _0x3d8018['on'](_0x12db81(0x213),()=>{const _0x3a01fb=_0x12db81;_0x16a204[_0x3a01fb(0x26d)](_0x3a01fb(0x213));}),this[_0x12db81(0x227)](_0x3d8018,_0x16a204),_0x32a8cd[_0x12db81(0x21d)](_0x16a204),_0x16a204;}[_0x4d5362(0x227)](_0x3ede4a,_0x326b58){const _0x590191=_0x4d5362;this[_0x590191(0x250)](_0x3ede4a,_0x590191(0x219),(_0x4e8d52,_0x1591a6)=>{const _0x1508e1=_0x590191,_0x3a9bce=_0x1591a6['ui'][_0x1508e1(0x1d3)][_0x1508e1(0x247)][_0x1508e1(0x1dd)];_0x326b58[_0x1508e1(0x274)][_0x1508e1(0x21d)](_0x3a9bce),this[_0x1508e1(0x260)]instanceof _0x5d88bd&&this[_0x1508e1(0x260)]['ui'][_0x1508e1(0x1f2)][_0x1508e1(0x21d)](_0x3a9bce);},{'priority':_0x590191(0x1c1)}),this[_0x590191(0x250)](_0x3ede4a,_0x590191(0x1bd),(_0x1053a2,_0x2c2bb9)=>{const _0x3b010c=_0x590191,_0x2b4726=_0x2c2bb9['ui'][_0x3b010c(0x1d3)][_0x3b010c(0x247)][_0x3b010c(0x1dd)];_0x326b58[_0x3b010c(0x274)][_0x3b010c(0x241)](_0x2b4726)&&_0x326b58[_0x3b010c(0x274)][_0x3b010c(0x19a)](_0x2b4726),this[_0x3b010c(0x260)]instanceof _0x5d88bd&&this[_0x3b010c(0x260)]['ui'][_0x3b010c(0x1f2)][_0x3b010c(0x19a)](_0x2b4726);});}[_0x4d5362(0x1bb)](_0x2544f9){const _0x38f0d1=_0x4d5362;this[_0x38f0d1(0x21c)](_0x2544f9,_0x38f0d1(0x219)),this[_0x38f0d1(0x21c)](_0x2544f9,_0x38f0d1(0x1bd));}[_0x4d5362(0x20d)](_0x2582bd){const _0x2eab2d=_0x4d5362,_0x15891d=this[_0x2eab2d(0x260)][_0x2eab2d(0x276)][_0x2eab2d(0x217)](_0x3c47fa),{config:_0x555270,locale:_0x42ce75}=this[_0x2eab2d(0x260)],_0xcc6121=_0x45eba6(_0x555270[_0x2eab2d(0x217)](_0x2eab2d(0x1ae)));return new(0x0,(_0x555270[_0x2eab2d(0x217)](_0x2eab2d(0x24b)))[(_0x2eab2d(0x240))])(_0x42ce75,_0x2582bd,_0x15891d['me'],{'editorConfig':{..._0x555270[_0x2eab2d(0x217)](_0x2eab2d(0x212)),'licenseKey':this[_0x2eab2d(0x260)][_0x2eab2d(0x242)][_0x2eab2d(0x217)](_0x2eab2d(0x279))},'copyMarkers':_0x555270[_0x2eab2d(0x217)](_0x2eab2d(0x200)),'maxCommentsWhenCollapsed':_0x555270[_0x2eab2d(0x217)](_0x2eab2d(0x255)),'maxThreadTotalWeight':_0x555270[_0x2eab2d(0x217)](_0x2eab2d(0x27b)),'maxCommentCharsWhenCollapsed':_0x555270[_0x2eab2d(0x217)](_0x2eab2d(0x1cd)),'formatDateTime':_0xcc6121,'CommentView':_0x555270[_0x2eab2d(0x217)](_0x2eab2d(0x24b))[_0x2eab2d(0x277)]});}[_0x4d5362(0x228)]({threadId:_0x56d1ee,channelId:_0x38a7fe,resolvedAt:_0x5cc7f8,resolvedBy:_0x5a8714,isFromAdapter:_0x1ae5ea}){const _0x5c8b23=_0x4d5362;if(!this[_0x5c8b23(0x1df)](_0x56d1ee))throw new _0x573007(_0x5c8b23(0x1f6),null,{'threadId':_0x56d1ee});const _0x2dfbb0=this[_0x5c8b23(0x1c7)](_0x56d1ee);if(_0x2dfbb0[_0x5c8b23(0x1dc)])throw new _0x573007(_0x5c8b23(0x273),null,{'threadId':_0x56d1ee});const _0x378061=this[_0x5c8b23(0x260)][_0x5c8b23(0x276)][_0x5c8b23(0x217)](_0x3c47fa);if(_0x2dfbb0[_0x5c8b23(0x234)]=_0x378061[_0x5c8b23(0x19b)](_0x5a8714),_0x2dfbb0[_0x5c8b23(0x1c2)]=_0x5cc7f8,_0x1ae5ea||!this[_0x5c8b23(0x204)]||_0x5c8b23(0x224)!=typeof this[_0x5c8b23(0x204)][_0x5c8b23(0x267)])return Promise[_0x5c8b23(0x23f)]();const _0x9efdc7=this[_0x5c8b23(0x260)][_0x5c8b23(0x276)][_0x5c8b23(0x217)](_0x5c8b23(0x1e5)),_0x2b9903=_0x9efdc7[_0x5c8b23(0x21d)](_0x476997(this[_0x5c8b23(0x260)][_0x5c8b23(0x1ae)],_0x5c8b23(0x1f4)));return this[_0x5c8b23(0x204)][_0x5c8b23(0x267)]({'channelId':_0x38a7fe,'threadId':_0x56d1ee})[_0x5c8b23(0x256)](({resolvedAt:_0x243e46,resolvedBy:_0xf4e0a9})=>{const _0x3a7e5b=_0x5c8b23;_0x9efdc7[_0x3a7e5b(0x19a)](_0x2b9903),_0x2dfbb0[_0x3a7e5b(0x234)]['id']!==_0xf4e0a9&&(_0x2dfbb0[_0x3a7e5b(0x234)]=_0x378061[_0x3a7e5b(0x19b)](_0xf4e0a9)),_0x2dfbb0[_0x3a7e5b(0x1c2)]=_0x243e46;})[_0x5c8b23(0x207)](_0x4031a1=>{const _0x36f8ca=_0x5c8b23;throw console[_0x36f8ca(0x215)](_0x4031a1),new _0x573007(_0x36f8ca(0x1af),this);});}[_0x4d5362(0x1ff)]({threadId:_0x5776a8,channelId:_0x1c6cc3,isFromAdapter:_0x3f22c8}){const _0x406af8=_0x4d5362;if(!this[_0x406af8(0x1df)](_0x5776a8))throw new _0x573007(_0x406af8(0x1f6),null,{'threadId':_0x5776a8});const _0x23dbee=this[_0x406af8(0x1c7)](_0x5776a8);if(!_0x23dbee[_0x406af8(0x1dc)])throw new _0x573007(_0x406af8(0x1c4),null,{'threadId':_0x5776a8});if(_0x23dbee[_0x406af8(0x234)]=null,_0x23dbee[_0x406af8(0x1c2)]=null,_0x3f22c8||!this[_0x406af8(0x204)]||_0x406af8(0x224)!=typeof this[_0x406af8(0x204)][_0x406af8(0x232)])return Promise[_0x406af8(0x23f)]();const _0x1b55bc=this[_0x406af8(0x260)][_0x406af8(0x276)][_0x406af8(0x217)](_0x406af8(0x1e5)),_0x3ead53=_0x1b55bc[_0x406af8(0x21d)](_0x476997(this[_0x406af8(0x260)][_0x406af8(0x1ae)],_0x406af8(0x1f4)));return this[_0x406af8(0x204)][_0x406af8(0x232)]({'channelId':_0x1c6cc3,'threadId':_0x5776a8})[_0x406af8(0x256)](()=>_0x1b55bc[_0x406af8(0x19a)](_0x3ead53))[_0x406af8(0x207)](_0x859d81=>{const _0x22b392=_0x406af8;throw console[_0x22b392(0x215)](_0x859d81),new _0x573007(_0x22b392(0x22c),this);});}[_0x4d5362(0x26e)]({threadId:_0x3908d1,isFromAdapter:_0x139caf}){const _0x4a693e=_0x4d5362,_0x365262=this[_0x4a693e(0x1c7)](_0x3908d1);if(!_0x365262)throw new _0x573007(_0x4a693e(0x1ea),this);if(this[_0x4a693e(0x1f7)](_0x3908d1),this[_0x4a693e(0x22a)][_0x4a693e(0x1a2)](_0x3908d1),!_0x365262[_0x4a693e(0x1e9)]||_0x139caf||!this[_0x4a693e(0x204)]||_0x4a693e(0x224)!=typeof this[_0x4a693e(0x204)][_0x4a693e(0x1de)])return Promise[_0x4a693e(0x23f)]();const _0x55b345=this[_0x4a693e(0x260)][_0x4a693e(0x276)][_0x4a693e(0x217)](_0x4a693e(0x1e5)),{channelId:_0x285cb7}=_0x365262,_0x823326=_0x55b345[_0x4a693e(0x21d)](_0x476997(this[_0x4a693e(0x260)][_0x4a693e(0x1ae)],_0x4a693e(0x1f4)));return this[_0x4a693e(0x204)][_0x4a693e(0x1de)]({'channelId':_0x285cb7,'threadId':_0x3908d1})[_0x4a693e(0x256)](()=>_0x55b345[_0x4a693e(0x19a)](_0x823326))[_0x4a693e(0x207)](_0x47f882=>{const _0x424bb6=_0x4a693e;throw console[_0x424bb6(0x215)](_0x47f882),new _0x573007(_0x424bb6(0x269),this);});}[_0x4d5362(0x25f)]({threadId:_0x37fa12,unlinkedAt:_0x2b5d57,context:_0x4afd98,attributes:_0x5692a7,isFromAdapter:_0x59e6f9}){const _0xfadd04=_0x4d5362;if(_0xfadd04(0x26f)!=typeof _0x37fa12)throw new _0x573007(_0xfadd04(0x272),null,{'threadId':_0x37fa12});if(!this[_0xfadd04(0x1df)](_0x37fa12))throw new _0x573007(_0xfadd04(0x1f6),null,{'threadId':_0x37fa12});const _0x27b5b9=this[_0xfadd04(0x1c7)](_0x37fa12);let _0x5b7e68=!0x1;if(void 0x0!==_0x4afd98&&_0x27b5b9[_0xfadd04(0x260)]!==_0x4afd98&&(_0x27b5b9[_0xfadd04(0x260)]=_0x4afd98,_0x5b7e68=!0x0),void 0x0!==_0x2b5d57&&_0x27b5b9[_0xfadd04(0x1e3)]!==_0x2b5d57&&(_0x27b5b9[_0xfadd04(0x1e3)]=_0x2b5d57,_0x5b7e68=!0x0),_0x5692a7&&!_0x108347(_0x5692a7,_0x27b5b9[_0xfadd04(0x22f)])&&(_0x27b5b9[_0xfadd04(0x22f)]=_0x5692a7,_0x5b7e68=!0x0),!_0x5b7e68)return Promise[_0xfadd04(0x23f)]();if(!_0x27b5b9[_0xfadd04(0x1e9)]||_0x59e6f9||!this[_0xfadd04(0x204)]||_0xfadd04(0x224)!=typeof this[_0xfadd04(0x204)][_0xfadd04(0x1f5)])return Promise[_0xfadd04(0x23f)]();const _0x3226e4=this[_0xfadd04(0x260)][_0xfadd04(0x276)][_0xfadd04(0x217)](_0xfadd04(0x1e5)),{channelId:_0x34a98d}=_0x27b5b9,_0x5aa4b5=_0x3226e4[_0xfadd04(0x21d)](_0x476997(this[_0xfadd04(0x260)][_0xfadd04(0x1ae)],_0xfadd04(0x1f4)));return this[_0xfadd04(0x204)][_0xfadd04(0x1f5)]({'channelId':_0x34a98d,'threadId':_0x37fa12,'context':_0x4afd98,'unlinkedAt':_0x2b5d57,'attributes':_0x5692a7})[_0xfadd04(0x256)](()=>_0x3226e4[_0xfadd04(0x19a)](_0x5aa4b5))[_0xfadd04(0x207)](_0x3079cf=>{const _0x4305d9=_0xfadd04;throw console[_0x4305d9(0x215)](_0x3079cf),new _0x573007(_0x4305d9(0x23a),this);});}[_0x4d5362(0x1f7)](_0x17adb7){const _0x4318b1=_0x4d5362,_0x107db1=this[_0x4318b1(0x260)][_0x4318b1(0x276)][_0x4318b1(0x217)](_0x3a87ad),_0x542db2=this[_0x4318b1(0x1c7)](_0x17adb7);if(this[_0x4318b1(0x1fe)][_0x4318b1(0x241)](_0x542db2)){const _0x5f1617=this[_0x4318b1(0x1fe)][_0x4318b1(0x217)](_0x542db2),_0x16d0cb=_0x5f1617[_0x4318b1(0x1d3)],_0x1002f9=_0x107db1[_0x4318b1(0x221)](_0x16d0cb);this[_0x4318b1(0x1fe)][_0x4318b1(0x1a2)](_0x542db2),this[_0x4318b1(0x1fb)][_0x4318b1(0x1a2)](_0x16d0cb),_0x1002f9&&_0x107db1[_0x4318b1(0x19a)](_0x1002f9),_0x5f1617[_0x4318b1(0x249)](),_0x16d0cb[_0x4318b1(0x249)]()[_0x4318b1(0x256)](()=>{const _0x4c1983=_0x4318b1;this[_0x4c1983(0x1bb)](_0x16d0cb);});}}[_0x4d5362(0x1ab)]({threadId:_0x3bf593,resolvedAt:_0x1e3324}){const _0x1bf342=_0x4d5362,_0x304262=!!_0x1e3324,_0x4bce69=this[_0x1bf342(0x260)][_0x1bf342(0x276)][_0x1bf342(0x217)](_0x3a87ad),_0x4418e6=this[_0x1bf342(0x1c7)](_0x3bf593);if(this[_0x1bf342(0x1fe)][_0x1bf342(0x241)](_0x4418e6)){const _0x232503=this[_0x1bf342(0x1fe)][_0x1bf342(0x217)](_0x4418e6)[_0x1bf342(0x1d3)],_0x8f410e=_0x4bce69[_0x1bf342(0x221)](_0x232503);_0x8f410e&&(_0x304262&&_0x4bce69[_0x1bf342(0x20c)](_0x8f410e),_0x8f410e[_0x1bf342(0x229)]());}}[_0x4d5362(0x1bc)](_0xf26662){const _0x49f668=_0x4d5362,_0xe9a40a=this[_0x49f668(0x260)][_0x49f668(0x276)][_0x49f668(0x217)](_0x3c47fa),_0x1615de=_0xbba5e1(_0x49f668(0x1e8)+_0xf26662),_0x4e493d=_0xe9a40a[_0x49f668(0x19b)](_0x1615de);return _0x4e493d||_0xe9a40a[_0x49f668(0x25d)]({'id':_0x1615de,'name':_0xf26662});}[_0x4d5362(0x1d5)]({threadId:_0x43780e,commentId:_0x29dfbb=_0x575361(),content:_0x2bfc77,authorId:_0x314943,createdAt:_0x710261,attributes:_0x1756d3}){const _0xaa9a0a=_0x4d5362;if(_0xaa9a0a(0x26f)!=typeof _0x29dfbb)throw new _0x573007(_0xaa9a0a(0x1ed));if(_0xaa9a0a(0x26f)!=typeof _0x314943)throw new _0x573007(_0xaa9a0a(0x1b8));if(_0xaa9a0a(0x26f)!=typeof _0x2bfc77||!_0x2bfc77[_0xaa9a0a(0x237)]())throw new _0x573007(_0xaa9a0a(0x1e7));const _0x3d8ca1=this[_0xaa9a0a(0x260)][_0xaa9a0a(0x276)][_0xaa9a0a(0x217)](_0x3c47fa)[_0xaa9a0a(0x19b)](_0x314943);if(!_0x3d8ca1)throw new _0x573007(_0xaa9a0a(0x1a4),null,{'authorId':_0x314943});let _0x5f50c2=null,_0x43200b=_0x710261;return _0x1756d3&&_0x1756d3[_0xaa9a0a(0x24d)]&&(_0x5f50c2=this[_0xaa9a0a(0x1bc)](_0x1756d3[_0xaa9a0a(0x24d)][_0xaa9a0a(0x205)]),_0x43200b=new Date(_0x1756d3[_0xaa9a0a(0x24d)][_0xaa9a0a(0x1cc)])),new Comment(this,{'threadId':_0x43780e,'id':_0x29dfbb,'author':_0x5f50c2||_0x3d8ca1,'creator':_0x3d8ca1,'content':_0x2bfc77,'createdAt':_0x710261,'authoredAt':_0x43200b,'attributes':_0x1756d3});}[_0x4d5362(0x263)](_0x55b50f){const _0x36d061=_0x4d5362;let {threadId:_0x1111e1,content:_0x53c896,attributes:_0x163dfe,isFromAdapter:_0xeef03b}=_0x55b50f;const _0x58b026=this[_0x36d061(0x1c7)](_0x55b50f[_0x36d061(0x27a)]);if(!_0x58b026)throw new _0x573007(_0x36d061(0x248),this);const _0x475706=this[_0x36d061(0x1d5)](_0x55b50f),{id:_0x263d13}=_0x475706;if(_0x58b026[_0x36d061(0x25a)](_0x475706),_0xeef03b||!this[_0x36d061(0x204)]||_0x36d061(0x224)!=typeof this[_0x36d061(0x204)][_0x36d061(0x1b1)]||!_0x58b026[_0x36d061(0x1e9)])return Promise[_0x36d061(0x23f)]();const _0x1286fa=this[_0x36d061(0x260)][_0x36d061(0x276)][_0x36d061(0x217)](_0x36d061(0x1e5)),{channelId:_0x55b1dc}=_0x58b026,_0x2de61b=_0x1286fa[_0x36d061(0x21d)](_0x476997(this[_0x36d061(0x260)][_0x36d061(0x1ae)],_0x36d061(0x1f4)));return _0x163dfe||(_0x163dfe={}),this[_0x36d061(0x204)][_0x36d061(0x1b1)]({'channelId':_0x55b1dc,'threadId':_0x1111e1,'commentId':_0x263d13,'content':_0x53c896,'attributes':_0x163dfe})[_0x36d061(0x256)](_0x35c17b=>{const _0x1a508a=_0x36d061;_0x1286fa[_0x1a508a(0x19a)](_0x2de61b),_0x35c17b&&this[_0x1a508a(0x1a5)]({'channelId':_0x55b1dc,'threadId':_0x1111e1,'commentId':_0x263d13,'createdAt':_0x35c17b[_0x1a508a(0x1cc)],'isFromAdapter':!0x0});})[_0x36d061(0x207)](_0x45c183=>{const _0x4f6f46=_0x36d061;throw console[_0x4f6f46(0x215)](_0x45c183),new _0x573007(_0x4f6f46(0x20b),this);});}[_0x4d5362(0x1a5)]({threadId:_0x5f2b8b,commentId:_0x332cf3,content:_0x37a65e,createdAt:_0x595b77,attributes:_0x18d23e,isFromAdapter:_0x1d46cf}){const _0x5adbc1=_0x4d5362;if(void 0x0!==_0x37a65e&&(_0x5adbc1(0x26f)!=typeof _0x37a65e||!_0x37a65e[_0x5adbc1(0x237)]()[_0x5adbc1(0x1d6)]))throw new _0x573007(_0x5adbc1(0x257));const _0x23bd26=this[_0x5adbc1(0x1c7)](_0x5f2b8b),_0x111b55=_0x23bd26[_0x5adbc1(0x1f9)](_0x332cf3);if(!_0x111b55)throw new _0x573007(_0x5adbc1(0x1f1),this);let _0xbcafff=!0x1;if(_0x37a65e&&_0x37a65e!==_0x111b55[_0x5adbc1(0x1a9)]&&(_0x111b55[_0x5adbc1(0x26c)]||_0x1d46cf)&&(_0x111b55[_0x5adbc1(0x1a9)]=_0x37a65e,_0xbcafff=!0x0),_0x595b77&&_0x595b77!==_0x111b55[_0x5adbc1(0x1cc)]&&(_0x111b55[_0x5adbc1(0x1cc)]=_0x595b77,_0x111b55[_0x5adbc1(0x22f)]&&_0x111b55[_0x5adbc1(0x22f)][_0x5adbc1(0x24d)]||(_0x111b55[_0x5adbc1(0x1a1)]=_0x595b77),_0xbcafff=!0x0),_0x18d23e&&!_0x108347(_0x18d23e,_0x111b55[_0x5adbc1(0x22f)])&&(_0x111b55[_0x5adbc1(0x22f)]=_0x18d23e,_0xbcafff=!0x0),!_0xbcafff)return Promise[_0x5adbc1(0x23f)]();if(_0x23bd26[_0x5adbc1(0x26d)](_0x5adbc1(0x1cb)),_0x1d46cf||!this[_0x5adbc1(0x204)]||_0x5adbc1(0x224)!=typeof this[_0x5adbc1(0x204)][_0x5adbc1(0x271)])return Promise[_0x5adbc1(0x23f)]();const _0x315067=this[_0x5adbc1(0x260)][_0x5adbc1(0x276)][_0x5adbc1(0x217)](_0x5adbc1(0x1e5)),{channelId:_0xbab91c}=this[_0x5adbc1(0x1c7)](_0x111b55[_0x5adbc1(0x27a)]),_0x3ac629=_0x315067[_0x5adbc1(0x21d)](_0x476997(this[_0x5adbc1(0x260)][_0x5adbc1(0x1ae)],_0x5adbc1(0x1f4)));return this[_0x5adbc1(0x204)][_0x5adbc1(0x271)]({'channelId':_0xbab91c,'threadId':_0x5f2b8b,'commentId':_0x332cf3,'content':_0x37a65e,'attributes':_0x18d23e})[_0x5adbc1(0x256)](()=>_0x315067[_0x5adbc1(0x19a)](_0x3ac629))[_0x5adbc1(0x207)](_0x4e5045=>{const _0x8d419d=_0x5adbc1;throw console[_0x8d419d(0x215)](_0x4e5045),new _0x573007(_0x8d419d(0x214),this);});}[_0x4d5362(0x19f)]({threadId:_0x4fda81,commentId:_0x1e2cfc,isFromAdapter:_0x2fbdf2}){const _0xd33a5f=_0x4d5362,_0x3a2714=this[_0xd33a5f(0x1c7)](_0x4fda81),_0x18680f=_0x3a2714[_0xd33a5f(0x1f9)](_0x1e2cfc);if(!_0x18680f)throw new _0x573007(_0xd33a5f(0x236),this);if(_0x3a2714[_0xd33a5f(0x218)](_0x18680f),_0x2fbdf2||!this[_0xd33a5f(0x204)]||_0xd33a5f(0x224)!=typeof this[_0xd33a5f(0x204)][_0xd33a5f(0x1b4)])return Promise[_0xd33a5f(0x23f)]();const _0x5a5c1f=this[_0xd33a5f(0x260)][_0xd33a5f(0x276)][_0xd33a5f(0x217)](_0xd33a5f(0x1e5)),{channelId:_0x37795c}=_0x3a2714,_0x2c3f82=_0x5a5c1f[_0xd33a5f(0x21d)](_0x476997(this[_0xd33a5f(0x260)][_0xd33a5f(0x1ae)],_0xd33a5f(0x1f4)));return this[_0xd33a5f(0x204)][_0xd33a5f(0x1b4)]({'channelId':_0x37795c,'threadId':_0x4fda81,'commentId':_0x1e2cfc})[_0xd33a5f(0x256)](()=>_0x5a5c1f[_0xd33a5f(0x19a)](_0x2c3f82))[_0xd33a5f(0x207)](_0x14b99e=>{const _0x751c8=_0xd33a5f;throw console[_0x751c8(0x215)](_0x14b99e),new _0x573007(_0x751c8(0x24e),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x122557=_0x4053;(function(_0x314a46,_0x21a26a){const _0x27eb5b=_0x4053,_0x1b33eb=_0x314a46();while(!![]){try{const _0x226b71=parseInt(_0x27eb5b(0x186))/0x1*(parseInt(_0x27eb5b(0x1f7))/0x2)+parseInt(_0x27eb5b(0x18b))/0x3+parseInt(_0x27eb5b(0x19a))/0x4*(-parseInt(_0x27eb5b(0x17d))/0x5)+parseInt(_0x27eb5b(0x22b))/0x6+-parseInt(_0x27eb5b(0x1b7))/0x7+-parseInt(_0x27eb5b(0x1d2))/0x8+parseInt(_0x27eb5b(0x161))/0x9*(parseInt(_0x27eb5b(0x195))/0xa);if(_0x226b71===_0x21a26a)break;else _0x1b33eb['push'](_0x1b33eb['shift']());}catch(_0x4f20b1){_0x1b33eb['push'](_0x1b33eb['shift']());}}}(_0x431a,0xf2f36));import{PendingActions as _0x5270b9,ContextPlugin as _0x4dd2c6,Editor as _0xa39a76}from'ckeditor5/src/core.js';import{Collection as _0x544c75,uid as _0x411bb5,CKEditorError as _0x421689,ObservableMixin as _0x15bac8}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0xf3a3c0,hashObject as _0x127263,Users as _0x5b0cd6}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x1ea623,isEqual as _0x2bcfcc,set as _0x3f1ea9,unset as _0x51029a}from'lodash-es';import _0x506d58 from'./ui/commentthreadcontroller.js';import _0x527640 from'./ui/view/commentthreadview.js';import _0x8e21d6 from'./ui/view/commentview.js';import{getTranslation as _0x1f4a04}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';function _0x431a(){const _0xadf468=['threadId','commentsrepository-missing-target','isFromAdapter','_createNewComment','define','context','error','noChannel','_getExternalAuthor','commentsrepository-invalid-comment-content','bind','catch','commentsrepository-update-comment-invalid-content','commentsListView','_isAttached','escape','addComment','commentsrepository-active-not-attached','createCommentThreadController','bodyCollectionContainer','getUser','from','commentsrepository-missing-thread-and-adapter-method','isDirty','commentsrepository-remove-comment-missing-comment-thread','attachTo','archivedAt','activate','_removeCommentThread','assign','isExternal','_removeActiveAnnotation','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','reopen','commentsrepository-resolve-comment-thread-internal-error','update','reduce','change:isDirty','then','commentsrepository-reopen-comment-thread','trim','PendingActions','1235490VkiESh','_isSubmitted','_addCommentThread','weight','submitCommentThread','_resolveCommentThread','CommentsRepository','stopListening','commentThreadInputView','delete','resolveCommentThread','external:','init','toJSON','focusableElements','_attachCommentThread','commentsrepository-resolved-comment-thread','change:activeAnnotations','deactivateAll','lowest','comments.CommentThreadView','_detachCommentThread','getCommentThreads','locale','remove','commentsrepository-fetch-comment-thread','comments.maxCommentsWhenCollapsed','105102yIvImG','addCommentThread','get','once','removeAttribute','innerView','isPremiumPlugin','attributes','getComment','createdAt','listenTo','div','model','_repository','commentsrepository-add-comment-user-not-exists','licenseKey','_threads','_threadToController','comments','comments.editorConfig','admin','max','isResolved','editorReady','resolvedAt','has','authorName','change:authoredAt','1315yjUzCT','_removeComment','body','write','resolve','fire','unlinkedAt','plugins','removeComment','29QcidJF','commentsrepository-update-comment-thread-internal-error','hasCommentThread','comments.maxCommentCharsWhenCollapsed','PENDING_ACTION_COMMENT_THREAD','5519457rKvLry','comments.maxThreadTotalWeight','comments.copyMarkers','getPermissions','type','change:_permissions','isRemovable','_createCommentThreadView','commentsrepository-add-comment-thread-internal-error','_addComment','1630ckJyYx','_updateCommentThread','commentsrepository-add-comment-to-missing-comment-thread','highest','addUser','7512THtlFw','authoredAt','content','find','_updateActiveAnnotation','innerHTML','commentsrepository-invalid-comment-authorid','commentsrepository-update-missing-comment','commentsrepository-remove-comment-thread-internal-error','setPermissions','commentInputView','_update','_bindAnnotationToEditors','add','destroy','commentsrepository-remove-comment-internal-error','_viewToController','commentsrepository-add-comment-internal-error','commentsrepository-duplicated-comment-thread-id','activeCommentThread','requires','getIndex','commentsrepository-update-comment-missing-comment-thread','setAttribute','values','createElement','commentsrepository-missing-comment-thread','CommentThreadView','_findOptimalIndex','11762415ycsnBb','getCommentThread','comment','_unbindEditors','change:_readOnlyChannels','_reopenCommentThread','isSubmitted','setContext','commentUpdated','view','canComment','editorDestroyed','author','map','isResolvable','getByInnerView','setUnlinkedAt','pluginName','commentId','string','submit','fetchCommentThread','_hasTargetInContent','filter','length','config','set','11495328DiSZOk','_add','modifyAll','creator','commentsrepository-get-comment-invalid-id','_adapter','textContent','commentsrepository-remove-missing-comment-thread','adapter','warn','commentsrepository-attach-missing-comment-thread','commentsrepository-remove-missing-comment','@external','openNewCommentThread','commentsrepository-active-missing-comment-thread','_readOnlyChannels','commentsrepository-invalid-commentid','commentsrepository-reopen-comment-thread-internal-error','commentsrepository-update-comment-internal-error','updateCommentThread','getTime','_submitCommentThread','reopenCommentThread','channelId','switchReadOnly','refreshVisibility','isAttached','_permissions','push','isOfficialPlugin','setActiveCommentThread','resolvedBy','commentsrepository-invalid-comment-thread-id','isEditable','_remove','isReadOnly','function','45314ylVgmi','updateComment','focusTracker','removeCommentThread','isActive','_updateComment','focus','comments.CommentView','commentsrepository-adapter-already-set','CommentView'];_0x431a=function(){return _0xadf468;};return _0x431a();}import'../../theme/commentinput.css';import _0x53a685 from'../annotations/view/annotationview.js';function _0x4053(_0x5ecd8d,_0x2151fe){const _0x431a11=_0x431a();return _0x4053=function(_0x405329,_0x5892c0){_0x405329=_0x405329-0x14f;let _0x56f825=_0x431a11[_0x405329];return _0x56f825;},_0x4053(_0x5ecd8d,_0x2151fe);}import _0x29f96e from'../annotations/annotation.js';import _0x3b63a5 from'../annotations/annotations.js';const Tt=Symbol(_0x122557(0x208)),_t={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x4dd2c6{static get[_0x122557(0x1ae)](){return[_0x3b63a5,_0x5270b9,_0x5b0cd6];}static get[_0x122557(0x1c8)](){const _0xa05b34=_0x122557;return _0xa05b34(0x231);}static get[_0x122557(0x1ef)](){return!0x0;}static get[_0x122557(0x167)](){return!0x0;}constructor(_0x2564fd){const _0x44b4a6=_0x122557;super(_0x2564fd),this[_0x44b4a6(0x171)]=new Map(),this[_0x44b4a6(0x172)]=new Map(),this[_0x44b4a6(0x1aa)]=new Map(),this[_0x44b4a6(0x1d1)](_0x44b4a6(0x1e1),new Set()),this[_0x44b4a6(0x1d1)](_0x44b4a6(0x1ed),new Map());const _0x56d3cd=this[_0x44b4a6(0x206)][_0x44b4a6(0x1d0)];_0x56d3cd[_0x44b4a6(0x205)](_0x44b4a6(0x160),0x2),_0x56d3cd[_0x44b4a6(0x205)](_0x44b4a6(0x18c),0x1f4),_0x56d3cd[_0x44b4a6(0x205)](_0x44b4a6(0x189),0x8c),_0x56d3cd[_0x44b4a6(0x205)](_0x44b4a6(0x15a),_0x527640),_0x56d3cd[_0x44b4a6(0x205)](_0x44b4a6(0x1fe),_0x8e21d6),_0x56d3cd[_0x44b4a6(0x163)](_0x44b4a6(0x174))||console[_0x44b4a6(0x1db)](_0x44b4a6(0x221));}[_0x122557(0x152)](){const _0x160432=_0x122557,_0x445a41=this[_0x160432(0x206)][_0x160432(0x184)][_0x160432(0x163)](_0x3b63a5);this[_0x160432(0x1d1)](_0x160432(0x1ad),null),this['on'](_0x160432(0x162),(_0x3334b7,_0x2b36d2)=>this[_0x160432(0x22d)](_0x2b36d2)),this['on'](_0x160432(0x22f),(_0x15a7ff,_0x5224d5)=>this[_0x160432(0x1e7)](_0x5224d5)),this['on'](_0x160432(0x150),(_0x3cc14b,_0x5ac6ab)=>this[_0x160432(0x230)](_0x5ac6ab)),this['on'](_0x160432(0x150),(_0x5cd6ba,_0x417a3d)=>this[_0x160432(0x19e)](_0x417a3d),{'priority':_0x160432(0x159)}),this['on'](_0x160432(0x1e8),(_0x29cb1f,_0x5dd4d0)=>this[_0x160432(0x1bc)](_0x5dd4d0)),this['on'](_0x160432(0x1e8),(_0x572994,_0x64a17d)=>this[_0x160432(0x19e)](_0x64a17d),{'priority':_0x160432(0x159)}),this['on'](_0x160432(0x1fa),(_0xf5f12f,_0x4cc161)=>this[_0x160432(0x21d)](_0x4cc161)),this['on'](_0x160432(0x1e5),(_0x373882,_0x27542c)=>this[_0x160432(0x196)](_0x27542c)),this['on'](_0x160432(0x1e5),(_0x2dffed,_0x1847c4)=>this[_0x160432(0x19e)](_0x1847c4),{'priority':_0x160432(0x159)}),this['on'](_0x160432(0x211),(_0x1110ef,_0x531aaf)=>this[_0x160432(0x194)](_0x531aaf)),this['on'](_0x160432(0x1f8),(_0x29447a,_0xc1f1a7)=>this[_0x160432(0x1fc)](_0xc1f1a7)),this['on'](_0x160432(0x185),(_0x23674f,_0x28b59d)=>this[_0x160432(0x17e)](_0x28b59d)),this['on'](_0x160432(0x211),(_0x59b8d1,{threadId:_0x48ff8e,isFromAdapter:_0x1ead73})=>{const _0x4bb66b=_0x160432;if(_0x1ead73)return;const _0x2be9eb=this[_0x4bb66b(0x1b8)](_0x48ff8e),_0x41c28c=_0x2be9eb&&this[_0x4bb66b(0x172)][_0x4bb66b(0x163)](_0x2be9eb);_0x41c28c&&_0x41c28c[_0x4bb66b(0x1c0)][_0x4bb66b(0x20e)][_0x4bb66b(0x1fd)](-0x1);},{'priority':_0x160432(0x159)}),this[_0x160432(0x16b)](_0x445a41,_0x160432(0x157),(_0x1198e2,_0x32abed,_0x16047e)=>{const _0x37edb3=_0x160432,_0x512b6b=Array[_0x37edb3(0x216)](_0x16047e)[_0x37edb3(0x1c4)](_0x139bb0=>this[_0x37edb3(0x1aa)][_0x37edb3(0x163)](_0x139bb0[_0x37edb3(0x166)]))[_0x37edb3(0x1ce)](Boolean)[0x0];this[_0x37edb3(0x1ad)]=_0x512b6b?_0x512b6b[_0x37edb3(0x16d)]:null;});}set[_0x122557(0x1da)](_0x4e5847){const _0x2fb7f1=_0x122557;if(this[_0x2fb7f1(0x1d7)])throw new _0x421689(_0x2fb7f1(0x1ff));this[_0x2fb7f1(0x1d7)]=_0x4e5847;}get[_0x122557(0x1da)](){const _0x1c2cd9=_0x122557;return this[_0x1c2cd9(0x1d7)];}[_0x122557(0x162)]({channelId:_0x201adb=Tt,threadId:_0x5b20e0=_0x411bb5(),comments:_0x31d248=[],unlinkedAt:_0x339dd2=null,resolvedAt:_0x812582=null,resolvedBy:_0x39985e=null,target:_0x3fc208=null,context:_0x42bae9=null,attributes:_0x39cc1b={},isResolvable:_0x203dfa=!0x0,isSubmitted:_0x4d5851=!0x1,isFromAdapter:_0x192839=!0x1}={}){const _0x4003e0=_0x122557;return this[_0x4003e0(0x182)](bt(_0x4003e0(0x162),_0x201adb),{'channelId':_0x201adb,'threadId':_0x5b20e0,'comments':_0x31d248,'unlinkedAt':_0x339dd2,'resolvedAt':_0x812582,'resolvedBy':_0x39985e,'target':_0x3fc208,'context':_0x42bae9,'attributes':_0x39cc1b,'isFromAdapter':_0x192839,'isResolvable':_0x203dfa,'isSubmitted':_0x4d5851}),this[_0x4003e0(0x1b8)](_0x5b20e0);}[_0x122557(0x1df)]({channelId:_0x4b416c=Tt,threadId:_0xad5e39=_0x411bb5(),target:_0x544bd4,context:_0x4c87d1=null,isResolvable:_0x314122=!0x0}){const _0x536940=_0x122557;if(this[_0x536940(0x1e1)][_0x536940(0x17a)](_0x4b416c)||this[_0x536940(0x1e1)][_0x536940(0x17a)](void 0x0))return null;if(!_0x544bd4)throw new _0x421689(_0x536940(0x202));const _0x4ac4a5=this[_0x536940(0x162)]({'channelId':_0x4b416c,'threadId':_0xad5e39,'target':_0x544bd4,'context':_0x4c87d1,'isResolvable':_0x314122});if(!_0x4ac4a5)return null;const _0x4db9d0=this[_0x536940(0x172)][_0x536940(0x163)](_0x4ac4a5),_0x254aca=_0x4db9d0[_0x536940(0x1c0)][_0x536940(0x233)][_0x536940(0x1a4)],_0x58faa5=this[_0x536940(0x206)][_0x536940(0x184)][_0x536940(0x163)](_0x3b63a5),_0x326b63=_0x58faa5[_0x536940(0x1c6)](_0x4db9d0[_0x536940(0x1c0)]);return _0x58faa5[_0x536940(0x21c)](_0x326b63),_0x254aca[_0x536940(0x164)](_0x536940(0x178),()=>_0x254aca[_0x536940(0x1fd)]()),_0x4ac4a5;}[_0x122557(0x188)](_0x49af51){const _0x2292ab=_0x122557;if(_0x2292ab(0x1ca)!=typeof _0x49af51)throw new _0x421689(_0x2292ab(0x1f2));return this[_0x2292ab(0x171)][_0x2292ab(0x17a)](_0x49af51);}[_0x122557(0x1e5)]({channelId:_0x343846=Tt,threadId:_0x3d6236,context:_0x54bfe6,unlinkedAt:_0x28e7b4,attributes:_0x5780ae,isFromAdapter:_0x4a7e16=!0x1}){const _0x4cb788=_0x122557;return this[_0x4cb788(0x182)](bt(_0x4cb788(0x1e5),_0x343846),{'channelId':_0x343846,'threadId':_0x3d6236,'context':_0x54bfe6,'unlinkedAt':_0x28e7b4,'attributes':_0x5780ae,'isFromAdapter':_0x4a7e16}),this[_0x4cb788(0x1b8)](_0x3d6236);}[_0x122557(0x1b8)](_0x5c111a){const _0x5e3693=_0x122557;if(_0x5e3693(0x1ca)!=typeof _0x5c111a)throw new _0x421689(_0x5e3693(0x1f2));return this[_0x5e3693(0x171)][_0x5e3693(0x163)](_0x5c111a);}[_0x122557(0x1cc)]({channelId:_0x5051d4,threadId:_0x11d0e9}={}){const _0x57f593=_0x122557,_0x444b42=this[_0x57f593(0x1b8)](_0x11d0e9);if(_0x444b42)return Promise[_0x57f593(0x181)](_0x444b42);if(!this[_0x57f593(0x1da)])return Promise[_0x57f593(0x181)](void 0x0);if(_0x57f593(0x1f6)!=typeof this[_0x57f593(0x1da)][_0x57f593(0x1b8)])throw new _0x421689(_0x57f593(0x217),this[_0x57f593(0x206)]);return this[_0x57f593(0x1da)][_0x57f593(0x1b8)]({'channelId':_0x5051d4,'threadId':_0x11d0e9})[_0x57f593(0x227)](_0x234ead=>this[_0x57f593(0x188)](_0x11d0e9)?this[_0x57f593(0x1b8)](_0x11d0e9):_0x234ead?this[_0x57f593(0x162)](Object[_0x57f593(0x21e)]({'isFromAdapter':!0x0,'channelId':_0x5051d4},_0x234ead)):void 0x0)[_0x57f593(0x20c)](_0x449abf=>{const _0x67589d=_0x57f593;throw console[_0x67589d(0x207)](_0x449abf),new _0x421689(_0x67589d(0x15f),this[_0x67589d(0x206)]);});}[_0x122557(0x15c)]({channelId:_0x1d24c0,skipNotAttached:_0x418af4=!0x1,skipEmpty:_0x5de160=!0x1,toJSON:_0x1e064a=!0x1}={}){const _0x132fbf=_0x122557,_0x51b2f5=[];for(const _0x10099d of this[_0x132fbf(0x171)][_0x132fbf(0x1b2)]())_0x1d24c0&&_0x10099d[_0x132fbf(0x1e9)]!==_0x1d24c0||_0x418af4&&!_0x10099d[_0x132fbf(0x1ec)]||_0x5de160&&0x0===_0x10099d[_0x132fbf(0x1cf)]||_0x51b2f5[_0x132fbf(0x1ee)](_0x10099d);return _0x1e064a?_0x51b2f5[_0x132fbf(0x1c4)](_0x230283=>_0x230283[_0x132fbf(0x153)]()):_0x51b2f5;}[_0x122557(0x1f0)](_0x109cc8){const _0x347771=_0x122557,_0x4dfed5=this[_0x347771(0x206)][_0x347771(0x184)][_0x347771(0x163)](_0x3b63a5);if(!_0x109cc8)return void(this[_0x347771(0x1ad)]&&_0x4dfed5[_0x347771(0x158)]());const _0x268d9f=this[_0x347771(0x1b8)](_0x109cc8);if(!_0x268d9f)throw new _0x421689(_0x347771(0x1e0),null,{'threadId':_0x109cc8});if(!this[_0x347771(0x172)][_0x347771(0x17a)](_0x268d9f))throw new _0x421689(_0x347771(0x212),null,{'threadId':_0x109cc8});const _0xd4c490=_0x4dfed5[_0x347771(0x1c6)](this[_0x347771(0x172)][_0x347771(0x163)](_0x268d9f)[_0x347771(0x1c0)]);_0x4dfed5[_0x347771(0x21c)](_0xd4c490);}[_0x122557(0x1ea)](_0x2db0b8,_0xebe99a){const _0x116a7b=_0x122557;_0x2db0b8?this[_0x116a7b(0x1e1)][_0x116a7b(0x1a7)](_0xebe99a):this[_0x116a7b(0x1e1)][_0x116a7b(0x14f)](_0xebe99a),this[_0x116a7b(0x182)](_0x116a7b(0x1bb),_0x116a7b(0x1e1),this[_0x116a7b(0x1e1)],this[_0x116a7b(0x1e1)]);}[_0x122557(0x1f5)](_0x1be1ac){const _0x5e2aa5=_0x122557;return this[_0x5e2aa5(0x1e1)][_0x5e2aa5(0x17a)](_0x1be1ac)||this[_0x5e2aa5(0x1e1)][_0x5e2aa5(0x17a)](void 0x0);}[_0x122557(0x213)](_0xf3f98a,_0x34d946){return new _0x506d58(_0xf3f98a,_0x34d946);}[_0x122557(0x1a3)](_0x337390,_0x35ce26=Tt){const _0x41bcd3=_0x122557;this[_0x41bcd3(0x1ed)][_0x41bcd3(0x1d1)](_0x35ce26,_0x337390),this[_0x41bcd3(0x182)](_0x41bcd3(0x190),_0x41bcd3(0x1ed),this[_0x41bcd3(0x1ed)],this[_0x41bcd3(0x1ed)]);}[_0x122557(0x18e)](_0xb76f40=Tt){const _0x4476fe=_0x122557;return this[_0x4476fe(0x1ed)][_0x4476fe(0x17a)](_0xb76f40)?this[_0x4476fe(0x1ed)][_0x4476fe(0x163)](_0xb76f40):_t;}[_0x122557(0x22d)]({channelId:_0x4a5782,threadId:_0x46cd1a,comments:_0x45d087,unlinkedAt:_0x1219e6,resolvedAt:_0x251d67,resolvedBy:_0x38f062,target:_0x5abca6,context:_0x117250,attributes:_0xf39d6,isFromAdapter:_0x16ea65,isResolvable:_0xd70b59,isSubmitted:_0x767bbe}){const _0x34da09=_0x122557;if(_0x34da09(0x1ca)!=typeof _0x46cd1a)throw new _0x421689(_0x34da09(0x1f2),null,{'threadId':_0x46cd1a});if(this[_0x34da09(0x188)](_0x46cd1a))throw new _0x421689(_0x34da09(0x1ac),null,{'threadId':_0x46cd1a});const _0x28d8d2=new CommentThread(this,{'channelId':_0x4a5782,'id':_0x46cd1a,'context':_0x117250,'attributes':_0xf39d6,'unlinkedAt':_0x1219e6,'resolvedAt':_0x251d67,'resolvedBy':_0x38f062?this[_0x34da09(0x206)][_0x34da09(0x184)][_0x34da09(0x163)](_0x5b0cd6)[_0x34da09(0x215)](_0x38f062):null,'isResolvable':_0xd70b59,'isSubmitted':_0x767bbe||_0x16ea65});this[_0x34da09(0x171)][_0x34da09(0x1d1)](_0x46cd1a,_0x28d8d2);for(const _0x29c3fe of _0x45d087)_0x28d8d2[_0x34da09(0x1d3)](this[_0x34da09(0x204)]({'threadId':_0x46cd1a,..._0x29c3fe}));return _0x5abca6&&_0x28d8d2[_0x34da09(0x21a)](_0x5abca6),_0x16ea65||!_0x28d8d2[_0x34da09(0x1cf)]?Promise[_0x34da09(0x181)]():this[_0x34da09(0x1e7)]({'channelId':_0x4a5782,'threadId':_0x46cd1a});}[_0x122557(0x1e7)]({channelId:_0x36edd0,threadId:_0x56da8c}){const _0x2b54a3=_0x122557;if(!this[_0x2b54a3(0x188)](_0x56da8c))throw new _0x421689(_0x2b54a3(0x1b4),this);const _0x3f6cc0=this[_0x2b54a3(0x1b8)](_0x56da8c);if(_0x3f6cc0[_0x2b54a3(0x22c)]=!0x0,!this[_0x2b54a3(0x1da)]||_0x2b54a3(0x1f6)!=typeof this[_0x2b54a3(0x1da)][_0x2b54a3(0x162)])return Promise[_0x2b54a3(0x181)]();const {id:_0x4036a3,comments:_0xfbb11f,resolvedAt:_0x1d6eb1,resolvedBy:_0x271e8f,context:_0x5df267,attributes:_0x13580f}=_0x3f6cc0,_0x109a23=this[_0x2b54a3(0x206)][_0x2b54a3(0x184)][_0x2b54a3(0x163)](_0x2b54a3(0x22a)),_0x3c6225=_0x109a23[_0x2b54a3(0x1a7)](_0x1f4a04(this[_0x2b54a3(0x206)][_0x2b54a3(0x15d)],_0x2b54a3(0x18a)));return this[_0x2b54a3(0x1da)][_0x2b54a3(0x162)]({'channelId':_0x36edd0,'threadId':_0x4036a3,'comments':_0xfbb11f[_0x2b54a3(0x1c4)](_0x430c4d=>_0x430c4d[_0x2b54a3(0x153)]()),'resolvedAt':_0x1d6eb1,'resolvedBy':_0x271e8f?_0x271e8f['id']:_0x271e8f,'context':_0x5df267,'attributes':_0x13580f})[_0x2b54a3(0x227)](({comments:_0x48381f})=>{const _0x97cf33=_0x2b54a3;_0x109a23[_0x97cf33(0x15e)](_0x3c6225);for(const _0x5e7910 of _0x48381f)this[_0x97cf33(0x1fc)]({'channelId':_0x36edd0,'threadId':_0x56da8c,'commentId':_0x5e7910[_0x97cf33(0x1c9)],'createdAt':_0x5e7910[_0x97cf33(0x16a)],'isFromAdapter':!0x0});})[_0x2b54a3(0x20c)](_0xd3a2cf=>{const _0x4c887a=_0x2b54a3;throw console[_0x4c887a(0x207)](_0xd3a2cf),new _0x421689(_0x4c887a(0x193),this);});}[_0x122557(0x155)]({threadId:_0x5b09a7,target:_0x25bd30}){const _0x457acd=_0x122557,_0x28fead=this[_0x457acd(0x1b8)](_0x5b09a7);if(!_0x28fead)throw new _0x421689(_0x457acd(0x1dc),this);const _0x16981f=this[_0x457acd(0x206)][_0x457acd(0x184)][_0x457acd(0x163)](_0x457acd(0x22a)),_0x440d0e=this[_0x457acd(0x206)][_0x457acd(0x184)][_0x457acd(0x163)](_0x3b63a5),_0x5f2b0a=this[_0x457acd(0x192)](_0x28fead),_0x2542cf=new _0x506d58(_0x28fead,_0x5f2b0a);let _0x5587eb=null;_0x5f2b0a['on'](_0x457acd(0x226),(_0x22ef6a,_0x97432a,_0x5afdad)=>{const _0x4b0372=_0x457acd;_0x5afdad?_0x5587eb=_0x16981f[_0x4b0372(0x1a7)](_0x1f4a04(this[_0x4b0372(0x206)][_0x4b0372(0x15d)],_0x4b0372(0x18a))):_0x5587eb&&(_0x16981f[_0x4b0372(0x15e)](_0x5587eb),_0x5587eb=null);}),this[_0x457acd(0x172)][_0x457acd(0x1d1)](_0x28fead,_0x2542cf),this[_0x457acd(0x1aa)][_0x457acd(0x1d1)](_0x5f2b0a,_0x2542cf);const _0x96d658=new _0x53a685(this[_0x457acd(0x206)][_0x457acd(0x15d)],_0x5f2b0a);_0x96d658[_0x457acd(0x20b)](_0x457acd(0x1cf))['to'](_0x5f2b0a),_0x96d658[_0x457acd(0x20b)](_0x457acd(0x218))['to'](_0x5f2b0a,_0x457acd(0x218),_0x5f2b0a,_0x457acd(0x1cf),(_0x4a0c41,_0x563b3e)=>_0x4a0c41||!_0x563b3e),_0x96d658[_0x457acd(0x20b)](_0x457acd(0x1fb))['to'](_0x5f2b0a),_0x96d658[_0x457acd(0x18f)]=_0x457acd(0x1b9);const _0x231e20=new _0x29f96e({'view':_0x96d658,'target':_0x25bd30,'type':_0x457acd(0x1b9),'isVisible':!_0x28fead[_0x457acd(0x177)]});return _0x5f2b0a['on'](_0x457acd(0x210),()=>{const _0x5e2015=_0x457acd;_0x231e20[_0x5e2015(0x182)](_0x5e2015(0x210));}),this[_0x457acd(0x1a6)](_0x5f2b0a,_0x231e20),_0x440d0e[_0x457acd(0x1a7)](_0x231e20),_0x231e20;}[_0x122557(0x1a6)](_0x86aab3,_0x54286e){const _0x5ed513=_0x122557;this[_0x5ed513(0x16b)](_0x86aab3,_0x5ed513(0x178),(_0xbbc473,_0x279173)=>{const _0xa9225a=_0x5ed513,_0x5139fb=_0x279173['ui'][_0xa9225a(0x1c0)][_0xa9225a(0x17f)][_0xa9225a(0x214)];_0x54286e[_0xa9225a(0x154)][_0xa9225a(0x1a7)](_0x5139fb),this[_0xa9225a(0x206)]instanceof _0xa39a76&&this[_0xa9225a(0x206)]['ui'][_0xa9225a(0x1f9)][_0xa9225a(0x1a7)](_0x5139fb);},{'priority':_0x5ed513(0x198)}),this[_0x5ed513(0x16b)](_0x86aab3,_0x5ed513(0x1c2),(_0x3f36a9,_0x20a758)=>{const _0x5b8c25=_0x5ed513,_0x72914f=_0x20a758['ui'][_0x5b8c25(0x1c0)][_0x5b8c25(0x17f)][_0x5b8c25(0x214)];_0x54286e[_0x5b8c25(0x154)][_0x5b8c25(0x17a)](_0x72914f)&&_0x54286e[_0x5b8c25(0x154)][_0x5b8c25(0x15e)](_0x72914f),this[_0x5b8c25(0x206)]instanceof _0xa39a76&&this[_0x5b8c25(0x206)]['ui'][_0x5b8c25(0x1f9)][_0x5b8c25(0x15e)](_0x72914f);});}[_0x122557(0x1ba)](_0x267a63){const _0x58e7ac=_0x122557;this[_0x58e7ac(0x232)](_0x267a63,_0x58e7ac(0x178)),this[_0x58e7ac(0x232)](_0x267a63,_0x58e7ac(0x1c2));}[_0x122557(0x192)](_0x3f2b80){const _0x2c6df1=_0x122557,_0x5be728=this[_0x2c6df1(0x206)][_0x2c6df1(0x184)][_0x2c6df1(0x163)](_0x5b0cd6),{config:_0x1f5edd,locale:_0x3900c5}=this[_0x2c6df1(0x206)],_0x5aa329=_0xf3a3c0(_0x1f5edd[_0x2c6df1(0x163)](_0x2c6df1(0x15d)));return new(0x0,(_0x1f5edd[_0x2c6df1(0x163)](_0x2c6df1(0x173)))[(_0x2c6df1(0x1b5))])(_0x3900c5,_0x3f2b80,_0x5be728['me'],{'editorConfig':{..._0x1f5edd[_0x2c6df1(0x163)](_0x2c6df1(0x174)),'licenseKey':this[_0x2c6df1(0x206)][_0x2c6df1(0x1d0)][_0x2c6df1(0x163)](_0x2c6df1(0x170))},'copyMarkers':_0x1f5edd[_0x2c6df1(0x163)](_0x2c6df1(0x18d)),'maxCommentsWhenCollapsed':_0x1f5edd[_0x2c6df1(0x163)](_0x2c6df1(0x160)),'maxThreadTotalWeight':_0x1f5edd[_0x2c6df1(0x163)](_0x2c6df1(0x18c)),'maxCommentCharsWhenCollapsed':_0x1f5edd[_0x2c6df1(0x163)](_0x2c6df1(0x189)),'formatDateTime':_0x5aa329,'CommentView':_0x1f5edd[_0x2c6df1(0x163)](_0x2c6df1(0x173))[_0x2c6df1(0x200)]});}[_0x122557(0x230)]({threadId:_0x31e6a5,channelId:_0x1e95bf,resolvedAt:_0x489c8c,resolvedBy:_0x283430,isFromAdapter:_0x52ef12}){const _0x1c0e66=_0x122557;if(!this[_0x1c0e66(0x188)](_0x31e6a5))throw new _0x421689(_0x1c0e66(0x1b4),null,{'threadId':_0x31e6a5});const _0x1bb2cb=this[_0x1c0e66(0x1b8)](_0x31e6a5);if(_0x1bb2cb[_0x1c0e66(0x177)])throw new _0x421689(_0x1c0e66(0x156),null,{'threadId':_0x31e6a5});const _0x4c12cc=this[_0x1c0e66(0x206)][_0x1c0e66(0x184)][_0x1c0e66(0x163)](_0x5b0cd6);if(_0x1bb2cb[_0x1c0e66(0x1f1)]=_0x4c12cc[_0x1c0e66(0x215)](_0x283430),_0x1bb2cb[_0x1c0e66(0x179)]=_0x489c8c,_0x52ef12||!this[_0x1c0e66(0x1da)]||_0x1c0e66(0x1f6)!=typeof this[_0x1c0e66(0x1da)][_0x1c0e66(0x150)])return Promise[_0x1c0e66(0x181)]();const _0x40501f=this[_0x1c0e66(0x206)][_0x1c0e66(0x184)][_0x1c0e66(0x163)](_0x1c0e66(0x22a)),_0x3d8497=_0x40501f[_0x1c0e66(0x1a7)](_0x1f4a04(this[_0x1c0e66(0x206)][_0x1c0e66(0x15d)],_0x1c0e66(0x18a)));return this[_0x1c0e66(0x1da)][_0x1c0e66(0x150)]({'channelId':_0x1e95bf,'threadId':_0x31e6a5})[_0x1c0e66(0x227)](({resolvedAt:_0x1a0f7a,resolvedBy:_0x1e4114})=>{const _0x3fa571=_0x1c0e66;_0x40501f[_0x3fa571(0x15e)](_0x3d8497),_0x1bb2cb[_0x3fa571(0x1f1)]['id']!==_0x1e4114&&(_0x1bb2cb[_0x3fa571(0x1f1)]=_0x4c12cc[_0x3fa571(0x215)](_0x1e4114)),_0x1bb2cb[_0x3fa571(0x179)]=_0x1a0f7a;})[_0x1c0e66(0x20c)](_0x2f7efb=>{const _0x72e08b=_0x1c0e66;throw console[_0x72e08b(0x207)](_0x2f7efb),new _0x421689(_0x72e08b(0x223),this);});}[_0x122557(0x1bc)]({threadId:_0x52cdf2,channelId:_0xc928f2,isFromAdapter:_0x18801e}){const _0x3bbc22=_0x122557;if(!this[_0x3bbc22(0x188)](_0x52cdf2))throw new _0x421689(_0x3bbc22(0x1b4),null,{'threadId':_0x52cdf2});const _0x261eec=this[_0x3bbc22(0x1b8)](_0x52cdf2);if(!_0x261eec[_0x3bbc22(0x177)])throw new _0x421689(_0x3bbc22(0x228),null,{'threadId':_0x52cdf2});if(_0x261eec[_0x3bbc22(0x1f1)]=null,_0x261eec[_0x3bbc22(0x179)]=null,_0x18801e||!this[_0x3bbc22(0x1da)]||_0x3bbc22(0x1f6)!=typeof this[_0x3bbc22(0x1da)][_0x3bbc22(0x1e8)])return Promise[_0x3bbc22(0x181)]();const _0x1bb986=this[_0x3bbc22(0x206)][_0x3bbc22(0x184)][_0x3bbc22(0x163)](_0x3bbc22(0x22a)),_0x3dac84=_0x1bb986[_0x3bbc22(0x1a7)](_0x1f4a04(this[_0x3bbc22(0x206)][_0x3bbc22(0x15d)],_0x3bbc22(0x18a)));return this[_0x3bbc22(0x1da)][_0x3bbc22(0x1e8)]({'channelId':_0xc928f2,'threadId':_0x52cdf2})[_0x3bbc22(0x227)](()=>_0x1bb986[_0x3bbc22(0x15e)](_0x3dac84))[_0x3bbc22(0x20c)](_0x24a28e=>{const _0x4c987d=_0x3bbc22;throw console[_0x4c987d(0x207)](_0x24a28e),new _0x421689(_0x4c987d(0x1e3),this);});}[_0x122557(0x21d)]({threadId:_0xab94b2,isFromAdapter:_0x1ef23d}){const _0x1e98e3=_0x122557,_0xbf9f5e=this[_0x1e98e3(0x1b8)](_0xab94b2);if(!_0xbf9f5e)throw new _0x421689(_0x1e98e3(0x1d9),this);if(this[_0x1e98e3(0x15b)](_0xab94b2),this[_0x1e98e3(0x171)][_0x1e98e3(0x14f)](_0xab94b2),!_0xbf9f5e[_0x1e98e3(0x1bd)]||_0x1ef23d||!this[_0x1e98e3(0x1da)]||_0x1e98e3(0x1f6)!=typeof this[_0x1e98e3(0x1da)][_0x1e98e3(0x1fa)])return Promise[_0x1e98e3(0x181)]();const _0x3314a3=this[_0x1e98e3(0x206)][_0x1e98e3(0x184)][_0x1e98e3(0x163)](_0x1e98e3(0x22a)),{channelId:_0x193229}=_0xbf9f5e,_0x1c7857=_0x3314a3[_0x1e98e3(0x1a7)](_0x1f4a04(this[_0x1e98e3(0x206)][_0x1e98e3(0x15d)],_0x1e98e3(0x18a)));return this[_0x1e98e3(0x1da)][_0x1e98e3(0x1fa)]({'channelId':_0x193229,'threadId':_0xab94b2})[_0x1e98e3(0x227)](()=>_0x3314a3[_0x1e98e3(0x15e)](_0x1c7857))[_0x1e98e3(0x20c)](_0x41a436=>{const _0x4af4d4=_0x1e98e3;throw console[_0x4af4d4(0x207)](_0x41a436),new _0x421689(_0x4af4d4(0x1a2),this);});}[_0x122557(0x196)]({threadId:_0x4908ee,unlinkedAt:_0x3d0af2,context:_0x1e7440,attributes:_0x14d051,isFromAdapter:_0x1b94b3}){const _0x32d042=_0x122557;if(_0x32d042(0x1ca)!=typeof _0x4908ee)throw new _0x421689(_0x32d042(0x1f2),null,{'threadId':_0x4908ee});if(!this[_0x32d042(0x188)](_0x4908ee))throw new _0x421689(_0x32d042(0x1b4),null,{'threadId':_0x4908ee});const _0x45b97b=this[_0x32d042(0x1b8)](_0x4908ee);let _0x20b6e6=!0x1;if(void 0x0!==_0x1e7440&&_0x45b97b[_0x32d042(0x206)]!==_0x1e7440&&(_0x45b97b[_0x32d042(0x206)]=_0x1e7440,_0x20b6e6=!0x0),void 0x0!==_0x3d0af2&&_0x45b97b[_0x32d042(0x183)]!==_0x3d0af2&&(_0x45b97b[_0x32d042(0x183)]=_0x3d0af2,_0x20b6e6=!0x0),_0x14d051&&!_0x2bcfcc(_0x14d051,_0x45b97b[_0x32d042(0x168)])&&(_0x45b97b[_0x32d042(0x168)]=_0x14d051,_0x20b6e6=!0x0),!_0x20b6e6)return Promise[_0x32d042(0x181)]();if(!_0x45b97b[_0x32d042(0x1bd)]||_0x1b94b3||!this[_0x32d042(0x1da)]||_0x32d042(0x1f6)!=typeof this[_0x32d042(0x1da)][_0x32d042(0x1e5)])return Promise[_0x32d042(0x181)]();const _0x4f1d71=this[_0x32d042(0x206)][_0x32d042(0x184)][_0x32d042(0x163)](_0x32d042(0x22a)),{channelId:_0xbe3239}=_0x45b97b,_0x87ec59=_0x4f1d71[_0x32d042(0x1a7)](_0x1f4a04(this[_0x32d042(0x206)][_0x32d042(0x15d)],_0x32d042(0x18a)));return this[_0x32d042(0x1da)][_0x32d042(0x1e5)]({'channelId':_0xbe3239,'threadId':_0x4908ee,'context':_0x1e7440,'unlinkedAt':_0x3d0af2,'attributes':_0x14d051})[_0x32d042(0x227)](()=>_0x4f1d71[_0x32d042(0x15e)](_0x87ec59))[_0x32d042(0x20c)](_0x39d496=>{const _0x20b7b1=_0x32d042;throw console[_0x20b7b1(0x207)](_0x39d496),new _0x421689(_0x20b7b1(0x187),this);});}[_0x122557(0x15b)](_0x55dc45){const _0x3aac49=_0x122557,_0x29227b=this[_0x3aac49(0x206)][_0x3aac49(0x184)][_0x3aac49(0x163)](_0x3b63a5),_0x3ff0e0=this[_0x3aac49(0x1b8)](_0x55dc45);if(_0x3ff0e0[_0x3aac49(0x20f)]=!0x1,this[_0x3aac49(0x172)][_0x3aac49(0x17a)](_0x3ff0e0)){const _0x43b3b0=this[_0x3aac49(0x172)][_0x3aac49(0x163)](_0x3ff0e0),_0xa2eda5=_0x43b3b0[_0x3aac49(0x1c0)],_0x4c9410=_0x29227b[_0x3aac49(0x1c6)](_0xa2eda5);this[_0x3aac49(0x172)][_0x3aac49(0x14f)](_0x3ff0e0),this[_0x3aac49(0x1aa)][_0x3aac49(0x14f)](_0xa2eda5),_0x4c9410&&_0x29227b[_0x3aac49(0x15e)](_0x4c9410),_0x43b3b0[_0x3aac49(0x1a8)](),_0xa2eda5[_0x3aac49(0x1a8)]()[_0x3aac49(0x227)](()=>{const _0x40387a=_0x3aac49;this[_0x40387a(0x1ba)](_0xa2eda5);});}}[_0x122557(0x19e)]({threadId:_0x6d8ad4,resolvedAt:_0x27d46f}){const _0x210635=_0x122557,_0x57ebfa=!!_0x27d46f,_0x29344a=this[_0x210635(0x206)][_0x210635(0x184)][_0x210635(0x163)](_0x3b63a5),_0x1d0405=this[_0x210635(0x1b8)](_0x6d8ad4);if(this[_0x210635(0x172)][_0x210635(0x17a)](_0x1d0405)){const _0x219a96=this[_0x210635(0x172)][_0x210635(0x163)](_0x1d0405)[_0x210635(0x1c0)],_0x2cc513=_0x29344a[_0x210635(0x1c6)](_0x219a96);_0x2cc513&&(_0x57ebfa&&_0x29344a[_0x210635(0x220)](_0x2cc513),_0x2cc513[_0x210635(0x1eb)]());}}[_0x122557(0x209)](_0x28157e){const _0x3da8cf=_0x122557,_0x24960d=this[_0x3da8cf(0x206)][_0x3da8cf(0x184)][_0x3da8cf(0x163)](_0x5b0cd6),_0x1aa185=_0x127263(_0x3da8cf(0x151)+_0x28157e),_0x2ea1d7=_0x24960d[_0x3da8cf(0x215)](_0x1aa185);return _0x2ea1d7||_0x24960d[_0x3da8cf(0x199)]({'id':_0x1aa185,'name':_0x28157e});}[_0x122557(0x204)]({threadId:_0x43779a,commentId:_0x12fbae=_0x411bb5(),content:_0x3ee75e,authorId:_0x8ea2ac,createdAt:_0x3ec5b0,attributes:_0x15c4f9}){const _0x2d1f1c=_0x122557;if(_0x2d1f1c(0x1ca)!=typeof _0x12fbae)throw new _0x421689(_0x2d1f1c(0x1e2));if(_0x2d1f1c(0x1ca)!=typeof _0x8ea2ac)throw new _0x421689(_0x2d1f1c(0x1a0));if(_0x2d1f1c(0x1ca)!=typeof _0x3ee75e||!_0x3ee75e[_0x2d1f1c(0x229)]())throw new _0x421689(_0x2d1f1c(0x20a));const _0x1e9483=this[_0x2d1f1c(0x206)][_0x2d1f1c(0x184)][_0x2d1f1c(0x163)](_0x5b0cd6)[_0x2d1f1c(0x215)](_0x8ea2ac);if(!_0x1e9483)throw new _0x421689(_0x2d1f1c(0x16f),null,{'authorId':_0x8ea2ac});let _0x4266fd=null,_0x34f2a6=_0x3ec5b0;return _0x15c4f9&&_0x15c4f9[_0x2d1f1c(0x1de)]&&(_0x4266fd=this[_0x2d1f1c(0x209)](_0x15c4f9[_0x2d1f1c(0x1de)][_0x2d1f1c(0x17b)]),_0x34f2a6=new Date(_0x15c4f9[_0x2d1f1c(0x1de)][_0x2d1f1c(0x16a)])),new Comment(this,{'threadId':_0x43779a,'id':_0x12fbae,'author':_0x4266fd||_0x1e9483,'creator':_0x1e9483,'content':_0x3ee75e,'createdAt':_0x3ec5b0,'authoredAt':_0x34f2a6,'attributes':_0x15c4f9});}[_0x122557(0x194)](_0x265fdd){const _0x34400a=_0x122557;let {threadId:_0x5545fb,content:_0x2a691b,attributes:_0x207e45,isFromAdapter:_0x5270e4}=_0x265fdd;const _0x13a8c3=this[_0x34400a(0x1b8)](_0x265fdd[_0x34400a(0x201)]);if(!_0x13a8c3)throw new _0x421689(_0x34400a(0x197),this);const _0xd9d6c5=this[_0x34400a(0x204)](_0x265fdd),{id:_0x208f24}=_0xd9d6c5;if(_0x13a8c3[_0x34400a(0x1d3)](_0xd9d6c5),_0x5270e4||!this[_0x34400a(0x1da)]||_0x34400a(0x1f6)!=typeof this[_0x34400a(0x1da)][_0x34400a(0x211)]||!_0x13a8c3[_0x34400a(0x1bd)])return Promise[_0x34400a(0x181)]();const _0x116f7f=this[_0x34400a(0x206)][_0x34400a(0x184)][_0x34400a(0x163)](_0x34400a(0x22a)),{channelId:_0x32060c}=_0x13a8c3,_0x2044d3=_0x116f7f[_0x34400a(0x1a7)](_0x1f4a04(this[_0x34400a(0x206)][_0x34400a(0x15d)],_0x34400a(0x18a)));return _0x207e45||(_0x207e45={}),this[_0x34400a(0x1da)][_0x34400a(0x211)]({'channelId':_0x32060c,'threadId':_0x5545fb,'commentId':_0x208f24,'content':_0x2a691b,'attributes':_0x207e45})[_0x34400a(0x227)](_0x21f344=>{const _0x5574d0=_0x34400a;_0x116f7f[_0x5574d0(0x15e)](_0x2044d3),_0x21f344&&this[_0x5574d0(0x1fc)]({'channelId':_0x32060c,'threadId':_0x5545fb,'commentId':_0x208f24,'createdAt':_0x21f344[_0x5574d0(0x16a)],'isFromAdapter':!0x0});})[_0x34400a(0x20c)](_0x23e8a0=>{const _0x3247e4=_0x34400a;throw console[_0x3247e4(0x207)](_0x23e8a0),new _0x421689(_0x3247e4(0x1ab),this);});}[_0x122557(0x1fc)]({threadId:_0x58997f,commentId:_0x3ea27c,content:_0x1d8853,createdAt:_0x114d11,attributes:_0x41a467,isFromAdapter:_0x13028c}){const _0x402524=_0x122557;if(void 0x0!==_0x1d8853&&(_0x402524(0x1ca)!=typeof _0x1d8853||!_0x1d8853[_0x402524(0x229)]()[_0x402524(0x1cf)]))throw new _0x421689(_0x402524(0x20d));const _0x14d66a=this[_0x402524(0x1b8)](_0x58997f),_0x26fda5=_0x14d66a[_0x402524(0x169)](_0x3ea27c);if(!_0x26fda5)throw new _0x421689(_0x402524(0x1a1),this);let _0x5c9098=!0x1;if(_0x1d8853&&_0x1d8853!==_0x26fda5[_0x402524(0x19c)]&&(_0x26fda5[_0x402524(0x1f3)]||_0x13028c)&&(_0x26fda5[_0x402524(0x19c)]=_0x1d8853,_0x5c9098=!0x0),_0x114d11&&_0x114d11!==_0x26fda5[_0x402524(0x16a)]&&(_0x26fda5[_0x402524(0x16a)]=_0x114d11,_0x26fda5[_0x402524(0x168)]&&_0x26fda5[_0x402524(0x168)][_0x402524(0x1de)]||(_0x26fda5[_0x402524(0x19b)]=_0x114d11),_0x5c9098=!0x0),_0x41a467&&!_0x2bcfcc(_0x41a467,_0x26fda5[_0x402524(0x168)])&&(_0x26fda5[_0x402524(0x168)]=_0x41a467,_0x5c9098=!0x0),!_0x5c9098)return Promise[_0x402524(0x181)]();if(_0x14d66a[_0x402524(0x182)](_0x402524(0x1bf)),_0x13028c||!this[_0x402524(0x1da)]||_0x402524(0x1f6)!=typeof this[_0x402524(0x1da)][_0x402524(0x1f8)])return Promise[_0x402524(0x181)]();const _0x21fc26=this[_0x402524(0x206)][_0x402524(0x184)][_0x402524(0x163)](_0x402524(0x22a)),{channelId:_0x21d1b6}=this[_0x402524(0x1b8)](_0x26fda5[_0x402524(0x201)]),_0x371e56=_0x21fc26[_0x402524(0x1a7)](_0x1f4a04(this[_0x402524(0x206)][_0x402524(0x15d)],_0x402524(0x18a)));return this[_0x402524(0x1da)][_0x402524(0x1f8)]({'channelId':_0x21d1b6,'threadId':_0x58997f,'commentId':_0x3ea27c,'content':_0x1d8853,'attributes':_0x41a467})[_0x402524(0x227)](()=>_0x21fc26[_0x402524(0x15e)](_0x371e56))[_0x402524(0x20c)](_0x308a76=>{const _0x546a31=_0x402524;throw console[_0x546a31(0x207)](_0x308a76),new _0x421689(_0x546a31(0x1e4),this);});}[_0x122557(0x17e)]({threadId:_0x12b712,commentId:_0xf4fe5c,isFromAdapter:_0x306309}){const _0x5a7197=_0x122557,_0x1ddf2c=this[_0x5a7197(0x1b8)](_0x12b712),_0x8983d=_0x1ddf2c[_0x5a7197(0x169)](_0xf4fe5c);if(!_0x8983d)throw new _0x421689(_0x5a7197(0x1dd),this);if(_0x1ddf2c[_0x5a7197(0x1f4)](_0x8983d),_0x306309||!this[_0x5a7197(0x1da)]||_0x5a7197(0x1f6)!=typeof this[_0x5a7197(0x1da)][_0x5a7197(0x185)])return Promise[_0x5a7197(0x181)]();const _0x3fe12a=this[_0x5a7197(0x206)][_0x5a7197(0x184)][_0x5a7197(0x163)](_0x5a7197(0x22a)),{channelId:_0x4fe438}=_0x1ddf2c,_0x47d25d=_0x3fe12a[_0x5a7197(0x1a7)](_0x1f4a04(this[_0x5a7197(0x206)][_0x5a7197(0x15d)],_0x5a7197(0x18a)));return this[_0x5a7197(0x1da)][_0x5a7197(0x185)]({'channelId':_0x4fe438,'threadId':_0x12b712,'commentId':_0xf4fe5c})[_0x5a7197(0x227)](()=>_0x3fe12a[_0x5a7197(0x15e)](_0x47d25d))[_0x5a7197(0x20c)](_0x144635=>{const _0x17da35=_0x5a7197;throw console[_0x17da35(0x207)](_0x144635),new _0x421689(_0x17da35(0x1a9),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x15bac8(){constructor(_0x1eba66,_0x46775f){const _0x3796ec=_0x122557;super();const _0x5ce8fa=_0x46775f[_0x3796ec(0x1c5)];this[_0x3796ec(0x1e9)]=_0x46775f[_0x3796ec(0x1e9)],this['id']=_0x46775f['id'],this[_0x3796ec(0x173)]=new _0x544c75(),this[_0x3796ec(0x16e)]=_0x1eba66,this[_0x3796ec(0x20f)]=!0x1,this[_0x3796ec(0x22c)]=_0x46775f[_0x3796ec(0x1bd)],this[_0x3796ec(0x1d1)](_0x3796ec(0x1cd),!0x0),this[_0x3796ec(0x20b)](_0x3796ec(0x1f5))['to'](_0x1eba66,_0x3796ec(0x1ed),_0x1eba66,_0x3796ec(0x1e1),()=>_0x1eba66[_0x3796ec(0x1f5)](this[_0x3796ec(0x1e9)])),this[_0x3796ec(0x20b)](_0x3796ec(0x191))['to'](_0x1eba66,_0x3796ec(0x1ed),()=>_0x1eba66[_0x3796ec(0x18e)](this[_0x3796ec(0x1e9)])[_0x3796ec(0x175)]),this[_0x3796ec(0x20b)](_0x3796ec(0x1c1))['to'](_0x1eba66,_0x3796ec(0x1ed),()=>{const _0x5a05a4=_0x3796ec,_0x3c516b=_0x1eba66[_0x5a05a4(0x18e)](this[_0x5a05a4(0x1e9)]);return _0x3c516b[_0x5a05a4(0x180)]||_0x3c516b[_0x5a05a4(0x175)];}),this[_0x3796ec(0x20b)](_0x3796ec(0x1c5))['to'](_0x1eba66,_0x3796ec(0x1ed),()=>_0x5ce8fa&&_0x1eba66[_0x3796ec(0x18e)](this[_0x3796ec(0x1e9)])[_0x3796ec(0x181)]),this[_0x3796ec(0x1d1)](_0x3796ec(0x206),_0x46775f[_0x3796ec(0x206)]),this[_0x3796ec(0x20b)](_0x3796ec(0x21b))['to'](this,_0x3796ec(0x179),this,_0x3796ec(0x183),(_0x51c9db,_0xac8b73)=>_0x51c9db?_0xac8b73?_0x51c9db<_0xac8b73?_0x51c9db:_0xac8b73:_0x51c9db:_0xac8b73),this[_0x3796ec(0x1d1)](_0x3796ec(0x183),_0x46775f[_0x3796ec(0x183)]||null),this[_0x3796ec(0x1d1)](_0x3796ec(0x179),_0x46775f[_0x3796ec(0x179)]||null),this[_0x3796ec(0x1d1)](_0x3796ec(0x1f1),_0x46775f[_0x3796ec(0x1f1)]||null),this[_0x3796ec(0x20b)](_0x3796ec(0x177))['to'](this,_0x3796ec(0x179),_0x5ecc46=>!!_0x5ecc46),this[_0x3796ec(0x1d1)](_0x3796ec(0x168),_0x46775f[_0x3796ec(0x168)]||{});}get[_0x122557(0x22e)](){const _0x480387=_0x122557;return Array[_0x480387(0x216)](this[_0x480387(0x173)])[_0x480387(0x225)]((_0xae4cc7,_0x40d709)=>_0xae4cc7+_0x40d709[_0x480387(0x22e)],0x0);}get[_0x122557(0x1cf)](){const _0x1e6ca8=_0x122557;return this[_0x1e6ca8(0x173)][_0x1e6ca8(0x1cf)];}get[_0x122557(0x1ec)](){const _0x3391c2=_0x122557;return this[_0x3391c2(0x20f)];}get[_0x122557(0x1bd)](){const _0x721785=_0x122557;return this[_0x721785(0x22c)];}[_0x122557(0x1cb)](){const _0x15777d=_0x122557,{channelId:_0x311d5f,id:_0x27b42d}=this;this[_0x15777d(0x16e)][_0x15777d(0x182)](bt(_0x15777d(0x22f),_0x311d5f),{'channelId':_0x311d5f,'threadId':_0x27b42d});}[_0x122557(0x1c7)](_0x1184f5){const _0x496f53=_0x122557;this[_0x496f53(0x1a5)]({'unlinkedAt':_0x1184f5});}[_0x122557(0x181)]({resolvedAt:_0x1b58e6=new Date(),resolvedBy:_0x3a13f6=null,isFromAdapter:_0x1653d7=!0x1}={}){const _0x1aab4d=_0x122557,_0x1b5b9e=this[_0x1aab4d(0x16e)][_0x1aab4d(0x206)][_0x1aab4d(0x184)][_0x1aab4d(0x163)](_0x5b0cd6)['me'],{channelId:_0x321068,id:_0x81d993}=this;this[_0x1aab4d(0x16e)][_0x1aab4d(0x182)](bt(_0x1aab4d(0x150),_0x321068),{'channelId':_0x321068,'threadId':_0x81d993,'resolvedAt':_0x1b58e6,'resolvedBy':_0x3a13f6||_0x1b5b9e['id'],'isFromAdapter':_0x1653d7});}[_0x122557(0x222)]({isFromAdapter:_0xf7e2a=!0x1}={}){const _0x4f46e5=_0x122557,{channelId:_0x226f42,id:_0x201081}=this;this[_0x4f46e5(0x16e)][_0x4f46e5(0x182)](bt(_0x4f46e5(0x1e8),_0x226f42),{'channelId':_0x226f42,'threadId':_0x201081,'isFromAdapter':_0xf7e2a});}[_0x122557(0x1be)](_0x550cc8){const _0x5a35b8=_0x122557;this[_0x5a35b8(0x206)]||this[_0x5a35b8(0x1a5)]({'context':_0x550cc8});}[_0x122557(0x1b1)](_0x2a6d37,_0x47c8c8){const _0x222b7a=_0x122557,_0x221a85=_0x1ea623(this[_0x222b7a(0x168)]);_0x3f1ea9(_0x221a85,_0x2a6d37,_0x47c8c8),this[_0x222b7a(0x1a5)]({'attributes':_0x221a85});}[_0x122557(0x165)](_0x3f12ca){const _0x3091c2=_0x122557,_0x4cc5e7=_0x1ea623(this[_0x3091c2(0x168)]);_0x51029a(_0x4cc5e7,_0x3f12ca),this[_0x3091c2(0x1a5)]({'attributes':_0x4cc5e7});}[_0x122557(0x15e)]({isFromAdapter:_0x2cab6e=!0x1}={}){const _0x3e9fa6=_0x122557,{channelId:_0x2fd7d6,id:_0x59783f}=this;this[_0x3e9fa6(0x16e)][_0x3e9fa6(0x182)](bt(_0x3e9fa6(0x1fa),_0x2fd7d6),{'channelId':_0x2fd7d6,'threadId':_0x59783f,'isFromAdapter':_0x2cab6e});}[_0x122557(0x21a)](_0x2a1291){const _0x19f696=_0x122557;return this[_0x19f696(0x16e)][_0x19f696(0x155)]({'threadId':this['id'],'target':_0x2a1291});}[_0x122557(0x211)](_0x2783b3){const _0x52a1d0=_0x122557,{channelId:_0x227462,id:_0x1d5fb6}=this;this[_0x52a1d0(0x16e)][_0x52a1d0(0x182)](bt(_0x52a1d0(0x211),_0x227462,_0x1d5fb6),Object[_0x52a1d0(0x21e)]({'channelId':_0x227462,'threadId':_0x1d5fb6},_0x2783b3));}[_0x122557(0x169)](_0x24421e){const _0x2ba27a=_0x122557;if(_0x2ba27a(0x1ca)!=typeof _0x24421e)throw new _0x421689(_0x2ba27a(0x1d6),null,{'commentId':_0x24421e});return this[_0x2ba27a(0x173)][_0x2ba27a(0x163)](_0x24421e);}[_0x122557(0x153)](){const _0xcfc3bd=_0x122557;return{'threadId':this['id'],'context':this[_0xcfc3bd(0x206)],'unlinkedAt':this[_0xcfc3bd(0x183)],'resolvedAt':this[_0xcfc3bd(0x179)],'resolvedBy':this[_0xcfc3bd(0x1f1)]?this[_0xcfc3bd(0x1f1)]['id']:null,'archivedAt':this[_0xcfc3bd(0x21b)],'comments':this[_0xcfc3bd(0x173)][_0xcfc3bd(0x1c4)](_0xb77bc9=>_0xb77bc9[_0xcfc3bd(0x153)]()),'attributes':this[_0xcfc3bd(0x168)]};}[_0x122557(0x1d3)](_0x302e17){const _0x219b12=_0x122557;return this[_0x219b12(0x16b)](_0x302e17,_0x219b12(0x17c),()=>{const _0x3fa3ca=_0x219b12,_0xdc73aa=this[_0x3fa3ca(0x1b6)](_0x302e17),_0x35e6d4=this[_0x3fa3ca(0x173)];_0xdc73aa-0x1!=_0x35e6d4[_0x3fa3ca(0x1af)](_0x302e17)&&_0xdc73aa+0x1!=_0x35e6d4[_0x3fa3ca(0x1af)](_0x302e17)&&(this[_0x3fa3ca(0x1f4)](_0x302e17),this[_0x3fa3ca(0x1d3)](_0x302e17));}),this[_0x219b12(0x173)][_0x219b12(0x1a7)](_0x302e17,this[_0x219b12(0x1b6)](_0x302e17));}[_0x122557(0x1a5)](_0x4f5b48){const _0x213d5e=_0x122557,{channelId:_0x172ff6,id:_0x4eeeb8}=this;this[_0x213d5e(0x16e)][_0x213d5e(0x182)](bt(_0x213d5e(0x1e5),_0x172ff6),{..._0x4f5b48,'channelId':_0x172ff6,'threadId':_0x4eeeb8});}[_0x122557(0x1f4)](_0x22d800){const _0x40a8e4=_0x122557;return this[_0x40a8e4(0x232)](_0x22d800),_0x22d800[_0x40a8e4(0x1a8)](),this[_0x40a8e4(0x173)][_0x40a8e4(0x15e)](_0x22d800);}[_0x122557(0x1b6)](_0x48fb61){const _0x31cdad=_0x122557,_0x381519=this[_0x31cdad(0x173)][_0x31cdad(0x19d)](_0x2ad81a=>new Date(_0x2ad81a[_0x31cdad(0x19b)])[_0x31cdad(0x1e6)]()>new Date(_0x48fb61[_0x31cdad(0x19b)])[_0x31cdad(0x1e6)]());return _0x381519?this[_0x31cdad(0x173)][_0x31cdad(0x1af)](_0x381519):this[_0x31cdad(0x1cf)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x15bac8(){constructor(_0xf8779b,_0x51a15e){const _0x474ef3=_0x122557;super();const _0x28ea47=_0xf8779b[_0x474ef3(0x206)][_0x474ef3(0x184)][_0x474ef3(0x163)](_0x5b0cd6)['me'],_0x1455c1=_0xf8779b[_0x474ef3(0x1b8)](_0x51a15e[_0x474ef3(0x201)]),_0x4d5e19=0x0===_0x1455c1[_0x474ef3(0x173)][_0x474ef3(0x1cf)],_0x299a34=_0x28ea47===_0x51a15e[_0x474ef3(0x1c3)];this['id']=_0x51a15e['id'],this[_0x474ef3(0x201)]=_0x51a15e[_0x474ef3(0x201)],this[_0x474ef3(0x1c3)]=_0x51a15e[_0x474ef3(0x1c3)],this[_0x474ef3(0x1d5)]=_0x51a15e[_0x474ef3(0x1d5)],this[_0x474ef3(0x21f)]=Boolean(_0x51a15e[_0x474ef3(0x168)]&&_0x51a15e[_0x474ef3(0x168)][_0x474ef3(0x1de)]),this[_0x474ef3(0x1d1)](_0x474ef3(0x19c),_0x51a15e[_0x474ef3(0x19c)]),this[_0x474ef3(0x16a)]=_0x51a15e[_0x474ef3(0x16a)]||new Date(),this[_0x474ef3(0x1d1)](_0x474ef3(0x19b),_0x51a15e[_0x474ef3(0x19b)]||new Date()),this[_0x474ef3(0x20b)](_0x474ef3(0x179))['to'](_0x1455c1,_0x474ef3(0x179)),this[_0x474ef3(0x1d1)](_0x474ef3(0x168),_0x51a15e[_0x474ef3(0x168)]||{}),this[_0x474ef3(0x20b)](_0x474ef3(0x1f3))['to'](_0xf8779b,_0x474ef3(0x1ed),()=>{const _0x4e4345=_0x474ef3,_0x20af25=_0xf8779b[_0x4e4345(0x18e)](_0x1455c1[_0x4e4345(0x1e9)])[_0x4e4345(0x180)],_0xbe7191=_0xf8779b[_0x4e4345(0x18e)](_0x1455c1[_0x4e4345(0x1e9)])[_0x4e4345(0x1d4)];return _0x299a34&&_0x20af25||!_0x299a34&&_0xbe7191;}),this[_0x474ef3(0x20b)](_0x474ef3(0x191))['to'](_0x1455c1,_0x474ef3(0x191),_0xf8779b,_0x474ef3(0x1ed),_0x52d50d=>{const _0x2f47d7=_0x474ef3,_0x1921e4=_0xf8779b[_0x2f47d7(0x18e)](_0x1455c1[_0x2f47d7(0x1e9)])[_0x2f47d7(0x180)],_0x51d744=_0xf8779b[_0x2f47d7(0x18e)](_0x1455c1[_0x2f47d7(0x1e9)])[_0x2f47d7(0x1d4)];return _0x299a34&&_0x1921e4||_0x52d50d&&_0x4d5e19||!_0x299a34&&_0x51d744&&!_0x4d5e19;}),this[_0x474ef3(0x20b)](_0x474ef3(0x1f5))['to'](_0x1455c1,_0x474ef3(0x1f5)),this[_0x474ef3(0x16e)]=_0xf8779b;}get[_0x122557(0x22e)](){const _0x3217d0=_0x122557;return Math[_0x3217d0(0x176)](function(_0x4bf624){const _0x4c8144=_0x3217d0,_0x1d7ece=document[_0x4c8144(0x1b3)](_0x4c8144(0x16c));return _0x1d7ece[_0x4c8144(0x19f)]=_0x4bf624,_0x1d7ece[_0x4c8144(0x1d8)][_0x4c8144(0x1cf)];}(this[_0x3217d0(0x19c)]),0xc8);}[_0x122557(0x224)](_0x44f931){const _0x189a92=_0x122557,{threadId:_0x4e63a9,id:_0x2eceac}=this;if(!this[_0x189a92(0x16e)][_0x189a92(0x188)](_0x4e63a9))throw new _0x421689(_0x189a92(0x1b0),this);const {channelId:_0x4b9f45}=this[_0x189a92(0x16e)][_0x189a92(0x1b8)](_0x4e63a9);this[_0x189a92(0x16e)][_0x189a92(0x182)](bt(_0x189a92(0x1f8),_0x4b9f45,_0x4e63a9),{'channelId':_0x4b9f45,'threadId':_0x4e63a9,'commentId':_0x2eceac,..._0x44f931});}[_0x122557(0x1b1)](_0x1444cb,_0x584389){const _0x452b74=_0x122557,_0x5eee00=_0x1ea623(this[_0x452b74(0x168)]);_0x3f1ea9(_0x5eee00,_0x1444cb,_0x584389),this[_0x452b74(0x224)]({'attributes':_0x5eee00});}[_0x122557(0x165)](_0x57f63a){const _0xc142ab=_0x122557,_0x444c1f=_0x1ea623(this[_0xc142ab(0x168)]);_0x51029a(_0x444c1f,_0x57f63a),this[_0xc142ab(0x224)]({'attributes':_0x444c1f});}[_0x122557(0x15e)](_0x1141af={}){const _0x5565c3=_0x122557;if(!_0x1141af[_0x5565c3(0x203)]&&!this[_0x5565c3(0x191)])return;const {threadId:_0x1d6992,id:_0x165692}=this;if(!this[_0x5565c3(0x16e)][_0x5565c3(0x188)](_0x1d6992))throw new _0x421689(_0x5565c3(0x219),this);const {channelId:_0xbf31d6}=this[_0x5565c3(0x16e)][_0x5565c3(0x1b8)](_0x1d6992);this[_0x5565c3(0x16e)][_0x5565c3(0x182)](bt(_0x5565c3(0x185),_0xbf31d6,_0x1d6992),{'channelId':_0xbf31d6,'threadId':_0x1d6992,'commentId':_0x165692,..._0x1141af});}[_0x122557(0x153)](){const _0x5d061c=_0x122557;return{'commentId':this['id'],'content':this[_0x5d061c(0x19c)],'createdAt':this[_0x5d061c(0x16a)],'authorId':this[_0x5d061c(0x1d5)]['id'],'attributes':this[_0x5d061c(0x168)]};}[_0x122557(0x1a8)](){const _0x18fd36=_0x122557;this[_0x18fd36(0x232)]();}}function bt(_0x3246c5,..._0x5c488a){for(const _0x413107 of _0x5c488a)void 0x0!==_0x413107&&(_0x3246c5+=':'+String(_0x413107));return _0x3246c5;}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module comments/comments/commentsui
|