@ckeditor/ckeditor5-comments 43.3.0-alpha.10 → 43.3.0-alpha.12
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 _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)];}
|
|
23
|
+
function _0x6b20(){const _0x32ecd2=['define','rearrange','241247FFVKbF','843540JxkBFr','_attachToContainer','sidebar-setcontainer-invalid-element','sidebar.preventScrollOutOfView','change:_lastItem','get','4581878NRYOEi','pluginName','_setItemTop','3330McSQtL','content','_getItemAfter','_activeAnnotation','push','listenTo','view','_createSidebarView','delete','_getTargetTop','change:targetRect','_annotations','_alignBeforeItem','refresh','_alignToTargetRect','unbind','bind','54764ZyBALK','stopListening','length','_updateLastItem','getIndex','getSidebarItemView','element','isAnimationDisabled','_getMaxAvailableTop','6vmXmBz','_alignAfterItem','appendChild','targetRect','destroy','sidebar-attachtocontainer-missing-container','addAnnotation','init','target','change:top','_targetTop','isOfficialPlugin','_recalculateBuffer','change:bottom','max','_alignForTopChange','last','setContainer','object','container','remove','sidebar.container','minHeight','height','nodeType','785354JkXyAS','_getItemBefore','list','config','_recalculate','render','updateHeight','top','set','class','clear','90BXpZdm','_annotationToSidebarItemView','isActive','_alignForBottomChange','locale','bottom','_spaceBetweenItems','isPremiumPlugin','_destroySidebarItemView','Sidebar','_detachFromContainer','_sidebarItemViewToAnnotation','context','7407CmjFxg','add','610024urLXWC','_lastItem'];_0x6b20=function(){return _0x32ecd2;};return _0x6b20();}const _0x506337=_0x1d88;(function(_0x2db8c0,_0x39525b){const _0x49d69b=_0x1d88,_0x4b6ed6=_0x2db8c0();while(!![]){try{const _0x280618=-parseInt(_0x49d69b(0x98))/0x1+parseInt(_0x49d69b(0x7a))/0x2+-parseInt(_0x49d69b(0x99))/0x3+-parseInt(_0x49d69b(0xb3))/0x4*(-parseInt(_0x49d69b(0x85))/0x5)+parseInt(_0x49d69b(0xbc))/0x6*(parseInt(_0x49d69b(0x9f))/0x7)+-parseInt(_0x49d69b(0x94))/0x8+-parseInt(_0x49d69b(0x92))/0x9*(parseInt(_0x49d69b(0xa2))/0xa);if(_0x280618===_0x39525b)break;else _0x4b6ed6['push'](_0x4b6ed6['shift']());}catch(_0x53009e){_0x4b6ed6['push'](_0x4b6ed6['shift']());}}}(_0x6b20,0x66c42));import{ContextPlugin as _0x3dadd1}from'ckeditor5/src/core.js';import{Rect as _0x565d13,CKEditorError as _0x4dc872}from'ckeditor5/src/utils.js';import _0xa34677 from'./view/sidebarview.js';import _0x564933 from'./view/sidebaritemview.js';export default class z extends _0x3dadd1{static get[_0x506337(0xa0)](){const _0x5088ca=_0x506337;return _0x5088ca(0x8e);}static get[_0x506337(0x6c)](){return!0x0;}static get[_0x506337(0x8c)](){return!0x0;}constructor(_0xd6bfe9){const _0x44b1c3=_0x506337;super(_0xd6bfe9),this[_0x44b1c3(0x82)](_0x44b1c3(0x95),void 0x0),this[_0x44b1c3(0xa8)]=this[_0x44b1c3(0xa9)](),this[_0x44b1c3(0x82)](_0x44b1c3(0x74),null),this[_0x44b1c3(0x8b)]=0x19,this[_0x44b1c3(0x90)]=new Map(),this[_0x44b1c3(0x86)]=new Map(),this[_0x44b1c3(0x91)][_0x44b1c3(0x7d)][_0x44b1c3(0x96)](_0x44b1c3(0x9c),!0x1),this[_0x44b1c3(0xad)]=null,this[_0x44b1c3(0xa5)]=null,this[_0x44b1c3(0x6d)]=[];}[_0x506337(0xc3)](){const _0x57585a=_0x506337,_0x4f9d09=this[_0x57585a(0x91)][_0x57585a(0x7d)][_0x57585a(0x9e)](_0x57585a(0x76));_0x4f9d09&&this[_0x57585a(0x72)](_0x4f9d09);}[_0x506337(0x72)](_0xa811f8){const _0xc375af=_0x506337;if(!y(_0xa811f8))throw new _0x4dc872(_0xc375af(0x9b));this[_0xc375af(0x74)]=_0xa811f8;}[_0x506337(0x9a)]({viewClass:_0x3cdab6='',spaceBetweenItems:_0x4d2b68=0x19}={}){const _0x4e9789=_0x506337;if(!y(this[_0x4e9789(0x74)]))throw new _0x4dc872(_0x4e9789(0xc1),this);this[_0x4e9789(0x74)][_0x4e9789(0xbe)](this[_0x4e9789(0xa8)][_0x4e9789(0xb9)]),this[_0x4e9789(0xa8)][_0x4e9789(0x83)]=_0x3cdab6,this[_0x4e9789(0x8b)]=_0x4d2b68;}[_0x506337(0x97)]({removedAnnotation:_0x57bab7,previousAnnotation:_0x370f5c,nextAnnotation:_0x3b4bfa}){const _0x2efcb5=_0x506337,_0x5ade6f=this[_0x2efcb5(0xb8)](_0x57bab7);this[_0x2efcb5(0xa8)][_0x2efcb5(0x7c)][_0x2efcb5(0x75)](_0x5ade6f),this[_0x2efcb5(0x8d)](_0x57bab7),_0x370f5c&&this[_0x2efcb5(0xb0)](this[_0x2efcb5(0xb8)](_0x370f5c)),_0x3b4bfa&&this[_0x2efcb5(0xb0)](this[_0x2efcb5(0xb8)](_0x3b4bfa)),this[_0x2efcb5(0xb6)]();}[_0x506337(0xaf)]({blurredAnnotation:_0x525a7c,activatedAnnotation:_0x14b012,disableAnimationOnActivatedAnnotation:_0x349e09}){const _0x2b15fb=_0x506337;if(this[_0x2b15fb(0xa5)]=_0x14b012,_0x525a7c){_0x525a7c[_0x2b15fb(0x87)]=!0x1;const _0x212e7b=this[_0x2b15fb(0xb8)](_0x525a7c);_0x212e7b&&_0x349e09&&(_0x212e7b[_0x2b15fb(0xba)]=!0x1);}if(_0x14b012){const _0x3e915b=this[_0x2b15fb(0xb8)](_0x14b012);_0x3e915b&&(_0x14b012[_0x2b15fb(0x87)]=!0x0,_0x349e09&&(_0x3e915b[_0x2b15fb(0xba)]=!0x0,_0x3e915b[_0x2b15fb(0x81)]+=0x1),this[_0x2b15fb(0xb0)](_0x3e915b));}}[_0x506337(0x8f)](_0x2733c0){const _0x1aa58c=_0x506337;if(this[_0x1aa58c(0xa8)][_0x1aa58c(0xb9)][_0x1aa58c(0x75)](),_0x2733c0){for(const _0x28a271 of _0x2733c0)this[_0x1aa58c(0x8d)](_0x28a271);}this[_0x1aa58c(0xa8)][_0x1aa58c(0x7c)][_0x1aa58c(0x84)](),this[_0x1aa58c(0xa8)][_0x1aa58c(0x83)]='',this[_0x1aa58c(0x95)]=null;}[_0x506337(0xc2)](_0x59e5ce,_0x11f3c2){const _0x10af63=_0x506337;_0x11f3c2||(_0x11f3c2=_0x59e5ce[_0x10af63(0xa8)]);const _0x39571e=new _0x564933(this[_0x10af63(0x91)][_0x10af63(0x89)]);this[_0x10af63(0x90)][_0x10af63(0x82)](_0x39571e,_0x59e5ce),this[_0x10af63(0x86)][_0x10af63(0x82)](_0x59e5ce,_0x39571e),_0x39571e[_0x10af63(0xa3)][_0x10af63(0x93)](_0x11f3c2),this[_0x10af63(0xa7)](_0x59e5ce[_0x10af63(0xa8)],_0x10af63(0xac),(_0x4f7f8f,_0x465cff,_0x90492b)=>{const _0x30c678=_0x10af63,_0x4bec51=this[_0x30c678(0xab)](_0x59e5ce,_0x90492b);_0x39571e[_0x30c678(0x6b)]!=_0x4bec51&&(_0x39571e[_0x30c678(0x6b)]=_0x4bec51,this[_0x30c678(0xa1)](_0x39571e,_0x4bec51));}),this[_0x10af63(0xa7)](_0x39571e,_0x10af63(0x6a),()=>{const _0x382833=_0x10af63;this[_0x382833(0x7e)](_0x39571e,_0x382833(0x81));}),this[_0x10af63(0xa7)](_0x39571e,_0x10af63(0x6e),()=>{const _0x2d0128=_0x10af63;this[_0x2d0128(0x7e)](_0x39571e,_0x2d0128(0x8a));}),this[_0x10af63(0xb0)](_0x39571e);const _0x4db33d=this[_0x10af63(0x7b)](_0x39571e);if(_0x4db33d)this[_0x10af63(0xbd)](_0x4db33d,_0x39571e)||this[_0x10af63(0xb0)](_0x39571e);else this[_0x10af63(0xb0)](_0x39571e);return this[_0x10af63(0xb6)](),this[_0x10af63(0xa8)][_0x10af63(0x7c)][_0x10af63(0x93)](_0x39571e),_0x39571e;}[_0x506337(0x70)](_0x56af7b){const _0x244964=_0x506337;if(!_0x56af7b[_0x244964(0xa3)][_0x244964(0xb5)])return;const _0x3b5bb0=this[_0x244964(0x7b)](_0x56af7b);if(!_0x3b5bb0)return;const _0x25aec9=this[_0x244964(0x90)][_0x244964(0x9e)](_0x3b5bb0),_0x934aa7=this[_0x244964(0xa5)];_0x934aa7&&_0x934aa7===_0x25aec9?this[_0x244964(0xbd)](_0x3b5bb0,_0x56af7b):this[_0x244964(0xae)](_0x56af7b,_0x3b5bb0);}[_0x506337(0x88)](_0x417eeb){const _0xe331b9=_0x506337;if(!_0x417eeb[_0xe331b9(0xa3)][_0xe331b9(0xb5)])return;const _0x49e286=this[_0xe331b9(0xa4)](_0x417eeb);if(!_0x49e286)return;const _0x4f6ba7=this[_0xe331b9(0x90)][_0xe331b9(0x9e)](_0x49e286),_0x127b7f=this[_0xe331b9(0x91)][_0xe331b9(0x7d)][_0xe331b9(0x9e)](_0xe331b9(0x9c)),_0x1fc4d6=this[_0xe331b9(0xa5)];_0x1fc4d6&&_0x1fc4d6===_0x4f6ba7&&_0x127b7f?(this[_0xe331b9(0xae)](_0x49e286,_0x417eeb),this[_0xe331b9(0xbd)](_0x417eeb,_0x49e286)):_0x1fc4d6&&_0x1fc4d6===_0x4f6ba7?this[_0xe331b9(0xae)](_0x49e286,_0x417eeb):this[_0xe331b9(0xbd)](_0x417eeb,_0x49e286);}[_0x506337(0x7e)](_0x18ed6e,_0x18c471){const _0xbd3759=_0x506337;0x0===this[_0xbd3759(0x6d)][_0xbd3759(0xb5)]&&setTimeout(()=>{const _0xe98b60=_0xbd3759;for(const {sidebarItemView:_0x53b231,changedProp:_0x41804d}of this[_0xe98b60(0x6d)])_0xe98b60(0x81)===_0x41804d?this[_0xe98b60(0x70)](_0x53b231):this[_0xe98b60(0x88)](_0x53b231);this[_0xe98b60(0x6d)]=[];},0xa),this[_0xbd3759(0x6d)][_0xbd3759(0xa6)]({'sidebarItemView':_0x18ed6e,'changedProp':_0x18c471});}[_0x506337(0xb8)](_0x25ca92){const _0x3b31f8=_0x506337;return this[_0x3b31f8(0x86)][_0x3b31f8(0x9e)](_0x25ca92);}[_0x506337(0xc0)](){const _0x4f4032=_0x506337;this[_0x4f4032(0xb4)](),this[_0x4f4032(0xa8)][_0x4f4032(0xc0)]();}[_0x506337(0x8d)](_0x4e719a){const _0xd68d3a=_0x506337,_0x5dd086=this[_0xd68d3a(0xb8)](_0x4e719a);this[_0xd68d3a(0xb4)](_0x5dd086),this[_0xd68d3a(0xb4)](_0x4e719a[_0xd68d3a(0xa8)]),_0x5dd086[_0xd68d3a(0xc0)](),this[_0xd68d3a(0x86)][_0xd68d3a(0xaa)](_0x4e719a),this[_0xd68d3a(0x90)][_0xd68d3a(0xaa)](_0x5dd086);}[_0x506337(0xa9)](){const _0x45152b=_0x506337,_0x591def=new _0xa34677(this[_0x45152b(0x91)][_0x45152b(0x89)]);return _0x591def[_0x45152b(0x7f)](),this['on'](_0x45152b(0x9d),(_0x4d4279,_0x4c188e,_0x556ad9,_0x2661ed)=>{const _0x450c81=_0x45152b;_0x2661ed&&_0x591def[_0x450c81(0xb1)](_0x450c81(0x77)),_0x556ad9?_0x591def[_0x450c81(0xb2)](_0x450c81(0x77))['to'](_0x556ad9,_0x450c81(0x8a)):_0x591def[_0x450c81(0x77)]=null;}),_0x591def;}[_0x506337(0xb6)](){const _0xb66f9a=_0x506337;var _0x549d5e;this[_0xb66f9a(0x95)]=(null===(_0x549d5e=this[_0xb66f9a(0xad)])||void 0x0===_0x549d5e?void 0x0:_0x549d5e[_0xb66f9a(0x71)])?this[_0xb66f9a(0xb8)](this[_0xb66f9a(0xad)][_0xb66f9a(0x71)]):null;}[_0x506337(0x7b)](_0x164f88){const _0x51a28b=_0x506337;var _0x494f85;const _0x3f1e43=this[_0x51a28b(0x90)][_0x51a28b(0x9e)](_0x164f88),_0x64c2db=_0x3f1e43&&(null===(_0x494f85=this[_0x51a28b(0xad)])||void 0x0===_0x494f85?void 0x0:_0x494f85[_0x51a28b(0x9e)](this[_0x51a28b(0xad)][_0x51a28b(0xb7)](_0x3f1e43)-0x1));return _0x64c2db&&this[_0x51a28b(0xb8)](_0x64c2db)||null;}[_0x506337(0xa4)](_0x3b32ba){const _0x4f3ebe=_0x506337;var _0x1afd84;const _0x5d381c=this[_0x4f3ebe(0x90)][_0x4f3ebe(0x9e)](_0x3b32ba),_0xfebbd3=_0x5d381c&&(null===(_0x1afd84=this[_0x4f3ebe(0xad)])||void 0x0===_0x1afd84?void 0x0:_0x1afd84[_0x4f3ebe(0x9e)](this[_0x4f3ebe(0xad)][_0x4f3ebe(0xb7)](_0x5d381c)+0x1));return _0xfebbd3&&this[_0x4f3ebe(0xb8)](_0xfebbd3)||null;}[_0x506337(0xae)](_0x19f517,_0x1dfdf3){const _0x2ce3c6=_0x506337;_0x19f517[_0x2ce3c6(0x80)]();const _0x56edd4=R(_0x1dfdf3[_0x2ce3c6(0x8a)]+this[_0x2ce3c6(0x8b)],_0x19f517[_0x2ce3c6(0x81)]);return!!_0x56edd4&&(this[_0x2ce3c6(0xa1)](_0x1dfdf3,_0x1dfdf3[_0x2ce3c6(0x81)]-_0x56edd4),!0x0);}[_0x506337(0xbd)](_0x424db4,_0x16a043){const _0x4f2337=_0x506337;_0x424db4[_0x4f2337(0x80)]();const _0x1ab2ae=R(_0x424db4[_0x4f2337(0x8a)]+this[_0x4f2337(0x8b)],_0x16a043[_0x4f2337(0x81)]);return!!_0x1ab2ae&&(this[_0x4f2337(0xa1)](_0x16a043,_0x16a043[_0x4f2337(0x81)]+_0x1ab2ae,!0x1),!0x0);}[_0x506337(0xb0)](_0x554151){const _0x301045=_0x506337,_0x35e502=this[_0x301045(0x90)][_0x301045(0x9e)](_0x554151);if(!_0x35e502||!_0x35e502[_0x301045(0x69)]||!_0x35e502[_0x301045(0xbf)])return;const _0x91545d=this[_0x301045(0xab)](_0x35e502,_0x35e502[_0x301045(0xbf)]);this[_0x301045(0xa1)](_0x554151,_0x91545d);}[_0x506337(0xab)](_0x45e482,_0x3a967c){const _0x2eea73=_0x506337;if(null===_0x3a967c)return 0x0;if(_0x45e482[_0x2eea73(0x69)]instanceof _0x565d13)return _0x3a967c[_0x2eea73(0x81)];{const _0x1a66ec=new _0x565d13(this[_0x2eea73(0xa8)][_0x2eea73(0xb9)])[_0x2eea73(0x81)];return _0x3a967c[_0x2eea73(0x81)]-_0x1a66ec;}}[_0x506337(0xa1)](_0x425ab3,_0x386fb6,_0xc59c40=this[_0x506337(0x91)][_0x506337(0x7d)][_0x506337(0x9e)](_0x506337(0x9c))){const _0x412a79=_0x506337;_0xc59c40&&(_0x386fb6=Math[_0x412a79(0x6f)](_0x386fb6,this[_0x412a79(0xbb)](_0x425ab3))),_0x425ab3[_0x412a79(0x81)]=_0x386fb6;}[_0x506337(0xbb)](_0x2f36a1){const _0x16085a=_0x506337;let _0x566a56=this[_0x16085a(0x7b)](_0x2f36a1),_0x506bb2=0x0;for(;_0x566a56;)_0x566a56[_0x16085a(0x80)](),_0x506bb2+=this[_0x16085a(0x8b)]+_0x566a56[_0x16085a(0x78)],_0x566a56=this[_0x16085a(0x7b)](_0x566a56);return _0x506bb2;}}function _0x1d88(_0x554e0f,_0x5dc17c){const _0x6b20d5=_0x6b20();return _0x1d88=function(_0x1d883b,_0x59328b){_0x1d883b=_0x1d883b-0x69;let _0x41b014=_0x6b20d5[_0x1d883b];return _0x41b014;},_0x1d88(_0x554e0f,_0x5dc17c);}function R(_0xdc041d,_0x591043){const _0x54b6dc=_0x506337;return Math[_0x54b6dc(0x6f)](_0xdc041d-_0x591043,0x0);}function y(_0x4bb22c){const _0x36e917=_0x506337;return null!==_0x4bb22c&&_0x36e917(0x73)==typeof _0x4bb22c&&0x1===_0x4bb22c[_0x36e917(0x79)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x270aa8,_0x138699){const _0x593ae7=_0x1560,_0x546515=_0x270aa8();while(!![]){try{const _0x595758=-parseInt(_0x593ae7(0xa3))/0x1+parseInt(_0x593ae7(0x93))/0x2*(-parseInt(_0x593ae7(0x9f))/0x3)+parseInt(_0x593ae7(0x9c))/0x4*(parseInt(_0x593ae7(0x9e))/0x5)+-parseInt(_0x593ae7(0xa4))/0x6+-parseInt(_0x593ae7(0xa5))/0x7+-parseInt(_0x593ae7(0x9d))/0x8+-parseInt(_0x593ae7(0x96))/0x9*(-parseInt(_0x593ae7(0x98))/0xa);if(_0x595758===_0x138699)break;else _0x546515['push'](_0x546515['shift']());}catch(_0x5cb3cc){_0x546515['push'](_0x546515['shift']());}}}(_0x1ba7,0x2c732));import{ButtonView as _0x1ffdfb,View as _0x34ca12}from'ckeditor5/src/ui.js';function _0x1ba7(){const _0x371d0c=['icon','4ivvvUH','2837488xbpXIv','114370QbXOQh','45caghee','ck-annotation-counter__badge--edit-mode','isDirty','ck-annotation-counter__badge--','179919eaGAIS','2166228RzHemk','1353170TgaclZ','setTemplate','bindTemplate','ck-annotation-counter__badge','ck-annotation-counter','bind','number','...','extendTemplate','span','annotationType','children','29354UKxNxp','add','counterView','18jGyDAa','set','7341500cDcWon','_badge','toString'];_0x1ba7=function(){return _0x371d0c;};return _0x1ba7();}import _0x21f090 from'../../../theme/icons/add-comment.svg';function _0x1560(_0x53f3b4,_0x370ef4){const _0x1ba7f0=_0x1ba7();return _0x1560=function(_0x1560f7,_0x2e152f){_0x1560f7=_0x1560f7-0x8b;let _0x4e2312=_0x1ba7f0[_0x1560f7];return _0x4e2312;},_0x1560(_0x53f3b4,_0x370ef4);}export default class D extends _0x1ffdfb{constructor(_0x5f2ede){const _0x1491b4=_0x1560;super(_0x5f2ede);const _0x159d0b=this[_0x1491b4(0xa7)];this[_0x1491b4(0x97)](_0x1491b4(0xa1),!0x1),this[_0x1491b4(0x97)](_0x1491b4(0x8d),0x0),this[_0x1491b4(0x8c)](_0x1491b4(0x99))['to'](this,_0x1491b4(0xa1),this,_0x1491b4(0x8d),(_0xaf2d2e,_0x3d94b9)=>_0xaf2d2e?_0x1491b4(0x8e):_0x3d94b9[_0x1491b4(0x9a)]()),this[_0x1491b4(0x97)](_0x1491b4(0x91),''),this[_0x1491b4(0x9b)]=_0x21f090,this[_0x1491b4(0x8f)]({'attributes':{'class':[_0x1491b4(0x8b)]}}),this[_0x1491b4(0x95)]=new _0x34ca12(),this[_0x1491b4(0x95)][_0x1491b4(0xa6)]({'tag':_0x1491b4(0x90),'attributes':{'class':[_0x1491b4(0xa8),_0x159d0b['to'](_0x1491b4(0x91),_0x3f1548=>_0x1491b4(0xa2)+_0x3f1548),_0x159d0b['if'](_0x1491b4(0xa1),_0x1491b4(0xa0))]},'children':[{'text':_0x159d0b['to'](_0x1491b4(0x99))}]}),this[_0x1491b4(0x92)][_0x1491b4(0x94)](this[_0x1491b4(0x95)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15870e=_0xebc6;(function(_0x1663d4,_0xcb4d50){const _0xc7cd6a=_0xebc6,_0x35958f=_0x1663d4();while(!![]){try{const _0x2bc1e0=parseInt(_0xc7cd6a(0xaf))/0x1*(parseInt(_0xc7cd6a(0xa2))/0x2)+parseInt(_0xc7cd6a(0x9e))/0x3+-parseInt(_0xc7cd6a(0x89))/0x4+parseInt(_0xc7cd6a(0x9d))/0x5+parseInt(_0xc7cd6a(0x91))/0x6+-parseInt(_0xc7cd6a(0xa3))/0x7+-parseInt(_0xc7cd6a(0xb0))/0x8;if(_0x2bc1e0===_0xcb4d50)break;else _0x35958f['push'](_0x35958f['shift']());}catch(_0x494fbe){_0x35958f['push'](_0x35958f['shift']());}}}(_0x5501,0x1af34));import{View as _0x284c38}from'ckeditor5/src/ui.js';function _0xebc6(_0x4e28c4,_0x39a088){const _0x5501e6=_0x5501();return _0xebc6=function(_0xebc6b2,_0x3a43fe){_0xebc6b2=_0xebc6b2-0x88;let _0x51aa00=_0x5501e6[_0xebc6b2];return _0x51aa00;},_0xebc6(_0x4e28c4,_0x39a088);}import{FocusTracker as _0x3e0019,KeystrokeHandler as _0x5a6847,uid as _0x40b387}from'ckeditor5/src/utils.js';import _0xb3b3d0 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x5501(){const _0x23ac5b=['arrowdown','clientHeight','106505WcsWkF','199326HhCeNJ','fire','bindTemplate','mainView','4mlyAOE','823690WpchFC','focusTracker','content','type','focus','div','Esc','first','length','ck-rounded-corners','keystrokes','element','47807XOqnwC','369928oqCplG','_updateHeight','set','isActive','render','createCollection','491952plgCFI','detach','setTemplate','listenTo','arrowup','ck-annotation-wrapper--active','delegate','destroy','1283580nObxAQ','_mutationObserver','presentation','isDirty','add','height','ck-annotation-wrapper','clear','attach','targetRect'];_0x5501=function(){return _0x23ac5b;};return _0x5501();}export default class T extends _0x284c38{constructor(_0x665462,_0x385178){const _0x515e3c=_0xebc6;super(_0x665462),this['id']=_0x40b387(),this[_0x515e3c(0xa4)]=new _0x3e0019(),this[_0x515e3c(0xad)]=new _0x5a6847(),this[_0x515e3c(0xad)][_0x515e3c(0xb2)](_0x515e3c(0xa9),(_0x2c5d33,_0x3987b1)=>this[_0x515e3c(0x9f)](_0x515e3c(0xa9),_0x3987b1)),this[_0x515e3c(0xb2)](_0x515e3c(0x9a),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x515e3c(0xb2)](_0x515e3c(0x96),0x0),this[_0x515e3c(0xb2)](_0x515e3c(0xb3),!0x1),this[_0x515e3c(0xb2)](_0x515e3c(0x94),!0x1),this[_0x515e3c(0xb2)](_0x515e3c(0xab),0x0),this[_0x515e3c(0xb2)](_0x515e3c(0xa6),''),this[_0x515e3c(0x92)]=_0xb3b3d0(()=>this[_0x515e3c(0xb1)]()),this[_0x515e3c(0xa5)]=this[_0x515e3c(0x88)](),this[_0x515e3c(0xa5)][_0x515e3c(0x8f)](_0x515e3c(0x8d),_0x515e3c(0x9b))['to'](this),this[_0x515e3c(0xa5)][_0x515e3c(0x95)](_0x385178),this[_0x515e3c(0xa1)]=_0x385178;const _0x1965e4=this[_0x515e3c(0xa0)];this[_0x515e3c(0x8b)]({'tag':_0x515e3c(0xa8),'attributes':{'class':['ck',_0x515e3c(0x97),_0x515e3c(0xac),_0x1965e4['if'](_0x515e3c(0xb3),_0x515e3c(0x8e))],'role':_0x515e3c(0x93)},'children':this[_0x515e3c(0xa5)]});}[_0x15870e(0xb4)](){const _0x4e8418=_0x15870e;super[_0x4e8418(0xb4)](),this[_0x4e8418(0xa4)][_0x4e8418(0x95)](this[_0x4e8418(0xae)]),this[_0x4e8418(0xad)][_0x4e8418(0x8c)](this[_0x4e8418(0xae)]),this[_0x4e8418(0x92)][_0x4e8418(0x99)](this[_0x4e8418(0xae)]);}[_0x15870e(0x90)](){const _0x41da4d=_0x15870e;this[_0x41da4d(0xa5)][_0x41da4d(0x98)](),this[_0x41da4d(0xad)][_0x41da4d(0x90)](),this[_0x41da4d(0xa4)][_0x41da4d(0x90)](),this[_0x41da4d(0x92)][_0x41da4d(0x8a)](),super[_0x41da4d(0x90)]();}[_0x15870e(0xa7)](){const _0x2c94cb=_0x15870e;this[_0x2c94cb(0xa5)][_0x2c94cb(0xaa)]&&this[_0x2c94cb(0xa5)][_0x2c94cb(0xaa)][_0x2c94cb(0xa7)]();}[_0x15870e(0xb1)](){const _0x4cd344=_0x15870e,_0x409b5c=this[_0x4cd344(0xae)][_0x4cd344(0x9c)];_0x409b5c&&(this[_0x4cd344(0x96)]=_0x409b5c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d7e1c=_0x6074;function _0x6074(_0x465627,_0x437794){const _0x2055f4=_0x2055();return _0x6074=function(_0x6074a3,_0x3354c2){_0x6074a3=_0x6074a3-0x131;let _0x458ae1=_0x2055f4[_0x6074a3];return _0x458ae1;},_0x6074(_0x465627,_0x437794);}(function(_0x1af1b9,_0x4ef366){const _0x235a0c=_0x6074,_0x10b5b4=_0x1af1b9();while(!![]){try{const _0x4d6db9=-parseInt(_0x235a0c(0x13b))/0x1+-parseInt(_0x235a0c(0x14f))/0x2+-parseInt(_0x235a0c(0x139))/0x3*(parseInt(_0x235a0c(0x134))/0x4)+parseInt(_0x235a0c(0x136))/0x5*(parseInt(_0x235a0c(0x13d))/0x6)+-parseInt(_0x235a0c(0x13c))/0x7*(parseInt(_0x235a0c(0x132))/0x8)+parseInt(_0x235a0c(0x141))/0x9+parseInt(_0x235a0c(0x133))/0xa;if(_0x4d6db9===_0x4ef366)break;else _0x10b5b4['push'](_0x10b5b4['shift']());}catch(_0x5d94c7){_0x10b5b4['push'](_0x10b5b4['shift']());}}}(_0x2055,0x4669e));import{View as _0x51db3f}from'ckeditor5/src/ui.js';import{toUnit as _0x1f0118}from'ckeditor5/src/utils.js';import _0x1b54de from'../../utils/createmutationobserver.js';const qt=_0x1f0118('px');function _0x2055(){const _0x2cb112=['content','updateHeight','bind','arrowup','element','bottom','presentation','clientHeight','delegate','detach','div','attach','1083300BwDwfT','clear','height','top','isAnimationDisabled','ck-sidebar-item','createCollection','first','arrowdown','set','24JGTCNf','7717850AFRYBG','236ALqJeb','_targetTop','2794405WhwEWq','focus','_mutationObserver','9963VuTpaI','destroy','487531sSPZgr','38395yMkVEQ','6DbOoAO','bindTemplate','render','ck-sidebar-item--no-animation','1793907BosEAB','setTemplate'];_0x2055=function(){return _0x2cb112;};return _0x2055();}export default class H extends _0x51db3f{constructor(_0x27e446){const _0x5ef4ab=_0x6074;super(_0x27e446),this[_0x5ef4ab(0x131)](_0x5ef4ab(0x152),0x0),this[_0x5ef4ab(0x131)](_0x5ef4ab(0x151),0x0),this[_0x5ef4ab(0x145)](_0x5ef4ab(0x148))['to'](this,_0x5ef4ab(0x152),this,_0x5ef4ab(0x151),(_0x20e5d0,_0x14e417)=>_0x20e5d0+_0x14e417),this[_0x5ef4ab(0x131)](_0x5ef4ab(0x153),!0x1),this[_0x5ef4ab(0x138)]=_0x1b54de(()=>this[_0x5ef4ab(0x144)]()),this[_0x5ef4ab(0x135)]=null,this[_0x5ef4ab(0x143)]=this[_0x5ef4ab(0x155)](),this[_0x5ef4ab(0x143)][_0x5ef4ab(0x14b)](_0x5ef4ab(0x146),_0x5ef4ab(0x157))['to'](this);const _0x36d0a2=this[_0x5ef4ab(0x13e)];this[_0x5ef4ab(0x142)]({'tag':_0x5ef4ab(0x14d),'attributes':{'class':[_0x5ef4ab(0x154),_0x36d0a2['to'](_0x5ef4ab(0x153),_0x38c7e2=>_0x38c7e2?_0x5ef4ab(0x140):'')],'style':{'top':_0x36d0a2['to'](_0x5ef4ab(0x152),_0x5e8130=>qt(_0x5e8130))},'role':_0x5ef4ab(0x149)},'children':this[_0x5ef4ab(0x143)]});}[_0x1d7e1c(0x13f)](){const _0x10a4f0=_0x1d7e1c;super[_0x10a4f0(0x13f)](),this[_0x10a4f0(0x138)][_0x10a4f0(0x14e)](this[_0x10a4f0(0x147)]);}[_0x1d7e1c(0x137)](){const _0x2df4fe=_0x1d7e1c;this[_0x2df4fe(0x143)][_0x2df4fe(0x156)]&&this[_0x2df4fe(0x143)][_0x2df4fe(0x156)][_0x2df4fe(0x137)]();}[_0x1d7e1c(0x144)](){const _0x315bb1=_0x1d7e1c,_0x15c513=this[_0x315bb1(0x147)][_0x315bb1(0x14a)];_0x15c513&&(this[_0x315bb1(0x151)]=_0x15c513);}[_0x1d7e1c(0x13a)](){const _0x336491=_0x1d7e1c;this[_0x336491(0x143)][_0x336491(0x150)](),this[_0x336491(0x138)][_0x336491(0x14c)](),super[_0x336491(0x13a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ac822=_0xf860;(function(_0x52f2cd,_0x279a25){const _0x46ac75=_0xf860,_0x2eafe2=_0x52f2cd();while(!![]){try{const _0x22f19d=-parseInt(_0x46ac75(0x1dc))/0x1+parseInt(_0x46ac75(0x1d9))/0x2+-parseInt(_0x46ac75(0x1ef))/0x3*(parseInt(_0x46ac75(0x1f1))/0x4)+parseInt(_0x46ac75(0x1f7))/0x5+-parseInt(_0x46ac75(0x1dd))/0x6*(-parseInt(_0x46ac75(0x1e7))/0x7)+-parseInt(_0x46ac75(0x1e5))/0x8+parseInt(_0x46ac75(0x1ff))/0x9;if(_0x22f19d===_0x279a25)break;else _0x2eafe2['push'](_0x2eafe2['shift']());}catch(_0xcd5b37){_0x2eafe2['push'](_0x2eafe2['shift']());}}}(_0x368c,0x71077));import{View as _0x37431f,FocusCycler as _0x51c2e2}from'ckeditor5/src/ui.js';import{FocusTracker as _0x341726,toUnit as _0x209ca4}from'ckeditor5/src/utils.js';function _0xf860(_0x379ed0,_0x234c00){const _0x368c25=_0x368c();return _0xf860=function(_0xf8601,_0x42fcb6){_0xf8601=_0xf8601-0x1d7;let _0x5aef55=_0x368c25[_0xf8601];return _0x5aef55;},_0xf860(_0x379ed0,_0x234c00);}import{getTranslation as _0x2b2dcb}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x209ca4('px');function _0x368c(){const _0x2df5c5=['delegate','4BkYKnS','uiLanguageDirection','focusTracker','focusNext','createCollection','focus','1653330eQxgDa','focusCycler','ck-reset','div','bindTemplate','forEach','_updateItemPositionInFocusables','focusables','4085820hCCgZs','minHeight','focusFirst','arrowup','application','number','_setupKeyboardNavigation','getIndex','change:top','listenTo','render','set','154594FNTNJZ','Annotations\x20list','add','588518QYPLjA','10410mVskzW','setTemplate','top','change','added','list','focusPrevious','element','894992FrPSom','removed','1253itfJDA','Annotations\x20sidebar','source','class','length','ck-sidebar','remove','arrowdown','27447YQVHcC'];_0x368c=function(){return _0x2df5c5;};return _0x368c();}export default class V extends _0x37431f{constructor(_0xb34423){const _0x5ba95b=_0xf860;super(_0xb34423);const _0x1352ed=this[_0x5ba95b(0x1fb)];this[_0x5ba95b(0x1d8)](_0x5ba95b(0x200),0x0),this[_0x5ba95b(0x1d8)](_0x5ba95b(0x1ea),''),this[_0x5ba95b(0x1e2)]=this[_0x5ba95b(0x1f5)](),this[_0x5ba95b(0x1fe)]=this[_0x5ba95b(0x1f5)](),this[_0x5ba95b(0x1e2)][_0x5ba95b(0x1f0)](_0x5ba95b(0x202),_0x5ba95b(0x1ee))['to'](this),this[_0x5ba95b(0x1f3)]=new _0x341726(),this[_0x5ba95b(0x1f8)]=new _0x51c2e2({'focusables':this[_0x5ba95b(0x1fe)],'focusTracker':this[_0x5ba95b(0x1f3)]}),this[_0x5ba95b(0x1de)]({'tag':_0x5ba95b(0x1fa),'attributes':{'class':['ck',_0x5ba95b(0x1ec),_0x5ba95b(0x1f9),_0x1352ed['to'](_0x5ba95b(0x1ea))],'style':{'minHeight':_0x1352ed['to'](_0x5ba95b(0x200),_0x2caff0=>_0x5ba95b(0x204)==typeof _0x2caff0?qt(_0x2caff0+0xa):null)},'dir':_0xb34423[_0x5ba95b(0x1f2)],'role':_0x5ba95b(0x203),'aria-label':_0x2b2dcb(_0xb34423,_0x5ba95b(0x1e8)),'tabindex':0x0},'children':[{'tag':_0x5ba95b(0x1fa),'attributes':{'role':_0x5ba95b(0x1e2),'aria-label':_0x2b2dcb(_0xb34423,_0x5ba95b(0x1da))},'children':this[_0x5ba95b(0x1e2)]}]});}[_0x5ac822(0x1d7)](){const _0x57b24d=_0x5ac822;super[_0x57b24d(0x1d7)](),this[_0x57b24d(0x205)]();}[_0x5ac822(0x1f6)](){const _0x5795ef=_0x5ac822;this[_0x5795ef(0x1f8)][_0x5795ef(0x201)]();}[_0x5ac822(0x205)](){const _0x41c9b3=_0x5ac822;this[_0x41c9b3(0x1e2)][_0x41c9b3(0x1f0)](_0x41c9b3(0x207))['to'](this),this['on'](_0x41c9b3(0x207),_0x4a4df7=>{const _0x16bb68=_0x41c9b3;this[_0x16bb68(0x1fd)](_0x4a4df7[_0x16bb68(0x1e9)]);}),this[_0x41c9b3(0x1e2)][_0x41c9b3(0x1fc)](_0x3135fc=>{const _0x3ae74c=_0x41c9b3;this[_0x3ae74c(0x1f3)][_0x3ae74c(0x1db)](_0x3135fc[_0x3ae74c(0x1e4)]),this[_0x3ae74c(0x1fd)](_0x3135fc);}),this[_0x41c9b3(0x1e2)]['on'](_0x41c9b3(0x1e0),(_0x5ef97a,_0x56c544)=>{const _0x3ffd3a=_0x41c9b3;for(const _0x4879d8 of _0x56c544[_0x3ffd3a(0x1e6)])this[_0x3ffd3a(0x1f3)][_0x3ffd3a(0x1ed)](_0x4879d8[_0x3ffd3a(0x1e4)]),this[_0x3ffd3a(0x1fe)][_0x3ffd3a(0x1ed)](_0x4879d8);for(const _0x53569c of _0x56c544[_0x3ffd3a(0x1e1)])this[_0x3ffd3a(0x1f3)][_0x3ffd3a(0x1db)](_0x53569c[_0x3ffd3a(0x1e4)]),this[_0x3ffd3a(0x1fd)](_0x53569c);}),this['on'](_0x41c9b3(0x202),()=>{const _0x1fc633=_0x41c9b3;this[_0x1fc633(0x1f8)][_0x1fc633(0x1e3)]();}),this['on'](_0x41c9b3(0x1ee),()=>{const _0x422ca0=_0x41c9b3;this[_0x422ca0(0x1f8)][_0x422ca0(0x1f4)]();}),this[_0x41c9b3(0x208)](this[_0x41c9b3(0x1e4)],_0x41c9b3(0x1f6),()=>{const _0xbe5ab9=_0x41c9b3;this[_0xbe5ab9(0x1f6)]();});}[_0x5ac822(0x1fd)](_0x2c7714){const _0x298ac2=_0x5ac822,_0x1e00e3=this[_0x298ac2(0x1fe)][_0x298ac2(0x206)](_0x2c7714);let _0x14dc15,_0x16d0bb;for(const _0x55ef1f of this[_0x298ac2(0x1fe)])if(_0x2c7714[_0x298ac2(0x1df)]<_0x55ef1f[_0x298ac2(0x1df)]){_0x14dc15=_0x55ef1f;break;}if(_0x16d0bb=_0x14dc15?this[_0x298ac2(0x1fe)][_0x298ac2(0x206)](_0x14dc15):this[_0x298ac2(0x1fe)][_0x298ac2(0x1eb)],-0x1!==_0x1e00e3){if(_0x1e00e3===_0x16d0bb-0x1)return;this[_0x298ac2(0x1fe)][_0x298ac2(0x1ed)](_0x2c7714),_0x16d0bb=_0x14dc15?this[_0x298ac2(0x1fe)][_0x298ac2(0x206)](_0x14dc15):this[_0x298ac2(0x1fe)][_0x298ac2(0x1eb)];}this[_0x298ac2(0x1fe)][_0x298ac2(0x1db)](_0x2c7714,_0x16d0bb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5f5146=_0x1593;(function(_0x4282b5,_0x5b8542){const _0x2b319c=_0x1593,_0x3c2316=_0x4282b5();while(!![]){try{const _0xc67ffd=-parseInt(_0x2b319c(0x1a9))/0x1*(parseInt(_0x2b319c(0x1c5))/0x2)+parseInt(_0x2b319c(0x1ee))/0x3+-parseInt(_0x2b319c(0x1c0))/0x4*(-parseInt(_0x2b319c(0x1d2))/0x5)+-parseInt(_0x2b319c(0x1c6))/0x6+-parseInt(_0x2b319c(0x1e8))/0x7+-parseInt(_0x2b319c(0x1b9))/0x8*(-parseInt(_0x2b319c(0x1aa))/0x9)+-parseInt(_0x2b319c(0x1ca))/0xa;if(_0xc67ffd===_0x5b8542)break;else _0x3c2316['push'](_0x3c2316['shift']());}catch(_0x16d5d9){_0x3c2316['push'](_0x3c2316['shift']());}}}(_0x3d63,0x67603));function _0x3d63(){const _0x26a64f=['removeEventListener','wideSidebar','requires','activeAnnotation','blur','1922760LvEUGZ','1LPptPr','9LrGHBE','annotations','_integrateWithEditorAnnotations','addAnnotation','isPremiumPlugin','_refreshPositioningDebounced','isAttached','_activeAnnotation','getOrderedSelectedAnnotations','init','set','_attachToContainer','updateTargetRect','pluginName','addEventListener','5378240cGyaZe','_detachFromContainer','from','plugins','resize','register','stop','4504puefeQ','switchTo','EditorAnnotations','focus','_editorAnnotations','589642FuQYxP','2692866KpZQjM','widesidebar-attach-already-attached','get','has','1230490JzbqZy','widesidebar-detach-not-attached','set:container','stopListening','attach','setActiveAnnotation','refreshPositioning','off','1585BxXVmp','detach','ready','hasDomSelection','destroy','high','uiUpdate','cancel','editors','context','rearrange','listenTo','add','refresh','change:container','WideSidebar','isOfficialPlugin','ck-sidebar--wide','container','_destroyEditorAnnotationsIntegration','_annotations','remove','2660238bakVOQ'];_0x3d63=function(){return _0x26a64f;};return _0x3d63();}function _0x1593(_0x14f435,_0x4051ce){const _0x3d63cc=_0x3d63();return _0x1593=function(_0x15936a,_0x48faf0){_0x15936a=_0x15936a-0x1a9;let _0x54337e=_0x3d63cc[_0x15936a];return _0x54337e;},_0x1593(_0x14f435,_0x4051ce);}import{ContextPlugin as _0x21767e,Context as _0x4eb118}from'ckeditor5/src/core.js';import _0xba3507 from'./annotationsuis.js';import _0x163fd7 from'./sidebar.js';import{CKEditorError as _0x21adec,Collection as _0x587cf0}from'ckeditor5/src/utils.js';import{debounce as _0x39dcee}from'lodash-es';export default class e extends _0x21767e{static get[_0x5f5146(0x1eb)](){return[_0x163fd7,_0xba3507];}static get[_0x5f5146(0x1b7)](){const _0x40d391=_0x5f5146;return _0x40d391(0x1e1);}static get[_0x5f5146(0x1e2)](){return!0x0;}static get[_0x5f5146(0x1ae)](){return!0x0;}constructor(_0xa1a23a){const _0xcabe17=_0x5f5146;super(_0xa1a23a),this[_0xcabe17(0x1b0)]=!0x1,this[_0xcabe17(0x1b4)](_0xcabe17(0x1ec),null),this[_0xcabe17(0x1ab)]=null,this[_0xcabe17(0x1c4)]=new _0x587cf0(),this[_0xcabe17(0x1af)]=_0x39dcee(()=>{const _0x49a9cc=_0xcabe17;this[_0x49a9cc(0x1ab)][_0x49a9cc(0x1d0)]();},0xfa,{'leading':!0x1});}[_0x5f5146(0x1b3)](){const _0x384f17=_0x5f5146,_0x3f1594=this[_0x384f17(0x1db)][_0x384f17(0x1bc)][_0x384f17(0x1c8)](_0xba3507),_0x2f6044=this[_0x384f17(0x1db)][_0x384f17(0x1bc)][_0x384f17(0x1c8)](_0x163fd7);_0x3f1594[_0x384f17(0x1be)](_0x384f17(0x1ea),this),_0x2f6044[_0x384f17(0x1e4)]&&_0x3f1594[_0x384f17(0x1c1)](_0x384f17(0x1ea));}[_0x5f5146(0x1cf)](_0x38ff57){const _0x429c6a=_0x5f5146;if(_0x38ff57===this[_0x429c6a(0x1ec)])return;const _0x474870=this[_0x429c6a(0x1db)][_0x429c6a(0x1bc)][_0x429c6a(0x1c8)](_0x163fd7);_0x474870[_0x429c6a(0x1b1)]=_0x38ff57;const _0x67e9b6=this[_0x429c6a(0x1ec)];this[_0x429c6a(0x1ec)]=_0x38ff57,_0x474870[_0x429c6a(0x1df)]({'blurredAnnotation':_0x67e9b6,'activatedAnnotation':this[_0x429c6a(0x1ec)]});}[_0x5f5146(0x1ce)](_0x1893f7){const _0xc052eb=_0x5f5146;this[_0xc052eb(0x1ab)]=_0x1893f7;const _0x163d90=this[_0xc052eb(0x1db)][_0xc052eb(0x1bc)][_0xc052eb(0x1c8)](_0x163fd7);if(_0x163d90[_0xc052eb(0x1e6)]=_0x1893f7,this[_0xc052eb(0x1b0)])throw new _0x21adec(_0xc052eb(0x1c7),this);this[_0xc052eb(0x1b0)]=!0x0,this[_0xc052eb(0x1dd)](_0x163d90,_0xc052eb(0x1cc),()=>{const _0x429cff=_0xc052eb;this[_0x429cff(0x1d3)](),this[_0x429cff(0x1dd)](_0x163d90,_0x429cff(0x1e0),_0x211a90=>{const _0x1107a7=_0x429cff;_0x211a90[_0x1107a7(0x1d1)](),this[_0x1107a7(0x1ce)](_0x1893f7);});}),_0x163d90[_0xc052eb(0x1b5)]({'viewClass':_0xc052eb(0x1e3)});const _0x56867a=_0x406b05=>{const _0x2c4fd8=_0xc052eb;_0x406b05[_0x2c4fd8(0x1b6)](),_0x163d90[_0x2c4fd8(0x1ad)](_0x406b05);};for(const _0x3e07c3 of _0x1893f7)_0x56867a(_0x3e07c3);this[_0xc052eb(0x1dd)](_0x1893f7,_0xc052eb(0x1de),(_0x30c4dd,_0x4f7df9)=>{_0x56867a(_0x4f7df9);}),this[_0xc052eb(0x1dd)](_0x1893f7,_0xc052eb(0x1e7),(_0xe04bbb,_0x57d054,_0x53309c)=>{const _0x2b1d99=_0xc052eb;_0x163d90[_0x2b1d99(0x1dc)]({'removedAnnotation':_0x57d054,'previousAnnotation':_0x1893f7[_0x2b1d99(0x1c8)](_0x53309c-0x1),'nextAnnotation':_0x1893f7[_0x2b1d99(0x1c8)](_0x53309c+0x1)}),_0x57d054===this[_0x2b1d99(0x1ec)]&&this[_0x2b1d99(0x1cf)](null);},{'priority':_0xc052eb(0x1d7)}),this[_0xc052eb(0x1dd)](_0x1893f7,_0xc052eb(0x1c3),(_0x24bd20,_0x6c1121)=>{const _0x1090ea=_0xc052eb;this[_0x1090ea(0x1cf)](_0x6c1121);}),this[_0xc052eb(0x1dd)](_0x1893f7,_0xc052eb(0x1ed),()=>{const _0x10651d=_0xc052eb;this[_0x10651d(0x1cf)](null);});const _0xf242f1=this[_0xc052eb(0x1db)]instanceof _0x4eb118?this[_0xc052eb(0x1db)][_0xc052eb(0x1da)]:new _0x587cf0([this[_0xc052eb(0x1db)]]);for(const _0xb2ce46 of _0xf242f1)this[_0xc052eb(0x1ac)](_0xb2ce46);this[_0xc052eb(0x1dd)](_0xf242f1,_0xc052eb(0x1de),(_0x35365e,_0x203cc7)=>{const _0x7c02d1=_0xc052eb;this[_0x7c02d1(0x1dd)](_0x203cc7,_0x7c02d1(0x1d4),()=>{const _0x3552f2=_0x7c02d1;this[_0x3552f2(0x1ac)](_0x203cc7);});}),this[_0xc052eb(0x1dd)](_0xf242f1,_0xc052eb(0x1e7),(_0xae81c0,_0x41627d)=>{const _0x17ae5a=_0xc052eb;_0x41627d[_0x17ae5a(0x1bc)][_0x17ae5a(0x1c9)](_0x17ae5a(0x1c2))&&this[_0x17ae5a(0x1e5)](_0x41627d[_0x17ae5a(0x1bc)][_0x17ae5a(0x1c8)](_0x17ae5a(0x1c2)));}),window[_0xc052eb(0x1b8)](_0xc052eb(0x1bd),this[_0xc052eb(0x1af)]),this[_0xc052eb(0x1ab)][_0xc052eb(0x1d0)]();}[_0x5f5146(0x1d3)](){const _0x40c20a=_0x5f5146;if(!this[_0x40c20a(0x1b0)])throw new _0x21adec(_0x40c20a(0x1cb),this);this[_0x40c20a(0x1cf)](null);const _0x23f586=this[_0x40c20a(0x1db)][_0x40c20a(0x1bc)][_0x40c20a(0x1c8)](_0x163fd7);_0x23f586[_0x40c20a(0x1ba)](this[_0x40c20a(0x1ab)]),this[_0x40c20a(0x1cd)](_0x23f586),this[_0x40c20a(0x1cd)](this[_0x40c20a(0x1ab)]),this[_0x40c20a(0x1db)]instanceof _0x4eb118&&this[_0x40c20a(0x1cd)](this[_0x40c20a(0x1db)][_0x40c20a(0x1da)]);for(const _0x4921fe of Array[_0x40c20a(0x1bb)](this[_0x40c20a(0x1c4)]))this[_0x40c20a(0x1e5)](_0x4921fe);window[_0x40c20a(0x1e9)](_0x40c20a(0x1bd),this[_0x40c20a(0x1af)]),this[_0x40c20a(0x1af)][_0x40c20a(0x1d9)](),this[_0x40c20a(0x1ec)]=null,this[_0x40c20a(0x1b0)]=!0x1,this[_0x40c20a(0x1ab)]=null;}[_0x5f5146(0x1d6)](){const _0x4589a5=_0x5f5146;this[_0x4589a5(0x1b0)]&&this[_0x4589a5(0x1d3)]();}[_0x5f5146(0x1ac)](_0x4384c2){const _0x443cd9=_0x5f5146;if(!_0x4384c2[_0x443cd9(0x1bc)][_0x443cd9(0x1c9)](_0x443cd9(0x1c2)))return;const _0x42bac5=_0x4384c2[_0x443cd9(0x1bc)][_0x443cd9(0x1c8)](_0x443cd9(0x1c2)),_0x2f105d=()=>{const _0x5cc32d=_0x443cd9,_0x4c23ea=_0x42bac5[_0x5cc32d(0x1b2)]({'annotations':this[_0x5cc32d(0x1ab)],'activeAnnotation':this[_0x5cc32d(0x1ec)]});this[_0x5cc32d(0x1cf)](_0x4c23ea[0x0]||null);};this[_0x443cd9(0x1dd)](_0x42bac5,_0x443cd9(0x1df),_0x2f105d),this[_0x443cd9(0x1dd)](_0x42bac5,_0x443cd9(0x1ed),(_0x356859,{isAnnotationTracked:_0x3ab321})=>{const _0x505588=_0x443cd9;this[_0x505588(0x1ec)]&&_0x3ab321(this[_0x505588(0x1ec)])&&this[_0x505588(0x1cf)](null);}),this[_0x443cd9(0x1dd)](_0x42bac5,_0x443cd9(0x1d8),()=>{const _0x494ed6=_0x443cd9;this[_0x494ed6(0x1af)]();}),this[_0x443cd9(0x1dd)](this[_0x443cd9(0x1ab)],_0x443cd9(0x1ed),_0x76b94d=>{const _0x216b5c=_0x443cd9;_0x42bac5[_0x216b5c(0x1d5)]()&&(_0x2f105d(),_0x76b94d[_0x216b5c(0x1bf)]());},{'priority':_0x443cd9(0x1d7)}),this[_0x443cd9(0x1c4)][_0x443cd9(0x1de)](_0x42bac5);}[_0x5f5146(0x1e5)](_0x1899a2){const _0x4d9845=_0x5f5146;this[_0x4d9845(0x1cd)](_0x1899a2),this[_0x4d9845(0x1c4)][_0x4d9845(0x1e7)](_0x1899a2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x257bf9=_0x3044;function _0x516e(){const _0x21bc95=['getRanges','start','tableCell','end','getItems','7LqUEtG','_trimToContent','_itemIsContent','push','document','model','getLastMatchingPosition','selection','editor','execute','refresh','_hasContent','comment:','1398900MeCknT','17528WNrUYT','27656289MQxIKj','schema','backward','element','substr','4HrHOld','1482600OPYeek','isObject','change','$textProxy','createRange','5597816XUlsRt','item','addMarker','1810665GNXbJS','3230790RbcbBV','isEnabled'];_0x516e=function(){return _0x21bc95;};return _0x516e();}(function(_0xe3b961,_0x300f5c){const _0x30f9f5=_0x3044,_0x4532d4=_0xe3b961();while(!![]){try{const _0x107e16=-parseInt(_0x30f9f5(0xbb))/0x1+-parseInt(_0x30f9f5(0xc2))/0x2+-parseInt(_0x30f9f5(0xa5))/0x3+parseInt(_0x30f9f5(0xc1))/0x4*(-parseInt(_0x30f9f5(0xa6))/0x5)+parseInt(_0x30f9f5(0xba))/0x6+-parseInt(_0x30f9f5(0xad))/0x7*(parseInt(_0x30f9f5(0xa2))/0x8)+parseInt(_0x30f9f5(0xbc))/0x9;if(_0x107e16===_0x300f5c)break;else _0x4532d4['push'](_0x4532d4['shift']());}catch(_0x1a9f78){_0x4532d4['push'](_0x4532d4['shift']());}}}(_0x516e,0x91f2b));function _0x3044(_0x18e872,_0x53c5fe){const _0x516e6c=_0x516e();return _0x3044=function(_0x3044f7,_0x32c156){_0x3044f7=_0x3044f7-0xa2;let _0x3f31b3=_0x516e6c[_0x3044f7];return _0x3f31b3;},_0x3044(_0x18e872,_0x53c5fe);}import{Command as _0x47d5b8}from'ckeditor5/src/core.js';import{uid as _0x3b343f}from'ckeditor5/src/utils.js';export default class J extends _0x47d5b8{[_0x257bf9(0xb7)](){const _0x4058a0=_0x257bf9,_0x5e5301=this[_0x4058a0(0xb5)][_0x4058a0(0xb2)][_0x4058a0(0xb1)][_0x4058a0(0xb4)];for(const _0x5e3599 of _0x5e5301[_0x4058a0(0xa8)]())if(this[_0x4058a0(0xb8)](_0x5e3599))return void(this[_0x4058a0(0xa7)]=!0x0);this[_0x4058a0(0xa7)]=!0x1;}[_0x257bf9(0xb6)]({threadId:_0x1b4954=_0x3b343f()}={}){const _0x3818bc=_0x257bf9,_0x51fb29=this[_0x3818bc(0xb5)][_0x3818bc(0xb2)],_0x479033=[];for(const _0x3835c8 of _0x51fb29[_0x3818bc(0xb1)][_0x3818bc(0xb4)][_0x3818bc(0xa8)]())this[_0x3818bc(0xb8)](_0x3835c8)&&_0x479033[_0x3818bc(0xb0)](this[_0x3818bc(0xae)](_0x3835c8));_0x51fb29[_0x3818bc(0xc4)](_0x58bd55=>{const _0x1ac430=_0x3818bc;for(const _0x17e1e5 of _0x479033){const _0x3d5da0=_0x3b343f()[_0x1ac430(0xc0)](0x1,0x5),_0x19a061=_0x1ac430(0xb9)+_0x1b4954+':'+_0x3d5da0;_0x58bd55[_0x1ac430(0xa4)](_0x19a061,{'range':_0x17e1e5,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x257bf9(0xb8)](_0x3f693c){const _0x3ea0d7=_0x257bf9;for(const _0x1332bd of _0x3f693c[_0x3ea0d7(0xac)]())if(this[_0x3ea0d7(0xaf)](_0x1332bd))return!0x0;return!0x1;}[_0x257bf9(0xaf)](_0x972871){const _0x332d78=_0x257bf9;return _0x972871['is'](_0x332d78(0xc5))||this[_0x332d78(0xb5)][_0x332d78(0xb2)][_0x332d78(0xbd)][_0x332d78(0xc3)](_0x972871)&&!_0x972871['is'](_0x332d78(0xbf),_0x332d78(0xaa));}[_0x257bf9(0xae)](_0x3ab9a9){const _0x466fda=_0x257bf9,_0xe130d6=_0x3cf0fa=>!this[_0x466fda(0xaf)](_0x3cf0fa[_0x466fda(0xa3)]),_0x55ad5e=_0x3ab9a9[_0x466fda(0xa9)][_0x466fda(0xb3)](_0xe130d6),_0x36bea9=_0x3ab9a9[_0x466fda(0xab)][_0x466fda(0xb3)](_0xe130d6,{'direction':_0x466fda(0xbe)});return this[_0x466fda(0xb5)][_0x466fda(0xb2)][_0x466fda(0xc6)](_0x55ad5e,_0x36bea9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35faea=_0x1af5;(function(_0x5824cf,_0xf933e5){const _0x51488b=_0x1af5,_0xf0a8ea=_0x5824cf();while(!![]){try{const _0x5de270=-parseInt(_0x51488b(0x18c))/0x1*(-parseInt(_0x51488b(0x19b))/0x2)+parseInt(_0x51488b(0x195))/0x3+-parseInt(_0x51488b(0x18b))/0x4+-parseInt(_0x51488b(0x18e))/0x5*(parseInt(_0x51488b(0x186))/0x6)+parseInt(_0x51488b(0x18d))/0x7*(parseInt(_0x51488b(0x180))/0x8)+-parseInt(_0x51488b(0x17d))/0x9*(parseInt(_0x51488b(0x185))/0xa)+parseInt(_0x51488b(0x19c))/0xb;if(_0x5de270===_0xf933e5)break;else _0xf0a8ea['push'](_0xf0a8ea['shift']());}catch(_0xd828c7){_0xf0a8ea['push'](_0xf0a8ea['shift']());}}}(_0x51ae,0xb7639));import{ContextPlugin as _0x9c5eb5}from'ckeditor5/src/core.js';import{Collection as _0x252d7f}from'ckeditor5/src/utils.js';function _0x51ae(){const _0x1f8138=['623fwCKeK','49CUSfgD','10nlLgdC','isActive','removeCommentThread','isOfficialPlugin','listenTo','isVisible','archivedAt','3879075TBNRHP','getCommentThread','collection','highest','isPremiumPlugin','context','3422SfjXaO','2181498piJYau','init','requires','findIndex','CommentsArchive','archivedThreads','remove','length','get','12645081qabeAZ','add','pluginName','505016fKcFhD','has','focus','addCommentThread','_calculatePosition','10EdTrJh','1474188FNsbcB','stopListening','activate','plugins','change:archivedAt','1406476AKYarY'];_0x51ae=function(){return _0x1f8138;};return _0x51ae();}import _0xe38d4c from'./commentsrepository.js';import _0x21c4f3 from'../annotations/annotations.js';function _0x1af5(_0x1418a1,_0x3cb295){const _0x51aeb3=_0x51ae();return _0x1af5=function(_0x1af54d,_0x1c13fa){_0x1af54d=_0x1af54d-0x175;let _0x26032d=_0x51aeb3[_0x1af54d];return _0x26032d;},_0x1af5(_0x1418a1,_0x3cb295);}export default class f extends _0x9c5eb5{static get[_0x35faea(0x17f)](){const _0x41b3bc=_0x35faea;return _0x41b3bc(0x178);}static get[_0x35faea(0x191)](){return!0x0;}static get[_0x35faea(0x199)](){return!0x0;}static get[_0x35faea(0x176)](){return[_0xe38d4c,_0x21c4f3];}constructor(_0x5ae0ac){const _0x192962=_0x35faea;super(_0x5ae0ac),this[_0x192962(0x179)]=new _0x252d7f();}[_0x35faea(0x175)](){const _0x5d49=_0x35faea,_0x116e0a=this[_0x5d49(0x19a)],_0x367d85=_0x116e0a[_0x5d49(0x189)][_0x5d49(0x17c)](_0xe38d4c),_0x2f1534=_0x116e0a[_0x5d49(0x189)][_0x5d49(0x17c)](_0x21c4f3);this[_0x5d49(0x192)](_0x367d85,_0x5d49(0x183),(_0x1b85ca,{threadId:_0x40fb00})=>{const _0x3b29f3=_0x5d49,_0x514901=_0x367d85[_0x3b29f3(0x196)](_0x40fb00);_0x514901[_0x3b29f3(0x194)]&&this[_0x3b29f3(0x179)][_0x3b29f3(0x17e)](_0x514901,this[_0x3b29f3(0x184)](_0x514901[_0x3b29f3(0x194)])),this[_0x3b29f3(0x192)](_0x514901,_0x3b29f3(0x18a),(_0x363b3d,_0x101ccc,_0x56f884)=>{const _0x2f9f8a=_0x3b29f3;_0x56f884?this[_0x2f9f8a(0x179)][_0x2f9f8a(0x181)](_0x514901)||this[_0x2f9f8a(0x179)][_0x2f9f8a(0x17e)](_0x514901,this[_0x2f9f8a(0x184)](_0x514901[_0x2f9f8a(0x194)])):this[_0x2f9f8a(0x179)][_0x2f9f8a(0x181)](_0x514901)&&this[_0x2f9f8a(0x179)][_0x2f9f8a(0x17a)](_0x514901);});}),this[_0x5d49(0x192)](_0x367d85,_0x5d49(0x190),(_0x35aaae,{threadId:_0x1a247c})=>{const _0x26fbf9=_0x5d49,_0x4215eb=_0x367d85[_0x26fbf9(0x196)](_0x1a247c);this[_0x26fbf9(0x187)](_0x4215eb),this[_0x26fbf9(0x179)][_0x26fbf9(0x181)](_0x4215eb)&&this[_0x26fbf9(0x179)][_0x26fbf9(0x17a)](_0x4215eb);},{'priority':_0x5d49(0x198)}),this[_0x5d49(0x192)](_0x2f1534[_0x5d49(0x197)],_0x5d49(0x182),(_0x2877fe,_0x4e15fd)=>{const _0x44309b=_0x5d49;_0x4e15fd[_0x44309b(0x193)]||(_0x4e15fd[_0x44309b(0x18f)]=!0x0,_0x2f1534[_0x44309b(0x188)](_0x4e15fd));});}[_0x35faea(0x184)](_0x2528e3){const _0x2384b3=_0x35faea,_0x917508=[...this[_0x2384b3(0x179)]][_0x2384b3(0x177)](_0x11529e=>_0x11529e[_0x2384b3(0x194)]<_0x2528e3);return _0x917508>-0x1?_0x917508:this[_0x2384b3(0x179)][_0x2384b3(0x17b)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3921(){const _0x45233e=['CommentsArchiveUI','remove','splice','collection','EDITOR_TOP_SIDE','_visibleAnnotations','237WsFBOd','isEnabled','28084Mpzbny','escape','stop','listenTo','pluginName','292cxTiuy','plugins','isPremiumPlugin','archivedAt','length','execute','add','menuitemcheckbox','get','CommentsRepository','tooltip','menuBar:commentsArchive','source','_hideDialogOnAnnotationEscape','init','show','stopListening','findIndex','hide','184mwDoQL','COMMENTS_ARCHIVE','_calculatePosition','bind','annotationViews','1953078edbPRX','view','isOpen','componentFactory','focusableElements','_createCommentsArchiveButton','commentsArchive','isVisible','848490VelWUT','_pendingThreads','requires','13687982SVpqst','getByInnerView','find','2082cIquUC','410769KsqRCx','push','indexOf','_threadToController','filter','locale','Annotations','1453030SlEVbB','editor','set','config','isOfficialPlugin','archivedThreads','_toggleDialog','collaboration.channelId','channelId','isOn','198SWIKmS','innerView','commentsArchiveView','Dialog','has'];_0x3921=function(){return _0x45233e;};return _0x3921();}const _0x1e60f9=_0x1492;function _0x1492(_0x49f93f,_0x1af550){const _0x3921dc=_0x3921();return _0x1492=function(_0x149213,_0x4531e0){_0x149213=_0x149213-0x193;let _0xbd72ee=_0x3921dc[_0x149213];return _0xbd72ee;},_0x1492(_0x49f93f,_0x1af550);}(function(_0x30de66,_0x1dec01){const _0x4d8b92=_0x1492,_0x5fcb56=_0x30de66();while(!![]){try{const _0x1f1094=-parseInt(_0x4d8b92(0x1a1))/0x1*(-parseInt(_0x4d8b92(0x1c7))/0x2)+-parseInt(_0x4d8b92(0x19a))/0x3*(parseInt(_0x4d8b92(0x19c))/0x4)+parseInt(_0x4d8b92(0x1cf))/0x5+parseInt(_0x4d8b92(0x1b9))/0x6+-parseInt(_0x4d8b92(0x1c4))/0x7+parseInt(_0x4d8b92(0x1b4))/0x8*(parseInt(_0x4d8b92(0x1c8))/0x9)+-parseInt(_0x4d8b92(0x1c1))/0xa*(-parseInt(_0x4d8b92(0x1d9))/0xb);if(_0x1f1094===_0x1dec01)break;else _0x5fcb56['push'](_0x5fcb56['shift']());}catch(_0x24c81e){_0x5fcb56['push'](_0x5fcb56['shift']());}}}(_0x3921,0xf0f97));import'../../theme/commentsarchive.css';import{Plugin as _0x54440c}from'ckeditor5/src/core.js';import{ViewCollection as _0x41e6cc,MenuBarMenuListItemButtonView as _0x150f2c,ButtonView as _0x41b71f,Dialog as _0x35ec9,DialogViewPosition as _0x4a7425}from'ckeditor5/src/ui.js';import _0x3b0bcc from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x482d2c}from'../utils/common-translations.js';import _0x3720ec from'./ui/view/commentsarchiveview.js';import _0x3690e8 from'./commentsarchive.js';export default class a extends _0x54440c{static get[_0x1e60f9(0x1a0)](){const _0x365463=_0x1e60f9;return _0x365463(0x194);}static get[_0x1e60f9(0x1d3)](){return!0x0;}static get[_0x1e60f9(0x1a3)](){return!0x0;}static get[_0x1e60f9(0x1c3)](){return[_0x3690e8,_0x35ec9];}constructor(_0x4ddab9){const _0x42faa5=_0x1e60f9;super(_0x4ddab9),this[_0x42faa5(0x1ae)]=_0x4620af=>{const _0x596327=_0x42faa5,_0x323112=_0x4620af[_0x596327(0x1ad)];if(!this[_0x596327(0x1b8)][_0x596327(0x193)](_0x323112[_0x596327(0x1ba)]))return;const _0x1a22d1=this[_0x596327(0x1d0)][_0x596327(0x1a2)][_0x596327(0x1a9)](_0x596327(0x1dc));_0x1a22d1[_0x596327(0x1bb)]&&_0x596327(0x1bf)===_0x1a22d1['id']&&(_0x1a22d1[_0x596327(0x1b3)](),_0x4620af[_0x596327(0x19e)]());},this[_0x42faa5(0x1b8)]=new _0x41e6cc(),this[_0x42faa5(0x1c2)]=[];}[_0x1e60f9(0x1af)](){const _0x5b1bc0=_0x1e60f9,_0x2675bc=this[_0x5b1bc0(0x1d0)],_0x2b88dd=this[_0x5b1bc0(0x1ae)][_0x5b1bc0(0x1b7)](this);_0x2675bc['ui'][_0x5b1bc0(0x1bc)][_0x5b1bc0(0x1a7)](_0x5b1bc0(0x1bf),()=>this[_0x5b1bc0(0x1be)](_0x41b71f,!0x0)),_0x2675bc['ui'][_0x5b1bc0(0x1bc)][_0x5b1bc0(0x1a7)](_0x5b1bc0(0x1ac),()=>{const _0x365b27=_0x5b1bc0,_0x5d61c3=this[_0x365b27(0x1be)](_0x150f2c);return _0x5d61c3[_0x365b27(0x1d1)]({'role':_0x365b27(0x1a8)}),_0x5d61c3;});const _0x5be7e7=_0x2675bc[_0x5b1bc0(0x1a2)][_0x5b1bc0(0x1a9)](_0x3690e8),_0x16aab5=_0x2675bc[_0x5b1bc0(0x1a2)][_0x5b1bc0(0x1a9)](_0x5b1bc0(0x1ce)),_0x71d93c=_0x2675bc[_0x5b1bc0(0x1a2)][_0x5b1bc0(0x1a9)](_0x5b1bc0(0x1aa));this[_0x5b1bc0(0x19f)](_0x5be7e7[_0x5b1bc0(0x1d4)],_0x5b1bc0(0x1a7),(_0x3db8b3,_0x45d78b)=>{const _0x309da4=_0x5b1bc0,_0x1eebbc=_0x2675bc[_0x309da4(0x1d2)][_0x309da4(0x1a9)](_0x309da4(0x1d6));if(!_0x1eebbc||_0x45d78b[_0x309da4(0x1d7)]===_0x1eebbc){const _0x46391b=_0x71d93c[_0x309da4(0x1cb)][_0x309da4(0x1a9)](_0x45d78b);if(!_0x46391b)return void this[_0x309da4(0x1c2)][_0x309da4(0x1c9)](_0x45d78b);const _0x4de461=this[_0x309da4(0x1b6)](_0x45d78b[_0x309da4(0x1a4)]),_0x4da3d6=_0x16aab5[_0x309da4(0x1c5)](_0x46391b[_0x309da4(0x1ba)]);_0x4da3d6[_0x309da4(0x1c0)]&&_0x16aab5[_0x309da4(0x199)][_0x309da4(0x195)](_0x4da3d6),this[_0x309da4(0x1b8)][_0x309da4(0x1a7)](_0x4da3d6[_0x309da4(0x1ba)],_0x4de461);}}),this[_0x5b1bc0(0x19f)](_0x16aab5[_0x5b1bc0(0x197)],_0x5b1bc0(0x1a7),(_0x44611e,_0x5c3798)=>{const _0x1acb17=_0x5b1bc0,_0x242a87=this[_0x1acb17(0x1c2)][_0x1acb17(0x1c6)](_0x3aef5f=>{const _0x2ad046=_0x1acb17,_0x11b4e5=_0x71d93c[_0x2ad046(0x1cb)][_0x2ad046(0x1a9)](_0x3aef5f);return _0x11b4e5&&_0x5c3798[_0x2ad046(0x1da)]===_0x11b4e5[_0x2ad046(0x1ba)];});if(_0x242a87){const _0x3ed586=this[_0x1acb17(0x1b6)](_0x242a87[_0x1acb17(0x1a4)]);this[_0x1acb17(0x1b8)][_0x1acb17(0x1a7)](_0x5c3798[_0x1acb17(0x1ba)],_0x3ed586),this[_0x1acb17(0x1c2)][_0x1acb17(0x196)](this[_0x1acb17(0x1c2)][_0x1acb17(0x1ca)](_0x242a87),0x1);}}),this[_0x5b1bc0(0x19f)](_0x5be7e7[_0x5b1bc0(0x1d4)],_0x5b1bc0(0x195),(_0x377deb,_0x2fc57a)=>{const _0x714831=_0x5b1bc0,_0x1fb219=_0x2675bc[_0x714831(0x1d2)][_0x714831(0x1a9)](_0x714831(0x1d6));if(!_0x1fb219||_0x2fc57a[_0x714831(0x1d7)]===_0x1fb219){const _0x5cfb32=_0x71d93c[_0x714831(0x1cb)][_0x714831(0x1a9)](_0x2fc57a),_0x252949=_0x16aab5[_0x714831(0x1c5)](_0x5cfb32[_0x714831(0x1ba)]);this[_0x714831(0x1b8)][_0x714831(0x195)](_0x252949[_0x714831(0x1ba)]),this[_0x714831(0x1b1)](_0x252949[_0x714831(0x1bd)]);}}),this[_0x5b1bc0(0x19f)](_0x16aab5[_0x5b1bc0(0x197)],_0x5b1bc0(0x1a7),(_0x15b656,_0x268a73)=>{const _0x3565f8=_0x5b1bc0;this[_0x3565f8(0x19f)](_0x268a73,_0x3565f8(0x19d),_0x2b88dd);}),this[_0x5b1bc0(0x19f)](_0x16aab5[_0x5b1bc0(0x197)],_0x5b1bc0(0x195),(_0x59cf04,_0x18d521)=>{const _0x1242d4=_0x5b1bc0;this[_0x1242d4(0x1b1)](_0x18d521,_0x1242d4(0x19d),_0x2b88dd);});}[_0x1e60f9(0x1b6)](_0x4fdbb8){const _0x1cbe7d=_0x1e60f9,_0x1baf9e=this[_0x1cbe7d(0x1d0)][_0x1cbe7d(0x1d2)][_0x1cbe7d(0x1a9)](_0x1cbe7d(0x1d6)),_0x273e6d=[...this[_0x1cbe7d(0x1d0)][_0x1cbe7d(0x1a2)][_0x1cbe7d(0x1a9)](_0x3690e8)[_0x1cbe7d(0x1d4)]][_0x1cbe7d(0x1cc)](_0x233b86=>_0x233b86[_0x1cbe7d(0x1d7)]===_0x1baf9e)[_0x1cbe7d(0x1b2)](_0x76c559=>_0x76c559[_0x1cbe7d(0x1a4)]<_0x4fdbb8);return _0x273e6d<0x0||_0x273e6d>this[_0x1cbe7d(0x1b8)][_0x1cbe7d(0x1a5)]?this[_0x1cbe7d(0x1b8)][_0x1cbe7d(0x1a5)]:_0x273e6d-0x1;}[_0x1e60f9(0x1d5)](){const _0x540936=_0x1e60f9,_0x92c4b1=this[_0x540936(0x1d0)],_0x164a3f=_0x92c4b1[_0x540936(0x1a2)][_0x540936(0x1a9)](_0x540936(0x1dc));this[_0x540936(0x1db)]||(this[_0x540936(0x1db)]=new _0x3720ec(_0x92c4b1[_0x540936(0x1cd)],this[_0x540936(0x1b8)])),_0x540936(0x1bf)===_0x164a3f['id']?_0x164a3f[_0x540936(0x1b3)]():_0x164a3f[_0x540936(0x1b0)]({'id':_0x540936(0x1bf),'title':_0x482d2c(_0x92c4b1[_0x540936(0x1cd)],_0x540936(0x1b5)),'icon':_0x3b0bcc,'hasCloseButton':!0x0,'content':this[_0x540936(0x1db)],'position':_0x4a7425[_0x540936(0x198)]});}[_0x1e60f9(0x1be)](_0x5efb09,_0xcc1380=!0x1){const _0x4cd0b=_0x1e60f9,_0x3b28a5=this[_0x4cd0b(0x1d0)][_0x4cd0b(0x1cd)],_0x54a2cc=this[_0x4cd0b(0x1d0)][_0x4cd0b(0x1a2)][_0x4cd0b(0x1a9)](_0x4cd0b(0x1dc)),_0x2bb2e0=new _0x5efb09(_0x3b28a5);return _0x2bb2e0[_0x4cd0b(0x1b7)](_0x4cd0b(0x19b))['to'](this,_0x4cd0b(0x19b)),_0x2bb2e0[_0x4cd0b(0x1b7)](_0x4cd0b(0x1d8))['to'](_0x54a2cc,'id',_0x351ded=>_0x4cd0b(0x1bf)===_0x351ded),_0x2bb2e0[_0x4cd0b(0x1d1)]({'label':_0x482d2c(_0x3b28a5,_0x4cd0b(0x1b5)),'icon':_0x3b0bcc,'isToggleable':!0x0}),_0xcc1380&&(_0x2bb2e0[_0x4cd0b(0x1ab)]=!0x0),this[_0x4cd0b(0x19f)](_0x2bb2e0,_0x4cd0b(0x1a6),()=>this[_0x4cd0b(0x1d5)]()),_0x2bb2e0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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)];}
|
|
23
|
+
const _0x2384f7=_0x3d3d;(function(_0x16b879,_0x57c236){const _0x122319=_0x3d3d,_0x4d4f31=_0x16b879();while(!![]){try{const _0x6b846d=-parseInt(_0x122319(0x139))/0x1+parseInt(_0x122319(0x150))/0x2+-parseInt(_0x122319(0x147))/0x3+-parseInt(_0x122319(0x100))/0x4+-parseInt(_0x122319(0x17c))/0x5*(parseInt(_0x122319(0x15d))/0x6)+parseInt(_0x122319(0x11c))/0x7*(-parseInt(_0x122319(0x10e))/0x8)+parseInt(_0x122319(0x134))/0x9;if(_0x6b846d===_0x57c236)break;else _0x4d4f31['push'](_0x4d4f31['shift']());}catch(_0x474ab8){_0x4d4f31['push'](_0x4d4f31['shift']());}}}(_0xc33a,0x3b178));import{Plugin as _0x27c7a1}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x2d9ec5,scrollViewportToShowTarget as _0x4d65a5}from'ckeditor5/src/utils.js';import _0x594e01 from'./commentsrepository.js';import _0x208ba1 from'./addcommentthreadcommand.js';function _0x3d3d(_0x15d8d4,_0x475466){const _0xc33ae3=_0xc33a();return _0x3d3d=function(_0x3d3d78,_0x3d79aa){_0x3d3d78=_0x3d3d78-0xe4;let _0x387925=_0xc33ae3[_0x3d3d78];return _0x387925;},_0x3d3d(_0x15d8d4,_0x475466);}import{surroundingMarkersDetector as _0x11b8d7,getAllMarkersDomElementsSorted as _0x5a141e,FOCUS_ANNOTATION_KEYSTROKE as _0x2f8b86,Users as _0x151617}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x573aee from'../annotations/editorannotations.js';import _0x35293c from'./integrations/commentsrestrictededitingmode.js';import _0x2c416e from'./integrations/importword.js';import _0x45b693 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0xa56aeb from'../annotations/annotations.js';import{getTranslation as _0x223503}from'../utils/common-translations.js';export default class r extends _0x27c7a1{static get[_0x2384f7(0x10a)](){return[_0x594e01,_0x573aee,_0x151617,_0x35293c,_0x2c416e,_0x45b693];}static get[_0x2384f7(0x16b)](){const _0x324125=_0x2384f7;return _0x324125(0x13e);}static get[_0x2384f7(0x149)](){return!0x0;}static get[_0x2384f7(0x106)](){return!0x0;}constructor(_0x4e375c){const _0x61f9b2=_0x2384f7;super(_0x4e375c),this[_0x61f9b2(0x159)](_0x61f9b2(0xff),!0x0),_0x4e375c[_0x61f9b2(0x164)][_0x61f9b2(0x126)](_0x61f9b2(0x130),()=>this[_0x61f9b2(0xff)]=!0x1),this[_0x61f9b2(0x159)](_0x61f9b2(0x174),null),this['on'](_0x61f9b2(0x13f),(_0x56e68b,_0x40e27f,_0x115497,_0x30c98d)=>{const _0x536930=_0x61f9b2,_0x41adc1=_0x115497?splitMarkerName(_0x115497)['id']:null;if(_0x4e375c[_0x536930(0x156)][_0x536930(0x11a)](()=>{const _0x24e70b=_0x536930;if(_0x41adc1){const _0x119b5f=this[_0x24e70b(0xf4)](_0x41adc1);for(const _0x49955b of _0x119b5f)_0x4e375c[_0x24e70b(0x133)][_0x24e70b(0x12f)](_0x49955b);}if(_0x30c98d){const {id:_0x1f1bb8}=splitMarkerName(_0x30c98d),_0x59a143=this[_0x24e70b(0xf4)](_0x1f1bb8);for(const _0x40fb0a of _0x59a143)_0x4e375c[_0x24e70b(0x133)][_0x24e70b(0x12f)](_0x40fb0a);}}),_0x41adc1){const _0x3e4198=_0x4e375c[_0x536930(0x177)][_0x536930(0x132)](_0x594e01)[_0x536930(0x135)](_0x41adc1);_0x3e4198&&_0x3e4198[_0x536930(0x157)]&&this[_0x536930(0xfd)](_0x41adc1);}}),this[_0x61f9b2(0xe9)]();}[_0x2384f7(0x11e)](){const _0x3fe90f=_0x2384f7,_0x1e4b07=this[_0x3fe90f(0x129)],_0x1cb0f2=_0x1e4b07[_0x3fe90f(0x177)][_0x3fe90f(0x132)](_0x594e01),_0x179f49=_0x1e4b07[_0x3fe90f(0x173)][_0x3fe90f(0x132)](_0x3fe90f(0x165));_0x1e4b07[_0x3fe90f(0x12a)][_0x3fe90f(0x136)](_0x3fe90f(0x151),new _0x208ba1(_0x1e4b07)),this[_0x3fe90f(0xfc)](_0x1e4b07,_0x3fe90f(0x103),(_0x1b92e2,_0x4a65ec,_0x1ba9fb)=>{const _0x38c92e=_0x3fe90f;_0x1cb0f2[_0x38c92e(0xf8)](_0x1ba9fb,_0x1e4b07[_0x38c92e(0x173)][_0x38c92e(0x132)](_0x38c92e(0x165)));}),this[_0x3fe90f(0xfc)](_0x1cb0f2,mt(_0x3fe90f(0x151),_0x179f49),(_0x4ab842,{threadId:_0x2c55fc})=>{const _0x528017=_0x3fe90f,_0xbd5d1c=this[_0x528017(0x129)][_0x528017(0x177)][_0x528017(0x132)](_0x594e01)[_0x528017(0x135)](_0x2c55fc);_0xbd5d1c&&_0xbd5d1c[_0x528017(0x167)]&&this[_0x528017(0xf1)](_0x2c55fc);}),this[_0x3fe90f(0xfc)](_0x1cb0f2,mt(_0x3fe90f(0x15a),_0x179f49),(_0x434b5f,{threadId:_0xd6f64b})=>{const _0x1c67de=_0x3fe90f;_0x1e4b07[_0x1c67de(0x156)][_0x1c67de(0x107)]({'isUndoable':!0x1},_0x3a0d3d=>{const _0x34bde4=_0x1c67de,_0x169874=this[_0x34bde4(0xf4)](_0xd6f64b);for(const _0x516770 of _0x169874)_0x3a0d3d[_0x34bde4(0xfe)](_0x516770);});}),this[_0x3fe90f(0xfc)](_0x1cb0f2,mt(_0x3fe90f(0x14b),_0x179f49),(_0x43861b,{threadId:_0x564eac})=>{const _0x112f4b=_0x3fe90f;(this[_0x112f4b(0x160)](_0x564eac),this[_0x112f4b(0x129)][_0x112f4b(0x133)][_0x112f4b(0x12b)][_0x112f4b(0x171)])&&(this[_0x112f4b(0x129)][_0x112f4b(0x177)][_0x112f4b(0x132)](_0x594e01)[_0x112f4b(0x135)](_0x564eac)[_0x112f4b(0x167)]||this[_0x112f4b(0x129)][_0x112f4b(0x133)][_0x112f4b(0x12b)][_0x112f4b(0xe7)]());},{'priority':_0x3fe90f(0x102)}),this[_0x3fe90f(0xfc)](_0x1cb0f2,mt(_0x3fe90f(0x162),_0x179f49),(_0x1bfeca,{threadId:_0x781261})=>{const _0x3a6902=_0x3fe90f;this[_0x3a6902(0x160)](_0x781261);},{'priority':_0x3fe90f(0x102)}),this[_0x3fe90f(0xfc)](_0x1cb0f2,mt(_0x3fe90f(0x17a),_0x179f49),(_0x28e956,{threadId:_0x2d692c,isFromAdapter:_0x3108bd})=>{const _0x3044bc=_0x3fe90f,_0xc940da=this[_0x3044bc(0xf4)](_0x2d692c);if(_0x3108bd||0x0==_0xc940da[_0x3044bc(0x172)]||!_0x1cb0f2[_0x3044bc(0x10b)](_0x2d692c))return;0x1===_0x1cb0f2[_0x3044bc(0x135)](_0x2d692c)[_0x3044bc(0x172)]&&_0x1e4b07[_0x3044bc(0x156)][_0x3044bc(0x107)]({'isUndoable':!0x1},_0x40b404=>{const _0x581c9d=_0x3044bc;for(const _0x30e467 of _0xc940da)_0x40b404[_0x581c9d(0x104)](_0x30e467,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3fe90f(0x102)}),this[_0x3fe90f(0x178)](),this[_0x3fe90f(0x14f)]();}[_0x2384f7(0xeb)](){const _0x2c33f2=_0x2384f7,_0x2e3af1=this[_0x2c33f2(0x129)][_0x2c33f2(0x177)][_0x2c33f2(0x132)](_0x594e01),_0x5f176a=this[_0x2c33f2(0x129)][_0x2c33f2(0x173)][_0x2c33f2(0x132)](_0x2c33f2(0x165));for(const _0x5064a0 of _0x2e3af1[_0x2c33f2(0x111)]({'channelId':_0x5f176a}))_0x2e3af1[_0x2c33f2(0x11d)](_0x5064a0['id']),_0x2e3af1[_0x2c33f2(0x15f)][_0x2c33f2(0x154)](_0x5064a0['id']);super[_0x2c33f2(0xeb)]();}[_0x2384f7(0x16d)](_0xc7f7d7){const _0x4d2bc5=_0x2384f7;return this[_0x4d2bc5(0xf4)](_0xc7f7d7)[_0x4d2bc5(0x172)]>0x0;}[_0x2384f7(0xf4)](_0x5f0eec){const _0x261f7b=_0x2384f7,_0x41e87d=[];for(const _0x4e1449 of this[_0x261f7b(0x129)][_0x261f7b(0x156)][_0x261f7b(0x144)])_0x4e1449[_0x261f7b(0x146)][_0x261f7b(0xf7)](_0x261f7b(0x15c)+_0x5f0eec)&&_0x41e87d[_0x261f7b(0x101)](_0x4e1449);return _0x41e87d;}[_0x2384f7(0xfd)](_0x47deb5){const _0x2e6087=_0x2384f7,_0x3ae983=this[_0x2e6087(0x176)](_0x47deb5);_0x3ae983&&setTimeout(()=>{const _0x273db4=_0x2e6087;this[_0x273db4(0x174)]&&splitMarkerName(this[_0x273db4(0x174)])['id']===_0x47deb5&&_0x4d65a5({'target':_0x3ae983[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2384f7(0x160)](_0x472394){const _0x1396ed=_0x2384f7;this[_0x1396ed(0x129)][_0x1396ed(0x156)][_0x1396ed(0x11a)](()=>{const _0x2cae48=_0x1396ed;for(const _0x1558e4 of this[_0x2cae48(0xf4)](_0x472394))this[_0x2cae48(0x129)][_0x2cae48(0x133)][_0x2cae48(0x12f)](_0x1558e4);});}[_0x2384f7(0xf1)](_0x10abe7){const _0x5a4d7a=_0x2384f7,_0x528f25=this[_0x5a4d7a(0x129)][_0x5a4d7a(0x177)][_0x5a4d7a(0x132)](_0x594e01),_0x886ada=this[_0x5a4d7a(0x129)][_0x5a4d7a(0x177)][_0x5a4d7a(0x132)](_0x573aee),_0x1a258b=_0x528f25[_0x5a4d7a(0x135)](_0x10abe7);if(!_0x1a258b[_0x5a4d7a(0x17b)]){const _0x4045fd=_0x1a258b[_0x5a4d7a(0xf9)](()=>this[_0x5a4d7a(0x176)](_0x1a258b['id']));_0x886ada[_0x5a4d7a(0xee)](_0x4045fd),_0x1a258b[_0x5a4d7a(0x15e)]=!0x1;}}[_0x2384f7(0x178)](){const _0x7763ad=_0x2384f7,_0x3c799d=this[_0x7763ad(0x129)],_0x5e6074=_0x3c799d[_0x7763ad(0x177)][_0x7763ad(0x132)](_0x151617);_0x3c799d[_0x7763ad(0x10c)][_0x7763ad(0x140)](_0x7763ad(0x141))[_0x7763ad(0x110)]({'model':_0x7763ad(0x127),'view':(_0x5f52ac,_0x2831ba)=>{const _0x3092e7=_0x7763ad,{id:_0x57e56b}=splitMarkerName(_0x5f52ac[_0x3092e7(0x105)]),_0x4b2047=_0x3c799d[_0x3092e7(0x177)][_0x3092e7(0x132)](_0x594e01)[_0x3092e7(0x135)](_0x57e56b),_0x3b228b=this[_0x3092e7(0x174)]&&splitMarkerName(this[_0x3092e7(0x174)])['id']===_0x57e56b;let _0x49e811;if(_0x4b2047&&_0x4b2047[_0x3092e7(0x157)]&&!_0x3b228b&&_0x5f52ac[_0x3092e7(0xea)])return _0x2831ba[_0x3092e7(0x115)][_0x3092e7(0x16c)](_0x5f52ac[_0x3092e7(0xea)],_0x3092e7(0x148)+_0x5f52ac[_0x3092e7(0x105)]),_0x2831ba[_0x3092e7(0x115)][_0x3092e7(0x16c)](_0x5f52ac[_0x3092e7(0xea)],_0x3092e7(0x142)+_0x5f52ac[_0x3092e7(0x105)]),null;const _0x1bf0d5=[_0x3092e7(0x109)];return _0x3b228b&&_0x1bf0d5[_0x3092e7(0x101)](_0x3092e7(0x112)),_0x49e811=_0x4b2047&&_0x4b2047[_0x3092e7(0x172)]?_0x4b2047[_0x3092e7(0x13c)][_0x3092e7(0x120)][_0x3092e7(0x15b)]['id']:_0x5e6074['me']['id'],{'classes':_0x1bf0d5,'attributes':{'data-comment':_0x57e56b,'data-author-id':_0x49e811}};}}),_0x3c799d[_0x7763ad(0x10c)][_0x7763ad(0x140)](_0x7763ad(0xf6))[_0x7763ad(0x123)]({'model':_0x7763ad(0x127),'view':(_0x2be978,{options:_0x40a16c})=>{const _0x5bb846=_0x7763ad,_0x4df547=_0x3c799d[_0x5bb846(0x177)][_0x5bb846(0x132)](_0x594e01),_0xd9cbb3=_0x3c799d[_0x5bb846(0x156)][_0x5bb846(0x144)][_0x5bb846(0x132)](_0x2be978),{id:_0x406aea,part:_0x43a845}=splitMarkerName(_0x2be978);if(_0xd9cbb3&&!_0xd9cbb3[_0x5bb846(0x12c)])return null;if(_0x40a16c[_0x5bb846(0xf2)]){const _0x117de4=_0x4df547[_0x5bb846(0x135)](_0x406aea);if(_0x117de4&&_0x117de4[_0x5bb846(0x157)])return null;}return{'group':_0x5bb846(0x127),'name':_0x43a845?_0x406aea+':'+_0x43a845:_0x406aea};}}),_0x3c799d[_0x7763ad(0x10c)][_0x7763ad(0x140)](_0x7763ad(0x145))[_0x7763ad(0x137)]({'view':{'name':_0x7763ad(0x127),'attributes':{'id':/^\w/}},'model':(_0x3e62d0,{writer:_0x55d73b})=>_0x55d73b[_0x7763ad(0x16a)](_0x7763ad(0xf5),{'data-name':_0x7763ad(0x15c)+_0x3e62d0[_0x7763ad(0x175)]('id')})}),_0x3c799d[_0x7763ad(0x10c)][_0x7763ad(0x140)](_0x7763ad(0x145))[_0x7763ad(0xec)]({'view':_0x7763ad(0x127)});}[_0x2384f7(0x14f)](){const _0x42f2de=_0x2384f7,_0x51106c=this[_0x42f2de(0x129)],_0x1c7e8d=_0x51106c[_0x42f2de(0x177)][_0x42f2de(0x132)](_0x594e01),_0xf9c95=new Set(),_0x23d730=new Set();_0x51106c[_0x42f2de(0x156)][_0x42f2de(0xe5)][_0x42f2de(0x170)](_0x50f6a2=>{const _0x29c1bf=_0x42f2de;let _0x59006e=!0x1;for(const {name:_0x542a40,data:_0xf6cd10}of _0x51106c[_0x29c1bf(0x156)][_0x29c1bf(0xe5)][_0x29c1bf(0x14a)][_0x29c1bf(0x118)]()){const {group:_0x1ae3e8,id:_0x467372}=splitMarkerName(_0x542a40);let _0x2d547c=_0xf6cd10[_0x29c1bf(0x125)];if(_0x29c1bf(0x127)!==_0x1ae3e8||!_0x2d547c)continue;const _0x100b32=_0x29c1bf(0x12e)===_0x2d547c[_0x29c1bf(0x153)][_0x29c1bf(0x128)];_0x100b32||(_0x2d547c=dt(_0x2d547c,_0x51106c[_0x29c1bf(0x156)]),!_0x2d547c||_0x2d547c[_0x29c1bf(0x12d)]||!_0xf6cd10[_0x29c1bf(0x125)]||_0x2d547c[_0x29c1bf(0x16f)](_0xf6cd10[_0x29c1bf(0x125)]))?_0x51106c[_0x29c1bf(0x156)][_0x29c1bf(0x14d)](_0x2d547c)&&!_0x100b32?this[_0x29c1bf(0xff)]?_0xf9c95[_0x29c1bf(0x136)](_0x542a40):this[_0x29c1bf(0x166)](_0x542a40,_0x467372):(_0x23d730[_0x29c1bf(0x136)](_0x542a40),_0xf9c95[_0x29c1bf(0x154)](_0x542a40),_0x50f6a2[_0x29c1bf(0xfe)](_0x542a40),_0x59006e=!0x0):(_0x50f6a2[_0x29c1bf(0x104)](_0x542a40,{'range':_0x2d547c}),_0x59006e=!0x0);}return _0x59006e;}),this['on'](_0x42f2de(0x108),(_0x4903c4,_0x46b040,_0x46872a)=>{const _0x28271f=_0x42f2de;if(!_0x46872a&&_0xf9c95[_0x28271f(0x124)])for(const _0xa0cb20 of _0xf9c95){const {id:_0x58100a}=splitMarkerName(_0xa0cb20);_0xf9c95[_0x28271f(0x154)](_0xa0cb20),_0x51106c[_0x28271f(0x156)][_0x28271f(0x144)][_0x28271f(0x132)](_0xa0cb20)&&this[_0x28271f(0x166)](_0xa0cb20,_0x58100a);}}),this[_0x42f2de(0xfc)](_0x51106c[_0x42f2de(0x156)][_0x42f2de(0xe5)],_0x42f2de(0x11a),(_0x37d850,_0x339361)=>{const _0x421c6b=_0x42f2de;for(const {name:_0x5dc777,data:{newRange:_0x414eb3}}of _0x51106c[_0x421c6b(0x156)][_0x421c6b(0xe5)][_0x421c6b(0x14a)][_0x421c6b(0x118)]()){const {group:_0x2b0a35,id:_0x8fc8a5}=splitMarkerName(_0x5dc777);if(_0x421c6b(0x127)!==_0x2b0a35)continue;const _0x48b7b5=_0x1c7e8d[_0x421c6b(0x135)](_0x8fc8a5),_0x20bdef=this[_0x421c6b(0x16d)](_0x8fc8a5);_0x48b7b5&&(!_0x48b7b5[_0x421c6b(0x15e)]&&_0x414eb3&&_0x51106c[_0x421c6b(0x133)][_0x421c6b(0x12b)][_0x421c6b(0x126)](_0x421c6b(0x11b),()=>{const _0x13ff15=_0x421c6b,_0x24578a=_0x51106c[_0x13ff15(0x177)][_0x13ff15(0x132)](_0xa56aeb),_0x4a5231=_0x1c7e8d[_0x13ff15(0xe8)][_0x13ff15(0x132)](_0x48b7b5)[_0x13ff15(0x12b)];_0x24578a[_0x13ff15(0x13a)](_0x4a5231)[_0x13ff15(0x10d)]();},{'priority':_0x421c6b(0x102)}),_0x48b7b5[_0x421c6b(0x15e)]=_0x20bdef||!!_0x414eb3),_0x414eb3||(_0x23d730[_0x421c6b(0x136)](_0x5dc777),_0xf9c95[_0x421c6b(0x154)](_0x5dc777));}if(_0x339361[_0x421c6b(0xef)])for(const _0x3cd35f of _0x23d730){const {id:_0x5cfa4f}=splitMarkerName(_0x3cd35f),_0x355785=_0x1c7e8d[_0x421c6b(0x135)](_0x5cfa4f),_0x43b2d5=this[_0x421c6b(0x16d)](_0x5cfa4f);_0xf9c95[_0x421c6b(0x154)](_0x3cd35f),!_0x355785||_0x43b2d5||_0x355785[_0x421c6b(0x167)]||_0x355785[_0x421c6b(0x179)](new Date());}_0x23d730[_0x421c6b(0x155)]();});}[_0x2384f7(0x176)](_0x100ac7){const _0x3c3a5b=_0x2384f7,_0x5eb04f=this[_0x3c3a5b(0x129)],_0x4d6fb2=this[_0x3c3a5b(0xf4)](_0x100ac7);return _0x5a141e(_0x5eb04f[_0x3c3a5b(0x133)],_0x4d6fb2);}[_0x2384f7(0xe4)](_0xb14e89){const _0x5d7959=_0x2384f7,_0x14af01=this[_0x5d7959(0xf4)](_0xb14e89);let _0x5d7888='',_0x143f3f=!0x1;for(const _0x1ff915 of _0x14af01){const _0x4689de=_0x1ff915[_0x5d7959(0xf3)]();for(const _0x2dae22 of Array[_0x5d7959(0x122)](_0x4689de[_0x5d7959(0x10f)]()))_0x2dae22['is'](_0x5d7959(0x138))?(_0x5d7888&&_0x143f3f&&(_0x5d7888+='\x20',_0x143f3f=!0x1),_0x5d7888+=_0x2dae22[_0x5d7959(0x164)]):_0x143f3f=!0x0;_0x143f3f=!0x0;}return _0x5d7888[_0x5d7959(0x161)](0x0,0x96);}[_0x2384f7(0x152)](_0x5469a4,_0x2e5b68){const _0x935bc=_0x2384f7,_0x5bfe3f=this[_0x935bc(0x129)],_0x2a50ba=_0x5bfe3f[_0x935bc(0x177)][_0x935bc(0x132)](_0x594e01);let _0x3db320=_0x2a50ba[_0x935bc(0x135)](_0x2e5b68);const _0x1c3ad8=_0x5bfe3f[_0x935bc(0x173)][_0x935bc(0x132)](_0x935bc(0x165)),_0x36f806=_0x5bfe3f[_0x935bc(0x177)][_0x935bc(0x132)](_0x573aee);if(_0x3db320&&(_0x3db320[_0x935bc(0x167)]&&_0x3db320[_0x935bc(0x179)](null),_0x3db320[_0x935bc(0x17b)]))return _0x3db320;return!this[_0x935bc(0xf4)](_0x2e5b68)[0x0][_0x935bc(0x114)]?_0x5bfe3f[_0x935bc(0x133)][_0x935bc(0x12b)][_0x935bc(0x126)](_0x935bc(0x11b),()=>{const _0x46e855=_0x935bc;if(_0x2a50ba[_0x46e855(0x135)](_0x2e5b68))return;const _0x4c2a5e=_0x5bfe3f[_0x46e855(0x177)][_0x46e855(0x132)](_0xa56aeb);_0x3db320=_0x2a50ba[_0x46e855(0x163)]({'channelId':_0x1c3ad8,'threadId':_0x2e5b68,'target':()=>this[_0x46e855(0x176)](_0x2e5b68),'context':{'type':_0x46e855(0x117),'value':this[_0x46e855(0xe4)](_0x2e5b68)}});const _0x2d76d1=_0x2a50ba[_0x46e855(0xe8)][_0x46e855(0x132)](_0x3db320)[_0x46e855(0x12b)],_0xf56ab4=_0x4c2a5e[_0x46e855(0x13a)](_0x2d76d1);_0xf56ab4&&_0x36f806[_0x46e855(0xee)](_0xf56ab4);},{'priority':_0x935bc(0x102)}):_0x2a50ba[_0x935bc(0x113)]({'channelId':_0x1c3ad8,'threadId':_0x2e5b68})[_0x935bc(0xed)](_0x3b6a2a=>{const _0x1628ed=_0x935bc;if(_0x1628ed(0x168)!==_0x5bfe3f[_0x1628ed(0xfa)]){if(_0x3db320=_0x3b6a2a,_0x3db320&&!_0x3db320[_0x1628ed(0x17b)]){const _0x4e539e=_0x3db320[_0x1628ed(0xf9)](()=>this[_0x1628ed(0x176)](_0x2e5b68));_0x36f806[_0x1628ed(0xee)](_0x4e539e),_0x3db320[_0x1628ed(0x157)]&&this[_0x1628ed(0x160)](_0x2e5b68);}else{if(!_0x3db320){const _0x18a89f=this[_0x1628ed(0xf4)](_0x2e5b68);_0x5bfe3f[_0x1628ed(0x156)][_0x1628ed(0x11a)](_0x390531=>{const _0x539a79=_0x1628ed;for(const _0x2fbbd2 of _0x18a89f)_0x390531[_0x539a79(0xfe)](_0x2fbbd2);});}}}}),_0x3db320;}[_0x2384f7(0x166)](_0x1f891c,_0x290227){const _0x6e0b11=_0x2384f7,_0x12ad36=this[_0x6e0b11(0x152)](_0x1f891c,_0x290227);_0x12ad36&&!_0x12ad36[_0x6e0b11(0x131)]&&_0x12ad36[_0x6e0b11(0x119)]({'type':_0x6e0b11(0x117),'value':this[_0x6e0b11(0xe4)](_0x290227)});}[_0x2384f7(0xe9)](){const _0x44dc96=_0x2384f7,_0x5883a9=this[_0x44dc96(0x129)];_0x11b8d7(_0x5883a9[_0x44dc96(0x156)],({left:_0x8780a9,entered:_0x4dd3b9})=>{const _0x497a6a=_0x44dc96;for(const _0x4ae7db of _0x8780a9)if(ht(_0x4ae7db)){_0x5883a9['ui'][_0x497a6a(0x13b)][_0x497a6a(0x116)](_0x223503(_0x5883a9[_0x497a6a(0x158)],_0x497a6a(0x169)));break;}for(const _0x11743b of _0x4dd3b9)if(ht(_0x11743b)){_0x5883a9['ui'][_0x497a6a(0x13b)][_0x497a6a(0x116)](_0x223503(_0x5883a9[_0x497a6a(0x158)],_0x497a6a(0x143),_0x2d9ec5(_0x2f8b86)));break;}});}}function _0xc33a(){const _0x17700b=['get','editing','14449356ktDDiX','getCommentThread','add','elementToElement','$textProxy','479797XifJXb','getByInnerView','ariaLiveAnnouncer','comments','start','CommentsEditing','change:activeMarker','for','editingDowncast','removeMarker:','ENTER_COMMENT_ANNOUNCEMENT','markers','upcast','name','823383GaulwV','addMarker:','isOfficialPlugin','differ','resolveCommentThread','schema','hasContent','createRange','_handleMarkerAddAndRemove','922208RZeApx','addCommentThread','_attachMarkerToThread','root','delete','clear','model','isResolved','locale','set','removeCommentThread','author','comment:','6anoZfo','_hasTargetInContent','_threads','_reconvertMarkers','substring','reopenCommentThread','openNewCommentThread','data','collaboration.channelId','_handleThreadMarker','unlinkedAt','destroyed','LEAVE_COMMENT_ANNOUNCEMENT','createElement','pluginName','consume','hasMarkerForId','split','isEqual','registerPostFixer','hasDomSelection','length','config','activeMarker','getAttribute','_getTargetForId','plugins','_initializeMarkerConverters','setUnlinkedAt','addComment','isAttached','2358340JnHzpO','_getTextContext','document','isObject','focus','_threadToController','_initAriaMarkerChangeAnnouncements','item','destroy','dataToMarker','then','registerAnnotation','isLocal','group','_attachArchivedThread','ignoreResolvedComments','getRange','getAllMarkersForId','$marker','dataDowncast','startsWith','switchReadOnly','attachTo','state','getWalker','listenTo','scrollToThreadMarker','removeMarker','isThreadsLoadingPaused','1009068AYSETf','push','low','change:isReadOnly','updateMarker','markerName','isPremiumPlugin','enqueueChange','change:isThreadsLoadingPaused','ck-comment-marker','requires','hasCommentThread','conversion','refreshVisibility','8YTsJUt','getItems','markerToHighlight','getCommentThreads','ck-comment-marker--active','fetchCommentThread','managedUsingOperations','consumable','announce','text','getChangedMarkers','setContext','change','render','2424485KjYkhw','_detachCommentThread','init','end','first','createPositionBefore','from','markerToData','size','newRange','once','comment','rootName','editor','commands','view','affectsData','isCollapsed','$graveyard','reconvertMarker','ready','context'];_0xc33a=function(){return _0x17700b;};return _0xc33a();}function mt(_0x217f5d,_0xd03ca){return _0xd03ca?_0x217f5d+':'+_0xd03ca:_0x217f5d;}export function splitMarkerName(_0xed7b5f){const _0x3fc45c=_0x2384f7,_0x5dad91=_0xed7b5f[_0x3fc45c(0x16e)](':');return{'group':_0x5dad91[0x0],'id':_0x5dad91[0x1],'part':_0x5dad91[0x2]};}function dt(_0x4c33d3,_0x22704a){const _0x1809ce=_0x2384f7,_0x4ec8ea=_0x22704a[_0x1809ce(0x14c)],_0x3445e2=_0x22704a[_0x1809ce(0x14e)](_0x4c33d3[_0x1809ce(0x13d)]);for(const _0x1d1dec of _0x4c33d3[_0x1809ce(0xfb)]()){const {type:_0x2c9e8d,item:_0x785f0,nextPosition:_0x170d89}=_0x1d1dec;if(_0x1809ce(0x117)===_0x2c9e8d||_0x4ec8ea[_0x1809ce(0xe6)](_0x785f0)){const _0x6cd19c=_0x22704a[_0x1809ce(0x121)](_0x785f0);_0x3445e2[_0x1809ce(0x12d)]&&(_0x3445e2[_0x1809ce(0x13d)]=_0x6cd19c),_0x3445e2[_0x1809ce(0x11f)]=_0x170d89;}}return _0x3445e2;}function ht(_0x3a8f01){const _0x581d13=_0x2384f7;return _0x581d13(0x127)===splitMarkerName(_0x3a8f01[_0x581d13(0x146)])[_0x581d13(0xf0)];}
|