@ckeditor/ckeditor5-comments 47.3.0-alpha.6 → 47.3.0-alpha.7
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 _0x5522af=_0x5e88;(function(_0x2a008d,_0x4dd2b8){const _0x3afdda=_0x5e88,_0x5e5796=_0x2a008d();while(!![]){try{const _0x156dc9=-parseInt(_0x3afdda(0xf0))/0x1+-parseInt(_0x3afdda(0x106))/0x2+-parseInt(_0x3afdda(0x108))/0x3+parseInt(_0x3afdda(0xfc))/0x4+parseInt(_0x3afdda(0x111))/0x5*(parseInt(_0x3afdda(0xea))/0x6)+parseInt(_0x3afdda(0xd1))/0x7*(-parseInt(_0x3afdda(0xf3))/0x8)+parseInt(_0x3afdda(0xf6))/0x9;if(_0x156dc9===_0x4dd2b8)break;else _0x5e5796['push'](_0x5e5796['shift']());}catch(_0x43bfa6){_0x5e5796['push'](_0x5e5796['shift']());}}}(_0x1944,0x6a3e3));import{ContextPlugin as _0x1bbd94}from'ckeditor5/src/core.js';import{Rect as _0x86ce65,CKEditorError as _0x3458c0}from'ckeditor5/src/utils.js';function _0x5e88(_0x406fe9,_0x4dad00){const _0x19446d=_0x1944();return _0x5e88=function(_0x5e88e5,_0x1873da){_0x5e88e5=_0x5e88e5-0xbf;let _0x7263f1=_0x19446d[_0x5e88e5];return _0x7263f1;},_0x5e88(_0x406fe9,_0x4dad00);}import{AnnotationsSidebarView as _0x494c19}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x459f43}from'./view/sidebaritemview.js';export class Sidebar extends _0x1bbd94{[_0x5522af(0xca)];[_0x5522af(0xfd)];[_0x5522af(0xf7)];[_0x5522af(0xc7)];[_0x5522af(0xe6)];[_0x5522af(0xd4)];[_0x5522af(0xfb)];static get[_0x5522af(0xd3)](){const _0x4b33=_0x5522af;return _0x4b33(0xd9);}static get[_0x5522af(0xc9)](){return!0x0;}static get[_0x5522af(0xf4)](){return!0x0;}constructor(_0x381f24){const _0x5c84a6=_0x5522af;super(_0x381f24),this[_0x5c84a6(0xc1)](_0x5c84a6(0xcc),void 0x0),this[_0x5c84a6(0xca)]=this[_0x5c84a6(0xc6)](),this[_0x5c84a6(0xc1)](_0x5c84a6(0x10d),null),this[_0x5c84a6(0xc7)]=0x19,this[_0x5c84a6(0xe6)]=new Map(),this[_0x5c84a6(0xd4)]=new Map(),this[_0x5c84a6(0x10a)][_0x5c84a6(0x110)][_0x5c84a6(0xf5)](_0x5c84a6(0xd6),!0x1),this[_0x5c84a6(0xf7)]=null,this[_0x5c84a6(0xfd)]=null,this[_0x5c84a6(0xfb)]=[];}[_0x5522af(0xc8)](){const _0x3b0b08=_0x5522af,_0x322bdf=this[_0x3b0b08(0x10a)][_0x3b0b08(0x110)][_0x3b0b08(0xee)](_0x3b0b08(0xbf));_0x322bdf&&this[_0x3b0b08(0xe5)](_0x322bdf);}[_0x5522af(0xe5)](_0x8d851b){const _0x2defd1=_0x5522af;if(!g(_0x8d851b))throw new _0x3458c0(_0x2defd1(0xd7));this[_0x2defd1(0x10d)]=_0x8d851b;}[_0x5522af(0xe7)]({viewClass:_0x5e64e4='',spaceBetweenItems:_0x331877=0x19}={}){const _0x4e9231=_0x5522af;if(!g(this[_0x4e9231(0x10d)]))throw new _0x3458c0(_0x4e9231(0xe8),this);this[_0x4e9231(0x10d)][_0x4e9231(0xd8)](this[_0x4e9231(0xca)][_0x4e9231(0xd5)]),this[_0x4e9231(0xca)][_0x4e9231(0xcb)]=_0x5e64e4,this[_0x4e9231(0xc7)]=_0x331877;}[_0x5522af(0xe2)]({removedAnnotation:_0x1bfe46,previousAnnotation:_0x5c2413,nextAnnotation:_0x256a37}){const _0xa80f58=_0x5522af,_0x527749=this[_0xa80f58(0xe1)](_0x1bfe46);this[_0xa80f58(0xca)][_0xa80f58(0x114)][_0xa80f58(0xf1)](_0x527749),this[_0xa80f58(0x104)](_0x1bfe46),_0x5c2413&&this[_0xa80f58(0xc4)](this[_0xa80f58(0xe1)](_0x5c2413)),_0x256a37&&this[_0xa80f58(0xc4)](this[_0xa80f58(0xe1)](_0x256a37)),this[_0xa80f58(0xd2)]();}[_0x5522af(0xdd)]({blurredAnnotation:_0x1ae50c,activatedAnnotation:_0x7ae65f,disableAnimationOnActivatedAnnotation:_0x2446a5}){const _0xf7a7e1=_0x5522af;if(this[_0xf7a7e1(0xfd)]=_0x7ae65f,_0x1ae50c){_0x1ae50c[_0xf7a7e1(0x10e)]=!0x1;const _0x37af21=this[_0xf7a7e1(0xe1)](_0x1ae50c);_0x37af21&&_0x2446a5&&(_0x37af21[_0xf7a7e1(0xda)]=!0x1);}if(_0x7ae65f){const _0xcda943=this[_0xf7a7e1(0xe1)](_0x7ae65f);_0xcda943&&(_0x7ae65f[_0xf7a7e1(0x10e)]=!0x0,_0x2446a5&&(_0xcda943[_0xf7a7e1(0xda)]=!0x0,_0xcda943[_0xf7a7e1(0xc3)]+=0x1),this[_0xf7a7e1(0xc4)](_0xcda943));}}[_0x5522af(0xfa)](_0x55aa56){const _0x38f56e=_0x5522af;if(this[_0x38f56e(0xca)][_0x38f56e(0xd5)][_0x38f56e(0xf1)](),_0x55aa56){for(const _0x4101b3 of _0x55aa56)this[_0x38f56e(0x104)](_0x4101b3);}this[_0x38f56e(0xca)][_0x38f56e(0x114)][_0x38f56e(0x112)](),this[_0x38f56e(0xca)][_0x38f56e(0xcb)]='',this[_0x38f56e(0xcc)]=null;}[_0x5522af(0xf2)](_0x5e336a,_0x295319){const _0x48eaf7=_0x5522af;_0x295319||(_0x295319=_0x5e336a[_0x48eaf7(0xca)]);const _0x41070a=new _0x459f43(this[_0x48eaf7(0x10a)][_0x48eaf7(0x109)]);this[_0x48eaf7(0xe6)][_0x48eaf7(0xc1)](_0x41070a,_0x5e336a),this[_0x48eaf7(0xd4)][_0x48eaf7(0xc1)](_0x5e336a,_0x41070a),_0x41070a[_0x48eaf7(0xce)][_0x48eaf7(0xeb)](_0x295319),this[_0x48eaf7(0x116)](_0x5e336a[_0x48eaf7(0xca)],_0x48eaf7(0xc2),(_0x1c4a5e,_0x4ebcf0,_0xb87a23)=>{const _0x16184c=_0x48eaf7,_0x37f05d=this[_0x16184c(0xc5)](_0x5e336a,_0xb87a23);_0x41070a[_0x16184c(0xdc)]!=_0x37f05d&&(_0x41070a[_0x16184c(0xdc)]=_0x37f05d,this[_0x16184c(0xf9)](_0x41070a,_0x37f05d));}),this[_0x48eaf7(0x116)](_0x41070a,_0x48eaf7(0xe4),()=>{const _0x1cc022=_0x48eaf7;this[_0x1cc022(0xfe)](_0x41070a,_0x1cc022(0xc3));}),this[_0x48eaf7(0x116)](_0x41070a,_0x48eaf7(0x117),()=>{const _0x112e6d=_0x48eaf7;this[_0x112e6d(0xfe)](_0x41070a,_0x112e6d(0x115));}),this[_0x48eaf7(0xc4)](_0x41070a);const _0x2cb100=this[_0x48eaf7(0xdb)](_0x41070a);if(_0x2cb100)this[_0x48eaf7(0xed)](_0x2cb100,_0x41070a)||this[_0x48eaf7(0xc4)](_0x41070a);else this[_0x48eaf7(0xc4)](_0x41070a);return this[_0x48eaf7(0xd2)](),this[_0x48eaf7(0xca)][_0x48eaf7(0x114)][_0x48eaf7(0xeb)](_0x41070a),_0x41070a;}[_0x5522af(0x100)](_0x3a4449){const _0x2c583e=_0x5522af;if(!_0x3a4449[_0x2c583e(0xce)][_0x2c583e(0xcd)])return;const _0x3c9e95=this[_0x2c583e(0xdb)](_0x3a4449);if(!_0x3c9e95)return;const _0x41ea34=this[_0x2c583e(0xe6)][_0x2c583e(0xee)](_0x3c9e95),_0x10386b=this[_0x2c583e(0xfd)];_0x10386b&&_0x10386b===_0x41ea34?this[_0x2c583e(0xed)](_0x3c9e95,_0x3a4449):this[_0x2c583e(0x113)](_0x3a4449,_0x3c9e95);}[_0x5522af(0x105)](_0x9de74b){const _0x5e9771=_0x5522af;if(!_0x9de74b[_0x5e9771(0xce)][_0x5e9771(0xcd)])return;const _0x3108ff=this[_0x5e9771(0xef)](_0x9de74b);if(!_0x3108ff)return;const _0x5c58cc=this[_0x5e9771(0xe6)][_0x5e9771(0xee)](_0x3108ff),_0xe1b431=this[_0x5e9771(0x10a)][_0x5e9771(0x110)][_0x5e9771(0xee)](_0x5e9771(0xd6)),_0x59bdc9=this[_0x5e9771(0xfd)];_0x59bdc9&&_0x59bdc9===_0x5c58cc&&_0xe1b431?(this[_0x5e9771(0x113)](_0x3108ff,_0x9de74b),this[_0x5e9771(0xed)](_0x9de74b,_0x3108ff)):_0x59bdc9&&_0x59bdc9===_0x5c58cc?this[_0x5e9771(0x113)](_0x3108ff,_0x9de74b):this[_0x5e9771(0xed)](_0x9de74b,_0x3108ff);}[_0x5522af(0xfe)](_0x51c2c4,_0x20cd22){const _0x3dada8=_0x5522af;0x0===this[_0x3dada8(0xfb)][_0x3dada8(0xcd)]&&setTimeout(()=>{const _0x5f1f4a=_0x3dada8;for(const {sidebarItemView:_0x5f26e1,changedProp:_0x53ba21}of this[_0x5f1f4a(0xfb)])_0x5f1f4a(0xc3)===_0x53ba21?this[_0x5f1f4a(0x100)](_0x5f26e1):this[_0x5f1f4a(0x105)](_0x5f26e1);this[_0x5f1f4a(0xfb)]=[];},0xa),this[_0x3dada8(0xfb)][_0x3dada8(0xec)]({'sidebarItemView':_0x51c2c4,'changedProp':_0x20cd22});}[_0x5522af(0xe1)](_0x4e0835){const _0xf3741f=_0x5522af;return this[_0xf3741f(0xd4)][_0xf3741f(0xee)](_0x4e0835);}[_0x5522af(0x10f)](){const _0x5c0b83=_0x5522af;this[_0x5c0b83(0xe9)](),this[_0x5c0b83(0xca)][_0x5c0b83(0x10f)]();}[_0x5522af(0x104)](_0x1b3346){const _0x1fb805=_0x5522af,_0x41d97a=this[_0x1fb805(0xe1)](_0x1b3346);this[_0x1fb805(0xe9)](_0x41d97a),this[_0x1fb805(0xe9)](_0x1b3346[_0x1fb805(0xca)]),_0x41d97a[_0x1fb805(0x10f)](),this[_0x1fb805(0xd4)][_0x1fb805(0x118)](_0x1b3346),this[_0x1fb805(0xe6)][_0x1fb805(0x118)](_0x41d97a);}[_0x5522af(0xc6)](){const _0x6ca552=_0x5522af,_0x58a8ad=new _0x494c19(this[_0x6ca552(0x10a)][_0x6ca552(0x109)]);return _0x58a8ad[_0x6ca552(0x10c)](),this['on'](_0x6ca552(0xf8),(_0x296fc1,_0x592d0a,_0x8d5106,_0x1dc079)=>{const _0x535a6f=_0x6ca552;_0x1dc079&&_0x58a8ad[_0x535a6f(0x10b)](_0x535a6f(0xc0)),_0x8d5106?_0x58a8ad[_0x535a6f(0x107)](_0x535a6f(0xc0))['to'](_0x8d5106,_0x535a6f(0x115)):_0x58a8ad[_0x535a6f(0xc0)]=null;}),_0x58a8ad;}[_0x5522af(0xd2)](){const _0x1f85dd=_0x5522af;this[_0x1f85dd(0xcc)]=this[_0x1f85dd(0xf7)]?.[_0x1f85dd(0xdf)]?this[_0x1f85dd(0xe1)](this[_0x1f85dd(0xf7)][_0x1f85dd(0xdf)]):null;}[_0x5522af(0xdb)](_0xbc11d2){const _0x2ad861=_0x5522af,_0x3a2a64=this[_0x2ad861(0xe6)][_0x2ad861(0xee)](_0xbc11d2),_0x176572=_0x3a2a64&&this[_0x2ad861(0xf7)]?.[_0x2ad861(0xee)](this[_0x2ad861(0xf7)][_0x2ad861(0x102)](_0x3a2a64)-0x1);return _0x176572&&this[_0x2ad861(0xe1)](_0x176572)||null;}[_0x5522af(0xef)](_0x51afaa){const _0x4d65eb=_0x5522af,_0x305f79=this[_0x4d65eb(0xe6)][_0x4d65eb(0xee)](_0x51afaa),_0x4fb67c=_0x305f79&&this[_0x4d65eb(0xf7)]?.[_0x4d65eb(0xee)](this[_0x4d65eb(0xf7)][_0x4d65eb(0x102)](_0x305f79)+0x1);return _0x4fb67c&&this[_0x4d65eb(0xe1)](_0x4fb67c)||null;}[_0x5522af(0x113)](_0x260cff,_0x4a6d64){const _0x34b70f=_0x5522af;_0x260cff[_0x34b70f(0xd0)]();const _0x1baaa0=G(_0x4a6d64[_0x34b70f(0x115)]+this[_0x34b70f(0xc7)],_0x260cff[_0x34b70f(0xc3)]);return!!_0x1baaa0&&(this[_0x34b70f(0xf9)](_0x4a6d64,_0x4a6d64[_0x34b70f(0xc3)]-_0x1baaa0),!0x0);}[_0x5522af(0xed)](_0x6d151d,_0x4bcfe0){const _0x131f40=_0x5522af;_0x6d151d[_0x131f40(0xd0)]();const _0x2e7e7c=G(_0x6d151d[_0x131f40(0x115)]+this[_0x131f40(0xc7)],_0x4bcfe0[_0x131f40(0xc3)]);return!!_0x2e7e7c&&(this[_0x131f40(0xf9)](_0x4bcfe0,_0x4bcfe0[_0x131f40(0xc3)]+_0x2e7e7c,!0x1),!0x0);}[_0x5522af(0xc4)](_0x2d1208){const _0x1e5dfc=_0x5522af,_0x991354=this[_0x1e5dfc(0xe6)][_0x1e5dfc(0xee)](_0x2d1208);if(!_0x991354||!_0x991354[_0x1e5dfc(0xe3)]||!_0x991354[_0x1e5dfc(0xe0)])return;const _0x18691f=this[_0x1e5dfc(0xc5)](_0x991354,_0x991354[_0x1e5dfc(0xe0)]);this[_0x1e5dfc(0xf9)](_0x2d1208,_0x18691f);}[_0x5522af(0xc5)](_0x4f3e63,_0x3fad8b){const _0x2c3673=_0x5522af;if(null===_0x3fad8b)return 0x0;if(_0x4f3e63[_0x2c3673(0xe3)]instanceof _0x86ce65)return _0x3fad8b[_0x2c3673(0xc3)];{const _0x349b3f=new _0x86ce65(this[_0x2c3673(0xca)][_0x2c3673(0xd5)])[_0x2c3673(0xc3)];return _0x3fad8b[_0x2c3673(0xc3)]-_0x349b3f;}}[_0x5522af(0xf9)](_0x1fe476,_0x33ea54,_0x3dce09=this[_0x5522af(0x10a)][_0x5522af(0x110)][_0x5522af(0xee)](_0x5522af(0xd6))){const _0x547b9f=_0x5522af;_0x3dce09&&(_0x33ea54=Math[_0x547b9f(0x103)](_0x33ea54,this[_0x547b9f(0x101)](_0x1fe476))),_0x1fe476[_0x547b9f(0xc3)]=_0x33ea54;}[_0x5522af(0x101)](_0x534295){const _0x39e58e=_0x5522af;let _0x443921=this[_0x39e58e(0xdb)](_0x534295),_0x350d95=0x0;for(;_0x443921;)_0x443921[_0x39e58e(0xd0)](),_0x350d95+=this[_0x39e58e(0xc7)]+_0x443921[_0x39e58e(0xde)],_0x443921=this[_0x39e58e(0xdb)](_0x443921);return _0x350d95;}}function G(_0x1cb3c0,_0x1b7cdc){const _0x3574ad=_0x5522af;return Math[_0x3574ad(0x103)](_0x1cb3c0-_0x1b7cdc,0x0);}function g(_0x4fa742){const _0x2100a2=_0x5522af;return null!==_0x4fa742&&_0x2100a2(0xff)==typeof _0x4fa742&&0x1===_0x4fa742[_0x2100a2(0xcf)];}function _0x1944(){const _0x268bd1=['_targetTop','refresh','height','last','targetRect','getSidebarItemView','rearrange','target','change:top','setContainer','_sidebarItemViewToAnnotation','_attachToContainer','sidebar-attachtocontainer-missing-container','stopListening','474KChrdp','add','push','_alignAfterItem','get','_getItemAfter','30900RLzyeA','remove','addAnnotation','6039208wqsgRB','isPremiumPlugin','define','7374636bFNSgj','_annotations','change:_lastItem','_setItemTop','_detachFromContainer','_recalculateBuffer','2289300XXxulm','_activeAnnotation','_recalculate','object','_alignForTopChange','_getMaxAvailableTop','getIndex','max','_destroySidebarItemView','_alignForBottomChange','1365408lrYOiA','bind','989868LEjMnf','locale','context','unbind','render','container','isActive','destroy','config','53285hojKjW','clear','_alignBeforeItem','list','bottom','listenTo','change:bottom','delete','sidebar.container','minHeight','set','change:targetRect','top','_alignToTargetRect','_getTargetTop','_createSidebarView','_spaceBetweenItems','init','isOfficialPlugin','view','class','_lastItem','length','content','nodeType','updateHeight','7wuDGLF','_updateLastItem','pluginName','_annotationToSidebarItemView','element','sidebar.preventScrollOutOfView','sidebar-setcontainer-invalid-element','appendChild','Sidebar','isAnimationDisabled','_getItemBefore'];_0x1944=function(){return _0x268bd1;};return _0x1944();}
|
|
23
|
+
const _0x5771a7=_0x4df2;(function(_0x3c6746,_0x300282){const _0x184b27=_0x4df2,_0x26ec68=_0x3c6746();while(!![]){try{const _0x5510f5=-parseInt(_0x184b27(0x21a))/0x1+parseInt(_0x184b27(0x1f5))/0x2+parseInt(_0x184b27(0x21b))/0x3*(-parseInt(_0x184b27(0x1ec))/0x4)+parseInt(_0x184b27(0x207))/0x5*(-parseInt(_0x184b27(0x1fd))/0x6)+parseInt(_0x184b27(0x21c))/0x7+parseInt(_0x184b27(0x1f9))/0x8+parseInt(_0x184b27(0x20a))/0x9*(parseInt(_0x184b27(0x1de))/0xa);if(_0x5510f5===_0x300282)break;else _0x26ec68['push'](_0x26ec68['shift']());}catch(_0x2d8908){_0x26ec68['push'](_0x26ec68['shift']());}}}(_0x2fd3,0xbece4));import{ContextPlugin as _0x324b4e}from'ckeditor5/src/core.js';import{Rect as _0x2011ee,CKEditorError as _0x23c467}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x450e64}from'./view/sidebarview.js';function _0x2fd3(){const _0x2ae2a8=['view','target','change:bottom','_updateLastItem','addAnnotation','isActive','remove','_recalculate','height','_setItemTop','_getTargetTop','sidebar-attachtocontainer-missing-container','_detachFromContainer','max','appendChild','destroy','_alignAfterItem','getSidebarItemView','20IomWqJ','sidebar-setcontainer-invalid-element','delete','_alignForBottomChange','updateHeight','refresh','bottom','bind','_sidebarItemViewToAnnotation','config','length','unbind','stopListening','change:top','76uTnKgx','_createSidebarView','locale','_spaceBetweenItems','push','_alignToTargetRect','_getItemBefore','rearrange','render','2284000dvopvS','_getItemAfter','last','getIndex','9954472DaYKEh','_attachToContainer','context','define','6GxeSxf','_targetTop','isAnimationDisabled','change:_lastItem','_annotationToSidebarItemView','set','Sidebar','clear','pluginName','_alignForTopChange','4374385klhRxq','object','class','1211913tITqQD','minHeight','_lastItem','top','listenTo','isPremiumPlugin','_destroySidebarItemView','_activeAnnotation','element','nodeType','get','_getMaxAvailableTop','list','_recalculateBuffer','sidebar.container','init','748965gBGnPz','114831xIwzmr','3339154SpTiOd','isOfficialPlugin','sidebar.preventScrollOutOfView','_annotations','_alignBeforeItem','change:targetRect','container','content','targetRect','add','setContainer'];_0x2fd3=function(){return _0x2ae2a8;};return _0x2fd3();}function _0x4df2(_0x1c80c5,_0x2698a8){const _0x2fd35c=_0x2fd3();return _0x4df2=function(_0x4df2b5,_0x3d30ca){_0x4df2b5=_0x4df2b5-0x1d7;let _0x59e7e0=_0x2fd35c[_0x4df2b5];return _0x59e7e0;},_0x4df2(_0x1c80c5,_0x2698a8);}import{AnnotationsSidebarItemView as _0x337e48}from'./view/sidebaritemview.js';export class Sidebar extends _0x324b4e{[_0x5771a7(0x227)];[_0x5771a7(0x211)];[_0x5771a7(0x21f)];[_0x5771a7(0x1ef)];[_0x5771a7(0x1e6)];[_0x5771a7(0x201)];[_0x5771a7(0x217)];static get[_0x5771a7(0x205)](){const _0xdf85b0=_0x5771a7;return _0xdf85b0(0x203);}static get[_0x5771a7(0x21d)](){return!0x0;}static get[_0x5771a7(0x20f)](){return!0x0;}constructor(_0x455bfd){const _0xdf4afc=_0x5771a7;super(_0x455bfd),this[_0xdf4afc(0x202)](_0xdf4afc(0x20c),void 0x0),this[_0xdf4afc(0x227)]=this[_0xdf4afc(0x1ed)](),this[_0xdf4afc(0x202)](_0xdf4afc(0x222),null),this[_0xdf4afc(0x1ef)]=0x19,this[_0xdf4afc(0x1e6)]=new Map(),this[_0xdf4afc(0x201)]=new Map(),this[_0xdf4afc(0x1fb)][_0xdf4afc(0x1e7)][_0xdf4afc(0x1fc)](_0xdf4afc(0x21e),!0x1),this[_0xdf4afc(0x21f)]=null,this[_0xdf4afc(0x211)]=null,this[_0xdf4afc(0x217)]=[];}[_0x5771a7(0x219)](){const _0x2b6ffe=_0x5771a7,_0xf46f70=this[_0x2b6ffe(0x1fb)][_0x2b6ffe(0x1e7)][_0x2b6ffe(0x214)](_0x2b6ffe(0x218));_0xf46f70&&this[_0x2b6ffe(0x226)](_0xf46f70);}[_0x5771a7(0x226)](_0x546223){const _0x4e44b9=_0x5771a7;if(!g(_0x546223))throw new _0x23c467(_0x4e44b9(0x1df));this[_0x4e44b9(0x222)]=_0x546223;}[_0x5771a7(0x1fa)]({viewClass:_0x558d4b='',spaceBetweenItems:_0x59a0ec=0x19}={}){const _0x5e8318=_0x5771a7;if(!g(this[_0x5e8318(0x222)]))throw new _0x23c467(_0x5e8318(0x1d7),this);this[_0x5e8318(0x222)][_0x5e8318(0x1da)](this[_0x5e8318(0x227)][_0x5e8318(0x212)]),this[_0x5e8318(0x227)][_0x5e8318(0x209)]=_0x558d4b,this[_0x5e8318(0x1ef)]=_0x59a0ec;}[_0x5771a7(0x1f3)]({removedAnnotation:_0x227c89,previousAnnotation:_0x909150,nextAnnotation:_0x510b87}){const _0x494ab6=_0x5771a7,_0x23788c=this[_0x494ab6(0x1dd)](_0x227c89);this[_0x494ab6(0x227)][_0x494ab6(0x216)][_0x494ab6(0x22d)](_0x23788c),this[_0x494ab6(0x210)](_0x227c89),_0x909150&&this[_0x494ab6(0x1f1)](this[_0x494ab6(0x1dd)](_0x909150)),_0x510b87&&this[_0x494ab6(0x1f1)](this[_0x494ab6(0x1dd)](_0x510b87)),this[_0x494ab6(0x22a)]();}[_0x5771a7(0x1e3)]({blurredAnnotation:_0x3615ea,activatedAnnotation:_0x59f4b4,disableAnimationOnActivatedAnnotation:_0x13ee2b}){const _0x27be3f=_0x5771a7;if(this[_0x27be3f(0x211)]=_0x59f4b4,_0x3615ea){_0x3615ea[_0x27be3f(0x22c)]=!0x1;const _0x38cc94=this[_0x27be3f(0x1dd)](_0x3615ea);_0x38cc94&&_0x13ee2b&&(_0x38cc94[_0x27be3f(0x1ff)]=!0x1);}if(_0x59f4b4){const _0x434b2a=this[_0x27be3f(0x1dd)](_0x59f4b4);_0x434b2a&&(_0x59f4b4[_0x27be3f(0x22c)]=!0x0,_0x13ee2b&&(_0x434b2a[_0x27be3f(0x1ff)]=!0x0,_0x434b2a[_0x27be3f(0x20d)]+=0x1),this[_0x27be3f(0x1f1)](_0x434b2a));}}[_0x5771a7(0x1d8)](_0x26eac8){const _0x1b4ef9=_0x5771a7;if(this[_0x1b4ef9(0x227)][_0x1b4ef9(0x212)][_0x1b4ef9(0x22d)](),_0x26eac8){for(const _0x4764cf of _0x26eac8)this[_0x1b4ef9(0x210)](_0x4764cf);}this[_0x1b4ef9(0x227)][_0x1b4ef9(0x216)][_0x1b4ef9(0x204)](),this[_0x1b4ef9(0x227)][_0x1b4ef9(0x209)]='',this[_0x1b4ef9(0x20c)]=null;}[_0x5771a7(0x22b)](_0x4c463c,_0x1c033c){const _0x2f844d=_0x5771a7;_0x1c033c||(_0x1c033c=_0x4c463c[_0x2f844d(0x227)]);const _0x4b3a08=new _0x337e48(this[_0x2f844d(0x1fb)][_0x2f844d(0x1ee)]);this[_0x2f844d(0x1e6)][_0x2f844d(0x202)](_0x4b3a08,_0x4c463c),this[_0x2f844d(0x201)][_0x2f844d(0x202)](_0x4c463c,_0x4b3a08),_0x4b3a08[_0x2f844d(0x223)][_0x2f844d(0x225)](_0x1c033c),this[_0x2f844d(0x20e)](_0x4c463c[_0x2f844d(0x227)],_0x2f844d(0x221),(_0x237246,_0x19a54d,_0x2e920c)=>{const _0x101edf=_0x2f844d,_0x28dce8=this[_0x101edf(0x231)](_0x4c463c,_0x2e920c);_0x4b3a08[_0x101edf(0x1fe)]!=_0x28dce8&&(_0x4b3a08[_0x101edf(0x1fe)]=_0x28dce8,this[_0x101edf(0x230)](_0x4b3a08,_0x28dce8));}),this[_0x2f844d(0x20e)](_0x4b3a08,_0x2f844d(0x1eb),()=>{const _0x2dec59=_0x2f844d;this[_0x2dec59(0x22e)](_0x4b3a08,_0x2dec59(0x20d));}),this[_0x2f844d(0x20e)](_0x4b3a08,_0x2f844d(0x229),()=>{const _0x511cd5=_0x2f844d;this[_0x511cd5(0x22e)](_0x4b3a08,_0x511cd5(0x1e4));}),this[_0x2f844d(0x1f1)](_0x4b3a08);const _0x4aa18d=this[_0x2f844d(0x1f2)](_0x4b3a08);if(_0x4aa18d)this[_0x2f844d(0x1dc)](_0x4aa18d,_0x4b3a08)||this[_0x2f844d(0x1f1)](_0x4b3a08);else this[_0x2f844d(0x1f1)](_0x4b3a08);return this[_0x2f844d(0x22a)](),this[_0x2f844d(0x227)][_0x2f844d(0x216)][_0x2f844d(0x225)](_0x4b3a08),_0x4b3a08;}[_0x5771a7(0x206)](_0x108a72){const _0x52487f=_0x5771a7;if(!_0x108a72[_0x52487f(0x223)][_0x52487f(0x1e8)])return;const _0xa19589=this[_0x52487f(0x1f2)](_0x108a72);if(!_0xa19589)return;const _0x5b042f=this[_0x52487f(0x1e6)][_0x52487f(0x214)](_0xa19589),_0xa37968=this[_0x52487f(0x211)];_0xa37968&&_0xa37968===_0x5b042f?this[_0x52487f(0x1dc)](_0xa19589,_0x108a72):this[_0x52487f(0x220)](_0x108a72,_0xa19589);}[_0x5771a7(0x1e1)](_0x183e38){const _0x341736=_0x5771a7;if(!_0x183e38[_0x341736(0x223)][_0x341736(0x1e8)])return;const _0x33196f=this[_0x341736(0x1f6)](_0x183e38);if(!_0x33196f)return;const _0x20e5e4=this[_0x341736(0x1e6)][_0x341736(0x214)](_0x33196f),_0x301a86=this[_0x341736(0x1fb)][_0x341736(0x1e7)][_0x341736(0x214)](_0x341736(0x21e)),_0x25d07=this[_0x341736(0x211)];_0x25d07&&_0x25d07===_0x20e5e4&&_0x301a86?(this[_0x341736(0x220)](_0x33196f,_0x183e38),this[_0x341736(0x1dc)](_0x183e38,_0x33196f)):_0x25d07&&_0x25d07===_0x20e5e4?this[_0x341736(0x220)](_0x33196f,_0x183e38):this[_0x341736(0x1dc)](_0x183e38,_0x33196f);}[_0x5771a7(0x22e)](_0x1f5008,_0x52b81b){const _0x148942=_0x5771a7;0x0===this[_0x148942(0x217)][_0x148942(0x1e8)]&&setTimeout(()=>{const _0x229e3e=_0x148942;for(const {sidebarItemView:_0x364d7e,changedProp:_0x41a481}of this[_0x229e3e(0x217)])_0x229e3e(0x20d)===_0x41a481?this[_0x229e3e(0x206)](_0x364d7e):this[_0x229e3e(0x1e1)](_0x364d7e);this[_0x229e3e(0x217)]=[];},0xa),this[_0x148942(0x217)][_0x148942(0x1f0)]({'sidebarItemView':_0x1f5008,'changedProp':_0x52b81b});}[_0x5771a7(0x1dd)](_0x424626){const _0x438349=_0x5771a7;return this[_0x438349(0x201)][_0x438349(0x214)](_0x424626);}[_0x5771a7(0x1db)](){const _0x27c01b=_0x5771a7;this[_0x27c01b(0x1ea)](),this[_0x27c01b(0x227)][_0x27c01b(0x1db)]();}[_0x5771a7(0x210)](_0x2db853){const _0x27c1aa=_0x5771a7,_0x53471c=this[_0x27c1aa(0x1dd)](_0x2db853);this[_0x27c1aa(0x1ea)](_0x53471c),this[_0x27c1aa(0x1ea)](_0x2db853[_0x27c1aa(0x227)]),_0x53471c[_0x27c1aa(0x1db)](),this[_0x27c1aa(0x201)][_0x27c1aa(0x1e0)](_0x2db853),this[_0x27c1aa(0x1e6)][_0x27c1aa(0x1e0)](_0x53471c);}[_0x5771a7(0x1ed)](){const _0x3f051f=_0x5771a7,_0x42cdf6=new _0x450e64(this[_0x3f051f(0x1fb)][_0x3f051f(0x1ee)]);return _0x42cdf6[_0x3f051f(0x1f4)](),this['on'](_0x3f051f(0x200),(_0x16645c,_0x307edf,_0x56d655,_0x2ddf85)=>{const _0x5481f8=_0x3f051f;_0x2ddf85&&_0x42cdf6[_0x5481f8(0x1e9)](_0x5481f8(0x20b)),_0x56d655?_0x42cdf6[_0x5481f8(0x1e5)](_0x5481f8(0x20b))['to'](_0x56d655,_0x5481f8(0x1e4)):_0x42cdf6[_0x5481f8(0x20b)]=null;}),_0x42cdf6;}[_0x5771a7(0x22a)](){const _0x2c3bbf=_0x5771a7;this[_0x2c3bbf(0x20c)]=this[_0x2c3bbf(0x21f)]?.[_0x2c3bbf(0x1f7)]?this[_0x2c3bbf(0x1dd)](this[_0x2c3bbf(0x21f)][_0x2c3bbf(0x1f7)]):null;}[_0x5771a7(0x1f2)](_0x1fc6e6){const _0x557a6b=_0x5771a7,_0x207a9a=this[_0x557a6b(0x1e6)][_0x557a6b(0x214)](_0x1fc6e6),_0x3b0856=_0x207a9a&&this[_0x557a6b(0x21f)]?.[_0x557a6b(0x214)](this[_0x557a6b(0x21f)][_0x557a6b(0x1f8)](_0x207a9a)-0x1);return _0x3b0856&&this[_0x557a6b(0x1dd)](_0x3b0856)||null;}[_0x5771a7(0x1f6)](_0x2fc6cf){const _0x1ae597=_0x5771a7,_0x337e63=this[_0x1ae597(0x1e6)][_0x1ae597(0x214)](_0x2fc6cf),_0x433362=_0x337e63&&this[_0x1ae597(0x21f)]?.[_0x1ae597(0x214)](this[_0x1ae597(0x21f)][_0x1ae597(0x1f8)](_0x337e63)+0x1);return _0x433362&&this[_0x1ae597(0x1dd)](_0x433362)||null;}[_0x5771a7(0x220)](_0x5a09e0,_0x1f495e){const _0x13b705=_0x5771a7;_0x5a09e0[_0x13b705(0x1e2)]();const _0x48395a=G(_0x1f495e[_0x13b705(0x1e4)]+this[_0x13b705(0x1ef)],_0x5a09e0[_0x13b705(0x20d)]);return!!_0x48395a&&(this[_0x13b705(0x230)](_0x1f495e,_0x1f495e[_0x13b705(0x20d)]-_0x48395a),!0x0);}[_0x5771a7(0x1dc)](_0x2b75bb,_0x2f97a2){const _0x3394a8=_0x5771a7;_0x2b75bb[_0x3394a8(0x1e2)]();const _0x1b1173=G(_0x2b75bb[_0x3394a8(0x1e4)]+this[_0x3394a8(0x1ef)],_0x2f97a2[_0x3394a8(0x20d)]);return!!_0x1b1173&&(this[_0x3394a8(0x230)](_0x2f97a2,_0x2f97a2[_0x3394a8(0x20d)]+_0x1b1173,!0x1),!0x0);}[_0x5771a7(0x1f1)](_0x3aecea){const _0x8130b7=_0x5771a7,_0x392787=this[_0x8130b7(0x1e6)][_0x8130b7(0x214)](_0x3aecea);if(!_0x392787||!_0x392787[_0x8130b7(0x228)]||!_0x392787[_0x8130b7(0x224)])return;const _0x4aa8f0=this[_0x8130b7(0x231)](_0x392787,_0x392787[_0x8130b7(0x224)]);this[_0x8130b7(0x230)](_0x3aecea,_0x4aa8f0);}[_0x5771a7(0x231)](_0x2593bd,_0x2f5966){const _0x3fe984=_0x5771a7;if(null===_0x2f5966)return 0x0;if(_0x2593bd[_0x3fe984(0x228)]instanceof _0x2011ee)return _0x2f5966[_0x3fe984(0x20d)];{const _0x46cca5=new _0x2011ee(this[_0x3fe984(0x227)][_0x3fe984(0x212)])[_0x3fe984(0x20d)];return _0x2f5966[_0x3fe984(0x20d)]-_0x46cca5;}}[_0x5771a7(0x230)](_0x43b656,_0x6799d0,_0x1e3b28=this[_0x5771a7(0x1fb)][_0x5771a7(0x1e7)][_0x5771a7(0x214)](_0x5771a7(0x21e))){const _0x1408d3=_0x5771a7;_0x1e3b28&&(_0x6799d0=Math[_0x1408d3(0x1d9)](_0x6799d0,this[_0x1408d3(0x215)](_0x43b656))),_0x43b656[_0x1408d3(0x20d)]=_0x6799d0;}[_0x5771a7(0x215)](_0x267205){const _0xfe9c66=_0x5771a7;let _0x1a2f1b=this[_0xfe9c66(0x1f2)](_0x267205),_0x556f1a=0x0;for(;_0x1a2f1b;)_0x1a2f1b[_0xfe9c66(0x1e2)](),_0x556f1a+=this[_0xfe9c66(0x1ef)]+_0x1a2f1b[_0xfe9c66(0x22f)],_0x1a2f1b=this[_0xfe9c66(0x1f2)](_0x1a2f1b);return _0x556f1a;}}function G(_0x2db27e,_0x201a46){const _0x590cb0=_0x5771a7;return Math[_0x590cb0(0x1d9)](_0x2db27e-_0x201a46,0x0);}function g(_0x3ac85f){const _0xaf07bb=_0x5771a7;return null!==_0x3ac85f&&_0xaf07bb(0x208)==typeof _0x3ac85f&&0x1===_0x3ac85f[_0xaf07bb(0x213)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11a646=_0x472f;(function(_0xfb5a7b,_0x5b338d){const _0x240582=_0x472f,_0x2dce20=_0xfb5a7b();while(!![]){try{const _0x4ecd2f=parseInt(_0x240582(0x155))/0x1*(-parseInt(_0x240582(0x13e))/0x2)+parseInt(_0x240582(0x13d))/0x3+parseInt(_0x240582(0x13c))/0x4+-parseInt(_0x240582(0x147))/0x5*(-parseInt(_0x240582(0x141))/0x6)+parseInt(_0x240582(0x156))/0x7*(-parseInt(_0x240582(0x142))/0x8)+parseInt(_0x240582(0x14e))/0x9+-parseInt(_0x240582(0x149))/0xa;if(_0x4ecd2f===_0x5b338d)break;else _0x2dce20['push'](_0x2dce20['shift']());}catch(_0x153482){_0x2dce20['push'](_0x2dce20['shift']());}}}(_0x2480,0x4efce));import{ButtonView as _0x52e020,View as _0x554369}from'ckeditor5/src/ui.js';import{IconAddComment as _0x45f2fd}from'ckeditor5/src/icons.js';function _0x472f(_0x11d511,_0xe6bea){const _0x2480ef=_0x2480();return _0x472f=function(_0x472f7f,_0x21a951){_0x472f7f=_0x472f7f-0x13b;let _0x5acb6b=_0x2480ef[_0x472f7f];return _0x5acb6b;},_0x472f(_0x11d511,_0xe6bea);}function _0x2480(){const _0x57ab90=['...','children','isDirty','annotationType','5282514OEXKLY','icon','ck-annotation-counter__badge--','bind','counterView','ck-annotation-counter__badge','ck-annotation-counter__badge--edit-mode','81674YdUJQb','1722gQMHmH','span','ck-annotation-counter','number','585664RSLTaW','796029daxBRr','6onjqDc','bindTemplate','_badge','1907958qiayFC','864FthImV','extendTemplate','setTemplate','add','toString','5hzdssT','set','7215740DLUuTX'];_0x2480=function(){return _0x57ab90;};return _0x2480();}export class AnnotationCounterButtonView extends _0x52e020{[_0x11a646(0x152)];constructor(_0x1e606e){const _0x372484=_0x11a646;super(_0x1e606e);const _0x446bcb=this[_0x372484(0x13f)];this[_0x372484(0x148)](_0x372484(0x14c),!0x1),this[_0x372484(0x148)](_0x372484(0x13b),0x0),this[_0x372484(0x151)](_0x372484(0x140))['to'](this,_0x372484(0x14c),this,_0x372484(0x13b),(_0x21dade,_0x5b6095)=>_0x21dade?_0x372484(0x14a):_0x5b6095[_0x372484(0x146)]()),this[_0x372484(0x148)](_0x372484(0x14d),''),this[_0x372484(0x14f)]=_0x45f2fd,this[_0x372484(0x143)]({'attributes':{'class':[_0x372484(0x158)]}}),this[_0x372484(0x152)]=new _0x554369(),this[_0x372484(0x152)][_0x372484(0x144)]({'tag':_0x372484(0x157),'attributes':{'class':[_0x372484(0x153),_0x446bcb['to'](_0x372484(0x14d),_0x4ed403=>_0x372484(0x150)+_0x4ed403),_0x446bcb['if'](_0x372484(0x14c),_0x372484(0x154))]},'children':[{'text':_0x446bcb['to'](_0x372484(0x140))}]}),this[_0x372484(0x14b)][_0x372484(0x145)](this[_0x372484(0x152)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27a172=_0xecaa;(function(_0x1ced65,_0x32abd9){const _0x1442d0=_0xecaa,_0x6b602b=_0x1ced65();while(!![]){try{const _0x222ae7=parseInt(_0x1442d0(0xdc))/0x1*(-parseInt(_0x1442d0(0xc4))/0x2)+-parseInt(_0x1442d0(0xc8))/0x3*(parseInt(_0x1442d0(0xc0))/0x4)+parseInt(_0x1442d0(0xbd))/0x5*(-parseInt(_0x1442d0(0xcd))/0x6)+-parseInt(_0x1442d0(0xd4))/0x7*(-parseInt(_0x1442d0(0xd9))/0x8)+parseInt(_0x1442d0(0xbb))/0x9+parseInt(_0x1442d0(0xb1))/0xa*(parseInt(_0x1442d0(0xcc))/0xb)+-parseInt(_0x1442d0(0xc2))/0xc*(-parseInt(_0x1442d0(0xd0))/0xd);if(_0x222ae7===_0x32abd9)break;else _0x6b602b['push'](_0x6b602b['shift']());}catch(_0x49954){_0x6b602b['push'](_0x6b602b['shift']());}}}(_0x247b,0xa4122));function _0x247b(){const _0x5b9d77=['33kVrJro','144lySixL','arrowdown','focusTracker','13smIodx','_updateHeight','Esc','clientHeight','7qFbvZQ','first','setTemplate','listenTo','ck-rounded-corners','110312eJXhBs','clear','targetRect','1093597alDBjh','destroy','mainView','ck-annotation-wrapper--active','type','focus','ck-annotation-wrapper','1624570RICsdd','arrowup','element','attach','content','bindTemplate','delegate','set','_mutationObserver','length','10167894iHVhWM','render','234330zvNtfr','height','isActive','4iCeNmg','fire','20147664EVhlGj','presentation','2FgjQba','createCollection','div','keystrokes','1258449xGYmrS','detach','add','isDirty'];_0x247b=function(){return _0x5b9d77;};return _0x247b();}function _0xecaa(_0x35336b,_0x568fa0){const _0x247bd4=_0x247b();return _0xecaa=function(_0xecaa6b,_0x2499d1){_0xecaa6b=_0xecaa6b-0xb0;let _0x289179=_0x247bd4[_0xecaa6b];return _0x289179;},_0xecaa(_0x35336b,_0x568fa0);}import{View as _0x31d331}from'ckeditor5/src/ui.js';import{FocusTracker as _0x317f5f,KeystrokeHandler as _0x55191d,uid as _0x4faa39}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x534f00}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x31d331{[_0x27a172(0xcf)];['id'];[_0x27a172(0xc7)];[_0x27a172(0xb5)];[_0x27a172(0xde)];[_0x27a172(0xb9)];constructor(_0x49fd4a,_0xd6420a){const _0x5407a3=_0x27a172;super(_0x49fd4a),this['id']=_0x4faa39(),this[_0x5407a3(0xcf)]=new _0x317f5f(),this[_0x5407a3(0xc7)]=new _0x55191d(),this[_0x5407a3(0xc7)][_0x5407a3(0xb8)](_0x5407a3(0xd2),(_0x12c6f4,_0x223cf2)=>this[_0x5407a3(0xc1)](_0x5407a3(0xd2),_0x223cf2)),this[_0x5407a3(0xb8)](_0x5407a3(0xdb),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x5407a3(0xb8)](_0x5407a3(0xbe),0x0),this[_0x5407a3(0xb8)](_0x5407a3(0xbf),!0x1),this[_0x5407a3(0xb8)](_0x5407a3(0xcb),!0x1),this[_0x5407a3(0xb8)](_0x5407a3(0xba),0x0),this[_0x5407a3(0xb8)](_0x5407a3(0xe0),''),this[_0x5407a3(0xb9)]=_0x534f00(()=>this[_0x5407a3(0xd1)]()),this[_0x5407a3(0xb5)]=this[_0x5407a3(0xc5)](),this[_0x5407a3(0xb5)][_0x5407a3(0xb7)](_0x5407a3(0xb2),_0x5407a3(0xce))['to'](this),this[_0x5407a3(0xb5)][_0x5407a3(0xca)](_0xd6420a),this[_0x5407a3(0xde)]=_0xd6420a;const _0x54d98b=this[_0x5407a3(0xb6)];this[_0x5407a3(0xd6)]({'tag':_0x5407a3(0xc6),'attributes':{'class':['ck',_0x5407a3(0xb0),_0x5407a3(0xd8),_0x54d98b['if'](_0x5407a3(0xbf),_0x5407a3(0xdf))],'role':_0x5407a3(0xc3)},'children':this[_0x5407a3(0xb5)]});}[_0x27a172(0xbc)](){const _0x7d7c90=_0x27a172;super[_0x7d7c90(0xbc)](),this[_0x7d7c90(0xcf)][_0x7d7c90(0xca)](this[_0x7d7c90(0xb3)]),this[_0x7d7c90(0xc7)][_0x7d7c90(0xd7)](this[_0x7d7c90(0xb3)]),this[_0x7d7c90(0xb9)][_0x7d7c90(0xb4)](this[_0x7d7c90(0xb3)]);}[_0x27a172(0xdd)](){const _0x48017f=_0x27a172;this[_0x48017f(0xb5)][_0x48017f(0xda)](),this[_0x48017f(0xc7)][_0x48017f(0xdd)](),this[_0x48017f(0xcf)][_0x48017f(0xdd)](),this[_0x48017f(0xb9)][_0x48017f(0xc9)](),super[_0x48017f(0xdd)]();}[_0x27a172(0xe1)](){const _0x31a899=_0x27a172;this[_0x31a899(0xb5)][_0x31a899(0xd5)]&&this[_0x31a899(0xb5)][_0x31a899(0xd5)][_0x31a899(0xe1)]();}[_0x27a172(0xd1)](){const _0x27bfd5=_0x27a172,_0x4d27f5=this[_0x27bfd5(0xb3)][_0x27bfd5(0xd3)];_0x4d27f5&&(this[_0x27bfd5(0xbe)]=_0x4d27f5);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4e9496=_0x318d;(function(_0x555562,_0x1a23c7){const _0x4bc9f1=_0x318d,_0xc40a14=_0x555562();while(!![]){try{const _0x30d8f0=-parseInt(_0x4bc9f1(0x17e))/0x1*(-parseInt(_0x4bc9f1(0x189))/0x2)+-parseInt(_0x4bc9f1(0x18a))/0x3+parseInt(_0x4bc9f1(0x172))/0x4+parseInt(_0x4bc9f1(0x17a))/0x5*(parseInt(_0x4bc9f1(0x171))/0x6)+parseInt(_0x4bc9f1(0x18c))/0x7*(-parseInt(_0x4bc9f1(0x170))/0x8)+parseInt(_0x4bc9f1(0x17d))/0x9+parseInt(_0x4bc9f1(0x175))/0xa;if(_0x30d8f0===_0x1a23c7)break;else _0xc40a14['push'](_0xc40a14['shift']());}catch(_0x303e62){_0xc40a14['push'](_0xc40a14['shift']());}}}(_0x2600,0xc7ab5));import{View as _0x44a412}from'ckeditor5/src/ui.js';function _0x318d(_0x2cdd04,_0x4ea365){const _0x260021=_0x2600();return _0x318d=function(_0x318d72,_0x1494c5){_0x318d72=_0x318d72-0x16f;let _0x60c83e=_0x260021[_0x318d72];return _0x60c83e;},_0x318d(_0x2cdd04,_0x4ea365);}import{toUnit as _0xaf9479}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x49134b}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xaf9479('px');export class AnnotationsSidebarItemView extends _0x44a412{[_0x4e9496(0x18d)];[_0x4e9496(0x185)];[_0x4e9496(0x195)];constructor(_0x39fd73){const _0x4616d6=_0x4e9496;super(_0x39fd73),this[_0x4616d6(0x190)](_0x4616d6(0x183),0x0),this[_0x4616d6(0x190)](_0x4616d6(0x179),0x0),this[_0x4616d6(0x188)](_0x4616d6(0x194))['to'](this,_0x4616d6(0x183),this,_0x4616d6(0x179),(_0x26fea7,_0x549ad1)=>_0x26fea7+_0x549ad1),this[_0x4616d6(0x190)](_0x4616d6(0x173),!0x1),this[_0x4616d6(0x195)]=_0x49134b(()=>this[_0x4616d6(0x178)]()),this[_0x4616d6(0x185)]=null,this[_0x4616d6(0x18d)]=this[_0x4616d6(0x18e)](),this[_0x4616d6(0x18d)][_0x4616d6(0x16f)](_0x4616d6(0x181),_0x4616d6(0x18f))['to'](this);const _0x5d7a29=this[_0x4616d6(0x180)];this[_0x4616d6(0x177)]({'tag':_0x4616d6(0x186),'attributes':{'class':[_0x4616d6(0x18b),_0x5d7a29['to'](_0x4616d6(0x173),_0x1fbcfe=>_0x1fbcfe?_0x4616d6(0x17b):'')],'style':{'top':_0x5d7a29['to'](_0x4616d6(0x183),_0x10ddf4=>Ot(_0x10ddf4))},'role':_0x4616d6(0x176)},'children':this[_0x4616d6(0x18d)]});}[_0x4e9496(0x193)](){const _0xef98a=_0x4e9496;super[_0xef98a(0x193)](),this[_0xef98a(0x195)][_0xef98a(0x182)](this[_0xef98a(0x187)]);}[_0x4e9496(0x191)](){const _0x5505e9=_0x4e9496;this[_0x5505e9(0x18d)][_0x5505e9(0x174)]&&this[_0x5505e9(0x18d)][_0x5505e9(0x174)][_0x5505e9(0x191)]();}[_0x4e9496(0x178)](){const _0x4ea43d=_0x4e9496,_0x84766c=this[_0x4ea43d(0x187)][_0x4ea43d(0x17f)];_0x84766c&&(this[_0x4ea43d(0x179)]=_0x84766c);}[_0x4e9496(0x192)](){const _0xdd1576=_0x4e9496;this[_0xdd1576(0x18d)][_0xdd1576(0x184)](),this[_0xdd1576(0x195)][_0xdd1576(0x17c)](),super[_0xdd1576(0x192)]();}}function _0x2600(){const _0x1d926c=['first','3407260PwHyvM','presentation','setTemplate','updateHeight','height','5CBcavf','ck-sidebar-item--no-animation','detach','9536985erIqIG','35MzFejZ','clientHeight','bindTemplate','arrowup','attach','top','clear','_targetTop','div','element','bind','5412drWzts','4157862GwJzlV','ck-sidebar-item','1029WDPICp','content','createCollection','arrowdown','set','focus','destroy','render','bottom','_mutationObserver','delegate','1832VlGWlC','2759616OLCMck','1129700rMawed','isAnimationDisabled'];_0x2600=function(){return _0x1d926c;};return _0x2600();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x2452(_0xe2139e,_0x1b3ff5){const _0x302fb8=_0x302f();return _0x2452=function(_0x24524f,_0x21deda){_0x24524f=_0x24524f-0x85;let _0x2ca0d3=_0x302fb8[_0x24524f];return _0x2ca0d3;},_0x2452(_0xe2139e,_0x1b3ff5);}const _0x3bf0ee=_0x2452;(function(_0x29a9e2,_0x1125a3){const _0x3873d4=_0x2452,_0x252955=_0x29a9e2();while(!![]){try{const _0x48b90f=-parseInt(_0x3873d4(0xad))/0x1+-parseInt(_0x3873d4(0x90))/0x2*(-parseInt(_0x3873d4(0x99))/0x3)+parseInt(_0x3873d4(0x88))/0x4+-parseInt(_0x3873d4(0x92))/0x5+parseInt(_0x3873d4(0xb2))/0x6+-parseInt(_0x3873d4(0xb0))/0x7+-parseInt(_0x3873d4(0xb3))/0x8*(-parseInt(_0x3873d4(0x87))/0x9);if(_0x48b90f===_0x1125a3)break;else _0x252955['push'](_0x252955['shift']());}catch(_0x2bac34){_0x252955['push'](_0x252955['shift']());}}}(_0x302f,0x78215));function _0x302f(){const _0x351acb=['source','removed','_setupKeyboardNavigation','list','listenTo','Annotations\x20sidebar','arrowdown','forEach','createCollection','length','added','element','bindTemplate','minHeight','ck-reset','render','remove','getIndex','829540SoTxoa','application','_updateItemPositionInFocusables','735966cZaHSZ','focusNext','2094768WowdXm','5370472guHApO','focusTracker','setTemplate','focus','arrowup','delegate','18svZtKz','1704500WTIKEw','top','class','ck-sidebar','uiLanguageDirection','number','add','focusFirst','142BHJYBK','Annotations\x20list','3855430cVSkAu','set','change','focusCycler','change:top','focusPrevious','div','3378UxeeVV','focusables'];_0x302f=function(){return _0x351acb;};return _0x302f();}import{View as _0x47fb7c,FocusCycler as _0x4555ab}from'ckeditor5/src/ui.js';import{FocusTracker as _0xaee8fa,toUnit as _0x52b4ff}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f723c}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x52b4ff('px');export class AnnotationsSidebarView extends _0x47fb7c{[_0x3bf0ee(0x9e)];[_0x3bf0ee(0x9a)];[_0x3bf0ee(0xb4)];[_0x3bf0ee(0x95)];constructor(_0x56bba2){const _0x569bf4=_0x3bf0ee;super(_0x56bba2);const _0x25370c=this[_0x569bf4(0xa7)];this[_0x569bf4(0x93)](_0x569bf4(0xa8),0x0),this[_0x569bf4(0x93)](_0x569bf4(0x8a),''),this[_0x569bf4(0x9e)]=this[_0x569bf4(0xa3)](),this[_0x569bf4(0x9a)]=this[_0x569bf4(0xa3)](),this[_0x569bf4(0x9e)][_0x569bf4(0x86)](_0x569bf4(0x85),_0x569bf4(0xa1))['to'](this),this[_0x569bf4(0xb4)]=new _0xaee8fa(),this[_0x569bf4(0x95)]=new _0x4555ab({'focusables':this[_0x569bf4(0x9a)],'focusTracker':this[_0x569bf4(0xb4)]}),this[_0x569bf4(0xb5)]({'tag':_0x569bf4(0x98),'attributes':{'class':['ck',_0x569bf4(0x8b),_0x569bf4(0xa9),_0x25370c['to'](_0x569bf4(0x8a))],'style':{'minHeight':_0x25370c['to'](_0x569bf4(0xa8),_0x59385=>_0x569bf4(0x8d)==typeof _0x59385?Ot(_0x59385+0xa):null)},'dir':_0x56bba2[_0x569bf4(0x8c)],'role':_0x569bf4(0xae),'aria-label':_0x4f723c(_0x56bba2,_0x569bf4(0xa0)),'tabindex':0x0},'children':[{'tag':_0x569bf4(0x98),'attributes':{'role':_0x569bf4(0x9e),'aria-label':_0x4f723c(_0x56bba2,_0x569bf4(0x91))},'children':this[_0x569bf4(0x9e)]}]});}[_0x3bf0ee(0xaa)](){const _0x43eef0=_0x3bf0ee;super[_0x43eef0(0xaa)](),this[_0x43eef0(0x9d)]();}[_0x3bf0ee(0xb6)](){const _0x163faa=_0x3bf0ee;this[_0x163faa(0x95)][_0x163faa(0x8f)]();}[_0x3bf0ee(0x9d)](){const _0x16fa4a=_0x3bf0ee;this[_0x16fa4a(0x9e)][_0x16fa4a(0x86)](_0x16fa4a(0x96))['to'](this),this['on'](_0x16fa4a(0x96),_0x16a7d9=>{const _0x4127ac=_0x16fa4a;this[_0x4127ac(0xaf)](_0x16a7d9[_0x4127ac(0x9b)]);}),this[_0x16fa4a(0x9e)][_0x16fa4a(0xa2)](_0x44f7bf=>{const _0x330397=_0x16fa4a;this[_0x330397(0xb4)][_0x330397(0x8e)](_0x44f7bf[_0x330397(0xa6)]),this[_0x330397(0xaf)](_0x44f7bf);}),this[_0x16fa4a(0x9e)]['on'](_0x16fa4a(0x94),(_0x4f6728,_0x4a8e5b)=>{const _0x334a89=_0x16fa4a;for(const _0x5361b9 of _0x4a8e5b[_0x334a89(0x9c)])this[_0x334a89(0xb4)][_0x334a89(0xab)](_0x5361b9[_0x334a89(0xa6)]),this[_0x334a89(0x9a)][_0x334a89(0xab)](_0x5361b9);for(const _0x1cabca of _0x4a8e5b[_0x334a89(0xa5)])this[_0x334a89(0xb4)][_0x334a89(0x8e)](_0x1cabca[_0x334a89(0xa6)]),this[_0x334a89(0xaf)](_0x1cabca);}),this['on'](_0x16fa4a(0x85),()=>{const _0x7b11f1=_0x16fa4a;this[_0x7b11f1(0x95)][_0x7b11f1(0x97)]();}),this['on'](_0x16fa4a(0xa1),()=>{const _0x10cc08=_0x16fa4a;this[_0x10cc08(0x95)][_0x10cc08(0xb1)]();}),this[_0x16fa4a(0x9f)](this[_0x16fa4a(0xa6)],_0x16fa4a(0xb6),()=>{const _0xc6e482=_0x16fa4a;this[_0xc6e482(0xb6)]();});}[_0x3bf0ee(0xaf)](_0x5ca5fc){const _0x2cc2b8=_0x3bf0ee,_0x195f3c=this[_0x2cc2b8(0x9a)][_0x2cc2b8(0xac)](_0x5ca5fc);let _0x1b936a,_0x48d2f7;for(const _0x28fc5f of this[_0x2cc2b8(0x9a)])if(_0x5ca5fc[_0x2cc2b8(0x89)]<_0x28fc5f[_0x2cc2b8(0x89)]){_0x1b936a=_0x28fc5f;break;}if(_0x48d2f7=_0x1b936a?this[_0x2cc2b8(0x9a)][_0x2cc2b8(0xac)](_0x1b936a):this[_0x2cc2b8(0x9a)][_0x2cc2b8(0xa4)],-0x1!==_0x195f3c){if(_0x195f3c===_0x48d2f7-0x1)return;this[_0x2cc2b8(0x9a)][_0x2cc2b8(0xab)](_0x5ca5fc),_0x48d2f7=_0x1b936a?this[_0x2cc2b8(0x9a)][_0x2cc2b8(0xac)](_0x1b936a):this[_0x2cc2b8(0x9a)][_0x2cc2b8(0xa4)];}this[_0x2cc2b8(0x9a)][_0x2cc2b8(0x8e)](_0x5ca5fc,_0x48d2f7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28c2d0=_0x1ccd;(function(_0x4c34f6,_0x376ad6){const _0x58e25b=_0x1ccd,_0xf73cf6=_0x4c34f6();while(!![]){try{const _0x410e5d=-parseInt(_0x58e25b(0x1d0))/0x1*(parseInt(_0x58e25b(0x1be))/0x2)+-parseInt(_0x58e25b(0x194))/0x3*(parseInt(_0x58e25b(0x1cd))/0x4)+-parseInt(_0x58e25b(0x1a8))/0x5+parseInt(_0x58e25b(0x1cf))/0x6+parseInt(_0x58e25b(0x1b9))/0x7+parseInt(_0x58e25b(0x19e))/0x8+-parseInt(_0x58e25b(0x1c9))/0x9*(parseInt(_0x58e25b(0x1ab))/0xa);if(_0x410e5d===_0x376ad6)break;else _0xf73cf6['push'](_0xf73cf6['shift']());}catch(_0xa78e59){_0xf73cf6['push'](_0xf73cf6['shift']());}}}(_0x2981,0xa769a));import{ContextPlugin as _0x365ccc,Context as _0x10d312}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x251723}from'./annotationsuis.js';import{Sidebar as _0x1bc356}from'./sidebar.js';function _0x1ccd(_0x71518d,_0xf36723){const _0x29816c=_0x2981();return _0x1ccd=function(_0x1ccd09,_0x14e329){_0x1ccd09=_0x1ccd09-0x18b;let _0x1ff626=_0x29816c[_0x1ccd09];return _0x1ff626;},_0x1ccd(_0x71518d,_0xf36723);}import{CKEditorError as _0x2e059a,Collection as _0x433d30}from'ckeditor5/src/utils.js';import{debounce as _0x228715}from'es-toolkit/compat';export class WideSidebar extends _0x365ccc{[_0x28c2d0(0x193)];[_0x28c2d0(0x195)];[_0x28c2d0(0x18e)];[_0x28c2d0(0x1ce)];static get[_0x28c2d0(0x19f)](){return[_0x1bc356,_0x251723];}static get[_0x28c2d0(0x1bf)](){const _0x415f57=_0x28c2d0;return _0x415f57(0x1a2);}static get[_0x28c2d0(0x1d2)](){return!0x0;}static get[_0x28c2d0(0x1ae)](){return!0x0;}constructor(_0x991fed){const _0x528304=_0x28c2d0;super(_0x991fed),this[_0x528304(0x193)]=!0x1,this[_0x528304(0x1ad)](_0x528304(0x1a7),null),this[_0x528304(0x195)]=null,this[_0x528304(0x18e)]=new _0x433d30(),this[_0x528304(0x1ce)]=_0x228715(()=>{const _0x331b96=_0x528304;_0x991fed[_0x331b96(0x1c6)][_0x331b96(0x1ba)](_0x331b96(0x1b7))[_0x331b96(0x198)](),this[_0x331b96(0x195)][_0x331b96(0x1bb)]();},0xfa,{'leading':!0x1});}[_0x28c2d0(0x18d)](){const _0x1725f1=_0x28c2d0,_0x43d231=this[_0x1725f1(0x1b5)][_0x1725f1(0x1c6)][_0x1725f1(0x1ba)](_0x251723),_0x141cdb=this[_0x1725f1(0x1b5)][_0x1725f1(0x1c6)][_0x1725f1(0x1ba)](_0x1bc356);_0x43d231[_0x1725f1(0x1b3)](_0x1725f1(0x1ac),this),_0x141cdb[_0x1725f1(0x1c7)]&&_0x43d231[_0x1725f1(0x19c)](_0x1725f1(0x1ac));}[_0x28c2d0(0x191)](_0x523a48){const _0x36d7ca=_0x28c2d0;if(_0x523a48===this[_0x36d7ca(0x1a7)])return;const _0x2118a6=this[_0x36d7ca(0x1b5)][_0x36d7ca(0x1c6)][_0x36d7ca(0x1ba)](_0x1bc356);_0x2118a6[_0x36d7ca(0x1a0)]=_0x523a48;const _0x27a548=this[_0x36d7ca(0x1a7)];_0x2118a6[_0x36d7ca(0x1a6)]({'blurredAnnotation':_0x27a548,'activatedAnnotation':_0x523a48}),this[_0x36d7ca(0x1a7)]=_0x523a48;}[_0x28c2d0(0x1b8)](_0x19555e){const _0x4fdb46=_0x28c2d0;this[_0x4fdb46(0x195)]=_0x19555e;const _0x405720=this[_0x4fdb46(0x1b5)][_0x4fdb46(0x1c6)][_0x4fdb46(0x1ba)](_0x1bc356);if(_0x405720[_0x4fdb46(0x1bc)]=_0x19555e,this[_0x4fdb46(0x193)])throw new _0x2e059a(_0x4fdb46(0x18f),this);this[_0x4fdb46(0x193)]=!0x0,this[_0x4fdb46(0x1c0)](_0x405720,_0x4fdb46(0x1cb),()=>{const _0x577c52=_0x4fdb46;this[_0x577c52(0x1c5)](),this[_0x577c52(0x1c0)](_0x405720,_0x577c52(0x199),_0x5e6caf=>{const _0x39b117=_0x577c52;_0x5e6caf[_0x39b117(0x1cc)](),this[_0x39b117(0x1b8)](_0x19555e);});}),_0x405720[_0x4fdb46(0x1b2)]({'viewClass':_0x4fdb46(0x192)});const _0x1d3188=_0x3876c0=>{const _0x12c540=_0x4fdb46;_0x3876c0[_0x12c540(0x1a4)](),_0x405720[_0x12c540(0x18c)](_0x3876c0);};for(const _0x5f39e0 of _0x19555e)_0x1d3188(_0x5f39e0);this[_0x4fdb46(0x1c0)](_0x19555e,_0x4fdb46(0x1a3),(_0x562ead,_0x4120e8)=>{_0x1d3188(_0x4120e8);}),this[_0x4fdb46(0x1c0)](_0x19555e,_0x4fdb46(0x1b6),(_0x26dfe9,_0x1e0e30,_0x4befff)=>{const _0x5e9058=_0x4fdb46;_0x405720[_0x5e9058(0x1af)]({'removedAnnotation':_0x1e0e30,'previousAnnotation':_0x19555e[_0x5e9058(0x1ba)](_0x4befff-0x1),'nextAnnotation':_0x19555e[_0x5e9058(0x1ba)](_0x4befff+0x1)}),_0x1e0e30===this[_0x5e9058(0x1a7)]&&this[_0x5e9058(0x191)](null);},{'priority':_0x4fdb46(0x1b1)}),this[_0x4fdb46(0x1c0)](_0x19555e,_0x4fdb46(0x1c4),(_0x52a06d,_0x22bc62)=>{const _0x51dbab=_0x4fdb46;this[_0x51dbab(0x191)](_0x22bc62);}),this[_0x4fdb46(0x1c0)](_0x19555e,_0x4fdb46(0x1bd),()=>{const _0x3eaac2=_0x4fdb46;this[_0x3eaac2(0x191)](null);});const _0x466fec=this[_0x4fdb46(0x1b5)]instanceof _0x10d312?this[_0x4fdb46(0x1b5)][_0x4fdb46(0x1b4)]:new _0x433d30([this[_0x4fdb46(0x1b5)]]);for(const _0x5b14e3 of _0x466fec)this[_0x4fdb46(0x19d)](_0x5b14e3);this[_0x4fdb46(0x1c0)](_0x466fec,_0x4fdb46(0x1a3),(_0x2e72e2,_0x37882b)=>{const _0x38412f=_0x4fdb46;this[_0x38412f(0x1c0)](_0x37882b,_0x38412f(0x1c3),()=>{const _0x3cfcfa=_0x38412f;this[_0x3cfcfa(0x19d)](_0x37882b);});}),this[_0x4fdb46(0x1c0)](_0x466fec,_0x4fdb46(0x1b6),(_0x44372e,_0x449e8a)=>{const _0x541520=_0x4fdb46;_0x449e8a[_0x541520(0x1c6)][_0x541520(0x1aa)](_0x541520(0x19a))&&this[_0x541520(0x196)](_0x449e8a[_0x541520(0x1c6)][_0x541520(0x1ba)](_0x541520(0x19a)));}),window[_0x4fdb46(0x18b)](_0x4fdb46(0x190),this[_0x4fdb46(0x1ce)]),this[_0x4fdb46(0x1b5)][_0x4fdb46(0x1c6)][_0x4fdb46(0x1ba)](_0x4fdb46(0x1b7))[_0x4fdb46(0x198)](),this[_0x4fdb46(0x195)][_0x4fdb46(0x1bb)]();}[_0x28c2d0(0x1c5)](){const _0x4e8f3c=_0x28c2d0;if(!this[_0x4e8f3c(0x193)])throw new _0x2e059a(_0x4e8f3c(0x1a9),this);this[_0x4e8f3c(0x191)](null);const _0x1af8fd=this[_0x4e8f3c(0x1b5)][_0x4e8f3c(0x1c6)][_0x4e8f3c(0x1ba)](_0x1bc356);_0x1af8fd[_0x4e8f3c(0x1c2)](this[_0x4e8f3c(0x195)]),this[_0x4e8f3c(0x1a1)](_0x1af8fd),this[_0x4e8f3c(0x1a1)](this[_0x4e8f3c(0x195)]),this[_0x4e8f3c(0x1b5)]instanceof _0x10d312&&this[_0x4e8f3c(0x1a1)](this[_0x4e8f3c(0x1b5)][_0x4e8f3c(0x1b4)]);for(const _0x41dfcf of Array[_0x4e8f3c(0x1c1)](this[_0x4e8f3c(0x18e)]))this[_0x4e8f3c(0x196)](_0x41dfcf);window[_0x4e8f3c(0x1c8)](_0x4e8f3c(0x190),this[_0x4e8f3c(0x1ce)]),this[_0x4e8f3c(0x1ce)][_0x4e8f3c(0x1d1)](),this[_0x4e8f3c(0x1a7)]=null,this[_0x4e8f3c(0x193)]=!0x1,this[_0x4e8f3c(0x195)]=null;}[_0x28c2d0(0x1b0)](){const _0xddf295=_0x28c2d0;this[_0xddf295(0x193)]&&this[_0xddf295(0x1c5)]();}[_0x28c2d0(0x19d)](_0x539ee1){const _0x30682=_0x28c2d0;if(!_0x539ee1[_0x30682(0x1c6)][_0x30682(0x1aa)](_0x30682(0x19a)))return;const _0x72c9ae=_0x539ee1[_0x30682(0x1c6)][_0x30682(0x1ba)](_0x30682(0x19a)),_0x3196af=()=>{const _0x15347b=_0x30682,_0x21e042=_0x72c9ae[_0x15347b(0x197)]({'annotations':this[_0x15347b(0x195)],'activeAnnotation':this[_0x15347b(0x1a7)]});this[_0x15347b(0x191)](_0x21e042[0x0]||null);};this[_0x30682(0x1c0)](_0x72c9ae,_0x30682(0x1a6),_0x3196af),this[_0x30682(0x1c0)](_0x72c9ae,_0x30682(0x1bd),(_0x1f5a07,{isAnnotationTracked:_0x3bf6e6})=>{const _0xf2a186=_0x30682;this[_0xf2a186(0x1a7)]&&_0x3bf6e6(this[_0xf2a186(0x1a7)])&&this[_0xf2a186(0x191)](null);}),this[_0x30682(0x1c0)](_0x72c9ae,_0x30682(0x1a5),()=>{const _0x564ee0=_0x30682;this[_0x564ee0(0x1ce)]();}),this[_0x30682(0x1c0)](this[_0x30682(0x195)],_0x30682(0x1bd),_0x2dc59f=>{const _0x59a64f=_0x30682;_0x72c9ae[_0x59a64f(0x19b)]()&&(_0x3196af(),_0x2dc59f[_0x59a64f(0x1ca)]());},{'priority':_0x30682(0x1b1)}),this[_0x30682(0x18e)][_0x30682(0x1a3)](_0x72c9ae);}[_0x28c2d0(0x196)](_0x9d62ef){const _0x540765=_0x28c2d0;this[_0x540765(0x1a1)](_0x9d62ef),this[_0x540765(0x18e)][_0x540765(0x1b6)](_0x9d62ef);}}function _0x2981(){const _0x2505f6=['stopListening','WideSidebar','add','updateTargetRect','uiUpdate','refresh','activeAnnotation','47505OMgsSZ','widesidebar-detach-not-attached','has','170AWurfN','wideSidebar','set','isPremiumPlugin','rearrange','destroy','high','_attachToContainer','register','editors','context','remove','Annotations','attach','1824165hoFoTz','get','refreshPositioning','_annotations','blur','50tNfWEK','pluginName','listenTo','from','_detachFromContainer','ready','focus','detach','plugins','container','removeEventListener','127377BQmeOB','stop','set:container','off','104cihFcx','_refreshPositioningDebounced','2497542Bdvyta','25101pAcxlg','cancel','isOfficialPlugin','addEventListener','addAnnotation','init','_editorAnnotations','widesidebar-attach-already-attached','resize','setActiveAnnotation','ck-sidebar--wide','isAttached','9366nowxzY','annotations','_destroyEditorAnnotationsIntegration','getOrderedSelectedAnnotations','refreshVisibility','change:container','EditorAnnotations','hasDomSelection','switchTo','_integrateWithEditorAnnotations','7741352YEPOAY','requires','_activeAnnotation'];_0x2981=function(){return _0x2505f6;};return _0x2981();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28b919=_0x3e06;function _0x5159(){const _0x2a3f92=['length','hasContent','model','12Umxxdu','createRange','_itemIsContent','change','comment:','81279PFaiiy','set','plugins','editor','addcommentthreadcommand-user-not-found','_createMarkersFromRanges','_createCommentThread','substr','_hasContent','element','isObject','schema','6moZnSL','isEnabled','_trimToContent','addcommentthreadcommand-incorrect-ranges','2035650CCLNkf','371216nABtuz','start','tableCell','collaboration.channelId','config','CommentsRepository','get','2390xMMUad','from','$textProxy','addCommentThread','backward','document','item','addMarker','selection','getLastMatchingPosition','798tVKviI','2932QIHRmL','execute','getRanges','Users','68ZGSCnZ','18dHhuWk','refresh','165258pbQKBE','getItems','3563903XMIXLQ','push','end','24808407CdiuQM'];_0x5159=function(){return _0x2a3f92;};return _0x5159();}(function(_0x54b26c,_0x1a37dc){const _0x1778e5=_0x3e06,_0x2c6570=_0x54b26c();while(!![]){try{const _0x45c421=parseInt(_0x1778e5(0x112))/0x1*(parseInt(_0x1778e5(0x111))/0x2)+parseInt(_0x1778e5(0x119))/0x3*(-parseInt(_0x1778e5(0x116))/0x4)+parseInt(_0x1778e5(0x137))/0x5+-parseInt(_0x1778e5(0x133))/0x6*(-parseInt(_0x1778e5(0x11b))/0x7)+parseInt(_0x1778e5(0x138))/0x8*(-parseInt(_0x1778e5(0x117))/0x9)+-parseInt(_0x1778e5(0x13f))/0xa*(-parseInt(_0x1778e5(0x127))/0xb)+-parseInt(_0x1778e5(0x122))/0xc*(parseInt(_0x1778e5(0x11e))/0xd);if(_0x45c421===_0x1a37dc)break;else _0x2c6570['push'](_0x2c6570['shift']());}catch(_0x99306b){_0x2c6570['push'](_0x2c6570['shift']());}}}(_0x5159,0xdf43d));import{Command as _0x178c3d}from'ckeditor5/src/core.js';import{uid as _0x49d55b,CKEditorError as _0x3cb238}from'ckeditor5/src/utils.js';function _0x3e06(_0x292e5d,_0x4812bf){const _0x5159f1=_0x5159();return _0x3e06=function(_0x3e062f,_0x4e8284){_0x3e062f=_0x3e062f-0x10b;let _0x47e016=_0x5159f1[_0x3e062f];return _0x47e016;},_0x3e06(_0x292e5d,_0x4812bf);}export class AddCommentThreadCommand extends _0x178c3d{constructor(_0x241cce){const _0xc0ef07=_0x3e06;super(_0x241cce),this[_0xc0ef07(0x128)](_0xc0ef07(0x120),!0x1);}[_0x28b919(0x118)](){const _0x48238a=_0x28b919,_0x141f37=this[_0x48238a(0x12a)][_0x48238a(0x121)][_0x48238a(0x10c)][_0x48238a(0x10f)];this[_0x48238a(0x134)]=!0x0,this[_0x48238a(0x120)]=!0x1;for(const _0x271cad of _0x141f37[_0x48238a(0x114)]())if(this[_0x48238a(0x12f)](_0x271cad))return void(this[_0x48238a(0x120)]=!0x0);}[_0x28b919(0x113)]({threadId:_0x11fa45=_0x49d55b(),ranges:_0x26e09,comment:_0x1a6e47}={}){const _0x94e2a5=_0x28b919,_0x4c01e7=this[_0x94e2a5(0x12a)][_0x94e2a5(0x121)],_0x546605=_0x26e09??Array[_0x94e2a5(0x140)](_0x4c01e7[_0x94e2a5(0x10c)][_0x94e2a5(0x10f)][_0x94e2a5(0x114)]()),_0x7de762=[];for(const _0x50616d of _0x546605)this[_0x94e2a5(0x12f)](_0x50616d)&&_0x7de762[_0x94e2a5(0x11c)](this[_0x94e2a5(0x135)](_0x50616d));if(!_0x7de762[_0x94e2a5(0x11f)])throw new _0x3cb238(_0x94e2a5(0x136),null);_0x1a6e47&&this[_0x94e2a5(0x12d)](_0x11fa45,_0x1a6e47),this[_0x94e2a5(0x12c)](_0x11fa45,_0x7de762,!!_0x1a6e47);}[_0x28b919(0x12c)](_0x3e799d,_0x17dd92,_0x3ab177){const _0x143aee=_0x28b919;this[_0x143aee(0x12a)][_0x143aee(0x121)][_0x143aee(0x125)](_0x4b9203=>{const _0x4913d5=_0x143aee;for(const _0x327133 of _0x17dd92){const _0x1307ad=_0x49d55b()[_0x4913d5(0x12e)](0x1,0x5),_0xa32dae=_0x4913d5(0x126)+_0x3e799d+':'+_0x1307ad;_0x4b9203[_0x4913d5(0x10e)](_0xa32dae,{'range':_0x327133,'usingOperation':_0x3ab177,'affectsData':_0x3ab177});}});}[_0x28b919(0x12d)](_0x20ea49,_0x57bef0){const _0x49d939=_0x28b919,_0x206fab=this[_0x49d939(0x12a)][_0x49d939(0x129)][_0x49d939(0x13e)](_0x49d939(0x13d)),_0x262ec5=this[_0x49d939(0x12a)][_0x49d939(0x13c)][_0x49d939(0x13e)](_0x49d939(0x13b)),_0x24b4a9=this[_0x49d939(0x12a)][_0x49d939(0x129)][_0x49d939(0x13e)](_0x49d939(0x115))['me'];if(!_0x24b4a9)throw new _0x3cb238(_0x49d939(0x12b),null);_0x206fab[_0x49d939(0x142)]({'threadId':_0x20ea49,'channelId':_0x262ec5,'comments':[{'authorId':_0x24b4a9['id'],'content':_0x57bef0,'createdAt':new Date(),'attributes':{}}]});}[_0x28b919(0x12f)](_0x55b313){const _0x2fa2fd=_0x28b919;for(const _0x512861 of _0x55b313[_0x2fa2fd(0x11a)]())if(this[_0x2fa2fd(0x124)](_0x512861))return!0x0;return!0x1;}[_0x28b919(0x124)](_0x12d4aa){const _0x30932f=_0x28b919;return _0x12d4aa['is'](_0x30932f(0x141))||this[_0x30932f(0x12a)][_0x30932f(0x121)][_0x30932f(0x132)][_0x30932f(0x131)](_0x12d4aa)&&!_0x12d4aa['is'](_0x30932f(0x130),_0x30932f(0x13a));}[_0x28b919(0x135)](_0x1e58cd){const _0x4aa5d4=_0x28b919,_0x211cd4=_0x38d005=>!this[_0x4aa5d4(0x124)](_0x38d005[_0x4aa5d4(0x10d)]),_0x32ba70=_0x1e58cd[_0x4aa5d4(0x139)][_0x4aa5d4(0x110)](_0x211cd4),_0x17f67d=_0x1e58cd[_0x4aa5d4(0x11d)][_0x4aa5d4(0x110)](_0x211cd4,{'direction':_0x4aa5d4(0x10b)});return this[_0x4aa5d4(0x12a)][_0x4aa5d4(0x121)][_0x4aa5d4(0x123)](_0x32ba70,_0x17f67d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x49d477=_0x2adf;(function(_0x14ebf3,_0x308b06){const _0x2fb622=_0x2adf,_0x42889f=_0x14ebf3();while(!![]){try{const _0xbeeee=-parseInt(_0x2fb622(0x170))/0x1+-parseInt(_0x2fb622(0x180))/0x2+-parseInt(_0x2fb622(0x175))/0x3*(parseInt(_0x2fb622(0x178))/0x4)+parseInt(_0x2fb622(0x184))/0x5+parseInt(_0x2fb622(0x179))/0x6*(-parseInt(_0x2fb622(0x16d))/0x7)+parseInt(_0x2fb622(0x17f))/0x8+parseInt(_0x2fb622(0x174))/0x9;if(_0xbeeee===_0x308b06)break;else _0x42889f['push'](_0x42889f['shift']());}catch(_0x4deef3){_0x42889f['push'](_0x42889f['shift']());}}}(_0x28a7,0xea218));import{ContextPlugin as _0x2834d1}from'ckeditor5/src/core.js';import{Collection as _0x456820}from'ckeditor5/src/utils.js';function _0x2adf(_0x1c23cc,_0x59b515){const _0x28a713=_0x28a7();return _0x2adf=function(_0x2adfa8,_0x51ec98){_0x2adfa8=_0x2adfa8-0x160;let _0x306eb3=_0x28a713[_0x2adfa8];return _0x306eb3;},_0x2adf(_0x1c23cc,_0x59b515);}import{CommentsRepository as _0x18ac80}from'./commentsrepository.js';import{Annotations as _0x161be1}from'../annotations/annotations.js';export class CommentsArchive extends _0x2834d1{static get[_0x49d477(0x17d)](){const _0x4d3cf3=_0x49d477;return _0x4d3cf3(0x17b);}static get[_0x49d477(0x181)](){return!0x0;}static get[_0x49d477(0x166)](){return!0x0;}static get[_0x49d477(0x165)](){return[_0x18ac80,_0x161be1];}constructor(_0x105c4a){const _0x47b871=_0x49d477;super(_0x105c4a),this[_0x47b871(0x17c)]=new _0x456820();}[_0x49d477(0x185)](){const _0x2567d2=_0x49d477,_0x44c34b=this[_0x2567d2(0x161)],_0x14dbe2=_0x44c34b[_0x2567d2(0x162)][_0x2567d2(0x16f)](_0x18ac80),_0x420a86=_0x44c34b[_0x2567d2(0x162)][_0x2567d2(0x16f)](_0x161be1);this[_0x2567d2(0x164)](_0x14dbe2,_0x2567d2(0x16a),(_0x1f39b5,{threadId:_0x556493})=>{const _0x72dae1=_0x2567d2,_0x30ea5f=_0x14dbe2[_0x72dae1(0x172)](_0x556493);_0x30ea5f[_0x72dae1(0x171)]&&this[_0x72dae1(0x17c)][_0x72dae1(0x177)](_0x30ea5f,this[_0x72dae1(0x163)](_0x30ea5f[_0x72dae1(0x171)])),this[_0x72dae1(0x164)](_0x30ea5f,_0x72dae1(0x160),(_0x58f73b,_0x1c9405,_0x44110f)=>{const _0x4bb531=_0x72dae1;_0x44110f?this[_0x4bb531(0x17c)][_0x4bb531(0x167)](_0x30ea5f)||this[_0x4bb531(0x17c)][_0x4bb531(0x177)](_0x30ea5f,this[_0x4bb531(0x163)](_0x30ea5f[_0x4bb531(0x171)])):this[_0x4bb531(0x17c)][_0x4bb531(0x167)](_0x30ea5f)&&this[_0x4bb531(0x17c)][_0x4bb531(0x182)](_0x30ea5f);});}),this[_0x2567d2(0x164)](_0x14dbe2,_0x2567d2(0x169),(_0x265b0a,{threadId:_0x22fa24})=>{const _0x4ddb83=_0x2567d2,_0x4cd816=_0x14dbe2[_0x4ddb83(0x172)](_0x22fa24);this[_0x4ddb83(0x16b)](_0x4cd816),this[_0x4ddb83(0x17c)][_0x4ddb83(0x167)](_0x4cd816)&&this[_0x4ddb83(0x17c)][_0x4ddb83(0x182)](_0x4cd816);},{'priority':_0x2567d2(0x173)}),this[_0x2567d2(0x164)](_0x420a86[_0x2567d2(0x176)],_0x2567d2(0x17e),(_0x2e5351,_0x4b6b99)=>{const _0x245bcf=_0x2567d2;_0x4b6b99[_0x245bcf(0x16c)]||(_0x4b6b99[_0x245bcf(0x17a)]=!0x0,_0x420a86[_0x245bcf(0x168)](_0x4b6b99));});}[_0x49d477(0x163)](_0x8338d9){const _0x1968f6=_0x49d477,_0x28e48b=[...this[_0x1968f6(0x17c)]][_0x1968f6(0x16e)](_0x4ac34e=>_0x4ac34e[_0x1968f6(0x171)]<_0x8338d9);return _0x28e48b>-0x1?_0x28e48b:this[_0x1968f6(0x17c)][_0x1968f6(0x183)];}}function _0x28a7(){const _0x5f3c83=['getCommentThread','highest','12128067cRGHzX','63RMuPmC','collection','add','44664wfUdUK','12qzkzpm','isActive','CommentsArchive','archivedThreads','pluginName','focus','1985272euPaAu','776606mcIqtN','isOfficialPlugin','remove','length','4718565ACgmSz','init','change:archivedAt','context','plugins','_calculatePosition','listenTo','requires','isPremiumPlugin','has','activate','removeCommentThread','addCommentThread','stopListening','isVisible','1468957XyBpNh','findIndex','get','537944PkUAEL','archivedAt'];_0x28a7=function(){return _0x5f3c83;};return _0x28a7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cd047=_0x535e;function _0x535e(_0x45d563,_0x58fda5){const _0x49c2c9=_0x49c2();return _0x535e=function(_0x535ef5,_0x48c79c){_0x535ef5=_0x535ef5-0xe4;let _0x51b260=_0x49c2c9[_0x535ef5];return _0x51b260;},_0x535e(_0x45d563,_0x58fda5);}(function(_0x4bbcee,_0x1c695e){const _0x2cb7de=_0x535e,_0x1df4eb=_0x4bbcee();while(!![]){try{const _0x1425ff=-parseInt(_0x2cb7de(0x106))/0x1+-parseInt(_0x2cb7de(0x128))/0x2+parseInt(_0x2cb7de(0x121))/0x3+parseInt(_0x2cb7de(0xf6))/0x4*(-parseInt(_0x2cb7de(0xea))/0x5)+-parseInt(_0x2cb7de(0x114))/0x6*(parseInt(_0x2cb7de(0xfa))/0x7)+-parseInt(_0x2cb7de(0xe9))/0x8+-parseInt(_0x2cb7de(0xf8))/0x9*(-parseInt(_0x2cb7de(0xf7))/0xa);if(_0x1425ff===_0x1c695e)break;else _0x1df4eb['push'](_0x1df4eb['shift']());}catch(_0x1873ff){_0x1df4eb['push'](_0x1df4eb['shift']());}}}(_0x49c2,0xc2727));import'../../theme/commentsarchive.css';import{Plugin as _0x22fffd}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0xbeec51}from'ckeditor5/src/icons.js';import{ViewCollection as _0x1bbed9,MenuBarMenuListItemButtonView as _0x3baf9c,ButtonView as _0x42a731,Dialog as _0x883ddf,DialogViewPosition as _0xbfc4f}from'ckeditor5/src/ui.js';import{getTranslation as _0x381c65}from'../utils/common-translations.js';function _0x49c2(){const _0x339ed9=['locale','stopListening','includes','archivedAt','308394LWNzHH','pluginName','isOpen','_hideDialogOnAnnotationEscape','find','stop','source','forEach','remove','_threadToController','isVisible','isOfficialPlugin','_calculatePosition','1792158GHOYQg','isOn','annotationViews','_handleNewThread','listenTo','_addAnnotationToArchive','show','1152574FpQuZU','init','view','_pendingThreads','commentsArchive','filter','isPremiumPlugin','isEnabled','tooltip','indexOf','return','focusableElements','CommentsArchiveUI','config','commentsArchiveView','Dialog','9827352GOcAXA','5IIvRSH','add','escape','EDITOR_TOP_SIDE','editor','componentFactory','getByInnerView','innerView','menuBar:commentsArchive','channelId','menuitemcheckbox','execute','2776156DoTNQG','6950DnfITj','65817GtgPmV','length','126XpgfqJ','CommentsRepository','hide','plugins','collaboration.channelId','set:isVisible','Annotations','requires','has','splice','_createCommentsArchiveButton','get','1459539sgxoYn','COMMENTS_ARCHIVE','archivedThreads','_toggleDialog','findIndex','collection','bind','push','set','_visibleAnnotations'];_0x49c2=function(){return _0x339ed9;};return _0x49c2();}import{CommentsArchiveView as _0x63d61d}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0xf97959}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x22fffd{[_0x3cd047(0xe7)];[_0x3cd047(0x123)];[_0x3cd047(0x12b)];static get[_0x3cd047(0x115)](){const _0x5970d4=_0x3cd047;return _0x5970d4(0xe5);}static get[_0x3cd047(0x11f)](){return!0x0;}static get[_0x3cd047(0x12e)](){return!0x0;}static get[_0x3cd047(0x101)](){return[_0xf97959,_0x883ddf];}constructor(_0x53b4ce){const _0x2099ce=_0x3cd047;super(_0x53b4ce),this[_0x2099ce(0x123)]=new _0x1bbed9(),this[_0x2099ce(0x12b)]=[];}[_0x3cd047(0x129)](){const _0x100061=_0x3cd047,_0x5bf7b8=this[_0x100061(0xee)],_0x2fe7c2=this[_0x100061(0x117)][_0x100061(0x10c)](this);_0x5bf7b8['ui'][_0x100061(0xef)][_0x100061(0xeb)](_0x100061(0x12c),()=>this[_0x100061(0x104)](_0x42a731,!0x0)),_0x5bf7b8['ui'][_0x100061(0xef)][_0x100061(0xeb)](_0x100061(0xf2),()=>{const _0x187ac1=_0x100061,_0xdc5813=this[_0x187ac1(0x104)](_0x3baf9c);return _0xdc5813[_0x187ac1(0x10e)]({'role':_0x187ac1(0xf4)}),_0xdc5813;});const _0x4f449f=_0x5bf7b8[_0x100061(0xfd)][_0x100061(0x105)](_0xf97959),_0x402b9e=_0x5bf7b8[_0x100061(0xfd)][_0x100061(0x105)](_0x100061(0x100)),_0x1a24e9=_0x5bf7b8[_0x100061(0xfd)][_0x100061(0x105)](_0x100061(0xfb));_0x4f449f[_0x100061(0x108)][_0x100061(0x11b)](_0x185689=>{const _0x2707c1=_0x100061;this[_0x2707c1(0x124)](_0x185689);}),this[_0x100061(0x125)](_0x4f449f[_0x100061(0x108)],_0x100061(0xeb),(_0x46db05,_0x269296)=>{const _0x8e040=_0x100061;this[_0x8e040(0x124)](_0x269296);}),this[_0x100061(0x125)](_0x402b9e[_0x100061(0x10b)],_0x100061(0xeb),(_0x29e799,_0x180ce1)=>{const _0x879d7=_0x100061,_0x55eeeb=this[_0x879d7(0x12b)][_0x879d7(0x118)](_0x260683=>{const _0x4d8ed5=_0x879d7,_0x595886=_0x1a24e9[_0x4d8ed5(0x11d)][_0x4d8ed5(0x105)](_0x260683);return _0x595886&&_0x180ce1[_0x4d8ed5(0xf1)]===_0x595886[_0x4d8ed5(0x12a)];});if(_0x55eeeb){const _0x3fd771=this[_0x879d7(0x120)](_0x55eeeb[_0x879d7(0x113)]);this[_0x879d7(0x126)](_0x180ce1,_0x3fd771),this[_0x879d7(0x12b)][_0x879d7(0x103)](this[_0x879d7(0x12b)][_0x879d7(0x131)](_0x55eeeb),0x1);}}),this[_0x100061(0x125)](_0x4f449f[_0x100061(0x108)],_0x100061(0x11c),(_0x530c81,_0x5b4fd2)=>{const _0x185bcd=_0x100061,_0x5528aa=_0x5bf7b8[_0x185bcd(0xe6)][_0x185bcd(0x105)](_0x185bcd(0xfe));if(!_0x5528aa||_0x5b4fd2[_0x185bcd(0xf3)]===_0x5528aa){if(this[_0x185bcd(0x12b)][_0x185bcd(0x112)](_0x5b4fd2))this[_0x185bcd(0x12b)][_0x185bcd(0x103)](this[_0x185bcd(0x12b)][_0x185bcd(0x131)](_0x5b4fd2),0x1);else{const _0x4f6da6=_0x1a24e9[_0x185bcd(0x11d)][_0x185bcd(0x105)](_0x5b4fd2),_0x5dedee=_0x402b9e[_0x185bcd(0xf0)](_0x4f6da6[_0x185bcd(0x12a)]);this[_0x185bcd(0x123)][_0x185bcd(0x11c)](_0x5dedee[_0x185bcd(0x12a)]),this[_0x185bcd(0x111)](_0x5dedee),this[_0x185bcd(0x111)](_0x5dedee[_0x185bcd(0xe4)]);}}}),this[_0x100061(0x125)](_0x402b9e[_0x100061(0x10b)],_0x100061(0xeb),(_0x3e25ea,_0x35d822)=>{const _0x599efa=_0x100061;this[_0x599efa(0x125)](_0x35d822,_0x599efa(0xec),_0x2fe7c2);}),this[_0x100061(0x125)](_0x402b9e[_0x100061(0x10b)],_0x100061(0x11c),(_0x2604c6,_0x28adab)=>{const _0x39c40c=_0x100061;this[_0x39c40c(0x111)](_0x28adab,_0x39c40c(0xec),_0x2fe7c2);});}[_0x3cd047(0x126)](_0x520755,_0x5b209b){const _0x1df54c=_0x3cd047;this[_0x1df54c(0x125)](_0x520755,_0x1df54c(0xff),_0x1250b6=>{const _0x163ff7=_0x1df54c;_0x1250b6[_0x163ff7(0x132)]=!0x1,_0x1250b6[_0x163ff7(0x119)]();}),this[_0x1df54c(0x123)][_0x1df54c(0xeb)](_0x520755[_0x1df54c(0x12a)],_0x5b209b);}[_0x3cd047(0x124)](_0x17e84c){const _0x1b0542=_0x3cd047,_0x414dc3=this[_0x1b0542(0xee)][_0x1b0542(0xfd)][_0x1b0542(0x105)](_0x1b0542(0xfb)),_0x5878ff=this[_0x1b0542(0xee)][_0x1b0542(0xfd)][_0x1b0542(0x105)](_0x1b0542(0x100)),_0x51a2de=this[_0x1b0542(0xee)][_0x1b0542(0xe6)][_0x1b0542(0x105)](_0x1b0542(0xfe));if(!_0x51a2de||_0x17e84c[_0x1b0542(0xf3)]===_0x51a2de){const _0x55a5cd=_0x414dc3[_0x1b0542(0x11d)][_0x1b0542(0x105)](_0x17e84c);if(!_0x55a5cd)return void this[_0x1b0542(0x12b)][_0x1b0542(0x10d)](_0x17e84c);const _0x19c958=this[_0x1b0542(0x120)](_0x17e84c[_0x1b0542(0x113)]),_0x5a0722=_0x5878ff[_0x1b0542(0xf0)](_0x55a5cd[_0x1b0542(0x12a)]);_0x5a0722[_0x1b0542(0x11e)]&&_0x5878ff[_0x1b0542(0x10f)][_0x1b0542(0x11c)](_0x5a0722),this[_0x1b0542(0x126)](_0x5a0722,_0x19c958);}}[_0x3cd047(0x120)](_0xed7db5){const _0x3b4f67=_0x3cd047,_0x34c81f=this[_0x3b4f67(0xee)][_0x3b4f67(0xe6)][_0x3b4f67(0x105)](_0x3b4f67(0xfe)),_0x37ffca=[...this[_0x3b4f67(0xee)][_0x3b4f67(0xfd)][_0x3b4f67(0x105)](_0xf97959)[_0x3b4f67(0x108)]][_0x3b4f67(0x12d)](_0x55bc7a=>_0x55bc7a[_0x3b4f67(0xf3)]===_0x34c81f)[_0x3b4f67(0x10a)](_0x4a2db1=>_0x4a2db1[_0x3b4f67(0x113)]<_0xed7db5);return _0x37ffca<0x0||_0x37ffca>this[_0x3b4f67(0x123)][_0x3b4f67(0xf9)]?this[_0x3b4f67(0x123)][_0x3b4f67(0xf9)]:_0x37ffca-0x1;}[_0x3cd047(0x109)](){const _0x8e359f=_0x3cd047,_0x30ef67=this[_0x8e359f(0xee)],_0x451943=_0x30ef67[_0x8e359f(0xfd)][_0x8e359f(0x105)](_0x8e359f(0xe8));this[_0x8e359f(0xe7)]||(this[_0x8e359f(0xe7)]=new _0x63d61d(_0x30ef67[_0x8e359f(0x110)],this[_0x8e359f(0x123)])),_0x8e359f(0x12c)===_0x451943['id']?_0x451943[_0x8e359f(0xfc)]():_0x451943[_0x8e359f(0x127)]({'id':_0x8e359f(0x12c),'title':_0x381c65(_0x30ef67[_0x8e359f(0x110)],_0x8e359f(0x107)),'icon':_0xbeec51,'hasCloseButton':!0x0,'content':this[_0x8e359f(0xe7)],'position':_0xbfc4f[_0x8e359f(0xed)]});}[_0x3cd047(0x104)](_0x273e6a,_0xb54b44=!0x1){const _0x3d5260=_0x3cd047,_0x26db1f=this[_0x3d5260(0xee)][_0x3d5260(0x110)],_0x472270=this[_0x3d5260(0xee)][_0x3d5260(0xfd)][_0x3d5260(0x105)](_0x3d5260(0xe8)),_0x5c6373=new _0x273e6a(_0x26db1f);return _0x5c6373[_0x3d5260(0x10c)](_0x3d5260(0x12f))['to'](this,_0x3d5260(0x12f)),_0x5c6373[_0x3d5260(0x10c)](_0x3d5260(0x122))['to'](_0x472270,'id',_0x8543e9=>_0x3d5260(0x12c)===_0x8543e9),_0x5c6373[_0x3d5260(0x10e)]({'label':_0x381c65(_0x26db1f,_0x3d5260(0x107)),'icon':_0xbeec51,'isToggleable':!0x0}),_0xb54b44&&(_0x5c6373[_0x3d5260(0x130)]=!0x0),this[_0x3d5260(0x125)](_0x5c6373,_0x3d5260(0xf5),()=>this[_0x3d5260(0x109)]()),_0x5c6373;}[_0x3cd047(0x117)]=_0x1e1116=>{const _0x3a4fe8=_0x3cd047,_0x366ab7=_0x1e1116[_0x3a4fe8(0x11a)];if(!this[_0x3a4fe8(0x123)][_0x3a4fe8(0x102)](_0x366ab7[_0x3a4fe8(0x12a)]))return;const _0x1349c3=this[_0x3a4fe8(0xee)][_0x3a4fe8(0xfd)][_0x3a4fe8(0x105)](_0x3a4fe8(0xe8));_0x1349c3[_0x3a4fe8(0x116)]&&_0x3a4fe8(0x12c)===_0x1349c3['id']&&(_0x1349c3[_0x3a4fe8(0xfc)](),_0x1e1116[_0x3a4fe8(0x119)]());};}
|