@ckeditor/ckeditor5-comments 43.3.0-alpha.6 → 43.3.0-alpha.8
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
|
+
function _0x4c2c(){const _0x30dfd8=['rearrange','_setItemTop','container','change:bottom','config','pluginName','isActive','_alignAfterItem','destroy','35727tDhydW','view','listenTo','change:_lastItem','change:targetRect','_alignToTargetRect','render','init','stopListening','push','_lastItem','_targetTop','change:top','_getItemBefore','isAnimationDisabled','_destroySidebarItemView','9lPsgRN','sidebar-attachtocontainer-missing-container','_updateLastItem','minHeight','_sidebarItemViewToAnnotation','last','294oYPSSC','_createSidebarView','getIndex','2813780zqPzim','nodeType','element','max','_getItemAfter','_alignForTopChange','50lAaMkU','updateHeight','_recalculateBuffer','add','8202CHCklo','content','target','895156kkbmLl','get','refresh','Sidebar','_annotations','_spaceBetweenItems','_recalculate','_detachFromContainer','_alignBeforeItem','setContainer','list','top','bottom','5XDlhtl','145618TUodqh','_attachToContainer','3549502mZbkJi','_activeAnnotation','_getTargetTop','_alignForBottomChange','appendChild','sidebar.container','class','unbind','context','_annotationToSidebarItemView','locale','sidebar.preventScrollOutOfView','remove','targetRect','bind','sidebar-setcontainer-invalid-element','isOfficialPlugin','clear','object','2106096ZGCuyQ','define','addAnnotation','set','delete','_getMaxAvailableTop','getSidebarItemView','height','length','isPremiumPlugin'];_0x4c2c=function(){return _0x30dfd8;};return _0x4c2c();}const _0x3af0b5=_0x34e1;(function(_0x1647aa,_0x5d68f6){const _0xc5844d=_0x34e1,_0x1b2a62=_0x1647aa();while(!![]){try{const _0x2e03c3=-parseInt(_0xc5844d(0x115))/0x1+-parseInt(_0xc5844d(0x100))/0x2*(-parseInt(_0xc5844d(0xe1))/0x3)+-parseInt(_0xc5844d(0x107))/0x4*(parseInt(_0xc5844d(0x114))/0x5)+parseInt(_0xc5844d(0x104))/0x6*(parseInt(_0xc5844d(0xf7))/0x7)+parseInt(_0xc5844d(0x12a))/0x8+-parseInt(_0xc5844d(0xf1))/0x9*(-parseInt(_0xc5844d(0xfa))/0xa)+-parseInt(_0xc5844d(0x117))/0xb;if(_0x2e03c3===_0x5d68f6)break;else _0x1b2a62['push'](_0x1b2a62['shift']());}catch(_0x2cb826){_0x1b2a62['push'](_0x1b2a62['shift']());}}}(_0x4c2c,0x32b4a));import{ContextPlugin as _0x43829d}from'ckeditor5/src/core.js';function _0x34e1(_0x2cfdfa,_0x512794){const _0x4c2cb4=_0x4c2c();return _0x34e1=function(_0x34e1ae,_0x2f97cc){_0x34e1ae=_0x34e1ae-0xd3;let _0x5988fb=_0x4c2cb4[_0x34e1ae];return _0x5988fb;},_0x34e1(_0x2cfdfa,_0x512794);}import{Rect as _0x42d5d8,CKEditorError as _0x139f33}from'ckeditor5/src/utils.js';import _0x195cc6 from'./view/sidebarview.js';import _0x4bc72f from'./view/sidebaritemview.js';export default class z extends _0x43829d{static get[_0x3af0b5(0xdd)](){const _0x6812fc=_0x3af0b5;return _0x6812fc(0x10a);}static get[_0x3af0b5(0x127)](){return!0x0;}static get[_0x3af0b5(0xd7)](){return!0x0;}constructor(_0xf115a){const _0x36033a=_0x3af0b5;super(_0xf115a),this[_0x36033a(0x12d)](_0x36033a(0xeb),void 0x0),this[_0x36033a(0xe2)]=this[_0x36033a(0xf8)](),this[_0x36033a(0x12d)](_0x36033a(0xda),null),this[_0x36033a(0x10c)]=0x19,this[_0x36033a(0xf5)]=new Map(),this[_0x36033a(0x120)]=new Map(),this[_0x36033a(0x11f)][_0x36033a(0xdc)][_0x36033a(0x12b)](_0x36033a(0x122),!0x1),this[_0x36033a(0x10b)]=null,this[_0x36033a(0x118)]=null,this[_0x36033a(0x102)]=[];}[_0x3af0b5(0xe8)](){const _0x131a94=_0x3af0b5,_0x2ace47=this[_0x131a94(0x11f)][_0x131a94(0xdc)][_0x131a94(0x108)](_0x131a94(0x11c));_0x2ace47&&this[_0x131a94(0x110)](_0x2ace47);}[_0x3af0b5(0x110)](_0x2a444e){const _0x583ae9=_0x3af0b5;if(!y(_0x2a444e))throw new _0x139f33(_0x583ae9(0x126));this[_0x583ae9(0xda)]=_0x2a444e;}[_0x3af0b5(0x116)]({viewClass:_0x2088f1='',spaceBetweenItems:_0x33bc4e=0x19}={}){const _0x50a1a2=_0x3af0b5;if(!y(this[_0x50a1a2(0xda)]))throw new _0x139f33(_0x50a1a2(0xf2),this);this[_0x50a1a2(0xda)][_0x50a1a2(0x11b)](this[_0x50a1a2(0xe2)][_0x50a1a2(0xfc)]),this[_0x50a1a2(0xe2)][_0x50a1a2(0x11d)]=_0x2088f1,this[_0x50a1a2(0x10c)]=_0x33bc4e;}[_0x3af0b5(0xd8)]({removedAnnotation:_0x207a45,previousAnnotation:_0x3d0ded,nextAnnotation:_0x22724a}){const _0x72c090=_0x3af0b5,_0x4d99b5=this[_0x72c090(0xd4)](_0x207a45);this[_0x72c090(0xe2)][_0x72c090(0x111)][_0x72c090(0x123)](_0x4d99b5),this[_0x72c090(0xf0)](_0x207a45),_0x3d0ded&&this[_0x72c090(0xe6)](this[_0x72c090(0xd4)](_0x3d0ded)),_0x22724a&&this[_0x72c090(0xe6)](this[_0x72c090(0xd4)](_0x22724a)),this[_0x72c090(0xf3)]();}[_0x3af0b5(0x109)]({blurredAnnotation:_0x19f448,activatedAnnotation:_0x2f05d6,disableAnimationOnActivatedAnnotation:_0x352111}){const _0x65a72a=_0x3af0b5;if(this[_0x65a72a(0x118)]=_0x2f05d6,_0x19f448){_0x19f448[_0x65a72a(0xde)]=!0x1;const _0x9c7b30=this[_0x65a72a(0xd4)](_0x19f448);_0x9c7b30&&_0x352111&&(_0x9c7b30[_0x65a72a(0xef)]=!0x1);}if(_0x2f05d6){const _0xabb291=this[_0x65a72a(0xd4)](_0x2f05d6);_0xabb291&&(_0x2f05d6[_0x65a72a(0xde)]=!0x0,_0x352111&&(_0xabb291[_0x65a72a(0xef)]=!0x0,_0xabb291[_0x65a72a(0x112)]+=0x1),this[_0x65a72a(0xe6)](_0xabb291));}}[_0x3af0b5(0x10e)](_0x5040d3){const _0x5da0c2=_0x3af0b5;if(this[_0x5da0c2(0xe2)][_0x5da0c2(0xfc)][_0x5da0c2(0x123)](),_0x5040d3){for(const _0x1122f6 of _0x5040d3)this[_0x5da0c2(0xf0)](_0x1122f6);}this[_0x5da0c2(0xe2)][_0x5da0c2(0x111)][_0x5da0c2(0x128)](),this[_0x5da0c2(0xe2)][_0x5da0c2(0x11d)]='',this[_0x5da0c2(0xeb)]=null;}[_0x3af0b5(0x12c)](_0x3e2cc9,_0x26d1df){const _0x1e60d3=_0x3af0b5;_0x26d1df||(_0x26d1df=_0x3e2cc9[_0x1e60d3(0xe2)]);const _0x1855e5=new _0x4bc72f(this[_0x1e60d3(0x11f)][_0x1e60d3(0x121)]);this[_0x1e60d3(0xf5)][_0x1e60d3(0x12d)](_0x1855e5,_0x3e2cc9),this[_0x1e60d3(0x120)][_0x1e60d3(0x12d)](_0x3e2cc9,_0x1855e5),_0x1855e5[_0x1e60d3(0x105)][_0x1e60d3(0x103)](_0x26d1df),this[_0x1e60d3(0xe3)](_0x3e2cc9[_0x1e60d3(0xe2)],_0x1e60d3(0xe5),(_0x19a9ee,_0x424679,_0x5029fc)=>{const _0x3f75a0=_0x1e60d3,_0x799d5c=this[_0x3f75a0(0x119)](_0x3e2cc9,_0x5029fc);_0x1855e5[_0x3f75a0(0xec)]!=_0x799d5c&&(_0x1855e5[_0x3f75a0(0xec)]=_0x799d5c,this[_0x3f75a0(0xd9)](_0x1855e5,_0x799d5c));}),this[_0x1e60d3(0xe3)](_0x1855e5,_0x1e60d3(0xed),()=>{const _0x307c43=_0x1e60d3;this[_0x307c43(0x10d)](_0x1855e5,_0x307c43(0x112));}),this[_0x1e60d3(0xe3)](_0x1855e5,_0x1e60d3(0xdb),()=>{const _0x3d1696=_0x1e60d3;this[_0x3d1696(0x10d)](_0x1855e5,_0x3d1696(0x113));}),this[_0x1e60d3(0xe6)](_0x1855e5);const _0x57ccc1=this[_0x1e60d3(0xee)](_0x1855e5);if(_0x57ccc1)this[_0x1e60d3(0xdf)](_0x57ccc1,_0x1855e5)||this[_0x1e60d3(0xe6)](_0x1855e5);else this[_0x1e60d3(0xe6)](_0x1855e5);return this[_0x1e60d3(0xf3)](),this[_0x1e60d3(0xe2)][_0x1e60d3(0x111)][_0x1e60d3(0x103)](_0x1855e5),_0x1855e5;}[_0x3af0b5(0xff)](_0x502527){const _0x3fb6b1=_0x3af0b5;if(!_0x502527[_0x3fb6b1(0x105)][_0x3fb6b1(0xd6)])return;const _0x54160a=this[_0x3fb6b1(0xee)](_0x502527);if(!_0x54160a)return;const _0x50ab7f=this[_0x3fb6b1(0xf5)][_0x3fb6b1(0x108)](_0x54160a),_0x12ed51=this[_0x3fb6b1(0x118)];_0x12ed51&&_0x12ed51===_0x50ab7f?this[_0x3fb6b1(0xdf)](_0x54160a,_0x502527):this[_0x3fb6b1(0x10f)](_0x502527,_0x54160a);}[_0x3af0b5(0x11a)](_0x3e0b8c){const _0x104531=_0x3af0b5;if(!_0x3e0b8c[_0x104531(0x105)][_0x104531(0xd6)])return;const _0x1cd9a1=this[_0x104531(0xfe)](_0x3e0b8c);if(!_0x1cd9a1)return;const _0x439271=this[_0x104531(0xf5)][_0x104531(0x108)](_0x1cd9a1),_0x509536=this[_0x104531(0x11f)][_0x104531(0xdc)][_0x104531(0x108)](_0x104531(0x122)),_0x3ff821=this[_0x104531(0x118)];_0x3ff821&&_0x3ff821===_0x439271&&_0x509536?(this[_0x104531(0x10f)](_0x1cd9a1,_0x3e0b8c),this[_0x104531(0xdf)](_0x3e0b8c,_0x1cd9a1)):_0x3ff821&&_0x3ff821===_0x439271?this[_0x104531(0x10f)](_0x1cd9a1,_0x3e0b8c):this[_0x104531(0xdf)](_0x3e0b8c,_0x1cd9a1);}[_0x3af0b5(0x10d)](_0x1681bf,_0x70f72d){const _0x565523=_0x3af0b5;0x0===this[_0x565523(0x102)][_0x565523(0xd6)]&&setTimeout(()=>{const _0x143c27=_0x565523;for(const {sidebarItemView:_0x18b318,changedProp:_0x1a3456}of this[_0x143c27(0x102)])_0x143c27(0x112)===_0x1a3456?this[_0x143c27(0xff)](_0x18b318):this[_0x143c27(0x11a)](_0x18b318);this[_0x143c27(0x102)]=[];},0xa),this[_0x565523(0x102)][_0x565523(0xea)]({'sidebarItemView':_0x1681bf,'changedProp':_0x70f72d});}[_0x3af0b5(0xd4)](_0x3fe4f1){const _0x40fe8d=_0x3af0b5;return this[_0x40fe8d(0x120)][_0x40fe8d(0x108)](_0x3fe4f1);}[_0x3af0b5(0xe0)](){const _0x1ecdd2=_0x3af0b5;this[_0x1ecdd2(0xe9)](),this[_0x1ecdd2(0xe2)][_0x1ecdd2(0xe0)]();}[_0x3af0b5(0xf0)](_0x3873c0){const _0x5a18d5=_0x3af0b5,_0x1b2d92=this[_0x5a18d5(0xd4)](_0x3873c0);this[_0x5a18d5(0xe9)](_0x1b2d92),this[_0x5a18d5(0xe9)](_0x3873c0[_0x5a18d5(0xe2)]),_0x1b2d92[_0x5a18d5(0xe0)](),this[_0x5a18d5(0x120)][_0x5a18d5(0x12e)](_0x3873c0),this[_0x5a18d5(0xf5)][_0x5a18d5(0x12e)](_0x1b2d92);}[_0x3af0b5(0xf8)](){const _0x5151d9=_0x3af0b5,_0x550599=new _0x195cc6(this[_0x5151d9(0x11f)][_0x5151d9(0x121)]);return _0x550599[_0x5151d9(0xe7)](),this['on'](_0x5151d9(0xe4),(_0x147401,_0x44a2bd,_0x201088,_0x5d295e)=>{const _0x1d56e3=_0x5151d9;_0x5d295e&&_0x550599[_0x1d56e3(0x11e)](_0x1d56e3(0xf4)),_0x201088?_0x550599[_0x1d56e3(0x125)](_0x1d56e3(0xf4))['to'](_0x201088,_0x1d56e3(0x113)):_0x550599[_0x1d56e3(0xf4)]=null;}),_0x550599;}[_0x3af0b5(0xf3)](){const _0x2d58cb=_0x3af0b5;var _0x439686;this[_0x2d58cb(0xeb)]=(null===(_0x439686=this[_0x2d58cb(0x10b)])||void 0x0===_0x439686?void 0x0:_0x439686[_0x2d58cb(0xf6)])?this[_0x2d58cb(0xd4)](this[_0x2d58cb(0x10b)][_0x2d58cb(0xf6)]):null;}[_0x3af0b5(0xee)](_0x1ed09c){const _0x1b315c=_0x3af0b5;var _0x9dffca;const _0x1ce059=this[_0x1b315c(0xf5)][_0x1b315c(0x108)](_0x1ed09c),_0x356a8e=_0x1ce059&&(null===(_0x9dffca=this[_0x1b315c(0x10b)])||void 0x0===_0x9dffca?void 0x0:_0x9dffca[_0x1b315c(0x108)](this[_0x1b315c(0x10b)][_0x1b315c(0xf9)](_0x1ce059)-0x1));return _0x356a8e&&this[_0x1b315c(0xd4)](_0x356a8e)||null;}[_0x3af0b5(0xfe)](_0x9688e4){const _0x5e8f88=_0x3af0b5;var _0x4856ba;const _0x223cd7=this[_0x5e8f88(0xf5)][_0x5e8f88(0x108)](_0x9688e4),_0x544ebd=_0x223cd7&&(null===(_0x4856ba=this[_0x5e8f88(0x10b)])||void 0x0===_0x4856ba?void 0x0:_0x4856ba[_0x5e8f88(0x108)](this[_0x5e8f88(0x10b)][_0x5e8f88(0xf9)](_0x223cd7)+0x1));return _0x544ebd&&this[_0x5e8f88(0xd4)](_0x544ebd)||null;}[_0x3af0b5(0x10f)](_0x8f0518,_0x311f14){const _0x8c4c2b=_0x3af0b5;_0x8f0518[_0x8c4c2b(0x101)]();const _0x1bc79d=R(_0x311f14[_0x8c4c2b(0x113)]+this[_0x8c4c2b(0x10c)],_0x8f0518[_0x8c4c2b(0x112)]);return!!_0x1bc79d&&(this[_0x8c4c2b(0xd9)](_0x311f14,_0x311f14[_0x8c4c2b(0x112)]-_0x1bc79d),!0x0);}[_0x3af0b5(0xdf)](_0x130be1,_0x45fd77){const _0x14e731=_0x3af0b5;_0x130be1[_0x14e731(0x101)]();const _0x5d1229=R(_0x130be1[_0x14e731(0x113)]+this[_0x14e731(0x10c)],_0x45fd77[_0x14e731(0x112)]);return!!_0x5d1229&&(this[_0x14e731(0xd9)](_0x45fd77,_0x45fd77[_0x14e731(0x112)]+_0x5d1229,!0x1),!0x0);}[_0x3af0b5(0xe6)](_0x47816a){const _0x4739c6=_0x3af0b5,_0x447f31=this[_0x4739c6(0xf5)][_0x4739c6(0x108)](_0x47816a);if(!_0x447f31||!_0x447f31[_0x4739c6(0x106)]||!_0x447f31[_0x4739c6(0x124)])return;const _0xfc5b65=this[_0x4739c6(0x119)](_0x447f31,_0x447f31[_0x4739c6(0x124)]);this[_0x4739c6(0xd9)](_0x47816a,_0xfc5b65);}[_0x3af0b5(0x119)](_0x33b58e,_0x17c9e7){const _0x27c780=_0x3af0b5;if(null===_0x17c9e7)return 0x0;if(_0x33b58e[_0x27c780(0x106)]instanceof _0x42d5d8)return _0x17c9e7[_0x27c780(0x112)];{const _0x3e3bf8=new _0x42d5d8(this[_0x27c780(0xe2)][_0x27c780(0xfc)])[_0x27c780(0x112)];return _0x17c9e7[_0x27c780(0x112)]-_0x3e3bf8;}}[_0x3af0b5(0xd9)](_0x22c1a4,_0x595f94,_0x3ffcc2=this[_0x3af0b5(0x11f)][_0x3af0b5(0xdc)][_0x3af0b5(0x108)](_0x3af0b5(0x122))){const _0x4dec33=_0x3af0b5;_0x3ffcc2&&(_0x595f94=Math[_0x4dec33(0xfd)](_0x595f94,this[_0x4dec33(0xd3)](_0x22c1a4))),_0x22c1a4[_0x4dec33(0x112)]=_0x595f94;}[_0x3af0b5(0xd3)](_0x360947){const _0x3df2dd=_0x3af0b5;let _0x20d01d=this[_0x3df2dd(0xee)](_0x360947),_0x477fc6=0x0;for(;_0x20d01d;)_0x20d01d[_0x3df2dd(0x101)](),_0x477fc6+=this[_0x3df2dd(0x10c)]+_0x20d01d[_0x3df2dd(0xd5)],_0x20d01d=this[_0x3df2dd(0xee)](_0x20d01d);return _0x477fc6;}}function R(_0x1b7888,_0xe2ac69){const _0xbaf68b=_0x3af0b5;return Math[_0xbaf68b(0xfd)](_0x1b7888-_0xe2ac69,0x0);}function y(_0x5a8dbe){const _0x3eb576=_0x3af0b5;return null!==_0x5a8dbe&&_0x3eb576(0x129)==typeof _0x5a8dbe&&0x1===_0x5a8dbe[_0x3eb576(0xfb)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4aa6(_0x47db84,_0x58182){const _0x30a83f=_0x30a8();return _0x4aa6=function(_0x4aa60d,_0x5a0aca){_0x4aa60d=_0x4aa60d-0x160;let _0x329e4c=_0x30a83f[_0x4aa60d];return _0x329e4c;},_0x4aa6(_0x47db84,_0x58182);}(function(_0x91c167,_0x301c82){const _0x48553b=_0x4aa6,_0x39eb9e=_0x91c167();while(!![]){try{const _0x456bd2=parseInt(_0x48553b(0x16d))/0x1*(parseInt(_0x48553b(0x173))/0x2)+parseInt(_0x48553b(0x178))/0x3*(-parseInt(_0x48553b(0x167))/0x4)+parseInt(_0x48553b(0x160))/0x5+-parseInt(_0x48553b(0x165))/0x6*(parseInt(_0x48553b(0x16b))/0x7)+parseInt(_0x48553b(0x174))/0x8*(parseInt(_0x48553b(0x16c))/0x9)+parseInt(_0x48553b(0x166))/0xa+-parseInt(_0x48553b(0x175))/0xb;if(_0x456bd2===_0x301c82)break;else _0x39eb9e['push'](_0x39eb9e['shift']());}catch(_0x25a43e){_0x39eb9e['push'](_0x39eb9e['shift']());}}}(_0x30a8,0xa07d3));import{ButtonView as _0x529901,View as _0x57be15}from'ckeditor5/src/ui.js';import _0x5939e4 from'../../../theme/icons/add-comment.svg';function _0x30a8(){const _0x5b0c44=['ck-annotation-counter__badge--edit-mode','extendTemplate','146GMQcOo','8xksADk','21299267PfdHgv','ck-annotation-counter','ck-annotation-counter__badge','822eODuRw','counterView','span','...','number','isDirty','ck-annotation-counter__badge--','2509460IWhDMv','_badge','bind','bindTemplate','icon','64122JeHwFo','5959980mSWVPU','2276ldgami','set','setTemplate','children','217hciSwf','10930518ubJyjX','10527vsSvRW','add','annotationType','toString'];_0x30a8=function(){return _0x5b0c44;};return _0x30a8();}export default class D extends _0x529901{constructor(_0x412440){const _0x2980a4=_0x4aa6;super(_0x412440);const _0xe95267=this[_0x2980a4(0x163)];this[_0x2980a4(0x168)](_0x2980a4(0x17d),!0x1),this[_0x2980a4(0x168)](_0x2980a4(0x17c),0x0),this[_0x2980a4(0x162)](_0x2980a4(0x161))['to'](this,_0x2980a4(0x17d),this,_0x2980a4(0x17c),(_0x36de91,_0x21b20f)=>_0x36de91?_0x2980a4(0x17b):_0x21b20f[_0x2980a4(0x170)]()),this[_0x2980a4(0x168)](_0x2980a4(0x16f),''),this[_0x2980a4(0x164)]=_0x5939e4,this[_0x2980a4(0x172)]({'attributes':{'class':[_0x2980a4(0x176)]}}),this[_0x2980a4(0x179)]=new _0x57be15(),this[_0x2980a4(0x179)][_0x2980a4(0x169)]({'tag':_0x2980a4(0x17a),'attributes':{'class':[_0x2980a4(0x177),_0xe95267['to'](_0x2980a4(0x16f),_0x2e3f90=>_0x2980a4(0x17e)+_0x2e3f90),_0xe95267['if'](_0x2980a4(0x17d),_0x2980a4(0x171))]},'children':[{'text':_0xe95267['to'](_0x2980a4(0x161))}]}),this[_0x2980a4(0x16a)][_0x2980a4(0x16e)](this[_0x2980a4(0x179)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x344d70=_0x5e81;function _0x240a(){const _0x1a4f22=['height','add','content','setTemplate','9441165wAmeLD','ck-annotation-wrapper--active','presentation','1236092yigTeP','listenTo','focus','mainView','11aJVAOH','Esc','isActive','bindTemplate','arrowup','ck-annotation-wrapper','1434573ZlvIzf','focusTracker','attach','detach','targetRect','div','clear','delegate','_mutationObserver','render','arrowdown','5635330cenCts','ck-rounded-corners','keystrokes','isDirty','length','first','createCollection','_updateHeight','element','fire','1847592PBjJDS','361866fjnErO','8zdkQVn','set','6bagmnm','clientHeight','type','destroy','8UDpCJo','1809936bLaxNN'];_0x240a=function(){return _0x1a4f22;};return _0x240a();}(function(_0x573a3c,_0x518dc5){const _0x281e76=_0x5e81,_0x469dd2=_0x573a3c();while(!![]){try{const _0xcca272=parseInt(_0x281e76(0xc6))/0x1+-parseInt(_0x281e76(0xd6))/0x2+parseInt(_0x281e76(0xce))/0x3*(-parseInt(_0x281e76(0xc7))/0x4)+parseInt(_0x281e76(0xd3))/0x5*(parseInt(_0x281e76(0xc9))/0x6)+parseInt(_0x281e76(0xe0))/0x7*(-parseInt(_0x281e76(0xcd))/0x8)+parseInt(_0x281e76(0xc5))/0x9+parseInt(_0x281e76(0xeb))/0xa*(parseInt(_0x281e76(0xda))/0xb);if(_0xcca272===_0x518dc5)break;else _0x469dd2['push'](_0x469dd2['shift']());}catch(_0x294c64){_0x469dd2['push'](_0x469dd2['shift']());}}}(_0x240a,0xf187f));import{View as _0x5ddc55}from'ckeditor5/src/ui.js';import{FocusTracker as _0x32c7c4,KeystrokeHandler as _0x1c061c,uid as _0x77ca4e}from'ckeditor5/src/utils.js';function _0x5e81(_0x3e7ced,_0x72914b){const _0x240a35=_0x240a();return _0x5e81=function(_0x5e81e2,_0x2a0ce9){_0x5e81e2=_0x5e81e2-0xc3;let _0x2a785d=_0x240a35[_0x5e81e2];return _0x2a785d;},_0x5e81(_0x3e7ced,_0x72914b);}import _0x138a92 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class T extends _0x5ddc55{constructor(_0x410f47,_0x66cc52){const _0xc8a1b5=_0x5e81;super(_0x410f47),this['id']=_0x77ca4e(),this[_0xc8a1b5(0xe1)]=new _0x32c7c4(),this[_0xc8a1b5(0xed)]=new _0x1c061c(),this[_0xc8a1b5(0xed)][_0xc8a1b5(0xc8)](_0xc8a1b5(0xdb),(_0x4f1c23,_0x26259e)=>this[_0xc8a1b5(0xc4)](_0xc8a1b5(0xdb),_0x26259e)),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xe4),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xcf),0x0),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xdc),!0x1),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xee),!0x1),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xef),0x0),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xcb),''),this[_0xc8a1b5(0xe8)]=_0x138a92(()=>this[_0xc8a1b5(0xf2)]()),this[_0xc8a1b5(0xd1)]=this[_0xc8a1b5(0xf1)](),this[_0xc8a1b5(0xd1)][_0xc8a1b5(0xe7)](_0xc8a1b5(0xde),_0xc8a1b5(0xea))['to'](this),this[_0xc8a1b5(0xd1)][_0xc8a1b5(0xd0)](_0x66cc52),this[_0xc8a1b5(0xd9)]=_0x66cc52;const _0xba2b4c=this[_0xc8a1b5(0xdd)];this[_0xc8a1b5(0xd2)]({'tag':_0xc8a1b5(0xe5),'attributes':{'class':['ck',_0xc8a1b5(0xdf),_0xc8a1b5(0xec),_0xba2b4c['if'](_0xc8a1b5(0xdc),_0xc8a1b5(0xd4))],'role':_0xc8a1b5(0xd5)},'children':this[_0xc8a1b5(0xd1)]});}[_0x344d70(0xe9)](){const _0x443a9e=_0x344d70;super[_0x443a9e(0xe9)](),this[_0x443a9e(0xe1)][_0x443a9e(0xd0)](this[_0x443a9e(0xc3)]),this[_0x443a9e(0xed)][_0x443a9e(0xd7)](this[_0x443a9e(0xc3)]),this[_0x443a9e(0xe8)][_0x443a9e(0xe2)](this[_0x443a9e(0xc3)]);}[_0x344d70(0xcc)](){const _0x589332=_0x344d70;this[_0x589332(0xd1)][_0x589332(0xe6)](),this[_0x589332(0xed)][_0x589332(0xcc)](),this[_0x589332(0xe1)][_0x589332(0xcc)](),this[_0x589332(0xe8)][_0x589332(0xe3)](),super[_0x589332(0xcc)]();}[_0x344d70(0xd8)](){const _0x2a7ec2=_0x344d70;this[_0x2a7ec2(0xd1)][_0x2a7ec2(0xf0)]&&this[_0x2a7ec2(0xd1)][_0x2a7ec2(0xf0)][_0x2a7ec2(0xd8)]();}[_0x344d70(0xf2)](){const _0x57b67c=_0x344d70,_0x27ef83=this[_0x57b67c(0xc3)][_0x57b67c(0xca)];_0x27ef83&&(this[_0x57b67c(0xcf)]=_0x27ef83);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x515e94=_0x5d8e;function _0x53b3(){const _0x27df22=['destroy','div','183bqaWng','top','ck-sidebar-item--no-animation','3037512nrYjRt','delegate','3866841GuInCV','content','createCollection','arrowup','bottom','_targetTop','5307315LNAZAC','isAnimationDisabled','detach','attach','30owDTrf','first','arrowdown','511584vkxRcA','height','bindTemplate','bind','1470321rUluRX','5936232cRjvdm','updateHeight','presentation','element','105SbWWey','set','focus','setTemplate','90268MdeRNu','clientHeight','clear','_mutationObserver','render','ck-sidebar-item'];_0x53b3=function(){return _0x27df22;};return _0x53b3();}(function(_0x5f33e6,_0x43f59e){const _0x1559ee=_0x5d8e,_0x3b64ef=_0x5f33e6();while(!![]){try{const _0xf6df96=-parseInt(_0x1559ee(0x175))/0x1+parseInt(_0x1559ee(0x162))/0x2+parseInt(_0x1559ee(0x15f))/0x3*(-parseInt(_0x1559ee(0x157))/0x4)+-parseInt(_0x1559ee(0x16a))/0x5+parseInt(_0x1559ee(0x176))/0x6+-parseInt(_0x1559ee(0x17a))/0x7*(-parseInt(_0x1559ee(0x171))/0x8)+-parseInt(_0x1559ee(0x164))/0x9*(-parseInt(_0x1559ee(0x16e))/0xa);if(_0xf6df96===_0x43f59e)break;else _0x3b64ef['push'](_0x3b64ef['shift']());}catch(_0x17c134){_0x3b64ef['push'](_0x3b64ef['shift']());}}}(_0x53b3,0xcf034));import{View as _0x3e3657}from'ckeditor5/src/ui.js';import{toUnit as _0x596887}from'ckeditor5/src/utils.js';function _0x5d8e(_0x3e68ba,_0x3dd438){const _0x53b35d=_0x53b3();return _0x5d8e=function(_0x5d8e12,_0x1e0fbb){_0x5d8e12=_0x5d8e12-0x156;let _0x57ac62=_0x53b35d[_0x5d8e12];return _0x57ac62;},_0x5d8e(_0x3e68ba,_0x3dd438);}import _0x522e3b from'../../utils/createmutationobserver.js';const qt=_0x596887('px');export default class H extends _0x3e3657{constructor(_0x1029b4){const _0x4858d6=_0x5d8e;super(_0x1029b4),this[_0x4858d6(0x17b)](_0x4858d6(0x160),0x0),this[_0x4858d6(0x17b)](_0x4858d6(0x172),0x0),this[_0x4858d6(0x174)](_0x4858d6(0x168))['to'](this,_0x4858d6(0x160),this,_0x4858d6(0x172),(_0x3dd482,_0x1764f5)=>_0x3dd482+_0x1764f5),this[_0x4858d6(0x17b)](_0x4858d6(0x16b),!0x1),this[_0x4858d6(0x15a)]=_0x522e3b(()=>this[_0x4858d6(0x177)]()),this[_0x4858d6(0x169)]=null,this[_0x4858d6(0x165)]=this[_0x4858d6(0x166)](),this[_0x4858d6(0x165)][_0x4858d6(0x163)](_0x4858d6(0x167),_0x4858d6(0x170))['to'](this);const _0x292a84=this[_0x4858d6(0x173)];this[_0x4858d6(0x156)]({'tag':_0x4858d6(0x15e),'attributes':{'class':[_0x4858d6(0x15c),_0x292a84['to'](_0x4858d6(0x16b),_0x513251=>_0x513251?_0x4858d6(0x161):'')],'style':{'top':_0x292a84['to'](_0x4858d6(0x160),_0x459670=>qt(_0x459670))},'role':_0x4858d6(0x178)},'children':this[_0x4858d6(0x165)]});}[_0x515e94(0x15b)](){const _0x39a839=_0x515e94;super[_0x39a839(0x15b)](),this[_0x39a839(0x15a)][_0x39a839(0x16d)](this[_0x39a839(0x179)]);}[_0x515e94(0x17c)](){const _0x15007a=_0x515e94;this[_0x15007a(0x165)][_0x15007a(0x16f)]&&this[_0x15007a(0x165)][_0x15007a(0x16f)][_0x15007a(0x17c)]();}[_0x515e94(0x177)](){const _0x5618d2=_0x515e94,_0x3a39f7=this[_0x5618d2(0x179)][_0x5618d2(0x158)];_0x3a39f7&&(this[_0x5618d2(0x172)]=_0x3a39f7);}[_0x515e94(0x15d)](){const _0x4b7836=_0x515e94;this[_0x4b7836(0x165)][_0x4b7836(0x159)](),this[_0x4b7836(0x15a)][_0x4b7836(0x16c)](),super[_0x4b7836(0x15d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9a6aa4=_0x34ee;(function(_0x116b99,_0x54a5e2){const _0x1a227e=_0x34ee,_0x5e0f49=_0x116b99();while(!![]){try{const _0xfe3362=parseInt(_0x1a227e(0x96))/0x1+parseInt(_0x1a227e(0xb9))/0x2*(parseInt(_0x1a227e(0xa3))/0x3)+-parseInt(_0x1a227e(0xc3))/0x4*(-parseInt(_0x1a227e(0xb0))/0x5)+-parseInt(_0x1a227e(0x94))/0x6+-parseInt(_0x1a227e(0xa6))/0x7+parseInt(_0x1a227e(0x9e))/0x8+-parseInt(_0x1a227e(0xac))/0x9;if(_0xfe3362===_0x54a5e2)break;else _0x5e0f49['push'](_0x5e0f49['shift']());}catch(_0x4759f6){_0x5e0f49['push'](_0x5e0f49['shift']());}}}(_0x4e74,0xb0247));import{View as _0x3e6ce4,FocusCycler as _0xb85016}from'ckeditor5/src/ui.js';function _0x4e74(){const _0x526763=['change:top','length','getIndex','_updateItemPositionInFocusables','list','2894668GHxCkN','_setupKeyboardNavigation','focusFirst','3408996aySmYC','render','172736TdyrcT','ck-sidebar','class','focus','uiLanguageDirection','minHeight','source','ck-reset','11138840LpRDEt','div','remove','focusNext','focusPrevious','1536PNUoxi','top','arrowup','5096420PWWAAo','application','createCollection','Annotations\x20sidebar','focusCycler','delegate','6250293UZQLUD','setTemplate','focusTracker','element','5nCtGrx','number','change','add','bindTemplate','forEach','Annotations\x20list','arrowdown','focusables','1654UFPKEl','set','listenTo','removed','added'];_0x4e74=function(){return _0x526763;};return _0x4e74();}import{FocusTracker as _0x5daf2d,toUnit as _0x124188}from'ckeditor5/src/utils.js';function _0x34ee(_0x440cfa,_0x3ee12b){const _0x4e74cd=_0x4e74();return _0x34ee=function(_0x34ee58,_0x2a6cb6){_0x34ee58=_0x34ee58-0x93;let _0x50cc84=_0x4e74cd[_0x34ee58];return _0x50cc84;},_0x34ee(_0x440cfa,_0x3ee12b);}import{getTranslation as _0x460a5e}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x124188('px');export default class V extends _0x3e6ce4{constructor(_0x8e467){const _0x5ed751=_0x34ee;super(_0x8e467);const _0x53e0f3=this[_0x5ed751(0xb4)];this[_0x5ed751(0xba)](_0x5ed751(0x9b),0x0),this[_0x5ed751(0xba)](_0x5ed751(0x98),''),this[_0x5ed751(0xc2)]=this[_0x5ed751(0xa8)](),this[_0x5ed751(0xb8)]=this[_0x5ed751(0xa8)](),this[_0x5ed751(0xc2)][_0x5ed751(0xab)](_0x5ed751(0xa5),_0x5ed751(0xb7))['to'](this),this[_0x5ed751(0xae)]=new _0x5daf2d(),this[_0x5ed751(0xaa)]=new _0xb85016({'focusables':this[_0x5ed751(0xb8)],'focusTracker':this[_0x5ed751(0xae)]}),this[_0x5ed751(0xad)]({'tag':_0x5ed751(0x9f),'attributes':{'class':['ck',_0x5ed751(0x97),_0x5ed751(0x9d),_0x53e0f3['to'](_0x5ed751(0x98))],'style':{'minHeight':_0x53e0f3['to'](_0x5ed751(0x9b),_0x335394=>_0x5ed751(0xb1)==typeof _0x335394?qt(_0x335394+0xa):null)},'dir':_0x8e467[_0x5ed751(0x9a)],'role':_0x5ed751(0xa7),'aria-label':_0x460a5e(_0x8e467,_0x5ed751(0xa9)),'tabindex':0x0},'children':[{'tag':_0x5ed751(0x9f),'attributes':{'role':_0x5ed751(0xc2),'aria-label':_0x460a5e(_0x8e467,_0x5ed751(0xb6))},'children':this[_0x5ed751(0xc2)]}]});}[_0x9a6aa4(0x95)](){const _0x1dbc72=_0x9a6aa4;super[_0x1dbc72(0x95)](),this[_0x1dbc72(0xc4)]();}[_0x9a6aa4(0x99)](){const _0x3561c1=_0x9a6aa4;this[_0x3561c1(0xaa)][_0x3561c1(0x93)]();}[_0x9a6aa4(0xc4)](){const _0x465a04=_0x9a6aa4;this[_0x465a04(0xc2)][_0x465a04(0xab)](_0x465a04(0xbe))['to'](this),this['on'](_0x465a04(0xbe),_0x1b7ee5=>{const _0x10a347=_0x465a04;this[_0x10a347(0xc1)](_0x1b7ee5[_0x10a347(0x9c)]);}),this[_0x465a04(0xc2)][_0x465a04(0xb5)](_0x1ac136=>{const _0x13dade=_0x465a04;this[_0x13dade(0xae)][_0x13dade(0xb3)](_0x1ac136[_0x13dade(0xaf)]),this[_0x13dade(0xc1)](_0x1ac136);}),this[_0x465a04(0xc2)]['on'](_0x465a04(0xb2),(_0x5aee71,_0x35292e)=>{const _0x36937f=_0x465a04;for(const _0x52ff53 of _0x35292e[_0x36937f(0xbc)])this[_0x36937f(0xae)][_0x36937f(0xa0)](_0x52ff53[_0x36937f(0xaf)]),this[_0x36937f(0xb8)][_0x36937f(0xa0)](_0x52ff53);for(const _0x53dfa1 of _0x35292e[_0x36937f(0xbd)])this[_0x36937f(0xae)][_0x36937f(0xb3)](_0x53dfa1[_0x36937f(0xaf)]),this[_0x36937f(0xc1)](_0x53dfa1);}),this['on'](_0x465a04(0xa5),()=>{const _0x36f72f=_0x465a04;this[_0x36f72f(0xaa)][_0x36f72f(0xa2)]();}),this['on'](_0x465a04(0xb7),()=>{const _0x550714=_0x465a04;this[_0x550714(0xaa)][_0x550714(0xa1)]();}),this[_0x465a04(0xbb)](this[_0x465a04(0xaf)],_0x465a04(0x99),()=>{const _0x1b3572=_0x465a04;this[_0x1b3572(0x99)]();});}[_0x9a6aa4(0xc1)](_0x4bc240){const _0x5e714e=_0x9a6aa4,_0x1808ca=this[_0x5e714e(0xb8)][_0x5e714e(0xc0)](_0x4bc240);let _0x478c5e,_0x5ea790;for(const _0x262abf of this[_0x5e714e(0xb8)])if(_0x4bc240[_0x5e714e(0xa4)]<_0x262abf[_0x5e714e(0xa4)]){_0x478c5e=_0x262abf;break;}if(_0x5ea790=_0x478c5e?this[_0x5e714e(0xb8)][_0x5e714e(0xc0)](_0x478c5e):this[_0x5e714e(0xb8)][_0x5e714e(0xbf)],-0x1!==_0x1808ca){if(_0x1808ca===_0x5ea790-0x1)return;this[_0x5e714e(0xb8)][_0x5e714e(0xa0)](_0x4bc240),_0x5ea790=_0x478c5e?this[_0x5e714e(0xb8)][_0x5e714e(0xc0)](_0x478c5e):this[_0x5e714e(0xb8)][_0x5e714e(0xbf)];}this[_0x5e714e(0xb8)][_0x5e714e(0xb3)](_0x4bc240,_0x5ea790);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1a26(_0x7e7903,_0x173548){const _0xcdbea5=_0xcdbe();return _0x1a26=function(_0x1a26eb,_0x5262af){_0x1a26eb=_0x1a26eb-0xd4;let _0x34f738=_0xcdbea5[_0x1a26eb];return _0x34f738;},_0x1a26(_0x7e7903,_0x173548);}const _0x4e44d8=_0x1a26;function _0xcdbe(){const _0x5adc0e=['isOfficialPlugin','2034036xVTIpj','_detachFromContainer','stop','_attachToContainer','plugins','requires','setActiveAnnotation','blur','context','3961548ZixHMa','10NidzTe','high','ck-sidebar--wide','focus','removeEventListener','uiUpdate','change:container','attach','isAttached','switchTo','listenTo','isPremiumPlugin','from','18065GyOqUd','updateTargetRect','cancel','refresh','detach','widesidebar-detach-not-attached','container','widesidebar-attach-already-attached','1303092Abppwy','resize','init','remove','5038320bEVSwb','activeAnnotation','pluginName','refreshPositioning','set','EditorAnnotations','getOrderedSelectedAnnotations','2LCPtkX','_activeAnnotation','_integrateWithEditorAnnotations','_editorAnnotations','13315887AhAsxA','_destroyEditorAnnotationsIntegration','editors','set:container','wideSidebar','hasDomSelection','register','has','get','_refreshPositioningDebounced','stopListening','WideSidebar','off','add','3307157DTyBxt','annotations','2154yCIzig','rearrange','_annotations','destroy','ready','addAnnotation','addEventListener'];_0xcdbe=function(){return _0x5adc0e;};return _0xcdbe();}(function(_0x848fcd,_0x34b15f){const _0x4b5513=_0x1a26,_0x8b4db4=_0x848fcd();while(!![]){try{const _0x22be9a=-parseInt(_0x4b5513(0xda))/0x1*(parseInt(_0x4b5513(0xe5))/0x2)+parseInt(_0x4b5513(0x10a))/0x3+-parseInt(_0x4b5513(0x101))/0x4+parseInt(_0x4b5513(0x118))/0x5*(-parseInt(_0x4b5513(0xf9))/0x6)+parseInt(_0x4b5513(0xf7))/0x7+parseInt(_0x4b5513(0xde))/0x8+parseInt(_0x4b5513(0xe9))/0x9*(parseInt(_0x4b5513(0x10b))/0xa);if(_0x22be9a===_0x34b15f)break;else _0x8b4db4['push'](_0x8b4db4['shift']());}catch(_0x1bc768){_0x8b4db4['push'](_0x8b4db4['shift']());}}}(_0xcdbe,0xc1c20));import{ContextPlugin as _0x4c71ab,Context as _0x5099ca}from'ckeditor5/src/core.js';import _0x5bed50 from'./annotationsuis.js';import _0x1b64c3 from'./sidebar.js';import{CKEditorError as _0x34d25d,Collection as _0x356637}from'ckeditor5/src/utils.js';import{debounce as _0x5a6996}from'lodash-es';export default class e extends _0x4c71ab{static get[_0x4e44d8(0x106)](){return[_0x1b64c3,_0x5bed50];}static get[_0x4e44d8(0xe0)](){const _0x5eefd2=_0x4e44d8;return _0x5eefd2(0xf4);}static get[_0x4e44d8(0x100)](){return!0x0;}static get[_0x4e44d8(0x116)](){return!0x0;}constructor(_0x7e4eb6){const _0x451b17=_0x4e44d8;super(_0x7e4eb6),this[_0x451b17(0x113)]=!0x1,this[_0x451b17(0xe2)](_0x451b17(0xdf),null),this[_0x451b17(0xf8)]=null,this[_0x451b17(0xe8)]=new _0x356637(),this[_0x451b17(0xf2)]=_0x5a6996(()=>{const _0x250e71=_0x451b17;this[_0x250e71(0xf8)][_0x250e71(0xe1)]();},0xfa,{'leading':!0x1});}[_0x4e44d8(0xdc)](){const _0x404b42=_0x4e44d8,_0x368f1f=this[_0x404b42(0x109)][_0x404b42(0x105)][_0x404b42(0xf1)](_0x5bed50),_0x189117=this[_0x404b42(0x109)][_0x404b42(0x105)][_0x404b42(0xf1)](_0x1b64c3);_0x368f1f[_0x404b42(0xef)](_0x404b42(0xed),this),_0x189117[_0x404b42(0xd8)]&&_0x368f1f[_0x404b42(0x114)](_0x404b42(0xed));}[_0x4e44d8(0x107)](_0x2a4ba0){const _0x36b0b3=_0x4e44d8;if(_0x2a4ba0===this[_0x36b0b3(0xdf)])return;const _0x190337=this[_0x36b0b3(0x109)][_0x36b0b3(0x105)][_0x36b0b3(0xf1)](_0x1b64c3);_0x190337[_0x36b0b3(0xe6)]=_0x2a4ba0;const _0x361541=this[_0x36b0b3(0xdf)];this[_0x36b0b3(0xdf)]=_0x2a4ba0,_0x190337[_0x36b0b3(0xd5)]({'blurredAnnotation':_0x361541,'activatedAnnotation':this[_0x36b0b3(0xdf)]});}[_0x4e44d8(0x112)](_0x1889d5){const _0x2a6c32=_0x4e44d8;this[_0x2a6c32(0xf8)]=_0x1889d5;const _0x5d0854=this[_0x2a6c32(0x109)][_0x2a6c32(0x105)][_0x2a6c32(0xf1)](_0x1b64c3);if(_0x5d0854[_0x2a6c32(0xfb)]=_0x1889d5,this[_0x2a6c32(0x113)])throw new _0x34d25d(_0x2a6c32(0xd9),this);this[_0x2a6c32(0x113)]=!0x0,this[_0x2a6c32(0x115)](_0x5d0854,_0x2a6c32(0xec),()=>{const _0x53f7ff=_0x2a6c32;this[_0x53f7ff(0xd6)](),this[_0x53f7ff(0x115)](_0x5d0854,_0x53f7ff(0x111),_0x5b1661=>{const _0x49ac1a=_0x53f7ff;_0x5b1661[_0x49ac1a(0xf5)](),this[_0x49ac1a(0x112)](_0x1889d5);});}),_0x5d0854[_0x2a6c32(0x104)]({'viewClass':_0x2a6c32(0x10d)});const _0x5b5e39=_0x40126b=>{const _0x4d95f0=_0x2a6c32;_0x40126b[_0x4d95f0(0x119)](),_0x5d0854[_0x4d95f0(0xfe)](_0x40126b);};for(const _0x560d3f of _0x1889d5)_0x5b5e39(_0x560d3f);this[_0x2a6c32(0x115)](_0x1889d5,_0x2a6c32(0xf6),(_0x3f15ac,_0x465b75)=>{_0x5b5e39(_0x465b75);}),this[_0x2a6c32(0x115)](_0x1889d5,_0x2a6c32(0xdd),(_0x4438dd,_0x2320d5,_0x520017)=>{const _0x87f82f=_0x2a6c32;_0x5d0854[_0x87f82f(0xfa)]({'removedAnnotation':_0x2320d5,'previousAnnotation':_0x1889d5[_0x87f82f(0xf1)](_0x520017-0x1),'nextAnnotation':_0x1889d5[_0x87f82f(0xf1)](_0x520017+0x1)}),_0x2320d5===this[_0x87f82f(0xdf)]&&this[_0x87f82f(0x107)](null);},{'priority':_0x2a6c32(0x10c)}),this[_0x2a6c32(0x115)](_0x1889d5,_0x2a6c32(0x10e),(_0x5d2d48,_0x4006fa)=>{const _0x40551e=_0x2a6c32;this[_0x40551e(0x107)](_0x4006fa);}),this[_0x2a6c32(0x115)](_0x1889d5,_0x2a6c32(0x108),()=>{const _0x5400b2=_0x2a6c32;this[_0x5400b2(0x107)](null);});const _0x25d117=this[_0x2a6c32(0x109)]instanceof _0x5099ca?this[_0x2a6c32(0x109)][_0x2a6c32(0xeb)]:new _0x356637([this[_0x2a6c32(0x109)]]);for(const _0x5dfcd5 of _0x25d117)this[_0x2a6c32(0xe7)](_0x5dfcd5);this[_0x2a6c32(0x115)](_0x25d117,_0x2a6c32(0xf6),(_0x4eeec4,_0x33751b)=>{const _0x4227ac=_0x2a6c32;this[_0x4227ac(0x115)](_0x33751b,_0x4227ac(0xfd),()=>{const _0x19e827=_0x4227ac;this[_0x19e827(0xe7)](_0x33751b);});}),this[_0x2a6c32(0x115)](_0x25d117,_0x2a6c32(0xdd),(_0x503f55,_0xaa0809)=>{const _0x35e89c=_0x2a6c32;_0xaa0809[_0x35e89c(0x105)][_0x35e89c(0xf0)](_0x35e89c(0xe3))&&this[_0x35e89c(0xea)](_0xaa0809[_0x35e89c(0x105)][_0x35e89c(0xf1)](_0x35e89c(0xe3)));}),window[_0x2a6c32(0xff)](_0x2a6c32(0xdb),this[_0x2a6c32(0xf2)]),this[_0x2a6c32(0xf8)][_0x2a6c32(0xe1)]();}[_0x4e44d8(0xd6)](){const _0x3cda3c=_0x4e44d8;if(!this[_0x3cda3c(0x113)])throw new _0x34d25d(_0x3cda3c(0xd7),this);this[_0x3cda3c(0x107)](null);const _0x3b695e=this[_0x3cda3c(0x109)][_0x3cda3c(0x105)][_0x3cda3c(0xf1)](_0x1b64c3);_0x3b695e[_0x3cda3c(0x102)](this[_0x3cda3c(0xf8)]),this[_0x3cda3c(0xf3)](_0x3b695e),this[_0x3cda3c(0xf3)](this[_0x3cda3c(0xf8)]),this[_0x3cda3c(0x109)]instanceof _0x5099ca&&this[_0x3cda3c(0xf3)](this[_0x3cda3c(0x109)][_0x3cda3c(0xeb)]);for(const _0x401a12 of Array[_0x3cda3c(0x117)](this[_0x3cda3c(0xe8)]))this[_0x3cda3c(0xea)](_0x401a12);window[_0x3cda3c(0x10f)](_0x3cda3c(0xdb),this[_0x3cda3c(0xf2)]),this[_0x3cda3c(0xf2)][_0x3cda3c(0xd4)](),this[_0x3cda3c(0xdf)]=null,this[_0x3cda3c(0x113)]=!0x1,this[_0x3cda3c(0xf8)]=null;}[_0x4e44d8(0xfc)](){const _0x4f5de8=_0x4e44d8;this[_0x4f5de8(0x113)]&&this[_0x4f5de8(0xd6)]();}[_0x4e44d8(0xe7)](_0x114482){const _0xe28229=_0x4e44d8;if(!_0x114482[_0xe28229(0x105)][_0xe28229(0xf0)](_0xe28229(0xe3)))return;const _0xec6f6d=_0x114482[_0xe28229(0x105)][_0xe28229(0xf1)](_0xe28229(0xe3)),_0x2abc96=()=>{const _0x2676bc=_0xe28229,_0xcac2ee=_0xec6f6d[_0x2676bc(0xe4)]({'annotations':this[_0x2676bc(0xf8)],'activeAnnotation':this[_0x2676bc(0xdf)]});this[_0x2676bc(0x107)](_0xcac2ee[0x0]||null);};this[_0xe28229(0x115)](_0xec6f6d,_0xe28229(0xd5),_0x2abc96),this[_0xe28229(0x115)](_0xec6f6d,_0xe28229(0x108),(_0x342019,{isAnnotationTracked:_0xcdd2d})=>{const _0x105e6b=_0xe28229;this[_0x105e6b(0xdf)]&&_0xcdd2d(this[_0x105e6b(0xdf)])&&this[_0x105e6b(0x107)](null);}),this[_0xe28229(0x115)](_0xec6f6d,_0xe28229(0x110),()=>{const _0xdcd06e=_0xe28229;this[_0xdcd06e(0xf2)]();}),this[_0xe28229(0x115)](this[_0xe28229(0xf8)],_0xe28229(0x108),_0x57c94b=>{const _0x27175c=_0xe28229;_0xec6f6d[_0x27175c(0xee)]()&&(_0x2abc96(),_0x57c94b[_0x27175c(0x103)]());},{'priority':_0xe28229(0x10c)}),this[_0xe28229(0xe8)][_0xe28229(0xf6)](_0xec6f6d);}[_0x4e44d8(0xea)](_0x3e9411){const _0x170cfb=_0x4e44d8;this[_0x170cfb(0xf3)](_0x3e9411),this[_0x170cfb(0xe8)][_0x170cfb(0xdd)](_0x3e9411);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b69ca=_0x1525;(function(_0x2561a5,_0x3c3ae3){const _0x3297bb=_0x1525,_0x150b45=_0x2561a5();while(!![]){try{const _0x2fbbe5=-parseInt(_0x3297bb(0xfb))/0x1*(parseInt(_0x3297bb(0x103))/0x2)+parseInt(_0x3297bb(0x105))/0x3+parseInt(_0x3297bb(0xfc))/0x4*(-parseInt(_0x3297bb(0x101))/0x5)+parseInt(_0x3297bb(0xfe))/0x6+parseInt(_0x3297bb(0xec))/0x7+parseInt(_0x3297bb(0xe9))/0x8+parseInt(_0x3297bb(0xf9))/0x9*(-parseInt(_0x3297bb(0xf2))/0xa);if(_0x2fbbe5===_0x3c3ae3)break;else _0x150b45['push'](_0x150b45['shift']());}catch(_0x1f4e16){_0x150b45['push'](_0x150b45['shift']());}}}(_0x39a6,0x62c85));import{Command as _0x2307c8}from'ckeditor5/src/core.js';function _0x1525(_0x521186,_0x47cfa2){const _0x39a6a0=_0x39a6();return _0x1525=function(_0x15251c,_0x4559da){_0x15251c=_0x15251c-0xe0;let _0x4d6473=_0x39a6a0[_0x15251c];return _0x4d6473;},_0x1525(_0x521186,_0x47cfa2);}import{uid as _0x4917bb}from'ckeditor5/src/utils.js';function _0x39a6(){const _0x49769a=['end','_trimToContent','1472512TFCwQn','comment:','document','660569KawkwL','item','element','isEnabled','isObject','_hasContent','1480EvhgJI','schema','model','getRanges','substr','$textProxy','tableCell','9495DxRLwQ','push','540194gyFtSc','720wNvUav','refresh','4514460bDJzHO','editor','start','6995rpTxaD','_itemIsContent','2DIUjLu','createRange','965778mXRoho','getItems','backward','change','getLastMatchingPosition','addMarker','execute','selection'];_0x39a6=function(){return _0x49769a;};return _0x39a6();}export default class J extends _0x2307c8{[_0x5b69ca(0xfd)](){const _0x10ea96=_0x5b69ca,_0x57859c=this[_0x10ea96(0xff)][_0x10ea96(0xf4)][_0x10ea96(0xeb)][_0x10ea96(0xe6)];for(const _0x2f49c4 of _0x57859c[_0x10ea96(0xf5)]())if(this[_0x10ea96(0xf1)](_0x2f49c4))return void(this[_0x10ea96(0xef)]=!0x0);this[_0x10ea96(0xef)]=!0x1;}[_0x5b69ca(0xe5)]({threadId:_0x4fc551=_0x4917bb()}={}){const _0x40d774=_0x5b69ca,_0x126415=this[_0x40d774(0xff)][_0x40d774(0xf4)],_0x28227b=[];for(const _0x38503e of _0x126415[_0x40d774(0xeb)][_0x40d774(0xe6)][_0x40d774(0xf5)]())this[_0x40d774(0xf1)](_0x38503e)&&_0x28227b[_0x40d774(0xfa)](this[_0x40d774(0xe8)](_0x38503e));_0x126415[_0x40d774(0xe2)](_0x403c0c=>{const _0x131841=_0x40d774;for(const _0x2c0731 of _0x28227b){const _0x37983f=_0x4917bb()[_0x131841(0xf6)](0x1,0x5),_0x5194ea=_0x131841(0xea)+_0x4fc551+':'+_0x37983f;_0x403c0c[_0x131841(0xe4)](_0x5194ea,{'range':_0x2c0731,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5b69ca(0xf1)](_0x15ae86){const _0x58ef09=_0x5b69ca;for(const _0x4a24d1 of _0x15ae86[_0x58ef09(0xe0)]())if(this[_0x58ef09(0x102)](_0x4a24d1))return!0x0;return!0x1;}[_0x5b69ca(0x102)](_0x24805c){const _0x1e28ba=_0x5b69ca;return _0x24805c['is'](_0x1e28ba(0xf7))||this[_0x1e28ba(0xff)][_0x1e28ba(0xf4)][_0x1e28ba(0xf3)][_0x1e28ba(0xf0)](_0x24805c)&&!_0x24805c['is'](_0x1e28ba(0xee),_0x1e28ba(0xf8));}[_0x5b69ca(0xe8)](_0x2fa2bb){const _0x151502=_0x5b69ca,_0x50c33f=_0x32221d=>!this[_0x151502(0x102)](_0x32221d[_0x151502(0xed)]),_0x35b94b=_0x2fa2bb[_0x151502(0x100)][_0x151502(0xe3)](_0x50c33f),_0x790448=_0x2fa2bb[_0x151502(0xe7)][_0x151502(0xe3)](_0x50c33f,{'direction':_0x151502(0xe1)});return this[_0x151502(0xff)][_0x151502(0xf4)][_0x151502(0x104)](_0x35b94b,_0x790448);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x126435=_0x5839;(function(_0x1458af,_0x5f53d5){const _0x2781fd=_0x5839,_0x685fbf=_0x1458af();while(!![]){try{const _0x2ad62b=parseInt(_0x2781fd(0xb7))/0x1*(-parseInt(_0x2781fd(0xaf))/0x2)+-parseInt(_0x2781fd(0xc7))/0x3+-parseInt(_0x2781fd(0xbe))/0x4+parseInt(_0x2781fd(0xcc))/0x5+parseInt(_0x2781fd(0xac))/0x6+parseInt(_0x2781fd(0xb3))/0x7+parseInt(_0x2781fd(0xa9))/0x8;if(_0x2ad62b===_0x5f53d5)break;else _0x685fbf['push'](_0x685fbf['shift']());}catch(_0x44e26a){_0x685fbf['push'](_0x685fbf['shift']());}}}(_0x2372,0x329f9));import{ContextPlugin as _0x632c67}from'ckeditor5/src/core.js';import{Collection as _0x17bcbc}from'ckeditor5/src/utils.js';function _0x2372(){const _0x2bb27d=['678940LEkcyS','add','2876200RmXANE','has','listenTo','646698hBlvNq','get','collection','16HOfItc','init','pluginName','focus','1748019JfXbbe','isPremiumPlugin','getCommentThread','isVisible','5527lbXTLc','removeCommentThread','length','change:archivedAt','requires','CommentsArchive','isActive','1018372AYQLlv','plugins','_calculatePosition','archivedAt','highest','stopListening','activate','remove','archivedThreads','1039953KvpjWr','isOfficialPlugin','addCommentThread','context','findIndex'];_0x2372=function(){return _0x2bb27d;};return _0x2372();}import _0x2423af from'./commentsrepository.js';function _0x5839(_0x1916d8,_0x536ab2){const _0x2372cf=_0x2372();return _0x5839=function(_0x58392b,_0x102d26){_0x58392b=_0x58392b-0xa8;let _0x576672=_0x2372cf[_0x58392b];return _0x576672;},_0x5839(_0x1916d8,_0x536ab2);}import _0x2ac678 from'../annotations/annotations.js';export default class f extends _0x632c67{static get[_0x126435(0xb1)](){const _0x2b48f8=_0x126435;return _0x2b48f8(0xbc);}static get[_0x126435(0xc8)](){return!0x0;}static get[_0x126435(0xb4)](){return!0x0;}static get[_0x126435(0xbb)](){return[_0x2423af,_0x2ac678];}constructor(_0x2cf981){const _0x77c39=_0x126435;super(_0x2cf981),this[_0x77c39(0xc6)]=new _0x17bcbc();}[_0x126435(0xb0)](){const _0x233bcc=_0x126435,_0xff5a32=this[_0x233bcc(0xca)],_0x3f7851=_0xff5a32[_0x233bcc(0xbf)][_0x233bcc(0xad)](_0x2423af),_0x454781=_0xff5a32[_0x233bcc(0xbf)][_0x233bcc(0xad)](_0x2ac678);this[_0x233bcc(0xab)](_0x3f7851,_0x233bcc(0xc9),(_0x57b114,{threadId:_0x34ed1c})=>{const _0x3a5a31=_0x233bcc,_0x5abb9f=_0x3f7851[_0x3a5a31(0xb5)](_0x34ed1c);_0x5abb9f[_0x3a5a31(0xc1)]&&this[_0x3a5a31(0xc6)][_0x3a5a31(0xa8)](_0x5abb9f,this[_0x3a5a31(0xc0)](_0x5abb9f[_0x3a5a31(0xc1)])),this[_0x3a5a31(0xab)](_0x5abb9f,_0x3a5a31(0xba),(_0xe196a9,_0x14b125,_0x56603d)=>{const _0x566515=_0x3a5a31;_0x56603d?this[_0x566515(0xc6)][_0x566515(0xaa)](_0x5abb9f)||this[_0x566515(0xc6)][_0x566515(0xa8)](_0x5abb9f,this[_0x566515(0xc0)](_0x5abb9f[_0x566515(0xc1)])):this[_0x566515(0xc6)][_0x566515(0xaa)](_0x5abb9f)&&this[_0x566515(0xc6)][_0x566515(0xc5)](_0x5abb9f);});}),this[_0x233bcc(0xab)](_0x3f7851,_0x233bcc(0xb8),(_0x3c463b,{threadId:_0x5731b5})=>{const _0x13519f=_0x233bcc,_0x3e00d7=_0x3f7851[_0x13519f(0xb5)](_0x5731b5);this[_0x13519f(0xc3)](_0x3e00d7),this[_0x13519f(0xc6)][_0x13519f(0xaa)](_0x3e00d7)&&this[_0x13519f(0xc6)][_0x13519f(0xc5)](_0x3e00d7);},{'priority':_0x233bcc(0xc2)}),this[_0x233bcc(0xab)](_0x454781[_0x233bcc(0xae)],_0x233bcc(0xb2),(_0x132ba0,_0x23f4ae)=>{const _0x37db5=_0x233bcc;_0x23f4ae[_0x37db5(0xb6)]||(_0x23f4ae[_0x37db5(0xbd)]=!0x0,_0x454781[_0x37db5(0xc4)](_0x23f4ae));});}[_0x126435(0xc0)](_0x5b0231){const _0x236e9b=_0x126435,_0x2a4e9b=[...this[_0x236e9b(0xc6)]][_0x236e9b(0xcb)](_0x5fd4d8=>_0x5fd4d8[_0x236e9b(0xc1)]<_0x5b0231);return _0x2a4e9b>-0x1?_0x2a4e9b:this[_0x236e9b(0xc6)][_0x236e9b(0xb9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x7397(_0x502fde,_0x1bcfd9){const _0x49d33c=_0x49d3();return _0x7397=function(_0x7397e6,_0x518561){_0x7397e6=_0x7397e6-0xeb;let _0x1070e0=_0x49d33c[_0x7397e6];return _0x1070e0;},_0x7397(_0x502fde,_0x1bcfd9);}const _0x4076b7=_0x7397;function _0x49d3(){const _0x167bfa=['isVisible','annotationViews','CommentsArchiveUI','config','filter','stopListening','CommentsRepository','EDITOR_TOP_SIDE','has','length','isEnabled','get','_visibleAnnotations','view','init','_threadToController','findIndex','execute','9vdDast','tooltip','requires','_hideDialogOnAnnotationEscape','stop','source','Dialog','commentsArchiveView','focusableElements','channelId','4687422YlpBGf','947673UYPXiy','_calculatePosition','add','commentsArchive','archivedAt','7903500fdLPxF','108Qlyxui','isPremiumPlugin','isOfficialPlugin','listenTo','set','isOpen','push','_createCommentsArchiveButton','escape','getByInnerView','archivedThreads','collaboration.channelId','bind','7000530vQOzse','collection','hide','isOn','menuBar:commentsArchive','6433528MFgzye','Annotations','menuitemcheckbox','3866951ipCNuW','splice','innerView','show','_pendingThreads','20yNhEQR','editor','267566ASeobY','indexOf','7SmIDTI','COMMENTS_ARCHIVE','remove','_toggleDialog','plugins','pluginName','2oHAoFY','find','locale','componentFactory'];_0x49d3=function(){return _0x167bfa;};return _0x49d3();}(function(_0x3fe9a7,_0x5efab6){const _0x37787d=_0x7397,_0x5ed71c=_0x3fe9a7();while(!![]){try{const _0x34252c=-parseInt(_0x37787d(0xfd))/0x1*(-parseInt(_0x37787d(0x105))/0x2)+parseInt(_0x37787d(0x126))/0x3*(parseInt(_0x37787d(0xfb))/0x4)+parseInt(_0x37787d(0x12b))/0x5+-parseInt(_0x37787d(0x125))/0x6*(-parseInt(_0x37787d(0xff))/0x7)+parseInt(_0x37787d(0xf3))/0x8*(-parseInt(_0x37787d(0x11b))/0x9)+parseInt(_0x37787d(0xee))/0xa+-parseInt(_0x37787d(0xf6))/0xb*(parseInt(_0x37787d(0x12c))/0xc);if(_0x34252c===_0x5efab6)break;else _0x5ed71c['push'](_0x5ed71c['shift']());}catch(_0x39069f){_0x5ed71c['push'](_0x5ed71c['shift']());}}}(_0x49d3,0xe5b97));import'../../theme/commentsarchive.css';import{Plugin as _0x42d550}from'ckeditor5/src/core.js';import{ViewCollection as _0x28712,MenuBarMenuListItemButtonView as _0x473bc9,ButtonView as _0x2d5c41,Dialog as _0x5626cd,DialogViewPosition as _0x61cf0e}from'ckeditor5/src/ui.js';import _0x43acf7 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x4f5830}from'../utils/common-translations.js';import _0x560793 from'./ui/view/commentsarchiveview.js';import _0xf5af9a from'./commentsarchive.js';export default class a extends _0x42d550{static get[_0x4076b7(0x104)](){const _0x34b742=_0x4076b7;return _0x34b742(0x10b);}static get[_0x4076b7(0x12e)](){return!0x0;}static get[_0x4076b7(0x12d)](){return!0x0;}static get[_0x4076b7(0x11d)](){return[_0xf5af9a,_0x5626cd];}constructor(_0x3a2c18){const _0x451e3d=_0x4076b7;super(_0x3a2c18),this[_0x451e3d(0x11e)]=_0xd11991=>{const _0x2ef87e=_0x451e3d,_0x1dc3c7=_0xd11991[_0x2ef87e(0x120)];if(!this[_0x2ef87e(0x10a)][_0x2ef87e(0x111)](_0x1dc3c7[_0x2ef87e(0x116)]))return;const _0x3deb7d=this[_0x2ef87e(0xfc)][_0x2ef87e(0x103)][_0x2ef87e(0x114)](_0x2ef87e(0x121));_0x3deb7d[_0x2ef87e(0x131)]&&_0x2ef87e(0x129)===_0x3deb7d['id']&&(_0x3deb7d[_0x2ef87e(0xf0)](),_0xd11991[_0x2ef87e(0x11f)]());},this[_0x451e3d(0x10a)]=new _0x28712(),this[_0x451e3d(0xfa)]=[];}[_0x4076b7(0x117)](){const _0x149da1=_0x4076b7,_0x4dc26e=this[_0x149da1(0xfc)],_0x5e5c6f=this[_0x149da1(0x11e)][_0x149da1(0xed)](this);_0x4dc26e['ui'][_0x149da1(0x108)][_0x149da1(0x128)](_0x149da1(0x129),()=>this[_0x149da1(0x133)](_0x2d5c41,!0x0)),_0x4dc26e['ui'][_0x149da1(0x108)][_0x149da1(0x128)](_0x149da1(0xf2),()=>{const _0x27fef4=_0x149da1,_0x297c11=this[_0x27fef4(0x133)](_0x473bc9);return _0x297c11[_0x27fef4(0x130)]({'role':_0x27fef4(0xf5)}),_0x297c11;});const _0x3c537f=_0x4dc26e[_0x149da1(0x103)][_0x149da1(0x114)](_0xf5af9a),_0x300a22=_0x4dc26e[_0x149da1(0x103)][_0x149da1(0x114)](_0x149da1(0xf4)),_0x3ded6e=_0x4dc26e[_0x149da1(0x103)][_0x149da1(0x114)](_0x149da1(0x10f));this[_0x149da1(0x12f)](_0x3c537f[_0x149da1(0xeb)],_0x149da1(0x128),(_0x437fa0,_0x2de8d2)=>{const _0x2e7cc0=_0x149da1,_0x24c90f=_0x4dc26e[_0x2e7cc0(0x10c)][_0x2e7cc0(0x114)](_0x2e7cc0(0xec));if(!_0x24c90f||_0x2de8d2[_0x2e7cc0(0x124)]===_0x24c90f){const _0x3ed676=_0x3ded6e[_0x2e7cc0(0x118)][_0x2e7cc0(0x114)](_0x2de8d2);if(!_0x3ed676)return void this[_0x2e7cc0(0xfa)][_0x2e7cc0(0x132)](_0x2de8d2);const _0x3f407f=this[_0x2e7cc0(0x127)](_0x2de8d2[_0x2e7cc0(0x12a)]),_0x22ba67=_0x300a22[_0x2e7cc0(0x135)](_0x3ed676[_0x2e7cc0(0x116)]);_0x22ba67[_0x2e7cc0(0x109)]&&_0x300a22[_0x2e7cc0(0x115)][_0x2e7cc0(0x101)](_0x22ba67),this[_0x2e7cc0(0x10a)][_0x2e7cc0(0x128)](_0x22ba67[_0x2e7cc0(0x116)],_0x3f407f);}}),this[_0x149da1(0x12f)](_0x300a22[_0x149da1(0xef)],_0x149da1(0x128),(_0x289d51,_0x815fcf)=>{const _0x114459=_0x149da1,_0xb0a4a3=this[_0x114459(0xfa)][_0x114459(0x106)](_0x43d52c=>{const _0x4c39e6=_0x114459,_0x2b61e4=_0x3ded6e[_0x4c39e6(0x118)][_0x4c39e6(0x114)](_0x43d52c);return _0x2b61e4&&_0x815fcf[_0x4c39e6(0xf8)]===_0x2b61e4[_0x4c39e6(0x116)];});if(_0xb0a4a3){const _0x4f1a74=this[_0x114459(0x127)](_0xb0a4a3[_0x114459(0x12a)]);this[_0x114459(0x10a)][_0x114459(0x128)](_0x815fcf[_0x114459(0x116)],_0x4f1a74),this[_0x114459(0xfa)][_0x114459(0xf7)](this[_0x114459(0xfa)][_0x114459(0xfe)](_0xb0a4a3),0x1);}}),this[_0x149da1(0x12f)](_0x3c537f[_0x149da1(0xeb)],_0x149da1(0x101),(_0xe31739,_0x21cde1)=>{const _0x3aa778=_0x149da1,_0xc2ac5b=_0x4dc26e[_0x3aa778(0x10c)][_0x3aa778(0x114)](_0x3aa778(0xec));if(!_0xc2ac5b||_0x21cde1[_0x3aa778(0x124)]===_0xc2ac5b){const _0x5cd644=_0x3ded6e[_0x3aa778(0x118)][_0x3aa778(0x114)](_0x21cde1),_0x52d8c0=_0x300a22[_0x3aa778(0x135)](_0x5cd644[_0x3aa778(0x116)]);this[_0x3aa778(0x10a)][_0x3aa778(0x101)](_0x52d8c0[_0x3aa778(0x116)]),this[_0x3aa778(0x10e)](_0x52d8c0[_0x3aa778(0x123)]);}}),this[_0x149da1(0x12f)](_0x300a22[_0x149da1(0xef)],_0x149da1(0x128),(_0x462f40,_0x42a4da)=>{const _0x2b20dd=_0x149da1;this[_0x2b20dd(0x12f)](_0x42a4da,_0x2b20dd(0x134),_0x5e5c6f);}),this[_0x149da1(0x12f)](_0x300a22[_0x149da1(0xef)],_0x149da1(0x101),(_0x70e0b6,_0x5ea3f1)=>{const _0x506e24=_0x149da1;this[_0x506e24(0x10e)](_0x5ea3f1,_0x506e24(0x134),_0x5e5c6f);});}[_0x4076b7(0x127)](_0x4b4d75){const _0x28bb1=_0x4076b7,_0x1a5286=this[_0x28bb1(0xfc)][_0x28bb1(0x10c)][_0x28bb1(0x114)](_0x28bb1(0xec)),_0x2d5b12=[...this[_0x28bb1(0xfc)][_0x28bb1(0x103)][_0x28bb1(0x114)](_0xf5af9a)[_0x28bb1(0xeb)]][_0x28bb1(0x10d)](_0xb222e1=>_0xb222e1[_0x28bb1(0x124)]===_0x1a5286)[_0x28bb1(0x119)](_0x138444=>_0x138444[_0x28bb1(0x12a)]<_0x4b4d75);return _0x2d5b12<0x0||_0x2d5b12>this[_0x28bb1(0x10a)][_0x28bb1(0x112)]?this[_0x28bb1(0x10a)][_0x28bb1(0x112)]:_0x2d5b12-0x1;}[_0x4076b7(0x102)](){const _0x82f88=_0x4076b7,_0x3b67f4=this[_0x82f88(0xfc)],_0x5750ab=_0x3b67f4[_0x82f88(0x103)][_0x82f88(0x114)](_0x82f88(0x121));this[_0x82f88(0x122)]||(this[_0x82f88(0x122)]=new _0x560793(_0x3b67f4[_0x82f88(0x107)],this[_0x82f88(0x10a)])),_0x82f88(0x129)===_0x5750ab['id']?_0x5750ab[_0x82f88(0xf0)]():_0x5750ab[_0x82f88(0xf9)]({'id':_0x82f88(0x129),'title':_0x4f5830(_0x3b67f4[_0x82f88(0x107)],_0x82f88(0x100)),'icon':_0x43acf7,'hasCloseButton':!0x0,'content':this[_0x82f88(0x122)],'position':_0x61cf0e[_0x82f88(0x110)]});}[_0x4076b7(0x133)](_0x3b79ab,_0x49ba67=!0x1){const _0x287ddc=_0x4076b7,_0x502654=this[_0x287ddc(0xfc)][_0x287ddc(0x107)],_0x1ee654=this[_0x287ddc(0xfc)][_0x287ddc(0x103)][_0x287ddc(0x114)](_0x287ddc(0x121)),_0x30ab1d=new _0x3b79ab(_0x502654);return _0x30ab1d[_0x287ddc(0xed)](_0x287ddc(0x113))['to'](this,_0x287ddc(0x113)),_0x30ab1d[_0x287ddc(0xed)](_0x287ddc(0xf1))['to'](_0x1ee654,'id',_0x5754d4=>_0x287ddc(0x129)===_0x5754d4),_0x30ab1d[_0x287ddc(0x130)]({'label':_0x4f5830(_0x502654,_0x287ddc(0x100)),'icon':_0x43acf7,'isToggleable':!0x0}),_0x49ba67&&(_0x30ab1d[_0x287ddc(0x11c)]=!0x0),this[_0x287ddc(0x12f)](_0x30ab1d,_0x287ddc(0x11a),()=>this[_0x287ddc(0x102)]()),_0x30ab1d;}}
|
|
@@ -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 _0xfba7c9=_0x1c1f;(function(_0x3139d6,_0x17eb62){const _0x35072c=_0x1c1f,_0x58e551=_0x3139d6();while(!![]){try{const _0x21f15b=parseInt(_0x35072c(0x14e))/0x1*(parseInt(_0x35072c(0x13a))/0x2)+-parseInt(_0x35072c(0xf6))/0x3*(parseInt(_0x35072c(0xfe))/0x4)+parseInt(_0x35072c(0x142))/0x5+-parseInt(_0x35072c(0x15f))/0x6+-parseInt(_0x35072c(0xe3))/0x7*(-parseInt(_0x35072c(0x11b))/0x8)+parseInt(_0x35072c(0x161))/0x9*(-parseInt(_0x35072c(0x14a))/0xa)+parseInt(_0x35072c(0xef))/0xb*(parseInt(_0x35072c(0x129))/0xc);if(_0x21f15b===_0x17eb62)break;else _0x58e551['push'](_0x58e551['shift']());}catch(_0x8d936e){_0x58e551['push'](_0x58e551['shift']());}}}(_0x5942,0x1bafc));import{Plugin as _0x46f0e3}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x5deeec,scrollViewportToShowTarget as _0x2be984}from'ckeditor5/src/utils.js';import _0x115781 from'./commentsrepository.js';function _0x5942(){const _0x387a92=['affectsData','destroy','416QObsRV','name','root','model','refreshVisibility','_initializeMarkerConverters','getAttribute','state','plugins','ENTER_COMMENT_ANNOUNCEMENT','getWalker','_threadToController','start','split','_threads','isPremiumPlugin','editingDowncast','hasMarkerForId','createRange','context','group','upcast','markers','_reconvertMarkers','getChangedMarkers','listenTo','ariaLiveAnnouncer','destroyed','dataToMarker','184xflKxl','CommentsEditing','document','_initAriaMarkerChangeAnnouncements','elementToElement','consume','isEqual','_attachArchivedThread','requires','data','_detachCommentThread','openNewCommentThread','rootName','commands','794532PltYZG','isLocal','createPositionBefore','editing','change','_attachMarkerToThread','removeCommentThread','markerName','hasCommentThread','isOfficialPlugin','isResolved','size','end','_handleThreadMarker','isThreadsLoadingPaused','addMarker:','fetchCommentThread','24ZAWONe','$graveyard','differ','for','conversion','comments','text','removeMarker:','393840DyUaKc','change:activeMarker','getRange','setContext','removeMarker','setUnlinkedAt','scrollToThreadMarker','getByInnerView','1670270MaMbQo','updateMarker','config','then','6082TayfAv','add','_hasTargetInContent','locale','ck-comment-marker--active','focus','comment','createElement','change:isThreadsLoadingPaused','reconvertMarker','activeMarker','init','ck-comment-marker','dataDowncast','collaboration.channelId','isObject','substring','174216LZeQWy','view','9brkIfv','author','set','getAllMarkersForId','$marker','resolveCommentThread','getCommentThreads','editor','addComment','unlinkedAt','clear','attachTo','change:isReadOnly','hasContent','startsWith','_getTargetForId','hasDomSelection','length','LEAVE_COMMENT_ANNOUNCEMENT','consumable','low','getItems','render','reopenCommentThread','announce','push','isCollapsed','registerPostFixer','_getTextContext','markerToHighlight','5516MhTNkE','first','ignoreResolvedComments','addCommentThread','schema','ready','isAttached','once','$textProxy','delete','get','newRange','55JUxxmC','registerAnnotation','enqueueChange','markerToData','from','managedUsingOperations','pluginName','5523NtBvEY','_handleMarkerAddAndRemove','comment:','getCommentThread','item','switchReadOnly'];_0x5942=function(){return _0x387a92;};return _0x5942();}import _0x45af1b from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x1a620e,getAllMarkersDomElementsSorted as _0x5b7aa9,FOCUS_ANNOTATION_KEYSTROKE as _0x9d17ab,Users as _0x57ac3a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1ad9e9 from'../annotations/editorannotations.js';function _0x1c1f(_0x54391a,_0x263882){const _0x5942c8=_0x5942();return _0x1c1f=function(_0x1c1fa4,_0x43393d){_0x1c1fa4=_0x1c1fa4-0xe3;let _0x5c980a=_0x5942c8[_0x1c1fa4];return _0x5c980a;},_0x1c1f(_0x54391a,_0x263882);}import _0x3c1582 from'./integrations/commentsrestrictededitingmode.js';import _0x5ed01b from'./integrations/importword.js';import _0xaaf4d2 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x371b42 from'../annotations/annotations.js';import{getTranslation as _0x58d480}from'../utils/common-translations.js';export default class r extends _0x46f0e3{static get[_0xfba7c9(0x123)](){return[_0x115781,_0x1ad9e9,_0x57ac3a,_0x3c1582,_0x5ed01b,_0xaaf4d2];}static get[_0xfba7c9(0xf5)](){const _0x5c2ea1=_0xfba7c9;return _0x5c2ea1(0x11c);}static get[_0xfba7c9(0x132)](){return!0x0;}static get[_0xfba7c9(0x10d)](){return!0x0;}constructor(_0x1a771b){const _0x102405=_0xfba7c9;super(_0x1a771b),this[_0x102405(0x163)](_0x102405(0x137),!0x0),_0x1a771b[_0x102405(0x124)][_0x102405(0xea)](_0x102405(0xe8),()=>this[_0x102405(0x137)]=!0x1),this[_0x102405(0x163)](_0x102405(0x158),null),this['on'](_0x102405(0x143),(_0xa2ad83,_0x2ad310,_0x3d810f,_0x275eec)=>{const _0x560db2=_0x102405,_0x4989ed=_0x3d810f?splitMarkerName(_0x3d810f)['id']:null;if(_0x1a771b[_0x560db2(0x101)][_0x560db2(0x12d)](()=>{const _0x176732=_0x560db2;if(_0x4989ed){const _0x4ad3e7=this[_0x176732(0x164)](_0x4989ed);for(const _0xb08636 of _0x4ad3e7)_0x1a771b[_0x176732(0x12c)][_0x176732(0x157)](_0xb08636);}if(_0x275eec){const {id:_0x384d6b}=splitMarkerName(_0x275eec),_0x4266fb=this[_0x176732(0x164)](_0x384d6b);for(const _0x437d9a of _0x4266fb)_0x1a771b[_0x176732(0x12c)][_0x176732(0x157)](_0x437d9a);}}),_0x4989ed){const _0x173b2f=_0x1a771b[_0x560db2(0x106)][_0x560db2(0xed)](_0x115781)[_0x560db2(0xf9)](_0x4989ed);_0x173b2f&&_0x173b2f[_0x560db2(0x133)]&&this[_0x560db2(0x148)](_0x4989ed);}}),this[_0x102405(0x11e)]();}[_0xfba7c9(0x159)](){const _0x530819=_0xfba7c9,_0x66387c=this[_0x530819(0x168)],_0x4d639b=_0x66387c[_0x530819(0x106)][_0x530819(0xed)](_0x115781),_0x35115c=_0x66387c[_0x530819(0x14c)][_0x530819(0xed)](_0x530819(0x15c));_0x66387c[_0x530819(0x128)][_0x530819(0x14f)](_0x530819(0xe6),new _0x45af1b(_0x66387c)),this[_0x530819(0x117)](_0x66387c,_0x530819(0x16d),(_0x44ef58,_0x5e03c6,_0x42b945)=>{const _0xbb69d4=_0x530819;_0x4d639b[_0xbb69d4(0xfb)](_0x42b945,_0x66387c[_0xbb69d4(0x14c)][_0xbb69d4(0xed)](_0xbb69d4(0x15c)));}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0xe6),_0x35115c),(_0x220d2b,{threadId:_0xa6532})=>{const _0x5d07f0=_0x530819,_0x4057e5=this[_0x5d07f0(0x168)][_0x5d07f0(0x106)][_0x5d07f0(0xed)](_0x115781)[_0x5d07f0(0xf9)](_0xa6532);_0x4057e5&&_0x4057e5[_0x5d07f0(0x16a)]&&this[_0x5d07f0(0x122)](_0xa6532);}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0x12f),_0x35115c),(_0x5317d1,{threadId:_0x17da61})=>{const _0x3b866a=_0x530819;_0x66387c[_0x3b866a(0x101)][_0x3b866a(0xf1)]({'isUndoable':!0x1},_0x45f0b1=>{const _0x3011f1=_0x3b866a,_0x2eba5b=this[_0x3011f1(0x164)](_0x17da61);for(const _0x37b055 of _0x2eba5b)_0x45f0b1[_0x3011f1(0x146)](_0x37b055);});}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0x166),_0x35115c),(_0x2cb24f,{threadId:_0x11f5c6})=>{const _0x1d2609=_0x530819;(this[_0x1d2609(0x115)](_0x11f5c6),this[_0x1d2609(0x168)][_0x1d2609(0x12c)][_0x1d2609(0x160)][_0x1d2609(0x171)])&&(this[_0x1d2609(0x168)][_0x1d2609(0x106)][_0x1d2609(0xed)](_0x115781)[_0x1d2609(0xf9)](_0x11f5c6)[_0x1d2609(0x16a)]||this[_0x1d2609(0x168)][_0x1d2609(0x12c)][_0x1d2609(0x160)][_0x1d2609(0x153)]());},{'priority':_0x530819(0x175)}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0x178),_0x35115c),(_0xa5fdfb,{threadId:_0x445e75})=>{const _0x2d13f4=_0x530819;this[_0x2d13f4(0x115)](_0x445e75);},{'priority':_0x530819(0x175)}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0x169),_0x35115c),(_0x4367ab,{threadId:_0x168abe,isFromAdapter:_0x33d6b3})=>{const _0x57c9b5=_0x530819,_0x54e9d4=this[_0x57c9b5(0x164)](_0x168abe);if(_0x33d6b3||0x0==_0x54e9d4[_0x57c9b5(0x172)]||!_0x4d639b[_0x57c9b5(0x131)](_0x168abe))return;0x1===_0x4d639b[_0x57c9b5(0xf9)](_0x168abe)[_0x57c9b5(0x172)]&&_0x66387c[_0x57c9b5(0x101)][_0x57c9b5(0xf1)]({'isUndoable':!0x1},_0x1b8a63=>{const _0x57036b=_0x57c9b5;for(const _0x3d3dea of _0x54e9d4)_0x1b8a63[_0x57036b(0x14b)](_0x3d3dea,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x530819(0x175)}),this[_0x530819(0x103)](),this[_0x530819(0xf7)]();}[_0xfba7c9(0xfd)](){const _0xe7c2cd=_0xfba7c9,_0xa25820=this[_0xe7c2cd(0x168)][_0xe7c2cd(0x106)][_0xe7c2cd(0xed)](_0x115781),_0x181507=this[_0xe7c2cd(0x168)][_0xe7c2cd(0x14c)][_0xe7c2cd(0xed)](_0xe7c2cd(0x15c));for(const _0x4fc545 of _0xa25820[_0xe7c2cd(0x167)]({'channelId':_0x181507}))_0xa25820[_0xe7c2cd(0x125)](_0x4fc545['id']),_0xa25820[_0xe7c2cd(0x10c)][_0xe7c2cd(0xec)](_0x4fc545['id']);super[_0xe7c2cd(0xfd)]();}[_0xfba7c9(0x10f)](_0x1908a7){const _0x4cd41b=_0xfba7c9;return this[_0x4cd41b(0x164)](_0x1908a7)[_0x4cd41b(0x172)]>0x0;}[_0xfba7c9(0x164)](_0x20ef57){const _0x2d62bd=_0xfba7c9,_0x135b03=[];for(const _0x3f5950 of this[_0x2d62bd(0x168)][_0x2d62bd(0x101)][_0x2d62bd(0x114)])_0x3f5950[_0x2d62bd(0xff)][_0x2d62bd(0x16f)](_0x2d62bd(0xf8)+_0x20ef57)&&_0x135b03[_0x2d62bd(0x17a)](_0x3f5950);return _0x135b03;}[_0xfba7c9(0x148)](_0x1ce6f5){const _0x4af925=_0xfba7c9,_0x5837b7=this[_0x4af925(0x170)](_0x1ce6f5);_0x5837b7&&setTimeout(()=>{const _0x3ccdcd=_0x4af925;this[_0x3ccdcd(0x158)]&&splitMarkerName(this[_0x3ccdcd(0x158)])['id']===_0x1ce6f5&&_0x2be984({'target':_0x5837b7[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xfba7c9(0x115)](_0x284233){const _0x26a87b=_0xfba7c9;this[_0x26a87b(0x168)][_0x26a87b(0x101)][_0x26a87b(0x12d)](()=>{const _0x42b986=_0x26a87b;for(const _0x4e6f6f of this[_0x42b986(0x164)](_0x284233))this[_0x42b986(0x168)][_0x42b986(0x12c)][_0x42b986(0x157)](_0x4e6f6f);});}[_0xfba7c9(0x122)](_0x34f3bf){const _0x2473f6=_0xfba7c9,_0x383051=this[_0x2473f6(0x168)][_0x2473f6(0x106)][_0x2473f6(0xed)](_0x115781),_0x5f50ec=this[_0x2473f6(0x168)][_0x2473f6(0x106)][_0x2473f6(0xed)](_0x1ad9e9),_0x48156e=_0x383051[_0x2473f6(0xf9)](_0x34f3bf);if(!_0x48156e[_0x2473f6(0xe9)]){const _0xab989c=_0x48156e[_0x2473f6(0x16c)](()=>this[_0x2473f6(0x170)](_0x48156e['id']));_0x5f50ec[_0x2473f6(0xf0)](_0xab989c),_0x48156e[_0x2473f6(0x150)]=!0x1;}}[_0xfba7c9(0x103)](){const _0x14bd8b=_0xfba7c9,_0x48fc97=this[_0x14bd8b(0x168)],_0x58a11e=_0x48fc97[_0x14bd8b(0x106)][_0x14bd8b(0xed)](_0x57ac3a);_0x48fc97[_0x14bd8b(0x13e)][_0x14bd8b(0x13d)](_0x14bd8b(0x10e))[_0x14bd8b(0x17e)]({'model':_0x14bd8b(0x154),'view':(_0x2ce924,_0x7681)=>{const _0x136b5c=_0x14bd8b,{id:_0x565ae8}=splitMarkerName(_0x2ce924[_0x136b5c(0x130)]),_0x517214=_0x48fc97[_0x136b5c(0x106)][_0x136b5c(0xed)](_0x115781)[_0x136b5c(0xf9)](_0x565ae8),_0x32cf65=this[_0x136b5c(0x158)]&&splitMarkerName(this[_0x136b5c(0x158)])['id']===_0x565ae8;let _0x434141;if(_0x517214&&_0x517214[_0x136b5c(0x133)]&&!_0x32cf65&&_0x2ce924[_0x136b5c(0xfa)])return _0x7681[_0x136b5c(0x174)][_0x136b5c(0x120)](_0x2ce924[_0x136b5c(0xfa)],_0x136b5c(0x138)+_0x2ce924[_0x136b5c(0x130)]),_0x7681[_0x136b5c(0x174)][_0x136b5c(0x120)](_0x2ce924[_0x136b5c(0xfa)],_0x136b5c(0x141)+_0x2ce924[_0x136b5c(0x130)]),null;const _0x41f9cd=[_0x136b5c(0x15a)];return _0x32cf65&&_0x41f9cd[_0x136b5c(0x17a)](_0x136b5c(0x152)),_0x434141=_0x517214&&_0x517214[_0x136b5c(0x172)]?_0x517214[_0x136b5c(0x13f)][_0x136b5c(0xe4)][_0x136b5c(0x162)]['id']:_0x58a11e['me']['id'],{'classes':_0x41f9cd,'attributes':{'data-comment':_0x565ae8,'data-author-id':_0x434141}};}}),_0x48fc97[_0x14bd8b(0x13e)][_0x14bd8b(0x13d)](_0x14bd8b(0x15b))[_0x14bd8b(0xf2)]({'model':_0x14bd8b(0x154),'view':(_0x22b648,{options:_0x4bd85b})=>{const _0x20c807=_0x14bd8b,_0x4336e9=_0x48fc97[_0x20c807(0x106)][_0x20c807(0xed)](_0x115781),_0x48896b=_0x48fc97[_0x20c807(0x101)][_0x20c807(0x114)][_0x20c807(0xed)](_0x22b648),{id:_0x29bfea,part:_0x1332f8}=splitMarkerName(_0x22b648);if(_0x48896b&&!_0x48896b[_0x20c807(0xfc)])return null;if(_0x4bd85b[_0x20c807(0xe5)]){const _0x217481=_0x4336e9[_0x20c807(0xf9)](_0x29bfea);if(_0x217481&&_0x217481[_0x20c807(0x133)])return null;}return{'group':_0x20c807(0x154),'name':_0x1332f8?_0x29bfea+':'+_0x1332f8:_0x29bfea};}}),_0x48fc97[_0x14bd8b(0x13e)][_0x14bd8b(0x13d)](_0x14bd8b(0x113))[_0x14bd8b(0x11f)]({'view':{'name':_0x14bd8b(0x154),'attributes':{'id':/^\w/}},'model':(_0xdeb7b7,{writer:_0x269c38})=>_0x269c38[_0x14bd8b(0x155)](_0x14bd8b(0x165),{'data-name':_0x14bd8b(0xf8)+_0xdeb7b7[_0x14bd8b(0x104)]('id')})}),_0x48fc97[_0x14bd8b(0x13e)][_0x14bd8b(0x13d)](_0x14bd8b(0x113))[_0x14bd8b(0x11a)]({'view':_0x14bd8b(0x154)});}[_0xfba7c9(0xf7)](){const _0x12c06e=_0xfba7c9,_0x598924=this[_0x12c06e(0x168)],_0x39bdcc=_0x598924[_0x12c06e(0x106)][_0x12c06e(0xed)](_0x115781),_0x2705ec=new Set(),_0xf1dbf9=new Set();_0x598924[_0x12c06e(0x101)][_0x12c06e(0x11d)][_0x12c06e(0x17c)](_0x29d915=>{const _0x3ad55b=_0x12c06e;let _0x51363c=!0x1;for(const {name:_0x2bc507,data:_0x1e8de7}of _0x598924[_0x3ad55b(0x101)][_0x3ad55b(0x11d)][_0x3ad55b(0x13c)][_0x3ad55b(0x116)]()){const {group:_0x48d479,id:_0x11f299}=splitMarkerName(_0x2bc507);let _0x1641b8=_0x1e8de7[_0x3ad55b(0xee)];if(_0x3ad55b(0x154)!==_0x48d479||!_0x1641b8)continue;const _0x3ef68b=_0x3ad55b(0x13b)===_0x1641b8[_0x3ad55b(0x100)][_0x3ad55b(0x127)];_0x3ef68b||(_0x1641b8=dt(_0x1641b8,_0x598924[_0x3ad55b(0x101)]),!_0x1641b8||_0x1641b8[_0x3ad55b(0x17b)]||!_0x1e8de7[_0x3ad55b(0xee)]||_0x1641b8[_0x3ad55b(0x121)](_0x1e8de7[_0x3ad55b(0xee)]))?_0x598924[_0x3ad55b(0x101)][_0x3ad55b(0x16e)](_0x1641b8)&&!_0x3ef68b?this[_0x3ad55b(0x137)]?_0x2705ec[_0x3ad55b(0x14f)](_0x2bc507):this[_0x3ad55b(0x136)](_0x2bc507,_0x11f299):(_0xf1dbf9[_0x3ad55b(0x14f)](_0x2bc507),_0x2705ec[_0x3ad55b(0xec)](_0x2bc507),_0x29d915[_0x3ad55b(0x146)](_0x2bc507),_0x51363c=!0x0):(_0x29d915[_0x3ad55b(0x14b)](_0x2bc507,{'range':_0x1641b8}),_0x51363c=!0x0);}return _0x51363c;}),this['on'](_0x12c06e(0x156),(_0x2f3cbb,_0x413a41,_0x477903)=>{const _0x595b6e=_0x12c06e;if(!_0x477903&&_0x2705ec[_0x595b6e(0x134)])for(const _0x32f40b of _0x2705ec){const {id:_0xa490c3}=splitMarkerName(_0x32f40b);_0x2705ec[_0x595b6e(0xec)](_0x32f40b),_0x598924[_0x595b6e(0x101)][_0x595b6e(0x114)][_0x595b6e(0xed)](_0x32f40b)&&this[_0x595b6e(0x136)](_0x32f40b,_0xa490c3);}}),this[_0x12c06e(0x117)](_0x598924[_0x12c06e(0x101)][_0x12c06e(0x11d)],_0x12c06e(0x12d),(_0x36aaaa,_0x22ad6a)=>{const _0x458b8f=_0x12c06e;for(const {name:_0x832e5d,data:{newRange:_0x4425ec}}of _0x598924[_0x458b8f(0x101)][_0x458b8f(0x11d)][_0x458b8f(0x13c)][_0x458b8f(0x116)]()){const {group:_0x37bb01,id:_0x366557}=splitMarkerName(_0x832e5d);if(_0x458b8f(0x154)!==_0x37bb01)continue;const _0x583699=_0x39bdcc[_0x458b8f(0xf9)](_0x366557),_0x556939=this[_0x458b8f(0x10f)](_0x366557);_0x583699&&(!_0x583699[_0x458b8f(0x150)]&&_0x4425ec&&_0x598924[_0x458b8f(0x12c)][_0x458b8f(0x160)][_0x458b8f(0xea)](_0x458b8f(0x177),()=>{const _0x13e895=_0x458b8f,_0x7d5147=_0x598924[_0x13e895(0x106)][_0x13e895(0xed)](_0x371b42),_0x1e5dae=_0x39bdcc[_0x13e895(0x109)][_0x13e895(0xed)](_0x583699)[_0x13e895(0x160)];_0x7d5147[_0x13e895(0x149)](_0x1e5dae)[_0x13e895(0x102)]();},{'priority':_0x458b8f(0x175)}),_0x583699[_0x458b8f(0x150)]=_0x556939||!!_0x4425ec),_0x4425ec||(_0xf1dbf9[_0x458b8f(0x14f)](_0x832e5d),_0x2705ec[_0x458b8f(0xec)](_0x832e5d));}if(_0x22ad6a[_0x458b8f(0x12a)])for(const _0x207fb9 of _0xf1dbf9){const {id:_0x5b101b}=splitMarkerName(_0x207fb9),_0x4ff34c=_0x39bdcc[_0x458b8f(0xf9)](_0x5b101b),_0x236862=this[_0x458b8f(0x10f)](_0x5b101b);_0x2705ec[_0x458b8f(0xec)](_0x207fb9),!_0x4ff34c||_0x236862||_0x4ff34c[_0x458b8f(0x16a)]||_0x4ff34c[_0x458b8f(0x147)](new Date());}_0xf1dbf9[_0x458b8f(0x16b)]();});}[_0xfba7c9(0x170)](_0x26073a){const _0x17ad12=_0xfba7c9,_0x2b0cfe=this[_0x17ad12(0x168)],_0x151741=this[_0x17ad12(0x164)](_0x26073a);return _0x5b7aa9(_0x2b0cfe[_0x17ad12(0x12c)],_0x151741);}[_0xfba7c9(0x17d)](_0x2b509a){const _0x45ad80=_0xfba7c9,_0x122e85=this[_0x45ad80(0x164)](_0x2b509a);let _0xaecf11='',_0x3e3c24=!0x1;for(const _0x575efe of _0x122e85){const _0x1349bd=_0x575efe[_0x45ad80(0x144)]();for(const _0x3ee857 of Array[_0x45ad80(0xf3)](_0x1349bd[_0x45ad80(0x176)]()))_0x3ee857['is'](_0x45ad80(0xeb))?(_0xaecf11&&_0x3e3c24&&(_0xaecf11+='\x20',_0x3e3c24=!0x1),_0xaecf11+=_0x3ee857[_0x45ad80(0x124)]):_0x3e3c24=!0x0;_0x3e3c24=!0x0;}return _0xaecf11[_0x45ad80(0x15e)](0x0,0x96);}[_0xfba7c9(0x12e)](_0x538d1e,_0xe6c862){const _0x2d3ea6=_0xfba7c9,_0x187b0b=this[_0x2d3ea6(0x168)],_0x5416a9=_0x187b0b[_0x2d3ea6(0x106)][_0x2d3ea6(0xed)](_0x115781);let _0x33a91b=_0x5416a9[_0x2d3ea6(0xf9)](_0xe6c862);const _0x2fd44a=_0x187b0b[_0x2d3ea6(0x14c)][_0x2d3ea6(0xed)](_0x2d3ea6(0x15c)),_0x1fabcc=_0x187b0b[_0x2d3ea6(0x106)][_0x2d3ea6(0xed)](_0x1ad9e9);if(_0x33a91b&&(_0x33a91b[_0x2d3ea6(0x16a)]&&_0x33a91b[_0x2d3ea6(0x147)](null),_0x33a91b[_0x2d3ea6(0xe9)]))return _0x33a91b;return!this[_0x2d3ea6(0x164)](_0xe6c862)[0x0][_0x2d3ea6(0xf4)]?_0x187b0b[_0x2d3ea6(0x12c)][_0x2d3ea6(0x160)][_0x2d3ea6(0xea)](_0x2d3ea6(0x177),()=>{const _0x5eb397=_0x2d3ea6;if(_0x5416a9[_0x5eb397(0xf9)](_0xe6c862))return;const _0x4228c1=_0x187b0b[_0x5eb397(0x106)][_0x5eb397(0xed)](_0x371b42);_0x33a91b=_0x5416a9[_0x5eb397(0x126)]({'channelId':_0x2fd44a,'threadId':_0xe6c862,'target':()=>this[_0x5eb397(0x170)](_0xe6c862),'context':{'type':_0x5eb397(0x140),'value':this[_0x5eb397(0x17d)](_0xe6c862)}});const _0x3ee6e4=_0x5416a9[_0x5eb397(0x109)][_0x5eb397(0xed)](_0x33a91b)[_0x5eb397(0x160)],_0x424cd7=_0x4228c1[_0x5eb397(0x149)](_0x3ee6e4);_0x424cd7&&_0x1fabcc[_0x5eb397(0xf0)](_0x424cd7);},{'priority':_0x2d3ea6(0x175)}):_0x5416a9[_0x2d3ea6(0x139)]({'channelId':_0x2fd44a,'threadId':_0xe6c862})[_0x2d3ea6(0x14d)](_0x5b461e=>{const _0x34f393=_0x2d3ea6;if(_0x34f393(0x119)!==_0x187b0b[_0x34f393(0x105)]){if(_0x33a91b=_0x5b461e,_0x33a91b&&!_0x33a91b[_0x34f393(0xe9)]){const _0x1a4e0f=_0x33a91b[_0x34f393(0x16c)](()=>this[_0x34f393(0x170)](_0xe6c862));_0x1fabcc[_0x34f393(0xf0)](_0x1a4e0f),_0x33a91b[_0x34f393(0x133)]&&this[_0x34f393(0x115)](_0xe6c862);}else{if(!_0x33a91b){const _0x7041b3=this[_0x34f393(0x164)](_0xe6c862);_0x187b0b[_0x34f393(0x101)][_0x34f393(0x12d)](_0x11e0a9=>{const _0x354faa=_0x34f393;for(const _0xd27995 of _0x7041b3)_0x11e0a9[_0x354faa(0x146)](_0xd27995);});}}}}),_0x33a91b;}[_0xfba7c9(0x136)](_0x3b5ee8,_0x50dfa6){const _0x3c16f9=_0xfba7c9,_0x49bea0=this[_0x3c16f9(0x12e)](_0x3b5ee8,_0x50dfa6);_0x49bea0&&!_0x49bea0[_0x3c16f9(0x111)]&&_0x49bea0[_0x3c16f9(0x145)]({'type':_0x3c16f9(0x140),'value':this[_0x3c16f9(0x17d)](_0x50dfa6)});}[_0xfba7c9(0x11e)](){const _0x1aac3f=_0xfba7c9,_0x2a6fcf=this[_0x1aac3f(0x168)];_0x1a620e(_0x2a6fcf[_0x1aac3f(0x101)],({left:_0x19c4e7,entered:_0x56f22e})=>{const _0xf54857=_0x1aac3f;for(const _0x40d94e of _0x19c4e7)if(ht(_0x40d94e)){_0x2a6fcf['ui'][_0xf54857(0x118)][_0xf54857(0x179)](_0x58d480(_0x2a6fcf[_0xf54857(0x151)],_0xf54857(0x173)));break;}for(const _0x46dc93 of _0x56f22e)if(ht(_0x46dc93)){_0x2a6fcf['ui'][_0xf54857(0x118)][_0xf54857(0x179)](_0x58d480(_0x2a6fcf[_0xf54857(0x151)],_0xf54857(0x107),_0x5deeec(_0x9d17ab)));break;}});}}function mt(_0x289779,_0x35bcee){return _0x35bcee?_0x289779+':'+_0x35bcee:_0x289779;}export function splitMarkerName(_0xa92e62){const _0x4351c5=_0xfba7c9,_0x2a6ac3=_0xa92e62[_0x4351c5(0x10b)](':');return{'group':_0x2a6ac3[0x0],'id':_0x2a6ac3[0x1],'part':_0x2a6ac3[0x2]};}function dt(_0x5c2881,_0xb93413){const _0x3c6f1d=_0xfba7c9,_0x38d2b9=_0xb93413[_0x3c6f1d(0xe7)],_0x4ba0b1=_0xb93413[_0x3c6f1d(0x110)](_0x5c2881[_0x3c6f1d(0x10a)]);for(const _0x5b7fdc of _0x5c2881[_0x3c6f1d(0x108)]()){const {type:_0x45ebe7,item:_0x3eb8f1,nextPosition:_0xf62cda}=_0x5b7fdc;if(_0x3c6f1d(0x140)===_0x45ebe7||_0x38d2b9[_0x3c6f1d(0x15d)](_0x3eb8f1)){const _0x4602b0=_0xb93413[_0x3c6f1d(0x12b)](_0x3eb8f1);_0x4ba0b1[_0x3c6f1d(0x17b)]&&(_0x4ba0b1[_0x3c6f1d(0x10a)]=_0x4602b0),_0x4ba0b1[_0x3c6f1d(0x135)]=_0xf62cda;}}return _0x4ba0b1;}function ht(_0x2b6667){const _0x391ce7=_0xfba7c9;return _0x391ce7(0x154)===splitMarkerName(_0x2b6667[_0x391ce7(0xff)])[_0x391ce7(0x112)];}
|