@ckeditor/ckeditor5-comments 46.1.1 → 47.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index-editor.css +2 -46
- package/dist/index.css +2 -48
- 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.d.ts +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.d.ts +0 -2
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +1 -5
- 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
- package/theme/comment.css +0 -12
- package/theme/commentthread.css +2 -38
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32c621=_0x4d4f;function _0x1425(){const _0xaf4c52=['add','element','setContainer','target','length','_alignForTopChange','_getTargetTop','_detachFromContainer','sidebar.container','listenTo','2lSOGdH','container','6785272lNZisM','_getItemBefore','sidebar.preventScrollOutOfView','822114gbedNl','clear','_setItemTop','updateHeight','object','1009290MGfDyL','init','bottom','targetRect','Sidebar','change:targetRect','change:bottom','bind','getSidebarItemView','top','sidebar-setcontainer-invalid-element','nodeType','_annotations','pluginName','_alignAfterItem','_annotationToSidebarItemView','_alignToTargetRect','isOfficialPlugin','_getMaxAvailableTop','_recalculateBuffer','isPremiumPlugin','331570nZpRcg','delete','config','minHeight','_updateLastItem','getIndex','render','_destroySidebarItemView','class','set','content','remove','_recalculate','get','sidebar-attachtocontainer-missing-container','_lastItem','rearrange','_alignForBottomChange','change:_lastItem','1684332fRmglB','stopListening','push','_spaceBetweenItems','refresh','isAnimationDisabled','locale','_targetTop','_createSidebarView','_sidebarItemViewToAnnotation','max','371884fHUpIw','_activeAnnotation','isActive','_getItemAfter','unbind','_alignBeforeItem','addAnnotation','height','destroy','appendChild','context','1561952yqdGAo','define','last','_attachToContainer','view','change:top','list'];_0x1425=function(){return _0xaf4c52;};return _0x1425();}(function(_0xaff2c1,_0x55abcd){const _0x5dd26=_0x4d4f,_0x41b8a6=_0xaff2c1();while(!![]){try{const _0x2b2ce8=-parseInt(_0x5dd26(0xb0))/0x1*(parseInt(_0x5dd26(0x94))/0x2)+-parseInt(_0x5dd26(0xba))/0x3+parseInt(_0x5dd26(0x89))/0x4+parseInt(_0x5dd26(0x76))/0x5+-parseInt(_0x5dd26(0xb5))/0x6+-parseInt(_0x5dd26(0x9f))/0x7+parseInt(_0x5dd26(0xb2))/0x8;if(_0x2b2ce8===_0x55abcd)break;else _0x41b8a6['push'](_0x41b8a6['shift']());}catch(_0x57bceb){_0x41b8a6['push'](_0x41b8a6['shift']());}}}(_0x1425,0x4134f));import{ContextPlugin as _0x52e659}from'ckeditor5/src/core.js';import{Rect as _0x440383,CKEditorError as _0x49c393}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x32595e}from'./view/sidebarview.js';function _0x4d4f(_0xa39a0b,_0x7a4926){const _0x1425b8=_0x1425();return _0x4d4f=function(_0x4d4fa8,_0x127718){_0x4d4fa8=_0x4d4fa8-0x71;let _0x10b9b4=_0x1425b8[_0x4d4fa8];return _0x10b9b4;},_0x4d4f(_0xa39a0b,_0x7a4926);}import{AnnotationsSidebarItemView as _0x1b5a98}from'./view/sidebaritemview.js';export class Sidebar extends _0x52e659{[_0x32c621(0xa3)];[_0x32c621(0x95)];[_0x32c621(0xc6)];[_0x32c621(0x8c)];[_0x32c621(0x92)];[_0x32c621(0xc9)];[_0x32c621(0x74)];static get[_0x32c621(0xc7)](){const _0x8b43c1=_0x32c621;return _0x8b43c1(0xbe);}static get[_0x32c621(0x72)](){return!0x0;}static get[_0x32c621(0x75)](){return!0x0;}constructor(_0x30f79a){const _0x455972=_0x32c621;super(_0x30f79a),this[_0x455972(0x7f)](_0x455972(0x85),void 0x0),this[_0x455972(0xa3)]=this[_0x455972(0x91)](),this[_0x455972(0x7f)](_0x455972(0xb1),null),this[_0x455972(0x8c)]=0x19,this[_0x455972(0x92)]=new Map(),this[_0x455972(0xc9)]=new Map(),this[_0x455972(0x9e)][_0x455972(0x78)][_0x455972(0xa0)](_0x455972(0xb4),!0x1),this[_0x455972(0xc6)]=null,this[_0x455972(0x95)]=null,this[_0x455972(0x74)]=[];}[_0x32c621(0xbb)](){const _0x262ee3=_0x32c621,_0x337f0b=this[_0x262ee3(0x9e)][_0x262ee3(0x78)][_0x262ee3(0x83)](_0x262ee3(0xae));_0x337f0b&&this[_0x262ee3(0xa8)](_0x337f0b);}[_0x32c621(0xa8)](_0x438a3c){const _0x21f1b1=_0x32c621;if(!g(_0x438a3c))throw new _0x49c393(_0x21f1b1(0xc4));this[_0x21f1b1(0xb1)]=_0x438a3c;}[_0x32c621(0xa2)]({viewClass:_0x5139bb='',spaceBetweenItems:_0x4fcee6=0x19}={}){const _0xb2c66c=_0x32c621;if(!g(this[_0xb2c66c(0xb1)]))throw new _0x49c393(_0xb2c66c(0x84),this);this[_0xb2c66c(0xb1)][_0xb2c66c(0x9d)](this[_0xb2c66c(0xa3)][_0xb2c66c(0xa7)]),this[_0xb2c66c(0xa3)][_0xb2c66c(0x7e)]=_0x5139bb,this[_0xb2c66c(0x8c)]=_0x4fcee6;}[_0x32c621(0x86)]({removedAnnotation:_0x2d60a4,previousAnnotation:_0x4d7c89,nextAnnotation:_0x57b0f7}){const _0x381585=_0x32c621,_0x1d89ec=this[_0x381585(0xc2)](_0x2d60a4);this[_0x381585(0xa3)][_0x381585(0xa5)][_0x381585(0x81)](_0x1d89ec),this[_0x381585(0x7d)](_0x2d60a4),_0x4d7c89&&this[_0x381585(0x71)](this[_0x381585(0xc2)](_0x4d7c89)),_0x57b0f7&&this[_0x381585(0x71)](this[_0x381585(0xc2)](_0x57b0f7)),this[_0x381585(0x7a)]();}[_0x32c621(0x8d)]({blurredAnnotation:_0x3b7ed9,activatedAnnotation:_0x5a1ddd,disableAnimationOnActivatedAnnotation:_0x71a426}){const _0x34188d=_0x32c621;if(this[_0x34188d(0x95)]=_0x5a1ddd,_0x3b7ed9){_0x3b7ed9[_0x34188d(0x96)]=!0x1;const _0x16c68a=this[_0x34188d(0xc2)](_0x3b7ed9);_0x16c68a&&_0x71a426&&(_0x16c68a[_0x34188d(0x8e)]=!0x1);}if(_0x5a1ddd){const _0x24e18e=this[_0x34188d(0xc2)](_0x5a1ddd);_0x24e18e&&(_0x5a1ddd[_0x34188d(0x96)]=!0x0,_0x71a426&&(_0x24e18e[_0x34188d(0x8e)]=!0x0,_0x24e18e[_0x34188d(0xc3)]+=0x1),this[_0x34188d(0x71)](_0x24e18e));}}[_0x32c621(0xad)](_0x1a5222){const _0x1f6390=_0x32c621;if(this[_0x1f6390(0xa3)][_0x1f6390(0xa7)][_0x1f6390(0x81)](),_0x1a5222){for(const _0x516703 of _0x1a5222)this[_0x1f6390(0x7d)](_0x516703);}this[_0x1f6390(0xa3)][_0x1f6390(0xa5)][_0x1f6390(0xb6)](),this[_0x1f6390(0xa3)][_0x1f6390(0x7e)]='',this[_0x1f6390(0x85)]=null;}[_0x32c621(0x9a)](_0x10434f,_0x1058f3){const _0x2d4689=_0x32c621;_0x1058f3||(_0x1058f3=_0x10434f[_0x2d4689(0xa3)]);const _0x10f117=new _0x1b5a98(this[_0x2d4689(0x9e)][_0x2d4689(0x8f)]);this[_0x2d4689(0x92)][_0x2d4689(0x7f)](_0x10f117,_0x10434f),this[_0x2d4689(0xc9)][_0x2d4689(0x7f)](_0x10434f,_0x10f117),_0x10f117[_0x2d4689(0x80)][_0x2d4689(0xa6)](_0x1058f3),this[_0x2d4689(0xaf)](_0x10434f[_0x2d4689(0xa3)],_0x2d4689(0xbf),(_0x296b4c,_0x2ec1a4,_0x352043)=>{const _0x36a4d8=_0x2d4689,_0x2cad46=this[_0x36a4d8(0xac)](_0x10434f,_0x352043);_0x10f117[_0x36a4d8(0x90)]!=_0x2cad46&&(_0x10f117[_0x36a4d8(0x90)]=_0x2cad46,this[_0x36a4d8(0xb7)](_0x10f117,_0x2cad46));}),this[_0x2d4689(0xaf)](_0x10f117,_0x2d4689(0xa4),()=>{const _0x373b8b=_0x2d4689;this[_0x373b8b(0x82)](_0x10f117,_0x373b8b(0xc3));}),this[_0x2d4689(0xaf)](_0x10f117,_0x2d4689(0xc0),()=>{const _0x56305c=_0x2d4689;this[_0x56305c(0x82)](_0x10f117,_0x56305c(0xbc));}),this[_0x2d4689(0x71)](_0x10f117);const _0x1cc3f8=this[_0x2d4689(0xb3)](_0x10f117);if(_0x1cc3f8)this[_0x2d4689(0xc8)](_0x1cc3f8,_0x10f117)||this[_0x2d4689(0x71)](_0x10f117);else this[_0x2d4689(0x71)](_0x10f117);return this[_0x2d4689(0x7a)](),this[_0x2d4689(0xa3)][_0x2d4689(0xa5)][_0x2d4689(0xa6)](_0x10f117),_0x10f117;}[_0x32c621(0xab)](_0x231881){const _0x1fa1c6=_0x32c621;if(!_0x231881[_0x1fa1c6(0x80)][_0x1fa1c6(0xaa)])return;const _0x5098a2=this[_0x1fa1c6(0xb3)](_0x231881);if(!_0x5098a2)return;const _0x3ec2b4=this[_0x1fa1c6(0x92)][_0x1fa1c6(0x83)](_0x5098a2),_0x410628=this[_0x1fa1c6(0x95)];_0x410628&&_0x410628===_0x3ec2b4?this[_0x1fa1c6(0xc8)](_0x5098a2,_0x231881):this[_0x1fa1c6(0x99)](_0x231881,_0x5098a2);}[_0x32c621(0x87)](_0x37ade2){const _0x169003=_0x32c621;if(!_0x37ade2[_0x169003(0x80)][_0x169003(0xaa)])return;const _0x549416=this[_0x169003(0x97)](_0x37ade2);if(!_0x549416)return;const _0x16face=this[_0x169003(0x92)][_0x169003(0x83)](_0x549416),_0x3d73ff=this[_0x169003(0x9e)][_0x169003(0x78)][_0x169003(0x83)](_0x169003(0xb4)),_0x3c2609=this[_0x169003(0x95)];_0x3c2609&&_0x3c2609===_0x16face&&_0x3d73ff?(this[_0x169003(0x99)](_0x549416,_0x37ade2),this[_0x169003(0xc8)](_0x37ade2,_0x549416)):_0x3c2609&&_0x3c2609===_0x16face?this[_0x169003(0x99)](_0x549416,_0x37ade2):this[_0x169003(0xc8)](_0x37ade2,_0x549416);}[_0x32c621(0x82)](_0x10f1ef,_0x4c0b4f){const _0x469abe=_0x32c621;0x0===this[_0x469abe(0x74)][_0x469abe(0xaa)]&&setTimeout(()=>{const _0x2e0ef9=_0x469abe;for(const {sidebarItemView:_0x4588ab,changedProp:_0x55e3f3}of this[_0x2e0ef9(0x74)])_0x2e0ef9(0xc3)===_0x55e3f3?this[_0x2e0ef9(0xab)](_0x4588ab):this[_0x2e0ef9(0x87)](_0x4588ab);this[_0x2e0ef9(0x74)]=[];},0xa),this[_0x469abe(0x74)][_0x469abe(0x8b)]({'sidebarItemView':_0x10f1ef,'changedProp':_0x4c0b4f});}[_0x32c621(0xc2)](_0x5a2264){const _0x166046=_0x32c621;return this[_0x166046(0xc9)][_0x166046(0x83)](_0x5a2264);}[_0x32c621(0x9c)](){const _0x56d33d=_0x32c621;this[_0x56d33d(0x8a)](),this[_0x56d33d(0xa3)][_0x56d33d(0x9c)]();}[_0x32c621(0x7d)](_0x456009){const _0x51f81d=_0x32c621,_0x1f10ba=this[_0x51f81d(0xc2)](_0x456009);this[_0x51f81d(0x8a)](_0x1f10ba),this[_0x51f81d(0x8a)](_0x456009[_0x51f81d(0xa3)]),_0x1f10ba[_0x51f81d(0x9c)](),this[_0x51f81d(0xc9)][_0x51f81d(0x77)](_0x456009),this[_0x51f81d(0x92)][_0x51f81d(0x77)](_0x1f10ba);}[_0x32c621(0x91)](){const _0x34ea40=_0x32c621,_0x10cd7a=new _0x32595e(this[_0x34ea40(0x9e)][_0x34ea40(0x8f)]);return _0x10cd7a[_0x34ea40(0x7c)](),this['on'](_0x34ea40(0x88),(_0x15fbd1,_0x47e975,_0x20b9e5,_0x5d94c4)=>{const _0x2fef28=_0x34ea40;_0x5d94c4&&_0x10cd7a[_0x2fef28(0x98)](_0x2fef28(0x79)),_0x20b9e5?_0x10cd7a[_0x2fef28(0xc1)](_0x2fef28(0x79))['to'](_0x20b9e5,_0x2fef28(0xbc)):_0x10cd7a[_0x2fef28(0x79)]=null;}),_0x10cd7a;}[_0x32c621(0x7a)](){const _0x103409=_0x32c621;this[_0x103409(0x85)]=this[_0x103409(0xc6)]?.[_0x103409(0xa1)]?this[_0x103409(0xc2)](this[_0x103409(0xc6)][_0x103409(0xa1)]):null;}[_0x32c621(0xb3)](_0x4babfc){const _0x10de12=_0x32c621,_0xe898c2=this[_0x10de12(0x92)][_0x10de12(0x83)](_0x4babfc),_0x10602b=_0xe898c2&&this[_0x10de12(0xc6)]?.[_0x10de12(0x83)](this[_0x10de12(0xc6)][_0x10de12(0x7b)](_0xe898c2)-0x1);return _0x10602b&&this[_0x10de12(0xc2)](_0x10602b)||null;}[_0x32c621(0x97)](_0x3bf1fa){const _0xbdfd9e=_0x32c621,_0x2b9496=this[_0xbdfd9e(0x92)][_0xbdfd9e(0x83)](_0x3bf1fa),_0x2f432f=_0x2b9496&&this[_0xbdfd9e(0xc6)]?.[_0xbdfd9e(0x83)](this[_0xbdfd9e(0xc6)][_0xbdfd9e(0x7b)](_0x2b9496)+0x1);return _0x2f432f&&this[_0xbdfd9e(0xc2)](_0x2f432f)||null;}[_0x32c621(0x99)](_0x2c6526,_0x3495f7){const _0x220c94=_0x32c621;_0x2c6526[_0x220c94(0xb8)]();const _0x376399=G(_0x3495f7[_0x220c94(0xbc)]+this[_0x220c94(0x8c)],_0x2c6526[_0x220c94(0xc3)]);return!!_0x376399&&(this[_0x220c94(0xb7)](_0x3495f7,_0x3495f7[_0x220c94(0xc3)]-_0x376399),!0x0);}[_0x32c621(0xc8)](_0x37d607,_0xb175ca){const _0xc2d44d=_0x32c621;_0x37d607[_0xc2d44d(0xb8)]();const _0x32f8c5=G(_0x37d607[_0xc2d44d(0xbc)]+this[_0xc2d44d(0x8c)],_0xb175ca[_0xc2d44d(0xc3)]);return!!_0x32f8c5&&(this[_0xc2d44d(0xb7)](_0xb175ca,_0xb175ca[_0xc2d44d(0xc3)]+_0x32f8c5,!0x1),!0x0);}[_0x32c621(0x71)](_0x224e45){const _0x19d090=_0x32c621,_0xe86df6=this[_0x19d090(0x92)][_0x19d090(0x83)](_0x224e45);if(!_0xe86df6||!_0xe86df6[_0x19d090(0xa9)]||!_0xe86df6[_0x19d090(0xbd)])return;const _0x2397da=this[_0x19d090(0xac)](_0xe86df6,_0xe86df6[_0x19d090(0xbd)]);this[_0x19d090(0xb7)](_0x224e45,_0x2397da);}[_0x32c621(0xac)](_0x3019bb,_0x4613f7){const _0xf2c181=_0x32c621;if(null===_0x4613f7)return 0x0;if(_0x3019bb[_0xf2c181(0xa9)]instanceof _0x440383)return _0x4613f7[_0xf2c181(0xc3)];{const _0x2d1888=new _0x440383(this[_0xf2c181(0xa3)][_0xf2c181(0xa7)])[_0xf2c181(0xc3)];return _0x4613f7[_0xf2c181(0xc3)]-_0x2d1888;}}[_0x32c621(0xb7)](_0x5bb614,_0x24998d,_0x4a8c45=this[_0x32c621(0x9e)][_0x32c621(0x78)][_0x32c621(0x83)](_0x32c621(0xb4))){const _0x3b7562=_0x32c621;_0x4a8c45&&(_0x24998d=Math[_0x3b7562(0x93)](_0x24998d,this[_0x3b7562(0x73)](_0x5bb614))),_0x5bb614[_0x3b7562(0xc3)]=_0x24998d;}[_0x32c621(0x73)](_0x374368){const _0x4e3d41=_0x32c621;let _0x16de02=this[_0x4e3d41(0xb3)](_0x374368),_0xc5b24b=0x0;for(;_0x16de02;)_0x16de02[_0x4e3d41(0xb8)](),_0xc5b24b+=this[_0x4e3d41(0x8c)]+_0x16de02[_0x4e3d41(0x9b)],_0x16de02=this[_0x4e3d41(0xb3)](_0x16de02);return _0xc5b24b;}}function G(_0x1fe996,_0x1642e1){const _0x5b7624=_0x32c621;return Math[_0x5b7624(0x93)](_0x1fe996-_0x1642e1,0x0);}function g(_0x16bfb6){const _0x4770aa=_0x32c621;return null!==_0x16bfb6&&_0x4770aa(0xb9)==typeof _0x16bfb6&&0x1===_0x16bfb6[_0x4770aa(0xc5)];}
|
|
23
|
+
const _0x461905=_0x4fc3;function _0x427f(){const _0x186ae9=['_spaceBetweenItems','max','change:bottom','25511530vrtRfl','destroy','clear','_setItemTop','init','pluginName','sidebar-setcontainer-invalid-element','getSidebarItemView','bottom','7948452YpOqrS','container','bind','getIndex','setContainer','2405080oyVdAI','appendChild','5CPfYmb','minHeight','_attachToContainer','_alignForBottomChange','_recalculateBuffer','last','1670HcuhBR','height','24mOhhmx','push','change:targetRect','_sidebarItemViewToAnnotation','change:top','458591jxMaCI','config','_annotationToSidebarItemView','_activeAnnotation','_getItemAfter','top','updateHeight','_updateLastItem','nodeType','listenTo','rearrange','4khgyOe','128265vnPFmW','isAnimationDisabled','render','_annotations','get','sidebar.preventScrollOutOfView','isPremiumPlugin','set','context','locale','remove','_getMaxAvailableTop','define','_getItemBefore','isOfficialPlugin','55665krFftD','sidebar.container','_alignToTargetRect','unbind','327348OZJAjg','isActive','_createSidebarView','_getTargetTop','_alignForTopChange','_recalculate','content','view','object','stopListening','sidebar-attachtocontainer-missing-container','Sidebar','_targetTop','length','target','addAnnotation','_detachFromContainer','delete','class','_alignBeforeItem','element','_lastItem','_destroySidebarItemView','targetRect','refresh','change:_lastItem','_alignAfterItem','add','list'];_0x427f=function(){return _0x186ae9;};return _0x427f();}(function(_0x119b90,_0x1ebce7){const _0x5f55ca=_0x4fc3,_0x13ba13=_0x119b90();while(!![]){try{const _0x41842e=parseInt(_0x5f55ca(0x1bf))/0x1*(parseInt(_0x5f55ca(0x1d3))/0x2)+-parseInt(_0x5f55ca(0x1c0))/0x3*(parseInt(_0x5f55ca(0x20b))/0x4)+-parseInt(_0x5f55ca(0x203))/0x5*(parseInt(_0x5f55ca(0x1fc))/0x6)+parseInt(_0x5f55ca(0x210))/0x7+parseInt(_0x5f55ca(0x201))/0x8+-parseInt(_0x5f55ca(0x1cf))/0x9*(parseInt(_0x5f55ca(0x209))/0xa)+parseInt(_0x5f55ca(0x1f3))/0xb;if(_0x41842e===_0x1ebce7)break;else _0x13ba13['push'](_0x13ba13['shift']());}catch(_0x807624){_0x13ba13['push'](_0x13ba13['shift']());}}}(_0x427f,0xb1393));import{ContextPlugin as _0x66d668}from'ckeditor5/src/core.js';import{Rect as _0x4cacf4,CKEditorError as _0x62c53a}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x541c47}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x57a66e}from'./view/sidebaritemview.js';export class Sidebar extends _0x66d668{[_0x461905(0x1da)];[_0x461905(0x1b7)];[_0x461905(0x1c3)];[_0x461905(0x1f0)];[_0x461905(0x20e)];[_0x461905(0x1b6)];[_0x461905(0x207)];static get[_0x461905(0x1f8)](){const _0x588d9f=_0x461905;return _0x588d9f(0x1de);}static get[_0x461905(0x1ce)](){return!0x0;}static get[_0x461905(0x1c6)](){return!0x0;}constructor(_0x44c6ba){const _0x473205=_0x461905;super(_0x44c6ba),this[_0x473205(0x1c7)](_0x473205(0x1e8),void 0x0),this[_0x473205(0x1da)]=this[_0x473205(0x1d5)](),this[_0x473205(0x1c7)](_0x473205(0x1fd),null),this[_0x473205(0x1f0)]=0x19,this[_0x473205(0x20e)]=new Map(),this[_0x473205(0x1b6)]=new Map(),this[_0x473205(0x1c8)][_0x473205(0x211)][_0x473205(0x1cc)](_0x473205(0x1c5),!0x1),this[_0x473205(0x1c3)]=null,this[_0x473205(0x1b7)]=null,this[_0x473205(0x207)]=[];}[_0x461905(0x1f7)](){const _0x70119c=_0x461905,_0x21a090=this[_0x70119c(0x1c8)][_0x70119c(0x211)][_0x70119c(0x1c4)](_0x70119c(0x1d0));_0x21a090&&this[_0x70119c(0x200)](_0x21a090);}[_0x461905(0x200)](_0x25aa2e){const _0x3b989a=_0x461905;if(!g(_0x25aa2e))throw new _0x62c53a(_0x3b989a(0x1f9));this[_0x3b989a(0x1fd)]=_0x25aa2e;}[_0x461905(0x205)]({viewClass:_0x1cbcfa='',spaceBetweenItems:_0x319b5f=0x19}={}){const _0x4202d6=_0x461905;if(!g(this[_0x4202d6(0x1fd)]))throw new _0x62c53a(_0x4202d6(0x1dd),this);this[_0x4202d6(0x1fd)][_0x4202d6(0x202)](this[_0x4202d6(0x1da)][_0x4202d6(0x1e7)]),this[_0x4202d6(0x1da)][_0x4202d6(0x1e5)]=_0x1cbcfa,this[_0x4202d6(0x1f0)]=_0x319b5f;}[_0x461905(0x1be)]({removedAnnotation:_0x2a5f1d,previousAnnotation:_0x2df6b0,nextAnnotation:_0x192a76}){const _0x489363=_0x461905,_0x5dff84=this[_0x489363(0x1fa)](_0x2a5f1d);this[_0x489363(0x1da)][_0x489363(0x1ef)][_0x489363(0x1ca)](_0x5dff84),this[_0x489363(0x1e9)](_0x2a5f1d),_0x2df6b0&&this[_0x489363(0x1d1)](this[_0x489363(0x1fa)](_0x2df6b0)),_0x192a76&&this[_0x489363(0x1d1)](this[_0x489363(0x1fa)](_0x192a76)),this[_0x489363(0x1bb)]();}[_0x461905(0x1eb)]({blurredAnnotation:_0x2a2756,activatedAnnotation:_0x39fd92,disableAnimationOnActivatedAnnotation:_0x52861c}){const _0x3832cb=_0x461905;if(this[_0x3832cb(0x1b7)]=_0x39fd92,_0x2a2756){_0x2a2756[_0x3832cb(0x1d4)]=!0x1;const _0x2d43a5=this[_0x3832cb(0x1fa)](_0x2a2756);_0x2d43a5&&_0x52861c&&(_0x2d43a5[_0x3832cb(0x1c1)]=!0x1);}if(_0x39fd92){const _0x508d9b=this[_0x3832cb(0x1fa)](_0x39fd92);_0x508d9b&&(_0x39fd92[_0x3832cb(0x1d4)]=!0x0,_0x52861c&&(_0x508d9b[_0x3832cb(0x1c1)]=!0x0,_0x508d9b[_0x3832cb(0x1b9)]+=0x1),this[_0x3832cb(0x1d1)](_0x508d9b));}}[_0x461905(0x1e3)](_0x280479){const _0xef1284=_0x461905;if(this[_0xef1284(0x1da)][_0xef1284(0x1e7)][_0xef1284(0x1ca)](),_0x280479){for(const _0x5a874d of _0x280479)this[_0xef1284(0x1e9)](_0x5a874d);}this[_0xef1284(0x1da)][_0xef1284(0x1ef)][_0xef1284(0x1f5)](),this[_0xef1284(0x1da)][_0xef1284(0x1e5)]='',this[_0xef1284(0x1e8)]=null;}[_0x461905(0x1e2)](_0x5d0889,_0x5a684e){const _0x5e8194=_0x461905;_0x5a684e||(_0x5a684e=_0x5d0889[_0x5e8194(0x1da)]);const _0x378f60=new _0x57a66e(this[_0x5e8194(0x1c8)][_0x5e8194(0x1c9)]);this[_0x5e8194(0x20e)][_0x5e8194(0x1c7)](_0x378f60,_0x5d0889),this[_0x5e8194(0x1b6)][_0x5e8194(0x1c7)](_0x5d0889,_0x378f60),_0x378f60[_0x5e8194(0x1d9)][_0x5e8194(0x1ee)](_0x5a684e),this[_0x5e8194(0x1bd)](_0x5d0889[_0x5e8194(0x1da)],_0x5e8194(0x20d),(_0x14b997,_0x3b1b01,_0x3c9495)=>{const _0x3fa2af=_0x5e8194,_0x28b96c=this[_0x3fa2af(0x1d6)](_0x5d0889,_0x3c9495);_0x378f60[_0x3fa2af(0x1df)]!=_0x28b96c&&(_0x378f60[_0x3fa2af(0x1df)]=_0x28b96c,this[_0x3fa2af(0x1f6)](_0x378f60,_0x28b96c));}),this[_0x5e8194(0x1bd)](_0x378f60,_0x5e8194(0x20f),()=>{const _0x588467=_0x5e8194;this[_0x588467(0x1d8)](_0x378f60,_0x588467(0x1b9));}),this[_0x5e8194(0x1bd)](_0x378f60,_0x5e8194(0x1f2),()=>{const _0x426b69=_0x5e8194;this[_0x426b69(0x1d8)](_0x378f60,_0x426b69(0x1fb));}),this[_0x5e8194(0x1d1)](_0x378f60);const _0x51ec24=this[_0x5e8194(0x1cd)](_0x378f60);if(_0x51ec24)this[_0x5e8194(0x1ed)](_0x51ec24,_0x378f60)||this[_0x5e8194(0x1d1)](_0x378f60);else this[_0x5e8194(0x1d1)](_0x378f60);return this[_0x5e8194(0x1bb)](),this[_0x5e8194(0x1da)][_0x5e8194(0x1ef)][_0x5e8194(0x1ee)](_0x378f60),_0x378f60;}[_0x461905(0x1d7)](_0x42b66a){const _0x1cf1f8=_0x461905;if(!_0x42b66a[_0x1cf1f8(0x1d9)][_0x1cf1f8(0x1e0)])return;const _0x183501=this[_0x1cf1f8(0x1cd)](_0x42b66a);if(!_0x183501)return;const _0x44ed8e=this[_0x1cf1f8(0x20e)][_0x1cf1f8(0x1c4)](_0x183501),_0x12fc93=this[_0x1cf1f8(0x1b7)];_0x12fc93&&_0x12fc93===_0x44ed8e?this[_0x1cf1f8(0x1ed)](_0x183501,_0x42b66a):this[_0x1cf1f8(0x1e6)](_0x42b66a,_0x183501);}[_0x461905(0x206)](_0x37d4cc){const _0x5f3a13=_0x461905;if(!_0x37d4cc[_0x5f3a13(0x1d9)][_0x5f3a13(0x1e0)])return;const _0x3e2840=this[_0x5f3a13(0x1b8)](_0x37d4cc);if(!_0x3e2840)return;const _0x37a93e=this[_0x5f3a13(0x20e)][_0x5f3a13(0x1c4)](_0x3e2840),_0x1e8973=this[_0x5f3a13(0x1c8)][_0x5f3a13(0x211)][_0x5f3a13(0x1c4)](_0x5f3a13(0x1c5)),_0x419d43=this[_0x5f3a13(0x1b7)];_0x419d43&&_0x419d43===_0x37a93e&&_0x1e8973?(this[_0x5f3a13(0x1e6)](_0x3e2840,_0x37d4cc),this[_0x5f3a13(0x1ed)](_0x37d4cc,_0x3e2840)):_0x419d43&&_0x419d43===_0x37a93e?this[_0x5f3a13(0x1e6)](_0x3e2840,_0x37d4cc):this[_0x5f3a13(0x1ed)](_0x37d4cc,_0x3e2840);}[_0x461905(0x1d8)](_0x20105f,_0x5dea66){const _0x22301c=_0x461905;0x0===this[_0x22301c(0x207)][_0x22301c(0x1e0)]&&setTimeout(()=>{const _0x3caade=_0x22301c;for(const {sidebarItemView:_0x2613b6,changedProp:_0x1aab63}of this[_0x3caade(0x207)])_0x3caade(0x1b9)===_0x1aab63?this[_0x3caade(0x1d7)](_0x2613b6):this[_0x3caade(0x206)](_0x2613b6);this[_0x3caade(0x207)]=[];},0xa),this[_0x22301c(0x207)][_0x22301c(0x20c)]({'sidebarItemView':_0x20105f,'changedProp':_0x5dea66});}[_0x461905(0x1fa)](_0x3ce6ea){const _0x58e922=_0x461905;return this[_0x58e922(0x1b6)][_0x58e922(0x1c4)](_0x3ce6ea);}[_0x461905(0x1f4)](){const _0x14f349=_0x461905;this[_0x14f349(0x1dc)](),this[_0x14f349(0x1da)][_0x14f349(0x1f4)]();}[_0x461905(0x1e9)](_0x5847eb){const _0x19a4e8=_0x461905,_0x5a7749=this[_0x19a4e8(0x1fa)](_0x5847eb);this[_0x19a4e8(0x1dc)](_0x5a7749),this[_0x19a4e8(0x1dc)](_0x5847eb[_0x19a4e8(0x1da)]),_0x5a7749[_0x19a4e8(0x1f4)](),this[_0x19a4e8(0x1b6)][_0x19a4e8(0x1e4)](_0x5847eb),this[_0x19a4e8(0x20e)][_0x19a4e8(0x1e4)](_0x5a7749);}[_0x461905(0x1d5)](){const _0x52507f=_0x461905,_0x5ae48a=new _0x541c47(this[_0x52507f(0x1c8)][_0x52507f(0x1c9)]);return _0x5ae48a[_0x52507f(0x1c2)](),this['on'](_0x52507f(0x1ec),(_0x26ec39,_0x3dc600,_0x2852f6,_0x12541b)=>{const _0x2cfecf=_0x52507f;_0x12541b&&_0x5ae48a[_0x2cfecf(0x1d2)](_0x2cfecf(0x204)),_0x2852f6?_0x5ae48a[_0x2cfecf(0x1fe)](_0x2cfecf(0x204))['to'](_0x2852f6,_0x2cfecf(0x1fb)):_0x5ae48a[_0x2cfecf(0x204)]=null;}),_0x5ae48a;}[_0x461905(0x1bb)](){const _0x1ae744=_0x461905;this[_0x1ae744(0x1e8)]=this[_0x1ae744(0x1c3)]?.[_0x1ae744(0x208)]?this[_0x1ae744(0x1fa)](this[_0x1ae744(0x1c3)][_0x1ae744(0x208)]):null;}[_0x461905(0x1cd)](_0xba94ec){const _0x4ef560=_0x461905,_0x3b283a=this[_0x4ef560(0x20e)][_0x4ef560(0x1c4)](_0xba94ec),_0x4ec63b=_0x3b283a&&this[_0x4ef560(0x1c3)]?.[_0x4ef560(0x1c4)](this[_0x4ef560(0x1c3)][_0x4ef560(0x1ff)](_0x3b283a)-0x1);return _0x4ec63b&&this[_0x4ef560(0x1fa)](_0x4ec63b)||null;}[_0x461905(0x1b8)](_0x3cbdfe){const _0xbca7e5=_0x461905,_0x3fb792=this[_0xbca7e5(0x20e)][_0xbca7e5(0x1c4)](_0x3cbdfe),_0x5333ad=_0x3fb792&&this[_0xbca7e5(0x1c3)]?.[_0xbca7e5(0x1c4)](this[_0xbca7e5(0x1c3)][_0xbca7e5(0x1ff)](_0x3fb792)+0x1);return _0x5333ad&&this[_0xbca7e5(0x1fa)](_0x5333ad)||null;}[_0x461905(0x1e6)](_0x91e8d1,_0x59afc0){const _0x40a3ed=_0x461905;_0x91e8d1[_0x40a3ed(0x1ba)]();const _0x4c053a=G(_0x59afc0[_0x40a3ed(0x1fb)]+this[_0x40a3ed(0x1f0)],_0x91e8d1[_0x40a3ed(0x1b9)]);return!!_0x4c053a&&(this[_0x40a3ed(0x1f6)](_0x59afc0,_0x59afc0[_0x40a3ed(0x1b9)]-_0x4c053a),!0x0);}[_0x461905(0x1ed)](_0x319443,_0xa3c7c){const _0xe05626=_0x461905;_0x319443[_0xe05626(0x1ba)]();const _0x3bd67b=G(_0x319443[_0xe05626(0x1fb)]+this[_0xe05626(0x1f0)],_0xa3c7c[_0xe05626(0x1b9)]);return!!_0x3bd67b&&(this[_0xe05626(0x1f6)](_0xa3c7c,_0xa3c7c[_0xe05626(0x1b9)]+_0x3bd67b,!0x1),!0x0);}[_0x461905(0x1d1)](_0x4a0910){const _0x1366fe=_0x461905,_0x3cb8a2=this[_0x1366fe(0x20e)][_0x1366fe(0x1c4)](_0x4a0910);if(!_0x3cb8a2||!_0x3cb8a2[_0x1366fe(0x1e1)]||!_0x3cb8a2[_0x1366fe(0x1ea)])return;const _0x5d564c=this[_0x1366fe(0x1d6)](_0x3cb8a2,_0x3cb8a2[_0x1366fe(0x1ea)]);this[_0x1366fe(0x1f6)](_0x4a0910,_0x5d564c);}[_0x461905(0x1d6)](_0x56638e,_0x281c77){const _0xa6cdf=_0x461905;if(null===_0x281c77)return 0x0;if(_0x56638e[_0xa6cdf(0x1e1)]instanceof _0x4cacf4)return _0x281c77[_0xa6cdf(0x1b9)];{const _0x4e5cfd=new _0x4cacf4(this[_0xa6cdf(0x1da)][_0xa6cdf(0x1e7)])[_0xa6cdf(0x1b9)];return _0x281c77[_0xa6cdf(0x1b9)]-_0x4e5cfd;}}[_0x461905(0x1f6)](_0x93402e,_0x194f40,_0x418100=this[_0x461905(0x1c8)][_0x461905(0x211)][_0x461905(0x1c4)](_0x461905(0x1c5))){const _0x356adb=_0x461905;_0x418100&&(_0x194f40=Math[_0x356adb(0x1f1)](_0x194f40,this[_0x356adb(0x1cb)](_0x93402e))),_0x93402e[_0x356adb(0x1b9)]=_0x194f40;}[_0x461905(0x1cb)](_0xdcced7){const _0x30f92e=_0x461905;let _0x1d7b37=this[_0x30f92e(0x1cd)](_0xdcced7),_0x350e6a=0x0;for(;_0x1d7b37;)_0x1d7b37[_0x30f92e(0x1ba)](),_0x350e6a+=this[_0x30f92e(0x1f0)]+_0x1d7b37[_0x30f92e(0x20a)],_0x1d7b37=this[_0x30f92e(0x1cd)](_0x1d7b37);return _0x350e6a;}}function G(_0x19fd95,_0x7492a9){const _0x343547=_0x461905;return Math[_0x343547(0x1f1)](_0x19fd95-_0x7492a9,0x0);}function _0x4fc3(_0x56b910,_0x4fd44e){const _0x427f4f=_0x427f();return _0x4fc3=function(_0x4fc338,_0x1fd0c5){_0x4fc338=_0x4fc338-0x1b6;let _0x16175a=_0x427f4f[_0x4fc338];return _0x16175a;},_0x4fc3(_0x56b910,_0x4fd44e);}function g(_0x572d1f){const _0x46ea0b=_0x461905;return null!==_0x572d1f&&_0x46ea0b(0x1db)==typeof _0x572d1f&&0x1===_0x572d1f[_0x46ea0b(0x1bc)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x50e8(){const _0x4dc8e3=['isDirty','span','counterView','32488ueYBtt','67941eWfUQZ','1348718NYFqyk','925500BScSWl','...','bind','ck-annotation-counter','ck-annotation-counter__badge','children','bindTemplate','ck-annotation-counter__badge--edit-mode','annotationType','35VVVGAo','extendTemplate','536571jWYzsB','set','add','icon','632PcZZnc','_badge','10851520IxaKZa','number','ck-annotation-counter__badge--','toString','6JHmFuF','448884imSCXi','setTemplate'];_0x50e8=function(){return _0x4dc8e3;};return _0x50e8();}const _0x20c993=_0x4125;(function(_0x4feac4,_0x4b7f76){const _0xc0b184=_0x4125,_0x54ca05=_0x4feac4();while(!![]){try{const _0x5a72f1=-parseInt(_0xc0b184(0x14e))/0x1+parseInt(_0xc0b184(0x156))/0x2+-parseInt(_0xc0b184(0x161))/0x3+-parseInt(_0xc0b184(0x153))/0x4*(-parseInt(_0xc0b184(0x15f))/0x5)+parseInt(_0xc0b184(0x14d))/0x6*(parseInt(_0xc0b184(0x155))/0x7)+-parseInt(_0xc0b184(0x165))/0x8*(parseInt(_0xc0b184(0x154))/0x9)+parseInt(_0xc0b184(0x167))/0xa;if(_0x5a72f1===_0x4b7f76)break;else _0x54ca05['push'](_0x54ca05['shift']());}catch(_0x4d2255){_0x54ca05['push'](_0x54ca05['shift']());}}}(_0x50e8,0x8bf86));function _0x4125(_0x40af73,_0x206267){const _0x50e83a=_0x50e8();return _0x4125=function(_0x412533,_0x6b9060){_0x412533=_0x412533-0x14d;let _0x158a59=_0x50e83a[_0x412533];return _0x158a59;},_0x4125(_0x40af73,_0x206267);}import{ButtonView as _0x4ec3b1,View as _0x51ef66}from'ckeditor5/src/ui.js';import{IconAddComment as _0x1bd918}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x4ec3b1{[_0x20c993(0x152)];constructor(_0x5b7fa8){const _0x407659=_0x20c993;super(_0x5b7fa8);const _0x5afb52=this[_0x407659(0x15c)];this[_0x407659(0x162)](_0x407659(0x150),!0x1),this[_0x407659(0x162)](_0x407659(0x168),0x0),this[_0x407659(0x158)](_0x407659(0x166))['to'](this,_0x407659(0x150),this,_0x407659(0x168),(_0x3102a2,_0x185a18)=>_0x3102a2?_0x407659(0x157):_0x185a18[_0x407659(0x16a)]()),this[_0x407659(0x162)](_0x407659(0x15e),''),this[_0x407659(0x164)]=_0x1bd918,this[_0x407659(0x160)]({'attributes':{'class':[_0x407659(0x159)]}}),this[_0x407659(0x152)]=new _0x51ef66(),this[_0x407659(0x152)][_0x407659(0x14f)]({'tag':_0x407659(0x151),'attributes':{'class':[_0x407659(0x15a),_0x5afb52['to'](_0x407659(0x15e),_0x17a5af=>_0x407659(0x169)+_0x17a5af),_0x5afb52['if'](_0x407659(0x150),_0x407659(0x15d))]},'children':[{'text':_0x5afb52['to'](_0x407659(0x166))}]}),this[_0x407659(0x15b)][_0x407659(0x163)](this[_0x407659(0x152)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x515a60=_0x60d5;(function(_0x4817bd,_0x4d7709){const _0x1962ac=_0x60d5,_0x21c274=_0x4817bd();while(!![]){try{const _0x2df038=-parseInt(_0x1962ac(0x17b))/0x1*(-parseInt(_0x1962ac(0x17e))/0x2)+parseInt(_0x1962ac(0x164))/0x3+-parseInt(_0x1962ac(0x166))/0x4*(-parseInt(_0x1962ac(0x17c))/0x5)+parseInt(_0x1962ac(0x154))/0x6+-parseInt(_0x1962ac(0x153))/0x7+-parseInt(_0x1962ac(0x157))/0x8*(parseInt(_0x1962ac(0x159))/0x9)+-parseInt(_0x1962ac(0x15c))/0xa;if(_0x2df038===_0x4d7709)break;else _0x21c274['push'](_0x21c274['shift']());}catch(_0x5addd9){_0x21c274['push'](_0x21c274['shift']());}}}(_0x2fee,0x41bcc));function _0x2fee(){const _0x360f4f=['1478092wIjdTI','1113252ueqCPd','ck-annotation-wrapper--active','delegate','24DOKumz','isDirty','901917mOHMiU','_mutationObserver','add','1112000NvEPNA','render','createCollection','focusTracker','presentation','focus','targetRect','detach','1558851GrUyBL','clear','24eQaqAj','arrowup','listenTo','div','keystrokes','_updateHeight','fire','height','bindTemplate','mainView','set','arrowdown','isActive','destroy','setTemplate','content','Esc','element','ck-rounded-corners','clientHeight','attach','109DrLbXp','155005TKUPor','first','20ogvZvP','ck-annotation-wrapper','type','length'];_0x2fee=function(){return _0x360f4f;};return _0x2fee();}import{View as _0x1244a0}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1bd0e5,KeystrokeHandler as _0x59673d,uid as _0x25f7d5}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x49d0de}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x60d5(_0x11f7b3,_0x940d4){const _0x2fee8d=_0x2fee();return _0x60d5=function(_0x60d58d,_0x57647e){_0x60d58d=_0x60d58d-0x150;let _0x1e49da=_0x2fee8d[_0x60d58d];return _0x1e49da;},_0x60d5(_0x11f7b3,_0x940d4);}export class AnnotationView extends _0x1244a0{[_0x515a60(0x15f)];['id'];[_0x515a60(0x16a)];[_0x515a60(0x175)];[_0x515a60(0x16f)];[_0x515a60(0x15a)];constructor(_0x1ed891,_0x3fd91d){const _0x3981b5=_0x515a60;super(_0x1ed891),this['id']=_0x25f7d5(),this[_0x3981b5(0x15f)]=new _0x1bd0e5(),this[_0x3981b5(0x16a)]=new _0x59673d(),this[_0x3981b5(0x16a)][_0x3981b5(0x170)](_0x3981b5(0x176),(_0x2e4a69,_0x3b2f55)=>this[_0x3981b5(0x16c)](_0x3981b5(0x176),_0x3b2f55)),this[_0x3981b5(0x170)](_0x3981b5(0x162),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x3981b5(0x170)](_0x3981b5(0x16d),0x0),this[_0x3981b5(0x170)](_0x3981b5(0x172),!0x1),this[_0x3981b5(0x170)](_0x3981b5(0x158),!0x1),this[_0x3981b5(0x170)](_0x3981b5(0x152),0x0),this[_0x3981b5(0x170)](_0x3981b5(0x151),''),this[_0x3981b5(0x15a)]=_0x49d0de(()=>this[_0x3981b5(0x16b)]()),this[_0x3981b5(0x175)]=this[_0x3981b5(0x15e)](),this[_0x3981b5(0x175)][_0x3981b5(0x156)](_0x3981b5(0x167),_0x3981b5(0x171))['to'](this),this[_0x3981b5(0x175)][_0x3981b5(0x15b)](_0x3fd91d),this[_0x3981b5(0x16f)]=_0x3fd91d;const _0x5eb34b=this[_0x3981b5(0x16e)];this[_0x3981b5(0x174)]({'tag':_0x3981b5(0x169),'attributes':{'class':['ck',_0x3981b5(0x150),_0x3981b5(0x178),_0x5eb34b['if'](_0x3981b5(0x172),_0x3981b5(0x155))],'role':_0x3981b5(0x160)},'children':this[_0x3981b5(0x175)]});}[_0x515a60(0x15d)](){const _0x172a5d=_0x515a60;super[_0x172a5d(0x15d)](),this[_0x172a5d(0x15f)][_0x172a5d(0x15b)](this[_0x172a5d(0x177)]),this[_0x172a5d(0x16a)][_0x172a5d(0x168)](this[_0x172a5d(0x177)]),this[_0x172a5d(0x15a)][_0x172a5d(0x17a)](this[_0x172a5d(0x177)]);}[_0x515a60(0x173)](){const _0x2cf163=_0x515a60;this[_0x2cf163(0x175)][_0x2cf163(0x165)](),this[_0x2cf163(0x16a)][_0x2cf163(0x173)](),this[_0x2cf163(0x15f)][_0x2cf163(0x173)](),this[_0x2cf163(0x15a)][_0x2cf163(0x163)](),super[_0x2cf163(0x173)]();}[_0x515a60(0x161)](){const _0x3cb69a=_0x515a60;this[_0x3cb69a(0x175)][_0x3cb69a(0x17d)]&&this[_0x3cb69a(0x175)][_0x3cb69a(0x17d)][_0x3cb69a(0x161)]();}[_0x515a60(0x16b)](){const _0x382b19=_0x515a60,_0x2bac1d=this[_0x382b19(0x177)][_0x382b19(0x179)];_0x2bac1d&&(this[_0x382b19(0x16d)]=_0x2bac1d);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3674b4=_0x4eac;(function(_0x496e6f,_0x31e8c2){const _0x4ba5ca=_0x4eac,_0x2ae6d7=_0x496e6f();while(!![]){try{const _0x3cfc71=parseInt(_0x4ba5ca(0x130))/0x1*(parseInt(_0x4ba5ca(0x13f))/0x2)+parseInt(_0x4ba5ca(0x136))/0x3*(parseInt(_0x4ba5ca(0x125))/0x4)+-parseInt(_0x4ba5ca(0x145))/0x5+-parseInt(_0x4ba5ca(0x13b))/0x6+-parseInt(_0x4ba5ca(0x146))/0x7+-parseInt(_0x4ba5ca(0x132))/0x8+parseInt(_0x4ba5ca(0x133))/0x9;if(_0x3cfc71===_0x31e8c2)break;else _0x2ae6d7['push'](_0x2ae6d7['shift']());}catch(_0x342c53){_0x2ae6d7['push'](_0x2ae6d7['shift']());}}}(_0xb3d2,0x3d2f6));import{View as _0x16bafd}from'ckeditor5/src/ui.js';function _0x4eac(_0x2eaa12,_0x1151d3){const _0xb3d2d2=_0xb3d2();return _0x4eac=function(_0x4eac94,_0xa6712c){_0x4eac94=_0x4eac94-0x125;let _0x1f9879=_0xb3d2d2[_0x4eac94];return _0x1f9879;},_0x4eac(_0x2eaa12,_0x1151d3);}import{toUnit as _0x45019b}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x25637f}from'../../utils/createmutationobserver.js';function _0xb3d2(){const _0x4e4edf=['19827xiongf','arrowdown','1322640FlNCRv','4040343YlXDXj','isAnimationDisabled','focus','3pvRDjx','clientHeight','detach','delegate','arrowup','2445636MntbNS','bind','element','attach','26iMXgtJ','destroy','updateHeight','_mutationObserver','div','bindTemplate','729775cBpqVE','887264vYxMfw','setTemplate','content','bottom','first','1558316nBsPbu','createCollection','render','clear','ck-sidebar-item','_targetTop','height','top','presentation','set','ck-sidebar-item--no-animation'];_0xb3d2=function(){return _0x4e4edf;};return _0xb3d2();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x45019b('px');export class AnnotationsSidebarItemView extends _0x16bafd{[_0x3674b4(0x148)];[_0x3674b4(0x12a)];[_0x3674b4(0x142)];constructor(_0x16ec9c){const _0xeb98cf=_0x3674b4;super(_0x16ec9c),this[_0xeb98cf(0x12e)](_0xeb98cf(0x12c),0x0),this[_0xeb98cf(0x12e)](_0xeb98cf(0x12b),0x0),this[_0xeb98cf(0x13c)](_0xeb98cf(0x149))['to'](this,_0xeb98cf(0x12c),this,_0xeb98cf(0x12b),(_0x5cf6f4,_0x2e6ad6)=>_0x5cf6f4+_0x2e6ad6),this[_0xeb98cf(0x12e)](_0xeb98cf(0x134),!0x1),this[_0xeb98cf(0x142)]=_0x25637f(()=>this[_0xeb98cf(0x141)]()),this[_0xeb98cf(0x12a)]=null,this[_0xeb98cf(0x148)]=this[_0xeb98cf(0x126)](),this[_0xeb98cf(0x148)][_0xeb98cf(0x139)](_0xeb98cf(0x13a),_0xeb98cf(0x131))['to'](this);const _0x3597ab=this[_0xeb98cf(0x144)];this[_0xeb98cf(0x147)]({'tag':_0xeb98cf(0x143),'attributes':{'class':[_0xeb98cf(0x129),_0x3597ab['to'](_0xeb98cf(0x134),_0x5b612d=>_0x5b612d?_0xeb98cf(0x12f):'')],'style':{'top':_0x3597ab['to'](_0xeb98cf(0x12c),_0x48a79c=>Ot(_0x48a79c))},'role':_0xeb98cf(0x12d)},'children':this[_0xeb98cf(0x148)]});}[_0x3674b4(0x127)](){const _0x157cbc=_0x3674b4;super[_0x157cbc(0x127)](),this[_0x157cbc(0x142)][_0x157cbc(0x13e)](this[_0x157cbc(0x13d)]);}[_0x3674b4(0x135)](){const _0x2cd917=_0x3674b4;this[_0x2cd917(0x148)][_0x2cd917(0x14a)]&&this[_0x2cd917(0x148)][_0x2cd917(0x14a)][_0x2cd917(0x135)]();}[_0x3674b4(0x141)](){const _0x4fcc31=_0x3674b4,_0x111a23=this[_0x4fcc31(0x13d)][_0x4fcc31(0x137)];_0x111a23&&(this[_0x4fcc31(0x12b)]=_0x111a23);}[_0x3674b4(0x140)](){const _0x81578a=_0x3674b4;this[_0x81578a(0x148)][_0x81578a(0x128)](),this[_0x81578a(0x142)][_0x81578a(0x138)](),super[_0x81578a(0x140)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x17d4db=_0x3cd7;(function(_0x3ac4a4,_0x494fb8){const _0x3042ff=_0x3cd7,_0x2b92c1=_0x3ac4a4();while(!![]){try{const _0x3592ae=parseInt(_0x3042ff(0x139))/0x1+parseInt(_0x3042ff(0x121))/0x2+-parseInt(_0x3042ff(0x11a))/0x3+-parseInt(_0x3042ff(0x130))/0x4+-parseInt(_0x3042ff(0x138))/0x5*(-parseInt(_0x3042ff(0x122))/0x6)+-parseInt(_0x3042ff(0x10d))/0x7+parseInt(_0x3042ff(0x11f))/0x8;if(_0x3592ae===_0x494fb8)break;else _0x2b92c1['push'](_0x2b92c1['shift']());}catch(_0x16c6e7){_0x2b92c1['push'](_0x2b92c1['shift']());}}}(_0x68c1,0xcb192));function _0x3cd7(_0x5edcda,_0x28359c){const _0x68c1d7=_0x68c1();return _0x3cd7=function(_0x3cd79f,_0x47a40c){_0x3cd79f=_0x3cd79f-0x10c;let _0x181d09=_0x68c1d7[_0x3cd79f];return _0x181d09;},_0x3cd7(_0x5edcda,_0x28359c);}import{View as _0x2c0dc0,FocusCycler as _0x1aabc1}from'ckeditor5/src/ui.js';import{FocusTracker as _0x13741c,toUnit as _0x5b32e5}from'ckeditor5/src/utils.js';function _0x68c1(){const _0x659892=['bindTemplate','ck-reset','focusCycler','getIndex','23156048UxiBoM','removed','990252wwRBVn','24qbhwZm','list','length','focusPrevious','focusTracker','listenTo','_setupKeyboardNavigation','application','added','focus','ck-sidebar','top','focusables','arrowdown','2672120ibrnmK','delegate','div','uiLanguageDirection','class','add','focusNext','remove','1009230qhZQmC','176639VDmyJR','change:top','set','number','element','9169034ZKesyf','forEach','arrowup','focusFirst','render','_updateItemPositionInFocusables','change','source','createCollection','setTemplate','Annotations\x20list','minHeight','Annotations\x20sidebar','4691619RfXgSO'];_0x68c1=function(){return _0x659892;};return _0x68c1();}import{getTranslation as _0x63c2b9}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5b32e5('px');export class AnnotationsSidebarView extends _0x2c0dc0{[_0x17d4db(0x123)];[_0x17d4db(0x12e)];[_0x17d4db(0x126)];[_0x17d4db(0x11d)];constructor(_0x592360){const _0x879acc=_0x17d4db;super(_0x592360);const _0x31af7b=this[_0x879acc(0x11b)];this[_0x879acc(0x13b)](_0x879acc(0x118),0x0),this[_0x879acc(0x13b)](_0x879acc(0x134),''),this[_0x879acc(0x123)]=this[_0x879acc(0x115)](),this[_0x879acc(0x12e)]=this[_0x879acc(0x115)](),this[_0x879acc(0x123)][_0x879acc(0x131)](_0x879acc(0x10f),_0x879acc(0x12f))['to'](this),this[_0x879acc(0x126)]=new _0x13741c(),this[_0x879acc(0x11d)]=new _0x1aabc1({'focusables':this[_0x879acc(0x12e)],'focusTracker':this[_0x879acc(0x126)]}),this[_0x879acc(0x116)]({'tag':_0x879acc(0x132),'attributes':{'class':['ck',_0x879acc(0x12c),_0x879acc(0x11c),_0x31af7b['to'](_0x879acc(0x134))],'style':{'minHeight':_0x31af7b['to'](_0x879acc(0x118),_0xb23302=>_0x879acc(0x13c)==typeof _0xb23302?Ot(_0xb23302+0xa):null)},'dir':_0x592360[_0x879acc(0x133)],'role':_0x879acc(0x129),'aria-label':_0x63c2b9(_0x592360,_0x879acc(0x119)),'tabindex':0x0},'children':[{'tag':_0x879acc(0x132),'attributes':{'role':_0x879acc(0x123),'aria-label':_0x63c2b9(_0x592360,_0x879acc(0x117))},'children':this[_0x879acc(0x123)]}]});}[_0x17d4db(0x111)](){const _0x4fa8af=_0x17d4db;super[_0x4fa8af(0x111)](),this[_0x4fa8af(0x128)]();}[_0x17d4db(0x12b)](){const _0x4150c9=_0x17d4db;this[_0x4150c9(0x11d)][_0x4150c9(0x110)]();}[_0x17d4db(0x128)](){const _0x25eb06=_0x17d4db;this[_0x25eb06(0x123)][_0x25eb06(0x131)](_0x25eb06(0x13a))['to'](this),this['on'](_0x25eb06(0x13a),_0x257cdf=>{const _0x37f309=_0x25eb06;this[_0x37f309(0x112)](_0x257cdf[_0x37f309(0x114)]);}),this[_0x25eb06(0x123)][_0x25eb06(0x10e)](_0x5d29ac=>{const _0x42a13a=_0x25eb06;this[_0x42a13a(0x126)][_0x42a13a(0x135)](_0x5d29ac[_0x42a13a(0x10c)]),this[_0x42a13a(0x112)](_0x5d29ac);}),this[_0x25eb06(0x123)]['on'](_0x25eb06(0x113),(_0x101f7f,_0x2acd08)=>{const _0x401081=_0x25eb06;for(const _0x4326be of _0x2acd08[_0x401081(0x120)])this[_0x401081(0x126)][_0x401081(0x137)](_0x4326be[_0x401081(0x10c)]),this[_0x401081(0x12e)][_0x401081(0x137)](_0x4326be);for(const _0xc76072 of _0x2acd08[_0x401081(0x12a)])this[_0x401081(0x126)][_0x401081(0x135)](_0xc76072[_0x401081(0x10c)]),this[_0x401081(0x112)](_0xc76072);}),this['on'](_0x25eb06(0x10f),()=>{const _0x3136af=_0x25eb06;this[_0x3136af(0x11d)][_0x3136af(0x125)]();}),this['on'](_0x25eb06(0x12f),()=>{const _0x2ecabe=_0x25eb06;this[_0x2ecabe(0x11d)][_0x2ecabe(0x136)]();}),this[_0x25eb06(0x127)](this[_0x25eb06(0x10c)],_0x25eb06(0x12b),()=>{const _0x2625e6=_0x25eb06;this[_0x2625e6(0x12b)]();});}[_0x17d4db(0x112)](_0x35e95b){const _0xdca20e=_0x17d4db,_0x19c7c4=this[_0xdca20e(0x12e)][_0xdca20e(0x11e)](_0x35e95b);let _0x2492ef,_0x404c3e;for(const _0x152c70 of this[_0xdca20e(0x12e)])if(_0x35e95b[_0xdca20e(0x12d)]<_0x152c70[_0xdca20e(0x12d)]){_0x2492ef=_0x152c70;break;}if(_0x404c3e=_0x2492ef?this[_0xdca20e(0x12e)][_0xdca20e(0x11e)](_0x2492ef):this[_0xdca20e(0x12e)][_0xdca20e(0x124)],-0x1!==_0x19c7c4){if(_0x19c7c4===_0x404c3e-0x1)return;this[_0xdca20e(0x12e)][_0xdca20e(0x137)](_0x35e95b),_0x404c3e=_0x2492ef?this[_0xdca20e(0x12e)][_0xdca20e(0x11e)](_0x2492ef):this[_0xdca20e(0x12e)][_0xdca20e(0x124)];}this[_0xdca20e(0x12e)][_0xdca20e(0x135)](_0x35e95b,_0x404c3e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32483e=_0x5310;(function(_0x653274,_0x1b1fe2){const _0xee33e5=_0x5310,_0x3828fe=_0x653274();while(!![]){try{const _0x1b9f30=parseInt(_0xee33e5(0x1b4))/0x1*(parseInt(_0xee33e5(0x1b2))/0x2)+-parseInt(_0xee33e5(0x1b1))/0x3*(parseInt(_0xee33e5(0x195))/0x4)+-parseInt(_0xee33e5(0x1c9))/0x5*(-parseInt(_0xee33e5(0x193))/0x6)+-parseInt(_0xee33e5(0x1cd))/0x7*(-parseInt(_0xee33e5(0x1ae))/0x8)+parseInt(_0xee33e5(0x199))/0x9*(-parseInt(_0xee33e5(0x1c0))/0xa)+parseInt(_0xee33e5(0x19d))/0xb*(-parseInt(_0xee33e5(0x19e))/0xc)+parseInt(_0xee33e5(0x19f))/0xd;if(_0x1b9f30===_0x1b1fe2)break;else _0x3828fe['push'](_0x3828fe['shift']());}catch(_0xabef74){_0x3828fe['push'](_0x3828fe['shift']());}}}(_0x473d,0xc258e));import{ContextPlugin as _0x426839,Context as _0x115303}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x39bfb9}from'./annotationsuis.js';import{Sidebar as _0x2829cd}from'./sidebar.js';function _0x473d(){const _0x25032c=['setActiveAnnotation','cancel','widesidebar-attach-already-attached','isOfficialPlugin','attach','requires','refresh','26430CDFfAh','init','destroy','stopListening','remove','editors','set','register','ck-sidebar--wide','4180TXvjzg','high','set:container','_annotations','14JGUKaB','ready','hasDomSelection','activeAnnotation','change:container','removeEventListener','context','stop','add','Annotations','WideSidebar','_integrateWithEditorAnnotations','EditorAnnotations','listenTo','refreshPositioning','isPremiumPlugin','_attachToContainer','4440SIwFGC','pluginName','375640BEcdaX','widesidebar-detach-not-attached','_detachFromContainer','annotations','2493ABbIQw','container','refreshVisibility','isAttached','803LxZLDp','128676tMUrrl','5026606NjLoZK','off','wideSidebar','rearrange','addAnnotation','_editorAnnotations','has','_refreshPositioningDebounced','uiUpdate','detach','focus','from','get','addEventListener','resize','4458136iubuGC','plugins','getOrderedSelectedAnnotations','15VmWsHW','50qbFgWf','switchTo','26426eYayPU','_destroyEditorAnnotationsIntegration','updateTargetRect','_activeAnnotation','blur'];_0x473d=function(){return _0x25032c;};return _0x473d();}function _0x5310(_0x157b6b,_0x401b8e){const _0x473dcb=_0x473d();return _0x5310=function(_0x531074,_0x13ace5){_0x531074=_0x531074-0x184;let _0x934e=_0x473dcb[_0x531074];return _0x934e;},_0x5310(_0x157b6b,_0x401b8e);}import{CKEditorError as _0x3ab362,Collection as _0x541827}from'ckeditor5/src/utils.js';import{debounce as _0x54470d}from'es-toolkit/compat';export class WideSidebar extends _0x426839{[_0x32483e(0x19c)];[_0x32483e(0x198)];[_0x32483e(0x1a4)];[_0x32483e(0x1a6)];static get[_0x32483e(0x1be)](){return[_0x2829cd,_0x39bfb9];}static get[_0x32483e(0x194)](){const _0x10e1f7=_0x32483e;return _0x10e1f7(0x18c);}static get[_0x32483e(0x1bc)](){return!0x0;}static get[_0x32483e(0x191)](){return!0x0;}constructor(_0x50c0b4){const _0x586767=_0x32483e;super(_0x50c0b4),this[_0x586767(0x19c)]=!0x1,this[_0x586767(0x1c6)](_0x586767(0x185),null),this[_0x586767(0x198)]=null,this[_0x586767(0x1a4)]=new _0x541827(),this[_0x586767(0x1a6)]=_0x54470d(()=>{const _0x481bfe=_0x586767;_0x50c0b4[_0x481bfe(0x1af)][_0x481bfe(0x1ab)](_0x481bfe(0x18b))[_0x481bfe(0x19b)](),this[_0x481bfe(0x198)][_0x481bfe(0x190)]();},0xfa,{'leading':!0x1});}[_0x32483e(0x1c1)](){const _0x40b08f=_0x32483e,_0x558821=this[_0x40b08f(0x188)][_0x40b08f(0x1af)][_0x40b08f(0x1ab)](_0x39bfb9),_0x4000bb=this[_0x40b08f(0x188)][_0x40b08f(0x1af)][_0x40b08f(0x1ab)](_0x2829cd);_0x558821[_0x40b08f(0x1c7)](_0x40b08f(0x1a1),this),_0x4000bb[_0x40b08f(0x19a)]&&_0x558821[_0x40b08f(0x1b3)](_0x40b08f(0x1a1));}[_0x32483e(0x1b9)](_0x1b7240){const _0x4c2e3f=_0x32483e;if(_0x1b7240===this[_0x4c2e3f(0x185)])return;const _0x334437=this[_0x4c2e3f(0x188)][_0x4c2e3f(0x1af)][_0x4c2e3f(0x1ab)](_0x2829cd);_0x334437[_0x4c2e3f(0x1b7)]=_0x1b7240;const _0x266c77=this[_0x4c2e3f(0x185)];_0x334437[_0x4c2e3f(0x1bf)]({'blurredAnnotation':_0x266c77,'activatedAnnotation':_0x1b7240}),this[_0x4c2e3f(0x185)]=_0x1b7240;}[_0x32483e(0x1bd)](_0x4e02f7){const _0x4ed275=_0x32483e;this[_0x4ed275(0x198)]=_0x4e02f7;const _0x3043c=this[_0x4ed275(0x188)][_0x4ed275(0x1af)][_0x4ed275(0x1ab)](_0x2829cd);if(_0x3043c[_0x4ed275(0x1cc)]=_0x4e02f7,this[_0x4ed275(0x19c)])throw new _0x3ab362(_0x4ed275(0x1bb),this);this[_0x4ed275(0x19c)]=!0x0,this[_0x4ed275(0x18f)](_0x3043c,_0x4ed275(0x1cb),()=>{const _0x327af4=_0x4ed275;this[_0x327af4(0x1a8)](),this[_0x327af4(0x18f)](_0x3043c,_0x327af4(0x186),_0x2f2a05=>{const _0x50a834=_0x327af4;_0x2f2a05[_0x50a834(0x1a0)](),this[_0x50a834(0x1bd)](_0x4e02f7);});}),_0x3043c[_0x4ed275(0x192)]({'viewClass':_0x4ed275(0x1c8)});const _0x21cdf0=_0x312de2=>{const _0x1df304=_0x4ed275;_0x312de2[_0x1df304(0x1b6)](),_0x3043c[_0x1df304(0x1a3)](_0x312de2);};for(const _0x462cf7 of _0x4e02f7)_0x21cdf0(_0x462cf7);this[_0x4ed275(0x18f)](_0x4e02f7,_0x4ed275(0x18a),(_0x5b38a9,_0x59938e)=>{_0x21cdf0(_0x59938e);}),this[_0x4ed275(0x18f)](_0x4e02f7,_0x4ed275(0x1c4),(_0x333200,_0xc5e67a,_0x2e6916)=>{const _0x3c60d3=_0x4ed275;_0x3043c[_0x3c60d3(0x1a2)]({'removedAnnotation':_0xc5e67a,'previousAnnotation':_0x4e02f7[_0x3c60d3(0x1ab)](_0x2e6916-0x1),'nextAnnotation':_0x4e02f7[_0x3c60d3(0x1ab)](_0x2e6916+0x1)}),_0xc5e67a===this[_0x3c60d3(0x185)]&&this[_0x3c60d3(0x1b9)](null);},{'priority':_0x4ed275(0x1ca)}),this[_0x4ed275(0x18f)](_0x4e02f7,_0x4ed275(0x1a9),(_0x17dc29,_0x5df50f)=>{const _0xe9f855=_0x4ed275;this[_0xe9f855(0x1b9)](_0x5df50f);}),this[_0x4ed275(0x18f)](_0x4e02f7,_0x4ed275(0x1b8),()=>{const _0x212961=_0x4ed275;this[_0x212961(0x1b9)](null);});const _0x22ad9b=this[_0x4ed275(0x188)]instanceof _0x115303?this[_0x4ed275(0x188)][_0x4ed275(0x1c5)]:new _0x541827([this[_0x4ed275(0x188)]]);for(const _0x1a37c1 of _0x22ad9b)this[_0x4ed275(0x18d)](_0x1a37c1);this[_0x4ed275(0x18f)](_0x22ad9b,_0x4ed275(0x18a),(_0x2dcc40,_0x2a19ff)=>{const _0x4c4d97=_0x4ed275;this[_0x4c4d97(0x18f)](_0x2a19ff,_0x4c4d97(0x1ce),()=>{const _0x2b34ef=_0x4c4d97;this[_0x2b34ef(0x18d)](_0x2a19ff);});}),this[_0x4ed275(0x18f)](_0x22ad9b,_0x4ed275(0x1c4),(_0x5510c5,_0x34d376)=>{const _0x542182=_0x4ed275;_0x34d376[_0x542182(0x1af)][_0x542182(0x1a5)](_0x542182(0x18e))&&this[_0x542182(0x1b5)](_0x34d376[_0x542182(0x1af)][_0x542182(0x1ab)](_0x542182(0x18e)));}),window[_0x4ed275(0x1ac)](_0x4ed275(0x1ad),this[_0x4ed275(0x1a6)]),this[_0x4ed275(0x188)][_0x4ed275(0x1af)][_0x4ed275(0x1ab)](_0x4ed275(0x18b))[_0x4ed275(0x19b)](),this[_0x4ed275(0x198)][_0x4ed275(0x190)]();}[_0x32483e(0x1a8)](){const _0x125fb2=_0x32483e;if(!this[_0x125fb2(0x19c)])throw new _0x3ab362(_0x125fb2(0x196),this);this[_0x125fb2(0x1b9)](null);const _0x1bddef=this[_0x125fb2(0x188)][_0x125fb2(0x1af)][_0x125fb2(0x1ab)](_0x2829cd);_0x1bddef[_0x125fb2(0x197)](this[_0x125fb2(0x198)]),this[_0x125fb2(0x1c3)](_0x1bddef),this[_0x125fb2(0x1c3)](this[_0x125fb2(0x198)]),this[_0x125fb2(0x188)]instanceof _0x115303&&this[_0x125fb2(0x1c3)](this[_0x125fb2(0x188)][_0x125fb2(0x1c5)]);for(const _0x50aa88 of Array[_0x125fb2(0x1aa)](this[_0x125fb2(0x1a4)]))this[_0x125fb2(0x1b5)](_0x50aa88);window[_0x125fb2(0x187)](_0x125fb2(0x1ad),this[_0x125fb2(0x1a6)]),this[_0x125fb2(0x1a6)][_0x125fb2(0x1ba)](),this[_0x125fb2(0x185)]=null,this[_0x125fb2(0x19c)]=!0x1,this[_0x125fb2(0x198)]=null;}[_0x32483e(0x1c2)](){const _0x336870=_0x32483e;this[_0x336870(0x19c)]&&this[_0x336870(0x1a8)]();}[_0x32483e(0x18d)](_0x1cf42f){const _0x57238a=_0x32483e;if(!_0x1cf42f[_0x57238a(0x1af)][_0x57238a(0x1a5)](_0x57238a(0x18e)))return;const _0x2b7aa3=_0x1cf42f[_0x57238a(0x1af)][_0x57238a(0x1ab)](_0x57238a(0x18e)),_0x591c9e=()=>{const _0x5a683f=_0x57238a,_0x2b1c32=_0x2b7aa3[_0x5a683f(0x1b0)]({'annotations':this[_0x5a683f(0x198)],'activeAnnotation':this[_0x5a683f(0x185)]});this[_0x5a683f(0x1b9)](_0x2b1c32[0x0]||null);};this[_0x57238a(0x18f)](_0x2b7aa3,_0x57238a(0x1bf),_0x591c9e),this[_0x57238a(0x18f)](_0x2b7aa3,_0x57238a(0x1b8),(_0x3c3caa,{isAnnotationTracked:_0x116193})=>{const _0xcdd9ab=_0x57238a;this[_0xcdd9ab(0x185)]&&_0x116193(this[_0xcdd9ab(0x185)])&&this[_0xcdd9ab(0x1b9)](null);}),this[_0x57238a(0x18f)](_0x2b7aa3,_0x57238a(0x1a7),()=>{const _0x3c019e=_0x57238a;this[_0x3c019e(0x1a6)]();}),this[_0x57238a(0x18f)](this[_0x57238a(0x198)],_0x57238a(0x1b8),_0x342d4f=>{const _0x1c71ec=_0x57238a;_0x2b7aa3[_0x1c71ec(0x184)]()&&(_0x591c9e(),_0x342d4f[_0x1c71ec(0x189)]());},{'priority':_0x57238a(0x1ca)}),this[_0x57238a(0x1a4)][_0x57238a(0x18a)](_0x2b7aa3);}[_0x32483e(0x1b5)](_0x5ae6b9){const _0x3df140=_0x32483e;this[_0x3df140(0x1c3)](_0x5ae6b9),this[_0x3df140(0x1a4)][_0x3df140(0x1c4)](_0x5ae6b9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x57cf(){const _0x270477=['plugins','147358enqLjr','addCommentThread','push','7tjZENo','_createCommentThread','73488KVHbYP','collaboration.channelId','68211YkVtVy','tableCell','change','createRange','6978KxjveH','editor','from','isObject','getLastMatchingPosition','CommentsRepository','$textProxy','_createMarkersFromRanges','execute','config','comment:','document','get','32tGBZGp','model','253PzGLHA','_trimToContent','5waBlWb','2543570jKseHN','selection','addMarker','863844dBmklS','Users','addcommentthreadcommand-user-not-found','refresh','1372530cWPRzz','item','140bAYGSG','backward','element','hasContent','getItems','set','_itemIsContent','start','addcommentthreadcommand-incorrect-ranges','isEnabled','getRanges','_hasContent','schema','substr','length','end'];_0x57cf=function(){return _0x270477;};return _0x57cf();}const _0x3bb5bd=_0x559f;function _0x559f(_0x419ee7,_0x448cef){const _0x57cf54=_0x57cf();return _0x559f=function(_0x559f4f,_0x1f9932){_0x559f4f=_0x559f4f-0x6b;let _0x23bf34=_0x57cf54[_0x559f4f];return _0x23bf34;},_0x559f(_0x419ee7,_0x448cef);}(function(_0x5accce,_0x554f8c){const _0x50dd47=_0x559f,_0x1bc2fa=_0x5accce();while(!![]){try{const _0x4dc558=-parseInt(_0x50dd47(0x72))/0x1+parseInt(_0x50dd47(0x98))/0x2*(-parseInt(_0x50dd47(0x7d))/0x3)+-parseInt(_0x50dd47(0x92))/0x4*(parseInt(_0x50dd47(0x8e))/0x5)+-parseInt(_0x50dd47(0x96))/0x6*(-parseInt(_0x50dd47(0x75))/0x7)+-parseInt(_0x50dd47(0x8a))/0x8*(-parseInt(_0x50dd47(0x79))/0x9)+parseInt(_0x50dd47(0x8f))/0xa+-parseInt(_0x50dd47(0x8c))/0xb*(-parseInt(_0x50dd47(0x77))/0xc);if(_0x4dc558===_0x554f8c)break;else _0x1bc2fa['push'](_0x1bc2fa['shift']());}catch(_0x2855b5){_0x1bc2fa['push'](_0x1bc2fa['shift']());}}}(_0x57cf,0x1f48d));import{Command as _0x4a13d5}from'ckeditor5/src/core.js';import{uid as _0x455b4d,CKEditorError as _0xffe25f}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x4a13d5{constructor(_0xb44fc2){const _0x198ed7=_0x559f;super(_0xb44fc2),this[_0x198ed7(0x9d)](_0x198ed7(0x9b),!0x1);}[_0x3bb5bd(0x95)](){const _0x1ef8c5=_0x3bb5bd,_0x52c13e=this[_0x1ef8c5(0x7e)][_0x1ef8c5(0x8b)][_0x1ef8c5(0x88)][_0x1ef8c5(0x90)];this[_0x1ef8c5(0xa1)]=!0x0,this[_0x1ef8c5(0x9b)]=!0x1;for(const _0x424e73 of _0x52c13e[_0x1ef8c5(0x6b)]())if(this[_0x1ef8c5(0x6c)](_0x424e73))return void(this[_0x1ef8c5(0x9b)]=!0x0);}[_0x3bb5bd(0x85)]({threadId:_0x7e72bc=_0x455b4d(),ranges:_0x4b3710,comment:_0x4939e6}={}){const _0x5a6f28=_0x3bb5bd,_0x299ce8=this[_0x5a6f28(0x7e)][_0x5a6f28(0x8b)],_0x29353a=_0x4b3710??Array[_0x5a6f28(0x7f)](_0x299ce8[_0x5a6f28(0x88)][_0x5a6f28(0x90)][_0x5a6f28(0x6b)]()),_0x44d266=[];for(const _0x40b23b of _0x29353a)this[_0x5a6f28(0x6c)](_0x40b23b)&&_0x44d266[_0x5a6f28(0x74)](this[_0x5a6f28(0x8d)](_0x40b23b));if(!_0x44d266[_0x5a6f28(0x6f)])throw new _0xffe25f(_0x5a6f28(0xa0),null);_0x4939e6&&this[_0x5a6f28(0x76)](_0x7e72bc,_0x4939e6),this[_0x5a6f28(0x84)](_0x7e72bc,_0x44d266,!!_0x4939e6);}[_0x3bb5bd(0x84)](_0x245ee2,_0x74ba33,_0x310e2c){const _0x52b2b1=_0x3bb5bd;this[_0x52b2b1(0x7e)][_0x52b2b1(0x8b)][_0x52b2b1(0x7b)](_0x455512=>{const _0x4a81a8=_0x52b2b1;for(const _0x24250d of _0x74ba33){const _0x1b31f5=_0x455b4d()[_0x4a81a8(0x6e)](0x1,0x5),_0x3752f8=_0x4a81a8(0x87)+_0x245ee2+':'+_0x1b31f5;_0x455512[_0x4a81a8(0x91)](_0x3752f8,{'range':_0x24250d,'usingOperation':_0x310e2c,'affectsData':_0x310e2c});}});}[_0x3bb5bd(0x76)](_0x5a0854,_0x4f821a){const _0x3d08e4=_0x3bb5bd,_0x3ef5ba=this[_0x3d08e4(0x7e)][_0x3d08e4(0x71)][_0x3d08e4(0x89)](_0x3d08e4(0x82)),_0x760b1e=this[_0x3d08e4(0x7e)][_0x3d08e4(0x86)][_0x3d08e4(0x89)](_0x3d08e4(0x78)),_0x11d0b0=this[_0x3d08e4(0x7e)][_0x3d08e4(0x71)][_0x3d08e4(0x89)](_0x3d08e4(0x93))['me'];if(!_0x11d0b0)throw new _0xffe25f(_0x3d08e4(0x94),null);_0x3ef5ba[_0x3d08e4(0x73)]({'threadId':_0x5a0854,'channelId':_0x760b1e,'comments':[{'authorId':_0x11d0b0['id'],'content':_0x4f821a,'createdAt':new Date(),'attributes':{}}]});}[_0x3bb5bd(0x6c)](_0x449e42){const _0x414ece=_0x3bb5bd;for(const _0x956469 of _0x449e42[_0x414ece(0x9c)]())if(this[_0x414ece(0x9e)](_0x956469))return!0x0;return!0x1;}[_0x3bb5bd(0x9e)](_0x2d4c53){const _0xc52ede=_0x3bb5bd;return _0x2d4c53['is'](_0xc52ede(0x83))||this[_0xc52ede(0x7e)][_0xc52ede(0x8b)][_0xc52ede(0x6d)][_0xc52ede(0x80)](_0x2d4c53)&&!_0x2d4c53['is'](_0xc52ede(0x9a),_0xc52ede(0x7a));}[_0x3bb5bd(0x8d)](_0x43e797){const _0x1b1bc0=_0x3bb5bd,_0x58480d=_0x608f8b=>!this[_0x1b1bc0(0x9e)](_0x608f8b[_0x1b1bc0(0x97)]),_0x12ae32=_0x43e797[_0x1b1bc0(0x9f)][_0x1b1bc0(0x81)](_0x58480d),_0x34355b=_0x43e797[_0x1b1bc0(0x70)][_0x1b1bc0(0x81)](_0x58480d,{'direction':_0x1b1bc0(0x99)});return this[_0x1b1bc0(0x7e)][_0x1b1bc0(0x8b)][_0x1b1bc0(0x7c)](_0x12ae32,_0x34355b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57aa67=_0x71b1;(function(_0x2b3ef4,_0x23ee35){const _0x43550c=_0x71b1,_0x47d42f=_0x2b3ef4();while(!![]){try{const _0x3e24ed=parseInt(_0x43550c(0x16a))/0x1+parseInt(_0x43550c(0x187))/0x2*(parseInt(_0x43550c(0x17f))/0x3)+parseInt(_0x43550c(0x179))/0x4*(parseInt(_0x43550c(0x171))/0x5)+parseInt(_0x43550c(0x18c))/0x6*(-parseInt(_0x43550c(0x17d))/0x7)+-parseInt(_0x43550c(0x185))/0x8+-parseInt(_0x43550c(0x177))/0x9*(parseInt(_0x43550c(0x169))/0xa)+-parseInt(_0x43550c(0x182))/0xb*(-parseInt(_0x43550c(0x189))/0xc);if(_0x3e24ed===_0x23ee35)break;else _0x47d42f['push'](_0x47d42f['shift']());}catch(_0x4d7a01){_0x47d42f['push'](_0x47d42f['shift']());}}}(_0x3495,0xb1082));function _0x3495(){const _0x5c4179=['954hqLkBu','pluginName','3972688jXhbcA','getCommentThread','change:archivedAt','archivedAt','412657VyZPCq','remove','3DyhqwK','isActive','isOfficialPlugin','2321kbwgGz','has','add','3533976vCZGtk','focus','1658386TjODVW','findIndex','4764wXekGR','init','addCommentThread','96ThjkBu','activate','archivedThreads','context','listenTo','isVisible','57860TkJNKb','817269BDSLuQ','stopListening','requires','length','_calculatePosition','CommentsArchive','collection','5qTEwkk','removeCommentThread','plugins','highest','isPremiumPlugin','get'];_0x3495=function(){return _0x5c4179;};return _0x3495();}import{ContextPlugin as _0x32124a}from'ckeditor5/src/core.js';import{Collection as _0x37d34a}from'ckeditor5/src/utils.js';function _0x71b1(_0x168bad,_0x350f4a){const _0x349579=_0x3495();return _0x71b1=function(_0x71b114,_0x1896d4){_0x71b114=_0x71b114-0x167;let _0x1c692b=_0x349579[_0x71b114];return _0x1c692b;},_0x71b1(_0x168bad,_0x350f4a);}import{CommentsRepository as _0x4e107b}from'./commentsrepository.js';import{Annotations as _0x509d39}from'../annotations/annotations.js';export class CommentsArchive extends _0x32124a{static get[_0x57aa67(0x178)](){const _0x436450=_0x57aa67;return _0x436450(0x16f);}static get[_0x57aa67(0x181)](){return!0x0;}static get[_0x57aa67(0x175)](){return!0x0;}static get[_0x57aa67(0x16c)](){return[_0x4e107b,_0x509d39];}constructor(_0x3bc779){const _0x40b15d=_0x57aa67;super(_0x3bc779),this[_0x40b15d(0x18e)]=new _0x37d34a();}[_0x57aa67(0x18a)](){const _0x34a3bd=_0x57aa67,_0x280908=this[_0x34a3bd(0x18f)],_0x505416=_0x280908[_0x34a3bd(0x173)][_0x34a3bd(0x176)](_0x4e107b),_0x4e0686=_0x280908[_0x34a3bd(0x173)][_0x34a3bd(0x176)](_0x509d39);this[_0x34a3bd(0x167)](_0x505416,_0x34a3bd(0x18b),(_0x3cf9e4,{threadId:_0x39bd61})=>{const _0x3d3056=_0x34a3bd,_0x41fede=_0x505416[_0x3d3056(0x17a)](_0x39bd61);_0x41fede[_0x3d3056(0x17c)]&&this[_0x3d3056(0x18e)][_0x3d3056(0x184)](_0x41fede,this[_0x3d3056(0x16e)](_0x41fede[_0x3d3056(0x17c)])),this[_0x3d3056(0x167)](_0x41fede,_0x3d3056(0x17b),(_0x2b12e4,_0x230ce0,_0x206a2c)=>{const _0x43af87=_0x3d3056;_0x206a2c?this[_0x43af87(0x18e)][_0x43af87(0x183)](_0x41fede)||this[_0x43af87(0x18e)][_0x43af87(0x184)](_0x41fede,this[_0x43af87(0x16e)](_0x41fede[_0x43af87(0x17c)])):this[_0x43af87(0x18e)][_0x43af87(0x183)](_0x41fede)&&this[_0x43af87(0x18e)][_0x43af87(0x17e)](_0x41fede);});}),this[_0x34a3bd(0x167)](_0x505416,_0x34a3bd(0x172),(_0x2f6d50,{threadId:_0x40a8a5})=>{const _0xc989d3=_0x34a3bd,_0x569645=_0x505416[_0xc989d3(0x17a)](_0x40a8a5);this[_0xc989d3(0x16b)](_0x569645),this[_0xc989d3(0x18e)][_0xc989d3(0x183)](_0x569645)&&this[_0xc989d3(0x18e)][_0xc989d3(0x17e)](_0x569645);},{'priority':_0x34a3bd(0x174)}),this[_0x34a3bd(0x167)](_0x4e0686[_0x34a3bd(0x170)],_0x34a3bd(0x186),(_0x567ddf,_0x58023d)=>{const _0x3cf7b9=_0x34a3bd;_0x58023d[_0x3cf7b9(0x168)]||(_0x58023d[_0x3cf7b9(0x180)]=!0x0,_0x4e0686[_0x3cf7b9(0x18d)](_0x58023d));});}[_0x57aa67(0x16e)](_0x1a6dce){const _0x19abf5=_0x57aa67,_0x2d8f16=[...this[_0x19abf5(0x18e)]][_0x19abf5(0x188)](_0x3ea4cf=>_0x3ea4cf[_0x19abf5(0x17c)]<_0x1a6dce);return _0x2d8f16>-0x1?_0x2d8f16:this[_0x19abf5(0x18e)][_0x19abf5(0x16d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e5f94=_0x43da;(function(_0x29ac30,_0x1e2e32){const _0x37a160=_0x43da,_0x4d7cec=_0x29ac30();while(!![]){try{const _0x5585c9=parseInt(_0x37a160(0xf6))/0x1+parseInt(_0x37a160(0xd4))/0x2+-parseInt(_0x37a160(0xd9))/0x3+-parseInt(_0x37a160(0xc9))/0x4+-parseInt(_0x37a160(0xc7))/0x5*(-parseInt(_0x37a160(0xf7))/0x6)+parseInt(_0x37a160(0xde))/0x7+-parseInt(_0x37a160(0xcf))/0x8*(-parseInt(_0x37a160(0xe0))/0x9);if(_0x5585c9===_0x1e2e32)break;else _0x4d7cec['push'](_0x4d7cec['shift']());}catch(_0x4b1297){_0x4d7cec['push'](_0x4d7cec['shift']());}}}(_0x23c9,0x1c3c3));function _0x43da(_0x540335,_0x1aa850){const _0x23c996=_0x23c9();return _0x43da=function(_0x43da8a,_0x274ee6){_0x43da8a=_0x43da8a-0xc5;let _0x1478ae=_0x23c996[_0x43da8a];return _0x1478ae;},_0x43da(_0x540335,_0x1aa850);}import'../../theme/commentsarchive.css';import{Plugin as _0x4e7943}from'ckeditor5/src/core.js';function _0x23c9(){const _0x1afdeb=['isOpen','_createCommentsArchiveButton','remove','isPremiumPlugin','plugins','view','source','escape','_pendingThreads','_toggleDialog','componentFactory','archivedAt','channelId','focusableElements','collection','find','has','577615zxOFYV','listenTo','870728cZcwQQ','commentsArchiveView','CommentsArchiveUI','set:isVisible','set','tooltip','312qgtVRs','menuBar:commentsArchive','isVisible','_calculatePosition','stopListening','422608yLgteI','add','filter','isOfficialPlugin','EDITOR_TOP_SIDE','408411TVUQCY','_hideDialogOnAnnotationEscape','get','bind','annotationViews','51793YrjTjG','execute','2763vdFRLC','Annotations','commentsArchive','length','locale','isOn','return','pluginName','_addAnnotationToArchive','innerView','requires','show','push','COMMENTS_ARCHIVE','CommentsRepository','findIndex','includes','stop','menuitemcheckbox','Dialog','_visibleAnnotations','_threadToController','123271aidKBH','6KGRXpa','archivedThreads','init','config','editor','forEach','collaboration.channelId','hide','getByInnerView','_handleNewThread','indexOf','splice','isEnabled'];_0x23c9=function(){return _0x1afdeb;};return _0x23c9();}import{IconCommentsArchive as _0x249352}from'ckeditor5/src/icons.js';import{ViewCollection as _0x524b67,MenuBarMenuListItemButtonView as _0x1a9e9a,ButtonView as _0x1ad29b,Dialog as _0xed8042,DialogViewPosition as _0x135274}from'ckeditor5/src/ui.js';import{getTranslation as _0x17c0e3}from'../utils/common-translations.js';import{CommentsArchiveView as _0x299cc5}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x26dcc5}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x4e7943{[_0x2e5f94(0xca)];[_0x2e5f94(0xdd)];[_0x2e5f94(0x10c)];static get[_0x2e5f94(0xe7)](){const _0x1724d0=_0x2e5f94;return _0x1724d0(0xcb);}static get[_0x2e5f94(0xd7)](){return!0x0;}static get[_0x2e5f94(0x107)](){return!0x0;}static get[_0x2e5f94(0xea)](){return[_0x26dcc5,_0xed8042];}constructor(_0xbd576d){const _0x4da2a5=_0x2e5f94;super(_0xbd576d),this[_0x4da2a5(0xdd)]=new _0x524b67(),this[_0x4da2a5(0x10c)]=[];}[_0x2e5f94(0xf9)](){const _0x4e1217=_0x2e5f94,_0x525a33=this[_0x4e1217(0xfb)],_0x439e15=this[_0x4e1217(0xda)][_0x4e1217(0xdc)](this);_0x525a33['ui'][_0x4e1217(0x10e)][_0x4e1217(0xd5)](_0x4e1217(0xe2),()=>this[_0x4e1217(0x105)](_0x1ad29b,!0x0)),_0x525a33['ui'][_0x4e1217(0x10e)][_0x4e1217(0xd5)](_0x4e1217(0xd0),()=>{const _0x1f9683=_0x4e1217,_0x5e5822=this[_0x1f9683(0x105)](_0x1a9e9a);return _0x5e5822[_0x1f9683(0xcd)]({'role':_0x1f9683(0xf2)}),_0x5e5822;});const _0x2acb51=_0x525a33[_0x4e1217(0x108)][_0x4e1217(0xdb)](_0x26dcc5),_0x131c0d=_0x525a33[_0x4e1217(0x108)][_0x4e1217(0xdb)](_0x4e1217(0xe1)),_0x1c57d9=_0x525a33[_0x4e1217(0x108)][_0x4e1217(0xdb)](_0x4e1217(0xee));_0x2acb51[_0x4e1217(0xf8)][_0x4e1217(0xfc)](_0x482e1f=>{const _0x5d8bbb=_0x4e1217;this[_0x5d8bbb(0x100)](_0x482e1f);}),this[_0x4e1217(0xc8)](_0x2acb51[_0x4e1217(0xf8)],_0x4e1217(0xd5),(_0x4852c0,_0x498dff)=>{const _0x33f67b=_0x4e1217;this[_0x33f67b(0x100)](_0x498dff);}),this[_0x4e1217(0xc8)](_0x131c0d[_0x4e1217(0x112)],_0x4e1217(0xd5),(_0x2169fb,_0x1b0668)=>{const _0x1f6ff8=_0x4e1217,_0x38bf62=this[_0x1f6ff8(0x10c)][_0x1f6ff8(0xc5)](_0x126541=>{const _0x4eefaa=_0x1f6ff8,_0x5d473a=_0x1c57d9[_0x4eefaa(0xf5)][_0x4eefaa(0xdb)](_0x126541);return _0x5d473a&&_0x1b0668[_0x4eefaa(0xe9)]===_0x5d473a[_0x4eefaa(0x109)];});if(_0x38bf62){const _0x19d5de=this[_0x1f6ff8(0xd2)](_0x38bf62[_0x1f6ff8(0x10f)]);this[_0x1f6ff8(0xe8)](_0x1b0668,_0x19d5de),this[_0x1f6ff8(0x10c)][_0x1f6ff8(0x102)](this[_0x1f6ff8(0x10c)][_0x1f6ff8(0x101)](_0x38bf62),0x1);}}),this[_0x4e1217(0xc8)](_0x2acb51[_0x4e1217(0xf8)],_0x4e1217(0x106),(_0x3ad77a,_0x351f3f)=>{const _0x572faa=_0x4e1217,_0x42ce0a=_0x525a33[_0x572faa(0xfa)][_0x572faa(0xdb)](_0x572faa(0xfd));if(!_0x42ce0a||_0x351f3f[_0x572faa(0x110)]===_0x42ce0a){if(this[_0x572faa(0x10c)][_0x572faa(0xf0)](_0x351f3f))this[_0x572faa(0x10c)][_0x572faa(0x102)](this[_0x572faa(0x10c)][_0x572faa(0x101)](_0x351f3f),0x1);else{const _0x5bf695=_0x1c57d9[_0x572faa(0xf5)][_0x572faa(0xdb)](_0x351f3f),_0x2ae217=_0x131c0d[_0x572faa(0xff)](_0x5bf695[_0x572faa(0x109)]);this[_0x572faa(0xdd)][_0x572faa(0x106)](_0x2ae217[_0x572faa(0x109)]),this[_0x572faa(0xd3)](_0x2ae217),this[_0x572faa(0xd3)](_0x2ae217[_0x572faa(0x111)]);}}}),this[_0x4e1217(0xc8)](_0x131c0d[_0x4e1217(0x112)],_0x4e1217(0xd5),(_0x39d7ea,_0x35be88)=>{const _0x47f832=_0x4e1217;this[_0x47f832(0xc8)](_0x35be88,_0x47f832(0x10b),_0x439e15);}),this[_0x4e1217(0xc8)](_0x131c0d[_0x4e1217(0x112)],_0x4e1217(0x106),(_0x172df3,_0x3d1504)=>{const _0x4912f0=_0x4e1217;this[_0x4912f0(0xd3)](_0x3d1504,_0x4912f0(0x10b),_0x439e15);});}[_0x2e5f94(0xe8)](_0x204a64,_0x17608b){const _0x55aaa0=_0x2e5f94;this[_0x55aaa0(0xc8)](_0x204a64,_0x55aaa0(0xcc),_0x3c7c11=>{const _0x1828a7=_0x55aaa0;_0x3c7c11[_0x1828a7(0xe6)]=!0x1,_0x3c7c11[_0x1828a7(0xf1)]();}),this[_0x55aaa0(0xdd)][_0x55aaa0(0xd5)](_0x204a64[_0x55aaa0(0x109)],_0x17608b);}[_0x2e5f94(0x100)](_0x1ca84d){const _0x238195=_0x2e5f94,_0x72d2d9=this[_0x238195(0xfb)][_0x238195(0x108)][_0x238195(0xdb)](_0x238195(0xee)),_0x47d52b=this[_0x238195(0xfb)][_0x238195(0x108)][_0x238195(0xdb)](_0x238195(0xe1)),_0x2db948=this[_0x238195(0xfb)][_0x238195(0xfa)][_0x238195(0xdb)](_0x238195(0xfd));if(!_0x2db948||_0x1ca84d[_0x238195(0x110)]===_0x2db948){const _0x5c311e=_0x72d2d9[_0x238195(0xf5)][_0x238195(0xdb)](_0x1ca84d);if(!_0x5c311e)return void this[_0x238195(0x10c)][_0x238195(0xec)](_0x1ca84d);const _0x4f79e8=this[_0x238195(0xd2)](_0x1ca84d[_0x238195(0x10f)]),_0x428991=_0x47d52b[_0x238195(0xff)](_0x5c311e[_0x238195(0x109)]);_0x428991[_0x238195(0xd1)]&&_0x47d52b[_0x238195(0xf4)][_0x238195(0x106)](_0x428991),this[_0x238195(0xe8)](_0x428991,_0x4f79e8);}}[_0x2e5f94(0xd2)](_0x15d716){const _0x3ac04b=_0x2e5f94,_0x4625f3=this[_0x3ac04b(0xfb)][_0x3ac04b(0xfa)][_0x3ac04b(0xdb)](_0x3ac04b(0xfd)),_0x54efd8=[...this[_0x3ac04b(0xfb)][_0x3ac04b(0x108)][_0x3ac04b(0xdb)](_0x26dcc5)[_0x3ac04b(0xf8)]][_0x3ac04b(0xd6)](_0x2d2d39=>_0x2d2d39[_0x3ac04b(0x110)]===_0x4625f3)[_0x3ac04b(0xef)](_0x441b43=>_0x441b43[_0x3ac04b(0x10f)]<_0x15d716);return _0x54efd8<0x0||_0x54efd8>this[_0x3ac04b(0xdd)][_0x3ac04b(0xe3)]?this[_0x3ac04b(0xdd)][_0x3ac04b(0xe3)]:_0x54efd8-0x1;}[_0x2e5f94(0x10d)](){const _0x51fd71=_0x2e5f94,_0x2a2169=this[_0x51fd71(0xfb)],_0x58c615=_0x2a2169[_0x51fd71(0x108)][_0x51fd71(0xdb)](_0x51fd71(0xf3));this[_0x51fd71(0xca)]||(this[_0x51fd71(0xca)]=new _0x299cc5(_0x2a2169[_0x51fd71(0xe4)],this[_0x51fd71(0xdd)])),_0x51fd71(0xe2)===_0x58c615['id']?_0x58c615[_0x51fd71(0xfe)]():_0x58c615[_0x51fd71(0xeb)]({'id':_0x51fd71(0xe2),'title':_0x17c0e3(_0x2a2169[_0x51fd71(0xe4)],_0x51fd71(0xed)),'icon':_0x249352,'hasCloseButton':!0x0,'content':this[_0x51fd71(0xca)],'position':_0x135274[_0x51fd71(0xd8)]});}[_0x2e5f94(0x105)](_0xad632d,_0x536289=!0x1){const _0x183155=_0x2e5f94,_0x5d0167=this[_0x183155(0xfb)][_0x183155(0xe4)],_0x23227e=this[_0x183155(0xfb)][_0x183155(0x108)][_0x183155(0xdb)](_0x183155(0xf3)),_0x8bcd62=new _0xad632d(_0x5d0167);return _0x8bcd62[_0x183155(0xdc)](_0x183155(0x103))['to'](this,_0x183155(0x103)),_0x8bcd62[_0x183155(0xdc)](_0x183155(0xe5))['to'](_0x23227e,'id',_0x4fe2b8=>_0x183155(0xe2)===_0x4fe2b8),_0x8bcd62[_0x183155(0xcd)]({'label':_0x17c0e3(_0x5d0167,_0x183155(0xed)),'icon':_0x249352,'isToggleable':!0x0}),_0x536289&&(_0x8bcd62[_0x183155(0xce)]=!0x0),this[_0x183155(0xc8)](_0x8bcd62,_0x183155(0xdf),()=>this[_0x183155(0x10d)]()),_0x8bcd62;}[_0x2e5f94(0xda)]=_0x7ed37=>{const _0xa8b39f=_0x2e5f94,_0x59f40d=_0x7ed37[_0xa8b39f(0x10a)];if(!this[_0xa8b39f(0xdd)][_0xa8b39f(0xc6)](_0x59f40d[_0xa8b39f(0x109)]))return;const _0x555cd8=this[_0xa8b39f(0xfb)][_0xa8b39f(0x108)][_0xa8b39f(0xdb)](_0xa8b39f(0xf3));_0x555cd8[_0xa8b39f(0x104)]&&_0xa8b39f(0xe2)===_0x555cd8['id']&&(_0x555cd8[_0xa8b39f(0xfe)](),_0x7ed37[_0xa8b39f(0xf1)]());};}
|