@ckeditor/ckeditor5-comments 45.2.1 → 46.0.0-alpha.1
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 _0x3ab17f=_0x3d5c;(function(_0x115513,_0x2c2034){const _0x4e1806=_0x3d5c,_0x14fcd6=_0x115513();while(!![]){try{const _0x27b3a5=parseInt(_0x4e1806(0xa2))/0x1+parseInt(_0x4e1806(0x9f))/0x2+-parseInt(_0x4e1806(0x92))/0x3*(parseInt(_0x4e1806(0xbc))/0x4)+-parseInt(_0x4e1806(0xeb))/0x5+parseInt(_0x4e1806(0x109))/0x6*(parseInt(_0x4e1806(0xfd))/0x7)+parseInt(_0x4e1806(0x96))/0x8*(-parseInt(_0x4e1806(0xee))/0x9)+-parseInt(_0x4e1806(0xa3))/0xa;if(_0x27b3a5===_0x2c2034)break;else _0x14fcd6['push'](_0x14fcd6['shift']());}catch(_0x5b3884){_0x14fcd6['push'](_0x14fcd6['shift']());}}}(_0x2583,0xec512));import{Plugin as _0x17692a}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x49b373,scrollViewportToShowTarget as _0xf26c8a,uid as _0x590432}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x1de309}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x1f11c5}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x544929,getAllMarkersDomElementsSorted as _0x493a84,FOCUS_ANNOTATION_KEYSTROKE as _0x1a5e2,Users as _0x203ec2}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x4b6afe}from'../annotations/editorannotations.js';function _0x2583(){const _0x325028=['locale','requires','markerToData','delete','$graveyard','ready','first','getRange','fetchCommentThread','3FIOpXS','removeCommentThread','comment:','root','8pKdmgB','registerPostFixer','isAttached','size','getAttribute','createElement','unlinkedAt','hasMarkerForId','_attachMarkerToThread','3706118sLrIAa','length','substring','1880748BpYxeG','4399930vyZosE','isPremiumPlugin','model','_threadToController','rootName','push','filter','_attachArchivedThread','elementToElement','from','_initAriaMarkerChangeAnnouncements','map','updateMarker','ariaLiveAnnouncer','editor','addComment','differ','getItems','announce','_hasTargetInContent','clear','state','author','openNewCommentThread','comments','7326888iSgEwu','_getTargetForId','for','editing','change:activeMarker','setUnlinkedAt','reopenCommentThread','consumable','get','ignoreResolvedComments','_handleInitialThreads','once','hasCommentThread','_reconvertMarkers','_initializeMarkerConverters','fromCharCode','setContext','registerAnnotation','getWalker','_getTextContext','managedUsingOperations','focus','markers','change:isReadOnly','consume','isSubmitted','createPositionBefore','isCollapsed','add','change:isThreadsLoadingPaused','change','context','getChangedMarkers','removeMarker:','end','then','$marker','low','pluginName','set','scrollToThreadMarker','isThreadsLoadingPaused','forEach','showCommentHighlights','attachTo','enqueueChange','document','5436965EtZGHf','item','getCommentThreads','697806uiklHP','_handleMarkerAddAndRemove','hasContent','affectsData','LEAVE_COMMENT_ANNOUNCEMENT','start','collaboration.channelId','text','switchReadOnly','comment','_handleThreadMarker','group','isResolved','listenTo','data','553EmQNeY','init','hasDomSelection','markerName','conversion','dataDowncast','afterInit','join','newRange','upcast','_detachCommentThread','config','50946zZNsHj','markerToHighlight','channelId','commands','plugins','resolveCommentThread','isObject','href','getAllMarkersForId','dataToMarker','name','destroyed','addMarker:','getByInnerView','ck-comment-marker--active','ENTER_COMMENT_ANNOUNCEMENT','isEqual','destroy','startsWith','schema','getCommentThread','render','refreshVisibility','editingDowncast','ck-comment-marker','$textProxy','_threads','isOfficialPlugin','remove','reconvertMarker','split','CommentsEditing','removeMarker','view','createRange','addCommentThread','activeMarker'];_0x2583=function(){return _0x325028;};return _0x2583();}import{CommentsRestrictedEditingMode as _0x3e1ecc}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x1c2b5b}from'./integrations/importword.js';import{CommentsClipboard as _0x2ffa4f}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x99e2ec}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x6160a8}from'../annotations/annotations.js';import{getTranslation as _0x10f3cf}from'../utils/common-translations.js';export class CommentsEditing extends _0x17692a{static get[_0x3ab17f(0x8a)](){return[_0x1de309,_0x4b6afe,_0x203ec2,_0x3e1ecc,_0x1c2b5b,_0x2ffa4f,_0x99e2ec];}static get[_0x3ab17f(0xe2)](){const _0xf991ba=_0x3ab17f;return _0xf991ba(0x83);}static get[_0x3ab17f(0x124)](){return!0x0;}static get[_0x3ab17f(0xa4)](){return!0x0;}constructor(_0x2c9aa1){const _0x19b237=_0x3ab17f;super(_0x2c9aa1),this[_0x19b237(0xe3)](_0x19b237(0xe5),!0x0),_0x2c9aa1[_0x19b237(0xfc)][_0x19b237(0xc7)](_0x19b237(0x8e),()=>this[_0x19b237(0xe5)]=!0x1),this[_0x19b237(0xe3)](_0x19b237(0x88),null),this['on'](_0x19b237(0xc0),(_0x231aca,_0x29c717,_0xc12a,_0xc13e32)=>{const _0x498922=_0x19b237,_0x2b81d2=_0x2c9aa1[_0x498922(0x10d)][_0x498922(0xc4)](_0x1de309),_0x24ccd5=_0xc12a?splitMarkerName(_0xc12a)['id']:null;_0x2c9aa1[_0x498922(0xa5)][_0x498922(0xda)](()=>{const _0x2d91b2=_0x498922;if(_0x24ccd5){const _0x3c1f56=this[_0x2d91b2(0x111)](_0x24ccd5);for(const _0x467b83 of _0x3c1f56)_0x2c9aa1[_0x2d91b2(0xbf)][_0x2d91b2(0x81)](_0x467b83);}if(_0xc13e32){const {id:_0x247916}=splitMarkerName(_0xc13e32),_0x1bc852=_0x2b81d2[_0x2d91b2(0x11d)](_0x247916);if(_0x1bc852&&_0x1bc852[_0x2d91b2(0x9c)])return;if(_0x1bc852&&!_0x1bc852[_0x2d91b2(0x98)])return;const _0x46c93c=this[_0x2d91b2(0x111)](_0x247916);for(const _0xdf1ffb of _0x46c93c)_0x2c9aa1[_0x2d91b2(0xbf)][_0x2d91b2(0x81)](_0xdf1ffb);}}),_0x24ccd5&&this[_0x498922(0xe4)](_0x24ccd5);}),this[_0x19b237(0xad)]();}[_0x3ab17f(0xfe)](){const _0x12774f=_0x3ab17f,_0x55cbe=this[_0x12774f(0xb1)],_0x3403d7=_0x55cbe[_0x12774f(0x10d)][_0x12774f(0xc4)](_0x1de309),_0x7a7dd2=_0x55cbe[_0x12774f(0x108)][_0x12774f(0xc4)](_0x12774f(0xf4)),_0x178ef4=_0x3403d7[_0x12774f(0xed)]()[_0x12774f(0xa9)](_0x4972ad=>_0x4972ad[_0x12774f(0x10b)]!==_0x7a7dd2);_0x55cbe[_0x12774f(0x10c)][_0x12774f(0xd8)](_0x12774f(0x87),new _0x1f11c5(_0x55cbe)),this[_0x12774f(0xfb)](_0x55cbe,_0x12774f(0xd3),(_0x39385c,_0x1ba51d,_0x278d00)=>{const _0x533ed9=_0x12774f;_0x3403d7[_0x533ed9(0xf6)](_0x278d00,_0x55cbe[_0x533ed9(0x108)][_0x533ed9(0xc4)](_0x533ed9(0xf4)));}),this[_0x12774f(0xfb)](_0x3403d7,ft(_0x12774f(0x87),_0x7a7dd2),(_0x3d54b5,{threadId:_0x1f555f})=>{const _0x356af7=_0x12774f,_0x1ae3a5=this[_0x356af7(0xb1)][_0x356af7(0x10d)][_0x356af7(0xc4)](_0x1de309)[_0x356af7(0x11d)](_0x1f555f);_0x1ae3a5?.[_0x356af7(0x9c)]&&this[_0x356af7(0xaa)](_0x1f555f);}),this[_0x12774f(0xfb)](_0x3403d7,ft(_0x12774f(0x93),_0x7a7dd2),(_0x402e19,{threadId:_0x508790})=>{const _0x218797=_0x12774f;_0x55cbe[_0x218797(0xa5)][_0x218797(0xe9)]({'isUndoable':!0x1},_0x535892=>{const _0x23123b=_0x218797,_0x53ff59=this[_0x23123b(0x111)](_0x508790);for(const _0x30539f of _0x53ff59)_0x535892[_0x23123b(0x84)](_0x30539f);});}),this[_0x12774f(0xfb)](_0x3403d7,ft(_0x12774f(0x10e),_0x7a7dd2),(_0x189752,{threadId:_0x3f9365})=>{const _0x172db9=_0x12774f;(this[_0x172db9(0xc9)](_0x3f9365),this[_0x172db9(0xb1)][_0x172db9(0xbf)][_0x172db9(0x85)][_0x172db9(0xff)])&&(this[_0x172db9(0xb1)][_0x172db9(0x10d)][_0x172db9(0xc4)](_0x1de309)[_0x172db9(0x11d)](_0x3f9365)[_0x172db9(0x9c)]||this[_0x172db9(0xb1)][_0x172db9(0xbf)][_0x172db9(0x85)][_0x172db9(0xd1)]());},{'priority':_0x12774f(0xe1)}),this[_0x12774f(0xfb)](_0x3403d7,ft(_0x12774f(0xc2),_0x7a7dd2),(_0x62c6e6,{threadId:_0x3afdd1})=>{const _0x3e6dd9=_0x12774f;this[_0x3e6dd9(0xc9)](_0x3afdd1);},{'priority':_0x12774f(0xe1)}),this[_0x12774f(0xfb)](_0x3403d7,ft(_0x12774f(0xb2),_0x7a7dd2),(_0x1ce8e1,{threadId:_0x5929f8,isFromAdapter:_0x129105})=>{const _0x2b7a6e=_0x12774f,_0x3765ca=this[_0x2b7a6e(0x111)](_0x5929f8);if(_0x129105||0x0==_0x3765ca[_0x2b7a6e(0xa0)]||!_0x3403d7[_0x2b7a6e(0xc8)](_0x5929f8))return;0x1===_0x3403d7[_0x2b7a6e(0x11d)](_0x5929f8)[_0x2b7a6e(0xa0)]&&_0x55cbe[_0x2b7a6e(0xa5)][_0x2b7a6e(0xe9)]({'isUndoable':!0x1},_0x2014c4=>{const _0x3896ef=_0x2b7a6e;for(const _0x182cbe of _0x3765ca)_0x2014c4[_0x3896ef(0xaf)](_0x182cbe,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x12774f(0xe1)}),this[_0x12774f(0xca)](),this[_0x12774f(0xef)](),this[_0x12774f(0xc6)](_0x178ef4);}[_0x3ab17f(0x103)](){!async function(_0x4ad5bc){const _0x56fb4c=_0x20923a([0x38,0x58,0x41,0x32,0x37,0x4f,0x44,0x43,0x36,0x4d,0x46,0x79,0x6a,0x68,0x72,0x45,0x66,0x53,0x56,0x48,0x75,0x65,0x42,0x4c,0x49,0x31,0x55,0x73,0x63,0x35,0x33,0x4e,0x61,0x39,0x78,0x69,0x70,0x47,0x71,0x6d,0x77,0x6b,0x57,0x7a,0x76,0x64,0x34,0x6e,0x59,0x5a,0x67,0x6c,0x30,0x54,0x6f,0x51,0x74,0x52,0x50,0x62,0x4b,0x4a]),_0x44e2d9=0x7e7a3181,_0x3d0e89=0x7e7d5de9^_0x44e2d9,_0x4cc3f3=window[_0x20923a([0x44,0x61,0x74,0x65])][_0x20923a([0x6e,0x6f,0x77])](),_0x48ae1d=_0x4ad5bc[_0x20923a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x271e04=new window[(_0x20923a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bf083=>{_0x48ae1d[_0x20923a([0x6f,0x6e,0x63,0x65])](_0x20923a([0x72,0x65,0x61,0x64,0x79]),_0x2bf083);}),_0xa27698={[_0x20923a([0x6b,0x74,0x79])]:_0x20923a([0x45,0x43]),[_0x20923a([0x75,0x73,0x65])]:_0x20923a([0x73,0x69,0x67]),[_0x20923a([0x63,0x72,0x76])]:_0x20923a([0x50,0x2d,0x32,0x35,0x36]),[_0x20923a([0x78])]:_0x20923a([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]),[_0x20923a([0x79])]:_0x20923a([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]),[_0x20923a([0x61,0x6c,0x67])]:_0x20923a([0x45,0x53,0x32,0x35,0x36])},_0x4ac00=_0x48ae1d[_0x20923a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20923a([0x67,0x65,0x74])](_0x20923a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f7ce4(){let _0x1632cf,_0x5dab71=null,_0x32a4ac=null;try{if(_0x4ac00==_0x20923a([0x47,0x50,0x4c]))return _0x20923a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1632cf=_0x58102a(),!_0x1632cf)return _0x20923a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1632cf[_0x20923a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32a4ac=_0x3b3f9a(_0x1632cf[_0x20923a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1632cf[_0x20923a([0x6a,0x74,0x69])])),await _0x918cf8()?_0x470bfe()?_0x1f5e8b()?_0x20923a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x251f00()?(_0x1632cf[_0x20923a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20923a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5dab71=_0x5c58fe(_0x20923a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1632cf[_0x20923a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20923a([0x74,0x72,0x69,0x61,0x6c])&&(_0x5dab71=_0x5c58fe(_0x20923a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x594600()):_0x20923a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20923a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20923a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20923a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f5e8b(){const _0x5f0a0e=[_0x20923a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20923a([0x74,0x72,0x69,0x61,0x6c])][_0x20923a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1632cf[_0x20923a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cc3f3/0x3e8:0xe10*_0x3d0e89;return _0x1632cf[_0x20923a([0x65,0x78,0x70])]<_0x5f0a0e;}function _0x470bfe(){const _0x1f3c2a=_0x1632cf[_0x20923a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1f3c2a)return!0x1;if(_0x1f3c2a[_0x20923a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20923a([0x2a])))return!0x0;if(_0x1f3c2a[_0x20923a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20923a([0x43,0x4d,0x54])))return!0x0;if(_0x1f3c2a[_0x20923a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20923a([0x52,0x43,0x4d,0x54]))){if(_0x363126())return!0x0;if(_0x1dab49()||_0x328718())return!0x0;}return!0x1;}function _0x251f00(){const _0x447895=_0x3d5c,_0x54b2c1=_0x1632cf[_0x20923a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54b2c1||0x0==_0x54b2c1[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54d766}=new URL(window[_0x20923a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x447895(0x110)]);if(_0x54b2c1[_0x20923a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54d766))return!0x0;const _0x58305b=_0x54d766[_0x20923a([0x73,0x70,0x6c,0x69,0x74])](_0x20923a([0x2e]));return _0x54b2c1[_0x20923a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x546f93=>_0x546f93[_0x20923a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20923a([0x2a])))[_0x20923a([0x6d,0x61,0x70])](_0x451fcd=>_0x451fcd[_0x20923a([0x73,0x70,0x6c,0x69,0x74])](_0x20923a([0x2e])))[_0x20923a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a5e1e=>_0x3a5e1e[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58305b[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20923a([0x6d,0x61,0x70])](_0x42e6f8=>Array(_0x58305b[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42e6f8[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20923a([0x66,0x69,0x6c,0x6c])](_0x42e6f8[0x0]===_0x20923a([0x2a])?_0x20923a([0x2a]):'')[_0x20923a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42e6f8))[_0x20923a([0x73,0x6f,0x6d,0x65])](_0x5476d3=>_0x58305b[_0x20923a([0x65,0x76,0x65,0x72,0x79])]((_0x12c1f1,_0x1bde1a)=>_0x5476d3[_0x1bde1a]===_0x12c1f1||_0x5476d3[_0x1bde1a]===_0x20923a([0x2a])));}function _0x594600(){return _0x5dab71&&_0x32a4ac?new window[(_0x20923a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x84e021,_0xab3312)=>{_0x5dab71[_0x20923a([0x74,0x68,0x65,0x6e])](_0x84e021,_0xab3312),_0x32a4ac[_0x20923a([0x74,0x68,0x65,0x6e])](_0x8adccf=>{_0x8adccf!=_0x20923a([0x56,0x61,0x6c,0x69,0x64])&&_0x84e021(_0x8adccf);},_0xab3312);}):_0x5dab71||_0x32a4ac||_0x20923a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b3f9a(_0x3a9bf2,_0x2db1a9){return new window[(_0x20923a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5255c1=>{if(_0x33ef8e())return _0x5255c1(_0x20923a([0x56,0x61,0x6c,0x69,0x64]));_0x357624(),_0x48ae1d[_0x20923a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20923a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb7ed20=!0x1;const _0x24d424=_0x590432();function _0x113cb3(_0x236f9d){return!!_0x236f9d&&(typeof _0x236f9d===_0x20923a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x236f9d===_0x20923a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x236f9d[_0x20923a([0x74,0x68,0x65,0x6e])]===_0x20923a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x236f9d[_0x20923a([0x63,0x61,0x74,0x63,0x68])]===_0x20923a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x22f9d9(_0x54f5e2){_0x3772fb(_0x54f5e2)[_0x20923a([0x74,0x68,0x65,0x6e])](_0x49f160=>{if(!_0x49f160||_0x49f160[_0x20923a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20923a([0x6f,0x6b]))return _0x20923a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x58f0b0(_0x1b6e1d(_0x24d424+_0x2db1a9))!=_0x49f160[_0x20923a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20923a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20923a([0x56,0x61,0x6c,0x69,0x64]);})[_0x20923a([0x74,0x68,0x65,0x6e])](_0x342b2e=>(_0x2f68f9(),_0x342b2e),()=>{const _0x40515c=_0x23a25c();return null==_0x40515c?(_0x2f68f9(),_0x20923a([0x56,0x61,0x6c,0x69,0x64])):_0x20923a(_0x4cc3f3-_0x40515c>(0x5a76b581^_0x44e2d9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20923a([0x74,0x68,0x65,0x6e])](_0x5255c1)[_0x20923a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5255c1(_0x20923a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x30f2f5=0x7e4cdf01^_0x44e2d9;function _0x2f68f9(){const _0x34d971=_0x20923a([0x6c,0x6c,0x63,0x74,0x2d])+_0x58f0b0(_0x1b6e1d(_0x3a9bf2)),_0x31ef13=_0x2de14a(_0x58f0b0(window[_0x20923a([0x4d,0x61,0x74,0x68])][_0x20923a([0x63,0x65,0x69,0x6c])](_0x4cc3f3/_0x30f2f5)));window[_0x20923a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20923a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34d971,_0x31ef13);}function _0x23a25c(){const _0x237766=_0x20923a([0x6c,0x6c,0x63,0x74,0x2d])+_0x58f0b0(_0x1b6e1d(_0x3a9bf2)),_0x291aef=window[_0x20923a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20923a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x237766);return _0x291aef?window[_0x20923a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2de14a(_0x291aef),0x10)*_0x30f2f5:null;}function _0x3772fb(_0x580cc6){return new window[(_0x20923a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11e023,_0xb66208)=>{_0x580cc6[_0x20923a([0x74,0x68,0x65,0x6e])](_0x11e023,_0xb66208),window[_0x20923a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb66208,0x7e7be541^_0x44e2d9);});}}_0x48ae1d[_0x20923a([0x6f,0x6e])](_0x20923a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x204c69,_0x44e24a)=>{if(_0x44e24a[0x0]!=_0x3a9bf2)return _0x5255c1(_0x20923a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44e24a[0x1]={..._0x44e24a[0x1],[_0x20923a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24d424};},{[_0x20923a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20923a([0x68,0x69,0x67,0x68])}),_0x48ae1d[_0x20923a([0x6f,0x6e])](_0x20923a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x422ca7=>{_0x113cb3(_0x422ca7[_0x20923a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb7ed20=!0x0,_0x22f9d9(_0x422ca7[_0x20923a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20923a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20923a([0x6c,0x6f,0x77])}),_0x271e04[_0x20923a([0x74,0x68,0x65,0x6e])](()=>{_0xb7ed20||_0x5255c1(_0x20923a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33ef8e(){return _0x48ae1d[_0x20923a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20923a([0x76,0x69,0x65,0x77])][_0x20923a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20923a([0x61,0x75,0x74,0x6f]);}function _0x357624(){_0x48ae1d[_0x20923a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20923a([0x76,0x69,0x65,0x77])][_0x20923a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20923a([0x61,0x75,0x74,0x6f]);}}function _0x5c58fe(_0x185366){const _0x56b898=[new window[(_0x20923a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cfc1a=>setTimeout(_0x5cfc1a,0x7e730f4d^_0x44e2d9)),_0x271e04[_0x20923a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20923a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8fe901=>{let _0x28cc42=0x0;_0x48ae1d[_0x20923a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20923a([0x6f,0x6e])](_0x20923a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33be63,_0x313a20)=>{_0x313a20[0x0][_0x20923a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28cc42++,_0x28cc42==(0x7e7a3079^_0x44e2d9)&&(_0x8fe901(),_0x33be63[_0x20923a([0x6f,0x66,0x66])]());});}))];return window[_0x20923a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20923a([0x72,0x61,0x63,0x65])](_0x56b898)[_0x20923a([0x74,0x68,0x65,0x6e])](()=>_0x185366);}async function _0x5ac64b(){await _0x271e04,_0x48ae1d[_0x20923a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20923a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c415c,_0x48ae1d[_0x20923a([0x6d,0x6f,0x64,0x65,0x6c])][_0x20923a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c415c,_0x48ae1d[_0x20923a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20923a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x363126(){return _0x237423(_0x20923a([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1b81ea(_0x20923a([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x20923a([0x73,0x74,0x61,0x74,0x65])]==_0x20923a([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x1dab49(){return _0x237423(_0x20923a([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 _0x328718(){return _0x237423(_0x20923a([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x1db001(_0x42ab96){const _0x381f96=_0xcadbda();_0x48ae1d[_0x381f96]=_0x20923a([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x42ab96,_0x42ab96!=_0x20923a([0x56,0x61,0x6c,0x69,0x64])&&_0x5ac64b();}function _0xcadbda(){const _0x12c04=window[_0x20923a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20923a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20923a([0x6e,0x6f,0x77])]())[_0x20923a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20923a([0x2e]),'');let _0x3821f2=_0x20923a([0x58]);for(let _0x3c0e3c=0x0;_0x3c0e3c<_0x12c04[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c0e3c+=0x2){let _0x358123=window[_0x20923a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12c04[_0x20923a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c0e3c,_0x3c0e3c+0x2));_0x358123>=_0x56fb4c[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x358123-=_0x56fb4c[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3821f2+=_0x56fb4c[_0x358123];}return _0x3821f2;}function _0x58102a(){const _0x549e67=_0x4ac00[_0x20923a([0x73,0x70,0x6c,0x69,0x74])](_0x20923a([0x2e]));if(0x3!=_0x549e67[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x515c83(_0x549e67[0x1]);function _0x515c83(_0x4cf728){const _0x189c11=_0x8e4fc(_0x4cf728);return _0x189c11&&_0x35768b()?_0x189c11:null;function _0x35768b(){const _0x3d1814=_0x189c11[_0x20923a([0x6a,0x74,0x69])],_0x245073=window[_0x20923a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d1814[_0x20923a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d1814[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11beed={..._0x189c11,[_0x20923a([0x6a,0x74,0x69])]:_0x3d1814[_0x20923a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d1814[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11beed[_0x20923a([0x76,0x63])],_0x1b6e1d(_0x11beed)==_0x245073;}}}async function _0x918cf8(){let _0x1b7eee=!0x0;try{const _0x3efa85=_0x4ac00[_0x20923a([0x73,0x70,0x6c,0x69,0x74])](_0x20923a([0x2e])),[_0x10aadd,_0x4059b6,_0x5e34a3]=_0x3efa85;return _0x3b9cbc(_0x10aadd),await _0x2612db(_0x10aadd,_0x4059b6,_0x5e34a3),_0x1b7eee;}catch{return!0x1;}function _0x3b9cbc(_0x2a3d52){const _0x59b97a=_0x8e4fc(_0x2a3d52);_0x59b97a&&_0x59b97a[_0x20923a([0x61,0x6c,0x67])]==_0x20923a([0x45,0x53,0x32,0x35,0x36])||(_0x1b7eee=!0x1);}async function _0x2612db(_0xc26fe3,_0x26b058,_0x3fb3e0){const _0x526128=window[_0x20923a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20923a([0x66,0x72,0x6f,0x6d])](_0xbae900(_0x3fb3e0),_0x3e4772=>_0x3e4772[_0x20923a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ae9a2=new window[(_0x20923a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20923a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc26fe3+_0x20923a([0x2e])+_0x26b058),_0xea8467=window[_0x20923a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20923a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xea8467)return;const _0x9b49c5=await _0xea8467[_0x20923a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20923a([0x6a,0x77,0x6b]),_0xa27698,{[_0x20923a([0x6e,0x61,0x6d,0x65])]:_0x20923a([0x45,0x43,0x44,0x53,0x41]),[_0x20923a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20923a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20923a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xea8467[_0x20923a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20923a([0x6e,0x61,0x6d,0x65])]:_0x20923a([0x45,0x43,0x44,0x53,0x41]),[_0x20923a([0x68,0x61,0x73,0x68])]:{[_0x20923a([0x6e,0x61,0x6d,0x65])]:_0x20923a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9b49c5,_0x526128,_0x2ae9a2)||(_0x1b7eee=!0x1);}}function _0x8e4fc(_0x46a3e6){return _0x46a3e6[_0x20923a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20923a([0x65,0x79]))?JSON[_0x20923a([0x70,0x61,0x72,0x73,0x65])](_0xbae900(_0x46a3e6)):null;}function _0xbae900(_0x2b0a75){return window[_0x20923a([0x61,0x74,0x6f,0x62])](_0x2b0a75[_0x20923a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20923a([0x2b]))[_0x20923a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20923a([0x2f])));}function _0x1b6e1d(_0x151fc0){let _0x298546=0x1505;function _0x50ef4c(_0x1e21b1){for(let _0xfa52ce=0x0;_0xfa52ce<_0x1e21b1[_0x20923a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfa52ce++){const _0x440653=_0x1e21b1[_0x20923a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xfa52ce);_0x298546=(_0x298546<<0x5)+_0x298546+_0x440653,_0x298546&=_0x298546;}}function _0x4d2a91(_0x7d34ee){Array[_0x20923a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7d34ee)?_0x7d34ee[_0x20923a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d2a91):_0x7d34ee&&typeof _0x7d34ee==_0x20923a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20923a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7d34ee)[_0x20923a([0x73,0x6f,0x72,0x74])]()[_0x20923a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8491ef,_0x5c7f1d])=>{_0x50ef4c(_0x8491ef),_0x4d2a91(_0x5c7f1d);}):_0x50ef4c(window[_0x20923a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7d34ee));}return _0x4d2a91(_0x151fc0),_0x298546>>>0x0;}function _0x58f0b0(_0x42483f){return _0x42483f[_0x20923a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20923a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20923a([0x30]));}function _0x2de14a(_0x5f208d){return _0x5f208d[_0x20923a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20923a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20923a([0x6a,0x6f,0x69,0x6e])]('');}function _0x237423(_0x4df42b){return _0x48ae1d[_0x20923a([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x20923a([0x68,0x61,0x73])](_0x4df42b);}function _0x1b81ea(_0x16324f){return _0x48ae1d[_0x20923a([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x20923a([0x67,0x65,0x74])](_0x16324f);}function _0x3c415c(){}function _0x20923a(_0x4b6cab){const _0x3ca429=_0x3d5c;return _0x4b6cab[_0x3ca429(0xae)](_0x30c531=>String[_0x3ca429(0xcb)](_0x30c531))[_0x3ca429(0x104)]('');}_0x1db001(await _0x4f7ce4());}(this);}[_0x3ab17f(0x11a)](){const _0x49bc2f=_0x3ab17f,_0x2e1c7b=this[_0x49bc2f(0xb1)][_0x49bc2f(0x10d)][_0x49bc2f(0xc4)](_0x1de309),_0xa84378=this[_0x49bc2f(0xb1)][_0x49bc2f(0x108)][_0x49bc2f(0xc4)](_0x49bc2f(0xf4));for(const _0x51b016 of _0x2e1c7b[_0x49bc2f(0xed)]({'channelId':_0xa84378}))_0x2e1c7b[_0x49bc2f(0x107)](_0x51b016['id']),_0x2e1c7b[_0x49bc2f(0x123)][_0x49bc2f(0x8c)](_0x51b016['id']);super[_0x49bc2f(0x11a)]();}[_0x3ab17f(0x9d)](_0xa37d13){const _0x2aa56e=_0x3ab17f;return this[_0x2aa56e(0x111)](_0xa37d13)[_0x2aa56e(0xa0)]>0x0;}[_0x3ab17f(0x111)](_0x3440aa){const _0xd1a3ae=_0x3ab17f,_0x58e9c0=[];for(const _0x3c2e5e of this[_0xd1a3ae(0xb1)][_0xd1a3ae(0xa5)][_0xd1a3ae(0xd2)])_0x3c2e5e[_0xd1a3ae(0x113)][_0xd1a3ae(0x11b)](_0xd1a3ae(0x94)+_0x3440aa)&&_0x58e9c0[_0xd1a3ae(0xa8)](_0x3c2e5e);return _0x58e9c0;}[_0x3ab17f(0xe4)](_0x445d37){setTimeout(()=>{const _0x3d3da5=_0x3d5c,_0x3d6de1=this[_0x3d3da5(0xbd)](_0x445d37);if(!_0x3d6de1)return;this[_0x3d3da5(0x88)]&&splitMarkerName(this[_0x3d3da5(0x88)])['id']===_0x445d37&&_0xf26c8a({'target':_0x3d6de1[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x3ab17f(0xc9)](_0x1d08ff){const _0x40a4a9=_0x3ab17f;this[_0x40a4a9(0xb1)][_0x40a4a9(0xa5)][_0x40a4a9(0xda)](()=>{const _0xf83c30=_0x40a4a9;for(const _0x28e46a of this[_0xf83c30(0x111)](_0x1d08ff))this[_0xf83c30(0xb1)][_0xf83c30(0xbf)][_0xf83c30(0x81)](_0x28e46a);});}[_0x3ab17f(0xaa)](_0x1f8ef5){const _0x2c9db9=_0x3ab17f,_0x377d9f=this[_0x2c9db9(0xb1)][_0x2c9db9(0x10d)][_0x2c9db9(0xc4)](_0x1de309),_0xfc06d9=this[_0x2c9db9(0xb1)][_0x2c9db9(0x10d)][_0x2c9db9(0xc4)](_0x4b6afe),_0x38c537=_0x377d9f[_0x2c9db9(0x11d)](_0x1f8ef5);if(!_0x38c537[_0x2c9db9(0x98)]){const _0x284519=_0x38c537[_0x2c9db9(0xe8)](()=>this[_0x2c9db9(0xbd)](_0x38c537['id']));_0xfc06d9[_0x2c9db9(0xcd)](_0x284519),_0x38c537[_0x2c9db9(0xb6)]=!0x1;}}[_0x3ab17f(0xca)](){const _0x350428=_0x3ab17f,_0x3945f4=this[_0x350428(0xb1)],_0x1d10a0=_0x3945f4[_0x350428(0x10d)][_0x350428(0xc4)](_0x203ec2);_0x3945f4[_0x350428(0x101)][_0x350428(0xbe)](_0x350428(0x120))[_0x350428(0x10a)]({'model':_0x350428(0xf7),'view':(_0x166e7f,_0x3cd3d4)=>{const _0x2719cf=_0x350428,{id:_0x2aac31}=splitMarkerName(_0x166e7f[_0x2719cf(0x100)]),_0x479b3f=_0x3945f4[_0x2719cf(0x10d)][_0x2719cf(0xc4)](_0x1de309)[_0x2719cf(0x11d)](_0x2aac31),_0xd1148b=this[_0x2719cf(0x88)]&&splitMarkerName(this[_0x2719cf(0x88)])['id']===_0x2aac31;let _0x1f45ce;if(_0x479b3f&&_0x479b3f[_0x2719cf(0xfa)]&&!_0xd1148b&&_0x166e7f[_0x2719cf(0xec)])return _0x3cd3d4[_0x2719cf(0xc3)][_0x2719cf(0xd4)](_0x166e7f[_0x2719cf(0xec)],_0x2719cf(0x115)+_0x166e7f[_0x2719cf(0x100)]),_0x3cd3d4[_0x2719cf(0xc3)][_0x2719cf(0xd4)](_0x166e7f[_0x2719cf(0xec)],_0x2719cf(0xdd)+_0x166e7f[_0x2719cf(0x100)]),null;const _0x23c777=[_0x2719cf(0x121)];return _0xd1148b&&_0x23c777[_0x2719cf(0xa8)](_0x2719cf(0x117)),_0x1f45ce=_0x479b3f?.[_0x2719cf(0xa0)]?_0x479b3f[_0x2719cf(0xbb)][_0x2719cf(0x8f)][_0x2719cf(0xb9)]['id']:_0x1d10a0['me']['id'],{'classes':_0x23c777,'attributes':{'data-comment':_0x2aac31,'data-author-id':_0x1f45ce}};}}),_0x3945f4[_0x350428(0x101)][_0x350428(0xbe)](_0x350428(0x102))[_0x350428(0x8b)]({'model':_0x350428(0xf7),'view':(_0x2eb46f,{options:_0x2ae2d5})=>{const _0x3c77e0=_0x350428;if(_0x2ae2d5[_0x3c77e0(0xe7)])return null;const _0x4fb680=_0x3945f4[_0x3c77e0(0x10d)][_0x3c77e0(0xc4)](_0x1de309),_0x5a9947=_0x3945f4[_0x3c77e0(0xa5)][_0x3c77e0(0xd2)][_0x3c77e0(0xc4)](_0x2eb46f),{id:_0xe78bc4,part:_0x36f02f}=splitMarkerName(_0x2eb46f);return _0x5a9947&&!_0x5a9947[_0x3c77e0(0xf1)]||_0x2ae2d5[_0x3c77e0(0xc5)]&&_0x4fb680[_0x3c77e0(0x11d)](_0xe78bc4)?.[_0x3c77e0(0xfa)]?null:{'group':_0x3c77e0(0xf7),'name':_0x36f02f?_0xe78bc4+':'+_0x36f02f:_0xe78bc4};}}),_0x3945f4[_0x350428(0x101)][_0x350428(0xbe)](_0x350428(0x106))[_0x350428(0xab)]({'view':{'name':_0x350428(0xf7),'attributes':{'id':/^\w/}},'model':(_0x36d772,{writer:_0x2c2688})=>_0x2c2688[_0x350428(0x9b)](_0x350428(0xe0),{'data-name':_0x350428(0x94)+_0x36d772[_0x350428(0x9a)]('id')})}),_0x3945f4[_0x350428(0x101)][_0x350428(0xbe)](_0x350428(0x106))[_0x350428(0x112)]({'view':_0x350428(0xf7)});}[_0x3ab17f(0xef)](){const _0x4be694=_0x3ab17f,_0x919c8a=this[_0x4be694(0xb1)],_0x244eca=_0x919c8a[_0x4be694(0x10d)][_0x4be694(0xc4)](_0x1de309),_0x5c99d6=new Set(),_0x446919=new Set();_0x919c8a[_0x4be694(0xa5)][_0x4be694(0xea)][_0x4be694(0x97)](_0x5b7cf8=>{const _0x263365=_0x4be694;let _0x8cc4c=!0x1;for(const {name:_0x5860c3,data:_0x5ec2f6}of _0x919c8a[_0x263365(0xa5)][_0x263365(0xea)][_0x263365(0xb3)][_0x263365(0xdc)]()){const {group:_0x5d4117,id:_0x24c141}=splitMarkerName(_0x5860c3);let _0xcd4268=_0x5ec2f6[_0x263365(0x105)];if(_0x263365(0xf7)!==_0x5d4117||!_0xcd4268)continue;const _0x1768e3=_0x263365(0x8d)===_0xcd4268[_0x263365(0x95)][_0x263365(0xa7)];_0x1768e3||(_0xcd4268=dt(_0xcd4268,_0x919c8a[_0x263365(0xa5)]),!_0xcd4268||_0xcd4268[_0x263365(0xd7)]||!_0x5ec2f6[_0x263365(0x105)]||_0xcd4268[_0x263365(0x119)](_0x5ec2f6[_0x263365(0x105)]))?_0x919c8a[_0x263365(0xa5)][_0x263365(0xf0)](_0xcd4268)&&!_0x1768e3?this[_0x263365(0xe5)]?_0x5c99d6[_0x263365(0xd8)](_0x5860c3):this[_0x263365(0xf8)](_0x5860c3,_0x24c141):(_0x446919[_0x263365(0xd8)](_0x5860c3),_0x5c99d6[_0x263365(0x8c)](_0x5860c3),_0x5b7cf8[_0x263365(0x84)](_0x5860c3),_0x8cc4c=!0x0):(_0x5b7cf8[_0x263365(0xaf)](_0x5860c3,{'range':_0xcd4268}),_0x8cc4c=!0x0);}return _0x8cc4c;}),this['on'](_0x4be694(0xd9),(_0x4d3f60,_0x13936c,_0x32655f)=>{const _0x25ac44=_0x4be694;if(!_0x32655f&&_0x5c99d6[_0x25ac44(0x99)])for(const _0x30f00f of _0x5c99d6){const {id:_0x1defa8}=splitMarkerName(_0x30f00f);_0x5c99d6[_0x25ac44(0x8c)](_0x30f00f),_0x919c8a[_0x25ac44(0xa5)][_0x25ac44(0xd2)][_0x25ac44(0xc4)](_0x30f00f)&&this[_0x25ac44(0xf8)](_0x30f00f,_0x1defa8);}}),this[_0x4be694(0xfb)](_0x919c8a[_0x4be694(0xa5)][_0x4be694(0xea)],_0x4be694(0xda),()=>{const _0x294b39=_0x4be694;for(const {name:_0x219438,data:{newRange:_0x276642}}of _0x919c8a[_0x294b39(0xa5)][_0x294b39(0xea)][_0x294b39(0xb3)][_0x294b39(0xdc)]()){const {group:_0x1fb041,id:_0x2534ae}=splitMarkerName(_0x219438);if(_0x294b39(0xf7)!==_0x1fb041)continue;const _0x28a2b5=_0x244eca[_0x294b39(0x11d)](_0x2534ae),_0x1a97a0=this[_0x294b39(0x9d)](_0x2534ae);_0x28a2b5&&(!_0x28a2b5[_0x294b39(0xb6)]&&_0x276642&&_0x919c8a[_0x294b39(0xbf)][_0x294b39(0x85)][_0x294b39(0xc7)](_0x294b39(0x11e),()=>{const _0x33f0f7=_0x294b39,_0x17183a=_0x919c8a[_0x33f0f7(0x10d)][_0x33f0f7(0xc4)](_0x6160a8),_0x537c80=_0x244eca[_0x33f0f7(0xa6)][_0x33f0f7(0xc4)](_0x28a2b5)[_0x33f0f7(0x85)];_0x17183a[_0x33f0f7(0x116)](_0x537c80)[_0x33f0f7(0x11f)]();},{'priority':_0x294b39(0xe1)}),_0x28a2b5[_0x294b39(0xb6)]=_0x1a97a0||!!_0x276642),_0x276642||(_0x446919[_0x294b39(0xd8)](_0x219438),_0x5c99d6[_0x294b39(0x8c)](_0x219438));}for(const _0x38f166 of _0x446919){const {id:_0x842ef6}=splitMarkerName(_0x38f166),_0x1bc474=_0x244eca[_0x294b39(0x11d)](_0x842ef6);if(_0x5c99d6[_0x294b39(0x8c)](_0x38f166),!_0x1bc474)continue;const _0x12e63a=this[_0x294b39(0x9d)](_0x842ef6);_0x12e63a||_0x1bc474[_0x294b39(0xd5)]?_0x12e63a||_0x1bc474[_0x294b39(0x9c)]||_0x1bc474[_0x294b39(0xc1)](new Date()):_0x1bc474[_0x294b39(0x80)]();}_0x446919[_0x294b39(0xb7)]();});}[_0x3ab17f(0xc6)](_0x39ce4b){const _0x2841ea=_0x3ab17f;_0x39ce4b[_0x2841ea(0xe6)](_0x237030=>{const _0x4b6982=_0x2841ea;_0x237030[_0x4b6982(0x9c)]&&this[_0x4b6982(0xaa)](_0x237030['id']);});}[_0x3ab17f(0xbd)](_0x2cb58b){const _0x5b98bd=_0x3ab17f,_0xf9e479=this[_0x5b98bd(0xb1)],_0x590d75=this[_0x5b98bd(0x111)](_0x2cb58b);return _0x493a84(_0xf9e479[_0x5b98bd(0xbf)],_0x590d75);}[_0x3ab17f(0xcf)](_0x4cce40){const _0x104919=_0x3ab17f,_0x25c90e=this[_0x104919(0x111)](_0x4cce40);let _0x240c66='',_0x29bf4f=!0x1;for(const _0x423f3c of _0x25c90e){const _0x484bd6=_0x423f3c[_0x104919(0x90)]();for(const _0xac9212 of Array[_0x104919(0xac)](_0x484bd6[_0x104919(0xb4)]()))_0xac9212['is'](_0x104919(0x122))?(_0x240c66&&_0x29bf4f&&(_0x240c66+='\x20',_0x29bf4f=!0x1),_0x240c66+=_0xac9212[_0x104919(0xfc)]):_0x29bf4f=!0x0;_0x29bf4f=!0x0;}return _0x240c66[_0x104919(0xa1)](0x0,0x96);}[_0x3ab17f(0x9e)](_0x475dc4,_0x112c2f){const _0x4b9a09=_0x3ab17f,_0x3a8995=this[_0x4b9a09(0xb1)],_0xf5b53b=_0x3a8995[_0x4b9a09(0x10d)][_0x4b9a09(0xc4)](_0x1de309);let _0x641c=_0xf5b53b[_0x4b9a09(0x11d)](_0x112c2f);const _0x21a507=_0x3a8995[_0x4b9a09(0x108)][_0x4b9a09(0xc4)](_0x4b9a09(0xf4)),_0x5ef266=_0x3a8995[_0x4b9a09(0x10d)][_0x4b9a09(0xc4)](_0x4b6afe);if(_0x641c&&(_0x641c[_0x4b9a09(0x9c)]&&_0x641c[_0x4b9a09(0xc1)](null),_0x641c[_0x4b9a09(0x98)]))return _0x641c;return!this[_0x4b9a09(0x111)](_0x112c2f)[0x0][_0x4b9a09(0xd0)]?_0x3a8995[_0x4b9a09(0xbf)][_0x4b9a09(0x85)][_0x4b9a09(0xc7)](_0x4b9a09(0x11e),()=>{const _0x5afa4f=_0x4b9a09;if(_0xf5b53b[_0x5afa4f(0x11d)](_0x112c2f))return;const _0x45f46c=_0x3a8995[_0x5afa4f(0x10d)][_0x5afa4f(0xc4)](_0x6160a8);_0x641c=_0xf5b53b[_0x5afa4f(0xba)]({'channelId':_0x21a507,'threadId':_0x112c2f,'target':()=>this[_0x5afa4f(0xbd)](_0x112c2f),'context':{'type':_0x5afa4f(0xf5),'value':this[_0x5afa4f(0xcf)](_0x112c2f)}});const _0x38af3f=_0xf5b53b[_0x5afa4f(0xa6)][_0x5afa4f(0xc4)](_0x641c)[_0x5afa4f(0x85)],_0x3a529e=_0x45f46c[_0x5afa4f(0x116)](_0x38af3f);_0x3a529e&&_0x5ef266[_0x5afa4f(0xcd)](_0x3a529e);},{'priority':_0x4b9a09(0xe1)}):_0xf5b53b[_0x4b9a09(0x91)]({'channelId':_0x21a507,'threadId':_0x112c2f})[_0x4b9a09(0xdf)](_0x5dccbb=>{const _0x781261=_0x4b9a09;if(_0x781261(0x114)!==_0x3a8995[_0x781261(0xb8)]){if(_0x641c=_0x5dccbb,_0x641c&&!_0x641c[_0x781261(0x98)]){const _0x6cf50e=_0x641c[_0x781261(0xe8)](()=>this[_0x781261(0xbd)](_0x112c2f));_0x5ef266[_0x781261(0xcd)](_0x6cf50e),_0x641c[_0x781261(0xfa)]&&this[_0x781261(0xc9)](_0x112c2f);}else{if(!_0x641c){const _0x5e3c15=this[_0x781261(0x111)](_0x112c2f);_0x3a8995[_0x781261(0xa5)][_0x781261(0xda)](_0x273e7c=>{const _0x19d1f2=_0x781261;for(const _0x5248a2 of _0x5e3c15)_0x273e7c[_0x19d1f2(0x84)](_0x5248a2);});}}}}),_0x641c;}[_0x3ab17f(0xf8)](_0xb5803e,_0xac167){const _0x166b46=_0x3ab17f,_0x3c3314=this[_0x166b46(0x9e)](_0xb5803e,_0xac167);_0x3c3314&&!_0x3c3314[_0x166b46(0xdb)]&&_0x3c3314[_0x166b46(0xcc)]({'type':_0x166b46(0xf5),'value':this[_0x166b46(0xcf)](_0xac167)});}[_0x3ab17f(0xad)](){const _0x273602=_0x3ab17f,_0x235d88=this[_0x273602(0xb1)];_0x544929(_0x235d88[_0x273602(0xa5)],({left:_0x11963b,entered:_0x265e6b})=>{const _0x24ecf4=_0x273602;for(const _0x25d315 of _0x11963b)if(mt(_0x25d315)){_0x235d88['ui'][_0x24ecf4(0xb0)][_0x24ecf4(0xb5)](_0x10f3cf(_0x235d88[_0x24ecf4(0x89)],_0x24ecf4(0xf2)));break;}for(const _0x9258b2 of _0x265e6b)if(mt(_0x9258b2)){_0x235d88['ui'][_0x24ecf4(0xb0)][_0x24ecf4(0xb5)](_0x10f3cf(_0x235d88[_0x24ecf4(0x89)],_0x24ecf4(0x118),_0x49b373(_0x1a5e2)));break;}});}}function ft(_0x19351d,_0x24628b){return _0x24628b?_0x19351d+':'+_0x24628b:_0x19351d;}function _0x3d5c(_0x495e87,_0x46ff55){const _0x25833e=_0x2583();return _0x3d5c=function(_0x3d5c4a,_0x5103a8){_0x3d5c4a=_0x3d5c4a-0x80;let _0x365c8e=_0x25833e[_0x3d5c4a];return _0x365c8e;},_0x3d5c(_0x495e87,_0x46ff55);}export function splitMarkerName(_0x56e12f){const _0x2c8abb=_0x3ab17f,_0xbc298b=_0x56e12f[_0x2c8abb(0x82)](':');return{'group':_0xbc298b[0x0],'id':_0xbc298b[0x1],'part':_0xbc298b[0x2]};}function dt(_0x5b50c9,_0x5edbe6){const _0x23627d=_0x3ab17f,_0x5dece2=_0x5edbe6[_0x23627d(0x11c)],_0x3e4da9=_0x5edbe6[_0x23627d(0x86)](_0x5b50c9[_0x23627d(0xf3)]);for(const _0x18f69d of _0x5b50c9[_0x23627d(0xce)]()){const {type:_0x374f65,item:_0x4c42bc,nextPosition:_0x5caf60}=_0x18f69d;if(_0x23627d(0xf5)===_0x374f65||_0x5dece2[_0x23627d(0x10f)](_0x4c42bc)){const _0x34ecd4=_0x5edbe6[_0x23627d(0xd6)](_0x4c42bc);_0x3e4da9[_0x23627d(0xd7)]&&(_0x3e4da9[_0x23627d(0xf3)]=_0x34ecd4),_0x3e4da9[_0x23627d(0xde)]=_0x5caf60;}}return _0x3e4da9;}function mt(_0x309fdf){const _0x21e28c=_0x3ab17f;return _0x21e28c(0xf7)===splitMarkerName(_0x309fdf[_0x21e28c(0x113)])[_0x21e28c(0xf9)];}
|