@ckeditor/ckeditor5-comments 43.3.0-alpha.7 → 43.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3b3d(_0x51208b,_0x4cf071){const _0xd12ca4=_0xd12c();return _0x3b3d=function(_0x3b3de5,_0x3ba5e4){_0x3b3de5=_0x3b3de5-0x147;let _0x7ff19=_0xd12ca4[_0x3b3de5];return _0x7ff19;},_0x3b3d(_0x51208b,_0x4cf071);}const _0x15fb3f=_0x3b3d;(function(_0x4933ff,_0x2962cc){const _0xd0616e=_0x3b3d,_0x2e0803=_0x4933ff();while(!![]){try{const _0x548704=parseInt(_0xd0616e(0x19a))/0x1*(-parseInt(_0xd0616e(0x174))/0x2)+-parseInt(_0xd0616e(0x179))/0x3*(parseInt(_0xd0616e(0x184))/0x4)+-parseInt(_0xd0616e(0x193))/0x5+-parseInt(_0xd0616e(0x192))/0x6*(-parseInt(_0xd0616e(0x176))/0x7)+parseInt(_0xd0616e(0x156))/0x8+parseInt(_0xd0616e(0x172))/0x9*(parseInt(_0xd0616e(0x187))/0xa)+parseInt(_0xd0616e(0x17c))/0xb*(parseInt(_0xd0616e(0x148))/0xc);if(_0x548704===_0x2962cc)break;else _0x2e0803['push'](_0x2e0803['shift']());}catch(_0x4d3e16){_0x2e0803['push'](_0x2e0803['shift']());}}}(_0xd12c,0x7d805));function _0xd12c(){const _0x4cb93f=['change:top','bind','pluginName','class','201702QHrIEw','_alignForBottomChange','_destroySidebarItemView','targetRect','setContainer','view','set','_getItemBefore','change:targetRect','locale','_getItemAfter','96KZErck','_sidebarItemViewToAnnotation','Sidebar','rearrange','sidebar-setcontainer-invalid-element','init','list','_alignToTargetRect','change:_lastItem','unbind','_activeAnnotation','getIndex','_targetTop','_spaceBetweenItems','6602464BjfcbJ','refresh','_attachToContainer','isPremiumPlugin','top','_annotationToSidebarItemView','nodeType','_detachFromContainer','push','add','sidebar.preventScrollOutOfView','last','_recalculate','updateHeight','addAnnotation','_createSidebarView','getSidebarItemView','max','element','listenTo','content','_getMaxAvailableTop','object','stopListening','height','container','delete','length','59274ysOdQs','destroy','10ZogfAn','sidebar-attachtocontainer-missing-container','7lnlumu','render','remove','3WCViPi','clear','isActive','325655VNAmIB','target','_annotations','appendChild','context','define','_recalculateBuffer','minHeight','1549604jCKuTe','bottom','sidebar.container','60pjavxw','config','_alignForTopChange','change:bottom','isAnimationDisabled','_updateLastItem','_alignAfterItem','_alignBeforeItem','_lastItem','get','_getTargetTop','5684694lNXhYl','695745fHcnHi','_setItemTop','isOfficialPlugin'];_0xd12c=function(){return _0x4cb93f;};return _0xd12c();}import{ContextPlugin as _0x3e49ef}from'ckeditor5/src/core.js';import{Rect as _0x2f4eef,CKEditorError as _0x318064}from'ckeditor5/src/utils.js';import _0x2fc7ec from'./view/sidebarview.js';import _0x11e0ed from'./view/sidebaritemview.js';export default class z extends _0x3e49ef{static get[_0x15fb3f(0x198)](){const _0x5a9a32=_0x15fb3f;return _0x5a9a32(0x14a);}static get[_0x15fb3f(0x195)](){return!0x0;}static get[_0x15fb3f(0x159)](){return!0x0;}constructor(_0x573b41){const _0x298aa3=_0x15fb3f;super(_0x573b41),this[_0x298aa3(0x1a0)](_0x298aa3(0x18f),void 0x0),this[_0x298aa3(0x19f)]=this[_0x298aa3(0x165)](),this[_0x298aa3(0x1a0)](_0x298aa3(0x16f),null),this[_0x298aa3(0x155)]=0x19,this[_0x298aa3(0x149)]=new Map(),this[_0x298aa3(0x15b)]=new Map(),this[_0x298aa3(0x180)][_0x298aa3(0x188)][_0x298aa3(0x181)](_0x298aa3(0x160),!0x1),this[_0x298aa3(0x17e)]=null,this[_0x298aa3(0x152)]=null,this[_0x298aa3(0x182)]=[];}[_0x15fb3f(0x14d)](){const _0x1666f7=_0x15fb3f,_0x2f2ba9=this[_0x1666f7(0x180)][_0x1666f7(0x188)][_0x1666f7(0x190)](_0x1666f7(0x186));_0x2f2ba9&&this[_0x1666f7(0x19e)](_0x2f2ba9);}[_0x15fb3f(0x19e)](_0x3434b6){const _0x2d6200=_0x15fb3f;if(!y(_0x3434b6))throw new _0x318064(_0x2d6200(0x14c));this[_0x2d6200(0x16f)]=_0x3434b6;}[_0x15fb3f(0x158)]({viewClass:_0xcbb2ba='',spaceBetweenItems:_0x438f69=0x19}={}){const _0x10d9f1=_0x15fb3f;if(!y(this[_0x10d9f1(0x16f)]))throw new _0x318064(_0x10d9f1(0x175),this);this[_0x10d9f1(0x16f)][_0x10d9f1(0x17f)](this[_0x10d9f1(0x19f)][_0x10d9f1(0x168)]),this[_0x10d9f1(0x19f)][_0x10d9f1(0x199)]=_0xcbb2ba,this[_0x10d9f1(0x155)]=_0x438f69;}[_0x15fb3f(0x14b)]({removedAnnotation:_0x3a383b,previousAnnotation:_0x43cca6,nextAnnotation:_0x376cd4}){const _0xa595eb=_0x15fb3f,_0x100529=this[_0xa595eb(0x166)](_0x3a383b);this[_0xa595eb(0x19f)][_0xa595eb(0x14e)][_0xa595eb(0x178)](_0x100529),this[_0xa595eb(0x19c)](_0x3a383b),_0x43cca6&&this[_0xa595eb(0x14f)](this[_0xa595eb(0x166)](_0x43cca6)),_0x376cd4&&this[_0xa595eb(0x14f)](this[_0xa595eb(0x166)](_0x376cd4)),this[_0xa595eb(0x18c)]();}[_0x15fb3f(0x157)]({blurredAnnotation:_0x549e0b,activatedAnnotation:_0x52ce03,disableAnimationOnActivatedAnnotation:_0x20c652}){const _0x20b651=_0x15fb3f;if(this[_0x20b651(0x152)]=_0x52ce03,_0x549e0b){_0x549e0b[_0x20b651(0x17b)]=!0x1;const _0x555cb1=this[_0x20b651(0x166)](_0x549e0b);_0x555cb1&&_0x20c652&&(_0x555cb1[_0x20b651(0x18b)]=!0x1);}if(_0x52ce03){const _0x3bffe9=this[_0x20b651(0x166)](_0x52ce03);_0x3bffe9&&(_0x52ce03[_0x20b651(0x17b)]=!0x0,_0x20c652&&(_0x3bffe9[_0x20b651(0x18b)]=!0x0,_0x3bffe9[_0x20b651(0x15a)]+=0x1),this[_0x20b651(0x14f)](_0x3bffe9));}}[_0x15fb3f(0x15d)](_0x2aab12){const _0x5741e6=_0x15fb3f;if(this[_0x5741e6(0x19f)][_0x5741e6(0x168)][_0x5741e6(0x178)](),_0x2aab12){for(const _0x9e0bc0 of _0x2aab12)this[_0x5741e6(0x19c)](_0x9e0bc0);}this[_0x5741e6(0x19f)][_0x5741e6(0x14e)][_0x5741e6(0x17a)](),this[_0x5741e6(0x19f)][_0x5741e6(0x199)]='',this[_0x5741e6(0x18f)]=null;}[_0x15fb3f(0x164)](_0x4429d6,_0x50d440){const _0x374a58=_0x15fb3f;_0x50d440||(_0x50d440=_0x4429d6[_0x374a58(0x19f)]);const _0xae6907=new _0x11e0ed(this[_0x374a58(0x180)][_0x374a58(0x1a3)]);this[_0x374a58(0x149)][_0x374a58(0x1a0)](_0xae6907,_0x4429d6),this[_0x374a58(0x15b)][_0x374a58(0x1a0)](_0x4429d6,_0xae6907),_0xae6907[_0x374a58(0x16a)][_0x374a58(0x15f)](_0x50d440),this[_0x374a58(0x169)](_0x4429d6[_0x374a58(0x19f)],_0x374a58(0x1a2),(_0x35577e,_0x2ba3b8,_0x4c5089)=>{const _0x38a57c=_0x374a58,_0x3a30cf=this[_0x38a57c(0x191)](_0x4429d6,_0x4c5089);_0xae6907[_0x38a57c(0x154)]!=_0x3a30cf&&(_0xae6907[_0x38a57c(0x154)]=_0x3a30cf,this[_0x38a57c(0x194)](_0xae6907,_0x3a30cf));}),this[_0x374a58(0x169)](_0xae6907,_0x374a58(0x196),()=>{const _0x741ade=_0x374a58;this[_0x741ade(0x162)](_0xae6907,_0x741ade(0x15a));}),this[_0x374a58(0x169)](_0xae6907,_0x374a58(0x18a),()=>{const _0x37e824=_0x374a58;this[_0x37e824(0x162)](_0xae6907,_0x37e824(0x185));}),this[_0x374a58(0x14f)](_0xae6907);const _0x17f6cf=this[_0x374a58(0x1a1)](_0xae6907);if(_0x17f6cf)this[_0x374a58(0x18d)](_0x17f6cf,_0xae6907)||this[_0x374a58(0x14f)](_0xae6907);else this[_0x374a58(0x14f)](_0xae6907);return this[_0x374a58(0x18c)](),this[_0x374a58(0x19f)][_0x374a58(0x14e)][_0x374a58(0x15f)](_0xae6907),_0xae6907;}[_0x15fb3f(0x189)](_0x3dee5e){const _0x4dec16=_0x15fb3f;if(!_0x3dee5e[_0x4dec16(0x16a)][_0x4dec16(0x171)])return;const _0x38c7b9=this[_0x4dec16(0x1a1)](_0x3dee5e);if(!_0x38c7b9)return;const _0x4fb87b=this[_0x4dec16(0x149)][_0x4dec16(0x190)](_0x38c7b9),_0x3f5fd7=this[_0x4dec16(0x152)];_0x3f5fd7&&_0x3f5fd7===_0x4fb87b?this[_0x4dec16(0x18d)](_0x38c7b9,_0x3dee5e):this[_0x4dec16(0x18e)](_0x3dee5e,_0x38c7b9);}[_0x15fb3f(0x19b)](_0x4a7440){const _0xdb34e4=_0x15fb3f;if(!_0x4a7440[_0xdb34e4(0x16a)][_0xdb34e4(0x171)])return;const _0x12368f=this[_0xdb34e4(0x147)](_0x4a7440);if(!_0x12368f)return;const _0x186024=this[_0xdb34e4(0x149)][_0xdb34e4(0x190)](_0x12368f),_0x2f269c=this[_0xdb34e4(0x180)][_0xdb34e4(0x188)][_0xdb34e4(0x190)](_0xdb34e4(0x160)),_0x470817=this[_0xdb34e4(0x152)];_0x470817&&_0x470817===_0x186024&&_0x2f269c?(this[_0xdb34e4(0x18e)](_0x12368f,_0x4a7440),this[_0xdb34e4(0x18d)](_0x4a7440,_0x12368f)):_0x470817&&_0x470817===_0x186024?this[_0xdb34e4(0x18e)](_0x12368f,_0x4a7440):this[_0xdb34e4(0x18d)](_0x4a7440,_0x12368f);}[_0x15fb3f(0x162)](_0x50717d,_0xde227c){const _0x78a23c=_0x15fb3f;0x0===this[_0x78a23c(0x182)][_0x78a23c(0x171)]&&setTimeout(()=>{const _0x33dc45=_0x78a23c;for(const {sidebarItemView:_0x8a4ee5,changedProp:_0x550a6a}of this[_0x33dc45(0x182)])_0x33dc45(0x15a)===_0x550a6a?this[_0x33dc45(0x189)](_0x8a4ee5):this[_0x33dc45(0x19b)](_0x8a4ee5);this[_0x33dc45(0x182)]=[];},0xa),this[_0x78a23c(0x182)][_0x78a23c(0x15e)]({'sidebarItemView':_0x50717d,'changedProp':_0xde227c});}[_0x15fb3f(0x166)](_0x32baaa){const _0x5caa56=_0x15fb3f;return this[_0x5caa56(0x15b)][_0x5caa56(0x190)](_0x32baaa);}[_0x15fb3f(0x173)](){const _0x32d767=_0x15fb3f;this[_0x32d767(0x16d)](),this[_0x32d767(0x19f)][_0x32d767(0x173)]();}[_0x15fb3f(0x19c)](_0x5ed1b6){const _0x1215a5=_0x15fb3f,_0x1eda9c=this[_0x1215a5(0x166)](_0x5ed1b6);this[_0x1215a5(0x16d)](_0x1eda9c),this[_0x1215a5(0x16d)](_0x5ed1b6[_0x1215a5(0x19f)]),_0x1eda9c[_0x1215a5(0x173)](),this[_0x1215a5(0x15b)][_0x1215a5(0x170)](_0x5ed1b6),this[_0x1215a5(0x149)][_0x1215a5(0x170)](_0x1eda9c);}[_0x15fb3f(0x165)](){const _0x68c827=_0x15fb3f,_0x49f7e5=new _0x2fc7ec(this[_0x68c827(0x180)][_0x68c827(0x1a3)]);return _0x49f7e5[_0x68c827(0x177)](),this['on'](_0x68c827(0x150),(_0x38fc4b,_0x48d2e7,_0x19c6f8,_0x1130d5)=>{const _0x3e7710=_0x68c827;_0x1130d5&&_0x49f7e5[_0x3e7710(0x151)](_0x3e7710(0x183)),_0x19c6f8?_0x49f7e5[_0x3e7710(0x197)](_0x3e7710(0x183))['to'](_0x19c6f8,_0x3e7710(0x185)):_0x49f7e5[_0x3e7710(0x183)]=null;}),_0x49f7e5;}[_0x15fb3f(0x18c)](){const _0x2c8eef=_0x15fb3f;var _0x10a152;this[_0x2c8eef(0x18f)]=(null===(_0x10a152=this[_0x2c8eef(0x17e)])||void 0x0===_0x10a152?void 0x0:_0x10a152[_0x2c8eef(0x161)])?this[_0x2c8eef(0x166)](this[_0x2c8eef(0x17e)][_0x2c8eef(0x161)]):null;}[_0x15fb3f(0x1a1)](_0x5bacf1){const _0x5bbf0b=_0x15fb3f;var _0x91c313;const _0x2a6ba9=this[_0x5bbf0b(0x149)][_0x5bbf0b(0x190)](_0x5bacf1),_0xb9c5a7=_0x2a6ba9&&(null===(_0x91c313=this[_0x5bbf0b(0x17e)])||void 0x0===_0x91c313?void 0x0:_0x91c313[_0x5bbf0b(0x190)](this[_0x5bbf0b(0x17e)][_0x5bbf0b(0x153)](_0x2a6ba9)-0x1));return _0xb9c5a7&&this[_0x5bbf0b(0x166)](_0xb9c5a7)||null;}[_0x15fb3f(0x147)](_0x4d83f9){const _0x3fca3b=_0x15fb3f;var _0x1ddd5a;const _0x5e08f4=this[_0x3fca3b(0x149)][_0x3fca3b(0x190)](_0x4d83f9),_0x4726be=_0x5e08f4&&(null===(_0x1ddd5a=this[_0x3fca3b(0x17e)])||void 0x0===_0x1ddd5a?void 0x0:_0x1ddd5a[_0x3fca3b(0x190)](this[_0x3fca3b(0x17e)][_0x3fca3b(0x153)](_0x5e08f4)+0x1));return _0x4726be&&this[_0x3fca3b(0x166)](_0x4726be)||null;}[_0x15fb3f(0x18e)](_0x5e123a,_0x2dc551){const _0x3bc091=_0x15fb3f;_0x5e123a[_0x3bc091(0x163)]();const _0x542b81=R(_0x2dc551[_0x3bc091(0x185)]+this[_0x3bc091(0x155)],_0x5e123a[_0x3bc091(0x15a)]);return!!_0x542b81&&(this[_0x3bc091(0x194)](_0x2dc551,_0x2dc551[_0x3bc091(0x15a)]-_0x542b81),!0x0);}[_0x15fb3f(0x18d)](_0x525f1e,_0x1c9ab1){const _0x5e4228=_0x15fb3f;_0x525f1e[_0x5e4228(0x163)]();const _0x5f2c9e=R(_0x525f1e[_0x5e4228(0x185)]+this[_0x5e4228(0x155)],_0x1c9ab1[_0x5e4228(0x15a)]);return!!_0x5f2c9e&&(this[_0x5e4228(0x194)](_0x1c9ab1,_0x1c9ab1[_0x5e4228(0x15a)]+_0x5f2c9e,!0x1),!0x0);}[_0x15fb3f(0x14f)](_0x5cf9d4){const _0x5ba722=_0x15fb3f,_0x25f45d=this[_0x5ba722(0x149)][_0x5ba722(0x190)](_0x5cf9d4);if(!_0x25f45d||!_0x25f45d[_0x5ba722(0x17d)]||!_0x25f45d[_0x5ba722(0x19d)])return;const _0x35a547=this[_0x5ba722(0x191)](_0x25f45d,_0x25f45d[_0x5ba722(0x19d)]);this[_0x5ba722(0x194)](_0x5cf9d4,_0x35a547);}[_0x15fb3f(0x191)](_0x354c91,_0x8f802a){const _0x3369d2=_0x15fb3f;if(null===_0x8f802a)return 0x0;if(_0x354c91[_0x3369d2(0x17d)]instanceof _0x2f4eef)return _0x8f802a[_0x3369d2(0x15a)];{const _0x4421c7=new _0x2f4eef(this[_0x3369d2(0x19f)][_0x3369d2(0x168)])[_0x3369d2(0x15a)];return _0x8f802a[_0x3369d2(0x15a)]-_0x4421c7;}}[_0x15fb3f(0x194)](_0x282542,_0x948f8d,_0x38af5c=this[_0x15fb3f(0x180)][_0x15fb3f(0x188)][_0x15fb3f(0x190)](_0x15fb3f(0x160))){const _0x505a81=_0x15fb3f;_0x38af5c&&(_0x948f8d=Math[_0x505a81(0x167)](_0x948f8d,this[_0x505a81(0x16b)](_0x282542))),_0x282542[_0x505a81(0x15a)]=_0x948f8d;}[_0x15fb3f(0x16b)](_0x13a5b7){const _0x4cdc0c=_0x15fb3f;let _0x18b162=this[_0x4cdc0c(0x1a1)](_0x13a5b7),_0x5c1941=0x0;for(;_0x18b162;)_0x18b162[_0x4cdc0c(0x163)](),_0x5c1941+=this[_0x4cdc0c(0x155)]+_0x18b162[_0x4cdc0c(0x16e)],_0x18b162=this[_0x4cdc0c(0x1a1)](_0x18b162);return _0x5c1941;}}function R(_0x34b0f7,_0x4e8ae3){const _0x50a60b=_0x15fb3f;return Math[_0x50a60b(0x167)](_0x34b0f7-_0x4e8ae3,0x0);}function y(_0x57a62e){const _0x418be3=_0x15fb3f;return null!==_0x57a62e&&_0x418be3(0x16c)==typeof _0x57a62e&&0x1===_0x57a62e[_0x418be3(0x15c)];}
|
|
23
|
+
const _0x438ba9=_0x1ebf;(function(_0x37aea9,_0x3c7f12){const _0x1f2447=_0x1ebf,_0x589d1c=_0x37aea9();while(!![]){try{const _0x1d075c=-parseInt(_0x1f2447(0x140))/0x1*(parseInt(_0x1f2447(0x15e))/0x2)+parseInt(_0x1f2447(0x13a))/0x3+parseInt(_0x1f2447(0x168))/0x4+-parseInt(_0x1f2447(0x124))/0x5+parseInt(_0x1f2447(0x166))/0x6*(parseInt(_0x1f2447(0x11e))/0x7)+-parseInt(_0x1f2447(0x14d))/0x8+parseInt(_0x1f2447(0x117))/0x9;if(_0x1d075c===_0x3c7f12)break;else _0x589d1c['push'](_0x589d1c['shift']());}catch(_0x254e31){_0x589d1c['push'](_0x589d1c['shift']());}}}(_0x3d56,0x49598));import{ContextPlugin as _0x4101a2}from'ckeditor5/src/core.js';import{Rect as _0x43e91f,CKEditorError as _0x20e357}from'ckeditor5/src/utils.js';import _0x14d52a from'./view/sidebarview.js';import _0x1203a9 from'./view/sidebaritemview.js';function _0x1ebf(_0x24c9ed,_0x577854){const _0x3d5624=_0x3d56();return _0x1ebf=function(_0x1ebfee,_0x70f0cc){_0x1ebfee=_0x1ebfee-0x113;let _0x92e465=_0x3d5624[_0x1ebfee];return _0x92e465;},_0x1ebf(_0x24c9ed,_0x577854);}export default class z extends _0x4101a2{static get[_0x438ba9(0x131)](){const _0x30ba3f=_0x438ba9;return _0x30ba3f(0x136);}static get[_0x438ba9(0x150)](){return!0x0;}static get[_0x438ba9(0x14c)](){return!0x0;}constructor(_0x3c2fb0){const _0x3900dd=_0x438ba9;super(_0x3c2fb0),this[_0x3900dd(0x155)](_0x3900dd(0x153),void 0x0),this[_0x3900dd(0x130)]=this[_0x3900dd(0x116)](),this[_0x3900dd(0x155)](_0x3900dd(0x127),null),this[_0x3900dd(0x135)]=0x19,this[_0x3900dd(0x165)]=new Map(),this[_0x3900dd(0x120)]=new Map(),this[_0x3900dd(0x15a)][_0x3900dd(0x118)][_0x3900dd(0x11c)](_0x3900dd(0x115),!0x1),this[_0x3900dd(0x137)]=null,this[_0x3900dd(0x114)]=null,this[_0x3900dd(0x15b)]=[];}[_0x438ba9(0x13e)](){const _0x4b5cc7=_0x438ba9,_0x484825=this[_0x4b5cc7(0x15a)][_0x4b5cc7(0x118)][_0x4b5cc7(0x16c)](_0x4b5cc7(0x163));_0x484825&&this[_0x4b5cc7(0x12f)](_0x484825);}[_0x438ba9(0x12f)](_0x1230d3){const _0x6ee14e=_0x438ba9;if(!y(_0x1230d3))throw new _0x20e357(_0x6ee14e(0x128));this[_0x6ee14e(0x127)]=_0x1230d3;}[_0x438ba9(0x143)]({viewClass:_0x4192cb='',spaceBetweenItems:_0x539580=0x19}={}){const _0x5387b8=_0x438ba9;if(!y(this[_0x5387b8(0x127)]))throw new _0x20e357(_0x5387b8(0x161),this);this[_0x5387b8(0x127)][_0x5387b8(0x121)](this[_0x5387b8(0x130)][_0x5387b8(0x146)]),this[_0x5387b8(0x130)][_0x5387b8(0x12b)]=_0x4192cb,this[_0x5387b8(0x135)]=_0x539580;}[_0x438ba9(0x129)]({removedAnnotation:_0x25aab5,previousAnnotation:_0x26dbe6,nextAnnotation:_0x3f0f4f}){const _0xefedf5=_0x438ba9,_0x54aef0=this[_0xefedf5(0x160)](_0x25aab5);this[_0xefedf5(0x130)][_0xefedf5(0x14b)][_0xefedf5(0x123)](_0x54aef0),this[_0xefedf5(0x15c)](_0x25aab5),_0x26dbe6&&this[_0xefedf5(0x144)](this[_0xefedf5(0x160)](_0x26dbe6)),_0x3f0f4f&&this[_0xefedf5(0x144)](this[_0xefedf5(0x160)](_0x3f0f4f)),this[_0xefedf5(0x167)]();}[_0x438ba9(0x125)]({blurredAnnotation:_0x30117d,activatedAnnotation:_0x3b3f1b,disableAnimationOnActivatedAnnotation:_0x13fd31}){const _0x417e1c=_0x438ba9;if(this[_0x417e1c(0x114)]=_0x3b3f1b,_0x30117d){_0x30117d[_0x417e1c(0x12e)]=!0x1;const _0x5a64c9=this[_0x417e1c(0x160)](_0x30117d);_0x5a64c9&&_0x13fd31&&(_0x5a64c9[_0x417e1c(0x147)]=!0x1);}if(_0x3b3f1b){const _0x53f5c1=this[_0x417e1c(0x160)](_0x3b3f1b);_0x53f5c1&&(_0x3b3f1b[_0x417e1c(0x12e)]=!0x0,_0x13fd31&&(_0x53f5c1[_0x417e1c(0x147)]=!0x0,_0x53f5c1[_0x417e1c(0x159)]+=0x1),this[_0x417e1c(0x144)](_0x53f5c1));}}[_0x438ba9(0x154)](_0x32af89){const _0x95a6db=_0x438ba9;if(this[_0x95a6db(0x130)][_0x95a6db(0x146)][_0x95a6db(0x123)](),_0x32af89){for(const _0x197730 of _0x32af89)this[_0x95a6db(0x15c)](_0x197730);}this[_0x95a6db(0x130)][_0x95a6db(0x14b)][_0x95a6db(0x16a)](),this[_0x95a6db(0x130)][_0x95a6db(0x12b)]='',this[_0x95a6db(0x153)]=null;}[_0x438ba9(0x145)](_0x465b4f,_0x4758e8){const _0x3c7f88=_0x438ba9;_0x4758e8||(_0x4758e8=_0x465b4f[_0x3c7f88(0x130)]);const _0x3435e0=new _0x1203a9(this[_0x3c7f88(0x15a)][_0x3c7f88(0x158)]);this[_0x3c7f88(0x165)][_0x3c7f88(0x155)](_0x3435e0,_0x465b4f),this[_0x3c7f88(0x120)][_0x3c7f88(0x155)](_0x465b4f,_0x3435e0),_0x3435e0[_0x3c7f88(0x126)][_0x3c7f88(0x14a)](_0x4758e8),this[_0x3c7f88(0x149)](_0x465b4f[_0x3c7f88(0x130)],_0x3c7f88(0x169),(_0x4e882e,_0x3f704a,_0x1869cd)=>{const _0x5b06c2=_0x3c7f88,_0x398195=this[_0x5b06c2(0x119)](_0x465b4f,_0x1869cd);_0x3435e0[_0x5b06c2(0x151)]!=_0x398195&&(_0x3435e0[_0x5b06c2(0x151)]=_0x398195,this[_0x5b06c2(0x16b)](_0x3435e0,_0x398195));}),this[_0x3c7f88(0x149)](_0x3435e0,_0x3c7f88(0x134),()=>{const _0x580695=_0x3c7f88;this[_0x580695(0x11f)](_0x3435e0,_0x580695(0x159));}),this[_0x3c7f88(0x149)](_0x3435e0,_0x3c7f88(0x122),()=>{const _0x2ad2d6=_0x3c7f88;this[_0x2ad2d6(0x11f)](_0x3435e0,_0x2ad2d6(0x157));}),this[_0x3c7f88(0x144)](_0x3435e0);const _0x4792ee=this[_0x3c7f88(0x148)](_0x3435e0);if(_0x4792ee)this[_0x3c7f88(0x156)](_0x4792ee,_0x3435e0)||this[_0x3c7f88(0x144)](_0x3435e0);else this[_0x3c7f88(0x144)](_0x3435e0);return this[_0x3c7f88(0x167)](),this[_0x3c7f88(0x130)][_0x3c7f88(0x14b)][_0x3c7f88(0x14a)](_0x3435e0),_0x3435e0;}[_0x438ba9(0x11d)](_0x2fd8d2){const _0x2967f3=_0x438ba9;if(!_0x2fd8d2[_0x2967f3(0x126)][_0x2967f3(0x12c)])return;const _0x1c5af2=this[_0x2967f3(0x148)](_0x2fd8d2);if(!_0x1c5af2)return;const _0x237895=this[_0x2967f3(0x165)][_0x2967f3(0x16c)](_0x1c5af2),_0x11b8e7=this[_0x2967f3(0x114)];_0x11b8e7&&_0x11b8e7===_0x237895?this[_0x2967f3(0x156)](_0x1c5af2,_0x2fd8d2):this[_0x2967f3(0x139)](_0x2fd8d2,_0x1c5af2);}[_0x438ba9(0x11b)](_0x176450){const _0x12b8f1=_0x438ba9;if(!_0x176450[_0x12b8f1(0x126)][_0x12b8f1(0x12c)])return;const _0x572333=this[_0x12b8f1(0x162)](_0x176450);if(!_0x572333)return;const _0x2cd20f=this[_0x12b8f1(0x165)][_0x12b8f1(0x16c)](_0x572333),_0x494001=this[_0x12b8f1(0x15a)][_0x12b8f1(0x118)][_0x12b8f1(0x16c)](_0x12b8f1(0x115)),_0xa079a1=this[_0x12b8f1(0x114)];_0xa079a1&&_0xa079a1===_0x2cd20f&&_0x494001?(this[_0x12b8f1(0x139)](_0x572333,_0x176450),this[_0x12b8f1(0x156)](_0x176450,_0x572333)):_0xa079a1&&_0xa079a1===_0x2cd20f?this[_0x12b8f1(0x139)](_0x572333,_0x176450):this[_0x12b8f1(0x156)](_0x176450,_0x572333);}[_0x438ba9(0x11f)](_0x24b902,_0x40207a){const _0x38fab8=_0x438ba9;0x0===this[_0x38fab8(0x15b)][_0x38fab8(0x12c)]&&setTimeout(()=>{const _0x61ce95=_0x38fab8;for(const {sidebarItemView:_0x151d20,changedProp:_0x39b5b0}of this[_0x61ce95(0x15b)])_0x61ce95(0x159)===_0x39b5b0?this[_0x61ce95(0x11d)](_0x151d20):this[_0x61ce95(0x11b)](_0x151d20);this[_0x61ce95(0x15b)]=[];},0xa),this[_0x38fab8(0x15b)][_0x38fab8(0x12d)]({'sidebarItemView':_0x24b902,'changedProp':_0x40207a});}[_0x438ba9(0x160)](_0x19e9cc){const _0x33bbc8=_0x438ba9;return this[_0x33bbc8(0x120)][_0x33bbc8(0x16c)](_0x19e9cc);}[_0x438ba9(0x15d)](){const _0x3fbed5=_0x438ba9;this[_0x3fbed5(0x152)](),this[_0x3fbed5(0x130)][_0x3fbed5(0x15d)]();}[_0x438ba9(0x15c)](_0x131ed3){const _0x4a8dd8=_0x438ba9,_0x221776=this[_0x4a8dd8(0x160)](_0x131ed3);this[_0x4a8dd8(0x152)](_0x221776),this[_0x4a8dd8(0x152)](_0x131ed3[_0x4a8dd8(0x130)]),_0x221776[_0x4a8dd8(0x15d)](),this[_0x4a8dd8(0x120)][_0x4a8dd8(0x113)](_0x131ed3),this[_0x4a8dd8(0x165)][_0x4a8dd8(0x113)](_0x221776);}[_0x438ba9(0x116)](){const _0x343eab=_0x438ba9,_0x3a1d15=new _0x14d52a(this[_0x343eab(0x15a)][_0x343eab(0x158)]);return _0x3a1d15[_0x343eab(0x13c)](),this['on'](_0x343eab(0x15f),(_0xf27112,_0x514772,_0x324c8e,_0x5bc43b)=>{const _0x5a3ad0=_0x343eab;_0x5bc43b&&_0x3a1d15[_0x5a3ad0(0x13f)](_0x5a3ad0(0x164)),_0x324c8e?_0x3a1d15[_0x5a3ad0(0x138)](_0x5a3ad0(0x164))['to'](_0x324c8e,_0x5a3ad0(0x157)):_0x3a1d15[_0x5a3ad0(0x164)]=null;}),_0x3a1d15;}[_0x438ba9(0x167)](){const _0x5471de=_0x438ba9;var _0x17b480;this[_0x5471de(0x153)]=(null===(_0x17b480=this[_0x5471de(0x137)])||void 0x0===_0x17b480?void 0x0:_0x17b480[_0x5471de(0x141)])?this[_0x5471de(0x160)](this[_0x5471de(0x137)][_0x5471de(0x141)]):null;}[_0x438ba9(0x148)](_0x11dda8){const _0x1b44fa=_0x438ba9;var _0x5efda3;const _0x11e312=this[_0x1b44fa(0x165)][_0x1b44fa(0x16c)](_0x11dda8),_0x4d666c=_0x11e312&&(null===(_0x5efda3=this[_0x1b44fa(0x137)])||void 0x0===_0x5efda3?void 0x0:_0x5efda3[_0x1b44fa(0x16c)](this[_0x1b44fa(0x137)][_0x1b44fa(0x142)](_0x11e312)-0x1));return _0x4d666c&&this[_0x1b44fa(0x160)](_0x4d666c)||null;}[_0x438ba9(0x162)](_0x4e5ed7){const _0x3ca571=_0x438ba9;var _0x4f7ce1;const _0x4da05c=this[_0x3ca571(0x165)][_0x3ca571(0x16c)](_0x4e5ed7),_0x5a2d9a=_0x4da05c&&(null===(_0x4f7ce1=this[_0x3ca571(0x137)])||void 0x0===_0x4f7ce1?void 0x0:_0x4f7ce1[_0x3ca571(0x16c)](this[_0x3ca571(0x137)][_0x3ca571(0x142)](_0x4da05c)+0x1));return _0x5a2d9a&&this[_0x3ca571(0x160)](_0x5a2d9a)||null;}[_0x438ba9(0x139)](_0xb8acdd,_0x546c18){const _0x4f4d4c=_0x438ba9;_0xb8acdd[_0x4f4d4c(0x13d)]();const _0x27ade7=R(_0x546c18[_0x4f4d4c(0x157)]+this[_0x4f4d4c(0x135)],_0xb8acdd[_0x4f4d4c(0x159)]);return!!_0x27ade7&&(this[_0x4f4d4c(0x16b)](_0x546c18,_0x546c18[_0x4f4d4c(0x159)]-_0x27ade7),!0x0);}[_0x438ba9(0x156)](_0x15ff6c,_0x1e3222){const _0x31a5d4=_0x438ba9;_0x15ff6c[_0x31a5d4(0x13d)]();const _0x27c4f0=R(_0x15ff6c[_0x31a5d4(0x157)]+this[_0x31a5d4(0x135)],_0x1e3222[_0x31a5d4(0x159)]);return!!_0x27c4f0&&(this[_0x31a5d4(0x16b)](_0x1e3222,_0x1e3222[_0x31a5d4(0x159)]+_0x27c4f0,!0x1),!0x0);}[_0x438ba9(0x144)](_0x3bac48){const _0x56489b=_0x438ba9,_0x2199e2=this[_0x56489b(0x165)][_0x56489b(0x16c)](_0x3bac48);if(!_0x2199e2||!_0x2199e2[_0x56489b(0x14f)]||!_0x2199e2[_0x56489b(0x132)])return;const _0x1d49a1=this[_0x56489b(0x119)](_0x2199e2,_0x2199e2[_0x56489b(0x132)]);this[_0x56489b(0x16b)](_0x3bac48,_0x1d49a1);}[_0x438ba9(0x119)](_0x49429e,_0x4701b9){const _0x242996=_0x438ba9;if(null===_0x4701b9)return 0x0;if(_0x49429e[_0x242996(0x14f)]instanceof _0x43e91f)return _0x4701b9[_0x242996(0x159)];{const _0x1469f9=new _0x43e91f(this[_0x242996(0x130)][_0x242996(0x146)])[_0x242996(0x159)];return _0x4701b9[_0x242996(0x159)]-_0x1469f9;}}[_0x438ba9(0x16b)](_0x2da20c,_0x159081,_0x2bfda1=this[_0x438ba9(0x15a)][_0x438ba9(0x118)][_0x438ba9(0x16c)](_0x438ba9(0x115))){const _0x201347=_0x438ba9;_0x2bfda1&&(_0x159081=Math[_0x201347(0x11a)](_0x159081,this[_0x201347(0x133)](_0x2da20c))),_0x2da20c[_0x201347(0x159)]=_0x159081;}[_0x438ba9(0x133)](_0x531a9b){const _0x1020e7=_0x438ba9;let _0x40412f=this[_0x1020e7(0x148)](_0x531a9b),_0x2bc82e=0x0;for(;_0x40412f;)_0x40412f[_0x1020e7(0x13d)](),_0x2bc82e+=this[_0x1020e7(0x135)]+_0x40412f[_0x1020e7(0x13b)],_0x40412f=this[_0x1020e7(0x148)](_0x40412f);return _0x2bc82e;}}function R(_0x3d1b79,_0x5e29e2){const _0x463228=_0x438ba9;return Math[_0x463228(0x11a)](_0x3d1b79-_0x5e29e2,0x0);}function _0x3d56(){const _0x41dde0=['top','context','_recalculateBuffer','_destroySidebarItemView','destroy','80ZXGoeG','change:_lastItem','getSidebarItemView','sidebar-attachtocontainer-missing-container','_getItemAfter','sidebar.container','minHeight','_sidebarItemViewToAnnotation','1434siCWMs','_updateLastItem','1919772xUuffC','change:targetRect','clear','_setItemTop','get','delete','_activeAnnotation','sidebar.preventScrollOutOfView','_createSidebarView','3370734hOlcDd','config','_getTargetTop','max','_alignForBottomChange','define','_alignForTopChange','9121IESTuj','_recalculate','_annotationToSidebarItemView','appendChild','change:bottom','remove','2423895OrJLFo','refresh','content','container','sidebar-setcontainer-invalid-element','rearrange','object','class','length','push','isActive','setContainer','view','pluginName','targetRect','_getMaxAvailableTop','change:top','_spaceBetweenItems','Sidebar','_annotations','bind','_alignBeforeItem','745566vrtSub','height','render','updateHeight','init','unbind','3101iFuUyJ','last','getIndex','_attachToContainer','_alignToTargetRect','addAnnotation','element','isAnimationDisabled','_getItemBefore','listenTo','add','list','isPremiumPlugin','4041192adRdLz','nodeType','target','isOfficialPlugin','_targetTop','stopListening','_lastItem','_detachFromContainer','set','_alignAfterItem','bottom','locale'];_0x3d56=function(){return _0x41dde0;};return _0x3d56();}function y(_0x74df58){const _0x582b50=_0x438ba9;return null!==_0x74df58&&_0x582b50(0x12a)==typeof _0x74df58&&0x1===_0x74df58[_0x582b50(0x14e)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x17da77,_0x4bd19a){const _0x5b3194=_0x4aa9,_0x582e1f=_0x17da77();while(!![]){try{const _0xb6abd9=parseInt(_0x5b3194(0x1a2))/0x1*(parseInt(_0x5b3194(0x192))/0x2)+-parseInt(_0x5b3194(0x195))/0x3*(parseInt(_0x5b3194(0x193))/0x4)+parseInt(_0x5b3194(0x1ac))/0x5*(-parseInt(_0x5b3194(0x1a9))/0x6)+-parseInt(_0x5b3194(0x1ab))/0x7*(-parseInt(_0x5b3194(0x1b1))/0x8)+parseInt(_0x5b3194(0x19b))/0x9*(-parseInt(_0x5b3194(0x1a4))/0xa)+-parseInt(_0x5b3194(0x1a7))/0xb+-parseInt(_0x5b3194(0x19d))/0xc*(-parseInt(_0x5b3194(0x194))/0xd);if(_0xb6abd9===_0x4bd19a)break;else _0x582e1f['push'](_0x582e1f['shift']());}catch(_0xf8441b){_0x582e1f['push'](_0x582e1f['shift']());}}}(_0x40b9,0x339d0));function _0x40b9(){const _0x52f4ea=['isDirty','set','600gjbqZN','annotationType','6JZniyO','56NKwxKL','13wneIyU','23142ysfSfH','...','children','bind','toString','bindTemplate','180icrqMc','extendTemplate','2874348BZbWmA','add','setTemplate','icon','ck-annotation-counter__badge--edit-mode','136632ERgCbm','number','126580brKOwd','ck-annotation-counter__badge','_badge','3695142aEfcLY','ck-annotation-counter__badge--','6lAGsGi','ck-annotation-counter','38234ABNeqI','752945FBJlCo','counterView','span'];_0x40b9=function(){return _0x52f4ea;};return _0x40b9();}function _0x4aa9(_0x4f5c5d,_0x1bfc5e){const _0x40b93d=_0x40b9();return _0x4aa9=function(_0x4aa90c,_0x15efbd){_0x4aa90c=_0x4aa90c-0x191;let _0x5a0e9c=_0x40b93d[_0x4aa90c];return _0x5a0e9c;},_0x4aa9(_0x4f5c5d,_0x1bfc5e);}import{ButtonView as _0x16224b,View as _0x866a25}from'ckeditor5/src/ui.js';import _0x4f266a from'../../../theme/icons/add-comment.svg';export default class D extends _0x16224b{constructor(_0x24ce48){const _0x161f91=_0x4aa9;super(_0x24ce48);const _0x2aacce=this[_0x161f91(0x19a)];this[_0x161f91(0x1b0)](_0x161f91(0x1af),!0x1),this[_0x161f91(0x1b0)](_0x161f91(0x1a3),0x0),this[_0x161f91(0x198)](_0x161f91(0x1a6))['to'](this,_0x161f91(0x1af),this,_0x161f91(0x1a3),(_0x5d2086,_0x3cffa5)=>_0x5d2086?_0x161f91(0x196):_0x3cffa5[_0x161f91(0x199)]()),this[_0x161f91(0x1b0)](_0x161f91(0x191),''),this[_0x161f91(0x1a0)]=_0x4f266a,this[_0x161f91(0x19c)]({'attributes':{'class':[_0x161f91(0x1aa)]}}),this[_0x161f91(0x1ad)]=new _0x866a25(),this[_0x161f91(0x1ad)][_0x161f91(0x19f)]({'tag':_0x161f91(0x1ae),'attributes':{'class':[_0x161f91(0x1a5),_0x2aacce['to'](_0x161f91(0x191),_0x56ceeb=>_0x161f91(0x1a8)+_0x56ceeb),_0x2aacce['if'](_0x161f91(0x1af),_0x161f91(0x1a1))]},'children':[{'text':_0x2aacce['to'](_0x161f91(0x1a6))}]}),this[_0x161f91(0x197)][_0x161f91(0x19e)](this[_0x161f91(0x1ad)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x567742=_0x530a;function _0xca55(){const _0x5a0a9d=['ck-annotation-wrapper','376845EACeYx','type','set','focus','detach','441734AByLqk','render','first','delegate','3ryCOLQ','listenTo','length','ck-annotation-wrapper--active','isDirty','ck-rounded-corners','mainView','9207340LkpovR','_mutationObserver','destroy','clientHeight','arrowup','presentation','content','bindTemplate','2817230IJERTL','191112ZKbjYT','Esc','focusTracker','element','207ZzXBun','div','_updateHeight','createCollection','attach','fire','isActive','939396cdigGU','keystrokes','height','6sFArJM','targetRect','clear','setTemplate','arrowdown','add','477016XHCIUE'];_0xca55=function(){return _0x5a0a9d;};return _0xca55();}(function(_0x278fd4,_0x2e771b){const _0x4c5d84=_0x530a,_0x2f90f2=_0x278fd4();while(!![]){try{const _0x58e297=parseInt(_0x4c5d84(0x114))/0x1*(-parseInt(_0x4c5d84(0x110))/0x2)+-parseInt(_0x4c5d84(0x132))/0x3*(-parseInt(_0x4c5d84(0x109))/0x4)+-parseInt(_0x4c5d84(0x123))/0x5+-parseInt(_0x4c5d84(0x12f))/0x6+parseInt(_0x4c5d84(0x10b))/0x7+parseInt(_0x4c5d84(0x124))/0x8*(parseInt(_0x4c5d84(0x128))/0x9)+parseInt(_0x4c5d84(0x11b))/0xa;if(_0x58e297===_0x2e771b)break;else _0x2f90f2['push'](_0x2f90f2['shift']());}catch(_0x4708bd){_0x2f90f2['push'](_0x2f90f2['shift']());}}}(_0xca55,0x5cc07));import{View as _0x71b8fc}from'ckeditor5/src/ui.js';function _0x530a(_0x40f2f6,_0x8782e7){const _0xca55af=_0xca55();return _0x530a=function(_0x530a9b,_0x1017e8){_0x530a9b=_0x530a9b-0x108;let _0x38d659=_0xca55af[_0x530a9b];return _0x38d659;},_0x530a(_0x40f2f6,_0x8782e7);}import{FocusTracker as _0x491a54,KeystrokeHandler as _0x1b3f26,uid as _0x5cf2c2}from'ckeditor5/src/utils.js';import _0x4f9728 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class T extends _0x71b8fc{constructor(_0x8a85db,_0x3a070f){const _0x4c14c0=_0x530a;super(_0x8a85db),this['id']=_0x5cf2c2(),this[_0x4c14c0(0x126)]=new _0x491a54(),this[_0x4c14c0(0x130)]=new _0x1b3f26(),this[_0x4c14c0(0x130)][_0x4c14c0(0x10d)](_0x4c14c0(0x125),(_0x5b0890,_0x23f96c)=>this[_0x4c14c0(0x12d)](_0x4c14c0(0x125),_0x23f96c)),this[_0x4c14c0(0x10d)](_0x4c14c0(0x133),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x4c14c0(0x10d)](_0x4c14c0(0x131),0x0),this[_0x4c14c0(0x10d)](_0x4c14c0(0x12e),!0x1),this[_0x4c14c0(0x10d)](_0x4c14c0(0x118),!0x1),this[_0x4c14c0(0x10d)](_0x4c14c0(0x116),0x0),this[_0x4c14c0(0x10d)](_0x4c14c0(0x10c),''),this[_0x4c14c0(0x11c)]=_0x4f9728(()=>this[_0x4c14c0(0x12a)]()),this[_0x4c14c0(0x121)]=this[_0x4c14c0(0x12b)](),this[_0x4c14c0(0x121)][_0x4c14c0(0x113)](_0x4c14c0(0x11f),_0x4c14c0(0x136))['to'](this),this[_0x4c14c0(0x121)][_0x4c14c0(0x108)](_0x3a070f),this[_0x4c14c0(0x11a)]=_0x3a070f;const _0x4d25cd=this[_0x4c14c0(0x122)];this[_0x4c14c0(0x135)]({'tag':_0x4c14c0(0x129),'attributes':{'class':['ck',_0x4c14c0(0x10a),_0x4c14c0(0x119),_0x4d25cd['if'](_0x4c14c0(0x12e),_0x4c14c0(0x117))],'role':_0x4c14c0(0x120)},'children':this[_0x4c14c0(0x121)]});}[_0x567742(0x111)](){const _0x539ed4=_0x567742;super[_0x539ed4(0x111)](),this[_0x539ed4(0x126)][_0x539ed4(0x108)](this[_0x539ed4(0x127)]),this[_0x539ed4(0x130)][_0x539ed4(0x115)](this[_0x539ed4(0x127)]),this[_0x539ed4(0x11c)][_0x539ed4(0x12c)](this[_0x539ed4(0x127)]);}[_0x567742(0x11d)](){const _0x1e8679=_0x567742;this[_0x1e8679(0x121)][_0x1e8679(0x134)](),this[_0x1e8679(0x130)][_0x1e8679(0x11d)](),this[_0x1e8679(0x126)][_0x1e8679(0x11d)](),this[_0x1e8679(0x11c)][_0x1e8679(0x10f)](),super[_0x1e8679(0x11d)]();}[_0x567742(0x10e)](){const _0x9a28ce=_0x567742;this[_0x9a28ce(0x121)][_0x9a28ce(0x112)]&&this[_0x9a28ce(0x121)][_0x9a28ce(0x112)][_0x9a28ce(0x10e)]();}[_0x567742(0x12a)](){const _0x30cf91=_0x567742,_0x4f084e=this[_0x30cf91(0x127)][_0x30cf91(0x11e)];_0x4f084e&&(this[_0x30cf91(0x131)]=_0x4f084e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4c9a(_0x282467,_0x52d703){const _0x541b20=_0x541b();return _0x4c9a=function(_0x4c9a37,_0x36cf6b){_0x4c9a37=_0x4c9a37-0xf1;let _0x27e9dd=_0x541b20[_0x4c9a37];return _0x27e9dd;},_0x4c9a(_0x282467,_0x52d703);}const _0x7180f3=_0x4c9a;(function(_0x394482,_0x80c66c){const _0x32557b=_0x4c9a,_0x363e41=_0x394482();while(!![]){try{const _0x1ea208=parseInt(_0x32557b(0x103))/0x1+-parseInt(_0x32557b(0x10d))/0x2+-parseInt(_0x32557b(0xf6))/0x3*(-parseInt(_0x32557b(0x10a))/0x4)+parseInt(_0x32557b(0xfe))/0x5*(-parseInt(_0x32557b(0x110))/0x6)+parseInt(_0x32557b(0x102))/0x7*(-parseInt(_0x32557b(0x104))/0x8)+parseInt(_0x32557b(0xfa))/0x9+-parseInt(_0x32557b(0x111))/0xa;if(_0x1ea208===_0x80c66c)break;else _0x363e41['push'](_0x363e41['shift']());}catch(_0x1592e9){_0x363e41['push'](_0x363e41['shift']());}}}(_0x541b,0xb9203));import{View as _0x21fbbc}from'ckeditor5/src/ui.js';import{toUnit as _0x382a9f}from'ckeditor5/src/utils.js';function _0x541b(){const _0x245454=['6672510HyiwYZ','set','bottom','ck-sidebar-item--no-animation','5AclpnP','first','delegate','destroy','7aKoTyk','1230661ygZikl','10186832vEfxTN','render','detach','isAnimationDisabled','height','clientHeight','4BFTBBq','attach','createCollection','1566168DZmMyU','top','content','550356dmenGJ','4460990juaNgw','div','arrowdown','_mutationObserver','focus','setTemplate','updateHeight','bind','bindTemplate','_targetTop','arrowup','presentation','4141461aVojBC','clear','element','ck-sidebar-item'];_0x541b=function(){return _0x245454;};return _0x541b();}import _0x65ec7a from'../../utils/createmutationobserver.js';const qt=_0x382a9f('px');export default class H extends _0x21fbbc{constructor(_0x4367ba){const _0x5f161e=_0x4c9a;super(_0x4367ba),this[_0x5f161e(0xfb)](_0x5f161e(0x10e),0x0),this[_0x5f161e(0xfb)](_0x5f161e(0x108),0x0),this[_0x5f161e(0xf1)](_0x5f161e(0xfc))['to'](this,_0x5f161e(0x10e),this,_0x5f161e(0x108),(_0x5205b8,_0x540cf6)=>_0x5205b8+_0x540cf6),this[_0x5f161e(0xfb)](_0x5f161e(0x107),!0x1),this[_0x5f161e(0x114)]=_0x65ec7a(()=>this[_0x5f161e(0x117)]()),this[_0x5f161e(0xf3)]=null,this[_0x5f161e(0x10f)]=this[_0x5f161e(0x10c)](),this[_0x5f161e(0x10f)][_0x5f161e(0x100)](_0x5f161e(0xf4),_0x5f161e(0x113))['to'](this);const _0x546cae=this[_0x5f161e(0xf2)];this[_0x5f161e(0x116)]({'tag':_0x5f161e(0x112),'attributes':{'class':[_0x5f161e(0xf9),_0x546cae['to'](_0x5f161e(0x107),_0x2dc538=>_0x2dc538?_0x5f161e(0xfd):'')],'style':{'top':_0x546cae['to'](_0x5f161e(0x10e),_0x23c7a1=>qt(_0x23c7a1))},'role':_0x5f161e(0xf5)},'children':this[_0x5f161e(0x10f)]});}[_0x7180f3(0x105)](){const _0x298d3f=_0x7180f3;super[_0x298d3f(0x105)](),this[_0x298d3f(0x114)][_0x298d3f(0x10b)](this[_0x298d3f(0xf8)]);}[_0x7180f3(0x115)](){const _0x36d2e1=_0x7180f3;this[_0x36d2e1(0x10f)][_0x36d2e1(0xff)]&&this[_0x36d2e1(0x10f)][_0x36d2e1(0xff)][_0x36d2e1(0x115)]();}[_0x7180f3(0x117)](){const _0xab67b5=_0x7180f3,_0x5e1ee5=this[_0xab67b5(0xf8)][_0xab67b5(0x109)];_0x5e1ee5&&(this[_0xab67b5(0x108)]=_0x5e1ee5);}[_0x7180f3(0x101)](){const _0x11c961=_0x7180f3;this[_0x11c961(0x10f)][_0x11c961(0xf7)](),this[_0x11c961(0x114)][_0x11c961(0x106)](),super[_0x11c961(0x101)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4f83(_0x5bff45,_0x5d8146){const _0x38468e=_0x3846();return _0x4f83=function(_0x4f8354,_0x5cf296){_0x4f8354=_0x4f8354-0xea;let _0x268381=_0x38468e[_0x4f8354];return _0x268381;},_0x4f83(_0x5bff45,_0x5d8146);}const _0x1eb330=_0x4f83;(function(_0x21200d,_0x9809be){const _0x11c937=_0x4f83,_0x2ca878=_0x21200d();while(!![]){try{const _0x330627=parseInt(_0x11c937(0x105))/0x1+parseInt(_0x11c937(0xfe))/0x2*(-parseInt(_0x11c937(0xf1))/0x3)+-parseInt(_0x11c937(0x11a))/0x4+parseInt(_0x11c937(0xf5))/0x5+parseInt(_0x11c937(0xf2))/0x6*(-parseInt(_0x11c937(0x11c))/0x7)+-parseInt(_0x11c937(0x114))/0x8*(-parseInt(_0x11c937(0xf0))/0x9)+-parseInt(_0x11c937(0x101))/0xa*(-parseInt(_0x11c937(0x104))/0xb);if(_0x330627===_0x9809be)break;else _0x2ca878['push'](_0x2ca878['shift']());}catch(_0x5c75c9){_0x2ca878['push'](_0x2ca878['shift']());}}}(_0x3846,0xc1f52));import{View as _0x51a1e,FocusCycler as _0xb475e6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x193dfa,toUnit as _0x968c0c}from'ckeditor5/src/utils.js';import{getTranslation as _0x3f9a2f}from'../../utils/common-translations.js';function _0x3846(){const _0x2c0f1e=['Annotations\x20list','added','arrowdown','class','div','15174shMeJl','6uQJbXm','204tvDOsb','top','bindTemplate','1370460FjsAod','set','focusNext','element','_setupKeyboardNavigation','change','focusPrevious','application','change:top','238594zZzEra','_updateItemPositionInFocusables','forEach','92890jCXYXq','delegate','list','1452SQCFbs','139223KzIrLi','focus','focusCycler','getIndex','render','focusTracker','removed','add','uiLanguageDirection','minHeight','focusFirst','length','arrowup','source','setTemplate','3336ZOQKKZ','focusables','ck-sidebar','createCollection','number','ck-reset','587268TMxErE','listenTo','239372niBYMl','remove','Annotations\x20sidebar'];_0x3846=function(){return _0x2c0f1e;};return _0x3846();}import'../../../theme/sidebar.css';const qt=_0x968c0c('px');export default class V extends _0x51a1e{constructor(_0xa57c5){const _0x5286e0=_0x4f83;super(_0xa57c5);const _0x482082=this[_0x5286e0(0xf4)];this[_0x5286e0(0xf6)](_0x5286e0(0x10e),0x0),this[_0x5286e0(0xf6)](_0x5286e0(0xee),''),this[_0x5286e0(0x103)]=this[_0x5286e0(0x117)](),this[_0x5286e0(0x115)]=this[_0x5286e0(0x117)](),this[_0x5286e0(0x103)][_0x5286e0(0x102)](_0x5286e0(0x111),_0x5286e0(0xed))['to'](this),this[_0x5286e0(0x10a)]=new _0x193dfa(),this[_0x5286e0(0x107)]=new _0xb475e6({'focusables':this[_0x5286e0(0x115)],'focusTracker':this[_0x5286e0(0x10a)]}),this[_0x5286e0(0x113)]({'tag':_0x5286e0(0xef),'attributes':{'class':['ck',_0x5286e0(0x116),_0x5286e0(0x119),_0x482082['to'](_0x5286e0(0xee))],'style':{'minHeight':_0x482082['to'](_0x5286e0(0x10e),_0x3f89a1=>_0x5286e0(0x118)==typeof _0x3f89a1?qt(_0x3f89a1+0xa):null)},'dir':_0xa57c5[_0x5286e0(0x10d)],'role':_0x5286e0(0xfc),'aria-label':_0x3f9a2f(_0xa57c5,_0x5286e0(0xea)),'tabindex':0x0},'children':[{'tag':_0x5286e0(0xef),'attributes':{'role':_0x5286e0(0x103),'aria-label':_0x3f9a2f(_0xa57c5,_0x5286e0(0xeb))},'children':this[_0x5286e0(0x103)]}]});}[_0x1eb330(0x109)](){const _0x31d5f2=_0x1eb330;super[_0x31d5f2(0x109)](),this[_0x31d5f2(0xf9)]();}[_0x1eb330(0x106)](){const _0x13c7ab=_0x1eb330;this[_0x13c7ab(0x107)][_0x13c7ab(0x10f)]();}[_0x1eb330(0xf9)](){const _0x4c552a=_0x1eb330;this[_0x4c552a(0x103)][_0x4c552a(0x102)](_0x4c552a(0xfd))['to'](this),this['on'](_0x4c552a(0xfd),_0x4fd41c=>{const _0x1b031d=_0x4c552a;this[_0x1b031d(0xff)](_0x4fd41c[_0x1b031d(0x112)]);}),this[_0x4c552a(0x103)][_0x4c552a(0x100)](_0x4074e5=>{const _0x1a2d04=_0x4c552a;this[_0x1a2d04(0x10a)][_0x1a2d04(0x10c)](_0x4074e5[_0x1a2d04(0xf8)]),this[_0x1a2d04(0xff)](_0x4074e5);}),this[_0x4c552a(0x103)]['on'](_0x4c552a(0xfa),(_0x8b512c,_0x24634f)=>{const _0x501dcf=_0x4c552a;for(const _0x597456 of _0x24634f[_0x501dcf(0x10b)])this[_0x501dcf(0x10a)][_0x501dcf(0x11d)](_0x597456[_0x501dcf(0xf8)]),this[_0x501dcf(0x115)][_0x501dcf(0x11d)](_0x597456);for(const _0x49b275 of _0x24634f[_0x501dcf(0xec)])this[_0x501dcf(0x10a)][_0x501dcf(0x10c)](_0x49b275[_0x501dcf(0xf8)]),this[_0x501dcf(0xff)](_0x49b275);}),this['on'](_0x4c552a(0x111),()=>{const _0xadf6a7=_0x4c552a;this[_0xadf6a7(0x107)][_0xadf6a7(0xfb)]();}),this['on'](_0x4c552a(0xed),()=>{const _0x4a0808=_0x4c552a;this[_0x4a0808(0x107)][_0x4a0808(0xf7)]();}),this[_0x4c552a(0x11b)](this[_0x4c552a(0xf8)],_0x4c552a(0x106),()=>{const _0xd2306b=_0x4c552a;this[_0xd2306b(0x106)]();});}[_0x1eb330(0xff)](_0x19cf54){const _0x290bdf=_0x1eb330,_0x266df5=this[_0x290bdf(0x115)][_0x290bdf(0x108)](_0x19cf54);let _0x595488,_0x199df0;for(const _0x3647ea of this[_0x290bdf(0x115)])if(_0x19cf54[_0x290bdf(0xf3)]<_0x3647ea[_0x290bdf(0xf3)]){_0x595488=_0x3647ea;break;}if(_0x199df0=_0x595488?this[_0x290bdf(0x115)][_0x290bdf(0x108)](_0x595488):this[_0x290bdf(0x115)][_0x290bdf(0x110)],-0x1!==_0x266df5){if(_0x266df5===_0x199df0-0x1)return;this[_0x290bdf(0x115)][_0x290bdf(0x11d)](_0x19cf54),_0x199df0=_0x595488?this[_0x290bdf(0x115)][_0x290bdf(0x108)](_0x595488):this[_0x290bdf(0x115)][_0x290bdf(0x110)];}this[_0x290bdf(0x115)][_0x290bdf(0x10c)](_0x19cf54,_0x199df0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x320135=_0x4656;(function(_0x11e079,_0x1e95c9){const _0x2ec1c9=_0x4656,_0x477534=_0x11e079();while(!![]){try{const _0x2b809e=-parseInt(_0x2ec1c9(0x115))/0x1*(parseInt(_0x2ec1c9(0x119))/0x2)+-parseInt(_0x2ec1c9(0xee))/0x3+-parseInt(_0x2ec1c9(0x107))/0x4*(-parseInt(_0x2ec1c9(0xe4))/0x5)+parseInt(_0x2ec1c9(0xf3))/0x6+parseInt(_0x2ec1c9(0xef))/0x7+-parseInt(_0x2ec1c9(0xd5))/0x8*(-parseInt(_0x2ec1c9(0xdc))/0x9)+-parseInt(_0x2ec1c9(0xe0))/0xa*(parseInt(_0x2ec1c9(0x10d))/0xb);if(_0x2b809e===_0x1e95c9)break;else _0x477534['push'](_0x477534['shift']());}catch(_0x3527ee){_0x477534['push'](_0x477534['shift']());}}}(_0x370a,0x365c8));import{ContextPlugin as _0x3f2674,Context as _0x4afceb}from'ckeditor5/src/core.js';function _0x4656(_0x5f5599,_0x55d059){const _0x370a0e=_0x370a();return _0x4656=function(_0x4656b8,_0x5a686e){_0x4656b8=_0x4656b8-0xd4;let _0x32632c=_0x370a0e[_0x4656b8];return _0x32632c;},_0x4656(_0x5f5599,_0x55d059);}import _0x5c0fc6 from'./annotationsuis.js';import _0x379e9b from'./sidebar.js';import{CKEditorError as _0x3be034,Collection as _0x194a1e}from'ckeditor5/src/utils.js';function _0x370a(){const _0x50a59e=['change:container','stop','focus','WideSidebar','isAttached','editors','ck-sidebar--wide','addAnnotation','ready','refresh','set:container','context','set','high','stopListening','_annotations','_refreshPositioningDebounced','_detachFromContainer','4OvwdPt','remove','has','_editorAnnotations','refreshPositioning','hasDomSelection','11wwvXBi','wideSidebar','plugins','updateTargetRect','container','EditorAnnotations','_destroyEditorAnnotationsIntegration','_attachToContainer','173YNxQLB','detach','setActiveAnnotation','get','3028zySdvB','widesidebar-detach-not-attached','isOfficialPlugin','12984IobQKX','switchTo','widesidebar-attach-already-attached','getOrderedSelectedAnnotations','register','addEventListener','off','1242VvdBir','resize','rearrange','pluginName','493890yjBepl','_activeAnnotation','_integrateWithEditorAnnotations','isPremiumPlugin','845210aUoZud','destroy','uiUpdate','cancel','listenTo','init','attach','annotations','from','removeEventListener','466962usHhNQ','1911175NlKysj','blur','activeAnnotation','add','141528qinPmD','requires'];_0x370a=function(){return _0x50a59e;};return _0x370a();}import{debounce as _0x27f71e}from'lodash-es';export default class e extends _0x3f2674{static get[_0x320135(0xf4)](){return[_0x379e9b,_0x5c0fc6];}static get[_0x320135(0xdf)](){const _0x4b033d=_0x320135;return _0x4b033d(0xf8);}static get[_0x320135(0xd4)](){return!0x0;}static get[_0x320135(0xe3)](){return!0x0;}constructor(_0xde25f){const _0x1ee0d1=_0x320135;super(_0xde25f),this[_0x1ee0d1(0xf9)]=!0x1,this[_0x1ee0d1(0x101)](_0x1ee0d1(0xf1),null),this[_0x1ee0d1(0xeb)]=null,this[_0x1ee0d1(0x10a)]=new _0x194a1e(),this[_0x1ee0d1(0x105)]=_0x27f71e(()=>{const _0x59b2ca=_0x1ee0d1;this[_0x59b2ca(0xeb)][_0x59b2ca(0x10b)]();},0xfa,{'leading':!0x1});}[_0x320135(0xe9)](){const _0x42be6a=_0x320135,_0x595cbe=this[_0x42be6a(0x100)][_0x42be6a(0x10f)][_0x42be6a(0x118)](_0x5c0fc6),_0xb589d3=this[_0x42be6a(0x100)][_0x42be6a(0x10f)][_0x42be6a(0x118)](_0x379e9b);_0x595cbe[_0x42be6a(0xd9)](_0x42be6a(0x10e),this),_0xb589d3[_0x42be6a(0x111)]&&_0x595cbe[_0x42be6a(0xd6)](_0x42be6a(0x10e));}[_0x320135(0x117)](_0x48fc24){const _0x33c25c=_0x320135;if(_0x48fc24===this[_0x33c25c(0xf1)])return;const _0x4c6c99=this[_0x33c25c(0x100)][_0x33c25c(0x10f)][_0x33c25c(0x118)](_0x379e9b);_0x4c6c99[_0x33c25c(0xe1)]=_0x48fc24;const _0x32b89f=this[_0x33c25c(0xf1)];this[_0x33c25c(0xf1)]=_0x48fc24,_0x4c6c99[_0x33c25c(0xfe)]({'blurredAnnotation':_0x32b89f,'activatedAnnotation':this[_0x33c25c(0xf1)]});}[_0x320135(0xea)](_0x593105){const _0x2db88c=_0x320135;this[_0x2db88c(0xeb)]=_0x593105;const _0x53c0c5=this[_0x2db88c(0x100)][_0x2db88c(0x10f)][_0x2db88c(0x118)](_0x379e9b);if(_0x53c0c5[_0x2db88c(0x104)]=_0x593105,this[_0x2db88c(0xf9)])throw new _0x3be034(_0x2db88c(0xd7),this);this[_0x2db88c(0xf9)]=!0x0,this[_0x2db88c(0xe8)](_0x53c0c5,_0x2db88c(0xff),()=>{const _0x51f551=_0x2db88c;this[_0x51f551(0x116)](),this[_0x51f551(0xe8)](_0x53c0c5,_0x51f551(0xf5),_0x1f00cf=>{const _0x3e63ed=_0x51f551;_0x1f00cf[_0x3e63ed(0xdb)](),this[_0x3e63ed(0xea)](_0x593105);});}),_0x53c0c5[_0x2db88c(0x114)]({'viewClass':_0x2db88c(0xfb)});const _0x19a09d=_0x4122a7=>{const _0x55952e=_0x2db88c;_0x4122a7[_0x55952e(0x110)](),_0x53c0c5[_0x55952e(0xfc)](_0x4122a7);};for(const _0x29cff0 of _0x593105)_0x19a09d(_0x29cff0);this[_0x2db88c(0xe8)](_0x593105,_0x2db88c(0xf2),(_0x475ee0,_0x39b750)=>{_0x19a09d(_0x39b750);}),this[_0x2db88c(0xe8)](_0x593105,_0x2db88c(0x108),(_0x4ff0f6,_0x15e428,_0x242370)=>{const _0x451be3=_0x2db88c;_0x53c0c5[_0x451be3(0xde)]({'removedAnnotation':_0x15e428,'previousAnnotation':_0x593105[_0x451be3(0x118)](_0x242370-0x1),'nextAnnotation':_0x593105[_0x451be3(0x118)](_0x242370+0x1)}),_0x15e428===this[_0x451be3(0xf1)]&&this[_0x451be3(0x117)](null);},{'priority':_0x2db88c(0x102)}),this[_0x2db88c(0xe8)](_0x593105,_0x2db88c(0xf7),(_0x4e4478,_0x4c639a)=>{const _0x3d2c65=_0x2db88c;this[_0x3d2c65(0x117)](_0x4c639a);}),this[_0x2db88c(0xe8)](_0x593105,_0x2db88c(0xf0),()=>{const _0x223012=_0x2db88c;this[_0x223012(0x117)](null);});const _0x5a0977=this[_0x2db88c(0x100)]instanceof _0x4afceb?this[_0x2db88c(0x100)][_0x2db88c(0xfa)]:new _0x194a1e([this[_0x2db88c(0x100)]]);for(const _0x2a4c17 of _0x5a0977)this[_0x2db88c(0xe2)](_0x2a4c17);this[_0x2db88c(0xe8)](_0x5a0977,_0x2db88c(0xf2),(_0x387945,_0x5490a3)=>{const _0xe839b8=_0x2db88c;this[_0xe839b8(0xe8)](_0x5490a3,_0xe839b8(0xfd),()=>{const _0x4ba859=_0xe839b8;this[_0x4ba859(0xe2)](_0x5490a3);});}),this[_0x2db88c(0xe8)](_0x5a0977,_0x2db88c(0x108),(_0x4ea164,_0xe387c)=>{const _0xe3b736=_0x2db88c;_0xe387c[_0xe3b736(0x10f)][_0xe3b736(0x109)](_0xe3b736(0x112))&&this[_0xe3b736(0x113)](_0xe387c[_0xe3b736(0x10f)][_0xe3b736(0x118)](_0xe3b736(0x112)));}),window[_0x2db88c(0xda)](_0x2db88c(0xdd),this[_0x2db88c(0x105)]),this[_0x2db88c(0xeb)][_0x2db88c(0x10b)]();}[_0x320135(0x116)](){const _0x2cdb99=_0x320135;if(!this[_0x2cdb99(0xf9)])throw new _0x3be034(_0x2cdb99(0x11a),this);this[_0x2cdb99(0x117)](null);const _0x4c552c=this[_0x2cdb99(0x100)][_0x2cdb99(0x10f)][_0x2cdb99(0x118)](_0x379e9b);_0x4c552c[_0x2cdb99(0x106)](this[_0x2cdb99(0xeb)]),this[_0x2cdb99(0x103)](_0x4c552c),this[_0x2cdb99(0x103)](this[_0x2cdb99(0xeb)]),this[_0x2cdb99(0x100)]instanceof _0x4afceb&&this[_0x2cdb99(0x103)](this[_0x2cdb99(0x100)][_0x2cdb99(0xfa)]);for(const _0x343bae of Array[_0x2cdb99(0xec)](this[_0x2cdb99(0x10a)]))this[_0x2cdb99(0x113)](_0x343bae);window[_0x2cdb99(0xed)](_0x2cdb99(0xdd),this[_0x2cdb99(0x105)]),this[_0x2cdb99(0x105)][_0x2cdb99(0xe7)](),this[_0x2cdb99(0xf1)]=null,this[_0x2cdb99(0xf9)]=!0x1,this[_0x2cdb99(0xeb)]=null;}[_0x320135(0xe5)](){const _0x358a31=_0x320135;this[_0x358a31(0xf9)]&&this[_0x358a31(0x116)]();}[_0x320135(0xe2)](_0x3f98cf){const _0x25c8f3=_0x320135;if(!_0x3f98cf[_0x25c8f3(0x10f)][_0x25c8f3(0x109)](_0x25c8f3(0x112)))return;const _0x16eaaf=_0x3f98cf[_0x25c8f3(0x10f)][_0x25c8f3(0x118)](_0x25c8f3(0x112)),_0x1b635e=()=>{const _0x4f6e69=_0x25c8f3,_0x3f099c=_0x16eaaf[_0x4f6e69(0xd8)]({'annotations':this[_0x4f6e69(0xeb)],'activeAnnotation':this[_0x4f6e69(0xf1)]});this[_0x4f6e69(0x117)](_0x3f099c[0x0]||null);};this[_0x25c8f3(0xe8)](_0x16eaaf,_0x25c8f3(0xfe),_0x1b635e),this[_0x25c8f3(0xe8)](_0x16eaaf,_0x25c8f3(0xf0),(_0x49a044,{isAnnotationTracked:_0x22b068})=>{const _0x3f4c97=_0x25c8f3;this[_0x3f4c97(0xf1)]&&_0x22b068(this[_0x3f4c97(0xf1)])&&this[_0x3f4c97(0x117)](null);}),this[_0x25c8f3(0xe8)](_0x16eaaf,_0x25c8f3(0xe6),()=>{const _0x41f5fa=_0x25c8f3;this[_0x41f5fa(0x105)]();}),this[_0x25c8f3(0xe8)](this[_0x25c8f3(0xeb)],_0x25c8f3(0xf0),_0x1ebfd6=>{const _0x25e059=_0x25c8f3;_0x16eaaf[_0x25e059(0x10c)]()&&(_0x1b635e(),_0x1ebfd6[_0x25e059(0xf6)]());},{'priority':_0x25c8f3(0x102)}),this[_0x25c8f3(0x10a)][_0x25c8f3(0xf2)](_0x16eaaf);}[_0x320135(0x113)](_0x55fcf6){const _0x51f755=_0x320135;this[_0x51f755(0x103)](_0x55fcf6),this[_0x51f755(0x10a)][_0x51f755(0x108)](_0x55fcf6);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d1587=_0x1189;(function(_0x4203eb,_0xca1052){const _0x324508=_0x1189,_0xbbf962=_0x4203eb();while(!![]){try{const _0xb1dedb=parseInt(_0x324508(0x86))/0x1+-parseInt(_0x324508(0x72))/0x2*(-parseInt(_0x324508(0x6d))/0x3)+-parseInt(_0x324508(0x90))/0x4+-parseInt(_0x324508(0x6e))/0x5+parseInt(_0x324508(0x6a))/0x6*(-parseInt(_0x324508(0x74))/0x7)+-parseInt(_0x324508(0x84))/0x8*(-parseInt(_0x324508(0x7d))/0x9)+parseInt(_0x324508(0x6b))/0xa*(parseInt(_0x324508(0x76))/0xb);if(_0xb1dedb===_0xca1052)break;else _0xbbf962['push'](_0xbbf962['shift']());}catch(_0x257eff){_0xbbf962['push'](_0xbbf962['shift']());}}}(_0x2750,0x240e4));import{Command as _0xa2d23c}from'ckeditor5/src/core.js';import{uid as _0x41077b}from'ckeditor5/src/utils.js';function _0x2750(){const _0x243139=['model','backward','isObject','9EypQTb','selection','push','change','substr','createRange','_hasContent','906584AXczEZ','$textProxy','288382fEFlFb','_trimToContent','isEnabled','_itemIsContent','getLastMatchingPosition','element','refresh','getItems','editor','start','611200OQNbfU','10950hnYlNp','22910IEqsfq','document','21IJYYXp','55080QtOEGu','getRanges','execute','schema','3782lBqyOf','item','511KgECuM','end','143WlnasF','addMarker','comment:','tableCell'];_0x2750=function(){return _0x243139;};return _0x2750();}function _0x1189(_0x2fee0e,_0x410c87){const _0x275046=_0x2750();return _0x1189=function(_0x118976,_0x3a1212){_0x118976=_0x118976-0x6a;let _0x5bcad9=_0x275046[_0x118976];return _0x5bcad9;},_0x1189(_0x2fee0e,_0x410c87);}export default class J extends _0xa2d23c{[_0x2d1587(0x8c)](){const _0x219a65=_0x2d1587,_0x2f14f0=this[_0x219a65(0x8e)][_0x219a65(0x7a)][_0x219a65(0x6c)][_0x219a65(0x7e)];for(const _0x5aab40 of _0x2f14f0[_0x219a65(0x6f)]())if(this[_0x219a65(0x83)](_0x5aab40))return void(this[_0x219a65(0x88)]=!0x0);this[_0x219a65(0x88)]=!0x1;}[_0x2d1587(0x70)]({threadId:_0x4c33cd=_0x41077b()}={}){const _0x44d9b6=_0x2d1587,_0x4cb080=this[_0x44d9b6(0x8e)][_0x44d9b6(0x7a)],_0x40bb08=[];for(const _0x1cb41e of _0x4cb080[_0x44d9b6(0x6c)][_0x44d9b6(0x7e)][_0x44d9b6(0x6f)]())this[_0x44d9b6(0x83)](_0x1cb41e)&&_0x40bb08[_0x44d9b6(0x7f)](this[_0x44d9b6(0x87)](_0x1cb41e));_0x4cb080[_0x44d9b6(0x80)](_0xd32592=>{const _0x157c94=_0x44d9b6;for(const _0x248295 of _0x40bb08){const _0x3b0c44=_0x41077b()[_0x157c94(0x81)](0x1,0x5),_0x183ee1=_0x157c94(0x78)+_0x4c33cd+':'+_0x3b0c44;_0xd32592[_0x157c94(0x77)](_0x183ee1,{'range':_0x248295,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x2d1587(0x83)](_0x35060e){const _0x27ec44=_0x2d1587;for(const _0x344d7f of _0x35060e[_0x27ec44(0x8d)]())if(this[_0x27ec44(0x89)](_0x344d7f))return!0x0;return!0x1;}[_0x2d1587(0x89)](_0x1d5cf7){const _0x36ea19=_0x2d1587;return _0x1d5cf7['is'](_0x36ea19(0x85))||this[_0x36ea19(0x8e)][_0x36ea19(0x7a)][_0x36ea19(0x71)][_0x36ea19(0x7c)](_0x1d5cf7)&&!_0x1d5cf7['is'](_0x36ea19(0x8b),_0x36ea19(0x79));}[_0x2d1587(0x87)](_0x4cda62){const _0x536c46=_0x2d1587,_0x453ad0=_0x34f28d=>!this[_0x536c46(0x89)](_0x34f28d[_0x536c46(0x73)]),_0x124a8d=_0x4cda62[_0x536c46(0x8f)][_0x536c46(0x8a)](_0x453ad0),_0xc6ce2a=_0x4cda62[_0x536c46(0x75)][_0x536c46(0x8a)](_0x453ad0,{'direction':_0x536c46(0x7b)});return this[_0x536c46(0x8e)][_0x536c46(0x7a)][_0x536c46(0x82)](_0x124a8d,_0xc6ce2a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1af82b=_0xf46a;function _0xf46a(_0x5d1373,_0x1ee2c2){const _0x522cc8=_0x522c();return _0xf46a=function(_0xf46a29,_0xe51e62){_0xf46a29=_0xf46a29-0x114;let _0x253e4b=_0x522cc8[_0xf46a29];return _0x253e4b;},_0xf46a(_0x5d1373,_0x1ee2c2);}(function(_0x1df7be,_0x56ae22){const _0x4ea30f=_0xf46a,_0x77fe9f=_0x1df7be();while(!![]){try{const _0x3733ec=-parseInt(_0x4ea30f(0x126))/0x1+-parseInt(_0x4ea30f(0x11d))/0x2+parseInt(_0x4ea30f(0x127))/0x3+parseInt(_0x4ea30f(0x131))/0x4+-parseInt(_0x4ea30f(0x132))/0x5*(parseInt(_0x4ea30f(0x11b))/0x6)+parseInt(_0x4ea30f(0x11e))/0x7+-parseInt(_0x4ea30f(0x134))/0x8*(-parseInt(_0x4ea30f(0x115))/0x9);if(_0x3733ec===_0x56ae22)break;else _0x77fe9f['push'](_0x77fe9f['shift']());}catch(_0x4c1025){_0x77fe9f['push'](_0x77fe9f['shift']());}}}(_0x522c,0xe1d7c));import{ContextPlugin as _0x38b307}from'ckeditor5/src/core.js';import{Collection as _0x17ee63}from'ckeditor5/src/utils.js';import _0x1dc31b from'./commentsrepository.js';function _0x522c(){const _0x49c636=['change:archivedAt','listenTo','archivedThreads','highest','requires','isActive','pluginName','context','isVisible','2835088zrmFxH','3019715bDzqSW','length','2552vIlJlS','plugins','has','removeCommentThread','get','getCommentThread','remove','49797KugOSM','collection','activate','archivedAt','addCommentThread','_calculatePosition','6TFquWU','stopListening','3352064IyBJBJ','10543911IdbiRE','add','isPremiumPlugin','focus','isOfficialPlugin','findIndex','CommentsArchive','init','1462216irVpRp','2061513pkVPYq'];_0x522c=function(){return _0x49c636;};return _0x522c();}import _0x5194a4 from'../annotations/annotations.js';export default class f extends _0x38b307{static get[_0x1af82b(0x12e)](){const _0x178bc3=_0x1af82b;return _0x178bc3(0x124);}static get[_0x1af82b(0x122)](){return!0x0;}static get[_0x1af82b(0x120)](){return!0x0;}static get[_0x1af82b(0x12c)](){return[_0x1dc31b,_0x5194a4];}constructor(_0x5e501a){const _0x1b4c21=_0x1af82b;super(_0x5e501a),this[_0x1b4c21(0x12a)]=new _0x17ee63();}[_0x1af82b(0x125)](){const _0x2e336d=_0x1af82b,_0x47c7da=this[_0x2e336d(0x12f)],_0x4b2b3d=_0x47c7da[_0x2e336d(0x135)][_0x2e336d(0x138)](_0x1dc31b),_0x4d55b6=_0x47c7da[_0x2e336d(0x135)][_0x2e336d(0x138)](_0x5194a4);this[_0x2e336d(0x129)](_0x4b2b3d,_0x2e336d(0x119),(_0x1d1106,{threadId:_0x515c03})=>{const _0x10e95c=_0x2e336d,_0x1e20dc=_0x4b2b3d[_0x10e95c(0x139)](_0x515c03);_0x1e20dc[_0x10e95c(0x118)]&&this[_0x10e95c(0x12a)][_0x10e95c(0x11f)](_0x1e20dc,this[_0x10e95c(0x11a)](_0x1e20dc[_0x10e95c(0x118)])),this[_0x10e95c(0x129)](_0x1e20dc,_0x10e95c(0x128),(_0x3d8b08,_0x2d7b2d,_0x1d6e89)=>{const _0x15e34b=_0x10e95c;_0x1d6e89?this[_0x15e34b(0x12a)][_0x15e34b(0x136)](_0x1e20dc)||this[_0x15e34b(0x12a)][_0x15e34b(0x11f)](_0x1e20dc,this[_0x15e34b(0x11a)](_0x1e20dc[_0x15e34b(0x118)])):this[_0x15e34b(0x12a)][_0x15e34b(0x136)](_0x1e20dc)&&this[_0x15e34b(0x12a)][_0x15e34b(0x114)](_0x1e20dc);});}),this[_0x2e336d(0x129)](_0x4b2b3d,_0x2e336d(0x137),(_0x292a5e,{threadId:_0x3b60f4})=>{const _0x1c45d1=_0x2e336d,_0x575ceb=_0x4b2b3d[_0x1c45d1(0x139)](_0x3b60f4);this[_0x1c45d1(0x11c)](_0x575ceb),this[_0x1c45d1(0x12a)][_0x1c45d1(0x136)](_0x575ceb)&&this[_0x1c45d1(0x12a)][_0x1c45d1(0x114)](_0x575ceb);},{'priority':_0x2e336d(0x12b)}),this[_0x2e336d(0x129)](_0x4d55b6[_0x2e336d(0x116)],_0x2e336d(0x121),(_0x40ee2d,_0x28dece)=>{const _0x575e7b=_0x2e336d;_0x28dece[_0x575e7b(0x130)]||(_0x28dece[_0x575e7b(0x12d)]=!0x0,_0x4d55b6[_0x575e7b(0x117)](_0x28dece));});}[_0x1af82b(0x11a)](_0x4382c9){const _0x45443e=_0x1af82b,_0x25f3d5=[...this[_0x45443e(0x12a)]][_0x45443e(0x123)](_0x45d6cd=>_0x45d6cd[_0x45443e(0x118)]<_0x4382c9);return _0x25f3d5>-0x1?_0x25f3d5:this[_0x45443e(0x12a)][_0x45443e(0x133)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3808(){const _0x439cdb=['1808IHeluZ','innerView','channelId','CommentsRepository','isVisible','show','add','findIndex','EDITOR_TOP_SIDE','isOfficialPlugin','componentFactory','archivedAt','splice','archivedThreads','isOn','COMMENTS_ARCHIVE','stopListening','_visibleAnnotations','1551382NGrrJA','filter','1431905XTkpvH','remove','init','Dialog','indexOf','commentsArchive','focusableElements','5217aUPEBe','getByInnerView','stop','collection','find','6560480EFizAu','isEnabled','hide','push','plugins','CommentsArchiveUI','2097991fTihkL','18LvvSxZ','listenTo','bind','view','isOpen','editor','_toggleDialog','tooltip','annotationViews','pluginName','_createCommentsArchiveButton','Annotations','locale','_calculatePosition','commentsArchiveView','requires','_pendingThreads','config','menuitemcheckbox','635322rzkQKi','collaboration.channelId','30kpLLbe','has','set','length','source','execute','isPremiumPlugin','5371929XpNXYD','get','_hideDialogOnAnnotationEscape','_threadToController','menuBar:commentsArchive','escape'];_0x3808=function(){return _0x439cdb;};return _0x3808();}const _0x376353=_0x1a94;(function(_0x55a533,_0xb383d4){const _0x7eb9fa=_0x1a94,_0x55818c=_0x55a533();while(!![]){try{const _0x4ea7ca=parseInt(_0x7eb9fa(0x20b))/0x1+parseInt(_0x7eb9fa(0x22c))/0x2+-parseInt(_0x7eb9fa(0x235))/0x3*(parseInt(_0x7eb9fa(0x21a))/0x4)+-parseInt(_0x7eb9fa(0x22e))/0x5*(parseInt(_0x7eb9fa(0x1f8))/0x6)+-parseInt(_0x7eb9fa(0x1f7))/0x7+-parseInt(_0x7eb9fa(0x1f1))/0x8+parseInt(_0x7eb9fa(0x214))/0x9*(parseInt(_0x7eb9fa(0x20d))/0xa);if(_0x4ea7ca===_0xb383d4)break;else _0x55818c['push'](_0x55818c['shift']());}catch(_0x4b291b){_0x55818c['push'](_0x55818c['shift']());}}}(_0x3808,0x6a9e8));import'../../theme/commentsarchive.css';import{Plugin as _0x2a95ba}from'ckeditor5/src/core.js';import{ViewCollection as _0x6a00aa,MenuBarMenuListItemButtonView as _0x97067d,ButtonView as _0xa4cd6,Dialog as _0x22cd23,DialogViewPosition as _0x47d628}from'ckeditor5/src/ui.js';function _0x1a94(_0x4bb4b6,_0x116eee){const _0x3808d2=_0x3808();return _0x1a94=function(_0x1a9466,_0x2e87cb){_0x1a9466=_0x1a9466-0x1ee;let _0x4db238=_0x3808d2[_0x1a9466];return _0x4db238;},_0x1a94(_0x4bb4b6,_0x116eee);}import _0x3fb3ae from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x2050f4}from'../utils/common-translations.js';import _0x1e552a from'./ui/view/commentsarchiveview.js';import _0x58cd03 from'./commentsarchive.js';export default class a extends _0x2a95ba{static get[_0x376353(0x201)](){const _0x3413c1=_0x376353;return _0x3413c1(0x1f6);}static get[_0x376353(0x223)](){return!0x0;}static get[_0x376353(0x213)](){return!0x0;}static get[_0x376353(0x207)](){return[_0x58cd03,_0x22cd23];}constructor(_0x5c6d85){const _0x42d8ba=_0x376353;super(_0x5c6d85),this[_0x42d8ba(0x216)]=_0x5d8465=>{const _0x3ba369=_0x42d8ba,_0x38943b=_0x5d8465[_0x3ba369(0x211)];if(!this[_0x3ba369(0x200)][_0x3ba369(0x20e)](_0x38943b[_0x3ba369(0x1fb)]))return;const _0x5cbef3=this[_0x3ba369(0x1fd)][_0x3ba369(0x1f5)][_0x3ba369(0x215)](_0x3ba369(0x231));_0x5cbef3[_0x3ba369(0x1fc)]&&_0x3ba369(0x233)===_0x5cbef3['id']&&(_0x5cbef3[_0x3ba369(0x1f3)](),_0x5d8465[_0x3ba369(0x1ee)]());},this[_0x42d8ba(0x200)]=new _0x6a00aa(),this[_0x42d8ba(0x208)]=[];}[_0x376353(0x230)](){const _0x43c7d1=_0x376353,_0x116506=this[_0x43c7d1(0x1fd)],_0x9a5303=this[_0x43c7d1(0x216)][_0x43c7d1(0x1fa)](this);_0x116506['ui'][_0x43c7d1(0x224)][_0x43c7d1(0x220)](_0x43c7d1(0x233),()=>this[_0x43c7d1(0x202)](_0xa4cd6,!0x0)),_0x116506['ui'][_0x43c7d1(0x224)][_0x43c7d1(0x220)](_0x43c7d1(0x218),()=>{const _0x2c0453=_0x43c7d1,_0xf39750=this[_0x2c0453(0x202)](_0x97067d);return _0xf39750[_0x2c0453(0x20f)]({'role':_0x2c0453(0x20a)}),_0xf39750;});const _0x52550b=_0x116506[_0x43c7d1(0x1f5)][_0x43c7d1(0x215)](_0x58cd03),_0x1ae428=_0x116506[_0x43c7d1(0x1f5)][_0x43c7d1(0x215)](_0x43c7d1(0x203)),_0x5b8ac2=_0x116506[_0x43c7d1(0x1f5)][_0x43c7d1(0x215)](_0x43c7d1(0x21d));this[_0x43c7d1(0x1f9)](_0x52550b[_0x43c7d1(0x227)],_0x43c7d1(0x220),(_0xac466f,_0x2b63fc)=>{const _0x4c6c61=_0x43c7d1,_0x1ef2a5=_0x116506[_0x4c6c61(0x209)][_0x4c6c61(0x215)](_0x4c6c61(0x20c));if(!_0x1ef2a5||_0x2b63fc[_0x4c6c61(0x21c)]===_0x1ef2a5){const _0x3fdb48=_0x5b8ac2[_0x4c6c61(0x217)][_0x4c6c61(0x215)](_0x2b63fc);if(!_0x3fdb48)return void this[_0x4c6c61(0x208)][_0x4c6c61(0x1f4)](_0x2b63fc);const _0x4d2b18=this[_0x4c6c61(0x205)](_0x2b63fc[_0x4c6c61(0x225)]),_0x548bbd=_0x1ae428[_0x4c6c61(0x236)](_0x3fdb48[_0x4c6c61(0x1fb)]);_0x548bbd[_0x4c6c61(0x21e)]&&_0x1ae428[_0x4c6c61(0x22b)][_0x4c6c61(0x22f)](_0x548bbd),this[_0x4c6c61(0x200)][_0x4c6c61(0x220)](_0x548bbd[_0x4c6c61(0x1fb)],_0x4d2b18);}}),this[_0x43c7d1(0x1f9)](_0x1ae428[_0x43c7d1(0x1ef)],_0x43c7d1(0x220),(_0xe93721,_0x14849d)=>{const _0x1eb7e4=_0x43c7d1,_0x34f94d=this[_0x1eb7e4(0x208)][_0x1eb7e4(0x1f0)](_0x119bc6=>{const _0xb2ed91=_0x1eb7e4,_0x89448a=_0x5b8ac2[_0xb2ed91(0x217)][_0xb2ed91(0x215)](_0x119bc6);return _0x89448a&&_0x14849d[_0xb2ed91(0x21b)]===_0x89448a[_0xb2ed91(0x1fb)];});if(_0x34f94d){const _0x1879f0=this[_0x1eb7e4(0x205)](_0x34f94d[_0x1eb7e4(0x225)]);this[_0x1eb7e4(0x200)][_0x1eb7e4(0x220)](_0x14849d[_0x1eb7e4(0x1fb)],_0x1879f0),this[_0x1eb7e4(0x208)][_0x1eb7e4(0x226)](this[_0x1eb7e4(0x208)][_0x1eb7e4(0x232)](_0x34f94d),0x1);}}),this[_0x43c7d1(0x1f9)](_0x52550b[_0x43c7d1(0x227)],_0x43c7d1(0x22f),(_0x53057e,_0xf2139d)=>{const _0x579ef9=_0x43c7d1,_0x5092b9=_0x116506[_0x579ef9(0x209)][_0x579ef9(0x215)](_0x579ef9(0x20c));if(!_0x5092b9||_0xf2139d[_0x579ef9(0x21c)]===_0x5092b9){const _0x17cda0=_0x5b8ac2[_0x579ef9(0x217)][_0x579ef9(0x215)](_0xf2139d),_0x28798b=_0x1ae428[_0x579ef9(0x236)](_0x17cda0[_0x579ef9(0x1fb)]);this[_0x579ef9(0x200)][_0x579ef9(0x22f)](_0x28798b[_0x579ef9(0x1fb)]),this[_0x579ef9(0x22a)](_0x28798b[_0x579ef9(0x234)]);}}),this[_0x43c7d1(0x1f9)](_0x1ae428[_0x43c7d1(0x1ef)],_0x43c7d1(0x220),(_0x54aa8a,_0x14f096)=>{const _0x4d649e=_0x43c7d1;this[_0x4d649e(0x1f9)](_0x14f096,_0x4d649e(0x219),_0x9a5303);}),this[_0x43c7d1(0x1f9)](_0x1ae428[_0x43c7d1(0x1ef)],_0x43c7d1(0x22f),(_0x59edd6,_0x1f4692)=>{const _0x311772=_0x43c7d1;this[_0x311772(0x22a)](_0x1f4692,_0x311772(0x219),_0x9a5303);});}[_0x376353(0x205)](_0x5957e0){const _0x4e795a=_0x376353,_0x41dce5=this[_0x4e795a(0x1fd)][_0x4e795a(0x209)][_0x4e795a(0x215)](_0x4e795a(0x20c)),_0x420d9d=[...this[_0x4e795a(0x1fd)][_0x4e795a(0x1f5)][_0x4e795a(0x215)](_0x58cd03)[_0x4e795a(0x227)]][_0x4e795a(0x22d)](_0x5369fb=>_0x5369fb[_0x4e795a(0x21c)]===_0x41dce5)[_0x4e795a(0x221)](_0x3e8d8f=>_0x3e8d8f[_0x4e795a(0x225)]<_0x5957e0);return _0x420d9d<0x0||_0x420d9d>this[_0x4e795a(0x200)][_0x4e795a(0x210)]?this[_0x4e795a(0x200)][_0x4e795a(0x210)]:_0x420d9d-0x1;}[_0x376353(0x1fe)](){const _0x553451=_0x376353,_0x432f10=this[_0x553451(0x1fd)],_0x4ec767=_0x432f10[_0x553451(0x1f5)][_0x553451(0x215)](_0x553451(0x231));this[_0x553451(0x206)]||(this[_0x553451(0x206)]=new _0x1e552a(_0x432f10[_0x553451(0x204)],this[_0x553451(0x200)])),_0x553451(0x233)===_0x4ec767['id']?_0x4ec767[_0x553451(0x1f3)]():_0x4ec767[_0x553451(0x21f)]({'id':_0x553451(0x233),'title':_0x2050f4(_0x432f10[_0x553451(0x204)],_0x553451(0x229)),'icon':_0x3fb3ae,'hasCloseButton':!0x0,'content':this[_0x553451(0x206)],'position':_0x47d628[_0x553451(0x222)]});}[_0x376353(0x202)](_0x4d3b30,_0x21342b=!0x1){const _0x49bb1b=_0x376353,_0x21f80e=this[_0x49bb1b(0x1fd)][_0x49bb1b(0x204)],_0x58b259=this[_0x49bb1b(0x1fd)][_0x49bb1b(0x1f5)][_0x49bb1b(0x215)](_0x49bb1b(0x231)),_0x2d4504=new _0x4d3b30(_0x21f80e);return _0x2d4504[_0x49bb1b(0x1fa)](_0x49bb1b(0x1f2))['to'](this,_0x49bb1b(0x1f2)),_0x2d4504[_0x49bb1b(0x1fa)](_0x49bb1b(0x228))['to'](_0x58b259,'id',_0x2c3ea4=>_0x49bb1b(0x233)===_0x2c3ea4),_0x2d4504[_0x49bb1b(0x20f)]({'label':_0x2050f4(_0x21f80e,_0x49bb1b(0x229)),'icon':_0x3fb3ae,'isToggleable':!0x0}),_0x21342b&&(_0x2d4504[_0x49bb1b(0x1ff)]=!0x0),this[_0x49bb1b(0x1f9)](_0x2d4504,_0x49bb1b(0x212),()=>this[_0x49bb1b(0x1fe)]()),_0x2d4504;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f208a=_0x1970;(function(_0x459545,_0x9e74df){const _0x199166=_0x1970,_0xf8ef35=_0x459545();while(!![]){try{const _0x52719f=-parseInt(_0x199166(0x9d))/0x1+-parseInt(_0x199166(0xf1))/0x2*(-parseInt(_0x199166(0xfd))/0x3)+parseInt(_0x199166(0xfc))/0x4+parseInt(_0x199166(0xd1))/0x5+parseInt(_0x199166(0xa2))/0x6*(-parseInt(_0x199166(0xeb))/0x7)+parseInt(_0x199166(0xf9))/0x8+parseInt(_0x199166(0xd7))/0x9*(-parseInt(_0x199166(0x8a))/0xa);if(_0x52719f===_0x9e74df)break;else _0xf8ef35['push'](_0xf8ef35['shift']());}catch(_0x4fe4f1){_0xf8ef35['push'](_0xf8ef35['shift']());}}}(_0x4bbb,0x83b59));import{Plugin as _0x136f57}from'ckeditor5/src/core.js';function _0x1970(_0x51a80d,_0x5a9c35){const _0x4bbbec=_0x4bbb();return _0x1970=function(_0x19709e,_0x1b5808){_0x19709e=_0x19709e-0x77;let _0x4fbcad=_0x4bbbec[_0x19709e];return _0x4fbcad;},_0x1970(_0x51a80d,_0x5a9c35);}import{getEnvKeystrokeText as _0x126195,scrollViewportToShowTarget as _0x22a4b8}from'ckeditor5/src/utils.js';import _0x193df8 from'./commentsrepository.js';function _0x4bbb(){const _0x1c23b3=['isObject','consumable','schema','unlinkedAt','state','announce','refreshVisibility','split','clear','hasCommentThread','then','createRange','newRange','removeCommentThread','759765MKiCgI','dataDowncast','openNewCommentThread','render','view','for','9gFnaOc','focus','ignoreResolvedComments','get','setUnlinkedAt','destroy','isThreadsLoadingPaused','hasContent','reconvertMarker','isAttached','isOfficialPlugin','markers','differ','hasDomSelection','resolveCommentThread','isLocal','set','getAttribute','editor','consume','35tQHaGL','editing','delete','init','once','isEqual','38XeaVTJ','attachTo','isResolved','switchReadOnly','model','change:isReadOnly','addCommentThread','root','7700128bykmNJ','_handleThreadMarker','LEAVE_COMMENT_ANNOUNCEMENT','3692140QtZfSc','41142ZRkngL','getCommentThreads','removeMarker','isCollapsed','createPositionBefore','hasMarkerForId','isPremiumPlugin','$graveyard','getWalker','push','config','setContext','markerName','getCommentThread','listenTo','getRange','pluginName','data','$textProxy','item','destroyed','comment','_getTargetForId','upcast','commands','markerToData','getByInnerView','substring','rootName','locale','activeMarker','name','length','scrollToThreadMarker','ck-comment-marker','add','addComment','ck-comment-marker--active','_attachMarkerToThread','8275690bvCygV','_threadToController','group','_getTextContext','createElement','low','ready','getAllMarkersForId','ENTER_COMMENT_ANNOUNCEMENT','change:isThreadsLoadingPaused','dataToMarker','_initializeMarkerConverters','$marker','removeMarker:','context','_reconvertMarkers','change','change:activeMarker','_handleMarkerAddAndRemove','194985FjEHVK','affectsData','getItems','document','requires','883242crbAyf','start','plugins','comment:','conversion','_attachArchivedThread','getChangedMarkers','collaboration.channelId','size','end','text','ariaLiveAnnouncer','startsWith','managedUsingOperations','editingDowncast','elementToElement','CommentsEditing','_initAriaMarkerChangeAnnouncements','updateMarker','_threads','registerAnnotation','author','markerToHighlight','from','registerPostFixer','_detachCommentThread','reopenCommentThread','addMarker:','enqueueChange','comments','first','fetchCommentThread','_hasTargetInContent'];_0x4bbb=function(){return _0x1c23b3;};return _0x4bbb();}import _0x8654da from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x42904a,getAllMarkersDomElementsSorted as _0x3c554e,FOCUS_ANNOTATION_KEYSTROKE as _0x1dbb9d,Users as _0x42bc8b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x10cd8b from'../annotations/editorannotations.js';import _0x2328b0 from'./integrations/commentsrestrictededitingmode.js';import _0x46d28b from'./integrations/importword.js';import _0x8364a1 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x99e31c from'../annotations/annotations.js';import{getTranslation as _0x3a597e}from'../utils/common-translations.js';export default class r extends _0x136f57{static get[_0x2f208a(0xa1)](){return[_0x193df8,_0x10cd8b,_0x42bc8b,_0x2328b0,_0x46d28b,_0x8364a1];}static get[_0x2f208a(0x10d)](){const _0x21e553=_0x2f208a;return _0x21e553(0xb2);}static get[_0x2f208a(0xe1)](){return!0x0;}static get[_0x2f208a(0x103)](){return!0x0;}constructor(_0x5ecdad){const _0x21fcf3=_0x2f208a;super(_0x5ecdad),this[_0x21fcf3(0xe7)](_0x21fcf3(0xdd),!0x0),_0x5ecdad[_0x21fcf3(0x10e)][_0x21fcf3(0xef)](_0x21fcf3(0x90),()=>this[_0x21fcf3(0xdd)]=!0x1),this[_0x21fcf3(0xe7)](_0x21fcf3(0x81),null),this['on'](_0x21fcf3(0x9b),(_0x473833,_0x5234de,_0x7ded57,_0x57c247)=>{const _0x4c54ef=_0x21fcf3,_0x2518ee=_0x7ded57?splitMarkerName(_0x7ded57)['id']:null;if(_0x5ecdad[_0x4c54ef(0xf5)][_0x4c54ef(0x9a)](()=>{const _0x2492d3=_0x4c54ef;if(_0x2518ee){const _0x399f37=this[_0x2492d3(0x91)](_0x2518ee);for(const _0x290192 of _0x399f37)_0x5ecdad[_0x2492d3(0xec)][_0x2492d3(0xdf)](_0x290192);}if(_0x57c247){const {id:_0x129f15}=splitMarkerName(_0x57c247),_0x202ad2=this[_0x2492d3(0x91)](_0x129f15);for(const _0x2ccf33 of _0x202ad2)_0x5ecdad[_0x2492d3(0xec)][_0x2492d3(0xdf)](_0x2ccf33);}}),_0x2518ee){const _0x235180=_0x5ecdad[_0x4c54ef(0xa4)][_0x4c54ef(0xda)](_0x193df8)[_0x4c54ef(0x10a)](_0x2518ee);_0x235180&&_0x235180[_0x4c54ef(0xf3)]&&this[_0x4c54ef(0x84)](_0x2518ee);}}),this[_0x21fcf3(0xb3)]();}[_0x2f208a(0xee)](){const _0x3302b9=_0x2f208a,_0x205beb=this[_0x3302b9(0xe9)],_0x1398c8=_0x205beb[_0x3302b9(0xa4)][_0x3302b9(0xda)](_0x193df8),_0x587afa=_0x205beb[_0x3302b9(0x107)][_0x3302b9(0xda)](_0x3302b9(0xa9));_0x205beb[_0x3302b9(0x7b)][_0x3302b9(0x86)](_0x3302b9(0xf7),new _0x8654da(_0x205beb)),this[_0x3302b9(0x10b)](_0x205beb,_0x3302b9(0xf6),(_0x434bb4,_0x4e4c20,_0x23e233)=>{const _0x4b8ea7=_0x3302b9;_0x1398c8[_0x4b8ea7(0xf4)](_0x23e233,_0x205beb[_0x4b8ea7(0x107)][_0x4b8ea7(0xda)](_0x4b8ea7(0xa9)));}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0xf7),_0x587afa),(_0x1eb052,{threadId:_0x5d6929})=>{const _0x117a19=_0x3302b9,_0x224263=this[_0x117a19(0xe9)][_0x117a19(0xa4)][_0x117a19(0xda)](_0x193df8)[_0x117a19(0x10a)](_0x5d6929);_0x224263&&_0x224263[_0x117a19(0xc6)]&&this[_0x117a19(0xa7)](_0x5d6929);}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0xd0),_0x587afa),(_0x461bb3,{threadId:_0x3d0f5f})=>{const _0x302a37=_0x3302b9;_0x205beb[_0x302a37(0xf5)][_0x302a37(0xbe)]({'isUndoable':!0x1},_0x2a23af=>{const _0x42fda3=_0x302a37,_0x320647=this[_0x42fda3(0x91)](_0x3d0f5f);for(const _0x321568 of _0x320647)_0x2a23af[_0x42fda3(0xff)](_0x321568);});}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0xe5),_0x587afa),(_0x5a4405,{threadId:_0x16ba69})=>{const _0x2b4a58=_0x3302b9;(this[_0x2b4a58(0x99)](_0x16ba69),this[_0x2b4a58(0xe9)][_0x2b4a58(0xec)][_0x2b4a58(0xd5)][_0x2b4a58(0xe4)])&&(this[_0x2b4a58(0xe9)][_0x2b4a58(0xa4)][_0x2b4a58(0xda)](_0x193df8)[_0x2b4a58(0x10a)](_0x16ba69)[_0x2b4a58(0xc6)]||this[_0x2b4a58(0xe9)][_0x2b4a58(0xec)][_0x2b4a58(0xd5)][_0x2b4a58(0xd8)]());},{'priority':_0x3302b9(0x8f)}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0xbc),_0x587afa),(_0x2311b8,{threadId:_0x522b63})=>{const _0x39f870=_0x3302b9;this[_0x39f870(0x99)](_0x522b63);},{'priority':_0x3302b9(0x8f)}),this[_0x3302b9(0x10b)](_0x1398c8,mt(_0x3302b9(0x87),_0x587afa),(_0x2d98e1,{threadId:_0x18587b,isFromAdapter:_0x2c8b0a})=>{const _0x208241=_0x3302b9,_0x5218d9=this[_0x208241(0x91)](_0x18587b);if(_0x2c8b0a||0x0==_0x5218d9[_0x208241(0x83)]||!_0x1398c8[_0x208241(0xcc)](_0x18587b))return;0x1===_0x1398c8[_0x208241(0x10a)](_0x18587b)[_0x208241(0x83)]&&_0x205beb[_0x208241(0xf5)][_0x208241(0xbe)]({'isUndoable':!0x1},_0x41fde9=>{const _0x6d8ac2=_0x208241;for(const _0x4439ed of _0x5218d9)_0x41fde9[_0x6d8ac2(0xb4)](_0x4439ed,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3302b9(0x8f)}),this[_0x3302b9(0x95)](),this[_0x3302b9(0x9c)]();}[_0x2f208a(0xdc)](){const _0x12a3d5=_0x2f208a,_0x43c183=this[_0x12a3d5(0xe9)][_0x12a3d5(0xa4)][_0x12a3d5(0xda)](_0x193df8),_0x167384=this[_0x12a3d5(0xe9)][_0x12a3d5(0x107)][_0x12a3d5(0xda)](_0x12a3d5(0xa9));for(const _0xcf4703 of _0x43c183[_0x12a3d5(0xfe)]({'channelId':_0x167384}))_0x43c183[_0x12a3d5(0xbb)](_0xcf4703['id']),_0x43c183[_0x12a3d5(0xb5)][_0x12a3d5(0xed)](_0xcf4703['id']);super[_0x12a3d5(0xdc)]();}[_0x2f208a(0x102)](_0x2539f5){const _0x551a23=_0x2f208a;return this[_0x551a23(0x91)](_0x2539f5)[_0x551a23(0x83)]>0x0;}[_0x2f208a(0x91)](_0x10dd4c){const _0x42a5c2=_0x2f208a,_0x5d35e0=[];for(const _0xe03738 of this[_0x42a5c2(0xe9)][_0x42a5c2(0xf5)][_0x42a5c2(0xe2)])_0xe03738[_0x42a5c2(0x82)][_0x42a5c2(0xae)](_0x42a5c2(0xa5)+_0x10dd4c)&&_0x5d35e0[_0x42a5c2(0x106)](_0xe03738);return _0x5d35e0;}[_0x2f208a(0x84)](_0x267993){const _0x456247=_0x2f208a,_0x27b2eb=this[_0x456247(0x79)](_0x267993);_0x27b2eb&&setTimeout(()=>{const _0x11cdfd=_0x456247;this[_0x11cdfd(0x81)]&&splitMarkerName(this[_0x11cdfd(0x81)])['id']===_0x267993&&_0x22a4b8({'target':_0x27b2eb[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2f208a(0x99)](_0x4725a6){const _0xdc8f90=_0x2f208a;this[_0xdc8f90(0xe9)][_0xdc8f90(0xf5)][_0xdc8f90(0x9a)](()=>{const _0x2303d2=_0xdc8f90;for(const _0x2c10c3 of this[_0x2303d2(0x91)](_0x4725a6))this[_0x2303d2(0xe9)][_0x2303d2(0xec)][_0x2303d2(0xdf)](_0x2c10c3);});}[_0x2f208a(0xa7)](_0x89804e){const _0x37fcd5=_0x2f208a,_0x42b550=this[_0x37fcd5(0xe9)][_0x37fcd5(0xa4)][_0x37fcd5(0xda)](_0x193df8),_0x219d52=this[_0x37fcd5(0xe9)][_0x37fcd5(0xa4)][_0x37fcd5(0xda)](_0x10cd8b),_0x48e544=_0x42b550[_0x37fcd5(0x10a)](_0x89804e);if(!_0x48e544[_0x37fcd5(0xe0)]){const _0x35705f=_0x48e544[_0x37fcd5(0xf2)](()=>this[_0x37fcd5(0x79)](_0x48e544['id']));_0x219d52[_0x37fcd5(0xb6)](_0x35705f),_0x48e544[_0x37fcd5(0xc2)]=!0x1;}}[_0x2f208a(0x95)](){const _0x2f6720=_0x2f208a,_0x12abd0=this[_0x2f6720(0xe9)],_0xce9efd=_0x12abd0[_0x2f6720(0xa4)][_0x2f6720(0xda)](_0x42bc8b);_0x12abd0[_0x2f6720(0xa6)][_0x2f6720(0xd6)](_0x2f6720(0xb0))[_0x2f6720(0xb8)]({'model':_0x2f6720(0x78),'view':(_0x31c87c,_0x3b5669)=>{const _0x23cb3c=_0x2f6720,{id:_0x44809b}=splitMarkerName(_0x31c87c[_0x23cb3c(0x109)]),_0x342018=_0x12abd0[_0x23cb3c(0xa4)][_0x23cb3c(0xda)](_0x193df8)[_0x23cb3c(0x10a)](_0x44809b),_0x7db139=this[_0x23cb3c(0x81)]&&splitMarkerName(this[_0x23cb3c(0x81)])['id']===_0x44809b;let _0x51c47d;if(_0x342018&&_0x342018[_0x23cb3c(0xf3)]&&!_0x7db139&&_0x31c87c[_0x23cb3c(0x110)])return _0x3b5669[_0x23cb3c(0xc4)][_0x23cb3c(0xea)](_0x31c87c[_0x23cb3c(0x110)],_0x23cb3c(0xbd)+_0x31c87c[_0x23cb3c(0x109)]),_0x3b5669[_0x23cb3c(0xc4)][_0x23cb3c(0xea)](_0x31c87c[_0x23cb3c(0x110)],_0x23cb3c(0x97)+_0x31c87c[_0x23cb3c(0x109)]),null;const _0x5ee291=[_0x23cb3c(0x85)];return _0x7db139&&_0x5ee291[_0x23cb3c(0x106)](_0x23cb3c(0x88)),_0x51c47d=_0x342018&&_0x342018[_0x23cb3c(0x83)]?_0x342018[_0x23cb3c(0xbf)][_0x23cb3c(0xc0)][_0x23cb3c(0xb7)]['id']:_0xce9efd['me']['id'],{'classes':_0x5ee291,'attributes':{'data-comment':_0x44809b,'data-author-id':_0x51c47d}};}}),_0x12abd0[_0x2f6720(0xa6)][_0x2f6720(0xd6)](_0x2f6720(0xd2))[_0x2f6720(0x7c)]({'model':_0x2f6720(0x78),'view':(_0x14bdea,{options:_0x316750})=>{const _0x1394d6=_0x2f6720,_0x5c8dfc=_0x12abd0[_0x1394d6(0xa4)][_0x1394d6(0xda)](_0x193df8),_0x2d09e9=_0x12abd0[_0x1394d6(0xf5)][_0x1394d6(0xe2)][_0x1394d6(0xda)](_0x14bdea),{id:_0x5edec8,part:_0x548eb2}=splitMarkerName(_0x14bdea);if(_0x2d09e9&&!_0x2d09e9[_0x1394d6(0x9e)])return null;if(_0x316750[_0x1394d6(0xd9)]){const _0x22f846=_0x5c8dfc[_0x1394d6(0x10a)](_0x5edec8);if(_0x22f846&&_0x22f846[_0x1394d6(0xf3)])return null;}return{'group':_0x1394d6(0x78),'name':_0x548eb2?_0x5edec8+':'+_0x548eb2:_0x5edec8};}}),_0x12abd0[_0x2f6720(0xa6)][_0x2f6720(0xd6)](_0x2f6720(0x7a))[_0x2f6720(0xb1)]({'view':{'name':_0x2f6720(0x78),'attributes':{'id':/^\w/}},'model':(_0x1c5daa,{writer:_0xa4f1a4})=>_0xa4f1a4[_0x2f6720(0x8e)](_0x2f6720(0x96),{'data-name':_0x2f6720(0xa5)+_0x1c5daa[_0x2f6720(0xe8)]('id')})}),_0x12abd0[_0x2f6720(0xa6)][_0x2f6720(0xd6)](_0x2f6720(0x7a))[_0x2f6720(0x94)]({'view':_0x2f6720(0x78)});}[_0x2f208a(0x9c)](){const _0x70033f=_0x2f208a,_0x330013=this[_0x70033f(0xe9)],_0x599766=_0x330013[_0x70033f(0xa4)][_0x70033f(0xda)](_0x193df8),_0x55690b=new Set(),_0x433532=new Set();_0x330013[_0x70033f(0xf5)][_0x70033f(0xa0)][_0x70033f(0xba)](_0x473ef2=>{const _0x2efb7b=_0x70033f;let _0x19acb7=!0x1;for(const {name:_0x382b4c,data:_0x662bf3}of _0x330013[_0x2efb7b(0xf5)][_0x2efb7b(0xa0)][_0x2efb7b(0xe3)][_0x2efb7b(0xa8)]()){const {group:_0x3d4040,id:_0x2d7527}=splitMarkerName(_0x382b4c);let _0x1a3e68=_0x662bf3[_0x2efb7b(0xcf)];if(_0x2efb7b(0x78)!==_0x3d4040||!_0x1a3e68)continue;const _0x4263b0=_0x2efb7b(0x104)===_0x1a3e68[_0x2efb7b(0xf8)][_0x2efb7b(0x7f)];_0x4263b0||(_0x1a3e68=dt(_0x1a3e68,_0x330013[_0x2efb7b(0xf5)]),!_0x1a3e68||_0x1a3e68[_0x2efb7b(0x100)]||!_0x662bf3[_0x2efb7b(0xcf)]||_0x1a3e68[_0x2efb7b(0xf0)](_0x662bf3[_0x2efb7b(0xcf)]))?_0x330013[_0x2efb7b(0xf5)][_0x2efb7b(0xde)](_0x1a3e68)&&!_0x4263b0?this[_0x2efb7b(0xdd)]?_0x55690b[_0x2efb7b(0x86)](_0x382b4c):this[_0x2efb7b(0xfa)](_0x382b4c,_0x2d7527):(_0x433532[_0x2efb7b(0x86)](_0x382b4c),_0x55690b[_0x2efb7b(0xed)](_0x382b4c),_0x473ef2[_0x2efb7b(0xff)](_0x382b4c),_0x19acb7=!0x0):(_0x473ef2[_0x2efb7b(0xb4)](_0x382b4c,{'range':_0x1a3e68}),_0x19acb7=!0x0);}return _0x19acb7;}),this['on'](_0x70033f(0x93),(_0x1ea5dd,_0x42ea22,_0x175c95)=>{const _0x1f5085=_0x70033f;if(!_0x175c95&&_0x55690b[_0x1f5085(0xaa)])for(const _0x14240d of _0x55690b){const {id:_0x34eea5}=splitMarkerName(_0x14240d);_0x55690b[_0x1f5085(0xed)](_0x14240d),_0x330013[_0x1f5085(0xf5)][_0x1f5085(0xe2)][_0x1f5085(0xda)](_0x14240d)&&this[_0x1f5085(0xfa)](_0x14240d,_0x34eea5);}}),this[_0x70033f(0x10b)](_0x330013[_0x70033f(0xf5)][_0x70033f(0xa0)],_0x70033f(0x9a),(_0x3181ee,_0x43b29c)=>{const _0x27c1b0=_0x70033f;for(const {name:_0x44570f,data:{newRange:_0x302ed6}}of _0x330013[_0x27c1b0(0xf5)][_0x27c1b0(0xa0)][_0x27c1b0(0xe3)][_0x27c1b0(0xa8)]()){const {group:_0x2177a8,id:_0x471218}=splitMarkerName(_0x44570f);if(_0x27c1b0(0x78)!==_0x2177a8)continue;const _0x266bc3=_0x599766[_0x27c1b0(0x10a)](_0x471218),_0x2aa517=this[_0x27c1b0(0x102)](_0x471218);_0x266bc3&&(!_0x266bc3[_0x27c1b0(0xc2)]&&_0x302ed6&&_0x330013[_0x27c1b0(0xec)][_0x27c1b0(0xd5)][_0x27c1b0(0xef)](_0x27c1b0(0xd4),()=>{const _0x614c7f=_0x27c1b0,_0x13459a=_0x330013[_0x614c7f(0xa4)][_0x614c7f(0xda)](_0x99e31c),_0x4014e1=_0x599766[_0x614c7f(0x8b)][_0x614c7f(0xda)](_0x266bc3)[_0x614c7f(0xd5)];_0x13459a[_0x614c7f(0x7d)](_0x4014e1)[_0x614c7f(0xc9)]();},{'priority':_0x27c1b0(0x8f)}),_0x266bc3[_0x27c1b0(0xc2)]=_0x2aa517||!!_0x302ed6),_0x302ed6||(_0x433532[_0x27c1b0(0x86)](_0x44570f),_0x55690b[_0x27c1b0(0xed)](_0x44570f));}if(_0x43b29c[_0x27c1b0(0xe6)])for(const _0x5b3a61 of _0x433532){const {id:_0x37af15}=splitMarkerName(_0x5b3a61),_0x1de073=_0x599766[_0x27c1b0(0x10a)](_0x37af15),_0x325f7b=this[_0x27c1b0(0x102)](_0x37af15);_0x55690b[_0x27c1b0(0xed)](_0x5b3a61),!_0x1de073||_0x325f7b||_0x1de073[_0x27c1b0(0xc6)]||_0x1de073[_0x27c1b0(0xdb)](new Date());}_0x433532[_0x27c1b0(0xcb)]();});}[_0x2f208a(0x79)](_0x56f6b3){const _0x45983b=_0x2f208a,_0x32e25e=this[_0x45983b(0xe9)],_0x206cd9=this[_0x45983b(0x91)](_0x56f6b3);return _0x3c554e(_0x32e25e[_0x45983b(0xec)],_0x206cd9);}[_0x2f208a(0x8d)](_0x41e5a9){const _0x40491c=_0x2f208a,_0x259dcf=this[_0x40491c(0x91)](_0x41e5a9);let _0x52bd63='',_0x492ac8=!0x1;for(const _0x3888fe of _0x259dcf){const _0x3f5b92=_0x3888fe[_0x40491c(0x10c)]();for(const _0x461fea of Array[_0x40491c(0xb9)](_0x3f5b92[_0x40491c(0x9f)]()))_0x461fea['is'](_0x40491c(0x10f))?(_0x52bd63&&_0x492ac8&&(_0x52bd63+='\x20',_0x492ac8=!0x1),_0x52bd63+=_0x461fea[_0x40491c(0x10e)]):_0x492ac8=!0x0;_0x492ac8=!0x0;}return _0x52bd63[_0x40491c(0x7e)](0x0,0x96);}[_0x2f208a(0x89)](_0x27bce7,_0x1e6e7e){const _0x2c897e=_0x2f208a,_0xe955e5=this[_0x2c897e(0xe9)],_0x345b61=_0xe955e5[_0x2c897e(0xa4)][_0x2c897e(0xda)](_0x193df8);let _0x83f48d=_0x345b61[_0x2c897e(0x10a)](_0x1e6e7e);const _0x3d63be=_0xe955e5[_0x2c897e(0x107)][_0x2c897e(0xda)](_0x2c897e(0xa9)),_0x36688e=_0xe955e5[_0x2c897e(0xa4)][_0x2c897e(0xda)](_0x10cd8b);if(_0x83f48d&&(_0x83f48d[_0x2c897e(0xc6)]&&_0x83f48d[_0x2c897e(0xdb)](null),_0x83f48d[_0x2c897e(0xe0)]))return _0x83f48d;return!this[_0x2c897e(0x91)](_0x1e6e7e)[0x0][_0x2c897e(0xaf)]?_0xe955e5[_0x2c897e(0xec)][_0x2c897e(0xd5)][_0x2c897e(0xef)](_0x2c897e(0xd4),()=>{const _0x3c1aa1=_0x2c897e;if(_0x345b61[_0x3c1aa1(0x10a)](_0x1e6e7e))return;const _0xf0d05d=_0xe955e5[_0x3c1aa1(0xa4)][_0x3c1aa1(0xda)](_0x99e31c);_0x83f48d=_0x345b61[_0x3c1aa1(0xd3)]({'channelId':_0x3d63be,'threadId':_0x1e6e7e,'target':()=>this[_0x3c1aa1(0x79)](_0x1e6e7e),'context':{'type':_0x3c1aa1(0xac),'value':this[_0x3c1aa1(0x8d)](_0x1e6e7e)}});const _0x44b949=_0x345b61[_0x3c1aa1(0x8b)][_0x3c1aa1(0xda)](_0x83f48d)[_0x3c1aa1(0xd5)],_0x48a24b=_0xf0d05d[_0x3c1aa1(0x7d)](_0x44b949);_0x48a24b&&_0x36688e[_0x3c1aa1(0xb6)](_0x48a24b);},{'priority':_0x2c897e(0x8f)}):_0x345b61[_0x2c897e(0xc1)]({'channelId':_0x3d63be,'threadId':_0x1e6e7e})[_0x2c897e(0xcd)](_0x3fd351=>{const _0x39f8e1=_0x2c897e;if(_0x39f8e1(0x77)!==_0xe955e5[_0x39f8e1(0xc7)]){if(_0x83f48d=_0x3fd351,_0x83f48d&&!_0x83f48d[_0x39f8e1(0xe0)]){const _0x29993b=_0x83f48d[_0x39f8e1(0xf2)](()=>this[_0x39f8e1(0x79)](_0x1e6e7e));_0x36688e[_0x39f8e1(0xb6)](_0x29993b),_0x83f48d[_0x39f8e1(0xf3)]&&this[_0x39f8e1(0x99)](_0x1e6e7e);}else{if(!_0x83f48d){const _0x1f474b=this[_0x39f8e1(0x91)](_0x1e6e7e);_0xe955e5[_0x39f8e1(0xf5)][_0x39f8e1(0x9a)](_0x4f9216=>{const _0x505867=_0x39f8e1;for(const _0x579765 of _0x1f474b)_0x4f9216[_0x505867(0xff)](_0x579765);});}}}}),_0x83f48d;}[_0x2f208a(0xfa)](_0x35d51e,_0x54a0fa){const _0x3d71ae=_0x2f208a,_0x24f1bf=this[_0x3d71ae(0x89)](_0x35d51e,_0x54a0fa);_0x24f1bf&&!_0x24f1bf[_0x3d71ae(0x98)]&&_0x24f1bf[_0x3d71ae(0x108)]({'type':_0x3d71ae(0xac),'value':this[_0x3d71ae(0x8d)](_0x54a0fa)});}[_0x2f208a(0xb3)](){const _0x449845=_0x2f208a,_0x3730ad=this[_0x449845(0xe9)];_0x42904a(_0x3730ad[_0x449845(0xf5)],({left:_0x485cc4,entered:_0x1fb97b})=>{const _0xc077de=_0x449845;for(const _0x3272c9 of _0x485cc4)if(ht(_0x3272c9)){_0x3730ad['ui'][_0xc077de(0xad)][_0xc077de(0xc8)](_0x3a597e(_0x3730ad[_0xc077de(0x80)],_0xc077de(0xfb)));break;}for(const _0x47ec74 of _0x1fb97b)if(ht(_0x47ec74)){_0x3730ad['ui'][_0xc077de(0xad)][_0xc077de(0xc8)](_0x3a597e(_0x3730ad[_0xc077de(0x80)],_0xc077de(0x92),_0x126195(_0x1dbb9d)));break;}});}}function mt(_0x522e5a,_0x24dabb){return _0x24dabb?_0x522e5a+':'+_0x24dabb:_0x522e5a;}export function splitMarkerName(_0x5d2e36){const _0x4d292f=_0x2f208a,_0x4b95cf=_0x5d2e36[_0x4d292f(0xca)](':');return{'group':_0x4b95cf[0x0],'id':_0x4b95cf[0x1],'part':_0x4b95cf[0x2]};}function dt(_0xa8c4fe,_0x1dc866){const _0x1f2d17=_0x2f208a,_0x1ecebb=_0x1dc866[_0x1f2d17(0xc5)],_0x3db352=_0x1dc866[_0x1f2d17(0xce)](_0xa8c4fe[_0x1f2d17(0xa3)]);for(const _0x437371 of _0xa8c4fe[_0x1f2d17(0x105)]()){const {type:_0xc5af9f,item:_0x1afd16,nextPosition:_0x556b52}=_0x437371;if(_0x1f2d17(0xac)===_0xc5af9f||_0x1ecebb[_0x1f2d17(0xc3)](_0x1afd16)){const _0x2f51cb=_0x1dc866[_0x1f2d17(0x101)](_0x1afd16);_0x3db352[_0x1f2d17(0x100)]&&(_0x3db352[_0x1f2d17(0xa3)]=_0x2f51cb),_0x3db352[_0x1f2d17(0xab)]=_0x556b52;}}return _0x3db352;}function ht(_0x23de1d){const _0x158538=_0x2f208a;return _0x158538(0x78)===splitMarkerName(_0x23de1d[_0x158538(0x82)])[_0x158538(0x8c)];}
|
|
23
|
+
const _0x4c962d=_0x54a9;(function(_0x30b0fd,_0x5ad397){const _0x4a2b66=_0x54a9,_0x552bdc=_0x30b0fd();while(!![]){try{const _0x242d1a=-parseInt(_0x4a2b66(0xe7))/0x1*(-parseInt(_0x4a2b66(0xcf))/0x2)+parseInt(_0x4a2b66(0xeb))/0x3+-parseInt(_0x4a2b66(0x101))/0x4*(parseInt(_0x4a2b66(0xed))/0x5)+-parseInt(_0x4a2b66(0x115))/0x6*(parseInt(_0x4a2b66(0xee))/0x7)+-parseInt(_0x4a2b66(0x10c))/0x8*(-parseInt(_0x4a2b66(0xa6))/0x9)+-parseInt(_0x4a2b66(0xdf))/0xa*(-parseInt(_0x4a2b66(0xf7))/0xb)+parseInt(_0x4a2b66(0x7d))/0xc;if(_0x242d1a===_0x5ad397)break;else _0x552bdc['push'](_0x552bdc['shift']());}catch(_0x51ab58){_0x552bdc['push'](_0x552bdc['shift']());}}}(_0x4466,0x83e81));import{Plugin as _0x28833b}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x2785c0,scrollViewportToShowTarget as _0x4993e4}from'ckeditor5/src/utils.js';import _0x5c3311 from'./commentsrepository.js';import _0xeb184c from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x1547a4,getAllMarkersDomElementsSorted as _0x3c70e2,FOCUS_ANNOTATION_KEYSTROKE as _0x2da582,Users as _0x4c240b}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x45fa03 from'../annotations/editorannotations.js';import _0x5bbcd9 from'./integrations/commentsrestrictededitingmode.js';function _0x54a9(_0x98884f,_0xcec594){const _0x446687=_0x4466();return _0x54a9=function(_0x54a9f5,_0x11de86){_0x54a9f5=_0x54a9f5-0x7b;let _0x5b6840=_0x446687[_0x54a9f5];return _0x5b6840;},_0x54a9(_0x98884f,_0xcec594);}import _0x1d1823 from'./integrations/importword.js';import _0x2a95bc from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x2a0692 from'../annotations/annotations.js';import{getTranslation as _0x5e02f}from'../utils/common-translations.js';export default class r extends _0x28833b{static get[_0x4c962d(0x10b)](){return[_0x5c3311,_0x45fa03,_0x4c240b,_0x5bbcd9,_0x1d1823,_0x2a95bc];}static get[_0x4c962d(0xaf)](){const _0x5e7f65=_0x4c962d;return _0x5e7f65(0xb0);}static get[_0x4c962d(0xde)](){return!0x0;}static get[_0x4c962d(0x84)](){return!0x0;}constructor(_0x1e46cb){const _0x4af5d0=_0x4c962d;super(_0x1e46cb),this[_0x4af5d0(0xb8)](_0x4af5d0(0xb2),!0x0),_0x1e46cb[_0x4af5d0(0x90)][_0x4af5d0(0x8a)](_0x4af5d0(0x102),()=>this[_0x4af5d0(0xb2)]=!0x1),this[_0x4af5d0(0xb8)](_0x4af5d0(0x98),null),this['on'](_0x4af5d0(0xb6),(_0x184de3,_0x467e94,_0x3903aa,_0x4ee534)=>{const _0x47ac3d=_0x4af5d0,_0x19bfb9=_0x3903aa?splitMarkerName(_0x3903aa)['id']:null;if(_0x1e46cb[_0x47ac3d(0xaa)][_0x47ac3d(0x10a)](()=>{const _0xa9f64a=_0x47ac3d;if(_0x19bfb9){const _0x59091d=this[_0xa9f64a(0xd6)](_0x19bfb9);for(const _0x23a6a6 of _0x59091d)_0x1e46cb[_0xa9f64a(0xc6)][_0xa9f64a(0x89)](_0x23a6a6);}if(_0x4ee534){const {id:_0x4f4545}=splitMarkerName(_0x4ee534),_0x480ef4=this[_0xa9f64a(0xd6)](_0x4f4545);for(const _0x30259e of _0x480ef4)_0x1e46cb[_0xa9f64a(0xc6)][_0xa9f64a(0x89)](_0x30259e);}}),_0x19bfb9){const _0x3eb53a=_0x1e46cb[_0x47ac3d(0xec)][_0x47ac3d(0x96)](_0x5c3311)[_0x47ac3d(0x8d)](_0x19bfb9);_0x3eb53a&&_0x3eb53a[_0x47ac3d(0x81)]&&this[_0x47ac3d(0xe4)](_0x19bfb9);}}),this[_0x4af5d0(0x103)]();}[_0x4c962d(0xa8)](){const _0xd3c1e5=_0x4c962d,_0x305e1a=this[_0xd3c1e5(0xc4)],_0x45ad8f=_0x305e1a[_0xd3c1e5(0xec)][_0xd3c1e5(0x96)](_0x5c3311),_0x33b1c2=_0x305e1a[_0xd3c1e5(0xf1)][_0xd3c1e5(0x96)](_0xd3c1e5(0x110));_0x305e1a[_0xd3c1e5(0x7c)][_0xd3c1e5(0xc1)](_0xd3c1e5(0xe0),new _0xeb184c(_0x305e1a)),this[_0xd3c1e5(0x9a)](_0x305e1a,_0xd3c1e5(0xc8),(_0x5bea33,_0x1528f9,_0x2d7474)=>{const _0x4afc81=_0xd3c1e5;_0x45ad8f[_0x4afc81(0xe3)](_0x2d7474,_0x305e1a[_0x4afc81(0xf1)][_0x4afc81(0x96)](_0x4afc81(0x110)));}),this[_0xd3c1e5(0x9a)](_0x45ad8f,mt(_0xd3c1e5(0xe0),_0x33b1c2),(_0x4a02d8,{threadId:_0x51fdb3})=>{const _0x4ff39c=_0xd3c1e5,_0x2def91=this[_0x4ff39c(0xc4)][_0x4ff39c(0xec)][_0x4ff39c(0x96)](_0x5c3311)[_0x4ff39c(0x8d)](_0x51fdb3);_0x2def91&&_0x2def91[_0x4ff39c(0x10f)]&&this[_0x4ff39c(0x9b)](_0x51fdb3);}),this[_0xd3c1e5(0x9a)](_0x45ad8f,mt(_0xd3c1e5(0xab),_0x33b1c2),(_0x4a6f93,{threadId:_0xf9e7f})=>{const _0x1a8e56=_0xd3c1e5;_0x305e1a[_0x1a8e56(0xaa)][_0x1a8e56(0x92)]({'isUndoable':!0x1},_0x5ef17f=>{const _0x209ffd=_0x1a8e56,_0x3b28c9=this[_0x209ffd(0xd6)](_0xf9e7f);for(const _0x2df857 of _0x3b28c9)_0x5ef17f[_0x209ffd(0xad)](_0x2df857);});}),this[_0xd3c1e5(0x9a)](_0x45ad8f,mt(_0xd3c1e5(0xb4),_0x33b1c2),(_0x3d26b2,{threadId:_0x32af9f})=>{const _0x5da13a=_0xd3c1e5;(this[_0x5da13a(0xe5)](_0x32af9f),this[_0x5da13a(0xc4)][_0x5da13a(0xc6)][_0x5da13a(0xd3)][_0x5da13a(0xce)])&&(this[_0x5da13a(0xc4)][_0x5da13a(0xec)][_0x5da13a(0x96)](_0x5c3311)[_0x5da13a(0x8d)](_0x32af9f)[_0x5da13a(0x10f)]||this[_0x5da13a(0xc4)][_0x5da13a(0xc6)][_0x5da13a(0xd3)][_0x5da13a(0xef)]());},{'priority':_0xd3c1e5(0x9e)}),this[_0xd3c1e5(0x9a)](_0x45ad8f,mt(_0xd3c1e5(0x104),_0x33b1c2),(_0x2dc0ac,{threadId:_0x44971d})=>{const _0x538ae7=_0xd3c1e5;this[_0x538ae7(0xe5)](_0x44971d);},{'priority':_0xd3c1e5(0x9e)}),this[_0xd3c1e5(0x9a)](_0x45ad8f,mt(_0xd3c1e5(0x8b),_0x33b1c2),(_0x416807,{threadId:_0x190328,isFromAdapter:_0x83d6b0})=>{const _0x3f37fc=_0xd3c1e5,_0x3ffc51=this[_0x3f37fc(0xd6)](_0x190328);if(_0x83d6b0||0x0==_0x3ffc51[_0x3f37fc(0x8e)]||!_0x45ad8f[_0x3f37fc(0x7f)](_0x190328))return;0x1===_0x45ad8f[_0x3f37fc(0x8d)](_0x190328)[_0x3f37fc(0x8e)]&&_0x305e1a[_0x3f37fc(0xaa)][_0x3f37fc(0x92)]({'isUndoable':!0x1},_0x4ab09d=>{const _0x28bfe5=_0x3f37fc;for(const _0x463b76 of _0x3ffc51)_0x4ab09d[_0x28bfe5(0xc0)](_0x463b76,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xd3c1e5(0x9e)}),this[_0xd3c1e5(0xb7)](),this[_0xd3c1e5(0xac)]();}[_0x4c962d(0x93)](){const _0xc65ab5=_0x4c962d,_0x4ab2f9=this[_0xc65ab5(0xc4)][_0xc65ab5(0xec)][_0xc65ab5(0x96)](_0x5c3311),_0x2ac783=this[_0xc65ab5(0xc4)][_0xc65ab5(0xf1)][_0xc65ab5(0x96)](_0xc65ab5(0x110));for(const _0x37d624 of _0x4ab2f9[_0xc65ab5(0x111)]({'channelId':_0x2ac783}))_0x4ab2f9[_0xc65ab5(0x10e)](_0x37d624['id']),_0x4ab2f9[_0xc65ab5(0xf0)][_0xc65ab5(0xd8)](_0x37d624['id']);super[_0xc65ab5(0x93)]();}[_0x4c962d(0xbf)](_0x3bcf1b){const _0x1b39e2=_0x4c962d;return this[_0x1b39e2(0xd6)](_0x3bcf1b)[_0x1b39e2(0x8e)]>0x0;}[_0x4c962d(0xd6)](_0x3080ab){const _0x5a932f=_0x4c962d,_0x3d821c=[];for(const _0x4cdfe9 of this[_0x5a932f(0xc4)][_0x5a932f(0xaa)][_0x5a932f(0x85)])_0x4cdfe9[_0x5a932f(0xd4)][_0x5a932f(0xbb)](_0x5a932f(0xe6)+_0x3080ab)&&_0x3d821c[_0x5a932f(0xe2)](_0x4cdfe9);return _0x3d821c;}[_0x4c962d(0xe4)](_0x2de573){const _0x12f3f7=_0x4c962d,_0x498068=this[_0x12f3f7(0xd9)](_0x2de573);_0x498068&&setTimeout(()=>{const _0x300282=_0x12f3f7;this[_0x300282(0x98)]&&splitMarkerName(this[_0x300282(0x98)])['id']===_0x2de573&&_0x4993e4({'target':_0x498068[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x4c962d(0xe5)](_0x49bc6e){const _0xacefd3=_0x4c962d;this[_0xacefd3(0xc4)][_0xacefd3(0xaa)][_0xacefd3(0x10a)](()=>{const _0x3e0fc3=_0xacefd3;for(const _0x3438c3 of this[_0x3e0fc3(0xd6)](_0x49bc6e))this[_0x3e0fc3(0xc4)][_0x3e0fc3(0xc6)][_0x3e0fc3(0x89)](_0x3438c3);});}[_0x4c962d(0x9b)](_0x3c5ab5){const _0x4bed8d=_0x4c962d,_0x516191=this[_0x4bed8d(0xc4)][_0x4bed8d(0xec)][_0x4bed8d(0x96)](_0x5c3311),_0x4fe860=this[_0x4bed8d(0xc4)][_0x4bed8d(0xec)][_0x4bed8d(0x96)](_0x45fa03),_0x450fee=_0x516191[_0x4bed8d(0x8d)](_0x3c5ab5);if(!_0x450fee[_0x4bed8d(0x100)]){const _0x5b784e=_0x450fee[_0x4bed8d(0xae)](()=>this[_0x4bed8d(0xd9)](_0x450fee['id']));_0x4fe860[_0x4bed8d(0xb3)](_0x5b784e),_0x450fee[_0x4bed8d(0x99)]=!0x1;}}[_0x4c962d(0xb7)](){const _0x32e0d8=_0x4c962d,_0x561a90=this[_0x32e0d8(0xc4)],_0x4adb93=_0x561a90[_0x32e0d8(0xec)][_0x32e0d8(0x96)](_0x4c240b);_0x561a90[_0x32e0d8(0x94)][_0x32e0d8(0xcc)](_0x32e0d8(0xd0))[_0x32e0d8(0x80)]({'model':_0x32e0d8(0xfc),'view':(_0x3b736c,_0x5f36c3)=>{const _0x306499=_0x32e0d8,{id:_0x272407}=splitMarkerName(_0x3b736c[_0x306499(0xa0)]),_0x562652=_0x561a90[_0x306499(0xec)][_0x306499(0x96)](_0x5c3311)[_0x306499(0x8d)](_0x272407),_0x534d55=this[_0x306499(0x98)]&&splitMarkerName(this[_0x306499(0x98)])['id']===_0x272407;let _0x100b2e;if(_0x562652&&_0x562652[_0x306499(0x81)]&&!_0x534d55&&_0x3b736c[_0x306499(0x116)])return _0x5f36c3[_0x306499(0xfe)][_0x306499(0xe8)](_0x3b736c[_0x306499(0x116)],_0x306499(0xa2)+_0x3b736c[_0x306499(0xa0)]),_0x5f36c3[_0x306499(0xfe)][_0x306499(0xe8)](_0x3b736c[_0x306499(0x116)],_0x306499(0xc9)+_0x3b736c[_0x306499(0xa0)]),null;const _0x4724ad=[_0x306499(0x9d)];return _0x534d55&&_0x4724ad[_0x306499(0xe2)](_0x306499(0x9c)),_0x100b2e=_0x562652&&_0x562652[_0x306499(0x8e)]?_0x562652[_0x306499(0x8f)][_0x306499(0xdd)][_0x306499(0xa7)]['id']:_0x4adb93['me']['id'],{'classes':_0x4724ad,'attributes':{'data-comment':_0x272407,'data-author-id':_0x100b2e}};}}),_0x561a90[_0x32e0d8(0x94)][_0x32e0d8(0xcc)](_0x32e0d8(0x95))[_0x32e0d8(0xc3)]({'model':_0x32e0d8(0xfc),'view':(_0x5a71d9,{options:_0x14ebb4})=>{const _0x467618=_0x32e0d8,_0x481f80=_0x561a90[_0x467618(0xec)][_0x467618(0x96)](_0x5c3311),_0x5a61f9=_0x561a90[_0x467618(0xaa)][_0x467618(0x85)][_0x467618(0x96)](_0x5a71d9),{id:_0x5d4d28,part:_0x24651e}=splitMarkerName(_0x5a71d9);if(_0x5a61f9&&!_0x5a61f9[_0x467618(0xf4)])return null;if(_0x14ebb4[_0x467618(0x87)]){const _0x5d3f51=_0x481f80[_0x467618(0x8d)](_0x5d4d28);if(_0x5d3f51&&_0x5d3f51[_0x467618(0x81)])return null;}return{'group':_0x467618(0xfc),'name':_0x24651e?_0x5d4d28+':'+_0x24651e:_0x5d4d28};}}),_0x561a90[_0x32e0d8(0x94)][_0x32e0d8(0xcc)](_0x32e0d8(0xda))[_0x32e0d8(0xc7)]({'view':{'name':_0x32e0d8(0xfc),'attributes':{'id':/^\w/}},'model':(_0xec7694,{writer:_0x47c3b7})=>_0x47c3b7[_0x32e0d8(0x109)](_0x32e0d8(0xa9),{'data-name':_0x32e0d8(0xe6)+_0xec7694[_0x32e0d8(0xca)]('id')})}),_0x561a90[_0x32e0d8(0x94)][_0x32e0d8(0xcc)](_0x32e0d8(0xda))[_0x32e0d8(0x86)]({'view':_0x32e0d8(0xfc)});}[_0x4c962d(0xac)](){const _0x9ac088=_0x4c962d,_0x3afb5d=this[_0x9ac088(0xc4)],_0x1e4dc7=_0x3afb5d[_0x9ac088(0xec)][_0x9ac088(0x96)](_0x5c3311),_0xd334b=new Set(),_0x489a57=new Set();_0x3afb5d[_0x9ac088(0xaa)][_0x9ac088(0x82)][_0x9ac088(0xa3)](_0x2c31b9=>{const _0x52c0d4=_0x9ac088;let _0xf4d39a=!0x1;for(const {name:_0x571281,data:_0x3002d7}of _0x3afb5d[_0x52c0d4(0xaa)][_0x52c0d4(0x82)][_0x52c0d4(0x7e)][_0x52c0d4(0x106)]()){const {group:_0x5c65d8,id:_0x1dccb6}=splitMarkerName(_0x571281);let _0x21c203=_0x3002d7[_0x52c0d4(0xb5)];if(_0x52c0d4(0xfc)!==_0x5c65d8||!_0x21c203)continue;const _0x51f9ef=_0x52c0d4(0x112)===_0x21c203[_0x52c0d4(0xe1)][_0x52c0d4(0xba)];_0x51f9ef||(_0x21c203=dt(_0x21c203,_0x3afb5d[_0x52c0d4(0xaa)]),!_0x21c203||_0x21c203[_0x52c0d4(0xc2)]||!_0x3002d7[_0x52c0d4(0xb5)]||_0x21c203[_0x52c0d4(0x83)](_0x3002d7[_0x52c0d4(0xb5)]))?_0x3afb5d[_0x52c0d4(0xaa)][_0x52c0d4(0xfd)](_0x21c203)&&!_0x51f9ef?this[_0x52c0d4(0xb2)]?_0xd334b[_0x52c0d4(0xc1)](_0x571281):this[_0x52c0d4(0xbe)](_0x571281,_0x1dccb6):(_0x489a57[_0x52c0d4(0xc1)](_0x571281),_0xd334b[_0x52c0d4(0xd8)](_0x571281),_0x2c31b9[_0x52c0d4(0xad)](_0x571281),_0xf4d39a=!0x0):(_0x2c31b9[_0x52c0d4(0xc0)](_0x571281,{'range':_0x21c203}),_0xf4d39a=!0x0);}return _0xf4d39a;}),this['on'](_0x9ac088(0xdb),(_0x260672,_0x24815c,_0x172fe1)=>{const _0x450d22=_0x9ac088;if(!_0x172fe1&&_0xd334b[_0x450d22(0xfb)])for(const _0x446805 of _0xd334b){const {id:_0x4a67d2}=splitMarkerName(_0x446805);_0xd334b[_0x450d22(0xd8)](_0x446805),_0x3afb5d[_0x450d22(0xaa)][_0x450d22(0x85)][_0x450d22(0x96)](_0x446805)&&this[_0x450d22(0xbe)](_0x446805,_0x4a67d2);}}),this[_0x9ac088(0x9a)](_0x3afb5d[_0x9ac088(0xaa)][_0x9ac088(0x82)],_0x9ac088(0x10a),(_0x1a4020,_0x17c243)=>{const _0x451e01=_0x9ac088;for(const {name:_0x316a53,data:{newRange:_0x5088e4}}of _0x3afb5d[_0x451e01(0xaa)][_0x451e01(0x82)][_0x451e01(0x7e)][_0x451e01(0x106)]()){const {group:_0x122219,id:_0x5e332a}=splitMarkerName(_0x316a53);if(_0x451e01(0xfc)!==_0x122219)continue;const _0x1817bc=_0x1e4dc7[_0x451e01(0x8d)](_0x5e332a),_0x592fbf=this[_0x451e01(0xbf)](_0x5e332a);_0x1817bc&&(!_0x1817bc[_0x451e01(0x99)]&&_0x5088e4&&_0x3afb5d[_0x451e01(0xc6)][_0x451e01(0xd3)][_0x451e01(0x8a)](_0x451e01(0x108),()=>{const _0x38c55d=_0x451e01,_0x7d1198=_0x3afb5d[_0x38c55d(0xec)][_0x38c55d(0x96)](_0x2a0692),_0x2b0b81=_0x1e4dc7[_0x38c55d(0xe9)][_0x38c55d(0x96)](_0x1817bc)[_0x38c55d(0xd3)];_0x7d1198[_0x38c55d(0x113)](_0x2b0b81)[_0x38c55d(0xd1)]();},{'priority':_0x451e01(0x9e)}),_0x1817bc[_0x451e01(0x99)]=_0x592fbf||!!_0x5088e4),_0x5088e4||(_0x489a57[_0x451e01(0xc1)](_0x316a53),_0xd334b[_0x451e01(0xd8)](_0x316a53));}if(_0x17c243[_0x451e01(0x9f)])for(const _0x144e50 of _0x489a57){const {id:_0x5058eb}=splitMarkerName(_0x144e50),_0x4deb19=_0x1e4dc7[_0x451e01(0x8d)](_0x5058eb),_0x2f0337=this[_0x451e01(0xbf)](_0x5058eb);_0xd334b[_0x451e01(0xd8)](_0x144e50),!_0x4deb19||_0x2f0337||_0x4deb19[_0x451e01(0x10f)]||_0x4deb19[_0x451e01(0xf9)](new Date());}_0x489a57[_0x451e01(0x114)]();});}[_0x4c962d(0xd9)](_0x440833){const _0x4bfad2=_0x4c962d,_0x443e27=this[_0x4bfad2(0xc4)],_0x51c9f9=this[_0x4bfad2(0xd6)](_0x440833);return _0x3c70e2(_0x443e27[_0x4bfad2(0xc6)],_0x51c9f9);}[_0x4c962d(0x107)](_0x5289c1){const _0x9b0781=_0x4c962d,_0x5b9723=this[_0x9b0781(0xd6)](_0x5289c1);let _0x2f4dbd='',_0x50cb25=!0x1;for(const _0x115938 of _0x5b9723){const _0x2c05e5=_0x115938[_0x9b0781(0xdc)]();for(const _0x5f05f9 of Array[_0x9b0781(0x8c)](_0x2c05e5[_0x9b0781(0x97)]()))_0x5f05f9['is'](_0x9b0781(0xea))?(_0x2f4dbd&&_0x50cb25&&(_0x2f4dbd+='\x20',_0x50cb25=!0x1),_0x2f4dbd+=_0x5f05f9[_0x9b0781(0x90)]):_0x50cb25=!0x0;_0x50cb25=!0x0;}return _0x2f4dbd[_0x9b0781(0xf5)](0x0,0x96);}[_0x4c962d(0x88)](_0x54234d,_0x1304da){const _0x238d8f=_0x4c962d,_0x12a2b9=this[_0x238d8f(0xc4)],_0x4a7c7c=_0x12a2b9[_0x238d8f(0xec)][_0x238d8f(0x96)](_0x5c3311);let _0x1b44eb=_0x4a7c7c[_0x238d8f(0x8d)](_0x1304da);const _0x5790de=_0x12a2b9[_0x238d8f(0xf1)][_0x238d8f(0x96)](_0x238d8f(0x110)),_0x1765d1=_0x12a2b9[_0x238d8f(0xec)][_0x238d8f(0x96)](_0x45fa03);if(_0x1b44eb&&(_0x1b44eb[_0x238d8f(0x10f)]&&_0x1b44eb[_0x238d8f(0xf9)](null),_0x1b44eb[_0x238d8f(0x100)]))return _0x1b44eb;return!this[_0x238d8f(0xd6)](_0x1304da)[0x0][_0x238d8f(0xb9)]?_0x12a2b9[_0x238d8f(0xc6)][_0x238d8f(0xd3)][_0x238d8f(0x8a)](_0x238d8f(0x108),()=>{const _0x5f0572=_0x238d8f;if(_0x4a7c7c[_0x5f0572(0x8d)](_0x1304da))return;const _0x5c5f14=_0x12a2b9[_0x5f0572(0xec)][_0x5f0572(0x96)](_0x2a0692);_0x1b44eb=_0x4a7c7c[_0x5f0572(0x7b)]({'channelId':_0x5790de,'threadId':_0x1304da,'target':()=>this[_0x5f0572(0xd9)](_0x1304da),'context':{'type':_0x5f0572(0xa1),'value':this[_0x5f0572(0x107)](_0x1304da)}});const _0xb5f7e8=_0x4a7c7c[_0x5f0572(0xe9)][_0x5f0572(0x96)](_0x1b44eb)[_0x5f0572(0xd3)],_0xf4c566=_0x5c5f14[_0x5f0572(0x113)](_0xb5f7e8);_0xf4c566&&_0x1765d1[_0x5f0572(0xb3)](_0xf4c566);},{'priority':_0x238d8f(0x9e)}):_0x4a7c7c[_0x238d8f(0xcd)]({'channelId':_0x5790de,'threadId':_0x1304da})[_0x238d8f(0xa5)](_0x2e06a8=>{const _0x40e3b0=_0x238d8f;if(_0x40e3b0(0xc5)!==_0x12a2b9[_0x40e3b0(0xd7)]){if(_0x1b44eb=_0x2e06a8,_0x1b44eb&&!_0x1b44eb[_0x40e3b0(0x100)]){const _0x593950=_0x1b44eb[_0x40e3b0(0xae)](()=>this[_0x40e3b0(0xd9)](_0x1304da));_0x1765d1[_0x40e3b0(0xb3)](_0x593950),_0x1b44eb[_0x40e3b0(0x81)]&&this[_0x40e3b0(0xe5)](_0x1304da);}else{if(!_0x1b44eb){const _0x29a8ae=this[_0x40e3b0(0xd6)](_0x1304da);_0x12a2b9[_0x40e3b0(0xaa)][_0x40e3b0(0x10a)](_0x6a547a=>{const _0x26524a=_0x40e3b0;for(const _0x3d94b6 of _0x29a8ae)_0x6a547a[_0x26524a(0xad)](_0x3d94b6);});}}}}),_0x1b44eb;}[_0x4c962d(0xbe)](_0x29ffbc,_0x3f6e2b){const _0x23b0b4=_0x4c962d,_0x3c5c75=this[_0x23b0b4(0x88)](_0x29ffbc,_0x3f6e2b);_0x3c5c75&&!_0x3c5c75[_0x23b0b4(0xf3)]&&_0x3c5c75[_0x23b0b4(0xb1)]({'type':_0x23b0b4(0xa1),'value':this[_0x23b0b4(0x107)](_0x3f6e2b)});}[_0x4c962d(0x103)](){const _0x4e2c2c=_0x4c962d,_0x4f04cd=this[_0x4e2c2c(0xc4)];_0x1547a4(_0x4f04cd[_0x4e2c2c(0xaa)],({left:_0x2af522,entered:_0x17c7b5})=>{const _0x132ac7=_0x4e2c2c;for(const _0x18b7f0 of _0x2af522)if(ht(_0x18b7f0)){_0x4f04cd['ui'][_0x132ac7(0xbd)][_0x132ac7(0x10d)](_0x5e02f(_0x4f04cd[_0x132ac7(0x105)],_0x132ac7(0xd5)));break;}for(const _0x5cb76d of _0x17c7b5)if(ht(_0x5cb76d)){_0x4f04cd['ui'][_0x132ac7(0xbd)][_0x132ac7(0x10d)](_0x5e02f(_0x4f04cd[_0x132ac7(0x105)],_0x132ac7(0xf2),_0x2785c0(_0x2da582)));break;}});}}function mt(_0x243570,_0x26fe9c){return _0x26fe9c?_0x243570+':'+_0x26fe9c:_0x243570;}export function splitMarkerName(_0x2cd9a7){const _0x3537db=_0x4c962d,_0x212ffc=_0x2cd9a7[_0x3537db(0xfa)](':');return{'group':_0x212ffc[0x0],'id':_0x212ffc[0x1],'part':_0x212ffc[0x2]};}function _0x4466(){const _0x5238d8=['getItems','activeMarker','_hasTargetInContent','listenTo','_attachArchivedThread','ck-comment-marker--active','ck-comment-marker','low','isLocal','markerName','text','addMarker:','registerPostFixer','schema','then','639eIVcFq','author','init','$marker','model','removeCommentThread','_handleMarkerAddAndRemove','removeMarker','attachTo','pluginName','CommentsEditing','setContext','isThreadsLoadingPaused','registerAnnotation','resolveCommentThread','newRange','change:activeMarker','_initializeMarkerConverters','set','managedUsingOperations','rootName','startsWith','getWalker','ariaLiveAnnouncer','_handleThreadMarker','hasMarkerForId','updateMarker','add','isCollapsed','markerToData','editor','destroyed','editing','elementToElement','change:isReadOnly','removeMarker:','getAttribute','group','for','fetchCommentThread','hasDomSelection','1869052xpjsWG','editingDowncast','refreshVisibility','start','view','name','LEAVE_COMMENT_ANNOUNCEMENT','getAllMarkersForId','state','delete','_getTargetForId','upcast','change:isThreadsLoadingPaused','getRange','first','isOfficialPlugin','50GIipyg','addCommentThread','root','push','switchReadOnly','scrollToThreadMarker','_reconvertMarkers','comment:','1EtCqdL','consume','_threadToController','$textProxy','1857552QQmTPG','plugins','122735shCMrJ','145873DjwsIl','focus','_threads','config','ENTER_COMMENT_ANNOUNCEMENT','context','affectsData','substring','isObject','188089iSMNbt','createPositionBefore','setUnlinkedAt','split','size','comment','hasContent','consumable','createRange','isAttached','152TzIzlG','ready','_initAriaMarkerChangeAnnouncements','reopenCommentThread','locale','getChangedMarkers','_getTextContext','render','createElement','change','requires','62392jmUgdy','announce','_detachCommentThread','unlinkedAt','collaboration.channelId','getCommentThreads','$graveyard','getByInnerView','clear','222XIIAyG','item','openNewCommentThread','commands','614208spHDsO','differ','hasCommentThread','markerToHighlight','isResolved','document','isEqual','isPremiumPlugin','markers','dataToMarker','ignoreResolvedComments','_attachMarkerToThread','reconvertMarker','once','addComment','from','getCommentThread','length','comments','data','end','enqueueChange','destroy','conversion','dataDowncast','get'];_0x4466=function(){return _0x5238d8;};return _0x4466();}function dt(_0xb0911f,_0x51f708){const _0x549791=_0x4c962d,_0x1bfaf1=_0x51f708[_0x549791(0xa4)],_0x144d60=_0x51f708[_0x549791(0xff)](_0xb0911f[_0x549791(0xd2)]);for(const _0xfb9c4 of _0xb0911f[_0x549791(0xbc)]()){const {type:_0xc37e01,item:_0xc0f328,nextPosition:_0x189497}=_0xfb9c4;if(_0x549791(0xa1)===_0xc37e01||_0x1bfaf1[_0x549791(0xf6)](_0xc0f328)){const _0x3e834c=_0x51f708[_0x549791(0xf8)](_0xc0f328);_0x144d60[_0x549791(0xc2)]&&(_0x144d60[_0x549791(0xd2)]=_0x3e834c),_0x144d60[_0x549791(0x91)]=_0x189497;}}return _0x144d60;}function ht(_0x375659){const _0x1e95d5=_0x4c962d;return _0x1e95d5(0xfc)===splitMarkerName(_0x375659[_0x1e95d5(0xd4)])[_0x1e95d5(0xcb)];}
|