@ckeditor/ckeditor5-comments 46.1.0-alpha.2 → 46.1.1-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 +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 +18 -18
- 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 _0x4fadc6=_0xdd82;function _0xdd82(_0x18a9da,_0x265310){const _0x4ef3da=_0x4ef3();return _0xdd82=function(_0xdd8222,_0x28f6aa){_0xdd8222=_0xdd8222-0x153;let _0x39969b=_0x4ef3da[_0xdd8222];return _0x39969b;},_0xdd82(_0x18a9da,_0x265310);}(function(_0x163502,_0x929010){const _0x6c6c4f=_0xdd82,_0x166ded=_0x163502();while(!![]){try{const _0x1d3e00=parseInt(_0x6c6c4f(0x1a1))/0x1*(parseInt(_0x6c6c4f(0x174))/0x2)+parseInt(_0x6c6c4f(0x154))/0x3+-parseInt(_0x6c6c4f(0x15b))/0x4*(parseInt(_0x6c6c4f(0x16d))/0x5)+-parseInt(_0x6c6c4f(0x175))/0x6*(parseInt(_0x6c6c4f(0x1a7))/0x7)+parseInt(_0x6c6c4f(0x188))/0x8*(-parseInt(_0x6c6c4f(0x17d))/0x9)+-parseInt(_0x6c6c4f(0x158))/0xa*(parseInt(_0x6c6c4f(0x15c))/0xb)+parseInt(_0x6c6c4f(0x186))/0xc;if(_0x1d3e00===_0x929010)break;else _0x166ded['push'](_0x166ded['shift']());}catch(_0xef50c5){_0x166ded['push'](_0x166ded['shift']());}}}(_0x4ef3,0xbcb0f));import{ContextPlugin as _0x4efeb6}from'ckeditor5/src/core.js';import{Rect as _0x361fa3,CKEditorError as _0x225c1d}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x232656}from'./view/sidebarview.js';function _0x4ef3(){const _0x48f355=['4980IKQTYi','bind','set','4372XFjsAE','28347lLFVQB','isAnimationDisabled','remove','_getItemAfter','target','getSidebarItemView','max','init','appendChild','Sidebar','setContainer','_alignForTopChange','_sidebarItemViewToAnnotation','last','container','sidebar.container','_targetTop','1865sGVjGY','sidebar-setcontainer-invalid-element','get','_setItemTop','class','_lastItem','addAnnotation','446884DYjJiX','5040xvbfxd','_attachToContainer','object','refresh','_annotations','change:_lastItem','element','_getMaxAvailableTop','2076246nMgTrF','isPremiumPlugin','height','destroy','rearrange','_alignAfterItem','change:top','updateHeight','config','40012980lXRBxj','render','48RvBsKg','stopListening','_alignToTargetRect','_recalculateBuffer','getIndex','listenTo','_createSidebarView','_getTargetTop','nodeType','_alignBeforeItem','_updateLastItem','_annotationToSidebarItemView','define','clear','targetRect','pluginName','change:targetRect','length','list','push','_activeAnnotation','_recalculate','_destroySidebarItemView','sidebar-attachtocontainer-missing-container','_spaceBetweenItems','1OPanYR','isActive','minHeight','_getItemBefore','sidebar.preventScrollOutOfView','_alignForBottomChange','4648cuQIaN','add','_detachFromContainer','change:bottom','top','locale','delete','content','isOfficialPlugin','context','2543943ABGShZ','unbind','view','bottom'];_0x4ef3=function(){return _0x48f355;};return _0x4ef3();}import{AnnotationsSidebarItemView as _0x45365b}from'./view/sidebaritemview.js';export class Sidebar extends _0x4efeb6{[_0x4fadc6(0x156)];[_0x4fadc6(0x19c)];[_0x4fadc6(0x179)];[_0x4fadc6(0x1a0)];[_0x4fadc6(0x168)];[_0x4fadc6(0x193)];[_0x4fadc6(0x18b)];static get[_0x4fadc6(0x197)](){const _0x11c904=_0x4fadc6;return _0x11c904(0x165);}static get[_0x4fadc6(0x1af)](){return!0x0;}static get[_0x4fadc6(0x17e)](){return!0x0;}constructor(_0x2470ab){const _0x519812=_0x4fadc6;super(_0x2470ab),this[_0x519812(0x15a)](_0x519812(0x172),void 0x0),this[_0x519812(0x156)]=this[_0x519812(0x18e)](),this[_0x519812(0x15a)](_0x519812(0x16a),null),this[_0x519812(0x1a0)]=0x19,this[_0x519812(0x168)]=new Map(),this[_0x519812(0x193)]=new Map(),this[_0x519812(0x153)][_0x519812(0x185)][_0x519812(0x194)](_0x519812(0x1a5),!0x1),this[_0x519812(0x179)]=null,this[_0x519812(0x19c)]=null,this[_0x519812(0x18b)]=[];}[_0x4fadc6(0x163)](){const _0x56bb28=_0x4fadc6,_0x18dbac=this[_0x56bb28(0x153)][_0x56bb28(0x185)][_0x56bb28(0x16f)](_0x56bb28(0x16b));_0x18dbac&&this[_0x56bb28(0x166)](_0x18dbac);}[_0x4fadc6(0x166)](_0x3b8f44){const _0x51670a=_0x4fadc6;if(!g(_0x3b8f44))throw new _0x225c1d(_0x51670a(0x16e));this[_0x51670a(0x16a)]=_0x3b8f44;}[_0x4fadc6(0x176)]({viewClass:_0x39acec='',spaceBetweenItems:_0x3db1ed=0x19}={}){const _0x360a62=_0x4fadc6;if(!g(this[_0x360a62(0x16a)]))throw new _0x225c1d(_0x360a62(0x19f),this);this[_0x360a62(0x16a)][_0x360a62(0x164)](this[_0x360a62(0x156)][_0x360a62(0x17b)]),this[_0x360a62(0x156)][_0x360a62(0x171)]=_0x39acec,this[_0x360a62(0x1a0)]=_0x3db1ed;}[_0x4fadc6(0x181)]({removedAnnotation:_0x522fe4,previousAnnotation:_0x3f7451,nextAnnotation:_0x403c55}){const _0x55293e=_0x4fadc6,_0x3c84c1=this[_0x55293e(0x161)](_0x522fe4);this[_0x55293e(0x156)][_0x55293e(0x19a)][_0x55293e(0x15e)](_0x3c84c1),this[_0x55293e(0x19e)](_0x522fe4),_0x3f7451&&this[_0x55293e(0x18a)](this[_0x55293e(0x161)](_0x3f7451)),_0x403c55&&this[_0x55293e(0x18a)](this[_0x55293e(0x161)](_0x403c55)),this[_0x55293e(0x192)]();}[_0x4fadc6(0x178)]({blurredAnnotation:_0x4ea6c7,activatedAnnotation:_0x459a76,disableAnimationOnActivatedAnnotation:_0x38d91c}){const _0x304fd3=_0x4fadc6;if(this[_0x304fd3(0x19c)]=_0x459a76,_0x4ea6c7){_0x4ea6c7[_0x304fd3(0x1a2)]=!0x1;const _0x340dfa=this[_0x304fd3(0x161)](_0x4ea6c7);_0x340dfa&&_0x38d91c&&(_0x340dfa[_0x304fd3(0x15d)]=!0x1);}if(_0x459a76){const _0x55d228=this[_0x304fd3(0x161)](_0x459a76);_0x55d228&&(_0x459a76[_0x304fd3(0x1a2)]=!0x0,_0x38d91c&&(_0x55d228[_0x304fd3(0x15d)]=!0x0,_0x55d228[_0x304fd3(0x1ab)]+=0x1),this[_0x304fd3(0x18a)](_0x55d228));}}[_0x4fadc6(0x1a9)](_0x595c03){const _0x34a392=_0x4fadc6;if(this[_0x34a392(0x156)][_0x34a392(0x17b)][_0x34a392(0x15e)](),_0x595c03){for(const _0x577857 of _0x595c03)this[_0x34a392(0x19e)](_0x577857);}this[_0x34a392(0x156)][_0x34a392(0x19a)][_0x34a392(0x195)](),this[_0x34a392(0x156)][_0x34a392(0x171)]='',this[_0x34a392(0x172)]=null;}[_0x4fadc6(0x173)](_0x26689f,_0xf6706e){const _0x11c6ee=_0x4fadc6;_0xf6706e||(_0xf6706e=_0x26689f[_0x11c6ee(0x156)]);const _0x4f125b=new _0x45365b(this[_0x11c6ee(0x153)][_0x11c6ee(0x1ac)]);this[_0x11c6ee(0x168)][_0x11c6ee(0x15a)](_0x4f125b,_0x26689f),this[_0x11c6ee(0x193)][_0x11c6ee(0x15a)](_0x26689f,_0x4f125b),_0x4f125b[_0x11c6ee(0x1ae)][_0x11c6ee(0x1a8)](_0xf6706e),this[_0x11c6ee(0x18d)](_0x26689f[_0x11c6ee(0x156)],_0x11c6ee(0x198),(_0x5a6e77,_0xd80b8d,_0x46b6a8)=>{const _0x1b8bcb=_0x11c6ee,_0x53ef48=this[_0x1b8bcb(0x18f)](_0x26689f,_0x46b6a8);_0x4f125b[_0x1b8bcb(0x16c)]!=_0x53ef48&&(_0x4f125b[_0x1b8bcb(0x16c)]=_0x53ef48,this[_0x1b8bcb(0x170)](_0x4f125b,_0x53ef48));}),this[_0x11c6ee(0x18d)](_0x4f125b,_0x11c6ee(0x183),()=>{const _0x51fe11=_0x11c6ee;this[_0x51fe11(0x19d)](_0x4f125b,_0x51fe11(0x1ab));}),this[_0x11c6ee(0x18d)](_0x4f125b,_0x11c6ee(0x1aa),()=>{const _0x26e311=_0x11c6ee;this[_0x26e311(0x19d)](_0x4f125b,_0x26e311(0x157));}),this[_0x11c6ee(0x18a)](_0x4f125b);const _0x2d1f59=this[_0x11c6ee(0x1a4)](_0x4f125b);if(_0x2d1f59)this[_0x11c6ee(0x182)](_0x2d1f59,_0x4f125b)||this[_0x11c6ee(0x18a)](_0x4f125b);else this[_0x11c6ee(0x18a)](_0x4f125b);return this[_0x11c6ee(0x192)](),this[_0x11c6ee(0x156)][_0x11c6ee(0x19a)][_0x11c6ee(0x1a8)](_0x4f125b),_0x4f125b;}[_0x4fadc6(0x167)](_0x4b14e6){const _0x2d47f8=_0x4fadc6;if(!_0x4b14e6[_0x2d47f8(0x1ae)][_0x2d47f8(0x199)])return;const _0x49cbd6=this[_0x2d47f8(0x1a4)](_0x4b14e6);if(!_0x49cbd6)return;const _0x4bd520=this[_0x2d47f8(0x168)][_0x2d47f8(0x16f)](_0x49cbd6),_0x589497=this[_0x2d47f8(0x19c)];_0x589497&&_0x589497===_0x4bd520?this[_0x2d47f8(0x182)](_0x49cbd6,_0x4b14e6):this[_0x2d47f8(0x191)](_0x4b14e6,_0x49cbd6);}[_0x4fadc6(0x1a6)](_0x5c649d){const _0x22b5bc=_0x4fadc6;if(!_0x5c649d[_0x22b5bc(0x1ae)][_0x22b5bc(0x199)])return;const _0x4b3067=this[_0x22b5bc(0x15f)](_0x5c649d);if(!_0x4b3067)return;const _0x40299d=this[_0x22b5bc(0x168)][_0x22b5bc(0x16f)](_0x4b3067),_0x5ab203=this[_0x22b5bc(0x153)][_0x22b5bc(0x185)][_0x22b5bc(0x16f)](_0x22b5bc(0x1a5)),_0x13731a=this[_0x22b5bc(0x19c)];_0x13731a&&_0x13731a===_0x40299d&&_0x5ab203?(this[_0x22b5bc(0x191)](_0x4b3067,_0x5c649d),this[_0x22b5bc(0x182)](_0x5c649d,_0x4b3067)):_0x13731a&&_0x13731a===_0x40299d?this[_0x22b5bc(0x191)](_0x4b3067,_0x5c649d):this[_0x22b5bc(0x182)](_0x5c649d,_0x4b3067);}[_0x4fadc6(0x19d)](_0x479de7,_0x375f95){const _0x336a57=_0x4fadc6;0x0===this[_0x336a57(0x18b)][_0x336a57(0x199)]&&setTimeout(()=>{const _0x50d9cb=_0x336a57;for(const {sidebarItemView:_0x222064,changedProp:_0x5385b0}of this[_0x50d9cb(0x18b)])_0x50d9cb(0x1ab)===_0x5385b0?this[_0x50d9cb(0x167)](_0x222064):this[_0x50d9cb(0x1a6)](_0x222064);this[_0x50d9cb(0x18b)]=[];},0xa),this[_0x336a57(0x18b)][_0x336a57(0x19b)]({'sidebarItemView':_0x479de7,'changedProp':_0x375f95});}[_0x4fadc6(0x161)](_0x1c58b1){const _0x300aeb=_0x4fadc6;return this[_0x300aeb(0x193)][_0x300aeb(0x16f)](_0x1c58b1);}[_0x4fadc6(0x180)](){const _0x423c34=_0x4fadc6;this[_0x423c34(0x189)](),this[_0x423c34(0x156)][_0x423c34(0x180)]();}[_0x4fadc6(0x19e)](_0x10a25a){const _0x4deed2=_0x4fadc6,_0x449128=this[_0x4deed2(0x161)](_0x10a25a);this[_0x4deed2(0x189)](_0x449128),this[_0x4deed2(0x189)](_0x10a25a[_0x4deed2(0x156)]),_0x449128[_0x4deed2(0x180)](),this[_0x4deed2(0x193)][_0x4deed2(0x1ad)](_0x10a25a),this[_0x4deed2(0x168)][_0x4deed2(0x1ad)](_0x449128);}[_0x4fadc6(0x18e)](){const _0x588351=_0x4fadc6,_0x456dcc=new _0x232656(this[_0x588351(0x153)][_0x588351(0x1ac)]);return _0x456dcc[_0x588351(0x187)](),this['on'](_0x588351(0x17a),(_0x296b26,_0x9cc259,_0x2db5df,_0x2c5659)=>{const _0x48d893=_0x588351;_0x2c5659&&_0x456dcc[_0x48d893(0x155)](_0x48d893(0x1a3)),_0x2db5df?_0x456dcc[_0x48d893(0x159)](_0x48d893(0x1a3))['to'](_0x2db5df,_0x48d893(0x157)):_0x456dcc[_0x48d893(0x1a3)]=null;}),_0x456dcc;}[_0x4fadc6(0x192)](){const _0x59b314=_0x4fadc6;this[_0x59b314(0x172)]=this[_0x59b314(0x179)]?.[_0x59b314(0x169)]?this[_0x59b314(0x161)](this[_0x59b314(0x179)][_0x59b314(0x169)]):null;}[_0x4fadc6(0x1a4)](_0x141bd2){const _0x7d52d0=_0x4fadc6,_0x1af42d=this[_0x7d52d0(0x168)][_0x7d52d0(0x16f)](_0x141bd2),_0x25853d=_0x1af42d&&this[_0x7d52d0(0x179)]?.[_0x7d52d0(0x16f)](this[_0x7d52d0(0x179)][_0x7d52d0(0x18c)](_0x1af42d)-0x1);return _0x25853d&&this[_0x7d52d0(0x161)](_0x25853d)||null;}[_0x4fadc6(0x15f)](_0x545518){const _0x1c3e75=_0x4fadc6,_0x5d1dcb=this[_0x1c3e75(0x168)][_0x1c3e75(0x16f)](_0x545518),_0x367ea3=_0x5d1dcb&&this[_0x1c3e75(0x179)]?.[_0x1c3e75(0x16f)](this[_0x1c3e75(0x179)][_0x1c3e75(0x18c)](_0x5d1dcb)+0x1);return _0x367ea3&&this[_0x1c3e75(0x161)](_0x367ea3)||null;}[_0x4fadc6(0x191)](_0x32a241,_0x5e2835){const _0x5ada19=_0x4fadc6;_0x32a241[_0x5ada19(0x184)]();const _0x47f40b=G(_0x5e2835[_0x5ada19(0x157)]+this[_0x5ada19(0x1a0)],_0x32a241[_0x5ada19(0x1ab)]);return!!_0x47f40b&&(this[_0x5ada19(0x170)](_0x5e2835,_0x5e2835[_0x5ada19(0x1ab)]-_0x47f40b),!0x0);}[_0x4fadc6(0x182)](_0x2a2c15,_0x19f38f){const _0x2570c4=_0x4fadc6;_0x2a2c15[_0x2570c4(0x184)]();const _0x90216d=G(_0x2a2c15[_0x2570c4(0x157)]+this[_0x2570c4(0x1a0)],_0x19f38f[_0x2570c4(0x1ab)]);return!!_0x90216d&&(this[_0x2570c4(0x170)](_0x19f38f,_0x19f38f[_0x2570c4(0x1ab)]+_0x90216d,!0x1),!0x0);}[_0x4fadc6(0x18a)](_0xb58f0b){const _0xe4d87a=_0x4fadc6,_0x2adedb=this[_0xe4d87a(0x168)][_0xe4d87a(0x16f)](_0xb58f0b);if(!_0x2adedb||!_0x2adedb[_0xe4d87a(0x160)]||!_0x2adedb[_0xe4d87a(0x196)])return;const _0x2c89f7=this[_0xe4d87a(0x18f)](_0x2adedb,_0x2adedb[_0xe4d87a(0x196)]);this[_0xe4d87a(0x170)](_0xb58f0b,_0x2c89f7);}[_0x4fadc6(0x18f)](_0x4cd80c,_0x325f96){const _0x511909=_0x4fadc6;if(null===_0x325f96)return 0x0;if(_0x4cd80c[_0x511909(0x160)]instanceof _0x361fa3)return _0x325f96[_0x511909(0x1ab)];{const _0x200fc9=new _0x361fa3(this[_0x511909(0x156)][_0x511909(0x17b)])[_0x511909(0x1ab)];return _0x325f96[_0x511909(0x1ab)]-_0x200fc9;}}[_0x4fadc6(0x170)](_0x201c1f,_0x1cd7fe,_0x18884e=this[_0x4fadc6(0x153)][_0x4fadc6(0x185)][_0x4fadc6(0x16f)](_0x4fadc6(0x1a5))){const _0x31f75a=_0x4fadc6;_0x18884e&&(_0x1cd7fe=Math[_0x31f75a(0x162)](_0x1cd7fe,this[_0x31f75a(0x17c)](_0x201c1f))),_0x201c1f[_0x31f75a(0x1ab)]=_0x1cd7fe;}[_0x4fadc6(0x17c)](_0x3363a){const _0x4b8717=_0x4fadc6;let _0x5c7fdc=this[_0x4b8717(0x1a4)](_0x3363a),_0x36379c=0x0;for(;_0x5c7fdc;)_0x5c7fdc[_0x4b8717(0x184)](),_0x36379c+=this[_0x4b8717(0x1a0)]+_0x5c7fdc[_0x4b8717(0x17f)],_0x5c7fdc=this[_0x4b8717(0x1a4)](_0x5c7fdc);return _0x36379c;}}function G(_0x5e7f38,_0x3540ff){const _0x473c66=_0x4fadc6;return Math[_0x473c66(0x162)](_0x5e7f38-_0x3540ff,0x0);}function g(_0x4fea93){const _0x3d33f5=_0x4fadc6;return null!==_0x4fea93&&_0x3d33f5(0x177)==typeof _0x4fea93&&0x1===_0x4fea93[_0x3d33f5(0x190)];}
|
|
23
|
+
const _0x562f1d=_0x3ad1;(function(_0x4ea3a5,_0x3dea24){const _0x347aab=_0x3ad1,_0x2544aa=_0x4ea3a5();while(!![]){try{const _0x4e9fda=parseInt(_0x347aab(0x1e4))/0x1*(parseInt(_0x347aab(0x1d0))/0x2)+-parseInt(_0x347aab(0x1f5))/0x3*(-parseInt(_0x347aab(0x1ba))/0x4)+parseInt(_0x347aab(0x1c5))/0x5*(-parseInt(_0x347aab(0x200))/0x6)+parseInt(_0x347aab(0x1df))/0x7+parseInt(_0x347aab(0x1d6))/0x8*(parseInt(_0x347aab(0x1ea))/0x9)+parseInt(_0x347aab(0x1d8))/0xa+-parseInt(_0x347aab(0x1fe))/0xb;if(_0x4e9fda===_0x3dea24)break;else _0x2544aa['push'](_0x2544aa['shift']());}catch(_0x175578){_0x2544aa['push'](_0x2544aa['shift']());}}}(_0x1222,0x7a11c));import{ContextPlugin as _0x83c5bd}from'ckeditor5/src/core.js';function _0x3ad1(_0x2dd58e,_0x2c138c){const _0x122236=_0x1222();return _0x3ad1=function(_0x3ad131,_0x326725){_0x3ad131=_0x3ad131-0x1a9;let _0x35c02e=_0x122236[_0x3ad131];return _0x35c02e;},_0x3ad1(_0x2dd58e,_0x2c138c);}import{Rect as _0x1586de,CKEditorError as _0x235b43}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x533ae4}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x1e45ea}from'./view/sidebaritemview.js';function _0x1222(){const _0x582ae7=['_alignBeforeItem','add','change:top','pluginName','context','_destroySidebarItemView','rearrange','destroy','_recalculateBuffer','5tbYlEq','minHeight','init','_setItemTop','object','unbind','max','setContainer','content','bind','last','4QKSJjZ','get','isAnimationDisabled','_targetTop','list','remove','39344VGayYx','_alignToTargetRect','4613820LlrFfd','isOfficialPlugin','class','view','getIndex','stopListening','_annotations','4132681ORDLVL','sidebar.container','change:_lastItem','_getItemBefore','Sidebar','93103pTJgPU','appendChild','_createSidebarView','_alignAfterItem','change:targetRect','nodeType','711pQFmNZ','_alignForBottomChange','clear','render','_spaceBetweenItems','container','push','_recalculate','_detachFromContainer','updateHeight','_alignForTopChange','51sXkWyX','sidebar-setcontainer-invalid-element','set','locale','_attachToContainer','bottom','change:bottom','isActive','top','14053303oVCVvz','delete','399858ZfbXqc','isPremiumPlugin','_lastItem','getSidebarItemView','_getTargetTop','refresh','target','element','_annotationToSidebarItemView','_updateLastItem','listenTo','_getMaxAvailableTop','_sidebarItemViewToAnnotation','sidebar.preventScrollOutOfView','config','define','length','sidebar-attachtocontainer-missing-container','_getItemAfter','_activeAnnotation','addAnnotation','targetRect','51228byLEpq','height'];_0x1222=function(){return _0x582ae7;};return _0x1222();}export class Sidebar extends _0x83c5bd{[_0x562f1d(0x1db)];[_0x562f1d(0x1b7)];[_0x562f1d(0x1de)];[_0x562f1d(0x1ee)];[_0x562f1d(0x1b0)];[_0x562f1d(0x1ac)];[_0x562f1d(0x1c4)];static get[_0x562f1d(0x1bf)](){const _0x47ace9=_0x562f1d;return _0x47ace9(0x1e3);}static get[_0x562f1d(0x1d9)](){return!0x0;}static get[_0x562f1d(0x201)](){return!0x0;}constructor(_0x52da35){const _0x5f18b8=_0x562f1d;super(_0x52da35),this[_0x5f18b8(0x1f7)](_0x5f18b8(0x202),void 0x0),this[_0x5f18b8(0x1db)]=this[_0x5f18b8(0x1e6)](),this[_0x5f18b8(0x1f7)](_0x5f18b8(0x1ef),null),this[_0x5f18b8(0x1ee)]=0x19,this[_0x5f18b8(0x1b0)]=new Map(),this[_0x5f18b8(0x1ac)]=new Map(),this[_0x5f18b8(0x1c0)][_0x5f18b8(0x1b2)][_0x5f18b8(0x1b3)](_0x5f18b8(0x1b1),!0x1),this[_0x5f18b8(0x1de)]=null,this[_0x5f18b8(0x1b7)]=null,this[_0x5f18b8(0x1c4)]=[];}[_0x562f1d(0x1c7)](){const _0x50f7d9=_0x562f1d,_0x2756c5=this[_0x50f7d9(0x1c0)][_0x50f7d9(0x1b2)][_0x50f7d9(0x1d1)](_0x50f7d9(0x1e0));_0x2756c5&&this[_0x50f7d9(0x1cc)](_0x2756c5);}[_0x562f1d(0x1cc)](_0x43c719){const _0x9a05a1=_0x562f1d;if(!g(_0x43c719))throw new _0x235b43(_0x9a05a1(0x1f6));this[_0x9a05a1(0x1ef)]=_0x43c719;}[_0x562f1d(0x1f9)]({viewClass:_0x592075='',spaceBetweenItems:_0x2b8c19=0x19}={}){const _0x4faf9e=_0x562f1d;if(!g(this[_0x4faf9e(0x1ef)]))throw new _0x235b43(_0x4faf9e(0x1b5),this);this[_0x4faf9e(0x1ef)][_0x4faf9e(0x1e5)](this[_0x4faf9e(0x1db)][_0x4faf9e(0x1ab)]),this[_0x4faf9e(0x1db)][_0x4faf9e(0x1da)]=_0x592075,this[_0x4faf9e(0x1ee)]=_0x2b8c19;}[_0x562f1d(0x1c2)]({removedAnnotation:_0x192e9a,previousAnnotation:_0x48415f,nextAnnotation:_0x4450ef}){const _0x5a8640=_0x562f1d,_0x4c2a3e=this[_0x5a8640(0x203)](_0x192e9a);this[_0x5a8640(0x1db)][_0x5a8640(0x1d4)][_0x5a8640(0x1d5)](_0x4c2a3e),this[_0x5a8640(0x1c1)](_0x192e9a),_0x48415f&&this[_0x5a8640(0x1d7)](this[_0x5a8640(0x203)](_0x48415f)),_0x4450ef&&this[_0x5a8640(0x1d7)](this[_0x5a8640(0x203)](_0x4450ef)),this[_0x5a8640(0x1ad)]();}[_0x562f1d(0x1a9)]({blurredAnnotation:_0x4d5210,activatedAnnotation:_0x35bde7,disableAnimationOnActivatedAnnotation:_0x290c55}){const _0x3ff5e8=_0x562f1d;if(this[_0x3ff5e8(0x1b7)]=_0x35bde7,_0x4d5210){_0x4d5210[_0x3ff5e8(0x1fc)]=!0x1;const _0x53be8d=this[_0x3ff5e8(0x203)](_0x4d5210);_0x53be8d&&_0x290c55&&(_0x53be8d[_0x3ff5e8(0x1d2)]=!0x1);}if(_0x35bde7){const _0x300b0f=this[_0x3ff5e8(0x203)](_0x35bde7);_0x300b0f&&(_0x35bde7[_0x3ff5e8(0x1fc)]=!0x0,_0x290c55&&(_0x300b0f[_0x3ff5e8(0x1d2)]=!0x0,_0x300b0f[_0x3ff5e8(0x1fd)]+=0x1),this[_0x3ff5e8(0x1d7)](_0x300b0f));}}[_0x562f1d(0x1f2)](_0x5353a8){const _0x3a2824=_0x562f1d;if(this[_0x3a2824(0x1db)][_0x3a2824(0x1ab)][_0x3a2824(0x1d5)](),_0x5353a8){for(const _0x2e404d of _0x5353a8)this[_0x3a2824(0x1c1)](_0x2e404d);}this[_0x3a2824(0x1db)][_0x3a2824(0x1d4)][_0x3a2824(0x1ec)](),this[_0x3a2824(0x1db)][_0x3a2824(0x1da)]='',this[_0x3a2824(0x202)]=null;}[_0x562f1d(0x1b8)](_0x2c4165,_0x24d02a){const _0x42b3e6=_0x562f1d;_0x24d02a||(_0x24d02a=_0x2c4165[_0x42b3e6(0x1db)]);const _0x5cda3e=new _0x1e45ea(this[_0x42b3e6(0x1c0)][_0x42b3e6(0x1f8)]);this[_0x42b3e6(0x1b0)][_0x42b3e6(0x1f7)](_0x5cda3e,_0x2c4165),this[_0x42b3e6(0x1ac)][_0x42b3e6(0x1f7)](_0x2c4165,_0x5cda3e),_0x5cda3e[_0x42b3e6(0x1cd)][_0x42b3e6(0x1bd)](_0x24d02a),this[_0x42b3e6(0x1ae)](_0x2c4165[_0x42b3e6(0x1db)],_0x42b3e6(0x1e8),(_0x9c819b,_0x4e73a1,_0x5b7c68)=>{const _0x4ef25a=_0x42b3e6,_0x1de158=this[_0x4ef25a(0x204)](_0x2c4165,_0x5b7c68);_0x5cda3e[_0x4ef25a(0x1d3)]!=_0x1de158&&(_0x5cda3e[_0x4ef25a(0x1d3)]=_0x1de158,this[_0x4ef25a(0x1c8)](_0x5cda3e,_0x1de158));}),this[_0x42b3e6(0x1ae)](_0x5cda3e,_0x42b3e6(0x1be),()=>{const _0x49de60=_0x42b3e6;this[_0x49de60(0x1f1)](_0x5cda3e,_0x49de60(0x1fd));}),this[_0x42b3e6(0x1ae)](_0x5cda3e,_0x42b3e6(0x1fb),()=>{const _0x46dfc4=_0x42b3e6;this[_0x46dfc4(0x1f1)](_0x5cda3e,_0x46dfc4(0x1fa));}),this[_0x42b3e6(0x1d7)](_0x5cda3e);const _0x325c5c=this[_0x42b3e6(0x1e2)](_0x5cda3e);if(_0x325c5c)this[_0x42b3e6(0x1e7)](_0x325c5c,_0x5cda3e)||this[_0x42b3e6(0x1d7)](_0x5cda3e);else this[_0x42b3e6(0x1d7)](_0x5cda3e);return this[_0x42b3e6(0x1ad)](),this[_0x42b3e6(0x1db)][_0x42b3e6(0x1d4)][_0x42b3e6(0x1bd)](_0x5cda3e),_0x5cda3e;}[_0x562f1d(0x1f4)](_0x5b2735){const _0x46b387=_0x562f1d;if(!_0x5b2735[_0x46b387(0x1cd)][_0x46b387(0x1b4)])return;const _0x19f7c3=this[_0x46b387(0x1e2)](_0x5b2735);if(!_0x19f7c3)return;const _0x56add3=this[_0x46b387(0x1b0)][_0x46b387(0x1d1)](_0x19f7c3),_0x33df6b=this[_0x46b387(0x1b7)];_0x33df6b&&_0x33df6b===_0x56add3?this[_0x46b387(0x1e7)](_0x19f7c3,_0x5b2735):this[_0x46b387(0x1bc)](_0x5b2735,_0x19f7c3);}[_0x562f1d(0x1eb)](_0x5ebe79){const _0x2383a9=_0x562f1d;if(!_0x5ebe79[_0x2383a9(0x1cd)][_0x2383a9(0x1b4)])return;const _0x21cccd=this[_0x2383a9(0x1b6)](_0x5ebe79);if(!_0x21cccd)return;const _0x1d6a6a=this[_0x2383a9(0x1b0)][_0x2383a9(0x1d1)](_0x21cccd),_0x550fac=this[_0x2383a9(0x1c0)][_0x2383a9(0x1b2)][_0x2383a9(0x1d1)](_0x2383a9(0x1b1)),_0x456e11=this[_0x2383a9(0x1b7)];_0x456e11&&_0x456e11===_0x1d6a6a&&_0x550fac?(this[_0x2383a9(0x1bc)](_0x21cccd,_0x5ebe79),this[_0x2383a9(0x1e7)](_0x5ebe79,_0x21cccd)):_0x456e11&&_0x456e11===_0x1d6a6a?this[_0x2383a9(0x1bc)](_0x21cccd,_0x5ebe79):this[_0x2383a9(0x1e7)](_0x5ebe79,_0x21cccd);}[_0x562f1d(0x1f1)](_0x1db934,_0x708ed0){const _0x1632e9=_0x562f1d;0x0===this[_0x1632e9(0x1c4)][_0x1632e9(0x1b4)]&&setTimeout(()=>{const _0x4fc447=_0x1632e9;for(const {sidebarItemView:_0x55dd6d,changedProp:_0x9e5608}of this[_0x4fc447(0x1c4)])_0x4fc447(0x1fd)===_0x9e5608?this[_0x4fc447(0x1f4)](_0x55dd6d):this[_0x4fc447(0x1eb)](_0x55dd6d);this[_0x4fc447(0x1c4)]=[];},0xa),this[_0x1632e9(0x1c4)][_0x1632e9(0x1f0)]({'sidebarItemView':_0x1db934,'changedProp':_0x708ed0});}[_0x562f1d(0x203)](_0x129184){const _0x59cb10=_0x562f1d;return this[_0x59cb10(0x1ac)][_0x59cb10(0x1d1)](_0x129184);}[_0x562f1d(0x1c3)](){const _0x3f1e92=_0x562f1d;this[_0x3f1e92(0x1dd)](),this[_0x3f1e92(0x1db)][_0x3f1e92(0x1c3)]();}[_0x562f1d(0x1c1)](_0x5d8bfa){const _0x5c2132=_0x562f1d,_0x5a209b=this[_0x5c2132(0x203)](_0x5d8bfa);this[_0x5c2132(0x1dd)](_0x5a209b),this[_0x5c2132(0x1dd)](_0x5d8bfa[_0x5c2132(0x1db)]),_0x5a209b[_0x5c2132(0x1c3)](),this[_0x5c2132(0x1ac)][_0x5c2132(0x1ff)](_0x5d8bfa),this[_0x5c2132(0x1b0)][_0x5c2132(0x1ff)](_0x5a209b);}[_0x562f1d(0x1e6)](){const _0x1dd620=_0x562f1d,_0x331fa2=new _0x533ae4(this[_0x1dd620(0x1c0)][_0x1dd620(0x1f8)]);return _0x331fa2[_0x1dd620(0x1ed)](),this['on'](_0x1dd620(0x1e1),(_0x4f5140,_0x552ed9,_0x4e4e12,_0x27f5db)=>{const _0xaf5fe4=_0x1dd620;_0x27f5db&&_0x331fa2[_0xaf5fe4(0x1ca)](_0xaf5fe4(0x1c6)),_0x4e4e12?_0x331fa2[_0xaf5fe4(0x1ce)](_0xaf5fe4(0x1c6))['to'](_0x4e4e12,_0xaf5fe4(0x1fa)):_0x331fa2[_0xaf5fe4(0x1c6)]=null;}),_0x331fa2;}[_0x562f1d(0x1ad)](){const _0x926f8e=_0x562f1d;this[_0x926f8e(0x202)]=this[_0x926f8e(0x1de)]?.[_0x926f8e(0x1cf)]?this[_0x926f8e(0x203)](this[_0x926f8e(0x1de)][_0x926f8e(0x1cf)]):null;}[_0x562f1d(0x1e2)](_0x1d20a5){const _0x31911d=_0x562f1d,_0x26b03f=this[_0x31911d(0x1b0)][_0x31911d(0x1d1)](_0x1d20a5),_0x4480f5=_0x26b03f&&this[_0x31911d(0x1de)]?.[_0x31911d(0x1d1)](this[_0x31911d(0x1de)][_0x31911d(0x1dc)](_0x26b03f)-0x1);return _0x4480f5&&this[_0x31911d(0x203)](_0x4480f5)||null;}[_0x562f1d(0x1b6)](_0x1fda23){const _0x98a2cf=_0x562f1d,_0x2a638b=this[_0x98a2cf(0x1b0)][_0x98a2cf(0x1d1)](_0x1fda23),_0x17c45b=_0x2a638b&&this[_0x98a2cf(0x1de)]?.[_0x98a2cf(0x1d1)](this[_0x98a2cf(0x1de)][_0x98a2cf(0x1dc)](_0x2a638b)+0x1);return _0x17c45b&&this[_0x98a2cf(0x203)](_0x17c45b)||null;}[_0x562f1d(0x1bc)](_0x433c30,_0x5264e1){const _0x35fdd0=_0x562f1d;_0x433c30[_0x35fdd0(0x1f3)]();const _0x4c2bc0=G(_0x5264e1[_0x35fdd0(0x1fa)]+this[_0x35fdd0(0x1ee)],_0x433c30[_0x35fdd0(0x1fd)]);return!!_0x4c2bc0&&(this[_0x35fdd0(0x1c8)](_0x5264e1,_0x5264e1[_0x35fdd0(0x1fd)]-_0x4c2bc0),!0x0);}[_0x562f1d(0x1e7)](_0x38d84d,_0x2422c6){const _0xd9b480=_0x562f1d;_0x38d84d[_0xd9b480(0x1f3)]();const _0x4702f3=G(_0x38d84d[_0xd9b480(0x1fa)]+this[_0xd9b480(0x1ee)],_0x2422c6[_0xd9b480(0x1fd)]);return!!_0x4702f3&&(this[_0xd9b480(0x1c8)](_0x2422c6,_0x2422c6[_0xd9b480(0x1fd)]+_0x4702f3,!0x1),!0x0);}[_0x562f1d(0x1d7)](_0x30c883){const _0x97844f=_0x562f1d,_0xe48751=this[_0x97844f(0x1b0)][_0x97844f(0x1d1)](_0x30c883);if(!_0xe48751||!_0xe48751[_0x97844f(0x1aa)]||!_0xe48751[_0x97844f(0x1b9)])return;const _0x58cd23=this[_0x97844f(0x204)](_0xe48751,_0xe48751[_0x97844f(0x1b9)]);this[_0x97844f(0x1c8)](_0x30c883,_0x58cd23);}[_0x562f1d(0x204)](_0x38c408,_0x122982){const _0x4d630c=_0x562f1d;if(null===_0x122982)return 0x0;if(_0x38c408[_0x4d630c(0x1aa)]instanceof _0x1586de)return _0x122982[_0x4d630c(0x1fd)];{const _0x3d8c9d=new _0x1586de(this[_0x4d630c(0x1db)][_0x4d630c(0x1ab)])[_0x4d630c(0x1fd)];return _0x122982[_0x4d630c(0x1fd)]-_0x3d8c9d;}}[_0x562f1d(0x1c8)](_0x31fab6,_0x3bb1e5,_0x329d29=this[_0x562f1d(0x1c0)][_0x562f1d(0x1b2)][_0x562f1d(0x1d1)](_0x562f1d(0x1b1))){const _0x1ee106=_0x562f1d;_0x329d29&&(_0x3bb1e5=Math[_0x1ee106(0x1cb)](_0x3bb1e5,this[_0x1ee106(0x1af)](_0x31fab6))),_0x31fab6[_0x1ee106(0x1fd)]=_0x3bb1e5;}[_0x562f1d(0x1af)](_0xdde71a){const _0x27e582=_0x562f1d;let _0xe1de90=this[_0x27e582(0x1e2)](_0xdde71a),_0x2fdebf=0x0;for(;_0xe1de90;)_0xe1de90[_0x27e582(0x1f3)](),_0x2fdebf+=this[_0x27e582(0x1ee)]+_0xe1de90[_0x27e582(0x1bb)],_0xe1de90=this[_0x27e582(0x1e2)](_0xe1de90);return _0x2fdebf;}}function G(_0x1679e5,_0x3961c3){const _0x3f2eae=_0x562f1d;return Math[_0x3f2eae(0x1cb)](_0x1679e5-_0x3961c3,0x0);}function g(_0x4b5a98){const _0x37421d=_0x562f1d;return null!==_0x4b5a98&&_0x37421d(0x1c9)==typeof _0x4b5a98&&0x1===_0x4b5a98[_0x37421d(0x1e9)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d3cc9=_0xcaef;(function(_0x5f43bc,_0x2477b0){const _0x2c48a9=_0xcaef,_0x444211=_0x5f43bc();while(!![]){try{const _0x155721=-parseInt(_0x2c48a9(0x14d))/0x1*(parseInt(_0x2c48a9(0x13b))/0x2)+parseInt(_0x2c48a9(0x148))/0x3*(-parseInt(_0x2c48a9(0x149))/0x4)+-parseInt(_0x2c48a9(0x131))/0x5+-parseInt(_0x2c48a9(0x143))/0x6*(parseInt(_0x2c48a9(0x137))/0x7)+parseInt(_0x2c48a9(0x140))/0x8+-parseInt(_0x2c48a9(0x13d))/0x9*(parseInt(_0x2c48a9(0x136))/0xa)+parseInt(_0x2c48a9(0x13e))/0xb;if(_0x155721===_0x2477b0)break;else _0x444211['push'](_0x444211['shift']());}catch(_0x528aba){_0x444211['push'](_0x444211['shift']());}}}(_0x2b43,0x89a90));function _0xcaef(_0x1d6bf7,_0x4b87e8){const _0x2b431e=_0x2b43();return _0xcaef=function(_0xcaef6c,_0x37c037){_0xcaef6c=_0xcaef6c-0x131;let _0x4aa571=_0x2b431e[_0xcaef6c];return _0x4aa571;},_0xcaef(_0x1d6bf7,_0x4b87e8);}import{ButtonView as _0x2711cc,View as _0x17a4a4}from'ckeditor5/src/ui.js';import{IconAddComment as _0x287433}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x2711cc{[_0x2d3cc9(0x138)];constructor(_0x2bb84d){const _0x358ee7=_0x2d3cc9;super(_0x2bb84d);const _0x12d88a=this[_0x358ee7(0x14f)];this[_0x358ee7(0x134)](_0x358ee7(0x14e),!0x1),this[_0x358ee7(0x134)](_0x358ee7(0x139),0x0),this[_0x358ee7(0x144)](_0x358ee7(0x14a))['to'](this,_0x358ee7(0x14e),this,_0x358ee7(0x139),(_0x3bdc67,_0x5f08c1)=>_0x3bdc67?_0x358ee7(0x133):_0x5f08c1[_0x358ee7(0x147)]()),this[_0x358ee7(0x134)](_0x358ee7(0x13a),''),this[_0x358ee7(0x14b)]=_0x287433,this[_0x358ee7(0x132)]({'attributes':{'class':[_0x358ee7(0x142)]}}),this[_0x358ee7(0x138)]=new _0x17a4a4(),this[_0x358ee7(0x138)][_0x358ee7(0x141)]({'tag':_0x358ee7(0x146),'attributes':{'class':[_0x358ee7(0x135),_0x12d88a['to'](_0x358ee7(0x13a),_0x2430d4=>_0x358ee7(0x13f)+_0x2430d4),_0x12d88a['if'](_0x358ee7(0x14e),_0x358ee7(0x13c))]},'children':[{'text':_0x12d88a['to'](_0x358ee7(0x14a))}]}),this[_0x358ee7(0x14c)][_0x358ee7(0x145)](this[_0x358ee7(0x138)]);}}function _0x2b43(){const _0x1fad4e=['ck-annotation-counter__badge','240yUsgWR','161XRjynH','counterView','number','annotationType','86pCSVVT','ck-annotation-counter__badge--edit-mode','133803cutnKg','34742246rDlFKf','ck-annotation-counter__badge--','6283048Rplrfe','setTemplate','ck-annotation-counter','185412XqifGR','bind','add','span','toString','9DHitPY','598492rjBTUW','_badge','icon','children','23072HIuIGd','isDirty','bindTemplate','4356960xFfMGG','extendTemplate','...','set'];_0x2b43=function(){return _0x1fad4e;};return _0x2b43();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xe89e(){const _0x33981c=['first','arrowup','mainView','length','fire','height','set','11446020IRomEl','arrowdown','18VscyFW','ck-annotation-wrapper--active','isActive','_updateHeight','content','listenTo','focusTracker','clear','bindTemplate','render','targetRect','type','ck-rounded-corners','focus','setTemplate','1414992ONNqzp','delegate','1790155hnLwQr','keystrokes','1911203wCCjPG','9guRSFW','div','ck-annotation-wrapper','attach','detach','458488asuUUm','20YsMDtR','destroy','presentation','createCollection','isDirty','Esc','add','541235yjVXPT','clientHeight','106710YYQOZZ','element','_mutationObserver'];_0xe89e=function(){return _0x33981c;};return _0xe89e();}const _0x111075=_0x2f85;function _0x2f85(_0x30ea8f,_0x15e12a){const _0xe89ebf=_0xe89e();return _0x2f85=function(_0x2f8558,_0x14d68e){_0x2f8558=_0x2f8558-0x1bb;let _0x1e4193=_0xe89ebf[_0x2f8558];return _0x1e4193;},_0x2f85(_0x30ea8f,_0x15e12a);}(function(_0x5b25da,_0x2bf43c){const _0x10220b=_0x2f85,_0x431695=_0x5b25da();while(!![]){try{const _0x5b116=parseInt(_0x10220b(0x1c0))/0x1+-parseInt(_0x10220b(0x1e7))/0x2+-parseInt(_0x10220b(0x1c2))/0x3*(-parseInt(_0x10220b(0x1e8))/0x4)+-parseInt(_0x10220b(0x1df))/0x5+-parseInt(_0x10220b(0x1ce))/0x6*(parseInt(_0x10220b(0x1e1))/0x7)+parseInt(_0x10220b(0x1dd))/0x8+parseInt(_0x10220b(0x1e2))/0x9*(parseInt(_0x10220b(0x1cc))/0xa);if(_0x5b116===_0x2bf43c)break;else _0x431695['push'](_0x431695['shift']());}catch(_0xfe8c2b){_0x431695['push'](_0x431695['shift']());}}}(_0xe89e,0x9ad57));import{View as _0x444cd6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3488ea,KeystrokeHandler as _0x165b40,uid as _0x122ccd}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x407a77}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x444cd6{[_0x111075(0x1d4)];['id'];[_0x111075(0x1e0)];[_0x111075(0x1d2)];[_0x111075(0x1c7)];[_0x111075(0x1c4)];constructor(_0x570a47,_0x5d6600){const _0x34ecaf=_0x111075;super(_0x570a47),this['id']=_0x122ccd(),this[_0x34ecaf(0x1d4)]=new _0x3488ea(),this[_0x34ecaf(0x1e0)]=new _0x165b40(),this[_0x34ecaf(0x1e0)][_0x34ecaf(0x1cb)](_0x34ecaf(0x1be),(_0x524bff,_0x25e28f)=>this[_0x34ecaf(0x1c9)](_0x34ecaf(0x1be),_0x25e28f)),this[_0x34ecaf(0x1cb)](_0x34ecaf(0x1d8),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x34ecaf(0x1cb)](_0x34ecaf(0x1ca),0x0),this[_0x34ecaf(0x1cb)](_0x34ecaf(0x1d0),!0x1),this[_0x34ecaf(0x1cb)](_0x34ecaf(0x1bd),!0x1),this[_0x34ecaf(0x1cb)](_0x34ecaf(0x1c8),0x0),this[_0x34ecaf(0x1cb)](_0x34ecaf(0x1d9),''),this[_0x34ecaf(0x1c4)]=_0x407a77(()=>this[_0x34ecaf(0x1d1)]()),this[_0x34ecaf(0x1d2)]=this[_0x34ecaf(0x1bc)](),this[_0x34ecaf(0x1d2)][_0x34ecaf(0x1de)](_0x34ecaf(0x1c6),_0x34ecaf(0x1cd))['to'](this),this[_0x34ecaf(0x1d2)][_0x34ecaf(0x1bf)](_0x5d6600),this[_0x34ecaf(0x1c7)]=_0x5d6600;const _0x47585a=this[_0x34ecaf(0x1d6)];this[_0x34ecaf(0x1dc)]({'tag':_0x34ecaf(0x1e3),'attributes':{'class':['ck',_0x34ecaf(0x1e4),_0x34ecaf(0x1da),_0x47585a['if'](_0x34ecaf(0x1d0),_0x34ecaf(0x1cf))],'role':_0x34ecaf(0x1bb)},'children':this[_0x34ecaf(0x1d2)]});}[_0x111075(0x1d7)](){const _0x41399f=_0x111075;super[_0x41399f(0x1d7)](),this[_0x41399f(0x1d4)][_0x41399f(0x1bf)](this[_0x41399f(0x1c3)]),this[_0x41399f(0x1e0)][_0x41399f(0x1d3)](this[_0x41399f(0x1c3)]),this[_0x41399f(0x1c4)][_0x41399f(0x1e5)](this[_0x41399f(0x1c3)]);}[_0x111075(0x1e9)](){const _0x384164=_0x111075;this[_0x384164(0x1d2)][_0x384164(0x1d5)](),this[_0x384164(0x1e0)][_0x384164(0x1e9)](),this[_0x384164(0x1d4)][_0x384164(0x1e9)](),this[_0x384164(0x1c4)][_0x384164(0x1e6)](),super[_0x384164(0x1e9)]();}[_0x111075(0x1db)](){const _0x33d066=_0x111075;this[_0x33d066(0x1d2)][_0x33d066(0x1c5)]&&this[_0x33d066(0x1d2)][_0x33d066(0x1c5)][_0x33d066(0x1db)]();}[_0x111075(0x1d1)](){const _0x2a0af0=_0x111075,_0x1e3b3d=this[_0x2a0af0(0x1c3)][_0x2a0af0(0x1c1)];_0x1e3b3d&&(this[_0x2a0af0(0x1ca)]=_0x1e3b3d);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x13bac9=_0x4dbc;(function(_0x8e7866,_0x56e027){const _0x19988c=_0x4dbc,_0x590066=_0x8e7866();while(!![]){try{const _0x3425d2=-parseInt(_0x19988c(0x16c))/0x1+-parseInt(_0x19988c(0x15a))/0x2+parseInt(_0x19988c(0x171))/0x3*(-parseInt(_0x19988c(0x16f))/0x4)+parseInt(_0x19988c(0x163))/0x5*(-parseInt(_0x19988c(0x168))/0x6)+parseInt(_0x19988c(0x179))/0x7*(parseInt(_0x19988c(0x158))/0x8)+-parseInt(_0x19988c(0x15d))/0x9*(-parseInt(_0x19988c(0x15f))/0xa)+parseInt(_0x19988c(0x17b))/0xb;if(_0x3425d2===_0x56e027)break;else _0x590066['push'](_0x590066['shift']());}catch(_0x2a3a2e){_0x590066['push'](_0x590066['shift']());}}}(_0x49b8,0xce49d));import{View as _0x1f1649}from'ckeditor5/src/ui.js';import{toUnit as _0x3311c7}from'ckeditor5/src/utils.js';function _0x4dbc(_0x412ef5,_0x917908){const _0x49b865=_0x49b8();return _0x4dbc=function(_0x4dbc58,_0x1d0119){_0x4dbc58=_0x4dbc58-0x154;let _0x4655c7=_0x49b865[_0x4dbc58];return _0x4655c7;},_0x4dbc(_0x412ef5,_0x917908);}function _0x49b8(){const _0x5d619e=['div','updateHeight','content','4794865CMKxpg','top','attach','clear','bindTemplate','6yAmSYG','render','clientHeight','element','639356VSHSPE','arrowup','createCollection','2111212YvbDOD','_targetTop','3fWcqOd','destroy','setTemplate','delegate','first','bind','focus','_mutationObserver','49ohcWUs','height','26956270EUFGKo','detach','set','ck-sidebar-item','arrowdown','729464lQKcMe','presentation','2025408UVrvgw','ck-sidebar-item--no-animation','bottom','18RsHqDD','isAnimationDisabled','4474710AAaEwg'];_0x49b8=function(){return _0x5d619e;};return _0x49b8();}import{createMutationObserver as _0x229470}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3311c7('px');export class AnnotationsSidebarItemView extends _0x1f1649{[_0x13bac9(0x162)];[_0x13bac9(0x170)];[_0x13bac9(0x178)];constructor(_0x447777){const _0x3b6932=_0x13bac9;super(_0x447777),this[_0x3b6932(0x155)](_0x3b6932(0x164),0x0),this[_0x3b6932(0x155)](_0x3b6932(0x17a),0x0),this[_0x3b6932(0x176)](_0x3b6932(0x15c))['to'](this,_0x3b6932(0x164),this,_0x3b6932(0x17a),(_0x180613,_0x3d1bd5)=>_0x180613+_0x3d1bd5),this[_0x3b6932(0x155)](_0x3b6932(0x15e),!0x1),this[_0x3b6932(0x178)]=_0x229470(()=>this[_0x3b6932(0x161)]()),this[_0x3b6932(0x170)]=null,this[_0x3b6932(0x162)]=this[_0x3b6932(0x16e)](),this[_0x3b6932(0x162)][_0x3b6932(0x174)](_0x3b6932(0x16d),_0x3b6932(0x157))['to'](this);const _0x129aa3=this[_0x3b6932(0x167)];this[_0x3b6932(0x173)]({'tag':_0x3b6932(0x160),'attributes':{'class':[_0x3b6932(0x156),_0x129aa3['to'](_0x3b6932(0x15e),_0x552dd0=>_0x552dd0?_0x3b6932(0x15b):'')],'style':{'top':_0x129aa3['to'](_0x3b6932(0x164),_0x5d0e1a=>Ot(_0x5d0e1a))},'role':_0x3b6932(0x159)},'children':this[_0x3b6932(0x162)]});}[_0x13bac9(0x169)](){const _0x4af05e=_0x13bac9;super[_0x4af05e(0x169)](),this[_0x4af05e(0x178)][_0x4af05e(0x165)](this[_0x4af05e(0x16b)]);}[_0x13bac9(0x177)](){const _0x1e7d09=_0x13bac9;this[_0x1e7d09(0x162)][_0x1e7d09(0x175)]&&this[_0x1e7d09(0x162)][_0x1e7d09(0x175)][_0x1e7d09(0x177)]();}[_0x13bac9(0x161)](){const _0x1cc255=_0x13bac9,_0x32f297=this[_0x1cc255(0x16b)][_0x1cc255(0x16a)];_0x32f297&&(this[_0x1cc255(0x17a)]=_0x32f297);}[_0x13bac9(0x172)](){const _0x330d4e=_0x13bac9;this[_0x330d4e(0x162)][_0x330d4e(0x166)](),this[_0x330d4e(0x178)][_0x330d4e(0x154)](),super[_0x330d4e(0x172)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x2303(){const _0x1d0dcf=['minHeight','set','list','application','391873HZfLsL','div','forEach','focusNext','Annotations\x20sidebar','ck-sidebar','top','getIndex','added','element','source','change:top','length','focusPrevious','9zbVLRd','remove','arrowup','arrowdown','removed','1418825bFegWn','uiLanguageDirection','add','245546eGDIny','934423FeRZfH','focus','focusFirst','class','_updateItemPositionInFocusables','21kTjnvz','focusTracker','render','2482830mjoYVf','Annotations\x20list','1746808dGxQUv','setTemplate','bindTemplate','delegate','focusCycler','change','_setupKeyboardNavigation','createCollection','145348dVtvxu','focusables','listenTo','number','ck-reset'];_0x2303=function(){return _0x1d0dcf;};return _0x2303();}const _0xb08b6b=_0x1b2d;(function(_0xc3ed0d,_0x3e3a53){const _0x4c1095=_0x1b2d,_0x3beb91=_0xc3ed0d();while(!![]){try{const _0x488930=parseInt(_0x4c1095(0x1fd))/0x1+-parseInt(_0x4c1095(0x1e1))/0x2+-parseInt(_0x4c1095(0x1e7))/0x3*(-parseInt(_0x4c1095(0x1f4))/0x4)+parseInt(_0x4c1095(0x1de))/0x5+-parseInt(_0x4c1095(0x1ea))/0x6+parseInt(_0x4c1095(0x1e2))/0x7+parseInt(_0x4c1095(0x1ec))/0x8*(-parseInt(_0x4c1095(0x20b))/0x9);if(_0x488930===_0x3e3a53)break;else _0x3beb91['push'](_0x3beb91['shift']());}catch(_0xc4525a){_0x3beb91['push'](_0x3beb91['shift']());}}}(_0x2303,0x4b54d));import{View as _0x294174,FocusCycler as _0x19de31}from'ckeditor5/src/ui.js';import{FocusTracker as _0xee13b8,toUnit as _0x211419}from'ckeditor5/src/utils.js';function _0x1b2d(_0x1ef5f2,_0x435680){const _0x2303ec=_0x2303();return _0x1b2d=function(_0x1b2d2c,_0x4dcd8e){_0x1b2d2c=_0x1b2d2c-0x1dd;let _0xb20694=_0x2303ec[_0x1b2d2c];return _0xb20694;},_0x1b2d(_0x1ef5f2,_0x435680);}import{getTranslation as _0x29973c}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x211419('px');export class AnnotationsSidebarView extends _0x294174{[_0xb08b6b(0x1fb)];[_0xb08b6b(0x1f5)];[_0xb08b6b(0x1e8)];[_0xb08b6b(0x1f0)];constructor(_0xcb7117){const _0x416ead=_0xb08b6b;super(_0xcb7117);const _0xcbf185=this[_0x416ead(0x1ee)];this[_0x416ead(0x1fa)](_0x416ead(0x1f9),0x0),this[_0x416ead(0x1fa)](_0x416ead(0x1e5),''),this[_0x416ead(0x1fb)]=this[_0x416ead(0x1f3)](),this[_0x416ead(0x1f5)]=this[_0x416ead(0x1f3)](),this[_0x416ead(0x1fb)][_0x416ead(0x1ef)](_0x416ead(0x20d),_0x416ead(0x20e))['to'](this),this[_0x416ead(0x1e8)]=new _0xee13b8(),this[_0x416ead(0x1f0)]=new _0x19de31({'focusables':this[_0x416ead(0x1f5)],'focusTracker':this[_0x416ead(0x1e8)]}),this[_0x416ead(0x1ed)]({'tag':_0x416ead(0x1fe),'attributes':{'class':['ck',_0x416ead(0x202),_0x416ead(0x1f8),_0xcbf185['to'](_0x416ead(0x1e5))],'style':{'minHeight':_0xcbf185['to'](_0x416ead(0x1f9),_0x458746=>_0x416ead(0x1f7)==typeof _0x458746?Ot(_0x458746+0xa):null)},'dir':_0xcb7117[_0x416ead(0x1df)],'role':_0x416ead(0x1fc),'aria-label':_0x29973c(_0xcb7117,_0x416ead(0x201)),'tabindex':0x0},'children':[{'tag':_0x416ead(0x1fe),'attributes':{'role':_0x416ead(0x1fb),'aria-label':_0x29973c(_0xcb7117,_0x416ead(0x1eb))},'children':this[_0x416ead(0x1fb)]}]});}[_0xb08b6b(0x1e9)](){const _0x33648d=_0xb08b6b;super[_0x33648d(0x1e9)](),this[_0x33648d(0x1f2)]();}[_0xb08b6b(0x1e3)](){const _0x3056d3=_0xb08b6b;this[_0x3056d3(0x1f0)][_0x3056d3(0x1e4)]();}[_0xb08b6b(0x1f2)](){const _0x5c0cb4=_0xb08b6b;this[_0x5c0cb4(0x1fb)][_0x5c0cb4(0x1ef)](_0x5c0cb4(0x208))['to'](this),this['on'](_0x5c0cb4(0x208),_0x42e475=>{const _0x433c3a=_0x5c0cb4;this[_0x433c3a(0x1e6)](_0x42e475[_0x433c3a(0x207)]);}),this[_0x5c0cb4(0x1fb)][_0x5c0cb4(0x1ff)](_0x51ad2f=>{const _0x358097=_0x5c0cb4;this[_0x358097(0x1e8)][_0x358097(0x1e0)](_0x51ad2f[_0x358097(0x206)]),this[_0x358097(0x1e6)](_0x51ad2f);}),this[_0x5c0cb4(0x1fb)]['on'](_0x5c0cb4(0x1f1),(_0x5d2a72,_0x3b7a18)=>{const _0x1bb8cf=_0x5c0cb4;for(const _0x1678ed of _0x3b7a18[_0x1bb8cf(0x1dd)])this[_0x1bb8cf(0x1e8)][_0x1bb8cf(0x20c)](_0x1678ed[_0x1bb8cf(0x206)]),this[_0x1bb8cf(0x1f5)][_0x1bb8cf(0x20c)](_0x1678ed);for(const _0x5f096a of _0x3b7a18[_0x1bb8cf(0x205)])this[_0x1bb8cf(0x1e8)][_0x1bb8cf(0x1e0)](_0x5f096a[_0x1bb8cf(0x206)]),this[_0x1bb8cf(0x1e6)](_0x5f096a);}),this['on'](_0x5c0cb4(0x20d),()=>{const _0x4507ec=_0x5c0cb4;this[_0x4507ec(0x1f0)][_0x4507ec(0x20a)]();}),this['on'](_0x5c0cb4(0x20e),()=>{const _0x1f78a9=_0x5c0cb4;this[_0x1f78a9(0x1f0)][_0x1f78a9(0x200)]();}),this[_0x5c0cb4(0x1f6)](this[_0x5c0cb4(0x206)],_0x5c0cb4(0x1e3),()=>{const _0x44bb37=_0x5c0cb4;this[_0x44bb37(0x1e3)]();});}[_0xb08b6b(0x1e6)](_0x586339){const _0x3ba974=_0xb08b6b,_0x41adb8=this[_0x3ba974(0x1f5)][_0x3ba974(0x204)](_0x586339);let _0x1ee8e4,_0x1b3b6e;for(const _0x46b4c6 of this[_0x3ba974(0x1f5)])if(_0x586339[_0x3ba974(0x203)]<_0x46b4c6[_0x3ba974(0x203)]){_0x1ee8e4=_0x46b4c6;break;}if(_0x1b3b6e=_0x1ee8e4?this[_0x3ba974(0x1f5)][_0x3ba974(0x204)](_0x1ee8e4):this[_0x3ba974(0x1f5)][_0x3ba974(0x209)],-0x1!==_0x41adb8){if(_0x41adb8===_0x1b3b6e-0x1)return;this[_0x3ba974(0x1f5)][_0x3ba974(0x20c)](_0x586339),_0x1b3b6e=_0x1ee8e4?this[_0x3ba974(0x1f5)][_0x3ba974(0x204)](_0x1ee8e4):this[_0x3ba974(0x1f5)][_0x3ba974(0x209)];}this[_0x3ba974(0x1f5)][_0x3ba974(0x1e0)](_0x586339,_0x1b3b6e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38a80a=_0x2d65;(function(_0x44c74e,_0x26cf0e){const _0x1b795a=_0x2d65,_0x1534a7=_0x44c74e();while(!![]){try{const _0x12b739=-parseInt(_0x1b795a(0x11f))/0x1*(parseInt(_0x1b795a(0x113))/0x2)+-parseInt(_0x1b795a(0x127))/0x3+-parseInt(_0x1b795a(0x11a))/0x4*(-parseInt(_0x1b795a(0x112))/0x5)+parseInt(_0x1b795a(0xed))/0x6*(-parseInt(_0x1b795a(0x104))/0x7)+parseInt(_0x1b795a(0x10c))/0x8+parseInt(_0x1b795a(0xee))/0x9*(parseInt(_0x1b795a(0x103))/0xa)+parseInt(_0x1b795a(0xfa))/0xb*(parseInt(_0x1b795a(0xfd))/0xc);if(_0x12b739===_0x26cf0e)break;else _0x1534a7['push'](_0x1534a7['shift']());}catch(_0x24703b){_0x1534a7['push'](_0x1534a7['shift']());}}}(_0x5611,0xf0f31));import{ContextPlugin as _0x19ccd1,Context as _0x2fe18e}from'ckeditor5/src/core.js';function _0x2d65(_0x10b6a8,_0x1a88b4){const _0x561156=_0x5611();return _0x2d65=function(_0x2d6552,_0x15f2c9){_0x2d6552=_0x2d6552-0xe7;let _0x105b7b=_0x561156[_0x2d6552];return _0x105b7b;},_0x2d65(_0x10b6a8,_0x1a88b4);}import{AnnotationsUIs as _0x4ce4d3}from'./annotationsuis.js';import{Sidebar as _0x298896}from'./sidebar.js';function _0x5611(){const _0x556844=['_detachFromContainer','container','4271106JPzUmu','register','uiUpdate','blur','widesidebar-attach-already-attached','rearrange','isAttached','requires','addAnnotation','off','activeAnnotation','Annotations','high','_integrateWithEditorAnnotations','_annotations','WideSidebar','1284tXFmqe','11142xxIGAW','_activeAnnotation','ready','detach','has','get','change:container','cancel','set','refreshPositioning','_destroyEditorAnnotationsIntegration','init','110pplLkA','editors','focus','2010444ZyINSM','removeEventListener','refresh','_attachToContainer','destroy','hasDomSelection','9610fyxbEk','14189HTsJMw','_editorAnnotations','ck-sidebar--wide','switchTo','wideSidebar','EditorAnnotations','updateTargetRect','setActiveAnnotation','3126936AiBQGB','refreshVisibility','_refreshPositioningDebounced','stop','pluginName','listenTo','11620ZFUJqt','30612TvYphE','addEventListener','resize','isPremiumPlugin','plugins','from','context','2532LJoffG','isOfficialPlugin','add','stopListening','getOrderedSelectedAnnotations','123dBQspP','remove','attach','widesidebar-detach-not-attached','annotations','set:container'];_0x5611=function(){return _0x556844;};return _0x5611();}import{CKEditorError as _0x25a92c,Collection as _0x2c8ce3}from'ckeditor5/src/utils.js';import{debounce as _0x43adfa}from'es-toolkit/compat';export class WideSidebar extends _0x19ccd1{[_0x38a80a(0x12d)];[_0x38a80a(0x123)];[_0x38a80a(0x105)];[_0x38a80a(0x10e)];static get[_0x38a80a(0x12e)](){return[_0x298896,_0x4ce4d3];}static get[_0x38a80a(0x110)](){const _0x51b640=_0x38a80a;return _0x51b640(0xec);}static get[_0x38a80a(0x11b)](){return!0x0;}static get[_0x38a80a(0x116)](){return!0x0;}constructor(_0x1bd019){const _0x39a21c=_0x38a80a;super(_0x1bd019),this[_0x39a21c(0x12d)]=!0x1,this[_0x39a21c(0xf6)](_0x39a21c(0xe7),null),this[_0x39a21c(0x123)]=null,this[_0x39a21c(0x105)]=new _0x2c8ce3(),this[_0x39a21c(0x10e)]=_0x43adfa(()=>{const _0x2a8f5f=_0x39a21c;_0x1bd019[_0x2a8f5f(0x117)][_0x2a8f5f(0xf3)](_0x2a8f5f(0xe8))[_0x2a8f5f(0x10d)](),this[_0x2a8f5f(0x123)][_0x2a8f5f(0xf7)]();},0xfa,{'leading':!0x1});}[_0x38a80a(0xf9)](){const _0x3a282b=_0x38a80a,_0x4575b5=this[_0x3a282b(0x119)][_0x3a282b(0x117)][_0x3a282b(0xf3)](_0x4ce4d3),_0x4b84e7=this[_0x3a282b(0x119)][_0x3a282b(0x117)][_0x3a282b(0xf3)](_0x298896);_0x4575b5[_0x3a282b(0x128)](_0x3a282b(0x108),this),_0x4b84e7[_0x3a282b(0x126)]&&_0x4575b5[_0x3a282b(0x107)](_0x3a282b(0x108));}[_0x38a80a(0x10b)](_0x2dbfa4){const _0x2a6dc5=_0x38a80a;if(_0x2dbfa4===this[_0x2a6dc5(0xe7)])return;const _0x139ec4=this[_0x2a6dc5(0x119)][_0x2a6dc5(0x117)][_0x2a6dc5(0xf3)](_0x298896);_0x139ec4[_0x2a6dc5(0xef)]=_0x2dbfa4;const _0x41e04f=this[_0x2a6dc5(0xe7)];_0x139ec4[_0x2a6dc5(0xff)]({'blurredAnnotation':_0x41e04f,'activatedAnnotation':_0x2dbfa4}),this[_0x2a6dc5(0xe7)]=_0x2dbfa4;}[_0x38a80a(0x121)](_0x40edb3){const _0x4e75db=_0x38a80a;this[_0x4e75db(0x123)]=_0x40edb3;const _0x1b4229=this[_0x4e75db(0x119)][_0x4e75db(0x117)][_0x4e75db(0xf3)](_0x298896);if(_0x1b4229[_0x4e75db(0xeb)]=_0x40edb3,this[_0x4e75db(0x12d)])throw new _0x25a92c(_0x4e75db(0x12b),this);this[_0x4e75db(0x12d)]=!0x0,this[_0x4e75db(0x111)](_0x1b4229,_0x4e75db(0x124),()=>{const _0x2d365a=_0x4e75db;this[_0x2d365a(0xf1)](),this[_0x2d365a(0x111)](_0x1b4229,_0x2d365a(0xf4),_0x1537c6=>{const _0x2540dd=_0x2d365a;_0x1537c6[_0x2540dd(0x130)](),this[_0x2540dd(0x121)](_0x40edb3);});}),_0x1b4229[_0x4e75db(0x100)]({'viewClass':_0x4e75db(0x106)});const _0x1777ca=_0x3b0506=>{const _0x4f1ec1=_0x4e75db;_0x3b0506[_0x4f1ec1(0x10a)](),_0x1b4229[_0x4f1ec1(0x12f)](_0x3b0506);};for(const _0x51a6c5 of _0x40edb3)_0x1777ca(_0x51a6c5);this[_0x4e75db(0x111)](_0x40edb3,_0x4e75db(0x11c),(_0x433ab9,_0x32efba)=>{_0x1777ca(_0x32efba);}),this[_0x4e75db(0x111)](_0x40edb3,_0x4e75db(0x120),(_0x277c27,_0x3fec9f,_0x2aea74)=>{const _0x487165=_0x4e75db;_0x1b4229[_0x487165(0x12c)]({'removedAnnotation':_0x3fec9f,'previousAnnotation':_0x40edb3[_0x487165(0xf3)](_0x2aea74-0x1),'nextAnnotation':_0x40edb3[_0x487165(0xf3)](_0x2aea74+0x1)}),_0x3fec9f===this[_0x487165(0xe7)]&&this[_0x487165(0x10b)](null);},{'priority':_0x4e75db(0xe9)}),this[_0x4e75db(0x111)](_0x40edb3,_0x4e75db(0xfc),(_0x1dedca,_0x12f579)=>{const _0x411fb3=_0x4e75db;this[_0x411fb3(0x10b)](_0x12f579);}),this[_0x4e75db(0x111)](_0x40edb3,_0x4e75db(0x12a),()=>{const _0x1ab0fe=_0x4e75db;this[_0x1ab0fe(0x10b)](null);});const _0x217f0c=this[_0x4e75db(0x119)]instanceof _0x2fe18e?this[_0x4e75db(0x119)][_0x4e75db(0xfb)]:new _0x2c8ce3([this[_0x4e75db(0x119)]]);for(const _0x4d5520 of _0x217f0c)this[_0x4e75db(0xea)](_0x4d5520);this[_0x4e75db(0x111)](_0x217f0c,_0x4e75db(0x11c),(_0x498dfe,_0x290e7a)=>{const _0x3919b2=_0x4e75db;this[_0x3919b2(0x111)](_0x290e7a,_0x3919b2(0xf0),()=>{const _0x1dcd67=_0x3919b2;this[_0x1dcd67(0xea)](_0x290e7a);});}),this[_0x4e75db(0x111)](_0x217f0c,_0x4e75db(0x120),(_0x5d1b67,_0x47b3d9)=>{const _0x52c5a2=_0x4e75db;_0x47b3d9[_0x52c5a2(0x117)][_0x52c5a2(0xf2)](_0x52c5a2(0x109))&&this[_0x52c5a2(0xf8)](_0x47b3d9[_0x52c5a2(0x117)][_0x52c5a2(0xf3)](_0x52c5a2(0x109)));}),window[_0x4e75db(0x114)](_0x4e75db(0x115),this[_0x4e75db(0x10e)]),this[_0x4e75db(0x119)][_0x4e75db(0x117)][_0x4e75db(0xf3)](_0x4e75db(0xe8))[_0x4e75db(0x10d)](),this[_0x4e75db(0x123)][_0x4e75db(0xf7)]();}[_0x38a80a(0xf1)](){const _0x3b7daf=_0x38a80a;if(!this[_0x3b7daf(0x12d)])throw new _0x25a92c(_0x3b7daf(0x122),this);this[_0x3b7daf(0x10b)](null);const _0x59491a=this[_0x3b7daf(0x119)][_0x3b7daf(0x117)][_0x3b7daf(0xf3)](_0x298896);_0x59491a[_0x3b7daf(0x125)](this[_0x3b7daf(0x123)]),this[_0x3b7daf(0x11d)](_0x59491a),this[_0x3b7daf(0x11d)](this[_0x3b7daf(0x123)]),this[_0x3b7daf(0x119)]instanceof _0x2fe18e&&this[_0x3b7daf(0x11d)](this[_0x3b7daf(0x119)][_0x3b7daf(0xfb)]);for(const _0xf0947d of Array[_0x3b7daf(0x118)](this[_0x3b7daf(0x105)]))this[_0x3b7daf(0xf8)](_0xf0947d);window[_0x3b7daf(0xfe)](_0x3b7daf(0x115),this[_0x3b7daf(0x10e)]),this[_0x3b7daf(0x10e)][_0x3b7daf(0xf5)](),this[_0x3b7daf(0xe7)]=null,this[_0x3b7daf(0x12d)]=!0x1,this[_0x3b7daf(0x123)]=null;}[_0x38a80a(0x101)](){const _0x2c378b=_0x38a80a;this[_0x2c378b(0x12d)]&&this[_0x2c378b(0xf1)]();}[_0x38a80a(0xea)](_0x3d0980){const _0xb96fa1=_0x38a80a;if(!_0x3d0980[_0xb96fa1(0x117)][_0xb96fa1(0xf2)](_0xb96fa1(0x109)))return;const _0x258106=_0x3d0980[_0xb96fa1(0x117)][_0xb96fa1(0xf3)](_0xb96fa1(0x109)),_0x5805d3=()=>{const _0x5e4a8d=_0xb96fa1,_0x49e5d0=_0x258106[_0x5e4a8d(0x11e)]({'annotations':this[_0x5e4a8d(0x123)],'activeAnnotation':this[_0x5e4a8d(0xe7)]});this[_0x5e4a8d(0x10b)](_0x49e5d0[0x0]||null);};this[_0xb96fa1(0x111)](_0x258106,_0xb96fa1(0xff),_0x5805d3),this[_0xb96fa1(0x111)](_0x258106,_0xb96fa1(0x12a),(_0x5ea851,{isAnnotationTracked:_0x330e23})=>{const _0x2abe5b=_0xb96fa1;this[_0x2abe5b(0xe7)]&&_0x330e23(this[_0x2abe5b(0xe7)])&&this[_0x2abe5b(0x10b)](null);}),this[_0xb96fa1(0x111)](_0x258106,_0xb96fa1(0x129),()=>{const _0xaeb3bf=_0xb96fa1;this[_0xaeb3bf(0x10e)]();}),this[_0xb96fa1(0x111)](this[_0xb96fa1(0x123)],_0xb96fa1(0x12a),_0x3ac348=>{const _0x136ea4=_0xb96fa1;_0x258106[_0x136ea4(0x102)]()&&(_0x5805d3(),_0x3ac348[_0x136ea4(0x10f)]());},{'priority':_0xb96fa1(0xe9)}),this[_0xb96fa1(0x105)][_0xb96fa1(0x11c)](_0x258106);}[_0x38a80a(0xf8)](_0x52605e){const _0x29698d=_0x38a80a;this[_0x29698d(0x11d)](_0x52605e),this[_0x29698d(0x105)][_0x29698d(0x120)](_0x52605e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x259584=_0x52f0;function _0x567e(){const _0x1fa579=['element','end','addMarker','isEnabled','backward','1566271uSkzgv','getItems','length','4bPPWSr','change','2859030WoGdfh','set','getRanges','173610vCgKFK','comment:','647334FhHYNR','addCommentThread','editor','createRange','_hasContent','_createCommentThread','tableCell','_itemIsContent','config','collaboration.channelId','_createMarkersFromRanges','item','15314uhfCfe','isObject','push','start','addcommentthreadcommand-incorrect-ranges','$textProxy','20sTeNXP','selection','plugins','_trimToContent','from','Users','hasContent','schema','model','refresh','2981024JtDpUX','document','execute','get','substr','addcommentthreadcommand-user-not-found','977915hGoEeW','CommentsRepository','getLastMatchingPosition'];_0x567e=function(){return _0x1fa579;};return _0x567e();}(function(_0x59f48c,_0x27398b){const _0x5c80b=_0x52f0,_0x507fc4=_0x59f48c();while(!![]){try{const _0x369d21=-parseInt(_0x5c80b(0xa6))/0x1*(-parseInt(_0x5c80b(0xac))/0x2)+-parseInt(_0x5c80b(0xcc))/0x3+parseInt(_0x5c80b(0xc7))/0x4*(parseInt(_0x5c80b(0xbc))/0x5)+parseInt(_0x5c80b(0xc9))/0x6+-parseInt(_0x5c80b(0xc4))/0x7+-parseInt(_0x5c80b(0xb6))/0x8+parseInt(_0x5c80b(0xce))/0x9;if(_0x369d21===_0x27398b)break;else _0x507fc4['push'](_0x507fc4['shift']());}catch(_0x147829){_0x507fc4['push'](_0x507fc4['shift']());}}}(_0x567e,0x3b4d7));import{Command as _0x3bbe65}from'ckeditor5/src/core.js';function _0x52f0(_0x641ced,_0x53933a){const _0x567ea5=_0x567e();return _0x52f0=function(_0x52f0e9,_0x4ad800){_0x52f0e9=_0x52f0e9-0xa4;let _0xce732e=_0x567ea5[_0x52f0e9];return _0xce732e;},_0x52f0(_0x641ced,_0x53933a);}import{uid as _0x3b2297,CKEditorError as _0x1f186b}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x3bbe65{constructor(_0x1ca6b5){const _0x325fe2=_0x52f0;super(_0x1ca6b5),this[_0x325fe2(0xca)](_0x325fe2(0xb2),!0x1);}[_0x259584(0xb5)](){const _0x452147=_0x259584,_0xb42be5=this[_0x452147(0xd0)][_0x452147(0xb4)][_0x452147(0xb7)][_0x452147(0xad)];this[_0x452147(0xc2)]=!0x0,this[_0x452147(0xb2)]=!0x1;for(const _0x44a352 of _0xb42be5[_0x452147(0xcb)]())if(this[_0x452147(0xd2)](_0x44a352))return void(this[_0x452147(0xb2)]=!0x0);}[_0x259584(0xb8)]({threadId:_0x4382d7=_0x3b2297(),ranges:_0x177890,comment:_0x4c36f9}={}){const _0xc5aacc=_0x259584,_0x4bed94=this[_0xc5aacc(0xd0)][_0xc5aacc(0xb4)],_0x2d385f=_0x177890??Array[_0xc5aacc(0xb0)](_0x4bed94[_0xc5aacc(0xb7)][_0xc5aacc(0xad)][_0xc5aacc(0xcb)]()),_0x47acac=[];for(const _0x4c22e5 of _0x2d385f)this[_0xc5aacc(0xd2)](_0x4c22e5)&&_0x47acac[_0xc5aacc(0xa8)](this[_0xc5aacc(0xaf)](_0x4c22e5));if(!_0x47acac[_0xc5aacc(0xc6)])throw new _0x1f186b(_0xc5aacc(0xaa),null);_0x4c36f9&&this[_0xc5aacc(0xd3)](_0x4382d7,_0x4c36f9),this[_0xc5aacc(0xa4)](_0x4382d7,_0x47acac,!!_0x4c36f9);}[_0x259584(0xa4)](_0x1147c3,_0x21c1a7,_0x1eb2d9){const _0x37ba96=_0x259584;this[_0x37ba96(0xd0)][_0x37ba96(0xb4)][_0x37ba96(0xc8)](_0x36da36=>{const _0x6792b8=_0x37ba96;for(const _0x8603e1 of _0x21c1a7){const _0x124ebf=_0x3b2297()[_0x6792b8(0xba)](0x1,0x5),_0x26bcce=_0x6792b8(0xcd)+_0x1147c3+':'+_0x124ebf;_0x36da36[_0x6792b8(0xc1)](_0x26bcce,{'range':_0x8603e1,'usingOperation':_0x1eb2d9,'affectsData':_0x1eb2d9});}});}[_0x259584(0xd3)](_0x573b84,_0x33e373){const _0x16da0d=_0x259584,_0x37d159=this[_0x16da0d(0xd0)][_0x16da0d(0xae)][_0x16da0d(0xb9)](_0x16da0d(0xbd)),_0x5be6c4=this[_0x16da0d(0xd0)][_0x16da0d(0xd6)][_0x16da0d(0xb9)](_0x16da0d(0xd7)),_0xe2f22e=this[_0x16da0d(0xd0)][_0x16da0d(0xae)][_0x16da0d(0xb9)](_0x16da0d(0xb1))['me'];if(!_0xe2f22e)throw new _0x1f186b(_0x16da0d(0xbb),null);_0x37d159[_0x16da0d(0xcf)]({'threadId':_0x573b84,'channelId':_0x5be6c4,'comments':[{'authorId':_0xe2f22e['id'],'content':_0x33e373,'createdAt':new Date(),'attributes':{}}]});}[_0x259584(0xd2)](_0x55224c){const _0x264e08=_0x259584;for(const _0x4fd132 of _0x55224c[_0x264e08(0xc5)]())if(this[_0x264e08(0xd5)](_0x4fd132))return!0x0;return!0x1;}[_0x259584(0xd5)](_0x28a32c){const _0x20876c=_0x259584;return _0x28a32c['is'](_0x20876c(0xab))||this[_0x20876c(0xd0)][_0x20876c(0xb4)][_0x20876c(0xb3)][_0x20876c(0xa7)](_0x28a32c)&&!_0x28a32c['is'](_0x20876c(0xbf),_0x20876c(0xd4));}[_0x259584(0xaf)](_0xad5c52){const _0xadf22f=_0x259584,_0x10a4da=_0x52240f=>!this[_0xadf22f(0xd5)](_0x52240f[_0xadf22f(0xa5)]),_0x54f444=_0xad5c52[_0xadf22f(0xa9)][_0xadf22f(0xbe)](_0x10a4da),_0x2296e4=_0xad5c52[_0xadf22f(0xc0)][_0xadf22f(0xbe)](_0x10a4da,{'direction':_0xadf22f(0xc3)});return this[_0xadf22f(0xd0)][_0xadf22f(0xb4)][_0xadf22f(0xd1)](_0x54f444,_0x2296e4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x238cfb=_0x48b3;(function(_0x3f940b,_0x466368){const _0x4b7070=_0x48b3,_0x36df2a=_0x3f940b();while(!![]){try{const _0x37f826=-parseInt(_0x4b7070(0x110))/0x1+-parseInt(_0x4b7070(0x106))/0x2+-parseInt(_0x4b7070(0xf8))/0x3+parseInt(_0x4b7070(0xfa))/0x4+-parseInt(_0x4b7070(0x115))/0x5+parseInt(_0x4b7070(0x10c))/0x6+parseInt(_0x4b7070(0xf9))/0x7*(parseInt(_0x4b7070(0x114))/0x8);if(_0x37f826===_0x466368)break;else _0x36df2a['push'](_0x36df2a['shift']());}catch(_0x3a927a){_0x36df2a['push'](_0x36df2a['shift']());}}}(_0x7aee,0x55703));function _0x48b3(_0xf2e599,_0x166509){const _0x7aeed2=_0x7aee();return _0x48b3=function(_0x48b318,_0x4b03d4){_0x48b318=_0x48b318-0xf6;let _0x4ac5f4=_0x7aeed2[_0x48b318];return _0x4ac5f4;},_0x48b3(_0xf2e599,_0x166509);}function _0x7aee(){const _0x12bf19=['context','has','init','removeCommentThread','activate','remove','1999446icdJMq','133bbwBbs','928424PpWLHc','length','archivedAt','plugins','CommentsArchive','collection','_calculatePosition','change:archivedAt','archivedThreads','isVisible','get','stopListening','178770NpmYJg','isPremiumPlugin','focus','highest','requires','listenTo','624384nmcndj','findIndex','getCommentThread','add','139100ILRjmd','pluginName','isActive','isOfficialPlugin','526040nfmuIN','1702965DYITOg','addCommentThread'];_0x7aee=function(){return _0x12bf19;};return _0x7aee();}import{ContextPlugin as _0x11d24c}from'ckeditor5/src/core.js';import{Collection as _0x234727}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x5097c8}from'./commentsrepository.js';import{Annotations as _0xd8a3e2}from'../annotations/annotations.js';export class CommentsArchive extends _0x11d24c{static get[_0x238cfb(0x111)](){const _0x19fb7c=_0x238cfb;return _0x19fb7c(0xfe);}static get[_0x238cfb(0x113)](){return!0x0;}static get[_0x238cfb(0x107)](){return!0x0;}static get[_0x238cfb(0x10a)](){return[_0x5097c8,_0xd8a3e2];}constructor(_0x39d2b1){const _0x28c63d=_0x238cfb;super(_0x39d2b1),this[_0x28c63d(0x102)]=new _0x234727();}[_0x238cfb(0x119)](){const _0xabccde=_0x238cfb,_0x5abd11=this[_0xabccde(0x117)],_0x20a031=_0x5abd11[_0xabccde(0xfd)][_0xabccde(0x104)](_0x5097c8),_0x1ed7c4=_0x5abd11[_0xabccde(0xfd)][_0xabccde(0x104)](_0xd8a3e2);this[_0xabccde(0x10b)](_0x20a031,_0xabccde(0x116),(_0x37ce72,{threadId:_0x56df25})=>{const _0x50c425=_0xabccde,_0x4b9d38=_0x20a031[_0x50c425(0x10e)](_0x56df25);_0x4b9d38[_0x50c425(0xfc)]&&this[_0x50c425(0x102)][_0x50c425(0x10f)](_0x4b9d38,this[_0x50c425(0x100)](_0x4b9d38[_0x50c425(0xfc)])),this[_0x50c425(0x10b)](_0x4b9d38,_0x50c425(0x101),(_0x47577b,_0x391d4d,_0x3e562b)=>{const _0x50c248=_0x50c425;_0x3e562b?this[_0x50c248(0x102)][_0x50c248(0x118)](_0x4b9d38)||this[_0x50c248(0x102)][_0x50c248(0x10f)](_0x4b9d38,this[_0x50c248(0x100)](_0x4b9d38[_0x50c248(0xfc)])):this[_0x50c248(0x102)][_0x50c248(0x118)](_0x4b9d38)&&this[_0x50c248(0x102)][_0x50c248(0xf7)](_0x4b9d38);});}),this[_0xabccde(0x10b)](_0x20a031,_0xabccde(0x11a),(_0x147319,{threadId:_0x26a696})=>{const _0x3d86a5=_0xabccde,_0x3d446c=_0x20a031[_0x3d86a5(0x10e)](_0x26a696);this[_0x3d86a5(0x105)](_0x3d446c),this[_0x3d86a5(0x102)][_0x3d86a5(0x118)](_0x3d446c)&&this[_0x3d86a5(0x102)][_0x3d86a5(0xf7)](_0x3d446c);},{'priority':_0xabccde(0x109)}),this[_0xabccde(0x10b)](_0x1ed7c4[_0xabccde(0xff)],_0xabccde(0x108),(_0x190c05,_0x4936a5)=>{const _0x2e84d2=_0xabccde;_0x4936a5[_0x2e84d2(0x103)]||(_0x4936a5[_0x2e84d2(0x112)]=!0x0,_0x1ed7c4[_0x2e84d2(0xf6)](_0x4936a5));});}[_0x238cfb(0x100)](_0x366aa9){const _0x256f9e=_0x238cfb,_0x311b25=[...this[_0x256f9e(0x102)]][_0x256f9e(0x10d)](_0x22a19e=>_0x22a19e[_0x256f9e(0xfc)]<_0x366aa9);return _0x311b25>-0x1?_0x311b25:this[_0x256f9e(0x102)][_0x256f9e(0xfb)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e73c9=_0x3d63;(function(_0x4c9272,_0x187dfe){const _0x4d12dc=_0x3d63,_0x5da9b8=_0x4c9272();while(!![]){try{const _0x480ba8=-parseInt(_0x4d12dc(0x156))/0x1*(-parseInt(_0x4d12dc(0x153))/0x2)+parseInt(_0x4d12dc(0x177))/0x3*(parseInt(_0x4d12dc(0x161))/0x4)+parseInt(_0x4d12dc(0x13e))/0x5*(-parseInt(_0x4d12dc(0x167))/0x6)+-parseInt(_0x4d12dc(0x150))/0x7+-parseInt(_0x4d12dc(0x14f))/0x8*(parseInt(_0x4d12dc(0x175))/0x9)+-parseInt(_0x4d12dc(0x14b))/0xa+parseInt(_0x4d12dc(0x14d))/0xb;if(_0x480ba8===_0x187dfe)break;else _0x5da9b8['push'](_0x5da9b8['shift']());}catch(_0x30cf2d){_0x5da9b8['push'](_0x5da9b8['shift']());}}}(_0x2269,0xd30dd));import'../../theme/commentsarchive.css';import{Plugin as _0x50a408}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x351f41}from'ckeditor5/src/icons.js';import{ViewCollection as _0x5534cf,MenuBarMenuListItemButtonView as _0x3db2f5,ButtonView as _0x3dee46,Dialog as _0x98ccec,DialogViewPosition as _0x1187bc}from'ckeditor5/src/ui.js';function _0x3d63(_0x1ca1f2,_0x16f359){const _0x226965=_0x2269();return _0x3d63=function(_0x3d63d4,_0xd3125c){_0x3d63d4=_0x3d63d4-0x128;let _0x8e81eb=_0x226965[_0x3d63d4];return _0x8e81eb;},_0x3d63(_0x1ca1f2,_0x16f359);}import{getTranslation as _0x162a6d}from'../utils/common-translations.js';import{CommentsArchiveView as _0x4c68a5}from'./ui/view/commentsarchiveview.js';function _0x2269(){const _0x1b39f0=['6oRJcdF','bind','collaboration.channelId','316985eMxJyR','findIndex','channelId','isVisible','_handleNewThread','commentsArchive','forEach','filter','commentsArchiveView','has','menuBar:commentsArchive','52tfkkop','execute','show','requires','stopListening','return','3456OnsWZy','indexOf','COMMENTS_ARCHIVE','componentFactory','splice','innerView','Dialog','listenTo','isOfficialPlugin','add','tooltip','editor','plugins','init','4879944GPGiSb','_createCommentsArchiveButton','106545WNJobl','pluginName','archivedAt','_pendingThreads','CommentsArchiveUI','set:isVisible','_hideDialogOnAnnotationEscape','escape','push','isOn','source','menuitemcheckbox','get','find','focusableElements','EDITOR_TOP_SIDE','_calculatePosition','annotationViews','locale','_threadToController','includes','stop','hide','11055SxXjgg','length','_addAnnotationToArchive','isEnabled','Annotations','isPremiumPlugin','config','getByInnerView','_visibleAnnotations','archivedThreads','view','isOpen','CommentsRepository','9618240vYjLIT','set','40323030QgJzoh','_toggleDialog','16Lyoinl','6258777gKjvfy','remove','collection'];_0x2269=function(){return _0x1b39f0;};return _0x2269();}import{CommentsArchive as _0x19eb9d}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x50a408{[_0x2e73c9(0x15e)];[_0x2e73c9(0x138)];[_0x2e73c9(0x12a)];static get[_0x2e73c9(0x128)](){const _0x42b6a6=_0x2e73c9;return _0x42b6a6(0x12b);}static get[_0x2e73c9(0x16f)](){return!0x0;}static get[_0x2e73c9(0x143)](){return!0x0;}static get[_0x2e73c9(0x164)](){return[_0x19eb9d,_0x98ccec];}constructor(_0x3f1f6c){const _0x398ef6=_0x2e73c9;super(_0x3f1f6c),this[_0x398ef6(0x138)]=new _0x5534cf(),this[_0x398ef6(0x12a)]=[];}[_0x2e73c9(0x174)](){const _0x253b91=_0x2e73c9,_0x8fec5c=this[_0x253b91(0x172)],_0x262485=this[_0x253b91(0x12d)][_0x253b91(0x154)](this);_0x8fec5c['ui'][_0x253b91(0x16a)][_0x253b91(0x170)](_0x253b91(0x15b),()=>this[_0x253b91(0x176)](_0x3dee46,!0x0)),_0x8fec5c['ui'][_0x253b91(0x16a)][_0x253b91(0x170)](_0x253b91(0x160),()=>{const _0xcd89a=_0x253b91,_0x354eb5=this[_0xcd89a(0x176)](_0x3db2f5);return _0x354eb5[_0xcd89a(0x14c)]({'role':_0xcd89a(0x132)}),_0x354eb5;});const _0x288cf1=_0x8fec5c[_0x253b91(0x173)][_0x253b91(0x133)](_0x19eb9d),_0x337807=_0x8fec5c[_0x253b91(0x173)][_0x253b91(0x133)](_0x253b91(0x142)),_0xafe5d7=_0x8fec5c[_0x253b91(0x173)][_0x253b91(0x133)](_0x253b91(0x14a));_0x288cf1[_0x253b91(0x147)][_0x253b91(0x15c)](_0x1c2da3=>{const _0x20897a=_0x253b91;this[_0x20897a(0x15a)](_0x1c2da3);}),this[_0x253b91(0x16e)](_0x288cf1[_0x253b91(0x147)],_0x253b91(0x170),(_0x5a9935,_0x37bdc0)=>{const _0x473da5=_0x253b91;this[_0x473da5(0x15a)](_0x37bdc0);}),this[_0x253b91(0x16e)](_0x337807[_0x253b91(0x152)],_0x253b91(0x170),(_0xbcb63,_0x128729)=>{const _0x27dbd5=_0x253b91,_0x1c1e9d=this[_0x27dbd5(0x12a)][_0x27dbd5(0x134)](_0x5e722a=>{const _0x1a17d9=_0x27dbd5,_0x28c8dd=_0xafe5d7[_0x1a17d9(0x13a)][_0x1a17d9(0x133)](_0x5e722a);return _0x28c8dd&&_0x128729[_0x1a17d9(0x16c)]===_0x28c8dd[_0x1a17d9(0x148)];});if(_0x1c1e9d){const _0x47a0b1=this[_0x27dbd5(0x137)](_0x1c1e9d[_0x27dbd5(0x129)]);this[_0x27dbd5(0x140)](_0x128729,_0x47a0b1),this[_0x27dbd5(0x12a)][_0x27dbd5(0x16b)](this[_0x27dbd5(0x12a)][_0x27dbd5(0x168)](_0x1c1e9d),0x1);}}),this[_0x253b91(0x16e)](_0x288cf1[_0x253b91(0x147)],_0x253b91(0x151),(_0x1e8d89,_0x3a2a80)=>{const _0x51520b=_0x253b91,_0x4b5221=_0x8fec5c[_0x51520b(0x144)][_0x51520b(0x133)](_0x51520b(0x155));if(!_0x4b5221||_0x3a2a80[_0x51520b(0x158)]===_0x4b5221){if(this[_0x51520b(0x12a)][_0x51520b(0x13b)](_0x3a2a80))this[_0x51520b(0x12a)][_0x51520b(0x16b)](this[_0x51520b(0x12a)][_0x51520b(0x168)](_0x3a2a80),0x1);else{const _0x1bca03=_0xafe5d7[_0x51520b(0x13a)][_0x51520b(0x133)](_0x3a2a80),_0x3320dc=_0x337807[_0x51520b(0x145)](_0x1bca03[_0x51520b(0x148)]);this[_0x51520b(0x138)][_0x51520b(0x151)](_0x3320dc[_0x51520b(0x148)]),this[_0x51520b(0x165)](_0x3320dc),this[_0x51520b(0x165)](_0x3320dc[_0x51520b(0x135)]);}}}),this[_0x253b91(0x16e)](_0x337807[_0x253b91(0x152)],_0x253b91(0x170),(_0x335ffa,_0x14d2f8)=>{const _0x102349=_0x253b91;this[_0x102349(0x16e)](_0x14d2f8,_0x102349(0x12e),_0x262485);}),this[_0x253b91(0x16e)](_0x337807[_0x253b91(0x152)],_0x253b91(0x151),(_0x596992,_0x221efa)=>{const _0x6193dd=_0x253b91;this[_0x6193dd(0x165)](_0x221efa,_0x6193dd(0x12e),_0x262485);});}[_0x2e73c9(0x140)](_0x395f31,_0x23afa3){const _0x6bb64b=_0x2e73c9;this[_0x6bb64b(0x16e)](_0x395f31,_0x6bb64b(0x12c),_0x503a62=>{const _0x131f2e=_0x6bb64b;_0x503a62[_0x131f2e(0x166)]=!0x1,_0x503a62[_0x131f2e(0x13c)]();}),this[_0x6bb64b(0x138)][_0x6bb64b(0x170)](_0x395f31[_0x6bb64b(0x148)],_0x23afa3);}[_0x2e73c9(0x15a)](_0x2676ed){const _0x407804=_0x2e73c9,_0x29efd6=this[_0x407804(0x172)][_0x407804(0x173)][_0x407804(0x133)](_0x407804(0x14a)),_0x254e8f=this[_0x407804(0x172)][_0x407804(0x173)][_0x407804(0x133)](_0x407804(0x142)),_0x22316c=this[_0x407804(0x172)][_0x407804(0x144)][_0x407804(0x133)](_0x407804(0x155));if(!_0x22316c||_0x2676ed[_0x407804(0x158)]===_0x22316c){const _0x228df5=_0x29efd6[_0x407804(0x13a)][_0x407804(0x133)](_0x2676ed);if(!_0x228df5)return void this[_0x407804(0x12a)][_0x407804(0x12f)](_0x2676ed);const _0x3faa=this[_0x407804(0x137)](_0x2676ed[_0x407804(0x129)]),_0x3a0198=_0x254e8f[_0x407804(0x145)](_0x228df5[_0x407804(0x148)]);_0x3a0198[_0x407804(0x159)]&&_0x254e8f[_0x407804(0x146)][_0x407804(0x151)](_0x3a0198),this[_0x407804(0x140)](_0x3a0198,_0x3faa);}}[_0x2e73c9(0x137)](_0x16c5d3){const _0x368eeb=_0x2e73c9,_0x4117d4=this[_0x368eeb(0x172)][_0x368eeb(0x144)][_0x368eeb(0x133)](_0x368eeb(0x155)),_0x4af496=[...this[_0x368eeb(0x172)][_0x368eeb(0x173)][_0x368eeb(0x133)](_0x19eb9d)[_0x368eeb(0x147)]][_0x368eeb(0x15d)](_0x27840d=>_0x27840d[_0x368eeb(0x158)]===_0x4117d4)[_0x368eeb(0x157)](_0x262a75=>_0x262a75[_0x368eeb(0x129)]<_0x16c5d3);return _0x4af496<0x0||_0x4af496>this[_0x368eeb(0x138)][_0x368eeb(0x13f)]?this[_0x368eeb(0x138)][_0x368eeb(0x13f)]:_0x4af496-0x1;}[_0x2e73c9(0x14e)](){const _0xc9ec0b=_0x2e73c9,_0x271a9d=this[_0xc9ec0b(0x172)],_0x5f03ea=_0x271a9d[_0xc9ec0b(0x173)][_0xc9ec0b(0x133)](_0xc9ec0b(0x16d));this[_0xc9ec0b(0x15e)]||(this[_0xc9ec0b(0x15e)]=new _0x4c68a5(_0x271a9d[_0xc9ec0b(0x139)],this[_0xc9ec0b(0x138)])),_0xc9ec0b(0x15b)===_0x5f03ea['id']?_0x5f03ea[_0xc9ec0b(0x13d)]():_0x5f03ea[_0xc9ec0b(0x163)]({'id':_0xc9ec0b(0x15b),'title':_0x162a6d(_0x271a9d[_0xc9ec0b(0x139)],_0xc9ec0b(0x169)),'icon':_0x351f41,'hasCloseButton':!0x0,'content':this[_0xc9ec0b(0x15e)],'position':_0x1187bc[_0xc9ec0b(0x136)]});}[_0x2e73c9(0x176)](_0x4c41af,_0x398537=!0x1){const _0x3af83b=_0x2e73c9,_0x2b096d=this[_0x3af83b(0x172)][_0x3af83b(0x139)],_0x2520a3=this[_0x3af83b(0x172)][_0x3af83b(0x173)][_0x3af83b(0x133)](_0x3af83b(0x16d)),_0x28f839=new _0x4c41af(_0x2b096d);return _0x28f839[_0x3af83b(0x154)](_0x3af83b(0x141))['to'](this,_0x3af83b(0x141)),_0x28f839[_0x3af83b(0x154)](_0x3af83b(0x130))['to'](_0x2520a3,'id',_0x59cd39=>_0x3af83b(0x15b)===_0x59cd39),_0x28f839[_0x3af83b(0x14c)]({'label':_0x162a6d(_0x2b096d,_0x3af83b(0x169)),'icon':_0x351f41,'isToggleable':!0x0}),_0x398537&&(_0x28f839[_0x3af83b(0x171)]=!0x0),this[_0x3af83b(0x16e)](_0x28f839,_0x3af83b(0x162),()=>this[_0x3af83b(0x14e)]()),_0x28f839;}[_0x2e73c9(0x12d)]=_0x2e9f91=>{const _0x200a23=_0x2e73c9,_0x4606ae=_0x2e9f91[_0x200a23(0x131)];if(!this[_0x200a23(0x138)][_0x200a23(0x15f)](_0x4606ae[_0x200a23(0x148)]))return;const _0xb6ff22=this[_0x200a23(0x172)][_0x200a23(0x173)][_0x200a23(0x133)](_0x200a23(0x16d));_0xb6ff22[_0x200a23(0x149)]&&_0x200a23(0x15b)===_0xb6ff22['id']&&(_0xb6ff22[_0x200a23(0x13d)](),_0x2e9f91[_0x200a23(0x13c)]());};}
|