@ckeditor/ckeditor5-comments 41.1.0 → 41.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/build/translations/he.js +1 -1
- package/lang/translations/he.po +1 -2
- package/package.json +3 -3
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +3 -2
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.d.ts +26 -0
- package/src/comments/integrations/clipboard.js +23 -0
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +17 -2
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b2537=_0xafa7;(function(_0xa63434,_0x4fb256){const _0x468753=_0xafa7,_0x1d0383=_0xa63434();while(!![]){try{const _0x2f93d0=-parseInt(_0x468753(0x123))/0x1+-parseInt(_0x468753(0x11b))/0x2*(parseInt(_0x468753(0x121))/0x3)+-parseInt(_0x468753(0x11c))/0x4+parseInt(_0x468753(0x110))/0x5*(-parseInt(_0x468753(0x11a))/0x6)+-parseInt(_0x468753(0x10e))/0x7+-parseInt(_0x468753(0x11d))/0x8*(parseInt(_0x468753(0x114))/0x9)+parseInt(_0x468753(0x109))/0xa;if(_0x2f93d0===_0x4fb256)break;else _0x1d0383['push'](_0x1d0383['shift']());}catch(_0x3468c9){_0x1d0383['push'](_0x1d0383['shift']());}}}(_0x10d8,0xe37a9));function _0xafa7(_0x29bd26,_0x422ee8){const _0x10d8f7=_0x10d8();return _0xafa7=function(_0xafa723,_0x1af724){_0xafa723=_0xafa723-0x103;let _0x434571=_0x10d8f7[_0xafa723];return _0x434571;},_0xafa7(_0x29bd26,_0x422ee8);}import{View as _0x138a1d}from'ckeditor5/src/ui.js';function _0x10d8(){const _0x442418=['clientHeight','bottom','render','createCollection','2885874mhCAZm','589954WXFriT','1505796RkXFNS','8jFVHQV','content','_targetTop','top','9iAyHyU','div','1237192VvOvGv','_mutationObserver','clear','ck-sidebar-item--no-animation','isAnimationDisabled','ck-sidebar-item','updateHeight','80871450UhCLOr','setTemplate','set','bindTemplate','element','12142613pBCxAk','height','15uQGBri','detach','bind','destroy','13313016aZiNok','attach'];_0x10d8=function(){return _0x442418;};return _0x10d8();}import{toUnit as _0x232231}from'ckeditor5/src/utils.js';import _0x5298c0 from'../../utils/createmutationobserver.js';const qt=_0x232231('px');export default class C extends _0x138a1d{constructor(_0x2ede3b){const _0x310690=_0xafa7;super(_0x2ede3b),this[_0x310690(0x10b)](_0x310690(0x120),0x0),this[_0x310690(0x10b)](_0x310690(0x10f),0x0),this[_0x310690(0x112)](_0x310690(0x117))['to'](this,_0x310690(0x120),this,_0x310690(0x10f),(_0x304e1e,_0x1ed4b5)=>_0x304e1e+_0x1ed4b5),this[_0x310690(0x10b)](_0x310690(0x106),!0x1),this[_0x310690(0x103)]=_0x5298c0(()=>this[_0x310690(0x108)]()),this[_0x310690(0x11f)]=null,this[_0x310690(0x11e)]=this[_0x310690(0x119)]();const _0x460235=this[_0x310690(0x10c)];this[_0x310690(0x10a)]({'tag':_0x310690(0x122),'attributes':{'class':[_0x310690(0x107),_0x460235['to'](_0x310690(0x106),_0x1bc0f0=>_0x1bc0f0?_0x310690(0x105):'')],'style':{'top':_0x460235['to'](_0x310690(0x120),_0x36d758=>qt(_0x36d758))}},'children':this[_0x310690(0x11e)]});}[_0x1b2537(0x118)](){const _0x41d627=_0x1b2537;super[_0x41d627(0x118)](),this[_0x41d627(0x103)][_0x41d627(0x115)](this[_0x41d627(0x10d)]);}[_0x1b2537(0x108)](){const _0xfd31f5=_0x1b2537,_0x6a1964=this[_0xfd31f5(0x10d)][_0xfd31f5(0x116)];_0x6a1964&&(this[_0xfd31f5(0x10f)]=_0x6a1964);}[_0x1b2537(0x113)](){const _0x118afb=_0x1b2537;this[_0x118afb(0x11e)][_0x118afb(0x104)](),this[_0x118afb(0x103)][_0x118afb(0x111)](),super[_0x118afb(0x113)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1a09(){const _0x278d4f=['createCollection','list','class','3PrIvFZ','5991832AhaBvY','70229YXefuo','12qpkoYN','set','setTemplate','10pfjoun','minHeight','ck-reset','5993918mMHOEA','3812205dBvEBL','div','bindTemplate','number','5255108ZeoYZC','48jLIbKW','ck-sidebar','1331KOwxIV','11196477FIiptF','200064YGOXSy'];_0x1a09=function(){return _0x278d4f;};return _0x1a09();}(function(_0x2f9e81,_0x30a135){const _0x341661=_0x24e8,_0x34041d=_0x2f9e81();while(!![]){try{const _0x1b0e9f=-parseInt(_0x341661(0xe8))/0x1*(-parseInt(_0x341661(0xde))/0x2)+-parseInt(_0x341661(0xe6))/0x3*(parseInt(_0x341661(0xdd))/0x4)+parseInt(_0x341661(0xd9))/0x5+parseInt(_0x341661(0xe9))/0x6*(-parseInt(_0x341661(0xd8))/0x7)+parseInt(_0x341661(0xe7))/0x8+parseInt(_0x341661(0xe1))/0x9*(-parseInt(_0x341661(0xd5))/0xa)+parseInt(_0x341661(0xe0))/0xb*(parseInt(_0x341661(0xe2))/0xc);if(_0x1b0e9f===_0x30a135)break;else _0x34041d['push'](_0x34041d['shift']());}catch(_0xace130){_0x34041d['push'](_0x34041d['shift']());}}}(_0x1a09,0xe66ea));import{View as _0x4503ca}from'ckeditor5/src/ui.js';import{toUnit as _0x1f533b}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';const qt=_0x1f533b('px');function _0x24e8(_0x3380f0,_0x19d57b){const _0x1a0966=_0x1a09();return _0x24e8=function(_0x24e80d,_0xa7050){_0x24e80d=_0x24e80d-0xd4;let _0x57e175=_0x1a0966[_0x24e80d];return _0x57e175;},_0x24e8(_0x3380f0,_0x19d57b);}export default class T extends _0x4503ca{constructor(_0x56f37d){const _0x97751a=_0x24e8;super(_0x56f37d);const _0x2e54d9=this[_0x97751a(0xdb)];this[_0x97751a(0xea)](_0x97751a(0xd6),0x0),this[_0x97751a(0xea)](_0x97751a(0xe5),''),this[_0x97751a(0xe4)]=this[_0x97751a(0xe3)](),this[_0x97751a(0xd4)]({'tag':_0x97751a(0xda),'attributes':{'class':['ck',_0x97751a(0xdf),_0x97751a(0xd7),_0x2e54d9['to'](_0x97751a(0xe5))],'style':{'minHeight':_0x2e54d9['to'](_0x97751a(0xd6),_0x30c54d=>_0x97751a(0xdc)==typeof _0x30c54d?qt(_0x30c54d+0xa):null)}},'children':this[_0x97751a(0xe4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x275e9c=_0x4cd7;(function(_0x1b3fc3,_0x51a741){const _0x29bbea=_0x4cd7,_0xb82a05=_0x1b3fc3();while(!![]){try{const _0x2ad765=-parseInt(_0x29bbea(0x188))/0x1+parseInt(_0x29bbea(0x18d))/0x2+-parseInt(_0x29bbea(0x197))/0x3*(-parseInt(_0x29bbea(0x186))/0x4)+-parseInt(_0x29bbea(0x195))/0x5*(-parseInt(_0x29bbea(0x1a0))/0x6)+parseInt(_0x29bbea(0x183))/0x7+-parseInt(_0x29bbea(0x1a2))/0x8*(-parseInt(_0x29bbea(0x179))/0x9)+parseInt(_0x29bbea(0x172))/0xa*(-parseInt(_0x29bbea(0x1ac))/0xb);if(_0x2ad765===_0x51a741)break;else _0xb82a05['push'](_0xb82a05['shift']());}catch(_0x3d79f3){_0xb82a05['push'](_0xb82a05['shift']());}}}(_0x10fe,0x48385));import{ContextPlugin as _0x50c403,Context as _0x469fab}from'ckeditor5/src/core.js';import _0x8d5edd from'./annotationsuis.js';import _0x50f80a from'./sidebar.js';import{CKEditorError as _0x576c8c,Collection as _0x1eb5f3}from'ckeditor5/src/utils.js';import{debounce as _0xcb1f4b}from'lodash-es';function _0x10fe(){const _0x268d0e=['_refreshPositioningDebounced','context','attach','cancel','addAnnotation','rearrange','high','_annotations','isAttached','1914tdcEXb','activeAnnotation','container','widesidebar-detach-not-attached','ready','hasDomSelection','plugins','register','get','pluginName','WideSidebar','104680TTozvb','setActiveAnnotation','focus','set','removeEventListener','detach','addEventListener','399447PDDaBQ','refresh','destroy','add','editors','init','listenTo','_integrateWithEditorAnnotations','refreshPositioning','_activeAnnotation','3324797SwgZva','widesidebar-attach-already-attached','requires','4jDiauH','_attachToContainer','13291loIgop','uiUpdate','change:container','wideSidebar','getOrderedSelectedAnnotations','693746XhKMOq','_destroyEditorAnnotationsIntegration','from','resize','annotations','stop','has','updateTargetRect','5IqerLH','switchTo','1298277YZTExi','_detachFromContainer','ck-sidebar--wide','off','EditorAnnotations','stopListening','remove','set:container','blur','3391512dPTbTb','_editorAnnotations','56AUllMb'];_0x10fe=function(){return _0x268d0e;};return _0x10fe();}import _0x4594f8 from'./editorannotations.js';function _0x4cd7(_0xe8c347,_0x466766){const _0x10fefd=_0x10fe();return _0x4cd7=function(_0x4cd718,_0x763963){_0x4cd718=_0x4cd718-0x16d;let _0xc9c840=_0x10fefd[_0x4cd718];return _0xc9c840;},_0x4cd7(_0xe8c347,_0x466766);}export default class n extends _0x50c403{static get[_0x275e9c(0x185)](){return[_0x50f80a,_0x8d5edd];}static get[_0x275e9c(0x170)](){const _0x3f2282=_0x275e9c;return _0x3f2282(0x171);}constructor(_0x1627ba){const _0xddcbc7=_0x275e9c;super(_0x1627ba),this[_0xddcbc7(0x1ab)]=!0x1,this[_0xddcbc7(0x175)](_0xddcbc7(0x1ad),null),this[_0xddcbc7(0x191)]=null,this[_0xddcbc7(0x1a1)]=new _0x1eb5f3(),this[_0xddcbc7(0x1a3)]=_0xcb1f4b(()=>{const _0x594c10=_0xddcbc7;this[_0x594c10(0x191)][_0x594c10(0x181)]();},0xfa,{'leading':!0x1});}[_0x275e9c(0x17e)](){const _0x13b97a=_0x275e9c,_0x1c1f88=this[_0x13b97a(0x1a4)][_0x13b97a(0x16d)][_0x13b97a(0x16f)](_0x8d5edd),_0x375922=this[_0x13b97a(0x1a4)][_0x13b97a(0x16d)][_0x13b97a(0x16f)](_0x50f80a);_0x1c1f88[_0x13b97a(0x16e)](_0x13b97a(0x18b),this),_0x375922[_0x13b97a(0x1ae)]&&_0x1c1f88[_0x13b97a(0x196)](_0x13b97a(0x18b));}[_0x275e9c(0x173)](_0x22e902){const _0x4c9d65=_0x275e9c;if(_0x22e902===this[_0x4c9d65(0x1ad)])return;const _0x4b3d34=this[_0x4c9d65(0x1a4)][_0x4c9d65(0x16d)][_0x4c9d65(0x16f)](_0x50f80a);_0x4b3d34[_0x4c9d65(0x182)]=_0x22e902;const _0x39dc3f=this[_0x4c9d65(0x1ad)];this[_0x4c9d65(0x1ad)]=_0x22e902,_0x4b3d34[_0x4c9d65(0x17a)]({'blurredAnnotation':_0x39dc3f,'activatedAnnotation':this[_0x4c9d65(0x1ad)]});}[_0x275e9c(0x1a5)](_0x478b00){const _0x583d57=_0x275e9c;this[_0x583d57(0x191)]=_0x478b00;const _0x226bcf=this[_0x583d57(0x1a4)][_0x583d57(0x16d)][_0x583d57(0x16f)](_0x50f80a);if(_0x226bcf[_0x583d57(0x1aa)]=_0x478b00,this[_0x583d57(0x1ab)])throw new _0x576c8c(_0x583d57(0x184),this);this[_0x583d57(0x1ab)]=!0x0,this[_0x583d57(0x17f)](_0x226bcf,_0x583d57(0x19e),()=>{const _0x2207c9=_0x583d57;this[_0x2207c9(0x177)](),this[_0x2207c9(0x17f)](_0x226bcf,_0x2207c9(0x18a),_0x57ad11=>{const _0x25c4cf=_0x2207c9;_0x57ad11[_0x25c4cf(0x19a)](),this[_0x25c4cf(0x1a5)](_0x478b00);});}),_0x226bcf[_0x583d57(0x187)]({'viewClass':_0x583d57(0x199)});const _0x57965c=_0x3ffda2=>{const _0x15fb0c=_0x583d57;_0x3ffda2[_0x15fb0c(0x194)](),_0x226bcf[_0x15fb0c(0x1a7)](_0x3ffda2);};for(const _0x3246eb of _0x478b00)_0x57965c(_0x3246eb);this[_0x583d57(0x17f)](_0x478b00,_0x583d57(0x17c),(_0x17b295,_0x19cd7b)=>{_0x57965c(_0x19cd7b);}),this[_0x583d57(0x17f)](_0x478b00,_0x583d57(0x19d),(_0x34cd31,_0x5a2a92,_0x3a7b96)=>{const _0x911ea2=_0x583d57;_0x226bcf[_0x911ea2(0x1a8)]({'removedAnnotation':_0x5a2a92,'previousAnnotation':_0x478b00[_0x911ea2(0x16f)](_0x3a7b96-0x1),'nextAnnotation':_0x478b00[_0x911ea2(0x16f)](_0x3a7b96+0x1)}),_0x5a2a92===this[_0x911ea2(0x1ad)]&&this[_0x911ea2(0x173)](null);},{'priority':_0x583d57(0x1a9)}),this[_0x583d57(0x17f)](_0x478b00,_0x583d57(0x174),(_0x497084,_0x323b83)=>{const _0x1a791e=_0x583d57;this[_0x1a791e(0x173)](_0x323b83);}),this[_0x583d57(0x17f)](_0x478b00,_0x583d57(0x19f),()=>{const _0x531c41=_0x583d57;this[_0x531c41(0x173)](null);});const _0x248b03=this[_0x583d57(0x1a4)]instanceof _0x469fab?this[_0x583d57(0x1a4)][_0x583d57(0x17d)]:new _0x1eb5f3([this[_0x583d57(0x1a4)]]);for(const _0x27a66e of _0x248b03)this[_0x583d57(0x180)](_0x27a66e);this[_0x583d57(0x17f)](_0x248b03,_0x583d57(0x17c),(_0x55dd7a,_0x5277d0)=>{const _0x2fc4ef=_0x583d57;this[_0x2fc4ef(0x17f)](_0x5277d0,_0x2fc4ef(0x1b0),()=>{const _0x3e7940=_0x2fc4ef;this[_0x3e7940(0x180)](_0x5277d0);});}),this[_0x583d57(0x17f)](_0x248b03,_0x583d57(0x19d),(_0x3e0e2b,_0x915b22)=>{const _0x1b38ba=_0x583d57;_0x915b22[_0x1b38ba(0x16d)][_0x1b38ba(0x193)](_0x1b38ba(0x19b))&&this[_0x1b38ba(0x18e)](_0x915b22[_0x1b38ba(0x16d)][_0x1b38ba(0x16f)](_0x1b38ba(0x19b)));}),window[_0x583d57(0x178)](_0x583d57(0x190),this[_0x583d57(0x1a3)]),this[_0x583d57(0x191)][_0x583d57(0x181)]();}[_0x275e9c(0x177)](){const _0x27ee04=_0x275e9c;if(!this[_0x27ee04(0x1ab)])throw new _0x576c8c(_0x27ee04(0x1af),this);this[_0x27ee04(0x173)](null);const _0x36b92e=this[_0x27ee04(0x1a4)][_0x27ee04(0x16d)][_0x27ee04(0x16f)](_0x50f80a);_0x36b92e[_0x27ee04(0x198)](this[_0x27ee04(0x191)]),this[_0x27ee04(0x19c)](_0x36b92e),this[_0x27ee04(0x19c)](this[_0x27ee04(0x191)]),this[_0x27ee04(0x1a4)]instanceof _0x469fab&&this[_0x27ee04(0x19c)](this[_0x27ee04(0x1a4)][_0x27ee04(0x17d)]);for(const _0x407cb2 of Array[_0x27ee04(0x18f)](this[_0x27ee04(0x1a1)]))this[_0x27ee04(0x18e)](_0x407cb2);window[_0x27ee04(0x176)](_0x27ee04(0x190),this[_0x27ee04(0x1a3)]),this[_0x27ee04(0x1a3)][_0x27ee04(0x1a6)](),this[_0x27ee04(0x1ad)]=null,this[_0x27ee04(0x1ab)]=!0x1,this[_0x27ee04(0x191)]=null;}[_0x275e9c(0x17b)](){const _0x3477db=_0x275e9c;this[_0x3477db(0x1ab)]&&this[_0x3477db(0x177)]();}[_0x275e9c(0x180)](_0x2c8084){const _0x4f60eb=_0x275e9c,_0x4ea18f=_0x2c8084[_0x4f60eb(0x16d)][_0x4f60eb(0x16f)](_0x4594f8);if(!_0x4ea18f)return;const _0x20d86e=()=>{const _0x1fb885=_0x4f60eb,_0x319e77=_0x4ea18f[_0x1fb885(0x18c)]({'annotations':this[_0x1fb885(0x191)],'activeAnnotation':this[_0x1fb885(0x1ad)]});this[_0x1fb885(0x173)](_0x319e77[0x0]||null);};this[_0x4f60eb(0x17f)](_0x4ea18f,_0x4f60eb(0x17a),_0x20d86e),this[_0x4f60eb(0x17f)](_0x4ea18f,_0x4f60eb(0x19f),(_0x5dba46,{isAnnotationTracked:_0x10dd1d})=>{const _0x25e612=_0x4f60eb;this[_0x25e612(0x1ad)]&&_0x10dd1d(this[_0x25e612(0x1ad)])&&this[_0x25e612(0x173)](null);}),this[_0x4f60eb(0x17f)](_0x4ea18f,_0x4f60eb(0x189),()=>{const _0x150d3e=_0x4f60eb;this[_0x150d3e(0x1a3)]();}),this[_0x4f60eb(0x17f)](this[_0x4f60eb(0x191)],_0x4f60eb(0x19f),_0x47e708=>{const _0xd1282a=_0x4f60eb;_0x4ea18f[_0xd1282a(0x1b1)]()&&(_0x20d86e(),_0x47e708[_0xd1282a(0x192)]());},{'priority':_0x4f60eb(0x1a9)}),this[_0x4f60eb(0x1a1)][_0x4f60eb(0x17c)](_0x4ea18f);}[_0x275e9c(0x18e)](_0x337208){const _0x482f83=_0x275e9c;this[_0x482f83(0x19c)](_0x337208),this[_0x482f83(0x1a1)][_0x482f83(0x19d)](_0x337208);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d704a=_0x479c;(function(_0x5d5030,_0x44b559){const _0x268f3b=_0x479c,_0x50d819=_0x5d5030();while(!![]){try{const _0x72a96=-parseInt(_0x268f3b(0xa5))/0x1*(parseInt(_0x268f3b(0xa3))/0x2)+-parseInt(_0x268f3b(0xad))/0x3*(-parseInt(_0x268f3b(0xaf))/0x4)+-parseInt(_0x268f3b(0xb5))/0x5*(parseInt(_0x268f3b(0xbd))/0x6)+parseInt(_0x268f3b(0xbc))/0x7*(-parseInt(_0x268f3b(0xa9))/0x8)+-parseInt(_0x268f3b(0xaa))/0x9*(parseInt(_0x268f3b(0xbb))/0xa)+parseInt(_0x268f3b(0xa2))/0xb*(-parseInt(_0x268f3b(0x9d))/0xc)+parseInt(_0x268f3b(0x9a))/0xd*(parseInt(_0x268f3b(0xac))/0xe);if(_0x72a96===_0x44b559)break;else _0x50d819['push'](_0x50d819['shift']());}catch(_0x1a1421){_0x50d819['push'](_0x50d819['shift']());}}}(_0x474a,0x30265));function _0x479c(_0x5b25be,_0x22534f){const _0x474ace=_0x474a();return _0x479c=function(_0x479cd8,_0x1f9d00){_0x479cd8=_0x479cd8-0x96;let _0xf46234=_0x474ace[_0x479cd8];return _0xf46234;},_0x479c(_0x5b25be,_0x22534f);}import{Command as _0x5d9c3f}from'ckeditor5/src/core.js';function _0x474a(){const _0x1bfdde=['2415WvzanY','257028tYSoER','execute','start','editor','item','getRanges','substr','13xJDErv','_trimToContent','selection','422328gFExHt','isEnabled','_hasContent','end','$textProxy','88OWJIsv','2omTDYV','comment:','21086MjubFo','getItems','isObject','change','5024XiQabu','16542ixlAri','backward','15080184xjAkpW','18141hRJzUD','addMarker','188rWBlHX','createRange','refresh','tableCell','getLastMatchingPosition','_itemIsContent','30jprvKS','document','push','element','model','schema','2110kaAeBO'];_0x474a=function(){return _0x1bfdde;};return _0x474a();}import{uid as _0x1f11ca}from'ckeditor5/src/utils.js';export default class G extends _0x5d9c3f{[_0x2d704a(0xb1)](){const _0xf3c2e7=_0x2d704a,_0x19a00b=this[_0xf3c2e7(0x96)][_0xf3c2e7(0xb9)][_0xf3c2e7(0xb6)][_0xf3c2e7(0x9c)];for(const _0x2694d2 of _0x19a00b[_0xf3c2e7(0x98)]())if(this[_0xf3c2e7(0x9f)](_0x2694d2))return void(this[_0xf3c2e7(0x9e)]=!0x0);this[_0xf3c2e7(0x9e)]=!0x1;}[_0x2d704a(0xbe)]({threadId:_0x2375a5=_0x1f11ca()}={}){const _0x3974bb=_0x2d704a,_0x451f23=this[_0x3974bb(0x96)][_0x3974bb(0xb9)],_0x338397=[];for(const _0x52f7a9 of _0x451f23[_0x3974bb(0xb6)][_0x3974bb(0x9c)][_0x3974bb(0x98)]())this[_0x3974bb(0x9f)](_0x52f7a9)&&_0x338397[_0x3974bb(0xb7)](this[_0x3974bb(0x9b)](_0x52f7a9));_0x451f23[_0x3974bb(0xa8)](_0x73a8d9=>{const _0x368154=_0x3974bb;for(const _0x2770a8 of _0x338397){const _0x2d862a=_0x1f11ca()[_0x368154(0x99)](0x1,0x5),_0x2f72da=_0x368154(0xa4)+_0x2375a5+':'+_0x2d862a;_0x73a8d9[_0x368154(0xae)](_0x2f72da,{'range':_0x2770a8,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x2d704a(0x9f)](_0x1a7e92){const _0x183d82=_0x2d704a;for(const _0x457470 of _0x1a7e92[_0x183d82(0xa6)]())if(this[_0x183d82(0xb4)](_0x457470))return!0x0;return!0x1;}[_0x2d704a(0xb4)](_0x7ad229){const _0x129030=_0x2d704a;return _0x7ad229['is'](_0x129030(0xa1))||this[_0x129030(0x96)][_0x129030(0xb9)][_0x129030(0xba)][_0x129030(0xa7)](_0x7ad229)&&!_0x7ad229['is'](_0x129030(0xb8),_0x129030(0xb2));}[_0x2d704a(0x9b)](_0x59499a){const _0x196db3=_0x2d704a,_0x49e588=_0xd421b=>!this[_0x196db3(0xb4)](_0xd421b[_0x196db3(0x97)]),_0x3afe3b=_0x59499a[_0x196db3(0xbf)][_0x196db3(0xb3)](_0x49e588),_0x22b274=_0x59499a[_0x196db3(0xa0)][_0x196db3(0xb3)](_0x49e588,{'direction':_0x196db3(0xab)});return this[_0x196db3(0x96)][_0x196db3(0xb9)][_0x196db3(0xb0)](_0x3afe3b,_0x22b274);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30558e=_0x4734;(function(_0x123cf9,_0x3d951d){const _0x2eeb56=_0x4734,_0x11f575=_0x123cf9();while(!![]){try{const _0x1d59ab=parseInt(_0x2eeb56(0xe6))/0x1*(-parseInt(_0x2eeb56(0xf3))/0x2)+parseInt(_0x2eeb56(0xef))/0x3+-parseInt(_0x2eeb56(0xdb))/0x4+parseInt(_0x2eeb56(0xf6))/0x5*(parseInt(_0x2eeb56(0xe8))/0x6)+-parseInt(_0x2eeb56(0xf5))/0x7*(parseInt(_0x2eeb56(0xda))/0x8)+-parseInt(_0x2eeb56(0xe1))/0x9+-parseInt(_0x2eeb56(0xe5))/0xa*(-parseInt(_0x2eeb56(0xe9))/0xb);if(_0x1d59ab===_0x3d951d)break;else _0x11f575['push'](_0x11f575['shift']());}catch(_0x37acb4){_0x11f575['push'](_0x11f575['shift']());}}}(_0x178e,0x36953));import{ContextPlugin as _0x203367}from'ckeditor5/src/core.js';function _0x4734(_0x2b6b5b,_0xa13bbb){const _0x178ee6=_0x178e();return _0x4734=function(_0x47346a,_0x19b75c){_0x47346a=_0x47346a-0xd9;let _0x1560c6=_0x178ee6[_0x47346a];return _0x1560c6;},_0x4734(_0x2b6b5b,_0xa13bbb);}function _0x178e(){const _0x2a6cc6=['requires','length','2253573KpaXxt','collection','change:archivedAt','plugins','10mpzHEY','2999BnrTWn','context','4854aUbKOi','2971331EJiVNx','addCommentThread','highest','has','listenTo','CommentsArchive','175785cXuRey','getCommentThread','archivedThreads','isActive','22vMCwbE','init','1645HXSTvS','2735nAYciZ','archivedAt','removeCommentThread','remove','pluginName','stopListening','findIndex','get','_calculatePosition','136YfMEPY','1041148uGCVBb','activate','focus','add'];_0x178e=function(){return _0x2a6cc6;};return _0x178e();}import{Collection as _0x2a3471}from'ckeditor5/src/utils.js';import _0x18fbed from'./commentsrepository.js';import _0x28b52a from'../annotations/annotations.js';export default class p extends _0x203367{static get[_0x30558e(0xfa)](){const _0x1437a8=_0x30558e;return _0x1437a8(0xee);}static get[_0x30558e(0xdf)](){return[_0x18fbed,_0x28b52a];}constructor(_0x1085a9){const _0x2fae69=_0x30558e;super(_0x1085a9),this[_0x2fae69(0xf1)]=new _0x2a3471();}[_0x30558e(0xf4)](){const _0x3e0e91=_0x30558e,_0xda5cb4=this[_0x3e0e91(0xe7)],_0x54c944=_0xda5cb4[_0x3e0e91(0xe4)][_0x3e0e91(0xfd)](_0x18fbed),_0x34fb64=_0xda5cb4[_0x3e0e91(0xe4)][_0x3e0e91(0xfd)](_0x28b52a);this[_0x3e0e91(0xed)](_0x54c944,_0x3e0e91(0xea),(_0x8f71e4,{threadId:_0xa79794})=>{const _0x38028d=_0x3e0e91,_0x58b2ba=_0x54c944[_0x38028d(0xf0)](_0xa79794);_0x58b2ba[_0x38028d(0xf7)]&&this[_0x38028d(0xf1)][_0x38028d(0xde)](_0x58b2ba,this[_0x38028d(0xd9)](_0x58b2ba[_0x38028d(0xf7)])),this[_0x38028d(0xed)](_0x58b2ba,_0x38028d(0xe3),(_0xc89452,_0x46b5a9,_0x1f1fbf)=>{const _0x51c076=_0x38028d;_0x1f1fbf?this[_0x51c076(0xf1)][_0x51c076(0xec)](_0x58b2ba)||this[_0x51c076(0xf1)][_0x51c076(0xde)](_0x58b2ba,this[_0x51c076(0xd9)](_0x58b2ba[_0x51c076(0xf7)])):this[_0x51c076(0xf1)][_0x51c076(0xec)](_0x58b2ba)&&this[_0x51c076(0xf1)][_0x51c076(0xf9)](_0x58b2ba);});}),this[_0x3e0e91(0xed)](_0x54c944,_0x3e0e91(0xf8),(_0x2baf0a,{threadId:_0x6d5fde})=>{const _0x42ac56=_0x3e0e91,_0x7d5ee1=_0x54c944[_0x42ac56(0xf0)](_0x6d5fde);this[_0x42ac56(0xfb)](_0x7d5ee1),this[_0x42ac56(0xf1)][_0x42ac56(0xec)](_0x7d5ee1)&&this[_0x42ac56(0xf1)][_0x42ac56(0xf9)](_0x7d5ee1);},{'priority':_0x3e0e91(0xeb)}),this[_0x3e0e91(0xed)](_0x34fb64[_0x3e0e91(0xe2)],_0x3e0e91(0xdd),(_0x4b30c0,_0x57b8d1)=>{const _0x54053e=_0x3e0e91;_0x57b8d1[_0x54053e(0xf2)]=!0x0,_0x34fb64[_0x54053e(0xdc)](_0x57b8d1);});}[_0x30558e(0xd9)](_0x1afc4c){const _0x5ddf12=_0x30558e,_0x2a7004=[...this[_0x5ddf12(0xf1)]][_0x5ddf12(0xfc)](_0x59b21e=>_0x59b21e[_0x5ddf12(0xf7)]<_0x1afc4c);return _0x2a7004>-0x1?_0x2a7004:this[_0x5ddf12(0xf1)][_0x5ddf12(0xe0)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2df66d=_0xf2d7;(function(_0x2d01be,_0x146d62){const _0x6ea064=_0xf2d7,_0x3224ba=_0x2d01be();while(!![]){try{const _0x5c41d4=-parseInt(_0x6ea064(0x22c))/0x1*(-parseInt(_0x6ea064(0x1fa))/0x2)+parseInt(_0x6ea064(0x219))/0x3*(parseInt(_0x6ea064(0x1fd))/0x4)+parseInt(_0x6ea064(0x22e))/0x5*(-parseInt(_0x6ea064(0x1fb))/0x6)+parseInt(_0x6ea064(0x20a))/0x7*(parseInt(_0x6ea064(0x220))/0x8)+parseInt(_0x6ea064(0x202))/0x9*(parseInt(_0x6ea064(0x1f5))/0xa)+parseInt(_0x6ea064(0x203))/0xb*(-parseInt(_0x6ea064(0x21e))/0xc)+-parseInt(_0x6ea064(0x222))/0xd;if(_0x5c41d4===_0x146d62)break;else _0x3224ba['push'](_0x3224ba['shift']());}catch(_0x16f9c2){_0x3224ba['push'](_0x3224ba['shift']());}}}(_0x1813,0x868f8));function _0xf2d7(_0x4021cf,_0x3167da){const _0x181345=_0x1813();return _0xf2d7=function(_0xf2d77f,_0x3b3792){_0xf2d77f=_0xf2d77f-0x1ee;let _0x257bfc=_0x181345[_0xf2d77f];return _0x257bfc;},_0xf2d7(_0x4021cf,_0x3167da);}import'../../theme/commentsarchive.css';import{Plugin as _0x39ee13}from'ckeditor5/src/core.js';import{createDropdown as _0x2dd063,ViewCollection as _0x4d7b27}from'ckeditor5/src/ui.js';import _0x3b6391 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x4d35eb}from'../utils/common-translations.js';import _0x3a68fa from'./ui/view/commentsarchiveview.js';import _0x249e6b from'./commentsarchive.js';export default class a extends _0x39ee13{static get[_0x2df66d(0x20c)](){const _0xb9004a=_0x2df66d;return _0xb9004a(0x1f4);}static get[_0x2df66d(0x225)](){return[_0x249e6b];}constructor(_0x2cb482){const _0x3c9014=_0x2df66d;super(_0x2cb482),this[_0x3c9014(0x1f9)]=new _0x4d7b27(),this[_0x3c9014(0x200)]=[];}[_0x2df66d(0x221)](){const _0x4d5e40=_0x2df66d;this[_0x4d5e40(0x208)]['ui'][_0x4d5e40(0x230)][_0x4d5e40(0x204)](_0x4d5e40(0x205),()=>this[_0x4d5e40(0x20e)]());const _0x5c8260=this[_0x4d5e40(0x208)][_0x4d5e40(0x218)][_0x4d5e40(0x207)](_0x249e6b),_0x35a68e=this[_0x4d5e40(0x208)][_0x4d5e40(0x218)][_0x4d5e40(0x207)](_0x4d5e40(0x216)),_0x30cec4=this[_0x4d5e40(0x208)][_0x4d5e40(0x218)][_0x4d5e40(0x207)](_0x4d5e40(0x20f));this[_0x4d5e40(0x1fe)](_0x5c8260[_0x4d5e40(0x22d)],_0x4d5e40(0x204),(_0x2996db,_0x4c6842)=>{const _0x31c6b1=_0x4d5e40,_0x42c68c=this[_0x31c6b1(0x208)][_0x31c6b1(0x1f1)][_0x31c6b1(0x207)](_0x31c6b1(0x20b));if(!_0x42c68c||_0x4c6842[_0x31c6b1(0x1f8)]===_0x42c68c){const _0x2c5799=this[_0x31c6b1(0x211)](_0x4c6842[_0x31c6b1(0x21d)]),_0x821e39=_0x30cec4[_0x31c6b1(0x21a)][_0x31c6b1(0x207)](_0x4c6842);if(!_0x821e39)return void this[_0x31c6b1(0x200)][_0x31c6b1(0x21f)]({'thread':_0x4c6842,'position':_0x2c5799});const _0x1271b9=_0x35a68e[_0x31c6b1(0x21c)](_0x821e39[_0x31c6b1(0x232)]);_0x1271b9[_0x31c6b1(0x214)]&&_0x35a68e[_0x31c6b1(0x217)][_0x31c6b1(0x209)](_0x1271b9),this[_0x31c6b1(0x1f9)][_0x31c6b1(0x204)](_0x1271b9[_0x31c6b1(0x232)],_0x2c5799);}}),this[_0x4d5e40(0x1fe)](_0x35a68e[_0x4d5e40(0x224)],_0x4d5e40(0x204),(_0x1dfd47,_0x2b9001)=>{const _0x21aefd=_0x4d5e40,_0x2f0eb4=this[_0x21aefd(0x200)][_0x21aefd(0x1f2)](({thread:_0x23266d})=>{const _0x2a4f95=_0x21aefd,_0x1ad893=_0x30cec4[_0x2a4f95(0x21a)][_0x2a4f95(0x207)](_0x23266d);return _0x1ad893&&_0x2b9001[_0x2a4f95(0x215)]===_0x1ad893[_0x2a4f95(0x232)];});_0x2f0eb4&&(this[_0x21aefd(0x1f9)][_0x21aefd(0x204)](_0x2b9001[_0x21aefd(0x232)],_0x2f0eb4[_0x21aefd(0x1ff)]),this[_0x21aefd(0x200)][_0x21aefd(0x1f7)](this[_0x21aefd(0x200)][_0x21aefd(0x21b)](_0x2f0eb4),0x1));}),this[_0x4d5e40(0x1fe)](_0x5c8260[_0x4d5e40(0x22d)],_0x4d5e40(0x209),(_0x16560f,_0x5ddf4e)=>{const _0x58d235=_0x4d5e40,_0x51efc1=this[_0x58d235(0x208)][_0x58d235(0x1f1)][_0x58d235(0x207)](_0x58d235(0x20b));if(!_0x51efc1||_0x5ddf4e[_0x58d235(0x1f8)]===_0x51efc1){const _0x2bdb16=_0x30cec4[_0x58d235(0x21a)][_0x58d235(0x207)](_0x5ddf4e),_0x30fd2e=_0x35a68e[_0x58d235(0x21c)](_0x2bdb16[_0x58d235(0x232)]);this[_0x58d235(0x1f9)][_0x58d235(0x209)](_0x30fd2e[_0x58d235(0x232)]),this[_0x58d235(0x22f)](_0x30fd2e[_0x58d235(0x20d)]);}});}[_0x2df66d(0x223)](_0x468c94,_0x34c995){const _0x344756=_0x2df66d;for(const _0x3d8ab6 of _0x34c995[_0x344756(0x20d)])_0x3d8ab6[_0x344756(0x1f6)][_0x344756(0x1fc)](_0x344756(0x226))&&_0x468c94[_0x344756(0x201)][_0x344756(0x204)](_0x3d8ab6);this[_0x344756(0x1fe)](_0x34c995[_0x344756(0x20d)],_0x344756(0x204),(_0x28a0f7,_0x2f6353)=>{const _0x3381ac=_0x344756;_0x2f6353[_0x3381ac(0x1f6)][_0x3381ac(0x1fc)](_0x3381ac(0x226))&&_0x468c94[_0x3381ac(0x201)][_0x3381ac(0x204)](_0x2f6353);}),this[_0x344756(0x1fe)](_0x34c995[_0x344756(0x20d)],_0x344756(0x209),(_0x565656,_0x276099)=>{const _0x40d345=_0x344756;_0x276099[_0x40d345(0x1f6)][_0x40d345(0x1fc)](_0x40d345(0x226))&&_0x468c94[_0x40d345(0x201)][_0x40d345(0x209)](_0x276099);});}[_0x2df66d(0x211)](_0x134d69){const _0x2a2d11=_0x2df66d,_0x55ea89=this[_0x2a2d11(0x208)][_0x2a2d11(0x1f1)][_0x2a2d11(0x207)](_0x2a2d11(0x20b)),_0x5d4e47=[...this[_0x2a2d11(0x208)][_0x2a2d11(0x218)][_0x2a2d11(0x207)](_0x249e6b)[_0x2a2d11(0x22d)]][_0x2a2d11(0x210)](_0x29504e=>_0x29504e[_0x2a2d11(0x1f8)]===_0x55ea89)[_0x2a2d11(0x22a)](_0x4c4b20=>_0x4c4b20[_0x2a2d11(0x21d)]<_0x134d69);return _0x5d4e47>-0x1?_0x5d4e47-0x1:this[_0x2a2d11(0x1f9)][_0x2a2d11(0x231)];}[_0x2df66d(0x20e)](){const _0x27464d=_0x2df66d,_0x561d4b=this[_0x27464d(0x208)],_0x5157d4=this[_0x27464d(0x208)][_0x27464d(0x218)][_0x27464d(0x207)](_0x27464d(0x216)),_0x4a3b34=_0x2dd063(_0x561d4b[_0x27464d(0x212)]);_0x4a3b34[_0x27464d(0x206)][_0x27464d(0x22b)]({'icon':_0x3b6391,'label':_0x4d35eb(_0x561d4b[_0x27464d(0x212)],_0x27464d(0x1f3)),'tooltip':!0x0}),_0x4a3b34[_0x27464d(0x227)][_0x27464d(0x1ef)]({'attributes':{'class':_0x27464d(0x1f0)}}),_0x4a3b34['on'](_0x27464d(0x229),(_0x43fe92,_0x1d0879,_0x3e29b0)=>{const _0x8549bf=_0x27464d;this[_0x8549bf(0x213)]||(this[_0x8549bf(0x213)]=new _0x3a68fa(_0x561d4b[_0x8549bf(0x212)],this[_0x8549bf(0x1f9)])),_0x3e29b0?_0x4a3b34[_0x8549bf(0x227)][_0x8549bf(0x228)][_0x8549bf(0x204)](this[_0x8549bf(0x213)]):_0x4a3b34[_0x8549bf(0x227)][_0x8549bf(0x228)][_0x8549bf(0x209)](this[_0x8549bf(0x213)]);});for(const _0x4d62b4 of this[_0x27464d(0x1f9)]){const _0x20eeb4=_0x5157d4[_0x27464d(0x21c)](_0x4d62b4[_0x27464d(0x1ee)]);this[_0x27464d(0x223)](_0x4a3b34,_0x20eeb4);}return _0x4a3b34[_0x27464d(0x1fe)](this[_0x27464d(0x1f9)],_0x27464d(0x204),(_0x4a86e0,_0x47091b)=>{const _0x4aeecf=_0x27464d,_0x2f1685=_0x5157d4[_0x4aeecf(0x21c)](_0x47091b[_0x4aeecf(0x1ee)]);this[_0x4aeecf(0x223)](_0x4a3b34,_0x2f1685);}),_0x4a3b34[_0x27464d(0x1fe)](this[_0x27464d(0x1f9)],_0x27464d(0x209),(_0x2e6480,_0x5dd11a)=>{const _0x24bfbe=_0x27464d,_0x3d329b=_0x5157d4[_0x24bfbe(0x21c)](_0x5dd11a[_0x24bfbe(0x1ee)]);for(const _0x5e9816 of _0x3d329b[_0x24bfbe(0x20d)])_0x5e9816[_0x24bfbe(0x1f6)][_0x24bfbe(0x1fc)](_0x24bfbe(0x226))&&_0x4a3b34[_0x24bfbe(0x201)][_0x24bfbe(0x209)](_0x5e9816);}),_0x4a3b34;}}function _0x1813(){const _0x26bc3d=['59195Qyezvu','stopListening','componentFactory','length','view','mainView','extendTemplate','ck-comments-archive-dropdown','config','find','COMMENTS_ARCHIVE','CommentsArchiveUI','254750uxRYUo','classList','splice','channelId','annotationViews','382zQZvXe','504bWakGl','contains','68sQsIEr','listenTo','position','_pendingThreads','focusTracker','333RoXUhi','500797akxFjh','add','commentsArchive','buttonView','get','editor','remove','21izQWDV','collaboration.channelId','pluginName','focusableElements','_createArchiveUIDropdown','CommentsRepository','filter','_calculatePosition','locale','commentsArchiveView','isVisible','innerView','Annotations','_visibleAnnotations','plugins','115053SLOvkY','_threadToController','indexOf','getByInnerView','archivedAt','84DSEDNB','push','512936HEetiD','init','8262423lLneCD','_handleAnnotationFocusableElements','collection','requires','ck-body','panelView','children','change:isOpen','findIndex','set','3733GyxGxR','archivedThreads'];_0x1813=function(){return _0x26bc3d;};return _0x1813();}
|
|
@@ -10,8 +10,9 @@ import type { Marker } from 'ckeditor5/src/engine.js';
|
|
|
10
10
|
import CommentsRepository from './commentsrepository.js';
|
|
11
11
|
import EditorAnnotations from '../annotations/editorannotations.js';
|
|
12
12
|
import CommentsRestrictedEditingMode from './integrations/commentsrestrictededitingmode.js';
|
|
13
|
-
import '../../theme/commentmarker.css';
|
|
14
13
|
import CommentsImportWord from './integrations/importword.js';
|
|
14
|
+
import CommentsClipboard from './integrations/clipboard.js';
|
|
15
|
+
import '../../theme/commentmarker.css';
|
|
15
16
|
/**
|
|
16
17
|
* Plugin that keeps in sync comments in {@link module:comments/comments/commentsrepository~CommentsRepository} with
|
|
17
18
|
* {@link module:engine/model/markercollection~Marker comment markers}.
|
|
@@ -40,7 +41,7 @@ export default class CommentsEditing extends Plugin {
|
|
|
40
41
|
/**
|
|
41
42
|
* @inheritDoc
|
|
42
43
|
*/
|
|
43
|
-
static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord];
|
|
44
|
+
static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard];
|
|
44
45
|
/**
|
|
45
46
|
* @inheritDoc
|
|
46
47
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2895=['getItems','view','once','get','hasContent','render','hasCommentThread','listenTo','init','removeMarker','startsWith','isLocal','_initAriaMarkerChangeAnnouncements','_detachCommentThread','$marker','unlinkedAt','getAllMarkersForId','resolveCommentThread','comments','change:isThreadsLoadingPaused','getByInnerView','set','plugins','isResolved','data','CommentsEditing','destroyed','item','conversion','LEAVE_COMMENT_ANNOUNCEMENT','editingDowncast','isEqual','commands','getCommentThread','isObject','ck-comment-marker','hasDomSelection','delete','_getTargetForId','attachTo','scrollToThreadMarker','reconvertMarker','openNewCommentThread','model','addMarker:','group','_initializeMarkerConverters','root','then','hasMarkerForId','markerName','isAttached','markerToHighlight','registerAnnotation','differ','getCommentThreads','context','addComment','push','_handleMarkerAddAndRemove','_threadToController','focus','config','requires','activeMarker','newRange','ck-comment-marker--active','reopenCommentThread','getChangedMarkers','announce','elementToElement','getAttribute','destroy','affectsData','fetchCommentThread','registerPostFixer','comment:','upcast','for','low','$textProxy','enqueueChange','switchReadOnly','from','_attachArchivedThread','_getTextContext','add','pluginName','_handleThreadMarker','change:isReadOnly','_reconvertMarkers','ENTER_COMMENT_ANNOUNCEMENT','change','start','ariaLiveAnnouncer','change:activeMarker','markers','length','document','addCommentThread','_hasTargetInContent','end','size','state','dataDowncast','_attachMarkerToThread','consume','getWalker','setContext','clear','split','isThreadsLoadingPaused','text','collaboration.channelId','createPositionBefore','setUnlinkedAt','updateMarker','managedUsingOperations','refreshVisibility','isCollapsed','$graveyard','comment','editor','createElement','locale','consumable','editing'];(function(_0x11c36e,_0x28957c){const _0x1a3667=function(_0x5636da){while(--_0x5636da){_0x11c36e['push'](_0x11c36e['shift']());}};_0x1a3667(++_0x28957c);}(_0x2895,0xae));const _0x1a36=function(_0x11c36e,_0x28957c){_0x11c36e=_0x11c36e-0x0;let _0x1a3667=_0x2895[_0x11c36e];return _0x1a3667;};import{Plugin as _0x13241f}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2d7541}from'ckeditor5/src/utils.js';import _0x503ed2 from'./commentsrepository.js';import _0x397c6d from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x3b914d,getAllMarkersDomElementsSorted as _0x408bcc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4bbe01 from'../annotations/editorannotations.js';import _0x2f1b00 from'./integrations/commentsrestrictededitingmode.js';import'../../theme/commentmarker.css';import _0x6f50af from'./integrations/importword.js';import _0x1cedf6 from'../annotations/annotations.js';import{getTranslation as _0xe61512}from'../utils/common-translations.js';export default class r extends _0x13241f{static get[_0x1a36('0x10')](){return[_0x503ed2,_0x4bbe01,_0x2f1b00,_0x6f50af];}static get[_0x1a36('0x28')](){return _0x1a36('0x69');}constructor(_0x5e86a5){super(_0x5e86a5),this[_0x1a36('0x65')](_0x1a36('0x40'),!0x0),_0x5e86a5[_0x1a36('0x68')][_0x1a36('0x52')]('ready',()=>this['isThreadsLoadingPaused']=!0x1),this[_0x1a36('0x65')](_0x1a36('0x11'),null),this['on'](_0x1a36('0x30'),(_0x1a5947,_0x203f5f,_0x56923b,_0xf75d2)=>{const _0x269506=_0x56923b?ot(_0x56923b)['id']:null;if(_0x5e86a5['model'][_0x1a36('0x2d')](()=>{if(_0x269506){const _0x3d0ad2=this[_0x1a36('0x60')](_0x269506);for(const _0x1a180f of _0x3d0ad2)_0x5e86a5[_0x1a36('0x4f')][_0x1a36('0x79')](_0x1a180f);}if(_0xf75d2){const {id:_0x4845bf}=ot(_0xf75d2),_0x18d48f=this['getAllMarkersForId'](_0x4845bf);for(const _0x449071 of _0x18d48f)_0x5e86a5[_0x1a36('0x4f')][_0x1a36('0x79')](_0x449071);}}),_0x269506){const _0x39597b=_0x5e86a5[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2)[_0x1a36('0x71')](_0x269506);_0x39597b&&_0x39597b[_0x1a36('0x67')]&&this[_0x1a36('0x78')](_0x269506);}}),this[_0x1a36('0x5c')]();}[_0x1a36('0x58')](){const _0x1f73b3=this[_0x1a36('0x4b')],_0x5c9437=_0x1f73b3[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2),_0x1ce7eb=_0x1f73b3[_0x1a36('0xf')]['get'](_0x1a36('0x42'));_0x1f73b3[_0x1a36('0x70')][_0x1a36('0x27')](_0x1a36('0x34'),new _0x397c6d(_0x1f73b3)),this['listenTo'](_0x1f73b3,_0x1a36('0x2a'),(_0x37bfe5,_0x596211,_0x5eb9b4)=>{_0x5c9437[_0x1a36('0x23')](_0x5eb9b4,_0x1f73b3[_0x1a36('0xf')][_0x1a36('0x53')](_0x1a36('0x42')));}),this[_0x1a36('0x57')](_0x5c9437,tt(_0x1a36('0x34'),_0x1ce7eb),(_0x5d094c,{threadId:_0x2b10da})=>{const _0x3806fb=this[_0x1a36('0x4b')]['plugins'][_0x1a36('0x53')](_0x503ed2)['getCommentThread'](_0x2b10da);_0x3806fb&&_0x3806fb[_0x1a36('0x5f')]&&this[_0x1a36('0x25')](_0x2b10da);}),this['listenTo'](_0x5c9437,tt('removeCommentThread',_0x1ce7eb),(_0x462483,{threadId:_0x47cadd})=>{_0x1f73b3[_0x1a36('0x7b')][_0x1a36('0x22')]({'isUndoable':!0x1},_0x8dc80d=>{const _0x291858=this['getAllMarkersForId'](_0x47cadd);for(const _0x2bf0a8 of _0x291858)_0x8dc80d[_0x1a36('0x59')](_0x2bf0a8);});}),this[_0x1a36('0x57')](_0x5c9437,tt(_0x1a36('0x61'),_0x1ce7eb),(_0x299039,{threadId:_0x58d4dd})=>{(this[_0x1a36('0x2b')](_0x58d4dd),this[_0x1a36('0x4b')][_0x1a36('0x4f')]['view'][_0x1a36('0x74')])&&(this[_0x1a36('0x4b')][_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2)[_0x1a36('0x71')](_0x58d4dd)[_0x1a36('0x5f')]||this[_0x1a36('0x4b')]['editing']['view'][_0x1a36('0xe')]());},{'priority':'low'}),this[_0x1a36('0x57')](_0x5c9437,tt(_0x1a36('0x14'),_0x1ce7eb),(_0x61b67d,{threadId:_0x167b29})=>{this[_0x1a36('0x2b')](_0x167b29);},{'priority':_0x1a36('0x20')}),this[_0x1a36('0x57')](_0x5c9437,tt(_0x1a36('0xa'),_0x1ce7eb),(_0x53b540,{threadId:_0x13fd54,isFromAdapter:_0x1cf7d7})=>{const _0x5bdcc7=this[_0x1a36('0x60')](_0x13fd54);if(_0x1cf7d7||0x0==_0x5bdcc7[_0x1a36('0x32')]||!_0x5c9437[_0x1a36('0x56')](_0x13fd54))return;0x1===_0x5c9437[_0x1a36('0x71')](_0x13fd54)[_0x1a36('0x32')]&&_0x1f73b3[_0x1a36('0x7b')]['enqueueChange']({'isUndoable':!0x1},_0x29277a=>{for(const _0x332615 of _0x5bdcc7)_0x29277a[_0x1a36('0x45')](_0x332615,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x1a36('0x20')}),this[_0x1a36('0x7e')](),this[_0x1a36('0xc')]();}[_0x1a36('0x19')](){const _0xe54000=this['editor'][_0x1a36('0x66')]['get'](_0x503ed2),_0x5c6aca=this['editor'][_0x1a36('0xf')][_0x1a36('0x53')]('collaboration.channelId');for(const _0xd23f38 of _0xe54000[_0x1a36('0x8')]({'channelId':_0x5c6aca}))_0xe54000[_0x1a36('0x5d')](_0xd23f38['id']),_0xe54000['_threads'][_0x1a36('0x75')](_0xd23f38['id']);super['destroy']();}[_0x1a36('0x2')](_0x10b94d){return this['getAllMarkersForId'](_0x10b94d)[_0x1a36('0x32')]>0x0;}[_0x1a36('0x60')](_0x27af3c){const _0x1d2311=[];for(const _0x581827 of this[_0x1a36('0x4b')]['model'][_0x1a36('0x31')])_0x581827['name'][_0x1a36('0x5a')]('comment:'+_0x27af3c)&&_0x1d2311[_0x1a36('0xb')](_0x581827);return _0x1d2311;}['scrollToThreadMarker'](_0x5ab5e3){const _0x5846b9=this[_0x1a36('0x76')](_0x5ab5e3);_0x5846b9&&setTimeout(()=>{this[_0x1a36('0x11')]&&ot(this['activeMarker'])['id']===_0x5ab5e3&&_0x2d7541({'target':_0x5846b9[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x334c0f){this[_0x1a36('0x4b')][_0x1a36('0x7b')][_0x1a36('0x2d')](()=>{for(const _0x5aa634 of this[_0x1a36('0x60')](_0x334c0f))this[_0x1a36('0x4b')][_0x1a36('0x4f')][_0x1a36('0x79')](_0x5aa634);});}[_0x1a36('0x25')](_0x4fea11){const _0x31db41=this['editor']['plugins']['get'](_0x503ed2),_0x4af146=this[_0x1a36('0x4b')]['plugins']['get'](_0x4bbe01),_0x2990fc=_0x31db41[_0x1a36('0x71')](_0x4fea11);if(!_0x2990fc['isAttached']){const _0x731dc3=_0x2990fc[_0x1a36('0x77')](()=>this[_0x1a36('0x76')](_0x2990fc['id']));_0x4af146[_0x1a36('0x6')](_0x731dc3),_0x2990fc[_0x1a36('0x35')]=!0x1;}}[_0x1a36('0x7e')](){const _0x56eb3e=this[_0x1a36('0x4b')];_0x56eb3e['conversion']['for'](_0x1a36('0x6e'))[_0x1a36('0x5')]({'model':_0x1a36('0x4a'),'view':(_0xd2124b,_0x4cb466)=>{const {id:_0x2a49d8}=ot(_0xd2124b[_0x1a36('0x3')]),_0x28b601=_0x56eb3e[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2)[_0x1a36('0x71')](_0x2a49d8),_0x596fc2=this[_0x1a36('0x11')]&&ot(this[_0x1a36('0x11')])['id']===_0x2a49d8;if(_0x28b601&&_0x28b601[_0x1a36('0x67')]&&!_0x596fc2&&_0xd2124b[_0x1a36('0x6b')])return _0x4cb466[_0x1a36('0x4e')]['consume'](_0xd2124b[_0x1a36('0x6b')],_0x1a36('0x7c')+_0xd2124b[_0x1a36('0x3')]),_0x4cb466[_0x1a36('0x4e')][_0x1a36('0x3b')](_0xd2124b[_0x1a36('0x6b')],'removeMarker:'+_0xd2124b['markerName']),null;const _0x118140=[_0x1a36('0x73')];return _0x596fc2&&_0x118140['push'](_0x1a36('0x13')),{'classes':_0x118140,'attributes':{'data-comment':_0x2a49d8}};}}),_0x56eb3e[_0x1a36('0x6c')][_0x1a36('0x1f')](_0x1a36('0x39'))['markerToData']({'model':'comment','view':(_0x128a52,{options:_0x29a0d0})=>{const _0x534555=_0x56eb3e[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2),_0x1f3b17=_0x56eb3e[_0x1a36('0x7b')][_0x1a36('0x31')][_0x1a36('0x53')](_0x128a52),{id:_0x2ebf16,part:_0x122e72}=ot(_0x128a52);if(_0x1f3b17&&!_0x1f3b17[_0x1a36('0x1a')])return null;if(_0x29a0d0['ignoreResolvedComments']){const _0x518aa5=_0x534555[_0x1a36('0x71')](_0x2ebf16);if(_0x518aa5&&_0x518aa5[_0x1a36('0x67')])return null;}return{'group':'comment','name':_0x122e72?_0x2ebf16+':'+_0x122e72:_0x2ebf16};}}),_0x56eb3e['conversion'][_0x1a36('0x1f')](_0x1a36('0x1e'))[_0x1a36('0x17')]({'view':{'name':_0x1a36('0x4a'),'attributes':{'id':/^\w/}},'model':(_0x3042bd,{writer:_0x222e1a})=>_0x222e1a[_0x1a36('0x4c')](_0x1a36('0x5e'),{'data-name':_0x1a36('0x1d')+_0x3042bd[_0x1a36('0x18')]('id')})}),_0x56eb3e['conversion'][_0x1a36('0x1f')](_0x1a36('0x1e'))['dataToMarker']({'view':_0x1a36('0x4a')});}[_0x1a36('0xc')](){const _0x32238c=this[_0x1a36('0x4b')],_0x37d6b0=_0x32238c[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2),_0x5bb5c7=new Set(),_0x3d3f8b=new Set();_0x32238c[_0x1a36('0x7b')][_0x1a36('0x33')][_0x1a36('0x1c')](_0x5aa0c6=>{let _0x1efe8f=!0x1;for(const {name:_0x1b174d,data:_0x54cb61}of _0x32238c[_0x1a36('0x7b')][_0x1a36('0x33')]['differ'][_0x1a36('0x15')]()){const {group:_0xc6f25e,id:_0x161107}=ot(_0x1b174d);let _0x13623c=_0x54cb61['newRange'];if(_0x1a36('0x4a')!==_0xc6f25e||!_0x13623c)continue;const _0x261051=_0x1a36('0x49')===_0x13623c[_0x1a36('0x0')]['rootName'];_0x261051||(_0x13623c=et(_0x13623c,_0x32238c[_0x1a36('0x7b')]),!_0x13623c||_0x13623c[_0x1a36('0x48')]||!_0x54cb61[_0x1a36('0x12')]||_0x13623c[_0x1a36('0x6f')](_0x54cb61[_0x1a36('0x12')]))?_0x32238c[_0x1a36('0x7b')][_0x1a36('0x54')](_0x13623c)&&!_0x261051?this[_0x1a36('0x40')]?_0x5bb5c7[_0x1a36('0x27')](_0x1b174d):this[_0x1a36('0x29')](_0x1b174d,_0x161107):(_0x3d3f8b['add'](_0x1b174d),_0x5bb5c7[_0x1a36('0x75')](_0x1b174d),_0x5aa0c6['removeMarker'](_0x1b174d),_0x1efe8f=!0x0):(_0x5aa0c6[_0x1a36('0x45')](_0x1b174d,{'range':_0x13623c}),_0x1efe8f=!0x0);}return _0x1efe8f;}),this['on'](_0x1a36('0x63'),(_0x229071,_0x5a7f1e,_0x44d35e)=>{if(!_0x44d35e&&_0x5bb5c7[_0x1a36('0x37')])for(const _0x1df4fa of _0x5bb5c7){const {id:_0x2685cd}=ot(_0x1df4fa);_0x5bb5c7['delete'](_0x1df4fa),_0x32238c['model']['markers'][_0x1a36('0x53')](_0x1df4fa)&&this[_0x1a36('0x29')](_0x1df4fa,_0x2685cd);}}),this[_0x1a36('0x57')](_0x32238c[_0x1a36('0x7b')][_0x1a36('0x33')],_0x1a36('0x2d'),(_0x5a05c7,_0xf87efa)=>{for(const {name:_0x15b973,data:{newRange:_0x46c62f}}of _0x32238c[_0x1a36('0x7b')][_0x1a36('0x33')][_0x1a36('0x7')][_0x1a36('0x15')]()){const {group:_0x2e3865,id:_0x276f5d}=ot(_0x15b973);if(_0x1a36('0x4a')!==_0x2e3865)continue;const _0x25d31b=_0x37d6b0[_0x1a36('0x71')](_0x276f5d),_0x238d73=this['hasMarkerForId'](_0x276f5d);_0x25d31b&&(_0x25d31b[_0x1a36('0x35')]||_0x32238c['editing'][_0x1a36('0x51')][_0x1a36('0x52')](_0x1a36('0x55'),()=>{const _0x3c3159=_0x32238c[_0x1a36('0x66')][_0x1a36('0x53')](_0x1cedf6),_0x13d13d=_0x37d6b0[_0x1a36('0xd')][_0x1a36('0x53')](_0x25d31b)[_0x1a36('0x51')];_0x3c3159[_0x1a36('0x64')](_0x13d13d)[_0x1a36('0x47')]();},{'priority':_0x1a36('0x20')}),_0x25d31b[_0x1a36('0x35')]=_0x238d73||!!_0x46c62f),_0x46c62f||(_0x3d3f8b[_0x1a36('0x27')](_0x15b973),_0x5bb5c7[_0x1a36('0x75')](_0x15b973));}if(_0xf87efa[_0x1a36('0x5b')])for(const _0x426afb of _0x3d3f8b){const {id:_0x4d61e2}=ot(_0x426afb),_0x120998=_0x37d6b0['getCommentThread'](_0x4d61e2),_0x34a90d=this[_0x1a36('0x2')](_0x4d61e2);_0x5bb5c7[_0x1a36('0x75')](_0x426afb),!_0x120998||_0x34a90d||_0x120998['unlinkedAt']||_0x120998['setUnlinkedAt'](new Date());}_0x3d3f8b[_0x1a36('0x3e')]();});}[_0x1a36('0x76')](_0x5f0e28){const _0x5f0643=this[_0x1a36('0x4b')],_0x5ac87e=this[_0x1a36('0x60')](_0x5f0e28);return _0x408bcc(_0x5f0643[_0x1a36('0x4f')],_0x5ac87e);}[_0x1a36('0x26')](_0x1ca299){const _0xca6f00=this[_0x1a36('0x60')](_0x1ca299);let _0x115494='',_0x45598f=!0x1;for(const _0x59aa8c of _0xca6f00){const _0x4e4b11=_0x59aa8c['getRange']();for(const _0xad2c94 of Array[_0x1a36('0x24')](_0x4e4b11[_0x1a36('0x50')]()))_0xad2c94['is'](_0x1a36('0x21'))?(_0x115494&&_0x45598f&&(_0x115494+='\x20',_0x45598f=!0x1),_0x115494+=_0xad2c94[_0x1a36('0x68')]):_0x45598f=!0x0;_0x45598f=!0x0;}return _0x115494['substring'](0x0,0x96);}[_0x1a36('0x3a')](_0x1e1fe0,_0x1dc524){const _0x18eef4=this[_0x1a36('0x4b')],_0x2d4a95=_0x18eef4['plugins']['get'](_0x503ed2);let _0x256d2c=_0x2d4a95['getCommentThread'](_0x1dc524);const _0x5a906c=_0x18eef4[_0x1a36('0xf')][_0x1a36('0x53')](_0x1a36('0x42')),_0x588d33=_0x18eef4['plugins'][_0x1a36('0x53')](_0x4bbe01);if(_0x256d2c&&(_0x256d2c[_0x1a36('0x5f')]&&_0x256d2c[_0x1a36('0x44')](null),_0x256d2c[_0x1a36('0x4')]))return _0x256d2c;return!this[_0x1a36('0x60')](_0x1dc524)[0x0][_0x1a36('0x46')]?_0x18eef4[_0x1a36('0x4f')][_0x1a36('0x51')][_0x1a36('0x52')](_0x1a36('0x55'),()=>{if(_0x2d4a95[_0x1a36('0x71')](_0x1dc524))return;const _0x33e56f=_0x18eef4[_0x1a36('0x66')][_0x1a36('0x53')](_0x1cedf6);_0x256d2c=_0x2d4a95[_0x1a36('0x7a')]({'channelId':_0x5a906c,'threadId':_0x1dc524,'target':()=>this[_0x1a36('0x76')](_0x1dc524),'context':{'type':_0x1a36('0x41'),'value':this[_0x1a36('0x26')](_0x1dc524)}});const _0x207b6a=_0x2d4a95[_0x1a36('0xd')]['get'](_0x256d2c)[_0x1a36('0x51')],_0x4f8887=_0x33e56f[_0x1a36('0x64')](_0x207b6a);_0x4f8887&&_0x588d33['registerAnnotation'](_0x4f8887);},{'priority':_0x1a36('0x20')}):_0x2d4a95[_0x1a36('0x1b')]({'channelId':_0x5a906c,'threadId':_0x1dc524})[_0x1a36('0x1')](_0x97ec5d=>{if(_0x1a36('0x6a')!==_0x18eef4[_0x1a36('0x38')]){if(_0x256d2c=_0x97ec5d,_0x256d2c&&!_0x256d2c[_0x1a36('0x4')]){const _0x3b1cf5=_0x256d2c[_0x1a36('0x77')](()=>this[_0x1a36('0x76')](_0x1dc524));_0x588d33[_0x1a36('0x6')](_0x3b1cf5),_0x256d2c[_0x1a36('0x67')]&&this[_0x1a36('0x2b')](_0x1dc524);}else{if(!_0x256d2c){const _0x2037d6=this['getAllMarkersForId'](_0x1dc524);_0x18eef4[_0x1a36('0x7b')][_0x1a36('0x2d')](_0x59d333=>{for(const _0x4f148d of _0x2037d6)_0x59d333[_0x1a36('0x59')](_0x4f148d);});}}}}),_0x256d2c;}[_0x1a36('0x29')](_0x180305,_0x308a35){const _0x444e0a=this[_0x1a36('0x3a')](_0x180305,_0x308a35);_0x444e0a&&!_0x444e0a[_0x1a36('0x9')]&&_0x444e0a[_0x1a36('0x3d')]({'type':_0x1a36('0x41'),'value':this['_getTextContext'](_0x308a35)});}[_0x1a36('0x5c')](){const _0x39f7d6=this['editor'];_0x3b914d(_0x39f7d6[_0x1a36('0x7b')],({left:_0x1fb4e5,entered:_0x19602f})=>{const _0x484e69=[];for(const _0x1889f2 of _0x1fb4e5)if(rt(_0x1889f2)){_0x484e69[_0x1a36('0xb')](_0xe61512(_0x39f7d6[_0x1a36('0x4d')],_0x1a36('0x6d')));break;}for(const _0x3fa106 of _0x19602f)if(rt(_0x3fa106)){_0x484e69[_0x1a36('0xb')](_0xe61512(_0x39f7d6[_0x1a36('0x4d')],_0x1a36('0x2c')));break;}_0x484e69[_0x1a36('0x32')]&&_0x39f7d6['ui'][_0x1a36('0x2f')][_0x1a36('0x16')](_0x1a36('0x62'),_0x484e69['join']('\x20'));});}}function tt(_0x4cfab0,_0x1fa2cb){return _0x1fa2cb?_0x4cfab0+':'+_0x1fa2cb:_0x4cfab0;}function ot(_0x21eb71){const _0x39536a=_0x21eb71[_0x1a36('0x3f')](':');return{'group':_0x39536a[0x0],'id':_0x39536a[0x1],'part':_0x39536a[0x2]};}function et(_0x10d1d5,_0x21f3a2){const _0x5f0524=_0x21f3a2['schema'],_0x38238f=_0x21f3a2['createRange'](_0x10d1d5[_0x1a36('0x2e')]);for(const _0x590146 of _0x10d1d5[_0x1a36('0x3c')]()){const {type:_0x32d560,item:_0x40b550,nextPosition:_0x9f7a86}=_0x590146;if(_0x1a36('0x41')===_0x32d560||_0x5f0524[_0x1a36('0x72')](_0x40b550)){const _0x40b30c=_0x21f3a2[_0x1a36('0x43')](_0x40b550);_0x38238f[_0x1a36('0x48')]&&(_0x38238f[_0x1a36('0x2e')]=_0x40b30c),_0x38238f[_0x1a36('0x36')]=_0x9f7a86;}}return _0x38238f;}function rt(_0x5de470){return _0x1a36('0x4a')===ot(_0x5de470['name'])[_0x1a36('0x7d')];}
|
|
23
|
+
const _0x635b8f=_0x240a;(function(_0x51b8bd,_0x3b05f0){const _0x404849=_0x240a,_0x408317=_0x51b8bd();while(!![]){try{const _0x35ef3e=-parseInt(_0x404849(0x20e))/0x1*(parseInt(_0x404849(0x190))/0x2)+parseInt(_0x404849(0x1de))/0x3*(-parseInt(_0x404849(0x1da))/0x4)+parseInt(_0x404849(0x1ed))/0x5+parseInt(_0x404849(0x219))/0x6*(-parseInt(_0x404849(0x21b))/0x7)+-parseInt(_0x404849(0x210))/0x8*(parseInt(_0x404849(0x202))/0x9)+-parseInt(_0x404849(0x1f6))/0xa*(parseInt(_0x404849(0x1ea))/0xb)+-parseInt(_0x404849(0x1c8))/0xc*(-parseInt(_0x404849(0x20b))/0xd);if(_0x35ef3e===_0x3b05f0)break;else _0x408317['push'](_0x408317['shift']());}catch(_0xb04371){_0x408317['push'](_0x408317['shift']());}}}(_0x1fb4,0x1ac31));import{Plugin as _0x4adeb7}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1eb4d8}from'ckeditor5/src/utils.js';import _0x3a0a83 from'./commentsrepository.js';import _0x27a77c from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2cda6,getAllMarkersDomElementsSorted as _0x4cf52f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3434cf from'../annotations/editorannotations.js';import _0x4d172d from'./integrations/commentsrestrictededitingmode.js';import _0x48610c from'./integrations/importword.js';function _0x1fb4(){const _0xa314f5=['clear','join','removeCommentThread','size','from','CommentsEditing','collaboration.channelId','pluginName','editing','comment','getWalker','dataToMarker','unlinkedAt','reopenCommentThread','getChangedMarkers','listenTo','ck-comment-marker','context','addMarker:','comments','_hasTargetInContent','getAttribute','dataDowncast','getCommentThread','push','isResolved','openNewCommentThread','upcast','_initAriaMarkerChangeAnnouncements','hasMarkerForId','plugins','change:activeMarker','_detachCommentThread','then','set','getItems','refreshVisibility','_attachMarkerToThread','_handleThreadMarker','addComment','$graveyard','markerName','getByInnerView','markerToHighlight','change','isAttached','setContext','5588340wJUUuL','removeMarker:','substring','enqueueChange','delete','markerToData','comment:','group','for','data','_attachArchivedThread','destroy','removeMarker','item','scrollToThreadMarker','text','end','hasContent','184736LfWImg','addCommentThread','destroyed','hasCommentThread','6tjQTFv','_getTargetForId','get','_threads','_handleMarkerAddAndRemove','isThreadsLoadingPaused','$marker','editor','isCollapsed','add','once','getRange','11tlJypQ','$textProxy','start','740510XLPdqe','consume','createElement','resolveCommentThread','_getTextContext','_threadToController','_initializeMarkerConverters','config','activeMarker','1849030ErmvmD','document','isLocal','registerAnnotation','getCommentThreads','setUnlinkedAt','length','switchReadOnly','differ','attachTo','change:isThreadsLoadingPaused','root','281403AcVJQK','createRange','view','locale','isEqual','isObject','LEAVE_COMMENT_ANNOUNCEMENT','ignoreResolvedComments','consumable','13bMkqJI','ENTER_COMMENT_ANNOUNCEMENT','elementToElement','769YvhBza','newRange','16yfoaLh','startsWith','ready','low','schema','commands','split','ck-comment-marker--active','ariaLiveAnnouncer','85884NxEGvw','updateMarker','77TYMfiu','hasDomSelection','state','reconvertMarker','announce','getAllMarkersForId','focus','change:isReadOnly','fetchCommentThread','editingDowncast','model','name','conversion','requires','rootName','18HJvbQO','markers','affectsData','createPositionBefore','registerPostFixer','managedUsingOperations','init','render','_reconvertMarkers'];_0x1fb4=function(){return _0xa314f5;};return _0x1fb4();}import _0x413a99 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x161bb0 from'../annotations/annotations.js';import{getTranslation as _0x485271}from'../utils/common-translations.js';export default class r extends _0x4adeb7{static get[_0x635b8f(0x18e)](){return[_0x3a0a83,_0x3434cf,_0x4d172d,_0x48610c,_0x413a99];}static get[_0x635b8f(0x1a0)](){const _0x1135ee=_0x635b8f;return _0x1135ee(0x19e);}constructor(_0x293b79){const _0x448ec=_0x635b8f;super(_0x293b79),this[_0x448ec(0x1bb)](_0x448ec(0x1e3),!0x0),_0x293b79[_0x448ec(0x1d1)][_0x448ec(0x1e8)](_0x448ec(0x212),()=>this[_0x448ec(0x1e3)]=!0x1),this[_0x448ec(0x1bb)](_0x448ec(0x1f5),null),this['on'](_0x448ec(0x1b8),(_0xe9bb3b,_0x3aaa1a,_0x2f3020,_0x359027)=>{const _0x5c834b=_0x448ec,_0x28162b=_0x2f3020?et(_0x2f3020)['id']:null;if(_0x293b79[_0x5c834b(0x225)][_0x5c834b(0x1c5)](()=>{const _0x3d6846=_0x5c834b;if(_0x28162b){const _0x3897f4=this[_0x3d6846(0x220)](_0x28162b);for(const _0x149d08 of _0x3897f4)_0x293b79[_0x3d6846(0x1a1)][_0x3d6846(0x21e)](_0x149d08);}if(_0x359027){const {id:_0x404881}=et(_0x359027),_0x56d14f=this[_0x3d6846(0x220)](_0x404881);for(const _0x1387f1 of _0x56d14f)_0x293b79[_0x3d6846(0x1a1)][_0x3d6846(0x21e)](_0x1387f1);}}),_0x28162b){const _0x266cdc=_0x293b79[_0x5c834b(0x1b7)][_0x5c834b(0x1e0)](_0x3a0a83)[_0x5c834b(0x1b0)](_0x28162b);_0x266cdc&&_0x266cdc[_0x5c834b(0x1b2)]&&this[_0x5c834b(0x1d6)](_0x28162b);}}),this[_0x448ec(0x1b5)]();}[_0x635b8f(0x196)](){const _0x473cbe=_0x635b8f,_0x32f2f9=this[_0x473cbe(0x1e5)],_0xc57aed=_0x32f2f9[_0x473cbe(0x1b7)][_0x473cbe(0x1e0)](_0x3a0a83),_0x1f6099=_0x32f2f9[_0x473cbe(0x1f4)][_0x473cbe(0x1e0)](_0x473cbe(0x19f));_0x32f2f9[_0x473cbe(0x215)][_0x473cbe(0x1e7)](_0x473cbe(0x1db),new _0x27a77c(_0x32f2f9)),this[_0x473cbe(0x1a8)](_0x32f2f9,_0x473cbe(0x222),(_0x397032,_0x20277c,_0x354e28)=>{const _0x6332c0=_0x473cbe;_0xc57aed[_0x6332c0(0x1fd)](_0x354e28,_0x32f2f9[_0x6332c0(0x1f4)][_0x6332c0(0x1e0)](_0x6332c0(0x19f)));}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x1db),_0x1f6099),(_0x2bc417,{threadId:_0x56be87})=>{const _0x44d56c=_0x473cbe,_0x73166=this[_0x44d56c(0x1e5)][_0x44d56c(0x1b7)][_0x44d56c(0x1e0)](_0x3a0a83)[_0x44d56c(0x1b0)](_0x56be87);_0x73166&&_0x73166[_0x44d56c(0x1a5)]&&this[_0x44d56c(0x1d2)](_0x56be87);}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x19b),_0x1f6099),(_0x4f96bc,{threadId:_0x578441})=>{const _0x3ae94d=_0x473cbe;_0x32f2f9[_0x3ae94d(0x225)][_0x3ae94d(0x1cb)]({'isUndoable':!0x1},_0xc771a6=>{const _0x3e06a8=_0x3ae94d,_0x1ffc3a=this[_0x3e06a8(0x220)](_0x578441);for(const _0x521dd4 of _0x1ffc3a)_0xc771a6[_0x3e06a8(0x1d4)](_0x521dd4);});}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x1f0),_0x1f6099),(_0x5c9444,{threadId:_0x3a0f2c})=>{const _0x862fae=_0x473cbe;(this[_0x862fae(0x198)](_0x3a0f2c),this[_0x862fae(0x1e5)][_0x862fae(0x1a1)][_0x862fae(0x204)][_0x862fae(0x21c)])&&(this[_0x862fae(0x1e5)][_0x862fae(0x1b7)][_0x862fae(0x1e0)](_0x3a0a83)[_0x862fae(0x1b0)](_0x3a0f2c)[_0x862fae(0x1a5)]||this[_0x862fae(0x1e5)][_0x862fae(0x1a1)][_0x862fae(0x204)][_0x862fae(0x221)]());},{'priority':_0x473cbe(0x213)}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x1a6),_0x1f6099),(_0x59b709,{threadId:_0x40f59f})=>{const _0x53233e=_0x473cbe;this[_0x53233e(0x198)](_0x40f59f);},{'priority':_0x473cbe(0x213)}),this[_0x473cbe(0x1a8)](_0xc57aed,ot(_0x473cbe(0x1c0),_0x1f6099),(_0x1571db,{threadId:_0x2b4e5c,isFromAdapter:_0x420576})=>{const _0x221d60=_0x473cbe,_0x48046d=this[_0x221d60(0x220)](_0x2b4e5c);if(_0x420576||0x0==_0x48046d[_0x221d60(0x1fc)]||!_0xc57aed[_0x221d60(0x1dd)](_0x2b4e5c))return;0x1===_0xc57aed[_0x221d60(0x1b0)](_0x2b4e5c)[_0x221d60(0x1fc)]&&_0x32f2f9[_0x221d60(0x225)][_0x221d60(0x1cb)]({'isUndoable':!0x1},_0x3d5df1=>{const _0x71b257=_0x221d60;for(const _0x15c5f2 of _0x48046d)_0x3d5df1[_0x71b257(0x21a)](_0x15c5f2,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x473cbe(0x213)}),this[_0x473cbe(0x1f3)](),this[_0x473cbe(0x1e2)]();}[_0x635b8f(0x1d3)](){const _0x36df0d=_0x635b8f,_0x191a8a=this[_0x36df0d(0x1e5)][_0x36df0d(0x1b7)][_0x36df0d(0x1e0)](_0x3a0a83),_0x52f358=this[_0x36df0d(0x1e5)][_0x36df0d(0x1f4)][_0x36df0d(0x1e0)](_0x36df0d(0x19f));for(const _0x34189a of _0x191a8a[_0x36df0d(0x1fa)]({'channelId':_0x52f358}))_0x191a8a[_0x36df0d(0x1b9)](_0x34189a['id']),_0x191a8a[_0x36df0d(0x1e1)][_0x36df0d(0x1cc)](_0x34189a['id']);super[_0x36df0d(0x1d3)]();}[_0x635b8f(0x1b6)](_0x4302c5){const _0x429b0c=_0x635b8f;return this[_0x429b0c(0x220)](_0x4302c5)[_0x429b0c(0x1fc)]>0x0;}[_0x635b8f(0x220)](_0xd75381){const _0x54a865=_0x635b8f,_0x1deb2f=[];for(const _0x377ed5 of this[_0x54a865(0x1e5)][_0x54a865(0x225)][_0x54a865(0x191)])_0x377ed5[_0x54a865(0x226)][_0x54a865(0x211)](_0x54a865(0x1ce)+_0xd75381)&&_0x1deb2f[_0x54a865(0x1b1)](_0x377ed5);return _0x1deb2f;}[_0x635b8f(0x1d6)](_0x1ab1fb){const _0x32a6e7=_0x635b8f,_0x120843=this[_0x32a6e7(0x1df)](_0x1ab1fb);_0x120843&&setTimeout(()=>{const _0x3f6de4=_0x32a6e7;this[_0x3f6de4(0x1f5)]&&et(this[_0x3f6de4(0x1f5)])['id']===_0x1ab1fb&&_0x1eb4d8({'target':_0x120843[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x635b8f(0x198)](_0x32480b){const _0xfc9f14=_0x635b8f;this[_0xfc9f14(0x1e5)][_0xfc9f14(0x225)][_0xfc9f14(0x1c5)](()=>{const _0x5d7621=_0xfc9f14;for(const _0x4a5848 of this[_0x5d7621(0x220)](_0x32480b))this[_0x5d7621(0x1e5)][_0x5d7621(0x1a1)][_0x5d7621(0x21e)](_0x4a5848);});}[_0x635b8f(0x1d2)](_0x23042e){const _0x343c88=_0x635b8f,_0x119d41=this[_0x343c88(0x1e5)][_0x343c88(0x1b7)][_0x343c88(0x1e0)](_0x3a0a83),_0x191aa3=this[_0x343c88(0x1e5)][_0x343c88(0x1b7)][_0x343c88(0x1e0)](_0x3434cf),_0x36ef07=_0x119d41[_0x343c88(0x1b0)](_0x23042e);if(!_0x36ef07[_0x343c88(0x1c6)]){const _0xde1d68=_0x36ef07[_0x343c88(0x1ff)](()=>this[_0x343c88(0x1df)](_0x36ef07['id']));_0x191aa3[_0x343c88(0x1f9)](_0xde1d68),_0x36ef07[_0x343c88(0x1ad)]=!0x1;}}[_0x635b8f(0x1f3)](){const _0x3921e5=_0x635b8f,_0x487925=this[_0x3921e5(0x1e5)];_0x487925[_0x3921e5(0x227)][_0x3921e5(0x1d0)](_0x3921e5(0x224))[_0x3921e5(0x1c4)]({'model':_0x3921e5(0x1a2),'view':(_0x485fdd,_0x3db0de)=>{const _0x3365f0=_0x3921e5,{id:_0x12766c}=et(_0x485fdd[_0x3365f0(0x1c2)]),_0xa06cd0=_0x487925[_0x3365f0(0x1b7)][_0x3365f0(0x1e0)](_0x3a0a83)[_0x3365f0(0x1b0)](_0x12766c),_0x98e31f=this[_0x3365f0(0x1f5)]&&et(this[_0x3365f0(0x1f5)])['id']===_0x12766c;if(_0xa06cd0&&_0xa06cd0[_0x3365f0(0x1b2)]&&!_0x98e31f&&_0x485fdd[_0x3365f0(0x1d5)])return _0x3db0de[_0x3365f0(0x20a)][_0x3365f0(0x1ee)](_0x485fdd[_0x3365f0(0x1d5)],_0x3365f0(0x1ab)+_0x485fdd[_0x3365f0(0x1c2)]),_0x3db0de[_0x3365f0(0x20a)][_0x3365f0(0x1ee)](_0x485fdd[_0x3365f0(0x1d5)],_0x3365f0(0x1c9)+_0x485fdd[_0x3365f0(0x1c2)]),null;const _0x44553d=[_0x3365f0(0x1a9)];return _0x98e31f&&_0x44553d[_0x3365f0(0x1b1)](_0x3365f0(0x217)),{'classes':_0x44553d,'attributes':{'data-comment':_0x12766c}};}}),_0x487925[_0x3921e5(0x227)][_0x3921e5(0x1d0)](_0x3921e5(0x1af))[_0x3921e5(0x1cd)]({'model':_0x3921e5(0x1a2),'view':(_0x1c6abd,{options:_0x44640e})=>{const _0x458bd8=_0x3921e5,_0x3802f8=_0x487925[_0x458bd8(0x1b7)][_0x458bd8(0x1e0)](_0x3a0a83),_0x20b1eb=_0x487925[_0x458bd8(0x225)][_0x458bd8(0x191)][_0x458bd8(0x1e0)](_0x1c6abd),{id:_0x562221,part:_0x394d4f}=et(_0x1c6abd);if(_0x20b1eb&&!_0x20b1eb[_0x458bd8(0x192)])return null;if(_0x44640e[_0x458bd8(0x209)]){const _0x5cd438=_0x3802f8[_0x458bd8(0x1b0)](_0x562221);if(_0x5cd438&&_0x5cd438[_0x458bd8(0x1b2)])return null;}return{'group':_0x458bd8(0x1a2),'name':_0x394d4f?_0x562221+':'+_0x394d4f:_0x562221};}}),_0x487925[_0x3921e5(0x227)][_0x3921e5(0x1d0)](_0x3921e5(0x1b4))[_0x3921e5(0x20d)]({'view':{'name':_0x3921e5(0x1a2),'attributes':{'id':/^\w/}},'model':(_0x29d4e2,{writer:_0x131e50})=>_0x131e50[_0x3921e5(0x1ef)](_0x3921e5(0x1e4),{'data-name':_0x3921e5(0x1ce)+_0x29d4e2[_0x3921e5(0x1ae)]('id')})}),_0x487925[_0x3921e5(0x227)][_0x3921e5(0x1d0)](_0x3921e5(0x1b4))[_0x3921e5(0x1a4)]({'view':_0x3921e5(0x1a2)});}[_0x635b8f(0x1e2)](){const _0x543bcf=_0x635b8f,_0x16cd1d=this[_0x543bcf(0x1e5)],_0x1289c1=_0x16cd1d[_0x543bcf(0x1b7)][_0x543bcf(0x1e0)](_0x3a0a83),_0x154042=new Set(),_0xca1811=new Set();_0x16cd1d[_0x543bcf(0x225)][_0x543bcf(0x1f7)][_0x543bcf(0x194)](_0x168b6c=>{const _0x5c1442=_0x543bcf;let _0x1df87f=!0x1;for(const {name:_0x3192f0,data:_0x3484db}of _0x16cd1d[_0x5c1442(0x225)][_0x5c1442(0x1f7)][_0x5c1442(0x1fe)][_0x5c1442(0x1a7)]()){const {group:_0xb7ca15,id:_0x3cc8d9}=et(_0x3192f0);let _0x3f1b41=_0x3484db[_0x5c1442(0x20f)];if(_0x5c1442(0x1a2)!==_0xb7ca15||!_0x3f1b41)continue;const _0x494fc5=_0x5c1442(0x1c1)===_0x3f1b41[_0x5c1442(0x201)][_0x5c1442(0x18f)];_0x494fc5||(_0x3f1b41=rt(_0x3f1b41,_0x16cd1d[_0x5c1442(0x225)]),!_0x3f1b41||_0x3f1b41[_0x5c1442(0x1e6)]||!_0x3484db[_0x5c1442(0x20f)]||_0x3f1b41[_0x5c1442(0x206)](_0x3484db[_0x5c1442(0x20f)]))?_0x16cd1d[_0x5c1442(0x225)][_0x5c1442(0x1d9)](_0x3f1b41)&&!_0x494fc5?this[_0x5c1442(0x1e3)]?_0x154042[_0x5c1442(0x1e7)](_0x3192f0):this[_0x5c1442(0x1bf)](_0x3192f0,_0x3cc8d9):(_0xca1811[_0x5c1442(0x1e7)](_0x3192f0),_0x154042[_0x5c1442(0x1cc)](_0x3192f0),_0x168b6c[_0x5c1442(0x1d4)](_0x3192f0),_0x1df87f=!0x0):(_0x168b6c[_0x5c1442(0x21a)](_0x3192f0,{'range':_0x3f1b41}),_0x1df87f=!0x0);}return _0x1df87f;}),this['on'](_0x543bcf(0x200),(_0x5e6984,_0x559812,_0x39b2a6)=>{const _0x3d90b1=_0x543bcf;if(!_0x39b2a6&&_0x154042[_0x3d90b1(0x19c)])for(const _0x46a42f of _0x154042){const {id:_0x451dcd}=et(_0x46a42f);_0x154042[_0x3d90b1(0x1cc)](_0x46a42f),_0x16cd1d[_0x3d90b1(0x225)][_0x3d90b1(0x191)][_0x3d90b1(0x1e0)](_0x46a42f)&&this[_0x3d90b1(0x1bf)](_0x46a42f,_0x451dcd);}}),this[_0x543bcf(0x1a8)](_0x16cd1d[_0x543bcf(0x225)][_0x543bcf(0x1f7)],_0x543bcf(0x1c5),(_0x169b63,_0x2b38ff)=>{const _0x42b61c=_0x543bcf;for(const {name:_0x55ea81,data:{newRange:_0x18da0e}}of _0x16cd1d[_0x42b61c(0x225)][_0x42b61c(0x1f7)][_0x42b61c(0x1fe)][_0x42b61c(0x1a7)]()){const {group:_0x28ca44,id:_0x17b827}=et(_0x55ea81);if(_0x42b61c(0x1a2)!==_0x28ca44)continue;const _0x531f3c=_0x1289c1[_0x42b61c(0x1b0)](_0x17b827),_0x1e7ced=this[_0x42b61c(0x1b6)](_0x17b827);_0x531f3c&&(_0x531f3c[_0x42b61c(0x1ad)]||_0x16cd1d[_0x42b61c(0x1a1)][_0x42b61c(0x204)][_0x42b61c(0x1e8)](_0x42b61c(0x197),()=>{const _0x371c21=_0x42b61c,_0x597a1f=_0x16cd1d[_0x371c21(0x1b7)][_0x371c21(0x1e0)](_0x161bb0),_0x50c562=_0x1289c1[_0x371c21(0x1f2)][_0x371c21(0x1e0)](_0x531f3c)[_0x371c21(0x204)];_0x597a1f[_0x371c21(0x1c3)](_0x50c562)[_0x371c21(0x1bd)]();},{'priority':_0x42b61c(0x213)}),_0x531f3c[_0x42b61c(0x1ad)]=_0x1e7ced||!!_0x18da0e),_0x18da0e||(_0xca1811[_0x42b61c(0x1e7)](_0x55ea81),_0x154042[_0x42b61c(0x1cc)](_0x55ea81));}if(_0x2b38ff[_0x42b61c(0x1f8)])for(const _0x24031c of _0xca1811){const {id:_0x4636fc}=et(_0x24031c),_0x4a1127=_0x1289c1[_0x42b61c(0x1b0)](_0x4636fc),_0x39a5e9=this[_0x42b61c(0x1b6)](_0x4636fc);_0x154042[_0x42b61c(0x1cc)](_0x24031c),!_0x4a1127||_0x39a5e9||_0x4a1127[_0x42b61c(0x1a5)]||_0x4a1127[_0x42b61c(0x1fb)](new Date());}_0xca1811[_0x42b61c(0x199)]();});}[_0x635b8f(0x1df)](_0x52f4f4){const _0x3f8d9a=_0x635b8f,_0x2ef771=this[_0x3f8d9a(0x1e5)],_0x4c137a=this[_0x3f8d9a(0x220)](_0x52f4f4);return _0x4cf52f(_0x2ef771[_0x3f8d9a(0x1a1)],_0x4c137a);}[_0x635b8f(0x1f1)](_0x42e0e0){const _0x3f5a3d=_0x635b8f,_0x48e6f1=this[_0x3f5a3d(0x220)](_0x42e0e0);let _0x1c54d1='',_0x5669a9=!0x1;for(const _0x349206 of _0x48e6f1){const _0x1d40bc=_0x349206[_0x3f5a3d(0x1e9)]();for(const _0x5de21c of Array[_0x3f5a3d(0x19d)](_0x1d40bc[_0x3f5a3d(0x1bc)]()))_0x5de21c['is'](_0x3f5a3d(0x1eb))?(_0x1c54d1&&_0x5669a9&&(_0x1c54d1+='\x20',_0x5669a9=!0x1),_0x1c54d1+=_0x5de21c[_0x3f5a3d(0x1d1)]):_0x5669a9=!0x0;_0x5669a9=!0x0;}return _0x1c54d1[_0x3f5a3d(0x1ca)](0x0,0x96);}[_0x635b8f(0x1be)](_0x14dddd,_0x42dda8){const _0x889fd9=_0x635b8f,_0x203d98=this[_0x889fd9(0x1e5)],_0x59d54b=_0x203d98[_0x889fd9(0x1b7)][_0x889fd9(0x1e0)](_0x3a0a83);let _0x4a53b9=_0x59d54b[_0x889fd9(0x1b0)](_0x42dda8);const _0x4d43bb=_0x203d98[_0x889fd9(0x1f4)][_0x889fd9(0x1e0)](_0x889fd9(0x19f)),_0x37894f=_0x203d98[_0x889fd9(0x1b7)][_0x889fd9(0x1e0)](_0x3434cf);if(_0x4a53b9&&(_0x4a53b9[_0x889fd9(0x1a5)]&&_0x4a53b9[_0x889fd9(0x1fb)](null),_0x4a53b9[_0x889fd9(0x1c6)]))return _0x4a53b9;return!this[_0x889fd9(0x220)](_0x42dda8)[0x0][_0x889fd9(0x195)]?_0x203d98[_0x889fd9(0x1a1)][_0x889fd9(0x204)][_0x889fd9(0x1e8)](_0x889fd9(0x197),()=>{const _0x5444a1=_0x889fd9;if(_0x59d54b[_0x5444a1(0x1b0)](_0x42dda8))return;const _0x235c43=_0x203d98[_0x5444a1(0x1b7)][_0x5444a1(0x1e0)](_0x161bb0);_0x4a53b9=_0x59d54b[_0x5444a1(0x1b3)]({'channelId':_0x4d43bb,'threadId':_0x42dda8,'target':()=>this[_0x5444a1(0x1df)](_0x42dda8),'context':{'type':_0x5444a1(0x1d7),'value':this[_0x5444a1(0x1f1)](_0x42dda8)}});const _0xc44b5d=_0x59d54b[_0x5444a1(0x1f2)][_0x5444a1(0x1e0)](_0x4a53b9)[_0x5444a1(0x204)],_0x19e553=_0x235c43[_0x5444a1(0x1c3)](_0xc44b5d);_0x19e553&&_0x37894f[_0x5444a1(0x1f9)](_0x19e553);},{'priority':_0x889fd9(0x213)}):_0x59d54b[_0x889fd9(0x223)]({'channelId':_0x4d43bb,'threadId':_0x42dda8})[_0x889fd9(0x1ba)](_0x1fd4df=>{const _0x47483e=_0x889fd9;if(_0x47483e(0x1dc)!==_0x203d98[_0x47483e(0x21d)]){if(_0x4a53b9=_0x1fd4df,_0x4a53b9&&!_0x4a53b9[_0x47483e(0x1c6)]){const _0x2e53cb=_0x4a53b9[_0x47483e(0x1ff)](()=>this[_0x47483e(0x1df)](_0x42dda8));_0x37894f[_0x47483e(0x1f9)](_0x2e53cb),_0x4a53b9[_0x47483e(0x1b2)]&&this[_0x47483e(0x198)](_0x42dda8);}else{if(!_0x4a53b9){const _0x108abc=this[_0x47483e(0x220)](_0x42dda8);_0x203d98[_0x47483e(0x225)][_0x47483e(0x1c5)](_0x5a82fb=>{const _0x37c2b5=_0x47483e;for(const _0x254b5e of _0x108abc)_0x5a82fb[_0x37c2b5(0x1d4)](_0x254b5e);});}}}}),_0x4a53b9;}[_0x635b8f(0x1bf)](_0x2450a7,_0x156200){const _0x1a1c73=_0x635b8f,_0x42dc8d=this[_0x1a1c73(0x1be)](_0x2450a7,_0x156200);_0x42dc8d&&!_0x42dc8d[_0x1a1c73(0x1aa)]&&_0x42dc8d[_0x1a1c73(0x1c7)]({'type':_0x1a1c73(0x1d7),'value':this[_0x1a1c73(0x1f1)](_0x156200)});}[_0x635b8f(0x1b5)](){const _0xa5c21=_0x635b8f,_0x220df=this[_0xa5c21(0x1e5)];_0x2cda6(_0x220df[_0xa5c21(0x225)],({left:_0x1ad88d,entered:_0x539696})=>{const _0x2eb6fd=_0xa5c21,_0x55b68f=[];for(const _0x4e7873 of _0x1ad88d)if(nt(_0x4e7873)){_0x55b68f[_0x2eb6fd(0x1b1)](_0x485271(_0x220df[_0x2eb6fd(0x205)],_0x2eb6fd(0x208)));break;}for(const _0x45242f of _0x539696)if(nt(_0x45242f)){_0x55b68f[_0x2eb6fd(0x1b1)](_0x485271(_0x220df[_0x2eb6fd(0x205)],_0x2eb6fd(0x20c)));break;}_0x55b68f[_0x2eb6fd(0x1fc)]&&_0x220df['ui'][_0x2eb6fd(0x218)][_0x2eb6fd(0x21f)](_0x2eb6fd(0x1ac),_0x55b68f[_0x2eb6fd(0x19a)]('\x20'));});}}function ot(_0x137bb6,_0x5ad29f){return _0x5ad29f?_0x137bb6+':'+_0x5ad29f:_0x137bb6;}function et(_0x43d788){const _0x47e130=_0x635b8f,_0x5d5480=_0x43d788[_0x47e130(0x216)](':');return{'group':_0x5d5480[0x0],'id':_0x5d5480[0x1],'part':_0x5d5480[0x2]};}function rt(_0x58c079,_0x4b84b3){const _0x5e2fa0=_0x635b8f,_0x2aaab2=_0x4b84b3[_0x5e2fa0(0x214)],_0x3ec30d=_0x4b84b3[_0x5e2fa0(0x203)](_0x58c079[_0x5e2fa0(0x1ec)]);for(const _0x260a44 of _0x58c079[_0x5e2fa0(0x1a3)]()){const {type:_0x11db0a,item:_0x442d66,nextPosition:_0x58a48a}=_0x260a44;if(_0x5e2fa0(0x1d7)===_0x11db0a||_0x2aaab2[_0x5e2fa0(0x207)](_0x442d66)){const _0x1c3078=_0x4b84b3[_0x5e2fa0(0x193)](_0x442d66);_0x3ec30d[_0x5e2fa0(0x1e6)]&&(_0x3ec30d[_0x5e2fa0(0x1ec)]=_0x1c3078),_0x3ec30d[_0x5e2fa0(0x1d8)]=_0x58a48a;}}return _0x3ec30d;}function _0x240a(_0x35fa20,_0x3d592d){const _0x1fb4e1=_0x1fb4();return _0x240a=function(_0x240af8,_0x980b4a){_0x240af8=_0x240af8-0x18e;let _0x5c0f53=_0x1fb4e1[_0x240af8];return _0x5c0f53;},_0x240a(_0x35fa20,_0x3d592d);}function nt(_0x22cb53){const _0x17586b=_0x635b8f;return _0x17586b(0x1a2)===et(_0x22cb53[_0x17586b(0x226)])[_0x17586b(0x1cf)];}
|