@ckeditor/ckeditor5-comments 47.6.1-alpha.0 → 47.6.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.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 _0x293ab3=_0x3845;(function(_0x4904e6,_0x2ab10d){const _0x18bfea=_0x3845,_0x2cd569=_0x4904e6();while(!![]){try{const _0x3a7829=-parseInt(_0x18bfea(0x182))/0x1+-parseInt(_0x18bfea(0x171))/0x2+-parseInt(_0x18bfea(0x13a))/0x3+-parseInt(_0x18bfea(0x15e))/0x4+parseInt(_0x18bfea(0x143))/0x5*(-parseInt(_0x18bfea(0x141))/0x6)+parseInt(_0x18bfea(0x18f))/0x7+-parseInt(_0x18bfea(0x157))/0x8*(-parseInt(_0x18bfea(0x174))/0x9);if(_0x3a7829===_0x2ab10d)break;else _0x2cd569['push'](_0x2cd569['shift']());}catch(_0x2178cf){_0x2cd569['push'](_0x2cd569['shift']());}}}(_0x9f92,0x87e0b));import{ContextPlugin as _0x5184dd}from'ckeditor5/src/core.js';import{Rect as _0x453ac2,CKEditorError as _0xbb282}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x135ad9}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x19a89f}from'./view/sidebaritemview.js';export class Sidebar extends _0x5184dd{[_0x293ab3(0x13b)];[_0x293ab3(0x142)];[_0x293ab3(0x169)];[_0x293ab3(0x17e)];[_0x293ab3(0x17c)];[_0x293ab3(0x14e)];[_0x293ab3(0x179)];static get[_0x293ab3(0x170)](){const _0x4cfe13=_0x293ab3;return _0x4cfe13(0x147);}static get[_0x293ab3(0x17d)](){return!0x0;}static get[_0x293ab3(0x16b)](){return!0x0;}constructor(_0x2d7595){const _0x1d0e13=_0x293ab3;super(_0x2d7595),this[_0x1d0e13(0x166)](_0x1d0e13(0x140),void 0x0),this[_0x1d0e13(0x13b)]=this[_0x1d0e13(0x137)](),this[_0x1d0e13(0x166)](_0x1d0e13(0x18d),null),this[_0x1d0e13(0x17e)]=0x19,this[_0x1d0e13(0x17c)]=new Map(),this[_0x1d0e13(0x14e)]=new Map(),this[_0x1d0e13(0x159)][_0x1d0e13(0x155)][_0x1d0e13(0x187)](_0x1d0e13(0x148),!0x1),this[_0x1d0e13(0x169)]=null,this[_0x1d0e13(0x142)]=null,this[_0x1d0e13(0x179)]=[];}[_0x293ab3(0x178)](){const _0x2a46e8=_0x293ab3,_0x56462d=this[_0x2a46e8(0x159)][_0x2a46e8(0x155)][_0x2a46e8(0x139)](_0x2a46e8(0x145));_0x56462d&&this[_0x2a46e8(0x13d)](_0x56462d);}[_0x293ab3(0x13d)](_0x32c16a){const _0x53165b=_0x293ab3;if(!g(_0x32c16a))throw new _0xbb282(_0x53165b(0x173));this[_0x53165b(0x18d)]=_0x32c16a;}[_0x293ab3(0x189)]({viewClass:_0x12c2cd='',spaceBetweenItems:_0x381bb1=0x19}={}){const _0x4a49de=_0x293ab3;if(!g(this[_0x4a49de(0x18d)]))throw new _0xbb282(_0x4a49de(0x15a),this);this[_0x4a49de(0x18d)][_0x4a49de(0x175)](this[_0x4a49de(0x13b)][_0x4a49de(0x146)]),this[_0x4a49de(0x13b)][_0x4a49de(0x138)]=_0x12c2cd,this[_0x4a49de(0x17e)]=_0x381bb1;}[_0x293ab3(0x16d)]({removedAnnotation:_0x1707d0,previousAnnotation:_0x5770d8,nextAnnotation:_0x557dfd}){const _0x496c64=_0x293ab3,_0x1cb58f=this[_0x496c64(0x156)](_0x1707d0);this[_0x496c64(0x13b)][_0x496c64(0x184)][_0x496c64(0x153)](_0x1cb58f),this[_0x496c64(0x161)](_0x1707d0),_0x5770d8&&this[_0x496c64(0x188)](this[_0x496c64(0x156)](_0x5770d8)),_0x557dfd&&this[_0x496c64(0x188)](this[_0x496c64(0x156)](_0x557dfd)),this[_0x496c64(0x163)]();}[_0x293ab3(0x164)]({blurredAnnotation:_0x26ff8e,activatedAnnotation:_0xe27fbd,disableAnimationOnActivatedAnnotation:_0x4e8888}){const _0x10aa3c=_0x293ab3;if(this[_0x10aa3c(0x142)]=_0xe27fbd,_0x26ff8e){_0x26ff8e[_0x10aa3c(0x14c)]=!0x1;const _0x4702f4=this[_0x10aa3c(0x156)](_0x26ff8e);_0x4702f4&&_0x4e8888&&(_0x4702f4[_0x10aa3c(0x152)]=!0x1);}if(_0xe27fbd){const _0x23e116=this[_0x10aa3c(0x156)](_0xe27fbd);_0x23e116&&(_0xe27fbd[_0x10aa3c(0x14c)]=!0x0,_0x4e8888&&(_0x23e116[_0x10aa3c(0x152)]=!0x0,_0x23e116[_0x10aa3c(0x176)]+=0x1),this[_0x10aa3c(0x188)](_0x23e116));}}[_0x293ab3(0x17b)](_0x52dccc){const _0x236c89=_0x293ab3;if(this[_0x236c89(0x13b)][_0x236c89(0x146)][_0x236c89(0x153)](),_0x52dccc){for(const _0x3fd2f0 of _0x52dccc)this[_0x236c89(0x161)](_0x3fd2f0);}this[_0x236c89(0x13b)][_0x236c89(0x184)][_0x236c89(0x158)](),this[_0x236c89(0x13b)][_0x236c89(0x138)]='',this[_0x236c89(0x140)]=null;}[_0x293ab3(0x13e)](_0x1013de,_0x313f12){const _0x133e1e=_0x293ab3;_0x313f12||(_0x313f12=_0x1013de[_0x133e1e(0x13b)]);const _0x2dd697=new _0x19a89f(this[_0x133e1e(0x159)][_0x133e1e(0x18a)]);this[_0x133e1e(0x17c)][_0x133e1e(0x166)](_0x2dd697,_0x1013de),this[_0x133e1e(0x14e)][_0x133e1e(0x166)](_0x1013de,_0x2dd697),_0x2dd697[_0x133e1e(0x167)][_0x133e1e(0x144)](_0x313f12),this[_0x133e1e(0x172)](_0x1013de[_0x133e1e(0x13b)],_0x133e1e(0x160),(_0x445fc6,_0x5669da,_0x55d106)=>{const _0x2d88dc=_0x133e1e,_0x1c2f4a=this[_0x2d88dc(0x162)](_0x1013de,_0x55d106);_0x2dd697[_0x2d88dc(0x186)]!=_0x1c2f4a&&(_0x2dd697[_0x2d88dc(0x186)]=_0x1c2f4a,this[_0x2d88dc(0x18e)](_0x2dd697,_0x1c2f4a));}),this[_0x133e1e(0x172)](_0x2dd697,_0x133e1e(0x18b),()=>{const _0x43c9a4=_0x133e1e;this[_0x43c9a4(0x15b)](_0x2dd697,_0x43c9a4(0x176));}),this[_0x133e1e(0x172)](_0x2dd697,_0x133e1e(0x15c),()=>{const _0x5697af=_0x133e1e;this[_0x5697af(0x15b)](_0x2dd697,_0x5697af(0x149));}),this[_0x133e1e(0x188)](_0x2dd697);const _0x181d54=this[_0x133e1e(0x151)](_0x2dd697);if(_0x181d54)this[_0x133e1e(0x165)](_0x181d54,_0x2dd697)||this[_0x133e1e(0x188)](_0x2dd697);else this[_0x133e1e(0x188)](_0x2dd697);return this[_0x133e1e(0x163)](),this[_0x133e1e(0x13b)][_0x133e1e(0x184)][_0x133e1e(0x144)](_0x2dd697),_0x2dd697;}[_0x293ab3(0x181)](_0x2fde5f){const _0xfb5df9=_0x293ab3;if(!_0x2fde5f[_0xfb5df9(0x167)][_0xfb5df9(0x183)])return;const _0x1ae0cc=this[_0xfb5df9(0x151)](_0x2fde5f);if(!_0x1ae0cc)return;const _0x327f1e=this[_0xfb5df9(0x17c)][_0xfb5df9(0x139)](_0x1ae0cc),_0x575d62=this[_0xfb5df9(0x142)];_0x575d62&&_0x575d62===_0x327f1e?this[_0xfb5df9(0x165)](_0x1ae0cc,_0x2fde5f):this[_0xfb5df9(0x14b)](_0x2fde5f,_0x1ae0cc);}[_0x293ab3(0x177)](_0x2e22d6){const _0x41cdf6=_0x293ab3;if(!_0x2e22d6[_0x41cdf6(0x167)][_0x41cdf6(0x183)])return;const _0x3f5c73=this[_0x41cdf6(0x18c)](_0x2e22d6);if(!_0x3f5c73)return;const _0x3c16c5=this[_0x41cdf6(0x17c)][_0x41cdf6(0x139)](_0x3f5c73),_0x2118c8=this[_0x41cdf6(0x159)][_0x41cdf6(0x155)][_0x41cdf6(0x139)](_0x41cdf6(0x148)),_0x4f44fd=this[_0x41cdf6(0x142)];_0x4f44fd&&_0x4f44fd===_0x3c16c5&&_0x2118c8?(this[_0x41cdf6(0x14b)](_0x3f5c73,_0x2e22d6),this[_0x41cdf6(0x165)](_0x2e22d6,_0x3f5c73)):_0x4f44fd&&_0x4f44fd===_0x3c16c5?this[_0x41cdf6(0x14b)](_0x3f5c73,_0x2e22d6):this[_0x41cdf6(0x165)](_0x2e22d6,_0x3f5c73);}[_0x293ab3(0x15b)](_0x5b23d9,_0x2afe35){const _0x4f5794=_0x293ab3;0x0===this[_0x4f5794(0x179)][_0x4f5794(0x183)]&&setTimeout(()=>{const _0x4ad176=_0x4f5794;for(const {sidebarItemView:_0x45f0b0,changedProp:_0xf566dc}of this[_0x4ad176(0x179)])_0x4ad176(0x176)===_0xf566dc?this[_0x4ad176(0x181)](_0x45f0b0):this[_0x4ad176(0x177)](_0x45f0b0);this[_0x4ad176(0x179)]=[];},0xa),this[_0x4f5794(0x179)][_0x4f5794(0x17a)]({'sidebarItemView':_0x5b23d9,'changedProp':_0x2afe35});}[_0x293ab3(0x156)](_0x289818){const _0x3abc77=_0x293ab3;return this[_0x3abc77(0x14e)][_0x3abc77(0x139)](_0x289818);}[_0x293ab3(0x17f)](){const _0x4255c3=_0x293ab3;this[_0x4255c3(0x150)](),this[_0x4255c3(0x13b)][_0x4255c3(0x17f)]();}[_0x293ab3(0x161)](_0x214a0a){const _0x135085=_0x293ab3,_0xbe1b8d=this[_0x135085(0x156)](_0x214a0a);this[_0x135085(0x150)](_0xbe1b8d),this[_0x135085(0x150)](_0x214a0a[_0x135085(0x13b)]),_0xbe1b8d[_0x135085(0x17f)](),this[_0x135085(0x14e)][_0x135085(0x15d)](_0x214a0a),this[_0x135085(0x17c)][_0x135085(0x15d)](_0xbe1b8d);}[_0x293ab3(0x137)](){const _0x4d79d3=_0x293ab3,_0x2e24f0=new _0x135ad9(this[_0x4d79d3(0x159)][_0x4d79d3(0x18a)]);return _0x2e24f0[_0x4d79d3(0x13c)](),this['on'](_0x4d79d3(0x180),(_0x43ba6d,_0x5cf871,_0x3ed808,_0x25b69e)=>{const _0x5ba752=_0x4d79d3;_0x25b69e&&_0x2e24f0[_0x5ba752(0x190)](_0x5ba752(0x15f)),_0x3ed808?_0x2e24f0[_0x5ba752(0x168)](_0x5ba752(0x15f))['to'](_0x3ed808,_0x5ba752(0x149)):_0x2e24f0[_0x5ba752(0x15f)]=null;}),_0x2e24f0;}[_0x293ab3(0x163)](){const _0x1822b9=_0x293ab3;this[_0x1822b9(0x140)]=this[_0x1822b9(0x169)]?.[_0x1822b9(0x14d)]?this[_0x1822b9(0x156)](this[_0x1822b9(0x169)][_0x1822b9(0x14d)]):null;}[_0x293ab3(0x151)](_0x4b71b7){const _0x5503e7=_0x293ab3,_0x3dc72a=this[_0x5503e7(0x17c)][_0x5503e7(0x139)](_0x4b71b7),_0xa5f2ef=_0x3dc72a&&this[_0x5503e7(0x169)]?.[_0x5503e7(0x139)](this[_0x5503e7(0x169)][_0x5503e7(0x185)](_0x3dc72a)-0x1);return _0xa5f2ef&&this[_0x5503e7(0x156)](_0xa5f2ef)||null;}[_0x293ab3(0x18c)](_0x312f85){const _0x27d6ca=_0x293ab3,_0x42e975=this[_0x27d6ca(0x17c)][_0x27d6ca(0x139)](_0x312f85),_0x288a0c=_0x42e975&&this[_0x27d6ca(0x169)]?.[_0x27d6ca(0x139)](this[_0x27d6ca(0x169)][_0x27d6ca(0x185)](_0x42e975)+0x1);return _0x288a0c&&this[_0x27d6ca(0x156)](_0x288a0c)||null;}[_0x293ab3(0x14b)](_0x200eeb,_0x382551){const _0x1fcdd0=_0x293ab3;_0x200eeb[_0x1fcdd0(0x14a)]();const _0x56dc64=G(_0x382551[_0x1fcdd0(0x149)]+this[_0x1fcdd0(0x17e)],_0x200eeb[_0x1fcdd0(0x176)]);return!!_0x56dc64&&(this[_0x1fcdd0(0x18e)](_0x382551,_0x382551[_0x1fcdd0(0x176)]-_0x56dc64),!0x0);}[_0x293ab3(0x165)](_0x101614,_0x5536ba){const _0x5a692c=_0x293ab3;_0x101614[_0x5a692c(0x14a)]();const _0x7e2941=G(_0x101614[_0x5a692c(0x149)]+this[_0x5a692c(0x17e)],_0x5536ba[_0x5a692c(0x176)]);return!!_0x7e2941&&(this[_0x5a692c(0x18e)](_0x5536ba,_0x5536ba[_0x5a692c(0x176)]+_0x7e2941,!0x1),!0x0);}[_0x293ab3(0x188)](_0x26db43){const _0x3f0276=_0x293ab3,_0x530614=this[_0x3f0276(0x17c)][_0x3f0276(0x139)](_0x26db43);if(!_0x530614||!_0x530614[_0x3f0276(0x154)]||!_0x530614[_0x3f0276(0x16a)])return;const _0x5e01bc=this[_0x3f0276(0x162)](_0x530614,_0x530614[_0x3f0276(0x16a)]);this[_0x3f0276(0x18e)](_0x26db43,_0x5e01bc);}[_0x293ab3(0x162)](_0x41a141,_0x1a612a){const _0x1ab507=_0x293ab3;if(null===_0x1a612a)return 0x0;if(_0x41a141[_0x1ab507(0x154)]instanceof _0x453ac2)return _0x1a612a[_0x1ab507(0x176)];{const _0x20f07c=new _0x453ac2(this[_0x1ab507(0x13b)][_0x1ab507(0x146)])[_0x1ab507(0x176)];return _0x1a612a[_0x1ab507(0x176)]-_0x20f07c;}}[_0x293ab3(0x18e)](_0x13e59d,_0x46845f,_0x457813=this[_0x293ab3(0x159)][_0x293ab3(0x155)][_0x293ab3(0x139)](_0x293ab3(0x148))){const _0x2e8797=_0x293ab3;_0x457813&&(_0x46845f=Math[_0x2e8797(0x14f)](_0x46845f,this[_0x2e8797(0x16f)](_0x13e59d))),_0x13e59d[_0x2e8797(0x176)]=_0x46845f;}[_0x293ab3(0x16f)](_0x7ba985){const _0x25005f=_0x293ab3;let _0xb7c780=this[_0x25005f(0x151)](_0x7ba985),_0x2ebe80=0x0;for(;_0xb7c780;)_0xb7c780[_0x25005f(0x14a)](),_0x2ebe80+=this[_0x25005f(0x17e)]+_0xb7c780[_0x25005f(0x16e)],_0xb7c780=this[_0x25005f(0x151)](_0xb7c780);return _0x2ebe80;}}function G(_0x5448a2,_0x53712a){const _0x4a7e0e=_0x293ab3;return Math[_0x4a7e0e(0x14f)](_0x5448a2-_0x53712a,0x0);}function _0x9f92(){const _0x1a35a0=['_sidebarItemViewToAnnotation','isOfficialPlugin','_spaceBetweenItems','destroy','change:_lastItem','_alignForTopChange','528550ICPCaa','length','list','getIndex','_targetTop','define','_alignToTargetRect','_attachToContainer','locale','change:top','_getItemAfter','container','_setItemTop','6923112XzmXaC','unbind','_createSidebarView','class','get','2584836cKffxH','view','render','setContainer','addAnnotation','object','_lastItem','12tcSdvj','_activeAnnotation','2369460KSEWxR','add','sidebar.container','element','Sidebar','sidebar.preventScrollOutOfView','bottom','updateHeight','_alignBeforeItem','isActive','last','_annotationToSidebarItemView','max','stopListening','_getItemBefore','isAnimationDisabled','remove','target','config','getSidebarItemView','536NjFGmi','clear','context','sidebar-attachtocontainer-missing-container','_recalculate','change:bottom','delete','361160CtBIOL','minHeight','change:targetRect','_destroySidebarItemView','_getTargetTop','_updateLastItem','refresh','_alignAfterItem','set','content','bind','_annotations','targetRect','isPremiumPlugin','nodeType','rearrange','height','_getMaxAvailableTop','pluginName','1008124KtTGEz','listenTo','sidebar-setcontainer-invalid-element','335799LFvFfY','appendChild','top','_alignForBottomChange','init','_recalculateBuffer','push','_detachFromContainer'];_0x9f92=function(){return _0x1a35a0;};return _0x9f92();}function _0x3845(_0x45c4d6,_0x1cf631){const _0x9f9220=_0x9f92();return _0x3845=function(_0x3845cb,_0x444e3b){_0x3845cb=_0x3845cb-0x137;let _0x1485b8=_0x9f9220[_0x3845cb];return _0x1485b8;},_0x3845(_0x45c4d6,_0x1cf631);}function g(_0x642955){const _0x14a83a=_0x293ab3;return null!==_0x642955&&_0x14a83a(0x13f)==typeof _0x642955&&0x1===_0x642955[_0x14a83a(0x16c)];}
|
|
23
|
+
const _0x2751b5=_0x7650;function _0x1f88(){const _0x338b19=['getSidebarItemView','sidebar.container','config','push','height','_spaceBetweenItems','_alignToTargetRect','object','_getTargetTop','3279MIKRHg','sidebar-setcontainer-invalid-element','982344jCoyub','add','_alignBeforeItem','_annotations','_updateLastItem','refresh','bottom','setContainer','Sidebar','258gwrhSa','set','isActive','rearrange','nodeType','element','init','target','2054530UBQvdm','bind','pluginName','appendChild','targetRect','88QtHeaI','205709qnEsWb','_setItemTop','change:top','listenTo','destroy','_attachToContainer','updateHeight','_sidebarItemViewToAnnotation','_recalculate','change:_lastItem','unbind','sidebar-attachtocontainer-missing-container','_detachFromContainer','addAnnotation','_destroySidebarItemView','minHeight','_alignForTopChange','view','content','_targetTop','delete','locale','remove','context','clear','list','_recalculateBuffer','max','_activeAnnotation','sidebar.preventScrollOutOfView','isPremiumPlugin','stopListening','change:bottom','308hEgUBz','_alignForBottomChange','_lastItem','_getMaxAvailableTop','_alignAfterItem','11410skOBkd','class','8TbOoEP','top','1638189lzMpNf','_getItemAfter','_annotationToSidebarItemView','isOfficialPlugin','length','define','change:targetRect','render','last','isAnimationDisabled','get','_createSidebarView','_getItemBefore','getIndex','container','305NwhPZF'];_0x1f88=function(){return _0x338b19;};return _0x1f88();}(function(_0x11a6d6,_0xfe9002){const _0x5adacb=_0x7650,_0x36d8b3=_0x11a6d6();while(!![]){try{const _0x10af4d=parseInt(_0x5adacb(0x123))/0x1+parseInt(_0x5adacb(0x122))/0x2*(-parseInt(_0x5adacb(0x10a))/0x3)+parseInt(_0x5adacb(0xe8))/0x4*(-parseInt(_0x5adacb(0x100))/0x5)+parseInt(_0x5adacb(0x115))/0x6*(parseInt(_0x5adacb(0xed))/0x7)+parseInt(_0x5adacb(0xef))/0x8*(parseInt(_0x5adacb(0xf1))/0x9)+-parseInt(_0x5adacb(0x11d))/0xa+-parseInt(_0x5adacb(0x10c))/0xb;if(_0x10af4d===_0xfe9002)break;else _0x36d8b3['push'](_0x36d8b3['shift']());}catch(_0x13b0e7){_0x36d8b3['push'](_0x36d8b3['shift']());}}}(_0x1f88,0x1aec2));import{ContextPlugin as _0x554979}from'ckeditor5/src/core.js';import{Rect as _0x57a329,CKEditorError as _0x173bdb}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x4e390e}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x18f178}from'./view/sidebaritemview.js';function _0x7650(_0x78bcba,_0x3ef021){const _0x1f886e=_0x1f88();return _0x7650=function(_0x7650ec,_0x310a8c){_0x7650ec=_0x7650ec-0xe3;let _0x342eb2=_0x1f886e[_0x7650ec];return _0x342eb2;},_0x7650(_0x78bcba,_0x3ef021);}export class Sidebar extends _0x554979{[_0x2751b5(0x134)];[_0x2751b5(0xe3)];[_0x2751b5(0x10f)];[_0x2751b5(0x106)];[_0x2751b5(0x12a)];[_0x2751b5(0xf3)];[_0x2751b5(0x13d)];static get[_0x2751b5(0x11f)](){const _0x48a222=_0x2751b5;return _0x48a222(0x114);}static get[_0x2751b5(0xf4)](){return!0x0;}static get[_0x2751b5(0xe5)](){return!0x0;}constructor(_0x59ac84){const _0x47a7aa=_0x2751b5;super(_0x59ac84),this[_0x47a7aa(0x116)](_0x47a7aa(0xea),void 0x0),this[_0x47a7aa(0x134)]=this[_0x47a7aa(0xfc)](),this[_0x47a7aa(0x116)](_0x47a7aa(0xff),null),this[_0x47a7aa(0x106)]=0x19,this[_0x47a7aa(0x12a)]=new Map(),this[_0x47a7aa(0xf3)]=new Map(),this[_0x47a7aa(0x13a)][_0x47a7aa(0x103)][_0x47a7aa(0xf6)](_0x47a7aa(0xe4),!0x1),this[_0x47a7aa(0x10f)]=null,this[_0x47a7aa(0xe3)]=null,this[_0x47a7aa(0x13d)]=[];}[_0x2751b5(0x11b)](){const _0xb5908f=_0x2751b5,_0xd040fc=this[_0xb5908f(0x13a)][_0xb5908f(0x103)][_0xb5908f(0xfb)](_0xb5908f(0x102));_0xd040fc&&this[_0xb5908f(0x113)](_0xd040fc);}[_0x2751b5(0x113)](_0x18c5bb){const _0x7698a2=_0x2751b5;if(!g(_0x18c5bb))throw new _0x173bdb(_0x7698a2(0x10b));this[_0x7698a2(0xff)]=_0x18c5bb;}[_0x2751b5(0x128)]({viewClass:_0x1e6a35='',spaceBetweenItems:_0x1928b0=0x19}={}){const _0x510e1d=_0x2751b5;if(!g(this[_0x510e1d(0xff)]))throw new _0x173bdb(_0x510e1d(0x12e),this);this[_0x510e1d(0xff)][_0x510e1d(0x120)](this[_0x510e1d(0x134)][_0x510e1d(0x11a)]),this[_0x510e1d(0x134)][_0x510e1d(0xee)]=_0x1e6a35,this[_0x510e1d(0x106)]=_0x1928b0;}[_0x2751b5(0x118)]({removedAnnotation:_0x4f2864,previousAnnotation:_0x42360a,nextAnnotation:_0x50ad62}){const _0x29a121=_0x2751b5,_0xb9e271=this[_0x29a121(0x101)](_0x4f2864);this[_0x29a121(0x134)][_0x29a121(0x13c)][_0x29a121(0x139)](_0xb9e271),this[_0x29a121(0x131)](_0x4f2864),_0x42360a&&this[_0x29a121(0x107)](this[_0x29a121(0x101)](_0x42360a)),_0x50ad62&&this[_0x29a121(0x107)](this[_0x29a121(0x101)](_0x50ad62)),this[_0x29a121(0x110)]();}[_0x2751b5(0x111)]({blurredAnnotation:_0x1aaaad,activatedAnnotation:_0x147905,disableAnimationOnActivatedAnnotation:_0x297fbe}){const _0x3870b9=_0x2751b5;if(this[_0x3870b9(0xe3)]=_0x147905,_0x1aaaad){_0x1aaaad[_0x3870b9(0x117)]=!0x1;const _0x1067ba=this[_0x3870b9(0x101)](_0x1aaaad);_0x1067ba&&_0x297fbe&&(_0x1067ba[_0x3870b9(0xfa)]=!0x1);}if(_0x147905){const _0x1ac08b=this[_0x3870b9(0x101)](_0x147905);_0x1ac08b&&(_0x147905[_0x3870b9(0x117)]=!0x0,_0x297fbe&&(_0x1ac08b[_0x3870b9(0xfa)]=!0x0,_0x1ac08b[_0x3870b9(0xf0)]+=0x1),this[_0x3870b9(0x107)](_0x1ac08b));}}[_0x2751b5(0x12f)](_0x5625c4){const _0x366c7c=_0x2751b5;if(this[_0x366c7c(0x134)][_0x366c7c(0x11a)][_0x366c7c(0x139)](),_0x5625c4){for(const _0x237f91 of _0x5625c4)this[_0x366c7c(0x131)](_0x237f91);}this[_0x366c7c(0x134)][_0x366c7c(0x13c)][_0x366c7c(0x13b)](),this[_0x366c7c(0x134)][_0x366c7c(0xee)]='',this[_0x366c7c(0xea)]=null;}[_0x2751b5(0x130)](_0x4d3fe6,_0x5be840){const _0x184b7b=_0x2751b5;_0x5be840||(_0x5be840=_0x4d3fe6[_0x184b7b(0x134)]);const _0x467327=new _0x18f178(this[_0x184b7b(0x13a)][_0x184b7b(0x138)]);this[_0x184b7b(0x12a)][_0x184b7b(0x116)](_0x467327,_0x4d3fe6),this[_0x184b7b(0xf3)][_0x184b7b(0x116)](_0x4d3fe6,_0x467327),_0x467327[_0x184b7b(0x135)][_0x184b7b(0x10d)](_0x5be840),this[_0x184b7b(0x126)](_0x4d3fe6[_0x184b7b(0x134)],_0x184b7b(0xf7),(_0x5b7e59,_0x18ecf0,_0x325162)=>{const _0x37e0ff=_0x184b7b,_0x402ee2=this[_0x37e0ff(0x109)](_0x4d3fe6,_0x325162);_0x467327[_0x37e0ff(0x136)]!=_0x402ee2&&(_0x467327[_0x37e0ff(0x136)]=_0x402ee2,this[_0x37e0ff(0x124)](_0x467327,_0x402ee2));}),this[_0x184b7b(0x126)](_0x467327,_0x184b7b(0x125),()=>{const _0x5a8ae6=_0x184b7b;this[_0x5a8ae6(0x12b)](_0x467327,_0x5a8ae6(0xf0));}),this[_0x184b7b(0x126)](_0x467327,_0x184b7b(0xe7),()=>{const _0x194d7c=_0x184b7b;this[_0x194d7c(0x12b)](_0x467327,_0x194d7c(0x112));}),this[_0x184b7b(0x107)](_0x467327);const _0x3b107e=this[_0x184b7b(0xfd)](_0x467327);if(_0x3b107e)this[_0x184b7b(0xec)](_0x3b107e,_0x467327)||this[_0x184b7b(0x107)](_0x467327);else this[_0x184b7b(0x107)](_0x467327);return this[_0x184b7b(0x110)](),this[_0x184b7b(0x134)][_0x184b7b(0x13c)][_0x184b7b(0x10d)](_0x467327),_0x467327;}[_0x2751b5(0x133)](_0x5dc3ea){const _0x845000=_0x2751b5;if(!_0x5dc3ea[_0x845000(0x135)][_0x845000(0xf5)])return;const _0x4d574d=this[_0x845000(0xfd)](_0x5dc3ea);if(!_0x4d574d)return;const _0x470103=this[_0x845000(0x12a)][_0x845000(0xfb)](_0x4d574d),_0x4d3e9b=this[_0x845000(0xe3)];_0x4d3e9b&&_0x4d3e9b===_0x470103?this[_0x845000(0xec)](_0x4d574d,_0x5dc3ea):this[_0x845000(0x10e)](_0x5dc3ea,_0x4d574d);}[_0x2751b5(0xe9)](_0x90f41a){const _0x5582ff=_0x2751b5;if(!_0x90f41a[_0x5582ff(0x135)][_0x5582ff(0xf5)])return;const _0x61b8f1=this[_0x5582ff(0xf2)](_0x90f41a);if(!_0x61b8f1)return;const _0x43a5f5=this[_0x5582ff(0x12a)][_0x5582ff(0xfb)](_0x61b8f1),_0xe37d7f=this[_0x5582ff(0x13a)][_0x5582ff(0x103)][_0x5582ff(0xfb)](_0x5582ff(0xe4)),_0x3e9f16=this[_0x5582ff(0xe3)];_0x3e9f16&&_0x3e9f16===_0x43a5f5&&_0xe37d7f?(this[_0x5582ff(0x10e)](_0x61b8f1,_0x90f41a),this[_0x5582ff(0xec)](_0x90f41a,_0x61b8f1)):_0x3e9f16&&_0x3e9f16===_0x43a5f5?this[_0x5582ff(0x10e)](_0x61b8f1,_0x90f41a):this[_0x5582ff(0xec)](_0x90f41a,_0x61b8f1);}[_0x2751b5(0x12b)](_0x2c0a4a,_0x5ab2c5){const _0x46862b=_0x2751b5;0x0===this[_0x46862b(0x13d)][_0x46862b(0xf5)]&&setTimeout(()=>{const _0x26f29e=_0x46862b;for(const {sidebarItemView:_0x177c07,changedProp:_0x462959}of this[_0x26f29e(0x13d)])_0x26f29e(0xf0)===_0x462959?this[_0x26f29e(0x133)](_0x177c07):this[_0x26f29e(0xe9)](_0x177c07);this[_0x26f29e(0x13d)]=[];},0xa),this[_0x46862b(0x13d)][_0x46862b(0x104)]({'sidebarItemView':_0x2c0a4a,'changedProp':_0x5ab2c5});}[_0x2751b5(0x101)](_0x495acf){const _0x4769ec=_0x2751b5;return this[_0x4769ec(0xf3)][_0x4769ec(0xfb)](_0x495acf);}[_0x2751b5(0x127)](){const _0x147ebf=_0x2751b5;this[_0x147ebf(0xe6)](),this[_0x147ebf(0x134)][_0x147ebf(0x127)]();}[_0x2751b5(0x131)](_0x16e5da){const _0x4975b2=_0x2751b5,_0x124692=this[_0x4975b2(0x101)](_0x16e5da);this[_0x4975b2(0xe6)](_0x124692),this[_0x4975b2(0xe6)](_0x16e5da[_0x4975b2(0x134)]),_0x124692[_0x4975b2(0x127)](),this[_0x4975b2(0xf3)][_0x4975b2(0x137)](_0x16e5da),this[_0x4975b2(0x12a)][_0x4975b2(0x137)](_0x124692);}[_0x2751b5(0xfc)](){const _0x4427f4=_0x2751b5,_0x455b83=new _0x4e390e(this[_0x4427f4(0x13a)][_0x4427f4(0x138)]);return _0x455b83[_0x4427f4(0xf8)](),this['on'](_0x4427f4(0x12c),(_0x1a24f1,_0x4a84c4,_0x3d4fde,_0x2c5673)=>{const _0x76f485=_0x4427f4;_0x2c5673&&_0x455b83[_0x76f485(0x12d)](_0x76f485(0x132)),_0x3d4fde?_0x455b83[_0x76f485(0x11e)](_0x76f485(0x132))['to'](_0x3d4fde,_0x76f485(0x112)):_0x455b83[_0x76f485(0x132)]=null;}),_0x455b83;}[_0x2751b5(0x110)](){const _0x5e330f=_0x2751b5;this[_0x5e330f(0xea)]=this[_0x5e330f(0x10f)]?.[_0x5e330f(0xf9)]?this[_0x5e330f(0x101)](this[_0x5e330f(0x10f)][_0x5e330f(0xf9)]):null;}[_0x2751b5(0xfd)](_0x40f2ea){const _0x4a43c2=_0x2751b5,_0x134940=this[_0x4a43c2(0x12a)][_0x4a43c2(0xfb)](_0x40f2ea),_0x5e38a3=_0x134940&&this[_0x4a43c2(0x10f)]?.[_0x4a43c2(0xfb)](this[_0x4a43c2(0x10f)][_0x4a43c2(0xfe)](_0x134940)-0x1);return _0x5e38a3&&this[_0x4a43c2(0x101)](_0x5e38a3)||null;}[_0x2751b5(0xf2)](_0x3f222e){const _0xc45089=_0x2751b5,_0x2e02d5=this[_0xc45089(0x12a)][_0xc45089(0xfb)](_0x3f222e),_0x4dc054=_0x2e02d5&&this[_0xc45089(0x10f)]?.[_0xc45089(0xfb)](this[_0xc45089(0x10f)][_0xc45089(0xfe)](_0x2e02d5)+0x1);return _0x4dc054&&this[_0xc45089(0x101)](_0x4dc054)||null;}[_0x2751b5(0x10e)](_0x2048a3,_0x4ee041){const _0x37d3f1=_0x2751b5;_0x2048a3[_0x37d3f1(0x129)]();const _0x5ac737=G(_0x4ee041[_0x37d3f1(0x112)]+this[_0x37d3f1(0x106)],_0x2048a3[_0x37d3f1(0xf0)]);return!!_0x5ac737&&(this[_0x37d3f1(0x124)](_0x4ee041,_0x4ee041[_0x37d3f1(0xf0)]-_0x5ac737),!0x0);}[_0x2751b5(0xec)](_0x49b449,_0x370301){const _0x482549=_0x2751b5;_0x49b449[_0x482549(0x129)]();const _0x12b907=G(_0x49b449[_0x482549(0x112)]+this[_0x482549(0x106)],_0x370301[_0x482549(0xf0)]);return!!_0x12b907&&(this[_0x482549(0x124)](_0x370301,_0x370301[_0x482549(0xf0)]+_0x12b907,!0x1),!0x0);}[_0x2751b5(0x107)](_0x184f14){const _0x3683c1=_0x2751b5,_0x3c0508=this[_0x3683c1(0x12a)][_0x3683c1(0xfb)](_0x184f14);if(!_0x3c0508||!_0x3c0508[_0x3683c1(0x11c)]||!_0x3c0508[_0x3683c1(0x121)])return;const _0x57b814=this[_0x3683c1(0x109)](_0x3c0508,_0x3c0508[_0x3683c1(0x121)]);this[_0x3683c1(0x124)](_0x184f14,_0x57b814);}[_0x2751b5(0x109)](_0x25acfb,_0x2dfc6a){const _0x2bf676=_0x2751b5;if(null===_0x2dfc6a)return 0x0;if(_0x25acfb[_0x2bf676(0x11c)]instanceof _0x57a329)return _0x2dfc6a[_0x2bf676(0xf0)];{const _0x55a922=new _0x57a329(this[_0x2bf676(0x134)][_0x2bf676(0x11a)])[_0x2bf676(0xf0)];return _0x2dfc6a[_0x2bf676(0xf0)]-_0x55a922;}}[_0x2751b5(0x124)](_0x296714,_0x56da4c,_0x54bc48=this[_0x2751b5(0x13a)][_0x2751b5(0x103)][_0x2751b5(0xfb)](_0x2751b5(0xe4))){const _0x26799b=_0x2751b5;_0x54bc48&&(_0x56da4c=Math[_0x26799b(0x13e)](_0x56da4c,this[_0x26799b(0xeb)](_0x296714))),_0x296714[_0x26799b(0xf0)]=_0x56da4c;}[_0x2751b5(0xeb)](_0x5ba8d4){const _0x5af62e=_0x2751b5;let _0x57451b=this[_0x5af62e(0xfd)](_0x5ba8d4),_0x232904=0x0;for(;_0x57451b;)_0x57451b[_0x5af62e(0x129)](),_0x232904+=this[_0x5af62e(0x106)]+_0x57451b[_0x5af62e(0x105)],_0x57451b=this[_0x5af62e(0xfd)](_0x57451b);return _0x232904;}}function G(_0xa9d5a4,_0x76e18d){const _0x28819b=_0x2751b5;return Math[_0x28819b(0x13e)](_0xa9d5a4-_0x76e18d,0x0);}function g(_0x2dc247){const _0x2a88ef=_0x2751b5;return null!==_0x2dc247&&_0x2a88ef(0x108)==typeof _0x2dc247&&0x1===_0x2dc247[_0x2a88ef(0x119)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10dfb4=_0x1608;(function(_0x39a955,_0x45de4f){const _0x54c645=_0x1608,_0x4e8ebe=_0x39a955();while(!![]){try{const _0x58fd90=parseInt(_0x54c645(0x104))/0x1+-parseInt(_0x54c645(0x10e))/0x2*(-parseInt(_0x54c645(0x100))/0x3)+parseInt(_0x54c645(0x108))/0x4+parseInt(_0x54c645(0xf9))/0x5*(parseInt(_0x54c645(0x109))/0x6)+parseInt(_0x54c645(0xfb))/0x7+-parseInt(_0x54c645(0x101))/0x8*(-parseInt(_0x54c645(0xff))/0x9)+parseInt(_0x54c645(0xfa))/0xa*(-parseInt(_0x54c645(0x102))/0xb);if(_0x58fd90===_0x45de4f)break;else _0x4e8ebe['push'](_0x4e8ebe['shift']());}catch(_0x1f68f8){_0x4e8ebe['push'](_0x4e8ebe['shift']());}}}(_0x2c10,0xbdd27));import{ButtonView as _0x1edd0c,View as _0x572e5c}from'ckeditor5/src/ui.js';function _0x1608(_0x354bcc,_0x4a54ae){const _0x2c1032=_0x2c10();return _0x1608=function(_0x1608ff,_0xba1b39){_0x1608ff=_0x1608ff-0xf3;let _0x576c2d=_0x2c1032[_0x1608ff];return _0x576c2d;},_0x1608(_0x354bcc,_0x4a54ae);}import{IconAddComment as _0x3a0770}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x1edd0c{[_0x10dfb4(0x110)];constructor(_0x325cb9){const _0x3d5df9=_0x10dfb4;super(_0x325cb9);const _0x4b7c60=this[_0x3d5df9(0x10d)];this[_0x3d5df9(0x10a)](_0x3d5df9(0x10f),!0x1),this[_0x3d5df9(0x10a)](_0x3d5df9(0x10b),0x0),this[_0x3d5df9(0x10c)](_0x3d5df9(0xf5))['to'](this,_0x3d5df9(0x10f),this,_0x3d5df9(0x10b),(_0x5b81a3,_0x5bc4c1)=>_0x5b81a3?_0x3d5df9(0xf3):_0x5bc4c1[_0x3d5df9(0xf8)]()),this[_0x3d5df9(0x10a)](_0x3d5df9(0xf6),''),this[_0x3d5df9(0xf7)]=_0x3a0770,this[_0x3d5df9(0xfd)]({'attributes':{'class':[_0x3d5df9(0xfc)]}}),this[_0x3d5df9(0x110)]=new _0x572e5c(),this[_0x3d5df9(0x110)][_0x3d5df9(0x103)]({'tag':_0x3d5df9(0x105),'attributes':{'class':[_0x3d5df9(0x106),_0x4b7c60['to'](_0x3d5df9(0xf6),_0x20f172=>_0x3d5df9(0xfe)+_0x20f172),_0x4b7c60['if'](_0x3d5df9(0x10f),_0x3d5df9(0x111))]},'children':[{'text':_0x4b7c60['to'](_0x3d5df9(0xf5))}]}),this[_0x3d5df9(0xf4)][_0x3d5df9(0x107)](this[_0x3d5df9(0x110)]);}}function _0x2c10(){const _0xba9904=['505ByGNoU','16710cfjZTr','1798496aFPjer','ck-annotation-counter','extendTemplate','ck-annotation-counter__badge--','9ORVzFU','135wFronz','8520368zJrotb','27753UKroNT','setTemplate','1180594ZLcyTg','span','ck-annotation-counter__badge','add','5235072uzBQGH','4518pPPsOp','set','number','bind','bindTemplate','49158zMTZCl','isDirty','counterView','ck-annotation-counter__badge--edit-mode','...','children','_badge','annotationType','icon','toString'];_0x2c10=function(){return _0xba9904;};return _0x2c10();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x366ee2=_0x4fa1;(function(_0x1fdd8d,_0xad6655){const _0x161f65=_0x4fa1,_0x174a27=_0x1fdd8d();while(!![]){try{const _0x52c954=parseInt(_0x161f65(0xc3))/0x1+-parseInt(_0x161f65(0xc4))/0x2+-parseInt(_0x161f65(0xc2))/0x3+parseInt(_0x161f65(0xd7))/0x4*(parseInt(_0x161f65(0xcf))/0x5)+-parseInt(_0x161f65(0xd6))/0x6*(parseInt(_0x161f65(0xb6))/0x7)+-parseInt(_0x161f65(0xbc))/0x8+parseInt(_0x161f65(0xc8))/0x9;if(_0x52c954===_0xad6655)break;else _0x174a27['push'](_0x174a27['shift']());}catch(_0x236f0f){_0x174a27['push'](_0x174a27['shift']());}}}(_0x17d9,0x604b4));import{View as _0x453d4b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1ce8f5,KeystrokeHandler as _0x415e3f,uid as _0x5b3029}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x3c3e65}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x4fa1(_0x4e99be,_0x1d0b84){const _0x17d99f=_0x17d9();return _0x4fa1=function(_0x4fa18c,_0x4f73cd){_0x4fa18c=_0x4fa18c-0xaf;let _0x19ad2d=_0x17d99f[_0x4fa18c];return _0x19ad2d;},_0x4fa1(_0x4e99be,_0x1d0b84);}export class AnnotationView extends _0x453d4b{[_0x366ee2(0xb7)];['id'];[_0x366ee2(0xbb)];[_0x366ee2(0xd1)];[_0x366ee2(0xb8)];[_0x366ee2(0xcc)];constructor(_0x2e98cc,_0x102be1){const _0x364b65=_0x366ee2;super(_0x2e98cc),this['id']=_0x5b3029(),this[_0x364b65(0xb7)]=new _0x1ce8f5(),this[_0x364b65(0xbb)]=new _0x415e3f(),this[_0x364b65(0xbb)][_0x364b65(0xdb)](_0x364b65(0xd5),(_0x981cbf,_0x110cdc)=>this[_0x364b65(0xcd)](_0x364b65(0xd5),_0x110cdc)),this[_0x364b65(0xdb)](_0x364b65(0xca),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x364b65(0xdb)](_0x364b65(0xc6),0x0),this[_0x364b65(0xdb)](_0x364b65(0xda),!0x1),this[_0x364b65(0xdb)](_0x364b65(0xc7),!0x1),this[_0x364b65(0xdb)](_0x364b65(0xbf),0x0),this[_0x364b65(0xdb)](_0x364b65(0xb1),''),this[_0x364b65(0xcc)]=_0x3c3e65(()=>this[_0x364b65(0xd0)]()),this[_0x364b65(0xd1)]=this[_0x364b65(0xd3)](),this[_0x364b65(0xd1)][_0x364b65(0xd2)](_0x364b65(0xb0),_0x364b65(0xdc))['to'](this),this[_0x364b65(0xd1)][_0x364b65(0xbd)](_0x102be1),this[_0x364b65(0xb8)]=_0x102be1;const _0x24feb3=this[_0x364b65(0xba)];this[_0x364b65(0xc1)]({'tag':_0x364b65(0xd4),'attributes':{'class':['ck',_0x364b65(0xc5),_0x364b65(0xbe),_0x24feb3['if'](_0x364b65(0xda),_0x364b65(0xb3))],'role':_0x364b65(0xd9)},'children':this[_0x364b65(0xd1)]});}[_0x366ee2(0xd8)](){const _0x35d8f5=_0x366ee2;super[_0x35d8f5(0xd8)](),this[_0x35d8f5(0xb7)][_0x35d8f5(0xbd)](this[_0x35d8f5(0xb5)]),this[_0x35d8f5(0xbb)][_0x35d8f5(0xb4)](this[_0x35d8f5(0xb5)]),this[_0x35d8f5(0xcc)][_0x35d8f5(0xce)](this[_0x35d8f5(0xb5)]);}[_0x366ee2(0xaf)](){const _0x502d97=_0x366ee2;this[_0x502d97(0xd1)][_0x502d97(0xb9)](),this[_0x502d97(0xbb)][_0x502d97(0xaf)](),this[_0x502d97(0xb7)][_0x502d97(0xaf)](),this[_0x502d97(0xcc)][_0x502d97(0xc0)](),super[_0x502d97(0xaf)]();}[_0x366ee2(0xc9)](){const _0x1c50ce=_0x366ee2;this[_0x1c50ce(0xd1)][_0x1c50ce(0xb2)]&&this[_0x1c50ce(0xd1)][_0x1c50ce(0xb2)][_0x1c50ce(0xc9)]();}[_0x366ee2(0xd0)](){const _0x15cbb4=_0x366ee2,_0xde360=this[_0x15cbb4(0xb5)][_0x15cbb4(0xcb)];_0xde360&&(this[_0x15cbb4(0xc6)]=_0xde360);}}function _0x17d9(){const _0x4fd1d8=['mainView','clear','bindTemplate','keystrokes','4565648QIkVAw','add','ck-rounded-corners','length','detach','setTemplate','2112966kGduTl','178439EtURZp','1565476KbpwjJ','ck-annotation-wrapper','height','isDirty','21354651lgASFd','focus','targetRect','clientHeight','_mutationObserver','fire','attach','149965LNdwBK','_updateHeight','content','delegate','createCollection','div','Esc','46932GvizMl','40pYhbSj','render','presentation','isActive','set','arrowdown','destroy','arrowup','type','first','ck-annotation-wrapper--active','listenTo','element','357rrOnOh','focusTracker'];_0x17d9=function(){return _0x4fd1d8;};return _0x17d9();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1b152a=_0x184f;function _0x1356(){const _0x19a18a=['updateHeight','bottom','50017WOrsVi','content','isAnimationDisabled','4286suaeOZ','_targetTop','height','_mutationObserver','149GfUhLT','attach','ck-sidebar-item','3150936zpeGum','4vnThRT','470ZgJisK','top','clientHeight','ck-sidebar-item--no-animation','clear','render','first','1569726DBTkOE','arrowdown','bind','1057750UNprwh','element','detach','set','24262fZjEmk','arrowup','delegate','setTemplate','bindTemplate','div','createCollection','120ZeQgnI','focus','26421IEANxE','destroy','presentation'];_0x1356=function(){return _0x19a18a;};return _0x1356();}function _0x184f(_0x406347,_0x5a65e9){const _0x13569f=_0x1356();return _0x184f=function(_0x184f7c,_0x5b9866){_0x184f7c=_0x184f7c-0x140;let _0xc5c4c6=_0x13569f[_0x184f7c];return _0xc5c4c6;},_0x184f(_0x406347,_0x5a65e9);}(function(_0x5af398,_0x26edf2){const _0x4fd6f6=_0x184f,_0x3814f4=_0x5af398();while(!![]){try{const _0x1bec37=parseInt(_0x4fd6f6(0x154))/0x1*(-parseInt(_0x4fd6f6(0x150))/0x2)+-parseInt(_0x4fd6f6(0x148))/0x3*(-parseInt(_0x4fd6f6(0x158))/0x4)+-parseInt(_0x4fd6f6(0x163))/0x5+parseInt(_0x4fd6f6(0x160))/0x6+-parseInt(_0x4fd6f6(0x167))/0x7*(parseInt(_0x4fd6f6(0x146))/0x8)+parseInt(_0x4fd6f6(0x157))/0x9+-parseInt(_0x4fd6f6(0x159))/0xa*(-parseInt(_0x4fd6f6(0x14d))/0xb);if(_0x1bec37===_0x26edf2)break;else _0x3814f4['push'](_0x3814f4['shift']());}catch(_0x463a37){_0x3814f4['push'](_0x3814f4['shift']());}}}(_0x1356,0x3d602));import{View as _0x11868d}from'ckeditor5/src/ui.js';import{toUnit as _0x2bdd29}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x4c63be}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2bdd29('px');export class AnnotationsSidebarItemView extends _0x11868d{[_0x1b152a(0x14e)];[_0x1b152a(0x151)];[_0x1b152a(0x153)];constructor(_0x21212d){const _0x2ed3e2=_0x1b152a;super(_0x21212d),this[_0x2ed3e2(0x166)](_0x2ed3e2(0x15a),0x0),this[_0x2ed3e2(0x166)](_0x2ed3e2(0x152),0x0),this[_0x2ed3e2(0x162)](_0x2ed3e2(0x14c))['to'](this,_0x2ed3e2(0x15a),this,_0x2ed3e2(0x152),(_0x1ca59d,_0xc1fb1c)=>_0x1ca59d+_0xc1fb1c),this[_0x2ed3e2(0x166)](_0x2ed3e2(0x14f),!0x1),this[_0x2ed3e2(0x153)]=_0x4c63be(()=>this[_0x2ed3e2(0x14b)]()),this[_0x2ed3e2(0x151)]=null,this[_0x2ed3e2(0x14e)]=this[_0x2ed3e2(0x145)](),this[_0x2ed3e2(0x14e)][_0x2ed3e2(0x141)](_0x2ed3e2(0x140),_0x2ed3e2(0x161))['to'](this);const _0x2f7533=this[_0x2ed3e2(0x143)];this[_0x2ed3e2(0x142)]({'tag':_0x2ed3e2(0x144),'attributes':{'class':[_0x2ed3e2(0x156),_0x2f7533['to'](_0x2ed3e2(0x14f),_0x1cc1db=>_0x1cc1db?_0x2ed3e2(0x15c):'')],'style':{'top':_0x2f7533['to'](_0x2ed3e2(0x15a),_0x2b57f6=>Ot(_0x2b57f6))},'role':_0x2ed3e2(0x14a)},'children':this[_0x2ed3e2(0x14e)]});}[_0x1b152a(0x15e)](){const _0x305070=_0x1b152a;super[_0x305070(0x15e)](),this[_0x305070(0x153)][_0x305070(0x155)](this[_0x305070(0x164)]);}[_0x1b152a(0x147)](){const _0x1f7dc7=_0x1b152a;this[_0x1f7dc7(0x14e)][_0x1f7dc7(0x15f)]&&this[_0x1f7dc7(0x14e)][_0x1f7dc7(0x15f)][_0x1f7dc7(0x147)]();}[_0x1b152a(0x14b)](){const _0x3c4300=_0x1b152a,_0x5555a7=this[_0x3c4300(0x164)][_0x3c4300(0x15b)];_0x5555a7&&(this[_0x3c4300(0x152)]=_0x5555a7);}[_0x1b152a(0x149)](){const _0x3458af=_0x1b152a;this[_0x3458af(0x14e)][_0x3458af(0x15d)](),this[_0x3458af(0x153)][_0x3458af(0x165)](),super[_0x3458af(0x149)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x50fcf3=_0x14c0;(function(_0x183d3c,_0x11287c){const _0x54e34f=_0x14c0,_0x301c21=_0x183d3c();while(!![]){try{const _0x58782c=-parseInt(_0x54e34f(0x1f6))/0x1*(parseInt(_0x54e34f(0x1e1))/0x2)+parseInt(_0x54e34f(0x20b))/0x3+-parseInt(_0x54e34f(0x1f1))/0x4+-parseInt(_0x54e34f(0x1e2))/0x5+-parseInt(_0x54e34f(0x1f5))/0x6*(parseInt(_0x54e34f(0x20e))/0x7)+-parseInt(_0x54e34f(0x20a))/0x8+parseInt(_0x54e34f(0x206))/0x9;if(_0x58782c===_0x11287c)break;else _0x301c21['push'](_0x301c21['shift']());}catch(_0x2ef948){_0x301c21['push'](_0x301c21['shift']());}}}(_0x3816,0xb295e));import{View as _0x4ba5e2,FocusCycler as _0x5aa3b2}from'ckeditor5/src/ui.js';function _0x3816(){const _0x2f4349=['source','2146262DEyVIx','6553295NlCIRo','createCollection','list','listenTo','length','arrowup','setTemplate','focusTracker','focusNext','ck-reset','number','forEach','focusCycler','set','top','5779972WQasvI','render','delegate','added','888gZiiFg','1jWpCwd','getIndex','Annotations\x20list','change:top','Annotations\x20sidebar','focusFirst','_updateItemPositionInFocusables','application','remove','ck-sidebar','element','focusPrevious','change','minHeight','arrowdown','class','48318219HqZcOz','_setupKeyboardNavigation','uiLanguageDirection','add','6532808scqeHE','2447889DmWFJU','focusables','focus','38206uTjSGR','bindTemplate','removed','div'];_0x3816=function(){return _0x2f4349;};return _0x3816();}import{FocusTracker as _0x1cc801,toUnit as _0x20454d}from'ckeditor5/src/utils.js';function _0x14c0(_0x326b4a,_0x341f17){const _0x38166e=_0x3816();return _0x14c0=function(_0x14c0bc,_0x5ad708){_0x14c0bc=_0x14c0bc-0x1de;let _0x381446=_0x38166e[_0x14c0bc];return _0x381446;},_0x14c0(_0x326b4a,_0x341f17);}import{getTranslation as _0x379cdf}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20454d('px');export class AnnotationsSidebarView extends _0x4ba5e2{[_0x50fcf3(0x1e4)];[_0x50fcf3(0x20c)];[_0x50fcf3(0x1e9)];[_0x50fcf3(0x1ee)];constructor(_0xbcec68){const _0x4b2519=_0x50fcf3;super(_0xbcec68);const _0x32dc72=this[_0x4b2519(0x20f)];this[_0x4b2519(0x1ef)](_0x4b2519(0x203),0x0),this[_0x4b2519(0x1ef)](_0x4b2519(0x205),''),this[_0x4b2519(0x1e4)]=this[_0x4b2519(0x1e3)](),this[_0x4b2519(0x20c)]=this[_0x4b2519(0x1e3)](),this[_0x4b2519(0x1e4)][_0x4b2519(0x1f3)](_0x4b2519(0x1e7),_0x4b2519(0x204))['to'](this),this[_0x4b2519(0x1e9)]=new _0x1cc801(),this[_0x4b2519(0x1ee)]=new _0x5aa3b2({'focusables':this[_0x4b2519(0x20c)],'focusTracker':this[_0x4b2519(0x1e9)]}),this[_0x4b2519(0x1e8)]({'tag':_0x4b2519(0x1df),'attributes':{'class':['ck',_0x4b2519(0x1ff),_0x4b2519(0x1eb),_0x32dc72['to'](_0x4b2519(0x205))],'style':{'minHeight':_0x32dc72['to'](_0x4b2519(0x203),_0x3f3b0a=>_0x4b2519(0x1ec)==typeof _0x3f3b0a?Ot(_0x3f3b0a+0xa):null)},'dir':_0xbcec68[_0x4b2519(0x208)],'role':_0x4b2519(0x1fd),'aria-label':_0x379cdf(_0xbcec68,_0x4b2519(0x1fa)),'tabindex':0x0},'children':[{'tag':_0x4b2519(0x1df),'attributes':{'role':_0x4b2519(0x1e4),'aria-label':_0x379cdf(_0xbcec68,_0x4b2519(0x1f8))},'children':this[_0x4b2519(0x1e4)]}]});}[_0x50fcf3(0x1f2)](){const _0xcce937=_0x50fcf3;super[_0xcce937(0x1f2)](),this[_0xcce937(0x207)]();}[_0x50fcf3(0x20d)](){const _0x4dcb02=_0x50fcf3;this[_0x4dcb02(0x1ee)][_0x4dcb02(0x1fb)]();}[_0x50fcf3(0x207)](){const _0x22e08e=_0x50fcf3;this[_0x22e08e(0x1e4)][_0x22e08e(0x1f3)](_0x22e08e(0x1f9))['to'](this),this['on'](_0x22e08e(0x1f9),_0x2067d0=>{const _0x44bcec=_0x22e08e;this[_0x44bcec(0x1fc)](_0x2067d0[_0x44bcec(0x1e0)]);}),this[_0x22e08e(0x1e4)][_0x22e08e(0x1ed)](_0x5d55a9=>{const _0x45ecce=_0x22e08e;this[_0x45ecce(0x1e9)][_0x45ecce(0x209)](_0x5d55a9[_0x45ecce(0x200)]),this[_0x45ecce(0x1fc)](_0x5d55a9);}),this[_0x22e08e(0x1e4)]['on'](_0x22e08e(0x202),(_0x21dfae,_0x734c93)=>{const _0x4ee843=_0x22e08e;for(const _0x4f8922 of _0x734c93[_0x4ee843(0x1de)])this[_0x4ee843(0x1e9)][_0x4ee843(0x1fe)](_0x4f8922[_0x4ee843(0x200)]),this[_0x4ee843(0x20c)][_0x4ee843(0x1fe)](_0x4f8922);for(const _0x29a9c8 of _0x734c93[_0x4ee843(0x1f4)])this[_0x4ee843(0x1e9)][_0x4ee843(0x209)](_0x29a9c8[_0x4ee843(0x200)]),this[_0x4ee843(0x1fc)](_0x29a9c8);}),this['on'](_0x22e08e(0x1e7),()=>{const _0x42ddf1=_0x22e08e;this[_0x42ddf1(0x1ee)][_0x42ddf1(0x201)]();}),this['on'](_0x22e08e(0x204),()=>{const _0xb7a961=_0x22e08e;this[_0xb7a961(0x1ee)][_0xb7a961(0x1ea)]();}),this[_0x22e08e(0x1e5)](this[_0x22e08e(0x200)],_0x22e08e(0x20d),()=>{const _0x4aecce=_0x22e08e;this[_0x4aecce(0x20d)]();});}[_0x50fcf3(0x1fc)](_0x29e8d3){const _0x16b362=_0x50fcf3,_0x4206bd=this[_0x16b362(0x20c)][_0x16b362(0x1f7)](_0x29e8d3);let _0xb8a25b,_0x6315ff;for(const _0x1c3c2d of this[_0x16b362(0x20c)])if(_0x29e8d3[_0x16b362(0x1f0)]<_0x1c3c2d[_0x16b362(0x1f0)]){_0xb8a25b=_0x1c3c2d;break;}if(_0x6315ff=_0xb8a25b?this[_0x16b362(0x20c)][_0x16b362(0x1f7)](_0xb8a25b):this[_0x16b362(0x20c)][_0x16b362(0x1e6)],-0x1!==_0x4206bd){if(_0x4206bd===_0x6315ff-0x1)return;this[_0x16b362(0x20c)][_0x16b362(0x1fe)](_0x29e8d3),_0x6315ff=_0xb8a25b?this[_0x16b362(0x20c)][_0x16b362(0x1f7)](_0xb8a25b):this[_0x16b362(0x20c)][_0x16b362(0x1e6)];}this[_0x16b362(0x20c)][_0x16b362(0x209)](_0x29e8d3,_0x6315ff);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f9a98=_0x1479;function _0x1479(_0x2b49ce,_0x4a9b45){const _0x2865b9=_0x2865();return _0x1479=function(_0x147937,_0x2a369e){_0x147937=_0x147937-0x132;let _0x1553e6=_0x2865b9[_0x147937];return _0x1553e6;},_0x1479(_0x2b49ce,_0x4a9b45);}(function(_0x43b41b,_0x2af065){const _0xbc6fd=_0x1479,_0x117891=_0x43b41b();while(!![]){try{const _0x53dc2a=-parseInt(_0xbc6fd(0x162))/0x1*(-parseInt(_0xbc6fd(0x13f))/0x2)+parseInt(_0xbc6fd(0x167))/0x3+parseInt(_0xbc6fd(0x177))/0x4+-parseInt(_0xbc6fd(0x164))/0x5+-parseInt(_0xbc6fd(0x171))/0x6*(-parseInt(_0xbc6fd(0x14b))/0x7)+-parseInt(_0xbc6fd(0x174))/0x8+-parseInt(_0xbc6fd(0x150))/0x9*(parseInt(_0xbc6fd(0x158))/0xa);if(_0x53dc2a===_0x2af065)break;else _0x117891['push'](_0x117891['shift']());}catch(_0x1c45bf){_0x117891['push'](_0x117891['shift']());}}}(_0x2865,0xa2f6c));import{ContextPlugin as _0x323531,Context as _0x5b7663}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0xf6f293}from'./annotationsuis.js';import{Sidebar as _0x281dd0}from'./sidebar.js';import{CKEditorError as _0x27efb4,Collection as _0x56ea23}from'ckeditor5/src/utils.js';import{debounce as _0x4299f8}from'es-toolkit/compat';function _0x2865(){const _0x3c4932=['switchTo','updateTargetRect','detach','1CjkonM','listenTo','5507390vvHWZT','_detachFromContainer','wideSidebar','3566529LqXlFW','get','EditorAnnotations','destroy','attach','ready','getOrderedSelectedAnnotations','change:container','_integrateWithEditorAnnotations','set','500142zThETG','from','_refreshPositioningDebounced','8779648InFXlo','add','register','4640804pNXHdg','widesidebar-detach-not-attached','set:container','refresh','stopListening','context','setActiveAnnotation','widesidebar-attach-already-attached','high','stop','has','remove','_attachToContainer','off','resize','plugins','1048074vGlYqX','ck-sidebar--wide','blur','_annotations','removeEventListener','cancel','WideSidebar','rearrange','_editorAnnotations','addEventListener','editors','activeAnnotation','84dQKHrw','refreshPositioning','isOfficialPlugin','_destroyEditorAnnotationsIntegration','isAttached','210753exRtPG','addAnnotation','pluginName','isPremiumPlugin','uiUpdate','container','init','hasDomSelection','430vJnBCx','refreshVisibility','annotations','focus','_activeAnnotation','requires','Annotations'];_0x2865=function(){return _0x3c4932;};return _0x2865();}export class WideSidebar extends _0x323531{[_0x2f9a98(0x14f)];[_0x2f9a98(0x15a)];[_0x2f9a98(0x147)];[_0x2f9a98(0x173)];static get[_0x2f9a98(0x15d)](){return[_0x281dd0,_0xf6f293];}static get[_0x2f9a98(0x152)](){const _0x45f285=_0x2f9a98;return _0x45f285(0x145);}static get[_0x2f9a98(0x14d)](){return!0x0;}static get[_0x2f9a98(0x153)](){return!0x0;}constructor(_0x3c1906){const _0x1e9d5f=_0x2f9a98;super(_0x3c1906),this[_0x1e9d5f(0x14f)]=!0x1,this[_0x1e9d5f(0x170)](_0x1e9d5f(0x14a),null),this[_0x1e9d5f(0x15a)]=null,this[_0x1e9d5f(0x147)]=new _0x56ea23(),this[_0x1e9d5f(0x173)]=_0x4299f8(()=>{const _0x3f202b=_0x1e9d5f;_0x3c1906[_0x3f202b(0x13e)][_0x3f202b(0x168)](_0x3f202b(0x15e))[_0x3f202b(0x159)](),this[_0x3f202b(0x15a)][_0x3f202b(0x14c)]();},0xfa,{'leading':!0x1});}[_0x2f9a98(0x156)](){const _0x3cdb3e=_0x2f9a98,_0x48fe85=this[_0x3cdb3e(0x134)][_0x3cdb3e(0x13e)][_0x3cdb3e(0x168)](_0xf6f293),_0x4ae3d0=this[_0x3cdb3e(0x134)][_0x3cdb3e(0x13e)][_0x3cdb3e(0x168)](_0x281dd0);_0x48fe85[_0x3cdb3e(0x176)](_0x3cdb3e(0x166),this),_0x4ae3d0[_0x3cdb3e(0x155)]&&_0x48fe85[_0x3cdb3e(0x15f)](_0x3cdb3e(0x166));}[_0x2f9a98(0x135)](_0x3b4f22){const _0x530f76=_0x2f9a98;if(_0x3b4f22===this[_0x530f76(0x14a)])return;const _0x518d0b=this[_0x530f76(0x134)][_0x530f76(0x13e)][_0x530f76(0x168)](_0x281dd0);_0x518d0b[_0x530f76(0x15c)]=_0x3b4f22;const _0x34ccc0=this[_0x530f76(0x14a)];_0x518d0b[_0x530f76(0x132)]({'blurredAnnotation':_0x34ccc0,'activatedAnnotation':_0x3b4f22}),this[_0x530f76(0x14a)]=_0x3b4f22;}[_0x2f9a98(0x16b)](_0x496ecb){const _0x1a788e=_0x2f9a98;this[_0x1a788e(0x15a)]=_0x496ecb;const _0xa80ff=this[_0x1a788e(0x134)][_0x1a788e(0x13e)][_0x1a788e(0x168)](_0x281dd0);if(_0xa80ff[_0x1a788e(0x142)]=_0x496ecb,this[_0x1a788e(0x14f)])throw new _0x27efb4(_0x1a788e(0x136),this);this[_0x1a788e(0x14f)]=!0x0,this[_0x1a788e(0x163)](_0xa80ff,_0x1a788e(0x179),()=>{const _0x113d79=_0x1a788e;this[_0x113d79(0x161)](),this[_0x113d79(0x163)](_0xa80ff,_0x113d79(0x16e),_0x3148a7=>{const _0x37fe86=_0x113d79;_0x3148a7[_0x37fe86(0x13c)](),this[_0x37fe86(0x16b)](_0x496ecb);});}),_0xa80ff[_0x1a788e(0x13b)]({'viewClass':_0x1a788e(0x140)});const _0x54fddb=_0x5855cc=>{const _0x2e9897=_0x1a788e;_0x5855cc[_0x2e9897(0x160)](),_0xa80ff[_0x2e9897(0x151)](_0x5855cc);};for(const _0x381874 of _0x496ecb)_0x54fddb(_0x381874);this[_0x1a788e(0x163)](_0x496ecb,_0x1a788e(0x175),(_0x5e3225,_0x2d9cc3)=>{_0x54fddb(_0x2d9cc3);}),this[_0x1a788e(0x163)](_0x496ecb,_0x1a788e(0x13a),(_0x5a5fcf,_0x4e4fe9,_0x40928c)=>{const _0x97a745=_0x1a788e;_0xa80ff[_0x97a745(0x146)]({'removedAnnotation':_0x4e4fe9,'previousAnnotation':_0x496ecb[_0x97a745(0x168)](_0x40928c-0x1),'nextAnnotation':_0x496ecb[_0x97a745(0x168)](_0x40928c+0x1)}),_0x4e4fe9===this[_0x97a745(0x14a)]&&this[_0x97a745(0x135)](null);},{'priority':_0x1a788e(0x137)}),this[_0x1a788e(0x163)](_0x496ecb,_0x1a788e(0x15b),(_0x396474,_0x268c60)=>{const _0x2226b9=_0x1a788e;this[_0x2226b9(0x135)](_0x268c60);}),this[_0x1a788e(0x163)](_0x496ecb,_0x1a788e(0x141),()=>{const _0x415d10=_0x1a788e;this[_0x415d10(0x135)](null);});const _0x369a27=this[_0x1a788e(0x134)]instanceof _0x5b7663?this[_0x1a788e(0x134)][_0x1a788e(0x149)]:new _0x56ea23([this[_0x1a788e(0x134)]]);for(const _0x1ee334 of _0x369a27)this[_0x1a788e(0x16f)](_0x1ee334);this[_0x1a788e(0x163)](_0x369a27,_0x1a788e(0x175),(_0x7f5491,_0x382977)=>{const _0x333411=_0x1a788e;this[_0x333411(0x163)](_0x382977,_0x333411(0x16c),()=>{const _0x582439=_0x333411;this[_0x582439(0x16f)](_0x382977);});}),this[_0x1a788e(0x163)](_0x369a27,_0x1a788e(0x13a),(_0x283f9f,_0x3cd8f8)=>{const _0x98b185=_0x1a788e;_0x3cd8f8[_0x98b185(0x13e)][_0x98b185(0x139)](_0x98b185(0x169))&&this[_0x98b185(0x14e)](_0x3cd8f8[_0x98b185(0x13e)][_0x98b185(0x168)](_0x98b185(0x169)));}),window[_0x1a788e(0x148)](_0x1a788e(0x13d),this[_0x1a788e(0x173)]),this[_0x1a788e(0x134)][_0x1a788e(0x13e)][_0x1a788e(0x168)](_0x1a788e(0x15e))[_0x1a788e(0x159)](),this[_0x1a788e(0x15a)][_0x1a788e(0x14c)]();}[_0x2f9a98(0x161)](){const _0x4fefc4=_0x2f9a98;if(!this[_0x4fefc4(0x14f)])throw new _0x27efb4(_0x4fefc4(0x178),this);this[_0x4fefc4(0x135)](null);const _0x48ce46=this[_0x4fefc4(0x134)][_0x4fefc4(0x13e)][_0x4fefc4(0x168)](_0x281dd0);_0x48ce46[_0x4fefc4(0x165)](this[_0x4fefc4(0x15a)]),this[_0x4fefc4(0x133)](_0x48ce46),this[_0x4fefc4(0x133)](this[_0x4fefc4(0x15a)]),this[_0x4fefc4(0x134)]instanceof _0x5b7663&&this[_0x4fefc4(0x133)](this[_0x4fefc4(0x134)][_0x4fefc4(0x149)]);for(const _0x3b1973 of Array[_0x4fefc4(0x172)](this[_0x4fefc4(0x147)]))this[_0x4fefc4(0x14e)](_0x3b1973);window[_0x4fefc4(0x143)](_0x4fefc4(0x13d),this[_0x4fefc4(0x173)]),this[_0x4fefc4(0x173)][_0x4fefc4(0x144)](),this[_0x4fefc4(0x14a)]=null,this[_0x4fefc4(0x14f)]=!0x1,this[_0x4fefc4(0x15a)]=null;}[_0x2f9a98(0x16a)](){const _0x9675e9=_0x2f9a98;this[_0x9675e9(0x14f)]&&this[_0x9675e9(0x161)]();}[_0x2f9a98(0x16f)](_0x2b2ae5){const _0x1b390a=_0x2f9a98;if(!_0x2b2ae5[_0x1b390a(0x13e)][_0x1b390a(0x139)](_0x1b390a(0x169)))return;const _0x1a0eac=_0x2b2ae5[_0x1b390a(0x13e)][_0x1b390a(0x168)](_0x1b390a(0x169)),_0x346bda=()=>{const _0x3a79b2=_0x1b390a,_0x927892=_0x1a0eac[_0x3a79b2(0x16d)]({'annotations':this[_0x3a79b2(0x15a)],'activeAnnotation':this[_0x3a79b2(0x14a)]});this[_0x3a79b2(0x135)](_0x927892[0x0]||null);};this[_0x1b390a(0x163)](_0x1a0eac,_0x1b390a(0x132),_0x346bda),this[_0x1b390a(0x163)](_0x1a0eac,_0x1b390a(0x141),(_0x2eb1a6,{isAnnotationTracked:_0x257c55})=>{const _0x2d962d=_0x1b390a;this[_0x2d962d(0x14a)]&&_0x257c55(this[_0x2d962d(0x14a)])&&this[_0x2d962d(0x135)](null);}),this[_0x1b390a(0x163)](_0x1a0eac,_0x1b390a(0x154),()=>{const _0x35f52b=_0x1b390a;this[_0x35f52b(0x173)]();}),this[_0x1b390a(0x163)](this[_0x1b390a(0x15a)],_0x1b390a(0x141),_0x385003=>{const _0x3361b3=_0x1b390a;_0x1a0eac[_0x3361b3(0x157)]()&&(_0x346bda(),_0x385003[_0x3361b3(0x138)]());},{'priority':_0x1b390a(0x137)}),this[_0x1b390a(0x147)][_0x1b390a(0x175)](_0x1a0eac);}[_0x2f9a98(0x14e)](_0x3a4c6c){const _0x268b1a=_0x2f9a98;this[_0x268b1a(0x133)](_0x3a4c6c),this[_0x268b1a(0x147)][_0x268b1a(0x13a)](_0x3a4c6c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2e3b93=_0x3813;(function(_0x594ca3,_0x646610){const _0x5199ea=_0x3813,_0x26dd91=_0x594ca3();while(!![]){try{const _0x1a5f03=parseInt(_0x5199ea(0x1e9))/0x1*(-parseInt(_0x5199ea(0x1ef))/0x2)+parseInt(_0x5199ea(0x1ed))/0x3*(-parseInt(_0x5199ea(0x1fb))/0x4)+-parseInt(_0x5199ea(0x210))/0x5+parseInt(_0x5199ea(0x20a))/0x6+-parseInt(_0x5199ea(0x20d))/0x7+parseInt(_0x5199ea(0x201))/0x8+parseInt(_0x5199ea(0x1eb))/0x9*(parseInt(_0x5199ea(0x211))/0xa);if(_0x1a5f03===_0x646610)break;else _0x26dd91['push'](_0x26dd91['shift']());}catch(_0x478b6b){_0x26dd91['push'](_0x26dd91['shift']());}}}(_0x3b77,0x68151));import{Command as _0x49b743}from'ckeditor5/src/core.js';function _0x3b77(){const _0x59fe5e=['execute','Users','plugins','CommentsRepository','get','tableCell','hasContent','document','2754708dOqKjt','from','$textProxy','350427JDZGbP','isObject','start','2969345sgqLEx','1930PmSaHs','_trimToContent','addMarker','createRange','change','getLastMatchingPosition','collaboration.channelId','substr','refresh','_itemIsContent','length','end','set','3VDHmHs','addcommentthreadcommand-incorrect-ranges','53226LeoUjU','addcommentthreadcommand-user-not-found','36408PCKYWN','item','160082ykSBgk','getItems','_createCommentThread','config','selection','schema','_createMarkersFromRanges','backward','_hasContent','getRanges','comment:','element','128mWqAoe','addCommentThread','model','isEnabled','push','editor','785648IeHQcl'];_0x3b77=function(){return _0x59fe5e;};return _0x3b77();}function _0x3813(_0x51ce0e,_0x3a803a){const _0x3b77e9=_0x3b77();return _0x3813=function(_0x38139f,_0x450de2){_0x38139f=_0x38139f-0x1de;let _0x1d0953=_0x3b77e9[_0x38139f];return _0x1d0953;},_0x3813(_0x51ce0e,_0x3a803a);}import{uid as _0x498a98,CKEditorError as _0x19ce25}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x49b743{constructor(_0x8b64d0){const _0x3f5888=_0x3813;super(_0x8b64d0),this[_0x3f5888(0x1e8)](_0x3f5888(0x208),!0x1);}[_0x2e3b93(0x1e4)](){const _0x1e2aa6=_0x2e3b93,_0x30f9cc=this[_0x1e2aa6(0x200)][_0x1e2aa6(0x1fd)][_0x1e2aa6(0x209)][_0x1e2aa6(0x1f3)];this[_0x1e2aa6(0x1fe)]=!0x0,this[_0x1e2aa6(0x208)]=!0x1;for(const _0x3c23aa of _0x30f9cc[_0x1e2aa6(0x1f8)]())if(this[_0x1e2aa6(0x1f7)](_0x3c23aa))return void(this[_0x1e2aa6(0x208)]=!0x0);}[_0x2e3b93(0x202)]({threadId:_0x20136d=_0x498a98(),ranges:_0x2f939d,comment:_0xf9f3fb}={}){const _0x2cf437=_0x2e3b93,_0x13fb02=this[_0x2cf437(0x200)][_0x2cf437(0x1fd)],_0x20cb5c=_0x2f939d??Array[_0x2cf437(0x20b)](_0x13fb02[_0x2cf437(0x209)][_0x2cf437(0x1f3)][_0x2cf437(0x1f8)]()),_0x1150f6=[];for(const _0x954452 of _0x20cb5c)this[_0x2cf437(0x1f7)](_0x954452)&&_0x1150f6[_0x2cf437(0x1ff)](this[_0x2cf437(0x212)](_0x954452));if(!_0x1150f6[_0x2cf437(0x1e6)])throw new _0x19ce25(_0x2cf437(0x1ea),null);_0xf9f3fb&&this[_0x2cf437(0x1f1)](_0x20136d,_0xf9f3fb),this[_0x2cf437(0x1f5)](_0x20136d,_0x1150f6,!!_0xf9f3fb);}[_0x2e3b93(0x1f5)](_0x4f013a,_0x58161f,_0xe47351){const _0x2a9145=_0x2e3b93;this[_0x2a9145(0x200)][_0x2a9145(0x1fd)][_0x2a9145(0x1e0)](_0x55079a=>{const _0x4b1aba=_0x2a9145;for(const _0x5170ac of _0x58161f){const _0x2b3ab3=_0x498a98()[_0x4b1aba(0x1e3)](0x1,0x5),_0x58f5c0=_0x4b1aba(0x1f9)+_0x4f013a+':'+_0x2b3ab3;_0x55079a[_0x4b1aba(0x1de)](_0x58f5c0,{'range':_0x5170ac,'usingOperation':_0xe47351,'affectsData':_0xe47351});}});}[_0x2e3b93(0x1f1)](_0x2217bc,_0x616f3e){const _0x456dfc=_0x2e3b93,_0x169dbf=this[_0x456dfc(0x200)][_0x456dfc(0x204)][_0x456dfc(0x206)](_0x456dfc(0x205)),_0x53d632=this[_0x456dfc(0x200)][_0x456dfc(0x1f2)][_0x456dfc(0x206)](_0x456dfc(0x1e2)),_0x4e558b=this[_0x456dfc(0x200)][_0x456dfc(0x204)][_0x456dfc(0x206)](_0x456dfc(0x203))['me'];if(!_0x4e558b)throw new _0x19ce25(_0x456dfc(0x1ec),null);_0x169dbf[_0x456dfc(0x1fc)]({'threadId':_0x2217bc,'channelId':_0x53d632,'comments':[{'authorId':_0x4e558b['id'],'content':_0x616f3e,'createdAt':new Date(),'attributes':{}}]});}[_0x2e3b93(0x1f7)](_0x4017ff){const _0x4e8d1e=_0x2e3b93;for(const _0x37760f of _0x4017ff[_0x4e8d1e(0x1f0)]())if(this[_0x4e8d1e(0x1e5)](_0x37760f))return!0x0;return!0x1;}[_0x2e3b93(0x1e5)](_0x35fd20){const _0xd66ea8=_0x2e3b93;return _0x35fd20['is'](_0xd66ea8(0x20c))||this[_0xd66ea8(0x200)][_0xd66ea8(0x1fd)][_0xd66ea8(0x1f4)][_0xd66ea8(0x20e)](_0x35fd20)&&!_0x35fd20['is'](_0xd66ea8(0x1fa),_0xd66ea8(0x207));}[_0x2e3b93(0x212)](_0x5bd437){const _0x89d6f3=_0x2e3b93,_0x5f1696=_0x464cbe=>!this[_0x89d6f3(0x1e5)](_0x464cbe[_0x89d6f3(0x1ee)]),_0x2b5788=_0x5bd437[_0x89d6f3(0x20f)][_0x89d6f3(0x1e1)](_0x5f1696),_0x6c5a01=_0x5bd437[_0x89d6f3(0x1e7)][_0x89d6f3(0x1e1)](_0x5f1696,{'direction':_0x89d6f3(0x1f6)});return this[_0x89d6f3(0x200)][_0x89d6f3(0x1fd)][_0x89d6f3(0x1df)](_0x2b5788,_0x6c5a01);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a767c=_0x14a0;(function(_0xe88f05,_0xe75dc0){const _0x33c852=_0x14a0,_0x5b17b0=_0xe88f05();while(!![]){try{const _0x10f004=parseInt(_0x33c852(0xb5))/0x1*(parseInt(_0x33c852(0xc2))/0x2)+parseInt(_0x33c852(0xba))/0x3+-parseInt(_0x33c852(0xbf))/0x4*(-parseInt(_0x33c852(0xc3))/0x5)+-parseInt(_0x33c852(0xaa))/0x6*(parseInt(_0x33c852(0xc0))/0x7)+parseInt(_0x33c852(0xa2))/0x8*(parseInt(_0x33c852(0xc7))/0x9)+parseInt(_0x33c852(0xb6))/0xa*(-parseInt(_0x33c852(0xb7))/0xb)+-parseInt(_0x33c852(0xbc))/0xc*(-parseInt(_0x33c852(0xb0))/0xd);if(_0x10f004===_0xe75dc0)break;else _0x5b17b0['push'](_0x5b17b0['shift']());}catch(_0x3fef05){_0x5b17b0['push'](_0x5b17b0['shift']());}}}(_0x45a0,0xb05d9));import{ContextPlugin as _0x20a7f8}from'ckeditor5/src/core.js';function _0x14a0(_0x42ecde,_0x5d6fe6){const _0x45a02b=_0x45a0();return _0x14a0=function(_0x14a0c9,_0x3e57de){_0x14a0c9=_0x14a0c9-0xa2;let _0x5a7b12=_0x45a02b[_0x14a0c9];return _0x5a7b12;},_0x14a0(_0x42ecde,_0x5d6fe6);}import{Collection as _0x2d196e}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x235ef0}from'./commentsrepository.js';function _0x45a0(){const _0x4cff6c=['pluginName','744936Zyrmkt','addCommentThread','removeCommentThread','_calculatePosition','requires','collection','160303WftrIW','archivedAt','stopListening','findIndex','remove','1543UGVFZo','2271680RaeywN','66ZALbJG','context','isPremiumPlugin','1157562qRPueh','isVisible','372UxBzYx','activate','focus','8RkcRgW','35tEdhKI','plugins','1532cviZnU','716070GtcKmd','change:archivedAt','getCommentThread','get','2772bSZXxG','archivedThreads','isActive','length','CommentsArchive','12200EraTIg','listenTo','isOfficialPlugin','highest','has','init','add'];_0x45a0=function(){return _0x4cff6c;};return _0x45a0();}import{Annotations as _0x5409df}from'../annotations/annotations.js';export class CommentsArchive extends _0x20a7f8{static get[_0x5a767c(0xa9)](){const _0x200d90=_0x5a767c;return _0x200d90(0xcb);}static get[_0x5a767c(0xa4)](){return!0x0;}static get[_0x5a767c(0xb9)](){return!0x0;}static get[_0x5a767c(0xae)](){return[_0x235ef0,_0x5409df];}constructor(_0x492ad3){const _0x5cd24c=_0x5a767c;super(_0x492ad3),this[_0x5cd24c(0xc8)]=new _0x2d196e();}[_0x5a767c(0xa7)](){const _0x5db9e6=_0x5a767c,_0x42ae03=this[_0x5db9e6(0xb8)],_0x3d5122=_0x42ae03[_0x5db9e6(0xc1)][_0x5db9e6(0xc6)](_0x235ef0),_0xa3a585=_0x42ae03[_0x5db9e6(0xc1)][_0x5db9e6(0xc6)](_0x5409df);this[_0x5db9e6(0xa3)](_0x3d5122,_0x5db9e6(0xab),(_0x25a9b9,{threadId:_0x53b4d8})=>{const _0x253fb6=_0x5db9e6,_0x238c12=_0x3d5122[_0x253fb6(0xc5)](_0x53b4d8);_0x238c12[_0x253fb6(0xb1)]&&this[_0x253fb6(0xc8)][_0x253fb6(0xa8)](_0x238c12,this[_0x253fb6(0xad)](_0x238c12[_0x253fb6(0xb1)])),this[_0x253fb6(0xa3)](_0x238c12,_0x253fb6(0xc4),(_0x57e1da,_0x42282e,_0x284c74)=>{const _0x227006=_0x253fb6;_0x284c74?this[_0x227006(0xc8)][_0x227006(0xa6)](_0x238c12)||this[_0x227006(0xc8)][_0x227006(0xa8)](_0x238c12,this[_0x227006(0xad)](_0x238c12[_0x227006(0xb1)])):this[_0x227006(0xc8)][_0x227006(0xa6)](_0x238c12)&&this[_0x227006(0xc8)][_0x227006(0xb4)](_0x238c12);});}),this[_0x5db9e6(0xa3)](_0x3d5122,_0x5db9e6(0xac),(_0x26644a,{threadId:_0xd8cb7c})=>{const _0x1965fe=_0x5db9e6,_0x472fbe=_0x3d5122[_0x1965fe(0xc5)](_0xd8cb7c);this[_0x1965fe(0xb2)](_0x472fbe),this[_0x1965fe(0xc8)][_0x1965fe(0xa6)](_0x472fbe)&&this[_0x1965fe(0xc8)][_0x1965fe(0xb4)](_0x472fbe);},{'priority':_0x5db9e6(0xa5)}),this[_0x5db9e6(0xa3)](_0xa3a585[_0x5db9e6(0xaf)],_0x5db9e6(0xbe),(_0x53c935,_0x55cbfe)=>{const _0x4f271f=_0x5db9e6;_0x55cbfe[_0x4f271f(0xbb)]||(_0x55cbfe[_0x4f271f(0xc9)]=!0x0,_0xa3a585[_0x4f271f(0xbd)](_0x55cbfe));});}[_0x5a767c(0xad)](_0x5b943d){const _0x52d791=_0x5a767c,_0x16b88b=[...this[_0x52d791(0xc8)]][_0x52d791(0xb3)](_0x5ca976=>_0x5ca976[_0x52d791(0xb1)]<_0x5b943d);return _0x16b88b>-0x1?_0x16b88b:this[_0x52d791(0xc8)][_0x52d791(0xca)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x538c3a=_0x2f7a;(function(_0x277e66,_0x3280b8){const _0x30cd4e=_0x2f7a,_0x3fa8c5=_0x277e66();while(!![]){try{const _0x48f98c=parseInt(_0x30cd4e(0xdc))/0x1*(parseInt(_0x30cd4e(0xd4))/0x2)+-parseInt(_0x30cd4e(0xc5))/0x3*(-parseInt(_0x30cd4e(0xaa))/0x4)+parseInt(_0x30cd4e(0xa2))/0x5*(parseInt(_0x30cd4e(0xc2))/0x6)+-parseInt(_0x30cd4e(0xd6))/0x7+-parseInt(_0x30cd4e(0xb4))/0x8+-parseInt(_0x30cd4e(0xc7))/0x9+parseInt(_0x30cd4e(0xb2))/0xa*(parseInt(_0x30cd4e(0xbd))/0xb);if(_0x48f98c===_0x3280b8)break;else _0x3fa8c5['push'](_0x3fa8c5['shift']());}catch(_0x2b1afb){_0x3fa8c5['push'](_0x3fa8c5['shift']());}}}(_0x2e6d,0xc2cda));import'../../theme/commentsarchive.css';function _0x2f7a(_0x42af58,_0x32c7ba){const _0x2e6dbf=_0x2e6d();return _0x2f7a=function(_0x2f7a2e,_0x3ccc36){_0x2f7a2e=_0x2f7a2e-0x9d;let _0x5dd360=_0x2e6dbf[_0x2f7a2e];return _0x5dd360;},_0x2f7a(_0x42af58,_0x32c7ba);}import{Plugin as _0x2289c6}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x56d1f7}from'ckeditor5/src/icons.js';function _0x2e6d(){const _0x1634ac=['getByInnerView','_hideDialogOnAnnotationEscape','isPremiumPlugin','_handleNewThread','isVisible','463394RGnKso','_visibleAnnotations','6139077PLOmRU','hide','archivedThreads','Annotations','filter','set','2lgqiIC','menuitemcheckbox','stopListening','innerView','listenTo','init','push','get','tooltip','requires','CommentsRepository','remove','pluginName','annotationViews','view','EDITOR_TOP_SIDE','collaboration.channelId','execute','_addAnnotationToArchive','COMMENTS_ARCHIVE','splice','_calculatePosition','505AbkAsr','isOpen','componentFactory','add','collection','commentsArchiveView','source','channelId','165064ZSHlZB','archivedAt','stop','indexOf','includes','has','length','editor','50iiWQhG','find','9870768BgCsuE','forEach','focusableElements','set:isVisible','commentsArchive','escape','return','show','Dialog','6968203QtKWap','_pendingThreads','bind','_threadToController','_createCommentsArchiveButton','342ZbUsig','CommentsArchiveUI','findIndex','57LwYxmP','plugins','13606191OUbVgU','locale','isOn','menuBar:commentsArchive','isEnabled','_toggleDialog','config','isOfficialPlugin'];_0x2e6d=function(){return _0x1634ac;};return _0x2e6d();}import{ViewCollection as _0x2b1174,MenuBarMenuListItemButtonView as _0x5d86f0,ButtonView as _0x5276ac,Dialog as _0x17c417,DialogViewPosition as _0x51bb7c}from'ckeditor5/src/ui.js';import{getTranslation as _0x1b27d2}from'../utils/common-translations.js';import{CommentsArchiveView as _0x41ce76}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0xa71370}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x2289c6{[_0x538c3a(0xa7)];[_0x538c3a(0xe9)];[_0x538c3a(0xbe)];static get[_0x538c3a(0xe8)](){const _0x3b9005=_0x538c3a;return _0x3b9005(0xc3);}static get[_0x538c3a(0xce)](){return!0x0;}static get[_0x538c3a(0xd1)](){return!0x0;}static get[_0x538c3a(0xe5)](){return[_0xa71370,_0x17c417];}constructor(_0x4c6aad){const _0x29ee79=_0x538c3a;super(_0x4c6aad),this[_0x29ee79(0xe9)]=new _0x2b1174(),this[_0x29ee79(0xbe)]=[];}[_0x538c3a(0xe1)](){const _0x1bcd6b=_0x538c3a,_0x210cdc=this[_0x1bcd6b(0xb1)],_0x39ef15=this[_0x1bcd6b(0xd0)][_0x1bcd6b(0xbf)](this);_0x210cdc['ui'][_0x1bcd6b(0xa4)][_0x1bcd6b(0xa5)](_0x1bcd6b(0xb8),()=>this[_0x1bcd6b(0xc1)](_0x5276ac,!0x0)),_0x210cdc['ui'][_0x1bcd6b(0xa4)][_0x1bcd6b(0xa5)](_0x1bcd6b(0xca),()=>{const _0x4c7c97=_0x1bcd6b,_0x1b2e6e=this[_0x4c7c97(0xc1)](_0x5d86f0);return _0x1b2e6e[_0x4c7c97(0xdb)]({'role':_0x4c7c97(0xdd)}),_0x1b2e6e;});const _0x7a1b=_0x210cdc[_0x1bcd6b(0xc6)][_0x1bcd6b(0xe3)](_0xa71370),_0xc10f17=_0x210cdc[_0x1bcd6b(0xc6)][_0x1bcd6b(0xe3)](_0x1bcd6b(0xd9)),_0x3cb391=_0x210cdc[_0x1bcd6b(0xc6)][_0x1bcd6b(0xe3)](_0x1bcd6b(0xe6));_0x7a1b[_0x1bcd6b(0xd8)][_0x1bcd6b(0xb5)](_0x5010c9=>{const _0x544e2e=_0x1bcd6b;this[_0x544e2e(0xd2)](_0x5010c9);}),this[_0x1bcd6b(0xe0)](_0x7a1b[_0x1bcd6b(0xd8)],_0x1bcd6b(0xa5),(_0x973e1d,_0x5d3f6e)=>{const _0x5d05a0=_0x1bcd6b;this[_0x5d05a0(0xd2)](_0x5d3f6e);}),this[_0x1bcd6b(0xe0)](_0xc10f17[_0x1bcd6b(0xa6)],_0x1bcd6b(0xa5),(_0x593407,_0x528260)=>{const _0x32b611=_0x1bcd6b,_0x5d86ac=this[_0x32b611(0xbe)][_0x32b611(0xb3)](_0x31feda=>{const _0x57a431=_0x32b611,_0x5c41ee=_0x3cb391[_0x57a431(0xc0)][_0x57a431(0xe3)](_0x31feda);return _0x5c41ee&&_0x528260[_0x57a431(0xdf)]===_0x5c41ee[_0x57a431(0xea)];});if(_0x5d86ac){const _0x581c77=this[_0x32b611(0xa1)](_0x5d86ac[_0x32b611(0xab)]);this[_0x32b611(0x9e)](_0x528260,_0x581c77),this[_0x32b611(0xbe)][_0x32b611(0xa0)](this[_0x32b611(0xbe)][_0x32b611(0xad)](_0x5d86ac),0x1);}}),this[_0x1bcd6b(0xe0)](_0x7a1b[_0x1bcd6b(0xd8)],_0x1bcd6b(0xe7),(_0x496429,_0x49d158)=>{const _0xcc6c3d=_0x1bcd6b,_0x17f585=_0x210cdc[_0xcc6c3d(0xcd)][_0xcc6c3d(0xe3)](_0xcc6c3d(0xec));if(!_0x17f585||_0x49d158[_0xcc6c3d(0xa9)]===_0x17f585){if(this[_0xcc6c3d(0xbe)][_0xcc6c3d(0xae)](_0x49d158))this[_0xcc6c3d(0xbe)][_0xcc6c3d(0xa0)](this[_0xcc6c3d(0xbe)][_0xcc6c3d(0xad)](_0x49d158),0x1);else{const _0x4cebab=_0x3cb391[_0xcc6c3d(0xc0)][_0xcc6c3d(0xe3)](_0x49d158),_0x1137b0=_0xc10f17[_0xcc6c3d(0xcf)](_0x4cebab[_0xcc6c3d(0xea)]);this[_0xcc6c3d(0xe9)][_0xcc6c3d(0xe7)](_0x1137b0[_0xcc6c3d(0xea)]),this[_0xcc6c3d(0xde)](_0x1137b0),this[_0xcc6c3d(0xde)](_0x1137b0[_0xcc6c3d(0xb6)]);}}}),this[_0x1bcd6b(0xe0)](_0xc10f17[_0x1bcd6b(0xa6)],_0x1bcd6b(0xa5),(_0xe31a59,_0x2ffde6)=>{const _0x533b97=_0x1bcd6b;this[_0x533b97(0xe0)](_0x2ffde6,_0x533b97(0xb9),_0x39ef15);}),this[_0x1bcd6b(0xe0)](_0xc10f17[_0x1bcd6b(0xa6)],_0x1bcd6b(0xe7),(_0x524fef,_0x107ba4)=>{const _0x504f19=_0x1bcd6b;this[_0x504f19(0xde)](_0x107ba4,_0x504f19(0xb9),_0x39ef15);});}[_0x538c3a(0x9e)](_0x1090ea,_0x37175f){const _0x4033a8=_0x538c3a;this[_0x4033a8(0xe0)](_0x1090ea,_0x4033a8(0xb7),_0x148e08=>{const _0x29bfd0=_0x4033a8;_0x148e08[_0x29bfd0(0xba)]=!0x1,_0x148e08[_0x29bfd0(0xac)]();}),this[_0x4033a8(0xe9)][_0x4033a8(0xa5)](_0x1090ea[_0x4033a8(0xea)],_0x37175f);}[_0x538c3a(0xd2)](_0xc711cf){const _0x121057=_0x538c3a,_0xcff5ed=this[_0x121057(0xb1)][_0x121057(0xc6)][_0x121057(0xe3)](_0x121057(0xe6)),_0xe54f96=this[_0x121057(0xb1)][_0x121057(0xc6)][_0x121057(0xe3)](_0x121057(0xd9)),_0x5dbf2a=this[_0x121057(0xb1)][_0x121057(0xcd)][_0x121057(0xe3)](_0x121057(0xec));if(!_0x5dbf2a||_0xc711cf[_0x121057(0xa9)]===_0x5dbf2a){const _0x265247=_0xcff5ed[_0x121057(0xc0)][_0x121057(0xe3)](_0xc711cf);if(!_0x265247)return void this[_0x121057(0xbe)][_0x121057(0xe2)](_0xc711cf);const _0x1f1a80=this[_0x121057(0xa1)](_0xc711cf[_0x121057(0xab)]),_0x42dcf9=_0xe54f96[_0x121057(0xcf)](_0x265247[_0x121057(0xea)]);_0x42dcf9[_0x121057(0xd3)]&&_0xe54f96[_0x121057(0xd5)][_0x121057(0xe7)](_0x42dcf9),this[_0x121057(0x9e)](_0x42dcf9,_0x1f1a80);}}[_0x538c3a(0xa1)](_0x1ebc80){const _0x148946=_0x538c3a,_0x2b957f=this[_0x148946(0xb1)][_0x148946(0xcd)][_0x148946(0xe3)](_0x148946(0xec)),_0x12ccf7=[...this[_0x148946(0xb1)][_0x148946(0xc6)][_0x148946(0xe3)](_0xa71370)[_0x148946(0xd8)]][_0x148946(0xda)](_0x287e9b=>_0x287e9b[_0x148946(0xa9)]===_0x2b957f)[_0x148946(0xc4)](_0x1d3ff6=>_0x1d3ff6[_0x148946(0xab)]<_0x1ebc80);return _0x12ccf7<0x0||_0x12ccf7>this[_0x148946(0xe9)][_0x148946(0xb0)]?this[_0x148946(0xe9)][_0x148946(0xb0)]:_0x12ccf7-0x1;}[_0x538c3a(0xcc)](){const _0x5a93f1=_0x538c3a,_0x80938a=this[_0x5a93f1(0xb1)],_0x115577=_0x80938a[_0x5a93f1(0xc6)][_0x5a93f1(0xe3)](_0x5a93f1(0xbc));this[_0x5a93f1(0xa7)]||(this[_0x5a93f1(0xa7)]=new _0x41ce76(_0x80938a[_0x5a93f1(0xc8)],this[_0x5a93f1(0xe9)])),_0x5a93f1(0xb8)===_0x115577['id']?_0x115577[_0x5a93f1(0xd7)]():_0x115577[_0x5a93f1(0xbb)]({'id':_0x5a93f1(0xb8),'title':_0x1b27d2(_0x80938a[_0x5a93f1(0xc8)],_0x5a93f1(0x9f)),'icon':_0x56d1f7,'hasCloseButton':!0x0,'content':this[_0x5a93f1(0xa7)],'position':_0x51bb7c[_0x5a93f1(0xeb)]});}[_0x538c3a(0xc1)](_0x12d90d,_0x2d6488=!0x1){const _0xa27e62=_0x538c3a,_0x2fddf1=this[_0xa27e62(0xb1)][_0xa27e62(0xc8)],_0x557088=this[_0xa27e62(0xb1)][_0xa27e62(0xc6)][_0xa27e62(0xe3)](_0xa27e62(0xbc)),_0x5bc940=new _0x12d90d(_0x2fddf1);return _0x5bc940[_0xa27e62(0xbf)](_0xa27e62(0xcb))['to'](this,_0xa27e62(0xcb)),_0x5bc940[_0xa27e62(0xbf)](_0xa27e62(0xc9))['to'](_0x557088,'id',_0x5cd537=>_0xa27e62(0xb8)===_0x5cd537),_0x5bc940[_0xa27e62(0xdb)]({'label':_0x1b27d2(_0x2fddf1,_0xa27e62(0x9f)),'icon':_0x56d1f7,'isToggleable':!0x0}),_0x2d6488&&(_0x5bc940[_0xa27e62(0xe4)]=!0x0),this[_0xa27e62(0xe0)](_0x5bc940,_0xa27e62(0x9d),()=>this[_0xa27e62(0xcc)]()),_0x5bc940;}[_0x538c3a(0xd0)]=_0x4f8d01=>{const _0x5e9631=_0x538c3a,_0x1c30b6=_0x4f8d01[_0x5e9631(0xa8)];if(!this[_0x5e9631(0xe9)][_0x5e9631(0xaf)](_0x1c30b6[_0x5e9631(0xea)]))return;const _0x48d156=this[_0x5e9631(0xb1)][_0x5e9631(0xc6)][_0x5e9631(0xe3)](_0x5e9631(0xbc));_0x48d156[_0x5e9631(0xa3)]&&_0x5e9631(0xb8)===_0x48d156['id']&&(_0x48d156[_0x5e9631(0xd7)](),_0x4f8d01[_0x5e9631(0xac)]());};}
|