@ckeditor/ckeditor5-comments 45.2.1 → 46.0.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/index-editor.css +69 -67
- package/dist/index.css +80 -78
- package/dist/index.js +11 -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/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.d.ts +4 -4
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.d.ts +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +4 -4
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +4 -4
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +4 -4
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +5 -5
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +5 -5
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +14 -13
- 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 +2 -1
- package/src/annotations/view/sidebarview.d.ts +4 -4
- package/src/annotations/view/sidebarview.js +2 -1
- package/src/annotations/widesidebar.d.ts +5 -5
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +2 -2
- package/src/comments/addcommentthreadcommand.d.ts +48 -9
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +3 -3
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +4 -4
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +7 -7
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +14 -6
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.d.ts +5 -5
- 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 +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.d.ts +4 -4
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +2 -2
- 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 +2 -2
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.d.ts +4 -4
- 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 +4 -4
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +2 -2
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +2 -2
- 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 +2 -2
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +2 -2
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +2 -2
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +3 -3
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.d.ts +10 -10
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +2 -2
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +3 -3
- package/src/index.d.ts +29 -25
- package/src/index.js +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/comment.css +2 -1
- package/theme/commentinput.css +2 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d1719=_0x2ae5;(function(_0x40749c,_0x48ba5f){const _0x293e81=_0x2ae5,_0x650f5f=_0x40749c();while(!![]){try{const _0x2cea78=-parseInt(_0x293e81(0x222))/0x1+parseInt(_0x293e81(0x225))/0x2*(parseInt(_0x293e81(0x21e))/0x3)+-parseInt(_0x293e81(0x229))/0x4+-parseInt(_0x293e81(0x1fc))/0x5+-parseInt(_0x293e81(0x217))/0x6*(-parseInt(_0x293e81(0x205))/0x7)+-parseInt(_0x293e81(0x20b))/0x8*(-parseInt(_0x293e81(0x1e9))/0x9)+parseInt(_0x293e81(0x207))/0xa*(-parseInt(_0x293e81(0x1ea))/0xb);if(_0x2cea78===_0x48ba5f)break;else _0x650f5f['push'](_0x650f5f['shift']());}catch(_0x5b4d5a){_0x650f5f['push'](_0x650f5f['shift']());}}}(_0x5955,0xbbd47));import{ContextPlugin as _0x1e0019,Context as _0x5a42c6}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x4f1845}from'./annotationsuis.js';import{Sidebar as _0x3d164f}from'./sidebar.js';import{CKEditorError as _0xc685bc,Collection as _0x3332a9}from'ckeditor5/src/utils.js';function _0x5955(){const _0x5b5790=['uiUpdate','requires','_integrateWithEditorAnnotations','listenTo','init','EditorAnnotations','high','addAnnotation','stop','updateTargetRect','stopListening','set','destroy','remove','_attachToContainer','off','882685jkHQQr','get','from','setActiveAnnotation','change:container','context','annotations','pluginName','getOrderedSelectedAnnotations','7oUnBqK','widesidebar-attach-already-attached','9981610jsLuFf','_detachFromContainer','container','isPremiumPlugin','546672QFmGjZ','cancel','refreshPositioning','_activeAnnotation','removeEventListener','wideSidebar','widesidebar-detach-not-attached','plugins','_annotations','add','set:container','switchTo','5336622RqRGdg','detach','blur','addEventListener','refresh','_refreshPositioningDebounced','ck-sidebar--wide','1713MrDctW','isAttached','resize','_destroyEditorAnnotationsIntegration','528810uniwbp','_editorAnnotations','isOfficialPlugin','2756HGuehK','focus','WideSidebar','editors','93696DRljcE','register','rearrange','ready','has','attach','activeAnnotation','108OgPhhu','11KBkiiz','hasDomSelection'];_0x5955=function(){return _0x5b5790;};return _0x5955();}import{debounce as _0x33d8f4}from'es-toolkit/compat';function _0x2ae5(_0x4d854d,_0x3fede3){const _0x5955f9=_0x5955();return _0x2ae5=function(_0x2ae5a9,_0x3df26b){_0x2ae5a9=_0x2ae5a9-0x1e7;let _0x1df010=_0x5955f9[_0x2ae5a9];return _0x1df010;},_0x2ae5(_0x4d854d,_0x3fede3);}export class WideSidebar extends _0x1e0019{[_0x1d1719(0x21f)];[_0x1d1719(0x202)];[_0x1d1719(0x223)];[_0x1d1719(0x21c)];static get[_0x1d1719(0x1ed)](){return[_0x3d164f,_0x4f1845];}static get[_0x1d1719(0x203)](){const _0x3f2080=_0x1d1719;return _0x3f2080(0x227);}static get[_0x1d1719(0x224)](){return!0x0;}static get[_0x1d1719(0x20a)](){return!0x0;}constructor(_0x26b84f){const _0x372297=_0x1d1719;super(_0x26b84f),this[_0x372297(0x21f)]=!0x1,this[_0x372297(0x1f7)](_0x372297(0x1e8),null),this[_0x372297(0x202)]=null,this[_0x372297(0x223)]=new _0x3332a9(),this[_0x372297(0x21c)]=_0x33d8f4(()=>{const _0x2d165b=_0x372297;this[_0x2d165b(0x202)][_0x2d165b(0x20d)]();},0xfa,{'leading':!0x1});}[_0x1d1719(0x1f0)](){const _0x2201b1=_0x1d1719,_0x215af9=this[_0x2201b1(0x201)][_0x2201b1(0x212)][_0x2201b1(0x1fd)](_0x4f1845),_0x4557f6=this[_0x2201b1(0x201)][_0x2201b1(0x212)][_0x2201b1(0x1fd)](_0x3d164f);_0x215af9[_0x2201b1(0x22a)](_0x2201b1(0x210),this),_0x4557f6[_0x2201b1(0x209)]&&_0x215af9[_0x2201b1(0x216)](_0x2201b1(0x210));}[_0x1d1719(0x1ff)](_0xd235eb){const _0x45dd28=_0x1d1719;if(_0xd235eb===this[_0x45dd28(0x1e8)])return;const _0x5960e2=this[_0x45dd28(0x201)][_0x45dd28(0x212)][_0x45dd28(0x1fd)](_0x3d164f);_0x5960e2[_0x45dd28(0x20e)]=_0xd235eb;const _0x2f0aa7=this[_0x45dd28(0x1e8)];_0x5960e2[_0x45dd28(0x21b)]({'blurredAnnotation':_0x2f0aa7,'activatedAnnotation':_0xd235eb}),this[_0x45dd28(0x1e8)]=_0xd235eb;}[_0x1d1719(0x1e7)](_0x49639d){const _0x2bd021=_0x1d1719;this[_0x2bd021(0x202)]=_0x49639d;const _0x1ea9d5=this[_0x2bd021(0x201)][_0x2bd021(0x212)][_0x2bd021(0x1fd)](_0x3d164f);if(_0x1ea9d5[_0x2bd021(0x213)]=_0x49639d,this[_0x2bd021(0x21f)])throw new _0xc685bc(_0x2bd021(0x206),this);this[_0x2bd021(0x21f)]=!0x0,this[_0x2bd021(0x1ef)](_0x1ea9d5,_0x2bd021(0x215),()=>{const _0x301148=_0x2bd021;this[_0x301148(0x218)](),this[_0x301148(0x1ef)](_0x1ea9d5,_0x301148(0x200),_0x272246=>{const _0x225ad0=_0x301148;_0x272246[_0x225ad0(0x1fb)](),this[_0x225ad0(0x1e7)](_0x49639d);});}),_0x1ea9d5[_0x2bd021(0x1fa)]({'viewClass':_0x2bd021(0x21d)});const _0x17a7f4=_0xdb0dc8=>{const _0x50aa1e=_0x2bd021;_0xdb0dc8[_0x50aa1e(0x1f5)](),_0x1ea9d5[_0x50aa1e(0x1f3)](_0xdb0dc8);};for(const _0x24ac15 of _0x49639d)_0x17a7f4(_0x24ac15);this[_0x2bd021(0x1ef)](_0x49639d,_0x2bd021(0x214),(_0x2341d2,_0x3d1b23)=>{_0x17a7f4(_0x3d1b23);}),this[_0x2bd021(0x1ef)](_0x49639d,_0x2bd021(0x1f9),(_0xe779b7,_0x2d7a86,_0x21aa97)=>{const _0x4220c6=_0x2bd021;_0x1ea9d5[_0x4220c6(0x22b)]({'removedAnnotation':_0x2d7a86,'previousAnnotation':_0x49639d[_0x4220c6(0x1fd)](_0x21aa97-0x1),'nextAnnotation':_0x49639d[_0x4220c6(0x1fd)](_0x21aa97+0x1)}),_0x2d7a86===this[_0x4220c6(0x1e8)]&&this[_0x4220c6(0x1ff)](null);},{'priority':_0x2bd021(0x1f2)}),this[_0x2bd021(0x1ef)](_0x49639d,_0x2bd021(0x226),(_0x4e14ab,_0x19fd2c)=>{const _0x313726=_0x2bd021;this[_0x313726(0x1ff)](_0x19fd2c);}),this[_0x2bd021(0x1ef)](_0x49639d,_0x2bd021(0x219),()=>{const _0x5254a2=_0x2bd021;this[_0x5254a2(0x1ff)](null);});const _0x4742b6=this[_0x2bd021(0x201)]instanceof _0x5a42c6?this[_0x2bd021(0x201)][_0x2bd021(0x228)]:new _0x3332a9([this[_0x2bd021(0x201)]]);for(const _0x5149b2 of _0x4742b6)this[_0x2bd021(0x1ee)](_0x5149b2);this[_0x2bd021(0x1ef)](_0x4742b6,_0x2bd021(0x214),(_0x66cd0a,_0x4b34af)=>{const _0x4a8aab=_0x2bd021;this[_0x4a8aab(0x1ef)](_0x4b34af,_0x4a8aab(0x22c),()=>{const _0x200ca1=_0x4a8aab;this[_0x200ca1(0x1ee)](_0x4b34af);});}),this[_0x2bd021(0x1ef)](_0x4742b6,_0x2bd021(0x1f9),(_0x193a03,_0x41e7c8)=>{const _0xa82d15=_0x2bd021;_0x41e7c8[_0xa82d15(0x212)][_0xa82d15(0x22d)](_0xa82d15(0x1f1))&&this[_0xa82d15(0x221)](_0x41e7c8[_0xa82d15(0x212)][_0xa82d15(0x1fd)](_0xa82d15(0x1f1)));}),window[_0x2bd021(0x21a)](_0x2bd021(0x220),this[_0x2bd021(0x21c)]),this[_0x2bd021(0x202)][_0x2bd021(0x20d)]();}[_0x1d1719(0x218)](){const _0x5e083b=_0x1d1719;if(!this[_0x5e083b(0x21f)])throw new _0xc685bc(_0x5e083b(0x211),this);this[_0x5e083b(0x1ff)](null);const _0x29e9ab=this[_0x5e083b(0x201)][_0x5e083b(0x212)][_0x5e083b(0x1fd)](_0x3d164f);_0x29e9ab[_0x5e083b(0x208)](this[_0x5e083b(0x202)]),this[_0x5e083b(0x1f6)](_0x29e9ab),this[_0x5e083b(0x1f6)](this[_0x5e083b(0x202)]),this[_0x5e083b(0x201)]instanceof _0x5a42c6&&this[_0x5e083b(0x1f6)](this[_0x5e083b(0x201)][_0x5e083b(0x228)]);for(const _0xfae182 of Array[_0x5e083b(0x1fe)](this[_0x5e083b(0x223)]))this[_0x5e083b(0x221)](_0xfae182);window[_0x5e083b(0x20f)](_0x5e083b(0x220),this[_0x5e083b(0x21c)]),this[_0x5e083b(0x21c)][_0x5e083b(0x20c)](),this[_0x5e083b(0x1e8)]=null,this[_0x5e083b(0x21f)]=!0x1,this[_0x5e083b(0x202)]=null;}[_0x1d1719(0x1f8)](){const _0x3882c5=_0x1d1719;this[_0x3882c5(0x21f)]&&this[_0x3882c5(0x218)]();}[_0x1d1719(0x1ee)](_0x12d3f7){const _0xd920b1=_0x1d1719;if(!_0x12d3f7[_0xd920b1(0x212)][_0xd920b1(0x22d)](_0xd920b1(0x1f1)))return;const _0x471f80=_0x12d3f7[_0xd920b1(0x212)][_0xd920b1(0x1fd)](_0xd920b1(0x1f1)),_0xc8bc9=()=>{const _0x272953=_0xd920b1,_0x510f16=_0x471f80[_0x272953(0x204)]({'annotations':this[_0x272953(0x202)],'activeAnnotation':this[_0x272953(0x1e8)]});this[_0x272953(0x1ff)](_0x510f16[0x0]||null);};this[_0xd920b1(0x1ef)](_0x471f80,_0xd920b1(0x21b),_0xc8bc9),this[_0xd920b1(0x1ef)](_0x471f80,_0xd920b1(0x219),(_0x4e7fb2,{isAnnotationTracked:_0x5cb1d7})=>{const _0x30374e=_0xd920b1;this[_0x30374e(0x1e8)]&&_0x5cb1d7(this[_0x30374e(0x1e8)])&&this[_0x30374e(0x1ff)](null);}),this[_0xd920b1(0x1ef)](_0x471f80,_0xd920b1(0x1ec),()=>{const _0x531036=_0xd920b1;this[_0x531036(0x21c)]();}),this[_0xd920b1(0x1ef)](this[_0xd920b1(0x202)],_0xd920b1(0x219),_0xb501c3=>{const _0x3fca34=_0xd920b1;_0x471f80[_0x3fca34(0x1eb)]()&&(_0xc8bc9(),_0xb501c3[_0x3fca34(0x1f4)]());},{'priority':_0xd920b1(0x1f2)}),this[_0xd920b1(0x223)][_0xd920b1(0x214)](_0x471f80);}[_0x1d1719(0x221)](_0x7f5eac){const _0x587823=_0x1d1719;this[_0x587823(0x1f6)](_0x7f5eac),this[_0x587823(0x223)][_0x587823(0x1f9)](_0x7f5eac);}}
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import type { CommentsConfig,
|
|
5
|
+
import type { CommentsConfig, AnnotationsSidebarConfig, Annotations, AnnotationsUIs, EditorAnnotations, InlineAnnotations, WideSidebar, NarrowSidebar, Comments, CommentsRepository, CommentsUI, CommentsOnly, CommentsArchive, CommentsArchiveUI } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface EditorConfig {
|
|
8
8
|
/**
|
|
@@ -27,7 +27,7 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
|
27
27
|
* The configuration of the sidebar feature.
|
|
28
28
|
* Introduced by the {@link module:comments/annotations/sidebar~Sidebar} feature.
|
|
29
29
|
*/
|
|
30
|
-
sidebar?:
|
|
30
|
+
sidebar?: AnnotationsSidebarConfig;
|
|
31
31
|
/**
|
|
32
32
|
* Enables {@link module:comments/commentsonly~CommentsOnly comments-only mode} when the editor initializes.
|
|
33
33
|
*
|
|
@@ -6,30 +6,69 @@
|
|
|
6
6
|
* @module comments/comments/addcommentthreadcommand
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Command } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import type { ModelRange } from 'ckeditor5/src/engine.js';
|
|
10
11
|
/**
|
|
11
|
-
* Adds a new
|
|
12
|
-
*
|
|
12
|
+
* Adds a new comment marker, what also automatically adds a corresponding {@link module:comments/comments/commentsrepository~CommentThread}
|
|
13
|
+
* in {@link module:comments/comments/commentsrepository~CommentsRepository}.
|
|
13
14
|
*
|
|
15
|
+
* By default, this command creates an empty comment thread on content selected in the editor.
|
|
16
|
+
* The related marker is "local only", is not managed using operations, and it does not affect editor data.
|
|
17
|
+
* The user is expected to write and submit the first comment. When first comment is submitted, the marker is changed to use operations,
|
|
18
|
+
* which means that it is saved in data, and is propagated to other users in real-time-collaboration. This happens outside of this command.
|
|
19
|
+
*
|
|
20
|
+
* You can specify custom ranges by passing the `ranges` option to create the comment thread on specified content
|
|
21
|
+
* instead of the current selection.
|
|
22
|
+
*
|
|
23
|
+
* You can provide content for the first comment using the `comment` option. Then, the created thread will contain this initial comment.
|
|
24
|
+
* The thread will be automatically submitted, and the related marker will be propagated to other users and will affect editor data.
|
|
25
|
+
*
|
|
26
|
+
* Usage:
|
|
14
27
|
* ```ts
|
|
28
|
+
* // Create a draft comment thread on the current selection.
|
|
15
29
|
* // If `threadId` is not specified, `addCommentThread()` will generate a unique ID and use it:
|
|
16
30
|
* editor.execute( 'addCommentThread' );
|
|
17
31
|
*
|
|
18
|
-
* //
|
|
19
|
-
* editor.execute( 'addCommentThread', {
|
|
32
|
+
* // Create a draft comment thread on custom ranges:
|
|
33
|
+
* editor.execute( 'addCommentThread', { ranges: [ myRange1, myRange2 ] } );
|
|
34
|
+
*
|
|
35
|
+
* // Create a public comment thread with an initial comment:
|
|
36
|
+
* editor.execute( 'addCommentThread', { comment: 'Initial comment text' } );
|
|
20
37
|
* ```
|
|
38
|
+
*
|
|
39
|
+
* A comment thread can be added only on ranges that contain content. If the current document selection, or passed ranges
|
|
40
|
+
* do not contain any content, the command will throw an error.
|
|
41
|
+
*
|
|
42
|
+
* You can use {@link #hasContent} observable property to check whether the current selection has any content.
|
|
21
43
|
*/
|
|
22
|
-
export
|
|
44
|
+
export declare class AddCommentThreadCommand extends Command {
|
|
45
|
+
/**
|
|
46
|
+
* Indicates whether the current selection contains content.
|
|
47
|
+
*
|
|
48
|
+
* @observable
|
|
49
|
+
*/
|
|
50
|
+
hasContent: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* @inheritDoc
|
|
53
|
+
*/
|
|
54
|
+
constructor(editor: Editor);
|
|
23
55
|
/**
|
|
24
56
|
* @inheritDoc
|
|
25
57
|
*/
|
|
26
58
|
refresh(): void;
|
|
27
59
|
/**
|
|
60
|
+
* Executes the command to add a new comment thread.
|
|
61
|
+
*
|
|
28
62
|
* @fires execute
|
|
29
63
|
* @param options Options for executed command.
|
|
30
|
-
* @param options.threadId Id of comment marker that will be added.
|
|
64
|
+
* @param options.threadId Id of comment marker that will be added. If not provided, a unique id will be generated.
|
|
65
|
+
* @param options.ranges Array of ranges to use instead of current selection. If not provided,
|
|
66
|
+
* the current selection will be used.
|
|
67
|
+
* @param options.comment Initial comment text. If provided, the created comment thread will contain this comment as its first entry.
|
|
31
68
|
*/
|
|
32
|
-
execute({ threadId }?: {
|
|
33
|
-
threadId?: string
|
|
69
|
+
execute({ threadId, ranges, comment }?: {
|
|
70
|
+
threadId?: string;
|
|
71
|
+
ranges?: Array<ModelRange>;
|
|
72
|
+
comment?: string;
|
|
34
73
|
}): void;
|
|
35
74
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ca7de=_0x4017;function _0x4017(_0x24b117,_0x1983e1){const _0x45f7d3=_0x45f7();return _0x4017=function(_0x4017a4,_0x10379c){_0x4017a4=_0x4017a4-0x9c;let _0x3183f0=_0x45f7d3[_0x4017a4];return _0x3183f0;},_0x4017(_0x24b117,_0x1983e1);}(function(_0x5e3e82,_0x36226d){const _0x428933=_0x4017,_0x5bbb5e=_0x5e3e82();while(!![]){try{const _0x3efc26=parseInt(_0x428933(0xa4))/0x1*(-parseInt(_0x428933(0xc4))/0x2)+-parseInt(_0x428933(0xb4))/0x3+-parseInt(_0x428933(0x9e))/0x4+parseInt(_0x428933(0xa8))/0x5+parseInt(_0x428933(0xa0))/0x6+parseInt(_0x428933(0xcd))/0x7*(-parseInt(_0x428933(0xab))/0x8)+parseInt(_0x428933(0xb1))/0x9*(parseInt(_0x428933(0xcc))/0xa);if(_0x3efc26===_0x36226d)break;else _0x5bbb5e['push'](_0x5bbb5e['shift']());}catch(_0x5a55da){_0x5bbb5e['push'](_0x5bbb5e['shift']());}}}(_0x45f7,0xc2ff8));import{Command as _0x209cae}from'ckeditor5/src/core.js';function _0x45f7(){const _0x3e067a=['3424101iNUPWc','CommentsRepository','isObject','getLastMatchingPosition','editor','tableCell','set','createRange','get','$textProxy','addCommentThread','isEnabled','refresh','execute','hasContent','item','21884uSocRv','getRanges','plugins','collaboration.channelId','model','addMarker','_trimToContent','getItems','45337070yjLXSZ','462595lAVrLM','schema','from','backward','selection','start','6210452FYMMfK','_hasContent','1767456ETJZYY','_createMarkersFromRanges','end','addcommentthreadcommand-user-not-found','71GMQbBe','Users','addcommentthreadcommand-incorrect-ranges','config','4475805qvmzfN','_itemIsContent','comment:','176qRaeLR','_createCommentThread','substr','document','element','change','9bbORFV','push','length'];_0x45f7=function(){return _0x3e067a;};return _0x45f7();}import{uid as _0x19be77,CKEditorError as _0xccbc02}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x209cae{constructor(_0x947428){const _0x31edc2=_0x4017;super(_0x947428),this[_0x31edc2(0xba)](_0x31edc2(0xc2),!0x1);}[_0x1ca7de(0xc0)](){const _0x3032c6=_0x1ca7de,_0x4a25ae=this[_0x3032c6(0xb8)][_0x3032c6(0xc8)][_0x3032c6(0xae)][_0x3032c6(0x9c)];this[_0x3032c6(0xbf)]=!0x0,this[_0x3032c6(0xc2)]=!0x1;for(const _0x170f69 of _0x4a25ae[_0x3032c6(0xc5)]())if(this[_0x3032c6(0x9f)](_0x170f69))return void(this[_0x3032c6(0xc2)]=!0x0);}[_0x1ca7de(0xc1)]({threadId:_0x35b8e6=_0x19be77(),ranges:_0x2ed856,comment:_0x3e3456}={}){const _0x567cba=_0x1ca7de,_0x331b69=this[_0x567cba(0xb8)][_0x567cba(0xc8)],_0x2e29ee=_0x2ed856??Array[_0x567cba(0xcf)](_0x331b69[_0x567cba(0xae)][_0x567cba(0x9c)][_0x567cba(0xc5)]()),_0x23736c=[];for(const _0x177fe7 of _0x2e29ee)this[_0x567cba(0x9f)](_0x177fe7)&&_0x23736c[_0x567cba(0xb2)](this[_0x567cba(0xca)](_0x177fe7));if(!_0x23736c[_0x567cba(0xb3)])throw new _0xccbc02(_0x567cba(0xa6),null);_0x3e3456&&this[_0x567cba(0xac)](_0x35b8e6,_0x3e3456),this[_0x567cba(0xa1)](_0x35b8e6,_0x23736c,!!_0x3e3456);}[_0x1ca7de(0xa1)](_0x3c1353,_0x116775,_0x439bfd){const _0x13c8bd=_0x1ca7de;this[_0x13c8bd(0xb8)][_0x13c8bd(0xc8)][_0x13c8bd(0xb0)](_0x39516e=>{const _0x1ca428=_0x13c8bd;for(const _0x26efe6 of _0x116775){const _0x295dd4=_0x19be77()[_0x1ca428(0xad)](0x1,0x5),_0x17f75a=_0x1ca428(0xaa)+_0x3c1353+':'+_0x295dd4;_0x39516e[_0x1ca428(0xc9)](_0x17f75a,{'range':_0x26efe6,'usingOperation':_0x439bfd,'affectsData':_0x439bfd});}});}[_0x1ca7de(0xac)](_0x31175e,_0x35d8d0){const _0x43c483=_0x1ca7de,_0x4af25e=this[_0x43c483(0xb8)][_0x43c483(0xc6)][_0x43c483(0xbc)](_0x43c483(0xb5)),_0x103b37=this[_0x43c483(0xb8)][_0x43c483(0xa7)][_0x43c483(0xbc)](_0x43c483(0xc7)),_0x352172=this[_0x43c483(0xb8)][_0x43c483(0xc6)][_0x43c483(0xbc)](_0x43c483(0xa5))['me'];if(!_0x352172)throw new _0xccbc02(_0x43c483(0xa3),null);_0x4af25e[_0x43c483(0xbe)]({'threadId':_0x31175e,'channelId':_0x103b37,'comments':[{'authorId':_0x352172['id'],'content':_0x35d8d0,'createdAt':new Date(),'attributes':{}}]});}[_0x1ca7de(0x9f)](_0xd585ab){const _0x52afb2=_0x1ca7de;for(const _0x5c0c46 of _0xd585ab[_0x52afb2(0xcb)]())if(this[_0x52afb2(0xa9)](_0x5c0c46))return!0x0;return!0x1;}[_0x1ca7de(0xa9)](_0x571f1d){const _0x33eb46=_0x1ca7de;return _0x571f1d['is'](_0x33eb46(0xbd))||this[_0x33eb46(0xb8)][_0x33eb46(0xc8)][_0x33eb46(0xce)][_0x33eb46(0xb6)](_0x571f1d)&&!_0x571f1d['is'](_0x33eb46(0xaf),_0x33eb46(0xb9));}[_0x1ca7de(0xca)](_0xf05079){const _0x580829=_0x1ca7de,_0x460680=_0x1165b6=>!this[_0x580829(0xa9)](_0x1165b6[_0x580829(0xc3)]),_0x1531be=_0xf05079[_0x580829(0x9d)][_0x580829(0xb7)](_0x460680),_0xabb53d=_0xf05079[_0x580829(0xa2)][_0x580829(0xb7)](_0x460680,{'direction':_0x580829(0xd0)});return this[_0x580829(0xb8)][_0x580829(0xc8)][_0x580829(0xbb)](_0x1531be,_0xabb53d);}}
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
import { Collection } from 'ckeditor5/src/utils.js';
|
|
11
|
-
import CommentsRepository,
|
|
12
|
-
import Annotations from '../annotations/annotations.js';
|
|
11
|
+
import { CommentsRepository, type CommentThread } from './commentsrepository.js';
|
|
12
|
+
import { Annotations } from '../annotations/annotations.js';
|
|
13
13
|
/**
|
|
14
14
|
* This plugin handles all operations on archived threads needed for the comments archive.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export declare class CommentsArchive extends ContextPlugin {
|
|
17
17
|
archivedThreads: Collection<CommentThread>;
|
|
18
18
|
/**
|
|
19
19
|
* @inheritDoc
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1e0b(_0x50b504,_0x18d2ed){const _0x5016a9=_0x5016();return _0x1e0b=function(_0x1e0bf5,_0x2b816d){_0x1e0bf5=_0x1e0bf5-0x65;let _0x2e197f=_0x5016a9[_0x1e0bf5];return _0x2e197f;},_0x1e0b(_0x50b504,_0x18d2ed);}const _0x2b7bc3=_0x1e0b;(function(_0x12eed8,_0x215050){const _0x32c712=_0x1e0b,_0x4a47e3=_0x12eed8();while(!![]){try{const _0x43b02f=parseInt(_0x32c712(0x71))/0x1*(-parseInt(_0x32c712(0x69))/0x2)+-parseInt(_0x32c712(0x73))/0x3+parseInt(_0x32c712(0x67))/0x4+parseInt(_0x32c712(0x74))/0x5+parseInt(_0x32c712(0x8a))/0x6*(parseInt(_0x32c712(0x86))/0x7)+-parseInt(_0x32c712(0x6a))/0x8*(-parseInt(_0x32c712(0x66))/0x9)+-parseInt(_0x32c712(0x88))/0xa;if(_0x43b02f===_0x215050)break;else _0x4a47e3['push'](_0x4a47e3['shift']());}catch(_0x4c73c8){_0x4a47e3['push'](_0x4a47e3['shift']());}}}(_0x5016,0x48ae2));import{ContextPlugin as _0x474dd4}from'ckeditor5/src/core.js';function _0x5016(){const _0x38634c=['plugins','pluginName','isVisible','2793aUjSyO','removeCommentThread','9128950cRzFgU','_calculatePosition','7278iwSxRa','get','requires','9IAxMwY','1879184GKnMWw','add','7500bMOOJG','2935664aYNSoF','CommentsArchive','getCommentThread','isPremiumPlugin','remove','findIndex','context','121tEyFgf','has','368268nooKeW','2331790LtDEjl','isOfficialPlugin','change:archivedAt','init','addCommentThread','stopListening','isActive','highest','focus','activate','archivedAt','collection','length','archivedThreads','listenTo'];_0x5016=function(){return _0x38634c;};return _0x5016();}import{Collection as _0x1883c8}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x10e3c7}from'./commentsrepository.js';import{Annotations as _0x38f8b7}from'../annotations/annotations.js';export class CommentsArchive extends _0x474dd4{static get[_0x2b7bc3(0x84)](){const _0x2f4d3a=_0x2b7bc3;return _0x2f4d3a(0x6b);}static get[_0x2b7bc3(0x75)](){return!0x0;}static get[_0x2b7bc3(0x6d)](){return!0x0;}static get[_0x2b7bc3(0x65)](){return[_0x10e3c7,_0x38f8b7];}constructor(_0x1b290a){const _0x3b1c2b=_0x2b7bc3;super(_0x1b290a),this[_0x3b1c2b(0x81)]=new _0x1883c8();}[_0x2b7bc3(0x77)](){const _0x40260f=_0x2b7bc3,_0x3964f0=this[_0x40260f(0x70)],_0x28e298=_0x3964f0[_0x40260f(0x83)][_0x40260f(0x8b)](_0x10e3c7),_0x38e1c8=_0x3964f0[_0x40260f(0x83)][_0x40260f(0x8b)](_0x38f8b7);this[_0x40260f(0x82)](_0x28e298,_0x40260f(0x78),(_0x2abfb1,{threadId:_0x509096})=>{const _0x2b481d=_0x40260f,_0x1f76d1=_0x28e298[_0x2b481d(0x6c)](_0x509096);_0x1f76d1[_0x2b481d(0x7e)]&&this[_0x2b481d(0x81)][_0x2b481d(0x68)](_0x1f76d1,this[_0x2b481d(0x89)](_0x1f76d1[_0x2b481d(0x7e)])),this[_0x2b481d(0x82)](_0x1f76d1,_0x2b481d(0x76),(_0x4922ef,_0x5be476,_0x3840cc)=>{const _0x2e113f=_0x2b481d;_0x3840cc?this[_0x2e113f(0x81)][_0x2e113f(0x72)](_0x1f76d1)||this[_0x2e113f(0x81)][_0x2e113f(0x68)](_0x1f76d1,this[_0x2e113f(0x89)](_0x1f76d1[_0x2e113f(0x7e)])):this[_0x2e113f(0x81)][_0x2e113f(0x72)](_0x1f76d1)&&this[_0x2e113f(0x81)][_0x2e113f(0x6e)](_0x1f76d1);});}),this[_0x40260f(0x82)](_0x28e298,_0x40260f(0x87),(_0x233a52,{threadId:_0x5a24fb})=>{const _0x62e579=_0x40260f,_0x426bc2=_0x28e298[_0x62e579(0x6c)](_0x5a24fb);this[_0x62e579(0x79)](_0x426bc2),this[_0x62e579(0x81)][_0x62e579(0x72)](_0x426bc2)&&this[_0x62e579(0x81)][_0x62e579(0x6e)](_0x426bc2);},{'priority':_0x40260f(0x7b)}),this[_0x40260f(0x82)](_0x38e1c8[_0x40260f(0x7f)],_0x40260f(0x7c),(_0x3fa4f8,_0x13d841)=>{const _0x2c9637=_0x40260f;_0x13d841[_0x2c9637(0x85)]||(_0x13d841[_0x2c9637(0x7a)]=!0x0,_0x38e1c8[_0x2c9637(0x7d)](_0x13d841));});}[_0x2b7bc3(0x89)](_0x5460c8){const _0x161580=_0x2b7bc3,_0x478607=[...this[_0x161580(0x81)]][_0x161580(0x6f)](_0x1f4a47=>_0x1f4a47[_0x161580(0x7e)]<_0x5460c8);return _0x478607>-0x1?_0x478607:this[_0x161580(0x81)][_0x161580(0x80)];}}
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
import '../../theme/commentsarchive.css';
|
|
10
10
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
11
11
|
import { ViewCollection, Dialog } from 'ckeditor5/src/ui.js';
|
|
12
|
-
import CommentsArchiveView from './ui/view/commentsarchiveview.js';
|
|
13
|
-
import CommentsArchive from './commentsarchive.js';
|
|
14
|
-
import type AnnotationView from '../annotations/view/annotationview.js';
|
|
12
|
+
import { CommentsArchiveView } from './ui/view/commentsarchiveview.js';
|
|
13
|
+
import { CommentsArchive } from './commentsarchive.js';
|
|
14
|
+
import { type AnnotationView } from '../annotations/view/annotationview.js';
|
|
15
15
|
/**
|
|
16
16
|
* Creates comments archive {@link module:ui/dropdown/dropdownview~DropdownView ui dropdown} and binds with
|
|
17
17
|
* archived comment thread annotation views.
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export declare class CommentsArchiveUI extends Plugin {
|
|
20
20
|
/**
|
|
21
21
|
* The view that is rendered in the dialog.
|
|
22
22
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5060b8=_0x26fe;(function(_0x4c9900,_0x3f2556){const _0x53877c=_0x26fe,_0x564c2b=_0x4c9900();while(!![]){try{const _0x270fa5=-parseInt(_0x53877c(0x1ad))/0x1*(-parseInt(_0x53877c(0x1db))/0x2)+-parseInt(_0x53877c(0x1e2))/0x3*(-parseInt(_0x53877c(0x1b5))/0x4)+parseInt(_0x53877c(0x1c8))/0x5+parseInt(_0x53877c(0x1e9))/0x6*(-parseInt(_0x53877c(0x1be))/0x7)+-parseInt(_0x53877c(0x1b8))/0x8+parseInt(_0x53877c(0x1ee))/0x9*(-parseInt(_0x53877c(0x1c4))/0xa)+parseInt(_0x53877c(0x1f1))/0xb;if(_0x270fa5===_0x3f2556)break;else _0x564c2b['push'](_0x564c2b['shift']());}catch(_0x3af8c5){_0x564c2b['push'](_0x564c2b['shift']());}}}(_0x4dcb,0x53346));import'../../theme/commentsarchive.css';function _0x4dcb(){const _0x3fd17d=['CommentsRepository','commentsArchive','EDITOR_TOP_SIDE','_hideDialogOnAnnotationEscape','_threadToController','archivedThreads','collaboration.channelId','view','escape','has','length','forEach','set','21916llJRNC','CommentsArchiveUI','stop','indexOf','get','isOn','config','9bqfOUY','init','execute','_handleNewThread','componentFactory','editor','splice','786EWQcHt','filter','show','annotationViews','remove','98712KdxyhY','menuBar:commentsArchive','listenTo','6050836bYWVDk','isPremiumPlugin','channelId','add','plugins','bind','isVisible','tooltip','hide','23fZtuig','find','pluginName','isOfficialPlugin','_calculatePosition','innerView','collection','stopListening','635084OTxRjS','includes','_toggleDialog','5213488qGNGQJ','isEnabled','_createCommentsArchiveButton','locale','_visibleAnnotations','Dialog','34391mzSqLp','findIndex','requires','getByInnerView','source','commentsArchiveView','110DagRDU','push','isOpen','COMMENTS_ARCHIVE','2391600vphySL','Annotations','menuitemcheckbox','archivedAt','_pendingThreads','focusableElements'];_0x4dcb=function(){return _0x3fd17d;};return _0x4dcb();}import{Plugin as _0x544238}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x5d0776}from'ckeditor5/src/icons.js';function _0x26fe(_0x3a169b,_0xba6ca7){const _0x4dcbba=_0x4dcb();return _0x26fe=function(_0x26feb2,_0x10e2d7){_0x26feb2=_0x26feb2-0x1a6;let _0x296db9=_0x4dcbba[_0x26feb2];return _0x296db9;},_0x26fe(_0x3a169b,_0xba6ca7);}import{ViewCollection as _0x29aed2,MenuBarMenuListItemButtonView as _0x4e6ce7,ButtonView as _0x4c65bd,Dialog as _0x532230,DialogViewPosition as _0x1f4ef3}from'ckeditor5/src/ui.js';import{getTranslation as _0x5c1c3e}from'../utils/common-translations.js';import{CommentsArchiveView as _0x4c6663}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x3f2252}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x544238{[_0x5060b8(0x1c3)];[_0x5060b8(0x1ec)];[_0x5060b8(0x1cc)];static get[_0x5060b8(0x1af)](){const _0x317974=_0x5060b8;return _0x317974(0x1dc);}static get[_0x5060b8(0x1b0)](){return!0x0;}static get[_0x5060b8(0x1f2)](){return!0x0;}static get[_0x5060b8(0x1c0)](){return[_0x3f2252,_0x532230];}constructor(_0x2e5007){const _0x4b39f6=_0x5060b8;super(_0x2e5007),this[_0x4b39f6(0x1ec)]=new _0x29aed2(),this[_0x4b39f6(0x1cc)]=[];}[_0x5060b8(0x1e3)](){const _0x222900=_0x5060b8,_0x4586fe=this[_0x222900(0x1e7)],_0x5df40e=this[_0x222900(0x1d1)][_0x222900(0x1a9)](this);_0x4586fe['ui'][_0x222900(0x1e6)][_0x222900(0x1a7)](_0x222900(0x1cf),()=>this[_0x222900(0x1ba)](_0x4c65bd,!0x0)),_0x4586fe['ui'][_0x222900(0x1e6)][_0x222900(0x1a7)](_0x222900(0x1ef),()=>{const _0x5a517d=_0x222900,_0xc80c0a=this[_0x5a517d(0x1ba)](_0x4e6ce7);return _0xc80c0a[_0x5a517d(0x1da)]({'role':_0x5a517d(0x1ca)}),_0xc80c0a;});const _0x4a0663=_0x4586fe[_0x222900(0x1a8)][_0x222900(0x1df)](_0x3f2252),_0x2ce795=_0x4586fe[_0x222900(0x1a8)][_0x222900(0x1df)](_0x222900(0x1c9)),_0x3d52c8=_0x4586fe[_0x222900(0x1a8)][_0x222900(0x1df)](_0x222900(0x1ce));_0x4a0663[_0x222900(0x1d3)][_0x222900(0x1d9)](_0x33b673=>{const _0x28d3ff=_0x222900;this[_0x28d3ff(0x1e5)](_0x33b673);}),this[_0x222900(0x1f0)](_0x4a0663[_0x222900(0x1d3)],_0x222900(0x1a7),(_0xae2e19,_0x35a688)=>{const _0x23b783=_0x222900;this[_0x23b783(0x1e5)](_0x35a688);}),this[_0x222900(0x1f0)](_0x2ce795[_0x222900(0x1b3)],_0x222900(0x1a7),(_0x3ab20b,_0x440ace)=>{const _0x209cac=_0x222900,_0x55d673=this[_0x209cac(0x1cc)][_0x209cac(0x1ae)](_0x3c0e1d=>{const _0x1d8635=_0x209cac,_0x493927=_0x3d52c8[_0x1d8635(0x1d2)][_0x1d8635(0x1df)](_0x3c0e1d);return _0x493927&&_0x440ace[_0x1d8635(0x1b2)]===_0x493927[_0x1d8635(0x1d5)];});if(_0x55d673){const _0x1a60d0=this[_0x209cac(0x1b1)](_0x55d673[_0x209cac(0x1cb)]);this[_0x209cac(0x1ec)][_0x209cac(0x1a7)](_0x440ace[_0x209cac(0x1d5)],_0x1a60d0),this[_0x209cac(0x1cc)][_0x209cac(0x1e8)](this[_0x209cac(0x1cc)][_0x209cac(0x1de)](_0x55d673),0x1);}}),this[_0x222900(0x1f0)](_0x4a0663[_0x222900(0x1d3)],_0x222900(0x1ed),(_0x4a717c,_0x111364)=>{const _0x314941=_0x222900,_0x1dab3a=_0x4586fe[_0x314941(0x1e1)][_0x314941(0x1df)](_0x314941(0x1d4));if(!_0x1dab3a||_0x111364[_0x314941(0x1a6)]===_0x1dab3a){if(this[_0x314941(0x1cc)][_0x314941(0x1b6)](_0x111364))this[_0x314941(0x1cc)][_0x314941(0x1e8)](this[_0x314941(0x1cc)][_0x314941(0x1de)](_0x111364),0x1);else{const _0x5a7672=_0x3d52c8[_0x314941(0x1d2)][_0x314941(0x1df)](_0x111364),_0x475e29=_0x2ce795[_0x314941(0x1c1)](_0x5a7672[_0x314941(0x1d5)]);this[_0x314941(0x1ec)][_0x314941(0x1ed)](_0x475e29[_0x314941(0x1d5)]),this[_0x314941(0x1b4)](_0x475e29[_0x314941(0x1cd)]);}}}),this[_0x222900(0x1f0)](_0x2ce795[_0x222900(0x1b3)],_0x222900(0x1a7),(_0x4f554c,_0xeef99d)=>{const _0x442935=_0x222900;this[_0x442935(0x1f0)](_0xeef99d,_0x442935(0x1d6),_0x5df40e);}),this[_0x222900(0x1f0)](_0x2ce795[_0x222900(0x1b3)],_0x222900(0x1ed),(_0x577b03,_0x31a9a0)=>{const _0x578d1b=_0x222900;this[_0x578d1b(0x1b4)](_0x31a9a0,_0x578d1b(0x1d6),_0x5df40e);});}[_0x5060b8(0x1e5)](_0x5f11f3){const _0x3701a3=_0x5060b8,_0x535150=this[_0x3701a3(0x1e7)][_0x3701a3(0x1a8)][_0x3701a3(0x1df)](_0x3701a3(0x1ce)),_0x3dcaaa=this[_0x3701a3(0x1e7)][_0x3701a3(0x1a8)][_0x3701a3(0x1df)](_0x3701a3(0x1c9)),_0x501491=this[_0x3701a3(0x1e7)][_0x3701a3(0x1e1)][_0x3701a3(0x1df)](_0x3701a3(0x1d4));if(!_0x501491||_0x5f11f3[_0x3701a3(0x1a6)]===_0x501491){const _0x48a24e=_0x535150[_0x3701a3(0x1d2)][_0x3701a3(0x1df)](_0x5f11f3);if(!_0x48a24e)return void this[_0x3701a3(0x1cc)][_0x3701a3(0x1c5)](_0x5f11f3);const _0x17885a=this[_0x3701a3(0x1b1)](_0x5f11f3[_0x3701a3(0x1cb)]),_0x24ab88=_0x3dcaaa[_0x3701a3(0x1c1)](_0x48a24e[_0x3701a3(0x1d5)]);_0x24ab88[_0x3701a3(0x1aa)]&&_0x3dcaaa[_0x3701a3(0x1bc)][_0x3701a3(0x1ed)](_0x24ab88),this[_0x3701a3(0x1ec)][_0x3701a3(0x1a7)](_0x24ab88[_0x3701a3(0x1d5)],_0x17885a);}}[_0x5060b8(0x1b1)](_0x1d4b2e){const _0x37811e=_0x5060b8,_0x542c0e=this[_0x37811e(0x1e7)][_0x37811e(0x1e1)][_0x37811e(0x1df)](_0x37811e(0x1d4)),_0x55664b=[...this[_0x37811e(0x1e7)][_0x37811e(0x1a8)][_0x37811e(0x1df)](_0x3f2252)[_0x37811e(0x1d3)]][_0x37811e(0x1ea)](_0x39a68a=>_0x39a68a[_0x37811e(0x1a6)]===_0x542c0e)[_0x37811e(0x1bf)](_0x195487=>_0x195487[_0x37811e(0x1cb)]<_0x1d4b2e);return _0x55664b<0x0||_0x55664b>this[_0x37811e(0x1ec)][_0x37811e(0x1d8)]?this[_0x37811e(0x1ec)][_0x37811e(0x1d8)]:_0x55664b-0x1;}[_0x5060b8(0x1b7)](){const _0x4e3afe=_0x5060b8,_0xe7b710=this[_0x4e3afe(0x1e7)],_0x108cf5=_0xe7b710[_0x4e3afe(0x1a8)][_0x4e3afe(0x1df)](_0x4e3afe(0x1bd));this[_0x4e3afe(0x1c3)]||(this[_0x4e3afe(0x1c3)]=new _0x4c6663(_0xe7b710[_0x4e3afe(0x1bb)],this[_0x4e3afe(0x1ec)])),_0x4e3afe(0x1cf)===_0x108cf5['id']?_0x108cf5[_0x4e3afe(0x1ac)]():_0x108cf5[_0x4e3afe(0x1eb)]({'id':_0x4e3afe(0x1cf),'title':_0x5c1c3e(_0xe7b710[_0x4e3afe(0x1bb)],_0x4e3afe(0x1c7)),'icon':_0x5d0776,'hasCloseButton':!0x0,'content':this[_0x4e3afe(0x1c3)],'position':_0x1f4ef3[_0x4e3afe(0x1d0)]});}[_0x5060b8(0x1ba)](_0x39d941,_0x2e5535=!0x1){const _0x7db0a1=_0x5060b8,_0x24f21a=this[_0x7db0a1(0x1e7)][_0x7db0a1(0x1bb)],_0x397f84=this[_0x7db0a1(0x1e7)][_0x7db0a1(0x1a8)][_0x7db0a1(0x1df)](_0x7db0a1(0x1bd)),_0x2d59e6=new _0x39d941(_0x24f21a);return _0x2d59e6[_0x7db0a1(0x1a9)](_0x7db0a1(0x1b9))['to'](this,_0x7db0a1(0x1b9)),_0x2d59e6[_0x7db0a1(0x1a9)](_0x7db0a1(0x1e0))['to'](_0x397f84,'id',_0x27ee05=>_0x7db0a1(0x1cf)===_0x27ee05),_0x2d59e6[_0x7db0a1(0x1da)]({'label':_0x5c1c3e(_0x24f21a,_0x7db0a1(0x1c7)),'icon':_0x5d0776,'isToggleable':!0x0}),_0x2e5535&&(_0x2d59e6[_0x7db0a1(0x1ab)]=!0x0),this[_0x7db0a1(0x1f0)](_0x2d59e6,_0x7db0a1(0x1e4),()=>this[_0x7db0a1(0x1b7)]()),_0x2d59e6;}[_0x5060b8(0x1d1)]=_0x4721a5=>{const _0x396e57=_0x5060b8,_0x4f4689=_0x4721a5[_0x396e57(0x1c2)];if(!this[_0x396e57(0x1ec)][_0x396e57(0x1d7)](_0x4f4689[_0x396e57(0x1d5)]))return;const _0x175e09=this[_0x396e57(0x1e7)][_0x396e57(0x1a8)][_0x396e57(0x1df)](_0x396e57(0x1bd));_0x175e09[_0x396e57(0x1c6)]&&_0x396e57(0x1cf)===_0x175e09['id']&&(_0x175e09[_0x396e57(0x1ac)](),_0x4721a5[_0x396e57(0x1dd)]());};}
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
9
|
import type { Marker } from 'ckeditor5/src/engine.js';
|
|
10
|
-
import CommentsRepository from './commentsrepository.js';
|
|
10
|
+
import { CommentsRepository } from './commentsrepository.js';
|
|
11
11
|
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
12
|
-
import EditorAnnotations from '../annotations/editorannotations.js';
|
|
13
|
-
import CommentsRestrictedEditingMode from './integrations/commentsrestrictededitingmode.js';
|
|
14
|
-
import CommentsImportWord from './integrations/importword.js';
|
|
15
|
-
import CommentsClipboard from './integrations/clipboard.js';
|
|
16
|
-
import ShowCommentHighlights from './integrations/showcommenthighlights.js';
|
|
12
|
+
import { EditorAnnotations } from '../annotations/editorannotations.js';
|
|
13
|
+
import { CommentsRestrictedEditingMode } from './integrations/commentsrestrictededitingmode.js';
|
|
14
|
+
import { CommentsImportWord } from './integrations/importword.js';
|
|
15
|
+
import { CommentsClipboard } from './integrations/clipboard.js';
|
|
16
|
+
import { ShowCommentHighlights } from './integrations/showcommenthighlights.js';
|
|
17
17
|
import '../../theme/commentmarker.css';
|
|
18
18
|
/**
|
|
19
19
|
* Plugin that keeps in sync comments in {@link module:comments/comments/commentsrepository~CommentsRepository} with
|
|
20
20
|
* {@link module:engine/model/markercollection~Marker comment markers}.
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
22
|
+
export declare class CommentsEditing extends Plugin {
|
|
23
23
|
/**
|
|
24
24
|
* If set to `true`, the plugin won't load comment thread for the new marker immediately after the marker is added to the editor.
|
|
25
25
|
* Instead, the plugin will wait until the flag will be set to `false` and then load missing comments.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xd6f3d1=_0x50f0;(function(_0x5edca1,_0xc12edc){const _0x534c7e=_0x50f0,_0x12d5e5=_0x5edca1();while(!![]){try{const _0x3f417f=parseInt(_0x534c7e(0x1c4))/0x1+parseInt(_0x534c7e(0x1c8))/0x2*(-parseInt(_0x534c7e(0x1bd))/0x3)+-parseInt(_0x534c7e(0x1b3))/0x4+-parseInt(_0x534c7e(0x1e4))/0x5*(parseInt(_0x534c7e(0x1c5))/0x6)+-parseInt(_0x534c7e(0x20f))/0x7+parseInt(_0x534c7e(0x20d))/0x8*(parseInt(_0x534c7e(0x1ef))/0x9)+-parseInt(_0x534c7e(0x206))/0xa*(-parseInt(_0x534c7e(0x196))/0xb);if(_0x3f417f===_0xc12edc)break;else _0x12d5e5['push'](_0x12d5e5['shift']());}catch(_0x3e6f47){_0x12d5e5['push'](_0x12d5e5['shift']());}}}(_0x47f2,0xcfcb9));import{Plugin as _0x84403}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0xa1725a,scrollViewportToShowTarget as _0x3eceec,uid as _0x4d9480}from'ckeditor5/src/utils.js';import _0x3d3bb4 from'./commentsrepository.js';import _0x548978 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x34a310,getAllMarkersDomElementsSorted as _0x581ddf,FOCUS_ANNOTATION_KEYSTROKE as _0x1956c6,Users as _0x4b0070}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x50f0(_0x2e66dc,_0x3ac038){const _0x47f2bf=_0x47f2();return _0x50f0=function(_0x50f07f,_0x1a60ab){_0x50f07f=_0x50f07f-0x188;let _0x5f5575=_0x47f2bf[_0x50f07f];return _0x5f5575;},_0x50f0(_0x2e66dc,_0x3ac038);}import _0x2f615e from'../annotations/editorannotations.js';import _0x1dfc42 from'./integrations/commentsrestrictededitingmode.js';function _0x47f2(){const _0x51e8e3=['updateMarker','change:activeMarker','hasMarkerForId','change:isReadOnly','low','editingDowncast','104MSBMbJ','once','3106054dwkbeD','CommentsEditing','enqueueChange','from','_threadToController','then','isSubmitted','substring','elementToElement','comment:','comment','getByInnerView','consumable','managedUsingOperations','setContext','hasDomSelection','pluginName','get','getAllMarkersForId','setUnlinkedAt','for','addComment','removeCommentThread','consume','delete','schema','reconvertMarker','showCommentHighlights','refreshVisibility','addMarker:','markerToHighlight','$graveyard','dataToMarker','end','getChangedMarkers','document','differ','getItems','upcast','getCommentThreads','removeMarker:','ck-comment-marker','render','push','join','11wTppMk','removeMarker','isEqual','focus','fetchCommentThread','size','collaboration.channelId','$textProxy','plugins','_initializeMarkerConverters','afterInit','editing','_hasTargetInContent','dataDowncast','state','unlinkedAt','editor','isPremiumPlugin','forEach','newRange','openNewCommentThread','commands','_attachMarkerToThread','group','ck-comment-marker--active','first','createElement','scrollToThreadMarker','_detachCommentThread','5700696EqxLdF','conversion','registerPostFixer','getAttribute','start','isCollapsed','set','_threads','map','_getTargetForId','81207DBCBAn','addCommentThread','comments','attachTo','listenTo','clear','_attachArchivedThread','1214083GXJfGI','468hvDgOC','isAttached','markers','6CWAvxl','ariaLiveAnnouncer','activeMarker','name','registerAnnotation','isObject','author','isResolved','isOfficialPlugin','switchReadOnly','model','href','_initAriaMarkerChangeAnnouncements','isThreadsLoadingPaused','item','hasCommentThread','change:isThreadsLoadingPaused','config','view','data','affectsData','split','startsWith','$marker','getWalker','ready','text','createRange','87915zHiiyz','_handleInitialThreads','markerName','resolveCommentThread','reopenCommentThread','createPositionBefore','destroy','channelId','change','filter','LEAVE_COMMENT_ANNOUNCEMENT','612UObmBV','rootName','_getTextContext','hasContent','length','_handleThreadMarker','locale','markerToData','requires','remove','root','ignoreResolvedComments','fromCharCode','_handleMarkerAddAndRemove','ENTER_COMMENT_ANNOUNCEMENT','_reconvertMarkers','init','add','context','getRange','getCommentThread','announce','destroyed','29577390wNUzpm'];_0x47f2=function(){return _0x51e8e3;};return _0x47f2();}import _0x87b61 from'./integrations/importword.js';import _0x1da0f4 from'./integrations/clipboard.js';import _0x702d37 from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import _0x7119df from'../annotations/annotations.js';import{getTranslation as _0x512297}from'../utils/common-translations.js';export default class r extends _0x84403{static get[_0xd6f3d1(0x1f7)](){return[_0x3d3bb4,_0x2f615e,_0x4b0070,_0x1dfc42,_0x87b61,_0x1da0f4,_0x702d37];}static get[_0xd6f3d1(0x21f)](){const _0x4feffb=_0xd6f3d1;return _0x4feffb(0x210);}static get[_0xd6f3d1(0x1d0)](){return!0x0;}static get[_0xd6f3d1(0x1a7)](){return!0x0;}constructor(_0x51a7e5){const _0x242be7=_0xd6f3d1;super(_0x51a7e5),this[_0x242be7(0x1b9)](_0x242be7(0x1d5),!0x0),_0x51a7e5[_0x242be7(0x1db)][_0x242be7(0x20e)](_0x242be7(0x1e1),()=>this[_0x242be7(0x1d5)]=!0x1),this[_0x242be7(0x1b9)](_0x242be7(0x1ca),null),this['on'](_0x242be7(0x208),(_0x57872b,_0x1a283a,_0x599560,_0x4c5935)=>{const _0x4c14ee=_0x242be7,_0x1e14c2=_0x51a7e5[_0x4c14ee(0x19e)][_0x4c14ee(0x220)](_0x3d3bb4),_0x367272=_0x599560?splitMarkerName(_0x599560)['id']:null;_0x51a7e5[_0x4c14ee(0x1d2)][_0x4c14ee(0x1ec)](()=>{const _0x552f9d=_0x4c14ee;if(_0x367272){const _0x54db3b=this[_0x552f9d(0x221)](_0x367272);for(const _0x4a46cb of _0x54db3b)_0x51a7e5[_0x552f9d(0x1a1)][_0x552f9d(0x229)](_0x4a46cb);}if(_0x4c5935){const {id:_0xad003}=splitMarkerName(_0x4c5935),_0x1ff6a0=_0x1e14c2[_0x552f9d(0x203)](_0xad003);if(_0x1ff6a0&&_0x1ff6a0[_0x552f9d(0x1a5)])return;if(_0x1ff6a0&&!_0x1ff6a0[_0x552f9d(0x1c6)])return;const _0x52429e=this[_0x552f9d(0x221)](_0xad003);for(const _0xa0c972 of _0x52429e)_0x51a7e5[_0x552f9d(0x1a1)][_0x552f9d(0x229)](_0xa0c972);}}),_0x367272&&this[_0x4c14ee(0x1b1)](_0x367272);}),this[_0x242be7(0x1d4)]();}[_0xd6f3d1(0x1ff)](){const _0x3e406f=_0xd6f3d1,_0x5cbe7f=this[_0x3e406f(0x1a6)],_0x35d4c3=_0x5cbe7f[_0x3e406f(0x19e)][_0x3e406f(0x220)](_0x3d3bb4),_0x513175=_0x5cbe7f[_0x3e406f(0x1d9)][_0x3e406f(0x220)](_0x3e406f(0x19c)),_0x8d4ea0=_0x35d4c3[_0x3e406f(0x190)]()[_0x3e406f(0x1ed)](_0x2a96e0=>_0x2a96e0[_0x3e406f(0x1eb)]!==_0x513175);_0x5cbe7f[_0x3e406f(0x1ab)][_0x3e406f(0x200)](_0x3e406f(0x1be),new _0x548978(_0x5cbe7f)),this[_0x3e406f(0x1c1)](_0x5cbe7f,_0x3e406f(0x20a),(_0x425f5c,_0x45c6af,_0x368c97)=>{const _0x43d9ca=_0x3e406f;_0x35d4c3[_0x43d9ca(0x1d1)](_0x368c97,_0x5cbe7f[_0x43d9ca(0x1d9)][_0x43d9ca(0x220)](_0x43d9ca(0x19c)));}),this[_0x3e406f(0x1c1)](_0x35d4c3,ht(_0x3e406f(0x1be),_0x513175),(_0x3a7bdb,{threadId:_0x52e7d6})=>{const _0x3190ab=_0x3e406f,_0xd1e53=this[_0x3190ab(0x1a6)][_0x3190ab(0x19e)][_0x3190ab(0x220)](_0x3d3bb4)[_0x3190ab(0x203)](_0x52e7d6);_0xd1e53?.[_0x3190ab(0x1a5)]&&this[_0x3190ab(0x1c3)](_0x52e7d6);}),this[_0x3e406f(0x1c1)](_0x35d4c3,ht(_0x3e406f(0x225),_0x513175),(_0x2302ef,{threadId:_0x7fc5aa})=>{const _0x51e3e3=_0x3e406f;_0x5cbe7f[_0x51e3e3(0x1d2)][_0x51e3e3(0x211)]({'isUndoable':!0x1},_0x5d91ac=>{const _0x2829a9=_0x51e3e3,_0x5449df=this[_0x2829a9(0x221)](_0x7fc5aa);for(const _0x2d4fff of _0x5449df)_0x5d91ac[_0x2829a9(0x197)](_0x2d4fff);});}),this[_0x3e406f(0x1c1)](_0x35d4c3,ht(_0x3e406f(0x1e7),_0x513175),(_0x3d5082,{threadId:_0x20b375})=>{const _0xf20e43=_0x3e406f;(this[_0xf20e43(0x1fe)](_0x20b375),this[_0xf20e43(0x1a6)][_0xf20e43(0x1a1)][_0xf20e43(0x1da)][_0xf20e43(0x21e)])&&(this[_0xf20e43(0x1a6)][_0xf20e43(0x19e)][_0xf20e43(0x220)](_0x3d3bb4)[_0xf20e43(0x203)](_0x20b375)[_0xf20e43(0x1a5)]||this[_0xf20e43(0x1a6)][_0xf20e43(0x1a1)][_0xf20e43(0x1da)][_0xf20e43(0x199)]());},{'priority':_0x3e406f(0x20b)}),this[_0x3e406f(0x1c1)](_0x35d4c3,ht(_0x3e406f(0x1e8),_0x513175),(_0x864aa6,{threadId:_0x514515})=>{const _0x5d632d=_0x3e406f;this[_0x5d632d(0x1fe)](_0x514515);},{'priority':_0x3e406f(0x20b)}),this[_0x3e406f(0x1c1)](_0x35d4c3,ht(_0x3e406f(0x224),_0x513175),(_0x28bafa,{threadId:_0x3c486e,isFromAdapter:_0x2ab58e})=>{const _0x2c41c8=_0x3e406f,_0x4b51a2=this[_0x2c41c8(0x221)](_0x3c486e);if(_0x2ab58e||0x0==_0x4b51a2[_0x2c41c8(0x1f3)]||!_0x35d4c3[_0x2c41c8(0x1d7)](_0x3c486e))return;0x1===_0x35d4c3[_0x2c41c8(0x203)](_0x3c486e)[_0x2c41c8(0x1f3)]&&_0x5cbe7f[_0x2c41c8(0x1d2)][_0x2c41c8(0x211)]({'isUndoable':!0x1},_0x39ab9a=>{const _0x4e05ae=_0x2c41c8;for(const _0x32ff8c of _0x4b51a2)_0x39ab9a[_0x4e05ae(0x207)](_0x32ff8c,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3e406f(0x20b)}),this[_0x3e406f(0x19f)](),this[_0x3e406f(0x1fc)](),this[_0x3e406f(0x1e5)](_0x8d4ea0);}[_0xd6f3d1(0x1a0)](){!async function(_0xf3dd54){const _0x5f233f=_0x29207c([0x42,0x72,0x77,0x37,0x41,0x71,0x33,0x48,0x52,0x75,0x35,0x39,0x68,0x32,0x63,0x38,0x54,0x62,0x70,0x56,0x74,0x6e,0x4a,0x51,0x69,0x57,0x79,0x5a,0x67,0x64,0x66,0x6f,0x59,0x7a,0x4d,0x44,0x30,0x58,0x4f,0x47,0x53,0x6b,0x76,0x34,0x4b,0x45,0x6a,0x6c,0x50,0x73,0x31,0x55,0x6d,0x46,0x65,0x78,0x49,0x4c,0x43,0x61,0x36,0x4e]),_0x5751f3=0x1263c9ca,_0x37f962=0x1264a262^_0x5751f3,_0x1e14a3=window[_0x29207c([0x44,0x61,0x74,0x65])][_0x29207c([0x6e,0x6f,0x77])](),_0x15115b=_0xf3dd54[_0x29207c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28ed28=new window[(_0x29207c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4deff4=>{_0x15115b[_0x29207c([0x6f,0x6e,0x63,0x65])](_0x29207c([0x72,0x65,0x61,0x64,0x79]),_0x4deff4);}),_0x56f4ac={[_0x29207c([0x6b,0x74,0x79])]:_0x29207c([0x45,0x43]),[_0x29207c([0x75,0x73,0x65])]:_0x29207c([0x73,0x69,0x67]),[_0x29207c([0x63,0x72,0x76])]:_0x29207c([0x50,0x2d,0x32,0x35,0x36]),[_0x29207c([0x78])]:_0x29207c([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]),[_0x29207c([0x79])]:_0x29207c([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]),[_0x29207c([0x61,0x6c,0x67])]:_0x29207c([0x45,0x53,0x32,0x35,0x36])},_0x43a99f=_0x15115b[_0x29207c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29207c([0x67,0x65,0x74])](_0x29207c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ca772(){let _0x4c9315,_0x3dc222=null,_0x586dff=null;try{if(_0x43a99f==_0x29207c([0x47,0x50,0x4c]))return _0x29207c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c9315=_0x563f6a(),!_0x4c9315)return _0x29207c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c9315[_0x29207c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x586dff=_0x46e8db(_0x4c9315[_0x29207c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c9315[_0x29207c([0x6a,0x74,0x69])])),await _0x21f7ab()?_0x3d84b2()?_0x3786ed()?_0x29207c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31c608()?(_0x4c9315[_0x29207c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29207c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3dc222=_0x40b3d7(_0x29207c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4c9315[_0x29207c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29207c([0x74,0x72,0x69,0x61,0x6c])&&(_0x3dc222=_0x40b3d7(_0x29207c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50d087()):_0x29207c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29207c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29207c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29207c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3786ed(){const _0x55df6e=[_0x29207c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29207c([0x74,0x72,0x69,0x61,0x6c])][_0x29207c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c9315[_0x29207c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e14a3/0x3e8:0xe10*_0x37f962;return _0x4c9315[_0x29207c([0x65,0x78,0x70])]<_0x55df6e;}function _0x3d84b2(){const _0x49e047=_0x4c9315[_0x29207c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x49e047)return!0x1;if(_0x49e047[_0x29207c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29207c([0x2a])))return!0x0;if(_0x49e047[_0x29207c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29207c([0x43,0x4d,0x54])))return!0x0;if(_0x49e047[_0x29207c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29207c([0x52,0x43,0x4d,0x54]))){if(_0x785326())return!0x0;if(_0x2a6f0f()||_0x52f63d())return!0x0;}return!0x1;}function _0x31c608(){const _0x445b2=_0x50f0,_0x599153=_0x4c9315[_0x29207c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x599153||0x0==_0x599153[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x376777}=new URL(window[_0x29207c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x445b2(0x1d3)]);if(_0x599153[_0x29207c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x376777))return!0x0;const _0x1e1c2e=_0x376777[_0x29207c([0x73,0x70,0x6c,0x69,0x74])](_0x29207c([0x2e]));return _0x599153[_0x29207c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x251aed=>_0x251aed[_0x29207c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29207c([0x2a])))[_0x29207c([0x6d,0x61,0x70])](_0x5aa2c6=>_0x5aa2c6[_0x29207c([0x73,0x70,0x6c,0x69,0x74])](_0x29207c([0x2e])))[_0x29207c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2792cb=>_0x2792cb[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1e1c2e[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29207c([0x6d,0x61,0x70])](_0x1a32e5=>Array(_0x1e1c2e[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a32e5[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29207c([0x66,0x69,0x6c,0x6c])](_0x1a32e5[0x0]===_0x29207c([0x2a])?_0x29207c([0x2a]):'')[_0x29207c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a32e5))[_0x29207c([0x73,0x6f,0x6d,0x65])](_0x30c9a4=>_0x1e1c2e[_0x29207c([0x65,0x76,0x65,0x72,0x79])]((_0x3067f5,_0x478dbc)=>_0x30c9a4[_0x478dbc]===_0x3067f5||_0x30c9a4[_0x478dbc]===_0x29207c([0x2a])));}function _0x50d087(){return _0x3dc222&&_0x586dff?new window[(_0x29207c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47797c,_0x32f897)=>{_0x3dc222[_0x29207c([0x74,0x68,0x65,0x6e])](_0x47797c,_0x32f897),_0x586dff[_0x29207c([0x74,0x68,0x65,0x6e])](_0x46ac93=>{_0x46ac93!=_0x29207c([0x56,0x61,0x6c,0x69,0x64])&&_0x47797c(_0x46ac93);},_0x32f897);}):_0x3dc222||_0x586dff||_0x29207c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46e8db(_0x445562,_0x2c9866){return new window[(_0x29207c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x717867=>{if(_0x41896a())return _0x717867(_0x29207c([0x56,0x61,0x6c,0x69,0x64]));_0x47a0b9(),_0x15115b[_0x29207c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29207c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15dca3=!0x1;const _0x58d63f=_0x4d9480();function _0x5771db(_0x4861b6){return!!_0x4861b6&&(typeof _0x4861b6===_0x29207c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4861b6===_0x29207c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4861b6[_0x29207c([0x74,0x68,0x65,0x6e])]===_0x29207c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4861b6[_0x29207c([0x63,0x61,0x74,0x63,0x68])]===_0x29207c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6132d5(_0x2eeb3a){_0x1212ec(_0x2eeb3a)[_0x29207c([0x74,0x68,0x65,0x6e])](_0x58ffa0=>{if(!_0x58ffa0||_0x58ffa0[_0x29207c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29207c([0x6f,0x6b]))return _0x29207c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x336192(_0xcf60e8(_0x58d63f+_0x2c9866))!=_0x58ffa0[_0x29207c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29207c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29207c([0x56,0x61,0x6c,0x69,0x64]);})[_0x29207c([0x74,0x68,0x65,0x6e])](_0xcb4745=>(_0x46261c(),_0xcb4745),()=>{const _0x1c067e=_0x493fd3();return null==_0x1c067e?(_0x46261c(),_0x29207c([0x56,0x61,0x6c,0x69,0x64])):_0x29207c(_0x1e14a3-_0x1c067e>(0x366f4dca^_0x5751f3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29207c([0x74,0x68,0x65,0x6e])](_0x717867)[_0x29207c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x717867(_0x29207c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d3948=0x1255274a^_0x5751f3;function _0x46261c(){const _0x273536=_0x29207c([0x6c,0x6c,0x63,0x74,0x2d])+_0x336192(_0xcf60e8(_0x445562)),_0x34c8fb=_0x10c86b(_0x336192(window[_0x29207c([0x4d,0x61,0x74,0x68])][_0x29207c([0x63,0x65,0x69,0x6c])](_0x1e14a3/_0x1d3948)));window[_0x29207c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29207c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x273536,_0x34c8fb);}function _0x493fd3(){const _0x58634f=_0x29207c([0x6c,0x6c,0x63,0x74,0x2d])+_0x336192(_0xcf60e8(_0x445562)),_0x3e8f3f=window[_0x29207c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29207c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58634f);return _0x3e8f3f?window[_0x29207c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10c86b(_0x3e8f3f),0x10)*_0x1d3948:null;}function _0x1212ec(_0x2a4597){return new window[(_0x29207c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a8a0b,_0x58f53c)=>{_0x2a4597[_0x29207c([0x74,0x68,0x65,0x6e])](_0x5a8a0b,_0x58f53c),window[_0x29207c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58f53c,0x12621d0a^_0x5751f3);});}}_0x15115b[_0x29207c([0x6f,0x6e])](_0x29207c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x76c356,_0x599742)=>{if(_0x599742[0x0]!=_0x445562)return _0x717867(_0x29207c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x599742[0x1]={..._0x599742[0x1],[_0x29207c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58d63f};},{[_0x29207c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29207c([0x68,0x69,0x67,0x68])}),_0x15115b[_0x29207c([0x6f,0x6e])](_0x29207c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40a389=>{_0x5771db(_0x40a389[_0x29207c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15dca3=!0x0,_0x6132d5(_0x40a389[_0x29207c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29207c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29207c([0x6c,0x6f,0x77])}),_0x28ed28[_0x29207c([0x74,0x68,0x65,0x6e])](()=>{_0x15dca3||_0x717867(_0x29207c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41896a(){return _0x15115b[_0x29207c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29207c([0x76,0x69,0x65,0x77])][_0x29207c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29207c([0x61,0x75,0x74,0x6f]);}function _0x47a0b9(){_0x15115b[_0x29207c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29207c([0x76,0x69,0x65,0x77])][_0x29207c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29207c([0x61,0x75,0x74,0x6f]);}}function _0x40b3d7(_0x2090a4){const _0x47b8d0=[new window[(_0x29207c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e01ae=>setTimeout(_0x5e01ae,0x126af706^_0x5751f3)),_0x28ed28[_0x29207c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29207c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3432ae=>{let _0x5daa2b=0x0;_0x15115b[_0x29207c([0x6d,0x6f,0x64,0x65,0x6c])][_0x29207c([0x6f,0x6e])](_0x29207c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x594b73,_0x58ac03)=>{_0x58ac03[0x0][_0x29207c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5daa2b++,_0x5daa2b==(0x1263c832^_0x5751f3)&&(_0x3432ae(),_0x594b73[_0x29207c([0x6f,0x66,0x66])]());});}))];return window[_0x29207c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29207c([0x72,0x61,0x63,0x65])](_0x47b8d0)[_0x29207c([0x74,0x68,0x65,0x6e])](()=>_0x2090a4);}async function _0x5a09a9(){await _0x28ed28,_0x15115b[_0x29207c([0x6d,0x6f,0x64,0x65,0x6c])][_0x29207c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf3e779,_0x15115b[_0x29207c([0x6d,0x6f,0x64,0x65,0x6c])][_0x29207c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf3e779,_0x15115b[_0x29207c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29207c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x785326(){return _0x9acf9d(_0x29207c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4fa60f(_0x29207c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x29207c([0x73,0x74,0x61,0x74,0x65])]==_0x29207c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x2a6f0f(){return _0x9acf9d(_0x29207c([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 _0x52f63d(){return _0x9acf9d(_0x29207c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x4f7d12(_0x4c4164){const _0x5adaf3=_0x1ff3a6();_0x15115b[_0x5adaf3]=_0x29207c([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c4164,_0x4c4164!=_0x29207c([0x56,0x61,0x6c,0x69,0x64])&&_0x5a09a9();}function _0x1ff3a6(){const _0x499e6f=window[_0x29207c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29207c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29207c([0x6e,0x6f,0x77])]())[_0x29207c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29207c([0x2e]),'');let _0x158091=_0x29207c([0x42]);for(let _0x5cea81=0x0;_0x5cea81<_0x499e6f[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cea81+=0x2){let _0x23a282=window[_0x29207c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x499e6f[_0x29207c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cea81,_0x5cea81+0x2));_0x23a282>=_0x5f233f[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23a282-=_0x5f233f[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x158091+=_0x5f233f[_0x23a282];}return _0x158091;}function _0x563f6a(){const _0x449800=_0x43a99f[_0x29207c([0x73,0x70,0x6c,0x69,0x74])](_0x29207c([0x2e]));if(0x3!=_0x449800[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x303541(_0x449800[0x1]);function _0x303541(_0x404f37){const _0x36711b=_0x4c9469(_0x404f37);return _0x36711b&&_0x5c7543()?_0x36711b:null;function _0x5c7543(){const _0x286767=_0x36711b[_0x29207c([0x6a,0x74,0x69])],_0x317fa5=window[_0x29207c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x286767[_0x29207c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x286767[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cb611={..._0x36711b,[_0x29207c([0x6a,0x74,0x69])]:_0x286767[_0x29207c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x286767[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cb611[_0x29207c([0x76,0x63])],_0xcf60e8(_0x1cb611)==_0x317fa5;}}}async function _0x21f7ab(){let _0x1b5b00=!0x0;try{const _0x46e1c8=_0x43a99f[_0x29207c([0x73,0x70,0x6c,0x69,0x74])](_0x29207c([0x2e])),[_0x3ac551,_0x13b426,_0x214f62]=_0x46e1c8;return _0x4116d1(_0x3ac551),await _0x280e71(_0x3ac551,_0x13b426,_0x214f62),_0x1b5b00;}catch{return!0x1;}function _0x4116d1(_0x438c62){const _0x517798=_0x4c9469(_0x438c62);_0x517798&&_0x517798[_0x29207c([0x61,0x6c,0x67])]==_0x29207c([0x45,0x53,0x32,0x35,0x36])||(_0x1b5b00=!0x1);}async function _0x280e71(_0x46c4ce,_0x5c7986,_0x42debe){const _0x19e0ad=window[_0x29207c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29207c([0x66,0x72,0x6f,0x6d])](_0xb7ba14(_0x42debe),_0x4d7f11=>_0x4d7f11[_0x29207c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3def01=new window[(_0x29207c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29207c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46c4ce+_0x29207c([0x2e])+_0x5c7986),_0x4d1070=window[_0x29207c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29207c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d1070)return;const _0x2cfc9f=await _0x4d1070[_0x29207c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29207c([0x6a,0x77,0x6b]),_0x56f4ac,{[_0x29207c([0x6e,0x61,0x6d,0x65])]:_0x29207c([0x45,0x43,0x44,0x53,0x41]),[_0x29207c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29207c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29207c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d1070[_0x29207c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29207c([0x6e,0x61,0x6d,0x65])]:_0x29207c([0x45,0x43,0x44,0x53,0x41]),[_0x29207c([0x68,0x61,0x73,0x68])]:{[_0x29207c([0x6e,0x61,0x6d,0x65])]:_0x29207c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cfc9f,_0x19e0ad,_0x3def01)||(_0x1b5b00=!0x1);}}function _0x4c9469(_0x1148ce){return _0x1148ce[_0x29207c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29207c([0x65,0x79]))?JSON[_0x29207c([0x70,0x61,0x72,0x73,0x65])](_0xb7ba14(_0x1148ce)):null;}function _0xb7ba14(_0x248690){return window[_0x29207c([0x61,0x74,0x6f,0x62])](_0x248690[_0x29207c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29207c([0x2b]))[_0x29207c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29207c([0x2f])));}function _0xcf60e8(_0x768ee){let _0xda551a=0x1505;function _0x2a5cd5(_0x54ef14){for(let _0x582cfd=0x0;_0x582cfd<_0x54ef14[_0x29207c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x582cfd++){const _0x3e7535=_0x54ef14[_0x29207c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x582cfd);_0xda551a=(_0xda551a<<0x5)+_0xda551a+_0x3e7535,_0xda551a&=_0xda551a;}}function _0x44183a(_0x6c7c17){Array[_0x29207c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6c7c17)?_0x6c7c17[_0x29207c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44183a):_0x6c7c17&&typeof _0x6c7c17==_0x29207c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29207c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6c7c17)[_0x29207c([0x73,0x6f,0x72,0x74])]()[_0x29207c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x146414,_0x53a671])=>{_0x2a5cd5(_0x146414),_0x44183a(_0x53a671);}):_0x2a5cd5(window[_0x29207c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6c7c17));}return _0x44183a(_0x768ee),_0xda551a>>>0x0;}function _0x336192(_0x47e9cd){return _0x47e9cd[_0x29207c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29207c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29207c([0x30]));}function _0x10c86b(_0x27cfc6){return _0x27cfc6[_0x29207c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29207c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29207c([0x6a,0x6f,0x69,0x6e])]('');}function _0x9acf9d(_0x46c8e4){return _0x15115b[_0x29207c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x29207c([0x68,0x61,0x73])](_0x46c8e4);}function _0x4fa60f(_0x47a6cb){return _0x15115b[_0x29207c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x29207c([0x67,0x65,0x74])](_0x47a6cb);}function _0xf3e779(){}function _0x29207c(_0x5be956){const _0x3c97e8=_0x50f0;return _0x5be956[_0x3c97e8(0x1bb)](_0x47988b=>String[_0x3c97e8(0x1fb)](_0x47988b))[_0x3c97e8(0x195)]('');}_0x4f7d12(await _0x4ca772());}(this);}[_0xd6f3d1(0x1ea)](){const _0x2befb9=_0xd6f3d1,_0x99339d=this[_0x2befb9(0x1a6)][_0x2befb9(0x19e)][_0x2befb9(0x220)](_0x3d3bb4),_0x33e443=this[_0x2befb9(0x1a6)][_0x2befb9(0x1d9)][_0x2befb9(0x220)](_0x2befb9(0x19c));for(const _0x302880 of _0x99339d[_0x2befb9(0x190)]({'channelId':_0x33e443}))_0x99339d[_0x2befb9(0x1b2)](_0x302880['id']),_0x99339d[_0x2befb9(0x1ba)][_0x2befb9(0x227)](_0x302880['id']);super[_0x2befb9(0x1ea)]();}[_0xd6f3d1(0x209)](_0x4cca47){const _0x1af5e0=_0xd6f3d1;return this[_0x1af5e0(0x221)](_0x4cca47)[_0x1af5e0(0x1f3)]>0x0;}[_0xd6f3d1(0x221)](_0x197811){const _0x1b2228=_0xd6f3d1,_0x4fb230=[];for(const _0x1c66e8 of this[_0x1b2228(0x1a6)][_0x1b2228(0x1d2)][_0x1b2228(0x1c7)])_0x1c66e8[_0x1b2228(0x1cb)][_0x1b2228(0x1de)](_0x1b2228(0x218)+_0x197811)&&_0x4fb230[_0x1b2228(0x194)](_0x1c66e8);return _0x4fb230;}[_0xd6f3d1(0x1b1)](_0x5ad65f){const _0x294dd5=_0xd6f3d1,_0x5b0fa2=this[_0x294dd5(0x1bc)](_0x5ad65f);_0x5b0fa2&&setTimeout(()=>{const _0xfb6722=_0x294dd5;this[_0xfb6722(0x1ca)]&&splitMarkerName(this[_0xfb6722(0x1ca)])['id']===_0x5ad65f&&_0x3eceec({'target':_0x5b0fa2[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xd6f3d1(0x1fe)](_0x283c38){const _0x58610c=_0xd6f3d1;this[_0x58610c(0x1a6)][_0x58610c(0x1d2)][_0x58610c(0x1ec)](()=>{const _0x441ca4=_0x58610c;for(const _0x47d1e8 of this[_0x441ca4(0x221)](_0x283c38))this[_0x441ca4(0x1a6)][_0x441ca4(0x1a1)][_0x441ca4(0x229)](_0x47d1e8);});}[_0xd6f3d1(0x1c3)](_0xcf8e4a){const _0x193d88=_0xd6f3d1,_0x36adff=this[_0x193d88(0x1a6)][_0x193d88(0x19e)][_0x193d88(0x220)](_0x3d3bb4),_0x5b7ac0=this[_0x193d88(0x1a6)][_0x193d88(0x19e)][_0x193d88(0x220)](_0x2f615e),_0xf9207=_0x36adff[_0x193d88(0x203)](_0xcf8e4a);if(!_0xf9207[_0x193d88(0x1c6)]){const _0x32a6c5=_0xf9207[_0x193d88(0x1c0)](()=>this[_0x193d88(0x1bc)](_0xf9207['id']));_0x5b7ac0[_0x193d88(0x1cc)](_0x32a6c5),_0xf9207[_0x193d88(0x1a2)]=!0x1;}}[_0xd6f3d1(0x19f)](){const _0x2e56df=_0xd6f3d1,_0x103f71=this[_0x2e56df(0x1a6)],_0x206f46=_0x103f71[_0x2e56df(0x19e)][_0x2e56df(0x220)](_0x4b0070);_0x103f71[_0x2e56df(0x1b4)][_0x2e56df(0x223)](_0x2e56df(0x20c))[_0x2e56df(0x22d)]({'model':_0x2e56df(0x219),'view':(_0x4a5e3a,_0x4b62ef)=>{const _0x28a286=_0x2e56df,{id:_0x1ad710}=splitMarkerName(_0x4a5e3a[_0x28a286(0x1e6)]),_0x3b5a0e=_0x103f71[_0x28a286(0x19e)][_0x28a286(0x220)](_0x3d3bb4)[_0x28a286(0x203)](_0x1ad710),_0x32055f=this[_0x28a286(0x1ca)]&&splitMarkerName(this[_0x28a286(0x1ca)])['id']===_0x1ad710;let _0x5ca26a;if(_0x3b5a0e&&_0x3b5a0e[_0x28a286(0x1cf)]&&!_0x32055f&&_0x4a5e3a[_0x28a286(0x1d6)])return _0x4b62ef[_0x28a286(0x21b)][_0x28a286(0x226)](_0x4a5e3a[_0x28a286(0x1d6)],_0x28a286(0x22c)+_0x4a5e3a[_0x28a286(0x1e6)]),_0x4b62ef[_0x28a286(0x21b)][_0x28a286(0x226)](_0x4a5e3a[_0x28a286(0x1d6)],_0x28a286(0x191)+_0x4a5e3a[_0x28a286(0x1e6)]),null;const _0x317082=[_0x28a286(0x192)];return _0x32055f&&_0x317082[_0x28a286(0x194)](_0x28a286(0x1ae)),_0x5ca26a=_0x3b5a0e?.[_0x28a286(0x1f3)]?_0x3b5a0e[_0x28a286(0x1bf)][_0x28a286(0x1af)][_0x28a286(0x1ce)]['id']:_0x206f46['me']['id'],{'classes':_0x317082,'attributes':{'data-comment':_0x1ad710,'data-author-id':_0x5ca26a}};}}),_0x103f71[_0x2e56df(0x1b4)][_0x2e56df(0x223)](_0x2e56df(0x1a3))[_0x2e56df(0x1f6)]({'model':_0x2e56df(0x219),'view':(_0x3bd9fc,{options:_0x12a65e})=>{const _0x5bfe97=_0x2e56df;if(_0x12a65e[_0x5bfe97(0x22a)])return null;const _0x5ebd9e=_0x103f71[_0x5bfe97(0x19e)][_0x5bfe97(0x220)](_0x3d3bb4),_0x4ef04c=_0x103f71[_0x5bfe97(0x1d2)][_0x5bfe97(0x1c7)][_0x5bfe97(0x220)](_0x3bd9fc),{id:_0x44487b,part:_0x181eca}=splitMarkerName(_0x3bd9fc);return _0x4ef04c&&!_0x4ef04c[_0x5bfe97(0x1dc)]||_0x12a65e[_0x5bfe97(0x1fa)]&&_0x5ebd9e[_0x5bfe97(0x203)](_0x44487b)?.[_0x5bfe97(0x1cf)]?null:{'group':_0x5bfe97(0x219),'name':_0x181eca?_0x44487b+':'+_0x181eca:_0x44487b};}}),_0x103f71[_0x2e56df(0x1b4)][_0x2e56df(0x223)](_0x2e56df(0x18f))[_0x2e56df(0x217)]({'view':{'name':_0x2e56df(0x219),'attributes':{'id':/^\w/}},'model':(_0x2baf62,{writer:_0x5488ce})=>_0x5488ce[_0x2e56df(0x1b0)](_0x2e56df(0x1df),{'data-name':_0x2e56df(0x218)+_0x2baf62[_0x2e56df(0x1b6)]('id')})}),_0x103f71[_0x2e56df(0x1b4)][_0x2e56df(0x223)](_0x2e56df(0x18f))[_0x2e56df(0x189)]({'view':_0x2e56df(0x219)});}[_0xd6f3d1(0x1fc)](){const _0x22aa83=_0xd6f3d1,_0x167599=this[_0x22aa83(0x1a6)],_0x5e4d31=_0x167599[_0x22aa83(0x19e)][_0x22aa83(0x220)](_0x3d3bb4),_0x1c30df=new Set(),_0x1ac9eb=new Set();_0x167599[_0x22aa83(0x1d2)][_0x22aa83(0x18c)][_0x22aa83(0x1b5)](_0x51d4ae=>{const _0x32ad97=_0x22aa83;let _0x34cb8d=!0x1;for(const {name:_0x28aeb3,data:_0x3435e2}of _0x167599[_0x32ad97(0x1d2)][_0x32ad97(0x18c)][_0x32ad97(0x18d)][_0x32ad97(0x18b)]()){const {group:_0x1622c8,id:_0x2d71cf}=splitMarkerName(_0x28aeb3);let _0x32aad1=_0x3435e2[_0x32ad97(0x1a9)];if(_0x32ad97(0x219)!==_0x1622c8||!_0x32aad1)continue;const _0x3e74a9=_0x32ad97(0x188)===_0x32aad1[_0x32ad97(0x1f9)][_0x32ad97(0x1f0)];_0x3e74a9||(_0x32aad1=lt(_0x32aad1,_0x167599[_0x32ad97(0x1d2)]),!_0x32aad1||_0x32aad1[_0x32ad97(0x1b8)]||!_0x3435e2[_0x32ad97(0x1a9)]||_0x32aad1[_0x32ad97(0x198)](_0x3435e2[_0x32ad97(0x1a9)]))?_0x167599[_0x32ad97(0x1d2)][_0x32ad97(0x1f2)](_0x32aad1)&&!_0x3e74a9?this[_0x32ad97(0x1d5)]?_0x1c30df[_0x32ad97(0x200)](_0x28aeb3):this[_0x32ad97(0x1f4)](_0x28aeb3,_0x2d71cf):(_0x1ac9eb[_0x32ad97(0x200)](_0x28aeb3),_0x1c30df[_0x32ad97(0x227)](_0x28aeb3),_0x51d4ae[_0x32ad97(0x197)](_0x28aeb3),_0x34cb8d=!0x0):(_0x51d4ae[_0x32ad97(0x207)](_0x28aeb3,{'range':_0x32aad1}),_0x34cb8d=!0x0);}return _0x34cb8d;}),this['on'](_0x22aa83(0x1d8),(_0x1bd14b,_0x2924b3,_0x5fad83)=>{const _0xe8ccfc=_0x22aa83;if(!_0x5fad83&&_0x1c30df[_0xe8ccfc(0x19b)])for(const _0xca532d of _0x1c30df){const {id:_0x55421e}=splitMarkerName(_0xca532d);_0x1c30df[_0xe8ccfc(0x227)](_0xca532d),_0x167599[_0xe8ccfc(0x1d2)][_0xe8ccfc(0x1c7)][_0xe8ccfc(0x220)](_0xca532d)&&this[_0xe8ccfc(0x1f4)](_0xca532d,_0x55421e);}}),this[_0x22aa83(0x1c1)](_0x167599[_0x22aa83(0x1d2)][_0x22aa83(0x18c)],_0x22aa83(0x1ec),()=>{const _0x51cc2d=_0x22aa83;for(const {name:_0x338526,data:{newRange:_0x565e5d}}of _0x167599[_0x51cc2d(0x1d2)][_0x51cc2d(0x18c)][_0x51cc2d(0x18d)][_0x51cc2d(0x18b)]()){const {group:_0x3ed7c8,id:_0x4745ab}=splitMarkerName(_0x338526);if(_0x51cc2d(0x219)!==_0x3ed7c8)continue;const _0x26b536=_0x5e4d31[_0x51cc2d(0x203)](_0x4745ab),_0x2c7d93=this[_0x51cc2d(0x209)](_0x4745ab);_0x26b536&&(!_0x26b536[_0x51cc2d(0x1a2)]&&_0x565e5d&&_0x167599[_0x51cc2d(0x1a1)][_0x51cc2d(0x1da)][_0x51cc2d(0x20e)](_0x51cc2d(0x193),()=>{const _0x39254b=_0x51cc2d,_0x142b77=_0x167599[_0x39254b(0x19e)][_0x39254b(0x220)](_0x7119df),_0x5c1c39=_0x5e4d31[_0x39254b(0x213)][_0x39254b(0x220)](_0x26b536)[_0x39254b(0x1da)];_0x142b77[_0x39254b(0x21a)](_0x5c1c39)[_0x39254b(0x22b)]();},{'priority':_0x51cc2d(0x20b)}),_0x26b536[_0x51cc2d(0x1a2)]=_0x2c7d93||!!_0x565e5d),_0x565e5d||(_0x1ac9eb[_0x51cc2d(0x200)](_0x338526),_0x1c30df[_0x51cc2d(0x227)](_0x338526));}for(const _0x4c3a0d of _0x1ac9eb){const {id:_0x34544a}=splitMarkerName(_0x4c3a0d),_0x2823bd=_0x5e4d31[_0x51cc2d(0x203)](_0x34544a);if(_0x1c30df[_0x51cc2d(0x227)](_0x4c3a0d),!_0x2823bd)continue;const _0x1be11f=this[_0x51cc2d(0x209)](_0x34544a);_0x1be11f||_0x2823bd[_0x51cc2d(0x215)]?_0x1be11f||_0x2823bd[_0x51cc2d(0x1a5)]||_0x2823bd[_0x51cc2d(0x222)](new Date()):_0x2823bd[_0x51cc2d(0x1f8)]();}_0x1ac9eb[_0x51cc2d(0x1c2)]();});}[_0xd6f3d1(0x1e5)](_0x1b7763){const _0x1716ab=_0xd6f3d1;_0x1b7763[_0x1716ab(0x1a8)](_0x427945=>{const _0x479b7d=_0x1716ab;_0x427945[_0x479b7d(0x1a5)]&&this[_0x479b7d(0x1c3)](_0x427945['id']);});}[_0xd6f3d1(0x1bc)](_0x41d37d){const _0x116b0e=_0xd6f3d1,_0x4ea2a6=this[_0x116b0e(0x1a6)],_0x38eb1f=this[_0x116b0e(0x221)](_0x41d37d);return _0x581ddf(_0x4ea2a6[_0x116b0e(0x1a1)],_0x38eb1f);}[_0xd6f3d1(0x1f1)](_0x44312f){const _0x407183=_0xd6f3d1,_0x262e0d=this[_0x407183(0x221)](_0x44312f);let _0x4a3fb2='',_0x468a9a=!0x1;for(const _0x40735d of _0x262e0d){const _0x1c1038=_0x40735d[_0x407183(0x202)]();for(const _0x140707 of Array[_0x407183(0x212)](_0x1c1038[_0x407183(0x18e)]()))_0x140707['is'](_0x407183(0x19d))?(_0x4a3fb2&&_0x468a9a&&(_0x4a3fb2+='\x20',_0x468a9a=!0x1),_0x4a3fb2+=_0x140707[_0x407183(0x1db)]):_0x468a9a=!0x0;_0x468a9a=!0x0;}return _0x4a3fb2[_0x407183(0x216)](0x0,0x96);}[_0xd6f3d1(0x1ac)](_0x5c17cf,_0x4503da){const _0x15a7e1=_0xd6f3d1,_0x92cf05=this[_0x15a7e1(0x1a6)],_0x4886c2=_0x92cf05[_0x15a7e1(0x19e)][_0x15a7e1(0x220)](_0x3d3bb4);let _0x3033bf=_0x4886c2[_0x15a7e1(0x203)](_0x4503da);const _0x23bba6=_0x92cf05[_0x15a7e1(0x1d9)][_0x15a7e1(0x220)](_0x15a7e1(0x19c)),_0x3d0c25=_0x92cf05[_0x15a7e1(0x19e)][_0x15a7e1(0x220)](_0x2f615e);if(_0x3033bf&&(_0x3033bf[_0x15a7e1(0x1a5)]&&_0x3033bf[_0x15a7e1(0x222)](null),_0x3033bf[_0x15a7e1(0x1c6)]))return _0x3033bf;return!this[_0x15a7e1(0x221)](_0x4503da)[0x0][_0x15a7e1(0x21c)]?_0x92cf05[_0x15a7e1(0x1a1)][_0x15a7e1(0x1da)][_0x15a7e1(0x20e)](_0x15a7e1(0x193),()=>{const _0x39317a=_0x15a7e1;if(_0x4886c2[_0x39317a(0x203)](_0x4503da))return;const _0x497c72=_0x92cf05[_0x39317a(0x19e)][_0x39317a(0x220)](_0x7119df);_0x3033bf=_0x4886c2[_0x39317a(0x1aa)]({'channelId':_0x23bba6,'threadId':_0x4503da,'target':()=>this[_0x39317a(0x1bc)](_0x4503da),'context':{'type':_0x39317a(0x1e2),'value':this[_0x39317a(0x1f1)](_0x4503da)}});const _0x39533c=_0x4886c2[_0x39317a(0x213)][_0x39317a(0x220)](_0x3033bf)[_0x39317a(0x1da)],_0x19795f=_0x497c72[_0x39317a(0x21a)](_0x39533c);_0x19795f&&_0x3d0c25[_0x39317a(0x1cc)](_0x19795f);},{'priority':_0x15a7e1(0x20b)}):_0x4886c2[_0x15a7e1(0x19a)]({'channelId':_0x23bba6,'threadId':_0x4503da})[_0x15a7e1(0x214)](_0x4b664a=>{const _0xb0f810=_0x15a7e1;if(_0xb0f810(0x205)!==_0x92cf05[_0xb0f810(0x1a4)]){if(_0x3033bf=_0x4b664a,_0x3033bf&&!_0x3033bf[_0xb0f810(0x1c6)]){const _0xe3c2f=_0x3033bf[_0xb0f810(0x1c0)](()=>this[_0xb0f810(0x1bc)](_0x4503da));_0x3d0c25[_0xb0f810(0x1cc)](_0xe3c2f),_0x3033bf[_0xb0f810(0x1cf)]&&this[_0xb0f810(0x1fe)](_0x4503da);}else{if(!_0x3033bf){const _0x295bf3=this[_0xb0f810(0x221)](_0x4503da);_0x92cf05[_0xb0f810(0x1d2)][_0xb0f810(0x1ec)](_0xaf29e=>{const _0x3f8a2f=_0xb0f810;for(const _0x483376 of _0x295bf3)_0xaf29e[_0x3f8a2f(0x197)](_0x483376);});}}}}),_0x3033bf;}[_0xd6f3d1(0x1f4)](_0x42cd04,_0x36083e){const _0x400c36=_0xd6f3d1,_0x524071=this[_0x400c36(0x1ac)](_0x42cd04,_0x36083e);_0x524071&&!_0x524071[_0x400c36(0x201)]&&_0x524071[_0x400c36(0x21d)]({'type':_0x400c36(0x1e2),'value':this[_0x400c36(0x1f1)](_0x36083e)});}[_0xd6f3d1(0x1d4)](){const _0x572e6d=_0xd6f3d1,_0x49f0b8=this[_0x572e6d(0x1a6)];_0x34a310(_0x49f0b8[_0x572e6d(0x1d2)],({left:_0x56b9bc,entered:_0x14f377})=>{const _0x2e910e=_0x572e6d;for(const _0x10ab67 of _0x56b9bc)if(wt(_0x10ab67)){_0x49f0b8['ui'][_0x2e910e(0x1c9)][_0x2e910e(0x204)](_0x512297(_0x49f0b8[_0x2e910e(0x1f5)],_0x2e910e(0x1ee)));break;}for(const _0x1822ce of _0x14f377)if(wt(_0x1822ce)){_0x49f0b8['ui'][_0x2e910e(0x1c9)][_0x2e910e(0x204)](_0x512297(_0x49f0b8[_0x2e910e(0x1f5)],_0x2e910e(0x1fd),_0xa1725a(_0x1956c6)));break;}});}}function ht(_0x1c54fb,_0x4242b1){return _0x4242b1?_0x1c54fb+':'+_0x4242b1:_0x1c54fb;}export function splitMarkerName(_0x26da52){const _0x3ed4ed=_0xd6f3d1,_0x2038d0=_0x26da52[_0x3ed4ed(0x1dd)](':');return{'group':_0x2038d0[0x0],'id':_0x2038d0[0x1],'part':_0x2038d0[0x2]};}function lt(_0xa08c27,_0x36ba71){const _0x63a700=_0xd6f3d1,_0x4f0ff8=_0x36ba71[_0x63a700(0x228)],_0x4fdbea=_0x36ba71[_0x63a700(0x1e3)](_0xa08c27[_0x63a700(0x1b7)]);for(const _0x21b5fe of _0xa08c27[_0x63a700(0x1e0)]()){const {type:_0x251afc,item:_0x1956be,nextPosition:_0x566818}=_0x21b5fe;if(_0x63a700(0x1e2)===_0x251afc||_0x4f0ff8[_0x63a700(0x1cd)](_0x1956be)){const _0x558daf=_0x36ba71[_0x63a700(0x1e9)](_0x1956be);_0x4fdbea[_0x63a700(0x1b8)]&&(_0x4fdbea[_0x63a700(0x1b7)]=_0x558daf),_0x4fdbea[_0x63a700(0x18a)]=_0x566818;}}return _0x4fdbea;}function wt(_0xc817de){const _0x19a3d6=_0xd6f3d1;return _0x19a3d6(0x219)===splitMarkerName(_0xc817de[_0x19a3d6(0x1cb)])[_0x19a3d6(0x1ad)];}
|
|
23
|
+
const _0x114c89=_0xfe51;(function(_0x5cbb74,_0x3812d6){const _0x3d10ee=_0xfe51,_0x1104e4=_0x5cbb74();while(!![]){try{const _0x1adaea=-parseInt(_0x3d10ee(0x1ba))/0x1+parseInt(_0x3d10ee(0x20f))/0x2+parseInt(_0x3d10ee(0x1ff))/0x3+parseInt(_0x3d10ee(0x1c2))/0x4*(-parseInt(_0x3d10ee(0x1da))/0x5)+-parseInt(_0x3d10ee(0x1d5))/0x6+parseInt(_0x3d10ee(0x1e3))/0x7*(parseInt(_0x3d10ee(0x1c4))/0x8)+parseInt(_0x3d10ee(0x1e8))/0x9*(-parseInt(_0x3d10ee(0x199))/0xa);if(_0x1adaea===_0x3812d6)break;else _0x1104e4['push'](_0x1104e4['shift']());}catch(_0x59f161){_0x1104e4['push'](_0x1104e4['shift']());}}}(_0x3e3b,0xd40b9));import{Plugin as _0x5a7814}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x2708e5,scrollViewportToShowTarget as _0x1e5619,uid as _0x3ec07b}from'ckeditor5/src/utils.js';function _0xfe51(_0x336020,_0x4a0085){const _0x3e3bf1=_0x3e3b();return _0xfe51=function(_0xfe511a,_0x1e6928){_0xfe511a=_0xfe511a-0x16d;let _0x1efacb=_0x3e3bf1[_0xfe511a];return _0x1efacb;},_0xfe51(_0x336020,_0x4a0085);}import{CommentsRepository as _0x140a94}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x3e5b6f}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x30bfdb,getAllMarkersDomElementsSorted as _0x2ad303,FOCUS_ANNOTATION_KEYSTROKE as _0x2165b2,Users as _0x196f31}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x36c47a}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x2381ae}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x5a740a}from'./integrations/importword.js';import{CommentsClipboard as _0x1d5f92}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x137aaa}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x1af98}from'../annotations/annotations.js';import{getTranslation as _0x5e1a03}from'../utils/common-translations.js';function _0x3e3b(){const _0x3bfdc4=['_hasTargetInContent','affectsData','then','openNewCommentThread','990ZNYzcf','comment:','createElement','listenTo','_getTextContext','removeMarker','size','isPremiumPlugin','dataDowncast','editing','registerAnnotation','commands','isEqual','render','newRange','substring','state','consume','forEach','fetchCommentThread','$marker','isResolved','getChangedMarkers','_handleInitialThreads','channelId','hasContent','ready','removeCommentThread','getCommentThread','markers','delete','setContext','rootName','894513bsPpBc','document','addMarker:','isAttached','updateMarker','length','CommentsEditing','push','1160836qHCSVx','destroyed','8dalHcc','unlinkedAt','context','_handleThreadMarker','$graveyard','author','setUnlinkedAt','_getTargetForId','remove','ignoreResolvedComments','end','afterInit','requires','createPositionBefore','ariaLiveAnnouncer','get','reconvertMarker','1650822AMpozO','_handleMarkerAddAndRemove','ck-comment-marker--active','addCommentThread','locale','10dxNvtG','hasDomSelection','consumable','_initializeMarkerConverters','markerToData','isThreadsLoadingPaused','LEAVE_COMMENT_ANNOUNCEMENT','start','addComment','4787321loyNbu','managedUsingOperations','_threadToController','fromCharCode','getRange','12222msqWSH','editingDowncast','destroy','reopenCommentThread','split','_attachArchivedThread','getAttribute','low','conversion','text','getAllMarkersForId','resolveCommentThread','item','_threads','from','createRange','getCommentThreads','first','attachTo','filter','config','showCommentHighlights','group','2368860MTxCqr','comments','announce','_initAriaMarkerChangeAnnouncements','$textProxy','refreshVisibility','activeMarker','map','_reconvertMarkers','once','hasCommentThread','isCollapsed','_attachMarkerToThread','getItems','upcast','isObject','2559048GtHCJI','comment','view','markerToHighlight','data','change','change:isThreadsLoadingPaused','change:activeMarker','for','focus','markerName','add','schema','init','registerPostFixer','elementToElement','ENTER_COMMENT_ANNOUNCEMENT','isSubmitted','model','getByInnerView','enqueueChange','editor','isOfficialPlugin','startsWith','switchReadOnly','change:isReadOnly','plugins','_detachCommentThread','dataToMarker','href','differ','pluginName','name','collaboration.channelId','removeMarker:','clear','root','set','scrollToThreadMarker','join','hasMarkerForId','getWalker','ck-comment-marker'];_0x3e3b=function(){return _0x3bfdc4;};return _0x3e3b();}export class CommentsEditing extends _0x5a7814{static get[_0x114c89(0x1d0)](){return[_0x140a94,_0x36c47a,_0x196f31,_0x2381ae,_0x5a740a,_0x1d5f92,_0x137aaa];}static get[_0x114c89(0x189)](){const _0x52fc2c=_0x114c89;return _0x52fc2c(0x1c0);}static get[_0x114c89(0x180)](){return!0x0;}static get[_0x114c89(0x1a0)](){return!0x0;}constructor(_0x184adf){const _0x6af37b=_0x114c89;super(_0x184adf),this[_0x6af37b(0x18f)](_0x6af37b(0x1df),!0x0),_0x184adf[_0x6af37b(0x16e)][_0x6af37b(0x208)](_0x6af37b(0x1b3),()=>this[_0x6af37b(0x1df)]=!0x1),this[_0x6af37b(0x18f)](_0x6af37b(0x205),null),this['on'](_0x6af37b(0x171),(_0x1c7450,_0x5a0d15,_0x5cc9a7,_0x163548)=>{const _0x3015ef=_0x6af37b,_0x4d2d6d=_0x184adf[_0x3015ef(0x184)][_0x3015ef(0x1d3)](_0x140a94),_0x314df9=_0x5cc9a7?splitMarkerName(_0x5cc9a7)['id']:null;_0x184adf[_0x3015ef(0x17c)][_0x3015ef(0x16f)](()=>{const _0x41fcb9=_0x3015ef;if(_0x314df9){const _0x28bff6=this[_0x41fcb9(0x1f2)](_0x314df9);for(const _0x15549d of _0x28bff6)_0x184adf[_0x41fcb9(0x1a2)][_0x41fcb9(0x1d4)](_0x15549d);}if(_0x163548){const {id:_0x5274de}=splitMarkerName(_0x163548),_0x2a7dd2=_0x4d2d6d[_0x41fcb9(0x1b5)](_0x5274de);if(_0x2a7dd2&&_0x2a7dd2[_0x41fcb9(0x1c5)])return;if(_0x2a7dd2&&!_0x2a7dd2[_0x41fcb9(0x1bd)])return;const _0x47ec00=this[_0x41fcb9(0x1f2)](_0x5274de);for(const _0x2ba820 of _0x47ec00)_0x184adf[_0x41fcb9(0x1a2)][_0x41fcb9(0x1d4)](_0x2ba820);}}),_0x314df9&&this[_0x3015ef(0x190)](_0x314df9);}),this[_0x6af37b(0x202)]();}[_0x114c89(0x177)](){const _0x8721d9=_0x114c89,_0x1ad298=this[_0x8721d9(0x17f)],_0x4cc80e=_0x1ad298[_0x8721d9(0x184)][_0x8721d9(0x1d3)](_0x140a94),_0x563daf=_0x1ad298[_0x8721d9(0x1fc)][_0x8721d9(0x1d3)](_0x8721d9(0x18b)),_0x3a81b4=_0x4cc80e[_0x8721d9(0x1f8)]()[_0x8721d9(0x1fb)](_0x371dac=>_0x371dac[_0x8721d9(0x1b1)]!==_0x563daf);_0x1ad298[_0x8721d9(0x1a4)][_0x8721d9(0x175)](_0x8721d9(0x1d8),new _0x3e5b6f(_0x1ad298)),this[_0x8721d9(0x19c)](_0x1ad298,_0x8721d9(0x183),(_0x4e7298,_0x4af5db,_0x52d450)=>{const _0x3f5f65=_0x8721d9;_0x4cc80e[_0x3f5f65(0x182)](_0x52d450,_0x1ad298[_0x3f5f65(0x1fc)][_0x3f5f65(0x1d3)](_0x3f5f65(0x18b)));}),this[_0x8721d9(0x19c)](_0x4cc80e,ft(_0x8721d9(0x1d8),_0x563daf),(_0x2cfbdc,{threadId:_0x267e71})=>{const _0x4726e1=_0x8721d9,_0x379872=this[_0x4726e1(0x17f)][_0x4726e1(0x184)][_0x4726e1(0x1d3)](_0x140a94)[_0x4726e1(0x1b5)](_0x267e71);_0x379872?.[_0x4726e1(0x1c5)]&&this[_0x4726e1(0x1ed)](_0x267e71);}),this[_0x8721d9(0x19c)](_0x4cc80e,ft(_0x8721d9(0x1b4),_0x563daf),(_0x335e0a,{threadId:_0x45442f})=>{const _0x4d3951=_0x8721d9;_0x1ad298[_0x4d3951(0x17c)][_0x4d3951(0x17e)]({'isUndoable':!0x1},_0x1a136b=>{const _0x59f980=_0x4d3951,_0x5b84df=this[_0x59f980(0x1f2)](_0x45442f);for(const _0x299144 of _0x5b84df)_0x1a136b[_0x59f980(0x19e)](_0x299144);});}),this[_0x8721d9(0x19c)](_0x4cc80e,ft(_0x8721d9(0x1f3),_0x563daf),(_0x2c9eec,{threadId:_0x40d100})=>{const _0xbebc=_0x8721d9;(this[_0xbebc(0x207)](_0x40d100),this[_0xbebc(0x17f)][_0xbebc(0x1a2)][_0xbebc(0x211)][_0xbebc(0x1db)])&&(this[_0xbebc(0x17f)][_0xbebc(0x184)][_0xbebc(0x1d3)](_0x140a94)[_0xbebc(0x1b5)](_0x40d100)[_0xbebc(0x1c5)]||this[_0xbebc(0x17f)][_0xbebc(0x1a2)][_0xbebc(0x211)][_0xbebc(0x173)]());},{'priority':_0x8721d9(0x1ef)}),this[_0x8721d9(0x19c)](_0x4cc80e,ft(_0x8721d9(0x1eb),_0x563daf),(_0x32b306,{threadId:_0x79cdfe})=>{const _0x3b77a8=_0x8721d9;this[_0x3b77a8(0x207)](_0x79cdfe);},{'priority':_0x8721d9(0x1ef)}),this[_0x8721d9(0x19c)](_0x4cc80e,ft(_0x8721d9(0x1e2),_0x563daf),(_0x652ae9,{threadId:_0x193f0c,isFromAdapter:_0x23bfcb})=>{const _0x555365=_0x8721d9,_0x37f614=this[_0x555365(0x1f2)](_0x193f0c);if(_0x23bfcb||0x0==_0x37f614[_0x555365(0x1bf)]||!_0x4cc80e[_0x555365(0x209)](_0x193f0c))return;0x1===_0x4cc80e[_0x555365(0x1b5)](_0x193f0c)[_0x555365(0x1bf)]&&_0x1ad298[_0x555365(0x17c)][_0x555365(0x17e)]({'isUndoable':!0x1},_0x1c45a9=>{const _0xf4b701=_0x555365;for(const _0x5ea386 of _0x37f614)_0x1c45a9[_0xf4b701(0x1be)](_0x5ea386,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x8721d9(0x1ef)}),this[_0x8721d9(0x1dd)](),this[_0x8721d9(0x1d6)](),this[_0x8721d9(0x1b0)](_0x3a81b4);}[_0x114c89(0x1cf)](){!async function(_0x36492a){const _0x513870=_0x35ffc6([0x36,0x66,0x56,0x76,0x73,0x49,0x58,0x74,0x62,0x4f,0x42,0x45,0x32,0x30,0x53,0x31,0x78,0x4b,0x7a,0x79,0x4a,0x77,0x37,0x4c,0x55,0x35,0x70,0x71,0x4d,0x65,0x44,0x47,0x48,0x43,0x59,0x39,0x54,0x6c,0x72,0x69,0x41,0x34,0x6d,0x50,0x57,0x46,0x6a,0x5a,0x52,0x6b,0x33,0x68,0x64,0x75,0x51,0x6f,0x61,0x4e,0x67,0x63,0x6e,0x38]),_0x30d602=0x143ba50f,_0x338ddf=0x143cc95f^_0x30d602,_0x2ac74f=window[_0x35ffc6([0x44,0x61,0x74,0x65])][_0x35ffc6([0x6e,0x6f,0x77])](),_0x11d0b2=_0x36492a[_0x35ffc6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa43cc1=new window[(_0x35ffc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34d419=>{_0x11d0b2[_0x35ffc6([0x6f,0x6e,0x63,0x65])](_0x35ffc6([0x72,0x65,0x61,0x64,0x79]),_0x34d419);}),_0x2d03cb={[_0x35ffc6([0x6b,0x74,0x79])]:_0x35ffc6([0x45,0x43]),[_0x35ffc6([0x75,0x73,0x65])]:_0x35ffc6([0x73,0x69,0x67]),[_0x35ffc6([0x63,0x72,0x76])]:_0x35ffc6([0x50,0x2d,0x32,0x35,0x36]),[_0x35ffc6([0x78])]:_0x35ffc6([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]),[_0x35ffc6([0x79])]:_0x35ffc6([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]),[_0x35ffc6([0x61,0x6c,0x67])]:_0x35ffc6([0x45,0x53,0x32,0x35,0x36])},_0x20e27b=_0x11d0b2[_0x35ffc6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35ffc6([0x67,0x65,0x74])](_0x35ffc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22f5f7(){let _0x4edf3b,_0x4172d1=null,_0x4307fb=null;try{if(_0x20e27b==_0x35ffc6([0x47,0x50,0x4c]))return _0x35ffc6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4edf3b=_0x5a10c7(),!_0x4edf3b)return _0x35ffc6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4edf3b[_0x35ffc6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4307fb=_0x28f589(_0x4edf3b[_0x35ffc6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4edf3b[_0x35ffc6([0x6a,0x74,0x69])])),await _0x5f1207()?_0xe8512()?_0x28655e()?_0x35ffc6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22a80e()?(_0x4edf3b[_0x35ffc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35ffc6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4172d1=_0x50c47b(_0x35ffc6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4edf3b[_0x35ffc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35ffc6([0x74,0x72,0x69,0x61,0x6c])&&(_0x4172d1=_0x50c47b(_0x35ffc6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5db2d6()):_0x35ffc6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35ffc6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35ffc6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x35ffc6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x28655e(){const _0x1f4ca8=[_0x35ffc6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35ffc6([0x74,0x72,0x69,0x61,0x6c])][_0x35ffc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4edf3b[_0x35ffc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ac74f/0x3e8:0xe10*_0x338ddf;return _0x4edf3b[_0x35ffc6([0x65,0x78,0x70])]<_0x1f4ca8;}function _0xe8512(){const _0x37646b=_0x4edf3b[_0x35ffc6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x37646b)return!0x1;if(_0x37646b[_0x35ffc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35ffc6([0x2a])))return!0x0;if(_0x37646b[_0x35ffc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35ffc6([0x43,0x4d,0x54])))return!0x0;if(_0x37646b[_0x35ffc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35ffc6([0x52,0x43,0x4d,0x54]))){if(_0x5ce78a())return!0x0;if(_0xef2076()||_0x538920())return!0x0;}return!0x1;}function _0x22a80e(){const _0x49c0bd=_0xfe51,_0x4c8be2=_0x4edf3b[_0x35ffc6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c8be2||0x0==_0x4c8be2[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f63d8}=new URL(window[_0x35ffc6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x49c0bd(0x187)]);if(_0x4c8be2[_0x35ffc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f63d8))return!0x0;const _0x447a51=_0x3f63d8[_0x35ffc6([0x73,0x70,0x6c,0x69,0x74])](_0x35ffc6([0x2e]));return _0x4c8be2[_0x35ffc6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b3023=>_0x1b3023[_0x35ffc6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35ffc6([0x2a])))[_0x35ffc6([0x6d,0x61,0x70])](_0x9a2ee3=>_0x9a2ee3[_0x35ffc6([0x73,0x70,0x6c,0x69,0x74])](_0x35ffc6([0x2e])))[_0x35ffc6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe8c8ba=>_0xe8c8ba[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x447a51[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35ffc6([0x6d,0x61,0x70])](_0xc6932b=>Array(_0x447a51[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc6932b[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35ffc6([0x66,0x69,0x6c,0x6c])](_0xc6932b[0x0]===_0x35ffc6([0x2a])?_0x35ffc6([0x2a]):'')[_0x35ffc6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc6932b))[_0x35ffc6([0x73,0x6f,0x6d,0x65])](_0x5e11f5=>_0x447a51[_0x35ffc6([0x65,0x76,0x65,0x72,0x79])]((_0xb2a07e,_0x3fb9ca)=>_0x5e11f5[_0x3fb9ca]===_0xb2a07e||_0x5e11f5[_0x3fb9ca]===_0x35ffc6([0x2a])));}function _0x5db2d6(){return _0x4172d1&&_0x4307fb?new window[(_0x35ffc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x68070a,_0x5ca8b3)=>{_0x4172d1[_0x35ffc6([0x74,0x68,0x65,0x6e])](_0x68070a,_0x5ca8b3),_0x4307fb[_0x35ffc6([0x74,0x68,0x65,0x6e])](_0xafd7b3=>{_0xafd7b3!=_0x35ffc6([0x56,0x61,0x6c,0x69,0x64])&&_0x68070a(_0xafd7b3);},_0x5ca8b3);}):_0x4172d1||_0x4307fb||_0x35ffc6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28f589(_0x161b58,_0x320751){return new window[(_0x35ffc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f7186=>{if(_0x3fa2e7())return _0x1f7186(_0x35ffc6([0x56,0x61,0x6c,0x69,0x64]));_0x80f8e9(),_0x11d0b2[_0x35ffc6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35ffc6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x347985=!0x1;const _0x14da72=_0x3ec07b();function _0x231afe(_0x538fbc){return!!_0x538fbc&&(typeof _0x538fbc===_0x35ffc6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x538fbc===_0x35ffc6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x538fbc[_0x35ffc6([0x74,0x68,0x65,0x6e])]===_0x35ffc6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x538fbc[_0x35ffc6([0x63,0x61,0x74,0x63,0x68])]===_0x35ffc6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51b5fe(_0x12c110){_0x4e4268(_0x12c110)[_0x35ffc6([0x74,0x68,0x65,0x6e])](_0x22ef7b=>{if(!_0x22ef7b||_0x22ef7b[_0x35ffc6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35ffc6([0x6f,0x6b]))return _0x35ffc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d6aeb(_0x986016(_0x14da72+_0x320751))!=_0x22ef7b[_0x35ffc6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35ffc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35ffc6([0x56,0x61,0x6c,0x69,0x64]);})[_0x35ffc6([0x74,0x68,0x65,0x6e])](_0x12ce6c=>(_0x93ec6a(),_0x12ce6c),()=>{const _0x548374=_0x448594();return null==_0x548374?(_0x93ec6a(),_0x35ffc6([0x56,0x61,0x6c,0x69,0x64])):_0x35ffc6(_0x2ac74f-_0x548374>(0x3037210f^_0x30d602)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35ffc6([0x74,0x68,0x65,0x6e])](_0x1f7186)[_0x35ffc6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f7186(_0x35ffc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ca20d=0x140d4b8f^_0x30d602;function _0x93ec6a(){const _0x51f07c=_0x35ffc6([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d6aeb(_0x986016(_0x161b58)),_0x514857=_0x5a2c2c(_0x3d6aeb(window[_0x35ffc6([0x4d,0x61,0x74,0x68])][_0x35ffc6([0x63,0x65,0x69,0x6c])](_0x2ac74f/_0x1ca20d)));window[_0x35ffc6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35ffc6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51f07c,_0x514857);}function _0x448594(){const _0x217494=_0x35ffc6([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d6aeb(_0x986016(_0x161b58)),_0x58526d=window[_0x35ffc6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35ffc6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x217494);return _0x58526d?window[_0x35ffc6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a2c2c(_0x58526d),0x10)*_0x1ca20d:null;}function _0x4e4268(_0x2d6904){return new window[(_0x35ffc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c696f,_0x2925c8)=>{_0x2d6904[_0x35ffc6([0x74,0x68,0x65,0x6e])](_0x1c696f,_0x2925c8),window[_0x35ffc6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2925c8,0x143a71cf^_0x30d602);});}}_0x11d0b2[_0x35ffc6([0x6f,0x6e])](_0x35ffc6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f4f92,_0x52b67d)=>{if(_0x52b67d[0x0]!=_0x161b58)return _0x1f7186(_0x35ffc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52b67d[0x1]={..._0x52b67d[0x1],[_0x35ffc6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14da72};},{[_0x35ffc6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35ffc6([0x68,0x69,0x67,0x68])}),_0x11d0b2[_0x35ffc6([0x6f,0x6e])](_0x35ffc6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x381944=>{_0x231afe(_0x381944[_0x35ffc6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x347985=!0x0,_0x51b5fe(_0x381944[_0x35ffc6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35ffc6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35ffc6([0x6c,0x6f,0x77])}),_0xa43cc1[_0x35ffc6([0x74,0x68,0x65,0x6e])](()=>{_0x347985||_0x1f7186(_0x35ffc6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3fa2e7(){return _0x11d0b2[_0x35ffc6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35ffc6([0x76,0x69,0x65,0x77])][_0x35ffc6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35ffc6([0x61,0x75,0x74,0x6f]);}function _0x80f8e9(){_0x11d0b2[_0x35ffc6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35ffc6([0x76,0x69,0x65,0x77])][_0x35ffc6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35ffc6([0x61,0x75,0x74,0x6f]);}}function _0x50c47b(_0x5e991c){const _0x3fea5a=[new window[(_0x35ffc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2232a8=>setTimeout(_0x2232a8,0x14329bc3^_0x30d602)),_0xa43cc1[_0x35ffc6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35ffc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x198c55=>{let _0x15994d=0x0;_0x11d0b2[_0x35ffc6([0x6d,0x6f,0x64,0x65,0x6c])][_0x35ffc6([0x6f,0x6e])](_0x35ffc6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x481be5,_0x1b374d)=>{_0x1b374d[0x0][_0x35ffc6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15994d++,_0x15994d==(0x143ba4f7^_0x30d602)&&(_0x198c55(),_0x481be5[_0x35ffc6([0x6f,0x66,0x66])]());});}))];return window[_0x35ffc6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35ffc6([0x72,0x61,0x63,0x65])](_0x3fea5a)[_0x35ffc6([0x74,0x68,0x65,0x6e])](()=>_0x5e991c);}async function _0x34ea08(){await _0xa43cc1,_0x11d0b2[_0x35ffc6([0x6d,0x6f,0x64,0x65,0x6c])][_0x35ffc6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15406b,_0x11d0b2[_0x35ffc6([0x6d,0x6f,0x64,0x65,0x6c])][_0x35ffc6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15406b,_0x11d0b2[_0x35ffc6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35ffc6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ce78a(){return _0x52d7a8(_0x35ffc6([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2a03e7(_0x35ffc6([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x35ffc6([0x73,0x74,0x61,0x74,0x65])]==_0x35ffc6([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0xef2076(){return _0x52d7a8(_0x35ffc6([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 _0x538920(){return _0x52d7a8(_0x35ffc6([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x43ec85(_0xf32c98){const _0x20bbbd=_0x56585b();_0x11d0b2[_0x20bbbd]=_0x35ffc6([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf32c98,_0xf32c98!=_0x35ffc6([0x56,0x61,0x6c,0x69,0x64])&&_0x34ea08();}function _0x56585b(){const _0x367e69=window[_0x35ffc6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35ffc6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35ffc6([0x6e,0x6f,0x77])]())[_0x35ffc6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35ffc6([0x2e]),'');let _0x5632a0=_0x35ffc6([0x66]);for(let _0x3bff24=0x0;_0x3bff24<_0x367e69[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bff24+=0x2){let _0x5528a6=window[_0x35ffc6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x367e69[_0x35ffc6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bff24,_0x3bff24+0x2));_0x5528a6>=_0x513870[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5528a6-=_0x513870[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5632a0+=_0x513870[_0x5528a6];}return _0x5632a0;}function _0x5a10c7(){const _0x2b951b=_0x20e27b[_0x35ffc6([0x73,0x70,0x6c,0x69,0x74])](_0x35ffc6([0x2e]));if(0x3!=_0x2b951b[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x105e33(_0x2b951b[0x1]);function _0x105e33(_0x4c4f62){const _0x23a90e=_0xd123c8(_0x4c4f62);return _0x23a90e&&_0x4a2a8f()?_0x23a90e:null;function _0x4a2a8f(){const _0x260632=_0x23a90e[_0x35ffc6([0x6a,0x74,0x69])],_0x25a312=window[_0x35ffc6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x260632[_0x35ffc6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x260632[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4df3e3={..._0x23a90e,[_0x35ffc6([0x6a,0x74,0x69])]:_0x260632[_0x35ffc6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x260632[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4df3e3[_0x35ffc6([0x76,0x63])],_0x986016(_0x4df3e3)==_0x25a312;}}}async function _0x5f1207(){let _0x4dc2ce=!0x0;try{const _0x209a10=_0x20e27b[_0x35ffc6([0x73,0x70,0x6c,0x69,0x74])](_0x35ffc6([0x2e])),[_0x2ed033,_0x48ba76,_0x2d530d]=_0x209a10;return _0x11fad5(_0x2ed033),await _0x40693d(_0x2ed033,_0x48ba76,_0x2d530d),_0x4dc2ce;}catch{return!0x1;}function _0x11fad5(_0x2e3e5d){const _0x10628a=_0xd123c8(_0x2e3e5d);_0x10628a&&_0x10628a[_0x35ffc6([0x61,0x6c,0x67])]==_0x35ffc6([0x45,0x53,0x32,0x35,0x36])||(_0x4dc2ce=!0x1);}async function _0x40693d(_0x287aed,_0x2f4325,_0xb1df27){const _0x162597=window[_0x35ffc6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35ffc6([0x66,0x72,0x6f,0x6d])](_0x1a4904(_0xb1df27),_0x2d792f=>_0x2d792f[_0x35ffc6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x347abb=new window[(_0x35ffc6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35ffc6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x287aed+_0x35ffc6([0x2e])+_0x2f4325),_0x1cc8f8=window[_0x35ffc6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35ffc6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1cc8f8)return;const _0x1a00ac=await _0x1cc8f8[_0x35ffc6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35ffc6([0x6a,0x77,0x6b]),_0x2d03cb,{[_0x35ffc6([0x6e,0x61,0x6d,0x65])]:_0x35ffc6([0x45,0x43,0x44,0x53,0x41]),[_0x35ffc6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35ffc6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35ffc6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1cc8f8[_0x35ffc6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35ffc6([0x6e,0x61,0x6d,0x65])]:_0x35ffc6([0x45,0x43,0x44,0x53,0x41]),[_0x35ffc6([0x68,0x61,0x73,0x68])]:{[_0x35ffc6([0x6e,0x61,0x6d,0x65])]:_0x35ffc6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a00ac,_0x162597,_0x347abb)||(_0x4dc2ce=!0x1);}}function _0xd123c8(_0x208429){return _0x208429[_0x35ffc6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35ffc6([0x65,0x79]))?JSON[_0x35ffc6([0x70,0x61,0x72,0x73,0x65])](_0x1a4904(_0x208429)):null;}function _0x1a4904(_0x13982b){return window[_0x35ffc6([0x61,0x74,0x6f,0x62])](_0x13982b[_0x35ffc6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35ffc6([0x2b]))[_0x35ffc6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35ffc6([0x2f])));}function _0x986016(_0x55b363){let _0x1d48d8=0x1505;function _0x5ab44a(_0x119489){for(let _0x3b2873=0x0;_0x3b2873<_0x119489[_0x35ffc6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b2873++){const _0x4dd328=_0x119489[_0x35ffc6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b2873);_0x1d48d8=(_0x1d48d8<<0x5)+_0x1d48d8+_0x4dd328,_0x1d48d8&=_0x1d48d8;}}function _0x1f223b(_0x3e0d18){Array[_0x35ffc6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e0d18)?_0x3e0d18[_0x35ffc6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f223b):_0x3e0d18&&typeof _0x3e0d18==_0x35ffc6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35ffc6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e0d18)[_0x35ffc6([0x73,0x6f,0x72,0x74])]()[_0x35ffc6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x174763,_0x2e8a7a])=>{_0x5ab44a(_0x174763),_0x1f223b(_0x2e8a7a);}):_0x5ab44a(window[_0x35ffc6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e0d18));}return _0x1f223b(_0x55b363),_0x1d48d8>>>0x0;}function _0x3d6aeb(_0x471836){return _0x471836[_0x35ffc6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35ffc6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35ffc6([0x30]));}function _0x5a2c2c(_0x3bf734){return _0x3bf734[_0x35ffc6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35ffc6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35ffc6([0x6a,0x6f,0x69,0x6e])]('');}function _0x52d7a8(_0x140c75){return _0x11d0b2[_0x35ffc6([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x35ffc6([0x68,0x61,0x73])](_0x140c75);}function _0x2a03e7(_0x41a829){return _0x11d0b2[_0x35ffc6([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x35ffc6([0x67,0x65,0x74])](_0x41a829);}function _0x15406b(){}function _0x35ffc6(_0x346259){const _0x212c90=_0xfe51;return _0x346259[_0x212c90(0x206)](_0x2c2742=>String[_0x212c90(0x1e6)](_0x2c2742))[_0x212c90(0x191)]('');}_0x43ec85(await _0x22f5f7());}(this);}[_0x114c89(0x1ea)](){const _0x339db1=_0x114c89,_0x3bf614=this[_0x339db1(0x17f)][_0x339db1(0x184)][_0x339db1(0x1d3)](_0x140a94),_0x3726b3=this[_0x339db1(0x17f)][_0x339db1(0x1fc)][_0x339db1(0x1d3)](_0x339db1(0x18b));for(const _0x5e236e of _0x3bf614[_0x339db1(0x1f8)]({'channelId':_0x3726b3}))_0x3bf614[_0x339db1(0x185)](_0x5e236e['id']),_0x3bf614[_0x339db1(0x1f5)][_0x339db1(0x1b7)](_0x5e236e['id']);super[_0x339db1(0x1ea)]();}[_0x114c89(0x192)](_0x55e85c){const _0x42b6cf=_0x114c89;return this[_0x42b6cf(0x1f2)](_0x55e85c)[_0x42b6cf(0x1bf)]>0x0;}[_0x114c89(0x1f2)](_0x5700a8){const _0x43e124=_0x114c89,_0x18cd29=[];for(const _0x18d46a of this[_0x43e124(0x17f)][_0x43e124(0x17c)][_0x43e124(0x1b6)])_0x18d46a[_0x43e124(0x18a)][_0x43e124(0x181)](_0x43e124(0x19a)+_0x5700a8)&&_0x18cd29[_0x43e124(0x1c1)](_0x18d46a);return _0x18cd29;}[_0x114c89(0x190)](_0x32e974){setTimeout(()=>{const _0x9be845=_0xfe51,_0x10a20f=this[_0x9be845(0x1cb)](_0x32e974);if(!_0x10a20f)return;this[_0x9be845(0x205)]&&splitMarkerName(this[_0x9be845(0x205)])['id']===_0x32e974&&_0x1e5619({'target':_0x10a20f[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x114c89(0x207)](_0x518d7d){const _0x12af6a=_0x114c89;this[_0x12af6a(0x17f)][_0x12af6a(0x17c)][_0x12af6a(0x16f)](()=>{const _0x4cb0e2=_0x12af6a;for(const _0x4f1157 of this[_0x4cb0e2(0x1f2)](_0x518d7d))this[_0x4cb0e2(0x17f)][_0x4cb0e2(0x1a2)][_0x4cb0e2(0x1d4)](_0x4f1157);});}[_0x114c89(0x1ed)](_0x183eb0){const _0x2b42f3=_0x114c89,_0xbc9248=this[_0x2b42f3(0x17f)][_0x2b42f3(0x184)][_0x2b42f3(0x1d3)](_0x140a94),_0x139cc5=this[_0x2b42f3(0x17f)][_0x2b42f3(0x184)][_0x2b42f3(0x1d3)](_0x36c47a),_0x23fc24=_0xbc9248[_0x2b42f3(0x1b5)](_0x183eb0);if(!_0x23fc24[_0x2b42f3(0x1bd)]){const _0x47ebd9=_0x23fc24[_0x2b42f3(0x1fa)](()=>this[_0x2b42f3(0x1cb)](_0x23fc24['id']));_0x139cc5[_0x2b42f3(0x1a3)](_0x47ebd9),_0x23fc24[_0x2b42f3(0x195)]=!0x1;}}[_0x114c89(0x1dd)](){const _0x58a363=_0x114c89,_0xf0f1ba=this[_0x58a363(0x17f)],_0x41d0b8=_0xf0f1ba[_0x58a363(0x184)][_0x58a363(0x1d3)](_0x196f31);_0xf0f1ba[_0x58a363(0x1f0)][_0x58a363(0x172)](_0x58a363(0x1e9))[_0x58a363(0x16d)]({'model':_0x58a363(0x210),'view':(_0x2bcb42,_0x5270e8)=>{const _0x522c17=_0x58a363,{id:_0x41d67a}=splitMarkerName(_0x2bcb42[_0x522c17(0x174)]),_0x17fcc6=_0xf0f1ba[_0x522c17(0x184)][_0x522c17(0x1d3)](_0x140a94)[_0x522c17(0x1b5)](_0x41d67a),_0x399379=this[_0x522c17(0x205)]&&splitMarkerName(this[_0x522c17(0x205)])['id']===_0x41d67a;let _0x214920;if(_0x17fcc6&&_0x17fcc6[_0x522c17(0x1ae)]&&!_0x399379&&_0x2bcb42[_0x522c17(0x1f4)])return _0x5270e8[_0x522c17(0x1dc)][_0x522c17(0x1aa)](_0x2bcb42[_0x522c17(0x1f4)],_0x522c17(0x1bc)+_0x2bcb42[_0x522c17(0x174)]),_0x5270e8[_0x522c17(0x1dc)][_0x522c17(0x1aa)](_0x2bcb42[_0x522c17(0x1f4)],_0x522c17(0x18c)+_0x2bcb42[_0x522c17(0x174)]),null;const _0x20993c=[_0x522c17(0x194)];return _0x399379&&_0x20993c[_0x522c17(0x1c1)](_0x522c17(0x1d7)),_0x214920=_0x17fcc6?.[_0x522c17(0x1bf)]?_0x17fcc6[_0x522c17(0x200)][_0x522c17(0x1f9)][_0x522c17(0x1c9)]['id']:_0x41d0b8['me']['id'],{'classes':_0x20993c,'attributes':{'data-comment':_0x41d67a,'data-author-id':_0x214920}};}}),_0xf0f1ba[_0x58a363(0x1f0)][_0x58a363(0x172)](_0x58a363(0x1a1))[_0x58a363(0x1de)]({'model':_0x58a363(0x210),'view':(_0x1f393f,{options:_0x3296cc})=>{const _0x3014a0=_0x58a363;if(_0x3296cc[_0x3014a0(0x1fd)])return null;const _0x398592=_0xf0f1ba[_0x3014a0(0x184)][_0x3014a0(0x1d3)](_0x140a94),_0x137331=_0xf0f1ba[_0x3014a0(0x17c)][_0x3014a0(0x1b6)][_0x3014a0(0x1d3)](_0x1f393f),{id:_0x30ec03,part:_0x501b5e}=splitMarkerName(_0x1f393f);return _0x137331&&!_0x137331[_0x3014a0(0x196)]||_0x3296cc[_0x3014a0(0x1cd)]&&_0x398592[_0x3014a0(0x1b5)](_0x30ec03)?.[_0x3014a0(0x1ae)]?null:{'group':_0x3014a0(0x210),'name':_0x501b5e?_0x30ec03+':'+_0x501b5e:_0x30ec03};}}),_0xf0f1ba[_0x58a363(0x1f0)][_0x58a363(0x172)](_0x58a363(0x20d))[_0x58a363(0x179)]({'view':{'name':_0x58a363(0x210),'attributes':{'id':/^\w/}},'model':(_0x9514c4,{writer:_0x368316})=>_0x368316[_0x58a363(0x19b)](_0x58a363(0x1ad),{'data-name':_0x58a363(0x19a)+_0x9514c4[_0x58a363(0x1ee)]('id')})}),_0xf0f1ba[_0x58a363(0x1f0)][_0x58a363(0x172)](_0x58a363(0x20d))[_0x58a363(0x186)]({'view':_0x58a363(0x210)});}[_0x114c89(0x1d6)](){const _0xf141e3=_0x114c89,_0xf148fc=this[_0xf141e3(0x17f)],_0x6a4232=_0xf148fc[_0xf141e3(0x184)][_0xf141e3(0x1d3)](_0x140a94),_0x195e78=new Set(),_0x85c59a=new Set();_0xf148fc[_0xf141e3(0x17c)][_0xf141e3(0x1bb)][_0xf141e3(0x178)](_0x19f775=>{const _0x2c7cb6=_0xf141e3;let _0x1c00e3=!0x1;for(const {name:_0x26391e,data:_0xc8c52c}of _0xf148fc[_0x2c7cb6(0x17c)][_0x2c7cb6(0x1bb)][_0x2c7cb6(0x188)][_0x2c7cb6(0x1af)]()){const {group:_0x1e4c30,id:_0x8432f9}=splitMarkerName(_0x26391e);let _0x35b79b=_0xc8c52c[_0x2c7cb6(0x1a7)];if(_0x2c7cb6(0x210)!==_0x1e4c30||!_0x35b79b)continue;const _0xf6ecc0=_0x2c7cb6(0x1c8)===_0x35b79b[_0x2c7cb6(0x18e)][_0x2c7cb6(0x1b9)];_0xf6ecc0||(_0x35b79b=dt(_0x35b79b,_0xf148fc[_0x2c7cb6(0x17c)]),!_0x35b79b||_0x35b79b[_0x2c7cb6(0x20a)]||!_0xc8c52c[_0x2c7cb6(0x1a7)]||_0x35b79b[_0x2c7cb6(0x1a5)](_0xc8c52c[_0x2c7cb6(0x1a7)]))?_0xf148fc[_0x2c7cb6(0x17c)][_0x2c7cb6(0x1b2)](_0x35b79b)&&!_0xf6ecc0?this[_0x2c7cb6(0x1df)]?_0x195e78[_0x2c7cb6(0x175)](_0x26391e):this[_0x2c7cb6(0x1c7)](_0x26391e,_0x8432f9):(_0x85c59a[_0x2c7cb6(0x175)](_0x26391e),_0x195e78[_0x2c7cb6(0x1b7)](_0x26391e),_0x19f775[_0x2c7cb6(0x19e)](_0x26391e),_0x1c00e3=!0x0):(_0x19f775[_0x2c7cb6(0x1be)](_0x26391e,{'range':_0x35b79b}),_0x1c00e3=!0x0);}return _0x1c00e3;}),this['on'](_0xf141e3(0x170),(_0x3b01fa,_0x4bf8a3,_0x17356e)=>{const _0x5effaa=_0xf141e3;if(!_0x17356e&&_0x195e78[_0x5effaa(0x19f)])for(const _0x3cf9c0 of _0x195e78){const {id:_0xb0501e}=splitMarkerName(_0x3cf9c0);_0x195e78[_0x5effaa(0x1b7)](_0x3cf9c0),_0xf148fc[_0x5effaa(0x17c)][_0x5effaa(0x1b6)][_0x5effaa(0x1d3)](_0x3cf9c0)&&this[_0x5effaa(0x1c7)](_0x3cf9c0,_0xb0501e);}}),this[_0xf141e3(0x19c)](_0xf148fc[_0xf141e3(0x17c)][_0xf141e3(0x1bb)],_0xf141e3(0x16f),()=>{const _0x245e0a=_0xf141e3;for(const {name:_0x261e16,data:{newRange:_0x1ab8db}}of _0xf148fc[_0x245e0a(0x17c)][_0x245e0a(0x1bb)][_0x245e0a(0x188)][_0x245e0a(0x1af)]()){const {group:_0x24fff3,id:_0x415675}=splitMarkerName(_0x261e16);if(_0x245e0a(0x210)!==_0x24fff3)continue;const _0x5b7136=_0x6a4232[_0x245e0a(0x1b5)](_0x415675),_0x97a738=this[_0x245e0a(0x192)](_0x415675);_0x5b7136&&(!_0x5b7136[_0x245e0a(0x195)]&&_0x1ab8db&&_0xf148fc[_0x245e0a(0x1a2)][_0x245e0a(0x211)][_0x245e0a(0x208)](_0x245e0a(0x1a6),()=>{const _0x5b9020=_0x245e0a,_0x52ffe0=_0xf148fc[_0x5b9020(0x184)][_0x5b9020(0x1d3)](_0x1af98),_0x33983f=_0x6a4232[_0x5b9020(0x1e5)][_0x5b9020(0x1d3)](_0x5b7136)[_0x5b9020(0x211)];_0x52ffe0[_0x5b9020(0x17d)](_0x33983f)[_0x5b9020(0x204)]();},{'priority':_0x245e0a(0x1ef)}),_0x5b7136[_0x245e0a(0x195)]=_0x97a738||!!_0x1ab8db),_0x1ab8db||(_0x85c59a[_0x245e0a(0x175)](_0x261e16),_0x195e78[_0x245e0a(0x1b7)](_0x261e16));}for(const _0x1e0636 of _0x85c59a){const {id:_0xc4dbee}=splitMarkerName(_0x1e0636),_0x4823d8=_0x6a4232[_0x245e0a(0x1b5)](_0xc4dbee);if(_0x195e78[_0x245e0a(0x1b7)](_0x1e0636),!_0x4823d8)continue;const _0x1001ba=this[_0x245e0a(0x192)](_0xc4dbee);_0x1001ba||_0x4823d8[_0x245e0a(0x17b)]?_0x1001ba||_0x4823d8[_0x245e0a(0x1c5)]||_0x4823d8[_0x245e0a(0x1ca)](new Date()):_0x4823d8[_0x245e0a(0x1cc)]();}_0x85c59a[_0x245e0a(0x18d)]();});}[_0x114c89(0x1b0)](_0x354d2a){const _0x4427e1=_0x114c89;_0x354d2a[_0x4427e1(0x1ab)](_0x4a99b8=>{const _0x379465=_0x4427e1;_0x4a99b8[_0x379465(0x1c5)]&&this[_0x379465(0x1ed)](_0x4a99b8['id']);});}[_0x114c89(0x1cb)](_0x42f770){const _0x403c84=_0x114c89,_0x4a7f80=this[_0x403c84(0x17f)],_0x2e9eff=this[_0x403c84(0x1f2)](_0x42f770);return _0x2ad303(_0x4a7f80[_0x403c84(0x1a2)],_0x2e9eff);}[_0x114c89(0x19d)](_0x31a2ec){const _0x2fb1ca=_0x114c89,_0x4ad2b4=this[_0x2fb1ca(0x1f2)](_0x31a2ec);let _0x5942f2='',_0x3f8398=!0x1;for(const _0x55f61e of _0x4ad2b4){const _0x5729da=_0x55f61e[_0x2fb1ca(0x1e7)]();for(const _0x417de5 of Array[_0x2fb1ca(0x1f6)](_0x5729da[_0x2fb1ca(0x20c)]()))_0x417de5['is'](_0x2fb1ca(0x203))?(_0x5942f2&&_0x3f8398&&(_0x5942f2+='\x20',_0x3f8398=!0x1),_0x5942f2+=_0x417de5[_0x2fb1ca(0x16e)]):_0x3f8398=!0x0;_0x3f8398=!0x0;}return _0x5942f2[_0x2fb1ca(0x1a8)](0x0,0x96);}[_0x114c89(0x20b)](_0x2199d1,_0x3c6567){const _0xcf1c0a=_0x114c89,_0x18a22f=this[_0xcf1c0a(0x17f)],_0xa731fb=_0x18a22f[_0xcf1c0a(0x184)][_0xcf1c0a(0x1d3)](_0x140a94);let _0x45e3e1=_0xa731fb[_0xcf1c0a(0x1b5)](_0x3c6567);const _0x384272=_0x18a22f[_0xcf1c0a(0x1fc)][_0xcf1c0a(0x1d3)](_0xcf1c0a(0x18b)),_0x6f6a00=_0x18a22f[_0xcf1c0a(0x184)][_0xcf1c0a(0x1d3)](_0x36c47a);if(_0x45e3e1&&(_0x45e3e1[_0xcf1c0a(0x1c5)]&&_0x45e3e1[_0xcf1c0a(0x1ca)](null),_0x45e3e1[_0xcf1c0a(0x1bd)]))return _0x45e3e1;return!this[_0xcf1c0a(0x1f2)](_0x3c6567)[0x0][_0xcf1c0a(0x1e4)]?_0x18a22f[_0xcf1c0a(0x1a2)][_0xcf1c0a(0x211)][_0xcf1c0a(0x208)](_0xcf1c0a(0x1a6),()=>{const _0x11b5df=_0xcf1c0a;if(_0xa731fb[_0x11b5df(0x1b5)](_0x3c6567))return;const _0x3b062e=_0x18a22f[_0x11b5df(0x184)][_0x11b5df(0x1d3)](_0x1af98);_0x45e3e1=_0xa731fb[_0x11b5df(0x198)]({'channelId':_0x384272,'threadId':_0x3c6567,'target':()=>this[_0x11b5df(0x1cb)](_0x3c6567),'context':{'type':_0x11b5df(0x1f1),'value':this[_0x11b5df(0x19d)](_0x3c6567)}});const _0x32afb8=_0xa731fb[_0x11b5df(0x1e5)][_0x11b5df(0x1d3)](_0x45e3e1)[_0x11b5df(0x211)],_0x4a2179=_0x3b062e[_0x11b5df(0x17d)](_0x32afb8);_0x4a2179&&_0x6f6a00[_0x11b5df(0x1a3)](_0x4a2179);},{'priority':_0xcf1c0a(0x1ef)}):_0xa731fb[_0xcf1c0a(0x1ac)]({'channelId':_0x384272,'threadId':_0x3c6567})[_0xcf1c0a(0x197)](_0x111500=>{const _0xe7dbe3=_0xcf1c0a;if(_0xe7dbe3(0x1c3)!==_0x18a22f[_0xe7dbe3(0x1a9)]){if(_0x45e3e1=_0x111500,_0x45e3e1&&!_0x45e3e1[_0xe7dbe3(0x1bd)]){const _0x1c9b7b=_0x45e3e1[_0xe7dbe3(0x1fa)](()=>this[_0xe7dbe3(0x1cb)](_0x3c6567));_0x6f6a00[_0xe7dbe3(0x1a3)](_0x1c9b7b),_0x45e3e1[_0xe7dbe3(0x1ae)]&&this[_0xe7dbe3(0x207)](_0x3c6567);}else{if(!_0x45e3e1){const _0x29c5e7=this[_0xe7dbe3(0x1f2)](_0x3c6567);_0x18a22f[_0xe7dbe3(0x17c)][_0xe7dbe3(0x16f)](_0x4a4c1b=>{const _0x98dc00=_0xe7dbe3;for(const _0x3ed5d9 of _0x29c5e7)_0x4a4c1b[_0x98dc00(0x19e)](_0x3ed5d9);});}}}}),_0x45e3e1;}[_0x114c89(0x1c7)](_0x452061,_0x5196e0){const _0x445158=_0x114c89,_0x35ec4a=this[_0x445158(0x20b)](_0x452061,_0x5196e0);_0x35ec4a&&!_0x35ec4a[_0x445158(0x1c6)]&&_0x35ec4a[_0x445158(0x1b8)]({'type':_0x445158(0x1f1),'value':this[_0x445158(0x19d)](_0x5196e0)});}[_0x114c89(0x202)](){const _0x3904b7=_0x114c89,_0x57a7ab=this[_0x3904b7(0x17f)];_0x30bfdb(_0x57a7ab[_0x3904b7(0x17c)],({left:_0x105ba2,entered:_0x37c713})=>{const _0x3c35e0=_0x3904b7;for(const _0x254583 of _0x105ba2)if(mt(_0x254583)){_0x57a7ab['ui'][_0x3c35e0(0x1d2)][_0x3c35e0(0x201)](_0x5e1a03(_0x57a7ab[_0x3c35e0(0x1d9)],_0x3c35e0(0x1e0)));break;}for(const _0x983332 of _0x37c713)if(mt(_0x983332)){_0x57a7ab['ui'][_0x3c35e0(0x1d2)][_0x3c35e0(0x201)](_0x5e1a03(_0x57a7ab[_0x3c35e0(0x1d9)],_0x3c35e0(0x17a),_0x2708e5(_0x2165b2)));break;}});}}function ft(_0x2dd172,_0x100daf){return _0x100daf?_0x2dd172+':'+_0x100daf:_0x2dd172;}export function splitMarkerName(_0xe6c2f0){const _0xd4abd6=_0x114c89,_0x9542e3=_0xe6c2f0[_0xd4abd6(0x1ec)](':');return{'group':_0x9542e3[0x0],'id':_0x9542e3[0x1],'part':_0x9542e3[0x2]};}function dt(_0x5d9bbe,_0x37e362){const _0x266244=_0x114c89,_0x4916e7=_0x37e362[_0x266244(0x176)],_0x3323f6=_0x37e362[_0x266244(0x1f7)](_0x5d9bbe[_0x266244(0x1e1)]);for(const _0x4d3c8c of _0x5d9bbe[_0x266244(0x193)]()){const {type:_0x226d9e,item:_0x169108,nextPosition:_0x24518c}=_0x4d3c8c;if(_0x266244(0x1f1)===_0x226d9e||_0x4916e7[_0x266244(0x20e)](_0x169108)){const _0x475961=_0x37e362[_0x266244(0x1d1)](_0x169108);_0x3323f6[_0x266244(0x20a)]&&(_0x3323f6[_0x266244(0x1e1)]=_0x475961),_0x3323f6[_0x266244(0x1ce)]=_0x24518c;}}return _0x3323f6;}function mt(_0x25aba8){const _0x1b229d=_0x114c89;return _0x1b229d(0x210)===splitMarkerName(_0x25aba8[_0x1b229d(0x18a)])[_0x1b229d(0x1fe)];}
|