@ckeditor/ckeditor5-comments 43.0.0 → 43.1.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/build/translations/gl.js +1 -1
- package/dist/annotations/annotation.d.ts +7 -0
- package/dist/comments/commentsediting.d.ts +2 -1
- package/dist/comments/commentsrepository.d.ts +0 -12
- package/dist/index.d.ts +6 -3
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/lang/translations/gl.po +17 -17
- package/package.json +15 -14
- package/src/annotations/annotation.d.ts +7 -0
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +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 +2 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +0 -12
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.d.ts +6 -3
- 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 _0x25056d=_0x17ce;(function(_0x888f16,_0x2f13ac){const _0x32f183=_0x17ce,_0x419f47=_0x888f16();while(!![]){try{const _0x5f8fff=-parseInt(_0x32f183(0x1c9))/0x1*(-parseInt(_0x32f183(0x1dc))/0x2)+parseInt(_0x32f183(0x1b8))/0x3*(-parseInt(_0x32f183(0x1ac))/0x4)+parseInt(_0x32f183(0x1b1))/0x5*(-parseInt(_0x32f183(0x1ea))/0x6)+-parseInt(_0x32f183(0x1dd))/0x7*(-parseInt(_0x32f183(0x1f3))/0x8)+parseInt(_0x32f183(0x1de))/0x9*(parseInt(_0x32f183(0x1ba))/0xa)+parseInt(_0x32f183(0x1e9))/0xb*(-parseInt(_0x32f183(0x1ce))/0xc)+-parseInt(_0x32f183(0x1f7))/0xd*(-parseInt(_0x32f183(0x1ae))/0xe);if(_0x5f8fff===_0x2f13ac)break;else _0x419f47['push'](_0x419f47['shift']());}catch(_0x1e5422){_0x419f47['push'](_0x419f47['shift']());}}}(_0x4787,0xf2017));import{ContextPlugin as _0x7bcb60}from'ckeditor5/src/core.js';function _0x4787(){const _0x1766b6=['set','max','pluginName','class','isActive','refresh','stopListening','addAnnotation','_activeAnnotation','updateHeight','_annotations','view','element','_alignForTopChange','_sidebarItemViewToAnnotation','bottom','11144nrcqlQ','rearrange','2909662fSdjqx','length','target','155weaFvr','sidebar-setcontainer-invalid-element','list','add','sidebar.preventScrollOutOfView','nodeType','Sidebar','1926QZIeJk','_alignForBottomChange','830dYWUJY','config','listenTo','isAnimationDisabled','locale','container','clear','_spaceBetweenItems','content','delete','change:_lastItem','bind','getSidebarItemView','sidebar-attachtocontainer-missing-container','height','776442wkfChR','_attachToContainer','change:targetRect','_destroySidebarItemView','change:bottom','144VuhutJ','_recalculateBuffer','define','sidebar.container','_annotationToSidebarItemView','get','_getItemAfter','_setItemTop','_alignAfterItem','init','destroy','_getTargetTop','_lastItem','_detachFromContainer','2DXgoCN','7TfoPtc','129213vqtHZX','setContainer','getIndex','_getMaxAvailableTop','top','render','_targetTop','targetRect','unbind','appendChild','_getItemBefore','1237962tszMkL','346938RzUAsj','last','_updateLastItem','object','change:top','push','context','_alignBeforeItem','_createSidebarView','10023856SuKMWM','_recalculate','minHeight','remove','169QtKLWh','_alignToTargetRect'];_0x4787=function(){return _0x1766b6;};return _0x4787();}function _0x17ce(_0x21c295,_0x23fee0){const _0x47873a=_0x4787();return _0x17ce=function(_0x17cecd,_0x495d9d){_0x17cecd=_0x17cecd-0x1a1;let _0x234ccf=_0x47873a[_0x17cecd];return _0x234ccf;},_0x17ce(_0x21c295,_0x23fee0);}import{Rect as _0x3dada6,CKEditorError as _0x3b3be3}from'ckeditor5/src/utils.js';import _0x4dfffe from'./view/sidebarview.js';import _0x42dafd from'./view/sidebaritemview.js';export default class D extends _0x7bcb60{static get[_0x25056d(0x1fb)](){const _0x6a6e2d=_0x25056d;return _0x6a6e2d(0x1b7);}constructor(_0x4140a1){const _0x5ef960=_0x25056d;super(_0x4140a1),this[_0x5ef960(0x1f9)](_0x5ef960(0x1da),void 0x0),this[_0x5ef960(0x1a7)]=this[_0x5ef960(0x1f2)](),this[_0x5ef960(0x1f9)](_0x5ef960(0x1bf),null),this[_0x5ef960(0x1c1)]=0x19,this[_0x5ef960(0x1aa)]=new Map(),this[_0x5ef960(0x1d2)]=new Map(),this[_0x5ef960(0x1f0)][_0x5ef960(0x1bb)][_0x5ef960(0x1d0)](_0x5ef960(0x1b5),!0x1),this[_0x5ef960(0x1a6)]=null,this[_0x5ef960(0x1a4)]=null,this[_0x5ef960(0x1cf)]=[];}[_0x25056d(0x1d7)](){const _0x26a0ca=_0x25056d,_0x3ef6a4=this[_0x26a0ca(0x1f0)][_0x26a0ca(0x1bb)][_0x26a0ca(0x1d3)](_0x26a0ca(0x1d1));_0x3ef6a4&&this[_0x26a0ca(0x1df)](_0x3ef6a4);}[_0x25056d(0x1df)](_0x3e20d4){const _0x592e50=_0x25056d;if(!y(_0x3e20d4))throw new _0x3b3be3(_0x592e50(0x1b2));this[_0x592e50(0x1bf)]=_0x3e20d4;}[_0x25056d(0x1ca)]({viewClass:_0x2bf9a7='',spaceBetweenItems:_0x1c4d87=0x19}={}){const _0x5497d5=_0x25056d;if(!y(this[_0x5497d5(0x1bf)]))throw new _0x3b3be3(_0x5497d5(0x1c7),this);this[_0x5497d5(0x1bf)][_0x5497d5(0x1e7)](this[_0x5497d5(0x1a7)][_0x5497d5(0x1a8)]),this[_0x5497d5(0x1a7)][_0x5497d5(0x1fc)]=_0x2bf9a7,this[_0x5497d5(0x1c1)]=_0x1c4d87;}[_0x25056d(0x1ad)]({removedAnnotation:_0x45ed0f,previousAnnotation:_0x49ab77,nextAnnotation:_0x2d1773}){const _0x196f14=_0x25056d,_0x4579e0=this[_0x196f14(0x1c6)](_0x45ed0f);this[_0x196f14(0x1a7)][_0x196f14(0x1b3)][_0x196f14(0x1f6)](_0x4579e0),this[_0x196f14(0x1cc)](_0x45ed0f),_0x49ab77&&this[_0x196f14(0x1f8)](this[_0x196f14(0x1c6)](_0x49ab77)),_0x2d1773&&this[_0x196f14(0x1f8)](this[_0x196f14(0x1c6)](_0x2d1773)),this[_0x196f14(0x1ec)]();}[_0x25056d(0x1a1)]({blurredAnnotation:_0x218cc5,activatedAnnotation:_0x245182,disableAnimationOnActivatedAnnotation:_0x2cead7}){const _0x4c530e=_0x25056d;if(this[_0x4c530e(0x1a4)]=_0x245182,_0x218cc5){_0x218cc5[_0x4c530e(0x1fd)]=!0x1;const _0xa41324=this[_0x4c530e(0x1c6)](_0x218cc5);_0xa41324&&_0x2cead7&&(_0xa41324[_0x4c530e(0x1bd)]=!0x1);}if(_0x245182){const _0x28a9e0=this[_0x4c530e(0x1c6)](_0x245182);_0x28a9e0&&(_0x245182[_0x4c530e(0x1fd)]=!0x0,_0x2cead7&&(_0x28a9e0[_0x4c530e(0x1bd)]=!0x0,_0x28a9e0[_0x4c530e(0x1e2)]+=0x1),this[_0x4c530e(0x1f8)](_0x28a9e0));}}[_0x25056d(0x1db)](_0x23314b){const _0x535e88=_0x25056d;if(this[_0x535e88(0x1a7)][_0x535e88(0x1a8)][_0x535e88(0x1f6)](),_0x23314b){for(const _0xe86bbc of _0x23314b)this[_0x535e88(0x1cc)](_0xe86bbc);}this[_0x535e88(0x1a7)][_0x535e88(0x1b3)][_0x535e88(0x1c0)](),this[_0x535e88(0x1a7)][_0x535e88(0x1fc)]='',this[_0x535e88(0x1da)]=null;}[_0x25056d(0x1a3)](_0x1e806e,_0x5dd3a3){const _0x4c5244=_0x25056d;_0x5dd3a3||(_0x5dd3a3=_0x1e806e[_0x4c5244(0x1a7)]);const _0x402db6=new _0x42dafd(this[_0x4c5244(0x1f0)][_0x4c5244(0x1be)]);this[_0x4c5244(0x1aa)][_0x4c5244(0x1f9)](_0x402db6,_0x1e806e),this[_0x4c5244(0x1d2)][_0x4c5244(0x1f9)](_0x1e806e,_0x402db6),_0x402db6[_0x4c5244(0x1c2)][_0x4c5244(0x1b4)](_0x5dd3a3),this[_0x4c5244(0x1bc)](_0x1e806e[_0x4c5244(0x1a7)],_0x4c5244(0x1cb),(_0x1a73ac,_0x9a32fb,_0xf2bcb)=>{const _0x1f1d52=_0x4c5244,_0x56d9c4=this[_0x1f1d52(0x1d9)](_0x1e806e,_0xf2bcb);_0x402db6[_0x1f1d52(0x1e4)]!=_0x56d9c4&&(_0x402db6[_0x1f1d52(0x1e4)]=_0x56d9c4,this[_0x1f1d52(0x1d5)](_0x402db6,_0x56d9c4));}),this[_0x4c5244(0x1bc)](_0x402db6,_0x4c5244(0x1ee),()=>{const _0x1bea9f=_0x4c5244;this[_0x1bea9f(0x1f4)](_0x402db6,_0x1bea9f(0x1e2));}),this[_0x4c5244(0x1bc)](_0x402db6,_0x4c5244(0x1cd),()=>{const _0x10d6c2=_0x4c5244;this[_0x10d6c2(0x1f4)](_0x402db6,_0x10d6c2(0x1ab));}),this[_0x4c5244(0x1f8)](_0x402db6);const _0x126a51=this[_0x4c5244(0x1e8)](_0x402db6);if(_0x126a51)this[_0x4c5244(0x1d6)](_0x126a51,_0x402db6)||this[_0x4c5244(0x1f8)](_0x402db6);else this[_0x4c5244(0x1f8)](_0x402db6);return this[_0x4c5244(0x1ec)](),this[_0x4c5244(0x1a7)][_0x4c5244(0x1b3)][_0x4c5244(0x1b4)](_0x402db6),_0x402db6;}[_0x25056d(0x1a9)](_0x3b8ebd){const _0xd6e15d=_0x25056d;if(!_0x3b8ebd[_0xd6e15d(0x1c2)][_0xd6e15d(0x1af)])return;const _0x13f42a=this[_0xd6e15d(0x1e8)](_0x3b8ebd);if(!_0x13f42a)return;const _0x436056=this[_0xd6e15d(0x1aa)][_0xd6e15d(0x1d3)](_0x13f42a),_0x5cd833=this[_0xd6e15d(0x1a4)];_0x5cd833&&_0x5cd833===_0x436056?this[_0xd6e15d(0x1d6)](_0x13f42a,_0x3b8ebd):this[_0xd6e15d(0x1f1)](_0x3b8ebd,_0x13f42a);}[_0x25056d(0x1b9)](_0x19ecad){const _0x1d05cc=_0x25056d;if(!_0x19ecad[_0x1d05cc(0x1c2)][_0x1d05cc(0x1af)])return;const _0x2a826c=this[_0x1d05cc(0x1d4)](_0x19ecad);if(!_0x2a826c)return;const _0x49a2cb=this[_0x1d05cc(0x1aa)][_0x1d05cc(0x1d3)](_0x2a826c),_0x380296=this[_0x1d05cc(0x1f0)][_0x1d05cc(0x1bb)][_0x1d05cc(0x1d3)](_0x1d05cc(0x1b5)),_0x104a3f=this[_0x1d05cc(0x1a4)];_0x104a3f&&_0x104a3f===_0x49a2cb&&_0x380296?(this[_0x1d05cc(0x1f1)](_0x2a826c,_0x19ecad),this[_0x1d05cc(0x1d6)](_0x19ecad,_0x2a826c)):_0x104a3f&&_0x104a3f===_0x49a2cb?this[_0x1d05cc(0x1f1)](_0x2a826c,_0x19ecad):this[_0x1d05cc(0x1d6)](_0x19ecad,_0x2a826c);}[_0x25056d(0x1f4)](_0x33235a,_0x44bfe6){const _0xa5eb0d=_0x25056d;0x0===this[_0xa5eb0d(0x1cf)][_0xa5eb0d(0x1af)]&&setTimeout(()=>{const _0x4604f6=_0xa5eb0d;for(const {sidebarItemView:_0x12d3fd,changedProp:_0x37293c}of this[_0x4604f6(0x1cf)])_0x4604f6(0x1e2)===_0x37293c?this[_0x4604f6(0x1a9)](_0x12d3fd):this[_0x4604f6(0x1b9)](_0x12d3fd);this[_0x4604f6(0x1cf)]=[];},0xa),this[_0xa5eb0d(0x1cf)][_0xa5eb0d(0x1ef)]({'sidebarItemView':_0x33235a,'changedProp':_0x44bfe6});}[_0x25056d(0x1c6)](_0x4e2761){const _0x1154f2=_0x25056d;return this[_0x1154f2(0x1d2)][_0x1154f2(0x1d3)](_0x4e2761);}[_0x25056d(0x1d8)](){const _0x2a7515=_0x25056d;this[_0x2a7515(0x1a2)](),this[_0x2a7515(0x1a7)][_0x2a7515(0x1d8)]();}[_0x25056d(0x1cc)](_0x346d99){const _0x375921=_0x25056d,_0x1e2e4b=this[_0x375921(0x1c6)](_0x346d99);this[_0x375921(0x1a2)](_0x1e2e4b),this[_0x375921(0x1a2)](_0x346d99[_0x375921(0x1a7)]),_0x1e2e4b[_0x375921(0x1d8)](),this[_0x375921(0x1d2)][_0x375921(0x1c3)](_0x346d99),this[_0x375921(0x1aa)][_0x375921(0x1c3)](_0x1e2e4b);}[_0x25056d(0x1f2)](){const _0x3c9e79=_0x25056d,_0x5bef9d=new _0x4dfffe(this[_0x3c9e79(0x1f0)][_0x3c9e79(0x1be)]);return _0x5bef9d[_0x3c9e79(0x1e3)](),this['on'](_0x3c9e79(0x1c4),(_0x2cc6b7,_0x4d297e,_0x3f0ffb,_0x46154c)=>{const _0x401ec9=_0x3c9e79;_0x46154c&&_0x5bef9d[_0x401ec9(0x1e6)](_0x401ec9(0x1f5)),_0x3f0ffb?_0x5bef9d[_0x401ec9(0x1c5)](_0x401ec9(0x1f5))['to'](_0x3f0ffb,_0x401ec9(0x1ab)):_0x5bef9d[_0x401ec9(0x1f5)]=null;}),_0x5bef9d;}[_0x25056d(0x1ec)](){const _0xcbf0ba=_0x25056d;var _0x511eab;this[_0xcbf0ba(0x1da)]=(null===(_0x511eab=this[_0xcbf0ba(0x1a6)])||void 0x0===_0x511eab?void 0x0:_0x511eab[_0xcbf0ba(0x1eb)])?this[_0xcbf0ba(0x1c6)](this[_0xcbf0ba(0x1a6)][_0xcbf0ba(0x1eb)]):null;}[_0x25056d(0x1e8)](_0xde1441){const _0x4ecc03=_0x25056d;var _0xbdb51f;const _0x21fff1=this[_0x4ecc03(0x1aa)][_0x4ecc03(0x1d3)](_0xde1441),_0x3b61bd=_0x21fff1&&(null===(_0xbdb51f=this[_0x4ecc03(0x1a6)])||void 0x0===_0xbdb51f?void 0x0:_0xbdb51f[_0x4ecc03(0x1d3)](this[_0x4ecc03(0x1a6)][_0x4ecc03(0x1e0)](_0x21fff1)-0x1));return _0x3b61bd&&this[_0x4ecc03(0x1c6)](_0x3b61bd)||null;}[_0x25056d(0x1d4)](_0x1f68dd){const _0x1b5bc7=_0x25056d;var _0x1d8d72;const _0x2fbc41=this[_0x1b5bc7(0x1aa)][_0x1b5bc7(0x1d3)](_0x1f68dd),_0x461098=_0x2fbc41&&(null===(_0x1d8d72=this[_0x1b5bc7(0x1a6)])||void 0x0===_0x1d8d72?void 0x0:_0x1d8d72[_0x1b5bc7(0x1d3)](this[_0x1b5bc7(0x1a6)][_0x1b5bc7(0x1e0)](_0x2fbc41)+0x1));return _0x461098&&this[_0x1b5bc7(0x1c6)](_0x461098)||null;}[_0x25056d(0x1f1)](_0x2873b8,_0x363e09){const _0x39ef0b=_0x25056d;_0x2873b8[_0x39ef0b(0x1a5)]();const _0x4b6bba=H(_0x363e09[_0x39ef0b(0x1ab)]+this[_0x39ef0b(0x1c1)],_0x2873b8[_0x39ef0b(0x1e2)]);return!!_0x4b6bba&&(this[_0x39ef0b(0x1d5)](_0x363e09,_0x363e09[_0x39ef0b(0x1e2)]-_0x4b6bba),!0x0);}[_0x25056d(0x1d6)](_0x4437a2,_0x1a4370){const _0x35e64c=_0x25056d;_0x4437a2[_0x35e64c(0x1a5)]();const _0x1eea3d=H(_0x4437a2[_0x35e64c(0x1ab)]+this[_0x35e64c(0x1c1)],_0x1a4370[_0x35e64c(0x1e2)]);return!!_0x1eea3d&&(this[_0x35e64c(0x1d5)](_0x1a4370,_0x1a4370[_0x35e64c(0x1e2)]+_0x1eea3d,!0x1),!0x0);}[_0x25056d(0x1f8)](_0x3a09b8){const _0x20e9e7=_0x25056d,_0x337627=this[_0x20e9e7(0x1aa)][_0x20e9e7(0x1d3)](_0x3a09b8);if(!_0x337627||!_0x337627[_0x20e9e7(0x1b0)]||!_0x337627[_0x20e9e7(0x1e5)])return;const _0x93717c=this[_0x20e9e7(0x1d9)](_0x337627,_0x337627[_0x20e9e7(0x1e5)]);this[_0x20e9e7(0x1d5)](_0x3a09b8,_0x93717c);}[_0x25056d(0x1d9)](_0x2488cd,_0x35bc86){const _0x2efb39=_0x25056d;if(null===_0x35bc86)return 0x0;if(_0x2488cd[_0x2efb39(0x1b0)]instanceof _0x3dada6)return _0x35bc86[_0x2efb39(0x1e2)];{const _0x26ad5f=new _0x3dada6(this[_0x2efb39(0x1a7)][_0x2efb39(0x1a8)])[_0x2efb39(0x1e2)];return _0x35bc86[_0x2efb39(0x1e2)]-_0x26ad5f;}}[_0x25056d(0x1d5)](_0x2ba90d,_0x4b8f83,_0x3a716a=this[_0x25056d(0x1f0)][_0x25056d(0x1bb)][_0x25056d(0x1d3)](_0x25056d(0x1b5))){const _0xbcddb9=_0x25056d;_0x3a716a&&(_0x4b8f83=Math[_0xbcddb9(0x1fa)](_0x4b8f83,this[_0xbcddb9(0x1e1)](_0x2ba90d))),_0x2ba90d[_0xbcddb9(0x1e2)]=_0x4b8f83;}[_0x25056d(0x1e1)](_0x44c0fa){const _0x3c7a35=_0x25056d;let _0x4caf7d=this[_0x3c7a35(0x1e8)](_0x44c0fa),_0x46e242=0x0;for(;_0x4caf7d;)_0x4caf7d[_0x3c7a35(0x1a5)](),_0x46e242+=this[_0x3c7a35(0x1c1)]+_0x4caf7d[_0x3c7a35(0x1c8)],_0x4caf7d=this[_0x3c7a35(0x1e8)](_0x4caf7d);return _0x46e242;}}function H(_0x2df756,_0x4af088){const _0x162ed1=_0x25056d;return Math[_0x162ed1(0x1fa)](_0x2df756-_0x4af088,0x0);}function y(_0x451569){const _0x547966=_0x25056d;return null!==_0x451569&&_0x547966(0x1ed)==typeof _0x451569&&0x1===_0x451569[_0x547966(0x1b6)];}
|
|
23
|
+
const _0xdfa862=_0x1d16;function _0x2849(){const _0x34528a=['1839745BatMxH','get','minHeight','push','_destroySidebarItemView','locale','isAnimationDisabled','sidebar-setcontainer-invalid-element','_targetTop','remove','target','rearrange','object','setContainer','1548603WFuPuX','clear','_getTargetTop','_getItemAfter','init','_recalculate','5057840KFncvC','targetRect','_updateLastItem','_alignToTargetRect','_annotations','_alignAfterItem','2068815gPMztd','_spaceBetweenItems','getSidebarItemView','element','pluginName','_getItemBefore','959JkdPbs','_annotationToSidebarItemView','_alignBeforeItem','max','change:bottom','_sidebarItemViewToAnnotation','delete','class','content','stopListening','sidebar.preventScrollOutOfView','4MKAVcF','length','unbind','set','addAnnotation','refresh','add','list','change:_lastItem','bind','top','206HcwuTb','6465iSehfr','8656142rTTvpA','_detachFromContainer','_lastItem','height','_recalculateBuffer','define','last','config','isActive','sidebar-attachtocontainer-missing-container','updateHeight','view','_activeAnnotation','_alignForTopChange','bottom','sidebar.container','_getMaxAvailableTop','nodeType','change:targetRect','context','_alignForBottomChange','getIndex','container','destroy','render','change:top','10nVRYci','_attachToContainer','listenTo','20046VrWzXl','_setItemTop','appendChild','_createSidebarView','Sidebar'];_0x2849=function(){return _0x34528a;};return _0x2849();}(function(_0x16e319,_0x30fdaf){const _0x1f063d=_0x1d16,_0xc0b672=_0x16e319();while(!![]){try{const _0x573591=-parseInt(_0x1f063d(0xe0))/0x1*(-parseInt(_0x1f063d(0xdf))/0x2)+-parseInt(_0x1f063d(0x11d))/0x3+parseInt(_0x1f063d(0x12e))/0x4*(-parseInt(_0x1f063d(0x103))/0x5)+parseInt(_0x1f063d(0xfe))/0x6*(-parseInt(_0x1f063d(0x123))/0x7)+parseInt(_0x1f063d(0x117))/0x8+parseInt(_0x1f063d(0x111))/0x9*(-parseInt(_0x1f063d(0xfb))/0xa)+parseInt(_0x1f063d(0xe1))/0xb;if(_0x573591===_0x30fdaf)break;else _0xc0b672['push'](_0xc0b672['shift']());}catch(_0x1c03b4){_0xc0b672['push'](_0xc0b672['shift']());}}}(_0x2849,0x6118d));function _0x1d16(_0x49188d,_0x18704c){const _0x284984=_0x2849();return _0x1d16=function(_0x1d16f7,_0x6f83a2){_0x1d16f7=_0x1d16f7-0xd7;let _0x1b08be=_0x284984[_0x1d16f7];return _0x1b08be;},_0x1d16(_0x49188d,_0x18704c);}import{ContextPlugin as _0x11739c}from'ckeditor5/src/core.js';import{Rect as _0xe83335,CKEditorError as _0x4b9005}from'ckeditor5/src/utils.js';import _0x32731d from'./view/sidebarview.js';import _0x2853b5 from'./view/sidebaritemview.js';export default class D extends _0x11739c{static get[_0xdfa862(0x121)](){const _0x2213dd=_0xdfa862;return _0x2213dd(0x102);}constructor(_0x5e595a){const _0x13eaa5=_0xdfa862;super(_0x5e595a),this[_0x13eaa5(0xd7)](_0x13eaa5(0xe3),void 0x0),this[_0x13eaa5(0xec)]=this[_0x13eaa5(0x101)](),this[_0x13eaa5(0xd7)](_0x13eaa5(0xf7),null),this[_0x13eaa5(0x11e)]=0x19,this[_0x13eaa5(0x128)]=new Map(),this[_0x13eaa5(0x124)]=new Map(),this[_0x13eaa5(0xf4)][_0x13eaa5(0xe8)][_0x13eaa5(0xe6)](_0x13eaa5(0x12d),!0x1),this[_0x13eaa5(0x11b)]=null,this[_0x13eaa5(0xed)]=null,this[_0x13eaa5(0xe5)]=[];}[_0xdfa862(0x115)](){const _0x39950c=_0xdfa862,_0x393fbe=this[_0x39950c(0xf4)][_0x39950c(0xe8)][_0x39950c(0x104)](_0x39950c(0xf0));_0x393fbe&&this[_0x39950c(0x110)](_0x393fbe);}[_0xdfa862(0x110)](_0x126b5d){const _0x39abdd=_0xdfa862;if(!y(_0x126b5d))throw new _0x4b9005(_0x39abdd(0x10a));this[_0x39abdd(0xf7)]=_0x126b5d;}[_0xdfa862(0xfc)]({viewClass:_0x3d710d='',spaceBetweenItems:_0x4f9150=0x19}={}){const _0x46db79=_0xdfa862;if(!y(this[_0x46db79(0xf7)]))throw new _0x4b9005(_0x46db79(0xea),this);this[_0x46db79(0xf7)][_0x46db79(0x100)](this[_0x46db79(0xec)][_0x46db79(0x120)]),this[_0x46db79(0xec)][_0x46db79(0x12a)]=_0x3d710d,this[_0x46db79(0x11e)]=_0x4f9150;}[_0xdfa862(0x10e)]({removedAnnotation:_0x1ce635,previousAnnotation:_0x69259c,nextAnnotation:_0x1b7779}){const _0x4f4473=_0xdfa862,_0x30de91=this[_0x4f4473(0x11f)](_0x1ce635);this[_0x4f4473(0xec)][_0x4f4473(0xdb)][_0x4f4473(0x10c)](_0x30de91),this[_0x4f4473(0x107)](_0x1ce635),_0x69259c&&this[_0x4f4473(0x11a)](this[_0x4f4473(0x11f)](_0x69259c)),_0x1b7779&&this[_0x4f4473(0x11a)](this[_0x4f4473(0x11f)](_0x1b7779)),this[_0x4f4473(0x119)]();}[_0xdfa862(0xd9)]({blurredAnnotation:_0x3083d0,activatedAnnotation:_0x2ffb97,disableAnimationOnActivatedAnnotation:_0x484454}){const _0x2df86b=_0xdfa862;if(this[_0x2df86b(0xed)]=_0x2ffb97,_0x3083d0){_0x3083d0[_0x2df86b(0xe9)]=!0x1;const _0x1142d2=this[_0x2df86b(0x11f)](_0x3083d0);_0x1142d2&&_0x484454&&(_0x1142d2[_0x2df86b(0x109)]=!0x1);}if(_0x2ffb97){const _0x277a95=this[_0x2df86b(0x11f)](_0x2ffb97);_0x277a95&&(_0x2ffb97[_0x2df86b(0xe9)]=!0x0,_0x484454&&(_0x277a95[_0x2df86b(0x109)]=!0x0,_0x277a95[_0x2df86b(0xde)]+=0x1),this[_0x2df86b(0x11a)](_0x277a95));}}[_0xdfa862(0xe2)](_0x114704){const _0x30fc42=_0xdfa862;if(this[_0x30fc42(0xec)][_0x30fc42(0x120)][_0x30fc42(0x10c)](),_0x114704){for(const _0x57aaf1 of _0x114704)this[_0x30fc42(0x107)](_0x57aaf1);}this[_0x30fc42(0xec)][_0x30fc42(0xdb)][_0x30fc42(0x112)](),this[_0x30fc42(0xec)][_0x30fc42(0x12a)]='',this[_0x30fc42(0xe3)]=null;}[_0xdfa862(0xd8)](_0x32c633,_0x18b42c){const _0x5e44f0=_0xdfa862;_0x18b42c||(_0x18b42c=_0x32c633[_0x5e44f0(0xec)]);const _0x567e3c=new _0x2853b5(this[_0x5e44f0(0xf4)][_0x5e44f0(0x108)]);this[_0x5e44f0(0x128)][_0x5e44f0(0xd7)](_0x567e3c,_0x32c633),this[_0x5e44f0(0x124)][_0x5e44f0(0xd7)](_0x32c633,_0x567e3c),_0x567e3c[_0x5e44f0(0x12b)][_0x5e44f0(0xda)](_0x18b42c),this[_0x5e44f0(0xfd)](_0x32c633[_0x5e44f0(0xec)],_0x5e44f0(0xf3),(_0x57d7c4,_0xc44186,_0x2ad10e)=>{const _0x462cf1=_0x5e44f0,_0x43c8e7=this[_0x462cf1(0x113)](_0x32c633,_0x2ad10e);_0x567e3c[_0x462cf1(0x10b)]!=_0x43c8e7&&(_0x567e3c[_0x462cf1(0x10b)]=_0x43c8e7,this[_0x462cf1(0xff)](_0x567e3c,_0x43c8e7));}),this[_0x5e44f0(0xfd)](_0x567e3c,_0x5e44f0(0xfa),()=>{const _0x1c1883=_0x5e44f0;this[_0x1c1883(0x116)](_0x567e3c,_0x1c1883(0xde));}),this[_0x5e44f0(0xfd)](_0x567e3c,_0x5e44f0(0x127),()=>{const _0x326208=_0x5e44f0;this[_0x326208(0x116)](_0x567e3c,_0x326208(0xef));}),this[_0x5e44f0(0x11a)](_0x567e3c);const _0x3501c7=this[_0x5e44f0(0x122)](_0x567e3c);if(_0x3501c7)this[_0x5e44f0(0x11c)](_0x3501c7,_0x567e3c)||this[_0x5e44f0(0x11a)](_0x567e3c);else this[_0x5e44f0(0x11a)](_0x567e3c);return this[_0x5e44f0(0x119)](),this[_0x5e44f0(0xec)][_0x5e44f0(0xdb)][_0x5e44f0(0xda)](_0x567e3c),_0x567e3c;}[_0xdfa862(0xee)](_0x48a4c6){const _0x1ee6d1=_0xdfa862;if(!_0x48a4c6[_0x1ee6d1(0x12b)][_0x1ee6d1(0x12f)])return;const _0x521963=this[_0x1ee6d1(0x122)](_0x48a4c6);if(!_0x521963)return;const _0x1d87c0=this[_0x1ee6d1(0x128)][_0x1ee6d1(0x104)](_0x521963),_0x219644=this[_0x1ee6d1(0xed)];_0x219644&&_0x219644===_0x1d87c0?this[_0x1ee6d1(0x11c)](_0x521963,_0x48a4c6):this[_0x1ee6d1(0x125)](_0x48a4c6,_0x521963);}[_0xdfa862(0xf5)](_0x208afe){const _0x9f2d97=_0xdfa862;if(!_0x208afe[_0x9f2d97(0x12b)][_0x9f2d97(0x12f)])return;const _0x59dd2b=this[_0x9f2d97(0x114)](_0x208afe);if(!_0x59dd2b)return;const _0x2a2338=this[_0x9f2d97(0x128)][_0x9f2d97(0x104)](_0x59dd2b),_0x16f247=this[_0x9f2d97(0xf4)][_0x9f2d97(0xe8)][_0x9f2d97(0x104)](_0x9f2d97(0x12d)),_0x4ac6f9=this[_0x9f2d97(0xed)];_0x4ac6f9&&_0x4ac6f9===_0x2a2338&&_0x16f247?(this[_0x9f2d97(0x125)](_0x59dd2b,_0x208afe),this[_0x9f2d97(0x11c)](_0x208afe,_0x59dd2b)):_0x4ac6f9&&_0x4ac6f9===_0x2a2338?this[_0x9f2d97(0x125)](_0x59dd2b,_0x208afe):this[_0x9f2d97(0x11c)](_0x208afe,_0x59dd2b);}[_0xdfa862(0x116)](_0x4b96aa,_0x3fb6f1){const _0x3b7b79=_0xdfa862;0x0===this[_0x3b7b79(0xe5)][_0x3b7b79(0x12f)]&&setTimeout(()=>{const _0x48a890=_0x3b7b79;for(const {sidebarItemView:_0x2cfc7,changedProp:_0x4475fc}of this[_0x48a890(0xe5)])_0x48a890(0xde)===_0x4475fc?this[_0x48a890(0xee)](_0x2cfc7):this[_0x48a890(0xf5)](_0x2cfc7);this[_0x48a890(0xe5)]=[];},0xa),this[_0x3b7b79(0xe5)][_0x3b7b79(0x106)]({'sidebarItemView':_0x4b96aa,'changedProp':_0x3fb6f1});}[_0xdfa862(0x11f)](_0x30286e){const _0x58aa08=_0xdfa862;return this[_0x58aa08(0x124)][_0x58aa08(0x104)](_0x30286e);}[_0xdfa862(0xf8)](){const _0x2cb70d=_0xdfa862;this[_0x2cb70d(0x12c)](),this[_0x2cb70d(0xec)][_0x2cb70d(0xf8)]();}[_0xdfa862(0x107)](_0x1fd25c){const _0x95a44b=_0xdfa862,_0x2cdc46=this[_0x95a44b(0x11f)](_0x1fd25c);this[_0x95a44b(0x12c)](_0x2cdc46),this[_0x95a44b(0x12c)](_0x1fd25c[_0x95a44b(0xec)]),_0x2cdc46[_0x95a44b(0xf8)](),this[_0x95a44b(0x124)][_0x95a44b(0x129)](_0x1fd25c),this[_0x95a44b(0x128)][_0x95a44b(0x129)](_0x2cdc46);}[_0xdfa862(0x101)](){const _0x1f176d=_0xdfa862,_0x1c7542=new _0x32731d(this[_0x1f176d(0xf4)][_0x1f176d(0x108)]);return _0x1c7542[_0x1f176d(0xf9)](),this['on'](_0x1f176d(0xdc),(_0x2a72c5,_0x4f3c84,_0x531a7a,_0x24f66b)=>{const _0x461f7e=_0x1f176d;_0x24f66b&&_0x1c7542[_0x461f7e(0x130)](_0x461f7e(0x105)),_0x531a7a?_0x1c7542[_0x461f7e(0xdd)](_0x461f7e(0x105))['to'](_0x531a7a,_0x461f7e(0xef)):_0x1c7542[_0x461f7e(0x105)]=null;}),_0x1c7542;}[_0xdfa862(0x119)](){const _0x370389=_0xdfa862;var _0x282f26;this[_0x370389(0xe3)]=(null===(_0x282f26=this[_0x370389(0x11b)])||void 0x0===_0x282f26?void 0x0:_0x282f26[_0x370389(0xe7)])?this[_0x370389(0x11f)](this[_0x370389(0x11b)][_0x370389(0xe7)]):null;}[_0xdfa862(0x122)](_0x14f0c0){const _0x290bbd=_0xdfa862;var _0x4500ff;const _0x1839b9=this[_0x290bbd(0x128)][_0x290bbd(0x104)](_0x14f0c0),_0x177b42=_0x1839b9&&(null===(_0x4500ff=this[_0x290bbd(0x11b)])||void 0x0===_0x4500ff?void 0x0:_0x4500ff[_0x290bbd(0x104)](this[_0x290bbd(0x11b)][_0x290bbd(0xf6)](_0x1839b9)-0x1));return _0x177b42&&this[_0x290bbd(0x11f)](_0x177b42)||null;}[_0xdfa862(0x114)](_0x255d62){const _0x565534=_0xdfa862;var _0x5015f2;const _0x36f97b=this[_0x565534(0x128)][_0x565534(0x104)](_0x255d62),_0x54b756=_0x36f97b&&(null===(_0x5015f2=this[_0x565534(0x11b)])||void 0x0===_0x5015f2?void 0x0:_0x5015f2[_0x565534(0x104)](this[_0x565534(0x11b)][_0x565534(0xf6)](_0x36f97b)+0x1));return _0x54b756&&this[_0x565534(0x11f)](_0x54b756)||null;}[_0xdfa862(0x125)](_0x5d0067,_0x31ff8e){const _0x544a8a=_0xdfa862;_0x5d0067[_0x544a8a(0xeb)]();const _0x189721=R(_0x31ff8e[_0x544a8a(0xef)]+this[_0x544a8a(0x11e)],_0x5d0067[_0x544a8a(0xde)]);return!!_0x189721&&(this[_0x544a8a(0xff)](_0x31ff8e,_0x31ff8e[_0x544a8a(0xde)]-_0x189721),!0x0);}[_0xdfa862(0x11c)](_0x3665e1,_0x5d227d){const _0x34a0b4=_0xdfa862;_0x3665e1[_0x34a0b4(0xeb)]();const _0x2ef53b=R(_0x3665e1[_0x34a0b4(0xef)]+this[_0x34a0b4(0x11e)],_0x5d227d[_0x34a0b4(0xde)]);return!!_0x2ef53b&&(this[_0x34a0b4(0xff)](_0x5d227d,_0x5d227d[_0x34a0b4(0xde)]+_0x2ef53b,!0x1),!0x0);}[_0xdfa862(0x11a)](_0x5b93f9){const _0x45c85a=_0xdfa862,_0x4aa6df=this[_0x45c85a(0x128)][_0x45c85a(0x104)](_0x5b93f9);if(!_0x4aa6df||!_0x4aa6df[_0x45c85a(0x10d)]||!_0x4aa6df[_0x45c85a(0x118)])return;const _0x577ff9=this[_0x45c85a(0x113)](_0x4aa6df,_0x4aa6df[_0x45c85a(0x118)]);this[_0x45c85a(0xff)](_0x5b93f9,_0x577ff9);}[_0xdfa862(0x113)](_0x46af1a,_0x2610a2){const _0x1b424a=_0xdfa862;if(null===_0x2610a2)return 0x0;if(_0x46af1a[_0x1b424a(0x10d)]instanceof _0xe83335)return _0x2610a2[_0x1b424a(0xde)];{const _0x2d45e1=new _0xe83335(this[_0x1b424a(0xec)][_0x1b424a(0x120)])[_0x1b424a(0xde)];return _0x2610a2[_0x1b424a(0xde)]-_0x2d45e1;}}[_0xdfa862(0xff)](_0x5c0d53,_0x2949ce,_0x5be161=this[_0xdfa862(0xf4)][_0xdfa862(0xe8)][_0xdfa862(0x104)](_0xdfa862(0x12d))){const _0x577e96=_0xdfa862;_0x5be161&&(_0x2949ce=Math[_0x577e96(0x126)](_0x2949ce,this[_0x577e96(0xf1)](_0x5c0d53))),_0x5c0d53[_0x577e96(0xde)]=_0x2949ce;}[_0xdfa862(0xf1)](_0x35ec8f){const _0x30abda=_0xdfa862;let _0x35b96b=this[_0x30abda(0x122)](_0x35ec8f),_0x229074=0x0;for(;_0x35b96b;)_0x35b96b[_0x30abda(0xeb)](),_0x229074+=this[_0x30abda(0x11e)]+_0x35b96b[_0x30abda(0xe4)],_0x35b96b=this[_0x30abda(0x122)](_0x35b96b);return _0x229074;}}function R(_0x5f1e8a,_0x3b3512){const _0x26fdab=_0xdfa862;return Math[_0x26fdab(0x126)](_0x5f1e8a-_0x3b3512,0x0);}function y(_0x21a45b){const _0x2acd25=_0xdfa862;return null!==_0x21a45b&&_0x2acd25(0x10f)==typeof _0x21a45b&&0x1===_0x21a45b[_0x2acd25(0xf2)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x10c098,_0x269037){const _0x4507d2=_0x546c,_0x3f4fb2=_0x10c098();while(!![]){try{const _0x87e36e=-parseInt(_0x4507d2(0xb9))/0x1+parseInt(_0x4507d2(0xc7))/0x2+parseInt(_0x4507d2(0xb7))/0x3*(-parseInt(_0x4507d2(0xbe))/0x4)+parseInt(_0x4507d2(0xb5))/0x5*(-parseInt(_0x4507d2(0xab))/0x6)+parseInt(_0x4507d2(0xb8))/0x7*(parseInt(_0x4507d2(0xb0))/0x8)+parseInt(_0x4507d2(0xc2))/0x9+parseInt(_0x4507d2(0xc4))/0xa*(parseInt(_0x4507d2(0xc0))/0xb);if(_0x87e36e===_0x269037)break;else _0x3f4fb2['push'](_0x3f4fb2['shift']());}catch(_0xb11a08){_0x3f4fb2['push'](_0x3f4fb2['shift']());}}}(_0x1732,0xcd55e));import{ButtonView as _0x9b3441,View as _0x25a1a8}from'ckeditor5/src/ui.js';import _0x893618 from'../../../theme/icons/add-comment.svg';function _0x546c(_0x536ee9,_0x325a95){const _0x173276=_0x1732();return _0x546c=function(_0x546cb9,_0x3dd30e){_0x546cb9=_0x546cb9-0xa9;let _0x587b35=_0x173276[_0x546cb9];return _0x587b35;},_0x546c(_0x536ee9,_0x325a95);}export default class L extends _0x9b3441{constructor(_0x25191c){const _0x29bba0=_0x546c;super(_0x25191c);const _0x10a751=this[_0x29bba0(0xc6)];this[_0x29bba0(0xb4)](_0x29bba0(0xc3),!0x1),this[_0x29bba0(0xb4)](_0x29bba0(0xc5),0x0),this[_0x29bba0(0xad)](_0x29bba0(0xb2))['to'](this,_0x29bba0(0xc3),this,_0x29bba0(0xc5),(_0x3246c1,_0x44d5d0)=>_0x3246c1?_0x29bba0(0xae):_0x44d5d0[_0x29bba0(0xaf)]()),this[_0x29bba0(0xb4)](_0x29bba0(0xba),''),this[_0x29bba0(0xbd)]=_0x893618,this[_0x29bba0(0xb3)]({'attributes':{'class':[_0x29bba0(0xbf)]}}),this[_0x29bba0(0xbc)]=new _0x25a1a8(),this[_0x29bba0(0xbc)][_0x29bba0(0xbb)]({'tag':_0x29bba0(0xb1),'attributes':{'class':[_0x29bba0(0xc1),_0x10a751['to'](_0x29bba0(0xba),_0x12e482=>_0x29bba0(0xa9)+_0x12e482),_0x10a751['if'](_0x29bba0(0xc3),_0x29bba0(0xac))]},'children':[{'text':_0x10a751['to'](_0x29bba0(0xb2))}]}),this[_0x29bba0(0xb6)][_0x29bba0(0xaa)](this[_0x29bba0(0xbc)]);}}function _0x1732(){const _0x39b7d9=['extendTemplate','set','80XlXwuA','children','88899VShWjY','168TsBxSB','486221jYZYov','annotationType','setTemplate','counterView','icon','164iMKpkY','ck-annotation-counter','198zjoSnY','ck-annotation-counter__badge','8081982evHERg','isDirty','372510jeMtov','number','bindTemplate','2098848RMQUso','ck-annotation-counter__badge--','add','404610AfGjPY','ck-annotation-counter__badge--edit-mode','bind','...','toString','334416aNzRLL','span','_badge'];_0x1732=function(){return _0x39b7d9;};return _0x1732();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c70c1=_0x2d6f;(function(_0x330af8,_0x36c8e0){const _0x4c3cce=_0x2d6f,_0x25c8ed=_0x330af8();while(!![]){try{const _0x36b8a4=parseInt(_0x4c3cce(0x209))/0x1*(-parseInt(_0x4c3cce(0x207))/0x2)+parseInt(_0x4c3cce(0x210))/0x3*(-parseInt(_0x4c3cce(0x1fb))/0x4)+parseInt(_0x4c3cce(0x1f4))/0x5+-parseInt(_0x4c3cce(0x208))/0x6+parseInt(_0x4c3cce(0x1f7))/0x7*(-parseInt(_0x4c3cce(0x220))/0x8)+parseInt(_0x4c3cce(0x1fe))/0x9*(-parseInt(_0x4c3cce(0x219))/0xa)+parseInt(_0x4c3cce(0x1fa))/0xb;if(_0x36b8a4===_0x36c8e0)break;else _0x25c8ed['push'](_0x25c8ed['shift']());}catch(_0x578130){_0x25c8ed['push'](_0x25c8ed['shift']());}}}(_0x1605,0x8a98c));import{View as _0x1e1aea}from'ckeditor5/src/ui.js';import{FocusTracker as _0x42bc7b,KeystrokeHandler as _0x4605c0,uid as _0x17adbd}from'ckeditor5/src/utils.js';import _0xd52937 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x2d6f(_0x407d94,_0x1191f9){const _0x160596=_0x1605();return _0x2d6f=function(_0x2d6fba,_0x41f304){_0x2d6fba=_0x2d6fba-0x1f2;let _0x3519c1=_0x160596[_0x2d6fba];return _0x3519c1;},_0x2d6f(_0x407d94,_0x1191f9);}function _0x1605(){const _0x47dc4c=['set','destroy','_updateHeight','content','32enIQat','element','detach','fire','1951795VLzORA','focusTracker','delegate','884086OHiAvN','bindTemplate','keystrokes','31210850nImkjI','4MjZcji','createCollection','arrowdown','260595xFrYiy','render','length','targetRect','_mutationObserver','add','isActive','arrowup','first','622716TUFcpc','3776076FHGbXI','1SrUnNR','attach','clientHeight','ck-rounded-corners','isDirty','ck-annotation-wrapper--active','type','1731333EjkLQZ','height','focus','presentation','setTemplate','Esc','mainView','clear','listenTo','220kEKCLs','div','ck-annotation-wrapper'];_0x1605=function(){return _0x47dc4c;};return _0x1605();}export default class T extends _0x1e1aea{constructor(_0x577c1b,_0x1e21ab){const _0xd89415=_0x2d6f;super(_0x577c1b),this['id']=_0x17adbd(),this[_0xd89415(0x1f5)]=new _0x42bc7b(),this[_0xd89415(0x1f9)]=new _0x4605c0(),this[_0xd89415(0x1f9)][_0xd89415(0x21c)](_0xd89415(0x215),(_0x519bd6,_0x588229)=>this[_0xd89415(0x1f3)](_0xd89415(0x215),_0x588229)),this[_0xd89415(0x21c)](_0xd89415(0x201),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0xd89415(0x21c)](_0xd89415(0x211),0x0),this[_0xd89415(0x21c)](_0xd89415(0x204),!0x1),this[_0xd89415(0x21c)](_0xd89415(0x20d),!0x1),this[_0xd89415(0x21c)](_0xd89415(0x200),0x0),this[_0xd89415(0x21c)](_0xd89415(0x20f),''),this[_0xd89415(0x202)]=_0xd52937(()=>this[_0xd89415(0x21e)]()),this[_0xd89415(0x21f)]=this[_0xd89415(0x1fc)](),this[_0xd89415(0x21f)][_0xd89415(0x1f6)](_0xd89415(0x205),_0xd89415(0x1fd))['to'](this),this[_0xd89415(0x21f)][_0xd89415(0x203)](_0x1e21ab),this[_0xd89415(0x216)]=_0x1e21ab;const _0x8c5fa0=this[_0xd89415(0x1f8)];this[_0xd89415(0x214)]({'tag':_0xd89415(0x21a),'attributes':{'class':['ck',_0xd89415(0x21b),_0xd89415(0x20c),_0x8c5fa0['if'](_0xd89415(0x204),_0xd89415(0x20e))],'role':_0xd89415(0x213)},'children':this[_0xd89415(0x21f)]});}[_0x2c70c1(0x1ff)](){const _0x386815=_0x2c70c1;super[_0x386815(0x1ff)](),this[_0x386815(0x1f5)][_0x386815(0x203)](this[_0x386815(0x221)]),this[_0x386815(0x1f9)][_0x386815(0x218)](this[_0x386815(0x221)]),this[_0x386815(0x202)][_0x386815(0x20a)](this[_0x386815(0x221)]);}[_0x2c70c1(0x21d)](){const _0x2f3c7e=_0x2c70c1;this[_0x2f3c7e(0x21f)][_0x2f3c7e(0x217)](),this[_0x2f3c7e(0x1f9)][_0x2f3c7e(0x21d)](),this[_0x2f3c7e(0x1f5)][_0x2f3c7e(0x21d)](),this[_0x2f3c7e(0x202)][_0x2f3c7e(0x1f2)](),super[_0x2f3c7e(0x21d)]();}[_0x2c70c1(0x212)](){const _0x530229=_0x2c70c1;this[_0x530229(0x21f)][_0x530229(0x206)]&&this[_0x530229(0x21f)][_0x530229(0x206)][_0x530229(0x212)]();}[_0x2c70c1(0x21e)](){const _0x6a7dc=_0x2c70c1,_0x5cef65=this[_0x6a7dc(0x221)][_0x6a7dc(0x20b)];_0x5cef65&&(this[_0x6a7dc(0x211)]=_0x5cef65);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x185445=_0x3d11;function _0x5f3e(){const _0x4d47c5=['focus','220VyULEn','height','clientHeight','clear','bind','2158100MMxBeL','9XNHQeR','setTemplate','bottom','arrowdown','createCollection','isAnimationDisabled','ck-sidebar-item','presentation','delegate','_mutationObserver','first','content','top','_targetTop','1574618YWvzhn','arrowup','877121DiiRfc','div','destroy','render','11944088DjRpkH','655518bckNtV','ck-sidebar-item--no-animation','attach','updateHeight','12xpTRqy','51014756cSExBf','9BpFnnD','detach','element','147565gtXlZP','bindTemplate','set','6UTgbnm','5Xjlltv'];_0x5f3e=function(){return _0x4d47c5;};return _0x5f3e();}(function(_0x4ea304,_0x11b1be){const _0xf219c3=_0x3d11,_0x399d17=_0x4ea304();while(!![]){try{const _0x23cbde=-parseInt(_0xf219c3(0x124))/0x1+-parseInt(_0xf219c3(0x12b))/0x2*(parseInt(_0xf219c3(0x107))/0x3)+parseInt(_0xf219c3(0x115))/0x4*(parseInt(_0xf219c3(0x10e))/0x5)+-parseInt(_0xf219c3(0x10d))/0x6*(-parseInt(_0xf219c3(0x126))/0x7)+-parseInt(_0xf219c3(0x12a))/0x8*(parseInt(_0xf219c3(0x116))/0x9)+-parseInt(_0xf219c3(0x110))/0xa*(-parseInt(_0xf219c3(0x10a))/0xb)+-parseInt(_0xf219c3(0x105))/0xc*(-parseInt(_0xf219c3(0x106))/0xd);if(_0x23cbde===_0x11b1be)break;else _0x399d17['push'](_0x399d17['shift']());}catch(_0xc828b4){_0x399d17['push'](_0x399d17['shift']());}}}(_0x5f3e,0xcb6f0));import{View as _0x328115}from'ckeditor5/src/ui.js';function _0x3d11(_0x526549,_0xd8e45){const _0x5f3e62=_0x5f3e();return _0x3d11=function(_0x3d11b0,_0x577131){_0x3d11b0=_0x3d11b0-0x103;let _0xcfeb30=_0x5f3e62[_0x3d11b0];return _0xcfeb30;},_0x3d11(_0x526549,_0xd8e45);}import{toUnit as _0x3c1c26}from'ckeditor5/src/utils.js';import _0x2c5dfd from'../../utils/createmutationobserver.js';const qt=_0x3c1c26('px');export default class H extends _0x328115{constructor(_0x3211d1){const _0x2ed351=_0x3d11;super(_0x3211d1),this[_0x2ed351(0x10c)](_0x2ed351(0x122),0x0),this[_0x2ed351(0x10c)](_0x2ed351(0x111),0x0),this[_0x2ed351(0x114)](_0x2ed351(0x118))['to'](this,_0x2ed351(0x122),this,_0x2ed351(0x111),(_0x4ad7be,_0x570dab)=>_0x4ad7be+_0x570dab),this[_0x2ed351(0x10c)](_0x2ed351(0x11b),!0x1),this[_0x2ed351(0x11f)]=_0x2c5dfd(()=>this[_0x2ed351(0x104)]()),this[_0x2ed351(0x123)]=null,this[_0x2ed351(0x121)]=this[_0x2ed351(0x11a)](),this[_0x2ed351(0x121)][_0x2ed351(0x11e)](_0x2ed351(0x125),_0x2ed351(0x119))['to'](this);const _0x3e57f8=this[_0x2ed351(0x10b)];this[_0x2ed351(0x117)]({'tag':_0x2ed351(0x127),'attributes':{'class':[_0x2ed351(0x11c),_0x3e57f8['to'](_0x2ed351(0x11b),_0x403399=>_0x403399?_0x2ed351(0x12c):'')],'style':{'top':_0x3e57f8['to'](_0x2ed351(0x122),_0xa0fa10=>qt(_0xa0fa10))},'role':_0x2ed351(0x11d)},'children':this[_0x2ed351(0x121)]});}[_0x185445(0x129)](){const _0x4e0161=_0x185445;super[_0x4e0161(0x129)](),this[_0x4e0161(0x11f)][_0x4e0161(0x103)](this[_0x4e0161(0x109)]);}[_0x185445(0x10f)](){const _0x2ed7cc=_0x185445;this[_0x2ed7cc(0x121)][_0x2ed7cc(0x120)]&&this[_0x2ed7cc(0x121)][_0x2ed7cc(0x120)][_0x2ed7cc(0x10f)]();}[_0x185445(0x104)](){const _0x2ff3cf=_0x185445,_0x1782d8=this[_0x2ff3cf(0x109)][_0x2ff3cf(0x112)];_0x1782d8&&(this[_0x2ff3cf(0x111)]=_0x1782d8);}[_0x185445(0x128)](){const _0x3d1667=_0x185445;this[_0x3d1667(0x121)][_0x3d1667(0x113)](),this[_0x3d1667(0x11f)][_0x3d1667(0x108)](),super[_0x3d1667(0x128)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30b896=_0x4d62;(function(_0x1e410e,_0x192a7d){const _0x541ee0=_0x4d62,_0x209c58=_0x1e410e();while(!![]){try{const _0x256334=-parseInt(_0x541ee0(0x1a9))/0x1+-parseInt(_0x541ee0(0x192))/0x2*(parseInt(_0x541ee0(0x18e))/0x3)+parseInt(_0x541ee0(0x19e))/0x4*(-parseInt(_0x541ee0(0x1b0))/0x5)+parseInt(_0x541ee0(0x1a4))/0x6*(-parseInt(_0x541ee0(0x1aa))/0x7)+parseInt(_0x541ee0(0x196))/0x8*(-parseInt(_0x541ee0(0x1ac))/0x9)+parseInt(_0x541ee0(0x18f))/0xa+-parseInt(_0x541ee0(0x19d))/0xb*(-parseInt(_0x541ee0(0x1b2))/0xc);if(_0x256334===_0x192a7d)break;else _0x209c58['push'](_0x209c58['shift']());}catch(_0x5a4595){_0x209c58['push'](_0x209c58['shift']());}}}(_0xa662,0xab803));import{View as _0x153222,FocusCycler as _0xdbc3fb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x943f7,toUnit as _0x5af68a}from'ckeditor5/src/utils.js';import{getTranslation as _0x4202de}from'../../utils/common-translations.js';function _0x4d62(_0x521e96,_0x103772){const _0xa66230=_0xa662();return _0x4d62=function(_0x4d6275,_0x114aad){_0x4d6275=_0x4d6275-0x183;let _0x133245=_0xa66230[_0x4d6275];return _0x133245;},_0x4d62(_0x521e96,_0x103772);}function _0xa662(){const _0x51cb65=['listenTo','div','createCollection','delegate','22LbJucZ','5140276bCIizN','focusFirst','uiLanguageDirection','focusPrevious','add','getIndex','488094kqUBUH','class','change:top','arrowdown','change','298567UTVZrH','42QyGKgE','focusables','9nztlDo','number','setTemplate','source','5MArSUB','bindTemplate','15763620lGLGbY','ck-sidebar','arrowup','focusTracker','minHeight','added','ck-reset','remove','list','application','element','Annotations\x20sidebar','top','_setupKeyboardNavigation','focusCycler','Annotations\x20list','removed','6zkqkoN','8999200PzzZuF','_updateItemPositionInFocusables','focusNext','277000ztIMEc','render','forEach','length','3807944gpNypz','focus','set'];_0xa662=function(){return _0x51cb65;};return _0xa662();}import'../../../theme/sidebar.css';const qt=_0x5af68a('px');export default class V extends _0x153222{constructor(_0x358fe0){const _0x592603=_0x4d62;super(_0x358fe0);const _0x4419e9=this[_0x592603(0x1b1)];this[_0x592603(0x198)](_0x592603(0x1b6),0x0),this[_0x592603(0x198)](_0x592603(0x1a5),''),this[_0x592603(0x185)]=this[_0x592603(0x19b)](),this[_0x592603(0x1ab)]=this[_0x592603(0x19b)](),this[_0x592603(0x185)][_0x592603(0x19c)](_0x592603(0x1b4),_0x592603(0x1a7))['to'](this),this[_0x592603(0x1b5)]=new _0x943f7(),this[_0x592603(0x18b)]=new _0xdbc3fb({'focusables':this[_0x592603(0x1ab)],'focusTracker':this[_0x592603(0x1b5)]}),this[_0x592603(0x1ae)]({'tag':_0x592603(0x19a),'attributes':{'class':['ck',_0x592603(0x1b3),_0x592603(0x183),_0x4419e9['to'](_0x592603(0x1a5))],'style':{'minHeight':_0x4419e9['to'](_0x592603(0x1b6),_0x346793=>_0x592603(0x1ad)==typeof _0x346793?qt(_0x346793+0xa):null)},'dir':_0x358fe0[_0x592603(0x1a0)],'role':_0x592603(0x186),'aria-label':_0x4202de(_0x358fe0,_0x592603(0x188)),'tabindex':0x0},'children':[{'tag':_0x592603(0x19a),'attributes':{'role':_0x592603(0x185),'aria-label':_0x4202de(_0x358fe0,_0x592603(0x18c))},'children':this[_0x592603(0x185)]}]});}[_0x30b896(0x193)](){const _0x281ab6=_0x30b896;super[_0x281ab6(0x193)](),this[_0x281ab6(0x18a)]();}[_0x30b896(0x197)](){const _0x554bea=_0x30b896;this[_0x554bea(0x18b)][_0x554bea(0x19f)]();}[_0x30b896(0x18a)](){const _0x365928=_0x30b896;this[_0x365928(0x185)][_0x365928(0x19c)](_0x365928(0x1a6))['to'](this),this['on'](_0x365928(0x1a6),_0x23d7df=>{const _0xed2e94=_0x365928;this[_0xed2e94(0x190)](_0x23d7df[_0xed2e94(0x1af)]);}),this[_0x365928(0x185)][_0x365928(0x194)](_0x5a6ec0=>{const _0x44d6fb=_0x365928;this[_0x44d6fb(0x1b5)][_0x44d6fb(0x1a2)](_0x5a6ec0[_0x44d6fb(0x187)]),this[_0x44d6fb(0x190)](_0x5a6ec0);}),this[_0x365928(0x185)]['on'](_0x365928(0x1a8),(_0x570dfc,_0x59e121)=>{const _0x4ef68f=_0x365928;for(const _0x45ce59 of _0x59e121[_0x4ef68f(0x18d)])this[_0x4ef68f(0x1b5)][_0x4ef68f(0x184)](_0x45ce59[_0x4ef68f(0x187)]),this[_0x4ef68f(0x1ab)][_0x4ef68f(0x184)](_0x45ce59);for(const _0x20d9d7 of _0x59e121[_0x4ef68f(0x1b7)])this[_0x4ef68f(0x1b5)][_0x4ef68f(0x1a2)](_0x20d9d7[_0x4ef68f(0x187)]),this[_0x4ef68f(0x190)](_0x20d9d7);}),this['on'](_0x365928(0x1b4),()=>{const _0x2ddd28=_0x365928;this[_0x2ddd28(0x18b)][_0x2ddd28(0x1a1)]();}),this['on'](_0x365928(0x1a7),()=>{const _0x59c6b9=_0x365928;this[_0x59c6b9(0x18b)][_0x59c6b9(0x191)]();}),this[_0x365928(0x199)](this[_0x365928(0x187)],_0x365928(0x197),()=>{const _0x3caf62=_0x365928;this[_0x3caf62(0x197)]();});}[_0x30b896(0x190)](_0x33f58e){const _0x520e1c=_0x30b896,_0x28a3b9=this[_0x520e1c(0x1ab)][_0x520e1c(0x1a3)](_0x33f58e);let _0x28a752,_0x5a0626;for(const _0x21b8e6 of this[_0x520e1c(0x1ab)])if(_0x33f58e[_0x520e1c(0x189)]<_0x21b8e6[_0x520e1c(0x189)]){_0x28a752=_0x21b8e6;break;}if(_0x5a0626=_0x28a752?this[_0x520e1c(0x1ab)][_0x520e1c(0x1a3)](_0x28a752):this[_0x520e1c(0x1ab)][_0x520e1c(0x195)],-0x1!==_0x28a3b9){if(_0x28a3b9===_0x5a0626-0x1)return;this[_0x520e1c(0x1ab)][_0x520e1c(0x184)](_0x33f58e),_0x5a0626=_0x28a752?this[_0x520e1c(0x1ab)][_0x520e1c(0x1a3)](_0x28a752):this[_0x520e1c(0x1ab)][_0x520e1c(0x195)];}this[_0x520e1c(0x1ab)][_0x520e1c(0x1a2)](_0x33f58e,_0x5a0626);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x483e(){const _0x11c5ad=['off','requires','remove','destroy','refresh','listenTo','1430051CQFoIB','ready','resize','has','pluginName','from','_detachFromContainer','switchTo','removeEventListener','editors','stopListening','rearrange','updateTargetRect','container','refreshPositioning','stop','_refreshPositioningDebounced','setActiveAnnotation','addAnnotation','823238kNTjMu','_annotations','attach','change:container','_destroyEditorAnnotationsIntegration','_integrateWithEditorAnnotations','getOrderedSelectedAnnotations','annotations','EditorAnnotations','wideSidebar','add','activeAnnotation','179325DAUVaG','6sDmaco','WideSidebar','blur','_activeAnnotation','register','uiUpdate','init','set','97593EDwwHy','widesidebar-attach-already-attached','36eaXjsg','54820xOgmGY','968085QuQFFw','_attachToContainer','widesidebar-detach-not-attached','1770352qbghoc','isAttached','focus','506VmbSBe','context','_editorAnnotations','hasDomSelection','1qHaJoN','high','ck-sidebar--wide','cancel','set:container','get','detach','plugins','addEventListener'];_0x483e=function(){return _0x11c5ad;};return _0x483e();}const _0x50e5b1=_0x21cf;(function(_0x1da1e4,_0xb02d26){const _0x130e82=_0x21cf,_0x5967e6=_0x1da1e4();while(!![]){try{const _0x17ba23=-parseInt(_0x130e82(0xc8))/0x1*(-parseInt(_0x130e82(0xea))/0x2)+-parseInt(_0x130e82(0xff))/0x3*(-parseInt(_0x130e82(0x101))/0x4)+parseInt(_0x130e82(0x103))/0x5*(parseInt(_0x130e82(0xf7))/0x6)+-parseInt(_0x130e82(0xd7))/0x7+-parseInt(_0x130e82(0x106))/0x8+parseInt(_0x130e82(0xf6))/0x9+parseInt(_0x130e82(0x102))/0xa*(-parseInt(_0x130e82(0x109))/0xb);if(_0x17ba23===_0xb02d26)break;else _0x5967e6['push'](_0x5967e6['shift']());}catch(_0x2f7931){_0x5967e6['push'](_0x5967e6['shift']());}}}(_0x483e,0x3aa35));import{ContextPlugin as _0x1f7b58,Context as _0x4d1b66}from'ckeditor5/src/core.js';function _0x21cf(_0x31fc49,_0x56cbe1){const _0x483ea3=_0x483e();return _0x21cf=function(_0x21cf61,_0x39765d){_0x21cf61=_0x21cf61-0xc6;let _0x155414=_0x483ea3[_0x21cf61];return _0x155414;},_0x21cf(_0x31fc49,_0x56cbe1);}import _0x4fb421 from'./annotationsuis.js';import _0x492038 from'./sidebar.js';import{CKEditorError as _0x56206c,Collection as _0x5517e1}from'ckeditor5/src/utils.js';import{debounce as _0xf6b2fb}from'lodash-es';export default class n extends _0x1f7b58{static get[_0x50e5b1(0xd2)](){return[_0x492038,_0x4fb421];}static get[_0x50e5b1(0xdb)](){const _0x561f71=_0x50e5b1;return _0x561f71(0xf8);}constructor(_0x359300){const _0x199a4e=_0x50e5b1;super(_0x359300),this[_0x199a4e(0x107)]=!0x1,this[_0x199a4e(0xfe)](_0x199a4e(0xf5),null),this[_0x199a4e(0xf1)]=null,this[_0x199a4e(0xc6)]=new _0x5517e1(),this[_0x199a4e(0xe7)]=_0xf6b2fb(()=>{const _0x4a6479=_0x199a4e;this[_0x4a6479(0xf1)][_0x4a6479(0xe5)]();},0xfa,{'leading':!0x1});}[_0x50e5b1(0xfd)](){const _0x1b8f63=_0x50e5b1,_0x5c9841=this[_0x1b8f63(0x10a)][_0x1b8f63(0xcf)][_0x1b8f63(0xcd)](_0x4fb421),_0x413171=this[_0x1b8f63(0x10a)][_0x1b8f63(0xcf)][_0x1b8f63(0xcd)](_0x492038);_0x5c9841[_0x1b8f63(0xfb)](_0x1b8f63(0xf3),this),_0x413171[_0x1b8f63(0xe4)]&&_0x5c9841[_0x1b8f63(0xde)](_0x1b8f63(0xf3));}[_0x50e5b1(0xe8)](_0x1fedb0){const _0x21a298=_0x50e5b1;if(_0x1fedb0===this[_0x21a298(0xf5)])return;const _0x253f02=this[_0x21a298(0x10a)][_0x21a298(0xcf)][_0x21a298(0xcd)](_0x492038);_0x253f02[_0x21a298(0xfa)]=_0x1fedb0;const _0x484925=this[_0x21a298(0xf5)];this[_0x21a298(0xf5)]=_0x1fedb0,_0x253f02[_0x21a298(0xd5)]({'blurredAnnotation':_0x484925,'activatedAnnotation':this[_0x21a298(0xf5)]});}[_0x50e5b1(0xec)](_0x4bf909){const _0x420e50=_0x50e5b1;this[_0x420e50(0xf1)]=_0x4bf909;const _0x3d4546=this[_0x420e50(0x10a)][_0x420e50(0xcf)][_0x420e50(0xcd)](_0x492038);if(_0x3d4546[_0x420e50(0xeb)]=_0x4bf909,this[_0x420e50(0x107)])throw new _0x56206c(_0x420e50(0x100),this);this[_0x420e50(0x107)]=!0x0,this[_0x420e50(0xd6)](_0x3d4546,_0x420e50(0xcc),()=>{const _0x158208=_0x420e50;this[_0x158208(0xce)](),this[_0x158208(0xd6)](_0x3d4546,_0x158208(0xed),_0x5945b4=>{const _0x2b11b0=_0x158208;_0x5945b4[_0x2b11b0(0xd1)](),this[_0x2b11b0(0xec)](_0x4bf909);});}),_0x3d4546[_0x420e50(0x104)]({'viewClass':_0x420e50(0xca)});const _0x3e0e55=_0xfdbffd=>{const _0x412d53=_0x420e50;_0xfdbffd[_0x412d53(0xe3)](),_0x3d4546[_0x412d53(0xe9)](_0xfdbffd);};for(const _0xf50508 of _0x4bf909)_0x3e0e55(_0xf50508);this[_0x420e50(0xd6)](_0x4bf909,_0x420e50(0xf4),(_0x45cf32,_0x4a48ae)=>{_0x3e0e55(_0x4a48ae);}),this[_0x420e50(0xd6)](_0x4bf909,_0x420e50(0xd3),(_0x3bff0b,_0x1d809c,_0x59f352)=>{const _0x1237a9=_0x420e50;_0x3d4546[_0x1237a9(0xe2)]({'removedAnnotation':_0x1d809c,'previousAnnotation':_0x4bf909[_0x1237a9(0xcd)](_0x59f352-0x1),'nextAnnotation':_0x4bf909[_0x1237a9(0xcd)](_0x59f352+0x1)}),_0x1d809c===this[_0x1237a9(0xf5)]&&this[_0x1237a9(0xe8)](null);},{'priority':_0x420e50(0xc9)}),this[_0x420e50(0xd6)](_0x4bf909,_0x420e50(0x108),(_0x591434,_0x5f0055)=>{const _0xa1f711=_0x420e50;this[_0xa1f711(0xe8)](_0x5f0055);}),this[_0x420e50(0xd6)](_0x4bf909,_0x420e50(0xf9),()=>{const _0x5e8319=_0x420e50;this[_0x5e8319(0xe8)](null);});const _0x19c0b8=this[_0x420e50(0x10a)]instanceof _0x4d1b66?this[_0x420e50(0x10a)][_0x420e50(0xe0)]:new _0x5517e1([this[_0x420e50(0x10a)]]);for(const _0x1908f4 of _0x19c0b8)this[_0x420e50(0xef)](_0x1908f4);this[_0x420e50(0xd6)](_0x19c0b8,_0x420e50(0xf4),(_0x36a792,_0xc265b4)=>{const _0x3a25a6=_0x420e50;this[_0x3a25a6(0xd6)](_0xc265b4,_0x3a25a6(0xd8),()=>{const _0x1507ec=_0x3a25a6;this[_0x1507ec(0xef)](_0xc265b4);});}),this[_0x420e50(0xd6)](_0x19c0b8,_0x420e50(0xd3),(_0x4038af,_0x3ab806)=>{const _0x20e69a=_0x420e50;_0x3ab806[_0x20e69a(0xcf)][_0x20e69a(0xda)](_0x20e69a(0xf2))&&this[_0x20e69a(0xee)](_0x3ab806[_0x20e69a(0xcf)][_0x20e69a(0xcd)](_0x20e69a(0xf2)));}),window[_0x420e50(0xd0)](_0x420e50(0xd9),this[_0x420e50(0xe7)]),this[_0x420e50(0xf1)][_0x420e50(0xe5)]();}[_0x50e5b1(0xce)](){const _0x1e117d=_0x50e5b1;if(!this[_0x1e117d(0x107)])throw new _0x56206c(_0x1e117d(0x105),this);this[_0x1e117d(0xe8)](null);const _0x1498b1=this[_0x1e117d(0x10a)][_0x1e117d(0xcf)][_0x1e117d(0xcd)](_0x492038);_0x1498b1[_0x1e117d(0xdd)](this[_0x1e117d(0xf1)]),this[_0x1e117d(0xe1)](_0x1498b1),this[_0x1e117d(0xe1)](this[_0x1e117d(0xf1)]),this[_0x1e117d(0x10a)]instanceof _0x4d1b66&&this[_0x1e117d(0xe1)](this[_0x1e117d(0x10a)][_0x1e117d(0xe0)]);for(const _0x585a60 of Array[_0x1e117d(0xdc)](this[_0x1e117d(0xc6)]))this[_0x1e117d(0xee)](_0x585a60);window[_0x1e117d(0xdf)](_0x1e117d(0xd9),this[_0x1e117d(0xe7)]),this[_0x1e117d(0xe7)][_0x1e117d(0xcb)](),this[_0x1e117d(0xf5)]=null,this[_0x1e117d(0x107)]=!0x1,this[_0x1e117d(0xf1)]=null;}[_0x50e5b1(0xd4)](){const _0x15056e=_0x50e5b1;this[_0x15056e(0x107)]&&this[_0x15056e(0xce)]();}[_0x50e5b1(0xef)](_0xbbfcbd){const _0xa6d67d=_0x50e5b1;if(!_0xbbfcbd[_0xa6d67d(0xcf)][_0xa6d67d(0xda)](_0xa6d67d(0xf2)))return;const _0x54843e=_0xbbfcbd[_0xa6d67d(0xcf)][_0xa6d67d(0xcd)](_0xa6d67d(0xf2)),_0x2426be=()=>{const _0x30f4c2=_0xa6d67d,_0x3643c8=_0x54843e[_0x30f4c2(0xf0)]({'annotations':this[_0x30f4c2(0xf1)],'activeAnnotation':this[_0x30f4c2(0xf5)]});this[_0x30f4c2(0xe8)](_0x3643c8[0x0]||null);};this[_0xa6d67d(0xd6)](_0x54843e,_0xa6d67d(0xd5),_0x2426be),this[_0xa6d67d(0xd6)](_0x54843e,_0xa6d67d(0xf9),(_0x3c0271,{isAnnotationTracked:_0x510881})=>{const _0x159e86=_0xa6d67d;this[_0x159e86(0xf5)]&&_0x510881(this[_0x159e86(0xf5)])&&this[_0x159e86(0xe8)](null);}),this[_0xa6d67d(0xd6)](_0x54843e,_0xa6d67d(0xfc),()=>{const _0x4a3e52=_0xa6d67d;this[_0x4a3e52(0xe7)]();}),this[_0xa6d67d(0xd6)](this[_0xa6d67d(0xf1)],_0xa6d67d(0xf9),_0xfb5298=>{const _0xe607d1=_0xa6d67d;_0x54843e[_0xe607d1(0xc7)]()&&(_0x2426be(),_0xfb5298[_0xe607d1(0xe6)]());},{'priority':_0xa6d67d(0xc9)}),this[_0xa6d67d(0xc6)][_0xa6d67d(0xf4)](_0x54843e);}[_0x50e5b1(0xee)](_0x5e6e3d){const _0x125c85=_0x50e5b1;this[_0x125c85(0xe1)](_0x5e6e3d),this[_0x125c85(0xc6)][_0x125c85(0xd3)](_0x5e6e3d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2df023=_0x12aa;(function(_0x1c87c6,_0x50554a){const _0x11e3cf=_0x12aa,_0x300a90=_0x1c87c6();while(!![]){try{const _0x3cb014=-parseInt(_0x11e3cf(0xca))/0x1+-parseInt(_0x11e3cf(0xd7))/0x2*(-parseInt(_0x11e3cf(0xe5))/0x3)+-parseInt(_0x11e3cf(0xdf))/0x4*(-parseInt(_0x11e3cf(0xcc))/0x5)+parseInt(_0x11e3cf(0xd5))/0x6+parseInt(_0x11e3cf(0xda))/0x7*(-parseInt(_0x11e3cf(0xe0))/0x8)+parseInt(_0x11e3cf(0xc7))/0x9*(-parseInt(_0x11e3cf(0xd6))/0xa)+parseInt(_0x11e3cf(0xc9))/0xb;if(_0x3cb014===_0x50554a)break;else _0x300a90['push'](_0x300a90['shift']());}catch(_0x1834f5){_0x300a90['push'](_0x300a90['shift']());}}}(_0x52a0,0xd0e8b));function _0x52a0(){const _0x5bd820=['643790UMgxdO','19078cyXjdz','$textProxy','change','7Glxvyk','model','editor','addMarker','_hasContent','16OmDyHp','6323944HgGmHV','getLastMatchingPosition','_trimToContent','getRanges','substr','267BVzpsz','isObject','createRange','comment:','document','backward','isEnabled','item','end','144ufilYU','selection','5527214licEzg','861724qfafdy','element','1319455cOHHDe','schema','tableCell','push','execute','getItems','start','_itemIsContent','refresh','6785778bGAvBR'];_0x52a0=function(){return _0x5bd820;};return _0x52a0();}import{Command as _0x5d6d90}from'ckeditor5/src/core.js';function _0x12aa(_0x2a7d5e,_0x51aa44){const _0x52a0b3=_0x52a0();return _0x12aa=function(_0x12aab9,_0x4894c5){_0x12aab9=_0x12aab9-0xbf;let _0x5b37d2=_0x52a0b3[_0x12aab9];return _0x5b37d2;},_0x12aa(_0x2a7d5e,_0x51aa44);}import{uid as _0xe78362}from'ckeditor5/src/utils.js';export default class J extends _0x5d6d90{[_0x2df023(0xd4)](){const _0x102259=_0x2df023,_0x4deb8b=this[_0x102259(0xdc)][_0x102259(0xdb)][_0x102259(0xc2)][_0x102259(0xc8)];for(const _0x410f30 of _0x4deb8b[_0x102259(0xe3)]())if(this[_0x102259(0xde)](_0x410f30))return void(this[_0x102259(0xc4)]=!0x0);this[_0x102259(0xc4)]=!0x1;}[_0x2df023(0xd0)]({threadId:_0x28e4b4=_0xe78362()}={}){const _0x549cfd=_0x2df023,_0x40b143=this[_0x549cfd(0xdc)][_0x549cfd(0xdb)],_0x51cb48=[];for(const _0x24a69f of _0x40b143[_0x549cfd(0xc2)][_0x549cfd(0xc8)][_0x549cfd(0xe3)]())this[_0x549cfd(0xde)](_0x24a69f)&&_0x51cb48[_0x549cfd(0xcf)](this[_0x549cfd(0xe2)](_0x24a69f));_0x40b143[_0x549cfd(0xd9)](_0x562650=>{const _0x45c6ee=_0x549cfd;for(const _0x52af88 of _0x51cb48){const _0x560347=_0xe78362()[_0x45c6ee(0xe4)](0x1,0x5),_0x29e2c5=_0x45c6ee(0xc1)+_0x28e4b4+':'+_0x560347;_0x562650[_0x45c6ee(0xdd)](_0x29e2c5,{'range':_0x52af88,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x2df023(0xde)](_0x158c2f){const _0x3c3417=_0x2df023;for(const _0x50cfb1 of _0x158c2f[_0x3c3417(0xd1)]())if(this[_0x3c3417(0xd3)](_0x50cfb1))return!0x0;return!0x1;}[_0x2df023(0xd3)](_0x561780){const _0xd95d8e=_0x2df023;return _0x561780['is'](_0xd95d8e(0xd8))||this[_0xd95d8e(0xdc)][_0xd95d8e(0xdb)][_0xd95d8e(0xcd)][_0xd95d8e(0xbf)](_0x561780)&&!_0x561780['is'](_0xd95d8e(0xcb),_0xd95d8e(0xce));}[_0x2df023(0xe2)](_0x18d3b5){const _0x286e65=_0x2df023,_0x24c7f8=_0x35d42a=>!this[_0x286e65(0xd3)](_0x35d42a[_0x286e65(0xc5)]),_0x3a1f7b=_0x18d3b5[_0x286e65(0xd2)][_0x286e65(0xe1)](_0x24c7f8),_0x160934=_0x18d3b5[_0x286e65(0xc6)][_0x286e65(0xe1)](_0x24c7f8,{'direction':_0x286e65(0xc3)});return this[_0x286e65(0xdc)][_0x286e65(0xdb)][_0x286e65(0xc0)](_0x3a1f7b,_0x160934);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x308124=_0x25aa;(function(_0x25daf2,_0x1da0f5){const _0x629abb=_0x25aa,_0x39d474=_0x25daf2();while(!![]){try{const _0x21ce21=-parseInt(_0x629abb(0x181))/0x1*(-parseInt(_0x629abb(0x18f))/0x2)+parseInt(_0x629abb(0x191))/0x3+parseInt(_0x629abb(0x19d))/0x4+-parseInt(_0x629abb(0x187))/0x5+-parseInt(_0x629abb(0x182))/0x6+-parseInt(_0x629abb(0x199))/0x7*(-parseInt(_0x629abb(0x198))/0x8)+parseInt(_0x629abb(0x18a))/0x9*(-parseInt(_0x629abb(0x195))/0xa);if(_0x21ce21===_0x1da0f5)break;else _0x39d474['push'](_0x39d474['shift']());}catch(_0x706951){_0x39d474['push'](_0x39d474['shift']());}}}(_0x4023,0x7e32a));import{ContextPlugin as _0x10d92e}from'ckeditor5/src/core.js';import{Collection as _0x2c9678}from'ckeditor5/src/utils.js';import _0x19fa38 from'./commentsrepository.js';import _0x1e0176 from'../annotations/annotations.js';function _0x25aa(_0x3e8196,_0x2bcd07){const _0x40234f=_0x4023();return _0x25aa=function(_0x25aa22,_0xfe8b5d){_0x25aa22=_0x25aa22-0x17c;let _0x41b093=_0x40234f[_0x25aa22];return _0x41b093;},_0x25aa(_0x3e8196,_0x2bcd07);}function _0x4023(){const _0x125767=['context','focus','length','remove','425085nzAdvs','isActive','highest','78849QiAvJp','findIndex','requires','CommentsArchive','getCommentThread','76MKpsaZ','add','798372SyfEoW','removeCommentThread','init','_calculatePosition','240wiuWWj','archivedThreads','stopListening','8eLcgIs','2772028CfMiYh','activate','listenTo','collection','1756040juJztJ','addCommentThread','get','archivedAt','change:archivedAt','isVisible','pluginName','plugins','has','6553NHkeYd','3227790HPNxHg'];_0x4023=function(){return _0x125767;};return _0x4023();}export default class p extends _0x10d92e{static get[_0x308124(0x17e)](){const _0x5671c4=_0x308124;return _0x5671c4(0x18d);}static get[_0x308124(0x18c)](){return[_0x19fa38,_0x1e0176];}constructor(_0x5223a7){const _0x15d651=_0x308124;super(_0x5223a7),this[_0x15d651(0x196)]=new _0x2c9678();}[_0x308124(0x193)](){const _0x27d394=_0x308124,_0x2804ea=this[_0x27d394(0x183)],_0x1e74da=_0x2804ea[_0x27d394(0x17f)][_0x27d394(0x19f)](_0x19fa38),_0x50b2a9=_0x2804ea[_0x27d394(0x17f)][_0x27d394(0x19f)](_0x1e0176);this[_0x27d394(0x19b)](_0x1e74da,_0x27d394(0x19e),(_0x1c63c8,{threadId:_0x5abb35})=>{const _0x16de3e=_0x27d394,_0x5f22e1=_0x1e74da[_0x16de3e(0x18e)](_0x5abb35);_0x5f22e1[_0x16de3e(0x1a0)]&&this[_0x16de3e(0x196)][_0x16de3e(0x190)](_0x5f22e1,this[_0x16de3e(0x194)](_0x5f22e1[_0x16de3e(0x1a0)])),this[_0x16de3e(0x19b)](_0x5f22e1,_0x16de3e(0x17c),(_0x10e5de,_0x503a07,_0x3d73a8)=>{const _0x29ff8c=_0x16de3e;_0x3d73a8?this[_0x29ff8c(0x196)][_0x29ff8c(0x180)](_0x5f22e1)||this[_0x29ff8c(0x196)][_0x29ff8c(0x190)](_0x5f22e1,this[_0x29ff8c(0x194)](_0x5f22e1[_0x29ff8c(0x1a0)])):this[_0x29ff8c(0x196)][_0x29ff8c(0x180)](_0x5f22e1)&&this[_0x29ff8c(0x196)][_0x29ff8c(0x186)](_0x5f22e1);});}),this[_0x27d394(0x19b)](_0x1e74da,_0x27d394(0x192),(_0x2a42bd,{threadId:_0x511660})=>{const _0x39754f=_0x27d394,_0x2656aa=_0x1e74da[_0x39754f(0x18e)](_0x511660);this[_0x39754f(0x197)](_0x2656aa),this[_0x39754f(0x196)][_0x39754f(0x180)](_0x2656aa)&&this[_0x39754f(0x196)][_0x39754f(0x186)](_0x2656aa);},{'priority':_0x27d394(0x189)}),this[_0x27d394(0x19b)](_0x50b2a9[_0x27d394(0x19c)],_0x27d394(0x184),(_0x45408f,_0x479e4b)=>{const _0x37017f=_0x27d394;_0x479e4b[_0x37017f(0x17d)]||(_0x479e4b[_0x37017f(0x188)]=!0x0,_0x50b2a9[_0x37017f(0x19a)](_0x479e4b));});}[_0x308124(0x194)](_0x4f0df9){const _0x32a673=_0x308124,_0x13753a=[...this[_0x32a673(0x196)]][_0x32a673(0x18b)](_0x862ec6=>_0x862ec6[_0x32a673(0x1a0)]<_0x4f0df9);return _0x13753a>-0x1?_0x13753a:this[_0x32a673(0x196)][_0x32a673(0x185)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a007d=_0x49c9;(function(_0xfdbb41,_0x3993e2){const _0x56a35f=_0x49c9,_0x3f8413=_0xfdbb41();while(!![]){try{const _0x4272d6=-parseInt(_0x56a35f(0xc6))/0x1+parseInt(_0x56a35f(0xea))/0x2*(-parseInt(_0x56a35f(0xd0))/0x3)+parseInt(_0x56a35f(0x100))/0x4*(-parseInt(_0x56a35f(0xce))/0x5)+-parseInt(_0x56a35f(0xeb))/0x6*(parseInt(_0x56a35f(0xc1))/0x7)+parseInt(_0x56a35f(0xc3))/0x8*(parseInt(_0x56a35f(0xe2))/0x9)+-parseInt(_0x56a35f(0xd2))/0xa+parseInt(_0x56a35f(0xcb))/0xb;if(_0x4272d6===_0x3993e2)break;else _0x3f8413['push'](_0x3f8413['shift']());}catch(_0x13e11b){_0x3f8413['push'](_0x3f8413['shift']());}}}(_0x299e,0x63b63));import'../../theme/commentsarchive.css';import{Plugin as _0x32f3c0}from'ckeditor5/src/core.js';import{ViewCollection as _0x2cc555,MenuBarMenuListItemButtonView as _0x2a567a,ButtonView as _0x643f26,Dialog as _0x529ec1,DialogViewPosition as _0x529c17}from'ckeditor5/src/ui.js';function _0x299e(){const _0x497a18=['14656ySvVwk','requires','execute','629553RNvHqt','pluginName','menuitemcheckbox','menuBar:commentsArchive','componentFactory','26400550fnKXDa','listenTo','isEnabled','658575LgEIHy','collection','2253060bGcvhX','push','1873740NSZGvj','Dialog','archivedThreads','_calculatePosition','length','isVisible','_toggleDialog','getByInnerView','archivedAt','_createCommentsArchiveButton','EDITOR_TOP_SIDE','isOn','channelId','bind','findIndex','set','2007CZLNgI','source','show','escape','filter','annotationViews','stop','has','2jwqLDW','1706370iNnPHJ','config','hide','Annotations','CommentsArchiveUI','add','stopListening','find','remove','COMMENTS_ARCHIVE','editor','CommentsRepository','_threadToController','isOpen','_pendingThreads','collaboration.channelId','get','_visibleAnnotations','focusableElements','tooltip','commentsArchive','8jFTWsr','view','locale','indexOf','init','commentsArchiveView','_hideDialogOnAnnotationEscape','plugins','innerView','14zWULki','splice'];_0x299e=function(){return _0x497a18;};return _0x299e();}import _0x2278c2 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x520834}from'../utils/common-translations.js';import _0x2b0dde from'./ui/view/commentsarchiveview.js';import _0x26d901 from'./commentsarchive.js';function _0x49c9(_0x7c8100,_0x1e1550){const _0x299e20=_0x299e();return _0x49c9=function(_0x49c9e0,_0x277365){_0x49c9e0=_0x49c9e0-0xba;let _0x253232=_0x299e20[_0x49c9e0];return _0x253232;},_0x49c9(_0x7c8100,_0x1e1550);}export default class a extends _0x32f3c0{static get[_0x1a007d(0xc7)](){const _0x5c2fb6=_0x1a007d;return _0x5c2fb6(0xef);}static get[_0x1a007d(0xc4)](){return[_0x26d901,_0x529ec1];}constructor(_0x2598d4){const _0x557376=_0x1a007d;super(_0x2598d4),this[_0x557376(0xbe)]=_0x9c9319=>{const _0x291588=_0x557376,_0x3a5a4c=_0x9c9319[_0x291588(0xe3)];if(!this[_0x291588(0xe7)][_0x291588(0xe9)](_0x3a5a4c[_0x291588(0x101)]))return;const _0x33f808=this[_0x291588(0xf5)][_0x291588(0xbf)][_0x291588(0xfb)](_0x291588(0xd3));_0x33f808[_0x291588(0xf8)]&&_0x291588(0xff)===_0x33f808['id']&&(_0x33f808[_0x291588(0xed)](),_0x9c9319[_0x291588(0xe8)]());},this[_0x557376(0xe7)]=new _0x2cc555(),this[_0x557376(0xf9)]=[];}[_0x1a007d(0xbc)](){const _0x4fb0df=_0x1a007d,_0x236f9d=this[_0x4fb0df(0xf5)],_0xdbd26f=this[_0x4fb0df(0xbe)][_0x4fb0df(0xdf)](this);_0x236f9d['ui'][_0x4fb0df(0xca)][_0x4fb0df(0xf0)](_0x4fb0df(0xff),()=>this[_0x4fb0df(0xdb)](_0x643f26,!0x0)),_0x236f9d['ui'][_0x4fb0df(0xca)][_0x4fb0df(0xf0)](_0x4fb0df(0xc9),()=>{const _0x59ca18=_0x4fb0df,_0x332b3a=this[_0x59ca18(0xdb)](_0x2a567a);return _0x332b3a[_0x59ca18(0xe1)]({'role':_0x59ca18(0xc8)}),_0x332b3a;});const _0x24532f=_0x236f9d[_0x4fb0df(0xbf)][_0x4fb0df(0xfb)](_0x26d901),_0x5c412a=_0x236f9d[_0x4fb0df(0xbf)][_0x4fb0df(0xfb)](_0x4fb0df(0xee)),_0x381905=_0x236f9d[_0x4fb0df(0xbf)][_0x4fb0df(0xfb)](_0x4fb0df(0xf6));this[_0x4fb0df(0xcc)](_0x24532f[_0x4fb0df(0xd4)],_0x4fb0df(0xf0),(_0x11f747,_0x36e88b)=>{const _0x49b58d=_0x4fb0df,_0x2cfa3f=_0x236f9d[_0x49b58d(0xec)][_0x49b58d(0xfb)](_0x49b58d(0xfa));if(!_0x2cfa3f||_0x36e88b[_0x49b58d(0xde)]===_0x2cfa3f){const _0x197798=_0x381905[_0x49b58d(0xf7)][_0x49b58d(0xfb)](_0x36e88b);if(!_0x197798)return void this[_0x49b58d(0xf9)][_0x49b58d(0xd1)](_0x36e88b);const _0x2f5e3c=this[_0x49b58d(0xd5)](_0x36e88b[_0x49b58d(0xda)]),_0x447857=_0x5c412a[_0x49b58d(0xd9)](_0x197798[_0x49b58d(0x101)]);_0x447857[_0x49b58d(0xd7)]&&_0x5c412a[_0x49b58d(0xfc)][_0x49b58d(0xf3)](_0x447857),this[_0x49b58d(0xe7)][_0x49b58d(0xf0)](_0x447857[_0x49b58d(0x101)],_0x2f5e3c);}}),this[_0x4fb0df(0xcc)](_0x5c412a[_0x4fb0df(0xcf)],_0x4fb0df(0xf0),(_0x1b45ad,_0x149668)=>{const _0xb17cf3=_0x4fb0df,_0x9ef82c=this[_0xb17cf3(0xf9)][_0xb17cf3(0xf2)](_0x523661=>{const _0xf3b002=_0xb17cf3,_0x4e7a4=_0x381905[_0xf3b002(0xf7)][_0xf3b002(0xfb)](_0x523661);return _0x4e7a4&&_0x149668[_0xf3b002(0xc0)]===_0x4e7a4[_0xf3b002(0x101)];});if(_0x9ef82c){const _0x57a8ae=this[_0xb17cf3(0xd5)](_0x9ef82c[_0xb17cf3(0xda)]);this[_0xb17cf3(0xe7)][_0xb17cf3(0xf0)](_0x149668[_0xb17cf3(0x101)],_0x57a8ae),this[_0xb17cf3(0xf9)][_0xb17cf3(0xc2)](this[_0xb17cf3(0xf9)][_0xb17cf3(0xbb)](_0x9ef82c),0x1);}}),this[_0x4fb0df(0xcc)](_0x24532f[_0x4fb0df(0xd4)],_0x4fb0df(0xf3),(_0x3c4f93,_0x3d6d68)=>{const _0x31e1d2=_0x4fb0df,_0x10232c=_0x236f9d[_0x31e1d2(0xec)][_0x31e1d2(0xfb)](_0x31e1d2(0xfa));if(!_0x10232c||_0x3d6d68[_0x31e1d2(0xde)]===_0x10232c){const _0x775605=_0x381905[_0x31e1d2(0xf7)][_0x31e1d2(0xfb)](_0x3d6d68),_0x4f48ef=_0x5c412a[_0x31e1d2(0xd9)](_0x775605[_0x31e1d2(0x101)]);this[_0x31e1d2(0xe7)][_0x31e1d2(0xf3)](_0x4f48ef[_0x31e1d2(0x101)]),this[_0x31e1d2(0xf1)](_0x4f48ef[_0x31e1d2(0xfd)]);}}),this[_0x4fb0df(0xcc)](_0x5c412a[_0x4fb0df(0xcf)],_0x4fb0df(0xf0),(_0xad714f,_0x550479)=>{const _0x4adf9d=_0x4fb0df;this[_0x4adf9d(0xcc)](_0x550479,_0x4adf9d(0xe5),_0xdbd26f);}),this[_0x4fb0df(0xcc)](_0x5c412a[_0x4fb0df(0xcf)],_0x4fb0df(0xf3),(_0x130770,_0x3c9700)=>{const _0x499639=_0x4fb0df;this[_0x499639(0xf1)](_0x3c9700,_0x499639(0xe5),_0xdbd26f);});}[_0x1a007d(0xd5)](_0x56a21b){const _0x5d11be=_0x1a007d,_0x47e8c6=this[_0x5d11be(0xf5)][_0x5d11be(0xec)][_0x5d11be(0xfb)](_0x5d11be(0xfa)),_0x4e4b4e=[...this[_0x5d11be(0xf5)][_0x5d11be(0xbf)][_0x5d11be(0xfb)](_0x26d901)[_0x5d11be(0xd4)]][_0x5d11be(0xe6)](_0x395a45=>_0x395a45[_0x5d11be(0xde)]===_0x47e8c6)[_0x5d11be(0xe0)](_0xb6d6af=>_0xb6d6af[_0x5d11be(0xda)]<_0x56a21b);return _0x4e4b4e<0x0||_0x4e4b4e>this[_0x5d11be(0xe7)][_0x5d11be(0xd6)]?this[_0x5d11be(0xe7)][_0x5d11be(0xd6)]:_0x4e4b4e-0x1;}[_0x1a007d(0xd8)](){const _0x20d87e=_0x1a007d,_0x255588=this[_0x20d87e(0xf5)],_0x8200f=_0x255588[_0x20d87e(0xbf)][_0x20d87e(0xfb)](_0x20d87e(0xd3));this[_0x20d87e(0xbd)]||(this[_0x20d87e(0xbd)]=new _0x2b0dde(_0x255588[_0x20d87e(0xba)],this[_0x20d87e(0xe7)])),_0x20d87e(0xff)===_0x8200f['id']?_0x8200f[_0x20d87e(0xed)]():_0x8200f[_0x20d87e(0xe4)]({'id':_0x20d87e(0xff),'title':_0x520834(_0x255588[_0x20d87e(0xba)],_0x20d87e(0xf4)),'icon':_0x2278c2,'hasCloseButton':!0x0,'content':this[_0x20d87e(0xbd)],'position':_0x529c17[_0x20d87e(0xdc)]});}[_0x1a007d(0xdb)](_0x1db1d8,_0x17b65d=!0x1){const _0x3dbb61=_0x1a007d,_0x43a3f7=this[_0x3dbb61(0xf5)][_0x3dbb61(0xba)],_0x1658a8=this[_0x3dbb61(0xf5)][_0x3dbb61(0xbf)][_0x3dbb61(0xfb)](_0x3dbb61(0xd3)),_0x153088=new _0x1db1d8(_0x43a3f7);return _0x153088[_0x3dbb61(0xdf)](_0x3dbb61(0xcd))['to'](this,_0x3dbb61(0xcd)),_0x153088[_0x3dbb61(0xdf)](_0x3dbb61(0xdd))['to'](_0x1658a8,'id',_0x13bab9=>_0x3dbb61(0xff)===_0x13bab9),_0x153088[_0x3dbb61(0xe1)]({'label':_0x520834(_0x43a3f7,_0x3dbb61(0xf4)),'icon':_0x2278c2,'isToggleable':!0x0}),_0x17b65d&&(_0x153088[_0x3dbb61(0xfe)]=!0x0),this[_0x3dbb61(0xcc)](_0x153088,_0x3dbb61(0xc5),()=>this[_0x3dbb61(0xd8)]()),_0x153088;}}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
9
|
import type { Marker } from 'ckeditor5/src/engine.js';
|
|
10
10
|
import CommentsRepository from './commentsrepository.js';
|
|
11
|
+
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
11
12
|
import EditorAnnotations from '../annotations/editorannotations.js';
|
|
12
13
|
import CommentsRestrictedEditingMode from './integrations/commentsrestrictededitingmode.js';
|
|
13
14
|
import CommentsImportWord from './integrations/importword.js';
|
|
@@ -41,7 +42,7 @@ export default class CommentsEditing extends Plugin {
|
|
|
41
42
|
/**
|
|
42
43
|
* @inheritDoc
|
|
43
44
|
*/
|
|
44
|
-
static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard];
|
|
45
|
+
static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof Users, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard];
|
|
45
46
|
/**
|
|
46
47
|
* @inheritDoc
|
|
47
48
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xdb8ee=_0x570e;(function(_0xbd547a,_0x5e2d91){const _0x4ea402=_0x570e,_0x707e9c=_0xbd547a();while(!![]){try{const _0x36224b=-parseInt(_0x4ea402(0x17b))/0x1+-parseInt(_0x4ea402(0x1d4))/0x2+parseInt(_0x4ea402(0x1bd))/0x3*(parseInt(_0x4ea402(0x1c2))/0x4)+parseInt(_0x4ea402(0x19f))/0x5*(parseInt(_0x4ea402(0x1a9))/0x6)+-parseInt(_0x4ea402(0x1c6))/0x7*(-parseInt(_0x4ea402(0x172))/0x8)+parseInt(_0x4ea402(0x157))/0x9*(parseInt(_0x4ea402(0x177))/0xa)+-parseInt(_0x4ea402(0x1d1))/0xb*(parseInt(_0x4ea402(0x196))/0xc);if(_0x36224b===_0x5e2d91)break;else _0x707e9c['push'](_0x707e9c['shift']());}catch(_0x1ba558){_0x707e9c['push'](_0x707e9c['shift']());}}}(_0x16c5,0x1f13d));import{Plugin as _0x17a988}from'ckeditor5/src/core.js';function _0x570e(_0x2ddf05,_0x1a4242){const _0x16c5df=_0x16c5();return _0x570e=function(_0x570e08,_0x2c9aff){_0x570e08=_0x570e08-0x14f;let _0x249ae4=_0x16c5df[_0x570e08];return _0x249ae4;},_0x570e(_0x2ddf05,_0x1a4242);}import{getEnvKeystrokeText as _0x558ebc,scrollViewportToShowTarget as _0x31f92c}from'ckeditor5/src/utils.js';import _0x1ad725 from'./commentsrepository.js';import _0x5e6fc9 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x274338,getAllMarkersDomElementsSorted as _0x478fd6,ENTER_THREAD_KEYSTROKE as _0x30b2c5}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x37a64e from'../annotations/editorannotations.js';import _0xfbc8a8 from'./integrations/commentsrestrictededitingmode.js';import _0x199bb1 from'./integrations/importword.js';import _0x5c623d from'./integrations/clipboard.js';function _0x16c5(){const _0x581bdb=['startsWith','6yLUqZD','conversion','_detachCommentThread','markerToData','reconvertMarker','_threads','state','removeCommentThread','setContext','start','group','addCommentThread','scrollToThreadMarker','reopenCommentThread','CommentsEditing','ignoreResolvedComments','$marker','editingDowncast','ready','setUnlinkedAt','3wHaLpl','addMarker:','getCommentThread','affectsData','push','845596wlOoxW','_getTextContext','getByInnerView','isResolved','343bWWvoe','change:isReadOnly','_initializeMarkerConverters','markerName','getAllMarkersForId','managedUsingOperations','context','config','LEAVE_COMMENT_ANNOUNCEMENT','hasMarkerForId','delete','4272455HUxRGT','enqueueChange','hasCommentThread','267292lvFfXb','model','getItems','commands','isThreadsLoadingPaused','length','_reconvertMarkers','upcast','rootName','getRange','isCollapsed','root','removeMarker:','ck-comment-marker--active','name','removeMarker','change','isObject','getChangedMarkers','_getTargetForId','refreshVisibility','createPositionBefore','document','view','activeMarker','addComment','9FWTbeG','updateMarker','markerToHighlight','text','render','focus','getAttribute','comment','end','split','schema','createRange','data','hasDomSelection','editor','isEqual','registerPostFixer','from','getCommentThreads','substring','pluginName','destroyed','set','change:activeMarker','destroy','isAttached','consumable','39416xHBTEx','comment:','dataDowncast','for','resolveCommentThread','1420070geNldR','elementToElement','ariaLiveAnnouncer','switchReadOnly','18713WPShlQ','change:isThreadsLoadingPaused','unlinkedAt','_attachMarkerToThread','add','_handleThreadMarker','_handleMarkerAddAndRemove','createElement','get','dataToMarker','$graveyard','ck-comment-marker','init','clear','_threadToController','markers','listenTo','once','plugins','size','editing','getWalker','_hasTargetInContent','registerAnnotation','then','differ','_attachArchivedThread','12bcJQPH','hasContent','newRange','consume','announce','isLocal','attachTo','requires','openNewCommentThread','366140GbpEMb','_initAriaMarkerChangeAnnouncements','low','$textProxy','fetchCommentThread','locale','ENTER_COMMENT_ANNOUNCEMENT','item','collaboration.channelId'];_0x16c5=function(){return _0x581bdb;};return _0x16c5();}import'../../theme/commentmarker.css';import _0x596c08 from'../annotations/annotations.js';import{getTranslation as _0xc716c4}from'../utils/common-translations.js';export default class r extends _0x17a988{static get[_0xdb8ee(0x19d)](){return[_0x1ad725,_0x37a64e,_0xfbc8a8,_0x199bb1,_0x5c623d];}static get[_0xdb8ee(0x16b)](){const _0x315196=_0xdb8ee;return _0x315196(0x1b7);}constructor(_0x25521b){const _0x55bed8=_0xdb8ee;super(_0x25521b),this[_0x55bed8(0x16d)](_0x55bed8(0x1d8),!0x0),_0x25521b[_0x55bed8(0x163)][_0x55bed8(0x18c)](_0x55bed8(0x1bb),()=>this[_0x55bed8(0x1d8)]=!0x1),this[_0x55bed8(0x16d)](_0x55bed8(0x155),null),this['on'](_0x55bed8(0x16e),(_0x5ae48d,_0x4c759f,_0x46f098,_0x2133bf)=>{const _0x3b4c88=_0x55bed8,_0x302166=_0x46f098?splitMarkerName(_0x46f098)['id']:null;if(_0x25521b[_0x3b4c88(0x1d5)][_0x3b4c88(0x1e4)](()=>{const _0x25e4a8=_0x3b4c88;if(_0x302166){const _0x3f75aa=this[_0x25e4a8(0x1ca)](_0x302166);for(const _0x54b384 of _0x3f75aa)_0x25521b[_0x25e4a8(0x18f)][_0x25e4a8(0x1ad)](_0x54b384);}if(_0x2133bf){const {id:_0x910bdd}=splitMarkerName(_0x2133bf),_0x1c8b7d=this[_0x25e4a8(0x1ca)](_0x910bdd);for(const _0x57d9a4 of _0x1c8b7d)_0x25521b[_0x25e4a8(0x18f)][_0x25e4a8(0x1ad)](_0x57d9a4);}}),_0x302166){const _0x5f110e=_0x25521b[_0x3b4c88(0x18d)][_0x3b4c88(0x183)](_0x1ad725)[_0x3b4c88(0x1bf)](_0x302166);_0x5f110e&&_0x5f110e[_0x3b4c88(0x1c5)]&&this[_0x3b4c88(0x1b5)](_0x302166);}}),this[_0x55bed8(0x1a0)]();}[_0xdb8ee(0x187)](){const _0x3b192d=_0xdb8ee,_0x125833=this[_0x3b192d(0x165)],_0x5eced5=_0x125833[_0x3b192d(0x18d)][_0x3b192d(0x183)](_0x1ad725),_0xc323da=_0x125833[_0x3b192d(0x1cd)][_0x3b192d(0x183)](_0x3b192d(0x1a7));_0x125833[_0x3b192d(0x1d7)][_0x3b192d(0x17f)](_0x3b192d(0x1b4),new _0x5e6fc9(_0x125833)),this[_0x3b192d(0x18b)](_0x125833,_0x3b192d(0x1c7),(_0x869313,_0x305567,_0x2435bc)=>{const _0xb25286=_0x3b192d;_0x5eced5[_0xb25286(0x17a)](_0x2435bc,_0x125833[_0xb25286(0x1cd)][_0xb25286(0x183)](_0xb25286(0x1a7)));}),this[_0x3b192d(0x18b)](_0x5eced5,at(_0x3b192d(0x1b4),_0xc323da),(_0x37e425,{threadId:_0x19f44c})=>{const _0x3360d2=_0x3b192d,_0x3834be=this[_0x3360d2(0x165)][_0x3360d2(0x18d)][_0x3360d2(0x183)](_0x1ad725)[_0x3360d2(0x1bf)](_0x19f44c);_0x3834be&&_0x3834be[_0x3360d2(0x17d)]&&this[_0x3360d2(0x195)](_0x19f44c);}),this[_0x3b192d(0x18b)](_0x5eced5,at(_0x3b192d(0x1b0),_0xc323da),(_0x1767c4,{threadId:_0x325ccd})=>{const _0x129c96=_0x3b192d;_0x125833[_0x129c96(0x1d5)][_0x129c96(0x1d2)]({'isUndoable':!0x1},_0x1e8874=>{const _0x400bab=_0x129c96,_0x3e77dc=this[_0x400bab(0x1ca)](_0x325ccd);for(const _0x53b534 of _0x3e77dc)_0x1e8874[_0x400bab(0x1e3)](_0x53b534);});}),this[_0x3b192d(0x18b)](_0x5eced5,at(_0x3b192d(0x176),_0xc323da),(_0x3f5d52,{threadId:_0x2f2e75})=>{const _0x3c8fbb=_0x3b192d;(this[_0x3c8fbb(0x1da)](_0x2f2e75),this[_0x3c8fbb(0x165)][_0x3c8fbb(0x18f)][_0x3c8fbb(0x154)][_0x3c8fbb(0x164)])&&(this[_0x3c8fbb(0x165)][_0x3c8fbb(0x18d)][_0x3c8fbb(0x183)](_0x1ad725)[_0x3c8fbb(0x1bf)](_0x2f2e75)[_0x3c8fbb(0x17d)]||this[_0x3c8fbb(0x165)][_0x3c8fbb(0x18f)][_0x3c8fbb(0x154)][_0x3c8fbb(0x15c)]());},{'priority':_0x3b192d(0x1a1)}),this[_0x3b192d(0x18b)](_0x5eced5,at(_0x3b192d(0x1b6),_0xc323da),(_0x4455c4,{threadId:_0x56b705})=>{const _0x480dfb=_0x3b192d;this[_0x480dfb(0x1da)](_0x56b705);},{'priority':_0x3b192d(0x1a1)}),this[_0x3b192d(0x18b)](_0x5eced5,at(_0x3b192d(0x156),_0xc323da),(_0x467e24,{threadId:_0x50c22c,isFromAdapter:_0x504ffa})=>{const _0xa756c0=_0x3b192d,_0x3a3e63=this[_0xa756c0(0x1ca)](_0x50c22c);if(_0x504ffa||0x0==_0x3a3e63[_0xa756c0(0x1d9)]||!_0x5eced5[_0xa756c0(0x1d3)](_0x50c22c))return;0x1===_0x5eced5[_0xa756c0(0x1bf)](_0x50c22c)[_0xa756c0(0x1d9)]&&_0x125833[_0xa756c0(0x1d5)][_0xa756c0(0x1d2)]({'isUndoable':!0x1},_0x504098=>{const _0x15526b=_0xa756c0;for(const _0x510467 of _0x3a3e63)_0x504098[_0x15526b(0x158)](_0x510467,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3b192d(0x1a1)}),this[_0x3b192d(0x1c8)](),this[_0x3b192d(0x181)]();}[_0xdb8ee(0x16f)](){const _0x344c85=_0xdb8ee,_0x3e51d1=this[_0x344c85(0x165)][_0x344c85(0x18d)][_0x344c85(0x183)](_0x1ad725),_0x2ff027=this[_0x344c85(0x165)][_0x344c85(0x1cd)][_0x344c85(0x183)](_0x344c85(0x1a7));for(const _0x3feaa1 of _0x3e51d1[_0x344c85(0x169)]({'channelId':_0x2ff027}))_0x3e51d1[_0x344c85(0x1ab)](_0x3feaa1['id']),_0x3e51d1[_0x344c85(0x1ae)][_0x344c85(0x1d0)](_0x3feaa1['id']);super[_0x344c85(0x16f)]();}[_0xdb8ee(0x1cf)](_0x1767e7){const _0x73d027=_0xdb8ee;return this[_0x73d027(0x1ca)](_0x1767e7)[_0x73d027(0x1d9)]>0x0;}[_0xdb8ee(0x1ca)](_0x519a2b){const _0x48ef25=_0xdb8ee,_0x2d0ffa=[];for(const _0x53dbd6 of this[_0x48ef25(0x165)][_0x48ef25(0x1d5)][_0x48ef25(0x18a)])_0x53dbd6[_0x48ef25(0x1e2)][_0x48ef25(0x1a8)](_0x48ef25(0x173)+_0x519a2b)&&_0x2d0ffa[_0x48ef25(0x1c1)](_0x53dbd6);return _0x2d0ffa;}[_0xdb8ee(0x1b5)](_0x17035c){const _0x54cca2=_0xdb8ee,_0x3c2c93=this[_0x54cca2(0x150)](_0x17035c);_0x3c2c93&&setTimeout(()=>{const _0x103743=_0x54cca2;this[_0x103743(0x155)]&&splitMarkerName(this[_0x103743(0x155)])['id']===_0x17035c&&_0x31f92c({'target':_0x3c2c93[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xdb8ee(0x1da)](_0x27c606){const _0xee7331=_0xdb8ee;this[_0xee7331(0x165)][_0xee7331(0x1d5)][_0xee7331(0x1e4)](()=>{const _0x5cf2b4=_0xee7331;for(const _0x1eca0c of this[_0x5cf2b4(0x1ca)](_0x27c606))this[_0x5cf2b4(0x165)][_0x5cf2b4(0x18f)][_0x5cf2b4(0x1ad)](_0x1eca0c);});}[_0xdb8ee(0x195)](_0x574140){const _0x10698c=_0xdb8ee,_0x4f9114=this[_0x10698c(0x165)][_0x10698c(0x18d)][_0x10698c(0x183)](_0x1ad725),_0x100181=this[_0x10698c(0x165)][_0x10698c(0x18d)][_0x10698c(0x183)](_0x37a64e),_0x519ef8=_0x4f9114[_0x10698c(0x1bf)](_0x574140);if(!_0x519ef8[_0x10698c(0x170)]){const _0x4e28ab=_0x519ef8[_0x10698c(0x19c)](()=>this[_0x10698c(0x150)](_0x519ef8['id']));_0x100181[_0x10698c(0x192)](_0x4e28ab),_0x519ef8[_0x10698c(0x191)]=!0x1;}}[_0xdb8ee(0x1c8)](){const _0x42f9d5=_0xdb8ee,_0x99fe56=this[_0x42f9d5(0x165)];_0x99fe56[_0x42f9d5(0x1aa)][_0x42f9d5(0x175)](_0x42f9d5(0x1ba))[_0x42f9d5(0x159)]({'model':_0x42f9d5(0x15e),'view':(_0xb1d1c8,_0x36a24a)=>{const _0x7f24d7=_0x42f9d5,{id:_0xf66011}=splitMarkerName(_0xb1d1c8[_0x7f24d7(0x1c9)]),_0x173b92=_0x99fe56[_0x7f24d7(0x18d)][_0x7f24d7(0x183)](_0x1ad725)[_0x7f24d7(0x1bf)](_0xf66011),_0x3f1b17=this[_0x7f24d7(0x155)]&&splitMarkerName(this[_0x7f24d7(0x155)])['id']===_0xf66011;if(_0x173b92&&_0x173b92[_0x7f24d7(0x1c5)]&&!_0x3f1b17&&_0xb1d1c8[_0x7f24d7(0x1a6)])return _0x36a24a[_0x7f24d7(0x171)][_0x7f24d7(0x199)](_0xb1d1c8[_0x7f24d7(0x1a6)],_0x7f24d7(0x1be)+_0xb1d1c8[_0x7f24d7(0x1c9)]),_0x36a24a[_0x7f24d7(0x171)][_0x7f24d7(0x199)](_0xb1d1c8[_0x7f24d7(0x1a6)],_0x7f24d7(0x1e0)+_0xb1d1c8[_0x7f24d7(0x1c9)]),null;const _0x33eb8f=[_0x7f24d7(0x186)];return _0x3f1b17&&_0x33eb8f[_0x7f24d7(0x1c1)](_0x7f24d7(0x1e1)),{'classes':_0x33eb8f,'attributes':{'data-comment':_0xf66011}};}}),_0x99fe56[_0x42f9d5(0x1aa)][_0x42f9d5(0x175)](_0x42f9d5(0x174))[_0x42f9d5(0x1ac)]({'model':_0x42f9d5(0x15e),'view':(_0x42ba38,{options:_0x46874f})=>{const _0xcd530f=_0x42f9d5,_0x31ec0e=_0x99fe56[_0xcd530f(0x18d)][_0xcd530f(0x183)](_0x1ad725),_0x102c1e=_0x99fe56[_0xcd530f(0x1d5)][_0xcd530f(0x18a)][_0xcd530f(0x183)](_0x42ba38),{id:_0x185ff4,part:_0x10fccd}=splitMarkerName(_0x42ba38);if(_0x102c1e&&!_0x102c1e[_0xcd530f(0x1c0)])return null;if(_0x46874f[_0xcd530f(0x1b8)]){const _0xbf6295=_0x31ec0e[_0xcd530f(0x1bf)](_0x185ff4);if(_0xbf6295&&_0xbf6295[_0xcd530f(0x1c5)])return null;}return{'group':_0xcd530f(0x15e),'name':_0x10fccd?_0x185ff4+':'+_0x10fccd:_0x185ff4};}}),_0x99fe56[_0x42f9d5(0x1aa)][_0x42f9d5(0x175)](_0x42f9d5(0x1db))[_0x42f9d5(0x178)]({'view':{'name':_0x42f9d5(0x15e),'attributes':{'id':/^\w/}},'model':(_0x49f57c,{writer:_0x1a3abd})=>_0x1a3abd[_0x42f9d5(0x182)](_0x42f9d5(0x1b9),{'data-name':_0x42f9d5(0x173)+_0x49f57c[_0x42f9d5(0x15d)]('id')})}),_0x99fe56[_0x42f9d5(0x1aa)][_0x42f9d5(0x175)](_0x42f9d5(0x1db))[_0x42f9d5(0x184)]({'view':_0x42f9d5(0x15e)});}[_0xdb8ee(0x181)](){const _0x2554f3=_0xdb8ee,_0x58f101=this[_0x2554f3(0x165)],_0x59fdc1=_0x58f101[_0x2554f3(0x18d)][_0x2554f3(0x183)](_0x1ad725),_0x1da6e5=new Set(),_0x5ecf02=new Set();_0x58f101[_0x2554f3(0x1d5)][_0x2554f3(0x153)][_0x2554f3(0x167)](_0x2c8840=>{const _0x584129=_0x2554f3;let _0x2389cf=!0x1;for(const {name:_0x45d791,data:_0x5f4365}of _0x58f101[_0x584129(0x1d5)][_0x584129(0x153)][_0x584129(0x194)][_0x584129(0x14f)]()){const {group:_0x3d409e,id:_0x3cf397}=splitMarkerName(_0x45d791);let _0x126b2d=_0x5f4365[_0x584129(0x198)];if(_0x584129(0x15e)!==_0x3d409e||!_0x126b2d)continue;const _0x874cf1=_0x584129(0x185)===_0x126b2d[_0x584129(0x1df)][_0x584129(0x1dc)];_0x874cf1||(_0x126b2d=ct(_0x126b2d,_0x58f101[_0x584129(0x1d5)]),!_0x126b2d||_0x126b2d[_0x584129(0x1de)]||!_0x5f4365[_0x584129(0x198)]||_0x126b2d[_0x584129(0x166)](_0x5f4365[_0x584129(0x198)]))?_0x58f101[_0x584129(0x1d5)][_0x584129(0x197)](_0x126b2d)&&!_0x874cf1?this[_0x584129(0x1d8)]?_0x1da6e5[_0x584129(0x17f)](_0x45d791):this[_0x584129(0x180)](_0x45d791,_0x3cf397):(_0x5ecf02[_0x584129(0x17f)](_0x45d791),_0x1da6e5[_0x584129(0x1d0)](_0x45d791),_0x2c8840[_0x584129(0x1e3)](_0x45d791),_0x2389cf=!0x0):(_0x2c8840[_0x584129(0x158)](_0x45d791,{'range':_0x126b2d}),_0x2389cf=!0x0);}return _0x2389cf;}),this['on'](_0x2554f3(0x17c),(_0x5cc8c0,_0x21934c,_0x772d0)=>{const _0x346694=_0x2554f3;if(!_0x772d0&&_0x1da6e5[_0x346694(0x18e)])for(const _0x2c292d of _0x1da6e5){const {id:_0x40c280}=splitMarkerName(_0x2c292d);_0x1da6e5[_0x346694(0x1d0)](_0x2c292d),_0x58f101[_0x346694(0x1d5)][_0x346694(0x18a)][_0x346694(0x183)](_0x2c292d)&&this[_0x346694(0x180)](_0x2c292d,_0x40c280);}}),this[_0x2554f3(0x18b)](_0x58f101[_0x2554f3(0x1d5)][_0x2554f3(0x153)],_0x2554f3(0x1e4),(_0x1c4766,_0x4dcdfd)=>{const _0x583668=_0x2554f3;for(const {name:_0x41dda7,data:{newRange:_0x26a5ed}}of _0x58f101[_0x583668(0x1d5)][_0x583668(0x153)][_0x583668(0x194)][_0x583668(0x14f)]()){const {group:_0x20cd86,id:_0x34948a}=splitMarkerName(_0x41dda7);if(_0x583668(0x15e)!==_0x20cd86)continue;const _0x32dc5f=_0x59fdc1[_0x583668(0x1bf)](_0x34948a),_0xc7650b=this[_0x583668(0x1cf)](_0x34948a);_0x32dc5f&&(_0x32dc5f[_0x583668(0x191)]||_0x58f101[_0x583668(0x18f)][_0x583668(0x154)][_0x583668(0x18c)](_0x583668(0x15b),()=>{const _0x2d18f5=_0x583668,_0x198d04=_0x58f101[_0x2d18f5(0x18d)][_0x2d18f5(0x183)](_0x596c08),_0x185f49=_0x59fdc1[_0x2d18f5(0x189)][_0x2d18f5(0x183)](_0x32dc5f)[_0x2d18f5(0x154)];_0x198d04[_0x2d18f5(0x1c4)](_0x185f49)[_0x2d18f5(0x151)]();},{'priority':_0x583668(0x1a1)}),_0x32dc5f[_0x583668(0x191)]=_0xc7650b||!!_0x26a5ed),_0x26a5ed||(_0x5ecf02[_0x583668(0x17f)](_0x41dda7),_0x1da6e5[_0x583668(0x1d0)](_0x41dda7));}if(_0x4dcdfd[_0x583668(0x19b)])for(const _0x57792f of _0x5ecf02){const {id:_0x14529f}=splitMarkerName(_0x57792f),_0x3f2c5f=_0x59fdc1[_0x583668(0x1bf)](_0x14529f),_0x3a98c0=this[_0x583668(0x1cf)](_0x14529f);_0x1da6e5[_0x583668(0x1d0)](_0x57792f),!_0x3f2c5f||_0x3a98c0||_0x3f2c5f[_0x583668(0x17d)]||_0x3f2c5f[_0x583668(0x1bc)](new Date());}_0x5ecf02[_0x583668(0x188)]();});}[_0xdb8ee(0x150)](_0x33d578){const _0x3124ee=_0xdb8ee,_0x53cfac=this[_0x3124ee(0x165)],_0x144fc3=this[_0x3124ee(0x1ca)](_0x33d578);return _0x478fd6(_0x53cfac[_0x3124ee(0x18f)],_0x144fc3);}[_0xdb8ee(0x1c3)](_0x4e8480){const _0x50bd46=_0xdb8ee,_0x1b3062=this[_0x50bd46(0x1ca)](_0x4e8480);let _0x2dc2e4='',_0x41862c=!0x1;for(const _0x43e439 of _0x1b3062){const _0x37548c=_0x43e439[_0x50bd46(0x1dd)]();for(const _0x12db62 of Array[_0x50bd46(0x168)](_0x37548c[_0x50bd46(0x1d6)]()))_0x12db62['is'](_0x50bd46(0x1a2))?(_0x2dc2e4&&_0x41862c&&(_0x2dc2e4+='\x20',_0x41862c=!0x1),_0x2dc2e4+=_0x12db62[_0x50bd46(0x163)]):_0x41862c=!0x0;_0x41862c=!0x0;}return _0x2dc2e4[_0x50bd46(0x16a)](0x0,0x96);}[_0xdb8ee(0x17e)](_0x4048f3,_0x15eaba){const _0x496790=_0xdb8ee,_0x12a982=this[_0x496790(0x165)],_0x3b57b6=_0x12a982[_0x496790(0x18d)][_0x496790(0x183)](_0x1ad725);let _0x36627d=_0x3b57b6[_0x496790(0x1bf)](_0x15eaba);const _0xd452d9=_0x12a982[_0x496790(0x1cd)][_0x496790(0x183)](_0x496790(0x1a7)),_0x26881c=_0x12a982[_0x496790(0x18d)][_0x496790(0x183)](_0x37a64e);if(_0x36627d&&(_0x36627d[_0x496790(0x17d)]&&_0x36627d[_0x496790(0x1bc)](null),_0x36627d[_0x496790(0x170)]))return _0x36627d;return!this[_0x496790(0x1ca)](_0x15eaba)[0x0][_0x496790(0x1cb)]?_0x12a982[_0x496790(0x18f)][_0x496790(0x154)][_0x496790(0x18c)](_0x496790(0x15b),()=>{const _0x252db7=_0x496790;if(_0x3b57b6[_0x252db7(0x1bf)](_0x15eaba))return;const _0x329c09=_0x12a982[_0x252db7(0x18d)][_0x252db7(0x183)](_0x596c08);_0x36627d=_0x3b57b6[_0x252db7(0x19e)]({'channelId':_0xd452d9,'threadId':_0x15eaba,'target':()=>this[_0x252db7(0x150)](_0x15eaba),'context':{'type':_0x252db7(0x15a),'value':this[_0x252db7(0x1c3)](_0x15eaba)}});const _0x42ed3e=_0x3b57b6[_0x252db7(0x189)][_0x252db7(0x183)](_0x36627d)[_0x252db7(0x154)],_0x41bf6f=_0x329c09[_0x252db7(0x1c4)](_0x42ed3e);_0x41bf6f&&_0x26881c[_0x252db7(0x192)](_0x41bf6f);},{'priority':_0x496790(0x1a1)}):_0x3b57b6[_0x496790(0x1a3)]({'channelId':_0xd452d9,'threadId':_0x15eaba})[_0x496790(0x193)](_0x13aa17=>{const _0x1a9b95=_0x496790;if(_0x1a9b95(0x16c)!==_0x12a982[_0x1a9b95(0x1af)]){if(_0x36627d=_0x13aa17,_0x36627d&&!_0x36627d[_0x1a9b95(0x170)]){const _0x14193d=_0x36627d[_0x1a9b95(0x19c)](()=>this[_0x1a9b95(0x150)](_0x15eaba));_0x26881c[_0x1a9b95(0x192)](_0x14193d),_0x36627d[_0x1a9b95(0x1c5)]&&this[_0x1a9b95(0x1da)](_0x15eaba);}else{if(!_0x36627d){const _0x4da209=this[_0x1a9b95(0x1ca)](_0x15eaba);_0x12a982[_0x1a9b95(0x1d5)][_0x1a9b95(0x1e4)](_0x9233f8=>{const _0x29afaa=_0x1a9b95;for(const _0x4d9186 of _0x4da209)_0x9233f8[_0x29afaa(0x1e3)](_0x4d9186);});}}}}),_0x36627d;}[_0xdb8ee(0x180)](_0x47ce76,_0xd10e2f){const _0x404180=_0xdb8ee,_0x12d14f=this[_0x404180(0x17e)](_0x47ce76,_0xd10e2f);_0x12d14f&&!_0x12d14f[_0x404180(0x1cc)]&&_0x12d14f[_0x404180(0x1b1)]({'type':_0x404180(0x15a),'value':this[_0x404180(0x1c3)](_0xd10e2f)});}[_0xdb8ee(0x1a0)](){const _0x1e5a08=_0xdb8ee,_0x42d50b=this[_0x1e5a08(0x165)];_0x274338(_0x42d50b[_0x1e5a08(0x1d5)],({left:_0x56aa9b,entered:_0x325b32})=>{const _0x3592d3=_0x1e5a08;for(const _0x18364d of _0x56aa9b)if(mt(_0x18364d)){_0x42d50b['ui'][_0x3592d3(0x179)][_0x3592d3(0x19a)](_0xc716c4(_0x42d50b[_0x3592d3(0x1a4)],_0x3592d3(0x1ce)));break;}for(const _0x55e122 of _0x325b32)if(mt(_0x55e122)){_0x42d50b['ui'][_0x3592d3(0x179)][_0x3592d3(0x19a)](_0xc716c4(_0x42d50b[_0x3592d3(0x1a4)],_0x3592d3(0x1a5),_0x558ebc(_0x30b2c5)));break;}});}}function at(_0x11d882,_0x28891f){return _0x28891f?_0x11d882+':'+_0x28891f:_0x11d882;}export function splitMarkerName(_0x477189){const _0x5b453c=_0xdb8ee,_0xcde969=_0x477189[_0x5b453c(0x160)](':');return{'group':_0xcde969[0x0],'id':_0xcde969[0x1],'part':_0xcde969[0x2]};}function ct(_0x4d78e9,_0x5597da){const _0x4f0576=_0xdb8ee,_0x495b1e=_0x5597da[_0x4f0576(0x161)],_0xd2fd01=_0x5597da[_0x4f0576(0x162)](_0x4d78e9[_0x4f0576(0x1b2)]);for(const _0x4e8ef9 of _0x4d78e9[_0x4f0576(0x190)]()){const {type:_0x129a59,item:_0x578b96,nextPosition:_0x47e4af}=_0x4e8ef9;if(_0x4f0576(0x15a)===_0x129a59||_0x495b1e[_0x4f0576(0x1e5)](_0x578b96)){const _0x222a53=_0x5597da[_0x4f0576(0x152)](_0x578b96);_0xd2fd01[_0x4f0576(0x1de)]&&(_0xd2fd01[_0x4f0576(0x1b2)]=_0x222a53),_0xd2fd01[_0x4f0576(0x15f)]=_0x47e4af;}}return _0xd2fd01;}function mt(_0x5044de){const _0x2f9e50=_0xdb8ee;return _0x2f9e50(0x15e)===splitMarkerName(_0x5044de[_0x2f9e50(0x1e2)])[_0x2f9e50(0x1b3)];}
|
|
23
|
+
const _0x4aeff2=_0x4dc0;(function(_0x6d3304,_0x3acad9){const _0x13eba7=_0x4dc0,_0x28dbad=_0x6d3304();while(!![]){try{const _0x1da24d=-parseInt(_0x13eba7(0x11d))/0x1+parseInt(_0x13eba7(0xe7))/0x2+parseInt(_0x13eba7(0x14f))/0x3+parseInt(_0x13eba7(0x11e))/0x4*(parseInt(_0x13eba7(0x140))/0x5)+parseInt(_0x13eba7(0x138))/0x6+parseInt(_0x13eba7(0xef))/0x7*(-parseInt(_0x13eba7(0x134))/0x8)+-parseInt(_0x13eba7(0x157))/0x9;if(_0x1da24d===_0x3acad9)break;else _0x28dbad['push'](_0x28dbad['shift']());}catch(_0x4d79a3){_0x28dbad['push'](_0x28dbad['shift']());}}}(_0x5c43,0x8f64f));import{Plugin as _0x313857}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x2adf33,scrollViewportToShowTarget as _0x1efc3e}from'ckeditor5/src/utils.js';import _0x56e16d from'./commentsrepository.js';import _0x4d4c26 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x5dea57,getAllMarkersDomElementsSorted as _0x45edc7,FOCUS_ANNOTATION_KEYSTROKE as _0x329f91,Users as _0x44c627}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x283874 from'../annotations/editorannotations.js';import _0x4d8a2e from'./integrations/commentsrestrictededitingmode.js';import _0x1d4678 from'./integrations/importword.js';import _0x317e76 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x239409 from'../annotations/annotations.js';function _0x5c43(){const _0xd8dc8a=['rootName','root','reopenCommentThread','CommentsEditing','isResolved','updateMarker','addCommentThread','getChangedMarkers','hasMarkerForId','get','dataToMarker','comment','collaboration.channelId','$marker','80022cqAEyl','config','add','attachTo','group','text','from','hasContent','89558HCPIgT','commands','getRange','document','conversion','_attachMarkerToThread','createPositionBefore','newRange','name','getCommentThread','$graveyard','low','removeMarker','item','removeMarker:','start','hasDomSelection','resolveCommentThread','_initializeMarkerConverters','_attachArchivedThread','end','comment:','init','schema','unlinkedAt','affectsData','pluginName','announce','_threadToController','markerName','state','plugins','isThreadsLoadingPaused','_handleMarkerAddAndRemove','markerToData','change:isThreadsLoadingPaused','push','isLocal','registerPostFixer','markers','size','dataDowncast','_getTargetForId','author','ENTER_COMMENT_ANNOUNCEMENT','editingDowncast','652764FXxRag','227788lmfytO','once','first','destroy','change','context','getAllMarkersForId','addMarker:','_threads','substring','scrollToThreadMarker','enqueueChange','focus','upcast','isObject','render','hasCommentThread','fetchCommentThread','ck-comment-marker','refreshVisibility','setContext','LEAVE_COMMENT_ANNOUNCEMENT','704kfSLpN','change:activeMarker','activeMarker','destroyed','6313662OSTnUJ','getAttribute','model','isCollapsed','change:isReadOnly','clear','setUnlinkedAt','_initAriaMarkerChangeAnnouncements','35Xitbim','reconvertMarker','locale','switchReadOnly','createRange','comments','isEqual','listenTo','then','editor','set','consume','isAttached','for','getItems','2902365UZfGdA','_handleThreadMarker','length','markerToHighlight','managedUsingOperations','registerAnnotation','editing','delete','831537nzseyf','requires','startsWith','differ','removeCommentThread','$textProxy','_detachCommentThread','_hasTargetInContent','addComment','_reconvertMarkers','data','createElement','ck-comment-marker--active','ariaLiveAnnouncer','ignoreResolvedComments','_getTextContext','getCommentThreads','ready','view','openNewCommentThread','getByInnerView','split','getWalker','elementToElement','consumable'];_0x5c43=function(){return _0xd8dc8a;};return _0x5c43();}import{getTranslation as _0x306cf1}from'../utils/common-translations.js';function _0x4dc0(_0x2acfd4,_0x48e902){const _0x5c435d=_0x5c43();return _0x4dc0=function(_0x4dc074,_0x191731){_0x4dc074=_0x4dc074-0xc9;let _0x452517=_0x5c435d[_0x4dc074];return _0x452517;},_0x4dc0(_0x2acfd4,_0x48e902);}export default class r extends _0x313857{static get[_0x4aeff2(0x158)](){return[_0x56e16d,_0x283874,_0x44c627,_0x4d8a2e,_0x1d4678,_0x317e76];}static get[_0x4aeff2(0x109)](){const _0x38db6d=_0x4aeff2;return _0x38db6d(0xdc);}constructor(_0x5c93b1){const _0x498d0a=_0x4aeff2;super(_0x5c93b1),this[_0x498d0a(0x14a)](_0x498d0a(0x10f),!0x0),_0x5c93b1[_0x498d0a(0xca)][_0x498d0a(0x11f)](_0x498d0a(0xd1),()=>this[_0x498d0a(0x10f)]=!0x1),this[_0x498d0a(0x14a)](_0x498d0a(0x136),null),this['on'](_0x498d0a(0x135),(_0x2cd5d4,_0x56fb7a,_0x49c1e5,_0x27c3e9)=>{const _0x1addb8=_0x498d0a,_0x1981c1=_0x49c1e5?splitMarkerName(_0x49c1e5)['id']:null;if(_0x5c93b1[_0x1addb8(0x13a)][_0x1addb8(0x122)](()=>{const _0x1af651=_0x1addb8;if(_0x1981c1){const _0x270053=this[_0x1af651(0x124)](_0x1981c1);for(const _0x4b73d1 of _0x270053)_0x5c93b1[_0x1af651(0x155)][_0x1af651(0x141)](_0x4b73d1);}if(_0x27c3e9){const {id:_0x5c49b4}=splitMarkerName(_0x27c3e9),_0x5112e7=this[_0x1af651(0x124)](_0x5c49b4);for(const _0x61dadd of _0x5112e7)_0x5c93b1[_0x1af651(0x155)][_0x1af651(0x141)](_0x61dadd);}}),_0x1981c1){const _0xd78684=_0x5c93b1[_0x1addb8(0x10e)][_0x1addb8(0xe2)](_0x56e16d)[_0x1addb8(0xf8)](_0x1981c1);_0xd78684&&_0xd78684[_0x1addb8(0xdd)]&&this[_0x1addb8(0x128)](_0x1981c1);}}),this[_0x498d0a(0x13f)]();}[_0x4aeff2(0x105)](){const _0x2ae781=_0x4aeff2,_0x1e14fc=this[_0x2ae781(0x149)],_0x5eb739=_0x1e14fc[_0x2ae781(0x10e)][_0x2ae781(0xe2)](_0x56e16d),_0x347377=_0x1e14fc[_0x2ae781(0xe8)][_0x2ae781(0xe2)](_0x2ae781(0xe5));_0x1e14fc[_0x2ae781(0xf0)][_0x2ae781(0xe9)](_0x2ae781(0xdf),new _0x4d4c26(_0x1e14fc)),this[_0x2ae781(0x147)](_0x1e14fc,_0x2ae781(0x13c),(_0x4a7eaa,_0x19792a,_0x357df6)=>{const _0x4f5346=_0x2ae781;_0x5eb739[_0x4f5346(0x143)](_0x357df6,_0x1e14fc[_0x4f5346(0xe8)][_0x4f5346(0xe2)](_0x4f5346(0xe5)));}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0xdf),_0x347377),(_0x3b6160,{threadId:_0x439e07})=>{const _0x520d38=_0x2ae781,_0x6198c8=this[_0x520d38(0x149)][_0x520d38(0x10e)][_0x520d38(0xe2)](_0x56e16d)[_0x520d38(0xf8)](_0x439e07);_0x6198c8&&_0x6198c8[_0x520d38(0x107)]&&this[_0x520d38(0x102)](_0x439e07);}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0x15b),_0x347377),(_0x278c1f,{threadId:_0x25daee})=>{const _0x2391c8=_0x2ae781;_0x1e14fc[_0x2391c8(0x13a)][_0x2391c8(0x129)]({'isUndoable':!0x1},_0x9cf6fa=>{const _0x1055ae=_0x2391c8,_0x2aa5f8=this[_0x1055ae(0x124)](_0x25daee);for(const _0x1ca34a of _0x2aa5f8)_0x9cf6fa[_0x1055ae(0xfb)](_0x1ca34a);});}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0x100),_0x347377),(_0x189791,{threadId:_0x4940f0})=>{const _0xbe4101=_0x2ae781;(this[_0xbe4101(0xc9)](_0x4940f0),this[_0xbe4101(0x149)][_0xbe4101(0x155)][_0xbe4101(0xd2)][_0xbe4101(0xff)])&&(this[_0xbe4101(0x149)][_0xbe4101(0x10e)][_0xbe4101(0xe2)](_0x56e16d)[_0xbe4101(0xf8)](_0x4940f0)[_0xbe4101(0x107)]||this[_0xbe4101(0x149)][_0xbe4101(0x155)][_0xbe4101(0xd2)][_0xbe4101(0x12a)]());},{'priority':_0x2ae781(0xfa)}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0xdb),_0x347377),(_0x3b77f4,{threadId:_0x51c7e6})=>{const _0x2de50b=_0x2ae781;this[_0x2de50b(0xc9)](_0x51c7e6);},{'priority':_0x2ae781(0xfa)}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0x15f),_0x347377),(_0x5ad519,{threadId:_0x21fc78,isFromAdapter:_0xc82c23})=>{const _0x3b4baa=_0x2ae781,_0x2e8b5e=this[_0x3b4baa(0x124)](_0x21fc78);if(_0xc82c23||0x0==_0x2e8b5e[_0x3b4baa(0x151)]||!_0x5eb739[_0x3b4baa(0x12e)](_0x21fc78))return;0x1===_0x5eb739[_0x3b4baa(0xf8)](_0x21fc78)[_0x3b4baa(0x151)]&&_0x1e14fc[_0x3b4baa(0x13a)][_0x3b4baa(0x129)]({'isUndoable':!0x1},_0x35a668=>{const _0x4d9d6d=_0x3b4baa;for(const _0x5a2cf2 of _0x2e8b5e)_0x35a668[_0x4d9d6d(0xde)](_0x5a2cf2,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x2ae781(0xfa)}),this[_0x2ae781(0x101)](),this[_0x2ae781(0x110)]();}[_0x4aeff2(0x121)](){const _0x3e6112=_0x4aeff2,_0x1000f8=this[_0x3e6112(0x149)][_0x3e6112(0x10e)][_0x3e6112(0xe2)](_0x56e16d),_0x46dfe5=this[_0x3e6112(0x149)][_0x3e6112(0xe8)][_0x3e6112(0xe2)](_0x3e6112(0xe5));for(const _0x8d65f2 of _0x1000f8[_0x3e6112(0xd0)]({'channelId':_0x46dfe5}))_0x1000f8[_0x3e6112(0x15d)](_0x8d65f2['id']),_0x1000f8[_0x3e6112(0x126)][_0x3e6112(0x156)](_0x8d65f2['id']);super[_0x3e6112(0x121)]();}[_0x4aeff2(0xe1)](_0x48f6ad){const _0x426730=_0x4aeff2;return this[_0x426730(0x124)](_0x48f6ad)[_0x426730(0x151)]>0x0;}[_0x4aeff2(0x124)](_0x102a88){const _0x203b8e=_0x4aeff2,_0x1441a8=[];for(const _0x2c66a1 of this[_0x203b8e(0x149)][_0x203b8e(0x13a)][_0x203b8e(0x116)])_0x2c66a1[_0x203b8e(0xf7)][_0x203b8e(0x159)](_0x203b8e(0x104)+_0x102a88)&&_0x1441a8[_0x203b8e(0x113)](_0x2c66a1);return _0x1441a8;}[_0x4aeff2(0x128)](_0x45cc78){const _0x27bf1e=_0x4aeff2,_0x475aa5=this[_0x27bf1e(0x119)](_0x45cc78);_0x475aa5&&setTimeout(()=>{const _0x4bfb60=_0x27bf1e;this[_0x4bfb60(0x136)]&&splitMarkerName(this[_0x4bfb60(0x136)])['id']===_0x45cc78&&_0x1efc3e({'target':_0x475aa5[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x4aeff2(0xc9)](_0x15dd44){const _0x1f9fd2=_0x4aeff2;this[_0x1f9fd2(0x149)][_0x1f9fd2(0x13a)][_0x1f9fd2(0x122)](()=>{const _0x51a9c0=_0x1f9fd2;for(const _0x2766b6 of this[_0x51a9c0(0x124)](_0x15dd44))this[_0x51a9c0(0x149)][_0x51a9c0(0x155)][_0x51a9c0(0x141)](_0x2766b6);});}[_0x4aeff2(0x102)](_0x273183){const _0x2257b2=_0x4aeff2,_0x4f17fc=this[_0x2257b2(0x149)][_0x2257b2(0x10e)][_0x2257b2(0xe2)](_0x56e16d),_0x29bd5e=this[_0x2257b2(0x149)][_0x2257b2(0x10e)][_0x2257b2(0xe2)](_0x283874),_0x80c0d6=_0x4f17fc[_0x2257b2(0xf8)](_0x273183);if(!_0x80c0d6[_0x2257b2(0x14c)]){const _0x2f2b4a=_0x80c0d6[_0x2257b2(0xea)](()=>this[_0x2257b2(0x119)](_0x80c0d6['id']));_0x29bd5e[_0x2257b2(0x154)](_0x2f2b4a),_0x80c0d6[_0x2257b2(0x15e)]=!0x1;}}[_0x4aeff2(0x101)](){const _0x4b4376=_0x4aeff2,_0x49eaae=this[_0x4b4376(0x149)],_0x295a9b=_0x49eaae[_0x4b4376(0x10e)][_0x4b4376(0xe2)](_0x44c627);_0x49eaae[_0x4b4376(0xf3)][_0x4b4376(0x14d)](_0x4b4376(0x11c))[_0x4b4376(0x152)]({'model':_0x4b4376(0xe4),'view':(_0x59044a,_0x8906bf)=>{const _0xa844a4=_0x4b4376,{id:_0x20fa60}=splitMarkerName(_0x59044a[_0xa844a4(0x10c)]),_0x449f78=_0x49eaae[_0xa844a4(0x10e)][_0xa844a4(0xe2)](_0x56e16d)[_0xa844a4(0xf8)](_0x20fa60),_0x482fb5=this[_0xa844a4(0x136)]&&splitMarkerName(this[_0xa844a4(0x136)])['id']===_0x20fa60;let _0x39d550;if(_0x449f78&&_0x449f78[_0xa844a4(0xdd)]&&!_0x482fb5&&_0x59044a[_0xa844a4(0xfc)])return _0x8906bf[_0xa844a4(0xd8)][_0xa844a4(0x14b)](_0x59044a[_0xa844a4(0xfc)],_0xa844a4(0x125)+_0x59044a[_0xa844a4(0x10c)]),_0x8906bf[_0xa844a4(0xd8)][_0xa844a4(0x14b)](_0x59044a[_0xa844a4(0xfc)],_0xa844a4(0xfd)+_0x59044a[_0xa844a4(0x10c)]),null;const _0x411e8a=[_0xa844a4(0x130)];return _0x482fb5&&_0x411e8a[_0xa844a4(0x113)](_0xa844a4(0xcc)),_0x39d550=_0x449f78&&_0x449f78[_0xa844a4(0x151)]?_0x449f78[_0xa844a4(0x145)][_0xa844a4(0x120)][_0xa844a4(0x11a)]['id']:_0x295a9b['me']['id'],{'classes':_0x411e8a,'attributes':{'data-comment':_0x20fa60,'data-author-id':_0x39d550}};}}),_0x49eaae[_0x4b4376(0xf3)][_0x4b4376(0x14d)](_0x4b4376(0x118))[_0x4b4376(0x111)]({'model':_0x4b4376(0xe4),'view':(_0x2c5a79,{options:_0x36b43a})=>{const _0xe3345f=_0x4b4376,_0x256ec8=_0x49eaae[_0xe3345f(0x10e)][_0xe3345f(0xe2)](_0x56e16d),_0x5e3568=_0x49eaae[_0xe3345f(0x13a)][_0xe3345f(0x116)][_0xe3345f(0xe2)](_0x2c5a79),{id:_0x2a1e70,part:_0x1b283f}=splitMarkerName(_0x2c5a79);if(_0x5e3568&&!_0x5e3568[_0xe3345f(0x108)])return null;if(_0x36b43a[_0xe3345f(0xce)]){const _0x593e54=_0x256ec8[_0xe3345f(0xf8)](_0x2a1e70);if(_0x593e54&&_0x593e54[_0xe3345f(0xdd)])return null;}return{'group':_0xe3345f(0xe4),'name':_0x1b283f?_0x2a1e70+':'+_0x1b283f:_0x2a1e70};}}),_0x49eaae[_0x4b4376(0xf3)][_0x4b4376(0x14d)](_0x4b4376(0x12b))[_0x4b4376(0xd7)]({'view':{'name':_0x4b4376(0xe4),'attributes':{'id':/^\w/}},'model':(_0x222011,{writer:_0x134394})=>_0x134394[_0x4b4376(0xcb)](_0x4b4376(0xe6),{'data-name':_0x4b4376(0x104)+_0x222011[_0x4b4376(0x139)]('id')})}),_0x49eaae[_0x4b4376(0xf3)][_0x4b4376(0x14d)](_0x4b4376(0x12b))[_0x4b4376(0xe3)]({'view':_0x4b4376(0xe4)});}[_0x4aeff2(0x110)](){const _0x2c6a08=_0x4aeff2,_0x490ab6=this[_0x2c6a08(0x149)],_0xe4b1d4=_0x490ab6[_0x2c6a08(0x10e)][_0x2c6a08(0xe2)](_0x56e16d),_0x3b0add=new Set(),_0x4b0e71=new Set();_0x490ab6[_0x2c6a08(0x13a)][_0x2c6a08(0xf2)][_0x2c6a08(0x115)](_0x3941bd=>{const _0x3cdd76=_0x2c6a08;let _0x4c4ed8=!0x1;for(const {name:_0xefa77f,data:_0x5a2f}of _0x490ab6[_0x3cdd76(0x13a)][_0x3cdd76(0xf2)][_0x3cdd76(0x15a)][_0x3cdd76(0xe0)]()){const {group:_0x407faf,id:_0x1a5d00}=splitMarkerName(_0xefa77f);let _0x47146f=_0x5a2f[_0x3cdd76(0xf6)];if(_0x3cdd76(0xe4)!==_0x407faf||!_0x47146f)continue;const _0x1ae04a=_0x3cdd76(0xf9)===_0x47146f[_0x3cdd76(0xda)][_0x3cdd76(0xd9)];_0x1ae04a||(_0x47146f=dt(_0x47146f,_0x490ab6[_0x3cdd76(0x13a)]),!_0x47146f||_0x47146f[_0x3cdd76(0x13b)]||!_0x5a2f[_0x3cdd76(0xf6)]||_0x47146f[_0x3cdd76(0x146)](_0x5a2f[_0x3cdd76(0xf6)]))?_0x490ab6[_0x3cdd76(0x13a)][_0x3cdd76(0xee)](_0x47146f)&&!_0x1ae04a?this[_0x3cdd76(0x10f)]?_0x3b0add[_0x3cdd76(0xe9)](_0xefa77f):this[_0x3cdd76(0x150)](_0xefa77f,_0x1a5d00):(_0x4b0e71[_0x3cdd76(0xe9)](_0xefa77f),_0x3b0add[_0x3cdd76(0x156)](_0xefa77f),_0x3941bd[_0x3cdd76(0xfb)](_0xefa77f),_0x4c4ed8=!0x0):(_0x3941bd[_0x3cdd76(0xde)](_0xefa77f,{'range':_0x47146f}),_0x4c4ed8=!0x0);}return _0x4c4ed8;}),this['on'](_0x2c6a08(0x112),(_0x495a5b,_0xcb1c3b,_0x4892b0)=>{const _0x9504a1=_0x2c6a08;if(!_0x4892b0&&_0x3b0add[_0x9504a1(0x117)])for(const _0x39012a of _0x3b0add){const {id:_0x5cd192}=splitMarkerName(_0x39012a);_0x3b0add[_0x9504a1(0x156)](_0x39012a),_0x490ab6[_0x9504a1(0x13a)][_0x9504a1(0x116)][_0x9504a1(0xe2)](_0x39012a)&&this[_0x9504a1(0x150)](_0x39012a,_0x5cd192);}}),this[_0x2c6a08(0x147)](_0x490ab6[_0x2c6a08(0x13a)][_0x2c6a08(0xf2)],_0x2c6a08(0x122),(_0x5c5055,_0x9485e5)=>{const _0x536a20=_0x2c6a08;for(const {name:_0x13ebc4,data:{newRange:_0x55cbf6}}of _0x490ab6[_0x536a20(0x13a)][_0x536a20(0xf2)][_0x536a20(0x15a)][_0x536a20(0xe0)]()){const {group:_0x13101a,id:_0x5f5507}=splitMarkerName(_0x13ebc4);if(_0x536a20(0xe4)!==_0x13101a)continue;const _0x33cf3d=_0xe4b1d4[_0x536a20(0xf8)](_0x5f5507),_0x479e93=this[_0x536a20(0xe1)](_0x5f5507);_0x33cf3d&&(!_0x33cf3d[_0x536a20(0x15e)]&&_0x55cbf6&&_0x490ab6[_0x536a20(0x155)][_0x536a20(0xd2)][_0x536a20(0x11f)](_0x536a20(0x12d),()=>{const _0x427abc=_0x536a20,_0x3ddd05=_0x490ab6[_0x427abc(0x10e)][_0x427abc(0xe2)](_0x239409),_0x3eeb55=_0xe4b1d4[_0x427abc(0x10b)][_0x427abc(0xe2)](_0x33cf3d)[_0x427abc(0xd2)];_0x3ddd05[_0x427abc(0xd4)](_0x3eeb55)[_0x427abc(0x131)]();},{'priority':_0x536a20(0xfa)}),_0x33cf3d[_0x536a20(0x15e)]=_0x479e93||!!_0x55cbf6),_0x55cbf6||(_0x4b0e71[_0x536a20(0xe9)](_0x13ebc4),_0x3b0add[_0x536a20(0x156)](_0x13ebc4));}if(_0x9485e5[_0x536a20(0x114)])for(const _0x230c95 of _0x4b0e71){const {id:_0x204da9}=splitMarkerName(_0x230c95),_0x2e856f=_0xe4b1d4[_0x536a20(0xf8)](_0x204da9),_0x5a373f=this[_0x536a20(0xe1)](_0x204da9);_0x3b0add[_0x536a20(0x156)](_0x230c95),!_0x2e856f||_0x5a373f||_0x2e856f[_0x536a20(0x107)]||_0x2e856f[_0x536a20(0x13e)](new Date());}_0x4b0e71[_0x536a20(0x13d)]();});}[_0x4aeff2(0x119)](_0x15748b){const _0x5e2244=_0x4aeff2,_0xff6cc7=this[_0x5e2244(0x149)],_0x3883a4=this[_0x5e2244(0x124)](_0x15748b);return _0x45edc7(_0xff6cc7[_0x5e2244(0x155)],_0x3883a4);}[_0x4aeff2(0xcf)](_0x100307){const _0x411c8d=_0x4aeff2,_0x337011=this[_0x411c8d(0x124)](_0x100307);let _0x1a80ac='',_0x10733a=!0x1;for(const _0x177ded of _0x337011){const _0x427c68=_0x177ded[_0x411c8d(0xf1)]();for(const _0x3971b3 of Array[_0x411c8d(0xed)](_0x427c68[_0x411c8d(0x14e)]()))_0x3971b3['is'](_0x411c8d(0x15c))?(_0x1a80ac&&_0x10733a&&(_0x1a80ac+='\x20',_0x10733a=!0x1),_0x1a80ac+=_0x3971b3[_0x411c8d(0xca)]):_0x10733a=!0x0;_0x10733a=!0x0;}return _0x1a80ac[_0x411c8d(0x127)](0x0,0x96);}[_0x4aeff2(0xf4)](_0x13a00b,_0x319de1){const _0x2ec200=_0x4aeff2,_0x39f721=this[_0x2ec200(0x149)],_0x535a86=_0x39f721[_0x2ec200(0x10e)][_0x2ec200(0xe2)](_0x56e16d);let _0x5d78bd=_0x535a86[_0x2ec200(0xf8)](_0x319de1);const _0xf21d96=_0x39f721[_0x2ec200(0xe8)][_0x2ec200(0xe2)](_0x2ec200(0xe5)),_0x3f2efe=_0x39f721[_0x2ec200(0x10e)][_0x2ec200(0xe2)](_0x283874);if(_0x5d78bd&&(_0x5d78bd[_0x2ec200(0x107)]&&_0x5d78bd[_0x2ec200(0x13e)](null),_0x5d78bd[_0x2ec200(0x14c)]))return _0x5d78bd;return!this[_0x2ec200(0x124)](_0x319de1)[0x0][_0x2ec200(0x153)]?_0x39f721[_0x2ec200(0x155)][_0x2ec200(0xd2)][_0x2ec200(0x11f)](_0x2ec200(0x12d),()=>{const _0x4acdba=_0x2ec200;if(_0x535a86[_0x4acdba(0xf8)](_0x319de1))return;const _0x569101=_0x39f721[_0x4acdba(0x10e)][_0x4acdba(0xe2)](_0x239409);_0x5d78bd=_0x535a86[_0x4acdba(0xd3)]({'channelId':_0xf21d96,'threadId':_0x319de1,'target':()=>this[_0x4acdba(0x119)](_0x319de1),'context':{'type':_0x4acdba(0xec),'value':this[_0x4acdba(0xcf)](_0x319de1)}});const _0x166f91=_0x535a86[_0x4acdba(0x10b)][_0x4acdba(0xe2)](_0x5d78bd)[_0x4acdba(0xd2)],_0x1d4726=_0x569101[_0x4acdba(0xd4)](_0x166f91);_0x1d4726&&_0x3f2efe[_0x4acdba(0x154)](_0x1d4726);},{'priority':_0x2ec200(0xfa)}):_0x535a86[_0x2ec200(0x12f)]({'channelId':_0xf21d96,'threadId':_0x319de1})[_0x2ec200(0x148)](_0x21d8cb=>{const _0x4d5e63=_0x2ec200;if(_0x4d5e63(0x137)!==_0x39f721[_0x4d5e63(0x10d)]){if(_0x5d78bd=_0x21d8cb,_0x5d78bd&&!_0x5d78bd[_0x4d5e63(0x14c)]){const _0xb19c47=_0x5d78bd[_0x4d5e63(0xea)](()=>this[_0x4d5e63(0x119)](_0x319de1));_0x3f2efe[_0x4d5e63(0x154)](_0xb19c47),_0x5d78bd[_0x4d5e63(0xdd)]&&this[_0x4d5e63(0xc9)](_0x319de1);}else{if(!_0x5d78bd){const _0xb7b4cd=this[_0x4d5e63(0x124)](_0x319de1);_0x39f721[_0x4d5e63(0x13a)][_0x4d5e63(0x122)](_0x42a1b5=>{const _0x74f690=_0x4d5e63;for(const _0x1dea1a of _0xb7b4cd)_0x42a1b5[_0x74f690(0xfb)](_0x1dea1a);});}}}}),_0x5d78bd;}[_0x4aeff2(0x150)](_0x248235,_0x789b95){const _0x5be55f=_0x4aeff2,_0x5dbba5=this[_0x5be55f(0xf4)](_0x248235,_0x789b95);_0x5dbba5&&!_0x5dbba5[_0x5be55f(0x123)]&&_0x5dbba5[_0x5be55f(0x132)]({'type':_0x5be55f(0xec),'value':this[_0x5be55f(0xcf)](_0x789b95)});}[_0x4aeff2(0x13f)](){const _0x17f363=_0x4aeff2,_0xd67084=this[_0x17f363(0x149)];_0x5dea57(_0xd67084[_0x17f363(0x13a)],({left:_0x2c2b32,entered:_0x406a50})=>{const _0x555550=_0x17f363;for(const _0x34593b of _0x2c2b32)if(ht(_0x34593b)){_0xd67084['ui'][_0x555550(0xcd)][_0x555550(0x10a)](_0x306cf1(_0xd67084[_0x555550(0x142)],_0x555550(0x133)));break;}for(const _0x38d552 of _0x406a50)if(ht(_0x38d552)){_0xd67084['ui'][_0x555550(0xcd)][_0x555550(0x10a)](_0x306cf1(_0xd67084[_0x555550(0x142)],_0x555550(0x11b),_0x2adf33(_0x329f91)));break;}});}}function mt(_0x2f63ae,_0x1d2b2e){return _0x1d2b2e?_0x2f63ae+':'+_0x1d2b2e:_0x2f63ae;}export function splitMarkerName(_0x592e46){const _0x129619=_0x4aeff2,_0x344bfc=_0x592e46[_0x129619(0xd5)](':');return{'group':_0x344bfc[0x0],'id':_0x344bfc[0x1],'part':_0x344bfc[0x2]};}function dt(_0xbe2b21,_0x52bb3f){const _0x3dee87=_0x4aeff2,_0x171dac=_0x52bb3f[_0x3dee87(0x106)],_0x6a087a=_0x52bb3f[_0x3dee87(0x144)](_0xbe2b21[_0x3dee87(0xfe)]);for(const _0x4dc943 of _0xbe2b21[_0x3dee87(0xd6)]()){const {type:_0x218ef7,item:_0xfbf69e,nextPosition:_0x4939eb}=_0x4dc943;if(_0x3dee87(0xec)===_0x218ef7||_0x171dac[_0x3dee87(0x12c)](_0xfbf69e)){const _0x488707=_0x52bb3f[_0x3dee87(0xf5)](_0xfbf69e);_0x6a087a[_0x3dee87(0x13b)]&&(_0x6a087a[_0x3dee87(0xfe)]=_0x488707),_0x6a087a[_0x3dee87(0x103)]=_0x4939eb;}}return _0x6a087a;}function ht(_0x446104){const _0x4154bf=_0x4aeff2;return _0x4154bf(0xe4)===splitMarkerName(_0x446104[_0x4154bf(0xf7)])[_0x4154bf(0xeb)];}
|
|
@@ -866,18 +866,6 @@ export type AddCommentEvent = {
|
|
|
866
866
|
name: string;
|
|
867
867
|
args: [CommentEventData];
|
|
868
868
|
};
|
|
869
|
-
/**
|
|
870
|
-
* An event fired when the user pressed Escape key while the comment thread was focused.
|
|
871
|
-
*/
|
|
872
|
-
export type CommentThreadEscapeEvent = {
|
|
873
|
-
name: string;
|
|
874
|
-
args: [
|
|
875
|
-
{
|
|
876
|
-
threadId: string;
|
|
877
|
-
channelId: string | symbol;
|
|
878
|
-
}
|
|
879
|
-
];
|
|
880
|
-
};
|
|
881
869
|
/**
|
|
882
870
|
* @param commentId The comment ID.
|
|
883
871
|
* @param authorId ID of the comment author.
|