@ckeditor/ckeditor5-comments 44.2.1-alpha.0 → 44.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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/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 +17 -17
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xc3110=_0x1794;(function(_0x3b6622,_0x47334f){const _0x2d039d=_0x1794,_0x15212e=_0x3b6622();while(!![]){try{const _0xee58bc=-parseInt(_0x2d039d(0xf2))/0x1*(parseInt(_0x2d039d(0xf9))/0x2)+-parseInt(_0x2d039d(0x118))/0x3*(parseInt(_0x2d039d(0x102))/0x4)+parseInt(_0x2d039d(0x10c))/0x5*(parseInt(_0x2d039d(0x121))/0x6)+-parseInt(_0x2d039d(0x10f))/0x7+-parseInt(_0x2d039d(0xe4))/0x8+-parseInt(_0x2d039d(0x11e))/0x9*(-parseInt(_0x2d039d(0xed))/0xa)+-parseInt(_0x2d039d(0xfa))/0xb*(-parseInt(_0x2d039d(0x131))/0xc);if(_0xee58bc===_0x47334f)break;else _0x15212e['push'](_0x15212e['shift']());}catch(_0x76161){_0x15212e['push'](_0x15212e['shift']());}}}(_0x968c,0xca271));import{ContextPlugin as _0x362f04}from'ckeditor5/src/core.js';import{Rect as _0x173c96,CKEditorError as _0x4c0785}from'ckeditor5/src/utils.js';import _0x484327 from'./view/sidebarview.js';import _0x53d02e from'./view/sidebaritemview.js';export default class z extends _0x362f04{static get[_0xc3110(0x11a)](){const _0x36a56e=_0xc3110;return _0x36a56e(0x132);}static get[_0xc3110(0x123)](){return!0x0;}static get[_0xc3110(0x109)](){return!0x0;}constructor(_0x58e12e){const _0x2f1a44=_0xc3110;super(_0x58e12e),this[_0x2f1a44(0x10e)](_0x2f1a44(0xe9),void 0x0),this[_0x2f1a44(0x10b)]=this[_0x2f1a44(0x11c)](),this[_0x2f1a44(0x10e)](_0x2f1a44(0xf7),null),this[_0x2f1a44(0xe3)]=0x19,this[_0x2f1a44(0xf6)]=new Map(),this[_0x2f1a44(0x115)]=new Map(),this[_0x2f1a44(0x13a)][_0x2f1a44(0x139)][_0x2f1a44(0x120)](_0x2f1a44(0xe8),!0x1),this[_0x2f1a44(0x113)]=null,this[_0x2f1a44(0x117)]=null,this[_0x2f1a44(0x129)]=[];}[_0xc3110(0xfc)](){const _0x11af91=_0xc3110,_0xec4cfc=this[_0x11af91(0x13a)][_0x11af91(0x139)][_0x11af91(0x133)](_0x11af91(0xec));_0xec4cfc&&this[_0x11af91(0x130)](_0xec4cfc);}[_0xc3110(0x130)](_0x578d82){const _0x40d30b=_0xc3110;if(!y(_0x578d82))throw new _0x4c0785(_0x40d30b(0x12f));this[_0x40d30b(0xf7)]=_0x578d82;}[_0xc3110(0x12a)]({viewClass:_0x18fe0a='',spaceBetweenItems:_0x50894c=0x19}={}){const _0x2368c0=_0xc3110;if(!y(this[_0x2368c0(0xf7)]))throw new _0x4c0785(_0x2368c0(0x104),this);this[_0x2368c0(0xf7)][_0x2368c0(0x125)](this[_0x2368c0(0x10b)][_0x2368c0(0x11d)]),this[_0x2368c0(0x10b)][_0x2368c0(0xe0)]=_0x18fe0a,this[_0x2368c0(0xe3)]=_0x50894c;}[_0xc3110(0x12e)]({removedAnnotation:_0x28dfe4,previousAnnotation:_0x26a9be,nextAnnotation:_0x551fbe}){const _0x1ede44=_0xc3110,_0x5b4142=this[_0x1ede44(0x105)](_0x28dfe4);this[_0x1ede44(0x10b)][_0x1ede44(0x100)][_0x1ede44(0x128)](_0x5b4142),this[_0x1ede44(0xf1)](_0x28dfe4),_0x26a9be&&this[_0x1ede44(0xf5)](this[_0x1ede44(0x105)](_0x26a9be)),_0x551fbe&&this[_0x1ede44(0xf5)](this[_0x1ede44(0x105)](_0x551fbe)),this[_0x1ede44(0x114)]();}[_0xc3110(0x122)]({blurredAnnotation:_0x34bec5,activatedAnnotation:_0x1c3054,disableAnimationOnActivatedAnnotation:_0x2fc762}){const _0x504a7e=_0xc3110;if(this[_0x504a7e(0x117)]=_0x1c3054,_0x34bec5){_0x34bec5[_0x504a7e(0x13c)]=!0x1;const _0x1de20b=this[_0x504a7e(0x105)](_0x34bec5);_0x1de20b&&_0x2fc762&&(_0x1de20b[_0x504a7e(0xff)]=!0x1);}if(_0x1c3054){const _0x3f4b7d=this[_0x504a7e(0x105)](_0x1c3054);_0x3f4b7d&&(_0x1c3054[_0x504a7e(0x13c)]=!0x0,_0x2fc762&&(_0x3f4b7d[_0x504a7e(0xff)]=!0x0,_0x3f4b7d[_0x504a7e(0x10a)]+=0x1),this[_0x504a7e(0xf5)](_0x3f4b7d));}}[_0xc3110(0x126)](_0x1fb789){const _0x583b42=_0xc3110;if(this[_0x583b42(0x10b)][_0x583b42(0x11d)][_0x583b42(0x128)](),_0x1fb789){for(const _0x53f99d of _0x1fb789)this[_0x583b42(0xf1)](_0x53f99d);}this[_0x583b42(0x10b)][_0x583b42(0x100)][_0x583b42(0xe5)](),this[_0x583b42(0x10b)][_0x583b42(0xe0)]='',this[_0x583b42(0xe9)]=null;}[_0xc3110(0x10d)](_0x26ea67,_0x2bf18d){const _0x40f0e6=_0xc3110;_0x2bf18d||(_0x2bf18d=_0x26ea67[_0x40f0e6(0x10b)]);const _0x3b9ac3=new _0x53d02e(this[_0x40f0e6(0x13a)][_0x40f0e6(0xeb)]);this[_0x40f0e6(0xf6)][_0x40f0e6(0x10e)](_0x3b9ac3,_0x26ea67),this[_0x40f0e6(0x115)][_0x40f0e6(0x10e)](_0x26ea67,_0x3b9ac3),_0x3b9ac3[_0x40f0e6(0x11b)][_0x40f0e6(0xee)](_0x2bf18d),this[_0x40f0e6(0x107)](_0x26ea67[_0x40f0e6(0x10b)],_0x40f0e6(0x127),(_0x3e8af7,_0x19de89,_0x678d5b)=>{const _0x1ade57=_0x40f0e6,_0xe45698=this[_0x1ade57(0x112)](_0x26ea67,_0x678d5b);_0x3b9ac3[_0x1ade57(0xef)]!=_0xe45698&&(_0x3b9ac3[_0x1ade57(0xef)]=_0xe45698,this[_0x1ade57(0xf4)](_0x3b9ac3,_0xe45698));}),this[_0x40f0e6(0x107)](_0x3b9ac3,_0x40f0e6(0x101),()=>{const _0x3b9dd5=_0x40f0e6;this[_0x3b9dd5(0x138)](_0x3b9ac3,_0x3b9dd5(0x10a));}),this[_0x40f0e6(0x107)](_0x3b9ac3,_0x40f0e6(0x110),()=>{const _0x591f34=_0x40f0e6;this[_0x591f34(0x138)](_0x3b9ac3,_0x591f34(0x135));}),this[_0x40f0e6(0xf5)](_0x3b9ac3);const _0x1bb0f3=this[_0x40f0e6(0x11f)](_0x3b9ac3);if(_0x1bb0f3)this[_0x40f0e6(0xe1)](_0x1bb0f3,_0x3b9ac3)||this[_0x40f0e6(0xf5)](_0x3b9ac3);else this[_0x40f0e6(0xf5)](_0x3b9ac3);return this[_0x40f0e6(0x114)](),this[_0x40f0e6(0x10b)][_0x40f0e6(0x100)][_0x40f0e6(0xee)](_0x3b9ac3),_0x3b9ac3;}[_0xc3110(0xe7)](_0xae4f2d){const _0x52aa08=_0xc3110;if(!_0xae4f2d[_0x52aa08(0x11b)][_0x52aa08(0x134)])return;const _0x136eda=this[_0x52aa08(0x11f)](_0xae4f2d);if(!_0x136eda)return;const _0x1f614e=this[_0x52aa08(0xf6)][_0x52aa08(0x133)](_0x136eda),_0x3c9afa=this[_0x52aa08(0x117)];_0x3c9afa&&_0x3c9afa===_0x1f614e?this[_0x52aa08(0xe1)](_0x136eda,_0xae4f2d):this[_0x52aa08(0xe2)](_0xae4f2d,_0x136eda);}[_0xc3110(0x116)](_0x4a5d3b){const _0x569ccf=_0xc3110;if(!_0x4a5d3b[_0x569ccf(0x11b)][_0x569ccf(0x134)])return;const _0x326b16=this[_0x569ccf(0x137)](_0x4a5d3b);if(!_0x326b16)return;const _0x165e6f=this[_0x569ccf(0xf6)][_0x569ccf(0x133)](_0x326b16),_0x1f0e5f=this[_0x569ccf(0x13a)][_0x569ccf(0x139)][_0x569ccf(0x133)](_0x569ccf(0xe8)),_0x1043bc=this[_0x569ccf(0x117)];_0x1043bc&&_0x1043bc===_0x165e6f&&_0x1f0e5f?(this[_0x569ccf(0xe2)](_0x326b16,_0x4a5d3b),this[_0x569ccf(0xe1)](_0x4a5d3b,_0x326b16)):_0x1043bc&&_0x1043bc===_0x165e6f?this[_0x569ccf(0xe2)](_0x326b16,_0x4a5d3b):this[_0x569ccf(0xe1)](_0x4a5d3b,_0x326b16);}[_0xc3110(0x138)](_0x5bd443,_0x192420){const _0x332d4a=_0xc3110;0x0===this[_0x332d4a(0x129)][_0x332d4a(0x134)]&&setTimeout(()=>{const _0xc8fd7a=_0x332d4a;for(const {sidebarItemView:_0x8d4e28,changedProp:_0x502f82}of this[_0xc8fd7a(0x129)])_0xc8fd7a(0x10a)===_0x502f82?this[_0xc8fd7a(0xe7)](_0x8d4e28):this[_0xc8fd7a(0x116)](_0x8d4e28);this[_0xc8fd7a(0x129)]=[];},0xa),this[_0x332d4a(0x129)][_0x332d4a(0xfb)]({'sidebarItemView':_0x5bd443,'changedProp':_0x192420});}[_0xc3110(0x105)](_0xcb505c){const _0x5dd3f5=_0xc3110;return this[_0x5dd3f5(0x115)][_0x5dd3f5(0x133)](_0xcb505c);}[_0xc3110(0xf0)](){const _0x526faa=_0xc3110;this[_0x526faa(0xf8)](),this[_0x526faa(0x10b)][_0x526faa(0xf0)]();}[_0xc3110(0xf1)](_0x1cf0b2){const _0x973b13=_0xc3110,_0x2663d8=this[_0x973b13(0x105)](_0x1cf0b2);this[_0x973b13(0xf8)](_0x2663d8),this[_0x973b13(0xf8)](_0x1cf0b2[_0x973b13(0x10b)]),_0x2663d8[_0x973b13(0xf0)](),this[_0x973b13(0x115)][_0x973b13(0xe6)](_0x1cf0b2),this[_0x973b13(0xf6)][_0x973b13(0xe6)](_0x2663d8);}[_0xc3110(0x11c)](){const _0x2590d7=_0xc3110,_0x4ec081=new _0x484327(this[_0x2590d7(0x13a)][_0x2590d7(0xeb)]);return _0x4ec081[_0x2590d7(0x136)](),this['on'](_0x2590d7(0x12d),(_0x508d9f,_0x45b4cf,_0x9dbf00,_0x411c97)=>{const _0x4845af=_0x2590d7;_0x411c97&&_0x4ec081[_0x4845af(0x111)](_0x4845af(0x108)),_0x9dbf00?_0x4ec081[_0x4845af(0x106)](_0x4845af(0x108))['to'](_0x9dbf00,_0x4845af(0x135)):_0x4ec081[_0x4845af(0x108)]=null;}),_0x4ec081;}[_0xc3110(0x114)](){const _0x30af96=_0xc3110;var _0xaeb05f;this[_0x30af96(0xe9)]=(null===(_0xaeb05f=this[_0x30af96(0x113)])||void 0x0===_0xaeb05f?void 0x0:_0xaeb05f[_0x30af96(0x12c)])?this[_0x30af96(0x105)](this[_0x30af96(0x113)][_0x30af96(0x12c)]):null;}[_0xc3110(0x11f)](_0x381b72){const _0x3f18aa=_0xc3110;var _0x2f5052;const _0x4b51f9=this[_0x3f18aa(0xf6)][_0x3f18aa(0x133)](_0x381b72),_0x4398a9=_0x4b51f9&&(null===(_0x2f5052=this[_0x3f18aa(0x113)])||void 0x0===_0x2f5052?void 0x0:_0x2f5052[_0x3f18aa(0x133)](this[_0x3f18aa(0x113)][_0x3f18aa(0xea)](_0x4b51f9)-0x1));return _0x4398a9&&this[_0x3f18aa(0x105)](_0x4398a9)||null;}[_0xc3110(0x137)](_0x159b79){const _0x382e31=_0xc3110;var _0x5641ca;const _0x52c1d3=this[_0x382e31(0xf6)][_0x382e31(0x133)](_0x159b79),_0x36f38d=_0x52c1d3&&(null===(_0x5641ca=this[_0x382e31(0x113)])||void 0x0===_0x5641ca?void 0x0:_0x5641ca[_0x382e31(0x133)](this[_0x382e31(0x113)][_0x382e31(0xea)](_0x52c1d3)+0x1));return _0x36f38d&&this[_0x382e31(0x105)](_0x36f38d)||null;}[_0xc3110(0xe2)](_0x20518b,_0x3729c6){const _0x3344b4=_0xc3110;_0x20518b[_0x3344b4(0xfd)]();const _0x185a04=R(_0x3729c6[_0x3344b4(0x135)]+this[_0x3344b4(0xe3)],_0x20518b[_0x3344b4(0x10a)]);return!!_0x185a04&&(this[_0x3344b4(0xf4)](_0x3729c6,_0x3729c6[_0x3344b4(0x10a)]-_0x185a04),!0x0);}[_0xc3110(0xe1)](_0x258edb,_0x2195ae){const _0x53511c=_0xc3110;_0x258edb[_0x53511c(0xfd)]();const _0x15f0e6=R(_0x258edb[_0x53511c(0x135)]+this[_0x53511c(0xe3)],_0x2195ae[_0x53511c(0x10a)]);return!!_0x15f0e6&&(this[_0x53511c(0xf4)](_0x2195ae,_0x2195ae[_0x53511c(0x10a)]+_0x15f0e6,!0x1),!0x0);}[_0xc3110(0xf5)](_0x1c88df){const _0x28b3ef=_0xc3110,_0x5846aa=this[_0x28b3ef(0xf6)][_0x28b3ef(0x133)](_0x1c88df);if(!_0x5846aa||!_0x5846aa[_0x28b3ef(0x103)]||!_0x5846aa[_0x28b3ef(0xf3)])return;const _0x57de1c=this[_0x28b3ef(0x112)](_0x5846aa,_0x5846aa[_0x28b3ef(0xf3)]);this[_0x28b3ef(0xf4)](_0x1c88df,_0x57de1c);}[_0xc3110(0x112)](_0x116336,_0x462c52){const _0xec9beb=_0xc3110;if(null===_0x462c52)return 0x0;if(_0x116336[_0xec9beb(0x103)]instanceof _0x173c96)return _0x462c52[_0xec9beb(0x10a)];{const _0x284f45=new _0x173c96(this[_0xec9beb(0x10b)][_0xec9beb(0x11d)])[_0xec9beb(0x10a)];return _0x462c52[_0xec9beb(0x10a)]-_0x284f45;}}[_0xc3110(0xf4)](_0x45b984,_0x55f6f1,_0x12984a=this[_0xc3110(0x13a)][_0xc3110(0x139)][_0xc3110(0x133)](_0xc3110(0xe8))){const _0x92045a=_0xc3110;_0x12984a&&(_0x55f6f1=Math[_0x92045a(0x12b)](_0x55f6f1,this[_0x92045a(0x124)](_0x45b984))),_0x45b984[_0x92045a(0x10a)]=_0x55f6f1;}[_0xc3110(0x124)](_0x391bcc){const _0x617345=_0xc3110;let _0xbc9d6a=this[_0x617345(0x11f)](_0x391bcc),_0x4ece89=0x0;for(;_0xbc9d6a;)_0xbc9d6a[_0x617345(0xfd)](),_0x4ece89+=this[_0x617345(0xe3)]+_0xbc9d6a[_0x617345(0x119)],_0xbc9d6a=this[_0x617345(0x11f)](_0xbc9d6a);return _0x4ece89;}}function R(_0x337e98,_0x445a30){const _0x3c744c=_0xc3110;return Math[_0x3c744c(0x12b)](_0x337e98-_0x445a30,0x0);}function _0x1794(_0x3f9ab3,_0x28edd1){const _0x968ca3=_0x968c();return _0x1794=function(_0x179484,_0x26ba06){_0x179484=_0x179484-0xe0;let _0x2d7105=_0x968ca3[_0x179484];return _0x2d7105;},_0x1794(_0x3f9ab3,_0x28edd1);}function y(_0x29134d){const _0x53cd65=_0xc3110;return null!==_0x29134d&&_0x53cd65(0x13b)==typeof _0x29134d&&0x1===_0x29134d[_0x53cd65(0xfe)];}function _0x968c(){const _0x5deff9=['class','_alignAfterItem','_alignBeforeItem','_spaceBetweenItems','7086952edohql','clear','delete','_alignForTopChange','sidebar.preventScrollOutOfView','_lastItem','getIndex','locale','sidebar.container','6490jDZFWn','add','_targetTop','destroy','_destroySidebarItemView','5nsQxni','targetRect','_setItemTop','_alignToTargetRect','_sidebarItemViewToAnnotation','container','stopListening','346858bKZZtb','810205XYbxHW','push','init','updateHeight','nodeType','isAnimationDisabled','list','change:top','92JKmjDW','target','sidebar-attachtocontainer-missing-container','getSidebarItemView','bind','listenTo','minHeight','isPremiumPlugin','top','view','327255nfsfQw','addAnnotation','set','5174505DiezDn','change:bottom','unbind','_getTargetTop','_annotations','_updateLastItem','_annotationToSidebarItemView','_alignForBottomChange','_activeAnnotation','127764cMIrCo','height','pluginName','content','_createSidebarView','element','16389WiutHl','_getItemBefore','define','36YFwesP','refresh','isOfficialPlugin','_getMaxAvailableTop','appendChild','_detachFromContainer','change:targetRect','remove','_recalculateBuffer','_attachToContainer','max','last','change:_lastItem','rearrange','sidebar-setcontainer-invalid-element','setContainer','444JbEnRn','Sidebar','get','length','bottom','render','_getItemAfter','_recalculate','config','context','object','isActive'];_0x968c=function(){return _0x5deff9;};return _0x968c();}
|
|
23
|
+
const _0x18d4b6=_0x4995;(function(_0x1cee3f,_0x224b0e){const _0x5a1919=_0x4995,_0x54f586=_0x1cee3f();while(!![]){try{const _0x229fc8=parseInt(_0x5a1919(0xc9))/0x1+parseInt(_0x5a1919(0xbf))/0x2+-parseInt(_0x5a1919(0x9d))/0x3*(-parseInt(_0x5a1919(0xc4))/0x4)+parseInt(_0x5a1919(0xe3))/0x5+parseInt(_0x5a1919(0xa3))/0x6+parseInt(_0x5a1919(0xd1))/0x7+-parseInt(_0x5a1919(0xe0))/0x8;if(_0x229fc8===_0x224b0e)break;else _0x54f586['push'](_0x54f586['shift']());}catch(_0x7ef6c6){_0x54f586['push'](_0x54f586['shift']());}}}(_0x5849,0x2afa8));function _0x5849(){const _0x77107f=['change:top','render','sidebar-attachtocontainer-missing-container','sidebar.container','unbind','element','_getMaxAvailableTop','push','updateHeight','isOfficialPlugin','sidebar.preventScrollOutOfView','pluginName','5429784fokSgK','_alignForTopChange','top','635810WgQODx','add','_updateLastItem','config','context','appendChild','sidebar-setcontainer-invalid-element','height','_alignBeforeItem','_getTargetTop','addAnnotation','list','_sidebarItemViewToAnnotation','change:_lastItem','_annotationToSidebarItemView','locale','_getItemAfter','nodeType','_createSidebarView','216207ejoXyc','_attachToContainer','define','isActive','change:targetRect','_detachFromContainer','582210rfPQvS','view','refresh','change:bottom','length','init','last','class','_setItemTop','bottom','remove','max','_getItemBefore','target','clear','Sidebar','content','_annotations','stopListening','getSidebarItemView','getIndex','destroy','targetRect','listenTo','setContainer','minHeight','_recalculate','_alignToTargetRect','307944CnPcbI','bind','_activeAnnotation','_targetTop','get','4eeTEiO','_destroySidebarItemView','set','isPremiumPlugin','object','309241NtczHb','rearrange','isAnimationDisabled','_lastItem','delete','container','_recalculateBuffer','_spaceBetweenItems','666988EyYJkY','_alignAfterItem','_alignForBottomChange'];_0x5849=function(){return _0x77107f;};return _0x5849();}import{ContextPlugin as _0x41a230}from'ckeditor5/src/core.js';function _0x4995(_0x11db6d,_0x597a3e){const _0x584991=_0x5849();return _0x4995=function(_0x499526,_0x1429b9){_0x499526=_0x499526-0x90;let _0x2981c4=_0x584991[_0x499526];return _0x2981c4;},_0x4995(_0x11db6d,_0x597a3e);}import{Rect as _0x401d73,CKEditorError as _0x77854b}from'ckeditor5/src/utils.js';import _0x19a005 from'./view/sidebarview.js';import _0x5d69eb from'./view/sidebaritemview.js';export default class z extends _0x41a230{static get[_0x18d4b6(0xdf)](){const _0x5496ba=_0x18d4b6;return _0x5496ba(0xb2);}static get[_0x18d4b6(0xdd)](){return!0x0;}static get[_0x18d4b6(0xc7)](){return!0x0;}constructor(_0x48b036){const _0x481e4e=_0x18d4b6;super(_0x48b036),this[_0x481e4e(0xc6)](_0x481e4e(0xcc),void 0x0),this[_0x481e4e(0xa4)]=this[_0x481e4e(0x9c)](),this[_0x481e4e(0xc6)](_0x481e4e(0xce),null),this[_0x481e4e(0xd0)]=0x19,this[_0x481e4e(0x96)]=new Map(),this[_0x481e4e(0x98)]=new Map(),this[_0x481e4e(0xe7)][_0x481e4e(0xe6)][_0x481e4e(0x9f)](_0x481e4e(0xde),!0x1),this[_0x481e4e(0xb4)]=null,this[_0x481e4e(0xc1)]=null,this[_0x481e4e(0xcf)]=[];}[_0x18d4b6(0xa8)](){const _0x32f661=_0x18d4b6,_0x4402eb=this[_0x32f661(0xe7)][_0x32f661(0xe6)][_0x32f661(0xc3)](_0x32f661(0xd7));_0x4402eb&&this[_0x32f661(0xbb)](_0x4402eb);}[_0x18d4b6(0xbb)](_0xb1d812){const _0x2dfae6=_0x18d4b6;if(!y(_0xb1d812))throw new _0x77854b(_0x2dfae6(0x90));this[_0x2dfae6(0xce)]=_0xb1d812;}[_0x18d4b6(0x9e)]({viewClass:_0x476259='',spaceBetweenItems:_0x53a86f=0x19}={}){const _0x485016=_0x18d4b6;if(!y(this[_0x485016(0xce)]))throw new _0x77854b(_0x485016(0xd6),this);this[_0x485016(0xce)][_0x485016(0xe8)](this[_0x485016(0xa4)][_0x485016(0xd9)]),this[_0x485016(0xa4)][_0x485016(0xaa)]=_0x476259,this[_0x485016(0xd0)]=_0x53a86f;}[_0x18d4b6(0xca)]({removedAnnotation:_0x513a2d,previousAnnotation:_0x430038,nextAnnotation:_0x3e48aa}){const _0x4e7a7d=_0x18d4b6,_0x476c78=this[_0x4e7a7d(0xb6)](_0x513a2d);this[_0x4e7a7d(0xa4)][_0x4e7a7d(0x95)][_0x4e7a7d(0xad)](_0x476c78),this[_0x4e7a7d(0xc5)](_0x513a2d),_0x430038&&this[_0x4e7a7d(0xbe)](this[_0x4e7a7d(0xb6)](_0x430038)),_0x3e48aa&&this[_0x4e7a7d(0xbe)](this[_0x4e7a7d(0xb6)](_0x3e48aa)),this[_0x4e7a7d(0xe5)]();}[_0x18d4b6(0xa5)]({blurredAnnotation:_0x386ccd,activatedAnnotation:_0x307a15,disableAnimationOnActivatedAnnotation:_0x109cf5}){const _0x3a148d=_0x18d4b6;if(this[_0x3a148d(0xc1)]=_0x307a15,_0x386ccd){_0x386ccd[_0x3a148d(0xa0)]=!0x1;const _0x5b48f4=this[_0x3a148d(0xb6)](_0x386ccd);_0x5b48f4&&_0x109cf5&&(_0x5b48f4[_0x3a148d(0xcb)]=!0x1);}if(_0x307a15){const _0x1fac6b=this[_0x3a148d(0xb6)](_0x307a15);_0x1fac6b&&(_0x307a15[_0x3a148d(0xa0)]=!0x0,_0x109cf5&&(_0x1fac6b[_0x3a148d(0xcb)]=!0x0,_0x1fac6b[_0x3a148d(0xe2)]+=0x1),this[_0x3a148d(0xbe)](_0x1fac6b));}}[_0x18d4b6(0xa2)](_0x11a13b){const _0x14fbc7=_0x18d4b6;if(this[_0x14fbc7(0xa4)][_0x14fbc7(0xd9)][_0x14fbc7(0xad)](),_0x11a13b){for(const _0x4221b8 of _0x11a13b)this[_0x14fbc7(0xc5)](_0x4221b8);}this[_0x14fbc7(0xa4)][_0x14fbc7(0x95)][_0x14fbc7(0xb1)](),this[_0x14fbc7(0xa4)][_0x14fbc7(0xaa)]='',this[_0x14fbc7(0xcc)]=null;}[_0x18d4b6(0x94)](_0x1ee866,_0x1d78bf){const _0x1eb133=_0x18d4b6;_0x1d78bf||(_0x1d78bf=_0x1ee866[_0x1eb133(0xa4)]);const _0x2b7bd4=new _0x5d69eb(this[_0x1eb133(0xe7)][_0x1eb133(0x99)]);this[_0x1eb133(0x96)][_0x1eb133(0xc6)](_0x2b7bd4,_0x1ee866),this[_0x1eb133(0x98)][_0x1eb133(0xc6)](_0x1ee866,_0x2b7bd4),_0x2b7bd4[_0x1eb133(0xb3)][_0x1eb133(0xe4)](_0x1d78bf),this[_0x1eb133(0xba)](_0x1ee866[_0x1eb133(0xa4)],_0x1eb133(0xa1),(_0x149f81,_0x1f1717,_0x16a0d8)=>{const _0x538da0=_0x1eb133,_0xa10c1=this[_0x538da0(0x93)](_0x1ee866,_0x16a0d8);_0x2b7bd4[_0x538da0(0xc2)]!=_0xa10c1&&(_0x2b7bd4[_0x538da0(0xc2)]=_0xa10c1,this[_0x538da0(0xab)](_0x2b7bd4,_0xa10c1));}),this[_0x1eb133(0xba)](_0x2b7bd4,_0x1eb133(0xd4),()=>{const _0x1e46aa=_0x1eb133;this[_0x1e46aa(0xbd)](_0x2b7bd4,_0x1e46aa(0xe2));}),this[_0x1eb133(0xba)](_0x2b7bd4,_0x1eb133(0xa6),()=>{const _0x5dd32a=_0x1eb133;this[_0x5dd32a(0xbd)](_0x2b7bd4,_0x5dd32a(0xac));}),this[_0x1eb133(0xbe)](_0x2b7bd4);const _0x160f68=this[_0x1eb133(0xaf)](_0x2b7bd4);if(_0x160f68)this[_0x1eb133(0xd2)](_0x160f68,_0x2b7bd4)||this[_0x1eb133(0xbe)](_0x2b7bd4);else this[_0x1eb133(0xbe)](_0x2b7bd4);return this[_0x1eb133(0xe5)](),this[_0x1eb133(0xa4)][_0x1eb133(0x95)][_0x1eb133(0xe4)](_0x2b7bd4),_0x2b7bd4;}[_0x18d4b6(0xe1)](_0x527a7a){const _0x4503b2=_0x18d4b6;if(!_0x527a7a[_0x4503b2(0xb3)][_0x4503b2(0xa7)])return;const _0x3bfe35=this[_0x4503b2(0xaf)](_0x527a7a);if(!_0x3bfe35)return;const _0x1eed66=this[_0x4503b2(0x96)][_0x4503b2(0xc3)](_0x3bfe35),_0x34a699=this[_0x4503b2(0xc1)];_0x34a699&&_0x34a699===_0x1eed66?this[_0x4503b2(0xd2)](_0x3bfe35,_0x527a7a):this[_0x4503b2(0x92)](_0x527a7a,_0x3bfe35);}[_0x18d4b6(0xd3)](_0x57f1e2){const _0x357d96=_0x18d4b6;if(!_0x57f1e2[_0x357d96(0xb3)][_0x357d96(0xa7)])return;const _0x20d37c=this[_0x357d96(0x9a)](_0x57f1e2);if(!_0x20d37c)return;const _0x490742=this[_0x357d96(0x96)][_0x357d96(0xc3)](_0x20d37c),_0x48db31=this[_0x357d96(0xe7)][_0x357d96(0xe6)][_0x357d96(0xc3)](_0x357d96(0xde)),_0x335ac9=this[_0x357d96(0xc1)];_0x335ac9&&_0x335ac9===_0x490742&&_0x48db31?(this[_0x357d96(0x92)](_0x20d37c,_0x57f1e2),this[_0x357d96(0xd2)](_0x57f1e2,_0x20d37c)):_0x335ac9&&_0x335ac9===_0x490742?this[_0x357d96(0x92)](_0x20d37c,_0x57f1e2):this[_0x357d96(0xd2)](_0x57f1e2,_0x20d37c);}[_0x18d4b6(0xbd)](_0x2f896e,_0x22304c){const _0x678bf5=_0x18d4b6;0x0===this[_0x678bf5(0xcf)][_0x678bf5(0xa7)]&&setTimeout(()=>{const _0x195d09=_0x678bf5;for(const {sidebarItemView:_0x4c94ba,changedProp:_0x43b526}of this[_0x195d09(0xcf)])_0x195d09(0xe2)===_0x43b526?this[_0x195d09(0xe1)](_0x4c94ba):this[_0x195d09(0xd3)](_0x4c94ba);this[_0x195d09(0xcf)]=[];},0xa),this[_0x678bf5(0xcf)][_0x678bf5(0xdb)]({'sidebarItemView':_0x2f896e,'changedProp':_0x22304c});}[_0x18d4b6(0xb6)](_0x642f96){const _0x1eb63a=_0x18d4b6;return this[_0x1eb63a(0x98)][_0x1eb63a(0xc3)](_0x642f96);}[_0x18d4b6(0xb8)](){const _0x20eded=_0x18d4b6;this[_0x20eded(0xb5)](),this[_0x20eded(0xa4)][_0x20eded(0xb8)]();}[_0x18d4b6(0xc5)](_0x13ca84){const _0x1395df=_0x18d4b6,_0x10e6ca=this[_0x1395df(0xb6)](_0x13ca84);this[_0x1395df(0xb5)](_0x10e6ca),this[_0x1395df(0xb5)](_0x13ca84[_0x1395df(0xa4)]),_0x10e6ca[_0x1395df(0xb8)](),this[_0x1395df(0x98)][_0x1395df(0xcd)](_0x13ca84),this[_0x1395df(0x96)][_0x1395df(0xcd)](_0x10e6ca);}[_0x18d4b6(0x9c)](){const _0x1094c6=_0x18d4b6,_0xf04da3=new _0x19a005(this[_0x1094c6(0xe7)][_0x1094c6(0x99)]);return _0xf04da3[_0x1094c6(0xd5)](),this['on'](_0x1094c6(0x97),(_0x58debf,_0x763fc0,_0xa1726b,_0x1f6db5)=>{const _0x573884=_0x1094c6;_0x1f6db5&&_0xf04da3[_0x573884(0xd8)](_0x573884(0xbc)),_0xa1726b?_0xf04da3[_0x573884(0xc0)](_0x573884(0xbc))['to'](_0xa1726b,_0x573884(0xac)):_0xf04da3[_0x573884(0xbc)]=null;}),_0xf04da3;}[_0x18d4b6(0xe5)](){const _0x4e6c05=_0x18d4b6;var _0x570c97;this[_0x4e6c05(0xcc)]=(null===(_0x570c97=this[_0x4e6c05(0xb4)])||void 0x0===_0x570c97?void 0x0:_0x570c97[_0x4e6c05(0xa9)])?this[_0x4e6c05(0xb6)](this[_0x4e6c05(0xb4)][_0x4e6c05(0xa9)]):null;}[_0x18d4b6(0xaf)](_0x40980b){const _0x1f65d4=_0x18d4b6;var _0x2137ba;const _0x216b83=this[_0x1f65d4(0x96)][_0x1f65d4(0xc3)](_0x40980b),_0x2f02b7=_0x216b83&&(null===(_0x2137ba=this[_0x1f65d4(0xb4)])||void 0x0===_0x2137ba?void 0x0:_0x2137ba[_0x1f65d4(0xc3)](this[_0x1f65d4(0xb4)][_0x1f65d4(0xb7)](_0x216b83)-0x1));return _0x2f02b7&&this[_0x1f65d4(0xb6)](_0x2f02b7)||null;}[_0x18d4b6(0x9a)](_0x3f60cc){const _0xdd49fc=_0x18d4b6;var _0x512a8f;const _0x2f5111=this[_0xdd49fc(0x96)][_0xdd49fc(0xc3)](_0x3f60cc),_0x290da8=_0x2f5111&&(null===(_0x512a8f=this[_0xdd49fc(0xb4)])||void 0x0===_0x512a8f?void 0x0:_0x512a8f[_0xdd49fc(0xc3)](this[_0xdd49fc(0xb4)][_0xdd49fc(0xb7)](_0x2f5111)+0x1));return _0x290da8&&this[_0xdd49fc(0xb6)](_0x290da8)||null;}[_0x18d4b6(0x92)](_0x4158a7,_0x233993){const _0x4b4718=_0x18d4b6;_0x4158a7[_0x4b4718(0xdc)]();const _0x35d716=R(_0x233993[_0x4b4718(0xac)]+this[_0x4b4718(0xd0)],_0x4158a7[_0x4b4718(0xe2)]);return!!_0x35d716&&(this[_0x4b4718(0xab)](_0x233993,_0x233993[_0x4b4718(0xe2)]-_0x35d716),!0x0);}[_0x18d4b6(0xd2)](_0x1b15e7,_0xcd8256){const _0x408363=_0x18d4b6;_0x1b15e7[_0x408363(0xdc)]();const _0x5a584f=R(_0x1b15e7[_0x408363(0xac)]+this[_0x408363(0xd0)],_0xcd8256[_0x408363(0xe2)]);return!!_0x5a584f&&(this[_0x408363(0xab)](_0xcd8256,_0xcd8256[_0x408363(0xe2)]+_0x5a584f,!0x1),!0x0);}[_0x18d4b6(0xbe)](_0x2200ab){const _0x1d9588=_0x18d4b6,_0x189fe0=this[_0x1d9588(0x96)][_0x1d9588(0xc3)](_0x2200ab);if(!_0x189fe0||!_0x189fe0[_0x1d9588(0xb0)]||!_0x189fe0[_0x1d9588(0xb9)])return;const _0x551533=this[_0x1d9588(0x93)](_0x189fe0,_0x189fe0[_0x1d9588(0xb9)]);this[_0x1d9588(0xab)](_0x2200ab,_0x551533);}[_0x18d4b6(0x93)](_0x4ca783,_0x5d9ced){const _0x26b496=_0x18d4b6;if(null===_0x5d9ced)return 0x0;if(_0x4ca783[_0x26b496(0xb0)]instanceof _0x401d73)return _0x5d9ced[_0x26b496(0xe2)];{const _0x295fa4=new _0x401d73(this[_0x26b496(0xa4)][_0x26b496(0xd9)])[_0x26b496(0xe2)];return _0x5d9ced[_0x26b496(0xe2)]-_0x295fa4;}}[_0x18d4b6(0xab)](_0x52c2a2,_0x3c59fe,_0x2d5e34=this[_0x18d4b6(0xe7)][_0x18d4b6(0xe6)][_0x18d4b6(0xc3)](_0x18d4b6(0xde))){const _0x5a3048=_0x18d4b6;_0x2d5e34&&(_0x3c59fe=Math[_0x5a3048(0xae)](_0x3c59fe,this[_0x5a3048(0xda)](_0x52c2a2))),_0x52c2a2[_0x5a3048(0xe2)]=_0x3c59fe;}[_0x18d4b6(0xda)](_0x109eb){const _0xeb76e0=_0x18d4b6;let _0x448e13=this[_0xeb76e0(0xaf)](_0x109eb),_0x52ccdf=0x0;for(;_0x448e13;)_0x448e13[_0xeb76e0(0xdc)](),_0x52ccdf+=this[_0xeb76e0(0xd0)]+_0x448e13[_0xeb76e0(0x91)],_0x448e13=this[_0xeb76e0(0xaf)](_0x448e13);return _0x52ccdf;}}function R(_0x3733d4,_0x13915f){const _0x24d752=_0x18d4b6;return Math[_0x24d752(0xae)](_0x3733d4-_0x13915f,0x0);}function y(_0x195740){const _0x486c23=_0x18d4b6;return null!==_0x195740&&_0x486c23(0xc8)==typeof _0x195740&&0x1===_0x195740[_0x486c23(0x9b)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2c3e(_0x1d2a2d,_0x969407){const _0x53dc0c=_0x53dc();return _0x2c3e=function(_0x2c3eaf,_0x44768e){_0x2c3eaf=_0x2c3eaf-0x79;let _0x303f09=_0x53dc0c[_0x2c3eaf];return _0x303f09;},_0x2c3e(_0x1d2a2d,_0x969407);}(function(_0x11a0e1,_0x3c5713){const _0x40137d=_0x2c3e,_0x598d47=_0x11a0e1();while(!![]){try{const _0x20f422=parseInt(_0x40137d(0x89))/0x1*(parseInt(_0x40137d(0x87))/0x2)+parseInt(_0x40137d(0x8f))/0x3*(parseInt(_0x40137d(0x91))/0x4)+parseInt(_0x40137d(0x92))/0x5*(-parseInt(_0x40137d(0x8e))/0x6)+parseInt(_0x40137d(0x98))/0x7*(-parseInt(_0x40137d(0x86))/0x8)+parseInt(_0x40137d(0x80))/0x9*(parseInt(_0x40137d(0x82))/0xa)+parseInt(_0x40137d(0x8c))/0xb*(parseInt(_0x40137d(0x85))/0xc)+parseInt(_0x40137d(0x84))/0xd*(-parseInt(_0x40137d(0x93))/0xe);if(_0x20f422===_0x3c5713)break;else _0x598d47['push'](_0x598d47['shift']());}catch(_0x163d93){_0x598d47['push'](_0x598d47['shift']());}}}(_0x53dc,0xe413a));import{ButtonView as _0x5caccb,View as _0x377cbf}from'ckeditor5/src/ui.js';import _0x30ff2f from'../../../theme/icons/add-comment.svg';export default class D extends _0x5caccb{constructor(_0xd48aa){const _0x2187dd=_0x2c3e;super(_0xd48aa);const _0x46f4bf=this[_0x2187dd(0x79)];this[_0x2187dd(0x94)](_0x2187dd(0x8d),!0x1),this[_0x2187dd(0x94)](_0x2187dd(0x99),0x0),this[_0x2187dd(0x8a)](_0x2187dd(0x7d))['to'](this,_0x2187dd(0x8d),this,_0x2187dd(0x99),(_0x387f32,_0xe7ccb)=>_0x387f32?_0x2187dd(0x95):_0xe7ccb[_0x2187dd(0x7c)]()),this[_0x2187dd(0x94)](_0x2187dd(0x7f),''),this[_0x2187dd(0x97)]=_0x30ff2f,this[_0x2187dd(0x96)]({'attributes':{'class':[_0x2187dd(0x7b)]}}),this[_0x2187dd(0x7e)]=new _0x377cbf(),this[_0x2187dd(0x7e)][_0x2187dd(0x90)]({'tag':_0x2187dd(0x9a),'attributes':{'class':[_0x2187dd(0x7a),_0x46f4bf['to'](_0x2187dd(0x7f),_0x4e8d80=>_0x2187dd(0x8b)+_0x4e8d80),_0x46f4bf['if'](_0x2187dd(0x8d),_0x2187dd(0x81))]},'children':[{'text':_0x46f4bf['to'](_0x2187dd(0x7d))}]}),this[_0x2187dd(0x83)][_0x2187dd(0x88)](this[_0x2187dd(0x7e)]);}}function _0x53dc(){const _0x447938=['ck-annotation-counter__badge','ck-annotation-counter','toString','_badge','counterView','annotationType','317043RKIJiH','ck-annotation-counter__badge--edit-mode','20aquyre','children','1105yluYHP','20063352VJuKcd','40sZamxF','1422076cAlbTp','add','1xlmdvA','bind','ck-annotation-counter__badge--','11SriEJv','isDirty','354wNLOBy','7473HftRUR','setTemplate','1492LbmIKK','91630VWgwMh','74452vMsUyP','set','...','extendTemplate','icon','1281161OqPVhB','number','span','bindTemplate'];_0x53dc=function(){return _0x447938;};return _0x53dc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2b37(){const _0x208c8b=['height','type','mainView','content','set','11BSWBwP','focus','focusTracker','isActive','1244vhZpIj','presentation','498584DKSQaX','72LIuCAK','1350432uZCwzJ','_updateHeight','690659dysOvx','setTemplate','destroy','3185500DogidA','82146EomTzt','isDirty','arrowdown','arrowup','22JRLkRT','createCollection','660MvvvAU','targetRect','render','first','_mutationObserver','fire','element','attach','keystrokes','Esc','ck-annotation-wrapper--active','delegate','length','listenTo','ck-rounded-corners','bindTemplate','clear','add','ck-annotation-wrapper','clientHeight','div','1908928TXLFuG','detach'];_0x2b37=function(){return _0x208c8b;};return _0x2b37();}function _0x3ec9(_0x49bd4d,_0x55dc47){const _0x2b375f=_0x2b37();return _0x3ec9=function(_0x3ec93f,_0x1a13ca){_0x3ec93f=_0x3ec93f-0x107;let _0x2dd82d=_0x2b375f[_0x3ec93f];return _0x2dd82d;},_0x3ec9(_0x49bd4d,_0x55dc47);}const _0x1aa9ad=_0x3ec9;(function(_0x3824a3,_0x4275b9){const _0x17f6d9=_0x3ec9,_0x3a264b=_0x3824a3();while(!![]){try{const _0x13a71b=parseInt(_0x17f6d9(0x125))/0x1+-parseInt(_0x17f6d9(0x12d))/0x2*(-parseInt(_0x17f6d9(0x129))/0x3)+-parseInt(_0x17f6d9(0x11f))/0x4*(parseInt(_0x17f6d9(0x12f))/0x5)+-parseInt(_0x17f6d9(0x123))/0x6+parseInt(_0x17f6d9(0x114))/0x7+-parseInt(_0x17f6d9(0x121))/0x8*(parseInt(_0x17f6d9(0x122))/0x9)+-parseInt(_0x17f6d9(0x128))/0xa*(-parseInt(_0x17f6d9(0x11b))/0xb);if(_0x13a71b===_0x4275b9)break;else _0x3a264b['push'](_0x3a264b['shift']());}catch(_0x3a6e81){_0x3a264b['push'](_0x3a264b['shift']());}}}(_0x2b37,0xc7ce7));import{View as _0x512030}from'ckeditor5/src/ui.js';import{FocusTracker as _0x21baaa,KeystrokeHandler as _0x533a1b,uid as _0x19357b}from'ckeditor5/src/utils.js';import _0x5bf284 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class T extends _0x512030{constructor(_0x1b4dba,_0x4cba8c){const _0x352607=_0x3ec9;super(_0x1b4dba),this['id']=_0x19357b(),this[_0x352607(0x11d)]=new _0x21baaa(),this[_0x352607(0x107)]=new _0x533a1b(),this[_0x352607(0x107)][_0x352607(0x11a)](_0x352607(0x108),(_0x4092b8,_0x4b4d7e)=>this[_0x352607(0x134)](_0x352607(0x108),_0x4b4d7e)),this[_0x352607(0x11a)](_0x352607(0x130),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x352607(0x11a)](_0x352607(0x116),0x0),this[_0x352607(0x11a)](_0x352607(0x11e),!0x1),this[_0x352607(0x11a)](_0x352607(0x12a),!0x1),this[_0x352607(0x11a)](_0x352607(0x10b),0x0),this[_0x352607(0x11a)](_0x352607(0x117),''),this[_0x352607(0x133)]=_0x5bf284(()=>this[_0x352607(0x124)]()),this[_0x352607(0x119)]=this[_0x352607(0x12e)](),this[_0x352607(0x119)][_0x352607(0x10a)](_0x352607(0x12c),_0x352607(0x12b))['to'](this),this[_0x352607(0x119)][_0x352607(0x110)](_0x4cba8c),this[_0x352607(0x118)]=_0x4cba8c;const _0x38f125=this[_0x352607(0x10e)];this[_0x352607(0x126)]({'tag':_0x352607(0x113),'attributes':{'class':['ck',_0x352607(0x111),_0x352607(0x10d),_0x38f125['if'](_0x352607(0x11e),_0x352607(0x109))],'role':_0x352607(0x120)},'children':this[_0x352607(0x119)]});}[_0x1aa9ad(0x131)](){const _0x545e83=_0x1aa9ad;super[_0x545e83(0x131)](),this[_0x545e83(0x11d)][_0x545e83(0x110)](this[_0x545e83(0x135)]),this[_0x545e83(0x107)][_0x545e83(0x10c)](this[_0x545e83(0x135)]),this[_0x545e83(0x133)][_0x545e83(0x136)](this[_0x545e83(0x135)]);}[_0x1aa9ad(0x127)](){const _0x137fd0=_0x1aa9ad;this[_0x137fd0(0x119)][_0x137fd0(0x10f)](),this[_0x137fd0(0x107)][_0x137fd0(0x127)](),this[_0x137fd0(0x11d)][_0x137fd0(0x127)](),this[_0x137fd0(0x133)][_0x137fd0(0x115)](),super[_0x137fd0(0x127)]();}[_0x1aa9ad(0x11c)](){const _0x12493c=_0x1aa9ad;this[_0x12493c(0x119)][_0x12493c(0x132)]&&this[_0x12493c(0x119)][_0x12493c(0x132)][_0x12493c(0x11c)]();}[_0x1aa9ad(0x124)](){const _0x5391d9=_0x1aa9ad,_0x1edba0=this[_0x5391d9(0x135)][_0x5391d9(0x112)];_0x1edba0&&(this[_0x5391d9(0x116)]=_0x1edba0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x27ac2e=_0x1bbd;function _0x30fc(){const _0x4de941=['16096pKZIDV','set','arrowup','bindTemplate','629006CqAvbS','2033710FgciGw','isAnimationDisabled','clientHeight','destroy','focus','height','attach','first','347388awDRKt','bottom','ck-sidebar-item--no-animation','bind','ck-sidebar-item','42QlZxEn','clear','312028diNRMP','arrowdown','presentation','top','841730cWDAMp','_mutationObserver','14903DxrAuI','render','_targetTop','detach','div','element','12mVgtKo','delegate','2043RZZrqk','createCollection','updateHeight','content','setTemplate'];_0x30fc=function(){return _0x4de941;};return _0x30fc();}(function(_0x43f3a2,_0x5c1d6d){const _0x4eda41=_0x1bbd,_0x305bdf=_0x43f3a2();while(!![]){try{const _0x4e58d5=-parseInt(_0x4eda41(0xbe))/0x1+parseInt(_0x4eda41(0xb5))/0x2+-parseInt(_0x4eda41(0xaa))/0x3*(-parseInt(_0x4eda41(0xc5))/0x4)+-parseInt(_0x4eda41(0xc9))/0x5+parseInt(_0x4eda41(0xc3))/0x6*(-parseInt(_0x4eda41(0xcb))/0x7)+-parseInt(_0x4eda41(0xb1))/0x8*(-parseInt(_0x4eda41(0xac))/0x9)+-parseInt(_0x4eda41(0xb6))/0xa;if(_0x4e58d5===_0x5c1d6d)break;else _0x305bdf['push'](_0x305bdf['shift']());}catch(_0x4df391){_0x305bdf['push'](_0x305bdf['shift']());}}}(_0x30fc,0x5543f));import{View as _0x574379}from'ckeditor5/src/ui.js';import{toUnit as _0x4a509}from'ckeditor5/src/utils.js';function _0x1bbd(_0x686dfd,_0x415471){const _0x30fcc5=_0x30fc();return _0x1bbd=function(_0x1bbdbf,_0x2e78ef){_0x1bbdbf=_0x1bbdbf-0xaa;let _0x2578b3=_0x30fcc5[_0x1bbdbf];return _0x2578b3;},_0x1bbd(_0x686dfd,_0x415471);}import _0x5960b6 from'../../utils/createmutationobserver.js';const qt=_0x4a509('px');export default class H extends _0x574379{constructor(_0x3ea7a1){const _0x5d1c6c=_0x1bbd;super(_0x3ea7a1),this[_0x5d1c6c(0xb2)](_0x5d1c6c(0xc8),0x0),this[_0x5d1c6c(0xb2)](_0x5d1c6c(0xbb),0x0),this[_0x5d1c6c(0xc1)](_0x5d1c6c(0xbf))['to'](this,_0x5d1c6c(0xc8),this,_0x5d1c6c(0xbb),(_0x3cdc6d,_0x11f5ed)=>_0x3cdc6d+_0x11f5ed),this[_0x5d1c6c(0xb2)](_0x5d1c6c(0xb7),!0x1),this[_0x5d1c6c(0xca)]=_0x5960b6(()=>this[_0x5d1c6c(0xae)]()),this[_0x5d1c6c(0xcd)]=null,this[_0x5d1c6c(0xaf)]=this[_0x5d1c6c(0xad)](),this[_0x5d1c6c(0xaf)][_0x5d1c6c(0xab)](_0x5d1c6c(0xb3),_0x5d1c6c(0xc6))['to'](this);const _0x401cd9=this[_0x5d1c6c(0xb4)];this[_0x5d1c6c(0xb0)]({'tag':_0x5d1c6c(0xcf),'attributes':{'class':[_0x5d1c6c(0xc2),_0x401cd9['to'](_0x5d1c6c(0xb7),_0x8219f4=>_0x8219f4?_0x5d1c6c(0xc0):'')],'style':{'top':_0x401cd9['to'](_0x5d1c6c(0xc8),_0x4fc800=>qt(_0x4fc800))},'role':_0x5d1c6c(0xc7)},'children':this[_0x5d1c6c(0xaf)]});}[_0x27ac2e(0xcc)](){const _0x31cf85=_0x27ac2e;super[_0x31cf85(0xcc)](),this[_0x31cf85(0xca)][_0x31cf85(0xbc)](this[_0x31cf85(0xd0)]);}[_0x27ac2e(0xba)](){const _0x36e1bc=_0x27ac2e;this[_0x36e1bc(0xaf)][_0x36e1bc(0xbd)]&&this[_0x36e1bc(0xaf)][_0x36e1bc(0xbd)][_0x36e1bc(0xba)]();}[_0x27ac2e(0xae)](){const _0x98034c=_0x27ac2e,_0x1da1bc=this[_0x98034c(0xd0)][_0x98034c(0xb8)];_0x1da1bc&&(this[_0x98034c(0xbb)]=_0x1da1bc);}[_0x27ac2e(0xb9)](){const _0x299303=_0x27ac2e;this[_0x299303(0xaf)][_0x299303(0xc4)](),this[_0x299303(0xca)][_0x299303(0xce)](),super[_0x299303(0xb9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3615(_0x1813ac,_0x2196e7){const _0x1eedea=_0x1eed();return _0x3615=function(_0x361561,_0x17fcac){_0x361561=_0x361561-0x141;let _0x812f07=_0x1eedea[_0x361561];return _0x812f07;},_0x3615(_0x1813ac,_0x2196e7);}const _0x5f2bed=_0x3615;(function(_0x67cc31,_0x428268){const _0x468ea4=_0x3615,_0x1a5654=_0x67cc31();while(!![]){try{const _0x3bf8b9=parseInt(_0x468ea4(0x166))/0x1+-parseInt(_0x468ea4(0x141))/0x2+parseInt(_0x468ea4(0x161))/0x3+-parseInt(_0x468ea4(0x164))/0x4*(-parseInt(_0x468ea4(0x16c))/0x5)+parseInt(_0x468ea4(0x16f))/0x6*(-parseInt(_0x468ea4(0x170))/0x7)+parseInt(_0x468ea4(0x168))/0x8*(-parseInt(_0x468ea4(0x157))/0x9)+parseInt(_0x468ea4(0x153))/0xa;if(_0x3bf8b9===_0x428268)break;else _0x1a5654['push'](_0x1a5654['shift']());}catch(_0x411ea2){_0x1a5654['push'](_0x1a5654['shift']());}}}(_0x1eed,0xd9aad));function _0x1eed(){const _0x353e4a=['205haadZx','uiLanguageDirection','added','5340orPqmu','10122znGbXS','focusCycler','focusFirst','remove','2409736FjiExv','focusables','_updateItemPositionInFocusables','createCollection','arrowup','source','number','application','ck-sidebar','arrowdown','add','Annotations\x20list','focus','focusTracker','render','minHeight','class','ck-reset','23537280ZVRAIn','Annotations\x20sidebar','list','element','54poMAUZ','listenTo','bindTemplate','set','setTemplate','top','change','forEach','getIndex','div','4131018ZNImXb','focusPrevious','delegate','18764PeHmXf','length','315662vCgnGF','removed','1140472coZOvC','change:top','focusNext','_setupKeyboardNavigation'];_0x1eed=function(){return _0x353e4a;};return _0x1eed();}import{View as _0x3d0353,FocusCycler as _0x220953}from'ckeditor5/src/ui.js';import{FocusTracker as _0x19d1ae,toUnit as _0x432b8e}from'ckeditor5/src/utils.js';import{getTranslation as _0x33c0f9}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x432b8e('px');export default class V extends _0x3d0353{constructor(_0x67e58){const _0x31ff4c=_0x3615;super(_0x67e58);const _0x21cdc0=this[_0x31ff4c(0x159)];this[_0x31ff4c(0x15a)](_0x31ff4c(0x150),0x0),this[_0x31ff4c(0x15a)](_0x31ff4c(0x151),''),this[_0x31ff4c(0x155)]=this[_0x31ff4c(0x144)](),this[_0x31ff4c(0x142)]=this[_0x31ff4c(0x144)](),this[_0x31ff4c(0x155)][_0x31ff4c(0x163)](_0x31ff4c(0x145),_0x31ff4c(0x14a))['to'](this),this[_0x31ff4c(0x14e)]=new _0x19d1ae(),this[_0x31ff4c(0x171)]=new _0x220953({'focusables':this[_0x31ff4c(0x142)],'focusTracker':this[_0x31ff4c(0x14e)]}),this[_0x31ff4c(0x15b)]({'tag':_0x31ff4c(0x160),'attributes':{'class':['ck',_0x31ff4c(0x149),_0x31ff4c(0x152),_0x21cdc0['to'](_0x31ff4c(0x151))],'style':{'minHeight':_0x21cdc0['to'](_0x31ff4c(0x150),_0x102312=>_0x31ff4c(0x147)==typeof _0x102312?qt(_0x102312+0xa):null)},'dir':_0x67e58[_0x31ff4c(0x16d)],'role':_0x31ff4c(0x148),'aria-label':_0x33c0f9(_0x67e58,_0x31ff4c(0x154)),'tabindex':0x0},'children':[{'tag':_0x31ff4c(0x160),'attributes':{'role':_0x31ff4c(0x155),'aria-label':_0x33c0f9(_0x67e58,_0x31ff4c(0x14c))},'children':this[_0x31ff4c(0x155)]}]});}[_0x5f2bed(0x14f)](){const _0x124e14=_0x5f2bed;super[_0x124e14(0x14f)](),this[_0x124e14(0x16b)]();}[_0x5f2bed(0x14d)](){const _0x347791=_0x5f2bed;this[_0x347791(0x171)][_0x347791(0x172)]();}[_0x5f2bed(0x16b)](){const _0x9bc697=_0x5f2bed;this[_0x9bc697(0x155)][_0x9bc697(0x163)](_0x9bc697(0x169))['to'](this),this['on'](_0x9bc697(0x169),_0x24fe5d=>{const _0x191611=_0x9bc697;this[_0x191611(0x143)](_0x24fe5d[_0x191611(0x146)]);}),this[_0x9bc697(0x155)][_0x9bc697(0x15e)](_0x513153=>{const _0x2c27a3=_0x9bc697;this[_0x2c27a3(0x14e)][_0x2c27a3(0x14b)](_0x513153[_0x2c27a3(0x156)]),this[_0x2c27a3(0x143)](_0x513153);}),this[_0x9bc697(0x155)]['on'](_0x9bc697(0x15d),(_0x12d517,_0x54b2ff)=>{const _0x3a7fd1=_0x9bc697;for(const _0x29f901 of _0x54b2ff[_0x3a7fd1(0x167)])this[_0x3a7fd1(0x14e)][_0x3a7fd1(0x173)](_0x29f901[_0x3a7fd1(0x156)]),this[_0x3a7fd1(0x142)][_0x3a7fd1(0x173)](_0x29f901);for(const _0x47669f of _0x54b2ff[_0x3a7fd1(0x16e)])this[_0x3a7fd1(0x14e)][_0x3a7fd1(0x14b)](_0x47669f[_0x3a7fd1(0x156)]),this[_0x3a7fd1(0x143)](_0x47669f);}),this['on'](_0x9bc697(0x145),()=>{const _0x31d678=_0x9bc697;this[_0x31d678(0x171)][_0x31d678(0x162)]();}),this['on'](_0x9bc697(0x14a),()=>{const _0x28223d=_0x9bc697;this[_0x28223d(0x171)][_0x28223d(0x16a)]();}),this[_0x9bc697(0x158)](this[_0x9bc697(0x156)],_0x9bc697(0x14d),()=>{const _0x237f19=_0x9bc697;this[_0x237f19(0x14d)]();});}[_0x5f2bed(0x143)](_0x12b0a9){const _0x33f41f=_0x5f2bed,_0x86a759=this[_0x33f41f(0x142)][_0x33f41f(0x15f)](_0x12b0a9);let _0x424363,_0x180570;for(const _0x3b9247 of this[_0x33f41f(0x142)])if(_0x12b0a9[_0x33f41f(0x15c)]<_0x3b9247[_0x33f41f(0x15c)]){_0x424363=_0x3b9247;break;}if(_0x180570=_0x424363?this[_0x33f41f(0x142)][_0x33f41f(0x15f)](_0x424363):this[_0x33f41f(0x142)][_0x33f41f(0x165)],-0x1!==_0x86a759){if(_0x86a759===_0x180570-0x1)return;this[_0x33f41f(0x142)][_0x33f41f(0x173)](_0x12b0a9),_0x180570=_0x424363?this[_0x33f41f(0x142)][_0x33f41f(0x15f)](_0x424363):this[_0x33f41f(0x142)][_0x33f41f(0x165)];}this[_0x33f41f(0x142)][_0x33f41f(0x14b)](_0x12b0a9,_0x180570);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2763(_0x4582b0,_0x7721d3){const _0x59c349=_0x59c3();return _0x2763=function(_0x2763ad,_0x1fbdf7){_0x2763ad=_0x2763ad-0x197;let _0x4711fa=_0x59c349[_0x2763ad];return _0x4711fa;},_0x2763(_0x4582b0,_0x7721d3);}const _0x5f464f=_0x2763;(function(_0x152331,_0x102693){const _0x5b7e5d=_0x2763,_0x9a2f12=_0x152331();while(!![]){try{const _0x55ba63=-parseInt(_0x5b7e5d(0x1ce))/0x1+-parseInt(_0x5b7e5d(0x1a0))/0x2*(parseInt(_0x5b7e5d(0x1a1))/0x3)+-parseInt(_0x5b7e5d(0x19d))/0x4+parseInt(_0x5b7e5d(0x1bd))/0x5*(-parseInt(_0x5b7e5d(0x1da))/0x6)+-parseInt(_0x5b7e5d(0x1c3))/0x7+-parseInt(_0x5b7e5d(0x1a6))/0x8*(-parseInt(_0x5b7e5d(0x1d4))/0x9)+parseInt(_0x5b7e5d(0x198))/0xa;if(_0x55ba63===_0x102693)break;else _0x9a2f12['push'](_0x9a2f12['shift']());}catch(_0x2f3055){_0x9a2f12['push'](_0x9a2f12['shift']());}}}(_0x59c3,0x92a9f));import{ContextPlugin as _0x5cfe83,Context as _0x368b9c}from'ckeditor5/src/core.js';import _0x241068 from'./annotationsuis.js';import _0x2873c7 from'./sidebar.js';import{CKEditorError as _0x4da2bc,Collection as _0x2b2308}from'ckeditor5/src/utils.js';import{debounce as _0x1110f1}from'lodash-es';function _0x59c3(){const _0x58d526=['has','hasDomSelection','refresh','from','cancel','ck-sidebar--wide','5472AwICuY','listenTo','detach','pluginName','stop','annotations','9WObrav','register','removeEventListener','isPremiumPlugin','_editorAnnotations','EditorAnnotations','228894ZZYuSq','wideSidebar','addEventListener','requires','11803630HIkiLN','isOfficialPlugin','_refreshPositioningDebounced','_annotations','uiUpdate','1584468QTvtmY','_activeAnnotation','_destroyEditorAnnotationsIntegration','14Vcoodw','299853EpUoFu','_integrateWithEditorAnnotations','set','context','focus','8654032JjXwKF','WideSidebar','change:container','isAttached','remove','widesidebar-attach-already-attached','add','addAnnotation','switchTo','editors','updateTargetRect','rearrange','high','attach','resize','ready','off','set:container','blur','stopListening','container','_attachToContainer','destroy','5WvnjVS','get','plugins','_detachFromContainer','widesidebar-detach-not-attached','activeAnnotation','3653909AtSSJs','getOrderedSelectedAnnotations','init','refreshPositioning','setActiveAnnotation'];_0x59c3=function(){return _0x58d526;};return _0x59c3();}export default class e extends _0x5cfe83{static get[_0x5f464f(0x197)](){return[_0x2873c7,_0x241068];}static get[_0x5f464f(0x1d1)](){const _0x1da938=_0x5f464f;return _0x1da938(0x1a7);}static get[_0x5f464f(0x199)](){return!0x0;}static get[_0x5f464f(0x1d7)](){return!0x0;}constructor(_0x51dae6){const _0x26ef10=_0x5f464f;super(_0x51dae6),this[_0x26ef10(0x1a9)]=!0x1,this[_0x26ef10(0x1a3)](_0x26ef10(0x1c2),null),this[_0x26ef10(0x1d3)]=null,this[_0x26ef10(0x1d8)]=new _0x2b2308(),this[_0x26ef10(0x19a)]=_0x1110f1(()=>{const _0x478d06=_0x26ef10;this[_0x478d06(0x1d3)][_0x478d06(0x1c6)]();},0xfa,{'leading':!0x1});}[_0x5f464f(0x1c5)](){const _0x47d088=_0x5f464f,_0x1e395f=this[_0x47d088(0x1a4)][_0x47d088(0x1bf)][_0x47d088(0x1be)](_0x241068),_0x3015db=this[_0x47d088(0x1a4)][_0x47d088(0x1bf)][_0x47d088(0x1be)](_0x2873c7);_0x1e395f[_0x47d088(0x1d5)](_0x47d088(0x1db),this),_0x3015db[_0x47d088(0x1ba)]&&_0x1e395f[_0x47d088(0x1ae)](_0x47d088(0x1db));}[_0x5f464f(0x1c7)](_0x1b71a1){const _0x5aa208=_0x5f464f;if(_0x1b71a1===this[_0x5aa208(0x1c2)])return;const _0x366239=this[_0x5aa208(0x1a4)][_0x5aa208(0x1bf)][_0x5aa208(0x1be)](_0x2873c7);_0x366239[_0x5aa208(0x19e)]=_0x1b71a1;const _0x4952ba=this[_0x5aa208(0x1c2)];_0x366239[_0x5aa208(0x1ca)]({'blurredAnnotation':_0x4952ba,'activatedAnnotation':_0x1b71a1}),this[_0x5aa208(0x1c2)]=_0x1b71a1;}[_0x5f464f(0x1b3)](_0x2eba44){const _0x48cbb7=_0x5f464f;this[_0x48cbb7(0x1d3)]=_0x2eba44;const _0x4b93a0=this[_0x48cbb7(0x1a4)][_0x48cbb7(0x1bf)][_0x48cbb7(0x1be)](_0x2873c7);if(_0x4b93a0[_0x48cbb7(0x19b)]=_0x2eba44,this[_0x48cbb7(0x1a9)])throw new _0x4da2bc(_0x48cbb7(0x1ab),this);this[_0x48cbb7(0x1a9)]=!0x0,this[_0x48cbb7(0x1cf)](_0x4b93a0,_0x48cbb7(0x1b7),()=>{const _0x415867=_0x48cbb7;this[_0x415867(0x1d0)](),this[_0x415867(0x1cf)](_0x4b93a0,_0x415867(0x1a8),_0x317468=>{const _0xbbcb5f=_0x415867;_0x317468[_0xbbcb5f(0x1b6)](),this[_0xbbcb5f(0x1b3)](_0x2eba44);});}),_0x4b93a0[_0x48cbb7(0x1bb)]({'viewClass':_0x48cbb7(0x1cd)});const _0x1bd2ab=_0x527f40=>{const _0x3b7402=_0x48cbb7;_0x527f40[_0x3b7402(0x1b0)](),_0x4b93a0[_0x3b7402(0x1ad)](_0x527f40);};for(const _0x4aaaf4 of _0x2eba44)_0x1bd2ab(_0x4aaaf4);this[_0x48cbb7(0x1cf)](_0x2eba44,_0x48cbb7(0x1ac),(_0x57b715,_0x5c7b8c)=>{_0x1bd2ab(_0x5c7b8c);}),this[_0x48cbb7(0x1cf)](_0x2eba44,_0x48cbb7(0x1aa),(_0x5c8161,_0x93a0d5,_0x13f91a)=>{const _0x232a37=_0x48cbb7;_0x4b93a0[_0x232a37(0x1b1)]({'removedAnnotation':_0x93a0d5,'previousAnnotation':_0x2eba44[_0x232a37(0x1be)](_0x13f91a-0x1),'nextAnnotation':_0x2eba44[_0x232a37(0x1be)](_0x13f91a+0x1)}),_0x93a0d5===this[_0x232a37(0x1c2)]&&this[_0x232a37(0x1c7)](null);},{'priority':_0x48cbb7(0x1b2)}),this[_0x48cbb7(0x1cf)](_0x2eba44,_0x48cbb7(0x1a5),(_0x426276,_0x5425b2)=>{const _0x2cd049=_0x48cbb7;this[_0x2cd049(0x1c7)](_0x5425b2);}),this[_0x48cbb7(0x1cf)](_0x2eba44,_0x48cbb7(0x1b8),()=>{const _0x3b85d7=_0x48cbb7;this[_0x3b85d7(0x1c7)](null);});const _0x52b318=this[_0x48cbb7(0x1a4)]instanceof _0x368b9c?this[_0x48cbb7(0x1a4)][_0x48cbb7(0x1af)]:new _0x2b2308([this[_0x48cbb7(0x1a4)]]);for(const _0x5166e7 of _0x52b318)this[_0x48cbb7(0x1a2)](_0x5166e7);this[_0x48cbb7(0x1cf)](_0x52b318,_0x48cbb7(0x1ac),(_0x46794c,_0x2628ab)=>{const _0xce0a4e=_0x48cbb7;this[_0xce0a4e(0x1cf)](_0x2628ab,_0xce0a4e(0x1b5),()=>{const _0x43707f=_0xce0a4e;this[_0x43707f(0x1a2)](_0x2628ab);});}),this[_0x48cbb7(0x1cf)](_0x52b318,_0x48cbb7(0x1aa),(_0x5d63b3,_0x8d0935)=>{const _0x200ff4=_0x48cbb7;_0x8d0935[_0x200ff4(0x1bf)][_0x200ff4(0x1c8)](_0x200ff4(0x1d9))&&this[_0x200ff4(0x19f)](_0x8d0935[_0x200ff4(0x1bf)][_0x200ff4(0x1be)](_0x200ff4(0x1d9)));}),window[_0x48cbb7(0x1dc)](_0x48cbb7(0x1b4),this[_0x48cbb7(0x19a)]),this[_0x48cbb7(0x1d3)][_0x48cbb7(0x1c6)]();}[_0x5f464f(0x1d0)](){const _0x3aabb9=_0x5f464f;if(!this[_0x3aabb9(0x1a9)])throw new _0x4da2bc(_0x3aabb9(0x1c1),this);this[_0x3aabb9(0x1c7)](null);const _0x109ce5=this[_0x3aabb9(0x1a4)][_0x3aabb9(0x1bf)][_0x3aabb9(0x1be)](_0x2873c7);_0x109ce5[_0x3aabb9(0x1c0)](this[_0x3aabb9(0x1d3)]),this[_0x3aabb9(0x1b9)](_0x109ce5),this[_0x3aabb9(0x1b9)](this[_0x3aabb9(0x1d3)]),this[_0x3aabb9(0x1a4)]instanceof _0x368b9c&&this[_0x3aabb9(0x1b9)](this[_0x3aabb9(0x1a4)][_0x3aabb9(0x1af)]);for(const _0x48e840 of Array[_0x3aabb9(0x1cb)](this[_0x3aabb9(0x1d8)]))this[_0x3aabb9(0x19f)](_0x48e840);window[_0x3aabb9(0x1d6)](_0x3aabb9(0x1b4),this[_0x3aabb9(0x19a)]),this[_0x3aabb9(0x19a)][_0x3aabb9(0x1cc)](),this[_0x3aabb9(0x1c2)]=null,this[_0x3aabb9(0x1a9)]=!0x1,this[_0x3aabb9(0x1d3)]=null;}[_0x5f464f(0x1bc)](){const _0x84af06=_0x5f464f;this[_0x84af06(0x1a9)]&&this[_0x84af06(0x1d0)]();}[_0x5f464f(0x1a2)](_0x1d43d5){const _0x502b40=_0x5f464f;if(!_0x1d43d5[_0x502b40(0x1bf)][_0x502b40(0x1c8)](_0x502b40(0x1d9)))return;const _0x23e261=_0x1d43d5[_0x502b40(0x1bf)][_0x502b40(0x1be)](_0x502b40(0x1d9)),_0x17a3c0=()=>{const _0x555d8b=_0x502b40,_0x1e9534=_0x23e261[_0x555d8b(0x1c4)]({'annotations':this[_0x555d8b(0x1d3)],'activeAnnotation':this[_0x555d8b(0x1c2)]});this[_0x555d8b(0x1c7)](_0x1e9534[0x0]||null);};this[_0x502b40(0x1cf)](_0x23e261,_0x502b40(0x1ca),_0x17a3c0),this[_0x502b40(0x1cf)](_0x23e261,_0x502b40(0x1b8),(_0xae1374,{isAnnotationTracked:_0x5b5320})=>{const _0x81a3fc=_0x502b40;this[_0x81a3fc(0x1c2)]&&_0x5b5320(this[_0x81a3fc(0x1c2)])&&this[_0x81a3fc(0x1c7)](null);}),this[_0x502b40(0x1cf)](_0x23e261,_0x502b40(0x19c),()=>{const _0x30d76d=_0x502b40;this[_0x30d76d(0x19a)]();}),this[_0x502b40(0x1cf)](this[_0x502b40(0x1d3)],_0x502b40(0x1b8),_0x2601d2=>{const _0x4369ce=_0x502b40;_0x23e261[_0x4369ce(0x1c9)]()&&(_0x17a3c0(),_0x2601d2[_0x4369ce(0x1d2)]());},{'priority':_0x502b40(0x1b2)}),this[_0x502b40(0x1d8)][_0x502b40(0x1ac)](_0x23e261);}[_0x5f464f(0x19f)](_0x333ada){const _0xf8b7a1=_0x5f464f;this[_0xf8b7a1(0x1b9)](_0x333ada),this[_0xf8b7a1(0x1d8)][_0xf8b7a1(0x1aa)](_0x333ada);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e52b5=_0xcef5;(function(_0x50f920,_0x26842e){const _0x326cf6=_0xcef5,_0x4ecefe=_0x50f920();while(!![]){try{const _0x498407=-parseInt(_0x326cf6(0x15c))/0x1*(-parseInt(_0x326cf6(0x167))/0x2)+-parseInt(_0x326cf6(0x160))/0x3*(parseInt(_0x326cf6(0x14e))/0x4)+parseInt(_0x326cf6(0x15a))/0x5*(-parseInt(_0x326cf6(0x15f))/0x6)+-parseInt(_0x326cf6(0x162))/0x7*(-parseInt(_0x326cf6(0x148))/0x8)+parseInt(_0x326cf6(0x158))/0x9+parseInt(_0x326cf6(0x165))/0xa+-parseInt(_0x326cf6(0x164))/0xb;if(_0x498407===_0x26842e)break;else _0x4ecefe['push'](_0x4ecefe['shift']());}catch(_0x1ce3a2){_0x4ecefe['push'](_0x4ecefe['shift']());}}}(_0x2b15,0x42257));function _0x2b15(){const _0x38655b=['getItems','end','item','editor','element','isObject','start','model','1372761bbgmgX','push','576835xdivNU','_hasContent','973uaGDsx','createRange','execute','12xbGbBX','9gYanwq','$textProxy','56fcuoLP','selection','5113537navTVl','4374680wwZVdr','isEnabled','1106PyNcdy','getLastMatchingPosition','getRanges','refresh','substr','_trimToContent','addMarker','schema','129848JIUyJN','change','document','tableCell','backward','comment:','388504FSdSRr','_itemIsContent'];_0x2b15=function(){return _0x38655b;};return _0x2b15();}function _0xcef5(_0x38f95b,_0x45f13d){const _0x2b15c8=_0x2b15();return _0xcef5=function(_0xcef58c,_0x12cbe1){_0xcef58c=_0xcef58c-0x142;let _0x3b1b50=_0x2b15c8[_0xcef58c];return _0x3b1b50;},_0xcef5(_0x38f95b,_0x45f13d);}import{Command as _0x494c92}from'ckeditor5/src/core.js';import{uid as _0x2b1856}from'ckeditor5/src/utils.js';export default class J extends _0x494c92{[_0x1e52b5(0x143)](){const _0x4d0137=_0x1e52b5,_0x59afb0=this[_0x4d0137(0x153)][_0x4d0137(0x157)][_0x4d0137(0x14a)][_0x4d0137(0x163)];for(const _0x7115f1 of _0x59afb0[_0x4d0137(0x142)]())if(this[_0x4d0137(0x15b)](_0x7115f1))return void(this[_0x4d0137(0x166)]=!0x0);this[_0x4d0137(0x166)]=!0x1;}[_0x1e52b5(0x15e)]({threadId:_0xf1d60f=_0x2b1856()}={}){const _0x393f7f=_0x1e52b5,_0x2f328f=this[_0x393f7f(0x153)][_0x393f7f(0x157)],_0x499a8d=[];for(const _0x8312b9 of _0x2f328f[_0x393f7f(0x14a)][_0x393f7f(0x163)][_0x393f7f(0x142)]())this[_0x393f7f(0x15b)](_0x8312b9)&&_0x499a8d[_0x393f7f(0x159)](this[_0x393f7f(0x145)](_0x8312b9));_0x2f328f[_0x393f7f(0x149)](_0x3385c6=>{const _0x4c2f0d=_0x393f7f;for(const _0x509897 of _0x499a8d){const _0x105df0=_0x2b1856()[_0x4c2f0d(0x144)](0x1,0x5),_0x37c527=_0x4c2f0d(0x14d)+_0xf1d60f+':'+_0x105df0;_0x3385c6[_0x4c2f0d(0x146)](_0x37c527,{'range':_0x509897,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x1e52b5(0x15b)](_0x11167c){const _0x5bb2e8=_0x1e52b5;for(const _0x4dd119 of _0x11167c[_0x5bb2e8(0x150)]())if(this[_0x5bb2e8(0x14f)](_0x4dd119))return!0x0;return!0x1;}[_0x1e52b5(0x14f)](_0x12ce2d){const _0x3e0011=_0x1e52b5;return _0x12ce2d['is'](_0x3e0011(0x161))||this[_0x3e0011(0x153)][_0x3e0011(0x157)][_0x3e0011(0x147)][_0x3e0011(0x155)](_0x12ce2d)&&!_0x12ce2d['is'](_0x3e0011(0x154),_0x3e0011(0x14b));}[_0x1e52b5(0x145)](_0x2e7823){const _0x30fb79=_0x1e52b5,_0x24ded4=_0xa97fe3=>!this[_0x30fb79(0x14f)](_0xa97fe3[_0x30fb79(0x152)]),_0x42890e=_0x2e7823[_0x30fb79(0x156)][_0x30fb79(0x168)](_0x24ded4),_0x35c186=_0x2e7823[_0x30fb79(0x151)][_0x30fb79(0x168)](_0x24ded4,{'direction':_0x30fb79(0x14c)});return this[_0x30fb79(0x153)][_0x30fb79(0x157)][_0x30fb79(0x15d)](_0x42890e,_0x35c186);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x196e(_0x13a6ca,_0x406988){const _0x54f57b=_0x54f5();return _0x196e=function(_0x196e06,_0x67aaba){_0x196e06=_0x196e06-0x169;let _0x1b16c7=_0x54f57b[_0x196e06];return _0x1b16c7;},_0x196e(_0x13a6ca,_0x406988);}const _0x5ceb56=_0x196e;(function(_0x7c6f32,_0x5861ec){const _0x5e856f=_0x196e,_0x2a1c8a=_0x7c6f32();while(!![]){try{const _0xce0ae2=parseInt(_0x5e856f(0x16b))/0x1*(parseInt(_0x5e856f(0x172))/0x2)+-parseInt(_0x5e856f(0x18e))/0x3*(parseInt(_0x5e856f(0x177))/0x4)+-parseInt(_0x5e856f(0x188))/0x5*(parseInt(_0x5e856f(0x180))/0x6)+parseInt(_0x5e856f(0x17a))/0x7+parseInt(_0x5e856f(0x18a))/0x8*(-parseInt(_0x5e856f(0x179))/0x9)+parseInt(_0x5e856f(0x173))/0xa+-parseInt(_0x5e856f(0x16d))/0xb;if(_0xce0ae2===_0x5861ec)break;else _0x2a1c8a['push'](_0x2a1c8a['shift']());}catch(_0x53fbbc){_0x2a1c8a['push'](_0x2a1c8a['shift']());}}}(_0x54f5,0xcdd07));import{ContextPlugin as _0x156e9b}from'ckeditor5/src/core.js';import{Collection as _0x417a77}from'ckeditor5/src/utils.js';import _0x593fcc from'./commentsrepository.js';import _0x2c23e1 from'../annotations/annotations.js';function _0x54f5(){const _0x2c7c55=['plugins','archivedThreads','174XdwawW','stopListening','10684146dwYDfH','init','listenTo','removeCommentThread','get','1436KVrPZE','13869000fJIIwZ','getCommentThread','activate','isOfficialPlugin','716FVSFnH','addCommentThread','67905mNbfqk','8626331lLygpS','_calculatePosition','context','isVisible','CommentsArchive','highest','102zvQpko','isActive','change:archivedAt','add','length','isPremiumPlugin','remove','requires','245815DQWmxp','focus','88uZHQsM','findIndex','pluginName','collection','186YkeuGs','archivedAt','has'];_0x54f5=function(){return _0x2c7c55;};return _0x54f5();}export default class f extends _0x156e9b{static get[_0x5ceb56(0x18c)](){const _0xb768e2=_0x5ceb56;return _0xb768e2(0x17e);}static get[_0x5ceb56(0x176)](){return!0x0;}static get[_0x5ceb56(0x185)](){return!0x0;}static get[_0x5ceb56(0x187)](){return[_0x593fcc,_0x2c23e1];}constructor(_0x3a11a4){const _0x9963f2=_0x5ceb56;super(_0x3a11a4),this[_0x9963f2(0x16a)]=new _0x417a77();}[_0x5ceb56(0x16e)](){const _0x33e50a=_0x5ceb56,_0x145697=this[_0x33e50a(0x17c)],_0x45e162=_0x145697[_0x33e50a(0x169)][_0x33e50a(0x171)](_0x593fcc),_0x40b840=_0x145697[_0x33e50a(0x169)][_0x33e50a(0x171)](_0x2c23e1);this[_0x33e50a(0x16f)](_0x45e162,_0x33e50a(0x178),(_0x45d391,{threadId:_0x29d390})=>{const _0x4124b4=_0x33e50a,_0x1d51eb=_0x45e162[_0x4124b4(0x174)](_0x29d390);_0x1d51eb[_0x4124b4(0x18f)]&&this[_0x4124b4(0x16a)][_0x4124b4(0x183)](_0x1d51eb,this[_0x4124b4(0x17b)](_0x1d51eb[_0x4124b4(0x18f)])),this[_0x4124b4(0x16f)](_0x1d51eb,_0x4124b4(0x182),(_0x573018,_0x429eec,_0x1261c0)=>{const _0x257c63=_0x4124b4;_0x1261c0?this[_0x257c63(0x16a)][_0x257c63(0x190)](_0x1d51eb)||this[_0x257c63(0x16a)][_0x257c63(0x183)](_0x1d51eb,this[_0x257c63(0x17b)](_0x1d51eb[_0x257c63(0x18f)])):this[_0x257c63(0x16a)][_0x257c63(0x190)](_0x1d51eb)&&this[_0x257c63(0x16a)][_0x257c63(0x186)](_0x1d51eb);});}),this[_0x33e50a(0x16f)](_0x45e162,_0x33e50a(0x170),(_0x2d64b6,{threadId:_0xd82da4})=>{const _0x1e5886=_0x33e50a,_0x324837=_0x45e162[_0x1e5886(0x174)](_0xd82da4);this[_0x1e5886(0x16c)](_0x324837),this[_0x1e5886(0x16a)][_0x1e5886(0x190)](_0x324837)&&this[_0x1e5886(0x16a)][_0x1e5886(0x186)](_0x324837);},{'priority':_0x33e50a(0x17f)}),this[_0x33e50a(0x16f)](_0x40b840[_0x33e50a(0x18d)],_0x33e50a(0x189),(_0x1a6b49,_0x550b59)=>{const _0x2d590c=_0x33e50a;_0x550b59[_0x2d590c(0x17d)]||(_0x550b59[_0x2d590c(0x181)]=!0x0,_0x40b840[_0x2d590c(0x175)](_0x550b59));});}[_0x5ceb56(0x17b)](_0x2f43c0){const _0x3c42a7=_0x5ceb56,_0x50b143=[...this[_0x3c42a7(0x16a)]][_0x3c42a7(0x18b)](_0x482cfe=>_0x482cfe[_0x3c42a7(0x18f)]<_0x2f43c0);return _0x50b143>-0x1?_0x50b143:this[_0x3c42a7(0x16a)][_0x3c42a7(0x184)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34d347=_0x10aa;(function(_0x206322,_0x243aed){const _0x2c2657=_0x10aa,_0x2bb7e6=_0x206322();while(!![]){try{const _0x4e7e7c=parseInt(_0x2c2657(0x1e5))/0x1+parseInt(_0x2c2657(0x1f6))/0x2*(parseInt(_0x2c2657(0x1c7))/0x3)+parseInt(_0x2c2657(0x1d7))/0x4+parseInt(_0x2c2657(0x1bd))/0x5*(parseInt(_0x2c2657(0x1d0))/0x6)+parseInt(_0x2c2657(0x207))/0x7*(-parseInt(_0x2c2657(0x1fc))/0x8)+parseInt(_0x2c2657(0x201))/0x9+-parseInt(_0x2c2657(0x1fe))/0xa;if(_0x4e7e7c===_0x243aed)break;else _0x2bb7e6['push'](_0x2bb7e6['shift']());}catch(_0x2b135d){_0x2bb7e6['push'](_0x2bb7e6['shift']());}}}(_0x31c1,0x40ae5));import'../../theme/commentsarchive.css';function _0x10aa(_0x4a4b9e,_0x4e7fe1){const _0x31c1ea=_0x31c1();return _0x10aa=function(_0x10aaaf,_0x2cf268){_0x10aaaf=_0x10aaaf-0x1bd;let _0x227ee0=_0x31c1ea[_0x10aaaf];return _0x227ee0;},_0x10aa(_0x4a4b9e,_0x4e7fe1);}import{Plugin as _0x426987}from'ckeditor5/src/core.js';import{ViewCollection as _0x486d77,MenuBarMenuListItemButtonView as _0x3998dc,ButtonView as _0x1c92f4,Dialog as _0x116428,DialogViewPosition as _0x48fb90}from'ckeditor5/src/ui.js';import _0x246d7e from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x5b0a84}from'../utils/common-translations.js';function _0x31c1(){const _0x5d7774=['splice','focusableElements','_threadToController','channelId','set','escape','indexOf','197278MgcDRg','EDITOR_TOP_SIDE','locale','editor','isEnabled','stopListening','findIndex','bind','Dialog','init','filter','_pendingThreads','_hideDialogOnAnnotationEscape','source','collection','collaboration.channelId','isVisible','598YALlSR','isPremiumPlugin','find','length','add','COMMENTS_ARCHIVE','48232ejYzkC','menuitemcheckbox','785150bnujYd','_toggleDialog','remove','384813nxVfNx','componentFactory','push','Annotations','_calculatePosition','archivedAt','287KtKBIF','5mFCgML','has','forEach','hide','menuBar:commentsArchive','isOn','view','commentsArchive','get','requires','1329MNdMRl','listenTo','CommentsRepository','CommentsArchiveUI','innerView','isOpen','show','isOfficialPlugin','_handleNewThread','982914ZysjAj','execute','_createCommentsArchiveButton','archivedThreads','getByInnerView','config','_visibleAnnotations','217304XaFWJT','annotationViews','stop','plugins','commentsArchiveView','pluginName','tooltip'];_0x31c1=function(){return _0x5d7774;};return _0x31c1();}import _0x25f2f0 from'./ui/view/commentsarchiveview.js';import _0x57c1a9 from'./commentsarchive.js';export default class a extends _0x426987{static get[_0x34d347(0x1dc)](){const _0x243511=_0x34d347;return _0x243511(0x1ca);}static get[_0x34d347(0x1ce)](){return!0x0;}static get[_0x34d347(0x1f7)](){return!0x0;}static get[_0x34d347(0x1c6)](){return[_0x57c1a9,_0x116428];}constructor(_0x3ec0fe){const _0x24a091=_0x34d347;super(_0x3ec0fe),this[_0x24a091(0x1f1)]=_0x30eab5=>{const _0x11218d=_0x24a091,_0x4c4b97=_0x30eab5[_0x11218d(0x1f2)];if(!this[_0x11218d(0x1d8)][_0x11218d(0x1be)](_0x4c4b97[_0x11218d(0x1c3)]))return;const _0x2fc29a=this[_0x11218d(0x1e8)][_0x11218d(0x1da)][_0x11218d(0x1c5)](_0x11218d(0x1ed));_0x2fc29a[_0x11218d(0x1cc)]&&_0x11218d(0x1c4)===_0x2fc29a['id']&&(_0x2fc29a[_0x11218d(0x1c0)](),_0x30eab5[_0x11218d(0x1d9)]());},this[_0x24a091(0x1d8)]=new _0x486d77(),this[_0x24a091(0x1f0)]=[];}[_0x34d347(0x1ee)](){const _0x31ace7=_0x34d347,_0x7ae090=this[_0x31ace7(0x1e8)],_0x288801=this[_0x31ace7(0x1f1)][_0x31ace7(0x1ec)](this);_0x7ae090['ui'][_0x31ace7(0x202)][_0x31ace7(0x1fa)](_0x31ace7(0x1c4),()=>this[_0x31ace7(0x1d2)](_0x1c92f4,!0x0)),_0x7ae090['ui'][_0x31ace7(0x202)][_0x31ace7(0x1fa)](_0x31ace7(0x1c1),()=>{const _0x339d9a=_0x31ace7,_0x4de780=this[_0x339d9a(0x1d2)](_0x3998dc);return _0x4de780[_0x339d9a(0x1e2)]({'role':_0x339d9a(0x1fd)}),_0x4de780;});const _0x4cc4e2=_0x7ae090[_0x31ace7(0x1da)][_0x31ace7(0x1c5)](_0x57c1a9),_0x22a089=_0x7ae090[_0x31ace7(0x1da)][_0x31ace7(0x1c5)](_0x31ace7(0x204)),_0x1d9671=_0x7ae090[_0x31ace7(0x1da)][_0x31ace7(0x1c5)](_0x31ace7(0x1c9));_0x4cc4e2[_0x31ace7(0x1d3)][_0x31ace7(0x1bf)](_0x4a00ac=>{const _0x1d0751=_0x31ace7;this[_0x1d0751(0x1cf)](_0x4a00ac);}),this[_0x31ace7(0x1c8)](_0x4cc4e2[_0x31ace7(0x1d3)],_0x31ace7(0x1fa),(_0x2e11dd,_0x1b3a3c)=>{const _0x29ab2f=_0x31ace7;this[_0x29ab2f(0x1cf)](_0x1b3a3c);}),this[_0x31ace7(0x1c8)](_0x22a089[_0x31ace7(0x1f3)],_0x31ace7(0x1fa),(_0x4efd82,_0x184702)=>{const _0x5201f4=_0x31ace7,_0x11b580=this[_0x5201f4(0x1f0)][_0x5201f4(0x1f8)](_0x1c3931=>{const _0x781b74=_0x5201f4,_0x2c766c=_0x1d9671[_0x781b74(0x1e0)][_0x781b74(0x1c5)](_0x1c3931);return _0x2c766c&&_0x184702[_0x781b74(0x1cb)]===_0x2c766c[_0x781b74(0x1c3)];});if(_0x11b580){const _0x7e4e92=this[_0x5201f4(0x205)](_0x11b580[_0x5201f4(0x206)]);this[_0x5201f4(0x1d8)][_0x5201f4(0x1fa)](_0x184702[_0x5201f4(0x1c3)],_0x7e4e92),this[_0x5201f4(0x1f0)][_0x5201f4(0x1de)](this[_0x5201f4(0x1f0)][_0x5201f4(0x1e4)](_0x11b580),0x1);}}),this[_0x31ace7(0x1c8)](_0x4cc4e2[_0x31ace7(0x1d3)],_0x31ace7(0x200),(_0x4adad1,_0x102cec)=>{const _0x5394c9=_0x31ace7,_0x1dd933=_0x7ae090[_0x5394c9(0x1d5)][_0x5394c9(0x1c5)](_0x5394c9(0x1f4));if(!_0x1dd933||_0x102cec[_0x5394c9(0x1e1)]===_0x1dd933){const _0x40d016=_0x1d9671[_0x5394c9(0x1e0)][_0x5394c9(0x1c5)](_0x102cec),_0x5a0022=_0x22a089[_0x5394c9(0x1d4)](_0x40d016[_0x5394c9(0x1c3)]);this[_0x5394c9(0x1d8)][_0x5394c9(0x200)](_0x5a0022[_0x5394c9(0x1c3)]),this[_0x5394c9(0x1ea)](_0x5a0022[_0x5394c9(0x1df)]);}}),this[_0x31ace7(0x1c8)](_0x22a089[_0x31ace7(0x1f3)],_0x31ace7(0x1fa),(_0x3916e7,_0x435af1)=>{const _0x3f31fb=_0x31ace7;this[_0x3f31fb(0x1c8)](_0x435af1,_0x3f31fb(0x1e3),_0x288801);}),this[_0x31ace7(0x1c8)](_0x22a089[_0x31ace7(0x1f3)],_0x31ace7(0x200),(_0x47b730,_0x288d03)=>{const _0x4c6f74=_0x31ace7;this[_0x4c6f74(0x1ea)](_0x288d03,_0x4c6f74(0x1e3),_0x288801);});}[_0x34d347(0x1cf)](_0x10351a){const _0x2a4a9a=_0x34d347,_0x14b856=this[_0x2a4a9a(0x1e8)][_0x2a4a9a(0x1da)][_0x2a4a9a(0x1c5)](_0x2a4a9a(0x1c9)),_0xce35ec=this[_0x2a4a9a(0x1e8)][_0x2a4a9a(0x1da)][_0x2a4a9a(0x1c5)](_0x2a4a9a(0x204)),_0x3eed9c=this[_0x2a4a9a(0x1e8)][_0x2a4a9a(0x1d5)][_0x2a4a9a(0x1c5)](_0x2a4a9a(0x1f4));if(!_0x3eed9c||_0x10351a[_0x2a4a9a(0x1e1)]===_0x3eed9c){const _0x47cf3e=_0x14b856[_0x2a4a9a(0x1e0)][_0x2a4a9a(0x1c5)](_0x10351a);if(!_0x47cf3e)return void this[_0x2a4a9a(0x1f0)][_0x2a4a9a(0x203)](_0x10351a);const _0x39ad54=this[_0x2a4a9a(0x205)](_0x10351a[_0x2a4a9a(0x206)]),_0x507edd=_0xce35ec[_0x2a4a9a(0x1d4)](_0x47cf3e[_0x2a4a9a(0x1c3)]);_0x507edd[_0x2a4a9a(0x1f5)]&&_0xce35ec[_0x2a4a9a(0x1d6)][_0x2a4a9a(0x200)](_0x507edd),this[_0x2a4a9a(0x1d8)][_0x2a4a9a(0x1fa)](_0x507edd[_0x2a4a9a(0x1c3)],_0x39ad54);}}[_0x34d347(0x205)](_0x320299){const _0x454022=_0x34d347,_0x5bca73=this[_0x454022(0x1e8)][_0x454022(0x1d5)][_0x454022(0x1c5)](_0x454022(0x1f4)),_0x1ddfbe=[...this[_0x454022(0x1e8)][_0x454022(0x1da)][_0x454022(0x1c5)](_0x57c1a9)[_0x454022(0x1d3)]][_0x454022(0x1ef)](_0x10083a=>_0x10083a[_0x454022(0x1e1)]===_0x5bca73)[_0x454022(0x1eb)](_0x7f54ce=>_0x7f54ce[_0x454022(0x206)]<_0x320299);return _0x1ddfbe<0x0||_0x1ddfbe>this[_0x454022(0x1d8)][_0x454022(0x1f9)]?this[_0x454022(0x1d8)][_0x454022(0x1f9)]:_0x1ddfbe-0x1;}[_0x34d347(0x1ff)](){const _0x25bac4=_0x34d347,_0x4aa9b7=this[_0x25bac4(0x1e8)],_0x47bd36=_0x4aa9b7[_0x25bac4(0x1da)][_0x25bac4(0x1c5)](_0x25bac4(0x1ed));this[_0x25bac4(0x1db)]||(this[_0x25bac4(0x1db)]=new _0x25f2f0(_0x4aa9b7[_0x25bac4(0x1e7)],this[_0x25bac4(0x1d8)])),_0x25bac4(0x1c4)===_0x47bd36['id']?_0x47bd36[_0x25bac4(0x1c0)]():_0x47bd36[_0x25bac4(0x1cd)]({'id':_0x25bac4(0x1c4),'title':_0x5b0a84(_0x4aa9b7[_0x25bac4(0x1e7)],_0x25bac4(0x1fb)),'icon':_0x246d7e,'hasCloseButton':!0x0,'content':this[_0x25bac4(0x1db)],'position':_0x48fb90[_0x25bac4(0x1e6)]});}[_0x34d347(0x1d2)](_0x1d5cc4,_0x46fc3c=!0x1){const _0x438c4d=_0x34d347,_0x19449b=this[_0x438c4d(0x1e8)][_0x438c4d(0x1e7)],_0x171189=this[_0x438c4d(0x1e8)][_0x438c4d(0x1da)][_0x438c4d(0x1c5)](_0x438c4d(0x1ed)),_0x234776=new _0x1d5cc4(_0x19449b);return _0x234776[_0x438c4d(0x1ec)](_0x438c4d(0x1e9))['to'](this,_0x438c4d(0x1e9)),_0x234776[_0x438c4d(0x1ec)](_0x438c4d(0x1c2))['to'](_0x171189,'id',_0x2d7b86=>_0x438c4d(0x1c4)===_0x2d7b86),_0x234776[_0x438c4d(0x1e2)]({'label':_0x5b0a84(_0x19449b,_0x438c4d(0x1fb)),'icon':_0x246d7e,'isToggleable':!0x0}),_0x46fc3c&&(_0x234776[_0x438c4d(0x1dd)]=!0x0),this[_0x438c4d(0x1c8)](_0x234776,_0x438c4d(0x1d1),()=>this[_0x438c4d(0x1ff)]()),_0x234776;}}
|