@ckeditor/ckeditor5-comments 47.6.0-alpha.2 → 47.6.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.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 +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- 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.js +1 -1
- 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/integrations/showcommenthighlights.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.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1aa2d6=_0x3d63;(function(_0x1f2cf6,_0x5f488e){const _0xdf929f=_0x3d63,_0x33ce50=_0x1f2cf6();while(!![]){try{const _0x28bbe4=parseInt(_0xdf929f(0xf3))/0x1*(parseInt(_0xdf929f(0xe6))/0x2)+-parseInt(_0xdf929f(0xc4))/0x3*(-parseInt(_0xdf929f(0xb5))/0x4)+parseInt(_0xdf929f(0x105))/0x5*(-parseInt(_0xdf929f(0x10d))/0x6)+parseInt(_0xdf929f(0xde))/0x7+-parseInt(_0xdf929f(0xc6))/0x8+parseInt(_0xdf929f(0xf5))/0x9+-parseInt(_0xdf929f(0xc7))/0xa;if(_0x28bbe4===_0x5f488e)break;else _0x33ce50['push'](_0x33ce50['shift']());}catch(_0x6555b5){_0x33ce50['push'](_0x33ce50['shift']());}}}(_0x468a,0x78b98));import{ContextPlugin as _0x1edde7}from'ckeditor5/src/core.js';import{Rect as _0x2cd50f,CKEditorError as _0x2e2078}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x48c2d6}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x3952e0}from'./view/sidebaritemview.js';export class Sidebar extends _0x1edde7{[_0x1aa2d6(0xd9)];[_0x1aa2d6(0xc0)];[_0x1aa2d6(0xbf)];[_0x1aa2d6(0xcc)];[_0x1aa2d6(0xe2)];[_0x1aa2d6(0x100)];[_0x1aa2d6(0xb7)];static get[_0x1aa2d6(0xbc)](){const _0x263540=_0x1aa2d6;return _0x263540(0xc5);}static get[_0x1aa2d6(0xe4)](){return!0x0;}static get[_0x1aa2d6(0xfb)](){return!0x0;}constructor(_0x432fb1){const _0x1ad2e6=_0x1aa2d6;super(_0x432fb1),this[_0x1ad2e6(0xf8)](_0x1ad2e6(0x107),void 0x0),this[_0x1ad2e6(0xd9)]=this[_0x1ad2e6(0xea)](),this[_0x1ad2e6(0xf8)](_0x1ad2e6(0xda),null),this[_0x1ad2e6(0xcc)]=0x19,this[_0x1ad2e6(0xe2)]=new Map(),this[_0x1ad2e6(0x100)]=new Map(),this[_0x1ad2e6(0x10c)][_0x1ad2e6(0xdd)][_0x1ad2e6(0xf6)](_0x1ad2e6(0x10f),!0x1),this[_0x1ad2e6(0xbf)]=null,this[_0x1ad2e6(0xc0)]=null,this[_0x1ad2e6(0xb7)]=[];}[_0x1aa2d6(0xff)](){const _0x45403b=_0x1aa2d6,_0x219785=this[_0x45403b(0x10c)][_0x45403b(0xdd)][_0x45403b(0xe3)](_0x45403b(0xfe));_0x219785&&this[_0x45403b(0x106)](_0x219785);}[_0x1aa2d6(0x106)](_0xd173d0){const _0x3ec86e=_0x1aa2d6;if(!g(_0xd173d0))throw new _0x2e2078(_0x3ec86e(0xbd));this[_0x3ec86e(0xda)]=_0xd173d0;}[_0x1aa2d6(0xed)]({viewClass:_0x5ae975='',spaceBetweenItems:_0x31ae82=0x19}={}){const _0x52caa6=_0x1aa2d6;if(!g(this[_0x52caa6(0xda)]))throw new _0x2e2078(_0x52caa6(0xef),this);this[_0x52caa6(0xda)][_0x52caa6(0x102)](this[_0x52caa6(0xd9)][_0x52caa6(0xe1)]),this[_0x52caa6(0xd9)][_0x52caa6(0xc3)]=_0x5ae975,this[_0x52caa6(0xcc)]=_0x31ae82;}[_0x1aa2d6(0xd0)]({removedAnnotation:_0x220117,previousAnnotation:_0x3f9b50,nextAnnotation:_0x554d88}){const _0x4ba5f0=_0x1aa2d6,_0x52e7aa=this[_0x4ba5f0(0xba)](_0x220117);this[_0x4ba5f0(0xd9)][_0x4ba5f0(0x10a)][_0x4ba5f0(0xcb)](_0x52e7aa),this[_0x4ba5f0(0xb6)](_0x220117),_0x3f9b50&&this[_0x4ba5f0(0x109)](this[_0x4ba5f0(0xba)](_0x3f9b50)),_0x554d88&&this[_0x4ba5f0(0x109)](this[_0x4ba5f0(0xba)](_0x554d88)),this[_0x4ba5f0(0xbe)]();}[_0x1aa2d6(0x10b)]({blurredAnnotation:_0x78a4a6,activatedAnnotation:_0x3af7e8,disableAnimationOnActivatedAnnotation:_0x296f3a}){const _0x33f859=_0x1aa2d6;if(this[_0x33f859(0xc0)]=_0x3af7e8,_0x78a4a6){_0x78a4a6[_0x33f859(0xf7)]=!0x1;const _0x462886=this[_0x33f859(0xba)](_0x78a4a6);_0x462886&&_0x296f3a&&(_0x462886[_0x33f859(0x104)]=!0x1);}if(_0x3af7e8){const _0x2a108c=this[_0x33f859(0xba)](_0x3af7e8);_0x2a108c&&(_0x3af7e8[_0x33f859(0xf7)]=!0x0,_0x296f3a&&(_0x2a108c[_0x33f859(0x104)]=!0x0,_0x2a108c[_0x33f859(0xe5)]+=0x1),this[_0x33f859(0x109)](_0x2a108c));}}[_0x1aa2d6(0xec)](_0x582210){const _0x3c6682=_0x1aa2d6;if(this[_0x3c6682(0xd9)][_0x3c6682(0xe1)][_0x3c6682(0xcb)](),_0x582210){for(const _0x2efd18 of _0x582210)this[_0x3c6682(0xb6)](_0x2efd18);}this[_0x3c6682(0xd9)][_0x3c6682(0x10a)][_0x3c6682(0xe8)](),this[_0x3c6682(0xd9)][_0x3c6682(0xc3)]='',this[_0x3c6682(0x107)]=null;}[_0x1aa2d6(0xc9)](_0x2dccf0,_0x39bde5){const _0x402021=_0x1aa2d6;_0x39bde5||(_0x39bde5=_0x2dccf0[_0x402021(0xd9)]);const _0x3db9ac=new _0x3952e0(this[_0x402021(0x10c)][_0x402021(0xca)]);this[_0x402021(0xe2)][_0x402021(0xf8)](_0x3db9ac,_0x2dccf0),this[_0x402021(0x100)][_0x402021(0xf8)](_0x2dccf0,_0x3db9ac),_0x3db9ac[_0x402021(0xdb)][_0x402021(0xd3)](_0x39bde5),this[_0x402021(0xf2)](_0x2dccf0[_0x402021(0xd9)],_0x402021(0xfc),(_0x19ed3b,_0x10e07d,_0x20e1a0)=>{const _0xae6dc3=_0x402021,_0x51d03d=this[_0xae6dc3(0xee)](_0x2dccf0,_0x20e1a0);_0x3db9ac[_0xae6dc3(0xd6)]!=_0x51d03d&&(_0x3db9ac[_0xae6dc3(0xd6)]=_0x51d03d,this[_0xae6dc3(0xd7)](_0x3db9ac,_0x51d03d));}),this[_0x402021(0xf2)](_0x3db9ac,_0x402021(0xdf),()=>{const _0xc0830d=_0x402021;this[_0xc0830d(0xc2)](_0x3db9ac,_0xc0830d(0xe5));}),this[_0x402021(0xf2)](_0x3db9ac,_0x402021(0xdc),()=>{const _0x5ef4ba=_0x402021;this[_0x5ef4ba(0xc2)](_0x3db9ac,_0x5ef4ba(0xf1));}),this[_0x402021(0x109)](_0x3db9ac);const _0x40ad4=this[_0x402021(0x101)](_0x3db9ac);if(_0x40ad4)this[_0x402021(0xd1)](_0x40ad4,_0x3db9ac)||this[_0x402021(0x109)](_0x3db9ac);else this[_0x402021(0x109)](_0x3db9ac);return this[_0x402021(0xbe)](),this[_0x402021(0xd9)][_0x402021(0x10a)][_0x402021(0xd3)](_0x3db9ac),_0x3db9ac;}[_0x1aa2d6(0xce)](_0xd0ca73){const _0x474c04=_0x1aa2d6;if(!_0xd0ca73[_0x474c04(0xdb)][_0x474c04(0x10e)])return;const _0x3e9d64=this[_0x474c04(0x101)](_0xd0ca73);if(!_0x3e9d64)return;const _0x1f03fe=this[_0x474c04(0xe2)][_0x474c04(0xe3)](_0x3e9d64),_0xc0a3ac=this[_0x474c04(0xc0)];_0xc0a3ac&&_0xc0a3ac===_0x1f03fe?this[_0x474c04(0xd1)](_0x3e9d64,_0xd0ca73):this[_0x474c04(0xe0)](_0xd0ca73,_0x3e9d64);}[_0x1aa2d6(0xd5)](_0x13634e){const _0x4764c6=_0x1aa2d6;if(!_0x13634e[_0x4764c6(0xdb)][_0x4764c6(0x10e)])return;const _0x1397e7=this[_0x4764c6(0xbb)](_0x13634e);if(!_0x1397e7)return;const _0x28a5dd=this[_0x4764c6(0xe2)][_0x4764c6(0xe3)](_0x1397e7),_0x4060db=this[_0x4764c6(0x10c)][_0x4764c6(0xdd)][_0x4764c6(0xe3)](_0x4764c6(0x10f)),_0x305ea2=this[_0x4764c6(0xc0)];_0x305ea2&&_0x305ea2===_0x28a5dd&&_0x4060db?(this[_0x4764c6(0xe0)](_0x1397e7,_0x13634e),this[_0x4764c6(0xd1)](_0x13634e,_0x1397e7)):_0x305ea2&&_0x305ea2===_0x28a5dd?this[_0x4764c6(0xe0)](_0x1397e7,_0x13634e):this[_0x4764c6(0xd1)](_0x13634e,_0x1397e7);}[_0x1aa2d6(0xc2)](_0x5b1247,_0x2a13cb){const _0x350f52=_0x1aa2d6;0x0===this[_0x350f52(0xb7)][_0x350f52(0x10e)]&&setTimeout(()=>{const _0x1ba234=_0x350f52;for(const {sidebarItemView:_0x428f6b,changedProp:_0x1d48f6}of this[_0x1ba234(0xb7)])_0x1ba234(0xe5)===_0x1d48f6?this[_0x1ba234(0xce)](_0x428f6b):this[_0x1ba234(0xd5)](_0x428f6b);this[_0x1ba234(0xb7)]=[];},0xa),this[_0x350f52(0xb7)][_0x350f52(0xd4)]({'sidebarItemView':_0x5b1247,'changedProp':_0x2a13cb});}[_0x1aa2d6(0xba)](_0x451ba1){const _0x1399a1=_0x1aa2d6;return this[_0x1399a1(0x100)][_0x1399a1(0xe3)](_0x451ba1);}[_0x1aa2d6(0x108)](){const _0x25a760=_0x1aa2d6;this[_0x25a760(0xc8)](),this[_0x25a760(0xd9)][_0x25a760(0x108)]();}[_0x1aa2d6(0xb6)](_0x3892c0){const _0x4610d1=_0x1aa2d6,_0x210af5=this[_0x4610d1(0xba)](_0x3892c0);this[_0x4610d1(0xc8)](_0x210af5),this[_0x4610d1(0xc8)](_0x3892c0[_0x4610d1(0xd9)]),_0x210af5[_0x4610d1(0x108)](),this[_0x4610d1(0x100)][_0x4610d1(0xb8)](_0x3892c0),this[_0x4610d1(0xe2)][_0x4610d1(0xb8)](_0x210af5);}[_0x1aa2d6(0xea)](){const _0x24d7c5=_0x1aa2d6,_0x49b75f=new _0x48c2d6(this[_0x24d7c5(0x10c)][_0x24d7c5(0xca)]);return _0x49b75f[_0x24d7c5(0x103)](),this['on'](_0x24d7c5(0xfa),(_0xf97ae4,_0x315256,_0x45a91b,_0x2bf94b)=>{const _0x42463d=_0x24d7c5;_0x2bf94b&&_0x49b75f[_0x42463d(0xcf)](_0x42463d(0xf4)),_0x45a91b?_0x49b75f[_0x42463d(0xd2)](_0x42463d(0xf4))['to'](_0x45a91b,_0x42463d(0xf1)):_0x49b75f[_0x42463d(0xf4)]=null;}),_0x49b75f;}[_0x1aa2d6(0xbe)](){const _0x42ae29=_0x1aa2d6;this[_0x42ae29(0x107)]=this[_0x42ae29(0xbf)]?.[_0x42ae29(0xc1)]?this[_0x42ae29(0xba)](this[_0x42ae29(0xbf)][_0x42ae29(0xc1)]):null;}[_0x1aa2d6(0x101)](_0x485a2b){const _0x32dcb8=_0x1aa2d6,_0x5649f6=this[_0x32dcb8(0xe2)][_0x32dcb8(0xe3)](_0x485a2b),_0x53da70=_0x5649f6&&this[_0x32dcb8(0xbf)]?.[_0x32dcb8(0xe3)](this[_0x32dcb8(0xbf)][_0x32dcb8(0xe7)](_0x5649f6)-0x1);return _0x53da70&&this[_0x32dcb8(0xba)](_0x53da70)||null;}[_0x1aa2d6(0xbb)](_0x5ff415){const _0x53b8a0=_0x1aa2d6,_0x4c5cc8=this[_0x53b8a0(0xe2)][_0x53b8a0(0xe3)](_0x5ff415),_0x2d4e34=_0x4c5cc8&&this[_0x53b8a0(0xbf)]?.[_0x53b8a0(0xe3)](this[_0x53b8a0(0xbf)][_0x53b8a0(0xe7)](_0x4c5cc8)+0x1);return _0x2d4e34&&this[_0x53b8a0(0xba)](_0x2d4e34)||null;}[_0x1aa2d6(0xe0)](_0x29ce2e,_0xca76f8){const _0x54e809=_0x1aa2d6;_0x29ce2e[_0x54e809(0xf9)]();const _0x249552=G(_0xca76f8[_0x54e809(0xf1)]+this[_0x54e809(0xcc)],_0x29ce2e[_0x54e809(0xe5)]);return!!_0x249552&&(this[_0x54e809(0xd7)](_0xca76f8,_0xca76f8[_0x54e809(0xe5)]-_0x249552),!0x0);}[_0x1aa2d6(0xd1)](_0x220c2b,_0x1678ca){const _0x20b84e=_0x1aa2d6;_0x220c2b[_0x20b84e(0xf9)]();const _0x4d8326=G(_0x220c2b[_0x20b84e(0xf1)]+this[_0x20b84e(0xcc)],_0x1678ca[_0x20b84e(0xe5)]);return!!_0x4d8326&&(this[_0x20b84e(0xd7)](_0x1678ca,_0x1678ca[_0x20b84e(0xe5)]+_0x4d8326,!0x1),!0x0);}[_0x1aa2d6(0x109)](_0x5bbc66){const _0x1cdb0=_0x1aa2d6,_0x8a9aec=this[_0x1cdb0(0xe2)][_0x1cdb0(0xe3)](_0x5bbc66);if(!_0x8a9aec||!_0x8a9aec[_0x1cdb0(0xd8)]||!_0x8a9aec[_0x1cdb0(0xfd)])return;const _0x2361ea=this[_0x1cdb0(0xee)](_0x8a9aec,_0x8a9aec[_0x1cdb0(0xfd)]);this[_0x1cdb0(0xd7)](_0x5bbc66,_0x2361ea);}[_0x1aa2d6(0xee)](_0x295e7f,_0x2140ff){const _0x2f2e61=_0x1aa2d6;if(null===_0x2140ff)return 0x0;if(_0x295e7f[_0x2f2e61(0xd8)]instanceof _0x2cd50f)return _0x2140ff[_0x2f2e61(0xe5)];{const _0x5c7b9c=new _0x2cd50f(this[_0x2f2e61(0xd9)][_0x2f2e61(0xe1)])[_0x2f2e61(0xe5)];return _0x2140ff[_0x2f2e61(0xe5)]-_0x5c7b9c;}}[_0x1aa2d6(0xd7)](_0x145c91,_0x11d67c,_0x18d3fa=this[_0x1aa2d6(0x10c)][_0x1aa2d6(0xdd)][_0x1aa2d6(0xe3)](_0x1aa2d6(0x10f))){const _0x58869=_0x1aa2d6;_0x18d3fa&&(_0x11d67c=Math[_0x58869(0xf0)](_0x11d67c,this[_0x58869(0xeb)](_0x145c91))),_0x145c91[_0x58869(0xe5)]=_0x11d67c;}[_0x1aa2d6(0xeb)](_0x5f193d){const _0x442983=_0x1aa2d6;let _0x49c28a=this[_0x442983(0x101)](_0x5f193d),_0x5b4dbf=0x0;for(;_0x49c28a;)_0x49c28a[_0x442983(0xf9)](),_0x5b4dbf+=this[_0x442983(0xcc)]+_0x49c28a[_0x442983(0xe9)],_0x49c28a=this[_0x442983(0x101)](_0x49c28a);return _0x5b4dbf;}}function G(_0x42d707,_0x2a5aed){const _0x571634=_0x1aa2d6;return Math[_0x571634(0xf0)](_0x42d707-_0x2a5aed,0x0);}function _0x468a(){const _0x1ffdbf=['targetRect','sidebar.container','init','_annotationToSidebarItemView','_getItemBefore','appendChild','render','isAnimationDisabled','2138455fjzyhB','setContainer','_lastItem','destroy','_alignToTargetRect','list','refresh','context','6jSYJwn','length','sidebar.preventScrollOutOfView','79408vgHIJG','_destroySidebarItemView','_recalculateBuffer','delete','nodeType','getSidebarItemView','_getItemAfter','pluginName','sidebar-setcontainer-invalid-element','_updateLastItem','_annotations','_activeAnnotation','last','_recalculate','class','87ijvyDu','Sidebar','1484352GxQRBx','13224530ObmjcD','stopListening','addAnnotation','locale','remove','_spaceBetweenItems','object','_alignForTopChange','unbind','rearrange','_alignAfterItem','bind','add','push','_alignForBottomChange','_targetTop','_setItemTop','target','view','container','content','change:bottom','config','6094200DyZoyd','change:top','_alignBeforeItem','element','_sidebarItemViewToAnnotation','get','isOfficialPlugin','top','5754tatoqw','getIndex','clear','height','_createSidebarView','_getMaxAvailableTop','_detachFromContainer','_attachToContainer','_getTargetTop','sidebar-attachtocontainer-missing-container','max','bottom','listenTo','8VYHFVf','minHeight','8647668fLIPKn','define','isActive','set','updateHeight','change:_lastItem','isPremiumPlugin','change:targetRect'];_0x468a=function(){return _0x1ffdbf;};return _0x468a();}function _0x3d63(_0x204985,_0x12f381){const _0x468afb=_0x468a();return _0x3d63=function(_0x3d636e,_0x5663f7){_0x3d636e=_0x3d636e-0xb5;let _0x30c459=_0x468afb[_0x3d636e];return _0x30c459;},_0x3d63(_0x204985,_0x12f381);}function g(_0xeab0cd){const _0x3441d9=_0x1aa2d6;return null!==_0xeab0cd&&_0x3441d9(0xcd)==typeof _0xeab0cd&&0x1===_0xeab0cd[_0x3441d9(0xb9)];}
|
|
23
|
+
function _0x3f55(_0x3e67b9,_0x2de22f){const _0x18be34=_0x18be();return _0x3f55=function(_0x3f550e,_0x94ac4d){_0x3f550e=_0x3f550e-0x10f;let _0x31dd83=_0x18be34[_0x3f550e];return _0x31dd83;},_0x3f55(_0x3e67b9,_0x2de22f);}function _0x18be(){const _0xa99b5a=['1575336eKxJEj','isAnimationDisabled','27zqqLmN','_alignForBottomChange','_alignForTopChange','define','_recalculate','class','Sidebar','3693494gKvNiG','locale','height','clear','view','change:top','top','57hQNIJD','change:_lastItem','unbind','getSidebarItemView','pluginName','sidebar-setcontainer-invalid-element','container','sidebar.container','max','getIndex','setContainer','render','_getItemBefore','change:bottom','bind','_annotationToSidebarItemView','_destroySidebarItemView','_detachFromContainer','12mknWRe','element','_alignToTargetRect','19355050ElhXWo','_getItemAfter','listenTo','_spaceBetweenItems','init','add','_annotations','context','updateHeight','2700344zlPaQY','_updateLastItem','appendChild','addAnnotation','isActive','_activeAnnotation','destroy','isPremiumPlugin','_setItemTop','_sidebarItemViewToAnnotation','5926AipYDJ','stopListening','list','sidebar-attachtocontainer-missing-container','get','change:targetRect','_createSidebarView','minHeight','rearrange','content','config','delete','6861755zHogBl','nodeType','bottom','length','object','last','set','target','_targetTop','push','sidebar.preventScrollOutOfView','_getTargetTop','_alignAfterItem','_recalculateBuffer','288094UrBDED','targetRect','isOfficialPlugin','refresh','_lastItem','_alignBeforeItem','remove','_getMaxAvailableTop','_attachToContainer'];_0x18be=function(){return _0xa99b5a;};return _0x18be();}const _0x2a47a8=_0x3f55;(function(_0x3045cf,_0x4361e7){const _0x1ad510=_0x3f55,_0x48e276=_0x3045cf();while(!![]){try{const _0x2bda1a=-parseInt(_0x1ad510(0x13a))/0x1+-parseInt(_0x1ad510(0x120))/0x2*(-parseInt(_0x1ad510(0x153))/0x3)+-parseInt(_0x1ad510(0x143))/0x4+parseInt(_0x1ad510(0x12c))/0x5+parseInt(_0x1ad510(0x165))/0x6*(parseInt(_0x1ad510(0x14c))/0x7)+-parseInt(_0x1ad510(0x116))/0x8*(-parseInt(_0x1ad510(0x145))/0x9)+-parseInt(_0x1ad510(0x168))/0xa;if(_0x2bda1a===_0x4361e7)break;else _0x48e276['push'](_0x48e276['shift']());}catch(_0x64e641){_0x48e276['push'](_0x48e276['shift']());}}}(_0x18be,0xd6a18));import{ContextPlugin as _0x489aad}from'ckeditor5/src/core.js';import{Rect as _0x5d5185,CKEditorError as _0x2692a4}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x42d38a}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x3e056b}from'./view/sidebaritemview.js';export class Sidebar extends _0x489aad{[_0x2a47a8(0x150)];[_0x2a47a8(0x11b)];[_0x2a47a8(0x113)];[_0x2a47a8(0x110)];[_0x2a47a8(0x11f)];[_0x2a47a8(0x162)];[_0x2a47a8(0x139)];static get[_0x2a47a8(0x157)](){const _0x54b943=_0x2a47a8;return _0x54b943(0x14b);}static get[_0x2a47a8(0x13c)](){return!0x0;}static get[_0x2a47a8(0x11d)](){return!0x0;}constructor(_0xb9fbee){const _0x2d9862=_0x2a47a8;super(_0xb9fbee),this[_0x2d9862(0x132)](_0x2d9862(0x13e),void 0x0),this[_0x2d9862(0x150)]=this[_0x2d9862(0x126)](),this[_0x2d9862(0x132)](_0x2d9862(0x159),null),this[_0x2d9862(0x110)]=0x19,this[_0x2d9862(0x11f)]=new Map(),this[_0x2d9862(0x162)]=new Map(),this[_0x2d9862(0x114)][_0x2d9862(0x12a)][_0x2d9862(0x148)](_0x2d9862(0x136),!0x1),this[_0x2d9862(0x113)]=null,this[_0x2d9862(0x11b)]=null,this[_0x2d9862(0x139)]=[];}[_0x2a47a8(0x111)](){const _0x30fef0=_0x2a47a8,_0x25e8e6=this[_0x30fef0(0x114)][_0x30fef0(0x12a)][_0x30fef0(0x124)](_0x30fef0(0x15a));_0x25e8e6&&this[_0x30fef0(0x15d)](_0x25e8e6);}[_0x2a47a8(0x15d)](_0x22bb93){const _0x37bb09=_0x2a47a8;if(!g(_0x22bb93))throw new _0x2692a4(_0x37bb09(0x158));this[_0x37bb09(0x159)]=_0x22bb93;}[_0x2a47a8(0x142)]({viewClass:_0x448717='',spaceBetweenItems:_0x455aea=0x19}={}){const _0x101763=_0x2a47a8;if(!g(this[_0x101763(0x159)]))throw new _0x2692a4(_0x101763(0x123),this);this[_0x101763(0x159)][_0x101763(0x118)](this[_0x101763(0x150)][_0x101763(0x166)]),this[_0x101763(0x150)][_0x101763(0x14a)]=_0x448717,this[_0x101763(0x110)]=_0x455aea;}[_0x2a47a8(0x128)]({removedAnnotation:_0x117ce2,previousAnnotation:_0x4627b2,nextAnnotation:_0x108e5f}){const _0x582eda=_0x2a47a8,_0x367628=this[_0x582eda(0x156)](_0x117ce2);this[_0x582eda(0x150)][_0x582eda(0x122)][_0x582eda(0x140)](_0x367628),this[_0x582eda(0x163)](_0x117ce2),_0x4627b2&&this[_0x582eda(0x167)](this[_0x582eda(0x156)](_0x4627b2)),_0x108e5f&&this[_0x582eda(0x167)](this[_0x582eda(0x156)](_0x108e5f)),this[_0x582eda(0x117)]();}[_0x2a47a8(0x13d)]({blurredAnnotation:_0x4165ce,activatedAnnotation:_0xf98b9b,disableAnimationOnActivatedAnnotation:_0x32b098}){const _0x46ad5d=_0x2a47a8;if(this[_0x46ad5d(0x11b)]=_0xf98b9b,_0x4165ce){_0x4165ce[_0x46ad5d(0x11a)]=!0x1;const _0x30d111=this[_0x46ad5d(0x156)](_0x4165ce);_0x30d111&&_0x32b098&&(_0x30d111[_0x46ad5d(0x144)]=!0x1);}if(_0xf98b9b){const _0x24af11=this[_0x46ad5d(0x156)](_0xf98b9b);_0x24af11&&(_0xf98b9b[_0x46ad5d(0x11a)]=!0x0,_0x32b098&&(_0x24af11[_0x46ad5d(0x144)]=!0x0,_0x24af11[_0x46ad5d(0x152)]+=0x1),this[_0x46ad5d(0x167)](_0x24af11));}}[_0x2a47a8(0x164)](_0x25bd60){const _0x6f3beb=_0x2a47a8;if(this[_0x6f3beb(0x150)][_0x6f3beb(0x166)][_0x6f3beb(0x140)](),_0x25bd60){for(const _0xad331d of _0x25bd60)this[_0x6f3beb(0x163)](_0xad331d);}this[_0x6f3beb(0x150)][_0x6f3beb(0x122)][_0x6f3beb(0x14f)](),this[_0x6f3beb(0x150)][_0x6f3beb(0x14a)]='',this[_0x6f3beb(0x13e)]=null;}[_0x2a47a8(0x119)](_0x54d416,_0x13d8a3){const _0x2df965=_0x2a47a8;_0x13d8a3||(_0x13d8a3=_0x54d416[_0x2df965(0x150)]);const _0x13d599=new _0x3e056b(this[_0x2df965(0x114)][_0x2df965(0x14d)]);this[_0x2df965(0x11f)][_0x2df965(0x132)](_0x13d599,_0x54d416),this[_0x2df965(0x162)][_0x2df965(0x132)](_0x54d416,_0x13d599),_0x13d599[_0x2df965(0x129)][_0x2df965(0x112)](_0x13d8a3),this[_0x2df965(0x10f)](_0x54d416[_0x2df965(0x150)],_0x2df965(0x125),(_0x37a788,_0x178ebd,_0x36da6b)=>{const _0x97a2c9=_0x2df965,_0x546e97=this[_0x97a2c9(0x137)](_0x54d416,_0x36da6b);_0x13d599[_0x97a2c9(0x134)]!=_0x546e97&&(_0x13d599[_0x97a2c9(0x134)]=_0x546e97,this[_0x97a2c9(0x11e)](_0x13d599,_0x546e97));}),this[_0x2df965(0x10f)](_0x13d599,_0x2df965(0x151),()=>{const _0x5dca95=_0x2df965;this[_0x5dca95(0x149)](_0x13d599,_0x5dca95(0x152));}),this[_0x2df965(0x10f)](_0x13d599,_0x2df965(0x160),()=>{const _0x58508f=_0x2df965;this[_0x58508f(0x149)](_0x13d599,_0x58508f(0x12e));}),this[_0x2df965(0x167)](_0x13d599);const _0x599b36=this[_0x2df965(0x15f)](_0x13d599);if(_0x599b36)this[_0x2df965(0x138)](_0x599b36,_0x13d599)||this[_0x2df965(0x167)](_0x13d599);else this[_0x2df965(0x167)](_0x13d599);return this[_0x2df965(0x117)](),this[_0x2df965(0x150)][_0x2df965(0x122)][_0x2df965(0x112)](_0x13d599),_0x13d599;}[_0x2a47a8(0x147)](_0x4d75f8){const _0x4d14b7=_0x2a47a8;if(!_0x4d75f8[_0x4d14b7(0x129)][_0x4d14b7(0x12f)])return;const _0x467790=this[_0x4d14b7(0x15f)](_0x4d75f8);if(!_0x467790)return;const _0x35d4a8=this[_0x4d14b7(0x11f)][_0x4d14b7(0x124)](_0x467790),_0x6d664d=this[_0x4d14b7(0x11b)];_0x6d664d&&_0x6d664d===_0x35d4a8?this[_0x4d14b7(0x138)](_0x467790,_0x4d75f8):this[_0x4d14b7(0x13f)](_0x4d75f8,_0x467790);}[_0x2a47a8(0x146)](_0x5c994d){const _0x4b4692=_0x2a47a8;if(!_0x5c994d[_0x4b4692(0x129)][_0x4b4692(0x12f)])return;const _0x5e68be=this[_0x4b4692(0x169)](_0x5c994d);if(!_0x5e68be)return;const _0x129189=this[_0x4b4692(0x11f)][_0x4b4692(0x124)](_0x5e68be),_0x1e37c2=this[_0x4b4692(0x114)][_0x4b4692(0x12a)][_0x4b4692(0x124)](_0x4b4692(0x136)),_0xf0436e=this[_0x4b4692(0x11b)];_0xf0436e&&_0xf0436e===_0x129189&&_0x1e37c2?(this[_0x4b4692(0x13f)](_0x5e68be,_0x5c994d),this[_0x4b4692(0x138)](_0x5c994d,_0x5e68be)):_0xf0436e&&_0xf0436e===_0x129189?this[_0x4b4692(0x13f)](_0x5e68be,_0x5c994d):this[_0x4b4692(0x138)](_0x5c994d,_0x5e68be);}[_0x2a47a8(0x149)](_0x57ddfb,_0x5b4da0){const _0x4ccb50=_0x2a47a8;0x0===this[_0x4ccb50(0x139)][_0x4ccb50(0x12f)]&&setTimeout(()=>{const _0x2d7a8f=_0x4ccb50;for(const {sidebarItemView:_0x5ed920,changedProp:_0x1cafd4}of this[_0x2d7a8f(0x139)])_0x2d7a8f(0x152)===_0x1cafd4?this[_0x2d7a8f(0x147)](_0x5ed920):this[_0x2d7a8f(0x146)](_0x5ed920);this[_0x2d7a8f(0x139)]=[];},0xa),this[_0x4ccb50(0x139)][_0x4ccb50(0x135)]({'sidebarItemView':_0x57ddfb,'changedProp':_0x5b4da0});}[_0x2a47a8(0x156)](_0x2b7f97){const _0x3175e5=_0x2a47a8;return this[_0x3175e5(0x162)][_0x3175e5(0x124)](_0x2b7f97);}[_0x2a47a8(0x11c)](){const _0x1f3e9d=_0x2a47a8;this[_0x1f3e9d(0x121)](),this[_0x1f3e9d(0x150)][_0x1f3e9d(0x11c)]();}[_0x2a47a8(0x163)](_0x64ab8f){const _0x2dd364=_0x2a47a8,_0x5ba396=this[_0x2dd364(0x156)](_0x64ab8f);this[_0x2dd364(0x121)](_0x5ba396),this[_0x2dd364(0x121)](_0x64ab8f[_0x2dd364(0x150)]),_0x5ba396[_0x2dd364(0x11c)](),this[_0x2dd364(0x162)][_0x2dd364(0x12b)](_0x64ab8f),this[_0x2dd364(0x11f)][_0x2dd364(0x12b)](_0x5ba396);}[_0x2a47a8(0x126)](){const _0x5de639=_0x2a47a8,_0x29365f=new _0x42d38a(this[_0x5de639(0x114)][_0x5de639(0x14d)]);return _0x29365f[_0x5de639(0x15e)](),this['on'](_0x5de639(0x154),(_0x5bd71d,_0x4157d1,_0x45044d,_0x2ed289)=>{const _0x37fdff=_0x5de639;_0x2ed289&&_0x29365f[_0x37fdff(0x155)](_0x37fdff(0x127)),_0x45044d?_0x29365f[_0x37fdff(0x161)](_0x37fdff(0x127))['to'](_0x45044d,_0x37fdff(0x12e)):_0x29365f[_0x37fdff(0x127)]=null;}),_0x29365f;}[_0x2a47a8(0x117)](){const _0x27b2a7=_0x2a47a8;this[_0x27b2a7(0x13e)]=this[_0x27b2a7(0x113)]?.[_0x27b2a7(0x131)]?this[_0x27b2a7(0x156)](this[_0x27b2a7(0x113)][_0x27b2a7(0x131)]):null;}[_0x2a47a8(0x15f)](_0x53af7b){const _0x268ba7=_0x2a47a8,_0x5ca569=this[_0x268ba7(0x11f)][_0x268ba7(0x124)](_0x53af7b),_0x51de87=_0x5ca569&&this[_0x268ba7(0x113)]?.[_0x268ba7(0x124)](this[_0x268ba7(0x113)][_0x268ba7(0x15c)](_0x5ca569)-0x1);return _0x51de87&&this[_0x268ba7(0x156)](_0x51de87)||null;}[_0x2a47a8(0x169)](_0x52d59e){const _0x15f4a1=_0x2a47a8,_0x3ae43e=this[_0x15f4a1(0x11f)][_0x15f4a1(0x124)](_0x52d59e),_0x171781=_0x3ae43e&&this[_0x15f4a1(0x113)]?.[_0x15f4a1(0x124)](this[_0x15f4a1(0x113)][_0x15f4a1(0x15c)](_0x3ae43e)+0x1);return _0x171781&&this[_0x15f4a1(0x156)](_0x171781)||null;}[_0x2a47a8(0x13f)](_0x2d00e8,_0x10fcf1){const _0x2149de=_0x2a47a8;_0x2d00e8[_0x2149de(0x115)]();const _0x399976=G(_0x10fcf1[_0x2149de(0x12e)]+this[_0x2149de(0x110)],_0x2d00e8[_0x2149de(0x152)]);return!!_0x399976&&(this[_0x2149de(0x11e)](_0x10fcf1,_0x10fcf1[_0x2149de(0x152)]-_0x399976),!0x0);}[_0x2a47a8(0x138)](_0x2b4a1e,_0x4235ef){const _0x4c037a=_0x2a47a8;_0x2b4a1e[_0x4c037a(0x115)]();const _0x5ba3d0=G(_0x2b4a1e[_0x4c037a(0x12e)]+this[_0x4c037a(0x110)],_0x4235ef[_0x4c037a(0x152)]);return!!_0x5ba3d0&&(this[_0x4c037a(0x11e)](_0x4235ef,_0x4235ef[_0x4c037a(0x152)]+_0x5ba3d0,!0x1),!0x0);}[_0x2a47a8(0x167)](_0x4bb66f){const _0x40fc08=_0x2a47a8,_0x1e98f5=this[_0x40fc08(0x11f)][_0x40fc08(0x124)](_0x4bb66f);if(!_0x1e98f5||!_0x1e98f5[_0x40fc08(0x133)]||!_0x1e98f5[_0x40fc08(0x13b)])return;const _0x468c80=this[_0x40fc08(0x137)](_0x1e98f5,_0x1e98f5[_0x40fc08(0x13b)]);this[_0x40fc08(0x11e)](_0x4bb66f,_0x468c80);}[_0x2a47a8(0x137)](_0x69b005,_0x336ec8){const _0xd0e06=_0x2a47a8;if(null===_0x336ec8)return 0x0;if(_0x69b005[_0xd0e06(0x133)]instanceof _0x5d5185)return _0x336ec8[_0xd0e06(0x152)];{const _0x43c0c6=new _0x5d5185(this[_0xd0e06(0x150)][_0xd0e06(0x166)])[_0xd0e06(0x152)];return _0x336ec8[_0xd0e06(0x152)]-_0x43c0c6;}}[_0x2a47a8(0x11e)](_0xb98441,_0x5d3285,_0x23672e=this[_0x2a47a8(0x114)][_0x2a47a8(0x12a)][_0x2a47a8(0x124)](_0x2a47a8(0x136))){const _0x3a05c6=_0x2a47a8;_0x23672e&&(_0x5d3285=Math[_0x3a05c6(0x15b)](_0x5d3285,this[_0x3a05c6(0x141)](_0xb98441))),_0xb98441[_0x3a05c6(0x152)]=_0x5d3285;}[_0x2a47a8(0x141)](_0x5d0e37){const _0x43c530=_0x2a47a8;let _0x2ade48=this[_0x43c530(0x15f)](_0x5d0e37),_0x4ae976=0x0;for(;_0x2ade48;)_0x2ade48[_0x43c530(0x115)](),_0x4ae976+=this[_0x43c530(0x110)]+_0x2ade48[_0x43c530(0x14e)],_0x2ade48=this[_0x43c530(0x15f)](_0x2ade48);return _0x4ae976;}}function G(_0x19dc6d,_0x4a3c77){const _0x5cd4a2=_0x2a47a8;return Math[_0x5cd4a2(0x15b)](_0x19dc6d-_0x4a3c77,0x0);}function g(_0x2729b9){const _0x89028a=_0x2a47a8;return null!==_0x2729b9&&_0x89028a(0x130)==typeof _0x2729b9&&0x1===_0x2729b9[_0x89028a(0x12d)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d12(){const _0x7e1c7f=['setTemplate','35Dtumes','13447uZsExO','ck-annotation-counter__badge--','62nMiZnd','isDirty','span','add','counterView','ck-annotation-counter','288iPQMoC','annotationType','114gdqjig','ck-annotation-counter__badge','bind','3710052PxIOQT','185752ArxpKw','icon','...','extendTemplate','children','bindTemplate','ck-annotation-counter__badge--edit-mode','90IiTARj','4817813ezaZss','toString','133030hnyZzs','147708VjFzVl','52724YHqPPY','_badge','set','number'];_0x2d12=function(){return _0x7e1c7f;};return _0x2d12();}const _0x5de80a=_0x1f5e;(function(_0x4c920a,_0x764c6d){const _0x1a19cf=_0x1f5e,_0xa3df47=_0x4c920a();while(!![]){try{const _0x3efd4c=parseInt(_0x1a19cf(0xbe))/0x1*(-parseInt(_0x1a19cf(0xc0))/0x2)+-parseInt(_0x1a19cf(0xa8))/0x3*(-parseInt(_0x1a19cf(0xb8))/0x4)+-parseInt(_0x1a19cf(0xb3))/0x5*(-parseInt(_0x1a19cf(0xb7))/0x6)+parseInt(_0x1a19cf(0xbd))/0x7*(parseInt(_0x1a19cf(0xac))/0x8)+parseInt(_0x1a19cf(0xa6))/0x9*(parseInt(_0x1a19cf(0xb6))/0xa)+-parseInt(_0x1a19cf(0xb4))/0xb+-parseInt(_0x1a19cf(0xab))/0xc;if(_0x3efd4c===_0x764c6d)break;else _0xa3df47['push'](_0xa3df47['shift']());}catch(_0x459683){_0xa3df47['push'](_0xa3df47['shift']());}}}(_0x2d12,0x4e8f6));import{ButtonView as _0x383141,View as _0x5b27cf}from'ckeditor5/src/ui.js';function _0x1f5e(_0x4db5ff,_0x2c148c){const _0x2d1235=_0x2d12();return _0x1f5e=function(_0x1f5e78,_0x2346bb){_0x1f5e78=_0x1f5e78-0xa1;let _0x5a53f9=_0x2d1235[_0x1f5e78];return _0x5a53f9;},_0x1f5e(_0x4db5ff,_0x2c148c);}import{IconAddComment as _0x53627e}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x383141{[_0x5de80a(0xa4)];constructor(_0x57c1f6){const _0x36aa36=_0x5de80a;super(_0x57c1f6);const _0x15b5fa=this[_0x36aa36(0xb1)];this[_0x36aa36(0xba)](_0x36aa36(0xa1),!0x1),this[_0x36aa36(0xba)](_0x36aa36(0xbb),0x0),this[_0x36aa36(0xaa)](_0x36aa36(0xb9))['to'](this,_0x36aa36(0xa1),this,_0x36aa36(0xbb),(_0x3e2652,_0x17b9cf)=>_0x3e2652?_0x36aa36(0xae):_0x17b9cf[_0x36aa36(0xb5)]()),this[_0x36aa36(0xba)](_0x36aa36(0xa7),''),this[_0x36aa36(0xad)]=_0x53627e,this[_0x36aa36(0xaf)]({'attributes':{'class':[_0x36aa36(0xa5)]}}),this[_0x36aa36(0xa4)]=new _0x5b27cf(),this[_0x36aa36(0xa4)][_0x36aa36(0xbc)]({'tag':_0x36aa36(0xa2),'attributes':{'class':[_0x36aa36(0xa9),_0x15b5fa['to'](_0x36aa36(0xa7),_0x127839=>_0x36aa36(0xbf)+_0x127839),_0x15b5fa['if'](_0x36aa36(0xa1),_0x36aa36(0xb2))]},'children':[{'text':_0x15b5fa['to'](_0x36aa36(0xb9))}]}),this[_0x36aa36(0xb0)][_0x36aa36(0xa3)](this[_0x36aa36(0xa4)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x349bb3=_0x53ca;function _0x433b(){const _0x22a049=['set','22yhgqvb','1Bycusi','keystrokes','first','length','div','1464thRwgT','bindTemplate','arrowup','targetRect','element','focus','fire','2601378yBoNTk','Esc','type','render','ck-annotation-wrapper--active','6276945ZPnwkq','3377366OdJDsI','height','presentation','attach','add','detach','4ldIgQY','isActive','mainView','_mutationObserver','focusTracker','createCollection','delegate','_updateHeight','2830140NcpYTP','isDirty','content','destroy','clear','listenTo','arrowdown','1015704CPgrSd','clientHeight','setTemplate','19873Xlznff','6324507kPuYBV','ck-rounded-corners','ck-annotation-wrapper'];_0x433b=function(){return _0x22a049;};return _0x433b();}(function(_0x359178,_0x39c181){const _0x3eabf5=_0x53ca,_0x192037=_0x359178();while(!![]){try{const _0x7415d7=parseInt(_0x3eabf5(0x18f))/0x1*(parseInt(_0x3eabf5(0x171))/0x2)+parseInt(_0x3eabf5(0x19b))/0x3+parseInt(_0x3eabf5(0x177))/0x4*(-parseInt(_0x3eabf5(0x1a0))/0x5)+-parseInt(_0x3eabf5(0x194))/0x6*(-parseInt(_0x3eabf5(0x189))/0x7)+parseInt(_0x3eabf5(0x186))/0x8+-parseInt(_0x3eabf5(0x18a))/0x9+-parseInt(_0x3eabf5(0x17f))/0xa*(parseInt(_0x3eabf5(0x18e))/0xb);if(_0x7415d7===_0x39c181)break;else _0x192037['push'](_0x192037['shift']());}catch(_0x40aae3){_0x192037['push'](_0x192037['shift']());}}}(_0x433b,0xcfd94));import{View as _0xbff808}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1c8334,KeystrokeHandler as _0x5319d8,uid as _0x53e522}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x591156}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x53ca(_0x3b1d07,_0x4a93c5){const _0x433b6e=_0x433b();return _0x53ca=function(_0x53cab6,_0xc8910c){_0x53cab6=_0x53cab6-0x171;let _0x2fec8f=_0x433b6e[_0x53cab6];return _0x2fec8f;},_0x53ca(_0x3b1d07,_0x4a93c5);}export class AnnotationView extends _0xbff808{[_0x349bb3(0x17b)];['id'];[_0x349bb3(0x190)];[_0x349bb3(0x181)];[_0x349bb3(0x179)];[_0x349bb3(0x17a)];constructor(_0x2160b3,_0x11a6e6){const _0x38ccc4=_0x349bb3;super(_0x2160b3),this['id']=_0x53e522(),this[_0x38ccc4(0x17b)]=new _0x1c8334(),this[_0x38ccc4(0x190)]=new _0x5319d8(),this[_0x38ccc4(0x190)][_0x38ccc4(0x18d)](_0x38ccc4(0x19c),(_0x4af3a9,_0x3b1517)=>this[_0x38ccc4(0x19a)](_0x38ccc4(0x19c),_0x3b1517)),this[_0x38ccc4(0x18d)](_0x38ccc4(0x197),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x38ccc4(0x18d)](_0x38ccc4(0x172),0x0),this[_0x38ccc4(0x18d)](_0x38ccc4(0x178),!0x1),this[_0x38ccc4(0x18d)](_0x38ccc4(0x180),!0x1),this[_0x38ccc4(0x18d)](_0x38ccc4(0x192),0x0),this[_0x38ccc4(0x18d)](_0x38ccc4(0x19d),''),this[_0x38ccc4(0x17a)]=_0x591156(()=>this[_0x38ccc4(0x17e)]()),this[_0x38ccc4(0x181)]=this[_0x38ccc4(0x17c)](),this[_0x38ccc4(0x181)][_0x38ccc4(0x17d)](_0x38ccc4(0x196),_0x38ccc4(0x185))['to'](this),this[_0x38ccc4(0x181)][_0x38ccc4(0x175)](_0x11a6e6),this[_0x38ccc4(0x179)]=_0x11a6e6;const _0x4c4eb5=this[_0x38ccc4(0x195)];this[_0x38ccc4(0x188)]({'tag':_0x38ccc4(0x193),'attributes':{'class':['ck',_0x38ccc4(0x18c),_0x38ccc4(0x18b),_0x4c4eb5['if'](_0x38ccc4(0x178),_0x38ccc4(0x19f))],'role':_0x38ccc4(0x173)},'children':this[_0x38ccc4(0x181)]});}[_0x349bb3(0x19e)](){const _0x4a0da7=_0x349bb3;super[_0x4a0da7(0x19e)](),this[_0x4a0da7(0x17b)][_0x4a0da7(0x175)](this[_0x4a0da7(0x198)]),this[_0x4a0da7(0x190)][_0x4a0da7(0x184)](this[_0x4a0da7(0x198)]),this[_0x4a0da7(0x17a)][_0x4a0da7(0x174)](this[_0x4a0da7(0x198)]);}[_0x349bb3(0x182)](){const _0x4be204=_0x349bb3;this[_0x4be204(0x181)][_0x4be204(0x183)](),this[_0x4be204(0x190)][_0x4be204(0x182)](),this[_0x4be204(0x17b)][_0x4be204(0x182)](),this[_0x4be204(0x17a)][_0x4be204(0x176)](),super[_0x4be204(0x182)]();}[_0x349bb3(0x199)](){const _0x4dd06e=_0x349bb3;this[_0x4dd06e(0x181)][_0x4dd06e(0x191)]&&this[_0x4dd06e(0x181)][_0x4dd06e(0x191)][_0x4dd06e(0x199)]();}[_0x349bb3(0x17e)](){const _0x2069a9=_0x349bb3,_0xec8876=this[_0x2069a9(0x198)][_0x2069a9(0x187)];_0xec8876&&(this[_0x2069a9(0x172)]=_0xec8876);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x535c(_0x5b346a,_0x4c3646){const _0xbe0b7e=_0xbe0b();return _0x535c=function(_0x535ce2,_0x5cb18a){_0x535ce2=_0x535ce2-0x139;let _0x2a599b=_0xbe0b7e[_0x535ce2];return _0x2a599b;},_0x535c(_0x5b346a,_0x4c3646);}const _0xaf28a3=_0x535c;(function(_0x59235b,_0x151309){const _0x3882f6=_0x535c,_0x227dfe=_0x59235b();while(!![]){try{const _0xd4fa99=parseInt(_0x3882f6(0x15d))/0x1*(-parseInt(_0x3882f6(0x143))/0x2)+-parseInt(_0x3882f6(0x154))/0x3*(parseInt(_0x3882f6(0x160))/0x4)+-parseInt(_0x3882f6(0x15e))/0x5+-parseInt(_0x3882f6(0x15b))/0x6*(parseInt(_0x3882f6(0x15a))/0x7)+parseInt(_0x3882f6(0x142))/0x8+parseInt(_0x3882f6(0x146))/0x9*(parseInt(_0x3882f6(0x141))/0xa)+parseInt(_0x3882f6(0x158))/0xb;if(_0xd4fa99===_0x151309)break;else _0x227dfe['push'](_0x227dfe['shift']());}catch(_0x314739){_0x227dfe['push'](_0x227dfe['shift']());}}}(_0xbe0b,0xda761));import{View as _0x523384}from'ckeditor5/src/ui.js';import{toUnit as _0x23d3e8}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x5523df}from'../../utils/createmutationobserver.js';function _0xbe0b(){const _0xf36a18=['ck-sidebar-item--no-animation','45613964pcurBk','render','7HzlTWj','2520582rpFBuS','createCollection','2KxuKBP','6445500sldbKO','_targetTop','152BBwjbg','ck-sidebar-item','destroy','bind','clear','first','bottom','arrowdown','setTemplate','8799670xPsHZt','6190968QdtXXK','1659410NmxRkH','_mutationObserver','element','9NJdtHQ','clientHeight','updateHeight','detach','focus','height','set','bindTemplate','presentation','attach','isAnimationDisabled','delegate','content','div','121353mxXERA','arrowup','top'];_0xbe0b=function(){return _0xf36a18;};return _0xbe0b();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x23d3e8('px');export class AnnotationsSidebarItemView extends _0x523384{[_0xaf28a3(0x152)];[_0xaf28a3(0x15f)];[_0xaf28a3(0x144)];constructor(_0xf5f3c7){const _0x4b71f6=_0xaf28a3;super(_0xf5f3c7),this[_0x4b71f6(0x14c)](_0x4b71f6(0x156),0x0),this[_0x4b71f6(0x14c)](_0x4b71f6(0x14b),0x0),this[_0x4b71f6(0x13b)](_0x4b71f6(0x13e))['to'](this,_0x4b71f6(0x156),this,_0x4b71f6(0x14b),(_0xc2d4b2,_0x15fcae)=>_0xc2d4b2+_0x15fcae),this[_0x4b71f6(0x14c)](_0x4b71f6(0x150),!0x1),this[_0x4b71f6(0x144)]=_0x5523df(()=>this[_0x4b71f6(0x148)]()),this[_0x4b71f6(0x15f)]=null,this[_0x4b71f6(0x152)]=this[_0x4b71f6(0x15c)](),this[_0x4b71f6(0x152)][_0x4b71f6(0x151)](_0x4b71f6(0x155),_0x4b71f6(0x13f))['to'](this);const _0x482b75=this[_0x4b71f6(0x14d)];this[_0x4b71f6(0x140)]({'tag':_0x4b71f6(0x153),'attributes':{'class':[_0x4b71f6(0x139),_0x482b75['to'](_0x4b71f6(0x150),_0x4885fb=>_0x4885fb?_0x4b71f6(0x157):'')],'style':{'top':_0x482b75['to'](_0x4b71f6(0x156),_0x4517a2=>Ot(_0x4517a2))},'role':_0x4b71f6(0x14e)},'children':this[_0x4b71f6(0x152)]});}[_0xaf28a3(0x159)](){const _0x4f33b2=_0xaf28a3;super[_0x4f33b2(0x159)](),this[_0x4f33b2(0x144)][_0x4f33b2(0x14f)](this[_0x4f33b2(0x145)]);}[_0xaf28a3(0x14a)](){const _0x2c6897=_0xaf28a3;this[_0x2c6897(0x152)][_0x2c6897(0x13d)]&&this[_0x2c6897(0x152)][_0x2c6897(0x13d)][_0x2c6897(0x14a)]();}[_0xaf28a3(0x148)](){const _0x21c54d=_0xaf28a3,_0xdba083=this[_0x21c54d(0x145)][_0x21c54d(0x147)];_0xdba083&&(this[_0x21c54d(0x14b)]=_0xdba083);}[_0xaf28a3(0x13a)](){const _0x5b8fb7=_0xaf28a3;this[_0x5b8fb7(0x152)][_0x5b8fb7(0x13c)](),this[_0x5b8fb7(0x144)][_0x5b8fb7(0x149)](),super[_0x5b8fb7(0x13a)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2026a0=_0x23ec;(function(_0x37092b,_0x274f1c){const _0x3999ee=_0x23ec,_0x32629e=_0x37092b();while(!![]){try{const _0x37638d=parseInt(_0x3999ee(0x11d))/0x1*(parseInt(_0x3999ee(0x114))/0x2)+parseInt(_0x3999ee(0x11e))/0x3*(parseInt(_0x3999ee(0x11a))/0x4)+-parseInt(_0x3999ee(0x128))/0x5*(-parseInt(_0x3999ee(0x110))/0x6)+parseInt(_0x3999ee(0x104))/0x7*(-parseInt(_0x3999ee(0x117))/0x8)+-parseInt(_0x3999ee(0x12f))/0x9*(parseInt(_0x3999ee(0x132))/0xa)+-parseInt(_0x3999ee(0x127))/0xb+parseInt(_0x3999ee(0x12c))/0xc;if(_0x37638d===_0x274f1c)break;else _0x32629e['push'](_0x32629e['shift']());}catch(_0x4a1b6c){_0x32629e['push'](_0x32629e['shift']());}}}(_0x486c,0x68c40));import{View as _0x435d18,FocusCycler as _0x16f563}from'ckeditor5/src/ui.js';function _0x486c(){const _0x524179=['length','arrowdown','focusPrevious','uiLanguageDirection','top','change:top','setTemplate','6njHIoD','focusNext','createCollection','div','282llDemS','bindTemplate','arrowup','8rVbIJm','number','focusFirst','284iwhlYj','minHeight','source','13tAaoRV','19767qXobnQ','set','removed','focusTracker','Annotations\x20list','added','delegate','focusables','element','1370897drAbPK','2955845nPsspj','ck-sidebar','render','_updateItemPositionInFocusables','7433952XQIpaI','list','ck-reset','393903DrOMrk','change','getIndex','190gYLXWI','class','remove','focus','application','listenTo','Annotations\x20sidebar','2064979IAiqKU','_setupKeyboardNavigation','focusCycler','forEach','add'];_0x486c=function(){return _0x524179;};return _0x486c();}function _0x23ec(_0x1010a0,_0x2e5c70){const _0x486c53=_0x486c();return _0x23ec=function(_0x23ec03,_0x4b22a1){_0x23ec03=_0x23ec03-0xfe;let _0x586008=_0x486c53[_0x23ec03];return _0x586008;},_0x23ec(_0x1010a0,_0x2e5c70);}import{FocusTracker as _0x45fd6b,toUnit as _0x1d544b}from'ckeditor5/src/utils.js';import{getTranslation as _0x68016a}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d544b('px');export class AnnotationsSidebarView extends _0x435d18{[_0x2026a0(0x12d)];[_0x2026a0(0x125)];[_0x2026a0(0x121)];[_0x2026a0(0x106)];constructor(_0x4a09fa){const _0x192206=_0x2026a0;super(_0x4a09fa);const _0x30660d=this[_0x192206(0x115)];this[_0x192206(0x11f)](_0x192206(0x11b),0x0),this[_0x192206(0x11f)](_0x192206(0xfe),''),this[_0x192206(0x12d)]=this[_0x192206(0x112)](),this[_0x192206(0x125)]=this[_0x192206(0x112)](),this[_0x192206(0x12d)][_0x192206(0x124)](_0x192206(0x116),_0x192206(0x10a))['to'](this),this[_0x192206(0x121)]=new _0x45fd6b(),this[_0x192206(0x106)]=new _0x16f563({'focusables':this[_0x192206(0x125)],'focusTracker':this[_0x192206(0x121)]}),this[_0x192206(0x10f)]({'tag':_0x192206(0x113),'attributes':{'class':['ck',_0x192206(0x129),_0x192206(0x12e),_0x30660d['to'](_0x192206(0xfe))],'style':{'minHeight':_0x30660d['to'](_0x192206(0x11b),_0x5f328e=>_0x192206(0x118)==typeof _0x5f328e?Ot(_0x5f328e+0xa):null)},'dir':_0x4a09fa[_0x192206(0x10c)],'role':_0x192206(0x101),'aria-label':_0x68016a(_0x4a09fa,_0x192206(0x103)),'tabindex':0x0},'children':[{'tag':_0x192206(0x113),'attributes':{'role':_0x192206(0x12d),'aria-label':_0x68016a(_0x4a09fa,_0x192206(0x122))},'children':this[_0x192206(0x12d)]}]});}[_0x2026a0(0x12a)](){const _0x44b41a=_0x2026a0;super[_0x44b41a(0x12a)](),this[_0x44b41a(0x105)]();}[_0x2026a0(0x100)](){const _0x2073c1=_0x2026a0;this[_0x2073c1(0x106)][_0x2073c1(0x119)]();}[_0x2026a0(0x105)](){const _0x191615=_0x2026a0;this[_0x191615(0x12d)][_0x191615(0x124)](_0x191615(0x10e))['to'](this),this['on'](_0x191615(0x10e),_0x4607bd=>{const _0x333fa3=_0x191615;this[_0x333fa3(0x12b)](_0x4607bd[_0x333fa3(0x11c)]);}),this[_0x191615(0x12d)][_0x191615(0x107)](_0x4e7d65=>{const _0x1b76f9=_0x191615;this[_0x1b76f9(0x121)][_0x1b76f9(0x108)](_0x4e7d65[_0x1b76f9(0x126)]),this[_0x1b76f9(0x12b)](_0x4e7d65);}),this[_0x191615(0x12d)]['on'](_0x191615(0x130),(_0x10dbc1,_0x2bf506)=>{const _0x53b19f=_0x191615;for(const _0x51ffd9 of _0x2bf506[_0x53b19f(0x120)])this[_0x53b19f(0x121)][_0x53b19f(0xff)](_0x51ffd9[_0x53b19f(0x126)]),this[_0x53b19f(0x125)][_0x53b19f(0xff)](_0x51ffd9);for(const _0x5a3ae5 of _0x2bf506[_0x53b19f(0x123)])this[_0x53b19f(0x121)][_0x53b19f(0x108)](_0x5a3ae5[_0x53b19f(0x126)]),this[_0x53b19f(0x12b)](_0x5a3ae5);}),this['on'](_0x191615(0x116),()=>{const _0x39070f=_0x191615;this[_0x39070f(0x106)][_0x39070f(0x10b)]();}),this['on'](_0x191615(0x10a),()=>{const _0x537f44=_0x191615;this[_0x537f44(0x106)][_0x537f44(0x111)]();}),this[_0x191615(0x102)](this[_0x191615(0x126)],_0x191615(0x100),()=>{const _0xf83760=_0x191615;this[_0xf83760(0x100)]();});}[_0x2026a0(0x12b)](_0x46d9a6){const _0x1d6ed2=_0x2026a0,_0x1dc751=this[_0x1d6ed2(0x125)][_0x1d6ed2(0x131)](_0x46d9a6);let _0x537ee4,_0xaf6cfe;for(const _0x17e6ca of this[_0x1d6ed2(0x125)])if(_0x46d9a6[_0x1d6ed2(0x10d)]<_0x17e6ca[_0x1d6ed2(0x10d)]){_0x537ee4=_0x17e6ca;break;}if(_0xaf6cfe=_0x537ee4?this[_0x1d6ed2(0x125)][_0x1d6ed2(0x131)](_0x537ee4):this[_0x1d6ed2(0x125)][_0x1d6ed2(0x109)],-0x1!==_0x1dc751){if(_0x1dc751===_0xaf6cfe-0x1)return;this[_0x1d6ed2(0x125)][_0x1d6ed2(0xff)](_0x46d9a6),_0xaf6cfe=_0x537ee4?this[_0x1d6ed2(0x125)][_0x1d6ed2(0x131)](_0x537ee4):this[_0x1d6ed2(0x125)][_0x1d6ed2(0x109)];}this[_0x1d6ed2(0x125)][_0x1d6ed2(0x108)](_0x46d9a6,_0xaf6cfe);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2973(){const _0x4a65b0=['rearrange','destroy','uiUpdate','annotations','remove','get','plugins','7155eLNMON','isOfficialPlugin','from','pluginName','289636vXhPoZ','init','_refreshPositioningDebounced','6632Bmegve','Annotations','register','_editorAnnotations','high','setActiveAnnotation','requires','1205865fGZtOF','isPremiumPlugin','detach','882089VGaDWo','refreshVisibility','ck-sidebar--wide','widesidebar-attach-already-attached','444TyZRGw','3520652fgPkAj','refreshPositioning','hasDomSelection','64255CJrVzk','refresh','off','ready','_detachFromContainer','add','widesidebar-detach-not-attached','addEventListener','has','attach','listenTo','resize','removeEventListener','stop','context','stopListening','_activeAnnotation','switchTo','blur','focus','cancel','_destroyEditorAnnotationsIntegration','set:container','activeAnnotation','_integrateWithEditorAnnotations','change:container','_annotations','wideSidebar','EditorAnnotations','getOrderedSelectedAnnotations','WideSidebar','isAttached','_attachToContainer','set','6749512hLICSm','addAnnotation','container','updateTargetRect','editors'];_0x2973=function(){return _0x4a65b0;};return _0x2973();}const _0x21f19b=_0x4e1e;(function(_0x310012,_0x464d4c){const _0x371506=_0x4e1e,_0xbc8cda=_0x310012();while(!![]){try{const _0x21c1f4=parseInt(_0x371506(0x176))/0x1+-parseInt(_0x371506(0x169))/0x2+parseInt(_0x371506(0x173))/0x3+parseInt(_0x371506(0x17b))/0x4+-parseInt(_0x371506(0x17e))/0x5*(parseInt(_0x371506(0x17a))/0x6)+-parseInt(_0x371506(0x159))/0x7+parseInt(_0x371506(0x16c))/0x8*(parseInt(_0x371506(0x165))/0x9);if(_0x21c1f4===_0x464d4c)break;else _0xbc8cda['push'](_0xbc8cda['shift']());}catch(_0x8e2af4){_0xbc8cda['push'](_0xbc8cda['shift']());}}}(_0x2973,0xba576));import{ContextPlugin as _0x218d28,Context as _0x56123a}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x4cca23}from'./annotationsuis.js';function _0x4e1e(_0x158b6e,_0x5109c5){const _0x2973a4=_0x2973();return _0x4e1e=function(_0x4e1ee6,_0x40b38c){_0x4e1ee6=_0x4e1ee6-0x141;let _0x329cf0=_0x2973a4[_0x4e1ee6];return _0x329cf0;},_0x4e1e(_0x158b6e,_0x5109c5);}import{Sidebar as _0x2a0ec2}from'./sidebar.js';import{CKEditorError as _0x4b6580,Collection as _0x1b9d03}from'ckeditor5/src/utils.js';import{debounce as _0x41e8dc}from'es-toolkit/compat';export class WideSidebar extends _0x218d28{[_0x21f19b(0x156)];[_0x21f19b(0x161)];[_0x21f19b(0x16f)];[_0x21f19b(0x16b)];static get[_0x21f19b(0x172)](){return[_0x2a0ec2,_0x4cca23];}static get[_0x21f19b(0x168)](){const _0x56f433=_0x21f19b;return _0x56f433(0x155);}static get[_0x21f19b(0x166)](){return!0x0;}static get[_0x21f19b(0x174)](){return!0x0;}constructor(_0x3053f6){const _0x7afa17=_0x21f19b;super(_0x3053f6),this[_0x7afa17(0x156)]=!0x1,this[_0x7afa17(0x158)](_0x7afa17(0x14e),null),this[_0x7afa17(0x161)]=null,this[_0x7afa17(0x16f)]=new _0x1b9d03(),this[_0x7afa17(0x16b)]=_0x41e8dc(()=>{const _0x1cea4a=_0x7afa17;_0x3053f6[_0x1cea4a(0x164)][_0x1cea4a(0x163)](_0x1cea4a(0x16d))[_0x1cea4a(0x177)](),this[_0x1cea4a(0x161)][_0x1cea4a(0x17c)]();},0xfa,{'leading':!0x1});}[_0x21f19b(0x16a)](){const _0x2deb6e=_0x21f19b,_0x374892=this[_0x2deb6e(0x145)][_0x2deb6e(0x164)][_0x2deb6e(0x163)](_0x4cca23),_0x5128b8=this[_0x2deb6e(0x145)][_0x2deb6e(0x164)][_0x2deb6e(0x163)](_0x2a0ec2);_0x374892[_0x2deb6e(0x16e)](_0x2deb6e(0x152),this),_0x5128b8[_0x2deb6e(0x15b)]&&_0x374892[_0x2deb6e(0x148)](_0x2deb6e(0x152));}[_0x21f19b(0x171)](_0x23d5ed){const _0x849697=_0x21f19b;if(_0x23d5ed===this[_0x849697(0x14e)])return;const _0x23eade=this[_0x849697(0x145)][_0x849697(0x164)][_0x849697(0x163)](_0x2a0ec2);_0x23eade[_0x849697(0x147)]=_0x23d5ed;const _0x20afdb=this[_0x849697(0x14e)];_0x23eade[_0x849697(0x17f)]({'blurredAnnotation':_0x20afdb,'activatedAnnotation':_0x23d5ed}),this[_0x849697(0x14e)]=_0x23d5ed;}[_0x21f19b(0x187)](_0x1e4d66){const _0x38ec99=_0x21f19b;this[_0x38ec99(0x161)]=_0x1e4d66;const _0x10fd2b=this[_0x38ec99(0x145)][_0x38ec99(0x164)][_0x38ec99(0x163)](_0x2a0ec2);if(_0x10fd2b[_0x38ec99(0x151)]=_0x1e4d66,this[_0x38ec99(0x156)])throw new _0x4b6580(_0x38ec99(0x179),this);this[_0x38ec99(0x156)]=!0x0,this[_0x38ec99(0x141)](_0x10fd2b,_0x38ec99(0x14d),()=>{const _0x5cd4ad=_0x38ec99;this[_0x5cd4ad(0x175)](),this[_0x5cd4ad(0x141)](_0x10fd2b,_0x5cd4ad(0x150),_0x3fe782=>{const _0x5a55bd=_0x5cd4ad;_0x3fe782[_0x5a55bd(0x180)](),this[_0x5a55bd(0x187)](_0x1e4d66);});}),_0x10fd2b[_0x38ec99(0x157)]({'viewClass':_0x38ec99(0x178)});const _0x125a55=_0x40cfac=>{const _0x4a51c2=_0x38ec99;_0x40cfac[_0x4a51c2(0x15c)](),_0x10fd2b[_0x4a51c2(0x15a)](_0x40cfac);};for(const _0x10b1cf of _0x1e4d66)_0x125a55(_0x10b1cf);this[_0x38ec99(0x141)](_0x1e4d66,_0x38ec99(0x183),(_0xd8f1be,_0x24acc3)=>{_0x125a55(_0x24acc3);}),this[_0x38ec99(0x141)](_0x1e4d66,_0x38ec99(0x162),(_0x5b81a4,_0x59b434,_0x5e632d)=>{const _0x53eec0=_0x38ec99;_0x10fd2b[_0x53eec0(0x15e)]({'removedAnnotation':_0x59b434,'previousAnnotation':_0x1e4d66[_0x53eec0(0x163)](_0x5e632d-0x1),'nextAnnotation':_0x1e4d66[_0x53eec0(0x163)](_0x5e632d+0x1)}),_0x59b434===this[_0x53eec0(0x14e)]&&this[_0x53eec0(0x171)](null);},{'priority':_0x38ec99(0x170)}),this[_0x38ec99(0x141)](_0x1e4d66,_0x38ec99(0x14a),(_0x108a6f,_0x167c89)=>{const _0x29b818=_0x38ec99;this[_0x29b818(0x171)](_0x167c89);}),this[_0x38ec99(0x141)](_0x1e4d66,_0x38ec99(0x149),()=>{const _0x426141=_0x38ec99;this[_0x426141(0x171)](null);});const _0x483ed4=this[_0x38ec99(0x145)]instanceof _0x56123a?this[_0x38ec99(0x145)][_0x38ec99(0x15d)]:new _0x1b9d03([this[_0x38ec99(0x145)]]);for(const _0x23d528 of _0x483ed4)this[_0x38ec99(0x14f)](_0x23d528);this[_0x38ec99(0x141)](_0x483ed4,_0x38ec99(0x183),(_0x527adc,_0x15ed01)=>{const _0x2e383c=_0x38ec99;this[_0x2e383c(0x141)](_0x15ed01,_0x2e383c(0x181),()=>{const _0x460c75=_0x2e383c;this[_0x460c75(0x14f)](_0x15ed01);});}),this[_0x38ec99(0x141)](_0x483ed4,_0x38ec99(0x162),(_0x3a6462,_0x20c42d)=>{const _0x5c9ec2=_0x38ec99;_0x20c42d[_0x5c9ec2(0x164)][_0x5c9ec2(0x186)](_0x5c9ec2(0x153))&&this[_0x5c9ec2(0x14c)](_0x20c42d[_0x5c9ec2(0x164)][_0x5c9ec2(0x163)](_0x5c9ec2(0x153)));}),window[_0x38ec99(0x185)](_0x38ec99(0x142),this[_0x38ec99(0x16b)]),this[_0x38ec99(0x145)][_0x38ec99(0x164)][_0x38ec99(0x163)](_0x38ec99(0x16d))[_0x38ec99(0x177)](),this[_0x38ec99(0x161)][_0x38ec99(0x17c)]();}[_0x21f19b(0x175)](){const _0x2fe39a=_0x21f19b;if(!this[_0x2fe39a(0x156)])throw new _0x4b6580(_0x2fe39a(0x184),this);this[_0x2fe39a(0x171)](null);const _0x25b6d4=this[_0x2fe39a(0x145)][_0x2fe39a(0x164)][_0x2fe39a(0x163)](_0x2a0ec2);_0x25b6d4[_0x2fe39a(0x182)](this[_0x2fe39a(0x161)]),this[_0x2fe39a(0x146)](_0x25b6d4),this[_0x2fe39a(0x146)](this[_0x2fe39a(0x161)]),this[_0x2fe39a(0x145)]instanceof _0x56123a&&this[_0x2fe39a(0x146)](this[_0x2fe39a(0x145)][_0x2fe39a(0x15d)]);for(const _0x4b43c9 of Array[_0x2fe39a(0x167)](this[_0x2fe39a(0x16f)]))this[_0x2fe39a(0x14c)](_0x4b43c9);window[_0x2fe39a(0x143)](_0x2fe39a(0x142),this[_0x2fe39a(0x16b)]),this[_0x2fe39a(0x16b)][_0x2fe39a(0x14b)](),this[_0x2fe39a(0x14e)]=null,this[_0x2fe39a(0x156)]=!0x1,this[_0x2fe39a(0x161)]=null;}[_0x21f19b(0x15f)](){const _0x4ca1b5=_0x21f19b;this[_0x4ca1b5(0x156)]&&this[_0x4ca1b5(0x175)]();}[_0x21f19b(0x14f)](_0x27fff6){const _0x33672a=_0x21f19b;if(!_0x27fff6[_0x33672a(0x164)][_0x33672a(0x186)](_0x33672a(0x153)))return;const _0x13665c=_0x27fff6[_0x33672a(0x164)][_0x33672a(0x163)](_0x33672a(0x153)),_0x3b8411=()=>{const _0x51721b=_0x33672a,_0x1356fd=_0x13665c[_0x51721b(0x154)]({'annotations':this[_0x51721b(0x161)],'activeAnnotation':this[_0x51721b(0x14e)]});this[_0x51721b(0x171)](_0x1356fd[0x0]||null);};this[_0x33672a(0x141)](_0x13665c,_0x33672a(0x17f),_0x3b8411),this[_0x33672a(0x141)](_0x13665c,_0x33672a(0x149),(_0x113765,{isAnnotationTracked:_0x3e837f})=>{const _0x100c21=_0x33672a;this[_0x100c21(0x14e)]&&_0x3e837f(this[_0x100c21(0x14e)])&&this[_0x100c21(0x171)](null);}),this[_0x33672a(0x141)](_0x13665c,_0x33672a(0x160),()=>{const _0x5c468a=_0x33672a;this[_0x5c468a(0x16b)]();}),this[_0x33672a(0x141)](this[_0x33672a(0x161)],_0x33672a(0x149),_0x4d9a64=>{const _0x2c74df=_0x33672a;_0x13665c[_0x2c74df(0x17d)]()&&(_0x3b8411(),_0x4d9a64[_0x2c74df(0x144)]());},{'priority':_0x33672a(0x170)}),this[_0x33672a(0x16f)][_0x33672a(0x183)](_0x13665c);}[_0x21f19b(0x14c)](_0x51b729){const _0x26fc8a=_0x21f19b;this[_0x26fc8a(0x146)](_0x51b729),this[_0x26fc8a(0x16f)][_0x26fc8a(0x162)](_0x51b729);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc1fa7b=_0x374b;function _0x374b(_0x56463b,_0x1bda85){const _0x39097a=_0x3909();return _0x374b=function(_0x374b82,_0x1664c6){_0x374b82=_0x374b82-0x1ca;let _0x395003=_0x39097a[_0x374b82];return _0x395003;},_0x374b(_0x56463b,_0x1bda85);}(function(_0x3e33c4,_0x3e2f48){const _0x3a44f9=_0x374b,_0x50519a=_0x3e33c4();while(!![]){try{const _0x14a1e8=-parseInt(_0x3a44f9(0x1d7))/0x1*(parseInt(_0x3a44f9(0x1d9))/0x2)+-parseInt(_0x3a44f9(0x1cd))/0x3*(-parseInt(_0x3a44f9(0x1f7))/0x4)+parseInt(_0x3a44f9(0x1d2))/0x5*(parseInt(_0x3a44f9(0x1e0))/0x6)+parseInt(_0x3a44f9(0x1d5))/0x7*(parseInt(_0x3a44f9(0x1cb))/0x8)+-parseInt(_0x3a44f9(0x1ca))/0x9*(-parseInt(_0x3a44f9(0x1d8))/0xa)+-parseInt(_0x3a44f9(0x1ef))/0xb*(-parseInt(_0x3a44f9(0x1d1))/0xc)+parseInt(_0x3a44f9(0x1e7))/0xd*(-parseInt(_0x3a44f9(0x1f5))/0xe);if(_0x14a1e8===_0x3e2f48)break;else _0x50519a['push'](_0x50519a['shift']());}catch(_0x3426e5){_0x50519a['push'](_0x50519a['shift']());}}}(_0x3909,0x387d4));import{Command as _0x4d8bce}from'ckeditor5/src/core.js';function _0x3909(){const _0x36b77c=['4411988draNnU','_itemIsContent','831036wZhXsD','get','refresh','comment:','set','isObject','backward','collaboration.channelId','selection','createRange','execute','addMarker','1539oRENpo','624btcIcx','getLastMatchingPosition','6WkMdlK','addCommentThread','getRanges','_createCommentThread','1740tNKizk','30TaYyit','document','config','13510iYoOGl','model','75jJTgLs','9290OvFIJp','1474KyuSuV','editor','addcommentthreadcommand-incorrect-ranges','$textProxy','schema','tableCell','end','402966oZvQAA','element','getItems','length','hasContent','addcommentthreadcommand-user-not-found','push','52OYjlJf','_hasContent','from','isEnabled','start','substr','item','CommentsRepository','31812rLXvuz','Users','plugins','_createMarkersFromRanges','change','_trimToContent'];_0x3909=function(){return _0x36b77c;};return _0x3909();}import{uid as _0x6c165a,CKEditorError as _0x2728e4}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x4d8bce{constructor(_0x4495ad){const _0x2266df=_0x374b;super(_0x4495ad),this[_0x2266df(0x1fb)](_0x2266df(0x1e4),!0x1);}[_0xc1fa7b(0x1f9)](){const _0x5ca31c=_0xc1fa7b,_0x31ea2f=this[_0x5ca31c(0x1da)][_0x5ca31c(0x1d6)][_0x5ca31c(0x1d3)][_0x5ca31c(0x1ff)];this[_0x5ca31c(0x1ea)]=!0x0,this[_0x5ca31c(0x1e4)]=!0x1;for(const _0x19001e of _0x31ea2f[_0x5ca31c(0x1cf)]())if(this[_0x5ca31c(0x1e8)](_0x19001e))return void(this[_0x5ca31c(0x1e4)]=!0x0);}[_0xc1fa7b(0x201)]({threadId:_0x120a09=_0x6c165a(),ranges:_0x1a6de4,comment:_0x53b959}={}){const _0x234f5e=_0xc1fa7b,_0x21543f=this[_0x234f5e(0x1da)][_0x234f5e(0x1d6)],_0x5c3cdb=_0x1a6de4??Array[_0x234f5e(0x1e9)](_0x21543f[_0x234f5e(0x1d3)][_0x234f5e(0x1ff)][_0x234f5e(0x1cf)]()),_0x2f3188=[];for(const _0x2a1489 of _0x5c3cdb)this[_0x234f5e(0x1e8)](_0x2a1489)&&_0x2f3188[_0x234f5e(0x1e6)](this[_0x234f5e(0x1f4)](_0x2a1489));if(!_0x2f3188[_0x234f5e(0x1e3)])throw new _0x2728e4(_0x234f5e(0x1db),null);_0x53b959&&this[_0x234f5e(0x1d0)](_0x120a09,_0x53b959),this[_0x234f5e(0x1f2)](_0x120a09,_0x2f3188,!!_0x53b959);}[_0xc1fa7b(0x1f2)](_0x136a9f,_0x3fe71e,_0x390819){const _0x51b45e=_0xc1fa7b;this[_0x51b45e(0x1da)][_0x51b45e(0x1d6)][_0x51b45e(0x1f3)](_0x5582a2=>{const _0x5bc326=_0x51b45e;for(const _0x4d79e5 of _0x3fe71e){const _0x140a1f=_0x6c165a()[_0x5bc326(0x1ec)](0x1,0x5),_0x50fcf6=_0x5bc326(0x1fa)+_0x136a9f+':'+_0x140a1f;_0x5582a2[_0x5bc326(0x202)](_0x50fcf6,{'range':_0x4d79e5,'usingOperation':_0x390819,'affectsData':_0x390819});}});}[_0xc1fa7b(0x1d0)](_0x57ec13,_0x41d961){const _0x3ebf79=_0xc1fa7b,_0x3ea634=this[_0x3ebf79(0x1da)][_0x3ebf79(0x1f1)][_0x3ebf79(0x1f8)](_0x3ebf79(0x1ee)),_0x4ab404=this[_0x3ebf79(0x1da)][_0x3ebf79(0x1d4)][_0x3ebf79(0x1f8)](_0x3ebf79(0x1fe)),_0x2c867d=this[_0x3ebf79(0x1da)][_0x3ebf79(0x1f1)][_0x3ebf79(0x1f8)](_0x3ebf79(0x1f0))['me'];if(!_0x2c867d)throw new _0x2728e4(_0x3ebf79(0x1e5),null);_0x3ea634[_0x3ebf79(0x1ce)]({'threadId':_0x57ec13,'channelId':_0x4ab404,'comments':[{'authorId':_0x2c867d['id'],'content':_0x41d961,'createdAt':new Date(),'attributes':{}}]});}[_0xc1fa7b(0x1e8)](_0x54671a){const _0x2b9511=_0xc1fa7b;for(const _0x263bef of _0x54671a[_0x2b9511(0x1e2)]())if(this[_0x2b9511(0x1f6)](_0x263bef))return!0x0;return!0x1;}[_0xc1fa7b(0x1f6)](_0x5ccb9a){const _0x28d3eb=_0xc1fa7b;return _0x5ccb9a['is'](_0x28d3eb(0x1dc))||this[_0x28d3eb(0x1da)][_0x28d3eb(0x1d6)][_0x28d3eb(0x1dd)][_0x28d3eb(0x1fc)](_0x5ccb9a)&&!_0x5ccb9a['is'](_0x28d3eb(0x1e1),_0x28d3eb(0x1de));}[_0xc1fa7b(0x1f4)](_0x2d13a8){const _0x1830bd=_0xc1fa7b,_0x1fe943=_0x3d0fe4=>!this[_0x1830bd(0x1f6)](_0x3d0fe4[_0x1830bd(0x1ed)]),_0x67f34=_0x2d13a8[_0x1830bd(0x1eb)][_0x1830bd(0x1cc)](_0x1fe943),_0x238ae3=_0x2d13a8[_0x1830bd(0x1df)][_0x1830bd(0x1cc)](_0x1fe943,{'direction':_0x1830bd(0x1fd)});return this[_0x1830bd(0x1da)][_0x1830bd(0x1d6)][_0x1830bd(0x200)](_0x67f34,_0x238ae3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3efa(){const _0x7e91fb=['remove','isOfficialPlugin','requires','isVisible','length','325218QUieZN','activate','3208191QAcWtK','909696ljbWQT','2128840dQOLxw','init','isActive','addCommentThread','CommentsArchive','isPremiumPlugin','_calculatePosition','1RekvjE','focus','change:archivedAt','archivedAt','has','findIndex','archivedThreads','plugins','highest','listenTo','2890080xwKmzF','get','stopListening','add','collection','getCommentThread','pluginName','1269342iAMTfc','removeCommentThread','14946BVVAxL','context'];_0x3efa=function(){return _0x7e91fb;};return _0x3efa();}const _0x1201de=_0x114e;(function(_0x1ef76d,_0x48b75e){const _0x184aff=_0x114e,_0x55b0e4=_0x1ef76d();while(!![]){try{const _0x7ef8b6=parseInt(_0x184aff(0x1f7))/0x1*(parseInt(_0x184aff(0x1e5))/0x2)+parseInt(_0x184aff(0x1ec))/0x3+parseInt(_0x184aff(0x1f0))/0x4+-parseInt(_0x184aff(0x201))/0x5+-parseInt(_0x184aff(0x1e3))/0x6+parseInt(_0x184aff(0x1ee))/0x7+parseInt(_0x184aff(0x1ef))/0x8;if(_0x7ef8b6===_0x48b75e)break;else _0x55b0e4['push'](_0x55b0e4['shift']());}catch(_0x3b132f){_0x55b0e4['push'](_0x55b0e4['shift']());}}}(_0x3efa,0x691cd));import{ContextPlugin as _0x52042b}from'ckeditor5/src/core.js';import{Collection as _0x6c5a87}from'ckeditor5/src/utils.js';function _0x114e(_0x1df554,_0x5f332d){const _0x3efa18=_0x3efa();return _0x114e=function(_0x114ea3,_0x51635b){_0x114ea3=_0x114ea3-0x1dd;let _0x37a49d=_0x3efa18[_0x114ea3];return _0x37a49d;},_0x114e(_0x1df554,_0x5f332d);}import{CommentsRepository as _0x591915}from'./commentsrepository.js';import{Annotations as _0x4636b5}from'../annotations/annotations.js';export class CommentsArchive extends _0x52042b{static get[_0x1201de(0x1e2)](){const _0x50bff8=_0x1201de;return _0x50bff8(0x1f4);}static get[_0x1201de(0x1e8)](){return!0x0;}static get[_0x1201de(0x1f5)](){return!0x0;}static get[_0x1201de(0x1e9)](){return[_0x591915,_0x4636b5];}constructor(_0x15f73f){const _0x42ef11=_0x1201de;super(_0x15f73f),this[_0x42ef11(0x1fd)]=new _0x6c5a87();}[_0x1201de(0x1f1)](){const _0xa59cae=_0x1201de,_0x1bfcfd=this[_0xa59cae(0x1e6)],_0x25297b=_0x1bfcfd[_0xa59cae(0x1fe)][_0xa59cae(0x1dd)](_0x591915),_0x102664=_0x1bfcfd[_0xa59cae(0x1fe)][_0xa59cae(0x1dd)](_0x4636b5);this[_0xa59cae(0x200)](_0x25297b,_0xa59cae(0x1f3),(_0x3fdef6,{threadId:_0x2756e5})=>{const _0x52afac=_0xa59cae,_0x500aa0=_0x25297b[_0x52afac(0x1e1)](_0x2756e5);_0x500aa0[_0x52afac(0x1fa)]&&this[_0x52afac(0x1fd)][_0x52afac(0x1df)](_0x500aa0,this[_0x52afac(0x1f6)](_0x500aa0[_0x52afac(0x1fa)])),this[_0x52afac(0x200)](_0x500aa0,_0x52afac(0x1f9),(_0x11ef5a,_0x41b017,_0x4e0b24)=>{const _0x4cbd40=_0x52afac;_0x4e0b24?this[_0x4cbd40(0x1fd)][_0x4cbd40(0x1fb)](_0x500aa0)||this[_0x4cbd40(0x1fd)][_0x4cbd40(0x1df)](_0x500aa0,this[_0x4cbd40(0x1f6)](_0x500aa0[_0x4cbd40(0x1fa)])):this[_0x4cbd40(0x1fd)][_0x4cbd40(0x1fb)](_0x500aa0)&&this[_0x4cbd40(0x1fd)][_0x4cbd40(0x1e7)](_0x500aa0);});}),this[_0xa59cae(0x200)](_0x25297b,_0xa59cae(0x1e4),(_0x14b5a0,{threadId:_0x351695})=>{const _0x575f25=_0xa59cae,_0x39458b=_0x25297b[_0x575f25(0x1e1)](_0x351695);this[_0x575f25(0x1de)](_0x39458b),this[_0x575f25(0x1fd)][_0x575f25(0x1fb)](_0x39458b)&&this[_0x575f25(0x1fd)][_0x575f25(0x1e7)](_0x39458b);},{'priority':_0xa59cae(0x1ff)}),this[_0xa59cae(0x200)](_0x102664[_0xa59cae(0x1e0)],_0xa59cae(0x1f8),(_0x2398c8,_0x4e006f)=>{const _0x223d73=_0xa59cae;_0x4e006f[_0x223d73(0x1ea)]||(_0x4e006f[_0x223d73(0x1f2)]=!0x0,_0x102664[_0x223d73(0x1ed)](_0x4e006f));});}[_0x1201de(0x1f6)](_0xf156a3){const _0x260c67=_0x1201de,_0xce310a=[...this[_0x260c67(0x1fd)]][_0x260c67(0x1fc)](_0x516986=>_0x516986[_0x260c67(0x1fa)]<_0xf156a3);return _0xce310a>-0x1?_0xce310a:this[_0x260c67(0x1fd)][_0x260c67(0x1eb)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2652(_0x5842fb,_0x4fa0ff){const _0x461463=_0x4614();return _0x2652=function(_0x265290,_0x458262){_0x265290=_0x265290-0x12e;let _0x49dbe5=_0x461463[_0x265290];return _0x49dbe5;},_0x2652(_0x5842fb,_0x4fa0ff);}const _0x2da5fe=_0x2652;(function(_0x234d81,_0x4cd816){const _0x53a667=_0x2652,_0x38fc33=_0x234d81();while(!![]){try{const _0x257058=parseInt(_0x53a667(0x146))/0x1*(parseInt(_0x53a667(0x15c))/0x2)+parseInt(_0x53a667(0x170))/0x3+parseInt(_0x53a667(0x15f))/0x4*(-parseInt(_0x53a667(0x173))/0x5)+-parseInt(_0x53a667(0x142))/0x6*(parseInt(_0x53a667(0x134))/0x7)+parseInt(_0x53a667(0x149))/0x8+-parseInt(_0x53a667(0x139))/0x9*(-parseInt(_0x53a667(0x151))/0xa)+-parseInt(_0x53a667(0x132))/0xb*(-parseInt(_0x53a667(0x148))/0xc);if(_0x257058===_0x4cd816)break;else _0x38fc33['push'](_0x38fc33['shift']());}catch(_0x18e4e1){_0x38fc33['push'](_0x38fc33['shift']());}}}(_0x4614,0xa4eed));import'../../theme/commentsarchive.css';import{Plugin as _0x3309e3}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x1ec5c7}from'ckeditor5/src/icons.js';import{ViewCollection as _0x2f1139,MenuBarMenuListItemButtonView as _0x1846a5,ButtonView as _0x1377ab,Dialog as _0x2be206,DialogViewPosition as _0x2db1cd}from'ckeditor5/src/ui.js';import{getTranslation as _0x854b64}from'../utils/common-translations.js';import{CommentsArchiveView as _0x24296b}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x18ffcc}from'./commentsarchive.js';function _0x4614(){const _0x2ef2ee=['2526656MSOYCQ','plugins','forEach','getByInnerView','_calculatePosition','isEnabled','pluginName','commentsArchive','3920oYttyk','return','archivedAt','Annotations','init','collaboration.channelId','find','config','hide','tooltip','isOpen','12OiACce','commentsArchiveView','isPremiumPlugin','3811996vUcPje','execute','_addAnnotationToArchive','isOn','_hideDialogOnAnnotationEscape','includes','requires','stop','EDITOR_TOP_SIDE','source','_toggleDialog','set:isVisible','splice','add','editor','push','COMMENTS_ARCHIVE','3225168laPNSL','indexOf','channelId','5JnAwIe','CommentsRepository','Dialog','isOfficialPlugin','remove','show','archivedThreads','_createCommentsArchiveButton','filter','bind','annotationViews','findIndex','_pendingThreads','listenTo','innerView','menuBar:commentsArchive','316569QTqeyK','focusableElements','7sBFiJH','isVisible','componentFactory','_visibleAnnotations','stopListening','3051pdtQGw','view','menuitemcheckbox','has','collection','_handleNewThread','_threadToController','get','escape','4176174RFqfli','length','set','CommentsArchiveUI','99894exRTHT','locale','84URBmNF'];_0x4614=function(){return _0x2ef2ee;};return _0x4614();}export class CommentsArchiveUI extends _0x3309e3{[_0x2da5fe(0x15d)];[_0x2da5fe(0x17d)];[_0x2da5fe(0x12e)];static get[_0x2da5fe(0x14f)](){const _0x3a5f3c=_0x2da5fe;return _0x3a5f3c(0x145);}static get[_0x2da5fe(0x176)](){return!0x0;}static get[_0x2da5fe(0x15e)](){return!0x0;}static get[_0x2da5fe(0x165)](){return[_0x18ffcc,_0x2be206];}constructor(_0x4f2e93){const _0x166fda=_0x2da5fe;super(_0x4f2e93),this[_0x166fda(0x17d)]=new _0x2f1139(),this[_0x166fda(0x12e)]=[];}[_0x2da5fe(0x155)](){const _0x36a860=_0x2da5fe,_0x4bd672=this[_0x36a860(0x16d)],_0x2169a6=this[_0x36a860(0x163)][_0x36a860(0x17c)](this);_0x4bd672['ui'][_0x36a860(0x136)][_0x36a860(0x16c)](_0x36a860(0x150),()=>this[_0x36a860(0x17a)](_0x1377ab,!0x0)),_0x4bd672['ui'][_0x36a860(0x136)][_0x36a860(0x16c)](_0x36a860(0x131),()=>{const _0x176c00=_0x36a860,_0x4ad7d1=this[_0x176c00(0x17a)](_0x1846a5);return _0x4ad7d1[_0x176c00(0x144)]({'role':_0x176c00(0x13b)}),_0x4ad7d1;});const _0x37a074=_0x4bd672[_0x36a860(0x14a)][_0x36a860(0x140)](_0x18ffcc),_0x3b0d83=_0x4bd672[_0x36a860(0x14a)][_0x36a860(0x140)](_0x36a860(0x154)),_0x5db7d4=_0x4bd672[_0x36a860(0x14a)][_0x36a860(0x140)](_0x36a860(0x174));_0x37a074[_0x36a860(0x179)][_0x36a860(0x14b)](_0x152900=>{const _0x2e6b0d=_0x36a860;this[_0x2e6b0d(0x13e)](_0x152900);}),this[_0x36a860(0x12f)](_0x37a074[_0x36a860(0x179)],_0x36a860(0x16c),(_0x8a42e6,_0x3dc467)=>{const _0x48b5b9=_0x36a860;this[_0x48b5b9(0x13e)](_0x3dc467);}),this[_0x36a860(0x12f)](_0x3b0d83[_0x36a860(0x13d)],_0x36a860(0x16c),(_0x425dfc,_0x1293ee)=>{const _0x505705=_0x36a860,_0x55591c=this[_0x505705(0x12e)][_0x505705(0x157)](_0x14dae7=>{const _0x377b59=_0x505705,_0x4925be=_0x5db7d4[_0x377b59(0x13f)][_0x377b59(0x140)](_0x14dae7);return _0x4925be&&_0x1293ee[_0x377b59(0x130)]===_0x4925be[_0x377b59(0x13a)];});if(_0x55591c){const _0x2d2abb=this[_0x505705(0x14d)](_0x55591c[_0x505705(0x153)]);this[_0x505705(0x161)](_0x1293ee,_0x2d2abb),this[_0x505705(0x12e)][_0x505705(0x16b)](this[_0x505705(0x12e)][_0x505705(0x171)](_0x55591c),0x1);}}),this[_0x36a860(0x12f)](_0x37a074[_0x36a860(0x179)],_0x36a860(0x177),(_0x5a36e6,_0x4d4a1d)=>{const _0x3c5191=_0x36a860,_0x4b889a=_0x4bd672[_0x3c5191(0x158)][_0x3c5191(0x140)](_0x3c5191(0x156));if(!_0x4b889a||_0x4d4a1d[_0x3c5191(0x172)]===_0x4b889a){if(this[_0x3c5191(0x12e)][_0x3c5191(0x164)](_0x4d4a1d))this[_0x3c5191(0x12e)][_0x3c5191(0x16b)](this[_0x3c5191(0x12e)][_0x3c5191(0x171)](_0x4d4a1d),0x1);else{const _0x578fb2=_0x5db7d4[_0x3c5191(0x13f)][_0x3c5191(0x140)](_0x4d4a1d),_0x23fd2d=_0x3b0d83[_0x3c5191(0x14c)](_0x578fb2[_0x3c5191(0x13a)]);this[_0x3c5191(0x17d)][_0x3c5191(0x177)](_0x23fd2d[_0x3c5191(0x13a)]),this[_0x3c5191(0x138)](_0x23fd2d),this[_0x3c5191(0x138)](_0x23fd2d[_0x3c5191(0x133)]);}}}),this[_0x36a860(0x12f)](_0x3b0d83[_0x36a860(0x13d)],_0x36a860(0x16c),(_0x35ed31,_0x567484)=>{const _0x2cea1d=_0x36a860;this[_0x2cea1d(0x12f)](_0x567484,_0x2cea1d(0x141),_0x2169a6);}),this[_0x36a860(0x12f)](_0x3b0d83[_0x36a860(0x13d)],_0x36a860(0x177),(_0x435deb,_0x5f4e63)=>{const _0x237940=_0x36a860;this[_0x237940(0x138)](_0x5f4e63,_0x237940(0x141),_0x2169a6);});}[_0x2da5fe(0x161)](_0x496aaa,_0x512004){const _0x320645=_0x2da5fe;this[_0x320645(0x12f)](_0x496aaa,_0x320645(0x16a),_0x1f7e6e=>{const _0x4980fa=_0x320645;_0x1f7e6e[_0x4980fa(0x152)]=!0x1,_0x1f7e6e[_0x4980fa(0x166)]();}),this[_0x320645(0x17d)][_0x320645(0x16c)](_0x496aaa[_0x320645(0x13a)],_0x512004);}[_0x2da5fe(0x13e)](_0x108277){const _0x274eca=_0x2da5fe,_0x66da4e=this[_0x274eca(0x16d)][_0x274eca(0x14a)][_0x274eca(0x140)](_0x274eca(0x174)),_0x2e0f58=this[_0x274eca(0x16d)][_0x274eca(0x14a)][_0x274eca(0x140)](_0x274eca(0x154)),_0x4d6021=this[_0x274eca(0x16d)][_0x274eca(0x158)][_0x274eca(0x140)](_0x274eca(0x156));if(!_0x4d6021||_0x108277[_0x274eca(0x172)]===_0x4d6021){const _0x47b6c1=_0x66da4e[_0x274eca(0x13f)][_0x274eca(0x140)](_0x108277);if(!_0x47b6c1)return void this[_0x274eca(0x12e)][_0x274eca(0x16e)](_0x108277);const _0x2e5dad=this[_0x274eca(0x14d)](_0x108277[_0x274eca(0x153)]),_0x584d6d=_0x2e0f58[_0x274eca(0x14c)](_0x47b6c1[_0x274eca(0x13a)]);_0x584d6d[_0x274eca(0x135)]&&_0x2e0f58[_0x274eca(0x137)][_0x274eca(0x177)](_0x584d6d),this[_0x274eca(0x161)](_0x584d6d,_0x2e5dad);}}[_0x2da5fe(0x14d)](_0xfb2757){const _0x283e5e=_0x2da5fe,_0x59cc8c=this[_0x283e5e(0x16d)][_0x283e5e(0x158)][_0x283e5e(0x140)](_0x283e5e(0x156)),_0x5c0e79=[...this[_0x283e5e(0x16d)][_0x283e5e(0x14a)][_0x283e5e(0x140)](_0x18ffcc)[_0x283e5e(0x179)]][_0x283e5e(0x17b)](_0x28e597=>_0x28e597[_0x283e5e(0x172)]===_0x59cc8c)[_0x283e5e(0x17e)](_0x346fb6=>_0x346fb6[_0x283e5e(0x153)]<_0xfb2757);return _0x5c0e79<0x0||_0x5c0e79>this[_0x283e5e(0x17d)][_0x283e5e(0x143)]?this[_0x283e5e(0x17d)][_0x283e5e(0x143)]:_0x5c0e79-0x1;}[_0x2da5fe(0x169)](){const _0x73511b=_0x2da5fe,_0xce33b9=this[_0x73511b(0x16d)],_0x34434c=_0xce33b9[_0x73511b(0x14a)][_0x73511b(0x140)](_0x73511b(0x175));this[_0x73511b(0x15d)]||(this[_0x73511b(0x15d)]=new _0x24296b(_0xce33b9[_0x73511b(0x147)],this[_0x73511b(0x17d)])),_0x73511b(0x150)===_0x34434c['id']?_0x34434c[_0x73511b(0x159)]():_0x34434c[_0x73511b(0x178)]({'id':_0x73511b(0x150),'title':_0x854b64(_0xce33b9[_0x73511b(0x147)],_0x73511b(0x16f)),'icon':_0x1ec5c7,'hasCloseButton':!0x0,'content':this[_0x73511b(0x15d)],'position':_0x2db1cd[_0x73511b(0x167)]});}[_0x2da5fe(0x17a)](_0x5c0029,_0x1c55a2=!0x1){const _0x75b309=_0x2da5fe,_0x8a5b62=this[_0x75b309(0x16d)][_0x75b309(0x147)],_0x3cffa0=this[_0x75b309(0x16d)][_0x75b309(0x14a)][_0x75b309(0x140)](_0x75b309(0x175)),_0x339cc2=new _0x5c0029(_0x8a5b62);return _0x339cc2[_0x75b309(0x17c)](_0x75b309(0x14e))['to'](this,_0x75b309(0x14e)),_0x339cc2[_0x75b309(0x17c)](_0x75b309(0x162))['to'](_0x3cffa0,'id',_0x4e0bbd=>_0x75b309(0x150)===_0x4e0bbd),_0x339cc2[_0x75b309(0x144)]({'label':_0x854b64(_0x8a5b62,_0x75b309(0x16f)),'icon':_0x1ec5c7,'isToggleable':!0x0}),_0x1c55a2&&(_0x339cc2[_0x75b309(0x15a)]=!0x0),this[_0x75b309(0x12f)](_0x339cc2,_0x75b309(0x160),()=>this[_0x75b309(0x169)]()),_0x339cc2;}[_0x2da5fe(0x163)]=_0x504d26=>{const _0xaa661d=_0x2da5fe,_0x5f5dcf=_0x504d26[_0xaa661d(0x168)];if(!this[_0xaa661d(0x17d)][_0xaa661d(0x13c)](_0x5f5dcf[_0xaa661d(0x13a)]))return;const _0x114ca0=this[_0xaa661d(0x16d)][_0xaa661d(0x14a)][_0xaa661d(0x140)](_0xaa661d(0x175));_0x114ca0[_0xaa661d(0x15b)]&&_0xaa661d(0x150)===_0x114ca0['id']&&(_0x114ca0[_0xaa661d(0x159)](),_0x504d26[_0xaa661d(0x166)]());};}
|